/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["JSONDigger"] = factory(); else root["JSONDigger"] = factory(); })(this, () => { return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js": /*!**********************************************************************!*\ !*** ./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js ***! \**********************************************************************/ /***/ (function(module) { eval("(function (global, factory) {\n true ? module.exports = factory() :\n 0;\n})(this, (function () { 'use strict';\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n * 6. Query, including \"?\", optional.\n * 7. Hash, including \"#\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?(\\?[^#]*)?(#.*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may include \"/\", guaranteed.\n * 3. Query, including \"?\", optional.\n * 4. Hash, including \"#\", optional.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/#?]*)?)?(\\/?[^#?]*)(\\?[^#]*)?(#.*)?/i;\n var UrlType;\n (function (UrlType) {\n UrlType[UrlType[\"Empty\"] = 1] = \"Empty\";\n UrlType[UrlType[\"Hash\"] = 2] = \"Hash\";\n UrlType[UrlType[\"Query\"] = 3] = \"Query\";\n UrlType[UrlType[\"RelativePath\"] = 4] = \"RelativePath\";\n UrlType[UrlType[\"AbsolutePath\"] = 5] = \"AbsolutePath\";\n UrlType[UrlType[\"SchemeRelative\"] = 6] = \"SchemeRelative\";\n UrlType[UrlType[\"Absolute\"] = 7] = \"Absolute\";\n })(UrlType || (UrlType = {}));\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function isRelative(input) {\n return /^[.?#]/.test(input);\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');\n }\n function makeUrl(scheme, user, host, port, path, query, hash) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n query,\n hash,\n type: UrlType.Absolute,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n url.type = UrlType.SchemeRelative;\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n url.type = UrlType.AbsolutePath;\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.type = input\n ? input.startsWith('?')\n ? UrlType.Query\n : input.startsWith('#')\n ? UrlType.Hash\n : UrlType.RelativePath\n : UrlType.Empty;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n normalizePath(base, base.type);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url, type) {\n const rel = type <= UrlType.RelativePath;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (rel) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n let inputType = url.type;\n if (base && inputType !== UrlType.Absolute) {\n const baseUrl = parseUrl(base);\n const baseType = baseUrl.type;\n switch (inputType) {\n case UrlType.Empty:\n url.hash = baseUrl.hash;\n // fall through\n case UrlType.Hash:\n url.query = baseUrl.query;\n // fall through\n case UrlType.Query:\n case UrlType.RelativePath:\n mergePaths(url, baseUrl);\n // fall through\n case UrlType.AbsolutePath:\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n // fall through\n case UrlType.SchemeRelative:\n // The input doesn't have a schema at least, so we need to copy at least that over.\n url.scheme = baseUrl.scheme;\n }\n if (baseType > inputType)\n inputType = baseType;\n }\n normalizePath(url, inputType);\n const queryHash = url.query + url.hash;\n switch (inputType) {\n // This is impossible, because of the empty checks at the start of the function.\n // case UrlType.Empty:\n case UrlType.Hash:\n case UrlType.Query:\n return queryHash;\n case UrlType.RelativePath: {\n // The first char is always a \"/\", and we need it to be relative.\n const path = url.path.slice(1);\n if (!path)\n return queryHash || '.';\n if (isRelative(base || input) && !isRelative(path)) {\n // If base started with a leading \".\", or there is no base and input started with a \".\",\n // then we need to ensure that the relative path starts with a \".\". We don't know if\n // relative starts with a \"..\", though, so check before prepending.\n return './' + path + queryHash;\n }\n return path + queryHash;\n }\n case UrlType.AbsolutePath:\n return url.path + queryHash;\n default:\n return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;\n }\n }\n\n return resolve;\n\n}));\n//# sourceMappingURL=resolve-uri.umd.js.map\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js?"); /***/ }), /***/ "./node_modules/@jridgewell/source-map/dist/source-map.umd.js": /*!********************************************************************!*\ !*** ./node_modules/@jridgewell/source-map/dist/source-map.umd.js ***! \********************************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInteger = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n charToInteger[c] = i;\n intToChar[i] = c;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let line = [];\n let sorted = true;\n let lastCol = 0;\n for (let i = 0; i < mappings.length;) {\n const c = mappings.charCodeAt(i);\n if (c === comma) {\n i++;\n }\n else if (c === semicolon) {\n state[0] = lastCol = 0;\n if (!sorted)\n sort(line);\n sorted = true;\n decoded.push(line);\n line = [];\n i++;\n }\n else {\n i = decodeInteger(mappings, i, state, 0); // generatedCodeColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (!hasMoreSegments(mappings, i)) {\n line.push([col]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 1); // sourceFileIndex\n i = decodeInteger(mappings, i, state, 2); // sourceCodeLine\n i = decodeInteger(mappings, i, state, 3); // sourceCodeColumn\n if (!hasMoreSegments(mappings, i)) {\n line.push([col, state[1], state[2], state[3]]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 4); // nameIndex\n line.push([col, state[1], state[2], state[3], state[4]]);\n }\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n return decoded;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInteger[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreSegments(mappings, i) {\n if (i >= mappings.length)\n return false;\n const c = mappings.charCodeAt(i);\n if (c === comma || c === semicolon)\n return false;\n return true;\n }\n function sort(line) {\n line.sort(sortComparator$1);\n }\n function sortComparator$1(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n let buf = new Uint8Array(1024);\n let pos = 0;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n buf = reserve(buf, pos, 1);\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n buf = reserve(buf, pos, 36);\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // generatedCodeColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourceFileIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceCodeLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceCodeColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // nameIndex\n }\n }\n return td.decode(buf.subarray(0, pos));\n }\n function reserve(buf, pos, count) {\n if (buf.length > pos + count)\n return buf;\n const swap = new Uint8Array(buf.length * 2);\n swap.set(buf);\n return swap;\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may inclue \"/\", guaranteed.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/]*)?)?(\\/?.*)/i;\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path);\n }\n function makeUrl(scheme, user, host, port, path) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n relativePath: false,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.relativePath = true;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n // If we're not a relative path, then we're an absolute path, and it doesn't matter what base is.\n if (!url.relativePath)\n return;\n normalizePath(base);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n // If the base path is absolute, then our path is now absolute too.\n url.relativePath = base.relativePath;\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url) {\n const { relativePath } = url;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (relativePath) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve$1(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n // If we have a base, and the input isn't already an absolute URL, then we need to merge.\n if (base && !url.scheme) {\n const baseUrl = parseUrl(base);\n url.scheme = baseUrl.scheme;\n // If there's no host, then we were just a path.\n if (!url.host) {\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n }\n mergePaths(url, baseUrl);\n }\n normalizePath(url);\n // If the input (and base, if there was one) are both relative, then we need to output a relative.\n if (url.relativePath) {\n // The first char is always a \"/\".\n const path = url.path.slice(1);\n if (!path)\n return '.';\n // If base started with a leading \".\", or there is no base and input started with a \".\", then we\n // need to ensure that the relative path starts with a \".\". We don't know if relative starts\n // with a \"..\", though, so check before prepending.\n const keepRelative = (base || input).startsWith('.');\n return !keepRelative || path.startsWith('.') ? path : './' + path;\n }\n // If there's no host (and no scheme/user/port), then we need to output an absolute path.\n if (!url.scheme && !url.host)\n return url.path;\n // We're outputting either an absolute URL, or a protocol relative one.\n return `${url.scheme}//${url.user}${url.host}${url.port}${url.path}`;\n }\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolve$1(input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN$1 = 0;\n const SOURCES_INDEX$1 = 1;\n const SOURCE_LINE$1 = 2;\n const SOURCE_COLUMN$1 = 3;\n const NAMES_INDEX$1 = 4;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN$1] < line[j - 1][COLUMN$1]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN$1] - b[COLUMN$1];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN$1] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; i++, index++) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; i--, index--) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN$1] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n const { sections } = parsed;\n let i = 0;\n for (; i < sections.length - 1; i++) {\n const no = sections[i + 1].offset;\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, no.line, no.column);\n }\n if (sections.length > 0) {\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, Infinity, Infinity);\n }\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return presortedDecodedMap(joined);\n };\n function addSection(section, mapUrl, mappings, sources, sourcesContent, names, stopLine, stopColumn) {\n const map = AnyMap(section.map, mapUrl);\n const { line: lineOffset, column: columnOffset } = section.offset;\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = decodedMappings(map);\n const { resolvedSources } = map;\n append(sources, resolvedSources);\n append(sourcesContent, map.sourcesContent || fillSourcesContent(resolvedSources.length));\n append(names, map.names);\n // If this section jumps forwards several lines, we need to add lines to the output mappings catch up.\n for (let i = mappings.length; i <= lineOffset; i++)\n mappings.push([]);\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range.\n const stopI = stopLine - lineOffset;\n const len = Math.min(decoded.length, stopI + 1);\n for (let i = 0; i < len; i++) {\n const line = decoded[i];\n // On the 0th loop, the line will already exist due to a previous section, or the line catch up\n // loop above.\n const out = i === 0 ? mappings[lineOffset] : (mappings[lineOffset + i] = []);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN$1];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (i === stopI && column >= stopColumn)\n break;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX$1];\n const sourceLine = seg[SOURCE_LINE$1];\n const sourceColumn = seg[SOURCE_COLUMN$1];\n if (seg.length === 4) {\n out.push([column, sourcesIndex, sourceLine, sourceColumn]);\n continue;\n }\n out.push([column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX$1]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n // Sourcemaps don't need to have sourcesContent, and if they don't, we need to create an array of\n // equal length to the sources. This is because the sources and sourcesContent are paired arrays,\n // where `sourcesContent[i]` is the content of the `sources[i]` file. If we didn't, then joined\n // sourcemap would desynchronize the sources/contents.\n function fillSourcesContent(len) {\n const sourcesContent = [];\n for (let i = 0; i < len; i++)\n sourcesContent[i] = null;\n return sourcesContent;\n }\n\n const INVALID_ORIGINAL_MAPPING = Object.freeze({\n source: null,\n line: null,\n column: null,\n name: null,\n });\n Object.freeze({\n line: null,\n column: null,\n });\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n let decodedMappings;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n let originalPositionFor;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n let presortedDecodedMap;\n class TraceMap {\n constructor(map, mapUrl) {\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n const isString = typeof map === 'string';\n if (!isString && map.constructor === TraceMap)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n if (sourceRoot || mapUrl) {\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n }\n else {\n this.resolvedSources = sources.map((s) => s || '');\n }\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n }\n }\n (() => {\n decodedMappings = (map) => {\n return (map._decoded || (map._decoded = decode(map._encoded)));\n };\n originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return INVALID_ORIGINAL_MAPPING;\n const segment = traceSegmentInternal(decoded[line], map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (segment == null)\n return INVALID_ORIGINAL_MAPPING;\n if (segment.length == 1)\n return INVALID_ORIGINAL_MAPPING;\n const { names, resolvedSources } = map;\n return {\n source: resolvedSources[segment[SOURCES_INDEX$1]],\n line: segment[SOURCE_LINE$1] + 1,\n column: segment[SOURCE_COLUMN$1],\n name: segment.length === 5 ? names[segment[NAMES_INDEX$1]] : null,\n };\n };\n presortedDecodedMap = (map, mapUrl) => {\n const clone = Object.assign({}, map);\n clone.mappings = [];\n const tracer = new TraceMap(clone, mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n })();\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return null;\n return segments[index];\n }\n\n /**\n * Gets the index associated with `key` in the backing array, if it is already present.\n */\n let get;\n /**\n * Puts `key` into the backing array, if it is not already present. Returns\n * the index of the `key` in the backing array.\n */\n let put;\n /**\n * SetArray acts like a `Set` (allowing only one occurrence of a string `key`), but provides the\n * index of the `key` in the backing array.\n *\n * This is designed to allow synchronizing a second array with the contents of the backing array,\n * like how in a sourcemap `sourcesContent[i]` is the source content associated with `source[i]`,\n * and there are never duplicates.\n */\n class SetArray {\n constructor() {\n this._indexes = { __proto__: null };\n this.array = [];\n }\n }\n (() => {\n get = (strarr, key) => strarr._indexes[key];\n put = (strarr, key) => {\n // The key may or may not be present. If it is present, it's a number.\n const index = get(strarr, key);\n if (index !== undefined)\n return index;\n const { array, _indexes: indexes } = strarr;\n return (indexes[key] = array.push(key) - 1);\n };\n })();\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n\n const NO_NAME = -1;\n /**\n * Same as `addMapping`, but will only add the mapping if it generates useful information in the\n * resulting map. This only works correctly if mappings are added **in order**, meaning you should\n * not add a mapping with a lower generated line/column than one that came before.\n */\n let maybeAddMapping;\n /**\n * Adds/removes the content of the source file to the source map.\n */\n let setSourceContent;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toDecodedMap;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toEncodedMap;\n // This split declaration is only so that terser can elminiate the static initialization block.\n let addSegmentInternal;\n /**\n * Provides the state to generate a sourcemap.\n */\n class GenMapping {\n constructor({ file, sourceRoot } = {}) {\n this._names = new SetArray();\n this._sources = new SetArray();\n this._sourcesContent = [];\n this._mappings = [];\n this.file = file;\n this.sourceRoot = sourceRoot;\n }\n }\n (() => {\n maybeAddMapping = (map, mapping) => {\n return addMappingInternal(true, map, mapping);\n };\n setSourceContent = (map, source, content) => {\n const { _sources: sources, _sourcesContent: sourcesContent } = map;\n sourcesContent[put(sources, source)] = content;\n };\n toDecodedMap = (map) => {\n const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n removeEmptyFinalLines(mappings);\n return {\n version: 3,\n file: file || undefined,\n names: names.array,\n sourceRoot: sourceRoot || undefined,\n sources: sources.array,\n sourcesContent,\n mappings,\n };\n };\n toEncodedMap = (map) => {\n const decoded = toDecodedMap(map);\n return Object.assign(Object.assign({}, decoded), { mappings: encode(decoded.mappings) });\n };\n // Internal helpers\n addSegmentInternal = (skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name) => {\n const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n const line = getLine(mappings, genLine);\n const index = getColumnIndex(line, genColumn);\n if (!source) {\n if (skipable && skipSourceless(line, index))\n return;\n return insert(line, index, [genColumn]);\n }\n const sourcesIndex = put(sources, source);\n const namesIndex = name ? put(names, name) : NO_NAME;\n if (sourcesIndex === sourcesContent.length)\n sourcesContent[sourcesIndex] = null;\n if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {\n return;\n }\n return insert(line, index, name\n ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]\n : [genColumn, sourcesIndex, sourceLine, sourceColumn]);\n };\n })();\n function getLine(mappings, index) {\n for (let i = mappings.length; i <= index; i++) {\n mappings[i] = [];\n }\n return mappings[index];\n }\n function getColumnIndex(line, genColumn) {\n let index = line.length;\n for (let i = index - 1; i >= 0; index = i--) {\n const current = line[i];\n if (genColumn >= current[COLUMN])\n break;\n }\n return index;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n function removeEmptyFinalLines(mappings) {\n const { length } = mappings;\n let len = length;\n for (let i = len - 1; i >= 0; len = i, i--) {\n if (mappings[i].length > 0)\n break;\n }\n if (len < length)\n mappings.length = len;\n }\n function skipSourceless(line, index) {\n // The start of a line is already sourceless, so adding a sourceless segment to the beginning\n // doesn't generate any useful information.\n if (index === 0)\n return true;\n const prev = line[index - 1];\n // If the previous segment is also sourceless, then adding another sourceless segment doesn't\n // genrate any new information. Else, this segment will end the source/named segment and point to\n // a sourceless position, which is useful.\n return prev.length === 1;\n }\n function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) {\n // A source/named segment at the start of a line gives position at that genColumn\n if (index === 0)\n return false;\n const prev = line[index - 1];\n // If the previous segment is sourceless, then we're transitioning to a source.\n if (prev.length === 1)\n return false;\n // If the previous segment maps to the exact same source position, then this segment doesn't\n // provide any new position information.\n return (sourcesIndex === prev[SOURCES_INDEX] &&\n sourceLine === prev[SOURCE_LINE] &&\n sourceColumn === prev[SOURCE_COLUMN] &&\n namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME));\n }\n function addMappingInternal(skipable, map, mapping) {\n const { generated, source, original, name } = mapping;\n if (!source) {\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null);\n }\n const s = source;\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, s, original.line - 1, original.column, name);\n }\n\n class SourceMapConsumer {\n constructor(map, mapUrl) {\n const trace = (this._map = new AnyMap(map, mapUrl));\n this.file = trace.file;\n this.names = trace.names;\n this.sourceRoot = trace.sourceRoot;\n this.sources = trace.resolvedSources;\n this.sourcesContent = trace.sourcesContent;\n }\n originalPositionFor(needle) {\n return originalPositionFor(this._map, needle);\n }\n destroy() {\n // noop.\n }\n }\n class SourceMapGenerator {\n constructor(opts) {\n this._map = new GenMapping(opts);\n }\n addMapping(mapping) {\n maybeAddMapping(this._map, mapping);\n }\n setSourceContent(source, content) {\n setSourceContent(this._map, source, content);\n }\n toJSON() {\n return toEncodedMap(this._map);\n }\n toDecodedMap() {\n return toDecodedMap(this._map);\n }\n }\n\n exports.SourceMapConsumer = SourceMapConsumer;\n exports.SourceMapGenerator = SourceMapGenerator;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=source-map.umd.js.map\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@jridgewell/source-map/dist/source-map.umd.js?"); /***/ }), /***/ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js": /*!******************************************************************************!*\ !*** ./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js ***! \******************************************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInt = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n intToChar[i] = c;\n charToInt[c] = i;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? /* #__PURE__ */ new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let index = 0;\n do {\n const semi = indexOf(mappings, index);\n const line = [];\n let sorted = true;\n let lastCol = 0;\n state[0] = 0;\n for (let i = index; i < semi; i++) {\n let seg;\n i = decodeInteger(mappings, i, state, 0); // genColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 1); // sourcesIndex\n i = decodeInteger(mappings, i, state, 2); // sourceLine\n i = decodeInteger(mappings, i, state, 3); // sourceColumn\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 4); // namesIndex\n seg = [col, state[1], state[2], state[3], state[4]];\n }\n else {\n seg = [col, state[1], state[2], state[3]];\n }\n }\n else {\n seg = [col];\n }\n line.push(seg);\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n index = semi + 1;\n } while (index <= mappings.length);\n return decoded;\n }\n function indexOf(mappings, index) {\n const idx = mappings.indexOf(';', index);\n return idx === -1 ? mappings.length : idx;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInt[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreVlq(mappings, i, length) {\n if (i >= length)\n return false;\n return mappings.charCodeAt(i) !== comma;\n }\n function sort(line) {\n line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n const bufLength = 1024 * 16;\n const subLength = bufLength - 36;\n const buf = new Uint8Array(bufLength);\n const sub = buf.subarray(0, subLength);\n let pos = 0;\n let out = '';\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n if (pos === bufLength) {\n out += td.decode(buf);\n pos = 0;\n }\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n if (pos > subLength) {\n out += td.decode(sub);\n buf.copyWithin(0, subLength, pos);\n pos -= subLength;\n }\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // genColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex\n }\n }\n return out + td.decode(buf.subarray(0, pos));\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n exports.decode = decode;\n exports.encode = encode;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=sourcemap-codec.umd.js.map\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js?"); /***/ }), /***/ "./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js": /*!**************************************************************************!*\ !*** ./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { eval("(function (global, factory) {\n true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ \"./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js\"), __webpack_require__(/*! @jridgewell/resolve-uri */ \"./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js\")) :\n 0;\n})(this, (function (exports, sourcemapCodec, resolveUri) { 'use strict';\n\n function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n var resolveUri__default = /*#__PURE__*/_interopDefaultLegacy(resolveUri);\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolveUri__default[\"default\"](input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n const REV_GENERATED_LINE = 1;\n const REV_GENERATED_COLUMN = 2;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN] < line[j - 1][COLUMN]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN] - b[COLUMN];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; index = i++) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; index = i--) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n // Rebuilds the original source files, with mappings that are ordered by source line/column instead\n // of generated line/column.\n function buildBySources(decoded, memos) {\n const sources = memos.map(buildNullArray);\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n if (seg.length === 1)\n continue;\n const sourceIndex = seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n const originalSource = sources[sourceIndex];\n const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));\n const memo = memos[sourceIndex];\n // The binary search either found a match, or it found the left-index just before where the\n // segment should go. Either way, we want to insert after that. And there may be multiple\n // generated segments associated with an original location, so there may need to move several\n // indexes before we find where we need to insert.\n const index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));\n insert(originalLine, (memo.lastIndex = index + 1), [sourceColumn, i, seg[COLUMN]]);\n }\n }\n return sources;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n // Null arrays allow us to use ordered index keys without actually allocating contiguous memory like\n // a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.\n // Numeric properties on objects are magically sorted in ascending order by the engine regardless of\n // the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending\n // order when iterating with for-in.\n function buildNullArray() {\n return { __proto__: null };\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, 0, 0, Infinity, Infinity);\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return exports.presortedDecodedMap(joined);\n };\n function recurse(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n const { sections } = input;\n for (let i = 0; i < sections.length; i++) {\n const { map, offset } = sections[i];\n let sl = stopLine;\n let sc = stopColumn;\n if (i + 1 < sections.length) {\n const nextOffset = sections[i + 1].offset;\n sl = Math.min(stopLine, lineOffset + nextOffset.line);\n if (sl === stopLine) {\n sc = Math.min(stopColumn, columnOffset + nextOffset.column);\n }\n else if (sl < stopLine) {\n sc = columnOffset + nextOffset.column;\n }\n }\n addSection(map, mapUrl, mappings, sources, sourcesContent, names, lineOffset + offset.line, columnOffset + offset.column, sl, sc);\n }\n }\n function addSection(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n if ('sections' in input)\n return recurse(...arguments);\n const map = new TraceMap(input, mapUrl);\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = exports.decodedMappings(map);\n const { resolvedSources, sourcesContent: contents } = map;\n append(sources, resolvedSources);\n append(names, map.names);\n if (contents)\n append(sourcesContent, contents);\n else\n for (let i = 0; i < resolvedSources.length; i++)\n sourcesContent.push(null);\n for (let i = 0; i < decoded.length; i++) {\n const lineI = lineOffset + i;\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range. But it may not have any columns that overstep, so we\n // still need to check that we don't overstep lines, too.\n if (lineI > stopLine)\n return;\n // The out line may already exist in mappings (if we're continuing the line started by a\n // previous section). Or, we may have jumped ahead several lines to start this section.\n const out = getLine(mappings, lineI);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (lineI === stopLine && column >= stopColumn)\n return;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n out.push(seg.length === 4\n ? [column, sourcesIndex, sourceLine, sourceColumn]\n : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n function getLine(arr, index) {\n for (let i = arr.length; i <= index; i++)\n arr[i] = [];\n return arr[index];\n }\n\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the encoded (VLQ string) form of the SourceMap's mappings field.\n */\n exports.encodedMappings = void 0;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n exports.decodedMappings = void 0;\n /**\n * A low-level API to find the segment associated with a generated line/column (think, from a\n * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.\n */\n exports.traceSegment = void 0;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n exports.originalPositionFor = void 0;\n /**\n * Finds the generated line/column position of the provided source/line/column source position.\n */\n exports.generatedPositionFor = void 0;\n /**\n * Finds all generated line/column positions of the provided source/line/column source position.\n */\n exports.allGeneratedPositionsFor = void 0;\n /**\n * Iterates each mapping in generated position order.\n */\n exports.eachMapping = void 0;\n /**\n * Retrieves the source content for a particular source, if its found. Returns null if not.\n */\n exports.sourceContentFor = void 0;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n exports.presortedDecodedMap = void 0;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.decodedMap = void 0;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.encodedMap = void 0;\n class TraceMap {\n constructor(map, mapUrl) {\n const isString = typeof map === 'string';\n if (!isString && map._decodedMemo)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n }\n }\n (() => {\n exports.encodedMappings = (map) => {\n var _a;\n return ((_a = map._encoded) !== null && _a !== void 0 ? _a : (map._encoded = sourcemapCodec.encode(map._decoded)));\n };\n exports.decodedMappings = (map) => {\n return (map._decoded || (map._decoded = sourcemapCodec.decode(map._encoded)));\n };\n exports.traceSegment = (map, line, column) => {\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return null;\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, GREATEST_LOWER_BOUND);\n return index === -1 ? null : segments[index];\n };\n exports.originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return OMapping(null, null, null, null);\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (index === -1)\n return OMapping(null, null, null, null);\n const segment = segments[index];\n if (segment.length === 1)\n return OMapping(null, null, null, null);\n const { names, resolvedSources } = map;\n return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);\n };\n exports.allGeneratedPositionsFor = (map, { source, line, column, bias }) => {\n // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.\n return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);\n };\n exports.generatedPositionFor = (map, { source, line, column, bias }) => {\n return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);\n };\n exports.eachMapping = (map, cb) => {\n const decoded = exports.decodedMappings(map);\n const { names, resolvedSources } = map;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const generatedLine = i + 1;\n const generatedColumn = seg[0];\n let source = null;\n let originalLine = null;\n let originalColumn = null;\n let name = null;\n if (seg.length !== 1) {\n source = resolvedSources[seg[1]];\n originalLine = seg[2] + 1;\n originalColumn = seg[3];\n }\n if (seg.length === 5)\n name = names[seg[4]];\n cb({\n generatedLine,\n generatedColumn,\n source,\n originalLine,\n originalColumn,\n name,\n });\n }\n }\n };\n exports.sourceContentFor = (map, source) => {\n const { sources, resolvedSources, sourcesContent } = map;\n if (sourcesContent == null)\n return null;\n let index = sources.indexOf(source);\n if (index === -1)\n index = resolvedSources.indexOf(source);\n return index === -1 ? null : sourcesContent[index];\n };\n exports.presortedDecodedMap = (map, mapUrl) => {\n const tracer = new TraceMap(clone(map, []), mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n exports.decodedMap = (map) => {\n return clone(map, exports.decodedMappings(map));\n };\n exports.encodedMap = (map) => {\n return clone(map, exports.encodedMappings(map));\n };\n function generatedPosition(map, source, line, column, bias, all) {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const { sources, resolvedSources } = map;\n let sourceIndex = sources.indexOf(source);\n if (sourceIndex === -1)\n sourceIndex = resolvedSources.indexOf(source);\n if (sourceIndex === -1)\n return all ? [] : GMapping(null, null);\n const generated = (map._bySources || (map._bySources = buildBySources(exports.decodedMappings(map), (map._bySourceMemos = sources.map(memoizedState)))));\n const segments = generated[sourceIndex][line];\n if (segments == null)\n return all ? [] : GMapping(null, null);\n const memo = map._bySourceMemos[sourceIndex];\n if (all)\n return sliceGeneratedPositions(segments, memo, line, column, bias);\n const index = traceSegmentInternal(segments, memo, line, column, bias);\n if (index === -1)\n return GMapping(null, null);\n const segment = segments[index];\n return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);\n }\n })();\n function clone(map, mappings) {\n return {\n version: map.version,\n file: map.file,\n names: map.names,\n sourceRoot: map.sourceRoot,\n sources: map.sources,\n sourcesContent: map.sourcesContent,\n mappings,\n };\n }\n function OMapping(source, line, column, name) {\n return { source, line, column, name };\n }\n function GMapping(line, column) {\n return { line, column };\n }\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return -1;\n return index;\n }\n function sliceGeneratedPositions(segments, memo, line, column, bias) {\n let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);\n // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in\n // insertion order) segment that matched. Even if we did respect the bias when tracing, we would\n // still need to call `lowerBound()` to find the first segment, which is slower than just looking\n // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the\n // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to\n // match LEAST_UPPER_BOUND.\n if (!found && bias === LEAST_UPPER_BOUND)\n min++;\n if (min === -1 || min === segments.length)\n return [];\n // We may have found the segment that started at an earlier column. If this is the case, then we\n // need to slice all generated segments that match _that_ column, because all such segments span\n // to our desired column.\n const matchedColumn = found ? column : segments[min][COLUMN];\n // The binary search is not guaranteed to find the lower bound when a match wasn't found.\n if (!found)\n min = lowerBound(segments, matchedColumn, min);\n const max = upperBound(segments, matchedColumn, min);\n const result = [];\n for (; min <= max; min++) {\n const segment = segments[min];\n result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));\n }\n return result;\n }\n\n exports.AnyMap = AnyMap;\n exports.GREATEST_LOWER_BOUND = GREATEST_LOWER_BOUND;\n exports.LEAST_UPPER_BOUND = LEAST_UPPER_BOUND;\n exports.TraceMap = TraceMap;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=trace-mapping.umd.js.map\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/clone.js": /*!******************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/clone.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"cloneNode\": () => (/* binding */ cloneNode)\n/* harmony export */ });\nfunction cloneNode(n) {\n return Object.assign({}, n);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/clone.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/index.js": /*!******************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/index.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertData),\n/* harmony export */ \"assertElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobalType),\n/* harmony export */ \"assertHasLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.assertHasLoc),\n/* harmony export */ \"assertIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertMemory),\n/* harmony export */ \"assertModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSignature),\n/* harmony export */ \"assertStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.binaryModule),\n/* harmony export */ \"blockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callInstruction),\n/* harmony export */ \"cloneNode\": () => (/* reexport safe */ _clone__WEBPACK_IMPORTED_MODULE_5__.cloneNode),\n/* harmony export */ \"data\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.data),\n/* harmony export */ \"elem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.elem),\n/* harmony export */ \"floatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.floatLiteral),\n/* harmony export */ \"func\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.func),\n/* harmony export */ \"funcImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.funcImportDescr),\n/* harmony export */ \"funcParam\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.funcParam),\n/* harmony export */ \"functionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.functionNameMetadata),\n/* harmony export */ \"getEndBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndBlockByteOffset),\n/* harmony export */ \"getEndByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndByteOffset),\n/* harmony export */ \"getEndOfSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndOfSection),\n/* harmony export */ \"getFunctionBeginingByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getFunctionBeginingByteOffset),\n/* harmony export */ \"getSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadata),\n/* harmony export */ \"getSectionMetadatas\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadatas),\n/* harmony export */ \"getStartBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartBlockByteOffset),\n/* harmony export */ \"getStartByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartByteOffset),\n/* harmony export */ \"getUniqueNameGenerator\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getUniqueNameGenerator),\n/* harmony export */ \"global\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.global),\n/* harmony export */ \"globalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.globalType),\n/* harmony export */ \"identifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.identifier),\n/* harmony export */ \"ifInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.indexInFuncSection),\n/* harmony export */ \"indexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.indexLiteral),\n/* harmony export */ \"instr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.instr),\n/* harmony export */ \"instruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.instruction),\n/* harmony export */ \"internalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalGoto),\n/* harmony export */ \"isAnonymous\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.isAnonymous),\n/* harmony export */ \"isBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallInstruction),\n/* harmony export */ \"isData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isData),\n/* harmony export */ \"isElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isElem),\n/* harmony export */ \"isExpression\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstr),\n/* harmony export */ \"isInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isMemory),\n/* harmony export */ \"isModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModule),\n/* harmony export */ \"isModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSignature),\n/* harmony export */ \"isStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.leadingComment),\n/* harmony export */ \"limit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.limit),\n/* harmony export */ \"localNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.loopInstruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.memIndexLiteral),\n/* harmony export */ \"memory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.memory),\n/* harmony export */ \"module\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.module),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* reexport safe */ _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__.moduleContextFromModuleAST),\n/* harmony export */ \"moduleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.numberLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.objectInstruction),\n/* harmony export */ \"orderedInsertNode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.orderedInsertNode),\n/* harmony export */ \"producerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.program),\n/* harmony export */ \"quoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.sectionMetadata),\n/* harmony export */ \"shiftLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftLoc),\n/* harmony export */ \"shiftSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftSection),\n/* harmony export */ \"signature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.signature),\n/* harmony export */ \"signatureForOpcode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.signatureForOpcode),\n/* harmony export */ \"signatures\": () => (/* reexport safe */ _signatures__WEBPACK_IMPORTED_MODULE_3__.signatures),\n/* harmony export */ \"sortSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.sortSectionMetadata),\n/* harmony export */ \"start\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.start),\n/* harmony export */ \"stringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.stringLiteral),\n/* harmony export */ \"table\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.table),\n/* harmony export */ \"traverse\": () => (/* reexport safe */ _traverse__WEBPACK_IMPORTED_MODULE_2__.traverse),\n/* harmony export */ \"typeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.valtypeLiteral),\n/* harmony export */ \"withLoc\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withLoc),\n/* harmony export */ \"withRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withRaw)\n/* harmony export */ });\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./nodes */ \"./node_modules/@webassemblyjs/ast/esm/nodes.js\");\n/* harmony import */ var _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node-helpers.js */ \"./node_modules/@webassemblyjs/ast/esm/node-helpers.js\");\n/* harmony import */ var _traverse__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./traverse */ \"./node_modules/@webassemblyjs/ast/esm/traverse.js\");\n/* harmony import */ var _signatures__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./signatures */ \"./node_modules/@webassemblyjs/ast/esm/signatures.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils */ \"./node_modules/@webassemblyjs/ast/esm/utils.js\");\n/* harmony import */ var _clone__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./clone */ \"./node_modules/@webassemblyjs/ast/esm/clone.js\");\n/* harmony import */ var _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./transform/ast-module-to-module-context */ \"./node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js\");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/node-helpers.js": /*!*************************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/node-helpers.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"funcParam\": () => (/* binding */ funcParam),\n/* harmony export */ \"indexLiteral\": () => (/* binding */ indexLiteral),\n/* harmony export */ \"instruction\": () => (/* binding */ instruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* binding */ memIndexLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* binding */ numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* binding */ objectInstruction),\n/* harmony export */ \"withLoc\": () => (/* binding */ withLoc),\n/* harmony export */ \"withRaw\": () => (/* binding */ withRaw)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/helper-numbers */ \"./node_modules/@webassemblyjs/helper-numbers/esm/index.js\");\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nodes */ \"./node_modules/@webassemblyjs/ast/esm/nodes.js\");\n\n\nfunction numberLiteralFromRaw(rawValue) {\n var instructionType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"i32\";\n var original = rawValue; // Remove numeric separators _\n\n if (typeof rawValue === \"string\") {\n rawValue = rawValue.replace(/_/g, \"\");\n }\n\n if (typeof rawValue === \"number\") {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)(rawValue, String(original));\n } else {\n switch (instructionType) {\n case \"i32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32I)(rawValue), String(original));\n }\n\n case \"u32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parseU32)(rawValue), String(original));\n }\n\n case \"i64\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.longNumberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64I)(rawValue), String(original));\n }\n\n case \"f32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n // f64\n\n default:\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n }\n }\n}\nfunction instruction(id) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var namedArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, undefined, args, namedArgs);\n}\nfunction objectInstruction(id, object) {\n var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var namedArgs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, object, args, namedArgs);\n}\n/**\n * Decorators\n */\n\nfunction withLoc(n, end, start) {\n var loc = {\n start: start,\n end: end\n };\n n.loc = loc;\n return n;\n}\nfunction withRaw(n, raw) {\n n.raw = raw;\n return n;\n}\nfunction funcParam(valtype, id) {\n return {\n id: id,\n valtype: valtype\n };\n}\nfunction indexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\nfunction memIndexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/node-helpers.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/node-path.js": /*!**********************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/node-path.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"createPath\": () => (/* binding */ createPath)\n/* harmony export */ });\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction findParent(_ref, cb) {\n var parentPath = _ref.parentPath;\n\n if (parentPath == null) {\n throw new Error(\"node is root\");\n }\n\n var currentPath = parentPath;\n\n while (cb(currentPath) !== false) {\n // Hit the root node, stop\n // $FlowIgnore\n if (currentPath.parentPath == null) {\n return null;\n } // $FlowIgnore\n\n\n currentPath = currentPath.parentPath;\n }\n\n return currentPath.node;\n}\n\nfunction insertBefore(context, newNode) {\n return insert(context, newNode);\n}\n\nfunction insertAfter(context, newNode) {\n return insert(context, newNode, 1);\n}\n\nfunction insert(_ref2, newNode) {\n var node = _ref2.node,\n inList = _ref2.inList,\n parentPath = _ref2.parentPath,\n parentKey = _ref2.parentKey;\n var indexOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n if (!inList) {\n throw new Error('inList' + \" error: \" + (\"insert can only be used for nodes that are within lists\" || 0));\n }\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentList = parentPath.node[parentKey];\n var indexInList = parentList.findIndex(function (n) {\n return n === node;\n });\n parentList.splice(indexInList + indexOffset, 0, newNode);\n}\n\nfunction remove(_ref3) {\n var node = _ref3.node,\n parentKey = _ref3.parentKey,\n parentPath = _ref3.parentPath;\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentNode = parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[parentKey];\n\n if (Array.isArray(parentProperty)) {\n // $FlowIgnore\n parentNode[parentKey] = parentProperty.filter(function (n) {\n return n !== node;\n });\n } else {\n // $FlowIgnore\n delete parentNode[parentKey];\n }\n\n node._deleted = true;\n}\n\nfunction stop(context) {\n context.shouldStop = true;\n}\n\nfunction replaceWith(context, newNode) {\n // $FlowIgnore\n var parentNode = context.parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[context.parentKey];\n\n if (Array.isArray(parentProperty)) {\n var indexInList = parentProperty.findIndex(function (n) {\n return n === context.node;\n });\n parentProperty.splice(indexInList, 1, newNode);\n } else {\n // $FlowIgnore\n parentNode[context.parentKey] = newNode;\n }\n\n context.node._deleted = true;\n context.node = newNode;\n} // bind the context to the first argument of node operations\n\n\nfunction bindNodeOperations(operations, context) {\n var keys = Object.keys(operations);\n var boundOperations = {};\n keys.forEach(function (key) {\n boundOperations[key] = operations[key].bind(null, context);\n });\n return boundOperations;\n}\n\nfunction createPathOperations(context) {\n // $FlowIgnore\n return bindNodeOperations({\n findParent: findParent,\n replaceWith: replaceWith,\n remove: remove,\n insertBefore: insertBefore,\n insertAfter: insertAfter,\n stop: stop\n }, context);\n}\n\nfunction createPath(context) {\n var path = _extends({}, context); // $FlowIgnore\n\n\n Object.assign(path, createPathOperations(path)); // $FlowIgnore\n\n return path;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/node-path.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/nodes.js": /*!******************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/nodes.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* binding */ assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* binding */ assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* binding */ assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* binding */ assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* binding */ assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* binding */ assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* binding */ assertData),\n/* harmony export */ \"assertElem\": () => (/* binding */ assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* binding */ assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* binding */ assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* binding */ assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* binding */ assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* binding */ assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* binding */ assertGlobalType),\n/* harmony export */ \"assertIdentifier\": () => (/* binding */ assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* binding */ assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* binding */ assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* binding */ assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* binding */ assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* binding */ assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* binding */ assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* binding */ assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* binding */ assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* binding */ assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* binding */ assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* binding */ assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* binding */ assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* binding */ assertMemory),\n/* harmony export */ \"assertModule\": () => (/* binding */ assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* binding */ assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* binding */ assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* binding */ assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* binding */ assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* binding */ assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* binding */ assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* binding */ assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* binding */ assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* binding */ assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* binding */ assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* binding */ assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* binding */ assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* binding */ assertSignature),\n/* harmony export */ \"assertStart\": () => (/* binding */ assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* binding */ assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* binding */ assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* binding */ assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* binding */ assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* binding */ binaryModule),\n/* harmony export */ \"blockComment\": () => (/* binding */ blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* binding */ blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* binding */ byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* binding */ callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* binding */ callInstruction),\n/* harmony export */ \"data\": () => (/* binding */ data),\n/* harmony export */ \"elem\": () => (/* binding */ elem),\n/* harmony export */ \"floatLiteral\": () => (/* binding */ floatLiteral),\n/* harmony export */ \"func\": () => (/* binding */ func),\n/* harmony export */ \"funcImportDescr\": () => (/* binding */ funcImportDescr),\n/* harmony export */ \"functionNameMetadata\": () => (/* binding */ functionNameMetadata),\n/* harmony export */ \"global\": () => (/* binding */ global),\n/* harmony export */ \"globalType\": () => (/* binding */ globalType),\n/* harmony export */ \"identifier\": () => (/* binding */ identifier),\n/* harmony export */ \"ifInstruction\": () => (/* binding */ ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* binding */ indexInFuncSection),\n/* harmony export */ \"instr\": () => (/* binding */ instr),\n/* harmony export */ \"internalBrUnless\": () => (/* binding */ internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* binding */ internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* binding */ internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* binding */ internalGoto),\n/* harmony export */ \"isBinaryModule\": () => (/* binding */ isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* binding */ isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* binding */ isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* binding */ isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* binding */ isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* binding */ isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* binding */ isCallInstruction),\n/* harmony export */ \"isData\": () => (/* binding */ isData),\n/* harmony export */ \"isElem\": () => (/* binding */ isElem),\n/* harmony export */ \"isExpression\": () => (/* binding */ isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* binding */ isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* binding */ isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* binding */ isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* binding */ isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* binding */ isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* binding */ isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* binding */ isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* binding */ isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* binding */ isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* binding */ isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* binding */ isInstr),\n/* harmony export */ \"isInstruction\": () => (/* binding */ isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* binding */ isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* binding */ isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* binding */ isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* binding */ isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* binding */ isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* binding */ isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* binding */ isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* binding */ isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* binding */ isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* binding */ isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* binding */ isMemory),\n/* harmony export */ \"isModule\": () => (/* binding */ isModule),\n/* harmony export */ \"isModuleExport\": () => (/* binding */ isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* binding */ isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* binding */ isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* binding */ isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* binding */ isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* binding */ isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* binding */ isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* binding */ isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* binding */ isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* binding */ isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* binding */ isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* binding */ isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* binding */ isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* binding */ isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* binding */ isSignature),\n/* harmony export */ \"isStart\": () => (/* binding */ isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* binding */ isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* binding */ isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* binding */ isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* binding */ isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* binding */ leadingComment),\n/* harmony export */ \"limit\": () => (/* binding */ limit),\n/* harmony export */ \"localNameMetadata\": () => (/* binding */ localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* binding */ longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* binding */ loopInstruction),\n/* harmony export */ \"memory\": () => (/* binding */ memory),\n/* harmony export */ \"module\": () => (/* binding */ module),\n/* harmony export */ \"moduleExport\": () => (/* binding */ moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* binding */ moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* binding */ moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* binding */ moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* binding */ moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* binding */ nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* binding */ numberLiteral),\n/* harmony export */ \"producerMetadata\": () => (/* binding */ producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* binding */ producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* binding */ producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* binding */ program),\n/* harmony export */ \"quoteModule\": () => (/* binding */ quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* binding */ sectionMetadata),\n/* harmony export */ \"signature\": () => (/* binding */ signature),\n/* harmony export */ \"start\": () => (/* binding */ start),\n/* harmony export */ \"stringLiteral\": () => (/* binding */ stringLiteral),\n/* harmony export */ \"table\": () => (/* binding */ table),\n/* harmony export */ \"typeInstruction\": () => (/* binding */ typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* binding */ unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* binding */ valtypeLiteral)\n/* harmony export */ });\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n// THIS FILE IS AUTOGENERATED\n// see scripts/generateNodeUtils.js\nfunction isTypeOf(t) {\n return function (n) {\n return n.type === t;\n };\n}\n\nfunction assertTypeOf(t) {\n return function (n) {\n return function () {\n if (!(n.type === t)) {\n throw new Error('n.type === t' + \" error: \" + ( false || \"unknown\"));\n }\n }();\n };\n}\n\nfunction module(id, fields, metadata) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(fields) === \"object\" && typeof fields.length !== \"undefined\")) {\n throw new Error('typeof fields === \"object\" && typeof fields.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Module\",\n id: id,\n fields: fields\n };\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction moduleMetadata(sections, functionNames, localNames, producers) {\n if (!(_typeof(sections) === \"object\" && typeof sections.length !== \"undefined\")) {\n throw new Error('typeof sections === \"object\" && typeof sections.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (functionNames !== null && functionNames !== undefined) {\n if (!(_typeof(functionNames) === \"object\" && typeof functionNames.length !== \"undefined\")) {\n throw new Error('typeof functionNames === \"object\" && typeof functionNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (localNames !== null && localNames !== undefined) {\n if (!(_typeof(localNames) === \"object\" && typeof localNames.length !== \"undefined\")) {\n throw new Error('typeof localNames === \"object\" && typeof localNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (producers !== null && producers !== undefined) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"ModuleMetadata\",\n sections: sections\n };\n\n if (typeof functionNames !== \"undefined\" && functionNames.length > 0) {\n node.functionNames = functionNames;\n }\n\n if (typeof localNames !== \"undefined\" && localNames.length > 0) {\n node.localNames = localNames;\n }\n\n if (typeof producers !== \"undefined\" && producers.length > 0) {\n node.producers = producers;\n }\n\n return node;\n}\nfunction moduleNameMetadata(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"ModuleNameMetadata\",\n value: value\n };\n return node;\n}\nfunction functionNameMetadata(value, index) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof index === \"number\")) {\n throw new Error('typeof index === \"number\"' + \" error: \" + (\"Argument index must be of type number, given: \" + _typeof(index) || 0));\n }\n\n var node = {\n type: \"FunctionNameMetadata\",\n value: value,\n index: index\n };\n return node;\n}\nfunction localNameMetadata(value, localIndex, functionIndex) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof localIndex === \"number\")) {\n throw new Error('typeof localIndex === \"number\"' + \" error: \" + (\"Argument localIndex must be of type number, given: \" + _typeof(localIndex) || 0));\n }\n\n if (!(typeof functionIndex === \"number\")) {\n throw new Error('typeof functionIndex === \"number\"' + \" error: \" + (\"Argument functionIndex must be of type number, given: \" + _typeof(functionIndex) || 0));\n }\n\n var node = {\n type: \"LocalNameMetadata\",\n value: value,\n localIndex: localIndex,\n functionIndex: functionIndex\n };\n return node;\n}\nfunction binaryModule(id, blob) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(blob) === \"object\" && typeof blob.length !== \"undefined\")) {\n throw new Error('typeof blob === \"object\" && typeof blob.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BinaryModule\",\n id: id,\n blob: blob\n };\n return node;\n}\nfunction quoteModule(id, string) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(string) === \"object\" && typeof string.length !== \"undefined\")) {\n throw new Error('typeof string === \"object\" && typeof string.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"QuoteModule\",\n id: id,\n string: string\n };\n return node;\n}\nfunction sectionMetadata(section, startOffset, size, vectorOfSize) {\n if (!(typeof startOffset === \"number\")) {\n throw new Error('typeof startOffset === \"number\"' + \" error: \" + (\"Argument startOffset must be of type number, given: \" + _typeof(startOffset) || 0));\n }\n\n var node = {\n type: \"SectionMetadata\",\n section: section,\n startOffset: startOffset,\n size: size,\n vectorOfSize: vectorOfSize\n };\n return node;\n}\nfunction producersSectionMetadata(producers) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducersSectionMetadata\",\n producers: producers\n };\n return node;\n}\nfunction producerMetadata(language, processedBy, sdk) {\n if (!(_typeof(language) === \"object\" && typeof language.length !== \"undefined\")) {\n throw new Error('typeof language === \"object\" && typeof language.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(processedBy) === \"object\" && typeof processedBy.length !== \"undefined\")) {\n throw new Error('typeof processedBy === \"object\" && typeof processedBy.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(sdk) === \"object\" && typeof sdk.length !== \"undefined\")) {\n throw new Error('typeof sdk === \"object\" && typeof sdk.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducerMetadata\",\n language: language,\n processedBy: processedBy,\n sdk: sdk\n };\n return node;\n}\nfunction producerMetadataVersionedName(name, version) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n if (!(typeof version === \"string\")) {\n throw new Error('typeof version === \"string\"' + \" error: \" + (\"Argument version must be of type string, given: \" + _typeof(version) || 0));\n }\n\n var node = {\n type: \"ProducerMetadataVersionedName\",\n name: name,\n version: version\n };\n return node;\n}\nfunction loopInstruction(label, resulttype, instr) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"LoopInstruction\",\n id: \"loop\",\n label: label,\n resulttype: resulttype,\n instr: instr\n };\n return node;\n}\nfunction instr(id, object, args, namedArgs) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n\n if (!(_typeof(args) === \"object\" && typeof args.length !== \"undefined\")) {\n throw new Error('typeof args === \"object\" && typeof args.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Instr\",\n id: id,\n args: args\n };\n\n if (typeof object !== \"undefined\") {\n node.object = object;\n }\n\n if (typeof namedArgs !== \"undefined\" && Object.keys(namedArgs).length !== 0) {\n node.namedArgs = namedArgs;\n }\n\n return node;\n}\nfunction ifInstruction(testLabel, test, result, consequent, alternate) {\n if (!(_typeof(test) === \"object\" && typeof test.length !== \"undefined\")) {\n throw new Error('typeof test === \"object\" && typeof test.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(consequent) === \"object\" && typeof consequent.length !== \"undefined\")) {\n throw new Error('typeof consequent === \"object\" && typeof consequent.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(alternate) === \"object\" && typeof alternate.length !== \"undefined\")) {\n throw new Error('typeof alternate === \"object\" && typeof alternate.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"IfInstruction\",\n id: \"if\",\n testLabel: testLabel,\n test: test,\n result: result,\n consequent: consequent,\n alternate: alternate\n };\n return node;\n}\nfunction stringLiteral(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"StringLiteral\",\n value: value\n };\n return node;\n}\nfunction numberLiteral(value, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"NumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction longNumberLiteral(value, raw) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"LongNumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction floatLiteral(value, nan, inf, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (nan !== null && nan !== undefined) {\n if (!(typeof nan === \"boolean\")) {\n throw new Error('typeof nan === \"boolean\"' + \" error: \" + (\"Argument nan must be of type boolean, given: \" + _typeof(nan) || 0));\n }\n }\n\n if (inf !== null && inf !== undefined) {\n if (!(typeof inf === \"boolean\")) {\n throw new Error('typeof inf === \"boolean\"' + \" error: \" + (\"Argument inf must be of type boolean, given: \" + _typeof(inf) || 0));\n }\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"FloatLiteral\",\n value: value,\n raw: raw\n };\n\n if (nan === true) {\n node.nan = true;\n }\n\n if (inf === true) {\n node.inf = true;\n }\n\n return node;\n}\nfunction elem(table, offset, funcs) {\n if (!(_typeof(offset) === \"object\" && typeof offset.length !== \"undefined\")) {\n throw new Error('typeof offset === \"object\" && typeof offset.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(funcs) === \"object\" && typeof funcs.length !== \"undefined\")) {\n throw new Error('typeof funcs === \"object\" && typeof funcs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Elem\",\n table: table,\n offset: offset,\n funcs: funcs\n };\n return node;\n}\nfunction indexInFuncSection(index) {\n var node = {\n type: \"IndexInFuncSection\",\n index: index\n };\n return node;\n}\nfunction valtypeLiteral(name) {\n var node = {\n type: \"ValtypeLiteral\",\n name: name\n };\n return node;\n}\nfunction typeInstruction(id, functype) {\n var node = {\n type: \"TypeInstruction\",\n id: id,\n functype: functype\n };\n return node;\n}\nfunction start(index) {\n var node = {\n type: \"Start\",\n index: index\n };\n return node;\n}\nfunction globalType(valtype, mutability) {\n var node = {\n type: \"GlobalType\",\n valtype: valtype,\n mutability: mutability\n };\n return node;\n}\nfunction leadingComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"LeadingComment\",\n value: value\n };\n return node;\n}\nfunction blockComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"BlockComment\",\n value: value\n };\n return node;\n}\nfunction data(memoryIndex, offset, init) {\n var node = {\n type: \"Data\",\n memoryIndex: memoryIndex,\n offset: offset,\n init: init\n };\n return node;\n}\nfunction global(globalType, init, name) {\n if (!(_typeof(init) === \"object\" && typeof init.length !== \"undefined\")) {\n throw new Error('typeof init === \"object\" && typeof init.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Global\",\n globalType: globalType,\n init: init,\n name: name\n };\n return node;\n}\nfunction table(elementType, limits, name, elements) {\n if (!(limits.type === \"Limit\")) {\n throw new Error('limits.type === \"Limit\"' + \" error: \" + (\"Argument limits must be of type Limit, given: \" + limits.type || 0));\n }\n\n if (elements !== null && elements !== undefined) {\n if (!(_typeof(elements) === \"object\" && typeof elements.length !== \"undefined\")) {\n throw new Error('typeof elements === \"object\" && typeof elements.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"Table\",\n elementType: elementType,\n limits: limits,\n name: name\n };\n\n if (typeof elements !== \"undefined\" && elements.length > 0) {\n node.elements = elements;\n }\n\n return node;\n}\nfunction memory(limits, id) {\n var node = {\n type: \"Memory\",\n limits: limits,\n id: id\n };\n return node;\n}\nfunction funcImportDescr(id, signature) {\n var node = {\n type: \"FuncImportDescr\",\n id: id,\n signature: signature\n };\n return node;\n}\nfunction moduleImport(module, name, descr) {\n if (!(typeof module === \"string\")) {\n throw new Error('typeof module === \"string\"' + \" error: \" + (\"Argument module must be of type string, given: \" + _typeof(module) || 0));\n }\n\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleImport\",\n module: module,\n name: name,\n descr: descr\n };\n return node;\n}\nfunction moduleExportDescr(exportType, id) {\n var node = {\n type: \"ModuleExportDescr\",\n exportType: exportType,\n id: id\n };\n return node;\n}\nfunction moduleExport(name, descr) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleExport\",\n name: name,\n descr: descr\n };\n return node;\n}\nfunction limit(min, max, shared) {\n if (!(typeof min === \"number\")) {\n throw new Error('typeof min === \"number\"' + \" error: \" + (\"Argument min must be of type number, given: \" + _typeof(min) || 0));\n }\n\n if (max !== null && max !== undefined) {\n if (!(typeof max === \"number\")) {\n throw new Error('typeof max === \"number\"' + \" error: \" + (\"Argument max must be of type number, given: \" + _typeof(max) || 0));\n }\n }\n\n if (shared !== null && shared !== undefined) {\n if (!(typeof shared === \"boolean\")) {\n throw new Error('typeof shared === \"boolean\"' + \" error: \" + (\"Argument shared must be of type boolean, given: \" + _typeof(shared) || 0));\n }\n }\n\n var node = {\n type: \"Limit\",\n min: min\n };\n\n if (typeof max !== \"undefined\") {\n node.max = max;\n }\n\n if (shared === true) {\n node.shared = true;\n }\n\n return node;\n}\nfunction signature(params, results) {\n if (!(_typeof(params) === \"object\" && typeof params.length !== \"undefined\")) {\n throw new Error('typeof params === \"object\" && typeof params.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(results) === \"object\" && typeof results.length !== \"undefined\")) {\n throw new Error('typeof results === \"object\" && typeof results.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Signature\",\n params: params,\n results: results\n };\n return node;\n}\nfunction program(body) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Program\",\n body: body\n };\n return node;\n}\nfunction identifier(value, raw) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (raw !== null && raw !== undefined) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n }\n\n var node = {\n type: \"Identifier\",\n value: value\n };\n\n if (typeof raw !== \"undefined\") {\n node.raw = raw;\n }\n\n return node;\n}\nfunction blockInstruction(label, instr, result) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BlockInstruction\",\n id: \"block\",\n label: label,\n instr: instr,\n result: result\n };\n return node;\n}\nfunction callInstruction(index, instrArgs, numeric) {\n if (instrArgs !== null && instrArgs !== undefined) {\n if (!(_typeof(instrArgs) === \"object\" && typeof instrArgs.length !== \"undefined\")) {\n throw new Error('typeof instrArgs === \"object\" && typeof instrArgs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallInstruction\",\n id: \"call\",\n index: index\n };\n\n if (typeof instrArgs !== \"undefined\" && instrArgs.length > 0) {\n node.instrArgs = instrArgs;\n }\n\n if (typeof numeric !== \"undefined\") {\n node.numeric = numeric;\n }\n\n return node;\n}\nfunction callIndirectInstruction(signature, intrs) {\n if (intrs !== null && intrs !== undefined) {\n if (!(_typeof(intrs) === \"object\" && typeof intrs.length !== \"undefined\")) {\n throw new Error('typeof intrs === \"object\" && typeof intrs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallIndirectInstruction\",\n id: \"call_indirect\",\n signature: signature\n };\n\n if (typeof intrs !== \"undefined\" && intrs.length > 0) {\n node.intrs = intrs;\n }\n\n return node;\n}\nfunction byteArray(values) {\n if (!(_typeof(values) === \"object\" && typeof values.length !== \"undefined\")) {\n throw new Error('typeof values === \"object\" && typeof values.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ByteArray\",\n values: values\n };\n return node;\n}\nfunction func(name, signature, body, isExternal, metadata) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (isExternal !== null && isExternal !== undefined) {\n if (!(typeof isExternal === \"boolean\")) {\n throw new Error('typeof isExternal === \"boolean\"' + \" error: \" + (\"Argument isExternal must be of type boolean, given: \" + _typeof(isExternal) || 0));\n }\n }\n\n var node = {\n type: \"Func\",\n name: name,\n signature: signature,\n body: body\n };\n\n if (isExternal === true) {\n node.isExternal = true;\n }\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction internalBrUnless(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalBrUnless\",\n target: target\n };\n return node;\n}\nfunction internalGoto(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalGoto\",\n target: target\n };\n return node;\n}\nfunction internalCallExtern(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalCallExtern\",\n target: target\n };\n return node;\n}\nfunction internalEndAndReturn() {\n var node = {\n type: \"InternalEndAndReturn\"\n };\n return node;\n}\nvar isModule = isTypeOf(\"Module\");\nvar isModuleMetadata = isTypeOf(\"ModuleMetadata\");\nvar isModuleNameMetadata = isTypeOf(\"ModuleNameMetadata\");\nvar isFunctionNameMetadata = isTypeOf(\"FunctionNameMetadata\");\nvar isLocalNameMetadata = isTypeOf(\"LocalNameMetadata\");\nvar isBinaryModule = isTypeOf(\"BinaryModule\");\nvar isQuoteModule = isTypeOf(\"QuoteModule\");\nvar isSectionMetadata = isTypeOf(\"SectionMetadata\");\nvar isProducersSectionMetadata = isTypeOf(\"ProducersSectionMetadata\");\nvar isProducerMetadata = isTypeOf(\"ProducerMetadata\");\nvar isProducerMetadataVersionedName = isTypeOf(\"ProducerMetadataVersionedName\");\nvar isLoopInstruction = isTypeOf(\"LoopInstruction\");\nvar isInstr = isTypeOf(\"Instr\");\nvar isIfInstruction = isTypeOf(\"IfInstruction\");\nvar isStringLiteral = isTypeOf(\"StringLiteral\");\nvar isNumberLiteral = isTypeOf(\"NumberLiteral\");\nvar isLongNumberLiteral = isTypeOf(\"LongNumberLiteral\");\nvar isFloatLiteral = isTypeOf(\"FloatLiteral\");\nvar isElem = isTypeOf(\"Elem\");\nvar isIndexInFuncSection = isTypeOf(\"IndexInFuncSection\");\nvar isValtypeLiteral = isTypeOf(\"ValtypeLiteral\");\nvar isTypeInstruction = isTypeOf(\"TypeInstruction\");\nvar isStart = isTypeOf(\"Start\");\nvar isGlobalType = isTypeOf(\"GlobalType\");\nvar isLeadingComment = isTypeOf(\"LeadingComment\");\nvar isBlockComment = isTypeOf(\"BlockComment\");\nvar isData = isTypeOf(\"Data\");\nvar isGlobal = isTypeOf(\"Global\");\nvar isTable = isTypeOf(\"Table\");\nvar isMemory = isTypeOf(\"Memory\");\nvar isFuncImportDescr = isTypeOf(\"FuncImportDescr\");\nvar isModuleImport = isTypeOf(\"ModuleImport\");\nvar isModuleExportDescr = isTypeOf(\"ModuleExportDescr\");\nvar isModuleExport = isTypeOf(\"ModuleExport\");\nvar isLimit = isTypeOf(\"Limit\");\nvar isSignature = isTypeOf(\"Signature\");\nvar isProgram = isTypeOf(\"Program\");\nvar isIdentifier = isTypeOf(\"Identifier\");\nvar isBlockInstruction = isTypeOf(\"BlockInstruction\");\nvar isCallInstruction = isTypeOf(\"CallInstruction\");\nvar isCallIndirectInstruction = isTypeOf(\"CallIndirectInstruction\");\nvar isByteArray = isTypeOf(\"ByteArray\");\nvar isFunc = isTypeOf(\"Func\");\nvar isInternalBrUnless = isTypeOf(\"InternalBrUnless\");\nvar isInternalGoto = isTypeOf(\"InternalGoto\");\nvar isInternalCallExtern = isTypeOf(\"InternalCallExtern\");\nvar isInternalEndAndReturn = isTypeOf(\"InternalEndAndReturn\");\nvar isNode = function isNode(node) {\n return isModule(node) || isModuleMetadata(node) || isModuleNameMetadata(node) || isFunctionNameMetadata(node) || isLocalNameMetadata(node) || isBinaryModule(node) || isQuoteModule(node) || isSectionMetadata(node) || isProducersSectionMetadata(node) || isProducerMetadata(node) || isProducerMetadataVersionedName(node) || isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isElem(node) || isIndexInFuncSection(node) || isValtypeLiteral(node) || isTypeInstruction(node) || isStart(node) || isGlobalType(node) || isLeadingComment(node) || isBlockComment(node) || isData(node) || isGlobal(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node) || isModuleImport(node) || isModuleExportDescr(node) || isModuleExport(node) || isLimit(node) || isSignature(node) || isProgram(node) || isIdentifier(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node) || isByteArray(node) || isFunc(node) || isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar isBlock = function isBlock(node) {\n return isLoopInstruction(node) || isBlockInstruction(node) || isFunc(node);\n};\nvar isInstruction = function isInstruction(node) {\n return isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isTypeInstruction(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node);\n};\nvar isExpression = function isExpression(node) {\n return isInstr(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isValtypeLiteral(node) || isIdentifier(node);\n};\nvar isNumericLiteral = function isNumericLiteral(node) {\n return isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node);\n};\nvar isImportDescr = function isImportDescr(node) {\n return isGlobalType(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node);\n};\nvar isIntrinsic = function isIntrinsic(node) {\n return isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar assertModule = assertTypeOf(\"Module\");\nvar assertModuleMetadata = assertTypeOf(\"ModuleMetadata\");\nvar assertModuleNameMetadata = assertTypeOf(\"ModuleNameMetadata\");\nvar assertFunctionNameMetadata = assertTypeOf(\"FunctionNameMetadata\");\nvar assertLocalNameMetadata = assertTypeOf(\"LocalNameMetadata\");\nvar assertBinaryModule = assertTypeOf(\"BinaryModule\");\nvar assertQuoteModule = assertTypeOf(\"QuoteModule\");\nvar assertSectionMetadata = assertTypeOf(\"SectionMetadata\");\nvar assertProducersSectionMetadata = assertTypeOf(\"ProducersSectionMetadata\");\nvar assertProducerMetadata = assertTypeOf(\"ProducerMetadata\");\nvar assertProducerMetadataVersionedName = assertTypeOf(\"ProducerMetadataVersionedName\");\nvar assertLoopInstruction = assertTypeOf(\"LoopInstruction\");\nvar assertInstr = assertTypeOf(\"Instr\");\nvar assertIfInstruction = assertTypeOf(\"IfInstruction\");\nvar assertStringLiteral = assertTypeOf(\"StringLiteral\");\nvar assertNumberLiteral = assertTypeOf(\"NumberLiteral\");\nvar assertLongNumberLiteral = assertTypeOf(\"LongNumberLiteral\");\nvar assertFloatLiteral = assertTypeOf(\"FloatLiteral\");\nvar assertElem = assertTypeOf(\"Elem\");\nvar assertIndexInFuncSection = assertTypeOf(\"IndexInFuncSection\");\nvar assertValtypeLiteral = assertTypeOf(\"ValtypeLiteral\");\nvar assertTypeInstruction = assertTypeOf(\"TypeInstruction\");\nvar assertStart = assertTypeOf(\"Start\");\nvar assertGlobalType = assertTypeOf(\"GlobalType\");\nvar assertLeadingComment = assertTypeOf(\"LeadingComment\");\nvar assertBlockComment = assertTypeOf(\"BlockComment\");\nvar assertData = assertTypeOf(\"Data\");\nvar assertGlobal = assertTypeOf(\"Global\");\nvar assertTable = assertTypeOf(\"Table\");\nvar assertMemory = assertTypeOf(\"Memory\");\nvar assertFuncImportDescr = assertTypeOf(\"FuncImportDescr\");\nvar assertModuleImport = assertTypeOf(\"ModuleImport\");\nvar assertModuleExportDescr = assertTypeOf(\"ModuleExportDescr\");\nvar assertModuleExport = assertTypeOf(\"ModuleExport\");\nvar assertLimit = assertTypeOf(\"Limit\");\nvar assertSignature = assertTypeOf(\"Signature\");\nvar assertProgram = assertTypeOf(\"Program\");\nvar assertIdentifier = assertTypeOf(\"Identifier\");\nvar assertBlockInstruction = assertTypeOf(\"BlockInstruction\");\nvar assertCallInstruction = assertTypeOf(\"CallInstruction\");\nvar assertCallIndirectInstruction = assertTypeOf(\"CallIndirectInstruction\");\nvar assertByteArray = assertTypeOf(\"ByteArray\");\nvar assertFunc = assertTypeOf(\"Func\");\nvar assertInternalBrUnless = assertTypeOf(\"InternalBrUnless\");\nvar assertInternalGoto = assertTypeOf(\"InternalGoto\");\nvar assertInternalCallExtern = assertTypeOf(\"InternalCallExtern\");\nvar assertInternalEndAndReturn = assertTypeOf(\"InternalEndAndReturn\");\nvar unionTypesMap = {\n Module: [\"Node\"],\n ModuleMetadata: [\"Node\"],\n ModuleNameMetadata: [\"Node\"],\n FunctionNameMetadata: [\"Node\"],\n LocalNameMetadata: [\"Node\"],\n BinaryModule: [\"Node\"],\n QuoteModule: [\"Node\"],\n SectionMetadata: [\"Node\"],\n ProducersSectionMetadata: [\"Node\"],\n ProducerMetadata: [\"Node\"],\n ProducerMetadataVersionedName: [\"Node\"],\n LoopInstruction: [\"Node\", \"Block\", \"Instruction\"],\n Instr: [\"Node\", \"Expression\", \"Instruction\"],\n IfInstruction: [\"Node\", \"Instruction\"],\n StringLiteral: [\"Node\", \"Expression\"],\n NumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n LongNumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n FloatLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n Elem: [\"Node\"],\n IndexInFuncSection: [\"Node\"],\n ValtypeLiteral: [\"Node\", \"Expression\"],\n TypeInstruction: [\"Node\", \"Instruction\"],\n Start: [\"Node\"],\n GlobalType: [\"Node\", \"ImportDescr\"],\n LeadingComment: [\"Node\"],\n BlockComment: [\"Node\"],\n Data: [\"Node\"],\n Global: [\"Node\"],\n Table: [\"Node\", \"ImportDescr\"],\n Memory: [\"Node\", \"ImportDescr\"],\n FuncImportDescr: [\"Node\", \"ImportDescr\"],\n ModuleImport: [\"Node\"],\n ModuleExportDescr: [\"Node\"],\n ModuleExport: [\"Node\"],\n Limit: [\"Node\"],\n Signature: [\"Node\"],\n Program: [\"Node\"],\n Identifier: [\"Node\", \"Expression\"],\n BlockInstruction: [\"Node\", \"Block\", \"Instruction\"],\n CallInstruction: [\"Node\", \"Instruction\"],\n CallIndirectInstruction: [\"Node\", \"Instruction\"],\n ByteArray: [\"Node\"],\n Func: [\"Node\", \"Block\"],\n InternalBrUnless: [\"Node\", \"Intrinsic\"],\n InternalGoto: [\"Node\", \"Intrinsic\"],\n InternalCallExtern: [\"Node\", \"Intrinsic\"],\n InternalEndAndReturn: [\"Node\", \"Intrinsic\"]\n};\nvar nodeAndUnionTypes = [\"Module\", \"ModuleMetadata\", \"ModuleNameMetadata\", \"FunctionNameMetadata\", \"LocalNameMetadata\", \"BinaryModule\", \"QuoteModule\", \"SectionMetadata\", \"ProducersSectionMetadata\", \"ProducerMetadata\", \"ProducerMetadataVersionedName\", \"LoopInstruction\", \"Instr\", \"IfInstruction\", \"StringLiteral\", \"NumberLiteral\", \"LongNumberLiteral\", \"FloatLiteral\", \"Elem\", \"IndexInFuncSection\", \"ValtypeLiteral\", \"TypeInstruction\", \"Start\", \"GlobalType\", \"LeadingComment\", \"BlockComment\", \"Data\", \"Global\", \"Table\", \"Memory\", \"FuncImportDescr\", \"ModuleImport\", \"ModuleExportDescr\", \"ModuleExport\", \"Limit\", \"Signature\", \"Program\", \"Identifier\", \"BlockInstruction\", \"CallInstruction\", \"CallIndirectInstruction\", \"ByteArray\", \"Func\", \"InternalBrUnless\", \"InternalGoto\", \"InternalCallExtern\", \"InternalEndAndReturn\", \"Node\", \"Block\", \"Instruction\", \"Expression\", \"NumericLiteral\", \"ImportDescr\", \"Intrinsic\"];\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/nodes.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/signatures.js": /*!***********************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/signatures.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"signatures\": () => (/* binding */ signatures)\n/* harmony export */ });\nfunction sign(input, output) {\n return [input, output];\n}\n\nvar u32 = \"u32\";\nvar i32 = \"i32\";\nvar i64 = \"i64\";\nvar f32 = \"f32\";\nvar f64 = \"f64\";\n\nvar vector = function vector(t) {\n var vecType = [t]; // $FlowIgnore\n\n vecType.vector = true;\n return vecType;\n};\n\nvar controlInstructions = {\n unreachable: sign([], []),\n nop: sign([], []),\n // block ?\n // loop ?\n // if ?\n // if else ?\n br: sign([u32], []),\n br_if: sign([u32], []),\n br_table: sign(vector(u32), []),\n return: sign([], []),\n call: sign([u32], []),\n call_indirect: sign([u32], [])\n};\nvar parametricInstructions = {\n drop: sign([], []),\n select: sign([], [])\n};\nvar variableInstructions = {\n get_local: sign([u32], []),\n set_local: sign([u32], []),\n tee_local: sign([u32], []),\n get_global: sign([u32], []),\n set_global: sign([u32], [])\n};\nvar memoryInstructions = {\n \"i32.load\": sign([u32, u32], [i32]),\n \"i64.load\": sign([u32, u32], []),\n \"f32.load\": sign([u32, u32], []),\n \"f64.load\": sign([u32, u32], []),\n \"i32.load8_s\": sign([u32, u32], [i32]),\n \"i32.load8_u\": sign([u32, u32], [i32]),\n \"i32.load16_s\": sign([u32, u32], [i32]),\n \"i32.load16_u\": sign([u32, u32], [i32]),\n \"i64.load8_s\": sign([u32, u32], [i64]),\n \"i64.load8_u\": sign([u32, u32], [i64]),\n \"i64.load16_s\": sign([u32, u32], [i64]),\n \"i64.load16_u\": sign([u32, u32], [i64]),\n \"i64.load32_s\": sign([u32, u32], [i64]),\n \"i64.load32_u\": sign([u32, u32], [i64]),\n \"i32.store\": sign([u32, u32], []),\n \"i64.store\": sign([u32, u32], []),\n \"f32.store\": sign([u32, u32], []),\n \"f64.store\": sign([u32, u32], []),\n \"i32.store8\": sign([u32, u32], []),\n \"i32.store16\": sign([u32, u32], []),\n \"i64.store8\": sign([u32, u32], []),\n \"i64.store16\": sign([u32, u32], []),\n \"i64.store32\": sign([u32, u32], []),\n current_memory: sign([], []),\n grow_memory: sign([], [])\n};\nvar numericInstructions = {\n \"i32.const\": sign([i32], [i32]),\n \"i64.const\": sign([i64], [i64]),\n \"f32.const\": sign([f32], [f32]),\n \"f64.const\": sign([f64], [f64]),\n \"i32.eqz\": sign([i32], [i32]),\n \"i32.eq\": sign([i32, i32], [i32]),\n \"i32.ne\": sign([i32, i32], [i32]),\n \"i32.lt_s\": sign([i32, i32], [i32]),\n \"i32.lt_u\": sign([i32, i32], [i32]),\n \"i32.gt_s\": sign([i32, i32], [i32]),\n \"i32.gt_u\": sign([i32, i32], [i32]),\n \"i32.le_s\": sign([i32, i32], [i32]),\n \"i32.le_u\": sign([i32, i32], [i32]),\n \"i32.ge_s\": sign([i32, i32], [i32]),\n \"i32.ge_u\": sign([i32, i32], [i32]),\n \"i64.eqz\": sign([i64], [i64]),\n \"i64.eq\": sign([i64, i64], [i32]),\n \"i64.ne\": sign([i64, i64], [i32]),\n \"i64.lt_s\": sign([i64, i64], [i32]),\n \"i64.lt_u\": sign([i64, i64], [i32]),\n \"i64.gt_s\": sign([i64, i64], [i32]),\n \"i64.gt_u\": sign([i64, i64], [i32]),\n \"i64.le_s\": sign([i64, i64], [i32]),\n \"i64.le_u\": sign([i64, i64], [i32]),\n \"i64.ge_s\": sign([i64, i64], [i32]),\n \"i64.ge_u\": sign([i64, i64], [i32]),\n \"f32.eq\": sign([f32, f32], [i32]),\n \"f32.ne\": sign([f32, f32], [i32]),\n \"f32.lt\": sign([f32, f32], [i32]),\n \"f32.gt\": sign([f32, f32], [i32]),\n \"f32.le\": sign([f32, f32], [i32]),\n \"f32.ge\": sign([f32, f32], [i32]),\n \"f64.eq\": sign([f64, f64], [i32]),\n \"f64.ne\": sign([f64, f64], [i32]),\n \"f64.lt\": sign([f64, f64], [i32]),\n \"f64.gt\": sign([f64, f64], [i32]),\n \"f64.le\": sign([f64, f64], [i32]),\n \"f64.ge\": sign([f64, f64], [i32]),\n \"i32.clz\": sign([i32], [i32]),\n \"i32.ctz\": sign([i32], [i32]),\n \"i32.popcnt\": sign([i32], [i32]),\n \"i32.add\": sign([i32, i32], [i32]),\n \"i32.sub\": sign([i32, i32], [i32]),\n \"i32.mul\": sign([i32, i32], [i32]),\n \"i32.div_s\": sign([i32, i32], [i32]),\n \"i32.div_u\": sign([i32, i32], [i32]),\n \"i32.rem_s\": sign([i32, i32], [i32]),\n \"i32.rem_u\": sign([i32, i32], [i32]),\n \"i32.and\": sign([i32, i32], [i32]),\n \"i32.or\": sign([i32, i32], [i32]),\n \"i32.xor\": sign([i32, i32], [i32]),\n \"i32.shl\": sign([i32, i32], [i32]),\n \"i32.shr_s\": sign([i32, i32], [i32]),\n \"i32.shr_u\": sign([i32, i32], [i32]),\n \"i32.rotl\": sign([i32, i32], [i32]),\n \"i32.rotr\": sign([i32, i32], [i32]),\n \"i64.clz\": sign([i64], [i64]),\n \"i64.ctz\": sign([i64], [i64]),\n \"i64.popcnt\": sign([i64], [i64]),\n \"i64.add\": sign([i64, i64], [i64]),\n \"i64.sub\": sign([i64, i64], [i64]),\n \"i64.mul\": sign([i64, i64], [i64]),\n \"i64.div_s\": sign([i64, i64], [i64]),\n \"i64.div_u\": sign([i64, i64], [i64]),\n \"i64.rem_s\": sign([i64, i64], [i64]),\n \"i64.rem_u\": sign([i64, i64], [i64]),\n \"i64.and\": sign([i64, i64], [i64]),\n \"i64.or\": sign([i64, i64], [i64]),\n \"i64.xor\": sign([i64, i64], [i64]),\n \"i64.shl\": sign([i64, i64], [i64]),\n \"i64.shr_s\": sign([i64, i64], [i64]),\n \"i64.shr_u\": sign([i64, i64], [i64]),\n \"i64.rotl\": sign([i64, i64], [i64]),\n \"i64.rotr\": sign([i64, i64], [i64]),\n \"f32.abs\": sign([f32], [f32]),\n \"f32.neg\": sign([f32], [f32]),\n \"f32.ceil\": sign([f32], [f32]),\n \"f32.floor\": sign([f32], [f32]),\n \"f32.trunc\": sign([f32], [f32]),\n \"f32.nearest\": sign([f32], [f32]),\n \"f32.sqrt\": sign([f32], [f32]),\n \"f32.add\": sign([f32, f32], [f32]),\n \"f32.sub\": sign([f32, f32], [f32]),\n \"f32.mul\": sign([f32, f32], [f32]),\n \"f32.div\": sign([f32, f32], [f32]),\n \"f32.min\": sign([f32, f32], [f32]),\n \"f32.max\": sign([f32, f32], [f32]),\n \"f32.copysign\": sign([f32, f32], [f32]),\n \"f64.abs\": sign([f64], [f64]),\n \"f64.neg\": sign([f64], [f64]),\n \"f64.ceil\": sign([f64], [f64]),\n \"f64.floor\": sign([f64], [f64]),\n \"f64.trunc\": sign([f64], [f64]),\n \"f64.nearest\": sign([f64], [f64]),\n \"f64.sqrt\": sign([f64], [f64]),\n \"f64.add\": sign([f64, f64], [f64]),\n \"f64.sub\": sign([f64, f64], [f64]),\n \"f64.mul\": sign([f64, f64], [f64]),\n \"f64.div\": sign([f64, f64], [f64]),\n \"f64.min\": sign([f64, f64], [f64]),\n \"f64.max\": sign([f64, f64], [f64]),\n \"f64.copysign\": sign([f64, f64], [f64]),\n \"i32.wrap/i64\": sign([i64], [i32]),\n \"i32.trunc_s/f32\": sign([f32], [i32]),\n \"i32.trunc_u/f32\": sign([f32], [i32]),\n \"i32.trunc_s/f64\": sign([f32], [i32]),\n \"i32.trunc_u/f64\": sign([f64], [i32]),\n \"i64.extend_s/i32\": sign([i32], [i64]),\n \"i64.extend_u/i32\": sign([i32], [i64]),\n \"i64.trunc_s/f32\": sign([f32], [i64]),\n \"i64.trunc_u/f32\": sign([f32], [i64]),\n \"i64.trunc_s/f64\": sign([f64], [i64]),\n \"i64.trunc_u/f64\": sign([f64], [i64]),\n \"f32.convert_s/i32\": sign([i32], [f32]),\n \"f32.convert_u/i32\": sign([i32], [f32]),\n \"f32.convert_s/i64\": sign([i64], [f32]),\n \"f32.convert_u/i64\": sign([i64], [f32]),\n \"f32.demote/f64\": sign([f64], [f32]),\n \"f64.convert_s/i32\": sign([i32], [f64]),\n \"f64.convert_u/i32\": sign([i32], [f64]),\n \"f64.convert_s/i64\": sign([i64], [f64]),\n \"f64.convert_u/i64\": sign([i64], [f64]),\n \"f64.promote/f32\": sign([f32], [f64]),\n \"i32.reinterpret/f32\": sign([f32], [i32]),\n \"i64.reinterpret/f64\": sign([f64], [i64]),\n \"f32.reinterpret/i32\": sign([i32], [f32]),\n \"f64.reinterpret/i64\": sign([i64], [f64])\n};\nvar signatures = Object.assign({}, controlInstructions, parametricInstructions, variableInstructions, memoryInstructions, numericInstructions);\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/signatures.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js": /*!*********************************************************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js ***! \*********************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ModuleContext\": () => (/* binding */ ModuleContext),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* binding */ moduleContextFromModuleAST)\n/* harmony export */ });\n/* harmony import */ var _nodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../nodes.js */ \"./node_modules/@webassemblyjs/ast/esm/nodes.js\");\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n// TODO(sven): add flow in here\n\nfunction moduleContextFromModuleAST(m) {\n var moduleContext = new ModuleContext();\n\n if (!(m.type === \"Module\")) {\n throw new Error('m.type === \"Module\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n m.fields.forEach(function (field) {\n switch (field.type) {\n case \"Start\":\n {\n moduleContext.setStart(field.index);\n break;\n }\n\n case \"TypeInstruction\":\n {\n moduleContext.addType(field);\n break;\n }\n\n case \"Func\":\n {\n moduleContext.addFunction(field);\n break;\n }\n\n case \"Global\":\n {\n moduleContext.defineGlobal(field);\n break;\n }\n\n case \"ModuleImport\":\n {\n switch (field.descr.type) {\n case \"GlobalType\":\n {\n moduleContext.importGlobal(field.descr.valtype, field.descr.mutability);\n break;\n }\n\n case \"Memory\":\n {\n moduleContext.addMemory(field.descr.limits.min, field.descr.limits.max);\n break;\n }\n\n case \"FuncImportDescr\":\n {\n moduleContext.importFunction(field.descr);\n break;\n }\n\n case \"Table\":\n {\n // FIXME(sven): not implemented yet\n break;\n }\n\n default:\n throw new Error(\"Unsupported ModuleImport of type \" + JSON.stringify(field.descr.type));\n }\n\n break;\n }\n\n case \"Memory\":\n {\n moduleContext.addMemory(field.limits.min, field.limits.max);\n break;\n }\n }\n });\n return moduleContext;\n}\n/**\n * Module context for type checking\n */\n\nvar ModuleContext =\n/*#__PURE__*/\nfunction () {\n function ModuleContext() {\n _classCallCheck(this, ModuleContext);\n\n this.funcs = [];\n this.funcsOffsetByIdentifier = [];\n this.types = [];\n this.globals = [];\n this.globalsOffsetByIdentifier = [];\n this.mems = []; // Current stack frame\n\n this.locals = [];\n this.labels = [];\n this.return = [];\n this.debugName = \"unknown\";\n this.start = null;\n }\n /**\n * Set start segment\n */\n\n\n _createClass(ModuleContext, [{\n key: \"setStart\",\n value: function setStart(index) {\n this.start = index.value;\n }\n /**\n * Get start function\n */\n\n }, {\n key: \"getStart\",\n value: function getStart() {\n return this.start;\n }\n /**\n * Reset the active stack frame\n */\n\n }, {\n key: \"newContext\",\n value: function newContext(debugName, expectedResult) {\n this.locals = [];\n this.labels = [expectedResult];\n this.return = expectedResult;\n this.debugName = debugName;\n }\n /**\n * Functions\n */\n\n }, {\n key: \"addFunction\",\n value: function addFunction(func\n /*: Func*/\n ) {\n // eslint-disable-next-line prefer-const\n var _ref = func.signature || {},\n _ref$params = _ref.params,\n args = _ref$params === void 0 ? [] : _ref$params,\n _ref$results = _ref.results,\n result = _ref$results === void 0 ? [] : _ref$results;\n\n args = args.map(function (arg) {\n return arg.valtype;\n });\n this.funcs.push({\n args: args,\n result: result\n });\n\n if (typeof func.name !== \"undefined\") {\n this.funcsOffsetByIdentifier[func.name.value] = this.funcs.length - 1;\n }\n }\n }, {\n key: \"importFunction\",\n value: function importFunction(funcimport) {\n if ((0,_nodes_js__WEBPACK_IMPORTED_MODULE_0__.isSignature)(funcimport.signature)) {\n // eslint-disable-next-line prefer-const\n var _funcimport$signature = funcimport.signature,\n args = _funcimport$signature.params,\n result = _funcimport$signature.results;\n args = args.map(function (arg) {\n return arg.valtype;\n });\n this.funcs.push({\n args: args,\n result: result\n });\n } else {\n if (!(0,_nodes_js__WEBPACK_IMPORTED_MODULE_0__.isNumberLiteral)(funcimport.signature)) {\n throw new Error('isNumberLiteral(funcimport.signature)' + \" error: \" + ( false || \"unknown\"));\n }\n\n var typeId = funcimport.signature.value;\n\n if (!this.hasType(typeId)) {\n throw new Error('this.hasType(typeId)' + \" error: \" + ( false || \"unknown\"));\n }\n\n var signature = this.getType(typeId);\n this.funcs.push({\n args: signature.params.map(function (arg) {\n return arg.valtype;\n }),\n result: signature.results\n });\n }\n\n if (typeof funcimport.id !== \"undefined\") {\n // imports are first, we can assume their index in the array\n this.funcsOffsetByIdentifier[funcimport.id.value] = this.funcs.length - 1;\n }\n }\n }, {\n key: \"hasFunction\",\n value: function hasFunction(index) {\n return typeof this.getFunction(index) !== \"undefined\";\n }\n }, {\n key: \"getFunction\",\n value: function getFunction(index) {\n if (typeof index !== \"number\") {\n throw new Error(\"getFunction only supported for number index\");\n }\n\n return this.funcs[index];\n }\n }, {\n key: \"getFunctionOffsetByIdentifier\",\n value: function getFunctionOffsetByIdentifier(name) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n return this.funcsOffsetByIdentifier[name];\n }\n /**\n * Labels\n */\n\n }, {\n key: \"addLabel\",\n value: function addLabel(result) {\n this.labels.unshift(result);\n }\n }, {\n key: \"hasLabel\",\n value: function hasLabel(index) {\n return this.labels.length > index && index >= 0;\n }\n }, {\n key: \"getLabel\",\n value: function getLabel(index) {\n return this.labels[index];\n }\n }, {\n key: \"popLabel\",\n value: function popLabel() {\n this.labels.shift();\n }\n /**\n * Locals\n */\n\n }, {\n key: \"hasLocal\",\n value: function hasLocal(index) {\n return typeof this.getLocal(index) !== \"undefined\";\n }\n }, {\n key: \"getLocal\",\n value: function getLocal(index) {\n return this.locals[index];\n }\n }, {\n key: \"addLocal\",\n value: function addLocal(type) {\n this.locals.push(type);\n }\n /**\n * Types\n */\n\n }, {\n key: \"addType\",\n value: function addType(type) {\n if (!(type.functype.type === \"Signature\")) {\n throw new Error('type.functype.type === \"Signature\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n this.types.push(type.functype);\n }\n }, {\n key: \"hasType\",\n value: function hasType(index) {\n return this.types[index] !== undefined;\n }\n }, {\n key: \"getType\",\n value: function getType(index) {\n return this.types[index];\n }\n /**\n * Globals\n */\n\n }, {\n key: \"hasGlobal\",\n value: function hasGlobal(index) {\n return this.globals.length > index && index >= 0;\n }\n }, {\n key: \"getGlobal\",\n value: function getGlobal(index) {\n return this.globals[index].type;\n }\n }, {\n key: \"getGlobalOffsetByIdentifier\",\n value: function getGlobalOffsetByIdentifier(name) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n return this.globalsOffsetByIdentifier[name];\n }\n }, {\n key: \"defineGlobal\",\n value: function defineGlobal(global\n /*: Global*/\n ) {\n var type = global.globalType.valtype;\n var mutability = global.globalType.mutability;\n this.globals.push({\n type: type,\n mutability: mutability\n });\n\n if (typeof global.name !== \"undefined\") {\n this.globalsOffsetByIdentifier[global.name.value] = this.globals.length - 1;\n }\n }\n }, {\n key: \"importGlobal\",\n value: function importGlobal(type, mutability) {\n this.globals.push({\n type: type,\n mutability: mutability\n });\n }\n }, {\n key: \"isMutableGlobal\",\n value: function isMutableGlobal(index) {\n return this.globals[index].mutability === \"var\";\n }\n }, {\n key: \"isImmutableGlobal\",\n value: function isImmutableGlobal(index) {\n return this.globals[index].mutability === \"const\";\n }\n /**\n * Memories\n */\n\n }, {\n key: \"hasMemory\",\n value: function hasMemory(index) {\n return this.mems.length > index && index >= 0;\n }\n }, {\n key: \"addMemory\",\n value: function addMemory(min, max) {\n this.mems.push({\n min: min,\n max: max\n });\n }\n }, {\n key: \"getMemory\",\n value: function getMemory(index) {\n return this.mems[index];\n }\n }]);\n\n return ModuleContext;\n}();\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/traverse.js": /*!*********************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/traverse.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"traverse\": () => (/* binding */ traverse)\n/* harmony export */ });\n/* harmony import */ var _node_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node-path */ \"./node_modules/@webassemblyjs/ast/esm/node-path.js\");\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nodes */ \"./node_modules/@webassemblyjs/ast/esm/nodes.js\");\n\n // recursively walks the AST starting at the given node. The callback is invoked for\n// and object that has a 'type' property.\n\nfunction walk(context, callback) {\n var stop = false;\n\n function innerWalk(context, callback) {\n if (stop) {\n return;\n }\n\n var node = context.node;\n\n if (node === undefined) {\n console.warn(\"traversing with an empty context\");\n return;\n }\n\n if (node._deleted === true) {\n return;\n }\n\n var path = (0,_node_path__WEBPACK_IMPORTED_MODULE_0__.createPath)(context);\n callback(node.type, path);\n\n if (path.shouldStop) {\n stop = true;\n return;\n }\n\n Object.keys(node).forEach(function (prop) {\n var value = node[prop];\n\n if (value === null || value === undefined) {\n return;\n }\n\n var valueAsArray = Array.isArray(value) ? value : [value];\n valueAsArray.forEach(function (childNode) {\n if (typeof childNode.type === \"string\") {\n var childContext = {\n node: childNode,\n parentKey: prop,\n parentPath: path,\n shouldStop: false,\n inList: Array.isArray(value)\n };\n innerWalk(childContext, callback);\n }\n });\n });\n }\n\n innerWalk(context, callback);\n}\n\nvar noop = function noop() {};\n\nfunction traverse(node, visitors) {\n var before = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : noop;\n var after = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : noop;\n Object.keys(visitors).forEach(function (visitor) {\n if (!_nodes__WEBPACK_IMPORTED_MODULE_1__.nodeAndUnionTypes.includes(visitor)) {\n throw new Error(\"Unexpected visitor \".concat(visitor));\n }\n });\n var context = {\n node: node,\n inList: false,\n shouldStop: false,\n parentPath: null,\n parentKey: null\n };\n walk(context, function (type, path) {\n if (typeof visitors[type] === \"function\") {\n before(type, path);\n visitors[type](path);\n after(type, path);\n }\n\n var unionTypes = _nodes__WEBPACK_IMPORTED_MODULE_1__.unionTypesMap[type];\n\n if (!unionTypes) {\n throw new Error(\"Unexpected node type \".concat(type));\n }\n\n unionTypes.forEach(function (unionType) {\n if (typeof visitors[unionType] === \"function\") {\n before(unionType, path);\n visitors[unionType](path);\n after(unionType, path);\n }\n });\n });\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/traverse.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/esm/utils.js": /*!******************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/esm/utils.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertHasLoc\": () => (/* binding */ assertHasLoc),\n/* harmony export */ \"getEndBlockByteOffset\": () => (/* binding */ getEndBlockByteOffset),\n/* harmony export */ \"getEndByteOffset\": () => (/* binding */ getEndByteOffset),\n/* harmony export */ \"getEndOfSection\": () => (/* binding */ getEndOfSection),\n/* harmony export */ \"getFunctionBeginingByteOffset\": () => (/* binding */ getFunctionBeginingByteOffset),\n/* harmony export */ \"getSectionMetadata\": () => (/* binding */ getSectionMetadata),\n/* harmony export */ \"getSectionMetadatas\": () => (/* binding */ getSectionMetadatas),\n/* harmony export */ \"getStartBlockByteOffset\": () => (/* binding */ getStartBlockByteOffset),\n/* harmony export */ \"getStartByteOffset\": () => (/* binding */ getStartByteOffset),\n/* harmony export */ \"getUniqueNameGenerator\": () => (/* binding */ getUniqueNameGenerator),\n/* harmony export */ \"isAnonymous\": () => (/* binding */ isAnonymous),\n/* harmony export */ \"orderedInsertNode\": () => (/* binding */ orderedInsertNode),\n/* harmony export */ \"shiftLoc\": () => (/* binding */ shiftLoc),\n/* harmony export */ \"shiftSection\": () => (/* binding */ shiftSection),\n/* harmony export */ \"signatureForOpcode\": () => (/* binding */ signatureForOpcode),\n/* harmony export */ \"sortSectionMetadata\": () => (/* binding */ sortSectionMetadata)\n/* harmony export */ });\n/* harmony import */ var _signatures__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signatures */ \"./node_modules/@webassemblyjs/ast/esm/signatures.js\");\n/* harmony import */ var _traverse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./traverse */ \"./node_modules/@webassemblyjs/ast/esm/traverse.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\nfunction _sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return _sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n\n\nfunction isAnonymous(ident) {\n return ident.raw === \"\";\n}\nfunction getSectionMetadata(ast, name) {\n var section;\n (0,_traverse__WEBPACK_IMPORTED_MODULE_1__.traverse)(ast, {\n SectionMetadata: function (_SectionMetadata) {\n function SectionMetadata(_x) {\n return _SectionMetadata.apply(this, arguments);\n }\n\n SectionMetadata.toString = function () {\n return _SectionMetadata.toString();\n };\n\n return SectionMetadata;\n }(function (_ref) {\n var node = _ref.node;\n\n if (node.section === name) {\n section = node;\n }\n })\n });\n return section;\n}\nfunction getSectionMetadatas(ast, name) {\n var sections = [];\n (0,_traverse__WEBPACK_IMPORTED_MODULE_1__.traverse)(ast, {\n SectionMetadata: function (_SectionMetadata2) {\n function SectionMetadata(_x2) {\n return _SectionMetadata2.apply(this, arguments);\n }\n\n SectionMetadata.toString = function () {\n return _SectionMetadata2.toString();\n };\n\n return SectionMetadata;\n }(function (_ref2) {\n var node = _ref2.node;\n\n if (node.section === name) {\n sections.push(node);\n }\n })\n });\n return sections;\n}\nfunction sortSectionMetadata(m) {\n if (m.metadata == null) {\n console.warn(\"sortSectionMetadata: no metadata to sort\");\n return;\n } // $FlowIgnore\n\n\n m.metadata.sections.sort(function (a, b) {\n var aId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__[\"default\"].sections[a.section];\n var bId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__[\"default\"].sections[b.section];\n\n if (typeof aId !== \"number\" || typeof bId !== \"number\") {\n throw new Error(\"Section id not found\");\n }\n\n return aId - bId;\n });\n}\nfunction orderedInsertNode(m, n) {\n assertHasLoc(n);\n var didInsert = false;\n\n if (n.type === \"ModuleExport\") {\n m.fields.push(n);\n return;\n }\n\n m.fields = m.fields.reduce(function (acc, field) {\n var fieldEndCol = Infinity;\n\n if (field.loc != null) {\n // $FlowIgnore\n fieldEndCol = field.loc.end.column;\n } // $FlowIgnore: assertHasLoc ensures that\n\n\n if (didInsert === false && n.loc.start.column < fieldEndCol) {\n didInsert = true;\n acc.push(n);\n }\n\n acc.push(field);\n return acc;\n }, []); // Handles empty modules or n is the last element\n\n if (didInsert === false) {\n m.fields.push(n);\n }\n}\nfunction assertHasLoc(n) {\n if (n.loc == null || n.loc.start == null || n.loc.end == null) {\n throw new Error(\"Internal failure: node (\".concat(JSON.stringify(n.type), \") has no location information\"));\n }\n}\nfunction getEndOfSection(s) {\n assertHasLoc(s.size);\n return s.startOffset + s.size.value + ( // $FlowIgnore\n s.size.loc.end.column - s.size.loc.start.column);\n}\nfunction shiftLoc(node, delta) {\n // $FlowIgnore\n node.loc.start.column += delta; // $FlowIgnore\n\n node.loc.end.column += delta;\n}\nfunction shiftSection(ast, node, delta) {\n if (node.type !== \"SectionMetadata\") {\n throw new Error(\"Can not shift node \" + JSON.stringify(node.type));\n }\n\n node.startOffset += delta;\n\n if (_typeof(node.size.loc) === \"object\") {\n shiftLoc(node.size, delta);\n } // Custom sections doesn't have vectorOfSize\n\n\n if (_typeof(node.vectorOfSize) === \"object\" && _typeof(node.vectorOfSize.loc) === \"object\") {\n shiftLoc(node.vectorOfSize, delta);\n }\n\n var sectionName = node.section; // shift node locations within that section\n\n (0,_traverse__WEBPACK_IMPORTED_MODULE_1__.traverse)(ast, {\n Node: function Node(_ref3) {\n var node = _ref3.node;\n var section = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__.getSectionForNode)(node);\n\n if (section === sectionName && _typeof(node.loc) === \"object\") {\n shiftLoc(node, delta);\n }\n }\n });\n}\nfunction signatureForOpcode(object, name) {\n var opcodeName = name;\n\n if (object !== undefined && object !== \"\") {\n opcodeName = object + \".\" + name;\n }\n\n var sign = _signatures__WEBPACK_IMPORTED_MODULE_0__.signatures[opcodeName];\n\n if (sign == undefined) {\n // TODO: Uncomment this when br_table and others has been done\n //throw new Error(\"Invalid opcode: \"+opcodeName);\n return [object, object];\n }\n\n return sign[0];\n}\nfunction getUniqueNameGenerator() {\n var inc = {};\n return function () {\n var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"temp\";\n\n if (!(prefix in inc)) {\n inc[prefix] = 0;\n } else {\n inc[prefix] = inc[prefix] + 1;\n }\n\n return prefix + \"_\" + inc[prefix];\n };\n}\nfunction getStartByteOffset(n) {\n // $FlowIgnore\n if (typeof n.loc === \"undefined\" || typeof n.loc.start === \"undefined\") {\n throw new Error( // $FlowIgnore\n \"Can not get byte offset without loc informations, node: \" + String(n.id));\n }\n\n return n.loc.start.column;\n}\nfunction getEndByteOffset(n) {\n // $FlowIgnore\n if (typeof n.loc === \"undefined\" || typeof n.loc.end === \"undefined\") {\n throw new Error(\"Can not get byte offset without loc informations, node: \" + n.type);\n }\n\n return n.loc.end.column;\n}\nfunction getFunctionBeginingByteOffset(n) {\n if (!(n.body.length > 0)) {\n throw new Error('n.body.length > 0' + \" error: \" + ( false || \"unknown\"));\n }\n\n var _n$body = _slicedToArray(n.body, 1),\n firstInstruction = _n$body[0];\n\n return getStartByteOffset(firstInstruction);\n}\nfunction getEndBlockByteOffset(n) {\n // $FlowIgnore\n if (!(n.instr.length > 0 || n.body.length > 0)) {\n throw new Error('n.instr.length > 0 || n.body.length > 0' + \" error: \" + ( false || \"unknown\"));\n }\n\n var lastInstruction;\n\n if (n.instr) {\n // $FlowIgnore\n lastInstruction = n.instr[n.instr.length - 1];\n }\n\n if (n.body) {\n // $FlowIgnore\n lastInstruction = n.body[n.body.length - 1];\n }\n\n if (!(_typeof(lastInstruction) === \"object\")) {\n throw new Error('typeof lastInstruction === \"object\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n // $FlowIgnore\n return getStartByteOffset(lastInstruction);\n}\nfunction getStartBlockByteOffset(n) {\n // $FlowIgnore\n if (!(n.instr.length > 0 || n.body.length > 0)) {\n throw new Error('n.instr.length > 0 || n.body.length > 0' + \" error: \" + ( false || \"unknown\"));\n }\n\n var fistInstruction;\n\n if (n.instr) {\n // $FlowIgnore\n var _n$instr = _slicedToArray(n.instr, 1);\n\n fistInstruction = _n$instr[0];\n }\n\n if (n.body) {\n // $FlowIgnore\n var _n$body2 = _slicedToArray(n.body, 1);\n\n fistInstruction = _n$body2[0];\n }\n\n if (!(_typeof(fistInstruction) === \"object\")) {\n throw new Error('typeof fistInstruction === \"object\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n // $FlowIgnore\n return getStartByteOffset(fistInstruction);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/esm/utils.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ast/lib/clone.js": /*!******************************************************!*\ !*** ./node_modules/@webassemblyjs/ast/lib/clone.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.cloneNode = cloneNode;\n\nfunction cloneNode(n) {\n return Object.assign({}, n);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ast/lib/clone.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js": /*!****************************************************************************!*\ !*** ./node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js ***! \****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ parse)\n/* harmony export */ });\nfunction parse(input) {\n input = input.toUpperCase();\n var splitIndex = input.indexOf(\"P\");\n var mantissa, exponent;\n\n if (splitIndex !== -1) {\n mantissa = input.substring(0, splitIndex);\n exponent = parseInt(input.substring(splitIndex + 1));\n } else {\n mantissa = input;\n exponent = 0;\n }\n\n var dotIndex = mantissa.indexOf(\".\");\n\n if (dotIndex !== -1) {\n var integerPart = parseInt(mantissa.substring(0, dotIndex), 16);\n var sign = Math.sign(integerPart);\n integerPart = sign * integerPart;\n var fractionLength = mantissa.length - dotIndex - 1;\n var fractionalPart = parseInt(mantissa.substring(dotIndex + 1), 16);\n var fraction = fractionLength > 0 ? fractionalPart / Math.pow(16, fractionLength) : 0;\n\n if (sign === 0) {\n if (fraction === 0) {\n mantissa = sign;\n } else {\n if (Object.is(sign, -0)) {\n mantissa = -fraction;\n } else {\n mantissa = fraction;\n }\n }\n } else {\n mantissa = sign * (integerPart + fraction);\n }\n } else {\n mantissa = parseInt(mantissa, 16);\n }\n\n return mantissa * (splitIndex !== -1 ? Math.pow(2, exponent) : 1);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-api-error/esm/index.js": /*!*******************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-api-error/esm/index.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"CompileError\": () => (/* binding */ CompileError),\n/* harmony export */ \"LinkError\": () => (/* binding */ LinkError),\n/* harmony export */ \"RuntimeError\": () => (/* binding */ RuntimeError)\n/* harmony export */ });\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar RuntimeError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(RuntimeError, _Error);\n\n function RuntimeError() {\n _classCallCheck(this, RuntimeError);\n\n return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments));\n }\n\n return RuntimeError;\n}(Error);\nvar CompileError =\n/*#__PURE__*/\nfunction (_Error2) {\n _inherits(CompileError, _Error2);\n\n function CompileError() {\n _classCallCheck(this, CompileError);\n\n return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments));\n }\n\n return CompileError;\n}(Error);\nvar LinkError =\n/*#__PURE__*/\nfunction (_Error3) {\n _inherits(LinkError, _Error3);\n\n function LinkError() {\n _classCallCheck(this, LinkError);\n\n return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments));\n }\n\n return LinkError;\n}(Error);\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-api-error/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-buffer/esm/index.js": /*!****************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-buffer/esm/index.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"fromHexdump\": () => (/* binding */ fromHexdump),\n/* harmony export */ \"makeBuffer\": () => (/* binding */ makeBuffer),\n/* harmony export */ \"overrideBytesInBuffer\": () => (/* binding */ overrideBytesInBuffer)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction concatUint8Arrays() {\n for (var _len = arguments.length, arrays = new Array(_len), _key = 0; _key < _len; _key++) {\n arrays[_key] = arguments[_key];\n }\n\n var totalLength = arrays.reduce(function (a, b) {\n return a + b.length;\n }, 0);\n var result = new Uint8Array(totalLength);\n var offset = 0;\n\n for (var _i = 0; _i < arrays.length; _i++) {\n var arr = arrays[_i];\n\n if (arr instanceof Uint8Array === false) {\n throw new Error(\"arr must be of type Uint8Array\");\n }\n\n result.set(arr, offset);\n offset += arr.length;\n }\n\n return result;\n}\n\nfunction overrideBytesInBuffer(buffer, startLoc, endLoc, newBytes) {\n var beforeBytes = buffer.slice(0, startLoc);\n var afterBytes = buffer.slice(endLoc, buffer.length); // replacement is empty, we can omit it\n\n if (newBytes.length === 0) {\n return concatUint8Arrays(beforeBytes, afterBytes);\n }\n\n var replacement = Uint8Array.from(newBytes);\n return concatUint8Arrays(beforeBytes, replacement, afterBytes);\n}\nfunction makeBuffer() {\n for (var _len2 = arguments.length, splitedBytes = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n splitedBytes[_key2] = arguments[_key2];\n }\n\n var bytes = [].concat.apply([], splitedBytes);\n return new Uint8Array(bytes).buffer;\n}\nfunction fromHexdump(str) {\n var lines = str.split(\"\\n\"); // remove any leading left whitespace\n\n lines = lines.map(function (line) {\n return line.trim();\n });\n var bytes = lines.reduce(function (acc, line) {\n var cols = line.split(\" \"); // remove the offset, left column\n\n cols.shift();\n cols = cols.filter(function (x) {\n return x !== \"\";\n });\n var bytes = cols.map(function (x) {\n return parseInt(x, 16);\n });\n acc.push.apply(acc, _toConsumableArray(bytes));\n return acc;\n }, []);\n return Buffer.from(bytes);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-buffer/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-numbers/esm/index.js": /*!*****************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-numbers/esm/index.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"isInfLiteral\": () => (/* binding */ isInfLiteral),\n/* harmony export */ \"isNanLiteral\": () => (/* binding */ isNanLiteral),\n/* harmony export */ \"parse32F\": () => (/* binding */ parse32F),\n/* harmony export */ \"parse32I\": () => (/* binding */ parse32I),\n/* harmony export */ \"parse64F\": () => (/* binding */ parse64F),\n/* harmony export */ \"parse64I\": () => (/* binding */ parse64I),\n/* harmony export */ \"parseU32\": () => (/* binding */ parseU32)\n/* harmony export */ });\n/* harmony import */ var _xtuc_long__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @xtuc/long */ \"./node_modules/@xtuc/long/src/long.js\");\n/* harmony import */ var _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_xtuc_long__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _webassemblyjs_floating_point_hex_parser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/floating-point-hex-parser */ \"./node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/helper-api-error */ \"./node_modules/@webassemblyjs/helper-api-error/esm/index.js\");\n\n\n\nfunction parse32F(sourceString) {\n if (isHexLiteral(sourceString)) {\n return (0,_webassemblyjs_floating_point_hex_parser__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(sourceString);\n }\n\n if (isInfLiteral(sourceString)) {\n return sourceString[0] === \"-\" ? -1 : 1;\n }\n\n if (isNanLiteral(sourceString)) {\n return (sourceString[0] === \"-\" ? -1 : 1) * (sourceString.includes(\":\") ? parseInt(sourceString.substring(sourceString.indexOf(\":\") + 1), 16) : 0x400000);\n }\n\n return parseFloat(sourceString);\n}\nfunction parse64F(sourceString) {\n if (isHexLiteral(sourceString)) {\n return (0,_webassemblyjs_floating_point_hex_parser__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(sourceString);\n }\n\n if (isInfLiteral(sourceString)) {\n return sourceString[0] === \"-\" ? -1 : 1;\n }\n\n if (isNanLiteral(sourceString)) {\n return (sourceString[0] === \"-\" ? -1 : 1) * (sourceString.includes(\":\") ? parseInt(sourceString.substring(sourceString.indexOf(\":\") + 1), 16) : 0x8000000000000);\n }\n\n if (isHexLiteral(sourceString)) {\n return (0,_webassemblyjs_floating_point_hex_parser__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(sourceString);\n }\n\n return parseFloat(sourceString);\n}\nfunction parse32I(sourceString) {\n var value = 0;\n\n if (isHexLiteral(sourceString)) {\n value = ~~parseInt(sourceString, 16);\n } else if (isDecimalExponentLiteral(sourceString)) {\n throw new Error(\"This number literal format is yet to be implemented.\");\n } else {\n value = parseInt(sourceString, 10);\n }\n\n return value;\n}\nfunction parseU32(sourceString) {\n var value = parse32I(sourceString);\n\n if (value < 0) {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_2__.CompileError(\"Illegal value for u32: \" + sourceString);\n }\n\n return value;\n}\nfunction parse64I(sourceString) {\n var long;\n\n if (isHexLiteral(sourceString)) {\n long = _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default().fromString(sourceString, false, 16);\n } else if (isDecimalExponentLiteral(sourceString)) {\n throw new Error(\"This number literal format is yet to be implemented.\");\n } else {\n long = _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default().fromString(sourceString);\n }\n\n return {\n high: long.high,\n low: long.low\n };\n}\nvar NAN_WORD = /^\\+?-?nan/;\nvar INF_WORD = /^\\+?-?inf/;\nfunction isInfLiteral(sourceString) {\n return INF_WORD.test(sourceString.toLowerCase());\n}\nfunction isNanLiteral(sourceString) {\n return NAN_WORD.test(sourceString.toLowerCase());\n}\n\nfunction isDecimalExponentLiteral(sourceString) {\n return !isHexLiteral(sourceString) && sourceString.toUpperCase().includes(\"E\");\n}\n\nfunction isHexLiteral(sourceString) {\n return sourceString.substring(0, 2).toUpperCase() === \"0X\" || sourceString.substring(0, 3).toUpperCase() === \"-0X\";\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-numbers/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js": /*!***********************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ \"getSectionForNode\": () => (/* reexport safe */ _section__WEBPACK_IMPORTED_MODULE_0__.getSectionForNode)\n/* harmony export */ });\n/* harmony import */ var _section__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./section */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js\");\nvar illegalop = \"illegal\";\nvar magicModuleHeader = [0x00, 0x61, 0x73, 0x6d];\nvar moduleVersion = [0x01, 0x00, 0x00, 0x00];\n\nfunction invertMap(obj) {\n var keyModifierFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (k) {\n return k;\n };\n var result = {};\n var keys = Object.keys(obj);\n\n for (var i = 0, length = keys.length; i < length; i++) {\n result[keyModifierFn(obj[keys[i]])] = keys[i];\n }\n\n return result;\n}\n\nfunction createSymbolObject(name\n/*: string */\n, object\n/*: string */\n)\n/*: Symbol*/\n{\n var numberOfArgs\n /*: number*/\n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n return {\n name: name,\n object: object,\n numberOfArgs: numberOfArgs\n };\n}\n\nfunction createSymbol(name\n/*: string */\n)\n/*: Symbol*/\n{\n var numberOfArgs\n /*: number*/\n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return {\n name: name,\n numberOfArgs: numberOfArgs\n };\n}\n\nvar types = {\n func: 0x60,\n result: 0x40\n};\nvar exportTypes = {\n 0x00: \"Func\",\n 0x01: \"Table\",\n 0x02: \"Mem\",\n 0x03: \"Global\"\n};\nvar exportTypesByName = invertMap(exportTypes);\nvar valtypes = {\n 0x7f: \"i32\",\n 0x7e: \"i64\",\n 0x7d: \"f32\",\n 0x7c: \"f64\",\n 0x7b: \"v128\"\n};\nvar valtypesByString = invertMap(valtypes);\nvar tableTypes = {\n 0x70: \"anyfunc\"\n};\nvar blockTypes = Object.assign({}, valtypes, {\n // https://webassembly.github.io/spec/core/binary/types.html#binary-blocktype\n 0x40: null,\n // https://webassembly.github.io/spec/core/binary/types.html#binary-valtype\n 0x7f: \"i32\",\n 0x7e: \"i64\",\n 0x7d: \"f32\",\n 0x7c: \"f64\"\n});\nvar globalTypes = {\n 0x00: \"const\",\n 0x01: \"var\"\n};\nvar globalTypesByString = invertMap(globalTypes);\nvar importTypes = {\n 0x00: \"func\",\n 0x01: \"table\",\n 0x02: \"mem\",\n 0x03: \"global\"\n};\nvar sections = {\n custom: 0,\n type: 1,\n import: 2,\n func: 3,\n table: 4,\n memory: 5,\n global: 6,\n export: 7,\n start: 8,\n element: 9,\n code: 10,\n data: 11\n};\nvar symbolsByByte = {\n 0x00: createSymbol(\"unreachable\"),\n 0x01: createSymbol(\"nop\"),\n 0x02: createSymbol(\"block\"),\n 0x03: createSymbol(\"loop\"),\n 0x04: createSymbol(\"if\"),\n 0x05: createSymbol(\"else\"),\n 0x06: illegalop,\n 0x07: illegalop,\n 0x08: illegalop,\n 0x09: illegalop,\n 0x0a: illegalop,\n 0x0b: createSymbol(\"end\"),\n 0x0c: createSymbol(\"br\", 1),\n 0x0d: createSymbol(\"br_if\", 1),\n 0x0e: createSymbol(\"br_table\"),\n 0x0f: createSymbol(\"return\"),\n 0x10: createSymbol(\"call\", 1),\n 0x11: createSymbol(\"call_indirect\", 2),\n 0x12: illegalop,\n 0x13: illegalop,\n 0x14: illegalop,\n 0x15: illegalop,\n 0x16: illegalop,\n 0x17: illegalop,\n 0x18: illegalop,\n 0x19: illegalop,\n 0x1a: createSymbol(\"drop\"),\n 0x1b: createSymbol(\"select\"),\n 0x1c: illegalop,\n 0x1d: illegalop,\n 0x1e: illegalop,\n 0x1f: illegalop,\n 0x20: createSymbol(\"get_local\", 1),\n 0x21: createSymbol(\"set_local\", 1),\n 0x22: createSymbol(\"tee_local\", 1),\n 0x23: createSymbol(\"get_global\", 1),\n 0x24: createSymbol(\"set_global\", 1),\n 0x25: illegalop,\n 0x26: illegalop,\n 0x27: illegalop,\n 0x28: createSymbolObject(\"load\", \"u32\", 1),\n 0x29: createSymbolObject(\"load\", \"u64\", 1),\n 0x2a: createSymbolObject(\"load\", \"f32\", 1),\n 0x2b: createSymbolObject(\"load\", \"f64\", 1),\n 0x2c: createSymbolObject(\"load8_s\", \"u32\", 1),\n 0x2d: createSymbolObject(\"load8_u\", \"u32\", 1),\n 0x2e: createSymbolObject(\"load16_s\", \"u32\", 1),\n 0x2f: createSymbolObject(\"load16_u\", \"u32\", 1),\n 0x30: createSymbolObject(\"load8_s\", \"u64\", 1),\n 0x31: createSymbolObject(\"load8_u\", \"u64\", 1),\n 0x32: createSymbolObject(\"load16_s\", \"u64\", 1),\n 0x33: createSymbolObject(\"load16_u\", \"u64\", 1),\n 0x34: createSymbolObject(\"load32_s\", \"u64\", 1),\n 0x35: createSymbolObject(\"load32_u\", \"u64\", 1),\n 0x36: createSymbolObject(\"store\", \"u32\", 1),\n 0x37: createSymbolObject(\"store\", \"u64\", 1),\n 0x38: createSymbolObject(\"store\", \"f32\", 1),\n 0x39: createSymbolObject(\"store\", \"f64\", 1),\n 0x3a: createSymbolObject(\"store8\", \"u32\", 1),\n 0x3b: createSymbolObject(\"store16\", \"u32\", 1),\n 0x3c: createSymbolObject(\"store8\", \"u64\", 1),\n 0x3d: createSymbolObject(\"store16\", \"u64\", 1),\n 0x3e: createSymbolObject(\"store32\", \"u64\", 1),\n 0x3f: createSymbolObject(\"current_memory\"),\n 0x40: createSymbolObject(\"grow_memory\"),\n 0x41: createSymbolObject(\"const\", \"i32\", 1),\n 0x42: createSymbolObject(\"const\", \"i64\", 1),\n 0x43: createSymbolObject(\"const\", \"f32\", 1),\n 0x44: createSymbolObject(\"const\", \"f64\", 1),\n 0x45: createSymbolObject(\"eqz\", \"i32\"),\n 0x46: createSymbolObject(\"eq\", \"i32\"),\n 0x47: createSymbolObject(\"ne\", \"i32\"),\n 0x48: createSymbolObject(\"lt_s\", \"i32\"),\n 0x49: createSymbolObject(\"lt_u\", \"i32\"),\n 0x4a: createSymbolObject(\"gt_s\", \"i32\"),\n 0x4b: createSymbolObject(\"gt_u\", \"i32\"),\n 0x4c: createSymbolObject(\"le_s\", \"i32\"),\n 0x4d: createSymbolObject(\"le_u\", \"i32\"),\n 0x4e: createSymbolObject(\"ge_s\", \"i32\"),\n 0x4f: createSymbolObject(\"ge_u\", \"i32\"),\n 0x50: createSymbolObject(\"eqz\", \"i64\"),\n 0x51: createSymbolObject(\"eq\", \"i64\"),\n 0x52: createSymbolObject(\"ne\", \"i64\"),\n 0x53: createSymbolObject(\"lt_s\", \"i64\"),\n 0x54: createSymbolObject(\"lt_u\", \"i64\"),\n 0x55: createSymbolObject(\"gt_s\", \"i64\"),\n 0x56: createSymbolObject(\"gt_u\", \"i64\"),\n 0x57: createSymbolObject(\"le_s\", \"i64\"),\n 0x58: createSymbolObject(\"le_u\", \"i64\"),\n 0x59: createSymbolObject(\"ge_s\", \"i64\"),\n 0x5a: createSymbolObject(\"ge_u\", \"i64\"),\n 0x5b: createSymbolObject(\"eq\", \"f32\"),\n 0x5c: createSymbolObject(\"ne\", \"f32\"),\n 0x5d: createSymbolObject(\"lt\", \"f32\"),\n 0x5e: createSymbolObject(\"gt\", \"f32\"),\n 0x5f: createSymbolObject(\"le\", \"f32\"),\n 0x60: createSymbolObject(\"ge\", \"f32\"),\n 0x61: createSymbolObject(\"eq\", \"f64\"),\n 0x62: createSymbolObject(\"ne\", \"f64\"),\n 0x63: createSymbolObject(\"lt\", \"f64\"),\n 0x64: createSymbolObject(\"gt\", \"f64\"),\n 0x65: createSymbolObject(\"le\", \"f64\"),\n 0x66: createSymbolObject(\"ge\", \"f64\"),\n 0x67: createSymbolObject(\"clz\", \"i32\"),\n 0x68: createSymbolObject(\"ctz\", \"i32\"),\n 0x69: createSymbolObject(\"popcnt\", \"i32\"),\n 0x6a: createSymbolObject(\"add\", \"i32\"),\n 0x6b: createSymbolObject(\"sub\", \"i32\"),\n 0x6c: createSymbolObject(\"mul\", \"i32\"),\n 0x6d: createSymbolObject(\"div_s\", \"i32\"),\n 0x6e: createSymbolObject(\"div_u\", \"i32\"),\n 0x6f: createSymbolObject(\"rem_s\", \"i32\"),\n 0x70: createSymbolObject(\"rem_u\", \"i32\"),\n 0x71: createSymbolObject(\"and\", \"i32\"),\n 0x72: createSymbolObject(\"or\", \"i32\"),\n 0x73: createSymbolObject(\"xor\", \"i32\"),\n 0x74: createSymbolObject(\"shl\", \"i32\"),\n 0x75: createSymbolObject(\"shr_s\", \"i32\"),\n 0x76: createSymbolObject(\"shr_u\", \"i32\"),\n 0x77: createSymbolObject(\"rotl\", \"i32\"),\n 0x78: createSymbolObject(\"rotr\", \"i32\"),\n 0x79: createSymbolObject(\"clz\", \"i64\"),\n 0x7a: createSymbolObject(\"ctz\", \"i64\"),\n 0x7b: createSymbolObject(\"popcnt\", \"i64\"),\n 0x7c: createSymbolObject(\"add\", \"i64\"),\n 0x7d: createSymbolObject(\"sub\", \"i64\"),\n 0x7e: createSymbolObject(\"mul\", \"i64\"),\n 0x7f: createSymbolObject(\"div_s\", \"i64\"),\n 0x80: createSymbolObject(\"div_u\", \"i64\"),\n 0x81: createSymbolObject(\"rem_s\", \"i64\"),\n 0x82: createSymbolObject(\"rem_u\", \"i64\"),\n 0x83: createSymbolObject(\"and\", \"i64\"),\n 0x84: createSymbolObject(\"or\", \"i64\"),\n 0x85: createSymbolObject(\"xor\", \"i64\"),\n 0x86: createSymbolObject(\"shl\", \"i64\"),\n 0x87: createSymbolObject(\"shr_s\", \"i64\"),\n 0x88: createSymbolObject(\"shr_u\", \"i64\"),\n 0x89: createSymbolObject(\"rotl\", \"i64\"),\n 0x8a: createSymbolObject(\"rotr\", \"i64\"),\n 0x8b: createSymbolObject(\"abs\", \"f32\"),\n 0x8c: createSymbolObject(\"neg\", \"f32\"),\n 0x8d: createSymbolObject(\"ceil\", \"f32\"),\n 0x8e: createSymbolObject(\"floor\", \"f32\"),\n 0x8f: createSymbolObject(\"trunc\", \"f32\"),\n 0x90: createSymbolObject(\"nearest\", \"f32\"),\n 0x91: createSymbolObject(\"sqrt\", \"f32\"),\n 0x92: createSymbolObject(\"add\", \"f32\"),\n 0x93: createSymbolObject(\"sub\", \"f32\"),\n 0x94: createSymbolObject(\"mul\", \"f32\"),\n 0x95: createSymbolObject(\"div\", \"f32\"),\n 0x96: createSymbolObject(\"min\", \"f32\"),\n 0x97: createSymbolObject(\"max\", \"f32\"),\n 0x98: createSymbolObject(\"copysign\", \"f32\"),\n 0x99: createSymbolObject(\"abs\", \"f64\"),\n 0x9a: createSymbolObject(\"neg\", \"f64\"),\n 0x9b: createSymbolObject(\"ceil\", \"f64\"),\n 0x9c: createSymbolObject(\"floor\", \"f64\"),\n 0x9d: createSymbolObject(\"trunc\", \"f64\"),\n 0x9e: createSymbolObject(\"nearest\", \"f64\"),\n 0x9f: createSymbolObject(\"sqrt\", \"f64\"),\n 0xa0: createSymbolObject(\"add\", \"f64\"),\n 0xa1: createSymbolObject(\"sub\", \"f64\"),\n 0xa2: createSymbolObject(\"mul\", \"f64\"),\n 0xa3: createSymbolObject(\"div\", \"f64\"),\n 0xa4: createSymbolObject(\"min\", \"f64\"),\n 0xa5: createSymbolObject(\"max\", \"f64\"),\n 0xa6: createSymbolObject(\"copysign\", \"f64\"),\n 0xa7: createSymbolObject(\"wrap/i64\", \"i32\"),\n 0xa8: createSymbolObject(\"trunc_s/f32\", \"i32\"),\n 0xa9: createSymbolObject(\"trunc_u/f32\", \"i32\"),\n 0xaa: createSymbolObject(\"trunc_s/f64\", \"i32\"),\n 0xab: createSymbolObject(\"trunc_u/f64\", \"i32\"),\n 0xac: createSymbolObject(\"extend_s/i32\", \"i64\"),\n 0xad: createSymbolObject(\"extend_u/i32\", \"i64\"),\n 0xae: createSymbolObject(\"trunc_s/f32\", \"i64\"),\n 0xaf: createSymbolObject(\"trunc_u/f32\", \"i64\"),\n 0xb0: createSymbolObject(\"trunc_s/f64\", \"i64\"),\n 0xb1: createSymbolObject(\"trunc_u/f64\", \"i64\"),\n 0xb2: createSymbolObject(\"convert_s/i32\", \"f32\"),\n 0xb3: createSymbolObject(\"convert_u/i32\", \"f32\"),\n 0xb4: createSymbolObject(\"convert_s/i64\", \"f32\"),\n 0xb5: createSymbolObject(\"convert_u/i64\", \"f32\"),\n 0xb6: createSymbolObject(\"demote/f64\", \"f32\"),\n 0xb7: createSymbolObject(\"convert_s/i32\", \"f64\"),\n 0xb8: createSymbolObject(\"convert_u/i32\", \"f64\"),\n 0xb9: createSymbolObject(\"convert_s/i64\", \"f64\"),\n 0xba: createSymbolObject(\"convert_u/i64\", \"f64\"),\n 0xbb: createSymbolObject(\"promote/f32\", \"f64\"),\n 0xbc: createSymbolObject(\"reinterpret/f32\", \"i32\"),\n 0xbd: createSymbolObject(\"reinterpret/f64\", \"i64\"),\n 0xbe: createSymbolObject(\"reinterpret/i32\", \"f32\"),\n 0xbf: createSymbolObject(\"reinterpret/i64\", \"f64\"),\n // Atomic Memory Instructions\n 0xfe00: createSymbol(\"memory.atomic.notify\", 1),\n 0xfe01: createSymbol(\"memory.atomic.wait32\", 1),\n 0xfe02: createSymbol(\"memory.atomic.wait64\", 1),\n 0xfe10: createSymbolObject(\"atomic.load\", \"i32\", 1),\n 0xfe11: createSymbolObject(\"atomic.load\", \"i64\", 1),\n 0xfe12: createSymbolObject(\"atomic.load8_u\", \"i32\", 1),\n 0xfe13: createSymbolObject(\"atomic.load16_u\", \"i32\", 1),\n 0xfe14: createSymbolObject(\"atomic.load8_u\", \"i64\", 1),\n 0xfe15: createSymbolObject(\"atomic.load16_u\", \"i64\", 1),\n 0xfe16: createSymbolObject(\"atomic.load32_u\", \"i64\", 1),\n 0xfe17: createSymbolObject(\"atomic.store\", \"i32\", 1),\n 0xfe18: createSymbolObject(\"atomic.store\", \"i64\", 1),\n 0xfe19: createSymbolObject(\"atomic.store8_u\", \"i32\", 1),\n 0xfe1a: createSymbolObject(\"atomic.store16_u\", \"i32\", 1),\n 0xfe1b: createSymbolObject(\"atomic.store8_u\", \"i64\", 1),\n 0xfe1c: createSymbolObject(\"atomic.store16_u\", \"i64\", 1),\n 0xfe1d: createSymbolObject(\"atomic.store32_u\", \"i64\", 1),\n 0xfe1e: createSymbolObject(\"atomic.rmw.add\", \"i32\", 1),\n 0xfe1f: createSymbolObject(\"atomic.rmw.add\", \"i64\", 1),\n 0xfe20: createSymbolObject(\"atomic.rmw8_u.add_u\", \"i32\", 1),\n 0xfe21: createSymbolObject(\"atomic.rmw16_u.add_u\", \"i32\", 1),\n 0xfe22: createSymbolObject(\"atomic.rmw8_u.add_u\", \"i64\", 1),\n 0xfe23: createSymbolObject(\"atomic.rmw16_u.add_u\", \"i64\", 1),\n 0xfe24: createSymbolObject(\"atomic.rmw32_u.add_u\", \"i64\", 1),\n 0xfe25: createSymbolObject(\"atomic.rmw.sub\", \"i32\", 1),\n 0xfe26: createSymbolObject(\"atomic.rmw.sub\", \"i64\", 1),\n 0xfe27: createSymbolObject(\"atomic.rmw8_u.sub_u\", \"i32\", 1),\n 0xfe28: createSymbolObject(\"atomic.rmw16_u.sub_u\", \"i32\", 1),\n 0xfe29: createSymbolObject(\"atomic.rmw8_u.sub_u\", \"i64\", 1),\n 0xfe2a: createSymbolObject(\"atomic.rmw16_u.sub_u\", \"i64\", 1),\n 0xfe2b: createSymbolObject(\"atomic.rmw32_u.sub_u\", \"i64\", 1),\n 0xfe2c: createSymbolObject(\"atomic.rmw.and\", \"i32\", 1),\n 0xfe2d: createSymbolObject(\"atomic.rmw.and\", \"i64\", 1),\n 0xfe2e: createSymbolObject(\"atomic.rmw8_u.and_u\", \"i32\", 1),\n 0xfe2f: createSymbolObject(\"atomic.rmw16_u.and_u\", \"i32\", 1),\n 0xfe30: createSymbolObject(\"atomic.rmw8_u.and_u\", \"i64\", 1),\n 0xfe31: createSymbolObject(\"atomic.rmw16_u.and_u\", \"i64\", 1),\n 0xfe32: createSymbolObject(\"atomic.rmw32_u.and_u\", \"i64\", 1),\n 0xfe33: createSymbolObject(\"atomic.rmw.or\", \"i32\", 1),\n 0xfe34: createSymbolObject(\"atomic.rmw.or\", \"i64\", 1),\n 0xfe35: createSymbolObject(\"atomic.rmw8_u.or_u\", \"i32\", 1),\n 0xfe36: createSymbolObject(\"atomic.rmw16_u.or_u\", \"i32\", 1),\n 0xfe37: createSymbolObject(\"atomic.rmw8_u.or_u\", \"i64\", 1),\n 0xfe38: createSymbolObject(\"atomic.rmw16_u.or_u\", \"i64\", 1),\n 0xfe39: createSymbolObject(\"atomic.rmw32_u.or_u\", \"i64\", 1),\n 0xfe3a: createSymbolObject(\"atomic.rmw.xor\", \"i32\", 1),\n 0xfe3b: createSymbolObject(\"atomic.rmw.xor\", \"i64\", 1),\n 0xfe3c: createSymbolObject(\"atomic.rmw8_u.xor_u\", \"i32\", 1),\n 0xfe3d: createSymbolObject(\"atomic.rmw16_u.xor_u\", \"i32\", 1),\n 0xfe3e: createSymbolObject(\"atomic.rmw8_u.xor_u\", \"i64\", 1),\n 0xfe3f: createSymbolObject(\"atomic.rmw16_u.xor_u\", \"i64\", 1),\n 0xfe40: createSymbolObject(\"atomic.rmw32_u.xor_u\", \"i64\", 1),\n 0xfe41: createSymbolObject(\"atomic.rmw.xchg\", \"i32\", 1),\n 0xfe42: createSymbolObject(\"atomic.rmw.xchg\", \"i64\", 1),\n 0xfe43: createSymbolObject(\"atomic.rmw8_u.xchg_u\", \"i32\", 1),\n 0xfe44: createSymbolObject(\"atomic.rmw16_u.xchg_u\", \"i32\", 1),\n 0xfe45: createSymbolObject(\"atomic.rmw8_u.xchg_u\", \"i64\", 1),\n 0xfe46: createSymbolObject(\"atomic.rmw16_u.xchg_u\", \"i64\", 1),\n 0xfe47: createSymbolObject(\"atomic.rmw32_u.xchg_u\", \"i64\", 1),\n 0xfe48: createSymbolObject(\"atomic.rmw.cmpxchg\", \"i32\", 1),\n 0xfe49: createSymbolObject(\"atomic.rmw.cmpxchg\", \"i64\", 1),\n 0xfe4a: createSymbolObject(\"atomic.rmw8_u.cmpxchg_u\", \"i32\", 1),\n 0xfe4b: createSymbolObject(\"atomic.rmw16_u.cmpxchg_u\", \"i32\", 1),\n 0xfe4c: createSymbolObject(\"atomic.rmw8_u.cmpxchg_u\", \"i64\", 1),\n 0xfe4d: createSymbolObject(\"atomic.rmw16_u.cmpxchg_u\", \"i64\", 1),\n 0xfe4e: createSymbolObject(\"atomic.rmw32_u.cmpxchg_u\", \"i64\", 1)\n};\nvar symbolsByName = invertMap(symbolsByByte, function (obj) {\n if (typeof obj.object === \"string\") {\n return \"\".concat(obj.object, \".\").concat(obj.name);\n }\n\n return obj.name;\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n symbolsByByte: symbolsByByte,\n sections: sections,\n magicModuleHeader: magicModuleHeader,\n moduleVersion: moduleVersion,\n types: types,\n valtypes: valtypes,\n exportTypes: exportTypes,\n blockTypes: blockTypes,\n tableTypes: tableTypes,\n globalTypes: globalTypes,\n importTypes: importTypes,\n valtypesByString: valtypesByString,\n globalTypesByString: globalTypesByString,\n exportTypesByName: exportTypesByName,\n symbolsByName: symbolsByName\n});\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js": /*!*************************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"getSectionForNode\": () => (/* binding */ getSectionForNode)\n/* harmony export */ });\nfunction getSectionForNode(n) {\n switch (n.type) {\n case \"ModuleImport\":\n return \"import\";\n\n case \"CallInstruction\":\n case \"CallIndirectInstruction\":\n case \"Func\":\n case \"Instr\":\n return \"code\";\n\n case \"ModuleExport\":\n return \"export\";\n\n case \"Start\":\n return \"start\";\n\n case \"TypeInstruction\":\n return \"type\";\n\n case \"IndexInFuncSection\":\n return \"func\";\n\n case \"Global\":\n return \"global\";\n // No section\n\n default:\n return;\n }\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-section/esm/create.js": /*!***********************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-section/esm/create.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"createEmptySection\": () => (/* binding */ createEmptySection)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/wasm-gen */ \"./node_modules/@webassemblyjs/wasm-gen/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/helper-buffer */ \"./node_modules/@webassemblyjs/helper-buffer/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n\n\n\nfunction findLastSection(ast, forSection) {\n var targetSectionId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__[\"default\"].sections[forSection]; // $FlowIgnore: metadata can not be empty\n\n var moduleSections = ast.body[0].metadata.sections;\n var lastSection;\n var lastId = 0;\n\n for (var i = 0, len = moduleSections.length; i < len; i++) {\n var section = moduleSections[i]; // Ignore custom section since they can actually occur everywhere\n\n if (section.section === \"custom\") {\n continue;\n }\n\n var sectionId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_2__[\"default\"].sections[section.section];\n\n if (targetSectionId > lastId && targetSectionId < sectionId) {\n return lastSection;\n }\n\n lastId = sectionId;\n lastSection = section;\n }\n\n return lastSection;\n}\n\nfunction createEmptySection(ast, uint8Buffer, section) {\n // previous section after which we are going to insert our section\n var lastSection = findLastSection(ast, section);\n var start, end;\n /**\n * It's the first section\n */\n\n if (lastSection == null || lastSection.section === \"custom\") {\n start = 8\n /* wasm header size */\n ;\n end = start;\n } else {\n start = lastSection.startOffset + lastSection.size.value + 1;\n end = start;\n } // section id\n\n\n start += 1;\n var sizeStartLoc = {\n line: -1,\n column: start\n };\n var sizeEndLoc = {\n line: -1,\n column: start + 1\n }; // 1 byte for the empty vector\n\n var size = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(1), sizeEndLoc, sizeStartLoc);\n var vectorOfSizeStartLoc = {\n line: -1,\n column: sizeEndLoc.column\n };\n var vectorOfSizeEndLoc = {\n line: -1,\n column: sizeEndLoc.column + 1\n };\n var vectorOfSize = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(0), vectorOfSizeEndLoc, vectorOfSizeStartLoc);\n var sectionMetadata = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(section, start, size, vectorOfSize);\n var sectionBytes = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeNode)(sectionMetadata);\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_1__.overrideBytesInBuffer)(uint8Buffer, start - 1, end, sectionBytes); // Add section into the AST for later lookups\n\n if (_typeof(ast.body[0].metadata) === \"object\") {\n // $FlowIgnore: metadata can not be empty\n ast.body[0].metadata.sections.push(sectionMetadata);\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sortSectionMetadata(ast.body[0]);\n }\n /**\n * Update AST\n */\n // Once we hit our section every that is after needs to be shifted by the delta\n\n\n var deltaBytes = +sectionBytes.length;\n var encounteredSection = false;\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.traverse(ast, {\n SectionMetadata: function SectionMetadata(path) {\n if (path.node.section === section) {\n encounteredSection = true;\n return;\n }\n\n if (encounteredSection === true) {\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.shiftSection(ast, path.node, deltaBytes);\n }\n }\n });\n return {\n uint8Buffer: uint8Buffer,\n sectionMetadata: sectionMetadata\n };\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-section/esm/create.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-section/esm/index.js": /*!**********************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-section/esm/index.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"createEmptySection\": () => (/* reexport safe */ _create__WEBPACK_IMPORTED_MODULE_1__.createEmptySection),\n/* harmony export */ \"removeSections\": () => (/* reexport safe */ _remove__WEBPACK_IMPORTED_MODULE_2__.removeSections),\n/* harmony export */ \"resizeSectionByteSize\": () => (/* reexport safe */ _resize__WEBPACK_IMPORTED_MODULE_0__.resizeSectionByteSize),\n/* harmony export */ \"resizeSectionVecSize\": () => (/* reexport safe */ _resize__WEBPACK_IMPORTED_MODULE_0__.resizeSectionVecSize)\n/* harmony export */ });\n/* harmony import */ var _resize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./resize */ \"./node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js\");\n/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./create */ \"./node_modules/@webassemblyjs/helper-wasm-section/esm/create.js\");\n/* harmony import */ var _remove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./remove */ \"./node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js\");\n\n\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-section/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js": /*!***********************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"removeSections\": () => (/* binding */ removeSections)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/helper-buffer */ \"./node_modules/@webassemblyjs/helper-buffer/esm/index.js\");\n\n\nfunction removeSections(ast, uint8Buffer, section) {\n var sectionMetadatas = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.getSectionMetadatas)(ast, section);\n\n if (sectionMetadatas.length === 0) {\n throw new Error(\"Section metadata not found\");\n }\n\n return sectionMetadatas.reverse().reduce(function (uint8Buffer, sectionMetadata) {\n var startsIncludingId = sectionMetadata.startOffset - 1;\n var ends = section === \"start\" ? sectionMetadata.size.loc.end.column + 1 : sectionMetadata.startOffset + sectionMetadata.size.value + 1;\n var delta = -(ends - startsIncludingId);\n /**\n * update AST\n */\n // Once we hit our section every that is after needs to be shifted by the delta\n\n var encounteredSection = false;\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.traverse)(ast, {\n SectionMetadata: function SectionMetadata(path) {\n if (path.node.section === section) {\n encounteredSection = true;\n return path.remove();\n }\n\n if (encounteredSection === true) {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.shiftSection)(ast, path.node, delta);\n }\n }\n }); // replacement is nothing\n\n var replacement = [];\n return (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_1__.overrideBytesInBuffer)(uint8Buffer, startsIncludingId, ends, replacement);\n }, uint8Buffer);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js": /*!***********************************************************************!*\ !*** ./node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"resizeSectionByteSize\": () => (/* binding */ resizeSectionByteSize),\n/* harmony export */ \"resizeSectionVecSize\": () => (/* binding */ resizeSectionVecSize)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/wasm-gen */ \"./node_modules/@webassemblyjs/wasm-gen/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/helper-buffer */ \"./node_modules/@webassemblyjs/helper-buffer/esm/index.js\");\n\n\n\nfunction resizeSectionByteSize(ast, uint8Buffer, section, deltaBytes) {\n var sectionMetadata = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.getSectionMetadata)(ast, section);\n\n if (typeof sectionMetadata === \"undefined\") {\n throw new Error(\"Section metadata not found\");\n }\n\n if (typeof sectionMetadata.size.loc === \"undefined\") {\n throw new Error(\"SectionMetadata \" + section + \" has no loc\");\n } // keep old node location to be overriden\n\n\n var start = sectionMetadata.size.loc.start.column;\n var end = sectionMetadata.size.loc.end.column;\n var newSectionSize = sectionMetadata.size.value + deltaBytes;\n var newBytes = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeU32)(newSectionSize);\n /**\n * update AST\n */\n\n sectionMetadata.size.value = newSectionSize;\n var oldu32EncodedLen = end - start;\n var newu32EncodedLen = newBytes.length; // the new u32 has a different encoded length\n\n if (newu32EncodedLen !== oldu32EncodedLen) {\n var deltaInSizeEncoding = newu32EncodedLen - oldu32EncodedLen;\n sectionMetadata.size.loc.end.column = start + newu32EncodedLen;\n deltaBytes += deltaInSizeEncoding; // move the vec size pointer size the section size is now smaller\n\n sectionMetadata.vectorOfSize.loc.start.column += deltaInSizeEncoding;\n sectionMetadata.vectorOfSize.loc.end.column += deltaInSizeEncoding;\n } // Once we hit our section every that is after needs to be shifted by the delta\n\n\n var encounteredSection = false;\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse)(ast, {\n SectionMetadata: function SectionMetadata(path) {\n if (path.node.section === section) {\n encounteredSection = true;\n return;\n }\n\n if (encounteredSection === true) {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.shiftSection)(ast, path.node, deltaBytes);\n }\n }\n });\n return (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_2__.overrideBytesInBuffer)(uint8Buffer, start, end, newBytes);\n}\nfunction resizeSectionVecSize(ast, uint8Buffer, section, deltaElements) {\n var sectionMetadata = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.getSectionMetadata)(ast, section);\n\n if (typeof sectionMetadata === \"undefined\") {\n throw new Error(\"Section metadata not found\");\n }\n\n if (typeof sectionMetadata.vectorOfSize.loc === \"undefined\") {\n throw new Error(\"SectionMetadata \" + section + \" has no loc\");\n } // Section has no vector\n\n\n if (sectionMetadata.vectorOfSize.value === -1) {\n return uint8Buffer;\n } // keep old node location to be overriden\n\n\n var start = sectionMetadata.vectorOfSize.loc.start.column;\n var end = sectionMetadata.vectorOfSize.loc.end.column;\n var newValue = sectionMetadata.vectorOfSize.value + deltaElements;\n var newBytes = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeU32)(newValue); // Update AST\n\n sectionMetadata.vectorOfSize.value = newValue;\n sectionMetadata.vectorOfSize.loc.end.column = start + newBytes.length;\n return (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_2__.overrideBytesInBuffer)(uint8Buffer, start, end, newBytes);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/ieee754/esm/index.js": /*!**********************************************************!*\ !*** ./node_modules/@webassemblyjs/ieee754/esm/index.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"DOUBLE_PRECISION_MANTISSA\": () => (/* binding */ DOUBLE_PRECISION_MANTISSA),\n/* harmony export */ \"NUMBER_OF_BYTE_F32\": () => (/* binding */ NUMBER_OF_BYTE_F32),\n/* harmony export */ \"NUMBER_OF_BYTE_F64\": () => (/* binding */ NUMBER_OF_BYTE_F64),\n/* harmony export */ \"SINGLE_PRECISION_MANTISSA\": () => (/* binding */ SINGLE_PRECISION_MANTISSA),\n/* harmony export */ \"decodeF32\": () => (/* binding */ decodeF32),\n/* harmony export */ \"decodeF64\": () => (/* binding */ decodeF64),\n/* harmony export */ \"encodeF32\": () => (/* binding */ encodeF32),\n/* harmony export */ \"encodeF64\": () => (/* binding */ encodeF64)\n/* harmony export */ });\n/* harmony import */ var _xtuc_ieee754__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @xtuc/ieee754 */ \"./node_modules/@xtuc/ieee754/index.js\");\n\n/**\n * According to https://webassembly.github.io/spec/binary/values.html#binary-float\n * n = 32/8\n */\n\nvar NUMBER_OF_BYTE_F32 = 4;\n/**\n * According to https://webassembly.github.io/spec/binary/values.html#binary-float\n * n = 64/8\n */\n\nvar NUMBER_OF_BYTE_F64 = 8;\nvar SINGLE_PRECISION_MANTISSA = 23;\nvar DOUBLE_PRECISION_MANTISSA = 52;\nfunction encodeF32(v) {\n var buffer = [];\n (0,_xtuc_ieee754__WEBPACK_IMPORTED_MODULE_0__.write)(buffer, v, 0, true, SINGLE_PRECISION_MANTISSA, NUMBER_OF_BYTE_F32);\n return buffer;\n}\nfunction encodeF64(v) {\n var buffer = [];\n (0,_xtuc_ieee754__WEBPACK_IMPORTED_MODULE_0__.write)(buffer, v, 0, true, DOUBLE_PRECISION_MANTISSA, NUMBER_OF_BYTE_F64);\n return buffer;\n}\nfunction decodeF32(bytes) {\n var buffer = Buffer.from(bytes);\n return (0,_xtuc_ieee754__WEBPACK_IMPORTED_MODULE_0__.read)(buffer, 0, true, SINGLE_PRECISION_MANTISSA, NUMBER_OF_BYTE_F32);\n}\nfunction decodeF64(bytes) {\n var buffer = Buffer.from(bytes);\n return (0,_xtuc_ieee754__WEBPACK_IMPORTED_MODULE_0__.read)(buffer, 0, true, DOUBLE_PRECISION_MANTISSA, NUMBER_OF_BYTE_F64);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/ieee754/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/leb128/esm/bits.js": /*!********************************************************!*\ !*** ./node_modules/@webassemblyjs/leb128/esm/bits.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"extract\": () => (/* binding */ extract),\n/* harmony export */ \"getSign\": () => (/* binding */ getSign),\n/* harmony export */ \"highOrder\": () => (/* binding */ highOrder),\n/* harmony export */ \"inject\": () => (/* binding */ inject)\n/* harmony export */ });\n// Copyright 2012 The Obvious Corporation.\n\n/*\n * bits: Bitwise buffer utilities. The utilities here treat a buffer\n * as a little-endian bigint, so the lowest-order bit is bit #0 of\n * `buffer[0]`, and the highest-order bit is bit #7 of\n * `buffer[buffer.length - 1]`.\n */\n\n/*\n * Modules used\n */\n\n/*\n * Exported bindings\n */\n\n/**\n * Extracts the given number of bits from the buffer at the indicated\n * index, returning a simple number as the result. If bits are requested\n * that aren't covered by the buffer, the `defaultBit` is used as their\n * value.\n *\n * The `bitLength` must be no more than 32. The `defaultBit` if not\n * specified is taken to be `0`.\n */\n\nfunction extract(buffer, bitIndex, bitLength, defaultBit) {\n if (bitLength < 0 || bitLength > 32) {\n throw new Error(\"Bad value for bitLength.\");\n }\n\n if (defaultBit === undefined) {\n defaultBit = 0;\n } else if (defaultBit !== 0 && defaultBit !== 1) {\n throw new Error(\"Bad value for defaultBit.\");\n }\n\n var defaultByte = defaultBit * 0xff;\n var result = 0; // All starts are inclusive. The {endByte, endBit} pair is exclusive, but\n // if endBit !== 0, then endByte is inclusive.\n\n var lastBit = bitIndex + bitLength;\n var startByte = Math.floor(bitIndex / 8);\n var startBit = bitIndex % 8;\n var endByte = Math.floor(lastBit / 8);\n var endBit = lastBit % 8;\n\n if (endBit !== 0) {\n // `(1 << endBit) - 1` is the mask of all bits up to but not including\n // the endBit.\n result = get(endByte) & (1 << endBit) - 1;\n }\n\n while (endByte > startByte) {\n endByte--;\n result = result << 8 | get(endByte);\n }\n\n result >>>= startBit;\n return result;\n\n function get(index) {\n var result = buffer[index];\n return result === undefined ? defaultByte : result;\n }\n}\n/**\n * Injects the given bits into the given buffer at the given index. Any\n * bits in the value beyond the length to set are ignored.\n */\n\nfunction inject(buffer, bitIndex, bitLength, value) {\n if (bitLength < 0 || bitLength > 32) {\n throw new Error(\"Bad value for bitLength.\");\n }\n\n var lastByte = Math.floor((bitIndex + bitLength - 1) / 8);\n\n if (bitIndex < 0 || lastByte >= buffer.length) {\n throw new Error(\"Index out of range.\");\n } // Just keeping it simple, until / unless profiling shows that this\n // is a problem.\n\n\n var atByte = Math.floor(bitIndex / 8);\n var atBit = bitIndex % 8;\n\n while (bitLength > 0) {\n if (value & 1) {\n buffer[atByte] |= 1 << atBit;\n } else {\n buffer[atByte] &= ~(1 << atBit);\n }\n\n value >>= 1;\n bitLength--;\n atBit = (atBit + 1) % 8;\n\n if (atBit === 0) {\n atByte++;\n }\n }\n}\n/**\n * Gets the sign bit of the given buffer.\n */\n\nfunction getSign(buffer) {\n return buffer[buffer.length - 1] >>> 7;\n}\n/**\n * Gets the zero-based bit number of the highest-order bit with the\n * given value in the given buffer.\n *\n * If the buffer consists entirely of the other bit value, then this returns\n * `-1`.\n */\n\nfunction highOrder(bit, buffer) {\n var length = buffer.length;\n var fullyWrongByte = (bit ^ 1) * 0xff; // the other-bit extended to a full byte\n\n while (length > 0 && buffer[length - 1] === fullyWrongByte) {\n length--;\n }\n\n if (length === 0) {\n // Degenerate case. The buffer consists entirely of ~bit.\n return -1;\n }\n\n var byteToCheck = buffer[length - 1];\n var result = length * 8 - 1;\n\n for (var i = 7; i > 0; i--) {\n if ((byteToCheck >> i & 1) === bit) {\n break;\n }\n\n result--;\n }\n\n return result;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/leb128/esm/bits.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/leb128/esm/bufs.js": /*!********************************************************!*\ !*** ./node_modules/@webassemblyjs/leb128/esm/bufs.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"alloc\": () => (/* binding */ alloc),\n/* harmony export */ \"free\": () => (/* binding */ free),\n/* harmony export */ \"readInt\": () => (/* binding */ readInt),\n/* harmony export */ \"readUInt\": () => (/* binding */ readUInt),\n/* harmony export */ \"resize\": () => (/* binding */ resize),\n/* harmony export */ \"writeInt64\": () => (/* binding */ writeInt64),\n/* harmony export */ \"writeUInt64\": () => (/* binding */ writeUInt64)\n/* harmony export */ });\n// Copyright 2012 The Obvious Corporation.\n\n/*\n * bufs: Buffer utilities.\n */\n\n/*\n * Module variables\n */\n\n/** Pool of buffers, where `bufPool[x].length === x`. */\nvar bufPool = [];\n/** Maximum length of kept temporary buffers. */\n\nvar TEMP_BUF_MAXIMUM_LENGTH = 20;\n/** Minimum exactly-representable 64-bit int. */\n\nvar MIN_EXACT_INT64 = -0x8000000000000000;\n/** Maximum exactly-representable 64-bit int. */\n\nvar MAX_EXACT_INT64 = 0x7ffffffffffffc00;\n/** Maximum exactly-representable 64-bit uint. */\n\nvar MAX_EXACT_UINT64 = 0xfffffffffffff800;\n/**\n * The int value consisting just of a 1 in bit #32 (that is, one more\n * than the maximum 32-bit unsigned value).\n */\n\nvar BIT_32 = 0x100000000;\n/**\n * The int value consisting just of a 1 in bit #64 (that is, one more\n * than the maximum 64-bit unsigned value).\n */\n\nvar BIT_64 = 0x10000000000000000;\n/*\n * Helper functions\n */\n\n/**\n * Masks off all but the lowest bit set of the given number.\n */\n\nfunction lowestBit(num) {\n return num & -num;\n}\n/**\n * Gets whether trying to add the second number to the first is lossy\n * (inexact). The first number is meant to be an accumulated result.\n */\n\n\nfunction isLossyToAdd(accum, num) {\n if (num === 0) {\n return false;\n }\n\n var lowBit = lowestBit(num);\n var added = accum + lowBit;\n\n if (added === accum) {\n return true;\n }\n\n if (added - lowBit !== accum) {\n return true;\n }\n\n return false;\n}\n/*\n * Exported functions\n */\n\n/**\n * Allocates a buffer of the given length, which is initialized\n * with all zeroes. This returns a buffer from the pool if it is\n * available, or a freshly-allocated buffer if not.\n */\n\n\nfunction alloc(length) {\n var result = bufPool[length];\n\n if (result) {\n bufPool[length] = undefined;\n } else {\n result = new Buffer(length);\n }\n\n result.fill(0);\n return result;\n}\n/**\n * Releases a buffer back to the pool.\n */\n\nfunction free(buffer) {\n var length = buffer.length;\n\n if (length < TEMP_BUF_MAXIMUM_LENGTH) {\n bufPool[length] = buffer;\n }\n}\n/**\n * Resizes a buffer, returning a new buffer. Returns the argument if\n * the length wouldn't actually change. This function is only safe to\n * use if the given buffer was allocated within this module (since\n * otherwise the buffer might possibly be shared externally).\n */\n\nfunction resize(buffer, length) {\n if (length === buffer.length) {\n return buffer;\n }\n\n var newBuf = alloc(length);\n buffer.copy(newBuf);\n free(buffer);\n return newBuf;\n}\n/**\n * Reads an arbitrary signed int from a buffer.\n */\n\nfunction readInt(buffer) {\n var length = buffer.length;\n var positive = buffer[length - 1] < 0x80;\n var result = positive ? 0 : -1;\n var lossy = false; // Note: We can't use bit manipulation here, since that stops\n // working if the result won't fit in a 32-bit int.\n\n if (length < 7) {\n // Common case which can't possibly be lossy (because the result has\n // no more than 48 bits, and loss only happens with 54 or more).\n for (var i = length - 1; i >= 0; i--) {\n result = result * 0x100 + buffer[i];\n }\n } else {\n for (var _i = length - 1; _i >= 0; _i--) {\n var one = buffer[_i];\n result *= 0x100;\n\n if (isLossyToAdd(result, one)) {\n lossy = true;\n }\n\n result += one;\n }\n }\n\n return {\n value: result,\n lossy: lossy\n };\n}\n/**\n * Reads an arbitrary unsigned int from a buffer.\n */\n\nfunction readUInt(buffer) {\n var length = buffer.length;\n var result = 0;\n var lossy = false; // Note: See above in re bit manipulation.\n\n if (length < 7) {\n // Common case which can't possibly be lossy (see above).\n for (var i = length - 1; i >= 0; i--) {\n result = result * 0x100 + buffer[i];\n }\n } else {\n for (var _i2 = length - 1; _i2 >= 0; _i2--) {\n var one = buffer[_i2];\n result *= 0x100;\n\n if (isLossyToAdd(result, one)) {\n lossy = true;\n }\n\n result += one;\n }\n }\n\n return {\n value: result,\n lossy: lossy\n };\n}\n/**\n * Writes a little-endian 64-bit signed int into a buffer.\n */\n\nfunction writeInt64(value, buffer) {\n if (value < MIN_EXACT_INT64 || value > MAX_EXACT_INT64) {\n throw new Error(\"Value out of range.\");\n }\n\n if (value < 0) {\n value += BIT_64;\n }\n\n writeUInt64(value, buffer);\n}\n/**\n * Writes a little-endian 64-bit unsigned int into a buffer.\n */\n\nfunction writeUInt64(value, buffer) {\n if (value < 0 || value > MAX_EXACT_UINT64) {\n throw new Error(\"Value out of range.\");\n }\n\n var lowWord = value % BIT_32;\n var highWord = Math.floor(value / BIT_32);\n buffer.writeUInt32LE(lowWord, 0);\n buffer.writeUInt32LE(highWord, 4);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/leb128/esm/bufs.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/leb128/esm/index.js": /*!*********************************************************!*\ !*** ./node_modules/@webassemblyjs/leb128/esm/index.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"MAX_NUMBER_OF_BYTE_U32\": () => (/* binding */ MAX_NUMBER_OF_BYTE_U32),\n/* harmony export */ \"MAX_NUMBER_OF_BYTE_U64\": () => (/* binding */ MAX_NUMBER_OF_BYTE_U64),\n/* harmony export */ \"decodeInt32\": () => (/* binding */ decodeInt32),\n/* harmony export */ \"decodeInt64\": () => (/* binding */ decodeInt64),\n/* harmony export */ \"decodeUInt32\": () => (/* binding */ decodeUInt32),\n/* harmony export */ \"decodeUInt64\": () => (/* binding */ decodeUInt64),\n/* harmony export */ \"encodeI32\": () => (/* binding */ encodeI32),\n/* harmony export */ \"encodeI64\": () => (/* binding */ encodeI64),\n/* harmony export */ \"encodeU32\": () => (/* binding */ encodeU32)\n/* harmony export */ });\n/* harmony import */ var _leb__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./leb */ \"./node_modules/@webassemblyjs/leb128/esm/leb.js\");\n\n/**\n * According to https://webassembly.github.io/spec/core/binary/values.html#binary-int\n * max = ceil(32/7)\n */\n\nvar MAX_NUMBER_OF_BYTE_U32 = 5;\n/**\n * According to https://webassembly.github.io/spec/core/binary/values.html#binary-int\n * max = ceil(64/7)\n */\n\nvar MAX_NUMBER_OF_BYTE_U64 = 10;\nfunction decodeInt64(encodedBuffer, index) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decodeInt64(encodedBuffer, index);\n}\nfunction decodeUInt64(encodedBuffer, index) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decodeUInt64(encodedBuffer, index);\n}\nfunction decodeInt32(encodedBuffer, index) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decodeInt32(encodedBuffer, index);\n}\nfunction decodeUInt32(encodedBuffer, index) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decodeUInt32(encodedBuffer, index);\n}\nfunction encodeU32(v) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encodeUInt32(v);\n}\nfunction encodeI32(v) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encodeInt32(v);\n}\nfunction encodeI64(v) {\n return _leb__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encodeInt64(v);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/leb128/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/leb128/esm/leb.js": /*!*******************************************************!*\ !*** ./node_modules/@webassemblyjs/leb128/esm/leb.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _xtuc_long__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @xtuc/long */ \"./node_modules/@xtuc/long/src/long.js\");\n/* harmony import */ var _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_xtuc_long__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _bits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./bits */ \"./node_modules/@webassemblyjs/leb128/esm/bits.js\");\n/* harmony import */ var _bufs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bufs */ \"./node_modules/@webassemblyjs/leb128/esm/bufs.js\");\n// Copyright 2012 The Obvious Corporation.\n\n/*\n * leb: LEB128 utilities.\n */\n\n/*\n * Modules used\n */\n\n\n\n\n\n/*\n * Module variables\n */\n\n/** The minimum possible 32-bit signed int. */\n\nvar MIN_INT32 = -0x80000000;\n/** The maximum possible 32-bit signed int. */\n\nvar MAX_INT32 = 0x7fffffff;\n/** The maximum possible 32-bit unsigned int. */\n\nvar MAX_UINT32 = 0xffffffff;\n/** The minimum possible 64-bit signed int. */\n// const MIN_INT64 = -0x8000000000000000;\n\n/**\n * The maximum possible 64-bit signed int that is representable as a\n * JavaScript number.\n */\n// const MAX_INT64 = 0x7ffffffffffffc00;\n\n/**\n * The maximum possible 64-bit unsigned int that is representable as a\n * JavaScript number.\n */\n// const MAX_UINT64 = 0xfffffffffffff800;\n\n/*\n * Helper functions\n */\n\n/**\n * Determines the number of bits required to encode the number\n * represented in the given buffer as a signed value. The buffer is\n * taken to represent a signed number in little-endian form.\n *\n * The number of bits to encode is the (zero-based) bit number of the\n * highest-order non-sign-matching bit, plus two. For example:\n *\n * 11111011 01110101\n * high low\n *\n * The sign bit here is 1 (that is, it's a negative number). The highest\n * bit number that doesn't match the sign is bit #10 (where the lowest-order\n * bit is bit #0). So, we have to encode at least 12 bits total.\n *\n * As a special degenerate case, the numbers 0 and -1 each require just one bit.\n */\n\nfunction signedBitCount(buffer) {\n return _bits__WEBPACK_IMPORTED_MODULE_1__.highOrder(_bits__WEBPACK_IMPORTED_MODULE_1__.getSign(buffer) ^ 1, buffer) + 2;\n}\n/**\n * Determines the number of bits required to encode the number\n * represented in the given buffer as an unsigned value. The buffer is\n * taken to represent an unsigned number in little-endian form.\n *\n * The number of bits to encode is the (zero-based) bit number of the\n * highest-order 1 bit, plus one. For example:\n *\n * 00011000 01010011\n * high low\n *\n * The highest-order 1 bit here is bit #12 (where the lowest-order bit\n * is bit #0). So, we have to encode at least 13 bits total.\n *\n * As a special degenerate case, the number 0 requires 1 bit.\n */\n\n\nfunction unsignedBitCount(buffer) {\n var result = _bits__WEBPACK_IMPORTED_MODULE_1__.highOrder(1, buffer) + 1;\n return result ? result : 1;\n}\n/**\n * Common encoder for both signed and unsigned ints. This takes a\n * bigint-ish buffer, returning an LEB128-encoded buffer.\n */\n\n\nfunction encodeBufferCommon(buffer, signed) {\n var signBit;\n var bitCount;\n\n if (signed) {\n signBit = _bits__WEBPACK_IMPORTED_MODULE_1__.getSign(buffer);\n bitCount = signedBitCount(buffer);\n } else {\n signBit = 0;\n bitCount = unsignedBitCount(buffer);\n }\n\n var byteCount = Math.ceil(bitCount / 7);\n var result = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(byteCount);\n\n for (var i = 0; i < byteCount; i++) {\n var payload = _bits__WEBPACK_IMPORTED_MODULE_1__.extract(buffer, i * 7, 7, signBit);\n result[i] = payload | 0x80;\n } // Mask off the top bit of the last byte, to indicate the end of the\n // encoding.\n\n\n result[byteCount - 1] &= 0x7f;\n return result;\n}\n/**\n * Gets the byte-length of the value encoded in the given buffer at\n * the given index.\n */\n\n\nfunction encodedLength(encodedBuffer, index) {\n var result = 0;\n\n while (encodedBuffer[index + result] >= 0x80) {\n result++;\n }\n\n result++; // to account for the last byte\n\n if (index + result > encodedBuffer.length) {// FIXME(sven): seems to cause false positives\n // throw new Error(\"integer representation too long\");\n }\n\n return result;\n}\n/**\n * Common decoder for both signed and unsigned ints. This takes an\n * LEB128-encoded buffer, returning a bigint-ish buffer.\n */\n\n\nfunction decodeBufferCommon(encodedBuffer, index, signed) {\n index = index === undefined ? 0 : index;\n var length = encodedLength(encodedBuffer, index);\n var bitLength = length * 7;\n var byteLength = Math.ceil(bitLength / 8);\n var result = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(byteLength);\n var outIndex = 0;\n\n while (length > 0) {\n _bits__WEBPACK_IMPORTED_MODULE_1__.inject(result, outIndex, 7, encodedBuffer[index]);\n outIndex += 7;\n index++;\n length--;\n }\n\n var signBit;\n var signByte;\n\n if (signed) {\n // Sign-extend the last byte.\n var lastByte = result[byteLength - 1];\n var endBit = outIndex % 8;\n\n if (endBit !== 0) {\n var shift = 32 - endBit; // 32 because JS bit ops work on 32-bit ints.\n\n lastByte = result[byteLength - 1] = lastByte << shift >> shift & 0xff;\n }\n\n signBit = lastByte >> 7;\n signByte = signBit * 0xff;\n } else {\n signBit = 0;\n signByte = 0;\n } // Slice off any superfluous bytes, that is, ones that add no meaningful\n // bits (because the value would be the same if they were removed).\n\n\n while (byteLength > 1 && result[byteLength - 1] === signByte && (!signed || result[byteLength - 2] >> 7 === signBit)) {\n byteLength--;\n }\n\n result = _bufs__WEBPACK_IMPORTED_MODULE_2__.resize(result, byteLength);\n return {\n value: result,\n nextIndex: index\n };\n}\n/*\n * Exported bindings\n */\n\n\nfunction encodeIntBuffer(buffer) {\n return encodeBufferCommon(buffer, true);\n}\n\nfunction decodeIntBuffer(encodedBuffer, index) {\n return decodeBufferCommon(encodedBuffer, index, true);\n}\n\nfunction encodeInt32(num) {\n var buf = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(4);\n buf.writeInt32LE(num, 0);\n var result = encodeIntBuffer(buf);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(buf);\n return result;\n}\n\nfunction decodeInt32(encodedBuffer, index) {\n var result = decodeIntBuffer(encodedBuffer, index);\n var parsed = _bufs__WEBPACK_IMPORTED_MODULE_2__.readInt(result.value);\n var value = parsed.value;\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(result.value);\n\n if (value < MIN_INT32 || value > MAX_INT32) {\n throw new Error(\"integer too large\");\n }\n\n return {\n value: value,\n nextIndex: result.nextIndex\n };\n}\n\nfunction encodeInt64(num) {\n var buf = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(8);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.writeInt64(num, buf);\n var result = encodeIntBuffer(buf);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(buf);\n return result;\n}\n\nfunction decodeInt64(encodedBuffer, index) {\n var result = decodeIntBuffer(encodedBuffer, index);\n var value = _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default().fromBytesLE(result.value, false);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(result.value);\n return {\n value: value,\n nextIndex: result.nextIndex,\n lossy: false\n };\n}\n\nfunction encodeUIntBuffer(buffer) {\n return encodeBufferCommon(buffer, false);\n}\n\nfunction decodeUIntBuffer(encodedBuffer, index) {\n return decodeBufferCommon(encodedBuffer, index, false);\n}\n\nfunction encodeUInt32(num) {\n var buf = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(4);\n buf.writeUInt32LE(num, 0);\n var result = encodeUIntBuffer(buf);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(buf);\n return result;\n}\n\nfunction decodeUInt32(encodedBuffer, index) {\n var result = decodeUIntBuffer(encodedBuffer, index);\n var parsed = _bufs__WEBPACK_IMPORTED_MODULE_2__.readUInt(result.value);\n var value = parsed.value;\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(result.value);\n\n if (value > MAX_UINT32) {\n throw new Error(\"integer too large\");\n }\n\n return {\n value: value,\n nextIndex: result.nextIndex\n };\n}\n\nfunction encodeUInt64(num) {\n var buf = _bufs__WEBPACK_IMPORTED_MODULE_2__.alloc(8);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.writeUInt64(num, buf);\n var result = encodeUIntBuffer(buf);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(buf);\n return result;\n}\n\nfunction decodeUInt64(encodedBuffer, index) {\n var result = decodeUIntBuffer(encodedBuffer, index);\n var value = _xtuc_long__WEBPACK_IMPORTED_MODULE_0___default().fromBytesLE(result.value, true);\n _bufs__WEBPACK_IMPORTED_MODULE_2__.free(result.value);\n return {\n value: value,\n nextIndex: result.nextIndex,\n lossy: false\n };\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n decodeInt32: decodeInt32,\n decodeInt64: decodeInt64,\n decodeIntBuffer: decodeIntBuffer,\n decodeUInt32: decodeUInt32,\n decodeUInt64: decodeUInt64,\n decodeUIntBuffer: decodeUIntBuffer,\n encodeInt32: encodeInt32,\n encodeInt64: encodeInt64,\n encodeIntBuffer: encodeIntBuffer,\n encodeUInt32: encodeUInt32,\n encodeUInt64: encodeUInt64,\n encodeUIntBuffer: encodeUIntBuffer\n});\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/leb128/esm/leb.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/utf8/esm/decoder.js": /*!*********************************************************!*\ !*** ./node_modules/@webassemblyjs/utf8/esm/decoder.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"decode\": () => (/* binding */ decode)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr); }\n\nfunction con(b) {\n if ((b & 0xc0) === 0x80) {\n return b & 0x3f;\n } else {\n throw new Error(\"invalid UTF-8 encoding\");\n }\n}\n\nfunction code(min, n) {\n if (n < min || 0xd800 <= n && n < 0xe000 || n >= 0x10000) {\n throw new Error(\"invalid UTF-8 encoding\");\n } else {\n return n;\n }\n}\n\nfunction decode(bytes) {\n return _decode(bytes).map(function (x) {\n return String.fromCharCode(x);\n }).join(\"\");\n}\n\nfunction _decode(bytes) {\n if (bytes.length === 0) {\n return [];\n }\n /**\n * 1 byte\n */\n\n\n {\n var _bytes = _toArray(bytes),\n b1 = _bytes[0],\n bs = _bytes.slice(1);\n\n if (b1 < 0x80) {\n return [code(0x0, b1)].concat(_toConsumableArray(_decode(bs)));\n }\n\n if (b1 < 0xc0) {\n throw new Error(\"invalid UTF-8 encoding\");\n }\n }\n /**\n * 2 bytes\n */\n\n {\n var _bytes2 = _toArray(bytes),\n _b = _bytes2[0],\n b2 = _bytes2[1],\n _bs = _bytes2.slice(2);\n\n if (_b < 0xe0) {\n return [code(0x80, ((_b & 0x1f) << 6) + con(b2))].concat(_toConsumableArray(_decode(_bs)));\n }\n }\n /**\n * 3 bytes\n */\n\n {\n var _bytes3 = _toArray(bytes),\n _b2 = _bytes3[0],\n _b3 = _bytes3[1],\n b3 = _bytes3[2],\n _bs2 = _bytes3.slice(3);\n\n if (_b2 < 0xf0) {\n return [code(0x800, ((_b2 & 0x0f) << 12) + (con(_b3) << 6) + con(b3))].concat(_toConsumableArray(_decode(_bs2)));\n }\n }\n /**\n * 4 bytes\n */\n\n {\n var _bytes4 = _toArray(bytes),\n _b4 = _bytes4[0],\n _b5 = _bytes4[1],\n _b6 = _bytes4[2],\n b4 = _bytes4[3],\n _bs3 = _bytes4.slice(4);\n\n if (_b4 < 0xf8) {\n return [code(0x10000, (((_b4 & 0x07) << 18) + con(_b5) << 12) + (con(_b6) << 6) + con(b4))].concat(_toConsumableArray(_decode(_bs3)));\n }\n }\n throw new Error(\"invalid UTF-8 encoding\");\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/utf8/esm/decoder.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/utf8/esm/encoder.js": /*!*********************************************************!*\ !*** ./node_modules/@webassemblyjs/utf8/esm/encoder.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"encode\": () => (/* binding */ encode)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr); }\n\nfunction con(n) {\n return 0x80 | n & 0x3f;\n}\n\nfunction encode(str) {\n var arr = str.split(\"\").map(function (x) {\n return x.charCodeAt(0);\n });\n return _encode(arr);\n}\n\nfunction _encode(arr) {\n if (arr.length === 0) {\n return [];\n }\n\n var _arr = _toArray(arr),\n n = _arr[0],\n ns = _arr.slice(1);\n\n if (n < 0) {\n throw new Error(\"utf8\");\n }\n\n if (n < 0x80) {\n return [n].concat(_toConsumableArray(_encode(ns)));\n }\n\n if (n < 0x800) {\n return [0xc0 | n >>> 6, con(n)].concat(_toConsumableArray(_encode(ns)));\n }\n\n if (n < 0x10000) {\n return [0xe0 | n >>> 12, con(n >>> 6), con(n)].concat(_toConsumableArray(_encode(ns)));\n }\n\n if (n < 0x110000) {\n return [0xf0 | n >>> 18, con(n >>> 12), con(n >>> 6), con(n)].concat(_toConsumableArray(_encode(ns)));\n }\n\n throw new Error(\"utf8\");\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/utf8/esm/encoder.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/utf8/esm/index.js": /*!*******************************************************!*\ !*** ./node_modules/@webassemblyjs/utf8/esm/index.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"decode\": () => (/* reexport safe */ _decoder__WEBPACK_IMPORTED_MODULE_0__.decode),\n/* harmony export */ \"encode\": () => (/* reexport safe */ _encoder__WEBPACK_IMPORTED_MODULE_1__.encode)\n/* harmony export */ });\n/* harmony import */ var _decoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./decoder */ \"./node_modules/@webassemblyjs/utf8/esm/decoder.js\");\n/* harmony import */ var _encoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encoder */ \"./node_modules/@webassemblyjs/utf8/esm/encoder.js\");\n\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/utf8/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-edit/esm/apply.js": /*!************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-edit/esm/apply.js ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"applyOperations\": () => (/* binding */ applyOperations)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/wasm-gen */ \"./node_modules/@webassemblyjs/wasm-gen/esm/index.js\");\n/* harmony import */ var _webassemblyjs_wasm_gen_lib_encoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/wasm-gen/lib/encoder */ \"./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_section__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-section */ \"./node_modules/@webassemblyjs/helper-wasm-section/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @webassemblyjs/helper-buffer */ \"./node_modules/@webassemblyjs/helper-buffer/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\nfunction _sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return _sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }\n\n\n\n\n\n\n\n\nfunction shiftLocNodeByDelta(node, delta) {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.assertHasLoc)(node); // $FlowIgnore: assertHasLoc ensures that\n\n node.loc.start.column += delta; // $FlowIgnore: assertHasLoc ensures that\n\n node.loc.end.column += delta;\n}\n\nfunction applyUpdate(ast, uint8Buffer, _ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n oldNode = _ref2[0],\n newNode = _ref2[1];\n\n var deltaElements = 0;\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.assertHasLoc)(oldNode);\n var sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(newNode);\n var replacementByteArray = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeNode)(newNode);\n /**\n * Replace new node as bytes\n */\n\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_4__.overrideBytesInBuffer)(uint8Buffer, // $FlowIgnore: assertHasLoc ensures that\n oldNode.loc.start.column, // $FlowIgnore: assertHasLoc ensures that\n oldNode.loc.end.column, replacementByteArray);\n /**\n * Update function body size if needed\n */\n\n if (sectionName === \"code\") {\n // Find the parent func\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.traverse)(ast, {\n Func: function Func(_ref3) {\n var node = _ref3.node;\n var funcHasThisIntr = node.body.find(function (n) {\n return n === newNode;\n }) !== undefined; // Update func's body size if needed\n\n if (funcHasThisIntr === true) {\n // These are the old functions locations informations\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.assertHasLoc)(node);\n var oldNodeSize = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeNode)(oldNode).length;\n var bodySizeDeltaBytes = replacementByteArray.length - oldNodeSize;\n\n if (bodySizeDeltaBytes !== 0) {\n var newValue = node.metadata.bodySize + bodySizeDeltaBytes;\n var newByteArray = (0,_webassemblyjs_wasm_gen_lib_encoder__WEBPACK_IMPORTED_MODULE_1__.encodeU32)(newValue); // function body size byte\n // FIXME(sven): only handles one byte u32\n\n var start = node.loc.start.column;\n var end = start + 1;\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_4__.overrideBytesInBuffer)(uint8Buffer, start, end, newByteArray);\n }\n }\n }\n });\n }\n /**\n * Update section size\n */\n\n\n var deltaBytes = replacementByteArray.length - ( // $FlowIgnore: assertHasLoc ensures that\n oldNode.loc.end.column - oldNode.loc.start.column); // Init location informations\n\n newNode.loc = {\n start: {\n line: -1,\n column: -1\n },\n end: {\n line: -1,\n column: -1\n }\n }; // Update new node end position\n // $FlowIgnore: assertHasLoc ensures that\n\n newNode.loc.start.column = oldNode.loc.start.column; // $FlowIgnore: assertHasLoc ensures that\n\n newNode.loc.end.column = // $FlowIgnore: assertHasLoc ensures that\n oldNode.loc.start.column + replacementByteArray.length;\n return {\n uint8Buffer: uint8Buffer,\n deltaBytes: deltaBytes,\n deltaElements: deltaElements\n };\n}\n\nfunction applyDelete(ast, uint8Buffer, node) {\n var deltaElements = -1; // since we removed an element\n\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.assertHasLoc)(node);\n var sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(node);\n\n if (sectionName === \"start\") {\n var sectionMetadata = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.getSectionMetadata)(ast, \"start\");\n /**\n * The start section only contains one element,\n * we need to remove the whole section\n */\n\n uint8Buffer = (0,_webassemblyjs_helper_wasm_section__WEBPACK_IMPORTED_MODULE_3__.removeSections)(ast, uint8Buffer, \"start\");\n\n var _deltaBytes = -(sectionMetadata.size.value + 1);\n /* section id */\n\n\n return {\n uint8Buffer: uint8Buffer,\n deltaBytes: _deltaBytes,\n deltaElements: deltaElements\n };\n } // replacement is nothing\n\n\n var replacement = [];\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_4__.overrideBytesInBuffer)(uint8Buffer, // $FlowIgnore: assertHasLoc ensures that\n node.loc.start.column, // $FlowIgnore: assertHasLoc ensures that\n node.loc.end.column, replacement);\n /**\n * Update section\n */\n // $FlowIgnore: assertHasLoc ensures that\n\n var deltaBytes = -(node.loc.end.column - node.loc.start.column);\n return {\n uint8Buffer: uint8Buffer,\n deltaBytes: deltaBytes,\n deltaElements: deltaElements\n };\n}\n\nfunction applyAdd(ast, uint8Buffer, node) {\n var deltaElements = +1; // since we added an element\n\n var sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(node);\n var sectionMetadata = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.getSectionMetadata)(ast, sectionName); // Section doesn't exists, we create an empty one\n\n if (typeof sectionMetadata === \"undefined\") {\n var res = (0,_webassemblyjs_helper_wasm_section__WEBPACK_IMPORTED_MODULE_3__.createEmptySection)(ast, uint8Buffer, sectionName);\n uint8Buffer = res.uint8Buffer;\n sectionMetadata = res.sectionMetadata;\n }\n /**\n * check that the expressions were ended\n */\n\n\n if ((0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.isFunc)(node)) {\n // $FlowIgnore\n var body = node.body;\n\n if (body.length === 0 || body[body.length - 1].id !== \"end\") {\n throw new Error(\"expressions must be ended\");\n }\n }\n\n if ((0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.isGlobal)(node)) {\n // $FlowIgnore\n var body = node.init;\n\n if (body.length === 0 || body[body.length - 1].id !== \"end\") {\n throw new Error(\"expressions must be ended\");\n }\n }\n /**\n * Add nodes\n */\n\n\n var newByteArray = (0,_webassemblyjs_wasm_gen__WEBPACK_IMPORTED_MODULE_0__.encodeNode)(node); // The size of the section doesn't include the storage of the size itself\n // we need to manually add it here\n\n var start = (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.getEndOfSection)(sectionMetadata);\n var end = start;\n /**\n * Update section\n */\n\n var deltaBytes = newByteArray.length;\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_4__.overrideBytesInBuffer)(uint8Buffer, start, end, newByteArray);\n node.loc = {\n start: {\n line: -1,\n column: start\n },\n end: {\n line: -1,\n column: start + deltaBytes\n }\n }; // for func add the additional metadata in the AST\n\n if (node.type === \"Func\") {\n // the size is the first byte\n // FIXME(sven): handle LEB128 correctly here\n var bodySize = newByteArray[0];\n node.metadata = {\n bodySize: bodySize\n };\n }\n\n if (node.type !== \"IndexInFuncSection\") {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_2__.orderedInsertNode)(ast.body[0], node);\n }\n\n return {\n uint8Buffer: uint8Buffer,\n deltaBytes: deltaBytes,\n deltaElements: deltaElements\n };\n}\n\nfunction applyOperations(ast, uint8Buffer, ops) {\n ops.forEach(function (op) {\n var state;\n var sectionName;\n\n switch (op.kind) {\n case \"update\":\n state = applyUpdate(ast, uint8Buffer, [op.oldNode, op.node]);\n sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(op.node);\n break;\n\n case \"delete\":\n state = applyDelete(ast, uint8Buffer, op.node);\n sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(op.node);\n break;\n\n case \"add\":\n state = applyAdd(ast, uint8Buffer, op.node);\n sectionName = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__.getSectionForNode)(op.node);\n break;\n\n default:\n throw new Error(\"Unknown operation\");\n }\n /**\n * Resize section vec size.\n * If the length of the LEB-encoded size changes, this can change\n * the byte length of the section and the offset for nodes in the\n * section. So we do this first before resizing section byte size\n * or shifting following operations' nodes.\n */\n\n\n if (state.deltaElements !== 0 && sectionName !== \"start\") {\n var oldBufferLength = state.uint8Buffer.length;\n state.uint8Buffer = (0,_webassemblyjs_helper_wasm_section__WEBPACK_IMPORTED_MODULE_3__.resizeSectionVecSize)(ast, state.uint8Buffer, sectionName, state.deltaElements); // Infer bytes added/removed by comparing buffer lengths\n\n state.deltaBytes += state.uint8Buffer.length - oldBufferLength;\n }\n /**\n * Resize section byte size.\n * If the length of the LEB-encoded size changes, this can change\n * the offset for nodes in the section. So we do this before\n * shifting following operations' nodes.\n */\n\n\n if (state.deltaBytes !== 0 && sectionName !== \"start\") {\n var _oldBufferLength = state.uint8Buffer.length;\n state.uint8Buffer = (0,_webassemblyjs_helper_wasm_section__WEBPACK_IMPORTED_MODULE_3__.resizeSectionByteSize)(ast, state.uint8Buffer, sectionName, state.deltaBytes); // Infer bytes added/removed by comparing buffer lengths\n\n state.deltaBytes += state.uint8Buffer.length - _oldBufferLength;\n }\n /**\n * Shift following operation's nodes\n */\n\n\n if (state.deltaBytes !== 0) {\n ops.forEach(function (op) {\n // We don't need to handle add ops, they are positioning independent\n switch (op.kind) {\n case \"update\":\n shiftLocNodeByDelta(op.oldNode, state.deltaBytes);\n break;\n\n case \"delete\":\n shiftLocNodeByDelta(op.node, state.deltaBytes);\n break;\n }\n });\n }\n\n uint8Buffer = state.uint8Buffer;\n });\n return uint8Buffer;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-edit/esm/apply.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-edit/esm/index.js": /*!************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-edit/esm/index.js ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"add\": () => (/* binding */ add),\n/* harmony export */ \"addWithAST\": () => (/* binding */ addWithAST),\n/* harmony export */ \"edit\": () => (/* binding */ edit),\n/* harmony export */ \"editWithAST\": () => (/* binding */ editWithAST)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_wasm_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/wasm-parser */ \"./node_modules/@webassemblyjs/wasm-parser/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ast_lib_clone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/ast/lib/clone */ \"./node_modules/@webassemblyjs/ast/lib/clone.js\");\n/* harmony import */ var _webassemblyjs_wasm_opt__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @webassemblyjs/wasm-opt */ \"./node_modules/@webassemblyjs/wasm-opt/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\n/* harmony import */ var _apply__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apply */ \"./node_modules/@webassemblyjs/wasm-edit/esm/apply.js\");\n\n\n\n\n\n\n\n\nfunction hashNode(node) {\n return JSON.stringify(node);\n}\n\nfunction preprocess(ab) {\n var optBin = (0,_webassemblyjs_wasm_opt__WEBPACK_IMPORTED_MODULE_3__.shrinkPaddedLEB128)(new Uint8Array(ab));\n return optBin.buffer;\n}\n\nfunction sortBySectionOrder(nodes) {\n var originalOrder = new Map();\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = nodes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _node = _step.value;\n originalOrder.set(_node, originalOrder.size);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n nodes.sort(function (a, b) {\n var sectionA = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_4__.getSectionForNode)(a);\n var sectionB = (0,_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_4__.getSectionForNode)(b);\n var aId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_4__[\"default\"].sections[sectionA];\n var bId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_4__[\"default\"].sections[sectionB];\n\n if (typeof aId !== \"number\" || typeof bId !== \"number\") {\n throw new Error(\"Section id not found\");\n }\n\n if (aId === bId) {\n // $FlowIgnore originalOrder is filled for all nodes\n return originalOrder.get(a) - originalOrder.get(b);\n }\n\n return aId - bId;\n });\n}\n\nfunction edit(ab, visitors) {\n ab = preprocess(ab);\n var ast = (0,_webassemblyjs_wasm_parser__WEBPACK_IMPORTED_MODULE_0__.decode)(ab);\n return editWithAST(ast, ab, visitors);\n}\nfunction editWithAST(ast, ab, visitors) {\n var operations = [];\n var uint8Buffer = new Uint8Array(ab);\n var nodeBefore;\n\n function before(type, path) {\n nodeBefore = (0,_webassemblyjs_ast_lib_clone__WEBPACK_IMPORTED_MODULE_2__.cloneNode)(path.node);\n }\n\n function after(type, path) {\n if (path.node._deleted === true) {\n operations.push({\n kind: \"delete\",\n node: path.node\n }); // $FlowIgnore\n } else if (hashNode(nodeBefore) !== hashNode(path.node)) {\n operations.push({\n kind: \"update\",\n oldNode: nodeBefore,\n node: path.node\n });\n }\n }\n\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse)(ast, visitors, before, after);\n uint8Buffer = (0,_apply__WEBPACK_IMPORTED_MODULE_5__.applyOperations)(ast, uint8Buffer, operations);\n return uint8Buffer.buffer;\n}\nfunction add(ab, newNodes) {\n ab = preprocess(ab);\n var ast = (0,_webassemblyjs_wasm_parser__WEBPACK_IMPORTED_MODULE_0__.decode)(ab);\n return addWithAST(ast, ab, newNodes);\n}\nfunction addWithAST(ast, ab, newNodes) {\n // Sort nodes by insertion order\n sortBySectionOrder(newNodes);\n var uint8Buffer = new Uint8Array(ab); // Map node into operations\n\n var operations = newNodes.map(function (n) {\n return {\n kind: \"add\",\n node: n\n };\n });\n uint8Buffer = (0,_apply__WEBPACK_IMPORTED_MODULE_5__.applyOperations)(ast, uint8Buffer, operations);\n return uint8Buffer.buffer;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-edit/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js": /*!*******************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"encodeCallIndirectInstruction\": () => (/* binding */ encodeCallIndirectInstruction),\n/* harmony export */ \"encodeCallInstruction\": () => (/* binding */ encodeCallInstruction),\n/* harmony export */ \"encodeElem\": () => (/* binding */ encodeElem),\n/* harmony export */ \"encodeFuncBody\": () => (/* binding */ encodeFuncBody),\n/* harmony export */ \"encodeGlobal\": () => (/* binding */ encodeGlobal),\n/* harmony export */ \"encodeHeader\": () => (/* binding */ encodeHeader),\n/* harmony export */ \"encodeI32\": () => (/* binding */ encodeI32),\n/* harmony export */ \"encodeI64\": () => (/* binding */ encodeI64),\n/* harmony export */ \"encodeIndexInFuncSection\": () => (/* binding */ encodeIndexInFuncSection),\n/* harmony export */ \"encodeInstr\": () => (/* binding */ encodeInstr),\n/* harmony export */ \"encodeLimits\": () => (/* binding */ encodeLimits),\n/* harmony export */ \"encodeModuleExport\": () => (/* binding */ encodeModuleExport),\n/* harmony export */ \"encodeModuleImport\": () => (/* binding */ encodeModuleImport),\n/* harmony export */ \"encodeMutability\": () => (/* binding */ encodeMutability),\n/* harmony export */ \"encodeSectionMetadata\": () => (/* binding */ encodeSectionMetadata),\n/* harmony export */ \"encodeStringLiteral\": () => (/* binding */ encodeStringLiteral),\n/* harmony export */ \"encodeTypeInstruction\": () => (/* binding */ encodeTypeInstruction),\n/* harmony export */ \"encodeU32\": () => (/* binding */ encodeU32),\n/* harmony export */ \"encodeUTF8Vec\": () => (/* binding */ encodeUTF8Vec),\n/* harmony export */ \"encodeValtype\": () => (/* binding */ encodeValtype),\n/* harmony export */ \"encodeVec\": () => (/* binding */ encodeVec),\n/* harmony export */ \"encodeVersion\": () => (/* binding */ encodeVersion)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/leb128 */ \"./node_modules/@webassemblyjs/leb128/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/ieee754 */ \"./node_modules/@webassemblyjs/ieee754/esm/index.js\");\n/* harmony import */ var _webassemblyjs_utf8__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/utf8 */ \"./node_modules/@webassemblyjs/utf8/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../index */ \"./node_modules/@webassemblyjs/wasm-gen/esm/index.js\");\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n\n\n\n\n\n\nfunction assertNotIdentifierNode(n) {\n if (n.type === \"Identifier\") {\n throw new Error(\"Unsupported node Identifier\");\n }\n}\n\nfunction encodeVersion(v) {\n var bytes = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].moduleVersion;\n bytes[0] = v;\n return bytes;\n}\nfunction encodeHeader() {\n return _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].magicModuleHeader;\n}\nfunction encodeU32(v) {\n var uint8view = new Uint8Array(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_0__.encodeU32(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\nfunction encodeI32(v) {\n var uint8view = new Uint8Array(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_0__.encodeI32(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\nfunction encodeI64(v) {\n var uint8view = new Uint8Array(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_0__.encodeI64(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\nfunction encodeVec(elements) {\n var size = encodeU32(elements.length);\n return _toConsumableArray(size).concat(_toConsumableArray(elements));\n}\nfunction encodeValtype(v) {\n var byte = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].valtypesByString[v];\n\n if (typeof byte === \"undefined\") {\n throw new Error(\"Unknown valtype: \" + v);\n }\n\n return parseInt(byte, 10);\n}\nfunction encodeMutability(v) {\n var byte = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].globalTypesByString[v];\n\n if (typeof byte === \"undefined\") {\n throw new Error(\"Unknown mutability: \" + v);\n }\n\n return parseInt(byte, 10);\n}\nfunction encodeUTF8Vec(str) {\n return encodeVec(_webassemblyjs_utf8__WEBPACK_IMPORTED_MODULE_2__.encode(str));\n}\nfunction encodeLimits(n) {\n var out = [];\n\n if (typeof n.max === \"number\") {\n out.push(0x01);\n out.push.apply(out, _toConsumableArray(encodeU32(n.min))); // $FlowIgnore: ensured by the typeof\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.max)));\n } else {\n out.push(0x00);\n out.push.apply(out, _toConsumableArray(encodeU32(n.min)));\n }\n\n return out;\n}\nfunction encodeModuleImport(n) {\n var out = [];\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.module)));\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.name)));\n\n switch (n.descr.type) {\n case \"GlobalType\":\n {\n out.push(0x03); // $FlowIgnore: GlobalType ensure that these props exists\n\n out.push(encodeValtype(n.descr.valtype)); // $FlowIgnore: GlobalType ensure that these props exists\n\n out.push(encodeMutability(n.descr.mutability));\n break;\n }\n\n case \"Memory\":\n {\n out.push(0x02); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeLimits(n.descr.limits)));\n break;\n }\n\n case \"Table\":\n {\n out.push(0x01);\n out.push(0x70); // element type\n // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeLimits(n.descr.limits)));\n break;\n }\n\n case \"FuncImportDescr\":\n {\n out.push(0x00); // $FlowIgnore\n\n assertNotIdentifierNode(n.descr.id); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.descr.id.value)));\n break;\n }\n\n default:\n throw new Error(\"Unsupport operation: encode module import of type: \" + n.descr.type);\n }\n\n return out;\n}\nfunction encodeSectionMetadata(n) {\n var out = [];\n var sectionId = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].sections[n.section];\n\n if (typeof sectionId === \"undefined\") {\n throw new Error(\"Unknown section: \" + n.section);\n }\n\n if (n.section === \"start\") {\n /**\n * This is not implemented yet because it's a special case which\n * doesn't have a vector in its section.\n */\n throw new Error(\"Unsupported section encoding of type start\");\n }\n\n out.push(sectionId);\n out.push.apply(out, _toConsumableArray(encodeU32(n.size.value)));\n out.push.apply(out, _toConsumableArray(encodeU32(n.vectorOfSize.value)));\n return out;\n}\nfunction encodeCallInstruction(n) {\n var out = [];\n assertNotIdentifierNode(n.index);\n out.push(0x10); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.index.value)));\n return out;\n}\nfunction encodeCallIndirectInstruction(n) {\n var out = []; // $FlowIgnore\n\n assertNotIdentifierNode(n.index);\n out.push(0x11); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.index.value))); // add a reserved byte\n\n out.push(0x00);\n return out;\n}\nfunction encodeModuleExport(n) {\n var out = [];\n assertNotIdentifierNode(n.descr.id);\n var exportTypeByteString = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].exportTypesByName[n.descr.exportType];\n\n if (typeof exportTypeByteString === \"undefined\") {\n throw new Error(\"Unknown export of type: \" + n.descr.exportType);\n }\n\n var exportTypeByte = parseInt(exportTypeByteString, 10);\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.name)));\n out.push(exportTypeByte); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.descr.id.value)));\n return out;\n}\nfunction encodeTypeInstruction(n) {\n var out = [0x60];\n var params = n.functype.params.map(function (x) {\n return x.valtype;\n }).map(encodeValtype);\n var results = n.functype.results.map(encodeValtype);\n out.push.apply(out, _toConsumableArray(encodeVec(params)));\n out.push.apply(out, _toConsumableArray(encodeVec(results)));\n return out;\n}\nfunction encodeInstr(n) {\n var out = [];\n var instructionName = n.id;\n\n if (typeof n.object === \"string\") {\n instructionName = \"\".concat(n.object, \".\").concat(String(n.id));\n }\n\n var byteString = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].symbolsByName[instructionName];\n\n if (typeof byteString === \"undefined\") {\n throw new Error(\"encodeInstr: unknown instruction \" + JSON.stringify(instructionName));\n }\n\n var byte = parseInt(byteString, 10);\n out.push(byte);\n\n if (n.args) {\n n.args.forEach(function (arg) {\n var encoder = encodeU32; // find correct encoder\n\n if (n.object === \"i32\") {\n encoder = encodeI32;\n }\n\n if (n.object === \"i64\") {\n encoder = encodeI64;\n }\n\n if (n.object === \"f32\") {\n encoder = _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.encodeF32;\n }\n\n if (n.object === \"f64\") {\n encoder = _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.encodeF64;\n }\n\n if (arg.type === \"NumberLiteral\" || arg.type === \"FloatLiteral\" || arg.type === \"LongNumberLiteral\") {\n // $FlowIgnore\n out.push.apply(out, _toConsumableArray(encoder(arg.value)));\n } else {\n throw new Error(\"Unsupported instruction argument encoding \" + JSON.stringify(arg.type));\n }\n });\n }\n\n return out;\n}\n\nfunction encodeExpr(instrs) {\n var out = [];\n instrs.forEach(function (instr) {\n // $FlowIgnore\n var n = (0,_index__WEBPACK_IMPORTED_MODULE_4__.encodeNode)(instr);\n out.push.apply(out, _toConsumableArray(n));\n });\n return out;\n}\n\nfunction encodeStringLiteral(n) {\n return encodeUTF8Vec(n.value);\n}\nfunction encodeGlobal(n) {\n var out = [];\n var _n$globalType = n.globalType,\n valtype = _n$globalType.valtype,\n mutability = _n$globalType.mutability;\n out.push(encodeValtype(valtype));\n out.push(encodeMutability(mutability));\n out.push.apply(out, _toConsumableArray(encodeExpr(n.init)));\n return out;\n}\nfunction encodeFuncBody(n) {\n var out = [];\n out.push(-1); // temporary function body size\n // FIXME(sven): get the func locals?\n\n var localBytes = encodeVec([]);\n out.push.apply(out, _toConsumableArray(localBytes));\n var funcBodyBytes = encodeExpr(n.body);\n out[0] = funcBodyBytes.length + localBytes.length;\n out.push.apply(out, _toConsumableArray(funcBodyBytes));\n return out;\n}\nfunction encodeIndexInFuncSection(n) {\n assertNotIdentifierNode(n.index); // $FlowIgnore\n\n return encodeU32(n.index.value);\n}\nfunction encodeElem(n) {\n var out = [];\n assertNotIdentifierNode(n.table); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.table.value)));\n out.push.apply(out, _toConsumableArray(encodeExpr(n.offset))); // $FlowIgnore\n\n var funcs = n.funcs.reduce(function (acc, x) {\n return _toConsumableArray(acc).concat(_toConsumableArray(encodeU32(x.value)));\n }, []);\n out.push.apply(out, _toConsumableArray(encodeVec(funcs)));\n return out;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-gen/esm/index.js": /*!***********************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-gen/esm/index.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"encodeNode\": () => (/* binding */ encodeNode),\n/* harmony export */ \"encodeU32\": () => (/* binding */ encodeU32)\n/* harmony export */ });\n/* harmony import */ var _encoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./encoder */ \"./node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js\");\n\nfunction encodeNode(n) {\n switch (n.type) {\n case \"ModuleImport\":\n // $FlowIgnore: ModuleImport ensure that the node is well formated\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeModuleImport(n);\n\n case \"SectionMetadata\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeSectionMetadata(n);\n\n case \"CallInstruction\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeCallInstruction(n);\n\n case \"CallIndirectInstruction\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeCallIndirectInstruction(n);\n\n case \"TypeInstruction\":\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeTypeInstruction(n);\n\n case \"Instr\":\n // $FlowIgnore\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeInstr(n);\n\n case \"ModuleExport\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeModuleExport(n);\n\n case \"Global\":\n // $FlowIgnore\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeGlobal(n);\n\n case \"Func\":\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeFuncBody(n);\n\n case \"IndexInFuncSection\":\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeIndexInFuncSection(n);\n\n case \"StringLiteral\":\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeStringLiteral(n);\n\n case \"Elem\":\n return _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeElem(n);\n\n default:\n throw new Error(\"Unsupported encoding for node of type: \" + JSON.stringify(n.type));\n }\n}\nvar encodeU32 = _encoder__WEBPACK_IMPORTED_MODULE_0__.encodeU32;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-gen/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js": /*!*******************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.encodeVersion = encodeVersion;\nexports.encodeHeader = encodeHeader;\nexports.encodeU32 = encodeU32;\nexports.encodeI32 = encodeI32;\nexports.encodeI64 = encodeI64;\nexports.encodeVec = encodeVec;\nexports.encodeValtype = encodeValtype;\nexports.encodeMutability = encodeMutability;\nexports.encodeUTF8Vec = encodeUTF8Vec;\nexports.encodeLimits = encodeLimits;\nexports.encodeModuleImport = encodeModuleImport;\nexports.encodeSectionMetadata = encodeSectionMetadata;\nexports.encodeCallInstruction = encodeCallInstruction;\nexports.encodeCallIndirectInstruction = encodeCallIndirectInstruction;\nexports.encodeModuleExport = encodeModuleExport;\nexports.encodeTypeInstruction = encodeTypeInstruction;\nexports.encodeInstr = encodeInstr;\nexports.encodeStringLiteral = encodeStringLiteral;\nexports.encodeGlobal = encodeGlobal;\nexports.encodeFuncBody = encodeFuncBody;\nexports.encodeIndexInFuncSection = encodeIndexInFuncSection;\nexports.encodeElem = encodeElem;\n\nvar leb = _interopRequireWildcard(__webpack_require__(/*! @webassemblyjs/leb128 */ \"./node_modules/@webassemblyjs/leb128/esm/index.js\"));\n\nvar ieee754 = _interopRequireWildcard(__webpack_require__(/*! @webassemblyjs/ieee754 */ \"./node_modules/@webassemblyjs/ieee754/esm/index.js\"));\n\nvar utf8 = _interopRequireWildcard(__webpack_require__(/*! @webassemblyjs/utf8 */ \"./node_modules/@webassemblyjs/utf8/esm/index.js\"));\n\nvar _helperWasmBytecode = _interopRequireDefault(__webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\"));\n\nvar _index = __webpack_require__(/*! ../index */ \"./node_modules/@webassemblyjs/wasm-gen/lib/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction assertNotIdentifierNode(n) {\n if (n.type === \"Identifier\") {\n throw new Error(\"Unsupported node Identifier\");\n }\n}\n\nfunction encodeVersion(v) {\n var bytes = _helperWasmBytecode.default.moduleVersion;\n bytes[0] = v;\n return bytes;\n}\n\nfunction encodeHeader() {\n return _helperWasmBytecode.default.magicModuleHeader;\n}\n\nfunction encodeU32(v) {\n var uint8view = new Uint8Array(leb.encodeU32(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\n\nfunction encodeI32(v) {\n var uint8view = new Uint8Array(leb.encodeI32(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\n\nfunction encodeI64(v) {\n var uint8view = new Uint8Array(leb.encodeI64(v));\n\n var array = _toConsumableArray(uint8view);\n\n return array;\n}\n\nfunction encodeVec(elements) {\n var size = encodeU32(elements.length);\n return _toConsumableArray(size).concat(_toConsumableArray(elements));\n}\n\nfunction encodeValtype(v) {\n var byte = _helperWasmBytecode.default.valtypesByString[v];\n\n if (typeof byte === \"undefined\") {\n throw new Error(\"Unknown valtype: \" + v);\n }\n\n return parseInt(byte, 10);\n}\n\nfunction encodeMutability(v) {\n var byte = _helperWasmBytecode.default.globalTypesByString[v];\n\n if (typeof byte === \"undefined\") {\n throw new Error(\"Unknown mutability: \" + v);\n }\n\n return parseInt(byte, 10);\n}\n\nfunction encodeUTF8Vec(str) {\n return encodeVec(utf8.encode(str));\n}\n\nfunction encodeLimits(n) {\n var out = [];\n\n if (typeof n.max === \"number\") {\n out.push(0x01);\n out.push.apply(out, _toConsumableArray(encodeU32(n.min))); // $FlowIgnore: ensured by the typeof\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.max)));\n } else {\n out.push(0x00);\n out.push.apply(out, _toConsumableArray(encodeU32(n.min)));\n }\n\n return out;\n}\n\nfunction encodeModuleImport(n) {\n var out = [];\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.module)));\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.name)));\n\n switch (n.descr.type) {\n case \"GlobalType\":\n {\n out.push(0x03); // $FlowIgnore: GlobalType ensure that these props exists\n\n out.push(encodeValtype(n.descr.valtype)); // $FlowIgnore: GlobalType ensure that these props exists\n\n out.push(encodeMutability(n.descr.mutability));\n break;\n }\n\n case \"Memory\":\n {\n out.push(0x02); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeLimits(n.descr.limits)));\n break;\n }\n\n case \"Table\":\n {\n out.push(0x01);\n out.push(0x70); // element type\n // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeLimits(n.descr.limits)));\n break;\n }\n\n case \"FuncImportDescr\":\n {\n out.push(0x00); // $FlowIgnore\n\n assertNotIdentifierNode(n.descr.id); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.descr.id.value)));\n break;\n }\n\n default:\n throw new Error(\"Unsupport operation: encode module import of type: \" + n.descr.type);\n }\n\n return out;\n}\n\nfunction encodeSectionMetadata(n) {\n var out = [];\n var sectionId = _helperWasmBytecode.default.sections[n.section];\n\n if (typeof sectionId === \"undefined\") {\n throw new Error(\"Unknown section: \" + n.section);\n }\n\n if (n.section === \"start\") {\n /**\n * This is not implemented yet because it's a special case which\n * doesn't have a vector in its section.\n */\n throw new Error(\"Unsupported section encoding of type start\");\n }\n\n out.push(sectionId);\n out.push.apply(out, _toConsumableArray(encodeU32(n.size.value)));\n out.push.apply(out, _toConsumableArray(encodeU32(n.vectorOfSize.value)));\n return out;\n}\n\nfunction encodeCallInstruction(n) {\n var out = [];\n assertNotIdentifierNode(n.index);\n out.push(0x10); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.index.value)));\n return out;\n}\n\nfunction encodeCallIndirectInstruction(n) {\n var out = []; // $FlowIgnore\n\n assertNotIdentifierNode(n.index);\n out.push(0x11); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.index.value))); // add a reserved byte\n\n out.push(0x00);\n return out;\n}\n\nfunction encodeModuleExport(n) {\n var out = [];\n assertNotIdentifierNode(n.descr.id);\n var exportTypeByteString = _helperWasmBytecode.default.exportTypesByName[n.descr.exportType];\n\n if (typeof exportTypeByteString === \"undefined\") {\n throw new Error(\"Unknown export of type: \" + n.descr.exportType);\n }\n\n var exportTypeByte = parseInt(exportTypeByteString, 10);\n out.push.apply(out, _toConsumableArray(encodeUTF8Vec(n.name)));\n out.push(exportTypeByte); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.descr.id.value)));\n return out;\n}\n\nfunction encodeTypeInstruction(n) {\n var out = [0x60];\n var params = n.functype.params.map(function (x) {\n return x.valtype;\n }).map(encodeValtype);\n var results = n.functype.results.map(encodeValtype);\n out.push.apply(out, _toConsumableArray(encodeVec(params)));\n out.push.apply(out, _toConsumableArray(encodeVec(results)));\n return out;\n}\n\nfunction encodeInstr(n) {\n var out = [];\n var instructionName = n.id;\n\n if (typeof n.object === \"string\") {\n instructionName = \"\".concat(n.object, \".\").concat(String(n.id));\n }\n\n var byteString = _helperWasmBytecode.default.symbolsByName[instructionName];\n\n if (typeof byteString === \"undefined\") {\n throw new Error(\"encodeInstr: unknown instruction \" + JSON.stringify(instructionName));\n }\n\n var byte = parseInt(byteString, 10);\n out.push(byte);\n\n if (n.args) {\n n.args.forEach(function (arg) {\n var encoder = encodeU32; // find correct encoder\n\n if (n.object === \"i32\") {\n encoder = encodeI32;\n }\n\n if (n.object === \"i64\") {\n encoder = encodeI64;\n }\n\n if (n.object === \"f32\") {\n encoder = ieee754.encodeF32;\n }\n\n if (n.object === \"f64\") {\n encoder = ieee754.encodeF64;\n }\n\n if (arg.type === \"NumberLiteral\" || arg.type === \"FloatLiteral\" || arg.type === \"LongNumberLiteral\") {\n // $FlowIgnore\n out.push.apply(out, _toConsumableArray(encoder(arg.value)));\n } else {\n throw new Error(\"Unsupported instruction argument encoding \" + JSON.stringify(arg.type));\n }\n });\n }\n\n return out;\n}\n\nfunction encodeExpr(instrs) {\n var out = [];\n instrs.forEach(function (instr) {\n // $FlowIgnore\n var n = (0, _index.encodeNode)(instr);\n out.push.apply(out, _toConsumableArray(n));\n });\n return out;\n}\n\nfunction encodeStringLiteral(n) {\n return encodeUTF8Vec(n.value);\n}\n\nfunction encodeGlobal(n) {\n var out = [];\n var _n$globalType = n.globalType,\n valtype = _n$globalType.valtype,\n mutability = _n$globalType.mutability;\n out.push(encodeValtype(valtype));\n out.push(encodeMutability(mutability));\n out.push.apply(out, _toConsumableArray(encodeExpr(n.init)));\n return out;\n}\n\nfunction encodeFuncBody(n) {\n var out = [];\n out.push(-1); // temporary function body size\n // FIXME(sven): get the func locals?\n\n var localBytes = encodeVec([]);\n out.push.apply(out, _toConsumableArray(localBytes));\n var funcBodyBytes = encodeExpr(n.body);\n out[0] = funcBodyBytes.length + localBytes.length;\n out.push.apply(out, _toConsumableArray(funcBodyBytes));\n return out;\n}\n\nfunction encodeIndexInFuncSection(n) {\n assertNotIdentifierNode(n.index); // $FlowIgnore\n\n return encodeU32(n.index.value);\n}\n\nfunction encodeElem(n) {\n var out = [];\n assertNotIdentifierNode(n.table); // $FlowIgnore\n\n out.push.apply(out, _toConsumableArray(encodeU32(n.table.value)));\n out.push.apply(out, _toConsumableArray(encodeExpr(n.offset))); // $FlowIgnore\n\n var funcs = n.funcs.reduce(function (acc, x) {\n return _toConsumableArray(acc).concat(_toConsumableArray(encodeU32(x.value)));\n }, []);\n out.push.apply(out, _toConsumableArray(encodeVec(funcs)));\n return out;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-gen/lib/index.js": /*!***********************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-gen/lib/index.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.encodeNode = encodeNode;\nexports.encodeU32 = void 0;\n\nvar encoder = _interopRequireWildcard(__webpack_require__(/*! ./encoder */ \"./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js\"));\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction encodeNode(n) {\n switch (n.type) {\n case \"ModuleImport\":\n // $FlowIgnore: ModuleImport ensure that the node is well formated\n return encoder.encodeModuleImport(n);\n\n case \"SectionMetadata\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return encoder.encodeSectionMetadata(n);\n\n case \"CallInstruction\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return encoder.encodeCallInstruction(n);\n\n case \"CallIndirectInstruction\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return encoder.encodeCallIndirectInstruction(n);\n\n case \"TypeInstruction\":\n return encoder.encodeTypeInstruction(n);\n\n case \"Instr\":\n // $FlowIgnore\n return encoder.encodeInstr(n);\n\n case \"ModuleExport\":\n // $FlowIgnore: SectionMetadata ensure that the node is well formated\n return encoder.encodeModuleExport(n);\n\n case \"Global\":\n // $FlowIgnore\n return encoder.encodeGlobal(n);\n\n case \"Func\":\n return encoder.encodeFuncBody(n);\n\n case \"IndexInFuncSection\":\n return encoder.encodeIndexInFuncSection(n);\n\n case \"StringLiteral\":\n return encoder.encodeStringLiteral(n);\n\n case \"Elem\":\n return encoder.encodeElem(n);\n\n default:\n throw new Error(\"Unsupported encoding for node of type: \" + JSON.stringify(n.type));\n }\n}\n\nvar encodeU32 = encoder.encodeU32;\nexports.encodeU32 = encodeU32;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-gen/lib/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-opt/esm/index.js": /*!***********************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-opt/esm/index.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"shrinkPaddedLEB128\": () => (/* binding */ shrinkPaddedLEB128)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_wasm_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/wasm-parser */ \"./node_modules/@webassemblyjs/wasm-parser/esm/index.js\");\n/* harmony import */ var _leb128_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./leb128.js */ \"./node_modules/@webassemblyjs/wasm-opt/esm/leb128.js\");\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar OptimizerError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(OptimizerError, _Error);\n\n function OptimizerError(name, initalError) {\n var _this;\n\n _classCallCheck(this, OptimizerError);\n\n _this = _possibleConstructorReturn(this, (OptimizerError.__proto__ || Object.getPrototypeOf(OptimizerError)).call(this, \"Error while optimizing: \" + name + \": \" + initalError.message));\n _this.stack = initalError.stack;\n return _this;\n }\n\n return OptimizerError;\n}(Error);\n\nvar decoderOpts = {\n ignoreCodeSection: true,\n ignoreDataSection: true\n};\nfunction shrinkPaddedLEB128(uint8Buffer) {\n try {\n var ast = (0,_webassemblyjs_wasm_parser__WEBPACK_IMPORTED_MODULE_0__.decode)(uint8Buffer.buffer, decoderOpts);\n return (0,_leb128_js__WEBPACK_IMPORTED_MODULE_1__.shrinkPaddedLEB128)(ast, uint8Buffer);\n } catch (e) {\n throw new OptimizerError(\"shrinkPaddedLEB128\", e);\n }\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-opt/esm/index.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-opt/esm/leb128.js": /*!************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-opt/esm/leb128.js ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"shrinkPaddedLEB128\": () => (/* binding */ shrinkPaddedLEB128)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_wasm_gen_lib_encoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/wasm-gen/lib/encoder */ \"./node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js\");\n/* harmony import */ var _webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/helper-buffer */ \"./node_modules/@webassemblyjs/helper-buffer/esm/index.js\");\n\n\n\n\nfunction shiftFollowingSections(ast, _ref, deltaInSizeEncoding) {\n var section = _ref.section;\n // Once we hit our section every that is after needs to be shifted by the delta\n var encounteredSection = false;\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.traverse)(ast, {\n SectionMetadata: function SectionMetadata(path) {\n if (path.node.section === section) {\n encounteredSection = true;\n return;\n }\n\n if (encounteredSection === true) {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.shiftSection)(ast, path.node, deltaInSizeEncoding);\n }\n }\n });\n}\n\nfunction shrinkPaddedLEB128(ast, uint8Buffer) {\n (0,_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_0__.traverse)(ast, {\n SectionMetadata: function SectionMetadata(_ref2) {\n var node = _ref2.node;\n\n /**\n * Section size\n */\n {\n var newu32Encoded = (0,_webassemblyjs_wasm_gen_lib_encoder__WEBPACK_IMPORTED_MODULE_1__.encodeU32)(node.size.value);\n var newu32EncodedLen = newu32Encoded.length;\n var start = node.size.loc.start.column;\n var end = node.size.loc.end.column;\n var oldu32EncodedLen = end - start;\n\n if (newu32EncodedLen !== oldu32EncodedLen) {\n var deltaInSizeEncoding = oldu32EncodedLen - newu32EncodedLen;\n uint8Buffer = (0,_webassemblyjs_helper_buffer__WEBPACK_IMPORTED_MODULE_2__.overrideBytesInBuffer)(uint8Buffer, start, end, newu32Encoded);\n shiftFollowingSections(ast, node, -deltaInSizeEncoding);\n }\n }\n }\n });\n return uint8Buffer;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-opt/esm/leb128.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-parser/esm/decoder.js": /*!****************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-parser/esm/decoder.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"decode\": () => (/* binding */ decode)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/helper-api-error */ \"./node_modules/@webassemblyjs/helper-api-error/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/ieee754 */ \"./node_modules/@webassemblyjs/ieee754/esm/index.js\");\n/* harmony import */ var _webassemblyjs_utf8__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @webassemblyjs/utf8 */ \"./node_modules/@webassemblyjs/utf8/esm/index.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n/* harmony import */ var _webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @webassemblyjs/leb128 */ \"./node_modules/@webassemblyjs/leb128/esm/index.js\");\n/* harmony import */ var _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @webassemblyjs/helper-wasm-bytecode */ \"./node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js\");\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n\n\n\n\n\n\n\nfunction toHex(n) {\n return \"0x\" + Number(n).toString(16);\n}\n\nfunction byteArrayEq(l, r) {\n if (l.length !== r.length) {\n return false;\n }\n\n for (var i = 0; i < l.length; i++) {\n if (l[i] !== r[i]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction decode(ab, opts) {\n var buf = new Uint8Array(ab);\n var getUniqueName = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.getUniqueNameGenerator();\n var offset = 0;\n\n function getPosition() {\n return {\n line: -1,\n column: offset\n };\n }\n\n function dump(b, msg) {\n if (opts.dump === false) return;\n var pad = \"\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\";\n var str = \"\";\n\n if (b.length < 5) {\n str = b.map(toHex).join(\" \");\n } else {\n str = \"...\";\n }\n\n console.log(toHex(offset) + \":\\t\", str, pad, \";\", msg);\n }\n\n function dumpSep(msg) {\n if (opts.dump === false) return;\n console.log(\";\", msg);\n }\n /**\n * TODO(sven): we can atually use a same structure\n * we are adding incrementally new features\n */\n\n\n var state = {\n elementsInFuncSection: [],\n elementsInExportSection: [],\n elementsInCodeSection: [],\n\n /**\n * Decode memory from:\n * - Memory section\n */\n memoriesInModule: [],\n\n /**\n * Decoded types from:\n * - Type section\n */\n typesInModule: [],\n\n /**\n * Decoded functions from:\n * - Function section\n * - Import section\n */\n functionsInModule: [],\n\n /**\n * Decoded tables from:\n * - Table section\n */\n tablesInModule: [],\n\n /**\n * Decoded globals from:\n * - Global section\n */\n globalsInModule: []\n };\n\n function isEOF() {\n return offset >= buf.length;\n }\n\n function eatBytes(n) {\n offset = offset + n;\n }\n\n function readBytesAtOffset(_offset, numberOfBytes) {\n var arr = [];\n\n for (var i = 0; i < numberOfBytes; i++) {\n arr.push(buf[_offset + i]);\n }\n\n return arr;\n }\n\n function readBytes(numberOfBytes) {\n return readBytesAtOffset(offset, numberOfBytes);\n }\n\n function readF64() {\n var bytes = readBytes(_webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F64);\n var value = _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.decodeF64(bytes);\n\n if (Math.sign(value) * value === Infinity) {\n return {\n value: Math.sign(value),\n inf: true,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F64\n };\n }\n\n if (isNaN(value)) {\n var sign = bytes[bytes.length - 1] >> 7 ? -1 : 1;\n var mantissa = 0;\n\n for (var i = 0; i < bytes.length - 2; ++i) {\n mantissa += bytes[i] * Math.pow(256, i);\n }\n\n mantissa += bytes[bytes.length - 2] % 16 * Math.pow(256, bytes.length - 2);\n return {\n value: sign * mantissa,\n nan: true,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F64\n };\n }\n\n return {\n value: value,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F64\n };\n }\n\n function readF32() {\n var bytes = readBytes(_webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F32);\n var value = _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.decodeF32(bytes);\n\n if (Math.sign(value) * value === Infinity) {\n return {\n value: Math.sign(value),\n inf: true,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F32\n };\n }\n\n if (isNaN(value)) {\n var sign = bytes[bytes.length - 1] >> 7 ? -1 : 1;\n var mantissa = 0;\n\n for (var i = 0; i < bytes.length - 2; ++i) {\n mantissa += bytes[i] * Math.pow(256, i);\n }\n\n mantissa += bytes[bytes.length - 2] % 128 * Math.pow(256, bytes.length - 2);\n return {\n value: sign * mantissa,\n nan: true,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F32\n };\n }\n\n return {\n value: value,\n nextIndex: _webassemblyjs_ieee754__WEBPACK_IMPORTED_MODULE_1__.NUMBER_OF_BYTE_F32\n };\n }\n\n function readUTF8String() {\n var lenu32 = readU32(); // Don't eat any bytes. Instead, peek ahead of the current offset using\n // readBytesAtOffset below. This keeps readUTF8String neutral with respect\n // to the current offset, just like the other readX functions.\n\n var strlen = lenu32.value;\n dump([strlen], \"string length\");\n var bytes = readBytesAtOffset(offset + lenu32.nextIndex, strlen);\n var value = _webassemblyjs_utf8__WEBPACK_IMPORTED_MODULE_2__.decode(bytes);\n return {\n value: value,\n nextIndex: strlen + lenu32.nextIndex\n };\n }\n /**\n * Decode an unsigned 32bits integer\n *\n * The length will be handled by the leb librairy, we pass the max number of\n * byte.\n */\n\n\n function readU32() {\n var bytes = readBytes(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.MAX_NUMBER_OF_BYTE_U32);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeUInt32)(buffer);\n }\n\n function readVaruint32() {\n // where 32 bits = max 4 bytes\n var bytes = readBytes(4);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeUInt32)(buffer);\n }\n\n function readVaruint7() {\n // where 7 bits = max 1 bytes\n var bytes = readBytes(1);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeUInt32)(buffer);\n }\n /**\n * Decode a signed 32bits interger\n */\n\n\n function read32() {\n var bytes = readBytes(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.MAX_NUMBER_OF_BYTE_U32);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeInt32)(buffer);\n }\n /**\n * Decode a signed 64bits integer\n */\n\n\n function read64() {\n var bytes = readBytes(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.MAX_NUMBER_OF_BYTE_U64);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeInt64)(buffer);\n }\n\n function readU64() {\n var bytes = readBytes(_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.MAX_NUMBER_OF_BYTE_U64);\n var buffer = Buffer.from(bytes);\n return (0,_webassemblyjs_leb128__WEBPACK_IMPORTED_MODULE_4__.decodeUInt64)(buffer);\n }\n\n function readByte() {\n return readBytes(1)[0];\n }\n\n function parseModuleHeader() {\n if (isEOF() === true || offset + 4 > buf.length) {\n throw new Error(\"unexpected end\");\n }\n\n var header = readBytes(4);\n\n if (byteArrayEq(_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].magicModuleHeader, header) === false) {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"magic header not detected\");\n }\n\n dump(header, \"wasm magic header\");\n eatBytes(4);\n }\n\n function parseVersion() {\n if (isEOF() === true || offset + 4 > buf.length) {\n throw new Error(\"unexpected end\");\n }\n\n var version = readBytes(4);\n\n if (byteArrayEq(_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].moduleVersion, version) === false) {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"unknown binary version\");\n }\n\n dump(version, \"wasm version\");\n eatBytes(4);\n }\n\n function parseVec(cast) {\n var u32 = readU32();\n var length = u32.value;\n eatBytes(u32.nextIndex);\n dump([length], \"number\");\n\n if (length === 0) {\n return [];\n }\n\n var elements = [];\n\n for (var i = 0; i < length; i++) {\n var byte = readByte();\n eatBytes(1);\n var value = cast(byte);\n dump([byte], value);\n\n if (typeof value === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Internal failure: parseVec could not cast the value\");\n }\n\n elements.push(value);\n }\n\n return elements;\n } // Type section\n // https://webassembly.github.io/spec/binary/modules.html#binary-typesec\n\n\n function parseTypeSection(numberOfTypes) {\n var typeInstructionNodes = [];\n dump([numberOfTypes], \"num types\");\n\n for (var i = 0; i < numberOfTypes; i++) {\n var _startLoc = getPosition();\n\n dumpSep(\"type \" + i);\n var type = readByte();\n eatBytes(1);\n\n if (type == _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].types.func) {\n dump([type], \"func\");\n var paramValtypes = parseVec(function (b) {\n return _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].valtypes[b];\n });\n var params = paramValtypes.map(function (v) {\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.funcParam(\n /*valtype*/\n v);\n });\n var result = parseVec(function (b) {\n return _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].valtypes[b];\n });\n typeInstructionNodes.push(function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.typeInstruction(undefined, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.signature(params, result)), endLoc, _startLoc);\n }());\n state.typesInModule.push({\n params: params,\n result: result\n });\n } else {\n throw new Error(\"Unsupported type: \" + toHex(type));\n }\n }\n\n return typeInstructionNodes;\n } // Import section\n // https://webassembly.github.io/spec/binary/modules.html#binary-importsec\n\n\n function parseImportSection(numberOfImports) {\n var imports = [];\n\n for (var i = 0; i < numberOfImports; i++) {\n dumpSep(\"import header \" + i);\n\n var _startLoc2 = getPosition();\n /**\n * Module name\n */\n\n\n var moduleName = readUTF8String();\n eatBytes(moduleName.nextIndex);\n dump([], \"module name (\".concat(moduleName.value, \")\"));\n /**\n * Name\n */\n\n var name = readUTF8String();\n eatBytes(name.nextIndex);\n dump([], \"name (\".concat(name.value, \")\"));\n /**\n * Import descr\n */\n\n var descrTypeByte = readByte();\n eatBytes(1);\n var descrType = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].importTypes[descrTypeByte];\n dump([descrTypeByte], \"import kind\");\n\n if (typeof descrType === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unknown import description type: \" + toHex(descrTypeByte));\n }\n\n var importDescr = void 0;\n\n if (descrType === \"func\") {\n var indexU32 = readU32();\n var typeindex = indexU32.value;\n eatBytes(indexU32.nextIndex);\n dump([typeindex], \"type index\");\n var signature = state.typesInModule[typeindex];\n\n if (typeof signature === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"function signature not found (\".concat(typeindex, \")\"));\n }\n\n var id = getUniqueName(\"func\");\n importDescr = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.funcImportDescr(id, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.signature(signature.params, signature.result));\n state.functionsInModule.push({\n id: _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(name.value),\n signature: signature,\n isExternal: true\n });\n } else if (descrType === \"global\") {\n importDescr = parseGlobalType();\n var globalNode = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.global(importDescr, []);\n state.globalsInModule.push(globalNode);\n } else if (descrType === \"table\") {\n importDescr = parseTableType(i);\n } else if (descrType === \"mem\") {\n var memoryNode = parseMemoryType(0);\n state.memoriesInModule.push(memoryNode);\n importDescr = memoryNode;\n } else {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unsupported import of type: \" + descrType);\n }\n\n imports.push(function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.moduleImport(moduleName.value, name.value, importDescr), endLoc, _startLoc2);\n }());\n }\n\n return imports;\n } // Function section\n // https://webassembly.github.io/spec/binary/modules.html#function-section\n\n\n function parseFuncSection(numberOfFunctions) {\n dump([numberOfFunctions], \"num funcs\");\n\n for (var i = 0; i < numberOfFunctions; i++) {\n var indexU32 = readU32();\n var typeindex = indexU32.value;\n eatBytes(indexU32.nextIndex);\n dump([typeindex], \"type index\");\n var signature = state.typesInModule[typeindex];\n\n if (typeof signature === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"function signature not found (\".concat(typeindex, \")\"));\n } // preserve anonymous, a name might be resolved later\n\n\n var id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withRaw(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(getUniqueName(\"func\")), \"\");\n state.functionsInModule.push({\n id: id,\n signature: signature,\n isExternal: false\n });\n }\n } // Export section\n // https://webassembly.github.io/spec/binary/modules.html#export-section\n\n\n function parseExportSection(numberOfExport) {\n dump([numberOfExport], \"num exports\"); // Parse vector of exports\n\n for (var i = 0; i < numberOfExport; i++) {\n var _startLoc3 = getPosition();\n /**\n * Name\n */\n\n\n var name = readUTF8String();\n eatBytes(name.nextIndex);\n dump([], \"export name (\".concat(name.value, \")\"));\n /**\n * exportdescr\n */\n\n var typeIndex = readByte();\n eatBytes(1);\n dump([typeIndex], \"export kind\");\n var indexu32 = readU32();\n var index = indexu32.value;\n eatBytes(indexu32.nextIndex);\n dump([index], \"export index\");\n var id = void 0,\n signature = void 0;\n\n if (_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].exportTypes[typeIndex] === \"Func\") {\n var func = state.functionsInModule[index];\n\n if (typeof func === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"unknown function (\".concat(index, \")\"));\n }\n\n id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(index, String(index));\n signature = func.signature;\n } else if (_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].exportTypes[typeIndex] === \"Table\") {\n var table = state.tablesInModule[index];\n\n if (typeof table === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"unknown table \".concat(index));\n }\n\n id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(index, String(index));\n signature = null;\n } else if (_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].exportTypes[typeIndex] === \"Mem\") {\n var memNode = state.memoriesInModule[index];\n\n if (typeof memNode === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"unknown memory \".concat(index));\n }\n\n id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(index, String(index));\n signature = null;\n } else if (_webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].exportTypes[typeIndex] === \"Global\") {\n var global = state.globalsInModule[index];\n\n if (typeof global === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"unknown global \".concat(index));\n }\n\n id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(index, String(index));\n signature = null;\n } else {\n console.warn(\"Unsupported export type: \" + toHex(typeIndex));\n return;\n }\n\n var endLoc = getPosition();\n state.elementsInExportSection.push({\n name: name.value,\n type: _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].exportTypes[typeIndex],\n signature: signature,\n id: id,\n index: index,\n endLoc: endLoc,\n startLoc: _startLoc3\n });\n }\n } // Code section\n // https://webassembly.github.io/spec/binary/modules.html#code-section\n\n\n function parseCodeSection(numberOfFuncs) {\n dump([numberOfFuncs], \"number functions\"); // Parse vector of function\n\n for (var i = 0; i < numberOfFuncs; i++) {\n var _startLoc4 = getPosition();\n\n dumpSep(\"function body \" + i); // the u32 size of the function code in bytes\n // Ignore it for now\n\n var bodySizeU32 = readU32();\n eatBytes(bodySizeU32.nextIndex);\n dump([bodySizeU32.value], \"function body size\");\n var code = [];\n /**\n * Parse locals\n */\n\n var funcLocalNumU32 = readU32();\n var funcLocalNum = funcLocalNumU32.value;\n eatBytes(funcLocalNumU32.nextIndex);\n dump([funcLocalNum], \"num locals\");\n var locals = [];\n\n for (var _i = 0; _i < funcLocalNum; _i++) {\n var _startLoc5 = getPosition();\n\n var localCountU32 = readU32();\n var localCount = localCountU32.value;\n eatBytes(localCountU32.nextIndex);\n dump([localCount], \"num local\");\n var valtypeByte = readByte();\n eatBytes(1);\n var type = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].valtypes[valtypeByte];\n var args = [];\n\n for (var _i2 = 0; _i2 < localCount; _i2++) {\n args.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.valtypeLiteral(type));\n }\n\n var localNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.instruction(\"local\", args), endLoc, _startLoc5);\n }();\n\n locals.push(localNode);\n dump([valtypeByte], type);\n\n if (typeof type === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected valtype: \" + toHex(valtypeByte));\n }\n }\n\n code.push.apply(code, locals); // Decode instructions until the end\n\n parseInstructionBlock(code);\n var endLoc = getPosition();\n state.elementsInCodeSection.push({\n code: code,\n locals: locals,\n endLoc: endLoc,\n startLoc: _startLoc4,\n bodySize: bodySizeU32.value\n });\n }\n }\n\n function parseInstructionBlock(code) {\n while (true) {\n var _startLoc6 = getPosition();\n\n var instructionAlreadyCreated = false;\n var instructionByte = readByte();\n eatBytes(1);\n\n if (instructionByte === 0xfe) {\n instructionByte = 0xfe00 + readByte();\n eatBytes(1);\n }\n\n var instruction = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].symbolsByByte[instructionByte];\n\n if (typeof instruction === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected instruction: \" + toHex(instructionByte));\n }\n\n if (typeof instruction.object === \"string\") {\n dump([instructionByte], \"\".concat(instruction.object, \".\").concat(instruction.name));\n } else {\n dump([instructionByte], instruction.name);\n }\n /**\n * End of the function\n */\n\n\n if (instruction.name === \"end\") {\n var node = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.instruction(instruction.name), endLoc, _startLoc6);\n }();\n\n code.push(node);\n break;\n }\n\n var args = [];\n\n if (instruction.name === \"loop\") {\n var _startLoc7 = getPosition();\n\n var blocktypeByte = readByte();\n eatBytes(1);\n var blocktype = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].blockTypes[blocktypeByte];\n dump([blocktypeByte], \"blocktype\");\n\n if (typeof blocktype === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected blocktype: \" + toHex(blocktypeByte));\n }\n\n var instr = [];\n parseInstructionBlock(instr); // preserve anonymous\n\n var label = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withRaw(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(getUniqueName(\"loop\")), \"\");\n\n var loopNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.loopInstruction(label, blocktype, instr), endLoc, _startLoc7);\n }();\n\n code.push(loopNode);\n instructionAlreadyCreated = true;\n } else if (instruction.name === \"if\") {\n var _startLoc8 = getPosition();\n\n var _blocktypeByte = readByte();\n\n eatBytes(1);\n var _blocktype = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].blockTypes[_blocktypeByte];\n dump([_blocktypeByte], \"blocktype\");\n\n if (typeof _blocktype === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected blocktype: \" + toHex(_blocktypeByte));\n }\n\n var testIndex = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withRaw(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(getUniqueName(\"if\")), \"\");\n var ifBody = [];\n parseInstructionBlock(ifBody); // Defaults to no alternate\n\n var elseIndex = 0;\n\n for (elseIndex = 0; elseIndex < ifBody.length; ++elseIndex) {\n var _instr = ifBody[elseIndex];\n\n if (_instr.type === \"Instr\" && _instr.id === \"else\") {\n break;\n }\n }\n\n var consequentInstr = ifBody.slice(0, elseIndex);\n var alternate = ifBody.slice(elseIndex + 1); // wast sugar\n\n var testInstrs = [];\n\n var ifNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.ifInstruction(testIndex, testInstrs, _blocktype, consequentInstr, alternate), endLoc, _startLoc8);\n }();\n\n code.push(ifNode);\n instructionAlreadyCreated = true;\n } else if (instruction.name === \"block\") {\n var _startLoc9 = getPosition();\n\n var _blocktypeByte2 = readByte();\n\n eatBytes(1);\n var _blocktype2 = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].blockTypes[_blocktypeByte2];\n dump([_blocktypeByte2], \"blocktype\");\n\n if (typeof _blocktype2 === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected blocktype: \" + toHex(_blocktypeByte2));\n }\n\n var _instr2 = [];\n parseInstructionBlock(_instr2); // preserve anonymous\n\n var _label = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withRaw(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(getUniqueName(\"block\")), \"\");\n\n var blockNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.blockInstruction(_label, _instr2, _blocktype2), endLoc, _startLoc9);\n }();\n\n code.push(blockNode);\n instructionAlreadyCreated = true;\n } else if (instruction.name === \"call\") {\n var indexu32 = readU32();\n var index = indexu32.value;\n eatBytes(indexu32.nextIndex);\n dump([index], \"index\");\n\n var callNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.callInstruction(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.indexLiteral(index)), endLoc, _startLoc6);\n }();\n\n code.push(callNode);\n instructionAlreadyCreated = true;\n } else if (instruction.name === \"call_indirect\") {\n var _startLoc10 = getPosition();\n\n var indexU32 = readU32();\n var typeindex = indexU32.value;\n eatBytes(indexU32.nextIndex);\n dump([typeindex], \"type index\");\n var signature = state.typesInModule[typeindex];\n\n if (typeof signature === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"call_indirect signature not found (\".concat(typeindex, \")\"));\n }\n\n var _callNode = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.callIndirectInstruction(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.signature(signature.params, signature.result), []);\n\n var flagU32 = readU32();\n var flag = flagU32.value; // 0x00 - reserved byte\n\n eatBytes(flagU32.nextIndex);\n\n if (flag !== 0) {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"zero flag expected\");\n }\n\n code.push(function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_callNode, endLoc, _startLoc10);\n }());\n instructionAlreadyCreated = true;\n } else if (instruction.name === \"br_table\") {\n var indicesu32 = readU32();\n var indices = indicesu32.value;\n eatBytes(indicesu32.nextIndex);\n dump([indices], \"num indices\");\n\n for (var i = 0; i <= indices; i++) {\n var _indexu = readU32();\n\n var _index = _indexu.value;\n eatBytes(_indexu.nextIndex);\n dump([_index], \"index\");\n args.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(_indexu.value.toString(), \"u32\"));\n }\n } else if (instructionByte >= 0x28 && instructionByte <= 0x40) {\n /**\n * Memory instructions\n */\n if (instruction.name === \"grow_memory\" || instruction.name === \"current_memory\") {\n var _indexU = readU32();\n\n var _index2 = _indexU.value;\n eatBytes(_indexU.nextIndex);\n\n if (_index2 !== 0) {\n throw new Error(\"zero flag expected\");\n }\n\n dump([_index2], \"index\");\n } else {\n var aligun32 = readU32();\n var align = aligun32.value;\n eatBytes(aligun32.nextIndex);\n dump([align], \"align\");\n var offsetu32 = readU32();\n var _offset2 = offsetu32.value;\n eatBytes(offsetu32.nextIndex);\n dump([_offset2], \"offset\");\n }\n } else if (instructionByte >= 0x41 && instructionByte <= 0x44) {\n /**\n * Numeric instructions\n */\n if (instruction.object === \"i32\") {\n var value32 = read32();\n var value = value32.value;\n eatBytes(value32.nextIndex);\n dump([value], \"i32 value\");\n args.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(value));\n }\n\n if (instruction.object === \"u32\") {\n var valueu32 = readU32();\n var _value = valueu32.value;\n eatBytes(valueu32.nextIndex);\n dump([_value], \"u32 value\");\n args.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(_value));\n }\n\n if (instruction.object === \"i64\") {\n var value64 = read64();\n var _value2 = value64.value;\n eatBytes(value64.nextIndex);\n dump([Number(_value2.toString())], \"i64 value\");\n var high = _value2.high,\n low = _value2.low;\n var _node = {\n type: \"LongNumberLiteral\",\n value: {\n high: high,\n low: low\n }\n };\n args.push(_node);\n }\n\n if (instruction.object === \"u64\") {\n var valueu64 = readU64();\n var _value3 = valueu64.value;\n eatBytes(valueu64.nextIndex);\n dump([Number(_value3.toString())], \"u64 value\");\n var _high = _value3.high,\n _low = _value3.low;\n var _node2 = {\n type: \"LongNumberLiteral\",\n value: {\n high: _high,\n low: _low\n }\n };\n args.push(_node2);\n }\n\n if (instruction.object === \"f32\") {\n var valuef32 = readF32();\n var _value4 = valuef32.value;\n eatBytes(valuef32.nextIndex);\n dump([_value4], \"f32 value\");\n args.push( // $FlowIgnore\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.floatLiteral(_value4, valuef32.nan, valuef32.inf, String(_value4)));\n }\n\n if (instruction.object === \"f64\") {\n var valuef64 = readF64();\n var _value5 = valuef64.value;\n eatBytes(valuef64.nextIndex);\n dump([_value5], \"f64 value\");\n args.push( // $FlowIgnore\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.floatLiteral(_value5, valuef64.nan, valuef64.inf, String(_value5)));\n }\n } else if (instructionByte >= 0xfe00 && instructionByte <= 0xfeff) {\n /**\n * Atomic memory instructions\n */\n var align32 = readU32();\n var _align = align32.value;\n eatBytes(align32.nextIndex);\n dump([_align], \"align\");\n\n var _offsetu = readU32();\n\n var _offset3 = _offsetu.value;\n eatBytes(_offsetu.nextIndex);\n dump([_offset3], \"offset\");\n } else {\n for (var _i3 = 0; _i3 < instruction.numberOfArgs; _i3++) {\n var u32 = readU32();\n eatBytes(u32.nextIndex);\n dump([u32.value], \"argument \" + _i3);\n args.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(u32.value));\n }\n }\n\n if (instructionAlreadyCreated === false) {\n if (typeof instruction.object === \"string\") {\n var _node3 = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.objectInstruction(instruction.name, instruction.object, args), endLoc, _startLoc6);\n }();\n\n code.push(_node3);\n } else {\n var _node4 = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.instruction(instruction.name, args), endLoc, _startLoc6);\n }();\n\n code.push(_node4);\n }\n }\n }\n } // https://webassembly.github.io/spec/core/binary/types.html#limits\n\n\n function parseLimits() {\n var limitType = readByte();\n eatBytes(1);\n var shared = limitType === 0x03;\n dump([limitType], \"limit type\" + (shared ? \" (shared)\" : \"\"));\n var min, max;\n\n if (limitType === 0x01 || limitType === 0x03 // shared limits\n ) {\n var u32min = readU32();\n min = parseInt(u32min.value);\n eatBytes(u32min.nextIndex);\n dump([min], \"min\");\n var u32max = readU32();\n max = parseInt(u32max.value);\n eatBytes(u32max.nextIndex);\n dump([max], \"max\");\n }\n\n if (limitType === 0x00) {\n var _u32min = readU32();\n\n min = parseInt(_u32min.value);\n eatBytes(_u32min.nextIndex);\n dump([min], \"min\");\n }\n\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.limit(min, max, shared);\n } // https://webassembly.github.io/spec/core/binary/types.html#binary-tabletype\n\n\n function parseTableType(index) {\n var name = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withRaw(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.identifier(getUniqueName(\"table\")), String(index));\n var elementTypeByte = readByte();\n eatBytes(1);\n dump([elementTypeByte], \"element type\");\n var elementType = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].tableTypes[elementTypeByte];\n\n if (typeof elementType === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unknown element type in table: \" + toHex(elementType));\n }\n\n var limits = parseLimits();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.table(elementType, limits, name);\n } // https://webassembly.github.io/spec/binary/types.html#global-types\n\n\n function parseGlobalType() {\n var valtypeByte = readByte();\n eatBytes(1);\n var type = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].valtypes[valtypeByte];\n dump([valtypeByte], type);\n\n if (typeof type === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unknown valtype: \" + toHex(valtypeByte));\n }\n\n var globalTypeByte = readByte();\n eatBytes(1);\n var globalType = _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].globalTypes[globalTypeByte];\n dump([globalTypeByte], \"global type (\".concat(globalType, \")\"));\n\n if (typeof globalType === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Invalid mutability: \" + toHex(globalTypeByte));\n }\n\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.globalType(type, globalType);\n } // function parseNameModule() {\n // const lenu32 = readVaruint32();\n // eatBytes(lenu32.nextIndex);\n // console.log(\"len\", lenu32);\n // const strlen = lenu32.value;\n // dump([strlen], \"string length\");\n // const bytes = readBytes(strlen);\n // eatBytes(strlen);\n // const value = utf8.decode(bytes);\n // return [t.moduleNameMetadata(value)];\n // }\n // this section contains an array of function names and indices\n\n\n function parseNameSectionFunctions() {\n var functionNames = [];\n var numberOfFunctionsu32 = readU32();\n var numbeOfFunctions = numberOfFunctionsu32.value;\n eatBytes(numberOfFunctionsu32.nextIndex);\n\n for (var i = 0; i < numbeOfFunctions; i++) {\n var indexu32 = readU32();\n var index = indexu32.value;\n eatBytes(indexu32.nextIndex);\n var name = readUTF8String();\n eatBytes(name.nextIndex);\n functionNames.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.functionNameMetadata(name.value, index));\n }\n\n return functionNames;\n }\n\n function parseNameSectionLocals() {\n var localNames = [];\n var numbeOfFunctionsu32 = readU32();\n var numbeOfFunctions = numbeOfFunctionsu32.value;\n eatBytes(numbeOfFunctionsu32.nextIndex);\n\n for (var i = 0; i < numbeOfFunctions; i++) {\n var functionIndexu32 = readU32();\n var functionIndex = functionIndexu32.value;\n eatBytes(functionIndexu32.nextIndex);\n var numLocalsu32 = readU32();\n var numLocals = numLocalsu32.value;\n eatBytes(numLocalsu32.nextIndex);\n\n for (var _i4 = 0; _i4 < numLocals; _i4++) {\n var localIndexu32 = readU32();\n var localIndex = localIndexu32.value;\n eatBytes(localIndexu32.nextIndex);\n var name = readUTF8String();\n eatBytes(name.nextIndex);\n localNames.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.localNameMetadata(name.value, localIndex, functionIndex));\n }\n }\n\n return localNames;\n } // this is a custom section used for name resolution\n // https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#name-section\n\n\n function parseNameSection(remainingBytes) {\n var nameMetadata = [];\n var initialOffset = offset;\n\n while (offset - initialOffset < remainingBytes) {\n // name_type\n var sectionTypeByte = readVaruint7();\n eatBytes(sectionTypeByte.nextIndex); // name_payload_len\n\n var subSectionSizeInBytesu32 = readVaruint32();\n eatBytes(subSectionSizeInBytesu32.nextIndex);\n\n switch (sectionTypeByte.value) {\n // case 0: {\n // TODO(sven): re-enable that\n // Current status: it seems that when we decode the module's name\n // no name_payload_len is used.\n //\n // See https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#name-section\n //\n // nameMetadata.push(...parseNameModule());\n // break;\n // }\n case 1:\n {\n nameMetadata.push.apply(nameMetadata, _toConsumableArray(parseNameSectionFunctions()));\n break;\n }\n\n case 2:\n {\n nameMetadata.push.apply(nameMetadata, _toConsumableArray(parseNameSectionLocals()));\n break;\n }\n\n default:\n {\n // skip unknown subsection\n eatBytes(subSectionSizeInBytesu32.value);\n }\n }\n }\n\n return nameMetadata;\n } // this is a custom section used for information about the producers\n // https://github.com/WebAssembly/tool-conventions/blob/master/ProducersSection.md\n\n\n function parseProducersSection() {\n var metadata = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.producersSectionMetadata([]); // field_count\n\n var sectionTypeByte = readVaruint32();\n eatBytes(sectionTypeByte.nextIndex);\n dump([sectionTypeByte.value], \"num of producers\");\n var fields = {\n language: [],\n \"processed-by\": [],\n sdk: []\n }; // fields\n\n for (var fieldI = 0; fieldI < sectionTypeByte.value; fieldI++) {\n // field_name\n var fieldName = readUTF8String();\n eatBytes(fieldName.nextIndex); // field_value_count\n\n var valueCount = readVaruint32();\n eatBytes(valueCount.nextIndex); // field_values\n\n for (var producerI = 0; producerI < valueCount.value; producerI++) {\n var producerName = readUTF8String();\n eatBytes(producerName.nextIndex);\n var producerVersion = readUTF8String();\n eatBytes(producerVersion.nextIndex);\n fields[fieldName.value].push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.producerMetadataVersionedName(producerName.value, producerVersion.value));\n }\n\n metadata.producers.push(fields[fieldName.value]);\n }\n\n return metadata;\n }\n\n function parseGlobalSection(numberOfGlobals) {\n var globals = [];\n dump([numberOfGlobals], \"num globals\");\n\n for (var i = 0; i < numberOfGlobals; i++) {\n var _startLoc11 = getPosition();\n\n var globalType = parseGlobalType();\n /**\n * Global expressions\n */\n\n var init = [];\n parseInstructionBlock(init);\n\n var node = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.global(globalType, init), endLoc, _startLoc11);\n }();\n\n globals.push(node);\n state.globalsInModule.push(node);\n }\n\n return globals;\n }\n\n function parseElemSection(numberOfElements) {\n var elems = [];\n dump([numberOfElements], \"num elements\");\n\n for (var i = 0; i < numberOfElements; i++) {\n var _startLoc12 = getPosition();\n\n var tableindexu32 = readU32();\n var tableindex = tableindexu32.value;\n eatBytes(tableindexu32.nextIndex);\n dump([tableindex], \"table index\");\n /**\n * Parse instructions\n */\n\n var instr = [];\n parseInstructionBlock(instr);\n /**\n * Parse ( vector function index ) *\n */\n\n var indicesu32 = readU32();\n var indices = indicesu32.value;\n eatBytes(indicesu32.nextIndex);\n dump([indices], \"num indices\");\n var indexValues = [];\n\n for (var _i5 = 0; _i5 < indices; _i5++) {\n var indexu32 = readU32();\n var index = indexu32.value;\n eatBytes(indexu32.nextIndex);\n dump([index], \"index\");\n indexValues.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.indexLiteral(index));\n }\n\n var elemNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.elem(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.indexLiteral(tableindex), instr, indexValues), endLoc, _startLoc12);\n }();\n\n elems.push(elemNode);\n }\n\n return elems;\n } // https://webassembly.github.io/spec/core/binary/types.html#memory-types\n\n\n function parseMemoryType(i) {\n var limits = parseLimits();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.memory(limits, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.indexLiteral(i));\n } // https://webassembly.github.io/spec/binary/modules.html#table-section\n\n\n function parseTableSection(numberOfElements) {\n var tables = [];\n dump([numberOfElements], \"num elements\");\n\n for (var i = 0; i < numberOfElements; i++) {\n var tablesNode = parseTableType(i);\n state.tablesInModule.push(tablesNode);\n tables.push(tablesNode);\n }\n\n return tables;\n } // https://webassembly.github.io/spec/binary/modules.html#memory-section\n\n\n function parseMemorySection(numberOfElements) {\n var memories = [];\n dump([numberOfElements], \"num elements\");\n\n for (var i = 0; i < numberOfElements; i++) {\n var memoryNode = parseMemoryType(i);\n state.memoriesInModule.push(memoryNode);\n memories.push(memoryNode);\n }\n\n return memories;\n } // https://webassembly.github.io/spec/binary/modules.html#binary-startsec\n\n\n function parseStartSection() {\n var startLoc = getPosition();\n var u32 = readU32();\n var startFuncIndex = u32.value;\n eatBytes(u32.nextIndex);\n dump([startFuncIndex], \"index\");\n return function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.start(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.indexLiteral(startFuncIndex)), endLoc, startLoc);\n }();\n } // https://webassembly.github.io/spec/binary/modules.html#data-section\n\n\n function parseDataSection(numberOfElements) {\n var dataEntries = [];\n dump([numberOfElements], \"num elements\");\n\n for (var i = 0; i < numberOfElements; i++) {\n var memoryIndexu32 = readU32();\n var memoryIndex = memoryIndexu32.value;\n eatBytes(memoryIndexu32.nextIndex);\n dump([memoryIndex], \"memory index\");\n var instrs = [];\n parseInstructionBlock(instrs);\n var hasExtraInstrs = instrs.filter(function (i) {\n return i.id !== \"end\";\n }).length !== 1;\n\n if (hasExtraInstrs) {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"data section offset must be a single instruction\");\n }\n\n var bytes = parseVec(function (b) {\n return b;\n });\n dump([], \"init\");\n dataEntries.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.data(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.memIndexLiteral(memoryIndex), instrs[0], _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.byteArray(bytes)));\n }\n\n return dataEntries;\n } // https://webassembly.github.io/spec/binary/modules.html#binary-section\n\n\n function parseSection(sectionIndex) {\n var sectionId = readByte();\n eatBytes(1);\n\n if (sectionId >= sectionIndex || sectionIndex === _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.custom) {\n sectionIndex = sectionId + 1;\n } else {\n if (sectionId !== _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.custom) throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected section: \" + toHex(sectionId));\n }\n\n var nextSectionIndex = sectionIndex;\n var startOffset = offset;\n var startLoc = getPosition();\n var u32 = readU32();\n var sectionSizeInBytes = u32.value;\n eatBytes(u32.nextIndex);\n\n var sectionSizeInBytesNode = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(sectionSizeInBytes), endLoc, startLoc);\n }();\n\n switch (sectionId) {\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.type:\n {\n dumpSep(\"section Type\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc13 = getPosition();\n\n var _u = readU32();\n\n var numberOfTypes = _u.value;\n eatBytes(_u.nextIndex);\n\n var _metadata = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"type\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfTypes), endLoc, _startLoc13);\n }());\n\n var _nodes = parseTypeSection(numberOfTypes);\n\n return {\n nodes: _nodes,\n metadata: _metadata,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.table:\n {\n dumpSep(\"section Table\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc14 = getPosition();\n\n var _u2 = readU32();\n\n var numberOfTable = _u2.value;\n eatBytes(_u2.nextIndex);\n dump([numberOfTable], \"num tables\");\n\n var _metadata2 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"table\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfTable), endLoc, _startLoc14);\n }());\n\n var _nodes2 = parseTableSection(numberOfTable);\n\n return {\n nodes: _nodes2,\n metadata: _metadata2,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections[\"import\"]:\n {\n dumpSep(\"section Import\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc15 = getPosition();\n\n var numberOfImportsu32 = readU32();\n var numberOfImports = numberOfImportsu32.value;\n eatBytes(numberOfImportsu32.nextIndex);\n dump([numberOfImports], \"number of imports\");\n\n var _metadata3 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"import\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfImports), endLoc, _startLoc15);\n }());\n\n var _nodes3 = parseImportSection(numberOfImports);\n\n return {\n nodes: _nodes3,\n metadata: _metadata3,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.func:\n {\n dumpSep(\"section Function\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc16 = getPosition();\n\n var numberOfFunctionsu32 = readU32();\n var numberOfFunctions = numberOfFunctionsu32.value;\n eatBytes(numberOfFunctionsu32.nextIndex);\n\n var _metadata4 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"func\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfFunctions), endLoc, _startLoc16);\n }());\n\n parseFuncSection(numberOfFunctions);\n var _nodes4 = [];\n return {\n nodes: _nodes4,\n metadata: _metadata4,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections[\"export\"]:\n {\n dumpSep(\"section Export\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc17 = getPosition();\n\n var _u3 = readU32();\n\n var numberOfExport = _u3.value;\n eatBytes(_u3.nextIndex);\n\n var _metadata5 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"export\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfExport), endLoc, _startLoc17);\n }());\n\n parseExportSection(numberOfExport);\n var _nodes5 = [];\n return {\n nodes: _nodes5,\n metadata: _metadata5,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.code:\n {\n dumpSep(\"section Code\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc18 = getPosition();\n\n var _u4 = readU32();\n\n var numberOfFuncs = _u4.value;\n eatBytes(_u4.nextIndex);\n\n var _metadata6 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"code\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfFuncs), endLoc, _startLoc18);\n }());\n\n if (opts.ignoreCodeSection === true) {\n var remainingBytes = sectionSizeInBytes - _u4.nextIndex;\n eatBytes(remainingBytes); // eat the entire section\n } else {\n parseCodeSection(numberOfFuncs);\n }\n\n var _nodes6 = [];\n return {\n nodes: _nodes6,\n metadata: _metadata6,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.start:\n {\n dumpSep(\"section Start\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _metadata7 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"start\", startOffset, sectionSizeInBytesNode);\n\n var _nodes7 = [parseStartSection()];\n return {\n nodes: _nodes7,\n metadata: _metadata7,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.element:\n {\n dumpSep(\"section Element\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc19 = getPosition();\n\n var numberOfElementsu32 = readU32();\n var numberOfElements = numberOfElementsu32.value;\n eatBytes(numberOfElementsu32.nextIndex);\n\n var _metadata8 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"element\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfElements), endLoc, _startLoc19);\n }());\n\n var _nodes8 = parseElemSection(numberOfElements);\n\n return {\n nodes: _nodes8,\n metadata: _metadata8,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.global:\n {\n dumpSep(\"section Global\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc20 = getPosition();\n\n var numberOfGlobalsu32 = readU32();\n var numberOfGlobals = numberOfGlobalsu32.value;\n eatBytes(numberOfGlobalsu32.nextIndex);\n\n var _metadata9 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"global\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(numberOfGlobals), endLoc, _startLoc20);\n }());\n\n var _nodes9 = parseGlobalSection(numberOfGlobals);\n\n return {\n nodes: _nodes9,\n metadata: _metadata9,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.memory:\n {\n dumpSep(\"section Memory\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _startLoc21 = getPosition();\n\n var _numberOfElementsu = readU32();\n\n var _numberOfElements = _numberOfElementsu.value;\n eatBytes(_numberOfElementsu.nextIndex);\n\n var _metadata10 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"memory\", startOffset, sectionSizeInBytesNode, function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(_numberOfElements), endLoc, _startLoc21);\n }());\n\n var _nodes10 = parseMemorySection(_numberOfElements);\n\n return {\n nodes: _nodes10,\n metadata: _metadata10,\n nextSectionIndex: nextSectionIndex\n };\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.data:\n {\n dumpSep(\"section Data\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n\n var _metadata11 = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"data\", startOffset, sectionSizeInBytesNode);\n\n var _startLoc22 = getPosition();\n\n var _numberOfElementsu2 = readU32();\n\n var _numberOfElements2 = _numberOfElementsu2.value;\n eatBytes(_numberOfElementsu2.nextIndex);\n\n _metadata11.vectorOfSize = function () {\n var endLoc = getPosition();\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.numberLiteralFromRaw(_numberOfElements2), endLoc, _startLoc22);\n }();\n\n if (opts.ignoreDataSection === true) {\n var _remainingBytes = sectionSizeInBytes - _numberOfElementsu2.nextIndex;\n\n eatBytes(_remainingBytes); // eat the entire section\n\n dumpSep(\"ignore data (\" + sectionSizeInBytes + \" bytes)\");\n return {\n nodes: [],\n metadata: _metadata11,\n nextSectionIndex: nextSectionIndex\n };\n } else {\n var _nodes11 = parseDataSection(_numberOfElements2);\n\n return {\n nodes: _nodes11,\n metadata: _metadata11,\n nextSectionIndex: nextSectionIndex\n };\n }\n }\n\n case _webassemblyjs_helper_wasm_bytecode__WEBPACK_IMPORTED_MODULE_5__[\"default\"].sections.custom:\n {\n dumpSep(\"section Custom\");\n dump([sectionId], \"section code\");\n dump([sectionSizeInBytes], \"section size\");\n var _metadata12 = [_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.sectionMetadata(\"custom\", startOffset, sectionSizeInBytesNode)];\n var sectionName = readUTF8String();\n eatBytes(sectionName.nextIndex);\n dump([], \"section name (\".concat(sectionName.value, \")\"));\n\n var _remainingBytes2 = sectionSizeInBytes - sectionName.nextIndex;\n\n if (sectionName.value === \"name\") {\n var initialOffset = offset;\n\n try {\n _metadata12.push.apply(_metadata12, _toConsumableArray(parseNameSection(_remainingBytes2)));\n } catch (e) {\n console.warn(\"Failed to decode custom \\\"name\\\" section @\".concat(offset, \"; ignoring (\").concat(e.message, \").\"));\n eatBytes(offset - (initialOffset + _remainingBytes2));\n }\n } else if (sectionName.value === \"producers\") {\n var _initialOffset = offset;\n\n try {\n _metadata12.push(parseProducersSection());\n } catch (e) {\n console.warn(\"Failed to decode custom \\\"producers\\\" section @\".concat(offset, \"; ignoring (\").concat(e.message, \").\"));\n eatBytes(offset - (_initialOffset + _remainingBytes2));\n }\n } else {\n // We don't parse the custom section\n eatBytes(_remainingBytes2);\n dumpSep(\"ignore custom \" + JSON.stringify(sectionName.value) + \" section (\" + _remainingBytes2 + \" bytes)\");\n }\n\n return {\n nodes: [],\n metadata: _metadata12,\n nextSectionIndex: nextSectionIndex\n };\n }\n }\n\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"Unexpected section: \" + toHex(sectionId));\n }\n\n parseModuleHeader();\n parseVersion();\n var moduleFields = [];\n var sectionIndex = 0;\n var moduleMetadata = {\n sections: [],\n functionNames: [],\n localNames: [],\n producers: []\n };\n /**\n * All the generate declaration are going to be stored in our state\n */\n\n while (offset < buf.length) {\n var _parseSection = parseSection(sectionIndex),\n _nodes12 = _parseSection.nodes,\n _metadata13 = _parseSection.metadata,\n nextSectionIndex = _parseSection.nextSectionIndex;\n\n moduleFields.push.apply(moduleFields, _toConsumableArray(_nodes12));\n var metadataArray = Array.isArray(_metadata13) ? _metadata13 : [_metadata13];\n metadataArray.forEach(function (metadataItem) {\n if (metadataItem.type === \"FunctionNameMetadata\") {\n moduleMetadata.functionNames.push(metadataItem);\n } else if (metadataItem.type === \"LocalNameMetadata\") {\n moduleMetadata.localNames.push(metadataItem);\n } else if (metadataItem.type === \"ProducersSectionMetadata\") {\n moduleMetadata.producers.push(metadataItem);\n } else {\n moduleMetadata.sections.push(metadataItem);\n }\n }); // Ignore custom section\n\n if (nextSectionIndex) {\n sectionIndex = nextSectionIndex;\n }\n }\n /**\n * Transform the state into AST nodes\n */\n\n\n var funcIndex = 0;\n state.functionsInModule.forEach(function (func) {\n var params = func.signature.params;\n var result = func.signature.result;\n var body = []; // External functions doesn't provide any code, can skip it here\n\n if (func.isExternal === true) {\n return;\n }\n\n var decodedElementInCodeSection = state.elementsInCodeSection[funcIndex];\n\n if (opts.ignoreCodeSection === false) {\n if (typeof decodedElementInCodeSection === \"undefined\") {\n throw new _webassemblyjs_helper_api_error__WEBPACK_IMPORTED_MODULE_0__.CompileError(\"func \" + toHex(funcIndex) + \" code not found\");\n }\n\n body = decodedElementInCodeSection.code;\n }\n\n funcIndex++;\n var funcNode = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.func(func.id, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.signature(params, result), body);\n\n if (func.isExternal === true) {\n funcNode.isExternal = func.isExternal;\n } // Add function position in the binary if possible\n\n\n if (opts.ignoreCodeSection === false) {\n var _startLoc23 = decodedElementInCodeSection.startLoc,\n endLoc = decodedElementInCodeSection.endLoc,\n bodySize = decodedElementInCodeSection.bodySize;\n funcNode = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(funcNode, endLoc, _startLoc23);\n funcNode.metadata = {\n bodySize: bodySize\n };\n }\n\n moduleFields.push(funcNode);\n });\n state.elementsInExportSection.forEach(function (moduleExport) {\n /**\n * If the export has no id, we won't be able to call it from the outside\n * so we can omit it\n */\n if (moduleExport.id != null) {\n moduleFields.push(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.withLoc(_webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.moduleExport(moduleExport.name, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.moduleExportDescr(moduleExport.type, moduleExport.id)), moduleExport.endLoc, moduleExport.startLoc));\n }\n });\n dumpSep(\"end of program\");\n var module = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.module(null, moduleFields, _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.moduleMetadata(moduleMetadata.sections, moduleMetadata.functionNames, moduleMetadata.localNames, moduleMetadata.producers));\n return _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_3__.program([module]);\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-parser/esm/decoder.js?"); /***/ }), /***/ "./node_modules/@webassemblyjs/wasm-parser/esm/index.js": /*!**************************************************************!*\ !*** ./node_modules/@webassemblyjs/wasm-parser/esm/index.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"decode\": () => (/* binding */ decode)\n/* harmony export */ });\n/* harmony import */ var _decoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./decoder */ \"./node_modules/@webassemblyjs/wasm-parser/esm/decoder.js\");\n/* harmony import */ var _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\n\n\n/**\n * TODO(sven): I added initial props, but we should rather fix\n * https://github.com/xtuc/webassemblyjs/issues/405\n */\n\nvar defaultDecoderOpts = {\n dump: false,\n ignoreCodeSection: false,\n ignoreDataSection: false,\n ignoreCustomNameSection: false\n}; // traverses the AST, locating function name metadata, which is then\n// used to update index-based identifiers with function names\n\nfunction restoreFunctionNames(ast) {\n var functionNames = [];\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n FunctionNameMetadata: function FunctionNameMetadata(_ref) {\n var node = _ref.node;\n functionNames.push({\n name: node.value,\n index: node.index\n });\n }\n });\n\n if (functionNames.length === 0) {\n return;\n }\n\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n Func: function (_Func) {\n function Func(_x) {\n return _Func.apply(this, arguments);\n }\n\n Func.toString = function () {\n return _Func.toString();\n };\n\n return Func;\n }(function (_ref2) {\n var node = _ref2.node;\n // $FlowIgnore\n var nodeName = node.name;\n var indexBasedFunctionName = nodeName.value;\n var index = Number(indexBasedFunctionName.replace(\"func_\", \"\"));\n var functionName = functionNames.find(function (f) {\n return f.index === index;\n });\n\n if (functionName) {\n var oldValue = nodeName.value;\n nodeName.value = functionName.name;\n nodeName.numeric = oldValue; // $FlowIgnore\n\n delete nodeName.raw;\n }\n }),\n // Also update the reference in the export\n ModuleExport: function (_ModuleExport) {\n function ModuleExport(_x2) {\n return _ModuleExport.apply(this, arguments);\n }\n\n ModuleExport.toString = function () {\n return _ModuleExport.toString();\n };\n\n return ModuleExport;\n }(function (_ref3) {\n var node = _ref3.node;\n\n if (node.descr.exportType === \"Func\") {\n // $FlowIgnore\n var nodeName = node.descr.id;\n var index = nodeName.value;\n var functionName = functionNames.find(function (f) {\n return f.index === index;\n });\n\n if (functionName) {\n node.descr.id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.identifier(functionName.name);\n }\n }\n }),\n ModuleImport: function (_ModuleImport) {\n function ModuleImport(_x3) {\n return _ModuleImport.apply(this, arguments);\n }\n\n ModuleImport.toString = function () {\n return _ModuleImport.toString();\n };\n\n return ModuleImport;\n }(function (_ref4) {\n var node = _ref4.node;\n\n if (node.descr.type === \"FuncImportDescr\") {\n // $FlowIgnore\n var indexBasedFunctionName = node.descr.id;\n var index = Number(indexBasedFunctionName.replace(\"func_\", \"\"));\n var functionName = functionNames.find(function (f) {\n return f.index === index;\n });\n\n if (functionName) {\n // $FlowIgnore\n node.descr.id = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.identifier(functionName.name);\n }\n }\n }),\n CallInstruction: function (_CallInstruction) {\n function CallInstruction(_x4) {\n return _CallInstruction.apply(this, arguments);\n }\n\n CallInstruction.toString = function () {\n return _CallInstruction.toString();\n };\n\n return CallInstruction;\n }(function (nodePath) {\n var node = nodePath.node;\n var index = node.index.value;\n var functionName = functionNames.find(function (f) {\n return f.index === index;\n });\n\n if (functionName) {\n var oldValue = node.index;\n node.index = _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.identifier(functionName.name);\n node.numeric = oldValue; // $FlowIgnore\n\n delete node.raw;\n }\n })\n });\n}\n\nfunction restoreLocalNames(ast) {\n var localNames = [];\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n LocalNameMetadata: function LocalNameMetadata(_ref5) {\n var node = _ref5.node;\n localNames.push({\n name: node.value,\n localIndex: node.localIndex,\n functionIndex: node.functionIndex\n });\n }\n });\n\n if (localNames.length === 0) {\n return;\n }\n\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n Func: function (_Func2) {\n function Func(_x5) {\n return _Func2.apply(this, arguments);\n }\n\n Func.toString = function () {\n return _Func2.toString();\n };\n\n return Func;\n }(function (_ref6) {\n var node = _ref6.node;\n var signature = node.signature;\n\n if (signature.type !== \"Signature\") {\n return;\n } // $FlowIgnore\n\n\n var nodeName = node.name;\n var indexBasedFunctionName = nodeName.value;\n var functionIndex = Number(indexBasedFunctionName.replace(\"func_\", \"\"));\n signature.params.forEach(function (param, paramIndex) {\n var paramName = localNames.find(function (f) {\n return f.localIndex === paramIndex && f.functionIndex === functionIndex;\n });\n\n if (paramName && paramName.name !== \"\") {\n param.id = paramName.name;\n }\n });\n })\n });\n}\n\nfunction restoreModuleName(ast) {\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n ModuleNameMetadata: function (_ModuleNameMetadata) {\n function ModuleNameMetadata(_x6) {\n return _ModuleNameMetadata.apply(this, arguments);\n }\n\n ModuleNameMetadata.toString = function () {\n return _ModuleNameMetadata.toString();\n };\n\n return ModuleNameMetadata;\n }(function (moduleNameMetadataPath) {\n // update module\n _webassemblyjs_ast__WEBPACK_IMPORTED_MODULE_1__.traverse(ast, {\n Module: function (_Module) {\n function Module(_x7) {\n return _Module.apply(this, arguments);\n }\n\n Module.toString = function () {\n return _Module.toString();\n };\n\n return Module;\n }(function (_ref7) {\n var node = _ref7.node;\n var name = moduleNameMetadataPath.node.value; // compatiblity with wast-parser\n\n if (name === \"\") {\n name = null;\n }\n\n node.id = name;\n })\n });\n })\n });\n}\n\nfunction decode(buf, customOpts) {\n var opts = Object.assign({}, defaultDecoderOpts, customOpts);\n var ast = _decoder__WEBPACK_IMPORTED_MODULE_0__.decode(buf, opts);\n\n if (opts.ignoreCustomNameSection === false) {\n restoreFunctionNames(ast);\n restoreLocalNames(ast);\n restoreModuleName(ast);\n }\n\n return ast;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@webassemblyjs/wasm-parser/esm/index.js?"); /***/ }), /***/ "./node_modules/@xtuc/ieee754/index.js": /*!*********************************************!*\ !*** ./node_modules/@xtuc/ieee754/index.js ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"read\": () => (/* binding */ read),\n/* harmony export */ \"write\": () => (/* binding */ write)\n/* harmony export */ });\nfunction read(buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nfunction write(buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@xtuc/ieee754/index.js?"); /***/ }), /***/ "./node_modules/@xtuc/long/src/long.js": /*!*********************************************!*\ !*** ./node_modules/@xtuc/long/src/long.js ***! \*********************************************/ /***/ ((module) => { eval("module.exports = Long;\n\n/**\n * wasm optimizations, to do native i64 multiplication and divide\n */\nvar wasm = null;\n\ntry {\n wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([\n 0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11\n ])), {}).exports;\n} catch (e) {\n // no wasm support :(\n}\n\n/**\n * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.\n * See the from* functions below for more convenient ways of constructing Longs.\n * @exports Long\n * @class A Long class for representing a 64 bit two's-complement integer value.\n * @param {number} low The low (signed) 32 bits of the long\n * @param {number} high The high (signed) 32 bits of the long\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @constructor\n */\nfunction Long(low, high, unsigned) {\n\n /**\n * The low 32 bits as a signed value.\n * @type {number}\n */\n this.low = low | 0;\n\n /**\n * The high 32 bits as a signed value.\n * @type {number}\n */\n this.high = high | 0;\n\n /**\n * Whether unsigned or not.\n * @type {boolean}\n */\n this.unsigned = !!unsigned;\n}\n\n// The internal representation of a long is the two given signed, 32-bit values.\n// We use 32-bit pieces because these are the size of integers on which\n// Javascript performs bit-operations. For operations like addition and\n// multiplication, we split each number into 16 bit pieces, which can easily be\n// multiplied within Javascript's floating-point representation without overflow\n// or change in sign.\n//\n// In the algorithms below, we frequently reduce the negative case to the\n// positive case by negating the input(s) and then post-processing the result.\n// Note that we must ALWAYS check specially whether those values are MIN_VALUE\n// (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as\n// a positive number, it overflows back into a negative). Not handling this\n// case would often result in infinite recursion.\n//\n// Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the from*\n// methods on which they depend.\n\n/**\n * An indicator used to reliably determine if an object is a Long or not.\n * @type {boolean}\n * @const\n * @private\n */\nLong.prototype.__isLong__;\n\nObject.defineProperty(Long.prototype, \"__isLong__\", { value: true });\n\n/**\n * @function\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\nfunction isLong(obj) {\n return (obj && obj[\"__isLong__\"]) === true;\n}\n\n/**\n * Tests if the specified object is a Long.\n * @function\n * @param {*} obj Object\n * @returns {boolean}\n */\nLong.isLong = isLong;\n\n/**\n * A cache of the Long representations of small integer values.\n * @type {!Object}\n * @inner\n */\nvar INT_CACHE = {};\n\n/**\n * A cache of the Long representations of small unsigned integer values.\n * @type {!Object}\n * @inner\n */\nvar UINT_CACHE = {};\n\n/**\n * @param {number} value\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromInt(value, unsigned) {\n var obj, cachedObj, cache;\n if (unsigned) {\n value >>>= 0;\n if (cache = (0 <= value && value < 256)) {\n cachedObj = UINT_CACHE[value];\n if (cachedObj)\n return cachedObj;\n }\n obj = fromBits(value, (value | 0) < 0 ? -1 : 0, true);\n if (cache)\n UINT_CACHE[value] = obj;\n return obj;\n } else {\n value |= 0;\n if (cache = (-128 <= value && value < 128)) {\n cachedObj = INT_CACHE[value];\n if (cachedObj)\n return cachedObj;\n }\n obj = fromBits(value, value < 0 ? -1 : 0, false);\n if (cache)\n INT_CACHE[value] = obj;\n return obj;\n }\n}\n\n/**\n * Returns a Long representing the given 32 bit integer value.\n * @function\n * @param {number} value The 32 bit integer in question\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromInt = fromInt;\n\n/**\n * @param {number} value\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromNumber(value, unsigned) {\n if (isNaN(value))\n return unsigned ? UZERO : ZERO;\n if (unsigned) {\n if (value < 0)\n return UZERO;\n if (value >= TWO_PWR_64_DBL)\n return MAX_UNSIGNED_VALUE;\n } else {\n if (value <= -TWO_PWR_63_DBL)\n return MIN_VALUE;\n if (value + 1 >= TWO_PWR_63_DBL)\n return MAX_VALUE;\n }\n if (value < 0)\n return fromNumber(-value, unsigned).neg();\n return fromBits((value % TWO_PWR_32_DBL) | 0, (value / TWO_PWR_32_DBL) | 0, unsigned);\n}\n\n/**\n * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.\n * @function\n * @param {number} value The number in question\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromNumber = fromNumber;\n\n/**\n * @param {number} lowBits\n * @param {number} highBits\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromBits(lowBits, highBits, unsigned) {\n return new Long(lowBits, highBits, unsigned);\n}\n\n/**\n * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is\n * assumed to use 32 bits.\n * @function\n * @param {number} lowBits The low 32 bits\n * @param {number} highBits The high 32 bits\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromBits = fromBits;\n\n/**\n * @function\n * @param {number} base\n * @param {number} exponent\n * @returns {number}\n * @inner\n */\nvar pow_dbl = Math.pow; // Used 4 times (4*8 to 15+4)\n\n/**\n * @param {string} str\n * @param {(boolean|number)=} unsigned\n * @param {number=} radix\n * @returns {!Long}\n * @inner\n */\nfunction fromString(str, unsigned, radix) {\n if (str.length === 0)\n throw Error('empty string');\n if (str === \"NaN\" || str === \"Infinity\" || str === \"+Infinity\" || str === \"-Infinity\")\n return ZERO;\n if (typeof unsigned === 'number') {\n // For goog.math.long compatibility\n radix = unsigned,\n unsigned = false;\n } else {\n unsigned = !! unsigned;\n }\n radix = radix || 10;\n if (radix < 2 || 36 < radix)\n throw RangeError('radix');\n\n var p;\n if ((p = str.indexOf('-')) > 0)\n throw Error('interior hyphen');\n else if (p === 0) {\n return fromString(str.substring(1), unsigned, radix).neg();\n }\n\n // Do several (8) digits each time through the loop, so as to\n // minimize the calls to the very expensive emulated div.\n var radixToPower = fromNumber(pow_dbl(radix, 8));\n\n var result = ZERO;\n for (var i = 0; i < str.length; i += 8) {\n var size = Math.min(8, str.length - i),\n value = parseInt(str.substring(i, i + size), radix);\n if (size < 8) {\n var power = fromNumber(pow_dbl(radix, size));\n result = result.mul(power).add(fromNumber(value));\n } else {\n result = result.mul(radixToPower);\n result = result.add(fromNumber(value));\n }\n }\n result.unsigned = unsigned;\n return result;\n}\n\n/**\n * Returns a Long representation of the given string, written using the specified radix.\n * @function\n * @param {string} str The textual representation of the Long\n * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed\n * @param {number=} radix The radix in which the text is written (2-36), defaults to 10\n * @returns {!Long} The corresponding Long value\n */\nLong.fromString = fromString;\n\n/**\n * @function\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromValue(val, unsigned) {\n if (typeof val === 'number')\n return fromNumber(val, unsigned);\n if (typeof val === 'string')\n return fromString(val, unsigned);\n // Throws for non-objects, converts non-instanceof Long:\n return fromBits(val.low, val.high, typeof unsigned === 'boolean' ? unsigned : val.unsigned);\n}\n\n/**\n * Converts the specified value to a Long using the appropriate from* function for its type.\n * @function\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long}\n */\nLong.fromValue = fromValue;\n\n// NOTE: the compiler should inline these constant values below and then remove these variables, so there should be\n// no runtime penalty for these.\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_16_DBL = 1 << 16;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_24_DBL = 1 << 24;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;\n\n/**\n * @type {!Long}\n * @const\n * @inner\n */\nvar TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);\n\n/**\n * @type {!Long}\n * @inner\n */\nvar ZERO = fromInt(0);\n\n/**\n * Signed zero.\n * @type {!Long}\n */\nLong.ZERO = ZERO;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar UZERO = fromInt(0, true);\n\n/**\n * Unsigned zero.\n * @type {!Long}\n */\nLong.UZERO = UZERO;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar ONE = fromInt(1);\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = ONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar UONE = fromInt(1, true);\n\n/**\n * Unsigned one.\n * @type {!Long}\n */\nLong.UONE = UONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar NEG_ONE = fromInt(-1);\n\n/**\n * Signed negative one.\n * @type {!Long}\n */\nLong.NEG_ONE = NEG_ONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MAX_VALUE = fromBits(0xFFFFFFFF|0, 0x7FFFFFFF|0, false);\n\n/**\n * Maximum signed value.\n * @type {!Long}\n */\nLong.MAX_VALUE = MAX_VALUE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MAX_UNSIGNED_VALUE = fromBits(0xFFFFFFFF|0, 0xFFFFFFFF|0, true);\n\n/**\n * Maximum unsigned value.\n * @type {!Long}\n */\nLong.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MIN_VALUE = fromBits(0, 0x80000000|0, false);\n\n/**\n * Minimum signed value.\n * @type {!Long}\n */\nLong.MIN_VALUE = MIN_VALUE;\n\n/**\n * @alias Long.prototype\n * @inner\n */\nvar LongPrototype = Long.prototype;\n\n/**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.toInt = function toInt() {\n return this.unsigned ? this.low >>> 0 : this.low;\n};\n\n/**\n * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.toNumber = function toNumber() {\n if (this.unsigned)\n return ((this.high >>> 0) * TWO_PWR_32_DBL) + (this.low >>> 0);\n return this.high * TWO_PWR_32_DBL + (this.low >>> 0);\n};\n\n/**\n * Converts the Long to a string written in the specified radix.\n * @this {!Long}\n * @param {number=} radix Radix (2-36), defaults to 10\n * @returns {string}\n * @override\n * @throws {RangeError} If `radix` is out of range\n */\nLongPrototype.toString = function toString(radix) {\n radix = radix || 10;\n if (radix < 2 || 36 < radix)\n throw RangeError('radix');\n if (this.isZero())\n return '0';\n if (this.isNegative()) { // Unsigned Longs are never negative\n if (this.eq(MIN_VALUE)) {\n // We need to change the Long value before it can be negated, so we remove\n // the bottom-most digit in this base and then recurse to do the rest.\n var radixLong = fromNumber(radix),\n div = this.div(radixLong),\n rem1 = div.mul(radixLong).sub(this);\n return div.toString(radix) + rem1.toInt().toString(radix);\n } else\n return '-' + this.neg().toString(radix);\n }\n\n // Do several (6) digits each time through the loop, so as to\n // minimize the calls to the very expensive emulated div.\n var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned),\n rem = this;\n var result = '';\n while (true) {\n var remDiv = rem.div(radixToPower),\n intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0,\n digits = intval.toString(radix);\n rem = remDiv;\n if (rem.isZero())\n return digits + result;\n else {\n while (digits.length < 6)\n digits = '0' + digits;\n result = '' + digits + result;\n }\n }\n};\n\n/**\n * Gets the high 32 bits as a signed integer.\n * @this {!Long}\n * @returns {number} Signed high bits\n */\nLongPrototype.getHighBits = function getHighBits() {\n return this.high;\n};\n\n/**\n * Gets the high 32 bits as an unsigned integer.\n * @this {!Long}\n * @returns {number} Unsigned high bits\n */\nLongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() {\n return this.high >>> 0;\n};\n\n/**\n * Gets the low 32 bits as a signed integer.\n * @this {!Long}\n * @returns {number} Signed low bits\n */\nLongPrototype.getLowBits = function getLowBits() {\n return this.low;\n};\n\n/**\n * Gets the low 32 bits as an unsigned integer.\n * @this {!Long}\n * @returns {number} Unsigned low bits\n */\nLongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() {\n return this.low >>> 0;\n};\n\n/**\n * Gets the number of bits needed to represent the absolute value of this Long.\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.getNumBitsAbs = function getNumBitsAbs() {\n if (this.isNegative()) // Unsigned Longs are never negative\n return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();\n var val = this.high != 0 ? this.high : this.low;\n for (var bit = 31; bit > 0; bit--)\n if ((val & (1 << bit)) != 0)\n break;\n return this.high != 0 ? bit + 33 : bit + 1;\n};\n\n/**\n * Tests if this Long's value equals zero.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isZero = function isZero() {\n return this.high === 0 && this.low === 0;\n};\n\n/**\n * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}.\n * @returns {boolean}\n */\nLongPrototype.eqz = LongPrototype.isZero;\n\n/**\n * Tests if this Long's value is negative.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isNegative = function isNegative() {\n return !this.unsigned && this.high < 0;\n};\n\n/**\n * Tests if this Long's value is positive.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isPositive = function isPositive() {\n return this.unsigned || this.high >= 0;\n};\n\n/**\n * Tests if this Long's value is odd.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isOdd = function isOdd() {\n return (this.low & 1) === 1;\n};\n\n/**\n * Tests if this Long's value is even.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isEven = function isEven() {\n return (this.low & 1) === 0;\n};\n\n/**\n * Tests if this Long's value equals the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.equals = function equals(other) {\n if (!isLong(other))\n other = fromValue(other);\n if (this.unsigned !== other.unsigned && (this.high >>> 31) === 1 && (other.high >>> 31) === 1)\n return false;\n return this.high === other.high && this.low === other.low;\n};\n\n/**\n * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.eq = LongPrototype.equals;\n\n/**\n * Tests if this Long's value differs from the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.notEquals = function notEquals(other) {\n return !this.eq(/* validates */ other);\n};\n\n/**\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.neq = LongPrototype.notEquals;\n\n/**\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.ne = LongPrototype.notEquals;\n\n/**\n * Tests if this Long's value is less than the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lessThan = function lessThan(other) {\n return this.comp(/* validates */ other) < 0;\n};\n\n/**\n * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lt = LongPrototype.lessThan;\n\n/**\n * Tests if this Long's value is less than or equal the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lessThanOrEqual = function lessThanOrEqual(other) {\n return this.comp(/* validates */ other) <= 0;\n};\n\n/**\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lte = LongPrototype.lessThanOrEqual;\n\n/**\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.le = LongPrototype.lessThanOrEqual;\n\n/**\n * Tests if this Long's value is greater than the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.greaterThan = function greaterThan(other) {\n return this.comp(/* validates */ other) > 0;\n};\n\n/**\n * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.gt = LongPrototype.greaterThan;\n\n/**\n * Tests if this Long's value is greater than or equal the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) {\n return this.comp(/* validates */ other) >= 0;\n};\n\n/**\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.gte = LongPrototype.greaterThanOrEqual;\n\n/**\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.ge = LongPrototype.greaterThanOrEqual;\n\n/**\n * Compares this Long's value with the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\nLongPrototype.compare = function compare(other) {\n if (!isLong(other))\n other = fromValue(other);\n if (this.eq(other))\n return 0;\n var thisNeg = this.isNegative(),\n otherNeg = other.isNegative();\n if (thisNeg && !otherNeg)\n return -1;\n if (!thisNeg && otherNeg)\n return 1;\n // At this point the sign bits are the same\n if (!this.unsigned)\n return this.sub(other).isNegative() ? -1 : 1;\n // Both are positive if at least one is unsigned\n return (other.high >>> 0) > (this.high >>> 0) || (other.high === this.high && (other.low >>> 0) > (this.low >>> 0)) ? -1 : 1;\n};\n\n/**\n * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\nLongPrototype.comp = LongPrototype.compare;\n\n/**\n * Negates this Long's value.\n * @this {!Long}\n * @returns {!Long} Negated Long\n */\nLongPrototype.negate = function negate() {\n if (!this.unsigned && this.eq(MIN_VALUE))\n return MIN_VALUE;\n return this.not().add(ONE);\n};\n\n/**\n * Negates this Long's value. This is an alias of {@link Long#negate}.\n * @function\n * @returns {!Long} Negated Long\n */\nLongPrototype.neg = LongPrototype.negate;\n\n/**\n * Returns the sum of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\nLongPrototype.add = function add(addend) {\n if (!isLong(addend))\n addend = fromValue(addend);\n\n // Divide each number into 4 chunks of 16 bits, and then sum the chunks.\n\n var a48 = this.high >>> 16;\n var a32 = this.high & 0xFFFF;\n var a16 = this.low >>> 16;\n var a00 = this.low & 0xFFFF;\n\n var b48 = addend.high >>> 16;\n var b32 = addend.high & 0xFFFF;\n var b16 = addend.low >>> 16;\n var b00 = addend.low & 0xFFFF;\n\n var c48 = 0, c32 = 0, c16 = 0, c00 = 0;\n c00 += a00 + b00;\n c16 += c00 >>> 16;\n c00 &= 0xFFFF;\n c16 += a16 + b16;\n c32 += c16 >>> 16;\n c16 &= 0xFFFF;\n c32 += a32 + b32;\n c48 += c32 >>> 16;\n c32 &= 0xFFFF;\n c48 += a48 + b48;\n c48 &= 0xFFFF;\n return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned);\n};\n\n/**\n * Returns the difference of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\nLongPrototype.subtract = function subtract(subtrahend) {\n if (!isLong(subtrahend))\n subtrahend = fromValue(subtrahend);\n return this.add(subtrahend.neg());\n};\n\n/**\n * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}.\n * @function\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\nLongPrototype.sub = LongPrototype.subtract;\n\n/**\n * Returns the product of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\nLongPrototype.multiply = function multiply(multiplier) {\n if (this.isZero())\n return ZERO;\n if (!isLong(multiplier))\n multiplier = fromValue(multiplier);\n\n // use wasm support if present\n if (wasm) {\n var low = wasm[\"mul\"](this.low,\n this.high,\n multiplier.low,\n multiplier.high);\n return fromBits(low, wasm[\"get_high\"](), this.unsigned);\n }\n\n if (multiplier.isZero())\n return ZERO;\n if (this.eq(MIN_VALUE))\n return multiplier.isOdd() ? MIN_VALUE : ZERO;\n if (multiplier.eq(MIN_VALUE))\n return this.isOdd() ? MIN_VALUE : ZERO;\n\n if (this.isNegative()) {\n if (multiplier.isNegative())\n return this.neg().mul(multiplier.neg());\n else\n return this.neg().mul(multiplier).neg();\n } else if (multiplier.isNegative())\n return this.mul(multiplier.neg()).neg();\n\n // If both longs are small, use float multiplication\n if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24))\n return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);\n\n // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products.\n // We can skip products that would overflow.\n\n var a48 = this.high >>> 16;\n var a32 = this.high & 0xFFFF;\n var a16 = this.low >>> 16;\n var a00 = this.low & 0xFFFF;\n\n var b48 = multiplier.high >>> 16;\n var b32 = multiplier.high & 0xFFFF;\n var b16 = multiplier.low >>> 16;\n var b00 = multiplier.low & 0xFFFF;\n\n var c48 = 0, c32 = 0, c16 = 0, c00 = 0;\n c00 += a00 * b00;\n c16 += c00 >>> 16;\n c00 &= 0xFFFF;\n c16 += a16 * b00;\n c32 += c16 >>> 16;\n c16 &= 0xFFFF;\n c16 += a00 * b16;\n c32 += c16 >>> 16;\n c16 &= 0xFFFF;\n c32 += a32 * b00;\n c48 += c32 >>> 16;\n c32 &= 0xFFFF;\n c32 += a16 * b16;\n c48 += c32 >>> 16;\n c32 &= 0xFFFF;\n c32 += a00 * b32;\n c48 += c32 >>> 16;\n c32 &= 0xFFFF;\n c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;\n c48 &= 0xFFFF;\n return fromBits((c16 << 16) | c00, (c48 << 16) | c32, this.unsigned);\n};\n\n/**\n * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}.\n * @function\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\nLongPrototype.mul = LongPrototype.multiply;\n\n/**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @this {!Long}\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\nLongPrototype.divide = function divide(divisor) {\n if (!isLong(divisor))\n divisor = fromValue(divisor);\n if (divisor.isZero())\n throw Error('division by zero');\n\n // use wasm support if present\n if (wasm) {\n // guard against signed division overflow: the largest\n // negative number / -1 would be 1 larger than the largest\n // positive number, due to two's complement.\n if (!this.unsigned &&\n this.high === -0x80000000 &&\n divisor.low === -1 && divisor.high === -1) {\n // be consistent with non-wasm code path\n return this;\n }\n var low = (this.unsigned ? wasm[\"div_u\"] : wasm[\"div_s\"])(\n this.low,\n this.high,\n divisor.low,\n divisor.high\n );\n return fromBits(low, wasm[\"get_high\"](), this.unsigned);\n }\n\n if (this.isZero())\n return this.unsigned ? UZERO : ZERO;\n var approx, rem, res;\n if (!this.unsigned) {\n // This section is only relevant for signed longs and is derived from the\n // closure library as a whole.\n if (this.eq(MIN_VALUE)) {\n if (divisor.eq(ONE) || divisor.eq(NEG_ONE))\n return MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE\n else if (divisor.eq(MIN_VALUE))\n return ONE;\n else {\n // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|.\n var halfThis = this.shr(1);\n approx = halfThis.div(divisor).shl(1);\n if (approx.eq(ZERO)) {\n return divisor.isNegative() ? ONE : NEG_ONE;\n } else {\n rem = this.sub(divisor.mul(approx));\n res = approx.add(rem.div(divisor));\n return res;\n }\n }\n } else if (divisor.eq(MIN_VALUE))\n return this.unsigned ? UZERO : ZERO;\n if (this.isNegative()) {\n if (divisor.isNegative())\n return this.neg().div(divisor.neg());\n return this.neg().div(divisor).neg();\n } else if (divisor.isNegative())\n return this.div(divisor.neg()).neg();\n res = ZERO;\n } else {\n // The algorithm below has not been made for unsigned longs. It's therefore\n // required to take special care of the MSB prior to running it.\n if (!divisor.unsigned)\n divisor = divisor.toUnsigned();\n if (divisor.gt(this))\n return UZERO;\n if (divisor.gt(this.shru(1))) // 15 >>> 1 = 7 ; with divisor = 8 ; true\n return UONE;\n res = UZERO;\n }\n\n // Repeat the following until the remainder is less than other: find a\n // floating-point that approximates remainder / other *from below*, add this\n // into the result, and subtract it from the remainder. It is critical that\n // the approximate value is less than or equal to the real value so that the\n // remainder never becomes negative.\n rem = this;\n while (rem.gte(divisor)) {\n // Approximate the result of division. This may be a little greater or\n // smaller than the actual value.\n approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));\n\n // We will tweak the approximate result by changing it in the 48-th digit or\n // the smallest non-fractional digit, whichever is larger.\n var log2 = Math.ceil(Math.log(approx) / Math.LN2),\n delta = (log2 <= 48) ? 1 : pow_dbl(2, log2 - 48),\n\n // Decrease the approximation until it is smaller than the remainder. Note\n // that if it is too large, the product overflows and is negative.\n approxRes = fromNumber(approx),\n approxRem = approxRes.mul(divisor);\n while (approxRem.isNegative() || approxRem.gt(rem)) {\n approx -= delta;\n approxRes = fromNumber(approx, this.unsigned);\n approxRem = approxRes.mul(divisor);\n }\n\n // We know the answer can't be zero... and actually, zero would cause\n // infinite recursion since we would make no progress.\n if (approxRes.isZero())\n approxRes = ONE;\n\n res = res.add(approxRes);\n rem = rem.sub(approxRem);\n }\n return res;\n};\n\n/**\n * Returns this Long divided by the specified. This is an alias of {@link Long#divide}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\nLongPrototype.div = LongPrototype.divide;\n\n/**\n * Returns this Long modulo the specified.\n * @this {!Long}\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.modulo = function modulo(divisor) {\n if (!isLong(divisor))\n divisor = fromValue(divisor);\n\n // use wasm support if present\n if (wasm) {\n var low = (this.unsigned ? wasm[\"rem_u\"] : wasm[\"rem_s\"])(\n this.low,\n this.high,\n divisor.low,\n divisor.high\n );\n return fromBits(low, wasm[\"get_high\"](), this.unsigned);\n }\n\n return this.sub(this.div(divisor).mul(divisor));\n};\n\n/**\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.mod = LongPrototype.modulo;\n\n/**\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.rem = LongPrototype.modulo;\n\n/**\n * Returns the bitwise NOT of this Long.\n * @this {!Long}\n * @returns {!Long}\n */\nLongPrototype.not = function not() {\n return fromBits(~this.low, ~this.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise AND of this Long and the specified.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.and = function and(other) {\n if (!isLong(other))\n other = fromValue(other);\n return fromBits(this.low & other.low, this.high & other.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise OR of this Long and the specified.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.or = function or(other) {\n if (!isLong(other))\n other = fromValue(other);\n return fromBits(this.low | other.low, this.high | other.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise XOR of this Long and the given one.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.xor = function xor(other) {\n if (!isLong(other))\n other = fromValue(other);\n return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned);\n};\n\n/**\n * Returns this Long with bits shifted to the left by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftLeft = function shiftLeft(numBits) {\n if (isLong(numBits))\n numBits = numBits.toInt();\n if ((numBits &= 63) === 0)\n return this;\n else if (numBits < 32)\n return fromBits(this.low << numBits, (this.high << numBits) | (this.low >>> (32 - numBits)), this.unsigned);\n else\n return fromBits(0, this.low << (numBits - 32), this.unsigned);\n};\n\n/**\n * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shl = LongPrototype.shiftLeft;\n\n/**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftRight = function shiftRight(numBits) {\n if (isLong(numBits))\n numBits = numBits.toInt();\n if ((numBits &= 63) === 0)\n return this;\n else if (numBits < 32)\n return fromBits((this.low >>> numBits) | (this.high << (32 - numBits)), this.high >> numBits, this.unsigned);\n else\n return fromBits(this.high >> (numBits - 32), this.high >= 0 ? 0 : -1, this.unsigned);\n};\n\n/**\n * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shr = LongPrototype.shiftRight;\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) {\n if (isLong(numBits)) numBits = numBits.toInt();\n if ((numBits &= 63) === 0) return this;\n if (numBits < 32) return fromBits((this.low >>> numBits) | (this.high << (32 - numBits)), this.high >>> numBits, this.unsigned);\n if (numBits === 32) return fromBits(this.high, 0, this.unsigned);\n return fromBits(this.high >>> (numBits - 32), 0, this.unsigned);\n};\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shru = LongPrototype.shiftRightUnsigned;\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shr_u = LongPrototype.shiftRightUnsigned;\n\n/**\n * Returns this Long with bits rotated to the left by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotateLeft = function rotateLeft(numBits) {\n var b;\n if (isLong(numBits)) numBits = numBits.toInt();\n if ((numBits &= 63) === 0) return this;\n if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);\n if (numBits < 32) {\n b = (32 - numBits);\n return fromBits(((this.low << numBits) | (this.high >>> b)), ((this.high << numBits) | (this.low >>> b)), this.unsigned);\n }\n numBits -= 32;\n b = (32 - numBits);\n return fromBits(((this.high << numBits) | (this.low >>> b)), ((this.low << numBits) | (this.high >>> b)), this.unsigned);\n}\n/**\n * Returns this Long with bits rotated to the left by the given amount. This is an alias of {@link Long#rotateLeft}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotl = LongPrototype.rotateLeft;\n\n/**\n * Returns this Long with bits rotated to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotateRight = function rotateRight(numBits) {\n var b;\n if (isLong(numBits)) numBits = numBits.toInt();\n if ((numBits &= 63) === 0) return this;\n if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);\n if (numBits < 32) {\n b = (32 - numBits);\n return fromBits(((this.high << b) | (this.low >>> numBits)), ((this.low << b) | (this.high >>> numBits)), this.unsigned);\n }\n numBits -= 32;\n b = (32 - numBits);\n return fromBits(((this.low << b) | (this.high >>> numBits)), ((this.high << b) | (this.low >>> numBits)), this.unsigned);\n}\n/**\n * Returns this Long with bits rotated to the right by the given amount. This is an alias of {@link Long#rotateRight}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotr = LongPrototype.rotateRight;\n\n/**\n * Converts this Long to signed.\n * @this {!Long}\n * @returns {!Long} Signed long\n */\nLongPrototype.toSigned = function toSigned() {\n if (!this.unsigned)\n return this;\n return fromBits(this.low, this.high, false);\n};\n\n/**\n * Converts this Long to unsigned.\n * @this {!Long}\n * @returns {!Long} Unsigned long\n */\nLongPrototype.toUnsigned = function toUnsigned() {\n if (this.unsigned)\n return this;\n return fromBits(this.low, this.high, true);\n};\n\n/**\n * Converts this Long to its byte representation.\n * @param {boolean=} le Whether little or big endian, defaults to big endian\n * @this {!Long}\n * @returns {!Array.<number>} Byte representation\n */\nLongPrototype.toBytes = function toBytes(le) {\n return le ? this.toBytesLE() : this.toBytesBE();\n};\n\n/**\n * Converts this Long to its little endian byte representation.\n * @this {!Long}\n * @returns {!Array.<number>} Little endian byte representation\n */\nLongPrototype.toBytesLE = function toBytesLE() {\n var hi = this.high,\n lo = this.low;\n return [\n lo & 0xff,\n lo >>> 8 & 0xff,\n lo >>> 16 & 0xff,\n lo >>> 24 ,\n hi & 0xff,\n hi >>> 8 & 0xff,\n hi >>> 16 & 0xff,\n hi >>> 24\n ];\n};\n\n/**\n * Converts this Long to its big endian byte representation.\n * @this {!Long}\n * @returns {!Array.<number>} Big endian byte representation\n */\nLongPrototype.toBytesBE = function toBytesBE() {\n var hi = this.high,\n lo = this.low;\n return [\n hi >>> 24 ,\n hi >>> 16 & 0xff,\n hi >>> 8 & 0xff,\n hi & 0xff,\n lo >>> 24 ,\n lo >>> 16 & 0xff,\n lo >>> 8 & 0xff,\n lo & 0xff\n ];\n};\n\n/**\n * Creates a Long from its byte representation.\n * @param {!Array.<number>} bytes Byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @param {boolean=} le Whether little or big endian, defaults to big endian\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytes = function fromBytes(bytes, unsigned, le) {\n return le ? Long.fromBytesLE(bytes, unsigned) : Long.fromBytesBE(bytes, unsigned);\n};\n\n/**\n * Creates a Long from its little endian byte representation.\n * @param {!Array.<number>} bytes Little endian byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytesLE = function fromBytesLE(bytes, unsigned) {\n return new Long(\n bytes[0] |\n bytes[1] << 8 |\n bytes[2] << 16 |\n bytes[3] << 24,\n bytes[4] |\n bytes[5] << 8 |\n bytes[6] << 16 |\n bytes[7] << 24,\n unsigned\n );\n};\n\n/**\n * Creates a Long from its big endian byte representation.\n * @param {!Array.<number>} bytes Big endian byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytesBE = function fromBytesBE(bytes, unsigned) {\n return new Long(\n bytes[4] << 24 |\n bytes[5] << 16 |\n bytes[6] << 8 |\n bytes[7],\n bytes[0] << 24 |\n bytes[1] << 16 |\n bytes[2] << 8 |\n bytes[3],\n unsigned\n );\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/@xtuc/long/src/long.js?"); /***/ }), /***/ "./node_modules/acorn-import-assertions/lib/index.js": /*!***********************************************************!*\ !*** ./node_modules/acorn-import-assertions/lib/index.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.importAssertions = importAssertions;\n\nvar _acorn = _interopRequireWildcard(__webpack_require__(/*! acorn */ \"./node_modules/acorn/dist/acorn.js\"));\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nconst leftCurlyBrace = \"{\".charCodeAt(0);\nconst space = \" \".charCodeAt(0);\nconst keyword = \"assert\";\nconst FUNC_STATEMENT = 1,\n FUNC_HANGING_STATEMENT = 2,\n FUNC_NULLABLE_ID = 4;\n\nfunction importAssertions(Parser) {\n // Use supplied version acorn version if present, to avoid\n // reference mismatches due to different acorn versions. This\n // allows this plugin to be used with Rollup which supplies\n // its own internal version of acorn and thereby sidesteps\n // the package manager.\n const acorn = Parser.acorn || _acorn;\n const {\n tokTypes: tt,\n TokenType\n } = acorn;\n return class extends Parser {\n constructor(...args) {\n super(...args);\n this.assertToken = new TokenType(keyword);\n }\n\n _codeAt(i) {\n return this.input.charCodeAt(i);\n }\n\n _eat(t) {\n if (this.type !== t) {\n this.unexpected();\n }\n\n this.next();\n }\n\n readToken(code) {\n let i = 0;\n\n for (; i < keyword.length; i++) {\n if (this._codeAt(this.pos + i) !== keyword.charCodeAt(i)) {\n return super.readToken(code);\n }\n } // ensure that the keyword is at the correct location\n // ie `assert{...` or `assert {...`\n\n\n for (;; i++) {\n if (this._codeAt(this.pos + i) === leftCurlyBrace) {\n // Found '{'\n break;\n } else if (this._codeAt(this.pos + i) === space) {\n // white space is allowed between `assert` and `{`, so continue.\n continue;\n } else {\n return super.readToken(code);\n }\n } // If we're inside a dynamic import expression we'll parse\n // the `assert` keyword as a standard object property name\n // ie `import(\"\"./foo.json\", { assert: { type: \"json\" } })`\n\n\n if (this.type.label === \"{\") {\n return super.readToken(code);\n }\n\n this.pos += keyword.length;\n return this.finishToken(this.assertToken);\n }\n\n parseDynamicImport(node) {\n this.next(); // skip `(`\n // Parse node.source.\n\n node.source = this.parseMaybeAssign();\n\n if (this.eat(tt.comma)) {\n const obj = this.parseObj(false);\n node.arguments = [obj];\n }\n\n this._eat(tt.parenR);\n\n return this.finishNode(node, \"ImportExpression\");\n } // ported from acorn/src/statement.js pp.parseExport\n\n\n parseExport(node, exports) {\n this.next(); // export * from '...'\n\n if (this.eat(tt.star)) {\n if (this.options.ecmaVersion >= 11) {\n if (this.eatContextual(\"as\")) {\n node.exported = this.parseIdent(true);\n this.checkExport(exports, node.exported.name, this.lastTokStart);\n } else {\n node.exported = null;\n }\n }\n\n this.expectContextual(\"from\");\n\n if (this.type !== tt.string) {\n this.unexpected();\n }\n\n node.source = this.parseExprAtom();\n\n if (this.type === this.assertToken) {\n this.next();\n const assertions = this.parseImportAssertions();\n\n if (assertions) {\n node.assertions = assertions;\n }\n }\n\n this.semicolon();\n return this.finishNode(node, \"ExportAllDeclaration\");\n }\n\n if (this.eat(tt._default)) {\n // export default ...\n this.checkExport(exports, \"default\", this.lastTokStart);\n var isAsync;\n\n if (this.type === tt._function || (isAsync = this.isAsyncFunction())) {\n var fNode = this.startNode();\n this.next();\n\n if (isAsync) {\n this.next();\n }\n\n node.declaration = this.parseFunction(fNode, FUNC_STATEMENT | FUNC_NULLABLE_ID, false, isAsync);\n } else if (this.type === tt._class) {\n var cNode = this.startNode();\n node.declaration = this.parseClass(cNode, \"nullableID\");\n } else {\n node.declaration = this.parseMaybeAssign();\n this.semicolon();\n }\n\n return this.finishNode(node, \"ExportDefaultDeclaration\");\n } // export var|const|let|function|class ...\n\n\n if (this.shouldParseExportStatement()) {\n node.declaration = this.parseStatement(null);\n\n if (node.declaration.type === \"VariableDeclaration\") {\n this.checkVariableExport(exports, node.declaration.declarations);\n } else {\n this.checkExport(exports, node.declaration.id.name, node.declaration.id.start);\n }\n\n node.specifiers = [];\n node.source = null;\n } else {\n // export { x, y as z } [from '...']\n node.declaration = null;\n node.specifiers = this.parseExportSpecifiers(exports);\n\n if (this.eatContextual(\"from\")) {\n if (this.type !== tt.string) {\n this.unexpected();\n }\n\n node.source = this.parseExprAtom();\n\n if (this.type === this.assertToken) {\n this.next();\n const assertions = this.parseImportAssertions();\n\n if (assertions) {\n node.assertions = assertions;\n }\n }\n } else {\n for (var i = 0, list = node.specifiers; i < list.length; i += 1) {\n // check for keywords used as local names\n var spec = list[i];\n this.checkUnreserved(spec.local); // check if export is defined\n\n this.checkLocalExport(spec.local);\n }\n\n node.source = null;\n }\n\n this.semicolon();\n }\n\n return this.finishNode(node, \"ExportNamedDeclaration\");\n }\n\n parseImport(node) {\n this.next(); // import '...'\n\n if (this.type === tt.string) {\n node.specifiers = [];\n node.source = this.parseExprAtom();\n } else {\n node.specifiers = this.parseImportSpecifiers();\n this.expectContextual(\"from\");\n node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected();\n }\n\n if (this.type === this.assertToken) {\n this.next();\n const assertions = this.parseImportAssertions();\n\n if (assertions) {\n node.assertions = assertions;\n }\n }\n\n this.semicolon();\n return this.finishNode(node, \"ImportDeclaration\");\n }\n\n parseImportAssertions() {\n this._eat(tt.braceL);\n\n const attrs = this.parseAssertEntries();\n\n this._eat(tt.braceR);\n\n return attrs;\n }\n\n parseAssertEntries() {\n const attrs = [];\n const attrNames = new Set();\n\n do {\n if (this.type === tt.braceR) {\n break;\n }\n\n const node = this.startNode(); // parse AssertionKey : IdentifierName, StringLiteral\n\n let assertionKeyNode;\n\n if (this.type === tt.string) {\n assertionKeyNode = this.parseLiteral(this.value);\n } else {\n assertionKeyNode = this.parseIdent(true);\n }\n\n this.next();\n node.key = assertionKeyNode; // check if we already have an entry for an attribute\n // if a duplicate entry is found, throw an error\n // for now this logic will come into play only when someone declares `type` twice\n\n if (attrNames.has(node.key.name)) {\n this.raise(this.pos, \"Duplicated key in assertions\");\n }\n\n attrNames.add(node.key.name);\n\n if (this.type !== tt.string) {\n this.raise(this.pos, \"Only string is supported as an assertion value\");\n }\n\n node.value = this.parseLiteral(this.value);\n attrs.push(this.finishNode(node, \"ImportAttribute\"));\n } while (this.eat(tt.comma));\n\n return attrs;\n }\n\n };\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/acorn-import-assertions/lib/index.js?"); /***/ }), /***/ "./node_modules/acorn/dist/acorn.js": /*!******************************************!*\ !*** ./node_modules/acorn/dist/acorn.js ***! \******************************************/ /***/ (function(__unused_webpack_module, exports) { eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n // This file was generated. Do not modify manually!\n var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];\n\n // This file was generated. Do not modify manually!\n var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191];\n\n // This file was generated. Do not modify manually!\n var nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u0898-\\u089f\\u08ca-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3c\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0cf3\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ece\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1715\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u180f-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf-\\u1ace\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1dff\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\n // This file was generated. Do not modify manually!\n var nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u0870-\\u0887\\u0889-\\u088e\\u08a0-\\u08c9\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c5d\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cdd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u1711\\u171f-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4c\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7ca\\ua7d0\\ua7d1\\ua7d3\\ua7d5-\\ua7d9\\ua7f2-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n\n // These are a run-length and offset encoded representation of the\n\n // Reserved word lists for various dialects of the language\n\n var reservedWords = {\n 3: \"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile\",\n 5: \"class enum extends super const export import\",\n 6: \"enum\",\n strict: \"implements interface let package private protected public static yield\",\n strictBind: \"eval arguments\"\n };\n\n // And the keywords\n\n var ecma5AndLessKeywords = \"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this\";\n\n var keywords$1 = {\n 5: ecma5AndLessKeywords,\n \"5module\": ecma5AndLessKeywords + \" export import\",\n 6: ecma5AndLessKeywords + \" const class extends export import super\"\n };\n\n var keywordRelationalOperator = /^in(stanceof)?$/;\n\n // ## Character categories\n\n var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\n // This has a complexity linear to the value of the code. The\n // assumption is that looking up astral identifier characters is\n // rare.\n function isInAstralSet(code, set) {\n var pos = 0x10000;\n for (var i = 0; i < set.length; i += 2) {\n pos += set[i];\n if (pos > code) { return false }\n pos += set[i + 1];\n if (pos >= code) { return true }\n }\n return false\n }\n\n // Test whether a given character code starts an identifier.\n\n function isIdentifierStart(code, astral) {\n if (code < 65) { return code === 36 }\n if (code < 91) { return true }\n if (code < 97) { return code === 95 }\n if (code < 123) { return true }\n if (code <= 0xffff) { return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)) }\n if (astral === false) { return false }\n return isInAstralSet(code, astralIdentifierStartCodes)\n }\n\n // Test whether a given character is part of an identifier.\n\n function isIdentifierChar(code, astral) {\n if (code < 48) { return code === 36 }\n if (code < 58) { return true }\n if (code < 65) { return false }\n if (code < 91) { return true }\n if (code < 97) { return code === 95 }\n if (code < 123) { return true }\n if (code <= 0xffff) { return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)) }\n if (astral === false) { return false }\n return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes)\n }\n\n // ## Token types\n\n // The assignment of fine-grained, information-carrying type objects\n // allows the tokenizer to store the information it has about a\n // token in a way that is very cheap for the parser to look up.\n\n // All token type variables start with an underscore, to make them\n // easy to recognize.\n\n // The `beforeExpr` property is used to disambiguate between regular\n // expressions and divisions. It is set on all token types that can\n // be followed by an expression (thus, a slash after them would be a\n // regular expression).\n //\n // The `startsExpr` property is used to check if the token ends a\n // `yield` expression. It is set on all token types that either can\n // directly start an expression (like a quotation mark) or can\n // continue an expression (like the body of a string).\n //\n // `isLoop` marks a keyword as starting a loop, which is important\n // to know when parsing a label, in order to allow or disallow\n // continue jumps to that label.\n\n var TokenType = function TokenType(label, conf) {\n if ( conf === void 0 ) conf = {};\n\n this.label = label;\n this.keyword = conf.keyword;\n this.beforeExpr = !!conf.beforeExpr;\n this.startsExpr = !!conf.startsExpr;\n this.isLoop = !!conf.isLoop;\n this.isAssign = !!conf.isAssign;\n this.prefix = !!conf.prefix;\n this.postfix = !!conf.postfix;\n this.binop = conf.binop || null;\n this.updateContext = null;\n };\n\n function binop(name, prec) {\n return new TokenType(name, {beforeExpr: true, binop: prec})\n }\n var beforeExpr = {beforeExpr: true}, startsExpr = {startsExpr: true};\n\n // Map keyword names to token types.\n\n var keywords = {};\n\n // Succinct definitions of keyword token types\n function kw(name, options) {\n if ( options === void 0 ) options = {};\n\n options.keyword = name;\n return keywords[name] = new TokenType(name, options)\n }\n\n var types$1 = {\n num: new TokenType(\"num\", startsExpr),\n regexp: new TokenType(\"regexp\", startsExpr),\n string: new TokenType(\"string\", startsExpr),\n name: new TokenType(\"name\", startsExpr),\n privateId: new TokenType(\"privateId\", startsExpr),\n eof: new TokenType(\"eof\"),\n\n // Punctuation token types.\n bracketL: new TokenType(\"[\", {beforeExpr: true, startsExpr: true}),\n bracketR: new TokenType(\"]\"),\n braceL: new TokenType(\"{\", {beforeExpr: true, startsExpr: true}),\n braceR: new TokenType(\"}\"),\n parenL: new TokenType(\"(\", {beforeExpr: true, startsExpr: true}),\n parenR: new TokenType(\")\"),\n comma: new TokenType(\",\", beforeExpr),\n semi: new TokenType(\";\", beforeExpr),\n colon: new TokenType(\":\", beforeExpr),\n dot: new TokenType(\".\"),\n question: new TokenType(\"?\", beforeExpr),\n questionDot: new TokenType(\"?.\"),\n arrow: new TokenType(\"=>\", beforeExpr),\n template: new TokenType(\"template\"),\n invalidTemplate: new TokenType(\"invalidTemplate\"),\n ellipsis: new TokenType(\"...\", beforeExpr),\n backQuote: new TokenType(\"`\", startsExpr),\n dollarBraceL: new TokenType(\"${\", {beforeExpr: true, startsExpr: true}),\n\n // Operators. These carry several kinds of properties to help the\n // parser use them properly (the presence of these properties is\n // what categorizes them as operators).\n //\n // `binop`, when present, specifies that this operator is a binary\n // operator, and will refer to its precedence.\n //\n // `prefix` and `postfix` mark the operator as a prefix or postfix\n // unary operator.\n //\n // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as\n // binary operators with a very low precedence, that should result\n // in AssignmentExpression nodes.\n\n eq: new TokenType(\"=\", {beforeExpr: true, isAssign: true}),\n assign: new TokenType(\"_=\", {beforeExpr: true, isAssign: true}),\n incDec: new TokenType(\"++/--\", {prefix: true, postfix: true, startsExpr: true}),\n prefix: new TokenType(\"!/~\", {beforeExpr: true, prefix: true, startsExpr: true}),\n logicalOR: binop(\"||\", 1),\n logicalAND: binop(\"&&\", 2),\n bitwiseOR: binop(\"|\", 3),\n bitwiseXOR: binop(\"^\", 4),\n bitwiseAND: binop(\"&\", 5),\n equality: binop(\"==/!=/===/!==\", 6),\n relational: binop(\"</>/<=/>=\", 7),\n bitShift: binop(\"<</>>/>>>\", 8),\n plusMin: new TokenType(\"+/-\", {beforeExpr: true, binop: 9, prefix: true, startsExpr: true}),\n modulo: binop(\"%\", 10),\n star: binop(\"*\", 10),\n slash: binop(\"/\", 10),\n starstar: new TokenType(\"**\", {beforeExpr: true}),\n coalesce: binop(\"??\", 1),\n\n // Keyword token types.\n _break: kw(\"break\"),\n _case: kw(\"case\", beforeExpr),\n _catch: kw(\"catch\"),\n _continue: kw(\"continue\"),\n _debugger: kw(\"debugger\"),\n _default: kw(\"default\", beforeExpr),\n _do: kw(\"do\", {isLoop: true, beforeExpr: true}),\n _else: kw(\"else\", beforeExpr),\n _finally: kw(\"finally\"),\n _for: kw(\"for\", {isLoop: true}),\n _function: kw(\"function\", startsExpr),\n _if: kw(\"if\"),\n _return: kw(\"return\", beforeExpr),\n _switch: kw(\"switch\"),\n _throw: kw(\"throw\", beforeExpr),\n _try: kw(\"try\"),\n _var: kw(\"var\"),\n _const: kw(\"const\"),\n _while: kw(\"while\", {isLoop: true}),\n _with: kw(\"with\"),\n _new: kw(\"new\", {beforeExpr: true, startsExpr: true}),\n _this: kw(\"this\", startsExpr),\n _super: kw(\"super\", startsExpr),\n _class: kw(\"class\", startsExpr),\n _extends: kw(\"extends\", beforeExpr),\n _export: kw(\"export\"),\n _import: kw(\"import\", startsExpr),\n _null: kw(\"null\", startsExpr),\n _true: kw(\"true\", startsExpr),\n _false: kw(\"false\", startsExpr),\n _in: kw(\"in\", {beforeExpr: true, binop: 7}),\n _instanceof: kw(\"instanceof\", {beforeExpr: true, binop: 7}),\n _typeof: kw(\"typeof\", {beforeExpr: true, prefix: true, startsExpr: true}),\n _void: kw(\"void\", {beforeExpr: true, prefix: true, startsExpr: true}),\n _delete: kw(\"delete\", {beforeExpr: true, prefix: true, startsExpr: true})\n };\n\n // Matches a whole line break (where CRLF is considered a single\n // line break). Used to count lines.\n\n var lineBreak = /\\r\\n?|\\n|\\u2028|\\u2029/;\n var lineBreakG = new RegExp(lineBreak.source, \"g\");\n\n function isNewLine(code) {\n return code === 10 || code === 13 || code === 0x2028 || code === 0x2029\n }\n\n function nextLineBreak(code, from, end) {\n if ( end === void 0 ) end = code.length;\n\n for (var i = from; i < end; i++) {\n var next = code.charCodeAt(i);\n if (isNewLine(next))\n { return i < end - 1 && next === 13 && code.charCodeAt(i + 1) === 10 ? i + 2 : i + 1 }\n }\n return -1\n }\n\n var nonASCIIwhitespace = /[\\u1680\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/;\n\n var skipWhiteSpace = /(?:\\s|\\/\\/.*|\\/\\*[^]*?\\*\\/)*/g;\n\n var ref = Object.prototype;\n var hasOwnProperty = ref.hasOwnProperty;\n var toString = ref.toString;\n\n var hasOwn = Object.hasOwn || (function (obj, propName) { return (\n hasOwnProperty.call(obj, propName)\n ); });\n\n var isArray = Array.isArray || (function (obj) { return (\n toString.call(obj) === \"[object Array]\"\n ); });\n\n function wordsRegexp(words) {\n return new RegExp(\"^(?:\" + words.replace(/ /g, \"|\") + \")$\")\n }\n\n function codePointToString(code) {\n // UTF-16 Decoding\n if (code <= 0xFFFF) { return String.fromCharCode(code) }\n code -= 0x10000;\n return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00)\n }\n\n var loneSurrogate = /(?:[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/;\n\n // These are used when `options.locations` is on, for the\n // `startLoc` and `endLoc` properties.\n\n var Position = function Position(line, col) {\n this.line = line;\n this.column = col;\n };\n\n Position.prototype.offset = function offset (n) {\n return new Position(this.line, this.column + n)\n };\n\n var SourceLocation = function SourceLocation(p, start, end) {\n this.start = start;\n this.end = end;\n if (p.sourceFile !== null) { this.source = p.sourceFile; }\n };\n\n // The `getLineInfo` function is mostly useful when the\n // `locations` option is off (for performance reasons) and you\n // want to find the line/column position for a given character\n // offset. `input` should be the code string that the offset refers\n // into.\n\n function getLineInfo(input, offset) {\n for (var line = 1, cur = 0;;) {\n var nextBreak = nextLineBreak(input, cur, offset);\n if (nextBreak < 0) { return new Position(line, offset - cur) }\n ++line;\n cur = nextBreak;\n }\n }\n\n // A second argument must be given to configure the parser process.\n // These options are recognized (only `ecmaVersion` is required):\n\n var defaultOptions = {\n // `ecmaVersion` indicates the ECMAScript version to parse. Must be\n // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10\n // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `\"latest\"`\n // (the latest version the library supports). This influences\n // support for strict mode, the set of reserved words, and support\n // for new syntax features.\n ecmaVersion: null,\n // `sourceType` indicates the mode the code should be parsed in.\n // Can be either `\"script\"` or `\"module\"`. This influences global\n // strict mode and parsing of `import` and `export` declarations.\n sourceType: \"script\",\n // `onInsertedSemicolon` can be a callback that will be called\n // when a semicolon is automatically inserted. It will be passed\n // the position of the comma as an offset, and if `locations` is\n // enabled, it is given the location as a `{line, column}` object\n // as second argument.\n onInsertedSemicolon: null,\n // `onTrailingComma` is similar to `onInsertedSemicolon`, but for\n // trailing commas.\n onTrailingComma: null,\n // By default, reserved words are only enforced if ecmaVersion >= 5.\n // Set `allowReserved` to a boolean value to explicitly turn this on\n // an off. When this option has the value \"never\", reserved words\n // and keywords can also not be used as property names.\n allowReserved: null,\n // When enabled, a return at the top level is not considered an\n // error.\n allowReturnOutsideFunction: false,\n // When enabled, import/export statements are not constrained to\n // appearing at the top of the program, and an import.meta expression\n // in a script isn't considered an error.\n allowImportExportEverywhere: false,\n // By default, await identifiers are allowed to appear at the top-level scope only if ecmaVersion >= 2022.\n // When enabled, await identifiers are allowed to appear at the top-level scope,\n // but they are still not allowed in non-async functions.\n allowAwaitOutsideFunction: null,\n // When enabled, super identifiers are not constrained to\n // appearing in methods and do not raise an error when they appear elsewhere.\n allowSuperOutsideMethod: null,\n // When enabled, hashbang directive in the beginning of file is\n // allowed and treated as a line comment. Enabled by default when\n // `ecmaVersion` >= 2023.\n allowHashBang: false,\n // When `locations` is on, `loc` properties holding objects with\n // `start` and `end` properties in `{line, column}` form (with\n // line being 1-based and column 0-based) will be attached to the\n // nodes.\n locations: false,\n // A function can be passed as `onToken` option, which will\n // cause Acorn to call that function with object in the same\n // format as tokens returned from `tokenizer().getToken()`. Note\n // that you are not allowed to call the parser from the\n // callback—that will corrupt its internal state.\n onToken: null,\n // A function can be passed as `onComment` option, which will\n // cause Acorn to call that function with `(block, text, start,\n // end)` parameters whenever a comment is skipped. `block` is a\n // boolean indicating whether this is a block (`/* */`) comment,\n // `text` is the content of the comment, and `start` and `end` are\n // character offsets that denote the start and end of the comment.\n // When the `locations` option is on, two more parameters are\n // passed, the full `{line, column}` locations of the start and\n // end of the comments. Note that you are not allowed to call the\n // parser from the callback—that will corrupt its internal state.\n onComment: null,\n // Nodes have their start and end characters offsets recorded in\n // `start` and `end` properties (directly on the node, rather than\n // the `loc` object, which holds line/column data. To also add a\n // [semi-standardized][range] `range` property holding a `[start,\n // end]` array with the same numbers, set the `ranges` option to\n // `true`.\n //\n // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678\n ranges: false,\n // It is possible to parse multiple files into a single AST by\n // passing the tree produced by parsing the first file as\n // `program` option in subsequent parses. This will add the\n // toplevel forms of the parsed file to the `Program` (top) node\n // of an existing parse tree.\n program: null,\n // When `locations` is on, you can pass this to record the source\n // file in every node's `loc` object.\n sourceFile: null,\n // This value, if given, is stored in every node, whether\n // `locations` is on or off.\n directSourceFile: null,\n // When enabled, parenthesized expressions are represented by\n // (non-standard) ParenthesizedExpression nodes\n preserveParens: false\n };\n\n // Interpret and default an options object\n\n var warnedAboutEcmaVersion = false;\n\n function getOptions(opts) {\n var options = {};\n\n for (var opt in defaultOptions)\n { options[opt] = opts && hasOwn(opts, opt) ? opts[opt] : defaultOptions[opt]; }\n\n if (options.ecmaVersion === \"latest\") {\n options.ecmaVersion = 1e8;\n } else if (options.ecmaVersion == null) {\n if (!warnedAboutEcmaVersion && typeof console === \"object\" && console.warn) {\n warnedAboutEcmaVersion = true;\n console.warn(\"Since Acorn 8.0.0, options.ecmaVersion is required.\\nDefaulting to 2020, but this will stop working in the future.\");\n }\n options.ecmaVersion = 11;\n } else if (options.ecmaVersion >= 2015) {\n options.ecmaVersion -= 2009;\n }\n\n if (options.allowReserved == null)\n { options.allowReserved = options.ecmaVersion < 5; }\n\n if (!opts || opts.allowHashBang == null)\n { options.allowHashBang = options.ecmaVersion >= 14; }\n\n if (isArray(options.onToken)) {\n var tokens = options.onToken;\n options.onToken = function (token) { return tokens.push(token); };\n }\n if (isArray(options.onComment))\n { options.onComment = pushComment(options, options.onComment); }\n\n return options\n }\n\n function pushComment(options, array) {\n return function(block, text, start, end, startLoc, endLoc) {\n var comment = {\n type: block ? \"Block\" : \"Line\",\n value: text,\n start: start,\n end: end\n };\n if (options.locations)\n { comment.loc = new SourceLocation(this, startLoc, endLoc); }\n if (options.ranges)\n { comment.range = [start, end]; }\n array.push(comment);\n }\n }\n\n // Each scope gets a bitset that may contain these flags\n var\n SCOPE_TOP = 1,\n SCOPE_FUNCTION = 2,\n SCOPE_ASYNC = 4,\n SCOPE_GENERATOR = 8,\n SCOPE_ARROW = 16,\n SCOPE_SIMPLE_CATCH = 32,\n SCOPE_SUPER = 64,\n SCOPE_DIRECT_SUPER = 128,\n SCOPE_CLASS_STATIC_BLOCK = 256,\n SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;\n\n function functionFlags(async, generator) {\n return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0)\n }\n\n // Used in checkLVal* and declareName to determine the type of a binding\n var\n BIND_NONE = 0, // Not a binding\n BIND_VAR = 1, // Var-style binding\n BIND_LEXICAL = 2, // Let- or const-style binding\n BIND_FUNCTION = 3, // Function declaration\n BIND_SIMPLE_CATCH = 4, // Simple (identifier pattern) catch binding\n BIND_OUTSIDE = 5; // Special case for function names as bound inside the function\n\n var Parser = function Parser(options, input, startPos) {\n this.options = options = getOptions(options);\n this.sourceFile = options.sourceFile;\n this.keywords = wordsRegexp(keywords$1[options.ecmaVersion >= 6 ? 6 : options.sourceType === \"module\" ? \"5module\" : 5]);\n var reserved = \"\";\n if (options.allowReserved !== true) {\n reserved = reservedWords[options.ecmaVersion >= 6 ? 6 : options.ecmaVersion === 5 ? 5 : 3];\n if (options.sourceType === \"module\") { reserved += \" await\"; }\n }\n this.reservedWords = wordsRegexp(reserved);\n var reservedStrict = (reserved ? reserved + \" \" : \"\") + reservedWords.strict;\n this.reservedWordsStrict = wordsRegexp(reservedStrict);\n this.reservedWordsStrictBind = wordsRegexp(reservedStrict + \" \" + reservedWords.strictBind);\n this.input = String(input);\n\n // Used to signal to callers of `readWord1` whether the word\n // contained any escape sequences. This is needed because words with\n // escape sequences must not be interpreted as keywords.\n this.containsEsc = false;\n\n // Set up token state\n\n // The current position of the tokenizer in the input.\n if (startPos) {\n this.pos = startPos;\n this.lineStart = this.input.lastIndexOf(\"\\n\", startPos - 1) + 1;\n this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length;\n } else {\n this.pos = this.lineStart = 0;\n this.curLine = 1;\n }\n\n // Properties of the current token:\n // Its type\n this.type = types$1.eof;\n // For tokens that include more information than their type, the value\n this.value = null;\n // Its start and end offset\n this.start = this.end = this.pos;\n // And, if locations are used, the {line, column} object\n // corresponding to those offsets\n this.startLoc = this.endLoc = this.curPosition();\n\n // Position information for the previous token\n this.lastTokEndLoc = this.lastTokStartLoc = null;\n this.lastTokStart = this.lastTokEnd = this.pos;\n\n // The context stack is used to superficially track syntactic\n // context to predict whether a regular expression is allowed in a\n // given position.\n this.context = this.initialContext();\n this.exprAllowed = true;\n\n // Figure out if it's a module code.\n this.inModule = options.sourceType === \"module\";\n this.strict = this.inModule || this.strictDirective(this.pos);\n\n // Used to signify the start of a potential arrow function\n this.potentialArrowAt = -1;\n this.potentialArrowInForAwait = false;\n\n // Positions to delayed-check that yield/await does not exist in default parameters.\n this.yieldPos = this.awaitPos = this.awaitIdentPos = 0;\n // Labels in scope.\n this.labels = [];\n // Thus-far undefined exports.\n this.undefinedExports = Object.create(null);\n\n // If enabled, skip leading hashbang line.\n if (this.pos === 0 && options.allowHashBang && this.input.slice(0, 2) === \"#!\")\n { this.skipLineComment(2); }\n\n // Scope tracking for duplicate variable names (see scope.js)\n this.scopeStack = [];\n this.enterScope(SCOPE_TOP);\n\n // For RegExp validation\n this.regexpState = null;\n\n // The stack of private names.\n // Each element has two properties: 'declared' and 'used'.\n // When it exited from the outermost class definition, all used private names must be declared.\n this.privateNameStack = [];\n };\n\n var prototypeAccessors = { inFunction: { configurable: true },inGenerator: { configurable: true },inAsync: { configurable: true },canAwait: { configurable: true },allowSuper: { configurable: true },allowDirectSuper: { configurable: true },treatFunctionsAsVar: { configurable: true },allowNewDotTarget: { configurable: true },inClassStaticBlock: { configurable: true } };\n\n Parser.prototype.parse = function parse () {\n var node = this.options.program || this.startNode();\n this.nextToken();\n return this.parseTopLevel(node)\n };\n\n prototypeAccessors.inFunction.get = function () { return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0 };\n\n prototypeAccessors.inGenerator.get = function () { return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 && !this.currentVarScope().inClassFieldInit };\n\n prototypeAccessors.inAsync.get = function () { return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 && !this.currentVarScope().inClassFieldInit };\n\n prototypeAccessors.canAwait.get = function () {\n for (var i = this.scopeStack.length - 1; i >= 0; i--) {\n var scope = this.scopeStack[i];\n if (scope.inClassFieldInit || scope.flags & SCOPE_CLASS_STATIC_BLOCK) { return false }\n if (scope.flags & SCOPE_FUNCTION) { return (scope.flags & SCOPE_ASYNC) > 0 }\n }\n return (this.inModule && this.options.ecmaVersion >= 13) || this.options.allowAwaitOutsideFunction\n };\n\n prototypeAccessors.allowSuper.get = function () {\n var ref = this.currentThisScope();\n var flags = ref.flags;\n var inClassFieldInit = ref.inClassFieldInit;\n return (flags & SCOPE_SUPER) > 0 || inClassFieldInit || this.options.allowSuperOutsideMethod\n };\n\n prototypeAccessors.allowDirectSuper.get = function () { return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0 };\n\n prototypeAccessors.treatFunctionsAsVar.get = function () { return this.treatFunctionsAsVarInScope(this.currentScope()) };\n\n prototypeAccessors.allowNewDotTarget.get = function () {\n var ref = this.currentThisScope();\n var flags = ref.flags;\n var inClassFieldInit = ref.inClassFieldInit;\n return (flags & (SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK)) > 0 || inClassFieldInit\n };\n\n prototypeAccessors.inClassStaticBlock.get = function () {\n return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0\n };\n\n Parser.extend = function extend () {\n var plugins = [], len = arguments.length;\n while ( len-- ) plugins[ len ] = arguments[ len ];\n\n var cls = this;\n for (var i = 0; i < plugins.length; i++) { cls = plugins[i](cls); }\n return cls\n };\n\n Parser.parse = function parse (input, options) {\n return new this(options, input).parse()\n };\n\n Parser.parseExpressionAt = function parseExpressionAt (input, pos, options) {\n var parser = new this(options, input, pos);\n parser.nextToken();\n return parser.parseExpression()\n };\n\n Parser.tokenizer = function tokenizer (input, options) {\n return new this(options, input)\n };\n\n Object.defineProperties( Parser.prototype, prototypeAccessors );\n\n var pp$9 = Parser.prototype;\n\n // ## Parser utilities\n\n var literal = /^(?:'((?:\\\\.|[^'\\\\])*?)'|\"((?:\\\\.|[^\"\\\\])*?)\")/;\n pp$9.strictDirective = function(start) {\n if (this.options.ecmaVersion < 5) { return false }\n for (;;) {\n // Try to find string literal.\n skipWhiteSpace.lastIndex = start;\n start += skipWhiteSpace.exec(this.input)[0].length;\n var match = literal.exec(this.input.slice(start));\n if (!match) { return false }\n if ((match[1] || match[2]) === \"use strict\") {\n skipWhiteSpace.lastIndex = start + match[0].length;\n var spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length;\n var next = this.input.charAt(end);\n return next === \";\" || next === \"}\" ||\n (lineBreak.test(spaceAfter[0]) &&\n !(/[(`.[+\\-/*%<>=,?^&]/.test(next) || next === \"!\" && this.input.charAt(end + 1) === \"=\"))\n }\n start += match[0].length;\n\n // Skip semicolon, if any.\n skipWhiteSpace.lastIndex = start;\n start += skipWhiteSpace.exec(this.input)[0].length;\n if (this.input[start] === \";\")\n { start++; }\n }\n };\n\n // Predicate that tests whether the next token is of the given\n // type, and if yes, consumes it as a side effect.\n\n pp$9.eat = function(type) {\n if (this.type === type) {\n this.next();\n return true\n } else {\n return false\n }\n };\n\n // Tests whether parsed token is a contextual keyword.\n\n pp$9.isContextual = function(name) {\n return this.type === types$1.name && this.value === name && !this.containsEsc\n };\n\n // Consumes contextual keyword if possible.\n\n pp$9.eatContextual = function(name) {\n if (!this.isContextual(name)) { return false }\n this.next();\n return true\n };\n\n // Asserts that following token is given contextual keyword.\n\n pp$9.expectContextual = function(name) {\n if (!this.eatContextual(name)) { this.unexpected(); }\n };\n\n // Test whether a semicolon can be inserted at the current position.\n\n pp$9.canInsertSemicolon = function() {\n return this.type === types$1.eof ||\n this.type === types$1.braceR ||\n lineBreak.test(this.input.slice(this.lastTokEnd, this.start))\n };\n\n pp$9.insertSemicolon = function() {\n if (this.canInsertSemicolon()) {\n if (this.options.onInsertedSemicolon)\n { this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc); }\n return true\n }\n };\n\n // Consume a semicolon, or, failing that, see if we are allowed to\n // pretend that there is a semicolon at this position.\n\n pp$9.semicolon = function() {\n if (!this.eat(types$1.semi) && !this.insertSemicolon()) { this.unexpected(); }\n };\n\n pp$9.afterTrailingComma = function(tokType, notNext) {\n if (this.type === tokType) {\n if (this.options.onTrailingComma)\n { this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc); }\n if (!notNext)\n { this.next(); }\n return true\n }\n };\n\n // Expect a token of a given type. If found, consume it, otherwise,\n // raise an unexpected token error.\n\n pp$9.expect = function(type) {\n this.eat(type) || this.unexpected();\n };\n\n // Raise an unexpected token error.\n\n pp$9.unexpected = function(pos) {\n this.raise(pos != null ? pos : this.start, \"Unexpected token\");\n };\n\n var DestructuringErrors = function DestructuringErrors() {\n this.shorthandAssign =\n this.trailingComma =\n this.parenthesizedAssign =\n this.parenthesizedBind =\n this.doubleProto =\n -1;\n };\n\n pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) {\n if (!refDestructuringErrors) { return }\n if (refDestructuringErrors.trailingComma > -1)\n { this.raiseRecoverable(refDestructuringErrors.trailingComma, \"Comma is not permitted after the rest element\"); }\n var parens = isAssign ? refDestructuringErrors.parenthesizedAssign : refDestructuringErrors.parenthesizedBind;\n if (parens > -1) { this.raiseRecoverable(parens, isAssign ? \"Assigning to rvalue\" : \"Parenthesized pattern\"); }\n };\n\n pp$9.checkExpressionErrors = function(refDestructuringErrors, andThrow) {\n if (!refDestructuringErrors) { return false }\n var shorthandAssign = refDestructuringErrors.shorthandAssign;\n var doubleProto = refDestructuringErrors.doubleProto;\n if (!andThrow) { return shorthandAssign >= 0 || doubleProto >= 0 }\n if (shorthandAssign >= 0)\n { this.raise(shorthandAssign, \"Shorthand property assignments are valid only in destructuring patterns\"); }\n if (doubleProto >= 0)\n { this.raiseRecoverable(doubleProto, \"Redefinition of __proto__ property\"); }\n };\n\n pp$9.checkYieldAwaitInDefaultParams = function() {\n if (this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos))\n { this.raise(this.yieldPos, \"Yield expression cannot be a default value\"); }\n if (this.awaitPos)\n { this.raise(this.awaitPos, \"Await expression cannot be a default value\"); }\n };\n\n pp$9.isSimpleAssignTarget = function(expr) {\n if (expr.type === \"ParenthesizedExpression\")\n { return this.isSimpleAssignTarget(expr.expression) }\n return expr.type === \"Identifier\" || expr.type === \"MemberExpression\"\n };\n\n var pp$8 = Parser.prototype;\n\n // ### Statement parsing\n\n // Parse a program. Initializes the parser, reads any number of\n // statements, and wraps them in a Program node. Optionally takes a\n // `program` argument. If present, the statements will be appended\n // to its body instead of creating a new node.\n\n pp$8.parseTopLevel = function(node) {\n var exports = Object.create(null);\n if (!node.body) { node.body = []; }\n while (this.type !== types$1.eof) {\n var stmt = this.parseStatement(null, true, exports);\n node.body.push(stmt);\n }\n if (this.inModule)\n { for (var i = 0, list = Object.keys(this.undefinedExports); i < list.length; i += 1)\n {\n var name = list[i];\n\n this.raiseRecoverable(this.undefinedExports[name].start, (\"Export '\" + name + \"' is not defined\"));\n } }\n this.adaptDirectivePrologue(node.body);\n this.next();\n node.sourceType = this.options.sourceType;\n return this.finishNode(node, \"Program\")\n };\n\n var loopLabel = {kind: \"loop\"}, switchLabel = {kind: \"switch\"};\n\n pp$8.isLet = function(context) {\n if (this.options.ecmaVersion < 6 || !this.isContextual(\"let\")) { return false }\n skipWhiteSpace.lastIndex = this.pos;\n var skip = skipWhiteSpace.exec(this.input);\n var next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);\n // For ambiguous cases, determine if a LexicalDeclaration (or only a\n // Statement) is allowed here. If context is not empty then only a Statement\n // is allowed. However, `let [` is an explicit negative lookahead for\n // ExpressionStatement, so special-case it first.\n if (nextCh === 91 || nextCh === 92) { return true } // '[', '/'\n if (context) { return false }\n\n if (nextCh === 123 || nextCh > 0xd7ff && nextCh < 0xdc00) { return true } // '{', astral\n if (isIdentifierStart(nextCh, true)) {\n var pos = next + 1;\n while (isIdentifierChar(nextCh = this.input.charCodeAt(pos), true)) { ++pos; }\n if (nextCh === 92 || nextCh > 0xd7ff && nextCh < 0xdc00) { return true }\n var ident = this.input.slice(next, pos);\n if (!keywordRelationalOperator.test(ident)) { return true }\n }\n return false\n };\n\n // check 'async [no LineTerminator here] function'\n // - 'async /*foo*/ function' is OK.\n // - 'async /*\\n*/ function' is invalid.\n pp$8.isAsyncFunction = function() {\n if (this.options.ecmaVersion < 8 || !this.isContextual(\"async\"))\n { return false }\n\n skipWhiteSpace.lastIndex = this.pos;\n var skip = skipWhiteSpace.exec(this.input);\n var next = this.pos + skip[0].length, after;\n return !lineBreak.test(this.input.slice(this.pos, next)) &&\n this.input.slice(next, next + 8) === \"function\" &&\n (next + 8 === this.input.length ||\n !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 0xd7ff && after < 0xdc00))\n };\n\n // Parse a single statement.\n //\n // If expecting a statement and finding a slash operator, parse a\n // regular expression literal. This is to handle cases like\n // `if (foo) /blah/.exec(foo)`, where looking at the previous token\n // does not help.\n\n pp$8.parseStatement = function(context, topLevel, exports) {\n var starttype = this.type, node = this.startNode(), kind;\n\n if (this.isLet(context)) {\n starttype = types$1._var;\n kind = \"let\";\n }\n\n // Most types of statements are recognized by the keyword they\n // start with. Many are trivial to parse, some require a bit of\n // complexity.\n\n switch (starttype) {\n case types$1._break: case types$1._continue: return this.parseBreakContinueStatement(node, starttype.keyword)\n case types$1._debugger: return this.parseDebuggerStatement(node)\n case types$1._do: return this.parseDoStatement(node)\n case types$1._for: return this.parseForStatement(node)\n case types$1._function:\n // Function as sole body of either an if statement or a labeled statement\n // works, but not when it is part of a labeled statement that is the sole\n // body of an if statement.\n if ((context && (this.strict || context !== \"if\" && context !== \"label\")) && this.options.ecmaVersion >= 6) { this.unexpected(); }\n return this.parseFunctionStatement(node, false, !context)\n case types$1._class:\n if (context) { this.unexpected(); }\n return this.parseClass(node, true)\n case types$1._if: return this.parseIfStatement(node)\n case types$1._return: return this.parseReturnStatement(node)\n case types$1._switch: return this.parseSwitchStatement(node)\n case types$1._throw: return this.parseThrowStatement(node)\n case types$1._try: return this.parseTryStatement(node)\n case types$1._const: case types$1._var:\n kind = kind || this.value;\n if (context && kind !== \"var\") { this.unexpected(); }\n return this.parseVarStatement(node, kind)\n case types$1._while: return this.parseWhileStatement(node)\n case types$1._with: return this.parseWithStatement(node)\n case types$1.braceL: return this.parseBlock(true, node)\n case types$1.semi: return this.parseEmptyStatement(node)\n case types$1._export:\n case types$1._import:\n if (this.options.ecmaVersion > 10 && starttype === types$1._import) {\n skipWhiteSpace.lastIndex = this.pos;\n var skip = skipWhiteSpace.exec(this.input);\n var next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);\n if (nextCh === 40 || nextCh === 46) // '(' or '.'\n { return this.parseExpressionStatement(node, this.parseExpression()) }\n }\n\n if (!this.options.allowImportExportEverywhere) {\n if (!topLevel)\n { this.raise(this.start, \"'import' and 'export' may only appear at the top level\"); }\n if (!this.inModule)\n { this.raise(this.start, \"'import' and 'export' may appear only with 'sourceType: module'\"); }\n }\n return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports)\n\n // If the statement does not start with a statement keyword or a\n // brace, it's an ExpressionStatement or LabeledStatement. We\n // simply start parsing an expression, and afterwards, if the\n // next token is a colon and the expression was a simple\n // Identifier node, we switch to interpreting it as a label.\n default:\n if (this.isAsyncFunction()) {\n if (context) { this.unexpected(); }\n this.next();\n return this.parseFunctionStatement(node, true, !context)\n }\n\n var maybeName = this.value, expr = this.parseExpression();\n if (starttype === types$1.name && expr.type === \"Identifier\" && this.eat(types$1.colon))\n { return this.parseLabeledStatement(node, maybeName, expr, context) }\n else { return this.parseExpressionStatement(node, expr) }\n }\n };\n\n pp$8.parseBreakContinueStatement = function(node, keyword) {\n var isBreak = keyword === \"break\";\n this.next();\n if (this.eat(types$1.semi) || this.insertSemicolon()) { node.label = null; }\n else if (this.type !== types$1.name) { this.unexpected(); }\n else {\n node.label = this.parseIdent();\n this.semicolon();\n }\n\n // Verify that there is an actual destination to break or\n // continue to.\n var i = 0;\n for (; i < this.labels.length; ++i) {\n var lab = this.labels[i];\n if (node.label == null || lab.name === node.label.name) {\n if (lab.kind != null && (isBreak || lab.kind === \"loop\")) { break }\n if (node.label && isBreak) { break }\n }\n }\n if (i === this.labels.length) { this.raise(node.start, \"Unsyntactic \" + keyword); }\n return this.finishNode(node, isBreak ? \"BreakStatement\" : \"ContinueStatement\")\n };\n\n pp$8.parseDebuggerStatement = function(node) {\n this.next();\n this.semicolon();\n return this.finishNode(node, \"DebuggerStatement\")\n };\n\n pp$8.parseDoStatement = function(node) {\n this.next();\n this.labels.push(loopLabel);\n node.body = this.parseStatement(\"do\");\n this.labels.pop();\n this.expect(types$1._while);\n node.test = this.parseParenExpression();\n if (this.options.ecmaVersion >= 6)\n { this.eat(types$1.semi); }\n else\n { this.semicolon(); }\n return this.finishNode(node, \"DoWhileStatement\")\n };\n\n // Disambiguating between a `for` and a `for`/`in` or `for`/`of`\n // loop is non-trivial. Basically, we have to parse the init `var`\n // statement or expression, disallowing the `in` operator (see\n // the second parameter to `parseExpression`), and then check\n // whether the next token is `in` or `of`. When there is no init\n // part (semicolon immediately after the opening parenthesis), it\n // is a regular `for` loop.\n\n pp$8.parseForStatement = function(node) {\n this.next();\n var awaitAt = (this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual(\"await\")) ? this.lastTokStart : -1;\n this.labels.push(loopLabel);\n this.enterScope(0);\n this.expect(types$1.parenL);\n if (this.type === types$1.semi) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, null)\n }\n var isLet = this.isLet();\n if (this.type === types$1._var || this.type === types$1._const || isLet) {\n var init$1 = this.startNode(), kind = isLet ? \"let\" : this.value;\n this.next();\n this.parseVar(init$1, true, kind);\n this.finishNode(init$1, \"VariableDeclaration\");\n if ((this.type === types$1._in || (this.options.ecmaVersion >= 6 && this.isContextual(\"of\"))) && init$1.declarations.length === 1) {\n if (this.options.ecmaVersion >= 9) {\n if (this.type === types$1._in) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n } else { node.await = awaitAt > -1; }\n }\n return this.parseForIn(node, init$1)\n }\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, init$1)\n }\n var startsWithLet = this.isContextual(\"let\"), isForOf = false;\n var refDestructuringErrors = new DestructuringErrors;\n var init = this.parseExpression(awaitAt > -1 ? \"await\" : true, refDestructuringErrors);\n if (this.type === types$1._in || (isForOf = this.options.ecmaVersion >= 6 && this.isContextual(\"of\"))) {\n if (this.options.ecmaVersion >= 9) {\n if (this.type === types$1._in) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n } else { node.await = awaitAt > -1; }\n }\n if (startsWithLet && isForOf) { this.raise(init.start, \"The left-hand side of a for-of loop may not start with 'let'.\"); }\n this.toAssignable(init, false, refDestructuringErrors);\n this.checkLValPattern(init);\n return this.parseForIn(node, init)\n } else {\n this.checkExpressionErrors(refDestructuringErrors, true);\n }\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, init)\n };\n\n pp$8.parseFunctionStatement = function(node, isAsync, declarationPosition) {\n this.next();\n return this.parseFunction(node, FUNC_STATEMENT | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), false, isAsync)\n };\n\n pp$8.parseIfStatement = function(node) {\n this.next();\n node.test = this.parseParenExpression();\n // allow function declarations in branches, but only in non-strict mode\n node.consequent = this.parseStatement(\"if\");\n node.alternate = this.eat(types$1._else) ? this.parseStatement(\"if\") : null;\n return this.finishNode(node, \"IfStatement\")\n };\n\n pp$8.parseReturnStatement = function(node) {\n if (!this.inFunction && !this.options.allowReturnOutsideFunction)\n { this.raise(this.start, \"'return' outside of function\"); }\n this.next();\n\n // In `return` (and `break`/`continue`), the keywords with\n // optional arguments, we eagerly look for a semicolon or the\n // possibility to insert one.\n\n if (this.eat(types$1.semi) || this.insertSemicolon()) { node.argument = null; }\n else { node.argument = this.parseExpression(); this.semicolon(); }\n return this.finishNode(node, \"ReturnStatement\")\n };\n\n pp$8.parseSwitchStatement = function(node) {\n this.next();\n node.discriminant = this.parseParenExpression();\n node.cases = [];\n this.expect(types$1.braceL);\n this.labels.push(switchLabel);\n this.enterScope(0);\n\n // Statements under must be grouped (by label) in SwitchCase\n // nodes. `cur` is used to keep the node that we are currently\n // adding statements to.\n\n var cur;\n for (var sawDefault = false; this.type !== types$1.braceR;) {\n if (this.type === types$1._case || this.type === types$1._default) {\n var isCase = this.type === types$1._case;\n if (cur) { this.finishNode(cur, \"SwitchCase\"); }\n node.cases.push(cur = this.startNode());\n cur.consequent = [];\n this.next();\n if (isCase) {\n cur.test = this.parseExpression();\n } else {\n if (sawDefault) { this.raiseRecoverable(this.lastTokStart, \"Multiple default clauses\"); }\n sawDefault = true;\n cur.test = null;\n }\n this.expect(types$1.colon);\n } else {\n if (!cur) { this.unexpected(); }\n cur.consequent.push(this.parseStatement(null));\n }\n }\n this.exitScope();\n if (cur) { this.finishNode(cur, \"SwitchCase\"); }\n this.next(); // Closing brace\n this.labels.pop();\n return this.finishNode(node, \"SwitchStatement\")\n };\n\n pp$8.parseThrowStatement = function(node) {\n this.next();\n if (lineBreak.test(this.input.slice(this.lastTokEnd, this.start)))\n { this.raise(this.lastTokEnd, \"Illegal newline after throw\"); }\n node.argument = this.parseExpression();\n this.semicolon();\n return this.finishNode(node, \"ThrowStatement\")\n };\n\n // Reused empty array added for node fields that are always empty.\n\n var empty$1 = [];\n\n pp$8.parseTryStatement = function(node) {\n this.next();\n node.block = this.parseBlock();\n node.handler = null;\n if (this.type === types$1._catch) {\n var clause = this.startNode();\n this.next();\n if (this.eat(types$1.parenL)) {\n clause.param = this.parseBindingAtom();\n var simple = clause.param.type === \"Identifier\";\n this.enterScope(simple ? SCOPE_SIMPLE_CATCH : 0);\n this.checkLValPattern(clause.param, simple ? BIND_SIMPLE_CATCH : BIND_LEXICAL);\n this.expect(types$1.parenR);\n } else {\n if (this.options.ecmaVersion < 10) { this.unexpected(); }\n clause.param = null;\n this.enterScope(0);\n }\n clause.body = this.parseBlock(false);\n this.exitScope();\n node.handler = this.finishNode(clause, \"CatchClause\");\n }\n node.finalizer = this.eat(types$1._finally) ? this.parseBlock() : null;\n if (!node.handler && !node.finalizer)\n { this.raise(node.start, \"Missing catch or finally clause\"); }\n return this.finishNode(node, \"TryStatement\")\n };\n\n pp$8.parseVarStatement = function(node, kind) {\n this.next();\n this.parseVar(node, false, kind);\n this.semicolon();\n return this.finishNode(node, \"VariableDeclaration\")\n };\n\n pp$8.parseWhileStatement = function(node) {\n this.next();\n node.test = this.parseParenExpression();\n this.labels.push(loopLabel);\n node.body = this.parseStatement(\"while\");\n this.labels.pop();\n return this.finishNode(node, \"WhileStatement\")\n };\n\n pp$8.parseWithStatement = function(node) {\n if (this.strict) { this.raise(this.start, \"'with' in strict mode\"); }\n this.next();\n node.object = this.parseParenExpression();\n node.body = this.parseStatement(\"with\");\n return this.finishNode(node, \"WithStatement\")\n };\n\n pp$8.parseEmptyStatement = function(node) {\n this.next();\n return this.finishNode(node, \"EmptyStatement\")\n };\n\n pp$8.parseLabeledStatement = function(node, maybeName, expr, context) {\n for (var i$1 = 0, list = this.labels; i$1 < list.length; i$1 += 1)\n {\n var label = list[i$1];\n\n if (label.name === maybeName)\n { this.raise(expr.start, \"Label '\" + maybeName + \"' is already declared\");\n } }\n var kind = this.type.isLoop ? \"loop\" : this.type === types$1._switch ? \"switch\" : null;\n for (var i = this.labels.length - 1; i >= 0; i--) {\n var label$1 = this.labels[i];\n if (label$1.statementStart === node.start) {\n // Update information about previous labels on this node\n label$1.statementStart = this.start;\n label$1.kind = kind;\n } else { break }\n }\n this.labels.push({name: maybeName, kind: kind, statementStart: this.start});\n node.body = this.parseStatement(context ? context.indexOf(\"label\") === -1 ? context + \"label\" : context : \"label\");\n this.labels.pop();\n node.label = expr;\n return this.finishNode(node, \"LabeledStatement\")\n };\n\n pp$8.parseExpressionStatement = function(node, expr) {\n node.expression = expr;\n this.semicolon();\n return this.finishNode(node, \"ExpressionStatement\")\n };\n\n // Parse a semicolon-enclosed block of statements, handling `\"use\n // strict\"` declarations when `allowStrict` is true (used for\n // function bodies).\n\n pp$8.parseBlock = function(createNewLexicalScope, node, exitStrict) {\n if ( createNewLexicalScope === void 0 ) createNewLexicalScope = true;\n if ( node === void 0 ) node = this.startNode();\n\n node.body = [];\n this.expect(types$1.braceL);\n if (createNewLexicalScope) { this.enterScope(0); }\n while (this.type !== types$1.braceR) {\n var stmt = this.parseStatement(null);\n node.body.push(stmt);\n }\n if (exitStrict) { this.strict = false; }\n this.next();\n if (createNewLexicalScope) { this.exitScope(); }\n return this.finishNode(node, \"BlockStatement\")\n };\n\n // Parse a regular `for` loop. The disambiguation code in\n // `parseStatement` will already have parsed the init statement or\n // expression.\n\n pp$8.parseFor = function(node, init) {\n node.init = init;\n this.expect(types$1.semi);\n node.test = this.type === types$1.semi ? null : this.parseExpression();\n this.expect(types$1.semi);\n node.update = this.type === types$1.parenR ? null : this.parseExpression();\n this.expect(types$1.parenR);\n node.body = this.parseStatement(\"for\");\n this.exitScope();\n this.labels.pop();\n return this.finishNode(node, \"ForStatement\")\n };\n\n // Parse a `for`/`in` and `for`/`of` loop, which are almost\n // same from parser's perspective.\n\n pp$8.parseForIn = function(node, init) {\n var isForIn = this.type === types$1._in;\n this.next();\n\n if (\n init.type === \"VariableDeclaration\" &&\n init.declarations[0].init != null &&\n (\n !isForIn ||\n this.options.ecmaVersion < 8 ||\n this.strict ||\n init.kind !== \"var\" ||\n init.declarations[0].id.type !== \"Identifier\"\n )\n ) {\n this.raise(\n init.start,\n ((isForIn ? \"for-in\" : \"for-of\") + \" loop variable declaration may not have an initializer\")\n );\n }\n node.left = init;\n node.right = isForIn ? this.parseExpression() : this.parseMaybeAssign();\n this.expect(types$1.parenR);\n node.body = this.parseStatement(\"for\");\n this.exitScope();\n this.labels.pop();\n return this.finishNode(node, isForIn ? \"ForInStatement\" : \"ForOfStatement\")\n };\n\n // Parse a list of variable declarations.\n\n pp$8.parseVar = function(node, isFor, kind) {\n node.declarations = [];\n node.kind = kind;\n for (;;) {\n var decl = this.startNode();\n this.parseVarId(decl, kind);\n if (this.eat(types$1.eq)) {\n decl.init = this.parseMaybeAssign(isFor);\n } else if (kind === \"const\" && !(this.type === types$1._in || (this.options.ecmaVersion >= 6 && this.isContextual(\"of\")))) {\n this.unexpected();\n } else if (decl.id.type !== \"Identifier\" && !(isFor && (this.type === types$1._in || this.isContextual(\"of\")))) {\n this.raise(this.lastTokEnd, \"Complex binding patterns require an initialization value\");\n } else {\n decl.init = null;\n }\n node.declarations.push(this.finishNode(decl, \"VariableDeclarator\"));\n if (!this.eat(types$1.comma)) { break }\n }\n return node\n };\n\n pp$8.parseVarId = function(decl, kind) {\n decl.id = this.parseBindingAtom();\n this.checkLValPattern(decl.id, kind === \"var\" ? BIND_VAR : BIND_LEXICAL, false);\n };\n\n var FUNC_STATEMENT = 1, FUNC_HANGING_STATEMENT = 2, FUNC_NULLABLE_ID = 4;\n\n // Parse a function declaration or literal (depending on the\n // `statement & FUNC_STATEMENT`).\n\n // Remove `allowExpressionBody` for 7.0.0, as it is only called with false\n pp$8.parseFunction = function(node, statement, allowExpressionBody, isAsync, forInit) {\n this.initFunction(node);\n if (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !isAsync) {\n if (this.type === types$1.star && (statement & FUNC_HANGING_STATEMENT))\n { this.unexpected(); }\n node.generator = this.eat(types$1.star);\n }\n if (this.options.ecmaVersion >= 8)\n { node.async = !!isAsync; }\n\n if (statement & FUNC_STATEMENT) {\n node.id = (statement & FUNC_NULLABLE_ID) && this.type !== types$1.name ? null : this.parseIdent();\n if (node.id && !(statement & FUNC_HANGING_STATEMENT))\n // If it is a regular function declaration in sloppy mode, then it is\n // subject to Annex B semantics (BIND_FUNCTION). Otherwise, the binding\n // mode depends on properties of the current scope (see\n // treatFunctionsAsVar).\n { this.checkLValSimple(node.id, (this.strict || node.generator || node.async) ? this.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION); }\n }\n\n var oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.awaitIdentPos = 0;\n this.enterScope(functionFlags(node.async, node.generator));\n\n if (!(statement & FUNC_STATEMENT))\n { node.id = this.type === types$1.name ? this.parseIdent() : null; }\n\n this.parseFunctionParams(node);\n this.parseFunctionBody(node, allowExpressionBody, false, forInit);\n\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.awaitIdentPos = oldAwaitIdentPos;\n return this.finishNode(node, (statement & FUNC_STATEMENT) ? \"FunctionDeclaration\" : \"FunctionExpression\")\n };\n\n pp$8.parseFunctionParams = function(node) {\n this.expect(types$1.parenL);\n node.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);\n this.checkYieldAwaitInDefaultParams();\n };\n\n // Parse a class declaration or literal (depending on the\n // `isStatement` parameter).\n\n pp$8.parseClass = function(node, isStatement) {\n this.next();\n\n // ecma-262 14.6 Class Definitions\n // A class definition is always strict mode code.\n var oldStrict = this.strict;\n this.strict = true;\n\n this.parseClassId(node, isStatement);\n this.parseClassSuper(node);\n var privateNameMap = this.enterClassBody();\n var classBody = this.startNode();\n var hadConstructor = false;\n classBody.body = [];\n this.expect(types$1.braceL);\n while (this.type !== types$1.braceR) {\n var element = this.parseClassElement(node.superClass !== null);\n if (element) {\n classBody.body.push(element);\n if (element.type === \"MethodDefinition\" && element.kind === \"constructor\") {\n if (hadConstructor) { this.raise(element.start, \"Duplicate constructor in the same class\"); }\n hadConstructor = true;\n } else if (element.key && element.key.type === \"PrivateIdentifier\" && isPrivateNameConflicted(privateNameMap, element)) {\n this.raiseRecoverable(element.key.start, (\"Identifier '#\" + (element.key.name) + \"' has already been declared\"));\n }\n }\n }\n this.strict = oldStrict;\n this.next();\n node.body = this.finishNode(classBody, \"ClassBody\");\n this.exitClassBody();\n return this.finishNode(node, isStatement ? \"ClassDeclaration\" : \"ClassExpression\")\n };\n\n pp$8.parseClassElement = function(constructorAllowsSuper) {\n if (this.eat(types$1.semi)) { return null }\n\n var ecmaVersion = this.options.ecmaVersion;\n var node = this.startNode();\n var keyName = \"\";\n var isGenerator = false;\n var isAsync = false;\n var kind = \"method\";\n var isStatic = false;\n\n if (this.eatContextual(\"static\")) {\n // Parse static init block\n if (ecmaVersion >= 13 && this.eat(types$1.braceL)) {\n this.parseClassStaticBlock(node);\n return node\n }\n if (this.isClassElementNameStart() || this.type === types$1.star) {\n isStatic = true;\n } else {\n keyName = \"static\";\n }\n }\n node.static = isStatic;\n if (!keyName && ecmaVersion >= 8 && this.eatContextual(\"async\")) {\n if ((this.isClassElementNameStart() || this.type === types$1.star) && !this.canInsertSemicolon()) {\n isAsync = true;\n } else {\n keyName = \"async\";\n }\n }\n if (!keyName && (ecmaVersion >= 9 || !isAsync) && this.eat(types$1.star)) {\n isGenerator = true;\n }\n if (!keyName && !isAsync && !isGenerator) {\n var lastValue = this.value;\n if (this.eatContextual(\"get\") || this.eatContextual(\"set\")) {\n if (this.isClassElementNameStart()) {\n kind = lastValue;\n } else {\n keyName = lastValue;\n }\n }\n }\n\n // Parse element name\n if (keyName) {\n // 'async', 'get', 'set', or 'static' were not a keyword contextually.\n // The last token is any of those. Make it the element name.\n node.computed = false;\n node.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc);\n node.key.name = keyName;\n this.finishNode(node.key, \"Identifier\");\n } else {\n this.parseClassElementName(node);\n }\n\n // Parse element value\n if (ecmaVersion < 13 || this.type === types$1.parenL || kind !== \"method\" || isGenerator || isAsync) {\n var isConstructor = !node.static && checkKeyName(node, \"constructor\");\n var allowsDirectSuper = isConstructor && constructorAllowsSuper;\n // Couldn't move this check into the 'parseClassMethod' method for backward compatibility.\n if (isConstructor && kind !== \"method\") { this.raise(node.key.start, \"Constructor can't have get/set modifier\"); }\n node.kind = isConstructor ? \"constructor\" : kind;\n this.parseClassMethod(node, isGenerator, isAsync, allowsDirectSuper);\n } else {\n this.parseClassField(node);\n }\n\n return node\n };\n\n pp$8.isClassElementNameStart = function() {\n return (\n this.type === types$1.name ||\n this.type === types$1.privateId ||\n this.type === types$1.num ||\n this.type === types$1.string ||\n this.type === types$1.bracketL ||\n this.type.keyword\n )\n };\n\n pp$8.parseClassElementName = function(element) {\n if (this.type === types$1.privateId) {\n if (this.value === \"constructor\") {\n this.raise(this.start, \"Classes can't have an element named '#constructor'\");\n }\n element.computed = false;\n element.key = this.parsePrivateIdent();\n } else {\n this.parsePropertyName(element);\n }\n };\n\n pp$8.parseClassMethod = function(method, isGenerator, isAsync, allowsDirectSuper) {\n // Check key and flags\n var key = method.key;\n if (method.kind === \"constructor\") {\n if (isGenerator) { this.raise(key.start, \"Constructor can't be a generator\"); }\n if (isAsync) { this.raise(key.start, \"Constructor can't be an async method\"); }\n } else if (method.static && checkKeyName(method, \"prototype\")) {\n this.raise(key.start, \"Classes may not have a static property named prototype\");\n }\n\n // Parse value\n var value = method.value = this.parseMethod(isGenerator, isAsync, allowsDirectSuper);\n\n // Check value\n if (method.kind === \"get\" && value.params.length !== 0)\n { this.raiseRecoverable(value.start, \"getter should have no params\"); }\n if (method.kind === \"set\" && value.params.length !== 1)\n { this.raiseRecoverable(value.start, \"setter should have exactly one param\"); }\n if (method.kind === \"set\" && value.params[0].type === \"RestElement\")\n { this.raiseRecoverable(value.params[0].start, \"Setter cannot use rest params\"); }\n\n return this.finishNode(method, \"MethodDefinition\")\n };\n\n pp$8.parseClassField = function(field) {\n if (checkKeyName(field, \"constructor\")) {\n this.raise(field.key.start, \"Classes can't have a field named 'constructor'\");\n } else if (field.static && checkKeyName(field, \"prototype\")) {\n this.raise(field.key.start, \"Classes can't have a static field named 'prototype'\");\n }\n\n if (this.eat(types$1.eq)) {\n // To raise SyntaxError if 'arguments' exists in the initializer.\n var scope = this.currentThisScope();\n var inClassFieldInit = scope.inClassFieldInit;\n scope.inClassFieldInit = true;\n field.value = this.parseMaybeAssign();\n scope.inClassFieldInit = inClassFieldInit;\n } else {\n field.value = null;\n }\n this.semicolon();\n\n return this.finishNode(field, \"PropertyDefinition\")\n };\n\n pp$8.parseClassStaticBlock = function(node) {\n node.body = [];\n\n var oldLabels = this.labels;\n this.labels = [];\n this.enterScope(SCOPE_CLASS_STATIC_BLOCK | SCOPE_SUPER);\n while (this.type !== types$1.braceR) {\n var stmt = this.parseStatement(null);\n node.body.push(stmt);\n }\n this.next();\n this.exitScope();\n this.labels = oldLabels;\n\n return this.finishNode(node, \"StaticBlock\")\n };\n\n pp$8.parseClassId = function(node, isStatement) {\n if (this.type === types$1.name) {\n node.id = this.parseIdent();\n if (isStatement)\n { this.checkLValSimple(node.id, BIND_LEXICAL, false); }\n } else {\n if (isStatement === true)\n { this.unexpected(); }\n node.id = null;\n }\n };\n\n pp$8.parseClassSuper = function(node) {\n node.superClass = this.eat(types$1._extends) ? this.parseExprSubscripts(null, false) : null;\n };\n\n pp$8.enterClassBody = function() {\n var element = {declared: Object.create(null), used: []};\n this.privateNameStack.push(element);\n return element.declared\n };\n\n pp$8.exitClassBody = function() {\n var ref = this.privateNameStack.pop();\n var declared = ref.declared;\n var used = ref.used;\n var len = this.privateNameStack.length;\n var parent = len === 0 ? null : this.privateNameStack[len - 1];\n for (var i = 0; i < used.length; ++i) {\n var id = used[i];\n if (!hasOwn(declared, id.name)) {\n if (parent) {\n parent.used.push(id);\n } else {\n this.raiseRecoverable(id.start, (\"Private field '#\" + (id.name) + \"' must be declared in an enclosing class\"));\n }\n }\n }\n };\n\n function isPrivateNameConflicted(privateNameMap, element) {\n var name = element.key.name;\n var curr = privateNameMap[name];\n\n var next = \"true\";\n if (element.type === \"MethodDefinition\" && (element.kind === \"get\" || element.kind === \"set\")) {\n next = (element.static ? \"s\" : \"i\") + element.kind;\n }\n\n // `class { get #a(){}; static set #a(_){} }` is also conflict.\n if (\n curr === \"iget\" && next === \"iset\" ||\n curr === \"iset\" && next === \"iget\" ||\n curr === \"sget\" && next === \"sset\" ||\n curr === \"sset\" && next === \"sget\"\n ) {\n privateNameMap[name] = \"true\";\n return false\n } else if (!curr) {\n privateNameMap[name] = next;\n return false\n } else {\n return true\n }\n }\n\n function checkKeyName(node, name) {\n var computed = node.computed;\n var key = node.key;\n return !computed && (\n key.type === \"Identifier\" && key.name === name ||\n key.type === \"Literal\" && key.value === name\n )\n }\n\n // Parses module export declaration.\n\n pp$8.parseExport = function(node, exports) {\n this.next();\n // export * from '...'\n if (this.eat(types$1.star)) {\n if (this.options.ecmaVersion >= 11) {\n if (this.eatContextual(\"as\")) {\n node.exported = this.parseModuleExportName();\n this.checkExport(exports, node.exported, this.lastTokStart);\n } else {\n node.exported = null;\n }\n }\n this.expectContextual(\"from\");\n if (this.type !== types$1.string) { this.unexpected(); }\n node.source = this.parseExprAtom();\n this.semicolon();\n return this.finishNode(node, \"ExportAllDeclaration\")\n }\n if (this.eat(types$1._default)) { // export default ...\n this.checkExport(exports, \"default\", this.lastTokStart);\n var isAsync;\n if (this.type === types$1._function || (isAsync = this.isAsyncFunction())) {\n var fNode = this.startNode();\n this.next();\n if (isAsync) { this.next(); }\n node.declaration = this.parseFunction(fNode, FUNC_STATEMENT | FUNC_NULLABLE_ID, false, isAsync);\n } else if (this.type === types$1._class) {\n var cNode = this.startNode();\n node.declaration = this.parseClass(cNode, \"nullableID\");\n } else {\n node.declaration = this.parseMaybeAssign();\n this.semicolon();\n }\n return this.finishNode(node, \"ExportDefaultDeclaration\")\n }\n // export var|const|let|function|class ...\n if (this.shouldParseExportStatement()) {\n node.declaration = this.parseStatement(null);\n if (node.declaration.type === \"VariableDeclaration\")\n { this.checkVariableExport(exports, node.declaration.declarations); }\n else\n { this.checkExport(exports, node.declaration.id, node.declaration.id.start); }\n node.specifiers = [];\n node.source = null;\n } else { // export { x, y as z } [from '...']\n node.declaration = null;\n node.specifiers = this.parseExportSpecifiers(exports);\n if (this.eatContextual(\"from\")) {\n if (this.type !== types$1.string) { this.unexpected(); }\n node.source = this.parseExprAtom();\n } else {\n for (var i = 0, list = node.specifiers; i < list.length; i += 1) {\n // check for keywords used as local names\n var spec = list[i];\n\n this.checkUnreserved(spec.local);\n // check if export is defined\n this.checkLocalExport(spec.local);\n\n if (spec.local.type === \"Literal\") {\n this.raise(spec.local.start, \"A string literal cannot be used as an exported binding without `from`.\");\n }\n }\n\n node.source = null;\n }\n this.semicolon();\n }\n return this.finishNode(node, \"ExportNamedDeclaration\")\n };\n\n pp$8.checkExport = function(exports, name, pos) {\n if (!exports) { return }\n if (typeof name !== \"string\")\n { name = name.type === \"Identifier\" ? name.name : name.value; }\n if (hasOwn(exports, name))\n { this.raiseRecoverable(pos, \"Duplicate export '\" + name + \"'\"); }\n exports[name] = true;\n };\n\n pp$8.checkPatternExport = function(exports, pat) {\n var type = pat.type;\n if (type === \"Identifier\")\n { this.checkExport(exports, pat, pat.start); }\n else if (type === \"ObjectPattern\")\n { for (var i = 0, list = pat.properties; i < list.length; i += 1)\n {\n var prop = list[i];\n\n this.checkPatternExport(exports, prop);\n } }\n else if (type === \"ArrayPattern\")\n { for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {\n var elt = list$1[i$1];\n\n if (elt) { this.checkPatternExport(exports, elt); }\n } }\n else if (type === \"Property\")\n { this.checkPatternExport(exports, pat.value); }\n else if (type === \"AssignmentPattern\")\n { this.checkPatternExport(exports, pat.left); }\n else if (type === \"RestElement\")\n { this.checkPatternExport(exports, pat.argument); }\n else if (type === \"ParenthesizedExpression\")\n { this.checkPatternExport(exports, pat.expression); }\n };\n\n pp$8.checkVariableExport = function(exports, decls) {\n if (!exports) { return }\n for (var i = 0, list = decls; i < list.length; i += 1)\n {\n var decl = list[i];\n\n this.checkPatternExport(exports, decl.id);\n }\n };\n\n pp$8.shouldParseExportStatement = function() {\n return this.type.keyword === \"var\" ||\n this.type.keyword === \"const\" ||\n this.type.keyword === \"class\" ||\n this.type.keyword === \"function\" ||\n this.isLet() ||\n this.isAsyncFunction()\n };\n\n // Parses a comma-separated list of module exports.\n\n pp$8.parseExportSpecifiers = function(exports) {\n var nodes = [], first = true;\n // export { x, y as z } [from '...']\n this.expect(types$1.braceL);\n while (!this.eat(types$1.braceR)) {\n if (!first) {\n this.expect(types$1.comma);\n if (this.afterTrailingComma(types$1.braceR)) { break }\n } else { first = false; }\n\n var node = this.startNode();\n node.local = this.parseModuleExportName();\n node.exported = this.eatContextual(\"as\") ? this.parseModuleExportName() : node.local;\n this.checkExport(\n exports,\n node.exported,\n node.exported.start\n );\n nodes.push(this.finishNode(node, \"ExportSpecifier\"));\n }\n return nodes\n };\n\n // Parses import declaration.\n\n pp$8.parseImport = function(node) {\n this.next();\n // import '...'\n if (this.type === types$1.string) {\n node.specifiers = empty$1;\n node.source = this.parseExprAtom();\n } else {\n node.specifiers = this.parseImportSpecifiers();\n this.expectContextual(\"from\");\n node.source = this.type === types$1.string ? this.parseExprAtom() : this.unexpected();\n }\n this.semicolon();\n return this.finishNode(node, \"ImportDeclaration\")\n };\n\n // Parses a comma-separated list of module imports.\n\n pp$8.parseImportSpecifiers = function() {\n var nodes = [], first = true;\n if (this.type === types$1.name) {\n // import defaultObj, { x, y as z } from '...'\n var node = this.startNode();\n node.local = this.parseIdent();\n this.checkLValSimple(node.local, BIND_LEXICAL);\n nodes.push(this.finishNode(node, \"ImportDefaultSpecifier\"));\n if (!this.eat(types$1.comma)) { return nodes }\n }\n if (this.type === types$1.star) {\n var node$1 = this.startNode();\n this.next();\n this.expectContextual(\"as\");\n node$1.local = this.parseIdent();\n this.checkLValSimple(node$1.local, BIND_LEXICAL);\n nodes.push(this.finishNode(node$1, \"ImportNamespaceSpecifier\"));\n return nodes\n }\n this.expect(types$1.braceL);\n while (!this.eat(types$1.braceR)) {\n if (!first) {\n this.expect(types$1.comma);\n if (this.afterTrailingComma(types$1.braceR)) { break }\n } else { first = false; }\n\n var node$2 = this.startNode();\n node$2.imported = this.parseModuleExportName();\n if (this.eatContextual(\"as\")) {\n node$2.local = this.parseIdent();\n } else {\n this.checkUnreserved(node$2.imported);\n node$2.local = node$2.imported;\n }\n this.checkLValSimple(node$2.local, BIND_LEXICAL);\n nodes.push(this.finishNode(node$2, \"ImportSpecifier\"));\n }\n return nodes\n };\n\n pp$8.parseModuleExportName = function() {\n if (this.options.ecmaVersion >= 13 && this.type === types$1.string) {\n var stringLiteral = this.parseLiteral(this.value);\n if (loneSurrogate.test(stringLiteral.value)) {\n this.raise(stringLiteral.start, \"An export name cannot include a lone surrogate.\");\n }\n return stringLiteral\n }\n return this.parseIdent(true)\n };\n\n // Set `ExpressionStatement#directive` property for directive prologues.\n pp$8.adaptDirectivePrologue = function(statements) {\n for (var i = 0; i < statements.length && this.isDirectiveCandidate(statements[i]); ++i) {\n statements[i].directive = statements[i].expression.raw.slice(1, -1);\n }\n };\n pp$8.isDirectiveCandidate = function(statement) {\n return (\n this.options.ecmaVersion >= 5 &&\n statement.type === \"ExpressionStatement\" &&\n statement.expression.type === \"Literal\" &&\n typeof statement.expression.value === \"string\" &&\n // Reject parenthesized strings.\n (this.input[statement.start] === \"\\\"\" || this.input[statement.start] === \"'\")\n )\n };\n\n var pp$7 = Parser.prototype;\n\n // Convert existing expression atom to assignable pattern\n // if possible.\n\n pp$7.toAssignable = function(node, isBinding, refDestructuringErrors) {\n if (this.options.ecmaVersion >= 6 && node) {\n switch (node.type) {\n case \"Identifier\":\n if (this.inAsync && node.name === \"await\")\n { this.raise(node.start, \"Cannot use 'await' as identifier inside an async function\"); }\n break\n\n case \"ObjectPattern\":\n case \"ArrayPattern\":\n case \"AssignmentPattern\":\n case \"RestElement\":\n break\n\n case \"ObjectExpression\":\n node.type = \"ObjectPattern\";\n if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n for (var i = 0, list = node.properties; i < list.length; i += 1) {\n var prop = list[i];\n\n this.toAssignable(prop, isBinding);\n // Early error:\n // AssignmentRestProperty[Yield, Await] :\n // `...` DestructuringAssignmentTarget[Yield, Await]\n //\n // It is a Syntax Error if |DestructuringAssignmentTarget| is an |ArrayLiteral| or an |ObjectLiteral|.\n if (\n prop.type === \"RestElement\" &&\n (prop.argument.type === \"ArrayPattern\" || prop.argument.type === \"ObjectPattern\")\n ) {\n this.raise(prop.argument.start, \"Unexpected token\");\n }\n }\n break\n\n case \"Property\":\n // AssignmentProperty has type === \"Property\"\n if (node.kind !== \"init\") { this.raise(node.key.start, \"Object pattern can't contain getter or setter\"); }\n this.toAssignable(node.value, isBinding);\n break\n\n case \"ArrayExpression\":\n node.type = \"ArrayPattern\";\n if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n this.toAssignableList(node.elements, isBinding);\n break\n\n case \"SpreadElement\":\n node.type = \"RestElement\";\n this.toAssignable(node.argument, isBinding);\n if (node.argument.type === \"AssignmentPattern\")\n { this.raise(node.argument.start, \"Rest elements cannot have a default value\"); }\n break\n\n case \"AssignmentExpression\":\n if (node.operator !== \"=\") { this.raise(node.left.end, \"Only '=' operator can be used for specifying default value.\"); }\n node.type = \"AssignmentPattern\";\n delete node.operator;\n this.toAssignable(node.left, isBinding);\n break\n\n case \"ParenthesizedExpression\":\n this.toAssignable(node.expression, isBinding, refDestructuringErrors);\n break\n\n case \"ChainExpression\":\n this.raiseRecoverable(node.start, \"Optional chaining cannot appear in left-hand side\");\n break\n\n case \"MemberExpression\":\n if (!isBinding) { break }\n\n default:\n this.raise(node.start, \"Assigning to rvalue\");\n }\n } else if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n return node\n };\n\n // Convert list of expression atoms to binding list.\n\n pp$7.toAssignableList = function(exprList, isBinding) {\n var end = exprList.length;\n for (var i = 0; i < end; i++) {\n var elt = exprList[i];\n if (elt) { this.toAssignable(elt, isBinding); }\n }\n if (end) {\n var last = exprList[end - 1];\n if (this.options.ecmaVersion === 6 && isBinding && last && last.type === \"RestElement\" && last.argument.type !== \"Identifier\")\n { this.unexpected(last.argument.start); }\n }\n return exprList\n };\n\n // Parses spread element.\n\n pp$7.parseSpread = function(refDestructuringErrors) {\n var node = this.startNode();\n this.next();\n node.argument = this.parseMaybeAssign(false, refDestructuringErrors);\n return this.finishNode(node, \"SpreadElement\")\n };\n\n pp$7.parseRestBinding = function() {\n var node = this.startNode();\n this.next();\n\n // RestElement inside of a function parameter must be an identifier\n if (this.options.ecmaVersion === 6 && this.type !== types$1.name)\n { this.unexpected(); }\n\n node.argument = this.parseBindingAtom();\n\n return this.finishNode(node, \"RestElement\")\n };\n\n // Parses lvalue (assignable) atom.\n\n pp$7.parseBindingAtom = function() {\n if (this.options.ecmaVersion >= 6) {\n switch (this.type) {\n case types$1.bracketL:\n var node = this.startNode();\n this.next();\n node.elements = this.parseBindingList(types$1.bracketR, true, true);\n return this.finishNode(node, \"ArrayPattern\")\n\n case types$1.braceL:\n return this.parseObj(true)\n }\n }\n return this.parseIdent()\n };\n\n pp$7.parseBindingList = function(close, allowEmpty, allowTrailingComma) {\n var elts = [], first = true;\n while (!this.eat(close)) {\n if (first) { first = false; }\n else { this.expect(types$1.comma); }\n if (allowEmpty && this.type === types$1.comma) {\n elts.push(null);\n } else if (allowTrailingComma && this.afterTrailingComma(close)) {\n break\n } else if (this.type === types$1.ellipsis) {\n var rest = this.parseRestBinding();\n this.parseBindingListItem(rest);\n elts.push(rest);\n if (this.type === types$1.comma) { this.raise(this.start, \"Comma is not permitted after the rest element\"); }\n this.expect(close);\n break\n } else {\n var elem = this.parseMaybeDefault(this.start, this.startLoc);\n this.parseBindingListItem(elem);\n elts.push(elem);\n }\n }\n return elts\n };\n\n pp$7.parseBindingListItem = function(param) {\n return param\n };\n\n // Parses assignment pattern around given atom if possible.\n\n pp$7.parseMaybeDefault = function(startPos, startLoc, left) {\n left = left || this.parseBindingAtom();\n if (this.options.ecmaVersion < 6 || !this.eat(types$1.eq)) { return left }\n var node = this.startNodeAt(startPos, startLoc);\n node.left = left;\n node.right = this.parseMaybeAssign();\n return this.finishNode(node, \"AssignmentPattern\")\n };\n\n // The following three functions all verify that a node is an lvalue —\n // something that can be bound, or assigned to. In order to do so, they perform\n // a variety of checks:\n //\n // - Check that none of the bound/assigned-to identifiers are reserved words.\n // - Record name declarations for bindings in the appropriate scope.\n // - Check duplicate argument names, if checkClashes is set.\n //\n // If a complex binding pattern is encountered (e.g., object and array\n // destructuring), the entire pattern is recursively checked.\n //\n // There are three versions of checkLVal*() appropriate for different\n // circumstances:\n //\n // - checkLValSimple() shall be used if the syntactic construct supports\n // nothing other than identifiers and member expressions. Parenthesized\n // expressions are also correctly handled. This is generally appropriate for\n // constructs for which the spec says\n //\n // > It is a Syntax Error if AssignmentTargetType of [the production] is not\n // > simple.\n //\n // It is also appropriate for checking if an identifier is valid and not\n // defined elsewhere, like import declarations or function/class identifiers.\n //\n // Examples where this is used include:\n // a += …;\n // import a from '…';\n // where a is the node to be checked.\n //\n // - checkLValPattern() shall be used if the syntactic construct supports\n // anything checkLValSimple() supports, as well as object and array\n // destructuring patterns. This is generally appropriate for constructs for\n // which the spec says\n //\n // > It is a Syntax Error if [the production] is neither an ObjectLiteral nor\n // > an ArrayLiteral and AssignmentTargetType of [the production] is not\n // > simple.\n //\n // Examples where this is used include:\n // (a = …);\n // const a = …;\n // try { … } catch (a) { … }\n // where a is the node to be checked.\n //\n // - checkLValInnerPattern() shall be used if the syntactic construct supports\n // anything checkLValPattern() supports, as well as default assignment\n // patterns, rest elements, and other constructs that may appear within an\n // object or array destructuring pattern.\n //\n // As a special case, function parameters also use checkLValInnerPattern(),\n // as they also support defaults and rest constructs.\n //\n // These functions deliberately support both assignment and binding constructs,\n // as the logic for both is exceedingly similar. If the node is the target of\n // an assignment, then bindingType should be set to BIND_NONE. Otherwise, it\n // should be set to the appropriate BIND_* constant, like BIND_VAR or\n // BIND_LEXICAL.\n //\n // If the function is called with a non-BIND_NONE bindingType, then\n // additionally a checkClashes object may be specified to allow checking for\n // duplicate argument names. checkClashes is ignored if the provided construct\n // is an assignment (i.e., bindingType is BIND_NONE).\n\n pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {\n if ( bindingType === void 0 ) bindingType = BIND_NONE;\n\n var isBind = bindingType !== BIND_NONE;\n\n switch (expr.type) {\n case \"Identifier\":\n if (this.strict && this.reservedWordsStrictBind.test(expr.name))\n { this.raiseRecoverable(expr.start, (isBind ? \"Binding \" : \"Assigning to \") + expr.name + \" in strict mode\"); }\n if (isBind) {\n if (bindingType === BIND_LEXICAL && expr.name === \"let\")\n { this.raiseRecoverable(expr.start, \"let is disallowed as a lexically bound name\"); }\n if (checkClashes) {\n if (hasOwn(checkClashes, expr.name))\n { this.raiseRecoverable(expr.start, \"Argument name clash\"); }\n checkClashes[expr.name] = true;\n }\n if (bindingType !== BIND_OUTSIDE) { this.declareName(expr.name, bindingType, expr.start); }\n }\n break\n\n case \"ChainExpression\":\n this.raiseRecoverable(expr.start, \"Optional chaining cannot appear in left-hand side\");\n break\n\n case \"MemberExpression\":\n if (isBind) { this.raiseRecoverable(expr.start, \"Binding member expression\"); }\n break\n\n case \"ParenthesizedExpression\":\n if (isBind) { this.raiseRecoverable(expr.start, \"Binding parenthesized expression\"); }\n return this.checkLValSimple(expr.expression, bindingType, checkClashes)\n\n default:\n this.raise(expr.start, (isBind ? \"Binding\" : \"Assigning to\") + \" rvalue\");\n }\n };\n\n pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {\n if ( bindingType === void 0 ) bindingType = BIND_NONE;\n\n switch (expr.type) {\n case \"ObjectPattern\":\n for (var i = 0, list = expr.properties; i < list.length; i += 1) {\n var prop = list[i];\n\n this.checkLValInnerPattern(prop, bindingType, checkClashes);\n }\n break\n\n case \"ArrayPattern\":\n for (var i$1 = 0, list$1 = expr.elements; i$1 < list$1.length; i$1 += 1) {\n var elem = list$1[i$1];\n\n if (elem) { this.checkLValInnerPattern(elem, bindingType, checkClashes); }\n }\n break\n\n default:\n this.checkLValSimple(expr, bindingType, checkClashes);\n }\n };\n\n pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {\n if ( bindingType === void 0 ) bindingType = BIND_NONE;\n\n switch (expr.type) {\n case \"Property\":\n // AssignmentProperty has type === \"Property\"\n this.checkLValInnerPattern(expr.value, bindingType, checkClashes);\n break\n\n case \"AssignmentPattern\":\n this.checkLValPattern(expr.left, bindingType, checkClashes);\n break\n\n case \"RestElement\":\n this.checkLValPattern(expr.argument, bindingType, checkClashes);\n break\n\n default:\n this.checkLValPattern(expr, bindingType, checkClashes);\n }\n };\n\n // The algorithm used to determine whether a regexp can appear at a\n\n var TokContext = function TokContext(token, isExpr, preserveSpace, override, generator) {\n this.token = token;\n this.isExpr = !!isExpr;\n this.preserveSpace = !!preserveSpace;\n this.override = override;\n this.generator = !!generator;\n };\n\n var types = {\n b_stat: new TokContext(\"{\", false),\n b_expr: new TokContext(\"{\", true),\n b_tmpl: new TokContext(\"${\", false),\n p_stat: new TokContext(\"(\", false),\n p_expr: new TokContext(\"(\", true),\n q_tmpl: new TokContext(\"`\", true, true, function (p) { return p.tryReadTemplateToken(); }),\n f_stat: new TokContext(\"function\", false),\n f_expr: new TokContext(\"function\", true),\n f_expr_gen: new TokContext(\"function\", true, false, null, true),\n f_gen: new TokContext(\"function\", false, false, null, true)\n };\n\n var pp$6 = Parser.prototype;\n\n pp$6.initialContext = function() {\n return [types.b_stat]\n };\n\n pp$6.curContext = function() {\n return this.context[this.context.length - 1]\n };\n\n pp$6.braceIsBlock = function(prevType) {\n var parent = this.curContext();\n if (parent === types.f_expr || parent === types.f_stat)\n { return true }\n if (prevType === types$1.colon && (parent === types.b_stat || parent === types.b_expr))\n { return !parent.isExpr }\n\n // The check for `tt.name && exprAllowed` detects whether we are\n // after a `yield` or `of` construct. See the `updateContext` for\n // `tt.name`.\n if (prevType === types$1._return || prevType === types$1.name && this.exprAllowed)\n { return lineBreak.test(this.input.slice(this.lastTokEnd, this.start)) }\n if (prevType === types$1._else || prevType === types$1.semi || prevType === types$1.eof || prevType === types$1.parenR || prevType === types$1.arrow)\n { return true }\n if (prevType === types$1.braceL)\n { return parent === types.b_stat }\n if (prevType === types$1._var || prevType === types$1._const || prevType === types$1.name)\n { return false }\n return !this.exprAllowed\n };\n\n pp$6.inGeneratorContext = function() {\n for (var i = this.context.length - 1; i >= 1; i--) {\n var context = this.context[i];\n if (context.token === \"function\")\n { return context.generator }\n }\n return false\n };\n\n pp$6.updateContext = function(prevType) {\n var update, type = this.type;\n if (type.keyword && prevType === types$1.dot)\n { this.exprAllowed = false; }\n else if (update = type.updateContext)\n { update.call(this, prevType); }\n else\n { this.exprAllowed = type.beforeExpr; }\n };\n\n // Used to handle egde cases when token context could not be inferred correctly during tokenization phase\n\n pp$6.overrideContext = function(tokenCtx) {\n if (this.curContext() !== tokenCtx) {\n this.context[this.context.length - 1] = tokenCtx;\n }\n };\n\n // Token-specific context update code\n\n types$1.parenR.updateContext = types$1.braceR.updateContext = function() {\n if (this.context.length === 1) {\n this.exprAllowed = true;\n return\n }\n var out = this.context.pop();\n if (out === types.b_stat && this.curContext().token === \"function\") {\n out = this.context.pop();\n }\n this.exprAllowed = !out.isExpr;\n };\n\n types$1.braceL.updateContext = function(prevType) {\n this.context.push(this.braceIsBlock(prevType) ? types.b_stat : types.b_expr);\n this.exprAllowed = true;\n };\n\n types$1.dollarBraceL.updateContext = function() {\n this.context.push(types.b_tmpl);\n this.exprAllowed = true;\n };\n\n types$1.parenL.updateContext = function(prevType) {\n var statementParens = prevType === types$1._if || prevType === types$1._for || prevType === types$1._with || prevType === types$1._while;\n this.context.push(statementParens ? types.p_stat : types.p_expr);\n this.exprAllowed = true;\n };\n\n types$1.incDec.updateContext = function() {\n // tokExprAllowed stays unchanged\n };\n\n types$1._function.updateContext = types$1._class.updateContext = function(prevType) {\n if (prevType.beforeExpr && prevType !== types$1._else &&\n !(prevType === types$1.semi && this.curContext() !== types.p_stat) &&\n !(prevType === types$1._return && lineBreak.test(this.input.slice(this.lastTokEnd, this.start))) &&\n !((prevType === types$1.colon || prevType === types$1.braceL) && this.curContext() === types.b_stat))\n { this.context.push(types.f_expr); }\n else\n { this.context.push(types.f_stat); }\n this.exprAllowed = false;\n };\n\n types$1.backQuote.updateContext = function() {\n if (this.curContext() === types.q_tmpl)\n { this.context.pop(); }\n else\n { this.context.push(types.q_tmpl); }\n this.exprAllowed = false;\n };\n\n types$1.star.updateContext = function(prevType) {\n if (prevType === types$1._function) {\n var index = this.context.length - 1;\n if (this.context[index] === types.f_expr)\n { this.context[index] = types.f_expr_gen; }\n else\n { this.context[index] = types.f_gen; }\n }\n this.exprAllowed = true;\n };\n\n types$1.name.updateContext = function(prevType) {\n var allowed = false;\n if (this.options.ecmaVersion >= 6 && prevType !== types$1.dot) {\n if (this.value === \"of\" && !this.exprAllowed ||\n this.value === \"yield\" && this.inGeneratorContext())\n { allowed = true; }\n }\n this.exprAllowed = allowed;\n };\n\n // A recursive descent parser operates by defining functions for all\n\n var pp$5 = Parser.prototype;\n\n // Check if property name clashes with already added.\n // Object/class getters and setters are not allowed to clash —\n // either with each other or with an init property — and in\n // strict mode, init properties are also not allowed to be repeated.\n\n pp$5.checkPropClash = function(prop, propHash, refDestructuringErrors) {\n if (this.options.ecmaVersion >= 9 && prop.type === \"SpreadElement\")\n { return }\n if (this.options.ecmaVersion >= 6 && (prop.computed || prop.method || prop.shorthand))\n { return }\n var key = prop.key;\n var name;\n switch (key.type) {\n case \"Identifier\": name = key.name; break\n case \"Literal\": name = String(key.value); break\n default: return\n }\n var kind = prop.kind;\n if (this.options.ecmaVersion >= 6) {\n if (name === \"__proto__\" && kind === \"init\") {\n if (propHash.proto) {\n if (refDestructuringErrors) {\n if (refDestructuringErrors.doubleProto < 0) {\n refDestructuringErrors.doubleProto = key.start;\n }\n } else {\n this.raiseRecoverable(key.start, \"Redefinition of __proto__ property\");\n }\n }\n propHash.proto = true;\n }\n return\n }\n name = \"$\" + name;\n var other = propHash[name];\n if (other) {\n var redefinition;\n if (kind === \"init\") {\n redefinition = this.strict && other.init || other.get || other.set;\n } else {\n redefinition = other.init || other[kind];\n }\n if (redefinition)\n { this.raiseRecoverable(key.start, \"Redefinition of property\"); }\n } else {\n other = propHash[name] = {\n init: false,\n get: false,\n set: false\n };\n }\n other[kind] = true;\n };\n\n // ### Expression parsing\n\n // These nest, from the most general expression type at the top to\n // 'atomic', nondivisible expression types at the bottom. Most of\n // the functions will simply let the function(s) below them parse,\n // and, *if* the syntactic construct they handle is present, wrap\n // the AST node that the inner parser gave them in another node.\n\n // Parse a full expression. The optional arguments are used to\n // forbid the `in` operator (in for loops initalization expressions)\n // and provide reference for storing '=' operator inside shorthand\n // property assignment in contexts where both object expression\n // and object pattern might appear (so it's possible to raise\n // delayed syntax error at correct position).\n\n pp$5.parseExpression = function(forInit, refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseMaybeAssign(forInit, refDestructuringErrors);\n if (this.type === types$1.comma) {\n var node = this.startNodeAt(startPos, startLoc);\n node.expressions = [expr];\n while (this.eat(types$1.comma)) { node.expressions.push(this.parseMaybeAssign(forInit, refDestructuringErrors)); }\n return this.finishNode(node, \"SequenceExpression\")\n }\n return expr\n };\n\n // Parse an assignment expression. This includes applications of\n // operators like `+=`.\n\n pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse) {\n if (this.isContextual(\"yield\")) {\n if (this.inGenerator) { return this.parseYield(forInit) }\n // The tokenizer will assume an expression is allowed after\n // `yield`, but this isn't that kind of yield\n else { this.exprAllowed = false; }\n }\n\n var ownDestructuringErrors = false, oldParenAssign = -1, oldTrailingComma = -1, oldDoubleProto = -1;\n if (refDestructuringErrors) {\n oldParenAssign = refDestructuringErrors.parenthesizedAssign;\n oldTrailingComma = refDestructuringErrors.trailingComma;\n oldDoubleProto = refDestructuringErrors.doubleProto;\n refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = -1;\n } else {\n refDestructuringErrors = new DestructuringErrors;\n ownDestructuringErrors = true;\n }\n\n var startPos = this.start, startLoc = this.startLoc;\n if (this.type === types$1.parenL || this.type === types$1.name) {\n this.potentialArrowAt = this.start;\n this.potentialArrowInForAwait = forInit === \"await\";\n }\n var left = this.parseMaybeConditional(forInit, refDestructuringErrors);\n if (afterLeftParse) { left = afterLeftParse.call(this, left, startPos, startLoc); }\n if (this.type.isAssign) {\n var node = this.startNodeAt(startPos, startLoc);\n node.operator = this.value;\n if (this.type === types$1.eq)\n { left = this.toAssignable(left, false, refDestructuringErrors); }\n if (!ownDestructuringErrors) {\n refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = refDestructuringErrors.doubleProto = -1;\n }\n if (refDestructuringErrors.shorthandAssign >= left.start)\n { refDestructuringErrors.shorthandAssign = -1; } // reset because shorthand default was used correctly\n if (this.type === types$1.eq)\n { this.checkLValPattern(left); }\n else\n { this.checkLValSimple(left); }\n node.left = left;\n this.next();\n node.right = this.parseMaybeAssign(forInit);\n if (oldDoubleProto > -1) { refDestructuringErrors.doubleProto = oldDoubleProto; }\n return this.finishNode(node, \"AssignmentExpression\")\n } else {\n if (ownDestructuringErrors) { this.checkExpressionErrors(refDestructuringErrors, true); }\n }\n if (oldParenAssign > -1) { refDestructuringErrors.parenthesizedAssign = oldParenAssign; }\n if (oldTrailingComma > -1) { refDestructuringErrors.trailingComma = oldTrailingComma; }\n return left\n };\n\n // Parse a ternary conditional (`?:`) operator.\n\n pp$5.parseMaybeConditional = function(forInit, refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseExprOps(forInit, refDestructuringErrors);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n if (this.eat(types$1.question)) {\n var node = this.startNodeAt(startPos, startLoc);\n node.test = expr;\n node.consequent = this.parseMaybeAssign();\n this.expect(types$1.colon);\n node.alternate = this.parseMaybeAssign(forInit);\n return this.finishNode(node, \"ConditionalExpression\")\n }\n return expr\n };\n\n // Start the precedence parser.\n\n pp$5.parseExprOps = function(forInit, refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseMaybeUnary(refDestructuringErrors, false, false, forInit);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n return expr.start === startPos && expr.type === \"ArrowFunctionExpression\" ? expr : this.parseExprOp(expr, startPos, startLoc, -1, forInit)\n };\n\n // Parse binary operators with the operator precedence parsing\n // algorithm. `left` is the left-hand side of the operator.\n // `minPrec` provides context that allows the function to stop and\n // defer further parser to one of its callers when it encounters an\n // operator that has a lower precedence than the set it is parsing.\n\n pp$5.parseExprOp = function(left, leftStartPos, leftStartLoc, minPrec, forInit) {\n var prec = this.type.binop;\n if (prec != null && (!forInit || this.type !== types$1._in)) {\n if (prec > minPrec) {\n var logical = this.type === types$1.logicalOR || this.type === types$1.logicalAND;\n var coalesce = this.type === types$1.coalesce;\n if (coalesce) {\n // Handle the precedence of `tt.coalesce` as equal to the range of logical expressions.\n // In other words, `node.right` shouldn't contain logical expressions in order to check the mixed error.\n prec = types$1.logicalAND.binop;\n }\n var op = this.value;\n this.next();\n var startPos = this.start, startLoc = this.startLoc;\n var right = this.parseExprOp(this.parseMaybeUnary(null, false, false, forInit), startPos, startLoc, prec, forInit);\n var node = this.buildBinary(leftStartPos, leftStartLoc, left, right, op, logical || coalesce);\n if ((logical && this.type === types$1.coalesce) || (coalesce && (this.type === types$1.logicalOR || this.type === types$1.logicalAND))) {\n this.raiseRecoverable(this.start, \"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses\");\n }\n return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, forInit)\n }\n }\n return left\n };\n\n pp$5.buildBinary = function(startPos, startLoc, left, right, op, logical) {\n if (right.type === \"PrivateIdentifier\") { this.raise(right.start, \"Private identifier can only be left side of binary expression\"); }\n var node = this.startNodeAt(startPos, startLoc);\n node.left = left;\n node.operator = op;\n node.right = right;\n return this.finishNode(node, logical ? \"LogicalExpression\" : \"BinaryExpression\")\n };\n\n // Parse unary operators, both prefix and postfix.\n\n pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forInit) {\n var startPos = this.start, startLoc = this.startLoc, expr;\n if (this.isContextual(\"await\") && this.canAwait) {\n expr = this.parseAwait(forInit);\n sawUnary = true;\n } else if (this.type.prefix) {\n var node = this.startNode(), update = this.type === types$1.incDec;\n node.operator = this.value;\n node.prefix = true;\n this.next();\n node.argument = this.parseMaybeUnary(null, true, update, forInit);\n this.checkExpressionErrors(refDestructuringErrors, true);\n if (update) { this.checkLValSimple(node.argument); }\n else if (this.strict && node.operator === \"delete\" &&\n node.argument.type === \"Identifier\")\n { this.raiseRecoverable(node.start, \"Deleting local variable in strict mode\"); }\n else if (node.operator === \"delete\" && isPrivateFieldAccess(node.argument))\n { this.raiseRecoverable(node.start, \"Private fields can not be deleted\"); }\n else { sawUnary = true; }\n expr = this.finishNode(node, update ? \"UpdateExpression\" : \"UnaryExpression\");\n } else if (!sawUnary && this.type === types$1.privateId) {\n if (forInit || this.privateNameStack.length === 0) { this.unexpected(); }\n expr = this.parsePrivateIdent();\n // only could be private fields in 'in', such as #x in obj\n if (this.type !== types$1._in) { this.unexpected(); }\n } else {\n expr = this.parseExprSubscripts(refDestructuringErrors, forInit);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n while (this.type.postfix && !this.canInsertSemicolon()) {\n var node$1 = this.startNodeAt(startPos, startLoc);\n node$1.operator = this.value;\n node$1.prefix = false;\n node$1.argument = expr;\n this.checkLValSimple(expr);\n this.next();\n expr = this.finishNode(node$1, \"UpdateExpression\");\n }\n }\n\n if (!incDec && this.eat(types$1.starstar)) {\n if (sawUnary)\n { this.unexpected(this.lastTokStart); }\n else\n { return this.buildBinary(startPos, startLoc, expr, this.parseMaybeUnary(null, false, false, forInit), \"**\", false) }\n } else {\n return expr\n }\n };\n\n function isPrivateFieldAccess(node) {\n return (\n node.type === \"MemberExpression\" && node.property.type === \"PrivateIdentifier\" ||\n node.type === \"ChainExpression\" && isPrivateFieldAccess(node.expression)\n )\n }\n\n // Parse call, dot, and `[]`-subscript expressions.\n\n pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseExprAtom(refDestructuringErrors, forInit);\n if (expr.type === \"ArrowFunctionExpression\" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== \")\")\n { return expr }\n var result = this.parseSubscripts(expr, startPos, startLoc, false, forInit);\n if (refDestructuringErrors && result.type === \"MemberExpression\") {\n if (refDestructuringErrors.parenthesizedAssign >= result.start) { refDestructuringErrors.parenthesizedAssign = -1; }\n if (refDestructuringErrors.parenthesizedBind >= result.start) { refDestructuringErrors.parenthesizedBind = -1; }\n if (refDestructuringErrors.trailingComma >= result.start) { refDestructuringErrors.trailingComma = -1; }\n }\n return result\n };\n\n pp$5.parseSubscripts = function(base, startPos, startLoc, noCalls, forInit) {\n var maybeAsyncArrow = this.options.ecmaVersion >= 8 && base.type === \"Identifier\" && base.name === \"async\" &&\n this.lastTokEnd === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 &&\n this.potentialArrowAt === base.start;\n var optionalChained = false;\n\n while (true) {\n var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained, forInit);\n\n if (element.optional) { optionalChained = true; }\n if (element === base || element.type === \"ArrowFunctionExpression\") {\n if (optionalChained) {\n var chainNode = this.startNodeAt(startPos, startLoc);\n chainNode.expression = element;\n element = this.finishNode(chainNode, \"ChainExpression\");\n }\n return element\n }\n\n base = element;\n }\n };\n\n pp$5.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained, forInit) {\n var optionalSupported = this.options.ecmaVersion >= 11;\n var optional = optionalSupported && this.eat(types$1.questionDot);\n if (noCalls && optional) { this.raise(this.lastTokStart, \"Optional chaining cannot appear in the callee of new expressions\"); }\n\n var computed = this.eat(types$1.bracketL);\n if (computed || (optional && this.type !== types$1.parenL && this.type !== types$1.backQuote) || this.eat(types$1.dot)) {\n var node = this.startNodeAt(startPos, startLoc);\n node.object = base;\n if (computed) {\n node.property = this.parseExpression();\n this.expect(types$1.bracketR);\n } else if (this.type === types$1.privateId && base.type !== \"Super\") {\n node.property = this.parsePrivateIdent();\n } else {\n node.property = this.parseIdent(this.options.allowReserved !== \"never\");\n }\n node.computed = !!computed;\n if (optionalSupported) {\n node.optional = optional;\n }\n base = this.finishNode(node, \"MemberExpression\");\n } else if (!noCalls && this.eat(types$1.parenL)) {\n var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.awaitIdentPos = 0;\n var exprList = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, false, refDestructuringErrors);\n if (maybeAsyncArrow && !optional && !this.canInsertSemicolon() && this.eat(types$1.arrow)) {\n this.checkPatternErrors(refDestructuringErrors, false);\n this.checkYieldAwaitInDefaultParams();\n if (this.awaitIdentPos > 0)\n { this.raise(this.awaitIdentPos, \"Cannot use 'await' as identifier inside an async function\"); }\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.awaitIdentPos = oldAwaitIdentPos;\n return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), exprList, true, forInit)\n }\n this.checkExpressionErrors(refDestructuringErrors, true);\n this.yieldPos = oldYieldPos || this.yieldPos;\n this.awaitPos = oldAwaitPos || this.awaitPos;\n this.awaitIdentPos = oldAwaitIdentPos || this.awaitIdentPos;\n var node$1 = this.startNodeAt(startPos, startLoc);\n node$1.callee = base;\n node$1.arguments = exprList;\n if (optionalSupported) {\n node$1.optional = optional;\n }\n base = this.finishNode(node$1, \"CallExpression\");\n } else if (this.type === types$1.backQuote) {\n if (optional || optionalChained) {\n this.raise(this.start, \"Optional chaining cannot appear in the tag of tagged template expressions\");\n }\n var node$2 = this.startNodeAt(startPos, startLoc);\n node$2.tag = base;\n node$2.quasi = this.parseTemplate({isTagged: true});\n base = this.finishNode(node$2, \"TaggedTemplateExpression\");\n }\n return base\n };\n\n // Parse an atomic expression — either a single token that is an\n // expression, an expression started by a keyword like `function` or\n // `new`, or an expression wrapped in punctuation like `()`, `[]`,\n // or `{}`.\n\n pp$5.parseExprAtom = function(refDestructuringErrors, forInit) {\n // If a division operator appears in an expression position, the\n // tokenizer got confused, and we force it to read a regexp instead.\n if (this.type === types$1.slash) { this.readRegexp(); }\n\n var node, canBeArrow = this.potentialArrowAt === this.start;\n switch (this.type) {\n case types$1._super:\n if (!this.allowSuper)\n { this.raise(this.start, \"'super' keyword outside a method\"); }\n node = this.startNode();\n this.next();\n if (this.type === types$1.parenL && !this.allowDirectSuper)\n { this.raise(node.start, \"super() call outside constructor of a subclass\"); }\n // The `super` keyword can appear at below:\n // SuperProperty:\n // super [ Expression ]\n // super . IdentifierName\n // SuperCall:\n // super ( Arguments )\n if (this.type !== types$1.dot && this.type !== types$1.bracketL && this.type !== types$1.parenL)\n { this.unexpected(); }\n return this.finishNode(node, \"Super\")\n\n case types$1._this:\n node = this.startNode();\n this.next();\n return this.finishNode(node, \"ThisExpression\")\n\n case types$1.name:\n var startPos = this.start, startLoc = this.startLoc, containsEsc = this.containsEsc;\n var id = this.parseIdent(false);\n if (this.options.ecmaVersion >= 8 && !containsEsc && id.name === \"async\" && !this.canInsertSemicolon() && this.eat(types$1._function)) {\n this.overrideContext(types.f_expr);\n return this.parseFunction(this.startNodeAt(startPos, startLoc), 0, false, true, forInit)\n }\n if (canBeArrow && !this.canInsertSemicolon()) {\n if (this.eat(types$1.arrow))\n { return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), [id], false, forInit) }\n if (this.options.ecmaVersion >= 8 && id.name === \"async\" && this.type === types$1.name && !containsEsc &&\n (!this.potentialArrowInForAwait || this.value !== \"of\" || this.containsEsc)) {\n id = this.parseIdent(false);\n if (this.canInsertSemicolon() || !this.eat(types$1.arrow))\n { this.unexpected(); }\n return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), [id], true, forInit)\n }\n }\n return id\n\n case types$1.regexp:\n var value = this.value;\n node = this.parseLiteral(value.value);\n node.regex = {pattern: value.pattern, flags: value.flags};\n return node\n\n case types$1.num: case types$1.string:\n return this.parseLiteral(this.value)\n\n case types$1._null: case types$1._true: case types$1._false:\n node = this.startNode();\n node.value = this.type === types$1._null ? null : this.type === types$1._true;\n node.raw = this.type.keyword;\n this.next();\n return this.finishNode(node, \"Literal\")\n\n case types$1.parenL:\n var start = this.start, expr = this.parseParenAndDistinguishExpression(canBeArrow, forInit);\n if (refDestructuringErrors) {\n if (refDestructuringErrors.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(expr))\n { refDestructuringErrors.parenthesizedAssign = start; }\n if (refDestructuringErrors.parenthesizedBind < 0)\n { refDestructuringErrors.parenthesizedBind = start; }\n }\n return expr\n\n case types$1.bracketL:\n node = this.startNode();\n this.next();\n node.elements = this.parseExprList(types$1.bracketR, true, true, refDestructuringErrors);\n return this.finishNode(node, \"ArrayExpression\")\n\n case types$1.braceL:\n this.overrideContext(types.b_expr);\n return this.parseObj(false, refDestructuringErrors)\n\n case types$1._function:\n node = this.startNode();\n this.next();\n return this.parseFunction(node, 0)\n\n case types$1._class:\n return this.parseClass(this.startNode(), false)\n\n case types$1._new:\n return this.parseNew()\n\n case types$1.backQuote:\n return this.parseTemplate()\n\n case types$1._import:\n if (this.options.ecmaVersion >= 11) {\n return this.parseExprImport()\n } else {\n return this.unexpected()\n }\n\n default:\n this.unexpected();\n }\n };\n\n pp$5.parseExprImport = function() {\n var node = this.startNode();\n\n // Consume `import` as an identifier for `import.meta`.\n // Because `this.parseIdent(true)` doesn't check escape sequences, it needs the check of `this.containsEsc`.\n if (this.containsEsc) { this.raiseRecoverable(this.start, \"Escape sequence in keyword import\"); }\n var meta = this.parseIdent(true);\n\n switch (this.type) {\n case types$1.parenL:\n return this.parseDynamicImport(node)\n case types$1.dot:\n node.meta = meta;\n return this.parseImportMeta(node)\n default:\n this.unexpected();\n }\n };\n\n pp$5.parseDynamicImport = function(node) {\n this.next(); // skip `(`\n\n // Parse node.source.\n node.source = this.parseMaybeAssign();\n\n // Verify ending.\n if (!this.eat(types$1.parenR)) {\n var errorPos = this.start;\n if (this.eat(types$1.comma) && this.eat(types$1.parenR)) {\n this.raiseRecoverable(errorPos, \"Trailing comma is not allowed in import()\");\n } else {\n this.unexpected(errorPos);\n }\n }\n\n return this.finishNode(node, \"ImportExpression\")\n };\n\n pp$5.parseImportMeta = function(node) {\n this.next(); // skip `.`\n\n var containsEsc = this.containsEsc;\n node.property = this.parseIdent(true);\n\n if (node.property.name !== \"meta\")\n { this.raiseRecoverable(node.property.start, \"The only valid meta property for import is 'import.meta'\"); }\n if (containsEsc)\n { this.raiseRecoverable(node.start, \"'import.meta' must not contain escaped characters\"); }\n if (this.options.sourceType !== \"module\" && !this.options.allowImportExportEverywhere)\n { this.raiseRecoverable(node.start, \"Cannot use 'import.meta' outside a module\"); }\n\n return this.finishNode(node, \"MetaProperty\")\n };\n\n pp$5.parseLiteral = function(value) {\n var node = this.startNode();\n node.value = value;\n node.raw = this.input.slice(this.start, this.end);\n if (node.raw.charCodeAt(node.raw.length - 1) === 110) { node.bigint = node.raw.slice(0, -1).replace(/_/g, \"\"); }\n this.next();\n return this.finishNode(node, \"Literal\")\n };\n\n pp$5.parseParenExpression = function() {\n this.expect(types$1.parenL);\n var val = this.parseExpression();\n this.expect(types$1.parenR);\n return val\n };\n\n pp$5.parseParenAndDistinguishExpression = function(canBeArrow, forInit) {\n var startPos = this.start, startLoc = this.startLoc, val, allowTrailingComma = this.options.ecmaVersion >= 8;\n if (this.options.ecmaVersion >= 6) {\n this.next();\n\n var innerStartPos = this.start, innerStartLoc = this.startLoc;\n var exprList = [], first = true, lastIsComma = false;\n var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, spreadStart;\n this.yieldPos = 0;\n this.awaitPos = 0;\n // Do not save awaitIdentPos to allow checking awaits nested in parameters\n while (this.type !== types$1.parenR) {\n first ? first = false : this.expect(types$1.comma);\n if (allowTrailingComma && this.afterTrailingComma(types$1.parenR, true)) {\n lastIsComma = true;\n break\n } else if (this.type === types$1.ellipsis) {\n spreadStart = this.start;\n exprList.push(this.parseParenItem(this.parseRestBinding()));\n if (this.type === types$1.comma) { this.raise(this.start, \"Comma is not permitted after the rest element\"); }\n break\n } else {\n exprList.push(this.parseMaybeAssign(false, refDestructuringErrors, this.parseParenItem));\n }\n }\n var innerEndPos = this.lastTokEnd, innerEndLoc = this.lastTokEndLoc;\n this.expect(types$1.parenR);\n\n if (canBeArrow && !this.canInsertSemicolon() && this.eat(types$1.arrow)) {\n this.checkPatternErrors(refDestructuringErrors, false);\n this.checkYieldAwaitInDefaultParams();\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n return this.parseParenArrowList(startPos, startLoc, exprList, forInit)\n }\n\n if (!exprList.length || lastIsComma) { this.unexpected(this.lastTokStart); }\n if (spreadStart) { this.unexpected(spreadStart); }\n this.checkExpressionErrors(refDestructuringErrors, true);\n this.yieldPos = oldYieldPos || this.yieldPos;\n this.awaitPos = oldAwaitPos || this.awaitPos;\n\n if (exprList.length > 1) {\n val = this.startNodeAt(innerStartPos, innerStartLoc);\n val.expressions = exprList;\n this.finishNodeAt(val, \"SequenceExpression\", innerEndPos, innerEndLoc);\n } else {\n val = exprList[0];\n }\n } else {\n val = this.parseParenExpression();\n }\n\n if (this.options.preserveParens) {\n var par = this.startNodeAt(startPos, startLoc);\n par.expression = val;\n return this.finishNode(par, \"ParenthesizedExpression\")\n } else {\n return val\n }\n };\n\n pp$5.parseParenItem = function(item) {\n return item\n };\n\n pp$5.parseParenArrowList = function(startPos, startLoc, exprList, forInit) {\n return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), exprList, false, forInit)\n };\n\n // New's precedence is slightly tricky. It must allow its argument to\n // be a `[]` or dot subscript expression, but not a call — at least,\n // not without wrapping it in parentheses. Thus, it uses the noCalls\n // argument to parseSubscripts to prevent it from consuming the\n // argument list.\n\n var empty = [];\n\n pp$5.parseNew = function() {\n if (this.containsEsc) { this.raiseRecoverable(this.start, \"Escape sequence in keyword new\"); }\n var node = this.startNode();\n var meta = this.parseIdent(true);\n if (this.options.ecmaVersion >= 6 && this.eat(types$1.dot)) {\n node.meta = meta;\n var containsEsc = this.containsEsc;\n node.property = this.parseIdent(true);\n if (node.property.name !== \"target\")\n { this.raiseRecoverable(node.property.start, \"The only valid meta property for new is 'new.target'\"); }\n if (containsEsc)\n { this.raiseRecoverable(node.start, \"'new.target' must not contain escaped characters\"); }\n if (!this.allowNewDotTarget)\n { this.raiseRecoverable(node.start, \"'new.target' can only be used in functions and class static block\"); }\n return this.finishNode(node, \"MetaProperty\")\n }\n var startPos = this.start, startLoc = this.startLoc, isImport = this.type === types$1._import;\n node.callee = this.parseSubscripts(this.parseExprAtom(), startPos, startLoc, true, false);\n if (isImport && node.callee.type === \"ImportExpression\") {\n this.raise(startPos, \"Cannot use new with import()\");\n }\n if (this.eat(types$1.parenL)) { node.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, false); }\n else { node.arguments = empty; }\n return this.finishNode(node, \"NewExpression\")\n };\n\n // Parse template expression.\n\n pp$5.parseTemplateElement = function(ref) {\n var isTagged = ref.isTagged;\n\n var elem = this.startNode();\n if (this.type === types$1.invalidTemplate) {\n if (!isTagged) {\n this.raiseRecoverable(this.start, \"Bad escape sequence in untagged template literal\");\n }\n elem.value = {\n raw: this.value,\n cooked: null\n };\n } else {\n elem.value = {\n raw: this.input.slice(this.start, this.end).replace(/\\r\\n?/g, \"\\n\"),\n cooked: this.value\n };\n }\n this.next();\n elem.tail = this.type === types$1.backQuote;\n return this.finishNode(elem, \"TemplateElement\")\n };\n\n pp$5.parseTemplate = function(ref) {\n if ( ref === void 0 ) ref = {};\n var isTagged = ref.isTagged; if ( isTagged === void 0 ) isTagged = false;\n\n var node = this.startNode();\n this.next();\n node.expressions = [];\n var curElt = this.parseTemplateElement({isTagged: isTagged});\n node.quasis = [curElt];\n while (!curElt.tail) {\n if (this.type === types$1.eof) { this.raise(this.pos, \"Unterminated template literal\"); }\n this.expect(types$1.dollarBraceL);\n node.expressions.push(this.parseExpression());\n this.expect(types$1.braceR);\n node.quasis.push(curElt = this.parseTemplateElement({isTagged: isTagged}));\n }\n this.next();\n return this.finishNode(node, \"TemplateLiteral\")\n };\n\n pp$5.isAsyncProp = function(prop) {\n return !prop.computed && prop.key.type === \"Identifier\" && prop.key.name === \"async\" &&\n (this.type === types$1.name || this.type === types$1.num || this.type === types$1.string || this.type === types$1.bracketL || this.type.keyword || (this.options.ecmaVersion >= 9 && this.type === types$1.star)) &&\n !lineBreak.test(this.input.slice(this.lastTokEnd, this.start))\n };\n\n // Parse an object literal or binding pattern.\n\n pp$5.parseObj = function(isPattern, refDestructuringErrors) {\n var node = this.startNode(), first = true, propHash = {};\n node.properties = [];\n this.next();\n while (!this.eat(types$1.braceR)) {\n if (!first) {\n this.expect(types$1.comma);\n if (this.options.ecmaVersion >= 5 && this.afterTrailingComma(types$1.braceR)) { break }\n } else { first = false; }\n\n var prop = this.parseProperty(isPattern, refDestructuringErrors);\n if (!isPattern) { this.checkPropClash(prop, propHash, refDestructuringErrors); }\n node.properties.push(prop);\n }\n return this.finishNode(node, isPattern ? \"ObjectPattern\" : \"ObjectExpression\")\n };\n\n pp$5.parseProperty = function(isPattern, refDestructuringErrors) {\n var prop = this.startNode(), isGenerator, isAsync, startPos, startLoc;\n if (this.options.ecmaVersion >= 9 && this.eat(types$1.ellipsis)) {\n if (isPattern) {\n prop.argument = this.parseIdent(false);\n if (this.type === types$1.comma) {\n this.raise(this.start, \"Comma is not permitted after the rest element\");\n }\n return this.finishNode(prop, \"RestElement\")\n }\n // Parse argument.\n prop.argument = this.parseMaybeAssign(false, refDestructuringErrors);\n // To disallow trailing comma via `this.toAssignable()`.\n if (this.type === types$1.comma && refDestructuringErrors && refDestructuringErrors.trailingComma < 0) {\n refDestructuringErrors.trailingComma = this.start;\n }\n // Finish\n return this.finishNode(prop, \"SpreadElement\")\n }\n if (this.options.ecmaVersion >= 6) {\n prop.method = false;\n prop.shorthand = false;\n if (isPattern || refDestructuringErrors) {\n startPos = this.start;\n startLoc = this.startLoc;\n }\n if (!isPattern)\n { isGenerator = this.eat(types$1.star); }\n }\n var containsEsc = this.containsEsc;\n this.parsePropertyName(prop);\n if (!isPattern && !containsEsc && this.options.ecmaVersion >= 8 && !isGenerator && this.isAsyncProp(prop)) {\n isAsync = true;\n isGenerator = this.options.ecmaVersion >= 9 && this.eat(types$1.star);\n this.parsePropertyName(prop);\n } else {\n isAsync = false;\n }\n this.parsePropertyValue(prop, isPattern, isGenerator, isAsync, startPos, startLoc, refDestructuringErrors, containsEsc);\n return this.finishNode(prop, \"Property\")\n };\n\n pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startPos, startLoc, refDestructuringErrors, containsEsc) {\n if ((isGenerator || isAsync) && this.type === types$1.colon)\n { this.unexpected(); }\n\n if (this.eat(types$1.colon)) {\n prop.value = isPattern ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, refDestructuringErrors);\n prop.kind = \"init\";\n } else if (this.options.ecmaVersion >= 6 && this.type === types$1.parenL) {\n if (isPattern) { this.unexpected(); }\n prop.kind = \"init\";\n prop.method = true;\n prop.value = this.parseMethod(isGenerator, isAsync);\n } else if (!isPattern && !containsEsc &&\n this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === \"Identifier\" &&\n (prop.key.name === \"get\" || prop.key.name === \"set\") &&\n (this.type !== types$1.comma && this.type !== types$1.braceR && this.type !== types$1.eq)) {\n if (isGenerator || isAsync) { this.unexpected(); }\n prop.kind = prop.key.name;\n this.parsePropertyName(prop);\n prop.value = this.parseMethod(false);\n var paramCount = prop.kind === \"get\" ? 0 : 1;\n if (prop.value.params.length !== paramCount) {\n var start = prop.value.start;\n if (prop.kind === \"get\")\n { this.raiseRecoverable(start, \"getter should have no params\"); }\n else\n { this.raiseRecoverable(start, \"setter should have exactly one param\"); }\n } else {\n if (prop.kind === \"set\" && prop.value.params[0].type === \"RestElement\")\n { this.raiseRecoverable(prop.value.params[0].start, \"Setter cannot use rest params\"); }\n }\n } else if (this.options.ecmaVersion >= 6 && !prop.computed && prop.key.type === \"Identifier\") {\n if (isGenerator || isAsync) { this.unexpected(); }\n this.checkUnreserved(prop.key);\n if (prop.key.name === \"await\" && !this.awaitIdentPos)\n { this.awaitIdentPos = startPos; }\n prop.kind = \"init\";\n if (isPattern) {\n prop.value = this.parseMaybeDefault(startPos, startLoc, this.copyNode(prop.key));\n } else if (this.type === types$1.eq && refDestructuringErrors) {\n if (refDestructuringErrors.shorthandAssign < 0)\n { refDestructuringErrors.shorthandAssign = this.start; }\n prop.value = this.parseMaybeDefault(startPos, startLoc, this.copyNode(prop.key));\n } else {\n prop.value = this.copyNode(prop.key);\n }\n prop.shorthand = true;\n } else { this.unexpected(); }\n };\n\n pp$5.parsePropertyName = function(prop) {\n if (this.options.ecmaVersion >= 6) {\n if (this.eat(types$1.bracketL)) {\n prop.computed = true;\n prop.key = this.parseMaybeAssign();\n this.expect(types$1.bracketR);\n return prop.key\n } else {\n prop.computed = false;\n }\n }\n return prop.key = this.type === types$1.num || this.type === types$1.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== \"never\")\n };\n\n // Initialize empty function node.\n\n pp$5.initFunction = function(node) {\n node.id = null;\n if (this.options.ecmaVersion >= 6) { node.generator = node.expression = false; }\n if (this.options.ecmaVersion >= 8) { node.async = false; }\n };\n\n // Parse object or class method.\n\n pp$5.parseMethod = function(isGenerator, isAsync, allowDirectSuper) {\n var node = this.startNode(), oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;\n\n this.initFunction(node);\n if (this.options.ecmaVersion >= 6)\n { node.generator = isGenerator; }\n if (this.options.ecmaVersion >= 8)\n { node.async = !!isAsync; }\n\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.awaitIdentPos = 0;\n this.enterScope(functionFlags(isAsync, node.generator) | SCOPE_SUPER | (allowDirectSuper ? SCOPE_DIRECT_SUPER : 0));\n\n this.expect(types$1.parenL);\n node.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);\n this.checkYieldAwaitInDefaultParams();\n this.parseFunctionBody(node, false, true, false);\n\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.awaitIdentPos = oldAwaitIdentPos;\n return this.finishNode(node, \"FunctionExpression\")\n };\n\n // Parse arrow function expression with given parameters.\n\n pp$5.parseArrowExpression = function(node, params, isAsync, forInit) {\n var oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;\n\n this.enterScope(functionFlags(isAsync, false) | SCOPE_ARROW);\n this.initFunction(node);\n if (this.options.ecmaVersion >= 8) { node.async = !!isAsync; }\n\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.awaitIdentPos = 0;\n\n node.params = this.toAssignableList(params, true);\n this.parseFunctionBody(node, true, false, forInit);\n\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.awaitIdentPos = oldAwaitIdentPos;\n return this.finishNode(node, \"ArrowFunctionExpression\")\n };\n\n // Parse function body and check parameters.\n\n pp$5.parseFunctionBody = function(node, isArrowFunction, isMethod, forInit) {\n var isExpression = isArrowFunction && this.type !== types$1.braceL;\n var oldStrict = this.strict, useStrict = false;\n\n if (isExpression) {\n node.body = this.parseMaybeAssign(forInit);\n node.expression = true;\n this.checkParams(node, false);\n } else {\n var nonSimple = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(node.params);\n if (!oldStrict || nonSimple) {\n useStrict = this.strictDirective(this.end);\n // If this is a strict mode function, verify that argument names\n // are not repeated, and it does not try to bind the words `eval`\n // or `arguments`.\n if (useStrict && nonSimple)\n { this.raiseRecoverable(node.start, \"Illegal 'use strict' directive in function with non-simple parameter list\"); }\n }\n // Start a new scope with regard to labels and the `inFunction`\n // flag (restore them to their old value afterwards).\n var oldLabels = this.labels;\n this.labels = [];\n if (useStrict) { this.strict = true; }\n\n // Add the params to varDeclaredNames to ensure that an error is thrown\n // if a let/const declaration in the function clashes with one of the params.\n this.checkParams(node, !oldStrict && !useStrict && !isArrowFunction && !isMethod && this.isSimpleParamList(node.params));\n // Ensure the function name isn't a forbidden identifier in strict mode, e.g. 'eval'\n if (this.strict && node.id) { this.checkLValSimple(node.id, BIND_OUTSIDE); }\n node.body = this.parseBlock(false, undefined, useStrict && !oldStrict);\n node.expression = false;\n this.adaptDirectivePrologue(node.body.body);\n this.labels = oldLabels;\n }\n this.exitScope();\n };\n\n pp$5.isSimpleParamList = function(params) {\n for (var i = 0, list = params; i < list.length; i += 1)\n {\n var param = list[i];\n\n if (param.type !== \"Identifier\") { return false\n } }\n return true\n };\n\n // Checks function params for various disallowed patterns such as using \"eval\"\n // or \"arguments\" and duplicate parameters.\n\n pp$5.checkParams = function(node, allowDuplicates) {\n var nameHash = Object.create(null);\n for (var i = 0, list = node.params; i < list.length; i += 1)\n {\n var param = list[i];\n\n this.checkLValInnerPattern(param, BIND_VAR, allowDuplicates ? null : nameHash);\n }\n };\n\n // Parses a comma-separated list of expressions, and returns them as\n // an array. `close` is the token type that ends the list, and\n // `allowEmpty` can be turned on to allow subsequent commas with\n // nothing in between them to be parsed as `null` (which is needed\n // for array literals).\n\n pp$5.parseExprList = function(close, allowTrailingComma, allowEmpty, refDestructuringErrors) {\n var elts = [], first = true;\n while (!this.eat(close)) {\n if (!first) {\n this.expect(types$1.comma);\n if (allowTrailingComma && this.afterTrailingComma(close)) { break }\n } else { first = false; }\n\n var elt = (void 0);\n if (allowEmpty && this.type === types$1.comma)\n { elt = null; }\n else if (this.type === types$1.ellipsis) {\n elt = this.parseSpread(refDestructuringErrors);\n if (refDestructuringErrors && this.type === types$1.comma && refDestructuringErrors.trailingComma < 0)\n { refDestructuringErrors.trailingComma = this.start; }\n } else {\n elt = this.parseMaybeAssign(false, refDestructuringErrors);\n }\n elts.push(elt);\n }\n return elts\n };\n\n pp$5.checkUnreserved = function(ref) {\n var start = ref.start;\n var end = ref.end;\n var name = ref.name;\n\n if (this.inGenerator && name === \"yield\")\n { this.raiseRecoverable(start, \"Cannot use 'yield' as identifier inside a generator\"); }\n if (this.inAsync && name === \"await\")\n { this.raiseRecoverable(start, \"Cannot use 'await' as identifier inside an async function\"); }\n if (this.currentThisScope().inClassFieldInit && name === \"arguments\")\n { this.raiseRecoverable(start, \"Cannot use 'arguments' in class field initializer\"); }\n if (this.inClassStaticBlock && (name === \"arguments\" || name === \"await\"))\n { this.raise(start, (\"Cannot use \" + name + \" in class static initialization block\")); }\n if (this.keywords.test(name))\n { this.raise(start, (\"Unexpected keyword '\" + name + \"'\")); }\n if (this.options.ecmaVersion < 6 &&\n this.input.slice(start, end).indexOf(\"\\\\\") !== -1) { return }\n var re = this.strict ? this.reservedWordsStrict : this.reservedWords;\n if (re.test(name)) {\n if (!this.inAsync && name === \"await\")\n { this.raiseRecoverable(start, \"Cannot use keyword 'await' outside an async function\"); }\n this.raiseRecoverable(start, (\"The keyword '\" + name + \"' is reserved\"));\n }\n };\n\n // Parse the next token as an identifier. If `liberal` is true (used\n // when parsing properties), it will also convert keywords into\n // identifiers.\n\n pp$5.parseIdent = function(liberal) {\n var node = this.startNode();\n if (this.type === types$1.name) {\n node.name = this.value;\n } else if (this.type.keyword) {\n node.name = this.type.keyword;\n\n // To fix https://github.com/acornjs/acorn/issues/575\n // `class` and `function` keywords push new context into this.context.\n // But there is no chance to pop the context if the keyword is consumed as an identifier such as a property name.\n // If the previous token is a dot, this does not apply because the context-managing code already ignored the keyword\n if ((node.name === \"class\" || node.name === \"function\") &&\n (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46)) {\n this.context.pop();\n }\n } else {\n this.unexpected();\n }\n this.next(!!liberal);\n this.finishNode(node, \"Identifier\");\n if (!liberal) {\n this.checkUnreserved(node);\n if (node.name === \"await\" && !this.awaitIdentPos)\n { this.awaitIdentPos = node.start; }\n }\n return node\n };\n\n pp$5.parsePrivateIdent = function() {\n var node = this.startNode();\n if (this.type === types$1.privateId) {\n node.name = this.value;\n } else {\n this.unexpected();\n }\n this.next();\n this.finishNode(node, \"PrivateIdentifier\");\n\n // For validating existence\n if (this.privateNameStack.length === 0) {\n this.raise(node.start, (\"Private field '#\" + (node.name) + \"' must be declared in an enclosing class\"));\n } else {\n this.privateNameStack[this.privateNameStack.length - 1].used.push(node);\n }\n\n return node\n };\n\n // Parses yield expression inside generator.\n\n pp$5.parseYield = function(forInit) {\n if (!this.yieldPos) { this.yieldPos = this.start; }\n\n var node = this.startNode();\n this.next();\n if (this.type === types$1.semi || this.canInsertSemicolon() || (this.type !== types$1.star && !this.type.startsExpr)) {\n node.delegate = false;\n node.argument = null;\n } else {\n node.delegate = this.eat(types$1.star);\n node.argument = this.parseMaybeAssign(forInit);\n }\n return this.finishNode(node, \"YieldExpression\")\n };\n\n pp$5.parseAwait = function(forInit) {\n if (!this.awaitPos) { this.awaitPos = this.start; }\n\n var node = this.startNode();\n this.next();\n node.argument = this.parseMaybeUnary(null, true, false, forInit);\n return this.finishNode(node, \"AwaitExpression\")\n };\n\n var pp$4 = Parser.prototype;\n\n // This function is used to raise exceptions on parse errors. It\n // takes an offset integer (into the current `input`) to indicate\n // the location of the error, attaches the position to the end\n // of the error message, and then raises a `SyntaxError` with that\n // message.\n\n pp$4.raise = function(pos, message) {\n var loc = getLineInfo(this.input, pos);\n message += \" (\" + loc.line + \":\" + loc.column + \")\";\n var err = new SyntaxError(message);\n err.pos = pos; err.loc = loc; err.raisedAt = this.pos;\n throw err\n };\n\n pp$4.raiseRecoverable = pp$4.raise;\n\n pp$4.curPosition = function() {\n if (this.options.locations) {\n return new Position(this.curLine, this.pos - this.lineStart)\n }\n };\n\n var pp$3 = Parser.prototype;\n\n var Scope = function Scope(flags) {\n this.flags = flags;\n // A list of var-declared names in the current lexical scope\n this.var = [];\n // A list of lexically-declared names in the current lexical scope\n this.lexical = [];\n // A list of lexically-declared FunctionDeclaration names in the current lexical scope\n this.functions = [];\n // A switch to disallow the identifier reference 'arguments'\n this.inClassFieldInit = false;\n };\n\n // The functions in this module keep track of declared variables in the current scope in order to detect duplicate variable names.\n\n pp$3.enterScope = function(flags) {\n this.scopeStack.push(new Scope(flags));\n };\n\n pp$3.exitScope = function() {\n this.scopeStack.pop();\n };\n\n // The spec says:\n // > At the top level of a function, or script, function declarations are\n // > treated like var declarations rather than like lexical declarations.\n pp$3.treatFunctionsAsVarInScope = function(scope) {\n return (scope.flags & SCOPE_FUNCTION) || !this.inModule && (scope.flags & SCOPE_TOP)\n };\n\n pp$3.declareName = function(name, bindingType, pos) {\n var redeclared = false;\n if (bindingType === BIND_LEXICAL) {\n var scope = this.currentScope();\n redeclared = scope.lexical.indexOf(name) > -1 || scope.functions.indexOf(name) > -1 || scope.var.indexOf(name) > -1;\n scope.lexical.push(name);\n if (this.inModule && (scope.flags & SCOPE_TOP))\n { delete this.undefinedExports[name]; }\n } else if (bindingType === BIND_SIMPLE_CATCH) {\n var scope$1 = this.currentScope();\n scope$1.lexical.push(name);\n } else if (bindingType === BIND_FUNCTION) {\n var scope$2 = this.currentScope();\n if (this.treatFunctionsAsVar)\n { redeclared = scope$2.lexical.indexOf(name) > -1; }\n else\n { redeclared = scope$2.lexical.indexOf(name) > -1 || scope$2.var.indexOf(name) > -1; }\n scope$2.functions.push(name);\n } else {\n for (var i = this.scopeStack.length - 1; i >= 0; --i) {\n var scope$3 = this.scopeStack[i];\n if (scope$3.lexical.indexOf(name) > -1 && !((scope$3.flags & SCOPE_SIMPLE_CATCH) && scope$3.lexical[0] === name) ||\n !this.treatFunctionsAsVarInScope(scope$3) && scope$3.functions.indexOf(name) > -1) {\n redeclared = true;\n break\n }\n scope$3.var.push(name);\n if (this.inModule && (scope$3.flags & SCOPE_TOP))\n { delete this.undefinedExports[name]; }\n if (scope$3.flags & SCOPE_VAR) { break }\n }\n }\n if (redeclared) { this.raiseRecoverable(pos, (\"Identifier '\" + name + \"' has already been declared\")); }\n };\n\n pp$3.checkLocalExport = function(id) {\n // scope.functions must be empty as Module code is always strict.\n if (this.scopeStack[0].lexical.indexOf(id.name) === -1 &&\n this.scopeStack[0].var.indexOf(id.name) === -1) {\n this.undefinedExports[id.name] = id;\n }\n };\n\n pp$3.currentScope = function() {\n return this.scopeStack[this.scopeStack.length - 1]\n };\n\n pp$3.currentVarScope = function() {\n for (var i = this.scopeStack.length - 1;; i--) {\n var scope = this.scopeStack[i];\n if (scope.flags & SCOPE_VAR) { return scope }\n }\n };\n\n // Could be useful for `this`, `new.target`, `super()`, `super.property`, and `super[property]`.\n pp$3.currentThisScope = function() {\n for (var i = this.scopeStack.length - 1;; i--) {\n var scope = this.scopeStack[i];\n if (scope.flags & SCOPE_VAR && !(scope.flags & SCOPE_ARROW)) { return scope }\n }\n };\n\n var Node = function Node(parser, pos, loc) {\n this.type = \"\";\n this.start = pos;\n this.end = 0;\n if (parser.options.locations)\n { this.loc = new SourceLocation(parser, loc); }\n if (parser.options.directSourceFile)\n { this.sourceFile = parser.options.directSourceFile; }\n if (parser.options.ranges)\n { this.range = [pos, 0]; }\n };\n\n // Start an AST node, attaching a start offset.\n\n var pp$2 = Parser.prototype;\n\n pp$2.startNode = function() {\n return new Node(this, this.start, this.startLoc)\n };\n\n pp$2.startNodeAt = function(pos, loc) {\n return new Node(this, pos, loc)\n };\n\n // Finish an AST node, adding `type` and `end` properties.\n\n function finishNodeAt(node, type, pos, loc) {\n node.type = type;\n node.end = pos;\n if (this.options.locations)\n { node.loc.end = loc; }\n if (this.options.ranges)\n { node.range[1] = pos; }\n return node\n }\n\n pp$2.finishNode = function(node, type) {\n return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc)\n };\n\n // Finish node at given position\n\n pp$2.finishNodeAt = function(node, type, pos, loc) {\n return finishNodeAt.call(this, node, type, pos, loc)\n };\n\n pp$2.copyNode = function(node) {\n var newNode = new Node(this, node.start, this.startLoc);\n for (var prop in node) { newNode[prop] = node[prop]; }\n return newNode\n };\n\n // This file contains Unicode properties extracted from the ECMAScript specification.\n // The lists are extracted like so:\n // $$('#table-binary-unicode-properties > figure > table > tbody > tr > td:nth-child(1) code').map(el => el.innerText)\n\n // #table-binary-unicode-properties\n var ecma9BinaryProperties = \"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS\";\n var ecma10BinaryProperties = ecma9BinaryProperties + \" Extended_Pictographic\";\n var ecma11BinaryProperties = ecma10BinaryProperties;\n var ecma12BinaryProperties = ecma11BinaryProperties + \" EBase EComp EMod EPres ExtPict\";\n var ecma13BinaryProperties = ecma12BinaryProperties;\n var ecma14BinaryProperties = ecma13BinaryProperties;\n\n var unicodeBinaryProperties = {\n 9: ecma9BinaryProperties,\n 10: ecma10BinaryProperties,\n 11: ecma11BinaryProperties,\n 12: ecma12BinaryProperties,\n 13: ecma13BinaryProperties,\n 14: ecma14BinaryProperties\n };\n\n // #table-unicode-general-category-values\n var unicodeGeneralCategoryValues = \"Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu\";\n\n // #table-unicode-script-values\n var ecma9ScriptValues = \"Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb\";\n var ecma10ScriptValues = ecma9ScriptValues + \" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd\";\n var ecma11ScriptValues = ecma10ScriptValues + \" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho\";\n var ecma12ScriptValues = ecma11ScriptValues + \" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi\";\n var ecma13ScriptValues = ecma12ScriptValues + \" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith\";\n var ecma14ScriptValues = ecma13ScriptValues + \" Kawi Nag_Mundari Nagm\";\n\n var unicodeScriptValues = {\n 9: ecma9ScriptValues,\n 10: ecma10ScriptValues,\n 11: ecma11ScriptValues,\n 12: ecma12ScriptValues,\n 13: ecma13ScriptValues,\n 14: ecma14ScriptValues\n };\n\n var data = {};\n function buildUnicodeData(ecmaVersion) {\n var d = data[ecmaVersion] = {\n binary: wordsRegexp(unicodeBinaryProperties[ecmaVersion] + \" \" + unicodeGeneralCategoryValues),\n nonBinary: {\n General_Category: wordsRegexp(unicodeGeneralCategoryValues),\n Script: wordsRegexp(unicodeScriptValues[ecmaVersion])\n }\n };\n d.nonBinary.Script_Extensions = d.nonBinary.Script;\n\n d.nonBinary.gc = d.nonBinary.General_Category;\n d.nonBinary.sc = d.nonBinary.Script;\n d.nonBinary.scx = d.nonBinary.Script_Extensions;\n }\n\n for (var i = 0, list = [9, 10, 11, 12, 13, 14]; i < list.length; i += 1) {\n var ecmaVersion = list[i];\n\n buildUnicodeData(ecmaVersion);\n }\n\n var pp$1 = Parser.prototype;\n\n var RegExpValidationState = function RegExpValidationState(parser) {\n this.parser = parser;\n this.validFlags = \"gim\" + (parser.options.ecmaVersion >= 6 ? \"uy\" : \"\") + (parser.options.ecmaVersion >= 9 ? \"s\" : \"\") + (parser.options.ecmaVersion >= 13 ? \"d\" : \"\");\n this.unicodeProperties = data[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion];\n this.source = \"\";\n this.flags = \"\";\n this.start = 0;\n this.switchU = false;\n this.switchN = false;\n this.pos = 0;\n this.lastIntValue = 0;\n this.lastStringValue = \"\";\n this.lastAssertionIsQuantifiable = false;\n this.numCapturingParens = 0;\n this.maxBackReference = 0;\n this.groupNames = [];\n this.backReferenceNames = [];\n };\n\n RegExpValidationState.prototype.reset = function reset (start, pattern, flags) {\n var unicode = flags.indexOf(\"u\") !== -1;\n this.start = start | 0;\n this.source = pattern + \"\";\n this.flags = flags;\n this.switchU = unicode && this.parser.options.ecmaVersion >= 6;\n this.switchN = unicode && this.parser.options.ecmaVersion >= 9;\n };\n\n RegExpValidationState.prototype.raise = function raise (message) {\n this.parser.raiseRecoverable(this.start, (\"Invalid regular expression: /\" + (this.source) + \"/: \" + message));\n };\n\n // If u flag is given, this returns the code point at the index (it combines a surrogate pair).\n // Otherwise, this returns the code unit of the index (can be a part of a surrogate pair).\n RegExpValidationState.prototype.at = function at (i, forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n var s = this.source;\n var l = s.length;\n if (i >= l) {\n return -1\n }\n var c = s.charCodeAt(i);\n if (!(forceU || this.switchU) || c <= 0xD7FF || c >= 0xE000 || i + 1 >= l) {\n return c\n }\n var next = s.charCodeAt(i + 1);\n return next >= 0xDC00 && next <= 0xDFFF ? (c << 10) + next - 0x35FDC00 : c\n };\n\n RegExpValidationState.prototype.nextIndex = function nextIndex (i, forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n var s = this.source;\n var l = s.length;\n if (i >= l) {\n return l\n }\n var c = s.charCodeAt(i), next;\n if (!(forceU || this.switchU) || c <= 0xD7FF || c >= 0xE000 || i + 1 >= l ||\n (next = s.charCodeAt(i + 1)) < 0xDC00 || next > 0xDFFF) {\n return i + 1\n }\n return i + 2\n };\n\n RegExpValidationState.prototype.current = function current (forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n return this.at(this.pos, forceU)\n };\n\n RegExpValidationState.prototype.lookahead = function lookahead (forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n return this.at(this.nextIndex(this.pos, forceU), forceU)\n };\n\n RegExpValidationState.prototype.advance = function advance (forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n this.pos = this.nextIndex(this.pos, forceU);\n };\n\n RegExpValidationState.prototype.eat = function eat (ch, forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n if (this.current(forceU) === ch) {\n this.advance(forceU);\n return true\n }\n return false\n };\n\n /**\n * Validate the flags part of a given RegExpLiteral.\n *\n * @param {RegExpValidationState} state The state to validate RegExp.\n * @returns {void}\n */\n pp$1.validateRegExpFlags = function(state) {\n var validFlags = state.validFlags;\n var flags = state.flags;\n\n for (var i = 0; i < flags.length; i++) {\n var flag = flags.charAt(i);\n if (validFlags.indexOf(flag) === -1) {\n this.raise(state.start, \"Invalid regular expression flag\");\n }\n if (flags.indexOf(flag, i + 1) > -1) {\n this.raise(state.start, \"Duplicate regular expression flag\");\n }\n }\n };\n\n /**\n * Validate the pattern part of a given RegExpLiteral.\n *\n * @param {RegExpValidationState} state The state to validate RegExp.\n * @returns {void}\n */\n pp$1.validateRegExpPattern = function(state) {\n this.regexp_pattern(state);\n\n // The goal symbol for the parse is |Pattern[~U, ~N]|. If the result of\n // parsing contains a |GroupName|, reparse with the goal symbol\n // |Pattern[~U, +N]| and use this result instead. Throw a *SyntaxError*\n // exception if _P_ did not conform to the grammar, if any elements of _P_\n // were not matched by the parse, or if any Early Error conditions exist.\n if (!state.switchN && this.options.ecmaVersion >= 9 && state.groupNames.length > 0) {\n state.switchN = true;\n this.regexp_pattern(state);\n }\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Pattern\n pp$1.regexp_pattern = function(state) {\n state.pos = 0;\n state.lastIntValue = 0;\n state.lastStringValue = \"\";\n state.lastAssertionIsQuantifiable = false;\n state.numCapturingParens = 0;\n state.maxBackReference = 0;\n state.groupNames.length = 0;\n state.backReferenceNames.length = 0;\n\n this.regexp_disjunction(state);\n\n if (state.pos !== state.source.length) {\n // Make the same messages as V8.\n if (state.eat(0x29 /* ) */)) {\n state.raise(\"Unmatched ')'\");\n }\n if (state.eat(0x5D /* ] */) || state.eat(0x7D /* } */)) {\n state.raise(\"Lone quantifier brackets\");\n }\n }\n if (state.maxBackReference > state.numCapturingParens) {\n state.raise(\"Invalid escape\");\n }\n for (var i = 0, list = state.backReferenceNames; i < list.length; i += 1) {\n var name = list[i];\n\n if (state.groupNames.indexOf(name) === -1) {\n state.raise(\"Invalid named capture referenced\");\n }\n }\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Disjunction\n pp$1.regexp_disjunction = function(state) {\n this.regexp_alternative(state);\n while (state.eat(0x7C /* | */)) {\n this.regexp_alternative(state);\n }\n\n // Make the same message as V8.\n if (this.regexp_eatQuantifier(state, true)) {\n state.raise(\"Nothing to repeat\");\n }\n if (state.eat(0x7B /* { */)) {\n state.raise(\"Lone quantifier brackets\");\n }\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Alternative\n pp$1.regexp_alternative = function(state) {\n while (state.pos < state.source.length && this.regexp_eatTerm(state))\n { }\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-Term\n pp$1.regexp_eatTerm = function(state) {\n if (this.regexp_eatAssertion(state)) {\n // Handle `QuantifiableAssertion Quantifier` alternative.\n // `state.lastAssertionIsQuantifiable` is true if the last eaten Assertion\n // is a QuantifiableAssertion.\n if (state.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(state)) {\n // Make the same message as V8.\n if (state.switchU) {\n state.raise(\"Invalid quantifier\");\n }\n }\n return true\n }\n\n if (state.switchU ? this.regexp_eatAtom(state) : this.regexp_eatExtendedAtom(state)) {\n this.regexp_eatQuantifier(state);\n return true\n }\n\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-Assertion\n pp$1.regexp_eatAssertion = function(state) {\n var start = state.pos;\n state.lastAssertionIsQuantifiable = false;\n\n // ^, $\n if (state.eat(0x5E /* ^ */) || state.eat(0x24 /* $ */)) {\n return true\n }\n\n // \\b \\B\n if (state.eat(0x5C /* \\ */)) {\n if (state.eat(0x42 /* B */) || state.eat(0x62 /* b */)) {\n return true\n }\n state.pos = start;\n }\n\n // Lookahead / Lookbehind\n if (state.eat(0x28 /* ( */) && state.eat(0x3F /* ? */)) {\n var lookbehind = false;\n if (this.options.ecmaVersion >= 9) {\n lookbehind = state.eat(0x3C /* < */);\n }\n if (state.eat(0x3D /* = */) || state.eat(0x21 /* ! */)) {\n this.regexp_disjunction(state);\n if (!state.eat(0x29 /* ) */)) {\n state.raise(\"Unterminated group\");\n }\n state.lastAssertionIsQuantifiable = !lookbehind;\n return true\n }\n }\n\n state.pos = start;\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Quantifier\n pp$1.regexp_eatQuantifier = function(state, noError) {\n if ( noError === void 0 ) noError = false;\n\n if (this.regexp_eatQuantifierPrefix(state, noError)) {\n state.eat(0x3F /* ? */);\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-QuantifierPrefix\n pp$1.regexp_eatQuantifierPrefix = function(state, noError) {\n return (\n state.eat(0x2A /* * */) ||\n state.eat(0x2B /* + */) ||\n state.eat(0x3F /* ? */) ||\n this.regexp_eatBracedQuantifier(state, noError)\n )\n };\n pp$1.regexp_eatBracedQuantifier = function(state, noError) {\n var start = state.pos;\n if (state.eat(0x7B /* { */)) {\n var min = 0, max = -1;\n if (this.regexp_eatDecimalDigits(state)) {\n min = state.lastIntValue;\n if (state.eat(0x2C /* , */) && this.regexp_eatDecimalDigits(state)) {\n max = state.lastIntValue;\n }\n if (state.eat(0x7D /* } */)) {\n // SyntaxError in https://www.ecma-international.org/ecma-262/8.0/#sec-term\n if (max !== -1 && max < min && !noError) {\n state.raise(\"numbers out of order in {} quantifier\");\n }\n return true\n }\n }\n if (state.switchU && !noError) {\n state.raise(\"Incomplete quantifier\");\n }\n state.pos = start;\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Atom\n pp$1.regexp_eatAtom = function(state) {\n return (\n this.regexp_eatPatternCharacters(state) ||\n state.eat(0x2E /* . */) ||\n this.regexp_eatReverseSolidusAtomEscape(state) ||\n this.regexp_eatCharacterClass(state) ||\n this.regexp_eatUncapturingGroup(state) ||\n this.regexp_eatCapturingGroup(state)\n )\n };\n pp$1.regexp_eatReverseSolidusAtomEscape = function(state) {\n var start = state.pos;\n if (state.eat(0x5C /* \\ */)) {\n if (this.regexp_eatAtomEscape(state)) {\n return true\n }\n state.pos = start;\n }\n return false\n };\n pp$1.regexp_eatUncapturingGroup = function(state) {\n var start = state.pos;\n if (state.eat(0x28 /* ( */)) {\n if (state.eat(0x3F /* ? */) && state.eat(0x3A /* : */)) {\n this.regexp_disjunction(state);\n if (state.eat(0x29 /* ) */)) {\n return true\n }\n state.raise(\"Unterminated group\");\n }\n state.pos = start;\n }\n return false\n };\n pp$1.regexp_eatCapturingGroup = function(state) {\n if (state.eat(0x28 /* ( */)) {\n if (this.options.ecmaVersion >= 9) {\n this.regexp_groupSpecifier(state);\n } else if (state.current() === 0x3F /* ? */) {\n state.raise(\"Invalid group\");\n }\n this.regexp_disjunction(state);\n if (state.eat(0x29 /* ) */)) {\n state.numCapturingParens += 1;\n return true\n }\n state.raise(\"Unterminated group\");\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ExtendedAtom\n pp$1.regexp_eatExtendedAtom = function(state) {\n return (\n state.eat(0x2E /* . */) ||\n this.regexp_eatReverseSolidusAtomEscape(state) ||\n this.regexp_eatCharacterClass(state) ||\n this.regexp_eatUncapturingGroup(state) ||\n this.regexp_eatCapturingGroup(state) ||\n this.regexp_eatInvalidBracedQuantifier(state) ||\n this.regexp_eatExtendedPatternCharacter(state)\n )\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-InvalidBracedQuantifier\n pp$1.regexp_eatInvalidBracedQuantifier = function(state) {\n if (this.regexp_eatBracedQuantifier(state, true)) {\n state.raise(\"Nothing to repeat\");\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-SyntaxCharacter\n pp$1.regexp_eatSyntaxCharacter = function(state) {\n var ch = state.current();\n if (isSyntaxCharacter(ch)) {\n state.lastIntValue = ch;\n state.advance();\n return true\n }\n return false\n };\n function isSyntaxCharacter(ch) {\n return (\n ch === 0x24 /* $ */ ||\n ch >= 0x28 /* ( */ && ch <= 0x2B /* + */ ||\n ch === 0x2E /* . */ ||\n ch === 0x3F /* ? */ ||\n ch >= 0x5B /* [ */ && ch <= 0x5E /* ^ */ ||\n ch >= 0x7B /* { */ && ch <= 0x7D /* } */\n )\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-PatternCharacter\n // But eat eager.\n pp$1.regexp_eatPatternCharacters = function(state) {\n var start = state.pos;\n var ch = 0;\n while ((ch = state.current()) !== -1 && !isSyntaxCharacter(ch)) {\n state.advance();\n }\n return state.pos !== start\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ExtendedPatternCharacter\n pp$1.regexp_eatExtendedPatternCharacter = function(state) {\n var ch = state.current();\n if (\n ch !== -1 &&\n ch !== 0x24 /* $ */ &&\n !(ch >= 0x28 /* ( */ && ch <= 0x2B /* + */) &&\n ch !== 0x2E /* . */ &&\n ch !== 0x3F /* ? */ &&\n ch !== 0x5B /* [ */ &&\n ch !== 0x5E /* ^ */ &&\n ch !== 0x7C /* | */\n ) {\n state.advance();\n return true\n }\n return false\n };\n\n // GroupSpecifier ::\n // [empty]\n // `?` GroupName\n pp$1.regexp_groupSpecifier = function(state) {\n if (state.eat(0x3F /* ? */)) {\n if (this.regexp_eatGroupName(state)) {\n if (state.groupNames.indexOf(state.lastStringValue) !== -1) {\n state.raise(\"Duplicate capture group name\");\n }\n state.groupNames.push(state.lastStringValue);\n return\n }\n state.raise(\"Invalid group\");\n }\n };\n\n // GroupName ::\n // `<` RegExpIdentifierName `>`\n // Note: this updates `state.lastStringValue` property with the eaten name.\n pp$1.regexp_eatGroupName = function(state) {\n state.lastStringValue = \"\";\n if (state.eat(0x3C /* < */)) {\n if (this.regexp_eatRegExpIdentifierName(state) && state.eat(0x3E /* > */)) {\n return true\n }\n state.raise(\"Invalid capture group name\");\n }\n return false\n };\n\n // RegExpIdentifierName ::\n // RegExpIdentifierStart\n // RegExpIdentifierName RegExpIdentifierPart\n // Note: this updates `state.lastStringValue` property with the eaten name.\n pp$1.regexp_eatRegExpIdentifierName = function(state) {\n state.lastStringValue = \"\";\n if (this.regexp_eatRegExpIdentifierStart(state)) {\n state.lastStringValue += codePointToString(state.lastIntValue);\n while (this.regexp_eatRegExpIdentifierPart(state)) {\n state.lastStringValue += codePointToString(state.lastIntValue);\n }\n return true\n }\n return false\n };\n\n // RegExpIdentifierStart ::\n // UnicodeIDStart\n // `$`\n // `_`\n // `\\` RegExpUnicodeEscapeSequence[+U]\n pp$1.regexp_eatRegExpIdentifierStart = function(state) {\n var start = state.pos;\n var forceU = this.options.ecmaVersion >= 11;\n var ch = state.current(forceU);\n state.advance(forceU);\n\n if (ch === 0x5C /* \\ */ && this.regexp_eatRegExpUnicodeEscapeSequence(state, forceU)) {\n ch = state.lastIntValue;\n }\n if (isRegExpIdentifierStart(ch)) {\n state.lastIntValue = ch;\n return true\n }\n\n state.pos = start;\n return false\n };\n function isRegExpIdentifierStart(ch) {\n return isIdentifierStart(ch, true) || ch === 0x24 /* $ */ || ch === 0x5F /* _ */\n }\n\n // RegExpIdentifierPart ::\n // UnicodeIDContinue\n // `$`\n // `_`\n // `\\` RegExpUnicodeEscapeSequence[+U]\n // <ZWNJ>\n // <ZWJ>\n pp$1.regexp_eatRegExpIdentifierPart = function(state) {\n var start = state.pos;\n var forceU = this.options.ecmaVersion >= 11;\n var ch = state.current(forceU);\n state.advance(forceU);\n\n if (ch === 0x5C /* \\ */ && this.regexp_eatRegExpUnicodeEscapeSequence(state, forceU)) {\n ch = state.lastIntValue;\n }\n if (isRegExpIdentifierPart(ch)) {\n state.lastIntValue = ch;\n return true\n }\n\n state.pos = start;\n return false\n };\n function isRegExpIdentifierPart(ch) {\n return isIdentifierChar(ch, true) || ch === 0x24 /* $ */ || ch === 0x5F /* _ */ || ch === 0x200C /* <ZWNJ> */ || ch === 0x200D /* <ZWJ> */\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-AtomEscape\n pp$1.regexp_eatAtomEscape = function(state) {\n if (\n this.regexp_eatBackReference(state) ||\n this.regexp_eatCharacterClassEscape(state) ||\n this.regexp_eatCharacterEscape(state) ||\n (state.switchN && this.regexp_eatKGroupName(state))\n ) {\n return true\n }\n if (state.switchU) {\n // Make the same message as V8.\n if (state.current() === 0x63 /* c */) {\n state.raise(\"Invalid unicode escape\");\n }\n state.raise(\"Invalid escape\");\n }\n return false\n };\n pp$1.regexp_eatBackReference = function(state) {\n var start = state.pos;\n if (this.regexp_eatDecimalEscape(state)) {\n var n = state.lastIntValue;\n if (state.switchU) {\n // For SyntaxError in https://www.ecma-international.org/ecma-262/8.0/#sec-atomescape\n if (n > state.maxBackReference) {\n state.maxBackReference = n;\n }\n return true\n }\n if (n <= state.numCapturingParens) {\n return true\n }\n state.pos = start;\n }\n return false\n };\n pp$1.regexp_eatKGroupName = function(state) {\n if (state.eat(0x6B /* k */)) {\n if (this.regexp_eatGroupName(state)) {\n state.backReferenceNames.push(state.lastStringValue);\n return true\n }\n state.raise(\"Invalid named reference\");\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-CharacterEscape\n pp$1.regexp_eatCharacterEscape = function(state) {\n return (\n this.regexp_eatControlEscape(state) ||\n this.regexp_eatCControlLetter(state) ||\n this.regexp_eatZero(state) ||\n this.regexp_eatHexEscapeSequence(state) ||\n this.regexp_eatRegExpUnicodeEscapeSequence(state, false) ||\n (!state.switchU && this.regexp_eatLegacyOctalEscapeSequence(state)) ||\n this.regexp_eatIdentityEscape(state)\n )\n };\n pp$1.regexp_eatCControlLetter = function(state) {\n var start = state.pos;\n if (state.eat(0x63 /* c */)) {\n if (this.regexp_eatControlLetter(state)) {\n return true\n }\n state.pos = start;\n }\n return false\n };\n pp$1.regexp_eatZero = function(state) {\n if (state.current() === 0x30 /* 0 */ && !isDecimalDigit(state.lookahead())) {\n state.lastIntValue = 0;\n state.advance();\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-ControlEscape\n pp$1.regexp_eatControlEscape = function(state) {\n var ch = state.current();\n if (ch === 0x74 /* t */) {\n state.lastIntValue = 0x09; /* \\t */\n state.advance();\n return true\n }\n if (ch === 0x6E /* n */) {\n state.lastIntValue = 0x0A; /* \\n */\n state.advance();\n return true\n }\n if (ch === 0x76 /* v */) {\n state.lastIntValue = 0x0B; /* \\v */\n state.advance();\n return true\n }\n if (ch === 0x66 /* f */) {\n state.lastIntValue = 0x0C; /* \\f */\n state.advance();\n return true\n }\n if (ch === 0x72 /* r */) {\n state.lastIntValue = 0x0D; /* \\r */\n state.advance();\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-ControlLetter\n pp$1.regexp_eatControlLetter = function(state) {\n var ch = state.current();\n if (isControlLetter(ch)) {\n state.lastIntValue = ch % 0x20;\n state.advance();\n return true\n }\n return false\n };\n function isControlLetter(ch) {\n return (\n (ch >= 0x41 /* A */ && ch <= 0x5A /* Z */) ||\n (ch >= 0x61 /* a */ && ch <= 0x7A /* z */)\n )\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-RegExpUnicodeEscapeSequence\n pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {\n if ( forceU === void 0 ) forceU = false;\n\n var start = state.pos;\n var switchU = forceU || state.switchU;\n\n if (state.eat(0x75 /* u */)) {\n if (this.regexp_eatFixedHexDigits(state, 4)) {\n var lead = state.lastIntValue;\n if (switchU && lead >= 0xD800 && lead <= 0xDBFF) {\n var leadSurrogateEnd = state.pos;\n if (state.eat(0x5C /* \\ */) && state.eat(0x75 /* u */) && this.regexp_eatFixedHexDigits(state, 4)) {\n var trail = state.lastIntValue;\n if (trail >= 0xDC00 && trail <= 0xDFFF) {\n state.lastIntValue = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n return true\n }\n }\n state.pos = leadSurrogateEnd;\n state.lastIntValue = lead;\n }\n return true\n }\n if (\n switchU &&\n state.eat(0x7B /* { */) &&\n this.regexp_eatHexDigits(state) &&\n state.eat(0x7D /* } */) &&\n isValidUnicode(state.lastIntValue)\n ) {\n return true\n }\n if (switchU) {\n state.raise(\"Invalid unicode escape\");\n }\n state.pos = start;\n }\n\n return false\n };\n function isValidUnicode(ch) {\n return ch >= 0 && ch <= 0x10FFFF\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-IdentityEscape\n pp$1.regexp_eatIdentityEscape = function(state) {\n if (state.switchU) {\n if (this.regexp_eatSyntaxCharacter(state)) {\n return true\n }\n if (state.eat(0x2F /* / */)) {\n state.lastIntValue = 0x2F; /* / */\n return true\n }\n return false\n }\n\n var ch = state.current();\n if (ch !== 0x63 /* c */ && (!state.switchN || ch !== 0x6B /* k */)) {\n state.lastIntValue = ch;\n state.advance();\n return true\n }\n\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-DecimalEscape\n pp$1.regexp_eatDecimalEscape = function(state) {\n state.lastIntValue = 0;\n var ch = state.current();\n if (ch >= 0x31 /* 1 */ && ch <= 0x39 /* 9 */) {\n do {\n state.lastIntValue = 10 * state.lastIntValue + (ch - 0x30 /* 0 */);\n state.advance();\n } while ((ch = state.current()) >= 0x30 /* 0 */ && ch <= 0x39 /* 9 */)\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-CharacterClassEscape\n pp$1.regexp_eatCharacterClassEscape = function(state) {\n var ch = state.current();\n\n if (isCharacterClassEscape(ch)) {\n state.lastIntValue = -1;\n state.advance();\n return true\n }\n\n if (\n state.switchU &&\n this.options.ecmaVersion >= 9 &&\n (ch === 0x50 /* P */ || ch === 0x70 /* p */)\n ) {\n state.lastIntValue = -1;\n state.advance();\n if (\n state.eat(0x7B /* { */) &&\n this.regexp_eatUnicodePropertyValueExpression(state) &&\n state.eat(0x7D /* } */)\n ) {\n return true\n }\n state.raise(\"Invalid property name\");\n }\n\n return false\n };\n function isCharacterClassEscape(ch) {\n return (\n ch === 0x64 /* d */ ||\n ch === 0x44 /* D */ ||\n ch === 0x73 /* s */ ||\n ch === 0x53 /* S */ ||\n ch === 0x77 /* w */ ||\n ch === 0x57 /* W */\n )\n }\n\n // UnicodePropertyValueExpression ::\n // UnicodePropertyName `=` UnicodePropertyValue\n // LoneUnicodePropertyNameOrValue\n pp$1.regexp_eatUnicodePropertyValueExpression = function(state) {\n var start = state.pos;\n\n // UnicodePropertyName `=` UnicodePropertyValue\n if (this.regexp_eatUnicodePropertyName(state) && state.eat(0x3D /* = */)) {\n var name = state.lastStringValue;\n if (this.regexp_eatUnicodePropertyValue(state)) {\n var value = state.lastStringValue;\n this.regexp_validateUnicodePropertyNameAndValue(state, name, value);\n return true\n }\n }\n state.pos = start;\n\n // LoneUnicodePropertyNameOrValue\n if (this.regexp_eatLoneUnicodePropertyNameOrValue(state)) {\n var nameOrValue = state.lastStringValue;\n this.regexp_validateUnicodePropertyNameOrValue(state, nameOrValue);\n return true\n }\n return false\n };\n pp$1.regexp_validateUnicodePropertyNameAndValue = function(state, name, value) {\n if (!hasOwn(state.unicodeProperties.nonBinary, name))\n { state.raise(\"Invalid property name\"); }\n if (!state.unicodeProperties.nonBinary[name].test(value))\n { state.raise(\"Invalid property value\"); }\n };\n pp$1.regexp_validateUnicodePropertyNameOrValue = function(state, nameOrValue) {\n if (!state.unicodeProperties.binary.test(nameOrValue))\n { state.raise(\"Invalid property name\"); }\n };\n\n // UnicodePropertyName ::\n // UnicodePropertyNameCharacters\n pp$1.regexp_eatUnicodePropertyName = function(state) {\n var ch = 0;\n state.lastStringValue = \"\";\n while (isUnicodePropertyNameCharacter(ch = state.current())) {\n state.lastStringValue += codePointToString(ch);\n state.advance();\n }\n return state.lastStringValue !== \"\"\n };\n function isUnicodePropertyNameCharacter(ch) {\n return isControlLetter(ch) || ch === 0x5F /* _ */\n }\n\n // UnicodePropertyValue ::\n // UnicodePropertyValueCharacters\n pp$1.regexp_eatUnicodePropertyValue = function(state) {\n var ch = 0;\n state.lastStringValue = \"\";\n while (isUnicodePropertyValueCharacter(ch = state.current())) {\n state.lastStringValue += codePointToString(ch);\n state.advance();\n }\n return state.lastStringValue !== \"\"\n };\n function isUnicodePropertyValueCharacter(ch) {\n return isUnicodePropertyNameCharacter(ch) || isDecimalDigit(ch)\n }\n\n // LoneUnicodePropertyNameOrValue ::\n // UnicodePropertyValueCharacters\n pp$1.regexp_eatLoneUnicodePropertyNameOrValue = function(state) {\n return this.regexp_eatUnicodePropertyValue(state)\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-CharacterClass\n pp$1.regexp_eatCharacterClass = function(state) {\n if (state.eat(0x5B /* [ */)) {\n state.eat(0x5E /* ^ */);\n this.regexp_classRanges(state);\n if (state.eat(0x5D /* ] */)) {\n return true\n }\n // Unreachable since it threw \"unterminated regular expression\" error before.\n state.raise(\"Unterminated character class\");\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-ClassRanges\n // https://www.ecma-international.org/ecma-262/8.0/#prod-NonemptyClassRanges\n // https://www.ecma-international.org/ecma-262/8.0/#prod-NonemptyClassRangesNoDash\n pp$1.regexp_classRanges = function(state) {\n while (this.regexp_eatClassAtom(state)) {\n var left = state.lastIntValue;\n if (state.eat(0x2D /* - */) && this.regexp_eatClassAtom(state)) {\n var right = state.lastIntValue;\n if (state.switchU && (left === -1 || right === -1)) {\n state.raise(\"Invalid character class\");\n }\n if (left !== -1 && right !== -1 && left > right) {\n state.raise(\"Range out of order in character class\");\n }\n }\n }\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-ClassAtom\n // https://www.ecma-international.org/ecma-262/8.0/#prod-ClassAtomNoDash\n pp$1.regexp_eatClassAtom = function(state) {\n var start = state.pos;\n\n if (state.eat(0x5C /* \\ */)) {\n if (this.regexp_eatClassEscape(state)) {\n return true\n }\n if (state.switchU) {\n // Make the same message as V8.\n var ch$1 = state.current();\n if (ch$1 === 0x63 /* c */ || isOctalDigit(ch$1)) {\n state.raise(\"Invalid class escape\");\n }\n state.raise(\"Invalid escape\");\n }\n state.pos = start;\n }\n\n var ch = state.current();\n if (ch !== 0x5D /* ] */) {\n state.lastIntValue = ch;\n state.advance();\n return true\n }\n\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ClassEscape\n pp$1.regexp_eatClassEscape = function(state) {\n var start = state.pos;\n\n if (state.eat(0x62 /* b */)) {\n state.lastIntValue = 0x08; /* <BS> */\n return true\n }\n\n if (state.switchU && state.eat(0x2D /* - */)) {\n state.lastIntValue = 0x2D; /* - */\n return true\n }\n\n if (!state.switchU && state.eat(0x63 /* c */)) {\n if (this.regexp_eatClassControlLetter(state)) {\n return true\n }\n state.pos = start;\n }\n\n return (\n this.regexp_eatCharacterClassEscape(state) ||\n this.regexp_eatCharacterEscape(state)\n )\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ClassControlLetter\n pp$1.regexp_eatClassControlLetter = function(state) {\n var ch = state.current();\n if (isDecimalDigit(ch) || ch === 0x5F /* _ */) {\n state.lastIntValue = ch % 0x20;\n state.advance();\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-HexEscapeSequence\n pp$1.regexp_eatHexEscapeSequence = function(state) {\n var start = state.pos;\n if (state.eat(0x78 /* x */)) {\n if (this.regexp_eatFixedHexDigits(state, 2)) {\n return true\n }\n if (state.switchU) {\n state.raise(\"Invalid escape\");\n }\n state.pos = start;\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-DecimalDigits\n pp$1.regexp_eatDecimalDigits = function(state) {\n var start = state.pos;\n var ch = 0;\n state.lastIntValue = 0;\n while (isDecimalDigit(ch = state.current())) {\n state.lastIntValue = 10 * state.lastIntValue + (ch - 0x30 /* 0 */);\n state.advance();\n }\n return state.pos !== start\n };\n function isDecimalDigit(ch) {\n return ch >= 0x30 /* 0 */ && ch <= 0x39 /* 9 */\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-HexDigits\n pp$1.regexp_eatHexDigits = function(state) {\n var start = state.pos;\n var ch = 0;\n state.lastIntValue = 0;\n while (isHexDigit(ch = state.current())) {\n state.lastIntValue = 16 * state.lastIntValue + hexToInt(ch);\n state.advance();\n }\n return state.pos !== start\n };\n function isHexDigit(ch) {\n return (\n (ch >= 0x30 /* 0 */ && ch <= 0x39 /* 9 */) ||\n (ch >= 0x41 /* A */ && ch <= 0x46 /* F */) ||\n (ch >= 0x61 /* a */ && ch <= 0x66 /* f */)\n )\n }\n function hexToInt(ch) {\n if (ch >= 0x41 /* A */ && ch <= 0x46 /* F */) {\n return 10 + (ch - 0x41 /* A */)\n }\n if (ch >= 0x61 /* a */ && ch <= 0x66 /* f */) {\n return 10 + (ch - 0x61 /* a */)\n }\n return ch - 0x30 /* 0 */\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-LegacyOctalEscapeSequence\n // Allows only 0-377(octal) i.e. 0-255(decimal).\n pp$1.regexp_eatLegacyOctalEscapeSequence = function(state) {\n if (this.regexp_eatOctalDigit(state)) {\n var n1 = state.lastIntValue;\n if (this.regexp_eatOctalDigit(state)) {\n var n2 = state.lastIntValue;\n if (n1 <= 3 && this.regexp_eatOctalDigit(state)) {\n state.lastIntValue = n1 * 64 + n2 * 8 + state.lastIntValue;\n } else {\n state.lastIntValue = n1 * 8 + n2;\n }\n } else {\n state.lastIntValue = n1;\n }\n return true\n }\n return false\n };\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-OctalDigit\n pp$1.regexp_eatOctalDigit = function(state) {\n var ch = state.current();\n if (isOctalDigit(ch)) {\n state.lastIntValue = ch - 0x30; /* 0 */\n state.advance();\n return true\n }\n state.lastIntValue = 0;\n return false\n };\n function isOctalDigit(ch) {\n return ch >= 0x30 /* 0 */ && ch <= 0x37 /* 7 */\n }\n\n // https://www.ecma-international.org/ecma-262/8.0/#prod-Hex4Digits\n // https://www.ecma-international.org/ecma-262/8.0/#prod-HexDigit\n // And HexDigit HexDigit in https://www.ecma-international.org/ecma-262/8.0/#prod-HexEscapeSequence\n pp$1.regexp_eatFixedHexDigits = function(state, length) {\n var start = state.pos;\n state.lastIntValue = 0;\n for (var i = 0; i < length; ++i) {\n var ch = state.current();\n if (!isHexDigit(ch)) {\n state.pos = start;\n return false\n }\n state.lastIntValue = 16 * state.lastIntValue + hexToInt(ch);\n state.advance();\n }\n return true\n };\n\n // Object type used to represent tokens. Note that normally, tokens\n // simply exist as properties on the parser object. This is only\n // used for the onToken callback and the external tokenizer.\n\n var Token = function Token(p) {\n this.type = p.type;\n this.value = p.value;\n this.start = p.start;\n this.end = p.end;\n if (p.options.locations)\n { this.loc = new SourceLocation(p, p.startLoc, p.endLoc); }\n if (p.options.ranges)\n { this.range = [p.start, p.end]; }\n };\n\n // ## Tokenizer\n\n var pp = Parser.prototype;\n\n // Move to the next token\n\n pp.next = function(ignoreEscapeSequenceInKeyword) {\n if (!ignoreEscapeSequenceInKeyword && this.type.keyword && this.containsEsc)\n { this.raiseRecoverable(this.start, \"Escape sequence in keyword \" + this.type.keyword); }\n if (this.options.onToken)\n { this.options.onToken(new Token(this)); }\n\n this.lastTokEnd = this.end;\n this.lastTokStart = this.start;\n this.lastTokEndLoc = this.endLoc;\n this.lastTokStartLoc = this.startLoc;\n this.nextToken();\n };\n\n pp.getToken = function() {\n this.next();\n return new Token(this)\n };\n\n // If we're in an ES6 environment, make parsers iterable\n if (typeof Symbol !== \"undefined\")\n { pp[Symbol.iterator] = function() {\n var this$1$1 = this;\n\n return {\n next: function () {\n var token = this$1$1.getToken();\n return {\n done: token.type === types$1.eof,\n value: token\n }\n }\n }\n }; }\n\n // Toggle strict mode. Re-reads the next number or string to please\n // pedantic tests (`\"use strict\"; 010;` should fail).\n\n // Read a single token, updating the parser object's token-related\n // properties.\n\n pp.nextToken = function() {\n var curContext = this.curContext();\n if (!curContext || !curContext.preserveSpace) { this.skipSpace(); }\n\n this.start = this.pos;\n if (this.options.locations) { this.startLoc = this.curPosition(); }\n if (this.pos >= this.input.length) { return this.finishToken(types$1.eof) }\n\n if (curContext.override) { return curContext.override(this) }\n else { this.readToken(this.fullCharCodeAtPos()); }\n };\n\n pp.readToken = function(code) {\n // Identifier or keyword. '\\uXXXX' sequences are allowed in\n // identifiers, so '\\' also dispatches to that.\n if (isIdentifierStart(code, this.options.ecmaVersion >= 6) || code === 92 /* '\\' */)\n { return this.readWord() }\n\n return this.getTokenFromCode(code)\n };\n\n pp.fullCharCodeAtPos = function() {\n var code = this.input.charCodeAt(this.pos);\n if (code <= 0xd7ff || code >= 0xdc00) { return code }\n var next = this.input.charCodeAt(this.pos + 1);\n return next <= 0xdbff || next >= 0xe000 ? code : (code << 10) + next - 0x35fdc00\n };\n\n pp.skipBlockComment = function() {\n var startLoc = this.options.onComment && this.curPosition();\n var start = this.pos, end = this.input.indexOf(\"*/\", this.pos += 2);\n if (end === -1) { this.raise(this.pos - 2, \"Unterminated comment\"); }\n this.pos = end + 2;\n if (this.options.locations) {\n for (var nextBreak = (void 0), pos = start; (nextBreak = nextLineBreak(this.input, pos, this.pos)) > -1;) {\n ++this.curLine;\n pos = this.lineStart = nextBreak;\n }\n }\n if (this.options.onComment)\n { this.options.onComment(true, this.input.slice(start + 2, end), start, this.pos,\n startLoc, this.curPosition()); }\n };\n\n pp.skipLineComment = function(startSkip) {\n var start = this.pos;\n var startLoc = this.options.onComment && this.curPosition();\n var ch = this.input.charCodeAt(this.pos += startSkip);\n while (this.pos < this.input.length && !isNewLine(ch)) {\n ch = this.input.charCodeAt(++this.pos);\n }\n if (this.options.onComment)\n { this.options.onComment(false, this.input.slice(start + startSkip, this.pos), start, this.pos,\n startLoc, this.curPosition()); }\n };\n\n // Called at the start of the parse and after every token. Skips\n // whitespace and comments, and.\n\n pp.skipSpace = function() {\n loop: while (this.pos < this.input.length) {\n var ch = this.input.charCodeAt(this.pos);\n switch (ch) {\n case 32: case 160: // ' '\n ++this.pos;\n break\n case 13:\n if (this.input.charCodeAt(this.pos + 1) === 10) {\n ++this.pos;\n }\n case 10: case 8232: case 8233:\n ++this.pos;\n if (this.options.locations) {\n ++this.curLine;\n this.lineStart = this.pos;\n }\n break\n case 47: // '/'\n switch (this.input.charCodeAt(this.pos + 1)) {\n case 42: // '*'\n this.skipBlockComment();\n break\n case 47:\n this.skipLineComment(2);\n break\n default:\n break loop\n }\n break\n default:\n if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {\n ++this.pos;\n } else {\n break loop\n }\n }\n }\n };\n\n // Called at the end of every token. Sets `end`, `val`, and\n // maintains `context` and `exprAllowed`, and skips the space after\n // the token, so that the next one's `start` will point at the\n // right position.\n\n pp.finishToken = function(type, val) {\n this.end = this.pos;\n if (this.options.locations) { this.endLoc = this.curPosition(); }\n var prevType = this.type;\n this.type = type;\n this.value = val;\n\n this.updateContext(prevType);\n };\n\n // ### Token reading\n\n // This is the function that is called to fetch the next token. It\n // is somewhat obscure, because it works in character codes rather\n // than characters, and because operator parsing has been inlined\n // into it.\n //\n // All in the name of speed.\n //\n pp.readToken_dot = function() {\n var next = this.input.charCodeAt(this.pos + 1);\n if (next >= 48 && next <= 57) { return this.readNumber(true) }\n var next2 = this.input.charCodeAt(this.pos + 2);\n if (this.options.ecmaVersion >= 6 && next === 46 && next2 === 46) { // 46 = dot '.'\n this.pos += 3;\n return this.finishToken(types$1.ellipsis)\n } else {\n ++this.pos;\n return this.finishToken(types$1.dot)\n }\n };\n\n pp.readToken_slash = function() { // '/'\n var next = this.input.charCodeAt(this.pos + 1);\n if (this.exprAllowed) { ++this.pos; return this.readRegexp() }\n if (next === 61) { return this.finishOp(types$1.assign, 2) }\n return this.finishOp(types$1.slash, 1)\n };\n\n pp.readToken_mult_modulo_exp = function(code) { // '%*'\n var next = this.input.charCodeAt(this.pos + 1);\n var size = 1;\n var tokentype = code === 42 ? types$1.star : types$1.modulo;\n\n // exponentiation operator ** and **=\n if (this.options.ecmaVersion >= 7 && code === 42 && next === 42) {\n ++size;\n tokentype = types$1.starstar;\n next = this.input.charCodeAt(this.pos + 2);\n }\n\n if (next === 61) { return this.finishOp(types$1.assign, size + 1) }\n return this.finishOp(tokentype, size)\n };\n\n pp.readToken_pipe_amp = function(code) { // '|&'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === code) {\n if (this.options.ecmaVersion >= 12) {\n var next2 = this.input.charCodeAt(this.pos + 2);\n if (next2 === 61) { return this.finishOp(types$1.assign, 3) }\n }\n return this.finishOp(code === 124 ? types$1.logicalOR : types$1.logicalAND, 2)\n }\n if (next === 61) { return this.finishOp(types$1.assign, 2) }\n return this.finishOp(code === 124 ? types$1.bitwiseOR : types$1.bitwiseAND, 1)\n };\n\n pp.readToken_caret = function() { // '^'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === 61) { return this.finishOp(types$1.assign, 2) }\n return this.finishOp(types$1.bitwiseXOR, 1)\n };\n\n pp.readToken_plus_min = function(code) { // '+-'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === code) {\n if (next === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 &&\n (this.lastTokEnd === 0 || lineBreak.test(this.input.slice(this.lastTokEnd, this.pos)))) {\n // A `-->` line comment\n this.skipLineComment(3);\n this.skipSpace();\n return this.nextToken()\n }\n return this.finishOp(types$1.incDec, 2)\n }\n if (next === 61) { return this.finishOp(types$1.assign, 2) }\n return this.finishOp(types$1.plusMin, 1)\n };\n\n pp.readToken_lt_gt = function(code) { // '<>'\n var next = this.input.charCodeAt(this.pos + 1);\n var size = 1;\n if (next === code) {\n size = code === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2;\n if (this.input.charCodeAt(this.pos + size) === 61) { return this.finishOp(types$1.assign, size + 1) }\n return this.finishOp(types$1.bitShift, size)\n }\n if (next === 33 && code === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 &&\n this.input.charCodeAt(this.pos + 3) === 45) {\n // `<!--`, an XML-style comment that should be interpreted as a line comment\n this.skipLineComment(4);\n this.skipSpace();\n return this.nextToken()\n }\n if (next === 61) { size = 2; }\n return this.finishOp(types$1.relational, size)\n };\n\n pp.readToken_eq_excl = function(code) { // '=!'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === 61) { return this.finishOp(types$1.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) }\n if (code === 61 && next === 62 && this.options.ecmaVersion >= 6) { // '=>'\n this.pos += 2;\n return this.finishToken(types$1.arrow)\n }\n return this.finishOp(code === 61 ? types$1.eq : types$1.prefix, 1)\n };\n\n pp.readToken_question = function() { // '?'\n var ecmaVersion = this.options.ecmaVersion;\n if (ecmaVersion >= 11) {\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === 46) {\n var next2 = this.input.charCodeAt(this.pos + 2);\n if (next2 < 48 || next2 > 57) { return this.finishOp(types$1.questionDot, 2) }\n }\n if (next === 63) {\n if (ecmaVersion >= 12) {\n var next2$1 = this.input.charCodeAt(this.pos + 2);\n if (next2$1 === 61) { return this.finishOp(types$1.assign, 3) }\n }\n return this.finishOp(types$1.coalesce, 2)\n }\n }\n return this.finishOp(types$1.question, 1)\n };\n\n pp.readToken_numberSign = function() { // '#'\n var ecmaVersion = this.options.ecmaVersion;\n var code = 35; // '#'\n if (ecmaVersion >= 13) {\n ++this.pos;\n code = this.fullCharCodeAtPos();\n if (isIdentifierStart(code, true) || code === 92 /* '\\' */) {\n return this.finishToken(types$1.privateId, this.readWord1())\n }\n }\n\n this.raise(this.pos, \"Unexpected character '\" + codePointToString(code) + \"'\");\n };\n\n pp.getTokenFromCode = function(code) {\n switch (code) {\n // The interpretation of a dot depends on whether it is followed\n // by a digit or another two dots.\n case 46: // '.'\n return this.readToken_dot()\n\n // Punctuation tokens.\n case 40: ++this.pos; return this.finishToken(types$1.parenL)\n case 41: ++this.pos; return this.finishToken(types$1.parenR)\n case 59: ++this.pos; return this.finishToken(types$1.semi)\n case 44: ++this.pos; return this.finishToken(types$1.comma)\n case 91: ++this.pos; return this.finishToken(types$1.bracketL)\n case 93: ++this.pos; return this.finishToken(types$1.bracketR)\n case 123: ++this.pos; return this.finishToken(types$1.braceL)\n case 125: ++this.pos; return this.finishToken(types$1.braceR)\n case 58: ++this.pos; return this.finishToken(types$1.colon)\n\n case 96: // '`'\n if (this.options.ecmaVersion < 6) { break }\n ++this.pos;\n return this.finishToken(types$1.backQuote)\n\n case 48: // '0'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === 120 || next === 88) { return this.readRadixNumber(16) } // '0x', '0X' - hex number\n if (this.options.ecmaVersion >= 6) {\n if (next === 111 || next === 79) { return this.readRadixNumber(8) } // '0o', '0O' - octal number\n if (next === 98 || next === 66) { return this.readRadixNumber(2) } // '0b', '0B' - binary number\n }\n\n // Anything else beginning with a digit is an integer, octal\n // number, or float.\n case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: // 1-9\n return this.readNumber(false)\n\n // Quotes produce strings.\n case 34: case 39: // '\"', \"'\"\n return this.readString(code)\n\n // Operators are parsed inline in tiny state machines. '=' (61) is\n // often referred to. `finishOp` simply skips the amount of\n // characters it is given as second argument, and returns a token\n // of the type given by its first argument.\n case 47: // '/'\n return this.readToken_slash()\n\n case 37: case 42: // '%*'\n return this.readToken_mult_modulo_exp(code)\n\n case 124: case 38: // '|&'\n return this.readToken_pipe_amp(code)\n\n case 94: // '^'\n return this.readToken_caret()\n\n case 43: case 45: // '+-'\n return this.readToken_plus_min(code)\n\n case 60: case 62: // '<>'\n return this.readToken_lt_gt(code)\n\n case 61: case 33: // '=!'\n return this.readToken_eq_excl(code)\n\n case 63: // '?'\n return this.readToken_question()\n\n case 126: // '~'\n return this.finishOp(types$1.prefix, 1)\n\n case 35: // '#'\n return this.readToken_numberSign()\n }\n\n this.raise(this.pos, \"Unexpected character '\" + codePointToString(code) + \"'\");\n };\n\n pp.finishOp = function(type, size) {\n var str = this.input.slice(this.pos, this.pos + size);\n this.pos += size;\n return this.finishToken(type, str)\n };\n\n pp.readRegexp = function() {\n var escaped, inClass, start = this.pos;\n for (;;) {\n if (this.pos >= this.input.length) { this.raise(start, \"Unterminated regular expression\"); }\n var ch = this.input.charAt(this.pos);\n if (lineBreak.test(ch)) { this.raise(start, \"Unterminated regular expression\"); }\n if (!escaped) {\n if (ch === \"[\") { inClass = true; }\n else if (ch === \"]\" && inClass) { inClass = false; }\n else if (ch === \"/\" && !inClass) { break }\n escaped = ch === \"\\\\\";\n } else { escaped = false; }\n ++this.pos;\n }\n var pattern = this.input.slice(start, this.pos);\n ++this.pos;\n var flagsStart = this.pos;\n var flags = this.readWord1();\n if (this.containsEsc) { this.unexpected(flagsStart); }\n\n // Validate pattern\n var state = this.regexpState || (this.regexpState = new RegExpValidationState(this));\n state.reset(start, pattern, flags);\n this.validateRegExpFlags(state);\n this.validateRegExpPattern(state);\n\n // Create Literal#value property value.\n var value = null;\n try {\n value = new RegExp(pattern, flags);\n } catch (e) {\n // ESTree requires null if it failed to instantiate RegExp object.\n // https://github.com/estree/estree/blob/a27003adf4fd7bfad44de9cef372a2eacd527b1c/es5.md#regexpliteral\n }\n\n return this.finishToken(types$1.regexp, {pattern: pattern, flags: flags, value: value})\n };\n\n // Read an integer in the given radix. Return null if zero digits\n // were read, the integer value otherwise. When `len` is given, this\n // will return `null` unless the integer has exactly `len` digits.\n\n pp.readInt = function(radix, len, maybeLegacyOctalNumericLiteral) {\n // `len` is used for character escape sequences. In that case, disallow separators.\n var allowSeparators = this.options.ecmaVersion >= 12 && len === undefined;\n\n // `maybeLegacyOctalNumericLiteral` is true if it doesn't have prefix (0x,0o,0b)\n // and isn't fraction part nor exponent part. In that case, if the first digit\n // is zero then disallow separators.\n var isLegacyOctalNumericLiteral = maybeLegacyOctalNumericLiteral && this.input.charCodeAt(this.pos) === 48;\n\n var start = this.pos, total = 0, lastCode = 0;\n for (var i = 0, e = len == null ? Infinity : len; i < e; ++i, ++this.pos) {\n var code = this.input.charCodeAt(this.pos), val = (void 0);\n\n if (allowSeparators && code === 95) {\n if (isLegacyOctalNumericLiteral) { this.raiseRecoverable(this.pos, \"Numeric separator is not allowed in legacy octal numeric literals\"); }\n if (lastCode === 95) { this.raiseRecoverable(this.pos, \"Numeric separator must be exactly one underscore\"); }\n if (i === 0) { this.raiseRecoverable(this.pos, \"Numeric separator is not allowed at the first of digits\"); }\n lastCode = code;\n continue\n }\n\n if (code >= 97) { val = code - 97 + 10; } // a\n else if (code >= 65) { val = code - 65 + 10; } // A\n else if (code >= 48 && code <= 57) { val = code - 48; } // 0-9\n else { val = Infinity; }\n if (val >= radix) { break }\n lastCode = code;\n total = total * radix + val;\n }\n\n if (allowSeparators && lastCode === 95) { this.raiseRecoverable(this.pos - 1, \"Numeric separator is not allowed at the last of digits\"); }\n if (this.pos === start || len != null && this.pos - start !== len) { return null }\n\n return total\n };\n\n function stringToNumber(str, isLegacyOctalNumericLiteral) {\n if (isLegacyOctalNumericLiteral) {\n return parseInt(str, 8)\n }\n\n // `parseFloat(value)` stops parsing at the first numeric separator then returns a wrong value.\n return parseFloat(str.replace(/_/g, \"\"))\n }\n\n function stringToBigInt(str) {\n if (typeof BigInt !== \"function\") {\n return null\n }\n\n // `BigInt(value)` throws syntax error if the string contains numeric separators.\n return BigInt(str.replace(/_/g, \"\"))\n }\n\n pp.readRadixNumber = function(radix) {\n var start = this.pos;\n this.pos += 2; // 0x\n var val = this.readInt(radix);\n if (val == null) { this.raise(this.start + 2, \"Expected number in radix \" + radix); }\n if (this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110) {\n val = stringToBigInt(this.input.slice(start, this.pos));\n ++this.pos;\n } else if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, \"Identifier directly after number\"); }\n return this.finishToken(types$1.num, val)\n };\n\n // Read an integer, octal integer, or floating-point number.\n\n pp.readNumber = function(startsWithDot) {\n var start = this.pos;\n if (!startsWithDot && this.readInt(10, undefined, true) === null) { this.raise(start, \"Invalid number\"); }\n var octal = this.pos - start >= 2 && this.input.charCodeAt(start) === 48;\n if (octal && this.strict) { this.raise(start, \"Invalid number\"); }\n var next = this.input.charCodeAt(this.pos);\n if (!octal && !startsWithDot && this.options.ecmaVersion >= 11 && next === 110) {\n var val$1 = stringToBigInt(this.input.slice(start, this.pos));\n ++this.pos;\n if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, \"Identifier directly after number\"); }\n return this.finishToken(types$1.num, val$1)\n }\n if (octal && /[89]/.test(this.input.slice(start, this.pos))) { octal = false; }\n if (next === 46 && !octal) { // '.'\n ++this.pos;\n this.readInt(10);\n next = this.input.charCodeAt(this.pos);\n }\n if ((next === 69 || next === 101) && !octal) { // 'eE'\n next = this.input.charCodeAt(++this.pos);\n if (next === 43 || next === 45) { ++this.pos; } // '+-'\n if (this.readInt(10) === null) { this.raise(start, \"Invalid number\"); }\n }\n if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, \"Identifier directly after number\"); }\n\n var val = stringToNumber(this.input.slice(start, this.pos), octal);\n return this.finishToken(types$1.num, val)\n };\n\n // Read a string value, interpreting backslash-escapes.\n\n pp.readCodePoint = function() {\n var ch = this.input.charCodeAt(this.pos), code;\n\n if (ch === 123) { // '{'\n if (this.options.ecmaVersion < 6) { this.unexpected(); }\n var codePos = ++this.pos;\n code = this.readHexChar(this.input.indexOf(\"}\", this.pos) - this.pos);\n ++this.pos;\n if (code > 0x10FFFF) { this.invalidStringToken(codePos, \"Code point out of bounds\"); }\n } else {\n code = this.readHexChar(4);\n }\n return code\n };\n\n pp.readString = function(quote) {\n var out = \"\", chunkStart = ++this.pos;\n for (;;) {\n if (this.pos >= this.input.length) { this.raise(this.start, \"Unterminated string constant\"); }\n var ch = this.input.charCodeAt(this.pos);\n if (ch === quote) { break }\n if (ch === 92) { // '\\'\n out += this.input.slice(chunkStart, this.pos);\n out += this.readEscapedChar(false);\n chunkStart = this.pos;\n } else if (ch === 0x2028 || ch === 0x2029) {\n if (this.options.ecmaVersion < 10) { this.raise(this.start, \"Unterminated string constant\"); }\n ++this.pos;\n if (this.options.locations) {\n this.curLine++;\n this.lineStart = this.pos;\n }\n } else {\n if (isNewLine(ch)) { this.raise(this.start, \"Unterminated string constant\"); }\n ++this.pos;\n }\n }\n out += this.input.slice(chunkStart, this.pos++);\n return this.finishToken(types$1.string, out)\n };\n\n // Reads template string tokens.\n\n var INVALID_TEMPLATE_ESCAPE_ERROR = {};\n\n pp.tryReadTemplateToken = function() {\n this.inTemplateElement = true;\n try {\n this.readTmplToken();\n } catch (err) {\n if (err === INVALID_TEMPLATE_ESCAPE_ERROR) {\n this.readInvalidTemplateToken();\n } else {\n throw err\n }\n }\n\n this.inTemplateElement = false;\n };\n\n pp.invalidStringToken = function(position, message) {\n if (this.inTemplateElement && this.options.ecmaVersion >= 9) {\n throw INVALID_TEMPLATE_ESCAPE_ERROR\n } else {\n this.raise(position, message);\n }\n };\n\n pp.readTmplToken = function() {\n var out = \"\", chunkStart = this.pos;\n for (;;) {\n if (this.pos >= this.input.length) { this.raise(this.start, \"Unterminated template\"); }\n var ch = this.input.charCodeAt(this.pos);\n if (ch === 96 || ch === 36 && this.input.charCodeAt(this.pos + 1) === 123) { // '`', '${'\n if (this.pos === this.start && (this.type === types$1.template || this.type === types$1.invalidTemplate)) {\n if (ch === 36) {\n this.pos += 2;\n return this.finishToken(types$1.dollarBraceL)\n } else {\n ++this.pos;\n return this.finishToken(types$1.backQuote)\n }\n }\n out += this.input.slice(chunkStart, this.pos);\n return this.finishToken(types$1.template, out)\n }\n if (ch === 92) { // '\\'\n out += this.input.slice(chunkStart, this.pos);\n out += this.readEscapedChar(true);\n chunkStart = this.pos;\n } else if (isNewLine(ch)) {\n out += this.input.slice(chunkStart, this.pos);\n ++this.pos;\n switch (ch) {\n case 13:\n if (this.input.charCodeAt(this.pos) === 10) { ++this.pos; }\n case 10:\n out += \"\\n\";\n break\n default:\n out += String.fromCharCode(ch);\n break\n }\n if (this.options.locations) {\n ++this.curLine;\n this.lineStart = this.pos;\n }\n chunkStart = this.pos;\n } else {\n ++this.pos;\n }\n }\n };\n\n // Reads a template token to search for the end, without validating any escape sequences\n pp.readInvalidTemplateToken = function() {\n for (; this.pos < this.input.length; this.pos++) {\n switch (this.input[this.pos]) {\n case \"\\\\\":\n ++this.pos;\n break\n\n case \"$\":\n if (this.input[this.pos + 1] !== \"{\") {\n break\n }\n\n // falls through\n case \"`\":\n return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos))\n\n // no default\n }\n }\n this.raise(this.start, \"Unterminated template\");\n };\n\n // Used to read escaped characters\n\n pp.readEscapedChar = function(inTemplate) {\n var ch = this.input.charCodeAt(++this.pos);\n ++this.pos;\n switch (ch) {\n case 110: return \"\\n\" // 'n' -> '\\n'\n case 114: return \"\\r\" // 'r' -> '\\r'\n case 120: return String.fromCharCode(this.readHexChar(2)) // 'x'\n case 117: return codePointToString(this.readCodePoint()) // 'u'\n case 116: return \"\\t\" // 't' -> '\\t'\n case 98: return \"\\b\" // 'b' -> '\\b'\n case 118: return \"\\u000b\" // 'v' -> '\\u000b'\n case 102: return \"\\f\" // 'f' -> '\\f'\n case 13: if (this.input.charCodeAt(this.pos) === 10) { ++this.pos; } // '\\r\\n'\n case 10: // ' \\n'\n if (this.options.locations) { this.lineStart = this.pos; ++this.curLine; }\n return \"\"\n case 56:\n case 57:\n if (this.strict) {\n this.invalidStringToken(\n this.pos - 1,\n \"Invalid escape sequence\"\n );\n }\n if (inTemplate) {\n var codePos = this.pos - 1;\n\n this.invalidStringToken(\n codePos,\n \"Invalid escape sequence in template string\"\n );\n }\n default:\n if (ch >= 48 && ch <= 55) {\n var octalStr = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0];\n var octal = parseInt(octalStr, 8);\n if (octal > 255) {\n octalStr = octalStr.slice(0, -1);\n octal = parseInt(octalStr, 8);\n }\n this.pos += octalStr.length - 1;\n ch = this.input.charCodeAt(this.pos);\n if ((octalStr !== \"0\" || ch === 56 || ch === 57) && (this.strict || inTemplate)) {\n this.invalidStringToken(\n this.pos - 1 - octalStr.length,\n inTemplate\n ? \"Octal literal in template string\"\n : \"Octal literal in strict mode\"\n );\n }\n return String.fromCharCode(octal)\n }\n if (isNewLine(ch)) {\n // Unicode new line characters after \\ get removed from output in both\n // template literals and strings\n return \"\"\n }\n return String.fromCharCode(ch)\n }\n };\n\n // Used to read character escape sequences ('\\x', '\\u', '\\U').\n\n pp.readHexChar = function(len) {\n var codePos = this.pos;\n var n = this.readInt(16, len);\n if (n === null) { this.invalidStringToken(codePos, \"Bad character escape sequence\"); }\n return n\n };\n\n // Read an identifier, and return it as a string. Sets `this.containsEsc`\n // to whether the word contained a '\\u' escape.\n //\n // Incrementally adds only escaped chars, adding other chunks as-is\n // as a micro-optimization.\n\n pp.readWord1 = function() {\n this.containsEsc = false;\n var word = \"\", first = true, chunkStart = this.pos;\n var astral = this.options.ecmaVersion >= 6;\n while (this.pos < this.input.length) {\n var ch = this.fullCharCodeAtPos();\n if (isIdentifierChar(ch, astral)) {\n this.pos += ch <= 0xffff ? 1 : 2;\n } else if (ch === 92) { // \"\\\"\n this.containsEsc = true;\n word += this.input.slice(chunkStart, this.pos);\n var escStart = this.pos;\n if (this.input.charCodeAt(++this.pos) !== 117) // \"u\"\n { this.invalidStringToken(this.pos, \"Expecting Unicode escape sequence \\\\uXXXX\"); }\n ++this.pos;\n var esc = this.readCodePoint();\n if (!(first ? isIdentifierStart : isIdentifierChar)(esc, astral))\n { this.invalidStringToken(escStart, \"Invalid Unicode escape\"); }\n word += codePointToString(esc);\n chunkStart = this.pos;\n } else {\n break\n }\n first = false;\n }\n return word + this.input.slice(chunkStart, this.pos)\n };\n\n // Read an identifier or keyword token. Will check for reserved\n // words when necessary.\n\n pp.readWord = function() {\n var word = this.readWord1();\n var type = types$1.name;\n if (this.keywords.test(word)) {\n type = keywords[word];\n }\n return this.finishToken(type, word)\n };\n\n // Acorn is a tiny, fast JavaScript parser written in JavaScript.\n\n var version = \"8.8.2\";\n\n Parser.acorn = {\n Parser: Parser,\n version: version,\n defaultOptions: defaultOptions,\n Position: Position,\n SourceLocation: SourceLocation,\n getLineInfo: getLineInfo,\n Node: Node,\n TokenType: TokenType,\n tokTypes: types$1,\n keywordTypes: keywords,\n TokContext: TokContext,\n tokContexts: types,\n isIdentifierChar: isIdentifierChar,\n isIdentifierStart: isIdentifierStart,\n Token: Token,\n isNewLine: isNewLine,\n lineBreak: lineBreak,\n lineBreakG: lineBreakG,\n nonASCIIwhitespace: nonASCIIwhitespace\n };\n\n // The main exported interface (under `self.acorn` when in the\n // browser) is a `parse` function that takes a code string and\n // returns an abstract syntax tree as specified by [Mozilla parser\n // API][api].\n //\n // [api]: https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API\n\n function parse(input, options) {\n return Parser.parse(input, options)\n }\n\n // This function tries to parse a single expression at a given\n // offset in a string. Useful for parsing mixed-language formats\n // that embed JavaScript expressions.\n\n function parseExpressionAt(input, pos, options) {\n return Parser.parseExpressionAt(input, pos, options)\n }\n\n // Acorn is organized as a tokenizer and a recursive-descent parser.\n // The `tokenizer` export provides an interface to the tokenizer.\n\n function tokenizer(input, options) {\n return Parser.tokenizer(input, options)\n }\n\n exports.Node = Node;\n exports.Parser = Parser;\n exports.Position = Position;\n exports.SourceLocation = SourceLocation;\n exports.TokContext = TokContext;\n exports.Token = Token;\n exports.TokenType = TokenType;\n exports.defaultOptions = defaultOptions;\n exports.getLineInfo = getLineInfo;\n exports.isIdentifierChar = isIdentifierChar;\n exports.isIdentifierStart = isIdentifierStart;\n exports.isNewLine = isNewLine;\n exports.keywordTypes = keywords;\n exports.lineBreak = lineBreak;\n exports.lineBreakG = lineBreakG;\n exports.nonASCIIwhitespace = nonASCIIwhitespace;\n exports.parse = parse;\n exports.parseExpressionAt = parseExpressionAt;\n exports.tokContexts = types;\n exports.tokTypes = types$1;\n exports.tokenizer = tokenizer;\n exports.version = version;\n\n}));\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/acorn/dist/acorn.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/index.js": /*!********************************************!*\ !*** ./node_modules/ajv-keywords/index.js ***! \********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar KEYWORDS = __webpack_require__(/*! ./keywords */ \"./node_modules/ajv-keywords/keywords/index.js\");\n\nmodule.exports = defineKeywords;\n\n\n/**\n * Defines one or several keywords in ajv instance\n * @param {Ajv} ajv validator instance\n * @param {String|Array<String>|undefined} keyword keyword(s) to define\n * @return {Ajv} ajv instance (for chaining)\n */\nfunction defineKeywords(ajv, keyword) {\n if (Array.isArray(keyword)) {\n for (var i=0; i<keyword.length; i++)\n get(keyword[i])(ajv);\n return ajv;\n }\n if (keyword) {\n get(keyword)(ajv);\n return ajv;\n }\n for (keyword in KEYWORDS) get(keyword)(ajv);\n return ajv;\n}\n\n\ndefineKeywords.get = get;\n\nfunction get(keyword) {\n var defFunc = KEYWORDS[keyword];\n if (!defFunc) throw new Error('Unknown keyword ' + keyword);\n return defFunc;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/index.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/_formatLimit.js": /*!************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/_formatLimit.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar TIME = /^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d:\\d\\d)?$/i;\nvar DATE_TIME_SEPARATOR = /t|\\s/i;\n\nvar COMPARE_FORMATS = {\n date: compareDate,\n time: compareTime,\n 'date-time': compareDateTime\n};\n\nvar $dataMetaSchema = {\n type: 'object',\n required: [ '$data' ],\n properties: {\n $data: {\n type: 'string',\n anyOf: [\n { format: 'relative-json-pointer' },\n { format: 'json-pointer' }\n ]\n }\n },\n additionalProperties: false\n};\n\nmodule.exports = function (minMax) {\n var keyword = 'format' + minMax;\n return function defFunc(ajv) {\n defFunc.definition = {\n type: 'string',\n inline: __webpack_require__(/*! ./dotjs/_formatLimit */ \"./node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js\"),\n statements: true,\n errors: 'full',\n dependencies: ['format'],\n metaSchema: {\n anyOf: [\n {type: 'string'},\n $dataMetaSchema\n ]\n }\n };\n\n ajv.addKeyword(keyword, defFunc.definition);\n ajv.addKeyword('formatExclusive' + minMax, {\n dependencies: ['format' + minMax],\n metaSchema: {\n anyOf: [\n {type: 'boolean'},\n $dataMetaSchema\n ]\n }\n });\n extendFormats(ajv);\n return ajv;\n };\n};\n\n\nfunction extendFormats(ajv) {\n var formats = ajv._formats;\n for (var name in COMPARE_FORMATS) {\n var format = formats[name];\n // the last condition is needed if it's RegExp from another window\n if (typeof format != 'object' || format instanceof RegExp || !format.validate)\n format = formats[name] = { validate: format };\n if (!format.compare)\n format.compare = COMPARE_FORMATS[name];\n }\n}\n\n\nfunction compareDate(d1, d2) {\n if (!(d1 && d2)) return;\n if (d1 > d2) return 1;\n if (d1 < d2) return -1;\n if (d1 === d2) return 0;\n}\n\n\nfunction compareTime(t1, t2) {\n if (!(t1 && t2)) return;\n t1 = t1.match(TIME);\n t2 = t2.match(TIME);\n if (!(t1 && t2)) return;\n t1 = t1[1] + t1[2] + t1[3] + (t1[4]||'');\n t2 = t2[1] + t2[2] + t2[3] + (t2[4]||'');\n if (t1 > t2) return 1;\n if (t1 < t2) return -1;\n if (t1 === t2) return 0;\n}\n\n\nfunction compareDateTime(dt1, dt2) {\n if (!(dt1 && dt2)) return;\n dt1 = dt1.split(DATE_TIME_SEPARATOR);\n dt2 = dt2.split(DATE_TIME_SEPARATOR);\n var res = compareDate(dt1[0], dt2[0]);\n if (res === undefined) return;\n return res || compareTime(dt1[1], dt2[1]);\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/_formatLimit.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/_util.js": /*!*****************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/_util.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = {\n metaSchemaRef: metaSchemaRef\n};\n\nvar META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema';\n\nfunction metaSchemaRef(ajv) {\n var defaultMeta = ajv._opts.defaultMeta;\n if (typeof defaultMeta == 'string') return { $ref: defaultMeta };\n if (ajv.getSchema(META_SCHEMA_ID)) return { $ref: META_SCHEMA_ID };\n console.warn('meta schema not defined');\n return {};\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/_util.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/allRequired.js": /*!***********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/allRequired.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n macro: function (schema, parentSchema) {\n if (!schema) return true;\n var properties = Object.keys(parentSchema.properties);\n if (properties.length == 0) return true;\n return {required: properties};\n },\n metaSchema: {type: 'boolean'},\n dependencies: ['properties']\n };\n\n ajv.addKeyword('allRequired', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/allRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/anyRequired.js": /*!***********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/anyRequired.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n macro: function (schema) {\n if (schema.length == 0) return true;\n if (schema.length == 1) return {required: schema};\n var schemas = schema.map(function (prop) {\n return {required: [prop]};\n });\n return {anyOf: schemas};\n },\n metaSchema: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n };\n\n ajv.addKeyword('anyRequired', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/anyRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/deepProperties.js": /*!**************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/deepProperties.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar util = __webpack_require__(/*! ./_util */ \"./node_modules/ajv-keywords/keywords/_util.js\");\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n macro: function (schema) {\n var schemas = [];\n for (var pointer in schema)\n schemas.push(getSchema(pointer, schema[pointer]));\n return {'allOf': schemas};\n },\n metaSchema: {\n type: 'object',\n propertyNames: {\n type: 'string',\n format: 'json-pointer'\n },\n additionalProperties: util.metaSchemaRef(ajv)\n }\n };\n\n ajv.addKeyword('deepProperties', defFunc.definition);\n return ajv;\n};\n\n\nfunction getSchema(jsonPointer, schema) {\n var segments = jsonPointer.split('/');\n var rootSchema = {};\n var pointerSchema = rootSchema;\n for (var i=1; i<segments.length; i++) {\n var segment = segments[i];\n var isLast = i == segments.length - 1;\n segment = unescapeJsonPointer(segment);\n var properties = pointerSchema.properties = {};\n var items = undefined;\n if (/[0-9]+/.test(segment)) {\n var count = +segment;\n items = pointerSchema.items = [];\n while (count--) items.push({});\n }\n pointerSchema = isLast ? schema : {};\n properties[segment] = pointerSchema;\n if (items) items.push(pointerSchema);\n }\n return rootSchema;\n}\n\n\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/deepProperties.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/deepRequired.js": /*!************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/deepRequired.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n inline: function (it, keyword, schema) {\n var expr = '';\n for (var i=0; i<schema.length; i++) {\n if (i) expr += ' && ';\n expr += '(' + getData(schema[i], it.dataLevel) + ' !== undefined)';\n }\n return expr;\n },\n metaSchema: {\n type: 'array',\n items: {\n type: 'string',\n format: 'json-pointer'\n }\n }\n };\n\n ajv.addKeyword('deepRequired', defFunc.definition);\n return ajv;\n};\n\n\nfunction getData(jsonPointer, lvl) {\n var data = 'data' + (lvl || '');\n if (!jsonPointer) return data;\n\n var expr = data;\n var segments = jsonPointer.split('/');\n for (var i=1; i<segments.length; i++) {\n var segment = segments[i];\n data += getProperty(unescapeJsonPointer(segment));\n expr += ' && ' + data;\n }\n return expr;\n}\n\n\nvar IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;\nvar INTEGER = /^[0-9]+$/;\nvar SINGLE_QUOTE = /'|\\\\/g;\nfunction getProperty(key) {\n return INTEGER.test(key)\n ? '[' + key + ']'\n : IDENTIFIER.test(key)\n ? '.' + key\n : \"['\" + key.replace(SINGLE_QUOTE, '\\\\$&') + \"']\";\n}\n\n\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/deepRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js": /*!******************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js ***! \******************************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate__formatLimit(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n out += 'var ' + ($valid) + ' = undefined;';\n if (it.opts.format === false) {\n out += ' ' + ($valid) + ' = true; ';\n return out;\n }\n var $schemaFormat = it.schema.format,\n $isDataFormat = it.opts.$data && $schemaFormat.$data,\n $closingBraces = '';\n if ($isDataFormat) {\n var $schemaValueFormat = it.util.getData($schemaFormat.$data, $dataLvl, it.dataPathArr),\n $format = 'format' + $lvl,\n $compare = 'compare' + $lvl;\n out += ' var ' + ($format) + ' = formats[' + ($schemaValueFormat) + '] , ' + ($compare) + ' = ' + ($format) + ' && ' + ($format) + '.compare;';\n } else {\n var $format = it.formats[$schemaFormat];\n if (!($format && $format.compare)) {\n out += ' ' + ($valid) + ' = true; ';\n return out;\n }\n var $compare = 'formats' + it.util.getProperty($schemaFormat) + '.compare';\n }\n var $isMax = $keyword == 'formatMaximum',\n $exclusiveKeyword = 'formatExclusive' + ($isMax ? 'Maximum' : 'Minimum'),\n $schemaExcl = it.schema[$exclusiveKeyword],\n $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data,\n $op = $isMax ? '<' : '>',\n $result = 'result' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if ($isDataExcl) {\n var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr),\n $exclusive = 'exclusive' + $lvl,\n $opExpr = 'op' + $lvl,\n $opStr = '\\' + ' + $opExpr + ' + \\'';\n out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; ';\n $schemaValueExcl = 'schemaExcl' + $lvl;\n out += ' if (typeof ' + ($schemaValueExcl) + ' != \\'boolean\\' && ' + ($schemaValueExcl) + ' !== undefined) { ' + ($valid) + ' = false; ';\n var $errorKeyword = $exclusiveKeyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_formatExclusiveLimit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'' + ($exclusiveKeyword) + ' should be boolean\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n if ($isData) {\n out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \\'string\\') ' + ($valid) + ' = false; else { ';\n $closingBraces += '}';\n }\n if ($isDataFormat) {\n out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { ';\n $closingBraces += '}';\n }\n out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ', ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; var ' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true; if (' + ($valid) + ' === undefined) { ' + ($valid) + ' = ' + ($exclusive) + ' ? ' + ($result) + ' ' + ($op) + ' 0 : ' + ($result) + ' ' + ($op) + '= 0; } if (!' + ($valid) + ') var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \\'' + ($op) + '\\' : \\'' + ($op) + '=\\';';\n } else {\n var $exclusive = $schemaExcl === true,\n $opStr = $op;\n if (!$exclusive) $opStr += '=';\n var $opExpr = '\\'' + $opStr + '\\'';\n if ($isData) {\n out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \\'string\\') ' + ($valid) + ' = false; else { ';\n $closingBraces += '}';\n }\n if ($isDataFormat) {\n out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { ';\n $closingBraces += '}';\n }\n out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ', ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; if (' + ($valid) + ' === undefined) ' + ($valid) + ' = ' + ($result) + ' ' + ($op);\n if (!$exclusive) {\n out += '=';\n }\n out += ' 0;';\n }\n out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_formatLimit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , exclusive: ' + ($exclusive) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ' + ($opStr) + ' \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '}';\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/dotjs/patternRequired.js": /*!*********************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/dotjs/patternRequired.js ***! \*********************************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_patternRequired(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $matched = 'patternMatched' + $lvl,\n $dataProperties = 'dataProperties' + $lvl,\n $closingBraces = '',\n $ownProperties = it.opts.ownProperties;\n out += 'var ' + ($valid) + ' = true;';\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined;';\n }\n var arr1 = $schema;\n if (arr1) {\n var $pProperty, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $pProperty = arr1[i1 += 1];\n out += ' var ' + ($matched) + ' = false; ';\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' ' + ($matched) + ' = ' + (it.usePattern($pProperty)) + '.test(' + ($key) + '); if (' + ($matched) + ') break; } ';\n var $missingPattern = it.util.escapeQuotes($pProperty);\n out += ' if (!' + ($matched) + ') { ' + ($valid) + ' = false; var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('patternRequired') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingPattern: \\'' + ($missingPattern) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have property matching pattern \\\\\\'' + ($missingPattern) + '\\\\\\'\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n }\n out += '' + ($closingBraces);\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/dotjs/patternRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/dotjs/switch.js": /*!************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/dotjs/switch.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_switch(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $ifPassed = 'ifPassed' + it.level,\n $currentBaseId = $it.baseId,\n $shouldContinue;\n out += 'var ' + ($ifPassed) + ';';\n var arr1 = $schema;\n if (arr1) {\n var $sch, $caseIndex = -1,\n l1 = arr1.length - 1;\n while ($caseIndex < l1) {\n $sch = arr1[$caseIndex += 1];\n if ($caseIndex && !$shouldContinue) {\n out += ' if (!' + ($ifPassed) + ') { ';\n $closingBraces += '}';\n }\n if ($sch.if && (it.opts.strictKeywords ? typeof $sch.if == 'object' && Object.keys($sch.if).length > 0 : it.util.schemaHasRules($sch.if, it.RULES.all))) {\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.createErrors = false;\n $it.schema = $sch.if;\n $it.schemaPath = $schemaPath + '[' + $caseIndex + '].if';\n $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/if';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n $it.createErrors = true;\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($ifPassed) + ' = ' + ($nextValid) + '; if (' + ($ifPassed) + ') { ';\n if (typeof $sch.then == 'boolean') {\n if ($sch.then === false) {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('switch') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"switch\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n }\n out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; ';\n } else {\n $it.schema = $sch.then;\n $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then';\n $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } } ';\n } else {\n out += ' ' + ($ifPassed) + ' = true; ';\n if (typeof $sch.then == 'boolean') {\n if ($sch.then === false) {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('switch') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"switch\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n }\n out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; ';\n } else {\n $it.schema = $sch.then;\n $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then';\n $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n }\n }\n $shouldContinue = $sch.continue\n }\n }\n out += '' + ($closingBraces) + 'var ' + ($valid) + ' = ' + ($nextValid) + ';';\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/dotjs/switch.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/dynamicDefaults.js": /*!***************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/dynamicDefaults.js ***! \***************************************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar sequences = {};\n\nvar DEFAULTS = {\n timestamp: function() { return Date.now(); },\n datetime: function() { return (new Date).toISOString(); },\n date: function() { return (new Date).toISOString().slice(0, 10); },\n time: function() { return (new Date).toISOString().slice(11); },\n random: function() { return Math.random(); },\n randomint: function (args) {\n var limit = args && args.max || 2;\n return function() { return Math.floor(Math.random() * limit); };\n },\n seq: function (args) {\n var name = args && args.name || '';\n sequences[name] = sequences[name] || 0;\n return function() { return sequences[name]++; };\n }\n};\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n compile: function (schema, parentSchema, it) {\n var funcs = {};\n\n for (var key in schema) {\n var d = schema[key];\n var func = getDefault(typeof d == 'string' ? d : d.func);\n funcs[key] = func.length ? func(d.args) : func;\n }\n\n return it.opts.useDefaults && !it.compositeRule\n ? assignDefaults\n : noop;\n\n function assignDefaults(data) {\n for (var prop in schema){\n if (data[prop] === undefined\n || (it.opts.useDefaults == 'empty'\n && (data[prop] === null || data[prop] === '')))\n data[prop] = funcs[prop]();\n }\n return true;\n }\n\n function noop() { return true; }\n },\n DEFAULTS: DEFAULTS,\n metaSchema: {\n type: 'object',\n additionalProperties: {\n type: ['string', 'object'],\n additionalProperties: false,\n required: ['func', 'args'],\n properties: {\n func: { type: 'string' },\n args: { type: 'object' }\n }\n }\n }\n };\n\n ajv.addKeyword('dynamicDefaults', defFunc.definition);\n return ajv;\n\n function getDefault(d) {\n var def = DEFAULTS[d];\n if (def) return def;\n throw new Error('invalid \"dynamicDefaults\" keyword property value: ' + d);\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/dynamicDefaults.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/formatMaximum.js": /*!*************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/formatMaximum.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nmodule.exports = __webpack_require__(/*! ./_formatLimit */ \"./node_modules/ajv-keywords/keywords/_formatLimit.js\")('Maximum');\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/formatMaximum.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/formatMinimum.js": /*!*************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/formatMinimum.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nmodule.exports = __webpack_require__(/*! ./_formatLimit */ \"./node_modules/ajv-keywords/keywords/_formatLimit.js\")('Minimum');\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/formatMinimum.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/index.js": /*!*****************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/index.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nmodule.exports = {\n 'instanceof': __webpack_require__(/*! ./instanceof */ \"./node_modules/ajv-keywords/keywords/instanceof.js\"),\n range: __webpack_require__(/*! ./range */ \"./node_modules/ajv-keywords/keywords/range.js\"),\n regexp: __webpack_require__(/*! ./regexp */ \"./node_modules/ajv-keywords/keywords/regexp.js\"),\n 'typeof': __webpack_require__(/*! ./typeof */ \"./node_modules/ajv-keywords/keywords/typeof.js\"),\n dynamicDefaults: __webpack_require__(/*! ./dynamicDefaults */ \"./node_modules/ajv-keywords/keywords/dynamicDefaults.js\"),\n allRequired: __webpack_require__(/*! ./allRequired */ \"./node_modules/ajv-keywords/keywords/allRequired.js\"),\n anyRequired: __webpack_require__(/*! ./anyRequired */ \"./node_modules/ajv-keywords/keywords/anyRequired.js\"),\n oneRequired: __webpack_require__(/*! ./oneRequired */ \"./node_modules/ajv-keywords/keywords/oneRequired.js\"),\n prohibited: __webpack_require__(/*! ./prohibited */ \"./node_modules/ajv-keywords/keywords/prohibited.js\"),\n uniqueItemProperties: __webpack_require__(/*! ./uniqueItemProperties */ \"./node_modules/ajv-keywords/keywords/uniqueItemProperties.js\"),\n deepProperties: __webpack_require__(/*! ./deepProperties */ \"./node_modules/ajv-keywords/keywords/deepProperties.js\"),\n deepRequired: __webpack_require__(/*! ./deepRequired */ \"./node_modules/ajv-keywords/keywords/deepRequired.js\"),\n formatMinimum: __webpack_require__(/*! ./formatMinimum */ \"./node_modules/ajv-keywords/keywords/formatMinimum.js\"),\n formatMaximum: __webpack_require__(/*! ./formatMaximum */ \"./node_modules/ajv-keywords/keywords/formatMaximum.js\"),\n patternRequired: __webpack_require__(/*! ./patternRequired */ \"./node_modules/ajv-keywords/keywords/patternRequired.js\"),\n 'switch': __webpack_require__(/*! ./switch */ \"./node_modules/ajv-keywords/keywords/switch.js\"),\n select: __webpack_require__(/*! ./select */ \"./node_modules/ajv-keywords/keywords/select.js\"),\n transform: __webpack_require__(/*! ./transform */ \"./node_modules/ajv-keywords/keywords/transform.js\")\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/index.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/instanceof.js": /*!**********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/instanceof.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar CONSTRUCTORS = {\n Object: Object,\n Array: Array,\n Function: Function,\n Number: Number,\n String: String,\n Date: Date,\n RegExp: RegExp\n};\n\nmodule.exports = function defFunc(ajv) {\n /* istanbul ignore else */\n if (typeof Buffer != 'undefined')\n CONSTRUCTORS.Buffer = Buffer;\n\n /* istanbul ignore else */\n if (typeof Promise != 'undefined')\n CONSTRUCTORS.Promise = Promise;\n\n defFunc.definition = {\n compile: function (schema) {\n if (typeof schema == 'string') {\n var Constructor = getConstructor(schema);\n return function (data) {\n return data instanceof Constructor;\n };\n }\n\n var constructors = schema.map(getConstructor);\n return function (data) {\n for (var i=0; i<constructors.length; i++)\n if (data instanceof constructors[i]) return true;\n return false;\n };\n },\n CONSTRUCTORS: CONSTRUCTORS,\n metaSchema: {\n anyOf: [\n { type: 'string' },\n {\n type: 'array',\n items: { type: 'string' }\n }\n ]\n }\n };\n\n ajv.addKeyword('instanceof', defFunc.definition);\n return ajv;\n\n function getConstructor(c) {\n var Constructor = CONSTRUCTORS[c];\n if (Constructor) return Constructor;\n throw new Error('invalid \"instanceof\" keyword value ' + c);\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/instanceof.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/oneRequired.js": /*!***********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/oneRequired.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n macro: function (schema) {\n if (schema.length == 0) return true;\n if (schema.length == 1) return {required: schema};\n var schemas = schema.map(function (prop) {\n return {required: [prop]};\n });\n return {oneOf: schemas};\n },\n metaSchema: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n };\n\n ajv.addKeyword('oneRequired', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/oneRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/patternRequired.js": /*!***************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/patternRequired.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n inline: __webpack_require__(/*! ./dotjs/patternRequired */ \"./node_modules/ajv-keywords/keywords/dotjs/patternRequired.js\"),\n statements: true,\n errors: 'full',\n metaSchema: {\n type: 'array',\n items: {\n type: 'string',\n format: 'regex'\n },\n uniqueItems: true\n }\n };\n\n ajv.addKeyword('patternRequired', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/patternRequired.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/prohibited.js": /*!**********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/prohibited.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'object',\n macro: function (schema) {\n if (schema.length == 0) return true;\n if (schema.length == 1) return {not: {required: schema}};\n var schemas = schema.map(function (prop) {\n return {required: [prop]};\n });\n return {not: {anyOf: schemas}};\n },\n metaSchema: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n };\n\n ajv.addKeyword('prohibited', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/prohibited.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/range.js": /*!*****************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/range.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'number',\n macro: function (schema, parentSchema) {\n var min = schema[0]\n , max = schema[1]\n , exclusive = parentSchema.exclusiveRange;\n\n validateRangeSchema(min, max, exclusive);\n\n return exclusive === true\n ? {exclusiveMinimum: min, exclusiveMaximum: max}\n : {minimum: min, maximum: max};\n },\n metaSchema: {\n type: 'array',\n minItems: 2,\n maxItems: 2,\n items: { type: 'number' }\n }\n };\n\n ajv.addKeyword('range', defFunc.definition);\n ajv.addKeyword('exclusiveRange');\n return ajv;\n\n function validateRangeSchema(min, max, exclusive) {\n if (exclusive !== undefined && typeof exclusive != 'boolean')\n throw new Error('Invalid schema for exclusiveRange keyword, should be boolean');\n\n if (min > max || (exclusive && min == max))\n throw new Error('There are no numbers in range');\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/range.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/regexp.js": /*!******************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/regexp.js ***! \******************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'string',\n inline: function (it, keyword, schema) {\n return getRegExp() + '.test(data' + (it.dataLevel || '') + ')';\n\n function getRegExp() {\n try {\n if (typeof schema == 'object')\n return new RegExp(schema.pattern, schema.flags);\n\n var rx = schema.match(/^\\/(.*)\\/([gimuy]*)$/);\n if (rx) return new RegExp(rx[1], rx[2]);\n throw new Error('cannot parse string into RegExp');\n } catch(e) {\n console.error('regular expression', schema, 'is invalid');\n throw e;\n }\n }\n },\n metaSchema: {\n type: ['string', 'object'],\n properties: {\n pattern: { type: 'string' },\n flags: { type: 'string' }\n },\n required: ['pattern'],\n additionalProperties: false\n }\n };\n\n ajv.addKeyword('regexp', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/regexp.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/select.js": /*!******************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/select.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar util = __webpack_require__(/*! ./_util */ \"./node_modules/ajv-keywords/keywords/_util.js\");\n\nmodule.exports = function defFunc(ajv) {\n if (!ajv._opts.$data) {\n console.warn('keyword select requires $data option');\n return ajv;\n }\n var metaSchemaRef = util.metaSchemaRef(ajv);\n var compiledCaseSchemas = [];\n\n defFunc.definition = {\n validate: function v(schema, data, parentSchema) {\n if (parentSchema.selectCases === undefined)\n throw new Error('keyword \"selectCases\" is absent');\n var compiled = getCompiledSchemas(parentSchema, false);\n var validate = compiled.cases[schema];\n if (validate === undefined) validate = compiled.default;\n if (typeof validate == 'boolean') return validate;\n var valid = validate(data);\n if (!valid) v.errors = validate.errors;\n return valid;\n },\n $data: true,\n metaSchema: { type: ['string', 'number', 'boolean', 'null'] }\n };\n\n ajv.addKeyword('select', defFunc.definition);\n ajv.addKeyword('selectCases', {\n compile: function (schemas, parentSchema) {\n var compiled = getCompiledSchemas(parentSchema);\n for (var value in schemas)\n compiled.cases[value] = compileOrBoolean(schemas[value]);\n return function() { return true; };\n },\n valid: true,\n metaSchema: {\n type: 'object',\n additionalProperties: metaSchemaRef\n }\n });\n ajv.addKeyword('selectDefault', {\n compile: function (schema, parentSchema) {\n var compiled = getCompiledSchemas(parentSchema);\n compiled.default = compileOrBoolean(schema);\n return function() { return true; };\n },\n valid: true,\n metaSchema: metaSchemaRef\n });\n return ajv;\n\n\n function getCompiledSchemas(parentSchema, create) {\n var compiled;\n compiledCaseSchemas.some(function (c) {\n if (c.parentSchema === parentSchema) {\n compiled = c;\n return true;\n }\n });\n if (!compiled && create !== false) {\n compiled = {\n parentSchema: parentSchema,\n cases: {},\n default: true\n };\n compiledCaseSchemas.push(compiled);\n }\n return compiled;\n }\n\n function compileOrBoolean(schema) {\n return typeof schema == 'boolean'\n ? schema\n : ajv.compile(schema);\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/select.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/switch.js": /*!******************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/switch.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar util = __webpack_require__(/*! ./_util */ \"./node_modules/ajv-keywords/keywords/_util.js\");\n\nmodule.exports = function defFunc(ajv) {\n if (ajv.RULES.keywords.switch && ajv.RULES.keywords.if) return;\n\n var metaSchemaRef = util.metaSchemaRef(ajv);\n\n defFunc.definition = {\n inline: __webpack_require__(/*! ./dotjs/switch */ \"./node_modules/ajv-keywords/keywords/dotjs/switch.js\"),\n statements: true,\n errors: 'full',\n metaSchema: {\n type: 'array',\n items: {\n required: [ 'then' ],\n properties: {\n 'if': metaSchemaRef,\n 'then': {\n anyOf: [\n { type: 'boolean' },\n metaSchemaRef\n ]\n },\n 'continue': { type: 'boolean' }\n },\n additionalProperties: false,\n dependencies: {\n 'continue': [ 'if' ]\n }\n }\n }\n };\n\n ajv.addKeyword('switch', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/switch.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/transform.js": /*!*********************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/transform.js ***! \*********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function defFunc (ajv) {\n var transform = {\n trimLeft: function (value) {\n return value.replace(/^[\\s]+/, '');\n },\n trimRight: function (value) {\n return value.replace(/[\\s]+$/, '');\n },\n trim: function (value) {\n return value.trim();\n },\n toLowerCase: function (value) {\n return value.toLowerCase();\n },\n toUpperCase: function (value) {\n return value.toUpperCase();\n },\n toEnumCase: function (value, cfg) {\n return cfg.hash[makeHashTableKey(value)] || value;\n }\n };\n\n defFunc.definition = {\n type: 'string',\n errors: false,\n modifying: true,\n valid: true,\n compile: function (schema, parentSchema) {\n var cfg;\n\n if (schema.indexOf('toEnumCase') !== -1) {\n // build hash table to enum values\n cfg = {hash: {}};\n\n // requires `enum` in schema\n if (!parentSchema.enum)\n throw new Error('Missing enum. To use `transform:[\"toEnumCase\"]`, `enum:[...]` is required.');\n for (var i = parentSchema.enum.length; i--; i) {\n var v = parentSchema.enum[i];\n if (typeof v !== 'string') continue;\n var k = makeHashTableKey(v);\n // requires all `enum` values have unique keys\n if (cfg.hash[k])\n throw new Error('Invalid enum uniqueness. To use `transform:[\"toEnumCase\"]`, all values must be unique when case insensitive.');\n cfg.hash[k] = v;\n }\n }\n\n return function (data, dataPath, object, key) {\n // skip if value only\n if (!object) return;\n\n // apply transform in order provided\n for (var j = 0, l = schema.length; j < l; j++)\n data = transform[schema[j]](data, cfg);\n\n object[key] = data;\n };\n },\n metaSchema: {\n type: 'array',\n items: {\n type: 'string',\n enum: [\n 'trimLeft', 'trimRight', 'trim',\n 'toLowerCase', 'toUpperCase', 'toEnumCase'\n ]\n }\n }\n };\n\n ajv.addKeyword('transform', defFunc.definition);\n return ajv;\n\n function makeHashTableKey (value) {\n return value.toLowerCase();\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/transform.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/typeof.js": /*!******************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/typeof.js ***! \******************************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar KNOWN_TYPES = ['undefined', 'string', 'number', 'object', 'function', 'boolean', 'symbol'];\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n inline: function (it, keyword, schema) {\n var data = 'data' + (it.dataLevel || '');\n if (typeof schema == 'string') return 'typeof ' + data + ' == \"' + schema + '\"';\n schema = 'validate.schema' + it.schemaPath + '.' + keyword;\n return schema + '.indexOf(typeof ' + data + ') >= 0';\n },\n metaSchema: {\n anyOf: [\n {\n type: 'string',\n enum: KNOWN_TYPES\n },\n {\n type: 'array',\n items: {\n type: 'string',\n enum: KNOWN_TYPES\n }\n }\n ]\n }\n };\n\n ajv.addKeyword('typeof', defFunc.definition);\n return ajv;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/typeof.js?"); /***/ }), /***/ "./node_modules/ajv-keywords/keywords/uniqueItemProperties.js": /*!********************************************************************!*\ !*** ./node_modules/ajv-keywords/keywords/uniqueItemProperties.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar SCALAR_TYPES = ['number', 'integer', 'string', 'boolean', 'null'];\n\nmodule.exports = function defFunc(ajv) {\n defFunc.definition = {\n type: 'array',\n compile: function(keys, parentSchema, it) {\n var equal = it.util.equal;\n var scalar = getScalarKeys(keys, parentSchema);\n\n return function(data) {\n if (data.length > 1) {\n for (var k=0; k < keys.length; k++) {\n var i, key = keys[k];\n if (scalar[k]) {\n var hash = {};\n for (i = data.length; i--;) {\n if (!data[i] || typeof data[i] != 'object') continue;\n var prop = data[i][key];\n if (prop && typeof prop == 'object') continue;\n if (typeof prop == 'string') prop = '\"' + prop;\n if (hash[prop]) return false;\n hash[prop] = true;\n }\n } else {\n for (i = data.length; i--;) {\n if (!data[i] || typeof data[i] != 'object') continue;\n for (var j = i; j--;) {\n if (data[j] && typeof data[j] == 'object' && equal(data[i][key], data[j][key]))\n return false;\n }\n }\n }\n }\n }\n return true;\n };\n },\n metaSchema: {\n type: 'array',\n items: {type: 'string'}\n }\n };\n\n ajv.addKeyword('uniqueItemProperties', defFunc.definition);\n return ajv;\n};\n\n\nfunction getScalarKeys(keys, schema) {\n return keys.map(function(key) {\n var properties = schema.items && schema.items.properties;\n var propType = properties && properties[key] && properties[key].type;\n return Array.isArray(propType)\n ? propType.indexOf('object') < 0 && propType.indexOf('array') < 0\n : SCALAR_TYPES.indexOf(propType) >= 0;\n });\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv-keywords/keywords/uniqueItemProperties.js?"); /***/ }), /***/ "./node_modules/ajv/lib/ajv.js": /*!*************************************!*\ !*** ./node_modules/ajv/lib/ajv.js ***! \*************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar compileSchema = __webpack_require__(/*! ./compile */ \"./node_modules/ajv/lib/compile/index.js\")\n , resolve = __webpack_require__(/*! ./compile/resolve */ \"./node_modules/ajv/lib/compile/resolve.js\")\n , Cache = __webpack_require__(/*! ./cache */ \"./node_modules/ajv/lib/cache.js\")\n , SchemaObject = __webpack_require__(/*! ./compile/schema_obj */ \"./node_modules/ajv/lib/compile/schema_obj.js\")\n , stableStringify = __webpack_require__(/*! fast-json-stable-stringify */ \"./node_modules/fast-json-stable-stringify/index.js\")\n , formats = __webpack_require__(/*! ./compile/formats */ \"./node_modules/ajv/lib/compile/formats.js\")\n , rules = __webpack_require__(/*! ./compile/rules */ \"./node_modules/ajv/lib/compile/rules.js\")\n , $dataMetaSchema = __webpack_require__(/*! ./data */ \"./node_modules/ajv/lib/data.js\")\n , util = __webpack_require__(/*! ./compile/util */ \"./node_modules/ajv/lib/compile/util.js\");\n\nmodule.exports = Ajv;\n\nAjv.prototype.validate = validate;\nAjv.prototype.compile = compile;\nAjv.prototype.addSchema = addSchema;\nAjv.prototype.addMetaSchema = addMetaSchema;\nAjv.prototype.validateSchema = validateSchema;\nAjv.prototype.getSchema = getSchema;\nAjv.prototype.removeSchema = removeSchema;\nAjv.prototype.addFormat = addFormat;\nAjv.prototype.errorsText = errorsText;\n\nAjv.prototype._addSchema = _addSchema;\nAjv.prototype._compile = _compile;\n\nAjv.prototype.compileAsync = __webpack_require__(/*! ./compile/async */ \"./node_modules/ajv/lib/compile/async.js\");\nvar customKeyword = __webpack_require__(/*! ./keyword */ \"./node_modules/ajv/lib/keyword.js\");\nAjv.prototype.addKeyword = customKeyword.add;\nAjv.prototype.getKeyword = customKeyword.get;\nAjv.prototype.removeKeyword = customKeyword.remove;\nAjv.prototype.validateKeyword = customKeyword.validate;\n\nvar errorClasses = __webpack_require__(/*! ./compile/error_classes */ \"./node_modules/ajv/lib/compile/error_classes.js\");\nAjv.ValidationError = errorClasses.Validation;\nAjv.MissingRefError = errorClasses.MissingRef;\nAjv.$dataMetaSchema = $dataMetaSchema;\n\nvar META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema';\n\nvar META_IGNORE_OPTIONS = [ 'removeAdditional', 'useDefaults', 'coerceTypes', 'strictDefaults' ];\nvar META_SUPPORT_DATA = ['/properties'];\n\n/**\n * Creates validator instance.\n * Usage: `Ajv(opts)`\n * @param {Object} opts optional options\n * @return {Object} ajv instance\n */\nfunction Ajv(opts) {\n if (!(this instanceof Ajv)) return new Ajv(opts);\n opts = this._opts = util.copy(opts) || {};\n setLogger(this);\n this._schemas = {};\n this._refs = {};\n this._fragments = {};\n this._formats = formats(opts.format);\n\n this._cache = opts.cache || new Cache;\n this._loadingSchemas = {};\n this._compilations = [];\n this.RULES = rules();\n this._getId = chooseGetId(opts);\n\n opts.loopRequired = opts.loopRequired || Infinity;\n if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true;\n if (opts.serialize === undefined) opts.serialize = stableStringify;\n this._metaOpts = getMetaSchemaOptions(this);\n\n if (opts.formats) addInitialFormats(this);\n if (opts.keywords) addInitialKeywords(this);\n addDefaultMetaSchema(this);\n if (typeof opts.meta == 'object') this.addMetaSchema(opts.meta);\n if (opts.nullable) this.addKeyword('nullable', {metaSchema: {type: 'boolean'}});\n addInitialSchemas(this);\n}\n\n\n\n/**\n * Validate data using schema\n * Schema will be compiled and cached (using serialized JSON as key. [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used to serialize.\n * @this Ajv\n * @param {String|Object} schemaKeyRef key, ref or schema object\n * @param {Any} data to be validated\n * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`).\n */\nfunction validate(schemaKeyRef, data) {\n var v;\n if (typeof schemaKeyRef == 'string') {\n v = this.getSchema(schemaKeyRef);\n if (!v) throw new Error('no schema with key or ref \"' + schemaKeyRef + '\"');\n } else {\n var schemaObj = this._addSchema(schemaKeyRef);\n v = schemaObj.validate || this._compile(schemaObj);\n }\n\n var valid = v(data);\n if (v.$async !== true) this.errors = v.errors;\n return valid;\n}\n\n\n/**\n * Create validating function for passed schema.\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords.\n * @return {Function} validating function\n */\nfunction compile(schema, _meta) {\n var schemaObj = this._addSchema(schema, undefined, _meta);\n return schemaObj.validate || this._compile(schemaObj);\n}\n\n\n/**\n * Adds schema to the instance.\n * @this Ajv\n * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored.\n * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.\n * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead.\n * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.\n * @return {Ajv} this for method chaining\n */\nfunction addSchema(schema, key, _skipValidation, _meta) {\n if (Array.isArray(schema)){\n for (var i=0; i<schema.length; i++) this.addSchema(schema[i], undefined, _skipValidation, _meta);\n return this;\n }\n var id = this._getId(schema);\n if (id !== undefined && typeof id != 'string')\n throw new Error('schema id must be string');\n key = resolve.normalizeId(key || id);\n checkUnique(this, key);\n this._schemas[key] = this._addSchema(schema, _skipValidation, _meta, true);\n return this;\n}\n\n\n/**\n * Add schema that will be used to validate other schemas\n * options in META_IGNORE_OPTIONS are alway set to false\n * @this Ajv\n * @param {Object} schema schema object\n * @param {String} key optional schema key\n * @param {Boolean} skipValidation true to skip schema validation, can be used to override validateSchema option for meta-schema\n * @return {Ajv} this for method chaining\n */\nfunction addMetaSchema(schema, key, skipValidation) {\n this.addSchema(schema, key, skipValidation, true);\n return this;\n}\n\n\n/**\n * Validate schema\n * @this Ajv\n * @param {Object} schema schema to validate\n * @param {Boolean} throwOrLogError pass true to throw (or log) an error if invalid\n * @return {Boolean} true if schema is valid\n */\nfunction validateSchema(schema, throwOrLogError) {\n var $schema = schema.$schema;\n if ($schema !== undefined && typeof $schema != 'string')\n throw new Error('$schema must be a string');\n $schema = $schema || this._opts.defaultMeta || defaultMeta(this);\n if (!$schema) {\n this.logger.warn('meta-schema not available');\n this.errors = null;\n return true;\n }\n var valid = this.validate($schema, schema);\n if (!valid && throwOrLogError) {\n var message = 'schema is invalid: ' + this.errorsText();\n if (this._opts.validateSchema == 'log') this.logger.error(message);\n else throw new Error(message);\n }\n return valid;\n}\n\n\nfunction defaultMeta(self) {\n var meta = self._opts.meta;\n self._opts.defaultMeta = typeof meta == 'object'\n ? self._getId(meta) || meta\n : self.getSchema(META_SCHEMA_ID)\n ? META_SCHEMA_ID\n : undefined;\n return self._opts.defaultMeta;\n}\n\n\n/**\n * Get compiled schema from the instance by `key` or `ref`.\n * @this Ajv\n * @param {String} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id).\n * @return {Function} schema validating function (with property `schema`).\n */\nfunction getSchema(keyRef) {\n var schemaObj = _getSchemaObj(this, keyRef);\n switch (typeof schemaObj) {\n case 'object': return schemaObj.validate || this._compile(schemaObj);\n case 'string': return this.getSchema(schemaObj);\n case 'undefined': return _getSchemaFragment(this, keyRef);\n }\n}\n\n\nfunction _getSchemaFragment(self, ref) {\n var res = resolve.schema.call(self, { schema: {} }, ref);\n if (res) {\n var schema = res.schema\n , root = res.root\n , baseId = res.baseId;\n var v = compileSchema.call(self, schema, root, undefined, baseId);\n self._fragments[ref] = new SchemaObject({\n ref: ref,\n fragment: true,\n schema: schema,\n root: root,\n baseId: baseId,\n validate: v\n });\n return v;\n }\n}\n\n\nfunction _getSchemaObj(self, keyRef) {\n keyRef = resolve.normalizeId(keyRef);\n return self._schemas[keyRef] || self._refs[keyRef] || self._fragments[keyRef];\n}\n\n\n/**\n * Remove cached schema(s).\n * If no parameter is passed all schemas but meta-schemas are removed.\n * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed.\n * Even if schema is referenced by other schemas it still can be removed as other schemas have local references.\n * @this Ajv\n * @param {String|Object|RegExp} schemaKeyRef key, ref, pattern to match key/ref or schema object\n * @return {Ajv} this for method chaining\n */\nfunction removeSchema(schemaKeyRef) {\n if (schemaKeyRef instanceof RegExp) {\n _removeAllSchemas(this, this._schemas, schemaKeyRef);\n _removeAllSchemas(this, this._refs, schemaKeyRef);\n return this;\n }\n switch (typeof schemaKeyRef) {\n case 'undefined':\n _removeAllSchemas(this, this._schemas);\n _removeAllSchemas(this, this._refs);\n this._cache.clear();\n return this;\n case 'string':\n var schemaObj = _getSchemaObj(this, schemaKeyRef);\n if (schemaObj) this._cache.del(schemaObj.cacheKey);\n delete this._schemas[schemaKeyRef];\n delete this._refs[schemaKeyRef];\n return this;\n case 'object':\n var serialize = this._opts.serialize;\n var cacheKey = serialize ? serialize(schemaKeyRef) : schemaKeyRef;\n this._cache.del(cacheKey);\n var id = this._getId(schemaKeyRef);\n if (id) {\n id = resolve.normalizeId(id);\n delete this._schemas[id];\n delete this._refs[id];\n }\n }\n return this;\n}\n\n\nfunction _removeAllSchemas(self, schemas, regex) {\n for (var keyRef in schemas) {\n var schemaObj = schemas[keyRef];\n if (!schemaObj.meta && (!regex || regex.test(keyRef))) {\n self._cache.del(schemaObj.cacheKey);\n delete schemas[keyRef];\n }\n }\n}\n\n\n/* @this Ajv */\nfunction _addSchema(schema, skipValidation, meta, shouldAddSchema) {\n if (typeof schema != 'object' && typeof schema != 'boolean')\n throw new Error('schema should be object or boolean');\n var serialize = this._opts.serialize;\n var cacheKey = serialize ? serialize(schema) : schema;\n var cached = this._cache.get(cacheKey);\n if (cached) return cached;\n\n shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;\n\n var id = resolve.normalizeId(this._getId(schema));\n if (id && shouldAddSchema) checkUnique(this, id);\n\n var willValidate = this._opts.validateSchema !== false && !skipValidation;\n var recursiveMeta;\n if (willValidate && !(recursiveMeta = id && id == resolve.normalizeId(schema.$schema)))\n this.validateSchema(schema, true);\n\n var localRefs = resolve.ids.call(this, schema);\n\n var schemaObj = new SchemaObject({\n id: id,\n schema: schema,\n localRefs: localRefs,\n cacheKey: cacheKey,\n meta: meta\n });\n\n if (id[0] != '#' && shouldAddSchema) this._refs[id] = schemaObj;\n this._cache.put(cacheKey, schemaObj);\n\n if (willValidate && recursiveMeta) this.validateSchema(schema, true);\n\n return schemaObj;\n}\n\n\n/* @this Ajv */\nfunction _compile(schemaObj, root) {\n if (schemaObj.compiling) {\n schemaObj.validate = callValidate;\n callValidate.schema = schemaObj.schema;\n callValidate.errors = null;\n callValidate.root = root ? root : callValidate;\n if (schemaObj.schema.$async === true)\n callValidate.$async = true;\n return callValidate;\n }\n schemaObj.compiling = true;\n\n var currentOpts;\n if (schemaObj.meta) {\n currentOpts = this._opts;\n this._opts = this._metaOpts;\n }\n\n var v;\n try { v = compileSchema.call(this, schemaObj.schema, root, schemaObj.localRefs); }\n catch(e) {\n delete schemaObj.validate;\n throw e;\n }\n finally {\n schemaObj.compiling = false;\n if (schemaObj.meta) this._opts = currentOpts;\n }\n\n schemaObj.validate = v;\n schemaObj.refs = v.refs;\n schemaObj.refVal = v.refVal;\n schemaObj.root = v.root;\n return v;\n\n\n /* @this {*} - custom context, see passContext option */\n function callValidate() {\n /* jshint validthis: true */\n var _validate = schemaObj.validate;\n var result = _validate.apply(this, arguments);\n callValidate.errors = _validate.errors;\n return result;\n }\n}\n\n\nfunction chooseGetId(opts) {\n switch (opts.schemaId) {\n case 'auto': return _get$IdOrId;\n case 'id': return _getId;\n default: return _get$Id;\n }\n}\n\n/* @this Ajv */\nfunction _getId(schema) {\n if (schema.$id) this.logger.warn('schema $id ignored', schema.$id);\n return schema.id;\n}\n\n/* @this Ajv */\nfunction _get$Id(schema) {\n if (schema.id) this.logger.warn('schema id ignored', schema.id);\n return schema.$id;\n}\n\n\nfunction _get$IdOrId(schema) {\n if (schema.$id && schema.id && schema.$id != schema.id)\n throw new Error('schema $id is different from id');\n return schema.$id || schema.id;\n}\n\n\n/**\n * Convert array of error message objects to string\n * @this Ajv\n * @param {Array<Object>} errors optional array of validation errors, if not passed errors from the instance are used.\n * @param {Object} options optional options with properties `separator` and `dataVar`.\n * @return {String} human readable string with all errors descriptions\n */\nfunction errorsText(errors, options) {\n errors = errors || this.errors;\n if (!errors) return 'No errors';\n options = options || {};\n var separator = options.separator === undefined ? ', ' : options.separator;\n var dataVar = options.dataVar === undefined ? 'data' : options.dataVar;\n\n var text = '';\n for (var i=0; i<errors.length; i++) {\n var e = errors[i];\n if (e) text += dataVar + e.dataPath + ' ' + e.message + separator;\n }\n return text.slice(0, -separator.length);\n}\n\n\n/**\n * Add custom format\n * @this Ajv\n * @param {String} name format name\n * @param {String|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid)\n * @return {Ajv} this for method chaining\n */\nfunction addFormat(name, format) {\n if (typeof format == 'string') format = new RegExp(format);\n this._formats[name] = format;\n return this;\n}\n\n\nfunction addDefaultMetaSchema(self) {\n var $dataSchema;\n if (self._opts.$data) {\n $dataSchema = __webpack_require__(/*! ./refs/data.json */ \"./node_modules/ajv/lib/refs/data.json\");\n self.addMetaSchema($dataSchema, $dataSchema.$id, true);\n }\n if (self._opts.meta === false) return;\n var metaSchema = __webpack_require__(/*! ./refs/json-schema-draft-07.json */ \"./node_modules/ajv/lib/refs/json-schema-draft-07.json\");\n if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);\n self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);\n self._refs['http://json-schema.org/schema'] = META_SCHEMA_ID;\n}\n\n\nfunction addInitialSchemas(self) {\n var optsSchemas = self._opts.schemas;\n if (!optsSchemas) return;\n if (Array.isArray(optsSchemas)) self.addSchema(optsSchemas);\n else for (var key in optsSchemas) self.addSchema(optsSchemas[key], key);\n}\n\n\nfunction addInitialFormats(self) {\n for (var name in self._opts.formats) {\n var format = self._opts.formats[name];\n self.addFormat(name, format);\n }\n}\n\n\nfunction addInitialKeywords(self) {\n for (var name in self._opts.keywords) {\n var keyword = self._opts.keywords[name];\n self.addKeyword(name, keyword);\n }\n}\n\n\nfunction checkUnique(self, id) {\n if (self._schemas[id] || self._refs[id])\n throw new Error('schema with key or id \"' + id + '\" already exists');\n}\n\n\nfunction getMetaSchemaOptions(self) {\n var metaOpts = util.copy(self._opts);\n for (var i=0; i<META_IGNORE_OPTIONS.length; i++)\n delete metaOpts[META_IGNORE_OPTIONS[i]];\n return metaOpts;\n}\n\n\nfunction setLogger(self) {\n var logger = self._opts.logger;\n if (logger === false) {\n self.logger = {log: noop, warn: noop, error: noop};\n } else {\n if (logger === undefined) logger = console;\n if (!(typeof logger == 'object' && logger.log && logger.warn && logger.error))\n throw new Error('logger must implement log, warn and error methods');\n self.logger = logger;\n }\n}\n\n\nfunction noop() {}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/ajv.js?"); /***/ }), /***/ "./node_modules/ajv/lib/cache.js": /*!***************************************!*\ !*** ./node_modules/ajv/lib/cache.js ***! \***************************************/ /***/ ((module) => { "use strict"; eval("\n\n\nvar Cache = module.exports = function Cache() {\n this._cache = {};\n};\n\n\nCache.prototype.put = function Cache_put(key, value) {\n this._cache[key] = value;\n};\n\n\nCache.prototype.get = function Cache_get(key) {\n return this._cache[key];\n};\n\n\nCache.prototype.del = function Cache_del(key) {\n delete this._cache[key];\n};\n\n\nCache.prototype.clear = function Cache_clear() {\n this._cache = {};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/cache.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/async.js": /*!***********************************************!*\ !*** ./node_modules/ajv/lib/compile/async.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar MissingRefError = (__webpack_require__(/*! ./error_classes */ \"./node_modules/ajv/lib/compile/error_classes.js\").MissingRef);\n\nmodule.exports = compileAsync;\n\n\n/**\n * Creates validating function for passed schema with asynchronous loading of missing schemas.\n * `loadSchema` option should be a function that accepts schema uri and returns promise that resolves with the schema.\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Boolean} meta optional true to compile meta-schema; this parameter can be skipped\n * @param {Function} callback an optional node-style callback, it is called with 2 parameters: error (or null) and validating function.\n * @return {Promise} promise that resolves with a validating function.\n */\nfunction compileAsync(schema, meta, callback) {\n /* eslint no-shadow: 0 */\n /* global Promise */\n /* jshint validthis: true */\n var self = this;\n if (typeof this._opts.loadSchema != 'function')\n throw new Error('options.loadSchema should be a function');\n\n if (typeof meta == 'function') {\n callback = meta;\n meta = undefined;\n }\n\n var p = loadMetaSchemaOf(schema).then(function () {\n var schemaObj = self._addSchema(schema, undefined, meta);\n return schemaObj.validate || _compileAsync(schemaObj);\n });\n\n if (callback) {\n p.then(\n function(v) { callback(null, v); },\n callback\n );\n }\n\n return p;\n\n\n function loadMetaSchemaOf(sch) {\n var $schema = sch.$schema;\n return $schema && !self.getSchema($schema)\n ? compileAsync.call(self, { $ref: $schema }, true)\n : Promise.resolve();\n }\n\n\n function _compileAsync(schemaObj) {\n try { return self._compile(schemaObj); }\n catch(e) {\n if (e instanceof MissingRefError) return loadMissingSchema(e);\n throw e;\n }\n\n\n function loadMissingSchema(e) {\n var ref = e.missingSchema;\n if (added(ref)) throw new Error('Schema ' + ref + ' is loaded but ' + e.missingRef + ' cannot be resolved');\n\n var schemaPromise = self._loadingSchemas[ref];\n if (!schemaPromise) {\n schemaPromise = self._loadingSchemas[ref] = self._opts.loadSchema(ref);\n schemaPromise.then(removePromise, removePromise);\n }\n\n return schemaPromise.then(function (sch) {\n if (!added(ref)) {\n return loadMetaSchemaOf(sch).then(function () {\n if (!added(ref)) self.addSchema(sch, ref, undefined, meta);\n });\n }\n }).then(function() {\n return _compileAsync(schemaObj);\n });\n\n function removePromise() {\n delete self._loadingSchemas[ref];\n }\n\n function added(ref) {\n return self._refs[ref] || self._schemas[ref];\n }\n }\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/async.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/error_classes.js": /*!*******************************************************!*\ !*** ./node_modules/ajv/lib/compile/error_classes.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar resolve = __webpack_require__(/*! ./resolve */ \"./node_modules/ajv/lib/compile/resolve.js\");\n\nmodule.exports = {\n Validation: errorSubclass(ValidationError),\n MissingRef: errorSubclass(MissingRefError)\n};\n\n\nfunction ValidationError(errors) {\n this.message = 'validation failed';\n this.errors = errors;\n this.ajv = this.validation = true;\n}\n\n\nMissingRefError.message = function (baseId, ref) {\n return 'can\\'t resolve reference ' + ref + ' from id ' + baseId;\n};\n\n\nfunction MissingRefError(baseId, ref, message) {\n this.message = message || MissingRefError.message(baseId, ref);\n this.missingRef = resolve.url(baseId, ref);\n this.missingSchema = resolve.normalizeId(resolve.fullPath(this.missingRef));\n}\n\n\nfunction errorSubclass(Subclass) {\n Subclass.prototype = Object.create(Error.prototype);\n Subclass.prototype.constructor = Subclass;\n return Subclass;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/error_classes.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/formats.js": /*!*************************************************!*\ !*** ./node_modules/ajv/lib/compile/formats.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/ajv/lib/compile/util.js\");\n\nvar DATE = /^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/;\nvar DAYS = [0,31,28,31,30,31,30,31,31,30,31,30,31];\nvar TIME = /^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i;\nvar HOSTNAME = /^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i;\nvar URI = /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\nvar URIREF = /^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'\"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\n// uri-template: https://tools.ietf.org/html/rfc6570\nvar URITEMPLATE = /^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i;\n// For the source: https://gist.github.com/dperini/729294\n// For test cases: https://mathiasbynens.be/demo/url-regex\n// @todo Delete current URL in favour of the commented out URL rule when this issue is fixed https://github.com/eslint/eslint/issues/7983.\n// var URL = /^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu;\nvar URL = /^(?:(?:http[s\\u017F]?|ftp):\\/\\/)(?:(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+(?::(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?@)?(?:(?!10(?:\\.[0-9]{1,3}){3})(?!127(?:\\.[0-9]{1,3}){3})(?!169\\.254(?:\\.[0-9]{1,3}){2})(?!192\\.168(?:\\.[0-9]{1,3}){2})(?!172\\.(?:1[6-9]|2[0-9]|3[01])(?:\\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-)*(?:[0-9a-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)(?:\\.(?:(?:[0-9a-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+-)*(?:[0-9a-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])+)*(?:\\.(?:(?:[a-z\\xA1-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\\/(?:[\\0-\\x08\\x0E-\\x1F!-\\x9F\\xA1-\\u167F\\u1681-\\u1FFF\\u200B-\\u2027\\u202A-\\u202E\\u2030-\\u205E\\u2060-\\u2FFF\\u3001-\\uD7FF\\uE000-\\uFEFE\\uFF00-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)?$/i;\nvar UUID = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;\nvar JSON_POINTER = /^(?:\\/(?:[^~/]|~0|~1)*)*$/;\nvar JSON_POINTER_URI_FRAGMENT = /^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;\nvar RELATIVE_JSON_POINTER = /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/;\n\n\nmodule.exports = formats;\n\nfunction formats(mode) {\n mode = mode == 'full' ? 'full' : 'fast';\n return util.copy(formats[mode]);\n}\n\n\nformats.fast = {\n // date: http://tools.ietf.org/html/rfc3339#section-5.6\n date: /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/,\n // date-time: http://tools.ietf.org/html/rfc3339#section-5.6\n time: /^(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)?$/i,\n 'date-time': /^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s](?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)$/i,\n // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js\n uri: /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$/i,\n 'uri-reference': /^(?:(?:[a-z][a-z0-9+\\-.]*:)?\\/?\\/)?(?:[^\\\\\\s#][^\\s#]*)?(?:#[^\\\\\\s]*)?$/i,\n 'uri-template': URITEMPLATE,\n url: URL,\n // email (sources from jsen validator):\n // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363\n // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'willful violation')\n email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,\n hostname: HOSTNAME,\n // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html\n ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n // optimized http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses\n ipv6: /^\\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n regex: regex,\n // uuid: http://tools.ietf.org/html/rfc4122\n uuid: UUID,\n // JSON-pointer: https://tools.ietf.org/html/rfc6901\n // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A\n 'json-pointer': JSON_POINTER,\n 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT,\n // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00\n 'relative-json-pointer': RELATIVE_JSON_POINTER\n};\n\n\nformats.full = {\n date: date,\n time: time,\n 'date-time': date_time,\n uri: uri,\n 'uri-reference': URIREF,\n 'uri-template': URITEMPLATE,\n url: URL,\n email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n hostname: HOSTNAME,\n ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n ipv6: /^\\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(?:%.+)?\\s*$/i,\n regex: regex,\n uuid: UUID,\n 'json-pointer': JSON_POINTER,\n 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT,\n 'relative-json-pointer': RELATIVE_JSON_POINTER\n};\n\n\nfunction isLeapYear(year) {\n // https://tools.ietf.org/html/rfc3339#appendix-C\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\n\n\nfunction date(str) {\n // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n var matches = str.match(DATE);\n if (!matches) return false;\n\n var year = +matches[1];\n var month = +matches[2];\n var day = +matches[3];\n\n return month >= 1 && month <= 12 && day >= 1 &&\n day <= (month == 2 && isLeapYear(year) ? 29 : DAYS[month]);\n}\n\n\nfunction time(str, full) {\n var matches = str.match(TIME);\n if (!matches) return false;\n\n var hour = matches[1];\n var minute = matches[2];\n var second = matches[3];\n var timeZone = matches[5];\n return ((hour <= 23 && minute <= 59 && second <= 59) ||\n (hour == 23 && minute == 59 && second == 60)) &&\n (!full || timeZone);\n}\n\n\nvar DATE_TIME_SEPARATOR = /t|\\s/i;\nfunction date_time(str) {\n // http://tools.ietf.org/html/rfc3339#section-5.6\n var dateTime = str.split(DATE_TIME_SEPARATOR);\n return dateTime.length == 2 && date(dateTime[0]) && time(dateTime[1], true);\n}\n\n\nvar NOT_URI_FRAGMENT = /\\/|:/;\nfunction uri(str) {\n // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required \".\"\n return NOT_URI_FRAGMENT.test(str) && URI.test(str);\n}\n\n\nvar Z_ANCHOR = /[^\\\\]\\\\Z/;\nfunction regex(str) {\n if (Z_ANCHOR.test(str)) return false;\n try {\n new RegExp(str);\n return true;\n } catch(e) {\n return false;\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/formats.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/index.js": /*!***********************************************!*\ !*** ./node_modules/ajv/lib/compile/index.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar resolve = __webpack_require__(/*! ./resolve */ \"./node_modules/ajv/lib/compile/resolve.js\")\n , util = __webpack_require__(/*! ./util */ \"./node_modules/ajv/lib/compile/util.js\")\n , errorClasses = __webpack_require__(/*! ./error_classes */ \"./node_modules/ajv/lib/compile/error_classes.js\")\n , stableStringify = __webpack_require__(/*! fast-json-stable-stringify */ \"./node_modules/fast-json-stable-stringify/index.js\");\n\nvar validateGenerator = __webpack_require__(/*! ../dotjs/validate */ \"./node_modules/ajv/lib/dotjs/validate.js\");\n\n/**\n * Functions below are used inside compiled validations function\n */\n\nvar ucs2length = util.ucs2length;\nvar equal = __webpack_require__(/*! fast-deep-equal */ \"./node_modules/fast-deep-equal/index.js\");\n\n// this error is thrown by async schemas to return validation errors via exception\nvar ValidationError = errorClasses.Validation;\n\nmodule.exports = compile;\n\n\n/**\n * Compiles schema to validation function\n * @this Ajv\n * @param {Object} schema schema object\n * @param {Object} root object with information about the root schema for this schema\n * @param {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution\n * @param {String} baseId base ID for IDs in the schema\n * @return {Function} validation function\n */\nfunction compile(schema, root, localRefs, baseId) {\n /* jshint validthis: true, evil: true */\n /* eslint no-shadow: 0 */\n var self = this\n , opts = this._opts\n , refVal = [ undefined ]\n , refs = {}\n , patterns = []\n , patternsHash = {}\n , defaults = []\n , defaultsHash = {}\n , customRules = [];\n\n root = root || { schema: schema, refVal: refVal, refs: refs };\n\n var c = checkCompiling.call(this, schema, root, baseId);\n var compilation = this._compilations[c.index];\n if (c.compiling) return (compilation.callValidate = callValidate);\n\n var formats = this._formats;\n var RULES = this.RULES;\n\n try {\n var v = localCompile(schema, root, localRefs, baseId);\n compilation.validate = v;\n var cv = compilation.callValidate;\n if (cv) {\n cv.schema = v.schema;\n cv.errors = null;\n cv.refs = v.refs;\n cv.refVal = v.refVal;\n cv.root = v.root;\n cv.$async = v.$async;\n if (opts.sourceCode) cv.source = v.source;\n }\n return v;\n } finally {\n endCompiling.call(this, schema, root, baseId);\n }\n\n /* @this {*} - custom context, see passContext option */\n function callValidate() {\n /* jshint validthis: true */\n var validate = compilation.validate;\n var result = validate.apply(this, arguments);\n callValidate.errors = validate.errors;\n return result;\n }\n\n function localCompile(_schema, _root, localRefs, baseId) {\n var isRoot = !_root || (_root && _root.schema == _schema);\n if (_root.schema != root.schema)\n return compile.call(self, _schema, _root, localRefs, baseId);\n\n var $async = _schema.$async === true;\n\n var sourceCode = validateGenerator({\n isTop: true,\n schema: _schema,\n isRoot: isRoot,\n baseId: baseId,\n root: _root,\n schemaPath: '',\n errSchemaPath: '#',\n errorPath: '\"\"',\n MissingRefError: errorClasses.MissingRef,\n RULES: RULES,\n validate: validateGenerator,\n util: util,\n resolve: resolve,\n resolveRef: resolveRef,\n usePattern: usePattern,\n useDefault: useDefault,\n useCustomRule: useCustomRule,\n opts: opts,\n formats: formats,\n logger: self.logger,\n self: self\n });\n\n sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode)\n + vars(defaults, defaultCode) + vars(customRules, customRuleCode)\n + sourceCode;\n\n if (opts.processCode) sourceCode = opts.processCode(sourceCode, _schema);\n // console.log('\\n\\n\\n *** \\n', JSON.stringify(sourceCode));\n var validate;\n try {\n var makeValidate = new Function(\n 'self',\n 'RULES',\n 'formats',\n 'root',\n 'refVal',\n 'defaults',\n 'customRules',\n 'equal',\n 'ucs2length',\n 'ValidationError',\n sourceCode\n );\n\n validate = makeValidate(\n self,\n RULES,\n formats,\n root,\n refVal,\n defaults,\n customRules,\n equal,\n ucs2length,\n ValidationError\n );\n\n refVal[0] = validate;\n } catch(e) {\n self.logger.error('Error compiling schema, function code:', sourceCode);\n throw e;\n }\n\n validate.schema = _schema;\n validate.errors = null;\n validate.refs = refs;\n validate.refVal = refVal;\n validate.root = isRoot ? validate : _root;\n if ($async) validate.$async = true;\n if (opts.sourceCode === true) {\n validate.source = {\n code: sourceCode,\n patterns: patterns,\n defaults: defaults\n };\n }\n\n return validate;\n }\n\n function resolveRef(baseId, ref, isRoot) {\n ref = resolve.url(baseId, ref);\n var refIndex = refs[ref];\n var _refVal, refCode;\n if (refIndex !== undefined) {\n _refVal = refVal[refIndex];\n refCode = 'refVal[' + refIndex + ']';\n return resolvedRef(_refVal, refCode);\n }\n if (!isRoot && root.refs) {\n var rootRefId = root.refs[ref];\n if (rootRefId !== undefined) {\n _refVal = root.refVal[rootRefId];\n refCode = addLocalRef(ref, _refVal);\n return resolvedRef(_refVal, refCode);\n }\n }\n\n refCode = addLocalRef(ref);\n var v = resolve.call(self, localCompile, root, ref);\n if (v === undefined) {\n var localSchema = localRefs && localRefs[ref];\n if (localSchema) {\n v = resolve.inlineRef(localSchema, opts.inlineRefs)\n ? localSchema\n : compile.call(self, localSchema, root, localRefs, baseId);\n }\n }\n\n if (v === undefined) {\n removeLocalRef(ref);\n } else {\n replaceLocalRef(ref, v);\n return resolvedRef(v, refCode);\n }\n }\n\n function addLocalRef(ref, v) {\n var refId = refVal.length;\n refVal[refId] = v;\n refs[ref] = refId;\n return 'refVal' + refId;\n }\n\n function removeLocalRef(ref) {\n delete refs[ref];\n }\n\n function replaceLocalRef(ref, v) {\n var refId = refs[ref];\n refVal[refId] = v;\n }\n\n function resolvedRef(refVal, code) {\n return typeof refVal == 'object' || typeof refVal == 'boolean'\n ? { code: code, schema: refVal, inline: true }\n : { code: code, $async: refVal && !!refVal.$async };\n }\n\n function usePattern(regexStr) {\n var index = patternsHash[regexStr];\n if (index === undefined) {\n index = patternsHash[regexStr] = patterns.length;\n patterns[index] = regexStr;\n }\n return 'pattern' + index;\n }\n\n function useDefault(value) {\n switch (typeof value) {\n case 'boolean':\n case 'number':\n return '' + value;\n case 'string':\n return util.toQuotedString(value);\n case 'object':\n if (value === null) return 'null';\n var valueStr = stableStringify(value);\n var index = defaultsHash[valueStr];\n if (index === undefined) {\n index = defaultsHash[valueStr] = defaults.length;\n defaults[index] = value;\n }\n return 'default' + index;\n }\n }\n\n function useCustomRule(rule, schema, parentSchema, it) {\n if (self._opts.validateSchema !== false) {\n var deps = rule.definition.dependencies;\n if (deps && !deps.every(function(keyword) {\n return Object.prototype.hasOwnProperty.call(parentSchema, keyword);\n }))\n throw new Error('parent schema must have all required keywords: ' + deps.join(','));\n\n var validateSchema = rule.definition.validateSchema;\n if (validateSchema) {\n var valid = validateSchema(schema);\n if (!valid) {\n var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors);\n if (self._opts.validateSchema == 'log') self.logger.error(message);\n else throw new Error(message);\n }\n }\n }\n\n var compile = rule.definition.compile\n , inline = rule.definition.inline\n , macro = rule.definition.macro;\n\n var validate;\n if (compile) {\n validate = compile.call(self, schema, parentSchema, it);\n } else if (macro) {\n validate = macro.call(self, schema, parentSchema, it);\n if (opts.validateSchema !== false) self.validateSchema(validate, true);\n } else if (inline) {\n validate = inline.call(self, it, rule.keyword, schema, parentSchema);\n } else {\n validate = rule.definition.validate;\n if (!validate) return;\n }\n\n if (validate === undefined)\n throw new Error('custom keyword \"' + rule.keyword + '\"failed to compile');\n\n var index = customRules.length;\n customRules[index] = validate;\n\n return {\n code: 'customRule' + index,\n validate: validate\n };\n }\n}\n\n\n/**\n * Checks if the schema is currently compiled\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n * @return {Object} object with properties \"index\" (compilation index) and \"compiling\" (boolean)\n */\nfunction checkCompiling(schema, root, baseId) {\n /* jshint validthis: true */\n var index = compIndex.call(this, schema, root, baseId);\n if (index >= 0) return { index: index, compiling: true };\n index = this._compilations.length;\n this._compilations[index] = {\n schema: schema,\n root: root,\n baseId: baseId\n };\n return { index: index, compiling: false };\n}\n\n\n/**\n * Removes the schema from the currently compiled list\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n */\nfunction endCompiling(schema, root, baseId) {\n /* jshint validthis: true */\n var i = compIndex.call(this, schema, root, baseId);\n if (i >= 0) this._compilations.splice(i, 1);\n}\n\n\n/**\n * Index of schema compilation in the currently compiled list\n * @this Ajv\n * @param {Object} schema schema to compile\n * @param {Object} root root object\n * @param {String} baseId base schema ID\n * @return {Integer} compilation index\n */\nfunction compIndex(schema, root, baseId) {\n /* jshint validthis: true */\n for (var i=0; i<this._compilations.length; i++) {\n var c = this._compilations[i];\n if (c.schema == schema && c.root == root && c.baseId == baseId) return i;\n }\n return -1;\n}\n\n\nfunction patternCode(i, patterns) {\n return 'var pattern' + i + ' = new RegExp(' + util.toQuotedString(patterns[i]) + ');';\n}\n\n\nfunction defaultCode(i) {\n return 'var default' + i + ' = defaults[' + i + '];';\n}\n\n\nfunction refValCode(i, refVal) {\n return refVal[i] === undefined ? '' : 'var refVal' + i + ' = refVal[' + i + '];';\n}\n\n\nfunction customRuleCode(i) {\n return 'var customRule' + i + ' = customRules[' + i + '];';\n}\n\n\nfunction vars(arr, statement) {\n if (!arr.length) return '';\n var code = '';\n for (var i=0; i<arr.length; i++)\n code += statement(i, arr);\n return code;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/index.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/resolve.js": /*!*************************************************!*\ !*** ./node_modules/ajv/lib/compile/resolve.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar URI = __webpack_require__(/*! uri-js */ \"./node_modules/uri-js/dist/es5/uri.all.js\")\n , equal = __webpack_require__(/*! fast-deep-equal */ \"./node_modules/fast-deep-equal/index.js\")\n , util = __webpack_require__(/*! ./util */ \"./node_modules/ajv/lib/compile/util.js\")\n , SchemaObject = __webpack_require__(/*! ./schema_obj */ \"./node_modules/ajv/lib/compile/schema_obj.js\")\n , traverse = __webpack_require__(/*! json-schema-traverse */ \"./node_modules/json-schema-traverse/index.js\");\n\nmodule.exports = resolve;\n\nresolve.normalizeId = normalizeId;\nresolve.fullPath = getFullPath;\nresolve.url = resolveUrl;\nresolve.ids = resolveIds;\nresolve.inlineRef = inlineRef;\nresolve.schema = resolveSchema;\n\n/**\n * [resolve and compile the references ($ref)]\n * @this Ajv\n * @param {Function} compile reference to schema compilation funciton (localCompile)\n * @param {Object} root object with information about the root schema for the current schema\n * @param {String} ref reference to resolve\n * @return {Object|Function} schema object (if the schema can be inlined) or validation function\n */\nfunction resolve(compile, root, ref) {\n /* jshint validthis: true */\n var refVal = this._refs[ref];\n if (typeof refVal == 'string') {\n if (this._refs[refVal]) refVal = this._refs[refVal];\n else return resolve.call(this, compile, root, refVal);\n }\n\n refVal = refVal || this._schemas[ref];\n if (refVal instanceof SchemaObject) {\n return inlineRef(refVal.schema, this._opts.inlineRefs)\n ? refVal.schema\n : refVal.validate || this._compile(refVal);\n }\n\n var res = resolveSchema.call(this, root, ref);\n var schema, v, baseId;\n if (res) {\n schema = res.schema;\n root = res.root;\n baseId = res.baseId;\n }\n\n if (schema instanceof SchemaObject) {\n v = schema.validate || compile.call(this, schema.schema, root, undefined, baseId);\n } else if (schema !== undefined) {\n v = inlineRef(schema, this._opts.inlineRefs)\n ? schema\n : compile.call(this, schema, root, undefined, baseId);\n }\n\n return v;\n}\n\n\n/**\n * Resolve schema, its root and baseId\n * @this Ajv\n * @param {Object} root root object with properties schema, refVal, refs\n * @param {String} ref reference to resolve\n * @return {Object} object with properties schema, root, baseId\n */\nfunction resolveSchema(root, ref) {\n /* jshint validthis: true */\n var p = URI.parse(ref)\n , refPath = _getFullPath(p)\n , baseId = getFullPath(this._getId(root.schema));\n if (Object.keys(root.schema).length === 0 || refPath !== baseId) {\n var id = normalizeId(refPath);\n var refVal = this._refs[id];\n if (typeof refVal == 'string') {\n return resolveRecursive.call(this, root, refVal, p);\n } else if (refVal instanceof SchemaObject) {\n if (!refVal.validate) this._compile(refVal);\n root = refVal;\n } else {\n refVal = this._schemas[id];\n if (refVal instanceof SchemaObject) {\n if (!refVal.validate) this._compile(refVal);\n if (id == normalizeId(ref))\n return { schema: refVal, root: root, baseId: baseId };\n root = refVal;\n } else {\n return;\n }\n }\n if (!root.schema) return;\n baseId = getFullPath(this._getId(root.schema));\n }\n return getJsonPointer.call(this, p, baseId, root.schema, root);\n}\n\n\n/* @this Ajv */\nfunction resolveRecursive(root, ref, parsedRef) {\n /* jshint validthis: true */\n var res = resolveSchema.call(this, root, ref);\n if (res) {\n var schema = res.schema;\n var baseId = res.baseId;\n root = res.root;\n var id = this._getId(schema);\n if (id) baseId = resolveUrl(baseId, id);\n return getJsonPointer.call(this, parsedRef, baseId, schema, root);\n }\n}\n\n\nvar PREVENT_SCOPE_CHANGE = util.toHash(['properties', 'patternProperties', 'enum', 'dependencies', 'definitions']);\n/* @this Ajv */\nfunction getJsonPointer(parsedRef, baseId, schema, root) {\n /* jshint validthis: true */\n parsedRef.fragment = parsedRef.fragment || '';\n if (parsedRef.fragment.slice(0,1) != '/') return;\n var parts = parsedRef.fragment.split('/');\n\n for (var i = 1; i < parts.length; i++) {\n var part = parts[i];\n if (part) {\n part = util.unescapeFragment(part);\n schema = schema[part];\n if (schema === undefined) break;\n var id;\n if (!PREVENT_SCOPE_CHANGE[part]) {\n id = this._getId(schema);\n if (id) baseId = resolveUrl(baseId, id);\n if (schema.$ref) {\n var $ref = resolveUrl(baseId, schema.$ref);\n var res = resolveSchema.call(this, root, $ref);\n if (res) {\n schema = res.schema;\n root = res.root;\n baseId = res.baseId;\n }\n }\n }\n }\n }\n if (schema !== undefined && schema !== root.schema)\n return { schema: schema, root: root, baseId: baseId };\n}\n\n\nvar SIMPLE_INLINED = util.toHash([\n 'type', 'format', 'pattern',\n 'maxLength', 'minLength',\n 'maxProperties', 'minProperties',\n 'maxItems', 'minItems',\n 'maximum', 'minimum',\n 'uniqueItems', 'multipleOf',\n 'required', 'enum'\n]);\nfunction inlineRef(schema, limit) {\n if (limit === false) return false;\n if (limit === undefined || limit === true) return checkNoRef(schema);\n else if (limit) return countKeys(schema) <= limit;\n}\n\n\nfunction checkNoRef(schema) {\n var item;\n if (Array.isArray(schema)) {\n for (var i=0; i<schema.length; i++) {\n item = schema[i];\n if (typeof item == 'object' && !checkNoRef(item)) return false;\n }\n } else {\n for (var key in schema) {\n if (key == '$ref') return false;\n item = schema[key];\n if (typeof item == 'object' && !checkNoRef(item)) return false;\n }\n }\n return true;\n}\n\n\nfunction countKeys(schema) {\n var count = 0, item;\n if (Array.isArray(schema)) {\n for (var i=0; i<schema.length; i++) {\n item = schema[i];\n if (typeof item == 'object') count += countKeys(item);\n if (count == Infinity) return Infinity;\n }\n } else {\n for (var key in schema) {\n if (key == '$ref') return Infinity;\n if (SIMPLE_INLINED[key]) {\n count++;\n } else {\n item = schema[key];\n if (typeof item == 'object') count += countKeys(item) + 1;\n if (count == Infinity) return Infinity;\n }\n }\n }\n return count;\n}\n\n\nfunction getFullPath(id, normalize) {\n if (normalize !== false) id = normalizeId(id);\n var p = URI.parse(id);\n return _getFullPath(p);\n}\n\n\nfunction _getFullPath(p) {\n return URI.serialize(p).split('#')[0] + '#';\n}\n\n\nvar TRAILING_SLASH_HASH = /#\\/?$/;\nfunction normalizeId(id) {\n return id ? id.replace(TRAILING_SLASH_HASH, '') : '';\n}\n\n\nfunction resolveUrl(baseId, id) {\n id = normalizeId(id);\n return URI.resolve(baseId, id);\n}\n\n\n/* @this Ajv */\nfunction resolveIds(schema) {\n var schemaId = normalizeId(this._getId(schema));\n var baseIds = {'': schemaId};\n var fullPaths = {'': getFullPath(schemaId, false)};\n var localRefs = {};\n var self = this;\n\n traverse(schema, {allKeys: true}, function(sch, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (jsonPtr === '') return;\n var id = self._getId(sch);\n var baseId = baseIds[parentJsonPtr];\n var fullPath = fullPaths[parentJsonPtr] + '/' + parentKeyword;\n if (keyIndex !== undefined)\n fullPath += '/' + (typeof keyIndex == 'number' ? keyIndex : util.escapeFragment(keyIndex));\n\n if (typeof id == 'string') {\n id = baseId = normalizeId(baseId ? URI.resolve(baseId, id) : id);\n\n var refVal = self._refs[id];\n if (typeof refVal == 'string') refVal = self._refs[refVal];\n if (refVal && refVal.schema) {\n if (!equal(sch, refVal.schema))\n throw new Error('id \"' + id + '\" resolves to more than one schema');\n } else if (id != normalizeId(fullPath)) {\n if (id[0] == '#') {\n if (localRefs[id] && !equal(sch, localRefs[id]))\n throw new Error('id \"' + id + '\" resolves to more than one schema');\n localRefs[id] = sch;\n } else {\n self._refs[id] = fullPath;\n }\n }\n }\n baseIds[jsonPtr] = baseId;\n fullPaths[jsonPtr] = fullPath;\n });\n\n return localRefs;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/resolve.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/rules.js": /*!***********************************************!*\ !*** ./node_modules/ajv/lib/compile/rules.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar ruleModules = __webpack_require__(/*! ../dotjs */ \"./node_modules/ajv/lib/dotjs/index.js\")\n , toHash = (__webpack_require__(/*! ./util */ \"./node_modules/ajv/lib/compile/util.js\").toHash);\n\nmodule.exports = function rules() {\n var RULES = [\n { type: 'number',\n rules: [ { 'maximum': ['exclusiveMaximum'] },\n { 'minimum': ['exclusiveMinimum'] }, 'multipleOf', 'format'] },\n { type: 'string',\n rules: [ 'maxLength', 'minLength', 'pattern', 'format' ] },\n { type: 'array',\n rules: [ 'maxItems', 'minItems', 'items', 'contains', 'uniqueItems' ] },\n { type: 'object',\n rules: [ 'maxProperties', 'minProperties', 'required', 'dependencies', 'propertyNames',\n { 'properties': ['additionalProperties', 'patternProperties'] } ] },\n { rules: [ '$ref', 'const', 'enum', 'not', 'anyOf', 'oneOf', 'allOf', 'if' ] }\n ];\n\n var ALL = [ 'type', '$comment' ];\n var KEYWORDS = [\n '$schema', '$id', 'id', '$data', '$async', 'title',\n 'description', 'default', 'definitions',\n 'examples', 'readOnly', 'writeOnly',\n 'contentMediaType', 'contentEncoding',\n 'additionalItems', 'then', 'else'\n ];\n var TYPES = [ 'number', 'integer', 'string', 'array', 'object', 'boolean', 'null' ];\n RULES.all = toHash(ALL);\n RULES.types = toHash(TYPES);\n\n RULES.forEach(function (group) {\n group.rules = group.rules.map(function (keyword) {\n var implKeywords;\n if (typeof keyword == 'object') {\n var key = Object.keys(keyword)[0];\n implKeywords = keyword[key];\n keyword = key;\n implKeywords.forEach(function (k) {\n ALL.push(k);\n RULES.all[k] = true;\n });\n }\n ALL.push(keyword);\n var rule = RULES.all[keyword] = {\n keyword: keyword,\n code: ruleModules[keyword],\n implements: implKeywords\n };\n return rule;\n });\n\n RULES.all.$comment = {\n keyword: '$comment',\n code: ruleModules.$comment\n };\n\n if (group.type) RULES.types[group.type] = group;\n });\n\n RULES.keywords = toHash(ALL.concat(KEYWORDS));\n RULES.custom = {};\n\n return RULES;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/rules.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/schema_obj.js": /*!****************************************************!*\ !*** ./node_modules/ajv/lib/compile/schema_obj.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/ajv/lib/compile/util.js\");\n\nmodule.exports = SchemaObject;\n\nfunction SchemaObject(obj) {\n util.copy(obj, this);\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/schema_obj.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/ucs2length.js": /*!****************************************************!*\ !*** ./node_modules/ajv/lib/compile/ucs2length.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("\n\n// https://mathiasbynens.be/notes/javascript-encoding\n// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode\nmodule.exports = function ucs2length(str) {\n var length = 0\n , len = str.length\n , pos = 0\n , value;\n while (pos < len) {\n length++;\n value = str.charCodeAt(pos++);\n if (value >= 0xD800 && value <= 0xDBFF && pos < len) {\n // high surrogate, and there is a next character\n value = str.charCodeAt(pos);\n if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate\n }\n }\n return length;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/ucs2length.js?"); /***/ }), /***/ "./node_modules/ajv/lib/compile/util.js": /*!**********************************************!*\ !*** ./node_modules/ajv/lib/compile/util.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\n\nmodule.exports = {\n copy: copy,\n checkDataType: checkDataType,\n checkDataTypes: checkDataTypes,\n coerceToTypes: coerceToTypes,\n toHash: toHash,\n getProperty: getProperty,\n escapeQuotes: escapeQuotes,\n equal: __webpack_require__(/*! fast-deep-equal */ \"./node_modules/fast-deep-equal/index.js\"),\n ucs2length: __webpack_require__(/*! ./ucs2length */ \"./node_modules/ajv/lib/compile/ucs2length.js\"),\n varOccurences: varOccurences,\n varReplace: varReplace,\n schemaHasRules: schemaHasRules,\n schemaHasRulesExcept: schemaHasRulesExcept,\n schemaUnknownRules: schemaUnknownRules,\n toQuotedString: toQuotedString,\n getPathExpr: getPathExpr,\n getPath: getPath,\n getData: getData,\n unescapeFragment: unescapeFragment,\n unescapeJsonPointer: unescapeJsonPointer,\n escapeFragment: escapeFragment,\n escapeJsonPointer: escapeJsonPointer\n};\n\n\nfunction copy(o, to) {\n to = to || {};\n for (var key in o) to[key] = o[key];\n return to;\n}\n\n\nfunction checkDataType(dataType, data, strictNumbers, negate) {\n var EQUAL = negate ? ' !== ' : ' === '\n , AND = negate ? ' || ' : ' && '\n , OK = negate ? '!' : ''\n , NOT = negate ? '' : '!';\n switch (dataType) {\n case 'null': return data + EQUAL + 'null';\n case 'array': return OK + 'Array.isArray(' + data + ')';\n case 'object': return '(' + OK + data + AND +\n 'typeof ' + data + EQUAL + '\"object\"' + AND +\n NOT + 'Array.isArray(' + data + '))';\n case 'integer': return '(typeof ' + data + EQUAL + '\"number\"' + AND +\n NOT + '(' + data + ' % 1)' +\n AND + data + EQUAL + data +\n (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')';\n case 'number': return '(typeof ' + data + EQUAL + '\"' + dataType + '\"' +\n (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')';\n default: return 'typeof ' + data + EQUAL + '\"' + dataType + '\"';\n }\n}\n\n\nfunction checkDataTypes(dataTypes, data, strictNumbers) {\n switch (dataTypes.length) {\n case 1: return checkDataType(dataTypes[0], data, strictNumbers, true);\n default:\n var code = '';\n var types = toHash(dataTypes);\n if (types.array && types.object) {\n code = types.null ? '(': '(!' + data + ' || ';\n code += 'typeof ' + data + ' !== \"object\")';\n delete types.null;\n delete types.array;\n delete types.object;\n }\n if (types.number) delete types.integer;\n for (var t in types)\n code += (code ? ' && ' : '' ) + checkDataType(t, data, strictNumbers, true);\n\n return code;\n }\n}\n\n\nvar COERCE_TO_TYPES = toHash([ 'string', 'number', 'integer', 'boolean', 'null' ]);\nfunction coerceToTypes(optionCoerceTypes, dataTypes) {\n if (Array.isArray(dataTypes)) {\n var types = [];\n for (var i=0; i<dataTypes.length; i++) {\n var t = dataTypes[i];\n if (COERCE_TO_TYPES[t]) types[types.length] = t;\n else if (optionCoerceTypes === 'array' && t === 'array') types[types.length] = t;\n }\n if (types.length) return types;\n } else if (COERCE_TO_TYPES[dataTypes]) {\n return [dataTypes];\n } else if (optionCoerceTypes === 'array' && dataTypes === 'array') {\n return ['array'];\n }\n}\n\n\nfunction toHash(arr) {\n var hash = {};\n for (var i=0; i<arr.length; i++) hash[arr[i]] = true;\n return hash;\n}\n\n\nvar IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;\nvar SINGLE_QUOTE = /'|\\\\/g;\nfunction getProperty(key) {\n return typeof key == 'number'\n ? '[' + key + ']'\n : IDENTIFIER.test(key)\n ? '.' + key\n : \"['\" + escapeQuotes(key) + \"']\";\n}\n\n\nfunction escapeQuotes(str) {\n return str.replace(SINGLE_QUOTE, '\\\\$&')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\t/g, '\\\\t');\n}\n\n\nfunction varOccurences(str, dataVar) {\n dataVar += '[^0-9]';\n var matches = str.match(new RegExp(dataVar, 'g'));\n return matches ? matches.length : 0;\n}\n\n\nfunction varReplace(str, dataVar, expr) {\n dataVar += '([^0-9])';\n expr = expr.replace(/\\$/g, '$$$$');\n return str.replace(new RegExp(dataVar, 'g'), expr + '$1');\n}\n\n\nfunction schemaHasRules(schema, rules) {\n if (typeof schema == 'boolean') return !schema;\n for (var key in schema) if (rules[key]) return true;\n}\n\n\nfunction schemaHasRulesExcept(schema, rules, exceptKeyword) {\n if (typeof schema == 'boolean') return !schema && exceptKeyword != 'not';\n for (var key in schema) if (key != exceptKeyword && rules[key]) return true;\n}\n\n\nfunction schemaUnknownRules(schema, rules) {\n if (typeof schema == 'boolean') return;\n for (var key in schema) if (!rules[key]) return key;\n}\n\n\nfunction toQuotedString(str) {\n return '\\'' + escapeQuotes(str) + '\\'';\n}\n\n\nfunction getPathExpr(currentPath, expr, jsonPointers, isNumber) {\n var path = jsonPointers // false by default\n ? '\\'/\\' + ' + expr + (isNumber ? '' : '.replace(/~/g, \\'~0\\').replace(/\\\\//g, \\'~1\\')')\n : (isNumber ? '\\'[\\' + ' + expr + ' + \\']\\'' : '\\'[\\\\\\'\\' + ' + expr + ' + \\'\\\\\\']\\'');\n return joinPaths(currentPath, path);\n}\n\n\nfunction getPath(currentPath, prop, jsonPointers) {\n var path = jsonPointers // false by default\n ? toQuotedString('/' + escapeJsonPointer(prop))\n : toQuotedString(getProperty(prop));\n return joinPaths(currentPath, path);\n}\n\n\nvar JSON_POINTER = /^\\/(?:[^~]|~0|~1)*$/;\nvar RELATIVE_JSON_POINTER = /^([0-9]+)(#|\\/(?:[^~]|~0|~1)*)?$/;\nfunction getData($data, lvl, paths) {\n var up, jsonPointer, data, matches;\n if ($data === '') return 'rootData';\n if ($data[0] == '/') {\n if (!JSON_POINTER.test($data)) throw new Error('Invalid JSON-pointer: ' + $data);\n jsonPointer = $data;\n data = 'rootData';\n } else {\n matches = $data.match(RELATIVE_JSON_POINTER);\n if (!matches) throw new Error('Invalid JSON-pointer: ' + $data);\n up = +matches[1];\n jsonPointer = matches[2];\n if (jsonPointer == '#') {\n if (up >= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl);\n return paths[lvl - up];\n }\n\n if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl);\n data = 'data' + ((lvl - up) || '');\n if (!jsonPointer) return data;\n }\n\n var expr = data;\n var segments = jsonPointer.split('/');\n for (var i=0; i<segments.length; i++) {\n var segment = segments[i];\n if (segment) {\n data += getProperty(unescapeJsonPointer(segment));\n expr += ' && ' + data;\n }\n }\n return expr;\n}\n\n\nfunction joinPaths (a, b) {\n if (a == '\"\"') return b;\n return (a + ' + ' + b).replace(/([^\\\\])' \\+ '/g, '$1');\n}\n\n\nfunction unescapeFragment(str) {\n return unescapeJsonPointer(decodeURIComponent(str));\n}\n\n\nfunction escapeFragment(str) {\n return encodeURIComponent(escapeJsonPointer(str));\n}\n\n\nfunction escapeJsonPointer(str) {\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n\n\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/compile/util.js?"); /***/ }), /***/ "./node_modules/ajv/lib/data.js": /*!**************************************!*\ !*** ./node_modules/ajv/lib/data.js ***! \**************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar KEYWORDS = [\n 'multipleOf',\n 'maximum',\n 'exclusiveMaximum',\n 'minimum',\n 'exclusiveMinimum',\n 'maxLength',\n 'minLength',\n 'pattern',\n 'additionalItems',\n 'maxItems',\n 'minItems',\n 'uniqueItems',\n 'maxProperties',\n 'minProperties',\n 'required',\n 'additionalProperties',\n 'enum',\n 'format',\n 'const'\n];\n\nmodule.exports = function (metaSchema, keywordsJsonPointers) {\n for (var i=0; i<keywordsJsonPointers.length; i++) {\n metaSchema = JSON.parse(JSON.stringify(metaSchema));\n var segments = keywordsJsonPointers[i].split('/');\n var keywords = metaSchema;\n var j;\n for (j=1; j<segments.length; j++)\n keywords = keywords[segments[j]];\n\n for (j=0; j<KEYWORDS.length; j++) {\n var key = KEYWORDS[j];\n var schema = keywords[key];\n if (schema) {\n keywords[key] = {\n anyOf: [\n schema,\n { $ref: 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' }\n ]\n };\n }\n }\n }\n\n return metaSchema;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/data.js?"); /***/ }), /***/ "./node_modules/ajv/lib/definition_schema.js": /*!***************************************************!*\ !*** ./node_modules/ajv/lib/definition_schema.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar metaSchema = __webpack_require__(/*! ./refs/json-schema-draft-07.json */ \"./node_modules/ajv/lib/refs/json-schema-draft-07.json\");\n\nmodule.exports = {\n $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js',\n definitions: {\n simpleTypes: metaSchema.definitions.simpleTypes\n },\n type: 'object',\n dependencies: {\n schema: ['validate'],\n $data: ['validate'],\n statements: ['inline'],\n valid: {not: {required: ['macro']}}\n },\n properties: {\n type: metaSchema.properties.type,\n schema: {type: 'boolean'},\n statements: {type: 'boolean'},\n dependencies: {\n type: 'array',\n items: {type: 'string'}\n },\n metaSchema: {type: 'object'},\n modifying: {type: 'boolean'},\n valid: {type: 'boolean'},\n $data: {type: 'boolean'},\n async: {type: 'boolean'},\n errors: {\n anyOf: [\n {type: 'boolean'},\n {const: 'full'}\n ]\n }\n }\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/definition_schema.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/_limit.js": /*!**********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/_limit.js ***! \**********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate__limit(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $isMax = $keyword == 'maximum',\n $exclusiveKeyword = $isMax ? 'exclusiveMaximum' : 'exclusiveMinimum',\n $schemaExcl = it.schema[$exclusiveKeyword],\n $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data,\n $op = $isMax ? '<' : '>',\n $notOp = $isMax ? '>' : '<',\n $errorKeyword = undefined;\n if (!($isData || typeof $schema == 'number' || $schema === undefined)) {\n throw new Error($keyword + ' must be number');\n }\n if (!($isDataExcl || $schemaExcl === undefined || typeof $schemaExcl == 'number' || typeof $schemaExcl == 'boolean')) {\n throw new Error($exclusiveKeyword + ' must be number or boolean');\n }\n if ($isDataExcl) {\n var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr),\n $exclusive = 'exclusive' + $lvl,\n $exclType = 'exclType' + $lvl,\n $exclIsNumber = 'exclIsNumber' + $lvl,\n $opExpr = 'op' + $lvl,\n $opStr = '\\' + ' + $opExpr + ' + \\'';\n out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; ';\n $schemaValueExcl = 'schemaExcl' + $lvl;\n out += ' var ' + ($exclusive) + '; var ' + ($exclType) + ' = typeof ' + ($schemaValueExcl) + '; if (' + ($exclType) + ' != \\'boolean\\' && ' + ($exclType) + ' != \\'undefined\\' && ' + ($exclType) + ' != \\'number\\') { ';\n var $errorKeyword = $exclusiveKeyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_exclusiveLimit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'' + ($exclusiveKeyword) + ' should be boolean\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($exclType) + ' == \\'number\\' ? ( (' + ($exclusive) + ' = ' + ($schemaValue) + ' === undefined || ' + ($schemaValueExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ') ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValueExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) : ( (' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true) ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValue) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \\'' + ($op) + '\\' : \\'' + ($op) + '=\\'; ';\n if ($schema === undefined) {\n $errorKeyword = $exclusiveKeyword;\n $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n $schemaValue = $schemaValueExcl;\n $isData = $isDataExcl;\n }\n } else {\n var $exclIsNumber = typeof $schemaExcl == 'number',\n $opStr = $op;\n if ($exclIsNumber && $isData) {\n var $opExpr = '\\'' + $opStr + '\\'';\n out += ' if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ( ' + ($schemaValue) + ' === undefined || ' + ($schemaExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ' ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { ';\n } else {\n if ($exclIsNumber && $schema === undefined) {\n $exclusive = true;\n $errorKeyword = $exclusiveKeyword;\n $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n $schemaValue = $schemaExcl;\n $notOp += '=';\n } else {\n if ($exclIsNumber) $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema);\n if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) {\n $exclusive = true;\n $errorKeyword = $exclusiveKeyword;\n $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword;\n $notOp += '=';\n } else {\n $exclusive = false;\n $opStr += '=';\n }\n }\n var $opExpr = '\\'' + $opStr + '\\'';\n out += ' if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' || ' + ($data) + ' !== ' + ($data) + ') { ';\n }\n }\n $errorKeyword = $errorKeyword || $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limit') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: ' + ($schemaValue) + ', exclusive: ' + ($exclusive) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ' + ($opStr) + ' ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue);\n } else {\n out += '' + ($schemaValue) + '\\'';\n }\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/_limit.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/_limitItems.js": /*!***************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/_limitItems.js ***! \***************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate__limitItems(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxItems' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxItems') {\n out += 'more';\n } else {\n out += 'fewer';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' items\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/_limitItems.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/_limitLength.js": /*!****************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/_limitLength.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate__limitLength(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxLength' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n if (it.opts.unicode === false) {\n out += ' ' + ($data) + '.length ';\n } else {\n out += ' ucs2length(' + ($data) + ') ';\n }\n out += ' ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitLength') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be ';\n if ($keyword == 'maxLength') {\n out += 'longer';\n } else {\n out += 'shorter';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' characters\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/_limitLength.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/_limitProperties.js": /*!********************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/_limitProperties.js ***! \********************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate__limitProperties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxProperties' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxProperties') {\n out += 'more';\n } else {\n out += 'fewer';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' properties\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/_limitProperties.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/allOf.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/allOf.js ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_allOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $currentBaseId = $it.baseId,\n $allSchemasEmpty = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n $allSchemasEmpty = false;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($breakOnError) {\n if ($allSchemasEmpty) {\n out += ' if (true) { ';\n } else {\n out += ' ' + ($closingBraces.slice(0, -1)) + ' ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/allOf.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/anyOf.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/anyOf.js ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_anyOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $noEmptySchema = $schema.every(function($sch) {\n return (it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all));\n });\n if ($noEmptySchema) {\n var $currentBaseId = $it.baseId;\n out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { ';\n $closingBraces += '}';\n }\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('anyOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match some schema in anyOf\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/anyOf.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/comment.js": /*!***********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/comment.js ***! \***********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_comment(it, $keyword, $ruleType) {\n var out = ' ';\n var $schema = it.schema[$keyword];\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $comment = it.util.toQuotedString($schema);\n if (it.opts.$comment === true) {\n out += ' console.log(' + ($comment) + ');';\n } else if (typeof it.opts.$comment == 'function') {\n out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/comment.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/const.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/const.js ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_const(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!$isData) {\n out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('const') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValue: schema' + ($lvl) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to constant\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/const.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/contains.js": /*!************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/contains.js ***! \************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_contains(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $idx = 'i' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $currentBaseId = it.baseId,\n $nonEmptySchema = (it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all));\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($nonEmptySchema) {\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (' + ($nextValid) + ') break; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {';\n } else {\n out += ' if (' + ($data) + '.length == 0) {';\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('contains') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should contain a valid item\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n if ($nonEmptySchema) {\n out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n }\n if (it.opts.allErrors) {\n out += ' } ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/contains.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/custom.js": /*!**********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/custom.js ***! \**********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_custom(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $rule = this,\n $definition = 'definition' + $lvl,\n $rDef = $rule.definition,\n $closingBraces = '';\n var $compile, $inline, $macro, $ruleValidate, $validateCode;\n if ($isData && $rDef.$data) {\n $validateCode = 'keywordValidate' + $lvl;\n var $validateSchema = $rDef.validateSchema;\n out += ' var ' + ($definition) + ' = RULES.custom[\\'' + ($keyword) + '\\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;';\n } else {\n $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);\n if (!$ruleValidate) return;\n $schemaValue = 'validate.schema' + $schemaPath;\n $validateCode = $ruleValidate.code;\n $compile = $rDef.compile;\n $inline = $rDef.inline;\n $macro = $rDef.macro;\n }\n var $ruleErrs = $validateCode + '.errors',\n $i = 'i' + $lvl,\n $ruleErr = 'ruleErr' + $lvl,\n $asyncKeyword = $rDef.async;\n if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema');\n if (!($inline || $macro)) {\n out += '' + ($ruleErrs) + ' = null;';\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($isData && $rDef.$data) {\n $closingBraces += '}';\n out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { ';\n if ($validateSchema) {\n $closingBraces += '}';\n out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { ';\n }\n }\n if ($inline) {\n if ($rDef.statements) {\n out += ' ' + ($ruleValidate.validate) + ' ';\n } else {\n out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; ';\n }\n } else if ($macro) {\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n $it.schema = $ruleValidate.validate;\n $it.schemaPath = '';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it).replace(/validate\\.schema/g, $validateCode);\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($code);\n } else {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n out += ' ' + ($validateCode) + '.call( ';\n if (it.opts.passContext) {\n out += 'this';\n } else {\n out += 'self';\n }\n if ($compile || $rDef.schema === false) {\n out += ' , ' + ($data) + ' ';\n } else {\n out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' ';\n }\n out += ' , (dataPath || \\'\\')';\n if (it.errorPath != '\"\"') {\n out += ' + ' + (it.errorPath);\n }\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) ';\n var def_callRuleValidate = out;\n out = $$outStack.pop();\n if ($rDef.errors === false) {\n out += ' ' + ($valid) + ' = ';\n if ($asyncKeyword) {\n out += 'await ';\n }\n out += '' + (def_callRuleValidate) + '; ';\n } else {\n if ($asyncKeyword) {\n $ruleErrs = 'customErrors' + $lvl;\n out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = await ' + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } ';\n } else {\n out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; ';\n }\n }\n }\n if ($rDef.modifying) {\n out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];';\n }\n out += '' + ($closingBraces);\n if ($rDef.valid) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n } else {\n out += ' if ( ';\n if ($rDef.valid === undefined) {\n out += ' !';\n if ($macro) {\n out += '' + ($nextValid);\n } else {\n out += '' + ($valid);\n }\n } else {\n out += ' ' + (!$rDef.valid) + ' ';\n }\n out += ') { ';\n $errorKeyword = $rule.keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n var def_customError = out;\n out = $$outStack.pop();\n if ($inline) {\n if ($rDef.errors) {\n if ($rDef.errors != 'full') {\n out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } ';\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (' + ($errs) + ' == errors) { ' + (def_customError) + ' } else { for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } ';\n }\n }\n } else if ($macro) {\n out += ' var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (Array.isArray(' + ($ruleErrs) + ')) { if (vErrors === null) vErrors = ' + ($ruleErrs) + '; else vErrors = vErrors.concat(' + ($ruleErrs) + '); errors = vErrors.length; for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } else { ' + (def_customError) + ' } ';\n }\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/custom.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/dependencies.js": /*!****************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/dependencies.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_dependencies(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $schemaDeps = {},\n $propertyDeps = {},\n $ownProperties = it.opts.ownProperties;\n for ($property in $schema) {\n if ($property == '__proto__') continue;\n var $sch = $schema[$property];\n var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;\n $deps[$property] = $sch;\n }\n out += 'var ' + ($errs) + ' = errors;';\n var $currentErrorPath = it.errorPath;\n out += 'var missing' + ($lvl) + ';';\n for (var $property in $propertyDeps) {\n $deps = $propertyDeps[$property];\n if ($deps.length) {\n out += ' if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n if ($breakOnError) {\n out += ' && ( ';\n var arr1 = $deps;\n if (arr1) {\n var $propertyKey, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $propertyKey = arr1[$i += 1];\n if ($i) {\n out += ' || ';\n }\n var $prop = it.util.getProperty($propertyKey),\n $useData = $data + $prop;\n out += ' ( ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';\n }\n }\n out += ')) { ';\n var $propertyPath = 'missing' + $lvl,\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n } else {\n out += ' ) { ';\n var arr2 = $deps;\n if (arr2) {\n var $propertyKey, i2 = -1,\n l2 = arr2.length - 1;\n while (i2 < l2) {\n $propertyKey = arr2[i2 += 1];\n var $prop = it.util.getProperty($propertyKey),\n $missingProperty = it.util.escapeQuotes($propertyKey),\n $useData = $data + $prop;\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n }\n }\n }\n out += ' } ';\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n var $currentBaseId = $it.baseId;\n for (var $property in $schemaDeps) {\n var $sch = $schemaDeps[$property];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n out += ' ' + ($nextValid) + ' = true; if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n out += ') { ';\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + it.util.getProperty($property);\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/dependencies.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/enum.js": /*!********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/enum.js ***! \********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_enum(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $i = 'i' + $lvl,\n $vSchema = 'schema' + $lvl;\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ';';\n if ($isData) {\n out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';\n }\n out += '' + ($valid) + ' = false;for (var ' + ($i) + '=0; ' + ($i) + '<' + ($vSchema) + '.length; ' + ($i) + '++) if (equal(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + '])) { ' + ($valid) + ' = true; break; }';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('enum') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValues: schema' + ($lvl) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to one of the allowed values\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/enum.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/format.js": /*!**********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/format.js ***! \**********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_format(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n if (it.opts.format === false) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $unknownFormats = it.opts.unknownFormats,\n $allowUnknown = Array.isArray($unknownFormats);\n if ($isData) {\n var $format = 'format' + $lvl,\n $isObject = 'isObject' + $lvl,\n $formatType = 'formatType' + $lvl;\n out += ' var ' + ($format) + ' = formats[' + ($schemaValue) + ']; var ' + ($isObject) + ' = typeof ' + ($format) + ' == \\'object\\' && !(' + ($format) + ' instanceof RegExp) && ' + ($format) + '.validate; var ' + ($formatType) + ' = ' + ($isObject) + ' && ' + ($format) + '.type || \\'string\\'; if (' + ($isObject) + ') { ';\n if (it.async) {\n out += ' var async' + ($lvl) + ' = ' + ($format) + '.async; ';\n }\n out += ' ' + ($format) + ' = ' + ($format) + '.validate; } if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'string\\') || ';\n }\n out += ' (';\n if ($unknownFormats != 'ignore') {\n out += ' (' + ($schemaValue) + ' && !' + ($format) + ' ';\n if ($allowUnknown) {\n out += ' && self._opts.unknownFormats.indexOf(' + ($schemaValue) + ') == -1 ';\n }\n out += ') || ';\n }\n out += ' (' + ($format) + ' && ' + ($formatType) + ' == \\'' + ($ruleType) + '\\' && !(typeof ' + ($format) + ' == \\'function\\' ? ';\n if (it.async) {\n out += ' (async' + ($lvl) + ' ? await ' + ($format) + '(' + ($data) + ') : ' + ($format) + '(' + ($data) + ')) ';\n } else {\n out += ' ' + ($format) + '(' + ($data) + ') ';\n }\n out += ' : ' + ($format) + '.test(' + ($data) + '))))) {';\n } else {\n var $format = it.formats[$schema];\n if (!$format) {\n if ($unknownFormats == 'ignore') {\n it.logger.warn('unknown format \"' + $schema + '\" ignored in schema at path \"' + it.errSchemaPath + '\"');\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else if ($allowUnknown && $unknownFormats.indexOf($schema) >= 0) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n } else {\n throw new Error('unknown format \"' + $schema + '\" is used in schema at path \"' + it.errSchemaPath + '\"');\n }\n }\n var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate;\n var $formatType = $isObject && $format.type || 'string';\n if ($isObject) {\n var $async = $format.async === true;\n $format = $format.validate;\n }\n if ($formatType != $ruleType) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n return out;\n }\n if ($async) {\n if (!it.async) throw new Error('async format in sync schema');\n var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate';\n out += ' if (!(await ' + ($formatRef) + '(' + ($data) + '))) { ';\n } else {\n out += ' if (! ';\n var $formatRef = 'formats' + it.util.getProperty($schema);\n if ($isObject) $formatRef += '.validate';\n if (typeof $format == 'function') {\n out += ' ' + ($formatRef) + '(' + ($data) + ') ';\n } else {\n out += ' ' + ($formatRef) + '.test(' + ($data) + ') ';\n }\n out += ') { ';\n }\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('format') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match format \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/format.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/if.js": /*!******************************************!*\ !*** ./node_modules/ajv/lib/dotjs/if.js ***! \******************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_if(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $thenSch = it.schema['then'],\n $elseSch = it.schema['else'],\n $thenPresent = $thenSch !== undefined && (it.opts.strictKeywords ? (typeof $thenSch == 'object' && Object.keys($thenSch).length > 0) || $thenSch === false : it.util.schemaHasRules($thenSch, it.RULES.all)),\n $elsePresent = $elseSch !== undefined && (it.opts.strictKeywords ? (typeof $elseSch == 'object' && Object.keys($elseSch).length > 0) || $elseSch === false : it.util.schemaHasRules($elseSch, it.RULES.all)),\n $currentBaseId = $it.baseId;\n if ($thenPresent || $elsePresent) {\n var $ifClause;\n $it.createErrors = false;\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = true; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n $it.createErrors = true;\n out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n if ($thenPresent) {\n out += ' if (' + ($nextValid) + ') { ';\n $it.schema = it.schema['then'];\n $it.schemaPath = it.schemaPath + '.then';\n $it.errSchemaPath = it.errSchemaPath + '/then';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';\n if ($thenPresent && $elsePresent) {\n $ifClause = 'ifClause' + $lvl;\n out += ' var ' + ($ifClause) + ' = \\'then\\'; ';\n } else {\n $ifClause = '\\'then\\'';\n }\n out += ' } ';\n if ($elsePresent) {\n out += ' else { ';\n }\n } else {\n out += ' if (!' + ($nextValid) + ') { ';\n }\n if ($elsePresent) {\n $it.schema = it.schema['else'];\n $it.schemaPath = it.schemaPath + '.else';\n $it.errSchemaPath = it.errSchemaPath + '/else';\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($nextValid) + '; ';\n if ($thenPresent && $elsePresent) {\n $ifClause = 'ifClause' + $lvl;\n out += ' var ' + ($ifClause) + ' = \\'else\\'; ';\n } else {\n $ifClause = '\\'else\\'';\n }\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('if') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { failingKeyword: ' + ($ifClause) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match \"\\' + ' + ($ifClause) + ' + \\'\" schema\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/if.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/index.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/index.js ***! \*********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\n//all requires must be explicit because browserify won't work with dynamic requires\nmodule.exports = {\n '$ref': __webpack_require__(/*! ./ref */ \"./node_modules/ajv/lib/dotjs/ref.js\"),\n allOf: __webpack_require__(/*! ./allOf */ \"./node_modules/ajv/lib/dotjs/allOf.js\"),\n anyOf: __webpack_require__(/*! ./anyOf */ \"./node_modules/ajv/lib/dotjs/anyOf.js\"),\n '$comment': __webpack_require__(/*! ./comment */ \"./node_modules/ajv/lib/dotjs/comment.js\"),\n const: __webpack_require__(/*! ./const */ \"./node_modules/ajv/lib/dotjs/const.js\"),\n contains: __webpack_require__(/*! ./contains */ \"./node_modules/ajv/lib/dotjs/contains.js\"),\n dependencies: __webpack_require__(/*! ./dependencies */ \"./node_modules/ajv/lib/dotjs/dependencies.js\"),\n 'enum': __webpack_require__(/*! ./enum */ \"./node_modules/ajv/lib/dotjs/enum.js\"),\n format: __webpack_require__(/*! ./format */ \"./node_modules/ajv/lib/dotjs/format.js\"),\n 'if': __webpack_require__(/*! ./if */ \"./node_modules/ajv/lib/dotjs/if.js\"),\n items: __webpack_require__(/*! ./items */ \"./node_modules/ajv/lib/dotjs/items.js\"),\n maximum: __webpack_require__(/*! ./_limit */ \"./node_modules/ajv/lib/dotjs/_limit.js\"),\n minimum: __webpack_require__(/*! ./_limit */ \"./node_modules/ajv/lib/dotjs/_limit.js\"),\n maxItems: __webpack_require__(/*! ./_limitItems */ \"./node_modules/ajv/lib/dotjs/_limitItems.js\"),\n minItems: __webpack_require__(/*! ./_limitItems */ \"./node_modules/ajv/lib/dotjs/_limitItems.js\"),\n maxLength: __webpack_require__(/*! ./_limitLength */ \"./node_modules/ajv/lib/dotjs/_limitLength.js\"),\n minLength: __webpack_require__(/*! ./_limitLength */ \"./node_modules/ajv/lib/dotjs/_limitLength.js\"),\n maxProperties: __webpack_require__(/*! ./_limitProperties */ \"./node_modules/ajv/lib/dotjs/_limitProperties.js\"),\n minProperties: __webpack_require__(/*! ./_limitProperties */ \"./node_modules/ajv/lib/dotjs/_limitProperties.js\"),\n multipleOf: __webpack_require__(/*! ./multipleOf */ \"./node_modules/ajv/lib/dotjs/multipleOf.js\"),\n not: __webpack_require__(/*! ./not */ \"./node_modules/ajv/lib/dotjs/not.js\"),\n oneOf: __webpack_require__(/*! ./oneOf */ \"./node_modules/ajv/lib/dotjs/oneOf.js\"),\n pattern: __webpack_require__(/*! ./pattern */ \"./node_modules/ajv/lib/dotjs/pattern.js\"),\n properties: __webpack_require__(/*! ./properties */ \"./node_modules/ajv/lib/dotjs/properties.js\"),\n propertyNames: __webpack_require__(/*! ./propertyNames */ \"./node_modules/ajv/lib/dotjs/propertyNames.js\"),\n required: __webpack_require__(/*! ./required */ \"./node_modules/ajv/lib/dotjs/required.js\"),\n uniqueItems: __webpack_require__(/*! ./uniqueItems */ \"./node_modules/ajv/lib/dotjs/uniqueItems.js\"),\n validate: __webpack_require__(/*! ./validate */ \"./node_modules/ajv/lib/dotjs/validate.js\")\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/index.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/items.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/items.js ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_items(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $idx = 'i' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $currentBaseId = it.baseId;\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if (Array.isArray($schema)) {\n var $additionalItems = it.schema.additionalItems;\n if ($additionalItems === false) {\n out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; ';\n var $currErrSchemaPath = $errSchemaPath;\n $errSchemaPath = it.errSchemaPath + '/additionalItems';\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('additionalItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have more than ' + ($schema.length) + ' items\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { ';\n var $passData = $data + '[' + $i + ']';\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true);\n $it.dataPathArr[$dataNxt] = $i;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if (typeof $additionalItems == 'object' && (it.opts.strictKeywords ? (typeof $additionalItems == 'object' && Object.keys($additionalItems).length > 0) || $additionalItems === false : it.util.schemaHasRules($additionalItems, it.RULES.all))) {\n $it.schema = $additionalItems;\n $it.schemaPath = it.schemaPath + '.additionalItems';\n $it.errSchemaPath = it.errSchemaPath + '/additionalItems';\n out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n } else if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' }';\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/items.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/multipleOf.js": /*!**************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/multipleOf.js ***! \**************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_multipleOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n out += 'var division' + ($lvl) + ';if (';\n if ($isData) {\n out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \\'number\\' || ';\n }\n out += ' (division' + ($lvl) + ' = ' + ($data) + ' / ' + ($schemaValue) + ', ';\n if (it.opts.multipleOfPrecision) {\n out += ' Math.abs(Math.round(division' + ($lvl) + ') - division' + ($lvl) + ') > 1e-' + (it.opts.multipleOfPrecision) + ' ';\n } else {\n out += ' division' + ($lvl) + ' !== parseInt(division' + ($lvl) + ') ';\n }\n out += ' ) ';\n if ($isData) {\n out += ' ) ';\n }\n out += ' ) { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('multipleOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { multipleOf: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be multiple of ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue);\n } else {\n out += '' + ($schemaValue) + '\\'';\n }\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/multipleOf.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/not.js": /*!*******************************************!*\ !*** ./node_modules/ajv/lib/dotjs/not.js ***! \*******************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_not(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.createErrors = false;\n var $allErrorsOption;\n if ($it.opts.allErrors) {\n $allErrorsOption = $it.opts.allErrors;\n $it.opts.allErrors = false;\n }\n out += ' ' + (it.validate($it)) + ' ';\n $it.createErrors = true;\n if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption;\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' if (' + ($nextValid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('not') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be valid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n } else {\n out += ' var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('not') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be valid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if ($breakOnError) {\n out += ' if (false) { ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/not.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/oneOf.js": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/oneOf.js ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_oneOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $currentBaseId = $it.baseId,\n $prevValid = 'prevValid' + $lvl,\n $passingSchemas = 'passingSchemas' + $lvl;\n out += 'var ' + ($errs) + ' = errors , ' + ($prevValid) + ' = false , ' + ($valid) + ' = false , ' + ($passingSchemas) + ' = null; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n } else {\n out += ' var ' + ($nextValid) + ' = true; ';\n }\n if ($i) {\n out += ' if (' + ($nextValid) + ' && ' + ($prevValid) + ') { ' + ($valid) + ' = false; ' + ($passingSchemas) + ' = [' + ($passingSchemas) + ', ' + ($i) + ']; } else { ';\n $closingBraces += '}';\n }\n out += ' if (' + ($nextValid) + ') { ' + ($valid) + ' = ' + ($prevValid) + ' = true; ' + ($passingSchemas) + ' = ' + ($i) + '; }';\n }\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('oneOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { passingSchemas: ' + ($passingSchemas) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match exactly one schema in oneOf\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += '} else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; }';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/oneOf.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/pattern.js": /*!***********************************************!*\ !*** ./node_modules/ajv/lib/dotjs/pattern.js ***! \***********************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_pattern(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema);\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'string\\') || ';\n }\n out += ' !' + ($regexp) + '.test(' + ($data) + ') ) { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('pattern') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { pattern: ';\n if ($isData) {\n out += '' + ($schemaValue);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match pattern \"';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + (it.util.escapeQuotes($schema));\n }\n out += '\"\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + (it.util.toQuotedString($schema));\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/pattern.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/properties.js": /*!**************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/properties.js ***! \**************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_properties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl;\n var $schemaKeys = Object.keys($schema || {}).filter(notProto),\n $pProperties = it.schema.patternProperties || {},\n $pPropertyKeys = Object.keys($pProperties).filter(notProto),\n $aProperties = it.schema.additionalProperties,\n $someProperties = $schemaKeys.length || $pPropertyKeys.length,\n $noAdditional = $aProperties === false,\n $additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length,\n $removeAdditional = it.opts.removeAdditional,\n $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n var $required = it.schema.required;\n if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) {\n var $requiredHash = it.util.toHash($required);\n }\n\n function notProto(p) {\n return p !== '__proto__';\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;';\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined;';\n }\n if ($checkAdditional) {\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n if ($someProperties) {\n out += ' var isAdditional' + ($lvl) + ' = !(false ';\n if ($schemaKeys.length) {\n if ($schemaKeys.length > 8) {\n out += ' || validate.schema' + ($schemaPath) + '.hasOwnProperty(' + ($key) + ') ';\n } else {\n var arr1 = $schemaKeys;\n if (arr1) {\n var $propertyKey, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $propertyKey = arr1[i1 += 1];\n out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' ';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr2 = $pPropertyKeys;\n if (arr2) {\n var $pProperty, $i = -1,\n l2 = arr2.length - 1;\n while ($i < l2) {\n $pProperty = arr2[$i += 1];\n out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';\n }\n }\n }\n out += ' ); if (isAdditional' + ($lvl) + ') { ';\n }\n if ($removeAdditional == 'all') {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n var $currentErrorPath = it.errorPath;\n var $additionalProperty = '\\' + ' + $key + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n }\n if ($noAdditional) {\n if ($removeAdditional) {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n out += ' ' + ($nextValid) + ' = false; ';\n var $currErrSchemaPath = $errSchemaPath;\n $errSchemaPath = it.errSchemaPath + '/additionalProperties';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('additionalProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \\'' + ($additionalProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is an invalid additional property';\n } else {\n out += 'should NOT have additional properties';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n out += ' break; ';\n }\n }\n } else if ($additionalIsSchema) {\n if ($removeAdditional == 'failing') {\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n } else {\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n }\n if ($someProperties) {\n out += ' } ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n var $useDefaults = it.opts.useDefaults && !it.compositeRule;\n if ($schemaKeys.length) {\n var arr3 = $schemaKeys;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $sch = $schema[$propertyKey];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n var $prop = it.util.getProperty($propertyKey),\n $passData = $data + $prop,\n $hasDefault = $useDefaults && $sch.default !== undefined;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + $prop;\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey);\n $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers);\n $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey);\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n $code = it.util.varReplace($code, $nextData, $passData);\n var $useData = $passData;\n } else {\n var $useData = $nextData;\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ';\n }\n if ($hasDefault) {\n out += ' ' + ($code) + ' ';\n } else {\n if ($requiredHash && $requiredHash[$propertyKey]) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = false; ';\n var $currentErrorPath = it.errorPath,\n $currErrSchemaPath = $errSchemaPath,\n $missingProperty = it.util.escapeQuotes($propertyKey);\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n $errSchemaPath = it.errSchemaPath + '/required';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n it.errorPath = $currentErrorPath;\n out += ' } else { ';\n } else {\n if ($breakOnError) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = true; } else { ';\n } else {\n out += ' if (' + ($useData) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ' ) { ';\n }\n }\n out += ' ' + ($code) + ' } ';\n }\n }\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr4 = $pPropertyKeys;\n if (arr4) {\n var $pProperty, i4 = -1,\n l4 = arr4.length - 1;\n while (i4 < l4) {\n $pProperty = arr4[i4 += 1];\n var $sch = $pProperties[$pProperty];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n $it.schema = $sch;\n $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty);\n $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty);\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else ' + ($nextValid) + ' = true; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/properties.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/propertyNames.js": /*!*****************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/propertyNames.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_propertyNames(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n out += 'var ' + ($errs) + ' = errors;';\n if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $i = 'i' + $lvl,\n $invalidName = '\\' + ' + $key + ' + \\'',\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined; ';\n }\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' var startErrs' + ($lvl) + ' = errors; ';\n var $passData = $key;\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '<errors; ' + ($i) + '++) { vErrors[' + ($i) + '].propertyName = ' + ($key) + '; } var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('propertyNames') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { propertyName: \\'' + ($invalidName) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'property name \\\\\\'' + ($invalidName) + '\\\\\\' is invalid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n if ($breakOnError) {\n out += ' break; ';\n }\n out += ' } }';\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/propertyNames.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/ref.js": /*!*******************************************!*\ !*** ./node_modules/ajv/lib/dotjs/ref.js ***! \*******************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_ref(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $async, $refCode;\n if ($schema == '#' || $schema == '#/') {\n if (it.isRoot) {\n $async = it.async;\n $refCode = 'validate';\n } else {\n $async = it.root.schema.$async === true;\n $refCode = 'root.refVal[0]';\n }\n } else {\n var $refVal = it.resolveRef(it.baseId, $schema, it.isRoot);\n if ($refVal === undefined) {\n var $message = it.MissingRefError.message(it.baseId, $schema);\n if (it.opts.missingRefs == 'fail') {\n it.logger.error($message);\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('$ref') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { ref: \\'' + (it.util.escapeQuotes($schema)) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'can\\\\\\'t resolve reference ' + (it.util.escapeQuotes($schema)) + '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ' + (it.util.toQuotedString($schema)) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n if ($breakOnError) {\n out += ' if (false) { ';\n }\n } else if (it.opts.missingRefs == 'ignore') {\n it.logger.warn($message);\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n } else {\n throw new it.MissingRefError(it.baseId, $schema, $message);\n }\n } else if ($refVal.inline) {\n var $it = it.util.copy(it);\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n $it.schema = $refVal.schema;\n $it.schemaPath = '';\n $it.errSchemaPath = $schema;\n var $code = it.validate($it).replace(/validate\\.schema/g, $refVal.code);\n out += ' ' + ($code) + ' ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n }\n } else {\n $async = $refVal.$async === true || (it.async && $refVal.$async !== false);\n $refCode = $refVal.code;\n }\n }\n if ($refCode) {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n if (it.opts.passContext) {\n out += ' ' + ($refCode) + '.call(this, ';\n } else {\n out += ' ' + ($refCode) + '( ';\n }\n out += ' ' + ($data) + ', (dataPath || \\'\\')';\n if (it.errorPath != '\"\"') {\n out += ' + ' + (it.errorPath);\n }\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ', rootData) ';\n var __callValidate = out;\n out = $$outStack.pop();\n if ($async) {\n if (!it.async) throw new Error('async schema referenced by sync schema');\n if ($breakOnError) {\n out += ' var ' + ($valid) + '; ';\n }\n out += ' try { await ' + (__callValidate) + '; ';\n if ($breakOnError) {\n out += ' ' + ($valid) + ' = true; ';\n }\n out += ' } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ';\n if ($breakOnError) {\n out += ' ' + ($valid) + ' = false; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($valid) + ') { ';\n }\n } else {\n out += ' if (!' + (__callValidate) + ') { if (vErrors === null) vErrors = ' + ($refCode) + '.errors; else vErrors = vErrors.concat(' + ($refCode) + '.errors); errors = vErrors.length; } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/ref.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/required.js": /*!************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/required.js ***! \************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_required(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $vSchema = 'schema' + $lvl;\n if (!$isData) {\n if ($schema.length < it.opts.loopRequired && it.schema.properties && Object.keys(it.schema.properties).length) {\n var $required = [];\n var arr1 = $schema;\n if (arr1) {\n var $property, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $property = arr1[i1 += 1];\n var $propertySch = it.schema.properties[$property];\n if (!($propertySch && (it.opts.strictKeywords ? (typeof $propertySch == 'object' && Object.keys($propertySch).length > 0) || $propertySch === false : it.util.schemaHasRules($propertySch, it.RULES.all)))) {\n $required[$required.length] = $property;\n }\n }\n }\n } else {\n var $required = $schema;\n }\n }\n if ($isData || $required.length) {\n var $currentErrorPath = it.errorPath,\n $loopRequired = $isData || $required.length >= it.opts.loopRequired,\n $ownProperties = it.opts.ownProperties;\n if ($breakOnError) {\n out += ' var missing' + ($lvl) + '; ';\n if ($loopRequired) {\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; ';\n }\n var $i = 'i' + $lvl,\n $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n }\n out += ' var ' + ($valid) + ' = true; ';\n if ($isData) {\n out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {';\n }\n out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { ' + ($valid) + ' = ' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) ';\n }\n out += '; if (!' + ($valid) + ') break; } ';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n } else {\n out += ' if ( ';\n var arr2 = $required;\n if (arr2) {\n var $propertyKey, $i = -1,\n l2 = arr2.length - 1;\n while ($i < l2) {\n $propertyKey = arr2[$i += 1];\n if ($i) {\n out += ' || ';\n }\n var $prop = it.util.getProperty($propertyKey),\n $useData = $data + $prop;\n out += ' ( ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';\n }\n }\n out += ') { ';\n var $propertyPath = 'missing' + $lvl,\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n }\n } else {\n if ($loopRequired) {\n if (!$isData) {\n out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; ';\n }\n var $i = 'i' + $lvl,\n $propertyPath = 'schema' + $lvl + '[' + $i + ']',\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers);\n }\n if ($isData) {\n out += ' if (' + ($vSchema) + ' && !Array.isArray(' + ($vSchema) + ')) { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (' + ($vSchema) + ' !== undefined) { ';\n }\n out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { if (' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ';\n if ($isData) {\n out += ' } ';\n }\n } else {\n var arr3 = $required;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $prop = it.util.getProperty($propertyKey),\n $missingProperty = it.util.escapeQuotes($propertyKey),\n $useData = $data + $prop;\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n }\n }\n }\n }\n it.errorPath = $currentErrorPath;\n } else if ($breakOnError) {\n out += ' if (true) {';\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/required.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/uniqueItems.js": /*!***************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/uniqueItems.js ***! \***************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_uniqueItems(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (($schema || $isData) && it.opts.uniqueItems !== false) {\n if ($isData) {\n out += ' var ' + ($valid) + '; if (' + ($schemaValue) + ' === false || ' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \\'boolean\\') ' + ($valid) + ' = false; else { ';\n }\n out += ' var i = ' + ($data) + '.length , ' + ($valid) + ' = true , j; if (i > 1) { ';\n var $itemType = it.schema.items && it.schema.items.type,\n $typeIsArray = Array.isArray($itemType);\n if (!$itemType || $itemType == 'object' || $itemType == 'array' || ($typeIsArray && ($itemType.indexOf('object') >= 0 || $itemType.indexOf('array') >= 0))) {\n out += ' outer: for (;i--;) { for (j = i; j--;) { if (equal(' + ($data) + '[i], ' + ($data) + '[j])) { ' + ($valid) + ' = false; break outer; } } } ';\n } else {\n out += ' var itemIndices = {}, item; for (;i--;) { var item = ' + ($data) + '[i]; ';\n var $method = 'checkDataType' + ($typeIsArray ? 's' : '');\n out += ' if (' + (it.util[$method]($itemType, 'item', it.opts.strictNumbers, true)) + ') continue; ';\n if ($typeIsArray) {\n out += ' if (typeof item == \\'string\\') item = \\'\"\\' + item; ';\n }\n out += ' if (typeof itemIndices[item] == \\'number\\') { ' + ($valid) + ' = false; j = itemIndices[item]; break; } itemIndices[item] = i; } ';\n }\n out += ' } ';\n if ($isData) {\n out += ' } ';\n }\n out += ' if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('uniqueItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { i: i, j: j } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have duplicate items (items ## \\' + j + \\' and \\' + i + \\' are identical)\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/uniqueItems.js?"); /***/ }), /***/ "./node_modules/ajv/lib/dotjs/validate.js": /*!************************************************!*\ !*** ./node_modules/ajv/lib/dotjs/validate.js ***! \************************************************/ /***/ ((module) => { "use strict"; eval("\nmodule.exports = function generate_validate(it, $keyword, $ruleType) {\n var out = '';\n var $async = it.schema.$async === true,\n $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'),\n $id = it.self._getId(it.schema);\n if (it.opts.strictKeywords) {\n var $unknownKwd = it.util.schemaUnknownRules(it.schema, it.RULES.keywords);\n if ($unknownKwd) {\n var $keywordsMsg = 'unknown keyword: ' + $unknownKwd;\n if (it.opts.strictKeywords === 'log') it.logger.warn($keywordsMsg);\n else throw new Error($keywordsMsg);\n }\n }\n if (it.isTop) {\n out += ' var validate = ';\n if ($async) {\n it.async = true;\n out += 'async ';\n }\n out += 'function(data, dataPath, parentData, parentDataProperty, rootData) { \\'use strict\\'; ';\n if ($id && (it.opts.sourceCode || it.opts.processCode)) {\n out += ' ' + ('/\\*# sourceURL=' + $id + ' */') + ' ';\n }\n }\n if (typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref)) {\n var $keyword = 'false schema';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n if (it.schema === false) {\n if (it.isTop) {\n $breakOnError = true;\n } else {\n out += ' var ' + ($valid) + ' = false; ';\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'false schema') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'boolean schema is false\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n } else {\n if (it.isTop) {\n if ($async) {\n out += ' return data; ';\n } else {\n out += ' validate.errors = null; return true; ';\n }\n } else {\n out += ' var ' + ($valid) + ' = true; ';\n }\n }\n if (it.isTop) {\n out += ' }; return validate; ';\n }\n return out;\n }\n if (it.isTop) {\n var $top = it.isTop,\n $lvl = it.level = 0,\n $dataLvl = it.dataLevel = 0,\n $data = 'data';\n it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema));\n it.baseId = it.baseId || it.rootId;\n delete it.isTop;\n it.dataPathArr = [\"\"];\n if (it.schema.default !== undefined && it.opts.useDefaults && it.opts.strictDefaults) {\n var $defaultMsg = 'default is ignored in the schema root';\n if (it.opts.strictDefaults === 'log') it.logger.warn($defaultMsg);\n else throw new Error($defaultMsg);\n }\n out += ' var vErrors = null; ';\n out += ' var errors = 0; ';\n out += ' if (rootData === undefined) rootData = data; ';\n } else {\n var $lvl = it.level,\n $dataLvl = it.dataLevel,\n $data = 'data' + ($dataLvl || '');\n if ($id) it.baseId = it.resolve.url(it.baseId, $id);\n if ($async && !it.async) throw new Error('async schema in sync schema');\n out += ' var errs_' + ($lvl) + ' = errors;';\n }\n var $valid = 'valid' + $lvl,\n $breakOnError = !it.opts.allErrors,\n $closingBraces1 = '',\n $closingBraces2 = '';\n var $errorKeyword;\n var $typeSchema = it.schema.type,\n $typeIsArray = Array.isArray($typeSchema);\n if ($typeSchema && it.opts.nullable && it.schema.nullable === true) {\n if ($typeIsArray) {\n if ($typeSchema.indexOf('null') == -1) $typeSchema = $typeSchema.concat('null');\n } else if ($typeSchema != 'null') {\n $typeSchema = [$typeSchema, 'null'];\n $typeIsArray = true;\n }\n }\n if ($typeIsArray && $typeSchema.length == 1) {\n $typeSchema = $typeSchema[0];\n $typeIsArray = false;\n }\n if (it.schema.$ref && $refKeywords) {\n if (it.opts.extendRefs == 'fail') {\n throw new Error('$ref: validation keywords used in schema at path \"' + it.errSchemaPath + '\" (see option extendRefs)');\n } else if (it.opts.extendRefs !== true) {\n $refKeywords = false;\n it.logger.warn('$ref: keywords ignored in schema at path \"' + it.errSchemaPath + '\"');\n }\n }\n if (it.schema.$comment && it.opts.$comment) {\n out += ' ' + (it.RULES.all.$comment.code(it, '$comment'));\n }\n if ($typeSchema) {\n if (it.opts.coerceTypes) {\n var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema);\n }\n var $rulesGroup = it.RULES.types[$typeSchema];\n if ($coerceToTypes || $typeIsArray || $rulesGroup === true || ($rulesGroup && !$shouldUseGroup($rulesGroup))) {\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type';\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type',\n $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType';\n out += ' if (' + (it.util[$method]($typeSchema, $data, it.opts.strictNumbers, true)) + ') { ';\n if ($coerceToTypes) {\n var $dataType = 'dataType' + $lvl,\n $coerced = 'coerced' + $lvl;\n out += ' var ' + ($dataType) + ' = typeof ' + ($data) + '; var ' + ($coerced) + ' = undefined; ';\n if (it.opts.coerceTypes == 'array') {\n out += ' if (' + ($dataType) + ' == \\'object\\' && Array.isArray(' + ($data) + ') && ' + ($data) + '.length == 1) { ' + ($data) + ' = ' + ($data) + '[0]; ' + ($dataType) + ' = typeof ' + ($data) + '; if (' + (it.util.checkDataType(it.schema.type, $data, it.opts.strictNumbers)) + ') ' + ($coerced) + ' = ' + ($data) + '; } ';\n }\n out += ' if (' + ($coerced) + ' !== undefined) ; ';\n var arr1 = $coerceToTypes;\n if (arr1) {\n var $type, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $type = arr1[$i += 1];\n if ($type == 'string') {\n out += ' else if (' + ($dataType) + ' == \\'number\\' || ' + ($dataType) + ' == \\'boolean\\') ' + ($coerced) + ' = \\'\\' + ' + ($data) + '; else if (' + ($data) + ' === null) ' + ($coerced) + ' = \\'\\'; ';\n } else if ($type == 'number' || $type == 'integer') {\n out += ' else if (' + ($dataType) + ' == \\'boolean\\' || ' + ($data) + ' === null || (' + ($dataType) + ' == \\'string\\' && ' + ($data) + ' && ' + ($data) + ' == +' + ($data) + ' ';\n if ($type == 'integer') {\n out += ' && !(' + ($data) + ' % 1)';\n }\n out += ')) ' + ($coerced) + ' = +' + ($data) + '; ';\n } else if ($type == 'boolean') {\n out += ' else if (' + ($data) + ' === \\'false\\' || ' + ($data) + ' === 0 || ' + ($data) + ' === null) ' + ($coerced) + ' = false; else if (' + ($data) + ' === \\'true\\' || ' + ($data) + ' === 1) ' + ($coerced) + ' = true; ';\n } else if ($type == 'null') {\n out += ' else if (' + ($data) + ' === \\'\\' || ' + ($data) + ' === 0 || ' + ($data) + ' === false) ' + ($coerced) + ' = null; ';\n } else if (it.opts.coerceTypes == 'array' && $type == 'array') {\n out += ' else if (' + ($dataType) + ' == \\'string\\' || ' + ($dataType) + ' == \\'number\\' || ' + ($dataType) + ' == \\'boolean\\' || ' + ($data) + ' == null) ' + ($coerced) + ' = [' + ($data) + ']; ';\n }\n }\n }\n out += ' else { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } if (' + ($coerced) + ' !== undefined) { ';\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' ' + ($data) + ' = ' + ($coerced) + '; ';\n if (!$dataLvl) {\n out += 'if (' + ($parentData) + ' !== undefined)';\n }\n out += ' ' + ($parentData) + '[' + ($parentDataProperty) + '] = ' + ($coerced) + '; } ';\n } else {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n }\n out += ' } ';\n }\n }\n if (it.schema.$ref && !$refKeywords) {\n out += ' ' + (it.RULES.all.$ref.code(it, '$ref')) + ' ';\n if ($breakOnError) {\n out += ' } if (errors === ';\n if ($top) {\n out += '0';\n } else {\n out += 'errs_' + ($lvl);\n }\n out += ') { ';\n $closingBraces2 += '}';\n }\n } else {\n var arr2 = it.RULES;\n if (arr2) {\n var $rulesGroup, i2 = -1,\n l2 = arr2.length - 1;\n while (i2 < l2) {\n $rulesGroup = arr2[i2 += 1];\n if ($shouldUseGroup($rulesGroup)) {\n if ($rulesGroup.type) {\n out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data, it.opts.strictNumbers)) + ') { ';\n }\n if (it.opts.useDefaults) {\n if ($rulesGroup.type == 'object' && it.schema.properties) {\n var $schema = it.schema.properties,\n $schemaKeys = Object.keys($schema);\n var arr3 = $schemaKeys;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $sch = $schema[$propertyKey];\n if ($sch.default !== undefined) {\n var $passData = $data + it.util.getProperty($propertyKey);\n if (it.compositeRule) {\n if (it.opts.strictDefaults) {\n var $defaultMsg = 'default is ignored for: ' + $passData;\n if (it.opts.strictDefaults === 'log') it.logger.warn($defaultMsg);\n else throw new Error($defaultMsg);\n }\n } else {\n out += ' if (' + ($passData) + ' === undefined ';\n if (it.opts.useDefaults == 'empty') {\n out += ' || ' + ($passData) + ' === null || ' + ($passData) + ' === \\'\\' ';\n }\n out += ' ) ' + ($passData) + ' = ';\n if (it.opts.useDefaults == 'shared') {\n out += ' ' + (it.useDefault($sch.default)) + ' ';\n } else {\n out += ' ' + (JSON.stringify($sch.default)) + ' ';\n }\n out += '; ';\n }\n }\n }\n }\n } else if ($rulesGroup.type == 'array' && Array.isArray(it.schema.items)) {\n var arr4 = it.schema.items;\n if (arr4) {\n var $sch, $i = -1,\n l4 = arr4.length - 1;\n while ($i < l4) {\n $sch = arr4[$i += 1];\n if ($sch.default !== undefined) {\n var $passData = $data + '[' + $i + ']';\n if (it.compositeRule) {\n if (it.opts.strictDefaults) {\n var $defaultMsg = 'default is ignored for: ' + $passData;\n if (it.opts.strictDefaults === 'log') it.logger.warn($defaultMsg);\n else throw new Error($defaultMsg);\n }\n } else {\n out += ' if (' + ($passData) + ' === undefined ';\n if (it.opts.useDefaults == 'empty') {\n out += ' || ' + ($passData) + ' === null || ' + ($passData) + ' === \\'\\' ';\n }\n out += ' ) ' + ($passData) + ' = ';\n if (it.opts.useDefaults == 'shared') {\n out += ' ' + (it.useDefault($sch.default)) + ' ';\n } else {\n out += ' ' + (JSON.stringify($sch.default)) + ' ';\n }\n out += '; ';\n }\n }\n }\n }\n }\n }\n var arr5 = $rulesGroup.rules;\n if (arr5) {\n var $rule, i5 = -1,\n l5 = arr5.length - 1;\n while (i5 < l5) {\n $rule = arr5[i5 += 1];\n if ($shouldUseRule($rule)) {\n var $code = $rule.code(it, $rule.keyword, $rulesGroup.type);\n if ($code) {\n out += ' ' + ($code) + ' ';\n if ($breakOnError) {\n $closingBraces1 += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces1) + ' ';\n $closingBraces1 = '';\n }\n if ($rulesGroup.type) {\n out += ' } ';\n if ($typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes) {\n out += ' else { ';\n var $schemaPath = it.schemaPath + '.type',\n $errSchemaPath = it.errSchemaPath + '/type';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'type') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \\'';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be ';\n if ($typeIsArray) {\n out += '' + ($typeSchema.join(\",\"));\n } else {\n out += '' + ($typeSchema);\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } ';\n }\n }\n if ($breakOnError) {\n out += ' if (errors === ';\n if ($top) {\n out += '0';\n } else {\n out += 'errs_' + ($lvl);\n }\n out += ') { ';\n $closingBraces2 += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces2) + ' ';\n }\n if ($top) {\n if ($async) {\n out += ' if (errors === 0) return data; ';\n out += ' else throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; ';\n out += ' return errors === 0; ';\n }\n out += ' }; return validate;';\n } else {\n out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';';\n }\n\n function $shouldUseGroup($rulesGroup) {\n var rules = $rulesGroup.rules;\n for (var i = 0; i < rules.length; i++)\n if ($shouldUseRule(rules[i])) return true;\n }\n\n function $shouldUseRule($rule) {\n return it.schema[$rule.keyword] !== undefined || ($rule.implements && $ruleImplementsSomeKeyword($rule));\n }\n\n function $ruleImplementsSomeKeyword($rule) {\n var impl = $rule.implements;\n for (var i = 0; i < impl.length; i++)\n if (it.schema[impl[i]] !== undefined) return true;\n }\n return out;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/dotjs/validate.js?"); /***/ }), /***/ "./node_modules/ajv/lib/keyword.js": /*!*****************************************!*\ !*** ./node_modules/ajv/lib/keyword.js ***! \*****************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;\nvar customRuleCode = __webpack_require__(/*! ./dotjs/custom */ \"./node_modules/ajv/lib/dotjs/custom.js\");\nvar definitionSchema = __webpack_require__(/*! ./definition_schema */ \"./node_modules/ajv/lib/definition_schema.js\");\n\nmodule.exports = {\n add: addKeyword,\n get: getKeyword,\n remove: removeKeyword,\n validate: validateKeyword\n};\n\n\n/**\n * Define custom keyword\n * @this Ajv\n * @param {String} keyword custom keyword, should be unique (including different from all standard, custom and macro keywords).\n * @param {Object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`.\n * @return {Ajv} this for method chaining\n */\nfunction addKeyword(keyword, definition) {\n /* jshint validthis: true */\n /* eslint no-shadow: 0 */\n var RULES = this.RULES;\n if (RULES.keywords[keyword])\n throw new Error('Keyword ' + keyword + ' is already defined');\n\n if (!IDENTIFIER.test(keyword))\n throw new Error('Keyword ' + keyword + ' is not a valid identifier');\n\n if (definition) {\n this.validateKeyword(definition, true);\n\n var dataType = definition.type;\n if (Array.isArray(dataType)) {\n for (var i=0; i<dataType.length; i++)\n _addRule(keyword, dataType[i], definition);\n } else {\n _addRule(keyword, dataType, definition);\n }\n\n var metaSchema = definition.metaSchema;\n if (metaSchema) {\n if (definition.$data && this._opts.$data) {\n metaSchema = {\n anyOf: [\n metaSchema,\n { '$ref': 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' }\n ]\n };\n }\n definition.validateSchema = this.compile(metaSchema, true);\n }\n }\n\n RULES.keywords[keyword] = RULES.all[keyword] = true;\n\n\n function _addRule(keyword, dataType, definition) {\n var ruleGroup;\n for (var i=0; i<RULES.length; i++) {\n var rg = RULES[i];\n if (rg.type == dataType) {\n ruleGroup = rg;\n break;\n }\n }\n\n if (!ruleGroup) {\n ruleGroup = { type: dataType, rules: [] };\n RULES.push(ruleGroup);\n }\n\n var rule = {\n keyword: keyword,\n definition: definition,\n custom: true,\n code: customRuleCode,\n implements: definition.implements\n };\n ruleGroup.rules.push(rule);\n RULES.custom[keyword] = rule;\n }\n\n return this;\n}\n\n\n/**\n * Get keyword\n * @this Ajv\n * @param {String} keyword pre-defined or custom keyword.\n * @return {Object|Boolean} custom keyword definition, `true` if it is a predefined keyword, `false` otherwise.\n */\nfunction getKeyword(keyword) {\n /* jshint validthis: true */\n var rule = this.RULES.custom[keyword];\n return rule ? rule.definition : this.RULES.keywords[keyword] || false;\n}\n\n\n/**\n * Remove keyword\n * @this Ajv\n * @param {String} keyword pre-defined or custom keyword.\n * @return {Ajv} this for method chaining\n */\nfunction removeKeyword(keyword) {\n /* jshint validthis: true */\n var RULES = this.RULES;\n delete RULES.keywords[keyword];\n delete RULES.all[keyword];\n delete RULES.custom[keyword];\n for (var i=0; i<RULES.length; i++) {\n var rules = RULES[i].rules;\n for (var j=0; j<rules.length; j++) {\n if (rules[j].keyword == keyword) {\n rules.splice(j, 1);\n break;\n }\n }\n }\n return this;\n}\n\n\n/**\n * Validate keyword definition\n * @this Ajv\n * @param {Object} definition keyword definition object.\n * @param {Boolean} throwError true to throw exception if definition is invalid\n * @return {boolean} validation result\n */\nfunction validateKeyword(definition, throwError) {\n validateKeyword.errors = null;\n var v = this._validateKeyword = this._validateKeyword\n || this.compile(definitionSchema, true);\n\n if (v(definition)) return true;\n validateKeyword.errors = v.errors;\n if (throwError)\n throw new Error('custom keyword definition is invalid: ' + this.errorsText(v.errors));\n else\n return false;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/keyword.js?"); /***/ }), /***/ "./src/index.js": /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar _require = __webpack_require__(/*! webpack */ \"./node_modules/webpack/lib/index.js\"),\n node = _require.node;\nvar JSONDigger = /*#__PURE__*/function () {\n function JSONDigger(datasource, idProp, childrenProp) {\n _classCallCheck(this, JSONDigger);\n this.ds = datasource;\n this.id = idProp;\n this.children = childrenProp;\n }\n\n /*\n * This method returns the first node in the JSON object that satisfies the provided id. \n * If no node satisfies the provide id, null is returned.\n */\n _createClass(JSONDigger, [{\n key: \"findNodeById\",\n value: function findNodeById(id) {\n var _this = this;\n if (!id) {\n return null;\n }\n if (this.ds[_this.id] === id) {\n return this.ds;\n }\n function findNodeById(nodes, id) {\n var _iterator = _createForOfIteratorHelper(nodes),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _node = _step.value;\n if (_node[_this.id] === id) {\n return _node;\n }\n if (_node[_this.children]) {\n var foundNode = findNodeById(_node[_this.children], id);\n if (foundNode) {\n return foundNode;\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return null;\n }\n return findNodeById(this.ds[this.children], id);\n }\n }, {\n key: \"matchConditions\",\n value: function matchConditions(obj, conditions) {\n var flag = true;\n Object.keys(conditions).some(function (item) {\n if (typeof conditions[item] === 'string' || typeof conditions[item] === 'number' || typeof conditions[item] === 'boolean') {\n if (obj[item] !== conditions[item]) {\n flag = false;\n return true;\n }\n } else if (conditions[item] instanceof RegExp) {\n if (!conditions[item].test(obj[item])) {\n flag = false;\n return true;\n }\n } else if (_typeof(conditions[item]) === 'object') {\n Object.keys(conditions[item]).some(function (subitem) {\n switch (subitem) {\n case '>':\n {\n if (!(obj[item] > conditions[item][subitem])) {\n flag = false;\n return true;\n }\n break;\n }\n case '<':\n {\n if (!(obj[item] < conditions[item][subitem])) {\n flag = false;\n return true;\n }\n break;\n }\n case '>=':\n {\n if (!(obj[item] >= conditions[item][subitem])) {\n flag = false;\n return true;\n }\n break;\n }\n case '<=':\n {\n if (!(obj[item] <= conditions[item][subitem])) {\n flag = false;\n return true;\n }\n break;\n }\n case '!==':\n {\n if (!(obj[item] !== conditions[item][subitem])) {\n flag = false;\n return true;\n }\n break;\n }\n }\n });\n if (!flag) {\n return false;\n }\n }\n });\n return flag;\n }\n\n /*\n * This method returns the first node in the JSON object that satisfies the conditions. \n * If no node satisfies the conditionas, null is returned.\n */\n }, {\n key: \"findOneNode\",\n value: function findOneNode(conditions) {\n var _this = this;\n if (!conditions || !Object.keys(conditions).length) {\n return null;\n }\n if (this.matchConditions(this.ds, conditions)) {\n return this.ds;\n }\n function findOneNode(nodes, conditions) {\n var _iterator2 = _createForOfIteratorHelper(nodes),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _node2 = _step2.value;\n if (_this.matchConditions(_node2, conditions)) {\n return _node2;\n }\n if (_node2[_this.children]) {\n var foundNode = findOneNode(_node2[_this.children], conditions);\n if (foundNode !== null) {\n return foundNode;\n }\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n return null;\n }\n return findOneNode(this.ds[this.children], conditions);\n }\n }, {\n key: \"findNodes\",\n value: function findNodes(conditions) {\n var _this = this;\n if (!conditions || !Object.keys(conditions).length) {\n return [];\n }\n var nodes = [];\n function findNodes(obj) {\n if (_this.matchConditions(obj, conditions)) {\n nodes.push(obj);\n }\n if (obj[_this.children]) {\n var _iterator3 = _createForOfIteratorHelper(obj[_this.children]),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var _node3 = _step3.value;\n findNodes(_node3);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n }\n }\n findNodes(this.ds);\n return nodes;\n }\n }, {\n key: \"findParent\",\n value: function findParent(id) {\n var _this = this;\n if (!id) {\n return null;\n }\n if (this.ds[_this.children].some(function (node) {\n return node[_this.id] === id;\n })) {\n return this.ds;\n }\n function findParent(nodes, id) {\n var _iterator4 = _createForOfIteratorHelper(nodes),\n _step4;\n try {\n for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n var _node4 = _step4.value;\n if (_node4[_this.children] && _node4[_this.children].some(function (node) {\n return node[_this.id] === id;\n })) {\n return _node4;\n }\n if (_node4[_this.children]) {\n var foundNode = findParent(_node4[_this.children], id);\n if (foundNode) {\n return foundNode;\n }\n }\n }\n } catch (err) {\n _iterator4.e(err);\n } finally {\n _iterator4.f();\n }\n return null;\n }\n return findParent(this.ds[this.children], id);\n }\n }, {\n key: \"findSiblings\",\n value: function findSiblings(id) {\n var _this = this;\n if (!id || this.ds[this.id] === id) {\n return [];\n }\n var parent = this.findParent(id);\n return parent[_this.children].filter(function (node) {\n return node[_this.id] !== id;\n });\n }\n }, {\n key: \"findAncestors\",\n value: function findAncestors(id) {\n var _this = this;\n if (!id || id === _this.ds[_this.id]) {\n return [];\n }\n var nodes = [];\n function findAncestors(id) {\n var parent = _this.findParent(id);\n if (parent) {\n nodes.push(parent);\n return findAncestors(parent[_this.id]);\n } else {\n return nodes.slice(0);\n }\n }\n return findAncestors(id);\n }\n\n // validate the input parameters id and data(could be oject or array)\n }, {\n key: \"validateParams\",\n value: function validateParams(id, data) {\n if (!id || !data || data.constructor !== Object && data.constructor !== Array || data.constructor === Object && !Object.keys(data).length || data.constructor === Array && !data.length || data.constructor === Array && data.length && !data.every(function (item) {\n return item && item.constructor === Object && Object.keys(item).length;\n })) {\n return false;\n }\n return true;\n }\n }, {\n key: \"addChildren\",\n value: function addChildren(id, data) {\n if (!this.validateParams(id, data)) {\n return false;\n }\n var parent = this.findNodeById(id);\n if (!parent) {\n return false;\n }\n if (data.constructor === Object) {\n if (parent[this.children]) {\n parent[this.children].push(data);\n } else {\n parent[this.children] = [data];\n }\n } else {\n if (parent[this.children]) {\n var _parent$this$children;\n (_parent$this$children = parent[this.children]).push.apply(_parent$this$children, _toConsumableArray(data));\n } else {\n parent[this.children] = data;\n }\n }\n return true;\n }\n }, {\n key: \"addSiblings\",\n value: function addSiblings(id, data) {\n if (!this.validateParams(id, data)) {\n return false;\n }\n var parent = this.findParent(id);\n if (!parent) {\n return false;\n }\n if (data.constructor === Object) {\n parent[this.children].push(data);\n } else {\n var _parent$this$children2;\n (_parent$this$children2 = parent[this.children]).push.apply(_parent$this$children2, _toConsumableArray(data));\n }\n return true;\n }\n }, {\n key: \"addRoot\",\n value: function addRoot(data) {\n var _this2 = this;\n var _this = this;\n if (!data || data.constructor !== Object || data.constructor === Object && !Object.keys(data).length) {\n return false;\n }\n this.ds[this.children] = [Object.assign({}, this.ds)];\n delete data[this.children];\n Object.keys(this.ds).filter(function (prop) {\n return prop !== _this2.children;\n }).forEach(function (prop) {\n if (!data[prop]) {\n delete _this2.ds[prop];\n }\n });\n Object.assign(this.ds, data);\n return true;\n }\n }, {\n key: \"updateNode\",\n value: function updateNode(data) {\n if (!data || data.constructor !== Object || data.constructor === Object && !Object.keys(data).length || data.constructor === Object && Object.keys(data).length && !data[this.id]) {\n return false;\n }\n var node = this.findNodeById(data[this.id]);\n Object.assign(node, data);\n return true;\n }\n }, {\n key: \"updateNodes\",\n value: function updateNodes(ids, data) {\n if (!ids || ids.constructor === Array && !ids.length || !data || data.constructor !== Object || data.constructor === Object && !Object.keys(data).length) {\n return false;\n }\n var _iterator5 = _createForOfIteratorHelper(ids),\n _step5;\n try {\n for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n var id = _step5.value;\n data[this.id] = id;\n if (!this.updateNode(data)) {\n return false;\n }\n }\n } catch (err) {\n _iterator5.e(err);\n } finally {\n _iterator5.f();\n }\n return true;\n }\n\n // remove single node based on id\n }, {\n key: \"removeNode\",\n value: function removeNode(id) {\n var _this = this;\n if (id === this.ds[this.id]) {\n return false;\n }\n var parent = this.findParent(id);\n if (!parent) {\n return false;\n }\n var index = parent[this.children].map(function (node) {\n return node[_this.id];\n }).indexOf(id);\n parent[this.children].splice(index, 1);\n return true;\n }\n\n // param could be single id, id array or conditions object\n }, {\n key: \"removeNodes\",\n value: function removeNodes(param) {\n var _this = this;\n if (!param || param.constructor === Array && !param.length || param.constructor === Object && !Object.keys(param).length) {\n return false;\n }\n\n // if passing in single id\n if (param.constructor === String || param.constructor === Number) {\n return this.removeNode(param);\n } else if (param.constructor === Array) {\n // if passing in id array\n var _iterator6 = _createForOfIteratorHelper(param),\n _step6;\n try {\n for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {\n var p = _step6.value;\n if (!this.removeNode(p)) {\n return false;\n }\n }\n } catch (err) {\n _iterator6.e(err);\n } finally {\n _iterator6.f();\n }\n return true;\n } else {\n // if passing in conditions object\n var nodes = this.findNodes(param);\n if (!nodes.length) {\n return false;\n }\n var ids = nodes.map(function (node) {\n return node[_this.id];\n });\n var _iterator7 = _createForOfIteratorHelper(ids),\n _step7;\n try {\n for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {\n var _p = _step7.value;\n if (!this.removeNode(_p)) {\n return false;\n }\n }\n } catch (err) {\n _iterator7.e(err);\n } finally {\n _iterator7.f();\n }\n return true;\n }\n }\n }]);\n return JSONDigger;\n}();\n;\nmodule.exports = JSONDigger;\n\n//# sourceURL=webpack://JSONDigger/./src/index.js?"); /***/ }), /***/ "./node_modules/browserslist/browser.js": /*!**********************************************!*\ !*** ./node_modules/browserslist/browser.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var BrowserslistError = __webpack_require__(/*! ./error */ \"./node_modules/browserslist/error.js\")\n\nfunction noop() {}\n\nmodule.exports = {\n loadQueries: function loadQueries() {\n throw new BrowserslistError(\n 'Sharable configs are not supported in client-side build of Browserslist'\n )\n },\n\n getStat: function getStat(opts) {\n return opts.stats\n },\n\n loadConfig: function loadConfig(opts) {\n if (opts.config) {\n throw new BrowserslistError(\n 'Browserslist config are not supported in client-side build'\n )\n }\n },\n\n loadCountry: function loadCountry() {\n throw new BrowserslistError(\n 'Country statistics are not supported ' +\n 'in client-side build of Browserslist'\n )\n },\n\n loadFeature: function loadFeature() {\n throw new BrowserslistError(\n 'Supports queries are not available in client-side build of Browserslist'\n )\n },\n\n currentNode: function currentNode(resolve, context) {\n return resolve(['maintained node versions'], context)[0]\n },\n\n parseConfig: noop,\n\n readConfig: noop,\n\n findConfig: noop,\n\n clearCaches: noop,\n\n oldDataWarning: noop,\n\n env: {}\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/browserslist/browser.js?"); /***/ }), /***/ "./node_modules/browserslist/error.js": /*!********************************************!*\ !*** ./node_modules/browserslist/error.js ***! \********************************************/ /***/ ((module) => { eval("function BrowserslistError(message) {\n this.name = 'BrowserslistError'\n this.message = message\n this.browserslist = true\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, BrowserslistError)\n }\n}\n\nBrowserslistError.prototype = Error.prototype\n\nmodule.exports = BrowserslistError\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/browserslist/error.js?"); /***/ }), /***/ "./node_modules/browserslist/index.js": /*!********************************************!*\ !*** ./node_modules/browserslist/index.js ***! \********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var jsReleases = __webpack_require__(/*! node-releases/data/processed/envs.json */ \"./node_modules/node-releases/data/processed/envs.json\")\nvar agents = (__webpack_require__(/*! caniuse-lite/dist/unpacker/agents */ \"./node_modules/caniuse-lite/dist/unpacker/agents.js\").agents)\nvar jsEOL = __webpack_require__(/*! node-releases/data/release-schedule/release-schedule.json */ \"./node_modules/node-releases/data/release-schedule/release-schedule.json\")\nvar path = __webpack_require__(/*! path */ \"?3465\")\nvar e2c = __webpack_require__(/*! electron-to-chromium/versions */ \"./node_modules/electron-to-chromium/versions.js\")\n\nvar BrowserslistError = __webpack_require__(/*! ./error */ \"./node_modules/browserslist/error.js\")\nvar parse = __webpack_require__(/*! ./parse */ \"./node_modules/browserslist/parse.js\")\nvar env = __webpack_require__(/*! ./node */ \"./node_modules/browserslist/browser.js\") // Will load browser.js in webpack\n\nvar YEAR = 365.259641 * 24 * 60 * 60 * 1000\nvar ANDROID_EVERGREEN_FIRST = 37\n\n// Helpers\n\nfunction isVersionsMatch(versionA, versionB) {\n return (versionA + '.').indexOf(versionB + '.') === 0\n}\n\nfunction isEolReleased(name) {\n var version = name.slice(1)\n return browserslist.nodeVersions.some(function (i) {\n return isVersionsMatch(i, version)\n })\n}\n\nfunction normalize(versions) {\n return versions.filter(function (version) {\n return typeof version === 'string'\n })\n}\n\nfunction normalizeElectron(version) {\n var versionToUse = version\n if (version.split('.').length === 3) {\n versionToUse = version.split('.').slice(0, -1).join('.')\n }\n return versionToUse\n}\n\nfunction nameMapper(name) {\n return function mapName(version) {\n return name + ' ' + version\n }\n}\n\nfunction getMajor(version) {\n return parseInt(version.split('.')[0])\n}\n\nfunction getMajorVersions(released, number) {\n if (released.length === 0) return []\n var majorVersions = uniq(released.map(getMajor))\n var minimum = majorVersions[majorVersions.length - number]\n if (!minimum) {\n return released\n }\n var selected = []\n for (var i = released.length - 1; i >= 0; i--) {\n if (minimum > getMajor(released[i])) break\n selected.unshift(released[i])\n }\n return selected\n}\n\nfunction uniq(array) {\n var filtered = []\n for (var i = 0; i < array.length; i++) {\n if (filtered.indexOf(array[i]) === -1) filtered.push(array[i])\n }\n return filtered\n}\n\nfunction fillUsage(result, name, data) {\n for (var i in data) {\n result[name + ' ' + i] = data[i]\n }\n}\n\nfunction generateFilter(sign, version) {\n version = parseFloat(version)\n if (sign === '>') {\n return function (v) {\n return parseFloat(v) > version\n }\n } else if (sign === '>=') {\n return function (v) {\n return parseFloat(v) >= version\n }\n } else if (sign === '<') {\n return function (v) {\n return parseFloat(v) < version\n }\n } else {\n return function (v) {\n return parseFloat(v) <= version\n }\n }\n}\n\nfunction generateSemverFilter(sign, version) {\n version = version.split('.').map(parseSimpleInt)\n version[1] = version[1] || 0\n version[2] = version[2] || 0\n if (sign === '>') {\n return function (v) {\n v = v.split('.').map(parseSimpleInt)\n return compareSemver(v, version) > 0\n }\n } else if (sign === '>=') {\n return function (v) {\n v = v.split('.').map(parseSimpleInt)\n return compareSemver(v, version) >= 0\n }\n } else if (sign === '<') {\n return function (v) {\n v = v.split('.').map(parseSimpleInt)\n return compareSemver(version, v) > 0\n }\n } else {\n return function (v) {\n v = v.split('.').map(parseSimpleInt)\n return compareSemver(version, v) >= 0\n }\n }\n}\n\nfunction parseSimpleInt(x) {\n return parseInt(x)\n}\n\nfunction compare(a, b) {\n if (a < b) return -1\n if (a > b) return +1\n return 0\n}\n\nfunction compareSemver(a, b) {\n return (\n compare(parseInt(a[0]), parseInt(b[0])) ||\n compare(parseInt(a[1] || '0'), parseInt(b[1] || '0')) ||\n compare(parseInt(a[2] || '0'), parseInt(b[2] || '0'))\n )\n}\n\n// this follows the npm-like semver behavior\nfunction semverFilterLoose(operator, range) {\n range = range.split('.').map(parseSimpleInt)\n if (typeof range[1] === 'undefined') {\n range[1] = 'x'\n }\n // ignore any patch version because we only return minor versions\n // range[2] = 'x'\n switch (operator) {\n case '<=':\n return function (version) {\n version = version.split('.').map(parseSimpleInt)\n return compareSemverLoose(version, range) <= 0\n }\n case '>=':\n default:\n return function (version) {\n version = version.split('.').map(parseSimpleInt)\n return compareSemverLoose(version, range) >= 0\n }\n }\n}\n\n// this follows the npm-like semver behavior\nfunction compareSemverLoose(version, range) {\n if (version[0] !== range[0]) {\n return version[0] < range[0] ? -1 : +1\n }\n if (range[1] === 'x') {\n return 0\n }\n if (version[1] !== range[1]) {\n return version[1] < range[1] ? -1 : +1\n }\n return 0\n}\n\nfunction resolveVersion(data, version) {\n if (data.versions.indexOf(version) !== -1) {\n return version\n } else if (browserslist.versionAliases[data.name][version]) {\n return browserslist.versionAliases[data.name][version]\n } else {\n return false\n }\n}\n\nfunction normalizeVersion(data, version) {\n var resolved = resolveVersion(data, version)\n if (resolved) {\n return resolved\n } else if (data.versions.length === 1) {\n return data.versions[0]\n } else {\n return false\n }\n}\n\nfunction filterByYear(since, context) {\n since = since / 1000\n return Object.keys(agents).reduce(function (selected, name) {\n var data = byName(name, context)\n if (!data) return selected\n var versions = Object.keys(data.releaseDate).filter(function (v) {\n var date = data.releaseDate[v]\n return date !== null && date >= since\n })\n return selected.concat(versions.map(nameMapper(data.name)))\n }, [])\n}\n\nfunction cloneData(data) {\n return {\n name: data.name,\n versions: data.versions,\n released: data.released,\n releaseDate: data.releaseDate\n }\n}\n\nfunction mapVersions(data, map) {\n data.versions = data.versions.map(function (i) {\n return map[i] || i\n })\n data.released = data.released.map(function (i) {\n return map[i] || i\n })\n var fixedDate = {}\n for (var i in data.releaseDate) {\n fixedDate[map[i] || i] = data.releaseDate[i]\n }\n data.releaseDate = fixedDate\n return data\n}\n\nfunction byName(name, context) {\n name = name.toLowerCase()\n name = browserslist.aliases[name] || name\n if (context.mobileToDesktop && browserslist.desktopNames[name]) {\n var desktop = browserslist.data[browserslist.desktopNames[name]]\n if (name === 'android') {\n return normalizeAndroidData(cloneData(browserslist.data[name]), desktop)\n } else {\n var cloned = cloneData(desktop)\n cloned.name = name\n if (name === 'op_mob') {\n cloned = mapVersions(cloned, { '10.0-10.1': '10' })\n }\n return cloned\n }\n }\n return browserslist.data[name]\n}\n\nfunction normalizeAndroidVersions(androidVersions, chromeVersions) {\n var firstEvergreen = ANDROID_EVERGREEN_FIRST\n var last = chromeVersions[chromeVersions.length - 1]\n return androidVersions\n .filter(function (version) {\n return /^(?:[2-4]\\.|[34]$)/.test(version)\n })\n .concat(chromeVersions.slice(firstEvergreen - last - 1))\n}\n\nfunction normalizeAndroidData(android, chrome) {\n android.released = normalizeAndroidVersions(android.released, chrome.released)\n android.versions = normalizeAndroidVersions(android.versions, chrome.versions)\n return android\n}\n\nfunction checkName(name, context) {\n var data = byName(name, context)\n if (!data) throw new BrowserslistError('Unknown browser ' + name)\n return data\n}\n\nfunction unknownQuery(query) {\n return new BrowserslistError(\n 'Unknown browser query `' +\n query +\n '`. ' +\n 'Maybe you are using old Browserslist or made typo in query.'\n )\n}\n\nfunction filterAndroid(list, versions, context) {\n if (context.mobileToDesktop) return list\n var released = browserslist.data.android.released\n var last = released[released.length - 1]\n var diff = last - ANDROID_EVERGREEN_FIRST - versions\n if (diff > 0) {\n return list.slice(-1)\n } else {\n return list.slice(diff - 1)\n }\n}\n\nfunction resolve(queries, context) {\n return parse(QUERIES, queries).reduce(function (result, node, index) {\n if (node.not && index === 0) {\n throw new BrowserslistError(\n 'Write any browsers query (for instance, `defaults`) ' +\n 'before `' +\n node.query +\n '`'\n )\n }\n var type = QUERIES[node.type]\n var array = type.select.call(browserslist, context, node).map(function (j) {\n var parts = j.split(' ')\n if (parts[1] === '0') {\n return parts[0] + ' ' + byName(parts[0], context).versions[0]\n } else {\n return j\n }\n })\n\n if (node.compose === 'and') {\n if (node.not) {\n return result.filter(function (j) {\n return array.indexOf(j) === -1\n })\n } else {\n return result.filter(function (j) {\n return array.indexOf(j) !== -1\n })\n }\n } else {\n if (node.not) {\n var filter = {}\n array.forEach(function (j) {\n filter[j] = true\n })\n return result.filter(function (j) {\n return !filter[j]\n })\n }\n return result.concat(array)\n }\n }, [])\n}\n\nfunction prepareOpts(opts) {\n if (typeof opts === 'undefined') opts = {}\n\n if (typeof opts.path === 'undefined') {\n opts.path = path.resolve ? path.resolve('.') : '.'\n }\n\n return opts\n}\n\nfunction prepareQueries(queries, opts) {\n if (typeof queries === 'undefined' || queries === null) {\n var config = browserslist.loadConfig(opts)\n if (config) {\n queries = config\n } else {\n queries = browserslist.defaults\n }\n }\n\n return queries\n}\n\nfunction checkQueries(queries) {\n if (!(typeof queries === 'string' || Array.isArray(queries))) {\n throw new BrowserslistError(\n 'Browser queries must be an array or string. Got ' + typeof queries + '.'\n )\n }\n}\n\nvar cache = {}\n\nfunction browserslist(queries, opts) {\n opts = prepareOpts(opts)\n queries = prepareQueries(queries, opts)\n checkQueries(queries)\n\n var context = {\n ignoreUnknownVersions: opts.ignoreUnknownVersions,\n dangerousExtend: opts.dangerousExtend,\n mobileToDesktop: opts.mobileToDesktop,\n path: opts.path,\n env: opts.env\n }\n\n env.oldDataWarning(browserslist.data)\n var stats = env.getStat(opts, browserslist.data)\n if (stats) {\n context.customUsage = {}\n for (var browser in stats) {\n fillUsage(context.customUsage, browser, stats[browser])\n }\n }\n\n var cacheKey = JSON.stringify([queries, context])\n if (cache[cacheKey]) return cache[cacheKey]\n\n var result = uniq(resolve(queries, context)).sort(function (name1, name2) {\n name1 = name1.split(' ')\n name2 = name2.split(' ')\n if (name1[0] === name2[0]) {\n // assumptions on caniuse data\n // 1) version ranges never overlaps\n // 2) if version is not a range, it never contains `-`\n var version1 = name1[1].split('-')[0]\n var version2 = name2[1].split('-')[0]\n return compareSemver(version2.split('.'), version1.split('.'))\n } else {\n return compare(name1[0], name2[0])\n }\n })\n if (!env.env.BROWSERSLIST_DISABLE_CACHE) {\n cache[cacheKey] = result\n }\n return result\n}\n\nbrowserslist.parse = function (queries, opts) {\n opts = prepareOpts(opts)\n queries = prepareQueries(queries, opts)\n checkQueries(queries)\n return parse(QUERIES, queries)\n}\n\n// Will be filled by Can I Use data below\nbrowserslist.cache = {}\nbrowserslist.data = {}\nbrowserslist.usage = {\n global: {},\n custom: null\n}\n\n// Default browsers query\nbrowserslist.defaults = ['> 0.5%', 'last 2 versions', 'Firefox ESR', 'not dead']\n\n// Browser names aliases\nbrowserslist.aliases = {\n fx: 'firefox',\n ff: 'firefox',\n ios: 'ios_saf',\n explorer: 'ie',\n blackberry: 'bb',\n explorermobile: 'ie_mob',\n operamini: 'op_mini',\n operamobile: 'op_mob',\n chromeandroid: 'and_chr',\n firefoxandroid: 'and_ff',\n ucandroid: 'and_uc',\n qqandroid: 'and_qq'\n}\n\n// Can I Use only provides a few versions for some browsers (e.g. and_chr).\n// Fallback to a similar browser for unknown versions\nbrowserslist.desktopNames = {\n and_chr: 'chrome',\n and_ff: 'firefox',\n ie_mob: 'ie',\n op_mob: 'opera',\n android: 'chrome' // has extra processing logic\n}\n\n// Aliases to work with joined versions like `ios_saf 7.0-7.1`\nbrowserslist.versionAliases = {}\n\nbrowserslist.clearCaches = env.clearCaches\nbrowserslist.parseConfig = env.parseConfig\nbrowserslist.readConfig = env.readConfig\nbrowserslist.findConfig = env.findConfig\nbrowserslist.loadConfig = env.loadConfig\n\nbrowserslist.coverage = function (browsers, stats) {\n var data\n if (typeof stats === 'undefined') {\n data = browserslist.usage.global\n } else if (stats === 'my stats') {\n var opts = {}\n opts.path = path.resolve ? path.resolve('.') : '.'\n var customStats = env.getStat(opts)\n if (!customStats) {\n throw new BrowserslistError('Custom usage statistics was not provided')\n }\n data = {}\n for (var browser in customStats) {\n fillUsage(data, browser, customStats[browser])\n }\n } else if (typeof stats === 'string') {\n if (stats.length > 2) {\n stats = stats.toLowerCase()\n } else {\n stats = stats.toUpperCase()\n }\n env.loadCountry(browserslist.usage, stats, browserslist.data)\n data = browserslist.usage[stats]\n } else {\n if ('dataByBrowser' in stats) {\n stats = stats.dataByBrowser\n }\n data = {}\n for (var name in stats) {\n for (var version in stats[name]) {\n data[name + ' ' + version] = stats[name][version]\n }\n }\n }\n\n return browsers.reduce(function (all, i) {\n var usage = data[i]\n if (usage === undefined) {\n usage = data[i.replace(/ \\S+$/, ' 0')]\n }\n return all + (usage || 0)\n }, 0)\n}\n\nfunction nodeQuery(context, node) {\n var matched = browserslist.nodeVersions.filter(function (i) {\n return isVersionsMatch(i, node.version)\n })\n if (matched.length === 0) {\n if (context.ignoreUnknownVersions) {\n return []\n } else {\n throw new BrowserslistError(\n 'Unknown version ' + node.version + ' of Node.js'\n )\n }\n }\n return ['node ' + matched[matched.length - 1]]\n}\n\nfunction sinceQuery(context, node) {\n var year = parseInt(node.year)\n var month = parseInt(node.month || '01') - 1\n var day = parseInt(node.day || '01')\n return filterByYear(Date.UTC(year, month, day, 0, 0, 0), context)\n}\n\nfunction coverQuery(context, node) {\n var coverage = parseFloat(node.coverage)\n var usage = browserslist.usage.global\n if (node.place) {\n if (node.place.match(/^my\\s+stats$/i)) {\n if (!context.customUsage) {\n throw new BrowserslistError('Custom usage statistics was not provided')\n }\n usage = context.customUsage\n } else {\n var place\n if (node.place.length === 2) {\n place = node.place.toUpperCase()\n } else {\n place = node.place.toLowerCase()\n }\n env.loadCountry(browserslist.usage, place, browserslist.data)\n usage = browserslist.usage[place]\n }\n }\n var versions = Object.keys(usage).sort(function (a, b) {\n return usage[b] - usage[a]\n })\n var coveraged = 0\n var result = []\n var version\n for (var i = 0; i < versions.length; i++) {\n version = versions[i]\n if (usage[version] === 0) break\n coveraged += usage[version]\n result.push(version)\n if (coveraged >= coverage) break\n }\n return result\n}\n\nvar QUERIES = {\n last_major_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+major\\s+versions?$/i,\n select: function (context, node) {\n return Object.keys(agents).reduce(function (selected, name) {\n var data = byName(name, context)\n if (!data) return selected\n var list = getMajorVersions(data.released, node.versions)\n list = list.map(nameMapper(data.name))\n if (data.name === 'android') {\n list = filterAndroid(list, node.versions, context)\n }\n return selected.concat(list)\n }, [])\n }\n },\n last_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+versions?$/i,\n select: function (context, node) {\n return Object.keys(agents).reduce(function (selected, name) {\n var data = byName(name, context)\n if (!data) return selected\n var list = data.released.slice(-node.versions)\n list = list.map(nameMapper(data.name))\n if (data.name === 'android') {\n list = filterAndroid(list, node.versions, context)\n }\n return selected.concat(list)\n }, [])\n }\n },\n last_electron_major_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+electron\\s+major\\s+versions?$/i,\n select: function (context, node) {\n var validVersions = getMajorVersions(Object.keys(e2c), node.versions)\n return validVersions.map(function (i) {\n return 'chrome ' + e2c[i]\n })\n }\n },\n last_node_major_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+node\\s+major\\s+versions?$/i,\n select: function (context, node) {\n return getMajorVersions(browserslist.nodeVersions, node.versions).map(\n function (version) {\n return 'node ' + version\n }\n )\n }\n },\n last_browser_major_versions: {\n matches: ['versions', 'browser'],\n regexp: /^last\\s+(\\d+)\\s+(\\w+)\\s+major\\s+versions?$/i,\n select: function (context, node) {\n var data = checkName(node.browser, context)\n var validVersions = getMajorVersions(data.released, node.versions)\n var list = validVersions.map(nameMapper(data.name))\n if (data.name === 'android') {\n list = filterAndroid(list, node.versions, context)\n }\n return list\n }\n },\n last_electron_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+electron\\s+versions?$/i,\n select: function (context, node) {\n return Object.keys(e2c)\n .slice(-node.versions)\n .map(function (i) {\n return 'chrome ' + e2c[i]\n })\n }\n },\n last_node_versions: {\n matches: ['versions'],\n regexp: /^last\\s+(\\d+)\\s+node\\s+versions?$/i,\n select: function (context, node) {\n return browserslist.nodeVersions\n .slice(-node.versions)\n .map(function (version) {\n return 'node ' + version\n })\n }\n },\n last_browser_versions: {\n matches: ['versions', 'browser'],\n regexp: /^last\\s+(\\d+)\\s+(\\w+)\\s+versions?$/i,\n select: function (context, node) {\n var data = checkName(node.browser, context)\n var list = data.released.slice(-node.versions).map(nameMapper(data.name))\n if (data.name === 'android') {\n list = filterAndroid(list, node.versions, context)\n }\n return list\n }\n },\n unreleased_versions: {\n matches: [],\n regexp: /^unreleased\\s+versions$/i,\n select: function (context) {\n return Object.keys(agents).reduce(function (selected, name) {\n var data = byName(name, context)\n if (!data) return selected\n var list = data.versions.filter(function (v) {\n return data.released.indexOf(v) === -1\n })\n list = list.map(nameMapper(data.name))\n return selected.concat(list)\n }, [])\n }\n },\n unreleased_electron_versions: {\n matches: [],\n regexp: /^unreleased\\s+electron\\s+versions?$/i,\n select: function () {\n return []\n }\n },\n unreleased_browser_versions: {\n matches: ['browser'],\n regexp: /^unreleased\\s+(\\w+)\\s+versions?$/i,\n select: function (context, node) {\n var data = checkName(node.browser, context)\n return data.versions\n .filter(function (v) {\n return data.released.indexOf(v) === -1\n })\n .map(nameMapper(data.name))\n }\n },\n last_years: {\n matches: ['years'],\n regexp: /^last\\s+(\\d*.?\\d+)\\s+years?$/i,\n select: function (context, node) {\n return filterByYear(Date.now() - YEAR * node.years, context)\n }\n },\n since_y: {\n matches: ['year'],\n regexp: /^since (\\d+)$/i,\n select: sinceQuery\n },\n since_y_m: {\n matches: ['year', 'month'],\n regexp: /^since (\\d+)-(\\d+)$/i,\n select: sinceQuery\n },\n since_y_m_d: {\n matches: ['year', 'month', 'day'],\n regexp: /^since (\\d+)-(\\d+)-(\\d+)$/i,\n select: sinceQuery\n },\n popularity: {\n matches: ['sign', 'popularity'],\n regexp: /^(>=?|<=?)\\s*(\\d+|\\d+\\.\\d+|\\.\\d+)%$/,\n select: function (context, node) {\n var popularity = parseFloat(node.popularity)\n var usage = browserslist.usage.global\n return Object.keys(usage).reduce(function (result, version) {\n if (node.sign === '>') {\n if (usage[version] > popularity) {\n result.push(version)\n }\n } else if (node.sign === '<') {\n if (usage[version] < popularity) {\n result.push(version)\n }\n } else if (node.sign === '<=') {\n if (usage[version] <= popularity) {\n result.push(version)\n }\n } else if (usage[version] >= popularity) {\n result.push(version)\n }\n return result\n }, [])\n }\n },\n popularity_in_my_stats: {\n matches: ['sign', 'popularity'],\n regexp: /^(>=?|<=?)\\s*(\\d+|\\d+\\.\\d+|\\.\\d+)%\\s+in\\s+my\\s+stats$/,\n select: function (context, node) {\n var popularity = parseFloat(node.popularity)\n if (!context.customUsage) {\n throw new BrowserslistError('Custom usage statistics was not provided')\n }\n var usage = context.customUsage\n return Object.keys(usage).reduce(function (result, version) {\n var percentage = usage[version]\n if (percentage == null) {\n return result\n }\n\n if (node.sign === '>') {\n if (percentage > popularity) {\n result.push(version)\n }\n } else if (node.sign === '<') {\n if (percentage < popularity) {\n result.push(version)\n }\n } else if (node.sign === '<=') {\n if (percentage <= popularity) {\n result.push(version)\n }\n } else if (percentage >= popularity) {\n result.push(version)\n }\n return result\n }, [])\n }\n },\n popularity_in_config_stats: {\n matches: ['sign', 'popularity', 'config'],\n regexp: /^(>=?|<=?)\\s*(\\d+|\\d+\\.\\d+|\\.\\d+)%\\s+in\\s+(\\S+)\\s+stats$/,\n select: function (context, node) {\n var popularity = parseFloat(node.popularity)\n var stats = env.loadStat(context, node.config, browserslist.data)\n if (stats) {\n context.customUsage = {}\n for (var browser in stats) {\n fillUsage(context.customUsage, browser, stats[browser])\n }\n }\n if (!context.customUsage) {\n throw new BrowserslistError('Custom usage statistics was not provided')\n }\n var usage = context.customUsage\n return Object.keys(usage).reduce(function (result, version) {\n var percentage = usage[version]\n if (percentage == null) {\n return result\n }\n\n if (node.sign === '>') {\n if (percentage > popularity) {\n result.push(version)\n }\n } else if (node.sign === '<') {\n if (percentage < popularity) {\n result.push(version)\n }\n } else if (node.sign === '<=') {\n if (percentage <= popularity) {\n result.push(version)\n }\n } else if (percentage >= popularity) {\n result.push(version)\n }\n return result\n }, [])\n }\n },\n popularity_in_place: {\n matches: ['sign', 'popularity', 'place'],\n regexp: /^(>=?|<=?)\\s*(\\d+|\\d+\\.\\d+|\\.\\d+)%\\s+in\\s+((alt-)?\\w\\w)$/,\n select: function (context, node) {\n var popularity = parseFloat(node.popularity)\n var place = node.place\n if (place.length === 2) {\n place = place.toUpperCase()\n } else {\n place = place.toLowerCase()\n }\n env.loadCountry(browserslist.usage, place, browserslist.data)\n var usage = browserslist.usage[place]\n return Object.keys(usage).reduce(function (result, version) {\n var percentage = usage[version]\n if (percentage == null) {\n return result\n }\n\n if (node.sign === '>') {\n if (percentage > popularity) {\n result.push(version)\n }\n } else if (node.sign === '<') {\n if (percentage < popularity) {\n result.push(version)\n }\n } else if (node.sign === '<=') {\n if (percentage <= popularity) {\n result.push(version)\n }\n } else if (percentage >= popularity) {\n result.push(version)\n }\n return result\n }, [])\n }\n },\n cover: {\n matches: ['coverage'],\n regexp: /^cover\\s+(\\d+|\\d+\\.\\d+|\\.\\d+)%$/i,\n select: coverQuery\n },\n cover_in: {\n matches: ['coverage', 'place'],\n regexp: /^cover\\s+(\\d+|\\d+\\.\\d+|\\.\\d+)%\\s+in\\s+(my\\s+stats|(alt-)?\\w\\w)$/i,\n select: coverQuery\n },\n supports: {\n matches: ['feature'],\n regexp: /^supports\\s+([\\w-]+)$/,\n select: function (context, node) {\n env.loadFeature(browserslist.cache, node.feature)\n var features = browserslist.cache[node.feature]\n return Object.keys(features).reduce(function (result, version) {\n var flags = features[version]\n if (flags.indexOf('y') >= 0 || flags.indexOf('a') >= 0) {\n result.push(version)\n }\n return result\n }, [])\n }\n },\n electron_range: {\n matches: ['from', 'to'],\n regexp: /^electron\\s+([\\d.]+)\\s*-\\s*([\\d.]+)$/i,\n select: function (context, node) {\n var fromToUse = normalizeElectron(node.from)\n var toToUse = normalizeElectron(node.to)\n var from = parseFloat(node.from)\n var to = parseFloat(node.to)\n if (!e2c[fromToUse]) {\n throw new BrowserslistError('Unknown version ' + from + ' of electron')\n }\n if (!e2c[toToUse]) {\n throw new BrowserslistError('Unknown version ' + to + ' of electron')\n }\n return Object.keys(e2c)\n .filter(function (i) {\n var parsed = parseFloat(i)\n return parsed >= from && parsed <= to\n })\n .map(function (i) {\n return 'chrome ' + e2c[i]\n })\n }\n },\n node_range: {\n matches: ['from', 'to'],\n regexp: /^node\\s+([\\d.]+)\\s*-\\s*([\\d.]+)$/i,\n select: function (context, node) {\n return browserslist.nodeVersions\n .filter(semverFilterLoose('>=', node.from))\n .filter(semverFilterLoose('<=', node.to))\n .map(function (v) {\n return 'node ' + v\n })\n }\n },\n browser_range: {\n matches: ['browser', 'from', 'to'],\n regexp: /^(\\w+)\\s+([\\d.]+)\\s*-\\s*([\\d.]+)$/i,\n select: function (context, node) {\n var data = checkName(node.browser, context)\n var from = parseFloat(normalizeVersion(data, node.from) || node.from)\n var to = parseFloat(normalizeVersion(data, node.to) || node.to)\n function filter(v) {\n var parsed = parseFloat(v)\n return parsed >= from && parsed <= to\n }\n return data.released.filter(filter).map(nameMapper(data.name))\n }\n },\n electron_ray: {\n matches: ['sign', 'version'],\n regexp: /^electron\\s*(>=?|<=?)\\s*([\\d.]+)$/i,\n select: function (context, node) {\n var versionToUse = normalizeElectron(node.version)\n return Object.keys(e2c)\n .filter(generateFilter(node.sign, versionToUse))\n .map(function (i) {\n return 'chrome ' + e2c[i]\n })\n }\n },\n node_ray: {\n matches: ['sign', 'version'],\n regexp: /^node\\s*(>=?|<=?)\\s*([\\d.]+)$/i,\n select: function (context, node) {\n return browserslist.nodeVersions\n .filter(generateSemverFilter(node.sign, node.version))\n .map(function (v) {\n return 'node ' + v\n })\n }\n },\n browser_ray: {\n matches: ['browser', 'sign', 'version'],\n regexp: /^(\\w+)\\s*(>=?|<=?)\\s*([\\d.]+)$/,\n select: function (context, node) {\n var version = node.version\n var data = checkName(node.browser, context)\n var alias = browserslist.versionAliases[data.name][version]\n if (alias) version = alias\n return data.released\n .filter(generateFilter(node.sign, version))\n .map(function (v) {\n return data.name + ' ' + v\n })\n }\n },\n firefox_esr: {\n matches: [],\n regexp: /^(firefox|ff|fx)\\s+esr$/i,\n select: function () {\n return ['firefox 102']\n }\n },\n opera_mini_all: {\n matches: [],\n regexp: /(operamini|op_mini)\\s+all/i,\n select: function () {\n return ['op_mini all']\n }\n },\n electron_version: {\n matches: ['version'],\n regexp: /^electron\\s+([\\d.]+)$/i,\n select: function (context, node) {\n var versionToUse = normalizeElectron(node.version)\n var chrome = e2c[versionToUse]\n if (!chrome) {\n throw new BrowserslistError(\n 'Unknown version ' + node.version + ' of electron'\n )\n }\n return ['chrome ' + chrome]\n }\n },\n node_major_version: {\n matches: ['version'],\n regexp: /^node\\s+(\\d+)$/i,\n select: nodeQuery\n },\n node_minor_version: {\n matches: ['version'],\n regexp: /^node\\s+(\\d+\\.\\d+)$/i,\n select: nodeQuery\n },\n node_patch_version: {\n matches: ['version'],\n regexp: /^node\\s+(\\d+\\.\\d+\\.\\d+)$/i,\n select: nodeQuery\n },\n current_node: {\n matches: [],\n regexp: /^current\\s+node$/i,\n select: function (context) {\n return [env.currentNode(resolve, context)]\n }\n },\n maintained_node: {\n matches: [],\n regexp: /^maintained\\s+node\\s+versions$/i,\n select: function (context) {\n var now = Date.now()\n var queries = Object.keys(jsEOL)\n .filter(function (key) {\n return (\n now < Date.parse(jsEOL[key].end) &&\n now > Date.parse(jsEOL[key].start) &&\n isEolReleased(key)\n )\n })\n .map(function (key) {\n return 'node ' + key.slice(1)\n })\n return resolve(queries, context)\n }\n },\n phantomjs_1_9: {\n matches: [],\n regexp: /^phantomjs\\s+1.9$/i,\n select: function () {\n return ['safari 5']\n }\n },\n phantomjs_2_1: {\n matches: [],\n regexp: /^phantomjs\\s+2.1$/i,\n select: function () {\n return ['safari 6']\n }\n },\n browser_version: {\n matches: ['browser', 'version'],\n regexp: /^(\\w+)\\s+(tp|[\\d.]+)$/i,\n select: function (context, node) {\n var version = node.version\n if (/^tp$/i.test(version)) version = 'TP'\n var data = checkName(node.browser, context)\n var alias = normalizeVersion(data, version)\n if (alias) {\n version = alias\n } else {\n if (version.indexOf('.') === -1) {\n alias = version + '.0'\n } else {\n alias = version.replace(/\\.0$/, '')\n }\n alias = normalizeVersion(data, alias)\n if (alias) {\n version = alias\n } else if (context.ignoreUnknownVersions) {\n return []\n } else {\n throw new BrowserslistError(\n 'Unknown version ' + version + ' of ' + node.browser\n )\n }\n }\n return [data.name + ' ' + version]\n }\n },\n browserslist_config: {\n matches: [],\n regexp: /^browserslist config$/i,\n select: function (context) {\n return browserslist(undefined, context)\n }\n },\n extends: {\n matches: ['config'],\n regexp: /^extends (.+)$/i,\n select: function (context, node) {\n return resolve(env.loadQueries(context, node.config), context)\n }\n },\n defaults: {\n matches: [],\n regexp: /^defaults$/i,\n select: function (context) {\n return resolve(browserslist.defaults, context)\n }\n },\n dead: {\n matches: [],\n regexp: /^dead$/i,\n select: function (context) {\n var dead = [\n 'Baidu >= 0',\n 'ie <= 11',\n 'ie_mob <= 11',\n 'bb <= 10',\n 'op_mob <= 12.1',\n 'samsung 4'\n ]\n return resolve(dead, context)\n }\n },\n unknown: {\n matches: [],\n regexp: /^(\\w+)$/i,\n select: function (context, node) {\n if (byName(node.query, context)) {\n throw new BrowserslistError(\n 'Specify versions in Browserslist query for browser ' + node.query\n )\n } else {\n throw unknownQuery(node.query)\n }\n }\n }\n}\n\n// Get and convert Can I Use data\n\n;(function () {\n for (var name in agents) {\n var browser = agents[name]\n browserslist.data[name] = {\n name: name,\n versions: normalize(agents[name].versions),\n released: normalize(agents[name].versions.slice(0, -3)),\n releaseDate: agents[name].release_date\n }\n fillUsage(browserslist.usage.global, name, browser.usage_global)\n\n browserslist.versionAliases[name] = {}\n for (var i = 0; i < browser.versions.length; i++) {\n var full = browser.versions[i]\n if (!full) continue\n\n if (full.indexOf('-') !== -1) {\n var interval = full.split('-')\n for (var j = 0; j < interval.length; j++) {\n browserslist.versionAliases[name][interval[j]] = full\n }\n }\n }\n }\n\n browserslist.versionAliases.op_mob['59'] = '58'\n\n browserslist.nodeVersions = jsReleases.map(function (release) {\n return release.version\n })\n})()\n\nmodule.exports = browserslist\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/browserslist/index.js?"); /***/ }), /***/ "./node_modules/browserslist/parse.js": /*!********************************************!*\ !*** ./node_modules/browserslist/parse.js ***! \********************************************/ /***/ ((module) => { eval("var AND_REGEXP = /^\\s+and\\s+(.*)/i\nvar OR_REGEXP = /^(?:,\\s*|\\s+or\\s+)(.*)/i\n\nfunction flatten(array) {\n if (!Array.isArray(array)) return [array]\n return array.reduce(function (a, b) {\n return a.concat(flatten(b))\n }, [])\n}\n\nfunction find(string, predicate) {\n for (var n = 1, max = string.length; n <= max; n++) {\n var parsed = string.substr(-n, n)\n if (predicate(parsed, n, max)) {\n return string.slice(0, -n)\n }\n }\n return ''\n}\n\nfunction matchQuery(all, query) {\n var node = { query: query }\n if (query.indexOf('not ') === 0) {\n node.not = true\n query = query.slice(4)\n }\n\n for (var name in all) {\n var type = all[name]\n var match = query.match(type.regexp)\n if (match) {\n node.type = name\n for (var i = 0; i < type.matches.length; i++) {\n node[type.matches[i]] = match[i + 1]\n }\n return node\n }\n }\n\n node.type = 'unknown'\n return node\n}\n\nfunction matchBlock(all, string, qs) {\n var node\n return find(string, function (parsed, n, max) {\n if (AND_REGEXP.test(parsed)) {\n node = matchQuery(all, parsed.match(AND_REGEXP)[1])\n node.compose = 'and'\n qs.unshift(node)\n return true\n } else if (OR_REGEXP.test(parsed)) {\n node = matchQuery(all, parsed.match(OR_REGEXP)[1])\n node.compose = 'or'\n qs.unshift(node)\n return true\n } else if (n === max) {\n node = matchQuery(all, parsed.trim())\n node.compose = 'or'\n qs.unshift(node)\n return true\n }\n return false\n })\n}\n\nmodule.exports = function parse(all, queries) {\n if (!Array.isArray(queries)) queries = [queries]\n return flatten(\n queries.map(function (block) {\n var qs = []\n do {\n block = matchBlock(all, block, qs)\n } while (block)\n return qs\n })\n )\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/browserslist/parse.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/data/agents.js": /*!**************************************************!*\ !*** ./node_modules/caniuse-lite/data/agents.js ***! \**************************************************/ /***/ ((module) => { eval("module.exports={A:{A:{J:0.0131217,D:0.00621152,E:0.0581246,F:0.0774995,A:0.00968743,B:0.571559,AC:0.009298},B:\"ms\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"AC\",\"J\",\"D\",\"E\",\"F\",\"A\",\"B\",\"\",\"\",\"\"],E:\"IE\",F:{AC:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{C:0.003773,K:0.004267,L:0.004268,G:0.003773,M:0.003702,N:0.003773,O:0.015092,P:0,Q:0.004298,R:0.00944,S:0.004043,T:0.003773,U:0.003773,V:0.003974,W:0.003901,X:0.004318,Y:0.003773,Z:0.004118,a:0.003939,b:0.007546,e:0.004118,f:0.003939,g:0.003801,h:0.003901,i:0.003855,j:0.003929,k:0.003901,l:0.003773,m:0.007546,n:0.003773,o:0.011319,p:0.011319,q:0.018865,r:0.033957,c:1.13945,s:2.85239,H:0},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"C\",\"K\",\"L\",\"G\",\"M\",\"N\",\"O\",\"P\",\"Q\",\"R\",\"S\",\"T\",\"U\",\"V\",\"W\",\"X\",\"Y\",\"Z\",\"a\",\"b\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"c\",\"s\",\"H\",\"\",\"\",\"\"],E:\"Edge\",F:{C:1438128000,K:1447286400,L:1470096000,G:1491868800,M:1508198400,N:1525046400,O:1542067200,P:1579046400,Q:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:1611360000,Y:1614816000,Z:1618358400,a:1622073600,b:1626912000,e:1630627200,f:1632441600,g:1634774400,h:1637539200,i:1641427200,j:1643932800,k:1646265600,l:1649635200,m:1651190400,n:1653955200,o:1655942400,p:1659657600,q:1661990400,r:1664755200,c:1666915200,s:1670198400,H:1673481600},D:{C:\"ms\",K:\"ms\",L:\"ms\",G:\"ms\",M:\"ms\",N:\"ms\",O:\"ms\"}},C:{A:{\"0\":0.004118,\"1\":0.004317,\"2\":0.004393,\"3\":0.004418,\"4\":0.008834,\"5\":0.008322,\"6\":0.008928,\"7\":0.004471,\"8\":0.009284,\"9\":0.004707,BC:0.004118,sB:0.004271,I:0.011703,t:0.004879,J:0.020136,D:0.005725,E:0.004525,F:0.00533,A:0.004283,B:0.007546,C:0.004471,K:0.004486,L:0.00453,G:0.008322,M:0.004417,N:0.004425,O:0.004161,u:0.004443,v:0.004283,w:0.008322,x:0.013698,y:0.004161,z:0.008786,AB:0.009076,BB:0.007546,CB:0.004783,DB:0.003929,EB:0.004783,FB:0.00487,GB:0.005029,HB:0.0047,IB:0.094325,JB:0.007546,KB:0.003867,LB:0.004525,MB:0.004293,NB:0.003773,OB:0.004538,PB:0.008282,QB:0.011601,RB:0.052822,SB:0.011601,TB:0.003929,UB:0.003974,VB:0.007546,WB:0.011601,XB:0.003939,tB:0.003773,YB:0.003929,uB:0.004356,ZB:0.004425,aB:0.008322,bB:0.00415,cB:0.004267,dB:0.003801,eB:0.004267,fB:0.003773,gB:0.00415,hB:0.004293,iB:0.004425,d:0.003773,jB:0.00415,kB:0.00415,lB:0.004318,mB:0.004356,nB:0.003974,oB:0.033957,P:0.003773,Q:0.003773,R:0.003773,vB:0.003773,S:0.003773,T:0.003929,U:0.004268,V:0.003801,W:0.011319,X:0.007546,Y:0.003773,Z:0.003773,a:0.018865,b:0.003801,e:0.003855,f:0.018865,g:0.003773,h:0.003773,i:0.003901,j:0.003901,k:0.007546,l:0.007546,m:0.007546,n:0.083006,o:0.030184,p:0.015092,q:0.030184,r:0.049049,c:1.12058,s:0.939477,H:0.011319,wB:0,xB:0,CC:0.008786,DC:0.00487},B:\"moz\",C:[\"BC\",\"sB\",\"CC\",\"DC\",\"I\",\"t\",\"J\",\"D\",\"E\",\"F\",\"A\",\"B\",\"C\",\"K\",\"L\",\"G\",\"M\",\"N\",\"O\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\",\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"AB\",\"BB\",\"CB\",\"DB\",\"EB\",\"FB\",\"GB\",\"HB\",\"IB\",\"JB\",\"KB\",\"LB\",\"MB\",\"NB\",\"OB\",\"PB\",\"QB\",\"RB\",\"SB\",\"TB\",\"UB\",\"VB\",\"WB\",\"XB\",\"tB\",\"YB\",\"uB\",\"ZB\",\"aB\",\"bB\",\"cB\",\"dB\",\"eB\",\"fB\",\"gB\",\"hB\",\"iB\",\"d\",\"jB\",\"kB\",\"lB\",\"mB\",\"nB\",\"oB\",\"P\",\"Q\",\"R\",\"vB\",\"S\",\"T\",\"U\",\"V\",\"W\",\"X\",\"Y\",\"Z\",\"a\",\"b\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"c\",\"s\",\"H\",\"wB\",\"xB\",\"\"],E:\"Firefox\",F:{\"0\":1379376000,\"1\":1386633600,\"2\":1391472000,\"3\":1395100800,\"4\":1398729600,\"5\":1402358400,\"6\":1405987200,\"7\":1409616000,\"8\":1413244800,\"9\":1417392000,BC:1161648000,sB:1213660800,CC:1246320000,DC:1264032000,I:1300752000,t:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112000,N:1349740800,O:1353628800,u:1357603200,v:1361232000,w:1364860800,x:1368489600,y:1372118400,z:1375747200,AB:1421107200,BB:1424736000,CB:1428278400,DB:1431475200,EB:1435881600,FB:1439251200,GB:1442880000,HB:1446508800,IB:1450137600,JB:1453852800,KB:1457395200,LB:1461628800,MB:1465257600,NB:1470096000,OB:1474329600,PB:1479168000,QB:1485216000,RB:1488844800,SB:1492560000,TB:1497312000,UB:1502150400,VB:1506556800,WB:1510617600,XB:1516665600,tB:1520985600,YB:1525824000,uB:1529971200,ZB:1536105600,aB:1540252800,bB:1544486400,cB:1548720000,dB:1552953600,eB:1558396800,fB:1562630400,gB:1567468800,hB:1571788800,iB:1575331200,d:1578355200,jB:1581379200,kB:1583798400,lB:1586304000,mB:1588636800,nB:1591056000,oB:1593475200,P:1595894400,Q:1598313600,R:1600732800,vB:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,e:1633392000,f:1635811200,g:1638835200,h:1641859200,i:1644364800,j:1646697600,k:1649116800,l:1651536000,m:1653955200,n:1656374400,o:1658793600,p:1661212800,q:1663632000,r:1666051200,c:1668470400,s:1670889600,H:1673913600,wB:null,xB:null}},D:{A:{\"0\":0.004461,\"1\":0.004141,\"2\":0.004326,\"3\":0.0047,\"4\":0.004538,\"5\":0.008322,\"6\":0.008596,\"7\":0.004566,\"8\":0.004118,\"9\":0.007546,I:0.004706,t:0.004879,J:0.004879,D:0.005591,E:0.005591,F:0.005591,A:0.004534,B:0.004464,C:0.010424,K:0.0083,L:0.004706,G:0.015087,M:0.004393,N:0.004393,O:0.008652,u:0.008322,v:0.004393,w:0.004317,x:0.003901,y:0.008786,z:0.003939,AB:0.003901,BB:0.004335,CB:0.004464,DB:0.015092,EB:0.003867,FB:0.015092,GB:0.003773,HB:0.003974,IB:0.007546,JB:0.007948,KB:0.003974,LB:0.003867,MB:0.007546,NB:0.022638,OB:0.049049,PB:0.003867,QB:0.003929,RB:0.007546,SB:0.011319,TB:0.003867,UB:0.007546,VB:0.045276,WB:0.003773,XB:0.003773,tB:0.003773,YB:0.011319,uB:0.011319,ZB:0.003773,aB:0.015092,bB:0.003773,cB:0.011319,dB:0.030184,eB:0.007546,fB:0.007546,gB:0.079233,hB:0.026411,iB:0.011319,d:0.03773,jB:0.011319,kB:0.045276,lB:0.041503,mB:0.026411,nB:0.011319,oB:0.033957,P:0.120736,Q:0.041503,R:0.041503,S:0.07546,T:0.045276,U:0.094325,V:0.07546,W:0.079233,X:0.018865,Y:0.033957,Z:0.026411,a:0.056595,b:0.041503,e:0.049049,f:0.033957,g:0.022638,h:0.041503,i:0.056595,j:0.098098,k:0.049049,l:0.079233,m:0.060368,n:0.098098,o:0.279202,p:0.124509,q:0.192423,r:0.286748,c:3.64849,s:16.8389,H:0.033957,wB:0.018865,xB:0.011319,EC:0},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"I\",\"t\",\"J\",\"D\",\"E\",\"F\",\"A\",\"B\",\"C\",\"K\",\"L\",\"G\",\"M\",\"N\",\"O\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\",\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"AB\",\"BB\",\"CB\",\"DB\",\"EB\",\"FB\",\"GB\",\"HB\",\"IB\",\"JB\",\"KB\",\"LB\",\"MB\",\"NB\",\"OB\",\"PB\",\"QB\",\"RB\",\"SB\",\"TB\",\"UB\",\"VB\",\"WB\",\"XB\",\"tB\",\"YB\",\"uB\",\"ZB\",\"aB\",\"bB\",\"cB\",\"dB\",\"eB\",\"fB\",\"gB\",\"hB\",\"iB\",\"d\",\"jB\",\"kB\",\"lB\",\"mB\",\"nB\",\"oB\",\"P\",\"Q\",\"R\",\"S\",\"T\",\"U\",\"V\",\"W\",\"X\",\"Y\",\"Z\",\"a\",\"b\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"c\",\"s\",\"H\",\"wB\",\"xB\",\"EC\"],E:\"Chrome\",F:{\"0\":1357862400,\"1\":1361404800,\"2\":1364428800,\"3\":1369094400,\"4\":1374105600,\"5\":1376956800,\"6\":1384214400,\"7\":1389657600,\"8\":1392940800,\"9\":1397001600,I:1264377600,t:1274745600,J:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,u:1332892800,v:1337040000,w:1340668800,x:1343692800,y:1348531200,z:1352246400,AB:1400544000,BB:1405468800,CB:1409011200,DB:1412640000,EB:1416268800,FB:1421798400,GB:1425513600,HB:1429401600,IB:1432080000,JB:1437523200,KB:1441152000,LB:1444780800,MB:1449014400,NB:1453248000,OB:1456963200,PB:1460592000,QB:1464134400,RB:1469059200,SB:1472601600,TB:1476230400,UB:1480550400,VB:1485302400,WB:1489017600,XB:1492560000,tB:1496707200,YB:1500940800,uB:1504569600,ZB:1508198400,aB:1512518400,bB:1516752000,cB:1520294400,dB:1523923200,eB:1527552000,fB:1532390400,gB:1536019200,hB:1539648000,iB:1543968000,d:1548720000,jB:1552348800,kB:1555977600,lB:1559606400,mB:1564444800,nB:1568073600,oB:1571702400,P:1575936000,Q:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272000,a:1621987200,b:1626739200,e:1630368000,f:1632268800,g:1634601600,h:1637020800,i:1641340800,j:1643673600,k:1646092800,l:1648512000,m:1650931200,n:1653350400,o:1655769600,p:1659398400,q:1661817600,r:1664236800,c:1666656000,s:1669680000,H:1673308800,wB:null,xB:null,EC:null}},E:{A:{I:0,t:0.008322,J:0.004656,D:0.004465,E:0.003974,F:0.003929,A:0.004425,B:0.004318,C:0.003801,K:0.018865,L:0.094325,G:0.022638,FC:0,yB:0.008692,GC:0.011319,HC:0.00456,IC:0.004283,JC:0.022638,zB:0.007802,pB:0.007546,qB:0.033957,\"0B\":0.18865,KC:0.256564,LC:0.041503,\"1B\":0.03773,\"2B\":0.094325,\"3B\":0.192423,\"4B\":1.313,rB:0.162239,\"5B\":0.64141,\"6B\":0.143374,\"7B\":0,MC:0},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"FC\",\"yB\",\"I\",\"t\",\"GC\",\"J\",\"HC\",\"D\",\"IC\",\"E\",\"F\",\"JC\",\"A\",\"zB\",\"B\",\"pB\",\"C\",\"qB\",\"K\",\"0B\",\"L\",\"KC\",\"G\",\"LC\",\"1B\",\"2B\",\"3B\",\"4B\",\"rB\",\"5B\",\"6B\",\"7B\",\"MC\",\"\",\"\"],E:\"Safari\",F:{FC:1205798400,yB:1226534400,I:1244419200,t:1275868800,GC:1311120000,J:1343174400,HC:1382400000,D:1382400000,IC:1410998400,E:1413417600,F:1443657600,JC:1458518400,A:1474329600,zB:1490572800,B:1505779200,pB:1522281600,C:1537142400,qB:1553472000,K:1568851200,\"0B\":1585008000,L:1600214400,KC:1619395200,G:1632096000,LC:1635292800,\"1B\":1639353600,\"2B\":1647216000,\"3B\":1652745600,\"4B\":1658275200,rB:1662940800,\"5B\":1666569600,\"6B\":1670889600,\"7B\":1674432000,MC:null}},F:{A:{\"0\":0.006015,\"1\":0.005595,\"2\":0.004393,\"3\":0.007546,\"4\":0.004879,\"5\":0.004879,\"6\":0.003773,\"7\":0.005152,\"8\":0.005014,\"9\":0.009758,F:0.0082,B:0.016581,C:0.004317,G:0.00685,M:0.00685,N:0.00685,O:0.005014,u:0.006015,v:0.004879,w:0.006597,x:0.006597,y:0.013434,z:0.006702,AB:0.004879,BB:0.003773,CB:0.004283,DB:0.004367,EB:0.004534,FB:0.007546,GB:0.004227,HB:0.004418,IB:0.004161,JB:0.004227,KB:0.004725,LB:0.015092,MB:0.008942,NB:0.004707,OB:0.004827,PB:0.004707,QB:0.004707,RB:0.004326,SB:0.008922,TB:0.014349,UB:0.004425,VB:0.00472,WB:0.004425,XB:0.004425,YB:0.00472,ZB:0.004532,aB:0.004566,bB:0.02283,cB:0.00867,dB:0.004656,eB:0.004642,fB:0.003929,gB:0.00944,hB:0.004293,iB:0.003929,d:0.004298,jB:0.096692,kB:0.004201,lB:0.004141,mB:0.004257,nB:0.003939,oB:0.008236,P:0.003855,Q:0.003939,R:0.008514,vB:0.003939,S:0.003939,T:0.003702,U:0.007546,V:0.003855,W:0.003855,X:0.003929,Y:0.007802,Z:0.011703,a:0.007546,b:0.207515,NC:0.00685,OC:0,PC:0.008392,QC:0.004706,pB:0.006229,\"8B\":0.004879,RC:0.008786,qB:0.00472},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"F\",\"NC\",\"OC\",\"PC\",\"QC\",\"B\",\"pB\",\"8B\",\"RC\",\"C\",\"qB\",\"G\",\"M\",\"N\",\"O\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\",\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"AB\",\"BB\",\"CB\",\"DB\",\"EB\",\"FB\",\"GB\",\"HB\",\"IB\",\"JB\",\"KB\",\"LB\",\"MB\",\"NB\",\"OB\",\"PB\",\"QB\",\"RB\",\"SB\",\"TB\",\"UB\",\"VB\",\"WB\",\"XB\",\"YB\",\"ZB\",\"aB\",\"bB\",\"cB\",\"dB\",\"eB\",\"fB\",\"gB\",\"hB\",\"iB\",\"d\",\"jB\",\"kB\",\"lB\",\"mB\",\"nB\",\"oB\",\"P\",\"Q\",\"R\",\"vB\",\"S\",\"T\",\"U\",\"V\",\"W\",\"X\",\"Y\",\"Z\",\"a\",\"b\",\"\",\"\",\"\"],E:\"Opera\",F:{\"0\":1413331200,\"1\":1417132800,\"2\":1422316800,\"3\":1425945600,\"4\":1430179200,\"5\":1433808000,\"6\":1438646400,\"7\":1442448000,\"8\":1445904000,\"9\":1449100800,F:1150761600,NC:1223424000,OC:1251763200,PC:1267488000,QC:1277942400,B:1292457600,pB:1302566400,\"8B\":1309219200,RC:1323129600,C:1323129600,qB:1352073600,G:1372723200,M:1377561600,N:1381104000,O:1386288000,u:1390867200,v:1393891200,w:1399334400,x:1401753600,y:1405987200,z:1409616000,AB:1454371200,BB:1457308800,CB:1462320000,DB:1465344000,EB:1470096000,FB:1474329600,GB:1477267200,HB:1481587200,IB:1486425600,JB:1490054400,KB:1494374400,LB:1498003200,MB:1502236800,NB:1506470400,OB:1510099200,PB:1515024000,QB:1517961600,RB:1521676800,SB:1525910400,TB:1530144000,UB:1534982400,VB:1537833600,WB:1543363200,XB:1548201600,YB:1554768000,ZB:1561593600,aB:1566259200,bB:1570406400,cB:1573689600,dB:1578441600,eB:1583971200,fB:1587513600,gB:1592956800,hB:1595894400,iB:1600128000,d:1603238400,jB:1613520000,kB:1612224000,lB:1616544000,mB:1619568000,nB:1623715200,oB:1627948800,P:1631577600,Q:1633392000,R:1635984000,vB:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152000,Z:1660780800,a:1663113600,b:1668816000},D:{F:\"o\",B:\"o\",C:\"o\",NC:\"o\",OC:\"o\",PC:\"o\",QC:\"o\",pB:\"o\",\"8B\":\"o\",RC:\"o\",qB:\"o\"}},G:{A:{E:0,yB:0,SC:0,\"9B\":0.00470195,TC:0.00470195,UC:0.00313463,VC:0.0141058,WC:0.00626926,XC:0.0188078,YC:0.0611253,ZC:0.00783658,aC:0.106577,bC:0.0282117,cC:0.0266444,dC:0.0250771,eC:0.405935,fC:0.0423175,gC:0.0109712,hC:0.0391829,iC:0.141058,jC:0.340108,kC:0.647301,lC:0.186511,\"1B\":0.239799,\"2B\":0.304059,\"3B\":0.546993,\"4B\":2.31493,rB:2.09864,\"5B\":6.33196,\"6B\":0.694321,\"7B\":0.0156732},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"yB\",\"SC\",\"9B\",\"TC\",\"UC\",\"VC\",\"E\",\"WC\",\"XC\",\"YC\",\"ZC\",\"aC\",\"bC\",\"cC\",\"dC\",\"eC\",\"fC\",\"gC\",\"hC\",\"iC\",\"jC\",\"kC\",\"lC\",\"1B\",\"2B\",\"3B\",\"4B\",\"rB\",\"5B\",\"6B\",\"7B\",\"\",\"\",\"\"],E:\"Safari on iOS\",F:{yB:1270252800,SC:1283904000,\"9B\":1299628800,TC:1331078400,UC:1359331200,VC:1394409600,E:1410912000,WC:1413763200,XC:1442361600,YC:1458518400,ZC:1473724800,aC:1490572800,bC:1505779200,cC:1522281600,dC:1537142400,eC:1553472000,fC:1568851200,gC:1572220800,hC:1580169600,iC:1585008000,jC:1600214400,kC:1619395200,lC:1632096000,\"1B\":1639353600,\"2B\":1647216000,\"3B\":1652659200,\"4B\":1658275200,rB:1662940800,\"5B\":1666569600,\"6B\":1670889600,\"7B\":1674432000}},H:{A:{mC:0.966988},B:\"o\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"mC\",\"\",\"\",\"\"],E:\"Opera Mini\",F:{mC:1426464000}},I:{A:{sB:0,I:0.0306951,H:0,nC:0,oC:0.0204634,pC:0,qC:0.0204634,\"9B\":0.0818537,rC:0,sC:0.4195},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"nC\",\"oC\",\"pC\",\"sB\",\"I\",\"qC\",\"9B\",\"rC\",\"sC\",\"H\",\"\",\"\",\"\"],E:\"Android Browser\",F:{nC:1256515200,oC:1274313600,pC:1291593600,sB:1298332800,I:1318896000,qC:1341792000,\"9B\":1374624000,rC:1386547200,sC:1401667200,H:1673568000}},J:{A:{D:0,A:0},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"D\",\"A\",\"\",\"\",\"\"],E:\"Blackberry Browser\",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,d:0.0111391,pB:0,\"8B\":0,qB:0},B:\"o\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"A\",\"B\",\"pB\",\"8B\",\"C\",\"qB\",\"d\",\"\",\"\",\"\"],E:\"Opera Mobile\",F:{A:1287100800,B:1300752000,pB:1314835200,\"8B\":1318291200,C:1330300800,qB:1349740800,d:1666828800},D:{d:\"webkit\"}},L:{A:{H:41.5426},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"H\",\"\",\"\",\"\"],E:\"Chrome for Android\",F:{H:1673568000}},M:{A:{c:0.292716},B:\"moz\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"c\",\"\",\"\",\"\"],E:\"Firefox for Android\",F:{c:1668470400}},N:{A:{A:0.0115934,B:0.022664},B:\"ms\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"A\",\"B\",\"\",\"\",\"\"],E:\"IE Mobile\",F:{A:1340150400,B:1353456000}},O:{A:{tC:1.75007},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"tC\",\"\",\"\",\"\"],E:\"UC Browser for Android\",F:{tC:1634688000},D:{tC:\"webkit\"}},P:{A:{I:0.166409,uC:0.0103543,vC:0.010304,wC:0.0520028,xC:0.0103584,yC:0.0104443,zB:0.0105043,zC:0.0312017,\"0C\":0.0104006,\"1C\":0.0520028,\"2C\":0.0624033,\"3C\":0.0312017,rB:0.114406,\"4C\":0.124807,\"5C\":0.249613,\"6C\":2.25692},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"I\",\"uC\",\"vC\",\"wC\",\"xC\",\"yC\",\"zB\",\"zC\",\"0C\",\"1C\",\"2C\",\"3C\",\"rB\",\"4C\",\"5C\",\"6C\",\"\",\"\",\"\"],E:\"Samsung Internet\",F:{I:1461024000,uC:1481846400,vC:1509408000,wC:1528329600,xC:1546128000,yC:1554163200,zB:1567900800,zC:1582588800,\"0C\":1593475200,\"1C\":1605657600,\"2C\":1618531200,\"3C\":1629072000,rB:1640736000,\"4C\":1651708800,\"5C\":1659657600,\"6C\":1667260800}},Q:{A:{\"0B\":0.199296},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"0B\",\"\",\"\",\"\"],E:\"QQ Browser\",F:{\"0B\":1663718400}},R:{A:{\"7C\":0},B:\"webkit\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"7C\",\"\",\"\",\"\"],E:\"Baidu Browser\",F:{\"7C\":1663027200}},S:{A:{\"8C\":0.068508},B:\"moz\",C:[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"8C\",\"\",\"\",\"\"],E:\"KaiOS Browser\",F:{\"8C\":1527811200}}};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/data/agents.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/data/browserVersions.js": /*!***********************************************************!*\ !*** ./node_modules/caniuse-lite/data/browserVersions.js ***! \***********************************************************/ /***/ ((module) => { eval("module.exports={\"0\":\"25\",\"1\":\"26\",\"2\":\"27\",\"3\":\"28\",\"4\":\"29\",\"5\":\"30\",\"6\":\"31\",\"7\":\"32\",\"8\":\"33\",\"9\":\"34\",A:\"10\",B:\"11\",C:\"12\",D:\"7\",E:\"8\",F:\"9\",G:\"15\",H:\"109\",I:\"4\",J:\"6\",K:\"13\",L:\"14\",M:\"16\",N:\"17\",O:\"18\",P:\"79\",Q:\"80\",R:\"81\",S:\"83\",T:\"84\",U:\"85\",V:\"86\",W:\"87\",X:\"88\",Y:\"89\",Z:\"90\",a:\"91\",b:\"92\",c:\"107\",d:\"72\",e:\"93\",f:\"94\",g:\"95\",h:\"96\",i:\"97\",j:\"98\",k:\"99\",l:\"100\",m:\"101\",n:\"102\",o:\"103\",p:\"104\",q:\"105\",r:\"106\",s:\"108\",t:\"5\",u:\"19\",v:\"20\",w:\"21\",x:\"22\",y:\"23\",z:\"24\",AB:\"35\",BB:\"36\",CB:\"37\",DB:\"38\",EB:\"39\",FB:\"40\",GB:\"41\",HB:\"42\",IB:\"43\",JB:\"44\",KB:\"45\",LB:\"46\",MB:\"47\",NB:\"48\",OB:\"49\",PB:\"50\",QB:\"51\",RB:\"52\",SB:\"53\",TB:\"54\",UB:\"55\",VB:\"56\",WB:\"57\",XB:\"58\",YB:\"60\",ZB:\"62\",aB:\"63\",bB:\"64\",cB:\"65\",dB:\"66\",eB:\"67\",fB:\"68\",gB:\"69\",hB:\"70\",iB:\"71\",jB:\"73\",kB:\"74\",lB:\"75\",mB:\"76\",nB:\"77\",oB:\"78\",pB:\"11.1\",qB:\"12.1\",rB:\"16.0\",sB:\"3\",tB:\"59\",uB:\"61\",vB:\"82\",wB:\"110\",xB:\"111\",yB:\"3.2\",zB:\"10.1\",\"0B\":\"13.1\",\"1B\":\"15.2-15.3\",\"2B\":\"15.4\",\"3B\":\"15.5\",\"4B\":\"15.6\",\"5B\":\"16.1\",\"6B\":\"16.2\",\"7B\":\"16.3\",\"8B\":\"11.5\",\"9B\":\"4.2-4.3\",AC:\"5.5\",BC:\"2\",CC:\"3.5\",DC:\"3.6\",EC:\"112\",FC:\"3.1\",GC:\"5.1\",HC:\"6.1\",IC:\"7.1\",JC:\"9.1\",KC:\"14.1\",LC:\"15.1\",MC:\"TP\",NC:\"9.5-9.6\",OC:\"10.0-10.1\",PC:\"10.5\",QC:\"10.6\",RC:\"11.6\",SC:\"4.0-4.1\",TC:\"5.0-5.1\",UC:\"6.0-6.1\",VC:\"7.0-7.1\",WC:\"8.1-8.4\",XC:\"9.0-9.2\",YC:\"9.3\",ZC:\"10.0-10.2\",aC:\"10.3\",bC:\"11.0-11.2\",cC:\"11.3-11.4\",dC:\"12.0-12.1\",eC:\"12.2-12.5\",fC:\"13.0-13.1\",gC:\"13.2\",hC:\"13.3\",iC:\"13.4-13.7\",jC:\"14.0-14.4\",kC:\"14.5-14.8\",lC:\"15.0-15.1\",mC:\"all\",nC:\"2.1\",oC:\"2.2\",pC:\"2.3\",qC:\"4.1\",rC:\"4.4\",sC:\"4.4.3-4.4.4\",tC:\"13.4\",uC:\"5.0-5.4\",vC:\"6.2-6.4\",wC:\"7.2-7.4\",xC:\"8.2\",yC:\"9.2\",zC:\"11.1-11.2\",\"0C\":\"12.0\",\"1C\":\"13.0\",\"2C\":\"14.0\",\"3C\":\"15.0\",\"4C\":\"17.0\",\"5C\":\"18.0\",\"6C\":\"19.0\",\"7C\":\"13.18\",\"8C\":\"2.5\"};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/data/browserVersions.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/data/browsers.js": /*!****************************************************!*\ !*** ./node_modules/caniuse-lite/data/browsers.js ***! \****************************************************/ /***/ ((module) => { eval("module.exports={A:\"ie\",B:\"edge\",C:\"firefox\",D:\"chrome\",E:\"safari\",F:\"opera\",G:\"ios_saf\",H:\"op_mini\",I:\"android\",J:\"bb\",K:\"op_mob\",L:\"and_chr\",M:\"and_ff\",N:\"ie_mob\",O:\"and_uc\",P:\"samsung\",Q:\"and_qq\",R:\"baidu\",S:\"kaios\"};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/data/browsers.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/dist/unpacker/agents.js": /*!***********************************************************!*\ !*** ./node_modules/caniuse-lite/dist/unpacker/agents.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nconst browsers = (__webpack_require__(/*! ./browsers */ \"./node_modules/caniuse-lite/dist/unpacker/browsers.js\").browsers)\nconst versions = (__webpack_require__(/*! ./browserVersions */ \"./node_modules/caniuse-lite/dist/unpacker/browserVersions.js\").browserVersions)\nconst agentsData = __webpack_require__(/*! ../../data/agents */ \"./node_modules/caniuse-lite/data/agents.js\")\n\nfunction unpackBrowserVersions(versionsData) {\n return Object.keys(versionsData).reduce((usage, version) => {\n usage[versions[version]] = versionsData[version]\n return usage\n }, {})\n}\n\nmodule.exports.agents = Object.keys(agentsData).reduce((map, key) => {\n let versionsData = agentsData[key]\n map[browsers[key]] = Object.keys(versionsData).reduce((data, entry) => {\n if (entry === 'A') {\n data.usage_global = unpackBrowserVersions(versionsData[entry])\n } else if (entry === 'C') {\n data.versions = versionsData[entry].reduce((list, version) => {\n if (version === '') {\n list.push(null)\n } else {\n list.push(versions[version])\n }\n return list\n }, [])\n } else if (entry === 'D') {\n data.prefix_exceptions = unpackBrowserVersions(versionsData[entry])\n } else if (entry === 'E') {\n data.browser = versionsData[entry]\n } else if (entry === 'F') {\n data.release_date = Object.keys(versionsData[entry]).reduce(\n (map2, key2) => {\n map2[versions[key2]] = versionsData[entry][key2]\n return map2\n },\n {}\n )\n } else {\n // entry is B\n data.prefix = versionsData[entry]\n }\n return data\n }, {})\n return map\n}, {})\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/dist/unpacker/agents.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/dist/unpacker/browserVersions.js": /*!********************************************************************!*\ !*** ./node_modules/caniuse-lite/dist/unpacker/browserVersions.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("module.exports.browserVersions = __webpack_require__(/*! ../../data/browserVersions */ \"./node_modules/caniuse-lite/data/browserVersions.js\")\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/dist/unpacker/browserVersions.js?"); /***/ }), /***/ "./node_modules/caniuse-lite/dist/unpacker/browsers.js": /*!*************************************************************!*\ !*** ./node_modules/caniuse-lite/dist/unpacker/browsers.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("module.exports.browsers = __webpack_require__(/*! ../../data/browsers */ \"./node_modules/caniuse-lite/data/browsers.js\")\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/caniuse-lite/dist/unpacker/browsers.js?"); /***/ }), /***/ "./node_modules/chrome-trace-event/dist/trace-event.js": /*!*************************************************************!*\ !*** ./node_modules/chrome-trace-event/dist/trace-event.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n/**\n * trace-event - A library to create a trace of your node app per\n * Google's Trace Event format:\n * // JSSTYLED\n * https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU\n */\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Tracer = void 0;\nconst stream_1 = __webpack_require__(/*! stream */ \"?8b61\");\nfunction evCommon() {\n var hrtime = process.hrtime(); // [seconds, nanoseconds]\n var ts = hrtime[0] * 1000000 + Math.round(hrtime[1] / 1000); // microseconds\n return {\n ts,\n pid: process.pid,\n tid: process.pid // no meaningful tid for node.js\n };\n}\nclass Tracer extends stream_1.Readable {\n constructor(opts = {}) {\n super();\n this.noStream = false;\n this.events = [];\n if (typeof opts !== \"object\") {\n throw new Error(\"Invalid options passed (must be an object)\");\n }\n if (opts.parent != null && typeof opts.parent !== \"object\") {\n throw new Error(\"Invalid option (parent) passed (must be an object)\");\n }\n if (opts.fields != null && typeof opts.fields !== \"object\") {\n throw new Error(\"Invalid option (fields) passed (must be an object)\");\n }\n if (opts.objectMode != null &&\n (opts.objectMode !== true && opts.objectMode !== false)) {\n throw new Error(\"Invalid option (objectsMode) passed (must be a boolean)\");\n }\n this.noStream = opts.noStream || false;\n this.parent = opts.parent;\n if (this.parent) {\n this.fields = Object.assign({}, opts.parent && opts.parent.fields);\n }\n else {\n this.fields = {};\n }\n if (opts.fields) {\n Object.assign(this.fields, opts.fields);\n }\n if (!this.fields.cat) {\n // trace-viewer *requires* `cat`, so let's have a fallback.\n this.fields.cat = \"default\";\n }\n else if (Array.isArray(this.fields.cat)) {\n this.fields.cat = this.fields.cat.join(\",\");\n }\n if (!this.fields.args) {\n // trace-viewer *requires* `args`, so let's have a fallback.\n this.fields.args = {};\n }\n if (this.parent) {\n // TODO: Not calling Readable ctor here. Does that cause probs?\n // Probably if trying to pipe from the child.\n // Might want a serpate TracerChild class for these guys.\n this._push = this.parent._push.bind(this.parent);\n }\n else {\n this._objectMode = Boolean(opts.objectMode);\n var streamOpts = { objectMode: this._objectMode };\n if (this._objectMode) {\n this._push = this.push;\n }\n else {\n this._push = this._pushString;\n streamOpts.encoding = \"utf8\";\n }\n stream_1.Readable.call(this, streamOpts);\n }\n }\n /**\n * If in no streamMode in order to flush out the trace\n * you need to call flush.\n */\n flush() {\n if (this.noStream === true) {\n for (const evt of this.events) {\n this._push(evt);\n }\n this._flush();\n }\n }\n _read(_) { }\n _pushString(ev) {\n var separator = \"\";\n if (!this.firstPush) {\n this.push(\"[\");\n this.firstPush = true;\n }\n else {\n separator = \",\\n\";\n }\n this.push(separator + JSON.stringify(ev), \"utf8\");\n }\n _flush() {\n if (!this._objectMode) {\n this.push(\"]\");\n }\n }\n child(fields) {\n return new Tracer({\n parent: this,\n fields: fields\n });\n }\n begin(fields) {\n return this.mkEventFunc(\"b\")(fields);\n }\n end(fields) {\n return this.mkEventFunc(\"e\")(fields);\n }\n completeEvent(fields) {\n return this.mkEventFunc(\"X\")(fields);\n }\n instantEvent(fields) {\n return this.mkEventFunc(\"I\")(fields);\n }\n mkEventFunc(ph) {\n return (fields) => {\n var ev = evCommon();\n // Assign the event phase.\n ev.ph = ph;\n if (fields) {\n if (typeof fields === \"string\") {\n ev.name = fields;\n }\n else {\n for (const k of Object.keys(fields)) {\n if (k === \"cat\") {\n ev.cat = fields.cat.join(\",\");\n }\n else {\n ev[k] = fields[k];\n }\n }\n }\n }\n if (!this.noStream) {\n this._push(ev);\n }\n else {\n this.events.push(ev);\n }\n };\n }\n}\nexports.Tracer = Tracer;\n/*\n * These correspond to the \"Async events\" in the Trace Events doc.\n *\n * Required fields:\n * - name\n * - id\n *\n * Optional fields:\n * - cat (array)\n * - args (object)\n * - TODO: stack fields, other optional fields?\n *\n * Dev Note: We don't explicitly assert that correct fields are\n * used for speed (premature optimization alert!).\n */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/chrome-trace-event/dist/trace-event.js?"); /***/ }), /***/ "./node_modules/electron-to-chromium/versions.js": /*!*******************************************************!*\ !*** ./node_modules/electron-to-chromium/versions.js ***! \*******************************************************/ /***/ ((module) => { eval("module.exports = {\n\t\"0.20\": \"39\",\n\t\"0.21\": \"41\",\n\t\"0.22\": \"41\",\n\t\"0.23\": \"41\",\n\t\"0.24\": \"41\",\n\t\"0.25\": \"42\",\n\t\"0.26\": \"42\",\n\t\"0.27\": \"43\",\n\t\"0.28\": \"43\",\n\t\"0.29\": \"43\",\n\t\"0.30\": \"44\",\n\t\"0.31\": \"45\",\n\t\"0.32\": \"45\",\n\t\"0.33\": \"45\",\n\t\"0.34\": \"45\",\n\t\"0.35\": \"45\",\n\t\"0.36\": \"47\",\n\t\"0.37\": \"49\",\n\t\"1.0\": \"49\",\n\t\"1.1\": \"50\",\n\t\"1.2\": \"51\",\n\t\"1.3\": \"52\",\n\t\"1.4\": \"53\",\n\t\"1.5\": \"54\",\n\t\"1.6\": \"56\",\n\t\"1.7\": \"58\",\n\t\"1.8\": \"59\",\n\t\"2.0\": \"61\",\n\t\"2.1\": \"61\",\n\t\"3.0\": \"66\",\n\t\"3.1\": \"66\",\n\t\"4.0\": \"69\",\n\t\"4.1\": \"69\",\n\t\"4.2\": \"69\",\n\t\"5.0\": \"73\",\n\t\"6.0\": \"76\",\n\t\"6.1\": \"76\",\n\t\"7.0\": \"78\",\n\t\"7.1\": \"78\",\n\t\"7.2\": \"78\",\n\t\"7.3\": \"78\",\n\t\"8.0\": \"80\",\n\t\"8.1\": \"80\",\n\t\"8.2\": \"80\",\n\t\"8.3\": \"80\",\n\t\"8.4\": \"80\",\n\t\"8.5\": \"80\",\n\t\"9.0\": \"83\",\n\t\"9.1\": \"83\",\n\t\"9.2\": \"83\",\n\t\"9.3\": \"83\",\n\t\"9.4\": \"83\",\n\t\"10.0\": \"85\",\n\t\"10.1\": \"85\",\n\t\"10.2\": \"85\",\n\t\"10.3\": \"85\",\n\t\"10.4\": \"85\",\n\t\"11.0\": \"87\",\n\t\"11.1\": \"87\",\n\t\"11.2\": \"87\",\n\t\"11.3\": \"87\",\n\t\"11.4\": \"87\",\n\t\"11.5\": \"87\",\n\t\"12.0\": \"89\",\n\t\"12.1\": \"89\",\n\t\"12.2\": \"89\",\n\t\"13.0\": \"91\",\n\t\"13.1\": \"91\",\n\t\"13.2\": \"91\",\n\t\"13.3\": \"91\",\n\t\"13.4\": \"91\",\n\t\"13.5\": \"91\",\n\t\"13.6\": \"91\",\n\t\"14.0\": \"93\",\n\t\"14.1\": \"93\",\n\t\"14.2\": \"93\",\n\t\"15.0\": \"94\",\n\t\"15.1\": \"94\",\n\t\"15.2\": \"94\",\n\t\"15.3\": \"94\",\n\t\"15.4\": \"94\",\n\t\"15.5\": \"94\",\n\t\"16.0\": \"96\",\n\t\"16.1\": \"96\",\n\t\"16.2\": \"96\",\n\t\"17.0\": \"98\",\n\t\"17.1\": \"98\",\n\t\"17.2\": \"98\",\n\t\"17.3\": \"98\",\n\t\"17.4\": \"98\",\n\t\"18.0\": \"100\",\n\t\"18.1\": \"100\",\n\t\"18.2\": \"100\",\n\t\"18.3\": \"100\",\n\t\"19.0\": \"102\",\n\t\"19.1\": \"102\",\n\t\"20.0\": \"104\",\n\t\"20.1\": \"104\",\n\t\"20.2\": \"104\",\n\t\"20.3\": \"104\",\n\t\"21.0\": \"106\",\n\t\"21.1\": \"106\",\n\t\"22.0\": \"108\"\n};\n\n//# sourceURL=webpack://JSONDigger/./node_modules/electron-to-chromium/versions.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/AliasFieldPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/AliasFieldPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\nconst getInnerRequest = __webpack_require__(/*! ./getInnerRequest */ \"./node_modules/enhanced-resolve/lib/getInnerRequest.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class AliasFieldPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | Array<string>} field field\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, field, target) {\n\t\tthis.source = source;\n\t\tthis.field = field;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"AliasFieldPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (!request.descriptionFileData) return callback();\n\t\t\t\tconst innerRequest = getInnerRequest(resolver, request);\n\t\t\t\tif (!innerRequest) return callback();\n\t\t\t\tconst fieldData = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\tthis.field\n\t\t\t\t);\n\t\t\t\tif (fieldData === null || typeof fieldData !== \"object\") {\n\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\"Field '\" +\n\t\t\t\t\t\t\t\tthis.field +\n\t\t\t\t\t\t\t\t\"' doesn't contain a valid alias configuration\"\n\t\t\t\t\t\t);\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\tconst data = Object.prototype.hasOwnProperty.call(\n\t\t\t\t\tfieldData,\n\t\t\t\t\tinnerRequest\n\t\t\t\t)\n\t\t\t\t\t? fieldData[innerRequest]\n\t\t\t\t\t: innerRequest.startsWith(\"./\")\n\t\t\t\t\t? fieldData[innerRequest.slice(2)]\n\t\t\t\t\t: undefined;\n\t\t\t\tif (data === innerRequest) return callback();\n\t\t\t\tif (data === undefined) return callback();\n\t\t\t\tif (data === false) {\n\t\t\t\t\t/** @type {ResolveRequest} */\n\t\t\t\t\tconst ignoreObj = {\n\t\t\t\t\t\t...request,\n\t\t\t\t\t\tpath: false\n\t\t\t\t\t};\n\t\t\t\t\tif (typeof resolveContext.yield === \"function\") {\n\t\t\t\t\t\tresolveContext.yield(ignoreObj);\n\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(null, ignoreObj);\n\t\t\t\t}\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: request.descriptionFileRoot,\n\t\t\t\t\trequest: data,\n\t\t\t\t\tfullySpecified: false\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t\"aliased from description file \" +\n\t\t\t\t\t\trequest.descriptionFilePath +\n\t\t\t\t\t\t\" with mapping '\" +\n\t\t\t\t\t\tinnerRequest +\n\t\t\t\t\t\t\"' to '\" +\n\t\t\t\t\t\tdata +\n\t\t\t\t\t\t\"'\",\n\t\t\t\t\tresolveContext,\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t// Don't allow other aliasing or raw request\n\t\t\t\t\t\tif (result === undefined) return callback(null, null);\n\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/AliasFieldPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/AliasPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/AliasPlugin.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\nconst { PathType, getType } = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {{alias: string|Array<string>|false, name: string, onlyModule?: boolean}} AliasOption */\n\nmodule.exports = class AliasPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {AliasOption | Array<AliasOption>} options options\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, options, target) {\n\t\tthis.source = source;\n\t\tthis.options = Array.isArray(options) ? options : [options];\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tconst getAbsolutePathWithSlashEnding = maybeAbsolutePath => {\n\t\t\tconst type = getType(maybeAbsolutePath);\n\t\t\tif (type === PathType.AbsolutePosix || type === PathType.AbsoluteWin) {\n\t\t\t\treturn resolver.join(maybeAbsolutePath, \"_\").slice(0, -1);\n\t\t\t}\n\t\t\treturn null;\n\t\t};\n\t\tconst isSubPath = (path, maybeSubPath) => {\n\t\t\tconst absolutePath = getAbsolutePathWithSlashEnding(maybeSubPath);\n\t\t\tif (!absolutePath) return false;\n\t\t\treturn path.startsWith(absolutePath);\n\t\t};\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"AliasPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst innerRequest = request.request || request.path;\n\t\t\t\tif (!innerRequest) return callback();\n\t\t\t\tforEachBail(\n\t\t\t\t\tthis.options,\n\t\t\t\t\t(item, callback) => {\n\t\t\t\t\t\tlet shouldStop = false;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tinnerRequest === item.name ||\n\t\t\t\t\t\t\t(!item.onlyModule &&\n\t\t\t\t\t\t\t\t(request.request\n\t\t\t\t\t\t\t\t\t? innerRequest.startsWith(`${item.name}/`)\n\t\t\t\t\t\t\t\t\t: isSubPath(innerRequest, item.name)))\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst remainingRequest = innerRequest.substr(item.name.length);\n\t\t\t\t\t\t\tconst resolveWithAlias = (alias, callback) => {\n\t\t\t\t\t\t\t\tif (alias === false) {\n\t\t\t\t\t\t\t\t\t/** @type {ResolveRequest} */\n\t\t\t\t\t\t\t\t\tconst ignoreObj = {\n\t\t\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\t\t\tpath: false\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif (typeof resolveContext.yield === \"function\") {\n\t\t\t\t\t\t\t\t\t\tresolveContext.yield(ignoreObj);\n\t\t\t\t\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn callback(null, ignoreObj);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tinnerRequest !== alias &&\n\t\t\t\t\t\t\t\t\t!innerRequest.startsWith(alias + \"/\")\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tshouldStop = true;\n\t\t\t\t\t\t\t\t\tconst newRequestStr = alias + remainingRequest;\n\t\t\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\t\t\trequest: newRequestStr,\n\t\t\t\t\t\t\t\t\t\tfullySpecified: false\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\treturn resolver.doResolve(\n\t\t\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\t\t\t\"aliased with mapping '\" +\n\t\t\t\t\t\t\t\t\t\t\titem.name +\n\t\t\t\t\t\t\t\t\t\t\t\"': '\" +\n\t\t\t\t\t\t\t\t\t\t\talias +\n\t\t\t\t\t\t\t\t\t\t\t\"' to '\" +\n\t\t\t\t\t\t\t\t\t\t\tnewRequestStr +\n\t\t\t\t\t\t\t\t\t\t\t\"'\",\n\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\t\tif (result) return callback(null, result);\n\t\t\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tconst stoppingCallback = (err, result) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\tif (result) return callback(null, result);\n\t\t\t\t\t\t\t\t// Don't allow other aliasing or raw request\n\t\t\t\t\t\t\t\tif (shouldStop) return callback(null, null);\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (Array.isArray(item.alias)) {\n\t\t\t\t\t\t\t\treturn forEachBail(\n\t\t\t\t\t\t\t\t\titem.alias,\n\t\t\t\t\t\t\t\t\tresolveWithAlias,\n\t\t\t\t\t\t\t\t\tstoppingCallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn resolveWithAlias(item.alias, stoppingCallback);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t},\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/AliasPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/AppendPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/AppendPlugin.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class AppendPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string} appending appending\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, appending, target) {\n\t\tthis.source = source;\n\t\tthis.appending = appending;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"AppendPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: request.path + this.appending,\n\t\t\t\t\trelativePath:\n\t\t\t\t\t\trequest.relativePath && request.relativePath + this.appending\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\tthis.appending,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/AppendPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js": /*!********************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst nextTick = (__webpack_require__(/*! process */ \"./node_modules/enhanced-resolve/lib/util/process-browser.js\").nextTick);\n\n/** @typedef {import(\"./Resolver\").FileSystem} FileSystem */\n/** @typedef {import(\"./Resolver\").SyncFileSystem} SyncFileSystem */\n\nconst dirname = path => {\n\tlet idx = path.length - 1;\n\twhile (idx >= 0) {\n\t\tconst c = path.charCodeAt(idx);\n\t\t// slash or backslash\n\t\tif (c === 47 || c === 92) break;\n\t\tidx--;\n\t}\n\tif (idx < 0) return \"\";\n\treturn path.slice(0, idx);\n};\n\nconst runCallbacks = (callbacks, err, result) => {\n\tif (callbacks.length === 1) {\n\t\tcallbacks[0](err, result);\n\t\tcallbacks.length = 0;\n\t\treturn;\n\t}\n\tlet error;\n\tfor (const callback of callbacks) {\n\t\ttry {\n\t\t\tcallback(err, result);\n\t\t} catch (e) {\n\t\t\tif (!error) error = e;\n\t\t}\n\t}\n\tcallbacks.length = 0;\n\tif (error) throw error;\n};\n\nclass OperationMergerBackend {\n\t/**\n\t * @param {any} provider async method\n\t * @param {any} syncProvider sync method\n\t * @param {any} providerContext call context for the provider methods\n\t */\n\tconstructor(provider, syncProvider, providerContext) {\n\t\tthis._provider = provider;\n\t\tthis._syncProvider = syncProvider;\n\t\tthis._providerContext = providerContext;\n\t\tthis._activeAsyncOperations = new Map();\n\n\t\tthis.provide = this._provider\n\t\t\t? (path, options, callback) => {\n\t\t\t\t\tif (typeof options === \"function\") {\n\t\t\t\t\t\tcallback = options;\n\t\t\t\t\t\toptions = undefined;\n\t\t\t\t\t}\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\treturn this._provider.call(\n\t\t\t\t\t\t\tthis._providerContext,\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof path !== \"string\") {\n\t\t\t\t\t\tcallback(new TypeError(\"path must be a string\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet callbacks = this._activeAsyncOperations.get(path);\n\t\t\t\t\tif (callbacks) {\n\t\t\t\t\t\tcallbacks.push(callback);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis._activeAsyncOperations.set(path, (callbacks = [callback]));\n\t\t\t\t\tprovider(path, (err, result) => {\n\t\t\t\t\t\tthis._activeAsyncOperations.delete(path);\n\t\t\t\t\t\trunCallbacks(callbacks, err, result);\n\t\t\t\t\t});\n\t\t\t }\n\t\t\t: null;\n\t\tthis.provideSync = this._syncProvider\n\t\t\t? (path, options) => {\n\t\t\t\t\treturn this._syncProvider.call(this._providerContext, path, options);\n\t\t\t }\n\t\t\t: null;\n\t}\n\n\tpurge() {}\n\tpurgeParent() {}\n}\n\n/*\n\nIDLE:\n\tinsert data: goto SYNC\n\nSYNC:\n\tbefore provide: run ticks\n\tevent loop tick: goto ASYNC_ACTIVE\n\nASYNC:\n\ttimeout: run tick, goto ASYNC_PASSIVE\n\nASYNC_PASSIVE:\n\tbefore provide: run ticks\n\nIDLE --[insert data]--> SYNC --[event loop tick]--> ASYNC_ACTIVE --[interval tick]-> ASYNC_PASSIVE\n ^ |\n +---------[insert data]-------+\n*/\n\nconst STORAGE_MODE_IDLE = 0;\nconst STORAGE_MODE_SYNC = 1;\nconst STORAGE_MODE_ASYNC = 2;\n\nclass CacheBackend {\n\t/**\n\t * @param {number} duration max cache duration of items\n\t * @param {any} provider async method\n\t * @param {any} syncProvider sync method\n\t * @param {any} providerContext call context for the provider methods\n\t */\n\tconstructor(duration, provider, syncProvider, providerContext) {\n\t\tthis._duration = duration;\n\t\tthis._provider = provider;\n\t\tthis._syncProvider = syncProvider;\n\t\tthis._providerContext = providerContext;\n\t\t/** @type {Map<string, (function(Error, any): void)[]>} */\n\t\tthis._activeAsyncOperations = new Map();\n\t\t/** @type {Map<string, { err: Error, result: any, level: Set<string> }>} */\n\t\tthis._data = new Map();\n\t\t/** @type {Set<string>[]} */\n\t\tthis._levels = [];\n\t\tfor (let i = 0; i < 10; i++) this._levels.push(new Set());\n\t\tfor (let i = 5000; i < duration; i += 500) this._levels.push(new Set());\n\t\tthis._currentLevel = 0;\n\t\tthis._tickInterval = Math.floor(duration / this._levels.length);\n\t\t/** @type {STORAGE_MODE_IDLE | STORAGE_MODE_SYNC | STORAGE_MODE_ASYNC} */\n\t\tthis._mode = STORAGE_MODE_IDLE;\n\n\t\t/** @type {NodeJS.Timeout | undefined} */\n\t\tthis._timeout = undefined;\n\t\t/** @type {number | undefined} */\n\t\tthis._nextDecay = undefined;\n\n\t\tthis.provide = provider ? this.provide.bind(this) : null;\n\t\tthis.provideSync = syncProvider ? this.provideSync.bind(this) : null;\n\t}\n\n\tprovide(path, options, callback) {\n\t\tif (typeof options === \"function\") {\n\t\t\tcallback = options;\n\t\t\toptions = undefined;\n\t\t}\n\t\tif (typeof path !== \"string\") {\n\t\t\tcallback(new TypeError(\"path must be a string\"));\n\t\t\treturn;\n\t\t}\n\t\tif (options) {\n\t\t\treturn this._provider.call(\n\t\t\t\tthis._providerContext,\n\t\t\t\tpath,\n\t\t\t\toptions,\n\t\t\t\tcallback\n\t\t\t);\n\t\t}\n\n\t\t// When in sync mode we can move to async mode\n\t\tif (this._mode === STORAGE_MODE_SYNC) {\n\t\t\tthis._enterAsyncMode();\n\t\t}\n\n\t\t// Check in cache\n\t\tlet cacheEntry = this._data.get(path);\n\t\tif (cacheEntry !== undefined) {\n\t\t\tif (cacheEntry.err) return nextTick(callback, cacheEntry.err);\n\t\t\treturn nextTick(callback, null, cacheEntry.result);\n\t\t}\n\n\t\t// Check if there is already the same operation running\n\t\tlet callbacks = this._activeAsyncOperations.get(path);\n\t\tif (callbacks !== undefined) {\n\t\t\tcallbacks.push(callback);\n\t\t\treturn;\n\t\t}\n\t\tthis._activeAsyncOperations.set(path, (callbacks = [callback]));\n\n\t\t// Run the operation\n\t\tthis._provider.call(this._providerContext, path, (err, result) => {\n\t\t\tthis._activeAsyncOperations.delete(path);\n\t\t\tthis._storeResult(path, err, result);\n\n\t\t\t// Enter async mode if not yet done\n\t\t\tthis._enterAsyncMode();\n\n\t\t\trunCallbacks(callbacks, err, result);\n\t\t});\n\t}\n\n\tprovideSync(path, options) {\n\t\tif (typeof path !== \"string\") {\n\t\t\tthrow new TypeError(\"path must be a string\");\n\t\t}\n\t\tif (options) {\n\t\t\treturn this._syncProvider.call(this._providerContext, path, options);\n\t\t}\n\n\t\t// In sync mode we may have to decay some cache items\n\t\tif (this._mode === STORAGE_MODE_SYNC) {\n\t\t\tthis._runDecays();\n\t\t}\n\n\t\t// Check in cache\n\t\tlet cacheEntry = this._data.get(path);\n\t\tif (cacheEntry !== undefined) {\n\t\t\tif (cacheEntry.err) throw cacheEntry.err;\n\t\t\treturn cacheEntry.result;\n\t\t}\n\n\t\t// Get all active async operations\n\t\t// This sync operation will also complete them\n\t\tconst callbacks = this._activeAsyncOperations.get(path);\n\t\tthis._activeAsyncOperations.delete(path);\n\n\t\t// Run the operation\n\t\t// When in idle mode, we will enter sync mode\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = this._syncProvider.call(this._providerContext, path);\n\t\t} catch (err) {\n\t\t\tthis._storeResult(path, err, undefined);\n\t\t\tthis._enterSyncModeWhenIdle();\n\t\t\tif (callbacks) runCallbacks(callbacks, err, undefined);\n\t\t\tthrow err;\n\t\t}\n\t\tthis._storeResult(path, undefined, result);\n\t\tthis._enterSyncModeWhenIdle();\n\t\tif (callbacks) runCallbacks(callbacks, undefined, result);\n\t\treturn result;\n\t}\n\n\tpurge(what) {\n\t\tif (!what) {\n\t\t\tif (this._mode !== STORAGE_MODE_IDLE) {\n\t\t\t\tthis._data.clear();\n\t\t\t\tfor (const level of this._levels) {\n\t\t\t\t\tlevel.clear();\n\t\t\t\t}\n\t\t\t\tthis._enterIdleMode();\n\t\t\t}\n\t\t} else if (typeof what === \"string\") {\n\t\t\tfor (let [key, data] of this._data) {\n\t\t\t\tif (key.startsWith(what)) {\n\t\t\t\t\tthis._data.delete(key);\n\t\t\t\t\tdata.level.delete(key);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this._data.size === 0) {\n\t\t\t\tthis._enterIdleMode();\n\t\t\t}\n\t\t} else {\n\t\t\tfor (let [key, data] of this._data) {\n\t\t\t\tfor (const item of what) {\n\t\t\t\t\tif (key.startsWith(item)) {\n\t\t\t\t\t\tthis._data.delete(key);\n\t\t\t\t\t\tdata.level.delete(key);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this._data.size === 0) {\n\t\t\t\tthis._enterIdleMode();\n\t\t\t}\n\t\t}\n\t}\n\n\tpurgeParent(what) {\n\t\tif (!what) {\n\t\t\tthis.purge();\n\t\t} else if (typeof what === \"string\") {\n\t\t\tthis.purge(dirname(what));\n\t\t} else {\n\t\t\tconst set = new Set();\n\t\t\tfor (const item of what) {\n\t\t\t\tset.add(dirname(item));\n\t\t\t}\n\t\t\tthis.purge(set);\n\t\t}\n\t}\n\n\t_storeResult(path, err, result) {\n\t\tif (this._data.has(path)) return;\n\t\tconst level = this._levels[this._currentLevel];\n\t\tthis._data.set(path, { err, result, level });\n\t\tlevel.add(path);\n\t}\n\n\t_decayLevel() {\n\t\tconst nextLevel = (this._currentLevel + 1) % this._levels.length;\n\t\tconst decay = this._levels[nextLevel];\n\t\tthis._currentLevel = nextLevel;\n\t\tfor (let item of decay) {\n\t\t\tthis._data.delete(item);\n\t\t}\n\t\tdecay.clear();\n\t\tif (this._data.size === 0) {\n\t\t\tthis._enterIdleMode();\n\t\t} else {\n\t\t\t// @ts-ignore _nextDecay is always a number in sync mode\n\t\t\tthis._nextDecay += this._tickInterval;\n\t\t}\n\t}\n\n\t_runDecays() {\n\t\twhile (\n\t\t\t/** @type {number} */ (this._nextDecay) <= Date.now() &&\n\t\t\tthis._mode !== STORAGE_MODE_IDLE\n\t\t) {\n\t\t\tthis._decayLevel();\n\t\t}\n\t}\n\n\t_enterAsyncMode() {\n\t\tlet timeout = 0;\n\t\tswitch (this._mode) {\n\t\t\tcase STORAGE_MODE_ASYNC:\n\t\t\t\treturn;\n\t\t\tcase STORAGE_MODE_IDLE:\n\t\t\t\tthis._nextDecay = Date.now() + this._tickInterval;\n\t\t\t\ttimeout = this._tickInterval;\n\t\t\t\tbreak;\n\t\t\tcase STORAGE_MODE_SYNC:\n\t\t\t\tthis._runDecays();\n\t\t\t\t// @ts-ignore _runDecays may change the mode\n\t\t\t\tif (this._mode === STORAGE_MODE_IDLE) return;\n\t\t\t\ttimeout = Math.max(\n\t\t\t\t\t0,\n\t\t\t\t\t/** @type {number} */ (this._nextDecay) - Date.now()\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis._mode = STORAGE_MODE_ASYNC;\n\t\tconst ref = setTimeout(() => {\n\t\t\tthis._mode = STORAGE_MODE_SYNC;\n\t\t\tthis._runDecays();\n\t\t}, timeout);\n\t\tif (ref.unref) ref.unref();\n\t\tthis._timeout = ref;\n\t}\n\n\t_enterSyncModeWhenIdle() {\n\t\tif (this._mode === STORAGE_MODE_IDLE) {\n\t\t\tthis._mode = STORAGE_MODE_SYNC;\n\t\t\tthis._nextDecay = Date.now() + this._tickInterval;\n\t\t}\n\t}\n\n\t_enterIdleMode() {\n\t\tthis._mode = STORAGE_MODE_IDLE;\n\t\tthis._nextDecay = undefined;\n\t\tif (this._timeout) clearTimeout(this._timeout);\n\t}\n}\n\nconst createBackend = (duration, provider, syncProvider, providerContext) => {\n\tif (duration > 0) {\n\t\treturn new CacheBackend(duration, provider, syncProvider, providerContext);\n\t}\n\treturn new OperationMergerBackend(provider, syncProvider, providerContext);\n};\n\nmodule.exports = class CachedInputFileSystem {\n\tconstructor(fileSystem, duration) {\n\t\tthis.fileSystem = fileSystem;\n\n\t\tthis._lstatBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.lstat,\n\t\t\tthis.fileSystem.lstatSync,\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst lstat = this._lstatBackend.provide;\n\t\tthis.lstat = /** @type {FileSystem[\"lstat\"]} */ (lstat);\n\t\tconst lstatSync = this._lstatBackend.provideSync;\n\t\tthis.lstatSync = /** @type {SyncFileSystem[\"lstatSync\"]} */ (lstatSync);\n\n\t\tthis._statBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.stat,\n\t\t\tthis.fileSystem.statSync,\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst stat = this._statBackend.provide;\n\t\tthis.stat = /** @type {FileSystem[\"stat\"]} */ (stat);\n\t\tconst statSync = this._statBackend.provideSync;\n\t\tthis.statSync = /** @type {SyncFileSystem[\"statSync\"]} */ (statSync);\n\n\t\tthis._readdirBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.readdir,\n\t\t\tthis.fileSystem.readdirSync,\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst readdir = this._readdirBackend.provide;\n\t\tthis.readdir = /** @type {FileSystem[\"readdir\"]} */ (readdir);\n\t\tconst readdirSync = this._readdirBackend.provideSync;\n\t\tthis.readdirSync = /** @type {SyncFileSystem[\"readdirSync\"]} */ (readdirSync);\n\n\t\tthis._readFileBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.readFile,\n\t\t\tthis.fileSystem.readFileSync,\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst readFile = this._readFileBackend.provide;\n\t\tthis.readFile = /** @type {FileSystem[\"readFile\"]} */ (readFile);\n\t\tconst readFileSync = this._readFileBackend.provideSync;\n\t\tthis.readFileSync = /** @type {SyncFileSystem[\"readFileSync\"]} */ (readFileSync);\n\n\t\tthis._readJsonBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.readJson ||\n\t\t\t\t(this.readFile &&\n\t\t\t\t\t((path, callback) => {\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\tthis.readFile(path, (err, buffer) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (!buffer || buffer.length === 0)\n\t\t\t\t\t\t\t\treturn callback(new Error(\"No file content\"));\n\t\t\t\t\t\t\tlet data;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tdata = JSON.parse(buffer.toString(\"utf-8\"));\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\treturn callback(e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback(null, data);\n\t\t\t\t\t\t});\n\t\t\t\t\t})),\n\t\t\tthis.fileSystem.readJsonSync ||\n\t\t\t\t(this.readFileSync &&\n\t\t\t\t\t(path => {\n\t\t\t\t\t\tconst buffer = this.readFileSync(path);\n\t\t\t\t\t\tconst data = JSON.parse(buffer.toString(\"utf-8\"));\n\t\t\t\t\t\treturn data;\n\t\t\t\t\t})),\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst readJson = this._readJsonBackend.provide;\n\t\tthis.readJson = /** @type {FileSystem[\"readJson\"]} */ (readJson);\n\t\tconst readJsonSync = this._readJsonBackend.provideSync;\n\t\tthis.readJsonSync = /** @type {SyncFileSystem[\"readJsonSync\"]} */ (readJsonSync);\n\n\t\tthis._readlinkBackend = createBackend(\n\t\t\tduration,\n\t\t\tthis.fileSystem.readlink,\n\t\t\tthis.fileSystem.readlinkSync,\n\t\t\tthis.fileSystem\n\t\t);\n\t\tconst readlink = this._readlinkBackend.provide;\n\t\tthis.readlink = /** @type {FileSystem[\"readlink\"]} */ (readlink);\n\t\tconst readlinkSync = this._readlinkBackend.provideSync;\n\t\tthis.readlinkSync = /** @type {SyncFileSystem[\"readlinkSync\"]} */ (readlinkSync);\n\t}\n\n\tpurge(what) {\n\t\tthis._statBackend.purge(what);\n\t\tthis._lstatBackend.purge(what);\n\t\tthis._readdirBackend.purgeParent(what);\n\t\tthis._readFileBackend.purge(what);\n\t\tthis._readlinkBackend.purge(what);\n\t\tthis._readJsonBackend.purge(what);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js": /*!******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst basename = (__webpack_require__(/*! ./getPaths */ \"./node_modules/enhanced-resolve/lib/getPaths.js\").basename);\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n\nmodule.exports = class CloneBasenamePlugin {\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"CloneBasenamePlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst filename = basename(request.path);\n\t\t\t\tconst filePath = resolver.join(request.path, filename);\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: filePath,\n\t\t\t\t\trelativePath:\n\t\t\t\t\t\trequest.relativePath &&\n\t\t\t\t\t\tresolver.join(request.relativePath, filename)\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t\"using path: \" + filePath,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ConditionalPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ConditionalPlugin.js ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class ConditionalPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {Partial<ResolveRequest>} test compare object\n\t * @param {string | null} message log message\n\t * @param {boolean} allowAlternatives when false, do not continue with the current step when \"test\" matches\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, test, message, allowAlternatives, target) {\n\t\tthis.source = source;\n\t\tthis.test = test;\n\t\tthis.message = message;\n\t\tthis.allowAlternatives = allowAlternatives;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tconst { test, message, allowAlternatives } = this;\n\t\tconst keys = Object.keys(test);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ConditionalPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tfor (const prop of keys) {\n\t\t\t\t\tif (request[prop] !== test[prop]) return callback();\n\t\t\t\t}\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\trequest,\n\t\t\t\t\tmessage,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tallowAlternatives\n\t\t\t\t\t\t? callback\n\t\t\t\t\t\t: (err, result) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t// Don't allow other alternatives\n\t\t\t\t\t\t\t\tif (result === undefined) return callback(null, null);\n\t\t\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t\t }\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ConditionalPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js": /*!********************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class DescriptionFilePlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string[]} filenames filenames\n\t * @param {boolean} pathIsFile pathIsFile\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, filenames, pathIsFile, target) {\n\t\tthis.source = source;\n\t\tthis.filenames = filenames;\n\t\tthis.pathIsFile = pathIsFile;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\n\t\t\t\t\"DescriptionFilePlugin\",\n\t\t\t\t(request, resolveContext, callback) => {\n\t\t\t\t\tconst path = request.path;\n\t\t\t\t\tif (!path) return callback();\n\t\t\t\t\tconst directory = this.pathIsFile\n\t\t\t\t\t\t? DescriptionFileUtils.cdUp(path)\n\t\t\t\t\t\t: path;\n\t\t\t\t\tif (!directory) return callback();\n\t\t\t\t\tDescriptionFileUtils.loadDescriptionFile(\n\t\t\t\t\t\tresolver,\n\t\t\t\t\t\tdirectory,\n\t\t\t\t\t\tthis.filenames,\n\t\t\t\t\t\trequest.descriptionFilePath\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tpath: request.descriptionFilePath,\n\t\t\t\t\t\t\t\t\tcontent: request.descriptionFileData,\n\t\t\t\t\t\t\t\t\tdirectory: /** @type {string} */ (request.descriptionFileRoot)\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (!result) {\n\t\t\t\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\t\t\t`No description file found in ${directory} or above`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst relativePath =\n\t\t\t\t\t\t\t\t\".\" + path.substr(result.directory.length).replace(/\\\\/g, \"/\");\n\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\tdescriptionFilePath: result.path,\n\t\t\t\t\t\t\t\tdescriptionFileData: result.content,\n\t\t\t\t\t\t\t\tdescriptionFileRoot: result.directory,\n\t\t\t\t\t\t\t\trelativePath: relativePath\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\t\"using description file: \" +\n\t\t\t\t\t\t\t\t\tresult.path +\n\t\t\t\t\t\t\t\t\t\" (relative path: \" +\n\t\t\t\t\t\t\t\t\trelativePath +\n\t\t\t\t\t\t\t\t\t\")\",\n\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t\t// Don't allow other processing\n\t\t\t\t\t\t\t\t\tif (result === undefined) return callback(null, null);\n\t\t\t\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js": /*!*******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveContext} ResolveContext */\n\n/**\n * @typedef {Object} DescriptionFileInfo\n * @property {any=} content\n * @property {string} path\n * @property {string} directory\n */\n\n/**\n * @callback ErrorFirstCallback\n * @param {Error|null=} error\n * @param {DescriptionFileInfo=} result\n */\n\n/**\n * @param {Resolver} resolver resolver\n * @param {string} directory directory\n * @param {string[]} filenames filenames\n * @param {DescriptionFileInfo|undefined} oldInfo oldInfo\n * @param {ResolveContext} resolveContext resolveContext\n * @param {ErrorFirstCallback} callback callback\n */\nfunction loadDescriptionFile(\n\tresolver,\n\tdirectory,\n\tfilenames,\n\toldInfo,\n\tresolveContext,\n\tcallback\n) {\n\t(function findDescriptionFile() {\n\t\tif (oldInfo && oldInfo.directory === directory) {\n\t\t\t// We already have info for this directory and can reuse it\n\t\t\treturn callback(null, oldInfo);\n\t\t}\n\t\tforEachBail(\n\t\t\tfilenames,\n\t\t\t(filename, callback) => {\n\t\t\t\tconst descriptionFilePath = resolver.join(directory, filename);\n\t\t\t\tif (resolver.fileSystem.readJson) {\n\t\t\t\t\tresolver.fileSystem.readJson(descriptionFilePath, (err, content) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tif (typeof err.code !== \"undefined\") {\n\t\t\t\t\t\t\t\tif (resolveContext.missingDependencies) {\n\t\t\t\t\t\t\t\t\tresolveContext.missingDependencies.add(descriptionFilePath);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (resolveContext.fileDependencies) {\n\t\t\t\t\t\t\t\tresolveContext.fileDependencies.add(descriptionFilePath);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn onJson(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (resolveContext.fileDependencies) {\n\t\t\t\t\t\t\tresolveContext.fileDependencies.add(descriptionFilePath);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonJson(null, content);\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tresolver.fileSystem.readFile(descriptionFilePath, (err, content) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tif (resolveContext.missingDependencies) {\n\t\t\t\t\t\t\t\tresolveContext.missingDependencies.add(descriptionFilePath);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (resolveContext.fileDependencies) {\n\t\t\t\t\t\t\tresolveContext.fileDependencies.add(descriptionFilePath);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet json;\n\n\t\t\t\t\t\tif (content) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tjson = JSON.parse(content.toString());\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\treturn onJson(e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn onJson(new Error(\"No content in file\"));\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tonJson(null, json);\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tfunction onJson(err, content) {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\tdescriptionFilePath + \" (directory description file): \" + err\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\terr.message =\n\t\t\t\t\t\t\t\tdescriptionFilePath + \" (directory description file): \" + err;\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\tcontent,\n\t\t\t\t\t\tdirectory,\n\t\t\t\t\t\tpath: descriptionFilePath\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tif (result) {\n\t\t\t\t\treturn callback(null, result);\n\t\t\t\t} else {\n\t\t\t\t\tconst dir = cdUp(directory);\n\t\t\t\t\tif (!dir) {\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdirectory = dir;\n\t\t\t\t\t\treturn findDescriptionFile();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t})();\n}\n\n/**\n * @param {any} content content\n * @param {string|string[]} field field\n * @returns {object|string|number|boolean|undefined} field data\n */\nfunction getField(content, field) {\n\tif (!content) return undefined;\n\tif (Array.isArray(field)) {\n\t\tlet current = content;\n\t\tfor (let j = 0; j < field.length; j++) {\n\t\t\tif (current === null || typeof current !== \"object\") {\n\t\t\t\tcurrent = null;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcurrent = current[field[j]];\n\t\t}\n\t\treturn current;\n\t} else {\n\t\treturn content[field];\n\t}\n}\n\n/**\n * @param {string} directory directory\n * @returns {string|null} parent directory or null\n */\nfunction cdUp(directory) {\n\tif (directory === \"/\") return null;\n\tconst i = directory.lastIndexOf(\"/\"),\n\t\tj = directory.lastIndexOf(\"\\\\\");\n\tconst p = i < 0 ? j : j < 0 ? i : i < j ? j : i;\n\tif (p < 0) return null;\n\treturn directory.substr(0, p || 1);\n}\n\nexports.loadDescriptionFile = loadDescriptionFile;\nexports.getField = getField;\nexports.cdUp = cdUp;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class DirectoryExistsPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\n\t\t\t\t\"DirectoryExistsPlugin\",\n\t\t\t\t(request, resolveContext, callback) => {\n\t\t\t\t\tconst fs = resolver.fileSystem;\n\t\t\t\t\tconst directory = request.path;\n\t\t\t\t\tif (!directory) return callback();\n\t\t\t\t\tfs.stat(directory, (err, stat) => {\n\t\t\t\t\t\tif (err || !stat) {\n\t\t\t\t\t\t\tif (resolveContext.missingDependencies)\n\t\t\t\t\t\t\t\tresolveContext.missingDependencies.add(directory);\n\t\t\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\t\t\tresolveContext.log(directory + \" doesn't exist\");\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!stat.isDirectory()) {\n\t\t\t\t\t\t\tif (resolveContext.missingDependencies)\n\t\t\t\t\t\t\t\tresolveContext.missingDependencies.add(directory);\n\t\t\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\t\t\tresolveContext.log(directory + \" is not a directory\");\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (resolveContext.fileDependencies)\n\t\t\t\t\t\t\tresolveContext.fileDependencies.add(directory);\n\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t`existing directory ${directory}`,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?daa0\");\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\nconst { processExportsField } = __webpack_require__(/*! ./util/entrypoints */ \"./node_modules/enhanced-resolve/lib/util/entrypoints.js\");\nconst { parseIdentifier } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/enhanced-resolve/lib/util/identifier.js\");\nconst { checkImportsExportsFieldTarget } = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {import(\"./util/entrypoints\").ExportsField} ExportsField */\n/** @typedef {import(\"./util/entrypoints\").FieldProcessor} FieldProcessor */\n\nmodule.exports = class ExportsFieldPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {Set<string>} conditionNames condition names\n\t * @param {string | string[]} fieldNamePath name path\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, conditionNames, fieldNamePath, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t\tthis.conditionNames = conditionNames;\n\t\tthis.fieldName = fieldNamePath;\n\t\t/** @type {WeakMap<any, FieldProcessor>} */\n\t\tthis.fieldProcessorCache = new WeakMap();\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ExportsFieldPlugin\", (request, resolveContext, callback) => {\n\t\t\t\t// When there is no description file, abort\n\t\t\t\tif (!request.descriptionFilePath) return callback();\n\t\t\t\tif (\n\t\t\t\t\t// When the description file is inherited from parent, abort\n\t\t\t\t\t// (There is no description file inside of this package)\n\t\t\t\t\trequest.relativePath !== \".\" ||\n\t\t\t\t\trequest.request === undefined\n\t\t\t\t)\n\t\t\t\t\treturn callback();\n\n\t\t\t\tconst remainingRequest =\n\t\t\t\t\trequest.query || request.fragment\n\t\t\t\t\t\t? (request.request === \".\" ? \"./\" : request.request) +\n\t\t\t\t\t\t request.query +\n\t\t\t\t\t\t request.fragment\n\t\t\t\t\t\t: request.request;\n\t\t\t\t/** @type {ExportsField|null} */\n\t\t\t\tconst exportsField = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\tthis.fieldName\n\t\t\t\t);\n\t\t\t\tif (!exportsField) return callback();\n\n\t\t\t\tif (request.directory) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t`Resolving to directories is not possible with the exports field (request was ${remainingRequest}/)`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tlet paths;\n\n\t\t\t\ttry {\n\t\t\t\t\t// We attach the cache to the description file instead of the exportsField value\n\t\t\t\t\t// because we use a WeakMap and the exportsField could be a string too.\n\t\t\t\t\t// Description file is always an object when exports field can be accessed.\n\t\t\t\t\tlet fieldProcessor = this.fieldProcessorCache.get(\n\t\t\t\t\t\trequest.descriptionFileData\n\t\t\t\t\t);\n\t\t\t\t\tif (fieldProcessor === undefined) {\n\t\t\t\t\t\tfieldProcessor = processExportsField(exportsField);\n\t\t\t\t\t\tthis.fieldProcessorCache.set(\n\t\t\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\t\t\tfieldProcessor\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tpaths = fieldProcessor(remainingRequest, this.conditionNames);\n\t\t\t\t} catch (err) {\n\t\t\t\t\tif (resolveContext.log) {\n\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t`Exports field in ${request.descriptionFilePath} can't be processed: ${err}`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\n\t\t\t\tif (paths.length === 0) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t`Package path ${remainingRequest} is not exported from package ${request.descriptionFileRoot} (see exports field in ${request.descriptionFilePath})`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tforEachBail(\n\t\t\t\t\tpaths,\n\t\t\t\t\t(p, callback) => {\n\t\t\t\t\t\tconst parsedIdentifier = parseIdentifier(p);\n\n\t\t\t\t\t\tif (!parsedIdentifier) return callback();\n\n\t\t\t\t\t\tconst [relativePath, query, fragment] = parsedIdentifier;\n\n\t\t\t\t\t\tconst error = checkImportsExportsFieldTarget(relativePath);\n\n\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\treturn callback(error);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\trequest: undefined,\n\t\t\t\t\t\t\tpath: path.join(\n\t\t\t\t\t\t\t\t/** @type {string} */ (request.descriptionFileRoot),\n\t\t\t\t\t\t\t\trelativePath\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\trelativePath,\n\t\t\t\t\t\t\tquery,\n\t\t\t\t\t\t\tfragment\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\"using exports field: \" + p,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t(err, result) => callback(err, result || null)\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {{ alias: string|string[], extension: string }} ExtensionAliasOption */\n\nmodule.exports = class ExtensionAliasPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {ExtensionAliasOption} options options\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, options, target) {\n\t\tthis.source = source;\n\t\tthis.options = options;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tconst { extension, alias } = this.options;\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ExtensionAliasPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst requestPath = request.request;\n\t\t\t\tif (!requestPath || !requestPath.endsWith(extension)) return callback();\n\t\t\t\tconst resolve = (alias, callback) => {\n\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\trequest: `${requestPath.slice(0, -extension.length)}${alias}`,\n\t\t\t\t\t\t\tfullySpecified: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t`aliased from extension alias with mapping '${extension}' to '${alias}'`,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tconst stoppingCallback = (err, result) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (result) return callback(null, result);\n\t\t\t\t\t// Don't allow other aliasing or raw request\n\t\t\t\t\treturn callback(null, null);\n\t\t\t\t};\n\t\t\t\tif (typeof alias === \"string\") {\n\t\t\t\t\tresolve(alias, stoppingCallback);\n\t\t\t\t} else if (alias.length > 1) {\n\t\t\t\t\tforEachBail(alias, resolve, stoppingCallback);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(alias[0], stoppingCallback);\n\t\t\t\t}\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/FileExistsPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/FileExistsPlugin.js ***! \***************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class FileExistsPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tconst fs = resolver.fileSystem;\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"FileExistsPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst file = request.path;\n\t\t\t\tif (!file) return callback();\n\t\t\t\tfs.stat(file, (err, stat) => {\n\t\t\t\t\tif (err || !stat) {\n\t\t\t\t\t\tif (resolveContext.missingDependencies)\n\t\t\t\t\t\t\tresolveContext.missingDependencies.add(file);\n\t\t\t\t\t\tif (resolveContext.log) resolveContext.log(file + \" doesn't exist\");\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tif (!stat.isFile()) {\n\t\t\t\t\t\tif (resolveContext.missingDependencies)\n\t\t\t\t\t\t\tresolveContext.missingDependencies.add(file);\n\t\t\t\t\t\tif (resolveContext.log) resolveContext.log(file + \" is not a file\");\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tif (resolveContext.fileDependencies)\n\t\t\t\t\t\tresolveContext.fileDependencies.add(file);\n\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\ttarget,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\"existing file: \" + file,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/FileExistsPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?daa0\");\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\nconst { processImportsField } = __webpack_require__(/*! ./util/entrypoints */ \"./node_modules/enhanced-resolve/lib/util/entrypoints.js\");\nconst { parseIdentifier } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/enhanced-resolve/lib/util/identifier.js\");\nconst { checkImportsExportsFieldTarget } = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {import(\"./util/entrypoints\").FieldProcessor} FieldProcessor */\n/** @typedef {import(\"./util/entrypoints\").ImportsField} ImportsField */\n\nconst dotCode = \".\".charCodeAt(0);\n\nmodule.exports = class ImportsFieldPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {Set<string>} conditionNames condition names\n\t * @param {string | string[]} fieldNamePath name path\n\t * @param {string | ResolveStepHook} targetFile target file\n\t * @param {string | ResolveStepHook} targetPackage target package\n\t */\n\tconstructor(\n\t\tsource,\n\t\tconditionNames,\n\t\tfieldNamePath,\n\t\ttargetFile,\n\t\ttargetPackage\n\t) {\n\t\tthis.source = source;\n\t\tthis.targetFile = targetFile;\n\t\tthis.targetPackage = targetPackage;\n\t\tthis.conditionNames = conditionNames;\n\t\tthis.fieldName = fieldNamePath;\n\t\t/** @type {WeakMap<any, FieldProcessor>} */\n\t\tthis.fieldProcessorCache = new WeakMap();\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst targetFile = resolver.ensureHook(this.targetFile);\n\t\tconst targetPackage = resolver.ensureHook(this.targetPackage);\n\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ImportsFieldPlugin\", (request, resolveContext, callback) => {\n\t\t\t\t// When there is no description file, abort\n\t\t\t\tif (!request.descriptionFilePath || request.request === undefined) {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\n\t\t\t\tconst remainingRequest =\n\t\t\t\t\trequest.request + request.query + request.fragment;\n\t\t\t\t/** @type {ImportsField|null} */\n\t\t\t\tconst importsField = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\tthis.fieldName\n\t\t\t\t);\n\t\t\t\tif (!importsField) return callback();\n\n\t\t\t\tif (request.directory) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t`Resolving to directories is not possible with the imports field (request was ${remainingRequest}/)`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tlet paths;\n\n\t\t\t\ttry {\n\t\t\t\t\t// We attach the cache to the description file instead of the importsField value\n\t\t\t\t\t// because we use a WeakMap and the importsField could be a string too.\n\t\t\t\t\t// Description file is always an object when exports field can be accessed.\n\t\t\t\t\tlet fieldProcessor = this.fieldProcessorCache.get(\n\t\t\t\t\t\trequest.descriptionFileData\n\t\t\t\t\t);\n\t\t\t\t\tif (fieldProcessor === undefined) {\n\t\t\t\t\t\tfieldProcessor = processImportsField(importsField);\n\t\t\t\t\t\tthis.fieldProcessorCache.set(\n\t\t\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\t\t\tfieldProcessor\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tpaths = fieldProcessor(remainingRequest, this.conditionNames);\n\t\t\t\t} catch (err) {\n\t\t\t\t\tif (resolveContext.log) {\n\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t`Imports field in ${request.descriptionFilePath} can't be processed: ${err}`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\n\t\t\t\tif (paths.length === 0) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t`Package import ${remainingRequest} is not imported from package ${request.descriptionFileRoot} (see imports field in ${request.descriptionFilePath})`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tforEachBail(\n\t\t\t\t\tpaths,\n\t\t\t\t\t(p, callback) => {\n\t\t\t\t\t\tconst parsedIdentifier = parseIdentifier(p);\n\n\t\t\t\t\t\tif (!parsedIdentifier) return callback();\n\n\t\t\t\t\t\tconst [path_, query, fragment] = parsedIdentifier;\n\n\t\t\t\t\t\tconst error = checkImportsExportsFieldTarget(path_);\n\n\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\treturn callback(error);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (path_.charCodeAt(0)) {\n\t\t\t\t\t\t\t// should be relative\n\t\t\t\t\t\t\tcase dotCode: {\n\t\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\t\trequest: undefined,\n\t\t\t\t\t\t\t\t\tpath: path.join(\n\t\t\t\t\t\t\t\t\t\t/** @type {string} */ (request.descriptionFileRoot),\n\t\t\t\t\t\t\t\t\t\tpath_\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\trelativePath: path_,\n\t\t\t\t\t\t\t\t\tquery,\n\t\t\t\t\t\t\t\t\tfragment\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\t\t\ttargetFile,\n\t\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\t\t\"using imports field: \" + p,\n\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// package resolving\n\t\t\t\t\t\t\tdefault: {\n\t\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\t\trequest: path_,\n\t\t\t\t\t\t\t\t\trelativePath: path_,\n\t\t\t\t\t\t\t\t\tfullySpecified: true,\n\t\t\t\t\t\t\t\t\tquery,\n\t\t\t\t\t\t\t\t\tfragment\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\t\t\ttargetPackage,\n\t\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\t\t\"using imports field: \" + p,\n\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t(err, result) => callback(err, result || null)\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nconst namespaceStartCharCode = \"@\".charCodeAt(0);\n\nmodule.exports = class JoinRequestPartPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\n\t\t\t\t\"JoinRequestPartPlugin\",\n\t\t\t\t(request, resolveContext, callback) => {\n\t\t\t\t\tconst req = request.request || \"\";\n\t\t\t\t\tlet i = req.indexOf(\"/\", 3);\n\n\t\t\t\t\tif (i >= 0 && req.charCodeAt(2) === namespaceStartCharCode) {\n\t\t\t\t\t\ti = req.indexOf(\"/\", i + 1);\n\t\t\t\t\t}\n\n\t\t\t\t\tlet moduleName, remainingRequest, fullySpecified;\n\t\t\t\t\tif (i < 0) {\n\t\t\t\t\t\tmoduleName = req;\n\t\t\t\t\t\tremainingRequest = \".\";\n\t\t\t\t\t\tfullySpecified = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmoduleName = req.slice(0, i);\n\t\t\t\t\t\tremainingRequest = \".\" + req.slice(i);\n\t\t\t\t\t\tfullySpecified = request.fullySpecified;\n\t\t\t\t\t}\n\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t...request,\n\t\t\t\t\t\tpath: resolver.join(request.path, moduleName),\n\t\t\t\t\t\trelativePath:\n\t\t\t\t\t\t\trequest.relativePath &&\n\t\t\t\t\t\t\tresolver.join(request.relativePath, moduleName),\n\t\t\t\t\t\trequest: remainingRequest,\n\t\t\t\t\t\tfullySpecified\n\t\t\t\t\t};\n\t\t\t\t\tresolver.doResolve(target, obj, null, resolveContext, callback);\n\t\t\t\t}\n\t\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/JoinRequestPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/JoinRequestPlugin.js ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class JoinRequestPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"JoinRequestPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: resolver.join(request.path, request.request),\n\t\t\t\t\trelativePath:\n\t\t\t\t\t\trequest.relativePath &&\n\t\t\t\t\t\tresolver.join(request.relativePath, request.request),\n\t\t\t\t\trequest: undefined\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(target, obj, null, resolveContext, callback);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/JoinRequestPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/LogInfoPlugin.js": /*!************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/LogInfoPlugin.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n\nmodule.exports = class LogInfoPlugin {\n\tconstructor(source) {\n\t\tthis.source = source;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst source = this.source;\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"LogInfoPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (!resolveContext.log) return callback();\n\t\t\t\tconst log = resolveContext.log;\n\t\t\t\tconst prefix = \"[\" + source + \"] \";\n\t\t\t\tif (request.path)\n\t\t\t\t\tlog(prefix + \"Resolving in directory: \" + request.path);\n\t\t\t\tif (request.request)\n\t\t\t\t\tlog(prefix + \"Resolving request: \" + request.request);\n\t\t\t\tif (request.module) log(prefix + \"Request is an module request.\");\n\t\t\t\tif (request.directory) log(prefix + \"Request is a directory request.\");\n\t\t\t\tif (request.query)\n\t\t\t\t\tlog(prefix + \"Resolving request query: \" + request.query);\n\t\t\t\tif (request.fragment)\n\t\t\t\t\tlog(prefix + \"Resolving request fragment: \" + request.fragment);\n\t\t\t\tif (request.descriptionFilePath)\n\t\t\t\t\tlog(\n\t\t\t\t\t\tprefix + \"Has description data from \" + request.descriptionFilePath\n\t\t\t\t\t);\n\t\t\t\tif (request.relativePath)\n\t\t\t\t\tlog(\n\t\t\t\t\t\tprefix +\n\t\t\t\t\t\t\t\"Relative path from description file is: \" +\n\t\t\t\t\t\t\trequest.relativePath\n\t\t\t\t\t);\n\t\t\t\tcallback();\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/LogInfoPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/MainFieldPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/MainFieldPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?daa0\");\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {{name: string|Array<string>, forceRelative: boolean}} MainFieldOptions */\n\nconst alreadyTriedMainField = Symbol(\"alreadyTriedMainField\");\n\nmodule.exports = class MainFieldPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {MainFieldOptions} options options\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, options, target) {\n\t\tthis.source = source;\n\t\tthis.options = options;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"MainFieldPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (\n\t\t\t\t\trequest.path !== request.descriptionFileRoot ||\n\t\t\t\t\trequest[alreadyTriedMainField] === request.descriptionFilePath ||\n\t\t\t\t\t!request.descriptionFilePath\n\t\t\t\t)\n\t\t\t\t\treturn callback();\n\t\t\t\tconst filename = path.basename(request.descriptionFilePath);\n\t\t\t\tlet mainModule = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\tthis.options.name\n\t\t\t\t);\n\n\t\t\t\tif (\n\t\t\t\t\t!mainModule ||\n\t\t\t\t\ttypeof mainModule !== \"string\" ||\n\t\t\t\t\tmainModule === \".\" ||\n\t\t\t\t\tmainModule === \"./\"\n\t\t\t\t) {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\tif (this.options.forceRelative && !/^\\.\\.?\\//.test(mainModule))\n\t\t\t\t\tmainModule = \"./\" + mainModule;\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\trequest: mainModule,\n\t\t\t\t\tmodule: false,\n\t\t\t\t\tdirectory: mainModule.endsWith(\"/\"),\n\t\t\t\t\t[alreadyTriedMainField]: request.descriptionFilePath\n\t\t\t\t};\n\t\t\t\treturn resolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t\"use \" +\n\t\t\t\t\t\tmainModule +\n\t\t\t\t\t\t\" from \" +\n\t\t\t\t\t\tthis.options.name +\n\t\t\t\t\t\t\" in \" +\n\t\t\t\t\t\tfilename,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/MainFieldPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js": /*!*************************************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js ***! \*************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\nconst getPaths = __webpack_require__(/*! ./getPaths */ \"./node_modules/enhanced-resolve/lib/getPaths.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class ModulesInHierarchicalDirectoriesPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | Array<string>} directories directories\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, directories, target) {\n\t\tthis.source = source;\n\t\tthis.directories = /** @type {Array<string>} */ ([]).concat(directories);\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\n\t\t\t\t\"ModulesInHierarchicalDirectoriesPlugin\",\n\t\t\t\t(request, resolveContext, callback) => {\n\t\t\t\t\tconst fs = resolver.fileSystem;\n\t\t\t\t\tconst addrs = getPaths(request.path)\n\t\t\t\t\t\t.paths.map(p => {\n\t\t\t\t\t\t\treturn this.directories.map(d => resolver.join(p, d));\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.reduce((array, p) => {\n\t\t\t\t\t\t\tarray.push.apply(array, p);\n\t\t\t\t\t\t\treturn array;\n\t\t\t\t\t\t}, []);\n\t\t\t\t\tforEachBail(\n\t\t\t\t\t\taddrs,\n\t\t\t\t\t\t(addr, callback) => {\n\t\t\t\t\t\t\tfs.stat(addr, (err, stat) => {\n\t\t\t\t\t\t\t\tif (!err && stat && stat.isDirectory()) {\n\t\t\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\t\t\tpath: addr,\n\t\t\t\t\t\t\t\t\t\trequest: \"./\" + request.request,\n\t\t\t\t\t\t\t\t\t\tmodule: false\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tconst message = \"looking for modules in \" + addr;\n\t\t\t\t\t\t\t\t\treturn resolver.doResolve(\n\t\t\t\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (resolveContext.log)\n\t\t\t\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\t\t\taddr + \" doesn't exist or is not a directory\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (resolveContext.missingDependencies)\n\t\t\t\t\t\t\t\t\tresolveContext.missingDependencies.add(addr);\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js ***! \******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class ModulesInRootPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string} path path\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, path, target) {\n\t\tthis.source = source;\n\t\tthis.path = path;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ModulesInRootPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: this.path,\n\t\t\t\t\trequest: \"./\" + request.request,\n\t\t\t\t\tmodule: false\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t\"looking for modules in \" + this.path,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/NextPlugin.js": /*!*********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/NextPlugin.js ***! \*********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class NextPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"NextPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tresolver.doResolve(target, request, null, resolveContext, callback);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/NextPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ParsePlugin.js": /*!**********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ParsePlugin.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class ParsePlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {Partial<ResolveRequest>} requestOptions request options\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, requestOptions, target) {\n\t\tthis.source = source;\n\t\tthis.requestOptions = requestOptions;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"ParsePlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst parsed = resolver.parse(/** @type {string} */ (request.request));\n\t\t\t\tconst obj = { ...request, ...parsed, ...this.requestOptions };\n\t\t\t\tif (request.query && !parsed.query) {\n\t\t\t\t\tobj.query = request.query;\n\t\t\t\t}\n\t\t\t\tif (request.fragment && !parsed.fragment) {\n\t\t\t\t\tobj.fragment = request.fragment;\n\t\t\t\t}\n\t\t\t\tif (parsed && resolveContext.log) {\n\t\t\t\t\tif (parsed.module) resolveContext.log(\"Parsed request is a module\");\n\t\t\t\t\tif (parsed.directory)\n\t\t\t\t\t\tresolveContext.log(\"Parsed request is a directory\");\n\t\t\t\t}\n\t\t\t\t// There is an edge-case where a request with # can be a path or a fragment -> try both\n\t\t\t\tif (obj.request && !obj.query && obj.fragment) {\n\t\t\t\t\tconst directory = obj.fragment.endsWith(\"/\");\n\t\t\t\t\tconst alternative = {\n\t\t\t\t\t\t...obj,\n\t\t\t\t\t\tdirectory,\n\t\t\t\t\t\trequest:\n\t\t\t\t\t\t\tobj.request +\n\t\t\t\t\t\t\t(obj.directory ? \"/\" : \"\") +\n\t\t\t\t\t\t\t(directory ? obj.fragment.slice(0, -1) : obj.fragment),\n\t\t\t\t\t\tfragment: \"\"\n\t\t\t\t\t};\n\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\ttarget,\n\t\t\t\t\t\talternative,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (result) return callback(null, result);\n\t\t\t\t\t\t\tresolver.doResolve(target, obj, null, resolveContext, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tresolver.doResolve(target, obj, null, resolveContext, callback);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ParsePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/PnpPlugin.js": /*!********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/PnpPlugin.js ***! \********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Maël Nison @arcanis\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/**\n * @typedef {Object} PnpApiImpl\n * @property {function(string, string, object): string} resolveToUnqualified\n */\n\nmodule.exports = class PnpPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {PnpApiImpl} pnpApi pnpApi\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, pnpApi, target) {\n\t\tthis.source = source;\n\t\tthis.pnpApi = pnpApi;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"PnpPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst req = request.request;\n\t\t\t\tif (!req) return callback();\n\n\t\t\t\t// The trailing slash indicates to PnP that this value is a folder rather than a file\n\t\t\t\tconst issuer = `${request.path}/`;\n\n\t\t\t\tconst packageMatch = /^(@[^/]+\\/)?[^/]+/.exec(req);\n\t\t\t\tif (!packageMatch) return callback();\n\n\t\t\t\tconst packageName = packageMatch[0];\n\t\t\t\tconst innerRequest = `.${req.slice(packageName.length)}`;\n\n\t\t\t\tlet resolution;\n\t\t\t\tlet apiResolution;\n\t\t\t\ttry {\n\t\t\t\t\tresolution = this.pnpApi.resolveToUnqualified(packageName, issuer, {\n\t\t\t\t\t\tconsiderBuiltins: false\n\t\t\t\t\t});\n\t\t\t\t\tif (resolveContext.fileDependencies) {\n\t\t\t\t\t\tapiResolution = this.pnpApi.resolveToUnqualified(\"pnpapi\", issuer, {\n\t\t\t\t\t\t\tconsiderBuiltins: false\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (\n\t\t\t\t\t\terror.code === \"MODULE_NOT_FOUND\" &&\n\t\t\t\t\t\terror.pnpCode === \"UNDECLARED_DEPENDENCY\"\n\t\t\t\t\t) {\n\t\t\t\t\t\t// This is not a PnP managed dependency.\n\t\t\t\t\t\t// Try to continue resolving with our alternatives\n\t\t\t\t\t\tif (resolveContext.log) {\n\t\t\t\t\t\t\tresolveContext.log(`request is not managed by the pnpapi`);\n\t\t\t\t\t\t\tfor (const line of error.message.split(\"\\n\").filter(Boolean))\n\t\t\t\t\t\t\t\tresolveContext.log(` ${line}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(error);\n\t\t\t\t}\n\n\t\t\t\tif (resolution === packageName) return callback();\n\n\t\t\t\tif (apiResolution && resolveContext.fileDependencies) {\n\t\t\t\t\tresolveContext.fileDependencies.add(apiResolution);\n\t\t\t\t}\n\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: resolution,\n\t\t\t\t\trequest: innerRequest,\n\t\t\t\t\tignoreSymlinks: true,\n\t\t\t\t\tfullySpecified: request.fullySpecified && innerRequest !== \".\"\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t`resolved by pnp to ${resolution}`,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tif (result) return callback(null, result);\n\t\t\t\t\t\t// Skip alternatives\n\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/PnpPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/Resolver.js": /*!*******************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/Resolver.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { AsyncSeriesBailHook, AsyncSeriesHook, SyncHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst createInnerContext = __webpack_require__(/*! ./createInnerContext */ \"./node_modules/enhanced-resolve/lib/createInnerContext.js\");\nconst { parseIdentifier } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/enhanced-resolve/lib/util/identifier.js\");\nconst {\n\tnormalize,\n\tcachedJoin: join,\n\tgetType,\n\tPathType\n} = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\n/** @typedef {import(\"./ResolverFactory\").ResolveOptions} ResolveOptions */\n\n/**\n * @typedef {Object} FileSystemStats\n * @property {function(): boolean} isDirectory\n * @property {function(): boolean} isFile\n */\n\n/**\n * @typedef {Object} FileSystemDirent\n * @property {Buffer | string} name\n * @property {function(): boolean} isDirectory\n * @property {function(): boolean} isFile\n */\n\n/**\n * @typedef {Object} PossibleFileSystemError\n * @property {string=} code\n * @property {number=} errno\n * @property {string=} path\n * @property {string=} syscall\n */\n\n/**\n * @template T\n * @callback FileSystemCallback\n * @param {PossibleFileSystemError & Error | null | undefined} err\n * @param {T=} result\n */\n\n/**\n * @typedef {Object} FileSystem\n * @property {(function(string, FileSystemCallback<Buffer | string>): void) & function(string, object, FileSystemCallback<Buffer | string>): void} readFile\n * @property {(function(string, FileSystemCallback<(Buffer | string)[] | FileSystemDirent[]>): void) & function(string, object, FileSystemCallback<(Buffer | string)[] | FileSystemDirent[]>): void} readdir\n * @property {((function(string, FileSystemCallback<object>): void) & function(string, object, FileSystemCallback<object>): void)=} readJson\n * @property {(function(string, FileSystemCallback<Buffer | string>): void) & function(string, object, FileSystemCallback<Buffer | string>): void} readlink\n * @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<Buffer | string>): void=} lstat\n * @property {(function(string, FileSystemCallback<FileSystemStats>): void) & function(string, object, FileSystemCallback<Buffer | string>): void} stat\n */\n\n/**\n * @typedef {Object} SyncFileSystem\n * @property {function(string, object=): Buffer | string} readFileSync\n * @property {function(string, object=): (Buffer | string)[] | FileSystemDirent[]} readdirSync\n * @property {(function(string, object=): object)=} readJsonSync\n * @property {function(string, object=): Buffer | string} readlinkSync\n * @property {function(string, object=): FileSystemStats=} lstatSync\n * @property {function(string, object=): FileSystemStats} statSync\n */\n\n/**\n * @typedef {Object} ParsedIdentifier\n * @property {string} request\n * @property {string} query\n * @property {string} fragment\n * @property {boolean} directory\n * @property {boolean} module\n * @property {boolean} file\n * @property {boolean} internal\n */\n\n/**\n * @typedef {Object} BaseResolveRequest\n * @property {string | false} path\n * @property {string=} descriptionFilePath\n * @property {string=} descriptionFileRoot\n * @property {object=} descriptionFileData\n * @property {string=} relativePath\n * @property {boolean=} ignoreSymlinks\n * @property {boolean=} fullySpecified\n */\n\n/** @typedef {BaseResolveRequest & Partial<ParsedIdentifier>} ResolveRequest */\n\n/**\n * String with special formatting\n * @typedef {string} StackEntry\n */\n\n/** @template T @typedef {{ add: (T) => void }} WriteOnlySet */\n\n/**\n * Resolve context\n * @typedef {Object} ResolveContext\n * @property {WriteOnlySet<string>=} contextDependencies\n * @property {WriteOnlySet<string>=} fileDependencies files that was found on file system\n * @property {WriteOnlySet<string>=} missingDependencies dependencies that was not found on file system\n * @property {Set<StackEntry>=} stack set of hooks' calls. For instance, `resolve → parsedResolve → describedResolve`,\n * @property {(function(string): void)=} log log function\n * @property {(function (ResolveRequest): void)=} yield yield result, if provided plugins can return several results\n */\n\n/** @typedef {AsyncSeriesBailHook<[ResolveRequest, ResolveContext], ResolveRequest | null>} ResolveStepHook */\n\n/**\n * @param {string} str input string\n * @returns {string} in camel case\n */\nfunction toCamelCase(str) {\n\treturn str.replace(/-([a-z])/g, str => str.substr(1).toUpperCase());\n}\n\nclass Resolver {\n\t/**\n\t * @param {ResolveStepHook} hook hook\n\t * @param {ResolveRequest} request request\n\t * @returns {StackEntry} stack entry\n\t */\n\tstatic createStackEntry(hook, request) {\n\t\treturn (\n\t\t\thook.name +\n\t\t\t\": (\" +\n\t\t\trequest.path +\n\t\t\t\") \" +\n\t\t\t(request.request || \"\") +\n\t\t\t(request.query || \"\") +\n\t\t\t(request.fragment || \"\") +\n\t\t\t(request.directory ? \" directory\" : \"\") +\n\t\t\t(request.module ? \" module\" : \"\")\n\t\t);\n\t}\n\n\t/**\n\t * @param {FileSystem} fileSystem a filesystem\n\t * @param {ResolveOptions} options options\n\t */\n\tconstructor(fileSystem, options) {\n\t\tthis.fileSystem = fileSystem;\n\t\tthis.options = options;\n\t\tthis.hooks = {\n\t\t\t/** @type {SyncHook<[ResolveStepHook, ResolveRequest], void>} */\n\t\t\tresolveStep: new SyncHook([\"hook\", \"request\"], \"resolveStep\"),\n\t\t\t/** @type {SyncHook<[ResolveRequest, Error]>} */\n\t\t\tnoResolve: new SyncHook([\"request\", \"error\"], \"noResolve\"),\n\t\t\t/** @type {ResolveStepHook} */\n\t\t\tresolve: new AsyncSeriesBailHook(\n\t\t\t\t[\"request\", \"resolveContext\"],\n\t\t\t\t\"resolve\"\n\t\t\t),\n\t\t\t/** @type {AsyncSeriesHook<[ResolveRequest, ResolveContext]>} */\n\t\t\tresult: new AsyncSeriesHook([\"result\", \"resolveContext\"], \"result\")\n\t\t};\n\t}\n\n\t/**\n\t * @param {string | ResolveStepHook} name hook name or hook itself\n\t * @returns {ResolveStepHook} the hook\n\t */\n\tensureHook(name) {\n\t\tif (typeof name !== \"string\") {\n\t\t\treturn name;\n\t\t}\n\t\tname = toCamelCase(name);\n\t\tif (/^before/.test(name)) {\n\t\t\treturn /** @type {ResolveStepHook} */ (this.ensureHook(\n\t\t\t\tname[6].toLowerCase() + name.substr(7)\n\t\t\t).withOptions({\n\t\t\t\tstage: -10\n\t\t\t}));\n\t\t}\n\t\tif (/^after/.test(name)) {\n\t\t\treturn /** @type {ResolveStepHook} */ (this.ensureHook(\n\t\t\t\tname[5].toLowerCase() + name.substr(6)\n\t\t\t).withOptions({\n\t\t\t\tstage: 10\n\t\t\t}));\n\t\t}\n\t\tconst hook = this.hooks[name];\n\t\tif (!hook) {\n\t\t\treturn (this.hooks[name] = new AsyncSeriesBailHook(\n\t\t\t\t[\"request\", \"resolveContext\"],\n\t\t\t\tname\n\t\t\t));\n\t\t}\n\t\treturn hook;\n\t}\n\n\t/**\n\t * @param {string | ResolveStepHook} name hook name or hook itself\n\t * @returns {ResolveStepHook} the hook\n\t */\n\tgetHook(name) {\n\t\tif (typeof name !== \"string\") {\n\t\t\treturn name;\n\t\t}\n\t\tname = toCamelCase(name);\n\t\tif (/^before/.test(name)) {\n\t\t\treturn /** @type {ResolveStepHook} */ (this.getHook(\n\t\t\t\tname[6].toLowerCase() + name.substr(7)\n\t\t\t).withOptions({\n\t\t\t\tstage: -10\n\t\t\t}));\n\t\t}\n\t\tif (/^after/.test(name)) {\n\t\t\treturn /** @type {ResolveStepHook} */ (this.getHook(\n\t\t\t\tname[5].toLowerCase() + name.substr(6)\n\t\t\t).withOptions({\n\t\t\t\tstage: 10\n\t\t\t}));\n\t\t}\n\t\tconst hook = this.hooks[name];\n\t\tif (!hook) {\n\t\t\tthrow new Error(`Hook ${name} doesn't exist`);\n\t\t}\n\t\treturn hook;\n\t}\n\n\t/**\n\t * @param {object} context context information object\n\t * @param {string} path context path\n\t * @param {string} request request string\n\t * @returns {string | false} result\n\t */\n\tresolveSync(context, path, request) {\n\t\t/** @type {Error | null | undefined} */\n\t\tlet err = undefined;\n\t\t/** @type {string | false | undefined} */\n\t\tlet result = undefined;\n\t\tlet sync = false;\n\t\tthis.resolve(context, path, request, {}, (e, r) => {\n\t\t\terr = e;\n\t\t\tresult = r;\n\t\t\tsync = true;\n\t\t});\n\t\tif (!sync) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!\"\n\t\t\t);\n\t\t}\n\t\tif (err) throw err;\n\t\tif (result === undefined) throw new Error(\"No result\");\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {object} context context information object\n\t * @param {string} path context path\n\t * @param {string} request request string\n\t * @param {ResolveContext} resolveContext resolve context\n\t * @param {function(Error | null, (string|false)=, ResolveRequest=): void} callback callback function\n\t * @returns {void}\n\t */\n\tresolve(context, path, request, resolveContext, callback) {\n\t\tif (!context || typeof context !== \"object\")\n\t\t\treturn callback(new Error(\"context argument is not an object\"));\n\t\tif (typeof path !== \"string\")\n\t\t\treturn callback(new Error(\"path argument is not a string\"));\n\t\tif (typeof request !== \"string\")\n\t\t\treturn callback(new Error(\"request argument is not a string\"));\n\t\tif (!resolveContext)\n\t\t\treturn callback(new Error(\"resolveContext argument is not set\"));\n\n\t\tconst obj = {\n\t\t\tcontext: context,\n\t\t\tpath: path,\n\t\t\trequest: request\n\t\t};\n\n\t\tlet yield_;\n\t\tlet yieldCalled = false;\n\t\tlet finishYield;\n\t\tif (typeof resolveContext.yield === \"function\") {\n\t\t\tconst old = resolveContext.yield;\n\t\t\tyield_ = obj => {\n\t\t\t\told(obj);\n\t\t\t\tyieldCalled = true;\n\t\t\t};\n\t\t\tfinishYield = result => {\n\t\t\t\tif (result) yield_(result);\n\t\t\t\tcallback(null);\n\t\t\t};\n\t\t}\n\n\t\tconst message = `resolve '${request}' in '${path}'`;\n\n\t\tconst finishResolved = result => {\n\t\t\treturn callback(\n\t\t\t\tnull,\n\t\t\t\tresult.path === false\n\t\t\t\t\t? false\n\t\t\t\t\t: `${result.path.replace(/#/g, \"\\0#\")}${\n\t\t\t\t\t\t\tresult.query ? result.query.replace(/#/g, \"\\0#\") : \"\"\n\t\t\t\t\t }${result.fragment || \"\"}`,\n\t\t\t\tresult\n\t\t\t);\n\t\t};\n\n\t\tconst finishWithoutResolve = log => {\n\t\t\t/**\n\t\t\t * @type {Error & {details?: string}}\n\t\t\t */\n\t\t\tconst error = new Error(\"Can't \" + message);\n\t\t\terror.details = log.join(\"\\n\");\n\t\t\tthis.hooks.noResolve.call(obj, error);\n\t\t\treturn callback(error);\n\t\t};\n\n\t\tif (resolveContext.log) {\n\t\t\t// We need log anyway to capture it in case of an error\n\t\t\tconst parentLog = resolveContext.log;\n\t\t\tconst log = [];\n\t\t\treturn this.doResolve(\n\t\t\t\tthis.hooks.resolve,\n\t\t\t\tobj,\n\t\t\t\tmessage,\n\t\t\t\t{\n\t\t\t\t\tlog: msg => {\n\t\t\t\t\t\tparentLog(msg);\n\t\t\t\t\t\tlog.push(msg);\n\t\t\t\t\t},\n\t\t\t\t\tyield: yield_,\n\t\t\t\t\tfileDependencies: resolveContext.fileDependencies,\n\t\t\t\t\tcontextDependencies: resolveContext.contextDependencies,\n\t\t\t\t\tmissingDependencies: resolveContext.missingDependencies,\n\t\t\t\t\tstack: resolveContext.stack\n\t\t\t\t},\n\t\t\t\t(err, result) => {\n\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\tif (yieldCalled || (result && yield_)) return finishYield(result);\n\t\t\t\t\tif (result) return finishResolved(result);\n\n\t\t\t\t\treturn finishWithoutResolve(log);\n\t\t\t\t}\n\t\t\t);\n\t\t} else {\n\t\t\t// Try to resolve assuming there is no error\n\t\t\t// We don't log stuff in this case\n\t\t\treturn this.doResolve(\n\t\t\t\tthis.hooks.resolve,\n\t\t\t\tobj,\n\t\t\t\tmessage,\n\t\t\t\t{\n\t\t\t\t\tlog: undefined,\n\t\t\t\t\tyield: yield_,\n\t\t\t\t\tfileDependencies: resolveContext.fileDependencies,\n\t\t\t\t\tcontextDependencies: resolveContext.contextDependencies,\n\t\t\t\t\tmissingDependencies: resolveContext.missingDependencies,\n\t\t\t\t\tstack: resolveContext.stack\n\t\t\t\t},\n\t\t\t\t(err, result) => {\n\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\tif (yieldCalled || (result && yield_)) return finishYield(result);\n\t\t\t\t\tif (result) return finishResolved(result);\n\n\t\t\t\t\t// log is missing for the error details\n\t\t\t\t\t// so we redo the resolving for the log info\n\t\t\t\t\t// this is more expensive to the success case\n\t\t\t\t\t// is assumed by default\n\n\t\t\t\t\tconst log = [];\n\n\t\t\t\t\treturn this.doResolve(\n\t\t\t\t\t\tthis.hooks.resolve,\n\t\t\t\t\t\tobj,\n\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlog: msg => log.push(msg),\n\t\t\t\t\t\t\tyield: yield_,\n\t\t\t\t\t\t\tstack: resolveContext.stack\n\t\t\t\t\t\t},\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t// In a case that there is a race condition and yield will be called\n\t\t\t\t\t\t\tif (yieldCalled || (result && yield_)) return finishYield(result);\n\n\t\t\t\t\t\t\treturn finishWithoutResolve(log);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}\n\n\tdoResolve(hook, request, message, resolveContext, callback) {\n\t\tconst stackEntry = Resolver.createStackEntry(hook, request);\n\n\t\tlet newStack;\n\t\tif (resolveContext.stack) {\n\t\t\tnewStack = new Set(resolveContext.stack);\n\t\t\tif (resolveContext.stack.has(stackEntry)) {\n\t\t\t\t/**\n\t\t\t\t * Prevent recursion\n\t\t\t\t * @type {Error & {recursion?: boolean}}\n\t\t\t\t */\n\t\t\t\tconst recursionError = new Error(\n\t\t\t\t\t\"Recursion in resolving\\nStack:\\n \" +\n\t\t\t\t\t\tArray.from(newStack).join(\"\\n \")\n\t\t\t\t);\n\t\t\t\trecursionError.recursion = true;\n\t\t\t\tif (resolveContext.log)\n\t\t\t\t\tresolveContext.log(\"abort resolving because of recursion\");\n\t\t\t\treturn callback(recursionError);\n\t\t\t}\n\t\t\tnewStack.add(stackEntry);\n\t\t} else {\n\t\t\tnewStack = new Set([stackEntry]);\n\t\t}\n\t\tthis.hooks.resolveStep.call(hook, request);\n\n\t\tif (hook.isUsed()) {\n\t\t\tconst innerContext = createInnerContext(\n\t\t\t\t{\n\t\t\t\t\tlog: resolveContext.log,\n\t\t\t\t\tyield: resolveContext.yield,\n\t\t\t\t\tfileDependencies: resolveContext.fileDependencies,\n\t\t\t\t\tcontextDependencies: resolveContext.contextDependencies,\n\t\t\t\t\tmissingDependencies: resolveContext.missingDependencies,\n\t\t\t\t\tstack: newStack\n\t\t\t\t},\n\t\t\t\tmessage\n\t\t\t);\n\t\t\treturn hook.callAsync(request, innerContext, (err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tif (result) return callback(null, result);\n\t\t\t\tcallback();\n\t\t\t});\n\t\t} else {\n\t\t\tcallback();\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} identifier identifier\n\t * @returns {ParsedIdentifier} parsed identifier\n\t */\n\tparse(identifier) {\n\t\tconst part = {\n\t\t\trequest: \"\",\n\t\t\tquery: \"\",\n\t\t\tfragment: \"\",\n\t\t\tmodule: false,\n\t\t\tdirectory: false,\n\t\t\tfile: false,\n\t\t\tinternal: false\n\t\t};\n\n\t\tconst parsedIdentifier = parseIdentifier(identifier);\n\n\t\tif (!parsedIdentifier) return part;\n\n\t\t[part.request, part.query, part.fragment] = parsedIdentifier;\n\n\t\tif (part.request.length > 0) {\n\t\t\tpart.internal = this.isPrivate(identifier);\n\t\t\tpart.module = this.isModule(part.request);\n\t\t\tpart.directory = this.isDirectory(part.request);\n\t\t\tif (part.directory) {\n\t\t\t\tpart.request = part.request.substr(0, part.request.length - 1);\n\t\t\t}\n\t\t}\n\n\t\treturn part;\n\t}\n\n\tisModule(path) {\n\t\treturn getType(path) === PathType.Normal;\n\t}\n\n\tisPrivate(path) {\n\t\treturn getType(path) === PathType.Internal;\n\t}\n\n\t/**\n\t * @param {string} path a path\n\t * @returns {boolean} true, if the path is a directory path\n\t */\n\tisDirectory(path) {\n\t\treturn path.endsWith(\"/\");\n\t}\n\n\tjoin(path, request) {\n\t\treturn join(path, request);\n\t}\n\n\tnormalize(path) {\n\t\treturn normalize(path);\n\t}\n}\n\nmodule.exports = Resolver;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/Resolver.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ResolverFactory.js": /*!**************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ResolverFactory.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst versions = (__webpack_require__(/*! process */ \"./node_modules/enhanced-resolve/lib/util/process-browser.js\").versions);\nconst Resolver = __webpack_require__(/*! ./Resolver */ \"./node_modules/enhanced-resolve/lib/Resolver.js\");\nconst { getType, PathType } = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\nconst SyncAsyncFileSystemDecorator = __webpack_require__(/*! ./SyncAsyncFileSystemDecorator */ \"./node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js\");\n\nconst AliasFieldPlugin = __webpack_require__(/*! ./AliasFieldPlugin */ \"./node_modules/enhanced-resolve/lib/AliasFieldPlugin.js\");\nconst AliasPlugin = __webpack_require__(/*! ./AliasPlugin */ \"./node_modules/enhanced-resolve/lib/AliasPlugin.js\");\nconst AppendPlugin = __webpack_require__(/*! ./AppendPlugin */ \"./node_modules/enhanced-resolve/lib/AppendPlugin.js\");\nconst ConditionalPlugin = __webpack_require__(/*! ./ConditionalPlugin */ \"./node_modules/enhanced-resolve/lib/ConditionalPlugin.js\");\nconst DescriptionFilePlugin = __webpack_require__(/*! ./DescriptionFilePlugin */ \"./node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js\");\nconst DirectoryExistsPlugin = __webpack_require__(/*! ./DirectoryExistsPlugin */ \"./node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js\");\nconst ExportsFieldPlugin = __webpack_require__(/*! ./ExportsFieldPlugin */ \"./node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js\");\nconst ExtensionAliasPlugin = __webpack_require__(/*! ./ExtensionAliasPlugin */ \"./node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js\");\nconst FileExistsPlugin = __webpack_require__(/*! ./FileExistsPlugin */ \"./node_modules/enhanced-resolve/lib/FileExistsPlugin.js\");\nconst ImportsFieldPlugin = __webpack_require__(/*! ./ImportsFieldPlugin */ \"./node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js\");\nconst JoinRequestPartPlugin = __webpack_require__(/*! ./JoinRequestPartPlugin */ \"./node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js\");\nconst JoinRequestPlugin = __webpack_require__(/*! ./JoinRequestPlugin */ \"./node_modules/enhanced-resolve/lib/JoinRequestPlugin.js\");\nconst MainFieldPlugin = __webpack_require__(/*! ./MainFieldPlugin */ \"./node_modules/enhanced-resolve/lib/MainFieldPlugin.js\");\nconst ModulesInHierarchicalDirectoriesPlugin = __webpack_require__(/*! ./ModulesInHierarchicalDirectoriesPlugin */ \"./node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js\");\nconst ModulesInRootPlugin = __webpack_require__(/*! ./ModulesInRootPlugin */ \"./node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js\");\nconst NextPlugin = __webpack_require__(/*! ./NextPlugin */ \"./node_modules/enhanced-resolve/lib/NextPlugin.js\");\nconst ParsePlugin = __webpack_require__(/*! ./ParsePlugin */ \"./node_modules/enhanced-resolve/lib/ParsePlugin.js\");\nconst PnpPlugin = __webpack_require__(/*! ./PnpPlugin */ \"./node_modules/enhanced-resolve/lib/PnpPlugin.js\");\nconst RestrictionsPlugin = __webpack_require__(/*! ./RestrictionsPlugin */ \"./node_modules/enhanced-resolve/lib/RestrictionsPlugin.js\");\nconst ResultPlugin = __webpack_require__(/*! ./ResultPlugin */ \"./node_modules/enhanced-resolve/lib/ResultPlugin.js\");\nconst RootsPlugin = __webpack_require__(/*! ./RootsPlugin */ \"./node_modules/enhanced-resolve/lib/RootsPlugin.js\");\nconst SelfReferencePlugin = __webpack_require__(/*! ./SelfReferencePlugin */ \"./node_modules/enhanced-resolve/lib/SelfReferencePlugin.js\");\nconst SymlinkPlugin = __webpack_require__(/*! ./SymlinkPlugin */ \"./node_modules/enhanced-resolve/lib/SymlinkPlugin.js\");\nconst TryNextPlugin = __webpack_require__(/*! ./TryNextPlugin */ \"./node_modules/enhanced-resolve/lib/TryNextPlugin.js\");\nconst UnsafeCachePlugin = __webpack_require__(/*! ./UnsafeCachePlugin */ \"./node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js\");\nconst UseFilePlugin = __webpack_require__(/*! ./UseFilePlugin */ \"./node_modules/enhanced-resolve/lib/UseFilePlugin.js\");\n\n/** @typedef {import(\"./AliasPlugin\").AliasOption} AliasOptionEntry */\n/** @typedef {import(\"./ExtensionAliasPlugin\").ExtensionAliasOption} ExtensionAliasOption */\n/** @typedef {import(\"./PnpPlugin\").PnpApiImpl} PnpApi */\n/** @typedef {import(\"./Resolver\").FileSystem} FileSystem */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").SyncFileSystem} SyncFileSystem */\n\n/** @typedef {string|string[]|false} AliasOptionNewRequest */\n/** @typedef {{[k: string]: AliasOptionNewRequest}} AliasOptions */\n/** @typedef {{[k: string]: string|string[] }} ExtensionAliasOptions */\n/** @typedef {{apply: function(Resolver): void} | function(this: Resolver, Resolver): void} Plugin */\n\n/**\n * @typedef {Object} UserResolveOptions\n * @property {(AliasOptions | AliasOptionEntry[])=} alias A list of module alias configurations or an object which maps key to value\n * @property {(AliasOptions | AliasOptionEntry[])=} fallback A list of module alias configurations or an object which maps key to value, applied only after modules option\n * @property {ExtensionAliasOptions=} extensionAlias An object which maps extension to extension aliases\n * @property {(string | string[])[]=} aliasFields A list of alias fields in description files\n * @property {(function(ResolveRequest): boolean)=} cachePredicate A function which decides whether a request should be cached or not. An object is passed with at least `path` and `request` properties.\n * @property {boolean=} cacheWithContext Whether or not the unsafeCache should include request context as part of the cache key.\n * @property {string[]=} descriptionFiles A list of description files to read from\n * @property {string[]=} conditionNames A list of exports field condition names.\n * @property {boolean=} enforceExtension Enforce that a extension from extensions must be used\n * @property {(string | string[])[]=} exportsFields A list of exports fields in description files\n * @property {(string | string[])[]=} importsFields A list of imports fields in description files\n * @property {string[]=} extensions A list of extensions which should be tried for files\n * @property {FileSystem} fileSystem The file system which should be used\n * @property {(object | boolean)=} unsafeCache Use this cache object to unsafely cache the successful requests\n * @property {boolean=} symlinks Resolve symlinks to their symlinked location\n * @property {Resolver=} resolver A prepared Resolver to which the plugins are attached\n * @property {string[] | string=} modules A list of directories to resolve modules from, can be absolute path or folder name\n * @property {(string | string[] | {name: string | string[], forceRelative: boolean})[]=} mainFields A list of main fields in description files\n * @property {string[]=} mainFiles A list of main files in directories\n * @property {Plugin[]=} plugins A list of additional resolve plugins which should be applied\n * @property {PnpApi | null=} pnpApi A PnP API that should be used - null is \"never\", undefined is \"auto\"\n * @property {string[]=} roots A list of root paths\n * @property {boolean=} fullySpecified The request is already fully specified and no extensions or directories are resolved for it\n * @property {boolean=} resolveToContext Resolve to a context instead of a file\n * @property {(string|RegExp)[]=} restrictions A list of resolve restrictions\n * @property {boolean=} useSyncFileSystemCalls Use only the sync constraints of the file system calls\n * @property {boolean=} preferRelative Prefer to resolve module requests as relative requests before falling back to modules\n * @property {boolean=} preferAbsolute Prefer to resolve server-relative urls as absolute paths before falling back to resolve in roots\n */\n\n/**\n * @typedef {Object} ResolveOptions\n * @property {AliasOptionEntry[]} alias\n * @property {AliasOptionEntry[]} fallback\n * @property {Set<string | string[]>} aliasFields\n * @property {ExtensionAliasOption[]} extensionAlias\n * @property {(function(ResolveRequest): boolean)} cachePredicate\n * @property {boolean} cacheWithContext\n * @property {Set<string>} conditionNames A list of exports field condition names.\n * @property {string[]} descriptionFiles\n * @property {boolean} enforceExtension\n * @property {Set<string | string[]>} exportsFields\n * @property {Set<string | string[]>} importsFields\n * @property {Set<string>} extensions\n * @property {FileSystem} fileSystem\n * @property {object | false} unsafeCache\n * @property {boolean} symlinks\n * @property {Resolver=} resolver\n * @property {Array<string | string[]>} modules\n * @property {{name: string[], forceRelative: boolean}[]} mainFields\n * @property {Set<string>} mainFiles\n * @property {Plugin[]} plugins\n * @property {PnpApi | null} pnpApi\n * @property {Set<string>} roots\n * @property {boolean} fullySpecified\n * @property {boolean} resolveToContext\n * @property {Set<string|RegExp>} restrictions\n * @property {boolean} preferRelative\n * @property {boolean} preferAbsolute\n */\n\n/**\n * @param {PnpApi | null=} option option\n * @returns {PnpApi | null} processed option\n */\nfunction processPnpApiOption(option) {\n\tif (\n\t\toption === undefined &&\n\t\t/** @type {NodeJS.ProcessVersions & {pnp: string}} */ versions.pnp\n\t) {\n\t\t// @ts-ignore\n\t\treturn __webpack_require__(/*! pnpapi */ \"?b752\"); // eslint-disable-line node/no-missing-require\n\t}\n\n\treturn option || null;\n}\n\n/**\n * @param {AliasOptions | AliasOptionEntry[] | undefined} alias alias\n * @returns {AliasOptionEntry[]} normalized aliases\n */\nfunction normalizeAlias(alias) {\n\treturn typeof alias === \"object\" && !Array.isArray(alias) && alias !== null\n\t\t? Object.keys(alias).map(key => {\n\t\t\t\t/** @type {AliasOptionEntry} */\n\t\t\t\tconst obj = { name: key, onlyModule: false, alias: alias[key] };\n\n\t\t\t\tif (/\\$$/.test(key)) {\n\t\t\t\t\tobj.onlyModule = true;\n\t\t\t\t\tobj.name = key.substr(0, key.length - 1);\n\t\t\t\t}\n\n\t\t\t\treturn obj;\n\t\t })\n\t\t: /** @type {Array<AliasOptionEntry>} */ (alias) || [];\n}\n\n/**\n * @param {UserResolveOptions} options input options\n * @returns {ResolveOptions} output options\n */\nfunction createOptions(options) {\n\tconst mainFieldsSet = new Set(options.mainFields || [\"main\"]);\n\tconst mainFields = [];\n\n\tfor (const item of mainFieldsSet) {\n\t\tif (typeof item === \"string\") {\n\t\t\tmainFields.push({\n\t\t\t\tname: [item],\n\t\t\t\tforceRelative: true\n\t\t\t});\n\t\t} else if (Array.isArray(item)) {\n\t\t\tmainFields.push({\n\t\t\t\tname: item,\n\t\t\t\tforceRelative: true\n\t\t\t});\n\t\t} else {\n\t\t\tmainFields.push({\n\t\t\t\tname: Array.isArray(item.name) ? item.name : [item.name],\n\t\t\t\tforceRelative: item.forceRelative\n\t\t\t});\n\t\t}\n\t}\n\n\treturn {\n\t\talias: normalizeAlias(options.alias),\n\t\tfallback: normalizeAlias(options.fallback),\n\t\taliasFields: new Set(options.aliasFields),\n\t\tcachePredicate:\n\t\t\toptions.cachePredicate ||\n\t\t\tfunction () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\tcacheWithContext:\n\t\t\ttypeof options.cacheWithContext !== \"undefined\"\n\t\t\t\t? options.cacheWithContext\n\t\t\t\t: true,\n\t\texportsFields: new Set(options.exportsFields || [\"exports\"]),\n\t\timportsFields: new Set(options.importsFields || [\"imports\"]),\n\t\tconditionNames: new Set(options.conditionNames),\n\t\tdescriptionFiles: Array.from(\n\t\t\tnew Set(options.descriptionFiles || [\"package.json\"])\n\t\t),\n\t\tenforceExtension:\n\t\t\toptions.enforceExtension === undefined\n\t\t\t\t? options.extensions && options.extensions.includes(\"\")\n\t\t\t\t\t? true\n\t\t\t\t\t: false\n\t\t\t\t: options.enforceExtension,\n\t\textensions: new Set(options.extensions || [\".js\", \".json\", \".node\"]),\n\t\textensionAlias: options.extensionAlias\n\t\t\t? Object.keys(options.extensionAlias).map(k => ({\n\t\t\t\t\textension: k,\n\t\t\t\t\talias: /** @type {ExtensionAliasOptions} */ (options.extensionAlias)[\n\t\t\t\t\t\tk\n\t\t\t\t\t]\n\t\t\t }))\n\t\t\t: [],\n\t\tfileSystem: options.useSyncFileSystemCalls\n\t\t\t? new SyncAsyncFileSystemDecorator(\n\t\t\t\t\t/** @type {SyncFileSystem} */ (\n\t\t\t\t\t\t/** @type {unknown} */ (options.fileSystem)\n\t\t\t\t\t)\n\t\t\t )\n\t\t\t: options.fileSystem,\n\t\tunsafeCache:\n\t\t\toptions.unsafeCache && typeof options.unsafeCache !== \"object\"\n\t\t\t\t? {}\n\t\t\t\t: options.unsafeCache || false,\n\t\tsymlinks: typeof options.symlinks !== \"undefined\" ? options.symlinks : true,\n\t\tresolver: options.resolver,\n\t\tmodules: mergeFilteredToArray(\n\t\t\tArray.isArray(options.modules)\n\t\t\t\t? options.modules\n\t\t\t\t: options.modules\n\t\t\t\t? [options.modules]\n\t\t\t\t: [\"node_modules\"],\n\t\t\titem => {\n\t\t\t\tconst type = getType(item);\n\t\t\t\treturn type === PathType.Normal || type === PathType.Relative;\n\t\t\t}\n\t\t),\n\t\tmainFields,\n\t\tmainFiles: new Set(options.mainFiles || [\"index\"]),\n\t\tplugins: options.plugins || [],\n\t\tpnpApi: processPnpApiOption(options.pnpApi),\n\t\troots: new Set(options.roots || undefined),\n\t\tfullySpecified: options.fullySpecified || false,\n\t\tresolveToContext: options.resolveToContext || false,\n\t\tpreferRelative: options.preferRelative || false,\n\t\tpreferAbsolute: options.preferAbsolute || false,\n\t\trestrictions: new Set(options.restrictions)\n\t};\n}\n\n/**\n * @param {UserResolveOptions} options resolve options\n * @returns {Resolver} created resolver\n */\nexports.createResolver = function (options) {\n\tconst normalizedOptions = createOptions(options);\n\n\tconst {\n\t\talias,\n\t\tfallback,\n\t\taliasFields,\n\t\tcachePredicate,\n\t\tcacheWithContext,\n\t\tconditionNames,\n\t\tdescriptionFiles,\n\t\tenforceExtension,\n\t\texportsFields,\n\t\textensionAlias,\n\t\timportsFields,\n\t\textensions,\n\t\tfileSystem,\n\t\tfullySpecified,\n\t\tmainFields,\n\t\tmainFiles,\n\t\tmodules,\n\t\tplugins: userPlugins,\n\t\tpnpApi,\n\t\tresolveToContext,\n\t\tpreferRelative,\n\t\tpreferAbsolute,\n\t\tsymlinks,\n\t\tunsafeCache,\n\t\tresolver: customResolver,\n\t\trestrictions,\n\t\troots\n\t} = normalizedOptions;\n\n\tconst plugins = userPlugins.slice();\n\n\tconst resolver = customResolver\n\t\t? customResolver\n\t\t: new Resolver(fileSystem, normalizedOptions);\n\n\t//// pipeline ////\n\n\tresolver.ensureHook(\"resolve\");\n\tresolver.ensureHook(\"internalResolve\");\n\tresolver.ensureHook(\"newInternalResolve\");\n\tresolver.ensureHook(\"parsedResolve\");\n\tresolver.ensureHook(\"describedResolve\");\n\tresolver.ensureHook(\"rawResolve\");\n\tresolver.ensureHook(\"normalResolve\");\n\tresolver.ensureHook(\"internal\");\n\tresolver.ensureHook(\"rawModule\");\n\tresolver.ensureHook(\"module\");\n\tresolver.ensureHook(\"resolveAsModule\");\n\tresolver.ensureHook(\"undescribedResolveInPackage\");\n\tresolver.ensureHook(\"resolveInPackage\");\n\tresolver.ensureHook(\"resolveInExistingDirectory\");\n\tresolver.ensureHook(\"relative\");\n\tresolver.ensureHook(\"describedRelative\");\n\tresolver.ensureHook(\"directory\");\n\tresolver.ensureHook(\"undescribedExistingDirectory\");\n\tresolver.ensureHook(\"existingDirectory\");\n\tresolver.ensureHook(\"undescribedRawFile\");\n\tresolver.ensureHook(\"rawFile\");\n\tresolver.ensureHook(\"file\");\n\tresolver.ensureHook(\"finalFile\");\n\tresolver.ensureHook(\"existingFile\");\n\tresolver.ensureHook(\"resolved\");\n\n\t// TODO remove in next major\n\t// cspell:word Interal\n\t// Backward-compat\n\tresolver.hooks.newInteralResolve = resolver.hooks.newInternalResolve;\n\n\t// resolve\n\tfor (const { source, resolveOptions } of [\n\t\t{ source: \"resolve\", resolveOptions: { fullySpecified } },\n\t\t{ source: \"internal-resolve\", resolveOptions: { fullySpecified: false } }\n\t]) {\n\t\tif (unsafeCache) {\n\t\t\tplugins.push(\n\t\t\t\tnew UnsafeCachePlugin(\n\t\t\t\t\tsource,\n\t\t\t\t\tcachePredicate,\n\t\t\t\t\tunsafeCache,\n\t\t\t\t\tcacheWithContext,\n\t\t\t\t\t`new-${source}`\n\t\t\t\t)\n\t\t\t);\n\t\t\tplugins.push(\n\t\t\t\tnew ParsePlugin(`new-${source}`, resolveOptions, \"parsed-resolve\")\n\t\t\t);\n\t\t} else {\n\t\t\tplugins.push(new ParsePlugin(source, resolveOptions, \"parsed-resolve\"));\n\t\t}\n\t}\n\n\t// parsed-resolve\n\tplugins.push(\n\t\tnew DescriptionFilePlugin(\n\t\t\t\"parsed-resolve\",\n\t\t\tdescriptionFiles,\n\t\t\tfalse,\n\t\t\t\"described-resolve\"\n\t\t)\n\t);\n\tplugins.push(new NextPlugin(\"after-parsed-resolve\", \"described-resolve\"));\n\n\t// described-resolve\n\tplugins.push(new NextPlugin(\"described-resolve\", \"raw-resolve\"));\n\tif (fallback.length > 0) {\n\t\tplugins.push(\n\t\t\tnew AliasPlugin(\"described-resolve\", fallback, \"internal-resolve\")\n\t\t);\n\t}\n\n\t// raw-resolve\n\tif (alias.length > 0) {\n\t\tplugins.push(new AliasPlugin(\"raw-resolve\", alias, \"internal-resolve\"));\n\t}\n\taliasFields.forEach(item => {\n\t\tplugins.push(new AliasFieldPlugin(\"raw-resolve\", item, \"internal-resolve\"));\n\t});\n\textensionAlias.forEach(item =>\n\t\tplugins.push(\n\t\t\tnew ExtensionAliasPlugin(\"raw-resolve\", item, \"normal-resolve\")\n\t\t)\n\t);\n\tplugins.push(new NextPlugin(\"raw-resolve\", \"normal-resolve\"));\n\n\t// normal-resolve\n\tif (preferRelative) {\n\t\tplugins.push(new JoinRequestPlugin(\"after-normal-resolve\", \"relative\"));\n\t}\n\tplugins.push(\n\t\tnew ConditionalPlugin(\n\t\t\t\"after-normal-resolve\",\n\t\t\t{ module: true },\n\t\t\t\"resolve as module\",\n\t\t\tfalse,\n\t\t\t\"raw-module\"\n\t\t)\n\t);\n\tplugins.push(\n\t\tnew ConditionalPlugin(\n\t\t\t\"after-normal-resolve\",\n\t\t\t{ internal: true },\n\t\t\t\"resolve as internal import\",\n\t\t\tfalse,\n\t\t\t\"internal\"\n\t\t)\n\t);\n\tif (preferAbsolute) {\n\t\tplugins.push(new JoinRequestPlugin(\"after-normal-resolve\", \"relative\"));\n\t}\n\tif (roots.size > 0) {\n\t\tplugins.push(new RootsPlugin(\"after-normal-resolve\", roots, \"relative\"));\n\t}\n\tif (!preferRelative && !preferAbsolute) {\n\t\tplugins.push(new JoinRequestPlugin(\"after-normal-resolve\", \"relative\"));\n\t}\n\n\t// internal\n\timportsFields.forEach(importsField => {\n\t\tplugins.push(\n\t\t\tnew ImportsFieldPlugin(\n\t\t\t\t\"internal\",\n\t\t\t\tconditionNames,\n\t\t\t\timportsField,\n\t\t\t\t\"relative\",\n\t\t\t\t\"internal-resolve\"\n\t\t\t)\n\t\t);\n\t});\n\n\t// raw-module\n\texportsFields.forEach(exportsField => {\n\t\tplugins.push(\n\t\t\tnew SelfReferencePlugin(\"raw-module\", exportsField, \"resolve-as-module\")\n\t\t);\n\t});\n\tmodules.forEach(item => {\n\t\tif (Array.isArray(item)) {\n\t\t\tif (item.includes(\"node_modules\") && pnpApi) {\n\t\t\t\tplugins.push(\n\t\t\t\t\tnew ModulesInHierarchicalDirectoriesPlugin(\n\t\t\t\t\t\t\"raw-module\",\n\t\t\t\t\t\titem.filter(i => i !== \"node_modules\"),\n\t\t\t\t\t\t\"module\"\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tplugins.push(\n\t\t\t\t\tnew PnpPlugin(\"raw-module\", pnpApi, \"undescribed-resolve-in-package\")\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tplugins.push(\n\t\t\t\t\tnew ModulesInHierarchicalDirectoriesPlugin(\n\t\t\t\t\t\t\"raw-module\",\n\t\t\t\t\t\titem,\n\t\t\t\t\t\t\"module\"\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tplugins.push(new ModulesInRootPlugin(\"raw-module\", item, \"module\"));\n\t\t}\n\t});\n\n\t// module\n\tplugins.push(new JoinRequestPartPlugin(\"module\", \"resolve-as-module\"));\n\n\t// resolve-as-module\n\tif (!resolveToContext) {\n\t\tplugins.push(\n\t\t\tnew ConditionalPlugin(\n\t\t\t\t\"resolve-as-module\",\n\t\t\t\t{ directory: false, request: \".\" },\n\t\t\t\t\"single file module\",\n\t\t\t\ttrue,\n\t\t\t\t\"undescribed-raw-file\"\n\t\t\t)\n\t\t);\n\t}\n\tplugins.push(\n\t\tnew DirectoryExistsPlugin(\n\t\t\t\"resolve-as-module\",\n\t\t\t\"undescribed-resolve-in-package\"\n\t\t)\n\t);\n\n\t// undescribed-resolve-in-package\n\tplugins.push(\n\t\tnew DescriptionFilePlugin(\n\t\t\t\"undescribed-resolve-in-package\",\n\t\t\tdescriptionFiles,\n\t\t\tfalse,\n\t\t\t\"resolve-in-package\"\n\t\t)\n\t);\n\tplugins.push(\n\t\tnew NextPlugin(\"after-undescribed-resolve-in-package\", \"resolve-in-package\")\n\t);\n\n\t// resolve-in-package\n\texportsFields.forEach(exportsField => {\n\t\tplugins.push(\n\t\t\tnew ExportsFieldPlugin(\n\t\t\t\t\"resolve-in-package\",\n\t\t\t\tconditionNames,\n\t\t\t\texportsField,\n\t\t\t\t\"relative\"\n\t\t\t)\n\t\t);\n\t});\n\tplugins.push(\n\t\tnew NextPlugin(\"resolve-in-package\", \"resolve-in-existing-directory\")\n\t);\n\n\t// resolve-in-existing-directory\n\tplugins.push(\n\t\tnew JoinRequestPlugin(\"resolve-in-existing-directory\", \"relative\")\n\t);\n\n\t// relative\n\tplugins.push(\n\t\tnew DescriptionFilePlugin(\n\t\t\t\"relative\",\n\t\t\tdescriptionFiles,\n\t\t\ttrue,\n\t\t\t\"described-relative\"\n\t\t)\n\t);\n\tplugins.push(new NextPlugin(\"after-relative\", \"described-relative\"));\n\n\t// described-relative\n\tif (resolveToContext) {\n\t\tplugins.push(new NextPlugin(\"described-relative\", \"directory\"));\n\t} else {\n\t\tplugins.push(\n\t\t\tnew ConditionalPlugin(\n\t\t\t\t\"described-relative\",\n\t\t\t\t{ directory: false },\n\t\t\t\tnull,\n\t\t\t\ttrue,\n\t\t\t\t\"raw-file\"\n\t\t\t)\n\t\t);\n\t\tplugins.push(\n\t\t\tnew ConditionalPlugin(\n\t\t\t\t\"described-relative\",\n\t\t\t\t{ fullySpecified: false },\n\t\t\t\t\"as directory\",\n\t\t\t\ttrue,\n\t\t\t\t\"directory\"\n\t\t\t)\n\t\t);\n\t}\n\n\t// directory\n\tplugins.push(\n\t\tnew DirectoryExistsPlugin(\"directory\", \"undescribed-existing-directory\")\n\t);\n\n\tif (resolveToContext) {\n\t\t// undescribed-existing-directory\n\t\tplugins.push(new NextPlugin(\"undescribed-existing-directory\", \"resolved\"));\n\t} else {\n\t\t// undescribed-existing-directory\n\t\tplugins.push(\n\t\t\tnew DescriptionFilePlugin(\n\t\t\t\t\"undescribed-existing-directory\",\n\t\t\t\tdescriptionFiles,\n\t\t\t\tfalse,\n\t\t\t\t\"existing-directory\"\n\t\t\t)\n\t\t);\n\t\tmainFiles.forEach(item => {\n\t\t\tplugins.push(\n\t\t\t\tnew UseFilePlugin(\n\t\t\t\t\t\"undescribed-existing-directory\",\n\t\t\t\t\titem,\n\t\t\t\t\t\"undescribed-raw-file\"\n\t\t\t\t)\n\t\t\t);\n\t\t});\n\n\t\t// described-existing-directory\n\t\tmainFields.forEach(item => {\n\t\t\tplugins.push(\n\t\t\t\tnew MainFieldPlugin(\n\t\t\t\t\t\"existing-directory\",\n\t\t\t\t\titem,\n\t\t\t\t\t\"resolve-in-existing-directory\"\n\t\t\t\t)\n\t\t\t);\n\t\t});\n\t\tmainFiles.forEach(item => {\n\t\t\tplugins.push(\n\t\t\t\tnew UseFilePlugin(\"existing-directory\", item, \"undescribed-raw-file\")\n\t\t\t);\n\t\t});\n\n\t\t// undescribed-raw-file\n\t\tplugins.push(\n\t\t\tnew DescriptionFilePlugin(\n\t\t\t\t\"undescribed-raw-file\",\n\t\t\t\tdescriptionFiles,\n\t\t\t\ttrue,\n\t\t\t\t\"raw-file\"\n\t\t\t)\n\t\t);\n\t\tplugins.push(new NextPlugin(\"after-undescribed-raw-file\", \"raw-file\"));\n\n\t\t// raw-file\n\t\tplugins.push(\n\t\t\tnew ConditionalPlugin(\n\t\t\t\t\"raw-file\",\n\t\t\t\t{ fullySpecified: true },\n\t\t\t\tnull,\n\t\t\t\tfalse,\n\t\t\t\t\"file\"\n\t\t\t)\n\t\t);\n\t\tif (!enforceExtension) {\n\t\t\tplugins.push(new TryNextPlugin(\"raw-file\", \"no extension\", \"file\"));\n\t\t}\n\t\textensions.forEach(item => {\n\t\t\tplugins.push(new AppendPlugin(\"raw-file\", item, \"file\"));\n\t\t});\n\n\t\t// file\n\t\tif (alias.length > 0)\n\t\t\tplugins.push(new AliasPlugin(\"file\", alias, \"internal-resolve\"));\n\t\taliasFields.forEach(item => {\n\t\t\tplugins.push(new AliasFieldPlugin(\"file\", item, \"internal-resolve\"));\n\t\t});\n\t\tplugins.push(new NextPlugin(\"file\", \"final-file\"));\n\n\t\t// final-file\n\t\tplugins.push(new FileExistsPlugin(\"final-file\", \"existing-file\"));\n\n\t\t// existing-file\n\t\tif (symlinks)\n\t\t\tplugins.push(new SymlinkPlugin(\"existing-file\", \"existing-file\"));\n\t\tplugins.push(new NextPlugin(\"existing-file\", \"resolved\"));\n\t}\n\n\t// resolved\n\tif (restrictions.size > 0) {\n\t\tplugins.push(new RestrictionsPlugin(resolver.hooks.resolved, restrictions));\n\t}\n\tplugins.push(new ResultPlugin(resolver.hooks.resolved));\n\n\t//// RESOLVER ////\n\n\tfor (const plugin of plugins) {\n\t\tif (typeof plugin === \"function\") {\n\t\t\tplugin.call(resolver, resolver);\n\t\t} else {\n\t\t\tplugin.apply(resolver);\n\t\t}\n\t}\n\n\treturn resolver;\n};\n\n/**\n * Merging filtered elements\n * @param {string[]} array source array\n * @param {function(string): boolean} filter predicate\n * @returns {Array<string | string[]>} merge result\n */\nfunction mergeFilteredToArray(array, filter) {\n\t/** @type {Array<string | string[]>} */\n\tconst result = [];\n\tconst set = new Set(array);\n\n\tfor (const item of set) {\n\t\tif (filter(item)) {\n\t\t\tconst lastElement =\n\t\t\t\tresult.length > 0 ? result[result.length - 1] : undefined;\n\t\t\tif (Array.isArray(lastElement)) {\n\t\t\t\tlastElement.push(item);\n\t\t\t} else {\n\t\t\t\tresult.push([item]);\n\t\t\t}\n\t\t} else {\n\t\t\tresult.push(item);\n\t\t}\n\t}\n\n\treturn result;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ResolverFactory.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/RestrictionsPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/RestrictionsPlugin.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nconst slashCode = \"/\".charCodeAt(0);\nconst backslashCode = \"\\\\\".charCodeAt(0);\n\nconst isInside = (path, parent) => {\n\tif (!path.startsWith(parent)) return false;\n\tif (path.length === parent.length) return true;\n\tconst charCode = path.charCodeAt(parent.length);\n\treturn charCode === slashCode || charCode === backslashCode;\n};\n\nmodule.exports = class RestrictionsPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {Set<string | RegExp>} restrictions restrictions\n\t */\n\tconstructor(source, restrictions) {\n\t\tthis.source = source;\n\t\tthis.restrictions = restrictions;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"RestrictionsPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (typeof request.path === \"string\") {\n\t\t\t\t\tconst path = request.path;\n\t\t\t\t\tfor (const rule of this.restrictions) {\n\t\t\t\t\t\tif (typeof rule === \"string\") {\n\t\t\t\t\t\t\tif (!isInside(path, rule)) {\n\t\t\t\t\t\t\t\tif (resolveContext.log) {\n\t\t\t\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\t\t\t`${path} is not inside of the restriction ${rule}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (!rule.test(path)) {\n\t\t\t\t\t\t\tif (resolveContext.log) {\n\t\t\t\t\t\t\t\tresolveContext.log(\n\t\t\t\t\t\t\t\t\t`${path} doesn't match the restriction ${rule}`\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback();\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/RestrictionsPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/ResultPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/ResultPlugin.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class ResultPlugin {\n\t/**\n\t * @param {ResolveStepHook} source source\n\t */\n\tconstructor(source) {\n\t\tthis.source = source;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tthis.source.tapAsync(\n\t\t\t\"ResultPlugin\",\n\t\t\t(request, resolverContext, callback) => {\n\t\t\t\tconst obj = { ...request };\n\t\t\t\tif (resolverContext.log)\n\t\t\t\t\tresolverContext.log(\"reporting result \" + obj.path);\n\t\t\t\tresolver.hooks.result.callAsync(obj, resolverContext, err => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (typeof resolverContext.yield === \"function\") {\n\t\t\t\t\t\tresolverContext.yield(obj);\n\t\t\t\t\t\tcallback(null, null);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcallback(null, obj);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/ResultPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/RootsPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/RootsPlugin.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nclass RootsPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source hook\n\t * @param {Set<string>} roots roots\n\t * @param {string | ResolveStepHook} target target hook\n\t */\n\tconstructor(source, roots, target) {\n\t\tthis.roots = Array.from(roots);\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"RootsPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst req = request.request;\n\t\t\t\tif (!req) return callback();\n\t\t\t\tif (!req.startsWith(\"/\")) return callback();\n\n\t\t\t\tforEachBail(\n\t\t\t\t\tthis.roots,\n\t\t\t\t\t(root, callback) => {\n\t\t\t\t\t\tconst path = resolver.join(root, req.slice(1));\n\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\trelativePath: request.relativePath && path\n\t\t\t\t\t\t};\n\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t`root path ${root}`,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n}\n\nmodule.exports = RootsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/RootsPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/SelfReferencePlugin.js": /*!******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/SelfReferencePlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DescriptionFileUtils = __webpack_require__(/*! ./DescriptionFileUtils */ \"./node_modules/enhanced-resolve/lib/DescriptionFileUtils.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nconst slashCode = \"/\".charCodeAt(0);\n\nmodule.exports = class SelfReferencePlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | string[]} fieldNamePath name path\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, fieldNamePath, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t\tthis.fieldName = fieldNamePath;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"SelfReferencePlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (!request.descriptionFilePath) return callback();\n\n\t\t\t\tconst req = request.request;\n\t\t\t\tif (!req) return callback();\n\n\t\t\t\t// Feature is only enabled when an exports field is present\n\t\t\t\tconst exportsField = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\tthis.fieldName\n\t\t\t\t);\n\t\t\t\tif (!exportsField) return callback();\n\n\t\t\t\tconst name = DescriptionFileUtils.getField(\n\t\t\t\t\trequest.descriptionFileData,\n\t\t\t\t\t\"name\"\n\t\t\t\t);\n\t\t\t\tif (typeof name !== \"string\") return callback();\n\n\t\t\t\tif (\n\t\t\t\t\treq.startsWith(name) &&\n\t\t\t\t\t(req.length === name.length ||\n\t\t\t\t\t\treq.charCodeAt(name.length) === slashCode)\n\t\t\t\t) {\n\t\t\t\t\tconst remainingRequest = `.${req.slice(name.length)}`;\n\n\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t...request,\n\t\t\t\t\t\trequest: remainingRequest,\n\t\t\t\t\t\tpath: /** @type {string} */ (request.descriptionFileRoot),\n\t\t\t\t\t\trelativePath: \".\"\n\t\t\t\t\t};\n\n\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\ttarget,\n\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\"self reference\",\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/SelfReferencePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/SymlinkPlugin.js": /*!************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/SymlinkPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst forEachBail = __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\nconst getPaths = __webpack_require__(/*! ./getPaths */ \"./node_modules/enhanced-resolve/lib/getPaths.js\");\nconst { getType, PathType } = __webpack_require__(/*! ./util/path */ \"./node_modules/enhanced-resolve/lib/util/path.js\");\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class SymlinkPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, target) {\n\t\tthis.source = source;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tconst fs = resolver.fileSystem;\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"SymlinkPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (request.ignoreSymlinks) return callback();\n\t\t\t\tconst pathsResult = getPaths(request.path);\n\t\t\t\tconst pathSegments = pathsResult.segments;\n\t\t\t\tconst paths = pathsResult.paths;\n\n\t\t\t\tlet containsSymlink = false;\n\t\t\t\tlet idx = -1;\n\t\t\t\tforEachBail(\n\t\t\t\t\tpaths,\n\t\t\t\t\t(path, callback) => {\n\t\t\t\t\t\tidx++;\n\t\t\t\t\t\tif (resolveContext.fileDependencies)\n\t\t\t\t\t\t\tresolveContext.fileDependencies.add(path);\n\t\t\t\t\t\tfs.readlink(path, (err, result) => {\n\t\t\t\t\t\t\tif (!err && result) {\n\t\t\t\t\t\t\t\tpathSegments[idx] = result;\n\t\t\t\t\t\t\t\tcontainsSymlink = true;\n\t\t\t\t\t\t\t\t// Shortcut when absolute symlink found\n\t\t\t\t\t\t\t\tconst resultType = getType(result.toString());\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tresultType === PathType.AbsoluteWin ||\n\t\t\t\t\t\t\t\t\tresultType === PathType.AbsolutePosix\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn callback(null, idx);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t(err, idx) => {\n\t\t\t\t\t\tif (!containsSymlink) return callback();\n\t\t\t\t\t\tconst resultSegments =\n\t\t\t\t\t\t\ttypeof idx === \"number\"\n\t\t\t\t\t\t\t\t? pathSegments.slice(0, idx + 1)\n\t\t\t\t\t\t\t\t: pathSegments.slice();\n\t\t\t\t\t\tconst result = resultSegments.reduceRight((a, b) => {\n\t\t\t\t\t\t\treturn resolver.join(a, b);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\tpath: result\n\t\t\t\t\t\t};\n\t\t\t\t\t\tresolver.doResolve(\n\t\t\t\t\t\t\ttarget,\n\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\"resolved symlink to \" + result,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/SymlinkPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js": /*!***************************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js ***! \***************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\").FileSystem} FileSystem */\n/** @typedef {import(\"./Resolver\").SyncFileSystem} SyncFileSystem */\n\n/**\n * @param {SyncFileSystem} fs file system implementation\n * @constructor\n */\nfunction SyncAsyncFileSystemDecorator(fs) {\n\tthis.fs = fs;\n\n\tthis.lstat = undefined;\n\tthis.lstatSync = undefined;\n\tconst lstatSync = fs.lstatSync;\n\tif (lstatSync) {\n\t\tthis.lstat = (arg, options, callback) => {\n\t\t\tlet result;\n\t\t\ttry {\n\t\t\t\tresult = lstatSync.call(fs, arg);\n\t\t\t} catch (e) {\n\t\t\t\treturn (callback || options)(e);\n\t\t\t}\n\t\t\t(callback || options)(null, result);\n\t\t};\n\t\tthis.lstatSync = (arg, options) => lstatSync.call(fs, arg, options);\n\t}\n\n\tthis.stat = (arg, options, callback) => {\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = callback ? fs.statSync(arg, options) : fs.statSync(arg);\n\t\t} catch (e) {\n\t\t\treturn (callback || options)(e);\n\t\t}\n\t\t(callback || options)(null, result);\n\t};\n\tthis.statSync = (arg, options) => fs.statSync(arg, options);\n\n\tthis.readdir = (arg, options, callback) => {\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = fs.readdirSync(arg);\n\t\t} catch (e) {\n\t\t\treturn (callback || options)(e);\n\t\t}\n\t\t(callback || options)(null, result);\n\t};\n\tthis.readdirSync = (arg, options) => fs.readdirSync(arg, options);\n\n\tthis.readFile = (arg, options, callback) => {\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = fs.readFileSync(arg);\n\t\t} catch (e) {\n\t\t\treturn (callback || options)(e);\n\t\t}\n\t\t(callback || options)(null, result);\n\t};\n\tthis.readFileSync = (arg, options) => fs.readFileSync(arg, options);\n\n\tthis.readlink = (arg, options, callback) => {\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = fs.readlinkSync(arg);\n\t\t} catch (e) {\n\t\t\treturn (callback || options)(e);\n\t\t}\n\t\t(callback || options)(null, result);\n\t};\n\tthis.readlinkSync = (arg, options) => fs.readlinkSync(arg, options);\n\n\tthis.readJson = undefined;\n\tthis.readJsonSync = undefined;\n\tconst readJsonSync = fs.readJsonSync;\n\tif (readJsonSync) {\n\t\tthis.readJson = (arg, options, callback) => {\n\t\t\tlet result;\n\t\t\ttry {\n\t\t\t\tresult = readJsonSync.call(fs, arg);\n\t\t\t} catch (e) {\n\t\t\t\treturn (callback || options)(e);\n\t\t\t}\n\t\t\t(callback || options)(null, result);\n\t\t};\n\n\t\tthis.readJsonSync = (arg, options) => readJsonSync.call(fs, arg, options);\n\t}\n}\nmodule.exports = SyncAsyncFileSystemDecorator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/TryNextPlugin.js": /*!************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/TryNextPlugin.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class TryNextPlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string} message message\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, message, target) {\n\t\tthis.source = source;\n\t\tthis.message = message;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"TryNextPlugin\", (request, resolveContext, callback) => {\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\trequest,\n\t\t\t\t\tthis.message,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/TryNextPlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js": /*!****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n/** @typedef {{[k: string]: any}} Cache */\n\nfunction getCacheId(type, request, withContext) {\n\treturn JSON.stringify({\n\t\ttype,\n\t\tcontext: withContext ? request.context : \"\",\n\t\tpath: request.path,\n\t\tquery: request.query,\n\t\tfragment: request.fragment,\n\t\trequest: request.request\n\t});\n}\n\nmodule.exports = class UnsafeCachePlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {function(ResolveRequest): boolean} filterPredicate filterPredicate\n\t * @param {Cache} cache cache\n\t * @param {boolean} withContext withContext\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, filterPredicate, cache, withContext, target) {\n\t\tthis.source = source;\n\t\tthis.filterPredicate = filterPredicate;\n\t\tthis.withContext = withContext;\n\t\tthis.cache = cache;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"UnsafeCachePlugin\", (request, resolveContext, callback) => {\n\t\t\t\tif (!this.filterPredicate(request)) return callback();\n\t\t\t\tconst isYield = typeof resolveContext.yield === \"function\";\n\t\t\t\tconst cacheId = getCacheId(\n\t\t\t\t\tisYield ? \"yield\" : \"default\",\n\t\t\t\t\trequest,\n\t\t\t\t\tthis.withContext\n\t\t\t\t);\n\t\t\t\tconst cacheEntry = this.cache[cacheId];\n\t\t\t\tif (cacheEntry) {\n\t\t\t\t\tif (isYield) {\n\t\t\t\t\t\tconst yield_ = /** @type {Function} */ (resolveContext.yield);\n\t\t\t\t\t\tif (Array.isArray(cacheEntry)) {\n\t\t\t\t\t\t\tfor (const result of cacheEntry) yield_(result);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tyield_(cacheEntry);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(null, cacheEntry);\n\t\t\t\t}\n\n\t\t\t\tlet yieldFn;\n\t\t\t\tlet yield_;\n\t\t\t\tconst yieldResult = [];\n\t\t\t\tif (isYield) {\n\t\t\t\t\tyieldFn = resolveContext.yield;\n\t\t\t\t\tyield_ = result => {\n\t\t\t\t\t\tyieldResult.push(result);\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\trequest,\n\t\t\t\t\tnull,\n\t\t\t\t\tyield_ ? { ...resolveContext, yield: yield_ } : resolveContext,\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tif (isYield) {\n\t\t\t\t\t\t\tif (result) yieldResult.push(result);\n\t\t\t\t\t\t\tfor (const result of yieldResult) yieldFn(result);\n\t\t\t\t\t\t\tthis.cache[cacheId] = yieldResult;\n\t\t\t\t\t\t\treturn callback(null, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (result) return callback(null, (this.cache[cacheId] = result));\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/UseFilePlugin.js": /*!************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/UseFilePlugin.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").ResolveStepHook} ResolveStepHook */\n\nmodule.exports = class UseFilePlugin {\n\t/**\n\t * @param {string | ResolveStepHook} source source\n\t * @param {string} filename filename\n\t * @param {string | ResolveStepHook} target target\n\t */\n\tconstructor(source, filename, target) {\n\t\tthis.source = source;\n\t\tthis.filename = filename;\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * @param {Resolver} resolver the resolver\n\t * @returns {void}\n\t */\n\tapply(resolver) {\n\t\tconst target = resolver.ensureHook(this.target);\n\t\tresolver\n\t\t\t.getHook(this.source)\n\t\t\t.tapAsync(\"UseFilePlugin\", (request, resolveContext, callback) => {\n\t\t\t\tconst filePath = resolver.join(request.path, this.filename);\n\t\t\t\tconst obj = {\n\t\t\t\t\t...request,\n\t\t\t\t\tpath: filePath,\n\t\t\t\t\trelativePath:\n\t\t\t\t\t\trequest.relativePath &&\n\t\t\t\t\t\tresolver.join(request.relativePath, this.filename)\n\t\t\t\t};\n\t\t\t\tresolver.doResolve(\n\t\t\t\t\ttarget,\n\t\t\t\t\tobj,\n\t\t\t\t\t\"using path: \" + filePath,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/UseFilePlugin.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/createInnerContext.js": /*!*****************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/createInnerContext.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = function createInnerContext(\n\toptions,\n\tmessage,\n\tmessageOptional\n) {\n\tlet messageReported = false;\n\tlet innerLog = undefined;\n\tif (options.log) {\n\t\tif (message) {\n\t\t\tinnerLog = msg => {\n\t\t\t\tif (!messageReported) {\n\t\t\t\t\toptions.log(message);\n\t\t\t\t\tmessageReported = true;\n\t\t\t\t}\n\t\t\t\toptions.log(\" \" + msg);\n\t\t\t};\n\t\t} else {\n\t\t\tinnerLog = options.log;\n\t\t}\n\t}\n\tconst childContext = {\n\t\tlog: innerLog,\n\t\tyield: options.yield,\n\t\tfileDependencies: options.fileDependencies,\n\t\tcontextDependencies: options.contextDependencies,\n\t\tmissingDependencies: options.missingDependencies,\n\t\tstack: options.stack\n\t};\n\treturn childContext;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/createInnerContext.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/forEachBail.js": /*!**********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/forEachBail.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = function forEachBail(array, iterator, callback) {\n\tif (array.length === 0) return callback();\n\n\tlet i = 0;\n\tconst next = () => {\n\t\tlet loop = undefined;\n\t\titerator(array[i++], (err, result) => {\n\t\t\tif (err || result !== undefined || i >= array.length) {\n\t\t\t\treturn callback(err, result);\n\t\t\t}\n\t\t\tif (loop === false) while (next());\n\t\t\tloop = true;\n\t\t});\n\t\tif (!loop) loop = false;\n\t\treturn loop;\n\t};\n\twhile (next());\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/forEachBail.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/getInnerRequest.js": /*!**************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/getInnerRequest.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = function getInnerRequest(resolver, request) {\n\tif (\n\t\ttypeof request.__innerRequest === \"string\" &&\n\t\trequest.__innerRequest_request === request.request &&\n\t\trequest.__innerRequest_relativePath === request.relativePath\n\t)\n\t\treturn request.__innerRequest;\n\tlet innerRequest;\n\tif (request.request) {\n\t\tinnerRequest = request.request;\n\t\tif (/^\\.\\.?(?:\\/|$)/.test(innerRequest) && request.relativePath) {\n\t\t\tinnerRequest = resolver.join(request.relativePath, innerRequest);\n\t\t}\n\t} else {\n\t\tinnerRequest = request.relativePath;\n\t}\n\trequest.__innerRequest_request = request.request;\n\trequest.__innerRequest_relativePath = request.relativePath;\n\treturn (request.__innerRequest = innerRequest);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/getInnerRequest.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/getPaths.js": /*!*******************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/getPaths.js ***! \*******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = function getPaths(path) {\n\tif (path === \"/\") return { paths: [\"/\"], segments: [\"\"] };\n\tconst parts = path.split(/(.*?[\\\\/]+)/);\n\tconst paths = [path];\n\tconst segments = [parts[parts.length - 1]];\n\tlet part = parts[parts.length - 1];\n\tpath = path.substr(0, path.length - part.length - 1);\n\tfor (let i = parts.length - 2; i > 2; i -= 2) {\n\t\tpaths.push(path);\n\t\tpart = parts[i];\n\t\tpath = path.substr(0, path.length - part.length) || \"/\";\n\t\tsegments.push(part.substr(0, part.length - 1));\n\t}\n\tpart = parts[1];\n\tsegments.push(part);\n\tpaths.push(part);\n\treturn {\n\t\tpaths: paths,\n\t\tsegments: segments\n\t};\n};\n\nmodule.exports.basename = function basename(path) {\n\tconst i = path.lastIndexOf(\"/\"),\n\t\tj = path.lastIndexOf(\"\\\\\");\n\tconst p = i < 0 ? j : j < 0 ? i : i < j ? j : i;\n\tif (p < 0) return null;\n\tconst s = path.substr(p + 1);\n\treturn s;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/getPaths.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/index.js": /*!****************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/index.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst fs = __webpack_require__(/*! graceful-fs */ \"./node_modules/graceful-fs/graceful-fs.js\");\nconst CachedInputFileSystem = __webpack_require__(/*! ./CachedInputFileSystem */ \"./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js\");\nconst ResolverFactory = __webpack_require__(/*! ./ResolverFactory */ \"./node_modules/enhanced-resolve/lib/ResolverFactory.js\");\n\n/** @typedef {import(\"./PnpPlugin\").PnpApiImpl} PnpApi */\n/** @typedef {import(\"./Resolver\")} Resolver */\n/** @typedef {import(\"./Resolver\").FileSystem} FileSystem */\n/** @typedef {import(\"./Resolver\").ResolveContext} ResolveContext */\n/** @typedef {import(\"./Resolver\").ResolveRequest} ResolveRequest */\n/** @typedef {import(\"./ResolverFactory\").Plugin} Plugin */\n/** @typedef {import(\"./ResolverFactory\").UserResolveOptions} ResolveOptions */\n\nconst nodeFileSystem = new CachedInputFileSystem(fs, 4000);\n\nconst nodeContext = {\n\tenvironments: [\"node+es3+es5+process+native\"]\n};\n\nconst asyncResolver = ResolverFactory.createResolver({\n\tconditionNames: [\"node\"],\n\textensions: [\".js\", \".json\", \".node\"],\n\tfileSystem: nodeFileSystem\n});\nfunction resolve(context, path, request, resolveContext, callback) {\n\tif (typeof context === \"string\") {\n\t\tcallback = resolveContext;\n\t\tresolveContext = request;\n\t\trequest = path;\n\t\tpath = context;\n\t\tcontext = nodeContext;\n\t}\n\tif (typeof callback !== \"function\") {\n\t\tcallback = resolveContext;\n\t}\n\tasyncResolver.resolve(context, path, request, resolveContext, callback);\n}\n\nconst syncResolver = ResolverFactory.createResolver({\n\tconditionNames: [\"node\"],\n\textensions: [\".js\", \".json\", \".node\"],\n\tuseSyncFileSystemCalls: true,\n\tfileSystem: nodeFileSystem\n});\nfunction resolveSync(context, path, request) {\n\tif (typeof context === \"string\") {\n\t\trequest = path;\n\t\tpath = context;\n\t\tcontext = nodeContext;\n\t}\n\treturn syncResolver.resolveSync(context, path, request);\n}\n\nfunction create(options) {\n\toptions = {\n\t\tfileSystem: nodeFileSystem,\n\t\t...options\n\t};\n\tconst resolver = ResolverFactory.createResolver(options);\n\treturn function (context, path, request, resolveContext, callback) {\n\t\tif (typeof context === \"string\") {\n\t\t\tcallback = resolveContext;\n\t\t\tresolveContext = request;\n\t\t\trequest = path;\n\t\t\tpath = context;\n\t\t\tcontext = nodeContext;\n\t\t}\n\t\tif (typeof callback !== \"function\") {\n\t\t\tcallback = resolveContext;\n\t\t}\n\t\tresolver.resolve(context, path, request, resolveContext, callback);\n\t};\n}\n\nfunction createSync(options) {\n\toptions = {\n\t\tuseSyncFileSystemCalls: true,\n\t\tfileSystem: nodeFileSystem,\n\t\t...options\n\t};\n\tconst resolver = ResolverFactory.createResolver(options);\n\treturn function (context, path, request) {\n\t\tif (typeof context === \"string\") {\n\t\t\trequest = path;\n\t\t\tpath = context;\n\t\t\tcontext = nodeContext;\n\t\t}\n\t\treturn resolver.resolveSync(context, path, request);\n\t};\n}\n\n/**\n * @template A\n * @template B\n * @param {A} obj input a\n * @param {B} exports input b\n * @returns {A & B} merged\n */\nconst mergeExports = (obj, exports) => {\n\tconst descriptors = Object.getOwnPropertyDescriptors(exports);\n\tObject.defineProperties(obj, descriptors);\n\treturn /** @type {A & B} */ (Object.freeze(obj));\n};\n\nmodule.exports = mergeExports(resolve, {\n\tget sync() {\n\t\treturn resolveSync;\n\t},\n\tcreate: mergeExports(create, {\n\t\tget sync() {\n\t\t\treturn createSync;\n\t\t}\n\t}),\n\tResolverFactory,\n\tCachedInputFileSystem,\n\tget CloneBasenamePlugin() {\n\t\treturn __webpack_require__(/*! ./CloneBasenamePlugin */ \"./node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js\");\n\t},\n\tget LogInfoPlugin() {\n\t\treturn __webpack_require__(/*! ./LogInfoPlugin */ \"./node_modules/enhanced-resolve/lib/LogInfoPlugin.js\");\n\t},\n\tget forEachBail() {\n\t\treturn __webpack_require__(/*! ./forEachBail */ \"./node_modules/enhanced-resolve/lib/forEachBail.js\");\n\t}\n});\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/index.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/util/entrypoints.js": /*!***************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/util/entrypoints.js ***! \***************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\n/** @typedef {string|(string|ConditionalMapping)[]} DirectMapping */\n/** @typedef {{[k: string]: MappingValue}} ConditionalMapping */\n/** @typedef {ConditionalMapping|DirectMapping|null} MappingValue */\n/** @typedef {Record<string, MappingValue>|ConditionalMapping|DirectMapping} ExportsField */\n/** @typedef {Record<string, MappingValue>} ImportsField */\n\n/**\n * @typedef {Object} PathTreeNode\n * @property {Map<string, PathTreeNode>|null} children\n * @property {MappingValue} folder\n * @property {Map<string, MappingValue>|null} wildcards\n * @property {Map<string, MappingValue>} files\n */\n\n/**\n * Processing exports/imports field\n * @callback FieldProcessor\n * @param {string} request request\n * @param {Set<string>} conditionNames condition names\n * @returns {string[]} resolved paths\n */\n\n/*\nExample exports field:\n{\n \".\": \"./main.js\",\n \"./feature\": {\n \"browser\": \"./feature-browser.js\",\n \"default\": \"./feature.js\"\n }\n}\nTerminology:\n\nEnhanced-resolve name keys (\".\" and \"./feature\") as exports field keys.\n\nIf value is string or string[], mapping is called as a direct mapping\nand value called as a direct export.\n\nIf value is key-value object, mapping is called as a conditional mapping\nand value called as a conditional export.\n\nKey in conditional mapping is called condition name.\n\nConditional mapping nested in another conditional mapping is called nested mapping.\n\n----------\n\nExample imports field:\n{\n \"#a\": \"./main.js\",\n \"#moment\": {\n \"browser\": \"./moment/index.js\",\n \"default\": \"moment\"\n },\n \"#moment/\": {\n \"browser\": \"./moment/\",\n \"default\": \"moment/\"\n }\n}\nTerminology:\n\nEnhanced-resolve name keys (\"#a\" and \"#moment/\", \"#moment\") as imports field keys.\n\nIf value is string or string[], mapping is called as a direct mapping\nand value called as a direct export.\n\nIf value is key-value object, mapping is called as a conditional mapping\nand value called as a conditional export.\n\nKey in conditional mapping is called condition name.\n\nConditional mapping nested in another conditional mapping is called nested mapping.\n\n*/\n\nconst slashCode = \"/\".charCodeAt(0);\nconst dotCode = \".\".charCodeAt(0);\nconst hashCode = \"#\".charCodeAt(0);\n\n/**\n * @param {ExportsField} exportsField the exports field\n * @returns {FieldProcessor} process callback\n */\nmodule.exports.processExportsField = function processExportsField(\n\texportsField\n) {\n\treturn createFieldProcessor(\n\t\tbuildExportsFieldPathTree(exportsField),\n\t\tassertExportsFieldRequest,\n\t\tassertExportTarget\n\t);\n};\n\n/**\n * @param {ImportsField} importsField the exports field\n * @returns {FieldProcessor} process callback\n */\nmodule.exports.processImportsField = function processImportsField(\n\timportsField\n) {\n\treturn createFieldProcessor(\n\t\tbuildImportsFieldPathTree(importsField),\n\t\tassertImportsFieldRequest,\n\t\tassertImportTarget\n\t);\n};\n\n/**\n * @param {PathTreeNode} treeRoot root\n * @param {(s: string) => string} assertRequest assertRequest\n * @param {(s: string, f: boolean) => void} assertTarget assertTarget\n * @returns {FieldProcessor} field processor\n */\nfunction createFieldProcessor(treeRoot, assertRequest, assertTarget) {\n\treturn function fieldProcessor(request, conditionNames) {\n\t\trequest = assertRequest(request);\n\n\t\tconst match = findMatch(request, treeRoot);\n\n\t\tif (match === null) return [];\n\n\t\tconst [mapping, remainRequestIndex] = match;\n\n\t\t/** @type {DirectMapping|null} */\n\t\tlet direct = null;\n\n\t\tif (isConditionalMapping(mapping)) {\n\t\t\tdirect = conditionalMapping(\n\t\t\t\t/** @type {ConditionalMapping} */ (mapping),\n\t\t\t\tconditionNames\n\t\t\t);\n\n\t\t\t// matching not found\n\t\t\tif (direct === null) return [];\n\t\t} else {\n\t\t\tdirect = /** @type {DirectMapping} */ (mapping);\n\t\t}\n\n\t\tconst remainingRequest =\n\t\t\tremainRequestIndex === request.length + 1\n\t\t\t\t? undefined\n\t\t\t\t: remainRequestIndex < 0\n\t\t\t\t? request.slice(-remainRequestIndex - 1)\n\t\t\t\t: request.slice(remainRequestIndex);\n\n\t\treturn directMapping(\n\t\t\tremainingRequest,\n\t\t\tremainRequestIndex < 0,\n\t\t\tdirect,\n\t\t\tconditionNames,\n\t\t\tassertTarget\n\t\t);\n\t};\n}\n\n/**\n * @param {string} request request\n * @returns {string} updated request\n */\nfunction assertExportsFieldRequest(request) {\n\tif (request.charCodeAt(0) !== dotCode) {\n\t\tthrow new Error('Request should be relative path and start with \".\"');\n\t}\n\tif (request.length === 1) return \"\";\n\tif (request.charCodeAt(1) !== slashCode) {\n\t\tthrow new Error('Request should be relative path and start with \"./\"');\n\t}\n\tif (request.charCodeAt(request.length - 1) === slashCode) {\n\t\tthrow new Error(\"Only requesting file allowed\");\n\t}\n\n\treturn request.slice(2);\n}\n\n/**\n * @param {string} request request\n * @returns {string} updated request\n */\nfunction assertImportsFieldRequest(request) {\n\tif (request.charCodeAt(0) !== hashCode) {\n\t\tthrow new Error('Request should start with \"#\"');\n\t}\n\tif (request.length === 1) {\n\t\tthrow new Error(\"Request should have at least 2 characters\");\n\t}\n\tif (request.charCodeAt(1) === slashCode) {\n\t\tthrow new Error('Request should not start with \"#/\"');\n\t}\n\tif (request.charCodeAt(request.length - 1) === slashCode) {\n\t\tthrow new Error(\"Only requesting file allowed\");\n\t}\n\n\treturn request.slice(1);\n}\n\n/**\n * @param {string} exp export target\n * @param {boolean} expectFolder is folder expected\n */\nfunction assertExportTarget(exp, expectFolder) {\n\tif (\n\t\texp.charCodeAt(0) === slashCode ||\n\t\t(exp.charCodeAt(0) === dotCode && exp.charCodeAt(1) !== slashCode)\n\t) {\n\t\tthrow new Error(\n\t\t\t`Export should be relative path and start with \"./\", got ${JSON.stringify(\n\t\t\t\texp\n\t\t\t)}.`\n\t\t);\n\t}\n\n\tconst isFolder = exp.charCodeAt(exp.length - 1) === slashCode;\n\n\tif (isFolder !== expectFolder) {\n\t\tthrow new Error(\n\t\t\texpectFolder\n\t\t\t\t? `Expecting folder to folder mapping. ${JSON.stringify(\n\t\t\t\t\t\texp\n\t\t\t\t )} should end with \"/\"`\n\t\t\t\t: `Expecting file to file mapping. ${JSON.stringify(\n\t\t\t\t\t\texp\n\t\t\t\t )} should not end with \"/\"`\n\t\t);\n\t}\n}\n\n/**\n * @param {string} imp import target\n * @param {boolean} expectFolder is folder expected\n */\nfunction assertImportTarget(imp, expectFolder) {\n\tconst isFolder = imp.charCodeAt(imp.length - 1) === slashCode;\n\n\tif (isFolder !== expectFolder) {\n\t\tthrow new Error(\n\t\t\texpectFolder\n\t\t\t\t? `Expecting folder to folder mapping. ${JSON.stringify(\n\t\t\t\t\t\timp\n\t\t\t\t )} should end with \"/\"`\n\t\t\t\t: `Expecting file to file mapping. ${JSON.stringify(\n\t\t\t\t\t\timp\n\t\t\t\t )} should not end with \"/\"`\n\t\t);\n\t}\n}\n\n/**\n * Trying to match request to field\n * @param {string} request request\n * @param {PathTreeNode} treeRoot path tree root\n * @returns {[MappingValue, number]|null} match or null, number is negative and one less when it's a folder mapping, number is request.length + 1 for direct mappings\n */\nfunction findMatch(request, treeRoot) {\n\tif (request.length === 0) {\n\t\tconst value = treeRoot.files.get(\"\");\n\n\t\treturn value ? [value, 1] : null;\n\t}\n\n\tif (\n\t\ttreeRoot.children === null &&\n\t\ttreeRoot.folder === null &&\n\t\ttreeRoot.wildcards === null\n\t) {\n\t\tconst value = treeRoot.files.get(request);\n\n\t\treturn value ? [value, request.length + 1] : null;\n\t}\n\n\tlet node = treeRoot;\n\tlet lastNonSlashIndex = 0;\n\tlet slashIndex = request.indexOf(\"/\", 0);\n\n\t/** @type {[MappingValue, number]|null} */\n\tlet lastFolderMatch = null;\n\n\tconst applyFolderMapping = () => {\n\t\tconst folderMapping = node.folder;\n\t\tif (folderMapping) {\n\t\t\tif (lastFolderMatch) {\n\t\t\t\tlastFolderMatch[0] = folderMapping;\n\t\t\t\tlastFolderMatch[1] = -lastNonSlashIndex - 1;\n\t\t\t} else {\n\t\t\t\tlastFolderMatch = [folderMapping, -lastNonSlashIndex - 1];\n\t\t\t}\n\t\t}\n\t};\n\n\tconst applyWildcardMappings = (wildcardMappings, remainingRequest) => {\n\t\tif (wildcardMappings) {\n\t\t\tfor (const [key, target] of wildcardMappings) {\n\t\t\t\tif (remainingRequest.startsWith(key)) {\n\t\t\t\t\tif (!lastFolderMatch) {\n\t\t\t\t\t\tlastFolderMatch = [target, lastNonSlashIndex + key.length];\n\t\t\t\t\t} else if (lastFolderMatch[1] < lastNonSlashIndex + key.length) {\n\t\t\t\t\t\tlastFolderMatch[0] = target;\n\t\t\t\t\t\tlastFolderMatch[1] = lastNonSlashIndex + key.length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\twhile (slashIndex !== -1) {\n\t\tapplyFolderMapping();\n\n\t\tconst wildcardMappings = node.wildcards;\n\n\t\tif (!wildcardMappings && node.children === null) return lastFolderMatch;\n\n\t\tconst folder = request.slice(lastNonSlashIndex, slashIndex);\n\n\t\tapplyWildcardMappings(wildcardMappings, folder);\n\n\t\tif (node.children === null) return lastFolderMatch;\n\n\t\tconst newNode = node.children.get(folder);\n\n\t\tif (!newNode) {\n\t\t\treturn lastFolderMatch;\n\t\t}\n\n\t\tnode = newNode;\n\t\tlastNonSlashIndex = slashIndex + 1;\n\t\tslashIndex = request.indexOf(\"/\", lastNonSlashIndex);\n\t}\n\n\tconst remainingRequest =\n\t\tlastNonSlashIndex > 0 ? request.slice(lastNonSlashIndex) : request;\n\n\tconst value = node.files.get(remainingRequest);\n\n\tif (value) {\n\t\treturn [value, request.length + 1];\n\t}\n\n\tapplyFolderMapping();\n\n\tapplyWildcardMappings(node.wildcards, remainingRequest);\n\n\treturn lastFolderMatch;\n}\n\n/**\n * @param {ConditionalMapping|DirectMapping|null} mapping mapping\n * @returns {boolean} is conditional mapping\n */\nfunction isConditionalMapping(mapping) {\n\treturn (\n\t\tmapping !== null && typeof mapping === \"object\" && !Array.isArray(mapping)\n\t);\n}\n\n/**\n * @param {string|undefined} remainingRequest remaining request when folder mapping, undefined for file mappings\n * @param {boolean} subpathMapping true, for subpath mappings\n * @param {DirectMapping|null} mappingTarget direct export\n * @param {Set<string>} conditionNames condition names\n * @param {(d: string, f: boolean) => void} assert asserting direct value\n * @returns {string[]} mapping result\n */\nfunction directMapping(\n\tremainingRequest,\n\tsubpathMapping,\n\tmappingTarget,\n\tconditionNames,\n\tassert\n) {\n\tif (mappingTarget === null) return [];\n\n\tif (typeof mappingTarget === \"string\") {\n\t\treturn [\n\t\t\ttargetMapping(remainingRequest, subpathMapping, mappingTarget, assert)\n\t\t];\n\t}\n\n\tconst targets = [];\n\n\tfor (const exp of mappingTarget) {\n\t\tif (typeof exp === \"string\") {\n\t\t\ttargets.push(\n\t\t\t\ttargetMapping(remainingRequest, subpathMapping, exp, assert)\n\t\t\t);\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst mapping = conditionalMapping(exp, conditionNames);\n\t\tif (!mapping) continue;\n\t\tconst innerExports = directMapping(\n\t\t\tremainingRequest,\n\t\t\tsubpathMapping,\n\t\t\tmapping,\n\t\t\tconditionNames,\n\t\t\tassert\n\t\t);\n\t\tfor (const innerExport of innerExports) {\n\t\t\ttargets.push(innerExport);\n\t\t}\n\t}\n\n\treturn targets;\n}\n\n/**\n * @param {string|undefined} remainingRequest remaining request when folder mapping, undefined for file mappings\n * @param {boolean} subpathMapping true, for subpath mappings\n * @param {string} mappingTarget direct export\n * @param {(d: string, f: boolean) => void} assert asserting direct value\n * @returns {string} mapping result\n */\nfunction targetMapping(\n\tremainingRequest,\n\tsubpathMapping,\n\tmappingTarget,\n\tassert\n) {\n\tif (remainingRequest === undefined) {\n\t\tassert(mappingTarget, false);\n\t\treturn mappingTarget;\n\t}\n\tif (subpathMapping) {\n\t\tassert(mappingTarget, true);\n\t\treturn mappingTarget + remainingRequest;\n\t}\n\tassert(mappingTarget, false);\n\treturn mappingTarget.replace(/\\*/g, remainingRequest.replace(/\\$/g, \"$$\"));\n}\n\n/**\n * @param {ConditionalMapping} conditionalMapping_ conditional mapping\n * @param {Set<string>} conditionNames condition names\n * @returns {DirectMapping|null} direct mapping if found\n */\nfunction conditionalMapping(conditionalMapping_, conditionNames) {\n\t/** @type {[ConditionalMapping, string[], number][]} */\n\tlet lookup = [[conditionalMapping_, Object.keys(conditionalMapping_), 0]];\n\n\tloop: while (lookup.length > 0) {\n\t\tconst [mapping, conditions, j] = lookup[lookup.length - 1];\n\t\tconst last = conditions.length - 1;\n\n\t\tfor (let i = j; i < conditions.length; i++) {\n\t\t\tconst condition = conditions[i];\n\n\t\t\t// assert default. Could be last only\n\t\t\tif (i !== last) {\n\t\t\t\tif (condition === \"default\") {\n\t\t\t\t\tthrow new Error(\"Default condition should be last one\");\n\t\t\t\t}\n\t\t\t} else if (condition === \"default\") {\n\t\t\t\tconst innerMapping = mapping[condition];\n\t\t\t\t// is nested\n\t\t\t\tif (isConditionalMapping(innerMapping)) {\n\t\t\t\t\tconst conditionalMapping = /** @type {ConditionalMapping} */ (innerMapping);\n\t\t\t\t\tlookup[lookup.length - 1][2] = i + 1;\n\t\t\t\t\tlookup.push([conditionalMapping, Object.keys(conditionalMapping), 0]);\n\t\t\t\t\tcontinue loop;\n\t\t\t\t}\n\n\t\t\t\treturn /** @type {DirectMapping} */ (innerMapping);\n\t\t\t}\n\n\t\t\tif (conditionNames.has(condition)) {\n\t\t\t\tconst innerMapping = mapping[condition];\n\t\t\t\t// is nested\n\t\t\t\tif (isConditionalMapping(innerMapping)) {\n\t\t\t\t\tconst conditionalMapping = /** @type {ConditionalMapping} */ (innerMapping);\n\t\t\t\t\tlookup[lookup.length - 1][2] = i + 1;\n\t\t\t\t\tlookup.push([conditionalMapping, Object.keys(conditionalMapping), 0]);\n\t\t\t\t\tcontinue loop;\n\t\t\t\t}\n\n\t\t\t\treturn /** @type {DirectMapping} */ (innerMapping);\n\t\t\t}\n\t\t}\n\n\t\tlookup.pop();\n\t}\n\n\treturn null;\n}\n\n/**\n * Internal helper to create path tree node\n * to ensure that each node gets the same hidden class\n * @returns {PathTreeNode} node\n */\nfunction createNode() {\n\treturn {\n\t\tchildren: null,\n\t\tfolder: null,\n\t\twildcards: null,\n\t\tfiles: new Map()\n\t};\n}\n\n/**\n * Internal helper for building path tree\n * @param {PathTreeNode} root root\n * @param {string} path path\n * @param {MappingValue} target target\n */\nfunction walkPath(root, path, target) {\n\tif (path.length === 0) {\n\t\troot.folder = target;\n\t\treturn;\n\t}\n\n\tlet node = root;\n\t// Typical path tree can looks like\n\t// root\n\t// - files: [\"a.js\", \"b.js\"]\n\t// - children:\n\t// node1:\n\t// - files: [\"a.js\", \"b.js\"]\n\tlet lastNonSlashIndex = 0;\n\tlet slashIndex = path.indexOf(\"/\", 0);\n\n\twhile (slashIndex !== -1) {\n\t\tconst folder = path.slice(lastNonSlashIndex, slashIndex);\n\t\tlet newNode;\n\n\t\tif (node.children === null) {\n\t\t\tnewNode = createNode();\n\t\t\tnode.children = new Map();\n\t\t\tnode.children.set(folder, newNode);\n\t\t} else {\n\t\t\tnewNode = node.children.get(folder);\n\n\t\t\tif (!newNode) {\n\t\t\t\tnewNode = createNode();\n\t\t\t\tnode.children.set(folder, newNode);\n\t\t\t}\n\t\t}\n\n\t\tnode = newNode;\n\t\tlastNonSlashIndex = slashIndex + 1;\n\t\tslashIndex = path.indexOf(\"/\", lastNonSlashIndex);\n\t}\n\n\tif (lastNonSlashIndex >= path.length) {\n\t\tnode.folder = target;\n\t} else {\n\t\tconst file = lastNonSlashIndex > 0 ? path.slice(lastNonSlashIndex) : path;\n\t\tif (file.endsWith(\"*\")) {\n\t\t\tif (node.wildcards === null) node.wildcards = new Map();\n\t\t\tnode.wildcards.set(file.slice(0, -1), target);\n\t\t} else {\n\t\t\tnode.files.set(file, target);\n\t\t}\n\t}\n}\n\n/**\n * @param {ExportsField} field exports field\n * @returns {PathTreeNode} tree root\n */\nfunction buildExportsFieldPathTree(field) {\n\tconst root = createNode();\n\n\t// handle syntax sugar, if exports field is direct mapping for \".\"\n\tif (typeof field === \"string\") {\n\t\troot.files.set(\"\", field);\n\n\t\treturn root;\n\t} else if (Array.isArray(field)) {\n\t\troot.files.set(\"\", field.slice());\n\n\t\treturn root;\n\t}\n\n\tconst keys = Object.keys(field);\n\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tconst key = keys[i];\n\n\t\tif (key.charCodeAt(0) !== dotCode) {\n\t\t\t// handle syntax sugar, if exports field is conditional mapping for \".\"\n\t\t\tif (i === 0) {\n\t\t\t\twhile (i < keys.length) {\n\t\t\t\t\tconst charCode = keys[i].charCodeAt(0);\n\t\t\t\t\tif (charCode === dotCode || charCode === slashCode) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Exports field key should be relative path and start with \".\" (key: ${JSON.stringify(\n\t\t\t\t\t\t\t\tkey\n\t\t\t\t\t\t\t)})`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\ti++;\n\t\t\t\t}\n\n\t\t\t\troot.files.set(\"\", field);\n\t\t\t\treturn root;\n\t\t\t}\n\n\t\t\tthrow new Error(\n\t\t\t\t`Exports field key should be relative path and start with \".\" (key: ${JSON.stringify(\n\t\t\t\t\tkey\n\t\t\t\t)})`\n\t\t\t);\n\t\t}\n\n\t\tif (key.length === 1) {\n\t\t\troot.files.set(\"\", field[key]);\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key.charCodeAt(1) !== slashCode) {\n\t\t\tthrow new Error(\n\t\t\t\t`Exports field key should be relative path and start with \"./\" (key: ${JSON.stringify(\n\t\t\t\t\tkey\n\t\t\t\t)})`\n\t\t\t);\n\t\t}\n\n\t\twalkPath(root, key.slice(2), field[key]);\n\t}\n\n\treturn root;\n}\n\n/**\n * @param {ImportsField} field imports field\n * @returns {PathTreeNode} root\n */\nfunction buildImportsFieldPathTree(field) {\n\tconst root = createNode();\n\n\tconst keys = Object.keys(field);\n\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tconst key = keys[i];\n\n\t\tif (key.charCodeAt(0) !== hashCode) {\n\t\t\tthrow new Error(\n\t\t\t\t`Imports field key should start with \"#\" (key: ${JSON.stringify(key)})`\n\t\t\t);\n\t\t}\n\n\t\tif (key.length === 1) {\n\t\t\tthrow new Error(\n\t\t\t\t`Imports field key should have at least 2 characters (key: ${JSON.stringify(\n\t\t\t\t\tkey\n\t\t\t\t)})`\n\t\t\t);\n\t\t}\n\n\t\tif (key.charCodeAt(1) === slashCode) {\n\t\t\tthrow new Error(\n\t\t\t\t`Imports field key should not start with \"#/\" (key: ${JSON.stringify(\n\t\t\t\t\tkey\n\t\t\t\t)})`\n\t\t\t);\n\t\t}\n\n\t\twalkPath(root, key.slice(1), field[key]);\n\t}\n\n\treturn root;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/util/entrypoints.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/util/identifier.js": /*!**************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/util/identifier.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst PATH_QUERY_FRAGMENT_REGEXP = /^(#?(?:\\0.|[^?#\\0])*)(\\?(?:\\0.|[^#\\0])*)?(#.*)?$/;\n\n/**\n * @param {string} identifier identifier\n * @returns {[string, string, string]|null} parsed identifier\n */\nfunction parseIdentifier(identifier) {\n\tconst match = PATH_QUERY_FRAGMENT_REGEXP.exec(identifier);\n\n\tif (!match) return null;\n\n\treturn [\n\t\tmatch[1].replace(/\\0(.)/g, \"$1\"),\n\t\tmatch[2] ? match[2].replace(/\\0(.)/g, \"$1\") : \"\",\n\t\tmatch[3] || \"\"\n\t];\n}\n\nmodule.exports.parseIdentifier = parseIdentifier;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/util/identifier.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/util/path.js": /*!********************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/util/path.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?4f38\");\n\nconst CHAR_HASH = \"#\".charCodeAt(0);\nconst CHAR_SLASH = \"/\".charCodeAt(0);\nconst CHAR_BACKSLASH = \"\\\\\".charCodeAt(0);\nconst CHAR_A = \"A\".charCodeAt(0);\nconst CHAR_Z = \"Z\".charCodeAt(0);\nconst CHAR_LOWER_A = \"a\".charCodeAt(0);\nconst CHAR_LOWER_Z = \"z\".charCodeAt(0);\nconst CHAR_DOT = \".\".charCodeAt(0);\nconst CHAR_COLON = \":\".charCodeAt(0);\n\nconst posixNormalize = path.posix.normalize;\nconst winNormalize = path.win32.normalize;\n\n/**\n * @enum {number}\n */\nconst PathType = Object.freeze({\n\tEmpty: 0,\n\tNormal: 1,\n\tRelative: 2,\n\tAbsoluteWin: 3,\n\tAbsolutePosix: 4,\n\tInternal: 5\n});\nexports.PathType = PathType;\n\n/**\n * @param {string} p a path\n * @returns {PathType} type of path\n */\nconst getType = p => {\n\tswitch (p.length) {\n\t\tcase 0:\n\t\t\treturn PathType.Empty;\n\t\tcase 1: {\n\t\t\tconst c0 = p.charCodeAt(0);\n\t\t\tswitch (c0) {\n\t\t\t\tcase CHAR_DOT:\n\t\t\t\t\treturn PathType.Relative;\n\t\t\t\tcase CHAR_SLASH:\n\t\t\t\t\treturn PathType.AbsolutePosix;\n\t\t\t\tcase CHAR_HASH:\n\t\t\t\t\treturn PathType.Internal;\n\t\t\t}\n\t\t\treturn PathType.Normal;\n\t\t}\n\t\tcase 2: {\n\t\t\tconst c0 = p.charCodeAt(0);\n\t\t\tswitch (c0) {\n\t\t\t\tcase CHAR_DOT: {\n\t\t\t\t\tconst c1 = p.charCodeAt(1);\n\t\t\t\t\tswitch (c1) {\n\t\t\t\t\t\tcase CHAR_DOT:\n\t\t\t\t\t\tcase CHAR_SLASH:\n\t\t\t\t\t\t\treturn PathType.Relative;\n\t\t\t\t\t}\n\t\t\t\t\treturn PathType.Normal;\n\t\t\t\t}\n\t\t\t\tcase CHAR_SLASH:\n\t\t\t\t\treturn PathType.AbsolutePosix;\n\t\t\t\tcase CHAR_HASH:\n\t\t\t\t\treturn PathType.Internal;\n\t\t\t}\n\t\t\tconst c1 = p.charCodeAt(1);\n\t\t\tif (c1 === CHAR_COLON) {\n\t\t\t\tif (\n\t\t\t\t\t(c0 >= CHAR_A && c0 <= CHAR_Z) ||\n\t\t\t\t\t(c0 >= CHAR_LOWER_A && c0 <= CHAR_LOWER_Z)\n\t\t\t\t) {\n\t\t\t\t\treturn PathType.AbsoluteWin;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn PathType.Normal;\n\t\t}\n\t}\n\tconst c0 = p.charCodeAt(0);\n\tswitch (c0) {\n\t\tcase CHAR_DOT: {\n\t\t\tconst c1 = p.charCodeAt(1);\n\t\t\tswitch (c1) {\n\t\t\t\tcase CHAR_SLASH:\n\t\t\t\t\treturn PathType.Relative;\n\t\t\t\tcase CHAR_DOT: {\n\t\t\t\t\tconst c2 = p.charCodeAt(2);\n\t\t\t\t\tif (c2 === CHAR_SLASH) return PathType.Relative;\n\t\t\t\t\treturn PathType.Normal;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn PathType.Normal;\n\t\t}\n\t\tcase CHAR_SLASH:\n\t\t\treturn PathType.AbsolutePosix;\n\t\tcase CHAR_HASH:\n\t\t\treturn PathType.Internal;\n\t}\n\tconst c1 = p.charCodeAt(1);\n\tif (c1 === CHAR_COLON) {\n\t\tconst c2 = p.charCodeAt(2);\n\t\tif (\n\t\t\t(c2 === CHAR_BACKSLASH || c2 === CHAR_SLASH) &&\n\t\t\t((c0 >= CHAR_A && c0 <= CHAR_Z) ||\n\t\t\t\t(c0 >= CHAR_LOWER_A && c0 <= CHAR_LOWER_Z))\n\t\t) {\n\t\t\treturn PathType.AbsoluteWin;\n\t\t}\n\t}\n\treturn PathType.Normal;\n};\nexports.getType = getType;\n\n/**\n * @param {string} p a path\n * @returns {string} the normalized path\n */\nconst normalize = p => {\n\tswitch (getType(p)) {\n\t\tcase PathType.Empty:\n\t\t\treturn p;\n\t\tcase PathType.AbsoluteWin:\n\t\t\treturn winNormalize(p);\n\t\tcase PathType.Relative: {\n\t\t\tconst r = posixNormalize(p);\n\t\t\treturn getType(r) === PathType.Relative ? r : `./${r}`;\n\t\t}\n\t}\n\treturn posixNormalize(p);\n};\nexports.normalize = normalize;\n\n/**\n * @param {string} rootPath the root path\n * @param {string | undefined} request the request path\n * @returns {string} the joined path\n */\nconst join = (rootPath, request) => {\n\tif (!request) return normalize(rootPath);\n\tconst requestType = getType(request);\n\tswitch (requestType) {\n\t\tcase PathType.AbsolutePosix:\n\t\t\treturn posixNormalize(request);\n\t\tcase PathType.AbsoluteWin:\n\t\t\treturn winNormalize(request);\n\t}\n\tswitch (getType(rootPath)) {\n\t\tcase PathType.Normal:\n\t\tcase PathType.Relative:\n\t\tcase PathType.AbsolutePosix:\n\t\t\treturn posixNormalize(`${rootPath}/${request}`);\n\t\tcase PathType.AbsoluteWin:\n\t\t\treturn winNormalize(`${rootPath}\\\\${request}`);\n\t}\n\tswitch (requestType) {\n\t\tcase PathType.Empty:\n\t\t\treturn rootPath;\n\t\tcase PathType.Relative: {\n\t\t\tconst r = posixNormalize(rootPath);\n\t\t\treturn getType(r) === PathType.Relative ? r : `./${r}`;\n\t\t}\n\t}\n\treturn posixNormalize(rootPath);\n};\nexports.join = join;\n\nconst joinCache = new Map();\n\n/**\n * @param {string} rootPath the root path\n * @param {string | undefined} request the request path\n * @returns {string} the joined path\n */\nconst cachedJoin = (rootPath, request) => {\n\tlet cacheEntry;\n\tlet cache = joinCache.get(rootPath);\n\tif (cache === undefined) {\n\t\tjoinCache.set(rootPath, (cache = new Map()));\n\t} else {\n\t\tcacheEntry = cache.get(request);\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t}\n\tcacheEntry = join(rootPath, request);\n\tcache.set(request, cacheEntry);\n\treturn cacheEntry;\n};\nexports.cachedJoin = cachedJoin;\n\nconst checkImportsExportsFieldTarget = relativePath => {\n\tlet lastNonSlashIndex = 0;\n\tlet slashIndex = relativePath.indexOf(\"/\", 1);\n\tlet cd = 0;\n\n\twhile (slashIndex !== -1) {\n\t\tconst folder = relativePath.slice(lastNonSlashIndex, slashIndex);\n\n\t\tswitch (folder) {\n\t\t\tcase \"..\": {\n\t\t\t\tcd--;\n\t\t\t\tif (cd < 0)\n\t\t\t\t\treturn new Error(\n\t\t\t\t\t\t`Trying to access out of package scope. Requesting ${relativePath}`\n\t\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \".\":\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tcd++;\n\t\t\t\tbreak;\n\t\t}\n\n\t\tlastNonSlashIndex = slashIndex + 1;\n\t\tslashIndex = relativePath.indexOf(\"/\", lastNonSlashIndex);\n\t}\n};\nexports.checkImportsExportsFieldTarget = checkImportsExportsFieldTarget;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/util/path.js?"); /***/ }), /***/ "./node_modules/enhanced-resolve/lib/util/process-browser.js": /*!*******************************************************************!*\ !*** ./node_modules/enhanced-resolve/lib/util/process-browser.js ***! \*******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = {\n\tversions: {},\n\tnextTick(fn) {\n\t\tconst args = Array.prototype.slice.call(arguments, 1);\n\t\tPromise.resolve().then(function () {\n\t\t\tfn.apply(null, args);\n\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/enhanced-resolve/lib/util/process-browser.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/definition.js": /*!*****************************************************!*\ !*** ./node_modules/eslint-scope/lib/definition.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\nconst Variable = __webpack_require__(/*! ./variable */ \"./node_modules/eslint-scope/lib/variable.js\");\n\n/**\n * @class Definition\n */\nclass Definition {\n constructor(type, name, node, parent, index, kind) {\n\n /**\n * @member {String} Definition#type - type of the occurrence (e.g. \"Parameter\", \"Variable\", ...).\n */\n this.type = type;\n\n /**\n * @member {espree.Identifier} Definition#name - the identifier AST node of the occurrence.\n */\n this.name = name;\n\n /**\n * @member {espree.Node} Definition#node - the enclosing node of the identifier.\n */\n this.node = node;\n\n /**\n * @member {espree.Node?} Definition#parent - the enclosing statement node of the identifier.\n */\n this.parent = parent;\n\n /**\n * @member {Number?} Definition#index - the index in the declaration statement.\n */\n this.index = index;\n\n /**\n * @member {String?} Definition#kind - the kind of the declaration statement.\n */\n this.kind = kind;\n }\n}\n\n/**\n * @class ParameterDefinition\n */\nclass ParameterDefinition extends Definition {\n constructor(name, node, index, rest) {\n super(Variable.Parameter, name, node, null, index, null);\n\n /**\n * Whether the parameter definition is a part of a rest parameter.\n * @member {boolean} ParameterDefinition#rest\n */\n this.rest = rest;\n }\n}\n\nmodule.exports = {\n ParameterDefinition,\n Definition\n};\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/definition.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/index.js": /*!************************************************!*\ !*** ./node_modules/eslint-scope/lib/index.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>\n Copyright (C) 2013 Alex Seville <hi@alexanderseville.com>\n Copyright (C) 2014 Thiago de Arruda <tpadilha84@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/**\n * Escope (<a href=\"http://github.com/estools/escope\">escope</a>) is an <a\n * href=\"http://www.ecma-international.org/publications/standards/Ecma-262.htm\">ECMAScript</a>\n * scope analyzer extracted from the <a\n * href=\"http://github.com/estools/esmangle\">esmangle project</a/>.\n * <p>\n * <em>escope</em> finds lexical scopes in a source program, i.e. areas of that\n * program where different occurrences of the same identifier refer to the same\n * variable. With each scope the contained variables are collected, and each\n * identifier reference in code is linked to its corresponding variable (if\n * possible).\n * <p>\n * <em>escope</em> works on a syntax tree of the parsed source code which has\n * to adhere to the <a\n * href=\"https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API\">\n * Mozilla Parser API</a>. E.g. <a href=\"https://github.com/eslint/espree\">espree</a> is a parser\n * that produces such syntax trees.\n * <p>\n * The main interface is the {@link analyze} function.\n * @module escope\n */\n\n\n/* eslint no-underscore-dangle: [\"error\", { \"allow\": [\"__currentScope\"] }] */\n\nconst assert = __webpack_require__(/*! assert */ \"?ff26\");\n\nconst ScopeManager = __webpack_require__(/*! ./scope-manager */ \"./node_modules/eslint-scope/lib/scope-manager.js\");\nconst Referencer = __webpack_require__(/*! ./referencer */ \"./node_modules/eslint-scope/lib/referencer.js\");\nconst Reference = __webpack_require__(/*! ./reference */ \"./node_modules/eslint-scope/lib/reference.js\");\nconst Variable = __webpack_require__(/*! ./variable */ \"./node_modules/eslint-scope/lib/variable.js\");\nconst Scope = (__webpack_require__(/*! ./scope */ \"./node_modules/eslint-scope/lib/scope.js\").Scope);\nconst version = (__webpack_require__(/*! ../package.json */ \"./node_modules/eslint-scope/package.json\").version);\n\n/**\n * Set the default options\n * @returns {Object} options\n */\nfunction defaultOptions() {\n return {\n optimistic: false,\n directive: false,\n nodejsScope: false,\n impliedStrict: false,\n sourceType: \"script\", // one of ['script', 'module']\n ecmaVersion: 5,\n childVisitorKeys: null,\n fallback: \"iteration\"\n };\n}\n\n/**\n * Preform deep update on option object\n * @param {Object} target - Options\n * @param {Object} override - Updates\n * @returns {Object} Updated options\n */\nfunction updateDeeply(target, override) {\n\n /**\n * Is hash object\n * @param {Object} value - Test value\n * @returns {boolean} Result\n */\n function isHashObject(value) {\n return typeof value === \"object\" && value instanceof Object && !(value instanceof Array) && !(value instanceof RegExp);\n }\n\n for (const key in override) {\n if (Object.prototype.hasOwnProperty.call(override, key)) {\n const val = override[key];\n\n if (isHashObject(val)) {\n if (isHashObject(target[key])) {\n updateDeeply(target[key], val);\n } else {\n target[key] = updateDeeply({}, val);\n }\n } else {\n target[key] = val;\n }\n }\n }\n return target;\n}\n\n/**\n * Main interface function. Takes an Espree syntax tree and returns the\n * analyzed scopes.\n * @function analyze\n * @param {espree.Tree} tree - Abstract Syntax Tree\n * @param {Object} providedOptions - Options that tailor the scope analysis\n * @param {boolean} [providedOptions.optimistic=false] - the optimistic flag\n * @param {boolean} [providedOptions.directive=false]- the directive flag\n * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls\n * @param {boolean} [providedOptions.nodejsScope=false]- whether the whole\n * script is executed under node.js environment. When enabled, escope adds\n * a function scope immediately following the global scope.\n * @param {boolean} [providedOptions.impliedStrict=false]- implied strict mode\n * (if ecmaVersion >= 5).\n * @param {string} [providedOptions.sourceType='script']- the source type of the script. one of 'script' and 'module'\n * @param {number} [providedOptions.ecmaVersion=5]- which ECMAScript version is considered\n * @param {Object} [providedOptions.childVisitorKeys=null] - Additional known visitor keys. See [esrecurse](https://github.com/estools/esrecurse)'s the `childVisitorKeys` option.\n * @param {string} [providedOptions.fallback='iteration'] - A kind of the fallback in order to encounter with unknown node. See [esrecurse](https://github.com/estools/esrecurse)'s the `fallback` option.\n * @returns {ScopeManager} ScopeManager\n */\nfunction analyze(tree, providedOptions) {\n const options = updateDeeply(defaultOptions(), providedOptions);\n const scopeManager = new ScopeManager(options);\n const referencer = new Referencer(options, scopeManager);\n\n referencer.visit(tree);\n\n assert(scopeManager.__currentScope === null, \"currentScope should be null.\");\n\n return scopeManager;\n}\n\nmodule.exports = {\n\n /** @name module:escope.version */\n version,\n\n /** @name module:escope.Reference */\n Reference,\n\n /** @name module:escope.Variable */\n Variable,\n\n /** @name module:escope.Scope */\n Scope,\n\n /** @name module:escope.ScopeManager */\n ScopeManager,\n analyze\n};\n\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/index.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/pattern-visitor.js": /*!**********************************************************!*\ !*** ./node_modules/eslint-scope/lib/pattern-visitor.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n/* eslint-disable no-undefined */\n\nconst Syntax = (__webpack_require__(/*! estraverse */ \"./node_modules/estraverse/estraverse.js\").Syntax);\nconst esrecurse = __webpack_require__(/*! esrecurse */ \"./node_modules/esrecurse/esrecurse.js\");\n\n/**\n * Get last array element\n * @param {array} xs - array\n * @returns {any} Last elment\n */\nfunction getLast(xs) {\n return xs[xs.length - 1] || null;\n}\n\nclass PatternVisitor extends esrecurse.Visitor {\n static isPattern(node) {\n const nodeType = node.type;\n\n return (\n nodeType === Syntax.Identifier ||\n nodeType === Syntax.ObjectPattern ||\n nodeType === Syntax.ArrayPattern ||\n nodeType === Syntax.SpreadElement ||\n nodeType === Syntax.RestElement ||\n nodeType === Syntax.AssignmentPattern\n );\n }\n\n constructor(options, rootPattern, callback) {\n super(null, options);\n this.rootPattern = rootPattern;\n this.callback = callback;\n this.assignments = [];\n this.rightHandNodes = [];\n this.restElements = [];\n }\n\n Identifier(pattern) {\n const lastRestElement = getLast(this.restElements);\n\n this.callback(pattern, {\n topLevel: pattern === this.rootPattern,\n rest: lastRestElement !== null && lastRestElement !== undefined && lastRestElement.argument === pattern,\n assignments: this.assignments\n });\n }\n\n Property(property) {\n\n // Computed property's key is a right hand node.\n if (property.computed) {\n this.rightHandNodes.push(property.key);\n }\n\n // If it's shorthand, its key is same as its value.\n // If it's shorthand and has its default value, its key is same as its value.left (the value is AssignmentPattern).\n // If it's not shorthand, the name of new variable is its value's.\n this.visit(property.value);\n }\n\n ArrayPattern(pattern) {\n for (let i = 0, iz = pattern.elements.length; i < iz; ++i) {\n const element = pattern.elements[i];\n\n this.visit(element);\n }\n }\n\n AssignmentPattern(pattern) {\n this.assignments.push(pattern);\n this.visit(pattern.left);\n this.rightHandNodes.push(pattern.right);\n this.assignments.pop();\n }\n\n RestElement(pattern) {\n this.restElements.push(pattern);\n this.visit(pattern.argument);\n this.restElements.pop();\n }\n\n MemberExpression(node) {\n\n // Computed property's key is a right hand node.\n if (node.computed) {\n this.rightHandNodes.push(node.property);\n }\n\n // the object is only read, write to its property.\n this.rightHandNodes.push(node.object);\n }\n\n //\n // ForInStatement.left and AssignmentExpression.left are LeftHandSideExpression.\n // By spec, LeftHandSideExpression is Pattern or MemberExpression.\n // (see also: https://github.com/estree/estree/pull/20#issuecomment-74584758)\n // But espree 2.0 parses to ArrayExpression, ObjectExpression, etc...\n //\n\n SpreadElement(node) {\n this.visit(node.argument);\n }\n\n ArrayExpression(node) {\n node.elements.forEach(this.visit, this);\n }\n\n AssignmentExpression(node) {\n this.assignments.push(node);\n this.visit(node.left);\n this.rightHandNodes.push(node.right);\n this.assignments.pop();\n }\n\n CallExpression(node) {\n\n // arguments are right hand nodes.\n node.arguments.forEach(a => {\n this.rightHandNodes.push(a);\n });\n this.visit(node.callee);\n }\n}\n\nmodule.exports = PatternVisitor;\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/pattern-visitor.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/reference.js": /*!****************************************************!*\ !*** ./node_modules/eslint-scope/lib/reference.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\nconst READ = 0x1;\nconst WRITE = 0x2;\nconst RW = READ | WRITE;\n\n/**\n * A Reference represents a single occurrence of an identifier in code.\n * @class Reference\n */\nclass Reference {\n constructor(ident, scope, flag, writeExpr, maybeImplicitGlobal, partial, init) {\n\n /**\n * Identifier syntax node.\n * @member {espreeIdentifier} Reference#identifier\n */\n this.identifier = ident;\n\n /**\n * Reference to the enclosing Scope.\n * @member {Scope} Reference#from\n */\n this.from = scope;\n\n /**\n * Whether the reference comes from a dynamic scope (such as 'eval',\n * 'with', etc.), and may be trapped by dynamic scopes.\n * @member {boolean} Reference#tainted\n */\n this.tainted = false;\n\n /**\n * The variable this reference is resolved with.\n * @member {Variable} Reference#resolved\n */\n this.resolved = null;\n\n /**\n * The read-write mode of the reference. (Value is one of {@link\n * Reference.READ}, {@link Reference.RW}, {@link Reference.WRITE}).\n * @member {number} Reference#flag\n * @private\n */\n this.flag = flag;\n if (this.isWrite()) {\n\n /**\n * If reference is writeable, this is the tree being written to it.\n * @member {espreeNode} Reference#writeExpr\n */\n this.writeExpr = writeExpr;\n\n /**\n * Whether the Reference might refer to a partial value of writeExpr.\n * @member {boolean} Reference#partial\n */\n this.partial = partial;\n\n /**\n * Whether the Reference is to write of initialization.\n * @member {boolean} Reference#init\n */\n this.init = init;\n }\n this.__maybeImplicitGlobal = maybeImplicitGlobal;\n }\n\n /**\n * Whether the reference is static.\n * @method Reference#isStatic\n * @returns {boolean} static\n */\n isStatic() {\n return !this.tainted && this.resolved && this.resolved.scope.isStatic();\n }\n\n /**\n * Whether the reference is writeable.\n * @method Reference#isWrite\n * @returns {boolean} write\n */\n isWrite() {\n return !!(this.flag & Reference.WRITE);\n }\n\n /**\n * Whether the reference is readable.\n * @method Reference#isRead\n * @returns {boolean} read\n */\n isRead() {\n return !!(this.flag & Reference.READ);\n }\n\n /**\n * Whether the reference is read-only.\n * @method Reference#isReadOnly\n * @returns {boolean} read only\n */\n isReadOnly() {\n return this.flag === Reference.READ;\n }\n\n /**\n * Whether the reference is write-only.\n * @method Reference#isWriteOnly\n * @returns {boolean} write only\n */\n isWriteOnly() {\n return this.flag === Reference.WRITE;\n }\n\n /**\n * Whether the reference is read-write.\n * @method Reference#isReadWrite\n * @returns {boolean} read write\n */\n isReadWrite() {\n return this.flag === Reference.RW;\n }\n}\n\n/**\n * @constant Reference.READ\n * @private\n */\nReference.READ = READ;\n\n/**\n * @constant Reference.WRITE\n * @private\n */\nReference.WRITE = WRITE;\n\n/**\n * @constant Reference.RW\n * @private\n */\nReference.RW = RW;\n\nmodule.exports = Reference;\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/reference.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/referencer.js": /*!*****************************************************!*\ !*** ./node_modules/eslint-scope/lib/referencer.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-undefined */\n\nconst Syntax = (__webpack_require__(/*! estraverse */ \"./node_modules/estraverse/estraverse.js\").Syntax);\nconst esrecurse = __webpack_require__(/*! esrecurse */ \"./node_modules/esrecurse/esrecurse.js\");\nconst Reference = __webpack_require__(/*! ./reference */ \"./node_modules/eslint-scope/lib/reference.js\");\nconst Variable = __webpack_require__(/*! ./variable */ \"./node_modules/eslint-scope/lib/variable.js\");\nconst PatternVisitor = __webpack_require__(/*! ./pattern-visitor */ \"./node_modules/eslint-scope/lib/pattern-visitor.js\");\nconst definition = __webpack_require__(/*! ./definition */ \"./node_modules/eslint-scope/lib/definition.js\");\nconst assert = __webpack_require__(/*! assert */ \"?ff26\");\n\nconst ParameterDefinition = definition.ParameterDefinition;\nconst Definition = definition.Definition;\n\n/**\n * Traverse identifier in pattern\n * @param {Object} options - options\n * @param {pattern} rootPattern - root pattern\n * @param {Refencer} referencer - referencer\n * @param {callback} callback - callback\n * @returns {void}\n */\nfunction traverseIdentifierInPattern(options, rootPattern, referencer, callback) {\n\n // Call the callback at left hand identifier nodes, and Collect right hand nodes.\n const visitor = new PatternVisitor(options, rootPattern, callback);\n\n visitor.visit(rootPattern);\n\n // Process the right hand nodes recursively.\n if (referencer !== null && referencer !== undefined) {\n visitor.rightHandNodes.forEach(referencer.visit, referencer);\n }\n}\n\n// Importing ImportDeclaration.\n// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-moduledeclarationinstantiation\n// https://github.com/estree/estree/blob/master/es6.md#importdeclaration\n// FIXME: Now, we don't create module environment, because the context is\n// implementation dependent.\n\nclass Importer extends esrecurse.Visitor {\n constructor(declaration, referencer) {\n super(null, referencer.options);\n this.declaration = declaration;\n this.referencer = referencer;\n }\n\n visitImport(id, specifier) {\n this.referencer.visitPattern(id, pattern => {\n this.referencer.currentScope().__define(pattern,\n new Definition(\n Variable.ImportBinding,\n pattern,\n specifier,\n this.declaration,\n null,\n null\n ));\n });\n }\n\n ImportNamespaceSpecifier(node) {\n const local = (node.local || node.id);\n\n if (local) {\n this.visitImport(local, node);\n }\n }\n\n ImportDefaultSpecifier(node) {\n const local = (node.local || node.id);\n\n this.visitImport(local, node);\n }\n\n ImportSpecifier(node) {\n const local = (node.local || node.id);\n\n if (node.name) {\n this.visitImport(node.name, node);\n } else {\n this.visitImport(local, node);\n }\n }\n}\n\n// Referencing variables and creating bindings.\nclass Referencer extends esrecurse.Visitor {\n constructor(options, scopeManager) {\n super(null, options);\n this.options = options;\n this.scopeManager = scopeManager;\n this.parent = null;\n this.isInnerMethodDefinition = false;\n }\n\n currentScope() {\n return this.scopeManager.__currentScope;\n }\n\n close(node) {\n while (this.currentScope() && node === this.currentScope().block) {\n this.scopeManager.__currentScope = this.currentScope().__close(this.scopeManager);\n }\n }\n\n pushInnerMethodDefinition(isInnerMethodDefinition) {\n const previous = this.isInnerMethodDefinition;\n\n this.isInnerMethodDefinition = isInnerMethodDefinition;\n return previous;\n }\n\n popInnerMethodDefinition(isInnerMethodDefinition) {\n this.isInnerMethodDefinition = isInnerMethodDefinition;\n }\n\n referencingDefaultValue(pattern, assignments, maybeImplicitGlobal, init) {\n const scope = this.currentScope();\n\n assignments.forEach(assignment => {\n scope.__referencing(\n pattern,\n Reference.WRITE,\n assignment.right,\n maybeImplicitGlobal,\n pattern !== assignment.left,\n init\n );\n });\n }\n\n visitPattern(node, options, callback) {\n let visitPatternOptions = options;\n let visitPatternCallback = callback;\n\n if (typeof options === \"function\") {\n visitPatternCallback = options;\n visitPatternOptions = { processRightHandNodes: false };\n }\n\n traverseIdentifierInPattern(\n this.options,\n node,\n visitPatternOptions.processRightHandNodes ? this : null,\n visitPatternCallback\n );\n }\n\n visitFunction(node) {\n let i, iz;\n\n // FunctionDeclaration name is defined in upper scope\n // NOTE: Not referring variableScope. It is intended.\n // Since\n // in ES5, FunctionDeclaration should be in FunctionBody.\n // in ES6, FunctionDeclaration should be block scoped.\n\n if (node.type === Syntax.FunctionDeclaration) {\n\n // id is defined in upper scope\n this.currentScope().__define(node.id,\n new Definition(\n Variable.FunctionName,\n node.id,\n node,\n null,\n null,\n null\n ));\n }\n\n // FunctionExpression with name creates its special scope;\n // FunctionExpressionNameScope.\n if (node.type === Syntax.FunctionExpression && node.id) {\n this.scopeManager.__nestFunctionExpressionNameScope(node);\n }\n\n // Consider this function is in the MethodDefinition.\n this.scopeManager.__nestFunctionScope(node, this.isInnerMethodDefinition);\n\n const that = this;\n\n /**\n * Visit pattern callback\n * @param {pattern} pattern - pattern\n * @param {Object} info - info\n * @returns {void}\n */\n function visitPatternCallback(pattern, info) {\n that.currentScope().__define(pattern,\n new ParameterDefinition(\n pattern,\n node,\n i,\n info.rest\n ));\n\n that.referencingDefaultValue(pattern, info.assignments, null, true);\n }\n\n // Process parameter declarations.\n for (i = 0, iz = node.params.length; i < iz; ++i) {\n this.visitPattern(node.params[i], { processRightHandNodes: true }, visitPatternCallback);\n }\n\n // if there's a rest argument, add that\n if (node.rest) {\n this.visitPattern({\n type: \"RestElement\",\n argument: node.rest\n }, pattern => {\n this.currentScope().__define(pattern,\n new ParameterDefinition(\n pattern,\n node,\n node.params.length,\n true\n ));\n });\n }\n\n // In TypeScript there are a number of function-like constructs which have no body,\n // so check it exists before traversing\n if (node.body) {\n\n // Skip BlockStatement to prevent creating BlockStatement scope.\n if (node.body.type === Syntax.BlockStatement) {\n this.visitChildren(node.body);\n } else {\n this.visit(node.body);\n }\n }\n\n this.close(node);\n }\n\n visitClass(node) {\n if (node.type === Syntax.ClassDeclaration) {\n this.currentScope().__define(node.id,\n new Definition(\n Variable.ClassName,\n node.id,\n node,\n null,\n null,\n null\n ));\n }\n\n this.visit(node.superClass);\n\n this.scopeManager.__nestClassScope(node);\n\n if (node.id) {\n this.currentScope().__define(node.id,\n new Definition(\n Variable.ClassName,\n node.id,\n node\n ));\n }\n this.visit(node.body);\n\n this.close(node);\n }\n\n visitProperty(node) {\n let previous;\n\n if (node.computed) {\n this.visit(node.key);\n }\n\n const isMethodDefinition = node.type === Syntax.MethodDefinition;\n\n if (isMethodDefinition) {\n previous = this.pushInnerMethodDefinition(true);\n }\n this.visit(node.value);\n if (isMethodDefinition) {\n this.popInnerMethodDefinition(previous);\n }\n }\n\n visitForIn(node) {\n if (node.left.type === Syntax.VariableDeclaration && node.left.kind !== \"var\") {\n this.scopeManager.__nestForScope(node);\n }\n\n if (node.left.type === Syntax.VariableDeclaration) {\n this.visit(node.left);\n this.visitPattern(node.left.declarations[0].id, pattern => {\n this.currentScope().__referencing(pattern, Reference.WRITE, node.right, null, true, true);\n });\n } else {\n this.visitPattern(node.left, { processRightHandNodes: true }, (pattern, info) => {\n let maybeImplicitGlobal = null;\n\n if (!this.currentScope().isStrict) {\n maybeImplicitGlobal = {\n pattern,\n node\n };\n }\n this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);\n this.currentScope().__referencing(pattern, Reference.WRITE, node.right, maybeImplicitGlobal, true, false);\n });\n }\n this.visit(node.right);\n this.visit(node.body);\n\n this.close(node);\n }\n\n visitVariableDeclaration(variableTargetScope, type, node, index) {\n\n const decl = node.declarations[index];\n const init = decl.init;\n\n this.visitPattern(decl.id, { processRightHandNodes: true }, (pattern, info) => {\n variableTargetScope.__define(\n pattern,\n new Definition(\n type,\n pattern,\n decl,\n node,\n index,\n node.kind\n )\n );\n\n this.referencingDefaultValue(pattern, info.assignments, null, true);\n if (init) {\n this.currentScope().__referencing(pattern, Reference.WRITE, init, null, !info.topLevel, true);\n }\n });\n }\n\n AssignmentExpression(node) {\n if (PatternVisitor.isPattern(node.left)) {\n if (node.operator === \"=\") {\n this.visitPattern(node.left, { processRightHandNodes: true }, (pattern, info) => {\n let maybeImplicitGlobal = null;\n\n if (!this.currentScope().isStrict) {\n maybeImplicitGlobal = {\n pattern,\n node\n };\n }\n this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);\n this.currentScope().__referencing(pattern, Reference.WRITE, node.right, maybeImplicitGlobal, !info.topLevel, false);\n });\n } else {\n this.currentScope().__referencing(node.left, Reference.RW, node.right);\n }\n } else {\n this.visit(node.left);\n }\n this.visit(node.right);\n }\n\n CatchClause(node) {\n this.scopeManager.__nestCatchScope(node);\n\n this.visitPattern(node.param, { processRightHandNodes: true }, (pattern, info) => {\n this.currentScope().__define(pattern,\n new Definition(\n Variable.CatchClause,\n node.param,\n node,\n null,\n null,\n null\n ));\n this.referencingDefaultValue(pattern, info.assignments, null, true);\n });\n this.visit(node.body);\n\n this.close(node);\n }\n\n Program(node) {\n this.scopeManager.__nestGlobalScope(node);\n\n if (this.scopeManager.__isNodejsScope()) {\n\n // Force strictness of GlobalScope to false when using node.js scope.\n this.currentScope().isStrict = false;\n this.scopeManager.__nestFunctionScope(node, false);\n }\n\n if (this.scopeManager.__isES6() && this.scopeManager.isModule()) {\n this.scopeManager.__nestModuleScope(node);\n }\n\n if (this.scopeManager.isStrictModeSupported() && this.scopeManager.isImpliedStrict()) {\n this.currentScope().isStrict = true;\n }\n\n this.visitChildren(node);\n this.close(node);\n }\n\n Identifier(node) {\n this.currentScope().__referencing(node);\n }\n\n UpdateExpression(node) {\n if (PatternVisitor.isPattern(node.argument)) {\n this.currentScope().__referencing(node.argument, Reference.RW, null);\n } else {\n this.visitChildren(node);\n }\n }\n\n MemberExpression(node) {\n this.visit(node.object);\n if (node.computed) {\n this.visit(node.property);\n }\n }\n\n Property(node) {\n this.visitProperty(node);\n }\n\n MethodDefinition(node) {\n this.visitProperty(node);\n }\n\n BreakStatement() {} // eslint-disable-line class-methods-use-this\n\n ContinueStatement() {} // eslint-disable-line class-methods-use-this\n\n LabeledStatement(node) {\n this.visit(node.body);\n }\n\n ForStatement(node) {\n\n // Create ForStatement declaration.\n // NOTE: In ES6, ForStatement dynamically generates\n // per iteration environment. However, escope is\n // a static analyzer, we only generate one scope for ForStatement.\n if (node.init && node.init.type === Syntax.VariableDeclaration && node.init.kind !== \"var\") {\n this.scopeManager.__nestForScope(node);\n }\n\n this.visitChildren(node);\n\n this.close(node);\n }\n\n ClassExpression(node) {\n this.visitClass(node);\n }\n\n ClassDeclaration(node) {\n this.visitClass(node);\n }\n\n CallExpression(node) {\n\n // Check this is direct call to eval\n if (!this.scopeManager.__ignoreEval() && node.callee.type === Syntax.Identifier && node.callee.name === \"eval\") {\n\n // NOTE: This should be `variableScope`. Since direct eval call always creates Lexical environment and\n // let / const should be enclosed into it. Only VariableDeclaration affects on the caller's environment.\n this.currentScope().variableScope.__detectEval();\n }\n this.visitChildren(node);\n }\n\n BlockStatement(node) {\n if (this.scopeManager.__isES6()) {\n this.scopeManager.__nestBlockScope(node);\n }\n\n this.visitChildren(node);\n\n this.close(node);\n }\n\n ThisExpression() {\n this.currentScope().variableScope.__detectThis();\n }\n\n WithStatement(node) {\n this.visit(node.object);\n\n // Then nest scope for WithStatement.\n this.scopeManager.__nestWithScope(node);\n\n this.visit(node.body);\n\n this.close(node);\n }\n\n VariableDeclaration(node) {\n const variableTargetScope = (node.kind === \"var\") ? this.currentScope().variableScope : this.currentScope();\n\n for (let i = 0, iz = node.declarations.length; i < iz; ++i) {\n const decl = node.declarations[i];\n\n this.visitVariableDeclaration(variableTargetScope, Variable.Variable, node, i);\n if (decl.init) {\n this.visit(decl.init);\n }\n }\n }\n\n // sec 13.11.8\n SwitchStatement(node) {\n this.visit(node.discriminant);\n\n if (this.scopeManager.__isES6()) {\n this.scopeManager.__nestSwitchScope(node);\n }\n\n for (let i = 0, iz = node.cases.length; i < iz; ++i) {\n this.visit(node.cases[i]);\n }\n\n this.close(node);\n }\n\n FunctionDeclaration(node) {\n this.visitFunction(node);\n }\n\n FunctionExpression(node) {\n this.visitFunction(node);\n }\n\n ForOfStatement(node) {\n this.visitForIn(node);\n }\n\n ForInStatement(node) {\n this.visitForIn(node);\n }\n\n ArrowFunctionExpression(node) {\n this.visitFunction(node);\n }\n\n ImportDeclaration(node) {\n assert(this.scopeManager.__isES6() && this.scopeManager.isModule(), \"ImportDeclaration should appear when the mode is ES6 and in the module context.\");\n\n const importer = new Importer(node, this);\n\n importer.visit(node);\n }\n\n visitExportDeclaration(node) {\n if (node.source) {\n return;\n }\n if (node.declaration) {\n this.visit(node.declaration);\n return;\n }\n\n this.visitChildren(node);\n }\n\n // TODO: ExportDeclaration doesn't exist. for bc?\n ExportDeclaration(node) {\n this.visitExportDeclaration(node);\n }\n\n ExportAllDeclaration(node) {\n this.visitExportDeclaration(node);\n }\n\n ExportDefaultDeclaration(node) {\n this.visitExportDeclaration(node);\n }\n\n ExportNamedDeclaration(node) {\n this.visitExportDeclaration(node);\n }\n\n ExportSpecifier(node) {\n\n // TODO: `node.id` doesn't exist. for bc?\n const local = (node.id || node.local);\n\n this.visit(local);\n }\n\n MetaProperty() { // eslint-disable-line class-methods-use-this\n\n // do nothing.\n }\n}\n\nmodule.exports = Referencer;\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/referencer.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/scope-manager.js": /*!********************************************************!*\ !*** ./node_modules/eslint-scope/lib/scope-manager.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n/* eslint-disable no-underscore-dangle */\n\nconst Scope = __webpack_require__(/*! ./scope */ \"./node_modules/eslint-scope/lib/scope.js\");\nconst assert = __webpack_require__(/*! assert */ \"?ff26\");\n\nconst GlobalScope = Scope.GlobalScope;\nconst CatchScope = Scope.CatchScope;\nconst WithScope = Scope.WithScope;\nconst ModuleScope = Scope.ModuleScope;\nconst ClassScope = Scope.ClassScope;\nconst SwitchScope = Scope.SwitchScope;\nconst FunctionScope = Scope.FunctionScope;\nconst ForScope = Scope.ForScope;\nconst FunctionExpressionNameScope = Scope.FunctionExpressionNameScope;\nconst BlockScope = Scope.BlockScope;\n\n/**\n * @class ScopeManager\n */\nclass ScopeManager {\n constructor(options) {\n this.scopes = [];\n this.globalScope = null;\n this.__nodeToScope = new WeakMap();\n this.__currentScope = null;\n this.__options = options;\n this.__declaredVariables = new WeakMap();\n }\n\n __useDirective() {\n return this.__options.directive;\n }\n\n __isOptimistic() {\n return this.__options.optimistic;\n }\n\n __ignoreEval() {\n return this.__options.ignoreEval;\n }\n\n __isNodejsScope() {\n return this.__options.nodejsScope;\n }\n\n isModule() {\n return this.__options.sourceType === \"module\";\n }\n\n isImpliedStrict() {\n return this.__options.impliedStrict;\n }\n\n isStrictModeSupported() {\n return this.__options.ecmaVersion >= 5;\n }\n\n // Returns appropriate scope for this node.\n __get(node) {\n return this.__nodeToScope.get(node);\n }\n\n /**\n * Get variables that are declared by the node.\n *\n * \"are declared by the node\" means the node is same as `Variable.defs[].node` or `Variable.defs[].parent`.\n * If the node declares nothing, this method returns an empty array.\n * CAUTION: This API is experimental. See https://github.com/estools/escope/pull/69 for more details.\n *\n * @param {Espree.Node} node - a node to get.\n * @returns {Variable[]} variables that declared by the node.\n */\n getDeclaredVariables(node) {\n return this.__declaredVariables.get(node) || [];\n }\n\n /**\n * acquire scope from node.\n * @method ScopeManager#acquire\n * @param {Espree.Node} node - node for the acquired scope.\n * @param {boolean=} inner - look up the most inner scope, default value is false.\n * @returns {Scope?} Scope from node\n */\n acquire(node, inner) {\n\n /**\n * predicate\n * @param {Scope} testScope - scope to test\n * @returns {boolean} predicate\n */\n function predicate(testScope) {\n if (testScope.type === \"function\" && testScope.functionExpressionScope) {\n return false;\n }\n return true;\n }\n\n const scopes = this.__get(node);\n\n if (!scopes || scopes.length === 0) {\n return null;\n }\n\n // Heuristic selection from all scopes.\n // If you would like to get all scopes, please use ScopeManager#acquireAll.\n if (scopes.length === 1) {\n return scopes[0];\n }\n\n if (inner) {\n for (let i = scopes.length - 1; i >= 0; --i) {\n const scope = scopes[i];\n\n if (predicate(scope)) {\n return scope;\n }\n }\n } else {\n for (let i = 0, iz = scopes.length; i < iz; ++i) {\n const scope = scopes[i];\n\n if (predicate(scope)) {\n return scope;\n }\n }\n }\n\n return null;\n }\n\n /**\n * acquire all scopes from node.\n * @method ScopeManager#acquireAll\n * @param {Espree.Node} node - node for the acquired scope.\n * @returns {Scopes?} Scope array\n */\n acquireAll(node) {\n return this.__get(node);\n }\n\n /**\n * release the node.\n * @method ScopeManager#release\n * @param {Espree.Node} node - releasing node.\n * @param {boolean=} inner - look up the most inner scope, default value is false.\n * @returns {Scope?} upper scope for the node.\n */\n release(node, inner) {\n const scopes = this.__get(node);\n\n if (scopes && scopes.length) {\n const scope = scopes[0].upper;\n\n if (!scope) {\n return null;\n }\n return this.acquire(scope.block, inner);\n }\n return null;\n }\n\n attach() { } // eslint-disable-line class-methods-use-this\n\n detach() { } // eslint-disable-line class-methods-use-this\n\n __nestScope(scope) {\n if (scope instanceof GlobalScope) {\n assert(this.__currentScope === null);\n this.globalScope = scope;\n }\n this.__currentScope = scope;\n return scope;\n }\n\n __nestGlobalScope(node) {\n return this.__nestScope(new GlobalScope(this, node));\n }\n\n __nestBlockScope(node) {\n return this.__nestScope(new BlockScope(this, this.__currentScope, node));\n }\n\n __nestFunctionScope(node, isMethodDefinition) {\n return this.__nestScope(new FunctionScope(this, this.__currentScope, node, isMethodDefinition));\n }\n\n __nestForScope(node) {\n return this.__nestScope(new ForScope(this, this.__currentScope, node));\n }\n\n __nestCatchScope(node) {\n return this.__nestScope(new CatchScope(this, this.__currentScope, node));\n }\n\n __nestWithScope(node) {\n return this.__nestScope(new WithScope(this, this.__currentScope, node));\n }\n\n __nestClassScope(node) {\n return this.__nestScope(new ClassScope(this, this.__currentScope, node));\n }\n\n __nestSwitchScope(node) {\n return this.__nestScope(new SwitchScope(this, this.__currentScope, node));\n }\n\n __nestModuleScope(node) {\n return this.__nestScope(new ModuleScope(this, this.__currentScope, node));\n }\n\n __nestFunctionExpressionNameScope(node) {\n return this.__nestScope(new FunctionExpressionNameScope(this, this.__currentScope, node));\n }\n\n __isES6() {\n return this.__options.ecmaVersion >= 6;\n }\n}\n\nmodule.exports = ScopeManager;\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/scope-manager.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/scope.js": /*!************************************************!*\ !*** ./node_modules/eslint-scope/lib/scope.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-undefined */\n\nconst Syntax = (__webpack_require__(/*! estraverse */ \"./node_modules/estraverse/estraverse.js\").Syntax);\n\nconst Reference = __webpack_require__(/*! ./reference */ \"./node_modules/eslint-scope/lib/reference.js\");\nconst Variable = __webpack_require__(/*! ./variable */ \"./node_modules/eslint-scope/lib/variable.js\");\nconst Definition = (__webpack_require__(/*! ./definition */ \"./node_modules/eslint-scope/lib/definition.js\").Definition);\nconst assert = __webpack_require__(/*! assert */ \"?ff26\");\n\n/**\n * Test if scope is struct\n * @param {Scope} scope - scope\n * @param {Block} block - block\n * @param {boolean} isMethodDefinition - is method definition\n * @param {boolean} useDirective - use directive\n * @returns {boolean} is strict scope\n */\nfunction isStrictScope(scope, block, isMethodDefinition, useDirective) {\n let body;\n\n // When upper scope is exists and strict, inner scope is also strict.\n if (scope.upper && scope.upper.isStrict) {\n return true;\n }\n\n if (isMethodDefinition) {\n return true;\n }\n\n if (scope.type === \"class\" || scope.type === \"module\") {\n return true;\n }\n\n if (scope.type === \"block\" || scope.type === \"switch\") {\n return false;\n }\n\n if (scope.type === \"function\") {\n if (block.type === Syntax.ArrowFunctionExpression && block.body.type !== Syntax.BlockStatement) {\n return false;\n }\n\n if (block.type === Syntax.Program) {\n body = block;\n } else {\n body = block.body;\n }\n\n if (!body) {\n return false;\n }\n } else if (scope.type === \"global\") {\n body = block;\n } else {\n return false;\n }\n\n // Search 'use strict' directive.\n if (useDirective) {\n for (let i = 0, iz = body.body.length; i < iz; ++i) {\n const stmt = body.body[i];\n\n if (stmt.type !== Syntax.DirectiveStatement) {\n break;\n }\n if (stmt.raw === \"\\\"use strict\\\"\" || stmt.raw === \"'use strict'\") {\n return true;\n }\n }\n } else {\n for (let i = 0, iz = body.body.length; i < iz; ++i) {\n const stmt = body.body[i];\n\n if (stmt.type !== Syntax.ExpressionStatement) {\n break;\n }\n const expr = stmt.expression;\n\n if (expr.type !== Syntax.Literal || typeof expr.value !== \"string\") {\n break;\n }\n if (expr.raw !== null && expr.raw !== undefined) {\n if (expr.raw === \"\\\"use strict\\\"\" || expr.raw === \"'use strict'\") {\n return true;\n }\n } else {\n if (expr.value === \"use strict\") {\n return true;\n }\n }\n }\n }\n return false;\n}\n\n/**\n * Register scope\n * @param {ScopeManager} scopeManager - scope manager\n * @param {Scope} scope - scope\n * @returns {void}\n */\nfunction registerScope(scopeManager, scope) {\n scopeManager.scopes.push(scope);\n\n const scopes = scopeManager.__nodeToScope.get(scope.block);\n\n if (scopes) {\n scopes.push(scope);\n } else {\n scopeManager.__nodeToScope.set(scope.block, [scope]);\n }\n}\n\n/**\n * Should be statically\n * @param {Object} def - def\n * @returns {boolean} should be statically\n */\nfunction shouldBeStatically(def) {\n return (\n (def.type === Variable.ClassName) ||\n (def.type === Variable.Variable && def.parent.kind !== \"var\")\n );\n}\n\n/**\n * @class Scope\n */\nclass Scope {\n constructor(scopeManager, type, upperScope, block, isMethodDefinition) {\n\n /**\n * One of 'module', 'block', 'switch', 'function', 'catch', 'with', 'function', 'class', 'global'.\n * @member {String} Scope#type\n */\n this.type = type;\n\n /**\n * The scoped {@link Variable}s of this scope, as <code>{ Variable.name\n * : Variable }</code>.\n * @member {Map} Scope#set\n */\n this.set = new Map();\n\n /**\n * The tainted variables of this scope, as <code>{ Variable.name :\n * boolean }</code>.\n * @member {Map} Scope#taints */\n this.taints = new Map();\n\n /**\n * Generally, through the lexical scoping of JS you can always know\n * which variable an identifier in the source code refers to. There are\n * a few exceptions to this rule. With 'global' and 'with' scopes you\n * can only decide at runtime which variable a reference refers to.\n * Moreover, if 'eval()' is used in a scope, it might introduce new\n * bindings in this or its parent scopes.\n * All those scopes are considered 'dynamic'.\n * @member {boolean} Scope#dynamic\n */\n this.dynamic = this.type === \"global\" || this.type === \"with\";\n\n /**\n * A reference to the scope-defining syntax node.\n * @member {espree.Node} Scope#block\n */\n this.block = block;\n\n /**\n * The {@link Reference|references} that are not resolved with this scope.\n * @member {Reference[]} Scope#through\n */\n this.through = [];\n\n /**\n * The scoped {@link Variable}s of this scope. In the case of a\n * 'function' scope this includes the automatic argument <em>arguments</em> as\n * its first element, as well as all further formal arguments.\n * @member {Variable[]} Scope#variables\n */\n this.variables = [];\n\n /**\n * Any variable {@link Reference|reference} found in this scope. This\n * includes occurrences of local variables as well as variables from\n * parent scopes (including the global scope). For local variables\n * this also includes defining occurrences (like in a 'var' statement).\n * In a 'function' scope this does not include the occurrences of the\n * formal parameter in the parameter list.\n * @member {Reference[]} Scope#references\n */\n this.references = [];\n\n /**\n * For 'global' and 'function' scopes, this is a self-reference. For\n * other scope types this is the <em>variableScope</em> value of the\n * parent scope.\n * @member {Scope} Scope#variableScope\n */\n this.variableScope =\n (this.type === \"global\" || this.type === \"function\" || this.type === \"module\") ? this : upperScope.variableScope;\n\n /**\n * Whether this scope is created by a FunctionExpression.\n * @member {boolean} Scope#functionExpressionScope\n */\n this.functionExpressionScope = false;\n\n /**\n * Whether this is a scope that contains an 'eval()' invocation.\n * @member {boolean} Scope#directCallToEvalScope\n */\n this.directCallToEvalScope = false;\n\n /**\n * @member {boolean} Scope#thisFound\n */\n this.thisFound = false;\n\n this.__left = [];\n\n /**\n * Reference to the parent {@link Scope|scope}.\n * @member {Scope} Scope#upper\n */\n this.upper = upperScope;\n\n /**\n * Whether 'use strict' is in effect in this scope.\n * @member {boolean} Scope#isStrict\n */\n this.isStrict = isStrictScope(this, block, isMethodDefinition, scopeManager.__useDirective());\n\n /**\n * List of nested {@link Scope}s.\n * @member {Scope[]} Scope#childScopes\n */\n this.childScopes = [];\n if (this.upper) {\n this.upper.childScopes.push(this);\n }\n\n this.__declaredVariables = scopeManager.__declaredVariables;\n\n registerScope(scopeManager, this);\n }\n\n __shouldStaticallyClose(scopeManager) {\n return (!this.dynamic || scopeManager.__isOptimistic());\n }\n\n __shouldStaticallyCloseForGlobal(ref) {\n\n // On global scope, let/const/class declarations should be resolved statically.\n const name = ref.identifier.name;\n\n if (!this.set.has(name)) {\n return false;\n }\n\n const variable = this.set.get(name);\n const defs = variable.defs;\n\n return defs.length > 0 && defs.every(shouldBeStatically);\n }\n\n __staticCloseRef(ref) {\n if (!this.__resolve(ref)) {\n this.__delegateToUpperScope(ref);\n }\n }\n\n __dynamicCloseRef(ref) {\n\n // notify all names are through to global\n let current = this;\n\n do {\n current.through.push(ref);\n current = current.upper;\n } while (current);\n }\n\n __globalCloseRef(ref) {\n\n // let/const/class declarations should be resolved statically.\n // others should be resolved dynamically.\n if (this.__shouldStaticallyCloseForGlobal(ref)) {\n this.__staticCloseRef(ref);\n } else {\n this.__dynamicCloseRef(ref);\n }\n }\n\n __close(scopeManager) {\n let closeRef;\n\n if (this.__shouldStaticallyClose(scopeManager)) {\n closeRef = this.__staticCloseRef;\n } else if (this.type !== \"global\") {\n closeRef = this.__dynamicCloseRef;\n } else {\n closeRef = this.__globalCloseRef;\n }\n\n // Try Resolving all references in this scope.\n for (let i = 0, iz = this.__left.length; i < iz; ++i) {\n const ref = this.__left[i];\n\n closeRef.call(this, ref);\n }\n this.__left = null;\n\n return this.upper;\n }\n\n // To override by function scopes.\n // References in default parameters isn't resolved to variables which are in their function body.\n __isValidResolution(ref, variable) { // eslint-disable-line class-methods-use-this, no-unused-vars\n return true;\n }\n\n __resolve(ref) {\n const name = ref.identifier.name;\n\n if (!this.set.has(name)) {\n return false;\n }\n const variable = this.set.get(name);\n\n if (!this.__isValidResolution(ref, variable)) {\n return false;\n }\n variable.references.push(ref);\n variable.stack = variable.stack && ref.from.variableScope === this.variableScope;\n if (ref.tainted) {\n variable.tainted = true;\n this.taints.set(variable.name, true);\n }\n ref.resolved = variable;\n\n return true;\n }\n\n __delegateToUpperScope(ref) {\n if (this.upper) {\n this.upper.__left.push(ref);\n }\n this.through.push(ref);\n }\n\n __addDeclaredVariablesOfNode(variable, node) {\n if (node === null || node === undefined) {\n return;\n }\n\n let variables = this.__declaredVariables.get(node);\n\n if (variables === null || variables === undefined) {\n variables = [];\n this.__declaredVariables.set(node, variables);\n }\n if (variables.indexOf(variable) === -1) {\n variables.push(variable);\n }\n }\n\n __defineGeneric(name, set, variables, node, def) {\n let variable;\n\n variable = set.get(name);\n if (!variable) {\n variable = new Variable(name, this);\n set.set(name, variable);\n variables.push(variable);\n }\n\n if (def) {\n variable.defs.push(def);\n this.__addDeclaredVariablesOfNode(variable, def.node);\n this.__addDeclaredVariablesOfNode(variable, def.parent);\n }\n if (node) {\n variable.identifiers.push(node);\n }\n }\n\n __define(node, def) {\n if (node && node.type === Syntax.Identifier) {\n this.__defineGeneric(\n node.name,\n this.set,\n this.variables,\n node,\n def\n );\n }\n }\n\n __referencing(node, assign, writeExpr, maybeImplicitGlobal, partial, init) {\n\n // because Array element may be null\n if (!node || node.type !== Syntax.Identifier) {\n return;\n }\n\n // Specially handle like `this`.\n if (node.name === \"super\") {\n return;\n }\n\n const ref = new Reference(node, this, assign || Reference.READ, writeExpr, maybeImplicitGlobal, !!partial, !!init);\n\n this.references.push(ref);\n this.__left.push(ref);\n }\n\n __detectEval() {\n let current = this;\n\n this.directCallToEvalScope = true;\n do {\n current.dynamic = true;\n current = current.upper;\n } while (current);\n }\n\n __detectThis() {\n this.thisFound = true;\n }\n\n __isClosed() {\n return this.__left === null;\n }\n\n /**\n * returns resolved {Reference}\n * @method Scope#resolve\n * @param {Espree.Identifier} ident - identifier to be resolved.\n * @returns {Reference} reference\n */\n resolve(ident) {\n let ref, i, iz;\n\n assert(this.__isClosed(), \"Scope should be closed.\");\n assert(ident.type === Syntax.Identifier, \"Target should be identifier.\");\n for (i = 0, iz = this.references.length; i < iz; ++i) {\n ref = this.references[i];\n if (ref.identifier === ident) {\n return ref;\n }\n }\n return null;\n }\n\n /**\n * returns this scope is static\n * @method Scope#isStatic\n * @returns {boolean} static\n */\n isStatic() {\n return !this.dynamic;\n }\n\n /**\n * returns this scope has materialized arguments\n * @method Scope#isArgumentsMaterialized\n * @returns {boolean} arguemnts materialized\n */\n isArgumentsMaterialized() { // eslint-disable-line class-methods-use-this\n return true;\n }\n\n /**\n * returns this scope has materialized `this` reference\n * @method Scope#isThisMaterialized\n * @returns {boolean} this materialized\n */\n isThisMaterialized() { // eslint-disable-line class-methods-use-this\n return true;\n }\n\n isUsedName(name) {\n if (this.set.has(name)) {\n return true;\n }\n for (let i = 0, iz = this.through.length; i < iz; ++i) {\n if (this.through[i].identifier.name === name) {\n return true;\n }\n }\n return false;\n }\n}\n\nclass GlobalScope extends Scope {\n constructor(scopeManager, block) {\n super(scopeManager, \"global\", null, block, false);\n this.implicit = {\n set: new Map(),\n variables: [],\n\n /**\n * List of {@link Reference}s that are left to be resolved (i.e. which\n * need to be linked to the variable they refer to).\n * @member {Reference[]} Scope#implicit#left\n */\n left: []\n };\n }\n\n __close(scopeManager) {\n const implicit = [];\n\n for (let i = 0, iz = this.__left.length; i < iz; ++i) {\n const ref = this.__left[i];\n\n if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {\n implicit.push(ref.__maybeImplicitGlobal);\n }\n }\n\n // create an implicit global variable from assignment expression\n for (let i = 0, iz = implicit.length; i < iz; ++i) {\n const info = implicit[i];\n\n this.__defineImplicit(info.pattern,\n new Definition(\n Variable.ImplicitGlobalVariable,\n info.pattern,\n info.node,\n null,\n null,\n null\n ));\n\n }\n\n this.implicit.left = this.__left;\n\n return super.__close(scopeManager);\n }\n\n __defineImplicit(node, def) {\n if (node && node.type === Syntax.Identifier) {\n this.__defineGeneric(\n node.name,\n this.implicit.set,\n this.implicit.variables,\n node,\n def\n );\n }\n }\n}\n\nclass ModuleScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"module\", upperScope, block, false);\n }\n}\n\nclass FunctionExpressionNameScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"function-expression-name\", upperScope, block, false);\n this.__define(block.id,\n new Definition(\n Variable.FunctionName,\n block.id,\n block,\n null,\n null,\n null\n ));\n this.functionExpressionScope = true;\n }\n}\n\nclass CatchScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"catch\", upperScope, block, false);\n }\n}\n\nclass WithScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"with\", upperScope, block, false);\n }\n\n __close(scopeManager) {\n if (this.__shouldStaticallyClose(scopeManager)) {\n return super.__close(scopeManager);\n }\n\n for (let i = 0, iz = this.__left.length; i < iz; ++i) {\n const ref = this.__left[i];\n\n ref.tainted = true;\n this.__delegateToUpperScope(ref);\n }\n this.__left = null;\n\n return this.upper;\n }\n}\n\nclass BlockScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"block\", upperScope, block, false);\n }\n}\n\nclass SwitchScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"switch\", upperScope, block, false);\n }\n}\n\nclass FunctionScope extends Scope {\n constructor(scopeManager, upperScope, block, isMethodDefinition) {\n super(scopeManager, \"function\", upperScope, block, isMethodDefinition);\n\n // section 9.2.13, FunctionDeclarationInstantiation.\n // NOTE Arrow functions never have an arguments objects.\n if (this.block.type !== Syntax.ArrowFunctionExpression) {\n this.__defineArguments();\n }\n }\n\n isArgumentsMaterialized() {\n\n // TODO(Constellation)\n // We can more aggressive on this condition like this.\n //\n // function t() {\n // // arguments of t is always hidden.\n // function arguments() {\n // }\n // }\n if (this.block.type === Syntax.ArrowFunctionExpression) {\n return false;\n }\n\n if (!this.isStatic()) {\n return true;\n }\n\n const variable = this.set.get(\"arguments\");\n\n assert(variable, \"Always have arguments variable.\");\n return variable.tainted || variable.references.length !== 0;\n }\n\n isThisMaterialized() {\n if (!this.isStatic()) {\n return true;\n }\n return this.thisFound;\n }\n\n __defineArguments() {\n this.__defineGeneric(\n \"arguments\",\n this.set,\n this.variables,\n null,\n null\n );\n this.taints.set(\"arguments\", true);\n }\n\n // References in default parameters isn't resolved to variables which are in their function body.\n // const x = 1\n // function f(a = x) { // This `x` is resolved to the `x` in the outer scope.\n // const x = 2\n // console.log(a)\n // }\n __isValidResolution(ref, variable) {\n\n // If `options.nodejsScope` is true, `this.block` becomes a Program node.\n if (this.block.type === \"Program\") {\n return true;\n }\n\n const bodyStart = this.block.body.range[0];\n\n // It's invalid resolution in the following case:\n return !(\n variable.scope === this &&\n ref.identifier.range[0] < bodyStart && // the reference is in the parameter part.\n variable.defs.every(d => d.name.range[0] >= bodyStart) // the variable is in the body.\n );\n }\n}\n\nclass ForScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"for\", upperScope, block, false);\n }\n}\n\nclass ClassScope extends Scope {\n constructor(scopeManager, upperScope, block) {\n super(scopeManager, \"class\", upperScope, block, false);\n }\n}\n\nmodule.exports = {\n Scope,\n GlobalScope,\n ModuleScope,\n FunctionExpressionNameScope,\n CatchScope,\n WithScope,\n BlockScope,\n SwitchScope,\n FunctionScope,\n ForScope,\n ClassScope\n};\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/scope.js?"); /***/ }), /***/ "./node_modules/eslint-scope/lib/variable.js": /*!***************************************************!*\ !*** ./node_modules/eslint-scope/lib/variable.js ***! \***************************************************/ /***/ ((module) => { "use strict"; eval("/*\n Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n\n/**\n * A Variable represents a locally scoped identifier. These include arguments to\n * functions.\n * @class Variable\n */\nclass Variable {\n constructor(name, scope) {\n\n /**\n * The variable name, as given in the source code.\n * @member {String} Variable#name\n */\n this.name = name;\n\n /**\n * List of defining occurrences of this variable (like in 'var ...'\n * statements or as parameter), as AST nodes.\n * @member {espree.Identifier[]} Variable#identifiers\n */\n this.identifiers = [];\n\n /**\n * List of {@link Reference|references} of this variable (excluding parameter entries)\n * in its defining scope and all nested scopes. For defining\n * occurrences only see {@link Variable#defs}.\n * @member {Reference[]} Variable#references\n */\n this.references = [];\n\n /**\n * List of defining occurrences of this variable (like in 'var ...'\n * statements or as parameter), as custom objects.\n * @member {Definition[]} Variable#defs\n */\n this.defs = [];\n\n this.tainted = false;\n\n /**\n * Whether this is a stack variable.\n * @member {boolean} Variable#stack\n */\n this.stack = true;\n\n /**\n * Reference to the enclosing Scope.\n * @member {Scope} Variable#scope\n */\n this.scope = scope;\n }\n}\n\nVariable.CatchClause = \"CatchClause\";\nVariable.Parameter = \"Parameter\";\nVariable.FunctionName = \"FunctionName\";\nVariable.ClassName = \"ClassName\";\nVariable.Variable = \"Variable\";\nVariable.ImportBinding = \"ImportBinding\";\nVariable.ImplicitGlobalVariable = \"ImplicitGlobalVariable\";\n\nmodule.exports = Variable;\n\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/lib/variable.js?"); /***/ }), /***/ "./node_modules/esrecurse/esrecurse.js": /*!*********************************************!*\ !*** ./node_modules/esrecurse/esrecurse.js ***! \*********************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { eval("/*\n Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n(function () {\n 'use strict';\n\n var estraverse = __webpack_require__(/*! estraverse */ \"./node_modules/esrecurse/node_modules/estraverse/estraverse.js\");\n\n function isNode(node) {\n if (node == null) {\n return false;\n }\n return typeof node === 'object' && typeof node.type === 'string';\n }\n\n function isProperty(nodeType, key) {\n return (nodeType === estraverse.Syntax.ObjectExpression || nodeType === estraverse.Syntax.ObjectPattern) && key === 'properties';\n }\n\n function Visitor(visitor, options) {\n options = options || {};\n\n this.__visitor = visitor || this;\n this.__childVisitorKeys = options.childVisitorKeys\n ? Object.assign({}, estraverse.VisitorKeys, options.childVisitorKeys)\n : estraverse.VisitorKeys;\n if (options.fallback === 'iteration') {\n this.__fallback = Object.keys;\n } else if (typeof options.fallback === 'function') {\n this.__fallback = options.fallback;\n }\n }\n\n /* Default method for visiting children.\n * When you need to call default visiting operation inside custom visiting\n * operation, you can use it with `this.visitChildren(node)`.\n */\n Visitor.prototype.visitChildren = function (node) {\n var type, children, i, iz, j, jz, child;\n\n if (node == null) {\n return;\n }\n\n type = node.type || estraverse.Syntax.Property;\n\n children = this.__childVisitorKeys[type];\n if (!children) {\n if (this.__fallback) {\n children = this.__fallback(node);\n } else {\n throw new Error('Unknown node type ' + type + '.');\n }\n }\n\n for (i = 0, iz = children.length; i < iz; ++i) {\n child = node[children[i]];\n if (child) {\n if (Array.isArray(child)) {\n for (j = 0, jz = child.length; j < jz; ++j) {\n if (child[j]) {\n if (isNode(child[j]) || isProperty(type, children[i])) {\n this.visit(child[j]);\n }\n }\n }\n } else if (isNode(child)) {\n this.visit(child);\n }\n }\n }\n };\n\n /* Dispatching node. */\n Visitor.prototype.visit = function (node) {\n var type;\n\n if (node == null) {\n return;\n }\n\n type = node.type || estraverse.Syntax.Property;\n if (this.__visitor[type]) {\n this.__visitor[type].call(this, node);\n return;\n }\n this.visitChildren(node);\n };\n\n exports.version = __webpack_require__(/*! ./package.json */ \"./node_modules/esrecurse/package.json\").version;\n exports.Visitor = Visitor;\n exports.visit = function (node, visitor, options) {\n var v = new Visitor(visitor, options);\n v.visit(node);\n };\n}());\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/esrecurse/esrecurse.js?"); /***/ }), /***/ "./node_modules/esrecurse/node_modules/estraverse/estraverse.js": /*!**********************************************************************!*\ !*** ./node_modules/esrecurse/node_modules/estraverse/estraverse.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports) => { eval("/*\n Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n/*jslint vars:false, bitwise:true*/\n/*jshint indent:4*/\n/*global exports:true*/\n(function clone(exports) {\n 'use strict';\n\n var Syntax,\n VisitorOption,\n VisitorKeys,\n BREAK,\n SKIP,\n REMOVE;\n\n function deepCopy(obj) {\n var ret = {}, key, val;\n for (key in obj) {\n if (obj.hasOwnProperty(key)) {\n val = obj[key];\n if (typeof val === 'object' && val !== null) {\n ret[key] = deepCopy(val);\n } else {\n ret[key] = val;\n }\n }\n }\n return ret;\n }\n\n // based on LLVM libc++ upper_bound / lower_bound\n // MIT License\n\n function upperBound(array, func) {\n var diff, len, i, current;\n\n len = array.length;\n i = 0;\n\n while (len) {\n diff = len >>> 1;\n current = i + diff;\n if (func(array[current])) {\n len = diff;\n } else {\n i = current + 1;\n len -= diff + 1;\n }\n }\n return i;\n }\n\n Syntax = {\n AssignmentExpression: 'AssignmentExpression',\n AssignmentPattern: 'AssignmentPattern',\n ArrayExpression: 'ArrayExpression',\n ArrayPattern: 'ArrayPattern',\n ArrowFunctionExpression: 'ArrowFunctionExpression',\n AwaitExpression: 'AwaitExpression', // CAUTION: It's deferred to ES7.\n BlockStatement: 'BlockStatement',\n BinaryExpression: 'BinaryExpression',\n BreakStatement: 'BreakStatement',\n CallExpression: 'CallExpression',\n CatchClause: 'CatchClause',\n ChainExpression: 'ChainExpression',\n ClassBody: 'ClassBody',\n ClassDeclaration: 'ClassDeclaration',\n ClassExpression: 'ClassExpression',\n ComprehensionBlock: 'ComprehensionBlock', // CAUTION: It's deferred to ES7.\n ComprehensionExpression: 'ComprehensionExpression', // CAUTION: It's deferred to ES7.\n ConditionalExpression: 'ConditionalExpression',\n ContinueStatement: 'ContinueStatement',\n DebuggerStatement: 'DebuggerStatement',\n DirectiveStatement: 'DirectiveStatement',\n DoWhileStatement: 'DoWhileStatement',\n EmptyStatement: 'EmptyStatement',\n ExportAllDeclaration: 'ExportAllDeclaration',\n ExportDefaultDeclaration: 'ExportDefaultDeclaration',\n ExportNamedDeclaration: 'ExportNamedDeclaration',\n ExportSpecifier: 'ExportSpecifier',\n ExpressionStatement: 'ExpressionStatement',\n ForStatement: 'ForStatement',\n ForInStatement: 'ForInStatement',\n ForOfStatement: 'ForOfStatement',\n FunctionDeclaration: 'FunctionDeclaration',\n FunctionExpression: 'FunctionExpression',\n GeneratorExpression: 'GeneratorExpression', // CAUTION: It's deferred to ES7.\n Identifier: 'Identifier',\n IfStatement: 'IfStatement',\n ImportExpression: 'ImportExpression',\n ImportDeclaration: 'ImportDeclaration',\n ImportDefaultSpecifier: 'ImportDefaultSpecifier',\n ImportNamespaceSpecifier: 'ImportNamespaceSpecifier',\n ImportSpecifier: 'ImportSpecifier',\n Literal: 'Literal',\n LabeledStatement: 'LabeledStatement',\n LogicalExpression: 'LogicalExpression',\n MemberExpression: 'MemberExpression',\n MetaProperty: 'MetaProperty',\n MethodDefinition: 'MethodDefinition',\n ModuleSpecifier: 'ModuleSpecifier',\n NewExpression: 'NewExpression',\n ObjectExpression: 'ObjectExpression',\n ObjectPattern: 'ObjectPattern',\n PrivateIdentifier: 'PrivateIdentifier',\n Program: 'Program',\n Property: 'Property',\n PropertyDefinition: 'PropertyDefinition',\n RestElement: 'RestElement',\n ReturnStatement: 'ReturnStatement',\n SequenceExpression: 'SequenceExpression',\n SpreadElement: 'SpreadElement',\n Super: 'Super',\n SwitchStatement: 'SwitchStatement',\n SwitchCase: 'SwitchCase',\n TaggedTemplateExpression: 'TaggedTemplateExpression',\n TemplateElement: 'TemplateElement',\n TemplateLiteral: 'TemplateLiteral',\n ThisExpression: 'ThisExpression',\n ThrowStatement: 'ThrowStatement',\n TryStatement: 'TryStatement',\n UnaryExpression: 'UnaryExpression',\n UpdateExpression: 'UpdateExpression',\n VariableDeclaration: 'VariableDeclaration',\n VariableDeclarator: 'VariableDeclarator',\n WhileStatement: 'WhileStatement',\n WithStatement: 'WithStatement',\n YieldExpression: 'YieldExpression'\n };\n\n VisitorKeys = {\n AssignmentExpression: ['left', 'right'],\n AssignmentPattern: ['left', 'right'],\n ArrayExpression: ['elements'],\n ArrayPattern: ['elements'],\n ArrowFunctionExpression: ['params', 'body'],\n AwaitExpression: ['argument'], // CAUTION: It's deferred to ES7.\n BlockStatement: ['body'],\n BinaryExpression: ['left', 'right'],\n BreakStatement: ['label'],\n CallExpression: ['callee', 'arguments'],\n CatchClause: ['param', 'body'],\n ChainExpression: ['expression'],\n ClassBody: ['body'],\n ClassDeclaration: ['id', 'superClass', 'body'],\n ClassExpression: ['id', 'superClass', 'body'],\n ComprehensionBlock: ['left', 'right'], // CAUTION: It's deferred to ES7.\n ComprehensionExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.\n ConditionalExpression: ['test', 'consequent', 'alternate'],\n ContinueStatement: ['label'],\n DebuggerStatement: [],\n DirectiveStatement: [],\n DoWhileStatement: ['body', 'test'],\n EmptyStatement: [],\n ExportAllDeclaration: ['source'],\n ExportDefaultDeclaration: ['declaration'],\n ExportNamedDeclaration: ['declaration', 'specifiers', 'source'],\n ExportSpecifier: ['exported', 'local'],\n ExpressionStatement: ['expression'],\n ForStatement: ['init', 'test', 'update', 'body'],\n ForInStatement: ['left', 'right', 'body'],\n ForOfStatement: ['left', 'right', 'body'],\n FunctionDeclaration: ['id', 'params', 'body'],\n FunctionExpression: ['id', 'params', 'body'],\n GeneratorExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.\n Identifier: [],\n IfStatement: ['test', 'consequent', 'alternate'],\n ImportExpression: ['source'],\n ImportDeclaration: ['specifiers', 'source'],\n ImportDefaultSpecifier: ['local'],\n ImportNamespaceSpecifier: ['local'],\n ImportSpecifier: ['imported', 'local'],\n Literal: [],\n LabeledStatement: ['label', 'body'],\n LogicalExpression: ['left', 'right'],\n MemberExpression: ['object', 'property'],\n MetaProperty: ['meta', 'property'],\n MethodDefinition: ['key', 'value'],\n ModuleSpecifier: [],\n NewExpression: ['callee', 'arguments'],\n ObjectExpression: ['properties'],\n ObjectPattern: ['properties'],\n PrivateIdentifier: [],\n Program: ['body'],\n Property: ['key', 'value'],\n PropertyDefinition: ['key', 'value'],\n RestElement: [ 'argument' ],\n ReturnStatement: ['argument'],\n SequenceExpression: ['expressions'],\n SpreadElement: ['argument'],\n Super: [],\n SwitchStatement: ['discriminant', 'cases'],\n SwitchCase: ['test', 'consequent'],\n TaggedTemplateExpression: ['tag', 'quasi'],\n TemplateElement: [],\n TemplateLiteral: ['quasis', 'expressions'],\n ThisExpression: [],\n ThrowStatement: ['argument'],\n TryStatement: ['block', 'handler', 'finalizer'],\n UnaryExpression: ['argument'],\n UpdateExpression: ['argument'],\n VariableDeclaration: ['declarations'],\n VariableDeclarator: ['id', 'init'],\n WhileStatement: ['test', 'body'],\n WithStatement: ['object', 'body'],\n YieldExpression: ['argument']\n };\n\n // unique id\n BREAK = {};\n SKIP = {};\n REMOVE = {};\n\n VisitorOption = {\n Break: BREAK,\n Skip: SKIP,\n Remove: REMOVE\n };\n\n function Reference(parent, key) {\n this.parent = parent;\n this.key = key;\n }\n\n Reference.prototype.replace = function replace(node) {\n this.parent[this.key] = node;\n };\n\n Reference.prototype.remove = function remove() {\n if (Array.isArray(this.parent)) {\n this.parent.splice(this.key, 1);\n return true;\n } else {\n this.replace(null);\n return false;\n }\n };\n\n function Element(node, path, wrap, ref) {\n this.node = node;\n this.path = path;\n this.wrap = wrap;\n this.ref = ref;\n }\n\n function Controller() { }\n\n // API:\n // return property path array from root to current node\n Controller.prototype.path = function path() {\n var i, iz, j, jz, result, element;\n\n function addToPath(result, path) {\n if (Array.isArray(path)) {\n for (j = 0, jz = path.length; j < jz; ++j) {\n result.push(path[j]);\n }\n } else {\n result.push(path);\n }\n }\n\n // root node\n if (!this.__current.path) {\n return null;\n }\n\n // first node is sentinel, second node is root element\n result = [];\n for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {\n element = this.__leavelist[i];\n addToPath(result, element.path);\n }\n addToPath(result, this.__current.path);\n return result;\n };\n\n // API:\n // return type of current node\n Controller.prototype.type = function () {\n var node = this.current();\n return node.type || this.__current.wrap;\n };\n\n // API:\n // return array of parent elements\n Controller.prototype.parents = function parents() {\n var i, iz, result;\n\n // first node is sentinel\n result = [];\n for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {\n result.push(this.__leavelist[i].node);\n }\n\n return result;\n };\n\n // API:\n // return current node\n Controller.prototype.current = function current() {\n return this.__current.node;\n };\n\n Controller.prototype.__execute = function __execute(callback, element) {\n var previous, result;\n\n result = undefined;\n\n previous = this.__current;\n this.__current = element;\n this.__state = null;\n if (callback) {\n result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);\n }\n this.__current = previous;\n\n return result;\n };\n\n // API:\n // notify control skip / break\n Controller.prototype.notify = function notify(flag) {\n this.__state = flag;\n };\n\n // API:\n // skip child nodes of current node\n Controller.prototype.skip = function () {\n this.notify(SKIP);\n };\n\n // API:\n // break traversals\n Controller.prototype['break'] = function () {\n this.notify(BREAK);\n };\n\n // API:\n // remove node\n Controller.prototype.remove = function () {\n this.notify(REMOVE);\n };\n\n Controller.prototype.__initialize = function(root, visitor) {\n this.visitor = visitor;\n this.root = root;\n this.__worklist = [];\n this.__leavelist = [];\n this.__current = null;\n this.__state = null;\n this.__fallback = null;\n if (visitor.fallback === 'iteration') {\n this.__fallback = Object.keys;\n } else if (typeof visitor.fallback === 'function') {\n this.__fallback = visitor.fallback;\n }\n\n this.__keys = VisitorKeys;\n if (visitor.keys) {\n this.__keys = Object.assign(Object.create(this.__keys), visitor.keys);\n }\n };\n\n function isNode(node) {\n if (node == null) {\n return false;\n }\n return typeof node === 'object' && typeof node.type === 'string';\n }\n\n function isProperty(nodeType, key) {\n return (nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === key;\n }\n \n function candidateExistsInLeaveList(leavelist, candidate) {\n for (var i = leavelist.length - 1; i >= 0; --i) {\n if (leavelist[i].node === candidate) {\n return true;\n }\n }\n return false;\n }\n\n Controller.prototype.traverse = function traverse(root, visitor) {\n var worklist,\n leavelist,\n element,\n node,\n nodeType,\n ret,\n key,\n current,\n current2,\n candidates,\n candidate,\n sentinel;\n\n this.__initialize(root, visitor);\n\n sentinel = {};\n\n // reference\n worklist = this.__worklist;\n leavelist = this.__leavelist;\n\n // initialize\n worklist.push(new Element(root, null, null, null));\n leavelist.push(new Element(null, null, null, null));\n\n while (worklist.length) {\n element = worklist.pop();\n\n if (element === sentinel) {\n element = leavelist.pop();\n\n ret = this.__execute(visitor.leave, element);\n\n if (this.__state === BREAK || ret === BREAK) {\n return;\n }\n continue;\n }\n\n if (element.node) {\n\n ret = this.__execute(visitor.enter, element);\n\n if (this.__state === BREAK || ret === BREAK) {\n return;\n }\n\n worklist.push(sentinel);\n leavelist.push(element);\n\n if (this.__state === SKIP || ret === SKIP) {\n continue;\n }\n\n node = element.node;\n nodeType = node.type || element.wrap;\n candidates = this.__keys[nodeType];\n if (!candidates) {\n if (this.__fallback) {\n candidates = this.__fallback(node);\n } else {\n throw new Error('Unknown node type ' + nodeType + '.');\n }\n }\n\n current = candidates.length;\n while ((current -= 1) >= 0) {\n key = candidates[current];\n candidate = node[key];\n if (!candidate) {\n continue;\n }\n\n if (Array.isArray(candidate)) {\n current2 = candidate.length;\n while ((current2 -= 1) >= 0) {\n if (!candidate[current2]) {\n continue;\n }\n\n if (candidateExistsInLeaveList(leavelist, candidate[current2])) {\n continue;\n }\n\n if (isProperty(nodeType, candidates[current])) {\n element = new Element(candidate[current2], [key, current2], 'Property', null);\n } else if (isNode(candidate[current2])) {\n element = new Element(candidate[current2], [key, current2], null, null);\n } else {\n continue;\n }\n worklist.push(element);\n }\n } else if (isNode(candidate)) {\n if (candidateExistsInLeaveList(leavelist, candidate)) {\n continue;\n }\n\n worklist.push(new Element(candidate, key, null, null));\n }\n }\n }\n }\n };\n\n Controller.prototype.replace = function replace(root, visitor) {\n var worklist,\n leavelist,\n node,\n nodeType,\n target,\n element,\n current,\n current2,\n candidates,\n candidate,\n sentinel,\n outer,\n key;\n\n function removeElem(element) {\n var i,\n key,\n nextElem,\n parent;\n\n if (element.ref.remove()) {\n // When the reference is an element of an array.\n key = element.ref.key;\n parent = element.ref.parent;\n\n // If removed from array, then decrease following items' keys.\n i = worklist.length;\n while (i--) {\n nextElem = worklist[i];\n if (nextElem.ref && nextElem.ref.parent === parent) {\n if (nextElem.ref.key < key) {\n break;\n }\n --nextElem.ref.key;\n }\n }\n }\n }\n\n this.__initialize(root, visitor);\n\n sentinel = {};\n\n // reference\n worklist = this.__worklist;\n leavelist = this.__leavelist;\n\n // initialize\n outer = {\n root: root\n };\n element = new Element(root, null, null, new Reference(outer, 'root'));\n worklist.push(element);\n leavelist.push(element);\n\n while (worklist.length) {\n element = worklist.pop();\n\n if (element === sentinel) {\n element = leavelist.pop();\n\n target = this.__execute(visitor.leave, element);\n\n // node may be replaced with null,\n // so distinguish between undefined and null in this place\n if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {\n // replace\n element.ref.replace(target);\n }\n\n if (this.__state === REMOVE || target === REMOVE) {\n removeElem(element);\n }\n\n if (this.__state === BREAK || target === BREAK) {\n return outer.root;\n }\n continue;\n }\n\n target = this.__execute(visitor.enter, element);\n\n // node may be replaced with null,\n // so distinguish between undefined and null in this place\n if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {\n // replace\n element.ref.replace(target);\n element.node = target;\n }\n\n if (this.__state === REMOVE || target === REMOVE) {\n removeElem(element);\n element.node = null;\n }\n\n if (this.__state === BREAK || target === BREAK) {\n return outer.root;\n }\n\n // node may be null\n node = element.node;\n if (!node) {\n continue;\n }\n\n worklist.push(sentinel);\n leavelist.push(element);\n\n if (this.__state === SKIP || target === SKIP) {\n continue;\n }\n\n nodeType = node.type || element.wrap;\n candidates = this.__keys[nodeType];\n if (!candidates) {\n if (this.__fallback) {\n candidates = this.__fallback(node);\n } else {\n throw new Error('Unknown node type ' + nodeType + '.');\n }\n }\n\n current = candidates.length;\n while ((current -= 1) >= 0) {\n key = candidates[current];\n candidate = node[key];\n if (!candidate) {\n continue;\n }\n\n if (Array.isArray(candidate)) {\n current2 = candidate.length;\n while ((current2 -= 1) >= 0) {\n if (!candidate[current2]) {\n continue;\n }\n if (isProperty(nodeType, candidates[current])) {\n element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));\n } else if (isNode(candidate[current2])) {\n element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));\n } else {\n continue;\n }\n worklist.push(element);\n }\n } else if (isNode(candidate)) {\n worklist.push(new Element(candidate, key, null, new Reference(node, key)));\n }\n }\n }\n\n return outer.root;\n };\n\n function traverse(root, visitor) {\n var controller = new Controller();\n return controller.traverse(root, visitor);\n }\n\n function replace(root, visitor) {\n var controller = new Controller();\n return controller.replace(root, visitor);\n }\n\n function extendCommentRange(comment, tokens) {\n var target;\n\n target = upperBound(tokens, function search(token) {\n return token.range[0] > comment.range[0];\n });\n\n comment.extendedRange = [comment.range[0], comment.range[1]];\n\n if (target !== tokens.length) {\n comment.extendedRange[1] = tokens[target].range[0];\n }\n\n target -= 1;\n if (target >= 0) {\n comment.extendedRange[0] = tokens[target].range[1];\n }\n\n return comment;\n }\n\n function attachComments(tree, providedComments, tokens) {\n // At first, we should calculate extended comment ranges.\n var comments = [], comment, len, i, cursor;\n\n if (!tree.range) {\n throw new Error('attachComments needs range information');\n }\n\n // tokens array is empty, we attach comments to tree as 'leadingComments'\n if (!tokens.length) {\n if (providedComments.length) {\n for (i = 0, len = providedComments.length; i < len; i += 1) {\n comment = deepCopy(providedComments[i]);\n comment.extendedRange = [0, tree.range[0]];\n comments.push(comment);\n }\n tree.leadingComments = comments;\n }\n return tree;\n }\n\n for (i = 0, len = providedComments.length; i < len; i += 1) {\n comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));\n }\n\n // This is based on John Freeman's implementation.\n cursor = 0;\n traverse(tree, {\n enter: function (node) {\n var comment;\n\n while (cursor < comments.length) {\n comment = comments[cursor];\n if (comment.extendedRange[1] > node.range[0]) {\n break;\n }\n\n if (comment.extendedRange[1] === node.range[0]) {\n if (!node.leadingComments) {\n node.leadingComments = [];\n }\n node.leadingComments.push(comment);\n comments.splice(cursor, 1);\n } else {\n cursor += 1;\n }\n }\n\n // already out of owned node\n if (cursor === comments.length) {\n return VisitorOption.Break;\n }\n\n if (comments[cursor].extendedRange[0] > node.range[1]) {\n return VisitorOption.Skip;\n }\n }\n });\n\n cursor = 0;\n traverse(tree, {\n leave: function (node) {\n var comment;\n\n while (cursor < comments.length) {\n comment = comments[cursor];\n if (node.range[1] < comment.extendedRange[0]) {\n break;\n }\n\n if (node.range[1] === comment.extendedRange[0]) {\n if (!node.trailingComments) {\n node.trailingComments = [];\n }\n node.trailingComments.push(comment);\n comments.splice(cursor, 1);\n } else {\n cursor += 1;\n }\n }\n\n // already out of owned node\n if (cursor === comments.length) {\n return VisitorOption.Break;\n }\n\n if (comments[cursor].extendedRange[0] > node.range[1]) {\n return VisitorOption.Skip;\n }\n }\n });\n\n return tree;\n }\n\n exports.Syntax = Syntax;\n exports.traverse = traverse;\n exports.replace = replace;\n exports.attachComments = attachComments;\n exports.VisitorKeys = VisitorKeys;\n exports.VisitorOption = VisitorOption;\n exports.Controller = Controller;\n exports.cloneEnvironment = function () { return clone({}); };\n\n return exports;\n}(exports));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/esrecurse/node_modules/estraverse/estraverse.js?"); /***/ }), /***/ "./node_modules/estraverse/estraverse.js": /*!***********************************************!*\ !*** ./node_modules/estraverse/estraverse.js ***! \***********************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { eval("/*\n Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\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 * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\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 <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n/*jslint vars:false, bitwise:true*/\n/*jshint indent:4*/\n/*global exports:true*/\n(function clone(exports) {\n 'use strict';\n\n var Syntax,\n VisitorOption,\n VisitorKeys,\n BREAK,\n SKIP,\n REMOVE;\n\n function deepCopy(obj) {\n var ret = {}, key, val;\n for (key in obj) {\n if (obj.hasOwnProperty(key)) {\n val = obj[key];\n if (typeof val === 'object' && val !== null) {\n ret[key] = deepCopy(val);\n } else {\n ret[key] = val;\n }\n }\n }\n return ret;\n }\n\n // based on LLVM libc++ upper_bound / lower_bound\n // MIT License\n\n function upperBound(array, func) {\n var diff, len, i, current;\n\n len = array.length;\n i = 0;\n\n while (len) {\n diff = len >>> 1;\n current = i + diff;\n if (func(array[current])) {\n len = diff;\n } else {\n i = current + 1;\n len -= diff + 1;\n }\n }\n return i;\n }\n\n Syntax = {\n AssignmentExpression: 'AssignmentExpression',\n AssignmentPattern: 'AssignmentPattern',\n ArrayExpression: 'ArrayExpression',\n ArrayPattern: 'ArrayPattern',\n ArrowFunctionExpression: 'ArrowFunctionExpression',\n AwaitExpression: 'AwaitExpression', // CAUTION: It's deferred to ES7.\n BlockStatement: 'BlockStatement',\n BinaryExpression: 'BinaryExpression',\n BreakStatement: 'BreakStatement',\n CallExpression: 'CallExpression',\n CatchClause: 'CatchClause',\n ClassBody: 'ClassBody',\n ClassDeclaration: 'ClassDeclaration',\n ClassExpression: 'ClassExpression',\n ComprehensionBlock: 'ComprehensionBlock', // CAUTION: It's deferred to ES7.\n ComprehensionExpression: 'ComprehensionExpression', // CAUTION: It's deferred to ES7.\n ConditionalExpression: 'ConditionalExpression',\n ContinueStatement: 'ContinueStatement',\n DebuggerStatement: 'DebuggerStatement',\n DirectiveStatement: 'DirectiveStatement',\n DoWhileStatement: 'DoWhileStatement',\n EmptyStatement: 'EmptyStatement',\n ExportAllDeclaration: 'ExportAllDeclaration',\n ExportDefaultDeclaration: 'ExportDefaultDeclaration',\n ExportNamedDeclaration: 'ExportNamedDeclaration',\n ExportSpecifier: 'ExportSpecifier',\n ExpressionStatement: 'ExpressionStatement',\n ForStatement: 'ForStatement',\n ForInStatement: 'ForInStatement',\n ForOfStatement: 'ForOfStatement',\n FunctionDeclaration: 'FunctionDeclaration',\n FunctionExpression: 'FunctionExpression',\n GeneratorExpression: 'GeneratorExpression', // CAUTION: It's deferred to ES7.\n Identifier: 'Identifier',\n IfStatement: 'IfStatement',\n ImportExpression: 'ImportExpression',\n ImportDeclaration: 'ImportDeclaration',\n ImportDefaultSpecifier: 'ImportDefaultSpecifier',\n ImportNamespaceSpecifier: 'ImportNamespaceSpecifier',\n ImportSpecifier: 'ImportSpecifier',\n Literal: 'Literal',\n LabeledStatement: 'LabeledStatement',\n LogicalExpression: 'LogicalExpression',\n MemberExpression: 'MemberExpression',\n MetaProperty: 'MetaProperty',\n MethodDefinition: 'MethodDefinition',\n ModuleSpecifier: 'ModuleSpecifier',\n NewExpression: 'NewExpression',\n ObjectExpression: 'ObjectExpression',\n ObjectPattern: 'ObjectPattern',\n Program: 'Program',\n Property: 'Property',\n RestElement: 'RestElement',\n ReturnStatement: 'ReturnStatement',\n SequenceExpression: 'SequenceExpression',\n SpreadElement: 'SpreadElement',\n Super: 'Super',\n SwitchStatement: 'SwitchStatement',\n SwitchCase: 'SwitchCase',\n TaggedTemplateExpression: 'TaggedTemplateExpression',\n TemplateElement: 'TemplateElement',\n TemplateLiteral: 'TemplateLiteral',\n ThisExpression: 'ThisExpression',\n ThrowStatement: 'ThrowStatement',\n TryStatement: 'TryStatement',\n UnaryExpression: 'UnaryExpression',\n UpdateExpression: 'UpdateExpression',\n VariableDeclaration: 'VariableDeclaration',\n VariableDeclarator: 'VariableDeclarator',\n WhileStatement: 'WhileStatement',\n WithStatement: 'WithStatement',\n YieldExpression: 'YieldExpression'\n };\n\n VisitorKeys = {\n AssignmentExpression: ['left', 'right'],\n AssignmentPattern: ['left', 'right'],\n ArrayExpression: ['elements'],\n ArrayPattern: ['elements'],\n ArrowFunctionExpression: ['params', 'body'],\n AwaitExpression: ['argument'], // CAUTION: It's deferred to ES7.\n BlockStatement: ['body'],\n BinaryExpression: ['left', 'right'],\n BreakStatement: ['label'],\n CallExpression: ['callee', 'arguments'],\n CatchClause: ['param', 'body'],\n ClassBody: ['body'],\n ClassDeclaration: ['id', 'superClass', 'body'],\n ClassExpression: ['id', 'superClass', 'body'],\n ComprehensionBlock: ['left', 'right'], // CAUTION: It's deferred to ES7.\n ComprehensionExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.\n ConditionalExpression: ['test', 'consequent', 'alternate'],\n ContinueStatement: ['label'],\n DebuggerStatement: [],\n DirectiveStatement: [],\n DoWhileStatement: ['body', 'test'],\n EmptyStatement: [],\n ExportAllDeclaration: ['source'],\n ExportDefaultDeclaration: ['declaration'],\n ExportNamedDeclaration: ['declaration', 'specifiers', 'source'],\n ExportSpecifier: ['exported', 'local'],\n ExpressionStatement: ['expression'],\n ForStatement: ['init', 'test', 'update', 'body'],\n ForInStatement: ['left', 'right', 'body'],\n ForOfStatement: ['left', 'right', 'body'],\n FunctionDeclaration: ['id', 'params', 'body'],\n FunctionExpression: ['id', 'params', 'body'],\n GeneratorExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.\n Identifier: [],\n IfStatement: ['test', 'consequent', 'alternate'],\n ImportExpression: ['source'],\n ImportDeclaration: ['specifiers', 'source'],\n ImportDefaultSpecifier: ['local'],\n ImportNamespaceSpecifier: ['local'],\n ImportSpecifier: ['imported', 'local'],\n Literal: [],\n LabeledStatement: ['label', 'body'],\n LogicalExpression: ['left', 'right'],\n MemberExpression: ['object', 'property'],\n MetaProperty: ['meta', 'property'],\n MethodDefinition: ['key', 'value'],\n ModuleSpecifier: [],\n NewExpression: ['callee', 'arguments'],\n ObjectExpression: ['properties'],\n ObjectPattern: ['properties'],\n Program: ['body'],\n Property: ['key', 'value'],\n RestElement: [ 'argument' ],\n ReturnStatement: ['argument'],\n SequenceExpression: ['expressions'],\n SpreadElement: ['argument'],\n Super: [],\n SwitchStatement: ['discriminant', 'cases'],\n SwitchCase: ['test', 'consequent'],\n TaggedTemplateExpression: ['tag', 'quasi'],\n TemplateElement: [],\n TemplateLiteral: ['quasis', 'expressions'],\n ThisExpression: [],\n ThrowStatement: ['argument'],\n TryStatement: ['block', 'handler', 'finalizer'],\n UnaryExpression: ['argument'],\n UpdateExpression: ['argument'],\n VariableDeclaration: ['declarations'],\n VariableDeclarator: ['id', 'init'],\n WhileStatement: ['test', 'body'],\n WithStatement: ['object', 'body'],\n YieldExpression: ['argument']\n };\n\n // unique id\n BREAK = {};\n SKIP = {};\n REMOVE = {};\n\n VisitorOption = {\n Break: BREAK,\n Skip: SKIP,\n Remove: REMOVE\n };\n\n function Reference(parent, key) {\n this.parent = parent;\n this.key = key;\n }\n\n Reference.prototype.replace = function replace(node) {\n this.parent[this.key] = node;\n };\n\n Reference.prototype.remove = function remove() {\n if (Array.isArray(this.parent)) {\n this.parent.splice(this.key, 1);\n return true;\n } else {\n this.replace(null);\n return false;\n }\n };\n\n function Element(node, path, wrap, ref) {\n this.node = node;\n this.path = path;\n this.wrap = wrap;\n this.ref = ref;\n }\n\n function Controller() { }\n\n // API:\n // return property path array from root to current node\n Controller.prototype.path = function path() {\n var i, iz, j, jz, result, element;\n\n function addToPath(result, path) {\n if (Array.isArray(path)) {\n for (j = 0, jz = path.length; j < jz; ++j) {\n result.push(path[j]);\n }\n } else {\n result.push(path);\n }\n }\n\n // root node\n if (!this.__current.path) {\n return null;\n }\n\n // first node is sentinel, second node is root element\n result = [];\n for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {\n element = this.__leavelist[i];\n addToPath(result, element.path);\n }\n addToPath(result, this.__current.path);\n return result;\n };\n\n // API:\n // return type of current node\n Controller.prototype.type = function () {\n var node = this.current();\n return node.type || this.__current.wrap;\n };\n\n // API:\n // return array of parent elements\n Controller.prototype.parents = function parents() {\n var i, iz, result;\n\n // first node is sentinel\n result = [];\n for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {\n result.push(this.__leavelist[i].node);\n }\n\n return result;\n };\n\n // API:\n // return current node\n Controller.prototype.current = function current() {\n return this.__current.node;\n };\n\n Controller.prototype.__execute = function __execute(callback, element) {\n var previous, result;\n\n result = undefined;\n\n previous = this.__current;\n this.__current = element;\n this.__state = null;\n if (callback) {\n result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);\n }\n this.__current = previous;\n\n return result;\n };\n\n // API:\n // notify control skip / break\n Controller.prototype.notify = function notify(flag) {\n this.__state = flag;\n };\n\n // API:\n // skip child nodes of current node\n Controller.prototype.skip = function () {\n this.notify(SKIP);\n };\n\n // API:\n // break traversals\n Controller.prototype['break'] = function () {\n this.notify(BREAK);\n };\n\n // API:\n // remove node\n Controller.prototype.remove = function () {\n this.notify(REMOVE);\n };\n\n Controller.prototype.__initialize = function(root, visitor) {\n this.visitor = visitor;\n this.root = root;\n this.__worklist = [];\n this.__leavelist = [];\n this.__current = null;\n this.__state = null;\n this.__fallback = null;\n if (visitor.fallback === 'iteration') {\n this.__fallback = Object.keys;\n } else if (typeof visitor.fallback === 'function') {\n this.__fallback = visitor.fallback;\n }\n\n this.__keys = VisitorKeys;\n if (visitor.keys) {\n this.__keys = Object.assign(Object.create(this.__keys), visitor.keys);\n }\n };\n\n function isNode(node) {\n if (node == null) {\n return false;\n }\n return typeof node === 'object' && typeof node.type === 'string';\n }\n\n function isProperty(nodeType, key) {\n return (nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === key;\n }\n\n Controller.prototype.traverse = function traverse(root, visitor) {\n var worklist,\n leavelist,\n element,\n node,\n nodeType,\n ret,\n key,\n current,\n current2,\n candidates,\n candidate,\n sentinel;\n\n this.__initialize(root, visitor);\n\n sentinel = {};\n\n // reference\n worklist = this.__worklist;\n leavelist = this.__leavelist;\n\n // initialize\n worklist.push(new Element(root, null, null, null));\n leavelist.push(new Element(null, null, null, null));\n\n while (worklist.length) {\n element = worklist.pop();\n\n if (element === sentinel) {\n element = leavelist.pop();\n\n ret = this.__execute(visitor.leave, element);\n\n if (this.__state === BREAK || ret === BREAK) {\n return;\n }\n continue;\n }\n\n if (element.node) {\n\n ret = this.__execute(visitor.enter, element);\n\n if (this.__state === BREAK || ret === BREAK) {\n return;\n }\n\n worklist.push(sentinel);\n leavelist.push(element);\n\n if (this.__state === SKIP || ret === SKIP) {\n continue;\n }\n\n node = element.node;\n nodeType = node.type || element.wrap;\n candidates = this.__keys[nodeType];\n if (!candidates) {\n if (this.__fallback) {\n candidates = this.__fallback(node);\n } else {\n throw new Error('Unknown node type ' + nodeType + '.');\n }\n }\n\n current = candidates.length;\n while ((current -= 1) >= 0) {\n key = candidates[current];\n candidate = node[key];\n if (!candidate) {\n continue;\n }\n\n if (Array.isArray(candidate)) {\n current2 = candidate.length;\n while ((current2 -= 1) >= 0) {\n if (!candidate[current2]) {\n continue;\n }\n if (isProperty(nodeType, candidates[current])) {\n element = new Element(candidate[current2], [key, current2], 'Property', null);\n } else if (isNode(candidate[current2])) {\n element = new Element(candidate[current2], [key, current2], null, null);\n } else {\n continue;\n }\n worklist.push(element);\n }\n } else if (isNode(candidate)) {\n worklist.push(new Element(candidate, key, null, null));\n }\n }\n }\n }\n };\n\n Controller.prototype.replace = function replace(root, visitor) {\n var worklist,\n leavelist,\n node,\n nodeType,\n target,\n element,\n current,\n current2,\n candidates,\n candidate,\n sentinel,\n outer,\n key;\n\n function removeElem(element) {\n var i,\n key,\n nextElem,\n parent;\n\n if (element.ref.remove()) {\n // When the reference is an element of an array.\n key = element.ref.key;\n parent = element.ref.parent;\n\n // If removed from array, then decrease following items' keys.\n i = worklist.length;\n while (i--) {\n nextElem = worklist[i];\n if (nextElem.ref && nextElem.ref.parent === parent) {\n if (nextElem.ref.key < key) {\n break;\n }\n --nextElem.ref.key;\n }\n }\n }\n }\n\n this.__initialize(root, visitor);\n\n sentinel = {};\n\n // reference\n worklist = this.__worklist;\n leavelist = this.__leavelist;\n\n // initialize\n outer = {\n root: root\n };\n element = new Element(root, null, null, new Reference(outer, 'root'));\n worklist.push(element);\n leavelist.push(element);\n\n while (worklist.length) {\n element = worklist.pop();\n\n if (element === sentinel) {\n element = leavelist.pop();\n\n target = this.__execute(visitor.leave, element);\n\n // node may be replaced with null,\n // so distinguish between undefined and null in this place\n if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {\n // replace\n element.ref.replace(target);\n }\n\n if (this.__state === REMOVE || target === REMOVE) {\n removeElem(element);\n }\n\n if (this.__state === BREAK || target === BREAK) {\n return outer.root;\n }\n continue;\n }\n\n target = this.__execute(visitor.enter, element);\n\n // node may be replaced with null,\n // so distinguish between undefined and null in this place\n if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {\n // replace\n element.ref.replace(target);\n element.node = target;\n }\n\n if (this.__state === REMOVE || target === REMOVE) {\n removeElem(element);\n element.node = null;\n }\n\n if (this.__state === BREAK || target === BREAK) {\n return outer.root;\n }\n\n // node may be null\n node = element.node;\n if (!node) {\n continue;\n }\n\n worklist.push(sentinel);\n leavelist.push(element);\n\n if (this.__state === SKIP || target === SKIP) {\n continue;\n }\n\n nodeType = node.type || element.wrap;\n candidates = this.__keys[nodeType];\n if (!candidates) {\n if (this.__fallback) {\n candidates = this.__fallback(node);\n } else {\n throw new Error('Unknown node type ' + nodeType + '.');\n }\n }\n\n current = candidates.length;\n while ((current -= 1) >= 0) {\n key = candidates[current];\n candidate = node[key];\n if (!candidate) {\n continue;\n }\n\n if (Array.isArray(candidate)) {\n current2 = candidate.length;\n while ((current2 -= 1) >= 0) {\n if (!candidate[current2]) {\n continue;\n }\n if (isProperty(nodeType, candidates[current])) {\n element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));\n } else if (isNode(candidate[current2])) {\n element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));\n } else {\n continue;\n }\n worklist.push(element);\n }\n } else if (isNode(candidate)) {\n worklist.push(new Element(candidate, key, null, new Reference(node, key)));\n }\n }\n }\n\n return outer.root;\n };\n\n function traverse(root, visitor) {\n var controller = new Controller();\n return controller.traverse(root, visitor);\n }\n\n function replace(root, visitor) {\n var controller = new Controller();\n return controller.replace(root, visitor);\n }\n\n function extendCommentRange(comment, tokens) {\n var target;\n\n target = upperBound(tokens, function search(token) {\n return token.range[0] > comment.range[0];\n });\n\n comment.extendedRange = [comment.range[0], comment.range[1]];\n\n if (target !== tokens.length) {\n comment.extendedRange[1] = tokens[target].range[0];\n }\n\n target -= 1;\n if (target >= 0) {\n comment.extendedRange[0] = tokens[target].range[1];\n }\n\n return comment;\n }\n\n function attachComments(tree, providedComments, tokens) {\n // At first, we should calculate extended comment ranges.\n var comments = [], comment, len, i, cursor;\n\n if (!tree.range) {\n throw new Error('attachComments needs range information');\n }\n\n // tokens array is empty, we attach comments to tree as 'leadingComments'\n if (!tokens.length) {\n if (providedComments.length) {\n for (i = 0, len = providedComments.length; i < len; i += 1) {\n comment = deepCopy(providedComments[i]);\n comment.extendedRange = [0, tree.range[0]];\n comments.push(comment);\n }\n tree.leadingComments = comments;\n }\n return tree;\n }\n\n for (i = 0, len = providedComments.length; i < len; i += 1) {\n comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));\n }\n\n // This is based on John Freeman's implementation.\n cursor = 0;\n traverse(tree, {\n enter: function (node) {\n var comment;\n\n while (cursor < comments.length) {\n comment = comments[cursor];\n if (comment.extendedRange[1] > node.range[0]) {\n break;\n }\n\n if (comment.extendedRange[1] === node.range[0]) {\n if (!node.leadingComments) {\n node.leadingComments = [];\n }\n node.leadingComments.push(comment);\n comments.splice(cursor, 1);\n } else {\n cursor += 1;\n }\n }\n\n // already out of owned node\n if (cursor === comments.length) {\n return VisitorOption.Break;\n }\n\n if (comments[cursor].extendedRange[0] > node.range[1]) {\n return VisitorOption.Skip;\n }\n }\n });\n\n cursor = 0;\n traverse(tree, {\n leave: function (node) {\n var comment;\n\n while (cursor < comments.length) {\n comment = comments[cursor];\n if (node.range[1] < comment.extendedRange[0]) {\n break;\n }\n\n if (node.range[1] === comment.extendedRange[0]) {\n if (!node.trailingComments) {\n node.trailingComments = [];\n }\n node.trailingComments.push(comment);\n comments.splice(cursor, 1);\n } else {\n cursor += 1;\n }\n }\n\n // already out of owned node\n if (cursor === comments.length) {\n return VisitorOption.Break;\n }\n\n if (comments[cursor].extendedRange[0] > node.range[1]) {\n return VisitorOption.Skip;\n }\n }\n });\n\n return tree;\n }\n\n exports.version = (__webpack_require__(/*! ./package.json */ \"./node_modules/estraverse/package.json\").version);\n exports.Syntax = Syntax;\n exports.traverse = traverse;\n exports.replace = replace;\n exports.attachComments = attachComments;\n exports.VisitorKeys = VisitorKeys;\n exports.VisitorOption = VisitorOption;\n exports.Controller = Controller;\n exports.cloneEnvironment = function () { return clone({}); };\n\n return exports;\n}(exports));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/estraverse/estraverse.js?"); /***/ }), /***/ "./node_modules/events/events.js": /*!***************************************!*\ !*** ./node_modules/events/events.js ***! \***************************************/ /***/ ((module) => { "use strict"; eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/events/events.js?"); /***/ }), /***/ "./node_modules/fast-deep-equal/index.js": /*!***********************************************!*\ !*** ./node_modules/fast-deep-equal/index.js ***! \***********************************************/ /***/ ((module) => { "use strict"; eval("\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/fast-deep-equal/index.js?"); /***/ }), /***/ "./node_modules/fast-json-stable-stringify/index.js": /*!**********************************************************!*\ !*** ./node_modules/fast-json-stable-stringify/index.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = function (data, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (node) {\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n if (node === undefined) return;\n if (typeof node == 'number') return isFinite(node) ? '' + node : 'null';\n if (typeof node !== 'object') return JSON.stringify(node);\n\n var i, out;\n if (Array.isArray(node)) {\n out = '[';\n for (i = 0; i < node.length; i++) {\n if (i) out += ',';\n out += stringify(node[i]) || 'null';\n }\n return out + ']';\n }\n\n if (node === null) return 'null';\n\n if (seen.indexOf(node) !== -1) {\n if (cycles) return JSON.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n\n var seenIndex = seen.push(node) - 1;\n var keys = Object.keys(node).sort(cmp && cmp(node));\n out = '';\n for (i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node[key]);\n\n if (!value) continue;\n if (out) out += ',';\n out += JSON.stringify(key) + ':' + value;\n }\n seen.splice(seenIndex, 1);\n return '{' + out + '}';\n })(data);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/fast-json-stable-stringify/index.js?"); /***/ }), /***/ "./node_modules/glob-to-regexp/index.js": /*!**********************************************!*\ !*** ./node_modules/glob-to-regexp/index.js ***! \**********************************************/ /***/ ((module) => { eval("module.exports = function (glob, opts) {\n if (typeof glob !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n var str = String(glob);\n\n // The regexp we are building, as a string.\n var reStr = \"\";\n\n // Whether we are matching so called \"extended\" globs (like bash) and should\n // support single character matching, matching ranges of characters, group\n // matching, etc.\n var extended = opts ? !!opts.extended : false;\n\n // When globstar is _false_ (default), '/foo/*' is translated a regexp like\n // '^\\/foo\\/.*$' which will match any string beginning with '/foo/'\n // When globstar is _true_, '/foo/*' is translated to regexp like\n // '^\\/foo\\/[^/]*$' which will match any string beginning with '/foo/' BUT\n // which does not have a '/' to the right of it.\n // E.g. with '/foo/*' these will match: '/foo/bar', '/foo/bar.txt' but\n // these will not '/foo/bar/baz', '/foo/bar/baz.txt'\n // Lastely, when globstar is _true_, '/foo/**' is equivelant to '/foo/*' when\n // globstar is _false_\n var globstar = opts ? !!opts.globstar : false;\n\n // If we are doing extended matching, this boolean is true when we are inside\n // a group (eg {*.html,*.js}), and false otherwise.\n var inGroup = false;\n\n // RegExp flags (eg \"i\" ) to pass in to RegExp constructor.\n var flags = opts && typeof( opts.flags ) === \"string\" ? opts.flags : \"\";\n\n var c;\n for (var i = 0, len = str.length; i < len; i++) {\n c = str[i];\n\n switch (c) {\n case \"/\":\n case \"$\":\n case \"^\":\n case \"+\":\n case \".\":\n case \"(\":\n case \")\":\n case \"=\":\n case \"!\":\n case \"|\":\n reStr += \"\\\\\" + c;\n break;\n\n case \"?\":\n if (extended) {\n reStr += \".\";\n\t break;\n }\n\n case \"[\":\n case \"]\":\n if (extended) {\n reStr += c;\n\t break;\n }\n\n case \"{\":\n if (extended) {\n inGroup = true;\n\t reStr += \"(\";\n\t break;\n }\n\n case \"}\":\n if (extended) {\n inGroup = false;\n\t reStr += \")\";\n\t break;\n }\n\n case \",\":\n if (inGroup) {\n reStr += \"|\";\n\t break;\n }\n reStr += \"\\\\\" + c;\n break;\n\n case \"*\":\n // Move over all consecutive \"*\"'s.\n // Also store the previous and next characters\n var prevChar = str[i - 1];\n var starCount = 1;\n while(str[i + 1] === \"*\") {\n starCount++;\n i++;\n }\n var nextChar = str[i + 1];\n\n if (!globstar) {\n // globstar is disabled, so treat any number of \"*\" as one\n reStr += \".*\";\n } else {\n // globstar is enabled, so determine if this is a globstar segment\n var isGlobstar = starCount > 1 // multiple \"*\"'s\n && (prevChar === \"/\" || prevChar === undefined) // from the start of the segment\n && (nextChar === \"/\" || nextChar === undefined) // to the end of the segment\n\n if (isGlobstar) {\n // it's a globstar, so match zero or more path segments\n reStr += \"((?:[^/]*(?:\\/|$))*)\";\n i++; // move over the \"/\"\n } else {\n // it's not a globstar, so only match one path segment\n reStr += \"([^/]*)\";\n }\n }\n break;\n\n default:\n reStr += c;\n }\n }\n\n // When regexp 'g' flag is specified don't\n // constrain the regular expression with ^ & $\n if (!flags || !~flags.indexOf('g')) {\n reStr = \"^\" + reStr + \"$\";\n }\n\n return new RegExp(reStr, flags);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/glob-to-regexp/index.js?"); /***/ }), /***/ "./node_modules/graceful-fs/clone.js": /*!*******************************************!*\ !*** ./node_modules/graceful-fs/clone.js ***! \*******************************************/ /***/ ((module) => { "use strict"; eval("\n\nmodule.exports = clone\n\nvar getPrototypeOf = Object.getPrototypeOf || function (obj) {\n return obj.__proto__\n}\n\nfunction clone (obj) {\n if (obj === null || typeof obj !== 'object')\n return obj\n\n if (obj instanceof Object)\n var copy = { __proto__: getPrototypeOf(obj) }\n else\n var copy = Object.create(null)\n\n Object.getOwnPropertyNames(obj).forEach(function (key) {\n Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))\n })\n\n return copy\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/graceful-fs/clone.js?"); /***/ }), /***/ "./node_modules/graceful-fs/graceful-fs.js": /*!*************************************************!*\ !*** ./node_modules/graceful-fs/graceful-fs.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var fs = __webpack_require__(/*! fs */ \"?cbdb\")\nvar polyfills = __webpack_require__(/*! ./polyfills.js */ \"./node_modules/graceful-fs/polyfills.js\")\nvar legacy = __webpack_require__(/*! ./legacy-streams.js */ \"./node_modules/graceful-fs/legacy-streams.js\")\nvar clone = __webpack_require__(/*! ./clone.js */ \"./node_modules/graceful-fs/clone.js\")\n\nvar util = __webpack_require__(/*! util */ \"?7d11\")\n\n/* istanbul ignore next - node 0.x polyfill */\nvar gracefulQueue\nvar previousSymbol\n\n/* istanbul ignore else - node 0.x polyfill */\nif (typeof Symbol === 'function' && typeof Symbol.for === 'function') {\n gracefulQueue = Symbol.for('graceful-fs.queue')\n // This is used in testing by future versions\n previousSymbol = Symbol.for('graceful-fs.previous')\n} else {\n gracefulQueue = '___graceful-fs.queue'\n previousSymbol = '___graceful-fs.previous'\n}\n\nfunction noop () {}\n\nfunction publishQueue(context, queue) {\n Object.defineProperty(context, gracefulQueue, {\n get: function() {\n return queue\n }\n })\n}\n\nvar debug = noop\nif (util.debuglog)\n debug = util.debuglog('gfs4')\nelse if (/\\bgfs4\\b/i.test(process.env.NODE_DEBUG || ''))\n debug = function() {\n var m = util.format.apply(util, arguments)\n m = 'GFS4: ' + m.split(/\\n/).join('\\nGFS4: ')\n console.error(m)\n }\n\n// Once time initialization\nif (!fs[gracefulQueue]) {\n // This queue can be shared by multiple loaded instances\n var queue = __webpack_require__.g[gracefulQueue] || []\n publishQueue(fs, queue)\n\n // Patch fs.close/closeSync to shared queue version, because we need\n // to retry() whenever a close happens *anywhere* in the program.\n // This is essential when multiple graceful-fs instances are\n // in play at the same time.\n fs.close = (function (fs$close) {\n function close (fd, cb) {\n return fs$close.call(fs, fd, function (err) {\n // This function uses the graceful-fs shared queue\n if (!err) {\n resetQueue()\n }\n\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n })\n }\n\n Object.defineProperty(close, previousSymbol, {\n value: fs$close\n })\n return close\n })(fs.close)\n\n fs.closeSync = (function (fs$closeSync) {\n function closeSync (fd) {\n // This function uses the graceful-fs shared queue\n fs$closeSync.apply(fs, arguments)\n resetQueue()\n }\n\n Object.defineProperty(closeSync, previousSymbol, {\n value: fs$closeSync\n })\n return closeSync\n })(fs.closeSync)\n\n if (/\\bgfs4\\b/i.test(process.env.NODE_DEBUG || '')) {\n process.on('exit', function() {\n debug(fs[gracefulQueue])\n __webpack_require__(/*! assert */ \"?269e\").equal(fs[gracefulQueue].length, 0)\n })\n }\n}\n\nif (!__webpack_require__.g[gracefulQueue]) {\n publishQueue(__webpack_require__.g, fs[gracefulQueue]);\n}\n\nmodule.exports = patch(clone(fs))\nif (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {\n module.exports = patch(fs)\n fs.__patched = true;\n}\n\nfunction patch (fs) {\n // Everything that references the open() function needs to be in here\n polyfills(fs)\n fs.gracefulify = patch\n\n fs.createReadStream = createReadStream\n fs.createWriteStream = createWriteStream\n var fs$readFile = fs.readFile\n fs.readFile = readFile\n function readFile (path, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$readFile(path, options, cb)\n\n function go$readFile (path, options, cb, startTime) {\n return fs$readFile(path, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n }\n })\n }\n }\n\n var fs$writeFile = fs.writeFile\n fs.writeFile = writeFile\n function writeFile (path, data, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$writeFile(path, data, options, cb)\n\n function go$writeFile (path, data, options, cb, startTime) {\n return fs$writeFile(path, data, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n }\n })\n }\n }\n\n var fs$appendFile = fs.appendFile\n if (fs$appendFile)\n fs.appendFile = appendFile\n function appendFile (path, data, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n return go$appendFile(path, data, options, cb)\n\n function go$appendFile (path, data, options, cb, startTime) {\n return fs$appendFile(path, data, options, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n }\n })\n }\n }\n\n var fs$copyFile = fs.copyFile\n if (fs$copyFile)\n fs.copyFile = copyFile\n function copyFile (src, dest, flags, cb) {\n if (typeof flags === 'function') {\n cb = flags\n flags = 0\n }\n return go$copyFile(src, dest, flags, cb)\n\n function go$copyFile (src, dest, flags, cb, startTime) {\n return fs$copyFile(src, dest, flags, function (err) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$copyFile, [src, dest, flags, cb], err, startTime || Date.now(), Date.now()])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n }\n })\n }\n }\n\n var fs$readdir = fs.readdir\n fs.readdir = readdir\n var noReaddirOptionVersions = /^v[0-5]\\./\n function readdir (path, options, cb) {\n if (typeof options === 'function')\n cb = options, options = null\n\n var go$readdir = noReaddirOptionVersions.test(process.version)\n ? function go$readdir (path, options, cb, startTime) {\n return fs$readdir(path, fs$readdirCallback(\n path, options, cb, startTime\n ))\n }\n : function go$readdir (path, options, cb, startTime) {\n return fs$readdir(path, options, fs$readdirCallback(\n path, options, cb, startTime\n ))\n }\n\n return go$readdir(path, options, cb)\n\n function fs$readdirCallback (path, options, cb, startTime) {\n return function (err, files) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([\n go$readdir,\n [path, options, cb],\n err,\n startTime || Date.now(),\n Date.now()\n ])\n else {\n if (files && files.sort)\n files.sort()\n\n if (typeof cb === 'function')\n cb.call(this, err, files)\n }\n }\n }\n }\n\n if (process.version.substr(0, 4) === 'v0.8') {\n var legStreams = legacy(fs)\n ReadStream = legStreams.ReadStream\n WriteStream = legStreams.WriteStream\n }\n\n var fs$ReadStream = fs.ReadStream\n if (fs$ReadStream) {\n ReadStream.prototype = Object.create(fs$ReadStream.prototype)\n ReadStream.prototype.open = ReadStream$open\n }\n\n var fs$WriteStream = fs.WriteStream\n if (fs$WriteStream) {\n WriteStream.prototype = Object.create(fs$WriteStream.prototype)\n WriteStream.prototype.open = WriteStream$open\n }\n\n Object.defineProperty(fs, 'ReadStream', {\n get: function () {\n return ReadStream\n },\n set: function (val) {\n ReadStream = val\n },\n enumerable: true,\n configurable: true\n })\n Object.defineProperty(fs, 'WriteStream', {\n get: function () {\n return WriteStream\n },\n set: function (val) {\n WriteStream = val\n },\n enumerable: true,\n configurable: true\n })\n\n // legacy names\n var FileReadStream = ReadStream\n Object.defineProperty(fs, 'FileReadStream', {\n get: function () {\n return FileReadStream\n },\n set: function (val) {\n FileReadStream = val\n },\n enumerable: true,\n configurable: true\n })\n var FileWriteStream = WriteStream\n Object.defineProperty(fs, 'FileWriteStream', {\n get: function () {\n return FileWriteStream\n },\n set: function (val) {\n FileWriteStream = val\n },\n enumerable: true,\n configurable: true\n })\n\n function ReadStream (path, options) {\n if (this instanceof ReadStream)\n return fs$ReadStream.apply(this, arguments), this\n else\n return ReadStream.apply(Object.create(ReadStream.prototype), arguments)\n }\n\n function ReadStream$open () {\n var that = this\n open(that.path, that.flags, that.mode, function (err, fd) {\n if (err) {\n if (that.autoClose)\n that.destroy()\n\n that.emit('error', err)\n } else {\n that.fd = fd\n that.emit('open', fd)\n that.read()\n }\n })\n }\n\n function WriteStream (path, options) {\n if (this instanceof WriteStream)\n return fs$WriteStream.apply(this, arguments), this\n else\n return WriteStream.apply(Object.create(WriteStream.prototype), arguments)\n }\n\n function WriteStream$open () {\n var that = this\n open(that.path, that.flags, that.mode, function (err, fd) {\n if (err) {\n that.destroy()\n that.emit('error', err)\n } else {\n that.fd = fd\n that.emit('open', fd)\n }\n })\n }\n\n function createReadStream (path, options) {\n return new fs.ReadStream(path, options)\n }\n\n function createWriteStream (path, options) {\n return new fs.WriteStream(path, options)\n }\n\n var fs$open = fs.open\n fs.open = open\n function open (path, flags, mode, cb) {\n if (typeof mode === 'function')\n cb = mode, mode = null\n\n return go$open(path, flags, mode, cb)\n\n function go$open (path, flags, mode, cb, startTime) {\n return fs$open(path, flags, mode, function (err, fd) {\n if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))\n enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])\n else {\n if (typeof cb === 'function')\n cb.apply(this, arguments)\n }\n })\n }\n }\n\n return fs\n}\n\nfunction enqueue (elem) {\n debug('ENQUEUE', elem[0].name, elem[1])\n fs[gracefulQueue].push(elem)\n retry()\n}\n\n// keep track of the timeout between retry() calls\nvar retryTimer\n\n// reset the startTime and lastTime to now\n// this resets the start of the 60 second overall timeout as well as the\n// delay between attempts so that we'll retry these jobs sooner\nfunction resetQueue () {\n var now = Date.now()\n for (var i = 0; i < fs[gracefulQueue].length; ++i) {\n // entries that are only a length of 2 are from an older version, don't\n // bother modifying those since they'll be retried anyway.\n if (fs[gracefulQueue][i].length > 2) {\n fs[gracefulQueue][i][3] = now // startTime\n fs[gracefulQueue][i][4] = now // lastTime\n }\n }\n // call retry to make sure we're actively processing the queue\n retry()\n}\n\nfunction retry () {\n // clear the timer and remove it to help prevent unintended concurrency\n clearTimeout(retryTimer)\n retryTimer = undefined\n\n if (fs[gracefulQueue].length === 0)\n return\n\n var elem = fs[gracefulQueue].shift()\n var fn = elem[0]\n var args = elem[1]\n // these items may be unset if they were added by an older graceful-fs\n var err = elem[2]\n var startTime = elem[3]\n var lastTime = elem[4]\n\n // if we don't have a startTime we have no way of knowing if we've waited\n // long enough, so go ahead and retry this item now\n if (startTime === undefined) {\n debug('RETRY', fn.name, args)\n fn.apply(null, args)\n } else if (Date.now() - startTime >= 60000) {\n // it's been more than 60 seconds total, bail now\n debug('TIMEOUT', fn.name, args)\n var cb = args.pop()\n if (typeof cb === 'function')\n cb.call(null, err)\n } else {\n // the amount of time between the last attempt and right now\n var sinceAttempt = Date.now() - lastTime\n // the amount of time between when we first tried, and when we last tried\n // rounded up to at least 1\n var sinceStart = Math.max(lastTime - startTime, 1)\n // backoff. wait longer than the total time we've been retrying, but only\n // up to a maximum of 100ms\n var desiredDelay = Math.min(sinceStart * 1.2, 100)\n // it's been long enough since the last retry, do it again\n if (sinceAttempt >= desiredDelay) {\n debug('RETRY', fn.name, args)\n fn.apply(null, args.concat([startTime]))\n } else {\n // if we can't do this job yet, push it to the end of the queue\n // and let the next iteration check again\n fs[gracefulQueue].push(elem)\n }\n }\n\n // schedule our next run if one isn't already scheduled\n if (retryTimer === undefined) {\n retryTimer = setTimeout(retry, 0)\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/graceful-fs/graceful-fs.js?"); /***/ }), /***/ "./node_modules/graceful-fs/legacy-streams.js": /*!****************************************************!*\ !*** ./node_modules/graceful-fs/legacy-streams.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var Stream = (__webpack_require__(/*! stream */ \"?e654\").Stream)\n\nmodule.exports = legacy\n\nfunction legacy (fs) {\n return {\n ReadStream: ReadStream,\n WriteStream: WriteStream\n }\n\n function ReadStream (path, options) {\n if (!(this instanceof ReadStream)) return new ReadStream(path, options);\n\n Stream.call(this);\n\n var self = this;\n\n this.path = path;\n this.fd = null;\n this.readable = true;\n this.paused = false;\n\n this.flags = 'r';\n this.mode = 438; /*=0666*/\n this.bufferSize = 64 * 1024;\n\n options = options || {};\n\n // Mixin options into this\n var keys = Object.keys(options);\n for (var index = 0, length = keys.length; index < length; index++) {\n var key = keys[index];\n this[key] = options[key];\n }\n\n if (this.encoding) this.setEncoding(this.encoding);\n\n if (this.start !== undefined) {\n if ('number' !== typeof this.start) {\n throw TypeError('start must be a Number');\n }\n if (this.end === undefined) {\n this.end = Infinity;\n } else if ('number' !== typeof this.end) {\n throw TypeError('end must be a Number');\n }\n\n if (this.start > this.end) {\n throw new Error('start must be <= end');\n }\n\n this.pos = this.start;\n }\n\n if (this.fd !== null) {\n process.nextTick(function() {\n self._read();\n });\n return;\n }\n\n fs.open(this.path, this.flags, this.mode, function (err, fd) {\n if (err) {\n self.emit('error', err);\n self.readable = false;\n return;\n }\n\n self.fd = fd;\n self.emit('open', fd);\n self._read();\n })\n }\n\n function WriteStream (path, options) {\n if (!(this instanceof WriteStream)) return new WriteStream(path, options);\n\n Stream.call(this);\n\n this.path = path;\n this.fd = null;\n this.writable = true;\n\n this.flags = 'w';\n this.encoding = 'binary';\n this.mode = 438; /*=0666*/\n this.bytesWritten = 0;\n\n options = options || {};\n\n // Mixin options into this\n var keys = Object.keys(options);\n for (var index = 0, length = keys.length; index < length; index++) {\n var key = keys[index];\n this[key] = options[key];\n }\n\n if (this.start !== undefined) {\n if ('number' !== typeof this.start) {\n throw TypeError('start must be a Number');\n }\n if (this.start < 0) {\n throw new Error('start must be >= zero');\n }\n\n this.pos = this.start;\n }\n\n this.busy = false;\n this._queue = [];\n\n if (this.fd === null) {\n this._open = fs.open;\n this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);\n this.flush();\n }\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/graceful-fs/legacy-streams.js?"); /***/ }), /***/ "./node_modules/graceful-fs/polyfills.js": /*!***********************************************!*\ !*** ./node_modules/graceful-fs/polyfills.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var constants = __webpack_require__(/*! constants */ \"?309e\")\n\nvar origCwd = process.cwd\nvar cwd = null\n\nvar platform = process.env.GRACEFUL_FS_PLATFORM || process.platform\n\nprocess.cwd = function() {\n if (!cwd)\n cwd = origCwd.call(process)\n return cwd\n}\ntry {\n process.cwd()\n} catch (er) {}\n\n// This check is needed until node.js 12 is required\nif (typeof process.chdir === 'function') {\n var chdir = process.chdir\n process.chdir = function (d) {\n cwd = null\n chdir.call(process, d)\n }\n if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)\n}\n\nmodule.exports = patch\n\nfunction patch (fs) {\n // (re-)implement some things that are known busted or missing.\n\n // lchmod, broken prior to 0.6.2\n // back-port the fix here.\n if (constants.hasOwnProperty('O_SYMLINK') &&\n process.version.match(/^v0\\.6\\.[0-2]|^v0\\.5\\./)) {\n patchLchmod(fs)\n }\n\n // lutimes implementation, or no-op\n if (!fs.lutimes) {\n patchLutimes(fs)\n }\n\n // https://github.com/isaacs/node-graceful-fs/issues/4\n // Chown should not fail on einval or eperm if non-root.\n // It should not fail on enosys ever, as this just indicates\n // that a fs doesn't support the intended operation.\n\n fs.chown = chownFix(fs.chown)\n fs.fchown = chownFix(fs.fchown)\n fs.lchown = chownFix(fs.lchown)\n\n fs.chmod = chmodFix(fs.chmod)\n fs.fchmod = chmodFix(fs.fchmod)\n fs.lchmod = chmodFix(fs.lchmod)\n\n fs.chownSync = chownFixSync(fs.chownSync)\n fs.fchownSync = chownFixSync(fs.fchownSync)\n fs.lchownSync = chownFixSync(fs.lchownSync)\n\n fs.chmodSync = chmodFixSync(fs.chmodSync)\n fs.fchmodSync = chmodFixSync(fs.fchmodSync)\n fs.lchmodSync = chmodFixSync(fs.lchmodSync)\n\n fs.stat = statFix(fs.stat)\n fs.fstat = statFix(fs.fstat)\n fs.lstat = statFix(fs.lstat)\n\n fs.statSync = statFixSync(fs.statSync)\n fs.fstatSync = statFixSync(fs.fstatSync)\n fs.lstatSync = statFixSync(fs.lstatSync)\n\n // if lchmod/lchown do not exist, then make them no-ops\n if (fs.chmod && !fs.lchmod) {\n fs.lchmod = function (path, mode, cb) {\n if (cb) process.nextTick(cb)\n }\n fs.lchmodSync = function () {}\n }\n if (fs.chown && !fs.lchown) {\n fs.lchown = function (path, uid, gid, cb) {\n if (cb) process.nextTick(cb)\n }\n fs.lchownSync = function () {}\n }\n\n // on Windows, A/V software can lock the directory, causing this\n // to fail with an EACCES or EPERM if the directory contains newly\n // created files. Try again on failure, for up to 60 seconds.\n\n // Set the timeout this long because some Windows Anti-Virus, such as Parity\n // bit9, may lock files for up to a minute, causing npm package install\n // failures. Also, take care to yield the scheduler. Windows scheduling gives\n // CPU to a busy looping process, which can cause the program causing the lock\n // contention to be starved of CPU by node, so the contention doesn't resolve.\n if (platform === \"win32\") {\n fs.rename = typeof fs.rename !== 'function' ? fs.rename\n : (function (fs$rename) {\n function rename (from, to, cb) {\n var start = Date.now()\n var backoff = 0;\n fs$rename(from, to, function CB (er) {\n if (er\n && (er.code === \"EACCES\" || er.code === \"EPERM\")\n && Date.now() - start < 60000) {\n setTimeout(function() {\n fs.stat(to, function (stater, st) {\n if (stater && stater.code === \"ENOENT\")\n fs$rename(from, to, CB);\n else\n cb(er)\n })\n }, backoff)\n if (backoff < 100)\n backoff += 10;\n return;\n }\n if (cb) cb(er)\n })\n }\n if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename)\n return rename\n })(fs.rename)\n }\n\n // if read() returns EAGAIN, then just try it again.\n fs.read = typeof fs.read !== 'function' ? fs.read\n : (function (fs$read) {\n function read (fd, buffer, offset, length, position, callback_) {\n var callback\n if (callback_ && typeof callback_ === 'function') {\n var eagCounter = 0\n callback = function (er, _, __) {\n if (er && er.code === 'EAGAIN' && eagCounter < 10) {\n eagCounter ++\n return fs$read.call(fs, fd, buffer, offset, length, position, callback)\n }\n callback_.apply(this, arguments)\n }\n }\n return fs$read.call(fs, fd, buffer, offset, length, position, callback)\n }\n\n // This ensures `util.promisify` works as it does for native `fs.read`.\n if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)\n return read\n })(fs.read)\n\n fs.readSync = typeof fs.readSync !== 'function' ? fs.readSync\n : (function (fs$readSync) { return function (fd, buffer, offset, length, position) {\n var eagCounter = 0\n while (true) {\n try {\n return fs$readSync.call(fs, fd, buffer, offset, length, position)\n } catch (er) {\n if (er.code === 'EAGAIN' && eagCounter < 10) {\n eagCounter ++\n continue\n }\n throw er\n }\n }\n }})(fs.readSync)\n\n function patchLchmod (fs) {\n fs.lchmod = function (path, mode, callback) {\n fs.open( path\n , constants.O_WRONLY | constants.O_SYMLINK\n , mode\n , function (err, fd) {\n if (err) {\n if (callback) callback(err)\n return\n }\n // prefer to return the chmod error, if one occurs,\n // but still try to close, and report closing errors if they occur.\n fs.fchmod(fd, mode, function (err) {\n fs.close(fd, function(err2) {\n if (callback) callback(err || err2)\n })\n })\n })\n }\n\n fs.lchmodSync = function (path, mode) {\n var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)\n\n // prefer to return the chmod error, if one occurs,\n // but still try to close, and report closing errors if they occur.\n var threw = true\n var ret\n try {\n ret = fs.fchmodSync(fd, mode)\n threw = false\n } finally {\n if (threw) {\n try {\n fs.closeSync(fd)\n } catch (er) {}\n } else {\n fs.closeSync(fd)\n }\n }\n return ret\n }\n }\n\n function patchLutimes (fs) {\n if (constants.hasOwnProperty(\"O_SYMLINK\") && fs.futimes) {\n fs.lutimes = function (path, at, mt, cb) {\n fs.open(path, constants.O_SYMLINK, function (er, fd) {\n if (er) {\n if (cb) cb(er)\n return\n }\n fs.futimes(fd, at, mt, function (er) {\n fs.close(fd, function (er2) {\n if (cb) cb(er || er2)\n })\n })\n })\n }\n\n fs.lutimesSync = function (path, at, mt) {\n var fd = fs.openSync(path, constants.O_SYMLINK)\n var ret\n var threw = true\n try {\n ret = fs.futimesSync(fd, at, mt)\n threw = false\n } finally {\n if (threw) {\n try {\n fs.closeSync(fd)\n } catch (er) {}\n } else {\n fs.closeSync(fd)\n }\n }\n return ret\n }\n\n } else if (fs.futimes) {\n fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }\n fs.lutimesSync = function () {}\n }\n }\n\n function chmodFix (orig) {\n if (!orig) return orig\n return function (target, mode, cb) {\n return orig.call(fs, target, mode, function (er) {\n if (chownErOk(er)) er = null\n if (cb) cb.apply(this, arguments)\n })\n }\n }\n\n function chmodFixSync (orig) {\n if (!orig) return orig\n return function (target, mode) {\n try {\n return orig.call(fs, target, mode)\n } catch (er) {\n if (!chownErOk(er)) throw er\n }\n }\n }\n\n\n function chownFix (orig) {\n if (!orig) return orig\n return function (target, uid, gid, cb) {\n return orig.call(fs, target, uid, gid, function (er) {\n if (chownErOk(er)) er = null\n if (cb) cb.apply(this, arguments)\n })\n }\n }\n\n function chownFixSync (orig) {\n if (!orig) return orig\n return function (target, uid, gid) {\n try {\n return orig.call(fs, target, uid, gid)\n } catch (er) {\n if (!chownErOk(er)) throw er\n }\n }\n }\n\n function statFix (orig) {\n if (!orig) return orig\n // Older versions of Node erroneously returned signed integers for\n // uid + gid.\n return function (target, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = null\n }\n function callback (er, stats) {\n if (stats) {\n if (stats.uid < 0) stats.uid += 0x100000000\n if (stats.gid < 0) stats.gid += 0x100000000\n }\n if (cb) cb.apply(this, arguments)\n }\n return options ? orig.call(fs, target, options, callback)\n : orig.call(fs, target, callback)\n }\n }\n\n function statFixSync (orig) {\n if (!orig) return orig\n // Older versions of Node erroneously returned signed integers for\n // uid + gid.\n return function (target, options) {\n var stats = options ? orig.call(fs, target, options)\n : orig.call(fs, target)\n if (stats) {\n if (stats.uid < 0) stats.uid += 0x100000000\n if (stats.gid < 0) stats.gid += 0x100000000\n }\n return stats;\n }\n }\n\n // ENOSYS means that the fs doesn't support the op. Just ignore\n // that, because it doesn't matter.\n //\n // if there's no getuid, or if getuid() is something other\n // than 0, and the error is EINVAL or EPERM, then just ignore\n // it.\n //\n // This specific case is a silent failure in cp, install, tar,\n // and most other unix tools that manage permissions.\n //\n // When running as root, or if other types of errors are\n // encountered, then it's strict.\n function chownErOk (er) {\n if (!er)\n return true\n\n if (er.code === \"ENOSYS\")\n return true\n\n var nonroot = !process.getuid || process.getuid() !== 0\n if (nonroot) {\n if (er.code === \"EINVAL\" || er.code === \"EPERM\")\n return true\n }\n\n return false\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/graceful-fs/polyfills.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/Farm.js": /*!************************************************!*\ !*** ./node_modules/jest-worker/build/Farm.js ***! \************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _FifoQueue = _interopRequireDefault(__webpack_require__(/*! ./FifoQueue */ \"./node_modules/jest-worker/build/FifoQueue.js\"));\n\nvar _types = __webpack_require__(/*! ./types */ \"./node_modules/jest-worker/build/types.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nclass Farm {\n constructor(_numOfWorkers, _callback, options = {}) {\n var _options$workerSchedu, _options$taskQueue;\n\n _defineProperty(this, '_computeWorkerKey', void 0);\n\n _defineProperty(this, '_workerSchedulingPolicy', void 0);\n\n _defineProperty(this, '_cacheKeys', Object.create(null));\n\n _defineProperty(this, '_locks', []);\n\n _defineProperty(this, '_offset', 0);\n\n _defineProperty(this, '_taskQueue', void 0);\n\n this._numOfWorkers = _numOfWorkers;\n this._callback = _callback;\n this._computeWorkerKey = options.computeWorkerKey;\n this._workerSchedulingPolicy =\n (_options$workerSchedu = options.workerSchedulingPolicy) !== null &&\n _options$workerSchedu !== void 0\n ? _options$workerSchedu\n : 'round-robin';\n this._taskQueue =\n (_options$taskQueue = options.taskQueue) !== null &&\n _options$taskQueue !== void 0\n ? _options$taskQueue\n : new _FifoQueue.default();\n }\n\n doWork(method, ...args) {\n const customMessageListeners = new Set();\n\n const addCustomMessageListener = listener => {\n customMessageListeners.add(listener);\n return () => {\n customMessageListeners.delete(listener);\n };\n };\n\n const onCustomMessage = message => {\n customMessageListeners.forEach(listener => listener(message));\n };\n\n const promise = new Promise( // Bind args to this function so it won't reference to the parent scope.\n // This prevents a memory leak in v8, because otherwise the function will\n // retaine args for the closure.\n ((args, resolve, reject) => {\n const computeWorkerKey = this._computeWorkerKey;\n const request = [_types.CHILD_MESSAGE_CALL, false, method, args];\n let worker = null;\n let hash = null;\n\n if (computeWorkerKey) {\n hash = computeWorkerKey.call(this, method, ...args);\n worker = hash == null ? null : this._cacheKeys[hash];\n }\n\n const onStart = worker => {\n if (hash != null) {\n this._cacheKeys[hash] = worker;\n }\n };\n\n const onEnd = (error, result) => {\n customMessageListeners.clear();\n\n if (error) {\n reject(error);\n } else {\n resolve(result);\n }\n };\n\n const task = {\n onCustomMessage,\n onEnd,\n onStart,\n request\n };\n\n if (worker) {\n this._taskQueue.enqueue(task, worker.getWorkerId());\n\n this._process(worker.getWorkerId());\n } else {\n this._push(task);\n }\n }).bind(null, args)\n );\n promise.UNSTABLE_onCustomMessage = addCustomMessageListener;\n return promise;\n }\n\n _process(workerId) {\n if (this._isLocked(workerId)) {\n return this;\n }\n\n const task = this._taskQueue.dequeue(workerId);\n\n if (!task) {\n return this;\n }\n\n if (task.request[1]) {\n throw new Error('Queue implementation returned processed task');\n } // Reference the task object outside so it won't be retained by onEnd,\n // and other properties of the task object, such as task.request can be\n // garbage collected.\n\n const taskOnEnd = task.onEnd;\n\n const onEnd = (error, result) => {\n taskOnEnd(error, result);\n\n this._unlock(workerId);\n\n this._process(workerId);\n };\n\n task.request[1] = true;\n\n this._lock(workerId);\n\n this._callback(\n workerId,\n task.request,\n task.onStart,\n onEnd,\n task.onCustomMessage\n );\n\n return this;\n }\n\n _push(task) {\n this._taskQueue.enqueue(task);\n\n const offset = this._getNextWorkerOffset();\n\n for (let i = 0; i < this._numOfWorkers; i++) {\n this._process((offset + i) % this._numOfWorkers);\n\n if (task.request[1]) {\n break;\n }\n }\n\n return this;\n }\n\n _getNextWorkerOffset() {\n switch (this._workerSchedulingPolicy) {\n case 'in-order':\n return 0;\n\n case 'round-robin':\n return this._offset++;\n }\n }\n\n _lock(workerId) {\n this._locks[workerId] = true;\n }\n\n _unlock(workerId) {\n this._locks[workerId] = false;\n }\n\n _isLocked(workerId) {\n return this._locks[workerId];\n }\n}\n\nexports[\"default\"] = Farm;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/Farm.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/FifoQueue.js": /*!*****************************************************!*\ !*** ./node_modules/jest-worker/build/FifoQueue.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * First-in, First-out task queue that manages a dedicated pool\n * for each worker as well as a shared queue. The FIFO ordering is guaranteed\n * across the worker specific and shared queue.\n */\nclass FifoQueue {\n constructor() {\n _defineProperty(this, '_workerQueues', []);\n\n _defineProperty(this, '_sharedQueue', new InternalQueue());\n }\n\n enqueue(task, workerId) {\n if (workerId == null) {\n this._sharedQueue.enqueue(task);\n\n return;\n }\n\n let workerQueue = this._workerQueues[workerId];\n\n if (workerQueue == null) {\n workerQueue = this._workerQueues[workerId] = new InternalQueue();\n }\n\n const sharedTop = this._sharedQueue.peekLast();\n\n const item = {\n previousSharedTask: sharedTop,\n task\n };\n workerQueue.enqueue(item);\n }\n\n dequeue(workerId) {\n var _this$_workerQueues$w, _workerTop$previousSh, _workerTop$previousSh2;\n\n const workerTop =\n (_this$_workerQueues$w = this._workerQueues[workerId]) === null ||\n _this$_workerQueues$w === void 0\n ? void 0\n : _this$_workerQueues$w.peek();\n const sharedTaskIsProcessed =\n (_workerTop$previousSh =\n workerTop === null || workerTop === void 0\n ? void 0\n : (_workerTop$previousSh2 = workerTop.previousSharedTask) === null ||\n _workerTop$previousSh2 === void 0\n ? void 0\n : _workerTop$previousSh2.request[1]) !== null &&\n _workerTop$previousSh !== void 0\n ? _workerTop$previousSh\n : true; // Process the top task from the shared queue if\n // - there's no task in the worker specific queue or\n // - if the non-worker-specific task after which this worker specifif task\n // hasn been queued wasn't processed yet\n\n if (workerTop != null && sharedTaskIsProcessed) {\n var _this$_workerQueues$w2,\n _this$_workerQueues$w3,\n _this$_workerQueues$w4;\n\n return (_this$_workerQueues$w2 =\n (_this$_workerQueues$w3 = this._workerQueues[workerId]) === null ||\n _this$_workerQueues$w3 === void 0\n ? void 0\n : (_this$_workerQueues$w4 = _this$_workerQueues$w3.dequeue()) ===\n null || _this$_workerQueues$w4 === void 0\n ? void 0\n : _this$_workerQueues$w4.task) !== null &&\n _this$_workerQueues$w2 !== void 0\n ? _this$_workerQueues$w2\n : null;\n }\n\n return this._sharedQueue.dequeue();\n }\n}\n\nexports[\"default\"] = FifoQueue;\n\n/**\n * FIFO queue for a single worker / shared queue.\n */\nclass InternalQueue {\n constructor() {\n _defineProperty(this, '_head', null);\n\n _defineProperty(this, '_last', null);\n }\n\n enqueue(value) {\n const item = {\n next: null,\n value\n };\n\n if (this._last == null) {\n this._head = item;\n } else {\n this._last.next = item;\n }\n\n this._last = item;\n }\n\n dequeue() {\n if (this._head == null) {\n return null;\n }\n\n const item = this._head;\n this._head = item.next;\n\n if (this._head == null) {\n this._last = null;\n }\n\n return item.value;\n }\n\n peek() {\n var _this$_head$value, _this$_head;\n\n return (_this$_head$value =\n (_this$_head = this._head) === null || _this$_head === void 0\n ? void 0\n : _this$_head.value) !== null && _this$_head$value !== void 0\n ? _this$_head$value\n : null;\n }\n\n peekLast() {\n var _this$_last$value, _this$_last;\n\n return (_this$_last$value =\n (_this$_last = this._last) === null || _this$_last === void 0\n ? void 0\n : _this$_last.value) !== null && _this$_last$value !== void 0\n ? _this$_last$value\n : null;\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/FifoQueue.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/PriorityQueue.js": /*!*********************************************************!*\ !*** ./node_modules/jest-worker/build/PriorityQueue.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Priority queue that processes tasks in natural ordering (lower priority first)\n * accoridng to the priority computed by the function passed in the constructor.\n *\n * FIFO ordering isn't guaranteed for tasks with the same priority.\n *\n * Worker specific tasks with the same priority as a non-worker specific task\n * are always processed first.\n */\nclass PriorityQueue {\n constructor(_computePriority) {\n _defineProperty(this, '_queue', []);\n\n _defineProperty(this, '_sharedQueue', new MinHeap());\n\n this._computePriority = _computePriority;\n }\n\n enqueue(task, workerId) {\n if (workerId == null) {\n this._enqueue(task, this._sharedQueue);\n } else {\n const queue = this._getWorkerQueue(workerId);\n\n this._enqueue(task, queue);\n }\n }\n\n _enqueue(task, queue) {\n const item = {\n priority: this._computePriority(task.request[2], ...task.request[3]),\n task\n };\n queue.add(item);\n }\n\n dequeue(workerId) {\n const workerQueue = this._getWorkerQueue(workerId);\n\n const workerTop = workerQueue.peek();\n\n const sharedTop = this._sharedQueue.peek(); // use the task from the worker queue if there's no task in the shared queue\n // or if the priority of the worker queue is smaller or equal to the\n // priority of the top task in the shared queue. The tasks of the\n // worker specific queue are preferred because no other worker can pick this\n // specific task up.\n\n if (\n sharedTop == null ||\n (workerTop != null && workerTop.priority <= sharedTop.priority)\n ) {\n var _workerQueue$poll$tas, _workerQueue$poll;\n\n return (_workerQueue$poll$tas =\n (_workerQueue$poll = workerQueue.poll()) === null ||\n _workerQueue$poll === void 0\n ? void 0\n : _workerQueue$poll.task) !== null && _workerQueue$poll$tas !== void 0\n ? _workerQueue$poll$tas\n : null;\n }\n\n return this._sharedQueue.poll().task;\n }\n\n _getWorkerQueue(workerId) {\n let queue = this._queue[workerId];\n\n if (queue == null) {\n queue = this._queue[workerId] = new MinHeap();\n }\n\n return queue;\n }\n}\n\nexports[\"default\"] = PriorityQueue;\n\nclass MinHeap {\n constructor() {\n _defineProperty(this, '_heap', []);\n }\n\n peek() {\n var _this$_heap$;\n\n return (_this$_heap$ = this._heap[0]) !== null && _this$_heap$ !== void 0\n ? _this$_heap$\n : null;\n }\n\n add(item) {\n const nodes = this._heap;\n nodes.push(item);\n\n if (nodes.length === 1) {\n return;\n }\n\n let currentIndex = nodes.length - 1; // Bubble up the added node as long as the parent is bigger\n\n while (currentIndex > 0) {\n const parentIndex = Math.floor((currentIndex + 1) / 2) - 1;\n const parent = nodes[parentIndex];\n\n if (parent.priority <= item.priority) {\n break;\n }\n\n nodes[currentIndex] = parent;\n nodes[parentIndex] = item;\n currentIndex = parentIndex;\n }\n }\n\n poll() {\n const nodes = this._heap;\n const result = nodes[0];\n const lastElement = nodes.pop(); // heap was empty or removed the last element\n\n if (result == null || nodes.length === 0) {\n return result !== null && result !== void 0 ? result : null;\n }\n\n let index = 0;\n nodes[0] =\n lastElement !== null && lastElement !== void 0 ? lastElement : null;\n const element = nodes[0];\n\n while (true) {\n let swapIndex = null;\n const rightChildIndex = (index + 1) * 2;\n const leftChildIndex = rightChildIndex - 1;\n const rightChild = nodes[rightChildIndex];\n const leftChild = nodes[leftChildIndex]; // if the left child is smaller, swap with the left\n\n if (leftChild != null && leftChild.priority < element.priority) {\n swapIndex = leftChildIndex;\n } // If the right child is smaller or the right child is smaller than the left\n // then swap with the right child\n\n if (\n rightChild != null &&\n rightChild.priority < (swapIndex == null ? element : leftChild).priority\n ) {\n swapIndex = rightChildIndex;\n }\n\n if (swapIndex == null) {\n break;\n }\n\n nodes[index] = nodes[swapIndex];\n nodes[swapIndex] = element;\n index = swapIndex;\n }\n\n return result;\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/PriorityQueue.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/WorkerPool.js": /*!******************************************************!*\ !*** ./node_modules/jest-worker/build/WorkerPool.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _BaseWorkerPool = _interopRequireDefault(__webpack_require__(/*! ./base/BaseWorkerPool */ \"./node_modules/jest-worker/build/base/BaseWorkerPool.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nconst canUseWorkerThreads = () => {\n try {\n __webpack_require__(/*! worker_threads */ \"?9e44\");\n\n return true;\n } catch {\n return false;\n }\n};\n\nclass WorkerPool extends _BaseWorkerPool.default {\n send(workerId, request, onStart, onEnd, onCustomMessage) {\n this.getWorkerById(workerId).send(request, onStart, onEnd, onCustomMessage);\n }\n\n createWorker(workerOptions) {\n let Worker;\n\n if (this._options.enableWorkerThreads && canUseWorkerThreads()) {\n Worker = (__webpack_require__(/*! ./workers/NodeThreadsWorker */ \"./node_modules/jest-worker/build/workers/NodeThreadsWorker.js\")[\"default\"]);\n } else {\n Worker = (__webpack_require__(/*! ./workers/ChildProcessWorker */ \"./node_modules/jest-worker/build/workers/ChildProcessWorker.js\")[\"default\"]);\n }\n\n return new Worker(workerOptions);\n }\n}\n\nvar _default = WorkerPool;\nexports[\"default\"] = _default;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/WorkerPool.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/base/BaseWorkerPool.js": /*!***************************************************************!*\ !*** ./node_modules/jest-worker/build/base/BaseWorkerPool.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nfunction path() {\n const data = _interopRequireWildcard(__webpack_require__(/*! path */ \"?8f01\"));\n\n path = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _mergeStream() {\n const data = _interopRequireDefault(__webpack_require__(/*! merge-stream */ \"./node_modules/merge-stream/index.js\"));\n\n _mergeStream = function () {\n return data;\n };\n\n return data;\n}\n\nvar _types = __webpack_require__(/*! ../types */ \"./node_modules/jest-worker/build/types.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== 'function') return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function (nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\n\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {\n return {default: obj};\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor =\n Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor\n ? Object.getOwnPropertyDescriptor(obj, key)\n : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n// How long to wait for the child process to terminate\n// after CHILD_MESSAGE_END before sending force exiting.\nconst FORCE_EXIT_DELAY = 500;\n/* istanbul ignore next */\n\nconst emptyMethod = () => {};\n\nclass BaseWorkerPool {\n constructor(workerPath, options) {\n _defineProperty(this, '_stderr', void 0);\n\n _defineProperty(this, '_stdout', void 0);\n\n _defineProperty(this, '_options', void 0);\n\n _defineProperty(this, '_workers', void 0);\n\n this._options = options;\n this._workers = new Array(options.numWorkers);\n\n if (!path().isAbsolute(workerPath)) {\n workerPath = /*require.resolve*/(__webpack_require__(\"./node_modules/jest-worker/build/base sync recursive\").resolve(workerPath));\n }\n\n const stdout = (0, _mergeStream().default)();\n const stderr = (0, _mergeStream().default)();\n const {forkOptions, maxRetries, resourceLimits, setupArgs} = options;\n\n for (let i = 0; i < options.numWorkers; i++) {\n const workerOptions = {\n forkOptions,\n maxRetries,\n resourceLimits,\n setupArgs,\n workerId: i,\n workerPath\n };\n const worker = this.createWorker(workerOptions);\n const workerStdout = worker.getStdout();\n const workerStderr = worker.getStderr();\n\n if (workerStdout) {\n stdout.add(workerStdout);\n }\n\n if (workerStderr) {\n stderr.add(workerStderr);\n }\n\n this._workers[i] = worker;\n }\n\n this._stdout = stdout;\n this._stderr = stderr;\n }\n\n getStderr() {\n return this._stderr;\n }\n\n getStdout() {\n return this._stdout;\n }\n\n getWorkers() {\n return this._workers;\n }\n\n getWorkerById(workerId) {\n return this._workers[workerId];\n }\n\n createWorker(_workerOptions) {\n throw Error('Missing method createWorker in WorkerPool');\n }\n\n async end() {\n // We do not cache the request object here. If so, it would only be only\n // processed by one of the workers, and we want them all to close.\n const workerExitPromises = this._workers.map(async worker => {\n worker.send(\n [_types.CHILD_MESSAGE_END, false],\n emptyMethod,\n emptyMethod,\n emptyMethod\n ); // Schedule a force exit in case worker fails to exit gracefully so\n // await worker.waitForExit() never takes longer than FORCE_EXIT_DELAY\n\n let forceExited = false;\n const forceExitTimeout = setTimeout(() => {\n worker.forceExit();\n forceExited = true;\n }, FORCE_EXIT_DELAY);\n await worker.waitForExit(); // Worker ideally exited gracefully, don't send force exit then\n\n clearTimeout(forceExitTimeout);\n return forceExited;\n });\n\n const workerExits = await Promise.all(workerExitPromises);\n return workerExits.reduce(\n (result, forceExited) => ({\n forceExited: result.forceExited || forceExited\n }),\n {\n forceExited: false\n }\n );\n }\n}\n\nexports[\"default\"] = BaseWorkerPool;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/base/BaseWorkerPool.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/base sync recursive": /*!***************************************************!*\ !*** ./node_modules/jest-worker/build/base/ sync ***! \***************************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/jest-worker/build/base sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/base/_sync?"); /***/ }), /***/ "./node_modules/jest-worker/build/index.js": /*!*************************************************!*\ !*** ./node_modules/jest-worker/build/index.js ***! \*************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"FifoQueue\", ({\n enumerable: true,\n get: function () {\n return _FifoQueue.default;\n }\n}));\nObject.defineProperty(exports, \"PriorityQueue\", ({\n enumerable: true,\n get: function () {\n return _PriorityQueue.default;\n }\n}));\nexports.Worker = void 0;\nObject.defineProperty(exports, \"messageParent\", ({\n enumerable: true,\n get: function () {\n return _messageParent.default;\n }\n}));\n\nfunction _os() {\n const data = __webpack_require__(/*! os */ \"?e02a\");\n\n _os = function () {\n return data;\n };\n\n return data;\n}\n\nvar _Farm = _interopRequireDefault(__webpack_require__(/*! ./Farm */ \"./node_modules/jest-worker/build/Farm.js\"));\n\nvar _WorkerPool = _interopRequireDefault(__webpack_require__(/*! ./WorkerPool */ \"./node_modules/jest-worker/build/WorkerPool.js\"));\n\nvar _PriorityQueue = _interopRequireDefault(__webpack_require__(/*! ./PriorityQueue */ \"./node_modules/jest-worker/build/PriorityQueue.js\"));\n\nvar _FifoQueue = _interopRequireDefault(__webpack_require__(/*! ./FifoQueue */ \"./node_modules/jest-worker/build/FifoQueue.js\"));\n\nvar _messageParent = _interopRequireDefault(__webpack_require__(/*! ./workers/messageParent */ \"./node_modules/jest-worker/build/workers/messageParent.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction getExposedMethods(workerPath, options) {\n let exposedMethods = options.exposedMethods; // If no methods list is given, try getting it by auto-requiring the module.\n\n if (!exposedMethods) {\n const module = __webpack_require__(\"./node_modules/jest-worker/build sync recursive\")(workerPath);\n\n exposedMethods = Object.keys(module).filter(\n // @ts-expect-error: no index\n name => typeof module[name] === 'function'\n );\n\n if (typeof module === 'function') {\n exposedMethods = [...exposedMethods, 'default'];\n }\n }\n\n return exposedMethods;\n}\n/**\n * The Jest farm (publicly called \"Worker\") is a class that allows you to queue\n * methods across multiple child processes, in order to parallelize work. This\n * is done by providing an absolute path to a module that will be loaded on each\n * of the child processes, and bridged to the main process.\n *\n * Bridged methods are specified by using the \"exposedMethods\" property of the\n * \"options\" object. This is an array of strings, where each of them corresponds\n * to the exported name in the loaded module.\n *\n * You can also control the amount of workers by using the \"numWorkers\" property\n * of the \"options\" object, and the settings passed to fork the process through\n * the \"forkOptions\" property. The amount of workers defaults to the amount of\n * CPUS minus one.\n *\n * Queueing calls can be done in two ways:\n * - Standard method: calls will be redirected to the first available worker,\n * so they will get executed as soon as they can.\n *\n * - Sticky method: if a \"computeWorkerKey\" method is provided within the\n * config, the resulting string of this method will be used as a key.\n * Every time this key is returned, it is guaranteed that your job will be\n * processed by the same worker. This is specially useful if your workers\n * are caching results.\n */\n\nclass Worker {\n constructor(workerPath, options) {\n var _this$_options$enable,\n _this$_options$forkOp,\n _this$_options$maxRet,\n _this$_options$numWor,\n _this$_options$resour,\n _this$_options$setupA;\n\n _defineProperty(this, '_ending', void 0);\n\n _defineProperty(this, '_farm', void 0);\n\n _defineProperty(this, '_options', void 0);\n\n _defineProperty(this, '_workerPool', void 0);\n\n this._options = {...options};\n this._ending = false;\n const workerPoolOptions = {\n enableWorkerThreads:\n (_this$_options$enable = this._options.enableWorkerThreads) !== null &&\n _this$_options$enable !== void 0\n ? _this$_options$enable\n : false,\n forkOptions:\n (_this$_options$forkOp = this._options.forkOptions) !== null &&\n _this$_options$forkOp !== void 0\n ? _this$_options$forkOp\n : {},\n maxRetries:\n (_this$_options$maxRet = this._options.maxRetries) !== null &&\n _this$_options$maxRet !== void 0\n ? _this$_options$maxRet\n : 3,\n numWorkers:\n (_this$_options$numWor = this._options.numWorkers) !== null &&\n _this$_options$numWor !== void 0\n ? _this$_options$numWor\n : Math.max((0, _os().cpus)().length - 1, 1),\n resourceLimits:\n (_this$_options$resour = this._options.resourceLimits) !== null &&\n _this$_options$resour !== void 0\n ? _this$_options$resour\n : {},\n setupArgs:\n (_this$_options$setupA = this._options.setupArgs) !== null &&\n _this$_options$setupA !== void 0\n ? _this$_options$setupA\n : []\n };\n\n if (this._options.WorkerPool) {\n // @ts-expect-error: constructor target any?\n this._workerPool = new this._options.WorkerPool(\n workerPath,\n workerPoolOptions\n );\n } else {\n this._workerPool = new _WorkerPool.default(workerPath, workerPoolOptions);\n }\n\n this._farm = new _Farm.default(\n workerPoolOptions.numWorkers,\n this._workerPool.send.bind(this._workerPool),\n {\n computeWorkerKey: this._options.computeWorkerKey,\n taskQueue: this._options.taskQueue,\n workerSchedulingPolicy: this._options.workerSchedulingPolicy\n }\n );\n\n this._bindExposedWorkerMethods(workerPath, this._options);\n }\n\n _bindExposedWorkerMethods(workerPath, options) {\n getExposedMethods(workerPath, options).forEach(name => {\n if (name.startsWith('_')) {\n return;\n }\n\n if (this.constructor.prototype.hasOwnProperty(name)) {\n throw new TypeError('Cannot define a method called ' + name);\n } // @ts-expect-error: dynamic extension of the class instance is expected.\n\n this[name] = this._callFunctionWithArgs.bind(this, name);\n });\n }\n\n _callFunctionWithArgs(method, ...args) {\n if (this._ending) {\n throw new Error('Farm is ended, no more calls can be done to it');\n }\n\n return this._farm.doWork(method, ...args);\n }\n\n getStderr() {\n return this._workerPool.getStderr();\n }\n\n getStdout() {\n return this._workerPool.getStdout();\n }\n\n async end() {\n if (this._ending) {\n throw new Error('Farm is ended, no more calls can be done to it');\n }\n\n this._ending = true;\n return this._workerPool.end();\n }\n}\n\nexports.Worker = Worker;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/index.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/types.js": /*!*************************************************!*\ !*** ./node_modules/jest-worker/build/types.js ***! \*************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.PARENT_MESSAGE_SETUP_ERROR =\n exports.PARENT_MESSAGE_OK =\n exports.PARENT_MESSAGE_CUSTOM =\n exports.PARENT_MESSAGE_CLIENT_ERROR =\n exports.CHILD_MESSAGE_INITIALIZE =\n exports.CHILD_MESSAGE_END =\n exports.CHILD_MESSAGE_CALL =\n void 0;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n// import type {ResourceLimits} from 'worker_threads';\n// This is not present in the Node 12 typings\n// Because of the dynamic nature of a worker communication process, all messages\n// coming from any of the other processes cannot be typed. Thus, many types\n// include \"unknown\" as a TS type, which is (unfortunately) correct here.\nconst CHILD_MESSAGE_INITIALIZE = 0;\nexports.CHILD_MESSAGE_INITIALIZE = CHILD_MESSAGE_INITIALIZE;\nconst CHILD_MESSAGE_CALL = 1;\nexports.CHILD_MESSAGE_CALL = CHILD_MESSAGE_CALL;\nconst CHILD_MESSAGE_END = 2;\nexports.CHILD_MESSAGE_END = CHILD_MESSAGE_END;\nconst PARENT_MESSAGE_OK = 0;\nexports.PARENT_MESSAGE_OK = PARENT_MESSAGE_OK;\nconst PARENT_MESSAGE_CLIENT_ERROR = 1;\nexports.PARENT_MESSAGE_CLIENT_ERROR = PARENT_MESSAGE_CLIENT_ERROR;\nconst PARENT_MESSAGE_SETUP_ERROR = 2;\nexports.PARENT_MESSAGE_SETUP_ERROR = PARENT_MESSAGE_SETUP_ERROR;\nconst PARENT_MESSAGE_CUSTOM = 3;\nexports.PARENT_MESSAGE_CUSTOM = PARENT_MESSAGE_CUSTOM;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/types.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/workers/ChildProcessWorker.js": /*!**********************************************************************!*\ !*** ./node_modules/jest-worker/build/workers/ChildProcessWorker.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nfunction _child_process() {\n const data = __webpack_require__(/*! child_process */ \"?e3e5\");\n\n _child_process = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _stream() {\n const data = __webpack_require__(/*! stream */ \"?f16d\");\n\n _stream = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _mergeStream() {\n const data = _interopRequireDefault(__webpack_require__(/*! merge-stream */ \"./node_modules/merge-stream/index.js\"));\n\n _mergeStream = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _supportsColor() {\n const data = __webpack_require__(/*! supports-color */ \"./node_modules/supports-color/browser.js\");\n\n _supportsColor = function () {\n return data;\n };\n\n return data;\n}\n\nvar _types = __webpack_require__(/*! ../types */ \"./node_modules/jest-worker/build/types.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nconst SIGNAL_BASE_EXIT_CODE = 128;\nconst SIGKILL_EXIT_CODE = SIGNAL_BASE_EXIT_CODE + 9;\nconst SIGTERM_EXIT_CODE = SIGNAL_BASE_EXIT_CODE + 15; // How long to wait after SIGTERM before sending SIGKILL\n\nconst SIGKILL_DELAY = 500;\n/**\n * This class wraps the child process and provides a nice interface to\n * communicate with. It takes care of:\n *\n * - Re-spawning the process if it dies.\n * - Queues calls while the worker is busy.\n * - Re-sends the requests if the worker blew up.\n *\n * The reason for queueing them here (since childProcess.send also has an\n * internal queue) is because the worker could be doing asynchronous work, and\n * this would lead to the child process to read its receiving buffer and start a\n * second call. By queueing calls here, we don't send the next call to the\n * children until we receive the result of the previous one.\n *\n * As soon as a request starts to be processed by a worker, its \"processed\"\n * field is changed to \"true\", so that other workers which might encounter the\n * same call skip it.\n */\n\nclass ChildProcessWorker {\n constructor(options) {\n _defineProperty(this, '_child', void 0);\n\n _defineProperty(this, '_options', void 0);\n\n _defineProperty(this, '_request', void 0);\n\n _defineProperty(this, '_retries', void 0);\n\n _defineProperty(this, '_onProcessEnd', void 0);\n\n _defineProperty(this, '_onCustomMessage', void 0);\n\n _defineProperty(this, '_fakeStream', void 0);\n\n _defineProperty(this, '_stdout', void 0);\n\n _defineProperty(this, '_stderr', void 0);\n\n _defineProperty(this, '_exitPromise', void 0);\n\n _defineProperty(this, '_resolveExitPromise', void 0);\n\n this._options = options;\n this._request = null;\n this._fakeStream = null;\n this._stdout = null;\n this._stderr = null;\n this._exitPromise = new Promise(resolve => {\n this._resolveExitPromise = resolve;\n });\n this.initialize();\n }\n\n initialize() {\n const forceColor = _supportsColor().stdout\n ? {\n FORCE_COLOR: '1'\n }\n : {};\n const child = (0, _child_process().fork)(\n /*require.resolve*/(/*! ./processChild */ \"./node_modules/jest-worker/build/workers/processChild.js\"),\n [],\n {\n cwd: process.cwd(),\n env: {\n ...process.env,\n JEST_WORKER_ID: String(this._options.workerId + 1),\n // 0-indexed workerId, 1-indexed JEST_WORKER_ID\n ...forceColor\n },\n // Suppress --debug / --inspect flags while preserving others (like --harmony).\n execArgv: process.execArgv.filter(v => !/^--(debug|inspect)/.test(v)),\n silent: true,\n ...this._options.forkOptions\n }\n );\n\n if (child.stdout) {\n if (!this._stdout) {\n // We need to add a permanent stream to the merged stream to prevent it\n // from ending when the subprocess stream ends\n this._stdout = (0, _mergeStream().default)(this._getFakeStream());\n }\n\n this._stdout.add(child.stdout);\n }\n\n if (child.stderr) {\n if (!this._stderr) {\n // We need to add a permanent stream to the merged stream to prevent it\n // from ending when the subprocess stream ends\n this._stderr = (0, _mergeStream().default)(this._getFakeStream());\n }\n\n this._stderr.add(child.stderr);\n }\n\n child.on('message', this._onMessage.bind(this));\n child.on('exit', this._onExit.bind(this));\n child.send([\n _types.CHILD_MESSAGE_INITIALIZE,\n false,\n this._options.workerPath,\n this._options.setupArgs\n ]);\n this._child = child;\n this._retries++; // If we exceeded the amount of retries, we will emulate an error reply\n // coming from the child. This avoids code duplication related with cleaning\n // the queue, and scheduling the next call.\n\n if (this._retries > this._options.maxRetries) {\n const error = new Error(\n `Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`\n );\n\n this._onMessage([\n _types.PARENT_MESSAGE_CLIENT_ERROR,\n error.name,\n error.message,\n error.stack,\n {\n type: 'WorkerError'\n }\n ]);\n }\n }\n\n _shutdown() {\n // End the temporary streams so the merged streams end too\n if (this._fakeStream) {\n this._fakeStream.end();\n\n this._fakeStream = null;\n }\n\n this._resolveExitPromise();\n }\n\n _onMessage(response) {\n // TODO: Add appropriate type check\n let error;\n\n switch (response[0]) {\n case _types.PARENT_MESSAGE_OK:\n this._onProcessEnd(null, response[1]);\n\n break;\n\n case _types.PARENT_MESSAGE_CLIENT_ERROR:\n error = response[4];\n\n if (error != null && typeof error === 'object') {\n const extra = error; // @ts-expect-error: no index\n\n const NativeCtor = __webpack_require__.g[response[1]];\n const Ctor = typeof NativeCtor === 'function' ? NativeCtor : Error;\n error = new Ctor(response[2]);\n error.type = response[1];\n error.stack = response[3];\n\n for (const key in extra) {\n error[key] = extra[key];\n }\n }\n\n this._onProcessEnd(error, null);\n\n break;\n\n case _types.PARENT_MESSAGE_SETUP_ERROR:\n error = new Error('Error when calling setup: ' + response[2]);\n error.type = response[1];\n error.stack = response[3];\n\n this._onProcessEnd(error, null);\n\n break;\n\n case _types.PARENT_MESSAGE_CUSTOM:\n this._onCustomMessage(response[1]);\n\n break;\n\n default:\n throw new TypeError('Unexpected response from worker: ' + response[0]);\n }\n }\n\n _onExit(exitCode) {\n if (\n exitCode !== 0 &&\n exitCode !== null &&\n exitCode !== SIGTERM_EXIT_CODE &&\n exitCode !== SIGKILL_EXIT_CODE\n ) {\n this.initialize();\n\n if (this._request) {\n this._child.send(this._request);\n }\n } else {\n this._shutdown();\n }\n }\n\n send(request, onProcessStart, onProcessEnd, onCustomMessage) {\n onProcessStart(this);\n\n this._onProcessEnd = (...args) => {\n // Clean the request to avoid sending past requests to workers that fail\n // while waiting for a new request (timers, unhandled rejections...)\n this._request = null;\n return onProcessEnd(...args);\n };\n\n this._onCustomMessage = (...arg) => onCustomMessage(...arg);\n\n this._request = request;\n this._retries = 0;\n\n this._child.send(request, () => {});\n }\n\n waitForExit() {\n return this._exitPromise;\n }\n\n forceExit() {\n this._child.kill('SIGTERM');\n\n const sigkillTimeout = setTimeout(\n () => this._child.kill('SIGKILL'),\n SIGKILL_DELAY\n );\n\n this._exitPromise.then(() => clearTimeout(sigkillTimeout));\n }\n\n getWorkerId() {\n return this._options.workerId;\n }\n\n getStdout() {\n return this._stdout;\n }\n\n getStderr() {\n return this._stderr;\n }\n\n _getFakeStream() {\n if (!this._fakeStream) {\n this._fakeStream = new (_stream().PassThrough)();\n }\n\n return this._fakeStream;\n }\n}\n\nexports[\"default\"] = ChildProcessWorker;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/workers/ChildProcessWorker.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/workers/NodeThreadsWorker.js": /*!*********************************************************************!*\ !*** ./node_modules/jest-worker/build/workers/NodeThreadsWorker.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("var __dirname = \"/\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nfunction path() {\n const data = _interopRequireWildcard(__webpack_require__(/*! path */ \"?9391\"));\n\n path = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _stream() {\n const data = __webpack_require__(/*! stream */ \"?f16d\");\n\n _stream = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _worker_threads() {\n const data = __webpack_require__(/*! worker_threads */ \"?3694\");\n\n _worker_threads = function () {\n return data;\n };\n\n return data;\n}\n\nfunction _mergeStream() {\n const data = _interopRequireDefault(__webpack_require__(/*! merge-stream */ \"./node_modules/merge-stream/index.js\"));\n\n _mergeStream = function () {\n return data;\n };\n\n return data;\n}\n\nvar _types = __webpack_require__(/*! ../types */ \"./node_modules/jest-worker/build/types.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== 'function') return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function (nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\n\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {\n return {default: obj};\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor =\n Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor\n ? Object.getOwnPropertyDescriptor(obj, key)\n : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nclass ExperimentalWorker {\n constructor(options) {\n _defineProperty(this, '_worker', void 0);\n\n _defineProperty(this, '_options', void 0);\n\n _defineProperty(this, '_request', void 0);\n\n _defineProperty(this, '_retries', void 0);\n\n _defineProperty(this, '_onProcessEnd', void 0);\n\n _defineProperty(this, '_onCustomMessage', void 0);\n\n _defineProperty(this, '_fakeStream', void 0);\n\n _defineProperty(this, '_stdout', void 0);\n\n _defineProperty(this, '_stderr', void 0);\n\n _defineProperty(this, '_exitPromise', void 0);\n\n _defineProperty(this, '_resolveExitPromise', void 0);\n\n _defineProperty(this, '_forceExited', void 0);\n\n this._options = options;\n this._request = null;\n this._fakeStream = null;\n this._stdout = null;\n this._stderr = null;\n this._exitPromise = new Promise(resolve => {\n this._resolveExitPromise = resolve;\n });\n this._forceExited = false;\n this.initialize();\n }\n\n initialize() {\n this._worker = new (_worker_threads().Worker)(\n path().resolve(__dirname, './threadChild.js'),\n {\n eval: false,\n // @ts-expect-error: added in newer versions\n resourceLimits: this._options.resourceLimits,\n stderr: true,\n stdout: true,\n workerData: this._options.workerData,\n ...this._options.forkOptions\n }\n );\n\n if (this._worker.stdout) {\n if (!this._stdout) {\n // We need to add a permanent stream to the merged stream to prevent it\n // from ending when the subprocess stream ends\n this._stdout = (0, _mergeStream().default)(this._getFakeStream());\n }\n\n this._stdout.add(this._worker.stdout);\n }\n\n if (this._worker.stderr) {\n if (!this._stderr) {\n // We need to add a permanent stream to the merged stream to prevent it\n // from ending when the subprocess stream ends\n this._stderr = (0, _mergeStream().default)(this._getFakeStream());\n }\n\n this._stderr.add(this._worker.stderr);\n }\n\n this._worker.on('message', this._onMessage.bind(this));\n\n this._worker.on('exit', this._onExit.bind(this));\n\n this._worker.postMessage([\n _types.CHILD_MESSAGE_INITIALIZE,\n false,\n this._options.workerPath,\n this._options.setupArgs,\n String(this._options.workerId + 1) // 0-indexed workerId, 1-indexed JEST_WORKER_ID\n ]);\n\n this._retries++; // If we exceeded the amount of retries, we will emulate an error reply\n // coming from the child. This avoids code duplication related with cleaning\n // the queue, and scheduling the next call.\n\n if (this._retries > this._options.maxRetries) {\n const error = new Error('Call retries were exceeded');\n\n this._onMessage([\n _types.PARENT_MESSAGE_CLIENT_ERROR,\n error.name,\n error.message,\n error.stack,\n {\n type: 'WorkerError'\n }\n ]);\n }\n }\n\n _shutdown() {\n // End the permanent stream so the merged stream end too\n if (this._fakeStream) {\n this._fakeStream.end();\n\n this._fakeStream = null;\n }\n\n this._resolveExitPromise();\n }\n\n _onMessage(response) {\n let error;\n\n switch (response[0]) {\n case _types.PARENT_MESSAGE_OK:\n this._onProcessEnd(null, response[1]);\n\n break;\n\n case _types.PARENT_MESSAGE_CLIENT_ERROR:\n error = response[4];\n\n if (error != null && typeof error === 'object') {\n const extra = error; // @ts-expect-error: no index\n\n const NativeCtor = __webpack_require__.g[response[1]];\n const Ctor = typeof NativeCtor === 'function' ? NativeCtor : Error;\n error = new Ctor(response[2]);\n error.type = response[1];\n error.stack = response[3];\n\n for (const key in extra) {\n // @ts-expect-error: no index\n error[key] = extra[key];\n }\n }\n\n this._onProcessEnd(error, null);\n\n break;\n\n case _types.PARENT_MESSAGE_SETUP_ERROR:\n error = new Error('Error when calling setup: ' + response[2]); // @ts-expect-error: adding custom properties to errors.\n\n error.type = response[1];\n error.stack = response[3];\n\n this._onProcessEnd(error, null);\n\n break;\n\n case _types.PARENT_MESSAGE_CUSTOM:\n this._onCustomMessage(response[1]);\n\n break;\n\n default:\n throw new TypeError('Unexpected response from worker: ' + response[0]);\n }\n }\n\n _onExit(exitCode) {\n if (exitCode !== 0 && !this._forceExited) {\n this.initialize();\n\n if (this._request) {\n this._worker.postMessage(this._request);\n }\n } else {\n this._shutdown();\n }\n }\n\n waitForExit() {\n return this._exitPromise;\n }\n\n forceExit() {\n this._forceExited = true;\n\n this._worker.terminate();\n }\n\n send(request, onProcessStart, onProcessEnd, onCustomMessage) {\n onProcessStart(this);\n\n this._onProcessEnd = (...args) => {\n var _onProcessEnd;\n\n // Clean the request to avoid sending past requests to workers that fail\n // while waiting for a new request (timers, unhandled rejections...)\n this._request = null;\n const res =\n (_onProcessEnd = onProcessEnd) === null || _onProcessEnd === void 0\n ? void 0\n : _onProcessEnd(...args); // Clean up the reference so related closures can be garbage collected.\n\n onProcessEnd = null;\n return res;\n };\n\n this._onCustomMessage = (...arg) => onCustomMessage(...arg);\n\n this._request = request;\n this._retries = 0;\n\n this._worker.postMessage(request);\n }\n\n getWorkerId() {\n return this._options.workerId;\n }\n\n getStdout() {\n return this._stdout;\n }\n\n getStderr() {\n return this._stderr;\n }\n\n _getFakeStream() {\n if (!this._fakeStream) {\n this._fakeStream = new (_stream().PassThrough)();\n }\n\n return this._fakeStream;\n }\n}\n\nexports[\"default\"] = ExperimentalWorker;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/workers/NodeThreadsWorker.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/workers/messageParent.js": /*!*****************************************************************!*\ !*** ./node_modules/jest-worker/build/workers/messageParent.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = messageParent;\n\nvar _types = __webpack_require__(/*! ../types */ \"./node_modules/jest-worker/build/types.js\");\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nconst isWorkerThread = (() => {\n try {\n // `Require` here to support Node v10\n const {isMainThread, parentPort} = __webpack_require__(/*! worker_threads */ \"?3694\");\n\n return !isMainThread && parentPort != null;\n } catch {\n return false;\n }\n})();\n\nfunction messageParent(message, parentProcess = process) {\n if (isWorkerThread) {\n // `Require` here to support Node v10\n const {parentPort} = __webpack_require__(/*! worker_threads */ \"?3694\"); // ! is safe due to `null` check in `isWorkerThread`\n\n parentPort.postMessage([_types.PARENT_MESSAGE_CUSTOM, message]);\n } else if (typeof parentProcess.send === 'function') {\n parentProcess.send([_types.PARENT_MESSAGE_CUSTOM, message]);\n } else {\n throw new Error('\"messageParent\" can only be used inside a worker');\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/workers/messageParent.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/workers/processChild.js": /*!****************************************************************!*\ !*** ./node_modules/jest-worker/build/workers/processChild.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nvar _types = __webpack_require__(/*! ../types */ \"./node_modules/jest-worker/build/types.js\");\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nlet file = null;\nlet setupArgs = [];\nlet initialized = false;\n/**\n * This file is a small bootstrapper for workers. It sets up the communication\n * between the worker and the parent process, interpreting parent messages and\n * sending results back.\n *\n * The file loaded will be lazily initialized the first time any of the workers\n * is called. This is done for optimal performance: if the farm is initialized,\n * but no call is made to it, child Node processes will be consuming the least\n * possible amount of memory.\n *\n * If an invalid message is detected, the child will exit (by throwing) with a\n * non-zero exit code.\n */\n\nconst messageListener = request => {\n switch (request[0]) {\n case _types.CHILD_MESSAGE_INITIALIZE:\n const init = request;\n file = init[2];\n setupArgs = request[3];\n break;\n\n case _types.CHILD_MESSAGE_CALL:\n const call = request;\n execMethod(call[2], call[3]);\n break;\n\n case _types.CHILD_MESSAGE_END:\n end();\n break;\n\n default:\n throw new TypeError(\n 'Unexpected request from parent process: ' + request[0]\n );\n }\n};\n\nprocess.on('message', messageListener);\n\nfunction reportSuccess(result) {\n if (!process || !process.send) {\n throw new Error('Child can only be used on a forked process');\n }\n\n process.send([_types.PARENT_MESSAGE_OK, result]);\n}\n\nfunction reportClientError(error) {\n return reportError(error, _types.PARENT_MESSAGE_CLIENT_ERROR);\n}\n\nfunction reportInitializeError(error) {\n return reportError(error, _types.PARENT_MESSAGE_SETUP_ERROR);\n}\n\nfunction reportError(error, type) {\n if (!process || !process.send) {\n throw new Error('Child can only be used on a forked process');\n }\n\n if (error == null) {\n error = new Error('\"null\" or \"undefined\" thrown');\n }\n\n process.send([\n type,\n error.constructor && error.constructor.name,\n error.message,\n error.stack,\n typeof error === 'object' ? {...error} : error\n ]);\n}\n\nfunction end() {\n const main = __webpack_require__(\"./node_modules/jest-worker/build/workers sync recursive\")(file);\n\n if (!main.teardown) {\n exitProcess();\n return;\n }\n\n execFunction(main.teardown, main, [], exitProcess, exitProcess);\n}\n\nfunction exitProcess() {\n // Clean up open handles so the process ideally exits gracefully\n process.removeListener('message', messageListener);\n}\n\nfunction execMethod(method, args) {\n const main = __webpack_require__(\"./node_modules/jest-worker/build/workers sync recursive\")(file);\n\n let fn;\n\n if (method === 'default') {\n fn = main.__esModule ? main['default'] : main;\n } else {\n fn = main[method];\n }\n\n function execHelper() {\n execFunction(fn, main, args, reportSuccess, reportClientError);\n }\n\n if (initialized || !main.setup) {\n execHelper();\n return;\n }\n\n initialized = true;\n execFunction(main.setup, main, setupArgs, execHelper, reportInitializeError);\n}\n\nconst isPromise = obj =>\n !!obj &&\n (typeof obj === 'object' || typeof obj === 'function') &&\n typeof obj.then === 'function';\n\nfunction execFunction(fn, ctx, args, onResult, onError) {\n let result;\n\n try {\n result = fn.apply(ctx, args);\n } catch (err) {\n onError(err);\n return;\n }\n\n if (isPromise(result)) {\n result.then(onResult, onError);\n } else {\n onResult(result);\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/workers/processChild.js?"); /***/ }), /***/ "./node_modules/jest-worker/build/workers sync recursive": /*!******************************************************!*\ !*** ./node_modules/jest-worker/build/workers/ sync ***! \******************************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/jest-worker/build/workers sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/workers/_sync?"); /***/ }), /***/ "./node_modules/jest-worker/build sync recursive": /*!**********************************************!*\ !*** ./node_modules/jest-worker/build/ sync ***! \**********************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/jest-worker/build sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/jest-worker/build/_sync?"); /***/ }), /***/ "./node_modules/json-parse-even-better-errors/index.js": /*!*************************************************************!*\ !*** ./node_modules/json-parse-even-better-errors/index.js ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("\n\nconst hexify = char => {\n const h = char.charCodeAt(0).toString(16).toUpperCase()\n return '0x' + (h.length % 2 ? '0' : '') + h\n}\n\nconst parseError = (e, txt, context) => {\n if (!txt) {\n return {\n message: e.message + ' while parsing empty string',\n position: 0,\n }\n }\n const badToken = e.message.match(/^Unexpected token (.) .*position\\s+(\\d+)/i)\n const errIdx = badToken ? +badToken[2]\n : e.message.match(/^Unexpected end of JSON.*/i) ? txt.length - 1\n : null\n\n const msg = badToken ? e.message.replace(/^Unexpected token ./, `Unexpected token ${\n JSON.stringify(badToken[1])\n } (${hexify(badToken[1])})`)\n : e.message\n\n if (errIdx !== null && errIdx !== undefined) {\n const start = errIdx <= context ? 0\n : errIdx - context\n\n const end = errIdx + context >= txt.length ? txt.length\n : errIdx + context\n\n const slice = (start === 0 ? '' : '...') +\n txt.slice(start, end) +\n (end === txt.length ? '' : '...')\n\n const near = txt === slice ? '' : 'near '\n\n return {\n message: msg + ` while parsing ${near}${JSON.stringify(slice)}`,\n position: errIdx,\n }\n } else {\n return {\n message: msg + ` while parsing '${txt.slice(0, context * 2)}'`,\n position: 0,\n }\n }\n}\n\nclass JSONParseError extends SyntaxError {\n constructor (er, txt, context, caller) {\n context = context || 20\n const metadata = parseError(er, txt, context)\n super(metadata.message)\n Object.assign(this, metadata)\n this.code = 'EJSONPARSE'\n this.systemError = er\n Error.captureStackTrace(this, caller || this.constructor)\n }\n get name () { return this.constructor.name }\n set name (n) {}\n get [Symbol.toStringTag] () { return this.constructor.name }\n}\n\nconst kIndent = Symbol.for('indent')\nconst kNewline = Symbol.for('newline')\n// only respect indentation if we got a line break, otherwise squash it\n// things other than objects and arrays aren't indented, so ignore those\n// Important: in both of these regexps, the $1 capture group is the newline\n// or undefined, and the $2 capture group is the indent, or undefined.\nconst formatRE = /^\\s*[{\\[]((?:\\r?\\n)+)([\\s\\t]*)/\nconst emptyRE = /^(?:\\{\\}|\\[\\])((?:\\r?\\n)+)?$/\n\nconst parseJson = (txt, reviver, context) => {\n const parseText = stripBOM(txt)\n context = context || 20\n try {\n // get the indentation so that we can save it back nicely\n // if the file starts with {\" then we have an indent of '', ie, none\n // otherwise, pick the indentation of the next line after the first \\n\n // If the pattern doesn't match, then it means no indentation.\n // JSON.stringify ignores symbols, so this is reasonably safe.\n // if the string is '{}' or '[]', then use the default 2-space indent.\n const [, newline = '\\n', indent = ' '] = parseText.match(emptyRE) ||\n parseText.match(formatRE) ||\n [, '', '']\n\n const result = JSON.parse(parseText, reviver)\n if (result && typeof result === 'object') {\n result[kNewline] = newline\n result[kIndent] = indent\n }\n return result\n } catch (e) {\n if (typeof txt !== 'string' && !Buffer.isBuffer(txt)) {\n const isEmptyArray = Array.isArray(txt) && txt.length === 0\n throw Object.assign(new TypeError(\n `Cannot parse ${isEmptyArray ? 'an empty array' : String(txt)}`\n ), {\n code: 'EJSONPARSE',\n systemError: e,\n })\n }\n\n throw new JSONParseError(e, parseText, context, parseJson)\n }\n}\n\n// Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n// because the buffer-to-string conversion in `fs.readFileSync()`\n// translates it to FEFF, the UTF-16 BOM.\nconst stripBOM = txt => String(txt).replace(/^\\uFEFF/, '')\n\nmodule.exports = parseJson\nparseJson.JSONParseError = JSONParseError\n\nparseJson.noExceptions = (txt, reviver) => {\n try {\n return JSON.parse(stripBOM(txt), reviver)\n } catch (e) {}\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/json-parse-even-better-errors/index.js?"); /***/ }), /***/ "./node_modules/json-schema-traverse/index.js": /*!****************************************************!*\ !*** ./node_modules/json-schema-traverse/index.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("\n\nvar traverse = module.exports = function (schema, opts, cb) {\n // Legacy support for v0.3.1 and earlier.\n if (typeof opts == 'function') {\n cb = opts;\n opts = {};\n }\n\n cb = opts.cb || cb;\n var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};\n var post = cb.post || function() {};\n\n _traverse(opts, pre, post, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n additionalItems: true,\n items: true,\n contains: true,\n additionalProperties: true,\n propertyNames: true,\n not: true\n};\n\ntraverse.arrayKeywords = {\n items: true,\n allOf: true,\n anyOf: true,\n oneOf: true\n};\n\ntraverse.propsKeywords = {\n definitions: true,\n properties: true,\n patternProperties: true,\n dependencies: true\n};\n\ntraverse.skipKeywords = {\n default: true,\n enum: true,\n const: true,\n required: true,\n maximum: true,\n minimum: true,\n exclusiveMaximum: true,\n exclusiveMinimum: true,\n multipleOf: true,\n maxLength: true,\n minLength: true,\n pattern: true,\n format: true,\n maxItems: true,\n minItems: true,\n uniqueItems: true,\n maxProperties: true,\n minProperties: true\n};\n\n\nfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n for (var key in schema) {\n var sch = schema[key];\n if (Array.isArray(sch)) {\n if (key in traverse.arrayKeywords) {\n for (var i=0; i<sch.length; i++)\n _traverse(opts, pre, post, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);\n }\n } else if (key in traverse.propsKeywords) {\n if (sch && typeof sch == 'object') {\n for (var prop in sch)\n _traverse(opts, pre, post, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n }\n } else if (key in traverse.keywords || (opts.allKeys && !(key in traverse.skipKeywords))) {\n _traverse(opts, pre, post, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);\n }\n }\n post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n }\n}\n\n\nfunction escapeJsonPtr(str) {\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/json-schema-traverse/index.js?"); /***/ }), /***/ "./node_modules/loader-runner/lib/LoaderLoadingError.js": /*!**************************************************************!*\ !*** ./node_modules/loader-runner/lib/LoaderLoadingError.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("\n\nclass LoadingLoaderError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = \"LoaderRunnerError\";\n\t\tError.captureStackTrace(this, this.constructor);\n\t}\n}\n\nmodule.exports = LoadingLoaderError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/loader-runner/lib/LoaderLoadingError.js?"); /***/ }), /***/ "./node_modules/loader-runner/lib/LoaderRunner.js": /*!********************************************************!*\ !*** ./node_modules/loader-runner/lib/LoaderRunner.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\nvar fs = __webpack_require__(/*! fs */ \"?04c2\");\nvar readFile = fs.readFile.bind(fs);\nvar loadLoader = __webpack_require__(/*! ./loadLoader */ \"./node_modules/loader-runner/lib/loadLoader.js\");\n\nfunction utf8BufferToString(buf) {\n\tvar str = buf.toString(\"utf-8\");\n\tif(str.charCodeAt(0) === 0xFEFF) {\n\t\treturn str.substr(1);\n\t} else {\n\t\treturn str;\n\t}\n}\n\nconst PATH_QUERY_FRAGMENT_REGEXP = /^((?:\\0.|[^?#\\0])*)(\\?(?:\\0.|[^#\\0])*)?(#.*)?$/;\n\n/**\n * @param {string} str the path with query and fragment\n * @returns {{ path: string, query: string, fragment: string }} parsed parts\n */\nfunction parsePathQueryFragment(str) {\n\tvar match = PATH_QUERY_FRAGMENT_REGEXP.exec(str);\n\treturn {\n\t\tpath: match[1].replace(/\\0(.)/g, \"$1\"),\n\t\tquery: match[2] ? match[2].replace(/\\0(.)/g, \"$1\") : \"\",\n\t\tfragment: match[3] || \"\"\n\t};\n}\n\nfunction dirname(path) {\n\tif(path === \"/\") return \"/\";\n\tvar i = path.lastIndexOf(\"/\");\n\tvar j = path.lastIndexOf(\"\\\\\");\n\tvar i2 = path.indexOf(\"/\");\n\tvar j2 = path.indexOf(\"\\\\\");\n\tvar idx = i > j ? i : j;\n\tvar idx2 = i > j ? i2 : j2;\n\tif(idx < 0) return path;\n\tif(idx === idx2) return path.substr(0, idx + 1);\n\treturn path.substr(0, idx);\n}\n\nfunction createLoaderObject(loader) {\n\tvar obj = {\n\t\tpath: null,\n\t\tquery: null,\n\t\tfragment: null,\n\t\toptions: null,\n\t\tident: null,\n\t\tnormal: null,\n\t\tpitch: null,\n\t\traw: null,\n\t\tdata: null,\n\t\tpitchExecuted: false,\n\t\tnormalExecuted: false\n\t};\n\tObject.defineProperty(obj, \"request\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn obj.path.replace(/#/g, \"\\0#\") + obj.query.replace(/#/g, \"\\0#\") + obj.fragment;\n\t\t},\n\t\tset: function(value) {\n\t\t\tif(typeof value === \"string\") {\n\t\t\t\tvar splittedRequest = parsePathQueryFragment(value);\n\t\t\t\tobj.path = splittedRequest.path;\n\t\t\t\tobj.query = splittedRequest.query;\n\t\t\t\tobj.fragment = splittedRequest.fragment;\n\t\t\t\tobj.options = undefined;\n\t\t\t\tobj.ident = undefined;\n\t\t\t} else {\n\t\t\t\tif(!value.loader)\n\t\t\t\t\tthrow new Error(\"request should be a string or object with loader and options (\" + JSON.stringify(value) + \")\");\n\t\t\t\tobj.path = value.loader;\n\t\t\t\tobj.fragment = value.fragment || \"\";\n\t\t\t\tobj.type = value.type;\n\t\t\t\tobj.options = value.options;\n\t\t\t\tobj.ident = value.ident;\n\t\t\t\tif(obj.options === null)\n\t\t\t\t\tobj.query = \"\";\n\t\t\t\telse if(obj.options === undefined)\n\t\t\t\t\tobj.query = \"\";\n\t\t\t\telse if(typeof obj.options === \"string\")\n\t\t\t\t\tobj.query = \"?\" + obj.options;\n\t\t\t\telse if(obj.ident)\n\t\t\t\t\tobj.query = \"??\" + obj.ident;\n\t\t\t\telse if(typeof obj.options === \"object\" && obj.options.ident)\n\t\t\t\t\tobj.query = \"??\" + obj.options.ident;\n\t\t\t\telse\n\t\t\t\t\tobj.query = \"?\" + JSON.stringify(obj.options);\n\t\t\t}\n\t\t}\n\t});\n\tobj.request = loader;\n\tif(Object.preventExtensions) {\n\t\tObject.preventExtensions(obj);\n\t}\n\treturn obj;\n}\n\nfunction runSyncOrAsync(fn, context, args, callback) {\n\tvar isSync = true;\n\tvar isDone = false;\n\tvar isError = false; // internal error\n\tvar reportedError = false;\n\tcontext.async = function async() {\n\t\tif(isDone) {\n\t\t\tif(reportedError) return; // ignore\n\t\t\tthrow new Error(\"async(): The callback was already called.\");\n\t\t}\n\t\tisSync = false;\n\t\treturn innerCallback;\n\t};\n\tvar innerCallback = context.callback = function() {\n\t\tif(isDone) {\n\t\t\tif(reportedError) return; // ignore\n\t\t\tthrow new Error(\"callback(): The callback was already called.\");\n\t\t}\n\t\tisDone = true;\n\t\tisSync = false;\n\t\ttry {\n\t\t\tcallback.apply(null, arguments);\n\t\t} catch(e) {\n\t\t\tisError = true;\n\t\t\tthrow e;\n\t\t}\n\t};\n\ttry {\n\t\tvar result = (function LOADER_EXECUTION() {\n\t\t\treturn fn.apply(context, args);\n\t\t}());\n\t\tif(isSync) {\n\t\t\tisDone = true;\n\t\t\tif(result === undefined)\n\t\t\t\treturn callback();\n\t\t\tif(result && typeof result === \"object\" && typeof result.then === \"function\") {\n\t\t\t\treturn result.then(function(r) {\n\t\t\t\t\tcallback(null, r);\n\t\t\t\t}, callback);\n\t\t\t}\n\t\t\treturn callback(null, result);\n\t\t}\n\t} catch(e) {\n\t\tif(isError) throw e;\n\t\tif(isDone) {\n\t\t\t// loader is already \"done\", so we cannot use the callback function\n\t\t\t// for better debugging we print the error on the console\n\t\t\tif(typeof e === \"object\" && e.stack) console.error(e.stack);\n\t\t\telse console.error(e);\n\t\t\treturn;\n\t\t}\n\t\tisDone = true;\n\t\treportedError = true;\n\t\tcallback(e);\n\t}\n\n}\n\nfunction convertArgs(args, raw) {\n\tif(!raw && Buffer.isBuffer(args[0]))\n\t\targs[0] = utf8BufferToString(args[0]);\n\telse if(raw && typeof args[0] === \"string\")\n\t\targs[0] = Buffer.from(args[0], \"utf-8\");\n}\n\nfunction iteratePitchingLoaders(options, loaderContext, callback) {\n\t// abort after last loader\n\tif(loaderContext.loaderIndex >= loaderContext.loaders.length)\n\t\treturn processResource(options, loaderContext, callback);\n\n\tvar currentLoaderObject = loaderContext.loaders[loaderContext.loaderIndex];\n\n\t// iterate\n\tif(currentLoaderObject.pitchExecuted) {\n\t\tloaderContext.loaderIndex++;\n\t\treturn iteratePitchingLoaders(options, loaderContext, callback);\n\t}\n\n\t// load loader module\n\tloadLoader(currentLoaderObject, function(err) {\n\t\tif(err) {\n\t\t\tloaderContext.cacheable(false);\n\t\t\treturn callback(err);\n\t\t}\n\t\tvar fn = currentLoaderObject.pitch;\n\t\tcurrentLoaderObject.pitchExecuted = true;\n\t\tif(!fn) return iteratePitchingLoaders(options, loaderContext, callback);\n\n\t\trunSyncOrAsync(\n\t\t\tfn,\n\t\t\tloaderContext, [loaderContext.remainingRequest, loaderContext.previousRequest, currentLoaderObject.data = {}],\n\t\t\tfunction(err) {\n\t\t\t\tif(err) return callback(err);\n\t\t\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\t\t\t\t// Determine whether to continue the pitching process based on\n\t\t\t\t// argument values (as opposed to argument presence) in order\n\t\t\t\t// to support synchronous and asynchronous usages.\n\t\t\t\tvar hasArg = args.some(function(value) {\n\t\t\t\t\treturn value !== undefined;\n\t\t\t\t});\n\t\t\t\tif(hasArg) {\n\t\t\t\t\tloaderContext.loaderIndex--;\n\t\t\t\t\titerateNormalLoaders(options, loaderContext, args, callback);\n\t\t\t\t} else {\n\t\t\t\t\titeratePitchingLoaders(options, loaderContext, callback);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t});\n}\n\nfunction processResource(options, loaderContext, callback) {\n\t// set loader index to last loader\n\tloaderContext.loaderIndex = loaderContext.loaders.length - 1;\n\n\tvar resourcePath = loaderContext.resourcePath;\n\tif(resourcePath) {\n\t\toptions.processResource(loaderContext, resourcePath, function(err) {\n\t\t\tif(err) return callback(err);\n\t\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\t\t\toptions.resourceBuffer = args[0];\n\t\t\titerateNormalLoaders(options, loaderContext, args, callback);\n\t\t});\n\t} else {\n\t\titerateNormalLoaders(options, loaderContext, [null], callback);\n\t}\n}\n\nfunction iterateNormalLoaders(options, loaderContext, args, callback) {\n\tif(loaderContext.loaderIndex < 0)\n\t\treturn callback(null, args);\n\n\tvar currentLoaderObject = loaderContext.loaders[loaderContext.loaderIndex];\n\n\t// iterate\n\tif(currentLoaderObject.normalExecuted) {\n\t\tloaderContext.loaderIndex--;\n\t\treturn iterateNormalLoaders(options, loaderContext, args, callback);\n\t}\n\n\tvar fn = currentLoaderObject.normal;\n\tcurrentLoaderObject.normalExecuted = true;\n\tif(!fn) {\n\t\treturn iterateNormalLoaders(options, loaderContext, args, callback);\n\t}\n\n\tconvertArgs(args, currentLoaderObject.raw);\n\n\trunSyncOrAsync(fn, loaderContext, args, function(err) {\n\t\tif(err) return callback(err);\n\n\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\t\titerateNormalLoaders(options, loaderContext, args, callback);\n\t});\n}\n\nexports.getContext = function getContext(resource) {\n\tvar path = parsePathQueryFragment(resource).path;\n\treturn dirname(path);\n};\n\nexports.runLoaders = function runLoaders(options, callback) {\n\t// read options\n\tvar resource = options.resource || \"\";\n\tvar loaders = options.loaders || [];\n\tvar loaderContext = options.context || {};\n\tvar processResource = options.processResource || ((readResource, context, resource, callback) => {\n\t\tcontext.addDependency(resource);\n\t\treadResource(resource, callback);\n\t}).bind(null, options.readResource || readFile);\n\n\t//\n\tvar splittedResource = resource && parsePathQueryFragment(resource);\n\tvar resourcePath = splittedResource ? splittedResource.path : undefined;\n\tvar resourceQuery = splittedResource ? splittedResource.query : undefined;\n\tvar resourceFragment = splittedResource ? splittedResource.fragment : undefined;\n\tvar contextDirectory = resourcePath ? dirname(resourcePath) : null;\n\n\t// execution state\n\tvar requestCacheable = true;\n\tvar fileDependencies = [];\n\tvar contextDependencies = [];\n\tvar missingDependencies = [];\n\n\t// prepare loader objects\n\tloaders = loaders.map(createLoaderObject);\n\n\tloaderContext.context = contextDirectory;\n\tloaderContext.loaderIndex = 0;\n\tloaderContext.loaders = loaders;\n\tloaderContext.resourcePath = resourcePath;\n\tloaderContext.resourceQuery = resourceQuery;\n\tloaderContext.resourceFragment = resourceFragment;\n\tloaderContext.async = null;\n\tloaderContext.callback = null;\n\tloaderContext.cacheable = function cacheable(flag) {\n\t\tif(flag === false) {\n\t\t\trequestCacheable = false;\n\t\t}\n\t};\n\tloaderContext.dependency = loaderContext.addDependency = function addDependency(file) {\n\t\tfileDependencies.push(file);\n\t};\n\tloaderContext.addContextDependency = function addContextDependency(context) {\n\t\tcontextDependencies.push(context);\n\t};\n\tloaderContext.addMissingDependency = function addMissingDependency(context) {\n\t\tmissingDependencies.push(context);\n\t};\n\tloaderContext.getDependencies = function getDependencies() {\n\t\treturn fileDependencies.slice();\n\t};\n\tloaderContext.getContextDependencies = function getContextDependencies() {\n\t\treturn contextDependencies.slice();\n\t};\n\tloaderContext.getMissingDependencies = function getMissingDependencies() {\n\t\treturn missingDependencies.slice();\n\t};\n\tloaderContext.clearDependencies = function clearDependencies() {\n\t\tfileDependencies.length = 0;\n\t\tcontextDependencies.length = 0;\n\t\tmissingDependencies.length = 0;\n\t\trequestCacheable = true;\n\t};\n\tObject.defineProperty(loaderContext, \"resource\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tif(loaderContext.resourcePath === undefined)\n\t\t\t\treturn undefined;\n\t\t\treturn loaderContext.resourcePath.replace(/#/g, \"\\0#\") + loaderContext.resourceQuery.replace(/#/g, \"\\0#\") + loaderContext.resourceFragment;\n\t\t},\n\t\tset: function(value) {\n\t\t\tvar splittedResource = value && parsePathQueryFragment(value);\n\t\t\tloaderContext.resourcePath = splittedResource ? splittedResource.path : undefined;\n\t\t\tloaderContext.resourceQuery = splittedResource ? splittedResource.query : undefined;\n\t\t\tloaderContext.resourceFragment = splittedResource ? splittedResource.fragment : undefined;\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"request\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn loaderContext.loaders.map(function(o) {\n\t\t\t\treturn o.request;\n\t\t\t}).concat(loaderContext.resource || \"\").join(\"!\");\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"remainingRequest\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tif(loaderContext.loaderIndex >= loaderContext.loaders.length - 1 && !loaderContext.resource)\n\t\t\t\treturn \"\";\n\t\t\treturn loaderContext.loaders.slice(loaderContext.loaderIndex + 1).map(function(o) {\n\t\t\t\treturn o.request;\n\t\t\t}).concat(loaderContext.resource || \"\").join(\"!\");\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"currentRequest\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn loaderContext.loaders.slice(loaderContext.loaderIndex).map(function(o) {\n\t\t\t\treturn o.request;\n\t\t\t}).concat(loaderContext.resource || \"\").join(\"!\");\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"previousRequest\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn loaderContext.loaders.slice(0, loaderContext.loaderIndex).map(function(o) {\n\t\t\t\treturn o.request;\n\t\t\t}).join(\"!\");\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"query\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tvar entry = loaderContext.loaders[loaderContext.loaderIndex];\n\t\t\treturn entry.options && typeof entry.options === \"object\" ? entry.options : entry.query;\n\t\t}\n\t});\n\tObject.defineProperty(loaderContext, \"data\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn loaderContext.loaders[loaderContext.loaderIndex].data;\n\t\t}\n\t});\n\n\t// finish loader context\n\tif(Object.preventExtensions) {\n\t\tObject.preventExtensions(loaderContext);\n\t}\n\n\tvar processOptions = {\n\t\tresourceBuffer: null,\n\t\tprocessResource: processResource\n\t};\n\titeratePitchingLoaders(processOptions, loaderContext, function(err, result) {\n\t\tif(err) {\n\t\t\treturn callback(err, {\n\t\t\t\tcacheable: requestCacheable,\n\t\t\t\tfileDependencies: fileDependencies,\n\t\t\t\tcontextDependencies: contextDependencies,\n\t\t\t\tmissingDependencies: missingDependencies\n\t\t\t});\n\t\t}\n\t\tcallback(null, {\n\t\t\tresult: result,\n\t\t\tresourceBuffer: processOptions.resourceBuffer,\n\t\t\tcacheable: requestCacheable,\n\t\t\tfileDependencies: fileDependencies,\n\t\t\tcontextDependencies: contextDependencies,\n\t\t\tmissingDependencies: missingDependencies\n\t\t});\n\t});\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/loader-runner/lib/LoaderRunner.js?"); /***/ }), /***/ "./node_modules/loader-runner/lib/loadLoader.js": /*!******************************************************!*\ !*** ./node_modules/loader-runner/lib/loadLoader.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var LoaderLoadingError = __webpack_require__(/*! ./LoaderLoadingError */ \"./node_modules/loader-runner/lib/LoaderLoadingError.js\");\nvar url;\n\nmodule.exports = function loadLoader(loader, callback) {\n\tif(loader.type === \"module\") {\n\t\ttry {\n\t\t\tif(url === undefined) url = __webpack_require__(/*! url */ \"?9145\");\n\t\t\tvar loaderUrl = url.pathToFileURL(loader.path);\n\t\t\tvar modulePromise = eval(\"import(\" + JSON.stringify(loaderUrl.toString()) + \")\");\n\t\t\tmodulePromise.then(function(module) {\n\t\t\t\thandleResult(loader, module, callback);\n\t\t\t}, callback);\n\t\t\treturn;\n\t\t} catch(e) {\n\t\t\tcallback(e);\n\t\t}\n\t} else {\n\t\ttry {\n\t\t\tvar module = __webpack_require__(\"./node_modules/loader-runner/lib sync recursive\")(loader.path);\n\t\t} catch(e) {\n\t\t\t// it is possible for node to choke on a require if the FD descriptor\n\t\t\t// limit has been reached. give it a chance to recover.\n\t\t\tif(e instanceof Error && e.code === \"EMFILE\") {\n\t\t\t\tvar retry = loadLoader.bind(null, loader, callback);\n\t\t\t\tif(typeof setImmediate === \"function\") {\n\t\t\t\t\t// node >= 0.9.0\n\t\t\t\t\treturn setImmediate(retry);\n\t\t\t\t} else {\n\t\t\t\t\t// node < 0.9.0\n\t\t\t\t\treturn process.nextTick(retry);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn callback(e);\n\t\t}\n\t\treturn handleResult(loader, module, callback);\n\t}\n};\n\nfunction handleResult(loader, module, callback) {\n\tif(typeof module !== \"function\" && typeof module !== \"object\") {\n\t\treturn callback(new LoaderLoadingError(\n\t\t\t\"Module '\" + loader.path + \"' is not a loader (export function or es6 module)\"\n\t\t));\n\t}\n\tloader.normal = typeof module === \"function\" ? module : module.default;\n\tloader.pitch = module.pitch;\n\tloader.raw = module.raw;\n\tif(typeof loader.normal !== \"function\" && typeof loader.pitch !== \"function\") {\n\t\treturn callback(new LoaderLoadingError(\n\t\t\t\"Module '\" + loader.path + \"' is not a loader (must have normal or pitch function)\"\n\t\t));\n\t}\n\tcallback();\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/loader-runner/lib/loadLoader.js?"); /***/ }), /***/ "./node_modules/loader-runner/lib sync recursive": /*!**********************************************!*\ !*** ./node_modules/loader-runner/lib/ sync ***! \**********************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/loader-runner/lib sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/loader-runner/lib/_sync?"); /***/ }), /***/ "./node_modules/merge-stream/index.js": /*!********************************************!*\ !*** ./node_modules/merge-stream/index.js ***! \********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nconst { PassThrough } = __webpack_require__(/*! stream */ \"?4d82\");\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/merge-stream/index.js?"); /***/ }), /***/ "./node_modules/mime-db/index.js": /*!***************************************!*\ !*** ./node_modules/mime-db/index.js ***! \***************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("/*!\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 = __webpack_require__(/*! ./db.json */ \"./node_modules/mime-db/db.json\")\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/mime-db/index.js?"); /***/ }), /***/ "./node_modules/mime-types/index.js": /*!******************************************!*\ !*** ./node_modules/mime-types/index.js ***! \******************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = __webpack_require__(/*! mime-db */ \"./node_modules/mime-db/index.js\")\nvar extname = (__webpack_require__(/*! path */ \"?cfb0\").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\n\n//# sourceURL=webpack://JSONDigger/./node_modules/mime-types/index.js?"); /***/ }), /***/ "./node_modules/neo-async/async.min.js": /*!*********************************************!*\ !*** ./node_modules/neo-async/async.min.js ***! \*********************************************/ /***/ (function(__unused_webpack_module, exports) { eval("(function(N,O){ true?O(exports):0})(this,function(N){function O(a){var c=function(a){var d=J(arguments,1);setTimeout(function(){a.apply(null,d)})};T=\"function\"===typeof setImmediate?setImmediate:c;\"object\"===typeof process&&\"function\"===typeof process.nextTick?(D=/^v0.10/.test(process.version)?T:process.nextTick,ba=/^v0/.test(process.version)?\nT:process.nextTick):ba=D=T;!1===a&&(D=function(a){a()})}function H(a){for(var c=-1,b=a.length,d=Array(b);++c<b;)d[c]=a[c];return d}function J(a,c){var b=-1,d=a.length-c;if(0>=d)return[];for(var e=Array(d);++b<d;)e[b]=a[b+c];return e}function L(a){for(var c=F(a),b=c.length,d=-1,e={};++d<b;){var f=c[d];e[f]=a[f]}return e}function U(a){for(var c=-1,b=a.length,d=[];++c<b;){var e=a[c];e&&(d[d.length]=e)}return d}function Za(a){for(var c=-1,b=a.length,d=Array(b),e=b;++c<b;)d[--e]=a[c];return d}function $a(a,\nc){for(var b=-1,d=a.length;++b<d;)if(a[b]===c)return!1;return!0}function Q(a,c){for(var b=-1,d=a.length;++b<d;)c(a[b],b);return a}function W(a,c,b){for(var d=-1,e=b.length;++d<e;){var f=b[d];c(a[f],f)}return a}function K(a,c){for(var b=-1;++b<a;)c(b)}function P(a,c){var b=a.length,d=Array(b),e;for(e=0;e<b;e++)d[e]=e;ca(c,0,b-1,d);for(var f=Array(b),g=0;g<b;g++)e=d[g],f[g]=void 0===e?a[g]:a[e];return f}function ca(a,c,b,d){if(c!==b){for(var e=c;++e<=b&&a[c]===a[e];){var f=e-1;if(d[f]>d[e]){var g=d[f];\nd[f]=d[e];d[e]=g}}if(!(e>b)){for(var l,e=a[a[c]>a[e]?c:e],f=c,g=b;f<=g;){for(l=f;f<g&&a[f]<e;)f++;for(;g>=l&&a[g]>=e;)g--;if(f>g)break;var q=a;l=d;var s=f++,h=g--,k=q[s];q[s]=q[h];q[h]=k;q=l[s];l[s]=l[h];l[h]=q}e=f;ca(a,c,e-1,d);ca(a,e,b,d)}}}function S(a){var c=[];Q(a,function(a){a!==w&&(C(a)?X.apply(c,a):c.push(a))});return c}function da(a,c,b){var d=-1,e=a.length;if(3===c.length)for(;++d<e;)c(a[d],d,b(d));else for(;++d<e;)c(a[d],b(d))}function ra(a,c,b,d){var e,f=-1,g=d.length;if(3===c.length)for(;++f<\ng;)e=d[f],c(a[e],e,b(f));else for(;++f<g;)c(a[d[f]],b(f))}function sa(a,c,b){var d=0,e=a[z]();if(3===c.length)for(;!1===(a=e.next()).done;)c(a.value,d,b(d++));else for(;!1===(a=e.next()).done;)c(a.value,b(d++));return d}function ea(a,c,b){var d,e=-1,f=a.length;if(3===c.length)for(;++e<f;)d=a[e],c(d,e,b(d));else for(;++e<f;)d=a[e],c(d,b(d))}function fa(a,c,b,d){var e,f,g=-1,l=d.length;if(3===c.length)for(;++g<l;)e=d[g],f=a[e],c(f,e,b(f));else for(;++g<l;)f=a[d[g]],c(f,b(f))}function ga(a,c,b){var d,\ne=0;a=a[z]();if(3===c.length)for(;!1===(d=a.next()).done;)d=d.value,c(d,e++,b(d));else for(;!1===(d=a.next()).done;)e++,d=d.value,c(d,b(d));return e}function V(a,c,b){var d,e=-1,f=a.length;if(3===c.length)for(;++e<f;)d=a[e],c(d,e,b(e,d));else for(;++e<f;)d=a[e],c(d,b(e,d))}function ha(a,c,b,d){var e,f,g=-1,l=d.length;if(3===c.length)for(;++g<l;)e=d[g],f=a[e],c(f,e,b(g,f));else for(;++g<l;)f=a[d[g]],c(f,b(g,f))}function ia(a,c,b){var d,e=0;a=a[z]();if(3===c.length)for(;!1===(d=a.next()).done;)d=d.value,\nc(d,e,b(e++,d));else for(;!1===(d=a.next()).done;)d=d.value,c(d,b(e++,d));return e}function ta(a,c,b,d){var e,f,g=-1,l=d.length;if(3===c.length)for(;++g<l;)e=d[g],f=a[e],c(f,e,b(e,f));else for(;++g<l;)e=d[g],f=a[e],c(f,b(e,f))}function ua(a,c,b){var d,e=0;a=a[z]();if(3===c.length)for(;!1===(d=a.next()).done;)d=d.value,c(d,e,b(e++,d));else for(;!1===(d=a.next()).done;)d=d.value,c(d,b(e++,d));return e}function E(a){return function(c,b){var d=a;a=A;d(c,b)}}function I(a){return function(c,b){var d=a;\na=w;d(c,b)}}function va(a,c,b,d){var e,f;d?(e=Array,f=H):(e=function(){return{}},f=L);return function(d,l,q){function s(a){return function(b,d){null===a&&A();b?(a=null,q=I(q),q(b,f(m))):(m[a]=d,a=null,++r===h&&q(null,m))}}q=q||w;var h,k,m,r=0;C(d)?(h=d.length,m=e(h),a(d,l,s)):d&&(z&&d[z]?(m=e(0),(h=b(d,l,s))&&h===r&&q(null,m)):\"object\"===typeof d&&(k=F(d),h=k.length,m=e(h),c(d,l,s,k)));h||q(null,e())}}function wa(a,c,b,d){return function(e,f,g){function l(a,b){return function(c,e){null===a&&A();c?\n(a=null,g=I(g),g(c)):(!!e===d&&(h[a]=b),a=null,++k===q&&g(null,U(h)))}}g=g||w;var q,s,h,k=0;C(e)?(q=e.length,h=Array(q),a(e,f,l)):e&&(z&&e[z]?(h=[],(q=b(e,f,l))&&q===k&&g(null,U(h))):\"object\"===typeof e&&(s=F(e),q=s.length,h=Array(q),c(e,f,l,s)));if(!q)return g(null,[])}}function xa(a){return function(c,b,d){function e(){r=c[x];b(r,h)}function f(){r=c[x];b(r,x,h)}function g(){u=p.next();r=u.value;u.done?d(null,y):b(r,h)}function l(){u=p.next();r=u.value;u.done?d(null,y):b(r,x,h)}function q(){m=n[x];\nr=c[m];b(r,h)}function s(){m=n[x];r=c[m];b(r,m,h)}function h(b,c){b?d(b):(!!c===a&&(y[y.length]=r),++x===k?(v=A,d(null,y)):t?D(v):(t=!0,v()),t=!1)}d=E(d||w);var k,m,r,n,p,u,v,t=!1,x=0,y=[];C(c)?(k=c.length,v=3===b.length?f:e):c&&(z&&c[z]?(k=Infinity,p=c[z](),v=3===b.length?l:g):\"object\"===typeof c&&(n=F(c),k=n.length,v=3===b.length?s:q));if(!k)return d(null,[]);v()}}function ya(a){return function(c,b,d,e){function f(){r=B++;r<m&&(p=c[r],d(p,k(p,r)))}function g(){r=B++;r<m&&(p=c[r],d(p,r,k(p,r)))}\nfunction l(){t=v.next();!1===t.done?(p=t.value,d(p,k(p,B++))):R===B&&d!==w&&(d=w,e(null,U(y)))}function q(){t=v.next();!1===t.done?(p=t.value,d(p,B,k(p,B++))):R===B&&d!==w&&(d=w,e(null,U(y)))}function s(){r=B++;r<m&&(p=c[u[r]],d(p,k(p,r)))}function h(){r=B++;r<m&&(n=u[r],p=c[n],d(p,n,k(p,r)))}function k(b,d){return function(c,f){null===d&&A();c?(d=null,x=w,e=I(e),e(c)):(!!f===a&&(y[d]=b),d=null,++R===m?(e=E(e),e(null,U(y))):G?D(x):(G=!0,x()),G=!1)}}e=e||w;var m,r,n,p,u,v,t,x,y,G=!1,B=0,R=0;C(c)?(m=\nc.length,x=3===d.length?g:f):c&&(z&&c[z]?(m=Infinity,y=[],v=c[z](),x=3===d.length?q:l):\"object\"===typeof c&&(u=F(c),m=u.length,x=3===d.length?h:s));if(!m||isNaN(b)||1>b)return e(null,[]);y=y||Array(m);K(b>m?m:b,x)}}function Y(a,c,b){function d(){c(a[v],s)}function e(){c(a[v],v,s)}function f(){n=r.next();n.done?b(null):c(n.value,s)}function g(){n=r.next();n.done?b(null):c(n.value,v,s)}function l(){c(a[m[v]],s)}function q(){k=m[v];c(a[k],k,s)}function s(a,d){a?b(a):++v===h||!1===d?(p=A,b(null)):u?D(p):\n(u=!0,p());u=!1}b=E(b||w);var h,k,m,r,n,p,u=!1,v=0;C(a)?(h=a.length,p=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,r=a[z](),p=3===c.length?g:f):\"object\"===typeof a&&(m=F(a),h=m.length,p=3===c.length?q:l));if(!h)return b(null);p()}function Z(a,c,b,d){function e(){x<k&&b(a[x++],h)}function f(){m=x++;m<k&&b(a[m],m,h)}function g(){u=p.next();!1===u.done?(x++,b(u.value,h)):y===x&&b!==w&&(b=w,d(null))}function l(){u=p.next();!1===u.done?b(u.value,x++,h):y===x&&b!==w&&(b=w,d(null))}function q(){x<k&&b(a[n[x++]],\nh)}function s(){m=x++;m<k&&(r=n[m],b(a[r],r,h))}function h(a,c){a||!1===c?(v=w,d=I(d),d(a)):++y===k?(b=w,v=A,d=E(d),d(null)):t?D(v):(t=!0,v());t=!1}d=d||w;var k,m,r,n,p,u,v,t=!1,x=0,y=0;if(C(a))k=a.length,v=3===b.length?f:e;else if(a)if(z&&a[z])k=Infinity,p=a[z](),v=3===b.length?l:g;else if(\"object\"===typeof a)n=F(a),k=n.length,v=3===b.length?s:q;else return d(null);if(!k||isNaN(c)||1>c)return d(null);K(c>k?k:c,v)}function za(a,c,b){function d(){c(a[t],s)}function e(){c(a[t],t,s)}function f(){n=r.next();\nn.done?b(null,p):c(n.value,s)}function g(){n=r.next();n.done?b(null,p):c(n.value,t,s)}function l(){c(a[m[t]],s)}function q(){k=m[t];c(a[k],k,s)}function s(a,d){a?(u=A,b=E(b),b(a,H(p))):(p[t]=d,++t===h?(u=A,b(null,p),b=A):v?D(u):(v=!0,u()),v=!1)}b=b||w;var h,k,m,r,n,p,u,v=!1,t=0;C(a)?(h=a.length,u=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,p=[],r=a[z](),u=3===c.length?g:f):\"object\"===typeof a&&(m=F(a),h=m.length,u=3===c.length?q:l));if(!h)return b(null,[]);p=p||Array(h);u()}function Aa(a,c,b,d){return function(e,\nf,g){function l(a){var b=!1;return function(c,e){b&&A();b=!0;c?(g=I(g),g(c)):!!e===d?(g=I(g),g(null,a)):++h===q&&g(null)}}g=g||w;var q,s,h=0;C(e)?(q=e.length,a(e,f,l)):e&&(z&&e[z]?(q=b(e,f,l))&&q===h&&g(null):\"object\"===typeof e&&(s=F(e),q=s.length,c(e,f,l,s)));q||g(null)}}function Ba(a){return function(c,b,d){function e(){r=c[x];b(r,h)}function f(){r=c[x];b(r,x,h)}function g(){u=p.next();r=u.value;u.done?d(null):b(r,h)}function l(){u=p.next();r=u.value;u.done?d(null):b(r,x,h)}function q(){r=c[n[x]];\nb(r,h)}function s(){m=n[x];r=c[m];b(r,m,h)}function h(b,c){b?d(b):!!c===a?(v=A,d(null,r)):++x===k?(v=A,d(null)):t?D(v):(t=!0,v());t=!1}d=E(d||w);var k,m,r,n,p,u,v,t=!1,x=0;C(c)?(k=c.length,v=3===b.length?f:e):c&&(z&&c[z]?(k=Infinity,p=c[z](),v=3===b.length?l:g):\"object\"===typeof c&&(n=F(c),k=n.length,v=3===b.length?s:q));if(!k)return d(null);v()}}function Ca(a){return function(c,b,d,e){function f(){r=G++;r<m&&(p=c[r],d(p,k(p)))}function g(){r=G++;r<m&&(p=c[r],d(p,r,k(p)))}function l(){t=v.next();\n!1===t.done?(G++,p=t.value,d(p,k(p))):B===G&&d!==w&&(d=w,e(null))}function q(){t=v.next();!1===t.done?(p=t.value,d(p,G++,k(p))):B===G&&d!==w&&(d=w,e(null))}function s(){r=G++;r<m&&(p=c[u[r]],d(p,k(p)))}function h(){G<m&&(n=u[G++],p=c[n],d(p,n,k(p)))}function k(b){var d=!1;return function(c,f){d&&A();d=!0;c?(x=w,e=I(e),e(c)):!!f===a?(x=w,e=I(e),e(null,b)):++B===m?e(null):y?D(x):(y=!0,x());y=!1}}e=e||w;var m,r,n,p,u,v,t,x,y=!1,G=0,B=0;C(c)?(m=c.length,x=3===d.length?g:f):c&&(z&&c[z]?(m=Infinity,v=c[z](),\nx=3===d.length?q:l):\"object\"===typeof c&&(u=F(c),m=u.length,x=3===d.length?h:s));if(!m||isNaN(b)||1>b)return e(null);K(b>m?m:b,x)}}function Da(a,c,b,d){return function(e,f,g){function l(a,b){return function(c,e){null===a&&A();c?(a=null,g=I(g),g(c,L(k))):(!!e===d&&(k[a]=b),a=null,++h===q&&g(null,k))}}g=g||w;var q,s,h=0,k={};C(e)?(q=e.length,a(e,f,l)):e&&(z&&e[z]?(q=b(e,f,l))&&q===h&&g(null,k):\"object\"===typeof e&&(s=F(e),q=s.length,c(e,f,l,s)));if(!q)return g(null,{})}}function Ea(a){return function(c,\nb,d){function e(){m=y;r=c[y];b(r,h)}function f(){m=y;r=c[y];b(r,y,h)}function g(){m=y;u=p.next();r=u.value;u.done?d(null,x):b(r,h)}function l(){m=y;u=p.next();r=u.value;u.done?d(null,x):b(r,m,h)}function q(){m=n[y];r=c[m];b(r,h)}function s(){m=n[y];r=c[m];b(r,m,h)}function h(b,c){b?d(b,x):(!!c===a&&(x[m]=r),++y===k?(v=A,d(null,x)):t?D(v):(t=!0,v()),t=!1)}d=E(d||w);var k,m,r,n,p,u,v,t=!1,x={},y=0;C(c)?(k=c.length,v=3===b.length?f:e):c&&(z&&c[z]?(k=Infinity,p=c[z](),v=3===b.length?l:g):\"object\"===typeof c&&\n(n=F(c),k=n.length,v=3===b.length?s:q));if(!k)return d(null,{});v()}}function Fa(a){return function(c,b,d,e){function f(){r=B++;r<m&&(p=c[r],d(p,k(p,r)))}function g(){r=B++;r<m&&(p=c[r],d(p,r,k(p,r)))}function l(){t=v.next();!1===t.done?(p=t.value,d(p,k(p,B++))):R===B&&d!==w&&(d=w,e(null,G))}function q(){t=v.next();!1===t.done?(p=t.value,d(p,B,k(p,B++))):R===B&&d!==w&&(d=w,e(null,G))}function s(){B<m&&(n=u[B++],p=c[n],d(p,k(p,n)))}function h(){B<m&&(n=u[B++],p=c[n],d(p,n,k(p,n)))}function k(b,d){return function(c,\nf){null===d&&A();c?(d=null,x=w,e=I(e),e(c,L(G))):(!!f===a&&(G[d]=b),d=null,++R===m?(x=A,e=E(e),e(null,G)):y?D(x):(y=!0,x()),y=!1)}}e=e||w;var m,r,n,p,u,v,t,x,y=!1,G={},B=0,R=0;C(c)?(m=c.length,x=3===d.length?g:f):c&&(z&&c[z]?(m=Infinity,v=c[z](),x=3===d.length?q:l):\"object\"===typeof c&&(u=F(c),m=u.length,x=3===d.length?h:s));if(!m||isNaN(b)||1>b)return e(null,{});K(b>m?m:b,x)}}function $(a,c,b,d){function e(d){b(d,a[t],h)}function f(d){b(d,a[t],t,h)}function g(a){p=n.next();p.done?d(null,a):b(a,p.value,\nh)}function l(a){p=n.next();p.done?d(null,a):b(a,p.value,t,h)}function q(d){b(d,a[r[t]],h)}function s(d){m=r[t];b(d,a[m],m,h)}function h(a,c){a?d(a,c):++t===k?(b=A,d(null,c)):v?D(function(){u(c)}):(v=!0,u(c));v=!1}d=E(d||w);var k,m,r,n,p,u,v=!1,t=0;C(a)?(k=a.length,u=4===b.length?f:e):a&&(z&&a[z]?(k=Infinity,n=a[z](),u=4===b.length?l:g):\"object\"===typeof a&&(r=F(a),k=r.length,u=4===b.length?s:q));if(!k)return d(null,c);u(c)}function Ga(a,c,b,d){function e(d){b(d,a[--s],q)}function f(d){b(d,a[--s],\ns,q)}function g(d){b(d,a[m[--s]],q)}function l(d){k=m[--s];b(d,a[k],k,q)}function q(a,b){a?d(a,b):0===s?(u=A,d(null,b)):v?D(function(){u(b)}):(v=!0,u(b));v=!1}d=E(d||w);var s,h,k,m,r,n,p,u,v=!1;if(C(a))s=a.length,u=4===b.length?f:e;else if(a)if(z&&a[z]){p=[];r=a[z]();for(h=-1;!1===(n=r.next()).done;)p[++h]=n.value;a=p;s=p.length;u=4===b.length?f:e}else\"object\"===typeof a&&(m=F(a),s=m.length,u=4===b.length?l:g);if(!s)return d(null,c);u(c)}function Ha(a,c,b){b=b||w;ja(a,c,function(a,c){if(a)return b(a);\nb(null,!!c)})}function Ia(a,c,b){b=b||w;ka(a,c,function(a,c){if(a)return b(a);b(null,!!c)})}function Ja(a,c,b,d){d=d||w;la(a,c,b,function(a,b){if(a)return d(a);d(null,!!b)})}function Ka(a,c){return C(a)?0===a.length?(c(null),!1):!0:(c(Error(\"First argument to waterfall must be an array of functions\")),!1)}function ma(a,c,b){switch(c.length){case 0:case 1:return a(b);case 2:return a(c[1],b);case 3:return a(c[1],c[2],b);case 4:return a(c[1],c[2],c[3],b);case 5:return a(c[1],c[2],c[3],c[4],b);case 6:return a(c[1],\nc[2],c[3],c[4],c[5],b);default:return c=J(c,1),c.push(b),a.apply(null,c)}}function La(a,c){function b(b,h){if(b)q=A,c=E(c),c(b);else if(++d===f){q=A;var k=c;c=A;2===arguments.length?k(b,h):k.apply(null,H(arguments))}else g=a[d],l=arguments,e?D(q):(e=!0,q()),e=!1}c=c||w;if(Ka(a,c)){var d=0,e=!1,f=a.length,g=a[d],l=[],q=function(){switch(g.length){case 0:try{b(null,g())}catch(a){b(a)}break;case 1:return g(b);case 2:return g(l[1],b);case 3:return g(l[1],l[2],b);case 4:return g(l[1],l[2],l[3],b);case 5:return g(l[1],\nl[2],l[3],l[4],b);default:return l=J(l,1),l[g.length-1]=b,g.apply(null,l)}};q()}}function Ma(){var a=H(arguments);return function(){var c=this,b=H(arguments),d=b[b.length-1];\"function\"===typeof d?b.pop():d=w;$(a,b,function(a,b,d){a.push(function(a){var b=J(arguments,1);d(a,b)});b.apply(c,a)},function(a,b){b=C(b)?b:[b];b.unshift(a);d.apply(c,b)})}}function Na(a){return function(c){var b=function(){var b=this,d=H(arguments),g=d.pop()||w;return a(c,function(a,c){a.apply(b,d.concat([c]))},g)};if(1<arguments.length){var d=\nJ(arguments,1);return b.apply(this,d)}return b}}function M(){this.tail=this.head=null;this.length=0}function na(a,c,b,d){function e(a){a={data:a,callback:m};r?n._tasks.unshift(a):n._tasks.push(a);D(n.process)}function f(a,b,d){if(null==b)b=w;else if(\"function\"!==typeof b)throw Error(\"task callback must be a function\");n.started=!0;var c=C(a)?a:[a];void 0!==a&&c.length?(r=d,m=b,Q(c,e),m=void 0):n.idle()&&D(n.drain)}function g(a,b){var d=!1;return function(c,e){d&&A();d=!0;h--;for(var f,g=-1,m=k.length,\nq=-1,l=b.length,n=2<arguments.length,r=n&&H(arguments);++q<l;){for(f=b[q];++g<m;)k[g]===f&&(0===g?k.shift():k.splice(g,1),g=m,m--);g=-1;n?f.callback.apply(f,r):f.callback(c,e);c&&a.error(c,f.data)}h<=a.concurrency-a.buffer&&a.unsaturated();0===a._tasks.length+h&&a.drain();a.process()}}function l(){for(;!n.paused&&h<n.concurrency&&n._tasks.length;){var a=n._tasks.shift();h++;k.push(a);0===n._tasks.length&&n.empty();h===n.concurrency&&n.saturated();var b=g(n,[a]);c(a.data,b)}}function q(){for(;!n.paused&&\nh<n.concurrency&&n._tasks.length;){for(var a=n._tasks.splice(n.payload||n._tasks.length),b=-1,d=a.length,e=Array(d);++b<d;)e[b]=a[b].data;h++;X.apply(k,a);0===n._tasks.length&&n.empty();h===n.concurrency&&n.saturated();a=g(n,a);c(e,a)}}function s(){D(n.process)}if(void 0===b)b=1;else if(isNaN(b)||1>b)throw Error(\"Concurrency must not be zero\");var h=0,k=[],m,r,n={_tasks:new M,concurrency:b,payload:d,saturated:w,unsaturated:w,buffer:b/4,empty:w,drain:w,error:w,started:!1,paused:!1,push:function(a,\nb){f(a,b)},kill:function(){n.drain=w;n._tasks.empty()},unshift:function(a,b){f(a,b,!0)},remove:function(a){n._tasks.remove(a)},process:a?l:q,length:function(){return n._tasks.length},running:function(){return h},workersList:function(){return k},idle:function(){return 0===n.length()+h},pause:function(){n.paused=!0},resume:function(){!1!==n.paused&&(n.paused=!1,K(n.concurrency<n._tasks.length?n.concurrency:n._tasks.length,s))},_worker:c};return n}function Oa(a,c,b){function d(){if(0===s.length&&0===\nq){if(0!==g)throw Error(\"async.auto task has cyclic dependencies\");return b(null,l)}for(;s.length&&q<c&&b!==w;){q++;var a=s.shift();if(0===a[1])a[0](a[2]);else a[0](l,a[2])}}function e(a){Q(h[a]||[],function(a){a()});d()}\"function\"===typeof c&&(b=c,c=null);var f=F(a),g=f.length,l={};if(0===g)return b(null,l);var q=0,s=new M,h=Object.create(null);b=E(b||w);c=c||g;W(a,function(a,d){function c(a,f){null===d&&A();f=2>=arguments.length?f:J(arguments,1);if(a){q=g=0;s.length=0;var k=L(l);k[d]=f;d=null;var h=\nb;b=w;h(a,k)}else q--,g--,l[d]=f,e(d),d=null}function n(){0===--v&&s.push([p,u,c])}var p,u;if(C(a)){var v=a.length-1;p=a[v];u=v;if(0===v)s.push([p,u,c]);else for(var t=-1;++t<v;){var x=a[t];if($a(f,x))throw t=\"async.auto task `\"+d+\"` has non-existent dependency `\"+x+\"` in \"+a.join(\", \"),Error(t);var y=h[x];y||(y=h[x]=[]);y.push(n)}}else p=a,u=0,s.push([p,u,c])},f);d()}function ab(a){a=a.toString().replace(bb,\"\");a=(a=a.match(cb)[2].replace(\" \",\"\"))?a.split(db):[];return a=a.map(function(a){return a.replace(eb,\n\"\").trim()})}function oa(a,c,b){function d(a,e){if(++s===g||!a||q&&!q(a)){if(2>=arguments.length)return b(a,e);var f=H(arguments);return b.apply(null,f)}c(d)}function e(){c(f)}function f(a,d){if(++s===g||!a||q&&!q(a)){if(2>=arguments.length)return b(a,d);var c=H(arguments);return b.apply(null,c)}setTimeout(e,l(s))}var g,l,q,s=0;if(3>arguments.length&&\"function\"===typeof a)b=c||w,c=a,a=null,g=5;else switch(b=b||w,typeof a){case \"object\":\"function\"===typeof a.errorFilter&&(q=a.errorFilter);var h=a.interval;\nswitch(typeof h){case \"function\":l=h;break;case \"string\":case \"number\":l=(h=+h)?function(){return h}:function(){return 0}}g=+a.times||5;break;case \"number\":g=a||5;break;case \"string\":g=+a||5;break;default:throw Error(\"Invalid arguments for async.retry\");}if(\"function\"!==typeof c)throw Error(\"Invalid arguments for async.retry\");l?c(f):c(d)}function Pa(a){return function(){var c=H(arguments),b=c.pop(),d;try{d=a.apply(this,c)}catch(e){return b(e)}d&&\"function\"===typeof d.then?d.then(function(a){try{b(null,\na)}catch(d){D(Qa,d)}},function(a){a=a&&a.message?a:Error(a);try{b(a,void 0)}catch(d){D(Qa,d)}}):b(null,d)}}function Qa(a){throw a;}function Ra(a){return function(){function c(a,d){if(a)return b(null,{error:a});2<arguments.length&&(d=J(arguments,1));b(null,{value:d})}var b;switch(arguments.length){case 1:return b=arguments[0],a(c);case 2:return b=arguments[1],a(arguments[0],c);default:var d=H(arguments),e=d.length-1;b=d[e];d[e]=c;a.apply(this,d)}}}function pa(a){function c(b){if(\"object\"===typeof console)if(b)console.error&&\nconsole.error(b);else if(console[a]){var d=J(arguments,1);Q(d,function(b){console[a](b)})}}return function(a){var d=J(arguments,1);d.push(c);a.apply(null,d)}}var w=function(){},A=function(){throw Error(\"Callback was already called.\");},C=Array.isArray,F=Object.keys,X=Array.prototype.push,z=\"function\"===typeof Symbol&&Symbol.iterator,D,ba,T;O();var aa=function(a,c,b){return function(d,e,f){function g(a,b){a?(f=I(f),f(a)):++s===l?f(null):!1===b&&(f=I(f),f(null))}f=I(f||w);var l,q,s=0;C(d)?(l=d.length,\na(d,e,g)):d&&(z&&d[z]?(l=b(d,e,g))&&l===s&&f(null):\"object\"===typeof d&&(q=F(d),l=q.length,c(d,e,g,q)));l||f(null)}}(function(a,c,b){var d=-1,e=a.length;if(3===c.length)for(;++d<e;)c(a[d],d,E(b));else for(;++d<e;)c(a[d],E(b))},function(a,c,b,d){var e,f=-1,g=d.length;if(3===c.length)for(;++f<g;)e=d[f],c(a[e],e,E(b));else for(;++f<g;)c(a[d[f]],E(b))},function(a,c,b){a=a[z]();var d=0,e;if(3===c.length)for(;!1===(e=a.next()).done;)c(e.value,d++,E(b));else for(;!1===(e=a.next()).done;)d++,c(e.value,E(b));\nreturn d}),Sa=va(da,ra,sa,!0),fb=va(da,function(a,c,b,d){var e,f=-1,g=d.length;if(3===c.length)for(;++f<g;)e=d[f],c(a[e],e,b(e));else for(;++f<g;)e=d[f],c(a[e],b(e))},function(a,c,b){var d=0,e=a[z]();if(3===c.length)for(;!1===(a=e.next()).done;)c(a.value,d,b(d++));else for(;!1===(a=e.next()).done;)c(a.value,b(d++));return d},!1),Ta=wa(V,ha,ia,!0),Ua=xa(!0),Va=ya(!0),gb=wa(V,ha,ia,!1),hb=xa(!1),ib=ya(!1),ja=Aa(ea,fa,ga,!0),ka=Ba(!0),la=Ca(!0),Wa=function(a,c,b){var d=Aa(a,c,b,!1);return function(a,\nb,c){c=c||w;d(a,b,function(a,b){if(a)return c(a);c(null,!b)})}}(ea,fa,ga),Xa=function(){var a=Ba(!1);return function(c,b,d){d=d||w;a(c,b,function(a,b){if(a)return d(a);d(null,!b)})}}(),Ya=function(){var a=Ca(!1);return function(c,b,d,e){e=e||w;a(c,b,d,function(a,b){if(a)return e(a);e(null,!b)})}}(),jb=Da(V,ta,ua,!0),kb=Ea(!0),lb=Fa(!0),mb=Da(V,ta,ua,!1),nb=Ea(!1),ob=Fa(!1),pb=function(a,c,b){return function(d,e,f,g){function l(a,b){a?(g=I(g),g(a,C(h)?H(h):L(h))):++k===q?g(null,h):!1===b&&(g=I(g),\ng(null,C(h)?H(h):L(h)))}3===arguments.length&&(g=f,f=e,e=void 0);g=g||w;var q,s,h,k=0;C(d)?(q=d.length,h=void 0!==e?e:[],a(d,h,f,l)):d&&(z&&d[z]?(h=void 0!==e?e:{},(q=b(d,h,f,l))&&q===k&&g(null,h)):\"object\"===typeof d&&(s=F(d),q=s.length,h=void 0!==e?e:{},c(d,h,f,l,s)));q||g(null,void 0!==e?e:h||{})}}(function(a,c,b,d){var e=-1,f=a.length;if(4===b.length)for(;++e<f;)b(c,a[e],e,E(d));else for(;++e<f;)b(c,a[e],E(d))},function(a,c,b,d,e){var f,g=-1,l=e.length;if(4===b.length)for(;++g<l;)f=e[g],b(c,a[f],\nf,E(d));else for(;++g<l;)b(c,a[e[g]],E(d))},function(a,c,b,d){var e=0,f=a[z]();if(4===b.length)for(;!1===(a=f.next()).done;)b(c,a.value,e++,E(d));else for(;!1===(a=f.next()).done;)e++,b(c,a.value,E(d));return e}),qb=function(a,c,b){return function(d,e,f){function g(a,b){var d=!1;q[a]=b;return function(b,c){d&&A();d=!0;s[a]=c;b?(f=I(f),f(b)):++h===l&&f(null,P(q,s))}}f=f||w;var l,q,s,h=0;if(C(d))l=d.length,q=Array(l),s=Array(l),a(d,e,g);else if(d)if(z&&d[z])q=[],s=[],(l=b(d,e,g))&&l===h&&f(null,P(q,\ns));else if(\"object\"===typeof d){var k=F(d);l=k.length;q=Array(l);s=Array(l);c(d,e,g,k)}l||f(null,[])}}(V,ha,ia),rb=function(a,c,b){return function(d,e,f){function g(a){return function(b,d){null===a&&A();if(b)a=null,f=I(f),Q(q,function(a,b){void 0===a&&(q[b]=w)}),f(b,S(q));else{switch(arguments.length){case 0:case 1:q[a]=w;break;case 2:q[a]=d;break;default:q[a]=J(arguments,1)}a=null;++s===l&&f(null,S(q))}}}f=f||w;var l,q,s=0;if(C(d))l=d.length,q=Array(l),a(d,e,g);else if(d)if(z&&d[z])q=[],(l=b(d,\ne,g))&&l===s&&f(null,q);else if(\"object\"===typeof d){var h=F(d);l=h.length;q=Array(l);c(d,e,g,h)}l||f(null,[])}}(da,ra,sa),sb=function(a,c,b){return function(d,e,f){function g(a){var b=!1;return function(d,c){b&&A();b=!0;if(d)f=I(f),f(d,L(s));else{var e=s[c];e?e.push(a):s[c]=[a];++q===l&&f(null,s)}}}f=f||w;var l,q=0,s={};if(C(d))l=d.length,a(d,e,g);else if(d)if(z&&d[z])(l=b(d,e,g))&&l===q&&f(null,s);else if(\"object\"===typeof d){var h=F(d);l=h.length;c(d,e,g,h)}l||f(null,{})}}(ea,fa,ga),tb=function(a,\nc){return function(b,d){function e(a){return function(b,c){null===a&&A();b?(a=null,d=I(d),d(b,l)):(l[a]=2>=arguments.length?c:J(arguments,1),a=null,++q===f&&d(null,l))}}d=d||w;var f,g,l,q=0;C(b)?(f=b.length,l=Array(f),a(b,e)):b&&\"object\"===typeof b&&(g=F(b),f=g.length,l={},c(b,e,g));f||d(null,l)}}(function(a,c){for(var b=-1,d=a.length;++b<d;)a[b](c(b))},function(a,c,b){for(var d,e=-1,f=b.length;++e<f;)d=b[e],a[d](c(d))}),ub=Na(Sa),vb=Na(za),wb=pa(\"log\"),xb=pa(\"dir\"),qa={VERSION:\"2.6.2\",each:aa,eachSeries:Y,\neachLimit:Z,forEach:aa,forEachSeries:Y,forEachLimit:Z,eachOf:aa,eachOfSeries:Y,eachOfLimit:Z,forEachOf:aa,forEachOfSeries:Y,forEachOfLimit:Z,map:Sa,mapSeries:za,mapLimit:function(a,c,b,d){function e(){m=y++;m<k&&b(a[m],h(m))}function f(){m=y++;m<k&&b(a[m],m,h(m))}function g(){u=p.next();!1===u.done?b(u.value,h(y++)):G===y&&b!==w&&(b=w,d(null,v))}function l(){u=p.next();!1===u.done?b(u.value,y,h(y++)):G===y&&b!==w&&(b=w,d(null,v))}function q(){m=y++;m<k&&b(a[n[m]],h(m))}function s(){m=y++;m<k&&(r=\nn[m],b(a[r],r,h(m)))}function h(a){return function(b,c){null===a&&A();b?(a=null,t=w,d=I(d),d(b,H(v))):(v[a]=c,a=null,++G===k?(t=A,d(null,v),d=A):x?D(t):(x=!0,t()),x=!1)}}d=d||w;var k,m,r,n,p,u,v,t,x=!1,y=0,G=0;C(a)?(k=a.length,t=3===b.length?f:e):a&&(z&&a[z]?(k=Infinity,v=[],p=a[z](),t=3===b.length?l:g):\"object\"===typeof a&&(n=F(a),k=n.length,t=3===b.length?s:q));if(!k||isNaN(c)||1>c)return d(null,[]);v=v||Array(k);K(c>k?k:c,t)},mapValues:fb,mapValuesSeries:function(a,c,b){function d(){k=t;c(a[t],\ns)}function e(){k=t;c(a[t],t,s)}function f(){k=t;n=r.next();n.done?b(null,v):c(n.value,s)}function g(){k=t;n=r.next();n.done?b(null,v):c(n.value,t,s)}function l(){k=m[t];c(a[k],s)}function q(){k=m[t];c(a[k],k,s)}function s(a,d){a?(p=A,b=E(b),b(a,L(v))):(v[k]=d,++t===h?(p=A,b(null,v),b=A):u?D(p):(u=!0,p()),u=!1)}b=b||w;var h,k,m,r,n,p,u=!1,v={},t=0;C(a)?(h=a.length,p=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,r=a[z](),p=3===c.length?g:f):\"object\"===typeof a&&(m=F(a),h=m.length,p=3===c.length?q:l));\nif(!h)return b(null,v);p()},mapValuesLimit:function(a,c,b,d){function e(){m=y++;m<k&&b(a[m],h(m))}function f(){m=y++;m<k&&b(a[m],m,h(m))}function g(){u=p.next();!1===u.done?b(u.value,h(y++)):G===y&&b!==w&&(b=w,d(null,x))}function l(){u=p.next();!1===u.done?b(u.value,y,h(y++)):G===y&&b!==w&&(b=w,d(null,x))}function q(){m=y++;m<k&&(r=n[m],b(a[r],h(r)))}function s(){m=y++;m<k&&(r=n[m],b(a[r],r,h(r)))}function h(a){return function(b,c){null===a&&A();b?(a=null,v=w,d=I(d),d(b,L(x))):(x[a]=c,a=null,++G===\nk?d(null,x):t?D(v):(t=!0,v()),t=!1)}}d=d||w;var k,m,r,n,p,u,v,t=!1,x={},y=0,G=0;C(a)?(k=a.length,v=3===b.length?f:e):a&&(z&&a[z]?(k=Infinity,p=a[z](),v=3===b.length?l:g):\"object\"===typeof a&&(n=F(a),k=n.length,v=3===b.length?s:q));if(!k||isNaN(c)||1>c)return d(null,x);K(c>k?k:c,v)},filter:Ta,filterSeries:Ua,filterLimit:Va,select:Ta,selectSeries:Ua,selectLimit:Va,reject:gb,rejectSeries:hb,rejectLimit:ib,detect:ja,detectSeries:ka,detectLimit:la,find:ja,findSeries:ka,findLimit:la,pick:jb,pickSeries:kb,\npickLimit:lb,omit:mb,omitSeries:nb,omitLimit:ob,reduce:$,inject:$,foldl:$,reduceRight:Ga,foldr:Ga,transform:pb,transformSeries:function(a,c,b,d){function e(){b(v,a[x],h)}function f(){b(v,a[x],x,h)}function g(){p=n.next();p.done?d(null,v):b(v,p.value,h)}function l(){p=n.next();p.done?d(null,v):b(v,p.value,x,h)}function q(){b(v,a[r[x]],h)}function s(){m=r[x];b(v,a[m],m,h)}function h(a,b){a?d(a,v):++x===k||!1===b?(u=A,d(null,v)):t?D(u):(t=!0,u());t=!1}3===arguments.length&&(d=b,b=c,c=void 0);d=E(d||\nw);var k,m,r,n,p,u,v,t=!1,x=0;C(a)?(k=a.length,v=void 0!==c?c:[],u=4===b.length?f:e):a&&(z&&a[z]?(k=Infinity,n=a[z](),v=void 0!==c?c:{},u=4===b.length?l:g):\"object\"===typeof a&&(r=F(a),k=r.length,v=void 0!==c?c:{},u=4===b.length?s:q));if(!k)return d(null,void 0!==c?c:v||{});u()},transformLimit:function(a,c,b,d,e){function f(){r=A++;r<m&&d(x,a[r],E(k))}function g(){r=A++;r<m&&d(x,a[r],r,E(k))}function l(){v=u.next();!1===v.done?(A++,d(x,v.value,E(k))):B===A&&d!==w&&(d=w,e(null,x))}function q(){v=u.next();\n!1===v.done?d(x,v.value,A++,E(k)):B===A&&d!==w&&(d=w,e(null,x))}function s(){r=A++;r<m&&d(x,a[p[r]],E(k))}function h(){r=A++;r<m&&(n=p[r],d(x,a[n],n,E(k)))}function k(a,b){a||!1===b?(t=w,e(a||null,C(x)?H(x):L(x)),e=w):++B===m?(d=w,e(null,x)):y?D(t):(y=!0,t());y=!1}4===arguments.length&&(e=d,d=b,b=void 0);e=e||w;var m,r,n,p,u,v,t,x,y=!1,A=0,B=0;C(a)?(m=a.length,x=void 0!==b?b:[],t=4===d.length?g:f):a&&(z&&a[z]?(m=Infinity,u=a[z](),x=void 0!==b?b:{},t=4===d.length?q:l):\"object\"===typeof a&&(p=F(a),\nm=p.length,x=void 0!==b?b:{},t=4===d.length?h:s));if(!m||isNaN(c)||1>c)return e(null,void 0!==b?b:x||{});K(c>m?m:c,t)},sortBy:qb,sortBySeries:function(a,c,b){function d(){m=a[y];c(m,s)}function e(){m=a[y];c(m,y,s)}function f(){p=n.next();if(p.done)return b(null,P(u,v));m=p.value;u[y]=m;c(m,s)}function g(){p=n.next();if(p.done)return b(null,P(u,v));m=p.value;u[y]=m;c(m,y,s)}function l(){m=a[r[y]];u[y]=m;c(m,s)}function q(){k=r[y];m=a[k];u[y]=m;c(m,k,s)}function s(a,d){v[y]=d;a?b(a):++y===h?(t=A,b(null,\nP(u,v))):x?D(t):(x=!0,t());x=!1}b=E(b||w);var h,k,m,r,n,p,u,v,t,x=!1,y=0;C(a)?(h=a.length,u=a,v=Array(h),t=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,u=[],v=[],n=a[z](),t=3===c.length?g:f):\"object\"===typeof a&&(r=F(a),h=r.length,u=Array(h),v=Array(h),t=3===c.length?q:l));if(!h)return b(null,[]);t()},sortByLimit:function(a,c,b,d){function e(){B<k&&(n=a[B],b(n,h(n,B++)))}function f(){m=B++;m<k&&(n=a[m],b(n,m,h(n,m)))}function g(){t=v.next();!1===t.done?(n=t.value,p[B]=n,b(n,h(n,B++))):E===B&&b!==w&&\n(b=w,d(null,P(p,x)))}function l(){t=v.next();!1===t.done?(n=t.value,p[B]=n,b(n,B,h(n,B++))):E===B&&b!==w&&(b=w,d(null,P(p,x)))}function q(){B<k&&(n=a[u[B]],p[B]=n,b(n,h(n,B++)))}function s(){B<k&&(r=u[B],n=a[r],p[B]=n,b(n,r,h(n,B++)))}function h(a,b){var c=!1;return function(a,e){c&&A();c=!0;x[b]=e;a?(y=w,d(a),d=w):++E===k?d(null,P(p,x)):G?D(y):(G=!0,y());G=!1}}d=d||w;var k,m,r,n,p,u,v,t,x,y,G=!1,B=0,E=0;C(a)?(k=a.length,p=a,y=3===b.length?f:e):a&&(z&&a[z]?(k=Infinity,v=a[z](),p=[],x=[],y=3===b.length?\nl:g):\"object\"===typeof a&&(u=F(a),k=u.length,p=Array(k),y=3===b.length?s:q));if(!k||isNaN(c)||1>c)return d(null,[]);x=x||Array(k);K(c>k?k:c,y)},some:Ha,someSeries:Ia,someLimit:Ja,any:Ha,anySeries:Ia,anyLimit:Ja,every:Wa,everySeries:Xa,everyLimit:Ya,all:Wa,allSeries:Xa,allLimit:Ya,concat:rb,concatSeries:function(a,c,b){function d(){c(a[t],s)}function e(){c(a[t],t,s)}function f(){n=r.next();n.done?b(null,v):c(n.value,s)}function g(){n=r.next();n.done?b(null,v):c(n.value,t,s)}function l(){c(a[m[t]],\ns)}function q(){k=m[t];c(a[k],k,s)}function s(a,d){C(d)?X.apply(v,d):2<=arguments.length&&X.apply(v,J(arguments,1));a?b(a,v):++t===h?(p=A,b(null,v)):u?D(p):(u=!0,p());u=!1}b=E(b||w);var h,k,m,r,n,p,u=!1,v=[],t=0;C(a)?(h=a.length,p=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,r=a[z](),p=3===c.length?g:f):\"object\"===typeof a&&(m=F(a),h=m.length,p=3===c.length?q:l));if(!h)return b(null,v);p()},concatLimit:function(a,c,b,d){function e(){t<k&&b(a[t],h(t++))}function f(){t<k&&b(a[t],t,h(t++))}function g(){n=\nr.next();!1===n.done?b(n.value,h(t++)):x===t&&b!==w&&(b=w,d(null,S(u)))}function l(){n=r.next();!1===n.done?b(n.value,t,h(t++)):x===t&&b!==w&&(b=w,d(null,S(u)))}function q(){t<k&&b(a[y[t]],h(t++))}function s(){t<k&&(m=y[t],b(a[m],m,h(t++)))}function h(a){return function(b,c){null===a&&A();if(b)a=null,p=w,d=I(d),Q(u,function(a,b){void 0===a&&(u[b]=w)}),d(b,S(u));else{switch(arguments.length){case 0:case 1:u[a]=w;break;case 2:u[a]=c;break;default:u[a]=J(arguments,1)}a=null;++x===k?(p=A,d(null,S(u)),\nd=A):v?D(p):(v=!0,p());v=!1}}}d=d||w;var k,m,r,n,p,u,v=!1,t=0,x=0;if(C(a))k=a.length,p=3===b.length?f:e;else if(a)if(z&&a[z])k=Infinity,u=[],r=a[z](),p=3===b.length?l:g;else if(\"object\"===typeof a){var y=F(a);k=y.length;p=3===b.length?s:q}if(!k||isNaN(c)||1>c)return d(null,[]);u=u||Array(k);K(c>k?k:c,p)},groupBy:sb,groupBySeries:function(a,c,b){function d(){m=a[t];c(m,s)}function e(){m=a[t];c(m,t,s)}function f(){p=n.next();m=p.value;p.done?b(null,x):c(m,s)}function g(){p=n.next();m=p.value;p.done?\nb(null,x):c(m,t,s)}function l(){m=a[r[t]];c(m,s)}function q(){k=r[t];m=a[k];c(m,k,s)}function s(a,d){if(a)u=A,b=E(b),b(a,L(x));else{var c=x[d];c?c.push(m):x[d]=[m];++t===h?(u=A,b(null,x)):v?D(u):(v=!0,u());v=!1}}b=E(b||w);var h,k,m,r,n,p,u,v=!1,t=0,x={};C(a)?(h=a.length,u=3===c.length?e:d):a&&(z&&a[z]?(h=Infinity,n=a[z](),u=3===c.length?g:f):\"object\"===typeof a&&(r=F(a),h=r.length,u=3===c.length?q:l));if(!h)return b(null,x);u()},groupByLimit:function(a,c,b,d){function e(){y<k&&(n=a[y++],b(n,h(n)))}\nfunction f(){m=y++;m<k&&(n=a[m],b(n,m,h(n)))}function g(){v=u.next();!1===v.done?(y++,n=v.value,b(n,h(n))):E===y&&b!==w&&(b=w,d(null,B))}function l(){v=u.next();!1===v.done?(n=v.value,b(n,y++,h(n))):E===y&&b!==w&&(b=w,d(null,B))}function q(){y<k&&(n=a[p[y++]],b(n,h(n)))}function s(){y<k&&(r=p[y++],n=a[r],b(n,r,h(n)))}function h(a){var b=!1;return function(c,e){b&&A();b=!0;if(c)t=w,d=I(d),d(c,L(B));else{var f=B[e];f?f.push(a):B[e]=[a];++E===k?d(null,B):x?D(t):(x=!0,t());x=!1}}}d=d||w;var k,m,r,n,p,\nu,v,t,x=!1,y=0,E=0,B={};C(a)?(k=a.length,t=3===b.length?f:e):a&&(z&&a[z]?(k=Infinity,u=a[z](),t=3===b.length?l:g):\"object\"===typeof a&&(p=F(a),k=p.length,t=3===b.length?s:q));if(!k||isNaN(c)||1>c)return d(null,B);K(c>k?k:c,t)},parallel:tb,series:function(a,c){function b(){g=k;a[k](e)}function d(){g=l[k];a[g](e)}function e(a,b){a?(s=A,c=E(c),c(a,q)):(q[g]=2>=arguments.length?b:J(arguments,1),++k===f?(s=A,c(null,q)):h?D(s):(h=!0,s()),h=!1)}c=c||w;var f,g,l,q,s,h=!1,k=0;if(C(a))f=a.length,q=Array(f),\ns=b;else if(a&&\"object\"===typeof a)l=F(a),f=l.length,q={},s=d;else return c(null);if(!f)return c(null,q);s()},parallelLimit:function(a,c,b){function d(){l=r++;if(l<g)a[l](f(l))}function e(){r<g&&(q=s[r++],a[q](f(q)))}function f(a){return function(d,c){null===a&&A();d?(a=null,k=w,b=I(b),b(d,h)):(h[a]=2>=arguments.length?c:J(arguments,1),a=null,++n===g?b(null,h):m?D(k):(m=!0,k()),m=!1)}}b=b||w;var g,l,q,s,h,k,m=!1,r=0,n=0;C(a)?(g=a.length,h=Array(g),k=d):a&&\"object\"===typeof a&&(s=F(a),g=s.length,h=\n{},k=e);if(!g||isNaN(c)||1>c)return b(null,h);K(c>g?g:c,k)},tryEach:function(a,c){function b(){a[q](e)}function d(){a[g[q]](e)}function e(a,b){a?++q===f?c(a):l():2>=arguments.length?c(null,b):c(null,J(arguments,1))}c=c||w;var f,g,l,q=0;C(a)?(f=a.length,l=b):a&&\"object\"===typeof a&&(g=F(a),f=g.length,l=d);if(!f)return c(null);l()},waterfall:function(a,c){function b(){ma(e,f,d(e))}function d(h){return function(k,m){void 0===h&&(c=w,A());h=void 0;k?(g=c,c=A,g(k)):++q===s?(g=c,c=A,2>=arguments.length?\ng(k,m):g.apply(null,H(arguments))):(l?(f=arguments,e=a[q]||A,D(b)):(l=!0,ma(a[q]||A,arguments,d(q))),l=!1)}}c=c||w;if(Ka(a,c)){var e,f,g,l,q=0,s=a.length;ma(a[0],[],d(0))}},angelFall:La,angelfall:La,whilst:function(a,c,b){function d(){g?D(e):(g=!0,c(f));g=!1}function e(){c(f)}function f(c,e){if(c)return b(c);2>=arguments.length?a(e)?d():b(null,e):(e=J(arguments,1),a.apply(null,e)?d():b.apply(null,[null].concat(e)))}b=b||w;var g=!1;a()?d():b(null)},doWhilst:function(a,c,b){function d(){g?D(e):(g=!0,\na(f));g=!1}function e(){a(f)}function f(a,e){if(a)return b(a);2>=arguments.length?c(e)?d():b(null,e):(e=J(arguments,1),c.apply(null,e)?d():b.apply(null,[null].concat(e)))}b=b||w;var g=!1;e()},until:function(a,c,b){function d(){g?D(e):(g=!0,c(f));g=!1}function e(){c(f)}function f(c,e){if(c)return b(c);2>=arguments.length?a(e)?b(null,e):d():(e=J(arguments,1),a.apply(null,e)?b.apply(null,[null].concat(e)):d())}b=b||w;var g=!1;a()?b(null):d()},doUntil:function(a,c,b){function d(){g?D(e):(g=!0,a(f));g=\n!1}function e(){a(f)}function f(a,e){if(a)return b(a);2>=arguments.length?c(e)?b(null,e):d():(e=J(arguments,1),c.apply(null,e)?b.apply(null,[null].concat(e)):d())}b=b||w;var g=!1;e()},during:function(a,c,b){function d(a,d){if(a)return b(a);d?c(e):b(null)}function e(c){if(c)return b(c);a(d)}b=b||w;a(d)},doDuring:function(a,c,b){function d(d,c){if(d)return b(d);c?a(e):b(null)}function e(a,e){if(a)return b(a);switch(arguments.length){case 0:case 1:c(d);break;case 2:c(e,d);break;default:var l=J(arguments,\n1);l.push(d);c.apply(null,l)}}b=b||w;d(null,!0)},forever:function(a,c){function b(){a(d)}function d(a){if(a){if(c)return c(a);throw a;}e?D(b):(e=!0,b());e=!1}var e=!1;b()},compose:function(){return Ma.apply(null,Za(arguments))},seq:Ma,applyEach:ub,applyEachSeries:vb,queue:function(a,c){return na(!0,a,c)},priorityQueue:function(a,c){var b=na(!0,a,c);b.push=function(a,c,f){b.started=!0;c=c||0;var g=C(a)?a:[a],l=g.length;if(void 0===a||0===l)b.idle()&&D(b.drain);else{f=\"function\"===typeof f?f:w;for(a=\nb._tasks.head;a&&c>=a.priority;)a=a.next;for(;l--;){var q={data:g[l],priority:c,callback:f};a?b._tasks.insertBefore(a,q):b._tasks.push(q);D(b.process)}}};delete b.unshift;return b},cargo:function(a,c){return na(!1,a,1,c)},auto:Oa,autoInject:function(a,c,b){var d={};W(a,function(a,b){var c,l=a.length;if(C(a)){if(0===l)throw Error(\"autoInject task functions require explicit parameters.\");c=H(a);l=c.length-1;a=c[l];if(0===l){d[b]=a;return}}else{if(1===l){d[b]=a;return}c=ab(a);if(0===l&&0===c.length)throw Error(\"autoInject task functions require explicit parameters.\");\nl=c.length-1}c[l]=function(b,d){switch(l){case 1:a(b[c[0]],d);break;case 2:a(b[c[0]],b[c[1]],d);break;case 3:a(b[c[0]],b[c[1]],b[c[2]],d);break;default:for(var f=-1;++f<l;)c[f]=b[c[f]];c[f]=d;a.apply(null,c)}};d[b]=c},F(a));Oa(d,c,b)},retry:oa,retryable:function(a,c){c||(c=a,a=null);return function(){function b(a){c(a)}function d(a){c(g[0],a)}function e(a){c(g[0],g[1],a)}var f,g=H(arguments),l=g.length-1,q=g[l];switch(c.length){case 1:f=b;break;case 2:f=d;break;case 3:f=e;break;default:f=function(a){g[l]=\na;c.apply(null,g)}}a?oa(a,f,q):oa(f,q)}},iterator:function(a){function c(e){var f=function(){b&&a[d[e]||e].apply(null,H(arguments));return f.next()};f.next=function(){return e<b-1?c(e+1):null};return f}var b=0,d=[];C(a)?b=a.length:(d=F(a),b=d.length);return c(0)},times:function(a,c,b){function d(c){return function(d,l){null===c&&A();e[c]=l;c=null;d?(b(d),b=w):0===--a&&b(null,e)}}b=b||w;a=+a;if(isNaN(a)||1>a)return b(null,[]);var e=Array(a);K(a,function(a){c(a,d(a))})},timesSeries:function(a,c,b){function d(){c(l,\ne)}function e(c,e){f[l]=e;c?(b(c),b=A):++l>=a?(b(null,f),b=A):g?D(d):(g=!0,d());g=!1}b=b||w;a=+a;if(isNaN(a)||1>a)return b(null,[]);var f=Array(a),g=!1,l=0;d()},timesLimit:function(a,c,b,d){function e(){var c=q++;c<a&&b(c,f(c))}function f(b){return function(c,f){null===b&&A();g[b]=f;b=null;c?(d(c),d=w):++s>=a?(d(null,g),d=A):l?D(e):(l=!0,e());l=!1}}d=d||w;a=+a;if(isNaN(a)||1>a||isNaN(c)||1>c)return d(null,[]);var g=Array(a),l=!1,q=0,s=0;K(c>a?a:c,e)},race:function(a,c){c=I(c||w);var b,d,e=-1;if(C(a))for(b=\na.length;++e<b;)a[e](c);else if(a&&\"object\"===typeof a)for(d=F(a),b=d.length;++e<b;)a[d[e]](c);else return c(new TypeError(\"First argument to race must be a collection of functions\"));b||c(null)},apply:function(a){switch(arguments.length){case 0:case 1:return a;case 2:return a.bind(null,arguments[1]);case 3:return a.bind(null,arguments[1],arguments[2]);case 4:return a.bind(null,arguments[1],arguments[2],arguments[3]);case 5:return a.bind(null,arguments[1],arguments[2],arguments[3],arguments[4]);default:var c=\narguments.length,b=0,d=Array(c);for(d[b]=null;++b<c;)d[b]=arguments[b];return a.bind.apply(a,d)}},nextTick:ba,setImmediate:T,memoize:function(a,c){c=c||function(a){return a};var b={},d={},e=function(){function e(a){var c=H(arguments);a||(b[q]=c);var f=d[q];delete d[q];for(var g=-1,l=f.length;++g<l;)f[g].apply(null,c)}var g=H(arguments),l=g.pop(),q=c.apply(null,g);if(b.hasOwnProperty(q))D(function(){l.apply(null,b[q])});else{if(d.hasOwnProperty(q))return d[q].push(l);d[q]=[l];g.push(e);a.apply(null,\ng)}};e.memo=b;e.unmemoized=a;return e},unmemoize:function(a){return function(){return(a.unmemoized||a).apply(null,arguments)}},ensureAsync:function(a){return function(){var c=H(arguments),b=c.length-1,d=c[b],e=!0;c[b]=function(){var a=H(arguments);e?D(function(){d.apply(null,a)}):d.apply(null,a)};a.apply(this,c);e=!1}},constant:function(){var a=[null].concat(H(arguments));return function(c){c=arguments[arguments.length-1];c.apply(this,a)}},asyncify:Pa,wrapSync:Pa,log:wb,dir:xb,reflect:Ra,reflectAll:function(a){function c(a,\nc){b[c]=Ra(a)}var b,d;C(a)?(b=Array(a.length),Q(a,c)):a&&\"object\"===typeof a&&(d=F(a),b={},W(a,c,d));return b},timeout:function(a,c,b){function d(){var c=Error('Callback function \"'+(a.name||\"anonymous\")+'\" timed out.');c.code=\"ETIMEDOUT\";b&&(c.info=b);l=null;g(c)}function e(){null!==l&&(f(g,H(arguments)),clearTimeout(l))}function f(a,b){switch(b.length){case 0:a();break;case 1:a(b[0]);break;case 2:a(b[0],b[1]);break;default:a.apply(null,b)}}var g,l;return function(){l=setTimeout(d,c);var b=H(arguments),\ns=b.length-1;g=b[s];b[s]=e;f(a,b)}},createLogger:pa,safe:function(){O();return N},fast:function(){O(!1);return N}};N[\"default\"]=qa;W(qa,function(a,c){N[c]=a},F(qa));M.prototype._removeLink=function(a){var c=a.prev,b=a.next;c?c.next=b:this.head=b;b?b.prev=c:this.tail=c;a.prev=null;a.next=null;this.length--;return a};M.prototype.empty=M;M.prototype._setInitial=function(a){this.length=1;this.head=this.tail=a};M.prototype.insertBefore=function(a,c){c.prev=a.prev;c.next=a;a.prev?a.prev.next=c:this.head=\nc;a.prev=c;this.length++};M.prototype.unshift=function(a){this.head?this.insertBefore(this.head,a):this._setInitial(a)};M.prototype.push=function(a){var c=this.tail;c?(a.prev=c,a.next=c.next,this.tail=a,c.next=a,this.length++):this._setInitial(a)};M.prototype.shift=function(){return this.head&&this._removeLink(this.head)};M.prototype.splice=function(a){for(var c,b=[];a--&&(c=this.shift());)b.push(c);return b};M.prototype.remove=function(a){for(var c=this.head;c;)a(c)&&this._removeLink(c),c=c.next;\nreturn this};var cb=/^(function)?\\s*[^\\(]*\\(\\s*([^\\)]*)\\)/m,db=/,/,eb=/(=.+)?(\\s*)$/,bb=/((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm});\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/neo-async/async.min.js?"); /***/ }), /***/ "./node_modules/randombytes/browser.js": /*!*********************************************!*\ !*** ./node_modules/randombytes/browser.js ***! \*********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\n// limit of Crypto.getRandomValues()\n// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues\nvar MAX_BYTES = 65536\n\n// Node supports requesting up to this number of bytes\n// https://github.com/nodejs/node/blob/master/lib/internal/crypto/random.js#L48\nvar MAX_UINT32 = 4294967295\n\nfunction oldBrowser () {\n throw new Error('Secure random number generation is not supported by this browser.\\nUse Chrome, Firefox or Internet Explorer 11')\n}\n\nvar Buffer = (__webpack_require__(/*! safe-buffer */ \"./node_modules/safe-buffer/index.js\").Buffer)\nvar crypto = __webpack_require__.g.crypto || __webpack_require__.g.msCrypto\n\nif (crypto && crypto.getRandomValues) {\n module.exports = randomBytes\n} else {\n module.exports = oldBrowser\n}\n\nfunction randomBytes (size, cb) {\n // phantomjs needs to throw\n if (size > MAX_UINT32) throw new RangeError('requested too many random bytes')\n\n var bytes = Buffer.allocUnsafe(size)\n\n if (size > 0) { // getRandomValues fails on IE if size == 0\n if (size > MAX_BYTES) { // this is the max bytes crypto.getRandomValues\n // can do at once see https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues\n for (var generated = 0; generated < size; generated += MAX_BYTES) {\n // buffer.slice automatically checks if the end is past the end of\n // the buffer so we don't have to here\n crypto.getRandomValues(bytes.slice(generated, generated + MAX_BYTES))\n }\n } else {\n crypto.getRandomValues(bytes)\n }\n }\n\n if (typeof cb === 'function') {\n return process.nextTick(function () {\n cb(null, bytes)\n })\n }\n\n return bytes\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/randombytes/browser.js?"); /***/ }), /***/ "./node_modules/safe-buffer/index.js": /*!*******************************************!*\ !*** ./node_modules/safe-buffer/index.js ***! \*******************************************/ /***/ ((module, exports, __webpack_require__) => { eval("/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"?4ef1\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/safe-buffer/index.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/ValidationError.js": /*!***********************************************************!*\ !*** ./node_modules/schema-utils/dist/ValidationError.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nconst {\n stringHints,\n numberHints\n} = __webpack_require__(/*! ./util/hints */ \"./node_modules/schema-utils/dist/util/hints.js\");\n/** @typedef {import(\"json-schema\").JSONSchema6} JSONSchema6 */\n\n/** @typedef {import(\"json-schema\").JSONSchema7} JSONSchema7 */\n\n/** @typedef {import(\"./validate\").Schema} Schema */\n\n/** @typedef {import(\"./validate\").ValidationErrorConfiguration} ValidationErrorConfiguration */\n\n/** @typedef {import(\"./validate\").PostFormatter} PostFormatter */\n\n/** @typedef {import(\"./validate\").SchemaUtilErrorObject} SchemaUtilErrorObject */\n\n/** @enum {number} */\n\n\nconst SPECIFICITY = {\n type: 1,\n not: 1,\n oneOf: 1,\n anyOf: 1,\n if: 1,\n enum: 1,\n const: 1,\n instanceof: 1,\n required: 2,\n pattern: 2,\n patternRequired: 2,\n format: 2,\n formatMinimum: 2,\n formatMaximum: 2,\n minimum: 2,\n exclusiveMinimum: 2,\n maximum: 2,\n exclusiveMaximum: 2,\n multipleOf: 2,\n uniqueItems: 2,\n contains: 2,\n minLength: 2,\n maxLength: 2,\n minItems: 2,\n maxItems: 2,\n minProperties: 2,\n maxProperties: 2,\n dependencies: 2,\n propertyNames: 2,\n additionalItems: 2,\n additionalProperties: 2,\n absolutePath: 2\n};\n/**\n *\n * @param {Array<SchemaUtilErrorObject>} array\n * @param {(item: SchemaUtilErrorObject) => number} fn\n * @returns {Array<SchemaUtilErrorObject>}\n */\n\nfunction filterMax(array, fn) {\n const evaluatedMax = array.reduce((max, item) => Math.max(max, fn(item)), 0);\n return array.filter(item => fn(item) === evaluatedMax);\n}\n/**\n *\n * @param {Array<SchemaUtilErrorObject>} children\n * @returns {Array<SchemaUtilErrorObject>}\n */\n\n\nfunction filterChildren(children) {\n let newChildren = children;\n newChildren = filterMax(newChildren,\n /**\n *\n * @param {SchemaUtilErrorObject} error\n * @returns {number}\n */\n error => error.dataPath ? error.dataPath.length : 0);\n newChildren = filterMax(newChildren,\n /**\n * @param {SchemaUtilErrorObject} error\n * @returns {number}\n */\n error => SPECIFICITY[\n /** @type {keyof typeof SPECIFICITY} */\n error.keyword] || 2);\n return newChildren;\n}\n/**\n * Find all children errors\n * @param {Array<SchemaUtilErrorObject>} children\n * @param {Array<string>} schemaPaths\n * @return {number} returns index of first child\n */\n\n\nfunction findAllChildren(children, schemaPaths) {\n let i = children.length - 1;\n\n const predicate =\n /**\n * @param {string} schemaPath\n * @returns {boolean}\n */\n schemaPath => children[i].schemaPath.indexOf(schemaPath) !== 0;\n\n while (i > -1 && !schemaPaths.every(predicate)) {\n if (children[i].keyword === \"anyOf\" || children[i].keyword === \"oneOf\") {\n const refs = extractRefs(children[i]);\n const childrenStart = findAllChildren(children.slice(0, i), refs.concat(children[i].schemaPath));\n i = childrenStart - 1;\n } else {\n i -= 1;\n }\n }\n\n return i + 1;\n}\n/**\n * Extracts all refs from schema\n * @param {SchemaUtilErrorObject} error\n * @return {Array<string>}\n */\n\n\nfunction extractRefs(error) {\n const {\n schema\n } = error;\n\n if (!Array.isArray(schema)) {\n return [];\n }\n\n return schema.map(({\n $ref\n }) => $ref).filter(s => s);\n}\n/**\n * Groups children by their first level parent (assuming that error is root)\n * @param {Array<SchemaUtilErrorObject>} children\n * @return {Array<SchemaUtilErrorObject>}\n */\n\n\nfunction groupChildrenByFirstChild(children) {\n const result = [];\n let i = children.length - 1;\n\n while (i > 0) {\n const child = children[i];\n\n if (child.keyword === \"anyOf\" || child.keyword === \"oneOf\") {\n const refs = extractRefs(child);\n const childrenStart = findAllChildren(children.slice(0, i), refs.concat(child.schemaPath));\n\n if (childrenStart !== i) {\n result.push(Object.assign({}, child, {\n children: children.slice(childrenStart, i)\n }));\n i = childrenStart;\n } else {\n result.push(child);\n }\n } else {\n result.push(child);\n }\n\n i -= 1;\n }\n\n if (i === 0) {\n result.push(children[i]);\n }\n\n return result.reverse();\n}\n/**\n * @param {string} str\n * @param {string} prefix\n * @returns {string}\n */\n\n\nfunction indent(str, prefix) {\n return str.replace(/\\n(?!$)/g, `\\n${prefix}`);\n}\n/**\n * @param {Schema} schema\n * @returns {schema is (Schema & {not: Schema})}\n */\n\n\nfunction hasNotInSchema(schema) {\n return !!schema.not;\n}\n/**\n * @param {Schema} schema\n * @return {Schema}\n */\n\n\nfunction findFirstTypedSchema(schema) {\n if (hasNotInSchema(schema)) {\n return findFirstTypedSchema(schema.not);\n }\n\n return schema;\n}\n/**\n * @param {Schema} schema\n * @return {boolean}\n */\n\n\nfunction canApplyNot(schema) {\n const typedSchema = findFirstTypedSchema(schema);\n return likeNumber(typedSchema) || likeInteger(typedSchema) || likeString(typedSchema) || likeNull(typedSchema) || likeBoolean(typedSchema);\n}\n/**\n * @param {any} maybeObj\n * @returns {boolean}\n */\n\n\nfunction isObject(maybeObj) {\n return typeof maybeObj === \"object\" && maybeObj !== null;\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeNumber(schema) {\n return schema.type === \"number\" || typeof schema.minimum !== \"undefined\" || typeof schema.exclusiveMinimum !== \"undefined\" || typeof schema.maximum !== \"undefined\" || typeof schema.exclusiveMaximum !== \"undefined\" || typeof schema.multipleOf !== \"undefined\";\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeInteger(schema) {\n return schema.type === \"integer\" || typeof schema.minimum !== \"undefined\" || typeof schema.exclusiveMinimum !== \"undefined\" || typeof schema.maximum !== \"undefined\" || typeof schema.exclusiveMaximum !== \"undefined\" || typeof schema.multipleOf !== \"undefined\";\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeString(schema) {\n return schema.type === \"string\" || typeof schema.minLength !== \"undefined\" || typeof schema.maxLength !== \"undefined\" || typeof schema.pattern !== \"undefined\" || typeof schema.format !== \"undefined\" || typeof schema.formatMinimum !== \"undefined\" || typeof schema.formatMaximum !== \"undefined\";\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeBoolean(schema) {\n return schema.type === \"boolean\";\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeArray(schema) {\n return schema.type === \"array\" || typeof schema.minItems === \"number\" || typeof schema.maxItems === \"number\" || typeof schema.uniqueItems !== \"undefined\" || typeof schema.items !== \"undefined\" || typeof schema.additionalItems !== \"undefined\" || typeof schema.contains !== \"undefined\";\n}\n/**\n * @param {Schema & {patternRequired?: Array<string>}} schema\n * @returns {boolean}\n */\n\n\nfunction likeObject(schema) {\n return schema.type === \"object\" || typeof schema.minProperties !== \"undefined\" || typeof schema.maxProperties !== \"undefined\" || typeof schema.required !== \"undefined\" || typeof schema.properties !== \"undefined\" || typeof schema.patternProperties !== \"undefined\" || typeof schema.additionalProperties !== \"undefined\" || typeof schema.dependencies !== \"undefined\" || typeof schema.propertyNames !== \"undefined\" || typeof schema.patternRequired !== \"undefined\";\n}\n/**\n * @param {Schema} schema\n * @returns {boolean}\n */\n\n\nfunction likeNull(schema) {\n return schema.type === \"null\";\n}\n/**\n * @param {string} type\n * @returns {string}\n */\n\n\nfunction getArticle(type) {\n if (/^[aeiou]/i.test(type)) {\n return \"an\";\n }\n\n return \"a\";\n}\n/**\n * @param {Schema=} schema\n * @returns {string}\n */\n\n\nfunction getSchemaNonTypes(schema) {\n if (!schema) {\n return \"\";\n }\n\n if (!schema.type) {\n if (likeNumber(schema) || likeInteger(schema)) {\n return \" | should be any non-number\";\n }\n\n if (likeString(schema)) {\n return \" | should be any non-string\";\n }\n\n if (likeArray(schema)) {\n return \" | should be any non-array\";\n }\n\n if (likeObject(schema)) {\n return \" | should be any non-object\";\n }\n }\n\n return \"\";\n}\n/**\n * @param {Array<string>} hints\n * @returns {string}\n */\n\n\nfunction formatHints(hints) {\n return hints.length > 0 ? `(${hints.join(\", \")})` : \"\";\n}\n/**\n * @param {Schema} schema\n * @param {boolean} logic\n * @returns {string[]}\n */\n\n\nfunction getHints(schema, logic) {\n if (likeNumber(schema) || likeInteger(schema)) {\n return numberHints(schema, logic);\n } else if (likeString(schema)) {\n return stringHints(schema, logic);\n }\n\n return [];\n}\n\nclass ValidationError extends Error {\n /**\n * @param {Array<SchemaUtilErrorObject>} errors\n * @param {Schema} schema\n * @param {ValidationErrorConfiguration} configuration\n */\n constructor(errors, schema, configuration = {}) {\n super();\n /** @type {string} */\n\n this.name = \"ValidationError\";\n /** @type {Array<SchemaUtilErrorObject>} */\n\n this.errors = errors;\n /** @type {Schema} */\n\n this.schema = schema;\n let headerNameFromSchema;\n let baseDataPathFromSchema;\n\n if (schema.title && (!configuration.name || !configuration.baseDataPath)) {\n const splittedTitleFromSchema = schema.title.match(/^(.+) (.+)$/);\n\n if (splittedTitleFromSchema) {\n if (!configuration.name) {\n [, headerNameFromSchema] = splittedTitleFromSchema;\n }\n\n if (!configuration.baseDataPath) {\n [,, baseDataPathFromSchema] = splittedTitleFromSchema;\n }\n }\n }\n /** @type {string} */\n\n\n this.headerName = configuration.name || headerNameFromSchema || \"Object\";\n /** @type {string} */\n\n this.baseDataPath = configuration.baseDataPath || baseDataPathFromSchema || \"configuration\";\n /** @type {PostFormatter | null} */\n\n this.postFormatter = configuration.postFormatter || null;\n const header = `Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\\n`;\n /** @type {string} */\n\n this.message = `${header}${this.formatValidationErrors(errors)}`;\n Error.captureStackTrace(this, this.constructor);\n }\n /**\n * @param {string} path\n * @returns {Schema}\n */\n\n\n getSchemaPart(path) {\n const newPath = path.split(\"/\");\n let schemaPart = this.schema;\n\n for (let i = 1; i < newPath.length; i++) {\n const inner = schemaPart[\n /** @type {keyof Schema} */\n newPath[i]];\n\n if (!inner) {\n break;\n }\n\n schemaPart = inner;\n }\n\n return schemaPart;\n }\n /**\n * @param {Schema} schema\n * @param {boolean} logic\n * @param {Array<Object>} prevSchemas\n * @returns {string}\n */\n\n\n formatSchema(schema, logic = true, prevSchemas = []) {\n let newLogic = logic;\n\n const formatInnerSchema =\n /**\n *\n * @param {Object} innerSchema\n * @param {boolean=} addSelf\n * @returns {string}\n */\n (innerSchema, addSelf) => {\n if (!addSelf) {\n return this.formatSchema(innerSchema, newLogic, prevSchemas);\n }\n\n if (prevSchemas.includes(innerSchema)) {\n return \"(recursive)\";\n }\n\n return this.formatSchema(innerSchema, newLogic, prevSchemas.concat(schema));\n };\n\n if (hasNotInSchema(schema) && !likeObject(schema)) {\n if (canApplyNot(schema.not)) {\n newLogic = !logic;\n return formatInnerSchema(schema.not);\n }\n\n const needApplyLogicHere = !schema.not.not;\n const prefix = logic ? \"\" : \"non \";\n newLogic = !logic;\n return needApplyLogicHere ? prefix + formatInnerSchema(schema.not) : formatInnerSchema(schema.not);\n }\n\n if (\n /** @type {Schema & {instanceof: string | Array<string>}} */\n schema.instanceof) {\n const {\n instanceof: value\n } =\n /** @type {Schema & {instanceof: string | Array<string>}} */\n schema;\n const values = !Array.isArray(value) ? [value] : value;\n return values.map(\n /**\n * @param {string} item\n * @returns {string}\n */\n item => item === \"Function\" ? \"function\" : item).join(\" | \");\n }\n\n if (schema.enum) {\n return (\n /** @type {Array<any>} */\n schema.enum.map(item => JSON.stringify(item)).join(\" | \")\n );\n }\n\n if (typeof schema.const !== \"undefined\") {\n return JSON.stringify(schema.const);\n }\n\n if (schema.oneOf) {\n return (\n /** @type {Array<Schema>} */\n schema.oneOf.map(item => formatInnerSchema(item, true)).join(\" | \")\n );\n }\n\n if (schema.anyOf) {\n return (\n /** @type {Array<Schema>} */\n schema.anyOf.map(item => formatInnerSchema(item, true)).join(\" | \")\n );\n }\n\n if (schema.allOf) {\n return (\n /** @type {Array<Schema>} */\n schema.allOf.map(item => formatInnerSchema(item, true)).join(\" & \")\n );\n }\n\n if (\n /** @type {JSONSchema7} */\n schema.if) {\n const {\n if: ifValue,\n then: thenValue,\n else: elseValue\n } =\n /** @type {JSONSchema7} */\n schema;\n return `${ifValue ? `if ${formatInnerSchema(ifValue)}` : \"\"}${thenValue ? ` then ${formatInnerSchema(thenValue)}` : \"\"}${elseValue ? ` else ${formatInnerSchema(elseValue)}` : \"\"}`;\n }\n\n if (schema.$ref) {\n return formatInnerSchema(this.getSchemaPart(schema.$ref), true);\n }\n\n if (likeNumber(schema) || likeInteger(schema)) {\n const [type, ...hints] = getHints(schema, logic);\n const str = `${type}${hints.length > 0 ? ` ${formatHints(hints)}` : \"\"}`;\n return logic ? str : hints.length > 0 ? `non-${type} | ${str}` : `non-${type}`;\n }\n\n if (likeString(schema)) {\n const [type, ...hints] = getHints(schema, logic);\n const str = `${type}${hints.length > 0 ? ` ${formatHints(hints)}` : \"\"}`;\n return logic ? str : str === \"string\" ? \"non-string\" : `non-string | ${str}`;\n }\n\n if (likeBoolean(schema)) {\n return `${logic ? \"\" : \"non-\"}boolean`;\n }\n\n if (likeArray(schema)) {\n // not logic already applied in formatValidationError\n newLogic = true;\n const hints = [];\n\n if (typeof schema.minItems === \"number\") {\n hints.push(`should not have fewer than ${schema.minItems} item${schema.minItems > 1 ? \"s\" : \"\"}`);\n }\n\n if (typeof schema.maxItems === \"number\") {\n hints.push(`should not have more than ${schema.maxItems} item${schema.maxItems > 1 ? \"s\" : \"\"}`);\n }\n\n if (schema.uniqueItems) {\n hints.push(\"should not have duplicate items\");\n }\n\n const hasAdditionalItems = typeof schema.additionalItems === \"undefined\" || Boolean(schema.additionalItems);\n let items = \"\";\n\n if (schema.items) {\n if (Array.isArray(schema.items) && schema.items.length > 0) {\n items = `${\n /** @type {Array<Schema>} */\n schema.items.map(item => formatInnerSchema(item)).join(\", \")}`;\n\n if (hasAdditionalItems) {\n if (schema.additionalItems && isObject(schema.additionalItems) && Object.keys(schema.additionalItems).length > 0) {\n hints.push(`additional items should be ${formatInnerSchema(schema.additionalItems)}`);\n }\n }\n } else if (schema.items && Object.keys(schema.items).length > 0) {\n // \"additionalItems\" is ignored\n items = `${formatInnerSchema(schema.items)}`;\n } else {\n // Fallback for empty `items` value\n items = \"any\";\n }\n } else {\n // \"additionalItems\" is ignored\n items = \"any\";\n }\n\n if (schema.contains && Object.keys(schema.contains).length > 0) {\n hints.push(`should contains at least one ${this.formatSchema(schema.contains)} item`);\n }\n\n return `[${items}${hasAdditionalItems ? \", ...\" : \"\"}]${hints.length > 0 ? ` (${hints.join(\", \")})` : \"\"}`;\n }\n\n if (likeObject(schema)) {\n // not logic already applied in formatValidationError\n newLogic = true;\n const hints = [];\n\n if (typeof schema.minProperties === \"number\") {\n hints.push(`should not have fewer than ${schema.minProperties} ${schema.minProperties > 1 ? \"properties\" : \"property\"}`);\n }\n\n if (typeof schema.maxProperties === \"number\") {\n hints.push(`should not have more than ${schema.maxProperties} ${schema.minProperties && schema.minProperties > 1 ? \"properties\" : \"property\"}`);\n }\n\n if (schema.patternProperties && Object.keys(schema.patternProperties).length > 0) {\n const patternProperties = Object.keys(schema.patternProperties);\n hints.push(`additional property names should match pattern${patternProperties.length > 1 ? \"s\" : \"\"} ${patternProperties.map(pattern => JSON.stringify(pattern)).join(\" | \")}`);\n }\n\n const properties = schema.properties ? Object.keys(schema.properties) : [];\n const required = schema.required ? schema.required : [];\n const allProperties = [...new Set(\n /** @type {Array<string>} */\n [].concat(required).concat(properties))];\n const objectStructure = allProperties.map(property => {\n const isRequired = required.includes(property); // Some properties need quotes, maybe we should add check\n // Maybe we should output type of property (`foo: string`), but it is looks very unreadable\n\n return `${property}${isRequired ? \"\" : \"?\"}`;\n }).concat(typeof schema.additionalProperties === \"undefined\" || Boolean(schema.additionalProperties) ? schema.additionalProperties && isObject(schema.additionalProperties) ? [`<key>: ${formatInnerSchema(schema.additionalProperties)}`] : [\"…\"] : []).join(\", \");\n const {\n dependencies,\n propertyNames,\n patternRequired\n } =\n /** @type {Schema & {patternRequired?: Array<string>;}} */\n schema;\n\n if (dependencies) {\n Object.keys(dependencies).forEach(dependencyName => {\n const dependency = dependencies[dependencyName];\n\n if (Array.isArray(dependency)) {\n hints.push(`should have ${dependency.length > 1 ? \"properties\" : \"property\"} ${dependency.map(dep => `'${dep}'`).join(\", \")} when property '${dependencyName}' is present`);\n } else {\n hints.push(`should be valid according to the schema ${formatInnerSchema(dependency)} when property '${dependencyName}' is present`);\n }\n });\n }\n\n if (propertyNames && Object.keys(propertyNames).length > 0) {\n hints.push(`each property name should match format ${JSON.stringify(schema.propertyNames.format)}`);\n }\n\n if (patternRequired && patternRequired.length > 0) {\n hints.push(`should have property matching pattern ${patternRequired.map(\n /**\n * @param {string} item\n * @returns {string}\n */\n item => JSON.stringify(item))}`);\n }\n\n return `object {${objectStructure ? ` ${objectStructure} ` : \"\"}}${hints.length > 0 ? ` (${hints.join(\", \")})` : \"\"}`;\n }\n\n if (likeNull(schema)) {\n return `${logic ? \"\" : \"non-\"}null`;\n }\n\n if (Array.isArray(schema.type)) {\n // not logic already applied in formatValidationError\n return `${schema.type.join(\" | \")}`;\n } // Fallback for unknown keywords\n // not logic already applied in formatValidationError\n\n /* istanbul ignore next */\n\n\n return JSON.stringify(schema, null, 2);\n }\n /**\n * @param {Schema=} schemaPart\n * @param {(boolean | Array<string>)=} additionalPath\n * @param {boolean=} needDot\n * @param {boolean=} logic\n * @returns {string}\n */\n\n\n getSchemaPartText(schemaPart, additionalPath, needDot = false, logic = true) {\n if (!schemaPart) {\n return \"\";\n }\n\n if (Array.isArray(additionalPath)) {\n for (let i = 0; i < additionalPath.length; i++) {\n /** @type {Schema | undefined} */\n const inner = schemaPart[\n /** @type {keyof Schema} */\n additionalPath[i]];\n\n if (inner) {\n // eslint-disable-next-line no-param-reassign\n schemaPart = inner;\n } else {\n break;\n }\n }\n }\n\n while (schemaPart.$ref) {\n // eslint-disable-next-line no-param-reassign\n schemaPart = this.getSchemaPart(schemaPart.$ref);\n }\n\n let schemaText = `${this.formatSchema(schemaPart, logic)}${needDot ? \".\" : \"\"}`;\n\n if (schemaPart.description) {\n schemaText += `\\n-> ${schemaPart.description}`;\n }\n\n if (schemaPart.link) {\n schemaText += `\\n-> Read more at ${schemaPart.link}`;\n }\n\n return schemaText;\n }\n /**\n * @param {Schema=} schemaPart\n * @returns {string}\n */\n\n\n getSchemaPartDescription(schemaPart) {\n if (!schemaPart) {\n return \"\";\n }\n\n while (schemaPart.$ref) {\n // eslint-disable-next-line no-param-reassign\n schemaPart = this.getSchemaPart(schemaPart.$ref);\n }\n\n let schemaText = \"\";\n\n if (schemaPart.description) {\n schemaText += `\\n-> ${schemaPart.description}`;\n }\n\n if (schemaPart.link) {\n schemaText += `\\n-> Read more at ${schemaPart.link}`;\n }\n\n return schemaText;\n }\n /**\n * @param {SchemaUtilErrorObject} error\n * @returns {string}\n */\n\n\n formatValidationError(error) {\n const {\n keyword,\n dataPath: errorDataPath\n } = error;\n const dataPath = `${this.baseDataPath}${errorDataPath}`;\n\n switch (keyword) {\n case \"type\":\n {\n const {\n parentSchema,\n params\n } = error; // eslint-disable-next-line default-case\n\n switch (\n /** @type {import(\"ajv\").TypeParams} */\n params.type) {\n case \"number\":\n return `${dataPath} should be a ${this.getSchemaPartText(parentSchema, false, true)}`;\n\n case \"integer\":\n return `${dataPath} should be an ${this.getSchemaPartText(parentSchema, false, true)}`;\n\n case \"string\":\n return `${dataPath} should be a ${this.getSchemaPartText(parentSchema, false, true)}`;\n\n case \"boolean\":\n return `${dataPath} should be a ${this.getSchemaPartText(parentSchema, false, true)}`;\n\n case \"array\":\n return `${dataPath} should be an array:\\n${this.getSchemaPartText(parentSchema)}`;\n\n case \"object\":\n return `${dataPath} should be an object:\\n${this.getSchemaPartText(parentSchema)}`;\n\n case \"null\":\n return `${dataPath} should be a ${this.getSchemaPartText(parentSchema, false, true)}`;\n\n default:\n return `${dataPath} should be:\\n${this.getSchemaPartText(parentSchema)}`;\n }\n }\n\n case \"instanceof\":\n {\n const {\n parentSchema\n } = error;\n return `${dataPath} should be an instance of ${this.getSchemaPartText(parentSchema, false, true)}`;\n }\n\n case \"pattern\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n pattern\n } =\n /** @type {import(\"ajv\").PatternParams} */\n params;\n return `${dataPath} should match pattern ${JSON.stringify(pattern)}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"format\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n format\n } =\n /** @type {import(\"ajv\").FormatParams} */\n params;\n return `${dataPath} should match format ${JSON.stringify(format)}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"formatMinimum\":\n case \"formatMaximum\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n comparison,\n limit\n } =\n /** @type {import(\"ajv\").ComparisonParams} */\n params;\n return `${dataPath} should be ${comparison} ${JSON.stringify(limit)}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"minimum\":\n case \"maximum\":\n case \"exclusiveMinimum\":\n case \"exclusiveMaximum\":\n {\n const {\n parentSchema,\n params\n } = error;\n const {\n comparison,\n limit\n } =\n /** @type {import(\"ajv\").ComparisonParams} */\n params;\n const [, ...hints] = getHints(\n /** @type {Schema} */\n parentSchema, true);\n\n if (hints.length === 0) {\n hints.push(`should be ${comparison} ${limit}`);\n }\n\n return `${dataPath} ${hints.join(\" \")}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"multipleOf\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n multipleOf\n } =\n /** @type {import(\"ajv\").MultipleOfParams} */\n params;\n return `${dataPath} should be multiple of ${multipleOf}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"patternRequired\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n missingPattern\n } =\n /** @type {import(\"ajv\").PatternRequiredParams} */\n params;\n return `${dataPath} should have property matching pattern ${JSON.stringify(missingPattern)}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"minLength\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n\n if (limit === 1) {\n return `${dataPath} should be a non-empty string${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n const length = limit - 1;\n return `${dataPath} should be longer than ${length} character${length > 1 ? \"s\" : \"\"}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"minItems\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n\n if (limit === 1) {\n return `${dataPath} should be a non-empty array${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n return `${dataPath} should not have fewer than ${limit} items${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"minProperties\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n\n if (limit === 1) {\n return `${dataPath} should be a non-empty object${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n return `${dataPath} should not have fewer than ${limit} properties${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"maxLength\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n const max = limit + 1;\n return `${dataPath} should be shorter than ${max} character${max > 1 ? \"s\" : \"\"}${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"maxItems\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n return `${dataPath} should not have more than ${limit} items${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"maxProperties\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n return `${dataPath} should not have more than ${limit} properties${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"uniqueItems\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n i\n } =\n /** @type {import(\"ajv\").UniqueItemsParams} */\n params;\n return `${dataPath} should not contain the item '${error.data[i]}' twice${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"additionalItems\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n limit\n } =\n /** @type {import(\"ajv\").LimitParams} */\n params;\n return `${dataPath} should not have more than ${limit} items${getSchemaNonTypes(parentSchema)}. These items are valid:\\n${this.getSchemaPartText(parentSchema)}`;\n }\n\n case \"contains\":\n {\n const {\n parentSchema\n } = error;\n return `${dataPath} should contains at least one ${this.getSchemaPartText(parentSchema, [\"contains\"])} item${getSchemaNonTypes(parentSchema)}.`;\n }\n\n case \"required\":\n {\n const {\n parentSchema,\n params\n } = error;\n const missingProperty =\n /** @type {import(\"ajv\").DependenciesParams} */\n params.missingProperty.replace(/^\\./, \"\");\n const hasProperty = parentSchema && Boolean(\n /** @type {Schema} */\n parentSchema.properties &&\n /** @type {Schema} */\n parentSchema.properties[missingProperty]);\n return `${dataPath} misses the property '${missingProperty}'${getSchemaNonTypes(parentSchema)}.${hasProperty ? ` Should be:\\n${this.getSchemaPartText(parentSchema, [\"properties\", missingProperty])}` : this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"additionalProperties\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n additionalProperty\n } =\n /** @type {import(\"ajv\").AdditionalPropertiesParams} */\n params;\n return `${dataPath} has an unknown property '${additionalProperty}'${getSchemaNonTypes(parentSchema)}. These properties are valid:\\n${this.getSchemaPartText(parentSchema)}`;\n }\n\n case \"dependencies\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n property,\n deps\n } =\n /** @type {import(\"ajv\").DependenciesParams} */\n params;\n const dependencies = deps.split(\",\").map(\n /**\n * @param {string} dep\n * @returns {string}\n */\n dep => `'${dep.trim()}'`).join(\", \");\n return `${dataPath} should have properties ${dependencies} when property '${property}' is present${getSchemaNonTypes(parentSchema)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"propertyNames\":\n {\n const {\n params,\n parentSchema,\n schema\n } = error;\n const {\n propertyName\n } =\n /** @type {import(\"ajv\").PropertyNamesParams} */\n params;\n return `${dataPath} property name '${propertyName}' is invalid${getSchemaNonTypes(parentSchema)}. Property names should be match format ${JSON.stringify(schema.format)}.${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n case \"enum\":\n {\n const {\n parentSchema\n } = error;\n\n if (parentSchema &&\n /** @type {Schema} */\n parentSchema.enum &&\n /** @type {Schema} */\n parentSchema.enum.length === 1) {\n return `${dataPath} should be ${this.getSchemaPartText(parentSchema, false, true)}`;\n }\n\n return `${dataPath} should be one of these:\\n${this.getSchemaPartText(parentSchema)}`;\n }\n\n case \"const\":\n {\n const {\n parentSchema\n } = error;\n return `${dataPath} should be equal to constant ${this.getSchemaPartText(parentSchema, false, true)}`;\n }\n\n case \"not\":\n {\n const postfix = likeObject(\n /** @type {Schema} */\n error.parentSchema) ? `\\n${this.getSchemaPartText(error.parentSchema)}` : \"\";\n const schemaOutput = this.getSchemaPartText(error.schema, false, false, false);\n\n if (canApplyNot(error.schema)) {\n return `${dataPath} should be any ${schemaOutput}${postfix}.`;\n }\n\n const {\n schema,\n parentSchema\n } = error;\n return `${dataPath} should not be ${this.getSchemaPartText(schema, false, true)}${parentSchema && likeObject(parentSchema) ? `\\n${this.getSchemaPartText(parentSchema)}` : \"\"}`;\n }\n\n case \"oneOf\":\n case \"anyOf\":\n {\n const {\n parentSchema,\n children\n } = error;\n\n if (children && children.length > 0) {\n if (error.schema.length === 1) {\n const lastChild = children[children.length - 1];\n const remainingChildren = children.slice(0, children.length - 1);\n return this.formatValidationError(Object.assign({}, lastChild, {\n children: remainingChildren,\n parentSchema: Object.assign({}, parentSchema, lastChild.parentSchema)\n }));\n }\n\n let filteredChildren = filterChildren(children);\n\n if (filteredChildren.length === 1) {\n return this.formatValidationError(filteredChildren[0]);\n }\n\n filteredChildren = groupChildrenByFirstChild(filteredChildren);\n return `${dataPath} should be one of these:\\n${this.getSchemaPartText(parentSchema)}\\nDetails:\\n${filteredChildren.map(\n /**\n * @param {SchemaUtilErrorObject} nestedError\n * @returns {string}\n */\n nestedError => ` * ${indent(this.formatValidationError(nestedError), \" \")}`).join(\"\\n\")}`;\n }\n\n return `${dataPath} should be one of these:\\n${this.getSchemaPartText(parentSchema)}`;\n }\n\n case \"if\":\n {\n const {\n params,\n parentSchema\n } = error;\n const {\n failingKeyword\n } =\n /** @type {import(\"ajv\").IfParams} */\n params;\n return `${dataPath} should match \"${failingKeyword}\" schema:\\n${this.getSchemaPartText(parentSchema, [failingKeyword])}`;\n }\n\n case \"absolutePath\":\n {\n const {\n message,\n parentSchema\n } = error;\n return `${dataPath}: ${message}${this.getSchemaPartDescription(parentSchema)}`;\n }\n\n /* istanbul ignore next */\n\n default:\n {\n const {\n message,\n parentSchema\n } = error;\n const ErrorInJSON = JSON.stringify(error, null, 2); // For `custom`, `false schema`, `$ref` keywords\n // Fallback for unknown keywords\n\n return `${dataPath} ${message} (${ErrorInJSON}).\\n${this.getSchemaPartText(parentSchema, false)}`;\n }\n }\n }\n /**\n * @param {Array<SchemaUtilErrorObject>} errors\n * @returns {string}\n */\n\n\n formatValidationErrors(errors) {\n return errors.map(error => {\n let formattedError = this.formatValidationError(error);\n\n if (this.postFormatter) {\n formattedError = this.postFormatter(formattedError, error);\n }\n\n return ` - ${indent(formattedError, \" \")}`;\n }).join(\"\\n\");\n }\n\n}\n\nvar _default = ValidationError;\nexports[\"default\"] = _default;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/ValidationError.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/index.js": /*!*************************************************!*\ !*** ./node_modules/schema-utils/dist/index.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nconst {\n validate,\n ValidationError\n} = __webpack_require__(/*! ./validate */ \"./node_modules/schema-utils/dist/validate.js\");\n\nmodule.exports = {\n validate,\n ValidationError\n};\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/index.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/keywords/absolutePath.js": /*!*****************************************************************!*\ !*** ./node_modules/schema-utils/dist/keywords/absolutePath.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\n/** @typedef {import(\"ajv\").Ajv} Ajv */\n\n/** @typedef {import(\"ajv\").ValidateFunction} ValidateFunction */\n\n/** @typedef {import(\"../validate\").SchemaUtilErrorObject} SchemaUtilErrorObject */\n\n/**\n * @param {string} message\n * @param {object} schema\n * @param {string} data\n * @returns {SchemaUtilErrorObject}\n */\nfunction errorMessage(message, schema, data) {\n return {\n // @ts-ignore\n // eslint-disable-next-line no-undefined\n dataPath: undefined,\n // @ts-ignore\n // eslint-disable-next-line no-undefined\n schemaPath: undefined,\n keyword: \"absolutePath\",\n params: {\n absolutePath: data\n },\n message,\n parentSchema: schema\n };\n}\n/**\n * @param {boolean} shouldBeAbsolute\n * @param {object} schema\n * @param {string} data\n * @returns {SchemaUtilErrorObject}\n */\n\n\nfunction getErrorFor(shouldBeAbsolute, schema, data) {\n const message = shouldBeAbsolute ? `The provided value ${JSON.stringify(data)} is not an absolute path!` : `A relative path is expected. However, the provided value ${JSON.stringify(data)} is an absolute path!`;\n return errorMessage(message, schema, data);\n}\n/**\n *\n * @param {Ajv} ajv\n * @returns {Ajv}\n */\n\n\nfunction addAbsolutePathKeyword(ajv) {\n ajv.addKeyword(\"absolutePath\", {\n errors: true,\n type: \"string\",\n\n compile(schema, parentSchema) {\n /** @type {ValidateFunction} */\n const callback = data => {\n let passes = true;\n const isExclamationMarkPresent = data.includes(\"!\");\n\n if (isExclamationMarkPresent) {\n callback.errors = [errorMessage(`The provided value ${JSON.stringify(data)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`, parentSchema, data)];\n passes = false;\n } // ?:[A-Za-z]:\\\\ - Windows absolute path\n // \\\\\\\\ - Windows network absolute path\n // \\/ - Unix-like OS absolute path\n\n\n const isCorrectAbsolutePath = schema === /^(?:[A-Za-z]:(\\\\|\\/)|\\\\\\\\|\\/)/.test(data);\n\n if (!isCorrectAbsolutePath) {\n callback.errors = [getErrorFor(schema, parentSchema, data)];\n passes = false;\n }\n\n return passes;\n };\n\n callback.errors = [];\n return callback;\n }\n\n });\n return ajv;\n}\n\nvar _default = addAbsolutePathKeyword;\nexports[\"default\"] = _default;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/keywords/absolutePath.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/util/Range.js": /*!******************************************************!*\ !*** ./node_modules/schema-utils/dist/util/Range.js ***! \******************************************************/ /***/ ((module) => { "use strict"; eval("\n\n/**\n * @typedef {[number, boolean]} RangeValue\n */\n\n/**\n * @callback RangeValueCallback\n * @param {RangeValue} rangeValue\n * @returns {boolean}\n */\nclass Range {\n /**\n * @param {\"left\" | \"right\"} side\n * @param {boolean} exclusive\n * @returns {\">\" | \">=\" | \"<\" | \"<=\"}\n */\n static getOperator(side, exclusive) {\n if (side === \"left\") {\n return exclusive ? \">\" : \">=\";\n }\n\n return exclusive ? \"<\" : \"<=\";\n }\n /**\n * @param {number} value\n * @param {boolean} logic is not logic applied\n * @param {boolean} exclusive is range exclusive\n * @returns {string}\n */\n\n\n static formatRight(value, logic, exclusive) {\n if (logic === false) {\n return Range.formatLeft(value, !logic, !exclusive);\n }\n\n return `should be ${Range.getOperator(\"right\", exclusive)} ${value}`;\n }\n /**\n * @param {number} value\n * @param {boolean} logic is not logic applied\n * @param {boolean} exclusive is range exclusive\n * @returns {string}\n */\n\n\n static formatLeft(value, logic, exclusive) {\n if (logic === false) {\n return Range.formatRight(value, !logic, !exclusive);\n }\n\n return `should be ${Range.getOperator(\"left\", exclusive)} ${value}`;\n }\n /**\n * @param {number} start left side value\n * @param {number} end right side value\n * @param {boolean} startExclusive is range exclusive from left side\n * @param {boolean} endExclusive is range exclusive from right side\n * @param {boolean} logic is not logic applied\n * @returns {string}\n */\n\n\n static formatRange(start, end, startExclusive, endExclusive, logic) {\n let result = \"should be\";\n result += ` ${Range.getOperator(logic ? \"left\" : \"right\", logic ? startExclusive : !startExclusive)} ${start} `;\n result += logic ? \"and\" : \"or\";\n result += ` ${Range.getOperator(logic ? \"right\" : \"left\", logic ? endExclusive : !endExclusive)} ${end}`;\n return result;\n }\n /**\n * @param {Array<RangeValue>} values\n * @param {boolean} logic is not logic applied\n * @return {RangeValue} computed value and it's exclusive flag\n */\n\n\n static getRangeValue(values, logic) {\n let minMax = logic ? Infinity : -Infinity;\n let j = -1;\n const predicate = logic ?\n /** @type {RangeValueCallback} */\n ([value]) => value <= minMax :\n /** @type {RangeValueCallback} */\n ([value]) => value >= minMax;\n\n for (let i = 0; i < values.length; i++) {\n if (predicate(values[i])) {\n [minMax] = values[i];\n j = i;\n }\n }\n\n if (j > -1) {\n return values[j];\n }\n\n return [Infinity, true];\n }\n\n constructor() {\n /** @type {Array<RangeValue>} */\n this._left = [];\n /** @type {Array<RangeValue>} */\n\n this._right = [];\n }\n /**\n * @param {number} value\n * @param {boolean=} exclusive\n */\n\n\n left(value, exclusive = false) {\n this._left.push([value, exclusive]);\n }\n /**\n * @param {number} value\n * @param {boolean=} exclusive\n */\n\n\n right(value, exclusive = false) {\n this._right.push([value, exclusive]);\n }\n /**\n * @param {boolean} logic is not logic applied\n * @return {string} \"smart\" range string representation\n */\n\n\n format(logic = true) {\n const [start, leftExclusive] = Range.getRangeValue(this._left, logic);\n const [end, rightExclusive] = Range.getRangeValue(this._right, !logic);\n\n if (!Number.isFinite(start) && !Number.isFinite(end)) {\n return \"\";\n }\n\n const realStart = leftExclusive ? start + 1 : start;\n const realEnd = rightExclusive ? end - 1 : end; // e.g. 5 < x < 7, 5 < x <= 6, 6 <= x <= 6\n\n if (realStart === realEnd) {\n return `should be ${logic ? \"\" : \"!\"}= ${realStart}`;\n } // e.g. 4 < x < ∞\n\n\n if (Number.isFinite(start) && !Number.isFinite(end)) {\n return Range.formatLeft(start, logic, leftExclusive);\n } // e.g. ∞ < x < 4\n\n\n if (!Number.isFinite(start) && Number.isFinite(end)) {\n return Range.formatRight(end, logic, rightExclusive);\n }\n\n return Range.formatRange(start, end, leftExclusive, rightExclusive, logic);\n }\n\n}\n\nmodule.exports = Range;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/util/Range.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/util/hints.js": /*!******************************************************!*\ !*** ./node_modules/schema-utils/dist/util/hints.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nconst Range = __webpack_require__(/*! ./Range */ \"./node_modules/schema-utils/dist/util/Range.js\");\n/** @typedef {import(\"../validate\").Schema} Schema */\n\n/**\n * @param {Schema} schema\n * @param {boolean} logic\n * @return {string[]}\n */\n\n\nmodule.exports.stringHints = function stringHints(schema, logic) {\n const hints = [];\n let type = \"string\";\n const currentSchema = { ...schema\n };\n\n if (!logic) {\n const tmpLength = currentSchema.minLength;\n const tmpFormat = currentSchema.formatMinimum;\n const tmpExclusive = currentSchema.formatExclusiveMaximum;\n currentSchema.minLength = currentSchema.maxLength;\n currentSchema.maxLength = tmpLength;\n currentSchema.formatMinimum = currentSchema.formatMaximum;\n currentSchema.formatMaximum = tmpFormat;\n currentSchema.formatExclusiveMaximum = !currentSchema.formatExclusiveMinimum;\n currentSchema.formatExclusiveMinimum = !tmpExclusive;\n }\n\n if (typeof currentSchema.minLength === \"number\") {\n if (currentSchema.minLength === 1) {\n type = \"non-empty string\";\n } else {\n const length = Math.max(currentSchema.minLength - 1, 0);\n hints.push(`should be longer than ${length} character${length > 1 ? \"s\" : \"\"}`);\n }\n }\n\n if (typeof currentSchema.maxLength === \"number\") {\n if (currentSchema.maxLength === 0) {\n type = \"empty string\";\n } else {\n const length = currentSchema.maxLength + 1;\n hints.push(`should be shorter than ${length} character${length > 1 ? \"s\" : \"\"}`);\n }\n }\n\n if (currentSchema.pattern) {\n hints.push(`should${logic ? \"\" : \" not\"} match pattern ${JSON.stringify(currentSchema.pattern)}`);\n }\n\n if (currentSchema.format) {\n hints.push(`should${logic ? \"\" : \" not\"} match format ${JSON.stringify(currentSchema.format)}`);\n }\n\n if (currentSchema.formatMinimum) {\n hints.push(`should be ${currentSchema.formatExclusiveMinimum ? \">\" : \">=\"} ${JSON.stringify(currentSchema.formatMinimum)}`);\n }\n\n if (currentSchema.formatMaximum) {\n hints.push(`should be ${currentSchema.formatExclusiveMaximum ? \"<\" : \"<=\"} ${JSON.stringify(currentSchema.formatMaximum)}`);\n }\n\n return [type].concat(hints);\n};\n/**\n * @param {Schema} schema\n * @param {boolean} logic\n * @return {string[]}\n */\n\n\nmodule.exports.numberHints = function numberHints(schema, logic) {\n const hints = [schema.type === \"integer\" ? \"integer\" : \"number\"];\n const range = new Range();\n\n if (typeof schema.minimum === \"number\") {\n range.left(schema.minimum);\n }\n\n if (typeof schema.exclusiveMinimum === \"number\") {\n range.left(schema.exclusiveMinimum, true);\n }\n\n if (typeof schema.maximum === \"number\") {\n range.right(schema.maximum);\n }\n\n if (typeof schema.exclusiveMaximum === \"number\") {\n range.right(schema.exclusiveMaximum, true);\n }\n\n const rangeFormat = range.format(logic);\n\n if (rangeFormat) {\n hints.push(rangeFormat);\n }\n\n if (typeof schema.multipleOf === \"number\") {\n hints.push(`should${logic ? \"\" : \" not\"} be multiple of ${schema.multipleOf}`);\n }\n\n return hints;\n};\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/util/hints.js?"); /***/ }), /***/ "./node_modules/schema-utils/dist/validate.js": /*!****************************************************!*\ !*** ./node_modules/schema-utils/dist/validate.js ***! \****************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.validate = validate;\nObject.defineProperty(exports, \"ValidationError\", ({\n enumerable: true,\n get: function () {\n return _ValidationError.default;\n }\n}));\n\nvar _absolutePath = _interopRequireDefault(__webpack_require__(/*! ./keywords/absolutePath */ \"./node_modules/schema-utils/dist/keywords/absolutePath.js\"));\n\nvar _ValidationError = _interopRequireDefault(__webpack_require__(/*! ./ValidationError */ \"./node_modules/schema-utils/dist/ValidationError.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Use CommonJS require for ajv libs so TypeScript consumers aren't locked into esModuleInterop (see #110).\nconst Ajv = __webpack_require__(/*! ajv */ \"./node_modules/ajv/lib/ajv.js\");\n\nconst ajvKeywords = __webpack_require__(/*! ajv-keywords */ \"./node_modules/ajv-keywords/index.js\");\n/** @typedef {import(\"json-schema\").JSONSchema4} JSONSchema4 */\n\n/** @typedef {import(\"json-schema\").JSONSchema6} JSONSchema6 */\n\n/** @typedef {import(\"json-schema\").JSONSchema7} JSONSchema7 */\n\n/** @typedef {import(\"ajv\").ErrorObject} ErrorObject */\n\n/**\n * @typedef {Object} Extend\n * @property {number=} formatMinimum\n * @property {number=} formatMaximum\n * @property {boolean=} formatExclusiveMinimum\n * @property {boolean=} formatExclusiveMaximum\n * @property {string=} link\n */\n\n/** @typedef {(JSONSchema4 | JSONSchema6 | JSONSchema7) & Extend} Schema */\n\n/** @typedef {ErrorObject & { children?: Array<ErrorObject>}} SchemaUtilErrorObject */\n\n/**\n * @callback PostFormatter\n * @param {string} formattedError\n * @param {SchemaUtilErrorObject} error\n * @returns {string}\n */\n\n/**\n * @typedef {Object} ValidationErrorConfiguration\n * @property {string=} name\n * @property {string=} baseDataPath\n * @property {PostFormatter=} postFormatter\n */\n\n\nconst ajv = new Ajv({\n allErrors: true,\n verbose: true,\n $data: true\n});\najvKeywords(ajv, [\"instanceof\", \"formatMinimum\", \"formatMaximum\", \"patternRequired\"]); // Custom keywords\n\n(0, _absolutePath.default)(ajv);\n/**\n * @param {Schema} schema\n * @param {Array<object> | object} options\n * @param {ValidationErrorConfiguration=} configuration\n * @returns {void}\n */\n\nfunction validate(schema, options, configuration) {\n let errors = [];\n\n if (Array.isArray(options)) {\n errors = Array.from(options, nestedOptions => validateObject(schema, nestedOptions));\n errors.forEach((list, idx) => {\n const applyPrefix =\n /**\n * @param {SchemaUtilErrorObject} error\n */\n error => {\n // eslint-disable-next-line no-param-reassign\n error.dataPath = `[${idx}]${error.dataPath}`;\n\n if (error.children) {\n error.children.forEach(applyPrefix);\n }\n };\n\n list.forEach(applyPrefix);\n });\n errors = errors.reduce((arr, items) => {\n arr.push(...items);\n return arr;\n }, []);\n } else {\n errors = validateObject(schema, options);\n }\n\n if (errors.length > 0) {\n throw new _ValidationError.default(errors, schema, configuration);\n }\n}\n/**\n * @param {Schema} schema\n * @param {Array<object> | object} options\n * @returns {Array<SchemaUtilErrorObject>}\n */\n\n\nfunction validateObject(schema, options) {\n const compiledSchema = ajv.compile(schema);\n const valid = compiledSchema(options);\n if (valid) return [];\n return compiledSchema.errors ? filterErrors(compiledSchema.errors) : [];\n}\n/**\n * @param {Array<ErrorObject>} errors\n * @returns {Array<SchemaUtilErrorObject>}\n */\n\n\nfunction filterErrors(errors) {\n /** @type {Array<SchemaUtilErrorObject>} */\n let newErrors = [];\n\n for (const error of\n /** @type {Array<SchemaUtilErrorObject>} */\n errors) {\n const {\n dataPath\n } = error;\n /** @type {Array<SchemaUtilErrorObject>} */\n\n let children = [];\n newErrors = newErrors.filter(oldError => {\n if (oldError.dataPath.includes(dataPath)) {\n if (oldError.children) {\n children = children.concat(oldError.children.slice(0));\n } // eslint-disable-next-line no-undefined, no-param-reassign\n\n\n oldError.children = undefined;\n children.push(oldError);\n return false;\n }\n\n return true;\n });\n\n if (children.length) {\n error.children = children;\n }\n\n newErrors.push(error);\n }\n\n return newErrors;\n}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/schema-utils/dist/validate.js?"); /***/ }), /***/ "./node_modules/serialize-javascript/index.js": /*!****************************************************!*\ !*** ./node_modules/serialize-javascript/index.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n\n\nvar randomBytes = __webpack_require__(/*! randombytes */ \"./node_modules/randombytes/browser.js\");\n\n// Generate an internal UID to make the regexp pattern harder to guess.\nvar UID_LENGTH = 16;\nvar UID = generateUID();\nvar PLACE_HOLDER_REGEXP = new RegExp('(\\\\\\\\)?\"@__(F|R|D|M|S|A|U|I|B|L)-' + UID + '-(\\\\d+)__@\"', 'g');\n\nvar IS_NATIVE_CODE_REGEXP = /\\{\\s*\\[native code\\]\\s*\\}/g;\nvar IS_PURE_FUNCTION = /function.*?\\(/;\nvar IS_ARROW_FUNCTION = /.*?=>.*?/;\nvar UNSAFE_CHARS_REGEXP = /[<>\\/\\u2028\\u2029]/g;\n\nvar RESERVED_SYMBOLS = ['*', 'async'];\n\n// Mapping of unsafe HTML and invalid JavaScript line terminator chars to their\n// Unicode char counterparts which are safe to use in JavaScript strings.\nvar ESCAPED_CHARS = {\n '<' : '\\\\u003C',\n '>' : '\\\\u003E',\n '/' : '\\\\u002F',\n '\\u2028': '\\\\u2028',\n '\\u2029': '\\\\u2029'\n};\n\nfunction escapeUnsafeChars(unsafeChar) {\n return ESCAPED_CHARS[unsafeChar];\n}\n\nfunction generateUID() {\n var bytes = randomBytes(UID_LENGTH);\n var result = '';\n for(var i=0; i<UID_LENGTH; ++i) {\n result += bytes[i].toString(16);\n }\n return result;\n}\n\nfunction deleteFunctions(obj){\n var functionKeys = [];\n for (var key in obj) {\n if (typeof obj[key] === \"function\") {\n functionKeys.push(key);\n }\n }\n for (var i = 0; i < functionKeys.length; i++) {\n delete obj[functionKeys[i]];\n }\n}\n\nmodule.exports = function serialize(obj, options) {\n options || (options = {});\n\n // Backwards-compatibility for `space` as the second argument.\n if (typeof options === 'number' || typeof options === 'string') {\n options = {space: options};\n }\n\n var functions = [];\n var regexps = [];\n var dates = [];\n var maps = [];\n var sets = [];\n var arrays = [];\n var undefs = [];\n var infinities= [];\n var bigInts = [];\n var urls = [];\n\n // Returns placeholders for functions and regexps (identified by index)\n // which are later replaced by their string representation.\n function replacer(key, value) {\n\n // For nested function\n if(options.ignoreFunction){\n deleteFunctions(value);\n }\n\n if (!value && value !== undefined && value !== BigInt(0)) {\n return value;\n }\n\n // If the value is an object w/ a toJSON method, toJSON is called before\n // the replacer runs, so we use this[key] to get the non-toJSONed value.\n var origValue = this[key];\n var type = typeof origValue;\n\n if (type === 'object') {\n if(origValue instanceof RegExp) {\n return '@__R-' + UID + '-' + (regexps.push(origValue) - 1) + '__@';\n }\n\n if(origValue instanceof Date) {\n return '@__D-' + UID + '-' + (dates.push(origValue) - 1) + '__@';\n }\n\n if(origValue instanceof Map) {\n return '@__M-' + UID + '-' + (maps.push(origValue) - 1) + '__@';\n }\n\n if(origValue instanceof Set) {\n return '@__S-' + UID + '-' + (sets.push(origValue) - 1) + '__@';\n }\n\n if(origValue instanceof Array) {\n var isSparse = origValue.filter(function(){return true}).length !== origValue.length;\n if (isSparse) {\n return '@__A-' + UID + '-' + (arrays.push(origValue) - 1) + '__@';\n }\n }\n\n if(origValue instanceof URL) {\n return '@__L-' + UID + '-' + (urls.push(origValue) - 1) + '__@';\n }\n }\n\n if (type === 'function') {\n return '@__F-' + UID + '-' + (functions.push(origValue) - 1) + '__@';\n }\n\n if (type === 'undefined') {\n return '@__U-' + UID + '-' + (undefs.push(origValue) - 1) + '__@';\n }\n\n if (type === 'number' && !isNaN(origValue) && !isFinite(origValue)) {\n return '@__I-' + UID + '-' + (infinities.push(origValue) - 1) + '__@';\n }\n\n if (type === 'bigint') {\n return '@__B-' + UID + '-' + (bigInts.push(origValue) - 1) + '__@';\n }\n\n return value;\n }\n\n function serializeFunc(fn) {\n var serializedFn = fn.toString();\n if (IS_NATIVE_CODE_REGEXP.test(serializedFn)) {\n throw new TypeError('Serializing native function: ' + fn.name);\n }\n\n // pure functions, example: {key: function() {}}\n if(IS_PURE_FUNCTION.test(serializedFn)) {\n return serializedFn;\n }\n\n // arrow functions, example: arg1 => arg1+5\n if(IS_ARROW_FUNCTION.test(serializedFn)) {\n return serializedFn;\n }\n\n var argsStartsAt = serializedFn.indexOf('(');\n var def = serializedFn.substr(0, argsStartsAt)\n .trim()\n .split(' ')\n .filter(function(val) { return val.length > 0 });\n\n var nonReservedSymbols = def.filter(function(val) {\n return RESERVED_SYMBOLS.indexOf(val) === -1\n });\n\n // enhanced literal objects, example: {key() {}}\n if(nonReservedSymbols.length > 0) {\n return (def.indexOf('async') > -1 ? 'async ' : '') + 'function'\n + (def.join('').indexOf('*') > -1 ? '*' : '')\n + serializedFn.substr(argsStartsAt);\n }\n\n // arrow functions\n return serializedFn;\n }\n\n // Check if the parameter is function\n if (options.ignoreFunction && typeof obj === \"function\") {\n obj = undefined;\n }\n // Protects against `JSON.stringify()` returning `undefined`, by serializing\n // to the literal string: \"undefined\".\n if (obj === undefined) {\n return String(obj);\n }\n\n var str;\n\n // Creates a JSON string representation of the value.\n // NOTE: Node 0.12 goes into slow mode with extra JSON.stringify() args.\n if (options.isJSON && !options.space) {\n str = JSON.stringify(obj);\n } else {\n str = JSON.stringify(obj, options.isJSON ? null : replacer, options.space);\n }\n\n // Protects against `JSON.stringify()` returning `undefined`, by serializing\n // to the literal string: \"undefined\".\n if (typeof str !== 'string') {\n return String(str);\n }\n\n // Replace unsafe HTML and invalid JavaScript line terminator chars with\n // their safe Unicode char counterpart. This _must_ happen before the\n // regexps and functions are serialized and added back to the string.\n if (options.unsafe !== true) {\n str = str.replace(UNSAFE_CHARS_REGEXP, escapeUnsafeChars);\n }\n\n if (functions.length === 0 && regexps.length === 0 && dates.length === 0 && maps.length === 0 && sets.length === 0 && arrays.length === 0 && undefs.length === 0 && infinities.length === 0 && bigInts.length === 0 && urls.length === 0) {\n return str;\n }\n\n // Replaces all occurrences of function, regexp, date, map and set placeholders in the\n // JSON string with their string representations. If the original value can\n // not be found, then `undefined` is used.\n return str.replace(PLACE_HOLDER_REGEXP, function (match, backSlash, type, valueIndex) {\n // The placeholder may not be preceded by a backslash. This is to prevent\n // replacing things like `\"a\\\"@__R-<UID>-0__@\"` and thus outputting\n // invalid JS.\n if (backSlash) {\n return match;\n }\n\n if (type === 'D') {\n return \"new Date(\\\"\" + dates[valueIndex].toISOString() + \"\\\")\";\n }\n\n if (type === 'R') {\n return \"new RegExp(\" + serialize(regexps[valueIndex].source) + \", \\\"\" + regexps[valueIndex].flags + \"\\\")\";\n }\n\n if (type === 'M') {\n return \"new Map(\" + serialize(Array.from(maps[valueIndex].entries()), options) + \")\";\n }\n\n if (type === 'S') {\n return \"new Set(\" + serialize(Array.from(sets[valueIndex].values()), options) + \")\";\n }\n\n if (type === 'A') {\n return \"Array.prototype.slice.call(\" + serialize(Object.assign({ length: arrays[valueIndex].length }, arrays[valueIndex]), options) + \")\";\n }\n\n if (type === 'U') {\n return 'undefined'\n }\n\n if (type === 'I') {\n return infinities[valueIndex];\n }\n\n if (type === 'B') {\n return \"BigInt(\\\"\" + bigInts[valueIndex] + \"\\\")\";\n }\n\n if (type === 'L') {\n return \"new URL(\\\"\" + urls[valueIndex].toString() + \"\\\")\"; \n }\n\n var fn = functions[valueIndex];\n\n return serializeFunc(fn);\n });\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/serialize-javascript/index.js?"); /***/ }), /***/ "./node_modules/supports-color/browser.js": /*!************************************************!*\ !*** ./node_modules/supports-color/browser.js ***! \************************************************/ /***/ ((module) => { "use strict"; eval("/* eslint-env browser */\n\n\nfunction getChromeVersion() {\n\tconst matches = /(Chrome|Chromium)\\/(?<chromeVersion>\\d+)\\./.exec(navigator.userAgent);\n\n\tif (!matches) {\n\t\treturn;\n\t}\n\n\treturn Number.parseInt(matches.groups.chromeVersion, 10);\n}\n\nconst colorSupport = getChromeVersion() >= 69 ? {\n\tlevel: 1,\n\thasBasic: true,\n\thas256: false,\n\thas16m: false\n} : false;\n\nmodule.exports = {\n\tstdout: colorSupport,\n\tstderr: colorSupport\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/supports-color/browser.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncParallelBailHook.js": /*!***********************************************************!*\ !*** ./node_modules/tapable/lib/AsyncParallelBailHook.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncParallelBailHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onResult, onDone }) {\n\t\tlet code = \"\";\n\t\tcode += `var _results = new Array(${this.options.taps.length});\\n`;\n\t\tcode += \"var _checkDone = function() {\\n\";\n\t\tcode += \"for(var i = 0; i < _results.length; i++) {\\n\";\n\t\tcode += \"var item = _results[i];\\n\";\n\t\tcode += \"if(item === undefined) return false;\\n\";\n\t\tcode += \"if(item.result !== undefined) {\\n\";\n\t\tcode += onResult(\"item.result\");\n\t\tcode += \"return true;\\n\";\n\t\tcode += \"}\\n\";\n\t\tcode += \"if(item.error) {\\n\";\n\t\tcode += onError(\"item.error\");\n\t\tcode += \"return true;\\n\";\n\t\tcode += \"}\\n\";\n\t\tcode += \"}\\n\";\n\t\tcode += \"return false;\\n\";\n\t\tcode += \"}\\n\";\n\t\tcode += this.callTapsParallel({\n\t\t\tonError: (i, err, done, doneBreak) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += `if(${i} < _results.length && ((_results.length = ${i +\n\t\t\t\t\t1}), (_results[${i}] = { error: ${err} }), _checkDone())) {\\n`;\n\t\t\t\tcode += doneBreak(true);\n\t\t\t\tcode += \"} else {\\n\";\n\t\t\t\tcode += done();\n\t\t\t\tcode += \"}\\n\";\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonResult: (i, result, done, doneBreak) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += `if(${i} < _results.length && (${result} !== undefined && (_results.length = ${i +\n\t\t\t\t\t1}), (_results[${i}] = { result: ${result} }), _checkDone())) {\\n`;\n\t\t\t\tcode += doneBreak(true);\n\t\t\t\tcode += \"} else {\\n\";\n\t\t\t\tcode += done();\n\t\t\t\tcode += \"}\\n\";\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonTap: (i, run, done, doneBreak) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tif (i > 0) {\n\t\t\t\t\tcode += `if(${i} >= _results.length) {\\n`;\n\t\t\t\t\tcode += done();\n\t\t\t\t\tcode += \"} else {\\n\";\n\t\t\t\t}\n\t\t\t\tcode += run();\n\t\t\t\tif (i > 0) code += \"}\\n\";\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonDone\n\t\t});\n\t\treturn code;\n\t}\n}\n\nconst factory = new AsyncParallelBailHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncParallelBailHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncParallelBailHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncParallelBailHook.prototype = null;\n\nmodule.exports = AsyncParallelBailHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncParallelBailHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncParallelHook.js": /*!*******************************************************!*\ !*** ./node_modules/tapable/lib/AsyncParallelHook.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncParallelHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onDone }) {\n\t\treturn this.callTapsParallel({\n\t\t\tonError: (i, err, done, doneBreak) => onError(err) + doneBreak(true),\n\t\t\tonDone\n\t\t});\n\t}\n}\n\nconst factory = new AsyncParallelHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncParallelHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncParallelHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncParallelHook.prototype = null;\n\nmodule.exports = AsyncParallelHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncParallelHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncSeriesBailHook.js": /*!*********************************************************!*\ !*** ./node_modules/tapable/lib/AsyncSeriesBailHook.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncSeriesBailHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onResult, resultReturns, onDone }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err, next, doneBreak) => onError(err) + doneBreak(true),\n\t\t\tonResult: (i, result, next) =>\n\t\t\t\t`if(${result} !== undefined) {\\n${onResult(\n\t\t\t\t\tresult\n\t\t\t\t)}\\n} else {\\n${next()}}\\n`,\n\t\t\tresultReturns,\n\t\t\tonDone\n\t\t});\n\t}\n}\n\nconst factory = new AsyncSeriesBailHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncSeriesBailHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncSeriesBailHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncSeriesBailHook.prototype = null;\n\nmodule.exports = AsyncSeriesBailHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncSeriesBailHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncSeriesHook.js": /*!*****************************************************!*\ !*** ./node_modules/tapable/lib/AsyncSeriesHook.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncSeriesHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onDone }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err, next, doneBreak) => onError(err) + doneBreak(true),\n\t\t\tonDone\n\t\t});\n\t}\n}\n\nconst factory = new AsyncSeriesHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncSeriesHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncSeriesHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncSeriesHook.prototype = null;\n\nmodule.exports = AsyncSeriesHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncSeriesHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncSeriesLoopHook.js": /*!*********************************************************!*\ !*** ./node_modules/tapable/lib/AsyncSeriesLoopHook.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncSeriesLoopHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onDone }) {\n\t\treturn this.callTapsLooping({\n\t\t\tonError: (i, err, next, doneBreak) => onError(err) + doneBreak(true),\n\t\t\tonDone\n\t\t});\n\t}\n}\n\nconst factory = new AsyncSeriesLoopHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncSeriesLoopHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncSeriesLoopHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncSeriesLoopHook.prototype = null;\n\nmodule.exports = AsyncSeriesLoopHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncSeriesLoopHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/AsyncSeriesWaterfallHook.js": /*!**************************************************************!*\ !*** ./node_modules/tapable/lib/AsyncSeriesWaterfallHook.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass AsyncSeriesWaterfallHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onResult, onDone }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err, next, doneBreak) => onError(err) + doneBreak(true),\n\t\t\tonResult: (i, result, next) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += `if(${result} !== undefined) {\\n`;\n\t\t\t\tcode += `${this._args[0]} = ${result};\\n`;\n\t\t\t\tcode += `}\\n`;\n\t\t\t\tcode += next();\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonDone: () => onResult(this._args[0])\n\t\t});\n\t}\n}\n\nconst factory = new AsyncSeriesWaterfallHookCodeFactory();\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction AsyncSeriesWaterfallHook(args = [], name = undefined) {\n\tif (args.length < 1)\n\t\tthrow new Error(\"Waterfall hooks must have at least one argument\");\n\tconst hook = new Hook(args, name);\n\thook.constructor = AsyncSeriesWaterfallHook;\n\thook.compile = COMPILE;\n\thook._call = undefined;\n\thook.call = undefined;\n\treturn hook;\n}\n\nAsyncSeriesWaterfallHook.prototype = null;\n\nmodule.exports = AsyncSeriesWaterfallHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/AsyncSeriesWaterfallHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/Hook.js": /*!******************************************!*\ !*** ./node_modules/tapable/lib/Hook.js ***! \******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst util = __webpack_require__(/*! util */ \"./node_modules/tapable/lib/util-browser.js\");\n\nconst deprecateContext = util.deprecate(() => {},\n\"Hook.context is deprecated and will be removed\");\n\nconst CALL_DELEGATE = function(...args) {\n\tthis.call = this._createCall(\"sync\");\n\treturn this.call(...args);\n};\nconst CALL_ASYNC_DELEGATE = function(...args) {\n\tthis.callAsync = this._createCall(\"async\");\n\treturn this.callAsync(...args);\n};\nconst PROMISE_DELEGATE = function(...args) {\n\tthis.promise = this._createCall(\"promise\");\n\treturn this.promise(...args);\n};\n\nclass Hook {\n\tconstructor(args = [], name = undefined) {\n\t\tthis._args = args;\n\t\tthis.name = name;\n\t\tthis.taps = [];\n\t\tthis.interceptors = [];\n\t\tthis._call = CALL_DELEGATE;\n\t\tthis.call = CALL_DELEGATE;\n\t\tthis._callAsync = CALL_ASYNC_DELEGATE;\n\t\tthis.callAsync = CALL_ASYNC_DELEGATE;\n\t\tthis._promise = PROMISE_DELEGATE;\n\t\tthis.promise = PROMISE_DELEGATE;\n\t\tthis._x = undefined;\n\n\t\tthis.compile = this.compile;\n\t\tthis.tap = this.tap;\n\t\tthis.tapAsync = this.tapAsync;\n\t\tthis.tapPromise = this.tapPromise;\n\t}\n\n\tcompile(options) {\n\t\tthrow new Error(\"Abstract: should be overridden\");\n\t}\n\n\t_createCall(type) {\n\t\treturn this.compile({\n\t\t\ttaps: this.taps,\n\t\t\tinterceptors: this.interceptors,\n\t\t\targs: this._args,\n\t\t\ttype: type\n\t\t});\n\t}\n\n\t_tap(type, options, fn) {\n\t\tif (typeof options === \"string\") {\n\t\t\toptions = {\n\t\t\t\tname: options.trim()\n\t\t\t};\n\t\t} else if (typeof options !== \"object\" || options === null) {\n\t\t\tthrow new Error(\"Invalid tap options\");\n\t\t}\n\t\tif (typeof options.name !== \"string\" || options.name === \"\") {\n\t\t\tthrow new Error(\"Missing name for tap\");\n\t\t}\n\t\tif (typeof options.context !== \"undefined\") {\n\t\t\tdeprecateContext();\n\t\t}\n\t\toptions = Object.assign({ type, fn }, options);\n\t\toptions = this._runRegisterInterceptors(options);\n\t\tthis._insert(options);\n\t}\n\n\ttap(options, fn) {\n\t\tthis._tap(\"sync\", options, fn);\n\t}\n\n\ttapAsync(options, fn) {\n\t\tthis._tap(\"async\", options, fn);\n\t}\n\n\ttapPromise(options, fn) {\n\t\tthis._tap(\"promise\", options, fn);\n\t}\n\n\t_runRegisterInterceptors(options) {\n\t\tfor (const interceptor of this.interceptors) {\n\t\t\tif (interceptor.register) {\n\t\t\t\tconst newOptions = interceptor.register(options);\n\t\t\t\tif (newOptions !== undefined) {\n\t\t\t\t\toptions = newOptions;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn options;\n\t}\n\n\twithOptions(options) {\n\t\tconst mergeOptions = opt =>\n\t\t\tObject.assign({}, options, typeof opt === \"string\" ? { name: opt } : opt);\n\n\t\treturn {\n\t\t\tname: this.name,\n\t\t\ttap: (opt, fn) => this.tap(mergeOptions(opt), fn),\n\t\t\ttapAsync: (opt, fn) => this.tapAsync(mergeOptions(opt), fn),\n\t\t\ttapPromise: (opt, fn) => this.tapPromise(mergeOptions(opt), fn),\n\t\t\tintercept: interceptor => this.intercept(interceptor),\n\t\t\tisUsed: () => this.isUsed(),\n\t\t\twithOptions: opt => this.withOptions(mergeOptions(opt))\n\t\t};\n\t}\n\n\tisUsed() {\n\t\treturn this.taps.length > 0 || this.interceptors.length > 0;\n\t}\n\n\tintercept(interceptor) {\n\t\tthis._resetCompilation();\n\t\tthis.interceptors.push(Object.assign({}, interceptor));\n\t\tif (interceptor.register) {\n\t\t\tfor (let i = 0; i < this.taps.length; i++) {\n\t\t\t\tthis.taps[i] = interceptor.register(this.taps[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\t_resetCompilation() {\n\t\tthis.call = this._call;\n\t\tthis.callAsync = this._callAsync;\n\t\tthis.promise = this._promise;\n\t}\n\n\t_insert(item) {\n\t\tthis._resetCompilation();\n\t\tlet before;\n\t\tif (typeof item.before === \"string\") {\n\t\t\tbefore = new Set([item.before]);\n\t\t} else if (Array.isArray(item.before)) {\n\t\t\tbefore = new Set(item.before);\n\t\t}\n\t\tlet stage = 0;\n\t\tif (typeof item.stage === \"number\") {\n\t\t\tstage = item.stage;\n\t\t}\n\t\tlet i = this.taps.length;\n\t\twhile (i > 0) {\n\t\t\ti--;\n\t\t\tconst x = this.taps[i];\n\t\t\tthis.taps[i + 1] = x;\n\t\t\tconst xStage = x.stage || 0;\n\t\t\tif (before) {\n\t\t\t\tif (before.has(x.name)) {\n\t\t\t\t\tbefore.delete(x.name);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (before.size > 0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (xStage > stage) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\ti++;\n\t\t\tbreak;\n\t\t}\n\t\tthis.taps[i] = item;\n\t}\n}\n\nObject.setPrototypeOf(Hook.prototype, null);\n\nmodule.exports = Hook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/Hook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/HookCodeFactory.js": /*!*****************************************************!*\ !*** ./node_modules/tapable/lib/HookCodeFactory.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nclass HookCodeFactory {\n\tconstructor(config) {\n\t\tthis.config = config;\n\t\tthis.options = undefined;\n\t\tthis._args = undefined;\n\t}\n\n\tcreate(options) {\n\t\tthis.init(options);\n\t\tlet fn;\n\t\tswitch (this.options.type) {\n\t\t\tcase \"sync\":\n\t\t\t\tfn = new Function(\n\t\t\t\t\tthis.args(),\n\t\t\t\t\t'\"use strict\";\\n' +\n\t\t\t\t\t\tthis.header() +\n\t\t\t\t\t\tthis.contentWithInterceptors({\n\t\t\t\t\t\t\tonError: err => `throw ${err};\\n`,\n\t\t\t\t\t\t\tonResult: result => `return ${result};\\n`,\n\t\t\t\t\t\t\tresultReturns: true,\n\t\t\t\t\t\t\tonDone: () => \"\",\n\t\t\t\t\t\t\trethrowIfPossible: true\n\t\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\tcase \"async\":\n\t\t\t\tfn = new Function(\n\t\t\t\t\tthis.args({\n\t\t\t\t\t\tafter: \"_callback\"\n\t\t\t\t\t}),\n\t\t\t\t\t'\"use strict\";\\n' +\n\t\t\t\t\t\tthis.header() +\n\t\t\t\t\t\tthis.contentWithInterceptors({\n\t\t\t\t\t\t\tonError: err => `_callback(${err});\\n`,\n\t\t\t\t\t\t\tonResult: result => `_callback(null, ${result});\\n`,\n\t\t\t\t\t\t\tonDone: () => \"_callback();\\n\"\n\t\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\tcase \"promise\":\n\t\t\t\tlet errorHelperUsed = false;\n\t\t\t\tconst content = this.contentWithInterceptors({\n\t\t\t\t\tonError: err => {\n\t\t\t\t\t\terrorHelperUsed = true;\n\t\t\t\t\t\treturn `_error(${err});\\n`;\n\t\t\t\t\t},\n\t\t\t\t\tonResult: result => `_resolve(${result});\\n`,\n\t\t\t\t\tonDone: () => \"_resolve();\\n\"\n\t\t\t\t});\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += '\"use strict\";\\n';\n\t\t\t\tcode += this.header();\n\t\t\t\tcode += \"return new Promise((function(_resolve, _reject) {\\n\";\n\t\t\t\tif (errorHelperUsed) {\n\t\t\t\t\tcode += \"var _sync = true;\\n\";\n\t\t\t\t\tcode += \"function _error(_err) {\\n\";\n\t\t\t\t\tcode += \"if(_sync)\\n\";\n\t\t\t\t\tcode +=\n\t\t\t\t\t\t\"_resolve(Promise.resolve().then((function() { throw _err; })));\\n\";\n\t\t\t\t\tcode += \"else\\n\";\n\t\t\t\t\tcode += \"_reject(_err);\\n\";\n\t\t\t\t\tcode += \"};\\n\";\n\t\t\t\t}\n\t\t\t\tcode += content;\n\t\t\t\tif (errorHelperUsed) {\n\t\t\t\t\tcode += \"_sync = false;\\n\";\n\t\t\t\t}\n\t\t\t\tcode += \"}));\\n\";\n\t\t\t\tfn = new Function(this.args(), code);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.deinit();\n\t\treturn fn;\n\t}\n\n\tsetup(instance, options) {\n\t\tinstance._x = options.taps.map(t => t.fn);\n\t}\n\n\t/**\n\t * @param {{ type: \"sync\" | \"promise\" | \"async\", taps: Array<Tap>, interceptors: Array<Interceptor> }} options\n\t */\n\tinit(options) {\n\t\tthis.options = options;\n\t\tthis._args = options.args.slice();\n\t}\n\n\tdeinit() {\n\t\tthis.options = undefined;\n\t\tthis._args = undefined;\n\t}\n\n\tcontentWithInterceptors(options) {\n\t\tif (this.options.interceptors.length > 0) {\n\t\t\tconst onError = options.onError;\n\t\t\tconst onResult = options.onResult;\n\t\t\tconst onDone = options.onDone;\n\t\t\tlet code = \"\";\n\t\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\t\tif (interceptor.call) {\n\t\t\t\t\tcode += `${this.getInterceptor(i)}.call(${this.args({\n\t\t\t\t\t\tbefore: interceptor.context ? \"_context\" : undefined\n\t\t\t\t\t})});\\n`;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcode += this.content(\n\t\t\t\tObject.assign(options, {\n\t\t\t\t\tonError:\n\t\t\t\t\t\tonError &&\n\t\t\t\t\t\t(err => {\n\t\t\t\t\t\t\tlet code = \"\";\n\t\t\t\t\t\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\t\t\t\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\t\t\t\t\t\tif (interceptor.error) {\n\t\t\t\t\t\t\t\t\tcode += `${this.getInterceptor(i)}.error(${err});\\n`;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcode += onError(err);\n\t\t\t\t\t\t\treturn code;\n\t\t\t\t\t\t}),\n\t\t\t\t\tonResult:\n\t\t\t\t\t\tonResult &&\n\t\t\t\t\t\t(result => {\n\t\t\t\t\t\t\tlet code = \"\";\n\t\t\t\t\t\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\t\t\t\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\t\t\t\t\t\tif (interceptor.result) {\n\t\t\t\t\t\t\t\t\tcode += `${this.getInterceptor(i)}.result(${result});\\n`;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcode += onResult(result);\n\t\t\t\t\t\t\treturn code;\n\t\t\t\t\t\t}),\n\t\t\t\t\tonDone:\n\t\t\t\t\t\tonDone &&\n\t\t\t\t\t\t(() => {\n\t\t\t\t\t\t\tlet code = \"\";\n\t\t\t\t\t\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\t\t\t\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\t\t\t\t\t\tif (interceptor.done) {\n\t\t\t\t\t\t\t\t\tcode += `${this.getInterceptor(i)}.done();\\n`;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcode += onDone();\n\t\t\t\t\t\t\treturn code;\n\t\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t);\n\t\t\treturn code;\n\t\t} else {\n\t\t\treturn this.content(options);\n\t\t}\n\t}\n\n\theader() {\n\t\tlet code = \"\";\n\t\tif (this.needContext()) {\n\t\t\tcode += \"var _context = {};\\n\";\n\t\t} else {\n\t\t\tcode += \"var _context;\\n\";\n\t\t}\n\t\tcode += \"var _x = this._x;\\n\";\n\t\tif (this.options.interceptors.length > 0) {\n\t\t\tcode += \"var _taps = this.taps;\\n\";\n\t\t\tcode += \"var _interceptors = this.interceptors;\\n\";\n\t\t}\n\t\treturn code;\n\t}\n\n\tneedContext() {\n\t\tfor (const tap of this.options.taps) if (tap.context) return true;\n\t\treturn false;\n\t}\n\n\tcallTap(tapIndex, { onError, onResult, onDone, rethrowIfPossible }) {\n\t\tlet code = \"\";\n\t\tlet hasTapCached = false;\n\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\tif (interceptor.tap) {\n\t\t\t\tif (!hasTapCached) {\n\t\t\t\t\tcode += `var _tap${tapIndex} = ${this.getTap(tapIndex)};\\n`;\n\t\t\t\t\thasTapCached = true;\n\t\t\t\t}\n\t\t\t\tcode += `${this.getInterceptor(i)}.tap(${\n\t\t\t\t\tinterceptor.context ? \"_context, \" : \"\"\n\t\t\t\t}_tap${tapIndex});\\n`;\n\t\t\t}\n\t\t}\n\t\tcode += `var _fn${tapIndex} = ${this.getTapFn(tapIndex)};\\n`;\n\t\tconst tap = this.options.taps[tapIndex];\n\t\tswitch (tap.type) {\n\t\t\tcase \"sync\":\n\t\t\t\tif (!rethrowIfPossible) {\n\t\t\t\t\tcode += `var _hasError${tapIndex} = false;\\n`;\n\t\t\t\t\tcode += \"try {\\n\";\n\t\t\t\t}\n\t\t\t\tif (onResult) {\n\t\t\t\t\tcode += `var _result${tapIndex} = _fn${tapIndex}(${this.args({\n\t\t\t\t\t\tbefore: tap.context ? \"_context\" : undefined\n\t\t\t\t\t})});\\n`;\n\t\t\t\t} else {\n\t\t\t\t\tcode += `_fn${tapIndex}(${this.args({\n\t\t\t\t\t\tbefore: tap.context ? \"_context\" : undefined\n\t\t\t\t\t})});\\n`;\n\t\t\t\t}\n\t\t\t\tif (!rethrowIfPossible) {\n\t\t\t\t\tcode += \"} catch(_err) {\\n\";\n\t\t\t\t\tcode += `_hasError${tapIndex} = true;\\n`;\n\t\t\t\t\tcode += onError(\"_err\");\n\t\t\t\t\tcode += \"}\\n\";\n\t\t\t\t\tcode += `if(!_hasError${tapIndex}) {\\n`;\n\t\t\t\t}\n\t\t\t\tif (onResult) {\n\t\t\t\t\tcode += onResult(`_result${tapIndex}`);\n\t\t\t\t}\n\t\t\t\tif (onDone) {\n\t\t\t\t\tcode += onDone();\n\t\t\t\t}\n\t\t\t\tif (!rethrowIfPossible) {\n\t\t\t\t\tcode += \"}\\n\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"async\":\n\t\t\t\tlet cbCode = \"\";\n\t\t\t\tif (onResult)\n\t\t\t\t\tcbCode += `(function(_err${tapIndex}, _result${tapIndex}) {\\n`;\n\t\t\t\telse cbCode += `(function(_err${tapIndex}) {\\n`;\n\t\t\t\tcbCode += `if(_err${tapIndex}) {\\n`;\n\t\t\t\tcbCode += onError(`_err${tapIndex}`);\n\t\t\t\tcbCode += \"} else {\\n\";\n\t\t\t\tif (onResult) {\n\t\t\t\t\tcbCode += onResult(`_result${tapIndex}`);\n\t\t\t\t}\n\t\t\t\tif (onDone) {\n\t\t\t\t\tcbCode += onDone();\n\t\t\t\t}\n\t\t\t\tcbCode += \"}\\n\";\n\t\t\t\tcbCode += \"})\";\n\t\t\t\tcode += `_fn${tapIndex}(${this.args({\n\t\t\t\t\tbefore: tap.context ? \"_context\" : undefined,\n\t\t\t\t\tafter: cbCode\n\t\t\t\t})});\\n`;\n\t\t\t\tbreak;\n\t\t\tcase \"promise\":\n\t\t\t\tcode += `var _hasResult${tapIndex} = false;\\n`;\n\t\t\t\tcode += `var _promise${tapIndex} = _fn${tapIndex}(${this.args({\n\t\t\t\t\tbefore: tap.context ? \"_context\" : undefined\n\t\t\t\t})});\\n`;\n\t\t\t\tcode += `if (!_promise${tapIndex} || !_promise${tapIndex}.then)\\n`;\n\t\t\t\tcode += ` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${tapIndex} + ')');\\n`;\n\t\t\t\tcode += `_promise${tapIndex}.then((function(_result${tapIndex}) {\\n`;\n\t\t\t\tcode += `_hasResult${tapIndex} = true;\\n`;\n\t\t\t\tif (onResult) {\n\t\t\t\t\tcode += onResult(`_result${tapIndex}`);\n\t\t\t\t}\n\t\t\t\tif (onDone) {\n\t\t\t\t\tcode += onDone();\n\t\t\t\t}\n\t\t\t\tcode += `}), function(_err${tapIndex}) {\\n`;\n\t\t\t\tcode += `if(_hasResult${tapIndex}) throw _err${tapIndex};\\n`;\n\t\t\t\tcode += onError(`_err${tapIndex}`);\n\t\t\t\tcode += \"});\\n\";\n\t\t\t\tbreak;\n\t\t}\n\t\treturn code;\n\t}\n\n\tcallTapsSeries({\n\t\tonError,\n\t\tonResult,\n\t\tresultReturns,\n\t\tonDone,\n\t\tdoneReturns,\n\t\trethrowIfPossible\n\t}) {\n\t\tif (this.options.taps.length === 0) return onDone();\n\t\tconst firstAsync = this.options.taps.findIndex(t => t.type !== \"sync\");\n\t\tconst somethingReturns = resultReturns || doneReturns;\n\t\tlet code = \"\";\n\t\tlet current = onDone;\n\t\tlet unrollCounter = 0;\n\t\tfor (let j = this.options.taps.length - 1; j >= 0; j--) {\n\t\t\tconst i = j;\n\t\t\tconst unroll =\n\t\t\t\tcurrent !== onDone &&\n\t\t\t\t(this.options.taps[i].type !== \"sync\" || unrollCounter++ > 20);\n\t\t\tif (unroll) {\n\t\t\t\tunrollCounter = 0;\n\t\t\t\tcode += `function _next${i}() {\\n`;\n\t\t\t\tcode += current();\n\t\t\t\tcode += `}\\n`;\n\t\t\t\tcurrent = () => `${somethingReturns ? \"return \" : \"\"}_next${i}();\\n`;\n\t\t\t}\n\t\t\tconst done = current;\n\t\t\tconst doneBreak = skipDone => {\n\t\t\t\tif (skipDone) return \"\";\n\t\t\t\treturn onDone();\n\t\t\t};\n\t\t\tconst content = this.callTap(i, {\n\t\t\t\tonError: error => onError(i, error, done, doneBreak),\n\t\t\t\tonResult:\n\t\t\t\t\tonResult &&\n\t\t\t\t\t(result => {\n\t\t\t\t\t\treturn onResult(i, result, done, doneBreak);\n\t\t\t\t\t}),\n\t\t\t\tonDone: !onResult && done,\n\t\t\t\trethrowIfPossible:\n\t\t\t\t\trethrowIfPossible && (firstAsync < 0 || i < firstAsync)\n\t\t\t});\n\t\t\tcurrent = () => content;\n\t\t}\n\t\tcode += current();\n\t\treturn code;\n\t}\n\n\tcallTapsLooping({ onError, onDone, rethrowIfPossible }) {\n\t\tif (this.options.taps.length === 0) return onDone();\n\t\tconst syncOnly = this.options.taps.every(t => t.type === \"sync\");\n\t\tlet code = \"\";\n\t\tif (!syncOnly) {\n\t\t\tcode += \"var _looper = (function() {\\n\";\n\t\t\tcode += \"var _loopAsync = false;\\n\";\n\t\t}\n\t\tcode += \"var _loop;\\n\";\n\t\tcode += \"do {\\n\";\n\t\tcode += \"_loop = false;\\n\";\n\t\tfor (let i = 0; i < this.options.interceptors.length; i++) {\n\t\t\tconst interceptor = this.options.interceptors[i];\n\t\t\tif (interceptor.loop) {\n\t\t\t\tcode += `${this.getInterceptor(i)}.loop(${this.args({\n\t\t\t\t\tbefore: interceptor.context ? \"_context\" : undefined\n\t\t\t\t})});\\n`;\n\t\t\t}\n\t\t}\n\t\tcode += this.callTapsSeries({\n\t\t\tonError,\n\t\t\tonResult: (i, result, next, doneBreak) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += `if(${result} !== undefined) {\\n`;\n\t\t\t\tcode += \"_loop = true;\\n\";\n\t\t\t\tif (!syncOnly) code += \"if(_loopAsync) _looper();\\n\";\n\t\t\t\tcode += doneBreak(true);\n\t\t\t\tcode += `} else {\\n`;\n\t\t\t\tcode += next();\n\t\t\t\tcode += `}\\n`;\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonDone:\n\t\t\t\tonDone &&\n\t\t\t\t(() => {\n\t\t\t\t\tlet code = \"\";\n\t\t\t\t\tcode += \"if(!_loop) {\\n\";\n\t\t\t\t\tcode += onDone();\n\t\t\t\t\tcode += \"}\\n\";\n\t\t\t\t\treturn code;\n\t\t\t\t}),\n\t\t\trethrowIfPossible: rethrowIfPossible && syncOnly\n\t\t});\n\t\tcode += \"} while(_loop);\\n\";\n\t\tif (!syncOnly) {\n\t\t\tcode += \"_loopAsync = true;\\n\";\n\t\t\tcode += \"});\\n\";\n\t\t\tcode += \"_looper();\\n\";\n\t\t}\n\t\treturn code;\n\t}\n\n\tcallTapsParallel({\n\t\tonError,\n\t\tonResult,\n\t\tonDone,\n\t\trethrowIfPossible,\n\t\tonTap = (i, run) => run()\n\t}) {\n\t\tif (this.options.taps.length <= 1) {\n\t\t\treturn this.callTapsSeries({\n\t\t\t\tonError,\n\t\t\t\tonResult,\n\t\t\t\tonDone,\n\t\t\t\trethrowIfPossible\n\t\t\t});\n\t\t}\n\t\tlet code = \"\";\n\t\tcode += \"do {\\n\";\n\t\tcode += `var _counter = ${this.options.taps.length};\\n`;\n\t\tif (onDone) {\n\t\t\tcode += \"var _done = (function() {\\n\";\n\t\t\tcode += onDone();\n\t\t\tcode += \"});\\n\";\n\t\t}\n\t\tfor (let i = 0; i < this.options.taps.length; i++) {\n\t\t\tconst done = () => {\n\t\t\t\tif (onDone) return \"if(--_counter === 0) _done();\\n\";\n\t\t\t\telse return \"--_counter;\";\n\t\t\t};\n\t\t\tconst doneBreak = skipDone => {\n\t\t\t\tif (skipDone || !onDone) return \"_counter = 0;\\n\";\n\t\t\t\telse return \"_counter = 0;\\n_done();\\n\";\n\t\t\t};\n\t\t\tcode += \"if(_counter <= 0) break;\\n\";\n\t\t\tcode += onTap(\n\t\t\t\ti,\n\t\t\t\t() =>\n\t\t\t\t\tthis.callTap(i, {\n\t\t\t\t\t\tonError: error => {\n\t\t\t\t\t\t\tlet code = \"\";\n\t\t\t\t\t\t\tcode += \"if(_counter > 0) {\\n\";\n\t\t\t\t\t\t\tcode += onError(i, error, done, doneBreak);\n\t\t\t\t\t\t\tcode += \"}\\n\";\n\t\t\t\t\t\t\treturn code;\n\t\t\t\t\t\t},\n\t\t\t\t\t\tonResult:\n\t\t\t\t\t\t\tonResult &&\n\t\t\t\t\t\t\t(result => {\n\t\t\t\t\t\t\t\tlet code = \"\";\n\t\t\t\t\t\t\t\tcode += \"if(_counter > 0) {\\n\";\n\t\t\t\t\t\t\t\tcode += onResult(i, result, done, doneBreak);\n\t\t\t\t\t\t\t\tcode += \"}\\n\";\n\t\t\t\t\t\t\t\treturn code;\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\tonDone:\n\t\t\t\t\t\t\t!onResult &&\n\t\t\t\t\t\t\t(() => {\n\t\t\t\t\t\t\t\treturn done();\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\trethrowIfPossible\n\t\t\t\t\t}),\n\t\t\t\tdone,\n\t\t\t\tdoneBreak\n\t\t\t);\n\t\t}\n\t\tcode += \"} while(false);\\n\";\n\t\treturn code;\n\t}\n\n\targs({ before, after } = {}) {\n\t\tlet allArgs = this._args;\n\t\tif (before) allArgs = [before].concat(allArgs);\n\t\tif (after) allArgs = allArgs.concat(after);\n\t\tif (allArgs.length === 0) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn allArgs.join(\", \");\n\t\t}\n\t}\n\n\tgetTapFn(idx) {\n\t\treturn `_x[${idx}]`;\n\t}\n\n\tgetTap(idx) {\n\t\treturn `_taps[${idx}]`;\n\t}\n\n\tgetInterceptor(idx) {\n\t\treturn `_interceptors[${idx}]`;\n\t}\n}\n\nmodule.exports = HookCodeFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/HookCodeFactory.js?"); /***/ }), /***/ "./node_modules/tapable/lib/HookMap.js": /*!*********************************************!*\ !*** ./node_modules/tapable/lib/HookMap.js ***! \*********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst util = __webpack_require__(/*! util */ \"./node_modules/tapable/lib/util-browser.js\");\n\nconst defaultFactory = (key, hook) => hook;\n\nclass HookMap {\n\tconstructor(factory, name = undefined) {\n\t\tthis._map = new Map();\n\t\tthis.name = name;\n\t\tthis._factory = factory;\n\t\tthis._interceptors = [];\n\t}\n\n\tget(key) {\n\t\treturn this._map.get(key);\n\t}\n\n\tfor(key) {\n\t\tconst hook = this.get(key);\n\t\tif (hook !== undefined) {\n\t\t\treturn hook;\n\t\t}\n\t\tlet newHook = this._factory(key);\n\t\tconst interceptors = this._interceptors;\n\t\tfor (let i = 0; i < interceptors.length; i++) {\n\t\t\tnewHook = interceptors[i].factory(key, newHook);\n\t\t}\n\t\tthis._map.set(key, newHook);\n\t\treturn newHook;\n\t}\n\n\tintercept(interceptor) {\n\t\tthis._interceptors.push(\n\t\t\tObject.assign(\n\t\t\t\t{\n\t\t\t\t\tfactory: defaultFactory\n\t\t\t\t},\n\t\t\t\tinterceptor\n\t\t\t)\n\t\t);\n\t}\n}\n\nHookMap.prototype.tap = util.deprecate(function(key, options, fn) {\n\treturn this.for(key).tap(options, fn);\n}, \"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.\");\n\nHookMap.prototype.tapAsync = util.deprecate(function(key, options, fn) {\n\treturn this.for(key).tapAsync(options, fn);\n}, \"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.\");\n\nHookMap.prototype.tapPromise = util.deprecate(function(key, options, fn) {\n\treturn this.for(key).tapPromise(options, fn);\n}, \"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.\");\n\nmodule.exports = HookMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/HookMap.js?"); /***/ }), /***/ "./node_modules/tapable/lib/MultiHook.js": /*!***********************************************!*\ !*** ./node_modules/tapable/lib/MultiHook.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\n\nclass MultiHook {\n\tconstructor(hooks, name = undefined) {\n\t\tthis.hooks = hooks;\n\t\tthis.name = name;\n\t}\n\n\ttap(options, fn) {\n\t\tfor (const hook of this.hooks) {\n\t\t\thook.tap(options, fn);\n\t\t}\n\t}\n\n\ttapAsync(options, fn) {\n\t\tfor (const hook of this.hooks) {\n\t\t\thook.tapAsync(options, fn);\n\t\t}\n\t}\n\n\ttapPromise(options, fn) {\n\t\tfor (const hook of this.hooks) {\n\t\t\thook.tapPromise(options, fn);\n\t\t}\n\t}\n\n\tisUsed() {\n\t\tfor (const hook of this.hooks) {\n\t\t\tif (hook.isUsed()) return true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tintercept(interceptor) {\n\t\tfor (const hook of this.hooks) {\n\t\t\thook.intercept(interceptor);\n\t\t}\n\t}\n\n\twithOptions(options) {\n\t\treturn new MultiHook(\n\t\t\tthis.hooks.map(h => h.withOptions(options)),\n\t\t\tthis.name\n\t\t);\n\t}\n}\n\nmodule.exports = MultiHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/MultiHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/SyncBailHook.js": /*!**************************************************!*\ !*** ./node_modules/tapable/lib/SyncBailHook.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass SyncBailHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onResult, resultReturns, onDone, rethrowIfPossible }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err) => onError(err),\n\t\t\tonResult: (i, result, next) =>\n\t\t\t\t`if(${result} !== undefined) {\\n${onResult(\n\t\t\t\t\tresult\n\t\t\t\t)};\\n} else {\\n${next()}}\\n`,\n\t\t\tresultReturns,\n\t\t\tonDone,\n\t\t\trethrowIfPossible\n\t\t});\n\t}\n}\n\nconst factory = new SyncBailHookCodeFactory();\n\nconst TAP_ASYNC = () => {\n\tthrow new Error(\"tapAsync is not supported on a SyncBailHook\");\n};\n\nconst TAP_PROMISE = () => {\n\tthrow new Error(\"tapPromise is not supported on a SyncBailHook\");\n};\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction SyncBailHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = SyncBailHook;\n\thook.tapAsync = TAP_ASYNC;\n\thook.tapPromise = TAP_PROMISE;\n\thook.compile = COMPILE;\n\treturn hook;\n}\n\nSyncBailHook.prototype = null;\n\nmodule.exports = SyncBailHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/SyncBailHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/SyncHook.js": /*!**********************************************!*\ !*** ./node_modules/tapable/lib/SyncHook.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass SyncHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onDone, rethrowIfPossible }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err) => onError(err),\n\t\t\tonDone,\n\t\t\trethrowIfPossible\n\t\t});\n\t}\n}\n\nconst factory = new SyncHookCodeFactory();\n\nconst TAP_ASYNC = () => {\n\tthrow new Error(\"tapAsync is not supported on a SyncHook\");\n};\n\nconst TAP_PROMISE = () => {\n\tthrow new Error(\"tapPromise is not supported on a SyncHook\");\n};\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction SyncHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = SyncHook;\n\thook.tapAsync = TAP_ASYNC;\n\thook.tapPromise = TAP_PROMISE;\n\thook.compile = COMPILE;\n\treturn hook;\n}\n\nSyncHook.prototype = null;\n\nmodule.exports = SyncHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/SyncHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/SyncLoopHook.js": /*!**************************************************!*\ !*** ./node_modules/tapable/lib/SyncLoopHook.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass SyncLoopHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onDone, rethrowIfPossible }) {\n\t\treturn this.callTapsLooping({\n\t\t\tonError: (i, err) => onError(err),\n\t\t\tonDone,\n\t\t\trethrowIfPossible\n\t\t});\n\t}\n}\n\nconst factory = new SyncLoopHookCodeFactory();\n\nconst TAP_ASYNC = () => {\n\tthrow new Error(\"tapAsync is not supported on a SyncLoopHook\");\n};\n\nconst TAP_PROMISE = () => {\n\tthrow new Error(\"tapPromise is not supported on a SyncLoopHook\");\n};\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction SyncLoopHook(args = [], name = undefined) {\n\tconst hook = new Hook(args, name);\n\thook.constructor = SyncLoopHook;\n\thook.tapAsync = TAP_ASYNC;\n\thook.tapPromise = TAP_PROMISE;\n\thook.compile = COMPILE;\n\treturn hook;\n}\n\nSyncLoopHook.prototype = null;\n\nmodule.exports = SyncLoopHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/SyncLoopHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/SyncWaterfallHook.js": /*!*******************************************************!*\ !*** ./node_modules/tapable/lib/SyncWaterfallHook.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Hook = __webpack_require__(/*! ./Hook */ \"./node_modules/tapable/lib/Hook.js\");\nconst HookCodeFactory = __webpack_require__(/*! ./HookCodeFactory */ \"./node_modules/tapable/lib/HookCodeFactory.js\");\n\nclass SyncWaterfallHookCodeFactory extends HookCodeFactory {\n\tcontent({ onError, onResult, resultReturns, rethrowIfPossible }) {\n\t\treturn this.callTapsSeries({\n\t\t\tonError: (i, err) => onError(err),\n\t\t\tonResult: (i, result, next) => {\n\t\t\t\tlet code = \"\";\n\t\t\t\tcode += `if(${result} !== undefined) {\\n`;\n\t\t\t\tcode += `${this._args[0]} = ${result};\\n`;\n\t\t\t\tcode += `}\\n`;\n\t\t\t\tcode += next();\n\t\t\t\treturn code;\n\t\t\t},\n\t\t\tonDone: () => onResult(this._args[0]),\n\t\t\tdoneReturns: resultReturns,\n\t\t\trethrowIfPossible\n\t\t});\n\t}\n}\n\nconst factory = new SyncWaterfallHookCodeFactory();\n\nconst TAP_ASYNC = () => {\n\tthrow new Error(\"tapAsync is not supported on a SyncWaterfallHook\");\n};\n\nconst TAP_PROMISE = () => {\n\tthrow new Error(\"tapPromise is not supported on a SyncWaterfallHook\");\n};\n\nconst COMPILE = function(options) {\n\tfactory.setup(this, options);\n\treturn factory.create(options);\n};\n\nfunction SyncWaterfallHook(args = [], name = undefined) {\n\tif (args.length < 1)\n\t\tthrow new Error(\"Waterfall hooks must have at least one argument\");\n\tconst hook = new Hook(args, name);\n\thook.constructor = SyncWaterfallHook;\n\thook.tapAsync = TAP_ASYNC;\n\thook.tapPromise = TAP_PROMISE;\n\thook.compile = COMPILE;\n\treturn hook;\n}\n\nSyncWaterfallHook.prototype = null;\n\nmodule.exports = SyncWaterfallHook;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/SyncWaterfallHook.js?"); /***/ }), /***/ "./node_modules/tapable/lib/index.js": /*!*******************************************!*\ !*** ./node_modules/tapable/lib/index.js ***! \*******************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nexports.__esModule = true;\nexports.SyncHook = __webpack_require__(/*! ./SyncHook */ \"./node_modules/tapable/lib/SyncHook.js\");\nexports.SyncBailHook = __webpack_require__(/*! ./SyncBailHook */ \"./node_modules/tapable/lib/SyncBailHook.js\");\nexports.SyncWaterfallHook = __webpack_require__(/*! ./SyncWaterfallHook */ \"./node_modules/tapable/lib/SyncWaterfallHook.js\");\nexports.SyncLoopHook = __webpack_require__(/*! ./SyncLoopHook */ \"./node_modules/tapable/lib/SyncLoopHook.js\");\nexports.AsyncParallelHook = __webpack_require__(/*! ./AsyncParallelHook */ \"./node_modules/tapable/lib/AsyncParallelHook.js\");\nexports.AsyncParallelBailHook = __webpack_require__(/*! ./AsyncParallelBailHook */ \"./node_modules/tapable/lib/AsyncParallelBailHook.js\");\nexports.AsyncSeriesHook = __webpack_require__(/*! ./AsyncSeriesHook */ \"./node_modules/tapable/lib/AsyncSeriesHook.js\");\nexports.AsyncSeriesBailHook = __webpack_require__(/*! ./AsyncSeriesBailHook */ \"./node_modules/tapable/lib/AsyncSeriesBailHook.js\");\nexports.AsyncSeriesLoopHook = __webpack_require__(/*! ./AsyncSeriesLoopHook */ \"./node_modules/tapable/lib/AsyncSeriesLoopHook.js\");\nexports.AsyncSeriesWaterfallHook = __webpack_require__(/*! ./AsyncSeriesWaterfallHook */ \"./node_modules/tapable/lib/AsyncSeriesWaterfallHook.js\");\nexports.HookMap = __webpack_require__(/*! ./HookMap */ \"./node_modules/tapable/lib/HookMap.js\");\nexports.MultiHook = __webpack_require__(/*! ./MultiHook */ \"./node_modules/tapable/lib/MultiHook.js\");\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/index.js?"); /***/ }), /***/ "./node_modules/tapable/lib/util-browser.js": /*!**************************************************!*\ !*** ./node_modules/tapable/lib/util-browser.js ***! \**************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nexports.deprecate = (fn, msg) => {\n\tlet once = true;\n\treturn function() {\n\t\tif (once) {\n\t\t\tconsole.warn(\"DeprecationWarning: \" + msg);\n\t\t\tonce = false;\n\t\t}\n\t\treturn fn.apply(this, arguments);\n\t};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/tapable/lib/util-browser.js?"); /***/ }), /***/ "./node_modules/terser-webpack-plugin/dist/index.js": /*!**********************************************************!*\ !*** ./node_modules/terser-webpack-plugin/dist/index.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\nconst path = __webpack_require__(/*! path */ \"?1464\");\n\nconst os = __webpack_require__(/*! os */ \"?fc3b\");\n\nconst {\n TraceMap,\n originalPositionFor\n} = __webpack_require__(/*! @jridgewell/trace-mapping */ \"./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js\");\n\nconst {\n validate\n} = __webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\");\n\nconst serialize = __webpack_require__(/*! serialize-javascript */ \"./node_modules/serialize-javascript/index.js\");\n\nconst {\n Worker\n} = __webpack_require__(/*! jest-worker */ \"./node_modules/jest-worker/build/index.js\");\n\nconst {\n throttleAll,\n terserMinify,\n uglifyJsMinify,\n swcMinify,\n esbuildMinify\n} = __webpack_require__(/*! ./utils */ \"./node_modules/terser-webpack-plugin/dist/utils.js\");\n\nconst schema = __webpack_require__(/*! ./options.json */ \"./node_modules/terser-webpack-plugin/dist/options.json\");\n\nconst {\n minify\n} = __webpack_require__(/*! ./minify */ \"./node_modules/terser-webpack-plugin/dist/minify.js\");\n/** @typedef {import(\"schema-utils/declarations/validate\").Schema} Schema */\n\n/** @typedef {import(\"webpack\").Compiler} Compiler */\n\n/** @typedef {import(\"webpack\").Compilation} Compilation */\n\n/** @typedef {import(\"webpack\").WebpackError} WebpackError */\n\n/** @typedef {import(\"webpack\").Asset} Asset */\n\n/** @typedef {import(\"./utils.js\").TerserECMA} TerserECMA */\n\n/** @typedef {import(\"./utils.js\").TerserOptions} TerserOptions */\n\n/** @typedef {import(\"jest-worker\").Worker} JestWorker */\n\n/** @typedef {import(\"@jridgewell/trace-mapping\").SourceMapInput} SourceMapInput */\n\n/** @typedef {RegExp | string} Rule */\n\n/** @typedef {Rule[] | Rule} Rules */\n\n/**\n * @callback ExtractCommentsFunction\n * @param {any} astNode\n * @param {{ value: string, type: 'comment1' | 'comment2' | 'comment3' | 'comment4', pos: number, line: number, col: number }} comment\n * @returns {boolean}\n */\n\n/**\n * @typedef {boolean | 'all' | 'some' | RegExp | ExtractCommentsFunction} ExtractCommentsCondition\n */\n\n/**\n * @typedef {string | ((fileData: any) => string)} ExtractCommentsFilename\n */\n\n/**\n * @typedef {boolean | string | ((commentsFile: string) => string)} ExtractCommentsBanner\n */\n\n/**\n * @typedef {Object} ExtractCommentsObject\n * @property {ExtractCommentsCondition} [condition]\n * @property {ExtractCommentsFilename} [filename]\n * @property {ExtractCommentsBanner} [banner]\n */\n\n/**\n * @typedef {ExtractCommentsCondition | ExtractCommentsObject} ExtractCommentsOptions\n */\n\n/**\n * @typedef {Object} MinimizedResult\n * @property {string} code\n * @property {SourceMapInput} [map]\n * @property {Array<Error | string>} [errors]\n * @property {Array<Error | string>} [warnings]\n * @property {Array<string>} [extractedComments]\n */\n\n/**\n * @typedef {{ [file: string]: string }} Input\n */\n\n/**\n * @typedef {{ [key: string]: any }} CustomOptions\n */\n\n/**\n * @template T\n * @typedef {T extends infer U ? U : CustomOptions} InferDefaultType\n */\n\n/**\n * @typedef {Object} PredefinedOptions\n * @property {boolean} [module]\n * @property {TerserECMA} [ecma]\n */\n\n/**\n * @template T\n * @typedef {PredefinedOptions & InferDefaultType<T>} MinimizerOptions\n */\n\n/**\n * @template T\n * @callback BasicMinimizerImplementation\n * @param {Input} input\n * @param {SourceMapInput | undefined} sourceMap\n * @param {MinimizerOptions<T>} minifyOptions\n * @param {ExtractCommentsOptions | undefined} extractComments\n * @returns {Promise<MinimizedResult>}\n */\n\n/**\n * @typedef {object} MinimizeFunctionHelpers\n * @property {() => string | undefined} [getMinimizerVersion]\n */\n\n/**\n * @template T\n * @typedef {BasicMinimizerImplementation<T> & MinimizeFunctionHelpers} MinimizerImplementation\n */\n\n/**\n * @template T\n * @typedef {Object} InternalOptions\n * @property {string} name\n * @property {string} input\n * @property {SourceMapInput | undefined} inputSourceMap\n * @property {ExtractCommentsOptions | undefined} extractComments\n * @property {{ implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> }} minimizer\n */\n\n/**\n * @template T\n * @typedef {JestWorker & { transform: (options: string) => MinimizedResult, minify: (options: InternalOptions<T>) => MinimizedResult }} MinimizerWorker\n */\n\n/**\n * @typedef {undefined | boolean | number} Parallel\n */\n\n/**\n * @typedef {Object} BasePluginOptions\n * @property {Rules} [test]\n * @property {Rules} [include]\n * @property {Rules} [exclude]\n * @property {ExtractCommentsOptions} [extractComments]\n * @property {Parallel} [parallel]\n */\n\n/**\n * @template T\n * @typedef {T extends TerserOptions ? { minify?: MinimizerImplementation<T> | undefined, terserOptions?: MinimizerOptions<T> | undefined } : { minify: MinimizerImplementation<T>, terserOptions?: MinimizerOptions<T> | undefined }} DefinedDefaultMinimizerAndOptions\n */\n\n/**\n * @template T\n * @typedef {BasePluginOptions & { minimizer: { implementation: MinimizerImplementation<T>, options: MinimizerOptions<T> } }} InternalPluginOptions\n */\n\n/**\n * @template [T=TerserOptions]\n */\n\n\nclass TerserPlugin {\n /**\n * @param {BasePluginOptions & DefinedDefaultMinimizerAndOptions<T>} [options]\n */\n constructor(options) {\n validate(\n /** @type {Schema} */\n schema, options || {}, {\n name: \"Terser Plugin\",\n baseDataPath: \"options\"\n }); // TODO make `minimizer` option instead `minify` and `terserOptions` in the next major release, also rename `terserMinify` to `terserMinimize`\n\n const {\n minify =\n /** @type {MinimizerImplementation<T>} */\n terserMinify,\n terserOptions =\n /** @type {MinimizerOptions<T>} */\n {},\n test = /\\.[cm]?js(\\?.*)?$/i,\n extractComments = true,\n parallel = true,\n include,\n exclude\n } = options || {};\n /**\n * @private\n * @type {InternalPluginOptions<T>}\n */\n\n this.options = {\n test,\n extractComments,\n parallel,\n include,\n exclude,\n minimizer: {\n implementation: minify,\n options: terserOptions\n }\n };\n }\n /**\n * @private\n * @param {any} input\n * @returns {boolean}\n */\n\n\n static isSourceMap(input) {\n // All required options for `new TraceMap(...options)`\n // https://github.com/jridgewell/trace-mapping#usage\n return Boolean(input && input.version && input.sources && Array.isArray(input.sources) && typeof input.mappings === \"string\");\n }\n /**\n * @private\n * @param {unknown} warning\n * @param {string} file\n * @returns {Error}\n */\n\n\n static buildWarning(warning, file) {\n /**\n * @type {Error & { hideStack: true, file: string }}\n */\n // @ts-ignore\n const builtWarning = new Error(warning.toString());\n builtWarning.name = \"Warning\";\n builtWarning.hideStack = true;\n builtWarning.file = file;\n return builtWarning;\n }\n /**\n * @private\n * @param {any} error\n * @param {string} file\n * @param {TraceMap} [sourceMap]\n * @param {Compilation[\"requestShortener\"]} [requestShortener]\n * @returns {Error}\n */\n\n\n static buildError(error, file, sourceMap, requestShortener) {\n /**\n * @type {Error & { file?: string }}\n */\n let builtError;\n\n if (typeof error === \"string\") {\n builtError = new Error(`${file} from Terser plugin\\n${error}`);\n builtError.file = file;\n return builtError;\n }\n\n if (error.line) {\n const original = sourceMap && originalPositionFor(sourceMap, {\n line: error.line,\n column: error.col\n });\n\n if (original && original.source && requestShortener) {\n builtError = new Error(`${file} from Terser plugin\\n${error.message} [${requestShortener.shorten(original.source)}:${original.line},${original.column}][${file}:${error.line},${error.col}]${error.stack ? `\\n${error.stack.split(\"\\n\").slice(1).join(\"\\n\")}` : \"\"}`);\n builtError.file = file;\n return builtError;\n }\n\n builtError = new Error(`${file} from Terser plugin\\n${error.message} [${file}:${error.line},${error.col}]${error.stack ? `\\n${error.stack.split(\"\\n\").slice(1).join(\"\\n\")}` : \"\"}`);\n builtError.file = file;\n return builtError;\n }\n\n if (error.stack) {\n builtError = new Error(`${file} from Terser plugin\\n${typeof error.message !== \"undefined\" ? error.message : \"\"}\\n${error.stack}`);\n builtError.file = file;\n return builtError;\n }\n\n builtError = new Error(`${file} from Terser plugin\\n${error.message}`);\n builtError.file = file;\n return builtError;\n }\n /**\n * @private\n * @param {Parallel} parallel\n * @returns {number}\n */\n\n\n static getAvailableNumberOfCores(parallel) {\n // In some cases cpus() returns undefined\n // https://github.com/nodejs/node/issues/19022\n const cpus = os.cpus() || {\n length: 1\n };\n return parallel === true ? cpus.length - 1 : Math.min(Number(parallel) || 0, cpus.length - 1);\n }\n /**\n * @private\n * @param {Compiler} compiler\n * @param {Compilation} compilation\n * @param {Record<string, import(\"webpack\").sources.Source>} assets\n * @param {{availableNumberOfCores: number}} optimizeOptions\n * @returns {Promise<void>}\n */\n\n\n async optimize(compiler, compilation, assets, optimizeOptions) {\n const cache = compilation.getCache(\"TerserWebpackPlugin\");\n let numberOfAssets = 0;\n const assetsForMinify = await Promise.all(Object.keys(assets).filter(name => {\n const {\n info\n } =\n /** @type {Asset} */\n compilation.getAsset(name);\n\n if ( // Skip double minimize assets from child compilation\n info.minimized || // Skip minimizing for extracted comments assets\n info.extractedComments) {\n return false;\n }\n\n if (!compiler.webpack.ModuleFilenameHelpers.matchObject.bind( // eslint-disable-next-line no-undefined\n undefined, this.options)(name)) {\n return false;\n }\n\n return true;\n }).map(async name => {\n const {\n info,\n source\n } =\n /** @type {Asset} */\n compilation.getAsset(name);\n const eTag = cache.getLazyHashedEtag(source);\n const cacheItem = cache.getItemCache(name, eTag);\n const output = await cacheItem.getPromise();\n\n if (!output) {\n numberOfAssets += 1;\n }\n\n return {\n name,\n info,\n inputSource: source,\n output,\n cacheItem\n };\n }));\n\n if (assetsForMinify.length === 0) {\n return;\n }\n /** @type {undefined | (() => MinimizerWorker<T>)} */\n\n\n let getWorker;\n /** @type {undefined | MinimizerWorker<T>} */\n\n let initializedWorker;\n /** @type {undefined | number} */\n\n let numberOfWorkers;\n\n if (optimizeOptions.availableNumberOfCores > 0) {\n // Do not create unnecessary workers when the number of files is less than the available cores, it saves memory\n numberOfWorkers = Math.min(numberOfAssets, optimizeOptions.availableNumberOfCores); // eslint-disable-next-line consistent-return\n\n getWorker = () => {\n if (initializedWorker) {\n return initializedWorker;\n }\n\n initializedWorker =\n /** @type {MinimizerWorker<T>} */\n new Worker(/*require.resolve*/(/*! ./minify */ \"./node_modules/terser-webpack-plugin/dist/minify.js\"), {\n numWorkers: numberOfWorkers,\n enableWorkerThreads: true\n }); // https://github.com/facebook/jest/issues/8872#issuecomment-524822081\n\n const workerStdout = initializedWorker.getStdout();\n\n if (workerStdout) {\n workerStdout.on(\"data\", chunk => process.stdout.write(chunk));\n }\n\n const workerStderr = initializedWorker.getStderr();\n\n if (workerStderr) {\n workerStderr.on(\"data\", chunk => process.stderr.write(chunk));\n }\n\n return initializedWorker;\n };\n }\n\n const {\n SourceMapSource,\n ConcatSource,\n RawSource\n } = compiler.webpack.sources;\n /** @typedef {{ extractedCommentsSource : import(\"webpack\").sources.RawSource, commentsFilename: string }} ExtractedCommentsInfo */\n\n /** @type {Map<string, ExtractedCommentsInfo>} */\n\n const allExtractedComments = new Map();\n const scheduledTasks = [];\n\n for (const asset of assetsForMinify) {\n scheduledTasks.push(async () => {\n const {\n name,\n inputSource,\n info,\n cacheItem\n } = asset;\n let {\n output\n } = asset;\n\n if (!output) {\n let input;\n /** @type {SourceMapInput | undefined} */\n\n let inputSourceMap;\n const {\n source: sourceFromInputSource,\n map\n } = inputSource.sourceAndMap();\n input = sourceFromInputSource;\n\n if (map) {\n if (!TerserPlugin.isSourceMap(map)) {\n compilation.warnings.push(\n /** @type {WebpackError} */\n new Error(`${name} contains invalid source map`));\n } else {\n inputSourceMap =\n /** @type {SourceMapInput} */\n map;\n }\n }\n\n if (Buffer.isBuffer(input)) {\n input = input.toString();\n }\n /**\n * @type {InternalOptions<T>}\n */\n\n\n const options = {\n name,\n input,\n inputSourceMap,\n minimizer: {\n implementation: this.options.minimizer.implementation,\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/10727\n options: { ...this.options.minimizer.options\n }\n },\n extractComments: this.options.extractComments\n };\n\n if (typeof options.minimizer.options.module === \"undefined\") {\n if (typeof info.javascriptModule !== \"undefined\") {\n options.minimizer.options.module = info.javascriptModule;\n } else if (/\\.mjs(\\?.*)?$/i.test(name)) {\n options.minimizer.options.module = true;\n } else if (/\\.cjs(\\?.*)?$/i.test(name)) {\n options.minimizer.options.module = false;\n }\n }\n\n if (typeof options.minimizer.options.ecma === \"undefined\") {\n options.minimizer.options.ecma = TerserPlugin.getEcmaVersion(compiler.options.output.environment || {});\n }\n\n try {\n output = await (getWorker ? getWorker().transform(serialize(options)) : minify(options));\n } catch (error) {\n const hasSourceMap = inputSourceMap && TerserPlugin.isSourceMap(inputSourceMap);\n compilation.errors.push(\n /** @type {WebpackError} */\n TerserPlugin.buildError(error, name, hasSourceMap ? new TraceMap(\n /** @type {SourceMapInput} */\n inputSourceMap) : // eslint-disable-next-line no-undefined\n undefined, // eslint-disable-next-line no-undefined\n hasSourceMap ? compilation.requestShortener : undefined));\n return;\n }\n\n if (typeof output.code === \"undefined\") {\n compilation.errors.push(\n /** @type {WebpackError} */\n new Error(`${name} from Terser plugin\\nMinimizer doesn't return result`));\n return;\n }\n\n if (output.warnings && output.warnings.length > 0) {\n output.warnings = output.warnings.map(\n /**\n * @param {Error | string} item\n */\n item => TerserPlugin.buildWarning(item, name));\n }\n\n if (output.errors && output.errors.length > 0) {\n const hasSourceMap = inputSourceMap && TerserPlugin.isSourceMap(inputSourceMap);\n output.errors = output.errors.map(\n /**\n * @param {Error | string} item\n */\n item => TerserPlugin.buildError(item, name, hasSourceMap ? new TraceMap(\n /** @type {SourceMapInput} */\n inputSourceMap) : // eslint-disable-next-line no-undefined\n undefined, // eslint-disable-next-line no-undefined\n hasSourceMap ? compilation.requestShortener : undefined));\n }\n\n let shebang;\n\n if (\n /** @type {ExtractCommentsObject} */\n this.options.extractComments.banner !== false && output.extractedComments && output.extractedComments.length > 0 && output.code.startsWith(\"#!\")) {\n const firstNewlinePosition = output.code.indexOf(\"\\n\");\n shebang = output.code.substring(0, firstNewlinePosition);\n output.code = output.code.substring(firstNewlinePosition + 1);\n }\n\n if (output.map) {\n output.source = new SourceMapSource(output.code, name, output.map, input,\n /** @type {SourceMapInput} */\n inputSourceMap, true);\n } else {\n output.source = new RawSource(output.code);\n }\n\n if (output.extractedComments && output.extractedComments.length > 0) {\n const commentsFilename =\n /** @type {ExtractCommentsObject} */\n this.options.extractComments.filename || \"[file].LICENSE.txt[query]\";\n let query = \"\";\n let filename = name;\n const querySplit = filename.indexOf(\"?\");\n\n if (querySplit >= 0) {\n query = filename.slice(querySplit);\n filename = filename.slice(0, querySplit);\n }\n\n const lastSlashIndex = filename.lastIndexOf(\"/\");\n const basename = lastSlashIndex === -1 ? filename : filename.slice(lastSlashIndex + 1);\n const data = {\n filename,\n basename,\n query\n };\n output.commentsFilename = compilation.getPath(commentsFilename, data);\n let banner; // Add a banner to the original file\n\n if (\n /** @type {ExtractCommentsObject} */\n this.options.extractComments.banner !== false) {\n banner =\n /** @type {ExtractCommentsObject} */\n this.options.extractComments.banner || `For license information please see ${path.relative(path.dirname(name), output.commentsFilename).replace(/\\\\/g, \"/\")}`;\n\n if (typeof banner === \"function\") {\n banner = banner(output.commentsFilename);\n }\n\n if (banner) {\n output.source = new ConcatSource(shebang ? `${shebang}\\n` : \"\", `/*! ${banner} */\\n`, output.source);\n }\n }\n\n const extractedCommentsString = output.extractedComments.sort().join(\"\\n\\n\");\n output.extractedCommentsSource = new RawSource(`${extractedCommentsString}\\n`);\n }\n\n await cacheItem.storePromise({\n source: output.source,\n errors: output.errors,\n warnings: output.warnings,\n commentsFilename: output.commentsFilename,\n extractedCommentsSource: output.extractedCommentsSource\n });\n }\n\n if (output.warnings && output.warnings.length > 0) {\n for (const warning of output.warnings) {\n compilation.warnings.push(\n /** @type {WebpackError} */\n warning);\n }\n }\n\n if (output.errors && output.errors.length > 0) {\n for (const error of output.errors) {\n compilation.errors.push(\n /** @type {WebpackError} */\n error);\n }\n }\n /** @type {Record<string, any>} */\n\n\n const newInfo = {\n minimized: true\n };\n const {\n source,\n extractedCommentsSource\n } = output; // Write extracted comments to commentsFilename\n\n if (extractedCommentsSource) {\n const {\n commentsFilename\n } = output;\n newInfo.related = {\n license: commentsFilename\n };\n allExtractedComments.set(name, {\n extractedCommentsSource,\n commentsFilename\n });\n }\n\n compilation.updateAsset(name, source, newInfo);\n });\n }\n\n const limit = getWorker && numberOfAssets > 0 ?\n /** @type {number} */\n numberOfWorkers : scheduledTasks.length;\n await throttleAll(limit, scheduledTasks);\n\n if (initializedWorker) {\n await initializedWorker.end();\n }\n /** @typedef {{ source: import(\"webpack\").sources.Source, commentsFilename: string, from: string }} ExtractedCommentsInfoWIthFrom */\n\n\n await Array.from(allExtractedComments).sort().reduce(\n /**\n * @param {Promise<unknown>} previousPromise\n * @param {[string, ExtractedCommentsInfo]} extractedComments\n * @returns {Promise<ExtractedCommentsInfoWIthFrom>}\n */\n async (previousPromise, [from, value]) => {\n const previous =\n /** @type {ExtractedCommentsInfoWIthFrom | undefined} **/\n await previousPromise;\n const {\n commentsFilename,\n extractedCommentsSource\n } = value;\n\n if (previous && previous.commentsFilename === commentsFilename) {\n const {\n from: previousFrom,\n source: prevSource\n } = previous;\n const mergedName = `${previousFrom}|${from}`;\n const name = `${commentsFilename}|${mergedName}`;\n const eTag = [prevSource, extractedCommentsSource].map(item => cache.getLazyHashedEtag(item)).reduce((previousValue, currentValue) => cache.mergeEtags(previousValue, currentValue));\n let source = await cache.getPromise(name, eTag);\n\n if (!source) {\n source = new ConcatSource(Array.from(new Set([...\n /** @type {string}*/\n prevSource.source().split(\"\\n\\n\"), ...\n /** @type {string}*/\n extractedCommentsSource.source().split(\"\\n\\n\")])).join(\"\\n\\n\"));\n await cache.storePromise(name, eTag, source);\n }\n\n compilation.updateAsset(commentsFilename, source);\n return {\n source,\n commentsFilename,\n from: mergedName\n };\n }\n\n const existingAsset = compilation.getAsset(commentsFilename);\n\n if (existingAsset) {\n return {\n source: existingAsset.source,\n commentsFilename,\n from: commentsFilename\n };\n }\n\n compilation.emitAsset(commentsFilename, extractedCommentsSource, {\n extractedComments: true\n });\n return {\n source: extractedCommentsSource,\n commentsFilename,\n from\n };\n },\n /** @type {Promise<unknown>} */\n Promise.resolve());\n }\n /**\n * @private\n * @param {any} environment\n * @returns {TerserECMA}\n */\n\n\n static getEcmaVersion(environment) {\n // ES 6th\n if (environment.arrowFunction || environment.const || environment.destructuring || environment.forOf || environment.module) {\n return 2015;\n } // ES 11th\n\n\n if (environment.bigIntLiteral || environment.dynamicImport) {\n return 2020;\n }\n\n return 5;\n }\n /**\n * @param {Compiler} compiler\n * @returns {void}\n */\n\n\n apply(compiler) {\n const pluginName = this.constructor.name;\n const availableNumberOfCores = TerserPlugin.getAvailableNumberOfCores(this.options.parallel);\n compiler.hooks.compilation.tap(pluginName, compilation => {\n const hooks = compiler.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(compilation);\n const data = serialize({\n minimizer: typeof this.options.minimizer.implementation.getMinimizerVersion !== \"undefined\" ? this.options.minimizer.implementation.getMinimizerVersion() || \"0.0.0\" : \"0.0.0\",\n options: this.options.minimizer.options\n });\n hooks.chunkHash.tap(pluginName, (chunk, hash) => {\n hash.update(\"TerserPlugin\");\n hash.update(data);\n });\n compilation.hooks.processAssets.tapPromise({\n name: pluginName,\n stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,\n additionalAssets: true\n }, assets => this.optimize(compiler, compilation, assets, {\n availableNumberOfCores\n }));\n compilation.hooks.statsPrinter.tap(pluginName, stats => {\n stats.hooks.print.for(\"asset.info.minimized\").tap(\"terser-webpack-plugin\", (minimized, {\n green,\n formatFlag\n }) => minimized ?\n /** @type {Function} */\n green(\n /** @type {Function} */\n formatFlag(\"minimized\")) : \"\");\n });\n });\n }\n\n}\n\nTerserPlugin.terserMinify = terserMinify;\nTerserPlugin.uglifyJsMinify = uglifyJsMinify;\nTerserPlugin.swcMinify = swcMinify;\nTerserPlugin.esbuildMinify = esbuildMinify;\nmodule.exports = TerserPlugin;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser-webpack-plugin/dist/index.js?"); /***/ }), /***/ "./node_modules/terser-webpack-plugin/dist/minify.js": /*!***********************************************************!*\ !*** ./node_modules/terser-webpack-plugin/dist/minify.js ***! \***********************************************************/ /***/ ((module, exports, __webpack_require__) => { "use strict"; eval("var __filename = \"/index.js\";\nvar __dirname = \"/\";\n/* module decorator */ module = __webpack_require__.nmd(module);\n\n\n/** @typedef {import(\"./index.js\").MinimizedResult} MinimizedResult */\n\n/** @typedef {import(\"./index.js\").CustomOptions} CustomOptions */\n\n/**\n * @template T\n * @param {import(\"./index.js\").InternalOptions<T>} options\n * @returns {Promise<MinimizedResult>}\n */\nasync function minify(options) {\n const {\n name,\n input,\n inputSourceMap,\n extractComments\n } = options;\n const {\n implementation,\n options: minimizerOptions\n } = options.minimizer;\n return implementation({\n [name]: input\n }, inputSourceMap, minimizerOptions, extractComments);\n}\n/**\n * @param {string} options\n * @returns {Promise<MinimizedResult>}\n */\n\n\nasync function transform(options) {\n // 'use strict' => this === undefined (Clean Scope)\n // Safer for possible security issues, albeit not critical at all here\n // eslint-disable-next-line no-param-reassign\n const evaluatedOptions =\n /**\n * @template T\n * @type {import(\"./index.js\").InternalOptions<T>}\n * */\n // eslint-disable-next-line no-new-func\n new Function(\"exports\", \"require\", \"module\", \"__filename\", \"__dirname\", `'use strict'\\nreturn ${options}`)(exports, __webpack_require__(\"./node_modules/terser-webpack-plugin/dist sync recursive\"), module, __filename, __dirname);\n return minify(evaluatedOptions);\n}\n\nmodule.exports = {\n minify,\n transform\n};\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser-webpack-plugin/dist/minify.js?"); /***/ }), /***/ "./node_modules/terser-webpack-plugin/dist/utils.js": /*!**********************************************************!*\ !*** ./node_modules/terser-webpack-plugin/dist/utils.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("\n\n/** @typedef {import(\"@jridgewell/trace-mapping\").SourceMapInput} SourceMapInput */\n\n/** @typedef {import(\"terser\").FormatOptions} TerserFormatOptions */\n\n/** @typedef {import(\"terser\").MinifyOptions} TerserOptions */\n\n/** @typedef {import(\"terser\").CompressOptions} TerserCompressOptions */\n\n/** @typedef {import(\"terser\").ECMA} TerserECMA */\n\n/** @typedef {import(\"./index.js\").ExtractCommentsOptions} ExtractCommentsOptions */\n\n/** @typedef {import(\"./index.js\").ExtractCommentsFunction} ExtractCommentsFunction */\n\n/** @typedef {import(\"./index.js\").ExtractCommentsCondition} ExtractCommentsCondition */\n\n/** @typedef {import(\"./index.js\").Input} Input */\n\n/** @typedef {import(\"./index.js\").MinimizedResult} MinimizedResult */\n\n/** @typedef {import(\"./index.js\").PredefinedOptions} PredefinedOptions */\n\n/** @typedef {import(\"./index.js\").CustomOptions} CustomOptions */\n\n/**\n * @typedef {Array<string>} ExtractedComments\n */\nconst notSettled = Symbol(`not-settled`);\n/**\n * @template T\n * @typedef {() => Promise<T>} Task\n */\n\n/**\n * Run tasks with limited concurency.\n * @template T\n * @param {number} limit - Limit of tasks that run at once.\n * @param {Task<T>[]} tasks - List of tasks to run.\n * @returns {Promise<T[]>} A promise that fulfills to an array of the results\n */\n\nfunction throttleAll(limit, tasks) {\n if (!Number.isInteger(limit) || limit < 1) {\n throw new TypeError(`Expected \\`limit\\` to be a finite number > 0, got \\`${limit}\\` (${typeof limit})`);\n }\n\n if (!Array.isArray(tasks) || !tasks.every(task => typeof task === `function`)) {\n throw new TypeError(`Expected \\`tasks\\` to be a list of functions returning a promise`);\n }\n\n return new Promise((resolve, reject) => {\n const result = Array(tasks.length).fill(notSettled);\n const entries = tasks.entries();\n\n const next = () => {\n const {\n done,\n value\n } = entries.next();\n\n if (done) {\n const isLast = !result.includes(notSettled);\n if (isLast) resolve(\n /** @type{T[]} **/\n result);\n return;\n }\n\n const [index, task] = value;\n /**\n * @param {T} x\n */\n\n const onFulfilled = x => {\n result[index] = x;\n next();\n };\n\n task().then(onFulfilled, reject);\n };\n\n Array(limit).fill(0).forEach(next);\n });\n}\n/* istanbul ignore next */\n\n/**\n * @param {Input} input\n * @param {SourceMapInput | undefined} sourceMap\n * @param {PredefinedOptions & CustomOptions} minimizerOptions\n * @param {ExtractCommentsOptions | undefined} extractComments\n * @return {Promise<MinimizedResult>}\n */\n\n\nasync function terserMinify(input, sourceMap, minimizerOptions, extractComments) {\n /**\n * @param {any} value\n * @returns {boolean}\n */\n const isObject = value => {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\");\n };\n /**\n * @param {TerserOptions & { sourceMap: undefined } & ({ output: TerserFormatOptions & { beautify: boolean } } | { format: TerserFormatOptions & { beautify: boolean } })} terserOptions\n * @param {ExtractedComments} extractedComments\n * @returns {ExtractCommentsFunction}\n */\n\n\n const buildComments = (terserOptions, extractedComments) => {\n /** @type {{ [index: string]: ExtractCommentsCondition }} */\n const condition = {};\n let comments;\n\n if (terserOptions.format) {\n ({\n comments\n } = terserOptions.format);\n } else if (terserOptions.output) {\n ({\n comments\n } = terserOptions.output);\n }\n\n condition.preserve = typeof comments !== \"undefined\" ? comments : false;\n\n if (typeof extractComments === \"boolean\" && extractComments) {\n condition.extract = \"some\";\n } else if (typeof extractComments === \"string\" || extractComments instanceof RegExp) {\n condition.extract = extractComments;\n } else if (typeof extractComments === \"function\") {\n condition.extract = extractComments;\n } else if (extractComments && isObject(extractComments)) {\n condition.extract = typeof extractComments.condition === \"boolean\" && extractComments.condition ? \"some\" : typeof extractComments.condition !== \"undefined\" ? extractComments.condition : \"some\";\n } else {\n // No extract\n // Preserve using \"commentsOpts\" or \"some\"\n condition.preserve = typeof comments !== \"undefined\" ? comments : \"some\";\n condition.extract = false;\n } // Ensure that both conditions are functions\n\n\n [\"preserve\", \"extract\"].forEach(key => {\n /** @type {undefined | string} */\n let regexStr;\n /** @type {undefined | RegExp} */\n\n let regex;\n\n switch (typeof condition[key]) {\n case \"boolean\":\n condition[key] = condition[key] ? () => true : () => false;\n break;\n\n case \"function\":\n break;\n\n case \"string\":\n if (condition[key] === \"all\") {\n condition[key] = () => true;\n\n break;\n }\n\n if (condition[key] === \"some\") {\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) => (comment.type === \"comment2\" || comment.type === \"comment1\") && /@preserve|@lic|@cc_on|^\\**!/i.test(comment.value);\n\n break;\n }\n\n regexStr =\n /** @type {string} */\n condition[key];\n\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) => new RegExp(\n /** @type {string} */\n regexStr).test(comment.value);\n\n break;\n\n default:\n regex =\n /** @type {RegExp} */\n condition[key];\n\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) =>\n /** @type {RegExp} */\n regex.test(comment.value);\n\n }\n }); // Redefine the comments function to extract and preserve\n // comments according to the two conditions\n\n return (astNode, comment) => {\n if (\n /** @type {{ extract: ExtractCommentsFunction }} */\n condition.extract(astNode, comment)) {\n const commentText = comment.type === \"comment2\" ? `/*${comment.value}*/` : `//${comment.value}`; // Don't include duplicate comments\n\n if (!extractedComments.includes(commentText)) {\n extractedComments.push(commentText);\n }\n }\n\n return (\n /** @type {{ preserve: ExtractCommentsFunction }} */\n condition.preserve(astNode, comment)\n );\n };\n };\n /**\n * @param {PredefinedOptions & TerserOptions} [terserOptions={}]\n * @returns {TerserOptions & { sourceMap: undefined } & { compress: TerserCompressOptions } & ({ output: TerserFormatOptions & { beautify: boolean } } | { format: TerserFormatOptions & { beautify: boolean } })}\n */\n\n\n const buildTerserOptions = (terserOptions = {}) => {\n // Need deep copy objects to avoid https://github.com/terser/terser/issues/366\n return { ...terserOptions,\n compress: typeof terserOptions.compress === \"boolean\" ? terserOptions.compress ? {} : false : { ...terserOptions.compress\n },\n // ecma: terserOptions.ecma,\n // ie8: terserOptions.ie8,\n // keep_classnames: terserOptions.keep_classnames,\n // keep_fnames: terserOptions.keep_fnames,\n mangle: terserOptions.mangle == null ? true : typeof terserOptions.mangle === \"boolean\" ? terserOptions.mangle : { ...terserOptions.mangle\n },\n // module: terserOptions.module,\n // nameCache: { ...terserOptions.toplevel },\n // the `output` option is deprecated\n ...(terserOptions.format ? {\n format: {\n beautify: false,\n ...terserOptions.format\n }\n } : {\n output: {\n beautify: false,\n ...terserOptions.output\n }\n }),\n parse: { ...terserOptions.parse\n },\n // safari10: terserOptions.safari10,\n // Ignoring sourceMap from options\n // eslint-disable-next-line no-undefined\n sourceMap: undefined // toplevel: terserOptions.toplevel\n\n };\n }; // eslint-disable-next-line global-require\n\n\n const {\n minify\n } = __webpack_require__(/*! terser */ \"./node_modules/terser/dist/bundle.min.js\"); // Copy `terser` options\n\n\n const terserOptions = buildTerserOptions(minimizerOptions); // Let terser generate a SourceMap\n\n if (sourceMap) {\n // @ts-ignore\n terserOptions.sourceMap = {\n asObject: true\n };\n }\n /** @type {ExtractedComments} */\n\n\n const extractedComments = [];\n\n if (terserOptions.output) {\n terserOptions.output.comments = buildComments(terserOptions, extractedComments);\n } else if (terserOptions.format) {\n terserOptions.format.comments = buildComments(terserOptions, extractedComments);\n }\n\n if (terserOptions.compress) {\n // More optimizations\n if (typeof terserOptions.compress.ecma === \"undefined\") {\n terserOptions.compress.ecma = terserOptions.ecma;\n } // https://github.com/webpack/webpack/issues/16135\n\n\n if (terserOptions.ecma === 5 && typeof terserOptions.compress.arrows === \"undefined\") {\n terserOptions.compress.arrows = false;\n }\n }\n\n const [[filename, code]] = Object.entries(input);\n const result = await minify({\n [filename]: code\n }, terserOptions);\n return {\n code:\n /** @type {string} **/\n result.code,\n // @ts-ignore\n // eslint-disable-next-line no-undefined\n map: result.map ?\n /** @type {SourceMapInput} **/\n result.map : undefined,\n extractedComments\n };\n}\n/**\n * @returns {string | undefined}\n */\n\n\nterserMinify.getMinimizerVersion = () => {\n let packageJson;\n\n try {\n // eslint-disable-next-line global-require\n packageJson = __webpack_require__(/*! terser/package.json */ \"./node_modules/terser/package.json\");\n } catch (error) {// Ignore\n }\n\n return packageJson && packageJson.version;\n};\n/* istanbul ignore next */\n\n/**\n * @param {Input} input\n * @param {SourceMapInput | undefined} sourceMap\n * @param {PredefinedOptions & CustomOptions} minimizerOptions\n * @param {ExtractCommentsOptions | undefined} extractComments\n * @return {Promise<MinimizedResult>}\n */\n\n\nasync function uglifyJsMinify(input, sourceMap, minimizerOptions, extractComments) {\n /**\n * @param {any} value\n * @returns {boolean}\n */\n const isObject = value => {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\");\n };\n /**\n * @param {import(\"uglify-js\").MinifyOptions & { sourceMap: undefined } & { output: import(\"uglify-js\").OutputOptions & { beautify: boolean }}} uglifyJsOptions\n * @param {ExtractedComments} extractedComments\n * @returns {ExtractCommentsFunction}\n */\n\n\n const buildComments = (uglifyJsOptions, extractedComments) => {\n /** @type {{ [index: string]: ExtractCommentsCondition }} */\n const condition = {};\n const {\n comments\n } = uglifyJsOptions.output;\n condition.preserve = typeof comments !== \"undefined\" ? comments : false;\n\n if (typeof extractComments === \"boolean\" && extractComments) {\n condition.extract = \"some\";\n } else if (typeof extractComments === \"string\" || extractComments instanceof RegExp) {\n condition.extract = extractComments;\n } else if (typeof extractComments === \"function\") {\n condition.extract = extractComments;\n } else if (extractComments && isObject(extractComments)) {\n condition.extract = typeof extractComments.condition === \"boolean\" && extractComments.condition ? \"some\" : typeof extractComments.condition !== \"undefined\" ? extractComments.condition : \"some\";\n } else {\n // No extract\n // Preserve using \"commentsOpts\" or \"some\"\n condition.preserve = typeof comments !== \"undefined\" ? comments : \"some\";\n condition.extract = false;\n } // Ensure that both conditions are functions\n\n\n [\"preserve\", \"extract\"].forEach(key => {\n /** @type {undefined | string} */\n let regexStr;\n /** @type {undefined | RegExp} */\n\n let regex;\n\n switch (typeof condition[key]) {\n case \"boolean\":\n condition[key] = condition[key] ? () => true : () => false;\n break;\n\n case \"function\":\n break;\n\n case \"string\":\n if (condition[key] === \"all\") {\n condition[key] = () => true;\n\n break;\n }\n\n if (condition[key] === \"some\") {\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) => (comment.type === \"comment2\" || comment.type === \"comment1\") && /@preserve|@lic|@cc_on|^\\**!/i.test(comment.value);\n\n break;\n }\n\n regexStr =\n /** @type {string} */\n condition[key];\n\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) => new RegExp(\n /** @type {string} */\n regexStr).test(comment.value);\n\n break;\n\n default:\n regex =\n /** @type {RegExp} */\n condition[key];\n\n condition[key] =\n /** @type {ExtractCommentsFunction} */\n (astNode, comment) =>\n /** @type {RegExp} */\n regex.test(comment.value);\n\n }\n }); // Redefine the comments function to extract and preserve\n // comments according to the two conditions\n\n return (astNode, comment) => {\n if (\n /** @type {{ extract: ExtractCommentsFunction }} */\n condition.extract(astNode, comment)) {\n const commentText = comment.type === \"comment2\" ? `/*${comment.value}*/` : `//${comment.value}`; // Don't include duplicate comments\n\n if (!extractedComments.includes(commentText)) {\n extractedComments.push(commentText);\n }\n }\n\n return (\n /** @type {{ preserve: ExtractCommentsFunction }} */\n condition.preserve(astNode, comment)\n );\n };\n };\n /**\n * @param {PredefinedOptions & import(\"uglify-js\").MinifyOptions} [uglifyJsOptions={}]\n * @returns {import(\"uglify-js\").MinifyOptions & { sourceMap: undefined } & { output: import(\"uglify-js\").OutputOptions & { beautify: boolean }}}\n */\n\n\n const buildUglifyJsOptions = (uglifyJsOptions = {}) => {\n // eslint-disable-next-line no-param-reassign\n delete minimizerOptions.ecma; // eslint-disable-next-line no-param-reassign\n\n delete minimizerOptions.module; // Need deep copy objects to avoid https://github.com/terser/terser/issues/366\n\n return { ...uglifyJsOptions,\n // warnings: uglifyJsOptions.warnings,\n parse: { ...uglifyJsOptions.parse\n },\n compress: typeof uglifyJsOptions.compress === \"boolean\" ? uglifyJsOptions.compress : { ...uglifyJsOptions.compress\n },\n mangle: uglifyJsOptions.mangle == null ? true : typeof uglifyJsOptions.mangle === \"boolean\" ? uglifyJsOptions.mangle : { ...uglifyJsOptions.mangle\n },\n output: {\n beautify: false,\n ...uglifyJsOptions.output\n },\n // Ignoring sourceMap from options\n // eslint-disable-next-line no-undefined\n sourceMap: undefined // toplevel: uglifyJsOptions.toplevel\n // nameCache: { ...uglifyJsOptions.toplevel },\n // ie8: uglifyJsOptions.ie8,\n // keep_fnames: uglifyJsOptions.keep_fnames,\n\n };\n }; // eslint-disable-next-line global-require, import/no-extraneous-dependencies\n\n\n const {\n minify\n } = __webpack_require__(/*! uglify-js */ \"?10af\"); // Copy `uglify-js` options\n\n\n const uglifyJsOptions = buildUglifyJsOptions(minimizerOptions); // Let terser generate a SourceMap\n\n if (sourceMap) {\n // @ts-ignore\n uglifyJsOptions.sourceMap = true;\n }\n /** @type {ExtractedComments} */\n\n\n const extractedComments = []; // @ts-ignore\n\n uglifyJsOptions.output.comments = buildComments(uglifyJsOptions, extractedComments);\n const [[filename, code]] = Object.entries(input);\n const result = await minify({\n [filename]: code\n }, uglifyJsOptions);\n return {\n code: result.code,\n // eslint-disable-next-line no-undefined\n map: result.map ? JSON.parse(result.map) : undefined,\n errors: result.error ? [result.error] : [],\n warnings: result.warnings || [],\n extractedComments\n };\n}\n/**\n * @returns {string | undefined}\n */\n\n\nuglifyJsMinify.getMinimizerVersion = () => {\n let packageJson;\n\n try {\n // eslint-disable-next-line global-require, import/no-extraneous-dependencies\n packageJson = __webpack_require__(/*! uglify-js/package.json */ \"?4edc\");\n } catch (error) {// Ignore\n }\n\n return packageJson && packageJson.version;\n};\n/* istanbul ignore next */\n\n/**\n * @param {Input} input\n * @param {SourceMapInput | undefined} sourceMap\n * @param {PredefinedOptions & CustomOptions} minimizerOptions\n * @return {Promise<MinimizedResult>}\n */\n\n\nasync function swcMinify(input, sourceMap, minimizerOptions) {\n /**\n * @param {PredefinedOptions & import(\"@swc/core\").JsMinifyOptions} [swcOptions={}]\n * @returns {import(\"@swc/core\").JsMinifyOptions & { sourceMap: undefined } & { compress: import(\"@swc/core\").TerserCompressOptions }}\n */\n const buildSwcOptions = (swcOptions = {}) => {\n // Need deep copy objects to avoid https://github.com/terser/terser/issues/366\n return { ...swcOptions,\n compress: typeof swcOptions.compress === \"boolean\" ? swcOptions.compress ? {} : false : { ...swcOptions.compress\n },\n mangle: swcOptions.mangle == null ? true : typeof swcOptions.mangle === \"boolean\" ? swcOptions.mangle : { ...swcOptions.mangle\n },\n // ecma: swcOptions.ecma,\n // keep_classnames: swcOptions.keep_classnames,\n // keep_fnames: swcOptions.keep_fnames,\n // module: swcOptions.module,\n // safari10: swcOptions.safari10,\n // toplevel: swcOptions.toplevel\n // eslint-disable-next-line no-undefined\n sourceMap: undefined\n };\n }; // eslint-disable-next-line import/no-extraneous-dependencies, global-require\n\n\n const swc = __webpack_require__(/*! @swc/core */ \"?a5de\"); // Copy `swc` options\n\n\n const swcOptions = buildSwcOptions(minimizerOptions); // Let `swc` generate a SourceMap\n\n if (sourceMap) {\n // @ts-ignore\n swcOptions.sourceMap = true;\n }\n\n if (swcOptions.compress) {\n // More optimizations\n if (typeof swcOptions.compress.ecma === \"undefined\") {\n swcOptions.compress.ecma = swcOptions.ecma;\n } // https://github.com/webpack/webpack/issues/16135\n\n\n if (swcOptions.ecma === 5 && typeof swcOptions.compress.arrows === \"undefined\") {\n swcOptions.compress.arrows = false;\n }\n }\n\n const [[filename, code]] = Object.entries(input);\n const result = await swc.minify(code, swcOptions);\n let map;\n\n if (result.map) {\n map = JSON.parse(result.map); // TODO workaround for swc because `filename` is not preset as in `swc` signature as for `terser`\n\n map.sources = [filename];\n delete map.sourcesContent;\n }\n\n return {\n code: result.code,\n map\n };\n}\n/**\n * @returns {string | undefined}\n */\n\n\nswcMinify.getMinimizerVersion = () => {\n let packageJson;\n\n try {\n // eslint-disable-next-line global-require, import/no-extraneous-dependencies\n packageJson = __webpack_require__(/*! @swc/core/package.json */ \"?83af\");\n } catch (error) {// Ignore\n }\n\n return packageJson && packageJson.version;\n};\n/* istanbul ignore next */\n\n/**\n * @param {Input} input\n * @param {SourceMapInput | undefined} sourceMap\n * @param {PredefinedOptions & CustomOptions} minimizerOptions\n * @return {Promise<MinimizedResult>}\n */\n\n\nasync function esbuildMinify(input, sourceMap, minimizerOptions) {\n /**\n * @param {PredefinedOptions & import(\"esbuild\").TransformOptions} [esbuildOptions={}]\n * @returns {import(\"esbuild\").TransformOptions}\n */\n const buildEsbuildOptions = (esbuildOptions = {}) => {\n // eslint-disable-next-line no-param-reassign\n delete esbuildOptions.ecma;\n\n if (esbuildOptions.module) {\n // eslint-disable-next-line no-param-reassign\n esbuildOptions.format = \"esm\";\n } // eslint-disable-next-line no-param-reassign\n\n\n delete esbuildOptions.module; // Need deep copy objects to avoid https://github.com/terser/terser/issues/366\n\n return {\n minify: true,\n legalComments: \"inline\",\n ...esbuildOptions,\n sourcemap: false\n };\n }; // eslint-disable-next-line import/no-extraneous-dependencies, global-require\n\n\n const esbuild = __webpack_require__(/*! esbuild */ \"?f093\"); // Copy `esbuild` options\n\n\n const esbuildOptions = buildEsbuildOptions(minimizerOptions); // Let `esbuild` generate a SourceMap\n\n if (sourceMap) {\n esbuildOptions.sourcemap = true;\n esbuildOptions.sourcesContent = false;\n }\n\n const [[filename, code]] = Object.entries(input);\n esbuildOptions.sourcefile = filename;\n const result = await esbuild.transform(code, esbuildOptions);\n return {\n code: result.code,\n // eslint-disable-next-line no-undefined\n map: result.map ? JSON.parse(result.map) : undefined,\n warnings: result.warnings.length > 0 ? result.warnings.map(item => {\n return {\n name: \"Warning\",\n source: item.location && item.location.file,\n line: item.location && item.location.line,\n column: item.location && item.location.column,\n plugin: item.pluginName,\n message: `${item.text}${item.detail ? `\\nDetails:\\n${item.detail}` : \"\"}${item.notes.length > 0 ? `\\n\\nNotes:\\n${item.notes.map(note => `${note.location ? `[${note.location.file}:${note.location.line}:${note.location.column}] ` : \"\"}${note.text}${note.location ? `\\nSuggestion: ${note.location.suggestion}` : \"\"}${note.location ? `\\nLine text:\\n${note.location.lineText}\\n` : \"\"}`).join(\"\\n\")}` : \"\"}`\n };\n }) : []\n };\n}\n/**\n * @returns {string | undefined}\n */\n\n\nesbuildMinify.getMinimizerVersion = () => {\n let packageJson;\n\n try {\n // eslint-disable-next-line global-require, import/no-extraneous-dependencies\n packageJson = __webpack_require__(/*! esbuild/package.json */ \"?38be\");\n } catch (error) {// Ignore\n }\n\n return packageJson && packageJson.version;\n};\n\nmodule.exports = {\n throttleAll,\n terserMinify,\n uglifyJsMinify,\n swcMinify,\n esbuildMinify\n};\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser-webpack-plugin/dist/utils.js?"); /***/ }), /***/ "./node_modules/terser-webpack-plugin/dist sync recursive": /*!*******************************************************!*\ !*** ./node_modules/terser-webpack-plugin/dist/ sync ***! \*******************************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/terser-webpack-plugin/dist sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser-webpack-plugin/dist/_sync?"); /***/ }), /***/ "./node_modules/uri-js/dist/es5/uri.all.js": /*!*************************************************!*\ !*** ./node_modules/uri-js/dist/es5/uri.all.js ***! \*************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */\n(function (global, factory) {\n\t true ? factory(exports) :\n\t0;\n}(this, (function (exports) { 'use strict';\n\nfunction merge() {\n for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) {\n sets[_key] = arguments[_key];\n }\n\n if (sets.length > 1) {\n sets[0] = sets[0].slice(0, -1);\n var xl = sets.length - 1;\n for (var x = 1; x < xl; ++x) {\n sets[x] = sets[x].slice(1, -1);\n }\n sets[xl] = sets[xl].slice(1);\n return sets.join('');\n } else {\n return sets[0];\n }\n}\nfunction subexp(str) {\n return \"(?:\" + str + \")\";\n}\nfunction typeOf(o) {\n return o === undefined ? \"undefined\" : o === null ? \"null\" : Object.prototype.toString.call(o).split(\" \").pop().split(\"]\").shift().toLowerCase();\n}\nfunction toUpperCase(str) {\n return str.toUpperCase();\n}\nfunction toArray(obj) {\n return obj !== undefined && obj !== null ? obj instanceof Array ? obj : typeof obj.length !== \"number\" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj) : [];\n}\nfunction assign(target, source) {\n var obj = target;\n if (source) {\n for (var key in source) {\n obj[key] = source[key];\n }\n }\n return obj;\n}\n\nfunction buildExps(isIRI) {\n var ALPHA$$ = \"[A-Za-z]\",\n CR$ = \"[\\\\x0D]\",\n DIGIT$$ = \"[0-9]\",\n DQUOTE$$ = \"[\\\\x22]\",\n HEXDIG$$ = merge(DIGIT$$, \"[A-Fa-f]\"),\n //case-insensitive\n LF$$ = \"[\\\\x0A]\",\n SP$$ = \"[\\\\x20]\",\n PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)),\n //expanded\n GEN_DELIMS$$ = \"[\\\\:\\\\/\\\\?\\\\#\\\\[\\\\]\\\\@]\",\n SUB_DELIMS$$ = \"[\\\\!\\\\$\\\\&\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\=]\",\n RESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$),\n UCSCHAR$$ = isIRI ? \"[\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF]\" : \"[]\",\n //subset, excludes bidi control characters\n IPRIVATE$$ = isIRI ? \"[\\\\uE000-\\\\uF8FF]\" : \"[]\",\n //subset\n UNRESERVED$$ = merge(ALPHA$$, DIGIT$$, \"[\\\\-\\\\.\\\\_\\\\~]\", UCSCHAR$$),\n SCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\") + \"*\"),\n USERINFO$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\")) + \"*\"),\n DEC_OCTET$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"[1-9]\" + DIGIT$$) + \"|\" + DIGIT$$),\n DEC_OCTET_RELAXED$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"0?[1-9]\" + DIGIT$$) + \"|0?0?\" + DIGIT$$),\n //relaxed parsing rules\n IPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\.\" + DEC_OCTET_RELAXED$),\n H16$ = subexp(HEXDIG$$ + \"{1,4}\"),\n LS32$ = subexp(subexp(H16$ + \"\\\\:\" + H16$) + \"|\" + IPV4ADDRESS$),\n IPV6ADDRESS1$ = subexp(subexp(H16$ + \"\\\\:\") + \"{6}\" + LS32$),\n // 6( h16 \":\" ) ls32\n IPV6ADDRESS2$ = subexp(\"\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{5}\" + LS32$),\n // \"::\" 5( h16 \":\" ) ls32\n IPV6ADDRESS3$ = subexp(subexp(H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{4}\" + LS32$),\n //[ h16 ] \"::\" 4( h16 \":\" ) ls32\n IPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,1}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{3}\" + LS32$),\n //[ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n IPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,2}\" + H16$) + \"?\\\\:\\\\:\" + subexp(H16$ + \"\\\\:\") + \"{2}\" + LS32$),\n //[ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n IPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,3}\" + H16$) + \"?\\\\:\\\\:\" + H16$ + \"\\\\:\" + LS32$),\n //[ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n IPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,4}\" + H16$) + \"?\\\\:\\\\:\" + LS32$),\n //[ *4( h16 \":\" ) h16 ] \"::\" ls32\n IPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,5}\" + H16$) + \"?\\\\:\\\\:\" + H16$),\n //[ *5( h16 \":\" ) h16 ] \"::\" h16\n IPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + \"\\\\:\") + \"{0,6}\" + H16$) + \"?\\\\:\\\\:\"),\n //[ *6( h16 \":\" ) h16 ] \"::\"\n IPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join(\"|\")),\n ZONEID$ = subexp(subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$) + \"+\"),\n //RFC 6874\n IPV6ADDRZ$ = subexp(IPV6ADDRESS$ + \"\\\\%25\" + ZONEID$),\n //RFC 6874\n IPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + ZONEID$),\n //RFC 6874, with relaxed parsing rules\n IPVFUTURE$ = subexp(\"[vV]\" + HEXDIG$$ + \"+\\\\.\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:]\") + \"+\"),\n IP_LITERAL$ = subexp(\"\\\\[\" + subexp(IPV6ADDRZ_RELAXED$ + \"|\" + IPV6ADDRESS$ + \"|\" + IPVFUTURE$) + \"\\\\]\"),\n //RFC 6874\n REG_NAME$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$)) + \"*\"),\n HOST$ = subexp(IP_LITERAL$ + \"|\" + IPV4ADDRESS$ + \"(?!\" + REG_NAME$ + \")\" + \"|\" + REG_NAME$),\n PORT$ = subexp(DIGIT$$ + \"*\"),\n AUTHORITY$ = subexp(subexp(USERINFO$ + \"@\") + \"?\" + HOST$ + subexp(\"\\\\:\" + PORT$) + \"?\"),\n PCHAR$ = subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@]\")),\n SEGMENT$ = subexp(PCHAR$ + \"*\"),\n SEGMENT_NZ$ = subexp(PCHAR$ + \"+\"),\n SEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\@]\")) + \"+\"),\n PATH_ABEMPTY$ = subexp(subexp(\"\\\\/\" + SEGMENT$) + \"*\"),\n PATH_ABSOLUTE$ = subexp(\"\\\\/\" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + \"?\"),\n //simplified\n PATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$),\n //simplified\n PATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$),\n //simplified\n PATH_EMPTY$ = \"(?!\" + PCHAR$ + \")\",\n PATH$ = subexp(PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n QUERY$ = subexp(subexp(PCHAR$ + \"|\" + merge(\"[\\\\/\\\\?]\", IPRIVATE$$)) + \"*\"),\n FRAGMENT$ = subexp(subexp(PCHAR$ + \"|[\\\\/\\\\?]\") + \"*\"),\n HIER_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$),\n URI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n RELATIVE_PART$ = subexp(subexp(\"\\\\/\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$),\n RELATIVE$ = subexp(RELATIVE_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\#\" + FRAGMENT$) + \"?\"),\n URI_REFERENCE$ = subexp(URI$ + \"|\" + RELATIVE$),\n ABSOLUTE_URI$ = subexp(SCHEME$ + \"\\\\:\" + HIER_PART$ + subexp(\"\\\\?\" + QUERY$) + \"?\"),\n GENERIC_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n RELATIVE_REF$ = \"^(){0}\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n ABSOLUTE_REF$ = \"^(\" + SCHEME$ + \")\\\\:\" + subexp(subexp(\"\\\\/\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + subexp(\"\\\\?(\" + QUERY$ + \")\") + \"?$\",\n SAMEDOC_REF$ = \"^\" + subexp(\"\\\\#(\" + FRAGMENT$ + \")\") + \"?$\",\n AUTHORITY_REF$ = \"^\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\:(\" + PORT$ + \")\") + \"?$\";\n return {\n NOT_SCHEME: new RegExp(merge(\"[^]\", ALPHA$$, DIGIT$$, \"[\\\\+\\\\-\\\\.]\"), \"g\"),\n NOT_USERINFO: new RegExp(merge(\"[^\\\\%\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n NOT_HOST: new RegExp(merge(\"[^\\\\%\\\\[\\\\]\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n NOT_PATH: new RegExp(merge(\"[^\\\\%\\\\/\\\\:\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n NOT_PATH_NOSCHEME: new RegExp(merge(\"[^\\\\%\\\\/\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n NOT_QUERY: new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\", IPRIVATE$$), \"g\"),\n NOT_FRAGMENT: new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, \"[\\\\:\\\\@\\\\/\\\\?]\"), \"g\"),\n ESCAPE: new RegExp(merge(\"[^]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\n UNRESERVED: new RegExp(UNRESERVED$$, \"g\"),\n OTHER_CHARS: new RegExp(merge(\"[^\\\\%]\", UNRESERVED$$, RESERVED$$), \"g\"),\n PCT_ENCODED: new RegExp(PCT_ENCODED$, \"g\"),\n IPV4ADDRESS: new RegExp(\"^(\" + IPV4ADDRESS$ + \")$\"),\n IPV6ADDRESS: new RegExp(\"^\\\\[?(\" + IPV6ADDRESS$ + \")\" + subexp(subexp(\"\\\\%25|\\\\%(?!\" + HEXDIG$$ + \"{2})\") + \"(\" + ZONEID$ + \")\") + \"?\\\\]?$\") //RFC 6874, with relaxed parsing rules\n };\n}\nvar URI_PROTOCOL = buildExps(false);\n\nvar IRI_PROTOCOL = buildExps(true);\n\nvar slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n}();\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar toConsumableArray = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n};\n\n/** Highest positive signed 32-bit float value */\n\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nvar regexPunycode = /^xn--/;\nvar regexNonASCII = /[^\\0-\\x7E]/; // non-ASCII chars\nvar regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nvar 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 */\nvar baseMinusTMin = base - tMin;\nvar floor = Math.floor;\nvar 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$1(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, fn) {\n\tvar result = [];\n\tvar length = array.length;\n\twhile (length--) {\n\t\tresult[length] = fn(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 {Array} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(string, fn) {\n\tvar parts = string.split('@');\n\tvar 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\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tstring = string.replace(regexSeparators, '\\x2E');\n\tvar labels = string.split('.');\n\tvar encoded = map(labels, fn).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 <https://mathiasbynens.be/notes/javascript-encoding>\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\tvar output = [];\n\tvar counter = 0;\n\tvar length = string.length;\n\twhile (counter < length) {\n\t\tvar 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\tvar extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) {\n\t\t\t\t// 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 */\nvar ucs2encode = function ucs2encode(array) {\n\treturn String.fromCodePoint.apply(String, toConsumableArray(array));\n};\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 */\nvar basicToDigit = function basicToDigit(codePoint) {\n\tif (codePoint - 0x30 < 0x0A) {\n\t\treturn codePoint - 0x16;\n\t}\n\tif (codePoint - 0x41 < 0x1A) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint - 0x61 < 0x1A) {\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 */\nvar digitToBasic = function digitToBasic(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 */\nvar adapt = function adapt(delta, numPoints, firstTime) {\n\tvar 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 */\nvar decode = function decode(input) {\n\t// Don't use UCS-2.\n\tvar output = [];\n\tvar inputLength = input.length;\n\tvar i = 0;\n\tvar n = initialN;\n\tvar 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\tvar basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (var 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$1('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 (var 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\tvar oldi = i;\n\t\tfor (var w = 1, k = base;; /* no condition */k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror$1('invalid-input');\n\t\t\t}\n\n\t\t\tvar digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\terror$1('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tvar 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\tvar baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror$1('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\t\t}\n\n\t\tvar 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$1('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\t}\n\n\treturn String.fromCodePoint.apply(String, 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 */\nvar encode = function encode(input) {\n\tvar 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\tvar inputLength = input.length;\n\n\t// Initialize the state.\n\tvar n = initialN;\n\tvar delta = 0;\n\tvar bias = initialBias;\n\n\t// Handle the basic code points.\n\tvar _iteratorNormalCompletion = true;\n\tvar _didIteratorError = false;\n\tvar _iteratorError = undefined;\n\n\ttry {\n\t\tfor (var _iterator = input[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar _currentValue2 = _step.value;\n\n\t\t\tif (_currentValue2 < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(_currentValue2));\n\t\t\t}\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return) {\n\t\t\t\t_iterator.return();\n\t\t\t}\n\t\t} finally {\n\t\t\tif (_didIteratorError) {\n\t\t\t\tthrow _iteratorError;\n\t\t\t}\n\t\t}\n\t}\n\n\tvar basicLength = output.length;\n\tvar 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\tvar m = maxInt;\n\t\tvar _iteratorNormalCompletion2 = true;\n\t\tvar _didIteratorError2 = false;\n\t\tvar _iteratorError2 = undefined;\n\n\t\ttry {\n\t\t\tfor (var _iterator2 = input[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar currentValue = _step2.value;\n\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t\t// but guard against overflow.\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t\t\t\t\t_iterator2.return();\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) {\n\t\t\t\t\tthrow _iteratorError2;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tvar handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror$1('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tvar _iteratorNormalCompletion3 = true;\n\t\tvar _didIteratorError3 = false;\n\t\tvar _iteratorError3 = undefined;\n\n\t\ttry {\n\t\t\tfor (var _iterator3 = input[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\tvar _currentValue = _step3.value;\n\n\t\t\t\tif (_currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror$1('overflow');\n\t\t\t\t}\n\t\t\t\tif (_currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\t\tvar q = delta;\n\t\t\t\t\tfor (var k = base;; /* no condition */k += base) {\n\t\t\t\t\t\tvar t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar qMinusT = q - t;\n\t\t\t\t\t\tvar baseMinusT = base - t;\n\t\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError3 = true;\n\t\t\t_iteratorError3 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return) {\n\t\t\t\t\t_iterator3.return();\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError3) {\n\t\t\t\t\tthrow _iteratorError3;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++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 */\nvar toUnicode = function toUnicode(input) {\n\treturn mapDomain(input, function (string) {\n\t\treturn regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : 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 */\nvar toASCII = function toASCII(input) {\n\treturn mapDomain(input, function (string) {\n\t\treturn regexNonASCII.test(string) ? 'xn--' + encode(string) : string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nvar punycode = {\n\t/**\n * A string representing the current Punycode.js version number.\n * @memberOf punycode\n * @type String\n */\n\t'version': '2.1.0',\n\t/**\n * An object of methods to convert from JavaScript's internal character\n * representation (UCS-2) to Unicode code points, and back.\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode\n * @type Object\n */\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\n/**\n * URI.js\n *\n * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript.\n * @author <a href=\"mailto:gary.court@gmail.com\">Gary Court</a>\n * @see http://github.com/garycourt/uri-js\n */\n/**\n * Copyright 2011 Gary Court. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are\n * permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this list of\n * conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice, this list\n * of conditions and the following disclaimer in the documentation and/or other materials\n * provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * The views and conclusions contained in the software and documentation are those of the\n * authors and should not be interpreted as representing official policies, either expressed\n * or implied, of Gary Court.\n */\nvar SCHEMES = {};\nfunction pctEncChar(chr) {\n var c = chr.charCodeAt(0);\n var e = void 0;\n if (c < 16) e = \"%0\" + c.toString(16).toUpperCase();else if (c < 128) e = \"%\" + c.toString(16).toUpperCase();else if (c < 2048) e = \"%\" + (c >> 6 | 192).toString(16).toUpperCase() + \"%\" + (c & 63 | 128).toString(16).toUpperCase();else e = \"%\" + (c >> 12 | 224).toString(16).toUpperCase() + \"%\" + (c >> 6 & 63 | 128).toString(16).toUpperCase() + \"%\" + (c & 63 | 128).toString(16).toUpperCase();\n return e;\n}\nfunction pctDecChars(str) {\n var newStr = \"\";\n var i = 0;\n var il = str.length;\n while (i < il) {\n var c = parseInt(str.substr(i + 1, 2), 16);\n if (c < 128) {\n newStr += String.fromCharCode(c);\n i += 3;\n } else if (c >= 194 && c < 224) {\n if (il - i >= 6) {\n var c2 = parseInt(str.substr(i + 4, 2), 16);\n newStr += String.fromCharCode((c & 31) << 6 | c2 & 63);\n } else {\n newStr += str.substr(i, 6);\n }\n i += 6;\n } else if (c >= 224) {\n if (il - i >= 9) {\n var _c = parseInt(str.substr(i + 4, 2), 16);\n var c3 = parseInt(str.substr(i + 7, 2), 16);\n newStr += String.fromCharCode((c & 15) << 12 | (_c & 63) << 6 | c3 & 63);\n } else {\n newStr += str.substr(i, 9);\n }\n i += 9;\n } else {\n newStr += str.substr(i, 3);\n i += 3;\n }\n }\n return newStr;\n}\nfunction _normalizeComponentEncoding(components, protocol) {\n function decodeUnreserved(str) {\n var decStr = pctDecChars(str);\n return !decStr.match(protocol.UNRESERVED) ? str : decStr;\n }\n if (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, \"\");\n if (components.userinfo !== undefined) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n if (components.host !== undefined) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n if (components.path !== undefined) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n if (components.query !== undefined) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n if (components.fragment !== undefined) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\n return components;\n}\n\nfunction _stripLeadingZeros(str) {\n return str.replace(/^0*(.*)/, \"$1\") || \"0\";\n}\nfunction _normalizeIPv4(host, protocol) {\n var matches = host.match(protocol.IPV4ADDRESS) || [];\n\n var _matches = slicedToArray(matches, 2),\n address = _matches[1];\n\n if (address) {\n return address.split(\".\").map(_stripLeadingZeros).join(\".\");\n } else {\n return host;\n }\n}\nfunction _normalizeIPv6(host, protocol) {\n var matches = host.match(protocol.IPV6ADDRESS) || [];\n\n var _matches2 = slicedToArray(matches, 3),\n address = _matches2[1],\n zone = _matches2[2];\n\n if (address) {\n var _address$toLowerCase$ = address.toLowerCase().split('::').reverse(),\n _address$toLowerCase$2 = slicedToArray(_address$toLowerCase$, 2),\n last = _address$toLowerCase$2[0],\n first = _address$toLowerCase$2[1];\n\n var firstFields = first ? first.split(\":\").map(_stripLeadingZeros) : [];\n var lastFields = last.split(\":\").map(_stripLeadingZeros);\n var isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);\n var fieldCount = isLastFieldIPv4Address ? 7 : 8;\n var lastFieldsStart = lastFields.length - fieldCount;\n var fields = Array(fieldCount);\n for (var x = 0; x < fieldCount; ++x) {\n fields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || '';\n }\n if (isLastFieldIPv4Address) {\n fields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol);\n }\n var allZeroFields = fields.reduce(function (acc, field, index) {\n if (!field || field === \"0\") {\n var lastLongest = acc[acc.length - 1];\n if (lastLongest && lastLongest.index + lastLongest.length === index) {\n lastLongest.length++;\n } else {\n acc.push({ index: index, length: 1 });\n }\n }\n return acc;\n }, []);\n var longestZeroFields = allZeroFields.sort(function (a, b) {\n return b.length - a.length;\n })[0];\n var newHost = void 0;\n if (longestZeroFields && longestZeroFields.length > 1) {\n var newFirst = fields.slice(0, longestZeroFields.index);\n var newLast = fields.slice(longestZeroFields.index + longestZeroFields.length);\n newHost = newFirst.join(\":\") + \"::\" + newLast.join(\":\");\n } else {\n newHost = fields.join(\":\");\n }\n if (zone) {\n newHost += \"%\" + zone;\n }\n return newHost;\n } else {\n return host;\n }\n}\nvar URI_PARSE = /^(?:([^:\\/?#]+):)?(?:\\/\\/((?:([^\\/?#@]*)@)?(\\[[^\\/?#\\]]+\\]|[^\\/?#:]*)(?:\\:(\\d*))?))?([^?#]*)(?:\\?([^#]*))?(?:#((?:.|\\n|\\r)*))?/i;\nvar NO_MATCH_IS_UNDEFINED = \"\".match(/(){0}/)[1] === undefined;\nfunction parse(uriString) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var components = {};\n var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;\n if (options.reference === \"suffix\") uriString = (options.scheme ? options.scheme + \":\" : \"\") + \"//\" + uriString;\n var matches = uriString.match(URI_PARSE);\n if (matches) {\n if (NO_MATCH_IS_UNDEFINED) {\n //store each component\n components.scheme = matches[1];\n components.userinfo = matches[3];\n components.host = matches[4];\n components.port = parseInt(matches[5], 10);\n components.path = matches[6] || \"\";\n components.query = matches[7];\n components.fragment = matches[8];\n //fix port number\n if (isNaN(components.port)) {\n components.port = matches[5];\n }\n } else {\n //IE FIX for improper RegExp matching\n //store each component\n components.scheme = matches[1] || undefined;\n components.userinfo = uriString.indexOf(\"@\") !== -1 ? matches[3] : undefined;\n components.host = uriString.indexOf(\"//\") !== -1 ? matches[4] : undefined;\n components.port = parseInt(matches[5], 10);\n components.path = matches[6] || \"\";\n components.query = uriString.indexOf(\"?\") !== -1 ? matches[7] : undefined;\n components.fragment = uriString.indexOf(\"#\") !== -1 ? matches[8] : undefined;\n //fix port number\n if (isNaN(components.port)) {\n components.port = uriString.match(/\\/\\/(?:.|\\n)*\\:(?:\\/|\\?|\\#|$)/) ? matches[4] : undefined;\n }\n }\n if (components.host) {\n //normalize IP hosts\n components.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);\n }\n //determine reference type\n if (components.scheme === undefined && components.userinfo === undefined && components.host === undefined && components.port === undefined && !components.path && components.query === undefined) {\n components.reference = \"same-document\";\n } else if (components.scheme === undefined) {\n components.reference = \"relative\";\n } else if (components.fragment === undefined) {\n components.reference = \"absolute\";\n } else {\n components.reference = \"uri\";\n }\n //check for reference errors\n if (options.reference && options.reference !== \"suffix\" && options.reference !== components.reference) {\n components.error = components.error || \"URI is not a \" + options.reference + \" reference.\";\n }\n //find scheme handler\n var schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n //check if scheme can't handle IRIs\n if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {\n //if host component is a domain name\n if (components.host && (options.domainHost || schemeHandler && schemeHandler.domainHost)) {\n //convert Unicode IDN -> ASCII IDN\n try {\n components.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase());\n } catch (e) {\n components.error = components.error || \"Host's domain name can not be converted to ASCII via punycode: \" + e;\n }\n }\n //convert IRI -> URI\n _normalizeComponentEncoding(components, URI_PROTOCOL);\n } else {\n //normalize encodings\n _normalizeComponentEncoding(components, protocol);\n }\n //perform scheme specific parsing\n if (schemeHandler && schemeHandler.parse) {\n schemeHandler.parse(components, options);\n }\n } else {\n components.error = components.error || \"URI can not be parsed.\";\n }\n return components;\n}\n\nfunction _recomposeAuthority(components, options) {\n var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;\n var uriTokens = [];\n if (components.userinfo !== undefined) {\n uriTokens.push(components.userinfo);\n uriTokens.push(\"@\");\n }\n if (components.host !== undefined) {\n //normalize IP hosts, add brackets and escape zone separator for IPv6\n uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, function (_, $1, $2) {\n return \"[\" + $1 + ($2 ? \"%25\" + $2 : \"\") + \"]\";\n }));\n }\n if (typeof components.port === \"number\" || typeof components.port === \"string\") {\n uriTokens.push(\":\");\n uriTokens.push(String(components.port));\n }\n return uriTokens.length ? uriTokens.join(\"\") : undefined;\n}\n\nvar RDS1 = /^\\.\\.?\\//;\nvar RDS2 = /^\\/\\.(\\/|$)/;\nvar RDS3 = /^\\/\\.\\.(\\/|$)/;\nvar RDS5 = /^\\/?(?:.|\\n)*?(?=\\/|$)/;\nfunction removeDotSegments(input) {\n var output = [];\n while (input.length) {\n if (input.match(RDS1)) {\n input = input.replace(RDS1, \"\");\n } else if (input.match(RDS2)) {\n input = input.replace(RDS2, \"/\");\n } else if (input.match(RDS3)) {\n input = input.replace(RDS3, \"/\");\n output.pop();\n } else if (input === \".\" || input === \"..\") {\n input = \"\";\n } else {\n var im = input.match(RDS5);\n if (im) {\n var s = im[0];\n input = input.slice(s.length);\n output.push(s);\n } else {\n throw new Error(\"Unexpected dot segment condition\");\n }\n }\n }\n return output.join(\"\");\n}\n\nfunction serialize(components) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL;\n var uriTokens = [];\n //find scheme handler\n var schemeHandler = SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\n //perform scheme specific serialization\n if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);\n if (components.host) {\n //if host component is an IPv6 address\n if (protocol.IPV6ADDRESS.test(components.host)) {}\n //TODO: normalize IPv6 address as per RFC 5952\n\n //if host component is a domain name\n else if (options.domainHost || schemeHandler && schemeHandler.domainHost) {\n //convert IDN via punycode\n try {\n components.host = !options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host);\n } catch (e) {\n components.error = components.error || \"Host's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n }\n }\n }\n //normalize encoding\n _normalizeComponentEncoding(components, protocol);\n if (options.reference !== \"suffix\" && components.scheme) {\n uriTokens.push(components.scheme);\n uriTokens.push(\":\");\n }\n var authority = _recomposeAuthority(components, options);\n if (authority !== undefined) {\n if (options.reference !== \"suffix\") {\n uriTokens.push(\"//\");\n }\n uriTokens.push(authority);\n if (components.path && components.path.charAt(0) !== \"/\") {\n uriTokens.push(\"/\");\n }\n }\n if (components.path !== undefined) {\n var s = components.path;\n if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {\n s = removeDotSegments(s);\n }\n if (authority === undefined) {\n s = s.replace(/^\\/\\//, \"/%2F\"); //don't allow the path to start with \"//\"\n }\n uriTokens.push(s);\n }\n if (components.query !== undefined) {\n uriTokens.push(\"?\");\n uriTokens.push(components.query);\n }\n if (components.fragment !== undefined) {\n uriTokens.push(\"#\");\n uriTokens.push(components.fragment);\n }\n return uriTokens.join(\"\"); //merge tokens into a string\n}\n\nfunction resolveComponents(base, relative) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var skipNormalization = arguments[3];\n\n var target = {};\n if (!skipNormalization) {\n base = parse(serialize(base, options), options); //normalize base components\n relative = parse(serialize(relative, options), options); //normalize relative components\n }\n options = options || {};\n if (!options.tolerant && relative.scheme) {\n target.scheme = relative.scheme;\n //target.authority = relative.authority;\n target.userinfo = relative.userinfo;\n target.host = relative.host;\n target.port = relative.port;\n target.path = removeDotSegments(relative.path || \"\");\n target.query = relative.query;\n } else {\n if (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) {\n //target.authority = relative.authority;\n target.userinfo = relative.userinfo;\n target.host = relative.host;\n target.port = relative.port;\n target.path = removeDotSegments(relative.path || \"\");\n target.query = relative.query;\n } else {\n if (!relative.path) {\n target.path = base.path;\n if (relative.query !== undefined) {\n target.query = relative.query;\n } else {\n target.query = base.query;\n }\n } else {\n if (relative.path.charAt(0) === \"/\") {\n target.path = removeDotSegments(relative.path);\n } else {\n if ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) {\n target.path = \"/\" + relative.path;\n } else if (!base.path) {\n target.path = relative.path;\n } else {\n target.path = base.path.slice(0, base.path.lastIndexOf(\"/\") + 1) + relative.path;\n }\n target.path = removeDotSegments(target.path);\n }\n target.query = relative.query;\n }\n //target.authority = base.authority;\n target.userinfo = base.userinfo;\n target.host = base.host;\n target.port = base.port;\n }\n target.scheme = base.scheme;\n }\n target.fragment = relative.fragment;\n return target;\n}\n\nfunction resolve(baseURI, relativeURI, options) {\n var schemelessOptions = assign({ scheme: 'null' }, options);\n return serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);\n}\n\nfunction normalize(uri, options) {\n if (typeof uri === \"string\") {\n uri = serialize(parse(uri, options), options);\n } else if (typeOf(uri) === \"object\") {\n uri = parse(serialize(uri, options), options);\n }\n return uri;\n}\n\nfunction equal(uriA, uriB, options) {\n if (typeof uriA === \"string\") {\n uriA = serialize(parse(uriA, options), options);\n } else if (typeOf(uriA) === \"object\") {\n uriA = serialize(uriA, options);\n }\n if (typeof uriB === \"string\") {\n uriB = serialize(parse(uriB, options), options);\n } else if (typeOf(uriB) === \"object\") {\n uriB = serialize(uriB, options);\n }\n return uriA === uriB;\n}\n\nfunction escapeComponent(str, options) {\n return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE, pctEncChar);\n}\n\nfunction unescapeComponent(str, options) {\n return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED, pctDecChars);\n}\n\nvar handler = {\n scheme: \"http\",\n domainHost: true,\n parse: function parse(components, options) {\n //report missing host\n if (!components.host) {\n components.error = components.error || \"HTTP URIs must have a host.\";\n }\n return components;\n },\n serialize: function serialize(components, options) {\n var secure = String(components.scheme).toLowerCase() === \"https\";\n //normalize the default port\n if (components.port === (secure ? 443 : 80) || components.port === \"\") {\n components.port = undefined;\n }\n //normalize the empty path\n if (!components.path) {\n components.path = \"/\";\n }\n //NOTE: We do not parse query strings for HTTP URIs\n //as WWW Form Url Encoded query strings are part of the HTML4+ spec,\n //and not the HTTP spec.\n return components;\n }\n};\n\nvar handler$1 = {\n scheme: \"https\",\n domainHost: handler.domainHost,\n parse: handler.parse,\n serialize: handler.serialize\n};\n\nfunction isSecure(wsComponents) {\n return typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === \"wss\";\n}\n//RFC 6455\nvar handler$2 = {\n scheme: \"ws\",\n domainHost: true,\n parse: function parse(components, options) {\n var wsComponents = components;\n //indicate if the secure flag is set\n wsComponents.secure = isSecure(wsComponents);\n //construct resouce name\n wsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');\n wsComponents.path = undefined;\n wsComponents.query = undefined;\n return wsComponents;\n },\n serialize: function serialize(wsComponents, options) {\n //normalize the default port\n if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === \"\") {\n wsComponents.port = undefined;\n }\n //ensure scheme matches secure flag\n if (typeof wsComponents.secure === 'boolean') {\n wsComponents.scheme = wsComponents.secure ? 'wss' : 'ws';\n wsComponents.secure = undefined;\n }\n //reconstruct path from resource name\n if (wsComponents.resourceName) {\n var _wsComponents$resourc = wsComponents.resourceName.split('?'),\n _wsComponents$resourc2 = slicedToArray(_wsComponents$resourc, 2),\n path = _wsComponents$resourc2[0],\n query = _wsComponents$resourc2[1];\n\n wsComponents.path = path && path !== '/' ? path : undefined;\n wsComponents.query = query;\n wsComponents.resourceName = undefined;\n }\n //forbid fragment component\n wsComponents.fragment = undefined;\n return wsComponents;\n }\n};\n\nvar handler$3 = {\n scheme: \"wss\",\n domainHost: handler$2.domainHost,\n parse: handler$2.parse,\n serialize: handler$2.serialize\n};\n\nvar O = {};\nvar isIRI = true;\n//RFC 3986\nvar UNRESERVED$$ = \"[A-Za-z0-9\\\\-\\\\.\\\\_\\\\~\" + (isIRI ? \"\\\\xA0-\\\\u200D\\\\u2010-\\\\u2029\\\\u202F-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFEF\" : \"\") + \"]\";\nvar HEXDIG$$ = \"[0-9A-Fa-f]\"; //case-insensitive\nvar PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)); //expanded\n//RFC 5322, except these symbols as per RFC 6068: @ : / ? # [ ] & ; =\n//const ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\#\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\/\\\\=\\\\?\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QTEXT$$ = \"[\\\\x01-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F]\"; //(%d1-8 / %d11-12 / %d14-31 / %d127)\n//const QTEXT$$ = merge(\"[\\\\x21\\\\x23-\\\\x5B\\\\x5D-\\\\x7E]\", OBS_QTEXT$$); //%d33 / %d35-91 / %d93-126 / obs-qtext\n//const VCHAR$$ = \"[\\\\x21-\\\\x7E]\";\n//const WSP$$ = \"[\\\\x20\\\\x09]\";\n//const OBS_QP$ = subexp(\"\\\\\\\\\" + merge(\"[\\\\x00\\\\x0D\\\\x0A]\", OBS_QTEXT$$)); //%d0 / CR / LF / obs-qtext\n//const FWS$ = subexp(subexp(WSP$$ + \"*\" + \"\\\\x0D\\\\x0A\") + \"?\" + WSP$$ + \"+\");\n//const QUOTED_PAIR$ = subexp(subexp(\"\\\\\\\\\" + subexp(VCHAR$$ + \"|\" + WSP$$)) + \"|\" + OBS_QP$);\n//const QUOTED_STRING$ = subexp('\\\\\"' + subexp(FWS$ + \"?\" + QCONTENT$) + \"*\" + FWS$ + \"?\" + '\\\\\"');\nvar ATEXT$$ = \"[A-Za-z0-9\\\\!\\\\$\\\\%\\\\'\\\\*\\\\+\\\\-\\\\^\\\\_\\\\`\\\\{\\\\|\\\\}\\\\~]\";\nvar QTEXT$$ = \"[\\\\!\\\\$\\\\%\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\.0-9\\\\<\\\\>A-Z\\\\x5E-\\\\x7E]\";\nvar VCHAR$$ = merge(QTEXT$$, \"[\\\\\\\"\\\\\\\\]\");\nvar SOME_DELIMS$$ = \"[\\\\!\\\\$\\\\'\\\\(\\\\)\\\\*\\\\+\\\\,\\\\;\\\\:\\\\@]\";\nvar UNRESERVED = new RegExp(UNRESERVED$$, \"g\");\nvar PCT_ENCODED = new RegExp(PCT_ENCODED$, \"g\");\nvar NOT_LOCAL_PART = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\.]\", '[\\\\\"]', VCHAR$$), \"g\");\nvar NOT_HFNAME = new RegExp(merge(\"[^]\", UNRESERVED$$, SOME_DELIMS$$), \"g\");\nvar NOT_HFVALUE = NOT_HFNAME;\nfunction decodeUnreserved(str) {\n var decStr = pctDecChars(str);\n return !decStr.match(UNRESERVED) ? str : decStr;\n}\nvar handler$4 = {\n scheme: \"mailto\",\n parse: function parse$$1(components, options) {\n var mailtoComponents = components;\n var to = mailtoComponents.to = mailtoComponents.path ? mailtoComponents.path.split(\",\") : [];\n mailtoComponents.path = undefined;\n if (mailtoComponents.query) {\n var unknownHeaders = false;\n var headers = {};\n var hfields = mailtoComponents.query.split(\"&\");\n for (var x = 0, xl = hfields.length; x < xl; ++x) {\n var hfield = hfields[x].split(\"=\");\n switch (hfield[0]) {\n case \"to\":\n var toAddrs = hfield[1].split(\",\");\n for (var _x = 0, _xl = toAddrs.length; _x < _xl; ++_x) {\n to.push(toAddrs[_x]);\n }\n break;\n case \"subject\":\n mailtoComponents.subject = unescapeComponent(hfield[1], options);\n break;\n case \"body\":\n mailtoComponents.body = unescapeComponent(hfield[1], options);\n break;\n default:\n unknownHeaders = true;\n headers[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options);\n break;\n }\n }\n if (unknownHeaders) mailtoComponents.headers = headers;\n }\n mailtoComponents.query = undefined;\n for (var _x2 = 0, _xl2 = to.length; _x2 < _xl2; ++_x2) {\n var addr = to[_x2].split(\"@\");\n addr[0] = unescapeComponent(addr[0]);\n if (!options.unicodeSupport) {\n //convert Unicode IDN -> ASCII IDN\n try {\n addr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase());\n } catch (e) {\n mailtoComponents.error = mailtoComponents.error || \"Email address's domain name can not be converted to ASCII via punycode: \" + e;\n }\n } else {\n addr[1] = unescapeComponent(addr[1], options).toLowerCase();\n }\n to[_x2] = addr.join(\"@\");\n }\n return mailtoComponents;\n },\n serialize: function serialize$$1(mailtoComponents, options) {\n var components = mailtoComponents;\n var to = toArray(mailtoComponents.to);\n if (to) {\n for (var x = 0, xl = to.length; x < xl; ++x) {\n var toAddr = String(to[x]);\n var atIdx = toAddr.lastIndexOf(\"@\");\n var localPart = toAddr.slice(0, atIdx).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);\n var domain = toAddr.slice(atIdx + 1);\n //convert IDN via punycode\n try {\n domain = !options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain);\n } catch (e) {\n components.error = components.error || \"Email address's domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via punycode: \" + e;\n }\n to[x] = localPart + \"@\" + domain;\n }\n components.path = to.join(\",\");\n }\n var headers = mailtoComponents.headers = mailtoComponents.headers || {};\n if (mailtoComponents.subject) headers[\"subject\"] = mailtoComponents.subject;\n if (mailtoComponents.body) headers[\"body\"] = mailtoComponents.body;\n var fields = [];\n for (var name in headers) {\n if (headers[name] !== O[name]) {\n fields.push(name.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) + \"=\" + headers[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar));\n }\n }\n if (fields.length) {\n components.query = fields.join(\"&\");\n }\n return components;\n }\n};\n\nvar URN_PARSE = /^([^\\:]+)\\:(.*)/;\n//RFC 2141\nvar handler$5 = {\n scheme: \"urn\",\n parse: function parse$$1(components, options) {\n var matches = components.path && components.path.match(URN_PARSE);\n var urnComponents = components;\n if (matches) {\n var scheme = options.scheme || urnComponents.scheme || \"urn\";\n var nid = matches[1].toLowerCase();\n var nss = matches[2];\n var urnScheme = scheme + \":\" + (options.nid || nid);\n var schemeHandler = SCHEMES[urnScheme];\n urnComponents.nid = nid;\n urnComponents.nss = nss;\n urnComponents.path = undefined;\n if (schemeHandler) {\n urnComponents = schemeHandler.parse(urnComponents, options);\n }\n } else {\n urnComponents.error = urnComponents.error || \"URN can not be parsed.\";\n }\n return urnComponents;\n },\n serialize: function serialize$$1(urnComponents, options) {\n var scheme = options.scheme || urnComponents.scheme || \"urn\";\n var nid = urnComponents.nid;\n var urnScheme = scheme + \":\" + (options.nid || nid);\n var schemeHandler = SCHEMES[urnScheme];\n if (schemeHandler) {\n urnComponents = schemeHandler.serialize(urnComponents, options);\n }\n var uriComponents = urnComponents;\n var nss = urnComponents.nss;\n uriComponents.path = (nid || options.nid) + \":\" + nss;\n return uriComponents;\n }\n};\n\nvar UUID = /^[0-9A-Fa-f]{8}(?:\\-[0-9A-Fa-f]{4}){3}\\-[0-9A-Fa-f]{12}$/;\n//RFC 4122\nvar handler$6 = {\n scheme: \"urn:uuid\",\n parse: function parse(urnComponents, options) {\n var uuidComponents = urnComponents;\n uuidComponents.uuid = uuidComponents.nss;\n uuidComponents.nss = undefined;\n if (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n uuidComponents.error = uuidComponents.error || \"UUID is not valid.\";\n }\n return uuidComponents;\n },\n serialize: function serialize(uuidComponents, options) {\n var urnComponents = uuidComponents;\n //normalize UUID\n urnComponents.nss = (uuidComponents.uuid || \"\").toLowerCase();\n return urnComponents;\n }\n};\n\nSCHEMES[handler.scheme] = handler;\nSCHEMES[handler$1.scheme] = handler$1;\nSCHEMES[handler$2.scheme] = handler$2;\nSCHEMES[handler$3.scheme] = handler$3;\nSCHEMES[handler$4.scheme] = handler$4;\nSCHEMES[handler$5.scheme] = handler$5;\nSCHEMES[handler$6.scheme] = handler$6;\n\nexports.SCHEMES = SCHEMES;\nexports.pctEncChar = pctEncChar;\nexports.pctDecChars = pctDecChars;\nexports.parse = parse;\nexports.removeDotSegments = removeDotSegments;\nexports.serialize = serialize;\nexports.resolveComponents = resolveComponents;\nexports.resolve = resolve;\nexports.normalize = normalize;\nexports.equal = equal;\nexports.escapeComponent = escapeComponent;\nexports.unescapeComponent = unescapeComponent;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=uri.all.js.map\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/uri-js/dist/es5/uri.all.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/DirectoryWatcher.js": /*!********************************************************!*\ !*** ./node_modules/watchpack/lib/DirectoryWatcher.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst EventEmitter = (__webpack_require__(/*! events */ \"./node_modules/events/events.js\").EventEmitter);\nconst fs = __webpack_require__(/*! graceful-fs */ \"./node_modules/graceful-fs/graceful-fs.js\");\nconst path = __webpack_require__(/*! path */ \"?002f\");\n\nconst watchEventSource = __webpack_require__(/*! ./watchEventSource */ \"./node_modules/watchpack/lib/watchEventSource.js\");\n\nconst EXISTANCE_ONLY_TIME_ENTRY = Object.freeze({});\n\nlet FS_ACCURACY = 2000;\n\nconst IS_OSX = (__webpack_require__(/*! os */ \"?2f71\").platform)() === \"darwin\";\nconst WATCHPACK_POLLING = process.env.WATCHPACK_POLLING;\nconst FORCE_POLLING =\n\t`${+WATCHPACK_POLLING}` === WATCHPACK_POLLING\n\t\t? +WATCHPACK_POLLING\n\t\t: !!WATCHPACK_POLLING && WATCHPACK_POLLING !== \"false\";\n\nfunction withoutCase(str) {\n\treturn str.toLowerCase();\n}\n\nfunction needCalls(times, callback) {\n\treturn function() {\n\t\tif (--times === 0) {\n\t\t\treturn callback();\n\t\t}\n\t};\n}\n\nclass Watcher extends EventEmitter {\n\tconstructor(directoryWatcher, filePath, startTime) {\n\t\tsuper();\n\t\tthis.directoryWatcher = directoryWatcher;\n\t\tthis.path = filePath;\n\t\tthis.startTime = startTime && +startTime;\n\t}\n\n\tcheckStartTime(mtime, initial) {\n\t\tconst startTime = this.startTime;\n\t\tif (typeof startTime !== \"number\") return !initial;\n\t\treturn startTime <= mtime;\n\t}\n\n\tclose() {\n\t\tthis.emit(\"closed\");\n\t}\n}\n\nclass DirectoryWatcher extends EventEmitter {\n\tconstructor(watcherManager, directoryPath, options) {\n\t\tsuper();\n\t\tif (FORCE_POLLING) {\n\t\t\toptions.poll = FORCE_POLLING;\n\t\t}\n\t\tthis.watcherManager = watcherManager;\n\t\tthis.options = options;\n\t\tthis.path = directoryPath;\n\t\t// safeTime is the point in time after which reading is safe to be unchanged\n\t\t// timestamp is a value that should be compared with another timestamp (mtime)\n\t\t/** @type {Map<string, { safeTime: number, timestamp: number }} */\n\t\tthis.files = new Map();\n\t\t/** @type {Map<string, number>} */\n\t\tthis.filesWithoutCase = new Map();\n\t\tthis.directories = new Map();\n\t\tthis.lastWatchEvent = 0;\n\t\tthis.initialScan = true;\n\t\tthis.ignored = options.ignored || (() => false);\n\t\tthis.nestedWatching = false;\n\t\tthis.polledWatching =\n\t\t\ttypeof options.poll === \"number\"\n\t\t\t\t? options.poll\n\t\t\t\t: options.poll\n\t\t\t\t? 5007\n\t\t\t\t: false;\n\t\tthis.timeout = undefined;\n\t\tthis.initialScanRemoved = new Set();\n\t\tthis.initialScanFinished = undefined;\n\t\t/** @type {Map<string, Set<Watcher>>} */\n\t\tthis.watchers = new Map();\n\t\tthis.parentWatcher = null;\n\t\tthis.refs = 0;\n\t\tthis._activeEvents = new Map();\n\t\tthis.closed = false;\n\t\tthis.scanning = false;\n\t\tthis.scanAgain = false;\n\t\tthis.scanAgainInitial = false;\n\n\t\tthis.createWatcher();\n\t\tthis.doScan(true);\n\t}\n\n\tcreateWatcher() {\n\t\ttry {\n\t\t\tif (this.polledWatching) {\n\t\t\t\tthis.watcher = {\n\t\t\t\t\tclose: () => {\n\t\t\t\t\t\tif (this.timeout) {\n\t\t\t\t\t\t\tclearTimeout(this.timeout);\n\t\t\t\t\t\t\tthis.timeout = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tif (IS_OSX) {\n\t\t\t\t\tthis.watchInParentDirectory();\n\t\t\t\t}\n\t\t\t\tthis.watcher = watchEventSource.watch(this.path);\n\t\t\t\tthis.watcher.on(\"change\", this.onWatchEvent.bind(this));\n\t\t\t\tthis.watcher.on(\"error\", this.onWatcherError.bind(this));\n\t\t\t}\n\t\t} catch (err) {\n\t\t\tthis.onWatcherError(err);\n\t\t}\n\t}\n\n\tforEachWatcher(path, fn) {\n\t\tconst watchers = this.watchers.get(withoutCase(path));\n\t\tif (watchers !== undefined) {\n\t\t\tfor (const w of watchers) {\n\t\t\t\tfn(w);\n\t\t\t}\n\t\t}\n\t}\n\n\tsetMissing(itemPath, initial, type) {\n\t\tif (this.initialScan) {\n\t\t\tthis.initialScanRemoved.add(itemPath);\n\t\t}\n\n\t\tconst oldDirectory = this.directories.get(itemPath);\n\t\tif (oldDirectory) {\n\t\t\tif (this.nestedWatching) oldDirectory.close();\n\t\t\tthis.directories.delete(itemPath);\n\n\t\t\tthis.forEachWatcher(itemPath, w => w.emit(\"remove\", type));\n\t\t\tif (!initial) {\n\t\t\t\tthis.forEachWatcher(this.path, w =>\n\t\t\t\t\tw.emit(\"change\", itemPath, null, type, initial)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tconst oldFile = this.files.get(itemPath);\n\t\tif (oldFile) {\n\t\t\tthis.files.delete(itemPath);\n\t\t\tconst key = withoutCase(itemPath);\n\t\t\tconst count = this.filesWithoutCase.get(key) - 1;\n\t\t\tif (count <= 0) {\n\t\t\t\tthis.filesWithoutCase.delete(key);\n\t\t\t\tthis.forEachWatcher(itemPath, w => w.emit(\"remove\", type));\n\t\t\t} else {\n\t\t\t\tthis.filesWithoutCase.set(key, count);\n\t\t\t}\n\n\t\t\tif (!initial) {\n\t\t\t\tthis.forEachWatcher(this.path, w =>\n\t\t\t\t\tw.emit(\"change\", itemPath, null, type, initial)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tsetFileTime(filePath, mtime, initial, ignoreWhenEqual, type) {\n\t\tconst now = Date.now();\n\n\t\tif (this.ignored(filePath)) return;\n\n\t\tconst old = this.files.get(filePath);\n\n\t\tlet safeTime, accuracy;\n\t\tif (initial) {\n\t\t\tsafeTime = Math.min(now, mtime) + FS_ACCURACY;\n\t\t\taccuracy = FS_ACCURACY;\n\t\t} else {\n\t\t\tsafeTime = now;\n\t\t\taccuracy = 0;\n\n\t\t\tif (old && old.timestamp === mtime && mtime + FS_ACCURACY < now) {\n\t\t\t\t// We are sure that mtime is untouched\n\t\t\t\t// This can be caused by some file attribute change\n\t\t\t\t// e. g. when access time has been changed\n\t\t\t\t// but the file content is untouched\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tif (ignoreWhenEqual && old && old.timestamp === mtime) return;\n\n\t\tthis.files.set(filePath, {\n\t\t\tsafeTime,\n\t\t\taccuracy,\n\t\t\ttimestamp: mtime\n\t\t});\n\n\t\tif (!old) {\n\t\t\tconst key = withoutCase(filePath);\n\t\t\tconst count = this.filesWithoutCase.get(key);\n\t\t\tthis.filesWithoutCase.set(key, (count || 0) + 1);\n\t\t\tif (count !== undefined) {\n\t\t\t\t// There is already a file with case-insensitive-equal name\n\t\t\t\t// On a case-insensitive filesystem we may miss the renaming\n\t\t\t\t// when only casing is changed.\n\t\t\t\t// To be sure that our information is correct\n\t\t\t\t// we trigger a rescan here\n\t\t\t\tthis.doScan(false);\n\t\t\t}\n\n\t\t\tthis.forEachWatcher(filePath, w => {\n\t\t\t\tif (!initial || w.checkStartTime(safeTime, initial)) {\n\t\t\t\t\tw.emit(\"change\", mtime, type);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (!initial) {\n\t\t\tthis.forEachWatcher(filePath, w => w.emit(\"change\", mtime, type));\n\t\t}\n\t\tthis.forEachWatcher(this.path, w => {\n\t\t\tif (!initial || w.checkStartTime(safeTime, initial)) {\n\t\t\t\tw.emit(\"change\", filePath, safeTime, type, initial);\n\t\t\t}\n\t\t});\n\t}\n\n\tsetDirectory(directoryPath, birthtime, initial, type) {\n\t\tif (this.ignored(directoryPath)) return;\n\t\tif (directoryPath === this.path) {\n\t\t\tif (!initial) {\n\t\t\t\tthis.forEachWatcher(this.path, w =>\n\t\t\t\t\tw.emit(\"change\", directoryPath, birthtime, type, initial)\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tconst old = this.directories.get(directoryPath);\n\t\t\tif (!old) {\n\t\t\t\tconst now = Date.now();\n\n\t\t\t\tif (this.nestedWatching) {\n\t\t\t\t\tthis.createNestedWatcher(directoryPath);\n\t\t\t\t} else {\n\t\t\t\t\tthis.directories.set(directoryPath, true);\n\t\t\t\t}\n\n\t\t\t\tlet safeTime;\n\t\t\t\tif (initial) {\n\t\t\t\t\tsafeTime = Math.min(now, birthtime) + FS_ACCURACY;\n\t\t\t\t} else {\n\t\t\t\t\tsafeTime = now;\n\t\t\t\t}\n\n\t\t\t\tthis.forEachWatcher(directoryPath, w => {\n\t\t\t\t\tif (!initial || w.checkStartTime(safeTime, false)) {\n\t\t\t\t\t\tw.emit(\"change\", birthtime, type);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.forEachWatcher(this.path, w => {\n\t\t\t\t\tif (!initial || w.checkStartTime(safeTime, initial)) {\n\t\t\t\t\t\tw.emit(\"change\", directoryPath, safeTime, type, initial);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\n\tcreateNestedWatcher(directoryPath) {\n\t\tconst watcher = this.watcherManager.watchDirectory(directoryPath, 1);\n\t\twatcher.on(\"change\", (filePath, mtime, type, initial) => {\n\t\t\tthis.forEachWatcher(this.path, w => {\n\t\t\t\tif (!initial || w.checkStartTime(mtime, initial)) {\n\t\t\t\t\tw.emit(\"change\", filePath, mtime, type, initial);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\tthis.directories.set(directoryPath, watcher);\n\t}\n\n\tsetNestedWatching(flag) {\n\t\tif (this.nestedWatching !== !!flag) {\n\t\t\tthis.nestedWatching = !!flag;\n\t\t\tif (this.nestedWatching) {\n\t\t\t\tfor (const directory of this.directories.keys()) {\n\t\t\t\t\tthis.createNestedWatcher(directory);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (const [directory, watcher] of this.directories) {\n\t\t\t\t\twatcher.close();\n\t\t\t\t\tthis.directories.set(directory, true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\twatch(filePath, startTime) {\n\t\tconst key = withoutCase(filePath);\n\t\tlet watchers = this.watchers.get(key);\n\t\tif (watchers === undefined) {\n\t\t\twatchers = new Set();\n\t\t\tthis.watchers.set(key, watchers);\n\t\t}\n\t\tthis.refs++;\n\t\tconst watcher = new Watcher(this, filePath, startTime);\n\t\twatcher.on(\"closed\", () => {\n\t\t\tif (--this.refs <= 0) {\n\t\t\t\tthis.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twatchers.delete(watcher);\n\t\t\tif (watchers.size === 0) {\n\t\t\t\tthis.watchers.delete(key);\n\t\t\t\tif (this.path === filePath) this.setNestedWatching(false);\n\t\t\t}\n\t\t});\n\t\twatchers.add(watcher);\n\t\tlet safeTime;\n\t\tif (filePath === this.path) {\n\t\t\tthis.setNestedWatching(true);\n\t\t\tsafeTime = this.lastWatchEvent;\n\t\t\tfor (const entry of this.files.values()) {\n\t\t\t\tfixupEntryAccuracy(entry);\n\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t}\n\t\t} else {\n\t\t\tconst entry = this.files.get(filePath);\n\t\t\tif (entry) {\n\t\t\t\tfixupEntryAccuracy(entry);\n\t\t\t\tsafeTime = entry.safeTime;\n\t\t\t} else {\n\t\t\t\tsafeTime = 0;\n\t\t\t}\n\t\t}\n\t\tif (safeTime) {\n\t\t\tif (safeTime >= startTime) {\n\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\tif (this.closed) return;\n\t\t\t\t\tif (filePath === this.path) {\n\t\t\t\t\t\twatcher.emit(\n\t\t\t\t\t\t\t\"change\",\n\t\t\t\t\t\t\tfilePath,\n\t\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\t\t\"watch (outdated on attach)\",\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\twatcher.emit(\n\t\t\t\t\t\t\t\"change\",\n\t\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\t\t\"watch (outdated on attach)\",\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t} else if (this.initialScan) {\n\t\t\tif (this.initialScanRemoved.has(filePath)) {\n\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\tif (this.closed) return;\n\t\t\t\t\twatcher.emit(\"remove\");\n\t\t\t\t});\n\t\t\t}\n\t\t} else if (\n\t\t\t!this.directories.has(filePath) &&\n\t\t\twatcher.checkStartTime(this.initialScanFinished, false)\n\t\t) {\n\t\t\tprocess.nextTick(() => {\n\t\t\t\tif (this.closed) return;\n\t\t\t\twatcher.emit(\"initial-missing\", \"watch (missing on attach)\");\n\t\t\t});\n\t\t}\n\t\treturn watcher;\n\t}\n\n\tonWatchEvent(eventType, filename) {\n\t\tif (this.closed) return;\n\t\tif (!filename) {\n\t\t\t// In some cases no filename is provided\n\t\t\t// This seem to happen on windows\n\t\t\t// So some event happened but we don't know which file is affected\n\t\t\t// We have to do a full scan of the directory\n\t\t\tthis.doScan(false);\n\t\t\treturn;\n\t\t}\n\n\t\tconst filePath = path.join(this.path, filename);\n\t\tif (this.ignored(filePath)) return;\n\n\t\tif (this._activeEvents.get(filename) === undefined) {\n\t\t\tthis._activeEvents.set(filename, false);\n\t\t\tconst checkStats = () => {\n\t\t\t\tif (this.closed) return;\n\t\t\t\tthis._activeEvents.set(filename, false);\n\t\t\t\tfs.lstat(filePath, (err, stats) => {\n\t\t\t\t\tif (this.closed) return;\n\t\t\t\t\tif (this._activeEvents.get(filename) === true) {\n\t\t\t\t\t\tprocess.nextTick(checkStats);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis._activeEvents.delete(filename);\n\t\t\t\t\t// ENOENT happens when the file/directory doesn't exist\n\t\t\t\t\t// EPERM happens when the containing directory doesn't exist\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\terr.code !== \"ENOENT\" &&\n\t\t\t\t\t\t\terr.code !== \"EPERM\" &&\n\t\t\t\t\t\t\terr.code !== \"EBUSY\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tthis.onStatsError(err);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (filename === path.basename(this.path)) {\n\t\t\t\t\t\t\t\t// This may indicate that the directory itself was removed\n\t\t\t\t\t\t\t\tif (!fs.existsSync(this.path)) {\n\t\t\t\t\t\t\t\t\tthis.onDirectoryRemoved(\"stat failed\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis.lastWatchEvent = Date.now();\n\t\t\t\t\tif (!stats) {\n\t\t\t\t\t\tthis.setMissing(filePath, false, eventType);\n\t\t\t\t\t} else if (stats.isDirectory()) {\n\t\t\t\t\t\tthis.setDirectory(\n\t\t\t\t\t\t\tfilePath,\n\t\t\t\t\t\t\t+stats.birthtime || 1,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\teventType\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (stats.isFile() || stats.isSymbolicLink()) {\n\t\t\t\t\t\tif (stats.mtime) {\n\t\t\t\t\t\t\tensureFsAccuracy(stats.mtime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.setFileTime(\n\t\t\t\t\t\t\tfilePath,\n\t\t\t\t\t\t\t+stats.mtime || +stats.ctime || 1,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\teventType\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\t\t\tprocess.nextTick(checkStats);\n\t\t} else {\n\t\t\tthis._activeEvents.set(filename, true);\n\t\t}\n\t}\n\n\tonWatcherError(err) {\n\t\tif (this.closed) return;\n\t\tif (err) {\n\t\t\tif (err.code !== \"EPERM\" && err.code !== \"ENOENT\") {\n\t\t\t\tconsole.error(\"Watchpack Error (watcher): \" + err);\n\t\t\t}\n\t\t\tthis.onDirectoryRemoved(\"watch error\");\n\t\t}\n\t}\n\n\tonStatsError(err) {\n\t\tif (err) {\n\t\t\tconsole.error(\"Watchpack Error (stats): \" + err);\n\t\t}\n\t}\n\n\tonScanError(err) {\n\t\tif (err) {\n\t\t\tconsole.error(\"Watchpack Error (initial scan): \" + err);\n\t\t}\n\t\tthis.onScanFinished();\n\t}\n\n\tonScanFinished() {\n\t\tif (this.polledWatching) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tif (this.closed) return;\n\t\t\t\tthis.doScan(false);\n\t\t\t}, this.polledWatching);\n\t\t}\n\t}\n\n\tonDirectoryRemoved(reason) {\n\t\tif (this.watcher) {\n\t\t\tthis.watcher.close();\n\t\t\tthis.watcher = null;\n\t\t}\n\t\tthis.watchInParentDirectory();\n\t\tconst type = `directory-removed (${reason})`;\n\t\tfor (const directory of this.directories.keys()) {\n\t\t\tthis.setMissing(directory, null, type);\n\t\t}\n\t\tfor (const file of this.files.keys()) {\n\t\t\tthis.setMissing(file, null, type);\n\t\t}\n\t}\n\n\twatchInParentDirectory() {\n\t\tif (!this.parentWatcher) {\n\t\t\tconst parentDir = path.dirname(this.path);\n\t\t\t// avoid watching in the root directory\n\t\t\t// removing directories in the root directory is not supported\n\t\t\tif (path.dirname(parentDir) === parentDir) return;\n\n\t\t\tthis.parentWatcher = this.watcherManager.watchFile(this.path, 1);\n\t\t\tthis.parentWatcher.on(\"change\", (mtime, type) => {\n\t\t\t\tif (this.closed) return;\n\n\t\t\t\t// On non-osx platforms we don't need this watcher to detect\n\t\t\t\t// directory removal, as an EPERM error indicates that\n\t\t\t\tif ((!IS_OSX || this.polledWatching) && this.parentWatcher) {\n\t\t\t\t\tthis.parentWatcher.close();\n\t\t\t\t\tthis.parentWatcher = null;\n\t\t\t\t}\n\t\t\t\t// Try to create the watcher when parent directory is found\n\t\t\t\tif (!this.watcher) {\n\t\t\t\t\tthis.createWatcher();\n\t\t\t\t\tthis.doScan(false);\n\n\t\t\t\t\t// directory was created so we emit an event\n\t\t\t\t\tthis.forEachWatcher(this.path, w =>\n\t\t\t\t\t\tw.emit(\"change\", this.path, mtime, type, false)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.parentWatcher.on(\"remove\", () => {\n\t\t\t\tthis.onDirectoryRemoved(\"parent directory removed\");\n\t\t\t});\n\t\t}\n\t}\n\n\tdoScan(initial) {\n\t\tif (this.scanning) {\n\t\t\tif (this.scanAgain) {\n\t\t\t\tif (!initial) this.scanAgainInitial = false;\n\t\t\t} else {\n\t\t\t\tthis.scanAgain = true;\n\t\t\t\tthis.scanAgainInitial = initial;\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tthis.scanning = true;\n\t\tif (this.timeout) {\n\t\t\tclearTimeout(this.timeout);\n\t\t\tthis.timeout = undefined;\n\t\t}\n\t\tprocess.nextTick(() => {\n\t\t\tif (this.closed) return;\n\t\t\tfs.readdir(this.path, (err, items) => {\n\t\t\t\tif (this.closed) return;\n\t\t\t\tif (err) {\n\t\t\t\t\tif (err.code === \"ENOENT\" || err.code === \"EPERM\") {\n\t\t\t\t\t\tthis.onDirectoryRemoved(\"scan readdir failed\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.onScanError(err);\n\t\t\t\t\t}\n\t\t\t\t\tthis.initialScan = false;\n\t\t\t\t\tthis.initialScanFinished = Date.now();\n\t\t\t\t\tif (initial) {\n\t\t\t\t\t\tfor (const watchers of this.watchers.values()) {\n\t\t\t\t\t\t\tfor (const watcher of watchers) {\n\t\t\t\t\t\t\t\tif (watcher.checkStartTime(this.initialScanFinished, false)) {\n\t\t\t\t\t\t\t\t\twatcher.emit(\n\t\t\t\t\t\t\t\t\t\t\"initial-missing\",\n\t\t\t\t\t\t\t\t\t\t\"scan (parent directory missing in initial scan)\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (this.scanAgain) {\n\t\t\t\t\t\tthis.scanAgain = false;\n\t\t\t\t\t\tthis.doScan(this.scanAgainInitial);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.scanning = false;\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst itemPaths = new Set(\n\t\t\t\t\titems.map(item => path.join(this.path, item.normalize(\"NFC\")))\n\t\t\t\t);\n\t\t\t\tfor (const file of this.files.keys()) {\n\t\t\t\t\tif (!itemPaths.has(file)) {\n\t\t\t\t\t\tthis.setMissing(file, initial, \"scan (missing)\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const directory of this.directories.keys()) {\n\t\t\t\t\tif (!itemPaths.has(directory)) {\n\t\t\t\t\t\tthis.setMissing(directory, initial, \"scan (missing)\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.scanAgain) {\n\t\t\t\t\t// Early repeat of scan\n\t\t\t\t\tthis.scanAgain = false;\n\t\t\t\t\tthis.doScan(initial);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst itemFinished = needCalls(itemPaths.size + 1, () => {\n\t\t\t\t\tif (this.closed) return;\n\t\t\t\t\tthis.initialScan = false;\n\t\t\t\t\tthis.initialScanRemoved = null;\n\t\t\t\t\tthis.initialScanFinished = Date.now();\n\t\t\t\t\tif (initial) {\n\t\t\t\t\t\tconst missingWatchers = new Map(this.watchers);\n\t\t\t\t\t\tmissingWatchers.delete(withoutCase(this.path));\n\t\t\t\t\t\tfor (const item of itemPaths) {\n\t\t\t\t\t\t\tmissingWatchers.delete(withoutCase(item));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const watchers of missingWatchers.values()) {\n\t\t\t\t\t\t\tfor (const watcher of watchers) {\n\t\t\t\t\t\t\t\tif (watcher.checkStartTime(this.initialScanFinished, false)) {\n\t\t\t\t\t\t\t\t\twatcher.emit(\n\t\t\t\t\t\t\t\t\t\t\"initial-missing\",\n\t\t\t\t\t\t\t\t\t\t\"scan (missing in initial scan)\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (this.scanAgain) {\n\t\t\t\t\t\tthis.scanAgain = false;\n\t\t\t\t\t\tthis.doScan(this.scanAgainInitial);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.scanning = false;\n\t\t\t\t\t\tthis.onScanFinished();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tfor (const itemPath of itemPaths) {\n\t\t\t\t\tfs.lstat(itemPath, (err2, stats) => {\n\t\t\t\t\t\tif (this.closed) return;\n\t\t\t\t\t\tif (err2) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\terr2.code === \"ENOENT\" ||\n\t\t\t\t\t\t\t\terr2.code === \"EPERM\" ||\n\t\t\t\t\t\t\t\terr2.code === \"EACCES\" ||\n\t\t\t\t\t\t\t\terr2.code === \"EBUSY\"\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tthis.setMissing(itemPath, initial, \"scan (\" + err2.code + \")\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.onScanError(err2);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titemFinished();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (stats.isFile() || stats.isSymbolicLink()) {\n\t\t\t\t\t\t\tif (stats.mtime) {\n\t\t\t\t\t\t\t\tensureFsAccuracy(stats.mtime);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.setFileTime(\n\t\t\t\t\t\t\t\titemPath,\n\t\t\t\t\t\t\t\t+stats.mtime || +stats.ctime || 1,\n\t\t\t\t\t\t\t\tinitial,\n\t\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\t\t\"scan (file)\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (stats.isDirectory()) {\n\t\t\t\t\t\t\tif (!initial || !this.directories.has(itemPath))\n\t\t\t\t\t\t\t\tthis.setDirectory(\n\t\t\t\t\t\t\t\t\titemPath,\n\t\t\t\t\t\t\t\t\t+stats.birthtime || 1,\n\t\t\t\t\t\t\t\t\tinitial,\n\t\t\t\t\t\t\t\t\t\"scan (dir)\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\titemFinished();\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\titemFinished();\n\t\t\t});\n\t\t});\n\t}\n\n\tgetTimes() {\n\t\tconst obj = Object.create(null);\n\t\tlet safeTime = this.lastWatchEvent;\n\t\tfor (const [file, entry] of this.files) {\n\t\t\tfixupEntryAccuracy(entry);\n\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\tobj[file] = Math.max(entry.safeTime, entry.timestamp);\n\t\t}\n\t\tif (this.nestedWatching) {\n\t\t\tfor (const w of this.directories.values()) {\n\t\t\t\tconst times = w.directoryWatcher.getTimes();\n\t\t\t\tfor (const file of Object.keys(times)) {\n\t\t\t\t\tconst time = times[file];\n\t\t\t\t\tsafeTime = Math.max(safeTime, time);\n\t\t\t\t\tobj[file] = time;\n\t\t\t\t}\n\t\t\t}\n\t\t\tobj[this.path] = safeTime;\n\t\t}\n\t\tif (!this.initialScan) {\n\t\t\tfor (const watchers of this.watchers.values()) {\n\t\t\t\tfor (const watcher of watchers) {\n\t\t\t\t\tconst path = watcher.path;\n\t\t\t\t\tif (!Object.prototype.hasOwnProperty.call(obj, path)) {\n\t\t\t\t\t\tobj[path] = null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn obj;\n\t}\n\n\tcollectTimeInfoEntries(fileTimestamps, directoryTimestamps) {\n\t\tlet safeTime = this.lastWatchEvent;\n\t\tfor (const [file, entry] of this.files) {\n\t\t\tfixupEntryAccuracy(entry);\n\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\tfileTimestamps.set(file, entry);\n\t\t}\n\t\tif (this.nestedWatching) {\n\t\t\tfor (const w of this.directories.values()) {\n\t\t\t\tsafeTime = Math.max(\n\t\t\t\t\tsafeTime,\n\t\t\t\t\tw.directoryWatcher.collectTimeInfoEntries(\n\t\t\t\t\t\tfileTimestamps,\n\t\t\t\t\t\tdirectoryTimestamps\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t\tfileTimestamps.set(this.path, EXISTANCE_ONLY_TIME_ENTRY);\n\t\t\tdirectoryTimestamps.set(this.path, {\n\t\t\t\tsafeTime\n\t\t\t});\n\t\t} else {\n\t\t\tfor (const dir of this.directories.keys()) {\n\t\t\t\t// No additional info about this directory\n\t\t\t\t// but maybe another DirectoryWatcher has info\n\t\t\t\tfileTimestamps.set(dir, EXISTANCE_ONLY_TIME_ENTRY);\n\t\t\t\tif (!directoryTimestamps.has(dir))\n\t\t\t\t\tdirectoryTimestamps.set(dir, EXISTANCE_ONLY_TIME_ENTRY);\n\t\t\t}\n\t\t\tfileTimestamps.set(this.path, EXISTANCE_ONLY_TIME_ENTRY);\n\t\t\tdirectoryTimestamps.set(this.path, EXISTANCE_ONLY_TIME_ENTRY);\n\t\t}\n\t\tif (!this.initialScan) {\n\t\t\tfor (const watchers of this.watchers.values()) {\n\t\t\t\tfor (const watcher of watchers) {\n\t\t\t\t\tconst path = watcher.path;\n\t\t\t\t\tif (!fileTimestamps.has(path)) {\n\t\t\t\t\t\tfileTimestamps.set(path, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn safeTime;\n\t}\n\n\tclose() {\n\t\tthis.closed = true;\n\t\tthis.initialScan = false;\n\t\tif (this.watcher) {\n\t\t\tthis.watcher.close();\n\t\t\tthis.watcher = null;\n\t\t}\n\t\tif (this.nestedWatching) {\n\t\t\tfor (const w of this.directories.values()) {\n\t\t\t\tw.close();\n\t\t\t}\n\t\t\tthis.directories.clear();\n\t\t}\n\t\tif (this.parentWatcher) {\n\t\t\tthis.parentWatcher.close();\n\t\t\tthis.parentWatcher = null;\n\t\t}\n\t\tthis.emit(\"closed\");\n\t}\n}\n\nmodule.exports = DirectoryWatcher;\nmodule.exports.EXISTANCE_ONLY_TIME_ENTRY = EXISTANCE_ONLY_TIME_ENTRY;\n\nfunction fixupEntryAccuracy(entry) {\n\tif (entry.accuracy > FS_ACCURACY) {\n\t\tentry.safeTime = entry.safeTime - entry.accuracy + FS_ACCURACY;\n\t\tentry.accuracy = FS_ACCURACY;\n\t}\n}\n\nfunction ensureFsAccuracy(mtime) {\n\tif (!mtime) return;\n\tif (FS_ACCURACY > 1 && mtime % 1 !== 0) FS_ACCURACY = 1;\n\telse if (FS_ACCURACY > 10 && mtime % 10 !== 0) FS_ACCURACY = 10;\n\telse if (FS_ACCURACY > 100 && mtime % 100 !== 0) FS_ACCURACY = 100;\n\telse if (FS_ACCURACY > 1000 && mtime % 1000 !== 0) FS_ACCURACY = 1000;\n}\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/DirectoryWatcher.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/LinkResolver.js": /*!****************************************************!*\ !*** ./node_modules/watchpack/lib/LinkResolver.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst fs = __webpack_require__(/*! fs */ \"?9ebe\");\nconst path = __webpack_require__(/*! path */ \"?002f\");\n\n// macOS, Linux, and Windows all rely on these errors\nconst EXPECTED_ERRORS = new Set([\"EINVAL\", \"ENOENT\"]);\n\n// On Windows there is also this error in some cases\nif (process.platform === \"win32\") EXPECTED_ERRORS.add(\"UNKNOWN\");\n\nclass LinkResolver {\n\tconstructor() {\n\t\tthis.cache = new Map();\n\t}\n\n\t/**\n\t * @param {string} file path to file or directory\n\t * @returns {string[]} array of file and all symlinks contributed in the resolving process (first item is the resolved file)\n\t */\n\tresolve(file) {\n\t\tconst cacheEntry = this.cache.get(file);\n\t\tif (cacheEntry !== undefined) {\n\t\t\treturn cacheEntry;\n\t\t}\n\t\tconst parent = path.dirname(file);\n\t\tif (parent === file) {\n\t\t\t// At root of filesystem there can't be a link\n\t\t\tconst result = Object.freeze([file]);\n\t\t\tthis.cache.set(file, result);\n\t\t\treturn result;\n\t\t}\n\t\t// resolve the parent directory to find links there and get the real path\n\t\tconst parentResolved = this.resolve(parent);\n\t\tlet realFile = file;\n\n\t\t// is the parent directory really somewhere else?\n\t\tif (parentResolved[0] !== parent) {\n\t\t\t// get the real location of file\n\t\t\tconst basename = path.basename(file);\n\t\t\trealFile = path.resolve(parentResolved[0], basename);\n\t\t}\n\t\t// try to read the link content\n\t\ttry {\n\t\t\tconst linkContent = fs.readlinkSync(realFile);\n\n\t\t\t// resolve the link content relative to the parent directory\n\t\t\tconst resolvedLink = path.resolve(parentResolved[0], linkContent);\n\n\t\t\t// recursive resolve the link content for more links in the structure\n\t\t\tconst linkResolved = this.resolve(resolvedLink);\n\n\t\t\t// merge parent and link resolve results\n\t\t\tlet result;\n\t\t\tif (linkResolved.length > 1 && parentResolved.length > 1) {\n\t\t\t\t// when both contain links we need to duplicate them with a Set\n\t\t\t\tconst resultSet = new Set(linkResolved);\n\t\t\t\t// add the link\n\t\t\t\tresultSet.add(realFile);\n\t\t\t\t// add all symlinks of the parent\n\t\t\t\tfor (let i = 1; i < parentResolved.length; i++) {\n\t\t\t\t\tresultSet.add(parentResolved[i]);\n\t\t\t\t}\n\t\t\t\tresult = Object.freeze(Array.from(resultSet));\n\t\t\t} else if (parentResolved.length > 1) {\n\t\t\t\t// we have links in the parent but not for the link content location\n\t\t\t\tresult = parentResolved.slice();\n\t\t\t\tresult[0] = linkResolved[0];\n\t\t\t\t// add the link\n\t\t\t\tresult.push(realFile);\n\t\t\t\tObject.freeze(result);\n\t\t\t} else if (linkResolved.length > 1) {\n\t\t\t\t// we can return the link content location result\n\t\t\t\tresult = linkResolved.slice();\n\t\t\t\t// add the link\n\t\t\t\tresult.push(realFile);\n\t\t\t\tObject.freeze(result);\n\t\t\t} else {\n\t\t\t\t// neither link content location nor parent have links\n\t\t\t\t// this link is the only link here\n\t\t\t\tresult = Object.freeze([\n\t\t\t\t\t// the resolve real location\n\t\t\t\t\tlinkResolved[0],\n\t\t\t\t\t// add the link\n\t\t\t\t\trealFile\n\t\t\t\t]);\n\t\t\t}\n\t\t\tthis.cache.set(file, result);\n\t\t\treturn result;\n\t\t} catch (e) {\n\t\t\tif (!EXPECTED_ERRORS.has(e.code)) {\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\t// no link\n\t\t\tconst result = parentResolved.slice();\n\t\t\tresult[0] = realFile;\n\t\t\tObject.freeze(result);\n\t\t\tthis.cache.set(file, result);\n\t\t\treturn result;\n\t\t}\n\t}\n}\nmodule.exports = LinkResolver;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/LinkResolver.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/getWatcherManager.js": /*!*********************************************************!*\ !*** ./node_modules/watchpack/lib/getWatcherManager.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst path = __webpack_require__(/*! path */ \"?002f\");\nconst DirectoryWatcher = __webpack_require__(/*! ./DirectoryWatcher */ \"./node_modules/watchpack/lib/DirectoryWatcher.js\");\n\nclass WatcherManager {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.directoryWatchers = new Map();\n\t}\n\n\tgetDirectoryWatcher(directory) {\n\t\tconst watcher = this.directoryWatchers.get(directory);\n\t\tif (watcher === undefined) {\n\t\t\tconst newWatcher = new DirectoryWatcher(this, directory, this.options);\n\t\t\tthis.directoryWatchers.set(directory, newWatcher);\n\t\t\tnewWatcher.on(\"closed\", () => {\n\t\t\t\tthis.directoryWatchers.delete(directory);\n\t\t\t});\n\t\t\treturn newWatcher;\n\t\t}\n\t\treturn watcher;\n\t}\n\n\twatchFile(p, startTime) {\n\t\tconst directory = path.dirname(p);\n\t\tif (directory === p) return null;\n\t\treturn this.getDirectoryWatcher(directory).watch(p, startTime);\n\t}\n\n\twatchDirectory(directory, startTime) {\n\t\treturn this.getDirectoryWatcher(directory).watch(directory, startTime);\n\t}\n}\n\nconst watcherManagers = new WeakMap();\n/**\n * @param {object} options options\n * @returns {WatcherManager} the watcher manager\n */\nmodule.exports = options => {\n\tconst watcherManager = watcherManagers.get(options);\n\tif (watcherManager !== undefined) return watcherManager;\n\tconst newWatcherManager = new WatcherManager(options);\n\twatcherManagers.set(options, newWatcherManager);\n\treturn newWatcherManager;\n};\nmodule.exports.WatcherManager = WatcherManager;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/getWatcherManager.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/reducePlan.js": /*!**************************************************!*\ !*** ./node_modules/watchpack/lib/reducePlan.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst path = __webpack_require__(/*! path */ \"?002f\");\n\n/**\n * @template T\n * @typedef {Object} TreeNode\n * @property {string} filePath\n * @property {TreeNode} parent\n * @property {TreeNode[]} children\n * @property {number} entries\n * @property {boolean} active\n * @property {T[] | T | undefined} value\n */\n\n/**\n * @template T\n * @param {Map<string, T[] | T} plan\n * @param {number} limit\n * @returns {Map<string, Map<T, string>>} the new plan\n */\nmodule.exports = (plan, limit) => {\n\tconst treeMap = new Map();\n\t// Convert to tree\n\tfor (const [filePath, value] of plan) {\n\t\ttreeMap.set(filePath, {\n\t\t\tfilePath,\n\t\t\tparent: undefined,\n\t\t\tchildren: undefined,\n\t\t\tentries: 1,\n\t\t\tactive: true,\n\t\t\tvalue\n\t\t});\n\t}\n\tlet currentCount = treeMap.size;\n\t// Create parents and calculate sum of entries\n\tfor (const node of treeMap.values()) {\n\t\tconst parentPath = path.dirname(node.filePath);\n\t\tif (parentPath !== node.filePath) {\n\t\t\tlet parent = treeMap.get(parentPath);\n\t\t\tif (parent === undefined) {\n\t\t\t\tparent = {\n\t\t\t\t\tfilePath: parentPath,\n\t\t\t\t\tparent: undefined,\n\t\t\t\t\tchildren: [node],\n\t\t\t\t\tentries: node.entries,\n\t\t\t\t\tactive: false,\n\t\t\t\t\tvalue: undefined\n\t\t\t\t};\n\t\t\t\ttreeMap.set(parentPath, parent);\n\t\t\t\tnode.parent = parent;\n\t\t\t} else {\n\t\t\t\tnode.parent = parent;\n\t\t\t\tif (parent.children === undefined) {\n\t\t\t\t\tparent.children = [node];\n\t\t\t\t} else {\n\t\t\t\t\tparent.children.push(node);\n\t\t\t\t}\n\t\t\t\tdo {\n\t\t\t\t\tparent.entries += node.entries;\n\t\t\t\t\tparent = parent.parent;\n\t\t\t\t} while (parent);\n\t\t\t}\n\t\t}\n\t}\n\t// Reduce until limit reached\n\twhile (currentCount > limit) {\n\t\t// Select node that helps reaching the limit most effectively without overmerging\n\t\tconst overLimit = currentCount - limit;\n\t\tlet bestNode = undefined;\n\t\tlet bestCost = Infinity;\n\t\tfor (const node of treeMap.values()) {\n\t\t\tif (node.entries <= 1 || !node.children || !node.parent) continue;\n\t\t\tif (node.children.length === 0) continue;\n\t\t\tif (node.children.length === 1 && !node.value) continue;\n\t\t\t// Try to select the node with has just a bit more entries than we need to reduce\n\t\t\t// When just a bit more is over 30% over the limit,\n\t\t\t// also consider just a bit less entries then we need to reduce\n\t\t\tconst cost =\n\t\t\t\tnode.entries - 1 >= overLimit\n\t\t\t\t\t? node.entries - 1 - overLimit\n\t\t\t\t\t: overLimit - node.entries + 1 + limit * 0.3;\n\t\t\tif (cost < bestCost) {\n\t\t\t\tbestNode = node;\n\t\t\t\tbestCost = cost;\n\t\t\t}\n\t\t}\n\t\tif (!bestNode) break;\n\t\t// Merge all children\n\t\tconst reduction = bestNode.entries - 1;\n\t\tbestNode.active = true;\n\t\tbestNode.entries = 1;\n\t\tcurrentCount -= reduction;\n\t\tlet parent = bestNode.parent;\n\t\twhile (parent) {\n\t\t\tparent.entries -= reduction;\n\t\t\tparent = parent.parent;\n\t\t}\n\t\tconst queue = new Set(bestNode.children);\n\t\tfor (const node of queue) {\n\t\t\tnode.active = false;\n\t\t\tnode.entries = 0;\n\t\t\tif (node.children) {\n\t\t\t\tfor (const child of node.children) queue.add(child);\n\t\t\t}\n\t\t}\n\t}\n\t// Write down new plan\n\tconst newPlan = new Map();\n\tfor (const rootNode of treeMap.values()) {\n\t\tif (!rootNode.active) continue;\n\t\tconst map = new Map();\n\t\tconst queue = new Set([rootNode]);\n\t\tfor (const node of queue) {\n\t\t\tif (node.active && node !== rootNode) continue;\n\t\t\tif (node.value) {\n\t\t\t\tif (Array.isArray(node.value)) {\n\t\t\t\t\tfor (const item of node.value) {\n\t\t\t\t\t\tmap.set(item, node.filePath);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tmap.set(node.value, node.filePath);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (node.children) {\n\t\t\t\tfor (const child of node.children) {\n\t\t\t\t\tqueue.add(child);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tnewPlan.set(rootNode.filePath, map);\n\t}\n\treturn newPlan;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/reducePlan.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/watchEventSource.js": /*!********************************************************!*\ !*** ./node_modules/watchpack/lib/watchEventSource.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst fs = __webpack_require__(/*! fs */ \"?9ebe\");\nconst path = __webpack_require__(/*! path */ \"?002f\");\nconst { EventEmitter } = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\nconst reducePlan = __webpack_require__(/*! ./reducePlan */ \"./node_modules/watchpack/lib/reducePlan.js\");\n\nconst IS_OSX = (__webpack_require__(/*! os */ \"?2f71\").platform)() === \"darwin\";\nconst IS_WIN = (__webpack_require__(/*! os */ \"?2f71\").platform)() === \"win32\";\nconst SUPPORTS_RECURSIVE_WATCHING = IS_OSX || IS_WIN;\n\nconst watcherLimit =\n\t+process.env.WATCHPACK_WATCHER_LIMIT || (IS_OSX ? 2000 : 10000);\n\nconst recursiveWatcherLogging = !!process.env\n\t.WATCHPACK_RECURSIVE_WATCHER_LOGGING;\n\nlet isBatch = false;\nlet watcherCount = 0;\n\n/** @type {Map<Watcher, string>} */\nconst pendingWatchers = new Map();\n\n/** @type {Map<string, RecursiveWatcher>} */\nconst recursiveWatchers = new Map();\n\n/** @type {Map<string, DirectWatcher>} */\nconst directWatchers = new Map();\n\n/** @type {Map<Watcher, RecursiveWatcher | DirectWatcher>} */\nconst underlyingWatcher = new Map();\n\nclass DirectWatcher {\n\tconstructor(filePath) {\n\t\tthis.filePath = filePath;\n\t\tthis.watchers = new Set();\n\t\tthis.watcher = undefined;\n\t\ttry {\n\t\t\tconst watcher = fs.watch(filePath);\n\t\t\tthis.watcher = watcher;\n\t\t\twatcher.on(\"change\", (type, filename) => {\n\t\t\t\tfor (const w of this.watchers) {\n\t\t\t\t\tw.emit(\"change\", type, filename);\n\t\t\t\t}\n\t\t\t});\n\t\t\twatcher.on(\"error\", error => {\n\t\t\t\tfor (const w of this.watchers) {\n\t\t\t\t\tw.emit(\"error\", error);\n\t\t\t\t}\n\t\t\t});\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(() => {\n\t\t\t\tfor (const w of this.watchers) {\n\t\t\t\t\tw.emit(\"error\", err);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\twatcherCount++;\n\t}\n\n\tadd(watcher) {\n\t\tunderlyingWatcher.set(watcher, this);\n\t\tthis.watchers.add(watcher);\n\t}\n\n\tremove(watcher) {\n\t\tthis.watchers.delete(watcher);\n\t\tif (this.watchers.size === 0) {\n\t\t\tdirectWatchers.delete(this.filePath);\n\t\t\twatcherCount--;\n\t\t\tif (this.watcher) this.watcher.close();\n\t\t}\n\t}\n\n\tgetWatchers() {\n\t\treturn this.watchers;\n\t}\n}\n\nclass RecursiveWatcher {\n\tconstructor(rootPath) {\n\t\tthis.rootPath = rootPath;\n\t\t/** @type {Map<Watcher, string>} */\n\t\tthis.mapWatcherToPath = new Map();\n\t\t/** @type {Map<string, Set<Watcher>>} */\n\t\tthis.mapPathToWatchers = new Map();\n\t\tthis.watcher = undefined;\n\t\ttry {\n\t\t\tconst watcher = fs.watch(rootPath, {\n\t\t\t\trecursive: true\n\t\t\t});\n\t\t\tthis.watcher = watcher;\n\t\t\twatcher.on(\"change\", (type, filename) => {\n\t\t\t\tif (!filename) {\n\t\t\t\t\tif (recursiveWatcherLogging) {\n\t\t\t\t\t\tprocess.stderr.write(\n\t\t\t\t\t\t\t`[watchpack] dispatch ${type} event in recursive watcher (${\n\t\t\t\t\t\t\t\tthis.rootPath\n\t\t\t\t\t\t\t}) to all watchers\\n`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const w of this.mapWatcherToPath.keys()) {\n\t\t\t\t\t\tw.emit(\"change\", type);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconst dir = path.dirname(filename);\n\t\t\t\t\tconst watchers = this.mapPathToWatchers.get(dir);\n\t\t\t\t\tif (recursiveWatcherLogging) {\n\t\t\t\t\t\tprocess.stderr.write(\n\t\t\t\t\t\t\t`[watchpack] dispatch ${type} event in recursive watcher (${\n\t\t\t\t\t\t\t\tthis.rootPath\n\t\t\t\t\t\t\t}) for '${filename}' to ${\n\t\t\t\t\t\t\t\twatchers ? watchers.size : 0\n\t\t\t\t\t\t\t} watchers\\n`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (watchers === undefined) return;\n\t\t\t\t\tfor (const w of watchers) {\n\t\t\t\t\t\tw.emit(\"change\", type, path.basename(filename));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\twatcher.on(\"error\", error => {\n\t\t\t\tfor (const w of this.mapWatcherToPath.keys()) {\n\t\t\t\t\tw.emit(\"error\", error);\n\t\t\t\t}\n\t\t\t});\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(() => {\n\t\t\t\tfor (const w of this.mapWatcherToPath.keys()) {\n\t\t\t\t\tw.emit(\"error\", err);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\twatcherCount++;\n\t\tif (recursiveWatcherLogging) {\n\t\t\tprocess.stderr.write(\n\t\t\t\t`[watchpack] created recursive watcher at ${rootPath}\\n`\n\t\t\t);\n\t\t}\n\t}\n\n\tadd(filePath, watcher) {\n\t\tunderlyingWatcher.set(watcher, this);\n\t\tconst subpath = filePath.slice(this.rootPath.length + 1) || \".\";\n\t\tthis.mapWatcherToPath.set(watcher, subpath);\n\t\tconst set = this.mapPathToWatchers.get(subpath);\n\t\tif (set === undefined) {\n\t\t\tconst newSet = new Set();\n\t\t\tnewSet.add(watcher);\n\t\t\tthis.mapPathToWatchers.set(subpath, newSet);\n\t\t} else {\n\t\t\tset.add(watcher);\n\t\t}\n\t}\n\n\tremove(watcher) {\n\t\tconst subpath = this.mapWatcherToPath.get(watcher);\n\t\tif (!subpath) return;\n\t\tthis.mapWatcherToPath.delete(watcher);\n\t\tconst set = this.mapPathToWatchers.get(subpath);\n\t\tset.delete(watcher);\n\t\tif (set.size === 0) {\n\t\t\tthis.mapPathToWatchers.delete(subpath);\n\t\t}\n\t\tif (this.mapWatcherToPath.size === 0) {\n\t\t\trecursiveWatchers.delete(this.rootPath);\n\t\t\twatcherCount--;\n\t\t\tif (this.watcher) this.watcher.close();\n\t\t\tif (recursiveWatcherLogging) {\n\t\t\t\tprocess.stderr.write(\n\t\t\t\t\t`[watchpack] closed recursive watcher at ${this.rootPath}\\n`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tgetWatchers() {\n\t\treturn this.mapWatcherToPath;\n\t}\n}\n\nclass Watcher extends EventEmitter {\n\tclose() {\n\t\tif (pendingWatchers.has(this)) {\n\t\t\tpendingWatchers.delete(this);\n\t\t\treturn;\n\t\t}\n\t\tconst watcher = underlyingWatcher.get(this);\n\t\twatcher.remove(this);\n\t\tunderlyingWatcher.delete(this);\n\t}\n}\n\nconst createDirectWatcher = filePath => {\n\tconst existing = directWatchers.get(filePath);\n\tif (existing !== undefined) return existing;\n\tconst w = new DirectWatcher(filePath);\n\tdirectWatchers.set(filePath, w);\n\treturn w;\n};\n\nconst createRecursiveWatcher = rootPath => {\n\tconst existing = recursiveWatchers.get(rootPath);\n\tif (existing !== undefined) return existing;\n\tconst w = new RecursiveWatcher(rootPath);\n\trecursiveWatchers.set(rootPath, w);\n\treturn w;\n};\n\nconst execute = () => {\n\t/** @type {Map<string, Watcher[] | Watcher>} */\n\tconst map = new Map();\n\tconst addWatcher = (watcher, filePath) => {\n\t\tconst entry = map.get(filePath);\n\t\tif (entry === undefined) {\n\t\t\tmap.set(filePath, watcher);\n\t\t} else if (Array.isArray(entry)) {\n\t\t\tentry.push(watcher);\n\t\t} else {\n\t\t\tmap.set(filePath, [entry, watcher]);\n\t\t}\n\t};\n\tfor (const [watcher, filePath] of pendingWatchers) {\n\t\taddWatcher(watcher, filePath);\n\t}\n\tpendingWatchers.clear();\n\n\t// Fast case when we are not reaching the limit\n\tif (!SUPPORTS_RECURSIVE_WATCHING || watcherLimit - watcherCount >= map.size) {\n\t\t// Create watchers for all entries in the map\n\t\tfor (const [filePath, entry] of map) {\n\t\t\tconst w = createDirectWatcher(filePath);\n\t\t\tif (Array.isArray(entry)) {\n\t\t\t\tfor (const item of entry) w.add(item);\n\t\t\t} else {\n\t\t\t\tw.add(entry);\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}\n\n\t// Reconsider existing watchers to improving watch plan\n\tfor (const watcher of recursiveWatchers.values()) {\n\t\tfor (const [w, subpath] of watcher.getWatchers()) {\n\t\t\taddWatcher(w, path.join(watcher.rootPath, subpath));\n\t\t}\n\t}\n\tfor (const watcher of directWatchers.values()) {\n\t\tfor (const w of watcher.getWatchers()) {\n\t\t\taddWatcher(w, watcher.filePath);\n\t\t}\n\t}\n\n\t// Merge map entries to keep watcher limit\n\t// Create a 10% buffer to be able to enter fast case more often\n\tconst plan = reducePlan(map, watcherLimit * 0.9);\n\n\t// Update watchers for all entries in the map\n\tfor (const [filePath, entry] of plan) {\n\t\tif (entry.size === 1) {\n\t\t\tfor (const [watcher, filePath] of entry) {\n\t\t\t\tconst w = createDirectWatcher(filePath);\n\t\t\t\tconst old = underlyingWatcher.get(watcher);\n\t\t\t\tif (old === w) continue;\n\t\t\t\tw.add(watcher);\n\t\t\t\tif (old !== undefined) old.remove(watcher);\n\t\t\t}\n\t\t} else {\n\t\t\tconst filePaths = new Set(entry.values());\n\t\t\tif (filePaths.size > 1) {\n\t\t\t\tconst w = createRecursiveWatcher(filePath);\n\t\t\t\tfor (const [watcher, watcherPath] of entry) {\n\t\t\t\t\tconst old = underlyingWatcher.get(watcher);\n\t\t\t\t\tif (old === w) continue;\n\t\t\t\t\tw.add(watcherPath, watcher);\n\t\t\t\t\tif (old !== undefined) old.remove(watcher);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (const filePath of filePaths) {\n\t\t\t\t\tconst w = createDirectWatcher(filePath);\n\t\t\t\t\tfor (const watcher of entry.keys()) {\n\t\t\t\t\t\tconst old = underlyingWatcher.get(watcher);\n\t\t\t\t\t\tif (old === w) continue;\n\t\t\t\t\t\tw.add(watcher);\n\t\t\t\t\t\tif (old !== undefined) old.remove(watcher);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\nexports.watch = filePath => {\n\tconst watcher = new Watcher();\n\t// Find an existing watcher\n\tconst directWatcher = directWatchers.get(filePath);\n\tif (directWatcher !== undefined) {\n\t\tdirectWatcher.add(watcher);\n\t\treturn watcher;\n\t}\n\tlet current = filePath;\n\tfor (;;) {\n\t\tconst recursiveWatcher = recursiveWatchers.get(current);\n\t\tif (recursiveWatcher !== undefined) {\n\t\t\trecursiveWatcher.add(filePath, watcher);\n\t\t\treturn watcher;\n\t\t}\n\t\tconst parent = path.dirname(current);\n\t\tif (parent === current) break;\n\t\tcurrent = parent;\n\t}\n\t// Queue up watcher for creation\n\tpendingWatchers.set(watcher, filePath);\n\tif (!isBatch) execute();\n\treturn watcher;\n};\n\nexports.batch = fn => {\n\tisBatch = true;\n\ttry {\n\t\tfn();\n\t} finally {\n\t\tisBatch = false;\n\t\texecute();\n\t}\n};\n\nexports.getNumberOfWatchers = () => {\n\treturn watcherCount;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/watchEventSource.js?"); /***/ }), /***/ "./node_modules/watchpack/lib/watchpack.js": /*!*************************************************!*\ !*** ./node_modules/watchpack/lib/watchpack.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst getWatcherManager = __webpack_require__(/*! ./getWatcherManager */ \"./node_modules/watchpack/lib/getWatcherManager.js\");\nconst LinkResolver = __webpack_require__(/*! ./LinkResolver */ \"./node_modules/watchpack/lib/LinkResolver.js\");\nconst EventEmitter = (__webpack_require__(/*! events */ \"./node_modules/events/events.js\").EventEmitter);\nconst globToRegExp = __webpack_require__(/*! glob-to-regexp */ \"./node_modules/glob-to-regexp/index.js\");\nconst watchEventSource = __webpack_require__(/*! ./watchEventSource */ \"./node_modules/watchpack/lib/watchEventSource.js\");\n\nconst EMPTY_ARRAY = [];\nconst EMPTY_OPTIONS = {};\n\nfunction addWatchersToSet(watchers, set) {\n\tfor (const ww of watchers) {\n\t\tconst w = ww.watcher;\n\t\tif (!set.has(w.directoryWatcher)) {\n\t\t\tset.add(w.directoryWatcher);\n\t\t}\n\t}\n}\n\nconst stringToRegexp = ignored => {\n\tconst source = globToRegExp(ignored, { globstar: true, extended: true })\n\t\t.source;\n\tconst matchingStart = source.slice(0, source.length - 1) + \"(?:$|\\\\/)\";\n\treturn matchingStart;\n};\n\nconst ignoredToFunction = ignored => {\n\tif (Array.isArray(ignored)) {\n\t\tconst regexp = new RegExp(ignored.map(i => stringToRegexp(i)).join(\"|\"));\n\t\treturn x => regexp.test(x.replace(/\\\\/g, \"/\"));\n\t} else if (typeof ignored === \"string\") {\n\t\tconst regexp = new RegExp(stringToRegexp(ignored));\n\t\treturn x => regexp.test(x.replace(/\\\\/g, \"/\"));\n\t} else if (ignored instanceof RegExp) {\n\t\treturn x => ignored.test(x.replace(/\\\\/g, \"/\"));\n\t} else if (ignored instanceof Function) {\n\t\treturn ignored;\n\t} else if (ignored) {\n\t\tthrow new Error(`Invalid option for 'ignored': ${ignored}`);\n\t} else {\n\t\treturn () => false;\n\t}\n};\n\nconst normalizeOptions = options => {\n\treturn {\n\t\tfollowSymlinks: !!options.followSymlinks,\n\t\tignored: ignoredToFunction(options.ignored),\n\t\tpoll: options.poll\n\t};\n};\n\nconst normalizeCache = new WeakMap();\nconst cachedNormalizeOptions = options => {\n\tconst cacheEntry = normalizeCache.get(options);\n\tif (cacheEntry !== undefined) return cacheEntry;\n\tconst normalized = normalizeOptions(options);\n\tnormalizeCache.set(options, normalized);\n\treturn normalized;\n};\n\nclass WatchpackFileWatcher {\n\tconstructor(watchpack, watcher, files) {\n\t\tthis.files = Array.isArray(files) ? files : [files];\n\t\tthis.watcher = watcher;\n\t\twatcher.on(\"initial-missing\", type => {\n\t\t\tfor (const file of this.files) {\n\t\t\t\tif (!watchpack._missing.has(file))\n\t\t\t\t\twatchpack._onRemove(file, file, type);\n\t\t\t}\n\t\t});\n\t\twatcher.on(\"change\", (mtime, type) => {\n\t\t\tfor (const file of this.files) {\n\t\t\t\twatchpack._onChange(file, mtime, file, type);\n\t\t\t}\n\t\t});\n\t\twatcher.on(\"remove\", type => {\n\t\t\tfor (const file of this.files) {\n\t\t\t\twatchpack._onRemove(file, file, type);\n\t\t\t}\n\t\t});\n\t}\n\n\tupdate(files) {\n\t\tif (!Array.isArray(files)) {\n\t\t\tif (this.files.length !== 1) {\n\t\t\t\tthis.files = [files];\n\t\t\t} else if (this.files[0] !== files) {\n\t\t\t\tthis.files[0] = files;\n\t\t\t}\n\t\t} else {\n\t\t\tthis.files = files;\n\t\t}\n\t}\n\n\tclose() {\n\t\tthis.watcher.close();\n\t}\n}\n\nclass WatchpackDirectoryWatcher {\n\tconstructor(watchpack, watcher, directories) {\n\t\tthis.directories = Array.isArray(directories) ? directories : [directories];\n\t\tthis.watcher = watcher;\n\t\twatcher.on(\"initial-missing\", type => {\n\t\t\tfor (const item of this.directories) {\n\t\t\t\twatchpack._onRemove(item, item, type);\n\t\t\t}\n\t\t});\n\t\twatcher.on(\"change\", (file, mtime, type) => {\n\t\t\tfor (const item of this.directories) {\n\t\t\t\twatchpack._onChange(item, mtime, file, type);\n\t\t\t}\n\t\t});\n\t\twatcher.on(\"remove\", type => {\n\t\t\tfor (const item of this.directories) {\n\t\t\t\twatchpack._onRemove(item, item, type);\n\t\t\t}\n\t\t});\n\t}\n\n\tupdate(directories) {\n\t\tif (!Array.isArray(directories)) {\n\t\t\tif (this.directories.length !== 1) {\n\t\t\t\tthis.directories = [directories];\n\t\t\t} else if (this.directories[0] !== directories) {\n\t\t\t\tthis.directories[0] = directories;\n\t\t\t}\n\t\t} else {\n\t\t\tthis.directories = directories;\n\t\t}\n\t}\n\n\tclose() {\n\t\tthis.watcher.close();\n\t}\n}\n\nclass Watchpack extends EventEmitter {\n\tconstructor(options) {\n\t\tsuper();\n\t\tif (!options) options = EMPTY_OPTIONS;\n\t\tthis.options = options;\n\t\tthis.aggregateTimeout =\n\t\t\ttypeof options.aggregateTimeout === \"number\"\n\t\t\t\t? options.aggregateTimeout\n\t\t\t\t: 200;\n\t\tthis.watcherOptions = cachedNormalizeOptions(options);\n\t\tthis.watcherManager = getWatcherManager(this.watcherOptions);\n\t\tthis.fileWatchers = new Map();\n\t\tthis.directoryWatchers = new Map();\n\t\tthis._missing = new Set();\n\t\tthis.startTime = undefined;\n\t\tthis.paused = false;\n\t\tthis.aggregatedChanges = new Set();\n\t\tthis.aggregatedRemovals = new Set();\n\t\tthis.aggregateTimer = undefined;\n\t\tthis._onTimeout = this._onTimeout.bind(this);\n\t}\n\n\twatch(arg1, arg2, arg3) {\n\t\tlet files, directories, missing, startTime;\n\t\tif (!arg2) {\n\t\t\t({\n\t\t\t\tfiles = EMPTY_ARRAY,\n\t\t\t\tdirectories = EMPTY_ARRAY,\n\t\t\t\tmissing = EMPTY_ARRAY,\n\t\t\t\tstartTime\n\t\t\t} = arg1);\n\t\t} else {\n\t\t\tfiles = arg1;\n\t\t\tdirectories = arg2;\n\t\t\tmissing = EMPTY_ARRAY;\n\t\t\tstartTime = arg3;\n\t\t}\n\t\tthis.paused = false;\n\t\tconst fileWatchers = this.fileWatchers;\n\t\tconst directoryWatchers = this.directoryWatchers;\n\t\tconst ignored = this.watcherOptions.ignored;\n\t\tconst filter = path => !ignored(path);\n\t\tconst addToMap = (map, key, item) => {\n\t\t\tconst list = map.get(key);\n\t\t\tif (list === undefined) {\n\t\t\t\tmap.set(key, item);\n\t\t\t} else if (Array.isArray(list)) {\n\t\t\t\tlist.push(item);\n\t\t\t} else {\n\t\t\t\tmap.set(key, [list, item]);\n\t\t\t}\n\t\t};\n\t\tconst fileWatchersNeeded = new Map();\n\t\tconst directoryWatchersNeeded = new Map();\n\t\tconst missingFiles = new Set();\n\t\tif (this.watcherOptions.followSymlinks) {\n\t\t\tconst resolver = new LinkResolver();\n\t\t\tfor (const file of files) {\n\t\t\t\tif (filter(file)) {\n\t\t\t\t\tfor (const innerFile of resolver.resolve(file)) {\n\t\t\t\t\t\tif (file === innerFile || filter(innerFile)) {\n\t\t\t\t\t\t\taddToMap(fileWatchersNeeded, innerFile, file);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const file of missing) {\n\t\t\t\tif (filter(file)) {\n\t\t\t\t\tfor (const innerFile of resolver.resolve(file)) {\n\t\t\t\t\t\tif (file === innerFile || filter(innerFile)) {\n\t\t\t\t\t\t\tmissingFiles.add(file);\n\t\t\t\t\t\t\taddToMap(fileWatchersNeeded, innerFile, file);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const dir of directories) {\n\t\t\t\tif (filter(dir)) {\n\t\t\t\t\tlet first = true;\n\t\t\t\t\tfor (const innerItem of resolver.resolve(dir)) {\n\t\t\t\t\t\tif (filter(innerItem)) {\n\t\t\t\t\t\t\taddToMap(\n\t\t\t\t\t\t\t\tfirst ? directoryWatchersNeeded : fileWatchersNeeded,\n\t\t\t\t\t\t\t\tinnerItem,\n\t\t\t\t\t\t\t\tdir\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (const file of files) {\n\t\t\t\tif (filter(file)) {\n\t\t\t\t\taddToMap(fileWatchersNeeded, file, file);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const file of missing) {\n\t\t\t\tif (filter(file)) {\n\t\t\t\t\tmissingFiles.add(file);\n\t\t\t\t\taddToMap(fileWatchersNeeded, file, file);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const dir of directories) {\n\t\t\t\tif (filter(dir)) {\n\t\t\t\t\taddToMap(directoryWatchersNeeded, dir, dir);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// Close unneeded old watchers\n\t\t// and update existing watchers\n\t\tfor (const [key, w] of fileWatchers) {\n\t\t\tconst needed = fileWatchersNeeded.get(key);\n\t\t\tif (needed === undefined) {\n\t\t\t\tw.close();\n\t\t\t\tfileWatchers.delete(key);\n\t\t\t} else {\n\t\t\t\tw.update(needed);\n\t\t\t\tfileWatchersNeeded.delete(key);\n\t\t\t}\n\t\t}\n\t\tfor (const [key, w] of directoryWatchers) {\n\t\t\tconst needed = directoryWatchersNeeded.get(key);\n\t\t\tif (needed === undefined) {\n\t\t\t\tw.close();\n\t\t\t\tdirectoryWatchers.delete(key);\n\t\t\t} else {\n\t\t\t\tw.update(needed);\n\t\t\t\tdirectoryWatchersNeeded.delete(key);\n\t\t\t}\n\t\t}\n\t\t// Create new watchers and install handlers on these watchers\n\t\twatchEventSource.batch(() => {\n\t\t\tfor (const [key, files] of fileWatchersNeeded) {\n\t\t\t\tconst watcher = this.watcherManager.watchFile(key, startTime);\n\t\t\t\tif (watcher) {\n\t\t\t\t\tfileWatchers.set(key, new WatchpackFileWatcher(this, watcher, files));\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const [key, directories] of directoryWatchersNeeded) {\n\t\t\t\tconst watcher = this.watcherManager.watchDirectory(key, startTime);\n\t\t\t\tif (watcher) {\n\t\t\t\t\tdirectoryWatchers.set(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t\tnew WatchpackDirectoryWatcher(this, watcher, directories)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tthis._missing = missingFiles;\n\t\tthis.startTime = startTime;\n\t}\n\n\tclose() {\n\t\tthis.paused = true;\n\t\tif (this.aggregateTimer) clearTimeout(this.aggregateTimer);\n\t\tfor (const w of this.fileWatchers.values()) w.close();\n\t\tfor (const w of this.directoryWatchers.values()) w.close();\n\t\tthis.fileWatchers.clear();\n\t\tthis.directoryWatchers.clear();\n\t}\n\n\tpause() {\n\t\tthis.paused = true;\n\t\tif (this.aggregateTimer) clearTimeout(this.aggregateTimer);\n\t}\n\n\tgetTimes() {\n\t\tconst directoryWatchers = new Set();\n\t\taddWatchersToSet(this.fileWatchers.values(), directoryWatchers);\n\t\taddWatchersToSet(this.directoryWatchers.values(), directoryWatchers);\n\t\tconst obj = Object.create(null);\n\t\tfor (const w of directoryWatchers) {\n\t\t\tconst times = w.getTimes();\n\t\t\tfor (const file of Object.keys(times)) obj[file] = times[file];\n\t\t}\n\t\treturn obj;\n\t}\n\n\tgetTimeInfoEntries() {\n\t\tconst map = new Map();\n\t\tthis.collectTimeInfoEntries(map, map);\n\t\treturn map;\n\t}\n\n\tcollectTimeInfoEntries(fileTimestamps, directoryTimestamps) {\n\t\tconst allWatchers = new Set();\n\t\taddWatchersToSet(this.fileWatchers.values(), allWatchers);\n\t\taddWatchersToSet(this.directoryWatchers.values(), allWatchers);\n\t\tconst safeTime = { value: 0 };\n\t\tfor (const w of allWatchers) {\n\t\t\tw.collectTimeInfoEntries(fileTimestamps, directoryTimestamps, safeTime);\n\t\t}\n\t}\n\n\tgetAggregated() {\n\t\tif (this.aggregateTimer) {\n\t\t\tclearTimeout(this.aggregateTimer);\n\t\t\tthis.aggregateTimer = undefined;\n\t\t}\n\t\tconst changes = this.aggregatedChanges;\n\t\tconst removals = this.aggregatedRemovals;\n\t\tthis.aggregatedChanges = new Set();\n\t\tthis.aggregatedRemovals = new Set();\n\t\treturn { changes, removals };\n\t}\n\n\t_onChange(item, mtime, file, type) {\n\t\tfile = file || item;\n\t\tif (!this.paused) {\n\t\t\tthis.emit(\"change\", file, mtime, type);\n\t\t\tif (this.aggregateTimer) clearTimeout(this.aggregateTimer);\n\t\t\tthis.aggregateTimer = setTimeout(this._onTimeout, this.aggregateTimeout);\n\t\t}\n\t\tthis.aggregatedRemovals.delete(item);\n\t\tthis.aggregatedChanges.add(item);\n\t}\n\n\t_onRemove(item, file, type) {\n\t\tfile = file || item;\n\t\tif (!this.paused) {\n\t\t\tthis.emit(\"remove\", file, type);\n\t\t\tif (this.aggregateTimer) clearTimeout(this.aggregateTimer);\n\t\t\tthis.aggregateTimer = setTimeout(this._onTimeout, this.aggregateTimeout);\n\t\t}\n\t\tthis.aggregatedChanges.delete(item);\n\t\tthis.aggregatedRemovals.add(item);\n\t}\n\n\t_onTimeout() {\n\t\tthis.aggregateTimer = undefined;\n\t\tconst changes = this.aggregatedChanges;\n\t\tconst removals = this.aggregatedRemovals;\n\t\tthis.aggregatedChanges = new Set();\n\t\tthis.aggregatedRemovals = new Set();\n\t\tthis.emit(\"aggregated\", changes, removals);\n\t}\n}\n\nmodule.exports = Watchpack;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/watchpack/lib/watchpack.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/CachedSource.js": /*!**********************************************************!*\ !*** ./node_modules/webpack-sources/lib/CachedSource.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst streamChunksOfSourceMap = __webpack_require__(/*! ./helpers/streamChunksOfSourceMap */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js\");\nconst streamChunksOfRawSource = __webpack_require__(/*! ./helpers/streamChunksOfRawSource */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js\");\nconst streamAndGetSourceAndMap = __webpack_require__(/*! ./helpers/streamAndGetSourceAndMap */ \"./node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js\");\n\nconst mapToBufferedMap = map => {\n\tif (typeof map !== \"object\" || !map) return map;\n\tconst bufferedMap = Object.assign({}, map);\n\tif (map.mappings) {\n\t\tbufferedMap.mappings = Buffer.from(map.mappings, \"utf-8\");\n\t}\n\tif (map.sourcesContent) {\n\t\tbufferedMap.sourcesContent = map.sourcesContent.map(\n\t\t\tstr => str && Buffer.from(str, \"utf-8\")\n\t\t);\n\t}\n\treturn bufferedMap;\n};\n\nconst bufferedMapToMap = bufferedMap => {\n\tif (typeof bufferedMap !== \"object\" || !bufferedMap) return bufferedMap;\n\tconst map = Object.assign({}, bufferedMap);\n\tif (bufferedMap.mappings) {\n\t\tmap.mappings = bufferedMap.mappings.toString(\"utf-8\");\n\t}\n\tif (bufferedMap.sourcesContent) {\n\t\tmap.sourcesContent = bufferedMap.sourcesContent.map(\n\t\t\tbuffer => buffer && buffer.toString(\"utf-8\")\n\t\t);\n\t}\n\treturn map;\n};\n\nclass CachedSource extends Source {\n\tconstructor(source, cachedData) {\n\t\tsuper();\n\t\tthis._source = source;\n\t\tthis._cachedSourceType = cachedData ? cachedData.source : undefined;\n\t\tthis._cachedSource = undefined;\n\t\tthis._cachedBuffer = cachedData ? cachedData.buffer : undefined;\n\t\tthis._cachedSize = cachedData ? cachedData.size : undefined;\n\t\tthis._cachedMaps = cachedData ? cachedData.maps : new Map();\n\t\tthis._cachedHashUpdate = cachedData ? cachedData.hash : undefined;\n\t}\n\n\tgetCachedData() {\n\t\tconst bufferedMaps = new Map();\n\t\tfor (const pair of this._cachedMaps) {\n\t\t\tlet cacheEntry = pair[1];\n\t\t\tif (cacheEntry.bufferedMap === undefined) {\n\t\t\t\tcacheEntry.bufferedMap = mapToBufferedMap(\n\t\t\t\t\tthis._getMapFromCacheEntry(cacheEntry)\n\t\t\t\t);\n\t\t\t}\n\t\t\tbufferedMaps.set(pair[0], {\n\t\t\t\tmap: undefined,\n\t\t\t\tbufferedMap: cacheEntry.bufferedMap\n\t\t\t});\n\t\t}\n\t\t// We don't want to cache strings\n\t\t// So if we have a caches sources\n\t\t// create a buffer from it and only store\n\t\t// if it was a Buffer or string\n\t\tif (this._cachedSource) {\n\t\t\tthis.buffer();\n\t\t}\n\t\treturn {\n\t\t\tbuffer: this._cachedBuffer,\n\t\t\tsource:\n\t\t\t\tthis._cachedSourceType !== undefined\n\t\t\t\t\t? this._cachedSourceType\n\t\t\t\t\t: typeof this._cachedSource === \"string\"\n\t\t\t\t\t? true\n\t\t\t\t\t: Buffer.isBuffer(this._cachedSource)\n\t\t\t\t\t? false\n\t\t\t\t\t: undefined,\n\t\t\tsize: this._cachedSize,\n\t\t\tmaps: bufferedMaps,\n\t\t\thash: this._cachedHashUpdate\n\t\t};\n\t}\n\n\toriginalLazy() {\n\t\treturn this._source;\n\t}\n\n\toriginal() {\n\t\tif (typeof this._source === \"function\") this._source = this._source();\n\t\treturn this._source;\n\t}\n\n\tsource() {\n\t\tconst source = this._getCachedSource();\n\t\tif (source !== undefined) return source;\n\t\treturn (this._cachedSource = this.original().source());\n\t}\n\n\t_getMapFromCacheEntry(cacheEntry) {\n\t\tif (cacheEntry.map !== undefined) {\n\t\t\treturn cacheEntry.map;\n\t\t} else if (cacheEntry.bufferedMap !== undefined) {\n\t\t\treturn (cacheEntry.map = bufferedMapToMap(cacheEntry.bufferedMap));\n\t\t}\n\t}\n\n\t_getCachedSource() {\n\t\tif (this._cachedSource !== undefined) return this._cachedSource;\n\t\tif (this._cachedBuffer && this._cachedSourceType !== undefined) {\n\t\t\treturn (this._cachedSource = this._cachedSourceType\n\t\t\t\t? this._cachedBuffer.toString(\"utf-8\")\n\t\t\t\t: this._cachedBuffer);\n\t\t}\n\t}\n\n\tbuffer() {\n\t\tif (this._cachedBuffer !== undefined) return this._cachedBuffer;\n\t\tif (this._cachedSource !== undefined) {\n\t\t\tif (Buffer.isBuffer(this._cachedSource)) {\n\t\t\t\treturn (this._cachedBuffer = this._cachedSource);\n\t\t\t}\n\t\t\treturn (this._cachedBuffer = Buffer.from(this._cachedSource, \"utf-8\"));\n\t\t}\n\t\tif (typeof this.original().buffer === \"function\") {\n\t\t\treturn (this._cachedBuffer = this.original().buffer());\n\t\t}\n\t\tconst bufferOrString = this.source();\n\t\tif (Buffer.isBuffer(bufferOrString)) {\n\t\t\treturn (this._cachedBuffer = bufferOrString);\n\t\t}\n\t\treturn (this._cachedBuffer = Buffer.from(bufferOrString, \"utf-8\"));\n\t}\n\n\tsize() {\n\t\tif (this._cachedSize !== undefined) return this._cachedSize;\n\t\tif (this._cachedBuffer !== undefined) {\n\t\t\treturn (this._cachedSize = this._cachedBuffer.length);\n\t\t}\n\t\tconst source = this._getCachedSource();\n\t\tif (source !== undefined) {\n\t\t\treturn (this._cachedSize = Buffer.byteLength(source));\n\t\t}\n\t\treturn (this._cachedSize = this.original().size());\n\t}\n\n\tsourceAndMap(options) {\n\t\tconst key = options ? JSON.stringify(options) : \"{}\";\n\t\tconst cacheEntry = this._cachedMaps.get(key);\n\t\t// Look for a cached map\n\t\tif (cacheEntry !== undefined) {\n\t\t\t// We have a cached map in some representation\n\t\t\tconst map = this._getMapFromCacheEntry(cacheEntry);\n\t\t\t// Either get the cached source or compute it\n\t\t\treturn { source: this.source(), map };\n\t\t}\n\t\t// Look for a cached source\n\t\tlet source = this._getCachedSource();\n\t\t// Compute the map\n\t\tlet map;\n\t\tif (source !== undefined) {\n\t\t\tmap = this.original().map(options);\n\t\t} else {\n\t\t\t// Compute the source and map together.\n\t\t\tconst sourceAndMap = this.original().sourceAndMap(options);\n\t\t\tsource = sourceAndMap.source;\n\t\t\tmap = sourceAndMap.map;\n\t\t\tthis._cachedSource = source;\n\t\t}\n\t\tthis._cachedMaps.set(key, {\n\t\t\tmap,\n\t\t\tbufferedMap: undefined\n\t\t});\n\t\treturn { source, map };\n\t}\n\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tconst key = options ? JSON.stringify(options) : \"{}\";\n\t\tif (\n\t\t\tthis._cachedMaps.has(key) &&\n\t\t\t(this._cachedBuffer !== undefined || this._cachedSource !== undefined)\n\t\t) {\n\t\t\tconst { source, map } = this.sourceAndMap(options);\n\t\t\tif (map) {\n\t\t\t\treturn streamChunksOfSourceMap(\n\t\t\t\t\tsource,\n\t\t\t\t\tmap,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName,\n\t\t\t\t\t!!(options && options.finalSource),\n\t\t\t\t\ttrue\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\treturn streamChunksOfRawSource(\n\t\t\t\t\tsource,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName,\n\t\t\t\t\t!!(options && options.finalSource)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tconst { result, source, map } = streamAndGetSourceAndMap(\n\t\t\tthis.original(),\n\t\t\toptions,\n\t\t\tonChunk,\n\t\t\tonSource,\n\t\t\tonName\n\t\t);\n\t\tthis._cachedSource = source;\n\t\tthis._cachedMaps.set(key, {\n\t\t\tmap,\n\t\t\tbufferedMap: undefined\n\t\t});\n\t\treturn result;\n\t}\n\n\tmap(options) {\n\t\tconst key = options ? JSON.stringify(options) : \"{}\";\n\t\tconst cacheEntry = this._cachedMaps.get(key);\n\t\tif (cacheEntry !== undefined) {\n\t\t\treturn this._getMapFromCacheEntry(cacheEntry);\n\t\t}\n\t\tconst map = this.original().map(options);\n\t\tthis._cachedMaps.set(key, {\n\t\t\tmap,\n\t\t\tbufferedMap: undefined\n\t\t});\n\t\treturn map;\n\t}\n\n\tupdateHash(hash) {\n\t\tif (this._cachedHashUpdate !== undefined) {\n\t\t\tfor (const item of this._cachedHashUpdate) hash.update(item);\n\t\t\treturn;\n\t\t}\n\t\tconst update = [];\n\t\tlet currentString = undefined;\n\t\tconst tracker = {\n\t\t\tupdate: item => {\n\t\t\t\tif (typeof item === \"string\" && item.length < 10240) {\n\t\t\t\t\tif (currentString === undefined) {\n\t\t\t\t\t\tcurrentString = item;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentString += item;\n\t\t\t\t\t\tif (currentString.length > 102400) {\n\t\t\t\t\t\t\tupdate.push(Buffer.from(currentString));\n\t\t\t\t\t\t\tcurrentString = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (currentString !== undefined) {\n\t\t\t\t\t\tupdate.push(Buffer.from(currentString));\n\t\t\t\t\t\tcurrentString = undefined;\n\t\t\t\t\t}\n\t\t\t\t\tupdate.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tthis.original().updateHash(tracker);\n\t\tif (currentString !== undefined) {\n\t\t\tupdate.push(Buffer.from(currentString));\n\t\t}\n\t\tfor (const item of update) hash.update(item);\n\t\tthis._cachedHashUpdate = update;\n\t}\n}\n\nmodule.exports = CachedSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/CachedSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/CompatSource.js": /*!**********************************************************!*\ !*** ./node_modules/webpack-sources/lib/CompatSource.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\n\nclass CompatSource extends Source {\n\tstatic from(sourceLike) {\n\t\treturn sourceLike instanceof Source\n\t\t\t? sourceLike\n\t\t\t: new CompatSource(sourceLike);\n\t}\n\n\tconstructor(sourceLike) {\n\t\tsuper();\n\t\tthis._sourceLike = sourceLike;\n\t}\n\n\tsource() {\n\t\treturn this._sourceLike.source();\n\t}\n\n\tbuffer() {\n\t\tif (typeof this._sourceLike.buffer === \"function\") {\n\t\t\treturn this._sourceLike.buffer();\n\t\t}\n\t\treturn super.buffer();\n\t}\n\n\tsize() {\n\t\tif (typeof this._sourceLike.size === \"function\") {\n\t\t\treturn this._sourceLike.size();\n\t\t}\n\t\treturn super.size();\n\t}\n\n\tmap(options) {\n\t\tif (typeof this._sourceLike.map === \"function\") {\n\t\t\treturn this._sourceLike.map(options);\n\t\t}\n\t\treturn super.map(options);\n\t}\n\n\tsourceAndMap(options) {\n\t\tif (typeof this._sourceLike.sourceAndMap === \"function\") {\n\t\t\treturn this._sourceLike.sourceAndMap(options);\n\t\t}\n\t\treturn super.sourceAndMap(options);\n\t}\n\n\tupdateHash(hash) {\n\t\tif (typeof this._sourceLike.updateHash === \"function\") {\n\t\t\treturn this._sourceLike.updateHash(hash);\n\t\t}\n\t\tif (typeof this._sourceLike.map === \"function\") {\n\t\t\tthrow new Error(\n\t\t\t\t\"A Source-like object with a 'map' method must also provide an 'updateHash' method\"\n\t\t\t);\n\t\t}\n\t\thash.update(this.buffer());\n\t}\n}\n\nmodule.exports = CompatSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/CompatSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/ConcatSource.js": /*!**********************************************************!*\ !*** ./node_modules/webpack-sources/lib/ConcatSource.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst RawSource = __webpack_require__(/*! ./RawSource */ \"./node_modules/webpack-sources/lib/RawSource.js\");\nconst streamChunks = __webpack_require__(/*! ./helpers/streamChunks */ \"./node_modules/webpack-sources/lib/helpers/streamChunks.js\");\nconst { getMap, getSourceAndMap } = __webpack_require__(/*! ./helpers/getFromStreamChunks */ \"./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js\");\n\nconst stringsAsRawSources = new WeakSet();\n\nclass ConcatSource extends Source {\n\tconstructor() {\n\t\tsuper();\n\t\tthis._children = [];\n\t\tfor (let i = 0; i < arguments.length; i++) {\n\t\t\tconst item = arguments[i];\n\t\t\tif (item instanceof ConcatSource) {\n\t\t\t\tfor (const child of item._children) {\n\t\t\t\t\tthis._children.push(child);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._children.push(item);\n\t\t\t}\n\t\t}\n\t\tthis._isOptimized = arguments.length === 0;\n\t}\n\n\tgetChildren() {\n\t\tif (!this._isOptimized) this._optimize();\n\t\treturn this._children;\n\t}\n\n\tadd(item) {\n\t\tif (item instanceof ConcatSource) {\n\t\t\tfor (const child of item._children) {\n\t\t\t\tthis._children.push(child);\n\t\t\t}\n\t\t} else {\n\t\t\tthis._children.push(item);\n\t\t}\n\t\tthis._isOptimized = false;\n\t}\n\n\taddAllSkipOptimizing(items) {\n\t\tfor (const item of items) {\n\t\t\tthis._children.push(item);\n\t\t}\n\t}\n\n\tbuffer() {\n\t\tif (!this._isOptimized) this._optimize();\n\t\tconst buffers = [];\n\t\tfor (const child of this._children) {\n\t\t\tif (typeof child.buffer === \"function\") {\n\t\t\t\tbuffers.push(child.buffer());\n\t\t\t} else {\n\t\t\t\tconst bufferOrString = child.source();\n\t\t\t\tif (Buffer.isBuffer(bufferOrString)) {\n\t\t\t\t\tbuffers.push(bufferOrString);\n\t\t\t\t} else {\n\t\t\t\t\t// This will not happen\n\t\t\t\t\tbuffers.push(Buffer.from(bufferOrString, \"utf-8\"));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn Buffer.concat(buffers);\n\t}\n\n\tsource() {\n\t\tif (!this._isOptimized) this._optimize();\n\t\tlet source = \"\";\n\t\tfor (const child of this._children) {\n\t\t\tsource += child.source();\n\t\t}\n\t\treturn source;\n\t}\n\n\tsize() {\n\t\tif (!this._isOptimized) this._optimize();\n\t\tlet size = 0;\n\t\tfor (const child of this._children) {\n\t\t\tsize += child.size();\n\t\t}\n\t\treturn size;\n\t}\n\n\tmap(options) {\n\t\treturn getMap(this, options);\n\t}\n\n\tsourceAndMap(options) {\n\t\treturn getSourceAndMap(this, options);\n\t}\n\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tif (!this._isOptimized) this._optimize();\n\t\tif (this._children.length === 1)\n\t\t\treturn this._children[0].streamChunks(options, onChunk, onSource, onName);\n\t\tlet currentLineOffset = 0;\n\t\tlet currentColumnOffset = 0;\n\t\tlet sourceMapping = new Map();\n\t\tlet nameMapping = new Map();\n\t\tconst finalSource = !!(options && options.finalSource);\n\t\tlet code = \"\";\n\t\tlet needToCloseMapping = false;\n\t\tfor (const item of this._children) {\n\t\t\tconst sourceIndexMapping = [];\n\t\t\tconst nameIndexMapping = [];\n\t\t\tlet lastMappingLine = 0;\n\t\t\tconst { generatedLine, generatedColumn, source } = streamChunks(\n\t\t\t\titem,\n\t\t\t\toptions,\n\t\t\t\t// eslint-disable-next-line no-loop-func\n\t\t\t\t(\n\t\t\t\t\tchunk,\n\t\t\t\t\tgeneratedLine,\n\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\tsourceIndex,\n\t\t\t\t\toriginalLine,\n\t\t\t\t\toriginalColumn,\n\t\t\t\t\tnameIndex\n\t\t\t\t) => {\n\t\t\t\t\tconst line = generatedLine + currentLineOffset;\n\t\t\t\t\tconst column =\n\t\t\t\t\t\tgeneratedLine === 1\n\t\t\t\t\t\t\t? generatedColumn + currentColumnOffset\n\t\t\t\t\t\t\t: generatedColumn;\n\t\t\t\t\tif (needToCloseMapping) {\n\t\t\t\t\t\tif (generatedLine !== 1 || generatedColumn !== 0) {\n\t\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\tcurrentLineOffset + 1,\n\t\t\t\t\t\t\t\tcurrentColumnOffset,\n\t\t\t\t\t\t\t\t-1,\n\t\t\t\t\t\t\t\t-1,\n\t\t\t\t\t\t\t\t-1,\n\t\t\t\t\t\t\t\t-1\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tneedToCloseMapping = false;\n\t\t\t\t\t}\n\t\t\t\t\tconst resultSourceIndex =\n\t\t\t\t\t\tsourceIndex < 0 || sourceIndex >= sourceIndexMapping.length\n\t\t\t\t\t\t\t? -1\n\t\t\t\t\t\t\t: sourceIndexMapping[sourceIndex];\n\t\t\t\t\tconst resultNameIndex =\n\t\t\t\t\t\tnameIndex < 0 || nameIndex >= nameIndexMapping.length\n\t\t\t\t\t\t\t? -1\n\t\t\t\t\t\t\t: nameIndexMapping[nameIndex];\n\t\t\t\t\tlastMappingLine = resultSourceIndex < 0 ? 0 : generatedLine;\n\t\t\t\t\tif (finalSource) {\n\t\t\t\t\t\tif (chunk !== undefined) code += chunk;\n\t\t\t\t\t\tif (resultSourceIndex >= 0) {\n\t\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\tline,\n\t\t\t\t\t\t\t\tcolumn,\n\t\t\t\t\t\t\t\tresultSourceIndex,\n\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\tresultNameIndex\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (resultSourceIndex < 0) {\n\t\t\t\t\t\t\tonChunk(chunk, line, column, -1, -1, -1, -1);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tline,\n\t\t\t\t\t\t\t\tcolumn,\n\t\t\t\t\t\t\t\tresultSourceIndex,\n\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\tresultNameIndex\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t(i, source, sourceContent) => {\n\t\t\t\t\tlet globalIndex = sourceMapping.get(source);\n\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\tsourceMapping.set(source, (globalIndex = sourceMapping.size));\n\t\t\t\t\t\tonSource(globalIndex, source, sourceContent);\n\t\t\t\t\t}\n\t\t\t\t\tsourceIndexMapping[i] = globalIndex;\n\t\t\t\t},\n\t\t\t\t(i, name) => {\n\t\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\tnameMapping.set(name, (globalIndex = nameMapping.size));\n\t\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t\t}\n\t\t\t\t\tnameIndexMapping[i] = globalIndex;\n\t\t\t\t}\n\t\t\t);\n\t\t\tif (source !== undefined) code += source;\n\t\t\tif (needToCloseMapping) {\n\t\t\t\tif (generatedLine !== 1 || generatedColumn !== 0) {\n\t\t\t\t\tonChunk(\n\t\t\t\t\t\tundefined,\n\t\t\t\t\t\tcurrentLineOffset + 1,\n\t\t\t\t\t\tcurrentColumnOffset,\n\t\t\t\t\t\t-1,\n\t\t\t\t\t\t-1,\n\t\t\t\t\t\t-1,\n\t\t\t\t\t\t-1\n\t\t\t\t\t);\n\t\t\t\t\tneedToCloseMapping = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (generatedLine > 1) {\n\t\t\t\tcurrentColumnOffset = generatedColumn;\n\t\t\t} else {\n\t\t\t\tcurrentColumnOffset += generatedColumn;\n\t\t\t}\n\t\t\tneedToCloseMapping =\n\t\t\t\tneedToCloseMapping ||\n\t\t\t\t(finalSource && lastMappingLine === generatedLine);\n\t\t\tcurrentLineOffset += generatedLine - 1;\n\t\t}\n\t\treturn {\n\t\t\tgeneratedLine: currentLineOffset + 1,\n\t\t\tgeneratedColumn: currentColumnOffset,\n\t\t\tsource: finalSource ? code : undefined\n\t\t};\n\t}\n\n\tupdateHash(hash) {\n\t\tif (!this._isOptimized) this._optimize();\n\t\thash.update(\"ConcatSource\");\n\t\tfor (const item of this._children) {\n\t\t\titem.updateHash(hash);\n\t\t}\n\t}\n\n\t_optimize() {\n\t\tconst newChildren = [];\n\t\tlet currentString = undefined;\n\t\tlet currentRawSources = undefined;\n\t\tconst addStringToRawSources = string => {\n\t\t\tif (currentRawSources === undefined) {\n\t\t\t\tcurrentRawSources = string;\n\t\t\t} else if (Array.isArray(currentRawSources)) {\n\t\t\t\tcurrentRawSources.push(string);\n\t\t\t} else {\n\t\t\t\tcurrentRawSources = [\n\t\t\t\t\ttypeof currentRawSources === \"string\"\n\t\t\t\t\t\t? currentRawSources\n\t\t\t\t\t\t: currentRawSources.source(),\n\t\t\t\t\tstring\n\t\t\t\t];\n\t\t\t}\n\t\t};\n\t\tconst addSourceToRawSources = source => {\n\t\t\tif (currentRawSources === undefined) {\n\t\t\t\tcurrentRawSources = source;\n\t\t\t} else if (Array.isArray(currentRawSources)) {\n\t\t\t\tcurrentRawSources.push(source.source());\n\t\t\t} else {\n\t\t\t\tcurrentRawSources = [\n\t\t\t\t\ttypeof currentRawSources === \"string\"\n\t\t\t\t\t\t? currentRawSources\n\t\t\t\t\t\t: currentRawSources.source(),\n\t\t\t\t\tsource.source()\n\t\t\t\t];\n\t\t\t}\n\t\t};\n\t\tconst mergeRawSources = () => {\n\t\t\tif (Array.isArray(currentRawSources)) {\n\t\t\t\tconst rawSource = new RawSource(currentRawSources.join(\"\"));\n\t\t\t\tstringsAsRawSources.add(rawSource);\n\t\t\t\tnewChildren.push(rawSource);\n\t\t\t} else if (typeof currentRawSources === \"string\") {\n\t\t\t\tconst rawSource = new RawSource(currentRawSources);\n\t\t\t\tstringsAsRawSources.add(rawSource);\n\t\t\t\tnewChildren.push(rawSource);\n\t\t\t} else {\n\t\t\t\tnewChildren.push(currentRawSources);\n\t\t\t}\n\t\t};\n\t\tfor (const child of this._children) {\n\t\t\tif (typeof child === \"string\") {\n\t\t\t\tif (currentString === undefined) {\n\t\t\t\t\tcurrentString = child;\n\t\t\t\t} else {\n\t\t\t\t\tcurrentString += child;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (currentString !== undefined) {\n\t\t\t\t\taddStringToRawSources(currentString);\n\t\t\t\t\tcurrentString = undefined;\n\t\t\t\t}\n\t\t\t\tif (stringsAsRawSources.has(child)) {\n\t\t\t\t\taddSourceToRawSources(child);\n\t\t\t\t} else {\n\t\t\t\t\tif (currentRawSources !== undefined) {\n\t\t\t\t\t\tmergeRawSources();\n\t\t\t\t\t\tcurrentRawSources = undefined;\n\t\t\t\t\t}\n\t\t\t\t\tnewChildren.push(child);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (currentString !== undefined) {\n\t\t\taddStringToRawSources(currentString);\n\t\t}\n\t\tif (currentRawSources !== undefined) {\n\t\t\tmergeRawSources();\n\t\t}\n\t\tthis._children = newChildren;\n\t\tthis._isOptimized = true;\n\t}\n}\n\nmodule.exports = ConcatSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/ConcatSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/OriginalSource.js": /*!************************************************************!*\ !*** ./node_modules/webpack-sources/lib/OriginalSource.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst { getMap, getSourceAndMap } = __webpack_require__(/*! ./helpers/getFromStreamChunks */ \"./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js\");\nconst splitIntoLines = __webpack_require__(/*! ./helpers/splitIntoLines */ \"./node_modules/webpack-sources/lib/helpers/splitIntoLines.js\");\nconst getGeneratedSourceInfo = __webpack_require__(/*! ./helpers/getGeneratedSourceInfo */ \"./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js\");\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst splitIntoPotentialTokens = __webpack_require__(/*! ./helpers/splitIntoPotentialTokens */ \"./node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js\");\n\nclass OriginalSource extends Source {\n\tconstructor(value, name) {\n\t\tsuper();\n\t\tconst isBuffer = Buffer.isBuffer(value);\n\t\tthis._value = isBuffer ? undefined : value;\n\t\tthis._valueAsBuffer = isBuffer ? value : undefined;\n\t\tthis._name = name;\n\t}\n\n\tgetName() {\n\t\treturn this._name;\n\t}\n\n\tsource() {\n\t\tif (this._value === undefined) {\n\t\t\tthis._value = this._valueAsBuffer.toString(\"utf-8\");\n\t\t}\n\t\treturn this._value;\n\t}\n\n\tbuffer() {\n\t\tif (this._valueAsBuffer === undefined) {\n\t\t\tthis._valueAsBuffer = Buffer.from(this._value, \"utf-8\");\n\t\t}\n\t\treturn this._valueAsBuffer;\n\t}\n\n\tmap(options) {\n\t\treturn getMap(this, options);\n\t}\n\n\tsourceAndMap(options) {\n\t\treturn getSourceAndMap(this, options);\n\t}\n\n\t/**\n\t * @param {object} options options\n\t * @param {function(string, number, number, number, number, number, number): void} onChunk called for each chunk of code\n\t * @param {function(number, string, string)} onSource called for each source\n\t * @param {function(number, string)} onName called for each name\n\t * @returns {void}\n\t */\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tif (this._value === undefined) {\n\t\t\tthis._value = this._valueAsBuffer.toString(\"utf-8\");\n\t\t}\n\t\tonSource(0, this._name, this._value);\n\t\tconst finalSource = !!(options && options.finalSource);\n\t\tif (!options || options.columns !== false) {\n\t\t\t// With column info we need to read all lines and split them\n\t\t\tconst matches = splitIntoPotentialTokens(this._value);\n\t\t\tlet line = 1;\n\t\t\tlet column = 0;\n\t\t\tif (matches !== null) {\n\t\t\t\tfor (const match of matches) {\n\t\t\t\t\tconst isEndOfLine = match.endsWith(\"\\n\");\n\t\t\t\t\tif (isEndOfLine && match.length === 1) {\n\t\t\t\t\t\tif (!finalSource) onChunk(match, line, column, -1, -1, -1, -1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst chunk = finalSource ? undefined : match;\n\t\t\t\t\t\tonChunk(chunk, line, column, 0, line, column, -1);\n\t\t\t\t\t}\n\t\t\t\t\tif (isEndOfLine) {\n\t\t\t\t\t\tline++;\n\t\t\t\t\t\tcolumn = 0;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcolumn += match.length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tgeneratedLine: line,\n\t\t\t\tgeneratedColumn: column,\n\t\t\t\tsource: finalSource ? this._value : undefined\n\t\t\t};\n\t\t} else if (finalSource) {\n\t\t\t// Without column info and with final source we only\n\t\t\t// need meta info to generate mapping\n\t\t\tconst result = getGeneratedSourceInfo(this._value);\n\t\t\tconst { generatedLine, generatedColumn } = result;\n\t\t\tif (generatedColumn === 0) {\n\t\t\t\tfor (let line = 1; line < generatedLine; line++)\n\t\t\t\t\tonChunk(undefined, line, 0, 0, line, 0, -1);\n\t\t\t} else {\n\t\t\t\tfor (let line = 1; line <= generatedLine; line++)\n\t\t\t\t\tonChunk(undefined, line, 0, 0, line, 0, -1);\n\t\t\t}\n\t\t\treturn result;\n\t\t} else {\n\t\t\t// Without column info, but also without final source\n\t\t\t// we need to split source by lines\n\t\t\tlet line = 1;\n\t\t\tconst matches = splitIntoLines(this._value);\n\t\t\tlet match;\n\t\t\tfor (match of matches) {\n\t\t\t\tonChunk(finalSource ? undefined : match, line, 0, 0, line, 0, -1);\n\t\t\t\tline++;\n\t\t\t}\n\t\t\treturn matches.length === 0 || match.endsWith(\"\\n\")\n\t\t\t\t? {\n\t\t\t\t\t\tgeneratedLine: matches.length + 1,\n\t\t\t\t\t\tgeneratedColumn: 0,\n\t\t\t\t\t\tsource: finalSource ? this._value : undefined\n\t\t\t\t }\n\t\t\t\t: {\n\t\t\t\t\t\tgeneratedLine: matches.length,\n\t\t\t\t\t\tgeneratedColumn: match.length,\n\t\t\t\t\t\tsource: finalSource ? this._value : undefined\n\t\t\t\t };\n\t\t}\n\t}\n\n\tupdateHash(hash) {\n\t\tif (this._valueAsBuffer === undefined) {\n\t\t\tthis._valueAsBuffer = Buffer.from(this._value, \"utf-8\");\n\t\t}\n\t\thash.update(\"OriginalSource\");\n\t\thash.update(this._valueAsBuffer);\n\t\thash.update(this._name || \"\");\n\t}\n}\n\nmodule.exports = OriginalSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/OriginalSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/PrefixSource.js": /*!**********************************************************!*\ !*** ./node_modules/webpack-sources/lib/PrefixSource.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst RawSource = __webpack_require__(/*! ./RawSource */ \"./node_modules/webpack-sources/lib/RawSource.js\");\nconst streamChunks = __webpack_require__(/*! ./helpers/streamChunks */ \"./node_modules/webpack-sources/lib/helpers/streamChunks.js\");\nconst { getMap, getSourceAndMap } = __webpack_require__(/*! ./helpers/getFromStreamChunks */ \"./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js\");\n\nconst REPLACE_REGEX = /\\n(?=.|\\s)/g;\n\nclass PrefixSource extends Source {\n\tconstructor(prefix, source) {\n\t\tsuper();\n\t\tthis._source =\n\t\t\ttypeof source === \"string\" || Buffer.isBuffer(source)\n\t\t\t\t? new RawSource(source, true)\n\t\t\t\t: source;\n\t\tthis._prefix = prefix;\n\t}\n\n\tgetPrefix() {\n\t\treturn this._prefix;\n\t}\n\n\toriginal() {\n\t\treturn this._source;\n\t}\n\n\tsource() {\n\t\tconst node = this._source.source();\n\t\tconst prefix = this._prefix;\n\t\treturn prefix + node.replace(REPLACE_REGEX, \"\\n\" + prefix);\n\t}\n\n\t// TODO efficient buffer() implementation\n\n\tmap(options) {\n\t\treturn getMap(this, options);\n\t}\n\n\tsourceAndMap(options) {\n\t\treturn getSourceAndMap(this, options);\n\t}\n\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tconst prefix = this._prefix;\n\t\tconst prefixOffset = prefix.length;\n\t\tconst linesOnly = !!(options && options.columns === false);\n\t\tconst { generatedLine, generatedColumn, source } = streamChunks(\n\t\t\tthis._source,\n\t\t\toptions,\n\t\t\t(\n\t\t\t\tchunk,\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t) => {\n\t\t\t\tif (generatedColumn !== 0) {\n\t\t\t\t\t// In the middle of the line, we just adject the column\n\t\t\t\t\tgeneratedColumn += prefixOffset;\n\t\t\t\t} else if (chunk !== undefined) {\n\t\t\t\t\t// At the start of the line, when we have source content\n\t\t\t\t\t// add the prefix as generated mapping\n\t\t\t\t\t// (in lines only mode we just add it to the original mapping\n\t\t\t\t\t// for performance reasons)\n\t\t\t\t\tif (linesOnly || sourceIndex < 0) {\n\t\t\t\t\t\tchunk = prefix + chunk;\n\t\t\t\t\t} else if (prefixOffset > 0) {\n\t\t\t\t\t\tonChunk(prefix, generatedLine, generatedColumn, -1, -1, -1, -1);\n\t\t\t\t\t\tgeneratedColumn += prefixOffset;\n\t\t\t\t\t}\n\t\t\t\t} else if (!linesOnly) {\n\t\t\t\t\t// Without source content, we only need to adject the column info\n\t\t\t\t\t// expect in lines only mode where prefix is added to original mapping\n\t\t\t\t\tgeneratedColumn += prefixOffset;\n\t\t\t\t}\n\t\t\t\tonChunk(\n\t\t\t\t\tchunk,\n\t\t\t\t\tgeneratedLine,\n\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\tsourceIndex,\n\t\t\t\t\toriginalLine,\n\t\t\t\t\toriginalColumn,\n\t\t\t\t\tnameIndex\n\t\t\t\t);\n\t\t\t},\n\t\t\tonSource,\n\t\t\tonName\n\t\t);\n\t\treturn {\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn:\n\t\t\t\tgeneratedColumn === 0 ? 0 : prefixOffset + generatedColumn,\n\t\t\tsource:\n\t\t\t\tsource !== undefined\n\t\t\t\t\t? prefix + source.replace(REPLACE_REGEX, \"\\n\" + prefix)\n\t\t\t\t\t: undefined\n\t\t};\n\t}\n\n\tupdateHash(hash) {\n\t\thash.update(\"PrefixSource\");\n\t\tthis._source.updateHash(hash);\n\t\thash.update(this._prefix);\n\t}\n}\n\nmodule.exports = PrefixSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/PrefixSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/RawSource.js": /*!*******************************************************!*\ !*** ./node_modules/webpack-sources/lib/RawSource.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst streamChunksOfRawSource = __webpack_require__(/*! ./helpers/streamChunksOfRawSource */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js\");\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\n\nclass RawSource extends Source {\n\tconstructor(value, convertToString = false) {\n\t\tsuper();\n\t\tconst isBuffer = Buffer.isBuffer(value);\n\t\tif (!isBuffer && typeof value !== \"string\") {\n\t\t\tthrow new TypeError(\"argument 'value' must be either string of Buffer\");\n\t\t}\n\t\tthis._valueIsBuffer = !convertToString && isBuffer;\n\t\tthis._value = convertToString && isBuffer ? undefined : value;\n\t\tthis._valueAsBuffer = isBuffer ? value : undefined;\n\t\tthis._valueAsString = isBuffer ? undefined : value;\n\t}\n\n\tisBuffer() {\n\t\treturn this._valueIsBuffer;\n\t}\n\n\tsource() {\n\t\tif (this._value === undefined) {\n\t\t\tthis._value = this._valueAsBuffer.toString(\"utf-8\");\n\t\t}\n\t\treturn this._value;\n\t}\n\n\tbuffer() {\n\t\tif (this._valueAsBuffer === undefined) {\n\t\t\tthis._valueAsBuffer = Buffer.from(this._value, \"utf-8\");\n\t\t}\n\t\treturn this._valueAsBuffer;\n\t}\n\n\tmap(options) {\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {object} options options\n\t * @param {function(string, number, number, number, number, number, number): void} onChunk called for each chunk of code\n\t * @param {function(number, string, string)} onSource called for each source\n\t * @param {function(number, string)} onName called for each name\n\t * @returns {void}\n\t */\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tif (this._value === undefined) {\n\t\t\tthis._value = Buffer.from(this._valueAsBuffer, \"utf-8\");\n\t\t}\n\t\tif (this._valueAsString === undefined) {\n\t\t\tthis._valueAsString =\n\t\t\t\ttypeof this._value === \"string\"\n\t\t\t\t\t? this._value\n\t\t\t\t\t: this._value.toString(\"utf-8\");\n\t\t}\n\t\treturn streamChunksOfRawSource(\n\t\t\tthis._valueAsString,\n\t\t\tonChunk,\n\t\t\tonSource,\n\t\t\tonName,\n\t\t\t!!(options && options.finalSource)\n\t\t);\n\t}\n\n\tupdateHash(hash) {\n\t\tif (this._valueAsBuffer === undefined) {\n\t\t\tthis._valueAsBuffer = Buffer.from(this._value, \"utf-8\");\n\t\t}\n\t\thash.update(\"RawSource\");\n\t\thash.update(this._valueAsBuffer);\n\t}\n}\n\nmodule.exports = RawSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/RawSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/ReplaceSource.js": /*!***********************************************************!*\ !*** ./node_modules/webpack-sources/lib/ReplaceSource.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst { getMap, getSourceAndMap } = __webpack_require__(/*! ./helpers/getFromStreamChunks */ \"./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js\");\nconst streamChunks = __webpack_require__(/*! ./helpers/streamChunks */ \"./node_modules/webpack-sources/lib/helpers/streamChunks.js\");\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst splitIntoLines = __webpack_require__(/*! ./helpers/splitIntoLines */ \"./node_modules/webpack-sources/lib/helpers/splitIntoLines.js\");\n\n// since v8 7.0, Array.prototype.sort is stable\nconst hasStableSort =\n\ttypeof process === \"object\" &&\n\tprocess.versions &&\n\ttypeof process.versions.v8 === \"string\" &&\n\t!/^[0-6]\\./.test(process.versions.v8);\n\n// This is larger than max string length\nconst MAX_SOURCE_POSITION = 0x20000000;\n\nclass Replacement {\n\tconstructor(start, end, content, name) {\n\t\tthis.start = start;\n\t\tthis.end = end;\n\t\tthis.content = content;\n\t\tthis.name = name;\n\t\tif (!hasStableSort) {\n\t\t\tthis.index = -1;\n\t\t}\n\t}\n}\n\nclass ReplaceSource extends Source {\n\tconstructor(source, name) {\n\t\tsuper();\n\t\tthis._source = source;\n\t\tthis._name = name;\n\t\t/** @type {Replacement[]} */\n\t\tthis._replacements = [];\n\t\tthis._isSorted = true;\n\t}\n\n\tgetName() {\n\t\treturn this._name;\n\t}\n\n\tgetReplacements() {\n\t\tthis._sortReplacements();\n\t\treturn this._replacements;\n\t}\n\n\treplace(start, end, newValue, name) {\n\t\tif (typeof newValue !== \"string\")\n\t\t\tthrow new Error(\n\t\t\t\t\"insertion must be a string, but is a \" + typeof newValue\n\t\t\t);\n\t\tthis._replacements.push(new Replacement(start, end, newValue, name));\n\t\tthis._isSorted = false;\n\t}\n\n\tinsert(pos, newValue, name) {\n\t\tif (typeof newValue !== \"string\")\n\t\t\tthrow new Error(\n\t\t\t\t\"insertion must be a string, but is a \" +\n\t\t\t\t\ttypeof newValue +\n\t\t\t\t\t\": \" +\n\t\t\t\t\tnewValue\n\t\t\t);\n\t\tthis._replacements.push(new Replacement(pos, pos - 1, newValue, name));\n\t\tthis._isSorted = false;\n\t}\n\n\tsource() {\n\t\tif (this._replacements.length === 0) {\n\t\t\treturn this._source.source();\n\t\t}\n\t\tlet current = this._source.source();\n\t\tlet pos = 0;\n\t\tconst result = [];\n\n\t\tthis._sortReplacements();\n\t\tfor (const replacement of this._replacements) {\n\t\t\tconst start = Math.floor(replacement.start);\n\t\t\tconst end = Math.floor(replacement.end + 1);\n\t\t\tif (pos < start) {\n\t\t\t\tconst offset = start - pos;\n\t\t\t\tresult.push(current.slice(0, offset));\n\t\t\t\tcurrent = current.slice(offset);\n\t\t\t\tpos = start;\n\t\t\t}\n\t\t\tresult.push(replacement.content);\n\t\t\tif (pos < end) {\n\t\t\t\tconst offset = end - pos;\n\t\t\t\tcurrent = current.slice(offset);\n\t\t\t\tpos = end;\n\t\t\t}\n\t\t}\n\t\tresult.push(current);\n\t\treturn result.join(\"\");\n\t}\n\n\tmap(options) {\n\t\tif (this._replacements.length === 0) {\n\t\t\treturn this._source.map(options);\n\t\t}\n\t\treturn getMap(this, options);\n\t}\n\n\tsourceAndMap(options) {\n\t\tif (this._replacements.length === 0) {\n\t\t\treturn this._source.sourceAndMap(options);\n\t\t}\n\t\treturn getSourceAndMap(this, options);\n\t}\n\n\toriginal() {\n\t\treturn this._source;\n\t}\n\n\t_sortReplacements() {\n\t\tif (this._isSorted) return;\n\t\tif (hasStableSort) {\n\t\t\tthis._replacements.sort(function (a, b) {\n\t\t\t\tconst diff1 = a.start - b.start;\n\t\t\t\tif (diff1 !== 0) return diff1;\n\t\t\t\tconst diff2 = a.end - b.end;\n\t\t\t\tif (diff2 !== 0) return diff2;\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t} else {\n\t\t\tthis._replacements.forEach((repl, i) => (repl.index = i));\n\t\t\tthis._replacements.sort(function (a, b) {\n\t\t\t\tconst diff1 = a.start - b.start;\n\t\t\t\tif (diff1 !== 0) return diff1;\n\t\t\t\tconst diff2 = a.end - b.end;\n\t\t\t\tif (diff2 !== 0) return diff2;\n\t\t\t\treturn a.index - b.index;\n\t\t\t});\n\t\t}\n\t\tthis._isSorted = true;\n\t}\n\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tthis._sortReplacements();\n\t\tconst repls = this._replacements;\n\t\tlet pos = 0;\n\t\tlet i = 0;\n\t\tlet replacmentEnd = -1;\n\t\tlet nextReplacement =\n\t\t\ti < repls.length ? Math.floor(repls[i].start) : MAX_SOURCE_POSITION;\n\t\tlet generatedLineOffset = 0;\n\t\tlet generatedColumnOffset = 0;\n\t\tlet generatedColumnOffsetLine = 0;\n\t\tconst sourceContents = [];\n\t\tconst nameMapping = new Map();\n\t\tconst nameIndexMapping = [];\n\t\tconst checkOriginalContent = (sourceIndex, line, column, expectedChunk) => {\n\t\t\tlet content =\n\t\t\t\tsourceIndex < sourceContents.length\n\t\t\t\t\t? sourceContents[sourceIndex]\n\t\t\t\t\t: undefined;\n\t\t\tif (content === undefined) return false;\n\t\t\tif (typeof content === \"string\") {\n\t\t\t\tcontent = splitIntoLines(content);\n\t\t\t\tsourceContents[sourceIndex] = content;\n\t\t\t}\n\t\t\tconst contentLine = line <= content.length ? content[line - 1] : null;\n\t\t\tif (contentLine === null) return false;\n\t\t\treturn (\n\t\t\t\tcontentLine.slice(column, column + expectedChunk.length) ===\n\t\t\t\texpectedChunk\n\t\t\t);\n\t\t};\n\t\tlet { generatedLine, generatedColumn } = streamChunks(\n\t\t\tthis._source,\n\t\t\tObject.assign({}, options, { finalSource: false }),\n\t\t\t(\n\t\t\t\tchunk,\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t) => {\n\t\t\t\tlet chunkPos = 0;\n\t\t\t\tlet endPos = pos + chunk.length;\n\n\t\t\t\t// Skip over when it has been replaced\n\t\t\t\tif (replacmentEnd > pos) {\n\t\t\t\t\t// Skip over the whole chunk\n\t\t\t\t\tif (replacmentEnd >= endPos) {\n\t\t\t\t\t\tconst line = generatedLine + generatedLineOffset;\n\t\t\t\t\t\tif (chunk.endsWith(\"\\n\")) {\n\t\t\t\t\t\t\tgeneratedLineOffset--;\n\t\t\t\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\t\t// undo exiting corrections form the current line\n\t\t\t\t\t\t\t\tgeneratedColumnOffset += generatedColumn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\tgeneratedColumnOffset -= chunk.length;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tgeneratedColumnOffset = -chunk.length;\n\t\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tpos = endPos;\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Partially skip over chunk\n\t\t\t\t\tchunkPos = replacmentEnd - pos;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcheckOriginalContent(\n\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\tchunk.slice(0, chunkPos)\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\toriginalColumn += chunkPos;\n\t\t\t\t\t}\n\t\t\t\t\tpos += chunkPos;\n\t\t\t\t\tconst line = generatedLine + generatedLineOffset;\n\t\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\tgeneratedColumnOffset -= chunkPos;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tgeneratedColumnOffset = -chunkPos;\n\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t}\n\t\t\t\t\tgeneratedColumn += chunkPos;\n\t\t\t\t}\n\n\t\t\t\t// Is a replacement in the chunk?\n\t\t\t\tif (nextReplacement < endPos) {\n\t\t\t\t\tdo {\n\t\t\t\t\t\tlet line = generatedLine + generatedLineOffset;\n\t\t\t\t\t\tif (nextReplacement > pos) {\n\t\t\t\t\t\t\t// Emit chunk until replacement\n\t\t\t\t\t\t\tconst offset = nextReplacement - pos;\n\t\t\t\t\t\t\tconst chunkSlice = chunk.slice(chunkPos, chunkPos + offset);\n\t\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\t\tchunkSlice,\n\t\t\t\t\t\t\t\tline,\n\t\t\t\t\t\t\t\tgeneratedColumn +\n\t\t\t\t\t\t\t\t\t(line === generatedColumnOffsetLine\n\t\t\t\t\t\t\t\t\t\t? generatedColumnOffset\n\t\t\t\t\t\t\t\t\t\t: 0),\n\t\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\tnameIndex < 0 || nameIndex >= nameIndexMapping.length\n\t\t\t\t\t\t\t\t\t? -1\n\t\t\t\t\t\t\t\t\t: nameIndexMapping[nameIndex]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tgeneratedColumn += offset;\n\t\t\t\t\t\t\tchunkPos += offset;\n\t\t\t\t\t\t\tpos = nextReplacement;\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tcheckOriginalContent(\n\t\t\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\t\tchunkSlice\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\toriginalColumn += chunkSlice.length;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Insert replacement content splitted into chunks by lines\n\t\t\t\t\t\tconst { content, name } = repls[i];\n\t\t\t\t\t\tlet matches = splitIntoLines(content);\n\t\t\t\t\t\tlet replacementNameIndex = nameIndex;\n\t\t\t\t\t\tif (sourceIndex >= 0 && name) {\n\t\t\t\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\t\tglobalIndex = nameMapping.size;\n\t\t\t\t\t\t\t\tnameMapping.set(name, globalIndex);\n\t\t\t\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treplacementNameIndex = globalIndex;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (let m = 0; m < matches.length; m++) {\n\t\t\t\t\t\t\tconst contentLine = matches[m];\n\t\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\t\tcontentLine,\n\t\t\t\t\t\t\t\tline,\n\t\t\t\t\t\t\t\tgeneratedColumn +\n\t\t\t\t\t\t\t\t\t(line === generatedColumnOffsetLine\n\t\t\t\t\t\t\t\t\t\t? generatedColumnOffset\n\t\t\t\t\t\t\t\t\t\t: 0),\n\t\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\treplacementNameIndex\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// Only the first chunk has name assigned\n\t\t\t\t\t\t\treplacementNameIndex = -1;\n\n\t\t\t\t\t\t\tif (m === matches.length - 1 && !contentLine.endsWith(\"\\n\")) {\n\t\t\t\t\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffset += contentLine.length;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffset = contentLine.length;\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tgeneratedLineOffset++;\n\t\t\t\t\t\t\t\tline++;\n\t\t\t\t\t\t\t\tgeneratedColumnOffset = -generatedColumn;\n\t\t\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Remove replaced content by settings this variable\n\t\t\t\t\t\treplacmentEnd = Math.max(\n\t\t\t\t\t\t\treplacmentEnd,\n\t\t\t\t\t\t\tMath.floor(repls[i].end + 1)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// Move to next replacment\n\t\t\t\t\t\ti++;\n\t\t\t\t\t\tnextReplacement =\n\t\t\t\t\t\t\ti < repls.length\n\t\t\t\t\t\t\t\t? Math.floor(repls[i].start)\n\t\t\t\t\t\t\t\t: MAX_SOURCE_POSITION;\n\n\t\t\t\t\t\t// Skip over when it has been replaced\n\t\t\t\t\t\tconst offset = chunk.length - endPos + replacmentEnd - chunkPos;\n\t\t\t\t\t\tif (offset > 0) {\n\t\t\t\t\t\t\t// Skip over whole chunk\n\t\t\t\t\t\t\tif (replacmentEnd >= endPos) {\n\t\t\t\t\t\t\t\tlet line = generatedLine + generatedLineOffset;\n\t\t\t\t\t\t\t\tif (chunk.endsWith(\"\\n\")) {\n\t\t\t\t\t\t\t\t\tgeneratedLineOffset--;\n\t\t\t\t\t\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\t\t\t\t// undo exiting corrections form the current line\n\t\t\t\t\t\t\t\t\t\tgeneratedColumnOffset += generatedColumn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffset -= chunk.length - chunkPos;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffset = chunkPos - chunk.length;\n\t\t\t\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpos = endPos;\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Partially skip over chunk\n\t\t\t\t\t\t\tconst line = generatedLine + generatedLineOffset;\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tcheckOriginalContent(\n\t\t\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\t\t\tchunk.slice(chunkPos, chunkPos + offset)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\toriginalColumn += offset;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchunkPos += offset;\n\t\t\t\t\t\t\tpos += offset;\n\t\t\t\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\t\t\t\tgeneratedColumnOffset -= offset;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tgeneratedColumnOffset = -offset;\n\t\t\t\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tgeneratedColumn += offset;\n\t\t\t\t\t\t}\n\t\t\t\t\t} while (nextReplacement < endPos);\n\t\t\t\t}\n\n\t\t\t\t// Emit remaining chunk\n\t\t\t\tif (chunkPos < chunk.length) {\n\t\t\t\t\tconst chunkSlice = chunkPos === 0 ? chunk : chunk.slice(chunkPos);\n\t\t\t\t\tconst line = generatedLine + generatedLineOffset;\n\t\t\t\t\tonChunk(\n\t\t\t\t\t\tchunkSlice,\n\t\t\t\t\t\tline,\n\t\t\t\t\t\tgeneratedColumn +\n\t\t\t\t\t\t\t(line === generatedColumnOffsetLine ? generatedColumnOffset : 0),\n\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\tnameIndex < 0 ? -1 : nameIndexMapping[nameIndex]\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tpos = endPos;\n\t\t\t},\n\t\t\t(sourceIndex, source, sourceContent) => {\n\t\t\t\twhile (sourceContents.length < sourceIndex)\n\t\t\t\t\tsourceContents.push(undefined);\n\t\t\t\tsourceContents[sourceIndex] = sourceContent;\n\t\t\t\tonSource(sourceIndex, source, sourceContent);\n\t\t\t},\n\t\t\t(nameIndex, name) => {\n\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\tglobalIndex = nameMapping.size;\n\t\t\t\t\tnameMapping.set(name, globalIndex);\n\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t}\n\t\t\t\tnameIndexMapping[nameIndex] = globalIndex;\n\t\t\t}\n\t\t);\n\n\t\t// Handle remaining replacements\n\t\tlet remainer = \"\";\n\t\tfor (; i < repls.length; i++) {\n\t\t\tremainer += repls[i].content;\n\t\t}\n\n\t\t// Insert remaining replacements content splitted into chunks by lines\n\t\tlet line = generatedLine + generatedLineOffset;\n\t\tlet matches = splitIntoLines(remainer);\n\t\tfor (let m = 0; m < matches.length; m++) {\n\t\t\tconst contentLine = matches[m];\n\t\t\tonChunk(\n\t\t\t\tcontentLine,\n\t\t\t\tline,\n\t\t\t\tgeneratedColumn +\n\t\t\t\t\t(line === generatedColumnOffsetLine ? generatedColumnOffset : 0),\n\t\t\t\t-1,\n\t\t\t\t-1,\n\t\t\t\t-1,\n\t\t\t\t-1\n\t\t\t);\n\n\t\t\tif (m === matches.length - 1 && !contentLine.endsWith(\"\\n\")) {\n\t\t\t\tif (generatedColumnOffsetLine === line) {\n\t\t\t\t\tgeneratedColumnOffset += contentLine.length;\n\t\t\t\t} else {\n\t\t\t\t\tgeneratedColumnOffset = contentLine.length;\n\t\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tgeneratedLineOffset++;\n\t\t\t\tline++;\n\t\t\t\tgeneratedColumnOffset = -generatedColumn;\n\t\t\t\tgeneratedColumnOffsetLine = line;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tgeneratedLine: line,\n\t\t\tgeneratedColumn:\n\t\t\t\tgeneratedColumn +\n\t\t\t\t(line === generatedColumnOffsetLine ? generatedColumnOffset : 0)\n\t\t};\n\t}\n\n\tupdateHash(hash) {\n\t\tthis._sortReplacements();\n\t\thash.update(\"ReplaceSource\");\n\t\tthis._source.updateHash(hash);\n\t\thash.update(this._name || \"\");\n\t\tfor (const repl of this._replacements) {\n\t\t\thash.update(`${repl.start}${repl.end}${repl.content}${repl.name}`);\n\t\t}\n\t}\n}\n\nmodule.exports = ReplaceSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/ReplaceSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/SizeOnlySource.js": /*!************************************************************!*\ !*** ./node_modules/webpack-sources/lib/SizeOnlySource.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\n\nclass SizeOnlySource extends Source {\n\tconstructor(size) {\n\t\tsuper();\n\t\tthis._size = size;\n\t}\n\n\t_error() {\n\t\treturn new Error(\n\t\t\t\"Content and Map of this Source is not available (only size() is supported)\"\n\t\t);\n\t}\n\n\tsize() {\n\t\treturn this._size;\n\t}\n\n\tsource() {\n\t\tthrow this._error();\n\t}\n\n\tbuffer() {\n\t\tthrow this._error();\n\t}\n\n\tmap(options) {\n\t\tthrow this._error();\n\t}\n\n\tupdateHash() {\n\t\tthrow this._error();\n\t}\n}\n\nmodule.exports = SizeOnlySource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/SizeOnlySource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/Source.js": /*!****************************************************!*\ !*** ./node_modules/webpack-sources/lib/Source.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nclass Source {\n\tsource() {\n\t\tthrow new Error(\"Abstract\");\n\t}\n\n\tbuffer() {\n\t\tconst source = this.source();\n\t\tif (Buffer.isBuffer(source)) return source;\n\t\treturn Buffer.from(source, \"utf-8\");\n\t}\n\n\tsize() {\n\t\treturn this.buffer().length;\n\t}\n\n\tmap(options) {\n\t\treturn null;\n\t}\n\n\tsourceAndMap(options) {\n\t\treturn {\n\t\t\tsource: this.source(),\n\t\t\tmap: this.map(options)\n\t\t};\n\t}\n\n\tupdateHash(hash) {\n\t\tthrow new Error(\"Abstract\");\n\t}\n}\n\nmodule.exports = Source;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/Source.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/SourceMapSource.js": /*!*************************************************************!*\ !*** ./node_modules/webpack-sources/lib/SourceMapSource.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\nconst Source = __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\");\nconst streamChunksOfSourceMap = __webpack_require__(/*! ./helpers/streamChunksOfSourceMap */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js\");\nconst streamChunksOfCombinedSourceMap = __webpack_require__(/*! ./helpers/streamChunksOfCombinedSourceMap */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js\");\nconst { getMap, getSourceAndMap } = __webpack_require__(/*! ./helpers/getFromStreamChunks */ \"./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js\");\n\nclass SourceMapSource extends Source {\n\tconstructor(\n\t\tvalue,\n\t\tname,\n\t\tsourceMap,\n\t\toriginalSource,\n\t\tinnerSourceMap,\n\t\tremoveOriginalSource\n\t) {\n\t\tsuper();\n\t\tconst valueIsBuffer = Buffer.isBuffer(value);\n\t\tthis._valueAsString = valueIsBuffer ? undefined : value;\n\t\tthis._valueAsBuffer = valueIsBuffer ? value : undefined;\n\n\t\tthis._name = name;\n\n\t\tthis._hasSourceMap = !!sourceMap;\n\t\tconst sourceMapIsBuffer = Buffer.isBuffer(sourceMap);\n\t\tconst sourceMapIsString = typeof sourceMap === \"string\";\n\t\tthis._sourceMapAsObject =\n\t\t\tsourceMapIsBuffer || sourceMapIsString ? undefined : sourceMap;\n\t\tthis._sourceMapAsString = sourceMapIsString ? sourceMap : undefined;\n\t\tthis._sourceMapAsBuffer = sourceMapIsBuffer ? sourceMap : undefined;\n\n\t\tthis._hasOriginalSource = !!originalSource;\n\t\tconst originalSourceIsBuffer = Buffer.isBuffer(originalSource);\n\t\tthis._originalSourceAsString = originalSourceIsBuffer\n\t\t\t? undefined\n\t\t\t: originalSource;\n\t\tthis._originalSourceAsBuffer = originalSourceIsBuffer\n\t\t\t? originalSource\n\t\t\t: undefined;\n\n\t\tthis._hasInnerSourceMap = !!innerSourceMap;\n\t\tconst innerSourceMapIsBuffer = Buffer.isBuffer(innerSourceMap);\n\t\tconst innerSourceMapIsString = typeof innerSourceMap === \"string\";\n\t\tthis._innerSourceMapAsObject =\n\t\t\tinnerSourceMapIsBuffer || innerSourceMapIsString\n\t\t\t\t? undefined\n\t\t\t\t: innerSourceMap;\n\t\tthis._innerSourceMapAsString = innerSourceMapIsString\n\t\t\t? innerSourceMap\n\t\t\t: undefined;\n\t\tthis._innerSourceMapAsBuffer = innerSourceMapIsBuffer\n\t\t\t? innerSourceMap\n\t\t\t: undefined;\n\n\t\tthis._removeOriginalSource = removeOriginalSource;\n\t}\n\n\t_ensureValueBuffer() {\n\t\tif (this._valueAsBuffer === undefined) {\n\t\t\tthis._valueAsBuffer = Buffer.from(this._valueAsString, \"utf-8\");\n\t\t}\n\t}\n\n\t_ensureValueString() {\n\t\tif (this._valueAsString === undefined) {\n\t\t\tthis._valueAsString = this._valueAsBuffer.toString(\"utf-8\");\n\t\t}\n\t}\n\n\t_ensureOriginalSourceBuffer() {\n\t\tif (this._originalSourceAsBuffer === undefined && this._hasOriginalSource) {\n\t\t\tthis._originalSourceAsBuffer = Buffer.from(\n\t\t\t\tthis._originalSourceAsString,\n\t\t\t\t\"utf-8\"\n\t\t\t);\n\t\t}\n\t}\n\n\t_ensureOriginalSourceString() {\n\t\tif (this._originalSourceAsString === undefined && this._hasOriginalSource) {\n\t\t\tthis._originalSourceAsString = this._originalSourceAsBuffer.toString(\n\t\t\t\t\"utf-8\"\n\t\t\t);\n\t\t}\n\t}\n\n\t_ensureInnerSourceMapObject() {\n\t\tif (this._innerSourceMapAsObject === undefined && this._hasInnerSourceMap) {\n\t\t\tthis._ensureInnerSourceMapString();\n\t\t\tthis._innerSourceMapAsObject = JSON.parse(this._innerSourceMapAsString);\n\t\t}\n\t}\n\n\t_ensureInnerSourceMapBuffer() {\n\t\tif (this._innerSourceMapAsBuffer === undefined && this._hasInnerSourceMap) {\n\t\t\tthis._ensureInnerSourceMapString();\n\t\t\tthis._innerSourceMapAsBuffer = Buffer.from(\n\t\t\t\tthis._innerSourceMapAsString,\n\t\t\t\t\"utf-8\"\n\t\t\t);\n\t\t}\n\t}\n\n\t_ensureInnerSourceMapString() {\n\t\tif (this._innerSourceMapAsString === undefined && this._hasInnerSourceMap) {\n\t\t\tif (this._innerSourceMapAsBuffer !== undefined) {\n\t\t\t\tthis._innerSourceMapAsString = this._innerSourceMapAsBuffer.toString(\n\t\t\t\t\t\"utf-8\"\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tthis._innerSourceMapAsString = JSON.stringify(\n\t\t\t\t\tthis._innerSourceMapAsObject\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\t_ensureSourceMapObject() {\n\t\tif (this._sourceMapAsObject === undefined) {\n\t\t\tthis._ensureSourceMapString();\n\t\t\tthis._sourceMapAsObject = JSON.parse(this._sourceMapAsString);\n\t\t}\n\t}\n\n\t_ensureSourceMapBuffer() {\n\t\tif (this._sourceMapAsBuffer === undefined) {\n\t\t\tthis._ensureSourceMapString();\n\t\t\tthis._sourceMapAsBuffer = Buffer.from(this._sourceMapAsString, \"utf-8\");\n\t\t}\n\t}\n\n\t_ensureSourceMapString() {\n\t\tif (this._sourceMapAsString === undefined) {\n\t\t\tif (this._sourceMapAsBuffer !== undefined) {\n\t\t\t\tthis._sourceMapAsString = this._sourceMapAsBuffer.toString(\"utf-8\");\n\t\t\t} else {\n\t\t\t\tthis._sourceMapAsString = JSON.stringify(this._sourceMapAsObject);\n\t\t\t}\n\t\t}\n\t}\n\n\tgetArgsAsBuffers() {\n\t\tthis._ensureValueBuffer();\n\t\tthis._ensureSourceMapBuffer();\n\t\tthis._ensureOriginalSourceBuffer();\n\t\tthis._ensureInnerSourceMapBuffer();\n\t\treturn [\n\t\t\tthis._valueAsBuffer,\n\t\t\tthis._name,\n\t\t\tthis._sourceMapAsBuffer,\n\t\t\tthis._originalSourceAsBuffer,\n\t\t\tthis._innerSourceMapAsBuffer,\n\t\t\tthis._removeOriginalSource\n\t\t];\n\t}\n\n\tbuffer() {\n\t\tthis._ensureValueBuffer();\n\t\treturn this._valueAsBuffer;\n\t}\n\n\tsource() {\n\t\tthis._ensureValueString();\n\t\treturn this._valueAsString;\n\t}\n\n\tmap(options) {\n\t\tif (!this._hasInnerSourceMap) {\n\t\t\tthis._ensureSourceMapObject();\n\t\t\treturn this._sourceMapAsObject;\n\t\t}\n\t\treturn getMap(this, options);\n\t}\n\n\tsourceAndMap(options) {\n\t\tif (!this._hasInnerSourceMap) {\n\t\t\tthis._ensureValueString();\n\t\t\tthis._ensureSourceMapObject();\n\t\t\treturn {\n\t\t\t\tsource: this._valueAsString,\n\t\t\t\tmap: this._sourceMapAsObject\n\t\t\t};\n\t\t}\n\t\treturn getSourceAndMap(this, options);\n\t}\n\n\tstreamChunks(options, onChunk, onSource, onName) {\n\t\tthis._ensureValueString();\n\t\tthis._ensureSourceMapObject();\n\t\tthis._ensureOriginalSourceString();\n\t\tif (this._hasInnerSourceMap) {\n\t\t\tthis._ensureInnerSourceMapObject();\n\t\t\treturn streamChunksOfCombinedSourceMap(\n\t\t\t\tthis._valueAsString,\n\t\t\t\tthis._sourceMapAsObject,\n\t\t\t\tthis._name,\n\t\t\t\tthis._originalSourceAsString,\n\t\t\t\tthis._innerSourceMapAsObject,\n\t\t\t\tthis._removeOriginalSource,\n\t\t\t\tonChunk,\n\t\t\t\tonSource,\n\t\t\t\tonName,\n\t\t\t\t!!(options && options.finalSource),\n\t\t\t\t!!(options && options.columns !== false)\n\t\t\t);\n\t\t} else {\n\t\t\treturn streamChunksOfSourceMap(\n\t\t\t\tthis._valueAsString,\n\t\t\t\tthis._sourceMapAsObject,\n\t\t\t\tonChunk,\n\t\t\t\tonSource,\n\t\t\t\tonName,\n\t\t\t\t!!(options && options.finalSource),\n\t\t\t\t!!(options && options.columns !== false)\n\t\t\t);\n\t\t}\n\t}\n\n\tupdateHash(hash) {\n\t\tthis._ensureValueBuffer();\n\t\tthis._ensureSourceMapBuffer();\n\t\tthis._ensureOriginalSourceBuffer();\n\t\tthis._ensureInnerSourceMapBuffer();\n\n\t\thash.update(\"SourceMapSource\");\n\n\t\thash.update(this._valueAsBuffer);\n\n\t\thash.update(this._sourceMapAsBuffer);\n\n\t\tif (this._hasOriginalSource) {\n\t\t\thash.update(this._originalSourceAsBuffer);\n\t\t}\n\n\t\tif (this._hasInnerSourceMap) {\n\t\t\thash.update(this._innerSourceMapAsBuffer);\n\t\t}\n\n\t\thash.update(this._removeOriginalSource ? \"true\" : \"false\");\n\t}\n}\n\nmodule.exports = SourceMapSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/SourceMapSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js ***! \******************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\".split(\n\t\"\"\n);\n\nconst CONTINUATION_BIT = 0x20;\n\nconst createMappingsSerializer = options => {\n\tconst linesOnly = options && options.columns === false;\n\treturn linesOnly\n\t\t? createLinesOnlyMappingsSerializer()\n\t\t: createFullMappingsSerializer();\n};\n\nconst createFullMappingsSerializer = () => {\n\tlet currentLine = 1;\n\tlet currentColumn = 0;\n\tlet currentSourceIndex = 0;\n\tlet currentOriginalLine = 1;\n\tlet currentOriginalColumn = 0;\n\tlet currentNameIndex = 0;\n\tlet activeMapping = false;\n\tlet activeName = false;\n\tlet initial = true;\n\treturn (\n\t\tgeneratedLine,\n\t\tgeneratedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\toriginalColumn,\n\t\tnameIndex\n\t) => {\n\t\tif (activeMapping && currentLine === generatedLine) {\n\t\t\t// A mapping is still active\n\t\t\tif (\n\t\t\t\tsourceIndex === currentSourceIndex &&\n\t\t\t\toriginalLine === currentOriginalLine &&\n\t\t\t\toriginalColumn === currentOriginalColumn &&\n\t\t\t\t!activeName &&\n\t\t\t\tnameIndex < 0\n\t\t\t) {\n\t\t\t\t// avoid repeating the same original mapping\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t} else {\n\t\t\t// No mapping is active\n\t\t\tif (sourceIndex < 0) {\n\t\t\t\t// avoid writing unneccessary generated mappings\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t}\n\n\t\tlet str;\n\t\tif (currentLine < generatedLine) {\n\t\t\tstr = \";\".repeat(generatedLine - currentLine);\n\t\t\tcurrentLine = generatedLine;\n\t\t\tcurrentColumn = 0;\n\t\t\tinitial = false;\n\t\t} else if (initial) {\n\t\t\tstr = \"\";\n\t\t\tinitial = false;\n\t\t} else {\n\t\t\tstr = \",\";\n\t\t}\n\n\t\tconst writeValue = value => {\n\t\t\tconst sign = (value >>> 31) & 1;\n\t\t\tconst mask = value >> 31;\n\t\t\tconst absValue = (value + mask) ^ mask;\n\t\t\tlet data = (absValue << 1) | sign;\n\t\t\tfor (;;) {\n\t\t\t\tconst sextet = data & 0x1f;\n\t\t\t\tdata >>= 5;\n\t\t\t\tif (data === 0) {\n\t\t\t\t\tstr += ALPHABET[sextet];\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tstr += ALPHABET[sextet | CONTINUATION_BIT];\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\twriteValue(generatedColumn - currentColumn);\n\t\tcurrentColumn = generatedColumn;\n\t\tif (sourceIndex >= 0) {\n\t\t\tactiveMapping = true;\n\t\t\tif (sourceIndex === currentSourceIndex) {\n\t\t\t\tstr += \"A\";\n\t\t\t} else {\n\t\t\t\twriteValue(sourceIndex - currentSourceIndex);\n\t\t\t\tcurrentSourceIndex = sourceIndex;\n\t\t\t}\n\t\t\twriteValue(originalLine - currentOriginalLine);\n\t\t\tcurrentOriginalLine = originalLine;\n\t\t\tif (originalColumn === currentOriginalColumn) {\n\t\t\t\tstr += \"A\";\n\t\t\t} else {\n\t\t\t\twriteValue(originalColumn - currentOriginalColumn);\n\t\t\t\tcurrentOriginalColumn = originalColumn;\n\t\t\t}\n\t\t\tif (nameIndex >= 0) {\n\t\t\t\twriteValue(nameIndex - currentNameIndex);\n\t\t\t\tcurrentNameIndex = nameIndex;\n\t\t\t\tactiveName = true;\n\t\t\t} else {\n\t\t\t\tactiveName = false;\n\t\t\t}\n\t\t} else {\n\t\t\tactiveMapping = false;\n\t\t}\n\t\treturn str;\n\t};\n};\n\nconst createLinesOnlyMappingsSerializer = () => {\n\tlet lastWrittenLine = 0;\n\tlet currentLine = 1;\n\tlet currentSourceIndex = 0;\n\tlet currentOriginalLine = 1;\n\treturn (\n\t\tgeneratedLine,\n\t\t_generatedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\t_originalColumn,\n\t\t_nameIndex\n\t) => {\n\t\tif (sourceIndex < 0) {\n\t\t\t// avoid writing generated mappings at all\n\t\t\treturn \"\";\n\t\t}\n\t\tif (lastWrittenLine === generatedLine) {\n\t\t\t// avoid writing multiple original mappings per line\n\t\t\treturn \"\";\n\t\t}\n\t\tlet str;\n\t\tconst writeValue = value => {\n\t\t\tconst sign = (value >>> 31) & 1;\n\t\t\tconst mask = value >> 31;\n\t\t\tconst absValue = (value + mask) ^ mask;\n\t\t\tlet data = (absValue << 1) | sign;\n\t\t\tfor (;;) {\n\t\t\t\tconst sextet = data & 0x1f;\n\t\t\t\tdata >>= 5;\n\t\t\t\tif (data === 0) {\n\t\t\t\t\tstr += ALPHABET[sextet];\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tstr += ALPHABET[sextet | CONTINUATION_BIT];\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tlastWrittenLine = generatedLine;\n\t\tif (generatedLine === currentLine + 1) {\n\t\t\tcurrentLine = generatedLine;\n\t\t\tif (sourceIndex === currentSourceIndex) {\n\t\t\t\tcurrentSourceIndex = sourceIndex;\n\t\t\t\tif (originalLine === currentOriginalLine + 1) {\n\t\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\t\treturn \";AACA\";\n\t\t\t\t} else {\n\t\t\t\t\tstr = \";AA\";\n\t\t\t\t\twriteValue(originalLine - currentOriginalLine);\n\t\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\t\treturn str + \"A\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tstr = \";A\";\n\t\t\t\twriteValue(sourceIndex - currentSourceIndex);\n\t\t\t\tcurrentSourceIndex = sourceIndex;\n\t\t\t\twriteValue(originalLine - currentOriginalLine);\n\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\treturn str + \"A\";\n\t\t\t}\n\t\t} else {\n\t\t\tstr = \";\".repeat(generatedLine - currentLine);\n\t\t\tcurrentLine = generatedLine;\n\t\t\tif (sourceIndex === currentSourceIndex) {\n\t\t\t\tcurrentSourceIndex = sourceIndex;\n\t\t\t\tif (originalLine === currentOriginalLine + 1) {\n\t\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\t\treturn str + \"AACA\";\n\t\t\t\t} else {\n\t\t\t\t\tstr += \"AA\";\n\t\t\t\t\twriteValue(originalLine - currentOriginalLine);\n\t\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\t\treturn str + \"A\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tstr += \"A\";\n\t\t\t\twriteValue(sourceIndex - currentSourceIndex);\n\t\t\t\tcurrentSourceIndex = sourceIndex;\n\t\t\t\twriteValue(originalLine - currentOriginalLine);\n\t\t\t\tcurrentOriginalLine = originalLine;\n\t\t\t\treturn str + \"A\";\n\t\t\t}\n\t\t}\n\t};\n};\n\nmodule.exports = createMappingsSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createMappingsSerializer = __webpack_require__(/*! ./createMappingsSerializer */ \"./node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js\");\n\nexports.getSourceAndMap = (inputSource, options) => {\n\tlet code = \"\";\n\tlet mappings = \"\";\n\tlet sources = [];\n\tlet sourcesContent = [];\n\tlet names = [];\n\tconst addMapping = createMappingsSerializer(options);\n\tconst { source } = inputSource.streamChunks(\n\t\tObject.assign({}, options, { finalSource: true }),\n\t\t(\n\t\t\tchunk,\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn,\n\t\t\tsourceIndex,\n\t\t\toriginalLine,\n\t\t\toriginalColumn,\n\t\t\tnameIndex\n\t\t) => {\n\t\t\tif (chunk !== undefined) code += chunk;\n\t\t\tmappings += addMapping(\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t);\n\t\t},\n\t\t(sourceIndex, source, sourceContent) => {\n\t\t\twhile (sources.length < sourceIndex) {\n\t\t\t\tsources.push(null);\n\t\t\t}\n\t\t\tsources[sourceIndex] = source;\n\t\t\tif (sourceContent !== undefined) {\n\t\t\t\twhile (sourcesContent.length < sourceIndex) {\n\t\t\t\t\tsourcesContent.push(null);\n\t\t\t\t}\n\t\t\t\tsourcesContent[sourceIndex] = sourceContent;\n\t\t\t}\n\t\t},\n\t\t(nameIndex, name) => {\n\t\t\twhile (names.length < nameIndex) {\n\t\t\t\tnames.push(null);\n\t\t\t}\n\t\t\tnames[nameIndex] = name;\n\t\t}\n\t);\n\treturn {\n\t\tsource: source !== undefined ? source : code,\n\t\tmap:\n\t\t\tmappings.length > 0\n\t\t\t\t? {\n\t\t\t\t\t\tversion: 3,\n\t\t\t\t\t\tfile: \"x\",\n\t\t\t\t\t\tmappings,\n\t\t\t\t\t\tsources,\n\t\t\t\t\t\tsourcesContent:\n\t\t\t\t\t\t\tsourcesContent.length > 0 ? sourcesContent : undefined,\n\t\t\t\t\t\tnames\n\t\t\t\t }\n\t\t\t\t: null\n\t};\n};\n\nexports.getMap = (source, options) => {\n\tlet mappings = \"\";\n\tlet sources = [];\n\tlet sourcesContent = [];\n\tlet names = [];\n\tconst addMapping = createMappingsSerializer(options);\n\tsource.streamChunks(\n\t\tObject.assign({}, options, { source: false, finalSource: true }),\n\t\t(\n\t\t\tchunk,\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn,\n\t\t\tsourceIndex,\n\t\t\toriginalLine,\n\t\t\toriginalColumn,\n\t\t\tnameIndex\n\t\t) => {\n\t\t\tmappings += addMapping(\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t);\n\t\t},\n\t\t(sourceIndex, source, sourceContent) => {\n\t\t\twhile (sources.length < sourceIndex) {\n\t\t\t\tsources.push(null);\n\t\t\t}\n\t\t\tsources[sourceIndex] = source;\n\t\t\tif (sourceContent !== undefined) {\n\t\t\t\twhile (sourcesContent.length < sourceIndex) {\n\t\t\t\t\tsourcesContent.push(null);\n\t\t\t\t}\n\t\t\t\tsourcesContent[sourceIndex] = sourceContent;\n\t\t\t}\n\t\t},\n\t\t(nameIndex, name) => {\n\t\t\twhile (names.length < nameIndex) {\n\t\t\t\tnames.push(null);\n\t\t\t}\n\t\t\tnames[nameIndex] = name;\n\t\t}\n\t);\n\treturn mappings.length > 0\n\t\t? {\n\t\t\t\tversion: 3,\n\t\t\t\tfile: \"x\",\n\t\t\t\tmappings,\n\t\t\t\tsources,\n\t\t\t\tsourcesContent: sourcesContent.length > 0 ? sourcesContent : undefined,\n\t\t\t\tnames\n\t\t }\n\t\t: null;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js ***! \****************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst CHAR_CODE_NEW_LINE = \"\\n\".charCodeAt(0);\n\nconst getGeneratedSourceInfo = source => {\n\tif (source === undefined) {\n\t\treturn {};\n\t}\n\tconst lastLineStart = source.lastIndexOf(\"\\n\");\n\tif (lastLineStart === -1) {\n\t\treturn {\n\t\t\tgeneratedLine: 1,\n\t\t\tgeneratedColumn: source.length,\n\t\t\tsource\n\t\t};\n\t}\n\tlet generatedLine = 2;\n\tfor (let i = 0; i < lastLineStart; i++) {\n\t\tif (source.charCodeAt(i) === CHAR_CODE_NEW_LINE) generatedLine++;\n\t}\n\treturn {\n\t\tgeneratedLine,\n\t\tgeneratedColumn: source.length - lastLineStart - 1,\n\t\tsource\n\t};\n};\n\nmodule.exports = getGeneratedSourceInfo;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/getSource.js": /*!***************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/getSource.js ***! \***************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst getSource = (sourceMap, index) => {\n\tif (index < 0) return null;\n\tconst { sourceRoot, sources } = sourceMap;\n\tconst source = sources[index];\n\tif (!sourceRoot) return source;\n\tif (sourceRoot.endsWith(\"/\")) return sourceRoot + source;\n\treturn sourceRoot + \"/\" + source;\n};\n\nmodule.exports = getSource;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/getSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/readMappings.js": /*!******************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/readMappings.js ***! \******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ALPHABET =\n\t\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n\nconst CONTINUATION_BIT = 0x20;\nconst END_SEGMENT_BIT = 0x40;\nconst NEXT_LINE = END_SEGMENT_BIT | 0x01;\nconst INVALID = END_SEGMENT_BIT | 0x02;\nconst DATA_MASK = 0x1f;\n\nconst ccToValue = new Uint8Array(\"z\".charCodeAt(0) + 1);\n{\n\tccToValue.fill(INVALID);\n\tfor (let i = 0; i < ALPHABET.length; i++) {\n\t\tccToValue[ALPHABET.charCodeAt(i)] = i;\n\t}\n\tccToValue[\",\".charCodeAt(0)] = END_SEGMENT_BIT;\n\tccToValue[\";\".charCodeAt(0)] = NEXT_LINE;\n}\nconst ccMax = ccToValue.length - 1;\n\n/**\n * @param {string} mappings the mappings string\n * @param {function(number, number, number, number, number, number): void} onMapping called for each mapping\n * @returns {void}\n */\nconst readMappings = (mappings, onMapping) => {\n\t// generatedColumn, [sourceIndex, originalLine, orignalColumn, [nameIndex]]\n\tconst currentData = new Uint32Array([0, 0, 1, 0, 0]);\n\tlet currentDataPos = 0;\n\t// currentValue will include a sign bit at bit 0\n\tlet currentValue = 0;\n\tlet currentValuePos = 0;\n\tlet generatedLine = 1;\n\tlet generatedColumn = -1;\n\tfor (let i = 0; i < mappings.length; i++) {\n\t\tconst cc = mappings.charCodeAt(i);\n\t\tif (cc > ccMax) continue;\n\t\tconst value = ccToValue[cc];\n\t\tif ((value & END_SEGMENT_BIT) !== 0) {\n\t\t\t// End current segment\n\t\t\tif (currentData[0] > generatedColumn) {\n\t\t\t\tif (currentDataPos === 1) {\n\t\t\t\t\tonMapping(generatedLine, currentData[0], -1, -1, -1, -1);\n\t\t\t\t} else if (currentDataPos === 4) {\n\t\t\t\t\tonMapping(\n\t\t\t\t\t\tgeneratedLine,\n\t\t\t\t\t\tcurrentData[0],\n\t\t\t\t\t\tcurrentData[1],\n\t\t\t\t\t\tcurrentData[2],\n\t\t\t\t\t\tcurrentData[3],\n\t\t\t\t\t\t-1\n\t\t\t\t\t);\n\t\t\t\t} else if (currentDataPos === 5) {\n\t\t\t\t\tonMapping(\n\t\t\t\t\t\tgeneratedLine,\n\t\t\t\t\t\tcurrentData[0],\n\t\t\t\t\t\tcurrentData[1],\n\t\t\t\t\t\tcurrentData[2],\n\t\t\t\t\t\tcurrentData[3],\n\t\t\t\t\t\tcurrentData[4]\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tgeneratedColumn = currentData[0];\n\t\t\t}\n\t\t\tcurrentDataPos = 0;\n\t\t\tif (value === NEXT_LINE) {\n\t\t\t\t// Start new line\n\t\t\t\tgeneratedLine++;\n\t\t\t\tcurrentData[0] = 0;\n\t\t\t\tgeneratedColumn = -1;\n\t\t\t}\n\t\t} else if ((value & CONTINUATION_BIT) === 0) {\n\t\t\t// last sextet\n\t\t\tcurrentValue |= value << currentValuePos;\n\t\t\tconst finalValue =\n\t\t\t\tcurrentValue & 1 ? -(currentValue >> 1) : currentValue >> 1;\n\t\t\tcurrentData[currentDataPos++] += finalValue;\n\t\t\tcurrentValuePos = 0;\n\t\t\tcurrentValue = 0;\n\t\t} else {\n\t\t\tcurrentValue |= (value & DATA_MASK) << currentValuePos;\n\t\t\tcurrentValuePos += 5;\n\t\t}\n\t}\n\t// End current segment\n\tif (currentDataPos === 1) {\n\t\tonMapping(generatedLine, currentData[0], -1, -1, -1, -1);\n\t} else if (currentDataPos === 4) {\n\t\tonMapping(\n\t\t\tgeneratedLine,\n\t\t\tcurrentData[0],\n\t\t\tcurrentData[1],\n\t\t\tcurrentData[2],\n\t\t\tcurrentData[3],\n\t\t\t-1\n\t\t);\n\t} else if (currentDataPos === 5) {\n\t\tonMapping(\n\t\t\tgeneratedLine,\n\t\t\tcurrentData[0],\n\t\t\tcurrentData[1],\n\t\t\tcurrentData[2],\n\t\t\tcurrentData[3],\n\t\t\tcurrentData[4]\n\t\t);\n\t}\n};\n\nmodule.exports = readMappings;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/readMappings.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/splitIntoLines.js": /*!********************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/splitIntoLines.js ***! \********************************************************************/ /***/ ((module) => { eval("const splitIntoLines = str => {\n\tconst results = [];\n\tconst len = str.length;\n\tlet i = 0;\n\tfor (; i < len; ) {\n\t\tconst cc = str.charCodeAt(i);\n\t\t// 10 is \"\\n\".charCodeAt(0)\n\t\tif (cc === 10) {\n\t\t\tresults.push(\"\\n\");\n\t\t\ti++;\n\t\t} else {\n\t\t\tlet j = i + 1;\n\t\t\t// 10 is \"\\n\".charCodeAt(0)\n\t\t\twhile (j < len && str.charCodeAt(j) !== 10) j++;\n\t\t\tresults.push(str.slice(i, j + 1));\n\t\t\ti = j + 1;\n\t\t}\n\t}\n\treturn results;\n};\nmodule.exports = splitIntoLines;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/splitIntoLines.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js ***! \******************************************************************************/ /***/ ((module) => { eval("// \\n = 10\n// ; = 59\n// { = 123\n// } = 125\n// <space> = 32\n// \\r = 13\n// \\t = 9\n\nconst splitIntoPotentialTokens = str => {\n\tconst len = str.length;\n\tif (len === 0) return null;\n\tconst results = [];\n\tlet i = 0;\n\tfor (; i < len; ) {\n\t\tconst s = i;\n\t\tblock: {\n\t\t\tlet cc = str.charCodeAt(i);\n\t\t\twhile (cc !== 10 && cc !== 59 && cc !== 123 && cc !== 125) {\n\t\t\t\tif (++i >= len) break block;\n\t\t\t\tcc = str.charCodeAt(i);\n\t\t\t}\n\t\t\twhile (\n\t\t\t\tcc === 59 ||\n\t\t\t\tcc === 32 ||\n\t\t\t\tcc === 123 ||\n\t\t\t\tcc === 125 ||\n\t\t\t\tcc === 13 ||\n\t\t\t\tcc === 9\n\t\t\t) {\n\t\t\t\tif (++i >= len) break block;\n\t\t\t\tcc = str.charCodeAt(i);\n\t\t\t}\n\t\t\tif (cc === 10) {\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\tresults.push(str.slice(s, i));\n\t}\n\treturn results;\n};\nmodule.exports = splitIntoPotentialTokens;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createMappingsSerializer = __webpack_require__(/*! ./createMappingsSerializer */ \"./node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js\");\nconst streamChunks = __webpack_require__(/*! ./streamChunks */ \"./node_modules/webpack-sources/lib/helpers/streamChunks.js\");\n\nconst streamAndGetSourceAndMap = (\n\tinputSource,\n\toptions,\n\tonChunk,\n\tonSource,\n\tonName\n) => {\n\tlet code = \"\";\n\tlet mappings = \"\";\n\tlet sources = [];\n\tlet sourcesContent = [];\n\tlet names = [];\n\tconst addMapping = createMappingsSerializer(\n\t\tObject.assign({}, options, { columns: true })\n\t);\n\tconst finalSource = !!(options && options.finalSource);\n\tconst { generatedLine, generatedColumn, source } = streamChunks(\n\t\tinputSource,\n\t\toptions,\n\t\t(\n\t\t\tchunk,\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn,\n\t\t\tsourceIndex,\n\t\t\toriginalLine,\n\t\t\toriginalColumn,\n\t\t\tnameIndex\n\t\t) => {\n\t\t\tif (chunk !== undefined) code += chunk;\n\t\t\tmappings += addMapping(\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t);\n\t\t\treturn onChunk(\n\t\t\t\tfinalSource ? undefined : chunk,\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t);\n\t\t},\n\t\t(sourceIndex, source, sourceContent) => {\n\t\t\twhile (sources.length < sourceIndex) {\n\t\t\t\tsources.push(null);\n\t\t\t}\n\t\t\tsources[sourceIndex] = source;\n\t\t\tif (sourceContent !== undefined) {\n\t\t\t\twhile (sourcesContent.length < sourceIndex) {\n\t\t\t\t\tsourcesContent.push(null);\n\t\t\t\t}\n\t\t\t\tsourcesContent[sourceIndex] = sourceContent;\n\t\t\t}\n\t\t\treturn onSource(sourceIndex, source, sourceContent);\n\t\t},\n\t\t(nameIndex, name) => {\n\t\t\twhile (names.length < nameIndex) {\n\t\t\t\tnames.push(null);\n\t\t\t}\n\t\t\tnames[nameIndex] = name;\n\t\t\treturn onName(nameIndex, name);\n\t\t}\n\t);\n\tconst resultSource = source !== undefined ? source : code;\n\treturn {\n\t\tresult: {\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn,\n\t\t\tsource: finalSource ? resultSource : undefined\n\t\t},\n\t\tsource: resultSource,\n\t\tmap:\n\t\t\tmappings.length > 0\n\t\t\t\t? {\n\t\t\t\t\t\tversion: 3,\n\t\t\t\t\t\tfile: \"x\",\n\t\t\t\t\t\tmappings,\n\t\t\t\t\t\tsources,\n\t\t\t\t\t\tsourcesContent:\n\t\t\t\t\t\t\tsourcesContent.length > 0 ? sourcesContent : undefined,\n\t\t\t\t\t\tnames\n\t\t\t\t }\n\t\t\t\t: null\n\t};\n};\n\nmodule.exports = streamAndGetSourceAndMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/streamChunks.js": /*!******************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/streamChunks.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst streamChunksOfRawSource = __webpack_require__(/*! ./streamChunksOfRawSource */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js\");\nconst streamChunksOfSourceMap = __webpack_require__(/*! ./streamChunksOfSourceMap */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js\");\n\nmodule.exports = (source, options, onChunk, onSource, onName) => {\n\tif (typeof source.streamChunks === \"function\") {\n\t\treturn source.streamChunks(options, onChunk, onSource, onName);\n\t} else {\n\t\tconst sourceAndMap = source.sourceAndMap(options);\n\t\tif (sourceAndMap.map) {\n\t\t\treturn streamChunksOfSourceMap(\n\t\t\t\tsourceAndMap.source,\n\t\t\t\tsourceAndMap.map,\n\t\t\t\tonChunk,\n\t\t\t\tonSource,\n\t\t\t\tonName,\n\t\t\t\t!!(options && options.finalSource),\n\t\t\t\t!!(options && options.columns !== false)\n\t\t\t);\n\t\t} else {\n\t\t\treturn streamChunksOfRawSource(\n\t\t\t\tsourceAndMap.source,\n\t\t\t\tonChunk,\n\t\t\t\tonSource,\n\t\t\t\tonName,\n\t\t\t\t!!(options && options.finalSource)\n\t\t\t);\n\t\t}\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/streamChunks.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js": /*!*************************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js ***! \*************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst streamChunksOfSourceMap = __webpack_require__(/*! ./streamChunksOfSourceMap */ \"./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js\");\nconst splitIntoLines = __webpack_require__(/*! ./splitIntoLines */ \"./node_modules/webpack-sources/lib/helpers/splitIntoLines.js\");\n\nconst streamChunksOfCombinedSourceMap = (\n\tsource,\n\tsourceMap,\n\tinnerSourceName,\n\tinnerSource,\n\tinnerSourceMap,\n\tremoveInnerSource,\n\tonChunk,\n\tonSource,\n\tonName,\n\tfinalSource,\n\tcolumns\n) => {\n\tlet sourceMapping = new Map();\n\tlet nameMapping = new Map();\n\tconst sourceIndexMapping = [];\n\tconst nameIndexMapping = [];\n\tconst nameIndexValueMapping = [];\n\tlet innerSourceIndex = -2;\n\tconst innerSourceIndexMapping = [];\n\tconst innerSourceIndexValueMapping = [];\n\tconst innerSourceContents = [];\n\tconst innerSourceContentLines = [];\n\tconst innerNameIndexMapping = [];\n\tconst innerNameIndexValueMapping = [];\n\tconst innerSourceMapLineData = [];\n\tconst findInnerMapping = (line, column) => {\n\t\tif (line > innerSourceMapLineData.length) return -1;\n\t\tconst { mappingsData } = innerSourceMapLineData[line - 1];\n\t\tlet l = 0;\n\t\tlet r = mappingsData.length / 5;\n\t\twhile (l < r) {\n\t\t\tlet m = (l + r) >> 1;\n\t\t\tif (mappingsData[m * 5] <= column) {\n\t\t\t\tl = m + 1;\n\t\t\t} else {\n\t\t\t\tr = m;\n\t\t\t}\n\t\t}\n\t\tif (l === 0) return -1;\n\t\treturn l - 1;\n\t};\n\treturn streamChunksOfSourceMap(\n\t\tsource,\n\t\tsourceMap,\n\t\t(\n\t\t\tchunk,\n\t\t\tgeneratedLine,\n\t\t\tgeneratedColumn,\n\t\t\tsourceIndex,\n\t\t\toriginalLine,\n\t\t\toriginalColumn,\n\t\t\tnameIndex\n\t\t) => {\n\t\t\t// Check if this is a mapping to the inner source\n\t\t\tif (sourceIndex === innerSourceIndex) {\n\t\t\t\t// Check if there is a mapping in the inner source\n\t\t\t\tconst idx = findInnerMapping(originalLine, originalColumn);\n\t\t\t\tif (idx !== -1) {\n\t\t\t\t\tconst { chunks, mappingsData } = innerSourceMapLineData[\n\t\t\t\t\t\toriginalLine - 1\n\t\t\t\t\t];\n\t\t\t\t\tconst mi = idx * 5;\n\t\t\t\t\tconst innerSourceIndex = mappingsData[mi + 1];\n\t\t\t\t\tconst innerOriginalLine = mappingsData[mi + 2];\n\t\t\t\t\tlet innerOriginalColumn = mappingsData[mi + 3];\n\t\t\t\t\tlet innerNameIndex = mappingsData[mi + 4];\n\t\t\t\t\tif (innerSourceIndex >= 0) {\n\t\t\t\t\t\t// Check for an identity mapping\n\t\t\t\t\t\t// where we are allowed to adjust the original column\n\t\t\t\t\t\tconst innerChunk = chunks[idx];\n\t\t\t\t\t\tconst innerGeneratedColumn = mappingsData[mi];\n\t\t\t\t\t\tconst locationInChunk = originalColumn - innerGeneratedColumn;\n\t\t\t\t\t\tif (locationInChunk > 0) {\n\t\t\t\t\t\t\tlet originalSourceLines =\n\t\t\t\t\t\t\t\tinnerSourceIndex < innerSourceContentLines.length\n\t\t\t\t\t\t\t\t\t? innerSourceContentLines[innerSourceIndex]\n\t\t\t\t\t\t\t\t\t: null;\n\t\t\t\t\t\t\tif (originalSourceLines === undefined) {\n\t\t\t\t\t\t\t\tconst originalSource = innerSourceContents[innerSourceIndex];\n\t\t\t\t\t\t\t\toriginalSourceLines = originalSource\n\t\t\t\t\t\t\t\t\t? splitIntoLines(originalSource)\n\t\t\t\t\t\t\t\t\t: null;\n\t\t\t\t\t\t\t\tinnerSourceContentLines[innerSourceIndex] = originalSourceLines;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (originalSourceLines !== null) {\n\t\t\t\t\t\t\t\tconst originalChunk =\n\t\t\t\t\t\t\t\t\tinnerOriginalLine <= originalSourceLines.length\n\t\t\t\t\t\t\t\t\t\t? originalSourceLines[innerOriginalLine - 1].slice(\n\t\t\t\t\t\t\t\t\t\t\t\tinnerOriginalColumn,\n\t\t\t\t\t\t\t\t\t\t\t\tinnerOriginalColumn + locationInChunk\n\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t: \"\";\n\t\t\t\t\t\t\t\tif (innerChunk.slice(0, locationInChunk) === originalChunk) {\n\t\t\t\t\t\t\t\t\tinnerOriginalColumn += locationInChunk;\n\t\t\t\t\t\t\t\t\tinnerNameIndex = -1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// We have a inner mapping to original source\n\n\t\t\t\t\t\t// emit source when needed and compute global source index\n\t\t\t\t\t\tlet sourceIndex =\n\t\t\t\t\t\t\tinnerSourceIndex < innerSourceIndexMapping.length\n\t\t\t\t\t\t\t\t? innerSourceIndexMapping[innerSourceIndex]\n\t\t\t\t\t\t\t\t: -2;\n\t\t\t\t\t\tif (sourceIndex === -2) {\n\t\t\t\t\t\t\tconst [source, sourceContent] =\n\t\t\t\t\t\t\t\tinnerSourceIndex < innerSourceIndexValueMapping.length\n\t\t\t\t\t\t\t\t\t? innerSourceIndexValueMapping[innerSourceIndex]\n\t\t\t\t\t\t\t\t\t: [null, undefined];\n\t\t\t\t\t\t\tlet globalIndex = sourceMapping.get(source);\n\t\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\t\tsourceMapping.set(source, (globalIndex = sourceMapping.size));\n\t\t\t\t\t\t\t\tonSource(globalIndex, source, sourceContent);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsourceIndex = globalIndex;\n\t\t\t\t\t\t\tinnerSourceIndexMapping[innerSourceIndex] = sourceIndex;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// emit name when needed and compute global name index\n\t\t\t\t\t\tlet finalNameIndex = -1;\n\t\t\t\t\t\tif (innerNameIndex >= 0) {\n\t\t\t\t\t\t\t// when we have a inner name\n\t\t\t\t\t\t\tfinalNameIndex =\n\t\t\t\t\t\t\t\tinnerNameIndex < innerNameIndexMapping.length\n\t\t\t\t\t\t\t\t\t? innerNameIndexMapping[innerNameIndex]\n\t\t\t\t\t\t\t\t\t: -2;\n\t\t\t\t\t\t\tif (finalNameIndex === -2) {\n\t\t\t\t\t\t\t\tconst name =\n\t\t\t\t\t\t\t\t\tinnerNameIndex < innerNameIndexValueMapping.length\n\t\t\t\t\t\t\t\t\t\t? innerNameIndexValueMapping[innerNameIndex]\n\t\t\t\t\t\t\t\t\t\t: undefined;\n\t\t\t\t\t\t\t\tif (name) {\n\t\t\t\t\t\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\t\t\t\tnameMapping.set(name, (globalIndex = nameMapping.size));\n\t\t\t\t\t\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tfinalNameIndex = globalIndex;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfinalNameIndex = -1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinnerNameIndexMapping[innerNameIndex] = finalNameIndex;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (nameIndex >= 0) {\n\t\t\t\t\t\t\t// when we don't have an inner name,\n\t\t\t\t\t\t\t// but we have an outer name\n\t\t\t\t\t\t\t// it can be used when inner original code equals to the name\n\t\t\t\t\t\t\tlet originalSourceLines =\n\t\t\t\t\t\t\t\tinnerSourceContentLines[innerSourceIndex];\n\t\t\t\t\t\t\tif (originalSourceLines === undefined) {\n\t\t\t\t\t\t\t\tconst originalSource = innerSourceContents[innerSourceIndex];\n\t\t\t\t\t\t\t\toriginalSourceLines = originalSource\n\t\t\t\t\t\t\t\t\t? splitIntoLines(originalSource)\n\t\t\t\t\t\t\t\t\t: null;\n\t\t\t\t\t\t\t\tinnerSourceContentLines[innerSourceIndex] = originalSourceLines;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (originalSourceLines !== null) {\n\t\t\t\t\t\t\t\tconst name = nameIndexValueMapping[nameIndex];\n\t\t\t\t\t\t\t\tconst originalName =\n\t\t\t\t\t\t\t\t\tinnerOriginalLine <= originalSourceLines.length\n\t\t\t\t\t\t\t\t\t\t? originalSourceLines[innerOriginalLine - 1].slice(\n\t\t\t\t\t\t\t\t\t\t\t\tinnerOriginalColumn,\n\t\t\t\t\t\t\t\t\t\t\t\tinnerOriginalColumn + name.length\n\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t: \"\";\n\t\t\t\t\t\t\t\tif (name === originalName) {\n\t\t\t\t\t\t\t\t\tfinalNameIndex =\n\t\t\t\t\t\t\t\t\t\tnameIndex < nameIndexMapping.length\n\t\t\t\t\t\t\t\t\t\t\t? nameIndexMapping[nameIndex]\n\t\t\t\t\t\t\t\t\t\t\t: -2;\n\t\t\t\t\t\t\t\t\tif (finalNameIndex === -2) {\n\t\t\t\t\t\t\t\t\t\tconst name = nameIndexValueMapping[nameIndex];\n\t\t\t\t\t\t\t\t\t\tif (name) {\n\t\t\t\t\t\t\t\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\t\t\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tnameMapping.set(name, (globalIndex = nameMapping.size));\n\t\t\t\t\t\t\t\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tfinalNameIndex = globalIndex;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tfinalNameIndex = -1;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tnameIndexMapping[nameIndex] = finalNameIndex;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tonChunk(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tgeneratedLine,\n\t\t\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\tinnerOriginalLine,\n\t\t\t\t\t\t\tinnerOriginalColumn,\n\t\t\t\t\t\t\tfinalNameIndex\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// We have a mapping to the inner source, but no inner mapping\n\t\t\t\tif (removeInnerSource) {\n\t\t\t\t\tonChunk(chunk, generatedLine, generatedColumn, -1, -1, -1, -1);\n\t\t\t\t\treturn;\n\t\t\t\t} else {\n\t\t\t\t\tif (sourceIndexMapping[sourceIndex] === -2) {\n\t\t\t\t\t\tlet globalIndex = sourceMapping.get(innerSourceName);\n\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\tsourceMapping.set(source, (globalIndex = sourceMapping.size));\n\t\t\t\t\t\t\tonSource(globalIndex, innerSourceName, innerSource);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsourceIndexMapping[sourceIndex] = globalIndex;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst finalSourceIndex =\n\t\t\t\tsourceIndex < 0 || sourceIndex >= sourceIndexMapping.length\n\t\t\t\t\t? -1\n\t\t\t\t\t: sourceIndexMapping[sourceIndex];\n\t\t\tif (finalSourceIndex < 0) {\n\t\t\t\t// no source, so we make it a generated chunk\n\t\t\t\tonChunk(chunk, generatedLine, generatedColumn, -1, -1, -1, -1);\n\t\t\t} else {\n\t\t\t\t// Pass through the chunk with mapping\n\t\t\t\tlet finalNameIndex = -1;\n\t\t\t\tif (nameIndex >= 0 && nameIndex < nameIndexMapping.length) {\n\t\t\t\t\tfinalNameIndex = nameIndexMapping[nameIndex];\n\t\t\t\t\tif (finalNameIndex === -2) {\n\t\t\t\t\t\tconst name = nameIndexValueMapping[nameIndex];\n\t\t\t\t\t\tlet globalIndex = nameMapping.get(name);\n\t\t\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\t\t\tnameMapping.set(name, (globalIndex = nameMapping.size));\n\t\t\t\t\t\t\tonName(globalIndex, name);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfinalNameIndex = globalIndex;\n\t\t\t\t\t\tnameIndexMapping[nameIndex] = finalNameIndex;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tonChunk(\n\t\t\t\t\tchunk,\n\t\t\t\t\tgeneratedLine,\n\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\tfinalSourceIndex,\n\t\t\t\t\toriginalLine,\n\t\t\t\t\toriginalColumn,\n\t\t\t\t\tfinalNameIndex\n\t\t\t\t);\n\t\t\t}\n\t\t},\n\t\t(i, source, sourceContent) => {\n\t\t\tif (source === innerSourceName) {\n\t\t\t\tinnerSourceIndex = i;\n\t\t\t\tif (innerSource !== undefined) sourceContent = innerSource;\n\t\t\t\telse innerSource = sourceContent;\n\t\t\t\tsourceIndexMapping[i] = -2;\n\t\t\t\tstreamChunksOfSourceMap(\n\t\t\t\t\tsourceContent,\n\t\t\t\t\tinnerSourceMap,\n\t\t\t\t\t(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tgeneratedLine,\n\t\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\tnameIndex\n\t\t\t\t\t) => {\n\t\t\t\t\t\twhile (innerSourceMapLineData.length < generatedLine) {\n\t\t\t\t\t\t\tinnerSourceMapLineData.push({\n\t\t\t\t\t\t\t\tmappingsData: [],\n\t\t\t\t\t\t\t\tchunks: []\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst data = innerSourceMapLineData[generatedLine - 1];\n\t\t\t\t\t\tdata.mappingsData.push(\n\t\t\t\t\t\t\tgeneratedColumn,\n\t\t\t\t\t\t\tsourceIndex,\n\t\t\t\t\t\t\toriginalLine,\n\t\t\t\t\t\t\toriginalColumn,\n\t\t\t\t\t\t\tnameIndex\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdata.chunks.push(chunk);\n\t\t\t\t\t},\n\t\t\t\t\t(i, source, sourceContent) => {\n\t\t\t\t\t\tinnerSourceContents[i] = sourceContent;\n\t\t\t\t\t\tinnerSourceContentLines[i] = undefined;\n\t\t\t\t\t\tinnerSourceIndexMapping[i] = -2;\n\t\t\t\t\t\tinnerSourceIndexValueMapping[i] = [source, sourceContent];\n\t\t\t\t\t},\n\t\t\t\t\t(i, name) => {\n\t\t\t\t\t\tinnerNameIndexMapping[i] = -2;\n\t\t\t\t\t\tinnerNameIndexValueMapping[i] = name;\n\t\t\t\t\t},\n\t\t\t\t\tfalse,\n\t\t\t\t\tcolumns\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tlet globalIndex = sourceMapping.get(source);\n\t\t\t\tif (globalIndex === undefined) {\n\t\t\t\t\tsourceMapping.set(source, (globalIndex = sourceMapping.size));\n\t\t\t\t\tonSource(globalIndex, source, sourceContent);\n\t\t\t\t}\n\t\t\t\tsourceIndexMapping[i] = globalIndex;\n\t\t\t}\n\t\t},\n\t\t(i, name) => {\n\t\t\tnameIndexMapping[i] = -2;\n\t\t\tnameIndexValueMapping[i] = name;\n\t\t},\n\t\tfinalSource,\n\t\tcolumns\n\t);\n};\n\nmodule.exports = streamChunksOfCombinedSourceMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst getGeneratedSourceInfo = __webpack_require__(/*! ./getGeneratedSourceInfo */ \"./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js\");\nconst splitIntoLines = __webpack_require__(/*! ./splitIntoLines */ \"./node_modules/webpack-sources/lib/helpers/splitIntoLines.js\");\n\nconst streamChunksOfRawSource = (source, onChunk, onSource, onName) => {\n\tlet line = 1;\n\tconst matches = splitIntoLines(source);\n\tlet match;\n\tfor (match of matches) {\n\t\tonChunk(match, line, 0, -1, -1, -1, -1);\n\t\tline++;\n\t}\n\treturn matches.length === 0 || match.endsWith(\"\\n\")\n\t\t? {\n\t\t\t\tgeneratedLine: matches.length + 1,\n\t\t\t\tgeneratedColumn: 0\n\t\t }\n\t\t: {\n\t\t\t\tgeneratedLine: matches.length,\n\t\t\t\tgeneratedColumn: match.length\n\t\t };\n};\n\nmodule.exports = (source, onChunk, onSource, onName, finalSource) => {\n\treturn finalSource\n\t\t? getGeneratedSourceInfo(source)\n\t\t: streamChunksOfRawSource(source, onChunk, onSource, onName);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst getGeneratedSourceInfo = __webpack_require__(/*! ./getGeneratedSourceInfo */ \"./node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js\");\nconst getSource = __webpack_require__(/*! ./getSource */ \"./node_modules/webpack-sources/lib/helpers/getSource.js\");\nconst readMappings = __webpack_require__(/*! ./readMappings */ \"./node_modules/webpack-sources/lib/helpers/readMappings.js\");\nconst splitIntoLines = __webpack_require__(/*! ./splitIntoLines */ \"./node_modules/webpack-sources/lib/helpers/splitIntoLines.js\");\n\nconst streamChunksOfSourceMapFull = (\n\tsource,\n\tsourceMap,\n\tonChunk,\n\tonSource,\n\tonName\n) => {\n\tconst lines = splitIntoLines(source);\n\tif (lines.length === 0) {\n\t\treturn {\n\t\t\tgeneratedLine: 1,\n\t\t\tgeneratedColumn: 0\n\t\t};\n\t}\n\tconst { sources, sourcesContent, names, mappings } = sourceMap;\n\tfor (let i = 0; i < sources.length; i++) {\n\t\tonSource(\n\t\t\ti,\n\t\t\tgetSource(sourceMap, i),\n\t\t\t(sourcesContent && sourcesContent[i]) || undefined\n\t\t);\n\t}\n\tif (names) {\n\t\tfor (let i = 0; i < names.length; i++) {\n\t\t\tonName(i, names[i]);\n\t\t}\n\t}\n\n\tconst lastLine = lines[lines.length - 1];\n\tconst lastNewLine = lastLine.endsWith(\"\\n\");\n\tconst finalLine = lastNewLine ? lines.length + 1 : lines.length;\n\tconst finalColumn = lastNewLine ? 0 : lastLine.length;\n\n\tlet currentGeneratedLine = 1;\n\tlet currentGeneratedColumn = 0;\n\n\tlet mappingActive = false;\n\tlet activeMappingSourceIndex = -1;\n\tlet activeMappingOriginalLine = -1;\n\tlet activeMappingOriginalColumn = -1;\n\tlet activeMappingNameIndex = -1;\n\n\tconst onMapping = (\n\t\tgeneratedLine,\n\t\tgeneratedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\toriginalColumn,\n\t\tnameIndex\n\t) => {\n\t\tif (mappingActive && currentGeneratedLine <= lines.length) {\n\t\t\tlet chunk;\n\t\t\tconst mappingLine = currentGeneratedLine;\n\t\t\tconst mappingColumn = currentGeneratedColumn;\n\t\t\tconst line = lines[currentGeneratedLine - 1];\n\t\t\tif (generatedLine !== currentGeneratedLine) {\n\t\t\t\tchunk = line.slice(currentGeneratedColumn);\n\t\t\t\tcurrentGeneratedLine++;\n\t\t\t\tcurrentGeneratedColumn = 0;\n\t\t\t} else {\n\t\t\t\tchunk = line.slice(currentGeneratedColumn, generatedColumn);\n\t\t\t\tcurrentGeneratedColumn = generatedColumn;\n\t\t\t}\n\t\t\tif (chunk) {\n\t\t\t\tonChunk(\n\t\t\t\t\tchunk,\n\t\t\t\t\tmappingLine,\n\t\t\t\t\tmappingColumn,\n\t\t\t\t\tactiveMappingSourceIndex,\n\t\t\t\t\tactiveMappingOriginalLine,\n\t\t\t\t\tactiveMappingOriginalColumn,\n\t\t\t\t\tactiveMappingNameIndex\n\t\t\t\t);\n\t\t\t}\n\t\t\tmappingActive = false;\n\t\t}\n\t\tif (generatedLine > currentGeneratedLine && currentGeneratedColumn > 0) {\n\t\t\tif (currentGeneratedLine <= lines.length) {\n\t\t\t\tconst chunk = lines[currentGeneratedLine - 1].slice(\n\t\t\t\t\tcurrentGeneratedColumn\n\t\t\t\t);\n\t\t\t\tonChunk(\n\t\t\t\t\tchunk,\n\t\t\t\t\tcurrentGeneratedLine,\n\t\t\t\t\tcurrentGeneratedColumn,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1\n\t\t\t\t);\n\t\t\t}\n\t\t\tcurrentGeneratedLine++;\n\t\t\tcurrentGeneratedColumn = 0;\n\t\t}\n\t\twhile (generatedLine > currentGeneratedLine) {\n\t\t\tif (currentGeneratedLine <= lines.length) {\n\t\t\t\tonChunk(\n\t\t\t\t\tlines[currentGeneratedLine - 1],\n\t\t\t\t\tcurrentGeneratedLine,\n\t\t\t\t\t0,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1\n\t\t\t\t);\n\t\t\t}\n\t\t\tcurrentGeneratedLine++;\n\t\t}\n\t\tif (generatedColumn > currentGeneratedColumn) {\n\t\t\tif (currentGeneratedLine <= lines.length) {\n\t\t\t\tconst chunk = lines[currentGeneratedLine - 1].slice(\n\t\t\t\t\tcurrentGeneratedColumn,\n\t\t\t\t\tgeneratedColumn\n\t\t\t\t);\n\t\t\t\tonChunk(\n\t\t\t\t\tchunk,\n\t\t\t\t\tcurrentGeneratedLine,\n\t\t\t\t\tcurrentGeneratedColumn,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1\n\t\t\t\t);\n\t\t\t}\n\t\t\tcurrentGeneratedColumn = generatedColumn;\n\t\t}\n\t\tif (\n\t\t\tsourceIndex >= 0 &&\n\t\t\t(generatedLine < finalLine ||\n\t\t\t\t(generatedLine === finalLine && generatedColumn < finalColumn))\n\t\t) {\n\t\t\tmappingActive = true;\n\t\t\tactiveMappingSourceIndex = sourceIndex;\n\t\t\tactiveMappingOriginalLine = originalLine;\n\t\t\tactiveMappingOriginalColumn = originalColumn;\n\t\t\tactiveMappingNameIndex = nameIndex;\n\t\t}\n\t};\n\treadMappings(mappings, onMapping);\n\tonMapping(finalLine, finalColumn, -1, -1, -1, -1);\n\treturn {\n\t\tgeneratedLine: finalLine,\n\t\tgeneratedColumn: finalColumn\n\t};\n};\n\nconst streamChunksOfSourceMapLinesFull = (\n\tsource,\n\tsourceMap,\n\tonChunk,\n\tonSource,\n\t_onName\n) => {\n\tconst lines = splitIntoLines(source);\n\tif (lines.length === 0) {\n\t\treturn {\n\t\t\tgeneratedLine: 1,\n\t\t\tgeneratedColumn: 0\n\t\t};\n\t}\n\tconst { sources, sourcesContent, mappings } = sourceMap;\n\tfor (let i = 0; i < sources.length; i++) {\n\t\tonSource(\n\t\t\ti,\n\t\t\tgetSource(sourceMap, i),\n\t\t\t(sourcesContent && sourcesContent[i]) || undefined\n\t\t);\n\t}\n\n\tlet currentGeneratedLine = 1;\n\n\tconst onMapping = (\n\t\tgeneratedLine,\n\t\t_generatedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\toriginalColumn,\n\t\t_nameIndex\n\t) => {\n\t\tif (\n\t\t\tsourceIndex < 0 ||\n\t\t\tgeneratedLine < currentGeneratedLine ||\n\t\t\tgeneratedLine > lines.length\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\twhile (generatedLine > currentGeneratedLine) {\n\t\t\tif (currentGeneratedLine <= lines.length) {\n\t\t\t\tonChunk(\n\t\t\t\t\tlines[currentGeneratedLine - 1],\n\t\t\t\t\tcurrentGeneratedLine,\n\t\t\t\t\t0,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1,\n\t\t\t\t\t-1\n\t\t\t\t);\n\t\t\t}\n\t\t\tcurrentGeneratedLine++;\n\t\t}\n\t\tif (generatedLine <= lines.length) {\n\t\t\tonChunk(\n\t\t\t\tlines[generatedLine - 1],\n\t\t\t\tgeneratedLine,\n\t\t\t\t0,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\t-1\n\t\t\t);\n\t\t\tcurrentGeneratedLine++;\n\t\t}\n\t};\n\treadMappings(mappings, onMapping);\n\tfor (; currentGeneratedLine <= lines.length; currentGeneratedLine++) {\n\t\tonChunk(\n\t\t\tlines[currentGeneratedLine - 1],\n\t\t\tcurrentGeneratedLine,\n\t\t\t0,\n\t\t\t-1,\n\t\t\t-1,\n\t\t\t-1,\n\t\t\t-1\n\t\t);\n\t}\n\n\tconst lastLine = lines[lines.length - 1];\n\tconst lastNewLine = lastLine.endsWith(\"\\n\");\n\n\tconst finalLine = lastNewLine ? lines.length + 1 : lines.length;\n\tconst finalColumn = lastNewLine ? 0 : lastLine.length;\n\n\treturn {\n\t\tgeneratedLine: finalLine,\n\t\tgeneratedColumn: finalColumn\n\t};\n};\n\nconst streamChunksOfSourceMapFinal = (\n\tsource,\n\tsourceMap,\n\tonChunk,\n\tonSource,\n\tonName\n) => {\n\tconst result = getGeneratedSourceInfo(source);\n\tconst { generatedLine: finalLine, generatedColumn: finalColumn } = result;\n\n\tif (finalLine === 1 && finalColumn === 0) return result;\n\tconst { sources, sourcesContent, names, mappings } = sourceMap;\n\tfor (let i = 0; i < sources.length; i++) {\n\t\tonSource(\n\t\t\ti,\n\t\t\tgetSource(sourceMap, i),\n\t\t\t(sourcesContent && sourcesContent[i]) || undefined\n\t\t);\n\t}\n\tif (names) {\n\t\tfor (let i = 0; i < names.length; i++) {\n\t\t\tonName(i, names[i]);\n\t\t}\n\t}\n\n\tlet mappingActiveLine = 0;\n\n\tconst onMapping = (\n\t\tgeneratedLine,\n\t\tgeneratedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\toriginalColumn,\n\t\tnameIndex\n\t) => {\n\t\tif (\n\t\t\tgeneratedLine >= finalLine &&\n\t\t\t(generatedColumn >= finalColumn || generatedLine > finalLine)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\tif (sourceIndex >= 0) {\n\t\t\tonChunk(\n\t\t\t\tundefined,\n\t\t\t\tgeneratedLine,\n\t\t\t\tgeneratedColumn,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\tnameIndex\n\t\t\t);\n\t\t\tmappingActiveLine = generatedLine;\n\t\t} else if (mappingActiveLine === generatedLine) {\n\t\t\tonChunk(undefined, generatedLine, generatedColumn, -1, -1, -1, -1);\n\t\t\tmappingActiveLine = 0;\n\t\t}\n\t};\n\treadMappings(mappings, onMapping);\n\treturn result;\n};\n\nconst streamChunksOfSourceMapLinesFinal = (\n\tsource,\n\tsourceMap,\n\tonChunk,\n\tonSource,\n\t_onName\n) => {\n\tconst result = getGeneratedSourceInfo(source);\n\tconst { generatedLine, generatedColumn } = result;\n\tif (generatedLine === 1 && generatedColumn === 0) {\n\t\treturn {\n\t\t\tgeneratedLine: 1,\n\t\t\tgeneratedColumn: 0\n\t\t};\n\t}\n\n\tconst { sources, sourcesContent, mappings } = sourceMap;\n\tfor (let i = 0; i < sources.length; i++) {\n\t\tonSource(\n\t\t\ti,\n\t\t\tgetSource(sourceMap, i),\n\t\t\t(sourcesContent && sourcesContent[i]) || undefined\n\t\t);\n\t}\n\n\tconst finalLine = generatedColumn === 0 ? generatedLine - 1 : generatedLine;\n\n\tlet currentGeneratedLine = 1;\n\n\tconst onMapping = (\n\t\tgeneratedLine,\n\t\t_generatedColumn,\n\t\tsourceIndex,\n\t\toriginalLine,\n\t\toriginalColumn,\n\t\t_nameIndex\n\t) => {\n\t\tif (\n\t\t\tsourceIndex >= 0 &&\n\t\t\tcurrentGeneratedLine <= generatedLine &&\n\t\t\tgeneratedLine <= finalLine\n\t\t) {\n\t\t\tonChunk(\n\t\t\t\tundefined,\n\t\t\t\tgeneratedLine,\n\t\t\t\t0,\n\t\t\t\tsourceIndex,\n\t\t\t\toriginalLine,\n\t\t\t\toriginalColumn,\n\t\t\t\t-1\n\t\t\t);\n\t\t\tcurrentGeneratedLine = generatedLine + 1;\n\t\t}\n\t};\n\treadMappings(mappings, onMapping);\n\treturn result;\n};\n\nmodule.exports = (\n\tsource,\n\tsourceMap,\n\tonChunk,\n\tonSource,\n\tonName,\n\tfinalSource,\n\tcolumns\n) => {\n\tif (columns) {\n\t\treturn finalSource\n\t\t\t? streamChunksOfSourceMapFinal(\n\t\t\t\t\tsource,\n\t\t\t\t\tsourceMap,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName\n\t\t\t )\n\t\t\t: streamChunksOfSourceMapFull(\n\t\t\t\t\tsource,\n\t\t\t\t\tsourceMap,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName\n\t\t\t );\n\t} else {\n\t\treturn finalSource\n\t\t\t? streamChunksOfSourceMapLinesFinal(\n\t\t\t\t\tsource,\n\t\t\t\t\tsourceMap,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName\n\t\t\t )\n\t\t\t: streamChunksOfSourceMapLinesFull(\n\t\t\t\t\tsource,\n\t\t\t\t\tsourceMap,\n\t\t\t\t\tonChunk,\n\t\t\t\t\tonSource,\n\t\t\t\t\tonName\n\t\t\t );\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js?"); /***/ }), /***/ "./node_modules/webpack-sources/lib/index.js": /*!***************************************************!*\ !*** ./node_modules/webpack-sources/lib/index.js ***! \***************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nconst defineExport = (name, fn) => {\n\tlet value;\n\tObject.defineProperty(exports, name, {\n\t\tget: () => {\n\t\t\tif (fn !== undefined) {\n\t\t\t\tvalue = fn();\n\t\t\t\tfn = undefined;\n\t\t\t}\n\t\t\treturn value;\n\t\t},\n\t\tconfigurable: true\n\t});\n};\n\ndefineExport(\"Source\", () => __webpack_require__(/*! ./Source */ \"./node_modules/webpack-sources/lib/Source.js\"));\n\ndefineExport(\"RawSource\", () => __webpack_require__(/*! ./RawSource */ \"./node_modules/webpack-sources/lib/RawSource.js\"));\ndefineExport(\"OriginalSource\", () => __webpack_require__(/*! ./OriginalSource */ \"./node_modules/webpack-sources/lib/OriginalSource.js\"));\ndefineExport(\"SourceMapSource\", () => __webpack_require__(/*! ./SourceMapSource */ \"./node_modules/webpack-sources/lib/SourceMapSource.js\"));\ndefineExport(\"CachedSource\", () => __webpack_require__(/*! ./CachedSource */ \"./node_modules/webpack-sources/lib/CachedSource.js\"));\ndefineExport(\"ConcatSource\", () => __webpack_require__(/*! ./ConcatSource */ \"./node_modules/webpack-sources/lib/ConcatSource.js\"));\ndefineExport(\"ReplaceSource\", () => __webpack_require__(/*! ./ReplaceSource */ \"./node_modules/webpack-sources/lib/ReplaceSource.js\"));\ndefineExport(\"PrefixSource\", () => __webpack_require__(/*! ./PrefixSource */ \"./node_modules/webpack-sources/lib/PrefixSource.js\"));\ndefineExport(\"SizeOnlySource\", () => __webpack_require__(/*! ./SizeOnlySource */ \"./node_modules/webpack-sources/lib/SizeOnlySource.js\"));\ndefineExport(\"CompatSource\", () => __webpack_require__(/*! ./CompatSource */ \"./node_modules/webpack-sources/lib/CompatSource.js\"));\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack-sources/lib/index.js?"); /***/ }), /***/ "./node_modules/webpack/hot/lazy-compilation-node.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/hot/lazy-compilation-node.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("var __resourceQuery = \"\";\n/* global __resourceQuery */\n\n\n\nvar urlBase = decodeURIComponent(__resourceQuery.slice(1));\nexports.keepAlive = function (options) {\n\tvar data = options.data;\n\tvar onError = options.onError;\n\tvar active = options.active;\n\tvar module = options.module;\n\tvar response;\n\tvar request = (\n\t\turlBase.startsWith(\"https\") ? __webpack_require__(/*! https */ \"?4dd1\") : __webpack_require__(/*! http */ \"?9a98\")\n\t).request(\n\t\turlBase + data,\n\t\t{\n\t\t\tagent: false,\n\t\t\theaders: { accept: \"text/event-stream\" }\n\t\t},\n\t\tfunction (res) {\n\t\t\tresponse = res;\n\t\t\tresponse.on(\"error\", errorHandler);\n\t\t\tif (!active && !module.hot) {\n\t\t\t\tconsole.log(\n\t\t\t\t\t\"Hot Module Replacement is not enabled. Waiting for process restart...\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t);\n\tfunction errorHandler(err) {\n\t\terr.message =\n\t\t\t\"Problem communicating active modules to the server: \" + err.message;\n\t\tonError(err);\n\t}\n\trequest.on(\"error\", errorHandler);\n\trequest.end();\n\treturn function () {\n\t\tresponse.destroy();\n\t};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/hot/lazy-compilation-node.js?"); /***/ }), /***/ "./node_modules/webpack/hot/lazy-compilation-web.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/hot/lazy-compilation-web.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("var __resourceQuery = \"\";\n/* global __resourceQuery */\n\n\n\nif (typeof EventSource !== \"function\") {\n\tthrow new Error(\n\t\t\"Environment doesn't support lazy compilation (requires EventSource)\"\n\t);\n}\n\nvar urlBase = decodeURIComponent(__resourceQuery.slice(1));\nvar activeEventSource;\nvar activeKeys = new Map();\nvar errorHandlers = new Set();\n\nvar updateEventSource = function updateEventSource() {\n\tif (activeEventSource) activeEventSource.close();\n\tif (activeKeys.size) {\n\t\tactiveEventSource = new EventSource(\n\t\t\turlBase + Array.from(activeKeys.keys()).join(\"@\")\n\t\t);\n\t\tactiveEventSource.onerror = function (event) {\n\t\t\terrorHandlers.forEach(function (onError) {\n\t\t\t\tonError(\n\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\"Problem communicating active modules to the server: \" +\n\t\t\t\t\t\t\tevent.message +\n\t\t\t\t\t\t\t\" \" +\n\t\t\t\t\t\t\tevent.filename +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tevent.lineno +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tevent.colno +\n\t\t\t\t\t\t\t\" \" +\n\t\t\t\t\t\t\tevent.error\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t});\n\t\t};\n\t} else {\n\t\tactiveEventSource = undefined;\n\t}\n};\n\nexports.keepAlive = function (options) {\n\tvar data = options.data;\n\tvar onError = options.onError;\n\tvar active = options.active;\n\tvar module = options.module;\n\terrorHandlers.add(onError);\n\tvar value = activeKeys.get(data) || 0;\n\tactiveKeys.set(data, value + 1);\n\tif (value === 0) {\n\t\tupdateEventSource();\n\t}\n\tif (!active && !module.hot) {\n\t\tconsole.log(\n\t\t\t\"Hot Module Replacement is not enabled. Waiting for process restart...\"\n\t\t);\n\t}\n\n\treturn function () {\n\t\terrorHandlers.delete(onError);\n\t\tsetTimeout(function () {\n\t\t\tvar value = activeKeys.get(data);\n\t\t\tif (value === 1) {\n\t\t\t\tactiveKeys.delete(data);\n\t\t\t\tupdateEventSource();\n\t\t\t} else {\n\t\t\t\tactiveKeys.set(data, value - 1);\n\t\t\t}\n\t\t}, 1000);\n\t};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/hot/lazy-compilation-web.js?"); /***/ }), /***/ "./node_modules/webpack/hot sync recursive ^\\.\\/lazy\\-compilation\\-.*\\.js$": /*!************************************************************************!*\ !*** ./node_modules/webpack/hot/ sync ^\.\/lazy\-compilation\-.*\.js$ ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var map = {\n\t\"./lazy-compilation-node.js\": \"./node_modules/webpack/hot/lazy-compilation-node.js\",\n\t\"./lazy-compilation-web.js\": \"./node_modules/webpack/hot/lazy-compilation-web.js\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./node_modules/webpack/hot sync recursive ^\\\\.\\\\/lazy\\\\-compilation\\\\-.*\\\\.js$\";\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/hot/_sync_^\\.\\/lazy\\-compilation\\-.*\\.js$?"); /***/ }), /***/ "./node_modules/webpack/lib/APIPlugin.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/APIPlugin.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ./javascript/BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\nconst {\n\ttoConstantDependency,\n\tevaluateToString\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst ChunkNameRuntimeModule = __webpack_require__(/*! ./runtime/ChunkNameRuntimeModule */ \"./node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js\");\nconst GetFullHashRuntimeModule = __webpack_require__(/*! ./runtime/GetFullHashRuntimeModule */ \"./node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\n/* eslint-disable camelcase */\nconst REPLACEMENTS = {\n\t__webpack_require__: {\n\t\texpr: RuntimeGlobals.require,\n\t\treq: [RuntimeGlobals.require],\n\t\ttype: \"function\",\n\t\tassign: false\n\t},\n\t__webpack_public_path__: {\n\t\texpr: RuntimeGlobals.publicPath,\n\t\treq: [RuntimeGlobals.publicPath],\n\t\ttype: \"string\",\n\t\tassign: true\n\t},\n\t__webpack_base_uri__: {\n\t\texpr: RuntimeGlobals.baseURI,\n\t\treq: [RuntimeGlobals.baseURI],\n\t\ttype: \"string\",\n\t\tassign: true\n\t},\n\t__webpack_modules__: {\n\t\texpr: RuntimeGlobals.moduleFactories,\n\t\treq: [RuntimeGlobals.moduleFactories],\n\t\ttype: \"object\",\n\t\tassign: false\n\t},\n\t__webpack_chunk_load__: {\n\t\texpr: RuntimeGlobals.ensureChunk,\n\t\treq: [RuntimeGlobals.ensureChunk],\n\t\ttype: \"function\",\n\t\tassign: true\n\t},\n\t__non_webpack_require__: {\n\t\texpr: \"require\",\n\t\treq: null,\n\t\ttype: undefined, // type is not known, depends on environment\n\t\tassign: true\n\t},\n\t__webpack_nonce__: {\n\t\texpr: RuntimeGlobals.scriptNonce,\n\t\treq: [RuntimeGlobals.scriptNonce],\n\t\ttype: \"string\",\n\t\tassign: true\n\t},\n\t__webpack_hash__: {\n\t\texpr: `${RuntimeGlobals.getFullHash}()`,\n\t\treq: [RuntimeGlobals.getFullHash],\n\t\ttype: \"string\",\n\t\tassign: false\n\t},\n\t__webpack_chunkname__: {\n\t\texpr: RuntimeGlobals.chunkName,\n\t\treq: [RuntimeGlobals.chunkName],\n\t\ttype: \"string\",\n\t\tassign: false\n\t},\n\t__webpack_get_script_filename__: {\n\t\texpr: RuntimeGlobals.getChunkScriptFilename,\n\t\treq: [RuntimeGlobals.getChunkScriptFilename],\n\t\ttype: \"function\",\n\t\tassign: true\n\t},\n\t__webpack_runtime_id__: {\n\t\texpr: RuntimeGlobals.runtimeId,\n\t\treq: [RuntimeGlobals.runtimeId],\n\t\tassign: false\n\t},\n\t\"require.onError\": {\n\t\texpr: RuntimeGlobals.uncaughtErrorHandler,\n\t\treq: [RuntimeGlobals.uncaughtErrorHandler],\n\t\ttype: undefined, // type is not known, could be function or undefined\n\t\tassign: true // is never a pattern\n\t},\n\t__system_context__: {\n\t\texpr: RuntimeGlobals.systemContext,\n\t\treq: [RuntimeGlobals.systemContext],\n\t\ttype: \"object\",\n\t\tassign: false\n\t},\n\t__webpack_share_scopes__: {\n\t\texpr: RuntimeGlobals.shareScopeMap,\n\t\treq: [RuntimeGlobals.shareScopeMap],\n\t\ttype: \"object\",\n\t\tassign: false\n\t},\n\t__webpack_init_sharing__: {\n\t\texpr: RuntimeGlobals.initializeSharing,\n\t\treq: [RuntimeGlobals.initializeSharing],\n\t\ttype: \"function\",\n\t\tassign: true\n\t}\n};\n/* eslint-enable camelcase */\n\nclass APIPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"APIPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.chunkName)\n\t\t\t\t\t.tap(\"APIPlugin\", chunk => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew ChunkNameRuntimeModule(chunk.name)\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.getFullHash)\n\t\t\t\t\t.tap(\"APIPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new GetFullHashRuntimeModule());\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tObject.keys(REPLACEMENTS).forEach(key => {\n\t\t\t\t\t\tconst info = REPLACEMENTS[key];\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"APIPlugin\",\n\t\t\t\t\t\t\t\ttoConstantDependency(parser, info.expr, info.req)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tif (info.assign === false) {\n\t\t\t\t\t\t\tparser.hooks.assign.for(key).tap(\"APIPlugin\", expr => {\n\t\t\t\t\t\t\t\tconst err = new WebpackError(`${key} must not be assigned`);\n\t\t\t\t\t\t\t\terr.loc = expr.loc;\n\t\t\t\t\t\t\t\tthrow err;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (info.type) {\n\t\t\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t\t.tap(\"APIPlugin\", evaluateToString(info.type));\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__webpack_layer__\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", expr => {\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\tJSON.stringify(parser.state.module.layer),\n\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t.for(\"__webpack_layer__\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", expr =>\n\t\t\t\t\t\t\t(parser.state.module.layer === null\n\t\t\t\t\t\t\t\t? new BasicEvaluatedExpression().setNull()\n\t\t\t\t\t\t\t\t: new BasicEvaluatedExpression().setString(\n\t\t\t\t\t\t\t\t\t\tparser.state.module.layer\n\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t).setRange(expr.range)\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"__webpack_layer__\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", expr =>\n\t\t\t\t\t\t\tnew BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t.setString(\n\t\t\t\t\t\t\t\t\tparser.state.module.layer === null ? \"object\" : \"string\"\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t.setRange(expr.range)\n\t\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__webpack_module__.id\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", expr => {\n\t\t\t\t\t\t\tparser.state.module.buildInfo.moduleConcatenationBailout =\n\t\t\t\t\t\t\t\t\"__webpack_module__.id\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\tparser.state.module.moduleArgument + \".id\",\n\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t[RuntimeGlobals.moduleId]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__webpack_module__\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", expr => {\n\t\t\t\t\t\t\tparser.state.module.buildInfo.moduleConcatenationBailout =\n\t\t\t\t\t\t\t\t\"__webpack_module__\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\tparser.state.module.moduleArgument,\n\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t[RuntimeGlobals.module]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"__webpack_module__\")\n\t\t\t\t\t\t.tap(\"APIPlugin\", evaluateToString(\"object\"));\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"APIPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"APIPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"APIPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = APIPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/APIPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/AbstractMethodError.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/AbstractMethodError.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst CURRENT_METHOD_REGEXP = /at ([a-zA-Z0-9_.]*)/;\n\n/**\n * @param {string=} method method name\n * @returns {string} message\n */\nfunction createMessage(method) {\n\treturn `Abstract method${method ? \" \" + method : \"\"}. Must be overridden.`;\n}\n\n/**\n * @constructor\n */\nfunction Message() {\n\t/** @type {string} */\n\tthis.stack = undefined;\n\tError.captureStackTrace(this);\n\t/** @type {RegExpMatchArray} */\n\tconst match = this.stack.split(\"\\n\")[3].match(CURRENT_METHOD_REGEXP);\n\n\tthis.message = match && match[1] ? createMessage(match[1]) : createMessage();\n}\n\n/**\n * Error for abstract method\n * @example\n * class FooClass {\n * abstractMethod() {\n * throw new AbstractMethodError(); // error message: Abstract method FooClass.abstractMethod. Must be overridden.\n * }\n * }\n *\n */\nclass AbstractMethodError extends WebpackError {\n\tconstructor() {\n\t\tsuper(new Message().message);\n\t\tthis.name = \"AbstractMethodError\";\n\t}\n}\n\nmodule.exports = AbstractMethodError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/AbstractMethodError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/AsyncDependenciesBlock.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/AsyncDependenciesBlock.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DependenciesBlock = __webpack_require__(/*! ./DependenciesBlock */ \"./node_modules/webpack/lib/DependenciesBlock.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./ChunkGroup\").ChunkGroupOptions} ChunkGroupOptions */\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./Entrypoint\").EntryOptions} EntryOptions */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\nclass AsyncDependenciesBlock extends DependenciesBlock {\n\t/**\n\t * @param {ChunkGroupOptions & { entryOptions?: EntryOptions }} groupOptions options for the group\n\t * @param {DependencyLocation=} loc the line of code\n\t * @param {string=} request the request\n\t */\n\tconstructor(groupOptions, loc, request) {\n\t\tsuper();\n\t\tif (typeof groupOptions === \"string\") {\n\t\t\tgroupOptions = { name: groupOptions };\n\t\t} else if (!groupOptions) {\n\t\t\tgroupOptions = { name: undefined };\n\t\t}\n\t\tthis.groupOptions = groupOptions;\n\t\tthis.loc = loc;\n\t\tthis.request = request;\n\t\tthis._stringifiedGroupOptions = undefined;\n\t}\n\n\t/**\n\t * @returns {string} The name of the chunk\n\t */\n\tget chunkName() {\n\t\treturn this.groupOptions.name;\n\t}\n\n\t/**\n\t * @param {string} value The new chunk name\n\t * @returns {void}\n\t */\n\tset chunkName(value) {\n\t\tif (this.groupOptions.name !== value) {\n\t\t\tthis.groupOptions.name = value;\n\t\t\tthis._stringifiedGroupOptions = undefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tconst { chunkGraph } = context;\n\t\tif (this._stringifiedGroupOptions === undefined) {\n\t\t\tthis._stringifiedGroupOptions = JSON.stringify(this.groupOptions);\n\t\t}\n\t\tconst chunkGroup = chunkGraph.getBlockChunkGroup(this);\n\t\thash.update(\n\t\t\t`${this._stringifiedGroupOptions}${chunkGroup ? chunkGroup.id : \"\"}`\n\t\t);\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.groupOptions);\n\t\twrite(this.loc);\n\t\twrite(this.request);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.groupOptions = read();\n\t\tthis.loc = read();\n\t\tthis.request = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(AsyncDependenciesBlock, \"webpack/lib/AsyncDependenciesBlock\");\n\nObject.defineProperty(AsyncDependenciesBlock.prototype, \"module\", {\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"module property was removed from AsyncDependenciesBlock (it's not needed)\"\n\t\t);\n\t},\n\tset() {\n\t\tthrow new Error(\n\t\t\t\"module property was removed from AsyncDependenciesBlock (it's not needed)\"\n\t\t);\n\t}\n});\n\nmodule.exports = AsyncDependenciesBlock;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/AsyncDependenciesBlock.js?"); /***/ }), /***/ "./node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nclass AsyncDependencyToInitialChunkError extends WebpackError {\n\t/**\n\t * Creates an instance of AsyncDependencyToInitialChunkError.\n\t * @param {string} chunkName Name of Chunk\n\t * @param {Module} module module tied to dependency\n\t * @param {DependencyLocation} loc location of dependency\n\t */\n\tconstructor(chunkName, module, loc) {\n\t\tsuper(\n\t\t\t`It's not allowed to load an initial chunk on demand. The chunk name \"${chunkName}\" is already used by an entrypoint.`\n\t\t);\n\n\t\tthis.name = \"AsyncDependencyToInitialChunkError\";\n\t\tthis.module = module;\n\t\tthis.loc = loc;\n\t}\n}\n\nmodule.exports = AsyncDependencyToInitialChunkError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/AutomaticPrefetchPlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/AutomaticPrefetchPlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst PrefetchDependency = __webpack_require__(/*! ./dependencies/PrefetchDependency */ \"./node_modules/webpack/lib/dependencies/PrefetchDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass AutomaticPrefetchPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"AutomaticPrefetchPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tPrefetchDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t\tlet lastModules = null;\n\t\tcompiler.hooks.afterCompile.tap(\"AutomaticPrefetchPlugin\", compilation => {\n\t\t\tlastModules = [];\n\n\t\t\tfor (const m of compilation.modules) {\n\t\t\t\tif (m instanceof NormalModule) {\n\t\t\t\t\tlastModules.push({\n\t\t\t\t\t\tcontext: m.context,\n\t\t\t\t\t\trequest: m.request\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tcompiler.hooks.make.tapAsync(\n\t\t\t\"AutomaticPrefetchPlugin\",\n\t\t\t(compilation, callback) => {\n\t\t\t\tif (!lastModules) return callback();\n\t\t\t\tasyncLib.forEach(\n\t\t\t\t\tlastModules,\n\t\t\t\t\t(m, callback) => {\n\t\t\t\t\t\tcompilation.addModuleChain(\n\t\t\t\t\t\t\tm.context || compiler.context,\n\t\t\t\t\t\t\tnew PrefetchDependency(`!!${m.request}`),\n\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\terr => {\n\t\t\t\t\t\tlastModules = null;\n\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = AutomaticPrefetchPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/AutomaticPrefetchPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/BannerPlugin.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/BannerPlugin.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst ModuleFilenameHelpers = __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../declarations/plugins/BannerPlugin\").BannerPluginArgument} BannerPluginArgument */\n/** @typedef {import(\"../declarations/plugins/BannerPlugin\").BannerPluginOptions} BannerPluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/BannerPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/BannerPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/BannerPlugin.json */ \"./node_modules/webpack/schemas/plugins/BannerPlugin.json\"),\n\t{\n\t\tname: \"Banner Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst wrapComment = str => {\n\tif (!str.includes(\"\\n\")) {\n\t\treturn Template.toComment(str);\n\t}\n\treturn `/*!\\n * ${str\n\t\t.replace(/\\*\\//g, \"* /\")\n\t\t.split(\"\\n\")\n\t\t.join(\"\\n * \")\n\t\t.replace(/\\s+\\n/g, \"\\n\")\n\t\t.trimEnd()}\\n */`;\n};\n\nclass BannerPlugin {\n\t/**\n\t * @param {BannerPluginArgument} options options object\n\t */\n\tconstructor(options) {\n\t\tif (typeof options === \"string\" || typeof options === \"function\") {\n\t\t\toptions = {\n\t\t\t\tbanner: options\n\t\t\t};\n\t\t}\n\n\t\tvalidate(options);\n\n\t\tthis.options = options;\n\n\t\tconst bannerOption = options.banner;\n\t\tif (typeof bannerOption === \"function\") {\n\t\t\tconst getBanner = bannerOption;\n\t\t\tthis.banner = this.options.raw\n\t\t\t\t? getBanner\n\t\t\t\t: data => wrapComment(getBanner(data));\n\t\t} else {\n\t\t\tconst banner = this.options.raw\n\t\t\t\t? bannerOption\n\t\t\t\t: wrapComment(bannerOption);\n\t\t\tthis.banner = () => banner;\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tconst banner = this.banner;\n\t\tconst matchObject = ModuleFilenameHelpers.matchObject.bind(\n\t\t\tundefined,\n\t\t\toptions\n\t\t);\n\t\tconst cache = new WeakMap();\n\n\t\tcompiler.hooks.compilation.tap(\"BannerPlugin\", compilation => {\n\t\t\tcompilation.hooks.processAssets.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"BannerPlugin\",\n\t\t\t\t\tstage: Compilation.PROCESS_ASSETS_STAGE_ADDITIONS\n\t\t\t\t},\n\t\t\t\t() => {\n\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\tif (options.entryOnly && !chunk.canBeInitial()) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (const file of chunk.files) {\n\t\t\t\t\t\t\tif (!matchObject(file)) {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tfilename: file\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tconst comment = compilation.getPath(banner, data);\n\n\t\t\t\t\t\t\tcompilation.updateAsset(file, old => {\n\t\t\t\t\t\t\t\tlet cached = cache.get(old);\n\t\t\t\t\t\t\t\tif (!cached || cached.comment !== comment) {\n\t\t\t\t\t\t\t\t\tconst source = options.footer\n\t\t\t\t\t\t\t\t\t\t? new ConcatSource(old, \"\\n\", comment)\n\t\t\t\t\t\t\t\t\t\t: new ConcatSource(comment, \"\\n\", old);\n\t\t\t\t\t\t\t\t\tcache.set(old, { source, comment });\n\t\t\t\t\t\t\t\t\treturn source;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn cached.source;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = BannerPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/BannerPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Cache.js": /*!*******************************************!*\ !*** ./node_modules/webpack/lib/Cache.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { AsyncParallelHook, AsyncSeriesBailHook, SyncHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst {\n\tmakeWebpackError,\n\tmakeWebpackErrorCallback\n} = __webpack_require__(/*! ./HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\n\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n\n/**\n * @typedef {Object} Etag\n * @property {function(): string} toString\n */\n\n/**\n * @template T\n * @callback CallbackCache\n * @param {(WebpackError | null)=} err\n * @param {T=} result\n * @returns {void}\n */\n\n/**\n * @callback GotHandler\n * @param {any} result\n * @param {function(Error=): void} callback\n * @returns {void}\n */\n\nconst needCalls = (times, callback) => {\n\treturn err => {\n\t\tif (--times === 0) {\n\t\t\treturn callback(err);\n\t\t}\n\t\tif (err && times > 0) {\n\t\t\ttimes = 0;\n\t\t\treturn callback(err);\n\t\t}\n\t};\n};\n\nclass Cache {\n\tconstructor() {\n\t\tthis.hooks = {\n\t\t\t/** @type {AsyncSeriesBailHook<[string, Etag | null, GotHandler[]], any>} */\n\t\t\tget: new AsyncSeriesBailHook([\"identifier\", \"etag\", \"gotHandlers\"]),\n\t\t\t/** @type {AsyncParallelHook<[string, Etag | null, any]>} */\n\t\t\tstore: new AsyncParallelHook([\"identifier\", \"etag\", \"data\"]),\n\t\t\t/** @type {AsyncParallelHook<[Iterable<string>]>} */\n\t\t\tstoreBuildDependencies: new AsyncParallelHook([\"dependencies\"]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeginIdle: new SyncHook([]),\n\t\t\t/** @type {AsyncParallelHook<[]>} */\n\t\t\tendIdle: new AsyncParallelHook([]),\n\t\t\t/** @type {AsyncParallelHook<[]>} */\n\t\t\tshutdown: new AsyncParallelHook([])\n\t\t};\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {CallbackCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tget(identifier, etag, callback) {\n\t\tconst gotHandlers = [];\n\t\tthis.hooks.get.callAsync(identifier, etag, gotHandlers, (err, result) => {\n\t\t\tif (err) {\n\t\t\t\tcallback(makeWebpackError(err, \"Cache.hooks.get\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (result === null) {\n\t\t\t\tresult = undefined;\n\t\t\t}\n\t\t\tif (gotHandlers.length > 1) {\n\t\t\t\tconst innerCallback = needCalls(gotHandlers.length, () =>\n\t\t\t\t\tcallback(null, result)\n\t\t\t\t);\n\t\t\t\tfor (const gotHandler of gotHandlers) {\n\t\t\t\t\tgotHandler(result, innerCallback);\n\t\t\t\t}\n\t\t\t} else if (gotHandlers.length === 1) {\n\t\t\t\tgotHandlers[0](result, () => callback(null, result));\n\t\t\t} else {\n\t\t\t\tcallback(null, result);\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {T} data the value to store\n\t * @param {CallbackCache<void>} callback signals when the value is stored\n\t * @returns {void}\n\t */\n\tstore(identifier, etag, data, callback) {\n\t\tthis.hooks.store.callAsync(\n\t\t\tidentifier,\n\t\t\tetag,\n\t\t\tdata,\n\t\t\tmakeWebpackErrorCallback(callback, \"Cache.hooks.store\")\n\t\t);\n\t}\n\n\t/**\n\t * After this method has succeeded the cache can only be restored when build dependencies are\n\t * @param {Iterable<string>} dependencies list of all build dependencies\n\t * @param {CallbackCache<void>} callback signals when the dependencies are stored\n\t * @returns {void}\n\t */\n\tstoreBuildDependencies(dependencies, callback) {\n\t\tthis.hooks.storeBuildDependencies.callAsync(\n\t\t\tdependencies,\n\t\t\tmakeWebpackErrorCallback(callback, \"Cache.hooks.storeBuildDependencies\")\n\t\t);\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tbeginIdle() {\n\t\tthis.hooks.beginIdle.call();\n\t}\n\n\t/**\n\t * @param {CallbackCache<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\tendIdle(callback) {\n\t\tthis.hooks.endIdle.callAsync(\n\t\t\tmakeWebpackErrorCallback(callback, \"Cache.hooks.endIdle\")\n\t\t);\n\t}\n\n\t/**\n\t * @param {CallbackCache<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\tshutdown(callback) {\n\t\tthis.hooks.shutdown.callAsync(\n\t\t\tmakeWebpackErrorCallback(callback, \"Cache.hooks.shutdown\")\n\t\t);\n\t}\n}\n\nCache.STAGE_MEMORY = -10;\nCache.STAGE_DEFAULT = 0;\nCache.STAGE_DISK = 10;\nCache.STAGE_NETWORK = 20;\n\nmodule.exports = Cache;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Cache.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CacheFacade.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/CacheFacade.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { forEachBail } = __webpack_require__(/*! enhanced-resolve */ \"./node_modules/enhanced-resolve/lib/index.js\");\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst getLazyHashedEtag = __webpack_require__(/*! ./cache/getLazyHashedEtag */ \"./node_modules/webpack/lib/cache/getLazyHashedEtag.js\");\nconst mergeEtags = __webpack_require__(/*! ./cache/mergeEtags */ \"./node_modules/webpack/lib/cache/mergeEtags.js\");\n\n/** @typedef {import(\"./Cache\")} Cache */\n/** @typedef {import(\"./Cache\").Etag} Etag */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./cache/getLazyHashedEtag\").HashableObject} HashableObject */\n/** @typedef {typeof import(\"./util/Hash\")} HashConstructor */\n\n/**\n * @template T\n * @callback CallbackCache\n * @param {(WebpackError | null)=} err\n * @param {T=} result\n * @returns {void}\n */\n\n/**\n * @template T\n * @callback CallbackNormalErrorCache\n * @param {(Error | null)=} err\n * @param {T=} result\n * @returns {void}\n */\n\nclass MultiItemCache {\n\t/**\n\t * @param {ItemCacheFacade[]} items item caches\n\t */\n\tconstructor(items) {\n\t\tthis._items = items;\n\t\tif (items.length === 1) return /** @type {any} */ (items[0]);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {CallbackCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tget(callback) {\n\t\tforEachBail(this._items, (item, callback) => item.get(callback), callback);\n\t}\n\n\t/**\n\t * @template T\n\t * @returns {Promise<T>} promise with the data\n\t */\n\tgetPromise() {\n\t\tconst next = i => {\n\t\t\treturn this._items[i].getPromise().then(result => {\n\t\t\t\tif (result !== undefined) return result;\n\t\t\t\tif (++i < this._items.length) return next(i);\n\t\t\t});\n\t\t};\n\t\treturn next(0);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {T} data the value to store\n\t * @param {CallbackCache<void>} callback signals when the value is stored\n\t * @returns {void}\n\t */\n\tstore(data, callback) {\n\t\tasyncLib.each(\n\t\t\tthis._items,\n\t\t\t(item, callback) => item.store(data, callback),\n\t\t\tcallback\n\t\t);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {T} data the value to store\n\t * @returns {Promise<void>} promise signals when the value is stored\n\t */\n\tstorePromise(data) {\n\t\treturn Promise.all(this._items.map(item => item.storePromise(data))).then(\n\t\t\t() => {}\n\t\t);\n\t}\n}\n\nclass ItemCacheFacade {\n\t/**\n\t * @param {Cache} cache the root cache\n\t * @param {string} name the child cache item name\n\t * @param {Etag | null} etag the etag\n\t */\n\tconstructor(cache, name, etag) {\n\t\tthis._cache = cache;\n\t\tthis._name = name;\n\t\tthis._etag = etag;\n\t}\n\n\t/**\n\t * @template T\n\t * @param {CallbackCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tget(callback) {\n\t\tthis._cache.get(this._name, this._etag, callback);\n\t}\n\n\t/**\n\t * @template T\n\t * @returns {Promise<T>} promise with the data\n\t */\n\tgetPromise() {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._cache.get(this._name, this._etag, (err, data) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treject(err);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(data);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {T} data the value to store\n\t * @param {CallbackCache<void>} callback signals when the value is stored\n\t * @returns {void}\n\t */\n\tstore(data, callback) {\n\t\tthis._cache.store(this._name, this._etag, data, callback);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {T} data the value to store\n\t * @returns {Promise<void>} promise signals when the value is stored\n\t */\n\tstorePromise(data) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._cache.store(this._name, this._etag, data, err => {\n\t\t\t\tif (err) {\n\t\t\t\t\treject(err);\n\t\t\t\t} else {\n\t\t\t\t\tresolve();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {function(CallbackNormalErrorCache<T>): void} computer function to compute the value if not cached\n\t * @param {CallbackNormalErrorCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tprovide(computer, callback) {\n\t\tthis.get((err, cacheEntry) => {\n\t\t\tif (err) return callback(err);\n\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\tcomputer((err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tthis.store(result, err => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tcallback(null, result);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {function(): Promise<T> | T} computer function to compute the value if not cached\n\t * @returns {Promise<T>} promise with the data\n\t */\n\tasync providePromise(computer) {\n\t\tconst cacheEntry = await this.getPromise();\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\tconst result = await computer();\n\t\tawait this.storePromise(result);\n\t\treturn result;\n\t}\n}\n\nclass CacheFacade {\n\t/**\n\t * @param {Cache} cache the root cache\n\t * @param {string} name the child cache name\n\t * @param {string | HashConstructor} hashFunction the hash function to use\n\t */\n\tconstructor(cache, name, hashFunction) {\n\t\tthis._cache = cache;\n\t\tthis._name = name;\n\t\tthis._hashFunction = hashFunction;\n\t}\n\n\t/**\n\t * @param {string} name the child cache name#\n\t * @returns {CacheFacade} child cache\n\t */\n\tgetChildCache(name) {\n\t\treturn new CacheFacade(\n\t\t\tthis._cache,\n\t\t\t`${this._name}|${name}`,\n\t\t\tthis._hashFunction\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @returns {ItemCacheFacade} item cache\n\t */\n\tgetItemCache(identifier, etag) {\n\t\treturn new ItemCacheFacade(\n\t\t\tthis._cache,\n\t\t\t`${this._name}|${identifier}`,\n\t\t\tetag\n\t\t);\n\t}\n\n\t/**\n\t * @param {HashableObject} obj an hashable object\n\t * @returns {Etag} an etag that is lazy hashed\n\t */\n\tgetLazyHashedEtag(obj) {\n\t\treturn getLazyHashedEtag(obj, this._hashFunction);\n\t}\n\n\t/**\n\t * @param {Etag} a an etag\n\t * @param {Etag} b another etag\n\t * @returns {Etag} an etag that represents both\n\t */\n\tmergeEtags(a, b) {\n\t\treturn mergeEtags(a, b);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {CallbackCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tget(identifier, etag, callback) {\n\t\tthis._cache.get(`${this._name}|${identifier}`, etag, callback);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @returns {Promise<T>} promise with the data\n\t */\n\tgetPromise(identifier, etag) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._cache.get(`${this._name}|${identifier}`, etag, (err, data) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treject(err);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(data);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {T} data the value to store\n\t * @param {CallbackCache<void>} callback signals when the value is stored\n\t * @returns {void}\n\t */\n\tstore(identifier, etag, data, callback) {\n\t\tthis._cache.store(`${this._name}|${identifier}`, etag, data, callback);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {T} data the value to store\n\t * @returns {Promise<void>} promise signals when the value is stored\n\t */\n\tstorePromise(identifier, etag, data) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._cache.store(`${this._name}|${identifier}`, etag, data, err => {\n\t\t\t\tif (err) {\n\t\t\t\t\treject(err);\n\t\t\t\t} else {\n\t\t\t\t\tresolve();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {function(CallbackNormalErrorCache<T>): void} computer function to compute the value if not cached\n\t * @param {CallbackNormalErrorCache<T>} callback signals when the value is retrieved\n\t * @returns {void}\n\t */\n\tprovide(identifier, etag, computer, callback) {\n\t\tthis.get(identifier, etag, (err, cacheEntry) => {\n\t\t\tif (err) return callback(err);\n\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\tcomputer((err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tthis.store(identifier, etag, result, err => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tcallback(null, result);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @template T\n\t * @param {string} identifier the cache identifier\n\t * @param {Etag | null} etag the etag\n\t * @param {function(): Promise<T> | T} computer function to compute the value if not cached\n\t * @returns {Promise<T>} promise with the data\n\t */\n\tasync providePromise(identifier, etag, computer) {\n\t\tconst cacheEntry = await this.getPromise(identifier, etag);\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\tconst result = await computer();\n\t\tawait this.storePromise(identifier, etag, result);\n\t\treturn result;\n\t}\n}\n\nmodule.exports = CacheFacade;\nmodule.exports.ItemCacheFacade = ItemCacheFacade;\nmodule.exports.MultiItemCache = MultiItemCache;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CacheFacade.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CaseSensitiveModulesWarning.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/CaseSensitiveModulesWarning.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n\n/**\n * @param {Module[]} modules the modules to be sorted\n * @returns {Module[]} sorted version of original modules\n */\nconst sortModules = modules => {\n\treturn modules.sort((a, b) => {\n\t\tconst aIdent = a.identifier();\n\t\tconst bIdent = b.identifier();\n\t\t/* istanbul ignore next */\n\t\tif (aIdent < bIdent) return -1;\n\t\t/* istanbul ignore next */\n\t\tif (aIdent > bIdent) return 1;\n\t\t/* istanbul ignore next */\n\t\treturn 0;\n\t});\n};\n\n/**\n * @param {Module[]} modules each module from throw\n * @param {ModuleGraph} moduleGraph the module graph\n * @returns {string} each message from provided modules\n */\nconst createModulesListMessage = (modules, moduleGraph) => {\n\treturn modules\n\t\t.map(m => {\n\t\t\tlet message = `* ${m.identifier()}`;\n\t\t\tconst validReasons = Array.from(\n\t\t\t\tmoduleGraph.getIncomingConnectionsByOriginModule(m).keys()\n\t\t\t).filter(x => x);\n\n\t\t\tif (validReasons.length > 0) {\n\t\t\t\tmessage += `\\n Used by ${validReasons.length} module(s), i. e.`;\n\t\t\t\tmessage += `\\n ${validReasons[0].identifier()}`;\n\t\t\t}\n\t\t\treturn message;\n\t\t})\n\t\t.join(\"\\n\");\n};\n\nclass CaseSensitiveModulesWarning extends WebpackError {\n\t/**\n\t * Creates an instance of CaseSensitiveModulesWarning.\n\t * @param {Iterable<Module>} modules modules that were detected\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t */\n\tconstructor(modules, moduleGraph) {\n\t\tconst sortedModules = sortModules(Array.from(modules));\n\t\tconst modulesList = createModulesListMessage(sortedModules, moduleGraph);\n\t\tsuper(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${modulesList}`);\n\n\t\tthis.name = \"CaseSensitiveModulesWarning\";\n\t\tthis.module = sortedModules[0];\n\t}\n}\n\nmodule.exports = CaseSensitiveModulesWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CaseSensitiveModulesWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Chunk.js": /*!*******************************************!*\ !*** ./node_modules/webpack/lib/Chunk.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst Entrypoint = __webpack_require__(/*! ./Entrypoint */ \"./node_modules/webpack/lib/Entrypoint.js\");\nconst { intersect } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst SortableSet = __webpack_require__(/*! ./util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst StringXor = __webpack_require__(/*! ./util/StringXor */ \"./node_modules/webpack/lib/util/StringXor.js\");\nconst {\n\tcompareModulesByIdentifier,\n\tcompareChunkGroupsByIndex,\n\tcompareModulesById\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst { createArrayToSetDeprecationSet } = __webpack_require__(/*! ./util/deprecation */ \"./node_modules/webpack/lib/util/deprecation.js\");\nconst { mergeRuntime } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./ChunkGraph\").ChunkFilterPredicate} ChunkFilterPredicate */\n/** @typedef {import(\"./ChunkGraph\").ChunkSizeOptions} ChunkSizeOptions */\n/** @typedef {import(\"./ChunkGraph\").ModuleFilterPredicate} ModuleFilterPredicate */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compilation\").PathData} PathData */\n/** @typedef {import(\"./Entrypoint\").EntryOptions} EntryOptions */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst ChunkFilesSet = createArrayToSetDeprecationSet(\"chunk.files\");\n\n/**\n * @typedef {Object} WithId an object who has an id property *\n * @property {string | number} id the id of the object\n */\n\n/**\n * @deprecated\n * @typedef {Object} ChunkMaps\n * @property {Record<string|number, string>} hash\n * @property {Record<string|number, Record<string, string>>} contentHash\n * @property {Record<string|number, string>} name\n */\n\n/**\n * @deprecated\n * @typedef {Object} ChunkModuleMaps\n * @property {Record<string|number, (string|number)[]>} id\n * @property {Record<string|number, string>} hash\n */\n\nlet debugId = 1000;\n\n/**\n * A Chunk is a unit of encapsulation for Modules.\n * Chunks are \"rendered\" into bundles that get emitted when the build completes.\n */\nclass Chunk {\n\t/**\n\t * @param {string=} name of chunk being created, is optional (for subclasses)\n\t * @param {boolean} backCompat enable backward-compatibility\n\t */\n\tconstructor(name, backCompat = true) {\n\t\t/** @type {number | string | null} */\n\t\tthis.id = null;\n\t\t/** @type {(number|string)[] | null} */\n\t\tthis.ids = null;\n\t\t/** @type {number} */\n\t\tthis.debugId = debugId++;\n\t\t/** @type {string} */\n\t\tthis.name = name;\n\t\t/** @type {SortableSet<string>} */\n\t\tthis.idNameHints = new SortableSet();\n\t\t/** @type {boolean} */\n\t\tthis.preventIntegration = false;\n\t\t/** @type {(string | function(PathData, AssetInfo=): string)?} */\n\t\tthis.filenameTemplate = undefined;\n\t\t/** @type {(string | function(PathData, AssetInfo=): string)?} */\n\t\tthis.cssFilenameTemplate = undefined;\n\t\t/** @private @type {SortableSet<ChunkGroup>} */\n\t\tthis._groups = new SortableSet(undefined, compareChunkGroupsByIndex);\n\t\t/** @type {RuntimeSpec} */\n\t\tthis.runtime = undefined;\n\t\t/** @type {Set<string>} */\n\t\tthis.files = backCompat ? new ChunkFilesSet() : new Set();\n\t\t/** @type {Set<string>} */\n\t\tthis.auxiliaryFiles = new Set();\n\t\t/** @type {boolean} */\n\t\tthis.rendered = false;\n\t\t/** @type {string=} */\n\t\tthis.hash = undefined;\n\t\t/** @type {Record<string, string>} */\n\t\tthis.contentHash = Object.create(null);\n\t\t/** @type {string=} */\n\t\tthis.renderedHash = undefined;\n\t\t/** @type {string=} */\n\t\tthis.chunkReason = undefined;\n\t\t/** @type {boolean} */\n\t\tthis.extraAsync = false;\n\t}\n\n\t// TODO remove in webpack 6\n\t// BACKWARD-COMPAT START\n\tget entryModule() {\n\t\tconst entryModules = Array.from(\n\t\t\tChunkGraph.getChunkGraphForChunk(\n\t\t\t\tthis,\n\t\t\t\t\"Chunk.entryModule\",\n\t\t\t\t\"DEP_WEBPACK_CHUNK_ENTRY_MODULE\"\n\t\t\t).getChunkEntryModulesIterable(this)\n\t\t);\n\t\tif (entryModules.length === 0) {\n\t\t\treturn undefined;\n\t\t} else if (entryModules.length === 1) {\n\t\t\treturn entryModules[0];\n\t\t} else {\n\t\t\tthrow new Error(\n\t\t\t\t\"Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)\"\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @returns {boolean} true, if the chunk contains an entry module\n\t */\n\thasEntryModule() {\n\t\treturn (\n\t\t\tChunkGraph.getChunkGraphForChunk(\n\t\t\t\tthis,\n\t\t\t\t\"Chunk.hasEntryModule\",\n\t\t\t\t\"DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE\"\n\t\t\t).getNumberOfEntryModules(this) > 0\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {boolean} true, if the chunk could be added\n\t */\n\taddModule(module) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.addModule\",\n\t\t\t\"DEP_WEBPACK_CHUNK_ADD_MODULE\"\n\t\t);\n\t\tif (chunkGraph.isModuleInChunk(module, this)) return false;\n\t\tchunkGraph.connectChunkAndModule(this, module);\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tremoveModule(module) {\n\t\tChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.removeModule\",\n\t\t\t\"DEP_WEBPACK_CHUNK_REMOVE_MODULE\"\n\t\t).disconnectChunkAndModule(this, module);\n\t}\n\n\t/**\n\t * @returns {number} the number of module which are contained in this chunk\n\t */\n\tgetNumberOfModules() {\n\t\treturn ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.getNumberOfModules\",\n\t\t\t\"DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES\"\n\t\t).getNumberOfChunkModules(this);\n\t}\n\n\tget modulesIterable() {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.modulesIterable\",\n\t\t\t\"DEP_WEBPACK_CHUNK_MODULES_ITERABLE\"\n\t\t);\n\t\treturn chunkGraph.getOrderedChunkModulesIterable(\n\t\t\tthis,\n\t\t\tcompareModulesByIdentifier\n\t\t);\n\t}\n\n\t/**\n\t * @param {Chunk} otherChunk the chunk to compare with\n\t * @returns {-1|0|1} the comparison result\n\t */\n\tcompareTo(otherChunk) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.compareTo\",\n\t\t\t\"DEP_WEBPACK_CHUNK_COMPARE_TO\"\n\t\t);\n\t\treturn chunkGraph.compareChunks(this, otherChunk);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {boolean} true, if the chunk contains the module\n\t */\n\tcontainsModule(module) {\n\t\treturn ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.containsModule\",\n\t\t\t\"DEP_WEBPACK_CHUNK_CONTAINS_MODULE\"\n\t\t).isModuleInChunk(module, this);\n\t}\n\n\t/**\n\t * @returns {Module[]} the modules for this chunk\n\t */\n\tgetModules() {\n\t\treturn ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.getModules\",\n\t\t\t\"DEP_WEBPACK_CHUNK_GET_MODULES\"\n\t\t).getChunkModules(this);\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tremove() {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.remove\",\n\t\t\t\"DEP_WEBPACK_CHUNK_REMOVE\"\n\t\t);\n\t\tchunkGraph.disconnectChunk(this);\n\t\tthis.disconnectFromGroups();\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {Chunk} otherChunk the target chunk\n\t * @returns {void}\n\t */\n\tmoveModule(module, otherChunk) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.moveModule\",\n\t\t\t\"DEP_WEBPACK_CHUNK_MOVE_MODULE\"\n\t\t);\n\t\tchunkGraph.disconnectChunkAndModule(this, module);\n\t\tchunkGraph.connectChunkAndModule(otherChunk, module);\n\t}\n\n\t/**\n\t * @param {Chunk} otherChunk the other chunk\n\t * @returns {boolean} true, if the specified chunk has been integrated\n\t */\n\tintegrate(otherChunk) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.integrate\",\n\t\t\t\"DEP_WEBPACK_CHUNK_INTEGRATE\"\n\t\t);\n\t\tif (chunkGraph.canChunksBeIntegrated(this, otherChunk)) {\n\t\t\tchunkGraph.integrateChunks(this, otherChunk);\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} otherChunk the other chunk\n\t * @returns {boolean} true, if chunks could be integrated\n\t */\n\tcanBeIntegrated(otherChunk) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.canBeIntegrated\",\n\t\t\t\"DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED\"\n\t\t);\n\t\treturn chunkGraph.canChunksBeIntegrated(this, otherChunk);\n\t}\n\n\t/**\n\t * @returns {boolean} true, if this chunk contains no module\n\t */\n\tisEmpty() {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.isEmpty\",\n\t\t\t\"DEP_WEBPACK_CHUNK_IS_EMPTY\"\n\t\t);\n\t\treturn chunkGraph.getNumberOfChunkModules(this) === 0;\n\t}\n\n\t/**\n\t * @returns {number} total size of all modules in this chunk\n\t */\n\tmodulesSize() {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.modulesSize\",\n\t\t\t\"DEP_WEBPACK_CHUNK_MODULES_SIZE\"\n\t\t);\n\t\treturn chunkGraph.getChunkModulesSize(this);\n\t}\n\n\t/**\n\t * @param {ChunkSizeOptions} options options object\n\t * @returns {number} total size of this chunk\n\t */\n\tsize(options = {}) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.size\",\n\t\t\t\"DEP_WEBPACK_CHUNK_SIZE\"\n\t\t);\n\t\treturn chunkGraph.getChunkSize(this, options);\n\t}\n\n\t/**\n\t * @param {Chunk} otherChunk the other chunk\n\t * @param {ChunkSizeOptions} options options object\n\t * @returns {number} total size of the chunk or false if the chunk can't be integrated\n\t */\n\tintegratedSize(otherChunk, options) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.integratedSize\",\n\t\t\t\"DEP_WEBPACK_CHUNK_INTEGRATED_SIZE\"\n\t\t);\n\t\treturn chunkGraph.getIntegratedChunksSize(this, otherChunk, options);\n\t}\n\n\t/**\n\t * @param {ModuleFilterPredicate} filterFn function used to filter modules\n\t * @returns {ChunkModuleMaps} module map information\n\t */\n\tgetChunkModuleMaps(filterFn) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.getChunkModuleMaps\",\n\t\t\t\"DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS\"\n\t\t);\n\t\t/** @type {Record<string|number, (string|number)[]>} */\n\t\tconst chunkModuleIdMap = Object.create(null);\n\t\t/** @type {Record<string|number, string>} */\n\t\tconst chunkModuleHashMap = Object.create(null);\n\n\t\tfor (const asyncChunk of this.getAllAsyncChunks()) {\n\t\t\t/** @type {(string|number)[]} */\n\t\t\tlet array;\n\t\t\tfor (const module of chunkGraph.getOrderedChunkModulesIterable(\n\t\t\t\tasyncChunk,\n\t\t\t\tcompareModulesById(chunkGraph)\n\t\t\t)) {\n\t\t\t\tif (filterFn(module)) {\n\t\t\t\t\tif (array === undefined) {\n\t\t\t\t\t\tarray = [];\n\t\t\t\t\t\tchunkModuleIdMap[asyncChunk.id] = array;\n\t\t\t\t\t}\n\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\t\t\t\tarray.push(moduleId);\n\t\t\t\t\tchunkModuleHashMap[moduleId] = chunkGraph.getRenderedModuleHash(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tundefined\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tid: chunkModuleIdMap,\n\t\t\thash: chunkModuleHashMap\n\t\t};\n\t}\n\n\t/**\n\t * @param {ModuleFilterPredicate} filterFn predicate function used to filter modules\n\t * @param {ChunkFilterPredicate=} filterChunkFn predicate function used to filter chunks\n\t * @returns {boolean} return true if module exists in graph\n\t */\n\thasModuleInGraph(filterFn, filterChunkFn) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForChunk(\n\t\t\tthis,\n\t\t\t\"Chunk.hasModuleInGraph\",\n\t\t\t\"DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH\"\n\t\t);\n\t\treturn chunkGraph.hasModuleInGraph(this, filterFn, filterChunkFn);\n\t}\n\n\t/**\n\t * @deprecated\n\t * @param {boolean} realHash whether the full hash or the rendered hash is to be used\n\t * @returns {ChunkMaps} the chunk map information\n\t */\n\tgetChunkMaps(realHash) {\n\t\t/** @type {Record<string|number, string>} */\n\t\tconst chunkHashMap = Object.create(null);\n\t\t/** @type {Record<string|number, Record<string, string>>} */\n\t\tconst chunkContentHashMap = Object.create(null);\n\t\t/** @type {Record<string|number, string>} */\n\t\tconst chunkNameMap = Object.create(null);\n\n\t\tfor (const chunk of this.getAllAsyncChunks()) {\n\t\t\tchunkHashMap[chunk.id] = realHash ? chunk.hash : chunk.renderedHash;\n\t\t\tfor (const key of Object.keys(chunk.contentHash)) {\n\t\t\t\tif (!chunkContentHashMap[key]) {\n\t\t\t\t\tchunkContentHashMap[key] = Object.create(null);\n\t\t\t\t}\n\t\t\t\tchunkContentHashMap[key][chunk.id] = chunk.contentHash[key];\n\t\t\t}\n\t\t\tif (chunk.name) {\n\t\t\t\tchunkNameMap[chunk.id] = chunk.name;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\thash: chunkHashMap,\n\t\t\tcontentHash: chunkContentHashMap,\n\t\t\tname: chunkNameMap\n\t\t};\n\t}\n\t// BACKWARD-COMPAT END\n\n\t/**\n\t * @returns {boolean} whether or not the Chunk will have a runtime\n\t */\n\thasRuntime() {\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tif (\n\t\t\t\tchunkGroup instanceof Entrypoint &&\n\t\t\t\tchunkGroup.getRuntimeChunk() === this\n\t\t\t) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {boolean} whether or not this chunk can be an initial chunk\n\t */\n\tcanBeInitial() {\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tif (chunkGroup.isInitial()) return true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {boolean} whether this chunk can only be an initial chunk\n\t */\n\tisOnlyInitial() {\n\t\tif (this._groups.size <= 0) return false;\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tif (!chunkGroup.isInitial()) return false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t/**\n\t * @returns {EntryOptions | undefined} the entry options for this chunk\n\t */\n\tgetEntryOptions() {\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tif (chunkGroup instanceof Entrypoint) {\n\t\t\t\treturn chunkGroup.options;\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} chunkGroup the chunkGroup the chunk is being added\n\t * @returns {void}\n\t */\n\taddGroup(chunkGroup) {\n\t\tthis._groups.add(chunkGroup);\n\t}\n\n\t/**\n\t * @param {ChunkGroup} chunkGroup the chunkGroup the chunk is being removed from\n\t * @returns {void}\n\t */\n\tremoveGroup(chunkGroup) {\n\t\tthis._groups.delete(chunkGroup);\n\t}\n\n\t/**\n\t * @param {ChunkGroup} chunkGroup the chunkGroup to check\n\t * @returns {boolean} returns true if chunk has chunkGroup reference and exists in chunkGroup\n\t */\n\tisInGroup(chunkGroup) {\n\t\treturn this._groups.has(chunkGroup);\n\t}\n\n\t/**\n\t * @returns {number} the amount of groups that the said chunk is in\n\t */\n\tgetNumberOfGroups() {\n\t\treturn this._groups.size;\n\t}\n\n\t/**\n\t * @returns {Iterable<ChunkGroup>} the chunkGroups that the said chunk is referenced in\n\t */\n\tget groupsIterable() {\n\t\tthis._groups.sort();\n\t\treturn this._groups;\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tdisconnectFromGroups() {\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tchunkGroup.removeChunk(this);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} newChunk the new chunk that will be split out of\n\t * @returns {void}\n\t */\n\tsplit(newChunk) {\n\t\tfor (const chunkGroup of this._groups) {\n\t\t\tchunkGroup.insertChunk(newChunk, this);\n\t\t\tnewChunk.addGroup(chunkGroup);\n\t\t}\n\t\tfor (const idHint of this.idNameHints) {\n\t\t\tnewChunk.idNameHints.add(idHint);\n\t\t}\n\t\tnewChunk.runtime = mergeRuntime(newChunk.runtime, this.runtime);\n\t}\n\n\t/**\n\t * @param {Hash} hash hash (will be modified)\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {void}\n\t */\n\tupdateHash(hash, chunkGraph) {\n\t\thash.update(\n\t\t\t`${this.id} ${this.ids ? this.ids.join() : \"\"} ${this.name || \"\"} `\n\t\t);\n\t\tconst xor = new StringXor();\n\t\tfor (const m of chunkGraph.getChunkModulesIterable(this)) {\n\t\t\txor.add(chunkGraph.getModuleHash(m, this.runtime));\n\t\t}\n\t\txor.updateHash(hash);\n\t\tconst entryModules =\n\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(this);\n\t\tfor (const [m, chunkGroup] of entryModules) {\n\t\t\thash.update(`entry${chunkGraph.getModuleId(m)}${chunkGroup.id}`);\n\t\t}\n\t}\n\n\t/**\n\t * @returns {Set<Chunk>} a set of all the async chunks\n\t */\n\tgetAllAsyncChunks() {\n\t\tconst queue = new Set();\n\t\tconst chunks = new Set();\n\n\t\tconst initialChunks = intersect(\n\t\t\tArray.from(this.groupsIterable, g => new Set(g.chunks))\n\t\t);\n\n\t\tconst initialQueue = new Set(this.groupsIterable);\n\n\t\tfor (const chunkGroup of initialQueue) {\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tif (child instanceof Entrypoint) {\n\t\t\t\t\tinitialQueue.add(child);\n\t\t\t\t} else {\n\t\t\t\t\tqueue.add(child);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const chunkGroup of queue) {\n\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\tif (!initialChunks.has(chunk)) {\n\t\t\t\t\tchunks.add(chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\n\t\treturn chunks;\n\t}\n\n\t/**\n\t * @returns {Set<Chunk>} a set of all the initial chunks (including itself)\n\t */\n\tgetAllInitialChunks() {\n\t\tconst chunks = new Set();\n\t\tconst queue = new Set(this.groupsIterable);\n\t\tfor (const group of queue) {\n\t\t\tif (group.isInitial()) {\n\t\t\t\tfor (const c of group.chunks) chunks.add(c);\n\t\t\t\tfor (const g of group.childrenIterable) queue.add(g);\n\t\t\t}\n\t\t}\n\t\treturn chunks;\n\t}\n\n\t/**\n\t * @returns {Set<Chunk>} a set of all the referenced chunks (including itself)\n\t */\n\tgetAllReferencedChunks() {\n\t\tconst queue = new Set(this.groupsIterable);\n\t\tconst chunks = new Set();\n\n\t\tfor (const chunkGroup of queue) {\n\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\tchunks.add(chunk);\n\t\t\t}\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\n\t\treturn chunks;\n\t}\n\n\t/**\n\t * @returns {Set<Entrypoint>} a set of all the referenced entrypoints\n\t */\n\tgetAllReferencedAsyncEntrypoints() {\n\t\tconst queue = new Set(this.groupsIterable);\n\t\tconst entrypoints = new Set();\n\n\t\tfor (const chunkGroup of queue) {\n\t\t\tfor (const entrypoint of chunkGroup.asyncEntrypointsIterable) {\n\t\t\t\tentrypoints.add(entrypoint);\n\t\t\t}\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\n\t\treturn entrypoints;\n\t}\n\n\t/**\n\t * @returns {boolean} true, if the chunk references async chunks\n\t */\n\thasAsyncChunks() {\n\t\tconst queue = new Set();\n\n\t\tconst initialChunks = intersect(\n\t\t\tArray.from(this.groupsIterable, g => new Set(g.chunks))\n\t\t);\n\n\t\tfor (const chunkGroup of this.groupsIterable) {\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\n\t\tfor (const chunkGroup of queue) {\n\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\tif (!initialChunks.has(chunk)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {ChunkFilterPredicate=} filterFn function used to filter chunks\n\t * @returns {Record<string, (string | number)[]>} a record object of names to lists of child ids(?)\n\t */\n\tgetChildIdsByOrders(chunkGraph, filterFn) {\n\t\t/** @type {Map<string, {order: number, group: ChunkGroup}[]>} */\n\t\tconst lists = new Map();\n\t\tfor (const group of this.groupsIterable) {\n\t\t\tif (group.chunks[group.chunks.length - 1] === this) {\n\t\t\t\tfor (const childGroup of group.childrenIterable) {\n\t\t\t\t\tfor (const key of Object.keys(childGroup.options)) {\n\t\t\t\t\t\tif (key.endsWith(\"Order\")) {\n\t\t\t\t\t\t\tconst name = key.slice(0, key.length - \"Order\".length);\n\t\t\t\t\t\t\tlet list = lists.get(name);\n\t\t\t\t\t\t\tif (list === undefined) {\n\t\t\t\t\t\t\t\tlist = [];\n\t\t\t\t\t\t\t\tlists.set(name, list);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tlist.push({\n\t\t\t\t\t\t\t\torder: childGroup.options[key],\n\t\t\t\t\t\t\t\tgroup: childGroup\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t/** @type {Record<string, (string | number)[]>} */\n\t\tconst result = Object.create(null);\n\t\tfor (const [name, list] of lists) {\n\t\t\tlist.sort((a, b) => {\n\t\t\t\tconst cmp = b.order - a.order;\n\t\t\t\tif (cmp !== 0) return cmp;\n\t\t\t\treturn a.group.compareTo(chunkGraph, b.group);\n\t\t\t});\n\t\t\t/** @type {Set<string | number>} */\n\t\t\tconst chunkIdSet = new Set();\n\t\t\tfor (const item of list) {\n\t\t\t\tfor (const chunk of item.group.chunks) {\n\t\t\t\t\tif (filterFn && !filterFn(chunk, chunkGraph)) continue;\n\t\t\t\t\tchunkIdSet.add(chunk.id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (chunkIdSet.size > 0) {\n\t\t\t\tresult[name] = Array.from(chunkIdSet);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {string} type option name\n\t * @returns {{ onChunks: Chunk[], chunks: Set<Chunk> }[]} referenced chunks for a specific type\n\t */\n\tgetChildrenOfTypeInOrder(chunkGraph, type) {\n\t\tconst list = [];\n\t\tfor (const group of this.groupsIterable) {\n\t\t\tfor (const childGroup of group.childrenIterable) {\n\t\t\t\tconst order = childGroup.options[type];\n\t\t\t\tif (order === undefined) continue;\n\t\t\t\tlist.push({\n\t\t\t\t\torder,\n\t\t\t\t\tgroup,\n\t\t\t\t\tchildGroup\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif (list.length === 0) return undefined;\n\t\tlist.sort((a, b) => {\n\t\t\tconst cmp = b.order - a.order;\n\t\t\tif (cmp !== 0) return cmp;\n\t\t\treturn a.group.compareTo(chunkGraph, b.group);\n\t\t});\n\t\tconst result = [];\n\t\tlet lastEntry;\n\t\tfor (const { group, childGroup } of list) {\n\t\t\tif (lastEntry && lastEntry.onChunks === group.chunks) {\n\t\t\t\tfor (const chunk of childGroup.chunks) {\n\t\t\t\t\tlastEntry.chunks.add(chunk);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresult.push(\n\t\t\t\t\t(lastEntry = {\n\t\t\t\t\t\tonChunks: group.chunks,\n\t\t\t\t\t\tchunks: new Set(childGroup.chunks)\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {boolean=} includeDirectChildren include direct children (by default only children of async children are included)\n\t * @param {ChunkFilterPredicate=} filterFn function used to filter chunks\n\t * @returns {Record<string|number, Record<string, (string | number)[]>>} a record object of names to lists of child ids(?) by chunk id\n\t */\n\tgetChildIdsByOrdersMap(chunkGraph, includeDirectChildren, filterFn) {\n\t\t/** @type {Record<string|number, Record<string, (string | number)[]>>} */\n\t\tconst chunkMaps = Object.create(null);\n\n\t\t/**\n\t\t * @param {Chunk} chunk a chunk\n\t\t * @returns {void}\n\t\t */\n\t\tconst addChildIdsByOrdersToMap = chunk => {\n\t\t\tconst data = chunk.getChildIdsByOrders(chunkGraph, filterFn);\n\t\t\tfor (const key of Object.keys(data)) {\n\t\t\t\tlet chunkMap = chunkMaps[key];\n\t\t\t\tif (chunkMap === undefined) {\n\t\t\t\t\tchunkMaps[key] = chunkMap = Object.create(null);\n\t\t\t\t}\n\t\t\t\tchunkMap[chunk.id] = data[key];\n\t\t\t}\n\t\t};\n\n\t\tif (includeDirectChildren) {\n\t\t\t/** @type {Set<Chunk>} */\n\t\t\tconst chunks = new Set();\n\t\t\tfor (const chunkGroup of this.groupsIterable) {\n\t\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\t\tchunks.add(chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const chunk of chunks) {\n\t\t\t\taddChildIdsByOrdersToMap(chunk);\n\t\t\t}\n\t\t}\n\n\t\tfor (const chunk of this.getAllAsyncChunks()) {\n\t\t\taddChildIdsByOrdersToMap(chunk);\n\t\t}\n\n\t\treturn chunkMaps;\n\t}\n}\n\nmodule.exports = Chunk;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Chunk.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ChunkGraph.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/ChunkGraph.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst Entrypoint = __webpack_require__(/*! ./Entrypoint */ \"./node_modules/webpack/lib/Entrypoint.js\");\nconst ModuleGraphConnection = __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\nconst { first } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst SortableSet = __webpack_require__(/*! ./util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst {\n\tcompareModulesById,\n\tcompareIterables,\n\tcompareModulesByIdentifier,\n\tconcatComparators,\n\tcompareSelect,\n\tcompareIds\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst findGraphRoots = __webpack_require__(/*! ./util/findGraphRoots */ \"./node_modules/webpack/lib/util/findGraphRoots.js\");\nconst {\n\tRuntimeSpecMap,\n\tRuntimeSpecSet,\n\truntimeToString,\n\tmergeRuntime,\n\tforEachRuntime\n} = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./RuntimeModule\")} RuntimeModule */\n/** @typedef {typeof import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/** @type {ReadonlySet<string>} */\nconst EMPTY_SET = new Set();\n\nconst ZERO_BIG_INT = BigInt(0);\n\nconst compareModuleIterables = compareIterables(compareModulesByIdentifier);\n\n/** @typedef {(c: Chunk, chunkGraph: ChunkGraph) => boolean} ChunkFilterPredicate */\n/** @typedef {(m: Module) => boolean} ModuleFilterPredicate */\n/** @typedef {[Module, Entrypoint | undefined]} EntryModuleWithChunkGroup */\n\n/**\n * @typedef {Object} ChunkSizeOptions\n * @property {number=} chunkOverhead constant overhead for a chunk\n * @property {number=} entryChunkMultiplicator multiplicator for initial chunks\n */\n\nclass ModuleHashInfo {\n\tconstructor(hash, renderedHash) {\n\t\tthis.hash = hash;\n\t\tthis.renderedHash = renderedHash;\n\t}\n}\n\n/** @template T @typedef {(set: SortableSet<T>) => T[]} SetToArrayFunction<T> */\n\n/**\n * @template T\n * @param {SortableSet<T>} set the set\n * @returns {T[]} set as array\n */\nconst getArray = set => {\n\treturn Array.from(set);\n};\n\n/**\n * @param {SortableSet<Chunk>} chunks the chunks\n * @returns {RuntimeSpecSet} runtimes\n */\nconst getModuleRuntimes = chunks => {\n\tconst runtimes = new RuntimeSpecSet();\n\tfor (const chunk of chunks) {\n\t\truntimes.add(chunk.runtime);\n\t}\n\treturn runtimes;\n};\n\n/**\n * @param {WeakMap<Module, Set<string>> | undefined} sourceTypesByModule sourceTypesByModule\n * @returns {function (SortableSet<Module>): Map<string, SortableSet<Module>>} modules by source type\n */\nconst modulesBySourceType = sourceTypesByModule => set => {\n\t/** @type {Map<string, SortableSet<Module>>} */\n\tconst map = new Map();\n\tfor (const module of set) {\n\t\tconst sourceTypes =\n\t\t\t(sourceTypesByModule && sourceTypesByModule.get(module)) ||\n\t\t\tmodule.getSourceTypes();\n\t\tfor (const sourceType of sourceTypes) {\n\t\t\tlet innerSet = map.get(sourceType);\n\t\t\tif (innerSet === undefined) {\n\t\t\t\tinnerSet = new SortableSet();\n\t\t\t\tmap.set(sourceType, innerSet);\n\t\t\t}\n\t\t\tinnerSet.add(module);\n\t\t}\n\t}\n\tfor (const [key, innerSet] of map) {\n\t\t// When all modules have the source type, we reuse the original SortableSet\n\t\t// to benefit from the shared cache (especially for sorting)\n\t\tif (innerSet.size === set.size) {\n\t\t\tmap.set(key, set);\n\t\t}\n\t}\n\treturn map;\n};\nconst defaultModulesBySourceType = modulesBySourceType(undefined);\n\n/** @type {WeakMap<Function, any>} */\nconst createOrderedArrayFunctionMap = new WeakMap();\n\n/**\n * @template T\n * @param {function(T, T): -1|0|1} comparator comparator function\n * @returns {SetToArrayFunction<T>} set as ordered array\n */\nconst createOrderedArrayFunction = comparator => {\n\t/** @type {SetToArrayFunction<T>} */\n\tlet fn = createOrderedArrayFunctionMap.get(comparator);\n\tif (fn !== undefined) return fn;\n\tfn = set => {\n\t\tset.sortWith(comparator);\n\t\treturn Array.from(set);\n\t};\n\tcreateOrderedArrayFunctionMap.set(comparator, fn);\n\treturn fn;\n};\n\n/**\n * @param {Iterable<Module>} modules the modules to get the count/size of\n * @returns {number} the size of the modules\n */\nconst getModulesSize = modules => {\n\tlet size = 0;\n\tfor (const module of modules) {\n\t\tfor (const type of module.getSourceTypes()) {\n\t\t\tsize += module.size(type);\n\t\t}\n\t}\n\treturn size;\n};\n\n/**\n * @param {Iterable<Module>} modules the sortable Set to get the size of\n * @returns {Record<string, number>} the sizes of the modules\n */\nconst getModulesSizes = modules => {\n\tlet sizes = Object.create(null);\n\tfor (const module of modules) {\n\t\tfor (const type of module.getSourceTypes()) {\n\t\t\tsizes[type] = (sizes[type] || 0) + module.size(type);\n\t\t}\n\t}\n\treturn sizes;\n};\n\n/**\n * @param {Chunk} a chunk\n * @param {Chunk} b chunk\n * @returns {boolean} true, if a is always a parent of b\n */\nconst isAvailableChunk = (a, b) => {\n\tconst queue = new Set(b.groupsIterable);\n\tfor (const chunkGroup of queue) {\n\t\tif (a.isInGroup(chunkGroup)) continue;\n\t\tif (chunkGroup.isInitial()) return false;\n\t\tfor (const parent of chunkGroup.parentsIterable) {\n\t\t\tqueue.add(parent);\n\t\t}\n\t}\n\treturn true;\n};\n\nclass ChunkGraphModule {\n\tconstructor() {\n\t\t/** @type {SortableSet<Chunk>} */\n\t\tthis.chunks = new SortableSet();\n\t\t/** @type {Set<Chunk> | undefined} */\n\t\tthis.entryInChunks = undefined;\n\t\t/** @type {Set<Chunk> | undefined} */\n\t\tthis.runtimeInChunks = undefined;\n\t\t/** @type {RuntimeSpecMap<ModuleHashInfo>} */\n\t\tthis.hashes = undefined;\n\t\t/** @type {string | number} */\n\t\tthis.id = null;\n\t\t/** @type {RuntimeSpecMap<Set<string>> | undefined} */\n\t\tthis.runtimeRequirements = undefined;\n\t\t/** @type {RuntimeSpecMap<string>} */\n\t\tthis.graphHashes = undefined;\n\t\t/** @type {RuntimeSpecMap<string>} */\n\t\tthis.graphHashesWithConnections = undefined;\n\t}\n}\n\nclass ChunkGraphChunk {\n\tconstructor() {\n\t\t/** @type {SortableSet<Module>} */\n\t\tthis.modules = new SortableSet();\n\t\t/** @type {WeakMap<Module, Set<string>> | undefined} */\n\t\tthis.sourceTypesByModule = undefined;\n\t\t/** @type {Map<Module, Entrypoint>} */\n\t\tthis.entryModules = new Map();\n\t\t/** @type {SortableSet<RuntimeModule>} */\n\t\tthis.runtimeModules = new SortableSet();\n\t\t/** @type {Set<RuntimeModule> | undefined} */\n\t\tthis.fullHashModules = undefined;\n\t\t/** @type {Set<RuntimeModule> | undefined} */\n\t\tthis.dependentHashModules = undefined;\n\t\t/** @type {Set<string> | undefined} */\n\t\tthis.runtimeRequirements = undefined;\n\t\t/** @type {Set<string>} */\n\t\tthis.runtimeRequirementsInTree = new Set();\n\n\t\tthis._modulesBySourceType = defaultModulesBySourceType;\n\t}\n}\n\nclass ChunkGraph {\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {string | Hash} hashFunction the hash function to use\n\t */\n\tconstructor(moduleGraph, hashFunction = \"md4\") {\n\t\t/** @private @type {WeakMap<Module, ChunkGraphModule>} */\n\t\tthis._modules = new WeakMap();\n\t\t/** @private @type {WeakMap<Chunk, ChunkGraphChunk>} */\n\t\tthis._chunks = new WeakMap();\n\t\t/** @private @type {WeakMap<AsyncDependenciesBlock, ChunkGroup>} */\n\t\tthis._blockChunkGroups = new WeakMap();\n\t\t/** @private @type {Map<string, string | number>} */\n\t\tthis._runtimeIds = new Map();\n\t\t/** @type {ModuleGraph} */\n\t\tthis.moduleGraph = moduleGraph;\n\n\t\tthis._hashFunction = hashFunction;\n\n\t\tthis._getGraphRoots = this._getGraphRoots.bind(this);\n\t}\n\n\t/**\n\t * @private\n\t * @param {Module} module the module\n\t * @returns {ChunkGraphModule} internal module\n\t */\n\t_getChunkGraphModule(module) {\n\t\tlet cgm = this._modules.get(module);\n\t\tif (cgm === undefined) {\n\t\t\tcgm = new ChunkGraphModule();\n\t\t\tthis._modules.set(module, cgm);\n\t\t}\n\t\treturn cgm;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk the chunk\n\t * @returns {ChunkGraphChunk} internal chunk\n\t */\n\t_getChunkGraphChunk(chunk) {\n\t\tlet cgc = this._chunks.get(chunk);\n\t\tif (cgc === undefined) {\n\t\t\tcgc = new ChunkGraphChunk();\n\t\t\tthis._chunks.set(chunk, cgc);\n\t\t}\n\t\treturn cgc;\n\t}\n\n\t/**\n\t * @param {SortableSet<Module>} set the sortable Set to get the roots of\n\t * @returns {Module[]} the graph roots\n\t */\n\t_getGraphRoots(set) {\n\t\tconst { moduleGraph } = this;\n\t\treturn Array.from(\n\t\t\tfindGraphRoots(set, module => {\n\t\t\t\t/** @type {Set<Module>} */\n\t\t\t\tconst set = new Set();\n\t\t\t\tconst addDependencies = module => {\n\t\t\t\t\tfor (const connection of moduleGraph.getOutgoingConnections(module)) {\n\t\t\t\t\t\tif (!connection.module) continue;\n\t\t\t\t\t\tconst activeState = connection.getActiveState(undefined);\n\t\t\t\t\t\tif (activeState === false) continue;\n\t\t\t\t\t\tif (activeState === ModuleGraphConnection.TRANSITIVE_ONLY) {\n\t\t\t\t\t\t\taddDependencies(connection.module);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(connection.module);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\taddDependencies(module);\n\t\t\t\treturn set;\n\t\t\t})\n\t\t).sort(compareModulesByIdentifier);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tconnectChunkAndModule(chunk, module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tcgm.chunks.add(chunk);\n\t\tcgc.modules.add(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tdisconnectChunkAndModule(chunk, module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tcgc.modules.delete(module);\n\t\t// No need to invalidate cgc._modulesBySourceType because we modified cgc.modules anyway\n\t\tif (cgc.sourceTypesByModule) cgc.sourceTypesByModule.delete(module);\n\t\tcgm.chunks.delete(chunk);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk which will be disconnected\n\t * @returns {void}\n\t */\n\tdisconnectChunk(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tfor (const module of cgc.modules) {\n\t\t\tconst cgm = this._getChunkGraphModule(module);\n\t\t\tcgm.chunks.delete(chunk);\n\t\t}\n\t\tcgc.modules.clear();\n\t\tchunk.disconnectFromGroups();\n\t\tChunkGraph.clearChunkGraphForChunk(chunk);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Iterable<Module>} modules the modules\n\t * @returns {void}\n\t */\n\tattachModules(chunk, modules) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tfor (const module of modules) {\n\t\t\tcgc.modules.add(module);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Iterable<RuntimeModule>} modules the runtime modules\n\t * @returns {void}\n\t */\n\tattachRuntimeModules(chunk, modules) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tfor (const module of modules) {\n\t\t\tcgc.runtimeModules.add(module);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Iterable<RuntimeModule>} modules the modules that require a full hash\n\t * @returns {void}\n\t */\n\tattachFullHashModules(chunk, modules) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.fullHashModules === undefined) cgc.fullHashModules = new Set();\n\t\tfor (const module of modules) {\n\t\t\tcgc.fullHashModules.add(module);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Iterable<RuntimeModule>} modules the modules that require a full hash\n\t * @returns {void}\n\t */\n\tattachDependentHashModules(chunk, modules) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.dependentHashModules === undefined)\n\t\t\tcgc.dependentHashModules = new Set();\n\t\tfor (const module of modules) {\n\t\t\tcgc.dependentHashModules.add(module);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} oldModule the replaced module\n\t * @param {Module} newModule the replacing module\n\t * @returns {void}\n\t */\n\treplaceModule(oldModule, newModule) {\n\t\tconst oldCgm = this._getChunkGraphModule(oldModule);\n\t\tconst newCgm = this._getChunkGraphModule(newModule);\n\n\t\tfor (const chunk of oldCgm.chunks) {\n\t\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\t\tcgc.modules.delete(oldModule);\n\t\t\tcgc.modules.add(newModule);\n\t\t\tnewCgm.chunks.add(chunk);\n\t\t}\n\t\toldCgm.chunks.clear();\n\n\t\tif (oldCgm.entryInChunks !== undefined) {\n\t\t\tif (newCgm.entryInChunks === undefined) {\n\t\t\t\tnewCgm.entryInChunks = new Set();\n\t\t\t}\n\t\t\tfor (const chunk of oldCgm.entryInChunks) {\n\t\t\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\t\t\tconst old = cgc.entryModules.get(oldModule);\n\t\t\t\t/** @type {Map<Module, Entrypoint>} */\n\t\t\t\tconst newEntryModules = new Map();\n\t\t\t\tfor (const [m, cg] of cgc.entryModules) {\n\t\t\t\t\tif (m === oldModule) {\n\t\t\t\t\t\tnewEntryModules.set(newModule, old);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewEntryModules.set(m, cg);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcgc.entryModules = newEntryModules;\n\t\t\t\tnewCgm.entryInChunks.add(chunk);\n\t\t\t}\n\t\t\toldCgm.entryInChunks = undefined;\n\t\t}\n\n\t\tif (oldCgm.runtimeInChunks !== undefined) {\n\t\t\tif (newCgm.runtimeInChunks === undefined) {\n\t\t\t\tnewCgm.runtimeInChunks = new Set();\n\t\t\t}\n\t\t\tfor (const chunk of oldCgm.runtimeInChunks) {\n\t\t\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\t\t\tcgc.runtimeModules.delete(/** @type {RuntimeModule} */ (oldModule));\n\t\t\t\tcgc.runtimeModules.add(/** @type {RuntimeModule} */ (newModule));\n\t\t\t\tnewCgm.runtimeInChunks.add(chunk);\n\t\t\t\tif (\n\t\t\t\t\tcgc.fullHashModules !== undefined &&\n\t\t\t\t\tcgc.fullHashModules.has(/** @type {RuntimeModule} */ (oldModule))\n\t\t\t\t) {\n\t\t\t\t\tcgc.fullHashModules.delete(/** @type {RuntimeModule} */ (oldModule));\n\t\t\t\t\tcgc.fullHashModules.add(/** @type {RuntimeModule} */ (newModule));\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tcgc.dependentHashModules !== undefined &&\n\t\t\t\t\tcgc.dependentHashModules.has(/** @type {RuntimeModule} */ (oldModule))\n\t\t\t\t) {\n\t\t\t\t\tcgc.dependentHashModules.delete(\n\t\t\t\t\t\t/** @type {RuntimeModule} */ (oldModule)\n\t\t\t\t\t);\n\t\t\t\t\tcgc.dependentHashModules.add(\n\t\t\t\t\t\t/** @type {RuntimeModule} */ (newModule)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t\toldCgm.runtimeInChunks = undefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the checked module\n\t * @param {Chunk} chunk the checked chunk\n\t * @returns {boolean} true, if the chunk contains the module\n\t */\n\tisModuleInChunk(module, chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.has(module);\n\t}\n\n\t/**\n\t * @param {Module} module the checked module\n\t * @param {ChunkGroup} chunkGroup the checked chunk group\n\t * @returns {boolean} true, if the chunk contains the module\n\t */\n\tisModuleInChunkGroup(module, chunkGroup) {\n\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\tif (this.isModuleInChunk(module, chunk)) return true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Module} module the checked module\n\t * @returns {boolean} true, if the module is entry of any chunk\n\t */\n\tisEntryModule(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.entryInChunks !== undefined;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {Iterable<Chunk>} iterable of chunks (do not modify)\n\t */\n\tgetModuleChunksIterable(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.chunks;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {function(Chunk, Chunk): -1|0|1} sortFn sort function\n\t * @returns {Iterable<Chunk>} iterable of chunks (do not modify)\n\t */\n\tgetOrderedModuleChunksIterable(module, sortFn) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tcgm.chunks.sortWith(sortFn);\n\t\treturn cgm.chunks;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {Chunk[]} array of chunks (cached, do not modify)\n\t */\n\tgetModuleChunks(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.chunks.getFromCache(getArray);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {number} the number of chunk which contain the module\n\t */\n\tgetNumberOfModuleChunks(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.chunks.size;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {RuntimeSpecSet} runtimes\n\t */\n\tgetModuleRuntimes(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.chunks.getFromUnorderedCache(getModuleRuntimes);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {number} the number of modules which are contained in this chunk\n\t */\n\tgetNumberOfChunkModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.size;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {number} the number of full hash modules which are contained in this chunk\n\t */\n\tgetNumberOfChunkFullHashModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.fullHashModules === undefined ? 0 : cgc.fullHashModules.size;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<Module>} return the modules for this chunk\n\t */\n\tgetChunkModulesIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {string} sourceType source type\n\t * @returns {Iterable<Module> | undefined} return the modules for this chunk\n\t */\n\tgetChunkModulesIterableBySourceType(chunk, sourceType) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst modulesWithSourceType = cgc.modules\n\t\t\t.getFromUnorderedCache(cgc._modulesBySourceType)\n\t\t\t.get(sourceType);\n\t\treturn modulesWithSourceType;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk chunk\n\t * @param {Module} module chunk module\n\t * @param {Set<string>} sourceTypes source types\n\t */\n\tsetChunkModuleSourceTypes(chunk, module, sourceTypes) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.sourceTypesByModule === undefined) {\n\t\t\tcgc.sourceTypesByModule = new WeakMap();\n\t\t}\n\t\tcgc.sourceTypesByModule.set(module, sourceTypes);\n\t\t// Update cgc._modulesBySourceType to invalidate the cache\n\t\tcgc._modulesBySourceType = modulesBySourceType(cgc.sourceTypesByModule);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk chunk\n\t * @param {Module} module chunk module\n\t * @returns {Set<string>} source types\n\t */\n\tgetChunkModuleSourceTypes(chunk, module) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.sourceTypesByModule === undefined) {\n\t\t\treturn module.getSourceTypes();\n\t\t}\n\t\treturn cgc.sourceTypesByModule.get(module) || module.getSourceTypes();\n\t}\n\n\t/**\n\t * @param {Module} module module\n\t * @returns {Set<string>} source types\n\t */\n\tgetModuleSourceTypes(module) {\n\t\treturn (\n\t\t\tthis._getOverwrittenModuleSourceTypes(module) || module.getSourceTypes()\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module module\n\t * @returns {Set<string> | undefined} source types\n\t */\n\t_getOverwrittenModuleSourceTypes(module) {\n\t\tlet newSet = false;\n\t\tlet sourceTypes;\n\t\tfor (const chunk of this.getModuleChunksIterable(module)) {\n\t\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\t\tif (cgc.sourceTypesByModule === undefined) return;\n\t\t\tconst st = cgc.sourceTypesByModule.get(module);\n\t\t\tif (st === undefined) return;\n\t\t\tif (!sourceTypes) {\n\t\t\t\tsourceTypes = st;\n\t\t\t\tcontinue;\n\t\t\t} else if (!newSet) {\n\t\t\t\tfor (const type of st) {\n\t\t\t\t\tif (!newSet) {\n\t\t\t\t\t\tif (!sourceTypes.has(type)) {\n\t\t\t\t\t\t\tnewSet = true;\n\t\t\t\t\t\t\tsourceTypes = new Set(sourceTypes);\n\t\t\t\t\t\t\tsourceTypes.add(type);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsourceTypes.add(type);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (const type of st) sourceTypes.add(type);\n\t\t\t}\n\t\t}\n\n\t\treturn sourceTypes;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {function(Module, Module): -1|0|1} comparator comparator function\n\t * @returns {Iterable<Module>} return the modules for this chunk\n\t */\n\tgetOrderedChunkModulesIterable(chunk, comparator) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tcgc.modules.sortWith(comparator);\n\t\treturn cgc.modules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {string} sourceType source type\n\t * @param {function(Module, Module): -1|0|1} comparator comparator function\n\t * @returns {Iterable<Module> | undefined} return the modules for this chunk\n\t */\n\tgetOrderedChunkModulesIterableBySourceType(chunk, sourceType, comparator) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst modulesWithSourceType = cgc.modules\n\t\t\t.getFromUnorderedCache(cgc._modulesBySourceType)\n\t\t\t.get(sourceType);\n\t\tif (modulesWithSourceType === undefined) return undefined;\n\t\tmodulesWithSourceType.sortWith(comparator);\n\t\treturn modulesWithSourceType;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Module[]} return the modules for this chunk (cached, do not modify)\n\t */\n\tgetChunkModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.getFromUnorderedCache(getArray);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {function(Module, Module): -1|0|1} comparator comparator function\n\t * @returns {Module[]} return the modules for this chunk (cached, do not modify)\n\t */\n\tgetOrderedChunkModules(chunk, comparator) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst arrayFunction = createOrderedArrayFunction(comparator);\n\t\treturn cgc.modules.getFromUnorderedCache(arrayFunction);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ModuleFilterPredicate} filterFn function used to filter modules\n\t * @param {boolean} includeAllChunks all chunks or only async chunks\n\t * @returns {Record<string|number, (string|number)[]>} chunk to module ids object\n\t */\n\tgetChunkModuleIdMap(chunk, filterFn, includeAllChunks = false) {\n\t\t/** @type {Record<string|number, (string|number)[]>} */\n\t\tconst chunkModuleIdMap = Object.create(null);\n\n\t\tfor (const asyncChunk of includeAllChunks\n\t\t\t? chunk.getAllReferencedChunks()\n\t\t\t: chunk.getAllAsyncChunks()) {\n\t\t\t/** @type {(string|number)[]} */\n\t\t\tlet array;\n\t\t\tfor (const module of this.getOrderedChunkModulesIterable(\n\t\t\t\tasyncChunk,\n\t\t\t\tcompareModulesById(this)\n\t\t\t)) {\n\t\t\t\tif (filterFn(module)) {\n\t\t\t\t\tif (array === undefined) {\n\t\t\t\t\t\tarray = [];\n\t\t\t\t\t\tchunkModuleIdMap[asyncChunk.id] = array;\n\t\t\t\t\t}\n\t\t\t\t\tconst moduleId = this.getModuleId(module);\n\t\t\t\t\tarray.push(moduleId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn chunkModuleIdMap;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ModuleFilterPredicate} filterFn function used to filter modules\n\t * @param {number} hashLength length of the hash\n\t * @param {boolean} includeAllChunks all chunks or only async chunks\n\t * @returns {Record<string|number, Record<string|number, string>>} chunk to module id to module hash object\n\t */\n\tgetChunkModuleRenderedHashMap(\n\t\tchunk,\n\t\tfilterFn,\n\t\thashLength = 0,\n\t\tincludeAllChunks = false\n\t) {\n\t\t/** @type {Record<string|number, Record<string|number, string>>} */\n\t\tconst chunkModuleHashMap = Object.create(null);\n\n\t\tfor (const asyncChunk of includeAllChunks\n\t\t\t? chunk.getAllReferencedChunks()\n\t\t\t: chunk.getAllAsyncChunks()) {\n\t\t\t/** @type {Record<string|number, string>} */\n\t\t\tlet idToHashMap;\n\t\t\tfor (const module of this.getOrderedChunkModulesIterable(\n\t\t\t\tasyncChunk,\n\t\t\t\tcompareModulesById(this)\n\t\t\t)) {\n\t\t\t\tif (filterFn(module)) {\n\t\t\t\t\tif (idToHashMap === undefined) {\n\t\t\t\t\t\tidToHashMap = Object.create(null);\n\t\t\t\t\t\tchunkModuleHashMap[asyncChunk.id] = idToHashMap;\n\t\t\t\t\t}\n\t\t\t\t\tconst moduleId = this.getModuleId(module);\n\t\t\t\t\tconst hash = this.getRenderedModuleHash(module, asyncChunk.runtime);\n\t\t\t\t\tidToHashMap[moduleId] = hashLength ? hash.slice(0, hashLength) : hash;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn chunkModuleHashMap;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ChunkFilterPredicate} filterFn function used to filter chunks\n\t * @returns {Record<string|number, boolean>} chunk map\n\t */\n\tgetChunkConditionMap(chunk, filterFn) {\n\t\tconst map = Object.create(null);\n\t\tfor (const c of chunk.getAllReferencedChunks()) {\n\t\t\tmap[c.id] = filterFn(c, this);\n\t\t}\n\t\treturn map;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ModuleFilterPredicate} filterFn predicate function used to filter modules\n\t * @param {ChunkFilterPredicate=} filterChunkFn predicate function used to filter chunks\n\t * @returns {boolean} return true if module exists in graph\n\t */\n\thasModuleInGraph(chunk, filterFn, filterChunkFn) {\n\t\tconst queue = new Set(chunk.groupsIterable);\n\t\tconst chunksProcessed = new Set();\n\n\t\tfor (const chunkGroup of queue) {\n\t\t\tfor (const innerChunk of chunkGroup.chunks) {\n\t\t\t\tif (!chunksProcessed.has(innerChunk)) {\n\t\t\t\t\tchunksProcessed.add(innerChunk);\n\t\t\t\t\tif (!filterChunkFn || filterChunkFn(innerChunk, this)) {\n\t\t\t\t\t\tfor (const module of this.getChunkModulesIterable(innerChunk)) {\n\t\t\t\t\t\t\tif (filterFn(module)) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\tqueue.add(child);\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Chunk} chunkA first chunk\n\t * @param {Chunk} chunkB second chunk\n\t * @returns {-1|0|1} this is a comparator function like sort and returns -1, 0, or 1 based on sort order\n\t */\n\tcompareChunks(chunkA, chunkB) {\n\t\tconst cgcA = this._getChunkGraphChunk(chunkA);\n\t\tconst cgcB = this._getChunkGraphChunk(chunkB);\n\t\tif (cgcA.modules.size > cgcB.modules.size) return -1;\n\t\tif (cgcA.modules.size < cgcB.modules.size) return 1;\n\t\tcgcA.modules.sortWith(compareModulesByIdentifier);\n\t\tcgcB.modules.sortWith(compareModulesByIdentifier);\n\t\treturn compareModuleIterables(cgcA.modules, cgcB.modules);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {number} total size of all modules in the chunk\n\t */\n\tgetChunkModulesSize(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.getFromUnorderedCache(getModulesSize);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Record<string, number>} total sizes of all modules in the chunk by source type\n\t */\n\tgetChunkModulesSizes(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.getFromUnorderedCache(getModulesSizes);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Module[]} root modules of the chunks (ordered by identifier)\n\t */\n\tgetChunkRootModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.modules.getFromUnorderedCache(this._getGraphRoots);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ChunkSizeOptions} options options object\n\t * @returns {number} total size of the chunk\n\t */\n\tgetChunkSize(chunk, options = {}) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst modulesSize = cgc.modules.getFromUnorderedCache(getModulesSize);\n\t\tconst chunkOverhead =\n\t\t\ttypeof options.chunkOverhead === \"number\" ? options.chunkOverhead : 10000;\n\t\tconst entryChunkMultiplicator =\n\t\t\ttypeof options.entryChunkMultiplicator === \"number\"\n\t\t\t\t? options.entryChunkMultiplicator\n\t\t\t\t: 10;\n\t\treturn (\n\t\t\tchunkOverhead +\n\t\t\tmodulesSize * (chunk.canBeInitial() ? entryChunkMultiplicator : 1)\n\t\t);\n\t}\n\n\t/**\n\t * @param {Chunk} chunkA chunk\n\t * @param {Chunk} chunkB chunk\n\t * @param {ChunkSizeOptions} options options object\n\t * @returns {number} total size of the chunk or false if chunks can't be integrated\n\t */\n\tgetIntegratedChunksSize(chunkA, chunkB, options = {}) {\n\t\tconst cgcA = this._getChunkGraphChunk(chunkA);\n\t\tconst cgcB = this._getChunkGraphChunk(chunkB);\n\t\tconst allModules = new Set(cgcA.modules);\n\t\tfor (const m of cgcB.modules) allModules.add(m);\n\t\tlet modulesSize = getModulesSize(allModules);\n\t\tconst chunkOverhead =\n\t\t\ttypeof options.chunkOverhead === \"number\" ? options.chunkOverhead : 10000;\n\t\tconst entryChunkMultiplicator =\n\t\t\ttypeof options.entryChunkMultiplicator === \"number\"\n\t\t\t\t? options.entryChunkMultiplicator\n\t\t\t\t: 10;\n\t\treturn (\n\t\t\tchunkOverhead +\n\t\t\tmodulesSize *\n\t\t\t\t(chunkA.canBeInitial() || chunkB.canBeInitial()\n\t\t\t\t\t? entryChunkMultiplicator\n\t\t\t\t\t: 1)\n\t\t);\n\t}\n\n\t/**\n\t * @param {Chunk} chunkA chunk\n\t * @param {Chunk} chunkB chunk\n\t * @returns {boolean} true, if chunks could be integrated\n\t */\n\tcanChunksBeIntegrated(chunkA, chunkB) {\n\t\tif (chunkA.preventIntegration || chunkB.preventIntegration) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst hasRuntimeA = chunkA.hasRuntime();\n\t\tconst hasRuntimeB = chunkB.hasRuntime();\n\n\t\tif (hasRuntimeA !== hasRuntimeB) {\n\t\t\tif (hasRuntimeA) {\n\t\t\t\treturn isAvailableChunk(chunkA, chunkB);\n\t\t\t} else if (hasRuntimeB) {\n\t\t\t\treturn isAvailableChunk(chunkB, chunkA);\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\tthis.getNumberOfEntryModules(chunkA) > 0 ||\n\t\t\tthis.getNumberOfEntryModules(chunkB) > 0\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {Chunk} chunkA the target chunk\n\t * @param {Chunk} chunkB the chunk to integrate\n\t * @returns {void}\n\t */\n\tintegrateChunks(chunkA, chunkB) {\n\t\t// Decide for one name (deterministic)\n\t\tif (chunkA.name && chunkB.name) {\n\t\t\tif (\n\t\t\t\tthis.getNumberOfEntryModules(chunkA) > 0 ===\n\t\t\t\tthis.getNumberOfEntryModules(chunkB) > 0\n\t\t\t) {\n\t\t\t\t// When both chunks have entry modules or none have one, use\n\t\t\t\t// shortest name\n\t\t\t\tif (chunkA.name.length !== chunkB.name.length) {\n\t\t\t\t\tchunkA.name =\n\t\t\t\t\t\tchunkA.name.length < chunkB.name.length ? chunkA.name : chunkB.name;\n\t\t\t\t} else {\n\t\t\t\t\tchunkA.name = chunkA.name < chunkB.name ? chunkA.name : chunkB.name;\n\t\t\t\t}\n\t\t\t} else if (this.getNumberOfEntryModules(chunkB) > 0) {\n\t\t\t\t// Pick the name of the chunk with the entry module\n\t\t\t\tchunkA.name = chunkB.name;\n\t\t\t}\n\t\t} else if (chunkB.name) {\n\t\t\tchunkA.name = chunkB.name;\n\t\t}\n\n\t\t// Merge id name hints\n\t\tfor (const hint of chunkB.idNameHints) {\n\t\t\tchunkA.idNameHints.add(hint);\n\t\t}\n\n\t\t// Merge runtime\n\t\tchunkA.runtime = mergeRuntime(chunkA.runtime, chunkB.runtime);\n\n\t\t// getChunkModules is used here to create a clone, because disconnectChunkAndModule modifies\n\t\tfor (const module of this.getChunkModules(chunkB)) {\n\t\t\tthis.disconnectChunkAndModule(chunkB, module);\n\t\t\tthis.connectChunkAndModule(chunkA, module);\n\t\t}\n\n\t\tfor (const [module, chunkGroup] of Array.from(\n\t\t\tthis.getChunkEntryModulesWithChunkGroupIterable(chunkB)\n\t\t)) {\n\t\t\tthis.disconnectChunkAndEntryModule(chunkB, module);\n\t\t\tthis.connectChunkAndEntryModule(chunkA, module, chunkGroup);\n\t\t}\n\n\t\tfor (const chunkGroup of chunkB.groupsIterable) {\n\t\t\tchunkGroup.replaceChunk(chunkB, chunkA);\n\t\t\tchunkA.addGroup(chunkGroup);\n\t\t\tchunkB.removeGroup(chunkGroup);\n\t\t}\n\t\tChunkGraph.clearChunkGraphForChunk(chunkB);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk to upgrade\n\t * @returns {void}\n\t */\n\tupgradeDependentToFullHashModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.dependentHashModules === undefined) return;\n\t\tif (cgc.fullHashModules === undefined) {\n\t\t\tcgc.fullHashModules = cgc.dependentHashModules;\n\t\t} else {\n\t\t\tfor (const m of cgc.dependentHashModules) {\n\t\t\t\tcgc.fullHashModules.add(m);\n\t\t\t}\n\t\t\tcgc.dependentHashModules = undefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the checked module\n\t * @param {Chunk} chunk the checked chunk\n\t * @returns {boolean} true, if the chunk contains the module as entry\n\t */\n\tisEntryModuleInChunk(module, chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.entryModules.has(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {Module} module the entry module\n\t * @param {Entrypoint=} entrypoint the chunk group which must be loaded before the module is executed\n\t * @returns {void}\n\t */\n\tconnectChunkAndEntryModule(chunk, module, entrypoint) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgm.entryInChunks === undefined) {\n\t\t\tcgm.entryInChunks = new Set();\n\t\t}\n\t\tcgm.entryInChunks.add(chunk);\n\t\tcgc.entryModules.set(module, entrypoint);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {RuntimeModule} module the runtime module\n\t * @returns {void}\n\t */\n\tconnectChunkAndRuntimeModule(chunk, module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgm.runtimeInChunks === undefined) {\n\t\t\tcgm.runtimeInChunks = new Set();\n\t\t}\n\t\tcgm.runtimeInChunks.add(chunk);\n\t\tcgc.runtimeModules.add(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {RuntimeModule} module the module that require a full hash\n\t * @returns {void}\n\t */\n\taddFullHashModuleToChunk(chunk, module) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.fullHashModules === undefined) cgc.fullHashModules = new Set();\n\t\tcgc.fullHashModules.add(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {RuntimeModule} module the module that require a full hash\n\t * @returns {void}\n\t */\n\taddDependentHashModuleToChunk(chunk, module) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tif (cgc.dependentHashModules === undefined)\n\t\t\tcgc.dependentHashModules = new Set();\n\t\tcgc.dependentHashModules.add(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {Module} module the entry module\n\t * @returns {void}\n\t */\n\tdisconnectChunkAndEntryModule(chunk, module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tcgm.entryInChunks.delete(chunk);\n\t\tif (cgm.entryInChunks.size === 0) {\n\t\t\tcgm.entryInChunks = undefined;\n\t\t}\n\t\tcgc.entryModules.delete(module);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the new chunk\n\t * @param {RuntimeModule} module the runtime module\n\t * @returns {void}\n\t */\n\tdisconnectChunkAndRuntimeModule(chunk, module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tcgm.runtimeInChunks.delete(chunk);\n\t\tif (cgm.runtimeInChunks.size === 0) {\n\t\t\tcgm.runtimeInChunks = undefined;\n\t\t}\n\t\tcgc.runtimeModules.delete(module);\n\t}\n\n\t/**\n\t * @param {Module} module the entry module, it will no longer be entry\n\t * @returns {void}\n\t */\n\tdisconnectEntryModule(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tfor (const chunk of cgm.entryInChunks) {\n\t\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\t\tcgc.entryModules.delete(module);\n\t\t}\n\t\tcgm.entryInChunks = undefined;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk, for which all entries will be removed\n\t * @returns {void}\n\t */\n\tdisconnectEntries(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tfor (const module of cgc.entryModules.keys()) {\n\t\t\tconst cgm = this._getChunkGraphModule(module);\n\t\t\tcgm.entryInChunks.delete(chunk);\n\t\t\tif (cgm.entryInChunks.size === 0) {\n\t\t\t\tcgm.entryInChunks = undefined;\n\t\t\t}\n\t\t}\n\t\tcgc.entryModules.clear();\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {number} the amount of entry modules in chunk\n\t */\n\tgetNumberOfEntryModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.entryModules.size;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {number} the amount of entry modules in chunk\n\t */\n\tgetNumberOfRuntimeModules(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.runtimeModules.size;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<Module>} iterable of modules (do not modify)\n\t */\n\tgetChunkEntryModulesIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.entryModules.keys();\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<Chunk>} iterable of chunks\n\t */\n\tgetChunkEntryDependentChunksIterable(chunk) {\n\t\t/** @type {Set<Chunk>} */\n\t\tconst set = new Set();\n\t\tfor (const chunkGroup of chunk.groupsIterable) {\n\t\t\tif (chunkGroup instanceof Entrypoint) {\n\t\t\t\tconst entrypointChunk = chunkGroup.getEntrypointChunk();\n\t\t\t\tconst cgc = this._getChunkGraphChunk(entrypointChunk);\n\t\t\t\tfor (const chunkGroup of cgc.entryModules.values()) {\n\t\t\t\t\tfor (const c of chunkGroup.chunks) {\n\t\t\t\t\t\tif (c !== chunk && c !== entrypointChunk && !c.hasRuntime()) {\n\t\t\t\t\t\t\tset.add(c);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn set;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {boolean} true, when it has dependent chunks\n\t */\n\thasChunkEntryDependentChunks(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tfor (const chunkGroup of cgc.entryModules.values()) {\n\t\t\tfor (const c of chunkGroup.chunks) {\n\t\t\t\tif (c !== chunk) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<RuntimeModule>} iterable of modules (do not modify)\n\t */\n\tgetChunkRuntimeModulesIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.runtimeModules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {RuntimeModule[]} array of modules in order of execution\n\t */\n\tgetChunkRuntimeModulesInOrder(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst array = Array.from(cgc.runtimeModules);\n\t\tarray.sort(\n\t\t\tconcatComparators(\n\t\t\t\tcompareSelect(\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {RuntimeModule} r runtime module\n\t\t\t\t\t * @returns {number=} stage\n\t\t\t\t\t */\n\t\t\t\t\tr => r.stage,\n\t\t\t\t\tcompareIds\n\t\t\t\t),\n\t\t\t\tcompareModulesByIdentifier\n\t\t\t)\n\t\t);\n\t\treturn array;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<RuntimeModule> | undefined} iterable of modules (do not modify)\n\t */\n\tgetChunkFullHashModulesIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.fullHashModules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {ReadonlySet<RuntimeModule> | undefined} set of modules (do not modify)\n\t */\n\tgetChunkFullHashModulesSet(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.fullHashModules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<RuntimeModule> | undefined} iterable of modules (do not modify)\n\t */\n\tgetChunkDependentHashModulesIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.dependentHashModules;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {Iterable<EntryModuleWithChunkGroup>} iterable of modules (do not modify)\n\t */\n\tgetChunkEntryModulesWithChunkGroupIterable(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.entryModules;\n\t}\n\n\t/**\n\t * @param {AsyncDependenciesBlock} depBlock the async block\n\t * @returns {ChunkGroup} the chunk group\n\t */\n\tgetBlockChunkGroup(depBlock) {\n\t\treturn this._blockChunkGroups.get(depBlock);\n\t}\n\n\t/**\n\t * @param {AsyncDependenciesBlock} depBlock the async block\n\t * @param {ChunkGroup} chunkGroup the chunk group\n\t * @returns {void}\n\t */\n\tconnectBlockAndChunkGroup(depBlock, chunkGroup) {\n\t\tthis._blockChunkGroups.set(depBlock, chunkGroup);\n\t\tchunkGroup.addBlock(depBlock);\n\t}\n\n\t/**\n\t * @param {ChunkGroup} chunkGroup the chunk group\n\t * @returns {void}\n\t */\n\tdisconnectChunkGroup(chunkGroup) {\n\t\tfor (const block of chunkGroup.blocksIterable) {\n\t\t\tthis._blockChunkGroups.delete(block);\n\t\t}\n\t\t// TODO refactor by moving blocks list into ChunkGraph\n\t\tchunkGroup._blocks.clear();\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {string | number} the id of the module\n\t */\n\tgetModuleId(module) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn cgm.id;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {string | number} id the id of the module\n\t * @returns {void}\n\t */\n\tsetModuleId(module, id) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tcgm.id = id;\n\t}\n\n\t/**\n\t * @param {string} runtime runtime\n\t * @returns {string | number} the id of the runtime\n\t */\n\tgetRuntimeId(runtime) {\n\t\treturn this._runtimeIds.get(runtime);\n\t}\n\n\t/**\n\t * @param {string} runtime runtime\n\t * @param {string | number} id the id of the runtime\n\t * @returns {void}\n\t */\n\tsetRuntimeId(runtime, id) {\n\t\tthis._runtimeIds.set(runtime, id);\n\t}\n\n\t/**\n\t * @template T\n\t * @param {Module} module the module\n\t * @param {RuntimeSpecMap<T>} hashes hashes data\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {T} hash\n\t */\n\t_getModuleHashInfo(module, hashes, runtime) {\n\t\tif (!hashes) {\n\t\t\tthrow new Error(\n\t\t\t\t`Module ${module.identifier()} has no hash info for runtime ${runtimeToString(\n\t\t\t\t\truntime\n\t\t\t\t)} (hashes not set at all)`\n\t\t\t);\n\t\t} else if (runtime === undefined) {\n\t\t\tconst hashInfoItems = new Set(hashes.values());\n\t\t\tif (hashInfoItems.size !== 1) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`No unique hash info entry for unspecified runtime for ${module.identifier()} (existing runtimes: ${Array.from(\n\t\t\t\t\t\thashes.keys(),\n\t\t\t\t\t\tr => runtimeToString(r)\n\t\t\t\t\t).join(\", \")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: \"global\").`\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn first(hashInfoItems);\n\t\t} else {\n\t\t\tconst hashInfo = hashes.get(runtime);\n\t\t\tif (!hashInfo) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Module ${module.identifier()} has no hash info for runtime ${runtimeToString(\n\t\t\t\t\t\truntime\n\t\t\t\t\t)} (available runtimes ${Array.from(\n\t\t\t\t\t\thashes.keys(),\n\t\t\t\t\t\truntimeToString\n\t\t\t\t\t).join(\", \")})`\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn hashInfo;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, if the module has hashes for this runtime\n\t */\n\thasModuleHashes(module, runtime) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst hashes = cgm.hashes;\n\t\treturn hashes && hashes.has(runtime);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {string} hash\n\t */\n\tgetModuleHash(module, runtime) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst hashes = cgm.hashes;\n\t\treturn this._getModuleHashInfo(module, hashes, runtime).hash;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {string} hash\n\t */\n\tgetRenderedModuleHash(module, runtime) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst hashes = cgm.hashes;\n\t\treturn this._getModuleHashInfo(module, hashes, runtime).renderedHash;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {string} hash the full hash\n\t * @param {string} renderedHash the shortened hash for rendering\n\t * @returns {void}\n\t */\n\tsetModuleHashes(module, runtime, hash, renderedHash) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tif (cgm.hashes === undefined) {\n\t\t\tcgm.hashes = new RuntimeSpecMap();\n\t\t}\n\t\tcgm.hashes.set(runtime, new ModuleHashInfo(hash, renderedHash));\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {Set<string>} items runtime requirements to be added (ownership of this Set is given to ChunkGraph when transferOwnership not false)\n\t * @param {boolean} transferOwnership true: transfer ownership of the items object, false: items is immutable and shared and won't be modified\n\t * @returns {void}\n\t */\n\taddModuleRuntimeRequirements(\n\t\tmodule,\n\t\truntime,\n\t\titems,\n\t\ttransferOwnership = true\n\t) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst runtimeRequirementsMap = cgm.runtimeRequirements;\n\t\tif (runtimeRequirementsMap === undefined) {\n\t\t\tconst map = new RuntimeSpecMap();\n\t\t\t// TODO avoid cloning item and track ownership instead\n\t\t\tmap.set(runtime, transferOwnership ? items : new Set(items));\n\t\t\tcgm.runtimeRequirements = map;\n\t\t\treturn;\n\t\t}\n\t\truntimeRequirementsMap.update(runtime, runtimeRequirements => {\n\t\t\tif (runtimeRequirements === undefined) {\n\t\t\t\treturn transferOwnership ? items : new Set(items);\n\t\t\t} else if (!transferOwnership || runtimeRequirements.size >= items.size) {\n\t\t\t\tfor (const item of items) runtimeRequirements.add(item);\n\t\t\t\treturn runtimeRequirements;\n\t\t\t} else {\n\t\t\t\tfor (const item of runtimeRequirements) items.add(item);\n\t\t\t\treturn items;\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Set<string>} items runtime requirements to be added (ownership of this Set is given to ChunkGraph)\n\t * @returns {void}\n\t */\n\taddChunkRuntimeRequirements(chunk, items) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst runtimeRequirements = cgc.runtimeRequirements;\n\t\tif (runtimeRequirements === undefined) {\n\t\t\tcgc.runtimeRequirements = items;\n\t\t} else if (runtimeRequirements.size >= items.size) {\n\t\t\tfor (const item of items) runtimeRequirements.add(item);\n\t\t} else {\n\t\t\tfor (const item of runtimeRequirements) items.add(item);\n\t\t\tcgc.runtimeRequirements = items;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Iterable<string>} items runtime requirements to be added\n\t * @returns {void}\n\t */\n\taddTreeRuntimeRequirements(chunk, items) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst runtimeRequirements = cgc.runtimeRequirementsInTree;\n\t\tfor (const item of items) runtimeRequirements.add(item);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {ReadonlySet<string>} runtime requirements\n\t */\n\tgetModuleRuntimeRequirements(module, runtime) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\tconst runtimeRequirements =\n\t\t\tcgm.runtimeRequirements && cgm.runtimeRequirements.get(runtime);\n\t\treturn runtimeRequirements === undefined ? EMPTY_SET : runtimeRequirements;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {ReadonlySet<string>} runtime requirements\n\t */\n\tgetChunkRuntimeRequirements(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\tconst runtimeRequirements = cgc.runtimeRequirements;\n\t\treturn runtimeRequirements === undefined ? EMPTY_SET : runtimeRequirements;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {boolean} withConnections include connections\n\t * @returns {string} hash\n\t */\n\tgetModuleGraphHash(module, runtime, withConnections = true) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn withConnections\n\t\t\t? this._getModuleGraphHashWithConnections(cgm, module, runtime)\n\t\t\t: this._getModuleGraphHashBigInt(cgm, module, runtime).toString(16);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {boolean} withConnections include connections\n\t * @returns {bigint} hash\n\t */\n\tgetModuleGraphHashBigInt(module, runtime, withConnections = true) {\n\t\tconst cgm = this._getChunkGraphModule(module);\n\t\treturn withConnections\n\t\t\t? BigInt(\n\t\t\t\t\t`0x${this._getModuleGraphHashWithConnections(cgm, module, runtime)}`\n\t\t\t )\n\t\t\t: this._getModuleGraphHashBigInt(cgm, module, runtime);\n\t}\n\n\t/**\n\t * @param {ChunkGraphModule} cgm the ChunkGraphModule\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {bigint} hash as big int\n\t */\n\t_getModuleGraphHashBigInt(cgm, module, runtime) {\n\t\tif (cgm.graphHashes === undefined) {\n\t\t\tcgm.graphHashes = new RuntimeSpecMap();\n\t\t}\n\t\tconst graphHash = cgm.graphHashes.provide(runtime, () => {\n\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\thash.update(`${cgm.id}${this.moduleGraph.isAsync(module)}`);\n\t\t\tconst sourceTypes = this._getOverwrittenModuleSourceTypes(module);\n\t\t\tif (sourceTypes !== undefined) {\n\t\t\t\tfor (const type of sourceTypes) hash.update(type);\n\t\t\t}\n\t\t\tthis.moduleGraph.getExportsInfo(module).updateHash(hash, runtime);\n\t\t\treturn BigInt(`0x${/** @type {string} */ (hash.digest(\"hex\"))}`);\n\t\t});\n\t\treturn graphHash;\n\t}\n\n\t/**\n\t * @param {ChunkGraphModule} cgm the ChunkGraphModule\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {string} hash\n\t */\n\t_getModuleGraphHashWithConnections(cgm, module, runtime) {\n\t\tif (cgm.graphHashesWithConnections === undefined) {\n\t\t\tcgm.graphHashesWithConnections = new RuntimeSpecMap();\n\t\t}\n\t\tconst activeStateToString = state => {\n\t\t\tif (state === false) return \"F\";\n\t\t\tif (state === true) return \"T\";\n\t\t\tif (state === ModuleGraphConnection.TRANSITIVE_ONLY) return \"O\";\n\t\t\tthrow new Error(\"Not implemented active state\");\n\t\t};\n\t\tconst strict = module.buildMeta && module.buildMeta.strictHarmonyModule;\n\t\treturn cgm.graphHashesWithConnections.provide(runtime, () => {\n\t\t\tconst graphHash = this._getModuleGraphHashBigInt(\n\t\t\t\tcgm,\n\t\t\t\tmodule,\n\t\t\t\truntime\n\t\t\t).toString(16);\n\t\t\tconst connections = this.moduleGraph.getOutgoingConnections(module);\n\t\t\t/** @type {Set<Module>} */\n\t\t\tconst activeNamespaceModules = new Set();\n\t\t\t/** @type {Map<string, Module | Set<Module>>} */\n\t\t\tconst connectedModules = new Map();\n\t\t\tconst processConnection = (connection, stateInfo) => {\n\t\t\t\tconst module = connection.module;\n\t\t\t\tstateInfo += module.getExportsType(this.moduleGraph, strict);\n\t\t\t\t// cspell:word Tnamespace\n\t\t\t\tif (stateInfo === \"Tnamespace\") activeNamespaceModules.add(module);\n\t\t\t\telse {\n\t\t\t\t\tconst oldModule = connectedModules.get(stateInfo);\n\t\t\t\t\tif (oldModule === undefined) {\n\t\t\t\t\t\tconnectedModules.set(stateInfo, module);\n\t\t\t\t\t} else if (oldModule instanceof Set) {\n\t\t\t\t\t\toldModule.add(module);\n\t\t\t\t\t} else if (oldModule !== module) {\n\t\t\t\t\t\tconnectedModules.set(stateInfo, new Set([oldModule, module]));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\tif (runtime === undefined || typeof runtime === \"string\") {\n\t\t\t\tfor (const connection of connections) {\n\t\t\t\t\tconst state = connection.getActiveState(runtime);\n\t\t\t\t\tif (state === false) continue;\n\t\t\t\t\tprocessConnection(connection, state === true ? \"T\" : \"O\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// cspell:word Tnamespace\n\t\t\t\tfor (const connection of connections) {\n\t\t\t\t\tconst states = new Set();\n\t\t\t\t\tlet stateInfo = \"\";\n\t\t\t\t\tforEachRuntime(\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\truntime => {\n\t\t\t\t\t\t\tconst state = connection.getActiveState(runtime);\n\t\t\t\t\t\t\tstates.add(state);\n\t\t\t\t\t\t\tstateInfo += activeStateToString(state) + runtime;\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttrue\n\t\t\t\t\t);\n\t\t\t\t\tif (states.size === 1) {\n\t\t\t\t\t\tconst state = first(states);\n\t\t\t\t\t\tif (state === false) continue;\n\t\t\t\t\t\tstateInfo = activeStateToString(state);\n\t\t\t\t\t}\n\t\t\t\t\tprocessConnection(connection, stateInfo);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// cspell:word Tnamespace\n\t\t\tif (activeNamespaceModules.size === 0 && connectedModules.size === 0)\n\t\t\t\treturn graphHash;\n\t\t\tconst connectedModulesInOrder =\n\t\t\t\tconnectedModules.size > 1\n\t\t\t\t\t? Array.from(connectedModules).sort(([a], [b]) => (a < b ? -1 : 1))\n\t\t\t\t\t: connectedModules;\n\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\tconst addModuleToHash = module => {\n\t\t\t\thash.update(\n\t\t\t\t\tthis._getModuleGraphHashBigInt(\n\t\t\t\t\t\tthis._getChunkGraphModule(module),\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\truntime\n\t\t\t\t\t).toString(16)\n\t\t\t\t);\n\t\t\t};\n\t\t\tconst addModulesToHash = modules => {\n\t\t\t\tlet xor = ZERO_BIG_INT;\n\t\t\t\tfor (const m of modules) {\n\t\t\t\t\txor =\n\t\t\t\t\t\txor ^\n\t\t\t\t\t\tthis._getModuleGraphHashBigInt(\n\t\t\t\t\t\t\tthis._getChunkGraphModule(m),\n\t\t\t\t\t\t\tm,\n\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\thash.update(xor.toString(16));\n\t\t\t};\n\t\t\tif (activeNamespaceModules.size === 1)\n\t\t\t\taddModuleToHash(activeNamespaceModules.values().next().value);\n\t\t\telse if (activeNamespaceModules.size > 1)\n\t\t\t\taddModulesToHash(activeNamespaceModules);\n\t\t\tfor (const [stateInfo, modules] of connectedModulesInOrder) {\n\t\t\t\thash.update(stateInfo);\n\t\t\t\tif (modules instanceof Set) {\n\t\t\t\t\taddModulesToHash(modules);\n\t\t\t\t} else {\n\t\t\t\t\taddModuleToHash(modules);\n\t\t\t\t}\n\t\t\t}\n\t\t\thash.update(graphHash);\n\t\t\treturn /** @type {string} */ (hash.digest(\"hex\"));\n\t\t});\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {ReadonlySet<string>} runtime requirements\n\t */\n\tgetTreeRuntimeRequirements(chunk) {\n\t\tconst cgc = this._getChunkGraphChunk(chunk);\n\t\treturn cgc.runtimeRequirementsInTree;\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @param {string} deprecateMessage message for the deprecation message\n\t * @param {string} deprecationCode code for the deprecation\n\t * @returns {ChunkGraph} the chunk graph\n\t */\n\tstatic getChunkGraphForModule(module, deprecateMessage, deprecationCode) {\n\t\tconst fn = deprecateGetChunkGraphForModuleMap.get(deprecateMessage);\n\t\tif (fn) return fn(module);\n\t\tconst newFn = util.deprecate(\n\t\t\t/**\n\t\t\t * @param {Module} module the module\n\t\t\t * @returns {ChunkGraph} the chunk graph\n\t\t\t */\n\t\t\tmodule => {\n\t\t\t\tconst chunkGraph = chunkGraphForModuleMap.get(module);\n\t\t\t\tif (!chunkGraph)\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\tdeprecateMessage +\n\t\t\t\t\t\t\t\": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)\"\n\t\t\t\t\t);\n\t\t\t\treturn chunkGraph;\n\t\t\t},\n\t\t\tdeprecateMessage + \": Use new ChunkGraph API\",\n\t\t\tdeprecationCode\n\t\t);\n\t\tdeprecateGetChunkGraphForModuleMap.set(deprecateMessage, newFn);\n\t\treturn newFn(module);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {void}\n\t */\n\tstatic setChunkGraphForModule(module, chunkGraph) {\n\t\tchunkGraphForModuleMap.set(module, chunkGraph);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tstatic clearChunkGraphForModule(module) {\n\t\tchunkGraphForModuleMap.delete(module);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {string} deprecateMessage message for the deprecation message\n\t * @param {string} deprecationCode code for the deprecation\n\t * @returns {ChunkGraph} the chunk graph\n\t */\n\tstatic getChunkGraphForChunk(chunk, deprecateMessage, deprecationCode) {\n\t\tconst fn = deprecateGetChunkGraphForChunkMap.get(deprecateMessage);\n\t\tif (fn) return fn(chunk);\n\t\tconst newFn = util.deprecate(\n\t\t\t/**\n\t\t\t * @param {Chunk} chunk the chunk\n\t\t\t * @returns {ChunkGraph} the chunk graph\n\t\t\t */\n\t\t\tchunk => {\n\t\t\t\tconst chunkGraph = chunkGraphForChunkMap.get(chunk);\n\t\t\t\tif (!chunkGraph)\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\tdeprecateMessage +\n\t\t\t\t\t\t\t\"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)\"\n\t\t\t\t\t);\n\t\t\t\treturn chunkGraph;\n\t\t\t},\n\t\t\tdeprecateMessage + \": Use new ChunkGraph API\",\n\t\t\tdeprecationCode\n\t\t);\n\t\tdeprecateGetChunkGraphForChunkMap.set(deprecateMessage, newFn);\n\t\treturn newFn(chunk);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {void}\n\t */\n\tstatic setChunkGraphForChunk(chunk, chunkGraph) {\n\t\tchunkGraphForChunkMap.set(chunk, chunkGraph);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @returns {void}\n\t */\n\tstatic clearChunkGraphForChunk(chunk) {\n\t\tchunkGraphForChunkMap.delete(chunk);\n\t}\n}\n\n// TODO remove in webpack 6\n/** @type {WeakMap<Module, ChunkGraph>} */\nconst chunkGraphForModuleMap = new WeakMap();\n\n// TODO remove in webpack 6\n/** @type {WeakMap<Chunk, ChunkGraph>} */\nconst chunkGraphForChunkMap = new WeakMap();\n\n// TODO remove in webpack 6\n/** @type {Map<string, (module: Module) => ChunkGraph>} */\nconst deprecateGetChunkGraphForModuleMap = new Map();\n\n// TODO remove in webpack 6\n/** @type {Map<string, (chunk: Chunk) => ChunkGraph>} */\nconst deprecateGetChunkGraphForChunkMap = new Map();\n\nmodule.exports = ChunkGraph;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ChunkGraph.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ChunkGroup.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/ChunkGroup.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst SortableSet = __webpack_require__(/*! ./util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst {\n\tcompareLocations,\n\tcompareChunks,\n\tcompareIterables\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\n\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Entrypoint\")} Entrypoint */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n\n/** @typedef {{id: number}} HasId */\n/** @typedef {{module: Module, loc: DependencyLocation, request: string}} OriginRecord */\n\n/**\n * @typedef {Object} RawChunkGroupOptions\n * @property {number=} preloadOrder\n * @property {number=} prefetchOrder\n */\n\n/** @typedef {RawChunkGroupOptions & { name?: string }} ChunkGroupOptions */\n\nlet debugId = 5000;\n\n/**\n * @template T\n * @param {SortableSet<T>} set set to convert to array.\n * @returns {T[]} the array format of existing set\n */\nconst getArray = set => Array.from(set);\n\n/**\n * A convenience method used to sort chunks based on their id's\n * @param {ChunkGroup} a first sorting comparator\n * @param {ChunkGroup} b second sorting comparator\n * @returns {1|0|-1} a sorting index to determine order\n */\nconst sortById = (a, b) => {\n\tif (a.id < b.id) return -1;\n\tif (b.id < a.id) return 1;\n\treturn 0;\n};\n\n/**\n * @param {OriginRecord} a the first comparator in sort\n * @param {OriginRecord} b the second comparator in sort\n * @returns {1|-1|0} returns sorting order as index\n */\nconst sortOrigin = (a, b) => {\n\tconst aIdent = a.module ? a.module.identifier() : \"\";\n\tconst bIdent = b.module ? b.module.identifier() : \"\";\n\tif (aIdent < bIdent) return -1;\n\tif (aIdent > bIdent) return 1;\n\treturn compareLocations(a.loc, b.loc);\n};\n\nclass ChunkGroup {\n\t/**\n\t * Creates an instance of ChunkGroup.\n\t * @param {string|ChunkGroupOptions=} options chunk group options passed to chunkGroup\n\t */\n\tconstructor(options) {\n\t\tif (typeof options === \"string\") {\n\t\t\toptions = { name: options };\n\t\t} else if (!options) {\n\t\t\toptions = { name: undefined };\n\t\t}\n\t\t/** @type {number} */\n\t\tthis.groupDebugId = debugId++;\n\t\tthis.options = options;\n\t\t/** @type {SortableSet<ChunkGroup>} */\n\t\tthis._children = new SortableSet(undefined, sortById);\n\t\t/** @type {SortableSet<ChunkGroup>} */\n\t\tthis._parents = new SortableSet(undefined, sortById);\n\t\t/** @type {SortableSet<ChunkGroup>} */\n\t\tthis._asyncEntrypoints = new SortableSet(undefined, sortById);\n\t\tthis._blocks = new SortableSet();\n\t\t/** @type {Chunk[]} */\n\t\tthis.chunks = [];\n\t\t/** @type {OriginRecord[]} */\n\t\tthis.origins = [];\n\t\t/** Indices in top-down order */\n\t\t/** @private @type {Map<Module, number>} */\n\t\tthis._modulePreOrderIndices = new Map();\n\t\t/** Indices in bottom-up order */\n\t\t/** @private @type {Map<Module, number>} */\n\t\tthis._modulePostOrderIndices = new Map();\n\t\t/** @type {number} */\n\t\tthis.index = undefined;\n\t}\n\n\t/**\n\t * when a new chunk is added to a chunkGroup, addingOptions will occur.\n\t * @param {ChunkGroupOptions} options the chunkGroup options passed to addOptions\n\t * @returns {void}\n\t */\n\taddOptions(options) {\n\t\tfor (const key of Object.keys(options)) {\n\t\t\tif (this.options[key] === undefined) {\n\t\t\t\tthis.options[key] = options[key];\n\t\t\t} else if (this.options[key] !== options[key]) {\n\t\t\t\tif (key.endsWith(\"Order\")) {\n\t\t\t\t\tthis.options[key] = Math.max(this.options[key], options[key]);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`ChunkGroup.addOptions: No option merge strategy for ${key}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * returns the name of current ChunkGroup\n\t * @returns {string|undefined} returns the ChunkGroup name\n\t */\n\tget name() {\n\t\treturn this.options.name;\n\t}\n\n\t/**\n\t * sets a new name for current ChunkGroup\n\t * @param {string} value the new name for ChunkGroup\n\t * @returns {void}\n\t */\n\tset name(value) {\n\t\tthis.options.name = value;\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * get a uniqueId for ChunkGroup, made up of its member Chunk debugId's\n\t * @returns {string} a unique concatenation of chunk debugId's\n\t */\n\tget debugId() {\n\t\treturn Array.from(this.chunks, x => x.debugId).join(\"+\");\n\t}\n\n\t/**\n\t * get a unique id for ChunkGroup, made up of its member Chunk id's\n\t * @returns {string} a unique concatenation of chunk ids\n\t */\n\tget id() {\n\t\treturn Array.from(this.chunks, x => x.id).join(\"+\");\n\t}\n\n\t/**\n\t * Performs an unshift of a specific chunk\n\t * @param {Chunk} chunk chunk being unshifted\n\t * @returns {boolean} returns true if attempted chunk shift is accepted\n\t */\n\tunshiftChunk(chunk) {\n\t\tconst oldIdx = this.chunks.indexOf(chunk);\n\t\tif (oldIdx > 0) {\n\t\t\tthis.chunks.splice(oldIdx, 1);\n\t\t\tthis.chunks.unshift(chunk);\n\t\t} else if (oldIdx < 0) {\n\t\t\tthis.chunks.unshift(chunk);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * inserts a chunk before another existing chunk in group\n\t * @param {Chunk} chunk Chunk being inserted\n\t * @param {Chunk} before Placeholder/target chunk marking new chunk insertion point\n\t * @returns {boolean} return true if insertion was successful\n\t */\n\tinsertChunk(chunk, before) {\n\t\tconst oldIdx = this.chunks.indexOf(chunk);\n\t\tconst idx = this.chunks.indexOf(before);\n\t\tif (idx < 0) {\n\t\t\tthrow new Error(\"before chunk not found\");\n\t\t}\n\t\tif (oldIdx >= 0 && oldIdx > idx) {\n\t\t\tthis.chunks.splice(oldIdx, 1);\n\t\t\tthis.chunks.splice(idx, 0, chunk);\n\t\t} else if (oldIdx < 0) {\n\t\t\tthis.chunks.splice(idx, 0, chunk);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * add a chunk into ChunkGroup. Is pushed on or prepended\n\t * @param {Chunk} chunk chunk being pushed into ChunkGroupS\n\t * @returns {boolean} returns true if chunk addition was successful.\n\t */\n\tpushChunk(chunk) {\n\t\tconst oldIdx = this.chunks.indexOf(chunk);\n\t\tif (oldIdx >= 0) {\n\t\t\treturn false;\n\t\t}\n\t\tthis.chunks.push(chunk);\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {Chunk} oldChunk chunk to be replaced\n\t * @param {Chunk} newChunk New chunk that will be replaced with\n\t * @returns {boolean} returns true if the replacement was successful\n\t */\n\treplaceChunk(oldChunk, newChunk) {\n\t\tconst oldIdx = this.chunks.indexOf(oldChunk);\n\t\tif (oldIdx < 0) return false;\n\t\tconst newIdx = this.chunks.indexOf(newChunk);\n\t\tif (newIdx < 0) {\n\t\t\tthis.chunks[oldIdx] = newChunk;\n\t\t\treturn true;\n\t\t}\n\t\tif (newIdx < oldIdx) {\n\t\t\tthis.chunks.splice(oldIdx, 1);\n\t\t\treturn true;\n\t\t} else if (newIdx !== oldIdx) {\n\t\t\tthis.chunks[oldIdx] = newChunk;\n\t\t\tthis.chunks.splice(newIdx, 1);\n\t\t\treturn true;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk chunk to remove\n\t * @returns {boolean} returns true if chunk was removed\n\t */\n\tremoveChunk(chunk) {\n\t\tconst idx = this.chunks.indexOf(chunk);\n\t\tif (idx >= 0) {\n\t\t\tthis.chunks.splice(idx, 1);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {boolean} true, when this chunk group will be loaded on initial page load\n\t */\n\tisInitial() {\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} group chunk group to add\n\t * @returns {boolean} returns true if chunk group was added\n\t */\n\taddChild(group) {\n\t\tconst size = this._children.size;\n\t\tthis._children.add(group);\n\t\treturn size !== this._children.size;\n\t}\n\n\t/**\n\t * @returns {ChunkGroup[]} returns the children of this group\n\t */\n\tgetChildren() {\n\t\treturn this._children.getFromCache(getArray);\n\t}\n\n\tgetNumberOfChildren() {\n\t\treturn this._children.size;\n\t}\n\n\tget childrenIterable() {\n\t\treturn this._children;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} group the chunk group to remove\n\t * @returns {boolean} returns true if the chunk group was removed\n\t */\n\tremoveChild(group) {\n\t\tif (!this._children.has(group)) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis._children.delete(group);\n\t\tgroup.removeParent(this);\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} parentChunk the parent group to be added into\n\t * @returns {boolean} returns true if this chunk group was added to the parent group\n\t */\n\taddParent(parentChunk) {\n\t\tif (!this._parents.has(parentChunk)) {\n\t\t\tthis._parents.add(parentChunk);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {ChunkGroup[]} returns the parents of this group\n\t */\n\tgetParents() {\n\t\treturn this._parents.getFromCache(getArray);\n\t}\n\n\tgetNumberOfParents() {\n\t\treturn this._parents.size;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} parent the parent group\n\t * @returns {boolean} returns true if the parent group contains this group\n\t */\n\thasParent(parent) {\n\t\treturn this._parents.has(parent);\n\t}\n\n\tget parentsIterable() {\n\t\treturn this._parents;\n\t}\n\n\t/**\n\t * @param {ChunkGroup} chunkGroup the parent group\n\t * @returns {boolean} returns true if this group has been removed from the parent\n\t */\n\tremoveParent(chunkGroup) {\n\t\tif (this._parents.delete(chunkGroup)) {\n\t\t\tchunkGroup.removeChild(this);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Entrypoint} entrypoint entrypoint to add\n\t * @returns {boolean} returns true if entrypoint was added\n\t */\n\taddAsyncEntrypoint(entrypoint) {\n\t\tconst size = this._asyncEntrypoints.size;\n\t\tthis._asyncEntrypoints.add(entrypoint);\n\t\treturn size !== this._asyncEntrypoints.size;\n\t}\n\n\tget asyncEntrypointsIterable() {\n\t\treturn this._asyncEntrypoints;\n\t}\n\n\t/**\n\t * @returns {Array} an array containing the blocks\n\t */\n\tgetBlocks() {\n\t\treturn this._blocks.getFromCache(getArray);\n\t}\n\n\tgetNumberOfBlocks() {\n\t\treturn this._blocks.size;\n\t}\n\n\thasBlock(block) {\n\t\treturn this._blocks.has(block);\n\t}\n\n\t/**\n\t * @returns {Iterable<AsyncDependenciesBlock>} blocks\n\t */\n\tget blocksIterable() {\n\t\treturn this._blocks;\n\t}\n\n\t/**\n\t * @param {AsyncDependenciesBlock} block a block\n\t * @returns {boolean} false, if block was already added\n\t */\n\taddBlock(block) {\n\t\tif (!this._blocks.has(block)) {\n\t\t\tthis._blocks.add(block);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Module} module origin module\n\t * @param {DependencyLocation} loc location of the reference in the origin module\n\t * @param {string} request request name of the reference\n\t * @returns {void}\n\t */\n\taddOrigin(module, loc, request) {\n\t\tthis.origins.push({\n\t\t\tmodule,\n\t\t\tloc,\n\t\t\trequest\n\t\t});\n\t}\n\n\t/**\n\t * @returns {string[]} the files contained this chunk group\n\t */\n\tgetFiles() {\n\t\tconst files = new Set();\n\n\t\tfor (const chunk of this.chunks) {\n\t\t\tfor (const file of chunk.files) {\n\t\t\t\tfiles.add(file);\n\t\t\t}\n\t\t}\n\n\t\treturn Array.from(files);\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tremove() {\n\t\t// cleanup parents\n\t\tfor (const parentChunkGroup of this._parents) {\n\t\t\t// remove this chunk from its parents\n\t\t\tparentChunkGroup._children.delete(this);\n\n\t\t\t// cleanup \"sub chunks\"\n\t\t\tfor (const chunkGroup of this._children) {\n\t\t\t\t/**\n\t\t\t\t * remove this chunk as \"intermediary\" and connect\n\t\t\t\t * it \"sub chunks\" and parents directly\n\t\t\t\t */\n\t\t\t\t// add parent to each \"sub chunk\"\n\t\t\t\tchunkGroup.addParent(parentChunkGroup);\n\t\t\t\t// add \"sub chunk\" to parent\n\t\t\t\tparentChunkGroup.addChild(chunkGroup);\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * we need to iterate again over the children\n\t\t * to remove this from the child's parents.\n\t\t * This can not be done in the above loop\n\t\t * as it is not guaranteed that `this._parents` contains anything.\n\t\t */\n\t\tfor (const chunkGroup of this._children) {\n\t\t\t// remove this as parent of every \"sub chunk\"\n\t\t\tchunkGroup._parents.delete(this);\n\t\t}\n\n\t\t// remove chunks\n\t\tfor (const chunk of this.chunks) {\n\t\t\tchunk.removeGroup(this);\n\t\t}\n\t}\n\n\tsortItems() {\n\t\tthis.origins.sort(sortOrigin);\n\t}\n\n\t/**\n\t * Sorting predicate which allows current ChunkGroup to be compared against another.\n\t * Sorting values are based off of number of chunks in ChunkGroup.\n\t *\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {ChunkGroup} otherGroup the chunkGroup to compare this against\n\t * @returns {-1|0|1} sort position for comparison\n\t */\n\tcompareTo(chunkGraph, otherGroup) {\n\t\tif (this.chunks.length > otherGroup.chunks.length) return -1;\n\t\tif (this.chunks.length < otherGroup.chunks.length) return 1;\n\t\treturn compareIterables(compareChunks(chunkGraph))(\n\t\t\tthis.chunks,\n\t\t\totherGroup.chunks\n\t\t);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {Record<string, ChunkGroup[]>} mapping from children type to ordered list of ChunkGroups\n\t */\n\tgetChildrenByOrders(moduleGraph, chunkGraph) {\n\t\t/** @type {Map<string, {order: number, group: ChunkGroup}[]>} */\n\t\tconst lists = new Map();\n\t\tfor (const childGroup of this._children) {\n\t\t\tfor (const key of Object.keys(childGroup.options)) {\n\t\t\t\tif (key.endsWith(\"Order\")) {\n\t\t\t\t\tconst name = key.slice(0, key.length - \"Order\".length);\n\t\t\t\t\tlet list = lists.get(name);\n\t\t\t\t\tif (list === undefined) {\n\t\t\t\t\t\tlists.set(name, (list = []));\n\t\t\t\t\t}\n\t\t\t\t\tlist.push({\n\t\t\t\t\t\torder: childGroup.options[key],\n\t\t\t\t\t\tgroup: childGroup\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t/** @type {Record<string, ChunkGroup[]>} */\n\t\tconst result = Object.create(null);\n\t\tfor (const [name, list] of lists) {\n\t\t\tlist.sort((a, b) => {\n\t\t\t\tconst cmp = b.order - a.order;\n\t\t\t\tif (cmp !== 0) return cmp;\n\t\t\t\treturn a.group.compareTo(chunkGraph, b.group);\n\t\t\t});\n\t\t\tresult[name] = list.map(i => i.group);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * Sets the top-down index of a module in this ChunkGroup\n\t * @param {Module} module module for which the index should be set\n\t * @param {number} index the index of the module\n\t * @returns {void}\n\t */\n\tsetModulePreOrderIndex(module, index) {\n\t\tthis._modulePreOrderIndices.set(module, index);\n\t}\n\n\t/**\n\t * Gets the top-down index of a module in this ChunkGroup\n\t * @param {Module} module the module\n\t * @returns {number} index\n\t */\n\tgetModulePreOrderIndex(module) {\n\t\treturn this._modulePreOrderIndices.get(module);\n\t}\n\n\t/**\n\t * Sets the bottom-up index of a module in this ChunkGroup\n\t * @param {Module} module module for which the index should be set\n\t * @param {number} index the index of the module\n\t * @returns {void}\n\t */\n\tsetModulePostOrderIndex(module, index) {\n\t\tthis._modulePostOrderIndices.set(module, index);\n\t}\n\n\t/**\n\t * Gets the bottom-up index of a module in this ChunkGroup\n\t * @param {Module} module the module\n\t * @returns {number} index\n\t */\n\tgetModulePostOrderIndex(module) {\n\t\treturn this._modulePostOrderIndices.get(module);\n\t}\n\n\t/* istanbul ignore next */\n\tcheckConstraints() {\n\t\tconst chunk = this;\n\t\tfor (const child of chunk._children) {\n\t\t\tif (!child._parents.has(chunk)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`checkConstraints: child missing parent ${chunk.debugId} -> ${child.debugId}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tfor (const parentChunk of chunk._parents) {\n\t\t\tif (!parentChunk._children.has(chunk)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`checkConstraints: parent missing child ${parentChunk.debugId} <- ${chunk.debugId}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n}\n\nChunkGroup.prototype.getModuleIndex = util.deprecate(\n\tChunkGroup.prototype.getModulePreOrderIndex,\n\t\"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex\",\n\t\"DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX\"\n);\n\nChunkGroup.prototype.getModuleIndex2 = util.deprecate(\n\tChunkGroup.prototype.getModulePostOrderIndex,\n\t\"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex\",\n\t\"DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2\"\n);\n\nmodule.exports = ChunkGroup;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ChunkGroup.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ChunkRenderError.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/ChunkRenderError.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n\nclass ChunkRenderError extends WebpackError {\n\t/**\n\t * Create a new ChunkRenderError\n\t * @param {Chunk} chunk A chunk\n\t * @param {string} file Related file\n\t * @param {Error} error Original error\n\t */\n\tconstructor(chunk, file, error) {\n\t\tsuper();\n\n\t\tthis.name = \"ChunkRenderError\";\n\t\tthis.error = error;\n\t\tthis.message = error.message;\n\t\tthis.details = error.stack;\n\t\tthis.file = file;\n\t\tthis.chunk = chunk;\n\t}\n}\n\nmodule.exports = ChunkRenderError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ChunkRenderError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ChunkTemplate.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ChunkTemplate.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").Output} OutputOptions */\n/** @typedef {import(\"./Compilation\")} Compilation */\n\nconst getJavascriptModulesPlugin = memoize(() =>\n\t__webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\")\n);\n\n// TODO webpack 6 remove this class\nclass ChunkTemplate {\n\t/**\n\t * @param {OutputOptions} outputOptions output options\n\t * @param {Compilation} compilation the compilation\n\t */\n\tconstructor(outputOptions, compilation) {\n\t\tthis._outputOptions = outputOptions || {};\n\t\tthis.hooks = Object.freeze({\n\t\t\trenderManifest: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.renderManifest.tap(\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t(entries, options) => {\n\t\t\t\t\t\t\t\tif (options.chunk.hasRuntime()) return entries;\n\t\t\t\t\t\t\t\treturn fn(entries, options);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tmodules: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderChunk.tap(options, (source, renderContext) =>\n\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\tcompilation.moduleTemplates.javascript,\n\t\t\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_MODULES\"\n\t\t\t\t)\n\t\t\t},\n\t\t\trender: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderChunk.tap(options, (source, renderContext) =>\n\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\tcompilation.moduleTemplates.javascript,\n\t\t\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_RENDER\"\n\t\t\t\t)\n\t\t\t},\n\t\t\trenderWithEntry: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.render.tap(options, (source, renderContext) => {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\trenderContext.chunkGraph.getNumberOfEntryModules(\n\t\t\t\t\t\t\t\t\t\trenderContext.chunk\n\t\t\t\t\t\t\t\t\t) === 0 ||\n\t\t\t\t\t\t\t\t\trenderContext.chunk.hasRuntime()\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn source;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn fn(source, renderContext.chunk);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thash: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.fullHash.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_HASH\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thashForChunk: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.chunkHash.tap(options, (chunk, hash, context) => {\n\t\t\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\t\t\tfn(hash, chunk, context);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t\"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK\"\n\t\t\t\t)\n\t\t\t}\n\t\t});\n\t}\n}\n\nObject.defineProperty(ChunkTemplate.prototype, \"outputOptions\", {\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {ChunkTemplate}\n\t\t * @returns {OutputOptions} output options\n\t\t */\n\t\tfunction () {\n\t\t\treturn this._outputOptions;\n\t\t},\n\t\t\"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)\",\n\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS\"\n\t)\n});\n\nmodule.exports = ChunkTemplate;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ChunkTemplate.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CleanPlugin.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/CleanPlugin.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst { SyncBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../lib/Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst { join } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst processAsyncTree = __webpack_require__(/*! ./util/processAsyncTree */ \"./node_modules/webpack/lib/util/processAsyncTree.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").CleanOptions} CleanOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./logging/Logger\").Logger} Logger */\n/** @typedef {import(\"./util/fs\").OutputFileSystem} OutputFileSystem */\n/** @typedef {import(\"./util/fs\").StatsCallback} StatsCallback */\n\n/** @typedef {(function(string):boolean)|RegExp} IgnoreItem */\n/** @typedef {Map<string, number>} Assets */\n/** @typedef {function(IgnoreItem): void} AddToIgnoreCallback */\n\n/**\n * @typedef {Object} CleanPluginCompilationHooks\n * @property {SyncBailHook<[string], boolean>} keep when returning true the file/directory will be kept during cleaning, returning false will clean it and ignore the following plugins and config\n */\n\nconst validate = createSchemaValidation(\n\tundefined,\n\t() => {\n\t\tconst { definitions } = __webpack_require__(/*! ../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\n\t\treturn {\n\t\t\tdefinitions,\n\t\t\toneOf: [{ $ref: \"#/definitions/CleanOptions\" }]\n\t\t};\n\t},\n\t{\n\t\tname: \"Clean Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\nconst _10sec = 10 * 1000;\n\n/**\n * marge assets map 2 into map 1\n * @param {Assets} as1 assets\n * @param {Assets} as2 assets\n * @returns {void}\n */\nconst mergeAssets = (as1, as2) => {\n\tfor (const [key, value1] of as2) {\n\t\tconst value2 = as1.get(key);\n\t\tif (!value2 || value1 > value2) as1.set(key, value1);\n\t}\n};\n\n/**\n * @param {OutputFileSystem} fs filesystem\n * @param {string} outputPath output path\n * @param {Map<string, number>} currentAssets filename of the current assets (must not start with .. or ., must only use / as path separator)\n * @param {function((Error | null)=, Set<string>=): void} callback returns the filenames of the assets that shouldn't be there\n * @returns {void}\n */\nconst getDiffToFs = (fs, outputPath, currentAssets, callback) => {\n\tconst directories = new Set();\n\t// get directories of assets\n\tfor (const [asset] of currentAssets) {\n\t\tdirectories.add(asset.replace(/(^|\\/)[^/]*$/, \"\"));\n\t}\n\t// and all parent directories\n\tfor (const directory of directories) {\n\t\tdirectories.add(directory.replace(/(^|\\/)[^/]*$/, \"\"));\n\t}\n\tconst diff = new Set();\n\tasyncLib.forEachLimit(\n\t\tdirectories,\n\t\t10,\n\t\t(directory, callback) => {\n\t\t\tfs.readdir(join(fs, outputPath, directory), (err, entries) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tif (err.code === \"ENOENT\") return callback();\n\t\t\t\t\tif (err.code === \"ENOTDIR\") {\n\t\t\t\t\t\tdiff.add(directory);\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\tfor (const entry of entries) {\n\t\t\t\t\tconst file = /** @type {string} */ (entry);\n\t\t\t\t\tconst filename = directory ? `${directory}/${file}` : file;\n\t\t\t\t\tif (!directories.has(filename) && !currentAssets.has(filename)) {\n\t\t\t\t\t\tdiff.add(filename);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcallback();\n\t\t\t});\n\t\t},\n\t\terr => {\n\t\t\tif (err) return callback(err);\n\n\t\t\tcallback(null, diff);\n\t\t}\n\t);\n};\n\n/**\n * @param {Assets} currentAssets assets list\n * @param {Assets} oldAssets old assets list\n * @returns {Set<string>} diff\n */\nconst getDiffToOldAssets = (currentAssets, oldAssets) => {\n\tconst diff = new Set();\n\tconst now = Date.now();\n\tfor (const [asset, ts] of oldAssets) {\n\t\tif (ts >= now) continue;\n\t\tif (!currentAssets.has(asset)) diff.add(asset);\n\t}\n\treturn diff;\n};\n\n/**\n * @param {OutputFileSystem} fs filesystem\n * @param {string} filename path to file\n * @param {StatsCallback} callback callback for provided filename\n * @returns {void}\n */\nconst doStat = (fs, filename, callback) => {\n\tif (\"lstat\" in fs) {\n\t\tfs.lstat(filename, callback);\n\t} else {\n\t\tfs.stat(filename, callback);\n\t}\n};\n\n/**\n * @param {OutputFileSystem} fs filesystem\n * @param {string} outputPath output path\n * @param {boolean} dry only log instead of fs modification\n * @param {Logger} logger logger\n * @param {Set<string>} diff filenames of the assets that shouldn't be there\n * @param {function(string): boolean} isKept check if the entry is ignored\n * @param {function(Error=, Assets=): void} callback callback\n * @returns {void}\n */\nconst applyDiff = (fs, outputPath, dry, logger, diff, isKept, callback) => {\n\tconst log = msg => {\n\t\tif (dry) {\n\t\t\tlogger.info(msg);\n\t\t} else {\n\t\t\tlogger.log(msg);\n\t\t}\n\t};\n\t/** @typedef {{ type: \"check\" | \"unlink\" | \"rmdir\", filename: string, parent: { remaining: number, job: Job } | undefined }} Job */\n\t/** @type {Job[]} */\n\tconst jobs = Array.from(diff.keys(), filename => ({\n\t\ttype: \"check\",\n\t\tfilename,\n\t\tparent: undefined\n\t}));\n\t/** @type {Assets} */\n\tconst keptAssets = new Map();\n\tprocessAsyncTree(\n\t\tjobs,\n\t\t10,\n\t\t({ type, filename, parent }, push, callback) => {\n\t\t\tconst handleError = err => {\n\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\tlog(`${filename} was removed during cleaning by something else`);\n\t\t\t\t\thandleParent();\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t};\n\t\t\tconst handleParent = () => {\n\t\t\t\tif (parent && --parent.remaining === 0) push(parent.job);\n\t\t\t};\n\t\t\tconst path = join(fs, outputPath, filename);\n\t\t\tswitch (type) {\n\t\t\t\tcase \"check\":\n\t\t\t\t\tif (isKept(filename)) {\n\t\t\t\t\t\tkeptAssets.set(filename, 0);\n\t\t\t\t\t\t// do not decrement parent entry as we don't want to delete the parent\n\t\t\t\t\t\tlog(`${filename} will be kept`);\n\t\t\t\t\t\treturn process.nextTick(callback);\n\t\t\t\t\t}\n\t\t\t\t\tdoStat(fs, path, (err, stats) => {\n\t\t\t\t\t\tif (err) return handleError(err);\n\t\t\t\t\t\tif (!stats.isDirectory()) {\n\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\ttype: \"unlink\",\n\t\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\t\tparent\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfs.readdir(path, (err, entries) => {\n\t\t\t\t\t\t\tif (err) return handleError(err);\n\t\t\t\t\t\t\t/** @type {Job} */\n\t\t\t\t\t\t\tconst deleteJob = {\n\t\t\t\t\t\t\t\ttype: \"rmdir\",\n\t\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\t\tparent\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (entries.length === 0) {\n\t\t\t\t\t\t\t\tpush(deleteJob);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst parentToken = {\n\t\t\t\t\t\t\t\t\tremaining: entries.length,\n\t\t\t\t\t\t\t\t\tjob: deleteJob\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tfor (const entry of entries) {\n\t\t\t\t\t\t\t\t\tconst file = /** @type {string} */ (entry);\n\t\t\t\t\t\t\t\t\tif (file.startsWith(\".\")) {\n\t\t\t\t\t\t\t\t\t\tlog(\n\t\t\t\t\t\t\t\t\t\t\t`${filename} will be kept (dot-files will never be removed)`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\ttype: \"check\",\n\t\t\t\t\t\t\t\t\t\tfilename: `${filename}/${file}`,\n\t\t\t\t\t\t\t\t\t\tparent: parentToken\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"rmdir\":\n\t\t\t\t\tlog(`${filename} will be removed`);\n\t\t\t\t\tif (dry) {\n\t\t\t\t\t\thandleParent();\n\t\t\t\t\t\treturn process.nextTick(callback);\n\t\t\t\t\t}\n\t\t\t\t\tif (!fs.rmdir) {\n\t\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t\t`${filename} can't be removed because output file system doesn't support removing directories (rmdir)`\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn process.nextTick(callback);\n\t\t\t\t\t}\n\t\t\t\t\tfs.rmdir(path, err => {\n\t\t\t\t\t\tif (err) return handleError(err);\n\t\t\t\t\t\thandleParent();\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"unlink\":\n\t\t\t\t\tlog(`${filename} will be removed`);\n\t\t\t\t\tif (dry) {\n\t\t\t\t\t\thandleParent();\n\t\t\t\t\t\treturn process.nextTick(callback);\n\t\t\t\t\t}\n\t\t\t\t\tif (!fs.unlink) {\n\t\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t\t`${filename} can't be removed because output file system doesn't support removing files (rmdir)`\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn process.nextTick(callback);\n\t\t\t\t\t}\n\t\t\t\t\tfs.unlink(path, err => {\n\t\t\t\t\t\tif (err) return handleError(err);\n\t\t\t\t\t\thandleParent();\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t},\n\t\terr => {\n\t\t\tif (err) return callback(err);\n\t\t\tcallback(undefined, keptAssets);\n\t\t}\n\t);\n};\n\n/** @type {WeakMap<Compilation, CleanPluginCompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass CleanPlugin {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {CleanPluginCompilationHooks} the attached hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\t/** @type {SyncBailHook<[string], boolean>} */\n\t\t\t\tkeep: new SyncBailHook([\"ignore\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\t/** @param {CleanOptions} options options */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\t\tthis.options = { dry: false, ...options };\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { dry, keep } = this.options;\n\n\t\tconst keepFn =\n\t\t\ttypeof keep === \"function\"\n\t\t\t\t? keep\n\t\t\t\t: typeof keep === \"string\"\n\t\t\t\t? path => path.startsWith(keep)\n\t\t\t\t: typeof keep === \"object\" && keep.test\n\t\t\t\t? path => keep.test(path)\n\t\t\t\t: () => false;\n\n\t\t// We assume that no external modification happens while the compiler is active\n\t\t// So we can store the old assets and only diff to them to avoid fs access on\n\t\t// incremental builds\n\t\t/** @type {undefined|Assets} */\n\t\tlet oldAssets;\n\n\t\tcompiler.hooks.emit.tapAsync(\n\t\t\t{\n\t\t\t\tname: \"CleanPlugin\",\n\t\t\t\tstage: 100\n\t\t\t},\n\t\t\t(compilation, callback) => {\n\t\t\t\tconst hooks = CleanPlugin.getCompilationHooks(compilation);\n\t\t\t\tconst logger = compilation.getLogger(\"webpack.CleanPlugin\");\n\t\t\t\tconst fs = compiler.outputFileSystem;\n\n\t\t\t\tif (!fs.readdir) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\"CleanPlugin: Output filesystem doesn't support listing directories (readdir)\"\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\t/** @type {Assets} */\n\t\t\t\tconst currentAssets = new Map();\n\t\t\t\tconst now = Date.now();\n\t\t\t\tfor (const asset of Object.keys(compilation.assets)) {\n\t\t\t\t\tif (/^[A-Za-z]:\\\\|^\\/|^\\\\\\\\/.test(asset)) continue;\n\t\t\t\t\tlet normalizedAsset;\n\t\t\t\t\tlet newNormalizedAsset = asset.replace(/\\\\/g, \"/\");\n\t\t\t\t\tdo {\n\t\t\t\t\t\tnormalizedAsset = newNormalizedAsset;\n\t\t\t\t\t\tnewNormalizedAsset = normalizedAsset.replace(\n\t\t\t\t\t\t\t/(^|\\/)(?!\\.\\.)[^/]+\\/\\.\\.\\//g,\n\t\t\t\t\t\t\t\"$1\"\n\t\t\t\t\t\t);\n\t\t\t\t\t} while (newNormalizedAsset !== normalizedAsset);\n\t\t\t\t\tif (normalizedAsset.startsWith(\"../\")) continue;\n\t\t\t\t\tconst assetInfo = compilation.assetsInfo.get(asset);\n\t\t\t\t\tif (assetInfo && assetInfo.hotModuleReplacement) {\n\t\t\t\t\t\tcurrentAssets.set(normalizedAsset, now + _10sec);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentAssets.set(normalizedAsset, 0);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst outputPath = compilation.getPath(compiler.outputPath, {});\n\n\t\t\t\tconst isKept = path => {\n\t\t\t\t\tconst result = hooks.keep.call(path);\n\t\t\t\t\tif (result !== undefined) return result;\n\t\t\t\t\treturn keepFn(path);\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {Error=} err err\n\t\t\t\t * @param {Set<string>=} diff diff\n\t\t\t\t */\n\t\t\t\tconst diffCallback = (err, diff) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\toldAssets = undefined;\n\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tapplyDiff(\n\t\t\t\t\t\tfs,\n\t\t\t\t\t\toutputPath,\n\t\t\t\t\t\tdry,\n\t\t\t\t\t\tlogger,\n\t\t\t\t\t\tdiff,\n\t\t\t\t\t\tisKept,\n\t\t\t\t\t\t(err, keptAssets) => {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\toldAssets = undefined;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (oldAssets) mergeAssets(currentAssets, oldAssets);\n\t\t\t\t\t\t\t\toldAssets = currentAssets;\n\t\t\t\t\t\t\t\tif (keptAssets) mergeAssets(oldAssets, keptAssets);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tif (oldAssets) {\n\t\t\t\t\tdiffCallback(null, getDiffToOldAssets(currentAssets, oldAssets));\n\t\t\t\t} else {\n\t\t\t\t\tgetDiffToFs(fs, outputPath, currentAssets, diffCallback);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = CleanPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CleanPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CodeGenerationError.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/CodeGenerationError.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n\nclass CodeGenerationError extends WebpackError {\n\t/**\n\t * Create a new CodeGenerationError\n\t * @param {Module} module related module\n\t * @param {Error} error Original error\n\t */\n\tconstructor(module, error) {\n\t\tsuper();\n\n\t\tthis.name = \"CodeGenerationError\";\n\t\tthis.error = error;\n\t\tthis.message = error.message;\n\t\tthis.details = error.stack;\n\t\tthis.module = module;\n\t}\n}\n\nmodule.exports = CodeGenerationError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CodeGenerationError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CodeGenerationResults.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/CodeGenerationResults.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { provide } = __webpack_require__(/*! ./util/MapHelpers */ \"./node_modules/webpack/lib/util/MapHelpers.js\");\nconst { first } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { runtimeToString, RuntimeSpecMap } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {typeof import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass CodeGenerationResults {\n\t/**\n\t * @param {string | Hash} hashFunction the hash function to use\n\t */\n\tconstructor(hashFunction = \"md4\") {\n\t\t/** @type {Map<Module, RuntimeSpecMap<CodeGenerationResult>>} */\n\t\tthis.map = new Map();\n\t\tthis._hashFunction = hashFunction;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @returns {CodeGenerationResult} the CodeGenerationResult\n\t */\n\tget(module, runtime) {\n\t\tconst entry = this.map.get(module);\n\t\tif (entry === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t`No code generation entry for ${module.identifier()} (existing entries: ${Array.from(\n\t\t\t\t\tthis.map.keys(),\n\t\t\t\t\tm => m.identifier()\n\t\t\t\t).join(\", \")})`\n\t\t\t);\n\t\t}\n\t\tif (runtime === undefined) {\n\t\t\tif (entry.size > 1) {\n\t\t\t\tconst results = new Set(entry.values());\n\t\t\t\tif (results.size !== 1) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`No unique code generation entry for unspecified runtime for ${module.identifier()} (existing runtimes: ${Array.from(\n\t\t\t\t\t\t\tentry.keys(),\n\t\t\t\t\t\t\tr => runtimeToString(r)\n\t\t\t\t\t\t).join(\", \")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: \"global\").`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn first(results);\n\t\t\t}\n\t\t\treturn entry.values().next().value;\n\t\t}\n\t\tconst result = entry.get(runtime);\n\t\tif (result === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t`No code generation entry for runtime ${runtimeToString(\n\t\t\t\t\truntime\n\t\t\t\t)} for ${module.identifier()} (existing runtimes: ${Array.from(\n\t\t\t\t\tentry.keys(),\n\t\t\t\t\tr => runtimeToString(r)\n\t\t\t\t).join(\", \")})`\n\t\t\t);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @returns {boolean} true, when we have data for this\n\t */\n\thas(module, runtime) {\n\t\tconst entry = this.map.get(module);\n\t\tif (entry === undefined) {\n\t\t\treturn false;\n\t\t}\n\t\tif (runtime !== undefined) {\n\t\t\treturn entry.has(runtime);\n\t\t} else if (entry.size > 1) {\n\t\t\tconst results = new Set(entry.values());\n\t\t\treturn results.size === 1;\n\t\t} else {\n\t\t\treturn entry.size === 1;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @param {string} sourceType the source type\n\t * @returns {Source} a source\n\t */\n\tgetSource(module, runtime, sourceType) {\n\t\treturn this.get(module, runtime).sources.get(sourceType);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @returns {ReadonlySet<string>} runtime requirements\n\t */\n\tgetRuntimeRequirements(module, runtime) {\n\t\treturn this.get(module, runtime).runtimeRequirements;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @param {string} key data key\n\t * @returns {any} data generated by code generation\n\t */\n\tgetData(module, runtime, key) {\n\t\tconst data = this.get(module, runtime).data;\n\t\treturn data === undefined ? undefined : data.get(key);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @returns {any} hash of the code generation\n\t */\n\tgetHash(module, runtime) {\n\t\tconst info = this.get(module, runtime);\n\t\tif (info.hash !== undefined) return info.hash;\n\t\tconst hash = createHash(this._hashFunction);\n\t\tfor (const [type, source] of info.sources) {\n\t\t\thash.update(type);\n\t\t\tsource.updateHash(hash);\n\t\t}\n\t\tif (info.runtimeRequirements) {\n\t\t\tfor (const rr of info.runtimeRequirements) hash.update(rr);\n\t\t}\n\t\treturn (info.hash = /** @type {string} */ (hash.digest(\"hex\")));\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime runtime(s)\n\t * @param {CodeGenerationResult} result result from module\n\t * @returns {void}\n\t */\n\tadd(module, runtime, result) {\n\t\tconst map = provide(this.map, module, () => new RuntimeSpecMap());\n\t\tmap.set(runtime, result);\n\t}\n}\n\nmodule.exports = CodeGenerationResults;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CodeGenerationResults.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CommentCompilationWarning.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/CommentCompilationWarning.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n\nclass CommentCompilationWarning extends WebpackError {\n\t/**\n\t *\n\t * @param {string} message warning message\n\t * @param {DependencyLocation} loc affected lines of code\n\t */\n\tconstructor(message, loc) {\n\t\tsuper(message);\n\n\t\tthis.name = \"CommentCompilationWarning\";\n\n\t\tthis.loc = loc;\n\t}\n}\n\nmakeSerializable(\n\tCommentCompilationWarning,\n\t\"webpack/lib/CommentCompilationWarning\"\n);\n\nmodule.exports = CommentCompilationWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CommentCompilationWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/CompatibilityPlugin.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/CompatibilityPlugin.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\nconst nestedWebpackRequireTag = Symbol(\"nested __webpack_require__\");\n\nclass CompatibilityPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"CompatibilityPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"CompatibilityPlugin\", (parser, parserOptions) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tparserOptions.browserify !== undefined &&\n\t\t\t\t\t\t\t!parserOptions.browserify\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\tparser.hooks.call\n\t\t\t\t\t\t\t.for(\"require\")\n\t\t\t\t\t\t\t.tap(\"CompatibilityPlugin\", expr => {\n\t\t\t\t\t\t\t\t// support for browserify style require delegator: \"require(o, !0)\"\n\t\t\t\t\t\t\t\tif (expr.arguments.length !== 2) return;\n\t\t\t\t\t\t\t\tconst second = parser.evaluateExpression(expr.arguments[1]);\n\t\t\t\t\t\t\t\tif (!second.isBoolean()) return;\n\t\t\t\t\t\t\t\tif (second.asBool() !== true) return;\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\"require\", expr.callee.range);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tif (parser.state.current.dependencies.length > 0) {\n\t\t\t\t\t\t\t\t\tconst last =\n\t\t\t\t\t\t\t\t\t\tparser.state.current.dependencies[\n\t\t\t\t\t\t\t\t\t\t\tparser.state.current.dependencies.length - 1\n\t\t\t\t\t\t\t\t\t\t];\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tlast.critical &&\n\t\t\t\t\t\t\t\t\t\tlast.options &&\n\t\t\t\t\t\t\t\t\t\tlast.options.request === \".\" &&\n\t\t\t\t\t\t\t\t\t\tlast.userRequest === \".\" &&\n\t\t\t\t\t\t\t\t\t\tlast.options.recursive\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\tparser.state.current.dependencies.pop();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\t// Handle nested requires\n\t\t\t\t\tparser.hooks.preStatement.tap(\"CompatibilityPlugin\", statement => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tstatement.type === \"FunctionDeclaration\" &&\n\t\t\t\t\t\t\tstatement.id &&\n\t\t\t\t\t\t\tstatement.id.name === \"__webpack_require__\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst newName = `__nested_webpack_require_${statement.range[0]}__`;\n\t\t\t\t\t\t\tparser.tagVariable(statement.id.name, nestedWebpackRequireTag, {\n\t\t\t\t\t\t\t\tname: newName,\n\t\t\t\t\t\t\t\tdeclaration: {\n\t\t\t\t\t\t\t\t\tupdated: false,\n\t\t\t\t\t\t\t\t\tloc: statement.id.loc,\n\t\t\t\t\t\t\t\t\trange: statement.id.range\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.pattern\n\t\t\t\t\t\t.for(\"__webpack_require__\")\n\t\t\t\t\t\t.tap(\"CompatibilityPlugin\", pattern => {\n\t\t\t\t\t\t\tconst newName = `__nested_webpack_require_${pattern.range[0]}__`;\n\t\t\t\t\t\t\tparser.tagVariable(pattern.name, nestedWebpackRequireTag, {\n\t\t\t\t\t\t\t\tname: newName,\n\t\t\t\t\t\t\t\tdeclaration: {\n\t\t\t\t\t\t\t\t\tupdated: false,\n\t\t\t\t\t\t\t\t\tloc: pattern.loc,\n\t\t\t\t\t\t\t\t\trange: pattern.range\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(nestedWebpackRequireTag)\n\t\t\t\t\t\t.tap(\"CompatibilityPlugin\", expr => {\n\t\t\t\t\t\t\tconst { name, declaration } = parser.currentTagData;\n\t\t\t\t\t\t\tif (!declaration.updated) {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(name, declaration.range);\n\t\t\t\t\t\t\t\tdep.loc = declaration.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\tdeclaration.updated = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst dep = new ConstDependency(name, expr.range);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\t// Handle hashbang\n\t\t\t\t\tparser.hooks.program.tap(\n\t\t\t\t\t\t\"CompatibilityPlugin\",\n\t\t\t\t\t\t(program, comments) => {\n\t\t\t\t\t\t\tif (comments.length === 0) return;\n\t\t\t\t\t\t\tconst c = comments[0];\n\t\t\t\t\t\t\tif (c.type === \"Line\" && c.range[0] === 0) {\n\t\t\t\t\t\t\t\tif (parser.state.source.slice(0, 2).toString() !== \"#!\") return;\n\t\t\t\t\t\t\t\t// this is a hashbang comment\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\"//\", 0);\n\t\t\t\t\t\t\t\tdep.loc = c.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"CompatibilityPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"CompatibilityPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"CompatibilityPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = CompatibilityPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/CompatibilityPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Compilation.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/Compilation.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst {\n\tHookMap,\n\tSyncHook,\n\tSyncBailHook,\n\tSyncWaterfallHook,\n\tAsyncSeriesHook,\n\tAsyncSeriesBailHook,\n\tAsyncParallelHook\n} = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst { CachedSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { MultiItemCache } = __webpack_require__(/*! ./CacheFacade */ \"./node_modules/webpack/lib/CacheFacade.js\");\nconst Chunk = __webpack_require__(/*! ./Chunk */ \"./node_modules/webpack/lib/Chunk.js\");\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst ChunkGroup = __webpack_require__(/*! ./ChunkGroup */ \"./node_modules/webpack/lib/ChunkGroup.js\");\nconst ChunkRenderError = __webpack_require__(/*! ./ChunkRenderError */ \"./node_modules/webpack/lib/ChunkRenderError.js\");\nconst ChunkTemplate = __webpack_require__(/*! ./ChunkTemplate */ \"./node_modules/webpack/lib/ChunkTemplate.js\");\nconst CodeGenerationError = __webpack_require__(/*! ./CodeGenerationError */ \"./node_modules/webpack/lib/CodeGenerationError.js\");\nconst CodeGenerationResults = __webpack_require__(/*! ./CodeGenerationResults */ \"./node_modules/webpack/lib/CodeGenerationResults.js\");\nconst Dependency = __webpack_require__(/*! ./Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst DependencyTemplates = __webpack_require__(/*! ./DependencyTemplates */ \"./node_modules/webpack/lib/DependencyTemplates.js\");\nconst Entrypoint = __webpack_require__(/*! ./Entrypoint */ \"./node_modules/webpack/lib/Entrypoint.js\");\nconst ErrorHelpers = __webpack_require__(/*! ./ErrorHelpers */ \"./node_modules/webpack/lib/ErrorHelpers.js\");\nconst FileSystemInfo = __webpack_require__(/*! ./FileSystemInfo */ \"./node_modules/webpack/lib/FileSystemInfo.js\");\nconst {\n\tconnectChunkGroupAndChunk,\n\tconnectChunkGroupParentAndChild\n} = __webpack_require__(/*! ./GraphHelpers */ \"./node_modules/webpack/lib/GraphHelpers.js\");\nconst {\n\tmakeWebpackError,\n\ttryRunOrWebpackError\n} = __webpack_require__(/*! ./HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst MainTemplate = __webpack_require__(/*! ./MainTemplate */ \"./node_modules/webpack/lib/MainTemplate.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst ModuleDependencyError = __webpack_require__(/*! ./ModuleDependencyError */ \"./node_modules/webpack/lib/ModuleDependencyError.js\");\nconst ModuleDependencyWarning = __webpack_require__(/*! ./ModuleDependencyWarning */ \"./node_modules/webpack/lib/ModuleDependencyWarning.js\");\nconst ModuleGraph = __webpack_require__(/*! ./ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\nconst ModuleHashingError = __webpack_require__(/*! ./ModuleHashingError */ \"./node_modules/webpack/lib/ModuleHashingError.js\");\nconst ModuleNotFoundError = __webpack_require__(/*! ./ModuleNotFoundError */ \"./node_modules/webpack/lib/ModuleNotFoundError.js\");\nconst ModuleProfile = __webpack_require__(/*! ./ModuleProfile */ \"./node_modules/webpack/lib/ModuleProfile.js\");\nconst ModuleRestoreError = __webpack_require__(/*! ./ModuleRestoreError */ \"./node_modules/webpack/lib/ModuleRestoreError.js\");\nconst ModuleStoreError = __webpack_require__(/*! ./ModuleStoreError */ \"./node_modules/webpack/lib/ModuleStoreError.js\");\nconst ModuleTemplate = __webpack_require__(/*! ./ModuleTemplate */ \"./node_modules/webpack/lib/ModuleTemplate.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeTemplate = __webpack_require__(/*! ./RuntimeTemplate */ \"./node_modules/webpack/lib/RuntimeTemplate.js\");\nconst Stats = __webpack_require__(/*! ./Stats */ \"./node_modules/webpack/lib/Stats.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst buildChunkGraph = __webpack_require__(/*! ./buildChunkGraph */ \"./node_modules/webpack/lib/buildChunkGraph.js\");\nconst BuildCycleError = __webpack_require__(/*! ./errors/BuildCycleError */ \"./node_modules/webpack/lib/errors/BuildCycleError.js\");\nconst { Logger, LogType } = __webpack_require__(/*! ./logging/Logger */ \"./node_modules/webpack/lib/logging/Logger.js\");\nconst StatsFactory = __webpack_require__(/*! ./stats/StatsFactory */ \"./node_modules/webpack/lib/stats/StatsFactory.js\");\nconst StatsPrinter = __webpack_require__(/*! ./stats/StatsPrinter */ \"./node_modules/webpack/lib/stats/StatsPrinter.js\");\nconst { equals: arrayEquals } = __webpack_require__(/*! ./util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst AsyncQueue = __webpack_require__(/*! ./util/AsyncQueue */ \"./node_modules/webpack/lib/util/AsyncQueue.js\");\nconst LazySet = __webpack_require__(/*! ./util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst { provide } = __webpack_require__(/*! ./util/MapHelpers */ \"./node_modules/webpack/lib/util/MapHelpers.js\");\nconst WeakTupleMap = __webpack_require__(/*! ./util/WeakTupleMap */ \"./node_modules/webpack/lib/util/WeakTupleMap.js\");\nconst { cachedCleverMerge } = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst {\n\tcompareLocations,\n\tconcatComparators,\n\tcompareSelect,\n\tcompareIds,\n\tcompareStringsNumeric,\n\tcompareModulesByIdentifier\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst {\n\tarrayToSetDeprecation,\n\tsoonFrozenObjectDeprecation,\n\tcreateFakeHook\n} = __webpack_require__(/*! ./util/deprecation */ \"./node_modules/webpack/lib/util/deprecation.js\");\nconst processAsyncTree = __webpack_require__(/*! ./util/processAsyncTree */ \"./node_modules/webpack/lib/util/processAsyncTree.js\");\nconst { getRuntimeKey } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst { isSourceEqual } = __webpack_require__(/*! ./util/source */ \"./node_modules/webpack/lib/util/source.js\");\n\n/** @template T @typedef {import(\"tapable\").AsArray<T>} AsArray<T> */\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryDescriptionNormalized} EntryDescription */\n/** @typedef {import(\"../declarations/WebpackOptions\").OutputNormalized} OutputOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").StatsOptions} StatsOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackPluginFunction} WebpackPluginFunction */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackPluginInstance} WebpackPluginInstance */\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./Cache\")} Cache */\n/** @typedef {import(\"./CacheFacade\")} CacheFacade */\n/** @typedef {import(\"./ChunkGroup\").ChunkGroupOptions} ChunkGroupOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Compiler\").CompilationParams} CompilationParams */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"./DependencyTemplate\")} DependencyTemplate */\n/** @typedef {import(\"./Entrypoint\").EntryOptions} EntryOptions */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./ModuleFactory\")} ModuleFactory */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryCreateDataContextInfo} ModuleFactoryCreateDataContextInfo */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./RuntimeModule\")} RuntimeModule */\n/** @typedef {import(\"./Template\").RenderManifestEntry} RenderManifestEntry */\n/** @typedef {import(\"./Template\").RenderManifestOptions} RenderManifestOptions */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsAsset} StatsAsset */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsError} StatsError */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModule} StatsModule */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @template T @typedef {import(\"./util/deprecation\").FakeHook<T>} FakeHook<T> */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @callback Callback\n * @param {(WebpackError | null)=} err\n * @returns {void}\n */\n\n/**\n * @callback ModuleCallback\n * @param {(WebpackError | null)=} err\n * @param {Module=} result\n * @returns {void}\n */\n\n/**\n * @callback ModuleFactoryResultCallback\n * @param {(WebpackError | null)=} err\n * @param {ModuleFactoryResult=} result\n * @returns {void}\n */\n\n/**\n * @callback ModuleOrFactoryResultCallback\n * @param {(WebpackError | null)=} err\n * @param {Module | ModuleFactoryResult=} result\n * @returns {void}\n */\n\n/**\n * @callback ExecuteModuleCallback\n * @param {(WebpackError | null)=} err\n * @param {ExecuteModuleResult=} result\n * @returns {void}\n */\n\n/**\n * @callback DepBlockVarDependenciesCallback\n * @param {Dependency} dependency\n * @returns {any}\n */\n\n/** @typedef {new (...args: any[]) => Dependency} DepConstructor */\n/** @typedef {Record<string, Source>} CompilationAssets */\n\n/**\n * @typedef {Object} AvailableModulesChunkGroupMapping\n * @property {ChunkGroup} chunkGroup\n * @property {Set<Module>} availableModules\n * @property {boolean} needCopy\n */\n\n/**\n * @typedef {Object} DependenciesBlockLike\n * @property {Dependency[]} dependencies\n * @property {AsyncDependenciesBlock[]} blocks\n */\n\n/**\n * @typedef {Object} ChunkPathData\n * @property {string|number} id\n * @property {string=} name\n * @property {string} hash\n * @property {function(number): string=} hashWithLength\n * @property {(Record<string, string>)=} contentHash\n * @property {(Record<string, (length: number) => string>)=} contentHashWithLength\n */\n\n/**\n * @typedef {Object} ChunkHashContext\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n */\n\n/**\n * @typedef {Object} RuntimeRequirementsContext\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {CodeGenerationResults} codeGenerationResults the code generation results\n */\n\n/**\n * @typedef {Object} ExecuteModuleOptions\n * @property {EntryOptions=} entryOptions\n */\n\n/**\n * @typedef {Object} ExecuteModuleResult\n * @property {any} exports\n * @property {boolean} cacheable\n * @property {Map<string, { source: Source, info: AssetInfo }>} assets\n * @property {LazySet<string>} fileDependencies\n * @property {LazySet<string>} contextDependencies\n * @property {LazySet<string>} missingDependencies\n * @property {LazySet<string>} buildDependencies\n */\n\n/**\n * @typedef {Object} ExecuteModuleArgument\n * @property {Module} module\n * @property {{ id: string, exports: any, loaded: boolean }=} moduleObject\n * @property {any} preparedInfo\n * @property {CodeGenerationResult} codeGenerationResult\n */\n\n/**\n * @typedef {Object} ExecuteModuleContext\n * @property {Map<string, { source: Source, info: AssetInfo }>} assets\n * @property {Chunk} chunk\n * @property {ChunkGraph} chunkGraph\n * @property {function(string): any=} __webpack_require__\n */\n\n/**\n * @typedef {Object} EntryData\n * @property {Dependency[]} dependencies dependencies of the entrypoint that should be evaluated at startup\n * @property {Dependency[]} includeDependencies dependencies of the entrypoint that should be included but not evaluated\n * @property {EntryOptions} options options of the entrypoint\n */\n\n/**\n * @typedef {Object} LogEntry\n * @property {string} type\n * @property {any[]} args\n * @property {number} time\n * @property {string[]=} trace\n */\n\n/**\n * @typedef {Object} KnownAssetInfo\n * @property {boolean=} immutable true, if the asset can be long term cached forever (contains a hash)\n * @property {boolean=} minimized whether the asset is minimized\n * @property {string | string[]=} fullhash the value(s) of the full hash used for this asset\n * @property {string | string[]=} chunkhash the value(s) of the chunk hash used for this asset\n * @property {string | string[]=} modulehash the value(s) of the module hash used for this asset\n * @property {string | string[]=} contenthash the value(s) of the content hash used for this asset\n * @property {string=} sourceFilename when asset was created from a source file (potentially transformed), the original filename relative to compilation context\n * @property {number=} size size in bytes, only set after asset has been emitted\n * @property {boolean=} development true, when asset is only used for development and doesn't count towards user-facing assets\n * @property {boolean=} hotModuleReplacement true, when asset ships data for updating an existing application (HMR)\n * @property {boolean=} javascriptModule true, when asset is javascript and an ESM\n * @property {Record<string, string | string[]>=} related object of pointers to other assets, keyed by type of relation (only points from parent to child)\n */\n\n/** @typedef {KnownAssetInfo & Record<string, any>} AssetInfo */\n\n/**\n * @typedef {Object} Asset\n * @property {string} name the filename of the asset\n * @property {Source} source source of the asset\n * @property {AssetInfo} info info about the asset\n */\n\n/**\n * @typedef {Object} ModulePathData\n * @property {string|number} id\n * @property {string} hash\n * @property {function(number): string=} hashWithLength\n */\n\n/**\n * @typedef {Object} PathData\n * @property {ChunkGraph=} chunkGraph\n * @property {string=} hash\n * @property {function(number): string=} hashWithLength\n * @property {(Chunk|ChunkPathData)=} chunk\n * @property {(Module|ModulePathData)=} module\n * @property {RuntimeSpec=} runtime\n * @property {string=} filename\n * @property {string=} basename\n * @property {string=} query\n * @property {string=} contentHashType\n * @property {string=} contentHash\n * @property {function(number): string=} contentHashWithLength\n * @property {boolean=} noChunkHash\n * @property {string=} url\n */\n\n/**\n * @typedef {Object} KnownNormalizedStatsOptions\n * @property {string} context\n * @property {RequestShortener} requestShortener\n * @property {string} chunksSort\n * @property {string} modulesSort\n * @property {string} chunkModulesSort\n * @property {string} nestedModulesSort\n * @property {string} assetsSort\n * @property {boolean} ids\n * @property {boolean} cachedAssets\n * @property {boolean} groupAssetsByEmitStatus\n * @property {boolean} groupAssetsByPath\n * @property {boolean} groupAssetsByExtension\n * @property {number} assetsSpace\n * @property {((value: string, asset: StatsAsset) => boolean)[]} excludeAssets\n * @property {((name: string, module: StatsModule, type: \"module\" | \"chunk\" | \"root-of-chunk\" | \"nested\") => boolean)[]} excludeModules\n * @property {((warning: StatsError, textValue: string) => boolean)[]} warningsFilter\n * @property {boolean} cachedModules\n * @property {boolean} orphanModules\n * @property {boolean} dependentModules\n * @property {boolean} runtimeModules\n * @property {boolean} groupModulesByCacheStatus\n * @property {boolean} groupModulesByLayer\n * @property {boolean} groupModulesByAttributes\n * @property {boolean} groupModulesByPath\n * @property {boolean} groupModulesByExtension\n * @property {boolean} groupModulesByType\n * @property {boolean | \"auto\"} entrypoints\n * @property {boolean} chunkGroups\n * @property {boolean} chunkGroupAuxiliary\n * @property {boolean} chunkGroupChildren\n * @property {number} chunkGroupMaxAssets\n * @property {number} modulesSpace\n * @property {number} chunkModulesSpace\n * @property {number} nestedModulesSpace\n * @property {false|\"none\"|\"error\"|\"warn\"|\"info\"|\"log\"|\"verbose\"} logging\n * @property {((value: string) => boolean)[]} loggingDebug\n * @property {boolean} loggingTrace\n * @property {any} _env\n */\n\n/** @typedef {KnownNormalizedStatsOptions & Omit<StatsOptions, keyof KnownNormalizedStatsOptions> & Record<string, any>} NormalizedStatsOptions */\n\n/**\n * @typedef {Object} KnownCreateStatsOptionsContext\n * @property {boolean=} forToString\n */\n\n/** @typedef {KnownCreateStatsOptionsContext & Record<string, any>} CreateStatsOptionsContext */\n\n/** @type {AssetInfo} */\nconst EMPTY_ASSET_INFO = Object.freeze({});\n\nconst esmDependencyCategory = \"esm\";\n// TODO webpack 6: remove\nconst deprecatedNormalModuleLoaderHook = util.deprecate(\n\tcompilation => {\n\t\treturn (__webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\").getCompilationHooks)(compilation).loader;\n\t},\n\t\"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader\",\n\t\"DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK\"\n);\n\n// TODO webpack 6: remove\nconst defineRemovedModuleTemplates = moduleTemplates => {\n\tObject.defineProperties(moduleTemplates, {\n\t\tasset: {\n\t\t\tenumerable: false,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tthrow new WebpackError(\n\t\t\t\t\t\"Compilation.moduleTemplates.asset has been removed\"\n\t\t\t\t);\n\t\t\t}\n\t\t},\n\t\twebassembly: {\n\t\t\tenumerable: false,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tthrow new WebpackError(\n\t\t\t\t\t\"Compilation.moduleTemplates.webassembly has been removed\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t});\n\tmoduleTemplates = undefined;\n};\n\nconst byId = compareSelect(\n\t/**\n\t * @param {Chunk} c chunk\n\t * @returns {number | string} id\n\t */ c => c.id,\n\tcompareIds\n);\n\nconst byNameOrHash = concatComparators(\n\tcompareSelect(\n\t\t/**\n\t\t * @param {Compilation} c compilation\n\t\t * @returns {string} name\n\t\t */\n\t\tc => c.name,\n\t\tcompareIds\n\t),\n\tcompareSelect(\n\t\t/**\n\t\t * @param {Compilation} c compilation\n\t\t * @returns {string} hash\n\t\t */ c => c.fullHash,\n\t\tcompareIds\n\t)\n);\n\nconst byMessage = compareSelect(err => `${err.message}`, compareStringsNumeric);\n\nconst byModule = compareSelect(\n\terr => (err.module && err.module.identifier()) || \"\",\n\tcompareStringsNumeric\n);\n\nconst byLocation = compareSelect(err => err.loc, compareLocations);\n\nconst compareErrors = concatComparators(byModule, byLocation, byMessage);\n\n/** @type {WeakMap<Dependency, Module & { restoreFromUnsafeCache: Function } | null>} */\nconst unsafeCacheDependencies = new WeakMap();\n\n/** @type {WeakMap<Module & { restoreFromUnsafeCache: Function }, object>} */\nconst unsafeCacheData = new WeakMap();\n\nclass Compilation {\n\t/**\n\t * Creates an instance of Compilation.\n\t * @param {Compiler} compiler the compiler which created the compilation\n\t * @param {CompilationParams} params the compilation parameters\n\t */\n\tconstructor(compiler, params) {\n\t\tthis._backCompat = compiler._backCompat;\n\n\t\tconst getNormalModuleLoader = () => deprecatedNormalModuleLoaderHook(this);\n\t\t/** @typedef {{ additionalAssets?: true | Function }} ProcessAssetsAdditionalOptions */\n\t\t/** @type {AsyncSeriesHook<[CompilationAssets], ProcessAssetsAdditionalOptions>} */\n\t\tconst processAssetsHook = new AsyncSeriesHook([\"assets\"]);\n\n\t\tlet savedAssets = new Set();\n\t\tconst popNewAssets = assets => {\n\t\t\tlet newAssets = undefined;\n\t\t\tfor (const file of Object.keys(assets)) {\n\t\t\t\tif (savedAssets.has(file)) continue;\n\t\t\t\tif (newAssets === undefined) {\n\t\t\t\t\tnewAssets = Object.create(null);\n\t\t\t\t}\n\t\t\t\tnewAssets[file] = assets[file];\n\t\t\t\tsavedAssets.add(file);\n\t\t\t}\n\t\t\treturn newAssets;\n\t\t};\n\t\tprocessAssetsHook.intercept({\n\t\t\tname: \"Compilation\",\n\t\t\tcall: () => {\n\t\t\t\tsavedAssets = new Set(Object.keys(this.assets));\n\t\t\t},\n\t\t\tregister: tap => {\n\t\t\t\tconst { type, name } = tap;\n\t\t\t\tconst { fn, additionalAssets, ...remainingTap } = tap;\n\t\t\t\tconst additionalAssetsFn =\n\t\t\t\t\tadditionalAssets === true ? fn : additionalAssets;\n\t\t\t\tconst processedAssets = additionalAssetsFn ? new WeakSet() : undefined;\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase \"sync\":\n\t\t\t\t\t\tif (additionalAssetsFn) {\n\t\t\t\t\t\t\tthis.hooks.processAdditionalAssets.tap(name, assets => {\n\t\t\t\t\t\t\t\tif (processedAssets.has(this.assets))\n\t\t\t\t\t\t\t\t\tadditionalAssetsFn(assets);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...remainingTap,\n\t\t\t\t\t\t\ttype: \"async\",\n\t\t\t\t\t\t\tfn: (assets, callback) => {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tfn(assets);\n\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\treturn callback(e);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (processedAssets !== undefined)\n\t\t\t\t\t\t\t\t\tprocessedAssets.add(this.assets);\n\t\t\t\t\t\t\t\tconst newAssets = popNewAssets(assets);\n\t\t\t\t\t\t\t\tif (newAssets !== undefined) {\n\t\t\t\t\t\t\t\t\tthis.hooks.processAdditionalAssets.callAsync(\n\t\t\t\t\t\t\t\t\t\tnewAssets,\n\t\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"async\":\n\t\t\t\t\t\tif (additionalAssetsFn) {\n\t\t\t\t\t\t\tthis.hooks.processAdditionalAssets.tapAsync(\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\t(assets, callback) => {\n\t\t\t\t\t\t\t\t\tif (processedAssets.has(this.assets))\n\t\t\t\t\t\t\t\t\t\treturn additionalAssetsFn(assets, callback);\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...remainingTap,\n\t\t\t\t\t\t\tfn: (assets, callback) => {\n\t\t\t\t\t\t\t\tfn(assets, err => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\tif (processedAssets !== undefined)\n\t\t\t\t\t\t\t\t\t\tprocessedAssets.add(this.assets);\n\t\t\t\t\t\t\t\t\tconst newAssets = popNewAssets(assets);\n\t\t\t\t\t\t\t\t\tif (newAssets !== undefined) {\n\t\t\t\t\t\t\t\t\t\tthis.hooks.processAdditionalAssets.callAsync(\n\t\t\t\t\t\t\t\t\t\t\tnewAssets,\n\t\t\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"promise\":\n\t\t\t\t\t\tif (additionalAssetsFn) {\n\t\t\t\t\t\t\tthis.hooks.processAdditionalAssets.tapPromise(name, assets => {\n\t\t\t\t\t\t\t\tif (processedAssets.has(this.assets))\n\t\t\t\t\t\t\t\t\treturn additionalAssetsFn(assets);\n\t\t\t\t\t\t\t\treturn Promise.resolve();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...remainingTap,\n\t\t\t\t\t\t\tfn: assets => {\n\t\t\t\t\t\t\t\tconst p = fn(assets);\n\t\t\t\t\t\t\t\tif (!p || !p.then) return p;\n\t\t\t\t\t\t\t\treturn p.then(() => {\n\t\t\t\t\t\t\t\t\tif (processedAssets !== undefined)\n\t\t\t\t\t\t\t\t\t\tprocessedAssets.add(this.assets);\n\t\t\t\t\t\t\t\t\tconst newAssets = popNewAssets(assets);\n\t\t\t\t\t\t\t\t\tif (newAssets !== undefined) {\n\t\t\t\t\t\t\t\t\t\treturn this.hooks.processAdditionalAssets.promise(\n\t\t\t\t\t\t\t\t\t\t\tnewAssets\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/** @type {SyncHook<[CompilationAssets]>} */\n\t\tconst afterProcessAssetsHook = new SyncHook([\"assets\"]);\n\n\t\t/**\n\t\t * @template T\n\t\t * @param {string} name name of the hook\n\t\t * @param {number} stage new stage\n\t\t * @param {function(): AsArray<T>} getArgs get old hook function args\n\t\t * @param {string=} code deprecation code (not deprecated when unset)\n\t\t * @returns {FakeHook<Pick<AsyncSeriesHook<T>, \"tap\" | \"tapAsync\" | \"tapPromise\" | \"name\">>} fake hook which redirects\n\t\t */\n\t\tconst createProcessAssetsHook = (name, stage, getArgs, code) => {\n\t\t\tif (!this._backCompat && code) return undefined;\n\t\t\tconst errorMessage =\n\t\t\t\treason => `Can't automatically convert plugin using Compilation.hooks.${name} to Compilation.hooks.processAssets because ${reason}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;\n\t\t\tconst getOptions = options => {\n\t\t\t\tif (typeof options === \"string\") options = { name: options };\n\t\t\t\tif (options.stage) {\n\t\t\t\t\tthrow new Error(errorMessage(\"it's using the 'stage' option\"));\n\t\t\t\t}\n\t\t\t\treturn { ...options, stage: stage };\n\t\t\t};\n\t\t\treturn createFakeHook(\n\t\t\t\t{\n\t\t\t\t\tname,\n\t\t\t\t\t/** @type {AsyncSeriesHook<T>[\"intercept\"]} */\n\t\t\t\t\tintercept(interceptor) {\n\t\t\t\t\t\tthrow new Error(errorMessage(\"it's using 'intercept'\"));\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesHook<T>[\"tap\"]} */\n\t\t\t\t\ttap: (options, fn) => {\n\t\t\t\t\t\tprocessAssetsHook.tap(getOptions(options), () => fn(...getArgs()));\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesHook<T>[\"tapAsync\"]} */\n\t\t\t\t\ttapAsync: (options, fn) => {\n\t\t\t\t\t\tprocessAssetsHook.tapAsync(\n\t\t\t\t\t\t\tgetOptions(options),\n\t\t\t\t\t\t\t(assets, callback) =>\n\t\t\t\t\t\t\t\t/** @type {any} */ (fn)(...getArgs(), callback)\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesHook<T>[\"tapPromise\"]} */\n\t\t\t\t\ttapPromise: (options, fn) => {\n\t\t\t\t\t\tprocessAssetsHook.tapPromise(getOptions(options), () =>\n\t\t\t\t\t\t\tfn(...getArgs())\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t`${name} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,\n\t\t\t\tcode\n\t\t\t);\n\t\t};\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {SyncHook<[Module]>} */\n\t\t\tbuildModule: new SyncHook([\"module\"]),\n\t\t\t/** @type {SyncHook<[Module]>} */\n\t\t\trebuildModule: new SyncHook([\"module\"]),\n\t\t\t/** @type {SyncHook<[Module, WebpackError]>} */\n\t\t\tfailedModule: new SyncHook([\"module\", \"error\"]),\n\t\t\t/** @type {SyncHook<[Module]>} */\n\t\t\tsucceedModule: new SyncHook([\"module\"]),\n\t\t\t/** @type {SyncHook<[Module]>} */\n\t\t\tstillValidModule: new SyncHook([\"module\"]),\n\n\t\t\t/** @type {SyncHook<[Dependency, EntryOptions]>} */\n\t\t\taddEntry: new SyncHook([\"entry\", \"options\"]),\n\t\t\t/** @type {SyncHook<[Dependency, EntryOptions, Error]>} */\n\t\t\tfailedEntry: new SyncHook([\"entry\", \"options\", \"error\"]),\n\t\t\t/** @type {SyncHook<[Dependency, EntryOptions, Module]>} */\n\t\t\tsucceedEntry: new SyncHook([\"entry\", \"options\", \"module\"]),\n\n\t\t\t/** @type {SyncWaterfallHook<[(string[] | ReferencedExport)[], Dependency, RuntimeSpec]>} */\n\t\t\tdependencyReferencedExports: new SyncWaterfallHook([\n\t\t\t\t\"referencedExports\",\n\t\t\t\t\"dependency\",\n\t\t\t\t\"runtime\"\n\t\t\t]),\n\n\t\t\t/** @type {SyncHook<[ExecuteModuleArgument, ExecuteModuleContext]>} */\n\t\t\texecuteModule: new SyncHook([\"options\", \"context\"]),\n\t\t\t/** @type {AsyncParallelHook<[ExecuteModuleArgument, ExecuteModuleContext]>} */\n\t\t\tprepareModuleExecution: new AsyncParallelHook([\"options\", \"context\"]),\n\n\t\t\t/** @type {AsyncSeriesHook<[Iterable<Module>]>} */\n\t\t\tfinishModules: new AsyncSeriesHook([\"modules\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Module]>} */\n\t\t\tfinishRebuildingModule: new AsyncSeriesHook([\"module\"]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tunseal: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tseal: new SyncHook([]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeChunks: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>]>} */\n\t\t\tafterChunks: new SyncHook([\"chunks\"]),\n\n\t\t\t/** @type {SyncBailHook<[Iterable<Module>]>} */\n\t\t\toptimizeDependencies: new SyncBailHook([\"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\tafterOptimizeDependencies: new SyncHook([\"modules\"]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\toptimize: new SyncHook([]),\n\t\t\t/** @type {SyncBailHook<[Iterable<Module>]>} */\n\t\t\toptimizeModules: new SyncBailHook([\"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\tafterOptimizeModules: new SyncHook([\"modules\"]),\n\n\t\t\t/** @type {SyncBailHook<[Iterable<Chunk>, ChunkGroup[]]>} */\n\t\t\toptimizeChunks: new SyncBailHook([\"chunks\", \"chunkGroups\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>, ChunkGroup[]]>} */\n\t\t\tafterOptimizeChunks: new SyncHook([\"chunks\", \"chunkGroups\"]),\n\n\t\t\t/** @type {AsyncSeriesHook<[Iterable<Chunk>, Iterable<Module>]>} */\n\t\t\toptimizeTree: new AsyncSeriesHook([\"chunks\", \"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>, Iterable<Module>]>} */\n\t\t\tafterOptimizeTree: new SyncHook([\"chunks\", \"modules\"]),\n\n\t\t\t/** @type {AsyncSeriesBailHook<[Iterable<Chunk>, Iterable<Module>]>} */\n\t\t\toptimizeChunkModules: new AsyncSeriesBailHook([\"chunks\", \"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>, Iterable<Module>]>} */\n\t\t\tafterOptimizeChunkModules: new SyncHook([\"chunks\", \"modules\"]),\n\t\t\t/** @type {SyncBailHook<[], boolean>} */\n\t\t\tshouldRecord: new SyncBailHook([]),\n\n\t\t\t/** @type {SyncHook<[Chunk, Set<string>, RuntimeRequirementsContext]>} */\n\t\t\tadditionalChunkRuntimeRequirements: new SyncHook([\n\t\t\t\t\"chunk\",\n\t\t\t\t\"runtimeRequirements\",\n\t\t\t\t\"context\"\n\t\t\t]),\n\t\t\t/** @type {HookMap<SyncBailHook<[Chunk, Set<string>, RuntimeRequirementsContext]>>} */\n\t\t\truntimeRequirementInChunk: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"chunk\", \"runtimeRequirements\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {SyncHook<[Module, Set<string>, RuntimeRequirementsContext]>} */\n\t\t\tadditionalModuleRuntimeRequirements: new SyncHook([\n\t\t\t\t\"module\",\n\t\t\t\t\"runtimeRequirements\",\n\t\t\t\t\"context\"\n\t\t\t]),\n\t\t\t/** @type {HookMap<SyncBailHook<[Module, Set<string>, RuntimeRequirementsContext]>>} */\n\t\t\truntimeRequirementInModule: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"module\", \"runtimeRequirements\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {SyncHook<[Chunk, Set<string>, RuntimeRequirementsContext]>} */\n\t\t\tadditionalTreeRuntimeRequirements: new SyncHook([\n\t\t\t\t\"chunk\",\n\t\t\t\t\"runtimeRequirements\",\n\t\t\t\t\"context\"\n\t\t\t]),\n\t\t\t/** @type {HookMap<SyncBailHook<[Chunk, Set<string>, RuntimeRequirementsContext]>>} */\n\t\t\truntimeRequirementInTree: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"chunk\", \"runtimeRequirements\", \"context\"])\n\t\t\t),\n\n\t\t\t/** @type {SyncHook<[RuntimeModule, Chunk]>} */\n\t\t\truntimeModule: new SyncHook([\"module\", \"chunk\"]),\n\n\t\t\t/** @type {SyncHook<[Iterable<Module>, any]>} */\n\t\t\treviveModules: new SyncHook([\"modules\", \"records\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\tbeforeModuleIds: new SyncHook([\"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\tmoduleIds: new SyncHook([\"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\toptimizeModuleIds: new SyncHook([\"modules\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\tafterOptimizeModuleIds: new SyncHook([\"modules\"]),\n\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>, any]>} */\n\t\t\treviveChunks: new SyncHook([\"chunks\", \"records\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>]>} */\n\t\t\tbeforeChunkIds: new SyncHook([\"chunks\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>]>} */\n\t\t\tchunkIds: new SyncHook([\"chunks\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>]>} */\n\t\t\toptimizeChunkIds: new SyncHook([\"chunks\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>]>} */\n\t\t\tafterOptimizeChunkIds: new SyncHook([\"chunks\"]),\n\n\t\t\t/** @type {SyncHook<[Iterable<Module>, any]>} */\n\t\t\trecordModules: new SyncHook([\"modules\", \"records\"]),\n\t\t\t/** @type {SyncHook<[Iterable<Chunk>, any]>} */\n\t\t\trecordChunks: new SyncHook([\"chunks\", \"records\"]),\n\n\t\t\t/** @type {SyncHook<[Iterable<Module>]>} */\n\t\t\toptimizeCodeGeneration: new SyncHook([\"modules\"]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeModuleHash: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tafterModuleHash: new SyncHook([]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeCodeGeneration: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tafterCodeGeneration: new SyncHook([]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeRuntimeRequirements: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tafterRuntimeRequirements: new SyncHook([]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeHash: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[Chunk]>} */\n\t\t\tcontentHash: new SyncHook([\"chunk\"]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tafterHash: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[any]>} */\n\t\t\trecordHash: new SyncHook([\"records\"]),\n\t\t\t/** @type {SyncHook<[Compilation, any]>} */\n\t\t\trecord: new SyncHook([\"compilation\", \"records\"]),\n\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeModuleAssets: new SyncHook([]),\n\t\t\t/** @type {SyncBailHook<[], boolean>} */\n\t\t\tshouldGenerateChunkAssets: new SyncBailHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tbeforeChunkAssets: new SyncHook([]),\n\t\t\t// TODO webpack 6 remove\n\t\t\t/** @deprecated */\n\t\t\tadditionalChunkAssets: createProcessAssetsHook(\n\t\t\t\t\"additionalChunkAssets\",\n\t\t\t\tCompilation.PROCESS_ASSETS_STAGE_ADDITIONAL,\n\t\t\t\t() => [this.chunks],\n\t\t\t\t\"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS\"\n\t\t\t),\n\n\t\t\t// TODO webpack 6 deprecate\n\t\t\t/** @deprecated */\n\t\t\tadditionalAssets: createProcessAssetsHook(\n\t\t\t\t\"additionalAssets\",\n\t\t\t\tCompilation.PROCESS_ASSETS_STAGE_ADDITIONAL,\n\t\t\t\t() => []\n\t\t\t),\n\t\t\t// TODO webpack 6 remove\n\t\t\t/** @deprecated */\n\t\t\toptimizeChunkAssets: createProcessAssetsHook(\n\t\t\t\t\"optimizeChunkAssets\",\n\t\t\t\tCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE,\n\t\t\t\t() => [this.chunks],\n\t\t\t\t\"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS\"\n\t\t\t),\n\t\t\t// TODO webpack 6 remove\n\t\t\t/** @deprecated */\n\t\t\tafterOptimizeChunkAssets: createProcessAssetsHook(\n\t\t\t\t\"afterOptimizeChunkAssets\",\n\t\t\t\tCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE + 1,\n\t\t\t\t() => [this.chunks],\n\t\t\t\t\"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS\"\n\t\t\t),\n\t\t\t// TODO webpack 6 deprecate\n\t\t\t/** @deprecated */\n\t\t\toptimizeAssets: processAssetsHook,\n\t\t\t// TODO webpack 6 deprecate\n\t\t\t/** @deprecated */\n\t\t\tafterOptimizeAssets: afterProcessAssetsHook,\n\n\t\t\tprocessAssets: processAssetsHook,\n\t\t\tafterProcessAssets: afterProcessAssetsHook,\n\t\t\t/** @type {AsyncSeriesHook<[CompilationAssets]>} */\n\t\t\tprocessAdditionalAssets: new AsyncSeriesHook([\"assets\"]),\n\n\t\t\t/** @type {SyncBailHook<[], boolean>} */\n\t\t\tneedAdditionalSeal: new SyncBailHook([]),\n\t\t\t/** @type {AsyncSeriesHook<[]>} */\n\t\t\tafterSeal: new AsyncSeriesHook([]),\n\n\t\t\t/** @type {SyncWaterfallHook<[RenderManifestEntry[], RenderManifestOptions]>} */\n\t\t\trenderManifest: new SyncWaterfallHook([\"result\", \"options\"]),\n\n\t\t\t/** @type {SyncHook<[Hash]>} */\n\t\t\tfullHash: new SyncHook([\"hash\"]),\n\t\t\t/** @type {SyncHook<[Chunk, Hash, ChunkHashContext]>} */\n\t\t\tchunkHash: new SyncHook([\"chunk\", \"chunkHash\", \"ChunkHashContext\"]),\n\n\t\t\t/** @type {SyncHook<[Module, string]>} */\n\t\t\tmoduleAsset: new SyncHook([\"module\", \"filename\"]),\n\t\t\t/** @type {SyncHook<[Chunk, string]>} */\n\t\t\tchunkAsset: new SyncHook([\"chunk\", \"filename\"]),\n\n\t\t\t/** @type {SyncWaterfallHook<[string, object, AssetInfo]>} */\n\t\t\tassetPath: new SyncWaterfallHook([\"path\", \"options\", \"assetInfo\"]),\n\n\t\t\t/** @type {SyncBailHook<[], boolean>} */\n\t\t\tneedAdditionalPass: new SyncBailHook([]),\n\n\t\t\t/** @type {SyncHook<[Compiler, string, number]>} */\n\t\t\tchildCompiler: new SyncHook([\n\t\t\t\t\"childCompiler\",\n\t\t\t\t\"compilerName\",\n\t\t\t\t\"compilerIndex\"\n\t\t\t]),\n\n\t\t\t/** @type {SyncBailHook<[string, LogEntry], true>} */\n\t\t\tlog: new SyncBailHook([\"origin\", \"logEntry\"]),\n\n\t\t\t/** @type {SyncWaterfallHook<[WebpackError[]]>} */\n\t\t\tprocessWarnings: new SyncWaterfallHook([\"warnings\"]),\n\t\t\t/** @type {SyncWaterfallHook<[WebpackError[]]>} */\n\t\t\tprocessErrors: new SyncWaterfallHook([\"errors\"]),\n\n\t\t\t/** @type {HookMap<SyncHook<[Partial<NormalizedStatsOptions>, CreateStatsOptionsContext]>>} */\n\t\t\tstatsPreset: new HookMap(() => new SyncHook([\"options\", \"context\"])),\n\t\t\t/** @type {SyncHook<[Partial<NormalizedStatsOptions>, CreateStatsOptionsContext]>} */\n\t\t\tstatsNormalize: new SyncHook([\"options\", \"context\"]),\n\t\t\t/** @type {SyncHook<[StatsFactory, NormalizedStatsOptions]>} */\n\t\t\tstatsFactory: new SyncHook([\"statsFactory\", \"options\"]),\n\t\t\t/** @type {SyncHook<[StatsPrinter, NormalizedStatsOptions]>} */\n\t\t\tstatsPrinter: new SyncHook([\"statsPrinter\", \"options\"]),\n\n\t\t\tget normalModuleLoader() {\n\t\t\t\treturn getNormalModuleLoader();\n\t\t\t}\n\t\t});\n\t\t/** @type {string=} */\n\t\tthis.name = undefined;\n\t\tthis.startTime = undefined;\n\t\tthis.endTime = undefined;\n\t\t/** @type {Compiler} */\n\t\tthis.compiler = compiler;\n\t\tthis.resolverFactory = compiler.resolverFactory;\n\t\tthis.inputFileSystem = compiler.inputFileSystem;\n\t\tthis.fileSystemInfo = new FileSystemInfo(this.inputFileSystem, {\n\t\t\tmanagedPaths: compiler.managedPaths,\n\t\t\timmutablePaths: compiler.immutablePaths,\n\t\t\tlogger: this.getLogger(\"webpack.FileSystemInfo\"),\n\t\t\thashFunction: compiler.options.output.hashFunction\n\t\t});\n\t\tif (compiler.fileTimestamps) {\n\t\t\tthis.fileSystemInfo.addFileTimestamps(compiler.fileTimestamps, true);\n\t\t}\n\t\tif (compiler.contextTimestamps) {\n\t\t\tthis.fileSystemInfo.addContextTimestamps(\n\t\t\t\tcompiler.contextTimestamps,\n\t\t\t\ttrue\n\t\t\t);\n\t\t}\n\t\t/** @type {Map<string, string | Set<string>>} */\n\t\tthis.valueCacheVersions = new Map();\n\t\tthis.requestShortener = compiler.requestShortener;\n\t\tthis.compilerPath = compiler.compilerPath;\n\n\t\tthis.logger = this.getLogger(\"webpack.Compilation\");\n\n\t\tconst options = compiler.options;\n\t\tthis.options = options;\n\t\tthis.outputOptions = options && options.output;\n\t\t/** @type {boolean} */\n\t\tthis.bail = (options && options.bail) || false;\n\t\t/** @type {boolean} */\n\t\tthis.profile = (options && options.profile) || false;\n\n\t\tthis.params = params;\n\t\tthis.mainTemplate = new MainTemplate(this.outputOptions, this);\n\t\tthis.chunkTemplate = new ChunkTemplate(this.outputOptions, this);\n\t\tthis.runtimeTemplate = new RuntimeTemplate(\n\t\t\tthis,\n\t\t\tthis.outputOptions,\n\t\t\tthis.requestShortener\n\t\t);\n\t\t/** @type {{javascript: ModuleTemplate}} */\n\t\tthis.moduleTemplates = {\n\t\t\tjavascript: new ModuleTemplate(this.runtimeTemplate, this)\n\t\t};\n\t\tdefineRemovedModuleTemplates(this.moduleTemplates);\n\n\t\t/** @type {Map<Module, WeakTupleMap<any, any>> | undefined} */\n\t\tthis.moduleMemCaches = undefined;\n\t\t/** @type {Map<Module, WeakTupleMap<any, any>> | undefined} */\n\t\tthis.moduleMemCaches2 = undefined;\n\t\tthis.moduleGraph = new ModuleGraph();\n\t\t/** @type {ChunkGraph} */\n\t\tthis.chunkGraph = undefined;\n\t\t/** @type {CodeGenerationResults} */\n\t\tthis.codeGenerationResults = undefined;\n\n\t\t/** @type {AsyncQueue<Module, Module, Module>} */\n\t\tthis.processDependenciesQueue = new AsyncQueue({\n\t\t\tname: \"processDependencies\",\n\t\t\tparallelism: options.parallelism || 100,\n\t\t\tprocessor: this._processModuleDependencies.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<Module, string, Module>} */\n\t\tthis.addModuleQueue = new AsyncQueue({\n\t\t\tname: \"addModule\",\n\t\t\tparent: this.processDependenciesQueue,\n\t\t\tgetKey: module => module.identifier(),\n\t\t\tprocessor: this._addModule.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<FactorizeModuleOptions, string, Module | ModuleFactoryResult>} */\n\t\tthis.factorizeQueue = new AsyncQueue({\n\t\t\tname: \"factorize\",\n\t\t\tparent: this.addModuleQueue,\n\t\t\tprocessor: this._factorizeModule.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<Module, Module, Module>} */\n\t\tthis.buildQueue = new AsyncQueue({\n\t\t\tname: \"build\",\n\t\t\tparent: this.factorizeQueue,\n\t\t\tprocessor: this._buildModule.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<Module, Module, Module>} */\n\t\tthis.rebuildQueue = new AsyncQueue({\n\t\t\tname: \"rebuild\",\n\t\t\tparallelism: options.parallelism || 100,\n\t\t\tprocessor: this._rebuildModule.bind(this)\n\t\t});\n\n\t\t/**\n\t\t * Modules in value are building during the build of Module in key.\n\t\t * Means value blocking key from finishing.\n\t\t * Needed to detect build cycles.\n\t\t * @type {WeakMap<Module, Set<Module>>}\n\t\t */\n\t\tthis.creatingModuleDuringBuild = new WeakMap();\n\n\t\t/** @type {Map<string, EntryData>} */\n\t\tthis.entries = new Map();\n\t\t/** @type {EntryData} */\n\t\tthis.globalEntry = {\n\t\t\tdependencies: [],\n\t\t\tincludeDependencies: [],\n\t\t\toptions: {\n\t\t\t\tname: undefined\n\t\t\t}\n\t\t};\n\t\t/** @type {Map<string, Entrypoint>} */\n\t\tthis.entrypoints = new Map();\n\t\t/** @type {Entrypoint[]} */\n\t\tthis.asyncEntrypoints = [];\n\t\t/** @type {Set<Chunk>} */\n\t\tthis.chunks = new Set();\n\t\t/** @type {ChunkGroup[]} */\n\t\tthis.chunkGroups = [];\n\t\t/** @type {Map<string, ChunkGroup>} */\n\t\tthis.namedChunkGroups = new Map();\n\t\t/** @type {Map<string, Chunk>} */\n\t\tthis.namedChunks = new Map();\n\t\t/** @type {Set<Module>} */\n\t\tthis.modules = new Set();\n\t\tif (this._backCompat) {\n\t\t\tarrayToSetDeprecation(this.chunks, \"Compilation.chunks\");\n\t\t\tarrayToSetDeprecation(this.modules, \"Compilation.modules\");\n\t\t}\n\t\t/** @private @type {Map<string, Module>} */\n\t\tthis._modules = new Map();\n\t\tthis.records = null;\n\t\t/** @type {string[]} */\n\t\tthis.additionalChunkAssets = [];\n\t\t/** @type {CompilationAssets} */\n\t\tthis.assets = {};\n\t\t/** @type {Map<string, AssetInfo>} */\n\t\tthis.assetsInfo = new Map();\n\t\t/** @type {Map<string, Map<string, Set<string>>>} */\n\t\tthis._assetsRelatedIn = new Map();\n\t\t/** @type {WebpackError[]} */\n\t\tthis.errors = [];\n\t\t/** @type {WebpackError[]} */\n\t\tthis.warnings = [];\n\t\t/** @type {Compilation[]} */\n\t\tthis.children = [];\n\t\t/** @type {Map<string, LogEntry[]>} */\n\t\tthis.logging = new Map();\n\t\t/** @type {Map<DepConstructor, ModuleFactory>} */\n\t\tthis.dependencyFactories = new Map();\n\t\t/** @type {DependencyTemplates} */\n\t\tthis.dependencyTemplates = new DependencyTemplates(\n\t\t\tthis.outputOptions.hashFunction\n\t\t);\n\t\tthis.childrenCounters = {};\n\t\t/** @type {Set<number|string>} */\n\t\tthis.usedChunkIds = null;\n\t\t/** @type {Set<number>} */\n\t\tthis.usedModuleIds = null;\n\t\t/** @type {boolean} */\n\t\tthis.needAdditionalPass = false;\n\t\t/** @type {Set<Module & { restoreFromUnsafeCache: Function }>} */\n\t\tthis._restoredUnsafeCacheModuleEntries = new Set();\n\t\t/** @type {Map<string, Module & { restoreFromUnsafeCache: Function }>} */\n\t\tthis._restoredUnsafeCacheEntries = new Map();\n\t\t/** @type {WeakSet<Module>} */\n\t\tthis.builtModules = new WeakSet();\n\t\t/** @type {WeakSet<Module>} */\n\t\tthis.codeGeneratedModules = new WeakSet();\n\t\t/** @type {WeakSet<Module>} */\n\t\tthis.buildTimeExecutedModules = new WeakSet();\n\t\t/** @private @type {Map<Module, Callback[]>} */\n\t\tthis._rebuildingModules = new Map();\n\t\t/** @type {Set<string>} */\n\t\tthis.emittedAssets = new Set();\n\t\t/** @type {Set<string>} */\n\t\tthis.comparedForEmitAssets = new Set();\n\t\t/** @type {LazySet<string>} */\n\t\tthis.fileDependencies = new LazySet();\n\t\t/** @type {LazySet<string>} */\n\t\tthis.contextDependencies = new LazySet();\n\t\t/** @type {LazySet<string>} */\n\t\tthis.missingDependencies = new LazySet();\n\t\t/** @type {LazySet<string>} */\n\t\tthis.buildDependencies = new LazySet();\n\t\t// TODO webpack 6 remove\n\t\tthis.compilationDependencies = {\n\t\t\tadd: util.deprecate(\n\t\t\t\titem => this.fileDependencies.add(item),\n\t\t\t\t\"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)\",\n\t\t\t\t\"DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES\"\n\t\t\t)\n\t\t};\n\n\t\tthis._modulesCache = this.getCache(\"Compilation/modules\");\n\t\tthis._assetsCache = this.getCache(\"Compilation/assets\");\n\t\tthis._codeGenerationCache = this.getCache(\"Compilation/codeGeneration\");\n\n\t\tconst unsafeCache = options.module.unsafeCache;\n\t\tthis._unsafeCache = !!unsafeCache;\n\t\tthis._unsafeCachePredicate =\n\t\t\ttypeof unsafeCache === \"function\" ? unsafeCache : () => true;\n\t}\n\n\tgetStats() {\n\t\treturn new Stats(this);\n\t}\n\n\t/**\n\t * @param {StatsOptions | string} optionsOrPreset stats option value\n\t * @param {CreateStatsOptionsContext} context context\n\t * @returns {NormalizedStatsOptions} normalized options\n\t */\n\tcreateStatsOptions(optionsOrPreset, context = {}) {\n\t\tif (\n\t\t\ttypeof optionsOrPreset === \"boolean\" ||\n\t\t\ttypeof optionsOrPreset === \"string\"\n\t\t) {\n\t\t\toptionsOrPreset = { preset: optionsOrPreset };\n\t\t}\n\t\tif (typeof optionsOrPreset === \"object\" && optionsOrPreset !== null) {\n\t\t\t// We use this method of shallow cloning this object to include\n\t\t\t// properties in the prototype chain\n\t\t\t/** @type {Partial<NormalizedStatsOptions>} */\n\t\t\tconst options = {};\n\t\t\tfor (const key in optionsOrPreset) {\n\t\t\t\toptions[key] = optionsOrPreset[key];\n\t\t\t}\n\t\t\tif (options.preset !== undefined) {\n\t\t\t\tthis.hooks.statsPreset.for(options.preset).call(options, context);\n\t\t\t}\n\t\t\tthis.hooks.statsNormalize.call(options, context);\n\t\t\treturn /** @type {NormalizedStatsOptions} */ (options);\n\t\t} else {\n\t\t\t/** @type {Partial<NormalizedStatsOptions>} */\n\t\t\tconst options = {};\n\t\t\tthis.hooks.statsNormalize.call(options, context);\n\t\t\treturn /** @type {NormalizedStatsOptions} */ (options);\n\t\t}\n\t}\n\n\tcreateStatsFactory(options) {\n\t\tconst statsFactory = new StatsFactory();\n\t\tthis.hooks.statsFactory.call(statsFactory, options);\n\t\treturn statsFactory;\n\t}\n\n\tcreateStatsPrinter(options) {\n\t\tconst statsPrinter = new StatsPrinter();\n\t\tthis.hooks.statsPrinter.call(statsPrinter, options);\n\t\treturn statsPrinter;\n\t}\n\n\t/**\n\t * @param {string} name cache name\n\t * @returns {CacheFacade} the cache facade instance\n\t */\n\tgetCache(name) {\n\t\treturn this.compiler.getCache(name);\n\t}\n\n\t/**\n\t * @param {string | (function(): string)} name name of the logger, or function called once to get the logger name\n\t * @returns {Logger} a logger with that name\n\t */\n\tgetLogger(name) {\n\t\tif (!name) {\n\t\t\tthrow new TypeError(\"Compilation.getLogger(name) called without a name\");\n\t\t}\n\t\t/** @type {LogEntry[] | undefined} */\n\t\tlet logEntries;\n\t\treturn new Logger(\n\t\t\t(type, args) => {\n\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\tname = name();\n\t\t\t\t\tif (!name) {\n\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\"Compilation.getLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlet trace;\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase LogType.warn:\n\t\t\t\t\tcase LogType.error:\n\t\t\t\t\tcase LogType.trace:\n\t\t\t\t\t\ttrace = ErrorHelpers.cutOffLoaderExecution(new Error(\"Trace\").stack)\n\t\t\t\t\t\t\t.split(\"\\n\")\n\t\t\t\t\t\t\t.slice(3);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t/** @type {LogEntry} */\n\t\t\t\tconst logEntry = {\n\t\t\t\t\ttime: Date.now(),\n\t\t\t\t\ttype,\n\t\t\t\t\targs,\n\t\t\t\t\ttrace\n\t\t\t\t};\n\t\t\t\tif (this.hooks.log.call(name, logEntry) === undefined) {\n\t\t\t\t\tif (logEntry.type === LogType.profileEnd) {\n\t\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\t\tif (typeof console.profileEnd === \"function\") {\n\t\t\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\t\t\tconsole.profileEnd(`[${name}] ${logEntry.args[0]}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (logEntries === undefined) {\n\t\t\t\t\t\tlogEntries = this.logging.get(name);\n\t\t\t\t\t\tif (logEntries === undefined) {\n\t\t\t\t\t\t\tlogEntries = [];\n\t\t\t\t\t\t\tthis.logging.set(name, logEntries);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlogEntries.push(logEntry);\n\t\t\t\t\tif (logEntry.type === LogType.profile) {\n\t\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\t\tif (typeof console.profile === \"function\") {\n\t\t\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\t\t\tconsole.profile(`[${name}] ${logEntry.args[0]}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tchildName => {\n\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\treturn this.getLogger(() => {\n\t\t\t\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\t\t\t\tname = name();\n\t\t\t\t\t\t\t\tif (!name) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Compilation.getLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\t\t\tchildName = childName();\n\t\t\t\t\t\t\t\tif (!childName) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Logger.getChildLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn this.getLogger(() => {\n\t\t\t\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\t\t\t\tname = name();\n\t\t\t\t\t\t\t\tif (!name) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Compilation.getLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\treturn this.getLogger(() => {\n\t\t\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\t\t\tchildName = childName();\n\t\t\t\t\t\t\t\tif (!childName) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Logger.getChildLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn this.getLogger(`${name}/${childName}`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module module to be added that was created\n\t * @param {ModuleCallback} callback returns the module in the compilation,\n\t * it could be the passed one (if new), or an already existing in the compilation\n\t * @returns {void}\n\t */\n\taddModule(module, callback) {\n\t\tthis.addModuleQueue.add(module, callback);\n\t}\n\n\t/**\n\t * @param {Module} module module to be added that was created\n\t * @param {ModuleCallback} callback returns the module in the compilation,\n\t * it could be the passed one (if new), or an already existing in the compilation\n\t * @returns {void}\n\t */\n\t_addModule(module, callback) {\n\t\tconst identifier = module.identifier();\n\t\tconst alreadyAddedModule = this._modules.get(identifier);\n\t\tif (alreadyAddedModule) {\n\t\t\treturn callback(null, alreadyAddedModule);\n\t\t}\n\n\t\tconst currentProfile = this.profile\n\t\t\t? this.moduleGraph.getProfile(module)\n\t\t\t: undefined;\n\t\tif (currentProfile !== undefined) {\n\t\t\tcurrentProfile.markRestoringStart();\n\t\t}\n\n\t\tthis._modulesCache.get(identifier, null, (err, cacheModule) => {\n\t\t\tif (err) return callback(new ModuleRestoreError(module, err));\n\n\t\t\tif (currentProfile !== undefined) {\n\t\t\t\tcurrentProfile.markRestoringEnd();\n\t\t\t\tcurrentProfile.markIntegrationStart();\n\t\t\t}\n\n\t\t\tif (cacheModule) {\n\t\t\t\tcacheModule.updateCacheModule(module);\n\n\t\t\t\tmodule = cacheModule;\n\t\t\t}\n\t\t\tthis._modules.set(identifier, module);\n\t\t\tthis.modules.add(module);\n\t\t\tif (this._backCompat)\n\t\t\t\tModuleGraph.setModuleGraphForModule(module, this.moduleGraph);\n\t\t\tif (currentProfile !== undefined) {\n\t\t\t\tcurrentProfile.markIntegrationEnd();\n\t\t\t}\n\t\t\tcallback(null, module);\n\t\t});\n\t}\n\n\t/**\n\t * Fetches a module from a compilation by its identifier\n\t * @param {Module} module the module provided\n\t * @returns {Module} the module requested\n\t */\n\tgetModule(module) {\n\t\tconst identifier = module.identifier();\n\t\treturn this._modules.get(identifier);\n\t}\n\n\t/**\n\t * Attempts to search for a module by its identifier\n\t * @param {string} identifier identifier (usually path) for module\n\t * @returns {Module|undefined} attempt to search for module and return it, else undefined\n\t */\n\tfindModule(identifier) {\n\t\treturn this._modules.get(identifier);\n\t}\n\n\t/**\n\t * Schedules a build of the module object\n\t *\n\t * @param {Module} module module to be built\n\t * @param {ModuleCallback} callback the callback\n\t * @returns {void}\n\t */\n\tbuildModule(module, callback) {\n\t\tthis.buildQueue.add(module, callback);\n\t}\n\n\t/**\n\t * Builds the module object\n\t *\n\t * @param {Module} module module to be built\n\t * @param {ModuleCallback} callback the callback\n\t * @returns {void}\n\t */\n\t_buildModule(module, callback) {\n\t\tconst currentProfile = this.profile\n\t\t\t? this.moduleGraph.getProfile(module)\n\t\t\t: undefined;\n\t\tif (currentProfile !== undefined) {\n\t\t\tcurrentProfile.markBuildingStart();\n\t\t}\n\n\t\tmodule.needBuild(\n\t\t\t{\n\t\t\t\tcompilation: this,\n\t\t\t\tfileSystemInfo: this.fileSystemInfo,\n\t\t\t\tvalueCacheVersions: this.valueCacheVersions\n\t\t\t},\n\t\t\t(err, needBuild) => {\n\t\t\t\tif (err) return callback(err);\n\n\t\t\t\tif (!needBuild) {\n\t\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\t\tcurrentProfile.markBuildingEnd();\n\t\t\t\t\t}\n\t\t\t\t\tthis.hooks.stillValidModule.call(module);\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\n\t\t\t\tthis.hooks.buildModule.call(module);\n\t\t\t\tthis.builtModules.add(module);\n\t\t\t\tmodule.build(\n\t\t\t\t\tthis.options,\n\t\t\t\t\tthis,\n\t\t\t\t\tthis.resolverFactory.get(\"normal\", module.resolveOptions),\n\t\t\t\t\tthis.inputFileSystem,\n\t\t\t\t\terr => {\n\t\t\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\t\t\tcurrentProfile.markBuildingEnd();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tthis.hooks.failedModule.call(module, err);\n\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\t\t\tcurrentProfile.markStoringStart();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis._modulesCache.store(module.identifier(), null, module, err => {\n\t\t\t\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\t\t\t\tcurrentProfile.markStoringEnd();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\tthis.hooks.failedModule.call(module, err);\n\t\t\t\t\t\t\t\treturn callback(new ModuleStoreError(module, err));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.hooks.succeedModule.call(module);\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module to be processed for deps\n\t * @param {ModuleCallback} callback callback to be triggered\n\t * @returns {void}\n\t */\n\tprocessModuleDependencies(module, callback) {\n\t\tthis.processDependenciesQueue.add(module, callback);\n\t}\n\n\t/**\n\t * @param {Module} module to be processed for deps\n\t * @returns {void}\n\t */\n\tprocessModuleDependenciesNonRecursive(module) {\n\t\tconst processDependenciesBlock = block => {\n\t\t\tif (block.dependencies) {\n\t\t\t\tlet i = 0;\n\t\t\t\tfor (const dep of block.dependencies) {\n\t\t\t\t\tthis.moduleGraph.setParents(dep, block, module, i++);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (block.blocks) {\n\t\t\t\tfor (const b of block.blocks) processDependenciesBlock(b);\n\t\t\t}\n\t\t};\n\n\t\tprocessDependenciesBlock(module);\n\t}\n\n\t/**\n\t * @param {Module} module to be processed for deps\n\t * @param {ModuleCallback} callback callback to be triggered\n\t * @returns {void}\n\t */\n\t_processModuleDependencies(module, callback) {\n\t\t/** @type {Array<{factory: ModuleFactory, dependencies: Dependency[], context: string|undefined, originModule: Module|null}>} */\n\t\tconst sortedDependencies = [];\n\n\t\t/** @type {DependenciesBlock} */\n\t\tlet currentBlock;\n\n\t\t/** @type {Map<ModuleFactory, Map<string, Dependency[]>>} */\n\t\tlet dependencies;\n\t\t/** @type {DepConstructor} */\n\t\tlet factoryCacheKey;\n\t\t/** @type {ModuleFactory} */\n\t\tlet factoryCacheKey2;\n\t\t/** @type {Map<string, Dependency[]>} */\n\t\tlet factoryCacheValue;\n\t\t/** @type {string} */\n\t\tlet listCacheKey1;\n\t\t/** @type {string} */\n\t\tlet listCacheKey2;\n\t\t/** @type {Dependency[]} */\n\t\tlet listCacheValue;\n\n\t\tlet inProgressSorting = 1;\n\t\tlet inProgressTransitive = 1;\n\n\t\tconst onDependenciesSorted = err => {\n\t\t\tif (err) return callback(err);\n\n\t\t\t// early exit without changing parallelism back and forth\n\t\t\tif (sortedDependencies.length === 0 && inProgressTransitive === 1) {\n\t\t\t\treturn callback();\n\t\t\t}\n\n\t\t\t// This is nested so we need to allow one additional task\n\t\t\tthis.processDependenciesQueue.increaseParallelism();\n\n\t\t\tfor (const item of sortedDependencies) {\n\t\t\t\tinProgressTransitive++;\n\t\t\t\tthis.handleModuleCreation(item, err => {\n\t\t\t\t\t// In V8, the Error objects keep a reference to the functions on the stack. These warnings &\n\t\t\t\t\t// errors are created inside closures that keep a reference to the Compilation, so errors are\n\t\t\t\t\t// leaking the Compilation object.\n\t\t\t\t\tif (err && this.bail) {\n\t\t\t\t\t\tif (inProgressTransitive <= 0) return;\n\t\t\t\t\t\tinProgressTransitive = -1;\n\t\t\t\t\t\t// eslint-disable-next-line no-self-assign\n\t\t\t\t\t\terr.stack = err.stack;\n\t\t\t\t\t\tonTransitiveTasksFinished(err);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif (--inProgressTransitive === 0) onTransitiveTasksFinished();\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (--inProgressTransitive === 0) onTransitiveTasksFinished();\n\t\t};\n\n\t\tconst onTransitiveTasksFinished = err => {\n\t\t\tif (err) return callback(err);\n\t\t\tthis.processDependenciesQueue.decreaseParallelism();\n\n\t\t\treturn callback();\n\t\t};\n\n\t\t/**\n\t\t * @param {Dependency} dep dependency\n\t\t * @param {number} index index in block\n\t\t * @returns {void}\n\t\t */\n\t\tconst processDependency = (dep, index) => {\n\t\t\tthis.moduleGraph.setParents(dep, currentBlock, module, index);\n\t\t\tif (this._unsafeCache) {\n\t\t\t\ttry {\n\t\t\t\t\tconst unsafeCachedModule = unsafeCacheDependencies.get(dep);\n\t\t\t\t\tif (unsafeCachedModule === null) return;\n\t\t\t\t\tif (unsafeCachedModule !== undefined) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tthis._restoredUnsafeCacheModuleEntries.has(unsafeCachedModule)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tthis._handleExistingModuleFromUnsafeCache(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\tunsafeCachedModule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst identifier = unsafeCachedModule.identifier();\n\t\t\t\t\t\tconst cachedModule =\n\t\t\t\t\t\t\tthis._restoredUnsafeCacheEntries.get(identifier);\n\t\t\t\t\t\tif (cachedModule !== undefined) {\n\t\t\t\t\t\t\t// update unsafe cache to new module\n\t\t\t\t\t\t\tunsafeCacheDependencies.set(dep, cachedModule);\n\t\t\t\t\t\t\tthis._handleExistingModuleFromUnsafeCache(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\tcachedModule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinProgressSorting++;\n\t\t\t\t\t\tthis._modulesCache.get(identifier, null, (err, cachedModule) => {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\tif (inProgressSorting <= 0) return;\n\t\t\t\t\t\t\t\tinProgressSorting = -1;\n\t\t\t\t\t\t\t\tonDependenciesSorted(err);\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tif (!this._restoredUnsafeCacheEntries.has(identifier)) {\n\t\t\t\t\t\t\t\t\tconst data = unsafeCacheData.get(cachedModule);\n\t\t\t\t\t\t\t\t\tif (data === undefined) {\n\t\t\t\t\t\t\t\t\t\tprocessDependencyForResolving(dep);\n\t\t\t\t\t\t\t\t\t\tif (--inProgressSorting === 0) onDependenciesSorted();\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (cachedModule !== unsafeCachedModule) {\n\t\t\t\t\t\t\t\t\t\tunsafeCacheDependencies.set(dep, cachedModule);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcachedModule.restoreFromUnsafeCache(\n\t\t\t\t\t\t\t\t\t\tdata,\n\t\t\t\t\t\t\t\t\t\tthis.params.normalModuleFactory,\n\t\t\t\t\t\t\t\t\t\tthis.params\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis._restoredUnsafeCacheEntries.set(\n\t\t\t\t\t\t\t\t\t\tidentifier,\n\t\t\t\t\t\t\t\t\t\tcachedModule\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis._restoredUnsafeCacheModuleEntries.add(cachedModule);\n\t\t\t\t\t\t\t\t\tif (!this.modules.has(cachedModule)) {\n\t\t\t\t\t\t\t\t\t\tinProgressTransitive++;\n\t\t\t\t\t\t\t\t\t\tthis._handleNewModuleFromUnsafeCache(\n\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\t\t\tcachedModule,\n\t\t\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inProgressTransitive <= 0) return;\n\t\t\t\t\t\t\t\t\t\t\t\t\tinProgressTransitive = -1;\n\t\t\t\t\t\t\t\t\t\t\t\t\tonTransitiveTasksFinished(err);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tif (--inProgressTransitive === 0)\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn onTransitiveTasksFinished();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (--inProgressSorting === 0) onDependenciesSorted();\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (unsafeCachedModule !== cachedModule) {\n\t\t\t\t\t\t\t\t\tunsafeCacheDependencies.set(dep, cachedModule);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis._handleExistingModuleFromUnsafeCache(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\tcachedModule\n\t\t\t\t\t\t\t\t); // a3\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\tif (inProgressSorting <= 0) return;\n\t\t\t\t\t\t\t\tinProgressSorting = -1;\n\t\t\t\t\t\t\t\tonDependenciesSorted(err);\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (--inProgressSorting === 0) onDependenciesSorted();\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\tconsole.error(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\tprocessDependencyForResolving(dep);\n\t\t};\n\n\t\t/**\n\t\t * @param {Dependency} dep dependency\n\t\t * @returns {void}\n\t\t */\n\t\tconst processDependencyForResolving = dep => {\n\t\t\tconst resourceIdent = dep.getResourceIdentifier();\n\t\t\tif (resourceIdent !== undefined && resourceIdent !== null) {\n\t\t\t\tconst category = dep.category;\n\t\t\t\tconst constructor = /** @type {DepConstructor} */ (dep.constructor);\n\t\t\t\tif (factoryCacheKey === constructor) {\n\t\t\t\t\t// Fast path 1: same constructor as prev item\n\t\t\t\t\tif (listCacheKey1 === category && listCacheKey2 === resourceIdent) {\n\t\t\t\t\t\t// Super fast path 1: also same resource\n\t\t\t\t\t\tlistCacheValue.push(dep);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconst factory = this.dependencyFactories.get(constructor);\n\t\t\t\t\tif (factory === undefined) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`No module factory available for dependency type: ${constructor.name}`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (factoryCacheKey2 === factory) {\n\t\t\t\t\t\t// Fast path 2: same factory as prev item\n\t\t\t\t\t\tfactoryCacheKey = constructor;\n\t\t\t\t\t\tif (listCacheKey1 === category && listCacheKey2 === resourceIdent) {\n\t\t\t\t\t\t\t// Super fast path 2: also same resource\n\t\t\t\t\t\t\tlistCacheValue.push(dep);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Slow path\n\t\t\t\t\t\tif (factoryCacheKey2 !== undefined) {\n\t\t\t\t\t\t\t// Archive last cache entry\n\t\t\t\t\t\t\tif (dependencies === undefined) dependencies = new Map();\n\t\t\t\t\t\t\tdependencies.set(factoryCacheKey2, factoryCacheValue);\n\t\t\t\t\t\t\tfactoryCacheValue = dependencies.get(factory);\n\t\t\t\t\t\t\tif (factoryCacheValue === undefined) {\n\t\t\t\t\t\t\t\tfactoryCacheValue = new Map();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfactoryCacheValue = new Map();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfactoryCacheKey = constructor;\n\t\t\t\t\t\tfactoryCacheKey2 = factory;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Here webpack is using heuristic that assumes\n\t\t\t\t// mostly esm dependencies would be used\n\t\t\t\t// so we don't allocate extra string for them\n\t\t\t\tconst cacheKey =\n\t\t\t\t\tcategory === esmDependencyCategory\n\t\t\t\t\t\t? resourceIdent\n\t\t\t\t\t\t: `${category}${resourceIdent}`;\n\t\t\t\tlet list = factoryCacheValue.get(cacheKey);\n\t\t\t\tif (list === undefined) {\n\t\t\t\t\tfactoryCacheValue.set(cacheKey, (list = []));\n\t\t\t\t\tsortedDependencies.push({\n\t\t\t\t\t\tfactory: factoryCacheKey2,\n\t\t\t\t\t\tdependencies: list,\n\t\t\t\t\t\tcontext: dep.getContext(),\n\t\t\t\t\t\toriginModule: module\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlist.push(dep);\n\t\t\t\tlistCacheKey1 = category;\n\t\t\t\tlistCacheKey2 = resourceIdent;\n\t\t\t\tlistCacheValue = list;\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\t/** @type {DependenciesBlock[]} */\n\t\t\tconst queue = [module];\n\t\t\tdo {\n\t\t\t\tconst block = queue.pop();\n\t\t\t\tif (block.dependencies) {\n\t\t\t\t\tcurrentBlock = block;\n\t\t\t\t\tlet i = 0;\n\t\t\t\t\tfor (const dep of block.dependencies) processDependency(dep, i++);\n\t\t\t\t}\n\t\t\t\tif (block.blocks) {\n\t\t\t\t\tfor (const b of block.blocks) queue.push(b);\n\t\t\t\t}\n\t\t\t} while (queue.length !== 0);\n\t\t} catch (e) {\n\t\t\treturn callback(e);\n\t\t}\n\n\t\tif (--inProgressSorting === 0) onDependenciesSorted();\n\t}\n\n\t_handleNewModuleFromUnsafeCache(originModule, dependency, module, callback) {\n\t\tconst moduleGraph = this.moduleGraph;\n\n\t\tmoduleGraph.setResolvedModule(originModule, dependency, module);\n\n\t\tmoduleGraph.setIssuerIfUnset(\n\t\t\tmodule,\n\t\t\toriginModule !== undefined ? originModule : null\n\t\t);\n\n\t\tthis._modules.set(module.identifier(), module);\n\t\tthis.modules.add(module);\n\t\tif (this._backCompat)\n\t\t\tModuleGraph.setModuleGraphForModule(module, this.moduleGraph);\n\n\t\tthis._handleModuleBuildAndDependencies(\n\t\t\toriginModule,\n\t\t\tmodule,\n\t\t\ttrue,\n\t\t\tcallback\n\t\t);\n\t}\n\n\t_handleExistingModuleFromUnsafeCache(originModule, dependency, module) {\n\t\tconst moduleGraph = this.moduleGraph;\n\n\t\tmoduleGraph.setResolvedModule(originModule, dependency, module);\n\t}\n\n\t/**\n\t * @typedef {Object} HandleModuleCreationOptions\n\t * @property {ModuleFactory} factory\n\t * @property {Dependency[]} dependencies\n\t * @property {Module | null} originModule\n\t * @property {Partial<ModuleFactoryCreateDataContextInfo>=} contextInfo\n\t * @property {string=} context\n\t * @property {boolean=} recursive recurse into dependencies of the created module\n\t * @property {boolean=} connectOrigin connect the resolved module with the origin module\n\t */\n\n\t/**\n\t * @param {HandleModuleCreationOptions} options options object\n\t * @param {ModuleCallback} callback callback\n\t * @returns {void}\n\t */\n\thandleModuleCreation(\n\t\t{\n\t\t\tfactory,\n\t\t\tdependencies,\n\t\t\toriginModule,\n\t\t\tcontextInfo,\n\t\t\tcontext,\n\t\t\trecursive = true,\n\t\t\tconnectOrigin = recursive\n\t\t},\n\t\tcallback\n\t) {\n\t\tconst moduleGraph = this.moduleGraph;\n\n\t\tconst currentProfile = this.profile ? new ModuleProfile() : undefined;\n\n\t\tthis.factorizeModule(\n\t\t\t{\n\t\t\t\tcurrentProfile,\n\t\t\t\tfactory,\n\t\t\t\tdependencies,\n\t\t\t\tfactoryResult: true,\n\t\t\t\toriginModule,\n\t\t\t\tcontextInfo,\n\t\t\t\tcontext\n\t\t\t},\n\t\t\t(err, factoryResult) => {\n\t\t\t\tconst applyFactoryResultDependencies = () => {\n\t\t\t\t\tconst { fileDependencies, contextDependencies, missingDependencies } =\n\t\t\t\t\t\tfactoryResult;\n\t\t\t\t\tif (fileDependencies) {\n\t\t\t\t\t\tthis.fileDependencies.addAll(fileDependencies);\n\t\t\t\t\t}\n\t\t\t\t\tif (contextDependencies) {\n\t\t\t\t\t\tthis.contextDependencies.addAll(contextDependencies);\n\t\t\t\t\t}\n\t\t\t\t\tif (missingDependencies) {\n\t\t\t\t\t\tthis.missingDependencies.addAll(missingDependencies);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tif (err) {\n\t\t\t\t\tif (factoryResult) applyFactoryResultDependencies();\n\t\t\t\t\tif (dependencies.every(d => d.optional)) {\n\t\t\t\t\t\tthis.warnings.push(err);\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.errors.push(err);\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst newModule = factoryResult.module;\n\n\t\t\t\tif (!newModule) {\n\t\t\t\t\tapplyFactoryResultDependencies();\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\n\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\tmoduleGraph.setProfile(newModule, currentProfile);\n\t\t\t\t}\n\n\t\t\t\tthis.addModule(newModule, (err, module) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tapplyFactoryResultDependencies();\n\t\t\t\t\t\tif (!err.module) {\n\t\t\t\t\t\t\terr.module = module;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.errors.push(err);\n\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tthis._unsafeCache &&\n\t\t\t\t\t\tfactoryResult.cacheable !== false &&\n\t\t\t\t\t\t/** @type {any} */ (module).restoreFromUnsafeCache &&\n\t\t\t\t\t\tthis._unsafeCachePredicate(module)\n\t\t\t\t\t) {\n\t\t\t\t\t\tconst unsafeCacheableModule =\n\t\t\t\t\t\t\t/** @type {Module & { restoreFromUnsafeCache: Function }} */ (\n\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tfor (let i = 0; i < dependencies.length; i++) {\n\t\t\t\t\t\t\tconst dependency = dependencies[i];\n\t\t\t\t\t\t\tmoduleGraph.setResolvedModule(\n\t\t\t\t\t\t\t\tconnectOrigin ? originModule : null,\n\t\t\t\t\t\t\t\tdependency,\n\t\t\t\t\t\t\t\tunsafeCacheableModule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tunsafeCacheDependencies.set(dependency, unsafeCacheableModule);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!unsafeCacheData.has(unsafeCacheableModule)) {\n\t\t\t\t\t\t\tunsafeCacheData.set(\n\t\t\t\t\t\t\t\tunsafeCacheableModule,\n\t\t\t\t\t\t\t\tunsafeCacheableModule.getUnsafeCacheData()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tapplyFactoryResultDependencies();\n\t\t\t\t\t\tfor (let i = 0; i < dependencies.length; i++) {\n\t\t\t\t\t\t\tconst dependency = dependencies[i];\n\t\t\t\t\t\t\tmoduleGraph.setResolvedModule(\n\t\t\t\t\t\t\t\tconnectOrigin ? originModule : null,\n\t\t\t\t\t\t\t\tdependency,\n\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmoduleGraph.setIssuerIfUnset(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\toriginModule !== undefined ? originModule : null\n\t\t\t\t\t);\n\t\t\t\t\tif (module !== newModule) {\n\t\t\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\t\t\tconst otherProfile = moduleGraph.getProfile(module);\n\t\t\t\t\t\t\tif (otherProfile !== undefined) {\n\t\t\t\t\t\t\t\tcurrentProfile.mergeInto(otherProfile);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tmoduleGraph.setProfile(module, currentProfile);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._handleModuleBuildAndDependencies(\n\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\trecursive,\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n\n\t_handleModuleBuildAndDependencies(originModule, module, recursive, callback) {\n\t\t// Check for cycles when build is trigger inside another build\n\t\tlet creatingModuleDuringBuildSet = undefined;\n\t\tif (!recursive && this.buildQueue.isProcessing(originModule)) {\n\t\t\t// Track build dependency\n\t\t\tcreatingModuleDuringBuildSet =\n\t\t\t\tthis.creatingModuleDuringBuild.get(originModule);\n\t\t\tif (creatingModuleDuringBuildSet === undefined) {\n\t\t\t\tcreatingModuleDuringBuildSet = new Set();\n\t\t\t\tthis.creatingModuleDuringBuild.set(\n\t\t\t\t\toriginModule,\n\t\t\t\t\tcreatingModuleDuringBuildSet\n\t\t\t\t);\n\t\t\t}\n\t\t\tcreatingModuleDuringBuildSet.add(module);\n\n\t\t\t// When building is blocked by another module\n\t\t\t// search for a cycle, cancel the cycle by throwing\n\t\t\t// an error (otherwise this would deadlock)\n\t\t\tconst blockReasons = this.creatingModuleDuringBuild.get(module);\n\t\t\tif (blockReasons !== undefined) {\n\t\t\t\tconst set = new Set(blockReasons);\n\t\t\t\tfor (const item of set) {\n\t\t\t\t\tconst blockReasons = this.creatingModuleDuringBuild.get(item);\n\t\t\t\t\tif (blockReasons !== undefined) {\n\t\t\t\t\t\tfor (const m of blockReasons) {\n\t\t\t\t\t\t\tif (m === module) {\n\t\t\t\t\t\t\t\treturn callback(new BuildCycleError(module));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tset.add(m);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.buildModule(module, err => {\n\t\t\tif (creatingModuleDuringBuildSet !== undefined) {\n\t\t\t\tcreatingModuleDuringBuildSet.delete(module);\n\t\t\t}\n\t\t\tif (err) {\n\t\t\t\tif (!err.module) {\n\t\t\t\t\terr.module = module;\n\t\t\t\t}\n\t\t\t\tthis.errors.push(err);\n\n\t\t\t\treturn callback(err);\n\t\t\t}\n\n\t\t\tif (!recursive) {\n\t\t\t\tthis.processModuleDependenciesNonRecursive(module);\n\t\t\t\tcallback(null, module);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// This avoids deadlocks for circular dependencies\n\t\t\tif (this.processDependenciesQueue.isProcessing(module)) {\n\t\t\t\treturn callback(null, module);\n\t\t\t}\n\n\t\t\tthis.processModuleDependencies(module, err => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\tcallback(null, module);\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {FactorizeModuleOptions} options options object\n\t * @param {ModuleOrFactoryResultCallback} callback callback\n\t * @returns {void}\n\t */\n\t_factorizeModule(\n\t\t{\n\t\t\tcurrentProfile,\n\t\t\tfactory,\n\t\t\tdependencies,\n\t\t\toriginModule,\n\t\t\tfactoryResult,\n\t\t\tcontextInfo,\n\t\t\tcontext\n\t\t},\n\t\tcallback\n\t) {\n\t\tif (currentProfile !== undefined) {\n\t\t\tcurrentProfile.markFactoryStart();\n\t\t}\n\t\tfactory.create(\n\t\t\t{\n\t\t\t\tcontextInfo: {\n\t\t\t\t\tissuer: originModule ? originModule.nameForCondition() : \"\",\n\t\t\t\t\tissuerLayer: originModule ? originModule.layer : null,\n\t\t\t\t\tcompiler: this.compiler.name,\n\t\t\t\t\t...contextInfo\n\t\t\t\t},\n\t\t\t\tresolveOptions: originModule ? originModule.resolveOptions : undefined,\n\t\t\t\tcontext: context\n\t\t\t\t\t? context\n\t\t\t\t\t: originModule\n\t\t\t\t\t? originModule.context\n\t\t\t\t\t: this.compiler.context,\n\t\t\t\tdependencies: dependencies\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\tif (result) {\n\t\t\t\t\t// TODO webpack 6: remove\n\t\t\t\t\t// For backward-compat\n\t\t\t\t\tif (result.module === undefined && result instanceof Module) {\n\t\t\t\t\t\tresult = {\n\t\t\t\t\t\t\tmodule: result\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tif (!factoryResult) {\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\t\tmissingDependencies\n\t\t\t\t\t\t} = result;\n\t\t\t\t\t\tif (fileDependencies) {\n\t\t\t\t\t\t\tthis.fileDependencies.addAll(fileDependencies);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (contextDependencies) {\n\t\t\t\t\t\t\tthis.contextDependencies.addAll(contextDependencies);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (missingDependencies) {\n\t\t\t\t\t\t\tthis.missingDependencies.addAll(missingDependencies);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (err) {\n\t\t\t\t\tconst notFoundError = new ModuleNotFoundError(\n\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\terr,\n\t\t\t\t\t\tdependencies.map(d => d.loc).filter(Boolean)[0]\n\t\t\t\t\t);\n\t\t\t\t\treturn callback(notFoundError, factoryResult ? result : undefined);\n\t\t\t\t}\n\t\t\t\tif (!result) {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\n\t\t\t\tif (currentProfile !== undefined) {\n\t\t\t\t\tcurrentProfile.markFactoryEnd();\n\t\t\t\t}\n\n\t\t\t\tcallback(null, factoryResult ? result : result.module);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} context context string path\n\t * @param {Dependency} dependency dependency used to create Module chain\n\t * @param {ModuleCallback} callback callback for when module chain is complete\n\t * @returns {void} will throw if dependency instance is not a valid Dependency\n\t */\n\taddModuleChain(context, dependency, callback) {\n\t\treturn this.addModuleTree({ context, dependency }, callback);\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {string} options.context context string path\n\t * @param {Dependency} options.dependency dependency used to create Module chain\n\t * @param {Partial<ModuleFactoryCreateDataContextInfo>=} options.contextInfo additional context info for the root module\n\t * @param {ModuleCallback} callback callback for when module chain is complete\n\t * @returns {void} will throw if dependency instance is not a valid Dependency\n\t */\n\taddModuleTree({ context, dependency, contextInfo }, callback) {\n\t\tif (\n\t\t\ttypeof dependency !== \"object\" ||\n\t\t\tdependency === null ||\n\t\t\t!dependency.constructor\n\t\t) {\n\t\t\treturn callback(\n\t\t\t\tnew WebpackError(\"Parameter 'dependency' must be a Dependency\")\n\t\t\t);\n\t\t}\n\t\tconst Dep = /** @type {DepConstructor} */ (dependency.constructor);\n\t\tconst moduleFactory = this.dependencyFactories.get(Dep);\n\t\tif (!moduleFactory) {\n\t\t\treturn callback(\n\t\t\t\tnew WebpackError(\n\t\t\t\t\t`No dependency factory available for this dependency type: ${dependency.constructor.name}`\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tthis.handleModuleCreation(\n\t\t\t{\n\t\t\t\tfactory: moduleFactory,\n\t\t\t\tdependencies: [dependency],\n\t\t\t\toriginModule: null,\n\t\t\t\tcontextInfo,\n\t\t\t\tcontext\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\tif (err && this.bail) {\n\t\t\t\t\tcallback(err);\n\t\t\t\t\tthis.buildQueue.stop();\n\t\t\t\t\tthis.rebuildQueue.stop();\n\t\t\t\t\tthis.processDependenciesQueue.stop();\n\t\t\t\t\tthis.factorizeQueue.stop();\n\t\t\t\t} else if (!err && result) {\n\t\t\t\t\tcallback(null, result);\n\t\t\t\t} else {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} context context path for entry\n\t * @param {Dependency} entry entry dependency that should be followed\n\t * @param {string | EntryOptions} optionsOrName options or deprecated name of entry\n\t * @param {ModuleCallback} callback callback function\n\t * @returns {void} returns\n\t */\n\taddEntry(context, entry, optionsOrName, callback) {\n\t\t// TODO webpack 6 remove\n\t\tconst options =\n\t\t\ttypeof optionsOrName === \"object\"\n\t\t\t\t? optionsOrName\n\t\t\t\t: { name: optionsOrName };\n\n\t\tthis._addEntryItem(context, entry, \"dependencies\", options, callback);\n\t}\n\n\t/**\n\t * @param {string} context context path for entry\n\t * @param {Dependency} dependency dependency that should be followed\n\t * @param {EntryOptions} options options\n\t * @param {ModuleCallback} callback callback function\n\t * @returns {void} returns\n\t */\n\taddInclude(context, dependency, options, callback) {\n\t\tthis._addEntryItem(\n\t\t\tcontext,\n\t\t\tdependency,\n\t\t\t\"includeDependencies\",\n\t\t\toptions,\n\t\t\tcallback\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} context context path for entry\n\t * @param {Dependency} entry entry dependency that should be followed\n\t * @param {\"dependencies\" | \"includeDependencies\"} target type of entry\n\t * @param {EntryOptions} options options\n\t * @param {ModuleCallback} callback callback function\n\t * @returns {void} returns\n\t */\n\t_addEntryItem(context, entry, target, options, callback) {\n\t\tconst { name } = options;\n\t\tlet entryData =\n\t\t\tname !== undefined ? this.entries.get(name) : this.globalEntry;\n\t\tif (entryData === undefined) {\n\t\t\tentryData = {\n\t\t\t\tdependencies: [],\n\t\t\t\tincludeDependencies: [],\n\t\t\t\toptions: {\n\t\t\t\t\tname: undefined,\n\t\t\t\t\t...options\n\t\t\t\t}\n\t\t\t};\n\t\t\tentryData[target].push(entry);\n\t\t\tthis.entries.set(name, entryData);\n\t\t} else {\n\t\t\tentryData[target].push(entry);\n\t\t\tfor (const key of Object.keys(options)) {\n\t\t\t\tif (options[key] === undefined) continue;\n\t\t\t\tif (entryData.options[key] === options[key]) continue;\n\t\t\t\tif (\n\t\t\t\t\tArray.isArray(entryData.options[key]) &&\n\t\t\t\t\tArray.isArray(options[key]) &&\n\t\t\t\t\tarrayEquals(entryData.options[key], options[key])\n\t\t\t\t) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (entryData.options[key] === undefined) {\n\t\t\t\t\tentryData.options[key] = options[key];\n\t\t\t\t} else {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tnew WebpackError(\n\t\t\t\t\t\t\t`Conflicting entry option ${key} = ${entryData.options[key]} vs ${options[key]}`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.hooks.addEntry.call(entry, options);\n\n\t\tthis.addModuleTree(\n\t\t\t{\n\t\t\t\tcontext,\n\t\t\t\tdependency: entry,\n\t\t\t\tcontextInfo: entryData.options.layer\n\t\t\t\t\t? { issuerLayer: entryData.options.layer }\n\t\t\t\t\t: undefined\n\t\t\t},\n\t\t\t(err, module) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tthis.hooks.failedEntry.call(entry, options, err);\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\tthis.hooks.succeedEntry.call(entry, options, module);\n\t\t\t\treturn callback(null, module);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module module to be rebuilt\n\t * @param {ModuleCallback} callback callback when module finishes rebuilding\n\t * @returns {void}\n\t */\n\trebuildModule(module, callback) {\n\t\tthis.rebuildQueue.add(module, callback);\n\t}\n\n\t/**\n\t * @param {Module} module module to be rebuilt\n\t * @param {ModuleCallback} callback callback when module finishes rebuilding\n\t * @returns {void}\n\t */\n\t_rebuildModule(module, callback) {\n\t\tthis.hooks.rebuildModule.call(module);\n\t\tconst oldDependencies = module.dependencies.slice();\n\t\tconst oldBlocks = module.blocks.slice();\n\t\tmodule.invalidateBuild();\n\t\tthis.buildQueue.invalidate(module);\n\t\tthis.buildModule(module, err => {\n\t\t\tif (err) {\n\t\t\t\treturn this.hooks.finishRebuildingModule.callAsync(module, err2 => {\n\t\t\t\t\tif (err2) {\n\t\t\t\t\t\tcallback(\n\t\t\t\t\t\t\tmakeWebpackError(err2, \"Compilation.hooks.finishRebuildingModule\")\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tcallback(err);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthis.processDependenciesQueue.invalidate(module);\n\t\t\tthis.moduleGraph.unfreeze();\n\t\t\tthis.processModuleDependencies(module, err => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tthis.removeReasonsOfDependencyBlock(module, {\n\t\t\t\t\tdependencies: oldDependencies,\n\t\t\t\t\tblocks: oldBlocks\n\t\t\t\t});\n\t\t\t\tthis.hooks.finishRebuildingModule.callAsync(module, err2 => {\n\t\t\t\t\tif (err2) {\n\t\t\t\t\t\tcallback(\n\t\t\t\t\t\t\tmakeWebpackError(err2, \"Compilation.hooks.finishRebuildingModule\")\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tcallback(null, module);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t}\n\n\t_computeAffectedModules(modules) {\n\t\tconst moduleMemCacheCache = this.compiler.moduleMemCaches;\n\t\tif (!moduleMemCacheCache) return;\n\t\tif (!this.moduleMemCaches) {\n\t\t\tthis.moduleMemCaches = new Map();\n\t\t\tthis.moduleGraph.setModuleMemCaches(this.moduleMemCaches);\n\t\t}\n\t\tconst { moduleGraph, moduleMemCaches } = this;\n\t\tconst affectedModules = new Set();\n\t\tconst infectedModules = new Set();\n\t\tlet statNew = 0;\n\t\tlet statChanged = 0;\n\t\tlet statUnchanged = 0;\n\t\tlet statReferencesChanged = 0;\n\t\tlet statWithoutBuild = 0;\n\n\t\tconst computeReferences = module => {\n\t\t\t/** @type {WeakMap<Dependency, Module>} */\n\t\t\tlet references = undefined;\n\t\t\tfor (const connection of moduleGraph.getOutgoingConnections(module)) {\n\t\t\t\tconst d = connection.dependency;\n\t\t\t\tconst m = connection.module;\n\t\t\t\tif (!d || !m || unsafeCacheDependencies.has(d)) continue;\n\t\t\t\tif (references === undefined) references = new WeakMap();\n\t\t\t\treferences.set(d, m);\n\t\t\t}\n\t\t\treturn references;\n\t\t};\n\n\t\t/**\n\t\t * @param {Module} module the module\n\t\t * @param {WeakMap<Dependency, Module>} references references\n\t\t * @returns {boolean} true, when the references differ\n\t\t */\n\t\tconst compareReferences = (module, references) => {\n\t\t\tif (references === undefined) return true;\n\t\t\tfor (const connection of moduleGraph.getOutgoingConnections(module)) {\n\t\t\t\tconst d = connection.dependency;\n\t\t\t\tif (!d) continue;\n\t\t\t\tconst entry = references.get(d);\n\t\t\t\tif (entry === undefined) continue;\n\t\t\t\tif (entry !== connection.module) return false;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\tconst modulesWithoutCache = new Set(modules);\n\t\tfor (const [module, cachedMemCache] of moduleMemCacheCache) {\n\t\t\tif (modulesWithoutCache.has(module)) {\n\t\t\t\tconst buildInfo = module.buildInfo;\n\t\t\t\tif (buildInfo) {\n\t\t\t\t\tif (cachedMemCache.buildInfo !== buildInfo) {\n\t\t\t\t\t\t// use a new one\n\t\t\t\t\t\tconst memCache = new WeakTupleMap();\n\t\t\t\t\t\tmoduleMemCaches.set(module, memCache);\n\t\t\t\t\t\taffectedModules.add(module);\n\t\t\t\t\t\tcachedMemCache.buildInfo = buildInfo;\n\t\t\t\t\t\tcachedMemCache.references = computeReferences(module);\n\t\t\t\t\t\tcachedMemCache.memCache = memCache;\n\t\t\t\t\t\tstatChanged++;\n\t\t\t\t\t} else if (!compareReferences(module, cachedMemCache.references)) {\n\t\t\t\t\t\t// use a new one\n\t\t\t\t\t\tconst memCache = new WeakTupleMap();\n\t\t\t\t\t\tmoduleMemCaches.set(module, memCache);\n\t\t\t\t\t\taffectedModules.add(module);\n\t\t\t\t\t\tcachedMemCache.references = computeReferences(module);\n\t\t\t\t\t\tcachedMemCache.memCache = memCache;\n\t\t\t\t\t\tstatReferencesChanged++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// keep the old mem cache\n\t\t\t\t\t\tmoduleMemCaches.set(module, cachedMemCache.memCache);\n\t\t\t\t\t\tstatUnchanged++;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tinfectedModules.add(module);\n\t\t\t\t\tmoduleMemCacheCache.delete(module);\n\t\t\t\t\tstatWithoutBuild++;\n\t\t\t\t}\n\t\t\t\tmodulesWithoutCache.delete(module);\n\t\t\t} else {\n\t\t\t\tmoduleMemCacheCache.delete(module);\n\t\t\t}\n\t\t}\n\n\t\tfor (const module of modulesWithoutCache) {\n\t\t\tconst buildInfo = module.buildInfo;\n\t\t\tif (buildInfo) {\n\t\t\t\t// create a new entry\n\t\t\t\tconst memCache = new WeakTupleMap();\n\t\t\t\tmoduleMemCacheCache.set(module, {\n\t\t\t\t\tbuildInfo,\n\t\t\t\t\treferences: computeReferences(module),\n\t\t\t\t\tmemCache\n\t\t\t\t});\n\t\t\t\tmoduleMemCaches.set(module, memCache);\n\t\t\t\taffectedModules.add(module);\n\t\t\t\tstatNew++;\n\t\t\t} else {\n\t\t\t\tinfectedModules.add(module);\n\t\t\t\tstatWithoutBuild++;\n\t\t\t}\n\t\t}\n\n\t\tconst reduceAffectType = connections => {\n\t\t\tlet affected = false;\n\t\t\tfor (const { dependency } of connections) {\n\t\t\t\tif (!dependency) continue;\n\t\t\t\tconst type = dependency.couldAffectReferencingModule();\n\t\t\t\tif (type === Dependency.TRANSITIVE) return Dependency.TRANSITIVE;\n\t\t\t\tif (type === false) continue;\n\t\t\t\taffected = true;\n\t\t\t}\n\t\t\treturn affected;\n\t\t};\n\t\tconst directOnlyInfectedModules = new Set();\n\t\tfor (const module of infectedModules) {\n\t\t\tfor (const [\n\t\t\t\treferencingModule,\n\t\t\t\tconnections\n\t\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(module)) {\n\t\t\t\tif (!referencingModule) continue;\n\t\t\t\tif (infectedModules.has(referencingModule)) continue;\n\t\t\t\tconst type = reduceAffectType(connections);\n\t\t\t\tif (!type) continue;\n\t\t\t\tif (type === true) {\n\t\t\t\t\tdirectOnlyInfectedModules.add(referencingModule);\n\t\t\t\t} else {\n\t\t\t\t\tinfectedModules.add(referencingModule);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (const module of directOnlyInfectedModules) infectedModules.add(module);\n\t\tconst directOnlyAffectModules = new Set();\n\t\tfor (const module of affectedModules) {\n\t\t\tfor (const [\n\t\t\t\treferencingModule,\n\t\t\t\tconnections\n\t\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(module)) {\n\t\t\t\tif (!referencingModule) continue;\n\t\t\t\tif (infectedModules.has(referencingModule)) continue;\n\t\t\t\tif (affectedModules.has(referencingModule)) continue;\n\t\t\t\tconst type = reduceAffectType(connections);\n\t\t\t\tif (!type) continue;\n\t\t\t\tif (type === true) {\n\t\t\t\t\tdirectOnlyAffectModules.add(referencingModule);\n\t\t\t\t} else {\n\t\t\t\t\taffectedModules.add(referencingModule);\n\t\t\t\t}\n\t\t\t\tconst memCache = new WeakTupleMap();\n\t\t\t\tconst cache = moduleMemCacheCache.get(referencingModule);\n\t\t\t\tcache.memCache = memCache;\n\t\t\t\tmoduleMemCaches.set(referencingModule, memCache);\n\t\t\t}\n\t\t}\n\t\tfor (const module of directOnlyAffectModules) affectedModules.add(module);\n\t\tthis.logger.log(\n\t\t\t`${Math.round(\n\t\t\t\t(100 * (affectedModules.size + infectedModules.size)) /\n\t\t\t\t\tthis.modules.size\n\t\t\t)}% (${affectedModules.size} affected + ${\n\t\t\t\tinfectedModules.size\n\t\t\t} infected of ${\n\t\t\t\tthis.modules.size\n\t\t\t}) modules flagged as affected (${statNew} new modules, ${statChanged} changed, ${statReferencesChanged} references changed, ${statUnchanged} unchanged, ${statWithoutBuild} were not built)`\n\t\t);\n\t}\n\n\t_computeAffectedModulesWithChunkGraph() {\n\t\tconst { moduleMemCaches } = this;\n\t\tif (!moduleMemCaches) return;\n\t\tconst moduleMemCaches2 = (this.moduleMemCaches2 = new Map());\n\t\tconst { moduleGraph, chunkGraph } = this;\n\t\tconst key = \"memCache2\";\n\t\tlet statUnchanged = 0;\n\t\tlet statChanged = 0;\n\t\tlet statNew = 0;\n\t\t/**\n\t\t * @param {Module} module module\n\t\t * @returns {{ id: string | number, modules?: Map<Module, string | number | undefined>, blocks?: (string | number)[] }} references\n\t\t */\n\t\tconst computeReferences = module => {\n\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\t/** @type {Map<Module, string | number | undefined>} */\n\t\t\tlet modules = undefined;\n\t\t\t/** @type {(string | number)[] | undefined} */\n\t\t\tlet blocks = undefined;\n\t\t\tconst outgoing = moduleGraph.getOutgoingConnectionsByModule(module);\n\t\t\tif (outgoing !== undefined) {\n\t\t\t\tfor (const m of outgoing.keys()) {\n\t\t\t\t\tif (!m) continue;\n\t\t\t\t\tif (modules === undefined) modules = new Map();\n\t\t\t\t\tmodules.set(m, chunkGraph.getModuleId(m));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (module.blocks.length > 0) {\n\t\t\t\tblocks = [];\n\t\t\t\tconst queue = Array.from(module.blocks);\n\t\t\t\tfor (const block of queue) {\n\t\t\t\t\tconst chunkGroup = chunkGraph.getBlockChunkGroup(block);\n\t\t\t\t\tif (chunkGroup) {\n\t\t\t\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\t\t\t\tblocks.push(chunk.id);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tblocks.push(null);\n\t\t\t\t\t}\n\t\t\t\t\tqueue.push.apply(queue, block.blocks);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn { id, modules, blocks };\n\t\t};\n\t\t/**\n\t\t * @param {Module} module module\n\t\t * @param {Object} references references\n\t\t * @param {string | number} references.id id\n\t\t * @param {Map<Module, string | number>=} references.modules modules\n\t\t * @param {(string | number)[]=} references.blocks blocks\n\t\t * @returns {boolean} ok?\n\t\t */\n\t\tconst compareReferences = (module, { id, modules, blocks }) => {\n\t\t\tif (id !== chunkGraph.getModuleId(module)) return false;\n\t\t\tif (modules !== undefined) {\n\t\t\t\tfor (const [module, id] of modules) {\n\t\t\t\t\tif (chunkGraph.getModuleId(module) !== id) return false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (blocks !== undefined) {\n\t\t\t\tconst queue = Array.from(module.blocks);\n\t\t\t\tlet i = 0;\n\t\t\t\tfor (const block of queue) {\n\t\t\t\t\tconst chunkGroup = chunkGraph.getBlockChunkGroup(block);\n\t\t\t\t\tif (chunkGroup) {\n\t\t\t\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\t\t\t\tif (i >= blocks.length || blocks[i++] !== chunk.id) return false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (i >= blocks.length || blocks[i++] !== null) return false;\n\t\t\t\t\t}\n\t\t\t\t\tqueue.push.apply(queue, block.blocks);\n\t\t\t\t}\n\t\t\t\tif (i !== blocks.length) return false;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\tfor (const [module, memCache] of moduleMemCaches) {\n\t\t\t/** @type {{ references: { id: string | number, modules?: Map<Module, string | number | undefined>, blocks?: (string | number)[]}, memCache: WeakTupleMap<any[], any> }} */\n\t\t\tconst cache = memCache.get(key);\n\t\t\tif (cache === undefined) {\n\t\t\t\tconst memCache2 = new WeakTupleMap();\n\t\t\t\tmemCache.set(key, {\n\t\t\t\t\treferences: computeReferences(module),\n\t\t\t\t\tmemCache: memCache2\n\t\t\t\t});\n\t\t\t\tmoduleMemCaches2.set(module, memCache2);\n\t\t\t\tstatNew++;\n\t\t\t} else if (!compareReferences(module, cache.references)) {\n\t\t\t\tconst memCache = new WeakTupleMap();\n\t\t\t\tcache.references = computeReferences(module);\n\t\t\t\tcache.memCache = memCache;\n\t\t\t\tmoduleMemCaches2.set(module, memCache);\n\t\t\t\tstatChanged++;\n\t\t\t} else {\n\t\t\t\tmoduleMemCaches2.set(module, cache.memCache);\n\t\t\t\tstatUnchanged++;\n\t\t\t}\n\t\t}\n\n\t\tthis.logger.log(\n\t\t\t`${Math.round(\n\t\t\t\t(100 * statChanged) / (statNew + statChanged + statUnchanged)\n\t\t\t)}% modules flagged as affected by chunk graph (${statNew} new modules, ${statChanged} changed, ${statUnchanged} unchanged)`\n\t\t);\n\t}\n\n\tfinish(callback) {\n\t\tthis.factorizeQueue.clear();\n\t\tif (this.profile) {\n\t\t\tthis.logger.time(\"finish module profiles\");\n\t\t\tconst ParallelismFactorCalculator = __webpack_require__(/*! ./util/ParallelismFactorCalculator */ \"./node_modules/webpack/lib/util/ParallelismFactorCalculator.js\");\n\t\t\tconst p = new ParallelismFactorCalculator();\n\t\t\tconst moduleGraph = this.moduleGraph;\n\t\t\tconst modulesWithProfiles = new Map();\n\t\t\tfor (const module of this.modules) {\n\t\t\t\tconst profile = moduleGraph.getProfile(module);\n\t\t\t\tif (!profile) continue;\n\t\t\t\tmodulesWithProfiles.set(module, profile);\n\t\t\t\tp.range(\n\t\t\t\t\tprofile.buildingStartTime,\n\t\t\t\t\tprofile.buildingEndTime,\n\t\t\t\t\tf => (profile.buildingParallelismFactor = f)\n\t\t\t\t);\n\t\t\t\tp.range(\n\t\t\t\t\tprofile.factoryStartTime,\n\t\t\t\t\tprofile.factoryEndTime,\n\t\t\t\t\tf => (profile.factoryParallelismFactor = f)\n\t\t\t\t);\n\t\t\t\tp.range(\n\t\t\t\t\tprofile.integrationStartTime,\n\t\t\t\t\tprofile.integrationEndTime,\n\t\t\t\t\tf => (profile.integrationParallelismFactor = f)\n\t\t\t\t);\n\t\t\t\tp.range(\n\t\t\t\t\tprofile.storingStartTime,\n\t\t\t\t\tprofile.storingEndTime,\n\t\t\t\t\tf => (profile.storingParallelismFactor = f)\n\t\t\t\t);\n\t\t\t\tp.range(\n\t\t\t\t\tprofile.restoringStartTime,\n\t\t\t\t\tprofile.restoringEndTime,\n\t\t\t\t\tf => (profile.restoringParallelismFactor = f)\n\t\t\t\t);\n\t\t\t\tif (profile.additionalFactoryTimes) {\n\t\t\t\t\tfor (const { start, end } of profile.additionalFactoryTimes) {\n\t\t\t\t\t\tconst influence = (end - start) / profile.additionalFactories;\n\t\t\t\t\t\tp.range(\n\t\t\t\t\t\t\tstart,\n\t\t\t\t\t\t\tend,\n\t\t\t\t\t\t\tf =>\n\t\t\t\t\t\t\t\t(profile.additionalFactoriesParallelismFactor += f * influence)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tp.calculate();\n\n\t\t\tconst logger = this.getLogger(\"webpack.Compilation.ModuleProfile\");\n\t\t\tconst logByValue = (value, msg) => {\n\t\t\t\tif (value > 1000) {\n\t\t\t\t\tlogger.error(msg);\n\t\t\t\t} else if (value > 500) {\n\t\t\t\t\tlogger.warn(msg);\n\t\t\t\t} else if (value > 200) {\n\t\t\t\t\tlogger.info(msg);\n\t\t\t\t} else if (value > 30) {\n\t\t\t\t\tlogger.log(msg);\n\t\t\t\t} else {\n\t\t\t\t\tlogger.debug(msg);\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst logNormalSummary = (category, getDuration, getParallelism) => {\n\t\t\t\tlet sum = 0;\n\t\t\t\tlet max = 0;\n\t\t\t\tfor (const [module, profile] of modulesWithProfiles) {\n\t\t\t\t\tconst p = getParallelism(profile);\n\t\t\t\t\tconst d = getDuration(profile);\n\t\t\t\t\tif (d === 0 || p === 0) continue;\n\t\t\t\t\tconst t = d / p;\n\t\t\t\t\tsum += t;\n\t\t\t\t\tif (t <= 10) continue;\n\t\t\t\t\tlogByValue(\n\t\t\t\t\t\tt,\n\t\t\t\t\t\t` | ${Math.round(t)} ms${\n\t\t\t\t\t\t\tp >= 1.1 ? ` (parallelism ${Math.round(p * 10) / 10})` : \"\"\n\t\t\t\t\t\t} ${category} > ${module.readableIdentifier(this.requestShortener)}`\n\t\t\t\t\t);\n\t\t\t\t\tmax = Math.max(max, t);\n\t\t\t\t}\n\t\t\t\tif (sum <= 10) return;\n\t\t\t\tlogByValue(\n\t\t\t\t\tMath.max(sum / 10, max),\n\t\t\t\t\t`${Math.round(sum)} ms ${category}`\n\t\t\t\t);\n\t\t\t};\n\t\t\tconst logByLoadersSummary = (category, getDuration, getParallelism) => {\n\t\t\t\tconst map = new Map();\n\t\t\t\tfor (const [module, profile] of modulesWithProfiles) {\n\t\t\t\t\tconst list = provide(\n\t\t\t\t\t\tmap,\n\t\t\t\t\t\tmodule.type + \"!\" + module.identifier().replace(/(!|^)[^!]*$/, \"\"),\n\t\t\t\t\t\t() => []\n\t\t\t\t\t);\n\t\t\t\t\tlist.push({ module, profile });\n\t\t\t\t}\n\n\t\t\t\tlet sum = 0;\n\t\t\t\tlet max = 0;\n\t\t\t\tfor (const [key, modules] of map) {\n\t\t\t\t\tlet innerSum = 0;\n\t\t\t\t\tlet innerMax = 0;\n\t\t\t\t\tfor (const { module, profile } of modules) {\n\t\t\t\t\t\tconst p = getParallelism(profile);\n\t\t\t\t\t\tconst d = getDuration(profile);\n\t\t\t\t\t\tif (d === 0 || p === 0) continue;\n\t\t\t\t\t\tconst t = d / p;\n\t\t\t\t\t\tinnerSum += t;\n\t\t\t\t\t\tif (t <= 10) continue;\n\t\t\t\t\t\tlogByValue(\n\t\t\t\t\t\t\tt,\n\t\t\t\t\t\t\t` | | ${Math.round(t)} ms${\n\t\t\t\t\t\t\t\tp >= 1.1 ? ` (parallelism ${Math.round(p * 10) / 10})` : \"\"\n\t\t\t\t\t\t\t} ${category} > ${module.readableIdentifier(\n\t\t\t\t\t\t\t\tthis.requestShortener\n\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinnerMax = Math.max(innerMax, t);\n\t\t\t\t\t}\n\t\t\t\t\tsum += innerSum;\n\t\t\t\t\tif (innerSum <= 10) continue;\n\t\t\t\t\tconst idx = key.indexOf(\"!\");\n\t\t\t\t\tconst loaders = key.slice(idx + 1);\n\t\t\t\t\tconst moduleType = key.slice(0, idx);\n\t\t\t\t\tconst t = Math.max(innerSum / 10, innerMax);\n\t\t\t\t\tlogByValue(\n\t\t\t\t\t\tt,\n\t\t\t\t\t\t` | ${Math.round(innerSum)} ms ${category} > ${\n\t\t\t\t\t\t\tloaders\n\t\t\t\t\t\t\t\t? `${\n\t\t\t\t\t\t\t\t\t\tmodules.length\n\t\t\t\t\t\t\t\t } x ${moduleType} with ${this.requestShortener.shorten(\n\t\t\t\t\t\t\t\t\t\tloaders\n\t\t\t\t\t\t\t\t )}`\n\t\t\t\t\t\t\t\t: `${modules.length} x ${moduleType}`\n\t\t\t\t\t\t}`\n\t\t\t\t\t);\n\t\t\t\t\tmax = Math.max(max, t);\n\t\t\t\t}\n\t\t\t\tif (sum <= 10) return;\n\t\t\t\tlogByValue(\n\t\t\t\t\tMath.max(sum / 10, max),\n\t\t\t\t\t`${Math.round(sum)} ms ${category}`\n\t\t\t\t);\n\t\t\t};\n\t\t\tlogNormalSummary(\n\t\t\t\t\"resolve to new modules\",\n\t\t\t\tp => p.factory,\n\t\t\t\tp => p.factoryParallelismFactor\n\t\t\t);\n\t\t\tlogNormalSummary(\n\t\t\t\t\"resolve to existing modules\",\n\t\t\t\tp => p.additionalFactories,\n\t\t\t\tp => p.additionalFactoriesParallelismFactor\n\t\t\t);\n\t\t\tlogNormalSummary(\n\t\t\t\t\"integrate modules\",\n\t\t\t\tp => p.restoring,\n\t\t\t\tp => p.restoringParallelismFactor\n\t\t\t);\n\t\t\tlogByLoadersSummary(\n\t\t\t\t\"build modules\",\n\t\t\t\tp => p.building,\n\t\t\t\tp => p.buildingParallelismFactor\n\t\t\t);\n\t\t\tlogNormalSummary(\n\t\t\t\t\"store modules\",\n\t\t\t\tp => p.storing,\n\t\t\t\tp => p.storingParallelismFactor\n\t\t\t);\n\t\t\tlogNormalSummary(\n\t\t\t\t\"restore modules\",\n\t\t\t\tp => p.restoring,\n\t\t\t\tp => p.restoringParallelismFactor\n\t\t\t);\n\t\t\tthis.logger.timeEnd(\"finish module profiles\");\n\t\t}\n\t\tthis.logger.time(\"compute affected modules\");\n\t\tthis._computeAffectedModules(this.modules);\n\t\tthis.logger.timeEnd(\"compute affected modules\");\n\t\tthis.logger.time(\"finish modules\");\n\t\tconst { modules, moduleMemCaches } = this;\n\t\tthis.hooks.finishModules.callAsync(modules, err => {\n\t\t\tthis.logger.timeEnd(\"finish modules\");\n\t\t\tif (err) return callback(err);\n\n\t\t\t// extract warnings and errors from modules\n\t\t\tthis.moduleGraph.freeze(\"dependency errors\");\n\t\t\t// TODO keep a cacheToken (= {}) for each module in the graph\n\t\t\t// create a new one per compilation and flag all updated files\n\t\t\t// and parents with it\n\t\t\tthis.logger.time(\"report dependency errors and warnings\");\n\t\t\tfor (const module of modules) {\n\t\t\t\t// TODO only run for modules with changed cacheToken\n\t\t\t\t// global WeakMap<CacheToken, WeakSet<Module>> to keep modules without errors/warnings\n\t\t\t\tconst memCache = moduleMemCaches && moduleMemCaches.get(module);\n\t\t\t\tif (memCache && memCache.get(\"noWarningsOrErrors\")) continue;\n\t\t\t\tlet hasProblems = this.reportDependencyErrorsAndWarnings(module, [\n\t\t\t\t\tmodule\n\t\t\t\t]);\n\t\t\t\tconst errors = module.getErrors();\n\t\t\t\tif (errors !== undefined) {\n\t\t\t\t\tfor (const error of errors) {\n\t\t\t\t\t\tif (!error.module) {\n\t\t\t\t\t\t\terror.module = module;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.errors.push(error);\n\t\t\t\t\t\thasProblems = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst warnings = module.getWarnings();\n\t\t\t\tif (warnings !== undefined) {\n\t\t\t\t\tfor (const warning of warnings) {\n\t\t\t\t\t\tif (!warning.module) {\n\t\t\t\t\t\t\twarning.module = module;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.warnings.push(warning);\n\t\t\t\t\t\thasProblems = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!hasProblems && memCache) memCache.set(\"noWarningsOrErrors\", true);\n\t\t\t}\n\t\t\tthis.moduleGraph.unfreeze();\n\t\t\tthis.logger.timeEnd(\"report dependency errors and warnings\");\n\n\t\t\tcallback();\n\t\t});\n\t}\n\n\tunseal() {\n\t\tthis.hooks.unseal.call();\n\t\tthis.chunks.clear();\n\t\tthis.chunkGroups.length = 0;\n\t\tthis.namedChunks.clear();\n\t\tthis.namedChunkGroups.clear();\n\t\tthis.entrypoints.clear();\n\t\tthis.additionalChunkAssets.length = 0;\n\t\tthis.assets = {};\n\t\tthis.assetsInfo.clear();\n\t\tthis.moduleGraph.removeAllModuleAttributes();\n\t\tthis.moduleGraph.unfreeze();\n\t\tthis.moduleMemCaches2 = undefined;\n\t}\n\n\t/**\n\t * @param {Callback} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\tseal(callback) {\n\t\tconst finalCallback = err => {\n\t\t\tthis.factorizeQueue.clear();\n\t\t\tthis.buildQueue.clear();\n\t\t\tthis.rebuildQueue.clear();\n\t\t\tthis.processDependenciesQueue.clear();\n\t\t\tthis.addModuleQueue.clear();\n\t\t\treturn callback(err);\n\t\t};\n\t\tconst chunkGraph = new ChunkGraph(\n\t\t\tthis.moduleGraph,\n\t\t\tthis.outputOptions.hashFunction\n\t\t);\n\t\tthis.chunkGraph = chunkGraph;\n\n\t\tif (this._backCompat) {\n\t\t\tfor (const module of this.modules) {\n\t\t\t\tChunkGraph.setChunkGraphForModule(module, chunkGraph);\n\t\t\t}\n\t\t}\n\n\t\tthis.hooks.seal.call();\n\n\t\tthis.logger.time(\"optimize dependencies\");\n\t\twhile (this.hooks.optimizeDependencies.call(this.modules)) {\n\t\t\t/* empty */\n\t\t}\n\t\tthis.hooks.afterOptimizeDependencies.call(this.modules);\n\t\tthis.logger.timeEnd(\"optimize dependencies\");\n\n\t\tthis.logger.time(\"create chunks\");\n\t\tthis.hooks.beforeChunks.call();\n\t\tthis.moduleGraph.freeze(\"seal\");\n\t\t/** @type {Map<Entrypoint, Module[]>} */\n\t\tconst chunkGraphInit = new Map();\n\t\tfor (const [name, { dependencies, includeDependencies, options }] of this\n\t\t\t.entries) {\n\t\t\tconst chunk = this.addChunk(name);\n\t\t\tif (options.filename) {\n\t\t\t\tchunk.filenameTemplate = options.filename;\n\t\t\t}\n\t\t\tconst entrypoint = new Entrypoint(options);\n\t\t\tif (!options.dependOn && !options.runtime) {\n\t\t\t\tentrypoint.setRuntimeChunk(chunk);\n\t\t\t}\n\t\t\tentrypoint.setEntrypointChunk(chunk);\n\t\t\tthis.namedChunkGroups.set(name, entrypoint);\n\t\t\tthis.entrypoints.set(name, entrypoint);\n\t\t\tthis.chunkGroups.push(entrypoint);\n\t\t\tconnectChunkGroupAndChunk(entrypoint, chunk);\n\n\t\t\tconst entryModules = new Set();\n\t\t\tfor (const dep of [...this.globalEntry.dependencies, ...dependencies]) {\n\t\t\t\tentrypoint.addOrigin(null, { name }, /** @type {any} */ (dep).request);\n\n\t\t\t\tconst module = this.moduleGraph.getModule(dep);\n\t\t\t\tif (module) {\n\t\t\t\t\tchunkGraph.connectChunkAndEntryModule(chunk, module, entrypoint);\n\t\t\t\t\tentryModules.add(module);\n\t\t\t\t\tconst modulesList = chunkGraphInit.get(entrypoint);\n\t\t\t\t\tif (modulesList === undefined) {\n\t\t\t\t\t\tchunkGraphInit.set(entrypoint, [module]);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmodulesList.push(module);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.assignDepths(entryModules);\n\n\t\t\tconst mapAndSort = deps =>\n\t\t\t\tdeps\n\t\t\t\t\t.map(dep => this.moduleGraph.getModule(dep))\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.sort(compareModulesByIdentifier);\n\t\t\tconst includedModules = [\n\t\t\t\t...mapAndSort(this.globalEntry.includeDependencies),\n\t\t\t\t...mapAndSort(includeDependencies)\n\t\t\t];\n\n\t\t\tlet modulesList = chunkGraphInit.get(entrypoint);\n\t\t\tif (modulesList === undefined) {\n\t\t\t\tchunkGraphInit.set(entrypoint, (modulesList = []));\n\t\t\t}\n\t\t\tfor (const module of includedModules) {\n\t\t\t\tthis.assignDepth(module);\n\t\t\t\tmodulesList.push(module);\n\t\t\t}\n\t\t}\n\t\tconst runtimeChunks = new Set();\n\t\touter: for (const [\n\t\t\tname,\n\t\t\t{\n\t\t\t\toptions: { dependOn, runtime }\n\t\t\t}\n\t\t] of this.entries) {\n\t\t\tif (dependOn && runtime) {\n\t\t\t\tconst err =\n\t\t\t\t\tnew WebpackError(`Entrypoint '${name}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);\n\t\t\t\tconst entry = this.entrypoints.get(name);\n\t\t\t\terr.chunk = entry.getEntrypointChunk();\n\t\t\t\tthis.errors.push(err);\n\t\t\t}\n\t\t\tif (dependOn) {\n\t\t\t\tconst entry = this.entrypoints.get(name);\n\t\t\t\tconst referencedChunks = entry\n\t\t\t\t\t.getEntrypointChunk()\n\t\t\t\t\t.getAllReferencedChunks();\n\t\t\t\tconst dependOnEntries = [];\n\t\t\t\tfor (const dep of dependOn) {\n\t\t\t\t\tconst dependency = this.entrypoints.get(dep);\n\t\t\t\t\tif (!dependency) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Entry ${name} depends on ${dep}, but this entry was not found`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (referencedChunks.has(dependency.getEntrypointChunk())) {\n\t\t\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t\t\t`Entrypoints '${name}' and '${dep}' use 'dependOn' to depend on each other in a circular way.`\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst entryChunk = entry.getEntrypointChunk();\n\t\t\t\t\t\terr.chunk = entryChunk;\n\t\t\t\t\t\tthis.errors.push(err);\n\t\t\t\t\t\tentry.setRuntimeChunk(entryChunk);\n\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t}\n\t\t\t\t\tdependOnEntries.push(dependency);\n\t\t\t\t}\n\t\t\t\tfor (const dependency of dependOnEntries) {\n\t\t\t\t\tconnectChunkGroupParentAndChild(dependency, entry);\n\t\t\t\t}\n\t\t\t} else if (runtime) {\n\t\t\t\tconst entry = this.entrypoints.get(name);\n\t\t\t\tlet chunk = this.namedChunks.get(runtime);\n\t\t\t\tif (chunk) {\n\t\t\t\t\tif (!runtimeChunks.has(chunk)) {\n\t\t\t\t\t\tconst err =\n\t\t\t\t\t\t\tnew WebpackError(`Entrypoint '${name}' has a 'runtime' option which points to another entrypoint named '${runtime}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(\n\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t)}' instead to allow using entrypoint '${name}' within the runtime of entrypoint '${runtime}'? For this '${runtime}' must always be loaded when '${name}' is used.\nOr do you want to use the entrypoints '${name}' and '${runtime}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);\n\t\t\t\t\t\tconst entryChunk = entry.getEntrypointChunk();\n\t\t\t\t\t\terr.chunk = entryChunk;\n\t\t\t\t\t\tthis.errors.push(err);\n\t\t\t\t\t\tentry.setRuntimeChunk(entryChunk);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tchunk = this.addChunk(runtime);\n\t\t\t\t\tchunk.preventIntegration = true;\n\t\t\t\t\truntimeChunks.add(chunk);\n\t\t\t\t}\n\t\t\t\tentry.unshiftChunk(chunk);\n\t\t\t\tchunk.addGroup(entry);\n\t\t\t\tentry.setRuntimeChunk(chunk);\n\t\t\t}\n\t\t}\n\t\tbuildChunkGraph(this, chunkGraphInit);\n\t\tthis.hooks.afterChunks.call(this.chunks);\n\t\tthis.logger.timeEnd(\"create chunks\");\n\n\t\tthis.logger.time(\"optimize\");\n\t\tthis.hooks.optimize.call();\n\n\t\twhile (this.hooks.optimizeModules.call(this.modules)) {\n\t\t\t/* empty */\n\t\t}\n\t\tthis.hooks.afterOptimizeModules.call(this.modules);\n\n\t\twhile (this.hooks.optimizeChunks.call(this.chunks, this.chunkGroups)) {\n\t\t\t/* empty */\n\t\t}\n\t\tthis.hooks.afterOptimizeChunks.call(this.chunks, this.chunkGroups);\n\n\t\tthis.hooks.optimizeTree.callAsync(this.chunks, this.modules, err => {\n\t\t\tif (err) {\n\t\t\t\treturn finalCallback(\n\t\t\t\t\tmakeWebpackError(err, \"Compilation.hooks.optimizeTree\")\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthis.hooks.afterOptimizeTree.call(this.chunks, this.modules);\n\n\t\t\tthis.hooks.optimizeChunkModules.callAsync(\n\t\t\t\tthis.chunks,\n\t\t\t\tthis.modules,\n\t\t\t\terr => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\treturn finalCallback(\n\t\t\t\t\t\t\tmakeWebpackError(err, \"Compilation.hooks.optimizeChunkModules\")\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.hooks.afterOptimizeChunkModules.call(this.chunks, this.modules);\n\n\t\t\t\t\tconst shouldRecord = this.hooks.shouldRecord.call() !== false;\n\n\t\t\t\t\tthis.hooks.reviveModules.call(this.modules, this.records);\n\t\t\t\t\tthis.hooks.beforeModuleIds.call(this.modules);\n\t\t\t\t\tthis.hooks.moduleIds.call(this.modules);\n\t\t\t\t\tthis.hooks.optimizeModuleIds.call(this.modules);\n\t\t\t\t\tthis.hooks.afterOptimizeModuleIds.call(this.modules);\n\n\t\t\t\t\tthis.hooks.reviveChunks.call(this.chunks, this.records);\n\t\t\t\t\tthis.hooks.beforeChunkIds.call(this.chunks);\n\t\t\t\t\tthis.hooks.chunkIds.call(this.chunks);\n\t\t\t\t\tthis.hooks.optimizeChunkIds.call(this.chunks);\n\t\t\t\t\tthis.hooks.afterOptimizeChunkIds.call(this.chunks);\n\n\t\t\t\t\tthis.assignRuntimeIds();\n\n\t\t\t\t\tthis.logger.time(\"compute affected modules with chunk graph\");\n\t\t\t\t\tthis._computeAffectedModulesWithChunkGraph();\n\t\t\t\t\tthis.logger.timeEnd(\"compute affected modules with chunk graph\");\n\n\t\t\t\t\tthis.sortItemsWithChunkIds();\n\n\t\t\t\t\tif (shouldRecord) {\n\t\t\t\t\t\tthis.hooks.recordModules.call(this.modules, this.records);\n\t\t\t\t\t\tthis.hooks.recordChunks.call(this.chunks, this.records);\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.hooks.optimizeCodeGeneration.call(this.modules);\n\t\t\t\t\tthis.logger.timeEnd(\"optimize\");\n\n\t\t\t\t\tthis.logger.time(\"module hashing\");\n\t\t\t\t\tthis.hooks.beforeModuleHash.call();\n\t\t\t\t\tthis.createModuleHashes();\n\t\t\t\t\tthis.hooks.afterModuleHash.call();\n\t\t\t\t\tthis.logger.timeEnd(\"module hashing\");\n\n\t\t\t\t\tthis.logger.time(\"code generation\");\n\t\t\t\t\tthis.hooks.beforeCodeGeneration.call();\n\t\t\t\t\tthis.codeGeneration(err => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\treturn finalCallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.hooks.afterCodeGeneration.call();\n\t\t\t\t\t\tthis.logger.timeEnd(\"code generation\");\n\n\t\t\t\t\t\tthis.logger.time(\"runtime requirements\");\n\t\t\t\t\t\tthis.hooks.beforeRuntimeRequirements.call();\n\t\t\t\t\t\tthis.processRuntimeRequirements();\n\t\t\t\t\t\tthis.hooks.afterRuntimeRequirements.call();\n\t\t\t\t\t\tthis.logger.timeEnd(\"runtime requirements\");\n\n\t\t\t\t\t\tthis.logger.time(\"hashing\");\n\t\t\t\t\t\tthis.hooks.beforeHash.call();\n\t\t\t\t\t\tconst codeGenerationJobs = this.createHash();\n\t\t\t\t\t\tthis.hooks.afterHash.call();\n\t\t\t\t\t\tthis.logger.timeEnd(\"hashing\");\n\n\t\t\t\t\t\tthis._runCodeGenerationJobs(codeGenerationJobs, err => {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\treturn finalCallback(err);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (shouldRecord) {\n\t\t\t\t\t\t\t\tthis.logger.time(\"record hash\");\n\t\t\t\t\t\t\t\tthis.hooks.recordHash.call(this.records);\n\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"record hash\");\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tthis.logger.time(\"module assets\");\n\t\t\t\t\t\t\tthis.clearAssets();\n\n\t\t\t\t\t\t\tthis.hooks.beforeModuleAssets.call();\n\t\t\t\t\t\t\tthis.createModuleAssets();\n\t\t\t\t\t\t\tthis.logger.timeEnd(\"module assets\");\n\n\t\t\t\t\t\t\tconst cont = () => {\n\t\t\t\t\t\t\t\tthis.logger.time(\"process assets\");\n\t\t\t\t\t\t\t\tthis.hooks.processAssets.callAsync(this.assets, err => {\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\treturn finalCallback(\n\t\t\t\t\t\t\t\t\t\t\tmakeWebpackError(err, \"Compilation.hooks.processAssets\")\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tthis.hooks.afterProcessAssets.call(this.assets);\n\t\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"process assets\");\n\t\t\t\t\t\t\t\t\tthis.assets = this._backCompat\n\t\t\t\t\t\t\t\t\t\t? soonFrozenObjectDeprecation(\n\t\t\t\t\t\t\t\t\t\t\t\tthis.assets,\n\t\t\t\t\t\t\t\t\t\t\t\t\"Compilation.assets\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"DEP_WEBPACK_COMPILATION_ASSETS\",\n\t\t\t\t\t\t\t\t\t\t\t\t`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`\n\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t: Object.freeze(this.assets);\n\n\t\t\t\t\t\t\t\t\tthis.summarizeDependencies();\n\t\t\t\t\t\t\t\t\tif (shouldRecord) {\n\t\t\t\t\t\t\t\t\t\tthis.hooks.record.call(this, this.records);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (this.hooks.needAdditionalSeal.call()) {\n\t\t\t\t\t\t\t\t\t\tthis.unseal();\n\t\t\t\t\t\t\t\t\t\treturn this.seal(callback);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn this.hooks.afterSeal.callAsync(err => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\treturn finalCallback(\n\t\t\t\t\t\t\t\t\t\t\t\tmakeWebpackError(err, \"Compilation.hooks.afterSeal\")\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tthis.fileSystemInfo.logStatistics();\n\t\t\t\t\t\t\t\t\t\tfinalCallback();\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tthis.logger.time(\"create chunk assets\");\n\t\t\t\t\t\t\tif (this.hooks.shouldGenerateChunkAssets.call() !== false) {\n\t\t\t\t\t\t\t\tthis.hooks.beforeChunkAssets.call();\n\t\t\t\t\t\t\t\tthis.createChunkAssets(err => {\n\t\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"create chunk assets\");\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\treturn finalCallback(err);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcont();\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"create chunk assets\");\n\t\t\t\t\t\t\t\tcont();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\t/**\n\t * @param {Module} module module to report from\n\t * @param {DependenciesBlock[]} blocks blocks to report from\n\t * @returns {boolean} true, when it has warnings or errors\n\t */\n\treportDependencyErrorsAndWarnings(module, blocks) {\n\t\tlet hasProblems = false;\n\t\tfor (let indexBlock = 0; indexBlock < blocks.length; indexBlock++) {\n\t\t\tconst block = blocks[indexBlock];\n\t\t\tconst dependencies = block.dependencies;\n\n\t\t\tfor (let indexDep = 0; indexDep < dependencies.length; indexDep++) {\n\t\t\t\tconst d = dependencies[indexDep];\n\n\t\t\t\tconst warnings = d.getWarnings(this.moduleGraph);\n\t\t\t\tif (warnings) {\n\t\t\t\t\tfor (let indexWar = 0; indexWar < warnings.length; indexWar++) {\n\t\t\t\t\t\tconst w = warnings[indexWar];\n\n\t\t\t\t\t\tconst warning = new ModuleDependencyWarning(module, w, d.loc);\n\t\t\t\t\t\tthis.warnings.push(warning);\n\t\t\t\t\t\thasProblems = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst errors = d.getErrors(this.moduleGraph);\n\t\t\t\tif (errors) {\n\t\t\t\t\tfor (let indexErr = 0; indexErr < errors.length; indexErr++) {\n\t\t\t\t\t\tconst e = errors[indexErr];\n\n\t\t\t\t\t\tconst error = new ModuleDependencyError(module, e, d.loc);\n\t\t\t\t\t\tthis.errors.push(error);\n\t\t\t\t\t\thasProblems = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.reportDependencyErrorsAndWarnings(module, block.blocks))\n\t\t\t\thasProblems = true;\n\t\t}\n\t\treturn hasProblems;\n\t}\n\n\tcodeGeneration(callback) {\n\t\tconst { chunkGraph } = this;\n\t\tthis.codeGenerationResults = new CodeGenerationResults(\n\t\t\tthis.outputOptions.hashFunction\n\t\t);\n\t\t/** @type {{module: Module, hash: string, runtime: RuntimeSpec, runtimes: RuntimeSpec[]}[]} */\n\t\tconst jobs = [];\n\t\tfor (const module of this.modules) {\n\t\t\tconst runtimes = chunkGraph.getModuleRuntimes(module);\n\t\t\tif (runtimes.size === 1) {\n\t\t\t\tfor (const runtime of runtimes) {\n\t\t\t\t\tconst hash = chunkGraph.getModuleHash(module, runtime);\n\t\t\t\t\tjobs.push({ module, hash, runtime, runtimes: [runtime] });\n\t\t\t\t}\n\t\t\t} else if (runtimes.size > 1) {\n\t\t\t\t/** @type {Map<string, { runtimes: RuntimeSpec[] }>} */\n\t\t\t\tconst map = new Map();\n\t\t\t\tfor (const runtime of runtimes) {\n\t\t\t\t\tconst hash = chunkGraph.getModuleHash(module, runtime);\n\t\t\t\t\tconst job = map.get(hash);\n\t\t\t\t\tif (job === undefined) {\n\t\t\t\t\t\tconst newJob = { module, hash, runtime, runtimes: [runtime] };\n\t\t\t\t\t\tjobs.push(newJob);\n\t\t\t\t\t\tmap.set(hash, newJob);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjob.runtimes.push(runtime);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis._runCodeGenerationJobs(jobs, callback);\n\t}\n\n\t_runCodeGenerationJobs(jobs, callback) {\n\t\tif (jobs.length === 0) {\n\t\t\treturn callback();\n\t\t}\n\t\tlet statModulesFromCache = 0;\n\t\tlet statModulesGenerated = 0;\n\t\tconst { chunkGraph, moduleGraph, dependencyTemplates, runtimeTemplate } =\n\t\t\tthis;\n\t\tconst results = this.codeGenerationResults;\n\t\tconst errors = [];\n\t\t/** @type {Set<Module> | undefined} */\n\t\tlet notCodeGeneratedModules = undefined;\n\t\tconst runIteration = () => {\n\t\t\tlet delayedJobs = [];\n\t\t\tlet delayedModules = new Set();\n\t\t\tasyncLib.eachLimit(\n\t\t\t\tjobs,\n\t\t\t\tthis.options.parallelism,\n\t\t\t\t(job, callback) => {\n\t\t\t\t\tconst { module } = job;\n\t\t\t\t\tconst { codeGenerationDependencies } = module;\n\t\t\t\t\tif (codeGenerationDependencies !== undefined) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tnotCodeGeneratedModules === undefined ||\n\t\t\t\t\t\t\tcodeGenerationDependencies.some(dep => {\n\t\t\t\t\t\t\t\tconst referencedModule = moduleGraph.getModule(dep);\n\t\t\t\t\t\t\t\treturn notCodeGeneratedModules.has(referencedModule);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tdelayedJobs.push(job);\n\t\t\t\t\t\t\tdelayedModules.add(module);\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst { hash, runtime, runtimes } = job;\n\t\t\t\t\tthis._codeGenerationModule(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\truntimes,\n\t\t\t\t\t\thash,\n\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\terrors,\n\t\t\t\t\t\tresults,\n\t\t\t\t\t\t(err, codeGenerated) => {\n\t\t\t\t\t\t\tif (codeGenerated) statModulesGenerated++;\n\t\t\t\t\t\t\telse statModulesFromCache++;\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\terr => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (delayedJobs.length > 0) {\n\t\t\t\t\t\tif (delayedJobs.length === jobs.length) {\n\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t`Unable to make progress during code generation because of circular code generation dependency: ${Array.from(\n\t\t\t\t\t\t\t\t\t\tdelayedModules,\n\t\t\t\t\t\t\t\t\t\tm => m.identifier()\n\t\t\t\t\t\t\t\t\t).join(\", \")}`\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjobs = delayedJobs;\n\t\t\t\t\t\tdelayedJobs = [];\n\t\t\t\t\t\tnotCodeGeneratedModules = delayedModules;\n\t\t\t\t\t\tdelayedModules = new Set();\n\t\t\t\t\t\treturn runIteration();\n\t\t\t\t\t}\n\t\t\t\t\tif (errors.length > 0) {\n\t\t\t\t\t\terrors.sort(\n\t\t\t\t\t\t\tcompareSelect(err => err.module, compareModulesByIdentifier)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tfor (const error of errors) {\n\t\t\t\t\t\t\tthis.errors.push(error);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis.logger.log(\n\t\t\t\t\t\t`${Math.round(\n\t\t\t\t\t\t\t(100 * statModulesGenerated) /\n\t\t\t\t\t\t\t\t(statModulesGenerated + statModulesFromCache)\n\t\t\t\t\t\t)}% code generated (${statModulesGenerated} generated, ${statModulesFromCache} from cache)`\n\t\t\t\t\t);\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t);\n\t\t};\n\t\trunIteration();\n\t}\n\n\t/**\n\t * @param {Module} module module\n\t * @param {RuntimeSpec} runtime runtime\n\t * @param {RuntimeSpec[]} runtimes runtimes\n\t * @param {string} hash hash\n\t * @param {DependencyTemplates} dependencyTemplates dependencyTemplates\n\t * @param {ChunkGraph} chunkGraph chunkGraph\n\t * @param {ModuleGraph} moduleGraph moduleGraph\n\t * @param {RuntimeTemplate} runtimeTemplate runtimeTemplate\n\t * @param {WebpackError[]} errors errors\n\t * @param {CodeGenerationResults} results results\n\t * @param {function(WebpackError=, boolean=): void} callback callback\n\t */\n\t_codeGenerationModule(\n\t\tmodule,\n\t\truntime,\n\t\truntimes,\n\t\thash,\n\t\tdependencyTemplates,\n\t\tchunkGraph,\n\t\tmoduleGraph,\n\t\truntimeTemplate,\n\t\terrors,\n\t\tresults,\n\t\tcallback\n\t) {\n\t\tlet codeGenerated = false;\n\t\tconst cache = new MultiItemCache(\n\t\t\truntimes.map(runtime =>\n\t\t\t\tthis._codeGenerationCache.getItemCache(\n\t\t\t\t\t`${module.identifier()}|${getRuntimeKey(runtime)}`,\n\t\t\t\t\t`${hash}|${dependencyTemplates.getHash()}`\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t\tcache.get((err, cachedResult) => {\n\t\t\tif (err) return callback(err);\n\t\t\tlet result;\n\t\t\tif (!cachedResult) {\n\t\t\t\ttry {\n\t\t\t\t\tcodeGenerated = true;\n\t\t\t\t\tthis.codeGeneratedModules.add(module);\n\t\t\t\t\tresult = module.codeGeneration({\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\tcodeGenerationResults: results,\n\t\t\t\t\t\tcompilation: this\n\t\t\t\t\t});\n\t\t\t\t} catch (err) {\n\t\t\t\t\terrors.push(new CodeGenerationError(module, err));\n\t\t\t\t\tresult = cachedResult = {\n\t\t\t\t\t\tsources: new Map(),\n\t\t\t\t\t\truntimeRequirements: null\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresult = cachedResult;\n\t\t\t}\n\t\t\tfor (const runtime of runtimes) {\n\t\t\t\tresults.add(module, runtime, result);\n\t\t\t}\n\t\t\tif (!cachedResult) {\n\t\t\t\tcache.store(result, err => callback(err, codeGenerated));\n\t\t\t} else {\n\t\t\t\tcallback(null, codeGenerated);\n\t\t\t}\n\t\t});\n\t}\n\n\t_getChunkGraphEntries() {\n\t\t/** @type {Set<Chunk>} */\n\t\tconst treeEntries = new Set();\n\t\tfor (const ep of this.entrypoints.values()) {\n\t\t\tconst chunk = ep.getRuntimeChunk();\n\t\t\tif (chunk) treeEntries.add(chunk);\n\t\t}\n\t\tfor (const ep of this.asyncEntrypoints) {\n\t\t\tconst chunk = ep.getRuntimeChunk();\n\t\t\tif (chunk) treeEntries.add(chunk);\n\t\t}\n\t\treturn treeEntries;\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {ChunkGraph=} options.chunkGraph the chunk graph\n\t * @param {Iterable<Module>=} options.modules modules\n\t * @param {Iterable<Chunk>=} options.chunks chunks\n\t * @param {CodeGenerationResults=} options.codeGenerationResults codeGenerationResults\n\t * @param {Iterable<Chunk>=} options.chunkGraphEntries chunkGraphEntries\n\t * @returns {void}\n\t */\n\tprocessRuntimeRequirements({\n\t\tchunkGraph = this.chunkGraph,\n\t\tmodules = this.modules,\n\t\tchunks = this.chunks,\n\t\tcodeGenerationResults = this.codeGenerationResults,\n\t\tchunkGraphEntries = this._getChunkGraphEntries()\n\t} = {}) {\n\t\tconst context = { chunkGraph, codeGenerationResults };\n\t\tconst { moduleMemCaches2 } = this;\n\t\tthis.logger.time(\"runtime requirements.modules\");\n\t\tconst additionalModuleRuntimeRequirements =\n\t\t\tthis.hooks.additionalModuleRuntimeRequirements;\n\t\tconst runtimeRequirementInModule = this.hooks.runtimeRequirementInModule;\n\t\tfor (const module of modules) {\n\t\t\tif (chunkGraph.getNumberOfModuleChunks(module) > 0) {\n\t\t\t\tconst memCache = moduleMemCaches2 && moduleMemCaches2.get(module);\n\t\t\t\tfor (const runtime of chunkGraph.getModuleRuntimes(module)) {\n\t\t\t\t\tif (memCache) {\n\t\t\t\t\t\tconst cached = memCache.get(\n\t\t\t\t\t\t\t`moduleRuntimeRequirements-${getRuntimeKey(runtime)}`\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (cached !== undefined) {\n\t\t\t\t\t\t\tif (cached !== null) {\n\t\t\t\t\t\t\t\tchunkGraph.addModuleRuntimeRequirements(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\tcached,\n\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlet set;\n\t\t\t\t\tconst runtimeRequirements =\n\t\t\t\t\t\tcodeGenerationResults.getRuntimeRequirements(module, runtime);\n\t\t\t\t\tif (runtimeRequirements && runtimeRequirements.size > 0) {\n\t\t\t\t\t\tset = new Set(runtimeRequirements);\n\t\t\t\t\t} else if (additionalModuleRuntimeRequirements.isUsed()) {\n\t\t\t\t\t\tset = new Set();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (memCache) {\n\t\t\t\t\t\t\tmemCache.set(\n\t\t\t\t\t\t\t\t`moduleRuntimeRequirements-${getRuntimeKey(runtime)}`,\n\t\t\t\t\t\t\t\tnull\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tadditionalModuleRuntimeRequirements.call(module, set, context);\n\n\t\t\t\t\tfor (const r of set) {\n\t\t\t\t\t\tconst hook = runtimeRequirementInModule.get(r);\n\t\t\t\t\t\tif (hook !== undefined) hook.call(module, set, context);\n\t\t\t\t\t}\n\t\t\t\t\tif (set.size === 0) {\n\t\t\t\t\t\tif (memCache) {\n\t\t\t\t\t\t\tmemCache.set(\n\t\t\t\t\t\t\t\t`moduleRuntimeRequirements-${getRuntimeKey(runtime)}`,\n\t\t\t\t\t\t\t\tnull\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (memCache) {\n\t\t\t\t\t\t\tmemCache.set(\n\t\t\t\t\t\t\t\t`moduleRuntimeRequirements-${getRuntimeKey(runtime)}`,\n\t\t\t\t\t\t\t\tset\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tchunkGraph.addModuleRuntimeRequirements(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\tset,\n\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tchunkGraph.addModuleRuntimeRequirements(module, runtime, set);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tthis.logger.timeEnd(\"runtime requirements.modules\");\n\n\t\tthis.logger.time(\"runtime requirements.chunks\");\n\t\tfor (const chunk of chunks) {\n\t\t\tconst set = new Set();\n\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\tconst runtimeRequirements = chunkGraph.getModuleRuntimeRequirements(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunk.runtime\n\t\t\t\t);\n\t\t\t\tfor (const r of runtimeRequirements) set.add(r);\n\t\t\t}\n\t\t\tthis.hooks.additionalChunkRuntimeRequirements.call(chunk, set, context);\n\n\t\t\tfor (const r of set) {\n\t\t\t\tthis.hooks.runtimeRequirementInChunk.for(r).call(chunk, set, context);\n\t\t\t}\n\n\t\t\tchunkGraph.addChunkRuntimeRequirements(chunk, set);\n\t\t}\n\t\tthis.logger.timeEnd(\"runtime requirements.chunks\");\n\n\t\tthis.logger.time(\"runtime requirements.entries\");\n\t\tfor (const treeEntry of chunkGraphEntries) {\n\t\t\tconst set = new Set();\n\t\t\tfor (const chunk of treeEntry.getAllReferencedChunks()) {\n\t\t\t\tconst runtimeRequirements =\n\t\t\t\t\tchunkGraph.getChunkRuntimeRequirements(chunk);\n\t\t\t\tfor (const r of runtimeRequirements) set.add(r);\n\t\t\t}\n\n\t\t\tthis.hooks.additionalTreeRuntimeRequirements.call(\n\t\t\t\ttreeEntry,\n\t\t\t\tset,\n\t\t\t\tcontext\n\t\t\t);\n\n\t\t\tfor (const r of set) {\n\t\t\t\tthis.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(r)\n\t\t\t\t\t.call(treeEntry, set, context);\n\t\t\t}\n\n\t\t\tchunkGraph.addTreeRuntimeRequirements(treeEntry, set);\n\t\t}\n\t\tthis.logger.timeEnd(\"runtime requirements.entries\");\n\t}\n\n\t// TODO webpack 6 make chunkGraph argument non-optional\n\t/**\n\t * @param {Chunk} chunk target chunk\n\t * @param {RuntimeModule} module runtime module\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {void}\n\t */\n\taddRuntimeModule(chunk, module, chunkGraph = this.chunkGraph) {\n\t\t// Deprecated ModuleGraph association\n\t\tif (this._backCompat)\n\t\t\tModuleGraph.setModuleGraphForModule(module, this.moduleGraph);\n\n\t\t// add it to the list\n\t\tthis.modules.add(module);\n\t\tthis._modules.set(module.identifier(), module);\n\n\t\t// connect to the chunk graph\n\t\tchunkGraph.connectChunkAndModule(chunk, module);\n\t\tchunkGraph.connectChunkAndRuntimeModule(chunk, module);\n\t\tif (module.fullHash) {\n\t\t\tchunkGraph.addFullHashModuleToChunk(chunk, module);\n\t\t} else if (module.dependentHash) {\n\t\t\tchunkGraph.addDependentHashModuleToChunk(chunk, module);\n\t\t}\n\n\t\t// attach runtime module\n\t\tmodule.attach(this, chunk, chunkGraph);\n\n\t\t// Setup internals\n\t\tconst exportsInfo = this.moduleGraph.getExportsInfo(module);\n\t\texportsInfo.setHasProvideInfo();\n\t\tif (typeof chunk.runtime === \"string\") {\n\t\t\texportsInfo.setUsedForSideEffectsOnly(chunk.runtime);\n\t\t} else if (chunk.runtime === undefined) {\n\t\t\texportsInfo.setUsedForSideEffectsOnly(undefined);\n\t\t} else {\n\t\t\tfor (const runtime of chunk.runtime) {\n\t\t\t\texportsInfo.setUsedForSideEffectsOnly(runtime);\n\t\t\t}\n\t\t}\n\t\tchunkGraph.addModuleRuntimeRequirements(\n\t\t\tmodule,\n\t\t\tchunk.runtime,\n\t\t\tnew Set([RuntimeGlobals.requireScope])\n\t\t);\n\n\t\t// runtime modules don't need ids\n\t\tchunkGraph.setModuleId(module, \"\");\n\n\t\t// Call hook\n\t\tthis.hooks.runtimeModule.call(module, chunk);\n\t}\n\n\t/**\n\t * If `module` is passed, `loc` and `request` must also be passed.\n\t * @param {string | ChunkGroupOptions} groupOptions options for the chunk group\n\t * @param {Module=} module the module the references the chunk group\n\t * @param {DependencyLocation=} loc the location from with the chunk group is referenced (inside of module)\n\t * @param {string=} request the request from which the the chunk group is referenced\n\t * @returns {ChunkGroup} the new or existing chunk group\n\t */\n\taddChunkInGroup(groupOptions, module, loc, request) {\n\t\tif (typeof groupOptions === \"string\") {\n\t\t\tgroupOptions = { name: groupOptions };\n\t\t}\n\t\tconst name = groupOptions.name;\n\n\t\tif (name) {\n\t\t\tconst chunkGroup = this.namedChunkGroups.get(name);\n\t\t\tif (chunkGroup !== undefined) {\n\t\t\t\tchunkGroup.addOptions(groupOptions);\n\t\t\t\tif (module) {\n\t\t\t\t\tchunkGroup.addOrigin(module, loc, request);\n\t\t\t\t}\n\t\t\t\treturn chunkGroup;\n\t\t\t}\n\t\t}\n\t\tconst chunkGroup = new ChunkGroup(groupOptions);\n\t\tif (module) chunkGroup.addOrigin(module, loc, request);\n\t\tconst chunk = this.addChunk(name);\n\n\t\tconnectChunkGroupAndChunk(chunkGroup, chunk);\n\n\t\tthis.chunkGroups.push(chunkGroup);\n\t\tif (name) {\n\t\t\tthis.namedChunkGroups.set(name, chunkGroup);\n\t\t}\n\t\treturn chunkGroup;\n\t}\n\n\t/**\n\t * @param {EntryOptions} options options for the entrypoint\n\t * @param {Module} module the module the references the chunk group\n\t * @param {DependencyLocation} loc the location from with the chunk group is referenced (inside of module)\n\t * @param {string} request the request from which the the chunk group is referenced\n\t * @returns {Entrypoint} the new or existing entrypoint\n\t */\n\taddAsyncEntrypoint(options, module, loc, request) {\n\t\tconst name = options.name;\n\t\tif (name) {\n\t\t\tconst entrypoint = this.namedChunkGroups.get(name);\n\t\t\tif (entrypoint instanceof Entrypoint) {\n\t\t\t\tif (entrypoint !== undefined) {\n\t\t\t\t\tif (module) {\n\t\t\t\t\t\tentrypoint.addOrigin(module, loc, request);\n\t\t\t\t\t}\n\t\t\t\t\treturn entrypoint;\n\t\t\t\t}\n\t\t\t} else if (entrypoint) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Cannot add an async entrypoint with the name '${name}', because there is already an chunk group with this name`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tconst chunk = this.addChunk(name);\n\t\tif (options.filename) {\n\t\t\tchunk.filenameTemplate = options.filename;\n\t\t}\n\t\tconst entrypoint = new Entrypoint(options, false);\n\t\tentrypoint.setRuntimeChunk(chunk);\n\t\tentrypoint.setEntrypointChunk(chunk);\n\t\tif (name) {\n\t\t\tthis.namedChunkGroups.set(name, entrypoint);\n\t\t}\n\t\tthis.chunkGroups.push(entrypoint);\n\t\tthis.asyncEntrypoints.push(entrypoint);\n\t\tconnectChunkGroupAndChunk(entrypoint, chunk);\n\t\tif (module) {\n\t\t\tentrypoint.addOrigin(module, loc, request);\n\t\t}\n\t\treturn entrypoint;\n\t}\n\n\t/**\n\t * This method first looks to see if a name is provided for a new chunk,\n\t * and first looks to see if any named chunks already exist and reuse that chunk instead.\n\t *\n\t * @param {string=} name optional chunk name to be provided\n\t * @returns {Chunk} create a chunk (invoked during seal event)\n\t */\n\taddChunk(name) {\n\t\tif (name) {\n\t\t\tconst chunk = this.namedChunks.get(name);\n\t\t\tif (chunk !== undefined) {\n\t\t\t\treturn chunk;\n\t\t\t}\n\t\t}\n\t\tconst chunk = new Chunk(name, this._backCompat);\n\t\tthis.chunks.add(chunk);\n\t\tif (this._backCompat)\n\t\t\tChunkGraph.setChunkGraphForChunk(chunk, this.chunkGraph);\n\t\tif (name) {\n\t\t\tthis.namedChunks.set(name, chunk);\n\t\t}\n\t\treturn chunk;\n\t}\n\n\t/**\n\t * @deprecated\n\t * @param {Module} module module to assign depth\n\t * @returns {void}\n\t */\n\tassignDepth(module) {\n\t\tconst moduleGraph = this.moduleGraph;\n\n\t\tconst queue = new Set([module]);\n\t\tlet depth;\n\n\t\tmoduleGraph.setDepth(module, 0);\n\n\t\t/**\n\t\t * @param {Module} module module for processing\n\t\t * @returns {void}\n\t\t */\n\t\tconst processModule = module => {\n\t\t\tif (!moduleGraph.setDepthIfLower(module, depth)) return;\n\t\t\tqueue.add(module);\n\t\t};\n\n\t\tfor (module of queue) {\n\t\t\tqueue.delete(module);\n\t\t\tdepth = moduleGraph.getDepth(module) + 1;\n\n\t\t\tfor (const connection of moduleGraph.getOutgoingConnections(module)) {\n\t\t\t\tconst refModule = connection.module;\n\t\t\t\tif (refModule) {\n\t\t\t\t\tprocessModule(refModule);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Set<Module>} modules module to assign depth\n\t * @returns {void}\n\t */\n\tassignDepths(modules) {\n\t\tconst moduleGraph = this.moduleGraph;\n\n\t\t/** @type {Set<Module | number>} */\n\t\tconst queue = new Set(modules);\n\t\tqueue.add(1);\n\t\tlet depth = 0;\n\n\t\tlet i = 0;\n\t\tfor (const module of queue) {\n\t\t\ti++;\n\t\t\tif (typeof module === \"number\") {\n\t\t\t\tdepth = module;\n\t\t\t\tif (queue.size === i) return;\n\t\t\t\tqueue.add(depth + 1);\n\t\t\t} else {\n\t\t\t\tmoduleGraph.setDepth(module, depth);\n\t\t\t\tfor (const { module: refModule } of moduleGraph.getOutgoingConnections(\n\t\t\t\t\tmodule\n\t\t\t\t)) {\n\t\t\t\t\tif (refModule) {\n\t\t\t\t\t\tqueue.add(refModule);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetDependencyReferencedExports(dependency, runtime) {\n\t\tconst referencedExports = dependency.getReferencedExports(\n\t\t\tthis.moduleGraph,\n\t\t\truntime\n\t\t);\n\t\treturn this.hooks.dependencyReferencedExports.call(\n\t\t\treferencedExports,\n\t\t\tdependency,\n\t\t\truntime\n\t\t);\n\t}\n\n\t/**\n\t *\n\t * @param {Module} module module relationship for removal\n\t * @param {DependenciesBlockLike} block //TODO: good description\n\t * @returns {void}\n\t */\n\tremoveReasonsOfDependencyBlock(module, block) {\n\t\tif (block.blocks) {\n\t\t\tfor (const b of block.blocks) {\n\t\t\t\tthis.removeReasonsOfDependencyBlock(module, b);\n\t\t\t}\n\t\t}\n\n\t\tif (block.dependencies) {\n\t\t\tfor (const dep of block.dependencies) {\n\t\t\t\tconst originalModule = this.moduleGraph.getModule(dep);\n\t\t\t\tif (originalModule) {\n\t\t\t\t\tthis.moduleGraph.removeConnection(dep);\n\n\t\t\t\t\tif (this.chunkGraph) {\n\t\t\t\t\t\tfor (const chunk of this.chunkGraph.getModuleChunks(\n\t\t\t\t\t\t\toriginalModule\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tthis.patchChunksAfterReasonRemoval(originalModule, chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module module to patch tie\n\t * @param {Chunk} chunk chunk to patch tie\n\t * @returns {void}\n\t */\n\tpatchChunksAfterReasonRemoval(module, chunk) {\n\t\tif (!module.hasReasons(this.moduleGraph, chunk.runtime)) {\n\t\t\tthis.removeReasonsOfDependencyBlock(module, module);\n\t\t}\n\t\tif (!module.hasReasonForChunk(chunk, this.moduleGraph, this.chunkGraph)) {\n\t\t\tif (this.chunkGraph.isModuleInChunk(module, chunk)) {\n\t\t\t\tthis.chunkGraph.disconnectChunkAndModule(chunk, module);\n\t\t\t\tthis.removeChunkFromDependencies(module, chunk);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t *\n\t * @param {DependenciesBlock} block block tie for Chunk\n\t * @param {Chunk} chunk chunk to remove from dep\n\t * @returns {void}\n\t */\n\tremoveChunkFromDependencies(block, chunk) {\n\t\t/**\n\t\t * @param {Dependency} d dependency to (maybe) patch up\n\t\t */\n\t\tconst iteratorDependency = d => {\n\t\t\tconst depModule = this.moduleGraph.getModule(d);\n\t\t\tif (!depModule) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.patchChunksAfterReasonRemoval(depModule, chunk);\n\t\t};\n\n\t\tconst blocks = block.blocks;\n\t\tfor (let indexBlock = 0; indexBlock < blocks.length; indexBlock++) {\n\t\t\tconst asyncBlock = blocks[indexBlock];\n\t\t\tconst chunkGroup = this.chunkGraph.getBlockChunkGroup(asyncBlock);\n\t\t\t// Grab all chunks from the first Block's AsyncDepBlock\n\t\t\tconst chunks = chunkGroup.chunks;\n\t\t\t// For each chunk in chunkGroup\n\t\t\tfor (let indexChunk = 0; indexChunk < chunks.length; indexChunk++) {\n\t\t\t\tconst iteratedChunk = chunks[indexChunk];\n\t\t\t\tchunkGroup.removeChunk(iteratedChunk);\n\t\t\t\t// Recurse\n\t\t\t\tthis.removeChunkFromDependencies(block, iteratedChunk);\n\t\t\t}\n\t\t}\n\n\t\tif (block.dependencies) {\n\t\t\tfor (const dep of block.dependencies) iteratorDependency(dep);\n\t\t}\n\t}\n\n\tassignRuntimeIds() {\n\t\tconst { chunkGraph } = this;\n\t\tconst processEntrypoint = ep => {\n\t\t\tconst runtime = ep.options.runtime || ep.name;\n\t\t\tconst chunk = ep.getRuntimeChunk();\n\t\t\tchunkGraph.setRuntimeId(runtime, chunk.id);\n\t\t};\n\t\tfor (const ep of this.entrypoints.values()) {\n\t\t\tprocessEntrypoint(ep);\n\t\t}\n\t\tfor (const ep of this.asyncEntrypoints) {\n\t\t\tprocessEntrypoint(ep);\n\t\t}\n\t}\n\n\tsortItemsWithChunkIds() {\n\t\tfor (const chunkGroup of this.chunkGroups) {\n\t\t\tchunkGroup.sortItems();\n\t\t}\n\n\t\tthis.errors.sort(compareErrors);\n\t\tthis.warnings.sort(compareErrors);\n\t\tthis.children.sort(byNameOrHash);\n\t}\n\n\tsummarizeDependencies() {\n\t\tfor (\n\t\t\tlet indexChildren = 0;\n\t\t\tindexChildren < this.children.length;\n\t\t\tindexChildren++\n\t\t) {\n\t\t\tconst child = this.children[indexChildren];\n\n\t\t\tthis.fileDependencies.addAll(child.fileDependencies);\n\t\t\tthis.contextDependencies.addAll(child.contextDependencies);\n\t\t\tthis.missingDependencies.addAll(child.missingDependencies);\n\t\t\tthis.buildDependencies.addAll(child.buildDependencies);\n\t\t}\n\n\t\tfor (const module of this.modules) {\n\t\t\tmodule.addCacheDependencies(\n\t\t\t\tthis.fileDependencies,\n\t\t\t\tthis.contextDependencies,\n\t\t\t\tthis.missingDependencies,\n\t\t\t\tthis.buildDependencies\n\t\t\t);\n\t\t}\n\t}\n\n\tcreateModuleHashes() {\n\t\tlet statModulesHashed = 0;\n\t\tlet statModulesFromCache = 0;\n\t\tconst { chunkGraph, runtimeTemplate, moduleMemCaches2 } = this;\n\t\tconst { hashFunction, hashDigest, hashDigestLength } = this.outputOptions;\n\t\tconst errors = [];\n\t\tfor (const module of this.modules) {\n\t\t\tconst memCache = moduleMemCaches2 && moduleMemCaches2.get(module);\n\t\t\tfor (const runtime of chunkGraph.getModuleRuntimes(module)) {\n\t\t\t\tif (memCache) {\n\t\t\t\t\tconst digest = memCache.get(`moduleHash-${getRuntimeKey(runtime)}`);\n\t\t\t\t\tif (digest !== undefined) {\n\t\t\t\t\t\tchunkGraph.setModuleHashes(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\tdigest,\n\t\t\t\t\t\t\tdigest.slice(0, hashDigestLength)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tstatModulesFromCache++;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstatModulesHashed++;\n\t\t\t\tconst digest = this._createModuleHash(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime,\n\t\t\t\t\thashFunction,\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\thashDigest,\n\t\t\t\t\thashDigestLength,\n\t\t\t\t\terrors\n\t\t\t\t);\n\t\t\t\tif (memCache) {\n\t\t\t\t\tmemCache.set(`moduleHash-${getRuntimeKey(runtime)}`, digest);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (errors.length > 0) {\n\t\t\terrors.sort(compareSelect(err => err.module, compareModulesByIdentifier));\n\t\t\tfor (const error of errors) {\n\t\t\t\tthis.errors.push(error);\n\t\t\t}\n\t\t}\n\t\tthis.logger.log(\n\t\t\t`${statModulesHashed} modules hashed, ${statModulesFromCache} from cache (${\n\t\t\t\tMath.round(\n\t\t\t\t\t(100 * (statModulesHashed + statModulesFromCache)) / this.modules.size\n\t\t\t\t) / 100\n\t\t\t} variants per module in average)`\n\t\t);\n\t}\n\n\t_createModuleHash(\n\t\tmodule,\n\t\tchunkGraph,\n\t\truntime,\n\t\thashFunction,\n\t\truntimeTemplate,\n\t\thashDigest,\n\t\thashDigestLength,\n\t\terrors\n\t) {\n\t\tlet moduleHashDigest;\n\t\ttry {\n\t\t\tconst moduleHash = createHash(hashFunction);\n\t\t\tmodule.updateHash(moduleHash, {\n\t\t\t\tchunkGraph,\n\t\t\t\truntime,\n\t\t\t\truntimeTemplate\n\t\t\t});\n\t\t\tmoduleHashDigest = /** @type {string} */ (moduleHash.digest(hashDigest));\n\t\t} catch (err) {\n\t\t\terrors.push(new ModuleHashingError(module, err));\n\t\t\tmoduleHashDigest = \"XXXXXX\";\n\t\t}\n\t\tchunkGraph.setModuleHashes(\n\t\t\tmodule,\n\t\t\truntime,\n\t\t\tmoduleHashDigest,\n\t\t\tmoduleHashDigest.slice(0, hashDigestLength)\n\t\t);\n\t\treturn moduleHashDigest;\n\t}\n\n\tcreateHash() {\n\t\tthis.logger.time(\"hashing: initialize hash\");\n\t\tconst chunkGraph = this.chunkGraph;\n\t\tconst runtimeTemplate = this.runtimeTemplate;\n\t\tconst outputOptions = this.outputOptions;\n\t\tconst hashFunction = outputOptions.hashFunction;\n\t\tconst hashDigest = outputOptions.hashDigest;\n\t\tconst hashDigestLength = outputOptions.hashDigestLength;\n\t\tconst hash = createHash(hashFunction);\n\t\tif (outputOptions.hashSalt) {\n\t\t\thash.update(outputOptions.hashSalt);\n\t\t}\n\t\tthis.logger.timeEnd(\"hashing: initialize hash\");\n\t\tif (this.children.length > 0) {\n\t\t\tthis.logger.time(\"hashing: hash child compilations\");\n\t\t\tfor (const child of this.children) {\n\t\t\t\thash.update(child.hash);\n\t\t\t}\n\t\t\tthis.logger.timeEnd(\"hashing: hash child compilations\");\n\t\t}\n\t\tif (this.warnings.length > 0) {\n\t\t\tthis.logger.time(\"hashing: hash warnings\");\n\t\t\tfor (const warning of this.warnings) {\n\t\t\t\thash.update(`${warning.message}`);\n\t\t\t}\n\t\t\tthis.logger.timeEnd(\"hashing: hash warnings\");\n\t\t}\n\t\tif (this.errors.length > 0) {\n\t\t\tthis.logger.time(\"hashing: hash errors\");\n\t\t\tfor (const error of this.errors) {\n\t\t\t\thash.update(`${error.message}`);\n\t\t\t}\n\t\t\tthis.logger.timeEnd(\"hashing: hash errors\");\n\t\t}\n\n\t\tthis.logger.time(\"hashing: sort chunks\");\n\t\t/*\n\t\t * all non-runtime chunks need to be hashes first,\n\t\t * since runtime chunk might use their hashes.\n\t\t * runtime chunks need to be hashed in the correct order\n\t\t * since they may depend on each other (for async entrypoints).\n\t\t * So we put all non-runtime chunks first and hash them in any order.\n\t\t * And order runtime chunks according to referenced between each other.\n\t\t * Chunks need to be in deterministic order since we add hashes to full chunk\n\t\t * during these hashing.\n\t\t */\n\t\t/** @type {Chunk[]} */\n\t\tconst unorderedRuntimeChunks = [];\n\t\t/** @type {Chunk[]} */\n\t\tconst otherChunks = [];\n\t\tfor (const c of this.chunks) {\n\t\t\tif (c.hasRuntime()) {\n\t\t\t\tunorderedRuntimeChunks.push(c);\n\t\t\t} else {\n\t\t\t\totherChunks.push(c);\n\t\t\t}\n\t\t}\n\t\tunorderedRuntimeChunks.sort(byId);\n\t\totherChunks.sort(byId);\n\n\t\t/** @typedef {{ chunk: Chunk, referencedBy: RuntimeChunkInfo[], remaining: number }} RuntimeChunkInfo */\n\t\t/** @type {Map<Chunk, RuntimeChunkInfo>} */\n\t\tconst runtimeChunksMap = new Map();\n\t\tfor (const chunk of unorderedRuntimeChunks) {\n\t\t\truntimeChunksMap.set(chunk, {\n\t\t\t\tchunk,\n\t\t\t\treferencedBy: [],\n\t\t\t\tremaining: 0\n\t\t\t});\n\t\t}\n\t\tlet remaining = 0;\n\t\tfor (const info of runtimeChunksMap.values()) {\n\t\t\tfor (const other of new Set(\n\t\t\t\tArray.from(info.chunk.getAllReferencedAsyncEntrypoints()).map(\n\t\t\t\t\te => e.chunks[e.chunks.length - 1]\n\t\t\t\t)\n\t\t\t)) {\n\t\t\t\tconst otherInfo = runtimeChunksMap.get(other);\n\t\t\t\totherInfo.referencedBy.push(info);\n\t\t\t\tinfo.remaining++;\n\t\t\t\tremaining++;\n\t\t\t}\n\t\t}\n\t\t/** @type {Chunk[]} */\n\t\tconst runtimeChunks = [];\n\t\tfor (const info of runtimeChunksMap.values()) {\n\t\t\tif (info.remaining === 0) {\n\t\t\t\truntimeChunks.push(info.chunk);\n\t\t\t}\n\t\t}\n\t\t// If there are any references between chunks\n\t\t// make sure to follow these chains\n\t\tif (remaining > 0) {\n\t\t\tconst readyChunks = [];\n\t\t\tfor (const chunk of runtimeChunks) {\n\t\t\t\tconst hasFullHashModules =\n\t\t\t\t\tchunkGraph.getNumberOfChunkFullHashModules(chunk) !== 0;\n\t\t\t\tconst info = runtimeChunksMap.get(chunk);\n\t\t\t\tfor (const otherInfo of info.referencedBy) {\n\t\t\t\t\tif (hasFullHashModules) {\n\t\t\t\t\t\tchunkGraph.upgradeDependentToFullHashModules(otherInfo.chunk);\n\t\t\t\t\t}\n\t\t\t\t\tremaining--;\n\t\t\t\t\tif (--otherInfo.remaining === 0) {\n\t\t\t\t\t\treadyChunks.push(otherInfo.chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (readyChunks.length > 0) {\n\t\t\t\t\t// This ensures deterministic ordering, since referencedBy is non-deterministic\n\t\t\t\t\treadyChunks.sort(byId);\n\t\t\t\t\tfor (const c of readyChunks) runtimeChunks.push(c);\n\t\t\t\t\treadyChunks.length = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// If there are still remaining references we have cycles and want to create a warning\n\t\tif (remaining > 0) {\n\t\t\tlet circularRuntimeChunkInfo = [];\n\t\t\tfor (const info of runtimeChunksMap.values()) {\n\t\t\t\tif (info.remaining !== 0) {\n\t\t\t\t\tcircularRuntimeChunkInfo.push(info);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcircularRuntimeChunkInfo.sort(compareSelect(i => i.chunk, byId));\n\t\t\tconst err =\n\t\t\t\tnew WebpackError(`Circular dependency between chunks with runtime (${Array.from(\n\t\t\t\t\tcircularRuntimeChunkInfo,\n\t\t\t\t\tc => c.chunk.name || c.chunk.id\n\t\t\t\t).join(\", \")})\nThis prevents using hashes of each other and should be avoided.`);\n\t\t\terr.chunk = circularRuntimeChunkInfo[0].chunk;\n\t\t\tthis.warnings.push(err);\n\t\t\tfor (const i of circularRuntimeChunkInfo) runtimeChunks.push(i.chunk);\n\t\t}\n\t\tthis.logger.timeEnd(\"hashing: sort chunks\");\n\n\t\tconst fullHashChunks = new Set();\n\t\t/** @type {{module: Module, hash: string, runtime: RuntimeSpec, runtimes: RuntimeSpec[]}[]} */\n\t\tconst codeGenerationJobs = [];\n\t\t/** @type {Map<string, Map<Module, {module: Module, hash: string, runtime: RuntimeSpec, runtimes: RuntimeSpec[]}>>} */\n\t\tconst codeGenerationJobsMap = new Map();\n\t\tconst errors = [];\n\n\t\tconst processChunk = chunk => {\n\t\t\t// Last minute module hash generation for modules that depend on chunk hashes\n\t\t\tthis.logger.time(\"hashing: hash runtime modules\");\n\t\t\tconst runtime = chunk.runtime;\n\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\tif (!chunkGraph.hasModuleHashes(module, runtime)) {\n\t\t\t\t\tconst hash = this._createModuleHash(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\thashFunction,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\thashDigest,\n\t\t\t\t\t\thashDigestLength,\n\t\t\t\t\t\terrors\n\t\t\t\t\t);\n\t\t\t\t\tlet hashMap = codeGenerationJobsMap.get(hash);\n\t\t\t\t\tif (hashMap) {\n\t\t\t\t\t\tconst moduleJob = hashMap.get(module);\n\t\t\t\t\t\tif (moduleJob) {\n\t\t\t\t\t\t\tmoduleJob.runtimes.push(runtime);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\thashMap = new Map();\n\t\t\t\t\t\tcodeGenerationJobsMap.set(hash, hashMap);\n\t\t\t\t\t}\n\t\t\t\t\tconst job = {\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\thash,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\truntimes: [runtime]\n\t\t\t\t\t};\n\t\t\t\t\thashMap.set(module, job);\n\t\t\t\t\tcodeGenerationJobs.push(job);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.logger.timeAggregate(\"hashing: hash runtime modules\");\n\t\t\ttry {\n\t\t\t\tthis.logger.time(\"hashing: hash chunks\");\n\t\t\t\tconst chunkHash = createHash(hashFunction);\n\t\t\t\tif (outputOptions.hashSalt) {\n\t\t\t\t\tchunkHash.update(outputOptions.hashSalt);\n\t\t\t\t}\n\t\t\t\tchunk.updateHash(chunkHash, chunkGraph);\n\t\t\t\tthis.hooks.chunkHash.call(chunk, chunkHash, {\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\tcodeGenerationResults: this.codeGenerationResults,\n\t\t\t\t\tmoduleGraph: this.moduleGraph,\n\t\t\t\t\truntimeTemplate: this.runtimeTemplate\n\t\t\t\t});\n\t\t\t\tconst chunkHashDigest = /** @type {string} */ (\n\t\t\t\t\tchunkHash.digest(hashDigest)\n\t\t\t\t);\n\t\t\t\thash.update(chunkHashDigest);\n\t\t\t\tchunk.hash = chunkHashDigest;\n\t\t\t\tchunk.renderedHash = chunk.hash.slice(0, hashDigestLength);\n\t\t\t\tconst fullHashModules =\n\t\t\t\t\tchunkGraph.getChunkFullHashModulesIterable(chunk);\n\t\t\t\tif (fullHashModules) {\n\t\t\t\t\tfullHashChunks.add(chunk);\n\t\t\t\t} else {\n\t\t\t\t\tthis.hooks.contentHash.call(chunk);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\tthis.errors.push(new ChunkRenderError(chunk, \"\", err));\n\t\t\t}\n\t\t\tthis.logger.timeAggregate(\"hashing: hash chunks\");\n\t\t};\n\t\totherChunks.forEach(processChunk);\n\t\tfor (const chunk of runtimeChunks) processChunk(chunk);\n\t\tif (errors.length > 0) {\n\t\t\terrors.sort(compareSelect(err => err.module, compareModulesByIdentifier));\n\t\t\tfor (const error of errors) {\n\t\t\t\tthis.errors.push(error);\n\t\t\t}\n\t\t}\n\n\t\tthis.logger.timeAggregateEnd(\"hashing: hash runtime modules\");\n\t\tthis.logger.timeAggregateEnd(\"hashing: hash chunks\");\n\t\tthis.logger.time(\"hashing: hash digest\");\n\t\tthis.hooks.fullHash.call(hash);\n\t\tthis.fullHash = /** @type {string} */ (hash.digest(hashDigest));\n\t\tthis.hash = this.fullHash.slice(0, hashDigestLength);\n\t\tthis.logger.timeEnd(\"hashing: hash digest\");\n\n\t\tthis.logger.time(\"hashing: process full hash modules\");\n\t\tfor (const chunk of fullHashChunks) {\n\t\t\tfor (const module of chunkGraph.getChunkFullHashModulesIterable(chunk)) {\n\t\t\t\tconst moduleHash = createHash(hashFunction);\n\t\t\t\tmodule.updateHash(moduleHash, {\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime: chunk.runtime,\n\t\t\t\t\truntimeTemplate\n\t\t\t\t});\n\t\t\t\tconst moduleHashDigest = /** @type {string} */ (\n\t\t\t\t\tmoduleHash.digest(hashDigest)\n\t\t\t\t);\n\t\t\t\tconst oldHash = chunkGraph.getModuleHash(module, chunk.runtime);\n\t\t\t\tchunkGraph.setModuleHashes(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunk.runtime,\n\t\t\t\t\tmoduleHashDigest,\n\t\t\t\t\tmoduleHashDigest.slice(0, hashDigestLength)\n\t\t\t\t);\n\t\t\t\tcodeGenerationJobsMap.get(oldHash).get(module).hash = moduleHashDigest;\n\t\t\t}\n\t\t\tconst chunkHash = createHash(hashFunction);\n\t\t\tchunkHash.update(chunk.hash);\n\t\t\tchunkHash.update(this.hash);\n\t\t\tconst chunkHashDigest = /** @type {string} */ (\n\t\t\t\tchunkHash.digest(hashDigest)\n\t\t\t);\n\t\t\tchunk.hash = chunkHashDigest;\n\t\t\tchunk.renderedHash = chunk.hash.slice(0, hashDigestLength);\n\t\t\tthis.hooks.contentHash.call(chunk);\n\t\t}\n\t\tthis.logger.timeEnd(\"hashing: process full hash modules\");\n\t\treturn codeGenerationJobs;\n\t}\n\n\t/**\n\t * @param {string} file file name\n\t * @param {Source} source asset source\n\t * @param {AssetInfo} assetInfo extra asset information\n\t * @returns {void}\n\t */\n\temitAsset(file, source, assetInfo = {}) {\n\t\tif (this.assets[file]) {\n\t\t\tif (!isSourceEqual(this.assets[file], source)) {\n\t\t\t\tthis.errors.push(\n\t\t\t\t\tnew WebpackError(\n\t\t\t\t\t\t`Conflict: Multiple assets emit different content to the same filename ${file}${\n\t\t\t\t\t\t\tassetInfo.sourceFilename\n\t\t\t\t\t\t\t\t? `. Original source ${assetInfo.sourceFilename}`\n\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t}`\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tthis.assets[file] = source;\n\t\t\t\tthis._setAssetInfo(file, assetInfo);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst oldInfo = this.assetsInfo.get(file);\n\t\t\tconst newInfo = Object.assign({}, oldInfo, assetInfo);\n\t\t\tthis._setAssetInfo(file, newInfo, oldInfo);\n\t\t\treturn;\n\t\t}\n\t\tthis.assets[file] = source;\n\t\tthis._setAssetInfo(file, assetInfo, undefined);\n\t}\n\n\t_setAssetInfo(file, newInfo, oldInfo = this.assetsInfo.get(file)) {\n\t\tif (newInfo === undefined) {\n\t\t\tthis.assetsInfo.delete(file);\n\t\t} else {\n\t\t\tthis.assetsInfo.set(file, newInfo);\n\t\t}\n\t\tconst oldRelated = oldInfo && oldInfo.related;\n\t\tconst newRelated = newInfo && newInfo.related;\n\t\tif (oldRelated) {\n\t\t\tfor (const key of Object.keys(oldRelated)) {\n\t\t\t\tconst remove = name => {\n\t\t\t\t\tconst relatedIn = this._assetsRelatedIn.get(name);\n\t\t\t\t\tif (relatedIn === undefined) return;\n\t\t\t\t\tconst entry = relatedIn.get(key);\n\t\t\t\t\tif (entry === undefined) return;\n\t\t\t\t\tentry.delete(file);\n\t\t\t\t\tif (entry.size !== 0) return;\n\t\t\t\t\trelatedIn.delete(key);\n\t\t\t\t\tif (relatedIn.size === 0) this._assetsRelatedIn.delete(name);\n\t\t\t\t};\n\t\t\t\tconst entry = oldRelated[key];\n\t\t\t\tif (Array.isArray(entry)) {\n\t\t\t\t\tentry.forEach(remove);\n\t\t\t\t} else if (entry) {\n\t\t\t\t\tremove(entry);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (newRelated) {\n\t\t\tfor (const key of Object.keys(newRelated)) {\n\t\t\t\tconst add = name => {\n\t\t\t\t\tlet relatedIn = this._assetsRelatedIn.get(name);\n\t\t\t\t\tif (relatedIn === undefined) {\n\t\t\t\t\t\tthis._assetsRelatedIn.set(name, (relatedIn = new Map()));\n\t\t\t\t\t}\n\t\t\t\t\tlet entry = relatedIn.get(key);\n\t\t\t\t\tif (entry === undefined) {\n\t\t\t\t\t\trelatedIn.set(key, (entry = new Set()));\n\t\t\t\t\t}\n\t\t\t\t\tentry.add(file);\n\t\t\t\t};\n\t\t\t\tconst entry = newRelated[key];\n\t\t\t\tif (Array.isArray(entry)) {\n\t\t\t\t\tentry.forEach(add);\n\t\t\t\t} else if (entry) {\n\t\t\t\t\tadd(entry);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} file file name\n\t * @param {Source | function(Source): Source} newSourceOrFunction new asset source or function converting old to new\n\t * @param {AssetInfo | function(AssetInfo | undefined): AssetInfo} assetInfoUpdateOrFunction new asset info or function converting old to new\n\t */\n\tupdateAsset(\n\t\tfile,\n\t\tnewSourceOrFunction,\n\t\tassetInfoUpdateOrFunction = undefined\n\t) {\n\t\tif (!this.assets[file]) {\n\t\t\tthrow new Error(\n\t\t\t\t`Called Compilation.updateAsset for not existing filename ${file}`\n\t\t\t);\n\t\t}\n\t\tif (typeof newSourceOrFunction === \"function\") {\n\t\t\tthis.assets[file] = newSourceOrFunction(this.assets[file]);\n\t\t} else {\n\t\t\tthis.assets[file] = newSourceOrFunction;\n\t\t}\n\t\tif (assetInfoUpdateOrFunction !== undefined) {\n\t\t\tconst oldInfo = this.assetsInfo.get(file) || EMPTY_ASSET_INFO;\n\t\t\tif (typeof assetInfoUpdateOrFunction === \"function\") {\n\t\t\t\tthis._setAssetInfo(file, assetInfoUpdateOrFunction(oldInfo), oldInfo);\n\t\t\t} else {\n\t\t\t\tthis._setAssetInfo(\n\t\t\t\t\tfile,\n\t\t\t\t\tcachedCleverMerge(oldInfo, assetInfoUpdateOrFunction),\n\t\t\t\t\toldInfo\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\trenameAsset(file, newFile) {\n\t\tconst source = this.assets[file];\n\t\tif (!source) {\n\t\t\tthrow new Error(\n\t\t\t\t`Called Compilation.renameAsset for not existing filename ${file}`\n\t\t\t);\n\t\t}\n\t\tif (this.assets[newFile]) {\n\t\t\tif (!isSourceEqual(this.assets[file], source)) {\n\t\t\t\tthis.errors.push(\n\t\t\t\t\tnew WebpackError(\n\t\t\t\t\t\t`Conflict: Called Compilation.renameAsset for already existing filename ${newFile} with different content`\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tconst assetInfo = this.assetsInfo.get(file);\n\t\t// Update related in all other assets\n\t\tconst relatedInInfo = this._assetsRelatedIn.get(file);\n\t\tif (relatedInInfo) {\n\t\t\tfor (const [key, assets] of relatedInInfo) {\n\t\t\t\tfor (const name of assets) {\n\t\t\t\t\tconst info = this.assetsInfo.get(name);\n\t\t\t\t\tif (!info) continue;\n\t\t\t\t\tconst related = info.related;\n\t\t\t\t\tif (!related) continue;\n\t\t\t\t\tconst entry = related[key];\n\t\t\t\t\tlet newEntry;\n\t\t\t\t\tif (Array.isArray(entry)) {\n\t\t\t\t\t\tnewEntry = entry.map(x => (x === file ? newFile : x));\n\t\t\t\t\t} else if (entry === file) {\n\t\t\t\t\t\tnewEntry = newFile;\n\t\t\t\t\t} else continue;\n\t\t\t\t\tthis.assetsInfo.set(name, {\n\t\t\t\t\t\t...info,\n\t\t\t\t\t\trelated: {\n\t\t\t\t\t\t\t...related,\n\t\t\t\t\t\t\t[key]: newEntry\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tthis._setAssetInfo(file, undefined, assetInfo);\n\t\tthis._setAssetInfo(newFile, assetInfo);\n\t\tdelete this.assets[file];\n\t\tthis.assets[newFile] = source;\n\t\tfor (const chunk of this.chunks) {\n\t\t\t{\n\t\t\t\tconst size = chunk.files.size;\n\t\t\t\tchunk.files.delete(file);\n\t\t\t\tif (size !== chunk.files.size) {\n\t\t\t\t\tchunk.files.add(newFile);\n\t\t\t\t}\n\t\t\t}\n\t\t\t{\n\t\t\t\tconst size = chunk.auxiliaryFiles.size;\n\t\t\t\tchunk.auxiliaryFiles.delete(file);\n\t\t\t\tif (size !== chunk.auxiliaryFiles.size) {\n\t\t\t\t\tchunk.auxiliaryFiles.add(newFile);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} file file name\n\t */\n\tdeleteAsset(file) {\n\t\tif (!this.assets[file]) {\n\t\t\treturn;\n\t\t}\n\t\tdelete this.assets[file];\n\t\tconst assetInfo = this.assetsInfo.get(file);\n\t\tthis._setAssetInfo(file, undefined, assetInfo);\n\t\tconst related = assetInfo && assetInfo.related;\n\t\tif (related) {\n\t\t\tfor (const key of Object.keys(related)) {\n\t\t\t\tconst checkUsedAndDelete = file => {\n\t\t\t\t\tif (!this._assetsRelatedIn.has(file)) {\n\t\t\t\t\t\tthis.deleteAsset(file);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tconst items = related[key];\n\t\t\t\tif (Array.isArray(items)) {\n\t\t\t\t\titems.forEach(checkUsedAndDelete);\n\t\t\t\t} else if (items) {\n\t\t\t\t\tcheckUsedAndDelete(items);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// TODO If this becomes a performance problem\n\t\t// store a reverse mapping from asset to chunk\n\t\tfor (const chunk of this.chunks) {\n\t\t\tchunk.files.delete(file);\n\t\t\tchunk.auxiliaryFiles.delete(file);\n\t\t}\n\t}\n\n\tgetAssets() {\n\t\t/** @type {Readonly<Asset>[]} */\n\t\tconst array = [];\n\t\tfor (const assetName of Object.keys(this.assets)) {\n\t\t\tif (Object.prototype.hasOwnProperty.call(this.assets, assetName)) {\n\t\t\t\tarray.push({\n\t\t\t\t\tname: assetName,\n\t\t\t\t\tsource: this.assets[assetName],\n\t\t\t\t\tinfo: this.assetsInfo.get(assetName) || EMPTY_ASSET_INFO\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\treturn array;\n\t}\n\n\t/**\n\t * @param {string} name the name of the asset\n\t * @returns {Readonly<Asset> | undefined} the asset or undefined when not found\n\t */\n\tgetAsset(name) {\n\t\tif (!Object.prototype.hasOwnProperty.call(this.assets, name))\n\t\t\treturn undefined;\n\t\treturn {\n\t\t\tname,\n\t\t\tsource: this.assets[name],\n\t\t\tinfo: this.assetsInfo.get(name) || EMPTY_ASSET_INFO\n\t\t};\n\t}\n\n\tclearAssets() {\n\t\tfor (const chunk of this.chunks) {\n\t\t\tchunk.files.clear();\n\t\t\tchunk.auxiliaryFiles.clear();\n\t\t}\n\t}\n\n\tcreateModuleAssets() {\n\t\tconst { chunkGraph } = this;\n\t\tfor (const module of this.modules) {\n\t\t\tif (module.buildInfo.assets) {\n\t\t\t\tconst assetsInfo = module.buildInfo.assetsInfo;\n\t\t\t\tfor (const assetName of Object.keys(module.buildInfo.assets)) {\n\t\t\t\t\tconst fileName = this.getPath(assetName, {\n\t\t\t\t\t\tchunkGraph: this.chunkGraph,\n\t\t\t\t\t\tmodule\n\t\t\t\t\t});\n\t\t\t\t\tfor (const chunk of chunkGraph.getModuleChunksIterable(module)) {\n\t\t\t\t\t\tchunk.auxiliaryFiles.add(fileName);\n\t\t\t\t\t}\n\t\t\t\t\tthis.emitAsset(\n\t\t\t\t\t\tfileName,\n\t\t\t\t\t\tmodule.buildInfo.assets[assetName],\n\t\t\t\t\t\tassetsInfo ? assetsInfo.get(assetName) : undefined\n\t\t\t\t\t);\n\t\t\t\t\tthis.hooks.moduleAsset.call(module, fileName);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {RenderManifestOptions} options options object\n\t * @returns {RenderManifestEntry[]} manifest entries\n\t */\n\tgetRenderManifest(options) {\n\t\treturn this.hooks.renderManifest.call([], options);\n\t}\n\n\t/**\n\t * @param {Callback} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\tcreateChunkAssets(callback) {\n\t\tconst outputOptions = this.outputOptions;\n\t\tconst cachedSourceMap = new WeakMap();\n\t\t/** @type {Map<string, {hash: string, source: Source, chunk: Chunk}>} */\n\t\tconst alreadyWrittenFiles = new Map();\n\n\t\tasyncLib.forEachLimit(\n\t\t\tthis.chunks,\n\t\t\t15,\n\t\t\t(chunk, callback) => {\n\t\t\t\t/** @type {RenderManifestEntry[]} */\n\t\t\t\tlet manifest;\n\t\t\t\ttry {\n\t\t\t\t\tmanifest = this.getRenderManifest({\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\thash: this.hash,\n\t\t\t\t\t\tfullHash: this.fullHash,\n\t\t\t\t\t\toutputOptions,\n\t\t\t\t\t\tcodeGenerationResults: this.codeGenerationResults,\n\t\t\t\t\t\tmoduleTemplates: this.moduleTemplates,\n\t\t\t\t\t\tdependencyTemplates: this.dependencyTemplates,\n\t\t\t\t\t\tchunkGraph: this.chunkGraph,\n\t\t\t\t\t\tmoduleGraph: this.moduleGraph,\n\t\t\t\t\t\truntimeTemplate: this.runtimeTemplate\n\t\t\t\t\t});\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthis.errors.push(new ChunkRenderError(chunk, \"\", err));\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\tasyncLib.forEach(\n\t\t\t\t\tmanifest,\n\t\t\t\t\t(fileManifest, callback) => {\n\t\t\t\t\t\tconst ident = fileManifest.identifier;\n\t\t\t\t\t\tconst usedHash = fileManifest.hash;\n\n\t\t\t\t\t\tconst assetCacheItem = this._assetsCache.getItemCache(\n\t\t\t\t\t\t\tident,\n\t\t\t\t\t\t\tusedHash\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tassetCacheItem.get((err, sourceFromCache) => {\n\t\t\t\t\t\t\t/** @type {string | function(PathData, AssetInfo=): string} */\n\t\t\t\t\t\t\tlet filenameTemplate;\n\t\t\t\t\t\t\t/** @type {string} */\n\t\t\t\t\t\t\tlet file;\n\t\t\t\t\t\t\t/** @type {AssetInfo} */\n\t\t\t\t\t\t\tlet assetInfo;\n\n\t\t\t\t\t\t\tlet inTry = true;\n\t\t\t\t\t\t\tconst errorAndCallback = err => {\n\t\t\t\t\t\t\t\tconst filename =\n\t\t\t\t\t\t\t\t\tfile ||\n\t\t\t\t\t\t\t\t\t(typeof file === \"string\"\n\t\t\t\t\t\t\t\t\t\t? file\n\t\t\t\t\t\t\t\t\t\t: typeof filenameTemplate === \"string\"\n\t\t\t\t\t\t\t\t\t\t? filenameTemplate\n\t\t\t\t\t\t\t\t\t\t: \"\");\n\n\t\t\t\t\t\t\t\tthis.errors.push(new ChunkRenderError(chunk, filename, err));\n\t\t\t\t\t\t\t\tinTry = false;\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tif (\"filename\" in fileManifest) {\n\t\t\t\t\t\t\t\t\tfile = fileManifest.filename;\n\t\t\t\t\t\t\t\t\tassetInfo = fileManifest.info;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfilenameTemplate = fileManifest.filenameTemplate;\n\t\t\t\t\t\t\t\t\tconst pathAndInfo = this.getPathWithInfo(\n\t\t\t\t\t\t\t\t\t\tfilenameTemplate,\n\t\t\t\t\t\t\t\t\t\tfileManifest.pathOptions\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tfile = pathAndInfo.path;\n\t\t\t\t\t\t\t\t\tassetInfo = fileManifest.info\n\t\t\t\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\t\t\t\t...pathAndInfo.info,\n\t\t\t\t\t\t\t\t\t\t\t\t...fileManifest.info\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t: pathAndInfo.info;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\treturn errorAndCallback(err);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tlet source = sourceFromCache;\n\n\t\t\t\t\t\t\t\t// check if the same filename was already written by another chunk\n\t\t\t\t\t\t\t\tconst alreadyWritten = alreadyWrittenFiles.get(file);\n\t\t\t\t\t\t\t\tif (alreadyWritten !== undefined) {\n\t\t\t\t\t\t\t\t\tif (alreadyWritten.hash !== usedHash) {\n\t\t\t\t\t\t\t\t\t\tinTry = false;\n\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\tnew WebpackError(\n\t\t\t\t\t\t\t\t\t\t\t\t`Conflict: Multiple chunks emit assets to the same filename ${file}` +\n\t\t\t\t\t\t\t\t\t\t\t\t\t` (chunks ${alreadyWritten.chunk.id} and ${chunk.id})`\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tsource = alreadyWritten.source;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (!source) {\n\t\t\t\t\t\t\t\t\t// render the asset\n\t\t\t\t\t\t\t\t\tsource = fileManifest.render();\n\n\t\t\t\t\t\t\t\t\t// Ensure that source is a cached source to avoid additional cost because of repeated access\n\t\t\t\t\t\t\t\t\tif (!(source instanceof CachedSource)) {\n\t\t\t\t\t\t\t\t\t\tconst cacheEntry = cachedSourceMap.get(source);\n\t\t\t\t\t\t\t\t\t\tif (cacheEntry) {\n\t\t\t\t\t\t\t\t\t\t\tsource = cacheEntry;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tconst cachedSource = new CachedSource(source);\n\t\t\t\t\t\t\t\t\t\t\tcachedSourceMap.set(source, cachedSource);\n\t\t\t\t\t\t\t\t\t\t\tsource = cachedSource;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.emitAsset(file, source, assetInfo);\n\t\t\t\t\t\t\t\tif (fileManifest.auxiliary) {\n\t\t\t\t\t\t\t\t\tchunk.auxiliaryFiles.add(file);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tchunk.files.add(file);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.hooks.chunkAsset.call(chunk, file);\n\t\t\t\t\t\t\t\talreadyWrittenFiles.set(file, {\n\t\t\t\t\t\t\t\t\thash: usedHash,\n\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tif (source !== sourceFromCache) {\n\t\t\t\t\t\t\t\t\tassetCacheItem.store(source, err => {\n\t\t\t\t\t\t\t\t\t\tif (err) return errorAndCallback(err);\n\t\t\t\t\t\t\t\t\t\tinTry = false;\n\t\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinTry = false;\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\tif (!inTry) throw err;\n\t\t\t\t\t\t\t\terrorAndCallback(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t},\n\t\t\tcallback\n\t\t);\n\t}\n\n\t/**\n\t * @param {string | function(PathData, AssetInfo=): string} filename used to get asset path with hash\n\t * @param {PathData} data context data\n\t * @returns {string} interpolated path\n\t */\n\tgetPath(filename, data = {}) {\n\t\tif (!data.hash) {\n\t\t\tdata = {\n\t\t\t\thash: this.hash,\n\t\t\t\t...data\n\t\t\t};\n\t\t}\n\t\treturn this.getAssetPath(filename, data);\n\t}\n\n\t/**\n\t * @param {string | function(PathData, AssetInfo=): string} filename used to get asset path with hash\n\t * @param {PathData} data context data\n\t * @returns {{ path: string, info: AssetInfo }} interpolated path and asset info\n\t */\n\tgetPathWithInfo(filename, data = {}) {\n\t\tif (!data.hash) {\n\t\t\tdata = {\n\t\t\t\thash: this.hash,\n\t\t\t\t...data\n\t\t\t};\n\t\t}\n\t\treturn this.getAssetPathWithInfo(filename, data);\n\t}\n\n\t/**\n\t * @param {string | function(PathData, AssetInfo=): string} filename used to get asset path with hash\n\t * @param {PathData} data context data\n\t * @returns {string} interpolated path\n\t */\n\tgetAssetPath(filename, data) {\n\t\treturn this.hooks.assetPath.call(\n\t\t\ttypeof filename === \"function\" ? filename(data) : filename,\n\t\t\tdata,\n\t\t\tundefined\n\t\t);\n\t}\n\n\t/**\n\t * @param {string | function(PathData, AssetInfo=): string} filename used to get asset path with hash\n\t * @param {PathData} data context data\n\t * @returns {{ path: string, info: AssetInfo }} interpolated path and asset info\n\t */\n\tgetAssetPathWithInfo(filename, data) {\n\t\tconst assetInfo = {};\n\t\t// TODO webpack 5: refactor assetPath hook to receive { path, info } object\n\t\tconst newPath = this.hooks.assetPath.call(\n\t\t\ttypeof filename === \"function\" ? filename(data, assetInfo) : filename,\n\t\t\tdata,\n\t\t\tassetInfo\n\t\t);\n\t\treturn { path: newPath, info: assetInfo };\n\t}\n\n\tgetWarnings() {\n\t\treturn this.hooks.processWarnings.call(this.warnings);\n\t}\n\n\tgetErrors() {\n\t\treturn this.hooks.processErrors.call(this.errors);\n\t}\n\n\t/**\n\t * This function allows you to run another instance of webpack inside of webpack however as\n\t * a child with different settings and configurations (if desired) applied. It copies all hooks, plugins\n\t * from parent (or top level compiler) and creates a child Compilation\n\t *\n\t * @param {string} name name of the child compiler\n\t * @param {OutputOptions=} outputOptions // Need to convert config schema to types for this\n\t * @param {Array<WebpackPluginInstance | WebpackPluginFunction>=} plugins webpack plugins that will be applied\n\t * @returns {Compiler} creates a child Compiler instance\n\t */\n\tcreateChildCompiler(name, outputOptions, plugins) {\n\t\tconst idx = this.childrenCounters[name] || 0;\n\t\tthis.childrenCounters[name] = idx + 1;\n\t\treturn this.compiler.createChildCompiler(\n\t\t\tthis,\n\t\t\tname,\n\t\t\tidx,\n\t\t\toutputOptions,\n\t\t\tplugins\n\t\t);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {ExecuteModuleOptions} options options\n\t * @param {ExecuteModuleCallback} callback callback\n\t */\n\texecuteModule(module, options, callback) {\n\t\t// Aggregate all referenced modules and ensure they are ready\n\t\tconst modules = new Set([module]);\n\t\tprocessAsyncTree(\n\t\t\tmodules,\n\t\t\t10,\n\t\t\t/**\n\t\t\t * @param {Module} module the module\n\t\t\t * @param {function(Module): void} push push more jobs\n\t\t\t * @param {Callback} callback callback\n\t\t\t * @returns {void}\n\t\t\t */\n\t\t\t(module, push, callback) => {\n\t\t\t\tthis.buildQueue.waitFor(module, err => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tthis.processDependenciesQueue.waitFor(module, err => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tfor (const { module: m } of this.moduleGraph.getOutgoingConnections(\n\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tconst size = modules.size;\n\t\t\t\t\t\t\tmodules.add(m);\n\t\t\t\t\t\t\tif (modules.size !== size) push(m);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t// Create new chunk graph, chunk and entrypoint for the build time execution\n\t\t\t\tconst chunkGraph = new ChunkGraph(\n\t\t\t\t\tthis.moduleGraph,\n\t\t\t\t\tthis.outputOptions.hashFunction\n\t\t\t\t);\n\t\t\t\tconst runtime = \"build time\";\n\t\t\t\tconst { hashFunction, hashDigest, hashDigestLength } =\n\t\t\t\t\tthis.outputOptions;\n\t\t\t\tconst runtimeTemplate = this.runtimeTemplate;\n\n\t\t\t\tconst chunk = new Chunk(\"build time chunk\", this._backCompat);\n\t\t\t\tchunk.id = chunk.name;\n\t\t\t\tchunk.ids = [chunk.id];\n\t\t\t\tchunk.runtime = runtime;\n\n\t\t\t\tconst entrypoint = new Entrypoint({\n\t\t\t\t\truntime,\n\t\t\t\t\tchunkLoading: false,\n\t\t\t\t\t...options.entryOptions\n\t\t\t\t});\n\t\t\t\tchunkGraph.connectChunkAndEntryModule(chunk, module, entrypoint);\n\t\t\t\tconnectChunkGroupAndChunk(entrypoint, chunk);\n\t\t\t\tentrypoint.setRuntimeChunk(chunk);\n\t\t\t\tentrypoint.setEntrypointChunk(chunk);\n\n\t\t\t\tconst chunks = new Set([chunk]);\n\n\t\t\t\t// Assign ids to modules and modules to the chunk\n\t\t\t\tfor (const module of modules) {\n\t\t\t\t\tconst id = module.identifier();\n\t\t\t\t\tchunkGraph.setModuleId(module, id);\n\t\t\t\t\tchunkGraph.connectChunkAndModule(chunk, module);\n\t\t\t\t}\n\n\t\t\t\t/** @type {WebpackError[]} */\n\t\t\t\tconst errors = [];\n\n\t\t\t\t// Hash modules\n\t\t\t\tfor (const module of modules) {\n\t\t\t\t\tthis._createModuleHash(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\thashFunction,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\thashDigest,\n\t\t\t\t\t\thashDigestLength,\n\t\t\t\t\t\terrors\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tconst codeGenerationResults = new CodeGenerationResults(\n\t\t\t\t\tthis.outputOptions.hashFunction\n\t\t\t\t);\n\t\t\t\t/**\n\t\t\t\t * @param {Module} module the module\n\t\t\t\t * @param {Callback} callback callback\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst codeGen = (module, callback) => {\n\t\t\t\t\tthis._codeGenerationModule(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\t[runtime],\n\t\t\t\t\t\tchunkGraph.getModuleHash(module, runtime),\n\t\t\t\t\t\tthis.dependencyTemplates,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tthis.moduleGraph,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\terrors,\n\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t(err, codeGenerated) => {\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tconst reportErrors = () => {\n\t\t\t\t\tif (errors.length > 0) {\n\t\t\t\t\t\terrors.sort(\n\t\t\t\t\t\t\tcompareSelect(err => err.module, compareModulesByIdentifier)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tfor (const error of errors) {\n\t\t\t\t\t\t\tthis.errors.push(error);\n\t\t\t\t\t\t}\n\t\t\t\t\t\terrors.length = 0;\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Generate code for all aggregated modules\n\t\t\t\tasyncLib.eachLimit(modules, 10, codeGen, err => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\treportErrors();\n\n\t\t\t\t\t// for backward-compat temporary set the chunk graph\n\t\t\t\t\t// TODO webpack 6\n\t\t\t\t\tconst old = this.chunkGraph;\n\t\t\t\t\tthis.chunkGraph = chunkGraph;\n\t\t\t\t\tthis.processRuntimeRequirements({\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tmodules,\n\t\t\t\t\t\tchunks,\n\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\tchunkGraphEntries: chunks\n\t\t\t\t\t});\n\t\t\t\t\tthis.chunkGraph = old;\n\n\t\t\t\t\tconst runtimeModules =\n\t\t\t\t\t\tchunkGraph.getChunkRuntimeModulesIterable(chunk);\n\n\t\t\t\t\t// Hash runtime modules\n\t\t\t\t\tfor (const module of runtimeModules) {\n\t\t\t\t\t\tmodules.add(module);\n\t\t\t\t\t\tthis._createModuleHash(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\thashFunction,\n\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\thashDigest,\n\t\t\t\t\t\t\thashDigestLength\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Generate code for all runtime modules\n\t\t\t\t\tasyncLib.eachLimit(runtimeModules, 10, codeGen, err => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\treportErrors();\n\n\t\t\t\t\t\t/** @type {Map<Module, ExecuteModuleArgument>} */\n\t\t\t\t\t\tconst moduleArgumentsMap = new Map();\n\t\t\t\t\t\t/** @type {Map<string, ExecuteModuleArgument>} */\n\t\t\t\t\t\tconst moduleArgumentsById = new Map();\n\n\t\t\t\t\t\t/** @type {ExecuteModuleResult[\"fileDependencies\"]} */\n\t\t\t\t\t\tconst fileDependencies = new LazySet();\n\t\t\t\t\t\t/** @type {ExecuteModuleResult[\"contextDependencies\"]} */\n\t\t\t\t\t\tconst contextDependencies = new LazySet();\n\t\t\t\t\t\t/** @type {ExecuteModuleResult[\"missingDependencies\"]} */\n\t\t\t\t\t\tconst missingDependencies = new LazySet();\n\t\t\t\t\t\t/** @type {ExecuteModuleResult[\"buildDependencies\"]} */\n\t\t\t\t\t\tconst buildDependencies = new LazySet();\n\n\t\t\t\t\t\t/** @type {ExecuteModuleResult[\"assets\"]} */\n\t\t\t\t\t\tconst assets = new Map();\n\n\t\t\t\t\t\tlet cacheable = true;\n\n\t\t\t\t\t\t/** @type {ExecuteModuleContext} */\n\t\t\t\t\t\tconst context = {\n\t\t\t\t\t\t\tassets,\n\t\t\t\t\t\t\t__webpack_require__: undefined,\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// Prepare execution\n\t\t\t\t\t\tasyncLib.eachLimit(\n\t\t\t\t\t\t\tmodules,\n\t\t\t\t\t\t\t10,\n\t\t\t\t\t\t\t(module, callback) => {\n\t\t\t\t\t\t\t\tconst codeGenerationResult = codeGenerationResults.get(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t/** @type {ExecuteModuleArgument} */\n\t\t\t\t\t\t\t\tconst moduleArgument = {\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tcodeGenerationResult,\n\t\t\t\t\t\t\t\t\tpreparedInfo: undefined,\n\t\t\t\t\t\t\t\t\tmoduleObject: undefined\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tmoduleArgumentsMap.set(module, moduleArgument);\n\t\t\t\t\t\t\t\tmoduleArgumentsById.set(module.identifier(), moduleArgument);\n\t\t\t\t\t\t\t\tmodule.addCacheDependencies(\n\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\tbuildDependencies\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (module.buildInfo.cacheable === false) {\n\t\t\t\t\t\t\t\t\tcacheable = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (module.buildInfo && module.buildInfo.assets) {\n\t\t\t\t\t\t\t\t\tconst { assets: moduleAssets, assetsInfo } = module.buildInfo;\n\t\t\t\t\t\t\t\t\tfor (const assetName of Object.keys(moduleAssets)) {\n\t\t\t\t\t\t\t\t\t\tassets.set(assetName, {\n\t\t\t\t\t\t\t\t\t\t\tsource: moduleAssets[assetName],\n\t\t\t\t\t\t\t\t\t\t\tinfo: assetsInfo ? assetsInfo.get(assetName) : undefined\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.hooks.prepareModuleExecution.callAsync(\n\t\t\t\t\t\t\t\t\tmoduleArgument,\n\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\tlet exports;\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\t\t\t\tstrictModuleErrorHandling,\n\t\t\t\t\t\t\t\t\t\tstrictModuleExceptionHandling\n\t\t\t\t\t\t\t\t\t} = this.outputOptions;\n\t\t\t\t\t\t\t\t\tconst __nested_webpack_require_153330__ = id => {\n\t\t\t\t\t\t\t\t\t\tconst cached = moduleCache[id];\n\t\t\t\t\t\t\t\t\t\tif (cached !== undefined) {\n\t\t\t\t\t\t\t\t\t\t\tif (cached.error) throw cached.error;\n\t\t\t\t\t\t\t\t\t\t\treturn cached.exports;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tconst moduleArgument = moduleArgumentsById.get(id);\n\t\t\t\t\t\t\t\t\t\treturn __webpack_require_module__(moduleArgument, id);\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tconst interceptModuleExecution = (__nested_webpack_require_153330__[\n\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.interceptModuleExecution.replace(\n\t\t\t\t\t\t\t\t\t\t\t\"__webpack_require__.\",\n\t\t\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t] = []);\n\t\t\t\t\t\t\t\t\tconst moduleCache = (__nested_webpack_require_153330__[\n\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.moduleCache.replace(\n\t\t\t\t\t\t\t\t\t\t\t\"__webpack_require__.\",\n\t\t\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t] = {});\n\n\t\t\t\t\t\t\t\t\tcontext.__webpack_require__ = __nested_webpack_require_153330__;\n\n\t\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t\t * @param {ExecuteModuleArgument} moduleArgument the module argument\n\t\t\t\t\t\t\t\t\t * @param {string=} id id\n\t\t\t\t\t\t\t\t\t * @returns {any} exports\n\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\tconst __webpack_require_module__ = (moduleArgument, id) => {\n\t\t\t\t\t\t\t\t\t\tvar execOptions = {\n\t\t\t\t\t\t\t\t\t\t\tid,\n\t\t\t\t\t\t\t\t\t\t\tmodule: {\n\t\t\t\t\t\t\t\t\t\t\t\tid,\n\t\t\t\t\t\t\t\t\t\t\t\texports: {},\n\t\t\t\t\t\t\t\t\t\t\t\tloaded: false,\n\t\t\t\t\t\t\t\t\t\t\t\terror: undefined\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\trequire: __nested_webpack_require_153330__\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tinterceptModuleExecution.forEach(handler =>\n\t\t\t\t\t\t\t\t\t\t\thandler(execOptions)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst module = moduleArgument.module;\n\t\t\t\t\t\t\t\t\t\tthis.buildTimeExecutedModules.add(module);\n\t\t\t\t\t\t\t\t\t\tconst moduleObject = execOptions.module;\n\t\t\t\t\t\t\t\t\t\tmoduleArgument.moduleObject = moduleObject;\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tif (id) moduleCache[id] = moduleObject;\n\n\t\t\t\t\t\t\t\t\t\t\ttryRunOrWebpackError(\n\t\t\t\t\t\t\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.hooks.executeModule.call(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleArgument,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontext\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t\"Compilation.hooks.executeModule\"\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tmoduleObject.loaded = true;\n\t\t\t\t\t\t\t\t\t\t\treturn moduleObject.exports;\n\t\t\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\t\t\tif (strictModuleExceptionHandling) {\n\t\t\t\t\t\t\t\t\t\t\t\tif (id) delete moduleCache[id];\n\t\t\t\t\t\t\t\t\t\t\t} else if (strictModuleErrorHandling) {\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleObject.error = e;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tif (!e.module) e.module = module;\n\t\t\t\t\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tfor (const runtimeModule of chunkGraph.getChunkRuntimeModulesInOrder(\n\t\t\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t\t\t__webpack_require_module__(\n\t\t\t\t\t\t\t\t\t\t\tmoduleArgumentsMap.get(runtimeModule)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\texports = __nested_webpack_require_153330__(module.identifier());\n\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t\t\t\t\t\t`Execution of module code from module graph (${module.readableIdentifier(\n\t\t\t\t\t\t\t\t\t\t\tthis.requestShortener\n\t\t\t\t\t\t\t\t\t\t)}) failed: ${e.message}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\terr.stack = e.stack;\n\t\t\t\t\t\t\t\t\terr.module = e.module;\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\t\t\t\texports,\n\t\t\t\t\t\t\t\t\tassets,\n\t\t\t\t\t\t\t\t\tcacheable,\n\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\tbuildDependencies\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n\n\tcheckConstraints() {\n\t\tconst chunkGraph = this.chunkGraph;\n\n\t\t/** @type {Set<number|string>} */\n\t\tconst usedIds = new Set();\n\n\t\tfor (const module of this.modules) {\n\t\t\tif (module.type === \"runtime\") continue;\n\t\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\t\tif (moduleId === null) continue;\n\t\t\tif (usedIds.has(moduleId)) {\n\t\t\t\tthrow new Error(`checkConstraints: duplicate module id ${moduleId}`);\n\t\t\t}\n\t\t\tusedIds.add(moduleId);\n\t\t}\n\n\t\tfor (const chunk of this.chunks) {\n\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\tif (!this.modules.has(module)) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"checkConstraints: module in chunk but not in compilation \" +\n\t\t\t\t\t\t\t` ${chunk.debugId} ${module.debugId}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const module of chunkGraph.getChunkEntryModulesIterable(chunk)) {\n\t\t\t\tif (!this.modules.has(module)) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"checkConstraints: entry module in chunk but not in compilation \" +\n\t\t\t\t\t\t\t` ${chunk.debugId} ${module.debugId}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const chunkGroup of this.chunkGroups) {\n\t\t\tchunkGroup.checkConstraints();\n\t\t}\n\t}\n}\n\n/**\n * @typedef {Object} FactorizeModuleOptions\n * @property {ModuleProfile} currentProfile\n * @property {ModuleFactory} factory\n * @property {Dependency[]} dependencies\n * @property {boolean=} factoryResult return full ModuleFactoryResult instead of only module\n * @property {Module | null} originModule\n * @property {Partial<ModuleFactoryCreateDataContextInfo>=} contextInfo\n * @property {string=} context\n */\n\n/**\n * @param {FactorizeModuleOptions} options options object\n * @param {ModuleCallback | ModuleFactoryResultCallback} callback callback\n * @returns {void}\n */\n\n// Workaround for typescript as it doesn't support function overloading in jsdoc within a class\nCompilation.prototype.factorizeModule = /** @type {{\n\t(options: FactorizeModuleOptions & { factoryResult?: false }, callback: ModuleCallback): void;\n\t(options: FactorizeModuleOptions & { factoryResult: true }, callback: ModuleFactoryResultCallback): void;\n}} */ (\n\tfunction (options, callback) {\n\t\tthis.factorizeQueue.add(options, callback);\n\t}\n);\n\n// Hide from typescript\nconst compilationPrototype = Compilation.prototype;\n\n// TODO webpack 6 remove\nObject.defineProperty(compilationPrototype, \"modifyHash\", {\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: false,\n\tvalue: () => {\n\t\tthrow new Error(\n\t\t\t\"Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash\"\n\t\t);\n\t}\n});\n\n// TODO webpack 6 remove\nObject.defineProperty(compilationPrototype, \"cache\", {\n\tenumerable: false,\n\tconfigurable: false,\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {Compilation} the compilation\n\t\t * @returns {Cache} the cache\n\t\t */\n\t\tfunction () {\n\t\t\treturn this.compiler.cache;\n\t\t},\n\t\t\"Compilation.cache was removed in favor of Compilation.getCache()\",\n\t\t\"DEP_WEBPACK_COMPILATION_CACHE\"\n\t),\n\tset: util.deprecate(\n\t\tv => {},\n\t\t\"Compilation.cache was removed in favor of Compilation.getCache()\",\n\t\t\"DEP_WEBPACK_COMPILATION_CACHE\"\n\t)\n});\n\n/**\n * Add additional assets to the compilation.\n */\nCompilation.PROCESS_ASSETS_STAGE_ADDITIONAL = -2000;\n\n/**\n * Basic preprocessing of assets.\n */\nCompilation.PROCESS_ASSETS_STAGE_PRE_PROCESS = -1000;\n\n/**\n * Derive new assets from existing assets.\n * Existing assets should not be treated as complete.\n */\nCompilation.PROCESS_ASSETS_STAGE_DERIVED = -200;\n\n/**\n * Add additional sections to existing assets, like a banner or initialization code.\n */\nCompilation.PROCESS_ASSETS_STAGE_ADDITIONS = -100;\n\n/**\n * Optimize existing assets in a general way.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE = 100;\n\n/**\n * Optimize the count of existing assets, e. g. by merging them.\n * Only assets of the same type should be merged.\n * For assets of different types see PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT = 200;\n\n/**\n * Optimize the compatibility of existing assets, e. g. add polyfills or vendor-prefixes.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY = 300;\n\n/**\n * Optimize the size of existing assets, e. g. by minimizing or omitting whitespace.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE = 400;\n\n/**\n * Add development tooling to assets, e. g. by extracting a SourceMap.\n */\nCompilation.PROCESS_ASSETS_STAGE_DEV_TOOLING = 500;\n\n/**\n * Optimize the count of existing assets, e. g. by inlining assets of into other assets.\n * Only assets of different types should be inlined.\n * For assets of the same type see PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE = 700;\n\n/**\n * Summarize the list of existing assets\n * e. g. creating an assets manifest of Service Workers.\n */\nCompilation.PROCESS_ASSETS_STAGE_SUMMARIZE = 1000;\n\n/**\n * Optimize the hashes of the assets, e. g. by generating real hashes of the asset content.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH = 2500;\n\n/**\n * Optimize the transfer of existing assets, e. g. by preparing a compressed (gzip) file as separate asset.\n */\nCompilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER = 3000;\n\n/**\n * Analyse existing assets.\n */\nCompilation.PROCESS_ASSETS_STAGE_ANALYSE = 4000;\n\n/**\n * Creating assets for reporting purposes.\n */\nCompilation.PROCESS_ASSETS_STAGE_REPORT = 5000;\n\nmodule.exports = Compilation;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Compilation.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Compiler.js": /*!**********************************************!*\ !*** ./node_modules/webpack/lib/Compiler.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst parseJson = __webpack_require__(/*! json-parse-even-better-errors */ \"./node_modules/json-parse-even-better-errors/index.js\");\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst {\n\tSyncHook,\n\tSyncBailHook,\n\tAsyncParallelHook,\n\tAsyncSeriesHook\n} = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst { SizeOnlySource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst webpack = __webpack_require__(/*! ./ */ \"./node_modules/webpack/lib/index.js\");\nconst Cache = __webpack_require__(/*! ./Cache */ \"./node_modules/webpack/lib/Cache.js\");\nconst CacheFacade = __webpack_require__(/*! ./CacheFacade */ \"./node_modules/webpack/lib/CacheFacade.js\");\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst Compilation = __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst ConcurrentCompilationError = __webpack_require__(/*! ./ConcurrentCompilationError */ \"./node_modules/webpack/lib/ConcurrentCompilationError.js\");\nconst ContextModuleFactory = __webpack_require__(/*! ./ContextModuleFactory */ \"./node_modules/webpack/lib/ContextModuleFactory.js\");\nconst ModuleGraph = __webpack_require__(/*! ./ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\nconst NormalModuleFactory = __webpack_require__(/*! ./NormalModuleFactory */ \"./node_modules/webpack/lib/NormalModuleFactory.js\");\nconst RequestShortener = __webpack_require__(/*! ./RequestShortener */ \"./node_modules/webpack/lib/RequestShortener.js\");\nconst ResolverFactory = __webpack_require__(/*! ./ResolverFactory */ \"./node_modules/webpack/lib/ResolverFactory.js\");\nconst Stats = __webpack_require__(/*! ./Stats */ \"./node_modules/webpack/lib/Stats.js\");\nconst Watching = __webpack_require__(/*! ./Watching */ \"./node_modules/webpack/lib/Watching.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst { Logger } = __webpack_require__(/*! ./logging/Logger */ \"./node_modules/webpack/lib/logging/Logger.js\");\nconst { join, dirname, mkdirp } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst { makePathsRelative } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst { isSourceEqual } = __webpack_require__(/*! ./util/source */ \"./node_modules/webpack/lib/util/source.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryNormalized} Entry */\n/** @typedef {import(\"../declarations/WebpackOptions\").OutputNormalized} OutputOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WatchOptions} WatchOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackPluginInstance} WebpackPluginInstance */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./FileSystemInfo\").FileSystemInfoEntry} FileSystemInfoEntry */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./util/WeakTupleMap\")} WeakTupleMap */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./util/fs\").IntermediateFileSystem} IntermediateFileSystem */\n/** @typedef {import(\"./util/fs\").OutputFileSystem} OutputFileSystem */\n/** @typedef {import(\"./util/fs\").WatchFileSystem} WatchFileSystem */\n\n/**\n * @typedef {Object} CompilationParams\n * @property {NormalModuleFactory} normalModuleFactory\n * @property {ContextModuleFactory} contextModuleFactory\n */\n\n/**\n * @template T\n * @callback Callback\n * @param {(Error | null)=} err\n * @param {T=} result\n */\n\n/**\n * @callback RunAsChildCallback\n * @param {(Error | null)=} err\n * @param {Chunk[]=} entries\n * @param {Compilation=} compilation\n */\n\n/**\n * @typedef {Object} AssetEmittedInfo\n * @property {Buffer} content\n * @property {Source} source\n * @property {Compilation} compilation\n * @property {string} outputPath\n * @property {string} targetPath\n */\n\n/**\n * @param {string[]} array an array\n * @returns {boolean} true, if the array is sorted\n */\nconst isSorted = array => {\n\tfor (let i = 1; i < array.length; i++) {\n\t\tif (array[i - 1] > array[i]) return false;\n\t}\n\treturn true;\n};\n\n/**\n * @param {Object} obj an object\n * @param {string[]} keys the keys of the object\n * @returns {Object} the object with properties sorted by property name\n */\nconst sortObject = (obj, keys) => {\n\tconst o = {};\n\tfor (const k of keys.sort()) {\n\t\to[k] = obj[k];\n\t}\n\treturn o;\n};\n\n/**\n * @param {string} filename filename\n * @param {string | string[] | undefined} hashes list of hashes\n * @returns {boolean} true, if the filename contains any hash\n */\nconst includesHash = (filename, hashes) => {\n\tif (!hashes) return false;\n\tif (Array.isArray(hashes)) {\n\t\treturn hashes.some(hash => filename.includes(hash));\n\t} else {\n\t\treturn filename.includes(hashes);\n\t}\n};\n\nclass Compiler {\n\t/**\n\t * @param {string} context the compilation path\n\t * @param {WebpackOptions} options options\n\t */\n\tconstructor(context, options = /** @type {WebpackOptions} */ ({})) {\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tinitialize: new SyncHook([]),\n\n\t\t\t/** @type {SyncBailHook<[Compilation], boolean>} */\n\t\t\tshouldEmit: new SyncBailHook([\"compilation\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Stats]>} */\n\t\t\tdone: new AsyncSeriesHook([\"stats\"]),\n\t\t\t/** @type {SyncHook<[Stats]>} */\n\t\t\tafterDone: new SyncHook([\"stats\"]),\n\t\t\t/** @type {AsyncSeriesHook<[]>} */\n\t\t\tadditionalPass: new AsyncSeriesHook([]),\n\t\t\t/** @type {AsyncSeriesHook<[Compiler]>} */\n\t\t\tbeforeRun: new AsyncSeriesHook([\"compiler\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Compiler]>} */\n\t\t\trun: new AsyncSeriesHook([\"compiler\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Compilation]>} */\n\t\t\temit: new AsyncSeriesHook([\"compilation\"]),\n\t\t\t/** @type {AsyncSeriesHook<[string, AssetEmittedInfo]>} */\n\t\t\tassetEmitted: new AsyncSeriesHook([\"file\", \"info\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Compilation]>} */\n\t\t\tafterEmit: new AsyncSeriesHook([\"compilation\"]),\n\n\t\t\t/** @type {SyncHook<[Compilation, CompilationParams]>} */\n\t\t\tthisCompilation: new SyncHook([\"compilation\", \"params\"]),\n\t\t\t/** @type {SyncHook<[Compilation, CompilationParams]>} */\n\t\t\tcompilation: new SyncHook([\"compilation\", \"params\"]),\n\t\t\t/** @type {SyncHook<[NormalModuleFactory]>} */\n\t\t\tnormalModuleFactory: new SyncHook([\"normalModuleFactory\"]),\n\t\t\t/** @type {SyncHook<[ContextModuleFactory]>} */\n\t\t\tcontextModuleFactory: new SyncHook([\"contextModuleFactory\"]),\n\n\t\t\t/** @type {AsyncSeriesHook<[CompilationParams]>} */\n\t\t\tbeforeCompile: new AsyncSeriesHook([\"params\"]),\n\t\t\t/** @type {SyncHook<[CompilationParams]>} */\n\t\t\tcompile: new SyncHook([\"params\"]),\n\t\t\t/** @type {AsyncParallelHook<[Compilation]>} */\n\t\t\tmake: new AsyncParallelHook([\"compilation\"]),\n\t\t\t/** @type {AsyncParallelHook<[Compilation]>} */\n\t\t\tfinishMake: new AsyncSeriesHook([\"compilation\"]),\n\t\t\t/** @type {AsyncSeriesHook<[Compilation]>} */\n\t\t\tafterCompile: new AsyncSeriesHook([\"compilation\"]),\n\n\t\t\t/** @type {AsyncSeriesHook<[]>} */\n\t\t\treadRecords: new AsyncSeriesHook([]),\n\t\t\t/** @type {AsyncSeriesHook<[]>} */\n\t\t\temitRecords: new AsyncSeriesHook([]),\n\n\t\t\t/** @type {AsyncSeriesHook<[Compiler]>} */\n\t\t\twatchRun: new AsyncSeriesHook([\"compiler\"]),\n\t\t\t/** @type {SyncHook<[Error]>} */\n\t\t\tfailed: new SyncHook([\"error\"]),\n\t\t\t/** @type {SyncHook<[string | null, number]>} */\n\t\t\tinvalid: new SyncHook([\"filename\", \"changeTime\"]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\twatchClose: new SyncHook([]),\n\t\t\t/** @type {AsyncSeriesHook<[]>} */\n\t\t\tshutdown: new AsyncSeriesHook([]),\n\n\t\t\t/** @type {SyncBailHook<[string, string, any[]], true>} */\n\t\t\tinfrastructureLog: new SyncBailHook([\"origin\", \"type\", \"args\"]),\n\n\t\t\t// TODO the following hooks are weirdly located here\n\t\t\t// TODO move them for webpack 5\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tenvironment: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\tafterEnvironment: new SyncHook([]),\n\t\t\t/** @type {SyncHook<[Compiler]>} */\n\t\t\tafterPlugins: new SyncHook([\"compiler\"]),\n\t\t\t/** @type {SyncHook<[Compiler]>} */\n\t\t\tafterResolvers: new SyncHook([\"compiler\"]),\n\t\t\t/** @type {SyncBailHook<[string, Entry], boolean>} */\n\t\t\tentryOption: new SyncBailHook([\"context\", \"entry\"])\n\t\t});\n\n\t\tthis.webpack = webpack;\n\n\t\t/** @type {string=} */\n\t\tthis.name = undefined;\n\t\t/** @type {Compilation=} */\n\t\tthis.parentCompilation = undefined;\n\t\t/** @type {Compiler} */\n\t\tthis.root = this;\n\t\t/** @type {string} */\n\t\tthis.outputPath = \"\";\n\t\t/** @type {Watching} */\n\t\tthis.watching = undefined;\n\n\t\t/** @type {OutputFileSystem} */\n\t\tthis.outputFileSystem = null;\n\t\t/** @type {IntermediateFileSystem} */\n\t\tthis.intermediateFileSystem = null;\n\t\t/** @type {InputFileSystem} */\n\t\tthis.inputFileSystem = null;\n\t\t/** @type {WatchFileSystem} */\n\t\tthis.watchFileSystem = null;\n\n\t\t/** @type {string|null} */\n\t\tthis.recordsInputPath = null;\n\t\t/** @type {string|null} */\n\t\tthis.recordsOutputPath = null;\n\t\tthis.records = {};\n\t\t/** @type {Set<string | RegExp>} */\n\t\tthis.managedPaths = new Set();\n\t\t/** @type {Set<string | RegExp>} */\n\t\tthis.immutablePaths = new Set();\n\n\t\t/** @type {ReadonlySet<string>} */\n\t\tthis.modifiedFiles = undefined;\n\t\t/** @type {ReadonlySet<string>} */\n\t\tthis.removedFiles = undefined;\n\t\t/** @type {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\" | null>} */\n\t\tthis.fileTimestamps = undefined;\n\t\t/** @type {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\" | null>} */\n\t\tthis.contextTimestamps = undefined;\n\t\t/** @type {number} */\n\t\tthis.fsStartTime = undefined;\n\n\t\t/** @type {ResolverFactory} */\n\t\tthis.resolverFactory = new ResolverFactory();\n\n\t\tthis.infrastructureLogger = undefined;\n\n\t\tthis.options = options;\n\n\t\tthis.context = context;\n\n\t\tthis.requestShortener = new RequestShortener(context, this.root);\n\n\t\tthis.cache = new Cache();\n\n\t\t/** @type {Map<Module, { buildInfo: object, references: WeakMap<Dependency, Module>, memCache: WeakTupleMap }> | undefined} */\n\t\tthis.moduleMemCaches = undefined;\n\n\t\tthis.compilerPath = \"\";\n\n\t\t/** @type {boolean} */\n\t\tthis.running = false;\n\n\t\t/** @type {boolean} */\n\t\tthis.idle = false;\n\n\t\t/** @type {boolean} */\n\t\tthis.watchMode = false;\n\n\t\tthis._backCompat = this.options.experiments.backCompat !== false;\n\n\t\t/** @type {Compilation} */\n\t\tthis._lastCompilation = undefined;\n\t\t/** @type {NormalModuleFactory} */\n\t\tthis._lastNormalModuleFactory = undefined;\n\n\t\t/** @private @type {WeakMap<Source, { sizeOnlySource: SizeOnlySource, writtenTo: Map<string, number> }>} */\n\t\tthis._assetEmittingSourceCache = new WeakMap();\n\t\t/** @private @type {Map<string, number>} */\n\t\tthis._assetEmittingWrittenFiles = new Map();\n\t\t/** @private @type {Set<string>} */\n\t\tthis._assetEmittingPreviousFiles = new Set();\n\t}\n\n\t/**\n\t * @param {string} name cache name\n\t * @returns {CacheFacade} the cache facade instance\n\t */\n\tgetCache(name) {\n\t\treturn new CacheFacade(\n\t\t\tthis.cache,\n\t\t\t`${this.compilerPath}${name}`,\n\t\t\tthis.options.output.hashFunction\n\t\t);\n\t}\n\n\t/**\n\t * @param {string | (function(): string)} name name of the logger, or function called once to get the logger name\n\t * @returns {Logger} a logger with that name\n\t */\n\tgetInfrastructureLogger(name) {\n\t\tif (!name) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"Compiler.getInfrastructureLogger(name) called without a name\"\n\t\t\t);\n\t\t}\n\t\treturn new Logger(\n\t\t\t(type, args) => {\n\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\tname = name();\n\t\t\t\t\tif (!name) {\n\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\"Compiler.getInfrastructureLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.hooks.infrastructureLog.call(name, type, args) === undefined) {\n\t\t\t\t\tif (this.infrastructureLogger !== undefined) {\n\t\t\t\t\t\tthis.infrastructureLogger(name, type, args);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tchildName => {\n\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\treturn this.getInfrastructureLogger(() => {\n\t\t\t\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\t\t\t\tname = name();\n\t\t\t\t\t\t\t\tif (!name) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Compiler.getInfrastructureLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\t\t\tchildName = childName();\n\t\t\t\t\t\t\t\tif (!childName) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Logger.getChildLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn this.getInfrastructureLogger(() => {\n\t\t\t\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\t\t\t\tname = name();\n\t\t\t\t\t\t\t\tif (!name) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Compiler.getInfrastructureLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\treturn this.getInfrastructureLogger(() => {\n\t\t\t\t\t\t\tif (typeof childName === \"function\") {\n\t\t\t\t\t\t\t\tchildName = childName();\n\t\t\t\t\t\t\t\tif (!childName) {\n\t\t\t\t\t\t\t\t\tthrow new TypeError(\n\t\t\t\t\t\t\t\t\t\t\"Logger.getChildLogger(name) called with a function not returning a name\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn `${name}/${childName}`;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn this.getInfrastructureLogger(`${name}/${childName}`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\t// TODO webpack 6: solve this in a better way\n\t// e.g. move compilation specific info from Modules into ModuleGraph\n\t_cleanupLastCompilation() {\n\t\tif (this._lastCompilation !== undefined) {\n\t\t\tfor (const module of this._lastCompilation.modules) {\n\t\t\t\tChunkGraph.clearChunkGraphForModule(module);\n\t\t\t\tModuleGraph.clearModuleGraphForModule(module);\n\t\t\t\tmodule.cleanupForCache();\n\t\t\t}\n\t\t\tfor (const chunk of this._lastCompilation.chunks) {\n\t\t\t\tChunkGraph.clearChunkGraphForChunk(chunk);\n\t\t\t}\n\t\t\tthis._lastCompilation = undefined;\n\t\t}\n\t}\n\n\t// TODO webpack 6: solve this in a better way\n\t_cleanupLastNormalModuleFactory() {\n\t\tif (this._lastNormalModuleFactory !== undefined) {\n\t\t\tthis._lastNormalModuleFactory.cleanupForCache();\n\t\t\tthis._lastNormalModuleFactory = undefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {WatchOptions} watchOptions the watcher's options\n\t * @param {Callback<Stats>} handler signals when the call finishes\n\t * @returns {Watching} a compiler watcher\n\t */\n\twatch(watchOptions, handler) {\n\t\tif (this.running) {\n\t\t\treturn handler(new ConcurrentCompilationError());\n\t\t}\n\n\t\tthis.running = true;\n\t\tthis.watchMode = true;\n\t\tthis.watching = new Watching(this, watchOptions, handler);\n\t\treturn this.watching;\n\t}\n\n\t/**\n\t * @param {Callback<Stats>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\trun(callback) {\n\t\tif (this.running) {\n\t\t\treturn callback(new ConcurrentCompilationError());\n\t\t}\n\n\t\tlet logger;\n\n\t\tconst finalCallback = (err, stats) => {\n\t\t\tif (logger) logger.time(\"beginIdle\");\n\t\t\tthis.idle = true;\n\t\t\tthis.cache.beginIdle();\n\t\t\tthis.idle = true;\n\t\t\tif (logger) logger.timeEnd(\"beginIdle\");\n\t\t\tthis.running = false;\n\t\t\tif (err) {\n\t\t\t\tthis.hooks.failed.call(err);\n\t\t\t}\n\t\t\tif (callback !== undefined) callback(err, stats);\n\t\t\tthis.hooks.afterDone.call(stats);\n\t\t};\n\n\t\tconst startTime = Date.now();\n\n\t\tthis.running = true;\n\n\t\tconst onCompiled = (err, compilation) => {\n\t\t\tif (err) return finalCallback(err);\n\n\t\t\tif (this.hooks.shouldEmit.call(compilation) === false) {\n\t\t\t\tcompilation.startTime = startTime;\n\t\t\t\tcompilation.endTime = Date.now();\n\t\t\t\tconst stats = new Stats(compilation);\n\t\t\t\tthis.hooks.done.callAsync(stats, err => {\n\t\t\t\t\tif (err) return finalCallback(err);\n\t\t\t\t\treturn finalCallback(null, stats);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tprocess.nextTick(() => {\n\t\t\t\tlogger = compilation.getLogger(\"webpack.Compiler\");\n\t\t\t\tlogger.time(\"emitAssets\");\n\t\t\t\tthis.emitAssets(compilation, err => {\n\t\t\t\t\tlogger.timeEnd(\"emitAssets\");\n\t\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\t\tif (compilation.hooks.needAdditionalPass.call()) {\n\t\t\t\t\t\tcompilation.needAdditionalPass = true;\n\n\t\t\t\t\t\tcompilation.startTime = startTime;\n\t\t\t\t\t\tcompilation.endTime = Date.now();\n\t\t\t\t\t\tlogger.time(\"done hook\");\n\t\t\t\t\t\tconst stats = new Stats(compilation);\n\t\t\t\t\t\tthis.hooks.done.callAsync(stats, err => {\n\t\t\t\t\t\t\tlogger.timeEnd(\"done hook\");\n\t\t\t\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\t\t\t\tthis.hooks.additionalPass.callAsync(err => {\n\t\t\t\t\t\t\t\tif (err) return finalCallback(err);\n\t\t\t\t\t\t\t\tthis.compile(onCompiled);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tlogger.time(\"emitRecords\");\n\t\t\t\t\tthis.emitRecords(err => {\n\t\t\t\t\t\tlogger.timeEnd(\"emitRecords\");\n\t\t\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\t\t\tcompilation.startTime = startTime;\n\t\t\t\t\t\tcompilation.endTime = Date.now();\n\t\t\t\t\t\tlogger.time(\"done hook\");\n\t\t\t\t\t\tconst stats = new Stats(compilation);\n\t\t\t\t\t\tthis.hooks.done.callAsync(stats, err => {\n\t\t\t\t\t\t\tlogger.timeEnd(\"done hook\");\n\t\t\t\t\t\t\tif (err) return finalCallback(err);\n\t\t\t\t\t\t\tthis.cache.storeBuildDependencies(\n\t\t\t\t\t\t\t\tcompilation.buildDependencies,\n\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\tif (err) return finalCallback(err);\n\t\t\t\t\t\t\t\t\treturn finalCallback(null, stats);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\tconst run = () => {\n\t\t\tthis.hooks.beforeRun.callAsync(this, err => {\n\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\tthis.hooks.run.callAsync(this, err => {\n\t\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\t\tthis.readRecords(err => {\n\t\t\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\t\t\tthis.compile(onCompiled);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\tif (this.idle) {\n\t\t\tthis.cache.endIdle(err => {\n\t\t\t\tif (err) return finalCallback(err);\n\n\t\t\t\tthis.idle = false;\n\t\t\t\trun();\n\t\t\t});\n\t\t} else {\n\t\t\trun();\n\t\t}\n\t}\n\n\t/**\n\t * @param {RunAsChildCallback} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\trunAsChild(callback) {\n\t\tconst startTime = Date.now();\n\n\t\tconst finalCallback = (err, entries, compilation) => {\n\t\t\ttry {\n\t\t\t\tcallback(err, entries, compilation);\n\t\t\t} catch (e) {\n\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t`compiler.runAsChild callback error: ${e}`\n\t\t\t\t);\n\t\t\t\terr.details = e.stack;\n\t\t\t\tthis.parentCompilation.errors.push(err);\n\t\t\t}\n\t\t};\n\n\t\tthis.compile((err, compilation) => {\n\t\t\tif (err) return finalCallback(err);\n\n\t\t\tthis.parentCompilation.children.push(compilation);\n\t\t\tfor (const { name, source, info } of compilation.getAssets()) {\n\t\t\t\tthis.parentCompilation.emitAsset(name, source, info);\n\t\t\t}\n\n\t\t\tconst entries = [];\n\t\t\tfor (const ep of compilation.entrypoints.values()) {\n\t\t\t\tentries.push(...ep.chunks);\n\t\t\t}\n\n\t\t\tcompilation.startTime = startTime;\n\t\t\tcompilation.endTime = Date.now();\n\n\t\t\treturn finalCallback(null, entries, compilation);\n\t\t});\n\t}\n\n\tpurgeInputFileSystem() {\n\t\tif (this.inputFileSystem && this.inputFileSystem.purge) {\n\t\t\tthis.inputFileSystem.purge();\n\t\t}\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @param {Callback<void>} callback signals when the assets are emitted\n\t * @returns {void}\n\t */\n\temitAssets(compilation, callback) {\n\t\tlet outputPath;\n\n\t\tconst emitFiles = err => {\n\t\t\tif (err) return callback(err);\n\n\t\t\tconst assets = compilation.getAssets();\n\t\t\tcompilation.assets = { ...compilation.assets };\n\t\t\t/** @type {Map<string, { path: string, source: Source, size: number, waiting: { cacheEntry: any, file: string }[] }>} */\n\t\t\tconst caseInsensitiveMap = new Map();\n\t\t\t/** @type {Set<string>} */\n\t\t\tconst allTargetPaths = new Set();\n\t\t\tasyncLib.forEachLimit(\n\t\t\t\tassets,\n\t\t\t\t15,\n\t\t\t\t({ name: file, source, info }, callback) => {\n\t\t\t\t\tlet targetFile = file;\n\t\t\t\t\tlet immutable = info.immutable;\n\t\t\t\t\tconst queryStringIdx = targetFile.indexOf(\"?\");\n\t\t\t\t\tif (queryStringIdx >= 0) {\n\t\t\t\t\t\ttargetFile = targetFile.slice(0, queryStringIdx);\n\t\t\t\t\t\t// We may remove the hash, which is in the query string\n\t\t\t\t\t\t// So we recheck if the file is immutable\n\t\t\t\t\t\t// This doesn't cover all cases, but immutable is only a performance optimization anyway\n\t\t\t\t\t\timmutable =\n\t\t\t\t\t\t\timmutable &&\n\t\t\t\t\t\t\t(includesHash(targetFile, info.contenthash) ||\n\t\t\t\t\t\t\t\tincludesHash(targetFile, info.chunkhash) ||\n\t\t\t\t\t\t\t\tincludesHash(targetFile, info.modulehash) ||\n\t\t\t\t\t\t\t\tincludesHash(targetFile, info.fullhash));\n\t\t\t\t\t}\n\n\t\t\t\t\tconst writeOut = err => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tconst targetPath = join(\n\t\t\t\t\t\t\tthis.outputFileSystem,\n\t\t\t\t\t\t\toutputPath,\n\t\t\t\t\t\t\ttargetFile\n\t\t\t\t\t\t);\n\t\t\t\t\t\tallTargetPaths.add(targetPath);\n\n\t\t\t\t\t\t// check if the target file has already been written by this Compiler\n\t\t\t\t\t\tconst targetFileGeneration =\n\t\t\t\t\t\t\tthis._assetEmittingWrittenFiles.get(targetPath);\n\n\t\t\t\t\t\t// create an cache entry for this Source if not already existing\n\t\t\t\t\t\tlet cacheEntry = this._assetEmittingSourceCache.get(source);\n\t\t\t\t\t\tif (cacheEntry === undefined) {\n\t\t\t\t\t\t\tcacheEntry = {\n\t\t\t\t\t\t\t\tsizeOnlySource: undefined,\n\t\t\t\t\t\t\t\twrittenTo: new Map()\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tthis._assetEmittingSourceCache.set(source, cacheEntry);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tlet similarEntry;\n\n\t\t\t\t\t\tconst checkSimilarFile = () => {\n\t\t\t\t\t\t\tconst caseInsensitiveTargetPath = targetPath.toLowerCase();\n\t\t\t\t\t\t\tsimilarEntry = caseInsensitiveMap.get(caseInsensitiveTargetPath);\n\t\t\t\t\t\t\tif (similarEntry !== undefined) {\n\t\t\t\t\t\t\t\tconst { path: other, source: otherSource } = similarEntry;\n\t\t\t\t\t\t\t\tif (isSourceEqual(otherSource, source)) {\n\t\t\t\t\t\t\t\t\t// Size may or may not be available at this point.\n\t\t\t\t\t\t\t\t\t// If it's not available add to \"waiting\" list and it will be updated once available\n\t\t\t\t\t\t\t\t\tif (similarEntry.size !== undefined) {\n\t\t\t\t\t\t\t\t\t\tupdateWithReplacementSource(similarEntry.size);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (!similarEntry.waiting) similarEntry.waiting = [];\n\t\t\t\t\t\t\t\t\t\tsimilarEntry.waiting.push({ file, cacheEntry });\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\talreadyWritten();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst err =\n\t\t\t\t\t\t\t\t\t\tnew WebpackError(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${targetPath}\n${other}`);\n\t\t\t\t\t\t\t\t\terr.file = file;\n\t\t\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcaseInsensitiveMap.set(\n\t\t\t\t\t\t\t\t\tcaseInsensitiveTargetPath,\n\t\t\t\t\t\t\t\t\t(similarEntry = {\n\t\t\t\t\t\t\t\t\t\tpath: targetPath,\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\tsize: undefined,\n\t\t\t\t\t\t\t\t\t\twaiting: undefined\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * get the binary (Buffer) content from the Source\n\t\t\t\t\t\t * @returns {Buffer} content for the source\n\t\t\t\t\t\t */\n\t\t\t\t\t\tconst getContent = () => {\n\t\t\t\t\t\t\tif (typeof source.buffer === \"function\") {\n\t\t\t\t\t\t\t\treturn source.buffer();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst bufferOrString = source.source();\n\t\t\t\t\t\t\t\tif (Buffer.isBuffer(bufferOrString)) {\n\t\t\t\t\t\t\t\t\treturn bufferOrString;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treturn Buffer.from(bufferOrString, \"utf8\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst alreadyWritten = () => {\n\t\t\t\t\t\t\t// cache the information that the Source has been already been written to that location\n\t\t\t\t\t\t\tif (targetFileGeneration === undefined) {\n\t\t\t\t\t\t\t\tconst newGeneration = 1;\n\t\t\t\t\t\t\t\tthis._assetEmittingWrittenFiles.set(targetPath, newGeneration);\n\t\t\t\t\t\t\t\tcacheEntry.writtenTo.set(targetPath, newGeneration);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcacheEntry.writtenTo.set(targetPath, targetFileGeneration);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Write the file to output file system\n\t\t\t\t\t\t * @param {Buffer} content content to be written\n\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t */\n\t\t\t\t\t\tconst doWrite = content => {\n\t\t\t\t\t\t\tthis.outputFileSystem.writeFile(targetPath, content, err => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t// information marker that the asset has been emitted\n\t\t\t\t\t\t\t\tcompilation.emittedAssets.add(file);\n\n\t\t\t\t\t\t\t\t// cache the information that the Source has been written to that location\n\t\t\t\t\t\t\t\tconst newGeneration =\n\t\t\t\t\t\t\t\t\ttargetFileGeneration === undefined\n\t\t\t\t\t\t\t\t\t\t? 1\n\t\t\t\t\t\t\t\t\t\t: targetFileGeneration + 1;\n\t\t\t\t\t\t\t\tcacheEntry.writtenTo.set(targetPath, newGeneration);\n\t\t\t\t\t\t\t\tthis._assetEmittingWrittenFiles.set(targetPath, newGeneration);\n\t\t\t\t\t\t\t\tthis.hooks.assetEmitted.callAsync(\n\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tcontent,\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\toutputPath,\n\t\t\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\t\t\ttargetPath\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst updateWithReplacementSource = size => {\n\t\t\t\t\t\t\tupdateFileWithReplacementSource(file, cacheEntry, size);\n\t\t\t\t\t\t\tsimilarEntry.size = size;\n\t\t\t\t\t\t\tif (similarEntry.waiting !== undefined) {\n\t\t\t\t\t\t\t\tfor (const { file, cacheEntry } of similarEntry.waiting) {\n\t\t\t\t\t\t\t\t\tupdateFileWithReplacementSource(file, cacheEntry, size);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst updateFileWithReplacementSource = (\n\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\tcacheEntry,\n\t\t\t\t\t\t\tsize\n\t\t\t\t\t\t) => {\n\t\t\t\t\t\t\t// Create a replacement resource which only allows to ask for size\n\t\t\t\t\t\t\t// This allows to GC all memory allocated by the Source\n\t\t\t\t\t\t\t// (expect when the Source is stored in any other cache)\n\t\t\t\t\t\t\tif (!cacheEntry.sizeOnlySource) {\n\t\t\t\t\t\t\t\tcacheEntry.sizeOnlySource = new SizeOnlySource(size);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcompilation.updateAsset(file, cacheEntry.sizeOnlySource, {\n\t\t\t\t\t\t\t\tsize\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst processExistingFile = stats => {\n\t\t\t\t\t\t\t// skip emitting if it's already there and an immutable file\n\t\t\t\t\t\t\tif (immutable) {\n\t\t\t\t\t\t\t\tupdateWithReplacementSource(stats.size);\n\t\t\t\t\t\t\t\treturn alreadyWritten();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst content = getContent();\n\n\t\t\t\t\t\t\tupdateWithReplacementSource(content.length);\n\n\t\t\t\t\t\t\t// if it exists and content on disk matches content\n\t\t\t\t\t\t\t// skip writing the same content again\n\t\t\t\t\t\t\t// (to keep mtime and don't trigger watchers)\n\t\t\t\t\t\t\t// for a fast negative match file size is compared first\n\t\t\t\t\t\t\tif (content.length === stats.size) {\n\t\t\t\t\t\t\t\tcompilation.comparedForEmitAssets.add(file);\n\t\t\t\t\t\t\t\treturn this.outputFileSystem.readFile(\n\t\t\t\t\t\t\t\t\ttargetPath,\n\t\t\t\t\t\t\t\t\t(err, existingContent) => {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\terr ||\n\t\t\t\t\t\t\t\t\t\t\t!content.equals(/** @type {Buffer} */ (existingContent))\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\treturn doWrite(content);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\treturn alreadyWritten();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn doWrite(content);\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst processMissingFile = () => {\n\t\t\t\t\t\t\tconst content = getContent();\n\n\t\t\t\t\t\t\tupdateWithReplacementSource(content.length);\n\n\t\t\t\t\t\t\treturn doWrite(content);\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// if the target file has already been written\n\t\t\t\t\t\tif (targetFileGeneration !== undefined) {\n\t\t\t\t\t\t\t// check if the Source has been written to this target file\n\t\t\t\t\t\t\tconst writtenGeneration = cacheEntry.writtenTo.get(targetPath);\n\t\t\t\t\t\t\tif (writtenGeneration === targetFileGeneration) {\n\t\t\t\t\t\t\t\t// if yes, we may skip writing the file\n\t\t\t\t\t\t\t\t// if it's already there\n\t\t\t\t\t\t\t\t// (we assume one doesn't modify files while the Compiler is running, other then removing them)\n\n\t\t\t\t\t\t\t\tif (this._assetEmittingPreviousFiles.has(targetPath)) {\n\t\t\t\t\t\t\t\t\t// We assume that assets from the last compilation say intact on disk (they are not removed)\n\t\t\t\t\t\t\t\t\tcompilation.updateAsset(file, cacheEntry.sizeOnlySource, {\n\t\t\t\t\t\t\t\t\t\tsize: cacheEntry.sizeOnlySource.size()\n\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// Settings immutable will make it accept file content without comparing when file exist\n\t\t\t\t\t\t\t\t\timmutable = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (!immutable) {\n\t\t\t\t\t\t\t\tif (checkSimilarFile()) return;\n\t\t\t\t\t\t\t\t// We wrote to this file before which has very likely a different content\n\t\t\t\t\t\t\t\t// skip comparing and assume content is different for performance\n\t\t\t\t\t\t\t\t// This case happens often during watch mode.\n\t\t\t\t\t\t\t\treturn processMissingFile();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (checkSimilarFile()) return;\n\t\t\t\t\t\tif (this.options.output.compareBeforeEmit) {\n\t\t\t\t\t\t\tthis.outputFileSystem.stat(targetPath, (err, stats) => {\n\t\t\t\t\t\t\t\tconst exists = !err && stats.isFile();\n\n\t\t\t\t\t\t\t\tif (exists) {\n\t\t\t\t\t\t\t\t\tprocessExistingFile(stats);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tprocessMissingFile();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tprocessMissingFile();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tif (targetFile.match(/\\/|\\\\/)) {\n\t\t\t\t\t\tconst fs = this.outputFileSystem;\n\t\t\t\t\t\tconst dir = dirname(fs, join(fs, outputPath, targetFile));\n\t\t\t\t\t\tmkdirp(fs, dir, writeOut);\n\t\t\t\t\t} else {\n\t\t\t\t\t\twriteOut();\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\terr => {\n\t\t\t\t\t// Clear map to free up memory\n\t\t\t\t\tcaseInsensitiveMap.clear();\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tthis._assetEmittingPreviousFiles.clear();\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._assetEmittingPreviousFiles = allTargetPaths;\n\n\t\t\t\t\tthis.hooks.afterEmit.callAsync(compilation, err => {\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t);\n\t\t};\n\n\t\tthis.hooks.emit.callAsync(compilation, err => {\n\t\t\tif (err) return callback(err);\n\t\t\toutputPath = compilation.getPath(this.outputPath, {});\n\t\t\tmkdirp(this.outputFileSystem, outputPath, emitFiles);\n\t\t});\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\temitRecords(callback) {\n\t\tif (this.hooks.emitRecords.isUsed()) {\n\t\t\tif (this.recordsOutputPath) {\n\t\t\t\tasyncLib.parallel(\n\t\t\t\t\t[\n\t\t\t\t\t\tcb => this.hooks.emitRecords.callAsync(cb),\n\t\t\t\t\t\tthis._emitRecords.bind(this)\n\t\t\t\t\t],\n\t\t\t\t\terr => callback(err)\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tthis.hooks.emitRecords.callAsync(callback);\n\t\t\t}\n\t\t} else {\n\t\t\tif (this.recordsOutputPath) {\n\t\t\t\tthis._emitRecords(callback);\n\t\t\t} else {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\t_emitRecords(callback) {\n\t\tconst writeFile = () => {\n\t\t\tthis.outputFileSystem.writeFile(\n\t\t\t\tthis.recordsOutputPath,\n\t\t\t\tJSON.stringify(\n\t\t\t\t\tthis.records,\n\t\t\t\t\t(n, value) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof value === \"object\" &&\n\t\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t\t!Array.isArray(value)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst keys = Object.keys(value);\n\t\t\t\t\t\t\tif (!isSorted(keys)) {\n\t\t\t\t\t\t\t\treturn sortObject(value, keys);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t},\n\t\t\t\t\t2\n\t\t\t\t),\n\t\t\t\tcallback\n\t\t\t);\n\t\t};\n\n\t\tconst recordsOutputPathDirectory = dirname(\n\t\t\tthis.outputFileSystem,\n\t\t\tthis.recordsOutputPath\n\t\t);\n\t\tif (!recordsOutputPathDirectory) {\n\t\t\treturn writeFile();\n\t\t}\n\t\tmkdirp(this.outputFileSystem, recordsOutputPathDirectory, err => {\n\t\t\tif (err) return callback(err);\n\t\t\twriteFile();\n\t\t});\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\treadRecords(callback) {\n\t\tif (this.hooks.readRecords.isUsed()) {\n\t\t\tif (this.recordsInputPath) {\n\t\t\t\tasyncLib.parallel([\n\t\t\t\t\tcb => this.hooks.readRecords.callAsync(cb),\n\t\t\t\t\tthis._readRecords.bind(this)\n\t\t\t\t]);\n\t\t\t} else {\n\t\t\t\tthis.records = {};\n\t\t\t\tthis.hooks.readRecords.callAsync(callback);\n\t\t\t}\n\t\t} else {\n\t\t\tif (this.recordsInputPath) {\n\t\t\t\tthis._readRecords(callback);\n\t\t\t} else {\n\t\t\t\tthis.records = {};\n\t\t\t\tcallback();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\t_readRecords(callback) {\n\t\tif (!this.recordsInputPath) {\n\t\t\tthis.records = {};\n\t\t\treturn callback();\n\t\t}\n\t\tthis.inputFileSystem.stat(this.recordsInputPath, err => {\n\t\t\t// It doesn't exist\n\t\t\t// We can ignore this.\n\t\t\tif (err) return callback();\n\n\t\t\tthis.inputFileSystem.readFile(this.recordsInputPath, (err, content) => {\n\t\t\t\tif (err) return callback(err);\n\n\t\t\t\ttry {\n\t\t\t\t\tthis.records = parseJson(content.toString(\"utf-8\"));\n\t\t\t\t} catch (e) {\n\t\t\t\t\te.message = \"Cannot parse records: \" + e.message;\n\t\t\t\t\treturn callback(e);\n\t\t\t\t}\n\n\t\t\t\treturn callback();\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @param {string} compilerName the compiler's name\n\t * @param {number} compilerIndex the compiler's index\n\t * @param {OutputOptions=} outputOptions the output options\n\t * @param {WebpackPluginInstance[]=} plugins the plugins to apply\n\t * @returns {Compiler} a child compiler\n\t */\n\tcreateChildCompiler(\n\t\tcompilation,\n\t\tcompilerName,\n\t\tcompilerIndex,\n\t\toutputOptions,\n\t\tplugins\n\t) {\n\t\tconst childCompiler = new Compiler(this.context, {\n\t\t\t...this.options,\n\t\t\toutput: {\n\t\t\t\t...this.options.output,\n\t\t\t\t...outputOptions\n\t\t\t}\n\t\t});\n\t\tchildCompiler.name = compilerName;\n\t\tchildCompiler.outputPath = this.outputPath;\n\t\tchildCompiler.inputFileSystem = this.inputFileSystem;\n\t\tchildCompiler.outputFileSystem = null;\n\t\tchildCompiler.resolverFactory = this.resolverFactory;\n\t\tchildCompiler.modifiedFiles = this.modifiedFiles;\n\t\tchildCompiler.removedFiles = this.removedFiles;\n\t\tchildCompiler.fileTimestamps = this.fileTimestamps;\n\t\tchildCompiler.contextTimestamps = this.contextTimestamps;\n\t\tchildCompiler.fsStartTime = this.fsStartTime;\n\t\tchildCompiler.cache = this.cache;\n\t\tchildCompiler.compilerPath = `${this.compilerPath}${compilerName}|${compilerIndex}|`;\n\t\tchildCompiler._backCompat = this._backCompat;\n\n\t\tconst relativeCompilerName = makePathsRelative(\n\t\t\tthis.context,\n\t\t\tcompilerName,\n\t\t\tthis.root\n\t\t);\n\t\tif (!this.records[relativeCompilerName]) {\n\t\t\tthis.records[relativeCompilerName] = [];\n\t\t}\n\t\tif (this.records[relativeCompilerName][compilerIndex]) {\n\t\t\tchildCompiler.records = this.records[relativeCompilerName][compilerIndex];\n\t\t} else {\n\t\t\tthis.records[relativeCompilerName].push((childCompiler.records = {}));\n\t\t}\n\n\t\tchildCompiler.parentCompilation = compilation;\n\t\tchildCompiler.root = this.root;\n\t\tif (Array.isArray(plugins)) {\n\t\t\tfor (const plugin of plugins) {\n\t\t\t\tplugin.apply(childCompiler);\n\t\t\t}\n\t\t}\n\t\tfor (const name in this.hooks) {\n\t\t\tif (\n\t\t\t\t![\n\t\t\t\t\t\"make\",\n\t\t\t\t\t\"compile\",\n\t\t\t\t\t\"emit\",\n\t\t\t\t\t\"afterEmit\",\n\t\t\t\t\t\"invalid\",\n\t\t\t\t\t\"done\",\n\t\t\t\t\t\"thisCompilation\"\n\t\t\t\t].includes(name)\n\t\t\t) {\n\t\t\t\tif (childCompiler.hooks[name]) {\n\t\t\t\t\tchildCompiler.hooks[name].taps = this.hooks[name].taps.slice();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tcompilation.hooks.childCompiler.call(\n\t\t\tchildCompiler,\n\t\t\tcompilerName,\n\t\t\tcompilerIndex\n\t\t);\n\n\t\treturn childCompiler;\n\t}\n\n\tisChild() {\n\t\treturn !!this.parentCompilation;\n\t}\n\n\tcreateCompilation(params) {\n\t\tthis._cleanupLastCompilation();\n\t\treturn (this._lastCompilation = new Compilation(this, params));\n\t}\n\n\t/**\n\t * @param {CompilationParams} params the compilation parameters\n\t * @returns {Compilation} the created compilation\n\t */\n\tnewCompilation(params) {\n\t\tconst compilation = this.createCompilation(params);\n\t\tcompilation.name = this.name;\n\t\tcompilation.records = this.records;\n\t\tthis.hooks.thisCompilation.call(compilation, params);\n\t\tthis.hooks.compilation.call(compilation, params);\n\t\treturn compilation;\n\t}\n\n\tcreateNormalModuleFactory() {\n\t\tthis._cleanupLastNormalModuleFactory();\n\t\tconst normalModuleFactory = new NormalModuleFactory({\n\t\t\tcontext: this.options.context,\n\t\t\tfs: this.inputFileSystem,\n\t\t\tresolverFactory: this.resolverFactory,\n\t\t\toptions: this.options.module,\n\t\t\tassociatedObjectForCache: this.root,\n\t\t\tlayers: this.options.experiments.layers\n\t\t});\n\t\tthis._lastNormalModuleFactory = normalModuleFactory;\n\t\tthis.hooks.normalModuleFactory.call(normalModuleFactory);\n\t\treturn normalModuleFactory;\n\t}\n\n\tcreateContextModuleFactory() {\n\t\tconst contextModuleFactory = new ContextModuleFactory(this.resolverFactory);\n\t\tthis.hooks.contextModuleFactory.call(contextModuleFactory);\n\t\treturn contextModuleFactory;\n\t}\n\n\tnewCompilationParams() {\n\t\tconst params = {\n\t\t\tnormalModuleFactory: this.createNormalModuleFactory(),\n\t\t\tcontextModuleFactory: this.createContextModuleFactory()\n\t\t};\n\t\treturn params;\n\t}\n\n\t/**\n\t * @param {Callback<Compilation>} callback signals when the compilation finishes\n\t * @returns {void}\n\t */\n\tcompile(callback) {\n\t\tconst params = this.newCompilationParams();\n\t\tthis.hooks.beforeCompile.callAsync(params, err => {\n\t\t\tif (err) return callback(err);\n\n\t\t\tthis.hooks.compile.call(params);\n\n\t\t\tconst compilation = this.newCompilation(params);\n\n\t\t\tconst logger = compilation.getLogger(\"webpack.Compiler\");\n\n\t\t\tlogger.time(\"make hook\");\n\t\t\tthis.hooks.make.callAsync(compilation, err => {\n\t\t\t\tlogger.timeEnd(\"make hook\");\n\t\t\t\tif (err) return callback(err);\n\n\t\t\t\tlogger.time(\"finish make hook\");\n\t\t\t\tthis.hooks.finishMake.callAsync(compilation, err => {\n\t\t\t\t\tlogger.timeEnd(\"finish make hook\");\n\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\t\tlogger.time(\"finish compilation\");\n\t\t\t\t\t\tcompilation.finish(err => {\n\t\t\t\t\t\t\tlogger.timeEnd(\"finish compilation\");\n\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\tlogger.time(\"seal compilation\");\n\t\t\t\t\t\t\tcompilation.seal(err => {\n\t\t\t\t\t\t\t\tlogger.timeEnd(\"seal compilation\");\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\tlogger.time(\"afterCompile hook\");\n\t\t\t\t\t\t\t\tthis.hooks.afterCompile.callAsync(compilation, err => {\n\t\t\t\t\t\t\t\t\tlogger.timeEnd(\"afterCompile hook\");\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t\treturn callback(null, compilation);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the compiler closes\n\t * @returns {void}\n\t */\n\tclose(callback) {\n\t\tif (this.watching) {\n\t\t\t// When there is still an active watching, close this first\n\t\t\tthis.watching.close(err => {\n\t\t\t\tthis.close(callback);\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tthis.hooks.shutdown.callAsync(err => {\n\t\t\tif (err) return callback(err);\n\t\t\t// Get rid of reference to last compilation to avoid leaking memory\n\t\t\t// We can't run this._cleanupLastCompilation() as the Stats to this compilation\n\t\t\t// might be still in use. We try to get rid of the reference to the cache instead.\n\t\t\tthis._lastCompilation = undefined;\n\t\t\tthis._lastNormalModuleFactory = undefined;\n\t\t\tthis.cache.shutdown(callback);\n\t\t});\n\t}\n}\n\nmodule.exports = Compiler;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Compiler.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ConcatenationScope.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/ConcatenationScope.js ***! \********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Module\")} Module */\n\nconst MODULE_REFERENCE_REGEXP =\n\t/^__WEBPACK_MODULE_REFERENCE__(\\d+)_([\\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\\d))?__$/;\n\nconst DEFAULT_EXPORT = \"__WEBPACK_DEFAULT_EXPORT__\";\nconst NAMESPACE_OBJECT_EXPORT = \"__WEBPACK_NAMESPACE_OBJECT__\";\n\n/**\n * @typedef {Object} ExternalModuleInfo\n * @property {number} index\n * @property {Module} module\n */\n\n/**\n * @typedef {Object} ConcatenatedModuleInfo\n * @property {number} index\n * @property {Module} module\n * @property {Map<string, string>} exportMap mapping from export name to symbol\n * @property {Map<string, string>} rawExportMap mapping from export name to symbol\n * @property {string=} namespaceExportSymbol\n */\n\n/** @typedef {ConcatenatedModuleInfo | ExternalModuleInfo} ModuleInfo */\n\n/**\n * @typedef {Object} ModuleReferenceOptions\n * @property {string[]} ids the properties/exports of the module\n * @property {boolean} call true, when this referenced export is called\n * @property {boolean} directImport true, when this referenced export is directly imported (not via property access)\n * @property {boolean | undefined} asiSafe if the position is ASI safe or unknown\n */\n\nclass ConcatenationScope {\n\t/**\n\t * @param {ModuleInfo[] | Map<Module, ModuleInfo>} modulesMap all module info by module\n\t * @param {ConcatenatedModuleInfo} currentModule the current module info\n\t */\n\tconstructor(modulesMap, currentModule) {\n\t\tthis._currentModule = currentModule;\n\t\tif (Array.isArray(modulesMap)) {\n\t\t\tconst map = new Map();\n\t\t\tfor (const info of modulesMap) {\n\t\t\t\tmap.set(info.module, info);\n\t\t\t}\n\t\t\tmodulesMap = map;\n\t\t}\n\t\tthis._modulesMap = modulesMap;\n\t}\n\n\t/**\n\t * @param {Module} module the referenced module\n\t * @returns {boolean} true, when it's in the scope\n\t */\n\tisModuleInScope(module) {\n\t\treturn this._modulesMap.has(module);\n\t}\n\n\t/**\n\t *\n\t * @param {string} exportName name of the export\n\t * @param {string} symbol identifier of the export in source code\n\t */\n\tregisterExport(exportName, symbol) {\n\t\tif (!this._currentModule.exportMap) {\n\t\t\tthis._currentModule.exportMap = new Map();\n\t\t}\n\t\tif (!this._currentModule.exportMap.has(exportName)) {\n\t\t\tthis._currentModule.exportMap.set(exportName, symbol);\n\t\t}\n\t}\n\n\t/**\n\t *\n\t * @param {string} exportName name of the export\n\t * @param {string} expression expression to be used\n\t */\n\tregisterRawExport(exportName, expression) {\n\t\tif (!this._currentModule.rawExportMap) {\n\t\t\tthis._currentModule.rawExportMap = new Map();\n\t\t}\n\t\tif (!this._currentModule.rawExportMap.has(exportName)) {\n\t\t\tthis._currentModule.rawExportMap.set(exportName, expression);\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} symbol identifier of the export in source code\n\t */\n\tregisterNamespaceExport(symbol) {\n\t\tthis._currentModule.namespaceExportSymbol = symbol;\n\t}\n\n\t/**\n\t *\n\t * @param {Module} module the referenced module\n\t * @param {Partial<ModuleReferenceOptions>} options options\n\t * @returns {string} the reference as identifier\n\t */\n\tcreateModuleReference(\n\t\tmodule,\n\t\t{ ids = undefined, call = false, directImport = false, asiSafe = false }\n\t) {\n\t\tconst info = this._modulesMap.get(module);\n\t\tconst callFlag = call ? \"_call\" : \"\";\n\t\tconst directImportFlag = directImport ? \"_directImport\" : \"\";\n\t\tconst asiSafeFlag = asiSafe\n\t\t\t? \"_asiSafe1\"\n\t\t\t: asiSafe === false\n\t\t\t? \"_asiSafe0\"\n\t\t\t: \"\";\n\t\tconst exportData = ids\n\t\t\t? Buffer.from(JSON.stringify(ids), \"utf-8\").toString(\"hex\")\n\t\t\t: \"ns\";\n\t\t// a \"._\" is appended to allow \"delete ...\", which would cause a SyntaxError in strict mode\n\t\treturn `__WEBPACK_MODULE_REFERENCE__${info.index}_${exportData}${callFlag}${directImportFlag}${asiSafeFlag}__._`;\n\t}\n\n\t/**\n\t * @param {string} name the identifier\n\t * @returns {boolean} true, when it's an module reference\n\t */\n\tstatic isModuleReference(name) {\n\t\treturn MODULE_REFERENCE_REGEXP.test(name);\n\t}\n\n\t/**\n\t * @param {string} name the identifier\n\t * @returns {ModuleReferenceOptions & { index: number }} parsed options and index\n\t */\n\tstatic matchModuleReference(name) {\n\t\tconst match = MODULE_REFERENCE_REGEXP.exec(name);\n\t\tif (!match) return null;\n\t\tconst index = +match[1];\n\t\tconst asiSafe = match[5];\n\t\treturn {\n\t\t\tindex,\n\t\t\tids:\n\t\t\t\tmatch[2] === \"ns\"\n\t\t\t\t\t? []\n\t\t\t\t\t: JSON.parse(Buffer.from(match[2], \"hex\").toString(\"utf-8\")),\n\t\t\tcall: !!match[3],\n\t\t\tdirectImport: !!match[4],\n\t\t\tasiSafe: asiSafe ? asiSafe === \"1\" : undefined\n\t\t};\n\t}\n}\n\nConcatenationScope.DEFAULT_EXPORT = DEFAULT_EXPORT;\nConcatenationScope.NAMESPACE_OBJECT_EXPORT = NAMESPACE_OBJECT_EXPORT;\n\nmodule.exports = ConcatenationScope;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ConcatenationScope.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ConcurrentCompilationError.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/ConcurrentCompilationError.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Maksim Nazarjev @acupofspirt\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nmodule.exports = class ConcurrentCompilationError extends WebpackError {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis.name = \"ConcurrentCompilationError\";\n\t\tthis.message =\n\t\t\t\"You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.\";\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ConcurrentCompilationError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ConditionalInitFragment.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/ConditionalInitFragment.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, PrefixSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst InitFragment = __webpack_require__(/*! ./InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { mergeRuntime } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst wrapInCondition = (condition, source) => {\n\tif (typeof source === \"string\") {\n\t\treturn Template.asString([\n\t\t\t`if (${condition}) {`,\n\t\t\tTemplate.indent(source),\n\t\t\t\"}\",\n\t\t\t\"\"\n\t\t]);\n\t} else {\n\t\treturn new ConcatSource(\n\t\t\t`if (${condition}) {\\n`,\n\t\t\tnew PrefixSource(\"\\t\", source),\n\t\t\t\"}\\n\"\n\t\t);\n\t}\n};\n\n/**\n * @typedef {GenerateContext} Context\n */\nclass ConditionalInitFragment extends InitFragment {\n\t/**\n\t * @param {string|Source} content the source code that will be included as initialization code\n\t * @param {number} stage category of initialization code (contribute to order)\n\t * @param {number} position position in the category (contribute to order)\n\t * @param {string} key unique key to avoid emitting the same initialization code twice\n\t * @param {RuntimeSpec | boolean} runtimeCondition in which runtime this fragment should be executed\n\t * @param {string|Source=} endContent the source code that will be included at the end of the module\n\t */\n\tconstructor(\n\t\tcontent,\n\t\tstage,\n\t\tposition,\n\t\tkey,\n\t\truntimeCondition = true,\n\t\tendContent\n\t) {\n\t\tsuper(content, stage, position, key, endContent);\n\t\tthis.runtimeCondition = runtimeCondition;\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source} the source code that will be included as initialization code\n\t */\n\tgetContent(context) {\n\t\tif (this.runtimeCondition === false || !this.content) return \"\";\n\t\tif (this.runtimeCondition === true) return this.content;\n\t\tconst expr = context.runtimeTemplate.runtimeConditionExpression({\n\t\t\tchunkGraph: context.chunkGraph,\n\t\t\truntimeRequirements: context.runtimeRequirements,\n\t\t\truntime: context.runtime,\n\t\t\truntimeCondition: this.runtimeCondition\n\t\t});\n\t\tif (expr === \"true\") return this.content;\n\t\treturn wrapInCondition(expr, this.content);\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source=} the source code that will be included at the end of the module\n\t */\n\tgetEndContent(context) {\n\t\tif (this.runtimeCondition === false || !this.endContent) return \"\";\n\t\tif (this.runtimeCondition === true) return this.endContent;\n\t\tconst expr = context.runtimeTemplate.runtimeConditionExpression({\n\t\t\tchunkGraph: context.chunkGraph,\n\t\t\truntimeRequirements: context.runtimeRequirements,\n\t\t\truntime: context.runtime,\n\t\t\truntimeCondition: this.runtimeCondition\n\t\t});\n\t\tif (expr === \"true\") return this.endContent;\n\t\treturn wrapInCondition(expr, this.endContent);\n\t}\n\n\tmerge(other) {\n\t\tif (this.runtimeCondition === true) return this;\n\t\tif (other.runtimeCondition === true) return other;\n\t\tif (this.runtimeCondition === false) return other;\n\t\tif (other.runtimeCondition === false) return this;\n\t\tconst runtimeCondition = mergeRuntime(\n\t\t\tthis.runtimeCondition,\n\t\t\tother.runtimeCondition\n\t\t);\n\t\treturn new ConditionalInitFragment(\n\t\t\tthis.content,\n\t\t\tthis.stage,\n\t\t\tthis.position,\n\t\t\tthis.key,\n\t\t\truntimeCondition,\n\t\t\tthis.endContent\n\t\t);\n\t}\n}\n\nmodule.exports = ConditionalInitFragment;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ConditionalInitFragment.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ConstPlugin.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/ConstPlugin.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst CachedConstDependency = __webpack_require__(/*! ./dependencies/CachedConstDependency */ \"./node_modules/webpack/lib/dependencies/CachedConstDependency.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst { evaluateToString } = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst { parseResource } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"estree\").Expression} ExpressionNode */\n/** @typedef {import(\"estree\").Super} SuperNode */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nconst collectDeclaration = (declarations, pattern) => {\n\tconst stack = [pattern];\n\twhile (stack.length > 0) {\n\t\tconst node = stack.pop();\n\t\tswitch (node.type) {\n\t\t\tcase \"Identifier\":\n\t\t\t\tdeclarations.add(node.name);\n\t\t\t\tbreak;\n\t\t\tcase \"ArrayPattern\":\n\t\t\t\tfor (const element of node.elements) {\n\t\t\t\t\tif (element) {\n\t\t\t\t\t\tstack.push(element);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"AssignmentPattern\":\n\t\t\t\tstack.push(node.left);\n\t\t\t\tbreak;\n\t\t\tcase \"ObjectPattern\":\n\t\t\t\tfor (const property of node.properties) {\n\t\t\t\t\tstack.push(property.value);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"RestElement\":\n\t\t\t\tstack.push(node.argument);\n\t\t\t\tbreak;\n\t\t}\n\t}\n};\n\nconst getHoistedDeclarations = (branch, includeFunctionDeclarations) => {\n\tconst declarations = new Set();\n\tconst stack = [branch];\n\twhile (stack.length > 0) {\n\t\tconst node = stack.pop();\n\t\t// Some node could be `null` or `undefined`.\n\t\tif (!node) continue;\n\t\tswitch (node.type) {\n\t\t\t// Walk through control statements to look for hoisted declarations.\n\t\t\t// Some branches are skipped since they do not allow declarations.\n\t\t\tcase \"BlockStatement\":\n\t\t\t\tfor (const stmt of node.body) {\n\t\t\t\t\tstack.push(stmt);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"IfStatement\":\n\t\t\t\tstack.push(node.consequent);\n\t\t\t\tstack.push(node.alternate);\n\t\t\t\tbreak;\n\t\t\tcase \"ForStatement\":\n\t\t\t\tstack.push(node.init);\n\t\t\t\tstack.push(node.body);\n\t\t\t\tbreak;\n\t\t\tcase \"ForInStatement\":\n\t\t\tcase \"ForOfStatement\":\n\t\t\t\tstack.push(node.left);\n\t\t\t\tstack.push(node.body);\n\t\t\t\tbreak;\n\t\t\tcase \"DoWhileStatement\":\n\t\t\tcase \"WhileStatement\":\n\t\t\tcase \"LabeledStatement\":\n\t\t\t\tstack.push(node.body);\n\t\t\t\tbreak;\n\t\t\tcase \"SwitchStatement\":\n\t\t\t\tfor (const cs of node.cases) {\n\t\t\t\t\tfor (const consequent of cs.consequent) {\n\t\t\t\t\t\tstack.push(consequent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"TryStatement\":\n\t\t\t\tstack.push(node.block);\n\t\t\t\tif (node.handler) {\n\t\t\t\t\tstack.push(node.handler.body);\n\t\t\t\t}\n\t\t\t\tstack.push(node.finalizer);\n\t\t\t\tbreak;\n\t\t\tcase \"FunctionDeclaration\":\n\t\t\t\tif (includeFunctionDeclarations) {\n\t\t\t\t\tcollectDeclaration(declarations, node.id);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\tif (node.kind === \"var\") {\n\t\t\t\t\tfor (const decl of node.declarations) {\n\t\t\t\t\t\tcollectDeclaration(declarations, decl.id);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}\n\treturn Array.from(declarations);\n};\n\nclass ConstPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst cachedParseResource = parseResource.bindCache(compiler.root);\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ConstPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCachedConstDependency,\n\t\t\t\t\tnew CachedConstDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tparser.hooks.statementIf.tap(\"ConstPlugin\", statement => {\n\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\tconst param = parser.evaluateExpression(statement.test);\n\t\t\t\t\t\tconst bool = param.asBool();\n\t\t\t\t\t\tif (typeof bool === \"boolean\") {\n\t\t\t\t\t\t\tif (!param.couldHaveSideEffects()) {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(`${bool}`, param.range);\n\t\t\t\t\t\t\t\tdep.loc = statement.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tparser.walkExpression(statement.test);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst branchToRemove = bool\n\t\t\t\t\t\t\t\t? statement.alternate\n\t\t\t\t\t\t\t\t: statement.consequent;\n\t\t\t\t\t\t\tif (branchToRemove) {\n\t\t\t\t\t\t\t\t// Before removing the dead branch, the hoisted declarations\n\t\t\t\t\t\t\t\t// must be collected.\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// if (true) f() else g()\n\t\t\t\t\t\t\t\t// if (false) {\n\t\t\t\t\t\t\t\t// function f() {}\n\t\t\t\t\t\t\t\t// const g = function g() {}\n\t\t\t\t\t\t\t\t// if (someTest) {\n\t\t\t\t\t\t\t\t// let a = 1\n\t\t\t\t\t\t\t\t// var x, {y, z} = obj\n\t\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\t\t// } else {\n\t\t\t\t\t\t\t\t// …\n\t\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// if (true) f() else {}\n\t\t\t\t\t\t\t\t// if (false) {\n\t\t\t\t\t\t\t\t// var f, x, y, z; (in loose mode)\n\t\t\t\t\t\t\t\t// var x, y, z; (in strict mode)\n\t\t\t\t\t\t\t\t// } else {\n\t\t\t\t\t\t\t\t// …\n\t\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// NOTE: When code runs in strict mode, `var` declarations\n\t\t\t\t\t\t\t\t// are hoisted but `function` declarations don't.\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\tlet declarations;\n\t\t\t\t\t\t\t\tif (parser.scope.isStrict) {\n\t\t\t\t\t\t\t\t\t// If the code runs in strict mode, variable declarations\n\t\t\t\t\t\t\t\t\t// using `var` must be hoisted.\n\t\t\t\t\t\t\t\t\tdeclarations = getHoistedDeclarations(branchToRemove, false);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// Otherwise, collect all hoisted declaration.\n\t\t\t\t\t\t\t\t\tdeclarations = getHoistedDeclarations(branchToRemove, true);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlet replacement;\n\t\t\t\t\t\t\t\tif (declarations.length > 0) {\n\t\t\t\t\t\t\t\t\treplacement = `{ var ${declarations.join(\", \")}; }`;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treplacement = \"{}\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\treplacement,\n\t\t\t\t\t\t\t\t\tbranchToRemove.range\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = branchToRemove.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn bool;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.expressionConditionalOperator.tap(\n\t\t\t\t\t\t\"ConstPlugin\",\n\t\t\t\t\t\texpression => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tconst param = parser.evaluateExpression(expression.test);\n\t\t\t\t\t\t\tconst bool = param.asBool();\n\t\t\t\t\t\t\tif (typeof bool === \"boolean\") {\n\t\t\t\t\t\t\t\tif (!param.couldHaveSideEffects()) {\n\t\t\t\t\t\t\t\t\tconst dep = new ConstDependency(` ${bool}`, param.range);\n\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tparser.walkExpression(expression.test);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Expressions do not hoist.\n\t\t\t\t\t\t\t\t// It is safe to remove the dead branch.\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// false ? someExpression() : otherExpression();\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// false ? 0 : otherExpression();\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\tconst branchToRemove = bool\n\t\t\t\t\t\t\t\t\t? expression.alternate\n\t\t\t\t\t\t\t\t\t: expression.consequent;\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\"0\", branchToRemove.range);\n\t\t\t\t\t\t\t\tdep.loc = branchToRemove.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\treturn bool;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expressionLogicalOperator.tap(\n\t\t\t\t\t\t\"ConstPlugin\",\n\t\t\t\t\t\texpression => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\texpression.operator === \"&&\" ||\n\t\t\t\t\t\t\t\texpression.operator === \"||\"\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst param = parser.evaluateExpression(expression.left);\n\t\t\t\t\t\t\t\tconst bool = param.asBool();\n\t\t\t\t\t\t\t\tif (typeof bool === \"boolean\") {\n\t\t\t\t\t\t\t\t\t// Expressions do not hoist.\n\t\t\t\t\t\t\t\t\t// It is safe to remove the dead branch.\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// falsyExpression() && someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// falsyExpression() && false;\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// truthyExpression() && someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// true && someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// truthyExpression() || someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// truthyExpression() || false;\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// falsyExpression() || someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// false && someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\tconst keepRight =\n\t\t\t\t\t\t\t\t\t\t(expression.operator === \"&&\" && bool) ||\n\t\t\t\t\t\t\t\t\t\t(expression.operator === \"||\" && !bool);\n\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!param.couldHaveSideEffects() &&\n\t\t\t\t\t\t\t\t\t\t(param.isBoolean() || keepRight)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t// for case like\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// return'development'===process.env.NODE_ENV&&'foo'\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// we need a space before the bool to prevent result like\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// returnfalse&&'foo'\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\tconst dep = new ConstDependency(` ${bool}`, param.range);\n\t\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tparser.walkExpression(expression.left);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (!keepRight) {\n\t\t\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\t\t\t\"0\",\n\t\t\t\t\t\t\t\t\t\t\texpression.right.range\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn keepRight;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (expression.operator === \"??\") {\n\t\t\t\t\t\t\t\tconst param = parser.evaluateExpression(expression.left);\n\t\t\t\t\t\t\t\tconst keepRight = param.asNullish();\n\t\t\t\t\t\t\t\tif (typeof keepRight === \"boolean\") {\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// nonNullish ?? someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// nonNullish ?? 0;\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// nullish ?? someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t// null ?? someExpression();\n\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\tif (!param.couldHaveSideEffects() && keepRight) {\n\t\t\t\t\t\t\t\t\t\t// cspell:word returnnull\n\t\t\t\t\t\t\t\t\t\t// for case like\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// return('development'===process.env.NODE_ENV&&null)??'foo'\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// we need a space before the bool to prevent result like\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\t// returnnull??'foo'\n\t\t\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\" null\", param.range);\n\t\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\t\t\t\"0\",\n\t\t\t\t\t\t\t\t\t\t\texpression.right.range\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\t\t\tparser.walkExpression(expression.left);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturn keepRight;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.optionalChaining.tap(\"ConstPlugin\", expr => {\n\t\t\t\t\t\t/** @type {ExpressionNode[]} */\n\t\t\t\t\t\tconst optionalExpressionsStack = [];\n\t\t\t\t\t\t/** @type {ExpressionNode|SuperNode} */\n\t\t\t\t\t\tlet next = expr.expression;\n\n\t\t\t\t\t\twhile (\n\t\t\t\t\t\t\tnext.type === \"MemberExpression\" ||\n\t\t\t\t\t\t\tnext.type === \"CallExpression\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tif (next.type === \"MemberExpression\") {\n\t\t\t\t\t\t\t\tif (next.optional) {\n\t\t\t\t\t\t\t\t\t// SuperNode can not be optional\n\t\t\t\t\t\t\t\t\toptionalExpressionsStack.push(\n\t\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (next.object)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tnext = next.object;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (next.optional) {\n\t\t\t\t\t\t\t\t\t// SuperNode can not be optional\n\t\t\t\t\t\t\t\t\toptionalExpressionsStack.push(\n\t\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (next.callee)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tnext = next.callee;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twhile (optionalExpressionsStack.length) {\n\t\t\t\t\t\t\tconst expression = optionalExpressionsStack.pop();\n\t\t\t\t\t\t\tconst evaluated = parser.evaluateExpression(expression);\n\n\t\t\t\t\t\t\tif (evaluated.asNullish()) {\n\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// Given the following code:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// nullishMemberChain?.a.b();\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// the generated code is:\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// undefined;\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\t// ------------------------------------------\n\t\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\" undefined\", expr.range);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t.for(\"__resourceQuery\")\n\t\t\t\t\t\t.tap(\"ConstPlugin\", expr => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\treturn evaluateToString(\n\t\t\t\t\t\t\t\tcachedParseResource(parser.state.module.resource).query\n\t\t\t\t\t\t\t)(expr);\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__resourceQuery\")\n\t\t\t\t\t\t.tap(\"ConstPlugin\", expr => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\tconst dep = new CachedConstDependency(\n\t\t\t\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\t\t\t\tcachedParseResource(parser.state.module.resource).query\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t\"__resourceQuery\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t.for(\"__resourceFragment\")\n\t\t\t\t\t\t.tap(\"ConstPlugin\", expr => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\treturn evaluateToString(\n\t\t\t\t\t\t\t\tcachedParseResource(parser.state.module.resource).fragment\n\t\t\t\t\t\t\t)(expr);\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__resourceFragment\")\n\t\t\t\t\t\t.tap(\"ConstPlugin\", expr => {\n\t\t\t\t\t\t\tif (parser.scope.isAsmJs) return;\n\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\tconst dep = new CachedConstDependency(\n\t\t\t\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\t\t\t\tcachedParseResource(parser.state.module.resource).fragment\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t\"__resourceFragment\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ConstPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"ConstPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ConstPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ConstPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ConstPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ContextExclusionPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/ContextExclusionPlugin.js ***! \************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./ContextModuleFactory\")} ContextModuleFactory */\n\nclass ContextExclusionPlugin {\n\t/**\n\t * @param {RegExp} negativeMatcher Matcher regular expression\n\t */\n\tconstructor(negativeMatcher) {\n\t\tthis.negativeMatcher = negativeMatcher;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.contextModuleFactory.tap(\"ContextExclusionPlugin\", cmf => {\n\t\t\tcmf.hooks.contextModuleFiles.tap(\"ContextExclusionPlugin\", files => {\n\t\t\t\treturn files.filter(filePath => !this.negativeMatcher.test(filePath));\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = ContextExclusionPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ContextExclusionPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ContextModule.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ContextModule.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { OriginalSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst AsyncDependenciesBlock = __webpack_require__(/*! ./AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst { makeWebpackError } = __webpack_require__(/*! ./HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst {\n\tcompareLocations,\n\tconcatComparators,\n\tcompareSelect,\n\tkeepOriginalOrder,\n\tcompareModulesById\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tcontextify,\n\tparseResource,\n\tmakePathsRelative\n} = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./ChunkGroup\").RawChunkGroupOptions} RawChunkGroupOptions */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\").BuildMeta} BuildMeta */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./dependencies/ContextElementDependency\")} ContextElementDependency */\n/** @template T @typedef {import(\"./util/LazySet\")<T>} LazySet<T> */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\n/** @typedef {\"sync\" | \"eager\" | \"weak\" | \"async-weak\" | \"lazy\" | \"lazy-once\"} ContextMode Context mode */\n\n/**\n * @typedef {Object} ContextOptions\n * @property {ContextMode} mode\n * @property {boolean} recursive\n * @property {RegExp} regExp\n * @property {\"strict\"|boolean=} namespaceObject\n * @property {string=} addon\n * @property {string=} chunkName\n * @property {RegExp=} include\n * @property {RegExp=} exclude\n * @property {RawChunkGroupOptions=} groupOptions\n * @property {string=} typePrefix\n * @property {string=} category\n * @property {string[][]=} referencedExports exports referenced from modules (won't be mangled)\n */\n\n/**\n * @typedef {Object} ContextModuleOptionsExtras\n * @property {false|string|string[]} resource\n * @property {string=} resourceQuery\n * @property {string=} resourceFragment\n * @property {TODO} resolveOptions\n */\n\n/** @typedef {ContextOptions & ContextModuleOptionsExtras} ContextModuleOptions */\n\n/**\n * @callback ResolveDependenciesCallback\n * @param {(Error | null)=} err\n * @param {ContextElementDependency[]=} dependencies\n */\n\n/**\n * @callback ResolveDependencies\n * @param {InputFileSystem} fs\n * @param {ContextModuleOptions} options\n * @param {ResolveDependenciesCallback} callback\n */\n\nconst SNAPSHOT_OPTIONS = { timestamp: true };\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass ContextModule extends Module {\n\t/**\n\t * @param {ResolveDependencies} resolveDependencies function to get dependencies in this context\n\t * @param {ContextModuleOptions} options options object\n\t */\n\tconstructor(resolveDependencies, options) {\n\t\tif (!options || typeof options.resource === \"string\") {\n\t\t\tconst parsed = parseResource(\n\t\t\t\toptions ? /** @type {string} */ (options.resource) : \"\"\n\t\t\t);\n\t\t\tconst resource = parsed.path;\n\t\t\tconst resourceQuery = (options && options.resourceQuery) || parsed.query;\n\t\t\tconst resourceFragment =\n\t\t\t\t(options && options.resourceFragment) || parsed.fragment;\n\n\t\t\tsuper(\"javascript/dynamic\", resource);\n\t\t\t/** @type {ContextModuleOptions} */\n\t\t\tthis.options = {\n\t\t\t\t...options,\n\t\t\t\tresource,\n\t\t\t\tresourceQuery,\n\t\t\t\tresourceFragment\n\t\t\t};\n\t\t} else {\n\t\t\tsuper(\"javascript/dynamic\");\n\t\t\t/** @type {ContextModuleOptions} */\n\t\t\tthis.options = {\n\t\t\t\t...options,\n\t\t\t\tresource: options.resource,\n\t\t\t\tresourceQuery: options.resourceQuery || \"\",\n\t\t\t\tresourceFragment: options.resourceFragment || \"\"\n\t\t\t};\n\t\t}\n\n\t\t// Info from Factory\n\t\tthis.resolveDependencies = resolveDependencies;\n\t\tif (options && options.resolveOptions !== undefined) {\n\t\t\tthis.resolveOptions = options.resolveOptions;\n\t\t}\n\n\t\tif (options && typeof options.mode !== \"string\") {\n\t\t\tthrow new Error(\"options.mode is a required option\");\n\t\t}\n\n\t\tthis._identifier = this._createIdentifier();\n\t\tthis._forceBuild = true;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tconst m = /** @type {ContextModule} */ (module);\n\t\tthis.resolveDependencies = m.resolveDependencies;\n\t\tthis.options = m.options;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Remove internal references to allow freeing some memory.\n\t */\n\tcleanupForCache() {\n\t\tsuper.cleanupForCache();\n\t\tthis.resolveDependencies = undefined;\n\t}\n\n\t_prettyRegExp(regexString, stripSlash = true) {\n\t\tconst str = (regexString + \"\").replace(/!/g, \"%21\").replace(/\\|/g, \"%7C\");\n\t\treturn stripSlash ? str.substring(1, str.length - 1) : str;\n\t}\n\n\t_createIdentifier() {\n\t\tlet identifier =\n\t\t\tthis.context ||\n\t\t\t(typeof this.options.resource === \"string\" ||\n\t\t\tthis.options.resource === false\n\t\t\t\t? `${this.options.resource}`\n\t\t\t\t: this.options.resource.join(\"|\"));\n\t\tif (this.options.resourceQuery) {\n\t\t\tidentifier += `|${this.options.resourceQuery}`;\n\t\t}\n\t\tif (this.options.resourceFragment) {\n\t\t\tidentifier += `|${this.options.resourceFragment}`;\n\t\t}\n\t\tif (this.options.mode) {\n\t\t\tidentifier += `|${this.options.mode}`;\n\t\t}\n\t\tif (!this.options.recursive) {\n\t\t\tidentifier += \"|nonrecursive\";\n\t\t}\n\t\tif (this.options.addon) {\n\t\t\tidentifier += `|${this.options.addon}`;\n\t\t}\n\t\tif (this.options.regExp) {\n\t\t\tidentifier += `|${this._prettyRegExp(this.options.regExp, false)}`;\n\t\t}\n\t\tif (this.options.include) {\n\t\t\tidentifier += `|include: ${this._prettyRegExp(\n\t\t\t\tthis.options.include,\n\t\t\t\tfalse\n\t\t\t)}`;\n\t\t}\n\t\tif (this.options.exclude) {\n\t\t\tidentifier += `|exclude: ${this._prettyRegExp(\n\t\t\t\tthis.options.exclude,\n\t\t\t\tfalse\n\t\t\t)}`;\n\t\t}\n\t\tif (this.options.referencedExports) {\n\t\t\tidentifier += `|referencedExports: ${JSON.stringify(\n\t\t\t\tthis.options.referencedExports\n\t\t\t)}`;\n\t\t}\n\t\tif (this.options.chunkName) {\n\t\t\tidentifier += `|chunkName: ${this.options.chunkName}`;\n\t\t}\n\t\tif (this.options.groupOptions) {\n\t\t\tidentifier += `|groupOptions: ${JSON.stringify(\n\t\t\t\tthis.options.groupOptions\n\t\t\t)}`;\n\t\t}\n\t\tif (this.options.namespaceObject === \"strict\") {\n\t\t\tidentifier += \"|strict namespace object\";\n\t\t} else if (this.options.namespaceObject) {\n\t\t\tidentifier += \"|namespace object\";\n\t\t}\n\n\t\treturn identifier;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this._identifier;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\tlet identifier;\n\t\tif (this.context) {\n\t\t\tidentifier = requestShortener.shorten(this.context) + \"/\";\n\t\t} else if (\n\t\t\ttypeof this.options.resource === \"string\" ||\n\t\t\tthis.options.resource === false\n\t\t) {\n\t\t\tidentifier = requestShortener.shorten(`${this.options.resource}`) + \"/\";\n\t\t} else {\n\t\t\tidentifier = this.options.resource\n\t\t\t\t.map(r => requestShortener.shorten(r) + \"/\")\n\t\t\t\t.join(\" \");\n\t\t}\n\t\tif (this.options.resourceQuery) {\n\t\t\tidentifier += ` ${this.options.resourceQuery}`;\n\t\t}\n\t\tif (this.options.mode) {\n\t\t\tidentifier += ` ${this.options.mode}`;\n\t\t}\n\t\tif (!this.options.recursive) {\n\t\t\tidentifier += \" nonrecursive\";\n\t\t}\n\t\tif (this.options.addon) {\n\t\t\tidentifier += ` ${requestShortener.shorten(this.options.addon)}`;\n\t\t}\n\t\tif (this.options.regExp) {\n\t\t\tidentifier += ` ${this._prettyRegExp(this.options.regExp)}`;\n\t\t}\n\t\tif (this.options.include) {\n\t\t\tidentifier += ` include: ${this._prettyRegExp(this.options.include)}`;\n\t\t}\n\t\tif (this.options.exclude) {\n\t\t\tidentifier += ` exclude: ${this._prettyRegExp(this.options.exclude)}`;\n\t\t}\n\t\tif (this.options.referencedExports) {\n\t\t\tidentifier += ` referencedExports: ${this.options.referencedExports\n\t\t\t\t.map(e => e.join(\".\"))\n\t\t\t\t.join(\", \")}`;\n\t\t}\n\t\tif (this.options.chunkName) {\n\t\t\tidentifier += ` chunkName: ${this.options.chunkName}`;\n\t\t}\n\t\tif (this.options.groupOptions) {\n\t\t\tconst groupOptions = this.options.groupOptions;\n\t\t\tfor (const key of Object.keys(groupOptions)) {\n\t\t\t\tidentifier += ` ${key}: ${groupOptions[key]}`;\n\t\t\t}\n\t\t}\n\t\tif (this.options.namespaceObject === \"strict\") {\n\t\t\tidentifier += \" strict namespace object\";\n\t\t} else if (this.options.namespaceObject) {\n\t\t\tidentifier += \" namespace object\";\n\t\t}\n\n\t\treturn identifier;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\tlet identifier;\n\n\t\tif (this.context) {\n\t\t\tidentifier = contextify(\n\t\t\t\toptions.context,\n\t\t\t\tthis.context,\n\t\t\t\toptions.associatedObjectForCache\n\t\t\t);\n\t\t} else if (typeof this.options.resource === \"string\") {\n\t\t\tidentifier = contextify(\n\t\t\t\toptions.context,\n\t\t\t\tthis.options.resource,\n\t\t\t\toptions.associatedObjectForCache\n\t\t\t);\n\t\t} else if (this.options.resource === false) {\n\t\t\tidentifier = \"false\";\n\t\t} else {\n\t\t\tidentifier = this.options.resource\n\t\t\t\t.map(res =>\n\t\t\t\t\tcontextify(options.context, res, options.associatedObjectForCache)\n\t\t\t\t)\n\t\t\t\t.join(\" \");\n\t\t}\n\n\t\tif (this.layer) identifier = `(${this.layer})/${identifier}`;\n\t\tif (this.options.mode) {\n\t\t\tidentifier += ` ${this.options.mode}`;\n\t\t}\n\t\tif (this.options.recursive) {\n\t\t\tidentifier += \" recursive\";\n\t\t}\n\t\tif (this.options.addon) {\n\t\t\tidentifier += ` ${contextify(\n\t\t\t\toptions.context,\n\t\t\t\tthis.options.addon,\n\t\t\t\toptions.associatedObjectForCache\n\t\t\t)}`;\n\t\t}\n\t\tif (this.options.regExp) {\n\t\t\tidentifier += ` ${this._prettyRegExp(this.options.regExp)}`;\n\t\t}\n\t\tif (this.options.include) {\n\t\t\tidentifier += ` include: ${this._prettyRegExp(this.options.include)}`;\n\t\t}\n\t\tif (this.options.exclude) {\n\t\t\tidentifier += ` exclude: ${this._prettyRegExp(this.options.exclude)}`;\n\t\t}\n\t\tif (this.options.referencedExports) {\n\t\t\tidentifier += ` referencedExports: ${this.options.referencedExports\n\t\t\t\t.map(e => e.join(\".\"))\n\t\t\t\t.join(\", \")}`;\n\t\t}\n\n\t\treturn identifier;\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tinvalidateBuild() {\n\t\tthis._forceBuild = true;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild({ fileSystemInfo }, callback) {\n\t\t// build if enforced\n\t\tif (this._forceBuild) return callback(null, true);\n\n\t\t// always build when we have no snapshot and context\n\t\tif (!this.buildInfo.snapshot)\n\t\t\treturn callback(null, Boolean(this.context || this.options.resource));\n\n\t\tfileSystemInfo.checkSnapshotValid(this.buildInfo.snapshot, (err, valid) => {\n\t\t\tcallback(err, !valid);\n\t\t});\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis._forceBuild = false;\n\t\t/** @type {BuildMeta} */\n\t\tthis.buildMeta = {\n\t\t\texportsType: \"default\",\n\t\t\tdefaultObject: \"redirect-warn\"\n\t\t};\n\t\tthis.buildInfo = {\n\t\t\tsnapshot: undefined\n\t\t};\n\t\tthis.dependencies.length = 0;\n\t\tthis.blocks.length = 0;\n\t\tconst startTime = Date.now();\n\t\tthis.resolveDependencies(fs, this.options, (err, dependencies) => {\n\t\t\tif (err) {\n\t\t\t\treturn callback(\n\t\t\t\t\tmakeWebpackError(err, \"ContextModule.resolveDependencies\")\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// abort if something failed\n\t\t\t// this will create an empty context\n\t\t\tif (!dependencies) {\n\t\t\t\tcallback();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// enhance dependencies with meta info\n\t\t\tfor (const dep of dependencies) {\n\t\t\t\tdep.loc = {\n\t\t\t\t\tname: dep.userRequest\n\t\t\t\t};\n\t\t\t\tdep.request = this.options.addon + dep.request;\n\t\t\t}\n\t\t\tdependencies.sort(\n\t\t\t\tconcatComparators(\n\t\t\t\t\tcompareSelect(a => a.loc, compareLocations),\n\t\t\t\t\tkeepOriginalOrder(this.dependencies)\n\t\t\t\t)\n\t\t\t);\n\n\t\t\tif (this.options.mode === \"sync\" || this.options.mode === \"eager\") {\n\t\t\t\t// if we have an sync or eager context\n\t\t\t\t// just add all dependencies and continue\n\t\t\t\tthis.dependencies = dependencies;\n\t\t\t} else if (this.options.mode === \"lazy-once\") {\n\t\t\t\t// for the lazy-once mode create a new async dependency block\n\t\t\t\t// and add that block to this context\n\t\t\t\tif (dependencies.length > 0) {\n\t\t\t\t\tconst block = new AsyncDependenciesBlock({\n\t\t\t\t\t\t...this.options.groupOptions,\n\t\t\t\t\t\tname: this.options.chunkName\n\t\t\t\t\t});\n\t\t\t\t\tfor (const dep of dependencies) {\n\t\t\t\t\t\tblock.addDependency(dep);\n\t\t\t\t\t}\n\t\t\t\t\tthis.addBlock(block);\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\tthis.options.mode === \"weak\" ||\n\t\t\t\tthis.options.mode === \"async-weak\"\n\t\t\t) {\n\t\t\t\t// we mark all dependencies as weak\n\t\t\t\tfor (const dep of dependencies) {\n\t\t\t\t\tdep.weak = true;\n\t\t\t\t}\n\t\t\t\tthis.dependencies = dependencies;\n\t\t\t} else if (this.options.mode === \"lazy\") {\n\t\t\t\t// if we are lazy create a new async dependency block per dependency\n\t\t\t\t// and add all blocks to this context\n\t\t\t\tlet index = 0;\n\t\t\t\tfor (const dep of dependencies) {\n\t\t\t\t\tlet chunkName = this.options.chunkName;\n\t\t\t\t\tif (chunkName) {\n\t\t\t\t\t\tif (!/\\[(index|request)\\]/.test(chunkName)) {\n\t\t\t\t\t\t\tchunkName += \"[index]\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchunkName = chunkName.replace(/\\[index\\]/g, `${index++}`);\n\t\t\t\t\t\tchunkName = chunkName.replace(\n\t\t\t\t\t\t\t/\\[request\\]/g,\n\t\t\t\t\t\t\tTemplate.toPath(dep.userRequest)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tconst block = new AsyncDependenciesBlock(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t...this.options.groupOptions,\n\t\t\t\t\t\t\tname: chunkName\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdep.loc,\n\t\t\t\t\t\tdep.userRequest\n\t\t\t\t\t);\n\t\t\t\t\tblock.addDependency(dep);\n\t\t\t\t\tthis.addBlock(block);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcallback(\n\t\t\t\t\tnew WebpackError(`Unsupported mode \"${this.options.mode}\" in context`)\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!this.context && !this.options.resource) return callback();\n\n\t\t\tcompilation.fileSystemInfo.createSnapshot(\n\t\t\t\tstartTime,\n\t\t\t\tnull,\n\t\t\t\tthis.context\n\t\t\t\t\t? [this.context]\n\t\t\t\t\t: typeof this.options.resource === \"string\"\n\t\t\t\t\t? [this.options.resource]\n\t\t\t\t\t: /** @type {string[]} */ (this.options.resource),\n\t\t\t\tnull,\n\t\t\t\tSNAPSHOT_OPTIONS,\n\t\t\t\t(err, snapshot) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tthis.buildInfo.snapshot = snapshot;\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\t/**\n\t * @param {LazySet<string>} fileDependencies set where file dependencies are added to\n\t * @param {LazySet<string>} contextDependencies set where context dependencies are added to\n\t * @param {LazySet<string>} missingDependencies set where missing dependencies are added to\n\t * @param {LazySet<string>} buildDependencies set where build dependencies are added to\n\t */\n\taddCacheDependencies(\n\t\tfileDependencies,\n\t\tcontextDependencies,\n\t\tmissingDependencies,\n\t\tbuildDependencies\n\t) {\n\t\tif (this.context) {\n\t\t\tcontextDependencies.add(this.context);\n\t\t} else if (typeof this.options.resource === \"string\") {\n\t\t\tcontextDependencies.add(this.options.resource);\n\t\t} else if (this.options.resource === false) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tfor (const res of this.options.resource) contextDependencies.add(res);\n\t\t}\n\t}\n\n\t/**\n\t * @param {ContextElementDependency[]} dependencies all dependencies\n\t * @param {ChunkGraph} chunkGraph chunk graph\n\t * @returns {TODO} TODO\n\t */\n\tgetUserRequestMap(dependencies, chunkGraph) {\n\t\tconst moduleGraph = chunkGraph.moduleGraph;\n\t\t// if we filter first we get a new array\n\t\t// therefore we don't need to create a clone of dependencies explicitly\n\t\t// therefore the order of this is !important!\n\t\tconst sortedDependencies = dependencies\n\t\t\t.filter(dependency => moduleGraph.getModule(dependency))\n\t\t\t.sort((a, b) => {\n\t\t\t\tif (a.userRequest === b.userRequest) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\t\t\t\treturn a.userRequest < b.userRequest ? -1 : 1;\n\t\t\t});\n\t\tconst map = Object.create(null);\n\t\tfor (const dep of sortedDependencies) {\n\t\t\tconst module = moduleGraph.getModule(dep);\n\t\t\tmap[dep.userRequest] = chunkGraph.getModuleId(module);\n\t\t}\n\t\treturn map;\n\t}\n\n\t/**\n\t * @param {ContextElementDependency[]} dependencies all dependencies\n\t * @param {ChunkGraph} chunkGraph chunk graph\n\t * @returns {TODO} TODO\n\t */\n\tgetFakeMap(dependencies, chunkGraph) {\n\t\tif (!this.options.namespaceObject) {\n\t\t\treturn 9;\n\t\t}\n\t\tconst moduleGraph = chunkGraph.moduleGraph;\n\t\t// bitfield\n\t\tlet hasType = 0;\n\t\tconst comparator = compareModulesById(chunkGraph);\n\t\t// if we filter first we get a new array\n\t\t// therefore we don't need to create a clone of dependencies explicitly\n\t\t// therefore the order of this is !important!\n\t\tconst sortedModules = dependencies\n\t\t\t.map(dependency => moduleGraph.getModule(dependency))\n\t\t\t.filter(Boolean)\n\t\t\t.sort(comparator);\n\t\tconst fakeMap = Object.create(null);\n\t\tfor (const module of sortedModules) {\n\t\t\tconst exportsType = module.getExportsType(\n\t\t\t\tmoduleGraph,\n\t\t\t\tthis.options.namespaceObject === \"strict\"\n\t\t\t);\n\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\tswitch (exportsType) {\n\t\t\t\tcase \"namespace\":\n\t\t\t\t\tfakeMap[id] = 9;\n\t\t\t\t\thasType |= 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dynamic\":\n\t\t\t\t\tfakeMap[id] = 7;\n\t\t\t\t\thasType |= 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"default-only\":\n\t\t\t\t\tfakeMap[id] = 1;\n\t\t\t\t\thasType |= 4;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"default-with-named\":\n\t\t\t\t\tfakeMap[id] = 3;\n\t\t\t\t\thasType |= 8;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unexpected exports type ${exportsType}`);\n\t\t\t}\n\t\t}\n\t\tif (hasType === 1) {\n\t\t\treturn 9;\n\t\t}\n\t\tif (hasType === 2) {\n\t\t\treturn 7;\n\t\t}\n\t\tif (hasType === 4) {\n\t\t\treturn 1;\n\t\t}\n\t\tif (hasType === 8) {\n\t\t\treturn 3;\n\t\t}\n\t\tif (hasType === 0) {\n\t\t\treturn 9;\n\t\t}\n\t\treturn fakeMap;\n\t}\n\n\tgetFakeMapInitStatement(fakeMap) {\n\t\treturn typeof fakeMap === \"object\"\n\t\t\t? `var fakeMap = ${JSON.stringify(fakeMap, null, \"\\t\")};`\n\t\t\t: \"\";\n\t}\n\n\tgetReturn(type, asyncModule) {\n\t\tif (type === 9) {\n\t\t\treturn \"__webpack_require__(id)\";\n\t\t}\n\t\treturn `${RuntimeGlobals.createFakeNamespaceObject}(id, ${type}${\n\t\t\tasyncModule ? \" | 16\" : \"\"\n\t\t})`;\n\t}\n\n\tgetReturnModuleObjectSource(\n\t\tfakeMap,\n\t\tasyncModule,\n\t\tfakeMapDataExpression = \"fakeMap[id]\"\n\t) {\n\t\tif (typeof fakeMap === \"number\") {\n\t\t\treturn `return ${this.getReturn(fakeMap, asyncModule)};`;\n\t\t}\n\t\treturn `return ${\n\t\t\tRuntimeGlobals.createFakeNamespaceObject\n\t\t}(id, ${fakeMapDataExpression}${asyncModule ? \" | 16\" : \"\"})`;\n\t}\n\n\t/**\n\t * @param {TODO} dependencies TODO\n\t * @param {TODO} id TODO\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetSyncSource(dependencies, id, chunkGraph) {\n\t\tconst map = this.getUserRequestMap(dependencies, chunkGraph);\n\t\tconst fakeMap = this.getFakeMap(dependencies, chunkGraph);\n\t\tconst returnModuleObject = this.getReturnModuleObjectSource(fakeMap);\n\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${this.getFakeMapInitStatement(fakeMap)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${returnModuleObject}\n}\nfunction webpackContextResolve(req) {\n\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(id)};`;\n\t}\n\n\t/**\n\t * @param {TODO} dependencies TODO\n\t * @param {TODO} id TODO\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetWeakSyncSource(dependencies, id, chunkGraph) {\n\t\tconst map = this.getUserRequestMap(dependencies, chunkGraph);\n\t\tconst fakeMap = this.getFakeMap(dependencies, chunkGraph);\n\t\tconst returnModuleObject = this.getReturnModuleObjectSource(fakeMap);\n\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${this.getFakeMapInitStatement(fakeMap)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${RuntimeGlobals.moduleFactories}[id]) {\n\t\tvar e = new Error(\"Module '\" + req + \"' ('\" + id + \"') is not available (weak dependency)\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${returnModuleObject}\n}\nfunction webpackContextResolve(req) {\n\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackContext;`;\n\t}\n\n\t/**\n\t * @param {TODO} dependencies TODO\n\t * @param {TODO} id TODO\n\t * @param {Object} context context\n\t * @param {ChunkGraph} context.chunkGraph the chunk graph\n\t * @param {RuntimeTemplate} context.runtimeTemplate the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetAsyncWeakSource(dependencies, id, { chunkGraph, runtimeTemplate }) {\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\tconst map = this.getUserRequestMap(dependencies, chunkGraph);\n\t\tconst fakeMap = this.getFakeMap(dependencies, chunkGraph);\n\t\tconst returnModuleObject = this.getReturnModuleObjectSource(fakeMap, true);\n\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${this.getFakeMapInitStatement(fakeMap)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${\n\t\tarrow ? \"id =>\" : \"function(id)\"\n\t} {\n\t\tif(!${RuntimeGlobals.moduleFactories}[id]) {\n\t\t\tvar e = new Error(\"Module '\" + req + \"' ('\" + id + \"') is not available (weak dependency)\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${returnModuleObject}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${arrow ? \"() =>\" : \"function()\"} {\n\t\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${runtimeTemplate.returningFunction(\n\t\t\t\"Object.keys(map)\"\n\t\t)};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackAsyncContext;`;\n\t}\n\n\t/**\n\t * @param {TODO} dependencies TODO\n\t * @param {TODO} id TODO\n\t * @param {Object} context context\n\t * @param {ChunkGraph} context.chunkGraph the chunk graph\n\t * @param {RuntimeTemplate} context.runtimeTemplate the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetEagerSource(dependencies, id, { chunkGraph, runtimeTemplate }) {\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\tconst map = this.getUserRequestMap(dependencies, chunkGraph);\n\t\tconst fakeMap = this.getFakeMap(dependencies, chunkGraph);\n\t\tconst thenFunction =\n\t\t\tfakeMap !== 9\n\t\t\t\t? `${arrow ? \"id =>\" : \"function(id)\"} {\n\t\t${this.getReturnModuleObjectSource(fakeMap)}\n\t}`\n\t\t\t\t: \"__webpack_require__\";\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${this.getFakeMapInitStatement(fakeMap)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${thenFunction});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${arrow ? \"() =>\" : \"function()\"} {\n\t\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${runtimeTemplate.returningFunction(\n\t\t\t\"Object.keys(map)\"\n\t\t)};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackAsyncContext;`;\n\t}\n\n\t/**\n\t * @param {TODO} block TODO\n\t * @param {TODO} dependencies TODO\n\t * @param {TODO} id TODO\n\t * @param {Object} options options object\n\t * @param {RuntimeTemplate} options.runtimeTemplate the runtime template\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetLazyOnceSource(block, dependencies, id, { runtimeTemplate, chunkGraph }) {\n\t\tconst promise = runtimeTemplate.blockPromise({\n\t\t\tchunkGraph,\n\t\t\tblock,\n\t\t\tmessage: \"lazy-once context\",\n\t\t\truntimeRequirements: new Set()\n\t\t});\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\tconst map = this.getUserRequestMap(dependencies, chunkGraph);\n\t\tconst fakeMap = this.getFakeMap(dependencies, chunkGraph);\n\t\tconst thenFunction =\n\t\t\tfakeMap !== 9\n\t\t\t\t? `${arrow ? \"id =>\" : \"function(id)\"} {\n\t\t${this.getReturnModuleObjectSource(fakeMap, true)};\n\t}`\n\t\t\t\t: \"__webpack_require__\";\n\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${this.getFakeMapInitStatement(fakeMap)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${thenFunction});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${promise}.then(${arrow ? \"() =>\" : \"function()\"} {\n\t\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${runtimeTemplate.returningFunction(\n\t\t\t\"Object.keys(map)\"\n\t\t)};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackAsyncContext;`;\n\t}\n\n\t/**\n\t * @param {TODO} blocks TODO\n\t * @param {TODO} id TODO\n\t * @param {Object} context context\n\t * @param {ChunkGraph} context.chunkGraph the chunk graph\n\t * @param {RuntimeTemplate} context.runtimeTemplate the chunk graph\n\t * @returns {string} source code\n\t */\n\tgetLazySource(blocks, id, { chunkGraph, runtimeTemplate }) {\n\t\tconst moduleGraph = chunkGraph.moduleGraph;\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\tlet hasMultipleOrNoChunks = false;\n\t\tlet hasNoChunk = true;\n\t\tconst fakeMap = this.getFakeMap(\n\t\t\tblocks.map(b => b.dependencies[0]),\n\t\t\tchunkGraph\n\t\t);\n\t\tconst hasFakeMap = typeof fakeMap === \"object\";\n\t\tconst items = blocks\n\t\t\t.map(block => {\n\t\t\t\tconst dependency = block.dependencies[0];\n\t\t\t\treturn {\n\t\t\t\t\tdependency: dependency,\n\t\t\t\t\tmodule: moduleGraph.getModule(dependency),\n\t\t\t\t\tblock: block,\n\t\t\t\t\tuserRequest: dependency.userRequest,\n\t\t\t\t\tchunks: undefined\n\t\t\t\t};\n\t\t\t})\n\t\t\t.filter(item => item.module);\n\t\tfor (const item of items) {\n\t\t\tconst chunkGroup = chunkGraph.getBlockChunkGroup(item.block);\n\t\t\tconst chunks = (chunkGroup && chunkGroup.chunks) || [];\n\t\t\titem.chunks = chunks;\n\t\t\tif (chunks.length > 0) {\n\t\t\t\thasNoChunk = false;\n\t\t\t}\n\t\t\tif (chunks.length !== 1) {\n\t\t\t\thasMultipleOrNoChunks = true;\n\t\t\t}\n\t\t}\n\t\tconst shortMode = hasNoChunk && !hasFakeMap;\n\t\tconst sortedItems = items.sort((a, b) => {\n\t\t\tif (a.userRequest === b.userRequest) return 0;\n\t\t\treturn a.userRequest < b.userRequest ? -1 : 1;\n\t\t});\n\t\tconst map = Object.create(null);\n\t\tfor (const item of sortedItems) {\n\t\t\tconst moduleId = chunkGraph.getModuleId(item.module);\n\t\t\tif (shortMode) {\n\t\t\t\tmap[item.userRequest] = moduleId;\n\t\t\t} else {\n\t\t\t\tconst arrayStart = [moduleId];\n\t\t\t\tif (hasFakeMap) {\n\t\t\t\t\tarrayStart.push(fakeMap[moduleId]);\n\t\t\t\t}\n\t\t\t\tmap[item.userRequest] = arrayStart.concat(\n\t\t\t\t\titem.chunks.map(chunk => chunk.id)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tconst chunksStartPosition = hasFakeMap ? 2 : 1;\n\t\tconst requestPrefix = hasNoChunk\n\t\t\t? \"Promise.resolve()\"\n\t\t\t: hasMultipleOrNoChunks\n\t\t\t? `Promise.all(ids.slice(${chunksStartPosition}).map(${RuntimeGlobals.ensureChunk}))`\n\t\t\t: `${RuntimeGlobals.ensureChunk}(ids[${chunksStartPosition}])`;\n\t\tconst returnModuleObject = this.getReturnModuleObjectSource(\n\t\t\tfakeMap,\n\t\t\ttrue,\n\t\t\tshortMode ? \"invalid\" : \"ids[1]\"\n\t\t);\n\n\t\tconst webpackAsyncContext =\n\t\t\trequestPrefix === \"Promise.resolve()\"\n\t\t\t\t? `\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${arrow ? \"() =>\" : \"function()\"} {\n\t\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${shortMode ? \"var id = map[req];\" : \"var ids = map[req], id = ids[0];\"}\n\t\t${returnModuleObject}\n\t});\n}`\n\t\t\t\t: `function webpackAsyncContext(req) {\n\tif(!${RuntimeGlobals.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${arrow ? \"() =>\" : \"function()\"} {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${requestPrefix}.then(${arrow ? \"() =>\" : \"function()\"} {\n\t\t${returnModuleObject}\n\t});\n}`;\n\n\t\treturn `var map = ${JSON.stringify(map, null, \"\\t\")};\n${webpackAsyncContext}\nwebpackAsyncContext.keys = ${runtimeTemplate.returningFunction(\n\t\t\t\"Object.keys(map)\"\n\t\t)};\nwebpackAsyncContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackAsyncContext;`;\n\t}\n\n\tgetSourceForEmptyContext(id, runtimeTemplate) {\n\t\treturn `function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${runtimeTemplate.returningFunction(\"[]\")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackEmptyContext;`;\n\t}\n\n\tgetSourceForEmptyAsyncContext(id, runtimeTemplate) {\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\treturn `function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${arrow ? \"() =>\" : \"function()\"} {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${runtimeTemplate.returningFunction(\"[]\")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(id)};\nmodule.exports = webpackEmptyAsyncContext;`;\n\t}\n\n\t/**\n\t * @param {string} asyncMode module mode\n\t * @param {CodeGenerationContext} context context info\n\t * @returns {string} the source code\n\t */\n\tgetSourceString(asyncMode, { runtimeTemplate, chunkGraph }) {\n\t\tconst id = chunkGraph.getModuleId(this);\n\t\tif (asyncMode === \"lazy\") {\n\t\t\tif (this.blocks && this.blocks.length > 0) {\n\t\t\t\treturn this.getLazySource(this.blocks, id, {\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\tchunkGraph\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn this.getSourceForEmptyAsyncContext(id, runtimeTemplate);\n\t\t}\n\t\tif (asyncMode === \"eager\") {\n\t\t\tif (this.dependencies && this.dependencies.length > 0) {\n\t\t\t\treturn this.getEagerSource(this.dependencies, id, {\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntimeTemplate\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn this.getSourceForEmptyAsyncContext(id, runtimeTemplate);\n\t\t}\n\t\tif (asyncMode === \"lazy-once\") {\n\t\t\tconst block = this.blocks[0];\n\t\t\tif (block) {\n\t\t\t\treturn this.getLazyOnceSource(block, block.dependencies, id, {\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\tchunkGraph\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn this.getSourceForEmptyAsyncContext(id, runtimeTemplate);\n\t\t}\n\t\tif (asyncMode === \"async-weak\") {\n\t\t\tif (this.dependencies && this.dependencies.length > 0) {\n\t\t\t\treturn this.getAsyncWeakSource(this.dependencies, id, {\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntimeTemplate\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn this.getSourceForEmptyAsyncContext(id, runtimeTemplate);\n\t\t}\n\t\tif (asyncMode === \"weak\") {\n\t\t\tif (this.dependencies && this.dependencies.length > 0) {\n\t\t\t\treturn this.getWeakSyncSource(this.dependencies, id, chunkGraph);\n\t\t\t}\n\t\t}\n\t\tif (this.dependencies && this.dependencies.length > 0) {\n\t\t\treturn this.getSyncSource(this.dependencies, id, chunkGraph);\n\t\t}\n\t\treturn this.getSourceForEmptyContext(id, runtimeTemplate);\n\t}\n\n\t/**\n\t * @param {string} sourceString source content\n\t * @param {Compilation=} compilation the compilation\n\t * @returns {Source} generated source\n\t */\n\tgetSource(sourceString, compilation) {\n\t\tif (this.useSourceMap || this.useSimpleSourceMap) {\n\t\t\treturn new OriginalSource(\n\t\t\t\tsourceString,\n\t\t\t\t`webpack://${makePathsRelative(\n\t\t\t\t\t(compilation && compilation.compiler.context) || \"\",\n\t\t\t\t\tthis.identifier(),\n\t\t\t\t\tcompilation && compilation.compiler.root\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\treturn new RawSource(sourceString);\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\tconst { chunkGraph, compilation } = context;\n\t\tconst sources = new Map();\n\t\tsources.set(\n\t\t\t\"javascript\",\n\t\t\tthis.getSource(\n\t\t\t\tthis.getSourceString(this.options.mode, context),\n\t\t\t\tcompilation\n\t\t\t)\n\t\t);\n\t\tconst set = new Set();\n\t\tconst allDeps =\n\t\t\tthis.dependencies.length > 0\n\t\t\t\t? /** @type {ContextElementDependency[]} */ (this.dependencies).slice()\n\t\t\t\t: [];\n\t\tfor (const block of this.blocks)\n\t\t\tfor (const dep of block.dependencies)\n\t\t\t\tallDeps.push(/** @type {ContextElementDependency} */ (dep));\n\t\tset.add(RuntimeGlobals.module);\n\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\tif (allDeps.length > 0) {\n\t\t\tconst asyncMode = this.options.mode;\n\t\t\tset.add(RuntimeGlobals.require);\n\t\t\tif (asyncMode === \"weak\") {\n\t\t\t\tset.add(RuntimeGlobals.moduleFactories);\n\t\t\t} else if (asyncMode === \"async-weak\") {\n\t\t\t\tset.add(RuntimeGlobals.moduleFactories);\n\t\t\t\tset.add(RuntimeGlobals.ensureChunk);\n\t\t\t} else if (asyncMode === \"lazy\" || asyncMode === \"lazy-once\") {\n\t\t\t\tset.add(RuntimeGlobals.ensureChunk);\n\t\t\t}\n\t\t\tif (this.getFakeMap(allDeps, chunkGraph) !== 9) {\n\t\t\t\tset.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements: set\n\t\t};\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\t// base penalty\n\t\tlet size = 160;\n\n\t\t// if we don't have dependencies we stop here.\n\t\tfor (const dependency of this.dependencies) {\n\t\t\tconst element = /** @type {ContextElementDependency} */ (dependency);\n\t\t\tsize += 5 + element.userRequest.length;\n\t\t}\n\t\treturn size;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this._identifier);\n\t\twrite(this._forceBuild);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis._identifier = read();\n\t\tthis._forceBuild = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ContextModule, \"webpack/lib/ContextModule\");\n\nmodule.exports = ContextModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ContextModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ContextModuleFactory.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/ContextModuleFactory.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst { AsyncSeriesWaterfallHook, SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst ContextModule = __webpack_require__(/*! ./ContextModule */ \"./node_modules/webpack/lib/ContextModule.js\");\nconst ModuleFactory = __webpack_require__(/*! ./ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst ContextElementDependency = __webpack_require__(/*! ./dependencies/ContextElementDependency */ \"./node_modules/webpack/lib/dependencies/ContextElementDependency.js\");\nconst LazySet = __webpack_require__(/*! ./util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst { cachedSetProperty } = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst { createFakeHook } = __webpack_require__(/*! ./util/deprecation */ \"./node_modules/webpack/lib/util/deprecation.js\");\nconst { join } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\n/** @typedef {import(\"./ContextModule\").ContextModuleOptions} ContextModuleOptions */\n/** @typedef {import(\"./ContextModule\").ResolveDependenciesCallback} ResolveDependenciesCallback */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./ResolverFactory\")} ResolverFactory */\n/** @typedef {import(\"./dependencies/ContextDependency\")} ContextDependency */\n/** @template T @typedef {import(\"./util/deprecation\").FakeHook<T>} FakeHook<T> */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst EMPTY_RESOLVE_OPTIONS = {};\n\nmodule.exports = class ContextModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {ResolverFactory} resolverFactory resolverFactory\n\t */\n\tconstructor(resolverFactory) {\n\t\tsuper();\n\t\t/** @type {AsyncSeriesWaterfallHook<[TODO[], ContextModuleOptions]>} */\n\t\tconst alternativeRequests = new AsyncSeriesWaterfallHook([\n\t\t\t\"modules\",\n\t\t\t\"options\"\n\t\t]);\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO]>} */\n\t\t\tbeforeResolve: new AsyncSeriesWaterfallHook([\"data\"]),\n\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO]>} */\n\t\t\tafterResolve: new AsyncSeriesWaterfallHook([\"data\"]),\n\t\t\t/** @type {SyncWaterfallHook<[string[]]>} */\n\t\t\tcontextModuleFiles: new SyncWaterfallHook([\"files\"]),\n\t\t\t/** @type {FakeHook<Pick<AsyncSeriesWaterfallHook<[TODO[]]>, \"tap\" | \"tapAsync\" | \"tapPromise\" | \"name\">>} */\n\t\t\talternatives: createFakeHook(\n\t\t\t\t{\n\t\t\t\t\tname: \"alternatives\",\n\t\t\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO[]]>[\"intercept\"]} */\n\t\t\t\t\tintercept: interceptor => {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\"Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead\"\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO[]]>[\"tap\"]} */\n\t\t\t\t\ttap: (options, fn) => {\n\t\t\t\t\t\talternativeRequests.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO[]]>[\"tapAsync\"]} */\n\t\t\t\t\ttapAsync: (options, fn) => {\n\t\t\t\t\t\talternativeRequests.tapAsync(options, (items, _options, callback) =>\n\t\t\t\t\t\t\tfn(items, callback)\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t/** @type {AsyncSeriesWaterfallHook<[TODO[]]>[\"tapPromise\"]} */\n\t\t\t\t\ttapPromise: (options, fn) => {\n\t\t\t\t\t\talternativeRequests.tapPromise(options, fn);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.\",\n\t\t\t\t\"DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES\"\n\t\t\t),\n\t\t\talternativeRequests\n\t\t});\n\t\tthis.resolverFactory = resolverFactory;\n\t}\n\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst context = data.context;\n\t\tconst dependencies = data.dependencies;\n\t\tconst resolveOptions = data.resolveOptions;\n\t\tconst dependency = /** @type {ContextDependency} */ (dependencies[0]);\n\t\tconst fileDependencies = new LazySet();\n\t\tconst missingDependencies = new LazySet();\n\t\tconst contextDependencies = new LazySet();\n\t\tthis.hooks.beforeResolve.callAsync(\n\t\t\t{\n\t\t\t\tcontext: context,\n\t\t\t\tdependencies: dependencies,\n\t\t\t\tresolveOptions,\n\t\t\t\tfileDependencies,\n\t\t\t\tmissingDependencies,\n\t\t\t\tcontextDependencies,\n\t\t\t\t...dependency.options\n\t\t\t},\n\t\t\t(err, beforeResolveResult) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(err, {\n\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// Ignored\n\t\t\t\tif (!beforeResolveResult) {\n\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tconst context = beforeResolveResult.context;\n\t\t\t\tconst request = beforeResolveResult.request;\n\t\t\t\tconst resolveOptions = beforeResolveResult.resolveOptions;\n\n\t\t\t\tlet loaders,\n\t\t\t\t\tresource,\n\t\t\t\t\tloadersPrefix = \"\";\n\t\t\t\tconst idx = request.lastIndexOf(\"!\");\n\t\t\t\tif (idx >= 0) {\n\t\t\t\t\tlet loadersRequest = request.slice(0, idx + 1);\n\t\t\t\t\tlet i;\n\t\t\t\t\tfor (\n\t\t\t\t\t\ti = 0;\n\t\t\t\t\t\ti < loadersRequest.length && loadersRequest[i] === \"!\";\n\t\t\t\t\t\ti++\n\t\t\t\t\t) {\n\t\t\t\t\t\tloadersPrefix += \"!\";\n\t\t\t\t\t}\n\t\t\t\t\tloadersRequest = loadersRequest\n\t\t\t\t\t\t.slice(i)\n\t\t\t\t\t\t.replace(/!+$/, \"\")\n\t\t\t\t\t\t.replace(/!!+/g, \"!\");\n\t\t\t\t\tif (loadersRequest === \"\") {\n\t\t\t\t\t\tloaders = [];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tloaders = loadersRequest.split(\"!\");\n\t\t\t\t\t}\n\t\t\t\t\tresource = request.slice(idx + 1);\n\t\t\t\t} else {\n\t\t\t\t\tloaders = [];\n\t\t\t\t\tresource = request;\n\t\t\t\t}\n\n\t\t\t\tconst contextResolver = this.resolverFactory.get(\n\t\t\t\t\t\"context\",\n\t\t\t\t\tdependencies.length > 0\n\t\t\t\t\t\t? cachedSetProperty(\n\t\t\t\t\t\t\t\tresolveOptions || EMPTY_RESOLVE_OPTIONS,\n\t\t\t\t\t\t\t\t\"dependencyType\",\n\t\t\t\t\t\t\t\tdependencies[0].category\n\t\t\t\t\t\t )\n\t\t\t\t\t\t: resolveOptions\n\t\t\t\t);\n\t\t\t\tconst loaderResolver = this.resolverFactory.get(\"loader\");\n\n\t\t\t\tasyncLib.parallel(\n\t\t\t\t\t[\n\t\t\t\t\t\tcallback => {\n\t\t\t\t\t\t\tconst results = [];\n\t\t\t\t\t\t\tconst yield_ = obj => results.push(obj);\n\n\t\t\t\t\t\t\tcontextResolver.resolve(\n\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\tresource,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\t\t\t\tyield: yield_\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\tcallback(null, results);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcallback => {\n\t\t\t\t\t\t\tasyncLib.map(\n\t\t\t\t\t\t\t\tloaders,\n\t\t\t\t\t\t\t\t(loader, callback) => {\n\t\t\t\t\t\t\t\t\tloaderResolver.resolve(\n\t\t\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\tloader,\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\treturn callback(err, {\n\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet [contextResult, loaderResult] = result;\n\t\t\t\t\t\tif (contextResult.length > 1) {\n\t\t\t\t\t\t\tconst first = contextResult[0];\n\t\t\t\t\t\t\tcontextResult = contextResult.filter(r => r.path);\n\t\t\t\t\t\t\tif (contextResult.length === 0) contextResult.push(first);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.hooks.afterResolve.callAsync(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\taddon:\n\t\t\t\t\t\t\t\t\tloadersPrefix +\n\t\t\t\t\t\t\t\t\tloaderResult.join(\"!\") +\n\t\t\t\t\t\t\t\t\t(loaderResult.length > 0 ? \"!\" : \"\"),\n\t\t\t\t\t\t\t\tresource:\n\t\t\t\t\t\t\t\t\tcontextResult.length > 1\n\t\t\t\t\t\t\t\t\t\t? contextResult.map(r => r.path)\n\t\t\t\t\t\t\t\t\t\t: contextResult[0].path,\n\t\t\t\t\t\t\t\tresolveDependencies: this.resolveDependencies.bind(this),\n\t\t\t\t\t\t\t\tresourceQuery: contextResult[0].query,\n\t\t\t\t\t\t\t\tresourceFragment: contextResult[0].fragment,\n\t\t\t\t\t\t\t\t...beforeResolveResult\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\treturn callback(err, {\n\t\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Ignored\n\t\t\t\t\t\t\t\tif (!result) {\n\t\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\tmodule: new ContextModule(result.resolveDependencies, result),\n\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\tcontextDependencies\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {InputFileSystem} fs file system\n\t * @param {ContextModuleOptions} options options\n\t * @param {ResolveDependenciesCallback} callback callback function\n\t * @returns {void}\n\t */\n\tresolveDependencies(fs, options, callback) {\n\t\tconst cmf = this;\n\t\tconst {\n\t\t\tresource,\n\t\t\tresourceQuery,\n\t\t\tresourceFragment,\n\t\t\trecursive,\n\t\t\tregExp,\n\t\t\tinclude,\n\t\t\texclude,\n\t\t\treferencedExports,\n\t\t\tcategory,\n\t\t\ttypePrefix\n\t\t} = options;\n\t\tif (!regExp || !resource) return callback(null, []);\n\n\t\tconst addDirectoryChecked = (ctx, directory, visited, callback) => {\n\t\t\tfs.realpath(directory, (err, realPath) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tif (visited.has(realPath)) return callback(null, []);\n\t\t\t\tlet recursionStack;\n\t\t\t\taddDirectory(\n\t\t\t\t\tctx,\n\t\t\t\t\tdirectory,\n\t\t\t\t\t(_, dir, callback) => {\n\t\t\t\t\t\tif (recursionStack === undefined) {\n\t\t\t\t\t\t\trecursionStack = new Set(visited);\n\t\t\t\t\t\t\trecursionStack.add(realPath);\n\t\t\t\t\t\t}\n\t\t\t\t\t\taddDirectoryChecked(ctx, dir, recursionStack, callback);\n\t\t\t\t\t},\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t});\n\t\t};\n\n\t\tconst addDirectory = (ctx, directory, addSubDirectory, callback) => {\n\t\t\tfs.readdir(directory, (err, files) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tconst processedFiles = cmf.hooks.contextModuleFiles.call(\n\t\t\t\t\t/** @type {string[]} */ (files).map(file => file.normalize(\"NFC\"))\n\t\t\t\t);\n\t\t\t\tif (!processedFiles || processedFiles.length === 0)\n\t\t\t\t\treturn callback(null, []);\n\t\t\t\tasyncLib.map(\n\t\t\t\t\tprocessedFiles.filter(p => p.indexOf(\".\") !== 0),\n\t\t\t\t\t(segment, callback) => {\n\t\t\t\t\t\tconst subResource = join(fs, directory, segment);\n\n\t\t\t\t\t\tif (!exclude || !subResource.match(exclude)) {\n\t\t\t\t\t\t\tfs.stat(subResource, (err, stat) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\t\t\t\t\t\t// ENOENT is ok here because the file may have been deleted between\n\t\t\t\t\t\t\t\t\t\t// the readdir and stat calls.\n\t\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (stat.isDirectory()) {\n\t\t\t\t\t\t\t\t\tif (!recursive) return callback();\n\t\t\t\t\t\t\t\t\taddSubDirectory(ctx, subResource, callback);\n\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\tstat.isFile() &&\n\t\t\t\t\t\t\t\t\t(!include || subResource.match(include))\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tconst obj = {\n\t\t\t\t\t\t\t\t\t\tcontext: ctx,\n\t\t\t\t\t\t\t\t\t\trequest:\n\t\t\t\t\t\t\t\t\t\t\t\".\" + subResource.slice(ctx.length).replace(/\\\\/g, \"/\")\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis.hooks.alternativeRequests.callAsync(\n\t\t\t\t\t\t\t\t\t\t[obj],\n\t\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\t\t(err, alternatives) => {\n\t\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\t\talternatives = alternatives\n\t\t\t\t\t\t\t\t\t\t\t\t.filter(obj => regExp.test(obj.request))\n\t\t\t\t\t\t\t\t\t\t\t\t.map(obj => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst dep = new ContextElementDependency(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${obj.request}${resourceQuery}${resourceFragment}`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tobj.request,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttypePrefix,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcategory,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treferencedExports,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tobj.context\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\tdep.optional = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn dep;\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tcallback(null, alternatives);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\tif (!result) return callback(null, []);\n\n\t\t\t\t\t\tconst flattenedResult = [];\n\n\t\t\t\t\t\tfor (const item of result) {\n\t\t\t\t\t\t\tif (item) flattenedResult.push(...item);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcallback(null, flattenedResult);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t\t};\n\n\t\tconst addSubDirectory = (ctx, dir, callback) =>\n\t\t\taddDirectory(ctx, dir, addSubDirectory, callback);\n\n\t\tconst visitResource = (resource, callback) => {\n\t\t\tif (typeof fs.realpath === \"function\") {\n\t\t\t\taddDirectoryChecked(resource, resource, new Set(), callback);\n\t\t\t} else {\n\t\t\t\taddDirectory(resource, resource, addSubDirectory, callback);\n\t\t\t}\n\t\t};\n\n\t\tif (typeof resource === \"string\") {\n\t\t\tvisitResource(resource, callback);\n\t\t} else {\n\t\t\tasyncLib.map(resource, visitResource, (err, result) => {\n\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t// result dependencies should have unique userRequest\n\t\t\t\t// ordered by resolve result\n\t\t\t\tconst temp = new Set();\n\t\t\t\tconst res = [];\n\t\t\t\tfor (let i = 0; i < result.length; i++) {\n\t\t\t\t\tconst inner = result[i];\n\t\t\t\t\tfor (const el of inner) {\n\t\t\t\t\t\tif (temp.has(el.userRequest)) continue;\n\t\t\t\t\t\tres.push(el);\n\t\t\t\t\t\ttemp.add(el.userRequest);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcallback(null, res);\n\t\t\t});\n\t\t}\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ContextModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ContextReplacementPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/ContextReplacementPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ContextElementDependency = __webpack_require__(/*! ./dependencies/ContextElementDependency */ \"./node_modules/webpack/lib/dependencies/ContextElementDependency.js\");\nconst { join } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\nclass ContextReplacementPlugin {\n\tconstructor(\n\t\tresourceRegExp,\n\t\tnewContentResource,\n\t\tnewContentRecursive,\n\t\tnewContentRegExp\n\t) {\n\t\tthis.resourceRegExp = resourceRegExp;\n\n\t\tif (typeof newContentResource === \"function\") {\n\t\t\tthis.newContentCallback = newContentResource;\n\t\t} else if (\n\t\t\ttypeof newContentResource === \"string\" &&\n\t\t\ttypeof newContentRecursive === \"object\"\n\t\t) {\n\t\t\tthis.newContentResource = newContentResource;\n\t\t\tthis.newContentCreateContextMap = (fs, callback) => {\n\t\t\t\tcallback(null, newContentRecursive);\n\t\t\t};\n\t\t} else if (\n\t\t\ttypeof newContentResource === \"string\" &&\n\t\t\ttypeof newContentRecursive === \"function\"\n\t\t) {\n\t\t\tthis.newContentResource = newContentResource;\n\t\t\tthis.newContentCreateContextMap = newContentRecursive;\n\t\t} else {\n\t\t\tif (typeof newContentResource !== \"string\") {\n\t\t\t\tnewContentRegExp = newContentRecursive;\n\t\t\t\tnewContentRecursive = newContentResource;\n\t\t\t\tnewContentResource = undefined;\n\t\t\t}\n\t\t\tif (typeof newContentRecursive !== \"boolean\") {\n\t\t\t\tnewContentRegExp = newContentRecursive;\n\t\t\t\tnewContentRecursive = undefined;\n\t\t\t}\n\t\t\tthis.newContentResource = newContentResource;\n\t\t\tthis.newContentRecursive = newContentRecursive;\n\t\t\tthis.newContentRegExp = newContentRegExp;\n\t\t}\n\t}\n\n\tapply(compiler) {\n\t\tconst resourceRegExp = this.resourceRegExp;\n\t\tconst newContentCallback = this.newContentCallback;\n\t\tconst newContentResource = this.newContentResource;\n\t\tconst newContentRecursive = this.newContentRecursive;\n\t\tconst newContentRegExp = this.newContentRegExp;\n\t\tconst newContentCreateContextMap = this.newContentCreateContextMap;\n\n\t\tcompiler.hooks.contextModuleFactory.tap(\"ContextReplacementPlugin\", cmf => {\n\t\t\tcmf.hooks.beforeResolve.tap(\"ContextReplacementPlugin\", result => {\n\t\t\t\tif (!result) return;\n\t\t\t\tif (resourceRegExp.test(result.request)) {\n\t\t\t\t\tif (newContentResource !== undefined) {\n\t\t\t\t\t\tresult.request = newContentResource;\n\t\t\t\t\t}\n\t\t\t\t\tif (newContentRecursive !== undefined) {\n\t\t\t\t\t\tresult.recursive = newContentRecursive;\n\t\t\t\t\t}\n\t\t\t\t\tif (newContentRegExp !== undefined) {\n\t\t\t\t\t\tresult.regExp = newContentRegExp;\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof newContentCallback === \"function\") {\n\t\t\t\t\t\tnewContentCallback(result);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const d of result.dependencies) {\n\t\t\t\t\t\t\tif (d.critical) d.critical = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t});\n\t\t\tcmf.hooks.afterResolve.tap(\"ContextReplacementPlugin\", result => {\n\t\t\t\tif (!result) return;\n\t\t\t\tif (resourceRegExp.test(result.resource)) {\n\t\t\t\t\tif (newContentResource !== undefined) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tnewContentResource.startsWith(\"/\") ||\n\t\t\t\t\t\t\t(newContentResource.length > 1 && newContentResource[1] === \":\")\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tresult.resource = newContentResource;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.resource = join(\n\t\t\t\t\t\t\t\tcompiler.inputFileSystem,\n\t\t\t\t\t\t\t\tresult.resource,\n\t\t\t\t\t\t\t\tnewContentResource\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (newContentRecursive !== undefined) {\n\t\t\t\t\t\tresult.recursive = newContentRecursive;\n\t\t\t\t\t}\n\t\t\t\t\tif (newContentRegExp !== undefined) {\n\t\t\t\t\t\tresult.regExp = newContentRegExp;\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof newContentCreateContextMap === \"function\") {\n\t\t\t\t\t\tresult.resolveDependencies =\n\t\t\t\t\t\t\tcreateResolveDependenciesFromContextMap(\n\t\t\t\t\t\t\t\tnewContentCreateContextMap\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof newContentCallback === \"function\") {\n\t\t\t\t\t\tconst origResource = result.resource;\n\t\t\t\t\t\tnewContentCallback(result);\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tresult.resource !== origResource &&\n\t\t\t\t\t\t\t!result.resource.startsWith(\"/\") &&\n\t\t\t\t\t\t\t(result.resource.length <= 1 || result.resource[1] !== \":\")\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t// When the function changed it to an relative path\n\t\t\t\t\t\t\tresult.resource = join(\n\t\t\t\t\t\t\t\tcompiler.inputFileSystem,\n\t\t\t\t\t\t\t\torigResource,\n\t\t\t\t\t\t\t\tresult.resource\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const d of result.dependencies) {\n\t\t\t\t\t\t\tif (d.critical) d.critical = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t});\n\t\t});\n\t}\n}\n\nconst createResolveDependenciesFromContextMap = createContextMap => {\n\tconst resolveDependenciesFromContextMap = (fs, options, callback) => {\n\t\tcreateContextMap(fs, (err, map) => {\n\t\t\tif (err) return callback(err);\n\t\t\tconst dependencies = Object.keys(map).map(key => {\n\t\t\t\treturn new ContextElementDependency(\n\t\t\t\t\tmap[key] + options.resourceQuery + options.resourceFragment,\n\t\t\t\t\tkey,\n\t\t\t\t\toptions.category,\n\t\t\t\t\toptions.referencedExports\n\t\t\t\t);\n\t\t\t});\n\t\t\tcallback(null, dependencies);\n\t\t});\n\t};\n\treturn resolveDependenciesFromContextMap;\n};\n\nmodule.exports = ContextReplacementPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ContextReplacementPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DefinePlugin.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/DefinePlugin.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ./javascript/BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\nconst {\n\tevaluateToString,\n\ttoConstantDependency\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\n\n/** @typedef {import(\"estree\").Expression} Expression */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./NormalModule\")} NormalModule */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\n/** @typedef {null|undefined|RegExp|Function|string|number|boolean|bigint|undefined} CodeValuePrimitive */\n/** @typedef {RecursiveArrayOrRecord<CodeValuePrimitive|RuntimeValue>} CodeValue */\n\n/**\n * @typedef {Object} RuntimeValueOptions\n * @property {string[]=} fileDependencies\n * @property {string[]=} contextDependencies\n * @property {string[]=} missingDependencies\n * @property {string[]=} buildDependencies\n * @property {string|function(): string=} version\n */\n\nclass RuntimeValue {\n\t/**\n\t * @param {function({ module: NormalModule, key: string, readonly version: string | undefined }): CodeValuePrimitive} fn generator function\n\t * @param {true | string[] | RuntimeValueOptions=} options options\n\t */\n\tconstructor(fn, options) {\n\t\tthis.fn = fn;\n\t\tif (Array.isArray(options)) {\n\t\t\toptions = {\n\t\t\t\tfileDependencies: options\n\t\t\t};\n\t\t}\n\t\tthis.options = options || {};\n\t}\n\n\tget fileDependencies() {\n\t\treturn this.options === true ? true : this.options.fileDependencies;\n\t}\n\n\t/**\n\t * @param {JavascriptParser} parser the parser\n\t * @param {Map<string, string | Set<string>>} valueCacheVersions valueCacheVersions\n\t * @param {string} key the defined key\n\t * @returns {CodeValuePrimitive} code\n\t */\n\texec(parser, valueCacheVersions, key) {\n\t\tconst buildInfo = parser.state.module.buildInfo;\n\t\tif (this.options === true) {\n\t\t\tbuildInfo.cacheable = false;\n\t\t} else {\n\t\t\tif (this.options.fileDependencies) {\n\t\t\t\tfor (const dep of this.options.fileDependencies) {\n\t\t\t\t\tbuildInfo.fileDependencies.add(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.options.contextDependencies) {\n\t\t\t\tfor (const dep of this.options.contextDependencies) {\n\t\t\t\t\tbuildInfo.contextDependencies.add(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.options.missingDependencies) {\n\t\t\t\tfor (const dep of this.options.missingDependencies) {\n\t\t\t\t\tbuildInfo.missingDependencies.add(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.options.buildDependencies) {\n\t\t\t\tfor (const dep of this.options.buildDependencies) {\n\t\t\t\t\tbuildInfo.buildDependencies.add(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.fn({\n\t\t\tmodule: parser.state.module,\n\t\t\tkey,\n\t\t\tget version() {\n\t\t\t\treturn /** @type {string} */ (\n\t\t\t\t\tvalueCacheVersions.get(VALUE_DEP_PREFIX + key)\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t}\n\n\tgetCacheVersion() {\n\t\treturn this.options === true\n\t\t\t? undefined\n\t\t\t: (typeof this.options.version === \"function\"\n\t\t\t\t\t? this.options.version()\n\t\t\t\t\t: this.options.version) || \"unset\";\n\t}\n}\n\n/**\n * @param {any[]|{[k: string]: any}} obj obj\n * @param {JavascriptParser} parser Parser\n * @param {Map<string, string | Set<string>>} valueCacheVersions valueCacheVersions\n * @param {string} key the defined key\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @param {boolean|undefined|null=} asiSafe asi safe (undefined: unknown, null: unneeded)\n * @returns {string} code converted to string that evaluates\n */\nconst stringifyObj = (\n\tobj,\n\tparser,\n\tvalueCacheVersions,\n\tkey,\n\truntimeTemplate,\n\tasiSafe\n) => {\n\tlet code;\n\tlet arr = Array.isArray(obj);\n\tif (arr) {\n\t\tcode = `[${obj\n\t\t\t.map(code =>\n\t\t\t\ttoCode(code, parser, valueCacheVersions, key, runtimeTemplate, null)\n\t\t\t)\n\t\t\t.join(\",\")}]`;\n\t} else {\n\t\tcode = `{${Object.keys(obj)\n\t\t\t.map(key => {\n\t\t\t\tconst code = obj[key];\n\t\t\t\treturn (\n\t\t\t\t\tJSON.stringify(key) +\n\t\t\t\t\t\":\" +\n\t\t\t\t\ttoCode(code, parser, valueCacheVersions, key, runtimeTemplate, null)\n\t\t\t\t);\n\t\t\t})\n\t\t\t.join(\",\")}}`;\n\t}\n\n\tswitch (asiSafe) {\n\t\tcase null:\n\t\t\treturn code;\n\t\tcase true:\n\t\t\treturn arr ? code : `(${code})`;\n\t\tcase false:\n\t\t\treturn arr ? `;${code}` : `;(${code})`;\n\t\tdefault:\n\t\t\treturn `/*#__PURE__*/Object(${code})`;\n\t}\n};\n\n/**\n * Convert code to a string that evaluates\n * @param {CodeValue} code Code to evaluate\n * @param {JavascriptParser} parser Parser\n * @param {Map<string, string | Set<string>>} valueCacheVersions valueCacheVersions\n * @param {string} key the defined key\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @param {boolean|undefined|null=} asiSafe asi safe (undefined: unknown, null: unneeded)\n * @returns {string} code converted to string that evaluates\n */\nconst toCode = (\n\tcode,\n\tparser,\n\tvalueCacheVersions,\n\tkey,\n\truntimeTemplate,\n\tasiSafe\n) => {\n\tif (code === null) {\n\t\treturn \"null\";\n\t}\n\tif (code === undefined) {\n\t\treturn \"undefined\";\n\t}\n\tif (Object.is(code, -0)) {\n\t\treturn \"-0\";\n\t}\n\tif (code instanceof RuntimeValue) {\n\t\treturn toCode(\n\t\t\tcode.exec(parser, valueCacheVersions, key),\n\t\t\tparser,\n\t\t\tvalueCacheVersions,\n\t\t\tkey,\n\t\t\truntimeTemplate,\n\t\t\tasiSafe\n\t\t);\n\t}\n\tif (code instanceof RegExp && code.toString) {\n\t\treturn code.toString();\n\t}\n\tif (typeof code === \"function\" && code.toString) {\n\t\treturn \"(\" + code.toString() + \")\";\n\t}\n\tif (typeof code === \"object\") {\n\t\treturn stringifyObj(\n\t\t\tcode,\n\t\t\tparser,\n\t\t\tvalueCacheVersions,\n\t\t\tkey,\n\t\t\truntimeTemplate,\n\t\t\tasiSafe\n\t\t);\n\t}\n\tif (typeof code === \"bigint\") {\n\t\treturn runtimeTemplate.supportsBigIntLiteral()\n\t\t\t? `${code}n`\n\t\t\t: `BigInt(\"${code}\")`;\n\t}\n\treturn code + \"\";\n};\n\nconst toCacheVersion = code => {\n\tif (code === null) {\n\t\treturn \"null\";\n\t}\n\tif (code === undefined) {\n\t\treturn \"undefined\";\n\t}\n\tif (Object.is(code, -0)) {\n\t\treturn \"-0\";\n\t}\n\tif (code instanceof RuntimeValue) {\n\t\treturn code.getCacheVersion();\n\t}\n\tif (code instanceof RegExp && code.toString) {\n\t\treturn code.toString();\n\t}\n\tif (typeof code === \"function\" && code.toString) {\n\t\treturn \"(\" + code.toString() + \")\";\n\t}\n\tif (typeof code === \"object\") {\n\t\tconst items = Object.keys(code).map(key => ({\n\t\t\tkey,\n\t\t\tvalue: toCacheVersion(code[key])\n\t\t}));\n\t\tif (items.some(({ value }) => value === undefined)) return undefined;\n\t\treturn `{${items.map(({ key, value }) => `${key}: ${value}`).join(\", \")}}`;\n\t}\n\tif (typeof code === \"bigint\") {\n\t\treturn `${code}n`;\n\t}\n\treturn code + \"\";\n};\n\nconst VALUE_DEP_PREFIX = \"webpack/DefinePlugin \";\nconst VALUE_DEP_MAIN = \"webpack/DefinePlugin_hash\";\n\nclass DefinePlugin {\n\t/**\n\t * Create a new define plugin\n\t * @param {Record<string, CodeValue>} definitions A map of global object definitions\n\t */\n\tconstructor(definitions) {\n\t\tthis.definitions = definitions;\n\t}\n\n\t/**\n\t * @param {function({ module: NormalModule, key: string, readonly version: string | undefined }): CodeValuePrimitive} fn generator function\n\t * @param {true | string[] | RuntimeValueOptions=} options options\n\t * @returns {RuntimeValue} runtime value\n\t */\n\tstatic runtimeValue(fn, options) {\n\t\treturn new RuntimeValue(fn, options);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst definitions = this.definitions;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DefinePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\t\t\t\tconst { runtimeTemplate } = compilation;\n\n\t\t\t\tconst mainHash = createHash(compilation.outputOptions.hashFunction);\n\t\t\t\tmainHash.update(\n\t\t\t\t\t/** @type {string} */ (\n\t\t\t\t\t\tcompilation.valueCacheVersions.get(VALUE_DEP_MAIN)\n\t\t\t\t\t) || \"\"\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * Handler\n\t\t\t\t * @param {JavascriptParser} parser Parser\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tconst mainValue = compilation.valueCacheVersions.get(VALUE_DEP_MAIN);\n\t\t\t\t\tparser.hooks.program.tap(\"DefinePlugin\", () => {\n\t\t\t\t\t\tconst { buildInfo } = parser.state.module;\n\t\t\t\t\t\tif (!buildInfo.valueDependencies)\n\t\t\t\t\t\t\tbuildInfo.valueDependencies = new Map();\n\t\t\t\t\t\tbuildInfo.valueDependencies.set(VALUE_DEP_MAIN, mainValue);\n\t\t\t\t\t});\n\n\t\t\t\t\tconst addValueDependency = key => {\n\t\t\t\t\t\tconst { buildInfo } = parser.state.module;\n\t\t\t\t\t\tbuildInfo.valueDependencies.set(\n\t\t\t\t\t\t\tVALUE_DEP_PREFIX + key,\n\t\t\t\t\t\t\tcompilation.valueCacheVersions.get(VALUE_DEP_PREFIX + key)\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\tconst withValueDependency =\n\t\t\t\t\t\t(key, fn) =>\n\t\t\t\t\t\t(...args) => {\n\t\t\t\t\t\t\taddValueDependency(key);\n\t\t\t\t\t\t\treturn fn(...args);\n\t\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Walk definitions\n\t\t\t\t\t * @param {Object} definitions Definitions map\n\t\t\t\t\t * @param {string} prefix Prefix string\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst walkDefinitions = (definitions, prefix) => {\n\t\t\t\t\t\tObject.keys(definitions).forEach(key => {\n\t\t\t\t\t\t\tconst code = definitions[key];\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tcode &&\n\t\t\t\t\t\t\t\ttypeof code === \"object\" &&\n\t\t\t\t\t\t\t\t!(code instanceof RuntimeValue) &&\n\t\t\t\t\t\t\t\t!(code instanceof RegExp)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\twalkDefinitions(code, prefix + key + \".\");\n\t\t\t\t\t\t\t\tapplyObjectDefine(prefix + key, code);\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tapplyDefineKey(prefix, key);\n\t\t\t\t\t\t\tapplyDefine(prefix + key, code);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Apply define key\n\t\t\t\t\t * @param {string} prefix Prefix\n\t\t\t\t\t * @param {string} key Key\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst applyDefineKey = (prefix, key) => {\n\t\t\t\t\t\tconst splittedKey = key.split(\".\");\n\t\t\t\t\t\tsplittedKey.slice(1).forEach((_, i) => {\n\t\t\t\t\t\t\tconst fullKey = prefix + splittedKey.slice(0, i + 1).join(\".\");\n\t\t\t\t\t\t\tparser.hooks.canRename.for(fullKey).tap(\"DefinePlugin\", () => {\n\t\t\t\t\t\t\t\taddValueDependency(key);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Apply Code\n\t\t\t\t\t * @param {string} key Key\n\t\t\t\t\t * @param {CodeValue} code Code\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst applyDefine = (key, code) => {\n\t\t\t\t\t\tconst originalKey = key;\n\t\t\t\t\t\tconst isTypeof = /^typeof\\s+/.test(key);\n\t\t\t\t\t\tif (isTypeof) key = key.replace(/^typeof\\s+/, \"\");\n\t\t\t\t\t\tlet recurse = false;\n\t\t\t\t\t\tlet recurseTypeof = false;\n\t\t\t\t\t\tif (!isTypeof) {\n\t\t\t\t\t\t\tparser.hooks.canRename.for(key).tap(\"DefinePlugin\", () => {\n\t\t\t\t\t\t\t\taddValueDependency(originalKey);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t\t.tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t\t * this is needed in case there is a recursion in the DefinePlugin\n\t\t\t\t\t\t\t\t\t * to prevent an endless recursion\n\t\t\t\t\t\t\t\t\t * e.g.: new DefinePlugin({\n\t\t\t\t\t\t\t\t\t * \"a\": \"b\",\n\t\t\t\t\t\t\t\t\t * \"b\": \"a\"\n\t\t\t\t\t\t\t\t\t * });\n\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\tif (recurse) return;\n\t\t\t\t\t\t\t\t\taddValueDependency(originalKey);\n\t\t\t\t\t\t\t\t\trecurse = true;\n\t\t\t\t\t\t\t\t\tconst res = parser.evaluate(\n\t\t\t\t\t\t\t\t\t\ttoCode(\n\t\t\t\t\t\t\t\t\t\t\tcode,\n\t\t\t\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\t\t\t\tcompilation.valueCacheVersions,\n\t\t\t\t\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\t\tnull\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\trecurse = false;\n\t\t\t\t\t\t\t\t\tres.setRange(expr.range);\n\t\t\t\t\t\t\t\t\treturn res;\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tparser.hooks.expression.for(key).tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\t\taddValueDependency(originalKey);\n\t\t\t\t\t\t\t\tconst strCode = toCode(\n\t\t\t\t\t\t\t\t\tcode,\n\t\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\t\tcompilation.valueCacheVersions,\n\t\t\t\t\t\t\t\t\toriginalKey,\n\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t!parser.isAsiPosition(expr.range[0])\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (/__webpack_require__\\s*(!?\\.)/.test(strCode)) {\n\t\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode, [\n\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.require\n\t\t\t\t\t\t\t\t\t])(expr);\n\t\t\t\t\t\t\t\t} else if (/__webpack_require__/.test(strCode)) {\n\t\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode, [\n\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.requireScope\n\t\t\t\t\t\t\t\t\t])(expr);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode)(expr);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparser.hooks.evaluateTypeof.for(key).tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * this is needed in case there is a recursion in the DefinePlugin\n\t\t\t\t\t\t\t * to prevent an endless recursion\n\t\t\t\t\t\t\t * e.g.: new DefinePlugin({\n\t\t\t\t\t\t\t * \"typeof a\": \"typeof b\",\n\t\t\t\t\t\t\t * \"typeof b\": \"typeof a\"\n\t\t\t\t\t\t\t * });\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tif (recurseTypeof) return;\n\t\t\t\t\t\t\trecurseTypeof = true;\n\t\t\t\t\t\t\taddValueDependency(originalKey);\n\t\t\t\t\t\t\tconst codeCode = toCode(\n\t\t\t\t\t\t\t\tcode,\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\tcompilation.valueCacheVersions,\n\t\t\t\t\t\t\t\toriginalKey,\n\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\tnull\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst typeofCode = isTypeof\n\t\t\t\t\t\t\t\t? codeCode\n\t\t\t\t\t\t\t\t: \"typeof (\" + codeCode + \")\";\n\t\t\t\t\t\t\tconst res = parser.evaluate(typeofCode);\n\t\t\t\t\t\t\trecurseTypeof = false;\n\t\t\t\t\t\t\tres.setRange(expr.range);\n\t\t\t\t\t\t\treturn res;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.typeof.for(key).tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\taddValueDependency(originalKey);\n\t\t\t\t\t\t\tconst codeCode = toCode(\n\t\t\t\t\t\t\t\tcode,\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\tcompilation.valueCacheVersions,\n\t\t\t\t\t\t\t\toriginalKey,\n\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\tnull\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst typeofCode = isTypeof\n\t\t\t\t\t\t\t\t? codeCode\n\t\t\t\t\t\t\t\t: \"typeof (\" + codeCode + \")\";\n\t\t\t\t\t\t\tconst res = parser.evaluate(typeofCode);\n\t\t\t\t\t\t\tif (!res.isString()) return;\n\t\t\t\t\t\t\treturn toConstantDependency(\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\tJSON.stringify(res.string)\n\t\t\t\t\t\t\t).bind(parser)(expr);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Apply Object\n\t\t\t\t\t * @param {string} key Key\n\t\t\t\t\t * @param {Object} obj Object\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst applyObjectDefine = (key, obj) => {\n\t\t\t\t\t\tparser.hooks.canRename.for(key).tap(\"DefinePlugin\", () => {\n\t\t\t\t\t\t\taddValueDependency(key);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\t\taddValueDependency(key);\n\t\t\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setTruthy()\n\t\t\t\t\t\t\t\t\t.setSideEffects(false)\n\t\t\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"DefinePlugin\",\n\t\t\t\t\t\t\t\twithValueDependency(key, evaluateToString(\"object\"))\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tparser.hooks.expression.for(key).tap(\"DefinePlugin\", expr => {\n\t\t\t\t\t\t\taddValueDependency(key);\n\t\t\t\t\t\t\tconst strCode = stringifyObj(\n\t\t\t\t\t\t\t\tobj,\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\tcompilation.valueCacheVersions,\n\t\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t!parser.isAsiPosition(expr.range[0])\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tif (/__webpack_require__\\s*(!?\\.)/.test(strCode)) {\n\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode, [\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.require\n\t\t\t\t\t\t\t\t])(expr);\n\t\t\t\t\t\t\t} else if (/__webpack_require__/.test(strCode)) {\n\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode, [\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.requireScope\n\t\t\t\t\t\t\t\t])(expr);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn toConstantDependency(parser, strCode)(expr);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"DefinePlugin\",\n\t\t\t\t\t\t\t\twithValueDependency(\n\t\t\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"object\"))\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\twalkDefinitions(definitions, \"\");\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"DefinePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"DefinePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"DefinePlugin\", handler);\n\n\t\t\t\t/**\n\t\t\t\t * Walk definitions\n\t\t\t\t * @param {Object} definitions Definitions map\n\t\t\t\t * @param {string} prefix Prefix string\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst walkDefinitionsForValues = (definitions, prefix) => {\n\t\t\t\t\tObject.keys(definitions).forEach(key => {\n\t\t\t\t\t\tconst code = definitions[key];\n\t\t\t\t\t\tconst version = toCacheVersion(code);\n\t\t\t\t\t\tconst name = VALUE_DEP_PREFIX + prefix + key;\n\t\t\t\t\t\tmainHash.update(\"|\" + prefix + key);\n\t\t\t\t\t\tconst oldVersion = compilation.valueCacheVersions.get(name);\n\t\t\t\t\t\tif (oldVersion === undefined) {\n\t\t\t\t\t\t\tcompilation.valueCacheVersions.set(name, version);\n\t\t\t\t\t\t} else if (oldVersion !== version) {\n\t\t\t\t\t\t\tconst warning = new WebpackError(\n\t\t\t\t\t\t\t\t`DefinePlugin\\nConflicting values for '${prefix + key}'`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\twarning.details = `'${oldVersion}' !== '${version}'`;\n\t\t\t\t\t\t\twarning.hideStack = true;\n\t\t\t\t\t\t\tcompilation.warnings.push(warning);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tcode &&\n\t\t\t\t\t\t\ttypeof code === \"object\" &&\n\t\t\t\t\t\t\t!(code instanceof RuntimeValue) &&\n\t\t\t\t\t\t\t!(code instanceof RegExp)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\twalkDefinitionsForValues(code, prefix + key + \".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\twalkDefinitionsForValues(definitions, \"\");\n\n\t\t\t\tcompilation.valueCacheVersions.set(\n\t\t\t\t\tVALUE_DEP_MAIN,\n\t\t\t\t\t/** @type {string} */ (mainHash.digest(\"hex\").slice(0, 8))\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = DefinePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DefinePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DelegatedModule.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/DelegatedModule.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { OriginalSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst DelegatedSourceDependency = __webpack_require__(/*! ./dependencies/DelegatedSourceDependency */ \"./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ./dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./LibManifestPlugin\").ManifestModuleData} ManifestModuleData */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./Module\").SourceContext} SourceContext */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./dependencies/ModuleDependency\")} ModuleDependency */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"javascript\"]);\nconst RUNTIME_REQUIREMENTS = new Set([\n\tRuntimeGlobals.module,\n\tRuntimeGlobals.require\n]);\n\nclass DelegatedModule extends Module {\n\tconstructor(sourceRequest, data, type, userRequest, originalRequest) {\n\t\tsuper(\"javascript/dynamic\", null);\n\n\t\t// Info from Factory\n\t\tthis.sourceRequest = sourceRequest;\n\t\tthis.request = data.id;\n\t\tthis.delegationType = type;\n\t\tthis.userRequest = userRequest;\n\t\tthis.originalRequest = originalRequest;\n\t\t/** @type {ManifestModuleData} */\n\t\tthis.delegateData = data;\n\n\t\t// Build info\n\t\tthis.delegatedSourceDependency = undefined;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn typeof this.originalRequest === \"string\"\n\t\t\t? this.originalRequest\n\t\t\t: this.originalRequest.libIdent(options);\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `delegated ${JSON.stringify(this.request)} from ${\n\t\t\tthis.sourceRequest\n\t\t}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `delegated ${this.userRequest} from ${this.sourceRequest}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = { ...this.delegateData.buildMeta };\n\t\tthis.buildInfo = {};\n\t\tthis.dependencies.length = 0;\n\t\tthis.delegatedSourceDependency = new DelegatedSourceDependency(\n\t\t\tthis.sourceRequest\n\t\t);\n\t\tthis.addDependency(this.delegatedSourceDependency);\n\t\tthis.addDependency(\n\t\t\tnew StaticExportsDependency(this.delegateData.exports || true, false)\n\t\t);\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ runtimeTemplate, moduleGraph, chunkGraph }) {\n\t\tconst dep = /** @type {DelegatedSourceDependency} */ (this.dependencies[0]);\n\t\tconst sourceModule = moduleGraph.getModule(dep);\n\t\tlet str;\n\n\t\tif (!sourceModule) {\n\t\t\tstr = runtimeTemplate.throwMissingModuleErrorBlock({\n\t\t\t\trequest: this.sourceRequest\n\t\t\t});\n\t\t} else {\n\t\t\tstr = `module.exports = (${runtimeTemplate.moduleExports({\n\t\t\t\tmodule: sourceModule,\n\t\t\t\tchunkGraph,\n\t\t\t\trequest: dep.request,\n\t\t\t\truntimeRequirements: new Set()\n\t\t\t})})`;\n\n\t\t\tswitch (this.delegationType) {\n\t\t\t\tcase \"require\":\n\t\t\t\t\tstr += `(${JSON.stringify(this.request)})`;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"object\":\n\t\t\t\t\tstr += `[${JSON.stringify(this.request)}]`;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tstr += \";\";\n\t\t}\n\n\t\tconst sources = new Map();\n\t\tif (this.useSourceMap || this.useSimpleSourceMap) {\n\t\t\tsources.set(\"javascript\", new OriginalSource(str, this.identifier()));\n\t\t} else {\n\t\t\tsources.set(\"javascript\", new RawSource(str));\n\t\t}\n\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements: RUNTIME_REQUIREMENTS\n\t\t};\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 42;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(this.delegationType);\n\t\thash.update(JSON.stringify(this.request));\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\t// constructor\n\t\twrite(this.sourceRequest);\n\t\twrite(this.delegateData);\n\t\twrite(this.delegationType);\n\t\twrite(this.userRequest);\n\t\twrite(this.originalRequest);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new DelegatedModule(\n\t\t\tread(), // sourceRequest\n\t\t\tread(), // delegateData\n\t\t\tread(), // delegationType\n\t\t\tread(), // userRequest\n\t\t\tread() // originalRequest\n\t\t);\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tsuper.updateCacheModule(module);\n\t\tconst m = /** @type {DelegatedModule} */ (module);\n\t\tthis.delegationType = m.delegationType;\n\t\tthis.userRequest = m.userRequest;\n\t\tthis.originalRequest = m.originalRequest;\n\t\tthis.delegateData = m.delegateData;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Remove internal references to allow freeing some memory.\n\t */\n\tcleanupForCache() {\n\t\tsuper.cleanupForCache();\n\t\tthis.delegateData = undefined;\n\t}\n}\n\nmakeSerializable(DelegatedModule, \"webpack/lib/DelegatedModule\");\n\nmodule.exports = DelegatedModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DelegatedModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DelegatedModule = __webpack_require__(/*! ./DelegatedModule */ \"./node_modules/webpack/lib/DelegatedModule.js\");\n\n// options.source\n// options.type\n// options.context\n// options.scope\n// options.content\n// options.associatedObjectForCache\nclass DelegatedModuleFactoryPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\toptions.type = options.type || \"require\";\n\t\toptions.extensions = options.extensions || [\"\", \".js\", \".json\", \".wasm\"];\n\t}\n\n\tapply(normalModuleFactory) {\n\t\tconst scope = this.options.scope;\n\t\tif (scope) {\n\t\t\tnormalModuleFactory.hooks.factorize.tapAsync(\n\t\t\t\t\"DelegatedModuleFactoryPlugin\",\n\t\t\t\t(data, callback) => {\n\t\t\t\t\tconst [dependency] = data.dependencies;\n\t\t\t\t\tconst { request } = dependency;\n\t\t\t\t\tif (request && request.startsWith(`${scope}/`)) {\n\t\t\t\t\t\tconst innerRequest = \".\" + request.slice(scope.length);\n\t\t\t\t\t\tlet resolved;\n\t\t\t\t\t\tif (innerRequest in this.options.content) {\n\t\t\t\t\t\t\tresolved = this.options.content[innerRequest];\n\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tnew DelegatedModule(\n\t\t\t\t\t\t\t\t\tthis.options.source,\n\t\t\t\t\t\t\t\t\tresolved,\n\t\t\t\t\t\t\t\t\tthis.options.type,\n\t\t\t\t\t\t\t\t\tinnerRequest,\n\t\t\t\t\t\t\t\t\trequest\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (let i = 0; i < this.options.extensions.length; i++) {\n\t\t\t\t\t\t\tconst extension = this.options.extensions[i];\n\t\t\t\t\t\t\tconst requestPlusExt = innerRequest + extension;\n\t\t\t\t\t\t\tif (requestPlusExt in this.options.content) {\n\t\t\t\t\t\t\t\tresolved = this.options.content[requestPlusExt];\n\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tnew DelegatedModule(\n\t\t\t\t\t\t\t\t\t\tthis.options.source,\n\t\t\t\t\t\t\t\t\t\tresolved,\n\t\t\t\t\t\t\t\t\t\tthis.options.type,\n\t\t\t\t\t\t\t\t\t\trequestPlusExt,\n\t\t\t\t\t\t\t\t\t\trequest + extension\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t);\n\t\t} else {\n\t\t\tnormalModuleFactory.hooks.module.tap(\n\t\t\t\t\"DelegatedModuleFactoryPlugin\",\n\t\t\t\tmodule => {\n\t\t\t\t\tconst request = module.libIdent(this.options);\n\t\t\t\t\tif (request) {\n\t\t\t\t\t\tif (request in this.options.content) {\n\t\t\t\t\t\t\tconst resolved = this.options.content[request];\n\t\t\t\t\t\t\treturn new DelegatedModule(\n\t\t\t\t\t\t\t\tthis.options.source,\n\t\t\t\t\t\t\t\tresolved,\n\t\t\t\t\t\t\t\tthis.options.type,\n\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn module;\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}\n}\nmodule.exports = DelegatedModuleFactoryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DelegatedPlugin.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/DelegatedPlugin.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DelegatedModuleFactoryPlugin = __webpack_require__(/*! ./DelegatedModuleFactoryPlugin */ \"./node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js\");\nconst DelegatedSourceDependency = __webpack_require__(/*! ./dependencies/DelegatedSourceDependency */ \"./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass DelegatedPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DelegatedPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tDelegatedSourceDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.hooks.compile.tap(\"DelegatedPlugin\", ({ normalModuleFactory }) => {\n\t\t\tnew DelegatedModuleFactoryPlugin({\n\t\t\t\tassociatedObjectForCache: compiler.root,\n\t\t\t\t...this.options\n\t\t\t}).apply(normalModuleFactory);\n\t\t});\n\t}\n}\n\nmodule.exports = DelegatedPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DelegatedPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DependenciesBlock.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/DependenciesBlock.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\n/** @typedef {(d: Dependency) => boolean} DependencyFilterFunction */\n\nclass DependenciesBlock {\n\tconstructor() {\n\t\t/** @type {Dependency[]} */\n\t\tthis.dependencies = [];\n\t\t/** @type {AsyncDependenciesBlock[]} */\n\t\tthis.blocks = [];\n\t\t/** @type {DependenciesBlock} */\n\t\tthis.parent = undefined;\n\t}\n\n\tgetRootBlock() {\n\t\t/** @type {DependenciesBlock} */\n\t\tlet current = this;\n\t\twhile (current.parent) current = current.parent;\n\t\treturn current;\n\t}\n\n\t/**\n\t * Adds a DependencyBlock to DependencyBlock relationship.\n\t * This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)\n\t *\n\t * @param {AsyncDependenciesBlock} block block being added\n\t * @returns {void}\n\t */\n\taddBlock(block) {\n\t\tthis.blocks.push(block);\n\t\tblock.parent = this;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency dependency being tied to block.\n\t * This is an \"edge\" pointing to another \"node\" on module graph.\n\t * @returns {void}\n\t */\n\taddDependency(dependency) {\n\t\tthis.dependencies.push(dependency);\n\t}\n\n\t/**\n\t * @param {Dependency} dependency dependency being removed\n\t * @returns {void}\n\t */\n\tremoveDependency(dependency) {\n\t\tconst idx = this.dependencies.indexOf(dependency);\n\t\tif (idx >= 0) {\n\t\t\tthis.dependencies.splice(idx, 1);\n\t\t}\n\t}\n\n\t/**\n\t * Removes all dependencies and blocks\n\t * @returns {void}\n\t */\n\tclearDependenciesAndBlocks() {\n\t\tthis.dependencies.length = 0;\n\t\tthis.blocks.length = 0;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tfor (const dep of this.dependencies) {\n\t\t\tdep.updateHash(hash, context);\n\t\t}\n\t\tfor (const block of this.blocks) {\n\t\t\tblock.updateHash(hash, context);\n\t\t}\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this.dependencies);\n\t\twrite(this.blocks);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis.dependencies = read();\n\t\tthis.blocks = read();\n\t\tfor (const block of this.blocks) {\n\t\t\tblock.parent = this;\n\t\t}\n\t}\n}\n\nmakeSerializable(DependenciesBlock, \"webpack/lib/DependenciesBlock\");\n\nmodule.exports = DependenciesBlock;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DependenciesBlock.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Dependency.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/Dependency.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"./ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} UpdateHashContext\n * @property {ChunkGraph} chunkGraph\n * @property {RuntimeSpec} runtime\n * @property {RuntimeTemplate=} runtimeTemplate\n */\n\n/**\n * @typedef {Object} SourcePosition\n * @property {number} line\n * @property {number=} column\n */\n\n/**\n * @typedef {Object} RealDependencyLocation\n * @property {SourcePosition} start\n * @property {SourcePosition=} end\n * @property {number=} index\n */\n\n/**\n * @typedef {Object} SyntheticDependencyLocation\n * @property {string} name\n * @property {number=} index\n */\n\n/** @typedef {SyntheticDependencyLocation|RealDependencyLocation} DependencyLocation */\n\n/**\n * @typedef {Object} ExportSpec\n * @property {string} name the name of the export\n * @property {boolean=} canMangle can the export be renamed (defaults to true)\n * @property {boolean=} terminalBinding is the export a terminal binding that should be checked for export star conflicts\n * @property {(string | ExportSpec)[]=} exports nested exports\n * @property {ModuleGraphConnection=} from when reexported: from which module\n * @property {string[] | null=} export when reexported: from which export\n * @property {number=} priority when reexported: with which priority\n * @property {boolean=} hidden export is not visible, because another export blends over it\n */\n\n/**\n * @typedef {Object} ExportsSpec\n * @property {(string | ExportSpec)[] | true | null} exports exported names, true for unknown exports or null for no exports\n * @property {Set<string>=} excludeExports when exports = true, list of unaffected exports\n * @property {Set<string>=} hideExports list of maybe prior exposed, but now hidden exports\n * @property {ModuleGraphConnection=} from when reexported: from which module\n * @property {number=} priority when reexported: with which priority\n * @property {boolean=} canMangle can the export be renamed (defaults to true)\n * @property {boolean=} terminalBinding are the exports terminal bindings that should be checked for export star conflicts\n * @property {Module[]=} dependencies module on which the result depends on\n */\n\n/**\n * @typedef {Object} ReferencedExport\n * @property {string[]} name name of the referenced export\n * @property {boolean=} canMangle when false, referenced export can not be mangled, defaults to true\n */\n\nconst TRANSITIVE = Symbol(\"transitive\");\n\nconst getIgnoredModule = memoize(() => {\n\tconst RawModule = __webpack_require__(/*! ./RawModule */ \"./node_modules/webpack/lib/RawModule.js\");\n\treturn new RawModule(\"/* (ignored) */\", `ignored`, `(ignored)`);\n});\n\nclass Dependency {\n\tconstructor() {\n\t\t/** @type {Module} */\n\t\tthis._parentModule = undefined;\n\t\t/** @type {DependenciesBlock} */\n\t\tthis._parentDependenciesBlock = undefined;\n\t\t/** @type {number} */\n\t\tthis._parentDependenciesBlockIndex = -1;\n\t\t// TODO check if this can be moved into ModuleDependency\n\t\t/** @type {boolean} */\n\t\tthis.weak = false;\n\t\t// TODO check if this can be moved into ModuleDependency\n\t\t/** @type {boolean} */\n\t\tthis.optional = false;\n\t\tthis._locSL = 0;\n\t\tthis._locSC = 0;\n\t\tthis._locEL = 0;\n\t\tthis._locEC = 0;\n\t\tthis._locI = undefined;\n\t\tthis._locN = undefined;\n\t\tthis._loc = undefined;\n\t}\n\n\t/**\n\t * @returns {string} a display name for the type of dependency\n\t */\n\tget type() {\n\t\treturn \"unknown\";\n\t}\n\n\t/**\n\t * @returns {string} a dependency category, typical categories are \"commonjs\", \"amd\", \"esm\"\n\t */\n\tget category() {\n\t\treturn \"unknown\";\n\t}\n\n\t/**\n\t * @returns {DependencyLocation} location\n\t */\n\tget loc() {\n\t\tif (this._loc !== undefined) return this._loc;\n\t\t/** @type {SyntheticDependencyLocation & RealDependencyLocation} */\n\t\tconst loc = {};\n\t\tif (this._locSL > 0) {\n\t\t\tloc.start = { line: this._locSL, column: this._locSC };\n\t\t}\n\t\tif (this._locEL > 0) {\n\t\t\tloc.end = { line: this._locEL, column: this._locEC };\n\t\t}\n\t\tif (this._locN !== undefined) {\n\t\t\tloc.name = this._locN;\n\t\t}\n\t\tif (this._locI !== undefined) {\n\t\t\tloc.index = this._locI;\n\t\t}\n\t\treturn (this._loc = loc);\n\t}\n\n\tset loc(loc) {\n\t\tif (\"start\" in loc && typeof loc.start === \"object\") {\n\t\t\tthis._locSL = loc.start.line || 0;\n\t\t\tthis._locSC = loc.start.column || 0;\n\t\t} else {\n\t\t\tthis._locSL = 0;\n\t\t\tthis._locSC = 0;\n\t\t}\n\t\tif (\"end\" in loc && typeof loc.end === \"object\") {\n\t\t\tthis._locEL = loc.end.line || 0;\n\t\t\tthis._locEC = loc.end.column || 0;\n\t\t} else {\n\t\t\tthis._locEL = 0;\n\t\t\tthis._locEC = 0;\n\t\t}\n\t\tif (\"index\" in loc) {\n\t\t\tthis._locI = loc.index;\n\t\t} else {\n\t\t\tthis._locI = undefined;\n\t\t}\n\t\tif (\"name\" in loc) {\n\t\t\tthis._locN = loc.name;\n\t\t} else {\n\t\t\tthis._locN = undefined;\n\t\t}\n\t\tthis._loc = loc;\n\t}\n\n\tsetLoc(startLine, startColumn, endLine, endColumn) {\n\t\tthis._locSL = startLine;\n\t\tthis._locSC = startColumn;\n\t\tthis._locEL = endLine;\n\t\tthis._locEC = endColumn;\n\t\tthis._locI = undefined;\n\t\tthis._locN = undefined;\n\t\tthis._loc = undefined;\n\t}\n\n\t/**\n\t * @returns {string | undefined} a request context\n\t */\n\tgetContext() {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn null;\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn TRANSITIVE;\n\t}\n\n\t/**\n\t * Returns the referenced module and export\n\t * @deprecated\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {never} throws error\n\t */\n\tgetReference(moduleGraph) {\n\t\tthrow new Error(\n\t\t\t\"Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active\"\n\t\t);\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn null;\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * Returns warnings\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} warnings\n\t */\n\tgetWarnings(moduleGraph) {\n\t\treturn null;\n\t}\n\n\t/**\n\t * Returns errors\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} errors\n\t */\n\tgetErrors(moduleGraph) {\n\t\treturn null;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {}\n\n\t/**\n\t * implement this method to allow the occurrence order plugin to count correctly\n\t * @returns {number} count how often the id is used in this dependency\n\t */\n\tgetNumberOfIdOccurrences() {\n\t\treturn 1;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @returns {Module} a module\n\t */\n\tcreateIgnoredModule(context) {\n\t\treturn getIgnoredModule();\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this.weak);\n\t\twrite(this.optional);\n\t\twrite(this._locSL);\n\t\twrite(this._locSC);\n\t\twrite(this._locEL);\n\t\twrite(this._locEC);\n\t\twrite(this._locI);\n\t\twrite(this._locN);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis.weak = read();\n\t\tthis.optional = read();\n\t\tthis._locSL = read();\n\t\tthis._locSC = read();\n\t\tthis._locEL = read();\n\t\tthis._locEC = read();\n\t\tthis._locI = read();\n\t\tthis._locN = read();\n\t}\n}\n\n/** @type {string[][]} */\nDependency.NO_EXPORTS_REFERENCED = [];\n/** @type {string[][]} */\nDependency.EXPORTS_OBJECT_REFERENCED = [[]];\n\nObject.defineProperty(Dependency.prototype, \"module\", {\n\t/**\n\t * @deprecated\n\t * @returns {never} throws\n\t */\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)\"\n\t\t);\n\t},\n\n\t/**\n\t * @deprecated\n\t * @returns {never} throws\n\t */\n\tset() {\n\t\tthrow new Error(\n\t\t\t\"module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)\"\n\t\t);\n\t}\n});\n\nObject.defineProperty(Dependency.prototype, \"disconnect\", {\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"disconnect was removed from Dependency (Dependency no longer carries graph specific information)\"\n\t\t);\n\t}\n});\n\nDependency.TRANSITIVE = TRANSITIVE;\n\nmodule.exports = Dependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Dependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DependencyTemplate.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/DependencyTemplate.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"./ConcatenationScope\")} ConcatenationScope */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Dependency\").RuntimeSpec} RuntimeSpec */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Generator\").GenerateContext} GenerateContext */\n/** @template T @typedef {import(\"./InitFragment\")<T>} InitFragment */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n\n/**\n * @typedef {Object} DependencyTemplateContext\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {Set<string>} runtimeRequirements the requirements for runtime\n * @property {Module} module current module\n * @property {RuntimeSpec} runtime current runtimes, for which code is generated\n * @property {InitFragment<GenerateContext>[]} initFragments mutable array of init fragments for the current module\n * @property {ConcatenationScope=} concatenationScope when in a concatenated module, information about other concatenated modules\n * @property {CodeGenerationResults} codeGenerationResults the code generation results\n */\n\n/**\n * @typedef {Object} CssDependencyTemplateContextExtras\n * @property {Map<string, string>} cssExports the css exports\n */\n\n/** @typedef {DependencyTemplateContext & CssDependencyTemplateContextExtras} CssDependencyTemplateContext */\n\nclass DependencyTemplate {\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n}\n\nmodule.exports = DependencyTemplate;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DependencyTemplate.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DependencyTemplates.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/DependencyTemplates.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\n\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./DependencyTemplate\")} DependencyTemplate */\n/** @typedef {typeof import(\"./util/Hash\")} Hash */\n\n/** @typedef {new (...args: any[]) => Dependency} DependencyConstructor */\n\nclass DependencyTemplates {\n\t/**\n\t * @param {string | Hash} hashFunction the hash function to use\n\t */\n\tconstructor(hashFunction = \"md4\") {\n\t\t/** @type {Map<Function, DependencyTemplate>} */\n\t\tthis._map = new Map();\n\t\t/** @type {string} */\n\t\tthis._hash = \"31d6cfe0d16ae931b73c59d7e0c089c0\";\n\t\tthis._hashFunction = hashFunction;\n\t}\n\n\t/**\n\t * @param {DependencyConstructor} dependency Constructor of Dependency\n\t * @returns {DependencyTemplate} template for this dependency\n\t */\n\tget(dependency) {\n\t\treturn this._map.get(dependency);\n\t}\n\n\t/**\n\t * @param {DependencyConstructor} dependency Constructor of Dependency\n\t * @param {DependencyTemplate} dependencyTemplate template for this dependency\n\t * @returns {void}\n\t */\n\tset(dependency, dependencyTemplate) {\n\t\tthis._map.set(dependency, dependencyTemplate);\n\t}\n\n\t/**\n\t * @param {string} part additional hash contributor\n\t * @returns {void}\n\t */\n\tupdateHash(part) {\n\t\tconst hash = createHash(this._hashFunction);\n\t\thash.update(`${this._hash}${part}`);\n\t\tthis._hash = /** @type {string} */ (hash.digest(\"hex\"));\n\t}\n\n\tgetHash() {\n\t\treturn this._hash;\n\t}\n\n\tclone() {\n\t\tconst newInstance = new DependencyTemplates(this._hashFunction);\n\t\tnewInstance._map = new Map(this._map);\n\t\tnewInstance._hash = this._hash;\n\t\treturn newInstance;\n\t}\n}\n\nmodule.exports = DependencyTemplates;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DependencyTemplates.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DllEntryPlugin.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/DllEntryPlugin.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DllModuleFactory = __webpack_require__(/*! ./DllModuleFactory */ \"./node_modules/webpack/lib/DllModuleFactory.js\");\nconst DllEntryDependency = __webpack_require__(/*! ./dependencies/DllEntryDependency */ \"./node_modules/webpack/lib/dependencies/DllEntryDependency.js\");\nconst EntryDependency = __webpack_require__(/*! ./dependencies/EntryDependency */ \"./node_modules/webpack/lib/dependencies/EntryDependency.js\");\n\nclass DllEntryPlugin {\n\tconstructor(context, entries, options) {\n\t\tthis.context = context;\n\t\tthis.entries = entries;\n\t\tthis.options = options;\n\t}\n\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DllEntryPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst dllModuleFactory = new DllModuleFactory();\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tDllEntryDependency,\n\t\t\t\t\tdllModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tEntryDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.make.tapAsync(\"DllEntryPlugin\", (compilation, callback) => {\n\t\t\tcompilation.addEntry(\n\t\t\t\tthis.context,\n\t\t\t\tnew DllEntryDependency(\n\t\t\t\t\tthis.entries.map((e, idx) => {\n\t\t\t\t\t\tconst dep = new EntryDependency(e);\n\t\t\t\t\t\tdep.loc = {\n\t\t\t\t\t\t\tname: this.options.name,\n\t\t\t\t\t\t\tindex: idx\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn dep;\n\t\t\t\t\t}),\n\t\t\t\t\tthis.options.name\n\t\t\t\t),\n\t\t\t\tthis.options,\n\t\t\t\tcallback\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = DllEntryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DllEntryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DllModule.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/DllModule.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./Module\").SourceContext} SourceContext */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"javascript\"]);\nconst RUNTIME_REQUIREMENTS = new Set([\n\tRuntimeGlobals.require,\n\tRuntimeGlobals.module\n]);\n\nclass DllModule extends Module {\n\tconstructor(context, dependencies, name) {\n\t\tsuper(\"javascript/dynamic\", context);\n\n\t\t// Info from Factory\n\t\tthis.dependencies = dependencies;\n\t\tthis.name = name;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `dll ${this.name}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `dll ${this.name}`;\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {};\n\t\treturn callback();\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\tconst sources = new Map();\n\t\tsources.set(\n\t\t\t\"javascript\",\n\t\t\tnew RawSource(\"module.exports = __webpack_require__;\")\n\t\t);\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements: RUNTIME_REQUIREMENTS\n\t\t};\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 12;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(`dll module${this.name || \"\"}`);\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tcontext.write(this.name);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tthis.name = context.read();\n\t\tsuper.deserialize(context);\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tsuper.updateCacheModule(module);\n\t\tthis.dependencies = module.dependencies;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Remove internal references to allow freeing some memory.\n\t */\n\tcleanupForCache() {\n\t\tsuper.cleanupForCache();\n\t\tthis.dependencies = undefined;\n\t}\n}\n\nmakeSerializable(DllModule, \"webpack/lib/DllModule\");\n\nmodule.exports = DllModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DllModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DllModuleFactory.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/DllModuleFactory.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DllModule = __webpack_require__(/*! ./DllModule */ \"./node_modules/webpack/lib/DllModule.js\");\nconst ModuleFactory = __webpack_require__(/*! ./ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\n\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./dependencies/DllEntryDependency\")} DllEntryDependency */\n\nclass DllModuleFactory extends ModuleFactory {\n\tconstructor() {\n\t\tsuper();\n\t\tthis.hooks = Object.freeze({});\n\t}\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst dependency = /** @type {DllEntryDependency} */ (data.dependencies[0]);\n\t\tcallback(null, {\n\t\t\tmodule: new DllModule(\n\t\t\t\tdata.context,\n\t\t\t\tdependency.dependencies,\n\t\t\t\tdependency.name\n\t\t\t)\n\t\t});\n\t}\n}\n\nmodule.exports = DllModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DllModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DllPlugin.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/DllPlugin.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DllEntryPlugin = __webpack_require__(/*! ./DllEntryPlugin */ \"./node_modules/webpack/lib/DllEntryPlugin.js\");\nconst FlagAllModulesAsUsedPlugin = __webpack_require__(/*! ./FlagAllModulesAsUsedPlugin */ \"./node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js\");\nconst LibManifestPlugin = __webpack_require__(/*! ./LibManifestPlugin */ \"./node_modules/webpack/lib/LibManifestPlugin.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../declarations/plugins/DllPlugin\").DllPluginOptions} DllPluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/DllPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/DllPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/DllPlugin.json */ \"./node_modules/webpack/schemas/plugins/DllPlugin.json\"),\n\t{\n\t\tname: \"Dll Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass DllPlugin {\n\t/**\n\t * @param {DllPluginOptions} options options object\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.options = {\n\t\t\t...options,\n\t\t\tentryOnly: options.entryOnly !== false\n\t\t};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.entryOption.tap(\"DllPlugin\", (context, entry) => {\n\t\t\tif (typeof entry !== \"function\") {\n\t\t\t\tfor (const name of Object.keys(entry)) {\n\t\t\t\t\tconst options = {\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tfilename: entry.filename\n\t\t\t\t\t};\n\t\t\t\t\tnew DllEntryPlugin(context, entry[name].import, options).apply(\n\t\t\t\t\t\tcompiler\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"DllPlugin doesn't support dynamic entry (function) yet\"\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\t\tnew LibManifestPlugin(this.options).apply(compiler);\n\t\tif (!this.options.entryOnly) {\n\t\t\tnew FlagAllModulesAsUsedPlugin(\"DllPlugin\").apply(compiler);\n\t\t}\n\t}\n}\n\nmodule.exports = DllPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DllPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DllReferencePlugin.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/DllReferencePlugin.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst parseJson = __webpack_require__(/*! json-parse-even-better-errors */ \"./node_modules/json-parse-even-better-errors/index.js\");\nconst DelegatedModuleFactoryPlugin = __webpack_require__(/*! ./DelegatedModuleFactoryPlugin */ \"./node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js\");\nconst ExternalModuleFactoryPlugin = __webpack_require__(/*! ./ExternalModuleFactoryPlugin */ \"./node_modules/webpack/lib/ExternalModuleFactoryPlugin.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst DelegatedSourceDependency = __webpack_require__(/*! ./dependencies/DelegatedSourceDependency */ \"./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst makePathsRelative = (__webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\").makePathsRelative);\n\n/** @typedef {import(\"../declarations/WebpackOptions\").Externals} Externals */\n/** @typedef {import(\"../declarations/plugins/DllReferencePlugin\").DllReferencePluginOptions} DllReferencePluginOptions */\n/** @typedef {import(\"../declarations/plugins/DllReferencePlugin\").DllReferencePluginOptionsManifest} DllReferencePluginOptionsManifest */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/DllReferencePlugin.check.js */ \"./node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/DllReferencePlugin.json */ \"./node_modules/webpack/schemas/plugins/DllReferencePlugin.json\"),\n\t{\n\t\tname: \"Dll Reference Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass DllReferencePlugin {\n\t/**\n\t * @param {DllReferencePluginOptions} options options object\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\t\t/** @type {WeakMap<Object, {path: string, data: DllReferencePluginOptionsManifest?, error: Error?}>} */\n\t\tthis._compilationData = new WeakMap();\n\t}\n\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DllReferencePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tDelegatedSourceDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.hooks.beforeCompile.tapAsync(\n\t\t\t\"DllReferencePlugin\",\n\t\t\t(params, callback) => {\n\t\t\t\tif (\"manifest\" in this.options) {\n\t\t\t\t\tconst manifest = this.options.manifest;\n\t\t\t\t\tif (typeof manifest === \"string\") {\n\t\t\t\t\t\tcompiler.inputFileSystem.readFile(manifest, (err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\tpath: manifest,\n\t\t\t\t\t\t\t\tdata: undefined,\n\t\t\t\t\t\t\t\terror: undefined\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t// Catch errors parsing the manifest so that blank\n\t\t\t\t\t\t\t// or malformed manifest files don't kill the process.\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tdata.data = parseJson(result.toString(\"utf-8\"));\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t// Store the error in the params so that it can\n\t\t\t\t\t\t\t\t// be added as a compilation error later on.\n\t\t\t\t\t\t\t\tconst manifestPath = makePathsRelative(\n\t\t\t\t\t\t\t\t\tcompiler.options.context,\n\t\t\t\t\t\t\t\t\tmanifest,\n\t\t\t\t\t\t\t\t\tcompiler.root\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdata.error = new DllManifestError(manifestPath, e.message);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis._compilationData.set(params, data);\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn callback();\n\t\t\t}\n\t\t);\n\n\t\tcompiler.hooks.compile.tap(\"DllReferencePlugin\", params => {\n\t\t\tlet name = this.options.name;\n\t\t\tlet sourceType = this.options.sourceType;\n\t\t\tlet content =\n\t\t\t\t\"content\" in this.options ? this.options.content : undefined;\n\t\t\tif (\"manifest\" in this.options) {\n\t\t\t\tlet manifestParameter = this.options.manifest;\n\t\t\t\tlet manifest;\n\t\t\t\tif (typeof manifestParameter === \"string\") {\n\t\t\t\t\tconst data = this._compilationData.get(params);\n\t\t\t\t\t// If there was an error parsing the manifest\n\t\t\t\t\t// file, exit now because the error will be added\n\t\t\t\t\t// as a compilation error in the \"compilation\" hook.\n\t\t\t\t\tif (data.error) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tmanifest = data.data;\n\t\t\t\t} else {\n\t\t\t\t\tmanifest = manifestParameter;\n\t\t\t\t}\n\t\t\t\tif (manifest) {\n\t\t\t\t\tif (!name) name = manifest.name;\n\t\t\t\t\tif (!sourceType) sourceType = manifest.type;\n\t\t\t\t\tif (!content) content = manifest.content;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/** @type {Externals} */\n\t\t\tconst externals = {};\n\t\t\tconst source = \"dll-reference \" + name;\n\t\t\texternals[source] = name;\n\t\t\tconst normalModuleFactory = params.normalModuleFactory;\n\t\t\tnew ExternalModuleFactoryPlugin(sourceType || \"var\", externals).apply(\n\t\t\t\tnormalModuleFactory\n\t\t\t);\n\t\t\tnew DelegatedModuleFactoryPlugin({\n\t\t\t\tsource: source,\n\t\t\t\ttype: this.options.type,\n\t\t\t\tscope: this.options.scope,\n\t\t\t\tcontext: this.options.context || compiler.options.context,\n\t\t\t\tcontent,\n\t\t\t\textensions: this.options.extensions,\n\t\t\t\tassociatedObjectForCache: compiler.root\n\t\t\t}).apply(normalModuleFactory);\n\t\t});\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DllReferencePlugin\",\n\t\t\t(compilation, params) => {\n\t\t\t\tif (\"manifest\" in this.options) {\n\t\t\t\t\tlet manifest = this.options.manifest;\n\t\t\t\t\tif (typeof manifest === \"string\") {\n\t\t\t\t\t\tconst data = this._compilationData.get(params);\n\t\t\t\t\t\t// If there was an error parsing the manifest file, add the\n\t\t\t\t\t\t// error as a compilation error to make the compilation fail.\n\t\t\t\t\t\tif (data.error) {\n\t\t\t\t\t\t\tcompilation.errors.push(data.error);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcompilation.fileDependencies.add(manifest);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nclass DllManifestError extends WebpackError {\n\tconstructor(filename, message) {\n\t\tsuper();\n\n\t\tthis.name = \"DllManifestError\";\n\t\tthis.message = `Dll manifest ${filename}\\n${message}`;\n\t}\n}\n\nmodule.exports = DllReferencePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DllReferencePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/DynamicEntryPlugin.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/DynamicEntryPlugin.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Naoyuki Kanezawa @nkzawa\n*/\n\n\n\nconst EntryOptionPlugin = __webpack_require__(/*! ./EntryOptionPlugin */ \"./node_modules/webpack/lib/EntryOptionPlugin.js\");\nconst EntryPlugin = __webpack_require__(/*! ./EntryPlugin */ \"./node_modules/webpack/lib/EntryPlugin.js\");\nconst EntryDependency = __webpack_require__(/*! ./dependencies/EntryDependency */ \"./node_modules/webpack/lib/dependencies/EntryDependency.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryDynamicNormalized} EntryDynamic */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryItem} EntryItem */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryStaticNormalized} EntryStatic */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass DynamicEntryPlugin {\n\t/**\n\t * @param {string} context the context path\n\t * @param {EntryDynamic} entry the entry value\n\t */\n\tconstructor(context, entry) {\n\t\tthis.context = context;\n\t\tthis.entry = entry;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DynamicEntryPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tEntryDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.hooks.make.tapPromise(\n\t\t\t\"DynamicEntryPlugin\",\n\t\t\t(compilation, callback) =>\n\t\t\t\tPromise.resolve(this.entry())\n\t\t\t\t\t.then(entry => {\n\t\t\t\t\t\tconst promises = [];\n\t\t\t\t\t\tfor (const name of Object.keys(entry)) {\n\t\t\t\t\t\t\tconst desc = entry[name];\n\t\t\t\t\t\t\tconst options = EntryOptionPlugin.entryDescriptionToOptions(\n\t\t\t\t\t\t\t\tcompiler,\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\tdesc\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tfor (const entry of desc.import) {\n\t\t\t\t\t\t\t\tpromises.push(\n\t\t\t\t\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\t\t\t\t\tcompilation.addEntry(\n\t\t\t\t\t\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\t\t\t\t\t\tEntryPlugin.createDependency(entry, options),\n\t\t\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) return reject(err);\n\t\t\t\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn Promise.all(promises);\n\t\t\t\t\t})\n\t\t\t\t\t.then(x => {})\n\t\t);\n\t}\n}\n\nmodule.exports = DynamicEntryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/DynamicEntryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/EntryOptionPlugin.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/EntryOptionPlugin.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryDescriptionNormalized} EntryDescription */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryNormalized} Entry */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Entrypoint\").EntryOptions} EntryOptions */\n\nclass EntryOptionPlugin {\n\t/**\n\t * @param {Compiler} compiler the compiler instance one is tapping into\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.entryOption.tap(\"EntryOptionPlugin\", (context, entry) => {\n\t\t\tEntryOptionPlugin.applyEntryOption(compiler, context, entry);\n\t\t\treturn true;\n\t\t});\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @param {string} context context directory\n\t * @param {Entry} entry request\n\t * @returns {void}\n\t */\n\tstatic applyEntryOption(compiler, context, entry) {\n\t\tif (typeof entry === \"function\") {\n\t\t\tconst DynamicEntryPlugin = __webpack_require__(/*! ./DynamicEntryPlugin */ \"./node_modules/webpack/lib/DynamicEntryPlugin.js\");\n\t\t\tnew DynamicEntryPlugin(context, entry).apply(compiler);\n\t\t} else {\n\t\t\tconst EntryPlugin = __webpack_require__(/*! ./EntryPlugin */ \"./node_modules/webpack/lib/EntryPlugin.js\");\n\t\t\tfor (const name of Object.keys(entry)) {\n\t\t\t\tconst desc = entry[name];\n\t\t\t\tconst options = EntryOptionPlugin.entryDescriptionToOptions(\n\t\t\t\t\tcompiler,\n\t\t\t\t\tname,\n\t\t\t\t\tdesc\n\t\t\t\t);\n\t\t\t\tfor (const entry of desc.import) {\n\t\t\t\t\tnew EntryPlugin(context, entry, options).apply(compiler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @param {string} name entry name\n\t * @param {EntryDescription} desc entry description\n\t * @returns {EntryOptions} options for the entry\n\t */\n\tstatic entryDescriptionToOptions(compiler, name, desc) {\n\t\t/** @type {EntryOptions} */\n\t\tconst options = {\n\t\t\tname,\n\t\t\tfilename: desc.filename,\n\t\t\truntime: desc.runtime,\n\t\t\tlayer: desc.layer,\n\t\t\tdependOn: desc.dependOn,\n\t\t\tbaseUri: desc.baseUri,\n\t\t\tpublicPath: desc.publicPath,\n\t\t\tchunkLoading: desc.chunkLoading,\n\t\t\tasyncChunks: desc.asyncChunks,\n\t\t\twasmLoading: desc.wasmLoading,\n\t\t\tlibrary: desc.library\n\t\t};\n\t\tif (desc.layer !== undefined && !compiler.options.experiments.layers) {\n\t\t\tthrow new Error(\n\t\t\t\t\"'entryOptions.layer' is only allowed when 'experiments.layers' is enabled\"\n\t\t\t);\n\t\t}\n\t\tif (desc.chunkLoading) {\n\t\t\tconst EnableChunkLoadingPlugin = __webpack_require__(/*! ./javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\n\t\t\tEnableChunkLoadingPlugin.checkEnabled(compiler, desc.chunkLoading);\n\t\t}\n\t\tif (desc.wasmLoading) {\n\t\t\tconst EnableWasmLoadingPlugin = __webpack_require__(/*! ./wasm/EnableWasmLoadingPlugin */ \"./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js\");\n\t\t\tEnableWasmLoadingPlugin.checkEnabled(compiler, desc.wasmLoading);\n\t\t}\n\t\tif (desc.library) {\n\t\t\tconst EnableLibraryPlugin = __webpack_require__(/*! ./library/EnableLibraryPlugin */ \"./node_modules/webpack/lib/library/EnableLibraryPlugin.js\");\n\t\t\tEnableLibraryPlugin.checkEnabled(compiler, desc.library.type);\n\t\t}\n\t\treturn options;\n\t}\n}\n\nmodule.exports = EntryOptionPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/EntryOptionPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/EntryPlugin.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/EntryPlugin.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst EntryDependency = __webpack_require__(/*! ./dependencies/EntryDependency */ \"./node_modules/webpack/lib/dependencies/EntryDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Entrypoint\").EntryOptions} EntryOptions */\n\nclass EntryPlugin {\n\t/**\n\t * An entry plugin which will handle\n\t * creation of the EntryDependency\n\t *\n\t * @param {string} context context path\n\t * @param {string} entry entry path\n\t * @param {EntryOptions | string=} options entry options (passing a string is deprecated)\n\t */\n\tconstructor(context, entry, options) {\n\t\tthis.context = context;\n\t\tthis.entry = entry;\n\t\tthis.options = options || \"\";\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"EntryPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tEntryDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tconst { entry, options, context } = this;\n\t\tconst dep = EntryPlugin.createDependency(entry, options);\n\n\t\tcompiler.hooks.make.tapAsync(\"EntryPlugin\", (compilation, callback) => {\n\t\t\tcompilation.addEntry(context, dep, options, err => {\n\t\t\t\tcallback(err);\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} entry entry request\n\t * @param {EntryOptions | string} options entry options (passing string is deprecated)\n\t * @returns {EntryDependency} the dependency\n\t */\n\tstatic createDependency(entry, options) {\n\t\tconst dep = new EntryDependency(entry);\n\t\t// TODO webpack 6 remove string option\n\t\tdep.loc = { name: typeof options === \"object\" ? options.name : options };\n\t\treturn dep;\n\t}\n}\n\nmodule.exports = EntryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/EntryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Entrypoint.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/Entrypoint.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ChunkGroup = __webpack_require__(/*! ./ChunkGroup */ \"./node_modules/webpack/lib/ChunkGroup.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryDescriptionNormalized} EntryDescription */\n/** @typedef {import(\"./Chunk\")} Chunk */\n\n/** @typedef {{ name?: string } & Omit<EntryDescription, \"import\">} EntryOptions */\n\n/**\n * Entrypoint serves as an encapsulation primitive for chunks that are\n * a part of a single ChunkGroup. They represent all bundles that need to be loaded for a\n * single instance of a page. Multi-page application architectures will typically yield multiple Entrypoint objects\n * inside of the compilation, whereas a Single Page App may only contain one with many lazy-loaded chunks.\n */\nclass Entrypoint extends ChunkGroup {\n\t/**\n\t * Creates an instance of Entrypoint.\n\t * @param {EntryOptions | string} entryOptions the options for the entrypoint (or name)\n\t * @param {boolean=} initial false, when the entrypoint is not initial loaded\n\t */\n\tconstructor(entryOptions, initial = true) {\n\t\tif (typeof entryOptions === \"string\") {\n\t\t\tentryOptions = { name: entryOptions };\n\t\t}\n\t\tsuper({\n\t\t\tname: entryOptions.name\n\t\t});\n\t\tthis.options = entryOptions;\n\t\t/** @type {Chunk=} */\n\t\tthis._runtimeChunk = undefined;\n\t\t/** @type {Chunk=} */\n\t\tthis._entrypointChunk = undefined;\n\t\t/** @type {boolean} */\n\t\tthis._initial = initial;\n\t}\n\n\t/**\n\t * @returns {boolean} true, when this chunk group will be loaded on initial page load\n\t */\n\tisInitial() {\n\t\treturn this._initial;\n\t}\n\n\t/**\n\t * Sets the runtimeChunk for an entrypoint.\n\t * @param {Chunk} chunk the chunk being set as the runtime chunk.\n\t * @returns {void}\n\t */\n\tsetRuntimeChunk(chunk) {\n\t\tthis._runtimeChunk = chunk;\n\t}\n\n\t/**\n\t * Fetches the chunk reference containing the webpack bootstrap code\n\t * @returns {Chunk | null} returns the runtime chunk or null if there is none\n\t */\n\tgetRuntimeChunk() {\n\t\tif (this._runtimeChunk) return this._runtimeChunk;\n\t\tfor (const parent of this.parentsIterable) {\n\t\t\tif (parent instanceof Entrypoint) return parent.getRuntimeChunk();\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * Sets the chunk with the entrypoint modules for an entrypoint.\n\t * @param {Chunk} chunk the chunk being set as the entrypoint chunk.\n\t * @returns {void}\n\t */\n\tsetEntrypointChunk(chunk) {\n\t\tthis._entrypointChunk = chunk;\n\t}\n\n\t/**\n\t * Returns the chunk which contains the entrypoint modules\n\t * (or at least the execution of them)\n\t * @returns {Chunk} chunk\n\t */\n\tgetEntrypointChunk() {\n\t\treturn this._entrypointChunk;\n\t}\n\n\t/**\n\t * @param {Chunk} oldChunk chunk to be replaced\n\t * @param {Chunk} newChunk New chunk that will be replaced with\n\t * @returns {boolean} returns true if the replacement was successful\n\t */\n\treplaceChunk(oldChunk, newChunk) {\n\t\tif (this._runtimeChunk === oldChunk) this._runtimeChunk = newChunk;\n\t\tif (this._entrypointChunk === oldChunk) this._entrypointChunk = newChunk;\n\t\treturn super.replaceChunk(oldChunk, newChunk);\n\t}\n}\n\nmodule.exports = Entrypoint;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Entrypoint.js?"); /***/ }), /***/ "./node_modules/webpack/lib/EnvironmentPlugin.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/EnvironmentPlugin.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthors Simen Brekken @simenbrekken, Einar Löve @einarlove\n*/\n\n\n\nconst DefinePlugin = __webpack_require__(/*! ./DefinePlugin */ \"./node_modules/webpack/lib/DefinePlugin.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./DefinePlugin\").CodeValue} CodeValue */\n\nclass EnvironmentPlugin {\n\tconstructor(...keys) {\n\t\tif (keys.length === 1 && Array.isArray(keys[0])) {\n\t\t\tthis.keys = keys[0];\n\t\t\tthis.defaultValues = {};\n\t\t} else if (keys.length === 1 && keys[0] && typeof keys[0] === \"object\") {\n\t\t\tthis.keys = Object.keys(keys[0]);\n\t\t\tthis.defaultValues = keys[0];\n\t\t} else {\n\t\t\tthis.keys = keys;\n\t\t\tthis.defaultValues = {};\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\t/** @type {Record<string, CodeValue>} */\n\t\tconst definitions = {};\n\t\tfor (const key of this.keys) {\n\t\t\tconst value =\n\t\t\t\tprocess.env[key] !== undefined\n\t\t\t\t\t? process.env[key]\n\t\t\t\t\t: this.defaultValues[key];\n\n\t\t\tif (value === undefined) {\n\t\t\t\tcompiler.hooks.thisCompilation.tap(\"EnvironmentPlugin\", compilation => {\n\t\t\t\t\tconst error = new WebpackError(\n\t\t\t\t\t\t`EnvironmentPlugin - ${key} environment variable is undefined.\\n\\n` +\n\t\t\t\t\t\t\t\"You can pass an object with default values to suppress this warning.\\n\" +\n\t\t\t\t\t\t\t\"See https://webpack.js.org/plugins/environment-plugin for example.\"\n\t\t\t\t\t);\n\n\t\t\t\t\terror.name = \"EnvVariableNotDefinedError\";\n\t\t\t\t\tcompilation.errors.push(error);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tdefinitions[`process.env.${key}`] =\n\t\t\t\tvalue === undefined ? \"undefined\" : JSON.stringify(value);\n\t\t}\n\n\t\tnew DefinePlugin(definitions).apply(compiler);\n\t}\n}\n\nmodule.exports = EnvironmentPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/EnvironmentPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ErrorHelpers.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/ErrorHelpers.js ***! \**************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst loaderFlag = \"LOADER_EXECUTION\";\n\nconst webpackOptionsFlag = \"WEBPACK_OPTIONS\";\n\nexports.cutOffByFlag = (stack, flag) => {\n\tstack = stack.split(\"\\n\");\n\tfor (let i = 0; i < stack.length; i++) {\n\t\tif (stack[i].includes(flag)) {\n\t\t\tstack.length = i;\n\t\t}\n\t}\n\treturn stack.join(\"\\n\");\n};\n\nexports.cutOffLoaderExecution = stack =>\n\texports.cutOffByFlag(stack, loaderFlag);\n\nexports.cutOffWebpackOptions = stack =>\n\texports.cutOffByFlag(stack, webpackOptionsFlag);\n\nexports.cutOffMultilineMessage = (stack, message) => {\n\tstack = stack.split(\"\\n\");\n\tmessage = message.split(\"\\n\");\n\n\tconst result = [];\n\n\tstack.forEach((line, idx) => {\n\t\tif (!line.includes(message[idx])) result.push(line);\n\t});\n\n\treturn result.join(\"\\n\");\n};\n\nexports.cutOffMessage = (stack, message) => {\n\tconst nextLine = stack.indexOf(\"\\n\");\n\tif (nextLine === -1) {\n\t\treturn stack === message ? \"\" : stack;\n\t} else {\n\t\tconst firstLine = stack.slice(0, nextLine);\n\t\treturn firstLine === message ? stack.slice(nextLine + 1) : stack;\n\t}\n};\n\nexports.cleanUp = (stack, message) => {\n\tstack = exports.cutOffLoaderExecution(stack);\n\tstack = exports.cutOffMessage(stack, message);\n\treturn stack;\n};\n\nexports.cleanUpWebpackOptions = (stack, message) => {\n\tstack = exports.cutOffWebpackOptions(stack);\n\tstack = exports.cutOffMultilineMessage(stack, message);\n\treturn stack;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ErrorHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/EvalDevToolModulePlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/EvalDevToolModulePlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ExternalModule = __webpack_require__(/*! ./ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\nconst ModuleFilenameHelpers = __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\n/** @type {WeakMap<Source, Source>} */\nconst cache = new WeakMap();\n\nconst devtoolWarning = new RawSource(`/*\n * ATTENTION: The \"eval\" devtool has been used (maybe by default in mode: \"development\").\n * This devtool is neither made for production nor for readable output files.\n * It uses \"eval()\" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with \"devtool: false\".\n * If you are looking for production-ready output files, see mode: \"production\" (https://webpack.js.org/configuration/mode/).\n */\n`);\n\nclass EvalDevToolModulePlugin {\n\tconstructor(options) {\n\t\tthis.namespace = options.namespace || \"\";\n\t\tthis.sourceUrlComment = options.sourceUrlComment || \"\\n//# sourceURL=[url]\";\n\t\tthis.moduleFilenameTemplate =\n\t\t\toptions.moduleFilenameTemplate ||\n\t\t\t\"webpack://[namespace]/[resourcePath]?[loaders]\";\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"EvalDevToolModulePlugin\", compilation => {\n\t\t\tconst hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);\n\t\t\thooks.renderModuleContent.tap(\n\t\t\t\t\"EvalDevToolModulePlugin\",\n\t\t\t\t(source, module, { runtimeTemplate, chunkGraph }) => {\n\t\t\t\t\tconst cacheEntry = cache.get(source);\n\t\t\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\t\t\tif (module instanceof ExternalModule) {\n\t\t\t\t\t\tcache.set(source, source);\n\t\t\t\t\t\treturn source;\n\t\t\t\t\t}\n\t\t\t\t\tconst content = source.source();\n\t\t\t\t\tconst str = ModuleFilenameHelpers.createFilename(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmoduleFilenameTemplate: this.moduleFilenameTemplate,\n\t\t\t\t\t\t\tnamespace: this.namespace\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\trequestShortener: runtimeTemplate.requestShortener,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\thashFunction: compilation.outputOptions.hashFunction\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tconst footer =\n\t\t\t\t\t\t\"\\n\" +\n\t\t\t\t\t\tthis.sourceUrlComment.replace(\n\t\t\t\t\t\t\t/\\[url\\]/g,\n\t\t\t\t\t\t\tencodeURI(str)\n\t\t\t\t\t\t\t\t.replace(/%2F/g, \"/\")\n\t\t\t\t\t\t\t\t.replace(/%20/g, \"_\")\n\t\t\t\t\t\t\t\t.replace(/%5E/g, \"^\")\n\t\t\t\t\t\t\t\t.replace(/%5C/g, \"\\\\\")\n\t\t\t\t\t\t\t\t.replace(/^\\//, \"\")\n\t\t\t\t\t\t);\n\t\t\t\t\tconst result = new RawSource(\n\t\t\t\t\t\t`eval(${\n\t\t\t\t\t\t\tcompilation.outputOptions.trustedTypes\n\t\t\t\t\t\t\t\t? `${RuntimeGlobals.createScript}(${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\tcontent + footer\n\t\t\t\t\t\t\t\t )})`\n\t\t\t\t\t\t\t\t: JSON.stringify(content + footer)\n\t\t\t\t\t\t});`\n\t\t\t\t\t);\n\t\t\t\t\tcache.set(source, result);\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t);\n\t\t\thooks.inlineInRuntimeBailout.tap(\n\t\t\t\t\"EvalDevToolModulePlugin\",\n\t\t\t\t() => \"the eval devtool is used.\"\n\t\t\t);\n\t\t\thooks.render.tap(\n\t\t\t\t\"EvalDevToolModulePlugin\",\n\t\t\t\tsource => new ConcatSource(devtoolWarning, source)\n\t\t\t);\n\t\t\thooks.chunkHash.tap(\"EvalDevToolModulePlugin\", (chunk, hash) => {\n\t\t\t\thash.update(\"EvalDevToolModulePlugin\");\n\t\t\t\thash.update(\"2\");\n\t\t\t});\n\t\t\tif (compilation.outputOptions.trustedTypes) {\n\t\t\t\tcompilation.hooks.additionalModuleRuntimeRequirements.tap(\n\t\t\t\t\t\"EvalDevToolModulePlugin\",\n\t\t\t\t\t(module, set, context) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.createScript);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = EvalDevToolModulePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/EvalDevToolModulePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ModuleFilenameHelpers = __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst SourceMapDevToolModuleOptionsPlugin = __webpack_require__(/*! ./SourceMapDevToolModuleOptionsPlugin */ \"./node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst ConcatenatedModule = __webpack_require__(/*! ./optimize/ConcatenatedModule */ \"./node_modules/webpack/lib/optimize/ConcatenatedModule.js\");\nconst { makePathsAbsolute } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").DevTool} DevToolOptions */\n/** @typedef {import(\"../declarations/plugins/SourceMapDevToolPlugin\").SourceMapDevToolPluginOptions} SourceMapDevToolPluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./NormalModule\").SourceMap} SourceMap */\n\n/** @type {WeakMap<Source, Source>} */\nconst cache = new WeakMap();\n\nconst devtoolWarning = new RawSource(`/*\n * ATTENTION: An \"eval-source-map\" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses \"eval()\" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with \"devtool: false\".\n * If you are looking for production-ready output files, see mode: \"production\" (https://webpack.js.org/configuration/mode/).\n */\n`);\n\nclass EvalSourceMapDevToolPlugin {\n\t/**\n\t * @param {SourceMapDevToolPluginOptions|string} inputOptions Options object\n\t */\n\tconstructor(inputOptions) {\n\t\t/** @type {SourceMapDevToolPluginOptions} */\n\t\tlet options;\n\t\tif (typeof inputOptions === \"string\") {\n\t\t\toptions = {\n\t\t\t\tappend: inputOptions\n\t\t\t};\n\t\t} else {\n\t\t\toptions = inputOptions;\n\t\t}\n\t\tthis.sourceMapComment =\n\t\t\toptions.append || \"//# sourceURL=[module]\\n//# sourceMappingURL=[url]\";\n\t\tthis.moduleFilenameTemplate =\n\t\t\toptions.moduleFilenameTemplate ||\n\t\t\t\"webpack://[namespace]/[resource-path]?[hash]\";\n\t\tthis.namespace = options.namespace || \"\";\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"EvalSourceMapDevToolPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);\n\t\t\t\tnew SourceMapDevToolModuleOptionsPlugin(options).apply(compilation);\n\t\t\t\tconst matchModule = ModuleFilenameHelpers.matchObject.bind(\n\t\t\t\t\tModuleFilenameHelpers,\n\t\t\t\t\toptions\n\t\t\t\t);\n\t\t\t\thooks.renderModuleContent.tap(\n\t\t\t\t\t\"EvalSourceMapDevToolPlugin\",\n\t\t\t\t\t(source, m, { runtimeTemplate, chunkGraph }) => {\n\t\t\t\t\t\tconst cachedSource = cache.get(source);\n\t\t\t\t\t\tif (cachedSource !== undefined) {\n\t\t\t\t\t\t\treturn cachedSource;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst result = r => {\n\t\t\t\t\t\t\tcache.set(source, r);\n\t\t\t\t\t\t\treturn r;\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (m instanceof NormalModule) {\n\t\t\t\t\t\t\tconst module = /** @type {NormalModule} */ (m);\n\t\t\t\t\t\t\tif (!matchModule(module.resource)) {\n\t\t\t\t\t\t\t\treturn result(source);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (m instanceof ConcatenatedModule) {\n\t\t\t\t\t\t\tconst concatModule = /** @type {ConcatenatedModule} */ (m);\n\t\t\t\t\t\t\tif (concatModule.rootModule instanceof NormalModule) {\n\t\t\t\t\t\t\t\tconst module = /** @type {NormalModule} */ (\n\t\t\t\t\t\t\t\t\tconcatModule.rootModule\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!matchModule(module.resource)) {\n\t\t\t\t\t\t\t\t\treturn result(source);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn result(source);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn result(source);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/** @type {SourceMap} */\n\t\t\t\t\t\tlet sourceMap;\n\t\t\t\t\t\tlet content;\n\t\t\t\t\t\tif (source.sourceAndMap) {\n\t\t\t\t\t\t\tconst sourceAndMap = source.sourceAndMap(options);\n\t\t\t\t\t\t\tsourceMap = /** @type {SourceMap} */ (sourceAndMap.map);\n\t\t\t\t\t\t\tcontent = sourceAndMap.source;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsourceMap = /** @type {SourceMap} */ (source.map(options));\n\t\t\t\t\t\t\tcontent = source.source();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!sourceMap) {\n\t\t\t\t\t\t\treturn result(source);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Clone (flat) the sourcemap to ensure that the mutations below do not persist.\n\t\t\t\t\t\tsourceMap = { ...sourceMap };\n\t\t\t\t\t\tconst context = compiler.options.context;\n\t\t\t\t\t\tconst root = compiler.root;\n\t\t\t\t\t\tconst modules = sourceMap.sources.map(source => {\n\t\t\t\t\t\t\tif (!source.startsWith(\"webpack://\")) return source;\n\t\t\t\t\t\t\tsource = makePathsAbsolute(context, source.slice(10), root);\n\t\t\t\t\t\t\tconst module = compilation.findModule(source);\n\t\t\t\t\t\t\treturn module || source;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlet moduleFilenames = modules.map(module => {\n\t\t\t\t\t\t\treturn ModuleFilenameHelpers.createFilename(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tmoduleFilenameTemplate: this.moduleFilenameTemplate,\n\t\t\t\t\t\t\t\t\tnamespace: this.namespace\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trequestShortener: runtimeTemplate.requestShortener,\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\thashFunction: compilation.outputOptions.hashFunction\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tmoduleFilenames = ModuleFilenameHelpers.replaceDuplicates(\n\t\t\t\t\t\t\tmoduleFilenames,\n\t\t\t\t\t\t\t(filename, i, n) => {\n\t\t\t\t\t\t\t\tfor (let j = 0; j < n; j++) filename += \"*\";\n\t\t\t\t\t\t\t\treturn filename;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tsourceMap.sources = moduleFilenames;\n\t\t\t\t\t\tif (options.noSources) {\n\t\t\t\t\t\t\tsourceMap.sourcesContent = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsourceMap.sourceRoot = options.sourceRoot || \"\";\n\t\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(m);\n\t\t\t\t\t\tsourceMap.file = `${moduleId}.js`;\n\n\t\t\t\t\t\tconst footer =\n\t\t\t\t\t\t\tthis.sourceMapComment.replace(\n\t\t\t\t\t\t\t\t/\\[url\\]/g,\n\t\t\t\t\t\t\t\t`data:application/json;charset=utf-8;base64,${Buffer.from(\n\t\t\t\t\t\t\t\t\tJSON.stringify(sourceMap),\n\t\t\t\t\t\t\t\t\t\"utf8\"\n\t\t\t\t\t\t\t\t).toString(\"base64\")}`\n\t\t\t\t\t\t\t) + `\\n//# sourceURL=webpack-internal:///${moduleId}\\n`; // workaround for chrome bug\n\n\t\t\t\t\t\treturn result(\n\t\t\t\t\t\t\tnew RawSource(\n\t\t\t\t\t\t\t\t`eval(${\n\t\t\t\t\t\t\t\t\tcompilation.outputOptions.trustedTypes\n\t\t\t\t\t\t\t\t\t\t? `${RuntimeGlobals.createScript}(${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\tcontent + footer\n\t\t\t\t\t\t\t\t\t\t )})`\n\t\t\t\t\t\t\t\t\t\t: JSON.stringify(content + footer)\n\t\t\t\t\t\t\t\t});`\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\thooks.inlineInRuntimeBailout.tap(\n\t\t\t\t\t\"EvalDevToolModulePlugin\",\n\t\t\t\t\t() => \"the eval-source-map devtool is used.\"\n\t\t\t\t);\n\t\t\t\thooks.render.tap(\n\t\t\t\t\t\"EvalSourceMapDevToolPlugin\",\n\t\t\t\t\tsource => new ConcatSource(devtoolWarning, source)\n\t\t\t\t);\n\t\t\t\thooks.chunkHash.tap(\"EvalSourceMapDevToolPlugin\", (chunk, hash) => {\n\t\t\t\t\thash.update(\"EvalSourceMapDevToolPlugin\");\n\t\t\t\t\thash.update(\"2\");\n\t\t\t\t});\n\t\t\t\tif (compilation.outputOptions.trustedTypes) {\n\t\t\t\t\tcompilation.hooks.additionalModuleRuntimeRequirements.tap(\n\t\t\t\t\t\t\"EvalSourceMapDevToolPlugin\",\n\t\t\t\t\t\t(module, set, context) => {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.createScript);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = EvalSourceMapDevToolPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ExportsInfo.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/ExportsInfo.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { equals } = __webpack_require__(/*! ./util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst SortableSet = __webpack_require__(/*! ./util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst { forEachRuntime } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./Dependency\").RuntimeSpec} RuntimeSpec */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\n/** @typedef {typeof UsageState.OnlyPropertiesUsed | typeof UsageState.NoInfo | typeof UsageState.Unknown | typeof UsageState.Used} RuntimeUsageStateType */\n/** @typedef {typeof UsageState.Unused | RuntimeUsageStateType} UsageStateType */\n\nconst UsageState = Object.freeze({\n\tUnused: /** @type {0} */ (0),\n\tOnlyPropertiesUsed: /** @type {1} */ (1),\n\tNoInfo: /** @type {2} */ (2),\n\tUnknown: /** @type {3} */ (3),\n\tUsed: /** @type {4} */ (4)\n});\n\nconst RETURNS_TRUE = () => true;\n\nconst CIRCULAR = Symbol(\"circular target\");\n\nclass RestoreProvidedData {\n\tconstructor(\n\t\texports,\n\t\totherProvided,\n\t\totherCanMangleProvide,\n\t\totherTerminalBinding\n\t) {\n\t\tthis.exports = exports;\n\t\tthis.otherProvided = otherProvided;\n\t\tthis.otherCanMangleProvide = otherCanMangleProvide;\n\t\tthis.otherTerminalBinding = otherTerminalBinding;\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this.exports);\n\t\twrite(this.otherProvided);\n\t\twrite(this.otherCanMangleProvide);\n\t\twrite(this.otherTerminalBinding);\n\t}\n\n\tstatic deserialize({ read }) {\n\t\treturn new RestoreProvidedData(read(), read(), read(), read());\n\t}\n}\n\nmakeSerializable(\n\tRestoreProvidedData,\n\t\"webpack/lib/ModuleGraph\",\n\t\"RestoreProvidedData\"\n);\n\nclass ExportsInfo {\n\tconstructor() {\n\t\t/** @type {Map<string, ExportInfo>} */\n\t\tthis._exports = new Map();\n\t\tthis._otherExportsInfo = new ExportInfo(null);\n\t\tthis._sideEffectsOnlyInfo = new ExportInfo(\"*side effects only*\");\n\t\tthis._exportsAreOrdered = false;\n\t\t/** @type {ExportsInfo=} */\n\t\tthis._redirectTo = undefined;\n\t}\n\n\t/**\n\t * @returns {Iterable<ExportInfo>} all owned exports in any order\n\t */\n\tget ownedExports() {\n\t\treturn this._exports.values();\n\t}\n\n\t/**\n\t * @returns {Iterable<ExportInfo>} all owned exports in order\n\t */\n\tget orderedOwnedExports() {\n\t\tif (!this._exportsAreOrdered) {\n\t\t\tthis._sortExports();\n\t\t}\n\t\treturn this._exports.values();\n\t}\n\n\t/**\n\t * @returns {Iterable<ExportInfo>} all exports in any order\n\t */\n\tget exports() {\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tconst map = new Map(this._redirectTo._exports);\n\t\t\tfor (const [key, value] of this._exports) {\n\t\t\t\tmap.set(key, value);\n\t\t\t}\n\t\t\treturn map.values();\n\t\t}\n\t\treturn this._exports.values();\n\t}\n\n\t/**\n\t * @returns {Iterable<ExportInfo>} all exports in order\n\t */\n\tget orderedExports() {\n\t\tif (!this._exportsAreOrdered) {\n\t\t\tthis._sortExports();\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tconst map = new Map(\n\t\t\t\tArray.from(this._redirectTo.orderedExports, item => [item.name, item])\n\t\t\t);\n\t\t\tfor (const [key, value] of this._exports) {\n\t\t\t\tmap.set(key, value);\n\t\t\t}\n\t\t\t// sorting should be pretty fast as map contains\n\t\t\t// a lot of presorted items\n\t\t\tthis._sortExportsMap(map);\n\t\t\treturn map.values();\n\t\t}\n\t\treturn this._exports.values();\n\t}\n\n\t/**\n\t * @returns {ExportInfo} the export info of unlisted exports\n\t */\n\tget otherExportsInfo() {\n\t\tif (this._redirectTo !== undefined)\n\t\t\treturn this._redirectTo.otherExportsInfo;\n\t\treturn this._otherExportsInfo;\n\t}\n\n\t_sortExportsMap(exports) {\n\t\tif (exports.size > 1) {\n\t\t\tconst namesInOrder = [];\n\t\t\tfor (const entry of exports.values()) {\n\t\t\t\tnamesInOrder.push(entry.name);\n\t\t\t}\n\t\t\tnamesInOrder.sort();\n\t\t\tlet i = 0;\n\t\t\tfor (const entry of exports.values()) {\n\t\t\t\tconst name = namesInOrder[i];\n\t\t\t\tif (entry.name !== name) break;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (; i < namesInOrder.length; i++) {\n\t\t\t\tconst name = namesInOrder[i];\n\t\t\t\tconst correctEntry = exports.get(name);\n\t\t\t\texports.delete(name);\n\t\t\t\texports.set(name, correctEntry);\n\t\t\t}\n\t\t}\n\t}\n\n\t_sortExports() {\n\t\tthis._sortExportsMap(this._exports);\n\t\tthis._exportsAreOrdered = true;\n\t}\n\n\tsetRedirectNamedTo(exportsInfo) {\n\t\tif (this._redirectTo === exportsInfo) return false;\n\t\tthis._redirectTo = exportsInfo;\n\t\treturn true;\n\t}\n\n\tsetHasProvideInfo() {\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (exportInfo.provided === undefined) {\n\t\t\t\texportInfo.provided = false;\n\t\t\t}\n\t\t\tif (exportInfo.canMangleProvide === undefined) {\n\t\t\t\texportInfo.canMangleProvide = true;\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tthis._redirectTo.setHasProvideInfo();\n\t\t} else {\n\t\t\tif (this._otherExportsInfo.provided === undefined) {\n\t\t\t\tthis._otherExportsInfo.provided = false;\n\t\t\t}\n\t\t\tif (this._otherExportsInfo.canMangleProvide === undefined) {\n\t\t\t\tthis._otherExportsInfo.canMangleProvide = true;\n\t\t\t}\n\t\t}\n\t}\n\n\tsetHasUseInfo() {\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\texportInfo.setHasUseInfo();\n\t\t}\n\t\tthis._sideEffectsOnlyInfo.setHasUseInfo();\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tthis._redirectTo.setHasUseInfo();\n\t\t} else {\n\t\t\tthis._otherExportsInfo.setHasUseInfo();\n\t\t\tif (this._otherExportsInfo.canMangleUse === undefined) {\n\t\t\t\tthis._otherExportsInfo.canMangleUse = true;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} name export name\n\t * @returns {ExportInfo} export info for this name\n\t */\n\tgetOwnExportInfo(name) {\n\t\tconst info = this._exports.get(name);\n\t\tif (info !== undefined) return info;\n\t\tconst newInfo = new ExportInfo(name, this._otherExportsInfo);\n\t\tthis._exports.set(name, newInfo);\n\t\tthis._exportsAreOrdered = false;\n\t\treturn newInfo;\n\t}\n\n\t/**\n\t * @param {string} name export name\n\t * @returns {ExportInfo} export info for this name\n\t */\n\tgetExportInfo(name) {\n\t\tconst info = this._exports.get(name);\n\t\tif (info !== undefined) return info;\n\t\tif (this._redirectTo !== undefined)\n\t\t\treturn this._redirectTo.getExportInfo(name);\n\t\tconst newInfo = new ExportInfo(name, this._otherExportsInfo);\n\t\tthis._exports.set(name, newInfo);\n\t\tthis._exportsAreOrdered = false;\n\t\treturn newInfo;\n\t}\n\n\t/**\n\t * @param {string} name export name\n\t * @returns {ExportInfo} export info for this name\n\t */\n\tgetReadOnlyExportInfo(name) {\n\t\tconst info = this._exports.get(name);\n\t\tif (info !== undefined) return info;\n\t\tif (this._redirectTo !== undefined)\n\t\t\treturn this._redirectTo.getReadOnlyExportInfo(name);\n\t\treturn this._otherExportsInfo;\n\t}\n\n\t/**\n\t * @param {string[]} name export name\n\t * @returns {ExportInfo | undefined} export info for this name\n\t */\n\tgetReadOnlyExportInfoRecursive(name) {\n\t\tconst exportInfo = this.getReadOnlyExportInfo(name[0]);\n\t\tif (name.length === 1) return exportInfo;\n\t\tif (!exportInfo.exportsInfo) return undefined;\n\t\treturn exportInfo.exportsInfo.getReadOnlyExportInfoRecursive(name.slice(1));\n\t}\n\n\t/**\n\t * @param {string[]=} name the export name\n\t * @returns {ExportsInfo | undefined} the nested exports info\n\t */\n\tgetNestedExportsInfo(name) {\n\t\tif (Array.isArray(name) && name.length > 0) {\n\t\t\tconst info = this.getReadOnlyExportInfo(name[0]);\n\t\t\tif (!info.exportsInfo) return undefined;\n\t\t\treturn info.exportsInfo.getNestedExportsInfo(name.slice(1));\n\t\t}\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param {boolean=} canMangle true, if exports can still be mangled (defaults to false)\n\t * @param {Set<string>=} excludeExports list of unaffected exports\n\t * @param {any=} targetKey use this as key for the target\n\t * @param {ModuleGraphConnection=} targetModule set this module as target\n\t * @param {number=} priority priority\n\t * @returns {boolean} true, if this call changed something\n\t */\n\tsetUnknownExportsProvided(\n\t\tcanMangle,\n\t\texcludeExports,\n\t\ttargetKey,\n\t\ttargetModule,\n\t\tpriority\n\t) {\n\t\tlet changed = false;\n\t\tif (excludeExports) {\n\t\t\tfor (const name of excludeExports) {\n\t\t\t\t// Make sure these entries exist, so they can get different info\n\t\t\t\tthis.getExportInfo(name);\n\t\t\t}\n\t\t}\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (!canMangle && exportInfo.canMangleProvide !== false) {\n\t\t\t\texportInfo.canMangleProvide = false;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (excludeExports && excludeExports.has(exportInfo.name)) continue;\n\t\t\tif (exportInfo.provided !== true && exportInfo.provided !== null) {\n\t\t\t\texportInfo.provided = null;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (targetKey) {\n\t\t\t\texportInfo.setTarget(targetKey, targetModule, [exportInfo.name], -1);\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tif (\n\t\t\t\tthis._redirectTo.setUnknownExportsProvided(\n\t\t\t\t\tcanMangle,\n\t\t\t\t\texcludeExports,\n\t\t\t\t\ttargetKey,\n\t\t\t\t\ttargetModule,\n\t\t\t\t\tpriority\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t} else {\n\t\t\tif (\n\t\t\t\tthis._otherExportsInfo.provided !== true &&\n\t\t\t\tthis._otherExportsInfo.provided !== null\n\t\t\t) {\n\t\t\t\tthis._otherExportsInfo.provided = null;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (!canMangle && this._otherExportsInfo.canMangleProvide !== false) {\n\t\t\t\tthis._otherExportsInfo.canMangleProvide = false;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (targetKey) {\n\t\t\t\tthis._otherExportsInfo.setTarget(\n\t\t\t\t\ttargetKey,\n\t\t\t\t\ttargetModule,\n\t\t\t\t\tundefined,\n\t\t\t\t\tpriority\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn changed;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetUsedInUnknownWay(runtime) {\n\t\tlet changed = false;\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (exportInfo.setUsedInUnknownWay(runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tif (this._redirectTo.setUsedInUnknownWay(runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t} else {\n\t\t\tif (\n\t\t\t\tthis._otherExportsInfo.setUsedConditionally(\n\t\t\t\t\tused => used < UsageState.Unknown,\n\t\t\t\t\tUsageState.Unknown,\n\t\t\t\t\truntime\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (this._otherExportsInfo.canMangleUse !== false) {\n\t\t\t\tthis._otherExportsInfo.canMangleUse = false;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t}\n\t\treturn changed;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetUsedWithoutInfo(runtime) {\n\t\tlet changed = false;\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (exportInfo.setUsedWithoutInfo(runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tif (this._redirectTo.setUsedWithoutInfo(runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t} else {\n\t\t\tif (this._otherExportsInfo.setUsed(UsageState.NoInfo, runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t\tif (this._otherExportsInfo.canMangleUse !== false) {\n\t\t\t\tthis._otherExportsInfo.canMangleUse = false;\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t}\n\t\treturn changed;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetAllKnownExportsUsed(runtime) {\n\t\tlet changed = false;\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (!exportInfo.provided) continue;\n\t\t\tif (exportInfo.setUsed(UsageState.Used, runtime)) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t}\n\t\treturn changed;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetUsedForSideEffectsOnly(runtime) {\n\t\treturn this._sideEffectsOnlyInfo.setUsedConditionally(\n\t\t\tused => used === UsageState.Unused,\n\t\t\tUsageState.Used,\n\t\t\truntime\n\t\t);\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when the module exports are used in any way\n\t */\n\tisUsed(runtime) {\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tif (this._redirectTo.isUsed(runtime)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else {\n\t\t\tif (this._otherExportsInfo.getUsed(runtime) !== UsageState.Unused) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tif (exportInfo.getUsed(runtime) !== UsageState.Unused) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, when the module is used in any way\n\t */\n\tisModuleUsed(runtime) {\n\t\tif (this.isUsed(runtime)) return true;\n\t\tif (this._sideEffectsOnlyInfo.getUsed(runtime) !== UsageState.Unused)\n\t\t\treturn true;\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {SortableSet<string> | boolean | null} set of used exports, or true (when namespace object is used), or false (when unused), or null (when unknown)\n\t */\n\tgetUsedExports(runtime) {\n\t\tif (!this._redirectTo !== undefined) {\n\t\t\tswitch (this._otherExportsInfo.getUsed(runtime)) {\n\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\treturn null;\n\t\t\t\tcase UsageState.Unknown:\n\t\t\t\tcase UsageState.OnlyPropertiesUsed:\n\t\t\t\tcase UsageState.Used:\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tconst array = [];\n\t\tif (!this._exportsAreOrdered) this._sortExports();\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tswitch (exportInfo.getUsed(runtime)) {\n\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\treturn null;\n\t\t\t\tcase UsageState.Unknown:\n\t\t\t\t\treturn true;\n\t\t\t\tcase UsageState.OnlyPropertiesUsed:\n\t\t\t\tcase UsageState.Used:\n\t\t\t\t\tarray.push(exportInfo.name);\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tconst inner = this._redirectTo.getUsedExports(runtime);\n\t\t\tif (inner === null) return null;\n\t\t\tif (inner === true) return true;\n\t\t\tif (inner !== false) {\n\t\t\t\tfor (const item of inner) {\n\t\t\t\t\tarray.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (array.length === 0) {\n\t\t\tswitch (this._sideEffectsOnlyInfo.getUsed(runtime)) {\n\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\treturn null;\n\t\t\t\tcase UsageState.Unused:\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn new SortableSet(array);\n\t}\n\n\t/**\n\t * @returns {null | true | string[]} list of exports when known\n\t */\n\tgetProvidedExports() {\n\t\tif (!this._redirectTo !== undefined) {\n\t\t\tswitch (this._otherExportsInfo.provided) {\n\t\t\t\tcase undefined:\n\t\t\t\t\treturn null;\n\t\t\t\tcase null:\n\t\t\t\t\treturn true;\n\t\t\t\tcase true:\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tconst array = [];\n\t\tif (!this._exportsAreOrdered) this._sortExports();\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tswitch (exportInfo.provided) {\n\t\t\t\tcase undefined:\n\t\t\t\t\treturn null;\n\t\t\t\tcase null:\n\t\t\t\t\treturn true;\n\t\t\t\tcase true:\n\t\t\t\t\tarray.push(exportInfo.name);\n\t\t\t}\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tconst inner = this._redirectTo.getProvidedExports();\n\t\t\tif (inner === null) return null;\n\t\t\tif (inner === true) return true;\n\t\t\tfor (const item of inner) {\n\t\t\t\tif (!array.includes(item)) {\n\t\t\t\t\tarray.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn array;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {ExportInfo[]} exports that are relevant (not unused and potential provided)\n\t */\n\tgetRelevantExports(runtime) {\n\t\tconst list = [];\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\tconst used = exportInfo.getUsed(runtime);\n\t\t\tif (used === UsageState.Unused) continue;\n\t\t\tif (exportInfo.provided === false) continue;\n\t\t\tlist.push(exportInfo);\n\t\t}\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tfor (const exportInfo of this._redirectTo.getRelevantExports(runtime)) {\n\t\t\t\tif (!this._exports.has(exportInfo.name)) list.push(exportInfo);\n\t\t\t}\n\t\t}\n\t\tif (\n\t\t\tthis._otherExportsInfo.provided !== false &&\n\t\t\tthis._otherExportsInfo.getUsed(runtime) !== UsageState.Unused\n\t\t) {\n\t\t\tlist.push(this._otherExportsInfo);\n\t\t}\n\t\treturn list;\n\t}\n\n\t/**\n\t * @param {string | string[]} name the name of the export\n\t * @returns {boolean | undefined | null} if the export is provided\n\t */\n\tisExportProvided(name) {\n\t\tif (Array.isArray(name)) {\n\t\t\tconst info = this.getReadOnlyExportInfo(name[0]);\n\t\t\tif (info.exportsInfo && name.length > 1) {\n\t\t\t\treturn info.exportsInfo.isExportProvided(name.slice(1));\n\t\t\t}\n\t\t\treturn info.provided ? name.length === 1 || undefined : info.provided;\n\t\t}\n\t\tconst info = this.getReadOnlyExportInfo(name);\n\t\treturn info.provided;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime runtime\n\t * @returns {string} key representing the usage\n\t */\n\tgetUsageKey(runtime) {\n\t\tconst key = [];\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tkey.push(this._redirectTo.getUsageKey(runtime));\n\t\t} else {\n\t\t\tkey.push(this._otherExportsInfo.getUsed(runtime));\n\t\t}\n\t\tkey.push(this._sideEffectsOnlyInfo.getUsed(runtime));\n\t\tfor (const exportInfo of this.orderedOwnedExports) {\n\t\t\tkey.push(exportInfo.getUsed(runtime));\n\t\t}\n\t\treturn key.join(\"|\");\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtimeA first runtime\n\t * @param {RuntimeSpec} runtimeB second runtime\n\t * @returns {boolean} true, when equally used\n\t */\n\tisEquallyUsed(runtimeA, runtimeB) {\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tif (!this._redirectTo.isEquallyUsed(runtimeA, runtimeB)) return false;\n\t\t} else {\n\t\t\tif (\n\t\t\t\tthis._otherExportsInfo.getUsed(runtimeA) !==\n\t\t\t\tthis._otherExportsInfo.getUsed(runtimeB)\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif (\n\t\t\tthis._sideEffectsOnlyInfo.getUsed(runtimeA) !==\n\t\t\tthis._sideEffectsOnlyInfo.getUsed(runtimeB)\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\t\tfor (const exportInfo of this.ownedExports) {\n\t\t\tif (exportInfo.getUsed(runtimeA) !== exportInfo.getUsed(runtimeB))\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {string | string[]} name export name\n\t * @param {RuntimeSpec} runtime check usage for this runtime only\n\t * @returns {UsageStateType} usage status\n\t */\n\tgetUsed(name, runtime) {\n\t\tif (Array.isArray(name)) {\n\t\t\tif (name.length === 0) return this.otherExportsInfo.getUsed(runtime);\n\t\t\tlet info = this.getReadOnlyExportInfo(name[0]);\n\t\t\tif (info.exportsInfo && name.length > 1) {\n\t\t\t\treturn info.exportsInfo.getUsed(name.slice(1), runtime);\n\t\t\t}\n\t\t\treturn info.getUsed(runtime);\n\t\t}\n\t\tlet info = this.getReadOnlyExportInfo(name);\n\t\treturn info.getUsed(runtime);\n\t}\n\n\t/**\n\t * @param {string | string[]} name the export name\n\t * @param {RuntimeSpec} runtime check usage for this runtime only\n\t * @returns {string | string[] | false} the used name\n\t */\n\tgetUsedName(name, runtime) {\n\t\tif (Array.isArray(name)) {\n\t\t\t// TODO improve this\n\t\t\tif (name.length === 0) {\n\t\t\t\tif (!this.isUsed(runtime)) return false;\n\t\t\t\treturn name;\n\t\t\t}\n\t\t\tlet info = this.getReadOnlyExportInfo(name[0]);\n\t\t\tconst x = info.getUsedName(name[0], runtime);\n\t\t\tif (x === false) return false;\n\t\t\tconst arr = x === name[0] && name.length === 1 ? name : [x];\n\t\t\tif (name.length === 1) {\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t\tif (\n\t\t\t\tinfo.exportsInfo &&\n\t\t\t\tinfo.getUsed(runtime) === UsageState.OnlyPropertiesUsed\n\t\t\t) {\n\t\t\t\tconst nested = info.exportsInfo.getUsedName(name.slice(1), runtime);\n\t\t\t\tif (!nested) return false;\n\t\t\t\treturn arr.concat(nested);\n\t\t\t} else {\n\t\t\t\treturn arr.concat(name.slice(1));\n\t\t\t}\n\t\t} else {\n\t\t\tlet info = this.getReadOnlyExportInfo(name);\n\t\t\tconst usedName = info.getUsedName(name, runtime);\n\t\t\treturn usedName;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {void}\n\t */\n\tupdateHash(hash, runtime) {\n\t\tthis._updateHash(hash, runtime, new Set());\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {Set<ExportsInfo>} alreadyVisitedExportsInfo for circular references\n\t * @returns {void}\n\t */\n\t_updateHash(hash, runtime, alreadyVisitedExportsInfo) {\n\t\tconst set = new Set(alreadyVisitedExportsInfo);\n\t\tset.add(this);\n\t\tfor (const exportInfo of this.orderedExports) {\n\t\t\tif (exportInfo.hasInfo(this._otherExportsInfo, runtime)) {\n\t\t\t\texportInfo._updateHash(hash, runtime, set);\n\t\t\t}\n\t\t}\n\t\tthis._sideEffectsOnlyInfo._updateHash(hash, runtime, set);\n\t\tthis._otherExportsInfo._updateHash(hash, runtime, set);\n\t\tif (this._redirectTo !== undefined) {\n\t\t\tthis._redirectTo._updateHash(hash, runtime, set);\n\t\t}\n\t}\n\n\tgetRestoreProvidedData() {\n\t\tconst otherProvided = this._otherExportsInfo.provided;\n\t\tconst otherCanMangleProvide = this._otherExportsInfo.canMangleProvide;\n\t\tconst otherTerminalBinding = this._otherExportsInfo.terminalBinding;\n\t\tconst exports = [];\n\t\tfor (const exportInfo of this.orderedExports) {\n\t\t\tif (\n\t\t\t\texportInfo.provided !== otherProvided ||\n\t\t\t\texportInfo.canMangleProvide !== otherCanMangleProvide ||\n\t\t\t\texportInfo.terminalBinding !== otherTerminalBinding ||\n\t\t\t\texportInfo.exportsInfoOwned\n\t\t\t) {\n\t\t\t\texports.push({\n\t\t\t\t\tname: exportInfo.name,\n\t\t\t\t\tprovided: exportInfo.provided,\n\t\t\t\t\tcanMangleProvide: exportInfo.canMangleProvide,\n\t\t\t\t\tterminalBinding: exportInfo.terminalBinding,\n\t\t\t\t\texportsInfo: exportInfo.exportsInfoOwned\n\t\t\t\t\t\t? exportInfo.exportsInfo.getRestoreProvidedData()\n\t\t\t\t\t\t: undefined\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\treturn new RestoreProvidedData(\n\t\t\texports,\n\t\t\totherProvided,\n\t\t\totherCanMangleProvide,\n\t\t\totherTerminalBinding\n\t\t);\n\t}\n\n\trestoreProvided({\n\t\totherProvided,\n\t\totherCanMangleProvide,\n\t\totherTerminalBinding,\n\t\texports\n\t}) {\n\t\tlet wasEmpty = true;\n\t\tfor (const exportInfo of this._exports.values()) {\n\t\t\twasEmpty = false;\n\t\t\texportInfo.provided = otherProvided;\n\t\t\texportInfo.canMangleProvide = otherCanMangleProvide;\n\t\t\texportInfo.terminalBinding = otherTerminalBinding;\n\t\t}\n\t\tthis._otherExportsInfo.provided = otherProvided;\n\t\tthis._otherExportsInfo.canMangleProvide = otherCanMangleProvide;\n\t\tthis._otherExportsInfo.terminalBinding = otherTerminalBinding;\n\t\tfor (const exp of exports) {\n\t\t\tconst exportInfo = this.getExportInfo(exp.name);\n\t\t\texportInfo.provided = exp.provided;\n\t\t\texportInfo.canMangleProvide = exp.canMangleProvide;\n\t\t\texportInfo.terminalBinding = exp.terminalBinding;\n\t\t\tif (exp.exportsInfo) {\n\t\t\t\tconst exportsInfo = exportInfo.createNestedExportsInfo();\n\t\t\t\texportsInfo.restoreProvided(exp.exportsInfo);\n\t\t\t}\n\t\t}\n\t\tif (wasEmpty) this._exportsAreOrdered = true;\n\t}\n}\n\nclass ExportInfo {\n\t/**\n\t * @param {string} name the original name of the export\n\t * @param {ExportInfo=} initFrom init values from this ExportInfo\n\t */\n\tconstructor(name, initFrom) {\n\t\t/** @type {string} */\n\t\tthis.name = name;\n\t\t/** @private @type {string | null} */\n\t\tthis._usedName = initFrom ? initFrom._usedName : null;\n\t\t/** @private @type {UsageStateType} */\n\t\tthis._globalUsed = initFrom ? initFrom._globalUsed : undefined;\n\t\t/** @private @type {Map<string, RuntimeUsageStateType>} */\n\t\tthis._usedInRuntime =\n\t\t\tinitFrom && initFrom._usedInRuntime\n\t\t\t\t? new Map(initFrom._usedInRuntime)\n\t\t\t\t: undefined;\n\t\t/** @private @type {boolean} */\n\t\tthis._hasUseInRuntimeInfo = initFrom\n\t\t\t? initFrom._hasUseInRuntimeInfo\n\t\t\t: false;\n\t\t/**\n\t\t * true: it is provided\n\t\t * false: it is not provided\n\t\t * null: only the runtime knows if it is provided\n\t\t * undefined: it was not determined if it is provided\n\t\t * @type {boolean | null | undefined}\n\t\t */\n\t\tthis.provided = initFrom ? initFrom.provided : undefined;\n\t\t/**\n\t\t * is the export a terminal binding that should be checked for export star conflicts\n\t\t * @type {boolean}\n\t\t */\n\t\tthis.terminalBinding = initFrom ? initFrom.terminalBinding : false;\n\t\t/**\n\t\t * true: it can be mangled\n\t\t * false: is can not be mangled\n\t\t * undefined: it was not determined if it can be mangled\n\t\t * @type {boolean | undefined}\n\t\t */\n\t\tthis.canMangleProvide = initFrom ? initFrom.canMangleProvide : undefined;\n\t\t/**\n\t\t * true: it can be mangled\n\t\t * false: is can not be mangled\n\t\t * undefined: it was not determined if it can be mangled\n\t\t * @type {boolean | undefined}\n\t\t */\n\t\tthis.canMangleUse = initFrom ? initFrom.canMangleUse : undefined;\n\t\t/** @type {boolean} */\n\t\tthis.exportsInfoOwned = false;\n\t\t/** @type {ExportsInfo=} */\n\t\tthis.exportsInfo = undefined;\n\t\t/** @type {Map<any, { connection: ModuleGraphConnection | null, export: string[], priority: number }>=} */\n\t\tthis._target = undefined;\n\t\tif (initFrom && initFrom._target) {\n\t\t\tthis._target = new Map();\n\t\t\tfor (const [key, value] of initFrom._target) {\n\t\t\t\tthis._target.set(key, {\n\t\t\t\t\tconnection: value.connection,\n\t\t\t\t\texport: value.export || [name],\n\t\t\t\t\tpriority: value.priority\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\t/** @type {Map<any, { connection: ModuleGraphConnection | null, export: string[], priority: number }>=} */\n\t\tthis._maxTarget = undefined;\n\t}\n\n\t// TODO webpack 5 remove\n\t/** @private */\n\tget used() {\n\t\tthrow new Error(\"REMOVED\");\n\t}\n\t/** @private */\n\tget usedName() {\n\t\tthrow new Error(\"REMOVED\");\n\t}\n\t/**\n\t * @private\n\t * @param {*} v v\n\t */\n\tset used(v) {\n\t\tthrow new Error(\"REMOVED\");\n\t}\n\t/**\n\t * @private\n\t * @param {*} v v\n\t */\n\tset usedName(v) {\n\t\tthrow new Error(\"REMOVED\");\n\t}\n\n\tget canMangle() {\n\t\tswitch (this.canMangleProvide) {\n\t\t\tcase undefined:\n\t\t\t\treturn this.canMangleUse === false ? false : undefined;\n\t\t\tcase false:\n\t\t\t\treturn false;\n\t\t\tcase true:\n\t\t\t\tswitch (this.canMangleUse) {\n\t\t\t\t\tcase undefined:\n\t\t\t\t\t\treturn undefined;\n\t\t\t\t\tcase false:\n\t\t\t\t\t\treturn false;\n\t\t\t\t\tcase true:\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t}\n\t\tthrow new Error(\n\t\t\t`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`\n\t\t);\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime only apply to this runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetUsedInUnknownWay(runtime) {\n\t\tlet changed = false;\n\t\tif (\n\t\t\tthis.setUsedConditionally(\n\t\t\t\tused => used < UsageState.Unknown,\n\t\t\t\tUsageState.Unknown,\n\t\t\t\truntime\n\t\t\t)\n\t\t) {\n\t\t\tchanged = true;\n\t\t}\n\t\tif (this.canMangleUse !== false) {\n\t\t\tthis.canMangleUse = false;\n\t\t\tchanged = true;\n\t\t}\n\t\treturn changed;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime only apply to this runtime\n\t * @returns {boolean} true, when something changed\n\t */\n\tsetUsedWithoutInfo(runtime) {\n\t\tlet changed = false;\n\t\tif (this.setUsed(UsageState.NoInfo, runtime)) {\n\t\t\tchanged = true;\n\t\t}\n\t\tif (this.canMangleUse !== false) {\n\t\t\tthis.canMangleUse = false;\n\t\t\tchanged = true;\n\t\t}\n\t\treturn changed;\n\t}\n\n\tsetHasUseInfo() {\n\t\tif (!this._hasUseInRuntimeInfo) {\n\t\t\tthis._hasUseInRuntimeInfo = true;\n\t\t}\n\t\tif (this.canMangleUse === undefined) {\n\t\t\tthis.canMangleUse = true;\n\t\t}\n\t\tif (this.exportsInfoOwned) {\n\t\t\tthis.exportsInfo.setHasUseInfo();\n\t\t}\n\t}\n\n\t/**\n\t * @param {function(UsageStateType): boolean} condition compare with old value\n\t * @param {UsageStateType} newValue set when condition is true\n\t * @param {RuntimeSpec} runtime only apply to this runtime\n\t * @returns {boolean} true when something has changed\n\t */\n\tsetUsedConditionally(condition, newValue, runtime) {\n\t\tif (runtime === undefined) {\n\t\t\tif (this._globalUsed === undefined) {\n\t\t\t\tthis._globalUsed = newValue;\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tif (this._globalUsed !== newValue && condition(this._globalUsed)) {\n\t\t\t\t\tthis._globalUsed = newValue;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (this._usedInRuntime === undefined) {\n\t\t\tif (newValue !== UsageState.Unused && condition(UsageState.Unused)) {\n\t\t\t\tthis._usedInRuntime = new Map();\n\t\t\t\tforEachRuntime(runtime, runtime =>\n\t\t\t\t\tthis._usedInRuntime.set(runtime, newValue)\n\t\t\t\t);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else {\n\t\t\tlet changed = false;\n\t\t\tforEachRuntime(runtime, runtime => {\n\t\t\t\t/** @type {UsageStateType} */\n\t\t\t\tlet oldValue = this._usedInRuntime.get(runtime);\n\t\t\t\tif (oldValue === undefined) oldValue = UsageState.Unused;\n\t\t\t\tif (newValue !== oldValue && condition(oldValue)) {\n\t\t\t\t\tif (newValue === UsageState.Unused) {\n\t\t\t\t\t\tthis._usedInRuntime.delete(runtime);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._usedInRuntime.set(runtime, newValue);\n\t\t\t\t\t}\n\t\t\t\t\tchanged = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (changed) {\n\t\t\t\tif (this._usedInRuntime.size === 0) this._usedInRuntime = undefined;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {UsageStateType} newValue new value of the used state\n\t * @param {RuntimeSpec} runtime only apply to this runtime\n\t * @returns {boolean} true when something has changed\n\t */\n\tsetUsed(newValue, runtime) {\n\t\tif (runtime === undefined) {\n\t\t\tif (this._globalUsed !== newValue) {\n\t\t\t\tthis._globalUsed = newValue;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else if (this._usedInRuntime === undefined) {\n\t\t\tif (newValue !== UsageState.Unused) {\n\t\t\t\tthis._usedInRuntime = new Map();\n\t\t\t\tforEachRuntime(runtime, runtime =>\n\t\t\t\t\tthis._usedInRuntime.set(runtime, newValue)\n\t\t\t\t);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else {\n\t\t\tlet changed = false;\n\t\t\tforEachRuntime(runtime, runtime => {\n\t\t\t\t/** @type {UsageStateType} */\n\t\t\t\tlet oldValue = this._usedInRuntime.get(runtime);\n\t\t\t\tif (oldValue === undefined) oldValue = UsageState.Unused;\n\t\t\t\tif (newValue !== oldValue) {\n\t\t\t\t\tif (newValue === UsageState.Unused) {\n\t\t\t\t\t\tthis._usedInRuntime.delete(runtime);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._usedInRuntime.set(runtime, newValue);\n\t\t\t\t\t}\n\t\t\t\t\tchanged = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (changed) {\n\t\t\t\tif (this._usedInRuntime.size === 0) this._usedInRuntime = undefined;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {any} key the key\n\t * @returns {boolean} true, if something has changed\n\t */\n\tunsetTarget(key) {\n\t\tif (!this._target) return false;\n\t\tif (this._target.delete(key)) {\n\t\t\tthis._maxTarget = undefined;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {any} key the key\n\t * @param {ModuleGraphConnection} connection the target module if a single one\n\t * @param {string[]=} exportName the exported name\n\t * @param {number=} priority priority\n\t * @returns {boolean} true, if something has changed\n\t */\n\tsetTarget(key, connection, exportName, priority = 0) {\n\t\tif (exportName) exportName = [...exportName];\n\t\tif (!this._target) {\n\t\t\tthis._target = new Map();\n\t\t\tthis._target.set(key, { connection, export: exportName, priority });\n\t\t\treturn true;\n\t\t}\n\t\tconst oldTarget = this._target.get(key);\n\t\tif (!oldTarget) {\n\t\t\tif (oldTarget === null && !connection) return false;\n\t\t\tthis._target.set(key, { connection, export: exportName, priority });\n\t\t\tthis._maxTarget = undefined;\n\t\t\treturn true;\n\t\t}\n\t\tif (\n\t\t\toldTarget.connection !== connection ||\n\t\t\toldTarget.priority !== priority ||\n\t\t\t(exportName\n\t\t\t\t? !oldTarget.export || !equals(oldTarget.export, exportName)\n\t\t\t\t: oldTarget.export)\n\t\t) {\n\t\t\toldTarget.connection = connection;\n\t\t\toldTarget.export = exportName;\n\t\t\toldTarget.priority = priority;\n\t\t\tthis._maxTarget = undefined;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime for this runtime\n\t * @returns {UsageStateType} usage state\n\t */\n\tgetUsed(runtime) {\n\t\tif (!this._hasUseInRuntimeInfo) return UsageState.NoInfo;\n\t\tif (this._globalUsed !== undefined) return this._globalUsed;\n\t\tif (this._usedInRuntime === undefined) {\n\t\t\treturn UsageState.Unused;\n\t\t} else if (typeof runtime === \"string\") {\n\t\t\tconst value = this._usedInRuntime.get(runtime);\n\t\t\treturn value === undefined ? UsageState.Unused : value;\n\t\t} else if (runtime === undefined) {\n\t\t\t/** @type {UsageStateType} */\n\t\t\tlet max = UsageState.Unused;\n\t\t\tfor (const value of this._usedInRuntime.values()) {\n\t\t\t\tif (value === UsageState.Used) {\n\t\t\t\t\treturn UsageState.Used;\n\t\t\t\t}\n\t\t\t\tif (max < value) max = value;\n\t\t\t}\n\t\t\treturn max;\n\t\t} else {\n\t\t\t/** @type {UsageStateType} */\n\t\t\tlet max = UsageState.Unused;\n\t\t\tfor (const item of runtime) {\n\t\t\t\tconst value = this._usedInRuntime.get(item);\n\t\t\t\tif (value !== undefined) {\n\t\t\t\t\tif (value === UsageState.Used) {\n\t\t\t\t\t\treturn UsageState.Used;\n\t\t\t\t\t}\n\t\t\t\t\tif (max < value) max = value;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn max;\n\t\t}\n\t}\n\n\t/**\n\t * get used name\n\t * @param {string | undefined} fallbackName fallback name for used exports with no name\n\t * @param {RuntimeSpec} runtime check usage for this runtime only\n\t * @returns {string | false} used name\n\t */\n\tgetUsedName(fallbackName, runtime) {\n\t\tif (this._hasUseInRuntimeInfo) {\n\t\t\tif (this._globalUsed !== undefined) {\n\t\t\t\tif (this._globalUsed === UsageState.Unused) return false;\n\t\t\t} else {\n\t\t\t\tif (this._usedInRuntime === undefined) return false;\n\t\t\t\tif (typeof runtime === \"string\") {\n\t\t\t\t\tif (!this._usedInRuntime.has(runtime)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} else if (runtime !== undefined) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tArray.from(runtime).every(\n\t\t\t\t\t\t\truntime => !this._usedInRuntime.has(runtime)\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (this._usedName !== null) return this._usedName;\n\t\treturn this.name || fallbackName;\n\t}\n\n\t/**\n\t * @returns {boolean} true, when a mangled name of this export is set\n\t */\n\thasUsedName() {\n\t\treturn this._usedName !== null;\n\t}\n\n\t/**\n\t * Sets the mangled name of this export\n\t * @param {string} name the new name\n\t * @returns {void}\n\t */\n\tsetUsedName(name) {\n\t\tthis._usedName = name;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function({ module: Module, export: string[] | undefined }): boolean} resolveTargetFilter filter function to further resolve target\n\t * @returns {ExportInfo | ExportsInfo | undefined} the terminal binding export(s) info if known\n\t */\n\tgetTerminalBinding(moduleGraph, resolveTargetFilter = RETURNS_TRUE) {\n\t\tif (this.terminalBinding) return this;\n\t\tconst target = this.getTarget(moduleGraph, resolveTargetFilter);\n\t\tif (!target) return undefined;\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(target.module);\n\t\tif (!target.export) return exportsInfo;\n\t\treturn exportsInfo.getReadOnlyExportInfoRecursive(target.export);\n\t}\n\n\tisReexport() {\n\t\treturn !this.terminalBinding && this._target && this._target.size > 0;\n\t}\n\n\t_getMaxTarget() {\n\t\tif (this._maxTarget !== undefined) return this._maxTarget;\n\t\tif (this._target.size <= 1) return (this._maxTarget = this._target);\n\t\tlet maxPriority = -Infinity;\n\t\tlet minPriority = Infinity;\n\t\tfor (const { priority } of this._target.values()) {\n\t\t\tif (maxPriority < priority) maxPriority = priority;\n\t\t\tif (minPriority > priority) minPriority = priority;\n\t\t}\n\t\t// This should be very common\n\t\tif (maxPriority === minPriority) return (this._maxTarget = this._target);\n\n\t\t// This is an edge case\n\t\tconst map = new Map();\n\t\tfor (const [key, value] of this._target) {\n\t\t\tif (maxPriority === value.priority) {\n\t\t\t\tmap.set(key, value);\n\t\t\t}\n\t\t}\n\t\tthis._maxTarget = map;\n\t\treturn map;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function(Module): boolean} validTargetModuleFilter a valid target module\n\t * @returns {{ module: Module, export: string[] | undefined } | undefined | false} the target, undefined when there is no target, false when no target is valid\n\t */\n\tfindTarget(moduleGraph, validTargetModuleFilter) {\n\t\treturn this._findTarget(moduleGraph, validTargetModuleFilter, new Set());\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function(Module): boolean} validTargetModuleFilter a valid target module\n\t * @param {Set<ExportInfo> | undefined} alreadyVisited set of already visited export info to avoid circular references\n\t * @returns {{ module: Module, export: string[] | undefined } | undefined | false} the target, undefined when there is no target, false when no target is valid\n\t */\n\t_findTarget(moduleGraph, validTargetModuleFilter, alreadyVisited) {\n\t\tif (!this._target || this._target.size === 0) return undefined;\n\t\tlet rawTarget = this._getMaxTarget().values().next().value;\n\t\tif (!rawTarget) return undefined;\n\t\t/** @type {{ module: Module, export: string[] | undefined }} */\n\t\tlet target = {\n\t\t\tmodule: rawTarget.connection.module,\n\t\t\texport: rawTarget.export\n\t\t};\n\t\tfor (;;) {\n\t\t\tif (validTargetModuleFilter(target.module)) return target;\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(target.module);\n\t\t\tconst exportInfo = exportsInfo.getExportInfo(target.export[0]);\n\t\t\tif (alreadyVisited.has(exportInfo)) return null;\n\t\t\tconst newTarget = exportInfo._findTarget(\n\t\t\t\tmoduleGraph,\n\t\t\t\tvalidTargetModuleFilter,\n\t\t\t\talreadyVisited\n\t\t\t);\n\t\t\tif (!newTarget) return false;\n\t\t\tif (target.export.length === 1) {\n\t\t\t\ttarget = newTarget;\n\t\t\t} else {\n\t\t\t\ttarget = {\n\t\t\t\t\tmodule: newTarget.module,\n\t\t\t\t\texport: newTarget.export\n\t\t\t\t\t\t? newTarget.export.concat(target.export.slice(1))\n\t\t\t\t\t\t: target.export.slice(1)\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function({ module: Module, export: string[] | undefined }): boolean} resolveTargetFilter filter function to further resolve target\n\t * @returns {{ module: Module, export: string[] | undefined } | undefined} the target\n\t */\n\tgetTarget(moduleGraph, resolveTargetFilter = RETURNS_TRUE) {\n\t\tconst result = this._getTarget(moduleGraph, resolveTargetFilter, undefined);\n\t\tif (result === CIRCULAR) return undefined;\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function({ module: Module, connection: ModuleGraphConnection, export: string[] | undefined }): boolean} resolveTargetFilter filter function to further resolve target\n\t * @param {Set<ExportInfo> | undefined} alreadyVisited set of already visited export info to avoid circular references\n\t * @returns {{ module: Module, connection: ModuleGraphConnection, export: string[] | undefined } | CIRCULAR | undefined} the target\n\t */\n\t_getTarget(moduleGraph, resolveTargetFilter, alreadyVisited) {\n\t\t/**\n\t\t * @param {{ connection: ModuleGraphConnection, export: string[] | undefined } | null} inputTarget unresolved target\n\t\t * @param {Set<ExportInfo>} alreadyVisited set of already visited export info to avoid circular references\n\t\t * @returns {{ module: Module, connection: ModuleGraphConnection, export: string[] | undefined } | CIRCULAR | null} resolved target\n\t\t */\n\t\tconst resolveTarget = (inputTarget, alreadyVisited) => {\n\t\t\tif (!inputTarget) return null;\n\t\t\tif (!inputTarget.export) {\n\t\t\t\treturn {\n\t\t\t\t\tmodule: inputTarget.connection.module,\n\t\t\t\t\tconnection: inputTarget.connection,\n\t\t\t\t\texport: undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t/** @type {{ module: Module, connection: ModuleGraphConnection, export: string[] | undefined }} */\n\t\t\tlet target = {\n\t\t\t\tmodule: inputTarget.connection.module,\n\t\t\t\tconnection: inputTarget.connection,\n\t\t\t\texport: inputTarget.export\n\t\t\t};\n\t\t\tif (!resolveTargetFilter(target)) return target;\n\t\t\tlet alreadyVisitedOwned = false;\n\t\t\tfor (;;) {\n\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(target.module);\n\t\t\t\tconst exportInfo = exportsInfo.getExportInfo(target.export[0]);\n\t\t\t\tif (!exportInfo) return target;\n\t\t\t\tif (alreadyVisited.has(exportInfo)) return CIRCULAR;\n\t\t\t\tconst newTarget = exportInfo._getTarget(\n\t\t\t\t\tmoduleGraph,\n\t\t\t\t\tresolveTargetFilter,\n\t\t\t\t\talreadyVisited\n\t\t\t\t);\n\t\t\t\tif (newTarget === CIRCULAR) return CIRCULAR;\n\t\t\t\tif (!newTarget) return target;\n\t\t\t\tif (target.export.length === 1) {\n\t\t\t\t\ttarget = newTarget;\n\t\t\t\t\tif (!target.export) return target;\n\t\t\t\t} else {\n\t\t\t\t\ttarget = {\n\t\t\t\t\t\tmodule: newTarget.module,\n\t\t\t\t\t\tconnection: newTarget.connection,\n\t\t\t\t\t\texport: newTarget.export\n\t\t\t\t\t\t\t? newTarget.export.concat(target.export.slice(1))\n\t\t\t\t\t\t\t: target.export.slice(1)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (!resolveTargetFilter(target)) return target;\n\t\t\t\tif (!alreadyVisitedOwned) {\n\t\t\t\t\talreadyVisited = new Set(alreadyVisited);\n\t\t\t\t\talreadyVisitedOwned = true;\n\t\t\t\t}\n\t\t\t\talreadyVisited.add(exportInfo);\n\t\t\t}\n\t\t};\n\n\t\tif (!this._target || this._target.size === 0) return undefined;\n\t\tif (alreadyVisited && alreadyVisited.has(this)) return CIRCULAR;\n\t\tconst newAlreadyVisited = new Set(alreadyVisited);\n\t\tnewAlreadyVisited.add(this);\n\t\tconst values = this._getMaxTarget().values();\n\t\tconst target = resolveTarget(values.next().value, newAlreadyVisited);\n\t\tif (target === CIRCULAR) return CIRCULAR;\n\t\tif (target === null) return undefined;\n\t\tlet result = values.next();\n\t\twhile (!result.done) {\n\t\t\tconst t = resolveTarget(result.value, newAlreadyVisited);\n\t\t\tif (t === CIRCULAR) return CIRCULAR;\n\t\t\tif (t === null) return undefined;\n\t\t\tif (t.module !== target.module) return undefined;\n\t\t\tif (!t.export !== !target.export) return undefined;\n\t\t\tif (target.export && !equals(t.export, target.export)) return undefined;\n\t\t\tresult = values.next();\n\t\t}\n\t\treturn target;\n\t}\n\n\t/**\n\t * Move the target forward as long resolveTargetFilter is fulfilled\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {function({ module: Module, export: string[] | undefined }): boolean} resolveTargetFilter filter function to further resolve target\n\t * @param {function({ module: Module, export: string[] | undefined }): ModuleGraphConnection=} updateOriginalConnection updates the original connection instead of using the target connection\n\t * @returns {{ module: Module, export: string[] | undefined } | undefined} the resolved target when moved\n\t */\n\tmoveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection) {\n\t\tconst target = this._getTarget(moduleGraph, resolveTargetFilter, undefined);\n\t\tif (target === CIRCULAR) return undefined;\n\t\tif (!target) return undefined;\n\t\tconst originalTarget = this._getMaxTarget().values().next().value;\n\t\tif (\n\t\t\toriginalTarget.connection === target.connection &&\n\t\t\toriginalTarget.export === target.export\n\t\t) {\n\t\t\treturn undefined;\n\t\t}\n\t\tthis._target.clear();\n\t\tthis._target.set(undefined, {\n\t\t\tconnection: updateOriginalConnection\n\t\t\t\t? updateOriginalConnection(target)\n\t\t\t\t: target.connection,\n\t\t\texport: target.export,\n\t\t\tpriority: 0\n\t\t});\n\t\treturn target;\n\t}\n\n\tcreateNestedExportsInfo() {\n\t\tif (this.exportsInfoOwned) return this.exportsInfo;\n\t\tthis.exportsInfoOwned = true;\n\t\tconst oldExportsInfo = this.exportsInfo;\n\t\tthis.exportsInfo = new ExportsInfo();\n\t\tthis.exportsInfo.setHasProvideInfo();\n\t\tif (oldExportsInfo) {\n\t\t\tthis.exportsInfo.setRedirectNamedTo(oldExportsInfo);\n\t\t}\n\t\treturn this.exportsInfo;\n\t}\n\n\tgetNestedExportsInfo() {\n\t\treturn this.exportsInfo;\n\t}\n\n\thasInfo(baseInfo, runtime) {\n\t\treturn (\n\t\t\t(this._usedName && this._usedName !== this.name) ||\n\t\t\tthis.provided ||\n\t\t\tthis.terminalBinding ||\n\t\t\tthis.getUsed(runtime) !== baseInfo.getUsed(runtime)\n\t\t);\n\t}\n\n\tupdateHash(hash, runtime) {\n\t\tthis._updateHash(hash, runtime, new Set());\n\t}\n\n\t_updateHash(hash, runtime, alreadyVisitedExportsInfo) {\n\t\thash.update(\n\t\t\t`${this._usedName || this.name}${this.getUsed(runtime)}${this.provided}${\n\t\t\t\tthis.terminalBinding\n\t\t\t}`\n\t\t);\n\t\tif (this.exportsInfo && !alreadyVisitedExportsInfo.has(this.exportsInfo)) {\n\t\t\tthis.exportsInfo._updateHash(hash, runtime, alreadyVisitedExportsInfo);\n\t\t}\n\t}\n\n\tgetUsedInfo() {\n\t\tif (this._globalUsed !== undefined) {\n\t\t\tswitch (this._globalUsed) {\n\t\t\t\tcase UsageState.Unused:\n\t\t\t\t\treturn \"unused\";\n\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\treturn \"no usage info\";\n\t\t\t\tcase UsageState.Unknown:\n\t\t\t\t\treturn \"maybe used (runtime-defined)\";\n\t\t\t\tcase UsageState.Used:\n\t\t\t\t\treturn \"used\";\n\t\t\t\tcase UsageState.OnlyPropertiesUsed:\n\t\t\t\t\treturn \"only properties used\";\n\t\t\t}\n\t\t} else if (this._usedInRuntime !== undefined) {\n\t\t\t/** @type {Map<RuntimeUsageStateType, string[]>} */\n\t\t\tconst map = new Map();\n\t\t\tfor (const [runtime, used] of this._usedInRuntime) {\n\t\t\t\tconst list = map.get(used);\n\t\t\t\tif (list !== undefined) list.push(runtime);\n\t\t\t\telse map.set(used, [runtime]);\n\t\t\t}\n\t\t\tconst specificInfo = Array.from(map, ([used, runtimes]) => {\n\t\t\t\tswitch (used) {\n\t\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\t\treturn `no usage info in ${runtimes.join(\", \")}`;\n\t\t\t\t\tcase UsageState.Unknown:\n\t\t\t\t\t\treturn `maybe used in ${runtimes.join(\", \")} (runtime-defined)`;\n\t\t\t\t\tcase UsageState.Used:\n\t\t\t\t\t\treturn `used in ${runtimes.join(\", \")}`;\n\t\t\t\t\tcase UsageState.OnlyPropertiesUsed:\n\t\t\t\t\t\treturn `only properties used in ${runtimes.join(\", \")}`;\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (specificInfo.length > 0) {\n\t\t\t\treturn specificInfo.join(\"; \");\n\t\t\t}\n\t\t}\n\t\treturn this._hasUseInRuntimeInfo ? \"unused\" : \"no usage info\";\n\t}\n\n\tgetProvidedInfo() {\n\t\tswitch (this.provided) {\n\t\t\tcase undefined:\n\t\t\t\treturn \"no provided info\";\n\t\t\tcase null:\n\t\t\t\treturn \"maybe provided (runtime-defined)\";\n\t\t\tcase true:\n\t\t\t\treturn \"provided\";\n\t\t\tcase false:\n\t\t\t\treturn \"not provided\";\n\t\t}\n\t}\n\n\tgetRenameInfo() {\n\t\tif (this._usedName !== null && this._usedName !== this.name) {\n\t\t\treturn `renamed to ${JSON.stringify(this._usedName).slice(1, -1)}`;\n\t\t}\n\t\tswitch (this.canMangleProvide) {\n\t\t\tcase undefined:\n\t\t\t\tswitch (this.canMangleUse) {\n\t\t\t\t\tcase undefined:\n\t\t\t\t\t\treturn \"missing provision and use info prevents renaming\";\n\t\t\t\t\tcase false:\n\t\t\t\t\t\treturn \"usage prevents renaming (no provision info)\";\n\t\t\t\t\tcase true:\n\t\t\t\t\t\treturn \"missing provision info prevents renaming\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase true:\n\t\t\t\tswitch (this.canMangleUse) {\n\t\t\t\t\tcase undefined:\n\t\t\t\t\t\treturn \"missing usage info prevents renaming\";\n\t\t\t\t\tcase false:\n\t\t\t\t\t\treturn \"usage prevents renaming\";\n\t\t\t\t\tcase true:\n\t\t\t\t\t\treturn \"could be renamed\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase false:\n\t\t\t\tswitch (this.canMangleUse) {\n\t\t\t\t\tcase undefined:\n\t\t\t\t\t\treturn \"provision prevents renaming (no use info)\";\n\t\t\t\t\tcase false:\n\t\t\t\t\t\treturn \"usage and provision prevents renaming\";\n\t\t\t\t\tcase true:\n\t\t\t\t\t\treturn \"provision prevents renaming\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t\tthrow new Error(\n\t\t\t`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`\n\t\t);\n\t}\n}\n\nmodule.exports = ExportsInfo;\nmodule.exports.ExportInfo = ExportInfo;\nmodule.exports.UsageState = UsageState;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ExportsInfo.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ExportsInfoApiPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/ExportsInfoApiPlugin.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ExportsInfoDependency = __webpack_require__(/*! ./dependencies/ExportsInfoDependency */ \"./node_modules/webpack/lib/dependencies/ExportsInfoDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\nclass ExportsInfoApiPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ExportsInfoApiPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tExportsInfoDependency,\n\t\t\t\t\tnew ExportsInfoDependency.Template()\n\t\t\t\t);\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tparser.hooks.expressionMemberChain\n\t\t\t\t\t\t.for(\"__webpack_exports_info__\")\n\t\t\t\t\t\t.tap(\"ExportsInfoApiPlugin\", (expr, members) => {\n\t\t\t\t\t\t\tconst dep =\n\t\t\t\t\t\t\t\tmembers.length >= 2\n\t\t\t\t\t\t\t\t\t? new ExportsInfoDependency(\n\t\t\t\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t\t\t\tmembers.slice(0, -1),\n\t\t\t\t\t\t\t\t\t\t\tmembers[members.length - 1]\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: new ExportsInfoDependency(expr.range, null, members[0]);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"__webpack_exports_info__\")\n\t\t\t\t\t\t.tap(\"ExportsInfoApiPlugin\", expr => {\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"true\", expr.range);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ExportsInfoApiPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"ExportsInfoApiPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ExportsInfoApiPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ExportsInfoApiPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ExportsInfoApiPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ExternalModule.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/ExternalModule.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { OriginalSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ConcatenationScope = __webpack_require__(/*! ./ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst { UsageState } = __webpack_require__(/*! ./ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst InitFragment = __webpack_require__(/*! ./InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ./dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst extractUrlAndGlobal = __webpack_require__(/*! ./util/extractUrlAndGlobal */ \"./node_modules/webpack/lib/util/extractUrlAndGlobal.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ./util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { register } = __webpack_require__(/*! ./util/serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"./Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./NormalModuleFactory\")} NormalModuleFactory */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./javascript/JavascriptModulesPlugin\").ChunkRenderContext} ChunkRenderContext */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {typeof import(\"./util/Hash\")} HashConstructor */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} SourceData\n * @property {boolean=} iife\n * @property {string=} init\n * @property {string} expression\n * @property {InitFragment<ChunkRenderContext>[]=} chunkInitFragments\n * @property {ReadonlySet<string>=} runtimeRequirements\n */\n\nconst TYPES = new Set([\"javascript\"]);\nconst CSS_TYPES = new Set([\"css-import\"]);\nconst RUNTIME_REQUIREMENTS = new Set([RuntimeGlobals.module]);\nconst RUNTIME_REQUIREMENTS_FOR_SCRIPT = new Set([RuntimeGlobals.loadScript]);\nconst RUNTIME_REQUIREMENTS_FOR_MODULE = new Set([\n\tRuntimeGlobals.definePropertyGetters\n]);\nconst EMPTY_RUNTIME_REQUIREMENTS = new Set([]);\n\n/**\n * @param {string|string[]} variableName the variable name or path\n * @param {string} type the module system\n * @returns {SourceData} the generated source\n */\nconst getSourceForGlobalVariableExternal = (variableName, type) => {\n\tif (!Array.isArray(variableName)) {\n\t\t// make it an array as the look up works the same basically\n\t\tvariableName = [variableName];\n\t}\n\n\t// needed for e.g. window[\"some\"][\"thing\"]\n\tconst objectLookup = variableName.map(r => `[${JSON.stringify(r)}]`).join(\"\");\n\treturn {\n\t\tiife: type === \"this\",\n\t\texpression: `${type}${objectLookup}`\n\t};\n};\n\n/**\n * @param {string|string[]} moduleAndSpecifiers the module request\n * @returns {SourceData} the generated source\n */\nconst getSourceForCommonJsExternal = moduleAndSpecifiers => {\n\tif (!Array.isArray(moduleAndSpecifiers)) {\n\t\treturn {\n\t\t\texpression: `require(${JSON.stringify(moduleAndSpecifiers)})`\n\t\t};\n\t}\n\tconst moduleName = moduleAndSpecifiers[0];\n\treturn {\n\t\texpression: `require(${JSON.stringify(moduleName)})${propertyAccess(\n\t\t\tmoduleAndSpecifiers,\n\t\t\t1\n\t\t)}`\n\t};\n};\n\n/**\n * @param {string|string[]} moduleAndSpecifiers the module request\n * @returns {SourceData} the generated source\n */\nconst getSourceForCommonJsExternalInNodeModule = moduleAndSpecifiers => {\n\tconst chunkInitFragments = [\n\t\tnew InitFragment(\n\t\t\t'import { createRequire as __WEBPACK_EXTERNAL_createRequire } from \"module\";\\n',\n\t\t\tInitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t0,\n\t\t\t\"external module node-commonjs\"\n\t\t)\n\t];\n\tif (!Array.isArray(moduleAndSpecifiers)) {\n\t\treturn {\n\t\t\texpression: `__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(\n\t\t\t\tmoduleAndSpecifiers\n\t\t\t)})`,\n\t\t\tchunkInitFragments\n\t\t};\n\t}\n\tconst moduleName = moduleAndSpecifiers[0];\n\treturn {\n\t\texpression: `__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(\n\t\t\tmoduleName\n\t\t)})${propertyAccess(moduleAndSpecifiers, 1)}`,\n\t\tchunkInitFragments\n\t};\n};\n\n/**\n * @param {string|string[]} moduleAndSpecifiers the module request\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @returns {SourceData} the generated source\n */\nconst getSourceForImportExternal = (moduleAndSpecifiers, runtimeTemplate) => {\n\tconst importName = runtimeTemplate.outputOptions.importFunctionName;\n\tif (!runtimeTemplate.supportsDynamicImport() && importName === \"import\") {\n\t\tthrow new Error(\n\t\t\t\"The target environment doesn't support 'import()' so it's not possible to use external type 'import'\"\n\t\t);\n\t}\n\tif (!Array.isArray(moduleAndSpecifiers)) {\n\t\treturn {\n\t\t\texpression: `${importName}(${JSON.stringify(moduleAndSpecifiers)});`\n\t\t};\n\t}\n\tif (moduleAndSpecifiers.length === 1) {\n\t\treturn {\n\t\t\texpression: `${importName}(${JSON.stringify(moduleAndSpecifiers[0])});`\n\t\t};\n\t}\n\tconst moduleName = moduleAndSpecifiers[0];\n\treturn {\n\t\texpression: `${importName}(${JSON.stringify(\n\t\t\tmoduleName\n\t\t)}).then(${runtimeTemplate.returningFunction(\n\t\t\t`module${propertyAccess(moduleAndSpecifiers, 1)}`,\n\t\t\t\"module\"\n\t\t)});`\n\t};\n};\n\nclass ModuleExternalInitFragment extends InitFragment {\n\t/**\n\t * @param {string} request import source\n\t * @param {string=} ident recomputed ident\n\t * @param {string | HashConstructor=} hashFunction the hash function to use\n\t */\n\tconstructor(request, ident, hashFunction = \"md4\") {\n\t\tif (ident === undefined) {\n\t\t\tident = Template.toIdentifier(request);\n\t\t\tif (ident !== request) {\n\t\t\t\tident += `_${createHash(hashFunction)\n\t\t\t\t\t.update(request)\n\t\t\t\t\t.digest(\"hex\")\n\t\t\t\t\t.slice(0, 8)}`;\n\t\t\t}\n\t\t}\n\t\tconst identifier = `__WEBPACK_EXTERNAL_MODULE_${ident}__`;\n\t\tsuper(\n\t\t\t`import * as ${identifier} from ${JSON.stringify(request)};\\n`,\n\t\t\tInitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t0,\n\t\t\t`external module import ${ident}`\n\t\t);\n\t\tthis._ident = ident;\n\t\tthis._identifier = identifier;\n\t\tthis._request = request;\n\t}\n\n\tgetNamespaceIdentifier() {\n\t\treturn this._identifier;\n\t}\n}\n\nregister(\n\tModuleExternalInitFragment,\n\t\"webpack/lib/ExternalModule\",\n\t\"ModuleExternalInitFragment\",\n\t{\n\t\tserialize(obj, { write }) {\n\t\t\twrite(obj._request);\n\t\t\twrite(obj._ident);\n\t\t},\n\t\tdeserialize({ read }) {\n\t\t\treturn new ModuleExternalInitFragment(read(), read());\n\t\t}\n\t}\n);\n\nconst generateModuleRemapping = (input, exportsInfo, runtime) => {\n\tif (exportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused) {\n\t\tconst properties = [];\n\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\tconst used = exportInfo.getUsedName(exportInfo.name, runtime);\n\t\t\tif (!used) continue;\n\t\t\tconst nestedInfo = exportInfo.getNestedExportsInfo();\n\t\t\tif (nestedInfo) {\n\t\t\t\tconst nestedExpr = generateModuleRemapping(\n\t\t\t\t\t`${input}${propertyAccess([exportInfo.name])}`,\n\t\t\t\t\tnestedInfo\n\t\t\t\t);\n\t\t\t\tif (nestedExpr) {\n\t\t\t\t\tproperties.push(`[${JSON.stringify(used)}]: y(${nestedExpr})`);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tproperties.push(\n\t\t\t\t`[${JSON.stringify(used)}]: () => ${input}${propertyAccess([\n\t\t\t\t\texportInfo.name\n\t\t\t\t])}`\n\t\t\t);\n\t\t}\n\t\treturn `x({ ${properties.join(\", \")} })`;\n\t}\n};\n\n/**\n * @param {string|string[]} moduleAndSpecifiers the module request\n * @param {ExportsInfo} exportsInfo exports info of this module\n * @param {RuntimeSpec} runtime the runtime\n * @param {string | HashConstructor=} hashFunction the hash function to use\n * @returns {SourceData} the generated source\n */\nconst getSourceForModuleExternal = (\n\tmoduleAndSpecifiers,\n\texportsInfo,\n\truntime,\n\thashFunction\n) => {\n\tif (!Array.isArray(moduleAndSpecifiers))\n\t\tmoduleAndSpecifiers = [moduleAndSpecifiers];\n\tconst initFragment = new ModuleExternalInitFragment(\n\t\tmoduleAndSpecifiers[0],\n\t\tundefined,\n\t\thashFunction\n\t);\n\tconst baseAccess = `${initFragment.getNamespaceIdentifier()}${propertyAccess(\n\t\tmoduleAndSpecifiers,\n\t\t1\n\t)}`;\n\tconst moduleRemapping = generateModuleRemapping(\n\t\tbaseAccess,\n\t\texportsInfo,\n\t\truntime\n\t);\n\tlet expression = moduleRemapping || baseAccess;\n\treturn {\n\t\texpression,\n\t\tinit: `var x = y => { var x = {}; ${RuntimeGlobals.definePropertyGetters}(x, y); return x; }\\nvar y = x => () => x`,\n\t\truntimeRequirements: moduleRemapping\n\t\t\t? RUNTIME_REQUIREMENTS_FOR_MODULE\n\t\t\t: undefined,\n\t\tchunkInitFragments: [initFragment]\n\t};\n};\n\n/**\n * @param {string|string[]} urlAndGlobal the script request\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @returns {SourceData} the generated source\n */\nconst getSourceForScriptExternal = (urlAndGlobal, runtimeTemplate) => {\n\tif (typeof urlAndGlobal === \"string\") {\n\t\turlAndGlobal = extractUrlAndGlobal(urlAndGlobal);\n\t}\n\tconst url = urlAndGlobal[0];\n\tconst globalName = urlAndGlobal[1];\n\treturn {\n\t\tinit: \"var __webpack_error__ = new Error();\",\n\t\texpression: `new Promise(${runtimeTemplate.basicFunction(\n\t\t\t\"resolve, reject\",\n\t\t\t[\n\t\t\t\t`if(typeof ${globalName} !== \"undefined\") return resolve();`,\n\t\t\t\t`${RuntimeGlobals.loadScript}(${JSON.stringify(\n\t\t\t\t\turl\n\t\t\t\t)}, ${runtimeTemplate.basicFunction(\"event\", [\n\t\t\t\t\t`if(typeof ${globalName} !== \"undefined\") return resolve();`,\n\t\t\t\t\t\"var errorType = event && (event.type === 'load' ? 'missing' : event.type);\",\n\t\t\t\t\t\"var realSrc = event && event.target && event.target.src;\",\n\t\t\t\t\t\"__webpack_error__.message = 'Loading script failed.\\\\n(' + errorType + ': ' + realSrc + ')';\",\n\t\t\t\t\t\"__webpack_error__.name = 'ScriptExternalLoadError';\",\n\t\t\t\t\t\"__webpack_error__.type = errorType;\",\n\t\t\t\t\t\"__webpack_error__.request = realSrc;\",\n\t\t\t\t\t\"reject(__webpack_error__);\"\n\t\t\t\t])}, ${JSON.stringify(globalName)});`\n\t\t\t]\n\t\t)}).then(${runtimeTemplate.returningFunction(\n\t\t\t`${globalName}${propertyAccess(urlAndGlobal, 2)}`\n\t\t)})`,\n\t\truntimeRequirements: RUNTIME_REQUIREMENTS_FOR_SCRIPT\n\t};\n};\n\n/**\n * @param {string} variableName the variable name to check\n * @param {string} request the request path\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @returns {string} the generated source\n */\nconst checkExternalVariable = (variableName, request, runtimeTemplate) => {\n\treturn `if(typeof ${variableName} === 'undefined') { ${runtimeTemplate.throwMissingModuleErrorBlock(\n\t\t{ request }\n\t)} }\\n`;\n};\n\n/**\n * @param {string|number} id the module id\n * @param {boolean} optional true, if the module is optional\n * @param {string|string[]} request the request path\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @returns {SourceData} the generated source\n */\nconst getSourceForAmdOrUmdExternal = (\n\tid,\n\toptional,\n\trequest,\n\truntimeTemplate\n) => {\n\tconst externalVariable = `__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(\n\t\t`${id}`\n\t)}__`;\n\treturn {\n\t\tinit: optional\n\t\t\t? checkExternalVariable(\n\t\t\t\t\texternalVariable,\n\t\t\t\t\tArray.isArray(request) ? request.join(\".\") : request,\n\t\t\t\t\truntimeTemplate\n\t\t\t )\n\t\t\t: undefined,\n\t\texpression: externalVariable\n\t};\n};\n\n/**\n * @param {boolean} optional true, if the module is optional\n * @param {string|string[]} request the request path\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @returns {SourceData} the generated source\n */\nconst getSourceForDefaultCase = (optional, request, runtimeTemplate) => {\n\tif (!Array.isArray(request)) {\n\t\t// make it an array as the look up works the same basically\n\t\trequest = [request];\n\t}\n\n\tconst variableName = request[0];\n\tconst objectLookup = propertyAccess(request, 1);\n\treturn {\n\t\tinit: optional\n\t\t\t? checkExternalVariable(variableName, request.join(\".\"), runtimeTemplate)\n\t\t\t: undefined,\n\t\texpression: `${variableName}${objectLookup}`\n\t};\n};\n\nclass ExternalModule extends Module {\n\tconstructor(request, type, userRequest) {\n\t\tsuper(\"javascript/dynamic\", null);\n\n\t\t// Info from Factory\n\t\t/** @type {string | string[] | Record<string, string | string[]>} */\n\t\tthis.request = request;\n\t\t/** @type {string} */\n\t\tthis.externalType = type;\n\t\t/** @type {string} */\n\t\tthis.userRequest = userRequest;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn this.externalType === \"css-import\" ? CSS_TYPES : TYPES;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn this.userRequest;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk which condition should be checked\n\t * @param {Compilation} compilation the compilation\n\t * @returns {boolean} true, if the chunk is ok for the module\n\t */\n\tchunkCondition(chunk, { chunkGraph }) {\n\t\treturn this.externalType === \"css-import\"\n\t\t\t? true\n\t\t\t: chunkGraph.getNumberOfEntryModules(chunk) > 0;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `external ${this.externalType} ${JSON.stringify(this.request)}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn \"external \" + JSON.stringify(this.request);\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {\n\t\t\tasync: false,\n\t\t\texportsType: undefined\n\t\t};\n\t\tthis.buildInfo = {\n\t\t\tstrict: true,\n\t\t\ttopLevelDeclarations: new Set(),\n\t\t\tmodule: compilation.outputOptions.module\n\t\t};\n\t\tconst { request, externalType } = this._getRequestAndExternalType();\n\t\tthis.buildMeta.exportsType = \"dynamic\";\n\t\tlet canMangle = false;\n\t\tthis.clearDependenciesAndBlocks();\n\t\tswitch (externalType) {\n\t\t\tcase \"this\":\n\t\t\t\tthis.buildInfo.strict = false;\n\t\t\t\tbreak;\n\t\t\tcase \"system\":\n\t\t\t\tif (!Array.isArray(request) || request.length === 1) {\n\t\t\t\t\tthis.buildMeta.exportsType = \"namespace\";\n\t\t\t\t\tcanMangle = true;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"module\":\n\t\t\t\tif (this.buildInfo.module) {\n\t\t\t\t\tif (!Array.isArray(request) || request.length === 1) {\n\t\t\t\t\t\tthis.buildMeta.exportsType = \"namespace\";\n\t\t\t\t\t\tcanMangle = true;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.buildMeta.async = true;\n\t\t\t\t\tif (!Array.isArray(request) || request.length === 1) {\n\t\t\t\t\t\tthis.buildMeta.exportsType = \"namespace\";\n\t\t\t\t\t\tcanMangle = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"script\":\n\t\t\tcase \"promise\":\n\t\t\t\tthis.buildMeta.async = true;\n\t\t\t\tbreak;\n\t\t\tcase \"import\":\n\t\t\t\tthis.buildMeta.async = true;\n\t\t\t\tif (!Array.isArray(request) || request.length === 1) {\n\t\t\t\t\tthis.buildMeta.exportsType = \"namespace\";\n\t\t\t\t\tcanMangle = false;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.addDependency(new StaticExportsDependency(true, canMangle));\n\t\tcallback();\n\t}\n\n\trestoreFromUnsafeCache(unsafeCacheData, normalModuleFactory) {\n\t\tthis._restoreFromUnsafeCache(unsafeCacheData, normalModuleFactory);\n\t}\n\n\t/**\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason({ moduleGraph }) {\n\t\tswitch (this.externalType) {\n\t\t\tcase \"amd\":\n\t\t\tcase \"amd-require\":\n\t\t\tcase \"umd\":\n\t\t\tcase \"umd2\":\n\t\t\tcase \"system\":\n\t\t\tcase \"jsonp\":\n\t\t\t\treturn `${this.externalType} externals can't be concatenated`;\n\t\t}\n\t\treturn undefined;\n\t}\n\n\t_getRequestAndExternalType() {\n\t\tlet { request, externalType } = this;\n\t\tif (typeof request === \"object\" && !Array.isArray(request))\n\t\t\trequest = request[externalType];\n\t\treturn { request, externalType };\n\t}\n\n\t_getSourceData(\n\t\trequest,\n\t\texternalType,\n\t\truntimeTemplate,\n\t\tmoduleGraph,\n\t\tchunkGraph,\n\t\truntime\n\t) {\n\t\tswitch (externalType) {\n\t\t\tcase \"this\":\n\t\t\tcase \"window\":\n\t\t\tcase \"self\":\n\t\t\t\treturn getSourceForGlobalVariableExternal(request, this.externalType);\n\t\t\tcase \"global\":\n\t\t\t\treturn getSourceForGlobalVariableExternal(\n\t\t\t\t\trequest,\n\t\t\t\t\truntimeTemplate.globalObject\n\t\t\t\t);\n\t\t\tcase \"commonjs\":\n\t\t\tcase \"commonjs2\":\n\t\t\tcase \"commonjs-module\":\n\t\t\tcase \"commonjs-static\":\n\t\t\t\treturn getSourceForCommonJsExternal(request);\n\t\t\tcase \"node-commonjs\":\n\t\t\t\treturn this.buildInfo.module\n\t\t\t\t\t? getSourceForCommonJsExternalInNodeModule(request)\n\t\t\t\t\t: getSourceForCommonJsExternal(request);\n\t\t\tcase \"amd\":\n\t\t\tcase \"amd-require\":\n\t\t\tcase \"umd\":\n\t\t\tcase \"umd2\":\n\t\t\tcase \"system\":\n\t\t\tcase \"jsonp\": {\n\t\t\t\tconst id = chunkGraph.getModuleId(this);\n\t\t\t\treturn getSourceForAmdOrUmdExternal(\n\t\t\t\t\tid !== null ? id : this.identifier(),\n\t\t\t\t\tthis.isOptional(moduleGraph),\n\t\t\t\t\trequest,\n\t\t\t\t\truntimeTemplate\n\t\t\t\t);\n\t\t\t}\n\t\t\tcase \"import\":\n\t\t\t\treturn getSourceForImportExternal(request, runtimeTemplate);\n\t\t\tcase \"script\":\n\t\t\t\treturn getSourceForScriptExternal(request, runtimeTemplate);\n\t\t\tcase \"module\": {\n\t\t\t\tif (!this.buildInfo.module) {\n\t\t\t\t\tif (!runtimeTemplate.supportsDynamicImport()) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\"The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script\" +\n\t\t\t\t\t\t\t\t(runtimeTemplate.supportsEcmaScriptModuleSyntax()\n\t\t\t\t\t\t\t\t\t? \"\\nDid you mean to build a EcmaScript Module ('output.module: true')?\"\n\t\t\t\t\t\t\t\t\t: \"\")\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn getSourceForImportExternal(request, runtimeTemplate);\n\t\t\t\t}\n\t\t\t\tif (!runtimeTemplate.supportsEcmaScriptModuleSyntax()) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn getSourceForModuleExternal(\n\t\t\t\t\trequest,\n\t\t\t\t\tmoduleGraph.getExportsInfo(this),\n\t\t\t\t\truntime,\n\t\t\t\t\truntimeTemplate.outputOptions.hashFunction\n\t\t\t\t);\n\t\t\t}\n\t\t\tcase \"var\":\n\t\t\tcase \"promise\":\n\t\t\tcase \"const\":\n\t\t\tcase \"let\":\n\t\t\tcase \"assign\":\n\t\t\tdefault:\n\t\t\t\treturn getSourceForDefaultCase(\n\t\t\t\t\tthis.isOptional(moduleGraph),\n\t\t\t\t\trequest,\n\t\t\t\t\truntimeTemplate\n\t\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({\n\t\truntimeTemplate,\n\t\tmoduleGraph,\n\t\tchunkGraph,\n\t\truntime,\n\t\tconcatenationScope\n\t}) {\n\t\tconst { request, externalType } = this._getRequestAndExternalType();\n\t\tswitch (externalType) {\n\t\t\tcase \"asset\": {\n\t\t\t\tconst sources = new Map();\n\t\t\t\tsources.set(\n\t\t\t\t\t\"javascript\",\n\t\t\t\t\tnew RawSource(`module.exports = ${JSON.stringify(request)};`)\n\t\t\t\t);\n\t\t\t\tconst data = new Map();\n\t\t\t\tdata.set(\"url\", request);\n\t\t\t\treturn { sources, runtimeRequirements: RUNTIME_REQUIREMENTS, data };\n\t\t\t}\n\t\t\tcase \"css-import\": {\n\t\t\t\tconst sources = new Map();\n\t\t\t\tsources.set(\n\t\t\t\t\t\"css-import\",\n\t\t\t\t\tnew RawSource(`@import url(${JSON.stringify(request)});`)\n\t\t\t\t);\n\t\t\t\treturn {\n\t\t\t\t\tsources,\n\t\t\t\t\truntimeRequirements: EMPTY_RUNTIME_REQUIREMENTS\n\t\t\t\t};\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst sourceData = this._getSourceData(\n\t\t\t\t\trequest,\n\t\t\t\t\texternalType,\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\tmoduleGraph,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime\n\t\t\t\t);\n\n\t\t\t\tlet sourceString = sourceData.expression;\n\t\t\t\tif (sourceData.iife)\n\t\t\t\t\tsourceString = `(function() { return ${sourceString}; }())`;\n\t\t\t\tif (concatenationScope) {\n\t\t\t\t\tsourceString = `${\n\t\t\t\t\t\truntimeTemplate.supportsConst() ? \"const\" : \"var\"\n\t\t\t\t\t} ${ConcatenationScope.NAMESPACE_OBJECT_EXPORT} = ${sourceString};`;\n\t\t\t\t\tconcatenationScope.registerNamespaceExport(\n\t\t\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsourceString = `module.exports = ${sourceString};`;\n\t\t\t\t}\n\t\t\t\tif (sourceData.init)\n\t\t\t\t\tsourceString = `${sourceData.init}\\n${sourceString}`;\n\n\t\t\t\tlet data = undefined;\n\t\t\t\tif (sourceData.chunkInitFragments) {\n\t\t\t\t\tdata = new Map();\n\t\t\t\t\tdata.set(\"chunkInitFragments\", sourceData.chunkInitFragments);\n\t\t\t\t}\n\n\t\t\t\tconst sources = new Map();\n\t\t\t\tif (this.useSourceMap || this.useSimpleSourceMap) {\n\t\t\t\t\tsources.set(\n\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\tnew OriginalSource(sourceString, this.identifier())\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsources.set(\"javascript\", new RawSource(sourceString));\n\t\t\t\t}\n\n\t\t\t\tlet runtimeRequirements = sourceData.runtimeRequirements;\n\t\t\t\tif (!concatenationScope) {\n\t\t\t\t\tif (!runtimeRequirements) {\n\t\t\t\t\t\truntimeRequirements = RUNTIME_REQUIREMENTS;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst set = new Set(runtimeRequirements);\n\t\t\t\t\t\tset.add(RuntimeGlobals.module);\n\t\t\t\t\t\truntimeRequirements = set;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn {\n\t\t\t\t\tsources,\n\t\t\t\t\truntimeRequirements:\n\t\t\t\t\t\truntimeRequirements || EMPTY_RUNTIME_REQUIREMENTS,\n\t\t\t\t\tdata\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 42;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tconst { chunkGraph } = context;\n\t\thash.update(\n\t\t\t`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(\n\t\t\t\tchunkGraph.moduleGraph\n\t\t\t)}`\n\t\t);\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.request);\n\t\twrite(this.externalType);\n\t\twrite(this.userRequest);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.request = read();\n\t\tthis.externalType = read();\n\t\tthis.userRequest = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ExternalModule, \"webpack/lib/ExternalModule\");\n\nmodule.exports = ExternalModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ExternalModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ExternalModuleFactoryPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/ExternalModuleFactoryPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst ExternalModule = __webpack_require__(/*! ./ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\nconst { resolveByProperty, cachedSetProperty } = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").Externals} Externals */\n/** @typedef {import(\"./NormalModuleFactory\")} NormalModuleFactory */\n\nconst UNSPECIFIED_EXTERNAL_TYPE_REGEXP = /^[a-z0-9-]+ /;\nconst EMPTY_RESOLVE_OPTIONS = {};\n\n// TODO webpack 6 remove this\nconst callDeprecatedExternals = util.deprecate(\n\t(externalsFunction, context, request, cb) => {\n\t\texternalsFunction.call(null, context, request, cb);\n\t},\n\t\"The externals-function should be defined like ({context, request}, cb) => { ... }\",\n\t\"DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS\"\n);\n\nconst cache = new WeakMap();\n\nconst resolveLayer = (obj, layer) => {\n\tlet map = cache.get(obj);\n\tif (map === undefined) {\n\t\tmap = new Map();\n\t\tcache.set(obj, map);\n\t} else {\n\t\tconst cacheEntry = map.get(layer);\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t}\n\tconst result = resolveByProperty(obj, \"byLayer\", layer);\n\tmap.set(layer, result);\n\treturn result;\n};\n\nclass ExternalModuleFactoryPlugin {\n\t/**\n\t * @param {string | undefined} type default external type\n\t * @param {Externals} externals externals config\n\t */\n\tconstructor(type, externals) {\n\t\tthis.type = type;\n\t\tthis.externals = externals;\n\t}\n\n\t/**\n\t * @param {NormalModuleFactory} normalModuleFactory the normal module factory\n\t * @returns {void}\n\t */\n\tapply(normalModuleFactory) {\n\t\tconst globalType = this.type;\n\t\tnormalModuleFactory.hooks.factorize.tapAsync(\n\t\t\t\"ExternalModuleFactoryPlugin\",\n\t\t\t(data, callback) => {\n\t\t\t\tconst context = data.context;\n\t\t\t\tconst contextInfo = data.contextInfo;\n\t\t\t\tconst dependency = data.dependencies[0];\n\t\t\t\tconst dependencyType = data.dependencyType;\n\n\t\t\t\t/**\n\t\t\t\t * @param {string|string[]|boolean|Record<string, string|string[]>} value the external config\n\t\t\t\t * @param {string|undefined} type type of external\n\t\t\t\t * @param {function(Error=, ExternalModule=): void} callback callback\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handleExternal = (value, type, callback) => {\n\t\t\t\t\tif (value === false) {\n\t\t\t\t\t\t// Not externals, fallback to original factory\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\t/** @type {string | string[] | Record<string, string|string[]>} */\n\t\t\t\t\tlet externalConfig;\n\t\t\t\t\tif (value === true) {\n\t\t\t\t\t\texternalConfig = dependency.request;\n\t\t\t\t\t} else {\n\t\t\t\t\t\texternalConfig = value;\n\t\t\t\t\t}\n\t\t\t\t\t// When no explicit type is specified, extract it from the externalConfig\n\t\t\t\t\tif (type === undefined) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof externalConfig === \"string\" &&\n\t\t\t\t\t\t\tUNSPECIFIED_EXTERNAL_TYPE_REGEXP.test(externalConfig)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst idx = externalConfig.indexOf(\" \");\n\t\t\t\t\t\t\ttype = externalConfig.slice(0, idx);\n\t\t\t\t\t\t\texternalConfig = externalConfig.slice(idx + 1);\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\tArray.isArray(externalConfig) &&\n\t\t\t\t\t\t\texternalConfig.length > 0 &&\n\t\t\t\t\t\t\tUNSPECIFIED_EXTERNAL_TYPE_REGEXP.test(externalConfig[0])\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst firstItem = externalConfig[0];\n\t\t\t\t\t\t\tconst idx = firstItem.indexOf(\" \");\n\t\t\t\t\t\t\ttype = firstItem.slice(0, idx);\n\t\t\t\t\t\t\texternalConfig = [\n\t\t\t\t\t\t\t\tfirstItem.slice(idx + 1),\n\t\t\t\t\t\t\t\t...externalConfig.slice(1)\n\t\t\t\t\t\t\t];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcallback(\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tnew ExternalModule(\n\t\t\t\t\t\t\texternalConfig,\n\t\t\t\t\t\t\ttype || globalType,\n\t\t\t\t\t\t\tdependency.request\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {Externals} externals externals config\n\t\t\t\t * @param {function((Error | null)=, ExternalModule=): void} callback callback\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handleExternals = (externals, callback) => {\n\t\t\t\t\tif (typeof externals === \"string\") {\n\t\t\t\t\t\tif (externals === dependency.request) {\n\t\t\t\t\t\t\treturn handleExternal(dependency.request, undefined, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (Array.isArray(externals)) {\n\t\t\t\t\t\tlet i = 0;\n\t\t\t\t\t\tconst next = () => {\n\t\t\t\t\t\t\tlet asyncFlag;\n\t\t\t\t\t\t\tconst handleExternalsAndCallback = (err, module) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tif (!module) {\n\t\t\t\t\t\t\t\t\tif (asyncFlag) {\n\t\t\t\t\t\t\t\t\t\tasyncFlag = false;\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn next();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback(null, module);\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tdo {\n\t\t\t\t\t\t\t\tasyncFlag = true;\n\t\t\t\t\t\t\t\tif (i >= externals.length) return callback();\n\t\t\t\t\t\t\t\thandleExternals(externals[i++], handleExternalsAndCallback);\n\t\t\t\t\t\t\t} while (!asyncFlag);\n\t\t\t\t\t\t\tasyncFlag = false;\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tnext();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t} else if (externals instanceof RegExp) {\n\t\t\t\t\t\tif (externals.test(dependency.request)) {\n\t\t\t\t\t\t\treturn handleExternal(dependency.request, undefined, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (typeof externals === \"function\") {\n\t\t\t\t\t\tconst cb = (err, value, type) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\t\t\thandleExternal(value, type, callback);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (externals.length === 3) {\n\t\t\t\t\t\t\t// TODO webpack 6 remove this\n\t\t\t\t\t\t\tcallDeprecatedExternals(\n\t\t\t\t\t\t\t\texternals,\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\tdependency.request,\n\t\t\t\t\t\t\t\tcb\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst promise = externals(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\trequest: dependency.request,\n\t\t\t\t\t\t\t\t\tdependencyType,\n\t\t\t\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\t\t\t\tgetResolve: options => (context, request, callback) => {\n\t\t\t\t\t\t\t\t\t\tconst resolveContext = {\n\t\t\t\t\t\t\t\t\t\t\tfileDependencies: data.fileDependencies,\n\t\t\t\t\t\t\t\t\t\t\tmissingDependencies: data.missingDependencies,\n\t\t\t\t\t\t\t\t\t\t\tcontextDependencies: data.contextDependencies\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tlet resolver = normalModuleFactory.getResolver(\n\t\t\t\t\t\t\t\t\t\t\t\"normal\",\n\t\t\t\t\t\t\t\t\t\t\tdependencyType\n\t\t\t\t\t\t\t\t\t\t\t\t? cachedSetProperty(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.resolveOptions || EMPTY_RESOLVE_OPTIONS,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"dependencyType\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdependencyType\n\t\t\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t\t\t: data.resolveOptions\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (options) resolver = resolver.withOptions(options);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tresolver.resolve(\n\t\t\t\t\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t\t\t\t\t\t\t\tresolver.resolve(\n\t\t\t\t\t\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (err) reject(err);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse resolve(result);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tcb\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (promise && promise.then) promise.then(r => cb(null, r), cb);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t} else if (typeof externals === \"object\") {\n\t\t\t\t\t\tconst resolvedExternals = resolveLayer(\n\t\t\t\t\t\t\texternals,\n\t\t\t\t\t\t\tcontextInfo.issuerLayer\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tObject.prototype.hasOwnProperty.call(\n\t\t\t\t\t\t\t\tresolvedExternals,\n\t\t\t\t\t\t\t\tdependency.request\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn handleExternal(\n\t\t\t\t\t\t\t\tresolvedExternals[dependency.request],\n\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcallback();\n\t\t\t\t};\n\n\t\t\t\thandleExternals(this.externals, callback);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = ExternalModuleFactoryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ExternalModuleFactoryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ExternalsPlugin.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/ExternalsPlugin.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ExternalModuleFactoryPlugin = __webpack_require__(/*! ./ExternalModuleFactoryPlugin */ \"./node_modules/webpack/lib/ExternalModuleFactoryPlugin.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").Externals} Externals */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass ExternalsPlugin {\n\t/**\n\t * @param {string | undefined} type default external type\n\t * @param {Externals} externals externals config\n\t */\n\tconstructor(type, externals) {\n\t\tthis.type = type;\n\t\tthis.externals = externals;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compile.tap(\"ExternalsPlugin\", ({ normalModuleFactory }) => {\n\t\t\tnew ExternalModuleFactoryPlugin(this.type, this.externals).apply(\n\t\t\t\tnormalModuleFactory\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = ExternalsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ExternalsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/FileSystemInfo.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/FileSystemInfo.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { create: createResolver } = __webpack_require__(/*! enhanced-resolve */ \"./node_modules/enhanced-resolve/lib/index.js\");\nconst nodeModule = __webpack_require__(/*! module */ \"?1bfb\");\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst { isAbsolute } = __webpack_require__(/*! path */ \"?6559\");\nconst AsyncQueue = __webpack_require__(/*! ./util/AsyncQueue */ \"./node_modules/webpack/lib/util/AsyncQueue.js\");\nconst StackedCacheMap = __webpack_require__(/*! ./util/StackedCacheMap */ \"./node_modules/webpack/lib/util/StackedCacheMap.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { join, dirname, relative, lstatReadlinkAbsolute } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst processAsyncTree = __webpack_require__(/*! ./util/processAsyncTree */ \"./node_modules/webpack/lib/util/processAsyncTree.js\");\n\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./logging/Logger\").Logger} Logger */\n/** @typedef {typeof import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").IStats} IStats */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst supportsEsm = +process.versions.modules >= 83;\n\nconst builtinModules = new Set(nodeModule.builtinModules);\n\nlet FS_ACCURACY = 2000;\n\nconst EMPTY_SET = new Set();\n\nconst RBDT_RESOLVE_CJS = 0;\nconst RBDT_RESOLVE_ESM = 1;\nconst RBDT_RESOLVE_DIRECTORY = 2;\nconst RBDT_RESOLVE_CJS_FILE = 3;\nconst RBDT_RESOLVE_CJS_FILE_AS_CHILD = 4;\nconst RBDT_RESOLVE_ESM_FILE = 5;\nconst RBDT_DIRECTORY = 6;\nconst RBDT_FILE = 7;\nconst RBDT_DIRECTORY_DEPENDENCIES = 8;\nconst RBDT_FILE_DEPENDENCIES = 9;\n\nconst INVALID = Symbol(\"invalid\");\n\n/**\n * @typedef {Object} FileSystemInfoEntry\n * @property {number} safeTime\n * @property {number=} timestamp\n */\n\n/**\n * @typedef {Object} ResolvedContextFileSystemInfoEntry\n * @property {number} safeTime\n * @property {string=} timestampHash\n */\n\n/**\n * @typedef {Object} ContextFileSystemInfoEntry\n * @property {number} safeTime\n * @property {string=} timestampHash\n * @property {ResolvedContextFileSystemInfoEntry=} resolved\n * @property {Set<string>=} symlinks\n */\n\n/**\n * @typedef {Object} TimestampAndHash\n * @property {number} safeTime\n * @property {number=} timestamp\n * @property {string} hash\n */\n\n/**\n * @typedef {Object} ResolvedContextTimestampAndHash\n * @property {number} safeTime\n * @property {string=} timestampHash\n * @property {string} hash\n */\n\n/**\n * @typedef {Object} ContextTimestampAndHash\n * @property {number} safeTime\n * @property {string=} timestampHash\n * @property {string} hash\n * @property {ResolvedContextTimestampAndHash=} resolved\n * @property {Set<string>=} symlinks\n */\n\n/**\n * @typedef {Object} ContextHash\n * @property {string} hash\n * @property {string=} resolved\n * @property {Set<string>=} symlinks\n */\n\n/**\n * @typedef {Object} SnapshotOptimizationEntry\n * @property {Snapshot} snapshot\n * @property {number} shared\n * @property {Set<string>} snapshotContent\n * @property {Set<SnapshotOptimizationEntry>} children\n */\n\n/**\n * @typedef {Object} ResolveBuildDependenciesResult\n * @property {Set<string>} files list of files\n * @property {Set<string>} directories list of directories\n * @property {Set<string>} missing list of missing entries\n * @property {Map<string, string | false>} resolveResults stored resolve results\n * @property {Object} resolveDependencies dependencies of the resolving\n * @property {Set<string>} resolveDependencies.files list of files\n * @property {Set<string>} resolveDependencies.directories list of directories\n * @property {Set<string>} resolveDependencies.missing list of missing entries\n */\n\nconst DONE_ITERATOR_RESULT = new Set().keys().next();\n\n// cspell:word tshs\n// Tsh = Timestamp + Hash\n// Tshs = Timestamp + Hash combinations\n\nclass SnapshotIterator {\n\tconstructor(next) {\n\t\tthis.next = next;\n\t}\n}\n\nclass SnapshotIterable {\n\tconstructor(snapshot, getMaps) {\n\t\tthis.snapshot = snapshot;\n\t\tthis.getMaps = getMaps;\n\t}\n\n\t[Symbol.iterator]() {\n\t\tlet state = 0;\n\t\t/** @type {IterableIterator<string>} */\n\t\tlet it;\n\t\t/** @type {(Snapshot) => (Map<string, any> | Set<string>)[]} */\n\t\tlet getMaps;\n\t\t/** @type {(Map<string, any> | Set<string>)[]} */\n\t\tlet maps;\n\t\t/** @type {Snapshot} */\n\t\tlet snapshot;\n\t\tlet queue;\n\t\treturn new SnapshotIterator(() => {\n\t\t\tfor (;;) {\n\t\t\t\tswitch (state) {\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tsnapshot = this.snapshot;\n\t\t\t\t\t\tgetMaps = this.getMaps;\n\t\t\t\t\t\tmaps = getMaps(snapshot);\n\t\t\t\t\t\tstate = 1;\n\t\t\t\t\t/* falls through */\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tif (maps.length > 0) {\n\t\t\t\t\t\t\tconst map = maps.pop();\n\t\t\t\t\t\t\tif (map !== undefined) {\n\t\t\t\t\t\t\t\tit = map.keys();\n\t\t\t\t\t\t\t\tstate = 2;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate = 3;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t/* falls through */\n\t\t\t\t\tcase 2: {\n\t\t\t\t\t\tconst result = it.next();\n\t\t\t\t\t\tif (!result.done) return result;\n\t\t\t\t\t\tstate = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase 3: {\n\t\t\t\t\t\tconst children = snapshot.children;\n\t\t\t\t\t\tif (children !== undefined) {\n\t\t\t\t\t\t\tif (children.size === 1) {\n\t\t\t\t\t\t\t\t// shortcut for a single child\n\t\t\t\t\t\t\t\t// avoids allocation of queue\n\t\t\t\t\t\t\t\tfor (const child of children) snapshot = child;\n\t\t\t\t\t\t\t\tmaps = getMaps(snapshot);\n\t\t\t\t\t\t\t\tstate = 1;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (queue === undefined) queue = [];\n\t\t\t\t\t\t\tfor (const child of children) {\n\t\t\t\t\t\t\t\tqueue.push(child);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (queue !== undefined && queue.length > 0) {\n\t\t\t\t\t\t\tsnapshot = queue.pop();\n\t\t\t\t\t\t\tmaps = getMaps(snapshot);\n\t\t\t\t\t\t\tstate = 1;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate = 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t/* falls through */\n\t\t\t\t\tcase 4:\n\t\t\t\t\t\treturn DONE_ITERATOR_RESULT;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n}\n\nclass Snapshot {\n\tconstructor() {\n\t\tthis._flags = 0;\n\t\t/** @type {Iterable<string> | undefined} */\n\t\tthis._cachedFileIterable = undefined;\n\t\t/** @type {Iterable<string> | undefined} */\n\t\tthis._cachedContextIterable = undefined;\n\t\t/** @type {Iterable<string> | undefined} */\n\t\tthis._cachedMissingIterable = undefined;\n\t\t/** @type {number | undefined} */\n\t\tthis.startTime = undefined;\n\t\t/** @type {Map<string, FileSystemInfoEntry | null> | undefined} */\n\t\tthis.fileTimestamps = undefined;\n\t\t/** @type {Map<string, string | null> | undefined} */\n\t\tthis.fileHashes = undefined;\n\t\t/** @type {Map<string, TimestampAndHash | string | null> | undefined} */\n\t\tthis.fileTshs = undefined;\n\t\t/** @type {Map<string, ResolvedContextFileSystemInfoEntry | null> | undefined} */\n\t\tthis.contextTimestamps = undefined;\n\t\t/** @type {Map<string, string | null> | undefined} */\n\t\tthis.contextHashes = undefined;\n\t\t/** @type {Map<string, ResolvedContextTimestampAndHash | null> | undefined} */\n\t\tthis.contextTshs = undefined;\n\t\t/** @type {Map<string, boolean> | undefined} */\n\t\tthis.missingExistence = undefined;\n\t\t/** @type {Map<string, string> | undefined} */\n\t\tthis.managedItemInfo = undefined;\n\t\t/** @type {Set<string> | undefined} */\n\t\tthis.managedFiles = undefined;\n\t\t/** @type {Set<string> | undefined} */\n\t\tthis.managedContexts = undefined;\n\t\t/** @type {Set<string> | undefined} */\n\t\tthis.managedMissing = undefined;\n\t\t/** @type {Set<Snapshot> | undefined} */\n\t\tthis.children = undefined;\n\t}\n\n\thasStartTime() {\n\t\treturn (this._flags & 1) !== 0;\n\t}\n\n\tsetStartTime(value) {\n\t\tthis._flags = this._flags | 1;\n\t\tthis.startTime = value;\n\t}\n\n\tsetMergedStartTime(value, snapshot) {\n\t\tif (value) {\n\t\t\tif (snapshot.hasStartTime()) {\n\t\t\t\tthis.setStartTime(Math.min(value, snapshot.startTime));\n\t\t\t} else {\n\t\t\t\tthis.setStartTime(value);\n\t\t\t}\n\t\t} else {\n\t\t\tif (snapshot.hasStartTime()) this.setStartTime(snapshot.startTime);\n\t\t}\n\t}\n\n\thasFileTimestamps() {\n\t\treturn (this._flags & 2) !== 0;\n\t}\n\n\tsetFileTimestamps(value) {\n\t\tthis._flags = this._flags | 2;\n\t\tthis.fileTimestamps = value;\n\t}\n\n\thasFileHashes() {\n\t\treturn (this._flags & 4) !== 0;\n\t}\n\n\tsetFileHashes(value) {\n\t\tthis._flags = this._flags | 4;\n\t\tthis.fileHashes = value;\n\t}\n\n\thasFileTshs() {\n\t\treturn (this._flags & 8) !== 0;\n\t}\n\n\tsetFileTshs(value) {\n\t\tthis._flags = this._flags | 8;\n\t\tthis.fileTshs = value;\n\t}\n\n\thasContextTimestamps() {\n\t\treturn (this._flags & 0x10) !== 0;\n\t}\n\n\tsetContextTimestamps(value) {\n\t\tthis._flags = this._flags | 0x10;\n\t\tthis.contextTimestamps = value;\n\t}\n\n\thasContextHashes() {\n\t\treturn (this._flags & 0x20) !== 0;\n\t}\n\n\tsetContextHashes(value) {\n\t\tthis._flags = this._flags | 0x20;\n\t\tthis.contextHashes = value;\n\t}\n\n\thasContextTshs() {\n\t\treturn (this._flags & 0x40) !== 0;\n\t}\n\n\tsetContextTshs(value) {\n\t\tthis._flags = this._flags | 0x40;\n\t\tthis.contextTshs = value;\n\t}\n\n\thasMissingExistence() {\n\t\treturn (this._flags & 0x80) !== 0;\n\t}\n\n\tsetMissingExistence(value) {\n\t\tthis._flags = this._flags | 0x80;\n\t\tthis.missingExistence = value;\n\t}\n\n\thasManagedItemInfo() {\n\t\treturn (this._flags & 0x100) !== 0;\n\t}\n\n\tsetManagedItemInfo(value) {\n\t\tthis._flags = this._flags | 0x100;\n\t\tthis.managedItemInfo = value;\n\t}\n\n\thasManagedFiles() {\n\t\treturn (this._flags & 0x200) !== 0;\n\t}\n\n\tsetManagedFiles(value) {\n\t\tthis._flags = this._flags | 0x200;\n\t\tthis.managedFiles = value;\n\t}\n\n\thasManagedContexts() {\n\t\treturn (this._flags & 0x400) !== 0;\n\t}\n\n\tsetManagedContexts(value) {\n\t\tthis._flags = this._flags | 0x400;\n\t\tthis.managedContexts = value;\n\t}\n\n\thasManagedMissing() {\n\t\treturn (this._flags & 0x800) !== 0;\n\t}\n\n\tsetManagedMissing(value) {\n\t\tthis._flags = this._flags | 0x800;\n\t\tthis.managedMissing = value;\n\t}\n\n\thasChildren() {\n\t\treturn (this._flags & 0x1000) !== 0;\n\t}\n\n\tsetChildren(value) {\n\t\tthis._flags = this._flags | 0x1000;\n\t\tthis.children = value;\n\t}\n\n\taddChild(child) {\n\t\tif (!this.hasChildren()) {\n\t\t\tthis.setChildren(new Set());\n\t\t}\n\t\tthis.children.add(child);\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this._flags);\n\t\tif (this.hasStartTime()) write(this.startTime);\n\t\tif (this.hasFileTimestamps()) write(this.fileTimestamps);\n\t\tif (this.hasFileHashes()) write(this.fileHashes);\n\t\tif (this.hasFileTshs()) write(this.fileTshs);\n\t\tif (this.hasContextTimestamps()) write(this.contextTimestamps);\n\t\tif (this.hasContextHashes()) write(this.contextHashes);\n\t\tif (this.hasContextTshs()) write(this.contextTshs);\n\t\tif (this.hasMissingExistence()) write(this.missingExistence);\n\t\tif (this.hasManagedItemInfo()) write(this.managedItemInfo);\n\t\tif (this.hasManagedFiles()) write(this.managedFiles);\n\t\tif (this.hasManagedContexts()) write(this.managedContexts);\n\t\tif (this.hasManagedMissing()) write(this.managedMissing);\n\t\tif (this.hasChildren()) write(this.children);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis._flags = read();\n\t\tif (this.hasStartTime()) this.startTime = read();\n\t\tif (this.hasFileTimestamps()) this.fileTimestamps = read();\n\t\tif (this.hasFileHashes()) this.fileHashes = read();\n\t\tif (this.hasFileTshs()) this.fileTshs = read();\n\t\tif (this.hasContextTimestamps()) this.contextTimestamps = read();\n\t\tif (this.hasContextHashes()) this.contextHashes = read();\n\t\tif (this.hasContextTshs()) this.contextTshs = read();\n\t\tif (this.hasMissingExistence()) this.missingExistence = read();\n\t\tif (this.hasManagedItemInfo()) this.managedItemInfo = read();\n\t\tif (this.hasManagedFiles()) this.managedFiles = read();\n\t\tif (this.hasManagedContexts()) this.managedContexts = read();\n\t\tif (this.hasManagedMissing()) this.managedMissing = read();\n\t\tif (this.hasChildren()) this.children = read();\n\t}\n\n\t/**\n\t * @param {function(Snapshot): (ReadonlyMap<string, any> | ReadonlySet<string>)[]} getMaps first\n\t * @returns {Iterable<string>} iterable\n\t */\n\t_createIterable(getMaps) {\n\t\treturn new SnapshotIterable(this, getMaps);\n\t}\n\n\t/**\n\t * @returns {Iterable<string>} iterable\n\t */\n\tgetFileIterable() {\n\t\tif (this._cachedFileIterable === undefined) {\n\t\t\tthis._cachedFileIterable = this._createIterable(s => [\n\t\t\t\ts.fileTimestamps,\n\t\t\t\ts.fileHashes,\n\t\t\t\ts.fileTshs,\n\t\t\t\ts.managedFiles\n\t\t\t]);\n\t\t}\n\t\treturn this._cachedFileIterable;\n\t}\n\n\t/**\n\t * @returns {Iterable<string>} iterable\n\t */\n\tgetContextIterable() {\n\t\tif (this._cachedContextIterable === undefined) {\n\t\t\tthis._cachedContextIterable = this._createIterable(s => [\n\t\t\t\ts.contextTimestamps,\n\t\t\t\ts.contextHashes,\n\t\t\t\ts.contextTshs,\n\t\t\t\ts.managedContexts\n\t\t\t]);\n\t\t}\n\t\treturn this._cachedContextIterable;\n\t}\n\n\t/**\n\t * @returns {Iterable<string>} iterable\n\t */\n\tgetMissingIterable() {\n\t\tif (this._cachedMissingIterable === undefined) {\n\t\t\tthis._cachedMissingIterable = this._createIterable(s => [\n\t\t\t\ts.missingExistence,\n\t\t\t\ts.managedMissing\n\t\t\t]);\n\t\t}\n\t\treturn this._cachedMissingIterable;\n\t}\n}\n\nmakeSerializable(Snapshot, \"webpack/lib/FileSystemInfo\", \"Snapshot\");\n\nconst MIN_COMMON_SNAPSHOT_SIZE = 3;\n\n/**\n * @template T\n */\nclass SnapshotOptimization {\n\t/**\n\t * @param {function(Snapshot): boolean} has has value\n\t * @param {function(Snapshot): Map<string, T> | Set<string>} get get value\n\t * @param {function(Snapshot, Map<string, T> | Set<string>): void} set set value\n\t * @param {boolean=} useStartTime use the start time of snapshots\n\t * @param {boolean=} isSet value is an Set instead of a Map\n\t */\n\tconstructor(has, get, set, useStartTime = true, isSet = false) {\n\t\tthis._has = has;\n\t\tthis._get = get;\n\t\tthis._set = set;\n\t\tthis._useStartTime = useStartTime;\n\t\tthis._isSet = isSet;\n\t\t/** @type {Map<string, SnapshotOptimizationEntry>} */\n\t\tthis._map = new Map();\n\t\tthis._statItemsShared = 0;\n\t\tthis._statItemsUnshared = 0;\n\t\tthis._statSharedSnapshots = 0;\n\t\tthis._statReusedSharedSnapshots = 0;\n\t}\n\n\tgetStatisticMessage() {\n\t\tconst total = this._statItemsShared + this._statItemsUnshared;\n\t\tif (total === 0) return undefined;\n\t\treturn `${\n\t\t\tthis._statItemsShared && Math.round((this._statItemsShared * 100) / total)\n\t\t}% (${this._statItemsShared}/${total}) entries shared via ${\n\t\t\tthis._statSharedSnapshots\n\t\t} shared snapshots (${\n\t\t\tthis._statReusedSharedSnapshots + this._statSharedSnapshots\n\t\t} times referenced)`;\n\t}\n\n\tclear() {\n\t\tthis._map.clear();\n\t\tthis._statItemsShared = 0;\n\t\tthis._statItemsUnshared = 0;\n\t\tthis._statSharedSnapshots = 0;\n\t\tthis._statReusedSharedSnapshots = 0;\n\t}\n\n\t/**\n\t * @param {Snapshot} newSnapshot snapshot\n\t * @param {Set<string>} capturedFiles files to snapshot/share\n\t * @returns {void}\n\t */\n\toptimize(newSnapshot, capturedFiles) {\n\t\t/**\n\t\t * @param {SnapshotOptimizationEntry} entry optimization entry\n\t\t * @returns {void}\n\t\t */\n\t\tconst increaseSharedAndStoreOptimizationEntry = entry => {\n\t\t\tif (entry.children !== undefined) {\n\t\t\t\tentry.children.forEach(increaseSharedAndStoreOptimizationEntry);\n\t\t\t}\n\t\t\tentry.shared++;\n\t\t\tstoreOptimizationEntry(entry);\n\t\t};\n\t\t/**\n\t\t * @param {SnapshotOptimizationEntry} entry optimization entry\n\t\t * @returns {void}\n\t\t */\n\t\tconst storeOptimizationEntry = entry => {\n\t\t\tfor (const path of entry.snapshotContent) {\n\t\t\t\tconst old = this._map.get(path);\n\t\t\t\tif (old.shared < entry.shared) {\n\t\t\t\t\tthis._map.set(path, entry);\n\t\t\t\t}\n\t\t\t\tcapturedFiles.delete(path);\n\t\t\t}\n\t\t};\n\n\t\t/** @type {SnapshotOptimizationEntry} */\n\t\tlet newOptimizationEntry = undefined;\n\n\t\tconst capturedFilesSize = capturedFiles.size;\n\n\t\t/** @type {Set<SnapshotOptimizationEntry> | undefined} */\n\t\tconst optimizationEntries = new Set();\n\n\t\tfor (const path of capturedFiles) {\n\t\t\tconst optimizationEntry = this._map.get(path);\n\t\t\tif (optimizationEntry === undefined) {\n\t\t\t\tif (newOptimizationEntry === undefined) {\n\t\t\t\t\tnewOptimizationEntry = {\n\t\t\t\t\t\tsnapshot: newSnapshot,\n\t\t\t\t\t\tshared: 0,\n\t\t\t\t\t\tsnapshotContent: undefined,\n\t\t\t\t\t\tchildren: undefined\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tthis._map.set(path, newOptimizationEntry);\n\t\t\t\tcontinue;\n\t\t\t} else {\n\t\t\t\toptimizationEntries.add(optimizationEntry);\n\t\t\t}\n\t\t}\n\n\t\toptimizationEntries: for (const optimizationEntry of optimizationEntries) {\n\t\t\tconst snapshot = optimizationEntry.snapshot;\n\t\t\tif (optimizationEntry.shared > 0) {\n\t\t\t\t// It's a shared snapshot\n\t\t\t\t// We can't change it, so we can only use it when all files match\n\t\t\t\t// and startTime is compatible\n\t\t\t\tif (\n\t\t\t\t\tthis._useStartTime &&\n\t\t\t\t\tnewSnapshot.startTime &&\n\t\t\t\t\t(!snapshot.startTime || snapshot.startTime > newSnapshot.startTime)\n\t\t\t\t) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst nonSharedFiles = new Set();\n\t\t\t\tconst snapshotContent = optimizationEntry.snapshotContent;\n\t\t\t\tconst snapshotEntries = this._get(snapshot);\n\t\t\t\tfor (const path of snapshotContent) {\n\t\t\t\t\tif (!capturedFiles.has(path)) {\n\t\t\t\t\t\tif (!snapshotEntries.has(path)) {\n\t\t\t\t\t\t\t// File is not shared and can't be removed from the snapshot\n\t\t\t\t\t\t\t// because it's in a child of the snapshot\n\t\t\t\t\t\t\tcontinue optimizationEntries;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnonSharedFiles.add(path);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (nonSharedFiles.size === 0) {\n\t\t\t\t\t// The complete snapshot is shared\n\t\t\t\t\t// add it as child\n\t\t\t\t\tnewSnapshot.addChild(snapshot);\n\t\t\t\t\tincreaseSharedAndStoreOptimizationEntry(optimizationEntry);\n\t\t\t\t\tthis._statReusedSharedSnapshots++;\n\t\t\t\t} else {\n\t\t\t\t\t// Only a part of the snapshot is shared\n\t\t\t\t\tconst sharedCount = snapshotContent.size - nonSharedFiles.size;\n\t\t\t\t\tif (sharedCount < MIN_COMMON_SNAPSHOT_SIZE) {\n\t\t\t\t\t\t// Common part it too small\n\t\t\t\t\t\tcontinue optimizationEntries;\n\t\t\t\t\t}\n\t\t\t\t\t// Extract common timestamps from both snapshots\n\t\t\t\t\tlet commonMap;\n\t\t\t\t\tif (this._isSet) {\n\t\t\t\t\t\tcommonMap = new Set();\n\t\t\t\t\t\tfor (const path of /** @type {Set<string>} */ (snapshotEntries)) {\n\t\t\t\t\t\t\tif (nonSharedFiles.has(path)) continue;\n\t\t\t\t\t\t\tcommonMap.add(path);\n\t\t\t\t\t\t\tsnapshotEntries.delete(path);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcommonMap = new Map();\n\t\t\t\t\t\tconst map = /** @type {Map<string, T>} */ (snapshotEntries);\n\t\t\t\t\t\tfor (const [path, value] of map) {\n\t\t\t\t\t\t\tif (nonSharedFiles.has(path)) continue;\n\t\t\t\t\t\t\tcommonMap.set(path, value);\n\t\t\t\t\t\t\tsnapshotEntries.delete(path);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// Create and attach snapshot\n\t\t\t\t\tconst commonSnapshot = new Snapshot();\n\t\t\t\t\tif (this._useStartTime) {\n\t\t\t\t\t\tcommonSnapshot.setMergedStartTime(newSnapshot.startTime, snapshot);\n\t\t\t\t\t}\n\t\t\t\t\tthis._set(commonSnapshot, commonMap);\n\t\t\t\t\tnewSnapshot.addChild(commonSnapshot);\n\t\t\t\t\tsnapshot.addChild(commonSnapshot);\n\t\t\t\t\t// Create optimization entry\n\t\t\t\t\tconst newEntry = {\n\t\t\t\t\t\tsnapshot: commonSnapshot,\n\t\t\t\t\t\tshared: optimizationEntry.shared + 1,\n\t\t\t\t\t\tsnapshotContent: new Set(commonMap.keys()),\n\t\t\t\t\t\tchildren: undefined\n\t\t\t\t\t};\n\t\t\t\t\tif (optimizationEntry.children === undefined)\n\t\t\t\t\t\toptimizationEntry.children = new Set();\n\t\t\t\t\toptimizationEntry.children.add(newEntry);\n\t\t\t\t\tstoreOptimizationEntry(newEntry);\n\t\t\t\t\tthis._statSharedSnapshots++;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// It's a unshared snapshot\n\t\t\t\t// We can extract a common shared snapshot\n\t\t\t\t// with all common files\n\t\t\t\tconst snapshotEntries = this._get(snapshot);\n\t\t\t\tif (snapshotEntries === undefined) {\n\t\t\t\t\t// Incomplete snapshot, that can't be used\n\t\t\t\t\tcontinue optimizationEntries;\n\t\t\t\t}\n\t\t\t\tlet commonMap;\n\t\t\t\tif (this._isSet) {\n\t\t\t\t\tcommonMap = new Set();\n\t\t\t\t\tconst set = /** @type {Set<string>} */ (snapshotEntries);\n\t\t\t\t\tif (capturedFiles.size < set.size) {\n\t\t\t\t\t\tfor (const path of capturedFiles) {\n\t\t\t\t\t\t\tif (set.has(path)) commonMap.add(path);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const path of set) {\n\t\t\t\t\t\t\tif (capturedFiles.has(path)) commonMap.add(path);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tcommonMap = new Map();\n\t\t\t\t\tconst map = /** @type {Map<string, T>} */ (snapshotEntries);\n\t\t\t\t\tfor (const path of capturedFiles) {\n\t\t\t\t\t\tconst ts = map.get(path);\n\t\t\t\t\t\tif (ts === undefined) continue;\n\t\t\t\t\t\tcommonMap.set(path, ts);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (commonMap.size < MIN_COMMON_SNAPSHOT_SIZE) {\n\t\t\t\t\t// Common part it too small\n\t\t\t\t\tcontinue optimizationEntries;\n\t\t\t\t}\n\t\t\t\t// Create and attach snapshot\n\t\t\t\tconst commonSnapshot = new Snapshot();\n\t\t\t\tif (this._useStartTime) {\n\t\t\t\t\tcommonSnapshot.setMergedStartTime(newSnapshot.startTime, snapshot);\n\t\t\t\t}\n\t\t\t\tthis._set(commonSnapshot, commonMap);\n\t\t\t\tnewSnapshot.addChild(commonSnapshot);\n\t\t\t\tsnapshot.addChild(commonSnapshot);\n\t\t\t\t// Remove files from snapshot\n\t\t\t\tfor (const path of commonMap.keys()) snapshotEntries.delete(path);\n\t\t\t\tconst sharedCount = commonMap.size;\n\t\t\t\tthis._statItemsUnshared -= sharedCount;\n\t\t\t\tthis._statItemsShared += sharedCount;\n\t\t\t\t// Create optimization entry\n\t\t\t\tstoreOptimizationEntry({\n\t\t\t\t\tsnapshot: commonSnapshot,\n\t\t\t\t\tshared: 2,\n\t\t\t\t\tsnapshotContent: new Set(commonMap.keys()),\n\t\t\t\t\tchildren: undefined\n\t\t\t\t});\n\t\t\t\tthis._statSharedSnapshots++;\n\t\t\t}\n\t\t}\n\t\tconst unshared = capturedFiles.size;\n\t\tthis._statItemsUnshared += unshared;\n\t\tthis._statItemsShared += capturedFilesSize - unshared;\n\t}\n}\n\nconst parseString = str => {\n\tif (str[0] === \"'\") str = `\"${str.slice(1, -1).replace(/\"/g, '\\\\\"')}\"`;\n\treturn JSON.parse(str);\n};\n\n/* istanbul ignore next */\n/**\n * @param {number} mtime mtime\n */\nconst applyMtime = mtime => {\n\tif (FS_ACCURACY > 1 && mtime % 2 !== 0) FS_ACCURACY = 1;\n\telse if (FS_ACCURACY > 10 && mtime % 20 !== 0) FS_ACCURACY = 10;\n\telse if (FS_ACCURACY > 100 && mtime % 200 !== 0) FS_ACCURACY = 100;\n\telse if (FS_ACCURACY > 1000 && mtime % 2000 !== 0) FS_ACCURACY = 1000;\n};\n\n/**\n * @template T\n * @template K\n * @param {Map<T, K>} a source map\n * @param {Map<T, K>} b joining map\n * @returns {Map<T, K>} joined map\n */\nconst mergeMaps = (a, b) => {\n\tif (!b || b.size === 0) return a;\n\tif (!a || a.size === 0) return b;\n\tconst map = new Map(a);\n\tfor (const [key, value] of b) {\n\t\tmap.set(key, value);\n\t}\n\treturn map;\n};\n\n/**\n * @template T\n * @template K\n * @param {Set<T, K>} a source map\n * @param {Set<T, K>} b joining map\n * @returns {Set<T, K>} joined map\n */\nconst mergeSets = (a, b) => {\n\tif (!b || b.size === 0) return a;\n\tif (!a || a.size === 0) return b;\n\tconst map = new Set(a);\n\tfor (const item of b) {\n\t\tmap.add(item);\n\t}\n\treturn map;\n};\n\n/**\n * Finding file or directory to manage\n * @param {string} managedPath path that is managing by {@link FileSystemInfo}\n * @param {string} path path to file or directory\n * @returns {string|null} managed item\n * @example\n * getManagedItem(\n * '/Users/user/my-project/node_modules/',\n * '/Users/user/my-project/node_modules/package/index.js'\n * ) === '/Users/user/my-project/node_modules/package'\n * getManagedItem(\n * '/Users/user/my-project/node_modules/',\n * '/Users/user/my-project/node_modules/package1/node_modules/package2'\n * ) === '/Users/user/my-project/node_modules/package1/node_modules/package2'\n * getManagedItem(\n * '/Users/user/my-project/node_modules/',\n * '/Users/user/my-project/node_modules/.bin/script.js'\n * ) === null // hidden files are disallowed as managed items\n * getManagedItem(\n * '/Users/user/my-project/node_modules/',\n * '/Users/user/my-project/node_modules/package'\n * ) === '/Users/user/my-project/node_modules/package'\n */\nconst getManagedItem = (managedPath, path) => {\n\tlet i = managedPath.length;\n\tlet slashes = 1;\n\tlet startingPosition = true;\n\tloop: while (i < path.length) {\n\t\tswitch (path.charCodeAt(i)) {\n\t\t\tcase 47: // slash\n\t\t\tcase 92: // backslash\n\t\t\t\tif (--slashes === 0) break loop;\n\t\t\t\tstartingPosition = true;\n\t\t\t\tbreak;\n\t\t\tcase 46: // .\n\t\t\t\t// hidden files are disallowed as managed items\n\t\t\t\t// it's probably .yarn-integrity or .cache\n\t\t\t\tif (startingPosition) return null;\n\t\t\t\tbreak;\n\t\t\tcase 64: // @\n\t\t\t\tif (!startingPosition) return null;\n\t\t\t\tslashes++;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tstartingPosition = false;\n\t\t\t\tbreak;\n\t\t}\n\t\ti++;\n\t}\n\tif (i === path.length) slashes--;\n\t// return null when path is incomplete\n\tif (slashes !== 0) return null;\n\t// if (path.slice(i + 1, i + 13) === \"node_modules\")\n\tif (\n\t\tpath.length >= i + 13 &&\n\t\tpath.charCodeAt(i + 1) === 110 &&\n\t\tpath.charCodeAt(i + 2) === 111 &&\n\t\tpath.charCodeAt(i + 3) === 100 &&\n\t\tpath.charCodeAt(i + 4) === 101 &&\n\t\tpath.charCodeAt(i + 5) === 95 &&\n\t\tpath.charCodeAt(i + 6) === 109 &&\n\t\tpath.charCodeAt(i + 7) === 111 &&\n\t\tpath.charCodeAt(i + 8) === 100 &&\n\t\tpath.charCodeAt(i + 9) === 117 &&\n\t\tpath.charCodeAt(i + 10) === 108 &&\n\t\tpath.charCodeAt(i + 11) === 101 &&\n\t\tpath.charCodeAt(i + 12) === 115\n\t) {\n\t\t// if this is the end of the path\n\t\tif (path.length === i + 13) {\n\t\t\t// return the node_modules directory\n\t\t\t// it's special\n\t\t\treturn path;\n\t\t}\n\t\tconst c = path.charCodeAt(i + 13);\n\t\t// if next symbol is slash or backslash\n\t\tif (c === 47 || c === 92) {\n\t\t\t// Managed subpath\n\t\t\treturn getManagedItem(path.slice(0, i + 14), path);\n\t\t}\n\t}\n\treturn path.slice(0, i);\n};\n\n/**\n * @template {ContextFileSystemInfoEntry | ContextTimestampAndHash} T\n * @param {T} entry entry\n * @returns {T[\"resolved\"] | undefined} the resolved entry\n */\nconst getResolvedTimestamp = entry => {\n\tif (entry === null) return null;\n\tif (entry.resolved !== undefined) return entry.resolved;\n\treturn entry.symlinks === undefined ? entry : undefined;\n};\n\n/**\n * @param {ContextHash} entry entry\n * @returns {string | undefined} the resolved entry\n */\nconst getResolvedHash = entry => {\n\tif (entry === null) return null;\n\tif (entry.resolved !== undefined) return entry.resolved;\n\treturn entry.symlinks === undefined ? entry.hash : undefined;\n};\n\nconst addAll = (source, target) => {\n\tfor (const key of source) target.add(key);\n};\n\n/**\n * Used to access information about the filesystem in a cached way\n */\nclass FileSystemInfo {\n\t/**\n\t * @param {InputFileSystem} fs file system\n\t * @param {Object} options options\n\t * @param {Iterable<string | RegExp>=} options.managedPaths paths that are only managed by a package manager\n\t * @param {Iterable<string | RegExp>=} options.immutablePaths paths that are immutable\n\t * @param {Logger=} options.logger logger used to log invalid snapshots\n\t * @param {string | Hash=} options.hashFunction the hash function to use\n\t */\n\tconstructor(\n\t\tfs,\n\t\t{\n\t\t\tmanagedPaths = [],\n\t\t\timmutablePaths = [],\n\t\t\tlogger,\n\t\t\thashFunction = \"md4\"\n\t\t} = {}\n\t) {\n\t\tthis.fs = fs;\n\t\tthis.logger = logger;\n\t\tthis._remainingLogs = logger ? 40 : 0;\n\t\tthis._loggedPaths = logger ? new Set() : undefined;\n\t\tthis._hashFunction = hashFunction;\n\t\t/** @type {WeakMap<Snapshot, boolean | (function(WebpackError=, boolean=): void)[]>} */\n\t\tthis._snapshotCache = new WeakMap();\n\t\tthis._fileTimestampsOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasFileTimestamps(),\n\t\t\ts => s.fileTimestamps,\n\t\t\t(s, v) => s.setFileTimestamps(v)\n\t\t);\n\t\tthis._fileHashesOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasFileHashes(),\n\t\t\ts => s.fileHashes,\n\t\t\t(s, v) => s.setFileHashes(v),\n\t\t\tfalse\n\t\t);\n\t\tthis._fileTshsOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasFileTshs(),\n\t\t\ts => s.fileTshs,\n\t\t\t(s, v) => s.setFileTshs(v)\n\t\t);\n\t\tthis._contextTimestampsOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasContextTimestamps(),\n\t\t\ts => s.contextTimestamps,\n\t\t\t(s, v) => s.setContextTimestamps(v)\n\t\t);\n\t\tthis._contextHashesOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasContextHashes(),\n\t\t\ts => s.contextHashes,\n\t\t\t(s, v) => s.setContextHashes(v),\n\t\t\tfalse\n\t\t);\n\t\tthis._contextTshsOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasContextTshs(),\n\t\t\ts => s.contextTshs,\n\t\t\t(s, v) => s.setContextTshs(v)\n\t\t);\n\t\tthis._missingExistenceOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasMissingExistence(),\n\t\t\ts => s.missingExistence,\n\t\t\t(s, v) => s.setMissingExistence(v),\n\t\t\tfalse\n\t\t);\n\t\tthis._managedItemInfoOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasManagedItemInfo(),\n\t\t\ts => s.managedItemInfo,\n\t\t\t(s, v) => s.setManagedItemInfo(v),\n\t\t\tfalse\n\t\t);\n\t\tthis._managedFilesOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasManagedFiles(),\n\t\t\ts => s.managedFiles,\n\t\t\t(s, v) => s.setManagedFiles(v),\n\t\t\tfalse,\n\t\t\ttrue\n\t\t);\n\t\tthis._managedContextsOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasManagedContexts(),\n\t\t\ts => s.managedContexts,\n\t\t\t(s, v) => s.setManagedContexts(v),\n\t\t\tfalse,\n\t\t\ttrue\n\t\t);\n\t\tthis._managedMissingOptimization = new SnapshotOptimization(\n\t\t\ts => s.hasManagedMissing(),\n\t\t\ts => s.managedMissing,\n\t\t\t(s, v) => s.setManagedMissing(v),\n\t\t\tfalse,\n\t\t\ttrue\n\t\t);\n\t\t/** @type {StackedCacheMap<string, FileSystemInfoEntry | \"ignore\" | null>} */\n\t\tthis._fileTimestamps = new StackedCacheMap();\n\t\t/** @type {Map<string, string>} */\n\t\tthis._fileHashes = new Map();\n\t\t/** @type {Map<string, TimestampAndHash | string>} */\n\t\tthis._fileTshs = new Map();\n\t\t/** @type {StackedCacheMap<string, ContextFileSystemInfoEntry | \"ignore\" | null>} */\n\t\tthis._contextTimestamps = new StackedCacheMap();\n\t\t/** @type {Map<string, ContextHash>} */\n\t\tthis._contextHashes = new Map();\n\t\t/** @type {Map<string, ContextTimestampAndHash>} */\n\t\tthis._contextTshs = new Map();\n\t\t/** @type {Map<string, string>} */\n\t\tthis._managedItems = new Map();\n\t\t/** @type {AsyncQueue<string, string, FileSystemInfoEntry | null>} */\n\t\tthis.fileTimestampQueue = new AsyncQueue({\n\t\t\tname: \"file timestamp\",\n\t\t\tparallelism: 30,\n\t\t\tprocessor: this._readFileTimestamp.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, string | null>} */\n\t\tthis.fileHashQueue = new AsyncQueue({\n\t\t\tname: \"file hash\",\n\t\t\tparallelism: 10,\n\t\t\tprocessor: this._readFileHash.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, ContextFileSystemInfoEntry | null>} */\n\t\tthis.contextTimestampQueue = new AsyncQueue({\n\t\t\tname: \"context timestamp\",\n\t\t\tparallelism: 2,\n\t\t\tprocessor: this._readContextTimestamp.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, ContextHash | null>} */\n\t\tthis.contextHashQueue = new AsyncQueue({\n\t\t\tname: \"context hash\",\n\t\t\tparallelism: 2,\n\t\t\tprocessor: this._readContextHash.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, ContextTimestampAndHash | null>} */\n\t\tthis.contextTshQueue = new AsyncQueue({\n\t\t\tname: \"context hash and timestamp\",\n\t\t\tparallelism: 2,\n\t\t\tprocessor: this._readContextTimestampAndHash.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, string | null>} */\n\t\tthis.managedItemQueue = new AsyncQueue({\n\t\t\tname: \"managed item info\",\n\t\t\tparallelism: 10,\n\t\t\tprocessor: this._getManagedItemInfo.bind(this)\n\t\t});\n\t\t/** @type {AsyncQueue<string, string, Set<string>>} */\n\t\tthis.managedItemDirectoryQueue = new AsyncQueue({\n\t\t\tname: \"managed item directory info\",\n\t\t\tparallelism: 10,\n\t\t\tprocessor: this._getManagedItemDirectoryInfo.bind(this)\n\t\t});\n\t\tthis.managedPaths = Array.from(managedPaths);\n\t\tthis.managedPathsWithSlash = /** @type {string[]} */ (\n\t\t\tthis.managedPaths.filter(p => typeof p === \"string\")\n\t\t).map(p => join(fs, p, \"_\").slice(0, -1));\n\n\t\tthis.managedPathsRegExps = /** @type {RegExp[]} */ (\n\t\t\tthis.managedPaths.filter(p => typeof p !== \"string\")\n\t\t);\n\t\tthis.immutablePaths = Array.from(immutablePaths);\n\t\tthis.immutablePathsWithSlash = /** @type {string[]} */ (\n\t\t\tthis.immutablePaths.filter(p => typeof p === \"string\")\n\t\t).map(p => join(fs, p, \"_\").slice(0, -1));\n\t\tthis.immutablePathsRegExps = /** @type {RegExp[]} */ (\n\t\t\tthis.immutablePaths.filter(p => typeof p !== \"string\")\n\t\t);\n\n\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\t\tthis._cachedDeprecatedContextTimestamps = undefined;\n\n\t\tthis._warnAboutExperimentalEsmTracking = false;\n\n\t\tthis._statCreatedSnapshots = 0;\n\t\tthis._statTestedSnapshotsCached = 0;\n\t\tthis._statTestedSnapshotsNotCached = 0;\n\t\tthis._statTestedChildrenCached = 0;\n\t\tthis._statTestedChildrenNotCached = 0;\n\t\tthis._statTestedEntries = 0;\n\t}\n\n\tlogStatistics() {\n\t\tconst logWhenMessage = (header, message) => {\n\t\t\tif (message) {\n\t\t\t\tthis.logger.log(`${header}: ${message}`);\n\t\t\t}\n\t\t};\n\t\tthis.logger.log(`${this._statCreatedSnapshots} new snapshots created`);\n\t\tthis.logger.log(\n\t\t\t`${\n\t\t\t\tthis._statTestedSnapshotsNotCached &&\n\t\t\t\tMath.round(\n\t\t\t\t\t(this._statTestedSnapshotsNotCached * 100) /\n\t\t\t\t\t\t(this._statTestedSnapshotsCached +\n\t\t\t\t\t\t\tthis._statTestedSnapshotsNotCached)\n\t\t\t\t)\n\t\t\t}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${\n\t\t\t\tthis._statTestedSnapshotsCached + this._statTestedSnapshotsNotCached\n\t\t\t})`\n\t\t);\n\t\tthis.logger.log(\n\t\t\t`${\n\t\t\t\tthis._statTestedChildrenNotCached &&\n\t\t\t\tMath.round(\n\t\t\t\t\t(this._statTestedChildrenNotCached * 100) /\n\t\t\t\t\t\t(this._statTestedChildrenCached + this._statTestedChildrenNotCached)\n\t\t\t\t)\n\t\t\t}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${\n\t\t\t\tthis._statTestedChildrenCached + this._statTestedChildrenNotCached\n\t\t\t})`\n\t\t);\n\t\tthis.logger.log(`${this._statTestedEntries} entries tested`);\n\t\tthis.logger.log(\n\t\t\t`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`File timestamp snapshot optimization`,\n\t\t\tthis._fileTimestampsOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`File hash snapshot optimization`,\n\t\t\tthis._fileHashesOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`File timestamp hash combination snapshot optimization`,\n\t\t\tthis._fileTshsOptimization.getStatisticMessage()\n\t\t);\n\t\tthis.logger.log(\n\t\t\t`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Directory timestamp snapshot optimization`,\n\t\t\tthis._contextTimestampsOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Directory hash snapshot optimization`,\n\t\t\tthis._contextHashesOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Directory timestamp hash combination snapshot optimization`,\n\t\t\tthis._contextTshsOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Missing items snapshot optimization`,\n\t\t\tthis._missingExistenceOptimization.getStatisticMessage()\n\t\t);\n\t\tthis.logger.log(\n\t\t\t`Managed items info in cache: ${this._managedItems.size} items`\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Managed items snapshot optimization`,\n\t\t\tthis._managedItemInfoOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Managed files snapshot optimization`,\n\t\t\tthis._managedFilesOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Managed contexts snapshot optimization`,\n\t\t\tthis._managedContextsOptimization.getStatisticMessage()\n\t\t);\n\t\tlogWhenMessage(\n\t\t\t`Managed missing snapshot optimization`,\n\t\t\tthis._managedMissingOptimization.getStatisticMessage()\n\t\t);\n\t}\n\n\t_log(path, reason, ...args) {\n\t\tconst key = path + reason;\n\t\tif (this._loggedPaths.has(key)) return;\n\t\tthis._loggedPaths.add(key);\n\t\tthis.logger.debug(`${path} invalidated because ${reason}`, ...args);\n\t\tif (--this._remainingLogs === 0) {\n\t\t\tthis.logger.debug(\n\t\t\t\t\"Logging limit has been reached and no further logging will be emitted by FileSystemInfo\"\n\t\t\t);\n\t\t}\n\t}\n\n\tclear() {\n\t\tthis._remainingLogs = this.logger ? 40 : 0;\n\t\tif (this._loggedPaths !== undefined) this._loggedPaths.clear();\n\n\t\tthis._snapshotCache = new WeakMap();\n\t\tthis._fileTimestampsOptimization.clear();\n\t\tthis._fileHashesOptimization.clear();\n\t\tthis._fileTshsOptimization.clear();\n\t\tthis._contextTimestampsOptimization.clear();\n\t\tthis._contextHashesOptimization.clear();\n\t\tthis._contextTshsOptimization.clear();\n\t\tthis._missingExistenceOptimization.clear();\n\t\tthis._managedItemInfoOptimization.clear();\n\t\tthis._managedFilesOptimization.clear();\n\t\tthis._managedContextsOptimization.clear();\n\t\tthis._managedMissingOptimization.clear();\n\t\tthis._fileTimestamps.clear();\n\t\tthis._fileHashes.clear();\n\t\tthis._fileTshs.clear();\n\t\tthis._contextTimestamps.clear();\n\t\tthis._contextHashes.clear();\n\t\tthis._contextTshs.clear();\n\t\tthis._managedItems.clear();\n\t\tthis._managedItems.clear();\n\n\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\t\tthis._cachedDeprecatedContextTimestamps = undefined;\n\n\t\tthis._statCreatedSnapshots = 0;\n\t\tthis._statTestedSnapshotsCached = 0;\n\t\tthis._statTestedSnapshotsNotCached = 0;\n\t\tthis._statTestedChildrenCached = 0;\n\t\tthis._statTestedChildrenNotCached = 0;\n\t\tthis._statTestedEntries = 0;\n\t}\n\n\t/**\n\t * @param {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\" | null>} map timestamps\n\t * @param {boolean=} immutable if 'map' is immutable and FileSystemInfo can keep referencing it\n\t * @returns {void}\n\t */\n\taddFileTimestamps(map, immutable) {\n\t\tthis._fileTimestamps.addAll(map, immutable);\n\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\t}\n\n\t/**\n\t * @param {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\" | null>} map timestamps\n\t * @param {boolean=} immutable if 'map' is immutable and FileSystemInfo can keep referencing it\n\t * @returns {void}\n\t */\n\taddContextTimestamps(map, immutable) {\n\t\tthis._contextTimestamps.addAll(map, immutable);\n\t\tthis._cachedDeprecatedContextTimestamps = undefined;\n\t}\n\n\t/**\n\t * @param {string} path file path\n\t * @param {function((WebpackError | null)=, (FileSystemInfoEntry | \"ignore\" | null)=): void} callback callback function\n\t * @returns {void}\n\t */\n\tgetFileTimestamp(path, callback) {\n\t\tconst cache = this._fileTimestamps.get(path);\n\t\tif (cache !== undefined) return callback(null, cache);\n\t\tthis.fileTimestampQueue.add(path, callback);\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, (ResolvedContextFileSystemInfoEntry | \"ignore\" | null)=): void} callback callback function\n\t * @returns {void}\n\t */\n\tgetContextTimestamp(path, callback) {\n\t\tconst cache = this._contextTimestamps.get(path);\n\t\tif (cache !== undefined) {\n\t\t\tif (cache === \"ignore\") return callback(null, \"ignore\");\n\t\t\tconst resolved = getResolvedTimestamp(cache);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\treturn this._resolveContextTimestamp(cache, callback);\n\t\t}\n\t\tthis.contextTimestampQueue.add(path, (err, entry) => {\n\t\t\tif (err) return callback(err);\n\t\t\tconst resolved = getResolvedTimestamp(entry);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\tthis._resolveContextTimestamp(entry, callback);\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, (ContextFileSystemInfoEntry | \"ignore\" | null)=): void} callback callback function\n\t * @returns {void}\n\t */\n\t_getUnresolvedContextTimestamp(path, callback) {\n\t\tconst cache = this._contextTimestamps.get(path);\n\t\tif (cache !== undefined) return callback(null, cache);\n\t\tthis.contextTimestampQueue.add(path, callback);\n\t}\n\n\t/**\n\t * @param {string} path file path\n\t * @param {function((WebpackError | null)=, string=): void} callback callback function\n\t * @returns {void}\n\t */\n\tgetFileHash(path, callback) {\n\t\tconst cache = this._fileHashes.get(path);\n\t\tif (cache !== undefined) return callback(null, cache);\n\t\tthis.fileHashQueue.add(path, callback);\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, string=): void} callback callback function\n\t * @returns {void}\n\t */\n\tgetContextHash(path, callback) {\n\t\tconst cache = this._contextHashes.get(path);\n\t\tif (cache !== undefined) {\n\t\t\tconst resolved = getResolvedHash(cache);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\treturn this._resolveContextHash(cache, callback);\n\t\t}\n\t\tthis.contextHashQueue.add(path, (err, entry) => {\n\t\t\tif (err) return callback(err);\n\t\t\tconst resolved = getResolvedHash(entry);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\tthis._resolveContextHash(entry, callback);\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, ContextHash=): void} callback callback function\n\t * @returns {void}\n\t */\n\t_getUnresolvedContextHash(path, callback) {\n\t\tconst cache = this._contextHashes.get(path);\n\t\tif (cache !== undefined) return callback(null, cache);\n\t\tthis.contextHashQueue.add(path, callback);\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, ResolvedContextTimestampAndHash=): void} callback callback function\n\t * @returns {void}\n\t */\n\tgetContextTsh(path, callback) {\n\t\tconst cache = this._contextTshs.get(path);\n\t\tif (cache !== undefined) {\n\t\t\tconst resolved = getResolvedTimestamp(cache);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\treturn this._resolveContextTsh(cache, callback);\n\t\t}\n\t\tthis.contextTshQueue.add(path, (err, entry) => {\n\t\t\tif (err) return callback(err);\n\t\t\tconst resolved = getResolvedTimestamp(entry);\n\t\t\tif (resolved !== undefined) return callback(null, resolved);\n\t\t\tthis._resolveContextTsh(entry, callback);\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} path context path\n\t * @param {function((WebpackError | null)=, ContextTimestampAndHash=): void} callback callback function\n\t * @returns {void}\n\t */\n\t_getUnresolvedContextTsh(path, callback) {\n\t\tconst cache = this._contextTshs.get(path);\n\t\tif (cache !== undefined) return callback(null, cache);\n\t\tthis.contextTshQueue.add(path, callback);\n\t}\n\n\t_createBuildDependenciesResolvers() {\n\t\tconst resolveContext = createResolver({\n\t\t\tresolveToContext: true,\n\t\t\texportsFields: [],\n\t\t\tfileSystem: this.fs\n\t\t});\n\t\tconst resolveCjs = createResolver({\n\t\t\textensions: [\".js\", \".json\", \".node\"],\n\t\t\tconditionNames: [\"require\", \"node\"],\n\t\t\texportsFields: [\"exports\"],\n\t\t\tfileSystem: this.fs\n\t\t});\n\t\tconst resolveCjsAsChild = createResolver({\n\t\t\textensions: [\".js\", \".json\", \".node\"],\n\t\t\tconditionNames: [\"require\", \"node\"],\n\t\t\texportsFields: [],\n\t\t\tfileSystem: this.fs\n\t\t});\n\t\tconst resolveEsm = createResolver({\n\t\t\textensions: [\".js\", \".json\", \".node\"],\n\t\t\tfullySpecified: true,\n\t\t\tconditionNames: [\"import\", \"node\"],\n\t\t\texportsFields: [\"exports\"],\n\t\t\tfileSystem: this.fs\n\t\t});\n\t\treturn { resolveContext, resolveEsm, resolveCjs, resolveCjsAsChild };\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @param {Iterable<string>} deps dependencies\n\t * @param {function((Error | null)=, ResolveBuildDependenciesResult=): void} callback callback function\n\t * @returns {void}\n\t */\n\tresolveBuildDependencies(context, deps, callback) {\n\t\tconst { resolveContext, resolveEsm, resolveCjs, resolveCjsAsChild } =\n\t\t\tthis._createBuildDependenciesResolvers();\n\n\t\t/** @type {Set<string>} */\n\t\tconst files = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst fileSymlinks = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst directories = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst directorySymlinks = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst missing = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst resolveFiles = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst resolveDirectories = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst resolveMissing = new Set();\n\t\t/** @type {Map<string, string | false>} */\n\t\tconst resolveResults = new Map();\n\t\tconst invalidResolveResults = new Set();\n\t\tconst resolverContext = {\n\t\t\tfileDependencies: resolveFiles,\n\t\t\tcontextDependencies: resolveDirectories,\n\t\t\tmissingDependencies: resolveMissing\n\t\t};\n\t\tconst expectedToString = expected => {\n\t\t\treturn expected ? ` (expected ${expected})` : \"\";\n\t\t};\n\t\tconst jobToString = job => {\n\t\t\tswitch (job.type) {\n\t\t\t\tcase RBDT_RESOLVE_CJS:\n\t\t\t\t\treturn `resolve commonjs ${job.path}${expectedToString(\n\t\t\t\t\t\tjob.expected\n\t\t\t\t\t)}`;\n\t\t\t\tcase RBDT_RESOLVE_ESM:\n\t\t\t\t\treturn `resolve esm ${job.path}${expectedToString(job.expected)}`;\n\t\t\t\tcase RBDT_RESOLVE_DIRECTORY:\n\t\t\t\t\treturn `resolve directory ${job.path}`;\n\t\t\t\tcase RBDT_RESOLVE_CJS_FILE:\n\t\t\t\t\treturn `resolve commonjs file ${job.path}${expectedToString(\n\t\t\t\t\t\tjob.expected\n\t\t\t\t\t)}`;\n\t\t\t\tcase RBDT_RESOLVE_ESM_FILE:\n\t\t\t\t\treturn `resolve esm file ${job.path}${expectedToString(\n\t\t\t\t\t\tjob.expected\n\t\t\t\t\t)}`;\n\t\t\t\tcase RBDT_DIRECTORY:\n\t\t\t\t\treturn `directory ${job.path}`;\n\t\t\t\tcase RBDT_FILE:\n\t\t\t\t\treturn `file ${job.path}`;\n\t\t\t\tcase RBDT_DIRECTORY_DEPENDENCIES:\n\t\t\t\t\treturn `directory dependencies ${job.path}`;\n\t\t\t\tcase RBDT_FILE_DEPENDENCIES:\n\t\t\t\t\treturn `file dependencies ${job.path}`;\n\t\t\t}\n\t\t\treturn `unknown ${job.type} ${job.path}`;\n\t\t};\n\t\tconst pathToString = job => {\n\t\t\tlet result = ` at ${jobToString(job)}`;\n\t\t\tjob = job.issuer;\n\t\t\twhile (job !== undefined) {\n\t\t\t\tresult += `\\n at ${jobToString(job)}`;\n\t\t\t\tjob = job.issuer;\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t\tprocessAsyncTree(\n\t\t\tArray.from(deps, dep => ({\n\t\t\t\ttype: RBDT_RESOLVE_CJS,\n\t\t\t\tcontext,\n\t\t\t\tpath: dep,\n\t\t\t\texpected: undefined,\n\t\t\t\tissuer: undefined\n\t\t\t})),\n\t\t\t20,\n\t\t\t(job, push, callback) => {\n\t\t\t\tconst { type, context, path, expected } = job;\n\t\t\t\tconst resolveDirectory = path => {\n\t\t\t\t\tconst key = `d\\n${context}\\n${path}`;\n\t\t\t\t\tif (resolveResults.has(key)) {\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tresolveResults.set(key, undefined);\n\t\t\t\t\tresolveContext(context, path, resolverContext, (err, _, result) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tif (expected === false) {\n\t\t\t\t\t\t\t\tresolveResults.set(key, false);\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinvalidResolveResults.add(key);\n\t\t\t\t\t\t\terr.message += `\\nwhile resolving '${path}' in ${context} to a directory`;\n\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\tresolveResults.set(key, resultPath);\n\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\ttype: RBDT_DIRECTORY,\n\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\tpath: resultPath,\n\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tconst resolveFile = (path, symbol, resolve) => {\n\t\t\t\t\tconst key = `${symbol}\\n${context}\\n${path}`;\n\t\t\t\t\tif (resolveResults.has(key)) {\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tresolveResults.set(key, undefined);\n\t\t\t\t\tresolve(context, path, resolverContext, (err, _, result) => {\n\t\t\t\t\t\tif (typeof expected === \"string\") {\n\t\t\t\t\t\t\tif (!err && result && result.path === expected) {\n\t\t\t\t\t\t\t\tresolveResults.set(key, result.path);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinvalidResolveResults.add(key);\n\t\t\t\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t\t\t\t`Resolving '${path}' in ${context} for build dependencies doesn't lead to expected result '${expected}', but to '${\n\t\t\t\t\t\t\t\t\t\terr || (result && result.path)\n\t\t\t\t\t\t\t\t\t}' instead. Resolving dependencies are ignored for this path.\\n${pathToString(\n\t\t\t\t\t\t\t\t\t\tjob\n\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\tif (expected === false) {\n\t\t\t\t\t\t\t\t\tresolveResults.set(key, false);\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinvalidResolveResults.add(key);\n\t\t\t\t\t\t\t\terr.message += `\\nwhile resolving '${path}' in ${context} as file\\n${pathToString(\n\t\t\t\t\t\t\t\t\tjob\n\t\t\t\t\t\t\t\t)}`;\n\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\t\tresolveResults.set(key, resultPath);\n\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\ttype: RBDT_FILE,\n\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\tpath: resultPath,\n\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase RBDT_RESOLVE_CJS: {\n\t\t\t\t\t\tconst isDirectory = /[\\\\/]$/.test(path);\n\t\t\t\t\t\tif (isDirectory) {\n\t\t\t\t\t\t\tresolveDirectory(path.slice(0, path.length - 1));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresolveFile(path, \"f\", resolveCjs);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_RESOLVE_ESM: {\n\t\t\t\t\t\tconst isDirectory = /[\\\\/]$/.test(path);\n\t\t\t\t\t\tif (isDirectory) {\n\t\t\t\t\t\t\tresolveDirectory(path.slice(0, path.length - 1));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresolveFile(path);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_RESOLVE_DIRECTORY: {\n\t\t\t\t\t\tresolveDirectory(path);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_RESOLVE_CJS_FILE: {\n\t\t\t\t\t\tresolveFile(path, \"f\", resolveCjs);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_RESOLVE_CJS_FILE_AS_CHILD: {\n\t\t\t\t\t\tresolveFile(path, \"c\", resolveCjsAsChild);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_RESOLVE_ESM_FILE: {\n\t\t\t\t\t\tresolveFile(path, \"e\", resolveEsm);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_FILE: {\n\t\t\t\t\t\tif (files.has(path)) {\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfiles.add(path);\n\t\t\t\t\t\tthis.fs.realpath(path, (err, _realPath) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst realPath = /** @type {string} */ (_realPath);\n\t\t\t\t\t\t\tif (realPath !== path) {\n\t\t\t\t\t\t\t\tfileSymlinks.add(path);\n\t\t\t\t\t\t\t\tresolveFiles.add(path);\n\t\t\t\t\t\t\t\tif (files.has(realPath)) return callback();\n\t\t\t\t\t\t\t\tfiles.add(realPath);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\ttype: RBDT_FILE_DEPENDENCIES,\n\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\tpath: realPath,\n\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_DIRECTORY: {\n\t\t\t\t\t\tif (directories.has(path)) {\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdirectories.add(path);\n\t\t\t\t\t\tthis.fs.realpath(path, (err, _realPath) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst realPath = /** @type {string} */ (_realPath);\n\t\t\t\t\t\t\tif (realPath !== path) {\n\t\t\t\t\t\t\t\tdirectorySymlinks.add(path);\n\t\t\t\t\t\t\t\tresolveFiles.add(path);\n\t\t\t\t\t\t\t\tif (directories.has(realPath)) return callback();\n\t\t\t\t\t\t\t\tdirectories.add(realPath);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\ttype: RBDT_DIRECTORY_DEPENDENCIES,\n\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\tpath: realPath,\n\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_FILE_DEPENDENCIES: {\n\t\t\t\t\t\t// Check for known files without dependencies\n\t\t\t\t\t\tif (/\\.json5?$|\\.yarn-integrity$|yarn\\.lock$|\\.ya?ml/.test(path)) {\n\t\t\t\t\t\t\tprocess.nextTick(callback);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Check commonjs cache for the module\n\t\t\t\t\t\t/** @type {NodeModule} */\n\t\t\t\t\t\tconst module = __webpack_require__.c[path];\n\t\t\t\t\t\tif (module && Array.isArray(module.children)) {\n\t\t\t\t\t\t\tchildren: for (const child of module.children) {\n\t\t\t\t\t\t\t\tlet childPath = child.filename;\n\t\t\t\t\t\t\t\tif (childPath) {\n\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\ttype: RBDT_FILE,\n\t\t\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\t\t\tpath: childPath,\n\t\t\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tconst context = dirname(this.fs, path);\n\t\t\t\t\t\t\t\t\tfor (const modulePath of module.paths) {\n\t\t\t\t\t\t\t\t\t\tif (childPath.startsWith(modulePath)) {\n\t\t\t\t\t\t\t\t\t\t\tlet subPath = childPath.slice(modulePath.length + 1);\n\t\t\t\t\t\t\t\t\t\t\tconst packageMatch = /^(@[^\\\\/]+[\\\\/])[^\\\\/]+/.exec(\n\t\t\t\t\t\t\t\t\t\t\t\tsubPath\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tif (packageMatch) {\n\t\t\t\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype: RBDT_FILE,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpath:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodulePath +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchildPath[modulePath.length] +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpackageMatch[0] +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchildPath[modulePath.length] +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"package.json\",\n\t\t\t\t\t\t\t\t\t\t\t\t\texpected: false,\n\t\t\t\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tlet request = subPath.replace(/\\\\/g, \"/\");\n\t\t\t\t\t\t\t\t\t\t\tif (request.endsWith(\".js\"))\n\t\t\t\t\t\t\t\t\t\t\t\trequest = request.slice(0, -3);\n\t\t\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: RBDT_RESOLVE_CJS_FILE_AS_CHILD,\n\t\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\t\tpath: request,\n\t\t\t\t\t\t\t\t\t\t\t\texpected: child.filename,\n\t\t\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tcontinue children;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tlet request = relative(this.fs, context, childPath);\n\t\t\t\t\t\t\t\t\tif (request.endsWith(\".js\")) request = request.slice(0, -3);\n\t\t\t\t\t\t\t\t\trequest = request.replace(/\\\\/g, \"/\");\n\t\t\t\t\t\t\t\t\tif (!request.startsWith(\"../\") && !isAbsolute(request)) {\n\t\t\t\t\t\t\t\t\t\trequest = `./${request}`;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\ttype: RBDT_RESOLVE_CJS_FILE,\n\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\tpath: request,\n\t\t\t\t\t\t\t\t\t\texpected: child.filename,\n\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (supportsEsm && /\\.m?js$/.test(path)) {\n\t\t\t\t\t\t\tif (!this._warnAboutExperimentalEsmTracking) {\n\t\t\t\t\t\t\t\tthis.logger.log(\n\t\t\t\t\t\t\t\t\t\"Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\\n\" +\n\t\t\t\t\t\t\t\t\t\t\"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\\n\" +\n\t\t\t\t\t\t\t\t\t\t\"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tthis._warnAboutExperimentalEsmTracking = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst lexer = __webpack_require__(/*! es-module-lexer */ \"./node_modules/es-module-lexer/dist/lexer.js\");\n\t\t\t\t\t\t\tlexer.init.then(() => {\n\t\t\t\t\t\t\t\tthis.fs.readFile(path, (err, content) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\tconst context = dirname(this.fs, path);\n\t\t\t\t\t\t\t\t\t\tconst source = content.toString();\n\t\t\t\t\t\t\t\t\t\tconst [imports] = lexer.parse(source);\n\t\t\t\t\t\t\t\t\t\tfor (const imp of imports) {\n\t\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\tlet dependency;\n\t\t\t\t\t\t\t\t\t\t\t\tif (imp.d === -1) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// import ... from \"...\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tdependency = parseString(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsource.substring(imp.s - 1, imp.e + 1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t} else if (imp.d > -1) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// import()\n\t\t\t\t\t\t\t\t\t\t\t\t\tlet expr = source.substring(imp.s, imp.e).trim();\n\t\t\t\t\t\t\t\t\t\t\t\t\tdependency = parseString(expr);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// e.g. import.meta\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t// we should not track Node.js build dependencies\n\t\t\t\t\t\t\t\t\t\t\t\tif (dependency.startsWith(\"node:\")) continue;\n\t\t\t\t\t\t\t\t\t\t\t\tif (builtinModules.has(dependency)) continue;\n\n\t\t\t\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype: RBDT_RESOLVE_ESM_FILE,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpath: dependency,\n\t\t\t\t\t\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`Parsing of ${path} for build dependencies failed at 'import(${source.substring(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\timp.s,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\timp.e\n\t\t\t\t\t\t\t\t\t\t\t\t\t)})'.\\n` +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.\"\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tthis.logger.debug(pathToString(job));\n\t\t\t\t\t\t\t\t\t\t\t\tthis.logger.debug(e.stack);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t\t\t\t\t\t`Parsing of ${path} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(pathToString(job));\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(e.stack);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tprocess.nextTick(callback);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}, callback);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.logger.log(\n\t\t\t\t\t\t\t\t`Assuming ${path} has no dependencies as we were unable to assign it to any module system.`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tthis.logger.debug(pathToString(job));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tprocess.nextTick(callback);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase RBDT_DIRECTORY_DEPENDENCIES: {\n\t\t\t\t\t\tconst match =\n\t\t\t\t\t\t\t/(^.+[\\\\/]node_modules[\\\\/](?:@[^\\\\/]+[\\\\/])?[^\\\\/]+)/.exec(path);\n\t\t\t\t\t\tconst packagePath = match ? match[1] : path;\n\t\t\t\t\t\tconst packageJson = join(this.fs, packagePath, \"package.json\");\n\t\t\t\t\t\tthis.fs.readFile(packageJson, (err, content) => {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\t\t\t\t\tresolveMissing.add(packageJson);\n\t\t\t\t\t\t\t\t\tconst parent = dirname(this.fs, packagePath);\n\t\t\t\t\t\t\t\t\tif (parent !== packagePath) {\n\t\t\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\t\t\ttype: RBDT_DIRECTORY_DEPENDENCIES,\n\t\t\t\t\t\t\t\t\t\t\tcontext: undefined,\n\t\t\t\t\t\t\t\t\t\t\tpath: parent,\n\t\t\t\t\t\t\t\t\t\t\texpected: undefined,\n\t\t\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolveFiles.add(packageJson);\n\t\t\t\t\t\t\tlet packageData;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tpackageData = JSON.parse(content.toString(\"utf-8\"));\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\treturn callback(e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst depsObject = packageData.dependencies;\n\t\t\t\t\t\t\tconst optionalDepsObject = packageData.optionalDependencies;\n\t\t\t\t\t\t\tconst allDeps = new Set();\n\t\t\t\t\t\t\tconst optionalDeps = new Set();\n\t\t\t\t\t\t\tif (typeof depsObject === \"object\" && depsObject) {\n\t\t\t\t\t\t\t\tfor (const dep of Object.keys(depsObject)) {\n\t\t\t\t\t\t\t\t\tallDeps.add(dep);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\ttypeof optionalDepsObject === \"object\" &&\n\t\t\t\t\t\t\t\toptionalDepsObject\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tfor (const dep of Object.keys(optionalDepsObject)) {\n\t\t\t\t\t\t\t\t\tallDeps.add(dep);\n\t\t\t\t\t\t\t\t\toptionalDeps.add(dep);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const dep of allDeps) {\n\t\t\t\t\t\t\t\tpush({\n\t\t\t\t\t\t\t\t\ttype: RBDT_RESOLVE_DIRECTORY,\n\t\t\t\t\t\t\t\t\tcontext: packagePath,\n\t\t\t\t\t\t\t\t\tpath: dep,\n\t\t\t\t\t\t\t\t\texpected: !optionalDeps.has(dep),\n\t\t\t\t\t\t\t\t\tissuer: job\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tfor (const l of fileSymlinks) files.delete(l);\n\t\t\t\tfor (const l of directorySymlinks) directories.delete(l);\n\t\t\t\tfor (const k of invalidResolveResults) resolveResults.delete(k);\n\t\t\t\tcallback(null, {\n\t\t\t\t\tfiles,\n\t\t\t\t\tdirectories,\n\t\t\t\t\tmissing,\n\t\t\t\t\tresolveResults,\n\t\t\t\t\tresolveDependencies: {\n\t\t\t\t\t\tfiles: resolveFiles,\n\t\t\t\t\t\tdirectories: resolveDirectories,\n\t\t\t\t\t\tmissing: resolveMissing\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {Map<string, string | false>} resolveResults results from resolving\n\t * @param {function((Error | null)=, boolean=): void} callback callback with true when resolveResults resolve the same way\n\t * @returns {void}\n\t */\n\tcheckResolveResultsValid(resolveResults, callback) {\n\t\tconst { resolveCjs, resolveCjsAsChild, resolveEsm, resolveContext } =\n\t\t\tthis._createBuildDependenciesResolvers();\n\t\tasyncLib.eachLimit(\n\t\t\tresolveResults,\n\t\t\t20,\n\t\t\t([key, expectedResult], callback) => {\n\t\t\t\tconst [type, context, path] = key.split(\"\\n\");\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase \"d\":\n\t\t\t\t\t\tresolveContext(context, path, {}, (err, _, result) => {\n\t\t\t\t\t\t\tif (expectedResult === false)\n\t\t\t\t\t\t\t\treturn callback(err ? undefined : INVALID);\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\t\tif (resultPath !== expectedResult) return callback(INVALID);\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"f\":\n\t\t\t\t\t\tresolveCjs(context, path, {}, (err, _, result) => {\n\t\t\t\t\t\t\tif (expectedResult === false)\n\t\t\t\t\t\t\t\treturn callback(err ? undefined : INVALID);\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\t\tif (resultPath !== expectedResult) return callback(INVALID);\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"c\":\n\t\t\t\t\t\tresolveCjsAsChild(context, path, {}, (err, _, result) => {\n\t\t\t\t\t\t\tif (expectedResult === false)\n\t\t\t\t\t\t\t\treturn callback(err ? undefined : INVALID);\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\t\tif (resultPath !== expectedResult) return callback(INVALID);\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"e\":\n\t\t\t\t\t\tresolveEsm(context, path, {}, (err, _, result) => {\n\t\t\t\t\t\t\tif (expectedResult === false)\n\t\t\t\t\t\t\t\treturn callback(err ? undefined : INVALID);\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst resultPath = result.path;\n\t\t\t\t\t\t\tif (resultPath !== expectedResult) return callback(INVALID);\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcallback(new Error(\"Unexpected type in resolve result key\"));\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t},\n\t\t\t/**\n\t\t\t * @param {Error | typeof INVALID=} err error or invalid flag\n\t\t\t * @returns {void}\n\t\t\t */\n\t\t\terr => {\n\t\t\t\tif (err === INVALID) {\n\t\t\t\t\treturn callback(null, false);\n\t\t\t\t}\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\treturn callback(null, true);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t *\n\t * @param {number} startTime when processing the files has started\n\t * @param {Iterable<string>} files all files\n\t * @param {Iterable<string>} directories all directories\n\t * @param {Iterable<string>} missing all missing files or directories\n\t * @param {Object} options options object (for future extensions)\n\t * @param {boolean=} options.hash should use hash to snapshot\n\t * @param {boolean=} options.timestamp should use timestamp to snapshot\n\t * @param {function((WebpackError | null)=, (Snapshot | null)=): void} callback callback function\n\t * @returns {void}\n\t */\n\tcreateSnapshot(startTime, files, directories, missing, options, callback) {\n\t\t/** @type {Map<string, FileSystemInfoEntry | null>} */\n\t\tconst fileTimestamps = new Map();\n\t\t/** @type {Map<string, string | null>} */\n\t\tconst fileHashes = new Map();\n\t\t/** @type {Map<string, TimestampAndHash | string | null>} */\n\t\tconst fileTshs = new Map();\n\t\t/** @type {Map<string, FileSystemInfoEntry | null>} */\n\t\tconst contextTimestamps = new Map();\n\t\t/** @type {Map<string, string | null>} */\n\t\tconst contextHashes = new Map();\n\t\t/** @type {Map<string, ResolvedContextTimestampAndHash | null>} */\n\t\tconst contextTshs = new Map();\n\t\t/** @type {Map<string, boolean>} */\n\t\tconst missingExistence = new Map();\n\t\t/** @type {Map<string, string>} */\n\t\tconst managedItemInfo = new Map();\n\t\t/** @type {Set<string>} */\n\t\tconst managedFiles = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst managedContexts = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst managedMissing = new Set();\n\t\t/** @type {Set<Snapshot>} */\n\t\tconst children = new Set();\n\n\t\tconst snapshot = new Snapshot();\n\t\tif (startTime) snapshot.setStartTime(startTime);\n\n\t\t/** @type {Set<string>} */\n\t\tconst managedItems = new Set();\n\n\t\t/** 1 = timestamp, 2 = hash, 3 = timestamp + hash */\n\t\tconst mode = options && options.hash ? (options.timestamp ? 3 : 2) : 1;\n\n\t\tlet jobs = 1;\n\t\tconst jobDone = () => {\n\t\t\tif (--jobs === 0) {\n\t\t\t\tif (fileTimestamps.size !== 0) {\n\t\t\t\t\tsnapshot.setFileTimestamps(fileTimestamps);\n\t\t\t\t}\n\t\t\t\tif (fileHashes.size !== 0) {\n\t\t\t\t\tsnapshot.setFileHashes(fileHashes);\n\t\t\t\t}\n\t\t\t\tif (fileTshs.size !== 0) {\n\t\t\t\t\tsnapshot.setFileTshs(fileTshs);\n\t\t\t\t}\n\t\t\t\tif (contextTimestamps.size !== 0) {\n\t\t\t\t\tsnapshot.setContextTimestamps(contextTimestamps);\n\t\t\t\t}\n\t\t\t\tif (contextHashes.size !== 0) {\n\t\t\t\t\tsnapshot.setContextHashes(contextHashes);\n\t\t\t\t}\n\t\t\t\tif (contextTshs.size !== 0) {\n\t\t\t\t\tsnapshot.setContextTshs(contextTshs);\n\t\t\t\t}\n\t\t\t\tif (missingExistence.size !== 0) {\n\t\t\t\t\tsnapshot.setMissingExistence(missingExistence);\n\t\t\t\t}\n\t\t\t\tif (managedItemInfo.size !== 0) {\n\t\t\t\t\tsnapshot.setManagedItemInfo(managedItemInfo);\n\t\t\t\t}\n\t\t\t\tthis._managedFilesOptimization.optimize(snapshot, managedFiles);\n\t\t\t\tif (managedFiles.size !== 0) {\n\t\t\t\t\tsnapshot.setManagedFiles(managedFiles);\n\t\t\t\t}\n\t\t\t\tthis._managedContextsOptimization.optimize(snapshot, managedContexts);\n\t\t\t\tif (managedContexts.size !== 0) {\n\t\t\t\t\tsnapshot.setManagedContexts(managedContexts);\n\t\t\t\t}\n\t\t\t\tthis._managedMissingOptimization.optimize(snapshot, managedMissing);\n\t\t\t\tif (managedMissing.size !== 0) {\n\t\t\t\t\tsnapshot.setManagedMissing(managedMissing);\n\t\t\t\t}\n\t\t\t\tif (children.size !== 0) {\n\t\t\t\t\tsnapshot.setChildren(children);\n\t\t\t\t}\n\t\t\t\tthis._snapshotCache.set(snapshot, true);\n\t\t\t\tthis._statCreatedSnapshots++;\n\n\t\t\t\tcallback(null, snapshot);\n\t\t\t}\n\t\t};\n\t\tconst jobError = () => {\n\t\t\tif (jobs > 0) {\n\t\t\t\t// large negative number instead of NaN or something else to keep jobs to stay a SMI (v8)\n\t\t\t\tjobs = -100000000;\n\t\t\t\tcallback(null, null);\n\t\t\t}\n\t\t};\n\t\tconst checkManaged = (path, managedSet) => {\n\t\t\tfor (const immutablePath of this.immutablePathsRegExps) {\n\t\t\t\tif (immutablePath.test(path)) {\n\t\t\t\t\tmanagedSet.add(path);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const immutablePath of this.immutablePathsWithSlash) {\n\t\t\t\tif (path.startsWith(immutablePath)) {\n\t\t\t\t\tmanagedSet.add(path);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const managedPath of this.managedPathsRegExps) {\n\t\t\t\tconst match = managedPath.exec(path);\n\t\t\t\tif (match) {\n\t\t\t\t\tconst managedItem = getManagedItem(match[1], path);\n\t\t\t\t\tif (managedItem) {\n\t\t\t\t\t\tmanagedItems.add(managedItem);\n\t\t\t\t\t\tmanagedSet.add(path);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const managedPath of this.managedPathsWithSlash) {\n\t\t\t\tif (path.startsWith(managedPath)) {\n\t\t\t\t\tconst managedItem = getManagedItem(managedPath, path);\n\t\t\t\t\tif (managedItem) {\n\t\t\t\t\t\tmanagedItems.add(managedItem);\n\t\t\t\t\t\tmanagedSet.add(path);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t\tconst captureNonManaged = (items, managedSet) => {\n\t\t\tconst capturedItems = new Set();\n\t\t\tfor (const path of items) {\n\t\t\t\tif (!checkManaged(path, managedSet)) capturedItems.add(path);\n\t\t\t}\n\t\t\treturn capturedItems;\n\t\t};\n\t\tconst processCapturedFiles = capturedFiles => {\n\t\t\tswitch (mode) {\n\t\t\t\tcase 3:\n\t\t\t\t\tthis._fileTshsOptimization.optimize(snapshot, capturedFiles);\n\t\t\t\t\tfor (const path of capturedFiles) {\n\t\t\t\t\t\tconst cache = this._fileTshs.get(path);\n\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\tfileTshs.set(path, cache);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\tthis._getFileTimestampAndHash(path, (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting file timestamp hash combination of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfileTshs.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tthis._fileHashesOptimization.optimize(snapshot, capturedFiles);\n\t\t\t\t\tfor (const path of capturedFiles) {\n\t\t\t\t\t\tconst cache = this._fileHashes.get(path);\n\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\tfileHashes.set(path, cache);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\tthis.fileHashQueue.add(path, (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting file hash of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfileHashes.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tthis._fileTimestampsOptimization.optimize(snapshot, capturedFiles);\n\t\t\t\t\tfor (const path of capturedFiles) {\n\t\t\t\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\tif (cache !== \"ignore\") {\n\t\t\t\t\t\t\t\tfileTimestamps.set(path, cache);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting file timestamp of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfileTimestamps.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t};\n\t\tif (files) {\n\t\t\tprocessCapturedFiles(captureNonManaged(files, managedFiles));\n\t\t}\n\t\tconst processCapturedDirectories = capturedDirectories => {\n\t\t\tswitch (mode) {\n\t\t\t\tcase 3:\n\t\t\t\t\tthis._contextTshsOptimization.optimize(snapshot, capturedDirectories);\n\t\t\t\t\tfor (const path of capturedDirectories) {\n\t\t\t\t\t\tconst cache = this._contextTshs.get(path);\n\t\t\t\t\t\t/** @type {ResolvedContextTimestampAndHash} */\n\t\t\t\t\t\tlet resolved;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tcache !== undefined &&\n\t\t\t\t\t\t\t(resolved = getResolvedTimestamp(cache)) !== undefined\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tcontextTshs.set(path, resolved);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param {Error=} err error\n\t\t\t\t\t\t\t * @param {ResolvedContextTimestampAndHash=} entry entry\n\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting context timestamp hash combination of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcontextTshs.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\t\tthis._resolveContextTsh(cache, callback);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.getContextTsh(path, callback);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tthis._contextHashesOptimization.optimize(\n\t\t\t\t\t\tsnapshot,\n\t\t\t\t\t\tcapturedDirectories\n\t\t\t\t\t);\n\t\t\t\t\tfor (const path of capturedDirectories) {\n\t\t\t\t\t\tconst cache = this._contextHashes.get(path);\n\t\t\t\t\t\tlet resolved;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tcache !== undefined &&\n\t\t\t\t\t\t\t(resolved = getResolvedHash(cache)) !== undefined\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tcontextHashes.set(path, resolved);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting context hash of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcontextHashes.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\t\tthis._resolveContextHash(cache, callback);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.getContextHash(path, callback);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tthis._contextTimestampsOptimization.optimize(\n\t\t\t\t\t\tsnapshot,\n\t\t\t\t\t\tcapturedDirectories\n\t\t\t\t\t);\n\t\t\t\t\tfor (const path of capturedDirectories) {\n\t\t\t\t\t\tconst cache = this._contextTimestamps.get(path);\n\t\t\t\t\t\tif (cache === \"ignore\") continue;\n\t\t\t\t\t\tlet resolved;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tcache !== undefined &&\n\t\t\t\t\t\t\t(resolved = getResolvedTimestamp(cache)) !== undefined\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tcontextTimestamps.set(path, resolved);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param {Error=} err error\n\t\t\t\t\t\t\t * @param {ResolvedContextFileSystemInfoEntry=} entry entry\n\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`Error snapshotting context timestamp of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcontextTimestamps.set(path, entry);\n\t\t\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\t\tthis._resolveContextTimestamp(cache, callback);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.getContextTimestamp(path, callback);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t};\n\t\tif (directories) {\n\t\t\tprocessCapturedDirectories(\n\t\t\t\tcaptureNonManaged(directories, managedContexts)\n\t\t\t);\n\t\t}\n\t\tconst processCapturedMissing = capturedMissing => {\n\t\t\tthis._missingExistenceOptimization.optimize(snapshot, capturedMissing);\n\t\t\tfor (const path of capturedMissing) {\n\t\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tif (cache !== \"ignore\") {\n\t\t\t\t\t\tmissingExistence.set(path, Boolean(cache));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjobs++;\n\t\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t\t`Error snapshotting missing timestamp of ${path}: ${err.stack}`\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjobError();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmissingExistence.set(path, Boolean(entry));\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tif (missing) {\n\t\t\tprocessCapturedMissing(captureNonManaged(missing, managedMissing));\n\t\t}\n\t\tthis._managedItemInfoOptimization.optimize(snapshot, managedItems);\n\t\tfor (const path of managedItems) {\n\t\t\tconst cache = this._managedItems.get(path);\n\t\t\tif (cache !== undefined) {\n\t\t\t\tif (!cache.startsWith(\"*\")) {\n\t\t\t\t\tmanagedFiles.add(join(this.fs, path, \"package.json\"));\n\t\t\t\t} else if (cache === \"*nested\") {\n\t\t\t\t\tmanagedMissing.add(join(this.fs, path, \"package.json\"));\n\t\t\t\t}\n\t\t\t\tmanagedItemInfo.set(path, cache);\n\t\t\t} else {\n\t\t\t\tjobs++;\n\t\t\t\tthis.managedItemQueue.add(path, (err, entry) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tif (this.logger) {\n\t\t\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t\t\t`Error snapshotting managed item ${path}: ${err.stack}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjobError();\n\t\t\t\t\t} else if (entry) {\n\t\t\t\t\t\tif (!entry.startsWith(\"*\")) {\n\t\t\t\t\t\t\tmanagedFiles.add(join(this.fs, path, \"package.json\"));\n\t\t\t\t\t\t} else if (cache === \"*nested\") {\n\t\t\t\t\t\t\tmanagedMissing.add(join(this.fs, path, \"package.json\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmanagedItemInfo.set(path, entry);\n\t\t\t\t\t\tjobDone();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Fallback to normal snapshotting\n\t\t\t\t\t\tconst process = (set, fn) => {\n\t\t\t\t\t\t\tif (set.size === 0) return;\n\t\t\t\t\t\t\tconst captured = new Set();\n\t\t\t\t\t\t\tfor (const file of set) {\n\t\t\t\t\t\t\t\tif (file.startsWith(path)) captured.add(file);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (captured.size > 0) fn(captured);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tprocess(managedFiles, processCapturedFiles);\n\t\t\t\t\t\tprocess(managedContexts, processCapturedDirectories);\n\t\t\t\t\t\tprocess(managedMissing, processCapturedMissing);\n\t\t\t\t\t\tjobDone();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tjobDone();\n\t}\n\n\t/**\n\t * @param {Snapshot} snapshot1 a snapshot\n\t * @param {Snapshot} snapshot2 a snapshot\n\t * @returns {Snapshot} merged snapshot\n\t */\n\tmergeSnapshots(snapshot1, snapshot2) {\n\t\tconst snapshot = new Snapshot();\n\t\tif (snapshot1.hasStartTime() && snapshot2.hasStartTime())\n\t\t\tsnapshot.setStartTime(Math.min(snapshot1.startTime, snapshot2.startTime));\n\t\telse if (snapshot2.hasStartTime()) snapshot.startTime = snapshot2.startTime;\n\t\telse if (snapshot1.hasStartTime()) snapshot.startTime = snapshot1.startTime;\n\t\tif (snapshot1.hasFileTimestamps() || snapshot2.hasFileTimestamps()) {\n\t\t\tsnapshot.setFileTimestamps(\n\t\t\t\tmergeMaps(snapshot1.fileTimestamps, snapshot2.fileTimestamps)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasFileHashes() || snapshot2.hasFileHashes()) {\n\t\t\tsnapshot.setFileHashes(\n\t\t\t\tmergeMaps(snapshot1.fileHashes, snapshot2.fileHashes)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasFileTshs() || snapshot2.hasFileTshs()) {\n\t\t\tsnapshot.setFileTshs(mergeMaps(snapshot1.fileTshs, snapshot2.fileTshs));\n\t\t}\n\t\tif (snapshot1.hasContextTimestamps() || snapshot2.hasContextTimestamps()) {\n\t\t\tsnapshot.setContextTimestamps(\n\t\t\t\tmergeMaps(snapshot1.contextTimestamps, snapshot2.contextTimestamps)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasContextHashes() || snapshot2.hasContextHashes()) {\n\t\t\tsnapshot.setContextHashes(\n\t\t\t\tmergeMaps(snapshot1.contextHashes, snapshot2.contextHashes)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasContextTshs() || snapshot2.hasContextTshs()) {\n\t\t\tsnapshot.setContextTshs(\n\t\t\t\tmergeMaps(snapshot1.contextTshs, snapshot2.contextTshs)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasMissingExistence() || snapshot2.hasMissingExistence()) {\n\t\t\tsnapshot.setMissingExistence(\n\t\t\t\tmergeMaps(snapshot1.missingExistence, snapshot2.missingExistence)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasManagedItemInfo() || snapshot2.hasManagedItemInfo()) {\n\t\t\tsnapshot.setManagedItemInfo(\n\t\t\t\tmergeMaps(snapshot1.managedItemInfo, snapshot2.managedItemInfo)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasManagedFiles() || snapshot2.hasManagedFiles()) {\n\t\t\tsnapshot.setManagedFiles(\n\t\t\t\tmergeSets(snapshot1.managedFiles, snapshot2.managedFiles)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasManagedContexts() || snapshot2.hasManagedContexts()) {\n\t\t\tsnapshot.setManagedContexts(\n\t\t\t\tmergeSets(snapshot1.managedContexts, snapshot2.managedContexts)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasManagedMissing() || snapshot2.hasManagedMissing()) {\n\t\t\tsnapshot.setManagedMissing(\n\t\t\t\tmergeSets(snapshot1.managedMissing, snapshot2.managedMissing)\n\t\t\t);\n\t\t}\n\t\tif (snapshot1.hasChildren() || snapshot2.hasChildren()) {\n\t\t\tsnapshot.setChildren(mergeSets(snapshot1.children, snapshot2.children));\n\t\t}\n\t\tif (\n\t\t\tthis._snapshotCache.get(snapshot1) === true &&\n\t\t\tthis._snapshotCache.get(snapshot2) === true\n\t\t) {\n\t\t\tthis._snapshotCache.set(snapshot, true);\n\t\t}\n\t\treturn snapshot;\n\t}\n\n\t/**\n\t * @param {Snapshot} snapshot the snapshot made\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function\n\t * @returns {void}\n\t */\n\tcheckSnapshotValid(snapshot, callback) {\n\t\tconst cachedResult = this._snapshotCache.get(snapshot);\n\t\tif (cachedResult !== undefined) {\n\t\t\tthis._statTestedSnapshotsCached++;\n\t\t\tif (typeof cachedResult === \"boolean\") {\n\t\t\t\tcallback(null, cachedResult);\n\t\t\t} else {\n\t\t\t\tcachedResult.push(callback);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tthis._statTestedSnapshotsNotCached++;\n\t\tthis._checkSnapshotValidNoCache(snapshot, callback);\n\t}\n\n\t/**\n\t * @param {Snapshot} snapshot the snapshot made\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function\n\t * @returns {void}\n\t */\n\t_checkSnapshotValidNoCache(snapshot, callback) {\n\t\t/** @type {number | undefined} */\n\t\tlet startTime = undefined;\n\t\tif (snapshot.hasStartTime()) {\n\t\t\tstartTime = snapshot.startTime;\n\t\t}\n\t\tlet jobs = 1;\n\t\tconst jobDone = () => {\n\t\t\tif (--jobs === 0) {\n\t\t\t\tthis._snapshotCache.set(snapshot, true);\n\t\t\t\tcallback(null, true);\n\t\t\t}\n\t\t};\n\t\tconst invalid = () => {\n\t\t\tif (jobs > 0) {\n\t\t\t\t// large negative number instead of NaN or something else to keep jobs to stay a SMI (v8)\n\t\t\t\tjobs = -100000000;\n\t\t\t\tthis._snapshotCache.set(snapshot, false);\n\t\t\t\tcallback(null, false);\n\t\t\t}\n\t\t};\n\t\tconst invalidWithError = (path, err) => {\n\t\t\tif (this._remainingLogs > 0) {\n\t\t\t\tthis._log(path, `error occurred: %s`, err);\n\t\t\t}\n\t\t\tinvalid();\n\t\t};\n\t\t/**\n\t\t * @param {string} path file path\n\t\t * @param {string} current current hash\n\t\t * @param {string} snap snapshot hash\n\t\t * @returns {boolean} true, if ok\n\t\t */\n\t\tconst checkHash = (path, current, snap) => {\n\t\t\tif (current !== snap) {\n\t\t\t\t// If hash differ it's invalid\n\t\t\t\tif (this._remainingLogs > 0) {\n\t\t\t\t\tthis._log(path, `hashes differ (%s != %s)`, current, snap);\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\t/**\n\t\t * @param {string} path file path\n\t\t * @param {boolean} current current entry\n\t\t * @param {boolean} snap entry from snapshot\n\t\t * @returns {boolean} true, if ok\n\t\t */\n\t\tconst checkExistence = (path, current, snap) => {\n\t\t\tif (!current !== !snap) {\n\t\t\t\t// If existence of item differs\n\t\t\t\t// it's invalid\n\t\t\t\tif (this._remainingLogs > 0) {\n\t\t\t\t\tthis._log(\n\t\t\t\t\t\tpath,\n\t\t\t\t\t\tcurrent ? \"it didn't exist before\" : \"it does no longer exist\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\t/**\n\t\t * @param {string} path file path\n\t\t * @param {FileSystemInfoEntry} current current entry\n\t\t * @param {FileSystemInfoEntry} snap entry from snapshot\n\t\t * @param {boolean} log log reason\n\t\t * @returns {boolean} true, if ok\n\t\t */\n\t\tconst checkFile = (path, current, snap, log = true) => {\n\t\t\tif (current === snap) return true;\n\t\t\tif (!checkExistence(path, Boolean(current), Boolean(snap))) return false;\n\t\t\tif (current) {\n\t\t\t\t// For existing items only\n\t\t\t\tif (typeof startTime === \"number\" && current.safeTime > startTime) {\n\t\t\t\t\t// If a change happened after starting reading the item\n\t\t\t\t\t// this may no longer be valid\n\t\t\t\t\tif (log && this._remainingLogs > 0) {\n\t\t\t\t\t\tthis._log(\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\t`it may have changed (%d) after the start time of the snapshot (%d)`,\n\t\t\t\t\t\t\tcurrent.safeTime,\n\t\t\t\t\t\t\tstartTime\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsnap.timestamp !== undefined &&\n\t\t\t\t\tcurrent.timestamp !== snap.timestamp\n\t\t\t\t) {\n\t\t\t\t\t// If we have a timestamp (it was a file or symlink) and it differs from current timestamp\n\t\t\t\t\t// it's invalid\n\t\t\t\t\tif (log && this._remainingLogs > 0) {\n\t\t\t\t\t\tthis._log(\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\t`timestamps differ (%d != %d)`,\n\t\t\t\t\t\t\tcurrent.timestamp,\n\t\t\t\t\t\t\tsnap.timestamp\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\t/**\n\t\t * @param {string} path file path\n\t\t * @param {ResolvedContextFileSystemInfoEntry} current current entry\n\t\t * @param {ResolvedContextFileSystemInfoEntry} snap entry from snapshot\n\t\t * @param {boolean} log log reason\n\t\t * @returns {boolean} true, if ok\n\t\t */\n\t\tconst checkContext = (path, current, snap, log = true) => {\n\t\t\tif (current === snap) return true;\n\t\t\tif (!checkExistence(path, Boolean(current), Boolean(snap))) return false;\n\t\t\tif (current) {\n\t\t\t\t// For existing items only\n\t\t\t\tif (typeof startTime === \"number\" && current.safeTime > startTime) {\n\t\t\t\t\t// If a change happened after starting reading the item\n\t\t\t\t\t// this may no longer be valid\n\t\t\t\t\tif (log && this._remainingLogs > 0) {\n\t\t\t\t\t\tthis._log(\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\t`it may have changed (%d) after the start time of the snapshot (%d)`,\n\t\t\t\t\t\t\tcurrent.safeTime,\n\t\t\t\t\t\t\tstartTime\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsnap.timestampHash !== undefined &&\n\t\t\t\t\tcurrent.timestampHash !== snap.timestampHash\n\t\t\t\t) {\n\t\t\t\t\t// If we have a timestampHash (it was a directory) and it differs from current timestampHash\n\t\t\t\t\t// it's invalid\n\t\t\t\t\tif (log && this._remainingLogs > 0) {\n\t\t\t\t\t\tthis._log(\n\t\t\t\t\t\t\tpath,\n\t\t\t\t\t\t\t`timestamps hashes differ (%s != %s)`,\n\t\t\t\t\t\t\tcurrent.timestampHash,\n\t\t\t\t\t\t\tsnap.timestampHash\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\tif (snapshot.hasChildren()) {\n\t\t\tconst childCallback = (err, result) => {\n\t\t\t\tif (err || !result) return invalid();\n\t\t\t\telse jobDone();\n\t\t\t};\n\t\t\tfor (const child of snapshot.children) {\n\t\t\t\tconst cache = this._snapshotCache.get(child);\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tthis._statTestedChildrenCached++;\n\t\t\t\t\t/* istanbul ignore else */\n\t\t\t\t\tif (typeof cache === \"boolean\") {\n\t\t\t\t\t\tif (cache === false) {\n\t\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\tcache.push(childCallback);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis._statTestedChildrenNotCached++;\n\t\t\t\t\tjobs++;\n\t\t\t\t\tthis._checkSnapshotValidNoCache(child, childCallback);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasFileTimestamps()) {\n\t\t\tconst { fileTimestamps } = snapshot;\n\t\t\tthis._statTestedEntries += fileTimestamps.size;\n\t\t\tfor (const [path, ts] of fileTimestamps) {\n\t\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tif (cache !== \"ignore\" && !checkFile(path, cache, ts)) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjobs++;\n\t\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\tif (!checkFile(path, entry, ts)) {\n\t\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tconst processFileHashSnapshot = (path, hash) => {\n\t\t\tconst cache = this._fileHashes.get(path);\n\t\t\tif (cache !== undefined) {\n\t\t\t\tif (cache !== \"ignore\" && !checkHash(path, cache, hash)) {\n\t\t\t\t\tinvalid();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tjobs++;\n\t\t\t\tthis.fileHashQueue.add(path, (err, entry) => {\n\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\tif (!checkHash(path, entry, hash)) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjobDone();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t\tif (snapshot.hasFileHashes()) {\n\t\t\tconst { fileHashes } = snapshot;\n\t\t\tthis._statTestedEntries += fileHashes.size;\n\t\t\tfor (const [path, hash] of fileHashes) {\n\t\t\t\tprocessFileHashSnapshot(path, hash);\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasFileTshs()) {\n\t\t\tconst { fileTshs } = snapshot;\n\t\t\tthis._statTestedEntries += fileTshs.size;\n\t\t\tfor (const [path, tsh] of fileTshs) {\n\t\t\t\tif (typeof tsh === \"string\") {\n\t\t\t\t\tprocessFileHashSnapshot(path, tsh);\n\t\t\t\t} else {\n\t\t\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\tif (cache === \"ignore\" || !checkFile(path, cache, tsh, false)) {\n\t\t\t\t\t\t\tprocessFileHashSnapshot(path, tsh && tsh.hash);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\t\tif (!checkFile(path, entry, tsh, false)) {\n\t\t\t\t\t\t\t\tprocessFileHashSnapshot(path, tsh && tsh.hash);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasContextTimestamps()) {\n\t\t\tconst { contextTimestamps } = snapshot;\n\t\t\tthis._statTestedEntries += contextTimestamps.size;\n\t\t\tfor (const [path, ts] of contextTimestamps) {\n\t\t\t\tconst cache = this._contextTimestamps.get(path);\n\t\t\t\tif (cache === \"ignore\") continue;\n\t\t\t\tlet resolved;\n\t\t\t\tif (\n\t\t\t\t\tcache !== undefined &&\n\t\t\t\t\t(resolved = getResolvedTimestamp(cache)) !== undefined\n\t\t\t\t) {\n\t\t\t\t\tif (!checkContext(path, resolved, ts)) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjobs++;\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Error=} err error\n\t\t\t\t\t * @param {ResolvedContextFileSystemInfoEntry=} entry entry\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\tif (!checkContext(path, entry, ts)) {\n\t\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\tthis._resolveContextTimestamp(cache, callback);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.getContextTimestamp(path, callback);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tconst processContextHashSnapshot = (path, hash) => {\n\t\t\tconst cache = this._contextHashes.get(path);\n\t\t\tlet resolved;\n\t\t\tif (\n\t\t\t\tcache !== undefined &&\n\t\t\t\t(resolved = getResolvedHash(cache)) !== undefined\n\t\t\t) {\n\t\t\t\tif (!checkHash(path, resolved, hash)) {\n\t\t\t\t\tinvalid();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tjobs++;\n\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\tif (!checkHash(path, entry, hash)) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjobDone();\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tthis._resolveContextHash(cache, callback);\n\t\t\t\t} else {\n\t\t\t\t\tthis.getContextHash(path, callback);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tif (snapshot.hasContextHashes()) {\n\t\t\tconst { contextHashes } = snapshot;\n\t\t\tthis._statTestedEntries += contextHashes.size;\n\t\t\tfor (const [path, hash] of contextHashes) {\n\t\t\t\tprocessContextHashSnapshot(path, hash);\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasContextTshs()) {\n\t\t\tconst { contextTshs } = snapshot;\n\t\t\tthis._statTestedEntries += contextTshs.size;\n\t\t\tfor (const [path, tsh] of contextTshs) {\n\t\t\t\tif (typeof tsh === \"string\") {\n\t\t\t\t\tprocessContextHashSnapshot(path, tsh);\n\t\t\t\t} else {\n\t\t\t\t\tconst cache = this._contextTimestamps.get(path);\n\t\t\t\t\tif (cache === \"ignore\") continue;\n\t\t\t\t\tlet resolved;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcache !== undefined &&\n\t\t\t\t\t\t(resolved = getResolvedTimestamp(cache)) !== undefined\n\t\t\t\t\t) {\n\t\t\t\t\t\tif (!checkContext(path, resolved, tsh, false)) {\n\t\t\t\t\t\t\tprocessContextHashSnapshot(path, tsh && tsh.hash);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjobs++;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * @param {Error=} err error\n\t\t\t\t\t\t * @param {ResolvedContextFileSystemInfoEntry=} entry entry\n\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t */\n\t\t\t\t\t\tconst callback = (err, entry) => {\n\t\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\t\tif (!checkContext(path, entry, tsh, false)) {\n\t\t\t\t\t\t\t\tprocessContextHashSnapshot(path, tsh && tsh.hash);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\t\t\tthis._resolveContextTimestamp(cache, callback);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.getContextTimestamp(path, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasMissingExistence()) {\n\t\t\tconst { missingExistence } = snapshot;\n\t\t\tthis._statTestedEntries += missingExistence.size;\n\t\t\tfor (const [path, existence] of missingExistence) {\n\t\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tcache !== \"ignore\" &&\n\t\t\t\t\t\t!checkExistence(path, Boolean(cache), Boolean(existence))\n\t\t\t\t\t) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjobs++;\n\t\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\tif (!checkExistence(path, Boolean(entry), Boolean(existence))) {\n\t\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (snapshot.hasManagedItemInfo()) {\n\t\t\tconst { managedItemInfo } = snapshot;\n\t\t\tthis._statTestedEntries += managedItemInfo.size;\n\t\t\tfor (const [path, info] of managedItemInfo) {\n\t\t\t\tconst cache = this._managedItems.get(path);\n\t\t\t\tif (cache !== undefined) {\n\t\t\t\t\tif (!checkHash(path, cache, info)) {\n\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tjobs++;\n\t\t\t\t\tthis.managedItemQueue.add(path, (err, entry) => {\n\t\t\t\t\t\tif (err) return invalidWithError(path, err);\n\t\t\t\t\t\tif (!checkHash(path, entry, info)) {\n\t\t\t\t\t\t\tinvalid();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjobDone();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tjobDone();\n\n\t\t// if there was an async action\n\t\t// try to join multiple concurrent request for this snapshot\n\t\tif (jobs > 0) {\n\t\t\tconst callbacks = [callback];\n\t\t\tcallback = (err, result) => {\n\t\t\t\tfor (const callback of callbacks) callback(err, result);\n\t\t\t};\n\t\t\tthis._snapshotCache.set(snapshot, callbacks);\n\t\t}\n\t}\n\n\t_readFileTimestamp(path, callback) {\n\t\tthis.fs.stat(path, (err, stat) => {\n\t\t\tif (err) {\n\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\tthis._fileTimestamps.set(path, null);\n\t\t\t\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\t\t\t\t\treturn callback(null, null);\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t}\n\n\t\t\tlet ts;\n\t\t\tif (stat.isDirectory()) {\n\t\t\t\tts = {\n\t\t\t\t\tsafeTime: 0,\n\t\t\t\t\ttimestamp: undefined\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tconst mtime = +stat.mtime;\n\n\t\t\t\tif (mtime) applyMtime(mtime);\n\n\t\t\t\tts = {\n\t\t\t\t\tsafeTime: mtime ? mtime + FS_ACCURACY : Infinity,\n\t\t\t\t\ttimestamp: mtime\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tthis._fileTimestamps.set(path, ts);\n\t\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\n\t\t\tcallback(null, ts);\n\t\t});\n\t}\n\n\t_readFileHash(path, callback) {\n\t\tthis.fs.readFile(path, (err, content) => {\n\t\t\tif (err) {\n\t\t\t\tif (err.code === \"EISDIR\") {\n\t\t\t\t\tthis._fileHashes.set(path, \"directory\");\n\t\t\t\t\treturn callback(null, \"directory\");\n\t\t\t\t}\n\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\tthis._fileHashes.set(path, null);\n\t\t\t\t\treturn callback(null, null);\n\t\t\t\t}\n\t\t\t\tif (err.code === \"ERR_FS_FILE_TOO_LARGE\") {\n\t\t\t\t\tthis.logger.warn(`Ignoring ${path} for hashing as it's very large`);\n\t\t\t\t\tthis._fileHashes.set(path, \"too large\");\n\t\t\t\t\treturn callback(null, \"too large\");\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t}\n\n\t\t\tconst hash = createHash(this._hashFunction);\n\n\t\t\thash.update(content);\n\n\t\t\tconst digest = /** @type {string} */ (hash.digest(\"hex\"));\n\n\t\t\tthis._fileHashes.set(path, digest);\n\n\t\t\tcallback(null, digest);\n\t\t});\n\t}\n\n\t_getFileTimestampAndHash(path, callback) {\n\t\tconst continueWithHash = hash => {\n\t\t\tconst cache = this._fileTimestamps.get(path);\n\t\t\tif (cache !== undefined) {\n\t\t\t\tif (cache !== \"ignore\") {\n\t\t\t\t\tconst result = {\n\t\t\t\t\t\t...cache,\n\t\t\t\t\t\thash\n\t\t\t\t\t};\n\t\t\t\t\tthis._fileTshs.set(path, result);\n\t\t\t\t\treturn callback(null, result);\n\t\t\t\t} else {\n\t\t\t\t\tthis._fileTshs.set(path, hash);\n\t\t\t\t\treturn callback(null, hash);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis.fileTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\t\t\t\t\tconst result = {\n\t\t\t\t\t\t...entry,\n\t\t\t\t\t\thash\n\t\t\t\t\t};\n\t\t\t\t\tthis._fileTshs.set(path, result);\n\t\t\t\t\treturn callback(null, result);\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\tconst cache = this._fileHashes.get(path);\n\t\tif (cache !== undefined) {\n\t\t\tcontinueWithHash(cache);\n\t\t} else {\n\t\t\tthis.fileHashQueue.add(path, (err, entry) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\tcontinueWithHash(entry);\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * @template T\n\t * @template ItemType\n\t * @param {Object} options options\n\t * @param {string} options.path path\n\t * @param {function(string): ItemType} options.fromImmutablePath called when context item is an immutable path\n\t * @param {function(string): ItemType} options.fromManagedItem called when context item is a managed path\n\t * @param {function(string, string, function(Error=, ItemType=): void): void} options.fromSymlink called when context item is a symlink\n\t * @param {function(string, IStats, function(Error=, ItemType=): void): void} options.fromFile called when context item is a file\n\t * @param {function(string, IStats, function(Error=, ItemType=): void): void} options.fromDirectory called when context item is a directory\n\t * @param {function(string[], ItemType[]): T} options.reduce called from all context items\n\t * @param {function((Error | null)=, (T)=): void} callback callback\n\t */\n\t_readContext(\n\t\t{\n\t\t\tpath,\n\t\t\tfromImmutablePath,\n\t\t\tfromManagedItem,\n\t\t\tfromSymlink,\n\t\t\tfromFile,\n\t\t\tfromDirectory,\n\t\t\treduce\n\t\t},\n\t\tcallback\n\t) {\n\t\tthis.fs.readdir(path, (err, _files) => {\n\t\t\tif (err) {\n\t\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\t\treturn callback(null, null);\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tconst files = /** @type {string[]} */ (_files)\n\t\t\t\t.map(file => file.normalize(\"NFC\"))\n\t\t\t\t.filter(file => !/^\\./.test(file))\n\t\t\t\t.sort();\n\t\t\tasyncLib.map(\n\t\t\t\tfiles,\n\t\t\t\t(file, callback) => {\n\t\t\t\t\tconst child = join(this.fs, path, file);\n\t\t\t\t\tfor (const immutablePath of this.immutablePathsRegExps) {\n\t\t\t\t\t\tif (immutablePath.test(path)) {\n\t\t\t\t\t\t\t// ignore any immutable path for timestamping\n\t\t\t\t\t\t\treturn callback(null, fromImmutablePath(path));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const immutablePath of this.immutablePathsWithSlash) {\n\t\t\t\t\t\tif (path.startsWith(immutablePath)) {\n\t\t\t\t\t\t\t// ignore any immutable path for timestamping\n\t\t\t\t\t\t\treturn callback(null, fromImmutablePath(path));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const managedPath of this.managedPathsRegExps) {\n\t\t\t\t\t\tconst match = managedPath.exec(path);\n\t\t\t\t\t\tif (match) {\n\t\t\t\t\t\t\tconst managedItem = getManagedItem(match[1], path);\n\t\t\t\t\t\t\tif (managedItem) {\n\t\t\t\t\t\t\t\t// construct timestampHash from managed info\n\t\t\t\t\t\t\t\treturn this.managedItemQueue.add(managedItem, (err, info) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\treturn callback(null, fromManagedItem(info));\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const managedPath of this.managedPathsWithSlash) {\n\t\t\t\t\t\tif (path.startsWith(managedPath)) {\n\t\t\t\t\t\t\tconst managedItem = getManagedItem(managedPath, child);\n\t\t\t\t\t\t\tif (managedItem) {\n\t\t\t\t\t\t\t\t// construct timestampHash from managed info\n\t\t\t\t\t\t\t\treturn this.managedItemQueue.add(managedItem, (err, info) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\treturn callback(null, fromManagedItem(info));\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tlstatReadlinkAbsolute(this.fs, child, (err, stat) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\tif (typeof stat === \"string\") {\n\t\t\t\t\t\t\treturn fromSymlink(child, stat, callback);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (stat.isFile()) {\n\t\t\t\t\t\t\treturn fromFile(child, stat, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (stat.isDirectory()) {\n\t\t\t\t\t\t\treturn fromDirectory(child, stat, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback(null, null);\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\t(err, results) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tconst result = reduce(files, results);\n\t\t\t\t\tcallback(null, result);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\t_readContextTimestamp(path, callback) {\n\t\tthis._readContext(\n\t\t\t{\n\t\t\t\tpath,\n\t\t\t\tfromImmutablePath: () => null,\n\t\t\t\tfromManagedItem: info => ({\n\t\t\t\t\tsafeTime: 0,\n\t\t\t\t\ttimestampHash: info\n\t\t\t\t}),\n\t\t\t\tfromSymlink: (file, target, callback) => {\n\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\ttimestampHash: target,\n\t\t\t\t\t\tsymlinks: new Set([target])\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\tfromFile: (file, stat, callback) => {\n\t\t\t\t\t// Prefer the cached value over our new stat to report consistent results\n\t\t\t\t\tconst cache = this._fileTimestamps.get(file);\n\t\t\t\t\tif (cache !== undefined)\n\t\t\t\t\t\treturn callback(null, cache === \"ignore\" ? null : cache);\n\n\t\t\t\t\tconst mtime = +stat.mtime;\n\n\t\t\t\t\tif (mtime) applyMtime(mtime);\n\n\t\t\t\t\tconst ts = {\n\t\t\t\t\t\tsafeTime: mtime ? mtime + FS_ACCURACY : Infinity,\n\t\t\t\t\t\ttimestamp: mtime\n\t\t\t\t\t};\n\n\t\t\t\t\tthis._fileTimestamps.set(file, ts);\n\t\t\t\t\tthis._cachedDeprecatedFileTimestamps = undefined;\n\t\t\t\t\tcallback(null, ts);\n\t\t\t\t},\n\t\t\t\tfromDirectory: (directory, stat, callback) => {\n\t\t\t\t\tthis.contextTimestampQueue.increaseParallelism();\n\t\t\t\t\tthis._getUnresolvedContextTimestamp(directory, (err, tsEntry) => {\n\t\t\t\t\t\tthis.contextTimestampQueue.decreaseParallelism();\n\t\t\t\t\t\tcallback(err, tsEntry);\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\treduce: (files, tsEntries) => {\n\t\t\t\t\tlet symlinks = undefined;\n\n\t\t\t\t\tconst hash = createHash(this._hashFunction);\n\n\t\t\t\t\tfor (const file of files) hash.update(file);\n\t\t\t\t\tlet safeTime = 0;\n\t\t\t\t\tfor (const entry of tsEntries) {\n\t\t\t\t\t\tif (!entry) {\n\t\t\t\t\t\t\thash.update(\"n\");\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (entry.timestamp) {\n\t\t\t\t\t\t\thash.update(\"f\");\n\t\t\t\t\t\t\thash.update(`${entry.timestamp}`);\n\t\t\t\t\t\t} else if (entry.timestampHash) {\n\t\t\t\t\t\t\thash.update(\"d\");\n\t\t\t\t\t\t\thash.update(`${entry.timestampHash}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (entry.symlinks !== undefined) {\n\t\t\t\t\t\t\tif (symlinks === undefined) symlinks = new Set();\n\t\t\t\t\t\t\taddAll(entry.symlinks, symlinks);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst digest = /** @type {string} */ (hash.digest(\"hex\"));\n\n\t\t\t\t\tconst result = {\n\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\ttimestampHash: digest\n\t\t\t\t\t};\n\t\t\t\t\tif (symlinks) result.symlinks = symlinks;\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tthis._contextTimestamps.set(path, result);\n\t\t\t\tthis._cachedDeprecatedContextTimestamps = undefined;\n\n\t\t\t\tcallback(null, result);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {ContextFileSystemInfoEntry} entry entry\n\t * @param {function((Error | null)=, ResolvedContextFileSystemInfoEntry=): void} callback callback\n\t * @returns {void}\n\t */\n\t_resolveContextTimestamp(entry, callback) {\n\t\tconst hashes = [];\n\t\tlet safeTime = 0;\n\t\tprocessAsyncTree(\n\t\t\tentry.symlinks,\n\t\t\t10,\n\t\t\t(target, push, callback) => {\n\t\t\t\tthis._getUnresolvedContextTimestamp(target, (err, entry) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (entry && entry !== \"ignore\") {\n\t\t\t\t\t\thashes.push(entry.timestampHash);\n\t\t\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (entry.symlinks !== undefined) {\n\t\t\t\t\t\t\tfor (const target of entry.symlinks) push(target);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcallback();\n\t\t\t\t});\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\t\thash.update(entry.timestampHash);\n\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t}\n\t\t\t\thashes.sort();\n\t\t\t\tfor (const h of hashes) {\n\t\t\t\t\thash.update(h);\n\t\t\t\t}\n\t\t\t\tcallback(\n\t\t\t\t\tnull,\n\t\t\t\t\t(entry.resolved = {\n\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\ttimestampHash: /** @type {string} */ (hash.digest(\"hex\"))\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t_readContextHash(path, callback) {\n\t\tthis._readContext(\n\t\t\t{\n\t\t\t\tpath,\n\t\t\t\tfromImmutablePath: () => \"\",\n\t\t\t\tfromManagedItem: info => info || \"\",\n\t\t\t\tfromSymlink: (file, target, callback) => {\n\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\thash: target,\n\t\t\t\t\t\tsymlinks: new Set([target])\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\tfromFile: (file, stat, callback) =>\n\t\t\t\t\tthis.getFileHash(file, (err, hash) => {\n\t\t\t\t\t\tcallback(err, hash || \"\");\n\t\t\t\t\t}),\n\t\t\t\tfromDirectory: (directory, stat, callback) => {\n\t\t\t\t\tthis.contextHashQueue.increaseParallelism();\n\t\t\t\t\tthis._getUnresolvedContextHash(directory, (err, hash) => {\n\t\t\t\t\t\tthis.contextHashQueue.decreaseParallelism();\n\t\t\t\t\t\tcallback(err, hash || \"\");\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\t/**\n\t\t\t\t * @param {string[]} files files\n\t\t\t\t * @param {(string | ContextHash)[]} fileHashes hashes\n\t\t\t\t * @returns {ContextHash} reduced hash\n\t\t\t\t */\n\t\t\t\treduce: (files, fileHashes) => {\n\t\t\t\t\tlet symlinks = undefined;\n\t\t\t\t\tconst hash = createHash(this._hashFunction);\n\n\t\t\t\t\tfor (const file of files) hash.update(file);\n\t\t\t\t\tfor (const entry of fileHashes) {\n\t\t\t\t\t\tif (typeof entry === \"string\") {\n\t\t\t\t\t\t\thash.update(entry);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\thash.update(entry.hash);\n\t\t\t\t\t\t\tif (entry.symlinks) {\n\t\t\t\t\t\t\t\tif (symlinks === undefined) symlinks = new Set();\n\t\t\t\t\t\t\t\taddAll(entry.symlinks, symlinks);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst result = {\n\t\t\t\t\t\thash: /** @type {string} */ (hash.digest(\"hex\"))\n\t\t\t\t\t};\n\t\t\t\t\tif (symlinks) result.symlinks = symlinks;\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tthis._contextHashes.set(path, result);\n\t\t\t\treturn callback(null, result);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {ContextHash} entry context hash\n\t * @param {function((Error | null)=, string=): void} callback callback\n\t * @returns {void}\n\t */\n\t_resolveContextHash(entry, callback) {\n\t\tconst hashes = [];\n\t\tprocessAsyncTree(\n\t\t\tentry.symlinks,\n\t\t\t10,\n\t\t\t(target, push, callback) => {\n\t\t\t\tthis._getUnresolvedContextHash(target, (err, hash) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (hash) {\n\t\t\t\t\t\thashes.push(hash.hash);\n\t\t\t\t\t\tif (hash.symlinks !== undefined) {\n\t\t\t\t\t\t\tfor (const target of hash.symlinks) push(target);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcallback();\n\t\t\t\t});\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\t\thash.update(entry.hash);\n\t\t\t\thashes.sort();\n\t\t\t\tfor (const h of hashes) {\n\t\t\t\t\thash.update(h);\n\t\t\t\t}\n\t\t\t\tcallback(\n\t\t\t\t\tnull,\n\t\t\t\t\t(entry.resolved = /** @type {string} */ (hash.digest(\"hex\")))\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t_readContextTimestampAndHash(path, callback) {\n\t\tconst finalize = (timestamp, hash) => {\n\t\t\tconst result =\n\t\t\t\ttimestamp === \"ignore\"\n\t\t\t\t\t? hash\n\t\t\t\t\t: {\n\t\t\t\t\t\t\t...timestamp,\n\t\t\t\t\t\t\t...hash\n\t\t\t\t\t };\n\t\t\tthis._contextTshs.set(path, result);\n\t\t\tcallback(null, result);\n\t\t};\n\t\tconst cachedHash = this._contextHashes.get(path);\n\t\tconst cachedTimestamp = this._contextTimestamps.get(path);\n\t\tif (cachedHash !== undefined) {\n\t\t\tif (cachedTimestamp !== undefined) {\n\t\t\t\tfinalize(cachedTimestamp, cachedHash);\n\t\t\t} else {\n\t\t\t\tthis.contextTimestampQueue.add(path, (err, entry) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tfinalize(entry, cachedHash);\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tif (cachedTimestamp !== undefined) {\n\t\t\t\tthis.contextHashQueue.add(path, (err, entry) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tfinalize(cachedTimestamp, entry);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis._readContext(\n\t\t\t\t\t{\n\t\t\t\t\t\tpath,\n\t\t\t\t\t\tfromImmutablePath: () => null,\n\t\t\t\t\t\tfromManagedItem: info => ({\n\t\t\t\t\t\t\tsafeTime: 0,\n\t\t\t\t\t\t\ttimestampHash: info,\n\t\t\t\t\t\t\thash: info || \"\"\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tfromSymlink: (fle, target, callback) => {\n\t\t\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\t\t\ttimestampHash: target,\n\t\t\t\t\t\t\t\thash: target,\n\t\t\t\t\t\t\t\tsymlinks: new Set([target])\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t\tfromFile: (file, stat, callback) => {\n\t\t\t\t\t\t\tthis._getFileTimestampAndHash(file, callback);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tfromDirectory: (directory, stat, callback) => {\n\t\t\t\t\t\t\tthis.contextTshQueue.increaseParallelism();\n\t\t\t\t\t\t\tthis.contextTshQueue.add(directory, (err, result) => {\n\t\t\t\t\t\t\t\tthis.contextTshQueue.decreaseParallelism();\n\t\t\t\t\t\t\t\tcallback(err, result);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * @param {string[]} files files\n\t\t\t\t\t\t * @param {(Partial<TimestampAndHash> & Partial<ContextTimestampAndHash> | string | null)[]} results results\n\t\t\t\t\t\t * @returns {ContextTimestampAndHash} tsh\n\t\t\t\t\t\t */\n\t\t\t\t\t\treduce: (files, results) => {\n\t\t\t\t\t\t\tlet symlinks = undefined;\n\n\t\t\t\t\t\t\tconst tsHash = createHash(this._hashFunction);\n\t\t\t\t\t\t\tconst hash = createHash(this._hashFunction);\n\n\t\t\t\t\t\t\tfor (const file of files) {\n\t\t\t\t\t\t\t\ttsHash.update(file);\n\t\t\t\t\t\t\t\thash.update(file);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tlet safeTime = 0;\n\t\t\t\t\t\t\tfor (const entry of results) {\n\t\t\t\t\t\t\t\tif (!entry) {\n\t\t\t\t\t\t\t\t\ttsHash.update(\"n\");\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (typeof entry === \"string\") {\n\t\t\t\t\t\t\t\t\ttsHash.update(\"n\");\n\t\t\t\t\t\t\t\t\thash.update(entry);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (entry.timestamp) {\n\t\t\t\t\t\t\t\t\ttsHash.update(\"f\");\n\t\t\t\t\t\t\t\t\ttsHash.update(`${entry.timestamp}`);\n\t\t\t\t\t\t\t\t} else if (entry.timestampHash) {\n\t\t\t\t\t\t\t\t\ttsHash.update(\"d\");\n\t\t\t\t\t\t\t\t\ttsHash.update(`${entry.timestampHash}`);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (entry.symlinks !== undefined) {\n\t\t\t\t\t\t\t\t\tif (symlinks === undefined) symlinks = new Set();\n\t\t\t\t\t\t\t\t\taddAll(entry.symlinks, symlinks);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\thash.update(entry.hash);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst result = {\n\t\t\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\t\t\ttimestampHash: /** @type {string} */ (tsHash.digest(\"hex\")),\n\t\t\t\t\t\t\t\thash: /** @type {string} */ (hash.digest(\"hex\"))\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (symlinks) result.symlinks = symlinks;\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tthis._contextTshs.set(path, result);\n\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {ContextTimestampAndHash} entry entry\n\t * @param {function((Error | null)=, ResolvedContextTimestampAndHash=): void} callback callback\n\t * @returns {void}\n\t */\n\t_resolveContextTsh(entry, callback) {\n\t\tconst hashes = [];\n\t\tconst tsHashes = [];\n\t\tlet safeTime = 0;\n\t\tprocessAsyncTree(\n\t\t\tentry.symlinks,\n\t\t\t10,\n\t\t\t(target, push, callback) => {\n\t\t\t\tthis._getUnresolvedContextTsh(target, (err, entry) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tif (entry) {\n\t\t\t\t\t\thashes.push(entry.hash);\n\t\t\t\t\t\tif (entry.timestampHash) tsHashes.push(entry.timestampHash);\n\t\t\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (entry.symlinks !== undefined) {\n\t\t\t\t\t\t\tfor (const target of entry.symlinks) push(target);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcallback();\n\t\t\t\t});\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\t\tconst tsHash = createHash(this._hashFunction);\n\t\t\t\thash.update(entry.hash);\n\t\t\t\tif (entry.timestampHash) tsHash.update(entry.timestampHash);\n\t\t\t\tif (entry.safeTime) {\n\t\t\t\t\tsafeTime = Math.max(safeTime, entry.safeTime);\n\t\t\t\t}\n\t\t\t\thashes.sort();\n\t\t\t\tfor (const h of hashes) {\n\t\t\t\t\thash.update(h);\n\t\t\t\t}\n\t\t\t\ttsHashes.sort();\n\t\t\t\tfor (const h of tsHashes) {\n\t\t\t\t\ttsHash.update(h);\n\t\t\t\t}\n\t\t\t\tcallback(\n\t\t\t\t\tnull,\n\t\t\t\t\t(entry.resolved = {\n\t\t\t\t\t\tsafeTime,\n\t\t\t\t\t\ttimestampHash: /** @type {string} */ (tsHash.digest(\"hex\")),\n\t\t\t\t\t\thash: /** @type {string} */ (hash.digest(\"hex\"))\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t_getManagedItemDirectoryInfo(path, callback) {\n\t\tthis.fs.readdir(path, (err, elements) => {\n\t\t\tif (err) {\n\t\t\t\tif (err.code === \"ENOENT\" || err.code === \"ENOTDIR\") {\n\t\t\t\t\treturn callback(null, EMPTY_SET);\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tconst set = new Set(\n\t\t\t\t/** @type {string[]} */ (elements).map(element =>\n\t\t\t\t\tjoin(this.fs, path, element)\n\t\t\t\t)\n\t\t\t);\n\t\t\tcallback(null, set);\n\t\t});\n\t}\n\n\t_getManagedItemInfo(path, callback) {\n\t\tconst dir = dirname(this.fs, path);\n\t\tthis.managedItemDirectoryQueue.add(dir, (err, elements) => {\n\t\t\tif (err) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tif (!elements.has(path)) {\n\t\t\t\t// file or directory doesn't exist\n\t\t\t\tthis._managedItems.set(path, \"*missing\");\n\t\t\t\treturn callback(null, \"*missing\");\n\t\t\t}\n\t\t\t// something exists\n\t\t\t// it may be a file or directory\n\t\t\tif (\n\t\t\t\tpath.endsWith(\"node_modules\") &&\n\t\t\t\t(path.endsWith(\"/node_modules\") || path.endsWith(\"\\\\node_modules\"))\n\t\t\t) {\n\t\t\t\t// we are only interested in existence of this special directory\n\t\t\t\tthis._managedItems.set(path, \"*node_modules\");\n\t\t\t\treturn callback(null, \"*node_modules\");\n\t\t\t}\n\n\t\t\t// we assume it's a directory, as files shouldn't occur in managed paths\n\t\t\tconst packageJsonPath = join(this.fs, path, \"package.json\");\n\t\t\tthis.fs.readFile(packageJsonPath, (err, content) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tif (err.code === \"ENOENT\" || err.code === \"ENOTDIR\") {\n\t\t\t\t\t\t// no package.json or path is not a directory\n\t\t\t\t\t\tthis.fs.readdir(path, (err, elements) => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t!err &&\n\t\t\t\t\t\t\t\telements.length === 1 &&\n\t\t\t\t\t\t\t\telements[0] === \"node_modules\"\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t// This is only a grouping folder e. g. used by yarn\n\t\t\t\t\t\t\t\t// we are only interested in existence of this special directory\n\t\t\t\t\t\t\t\tthis._managedItems.set(path, \"*nested\");\n\t\t\t\t\t\t\t\treturn callback(null, \"*nested\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t\t\t`Managed item ${path} isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\tlet data;\n\t\t\t\ttry {\n\t\t\t\t\tdata = JSON.parse(content.toString(\"utf-8\"));\n\t\t\t\t} catch (e) {\n\t\t\t\t\treturn callback(e);\n\t\t\t\t}\n\t\t\t\tif (!data.name) {\n\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t`${packageJsonPath} doesn't contain a \"name\" property (see snapshot.managedPaths option)`\n\t\t\t\t\t);\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\tconst info = `${data.name || \"\"}@${data.version || \"\"}`;\n\t\t\t\tthis._managedItems.set(path, info);\n\t\t\t\tcallback(null, info);\n\t\t\t});\n\t\t});\n\t}\n\n\tgetDeprecatedFileTimestamps() {\n\t\tif (this._cachedDeprecatedFileTimestamps !== undefined)\n\t\t\treturn this._cachedDeprecatedFileTimestamps;\n\t\tconst map = new Map();\n\t\tfor (const [path, info] of this._fileTimestamps) {\n\t\t\tif (info) map.set(path, typeof info === \"object\" ? info.safeTime : null);\n\t\t}\n\t\treturn (this._cachedDeprecatedFileTimestamps = map);\n\t}\n\n\tgetDeprecatedContextTimestamps() {\n\t\tif (this._cachedDeprecatedContextTimestamps !== undefined)\n\t\t\treturn this._cachedDeprecatedContextTimestamps;\n\t\tconst map = new Map();\n\t\tfor (const [path, info] of this._contextTimestamps) {\n\t\t\tif (info) map.set(path, typeof info === \"object\" ? info.safeTime : null);\n\t\t}\n\t\treturn (this._cachedDeprecatedContextTimestamps = map);\n\t}\n}\n\nmodule.exports = FileSystemInfo;\nmodule.exports.Snapshot = Snapshot;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/FileSystemInfo.js?"); /***/ }), /***/ "./node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { getEntryRuntime, mergeRuntimeOwned } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass FlagAllModulesAsUsedPlugin {\n\tconstructor(explanation) {\n\t\tthis.explanation = explanation;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"FlagAllModulesAsUsedPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\t\tcompilation.hooks.optimizeDependencies.tap(\n\t\t\t\t\t\"FlagAllModulesAsUsedPlugin\",\n\t\t\t\t\tmodules => {\n\t\t\t\t\t\t/** @type {RuntimeSpec} */\n\t\t\t\t\t\tlet runtime = undefined;\n\t\t\t\t\t\tfor (const [name, { options }] of compilation.entries) {\n\t\t\t\t\t\t\truntime = mergeRuntimeOwned(\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\tgetEntryRuntime(compilation, name, options)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\texportsInfo.setUsedInUnknownWay(runtime);\n\t\t\t\t\t\t\tmoduleGraph.addExtraReason(module, this.explanation);\n\t\t\t\t\t\t\tif (module.factoryMeta === undefined) {\n\t\t\t\t\t\t\t\tmodule.factoryMeta = {};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmodule.factoryMeta.sideEffectFree = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = FlagAllModulesAsUsedPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/FlagDependencyExportsPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/FlagDependencyExportsPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst Queue = __webpack_require__(/*! ./util/Queue */ \"./node_modules/webpack/lib/util/Queue.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Dependency\").ExportSpec} ExportSpec */\n/** @typedef {import(\"./Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"./ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"./Module\")} Module */\n\nclass FlagDependencyExportsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"FlagDependencyExportsPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\t\tconst cache = compilation.getCache(\"FlagDependencyExportsPlugin\");\n\t\t\t\tcompilation.hooks.finishModules.tapAsync(\n\t\t\t\t\t\"FlagDependencyExportsPlugin\",\n\t\t\t\t\t(modules, callback) => {\n\t\t\t\t\t\tconst logger = compilation.getLogger(\n\t\t\t\t\t\t\t\"webpack.FlagDependencyExportsPlugin\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tlet statRestoredFromMemCache = 0;\n\t\t\t\t\t\tlet statRestoredFromCache = 0;\n\t\t\t\t\t\tlet statNoExports = 0;\n\t\t\t\t\t\tlet statFlaggedUncached = 0;\n\t\t\t\t\t\tlet statNotCached = 0;\n\t\t\t\t\t\tlet statQueueItemsProcessed = 0;\n\n\t\t\t\t\t\tconst { moduleMemCaches } = compilation;\n\n\t\t\t\t\t\t/** @type {Queue<Module>} */\n\t\t\t\t\t\tconst queue = new Queue();\n\n\t\t\t\t\t\t// Step 1: Try to restore cached provided export info from cache\n\t\t\t\t\t\tlogger.time(\"restore cached provided exports\");\n\t\t\t\t\t\tasyncLib.each(\n\t\t\t\t\t\t\tmodules,\n\t\t\t\t\t\t\t(module, callback) => {\n\t\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\t\tif (!module.buildMeta || !module.buildMeta.exportsType) {\n\t\t\t\t\t\t\t\t\tif (exportsInfo.otherExportsInfo.provided !== null) {\n\t\t\t\t\t\t\t\t\t\t// It's a module without declared exports\n\t\t\t\t\t\t\t\t\t\tstatNoExports++;\n\t\t\t\t\t\t\t\t\t\texportsInfo.setHasProvideInfo();\n\t\t\t\t\t\t\t\t\t\texportsInfo.setUnknownExportsProvided();\n\t\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (typeof module.buildInfo.hash !== \"string\") {\n\t\t\t\t\t\t\t\t\tstatFlaggedUncached++;\n\t\t\t\t\t\t\t\t\t// Enqueue uncacheable module for determining the exports\n\t\t\t\t\t\t\t\t\tqueue.enqueue(module);\n\t\t\t\t\t\t\t\t\texportsInfo.setHasProvideInfo();\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst memCache = moduleMemCaches && moduleMemCaches.get(module);\n\t\t\t\t\t\t\t\tconst memCacheValue = memCache && memCache.get(this);\n\t\t\t\t\t\t\t\tif (memCacheValue !== undefined) {\n\t\t\t\t\t\t\t\t\tstatRestoredFromMemCache++;\n\t\t\t\t\t\t\t\t\texportsInfo.restoreProvided(memCacheValue);\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcache.get(\n\t\t\t\t\t\t\t\t\tmodule.identifier(),\n\t\t\t\t\t\t\t\t\tmodule.buildInfo.hash,\n\t\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t\t\tif (result !== undefined) {\n\t\t\t\t\t\t\t\t\t\t\tstatRestoredFromCache++;\n\t\t\t\t\t\t\t\t\t\t\texportsInfo.restoreProvided(result);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tstatNotCached++;\n\t\t\t\t\t\t\t\t\t\t\t// Without cached info enqueue module for determining the exports\n\t\t\t\t\t\t\t\t\t\t\tqueue.enqueue(module);\n\t\t\t\t\t\t\t\t\t\t\texportsInfo.setHasProvideInfo();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\tlogger.timeEnd(\"restore cached provided exports\");\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\t\t\t/** @type {Set<Module>} */\n\t\t\t\t\t\t\t\tconst modulesToStore = new Set();\n\n\t\t\t\t\t\t\t\t/** @type {Map<Module, Set<Module>>} */\n\t\t\t\t\t\t\t\tconst dependencies = new Map();\n\n\t\t\t\t\t\t\t\t/** @type {Module} */\n\t\t\t\t\t\t\t\tlet module;\n\n\t\t\t\t\t\t\t\t/** @type {ExportsInfo} */\n\t\t\t\t\t\t\t\tlet exportsInfo;\n\n\t\t\t\t\t\t\t\t/** @type {Map<Dependency, ExportsSpec>} */\n\t\t\t\t\t\t\t\tconst exportsSpecsFromDependencies = new Map();\n\n\t\t\t\t\t\t\t\tlet cacheable = true;\n\t\t\t\t\t\t\t\tlet changed = false;\n\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * @param {DependenciesBlock} depBlock the dependencies block\n\t\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tconst processDependenciesBlock = depBlock => {\n\t\t\t\t\t\t\t\t\tfor (const dep of depBlock.dependencies) {\n\t\t\t\t\t\t\t\t\t\tprocessDependency(dep);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tfor (const block of depBlock.blocks) {\n\t\t\t\t\t\t\t\t\t\tprocessDependenciesBlock(block);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * @param {Dependency} dep the dependency\n\t\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tconst processDependency = dep => {\n\t\t\t\t\t\t\t\t\tconst exportDesc = dep.getExports(moduleGraph);\n\t\t\t\t\t\t\t\t\tif (!exportDesc) return;\n\t\t\t\t\t\t\t\t\texportsSpecsFromDependencies.set(dep, exportDesc);\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * @param {Dependency} dep dependency\n\t\t\t\t\t\t\t\t * @param {ExportsSpec} exportDesc info\n\t\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tconst processExportsSpec = (dep, exportDesc) => {\n\t\t\t\t\t\t\t\t\tconst exports = exportDesc.exports;\n\t\t\t\t\t\t\t\t\tconst globalCanMangle = exportDesc.canMangle;\n\t\t\t\t\t\t\t\t\tconst globalFrom = exportDesc.from;\n\t\t\t\t\t\t\t\t\tconst globalPriority = exportDesc.priority;\n\t\t\t\t\t\t\t\t\tconst globalTerminalBinding =\n\t\t\t\t\t\t\t\t\t\texportDesc.terminalBinding || false;\n\t\t\t\t\t\t\t\t\tconst exportDeps = exportDesc.dependencies;\n\t\t\t\t\t\t\t\t\tif (exportDesc.hideExports) {\n\t\t\t\t\t\t\t\t\t\tfor (const name of exportDesc.hideExports) {\n\t\t\t\t\t\t\t\t\t\t\tconst exportInfo = exportsInfo.getExportInfo(name);\n\t\t\t\t\t\t\t\t\t\t\texportInfo.unsetTarget(dep);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (exports === true) {\n\t\t\t\t\t\t\t\t\t\t// unknown exports\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\texportsInfo.setUnknownExportsProvided(\n\t\t\t\t\t\t\t\t\t\t\t\tglobalCanMangle,\n\t\t\t\t\t\t\t\t\t\t\t\texportDesc.excludeExports,\n\t\t\t\t\t\t\t\t\t\t\t\tglobalFrom && dep,\n\t\t\t\t\t\t\t\t\t\t\t\tglobalFrom,\n\t\t\t\t\t\t\t\t\t\t\t\tglobalPriority\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else if (Array.isArray(exports)) {\n\t\t\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t\t\t * merge in new exports\n\t\t\t\t\t\t\t\t\t\t * @param {ExportsInfo} exportsInfo own exports info\n\t\t\t\t\t\t\t\t\t\t * @param {(ExportSpec | string)[]} exports list of exports\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tconst mergeExports = (exportsInfo, exports) => {\n\t\t\t\t\t\t\t\t\t\t\tfor (const exportNameOrSpec of exports) {\n\t\t\t\t\t\t\t\t\t\t\t\tlet name;\n\t\t\t\t\t\t\t\t\t\t\t\tlet canMangle = globalCanMangle;\n\t\t\t\t\t\t\t\t\t\t\t\tlet terminalBinding = globalTerminalBinding;\n\t\t\t\t\t\t\t\t\t\t\t\tlet exports = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\tlet from = globalFrom;\n\t\t\t\t\t\t\t\t\t\t\t\tlet fromExport = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\tlet priority = globalPriority;\n\t\t\t\t\t\t\t\t\t\t\t\tlet hidden = false;\n\t\t\t\t\t\t\t\t\t\t\t\tif (typeof exportNameOrSpec === \"string\") {\n\t\t\t\t\t\t\t\t\t\t\t\t\tname = exportNameOrSpec;\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tname = exportNameOrSpec.name;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.canMangle !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcanMangle = exportNameOrSpec.canMangle;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.export !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfromExport = exportNameOrSpec.export;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.exports !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texports = exportNameOrSpec.exports;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.from !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom = exportNameOrSpec.from;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.priority !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpriority = exportNameOrSpec.priority;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.terminalBinding !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tterminalBinding = exportNameOrSpec.terminalBinding;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (exportNameOrSpec.hidden !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thidden = exportNameOrSpec.hidden;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tconst exportInfo = exportsInfo.getExportInfo(name);\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.provided === false ||\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.provided === null\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.provided = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.canMangleProvide !== false &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tcanMangle === false\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.canMangleProvide = false;\n\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (terminalBinding && !exportInfo.terminalBinding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.terminalBinding = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (exports) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst nestedExportsInfo =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.createNestedExportsInfo();\n\t\t\t\t\t\t\t\t\t\t\t\t\tmergeExports(nestedExportsInfo, exports);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\tfrom &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t(hidden\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? exportInfo.unsetTarget(dep)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: exportInfo.setTarget(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfromExport === undefined ? [name] : fromExport,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpriority\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ))\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Recalculate target exportsInfo\n\t\t\t\t\t\t\t\t\t\t\t\tconst target = exportInfo.getTarget(moduleGraph);\n\t\t\t\t\t\t\t\t\t\t\t\tlet targetExportsInfo = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\tif (target) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst targetModuleExportsInfo =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph.getExportsInfo(target.module);\n\t\t\t\t\t\t\t\t\t\t\t\t\ttargetExportsInfo =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttargetModuleExportsInfo.getNestedExportsInfo(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttarget.export\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// add dependency for this module\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst set = dependencies.get(target.module);\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (set === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdependencies.set(target.module, new Set([module]));\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tset.add(module);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (exportInfo.exportsInfoOwned) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.exportsInfo.setRedirectNamedTo(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttargetExportsInfo\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.exportsInfo !== targetExportsInfo\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.exportsInfo = targetExportsInfo;\n\t\t\t\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tmergeExports(exportsInfo, exports);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// store dependencies\n\t\t\t\t\t\t\t\t\tif (exportDeps) {\n\t\t\t\t\t\t\t\t\t\tcacheable = false;\n\t\t\t\t\t\t\t\t\t\tfor (const exportDependency of exportDeps) {\n\t\t\t\t\t\t\t\t\t\t\t// add dependency for this module\n\t\t\t\t\t\t\t\t\t\t\tconst set = dependencies.get(exportDependency);\n\t\t\t\t\t\t\t\t\t\t\tif (set === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tdependencies.set(exportDependency, new Set([module]));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tset.add(module);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tconst notifyDependencies = () => {\n\t\t\t\t\t\t\t\t\tconst deps = dependencies.get(module);\n\t\t\t\t\t\t\t\t\tif (deps !== undefined) {\n\t\t\t\t\t\t\t\t\t\tfor (const dep of deps) {\n\t\t\t\t\t\t\t\t\t\t\tqueue.enqueue(dep);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tlogger.time(\"figure out provided exports\");\n\t\t\t\t\t\t\t\twhile (queue.length > 0) {\n\t\t\t\t\t\t\t\t\tmodule = queue.dequeue();\n\n\t\t\t\t\t\t\t\t\tstatQueueItemsProcessed++;\n\n\t\t\t\t\t\t\t\t\texportsInfo = moduleGraph.getExportsInfo(module);\n\n\t\t\t\t\t\t\t\t\tcacheable = true;\n\t\t\t\t\t\t\t\t\tchanged = false;\n\n\t\t\t\t\t\t\t\t\texportsSpecsFromDependencies.clear();\n\t\t\t\t\t\t\t\t\tmoduleGraph.freeze();\n\t\t\t\t\t\t\t\t\tprocessDependenciesBlock(module);\n\t\t\t\t\t\t\t\t\tmoduleGraph.unfreeze();\n\t\t\t\t\t\t\t\t\tfor (const [\n\t\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\t\texportsSpec\n\t\t\t\t\t\t\t\t\t] of exportsSpecsFromDependencies) {\n\t\t\t\t\t\t\t\t\t\tprocessExportsSpec(dep, exportsSpec);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (cacheable) {\n\t\t\t\t\t\t\t\t\t\tmodulesToStore.add(module);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tif (changed) {\n\t\t\t\t\t\t\t\t\t\tnotifyDependencies();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlogger.timeEnd(\"figure out provided exports\");\n\n\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t`${Math.round(\n\t\t\t\t\t\t\t\t\t\t(100 * (statFlaggedUncached + statNotCached)) /\n\t\t\t\t\t\t\t\t\t\t\t(statRestoredFromMemCache +\n\t\t\t\t\t\t\t\t\t\t\t\tstatRestoredFromCache +\n\t\t\t\t\t\t\t\t\t\t\t\tstatNotCached +\n\t\t\t\t\t\t\t\t\t\t\t\tstatFlaggedUncached +\n\t\t\t\t\t\t\t\t\t\t\t\tstatNoExports)\n\t\t\t\t\t\t\t\t\t)}% of exports of modules have been determined (${statNoExports} no declared exports, ${statNotCached} not cached, ${statFlaggedUncached} flagged uncacheable, ${statRestoredFromCache} from cache, ${statRestoredFromMemCache} from mem cache, ${\n\t\t\t\t\t\t\t\t\t\tstatQueueItemsProcessed -\n\t\t\t\t\t\t\t\t\t\tstatNotCached -\n\t\t\t\t\t\t\t\t\t\tstatFlaggedUncached\n\t\t\t\t\t\t\t\t\t} additional calculations due to dependencies)`\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tlogger.time(\"store provided exports into cache\");\n\t\t\t\t\t\t\t\tasyncLib.each(\n\t\t\t\t\t\t\t\t\tmodulesToStore,\n\t\t\t\t\t\t\t\t\t(module, callback) => {\n\t\t\t\t\t\t\t\t\t\tif (typeof module.buildInfo.hash !== \"string\") {\n\t\t\t\t\t\t\t\t\t\t\t// not cacheable\n\t\t\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tconst cachedData = moduleGraph\n\t\t\t\t\t\t\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t\t\t\t\t\t\t.getRestoreProvidedData();\n\t\t\t\t\t\t\t\t\t\tconst memCache =\n\t\t\t\t\t\t\t\t\t\t\tmoduleMemCaches && moduleMemCaches.get(module);\n\t\t\t\t\t\t\t\t\t\tif (memCache) {\n\t\t\t\t\t\t\t\t\t\t\tmemCache.set(this, cachedData);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcache.store(\n\t\t\t\t\t\t\t\t\t\t\tmodule.identifier(),\n\t\t\t\t\t\t\t\t\t\t\tmodule.buildInfo.hash,\n\t\t\t\t\t\t\t\t\t\t\tcachedData,\n\t\t\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\tlogger.timeEnd(\"store provided exports into cache\");\n\t\t\t\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\t/** @type {WeakMap<Module, any>} */\n\t\t\t\tconst providedExportsCache = new WeakMap();\n\t\t\t\tcompilation.hooks.rebuildModule.tap(\n\t\t\t\t\t\"FlagDependencyExportsPlugin\",\n\t\t\t\t\tmodule => {\n\t\t\t\t\t\tprovidedExportsCache.set(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getRestoreProvidedData()\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.finishRebuildingModule.tap(\n\t\t\t\t\t\"FlagDependencyExportsPlugin\",\n\t\t\t\t\tmodule => {\n\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t\t\t.restoreProvided(providedExportsCache.get(module));\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = FlagDependencyExportsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/FlagDependencyExportsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/FlagDependencyUsagePlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/FlagDependencyUsagePlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ./Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst { UsageState } = __webpack_require__(/*! ./ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst ModuleGraphConnection = __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\nconst { STAGE_DEFAULT } = __webpack_require__(/*! ./OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst ArrayQueue = __webpack_require__(/*! ./util/ArrayQueue */ \"./node_modules/webpack/lib/util/ArrayQueue.js\");\nconst TupleQueue = __webpack_require__(/*! ./util/TupleQueue */ \"./node_modules/webpack/lib/util/TupleQueue.js\");\nconst { getEntryRuntime, mergeRuntimeOwned } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"./ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst { NO_EXPORTS_REFERENCED, EXPORTS_OBJECT_REFERENCED } = Dependency;\n\nclass FlagDependencyUsagePlugin {\n\t/**\n\t * @param {boolean} global do a global analysis instead of per runtime\n\t */\n\tconstructor(global) {\n\t\tthis.global = global;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"FlagDependencyUsagePlugin\", compilation => {\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\tcompilation.hooks.optimizeDependencies.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"FlagDependencyUsagePlugin\",\n\t\t\t\t\tstage: STAGE_DEFAULT\n\t\t\t\t},\n\t\t\t\tmodules => {\n\t\t\t\t\tif (compilation.moduleMemCaches) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\"optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst logger = compilation.getLogger(\n\t\t\t\t\t\t\"webpack.FlagDependencyUsagePlugin\"\n\t\t\t\t\t);\n\t\t\t\t\t/** @type {Map<ExportsInfo, Module>} */\n\t\t\t\t\tconst exportInfoToModuleMap = new Map();\n\n\t\t\t\t\t/** @type {TupleQueue<[Module, RuntimeSpec]>} */\n\t\t\t\t\tconst queue = new TupleQueue();\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Module} module module to process\n\t\t\t\t\t * @param {(string[] | ReferencedExport)[]} usedExports list of used exports\n\t\t\t\t\t * @param {RuntimeSpec} runtime part of which runtime\n\t\t\t\t\t * @param {boolean} forceSideEffects always apply side effects\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst processReferencedModule = (\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tusedExports,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\tforceSideEffects\n\t\t\t\t\t) => {\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\tif (usedExports.length > 0) {\n\t\t\t\t\t\t\tif (!module.buildMeta || !module.buildMeta.exportsType) {\n\t\t\t\t\t\t\t\tif (exportsInfo.setUsedWithoutInfo(runtime)) {\n\t\t\t\t\t\t\t\t\tqueue.enqueue(module, runtime);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const usedExportInfo of usedExports) {\n\t\t\t\t\t\t\t\tlet usedExport;\n\t\t\t\t\t\t\t\tlet canMangle = true;\n\t\t\t\t\t\t\t\tif (Array.isArray(usedExportInfo)) {\n\t\t\t\t\t\t\t\t\tusedExport = usedExportInfo;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tusedExport = usedExportInfo.name;\n\t\t\t\t\t\t\t\t\tcanMangle = usedExportInfo.canMangle !== false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (usedExport.length === 0) {\n\t\t\t\t\t\t\t\t\tif (exportsInfo.setUsedInUnknownWay(runtime)) {\n\t\t\t\t\t\t\t\t\t\tqueue.enqueue(module, runtime);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tlet currentExportsInfo = exportsInfo;\n\t\t\t\t\t\t\t\t\tfor (let i = 0; i < usedExport.length; i++) {\n\t\t\t\t\t\t\t\t\t\tconst exportInfo = currentExportsInfo.getExportInfo(\n\t\t\t\t\t\t\t\t\t\t\tusedExport[i]\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (canMangle === false) {\n\t\t\t\t\t\t\t\t\t\t\texportInfo.canMangleUse = false;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tconst lastOne = i === usedExport.length - 1;\n\t\t\t\t\t\t\t\t\t\tif (!lastOne) {\n\t\t\t\t\t\t\t\t\t\t\tconst nestedInfo = exportInfo.getNestedExportsInfo();\n\t\t\t\t\t\t\t\t\t\t\tif (nestedInfo) {\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\texportInfo.setUsedConditionally(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tused => used === UsageState.Unused,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tUsageState.OnlyPropertiesUsed,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst currentModule =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcurrentExportsInfo === exportsInfo\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: exportInfoToModuleMap.get(currentExportsInfo);\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (currentModule) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tqueue.enqueue(currentModule, runtime);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tcurrentExportsInfo = nestedInfo;\n\t\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\texportInfo.setUsedConditionally(\n\t\t\t\t\t\t\t\t\t\t\t\tv => v !== UsageState.Used,\n\t\t\t\t\t\t\t\t\t\t\t\tUsageState.Used,\n\t\t\t\t\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tconst currentModule =\n\t\t\t\t\t\t\t\t\t\t\t\tcurrentExportsInfo === exportsInfo\n\t\t\t\t\t\t\t\t\t\t\t\t\t? module\n\t\t\t\t\t\t\t\t\t\t\t\t\t: exportInfoToModuleMap.get(currentExportsInfo);\n\t\t\t\t\t\t\t\t\t\t\tif (currentModule) {\n\t\t\t\t\t\t\t\t\t\t\t\tqueue.enqueue(currentModule, runtime);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// for a module without side effects we stop tracking usage here when no export is used\n\t\t\t\t\t\t\t// This module won't be evaluated in this case\n\t\t\t\t\t\t\t// TODO webpack 6 remove this check\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t!forceSideEffects &&\n\t\t\t\t\t\t\t\tmodule.factoryMeta !== undefined &&\n\t\t\t\t\t\t\t\tmodule.factoryMeta.sideEffectFree\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (exportsInfo.setUsedForSideEffectsOnly(runtime)) {\n\t\t\t\t\t\t\t\tqueue.enqueue(module, runtime);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {DependenciesBlock} module the module\n\t\t\t\t\t * @param {RuntimeSpec} runtime part of which runtime\n\t\t\t\t\t * @param {boolean} forceSideEffects always apply side effects\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst processModule = (module, runtime, forceSideEffects) => {\n\t\t\t\t\t\t/** @type {Map<Module, (string[] | ReferencedExport)[] | Map<string, string[] | ReferencedExport>>} */\n\t\t\t\t\t\tconst map = new Map();\n\n\t\t\t\t\t\t/** @type {ArrayQueue<DependenciesBlock>} */\n\t\t\t\t\t\tconst queue = new ArrayQueue();\n\t\t\t\t\t\tqueue.enqueue(module);\n\t\t\t\t\t\tfor (;;) {\n\t\t\t\t\t\t\tconst block = queue.dequeue();\n\t\t\t\t\t\t\tif (block === undefined) break;\n\t\t\t\t\t\t\tfor (const b of block.blocks) {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t!this.global &&\n\t\t\t\t\t\t\t\t\tb.groupOptions &&\n\t\t\t\t\t\t\t\t\tb.groupOptions.entryOptions\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tprocessModule(\n\t\t\t\t\t\t\t\t\t\tb,\n\t\t\t\t\t\t\t\t\t\tb.groupOptions.entryOptions.runtime || undefined,\n\t\t\t\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tqueue.enqueue(b);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const dep of block.dependencies) {\n\t\t\t\t\t\t\t\tconst connection = moduleGraph.getConnection(dep);\n\t\t\t\t\t\t\t\tif (!connection || !connection.module) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst activeState = connection.getActiveState(runtime);\n\t\t\t\t\t\t\t\tif (activeState === false) continue;\n\t\t\t\t\t\t\t\tconst { module } = connection;\n\t\t\t\t\t\t\t\tif (activeState === ModuleGraphConnection.TRANSITIVE_ONLY) {\n\t\t\t\t\t\t\t\t\tprocessModule(module, runtime, false);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst oldReferencedExports = map.get(module);\n\t\t\t\t\t\t\t\tif (oldReferencedExports === EXPORTS_OBJECT_REFERENCED) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst referencedExports =\n\t\t\t\t\t\t\t\t\tcompilation.getDependencyReferencedExports(dep, runtime);\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\toldReferencedExports === undefined ||\n\t\t\t\t\t\t\t\t\toldReferencedExports === NO_EXPORTS_REFERENCED ||\n\t\t\t\t\t\t\t\t\treferencedExports === EXPORTS_OBJECT_REFERENCED\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tmap.set(module, referencedExports);\n\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\toldReferencedExports !== undefined &&\n\t\t\t\t\t\t\t\t\treferencedExports === NO_EXPORTS_REFERENCED\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tlet exportsMap;\n\t\t\t\t\t\t\t\t\tif (Array.isArray(oldReferencedExports)) {\n\t\t\t\t\t\t\t\t\t\texportsMap = new Map();\n\t\t\t\t\t\t\t\t\t\tfor (const item of oldReferencedExports) {\n\t\t\t\t\t\t\t\t\t\t\tif (Array.isArray(item)) {\n\t\t\t\t\t\t\t\t\t\t\t\texportsMap.set(item.join(\"\\n\"), item);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\texportsMap.set(item.name.join(\"\\n\"), item);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tmap.set(module, exportsMap);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\texportsMap = oldReferencedExports;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tfor (const item of referencedExports) {\n\t\t\t\t\t\t\t\t\t\tif (Array.isArray(item)) {\n\t\t\t\t\t\t\t\t\t\t\tconst key = item.join(\"\\n\");\n\t\t\t\t\t\t\t\t\t\t\tconst oldItem = exportsMap.get(key);\n\t\t\t\t\t\t\t\t\t\t\tif (oldItem === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\texportsMap.set(key, item);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t// if oldItem is already an array we have to do nothing\n\t\t\t\t\t\t\t\t\t\t\t// if oldItem is an ReferencedExport object, we don't have to do anything\n\t\t\t\t\t\t\t\t\t\t\t// as canMangle defaults to true for arrays\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tconst key = item.name.join(\"\\n\");\n\t\t\t\t\t\t\t\t\t\t\tconst oldItem = exportsMap.get(key);\n\t\t\t\t\t\t\t\t\t\t\tif (oldItem === undefined || Array.isArray(oldItem)) {\n\t\t\t\t\t\t\t\t\t\t\t\texportsMap.set(key, item);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\texportsMap.set(key, {\n\t\t\t\t\t\t\t\t\t\t\t\t\tname: item.name,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcanMangle: item.canMangle && oldItem.canMangle\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (const [module, referencedExports] of map) {\n\t\t\t\t\t\t\tif (Array.isArray(referencedExports)) {\n\t\t\t\t\t\t\t\tprocessReferencedModule(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\treferencedExports,\n\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\tforceSideEffects\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tprocessReferencedModule(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tArray.from(referencedExports.values()),\n\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\tforceSideEffects\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tlogger.time(\"initialize exports usage\");\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\texportInfoToModuleMap.set(exportsInfo, module);\n\t\t\t\t\t\texportsInfo.setHasUseInfo();\n\t\t\t\t\t}\n\t\t\t\t\tlogger.timeEnd(\"initialize exports usage\");\n\n\t\t\t\t\tlogger.time(\"trace exports usage in graph\");\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Dependency} dep dependency\n\t\t\t\t\t * @param {RuntimeSpec} runtime runtime\n\t\t\t\t\t */\n\t\t\t\t\tconst processEntryDependency = (dep, runtime) => {\n\t\t\t\t\t\tconst module = moduleGraph.getModule(dep);\n\t\t\t\t\t\tif (module) {\n\t\t\t\t\t\t\tprocessReferencedModule(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\tNO_EXPORTS_REFERENCED,\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t/** @type {RuntimeSpec} */\n\t\t\t\t\tlet globalRuntime = undefined;\n\t\t\t\t\tfor (const [\n\t\t\t\t\t\tentryName,\n\t\t\t\t\t\t{ dependencies: deps, includeDependencies: includeDeps, options }\n\t\t\t\t\t] of compilation.entries) {\n\t\t\t\t\t\tconst runtime = this.global\n\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t: getEntryRuntime(compilation, entryName, options);\n\t\t\t\t\t\tfor (const dep of deps) {\n\t\t\t\t\t\t\tprocessEntryDependency(dep, runtime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const dep of includeDeps) {\n\t\t\t\t\t\t\tprocessEntryDependency(dep, runtime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tglobalRuntime = mergeRuntimeOwned(globalRuntime, runtime);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const dep of compilation.globalEntry.dependencies) {\n\t\t\t\t\t\tprocessEntryDependency(dep, globalRuntime);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const dep of compilation.globalEntry.includeDependencies) {\n\t\t\t\t\t\tprocessEntryDependency(dep, globalRuntime);\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (queue.length) {\n\t\t\t\t\t\tconst [module, runtime] = queue.dequeue();\n\t\t\t\t\t\tprocessModule(module, runtime, false);\n\t\t\t\t\t}\n\t\t\t\t\tlogger.timeEnd(\"trace exports usage in graph\");\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = FlagDependencyUsagePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/FlagDependencyUsagePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Generator.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/Generator.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./ConcatenationScope\")} ConcatenationScope */\n/** @typedef {import(\"./DependencyTemplate\")} DependencyTemplate */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./NormalModule\")} NormalModule */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} GenerateContext\n * @property {DependencyTemplates} dependencyTemplates mapping from dependencies to templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {Set<string>} runtimeRequirements the requirements for runtime\n * @property {RuntimeSpec} runtime the runtime\n * @property {ConcatenationScope=} concatenationScope when in concatenated module, information about other concatenated modules\n * @property {CodeGenerationResults=} codeGenerationResults code generation results of other modules (need to have a codeGenerationDependency to use that)\n * @property {string} type which kind of code should be generated\n * @property {function(): Map<string, any>=} getData get access to the code generation data\n */\n\n/**\n * @typedef {Object} UpdateHashContext\n * @property {NormalModule} module the module\n * @property {ChunkGraph} chunkGraph\n * @property {RuntimeSpec} runtime\n * @property {RuntimeTemplate=} runtimeTemplate\n */\n\n/**\n *\n */\nclass Generator {\n\tstatic byType(map) {\n\t\treturn new ByTypeGenerator(map);\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(\n\t\tmodule,\n\t\t{ dependencyTemplates, runtimeTemplate, moduleGraph, type }\n\t) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the bailout reason should be determined\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(module, context) {\n\t\treturn `Module Concatenation is not implemented for ${this.constructor.name}`;\n\t}\n\n\t/**\n\t * @param {Hash} hash hash that will be modified\n\t * @param {UpdateHashContext} updateHashContext context for updating hash\n\t */\n\tupdateHash(hash, { module, runtime }) {\n\t\t// no nothing\n\t}\n}\n\nclass ByTypeGenerator extends Generator {\n\tconstructor(map) {\n\t\tsuper();\n\t\tthis.map = map;\n\t\tthis._types = new Set(Object.keys(map));\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn this._types;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst t = type || \"javascript\";\n\t\tconst generator = this.map[t];\n\t\treturn generator ? generator.getSize(module, t) : 0;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst type = generateContext.type;\n\t\tconst generator = this.map[type];\n\t\tif (!generator) {\n\t\t\tthrow new Error(`Generator.byType: no generator specified for ${type}`);\n\t\t}\n\t\treturn generator.generate(module, generateContext);\n\t}\n}\n\nmodule.exports = Generator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Generator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/GraphHelpers.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/GraphHelpers.js ***! \**************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Module\")} Module */\n\n/**\n * @param {ChunkGroup} chunkGroup the ChunkGroup to connect\n * @param {Chunk} chunk chunk to tie to ChunkGroup\n * @returns {void}\n */\nconst connectChunkGroupAndChunk = (chunkGroup, chunk) => {\n\tif (chunkGroup.pushChunk(chunk)) {\n\t\tchunk.addGroup(chunkGroup);\n\t}\n};\n\n/**\n * @param {ChunkGroup} parent parent ChunkGroup to connect\n * @param {ChunkGroup} child child ChunkGroup to connect\n * @returns {void}\n */\nconst connectChunkGroupParentAndChild = (parent, child) => {\n\tif (parent.addChild(child)) {\n\t\tchild.addParent(parent);\n\t}\n};\n\nexports.connectChunkGroupAndChunk = connectChunkGroupAndChunk;\nexports.connectChunkGroupParentAndChild = connectChunkGroupParentAndChild;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/GraphHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/HarmonyLinkingError.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/HarmonyLinkingError.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nmodule.exports = class HarmonyLinkingError extends WebpackError {\n\t/** @param {string} message Error message */\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = \"HarmonyLinkingError\";\n\t\tthis.hideStack = true;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/HarmonyLinkingError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/HookWebpackError.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/HookWebpackError.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n\n/**\n * @template T\n * @callback Callback\n * @param {Error=} err\n * @param {T=} stats\n * @returns {void}\n */\n\nclass HookWebpackError extends WebpackError {\n\t/**\n\t * Creates an instance of HookWebpackError.\n\t * @param {Error} error inner error\n\t * @param {string} hook name of hook\n\t */\n\tconstructor(error, hook) {\n\t\tsuper(error.message);\n\n\t\tthis.name = \"HookWebpackError\";\n\t\tthis.hook = hook;\n\t\tthis.error = error;\n\t\tthis.hideStack = true;\n\t\tthis.details = `caused by plugins in ${hook}\\n${error.stack}`;\n\n\t\tthis.stack += `\\n-- inner error --\\n${error.stack}`;\n\t}\n}\n\nmodule.exports = HookWebpackError;\n\n/**\n * @param {Error} error an error\n * @param {string} hook name of the hook\n * @returns {WebpackError} a webpack error\n */\nconst makeWebpackError = (error, hook) => {\n\tif (error instanceof WebpackError) return error;\n\treturn new HookWebpackError(error, hook);\n};\nmodule.exports.makeWebpackError = makeWebpackError;\n\n/**\n * @template T\n * @param {function((WebpackError | null)=, T=): void} callback webpack error callback\n * @param {string} hook name of hook\n * @returns {Callback<T>} generic callback\n */\nconst makeWebpackErrorCallback = (callback, hook) => {\n\treturn (err, result) => {\n\t\tif (err) {\n\t\t\tif (err instanceof WebpackError) {\n\t\t\t\tcallback(err);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcallback(new HookWebpackError(err, hook));\n\t\t\treturn;\n\t\t}\n\t\tcallback(null, result);\n\t};\n};\n\nmodule.exports.makeWebpackErrorCallback = makeWebpackErrorCallback;\n\n/**\n * @template T\n * @param {function(): T} fn function which will be wrapping in try catch\n * @param {string} hook name of hook\n * @returns {T} the result\n */\nconst tryRunOrWebpackError = (fn, hook) => {\n\tlet r;\n\ttry {\n\t\tr = fn();\n\t} catch (err) {\n\t\tif (err instanceof WebpackError) {\n\t\t\tthrow err;\n\t\t}\n\t\tthrow new HookWebpackError(err, hook);\n\t}\n\treturn r;\n};\n\nmodule.exports.tryRunOrWebpackError = tryRunOrWebpackError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/HookWebpackError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/HotModuleReplacementPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/HotModuleReplacementPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst Compilation = __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst HotUpdateChunk = __webpack_require__(/*! ./HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ImportMetaHotAcceptDependency = __webpack_require__(/*! ./dependencies/ImportMetaHotAcceptDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js\");\nconst ImportMetaHotDeclineDependency = __webpack_require__(/*! ./dependencies/ImportMetaHotDeclineDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js\");\nconst ModuleHotAcceptDependency = __webpack_require__(/*! ./dependencies/ModuleHotAcceptDependency */ \"./node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js\");\nconst ModuleHotDeclineDependency = __webpack_require__(/*! ./dependencies/ModuleHotDeclineDependency */ \"./node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js\");\nconst HotModuleReplacementRuntimeModule = __webpack_require__(/*! ./hmr/HotModuleReplacementRuntimeModule */ \"./node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js\");\nconst JavascriptParser = __webpack_require__(/*! ./javascript/JavascriptParser */ \"./node_modules/webpack/lib/javascript/JavascriptParser.js\");\nconst {\n\tevaluateToIdentifier\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst { find, isSubset } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst TupleSet = __webpack_require__(/*! ./util/TupleSet */ \"./node_modules/webpack/lib/util/TupleSet.js\");\nconst { compareModulesById } = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tgetRuntimeKey,\n\tkeyToRuntime,\n\tforEachRuntime,\n\tmergeRuntimeOwned,\n\tsubtractRuntime,\n\tintersectRuntime\n} = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./RuntimeModule\")} RuntimeModule */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} HMRJavascriptParserHooks\n * @property {SyncBailHook<[TODO, string[]], void>} hotAcceptCallback\n * @property {SyncBailHook<[TODO, string[]], void>} hotAcceptWithoutCallback\n */\n\n/** @type {WeakMap<JavascriptParser, HMRJavascriptParserHooks>} */\nconst parserHooksMap = new WeakMap();\n\nclass HotModuleReplacementPlugin {\n\t/**\n\t * @param {JavascriptParser} parser the parser\n\t * @returns {HMRJavascriptParserHooks} the attached hooks\n\t */\n\tstatic getParserHooks(parser) {\n\t\tif (!(parser instanceof JavascriptParser)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'parser' argument must be an instance of JavascriptParser\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = parserHooksMap.get(parser);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\thotAcceptCallback: new SyncBailHook([\"expression\", \"requests\"]),\n\t\t\t\thotAcceptWithoutCallback: new SyncBailHook([\"expression\", \"requests\"])\n\t\t\t};\n\t\t\tparserHooksMap.set(parser, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _backCompat: backCompat } = compiler;\n\t\tif (compiler.options.output.strictModuleErrorHandling === undefined)\n\t\t\tcompiler.options.output.strictModuleErrorHandling = true;\n\t\tconst runtimeRequirements = [RuntimeGlobals.module];\n\n\t\tconst createAcceptHandler = (parser, ParamDependency) => {\n\t\t\tconst { hotAcceptCallback, hotAcceptWithoutCallback } =\n\t\t\t\tHotModuleReplacementPlugin.getParserHooks(parser);\n\n\t\t\treturn expr => {\n\t\t\t\tconst module = parser.state.module;\n\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t`${module.moduleArgument}.hot.accept`,\n\t\t\t\t\texpr.callee.range,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\tmodule.buildInfo.moduleConcatenationBailout = \"Hot Module Replacement\";\n\t\t\t\tif (expr.arguments.length >= 1) {\n\t\t\t\t\tconst arg = parser.evaluateExpression(expr.arguments[0]);\n\t\t\t\t\tlet params = [];\n\t\t\t\t\tlet requests = [];\n\t\t\t\t\tif (arg.isString()) {\n\t\t\t\t\t\tparams = [arg];\n\t\t\t\t\t} else if (arg.isArray()) {\n\t\t\t\t\t\tparams = arg.items.filter(param => param.isString());\n\t\t\t\t\t}\n\t\t\t\t\tif (params.length > 0) {\n\t\t\t\t\t\tparams.forEach((param, idx) => {\n\t\t\t\t\t\t\tconst request = param.string;\n\t\t\t\t\t\t\tconst dep = new ParamDependency(request, param.range);\n\t\t\t\t\t\t\tdep.optional = true;\n\t\t\t\t\t\t\tdep.loc = Object.create(expr.loc);\n\t\t\t\t\t\t\tdep.loc.index = idx;\n\t\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\t\trequests.push(request);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (expr.arguments.length > 1) {\n\t\t\t\t\t\t\thotAcceptCallback.call(expr.arguments[1], requests);\n\t\t\t\t\t\t\tfor (let i = 1; i < expr.arguments.length; i++) {\n\t\t\t\t\t\t\t\tparser.walkExpression(expr.arguments[i]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\thotAcceptWithoutCallback.call(expr, requests);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tparser.walkExpressions(expr.arguments);\n\t\t\t\treturn true;\n\t\t\t};\n\t\t};\n\n\t\tconst createDeclineHandler = (parser, ParamDependency) => expr => {\n\t\t\tconst module = parser.state.module;\n\t\t\tconst dep = new ConstDependency(\n\t\t\t\t`${module.moduleArgument}.hot.decline`,\n\t\t\t\texpr.callee.range,\n\t\t\t\truntimeRequirements\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\tmodule.buildInfo.moduleConcatenationBailout = \"Hot Module Replacement\";\n\t\t\tif (expr.arguments.length === 1) {\n\t\t\t\tconst arg = parser.evaluateExpression(expr.arguments[0]);\n\t\t\t\tlet params = [];\n\t\t\t\tif (arg.isString()) {\n\t\t\t\t\tparams = [arg];\n\t\t\t\t} else if (arg.isArray()) {\n\t\t\t\t\tparams = arg.items.filter(param => param.isString());\n\t\t\t\t}\n\t\t\t\tparams.forEach((param, idx) => {\n\t\t\t\t\tconst dep = new ParamDependency(param.string, param.range);\n\t\t\t\t\tdep.optional = true;\n\t\t\t\t\tdep.loc = Object.create(expr.loc);\n\t\t\t\t\tdep.loc.index = idx;\n\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\tconst createHMRExpressionHandler = parser => expr => {\n\t\t\tconst module = parser.state.module;\n\t\t\tconst dep = new ConstDependency(\n\t\t\t\t`${module.moduleArgument}.hot`,\n\t\t\t\texpr.range,\n\t\t\t\truntimeRequirements\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\tmodule.buildInfo.moduleConcatenationBailout = \"Hot Module Replacement\";\n\t\t\treturn true;\n\t\t};\n\n\t\tconst applyModuleHot = parser => {\n\t\t\tparser.hooks.evaluateIdentifier.for(\"module.hot\").tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"HotModuleReplacementPlugin\",\n\t\t\t\t\tbefore: \"NodeStuffPlugin\"\n\t\t\t\t},\n\t\t\t\texpr => {\n\t\t\t\t\treturn evaluateToIdentifier(\n\t\t\t\t\t\t\"module.hot\",\n\t\t\t\t\t\t\"module\",\n\t\t\t\t\t\t() => [\"hot\"],\n\t\t\t\t\t\ttrue\n\t\t\t\t\t)(expr);\n\t\t\t\t}\n\t\t\t);\n\t\t\tparser.hooks.call\n\t\t\t\t.for(\"module.hot.accept\")\n\t\t\t\t.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\tcreateAcceptHandler(parser, ModuleHotAcceptDependency)\n\t\t\t\t);\n\t\t\tparser.hooks.call\n\t\t\t\t.for(\"module.hot.decline\")\n\t\t\t\t.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\tcreateDeclineHandler(parser, ModuleHotDeclineDependency)\n\t\t\t\t);\n\t\t\tparser.hooks.expression\n\t\t\t\t.for(\"module.hot\")\n\t\t\t\t.tap(\"HotModuleReplacementPlugin\", createHMRExpressionHandler(parser));\n\t\t};\n\n\t\tconst applyImportMetaHot = parser => {\n\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t.for(\"import.meta.webpackHot\")\n\t\t\t\t.tap(\"HotModuleReplacementPlugin\", expr => {\n\t\t\t\t\treturn evaluateToIdentifier(\n\t\t\t\t\t\t\"import.meta.webpackHot\",\n\t\t\t\t\t\t\"import.meta\",\n\t\t\t\t\t\t() => [\"webpackHot\"],\n\t\t\t\t\t\ttrue\n\t\t\t\t\t)(expr);\n\t\t\t\t});\n\t\t\tparser.hooks.call\n\t\t\t\t.for(\"import.meta.webpackHot.accept\")\n\t\t\t\t.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\tcreateAcceptHandler(parser, ImportMetaHotAcceptDependency)\n\t\t\t\t);\n\t\t\tparser.hooks.call\n\t\t\t\t.for(\"import.meta.webpackHot.decline\")\n\t\t\t\t.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\tcreateDeclineHandler(parser, ImportMetaHotDeclineDependency)\n\t\t\t\t);\n\t\t\tparser.hooks.expression\n\t\t\t\t.for(\"import.meta.webpackHot\")\n\t\t\t\t.tap(\"HotModuleReplacementPlugin\", createHMRExpressionHandler(parser));\n\t\t};\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\t// This applies the HMR plugin only to the targeted compiler\n\t\t\t\t// It should not affect child compilations\n\t\t\t\tif (compilation.compiler !== compiler) return;\n\n\t\t\t\t//#region module.hot.* API\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tModuleHotAcceptDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tModuleHotAcceptDependency,\n\t\t\t\t\tnew ModuleHotAcceptDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tModuleHotDeclineDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tModuleHotDeclineDependency,\n\t\t\t\t\tnew ModuleHotDeclineDependency.Template()\n\t\t\t\t);\n\t\t\t\t//#endregion\n\n\t\t\t\t//#region import.meta.webpackHot.* API\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportMetaHotAcceptDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportMetaHotAcceptDependency,\n\t\t\t\t\tnew ImportMetaHotAcceptDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportMetaHotDeclineDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportMetaHotDeclineDependency,\n\t\t\t\t\tnew ImportMetaHotDeclineDependency.Template()\n\t\t\t\t);\n\t\t\t\t//#endregion\n\n\t\t\t\tlet hotIndex = 0;\n\t\t\t\tconst fullHashChunkModuleHashes = {};\n\t\t\t\tconst chunkModuleHashes = {};\n\n\t\t\t\tcompilation.hooks.record.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\t(compilation, records) => {\n\t\t\t\t\t\tif (records.hash === compilation.hash) return;\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\trecords.hash = compilation.hash;\n\t\t\t\t\t\trecords.hotIndex = hotIndex;\n\t\t\t\t\t\trecords.fullHashChunkModuleHashes = fullHashChunkModuleHashes;\n\t\t\t\t\t\trecords.chunkModuleHashes = chunkModuleHashes;\n\t\t\t\t\t\trecords.chunkHashes = {};\n\t\t\t\t\t\trecords.chunkRuntime = {};\n\t\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\t\trecords.chunkHashes[chunk.id] = chunk.hash;\n\t\t\t\t\t\t\trecords.chunkRuntime[chunk.id] = getRuntimeKey(chunk.runtime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\trecords.chunkModuleIds = {};\n\t\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\t\trecords.chunkModuleIds[chunk.id] = Array.from(\n\t\t\t\t\t\t\t\tchunkGraph.getOrderedChunkModulesIterable(\n\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\tcompareModulesById(chunkGraph)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tm => chunkGraph.getModuleId(m)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\t/** @type {TupleSet<[Module, Chunk]>} */\n\t\t\t\tconst updatedModules = new TupleSet();\n\t\t\t\t/** @type {TupleSet<[Module, Chunk]>} */\n\t\t\t\tconst fullHashModules = new TupleSet();\n\t\t\t\t/** @type {TupleSet<[Module, RuntimeSpec]>} */\n\t\t\t\tconst nonCodeGeneratedModules = new TupleSet();\n\t\t\t\tcompilation.hooks.fullHash.tap(\"HotModuleReplacementPlugin\", hash => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst records = compilation.records;\n\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\tconst getModuleHash = module => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tcompilation.codeGenerationResults.has(module, chunk.runtime)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn compilation.codeGenerationResults.getHash(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tnonCodeGeneratedModules.add(module, chunk.runtime);\n\t\t\t\t\t\t\t\treturn chunkGraph.getModuleHash(module, chunk.runtime);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tconst fullHashModulesInThisChunk =\n\t\t\t\t\t\t\tchunkGraph.getChunkFullHashModulesSet(chunk);\n\t\t\t\t\t\tif (fullHashModulesInThisChunk !== undefined) {\n\t\t\t\t\t\t\tfor (const module of fullHashModulesInThisChunk) {\n\t\t\t\t\t\t\t\tfullHashModules.add(module, chunk);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst modules = chunkGraph.getChunkModulesIterable(chunk);\n\t\t\t\t\t\tif (modules !== undefined) {\n\t\t\t\t\t\t\tif (records.chunkModuleHashes) {\n\t\t\t\t\t\t\t\tif (fullHashModulesInThisChunk !== undefined) {\n\t\t\t\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\t\t\t\tconst key = `${chunk.id}|${module.identifier()}`;\n\t\t\t\t\t\t\t\t\t\tconst hash = getModuleHash(module);\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tfullHashModulesInThisChunk.has(\n\t\t\t\t\t\t\t\t\t\t\t\t/** @type {RuntimeModule} */ (module)\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tif (records.fullHashChunkModuleHashes[key] !== hash) {\n\t\t\t\t\t\t\t\t\t\t\t\tupdatedModules.add(module, chunk);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tfullHashChunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tif (records.chunkModuleHashes[key] !== hash) {\n\t\t\t\t\t\t\t\t\t\t\t\tupdatedModules.add(module, chunk);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tchunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\t\t\t\tconst key = `${chunk.id}|${module.identifier()}`;\n\t\t\t\t\t\t\t\t\t\tconst hash = getModuleHash(module);\n\t\t\t\t\t\t\t\t\t\tif (records.chunkModuleHashes[key] !== hash) {\n\t\t\t\t\t\t\t\t\t\t\tupdatedModules.add(module, chunk);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tchunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (fullHashModulesInThisChunk !== undefined) {\n\t\t\t\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\t\t\t\tconst key = `${chunk.id}|${module.identifier()}`;\n\t\t\t\t\t\t\t\t\t\tconst hash = getModuleHash(module);\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tfullHashModulesInThisChunk.has(\n\t\t\t\t\t\t\t\t\t\t\t\t/** @type {RuntimeModule} */ (module)\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tfullHashChunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tchunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\t\t\t\tconst key = `${chunk.id}|${module.identifier()}`;\n\t\t\t\t\t\t\t\t\t\tconst hash = getModuleHash(module);\n\t\t\t\t\t\t\t\t\t\tchunkModuleHashes[key] = hash;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\thotIndex = records.hotIndex || 0;\n\t\t\t\t\tif (updatedModules.size > 0) hotIndex++;\n\n\t\t\t\t\thash.update(`${hotIndex}`);\n\t\t\t\t});\n\t\t\t\tcompilation.hooks.processAssets.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"HotModuleReplacementPlugin\",\n\t\t\t\t\t\tstage: Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL\n\t\t\t\t\t},\n\t\t\t\t\t() => {\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tconst records = compilation.records;\n\t\t\t\t\t\tif (records.hash === compilation.hash) return;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!records.chunkModuleHashes ||\n\t\t\t\t\t\t\t!records.chunkHashes ||\n\t\t\t\t\t\t\t!records.chunkModuleIds\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const [module, chunk] of fullHashModules) {\n\t\t\t\t\t\t\tconst key = `${chunk.id}|${module.identifier()}`;\n\t\t\t\t\t\t\tconst hash = nonCodeGeneratedModules.has(module, chunk.runtime)\n\t\t\t\t\t\t\t\t? chunkGraph.getModuleHash(module, chunk.runtime)\n\t\t\t\t\t\t\t\t: compilation.codeGenerationResults.getHash(\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t\t\t\t );\n\t\t\t\t\t\t\tif (records.chunkModuleHashes[key] !== hash) {\n\t\t\t\t\t\t\t\tupdatedModules.add(module, chunk);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchunkModuleHashes[key] = hash;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/** @type {Map<string, { updatedChunkIds: Set<string|number>, removedChunkIds: Set<string|number>, removedModules: Set<Module>, filename: string, assetInfo: AssetInfo }>} */\n\t\t\t\t\t\tconst hotUpdateMainContentByRuntime = new Map();\n\t\t\t\t\t\tlet allOldRuntime;\n\t\t\t\t\t\tfor (const key of Object.keys(records.chunkRuntime)) {\n\t\t\t\t\t\t\tconst runtime = keyToRuntime(records.chunkRuntime[key]);\n\t\t\t\t\t\t\tallOldRuntime = mergeRuntimeOwned(allOldRuntime, runtime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tforEachRuntime(allOldRuntime, runtime => {\n\t\t\t\t\t\t\tconst { path: filename, info: assetInfo } =\n\t\t\t\t\t\t\t\tcompilation.getPathWithInfo(\n\t\t\t\t\t\t\t\t\tcompilation.outputOptions.hotUpdateMainFilename,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thash: records.hash,\n\t\t\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\thotUpdateMainContentByRuntime.set(runtime, {\n\t\t\t\t\t\t\t\tupdatedChunkIds: new Set(),\n\t\t\t\t\t\t\t\tremovedChunkIds: new Set(),\n\t\t\t\t\t\t\t\tremovedModules: new Set(),\n\t\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\t\tassetInfo\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (hotUpdateMainContentByRuntime.size === 0) return;\n\n\t\t\t\t\t\t// Create a list of all active modules to verify which modules are removed completely\n\t\t\t\t\t\t/** @type {Map<number|string, Module>} */\n\t\t\t\t\t\tconst allModules = new Map();\n\t\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\t\t\t\t\tallModules.set(id, module);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// List of completely removed modules\n\t\t\t\t\t\t/** @type {Set<string | number>} */\n\t\t\t\t\t\tconst completelyRemovedModules = new Set();\n\n\t\t\t\t\t\tfor (const key of Object.keys(records.chunkHashes)) {\n\t\t\t\t\t\t\tconst oldRuntime = keyToRuntime(records.chunkRuntime[key]);\n\t\t\t\t\t\t\t/** @type {Module[]} */\n\t\t\t\t\t\t\tconst remainingModules = [];\n\t\t\t\t\t\t\t// Check which modules are removed\n\t\t\t\t\t\t\tfor (const id of records.chunkModuleIds[key]) {\n\t\t\t\t\t\t\t\tconst module = allModules.get(id);\n\t\t\t\t\t\t\t\tif (module === undefined) {\n\t\t\t\t\t\t\t\t\tcompletelyRemovedModules.add(id);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tremainingModules.push(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tlet chunkId;\n\t\t\t\t\t\t\tlet newModules;\n\t\t\t\t\t\t\tlet newRuntimeModules;\n\t\t\t\t\t\t\tlet newFullHashModules;\n\t\t\t\t\t\t\tlet newDependentHashModules;\n\t\t\t\t\t\t\tlet newRuntime;\n\t\t\t\t\t\t\tlet removedFromRuntime;\n\t\t\t\t\t\t\tconst currentChunk = find(\n\t\t\t\t\t\t\t\tcompilation.chunks,\n\t\t\t\t\t\t\t\tchunk => `${chunk.id}` === key\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (currentChunk) {\n\t\t\t\t\t\t\t\tchunkId = currentChunk.id;\n\t\t\t\t\t\t\t\tnewRuntime = intersectRuntime(\n\t\t\t\t\t\t\t\t\tcurrentChunk.runtime,\n\t\t\t\t\t\t\t\t\tallOldRuntime\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (newRuntime === undefined) continue;\n\t\t\t\t\t\t\t\tnewModules = chunkGraph\n\t\t\t\t\t\t\t\t\t.getChunkModules(currentChunk)\n\t\t\t\t\t\t\t\t\t.filter(module => updatedModules.has(module, currentChunk));\n\t\t\t\t\t\t\t\tnewRuntimeModules = Array.from(\n\t\t\t\t\t\t\t\t\tchunkGraph.getChunkRuntimeModulesIterable(currentChunk)\n\t\t\t\t\t\t\t\t).filter(module => updatedModules.has(module, currentChunk));\n\t\t\t\t\t\t\t\tconst fullHashModules =\n\t\t\t\t\t\t\t\t\tchunkGraph.getChunkFullHashModulesIterable(currentChunk);\n\t\t\t\t\t\t\t\tnewFullHashModules =\n\t\t\t\t\t\t\t\t\tfullHashModules &&\n\t\t\t\t\t\t\t\t\tArray.from(fullHashModules).filter(module =>\n\t\t\t\t\t\t\t\t\t\tupdatedModules.has(module, currentChunk)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tconst dependentHashModules =\n\t\t\t\t\t\t\t\t\tchunkGraph.getChunkDependentHashModulesIterable(currentChunk);\n\t\t\t\t\t\t\t\tnewDependentHashModules =\n\t\t\t\t\t\t\t\t\tdependentHashModules &&\n\t\t\t\t\t\t\t\t\tArray.from(dependentHashModules).filter(module =>\n\t\t\t\t\t\t\t\t\t\tupdatedModules.has(module, currentChunk)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tremovedFromRuntime = subtractRuntime(oldRuntime, newRuntime);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// chunk has completely removed\n\t\t\t\t\t\t\t\tchunkId = `${+key}` === key ? +key : key;\n\t\t\t\t\t\t\t\tremovedFromRuntime = oldRuntime;\n\t\t\t\t\t\t\t\tnewRuntime = oldRuntime;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (removedFromRuntime) {\n\t\t\t\t\t\t\t\t// chunk was removed from some runtimes\n\t\t\t\t\t\t\t\tforEachRuntime(removedFromRuntime, runtime => {\n\t\t\t\t\t\t\t\t\thotUpdateMainContentByRuntime\n\t\t\t\t\t\t\t\t\t\t.get(runtime)\n\t\t\t\t\t\t\t\t\t\t.removedChunkIds.add(chunkId);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t// dispose modules from the chunk in these runtimes\n\t\t\t\t\t\t\t\t// where they are no longer in this runtime\n\t\t\t\t\t\t\t\tfor (const module of remainingModules) {\n\t\t\t\t\t\t\t\t\tconst moduleKey = `${key}|${module.identifier()}`;\n\t\t\t\t\t\t\t\t\tconst oldHash = records.chunkModuleHashes[moduleKey];\n\t\t\t\t\t\t\t\t\tconst runtimes = chunkGraph.getModuleRuntimes(module);\n\t\t\t\t\t\t\t\t\tif (oldRuntime === newRuntime && runtimes.has(newRuntime)) {\n\t\t\t\t\t\t\t\t\t\t// Module is still in the same runtime combination\n\t\t\t\t\t\t\t\t\t\tconst hash = nonCodeGeneratedModules.has(module, newRuntime)\n\t\t\t\t\t\t\t\t\t\t\t? chunkGraph.getModuleHash(module, newRuntime)\n\t\t\t\t\t\t\t\t\t\t\t: compilation.codeGenerationResults.getHash(\n\t\t\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\t\t\tnewRuntime\n\t\t\t\t\t\t\t\t\t\t\t );\n\t\t\t\t\t\t\t\t\t\tif (hash !== oldHash) {\n\t\t\t\t\t\t\t\t\t\t\tif (module.type === \"runtime\") {\n\t\t\t\t\t\t\t\t\t\t\t\tnewRuntimeModules = newRuntimeModules || [];\n\t\t\t\t\t\t\t\t\t\t\t\tnewRuntimeModules.push(\n\t\t\t\t\t\t\t\t\t\t\t\t\t/** @type {RuntimeModule} */ (module)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tnewModules = newModules || [];\n\t\t\t\t\t\t\t\t\t\t\t\tnewModules.push(module);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// module is no longer in this runtime combination\n\t\t\t\t\t\t\t\t\t\t// We (incorrectly) assume that it's not in an overlapping runtime combination\n\t\t\t\t\t\t\t\t\t\t// and dispose it from the main runtimes the chunk was removed from\n\t\t\t\t\t\t\t\t\t\tforEachRuntime(removedFromRuntime, runtime => {\n\t\t\t\t\t\t\t\t\t\t\t// If the module is still used in this runtime, do not dispose it\n\t\t\t\t\t\t\t\t\t\t\t// This could create a bad runtime state where the module is still loaded,\n\t\t\t\t\t\t\t\t\t\t\t// but no chunk which contains it. This means we don't receive further HMR updates\n\t\t\t\t\t\t\t\t\t\t\t// to this module and that's bad.\n\t\t\t\t\t\t\t\t\t\t\t// TODO force load one of the chunks which contains the module\n\t\t\t\t\t\t\t\t\t\t\tfor (const moduleRuntime of runtimes) {\n\t\t\t\t\t\t\t\t\t\t\t\tif (typeof moduleRuntime === \"string\") {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (moduleRuntime === runtime) return;\n\t\t\t\t\t\t\t\t\t\t\t\t} else if (moduleRuntime !== undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (moduleRuntime.has(runtime)) return;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\thotUpdateMainContentByRuntime\n\t\t\t\t\t\t\t\t\t\t\t\t.get(runtime)\n\t\t\t\t\t\t\t\t\t\t\t\t.removedModules.add(module);\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t(newModules && newModules.length > 0) ||\n\t\t\t\t\t\t\t\t(newRuntimeModules && newRuntimeModules.length > 0)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst hotUpdateChunk = new HotUpdateChunk();\n\t\t\t\t\t\t\t\tif (backCompat)\n\t\t\t\t\t\t\t\t\tChunkGraph.setChunkGraphForChunk(hotUpdateChunk, chunkGraph);\n\t\t\t\t\t\t\t\thotUpdateChunk.id = chunkId;\n\t\t\t\t\t\t\t\thotUpdateChunk.runtime = newRuntime;\n\t\t\t\t\t\t\t\tif (currentChunk) {\n\t\t\t\t\t\t\t\t\tfor (const group of currentChunk.groupsIterable)\n\t\t\t\t\t\t\t\t\t\thotUpdateChunk.addGroup(group);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tchunkGraph.attachModules(hotUpdateChunk, newModules || []);\n\t\t\t\t\t\t\t\tchunkGraph.attachRuntimeModules(\n\t\t\t\t\t\t\t\t\thotUpdateChunk,\n\t\t\t\t\t\t\t\t\tnewRuntimeModules || []\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (newFullHashModules) {\n\t\t\t\t\t\t\t\t\tchunkGraph.attachFullHashModules(\n\t\t\t\t\t\t\t\t\t\thotUpdateChunk,\n\t\t\t\t\t\t\t\t\t\tnewFullHashModules\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (newDependentHashModules) {\n\t\t\t\t\t\t\t\t\tchunkGraph.attachDependentHashModules(\n\t\t\t\t\t\t\t\t\t\thotUpdateChunk,\n\t\t\t\t\t\t\t\t\t\tnewDependentHashModules\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst renderManifest = compilation.getRenderManifest({\n\t\t\t\t\t\t\t\t\tchunk: hotUpdateChunk,\n\t\t\t\t\t\t\t\t\thash: records.hash,\n\t\t\t\t\t\t\t\t\tfullHash: records.hash,\n\t\t\t\t\t\t\t\t\toutputOptions: compilation.outputOptions,\n\t\t\t\t\t\t\t\t\tmoduleTemplates: compilation.moduleTemplates,\n\t\t\t\t\t\t\t\t\tdependencyTemplates: compilation.dependencyTemplates,\n\t\t\t\t\t\t\t\t\tcodeGenerationResults: compilation.codeGenerationResults,\n\t\t\t\t\t\t\t\t\truntimeTemplate: compilation.runtimeTemplate,\n\t\t\t\t\t\t\t\t\tmoduleGraph: compilation.moduleGraph,\n\t\t\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tfor (const entry of renderManifest) {\n\t\t\t\t\t\t\t\t\t/** @type {string} */\n\t\t\t\t\t\t\t\t\tlet filename;\n\t\t\t\t\t\t\t\t\t/** @type {AssetInfo} */\n\t\t\t\t\t\t\t\t\tlet assetInfo;\n\t\t\t\t\t\t\t\t\tif (\"filename\" in entry) {\n\t\t\t\t\t\t\t\t\t\tfilename = entry.filename;\n\t\t\t\t\t\t\t\t\t\tassetInfo = entry.info;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t({ path: filename, info: assetInfo } =\n\t\t\t\t\t\t\t\t\t\t\tcompilation.getPathWithInfo(\n\t\t\t\t\t\t\t\t\t\t\t\tentry.filenameTemplate,\n\t\t\t\t\t\t\t\t\t\t\t\tentry.pathOptions\n\t\t\t\t\t\t\t\t\t\t\t));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconst source = entry.render();\n\t\t\t\t\t\t\t\t\tcompilation.additionalChunkAssets.push(filename);\n\t\t\t\t\t\t\t\t\tcompilation.emitAsset(filename, source, {\n\t\t\t\t\t\t\t\t\t\thotModuleReplacement: true,\n\t\t\t\t\t\t\t\t\t\t...assetInfo\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tif (currentChunk) {\n\t\t\t\t\t\t\t\t\t\tcurrentChunk.files.add(filename);\n\t\t\t\t\t\t\t\t\t\tcompilation.hooks.chunkAsset.call(currentChunk, filename);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tforEachRuntime(newRuntime, runtime => {\n\t\t\t\t\t\t\t\t\thotUpdateMainContentByRuntime\n\t\t\t\t\t\t\t\t\t\t.get(runtime)\n\t\t\t\t\t\t\t\t\t\t.updatedChunkIds.add(chunkId);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst completelyRemovedModulesArray = Array.from(\n\t\t\t\t\t\t\tcompletelyRemovedModules\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst hotUpdateMainContentByFilename = new Map();\n\t\t\t\t\t\tfor (const {\n\t\t\t\t\t\t\tremovedChunkIds,\n\t\t\t\t\t\t\tremovedModules,\n\t\t\t\t\t\t\tupdatedChunkIds,\n\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\tassetInfo\n\t\t\t\t\t\t} of hotUpdateMainContentByRuntime.values()) {\n\t\t\t\t\t\t\tconst old = hotUpdateMainContentByFilename.get(filename);\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\told &&\n\t\t\t\t\t\t\t\t(!isSubset(old.removedChunkIds, removedChunkIds) ||\n\t\t\t\t\t\t\t\t\t!isSubset(old.removedModules, removedModules) ||\n\t\t\t\t\t\t\t\t\t!isSubset(old.updatedChunkIds, updatedChunkIds))\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tcompilation.warnings.push(\n\t\t\t\t\t\t\t\t\tnew WebpackError(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tfor (const chunkId of removedChunkIds)\n\t\t\t\t\t\t\t\t\told.removedChunkIds.add(chunkId);\n\t\t\t\t\t\t\t\tfor (const chunkId of removedModules)\n\t\t\t\t\t\t\t\t\told.removedModules.add(chunkId);\n\t\t\t\t\t\t\t\tfor (const chunkId of updatedChunkIds)\n\t\t\t\t\t\t\t\t\told.updatedChunkIds.add(chunkId);\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\thotUpdateMainContentByFilename.set(filename, {\n\t\t\t\t\t\t\t\tremovedChunkIds,\n\t\t\t\t\t\t\t\tremovedModules,\n\t\t\t\t\t\t\t\tupdatedChunkIds,\n\t\t\t\t\t\t\t\tassetInfo\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const [\n\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\t{ removedChunkIds, removedModules, updatedChunkIds, assetInfo }\n\t\t\t\t\t\t] of hotUpdateMainContentByFilename) {\n\t\t\t\t\t\t\tconst hotUpdateMainJson = {\n\t\t\t\t\t\t\t\tc: Array.from(updatedChunkIds),\n\t\t\t\t\t\t\t\tr: Array.from(removedChunkIds),\n\t\t\t\t\t\t\t\tm:\n\t\t\t\t\t\t\t\t\tremovedModules.size === 0\n\t\t\t\t\t\t\t\t\t\t? completelyRemovedModulesArray\n\t\t\t\t\t\t\t\t\t\t: completelyRemovedModulesArray.concat(\n\t\t\t\t\t\t\t\t\t\t\t\tArray.from(removedModules, m =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph.getModuleId(m)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tconst source = new RawSource(JSON.stringify(hotUpdateMainJson));\n\t\t\t\t\t\t\tcompilation.emitAsset(filename, source, {\n\t\t\t\t\t\t\t\thotModuleReplacement: true,\n\t\t\t\t\t\t\t\t...assetInfo\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\t(chunk, runtimeRequirements) => {\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.hmrDownloadManifest);\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.hmrDownloadUpdateHandlers);\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.interceptModuleExecution);\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew HotModuleReplacementRuntimeModule()\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"HotModuleReplacementPlugin\", parser => {\n\t\t\t\t\t\tapplyModuleHot(parser);\n\t\t\t\t\t\tapplyImportMetaHot(parser);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"HotModuleReplacementPlugin\", parser => {\n\t\t\t\t\t\tapplyModuleHot(parser);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"HotModuleReplacementPlugin\", parser => {\n\t\t\t\t\t\tapplyImportMetaHot(parser);\n\t\t\t\t\t});\n\n\t\t\t\tNormalModule.getCompilationHooks(compilation).loader.tap(\n\t\t\t\t\t\"HotModuleReplacementPlugin\",\n\t\t\t\t\tcontext => {\n\t\t\t\t\t\tcontext.hot = true;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = HotModuleReplacementPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/HotModuleReplacementPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/HotUpdateChunk.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/HotUpdateChunk.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Chunk = __webpack_require__(/*! ./Chunk */ \"./node_modules/webpack/lib/Chunk.js\");\n\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\nclass HotUpdateChunk extends Chunk {\n\tconstructor() {\n\t\tsuper();\n\t}\n}\n\nmodule.exports = HotUpdateChunk;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/HotUpdateChunk.js?"); /***/ }), /***/ "./node_modules/webpack/lib/IgnoreErrorModuleFactory.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/IgnoreErrorModuleFactory.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst ModuleFactory = __webpack_require__(/*! ./ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\n\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./NormalModuleFactory\")} NormalModuleFactory */\n\n/**\n * Ignores error when module is unresolved\n */\nclass IgnoreErrorModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {NormalModuleFactory} normalModuleFactory normalModuleFactory instance\n\t */\n\tconstructor(normalModuleFactory) {\n\t\tsuper();\n\n\t\tthis.normalModuleFactory = normalModuleFactory;\n\t}\n\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tthis.normalModuleFactory.create(data, (err, result) => {\n\t\t\treturn callback(null, result);\n\t\t});\n\t}\n}\n\nmodule.exports = IgnoreErrorModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/IgnoreErrorModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/IgnorePlugin.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/IgnorePlugin.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../declarations/plugins/IgnorePlugin\").IgnorePluginOptions} IgnorePluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./NormalModuleFactory\").ResolveData} ResolveData */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/IgnorePlugin.check.js */ \"./node_modules/webpack/schemas/plugins/IgnorePlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/IgnorePlugin.json */ \"./node_modules/webpack/schemas/plugins/IgnorePlugin.json\"),\n\t{\n\t\tname: \"Ignore Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass IgnorePlugin {\n\t/**\n\t * @param {IgnorePluginOptions} options IgnorePlugin options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\n\t\t/** @private @type {Function} */\n\t\tthis.checkIgnore = this.checkIgnore.bind(this);\n\t}\n\n\t/**\n\t * Note that if \"contextRegExp\" is given, both the \"resourceRegExp\"\n\t * and \"contextRegExp\" have to match.\n\t *\n\t * @param {ResolveData} resolveData resolve data\n\t * @returns {false|undefined} returns false when the request should be ignored, otherwise undefined\n\t */\n\tcheckIgnore(resolveData) {\n\t\tif (\n\t\t\t\"checkResource\" in this.options &&\n\t\t\tthis.options.checkResource &&\n\t\t\tthis.options.checkResource(resolveData.request, resolveData.context)\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\t\"resourceRegExp\" in this.options &&\n\t\t\tthis.options.resourceRegExp &&\n\t\t\tthis.options.resourceRegExp.test(resolveData.request)\n\t\t) {\n\t\t\tif (\"contextRegExp\" in this.options && this.options.contextRegExp) {\n\t\t\t\t// if \"contextRegExp\" is given,\n\t\t\t\t// both the \"resourceRegExp\" and \"contextRegExp\" have to match.\n\t\t\t\tif (this.options.contextRegExp.test(resolveData.context)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.normalModuleFactory.tap(\"IgnorePlugin\", nmf => {\n\t\t\tnmf.hooks.beforeResolve.tap(\"IgnorePlugin\", this.checkIgnore);\n\t\t});\n\t\tcompiler.hooks.contextModuleFactory.tap(\"IgnorePlugin\", cmf => {\n\t\t\tcmf.hooks.beforeResolve.tap(\"IgnorePlugin\", this.checkIgnore);\n\t\t});\n\t}\n}\n\nmodule.exports = IgnorePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/IgnorePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/IgnoreWarningsPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/IgnoreWarningsPlugin.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../declarations/WebpackOptions\").IgnoreWarningsNormalized} IgnoreWarningsNormalized */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass IgnoreWarningsPlugin {\n\t/**\n\t * @param {IgnoreWarningsNormalized} ignoreWarnings conditions to ignore warnings\n\t */\n\tconstructor(ignoreWarnings) {\n\t\tthis._ignoreWarnings = ignoreWarnings;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"IgnoreWarningsPlugin\", compilation => {\n\t\t\tcompilation.hooks.processWarnings.tap(\n\t\t\t\t\"IgnoreWarningsPlugin\",\n\t\t\t\twarnings => {\n\t\t\t\t\treturn warnings.filter(warning => {\n\t\t\t\t\t\treturn !this._ignoreWarnings.some(ignore =>\n\t\t\t\t\t\t\tignore(warning, compilation)\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = IgnoreWarningsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/IgnoreWarningsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/InitFragment.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/InitFragment.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Generator\").GenerateContext} GenerateContext */\n\n/**\n * @param {InitFragment} fragment the init fragment\n * @param {number} index index\n * @returns {[InitFragment, number]} tuple with both\n */\nconst extractFragmentIndex = (fragment, index) => [fragment, index];\n\n/**\n * @param {[InitFragment, number]} a first pair\n * @param {[InitFragment, number]} b second pair\n * @returns {number} sort value\n */\nconst sortFragmentWithIndex = ([a, i], [b, j]) => {\n\tconst stageCmp = a.stage - b.stage;\n\tif (stageCmp !== 0) return stageCmp;\n\tconst positionCmp = a.position - b.position;\n\tif (positionCmp !== 0) return positionCmp;\n\treturn i - j;\n};\n\n/**\n * @template Context\n */\nclass InitFragment {\n\t/**\n\t * @param {string|Source} content the source code that will be included as initialization code\n\t * @param {number} stage category of initialization code (contribute to order)\n\t * @param {number} position position in the category (contribute to order)\n\t * @param {string=} key unique key to avoid emitting the same initialization code twice\n\t * @param {string|Source=} endContent the source code that will be included at the end of the module\n\t */\n\tconstructor(content, stage, position, key, endContent) {\n\t\tthis.content = content;\n\t\tthis.stage = stage;\n\t\tthis.position = position;\n\t\tthis.key = key;\n\t\tthis.endContent = endContent;\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source} the source code that will be included as initialization code\n\t */\n\tgetContent(context) {\n\t\treturn this.content;\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source=} the source code that will be included at the end of the module\n\t */\n\tgetEndContent(context) {\n\t\treturn this.endContent;\n\t}\n\n\tstatic addToSource(source, initFragments, context) {\n\t\tif (initFragments.length > 0) {\n\t\t\t// Sort fragments by position. If 2 fragments have the same position,\n\t\t\t// use their index.\n\t\t\tconst sortedFragments = initFragments\n\t\t\t\t.map(extractFragmentIndex)\n\t\t\t\t.sort(sortFragmentWithIndex);\n\n\t\t\t// Deduplicate fragments. If a fragment has no key, it is always included.\n\t\t\tconst keyedFragments = new Map();\n\t\t\tfor (const [fragment] of sortedFragments) {\n\t\t\t\tif (typeof fragment.mergeAll === \"function\") {\n\t\t\t\t\tif (!fragment.key) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`InitFragment with mergeAll function must have a valid key: ${fragment.constructor.name}`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tconst oldValue = keyedFragments.get(fragment.key);\n\t\t\t\t\tif (oldValue === undefined) {\n\t\t\t\t\t\tkeyedFragments.set(fragment.key, fragment);\n\t\t\t\t\t} else if (Array.isArray(oldValue)) {\n\t\t\t\t\t\toldValue.push(fragment);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tkeyedFragments.set(fragment.key, [oldValue, fragment]);\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (typeof fragment.merge === \"function\") {\n\t\t\t\t\tconst oldValue = keyedFragments.get(fragment.key);\n\t\t\t\t\tif (oldValue !== undefined) {\n\t\t\t\t\t\tkeyedFragments.set(fragment.key, fragment.merge(oldValue));\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tkeyedFragments.set(fragment.key || Symbol(), fragment);\n\t\t\t}\n\n\t\t\tconst concatSource = new ConcatSource();\n\t\t\tconst endContents = [];\n\t\t\tfor (let fragment of keyedFragments.values()) {\n\t\t\t\tif (Array.isArray(fragment)) {\n\t\t\t\t\tfragment = fragment[0].mergeAll(fragment);\n\t\t\t\t}\n\t\t\t\tconcatSource.add(fragment.getContent(context));\n\t\t\t\tconst endContent = fragment.getEndContent(context);\n\t\t\t\tif (endContent) {\n\t\t\t\t\tendContents.push(endContent);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconcatSource.add(source);\n\t\t\tfor (const content of endContents.reverse()) {\n\t\t\t\tconcatSource.add(content);\n\t\t\t}\n\t\t\treturn concatSource;\n\t\t} else {\n\t\t\treturn source;\n\t\t}\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.content);\n\t\twrite(this.stage);\n\t\twrite(this.position);\n\t\twrite(this.key);\n\t\twrite(this.endContent);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.content = read();\n\t\tthis.stage = read();\n\t\tthis.position = read();\n\t\tthis.key = read();\n\t\tthis.endContent = read();\n\t}\n}\n\nmakeSerializable(InitFragment, \"webpack/lib/InitFragment\");\n\nInitFragment.prototype.merge = undefined;\n\nInitFragment.STAGE_CONSTANTS = 10;\nInitFragment.STAGE_ASYNC_BOUNDARY = 20;\nInitFragment.STAGE_HARMONY_EXPORTS = 30;\nInitFragment.STAGE_HARMONY_IMPORTS = 40;\nInitFragment.STAGE_PROVIDES = 50;\nInitFragment.STAGE_ASYNC_DEPENDENCIES = 60;\nInitFragment.STAGE_ASYNC_HARMONY_IMPORTS = 70;\n\nmodule.exports = InitFragment;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/InitFragment.js?"); /***/ }), /***/ "./node_modules/webpack/lib/InvalidDependenciesModuleWarning.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/InvalidDependenciesModuleWarning.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nclass InvalidDependenciesModuleWarning extends WebpackError {\n\t/**\n\t * @param {Module} module module tied to dependency\n\t * @param {Iterable<string>} deps invalid dependencies\n\t */\n\tconstructor(module, deps) {\n\t\tconst orderedDeps = deps ? Array.from(deps).sort() : [];\n\t\tconst depsList = orderedDeps.map(dep => ` * ${JSON.stringify(dep)}`);\n\t\tsuper(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${depsList.slice(0, 3).join(\"\\n\")}${\n\t\t\tdepsList.length > 3 ? \"\\n * and more ...\" : \"\"\n\t\t}`);\n\n\t\tthis.name = \"InvalidDependenciesModuleWarning\";\n\t\tthis.details = depsList.slice(3).join(\"\\n\");\n\t\tthis.module = module;\n\t}\n}\n\nmakeSerializable(\n\tInvalidDependenciesModuleWarning,\n\t\"webpack/lib/InvalidDependenciesModuleWarning\"\n);\n\nmodule.exports = InvalidDependenciesModuleWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/InvalidDependenciesModuleWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/JavascriptMetaInfoPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/JavascriptMetaInfoPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst InnerGraph = __webpack_require__(/*! ./optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\nclass JavascriptMetaInfoPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"JavascriptMetaInfoPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tparser.hooks.call.for(\"eval\").tap(\"JavascriptMetaInfoPlugin\", () => {\n\t\t\t\t\t\tparser.state.module.buildInfo.moduleConcatenationBailout = \"eval()\";\n\t\t\t\t\t\tparser.state.module.buildInfo.usingEval = true;\n\t\t\t\t\t\tconst currentSymbol = InnerGraph.getTopLevelSymbol(parser.state);\n\t\t\t\t\t\tif (currentSymbol) {\n\t\t\t\t\t\t\tInnerGraph.addUsage(parser.state, null, currentSymbol);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tInnerGraph.bailout(parser.state);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.finish.tap(\"JavascriptMetaInfoPlugin\", () => {\n\t\t\t\t\t\tlet topLevelDeclarations =\n\t\t\t\t\t\t\tparser.state.module.buildInfo.topLevelDeclarations;\n\t\t\t\t\t\tif (topLevelDeclarations === undefined) {\n\t\t\t\t\t\t\ttopLevelDeclarations =\n\t\t\t\t\t\t\t\tparser.state.module.buildInfo.topLevelDeclarations = new Set();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const name of parser.scope.definitions.asSet()) {\n\t\t\t\t\t\t\tconst freeInfo = parser.getFreeInfoFromVariable(name);\n\t\t\t\t\t\t\tif (freeInfo === undefined) {\n\t\t\t\t\t\t\t\ttopLevelDeclarations.add(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"JavascriptMetaInfoPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"JavascriptMetaInfoPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"JavascriptMetaInfoPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = JavascriptMetaInfoPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/JavascriptMetaInfoPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/LibManifestPlugin.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/LibManifestPlugin.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst EntryDependency = __webpack_require__(/*! ./dependencies/EntryDependency */ \"./node_modules/webpack/lib/dependencies/EntryDependency.js\");\nconst { someInIterable } = __webpack_require__(/*! ./util/IterableHelpers */ \"./node_modules/webpack/lib/util/IterableHelpers.js\");\nconst { compareModulesById } = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst { dirname, mkdirp } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\n/**\n * @typedef {Object} ManifestModuleData\n * @property {string | number} id\n * @property {Object} buildMeta\n * @property {boolean | string[]} exports\n */\n\nclass LibManifestPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.emit.tapAsync(\n\t\t\t\"LibManifestPlugin\",\n\t\t\t(compilation, callback) => {\n\t\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\t\tasyncLib.forEach(\n\t\t\t\t\tArray.from(compilation.chunks),\n\t\t\t\t\t(chunk, callback) => {\n\t\t\t\t\t\tif (!chunk.canBeInitial()) {\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tconst targetPath = compilation.getPath(this.options.path, {\n\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconst name =\n\t\t\t\t\t\t\tthis.options.name &&\n\t\t\t\t\t\t\tcompilation.getPath(this.options.name, {\n\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tconst content = Object.create(null);\n\t\t\t\t\t\tfor (const module of chunkGraph.getOrderedChunkModulesIterable(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tcompareModulesById(chunkGraph)\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tthis.options.entryOnly &&\n\t\t\t\t\t\t\t\t!someInIterable(\n\t\t\t\t\t\t\t\t\tmoduleGraph.getIncomingConnections(module),\n\t\t\t\t\t\t\t\t\tc => c.dependency instanceof EntryDependency\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst ident = module.libIdent({\n\t\t\t\t\t\t\t\tcontext: this.options.context || compiler.options.context,\n\t\t\t\t\t\t\t\tassociatedObjectForCache: compiler.root\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (ident) {\n\t\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\t\tconst providedExports = exportsInfo.getProvidedExports();\n\t\t\t\t\t\t\t\t/** @type {ManifestModuleData} */\n\t\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\t\tid: chunkGraph.getModuleId(module),\n\t\t\t\t\t\t\t\t\tbuildMeta: module.buildMeta,\n\t\t\t\t\t\t\t\t\texports: Array.isArray(providedExports)\n\t\t\t\t\t\t\t\t\t\t? providedExports\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tcontent[ident] = data;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst manifest = {\n\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\ttype: this.options.type,\n\t\t\t\t\t\t\tcontent\n\t\t\t\t\t\t};\n\t\t\t\t\t\t// Apply formatting to content if format flag is true;\n\t\t\t\t\t\tconst manifestContent = this.options.format\n\t\t\t\t\t\t\t? JSON.stringify(manifest, null, 2)\n\t\t\t\t\t\t\t: JSON.stringify(manifest);\n\t\t\t\t\t\tconst buffer = Buffer.from(manifestContent, \"utf8\");\n\t\t\t\t\t\tmkdirp(\n\t\t\t\t\t\t\tcompiler.intermediateFileSystem,\n\t\t\t\t\t\t\tdirname(compiler.intermediateFileSystem, targetPath),\n\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tcompiler.intermediateFileSystem.writeFile(\n\t\t\t\t\t\t\t\t\ttargetPath,\n\t\t\t\t\t\t\t\t\tbuffer,\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\tcallback\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = LibManifestPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/LibManifestPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/LibraryTemplatePlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/LibraryTemplatePlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst EnableLibraryPlugin = __webpack_require__(/*! ./library/EnableLibraryPlugin */ \"./node_modules/webpack/lib/library/EnableLibraryPlugin.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").AuxiliaryComment} AuxiliaryComment */\n/** @typedef {import(\"../declarations/WebpackOptions\").LibraryExport} LibraryExport */\n/** @typedef {import(\"../declarations/WebpackOptions\").LibraryName} LibraryName */\n/** @typedef {import(\"../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../declarations/WebpackOptions\").UmdNamedDefine} UmdNamedDefine */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\n// TODO webpack 6 remove\nclass LibraryTemplatePlugin {\n\t/**\n\t * @param {LibraryName} name name of library\n\t * @param {LibraryType} target type of library\n\t * @param {UmdNamedDefine} umdNamedDefine setting this to true will name the UMD module\n\t * @param {AuxiliaryComment} auxiliaryComment comment in the UMD wrapper\n\t * @param {LibraryExport} exportProperty which export should be exposed as library\n\t */\n\tconstructor(name, target, umdNamedDefine, auxiliaryComment, exportProperty) {\n\t\tthis.library = {\n\t\t\ttype: target || \"var\",\n\t\t\tname,\n\t\t\tumdNamedDefine,\n\t\t\tauxiliaryComment,\n\t\t\texport: exportProperty\n\t\t};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { output } = compiler.options;\n\t\toutput.library = this.library;\n\t\tnew EnableLibraryPlugin(this.library.type).apply(compiler);\n\t}\n}\n\nmodule.exports = LibraryTemplatePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/LibraryTemplatePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/LoaderOptionsPlugin.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/LoaderOptionsPlugin.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleFilenameHelpers = __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../declarations/plugins/LoaderOptionsPlugin\").LoaderOptionsPluginOptions} LoaderOptionsPluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/LoaderOptionsPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/LoaderOptionsPlugin.json */ \"./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json\"),\n\t{\n\t\tname: \"Loader Options Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\nclass LoaderOptionsPlugin {\n\t/**\n\t * @param {LoaderOptionsPluginOptions} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\t\tif (typeof options !== \"object\") options = {};\n\t\tif (!options.test) {\n\t\t\toptions.test = {\n\t\t\t\ttest: () => true\n\t\t\t};\n\t\t}\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\"LoaderOptionsPlugin\", compilation => {\n\t\t\tNormalModule.getCompilationHooks(compilation).loader.tap(\n\t\t\t\t\"LoaderOptionsPlugin\",\n\t\t\t\t(context, module) => {\n\t\t\t\t\tconst resource = module.resource;\n\t\t\t\t\tif (!resource) return;\n\t\t\t\t\tconst i = resource.indexOf(\"?\");\n\t\t\t\t\tif (\n\t\t\t\t\t\tModuleFilenameHelpers.matchObject(\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\ti < 0 ? resource : resource.slice(0, i)\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tfor (const key of Object.keys(options)) {\n\t\t\t\t\t\t\tif (key === \"include\" || key === \"exclude\" || key === \"test\") {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontext[key] = options[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = LoaderOptionsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/LoaderOptionsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/LoaderTargetPlugin.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/LoaderTargetPlugin.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass LoaderTargetPlugin {\n\t/**\n\t * @param {string} target the target\n\t */\n\tconstructor(target) {\n\t\tthis.target = target;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"LoaderTargetPlugin\", compilation => {\n\t\t\tNormalModule.getCompilationHooks(compilation).loader.tap(\n\t\t\t\t\"LoaderTargetPlugin\",\n\t\t\t\tloaderContext => {\n\t\t\t\t\tloaderContext.target = this.target;\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = LoaderTargetPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/LoaderTargetPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/MainTemplate.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/MainTemplate.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").ConcatSource} ConcatSource */\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").Output} OutputOptions */\n/** @typedef {import(\"./ModuleTemplate\")} ModuleTemplate */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Module\")} Module} */\n/** @typedef {import(\"./util/Hash\")} Hash} */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates} */\n/** @typedef {import(\"./javascript/JavascriptModulesPlugin\").RenderContext} RenderContext} */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate} */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph} */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph} */\n/** @typedef {import(\"./Template\").RenderManifestOptions} RenderManifestOptions} */\n/** @typedef {import(\"./Template\").RenderManifestEntry} RenderManifestEntry} */\n\nconst getJavascriptModulesPlugin = memoize(() =>\n\t__webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\")\n);\nconst getJsonpTemplatePlugin = memoize(() =>\n\t__webpack_require__(/*! ./web/JsonpTemplatePlugin */ \"./node_modules/webpack/lib/web/JsonpTemplatePlugin.js\")\n);\nconst getLoadScriptRuntimeModule = memoize(() =>\n\t__webpack_require__(/*! ./runtime/LoadScriptRuntimeModule */ \"./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js\")\n);\n\n// TODO webpack 6 remove this class\nclass MainTemplate {\n\t/**\n\t *\n\t * @param {OutputOptions} outputOptions output options for the MainTemplate\n\t * @param {Compilation} compilation the compilation\n\t */\n\tconstructor(outputOptions, compilation) {\n\t\t/** @type {OutputOptions} */\n\t\tthis._outputOptions = outputOptions || {};\n\t\tthis.hooks = Object.freeze({\n\t\t\trenderManifest: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.renderManifest.tap(\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t(entries, options) => {\n\t\t\t\t\t\t\t\tif (!options.chunk.hasRuntime()) return entries;\n\t\t\t\t\t\t\t\treturn fn(entries, options);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tmodules: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\tmoduleObj: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\trequire: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderRequire.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tbeforeStartup: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\tstartup: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\tafterStartup: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\trender: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.render.tap(options, (source, renderContext) => {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\trenderContext.chunkGraph.getNumberOfEntryModules(\n\t\t\t\t\t\t\t\t\t\trenderContext.chunk\n\t\t\t\t\t\t\t\t\t) === 0 ||\n\t\t\t\t\t\t\t\t\t!renderContext.chunk.hasRuntime()\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn source;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn fn(\n\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\trenderContext.chunk,\n\t\t\t\t\t\t\t\t\tcompilation.hash,\n\t\t\t\t\t\t\t\t\tcompilation.moduleTemplates.javascript,\n\t\t\t\t\t\t\t\t\tcompilation.dependencyTemplates\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_RENDER\"\n\t\t\t\t)\n\t\t\t},\n\t\t\trenderWithEntry: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.render.tap(options, (source, renderContext) => {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\trenderContext.chunkGraph.getNumberOfEntryModules(\n\t\t\t\t\t\t\t\t\t\trenderContext.chunk\n\t\t\t\t\t\t\t\t\t) === 0 ||\n\t\t\t\t\t\t\t\t\t!renderContext.chunk.hasRuntime()\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn source;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn fn(source, renderContext.chunk, compilation.hash);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tassetPath: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.assetPath.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH\"\n\t\t\t\t),\n\t\t\t\tcall: util.deprecate(\n\t\t\t\t\t(filename, options) => {\n\t\t\t\t\t\treturn compilation.getAssetPath(filename, options);\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thash: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.fullHash.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_HASH\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thashForChunk: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.chunkHash.tap(options, (chunk, hash) => {\n\t\t\t\t\t\t\t\tif (!chunk.hasRuntime()) return;\n\t\t\t\t\t\t\t\treturn fn(hash, chunk);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\t\"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tglobalHashPaths: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t() => {},\n\t\t\t\t\t\"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tglobalHash: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t() => {},\n\t\t\t\t\t\"MainTemplate.hooks.globalHash has been removed (it's no longer needed)\",\n\t\t\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thotBootstrap: {\n\t\t\t\ttap: () => {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// for compatibility:\n\t\t\t/** @type {SyncWaterfallHook<[string, Chunk, string, ModuleTemplate, DependencyTemplates]>} */\n\t\t\tbootstrap: new SyncWaterfallHook([\n\t\t\t\t\"source\",\n\t\t\t\t\"chunk\",\n\t\t\t\t\"hash\",\n\t\t\t\t\"moduleTemplate\",\n\t\t\t\t\"dependencyTemplates\"\n\t\t\t]),\n\t\t\t/** @type {SyncWaterfallHook<[string, Chunk, string]>} */\n\t\t\tlocalVars: new SyncWaterfallHook([\"source\", \"chunk\", \"hash\"]),\n\t\t\t/** @type {SyncWaterfallHook<[string, Chunk, string]>} */\n\t\t\trequireExtensions: new SyncWaterfallHook([\"source\", \"chunk\", \"hash\"]),\n\t\t\t/** @type {SyncWaterfallHook<[string, Chunk, string, string]>} */\n\t\t\trequireEnsure: new SyncWaterfallHook([\n\t\t\t\t\"source\",\n\t\t\t\t\"chunk\",\n\t\t\t\t\"hash\",\n\t\t\t\t\"chunkIdExpression\"\n\t\t\t]),\n\t\t\tget jsonpScript() {\n\t\t\t\tconst hooks =\n\t\t\t\t\tgetLoadScriptRuntimeModule().getCompilationHooks(compilation);\n\t\t\t\treturn hooks.createScript;\n\t\t\t},\n\t\t\tget linkPrefetch() {\n\t\t\t\tconst hooks = getJsonpTemplatePlugin().getCompilationHooks(compilation);\n\t\t\t\treturn hooks.linkPrefetch;\n\t\t\t},\n\t\t\tget linkPreload() {\n\t\t\t\tconst hooks = getJsonpTemplatePlugin().getCompilationHooks(compilation);\n\t\t\t\treturn hooks.linkPreload;\n\t\t\t}\n\t\t});\n\n\t\tthis.renderCurrentHashCode = util.deprecate(\n\t\t\t/**\n\t\t\t * @deprecated\n\t\t\t * @param {string} hash the hash\n\t\t\t * @param {number=} length length of the hash\n\t\t\t * @returns {string} generated code\n\t\t\t */ (hash, length) => {\n\t\t\t\tif (length) {\n\t\t\t\t\treturn `${RuntimeGlobals.getFullHash} ? ${\n\t\t\t\t\t\tRuntimeGlobals.getFullHash\n\t\t\t\t\t}().slice(0, ${length}) : ${hash.slice(0, length)}`;\n\t\t\t\t}\n\t\t\t\treturn `${RuntimeGlobals.getFullHash} ? ${RuntimeGlobals.getFullHash}() : ${hash}`;\n\t\t\t},\n\t\t\t\"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)\",\n\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE\"\n\t\t);\n\n\t\tthis.getPublicPath = util.deprecate(\n\t\t\t/**\n\t\t\t *\n\t\t\t * @param {object} options get public path options\n\t\t\t * @returns {string} hook call\n\t\t\t */ options => {\n\t\t\t\treturn compilation.getAssetPath(\n\t\t\t\t\tcompilation.outputOptions.publicPath,\n\t\t\t\t\toptions\n\t\t\t\t);\n\t\t\t},\n\t\t\t\"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)\",\n\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH\"\n\t\t);\n\n\t\tthis.getAssetPath = util.deprecate(\n\t\t\t(path, options) => {\n\t\t\t\treturn compilation.getAssetPath(path, options);\n\t\t\t},\n\t\t\t\"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)\",\n\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH\"\n\t\t);\n\n\t\tthis.getAssetPathWithInfo = util.deprecate(\n\t\t\t(path, options) => {\n\t\t\t\treturn compilation.getAssetPathWithInfo(path, options);\n\t\t\t},\n\t\t\t\"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)\",\n\t\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO\"\n\t\t);\n\t}\n}\n\nObject.defineProperty(MainTemplate.prototype, \"requireFn\", {\n\tget: util.deprecate(\n\t\t() => \"__webpack_require__\",\n\t\t'MainTemplate.requireFn is deprecated (use \"__webpack_require__\")',\n\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN\"\n\t)\n});\n\nObject.defineProperty(MainTemplate.prototype, \"outputOptions\", {\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {MainTemplate}\n\t\t * @returns {OutputOptions} output options\n\t\t */\n\t\tfunction () {\n\t\t\treturn this._outputOptions;\n\t\t},\n\t\t\"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)\",\n\t\t\"DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS\"\n\t)\n});\n\nmodule.exports = MainTemplate;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/MainTemplate.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Module.js": /*!********************************************!*\ !*** ./node_modules/webpack/lib/Module.js ***! \********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst DependenciesBlock = __webpack_require__(/*! ./DependenciesBlock */ \"./node_modules/webpack/lib/DependenciesBlock.js\");\nconst ModuleGraph = __webpack_require__(/*! ./ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst { first } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst { compareChunksById } = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./ConcatenationScope\")} ConcatenationScope */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./ExportsInfo\").UsageStateType} UsageStateType */\n/** @typedef {import(\"./FileSystemInfo\")} FileSystemInfo */\n/** @typedef {import(\"./ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"./NormalModuleFactory\")} NormalModuleFactory */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @template T @typedef {import(\"./util/LazySet\")<T>} LazySet<T> */\n/** @template T @typedef {import(\"./util/SortableSet\")<T>} SortableSet<T> */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} SourceContext\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {RuntimeSpec} runtime the runtimes code should be generated for\n * @property {string=} type the type of source that should be generated\n */\n\n// TODO webpack 6: compilation will be required in CodeGenerationContext\n/**\n * @typedef {Object} CodeGenerationContext\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {RuntimeSpec} runtime the runtimes code should be generated for\n * @property {ConcatenationScope=} concatenationScope when in concatenated module, information about other concatenated modules\n * @property {CodeGenerationResults} codeGenerationResults code generation results of other modules (need to have a codeGenerationDependency to use that)\n * @property {Compilation=} compilation the compilation\n * @property {ReadonlySet<string>=} sourceTypes source types\n */\n\n/**\n * @typedef {Object} ConcatenationBailoutReasonContext\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n */\n\n/**\n * @typedef {Object} CodeGenerationResult\n * @property {Map<string, Source>} sources the resulting sources for all source types\n * @property {Map<string, any>=} data the resulting data for all source types\n * @property {ReadonlySet<string>} runtimeRequirements the runtime requirements\n * @property {string=} hash a hash of the code generation result (will be automatically calculated from sources and runtimeRequirements if not provided)\n */\n\n/**\n * @typedef {Object} LibIdentOptions\n * @property {string} context absolute context path to which lib ident is relative to\n * @property {Object=} associatedObjectForCache object for caching\n */\n\n/**\n * @typedef {Object} KnownBuildMeta\n * @property {string=} moduleArgument\n * @property {string=} exportsArgument\n * @property {boolean=} strict\n * @property {string=} moduleConcatenationBailout\n * @property {(\"default\" | \"namespace\" | \"flagged\" | \"dynamic\")=} exportsType\n * @property {(false | \"redirect\" | \"redirect-warn\")=} defaultObject\n * @property {boolean=} strictHarmonyModule\n * @property {boolean=} async\n * @property {boolean=} sideEffectFree\n */\n\n/**\n * @typedef {Object} NeedBuildContext\n * @property {Compilation} compilation\n * @property {FileSystemInfo} fileSystemInfo\n * @property {Map<string, string | Set<string>>} valueCacheVersions\n */\n\n/** @typedef {KnownBuildMeta & Record<string, any>} BuildMeta */\n\nconst EMPTY_RESOLVE_OPTIONS = {};\n\nlet debugId = 1000;\n\nconst DEFAULT_TYPES_UNKNOWN = new Set([\"unknown\"]);\nconst DEFAULT_TYPES_JS = new Set([\"javascript\"]);\n\nconst deprecatedNeedRebuild = util.deprecate(\n\t(module, context) => {\n\t\treturn module.needRebuild(\n\t\t\tcontext.fileSystemInfo.getDeprecatedFileTimestamps(),\n\t\t\tcontext.fileSystemInfo.getDeprecatedContextTimestamps()\n\t\t);\n\t},\n\t\"Module.needRebuild is deprecated in favor of Module.needBuild\",\n\t\"DEP_WEBPACK_MODULE_NEED_REBUILD\"\n);\n\n/** @typedef {(requestShortener: RequestShortener) => string} OptimizationBailoutFunction */\n\nclass Module extends DependenciesBlock {\n\t/**\n\t * @param {string} type the module type\n\t * @param {string=} context an optional context\n\t * @param {string=} layer an optional layer in which the module is\n\t */\n\tconstructor(type, context = null, layer = null) {\n\t\tsuper();\n\n\t\t/** @type {string} */\n\t\tthis.type = type;\n\t\t/** @type {string | null} */\n\t\tthis.context = context;\n\t\t/** @type {string | null} */\n\t\tthis.layer = layer;\n\t\t/** @type {boolean} */\n\t\tthis.needId = true;\n\n\t\t// Unique Id\n\t\t/** @type {number} */\n\t\tthis.debugId = debugId++;\n\n\t\t// Info from Factory\n\t\t/** @type {ResolveOptions} */\n\t\tthis.resolveOptions = EMPTY_RESOLVE_OPTIONS;\n\t\t/** @type {object | undefined} */\n\t\tthis.factoryMeta = undefined;\n\t\t// TODO refactor this -> options object filled from Factory\n\t\t// TODO webpack 6: use an enum\n\t\t/** @type {boolean} */\n\t\tthis.useSourceMap = false;\n\t\t/** @type {boolean} */\n\t\tthis.useSimpleSourceMap = false;\n\n\t\t// Info from Build\n\t\t/** @type {WebpackError[] | undefined} */\n\t\tthis._warnings = undefined;\n\t\t/** @type {WebpackError[] | undefined} */\n\t\tthis._errors = undefined;\n\t\t/** @type {BuildMeta} */\n\t\tthis.buildMeta = undefined;\n\t\t/** @type {Record<string, any>} */\n\t\tthis.buildInfo = undefined;\n\t\t/** @type {Dependency[] | undefined} */\n\t\tthis.presentationalDependencies = undefined;\n\t\t/** @type {Dependency[] | undefined} */\n\t\tthis.codeGenerationDependencies = undefined;\n\t}\n\n\t// TODO remove in webpack 6\n\t// BACKWARD-COMPAT START\n\tget id() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.id\",\n\t\t\t\"DEP_WEBPACK_MODULE_ID\"\n\t\t).getModuleId(this);\n\t}\n\n\tset id(value) {\n\t\tif (value === \"\") {\n\t\t\tthis.needId = false;\n\t\t\treturn;\n\t\t}\n\t\tChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.id\",\n\t\t\t\"DEP_WEBPACK_MODULE_ID\"\n\t\t).setModuleId(this, value);\n\t}\n\n\t/**\n\t * @returns {string} the hash of the module\n\t */\n\tget hash() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.hash\",\n\t\t\t\"DEP_WEBPACK_MODULE_HASH\"\n\t\t).getModuleHash(this, undefined);\n\t}\n\n\t/**\n\t * @returns {string} the shortened hash of the module\n\t */\n\tget renderedHash() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.renderedHash\",\n\t\t\t\"DEP_WEBPACK_MODULE_RENDERED_HASH\"\n\t\t).getRenderedModuleHash(this, undefined);\n\t}\n\n\tget profile() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.profile\",\n\t\t\t\"DEP_WEBPACK_MODULE_PROFILE\"\n\t\t).getProfile(this);\n\t}\n\n\tset profile(value) {\n\t\tModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.profile\",\n\t\t\t\"DEP_WEBPACK_MODULE_PROFILE\"\n\t\t).setProfile(this, value);\n\t}\n\n\tget index() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.index\",\n\t\t\t\"DEP_WEBPACK_MODULE_INDEX\"\n\t\t).getPreOrderIndex(this);\n\t}\n\n\tset index(value) {\n\t\tModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.index\",\n\t\t\t\"DEP_WEBPACK_MODULE_INDEX\"\n\t\t).setPreOrderIndex(this, value);\n\t}\n\n\tget index2() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.index2\",\n\t\t\t\"DEP_WEBPACK_MODULE_INDEX2\"\n\t\t).getPostOrderIndex(this);\n\t}\n\n\tset index2(value) {\n\t\tModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.index2\",\n\t\t\t\"DEP_WEBPACK_MODULE_INDEX2\"\n\t\t).setPostOrderIndex(this, value);\n\t}\n\n\tget depth() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.depth\",\n\t\t\t\"DEP_WEBPACK_MODULE_DEPTH\"\n\t\t).getDepth(this);\n\t}\n\n\tset depth(value) {\n\t\tModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.depth\",\n\t\t\t\"DEP_WEBPACK_MODULE_DEPTH\"\n\t\t).setDepth(this, value);\n\t}\n\n\tget issuer() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.issuer\",\n\t\t\t\"DEP_WEBPACK_MODULE_ISSUER\"\n\t\t).getIssuer(this);\n\t}\n\n\tset issuer(value) {\n\t\tModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.issuer\",\n\t\t\t\"DEP_WEBPACK_MODULE_ISSUER\"\n\t\t).setIssuer(this, value);\n\t}\n\n\tget usedExports() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.usedExports\",\n\t\t\t\"DEP_WEBPACK_MODULE_USED_EXPORTS\"\n\t\t).getUsedExports(this, undefined);\n\t}\n\n\t/**\n\t * @deprecated\n\t * @returns {(string | OptimizationBailoutFunction)[]} list\n\t */\n\tget optimizationBailout() {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.optimizationBailout\",\n\t\t\t\"DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT\"\n\t\t).getOptimizationBailout(this);\n\t}\n\n\tget optional() {\n\t\treturn this.isOptional(\n\t\t\tModuleGraph.getModuleGraphForModule(\n\t\t\t\tthis,\n\t\t\t\t\"Module.optional\",\n\t\t\t\t\"DEP_WEBPACK_MODULE_OPTIONAL\"\n\t\t\t)\n\t\t);\n\t}\n\n\taddChunk(chunk) {\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.addChunk\",\n\t\t\t\"DEP_WEBPACK_MODULE_ADD_CHUNK\"\n\t\t);\n\t\tif (chunkGraph.isModuleInChunk(this, chunk)) return false;\n\t\tchunkGraph.connectChunkAndModule(chunk, this);\n\t\treturn true;\n\t}\n\n\tremoveChunk(chunk) {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.removeChunk\",\n\t\t\t\"DEP_WEBPACK_MODULE_REMOVE_CHUNK\"\n\t\t).disconnectChunkAndModule(chunk, this);\n\t}\n\n\tisInChunk(chunk) {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.isInChunk\",\n\t\t\t\"DEP_WEBPACK_MODULE_IS_IN_CHUNK\"\n\t\t).isModuleInChunk(this, chunk);\n\t}\n\n\tisEntryModule() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.isEntryModule\",\n\t\t\t\"DEP_WEBPACK_MODULE_IS_ENTRY_MODULE\"\n\t\t).isEntryModule(this);\n\t}\n\n\tgetChunks() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.getChunks\",\n\t\t\t\"DEP_WEBPACK_MODULE_GET_CHUNKS\"\n\t\t).getModuleChunks(this);\n\t}\n\n\tgetNumberOfChunks() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.getNumberOfChunks\",\n\t\t\t\"DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS\"\n\t\t).getNumberOfModuleChunks(this);\n\t}\n\n\tget chunksIterable() {\n\t\treturn ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.chunksIterable\",\n\t\t\t\"DEP_WEBPACK_MODULE_CHUNKS_ITERABLE\"\n\t\t).getOrderedModuleChunksIterable(this, compareChunksById);\n\t}\n\n\t/**\n\t * @param {string} exportName a name of an export\n\t * @returns {boolean | null} true, if the export is provided why the module.\n\t * null, if it's unknown.\n\t * false, if it's not provided.\n\t */\n\tisProvided(exportName) {\n\t\treturn ModuleGraph.getModuleGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.usedExports\",\n\t\t\t\"DEP_WEBPACK_MODULE_USED_EXPORTS\"\n\t\t).isExportProvided(this, exportName);\n\t}\n\t// BACKWARD-COMPAT END\n\n\t/**\n\t * @returns {string} name of the exports argument\n\t */\n\tget exportsArgument() {\n\t\treturn (this.buildInfo && this.buildInfo.exportsArgument) || \"exports\";\n\t}\n\n\t/**\n\t * @returns {string} name of the module argument\n\t */\n\tget moduleArgument() {\n\t\treturn (this.buildInfo && this.buildInfo.moduleArgument) || \"module\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {boolean} strict the importing module is strict\n\t * @returns {\"namespace\" | \"default-only\" | \"default-with-named\" | \"dynamic\"} export type\n\t * \"namespace\": Exports is already a namespace object. namespace = exports.\n\t * \"dynamic\": Check at runtime if __esModule is set. When set: namespace = { ...exports, default: exports }. When not set: namespace = { default: exports }.\n\t * \"default-only\": Provide a namespace object with only default export. namespace = { default: exports }\n\t * \"default-with-named\": Provide a namespace object with named and default export. namespace = { ...exports, default: exports }\n\t */\n\tgetExportsType(moduleGraph, strict) {\n\t\tswitch (this.buildMeta && this.buildMeta.exportsType) {\n\t\t\tcase \"flagged\":\n\t\t\t\treturn strict ? \"default-with-named\" : \"namespace\";\n\t\t\tcase \"namespace\":\n\t\t\t\treturn \"namespace\";\n\t\t\tcase \"default\":\n\t\t\t\tswitch (this.buildMeta.defaultObject) {\n\t\t\t\t\tcase \"redirect\":\n\t\t\t\t\t\treturn \"default-with-named\";\n\t\t\t\t\tcase \"redirect-warn\":\n\t\t\t\t\t\treturn strict ? \"default-only\" : \"default-with-named\";\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn \"default-only\";\n\t\t\t\t}\n\t\t\tcase \"dynamic\": {\n\t\t\t\tif (strict) return \"default-with-named\";\n\t\t\t\t// Try to figure out value of __esModule by following reexports\n\t\t\t\tconst handleDefault = () => {\n\t\t\t\t\tswitch (this.buildMeta.defaultObject) {\n\t\t\t\t\t\tcase \"redirect\":\n\t\t\t\t\t\tcase \"redirect-warn\":\n\t\t\t\t\t\t\treturn \"default-with-named\";\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn \"default-only\";\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tconst exportInfo = moduleGraph.getReadOnlyExportInfo(\n\t\t\t\t\tthis,\n\t\t\t\t\t\"__esModule\"\n\t\t\t\t);\n\t\t\t\tif (exportInfo.provided === false) {\n\t\t\t\t\treturn handleDefault();\n\t\t\t\t}\n\t\t\t\tconst target = exportInfo.getTarget(moduleGraph);\n\t\t\t\tif (\n\t\t\t\t\t!target ||\n\t\t\t\t\t!target.export ||\n\t\t\t\t\ttarget.export.length !== 1 ||\n\t\t\t\t\ttarget.export[0] !== \"__esModule\"\n\t\t\t\t) {\n\t\t\t\t\treturn \"dynamic\";\n\t\t\t\t}\n\t\t\t\tswitch (\n\t\t\t\t\ttarget.module.buildMeta &&\n\t\t\t\t\ttarget.module.buildMeta.exportsType\n\t\t\t\t) {\n\t\t\t\t\tcase \"flagged\":\n\t\t\t\t\tcase \"namespace\":\n\t\t\t\t\t\treturn \"namespace\";\n\t\t\t\t\tcase \"default\":\n\t\t\t\t\t\treturn handleDefault();\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn \"dynamic\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\treturn strict ? \"default-with-named\" : \"dynamic\";\n\t\t}\n\t}\n\n\t/**\n\t * @param {Dependency} presentationalDependency dependency being tied to module.\n\t * This is a Dependency without edge in the module graph. It's only for presentation.\n\t * @returns {void}\n\t */\n\taddPresentationalDependency(presentationalDependency) {\n\t\tif (this.presentationalDependencies === undefined) {\n\t\t\tthis.presentationalDependencies = [];\n\t\t}\n\t\tthis.presentationalDependencies.push(presentationalDependency);\n\t}\n\n\t/**\n\t * @param {Dependency} codeGenerationDependency dependency being tied to module.\n\t * This is a Dependency where the code generation result of the referenced module is needed during code generation.\n\t * The Dependency should also be added to normal dependencies via addDependency.\n\t * @returns {void}\n\t */\n\taddCodeGenerationDependency(codeGenerationDependency) {\n\t\tif (this.codeGenerationDependencies === undefined) {\n\t\t\tthis.codeGenerationDependencies = [];\n\t\t}\n\t\tthis.codeGenerationDependencies.push(codeGenerationDependency);\n\t}\n\n\t/**\n\t * Removes all dependencies and blocks\n\t * @returns {void}\n\t */\n\tclearDependenciesAndBlocks() {\n\t\tif (this.presentationalDependencies !== undefined) {\n\t\t\tthis.presentationalDependencies.length = 0;\n\t\t}\n\t\tif (this.codeGenerationDependencies !== undefined) {\n\t\t\tthis.codeGenerationDependencies.length = 0;\n\t\t}\n\t\tsuper.clearDependenciesAndBlocks();\n\t}\n\n\t/**\n\t * @param {WebpackError} warning the warning\n\t * @returns {void}\n\t */\n\taddWarning(warning) {\n\t\tif (this._warnings === undefined) {\n\t\t\tthis._warnings = [];\n\t\t}\n\t\tthis._warnings.push(warning);\n\t}\n\n\t/**\n\t * @returns {Iterable<WebpackError> | undefined} list of warnings if any\n\t */\n\tgetWarnings() {\n\t\treturn this._warnings;\n\t}\n\n\t/**\n\t * @returns {number} number of warnings\n\t */\n\tgetNumberOfWarnings() {\n\t\treturn this._warnings !== undefined ? this._warnings.length : 0;\n\t}\n\n\t/**\n\t * @param {WebpackError} error the error\n\t * @returns {void}\n\t */\n\taddError(error) {\n\t\tif (this._errors === undefined) {\n\t\t\tthis._errors = [];\n\t\t}\n\t\tthis._errors.push(error);\n\t}\n\n\t/**\n\t * @returns {Iterable<WebpackError> | undefined} list of errors if any\n\t */\n\tgetErrors() {\n\t\treturn this._errors;\n\t}\n\n\t/**\n\t * @returns {number} number of errors\n\t */\n\tgetNumberOfErrors() {\n\t\treturn this._errors !== undefined ? this._errors.length : 0;\n\t}\n\n\t/**\n\t * removes all warnings and errors\n\t * @returns {void}\n\t */\n\tclearWarningsAndErrors() {\n\t\tif (this._warnings !== undefined) {\n\t\t\tthis._warnings.length = 0;\n\t\t}\n\t\tif (this._errors !== undefined) {\n\t\t\tthis._errors.length = 0;\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {boolean} true, if the module is optional\n\t */\n\tisOptional(moduleGraph) {\n\t\tlet hasConnections = false;\n\t\tfor (const r of moduleGraph.getIncomingConnections(this)) {\n\t\t\tif (\n\t\t\t\t!r.dependency ||\n\t\t\t\t!r.dependency.optional ||\n\t\t\t\t!r.isTargetActive(undefined)\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\thasConnections = true;\n\t\t}\n\t\treturn hasConnections;\n\t}\n\n\t/**\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {Chunk} chunk a chunk\n\t * @param {Chunk=} ignoreChunk chunk to be ignored\n\t * @returns {boolean} true, if the module is accessible from \"chunk\" when ignoring \"ignoreChunk\"\n\t */\n\tisAccessibleInChunk(chunkGraph, chunk, ignoreChunk) {\n\t\t// Check if module is accessible in ALL chunk groups\n\t\tfor (const chunkGroup of chunk.groupsIterable) {\n\t\t\tif (!this.isAccessibleInChunkGroup(chunkGraph, chunkGroup)) return false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {ChunkGroup} chunkGroup a chunk group\n\t * @param {Chunk=} ignoreChunk chunk to be ignored\n\t * @returns {boolean} true, if the module is accessible from \"chunkGroup\" when ignoring \"ignoreChunk\"\n\t */\n\tisAccessibleInChunkGroup(chunkGraph, chunkGroup, ignoreChunk) {\n\t\tconst queue = new Set([chunkGroup]);\n\n\t\t// Check if module is accessible from all items of the queue\n\t\tqueueFor: for (const cg of queue) {\n\t\t\t// 1. If module is in one of the chunks of the group we can continue checking the next items\n\t\t\t// because it's accessible.\n\t\t\tfor (const chunk of cg.chunks) {\n\t\t\t\tif (chunk !== ignoreChunk && chunkGraph.isModuleInChunk(this, chunk))\n\t\t\t\t\tcontinue queueFor;\n\t\t\t}\n\t\t\t// 2. If the chunk group is initial, we can break here because it's not accessible.\n\t\t\tif (chunkGroup.isInitial()) return false;\n\t\t\t// 3. Enqueue all parents because it must be accessible from ALL parents\n\t\t\tfor (const parent of chunkGroup.parentsIterable) queue.add(parent);\n\t\t}\n\t\t// When we processed through the whole list and we didn't bailout, the module is accessible\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk a chunk\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {boolean} true, if the module has any reason why \"chunk\" should be included\n\t */\n\thasReasonForChunk(chunk, moduleGraph, chunkGraph) {\n\t\t// check for each reason if we need the chunk\n\t\tfor (const [\n\t\t\tfromModule,\n\t\t\tconnections\n\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(this)) {\n\t\t\tif (!connections.some(c => c.isTargetActive(chunk.runtime))) continue;\n\t\t\tfor (const originChunk of chunkGraph.getModuleChunksIterable(\n\t\t\t\tfromModule\n\t\t\t)) {\n\t\t\t\t// return true if module this is not reachable from originChunk when ignoring chunk\n\t\t\t\tif (!this.isAccessibleInChunk(chunkGraph, originChunk, chunk))\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true if at least one other module depends on this module\n\t */\n\thasReasons(moduleGraph, runtime) {\n\t\tfor (const c of moduleGraph.getIncomingConnections(this)) {\n\t\t\tif (c.isTargetActive(runtime)) return true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {string} for debugging\n\t */\n\ttoString() {\n\t\treturn `Module[${this.debugId}: ${this.identifier()}]`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(\n\t\t\tnull,\n\t\t\t!this.buildMeta ||\n\t\t\t\tthis.needRebuild === Module.prototype.needRebuild ||\n\t\t\t\tdeprecatedNeedRebuild(this, context)\n\t\t);\n\t}\n\n\t/**\n\t * @deprecated Use needBuild instead\n\t * @param {Map<string, number|null>} fileTimestamps timestamps of files\n\t * @param {Map<string, number|null>} contextTimestamps timestamps of directories\n\t * @returns {boolean} true, if the module needs a rebuild\n\t */\n\tneedRebuild(fileTimestamps, contextTimestamps) {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(\n\t\thash,\n\t\tcontext = {\n\t\t\tchunkGraph: ChunkGraph.getChunkGraphForModule(\n\t\t\t\tthis,\n\t\t\t\t\"Module.updateHash\",\n\t\t\t\t\"DEP_WEBPACK_MODULE_UPDATE_HASH\"\n\t\t\t),\n\t\t\truntime: undefined\n\t\t}\n\t) {\n\t\tconst { chunkGraph, runtime } = context;\n\t\thash.update(chunkGraph.getModuleGraphHash(this, runtime));\n\t\tif (this.presentationalDependencies !== undefined) {\n\t\t\tfor (const dep of this.presentationalDependencies) {\n\t\t\t\tdep.updateHash(hash, context);\n\t\t\t}\n\t\t}\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tinvalidateBuild() {\n\t\t// should be overridden to support this feature\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @abstract\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\t// Better override this method to return the correct types\n\t\tif (this.source === Module.prototype.source) {\n\t\t\treturn DEFAULT_TYPES_UNKNOWN;\n\t\t} else {\n\t\t\treturn DEFAULT_TYPES_JS;\n\t\t}\n\t}\n\n\t/**\n\t * @abstract\n\t * @deprecated Use codeGeneration() instead\n\t * @param {DependencyTemplates} dependencyTemplates the dependency templates\n\t * @param {RuntimeTemplate} runtimeTemplate the runtime template\n\t * @param {string=} type the type of source that should be generated\n\t * @returns {Source} generated source\n\t */\n\tsource(dependencyTemplates, runtimeTemplate, type = \"javascript\") {\n\t\tif (this.codeGeneration === Module.prototype.codeGeneration) {\n\t\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\t\tthrow new AbstractMethodError();\n\t\t}\n\t\tconst chunkGraph = ChunkGraph.getChunkGraphForModule(\n\t\t\tthis,\n\t\t\t\"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead\",\n\t\t\t\"DEP_WEBPACK_MODULE_SOURCE\"\n\t\t);\n\t\t/** @type {CodeGenerationContext} */\n\t\tconst codeGenContext = {\n\t\t\tdependencyTemplates,\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph: chunkGraph.moduleGraph,\n\t\t\tchunkGraph,\n\t\t\truntime: undefined,\n\t\t\tcodeGenerationResults: undefined\n\t\t};\n\t\tconst sources = this.codeGeneration(codeGenContext).sources;\n\t\treturn type ? sources.get(type) : sources.get(first(this.getSourceTypes()));\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn null;\n\t}\n\n\t/**\n\t * @returns {string | null} absolute path which should be used for condition matching (usually the resource path)\n\t */\n\tnameForCondition() {\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(context) {\n\t\treturn `Module Concatenation is not implemented for ${this.constructor.name}`;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only\n\t */\n\tgetSideEffectsConnectionState(moduleGraph) {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\t// Best override this method\n\t\tconst sources = new Map();\n\t\tfor (const type of this.getSourceTypes()) {\n\t\t\tif (type !== \"unknown\") {\n\t\t\t\tsources.set(\n\t\t\t\t\ttype,\n\t\t\t\t\tthis.source(\n\t\t\t\t\t\tcontext.dependencyTemplates,\n\t\t\t\t\t\tcontext.runtimeTemplate,\n\t\t\t\t\t\ttype\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements: new Set([\n\t\t\t\tRuntimeGlobals.module,\n\t\t\t\tRuntimeGlobals.exports,\n\t\t\t\tRuntimeGlobals.require\n\t\t\t])\n\t\t};\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk which condition should be checked\n\t * @param {Compilation} compilation the compilation\n\t * @returns {boolean} true, if the chunk is ok for the module\n\t */\n\tchunkCondition(chunk, compilation) {\n\t\treturn true;\n\t}\n\n\thasChunkCondition() {\n\t\treturn this.chunkCondition !== Module.prototype.chunkCondition;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tthis.type = module.type;\n\t\tthis.layer = module.layer;\n\t\tthis.context = module.context;\n\t\tthis.factoryMeta = module.factoryMeta;\n\t\tthis.resolveOptions = module.resolveOptions;\n\t}\n\n\t/**\n\t * Module should be unsafe cached. Get data that's needed for that.\n\t * This data will be passed to restoreFromUnsafeCache later.\n\t * @returns {object} cached data\n\t */\n\tgetUnsafeCacheData() {\n\t\treturn {\n\t\t\tfactoryMeta: this.factoryMeta,\n\t\t\tresolveOptions: this.resolveOptions\n\t\t};\n\t}\n\n\t/**\n\t * restore unsafe cache data\n\t * @param {object} unsafeCacheData data from getUnsafeCacheData\n\t * @param {NormalModuleFactory} normalModuleFactory the normal module factory handling the unsafe caching\n\t */\n\t_restoreFromUnsafeCache(unsafeCacheData, normalModuleFactory) {\n\t\tthis.factoryMeta = unsafeCacheData.factoryMeta;\n\t\tthis.resolveOptions = unsafeCacheData.resolveOptions;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Remove internal references to allow freeing some memory.\n\t */\n\tcleanupForCache() {\n\t\tthis.factoryMeta = undefined;\n\t\tthis.resolveOptions = undefined;\n\t}\n\n\t/**\n\t * @returns {Source | null} the original source for the module before webpack transformation\n\t */\n\toriginalSource() {\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {LazySet<string>} fileDependencies set where file dependencies are added to\n\t * @param {LazySet<string>} contextDependencies set where context dependencies are added to\n\t * @param {LazySet<string>} missingDependencies set where missing dependencies are added to\n\t * @param {LazySet<string>} buildDependencies set where build dependencies are added to\n\t */\n\taddCacheDependencies(\n\t\tfileDependencies,\n\t\tcontextDependencies,\n\t\tmissingDependencies,\n\t\tbuildDependencies\n\t) {}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.type);\n\t\twrite(this.layer);\n\t\twrite(this.context);\n\t\twrite(this.resolveOptions);\n\t\twrite(this.factoryMeta);\n\t\twrite(this.useSourceMap);\n\t\twrite(this.useSimpleSourceMap);\n\t\twrite(\n\t\t\tthis._warnings !== undefined && this._warnings.length === 0\n\t\t\t\t? undefined\n\t\t\t\t: this._warnings\n\t\t);\n\t\twrite(\n\t\t\tthis._errors !== undefined && this._errors.length === 0\n\t\t\t\t? undefined\n\t\t\t\t: this._errors\n\t\t);\n\t\twrite(this.buildMeta);\n\t\twrite(this.buildInfo);\n\t\twrite(this.presentationalDependencies);\n\t\twrite(this.codeGenerationDependencies);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.type = read();\n\t\tthis.layer = read();\n\t\tthis.context = read();\n\t\tthis.resolveOptions = read();\n\t\tthis.factoryMeta = read();\n\t\tthis.useSourceMap = read();\n\t\tthis.useSimpleSourceMap = read();\n\t\tthis._warnings = read();\n\t\tthis._errors = read();\n\t\tthis.buildMeta = read();\n\t\tthis.buildInfo = read();\n\t\tthis.presentationalDependencies = read();\n\t\tthis.codeGenerationDependencies = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(Module, \"webpack/lib/Module\");\n\n// TODO remove in webpack 6\nObject.defineProperty(Module.prototype, \"hasEqualsChunks\", {\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"Module.hasEqualsChunks was renamed (use hasEqualChunks instead)\"\n\t\t);\n\t}\n});\n\n// TODO remove in webpack 6\nObject.defineProperty(Module.prototype, \"isUsed\", {\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)\"\n\t\t);\n\t}\n});\n\n// TODO remove in webpack 6\nObject.defineProperty(Module.prototype, \"errors\", {\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {Module}\n\t\t * @returns {WebpackError[]} array\n\t\t */\n\t\tfunction () {\n\t\t\tif (this._errors === undefined) {\n\t\t\t\tthis._errors = [];\n\t\t\t}\n\t\t\treturn this._errors;\n\t\t},\n\t\t\"Module.errors was removed (use getErrors instead)\",\n\t\t\"DEP_WEBPACK_MODULE_ERRORS\"\n\t)\n});\n\n// TODO remove in webpack 6\nObject.defineProperty(Module.prototype, \"warnings\", {\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {Module}\n\t\t * @returns {WebpackError[]} array\n\t\t */\n\t\tfunction () {\n\t\t\tif (this._warnings === undefined) {\n\t\t\t\tthis._warnings = [];\n\t\t\t}\n\t\t\treturn this._warnings;\n\t\t},\n\t\t\"Module.warnings was removed (use getWarnings instead)\",\n\t\t\"DEP_WEBPACK_MODULE_WARNINGS\"\n\t)\n});\n\n// TODO remove in webpack 6\nObject.defineProperty(Module.prototype, \"used\", {\n\tget() {\n\t\tthrow new Error(\n\t\t\t\"Module.used was refactored (use ModuleGraph.getUsedExports instead)\"\n\t\t);\n\t},\n\tset(value) {\n\t\tthrow new Error(\n\t\t\t\"Module.used was refactored (use ModuleGraph.setUsedExports instead)\"\n\t\t);\n\t}\n});\n\nmodule.exports = Module;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Module.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleBuildError.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/ModuleBuildError.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { cutOffLoaderExecution } = __webpack_require__(/*! ./ErrorHelpers */ \"./node_modules/webpack/lib/ErrorHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ModuleBuildError extends WebpackError {\n\t/**\n\t * @param {string | Error&any} err error thrown\n\t * @param {{from?: string|null}} info additional info\n\t */\n\tconstructor(err, { from = null } = {}) {\n\t\tlet message = \"Module build failed\";\n\t\tlet details = undefined;\n\n\t\tif (from) {\n\t\t\tmessage += ` (from ${from}):\\n`;\n\t\t} else {\n\t\t\tmessage += \": \";\n\t\t}\n\n\t\tif (err !== null && typeof err === \"object\") {\n\t\t\tif (typeof err.stack === \"string\" && err.stack) {\n\t\t\t\tconst stack = cutOffLoaderExecution(err.stack);\n\n\t\t\t\tif (!err.hideStack) {\n\t\t\t\t\tmessage += stack;\n\t\t\t\t} else {\n\t\t\t\t\tdetails = stack;\n\n\t\t\t\t\tif (typeof err.message === \"string\" && err.message) {\n\t\t\t\t\t\tmessage += err.message;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmessage += err;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (typeof err.message === \"string\" && err.message) {\n\t\t\t\tmessage += err.message;\n\t\t\t} else {\n\t\t\t\tmessage += String(err);\n\t\t\t}\n\t\t} else {\n\t\t\tmessage += String(err);\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleBuildError\";\n\t\tthis.details = details;\n\t\tthis.error = err;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.error);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.error = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ModuleBuildError, \"webpack/lib/ModuleBuildError\");\n\nmodule.exports = ModuleBuildError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleBuildError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleDependencyError.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleDependencyError.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nclass ModuleDependencyError extends WebpackError {\n\t/**\n\t * Creates an instance of ModuleDependencyError.\n\t * @param {Module} module module tied to dependency\n\t * @param {Error} err error thrown\n\t * @param {DependencyLocation} loc location of dependency\n\t */\n\tconstructor(module, err, loc) {\n\t\tsuper(err.message);\n\n\t\tthis.name = \"ModuleDependencyError\";\n\t\tthis.details =\n\t\t\terr && !(/** @type {any} */ (err).hideStack)\n\t\t\t\t? err.stack.split(\"\\n\").slice(1).join(\"\\n\")\n\t\t\t\t: undefined;\n\t\tthis.module = module;\n\t\tthis.loc = loc;\n\t\t/** error is not (de)serialized, so it might be undefined after deserialization */\n\t\tthis.error = err;\n\n\t\tif (err && /** @type {any} */ (err).hideStack) {\n\t\t\tthis.stack =\n\t\t\t\terr.stack.split(\"\\n\").slice(1).join(\"\\n\") + \"\\n\\n\" + this.stack;\n\t\t}\n\t}\n}\n\nmodule.exports = ModuleDependencyError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleDependencyError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleDependencyWarning.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/ModuleDependencyWarning.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nclass ModuleDependencyWarning extends WebpackError {\n\t/**\n\t * @param {Module} module module tied to dependency\n\t * @param {Error} err error thrown\n\t * @param {DependencyLocation} loc location of dependency\n\t */\n\tconstructor(module, err, loc) {\n\t\tsuper(err ? err.message : \"\");\n\n\t\tthis.name = \"ModuleDependencyWarning\";\n\t\tthis.details =\n\t\t\terr && !(/** @type {any} */ (err).hideStack)\n\t\t\t\t? err.stack.split(\"\\n\").slice(1).join(\"\\n\")\n\t\t\t\t: undefined;\n\t\tthis.module = module;\n\t\tthis.loc = loc;\n\t\t/** error is not (de)serialized, so it might be undefined after deserialization */\n\t\tthis.error = err;\n\n\t\tif (err && /** @type {any} */ (err).hideStack) {\n\t\t\tthis.stack =\n\t\t\t\terr.stack.split(\"\\n\").slice(1).join(\"\\n\") + \"\\n\\n\" + this.stack;\n\t\t}\n\t}\n}\n\nmakeSerializable(\n\tModuleDependencyWarning,\n\t\"webpack/lib/ModuleDependencyWarning\"\n);\n\nmodule.exports = ModuleDependencyWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleDependencyWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleError.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/ModuleError.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { cleanUp } = __webpack_require__(/*! ./ErrorHelpers */ \"./node_modules/webpack/lib/ErrorHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ModuleError extends WebpackError {\n\t/**\n\t * @param {Error} err error thrown\n\t * @param {{from?: string|null}} info additional info\n\t */\n\tconstructor(err, { from = null } = {}) {\n\t\tlet message = \"Module Error\";\n\n\t\tif (from) {\n\t\t\tmessage += ` (from ${from}):\\n`;\n\t\t} else {\n\t\t\tmessage += \": \";\n\t\t}\n\n\t\tif (err && typeof err === \"object\" && err.message) {\n\t\t\tmessage += err.message;\n\t\t} else if (err) {\n\t\t\tmessage += err;\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleError\";\n\t\tthis.error = err;\n\t\tthis.details =\n\t\t\terr && typeof err === \"object\" && err.stack\n\t\t\t\t? cleanUp(err.stack, this.message)\n\t\t\t\t: undefined;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.error);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.error = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ModuleError, \"webpack/lib/ModuleError\");\n\nmodule.exports = ModuleError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleFactory.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ModuleFactory.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Module\")} Module */\n\n/**\n * @typedef {Object} ModuleFactoryResult\n * @property {Module=} module the created module or unset if no module was created\n * @property {Set<string>=} fileDependencies\n * @property {Set<string>=} contextDependencies\n * @property {Set<string>=} missingDependencies\n * @property {boolean=} cacheable allow to use the unsafe cache\n */\n\n/**\n * @typedef {Object} ModuleFactoryCreateDataContextInfo\n * @property {string} issuer\n * @property {string | null=} issuerLayer\n * @property {string} compiler\n */\n\n/**\n * @typedef {Object} ModuleFactoryCreateData\n * @property {ModuleFactoryCreateDataContextInfo} contextInfo\n * @property {ResolveOptions=} resolveOptions\n * @property {string} context\n * @property {Dependency[]} dependencies\n */\n\nclass ModuleFactory {\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n}\n\nmodule.exports = ModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleFilenameHelpers.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleFilenameHelpers.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {typeof import(\"./util/Hash\")} Hash */\n\nconst ModuleFilenameHelpers = exports;\n\n// TODO webpack 6: consider removing these\nModuleFilenameHelpers.ALL_LOADERS_RESOURCE = \"[all-loaders][resource]\";\nModuleFilenameHelpers.REGEXP_ALL_LOADERS_RESOURCE =\n\t/\\[all-?loaders\\]\\[resource\\]/gi;\nModuleFilenameHelpers.LOADERS_RESOURCE = \"[loaders][resource]\";\nModuleFilenameHelpers.REGEXP_LOADERS_RESOURCE = /\\[loaders\\]\\[resource\\]/gi;\nModuleFilenameHelpers.RESOURCE = \"[resource]\";\nModuleFilenameHelpers.REGEXP_RESOURCE = /\\[resource\\]/gi;\nModuleFilenameHelpers.ABSOLUTE_RESOURCE_PATH = \"[absolute-resource-path]\";\n// cSpell:words olute\nModuleFilenameHelpers.REGEXP_ABSOLUTE_RESOURCE_PATH =\n\t/\\[abs(olute)?-?resource-?path\\]/gi;\nModuleFilenameHelpers.RESOURCE_PATH = \"[resource-path]\";\nModuleFilenameHelpers.REGEXP_RESOURCE_PATH = /\\[resource-?path\\]/gi;\nModuleFilenameHelpers.ALL_LOADERS = \"[all-loaders]\";\nModuleFilenameHelpers.REGEXP_ALL_LOADERS = /\\[all-?loaders\\]/gi;\nModuleFilenameHelpers.LOADERS = \"[loaders]\";\nModuleFilenameHelpers.REGEXP_LOADERS = /\\[loaders\\]/gi;\nModuleFilenameHelpers.QUERY = \"[query]\";\nModuleFilenameHelpers.REGEXP_QUERY = /\\[query\\]/gi;\nModuleFilenameHelpers.ID = \"[id]\";\nModuleFilenameHelpers.REGEXP_ID = /\\[id\\]/gi;\nModuleFilenameHelpers.HASH = \"[hash]\";\nModuleFilenameHelpers.REGEXP_HASH = /\\[hash\\]/gi;\nModuleFilenameHelpers.NAMESPACE = \"[namespace]\";\nModuleFilenameHelpers.REGEXP_NAMESPACE = /\\[namespace\\]/gi;\n\nconst getAfter = (strFn, token) => {\n\treturn () => {\n\t\tconst str = strFn();\n\t\tconst idx = str.indexOf(token);\n\t\treturn idx < 0 ? \"\" : str.slice(idx);\n\t};\n};\n\nconst getBefore = (strFn, token) => {\n\treturn () => {\n\t\tconst str = strFn();\n\t\tconst idx = str.lastIndexOf(token);\n\t\treturn idx < 0 ? \"\" : str.slice(0, idx);\n\t};\n};\n\nconst getHash = (strFn, hashFunction) => {\n\treturn () => {\n\t\tconst hash = createHash(hashFunction);\n\t\thash.update(strFn());\n\t\tconst digest = /** @type {string} */ (hash.digest(\"hex\"));\n\t\treturn digest.slice(0, 4);\n\t};\n};\n\nconst asRegExp = test => {\n\tif (typeof test === \"string\") {\n\t\ttest = new RegExp(\"^\" + test.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, \"\\\\$&\"));\n\t}\n\treturn test;\n};\n\nconst lazyObject = obj => {\n\tconst newObj = {};\n\tfor (const key of Object.keys(obj)) {\n\t\tconst fn = obj[key];\n\t\tObject.defineProperty(newObj, key, {\n\t\t\tget: () => fn(),\n\t\t\tset: v => {\n\t\t\t\tObject.defineProperty(newObj, key, {\n\t\t\t\t\tvalue: v,\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\twritable: true\n\t\t\t\t});\n\t\t\t},\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true\n\t\t});\n\t}\n\treturn newObj;\n};\n\nconst REGEXP = /\\[\\\\*([\\w-]+)\\\\*\\]/gi;\n\n/**\n *\n * @param {Module | string} module the module\n * @param {TODO} options options\n * @param {Object} contextInfo context info\n * @param {RequestShortener} contextInfo.requestShortener requestShortener\n * @param {ChunkGraph} contextInfo.chunkGraph chunk graph\n * @param {string | Hash} contextInfo.hashFunction the hash function to use\n * @returns {string} the filename\n */\nModuleFilenameHelpers.createFilename = (\n\tmodule = \"\",\n\toptions,\n\t{ requestShortener, chunkGraph, hashFunction = \"md4\" }\n) => {\n\tconst opts = {\n\t\tnamespace: \"\",\n\t\tmoduleFilenameTemplate: \"\",\n\t\t...(typeof options === \"object\"\n\t\t\t? options\n\t\t\t: {\n\t\t\t\t\tmoduleFilenameTemplate: options\n\t\t\t })\n\t};\n\n\tlet absoluteResourcePath;\n\tlet hash;\n\tlet identifier;\n\tlet moduleId;\n\tlet shortIdentifier;\n\tif (typeof module === \"string\") {\n\t\tshortIdentifier = memoize(() => requestShortener.shorten(module));\n\t\tidentifier = shortIdentifier;\n\t\tmoduleId = () => \"\";\n\t\tabsoluteResourcePath = () => module.split(\"!\").pop();\n\t\thash = getHash(identifier, hashFunction);\n\t} else {\n\t\tshortIdentifier = memoize(() =>\n\t\t\tmodule.readableIdentifier(requestShortener)\n\t\t);\n\t\tidentifier = memoize(() => requestShortener.shorten(module.identifier()));\n\t\tmoduleId = () => chunkGraph.getModuleId(module);\n\t\tabsoluteResourcePath = () =>\n\t\t\tmodule instanceof NormalModule\n\t\t\t\t? module.resource\n\t\t\t\t: module.identifier().split(\"!\").pop();\n\t\thash = getHash(identifier, hashFunction);\n\t}\n\tconst resource = memoize(() => shortIdentifier().split(\"!\").pop());\n\n\tconst loaders = getBefore(shortIdentifier, \"!\");\n\tconst allLoaders = getBefore(identifier, \"!\");\n\tconst query = getAfter(resource, \"?\");\n\tconst resourcePath = () => {\n\t\tconst q = query().length;\n\t\treturn q === 0 ? resource() : resource().slice(0, -q);\n\t};\n\tif (typeof opts.moduleFilenameTemplate === \"function\") {\n\t\treturn opts.moduleFilenameTemplate(\n\t\t\tlazyObject({\n\t\t\t\tidentifier: identifier,\n\t\t\t\tshortIdentifier: shortIdentifier,\n\t\t\t\tresource: resource,\n\t\t\t\tresourcePath: memoize(resourcePath),\n\t\t\t\tabsoluteResourcePath: memoize(absoluteResourcePath),\n\t\t\t\tallLoaders: memoize(allLoaders),\n\t\t\t\tquery: memoize(query),\n\t\t\t\tmoduleId: memoize(moduleId),\n\t\t\t\thash: memoize(hash),\n\t\t\t\tnamespace: () => opts.namespace\n\t\t\t})\n\t\t);\n\t}\n\n\t// TODO webpack 6: consider removing alternatives without dashes\n\t/** @type {Map<string, function(): string>} */\n\tconst replacements = new Map([\n\t\t[\"identifier\", identifier],\n\t\t[\"short-identifier\", shortIdentifier],\n\t\t[\"resource\", resource],\n\t\t[\"resource-path\", resourcePath],\n\t\t// cSpell:words resourcepath\n\t\t[\"resourcepath\", resourcePath],\n\t\t[\"absolute-resource-path\", absoluteResourcePath],\n\t\t[\"abs-resource-path\", absoluteResourcePath],\n\t\t// cSpell:words absoluteresource\n\t\t[\"absoluteresource-path\", absoluteResourcePath],\n\t\t// cSpell:words absresource\n\t\t[\"absresource-path\", absoluteResourcePath],\n\t\t// cSpell:words resourcepath\n\t\t[\"absolute-resourcepath\", absoluteResourcePath],\n\t\t// cSpell:words resourcepath\n\t\t[\"abs-resourcepath\", absoluteResourcePath],\n\t\t// cSpell:words absoluteresourcepath\n\t\t[\"absoluteresourcepath\", absoluteResourcePath],\n\t\t// cSpell:words absresourcepath\n\t\t[\"absresourcepath\", absoluteResourcePath],\n\t\t[\"all-loaders\", allLoaders],\n\t\t// cSpell:words allloaders\n\t\t[\"allloaders\", allLoaders],\n\t\t[\"loaders\", loaders],\n\t\t[\"query\", query],\n\t\t[\"id\", moduleId],\n\t\t[\"hash\", hash],\n\t\t[\"namespace\", () => opts.namespace]\n\t]);\n\n\t// TODO webpack 6: consider removing weird double placeholders\n\treturn opts.moduleFilenameTemplate\n\t\t.replace(ModuleFilenameHelpers.REGEXP_ALL_LOADERS_RESOURCE, \"[identifier]\")\n\t\t.replace(\n\t\t\tModuleFilenameHelpers.REGEXP_LOADERS_RESOURCE,\n\t\t\t\"[short-identifier]\"\n\t\t)\n\t\t.replace(REGEXP, (match, content) => {\n\t\t\tif (content.length + 2 === match.length) {\n\t\t\t\tconst replacement = replacements.get(content.toLowerCase());\n\t\t\t\tif (replacement !== undefined) {\n\t\t\t\t\treturn replacement();\n\t\t\t\t}\n\t\t\t} else if (match.startsWith(\"[\\\\\") && match.endsWith(\"\\\\]\")) {\n\t\t\t\treturn `[${match.slice(2, -2)}]`;\n\t\t\t}\n\t\t\treturn match;\n\t\t});\n};\n\nModuleFilenameHelpers.replaceDuplicates = (array, fn, comparator) => {\n\tconst countMap = Object.create(null);\n\tconst posMap = Object.create(null);\n\tarray.forEach((item, idx) => {\n\t\tcountMap[item] = countMap[item] || [];\n\t\tcountMap[item].push(idx);\n\t\tposMap[item] = 0;\n\t});\n\tif (comparator) {\n\t\tObject.keys(countMap).forEach(item => {\n\t\t\tcountMap[item].sort(comparator);\n\t\t});\n\t}\n\treturn array.map((item, i) => {\n\t\tif (countMap[item].length > 1) {\n\t\t\tif (comparator && countMap[item][0] === i) return item;\n\t\t\treturn fn(item, i, posMap[item]++);\n\t\t} else {\n\t\t\treturn item;\n\t\t}\n\t});\n};\n\nModuleFilenameHelpers.matchPart = (str, test) => {\n\tif (!test) return true;\n\ttest = asRegExp(test);\n\tif (Array.isArray(test)) {\n\t\treturn test.map(asRegExp).some(regExp => regExp.test(str));\n\t} else {\n\t\treturn test.test(str);\n\t}\n};\n\nModuleFilenameHelpers.matchObject = (obj, str) => {\n\tif (obj.test) {\n\t\tif (!ModuleFilenameHelpers.matchPart(str, obj.test)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\tif (obj.include) {\n\t\tif (!ModuleFilenameHelpers.matchPart(str, obj.include)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\tif (obj.exclude) {\n\t\tif (ModuleFilenameHelpers.matchPart(str, obj.exclude)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn true;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleFilenameHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleGraph.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/ModuleGraph.js ***! \*************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst ExportsInfo = __webpack_require__(/*! ./ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst ModuleGraphConnection = __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\nconst SortableSet = __webpack_require__(/*! ./util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst WeakTupleMap = __webpack_require__(/*! ./util/WeakTupleMap */ \"./node_modules/webpack/lib/util/WeakTupleMap.js\");\n\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./ExportsInfo\").ExportInfo} ExportInfo */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleProfile\")} ModuleProfile */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @callback OptimizationBailoutFunction\n * @param {RequestShortener} requestShortener\n * @returns {string}\n */\n\nconst EMPTY_SET = new Set();\n\n/**\n * @param {SortableSet<ModuleGraphConnection>} set input\n * @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]>} mapped by origin module\n */\nconst getConnectionsByOriginModule = set => {\n\tconst map = new Map();\n\t/** @type {Module | 0} */\n\tlet lastModule = 0;\n\t/** @type {ModuleGraphConnection[]} */\n\tlet lastList = undefined;\n\tfor (const connection of set) {\n\t\tconst { originModule } = connection;\n\t\tif (lastModule === originModule) {\n\t\t\tlastList.push(connection);\n\t\t} else {\n\t\t\tlastModule = originModule;\n\t\t\tconst list = map.get(originModule);\n\t\t\tif (list !== undefined) {\n\t\t\t\tlastList = list;\n\t\t\t\tlist.push(connection);\n\t\t\t} else {\n\t\t\t\tconst list = [connection];\n\t\t\t\tlastList = list;\n\t\t\t\tmap.set(originModule, list);\n\t\t\t}\n\t\t}\n\t}\n\treturn map;\n};\n\n/**\n * @param {SortableSet<ModuleGraphConnection>} set input\n * @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]>} mapped by module\n */\nconst getConnectionsByModule = set => {\n\tconst map = new Map();\n\t/** @type {Module | 0} */\n\tlet lastModule = 0;\n\t/** @type {ModuleGraphConnection[]} */\n\tlet lastList = undefined;\n\tfor (const connection of set) {\n\t\tconst { module } = connection;\n\t\tif (lastModule === module) {\n\t\t\tlastList.push(connection);\n\t\t} else {\n\t\t\tlastModule = module;\n\t\t\tconst list = map.get(module);\n\t\t\tif (list !== undefined) {\n\t\t\t\tlastList = list;\n\t\t\t\tlist.push(connection);\n\t\t\t} else {\n\t\t\t\tconst list = [connection];\n\t\t\t\tlastList = list;\n\t\t\t\tmap.set(module, list);\n\t\t\t}\n\t\t}\n\t}\n\treturn map;\n};\n\nclass ModuleGraphModule {\n\tconstructor() {\n\t\t/** @type {SortableSet<ModuleGraphConnection>} */\n\t\tthis.incomingConnections = new SortableSet();\n\t\t/** @type {SortableSet<ModuleGraphConnection> | undefined} */\n\t\tthis.outgoingConnections = undefined;\n\t\t/** @type {Module | null} */\n\t\tthis.issuer = undefined;\n\t\t/** @type {(string | OptimizationBailoutFunction)[]} */\n\t\tthis.optimizationBailout = [];\n\t\t/** @type {ExportsInfo} */\n\t\tthis.exports = new ExportsInfo();\n\t\t/** @type {number} */\n\t\tthis.preOrderIndex = null;\n\t\t/** @type {number} */\n\t\tthis.postOrderIndex = null;\n\t\t/** @type {number} */\n\t\tthis.depth = null;\n\t\t/** @type {ModuleProfile} */\n\t\tthis.profile = undefined;\n\t\t/** @type {boolean} */\n\t\tthis.async = false;\n\t\t/** @type {ModuleGraphConnection[]} */\n\t\tthis._unassignedConnections = undefined;\n\t}\n}\n\nclass ModuleGraph {\n\tconstructor() {\n\t\t/** @type {WeakMap<Dependency, ModuleGraphConnection>} */\n\t\tthis._dependencyMap = new WeakMap();\n\t\t/** @type {Map<Module, ModuleGraphModule>} */\n\t\tthis._moduleMap = new Map();\n\t\t/** @type {WeakMap<any, Object>} */\n\t\tthis._metaMap = new WeakMap();\n\n\t\t/** @type {WeakTupleMap<any[], any>} */\n\t\tthis._cache = undefined;\n\n\t\t/** @type {Map<Module, WeakTupleMap<any, any>>} */\n\t\tthis._moduleMemCaches = undefined;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {ModuleGraphModule} the internal module\n\t */\n\t_getModuleGraphModule(module) {\n\t\tlet mgm = this._moduleMap.get(module);\n\t\tif (mgm === undefined) {\n\t\t\tmgm = new ModuleGraphModule();\n\t\t\tthis._moduleMap.set(module, mgm);\n\t\t}\n\t\treturn mgm;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency\n\t * @param {DependenciesBlock} block parent block\n\t * @param {Module} module parent module\n\t * @param {number=} indexInBlock position in block\n\t * @returns {void}\n\t */\n\tsetParents(dependency, block, module, indexInBlock = -1) {\n\t\tdependency._parentDependenciesBlockIndex = indexInBlock;\n\t\tdependency._parentDependenciesBlock = block;\n\t\tdependency._parentModule = module;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency\n\t * @returns {Module} parent module\n\t */\n\tgetParentModule(dependency) {\n\t\treturn dependency._parentModule;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency\n\t * @returns {DependenciesBlock} parent block\n\t */\n\tgetParentBlock(dependency) {\n\t\treturn dependency._parentDependenciesBlock;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency\n\t * @returns {number} index\n\t */\n\tgetParentBlockIndex(dependency) {\n\t\treturn dependency._parentDependenciesBlockIndex;\n\t}\n\n\t/**\n\t * @param {Module} originModule the referencing module\n\t * @param {Dependency} dependency the referencing dependency\n\t * @param {Module} module the referenced module\n\t * @returns {void}\n\t */\n\tsetResolvedModule(originModule, dependency, module) {\n\t\tconst connection = new ModuleGraphConnection(\n\t\t\toriginModule,\n\t\t\tdependency,\n\t\t\tmodule,\n\t\t\tundefined,\n\t\t\tdependency.weak,\n\t\t\tdependency.getCondition(this)\n\t\t);\n\t\tconst connections = this._getModuleGraphModule(module).incomingConnections;\n\t\tconnections.add(connection);\n\t\tif (originModule) {\n\t\t\tconst mgm = this._getModuleGraphModule(originModule);\n\t\t\tif (mgm._unassignedConnections === undefined) {\n\t\t\t\tmgm._unassignedConnections = [];\n\t\t\t}\n\t\t\tmgm._unassignedConnections.push(connection);\n\t\t\tif (mgm.outgoingConnections === undefined) {\n\t\t\t\tmgm.outgoingConnections = new SortableSet();\n\t\t\t}\n\t\t\tmgm.outgoingConnections.add(connection);\n\t\t} else {\n\t\t\tthis._dependencyMap.set(dependency, connection);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the referencing dependency\n\t * @param {Module} module the referenced module\n\t * @returns {void}\n\t */\n\tupdateModule(dependency, module) {\n\t\tconst connection = this.getConnection(dependency);\n\t\tif (connection.module === module) return;\n\t\tconst newConnection = connection.clone();\n\t\tnewConnection.module = module;\n\t\tthis._dependencyMap.set(dependency, newConnection);\n\t\tconnection.setActive(false);\n\t\tconst originMgm = this._getModuleGraphModule(connection.originModule);\n\t\toriginMgm.outgoingConnections.add(newConnection);\n\t\tconst targetMgm = this._getModuleGraphModule(module);\n\t\ttargetMgm.incomingConnections.add(newConnection);\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the referencing dependency\n\t * @returns {void}\n\t */\n\tremoveConnection(dependency) {\n\t\tconst connection = this.getConnection(dependency);\n\t\tconst targetMgm = this._getModuleGraphModule(connection.module);\n\t\ttargetMgm.incomingConnections.delete(connection);\n\t\tconst originMgm = this._getModuleGraphModule(connection.originModule);\n\t\toriginMgm.outgoingConnections.delete(connection);\n\t\tthis._dependencyMap.set(dependency, null);\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the referencing dependency\n\t * @param {string} explanation an explanation\n\t * @returns {void}\n\t */\n\taddExplanation(dependency, explanation) {\n\t\tconst connection = this.getConnection(dependency);\n\t\tconnection.addExplanation(explanation);\n\t}\n\n\t/**\n\t * @param {Module} sourceModule the source module\n\t * @param {Module} targetModule the target module\n\t * @returns {void}\n\t */\n\tcloneModuleAttributes(sourceModule, targetModule) {\n\t\tconst oldMgm = this._getModuleGraphModule(sourceModule);\n\t\tconst newMgm = this._getModuleGraphModule(targetModule);\n\t\tnewMgm.postOrderIndex = oldMgm.postOrderIndex;\n\t\tnewMgm.preOrderIndex = oldMgm.preOrderIndex;\n\t\tnewMgm.depth = oldMgm.depth;\n\t\tnewMgm.exports = oldMgm.exports;\n\t\tnewMgm.async = oldMgm.async;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tremoveModuleAttributes(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.postOrderIndex = null;\n\t\tmgm.preOrderIndex = null;\n\t\tmgm.depth = null;\n\t\tmgm.async = false;\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tremoveAllModuleAttributes() {\n\t\tfor (const mgm of this._moduleMap.values()) {\n\t\t\tmgm.postOrderIndex = null;\n\t\t\tmgm.preOrderIndex = null;\n\t\t\tmgm.depth = null;\n\t\t\tmgm.async = false;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} oldModule the old referencing module\n\t * @param {Module} newModule the new referencing module\n\t * @param {function(ModuleGraphConnection): boolean} filterConnection filter predicate for replacement\n\t * @returns {void}\n\t */\n\tmoveModuleConnections(oldModule, newModule, filterConnection) {\n\t\tif (oldModule === newModule) return;\n\t\tconst oldMgm = this._getModuleGraphModule(oldModule);\n\t\tconst newMgm = this._getModuleGraphModule(newModule);\n\t\t// Outgoing connections\n\t\tconst oldConnections = oldMgm.outgoingConnections;\n\t\tif (oldConnections !== undefined) {\n\t\t\tif (newMgm.outgoingConnections === undefined) {\n\t\t\t\tnewMgm.outgoingConnections = new SortableSet();\n\t\t\t}\n\t\t\tconst newConnections = newMgm.outgoingConnections;\n\t\t\tfor (const connection of oldConnections) {\n\t\t\t\tif (filterConnection(connection)) {\n\t\t\t\t\tconnection.originModule = newModule;\n\t\t\t\t\tnewConnections.add(connection);\n\t\t\t\t\toldConnections.delete(connection);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// Incoming connections\n\t\tconst oldConnections2 = oldMgm.incomingConnections;\n\t\tconst newConnections2 = newMgm.incomingConnections;\n\t\tfor (const connection of oldConnections2) {\n\t\t\tif (filterConnection(connection)) {\n\t\t\t\tconnection.module = newModule;\n\t\t\t\tnewConnections2.add(connection);\n\t\t\t\toldConnections2.delete(connection);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} oldModule the old referencing module\n\t * @param {Module} newModule the new referencing module\n\t * @param {function(ModuleGraphConnection): boolean} filterConnection filter predicate for replacement\n\t * @returns {void}\n\t */\n\tcopyOutgoingModuleConnections(oldModule, newModule, filterConnection) {\n\t\tif (oldModule === newModule) return;\n\t\tconst oldMgm = this._getModuleGraphModule(oldModule);\n\t\tconst newMgm = this._getModuleGraphModule(newModule);\n\t\t// Outgoing connections\n\t\tconst oldConnections = oldMgm.outgoingConnections;\n\t\tif (oldConnections !== undefined) {\n\t\t\tif (newMgm.outgoingConnections === undefined) {\n\t\t\t\tnewMgm.outgoingConnections = new SortableSet();\n\t\t\t}\n\t\t\tconst newConnections = newMgm.outgoingConnections;\n\t\t\tfor (const connection of oldConnections) {\n\t\t\t\tif (filterConnection(connection)) {\n\t\t\t\t\tconst newConnection = connection.clone();\n\t\t\t\t\tnewConnection.originModule = newModule;\n\t\t\t\t\tnewConnections.add(newConnection);\n\t\t\t\t\tif (newConnection.module !== undefined) {\n\t\t\t\t\t\tconst otherMgm = this._getModuleGraphModule(newConnection.module);\n\t\t\t\t\t\totherMgm.incomingConnections.add(newConnection);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the referenced module\n\t * @param {string} explanation an explanation why it's referenced\n\t * @returns {void}\n\t */\n\taddExtraReason(module, explanation) {\n\t\tconst connections = this._getModuleGraphModule(module).incomingConnections;\n\t\tconnections.add(new ModuleGraphConnection(null, null, module, explanation));\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency to look for a referenced module\n\t * @returns {Module} the referenced module\n\t */\n\tgetResolvedModule(dependency) {\n\t\tconst connection = this.getConnection(dependency);\n\t\treturn connection !== undefined ? connection.resolvedModule : null;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency to look for a referenced module\n\t * @returns {ModuleGraphConnection | undefined} the connection\n\t */\n\tgetConnection(dependency) {\n\t\tconst connection = this._dependencyMap.get(dependency);\n\t\tif (connection === undefined) {\n\t\t\tconst module = this.getParentModule(dependency);\n\t\t\tif (module !== undefined) {\n\t\t\t\tconst mgm = this._getModuleGraphModule(module);\n\t\t\t\tif (\n\t\t\t\t\tmgm._unassignedConnections &&\n\t\t\t\t\tmgm._unassignedConnections.length !== 0\n\t\t\t\t) {\n\t\t\t\t\tlet foundConnection;\n\t\t\t\t\tfor (const connection of mgm._unassignedConnections) {\n\t\t\t\t\t\tthis._dependencyMap.set(connection.dependency, connection);\n\t\t\t\t\t\tif (connection.dependency === dependency)\n\t\t\t\t\t\t\tfoundConnection = connection;\n\t\t\t\t\t}\n\t\t\t\t\tmgm._unassignedConnections.length = 0;\n\t\t\t\t\tif (foundConnection !== undefined) {\n\t\t\t\t\t\treturn foundConnection;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._dependencyMap.set(dependency, null);\n\t\t\treturn undefined;\n\t\t}\n\t\treturn connection === null ? undefined : connection;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency to look for a referenced module\n\t * @returns {Module} the referenced module\n\t */\n\tgetModule(dependency) {\n\t\tconst connection = this.getConnection(dependency);\n\t\treturn connection !== undefined ? connection.module : null;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency to look for a referencing module\n\t * @returns {Module} the referencing module\n\t */\n\tgetOrigin(dependency) {\n\t\tconst connection = this.getConnection(dependency);\n\t\treturn connection !== undefined ? connection.originModule : null;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency the dependency to look for a referencing module\n\t * @returns {Module} the original referencing module\n\t */\n\tgetResolvedOrigin(dependency) {\n\t\tconst connection = this.getConnection(dependency);\n\t\treturn connection !== undefined ? connection.resolvedOriginModule : null;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {Iterable<ModuleGraphConnection>} reasons why a module is included\n\t */\n\tgetIncomingConnections(module) {\n\t\tconst connections = this._getModuleGraphModule(module).incomingConnections;\n\t\treturn connections;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {Iterable<ModuleGraphConnection>} list of outgoing connections\n\t */\n\tgetOutgoingConnections(module) {\n\t\tconst connections = this._getModuleGraphModule(module).outgoingConnections;\n\t\treturn connections === undefined ? EMPTY_SET : connections;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]>} reasons why a module is included, in a map by source module\n\t */\n\tgetIncomingConnectionsByOriginModule(module) {\n\t\tconst connections = this._getModuleGraphModule(module).incomingConnections;\n\t\treturn connections.getFromUnorderedCache(getConnectionsByOriginModule);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]> | undefined} connections to modules, in a map by module\n\t */\n\tgetOutgoingConnectionsByModule(module) {\n\t\tconst connections = this._getModuleGraphModule(module).outgoingConnections;\n\t\treturn connections === undefined\n\t\t\t? undefined\n\t\t\t: connections.getFromUnorderedCache(getConnectionsByModule);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {ModuleProfile | null} the module profile\n\t */\n\tgetProfile(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.profile;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {ModuleProfile | null} profile the module profile\n\t * @returns {void}\n\t */\n\tsetProfile(module, profile) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.profile = profile;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {Module | null} the issuer module\n\t */\n\tgetIssuer(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.issuer;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {Module | null} issuer the issuer module\n\t * @returns {void}\n\t */\n\tsetIssuer(module, issuer) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.issuer = issuer;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {Module | null} issuer the issuer module\n\t * @returns {void}\n\t */\n\tsetIssuerIfUnset(module, issuer) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tif (mgm.issuer === undefined) mgm.issuer = issuer;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {(string | OptimizationBailoutFunction)[]} optimization bailouts\n\t */\n\tgetOptimizationBailout(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.optimizationBailout;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {true | string[] | null} the provided exports\n\t */\n\tgetProvidedExports(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.exports.getProvidedExports();\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {string | string[]} exportName a name of an export\n\t * @returns {boolean | null} true, if the export is provided by the module.\n\t * null, if it's unknown.\n\t * false, if it's not provided.\n\t */\n\tisExportProvided(module, exportName) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tconst result = mgm.exports.isExportProvided(exportName);\n\t\treturn result === undefined ? null : result;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {ExportsInfo} info about the exports\n\t */\n\tgetExportsInfo(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.exports;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {string} exportName the export\n\t * @returns {ExportInfo} info about the export\n\t */\n\tgetExportInfo(module, exportName) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.exports.getExportInfo(exportName);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {string} exportName the export\n\t * @returns {ExportInfo} info about the export (do not modify)\n\t */\n\tgetReadOnlyExportInfo(module, exportName) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.exports.getReadOnlyExportInfo(exportName);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {false | true | SortableSet<string> | null} the used exports\n\t * false: module is not used at all.\n\t * true: the module namespace/object export is used.\n\t * SortableSet<string>: these export names are used.\n\t * empty SortableSet<string>: module is used but no export.\n\t * null: unknown, worst case should be assumed.\n\t */\n\tgetUsedExports(module, runtime) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.exports.getUsedExports(runtime);\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {number} the index of the module\n\t */\n\tgetPreOrderIndex(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.preOrderIndex;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {number} the index of the module\n\t */\n\tgetPostOrderIndex(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.postOrderIndex;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} index the index of the module\n\t * @returns {void}\n\t */\n\tsetPreOrderIndex(module, index) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.preOrderIndex = index;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} index the index of the module\n\t * @returns {boolean} true, if the index was set\n\t */\n\tsetPreOrderIndexIfUnset(module, index) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tif (mgm.preOrderIndex === null) {\n\t\t\tmgm.preOrderIndex = index;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} index the index of the module\n\t * @returns {void}\n\t */\n\tsetPostOrderIndex(module, index) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.postOrderIndex = index;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} index the index of the module\n\t * @returns {boolean} true, if the index was set\n\t */\n\tsetPostOrderIndexIfUnset(module, index) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tif (mgm.postOrderIndex === null) {\n\t\t\tmgm.postOrderIndex = index;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {number} the depth of the module\n\t */\n\tgetDepth(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.depth;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} depth the depth of the module\n\t * @returns {void}\n\t */\n\tsetDepth(module, depth) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.depth = depth;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @param {number} depth the depth of the module\n\t * @returns {boolean} true, if the depth was set\n\t */\n\tsetDepthIfLower(module, depth) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tif (mgm.depth === null || mgm.depth > depth) {\n\t\t\tmgm.depth = depth;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {boolean} true, if the module is async\n\t */\n\tisAsync(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\treturn mgm.async;\n\t}\n\n\t/**\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tsetAsync(module) {\n\t\tconst mgm = this._getModuleGraphModule(module);\n\t\tmgm.async = true;\n\t}\n\n\t/**\n\t * @param {any} thing any thing\n\t * @returns {Object} metadata\n\t */\n\tgetMeta(thing) {\n\t\tlet meta = this._metaMap.get(thing);\n\t\tif (meta === undefined) {\n\t\t\tmeta = Object.create(null);\n\t\t\tthis._metaMap.set(thing, meta);\n\t\t}\n\t\treturn meta;\n\t}\n\n\t/**\n\t * @param {any} thing any thing\n\t * @returns {Object} metadata\n\t */\n\tgetMetaIfExisting(thing) {\n\t\treturn this._metaMap.get(thing);\n\t}\n\n\t/**\n\t * @param {string=} cacheStage a persistent stage name for caching\n\t */\n\tfreeze(cacheStage) {\n\t\tthis._cache = new WeakTupleMap();\n\t\tthis._cacheStage = cacheStage;\n\t}\n\n\tunfreeze() {\n\t\tthis._cache = undefined;\n\t\tthis._cacheStage = undefined;\n\t}\n\n\t/**\n\t * @template {any[]} T\n\t * @template V\n\t * @param {(moduleGraph: ModuleGraph, ...args: T) => V} fn computer\n\t * @param {T} args arguments\n\t * @returns {V} computed value or cached\n\t */\n\tcached(fn, ...args) {\n\t\tif (this._cache === undefined) return fn(this, ...args);\n\t\treturn this._cache.provide(fn, ...args, () => fn(this, ...args));\n\t}\n\n\t/**\n\t * @param {Map<Module, WeakTupleMap<any, any>>} moduleMemCaches mem caches for modules for better caching\n\t */\n\tsetModuleMemCaches(moduleMemCaches) {\n\t\tthis._moduleMemCaches = moduleMemCaches;\n\t}\n\n\t/**\n\t * @param {Dependency} dependency dependency\n\t * @param {...any} args arguments, last argument is a function called with moduleGraph, dependency, ...args\n\t * @returns {any} computed value or cached\n\t */\n\tdependencyCacheProvide(dependency, ...args) {\n\t\t/** @type {(moduleGraph: ModuleGraph, dependency: Dependency, ...args: any[]) => any} */\n\t\tconst fn = args.pop();\n\t\tif (this._moduleMemCaches && this._cacheStage) {\n\t\t\tconst memCache = this._moduleMemCaches.get(\n\t\t\t\tthis.getParentModule(dependency)\n\t\t\t);\n\t\t\tif (memCache !== undefined) {\n\t\t\t\treturn memCache.provide(dependency, this._cacheStage, ...args, () =>\n\t\t\t\t\tfn(this, dependency, ...args)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (this._cache === undefined) return fn(this, dependency, ...args);\n\t\treturn this._cache.provide(dependency, ...args, () =>\n\t\t\tfn(this, dependency, ...args)\n\t\t);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @param {string} deprecateMessage message for the deprecation message\n\t * @param {string} deprecationCode code for the deprecation\n\t * @returns {ModuleGraph} the module graph\n\t */\n\tstatic getModuleGraphForModule(module, deprecateMessage, deprecationCode) {\n\t\tconst fn = deprecateMap.get(deprecateMessage);\n\t\tif (fn) return fn(module);\n\t\tconst newFn = util.deprecate(\n\t\t\t/**\n\t\t\t * @param {Module} module the module\n\t\t\t * @returns {ModuleGraph} the module graph\n\t\t\t */\n\t\t\tmodule => {\n\t\t\t\tconst moduleGraph = moduleGraphForModuleMap.get(module);\n\t\t\t\tif (!moduleGraph)\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\tdeprecateMessage +\n\t\t\t\t\t\t\t\"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)\"\n\t\t\t\t\t);\n\t\t\t\treturn moduleGraph;\n\t\t\t},\n\t\t\tdeprecateMessage + \": Use new ModuleGraph API\",\n\t\t\tdeprecationCode\n\t\t);\n\t\tdeprecateMap.set(deprecateMessage, newFn);\n\t\treturn newFn(module);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {void}\n\t */\n\tstatic setModuleGraphForModule(module, moduleGraph) {\n\t\tmoduleGraphForModuleMap.set(module, moduleGraph);\n\t}\n\n\t// TODO remove in webpack 6\n\t/**\n\t * @param {Module} module the module\n\t * @returns {void}\n\t */\n\tstatic clearModuleGraphForModule(module) {\n\t\tmoduleGraphForModuleMap.delete(module);\n\t}\n}\n\n// TODO remove in webpack 6\n/** @type {WeakMap<Module, ModuleGraph>} */\nconst moduleGraphForModuleMap = new WeakMap();\n\n// TODO remove in webpack 6\n/** @type {Map<string, (module: Module) => ModuleGraph>} */\nconst deprecateMap = new Map();\n\nmodule.exports = ModuleGraph;\nmodule.exports.ModuleGraphConnection = ModuleGraphConnection;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleGraph.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleGraphConnection.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleGraphConnection.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * Module itself is not connected, but transitive modules are connected transitively.\n */\nconst TRANSITIVE_ONLY = Symbol(\"transitive only\");\n\n/**\n * While determining the active state, this flag is used to signal a circular connection.\n */\nconst CIRCULAR_CONNECTION = Symbol(\"circular connection\");\n\n/** @typedef {boolean | typeof TRANSITIVE_ONLY | typeof CIRCULAR_CONNECTION} ConnectionState */\n\n/**\n * @param {ConnectionState} a first\n * @param {ConnectionState} b second\n * @returns {ConnectionState} merged\n */\nconst addConnectionStates = (a, b) => {\n\tif (a === true || b === true) return true;\n\tif (a === false) return b;\n\tif (b === false) return a;\n\tif (a === TRANSITIVE_ONLY) return b;\n\tif (b === TRANSITIVE_ONLY) return a;\n\treturn a;\n};\n\n/**\n * @param {ConnectionState} a first\n * @param {ConnectionState} b second\n * @returns {ConnectionState} intersected\n */\nconst intersectConnectionStates = (a, b) => {\n\tif (a === false || b === false) return false;\n\tif (a === true) return b;\n\tif (b === true) return a;\n\tif (a === CIRCULAR_CONNECTION) return b;\n\tif (b === CIRCULAR_CONNECTION) return a;\n\treturn a;\n};\n\nclass ModuleGraphConnection {\n\t/**\n\t * @param {Module|null} originModule the referencing module\n\t * @param {Dependency|null} dependency the referencing dependency\n\t * @param {Module} module the referenced module\n\t * @param {string=} explanation some extra detail\n\t * @param {boolean=} weak the reference is weak\n\t * @param {false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState=} condition condition for the connection\n\t */\n\tconstructor(\n\t\toriginModule,\n\t\tdependency,\n\t\tmodule,\n\t\texplanation,\n\t\tweak = false,\n\t\tcondition = undefined\n\t) {\n\t\tthis.originModule = originModule;\n\t\tthis.resolvedOriginModule = originModule;\n\t\tthis.dependency = dependency;\n\t\tthis.resolvedModule = module;\n\t\tthis.module = module;\n\t\tthis.weak = weak;\n\t\tthis.conditional = !!condition;\n\t\tthis._active = condition !== false;\n\t\t/** @type {function(ModuleGraphConnection, RuntimeSpec): ConnectionState} */\n\t\tthis.condition = condition || undefined;\n\t\t/** @type {Set<string>} */\n\t\tthis.explanations = undefined;\n\t\tif (explanation) {\n\t\t\tthis.explanations = new Set();\n\t\t\tthis.explanations.add(explanation);\n\t\t}\n\t}\n\n\tclone() {\n\t\tconst clone = new ModuleGraphConnection(\n\t\t\tthis.resolvedOriginModule,\n\t\t\tthis.dependency,\n\t\t\tthis.resolvedModule,\n\t\t\tundefined,\n\t\t\tthis.weak,\n\t\t\tthis.condition\n\t\t);\n\t\tclone.originModule = this.originModule;\n\t\tclone.module = this.module;\n\t\tclone.conditional = this.conditional;\n\t\tclone._active = this._active;\n\t\tif (this.explanations) clone.explanations = new Set(this.explanations);\n\t\treturn clone;\n\t}\n\n\t/**\n\t * @param {function(ModuleGraphConnection, RuntimeSpec): ConnectionState} condition condition for the connection\n\t * @returns {void}\n\t */\n\taddCondition(condition) {\n\t\tif (this.conditional) {\n\t\t\tconst old = this.condition;\n\t\t\tthis.condition = (c, r) =>\n\t\t\t\tintersectConnectionStates(old(c, r), condition(c, r));\n\t\t} else if (this._active) {\n\t\t\tthis.conditional = true;\n\t\t\tthis.condition = condition;\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} explanation the explanation to add\n\t * @returns {void}\n\t */\n\taddExplanation(explanation) {\n\t\tif (this.explanations === undefined) {\n\t\t\tthis.explanations = new Set();\n\t\t}\n\t\tthis.explanations.add(explanation);\n\t}\n\n\tget explanation() {\n\t\tif (this.explanations === undefined) return \"\";\n\t\treturn Array.from(this.explanations).join(\" \");\n\t}\n\n\t// TODO webpack 5 remove\n\tget active() {\n\t\tthrow new Error(\"Use getActiveState instead\");\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, if the connection is active\n\t */\n\tisActive(runtime) {\n\t\tif (!this.conditional) return this._active;\n\t\treturn this.condition(this, runtime) !== false;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {boolean} true, if the connection is active\n\t */\n\tisTargetActive(runtime) {\n\t\tif (!this.conditional) return this._active;\n\t\treturn this.condition(this, runtime) === true;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {ConnectionState} true: fully active, false: inactive, TRANSITIVE: direct module inactive, but transitive connection maybe active\n\t */\n\tgetActiveState(runtime) {\n\t\tif (!this.conditional) return this._active;\n\t\treturn this.condition(this, runtime);\n\t}\n\n\t/**\n\t * @param {boolean} value active or not\n\t * @returns {void}\n\t */\n\tsetActive(value) {\n\t\tthis.conditional = false;\n\t\tthis._active = value;\n\t}\n\n\tset active(value) {\n\t\tthrow new Error(\"Use setActive instead\");\n\t}\n}\n\n/** @typedef {typeof TRANSITIVE_ONLY} TRANSITIVE_ONLY */\n/** @typedef {typeof CIRCULAR_CONNECTION} CIRCULAR_CONNECTION */\n\nmodule.exports = ModuleGraphConnection;\nmodule.exports.addConnectionStates = addConnectionStates;\nmodule.exports.TRANSITIVE_ONLY = /** @type {typeof TRANSITIVE_ONLY} */ (\n\tTRANSITIVE_ONLY\n);\nmodule.exports.CIRCULAR_CONNECTION = /** @type {typeof CIRCULAR_CONNECTION} */ (\n\tCIRCULAR_CONNECTION\n);\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleGraphConnection.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleHashingError.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleHashingError.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n\nclass ModuleHashingError extends WebpackError {\n\t/**\n\t * Create a new ModuleHashingError\n\t * @param {Module} module related module\n\t * @param {Error} error Original error\n\t */\n\tconstructor(module, error) {\n\t\tsuper();\n\n\t\tthis.name = \"ModuleHashingError\";\n\t\tthis.error = error;\n\t\tthis.message = error.message;\n\t\tthis.details = error.stack;\n\t\tthis.module = module;\n\t}\n}\n\nmodule.exports = ModuleHashingError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleHashingError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleInfoHeaderPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/ModuleInfoHeaderPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, RawSource, CachedSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ./ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"./ExportsInfo\").ExportInfo} ExportInfo */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleTemplate\")} ModuleTemplate */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n\nconst joinIterableWithComma = iterable => {\n\t// This is more performant than Array.from().join(\", \")\n\t// as it doesn't create an array\n\tlet str = \"\";\n\tlet first = true;\n\tfor (const item of iterable) {\n\t\tif (first) {\n\t\t\tfirst = false;\n\t\t} else {\n\t\t\tstr += \", \";\n\t\t}\n\t\tstr += item;\n\t}\n\treturn str;\n};\n\n/**\n * @param {ConcatSource} source output\n * @param {string} indent spacing\n * @param {ExportsInfo} exportsInfo data\n * @param {ModuleGraph} moduleGraph moduleGraph\n * @param {RequestShortener} requestShortener requestShortener\n * @param {Set<ExportInfo>} alreadyPrinted deduplication set\n * @returns {void}\n */\nconst printExportsInfoToSource = (\n\tsource,\n\tindent,\n\texportsInfo,\n\tmoduleGraph,\n\trequestShortener,\n\talreadyPrinted = new Set()\n) => {\n\tconst otherExportsInfo = exportsInfo.otherExportsInfo;\n\n\tlet alreadyPrintedExports = 0;\n\n\t// determine exports to print\n\tconst printedExports = [];\n\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\tif (!alreadyPrinted.has(exportInfo)) {\n\t\t\talreadyPrinted.add(exportInfo);\n\t\t\tprintedExports.push(exportInfo);\n\t\t} else {\n\t\t\talreadyPrintedExports++;\n\t\t}\n\t}\n\tlet showOtherExports = false;\n\tif (!alreadyPrinted.has(otherExportsInfo)) {\n\t\talreadyPrinted.add(otherExportsInfo);\n\t\tshowOtherExports = true;\n\t} else {\n\t\talreadyPrintedExports++;\n\t}\n\n\t// print the exports\n\tfor (const exportInfo of printedExports) {\n\t\tconst target = exportInfo.getTarget(moduleGraph);\n\t\tsource.add(\n\t\t\tTemplate.toComment(\n\t\t\t\t`${indent}export ${JSON.stringify(exportInfo.name).slice(\n\t\t\t\t\t1,\n\t\t\t\t\t-1\n\t\t\t\t)} [${exportInfo.getProvidedInfo()}] [${exportInfo.getUsedInfo()}] [${exportInfo.getRenameInfo()}]${\n\t\t\t\t\ttarget\n\t\t\t\t\t\t? ` -> ${target.module.readableIdentifier(requestShortener)}${\n\t\t\t\t\t\t\t\ttarget.export\n\t\t\t\t\t\t\t\t\t? ` .${target.export\n\t\t\t\t\t\t\t\t\t\t\t.map(e => JSON.stringify(e).slice(1, -1))\n\t\t\t\t\t\t\t\t\t\t\t.join(\".\")}`\n\t\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t }`\n\t\t\t\t\t\t: \"\"\n\t\t\t\t}`\n\t\t\t) + \"\\n\"\n\t\t);\n\t\tif (exportInfo.exportsInfo) {\n\t\t\tprintExportsInfoToSource(\n\t\t\t\tsource,\n\t\t\t\tindent + \" \",\n\t\t\t\texportInfo.exportsInfo,\n\t\t\t\tmoduleGraph,\n\t\t\t\trequestShortener,\n\t\t\t\talreadyPrinted\n\t\t\t);\n\t\t}\n\t}\n\n\tif (alreadyPrintedExports) {\n\t\tsource.add(\n\t\t\tTemplate.toComment(\n\t\t\t\t`${indent}... (${alreadyPrintedExports} already listed exports)`\n\t\t\t) + \"\\n\"\n\t\t);\n\t}\n\n\tif (showOtherExports) {\n\t\tconst target = otherExportsInfo.getTarget(moduleGraph);\n\t\tif (\n\t\t\ttarget ||\n\t\t\totherExportsInfo.provided !== false ||\n\t\t\totherExportsInfo.getUsed(undefined) !== UsageState.Unused\n\t\t) {\n\t\t\tconst title =\n\t\t\t\tprintedExports.length > 0 || alreadyPrintedExports > 0\n\t\t\t\t\t? \"other exports\"\n\t\t\t\t\t: \"exports\";\n\t\t\tsource.add(\n\t\t\t\tTemplate.toComment(\n\t\t\t\t\t`${indent}${title} [${otherExportsInfo.getProvidedInfo()}] [${otherExportsInfo.getUsedInfo()}]${\n\t\t\t\t\t\ttarget\n\t\t\t\t\t\t\t? ` -> ${target.module.readableIdentifier(requestShortener)}`\n\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t}`\n\t\t\t\t) + \"\\n\"\n\t\t\t);\n\t\t}\n\t}\n};\n\n/** @type {WeakMap<RequestShortener, WeakMap<Module, { header: RawSource, full: WeakMap<Source, CachedSource> }>>} */\nconst caches = new WeakMap();\n\nclass ModuleInfoHeaderPlugin {\n\t/**\n\t * @param {boolean=} verbose add more information like exports, runtime requirements and bailouts\n\t */\n\tconstructor(verbose = true) {\n\t\tthis._verbose = verbose;\n\t}\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _verbose: verbose } = this;\n\t\tcompiler.hooks.compilation.tap(\"ModuleInfoHeaderPlugin\", compilation => {\n\t\t\tconst hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);\n\t\t\thooks.renderModulePackage.tap(\n\t\t\t\t\"ModuleInfoHeaderPlugin\",\n\t\t\t\t(\n\t\t\t\t\tmoduleSource,\n\t\t\t\t\tmodule,\n\t\t\t\t\t{ chunk, chunkGraph, moduleGraph, runtimeTemplate }\n\t\t\t\t) => {\n\t\t\t\t\tconst { requestShortener } = runtimeTemplate;\n\t\t\t\t\tlet cacheEntry;\n\t\t\t\t\tlet cache = caches.get(requestShortener);\n\t\t\t\t\tif (cache === undefined) {\n\t\t\t\t\t\tcaches.set(requestShortener, (cache = new WeakMap()));\n\t\t\t\t\t\tcache.set(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t(cacheEntry = { header: undefined, full: new WeakMap() })\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcacheEntry = cache.get(module);\n\t\t\t\t\t\tif (cacheEntry === undefined) {\n\t\t\t\t\t\t\tcache.set(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t(cacheEntry = { header: undefined, full: new WeakMap() })\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (!verbose) {\n\t\t\t\t\t\t\tconst cachedSource = cacheEntry.full.get(moduleSource);\n\t\t\t\t\t\t\tif (cachedSource !== undefined) return cachedSource;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst source = new ConcatSource();\n\t\t\t\t\tlet header = cacheEntry.header;\n\t\t\t\t\tif (header === undefined) {\n\t\t\t\t\t\tconst req = module.readableIdentifier(requestShortener);\n\t\t\t\t\t\tconst reqStr = req.replace(/\\*\\//g, \"*_/\");\n\t\t\t\t\t\tconst reqStrStar = \"*\".repeat(reqStr.length);\n\t\t\t\t\t\tconst headerStr = `/*!****${reqStrStar}****!*\\\\\\n !*** ${reqStr} ***!\\n \\\\****${reqStrStar}****/\\n`;\n\t\t\t\t\t\theader = new RawSource(headerStr);\n\t\t\t\t\t\tcacheEntry.header = header;\n\t\t\t\t\t}\n\t\t\t\t\tsource.add(header);\n\t\t\t\t\tif (verbose) {\n\t\t\t\t\t\tconst exportsType = module.buildMeta.exportsType;\n\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\tTemplate.toComment(\n\t\t\t\t\t\t\t\texportsType\n\t\t\t\t\t\t\t\t\t? `${exportsType} exports`\n\t\t\t\t\t\t\t\t\t: \"unknown exports (runtime-defined)\"\n\t\t\t\t\t\t\t) + \"\\n\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (exportsType) {\n\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\tprintExportsInfoToSource(\n\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\texportsInfo,\n\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\tTemplate.toComment(\n\t\t\t\t\t\t\t\t`runtime requirements: ${joinIterableWithComma(\n\t\t\t\t\t\t\t\t\tchunkGraph.getModuleRuntimeRequirements(module, chunk.runtime)\n\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t) + \"\\n\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst optimizationBailout =\n\t\t\t\t\t\t\tmoduleGraph.getOptimizationBailout(module);\n\t\t\t\t\t\tif (optimizationBailout) {\n\t\t\t\t\t\t\tfor (const text of optimizationBailout) {\n\t\t\t\t\t\t\t\tlet code;\n\t\t\t\t\t\t\t\tif (typeof text === \"function\") {\n\t\t\t\t\t\t\t\t\tcode = text(requestShortener);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcode = text;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tsource.add(Template.toComment(`${code}`) + \"\\n\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsource.add(moduleSource);\n\t\t\t\t\t\treturn source;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsource.add(moduleSource);\n\t\t\t\t\t\tconst cachedSource = new CachedSource(source);\n\t\t\t\t\t\tcacheEntry.full.set(moduleSource, cachedSource);\n\t\t\t\t\t\treturn cachedSource;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t\thooks.chunkHash.tap(\"ModuleInfoHeaderPlugin\", (chunk, hash) => {\n\t\t\t\thash.update(\"ModuleInfoHeaderPlugin\");\n\t\t\t\thash.update(\"1\");\n\t\t\t});\n\t\t});\n\t}\n}\nmodule.exports = ModuleInfoHeaderPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleInfoHeaderPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleNotFoundError.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleNotFoundError.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nconst previouslyPolyfilledBuiltinModules = {\n\tassert: \"assert/\",\n\tbuffer: \"buffer/\",\n\tconsole: \"console-browserify\",\n\tconstants: \"constants-browserify\",\n\tcrypto: \"crypto-browserify\",\n\tdomain: \"domain-browser\",\n\tevents: \"events/\",\n\thttp: \"stream-http\",\n\thttps: \"https-browserify\",\n\tos: \"os-browserify/browser\",\n\tpath: \"path-browserify\",\n\tpunycode: \"punycode/\",\n\tprocess: \"process/browser\",\n\tquerystring: \"querystring-es3\",\n\tstream: \"stream-browserify\",\n\t_stream_duplex: \"readable-stream/duplex\",\n\t_stream_passthrough: \"readable-stream/passthrough\",\n\t_stream_readable: \"readable-stream/readable\",\n\t_stream_transform: \"readable-stream/transform\",\n\t_stream_writable: \"readable-stream/writable\",\n\tstring_decoder: \"string_decoder/\",\n\tsys: \"util/\",\n\ttimers: \"timers-browserify\",\n\ttty: \"tty-browserify\",\n\turl: \"url/\",\n\tutil: \"util/\",\n\tvm: \"vm-browserify\",\n\tzlib: \"browserify-zlib\"\n};\n\nclass ModuleNotFoundError extends WebpackError {\n\t/**\n\t * @param {Module} module module tied to dependency\n\t * @param {Error&any} err error thrown\n\t * @param {DependencyLocation} loc location of dependency\n\t */\n\tconstructor(module, err, loc) {\n\t\tlet message = `Module not found: ${err.toString()}`;\n\n\t\t// TODO remove in webpack 6\n\t\tconst match = err.message.match(/Can't resolve '([^']+)'/);\n\t\tif (match) {\n\t\t\tconst request = match[1];\n\t\t\tconst alias = previouslyPolyfilledBuiltinModules[request];\n\t\t\tif (alias) {\n\t\t\t\tconst pathIndex = alias.indexOf(\"/\");\n\t\t\t\tconst dependency = pathIndex > 0 ? alias.slice(0, pathIndex) : alias;\n\t\t\t\tmessage +=\n\t\t\t\t\t\"\\n\\n\" +\n\t\t\t\t\t\"BREAKING CHANGE: \" +\n\t\t\t\t\t\"webpack < 5 used to include polyfills for node.js core modules by default.\\n\" +\n\t\t\t\t\t\"This is no longer the case. Verify if you need this module and configure a polyfill for it.\\n\\n\";\n\t\t\t\tmessage +=\n\t\t\t\t\t\"If you want to include a polyfill, you need to:\\n\" +\n\t\t\t\t\t`\\t- add a fallback 'resolve.fallback: { \"${request}\": require.resolve(\"${alias}\") }'\\n` +\n\t\t\t\t\t`\\t- install '${dependency}'\\n`;\n\t\t\t\tmessage +=\n\t\t\t\t\t\"If you don't want to include a polyfill, you can use an empty module like this:\\n\" +\n\t\t\t\t\t`\\tresolve.fallback: { \"${request}\": false }`;\n\t\t\t}\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleNotFoundError\";\n\t\tthis.details = err.details;\n\t\tthis.module = module;\n\t\tthis.error = err;\n\t\tthis.loc = loc;\n\t}\n}\n\nmodule.exports = ModuleNotFoundError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleNotFoundError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleParseError.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/ModuleParseError.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nconst WASM_HEADER = Buffer.from([0x00, 0x61, 0x73, 0x6d]);\n\nclass ModuleParseError extends WebpackError {\n\t/**\n\t * @param {string | Buffer} source source code\n\t * @param {Error&any} err the parse error\n\t * @param {string[]} loaders the loaders used\n\t * @param {string} type module type\n\t */\n\tconstructor(source, err, loaders, type) {\n\t\tlet message = \"Module parse failed: \" + (err && err.message);\n\t\tlet loc = undefined;\n\n\t\tif (\n\t\t\t((Buffer.isBuffer(source) && source.slice(0, 4).equals(WASM_HEADER)) ||\n\t\t\t\t(typeof source === \"string\" && /^\\0asm/.test(source))) &&\n\t\t\t!type.startsWith(\"webassembly\")\n\t\t) {\n\t\t\tmessage +=\n\t\t\t\t\"\\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.\";\n\t\t\tmessage +=\n\t\t\t\t\"\\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.\";\n\t\t\tmessage +=\n\t\t\t\t\"\\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).\";\n\t\t\tmessage +=\n\t\t\t\t\"\\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \\\"webassembly/async\\\"').\";\n\t\t} else if (!loaders) {\n\t\t\tmessage +=\n\t\t\t\t\"\\nYou may need an appropriate loader to handle this file type.\";\n\t\t} else if (loaders.length >= 1) {\n\t\t\tmessage += `\\nFile was processed with these loaders:${loaders\n\t\t\t\t.map(loader => `\\n * ${loader}`)\n\t\t\t\t.join(\"\")}`;\n\t\t\tmessage +=\n\t\t\t\t\"\\nYou may need an additional loader to handle the result of these loaders.\";\n\t\t} else {\n\t\t\tmessage +=\n\t\t\t\t\"\\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\";\n\t\t}\n\n\t\tif (\n\t\t\terr &&\n\t\t\terr.loc &&\n\t\t\ttypeof err.loc === \"object\" &&\n\t\t\ttypeof err.loc.line === \"number\"\n\t\t) {\n\t\t\tvar lineNumber = err.loc.line;\n\n\t\t\tif (\n\t\t\t\tBuffer.isBuffer(source) ||\n\t\t\t\t/[\\0\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007]/.test(source)\n\t\t\t) {\n\t\t\t\t// binary file\n\t\t\t\tmessage += \"\\n(Source code omitted for this binary file)\";\n\t\t\t} else {\n\t\t\t\tconst sourceLines = source.split(/\\r?\\n/);\n\t\t\t\tconst start = Math.max(0, lineNumber - 3);\n\t\t\t\tconst linesBefore = sourceLines.slice(start, lineNumber - 1);\n\t\t\t\tconst theLine = sourceLines[lineNumber - 1];\n\t\t\t\tconst linesAfter = sourceLines.slice(lineNumber, lineNumber + 2);\n\n\t\t\t\tmessage +=\n\t\t\t\t\tlinesBefore.map(l => `\\n| ${l}`).join(\"\") +\n\t\t\t\t\t`\\n> ${theLine}` +\n\t\t\t\t\tlinesAfter.map(l => `\\n| ${l}`).join(\"\");\n\t\t\t}\n\n\t\t\tloc = { start: err.loc };\n\t\t} else if (err && err.stack) {\n\t\t\tmessage += \"\\n\" + err.stack;\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleParseError\";\n\t\tthis.loc = loc;\n\t\tthis.error = err;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.error);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.error = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ModuleParseError, \"webpack/lib/ModuleParseError\");\n\nmodule.exports = ModuleParseError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleParseError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleProfile.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ModuleProfile.js ***! \***************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nclass ModuleProfile {\n\tconstructor() {\n\t\tthis.startTime = Date.now();\n\n\t\tthis.factoryStartTime = 0;\n\t\tthis.factoryEndTime = 0;\n\t\tthis.factory = 0;\n\t\tthis.factoryParallelismFactor = 0;\n\n\t\tthis.restoringStartTime = 0;\n\t\tthis.restoringEndTime = 0;\n\t\tthis.restoring = 0;\n\t\tthis.restoringParallelismFactor = 0;\n\n\t\tthis.integrationStartTime = 0;\n\t\tthis.integrationEndTime = 0;\n\t\tthis.integration = 0;\n\t\tthis.integrationParallelismFactor = 0;\n\n\t\tthis.buildingStartTime = 0;\n\t\tthis.buildingEndTime = 0;\n\t\tthis.building = 0;\n\t\tthis.buildingParallelismFactor = 0;\n\n\t\tthis.storingStartTime = 0;\n\t\tthis.storingEndTime = 0;\n\t\tthis.storing = 0;\n\t\tthis.storingParallelismFactor = 0;\n\n\t\tthis.additionalFactoryTimes = undefined;\n\t\tthis.additionalFactories = 0;\n\t\tthis.additionalFactoriesParallelismFactor = 0;\n\n\t\t/** @deprecated */\n\t\tthis.additionalIntegration = 0;\n\t}\n\n\tmarkFactoryStart() {\n\t\tthis.factoryStartTime = Date.now();\n\t}\n\n\tmarkFactoryEnd() {\n\t\tthis.factoryEndTime = Date.now();\n\t\tthis.factory = this.factoryEndTime - this.factoryStartTime;\n\t}\n\n\tmarkRestoringStart() {\n\t\tthis.restoringStartTime = Date.now();\n\t}\n\n\tmarkRestoringEnd() {\n\t\tthis.restoringEndTime = Date.now();\n\t\tthis.restoring = this.restoringEndTime - this.restoringStartTime;\n\t}\n\n\tmarkIntegrationStart() {\n\t\tthis.integrationStartTime = Date.now();\n\t}\n\n\tmarkIntegrationEnd() {\n\t\tthis.integrationEndTime = Date.now();\n\t\tthis.integration = this.integrationEndTime - this.integrationStartTime;\n\t}\n\n\tmarkBuildingStart() {\n\t\tthis.buildingStartTime = Date.now();\n\t}\n\n\tmarkBuildingEnd() {\n\t\tthis.buildingEndTime = Date.now();\n\t\tthis.building = this.buildingEndTime - this.buildingStartTime;\n\t}\n\n\tmarkStoringStart() {\n\t\tthis.storingStartTime = Date.now();\n\t}\n\n\tmarkStoringEnd() {\n\t\tthis.storingEndTime = Date.now();\n\t\tthis.storing = this.storingEndTime - this.storingStartTime;\n\t}\n\n\t// This depends on timing so we ignore it for coverage\n\t/* istanbul ignore next */\n\t/**\n\t * Merge this profile into another one\n\t * @param {ModuleProfile} realProfile the profile to merge into\n\t * @returns {void}\n\t */\n\tmergeInto(realProfile) {\n\t\trealProfile.additionalFactories = this.factory;\n\t\t(realProfile.additionalFactoryTimes =\n\t\t\trealProfile.additionalFactoryTimes || []).push({\n\t\t\tstart: this.factoryStartTime,\n\t\t\tend: this.factoryEndTime\n\t\t});\n\t}\n}\n\nmodule.exports = ModuleProfile;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleProfile.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleRestoreError.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/ModuleRestoreError.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n\nclass ModuleRestoreError extends WebpackError {\n\t/**\n\t * @param {Module} module module tied to dependency\n\t * @param {string | Error} err error thrown\n\t */\n\tconstructor(module, err) {\n\t\tlet message = \"Module restore failed: \";\n\t\tlet details = undefined;\n\t\tif (err !== null && typeof err === \"object\") {\n\t\t\tif (typeof err.stack === \"string\" && err.stack) {\n\t\t\t\tconst stack = err.stack;\n\t\t\t\tmessage += stack;\n\t\t\t} else if (typeof err.message === \"string\" && err.message) {\n\t\t\t\tmessage += err.message;\n\t\t\t} else {\n\t\t\t\tmessage += err;\n\t\t\t}\n\t\t} else {\n\t\t\tmessage += String(err);\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleRestoreError\";\n\t\tthis.details = details;\n\t\tthis.module = module;\n\t\tthis.error = err;\n\t}\n}\n\nmodule.exports = ModuleRestoreError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleRestoreError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleStoreError.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/ModuleStoreError.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Module\")} Module */\n\nclass ModuleStoreError extends WebpackError {\n\t/**\n\t * @param {Module} module module tied to dependency\n\t * @param {string | Error} err error thrown\n\t */\n\tconstructor(module, err) {\n\t\tlet message = \"Module storing failed: \";\n\t\tlet details = undefined;\n\t\tif (err !== null && typeof err === \"object\") {\n\t\t\tif (typeof err.stack === \"string\" && err.stack) {\n\t\t\t\tconst stack = err.stack;\n\t\t\t\tmessage += stack;\n\t\t\t} else if (typeof err.message === \"string\" && err.message) {\n\t\t\t\tmessage += err.message;\n\t\t\t} else {\n\t\t\t\tmessage += err;\n\t\t\t}\n\t\t} else {\n\t\t\tmessage += String(err);\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleStoreError\";\n\t\tthis.details = details;\n\t\tthis.module = module;\n\t\tthis.error = err;\n\t}\n}\n\nmodule.exports = ModuleStoreError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleStoreError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleTemplate.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/ModuleTemplate.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\nconst getJavascriptModulesPlugin = memoize(() =>\n\t__webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\")\n);\n\n// TODO webpack 6: remove this class\nclass ModuleTemplate {\n\t/**\n\t * @param {RuntimeTemplate} runtimeTemplate the runtime template\n\t * @param {Compilation} compilation the compilation\n\t */\n\tconstructor(runtimeTemplate, compilation) {\n\t\tthis._runtimeTemplate = runtimeTemplate;\n\t\tthis.type = \"javascript\";\n\t\tthis.hooks = Object.freeze({\n\t\t\tcontent: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderModuleContent.tap(\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t(source, module, renderContext) =>\n\t\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\trenderContext,\n\t\t\t\t\t\t\t\t\t\trenderContext.dependencyTemplates\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)\",\n\t\t\t\t\t\"DEP_MODULE_TEMPLATE_CONTENT\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tmodule: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderModuleContent.tap(\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t(source, module, renderContext) =>\n\t\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\trenderContext,\n\t\t\t\t\t\t\t\t\t\trenderContext.dependencyTemplates\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)\",\n\t\t\t\t\t\"DEP_MODULE_TEMPLATE_MODULE\"\n\t\t\t\t)\n\t\t\t},\n\t\t\trender: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderModuleContainer.tap(\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t(source, module, renderContext) =>\n\t\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\trenderContext,\n\t\t\t\t\t\t\t\t\t\trenderContext.dependencyTemplates\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)\",\n\t\t\t\t\t\"DEP_MODULE_TEMPLATE_RENDER\"\n\t\t\t\t)\n\t\t\t},\n\t\t\tpackage: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tgetJavascriptModulesPlugin()\n\t\t\t\t\t\t\t.getCompilationHooks(compilation)\n\t\t\t\t\t\t\t.renderModulePackage.tap(\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t(source, module, renderContext) =>\n\t\t\t\t\t\t\t\t\tfn(\n\t\t\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\trenderContext,\n\t\t\t\t\t\t\t\t\t\trenderContext.dependencyTemplates\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\t\"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)\",\n\t\t\t\t\t\"DEP_MODULE_TEMPLATE_PACKAGE\"\n\t\t\t\t)\n\t\t\t},\n\t\t\thash: {\n\t\t\t\ttap: util.deprecate(\n\t\t\t\t\t(options, fn) => {\n\t\t\t\t\t\tcompilation.hooks.fullHash.tap(options, fn);\n\t\t\t\t\t},\n\t\t\t\t\t\"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)\",\n\t\t\t\t\t\"DEP_MODULE_TEMPLATE_HASH\"\n\t\t\t\t)\n\t\t\t}\n\t\t});\n\t}\n}\n\nObject.defineProperty(ModuleTemplate.prototype, \"runtimeTemplate\", {\n\tget: util.deprecate(\n\t\t/**\n\t\t * @this {ModuleTemplate}\n\t\t * @returns {TODO} output options\n\t\t */\n\t\tfunction () {\n\t\t\treturn this._runtimeTemplate;\n\t\t},\n\t\t\"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)\",\n\t\t\"DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS\"\n\t)\n});\n\nmodule.exports = ModuleTemplate;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleTemplate.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ModuleWarning.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ModuleWarning.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { cleanUp } = __webpack_require__(/*! ./ErrorHelpers */ \"./node_modules/webpack/lib/ErrorHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ModuleWarning extends WebpackError {\n\t/**\n\t * @param {Error} warning error thrown\n\t * @param {{from?: string|null}} info additional info\n\t */\n\tconstructor(warning, { from = null } = {}) {\n\t\tlet message = \"Module Warning\";\n\n\t\tif (from) {\n\t\t\tmessage += ` (from ${from}):\\n`;\n\t\t} else {\n\t\t\tmessage += \": \";\n\t\t}\n\n\t\tif (warning && typeof warning === \"object\" && warning.message) {\n\t\t\tmessage += warning.message;\n\t\t} else if (warning) {\n\t\t\tmessage += String(warning);\n\t\t}\n\n\t\tsuper(message);\n\n\t\tthis.name = \"ModuleWarning\";\n\t\tthis.warning = warning;\n\t\tthis.details =\n\t\t\twarning && typeof warning === \"object\" && warning.stack\n\t\t\t\t? cleanUp(warning.stack, this.message)\n\t\t\t\t: undefined;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.warning);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.warning = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ModuleWarning, \"webpack/lib/ModuleWarning\");\n\nmodule.exports = ModuleWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ModuleWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/MultiCompiler.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/MultiCompiler.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst { SyncHook, MultiHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\n\nconst ConcurrentCompilationError = __webpack_require__(/*! ./ConcurrentCompilationError */ \"./node_modules/webpack/lib/ConcurrentCompilationError.js\");\nconst MultiStats = __webpack_require__(/*! ./MultiStats */ \"./node_modules/webpack/lib/MultiStats.js\");\nconst MultiWatching = __webpack_require__(/*! ./MultiWatching */ \"./node_modules/webpack/lib/MultiWatching.js\");\nconst ArrayQueue = __webpack_require__(/*! ./util/ArrayQueue */ \"./node_modules/webpack/lib/util/ArrayQueue.js\");\n\n/** @template T @typedef {import(\"tapable\").AsyncSeriesHook<T>} AsyncSeriesHook<T> */\n/** @template T @template R @typedef {import(\"tapable\").SyncBailHook<T, R>} SyncBailHook<T, R> */\n/** @typedef {import(\"../declarations/WebpackOptions\").WatchOptions} WatchOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Stats\")} Stats */\n/** @typedef {import(\"./Watching\")} Watching */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./util/fs\").IntermediateFileSystem} IntermediateFileSystem */\n/** @typedef {import(\"./util/fs\").OutputFileSystem} OutputFileSystem */\n/** @typedef {import(\"./util/fs\").WatchFileSystem} WatchFileSystem */\n\n/**\n * @template T\n * @callback Callback\n * @param {(Error | null)=} err\n * @param {T=} result\n */\n\n/**\n * @callback RunWithDependenciesHandler\n * @param {Compiler} compiler\n * @param {Callback<MultiStats>} callback\n */\n\n/**\n * @typedef {Object} MultiCompilerOptions\n * @property {number=} parallelism how many Compilers are allows to run at the same time in parallel\n */\n\nmodule.exports = class MultiCompiler {\n\t/**\n\t * @param {Compiler[] | Record<string, Compiler>} compilers child compilers\n\t * @param {MultiCompilerOptions} options options\n\t */\n\tconstructor(compilers, options) {\n\t\tif (!Array.isArray(compilers)) {\n\t\t\tcompilers = Object.keys(compilers).map(name => {\n\t\t\t\tcompilers[name].name = name;\n\t\t\t\treturn compilers[name];\n\t\t\t});\n\t\t}\n\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {SyncHook<[MultiStats]>} */\n\t\t\tdone: new SyncHook([\"stats\"]),\n\t\t\t/** @type {MultiHook<SyncHook<[string | null, number]>>} */\n\t\t\tinvalid: new MultiHook(compilers.map(c => c.hooks.invalid)),\n\t\t\t/** @type {MultiHook<AsyncSeriesHook<[Compiler]>>} */\n\t\t\trun: new MultiHook(compilers.map(c => c.hooks.run)),\n\t\t\t/** @type {SyncHook<[]>} */\n\t\t\twatchClose: new SyncHook([]),\n\t\t\t/** @type {MultiHook<AsyncSeriesHook<[Compiler]>>} */\n\t\t\twatchRun: new MultiHook(compilers.map(c => c.hooks.watchRun)),\n\t\t\t/** @type {MultiHook<SyncBailHook<[string, string, any[]], true>>} */\n\t\t\tinfrastructureLog: new MultiHook(\n\t\t\t\tcompilers.map(c => c.hooks.infrastructureLog)\n\t\t\t)\n\t\t});\n\t\tthis.compilers = compilers;\n\t\t/** @type {MultiCompilerOptions} */\n\t\tthis._options = {\n\t\t\tparallelism: options.parallelism || Infinity\n\t\t};\n\t\t/** @type {WeakMap<Compiler, string[]>} */\n\t\tthis.dependencies = new WeakMap();\n\t\tthis.running = false;\n\n\t\t/** @type {Stats[]} */\n\t\tconst compilerStats = this.compilers.map(() => null);\n\t\tlet doneCompilers = 0;\n\t\tfor (let index = 0; index < this.compilers.length; index++) {\n\t\t\tconst compiler = this.compilers[index];\n\t\t\tconst compilerIndex = index;\n\t\t\tlet compilerDone = false;\n\t\t\tcompiler.hooks.done.tap(\"MultiCompiler\", stats => {\n\t\t\t\tif (!compilerDone) {\n\t\t\t\t\tcompilerDone = true;\n\t\t\t\t\tdoneCompilers++;\n\t\t\t\t}\n\t\t\t\tcompilerStats[compilerIndex] = stats;\n\t\t\t\tif (doneCompilers === this.compilers.length) {\n\t\t\t\t\tthis.hooks.done.call(new MultiStats(compilerStats));\n\t\t\t\t}\n\t\t\t});\n\t\t\tcompiler.hooks.invalid.tap(\"MultiCompiler\", () => {\n\t\t\t\tif (compilerDone) {\n\t\t\t\t\tcompilerDone = false;\n\t\t\t\t\tdoneCompilers--;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tget options() {\n\t\treturn Object.assign(\n\t\t\tthis.compilers.map(c => c.options),\n\t\t\tthis._options\n\t\t);\n\t}\n\n\tget outputPath() {\n\t\tlet commonPath = this.compilers[0].outputPath;\n\t\tfor (const compiler of this.compilers) {\n\t\t\twhile (\n\t\t\t\tcompiler.outputPath.indexOf(commonPath) !== 0 &&\n\t\t\t\t/[/\\\\]/.test(commonPath)\n\t\t\t) {\n\t\t\t\tcommonPath = commonPath.replace(/[/\\\\][^/\\\\]*$/, \"\");\n\t\t\t}\n\t\t}\n\n\t\tif (!commonPath && this.compilers[0].outputPath[0] === \"/\") return \"/\";\n\t\treturn commonPath;\n\t}\n\n\tget inputFileSystem() {\n\t\tthrow new Error(\"Cannot read inputFileSystem of a MultiCompiler\");\n\t}\n\n\tget outputFileSystem() {\n\t\tthrow new Error(\"Cannot read outputFileSystem of a MultiCompiler\");\n\t}\n\n\tget watchFileSystem() {\n\t\tthrow new Error(\"Cannot read watchFileSystem of a MultiCompiler\");\n\t}\n\n\tget intermediateFileSystem() {\n\t\tthrow new Error(\"Cannot read outputFileSystem of a MultiCompiler\");\n\t}\n\n\t/**\n\t * @param {InputFileSystem} value the new input file system\n\t */\n\tset inputFileSystem(value) {\n\t\tfor (const compiler of this.compilers) {\n\t\t\tcompiler.inputFileSystem = value;\n\t\t}\n\t}\n\n\t/**\n\t * @param {OutputFileSystem} value the new output file system\n\t */\n\tset outputFileSystem(value) {\n\t\tfor (const compiler of this.compilers) {\n\t\t\tcompiler.outputFileSystem = value;\n\t\t}\n\t}\n\n\t/**\n\t * @param {WatchFileSystem} value the new watch file system\n\t */\n\tset watchFileSystem(value) {\n\t\tfor (const compiler of this.compilers) {\n\t\t\tcompiler.watchFileSystem = value;\n\t\t}\n\t}\n\n\t/**\n\t * @param {IntermediateFileSystem} value the new intermediate file system\n\t */\n\tset intermediateFileSystem(value) {\n\t\tfor (const compiler of this.compilers) {\n\t\t\tcompiler.intermediateFileSystem = value;\n\t\t}\n\t}\n\n\tgetInfrastructureLogger(name) {\n\t\treturn this.compilers[0].getInfrastructureLogger(name);\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the child compiler\n\t * @param {string[]} dependencies its dependencies\n\t * @returns {void}\n\t */\n\tsetDependencies(compiler, dependencies) {\n\t\tthis.dependencies.set(compiler, dependencies);\n\t}\n\n\t/**\n\t * @param {Callback<MultiStats>} callback signals when the validation is complete\n\t * @returns {boolean} true if the dependencies are valid\n\t */\n\tvalidateDependencies(callback) {\n\t\t/** @type {Set<{source: Compiler, target: Compiler}>} */\n\t\tconst edges = new Set();\n\t\t/** @type {string[]} */\n\t\tconst missing = [];\n\t\tconst targetFound = compiler => {\n\t\t\tfor (const edge of edges) {\n\t\t\t\tif (edge.target === compiler) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t\tconst sortEdges = (e1, e2) => {\n\t\t\treturn (\n\t\t\t\te1.source.name.localeCompare(e2.source.name) ||\n\t\t\t\te1.target.name.localeCompare(e2.target.name)\n\t\t\t);\n\t\t};\n\t\tfor (const source of this.compilers) {\n\t\t\tconst dependencies = this.dependencies.get(source);\n\t\t\tif (dependencies) {\n\t\t\t\tfor (const dep of dependencies) {\n\t\t\t\t\tconst target = this.compilers.find(c => c.name === dep);\n\t\t\t\t\tif (!target) {\n\t\t\t\t\t\tmissing.push(dep);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tedges.add({\n\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\ttarget\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t/** @type {string[]} */\n\t\tconst errors = missing.map(m => `Compiler dependency \\`${m}\\` not found.`);\n\t\tconst stack = this.compilers.filter(c => !targetFound(c));\n\t\twhile (stack.length > 0) {\n\t\t\tconst current = stack.pop();\n\t\t\tfor (const edge of edges) {\n\t\t\t\tif (edge.source === current) {\n\t\t\t\t\tedges.delete(edge);\n\t\t\t\t\tconst target = edge.target;\n\t\t\t\t\tif (!targetFound(target)) {\n\t\t\t\t\t\tstack.push(target);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (edges.size > 0) {\n\t\t\t/** @type {string[]} */\n\t\t\tconst lines = Array.from(edges)\n\t\t\t\t.sort(sortEdges)\n\t\t\t\t.map(edge => `${edge.source.name} -> ${edge.target.name}`);\n\t\t\tlines.unshift(\"Circular dependency found in compiler dependencies.\");\n\t\t\terrors.unshift(lines.join(\"\\n\"));\n\t\t}\n\t\tif (errors.length > 0) {\n\t\t\tconst message = errors.join(\"\\n\");\n\t\t\tcallback(new Error(message));\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t// TODO webpack 6 remove\n\t/**\n\t * @deprecated This method should have been private\n\t * @param {Compiler[]} compilers the child compilers\n\t * @param {RunWithDependenciesHandler} fn a handler to run for each compiler\n\t * @param {Callback<MultiStats>} callback the compiler's handler\n\t * @returns {void}\n\t */\n\trunWithDependencies(compilers, fn, callback) {\n\t\tconst fulfilledNames = new Set();\n\t\tlet remainingCompilers = compilers;\n\t\tconst isDependencyFulfilled = d => fulfilledNames.has(d);\n\t\tconst getReadyCompilers = () => {\n\t\t\tlet readyCompilers = [];\n\t\t\tlet list = remainingCompilers;\n\t\t\tremainingCompilers = [];\n\t\t\tfor (const c of list) {\n\t\t\t\tconst dependencies = this.dependencies.get(c);\n\t\t\t\tconst ready =\n\t\t\t\t\t!dependencies || dependencies.every(isDependencyFulfilled);\n\t\t\t\tif (ready) {\n\t\t\t\t\treadyCompilers.push(c);\n\t\t\t\t} else {\n\t\t\t\t\tremainingCompilers.push(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn readyCompilers;\n\t\t};\n\t\tconst runCompilers = callback => {\n\t\t\tif (remainingCompilers.length === 0) return callback();\n\t\t\tasyncLib.map(\n\t\t\t\tgetReadyCompilers(),\n\t\t\t\t(compiler, callback) => {\n\t\t\t\t\tfn(compiler, err => {\n\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\tfulfilledNames.add(compiler.name);\n\t\t\t\t\t\trunCompilers(callback);\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\tcallback\n\t\t\t);\n\t\t};\n\t\trunCompilers(callback);\n\t}\n\n\t/**\n\t * @template SetupResult\n\t * @param {function(Compiler, number, Callback<Stats>, function(): boolean, function(): void, function(): void): SetupResult} setup setup a single compiler\n\t * @param {function(Compiler, SetupResult, Callback<Stats>): void} run run/continue a single compiler\n\t * @param {Callback<MultiStats>} callback callback when all compilers are done, result includes Stats of all changed compilers\n\t * @returns {SetupResult[]} result of setup\n\t */\n\t_runGraph(setup, run, callback) {\n\t\t/** @typedef {{ compiler: Compiler, setupResult: SetupResult, result: Stats, state: \"pending\" | \"blocked\" | \"queued\" | \"starting\" | \"running\" | \"running-outdated\" | \"done\", children: Node[], parents: Node[] }} Node */\n\n\t\t// State transitions for nodes:\n\t\t// -> blocked (initial)\n\t\t// blocked -> starting [running++] (when all parents done)\n\t\t// queued -> starting [running++] (when processing the queue)\n\t\t// starting -> running (when run has been called)\n\t\t// running -> done [running--] (when compilation is done)\n\t\t// done -> pending (when invalidated from file change)\n\t\t// pending -> blocked [add to queue] (when invalidated from aggregated changes)\n\t\t// done -> blocked [add to queue] (when invalidated, from parent invalidation)\n\t\t// running -> running-outdated (when invalidated, either from change or parent invalidation)\n\t\t// running-outdated -> blocked [running--] (when compilation is done)\n\n\t\t/** @type {Node[]} */\n\t\tconst nodes = this.compilers.map(compiler => ({\n\t\t\tcompiler,\n\t\t\tsetupResult: undefined,\n\t\t\tresult: undefined,\n\t\t\tstate: \"blocked\",\n\t\t\tchildren: [],\n\t\t\tparents: []\n\t\t}));\n\t\t/** @type {Map<string, Node>} */\n\t\tconst compilerToNode = new Map();\n\t\tfor (const node of nodes) compilerToNode.set(node.compiler.name, node);\n\t\tfor (const node of nodes) {\n\t\t\tconst dependencies = this.dependencies.get(node.compiler);\n\t\t\tif (!dependencies) continue;\n\t\t\tfor (const dep of dependencies) {\n\t\t\t\tconst parent = compilerToNode.get(dep);\n\t\t\t\tnode.parents.push(parent);\n\t\t\t\tparent.children.push(node);\n\t\t\t}\n\t\t}\n\t\t/** @type {ArrayQueue<Node>} */\n\t\tconst queue = new ArrayQueue();\n\t\tfor (const node of nodes) {\n\t\t\tif (node.parents.length === 0) {\n\t\t\t\tnode.state = \"queued\";\n\t\t\t\tqueue.enqueue(node);\n\t\t\t}\n\t\t}\n\t\tlet errored = false;\n\t\tlet running = 0;\n\t\tconst parallelism = this._options.parallelism;\n\t\t/**\n\t\t * @param {Node} node node\n\t\t * @param {Error=} err error\n\t\t * @param {Stats=} stats result\n\t\t * @returns {void}\n\t\t */\n\t\tconst nodeDone = (node, err, stats) => {\n\t\t\tif (errored) return;\n\t\t\tif (err) {\n\t\t\t\terrored = true;\n\t\t\t\treturn asyncLib.each(\n\t\t\t\t\tnodes,\n\t\t\t\t\t(node, callback) => {\n\t\t\t\t\t\tif (node.compiler.watching) {\n\t\t\t\t\t\t\tnode.compiler.watching.close(callback);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t() => callback(err)\n\t\t\t\t);\n\t\t\t}\n\t\t\tnode.result = stats;\n\t\t\trunning--;\n\t\t\tif (node.state === \"running\") {\n\t\t\t\tnode.state = \"done\";\n\t\t\t\tfor (const child of node.children) {\n\t\t\t\t\tif (child.state === \"blocked\") queue.enqueue(child);\n\t\t\t\t}\n\t\t\t} else if (node.state === \"running-outdated\") {\n\t\t\t\tnode.state = \"blocked\";\n\t\t\t\tqueue.enqueue(node);\n\t\t\t}\n\t\t\tprocessQueue();\n\t\t};\n\t\t/**\n\t\t * @param {Node} node node\n\t\t * @returns {void}\n\t\t */\n\t\tconst nodeInvalidFromParent = node => {\n\t\t\tif (node.state === \"done\") {\n\t\t\t\tnode.state = \"blocked\";\n\t\t\t} else if (node.state === \"running\") {\n\t\t\t\tnode.state = \"running-outdated\";\n\t\t\t}\n\t\t\tfor (const child of node.children) {\n\t\t\t\tnodeInvalidFromParent(child);\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * @param {Node} node node\n\t\t * @returns {void}\n\t\t */\n\t\tconst nodeInvalid = node => {\n\t\t\tif (node.state === \"done\") {\n\t\t\t\tnode.state = \"pending\";\n\t\t\t} else if (node.state === \"running\") {\n\t\t\t\tnode.state = \"running-outdated\";\n\t\t\t}\n\t\t\tfor (const child of node.children) {\n\t\t\t\tnodeInvalidFromParent(child);\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * @param {Node} node node\n\t\t * @returns {void}\n\t\t */\n\t\tconst nodeChange = node => {\n\t\t\tnodeInvalid(node);\n\t\t\tif (node.state === \"pending\") {\n\t\t\t\tnode.state = \"blocked\";\n\t\t\t}\n\t\t\tif (node.state === \"blocked\") {\n\t\t\t\tqueue.enqueue(node);\n\t\t\t\tprocessQueue();\n\t\t\t}\n\t\t};\n\n\t\tconst setupResults = [];\n\t\tnodes.forEach((node, i) => {\n\t\t\tsetupResults.push(\n\t\t\t\t(node.setupResult = setup(\n\t\t\t\t\tnode.compiler,\n\t\t\t\t\ti,\n\t\t\t\t\tnodeDone.bind(null, node),\n\t\t\t\t\t() => node.state !== \"starting\" && node.state !== \"running\",\n\t\t\t\t\t() => nodeChange(node),\n\t\t\t\t\t() => nodeInvalid(node)\n\t\t\t\t))\n\t\t\t);\n\t\t});\n\t\tlet processing = true;\n\t\tconst processQueue = () => {\n\t\t\tif (processing) return;\n\t\t\tprocessing = true;\n\t\t\tprocess.nextTick(processQueueWorker);\n\t\t};\n\t\tconst processQueueWorker = () => {\n\t\t\twhile (running < parallelism && queue.length > 0 && !errored) {\n\t\t\t\tconst node = queue.dequeue();\n\t\t\t\tif (\n\t\t\t\t\tnode.state === \"queued\" ||\n\t\t\t\t\t(node.state === \"blocked\" &&\n\t\t\t\t\t\tnode.parents.every(p => p.state === \"done\"))\n\t\t\t\t) {\n\t\t\t\t\trunning++;\n\t\t\t\t\tnode.state = \"starting\";\n\t\t\t\t\trun(node.compiler, node.setupResult, nodeDone.bind(null, node));\n\t\t\t\t\tnode.state = \"running\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tprocessing = false;\n\t\t\tif (\n\t\t\t\t!errored &&\n\t\t\t\trunning === 0 &&\n\t\t\t\tnodes.every(node => node.state === \"done\")\n\t\t\t) {\n\t\t\t\tconst stats = [];\n\t\t\t\tfor (const node of nodes) {\n\t\t\t\t\tconst result = node.result;\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\tnode.result = undefined;\n\t\t\t\t\t\tstats.push(result);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (stats.length > 0) {\n\t\t\t\t\tcallback(null, new MultiStats(stats));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tprocessQueueWorker();\n\t\treturn setupResults;\n\t}\n\n\t/**\n\t * @param {WatchOptions|WatchOptions[]} watchOptions the watcher's options\n\t * @param {Callback<MultiStats>} handler signals when the call finishes\n\t * @returns {MultiWatching} a compiler watcher\n\t */\n\twatch(watchOptions, handler) {\n\t\tif (this.running) {\n\t\t\treturn handler(new ConcurrentCompilationError());\n\t\t}\n\t\tthis.running = true;\n\n\t\tif (this.validateDependencies(handler)) {\n\t\t\tconst watchings = this._runGraph(\n\t\t\t\t(compiler, idx, callback, isBlocked, setChanged, setInvalid) => {\n\t\t\t\t\tconst watching = compiler.watch(\n\t\t\t\t\t\tArray.isArray(watchOptions) ? watchOptions[idx] : watchOptions,\n\t\t\t\t\t\tcallback\n\t\t\t\t\t);\n\t\t\t\t\tif (watching) {\n\t\t\t\t\t\twatching._onInvalid = setInvalid;\n\t\t\t\t\t\twatching._onChange = setChanged;\n\t\t\t\t\t\twatching._isBlocked = isBlocked;\n\t\t\t\t\t}\n\t\t\t\t\treturn watching;\n\t\t\t\t},\n\t\t\t\t(compiler, watching, callback) => {\n\t\t\t\t\tif (compiler.watching !== watching) return;\n\t\t\t\t\tif (!watching.running) watching.invalidate();\n\t\t\t\t},\n\t\t\t\thandler\n\t\t\t);\n\t\t\treturn new MultiWatching(watchings, this);\n\t\t}\n\n\t\treturn new MultiWatching([], this);\n\t}\n\n\t/**\n\t * @param {Callback<MultiStats>} callback signals when the call finishes\n\t * @returns {void}\n\t */\n\trun(callback) {\n\t\tif (this.running) {\n\t\t\treturn callback(new ConcurrentCompilationError());\n\t\t}\n\t\tthis.running = true;\n\n\t\tif (this.validateDependencies(callback)) {\n\t\t\tthis._runGraph(\n\t\t\t\t() => {},\n\t\t\t\t(compiler, setupResult, callback) => compiler.run(callback),\n\t\t\t\t(err, stats) => {\n\t\t\t\t\tthis.running = false;\n\n\t\t\t\t\tif (callback !== undefined) {\n\t\t\t\t\t\treturn callback(err, stats);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}\n\n\tpurgeInputFileSystem() {\n\t\tfor (const compiler of this.compilers) {\n\t\t\tif (compiler.inputFileSystem && compiler.inputFileSystem.purge) {\n\t\t\t\tcompiler.inputFileSystem.purge();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the compiler closes\n\t * @returns {void}\n\t */\n\tclose(callback) {\n\t\tasyncLib.each(\n\t\t\tthis.compilers,\n\t\t\t(compiler, callback) => {\n\t\t\t\tcompiler.close(callback);\n\t\t\t},\n\t\t\tcallback\n\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/MultiCompiler.js?"); /***/ }), /***/ "./node_modules/webpack/lib/MultiStats.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/MultiStats.js ***! \************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst identifierUtils = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").StatsOptions} StatsOptions */\n/** @typedef {import(\"./Stats\")} Stats */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").KnownStatsCompilation} KnownStatsCompilation */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsCompilation} StatsCompilation */\n\nconst indent = (str, prefix) => {\n\tconst rem = str.replace(/\\n([^\\n])/g, \"\\n\" + prefix + \"$1\");\n\treturn prefix + rem;\n};\n\nclass MultiStats {\n\t/**\n\t * @param {Stats[]} stats the child stats\n\t */\n\tconstructor(stats) {\n\t\tthis.stats = stats;\n\t}\n\n\tget hash() {\n\t\treturn this.stats.map(stat => stat.hash).join(\"\");\n\t}\n\n\t/**\n\t * @returns {boolean} true if a child compilation encountered an error\n\t */\n\thasErrors() {\n\t\treturn this.stats.some(stat => stat.hasErrors());\n\t}\n\n\t/**\n\t * @returns {boolean} true if a child compilation had a warning\n\t */\n\thasWarnings() {\n\t\treturn this.stats.some(stat => stat.hasWarnings());\n\t}\n\n\t_createChildOptions(options, context) {\n\t\tif (!options) {\n\t\t\toptions = {};\n\t\t}\n\t\tconst { children: childrenOptions = undefined, ...baseOptions } =\n\t\t\ttypeof options === \"string\" ? { preset: options } : options;\n\t\tconst children = this.stats.map((stat, idx) => {\n\t\t\tconst childOptions = Array.isArray(childrenOptions)\n\t\t\t\t? childrenOptions[idx]\n\t\t\t\t: childrenOptions;\n\t\t\treturn stat.compilation.createStatsOptions(\n\t\t\t\t{\n\t\t\t\t\t...baseOptions,\n\t\t\t\t\t...(typeof childOptions === \"string\"\n\t\t\t\t\t\t? { preset: childOptions }\n\t\t\t\t\t\t: childOptions && typeof childOptions === \"object\"\n\t\t\t\t\t\t? childOptions\n\t\t\t\t\t\t: undefined)\n\t\t\t\t},\n\t\t\t\tcontext\n\t\t\t);\n\t\t});\n\t\treturn {\n\t\t\tversion: children.every(o => o.version),\n\t\t\thash: children.every(o => o.hash),\n\t\t\terrorsCount: children.every(o => o.errorsCount),\n\t\t\twarningsCount: children.every(o => o.warningsCount),\n\t\t\terrors: children.every(o => o.errors),\n\t\t\twarnings: children.every(o => o.warnings),\n\t\t\tchildren\n\t\t};\n\t}\n\n\t/**\n\t * @param {any} options stats options\n\t * @returns {StatsCompilation} json output\n\t */\n\ttoJson(options) {\n\t\toptions = this._createChildOptions(options, { forToString: false });\n\t\t/** @type {KnownStatsCompilation} */\n\t\tconst obj = {};\n\t\tobj.children = this.stats.map((stat, idx) => {\n\t\t\tconst obj = stat.toJson(options.children[idx]);\n\t\t\tconst compilationName = stat.compilation.name;\n\t\t\tconst name =\n\t\t\t\tcompilationName &&\n\t\t\t\tidentifierUtils.makePathsRelative(\n\t\t\t\t\toptions.context,\n\t\t\t\t\tcompilationName,\n\t\t\t\t\tstat.compilation.compiler.root\n\t\t\t\t);\n\t\t\tobj.name = name;\n\t\t\treturn obj;\n\t\t});\n\t\tif (options.version) {\n\t\t\tobj.version = obj.children[0].version;\n\t\t}\n\t\tif (options.hash) {\n\t\t\tobj.hash = obj.children.map(j => j.hash).join(\"\");\n\t\t}\n\t\tconst mapError = (j, obj) => {\n\t\t\treturn {\n\t\t\t\t...obj,\n\t\t\t\tcompilerPath: obj.compilerPath\n\t\t\t\t\t? `${j.name}.${obj.compilerPath}`\n\t\t\t\t\t: j.name\n\t\t\t};\n\t\t};\n\t\tif (options.errors) {\n\t\t\tobj.errors = [];\n\t\t\tfor (const j of obj.children) {\n\t\t\t\tfor (const i of j.errors) {\n\t\t\t\t\tobj.errors.push(mapError(j, i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (options.warnings) {\n\t\t\tobj.warnings = [];\n\t\t\tfor (const j of obj.children) {\n\t\t\t\tfor (const i of j.warnings) {\n\t\t\t\t\tobj.warnings.push(mapError(j, i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (options.errorsCount) {\n\t\t\tobj.errorsCount = 0;\n\t\t\tfor (const j of obj.children) {\n\t\t\t\tobj.errorsCount += j.errorsCount;\n\t\t\t}\n\t\t}\n\t\tif (options.warningsCount) {\n\t\t\tobj.warningsCount = 0;\n\t\t\tfor (const j of obj.children) {\n\t\t\t\tobj.warningsCount += j.warningsCount;\n\t\t\t}\n\t\t}\n\t\treturn obj;\n\t}\n\n\ttoString(options) {\n\t\toptions = this._createChildOptions(options, { forToString: true });\n\t\tconst results = this.stats.map((stat, idx) => {\n\t\t\tconst str = stat.toString(options.children[idx]);\n\t\t\tconst compilationName = stat.compilation.name;\n\t\t\tconst name =\n\t\t\t\tcompilationName &&\n\t\t\t\tidentifierUtils\n\t\t\t\t\t.makePathsRelative(\n\t\t\t\t\t\toptions.context,\n\t\t\t\t\t\tcompilationName,\n\t\t\t\t\t\tstat.compilation.compiler.root\n\t\t\t\t\t)\n\t\t\t\t\t.replace(/\\|/g, \" \");\n\t\t\tif (!str) return str;\n\t\t\treturn name ? `${name}:\\n${indent(str, \" \")}` : str;\n\t\t});\n\t\treturn results.filter(Boolean).join(\"\\n\\n\");\n\t}\n}\n\nmodule.exports = MultiStats;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/MultiStats.js?"); /***/ }), /***/ "./node_modules/webpack/lib/MultiWatching.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/MultiWatching.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\n\n/** @typedef {import(\"./MultiCompiler\")} MultiCompiler */\n/** @typedef {import(\"./Watching\")} Watching */\n\n/**\n * @template T\n * @callback Callback\n * @param {(Error | null)=} err\n * @param {T=} result\n */\n\nclass MultiWatching {\n\t/**\n\t * @param {Watching[]} watchings child compilers' watchers\n\t * @param {MultiCompiler} compiler the compiler\n\t */\n\tconstructor(watchings, compiler) {\n\t\tthis.watchings = watchings;\n\t\tthis.compiler = compiler;\n\t}\n\n\tinvalidate(callback) {\n\t\tif (callback) {\n\t\t\tasyncLib.each(\n\t\t\t\tthis.watchings,\n\t\t\t\t(watching, callback) => watching.invalidate(callback),\n\t\t\t\tcallback\n\t\t\t);\n\t\t} else {\n\t\t\tfor (const watching of this.watchings) {\n\t\t\t\twatching.invalidate();\n\t\t\t}\n\t\t}\n\t}\n\n\tsuspend() {\n\t\tfor (const watching of this.watchings) {\n\t\t\twatching.suspend();\n\t\t}\n\t}\n\n\tresume() {\n\t\tfor (const watching of this.watchings) {\n\t\t\twatching.resume();\n\t\t}\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the watcher is closed\n\t * @returns {void}\n\t */\n\tclose(callback) {\n\t\tasyncLib.forEach(\n\t\t\tthis.watchings,\n\t\t\t(watching, finishedCallback) => {\n\t\t\t\twatching.close(finishedCallback);\n\t\t\t},\n\t\t\terr => {\n\t\t\t\tthis.compiler.hooks.watchClose.call();\n\t\t\t\tif (typeof callback === \"function\") {\n\t\t\t\t\tthis.compiler.running = false;\n\t\t\t\t\tcallback(err);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = MultiWatching;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/MultiWatching.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NoEmitOnErrorsPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/NoEmitOnErrorsPlugin.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass NoEmitOnErrorsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.shouldEmit.tap(\"NoEmitOnErrorsPlugin\", compilation => {\n\t\t\tif (compilation.getStats().hasErrors()) return false;\n\t\t});\n\t\tcompiler.hooks.compilation.tap(\"NoEmitOnErrorsPlugin\", compilation => {\n\t\t\tcompilation.hooks.shouldRecord.tap(\"NoEmitOnErrorsPlugin\", () => {\n\t\t\t\tif (compilation.getStats().hasErrors()) return false;\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = NoEmitOnErrorsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NoEmitOnErrorsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NoModeWarning.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/NoModeWarning.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nmodule.exports = class NoModeWarning extends WebpackError {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis.name = \"NoModeWarning\";\n\t\tthis.message =\n\t\t\t\"configuration\\n\" +\n\t\t\t\"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\\n\" +\n\t\t\t\"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\\n\" +\n\t\t\t\"You can also set it to 'none' to disable any default behavior. \" +\n\t\t\t\"Learn more: https://webpack.js.org/configuration/mode/\";\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NoModeWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NodeStuffInWebError.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/NodeStuffInWebError.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n\nclass NodeStuffInWebError extends WebpackError {\n\t/**\n\t * @param {DependencyLocation} loc loc\n\t * @param {string} expression expression\n\t * @param {string} description description\n\t */\n\tconstructor(loc, expression, description) {\n\t\tsuper(\n\t\t\t`${JSON.stringify(\n\t\t\t\texpression\n\t\t\t)} has been used, it will be undefined in next major version.\n${description}`\n\t\t);\n\n\t\tthis.name = \"NodeStuffInWebError\";\n\t\tthis.loc = loc;\n\t}\n}\n\nmakeSerializable(NodeStuffInWebError, \"webpack/lib/NodeStuffInWebError\");\n\nmodule.exports = NodeStuffInWebError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NodeStuffInWebError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NodeStuffPlugin.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/NodeStuffPlugin.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NodeStuffInWebError = __webpack_require__(/*! ./NodeStuffInWebError */ \"./node_modules/webpack/lib/NodeStuffInWebError.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst CachedConstDependency = __webpack_require__(/*! ./dependencies/CachedConstDependency */ \"./node_modules/webpack/lib/dependencies/CachedConstDependency.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst {\n\tevaluateToString,\n\texpressionIsUnsupported\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst { relative } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst { parseResource } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n\nclass NodeStuffPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"NodeStuffPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.node === false) return;\n\n\t\t\t\t\tlet localOptions = options;\n\t\t\t\t\tif (parserOptions.node) {\n\t\t\t\t\t\tlocalOptions = { ...localOptions, ...parserOptions.node };\n\t\t\t\t\t}\n\n\t\t\t\t\tif (localOptions.global !== false) {\n\t\t\t\t\t\tconst withWarning = localOptions.global === \"warn\";\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(\"global\")\n\t\t\t\t\t\t\t.tap(\"NodeStuffPlugin\", expr => {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.global,\n\t\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t\t[RuntimeGlobals.global]\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\n\t\t\t\t\t\t\t\t// TODO webpack 6 remove\n\t\t\t\t\t\t\t\tif (withWarning) {\n\t\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\t\tnew NodeStuffInWebError(\n\t\t\t\t\t\t\t\t\t\t\tdep.loc,\n\t\t\t\t\t\t\t\t\t\t\t\"global\",\n\t\t\t\t\t\t\t\t\t\t\t\"The global namespace object is a Node.js feature and isn't available in browsers.\"\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.rename.for(\"global\").tap(\"NodeStuffPlugin\", expr => {\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\tRuntimeGlobals.global,\n\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t[RuntimeGlobals.global]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tconst setModuleConstant = (expressionName, fn, warning) => {\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(expressionName)\n\t\t\t\t\t\t\t.tap(\"NodeStuffPlugin\", expr => {\n\t\t\t\t\t\t\t\tconst dep = new CachedConstDependency(\n\t\t\t\t\t\t\t\t\tJSON.stringify(fn(parser.state.module)),\n\t\t\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t\t\texpressionName\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\n\t\t\t\t\t\t\t\t// TODO webpack 6 remove\n\t\t\t\t\t\t\t\tif (warning) {\n\t\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\t\tnew NodeStuffInWebError(dep.loc, expressionName, warning)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tconst setConstant = (expressionName, value, warning) =>\n\t\t\t\t\t\tsetModuleConstant(expressionName, () => value, warning);\n\n\t\t\t\t\tconst context = compiler.context;\n\t\t\t\t\tif (localOptions.__filename) {\n\t\t\t\t\t\tswitch (localOptions.__filename) {\n\t\t\t\t\t\t\tcase \"mock\":\n\t\t\t\t\t\t\t\tsetConstant(\"__filename\", \"/index.js\");\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"warn-mock\":\n\t\t\t\t\t\t\t\tsetConstant(\n\t\t\t\t\t\t\t\t\t\"__filename\",\n\t\t\t\t\t\t\t\t\t\"/index.js\",\n\t\t\t\t\t\t\t\t\t\"__filename is a Node.js feature and isn't available in browsers.\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\tsetModuleConstant(\"__filename\", module =>\n\t\t\t\t\t\t\t\t\trelative(compiler.inputFileSystem, context, module.resource)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t\t.for(\"__filename\")\n\t\t\t\t\t\t\t.tap(\"NodeStuffPlugin\", expr => {\n\t\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\t\tconst resource = parseResource(parser.state.module.resource);\n\t\t\t\t\t\t\t\treturn evaluateToString(resource.path)(expr);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif (localOptions.__dirname) {\n\t\t\t\t\t\tswitch (localOptions.__dirname) {\n\t\t\t\t\t\t\tcase \"mock\":\n\t\t\t\t\t\t\t\tsetConstant(\"__dirname\", \"/\");\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"warn-mock\":\n\t\t\t\t\t\t\t\tsetConstant(\n\t\t\t\t\t\t\t\t\t\"__dirname\",\n\t\t\t\t\t\t\t\t\t\"/\",\n\t\t\t\t\t\t\t\t\t\"__dirname is a Node.js feature and isn't available in browsers.\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\tsetModuleConstant(\"__dirname\", module =>\n\t\t\t\t\t\t\t\t\trelative(compiler.inputFileSystem, context, module.context)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t\t.for(\"__dirname\")\n\t\t\t\t\t\t\t.tap(\"NodeStuffPlugin\", expr => {\n\t\t\t\t\t\t\t\tif (!parser.state.module) return;\n\t\t\t\t\t\t\t\treturn evaluateToString(parser.state.module.context)(expr);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"require.extensions\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"NodeStuffPlugin\",\n\t\t\t\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\t\"require.extensions is not supported by webpack. Use a loader instead.\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"NodeStuffPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"NodeStuffPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = NodeStuffPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NodeStuffPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NormalModule.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/NormalModule.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst parseJson = __webpack_require__(/*! json-parse-even-better-errors */ \"./node_modules/json-parse-even-better-errors/index.js\");\nconst { getContext, runLoaders } = __webpack_require__(/*! loader-runner */ \"./node_modules/loader-runner/lib/LoaderRunner.js\");\nconst querystring = __webpack_require__(/*! querystring */ \"?8c64\");\nconst { HookMap, SyncHook, AsyncSeriesBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst {\n\tCachedSource,\n\tOriginalSource,\n\tRawSource,\n\tSourceMapSource\n} = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst HookWebpackError = __webpack_require__(/*! ./HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst ModuleBuildError = __webpack_require__(/*! ./ModuleBuildError */ \"./node_modules/webpack/lib/ModuleBuildError.js\");\nconst ModuleError = __webpack_require__(/*! ./ModuleError */ \"./node_modules/webpack/lib/ModuleError.js\");\nconst ModuleGraphConnection = __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\nconst ModuleParseError = __webpack_require__(/*! ./ModuleParseError */ \"./node_modules/webpack/lib/ModuleParseError.js\");\nconst ModuleWarning = __webpack_require__(/*! ./ModuleWarning */ \"./node_modules/webpack/lib/ModuleWarning.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst UnhandledSchemeError = __webpack_require__(/*! ./UnhandledSchemeError */ \"./node_modules/webpack/lib/UnhandledSchemeError.js\");\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst formatLocation = __webpack_require__(/*! ./formatLocation */ \"./node_modules/webpack/lib/formatLocation.js\");\nconst LazySet = __webpack_require__(/*! ./util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst { isSubset } = __webpack_require__(/*! ./util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst { getScheme } = __webpack_require__(/*! ./util/URLAbsoluteSpecifier */ \"./node_modules/webpack/lib/util/URLAbsoluteSpecifier.js\");\nconst {\n\tcompareLocations,\n\tconcatComparators,\n\tcompareSelect,\n\tkeepOriginalOrder\n} = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { createFakeHook } = __webpack_require__(/*! ./util/deprecation */ \"./node_modules/webpack/lib/util/deprecation.js\");\nconst { join } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst {\n\tcontextify,\n\tabsolutify,\n\tmakePathsRelative\n} = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/LoaderContext\").NormalModuleLoaderContext} NormalModuleLoaderContext */\n/** @typedef {import(\"../declarations/WebpackOptions\").Mode} Mode */\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Generator\")} Generator */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"./Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"./NormalModuleFactory\")} NormalModuleFactory */\n/** @typedef {import(\"./Parser\")} Parser */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./logging/Logger\").Logger} WebpackLogger */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} SourceMap\n * @property {number} version\n * @property {string[]} sources\n * @property {string} mappings\n * @property {string=} file\n * @property {string=} sourceRoot\n * @property {string[]=} sourcesContent\n * @property {string[]=} names\n */\n\nconst getInvalidDependenciesModuleWarning = memoize(() =>\n\t__webpack_require__(/*! ./InvalidDependenciesModuleWarning */ \"./node_modules/webpack/lib/InvalidDependenciesModuleWarning.js\")\n);\nconst getValidate = memoize(() => (__webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\").validate));\n\nconst ABSOLUTE_PATH_REGEX = /^([a-zA-Z]:\\\\|\\\\\\\\|\\/)/;\n\n/**\n * @typedef {Object} LoaderItem\n * @property {string} loader\n * @property {any} options\n * @property {string?} ident\n * @property {string?} type\n */\n\n/**\n * @param {string} context absolute context path\n * @param {string} source a source path\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} new source path\n */\nconst contextifySourceUrl = (context, source, associatedObjectForCache) => {\n\tif (source.startsWith(\"webpack://\")) return source;\n\treturn `webpack://${makePathsRelative(\n\t\tcontext,\n\t\tsource,\n\t\tassociatedObjectForCache\n\t)}`;\n};\n\n/**\n * @param {string} context absolute context path\n * @param {SourceMap} sourceMap a source map\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {SourceMap} new source map\n */\nconst contextifySourceMap = (context, sourceMap, associatedObjectForCache) => {\n\tif (!Array.isArray(sourceMap.sources)) return sourceMap;\n\tconst { sourceRoot } = sourceMap;\n\t/** @type {function(string): string} */\n\tconst mapper = !sourceRoot\n\t\t? source => source\n\t\t: sourceRoot.endsWith(\"/\")\n\t\t? source =>\n\t\t\t\tsource.startsWith(\"/\")\n\t\t\t\t\t? `${sourceRoot.slice(0, -1)}${source}`\n\t\t\t\t\t: `${sourceRoot}${source}`\n\t\t: source =>\n\t\t\t\tsource.startsWith(\"/\")\n\t\t\t\t\t? `${sourceRoot}${source}`\n\t\t\t\t\t: `${sourceRoot}/${source}`;\n\tconst newSources = sourceMap.sources.map(source =>\n\t\tcontextifySourceUrl(context, mapper(source), associatedObjectForCache)\n\t);\n\treturn {\n\t\t...sourceMap,\n\t\tfile: \"x\",\n\t\tsourceRoot: undefined,\n\t\tsources: newSources\n\t};\n};\n\n/**\n * @param {string | Buffer} input the input\n * @returns {string} the converted string\n */\nconst asString = input => {\n\tif (Buffer.isBuffer(input)) {\n\t\treturn input.toString(\"utf-8\");\n\t}\n\treturn input;\n};\n\n/**\n * @param {string | Buffer} input the input\n * @returns {Buffer} the converted buffer\n */\nconst asBuffer = input => {\n\tif (!Buffer.isBuffer(input)) {\n\t\treturn Buffer.from(input, \"utf-8\");\n\t}\n\treturn input;\n};\n\nclass NonErrorEmittedError extends WebpackError {\n\tconstructor(error) {\n\t\tsuper();\n\n\t\tthis.name = \"NonErrorEmittedError\";\n\t\tthis.message = \"(Emitted value instead of an instance of Error) \" + error;\n\t}\n}\n\nmakeSerializable(\n\tNonErrorEmittedError,\n\t\"webpack/lib/NormalModule\",\n\t\"NonErrorEmittedError\"\n);\n\n/**\n * @typedef {Object} NormalModuleCompilationHooks\n * @property {SyncHook<[object, NormalModule]>} loader\n * @property {SyncHook<[LoaderItem[], NormalModule, object]>} beforeLoaders\n * @property {SyncHook<[NormalModule]>} beforeParse\n * @property {SyncHook<[NormalModule]>} beforeSnapshot\n * @property {HookMap<AsyncSeriesBailHook<[string, NormalModule], string | Buffer>>} readResourceForScheme\n * @property {HookMap<AsyncSeriesBailHook<[object], string | Buffer>>} readResource\n * @property {AsyncSeriesBailHook<[NormalModule, NeedBuildContext], boolean>} needBuild\n */\n\n/**\n * @typedef {Object} NormalModuleCreateData\n * @property {string=} layer an optional layer in which the module is\n * @property {string} type module type\n * @property {string} request request string\n * @property {string} userRequest request intended by user (without loaders from config)\n * @property {string} rawRequest request without resolving\n * @property {LoaderItem[]} loaders list of loaders\n * @property {string} resource path + query of the real resource\n * @property {Record<string, any>=} resourceResolveData resource resolve data\n * @property {string} context context directory for resolving\n * @property {string=} matchResource path + query of the matched resource (virtual)\n * @property {Parser} parser the parser used\n * @property {Record<string, any>=} parserOptions the options of the parser used\n * @property {Generator} generator the generator used\n * @property {Record<string, any>=} generatorOptions the options of the generator used\n * @property {ResolveOptions=} resolveOptions options used for resolving requests from this module\n */\n\n/** @type {WeakMap<Compilation, NormalModuleCompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass NormalModule extends Module {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {NormalModuleCompilationHooks} the attached hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tloader: new SyncHook([\"loaderContext\", \"module\"]),\n\t\t\t\tbeforeLoaders: new SyncHook([\"loaders\", \"module\", \"loaderContext\"]),\n\t\t\t\tbeforeParse: new SyncHook([\"module\"]),\n\t\t\t\tbeforeSnapshot: new SyncHook([\"module\"]),\n\t\t\t\t// TODO webpack 6 deprecate\n\t\t\t\treadResourceForScheme: new HookMap(scheme => {\n\t\t\t\t\tconst hook = hooks.readResource.for(scheme);\n\t\t\t\t\treturn createFakeHook(\n\t\t\t\t\t\t/** @type {AsyncSeriesBailHook<[string, NormalModule], string | Buffer>} */ ({\n\t\t\t\t\t\t\ttap: (options, fn) =>\n\t\t\t\t\t\t\t\thook.tap(options, loaderContext =>\n\t\t\t\t\t\t\t\t\tfn(loaderContext.resource, loaderContext._module)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\ttapAsync: (options, fn) =>\n\t\t\t\t\t\t\t\thook.tapAsync(options, (loaderContext, callback) =>\n\t\t\t\t\t\t\t\t\tfn(loaderContext.resource, loaderContext._module, callback)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\ttapPromise: (options, fn) =>\n\t\t\t\t\t\t\t\thook.tapPromise(options, loaderContext =>\n\t\t\t\t\t\t\t\t\tfn(loaderContext.resource, loaderContext._module)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t}),\n\t\t\t\treadResource: new HookMap(\n\t\t\t\t\t() => new AsyncSeriesBailHook([\"loaderContext\"])\n\t\t\t\t),\n\t\t\t\tneedBuild: new AsyncSeriesBailHook([\"module\", \"context\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\t/**\n\t * @param {NormalModuleCreateData} options options object\n\t */\n\tconstructor({\n\t\tlayer,\n\t\ttype,\n\t\trequest,\n\t\tuserRequest,\n\t\trawRequest,\n\t\tloaders,\n\t\tresource,\n\t\tresourceResolveData,\n\t\tcontext,\n\t\tmatchResource,\n\t\tparser,\n\t\tparserOptions,\n\t\tgenerator,\n\t\tgeneratorOptions,\n\t\tresolveOptions\n\t}) {\n\t\tsuper(type, context || getContext(resource), layer);\n\n\t\t// Info from Factory\n\t\t/** @type {string} */\n\t\tthis.request = request;\n\t\t/** @type {string} */\n\t\tthis.userRequest = userRequest;\n\t\t/** @type {string} */\n\t\tthis.rawRequest = rawRequest;\n\t\t/** @type {boolean} */\n\t\tthis.binary = /^(asset|webassembly)\\b/.test(type);\n\t\t/** @type {Parser} */\n\t\tthis.parser = parser;\n\t\tthis.parserOptions = parserOptions;\n\t\t/** @type {Generator} */\n\t\tthis.generator = generator;\n\t\tthis.generatorOptions = generatorOptions;\n\t\t/** @type {string} */\n\t\tthis.resource = resource;\n\t\tthis.resourceResolveData = resourceResolveData;\n\t\t/** @type {string | undefined} */\n\t\tthis.matchResource = matchResource;\n\t\t/** @type {LoaderItem[]} */\n\t\tthis.loaders = loaders;\n\t\tif (resolveOptions !== undefined) {\n\t\t\t// already declared in super class\n\t\t\tthis.resolveOptions = resolveOptions;\n\t\t}\n\n\t\t// Info from Build\n\t\t/** @type {(WebpackError | null)=} */\n\t\tthis.error = null;\n\t\t/** @private @type {Source=} */\n\t\tthis._source = null;\n\t\t/** @private @type {Map<string, number> | undefined} **/\n\t\tthis._sourceSizes = undefined;\n\t\t/** @private @type {Set<string>} */\n\t\tthis._sourceTypes = undefined;\n\n\t\t// Cache\n\t\tthis._lastSuccessfulBuildMeta = {};\n\t\tthis._forceBuild = true;\n\t\tthis._isEvaluatingSideEffects = false;\n\t\t/** @type {WeakSet<ModuleGraph> | undefined} */\n\t\tthis._addedSideEffectsBailout = undefined;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\tif (this.layer === null) {\n\t\t\tif (this.type === \"javascript/auto\") {\n\t\t\t\treturn this.request;\n\t\t\t} else {\n\t\t\t\treturn `${this.type}|${this.request}`;\n\t\t\t}\n\t\t} else {\n\t\t\treturn `${this.type}|${this.request}|${this.layer}`;\n\t\t}\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn requestShortener.shorten(this.userRequest);\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\tlet ident = contextify(\n\t\t\toptions.context,\n\t\t\tthis.userRequest,\n\t\t\toptions.associatedObjectForCache\n\t\t);\n\t\tif (this.layer) ident = `(${this.layer})/${ident}`;\n\t\treturn ident;\n\t}\n\n\t/**\n\t * @returns {string | null} absolute path which should be used for condition matching (usually the resource path)\n\t */\n\tnameForCondition() {\n\t\tconst resource = this.matchResource || this.resource;\n\t\tconst idx = resource.indexOf(\"?\");\n\t\tif (idx >= 0) return resource.slice(0, idx);\n\t\treturn resource;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tsuper.updateCacheModule(module);\n\t\tconst m = /** @type {NormalModule} */ (module);\n\t\tthis.binary = m.binary;\n\t\tthis.request = m.request;\n\t\tthis.userRequest = m.userRequest;\n\t\tthis.rawRequest = m.rawRequest;\n\t\tthis.parser = m.parser;\n\t\tthis.parserOptions = m.parserOptions;\n\t\tthis.generator = m.generator;\n\t\tthis.generatorOptions = m.generatorOptions;\n\t\tthis.resource = m.resource;\n\t\tthis.resourceResolveData = m.resourceResolveData;\n\t\tthis.context = m.context;\n\t\tthis.matchResource = m.matchResource;\n\t\tthis.loaders = m.loaders;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Remove internal references to allow freeing some memory.\n\t */\n\tcleanupForCache() {\n\t\t// Make sure to cache types and sizes before cleanup when this module has been built\n\t\t// They are accessed by the stats and we don't want them to crash after cleanup\n\t\t// TODO reconsider this for webpack 6\n\t\tif (this.buildInfo) {\n\t\t\tif (this._sourceTypes === undefined) this.getSourceTypes();\n\t\t\tfor (const type of this._sourceTypes) {\n\t\t\t\tthis.size(type);\n\t\t\t}\n\t\t}\n\t\tsuper.cleanupForCache();\n\t\tthis.parser = undefined;\n\t\tthis.parserOptions = undefined;\n\t\tthis.generator = undefined;\n\t\tthis.generatorOptions = undefined;\n\t}\n\n\t/**\n\t * Module should be unsafe cached. Get data that's needed for that.\n\t * This data will be passed to restoreFromUnsafeCache later.\n\t * @returns {object} cached data\n\t */\n\tgetUnsafeCacheData() {\n\t\tconst data = super.getUnsafeCacheData();\n\t\tdata.parserOptions = this.parserOptions;\n\t\tdata.generatorOptions = this.generatorOptions;\n\t\treturn data;\n\t}\n\n\trestoreFromUnsafeCache(unsafeCacheData, normalModuleFactory) {\n\t\tthis._restoreFromUnsafeCache(unsafeCacheData, normalModuleFactory);\n\t}\n\n\t/**\n\t * restore unsafe cache data\n\t * @param {object} unsafeCacheData data from getUnsafeCacheData\n\t * @param {NormalModuleFactory} normalModuleFactory the normal module factory handling the unsafe caching\n\t */\n\t_restoreFromUnsafeCache(unsafeCacheData, normalModuleFactory) {\n\t\tsuper._restoreFromUnsafeCache(unsafeCacheData, normalModuleFactory);\n\t\tthis.parserOptions = unsafeCacheData.parserOptions;\n\t\tthis.parser = normalModuleFactory.getParser(this.type, this.parserOptions);\n\t\tthis.generatorOptions = unsafeCacheData.generatorOptions;\n\t\tthis.generator = normalModuleFactory.getGenerator(\n\t\t\tthis.type,\n\t\t\tthis.generatorOptions\n\t\t);\n\t\t// we assume the generator behaves identically and keep cached sourceTypes/Sizes\n\t}\n\n\t/**\n\t * @param {string} context the compilation context\n\t * @param {string} name the asset name\n\t * @param {string} content the content\n\t * @param {string | TODO} sourceMap an optional source map\n\t * @param {Object=} associatedObjectForCache object for caching\n\t * @returns {Source} the created source\n\t */\n\tcreateSourceForAsset(\n\t\tcontext,\n\t\tname,\n\t\tcontent,\n\t\tsourceMap,\n\t\tassociatedObjectForCache\n\t) {\n\t\tif (sourceMap) {\n\t\t\tif (\n\t\t\t\ttypeof sourceMap === \"string\" &&\n\t\t\t\t(this.useSourceMap || this.useSimpleSourceMap)\n\t\t\t) {\n\t\t\t\treturn new OriginalSource(\n\t\t\t\t\tcontent,\n\t\t\t\t\tcontextifySourceUrl(context, sourceMap, associatedObjectForCache)\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (this.useSourceMap) {\n\t\t\t\treturn new SourceMapSource(\n\t\t\t\t\tcontent,\n\t\t\t\t\tname,\n\t\t\t\t\tcontextifySourceMap(context, sourceMap, associatedObjectForCache)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\treturn new RawSource(content);\n\t}\n\n\t/**\n\t * @param {ResolverWithOptions} resolver a resolver\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {InputFileSystem} fs file system from reading\n\t * @param {NormalModuleCompilationHooks} hooks the hooks\n\t * @returns {NormalModuleLoaderContext} loader context\n\t */\n\t_createLoaderContext(resolver, options, compilation, fs, hooks) {\n\t\tconst { requestShortener } = compilation.runtimeTemplate;\n\t\tconst getCurrentLoaderName = () => {\n\t\t\tconst currentLoader = this.getCurrentLoader(loaderContext);\n\t\t\tif (!currentLoader) return \"(not in loader scope)\";\n\t\t\treturn requestShortener.shorten(currentLoader.loader);\n\t\t};\n\t\tconst getResolveContext = () => {\n\t\t\treturn {\n\t\t\t\tfileDependencies: {\n\t\t\t\t\tadd: d => loaderContext.addDependency(d)\n\t\t\t\t},\n\t\t\t\tcontextDependencies: {\n\t\t\t\t\tadd: d => loaderContext.addContextDependency(d)\n\t\t\t\t},\n\t\t\t\tmissingDependencies: {\n\t\t\t\t\tadd: d => loaderContext.addMissingDependency(d)\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t\tconst getAbsolutify = memoize(() =>\n\t\t\tabsolutify.bindCache(compilation.compiler.root)\n\t\t);\n\t\tconst getAbsolutifyInContext = memoize(() =>\n\t\t\tabsolutify.bindContextCache(this.context, compilation.compiler.root)\n\t\t);\n\t\tconst getContextify = memoize(() =>\n\t\t\tcontextify.bindCache(compilation.compiler.root)\n\t\t);\n\t\tconst getContextifyInContext = memoize(() =>\n\t\t\tcontextify.bindContextCache(this.context, compilation.compiler.root)\n\t\t);\n\t\tconst utils = {\n\t\t\tabsolutify: (context, request) => {\n\t\t\t\treturn context === this.context\n\t\t\t\t\t? getAbsolutifyInContext()(request)\n\t\t\t\t\t: getAbsolutify()(context, request);\n\t\t\t},\n\t\t\tcontextify: (context, request) => {\n\t\t\t\treturn context === this.context\n\t\t\t\t\t? getContextifyInContext()(request)\n\t\t\t\t\t: getContextify()(context, request);\n\t\t\t},\n\t\t\tcreateHash: type => {\n\t\t\t\treturn createHash(type || compilation.outputOptions.hashFunction);\n\t\t\t}\n\t\t};\n\t\tconst loaderContext = {\n\t\t\tversion: 2,\n\t\t\tgetOptions: schema => {\n\t\t\t\tconst loader = this.getCurrentLoader(loaderContext);\n\n\t\t\t\tlet { options } = loader;\n\n\t\t\t\tif (typeof options === \"string\") {\n\t\t\t\t\tif (options.startsWith(\"{\") && options.endsWith(\"}\")) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\toptions = parseJson(options);\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\tthrow new Error(`Cannot parse string options: ${e.message}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\toptions = querystring.parse(options, \"&\", \"=\", {\n\t\t\t\t\t\t\tmaxKeys: 0\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (options === null || options === undefined) {\n\t\t\t\t\toptions = {};\n\t\t\t\t}\n\n\t\t\t\tif (schema) {\n\t\t\t\t\tlet name = \"Loader\";\n\t\t\t\t\tlet baseDataPath = \"options\";\n\t\t\t\t\tlet match;\n\t\t\t\t\tif (schema.title && (match = /^(.+) (.+)$/.exec(schema.title))) {\n\t\t\t\t\t\t[, name, baseDataPath] = match;\n\t\t\t\t\t}\n\t\t\t\t\tgetValidate()(schema, options, {\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tbaseDataPath\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\treturn options;\n\t\t\t},\n\t\t\temitWarning: warning => {\n\t\t\t\tif (!(warning instanceof Error)) {\n\t\t\t\t\twarning = new NonErrorEmittedError(warning);\n\t\t\t\t}\n\t\t\t\tthis.addWarning(\n\t\t\t\t\tnew ModuleWarning(warning, {\n\t\t\t\t\t\tfrom: getCurrentLoaderName()\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t},\n\t\t\temitError: error => {\n\t\t\t\tif (!(error instanceof Error)) {\n\t\t\t\t\terror = new NonErrorEmittedError(error);\n\t\t\t\t}\n\t\t\t\tthis.addError(\n\t\t\t\t\tnew ModuleError(error, {\n\t\t\t\t\t\tfrom: getCurrentLoaderName()\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t},\n\t\t\tgetLogger: name => {\n\t\t\t\tconst currentLoader = this.getCurrentLoader(loaderContext);\n\t\t\t\treturn compilation.getLogger(() =>\n\t\t\t\t\t[currentLoader && currentLoader.loader, name, this.identifier()]\n\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t\t.join(\"|\")\n\t\t\t\t);\n\t\t\t},\n\t\t\tresolve(context, request, callback) {\n\t\t\t\tresolver.resolve({}, context, request, getResolveContext(), callback);\n\t\t\t},\n\t\t\tgetResolve(options) {\n\t\t\t\tconst child = options ? resolver.withOptions(options) : resolver;\n\t\t\t\treturn (context, request, callback) => {\n\t\t\t\t\tif (callback) {\n\t\t\t\t\t\tchild.resolve({}, context, request, getResolveContext(), callback);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t\t\tchild.resolve(\n\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\tgetResolveContext(),\n\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\tif (err) reject(err);\n\t\t\t\t\t\t\t\t\telse resolve(result);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t},\n\t\t\temitFile: (name, content, sourceMap, assetInfo) => {\n\t\t\t\tif (!this.buildInfo.assets) {\n\t\t\t\t\tthis.buildInfo.assets = Object.create(null);\n\t\t\t\t\tthis.buildInfo.assetsInfo = new Map();\n\t\t\t\t}\n\t\t\t\tthis.buildInfo.assets[name] = this.createSourceForAsset(\n\t\t\t\t\toptions.context,\n\t\t\t\t\tname,\n\t\t\t\t\tcontent,\n\t\t\t\t\tsourceMap,\n\t\t\t\t\tcompilation.compiler.root\n\t\t\t\t);\n\t\t\t\tthis.buildInfo.assetsInfo.set(name, assetInfo);\n\t\t\t},\n\t\t\taddBuildDependency: dep => {\n\t\t\t\tif (this.buildInfo.buildDependencies === undefined) {\n\t\t\t\t\tthis.buildInfo.buildDependencies = new LazySet();\n\t\t\t\t}\n\t\t\t\tthis.buildInfo.buildDependencies.add(dep);\n\t\t\t},\n\t\t\tutils,\n\t\t\trootContext: options.context,\n\t\t\twebpack: true,\n\t\t\tsourceMap: !!this.useSourceMap,\n\t\t\tmode: options.mode || \"production\",\n\t\t\t_module: this,\n\t\t\t_compilation: compilation,\n\t\t\t_compiler: compilation.compiler,\n\t\t\tfs: fs\n\t\t};\n\n\t\tObject.assign(loaderContext, options.loader);\n\n\t\thooks.loader.call(loaderContext, this);\n\n\t\treturn loaderContext;\n\t}\n\n\tgetCurrentLoader(loaderContext, index = loaderContext.loaderIndex) {\n\t\tif (\n\t\t\tthis.loaders &&\n\t\t\tthis.loaders.length &&\n\t\t\tindex < this.loaders.length &&\n\t\t\tindex >= 0 &&\n\t\t\tthis.loaders[index]\n\t\t) {\n\t\t\treturn this.loaders[index];\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {string} context the compilation context\n\t * @param {string | Buffer} content the content\n\t * @param {string | TODO} sourceMap an optional source map\n\t * @param {Object=} associatedObjectForCache object for caching\n\t * @returns {Source} the created source\n\t */\n\tcreateSource(context, content, sourceMap, associatedObjectForCache) {\n\t\tif (Buffer.isBuffer(content)) {\n\t\t\treturn new RawSource(content);\n\t\t}\n\n\t\t// if there is no identifier return raw source\n\t\tif (!this.identifier) {\n\t\t\treturn new RawSource(content);\n\t\t}\n\n\t\t// from here on we assume we have an identifier\n\t\tconst identifier = this.identifier();\n\n\t\tif (this.useSourceMap && sourceMap) {\n\t\t\treturn new SourceMapSource(\n\t\t\t\tcontent,\n\t\t\t\tcontextifySourceUrl(context, identifier, associatedObjectForCache),\n\t\t\t\tcontextifySourceMap(context, sourceMap, associatedObjectForCache)\n\t\t\t);\n\t\t}\n\n\t\tif (this.useSourceMap || this.useSimpleSourceMap) {\n\t\t\treturn new OriginalSource(\n\t\t\t\tcontent,\n\t\t\t\tcontextifySourceUrl(context, identifier, associatedObjectForCache)\n\t\t\t);\n\t\t}\n\n\t\treturn new RawSource(content);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {NormalModuleCompilationHooks} hooks the hooks\n\t * @param {function((WebpackError | null)=): void} callback callback function\n\t * @returns {void}\n\t */\n\t_doBuild(options, compilation, resolver, fs, hooks, callback) {\n\t\tconst loaderContext = this._createLoaderContext(\n\t\t\tresolver,\n\t\t\toptions,\n\t\t\tcompilation,\n\t\t\tfs,\n\t\t\thooks\n\t\t);\n\n\t\tconst processResult = (err, result) => {\n\t\t\tif (err) {\n\t\t\t\tif (!(err instanceof Error)) {\n\t\t\t\t\terr = new NonErrorEmittedError(err);\n\t\t\t\t}\n\t\t\t\tconst currentLoader = this.getCurrentLoader(loaderContext);\n\t\t\t\tconst error = new ModuleBuildError(err, {\n\t\t\t\t\tfrom:\n\t\t\t\t\t\tcurrentLoader &&\n\t\t\t\t\t\tcompilation.runtimeTemplate.requestShortener.shorten(\n\t\t\t\t\t\t\tcurrentLoader.loader\n\t\t\t\t\t\t)\n\t\t\t\t});\n\t\t\t\treturn callback(error);\n\t\t\t}\n\n\t\t\tconst source = result[0];\n\t\t\tconst sourceMap = result.length >= 1 ? result[1] : null;\n\t\t\tconst extraInfo = result.length >= 2 ? result[2] : null;\n\n\t\t\tif (!Buffer.isBuffer(source) && typeof source !== \"string\") {\n\t\t\t\tconst currentLoader = this.getCurrentLoader(loaderContext, 0);\n\t\t\t\tconst err = new Error(\n\t\t\t\t\t`Final loader (${\n\t\t\t\t\t\tcurrentLoader\n\t\t\t\t\t\t\t? compilation.runtimeTemplate.requestShortener.shorten(\n\t\t\t\t\t\t\t\t\tcurrentLoader.loader\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: \"unknown\"\n\t\t\t\t\t}) didn't return a Buffer or String`\n\t\t\t\t);\n\t\t\t\tconst error = new ModuleBuildError(err);\n\t\t\t\treturn callback(error);\n\t\t\t}\n\n\t\t\tthis._source = this.createSource(\n\t\t\t\toptions.context,\n\t\t\t\tthis.binary ? asBuffer(source) : asString(source),\n\t\t\t\tsourceMap,\n\t\t\t\tcompilation.compiler.root\n\t\t\t);\n\t\t\tif (this._sourceSizes !== undefined) this._sourceSizes.clear();\n\t\t\tthis._ast =\n\t\t\t\ttypeof extraInfo === \"object\" &&\n\t\t\t\textraInfo !== null &&\n\t\t\t\textraInfo.webpackAST !== undefined\n\t\t\t\t\t? extraInfo.webpackAST\n\t\t\t\t\t: null;\n\t\t\treturn callback();\n\t\t};\n\n\t\tthis.buildInfo.fileDependencies = new LazySet();\n\t\tthis.buildInfo.contextDependencies = new LazySet();\n\t\tthis.buildInfo.missingDependencies = new LazySet();\n\t\tthis.buildInfo.cacheable = true;\n\n\t\ttry {\n\t\t\thooks.beforeLoaders.call(this.loaders, this, loaderContext);\n\t\t} catch (err) {\n\t\t\tprocessResult(err);\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.loaders.length > 0) {\n\t\t\tthis.buildInfo.buildDependencies = new LazySet();\n\t\t}\n\n\t\trunLoaders(\n\t\t\t{\n\t\t\t\tresource: this.resource,\n\t\t\t\tloaders: this.loaders,\n\t\t\t\tcontext: loaderContext,\n\t\t\t\tprocessResource: (loaderContext, resourcePath, callback) => {\n\t\t\t\t\tconst resource = loaderContext.resource;\n\t\t\t\t\tconst scheme = getScheme(resource);\n\t\t\t\t\thooks.readResource\n\t\t\t\t\t\t.for(scheme)\n\t\t\t\t\t\t.callAsync(loaderContext, (err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (typeof result !== \"string\" && !result) {\n\t\t\t\t\t\t\t\treturn callback(new UnhandledSchemeError(scheme, resource));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\t(err, result) => {\n\t\t\t\t// Cleanup loaderContext to avoid leaking memory in ICs\n\t\t\t\tloaderContext._compilation =\n\t\t\t\t\tloaderContext._compiler =\n\t\t\t\t\tloaderContext._module =\n\t\t\t\t\tloaderContext.fs =\n\t\t\t\t\t\tundefined;\n\n\t\t\t\tif (!result) {\n\t\t\t\t\tthis.buildInfo.cacheable = false;\n\t\t\t\t\treturn processResult(\n\t\t\t\t\t\terr || new Error(\"No result from loader-runner processing\"),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tthis.buildInfo.fileDependencies.addAll(result.fileDependencies);\n\t\t\t\tthis.buildInfo.contextDependencies.addAll(result.contextDependencies);\n\t\t\t\tthis.buildInfo.missingDependencies.addAll(result.missingDependencies);\n\t\t\t\tfor (const loader of this.loaders) {\n\t\t\t\t\tthis.buildInfo.buildDependencies.add(loader.loader);\n\t\t\t\t}\n\t\t\t\tthis.buildInfo.cacheable = this.buildInfo.cacheable && result.cacheable;\n\t\t\t\tprocessResult(err, result.result);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {WebpackError} error the error\n\t * @returns {void}\n\t */\n\tmarkModuleAsErrored(error) {\n\t\t// Restore build meta from successful build to keep importing state\n\t\tthis.buildMeta = { ...this._lastSuccessfulBuildMeta };\n\t\tthis.error = error;\n\t\tthis.addError(error);\n\t}\n\n\tapplyNoParseRule(rule, content) {\n\t\t// must start with \"rule\" if rule is a string\n\t\tif (typeof rule === \"string\") {\n\t\t\treturn content.startsWith(rule);\n\t\t}\n\n\t\tif (typeof rule === \"function\") {\n\t\t\treturn rule(content);\n\t\t}\n\t\t// we assume rule is a regexp\n\t\treturn rule.test(content);\n\t}\n\n\t// check if module should not be parsed\n\t// returns \"true\" if the module should !not! be parsed\n\t// returns \"false\" if the module !must! be parsed\n\tshouldPreventParsing(noParseRule, request) {\n\t\t// if no noParseRule exists, return false\n\t\t// the module !must! be parsed.\n\t\tif (!noParseRule) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// we only have one rule to check\n\t\tif (!Array.isArray(noParseRule)) {\n\t\t\t// returns \"true\" if the module is !not! to be parsed\n\t\t\treturn this.applyNoParseRule(noParseRule, request);\n\t\t}\n\n\t\tfor (let i = 0; i < noParseRule.length; i++) {\n\t\t\tconst rule = noParseRule[i];\n\t\t\t// early exit on first truthy match\n\t\t\t// this module is !not! to be parsed\n\t\t\tif (this.applyNoParseRule(rule, request)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// no match found, so this module !should! be parsed\n\t\treturn false;\n\t}\n\n\t_initBuildHash(compilation) {\n\t\tconst hash = createHash(compilation.outputOptions.hashFunction);\n\t\tif (this._source) {\n\t\t\thash.update(\"source\");\n\t\t\tthis._source.updateHash(hash);\n\t\t}\n\t\thash.update(\"meta\");\n\t\thash.update(JSON.stringify(this.buildMeta));\n\t\tthis.buildInfo.hash = /** @type {string} */ (hash.digest(\"hex\"));\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis._forceBuild = false;\n\t\tthis._source = null;\n\t\tif (this._sourceSizes !== undefined) this._sourceSizes.clear();\n\t\tthis._sourceTypes = undefined;\n\t\tthis._ast = null;\n\t\tthis.error = null;\n\t\tthis.clearWarningsAndErrors();\n\t\tthis.clearDependenciesAndBlocks();\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tcacheable: false,\n\t\t\tparsed: true,\n\t\t\tfileDependencies: undefined,\n\t\t\tcontextDependencies: undefined,\n\t\t\tmissingDependencies: undefined,\n\t\t\tbuildDependencies: undefined,\n\t\t\tvalueDependencies: undefined,\n\t\t\thash: undefined,\n\t\t\tassets: undefined,\n\t\t\tassetsInfo: undefined\n\t\t};\n\n\t\tconst startTime = compilation.compiler.fsStartTime || Date.now();\n\n\t\tconst hooks = NormalModule.getCompilationHooks(compilation);\n\n\t\treturn this._doBuild(options, compilation, resolver, fs, hooks, err => {\n\t\t\t// if we have an error mark module as failed and exit\n\t\t\tif (err) {\n\t\t\t\tthis.markModuleAsErrored(err);\n\t\t\t\tthis._initBuildHash(compilation);\n\t\t\t\treturn callback();\n\t\t\t}\n\n\t\t\tconst handleParseError = e => {\n\t\t\t\tconst source = this._source.source();\n\t\t\t\tconst loaders = this.loaders.map(item =>\n\t\t\t\t\tcontextify(options.context, item.loader, compilation.compiler.root)\n\t\t\t\t);\n\t\t\t\tconst error = new ModuleParseError(source, e, loaders, this.type);\n\t\t\t\tthis.markModuleAsErrored(error);\n\t\t\t\tthis._initBuildHash(compilation);\n\t\t\t\treturn callback();\n\t\t\t};\n\n\t\t\tconst handleParseResult = result => {\n\t\t\t\tthis.dependencies.sort(\n\t\t\t\t\tconcatComparators(\n\t\t\t\t\t\tcompareSelect(a => a.loc, compareLocations),\n\t\t\t\t\t\tkeepOriginalOrder(this.dependencies)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tthis._initBuildHash(compilation);\n\t\t\t\tthis._lastSuccessfulBuildMeta = this.buildMeta;\n\t\t\t\treturn handleBuildDone();\n\t\t\t};\n\n\t\t\tconst handleBuildDone = () => {\n\t\t\t\ttry {\n\t\t\t\t\thooks.beforeSnapshot.call(this);\n\t\t\t\t} catch (err) {\n\t\t\t\t\tthis.markModuleAsErrored(err);\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\n\t\t\t\tconst snapshotOptions = compilation.options.snapshot.module;\n\t\t\t\tif (!this.buildInfo.cacheable || !snapshotOptions) {\n\t\t\t\t\treturn callback();\n\t\t\t\t}\n\t\t\t\t// add warning for all non-absolute paths in fileDependencies, etc\n\t\t\t\t// This makes it easier to find problems with watching and/or caching\n\t\t\t\tlet nonAbsoluteDependencies = undefined;\n\t\t\t\tconst checkDependencies = deps => {\n\t\t\t\t\tfor (const dep of deps) {\n\t\t\t\t\t\tif (!ABSOLUTE_PATH_REGEX.test(dep)) {\n\t\t\t\t\t\t\tif (nonAbsoluteDependencies === undefined)\n\t\t\t\t\t\t\t\tnonAbsoluteDependencies = new Set();\n\t\t\t\t\t\t\tnonAbsoluteDependencies.add(dep);\n\t\t\t\t\t\t\tdeps.delete(dep);\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst depWithoutGlob = dep.replace(/[\\\\/]?\\*.*$/, \"\");\n\t\t\t\t\t\t\t\tconst absolute = join(\n\t\t\t\t\t\t\t\t\tcompilation.fileSystemInfo.fs,\n\t\t\t\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\t\t\t\tdepWithoutGlob\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (absolute !== dep && ABSOLUTE_PATH_REGEX.test(absolute)) {\n\t\t\t\t\t\t\t\t\t(depWithoutGlob !== dep\n\t\t\t\t\t\t\t\t\t\t? this.buildInfo.contextDependencies\n\t\t\t\t\t\t\t\t\t\t: deps\n\t\t\t\t\t\t\t\t\t).add(absolute);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tcheckDependencies(this.buildInfo.fileDependencies);\n\t\t\t\tcheckDependencies(this.buildInfo.missingDependencies);\n\t\t\t\tcheckDependencies(this.buildInfo.contextDependencies);\n\t\t\t\tif (nonAbsoluteDependencies !== undefined) {\n\t\t\t\t\tconst InvalidDependenciesModuleWarning =\n\t\t\t\t\t\tgetInvalidDependenciesModuleWarning();\n\t\t\t\t\tthis.addWarning(\n\t\t\t\t\t\tnew InvalidDependenciesModuleWarning(this, nonAbsoluteDependencies)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t// convert file/context/missingDependencies into filesystem snapshot\n\t\t\t\tcompilation.fileSystemInfo.createSnapshot(\n\t\t\t\t\tstartTime,\n\t\t\t\t\tthis.buildInfo.fileDependencies,\n\t\t\t\t\tthis.buildInfo.contextDependencies,\n\t\t\t\t\tthis.buildInfo.missingDependencies,\n\t\t\t\t\tsnapshotOptions,\n\t\t\t\t\t(err, snapshot) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tthis.markModuleAsErrored(err);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.buildInfo.fileDependencies = undefined;\n\t\t\t\t\t\tthis.buildInfo.contextDependencies = undefined;\n\t\t\t\t\t\tthis.buildInfo.missingDependencies = undefined;\n\t\t\t\t\t\tthis.buildInfo.snapshot = snapshot;\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t};\n\n\t\t\ttry {\n\t\t\t\thooks.beforeParse.call(this);\n\t\t\t} catch (err) {\n\t\t\t\tthis.markModuleAsErrored(err);\n\t\t\t\tthis._initBuildHash(compilation);\n\t\t\t\treturn callback();\n\t\t\t}\n\n\t\t\t// check if this module should !not! be parsed.\n\t\t\t// if so, exit here;\n\t\t\tconst noParseRule = options.module && options.module.noParse;\n\t\t\tif (this.shouldPreventParsing(noParseRule, this.request)) {\n\t\t\t\t// We assume that we need module and exports\n\t\t\t\tthis.buildInfo.parsed = false;\n\t\t\t\tthis._initBuildHash(compilation);\n\t\t\t\treturn handleBuildDone();\n\t\t\t}\n\n\t\t\tlet result;\n\t\t\ttry {\n\t\t\t\tconst source = this._source.source();\n\t\t\t\tresult = this.parser.parse(this._ast || source, {\n\t\t\t\t\tsource,\n\t\t\t\t\tcurrent: this,\n\t\t\t\t\tmodule: this,\n\t\t\t\t\tcompilation: compilation,\n\t\t\t\t\toptions: options\n\t\t\t\t});\n\t\t\t} catch (e) {\n\t\t\t\thandleParseError(e);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\thandleParseResult(result);\n\t\t});\n\t}\n\n\t/**\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(context) {\n\t\treturn this.generator.getConcatenationBailoutReason(this, context);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only\n\t */\n\tgetSideEffectsConnectionState(moduleGraph) {\n\t\tif (this.factoryMeta !== undefined) {\n\t\t\tif (this.factoryMeta.sideEffectFree) return false;\n\t\t\tif (this.factoryMeta.sideEffectFree === false) return true;\n\t\t}\n\t\tif (this.buildMeta !== undefined && this.buildMeta.sideEffectFree) {\n\t\t\tif (this._isEvaluatingSideEffects)\n\t\t\t\treturn ModuleGraphConnection.CIRCULAR_CONNECTION;\n\t\t\tthis._isEvaluatingSideEffects = true;\n\t\t\t/** @type {ConnectionState} */\n\t\t\tlet current = false;\n\t\t\tfor (const dep of this.dependencies) {\n\t\t\t\tconst state = dep.getModuleEvaluationSideEffectsState(moduleGraph);\n\t\t\t\tif (state === true) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tthis._addedSideEffectsBailout === undefined\n\t\t\t\t\t\t\t? ((this._addedSideEffectsBailout = new WeakSet()), true)\n\t\t\t\t\t\t\t: !this._addedSideEffectsBailout.has(moduleGraph)\n\t\t\t\t\t) {\n\t\t\t\t\t\tthis._addedSideEffectsBailout.add(moduleGraph);\n\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t\t\t.getOptimizationBailout(this)\n\t\t\t\t\t\t\t.push(\n\t\t\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\t\t\t`Dependency (${\n\t\t\t\t\t\t\t\t\t\tdep.type\n\t\t\t\t\t\t\t\t\t}) with side effects at ${formatLocation(dep.loc)}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tthis._isEvaluatingSideEffects = false;\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (state !== ModuleGraphConnection.CIRCULAR_CONNECTION) {\n\t\t\t\t\tcurrent = ModuleGraphConnection.addConnectionStates(current, state);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._isEvaluatingSideEffects = false;\n\t\t\t// When caching is implemented here, make sure to not cache when\n\t\t\t// at least one circular connection was in the loop above\n\t\t\treturn current;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\tif (this._sourceTypes === undefined) {\n\t\t\tthis._sourceTypes = this.generator.getTypes(this);\n\t\t}\n\t\treturn this._sourceTypes;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({\n\t\tdependencyTemplates,\n\t\truntimeTemplate,\n\t\tmoduleGraph,\n\t\tchunkGraph,\n\t\truntime,\n\t\tconcatenationScope,\n\t\tcodeGenerationResults,\n\t\tsourceTypes\n\t}) {\n\t\t/** @type {Set<string>} */\n\t\tconst runtimeRequirements = new Set();\n\n\t\tif (!this.buildInfo.parsed) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\truntimeRequirements.add(RuntimeGlobals.thisAsExports);\n\t\t}\n\n\t\t/** @type {Map<string, any>} */\n\t\tlet data;\n\t\tconst getData = () => {\n\t\t\tif (data === undefined) data = new Map();\n\t\t\treturn data;\n\t\t};\n\n\t\tconst sources = new Map();\n\t\tfor (const type of sourceTypes || chunkGraph.getModuleSourceTypes(this)) {\n\t\t\tconst source = this.error\n\t\t\t\t? new RawSource(\n\t\t\t\t\t\t\"throw new Error(\" + JSON.stringify(this.error.message) + \");\"\n\t\t\t\t )\n\t\t\t\t: this.generator.generate(this, {\n\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\truntimeRequirements,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\tconcatenationScope,\n\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\tgetData,\n\t\t\t\t\t\ttype\n\t\t\t\t });\n\n\t\t\tif (source) {\n\t\t\t\tsources.set(type, new CachedSource(source));\n\t\t\t}\n\t\t}\n\n\t\t/** @type {CodeGenerationResult} */\n\t\tconst resultEntry = {\n\t\t\tsources,\n\t\t\truntimeRequirements,\n\t\t\tdata\n\t\t};\n\t\treturn resultEntry;\n\t}\n\n\t/**\n\t * @returns {Source | null} the original source for the module before webpack transformation\n\t */\n\toriginalSource() {\n\t\treturn this._source;\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tinvalidateBuild() {\n\t\tthis._forceBuild = true;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tconst { fileSystemInfo, compilation, valueCacheVersions } = context;\n\t\t// build if enforced\n\t\tif (this._forceBuild) return callback(null, true);\n\n\t\t// always try to build in case of an error\n\t\tif (this.error) return callback(null, true);\n\n\t\t// always build when module is not cacheable\n\t\tif (!this.buildInfo.cacheable) return callback(null, true);\n\n\t\t// build when there is no snapshot to check\n\t\tif (!this.buildInfo.snapshot) return callback(null, true);\n\n\t\t// build when valueDependencies have changed\n\t\t/** @type {Map<string, string | Set<string>>} */\n\t\tconst valueDependencies = this.buildInfo.valueDependencies;\n\t\tif (valueDependencies) {\n\t\t\tif (!valueCacheVersions) return callback(null, true);\n\t\t\tfor (const [key, value] of valueDependencies) {\n\t\t\t\tif (value === undefined) return callback(null, true);\n\t\t\t\tconst current = valueCacheVersions.get(key);\n\t\t\t\tif (\n\t\t\t\t\tvalue !== current &&\n\t\t\t\t\t(typeof value === \"string\" ||\n\t\t\t\t\t\ttypeof current === \"string\" ||\n\t\t\t\t\t\tcurrent === undefined ||\n\t\t\t\t\t\t!isSubset(value, current))\n\t\t\t\t) {\n\t\t\t\t\treturn callback(null, true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// check snapshot for validity\n\t\tfileSystemInfo.checkSnapshotValid(this.buildInfo.snapshot, (err, valid) => {\n\t\t\tif (err) return callback(err);\n\t\t\tif (!valid) return callback(null, true);\n\t\t\tconst hooks = NormalModule.getCompilationHooks(compilation);\n\t\t\thooks.needBuild.callAsync(this, context, (err, needBuild) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(\n\t\t\t\t\t\tHookWebpackError.makeWebpackError(\n\t\t\t\t\t\t\terr,\n\t\t\t\t\t\t\t\"NormalModule.getCompilationHooks().needBuild\"\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tcallback(null, !!needBuild);\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\tconst cachedSize =\n\t\t\tthis._sourceSizes === undefined ? undefined : this._sourceSizes.get(type);\n\t\tif (cachedSize !== undefined) {\n\t\t\treturn cachedSize;\n\t\t}\n\t\tconst size = Math.max(1, this.generator.getSize(this, type));\n\t\tif (this._sourceSizes === undefined) {\n\t\t\tthis._sourceSizes = new Map();\n\t\t}\n\t\tthis._sourceSizes.set(type, size);\n\t\treturn size;\n\t}\n\n\t/**\n\t * @param {LazySet<string>} fileDependencies set where file dependencies are added to\n\t * @param {LazySet<string>} contextDependencies set where context dependencies are added to\n\t * @param {LazySet<string>} missingDependencies set where missing dependencies are added to\n\t * @param {LazySet<string>} buildDependencies set where build dependencies are added to\n\t */\n\taddCacheDependencies(\n\t\tfileDependencies,\n\t\tcontextDependencies,\n\t\tmissingDependencies,\n\t\tbuildDependencies\n\t) {\n\t\tconst { snapshot, buildDependencies: buildDeps } = this.buildInfo;\n\t\tif (snapshot) {\n\t\t\tfileDependencies.addAll(snapshot.getFileIterable());\n\t\t\tcontextDependencies.addAll(snapshot.getContextIterable());\n\t\t\tmissingDependencies.addAll(snapshot.getMissingIterable());\n\t\t} else {\n\t\t\tconst {\n\t\t\t\tfileDependencies: fileDeps,\n\t\t\t\tcontextDependencies: contextDeps,\n\t\t\t\tmissingDependencies: missingDeps\n\t\t\t} = this.buildInfo;\n\t\t\tif (fileDeps !== undefined) fileDependencies.addAll(fileDeps);\n\t\t\tif (contextDeps !== undefined) contextDependencies.addAll(contextDeps);\n\t\t\tif (missingDeps !== undefined) missingDependencies.addAll(missingDeps);\n\t\t}\n\t\tif (buildDeps !== undefined) {\n\t\t\tbuildDependencies.addAll(buildDeps);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(this.buildInfo.hash);\n\t\tthis.generator.updateHash(hash, {\n\t\t\tmodule: this,\n\t\t\t...context\n\t\t});\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\t// deserialize\n\t\twrite(this._source);\n\t\twrite(this.error);\n\t\twrite(this._lastSuccessfulBuildMeta);\n\t\twrite(this._forceBuild);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst obj = new NormalModule({\n\t\t\t// will be deserialized by Module\n\t\t\tlayer: null,\n\t\t\ttype: \"\",\n\t\t\t// will be filled by updateCacheModule\n\t\t\tresource: \"\",\n\t\t\tcontext: \"\",\n\t\t\trequest: null,\n\t\t\tuserRequest: null,\n\t\t\trawRequest: null,\n\t\t\tloaders: null,\n\t\t\tmatchResource: null,\n\t\t\tparser: null,\n\t\t\tparserOptions: null,\n\t\t\tgenerator: null,\n\t\t\tgeneratorOptions: null,\n\t\t\tresolveOptions: null\n\t\t});\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis._source = read();\n\t\tthis.error = read();\n\t\tthis._lastSuccessfulBuildMeta = read();\n\t\tthis._forceBuild = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(NormalModule, \"webpack/lib/NormalModule\");\n\nmodule.exports = NormalModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NormalModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NormalModuleFactory.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/NormalModuleFactory.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { getContext } = __webpack_require__(/*! loader-runner */ \"./node_modules/loader-runner/lib/LoaderRunner.js\");\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst {\n\tAsyncSeriesBailHook,\n\tSyncWaterfallHook,\n\tSyncBailHook,\n\tSyncHook,\n\tHookMap\n} = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst ChunkGraph = __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst ModuleFactory = __webpack_require__(/*! ./ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst ModuleGraph = __webpack_require__(/*! ./ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst BasicEffectRulePlugin = __webpack_require__(/*! ./rules/BasicEffectRulePlugin */ \"./node_modules/webpack/lib/rules/BasicEffectRulePlugin.js\");\nconst BasicMatcherRulePlugin = __webpack_require__(/*! ./rules/BasicMatcherRulePlugin */ \"./node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js\");\nconst ObjectMatcherRulePlugin = __webpack_require__(/*! ./rules/ObjectMatcherRulePlugin */ \"./node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js\");\nconst RuleSetCompiler = __webpack_require__(/*! ./rules/RuleSetCompiler */ \"./node_modules/webpack/lib/rules/RuleSetCompiler.js\");\nconst UseEffectRulePlugin = __webpack_require__(/*! ./rules/UseEffectRulePlugin */ \"./node_modules/webpack/lib/rules/UseEffectRulePlugin.js\");\nconst LazySet = __webpack_require__(/*! ./util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst { getScheme } = __webpack_require__(/*! ./util/URLAbsoluteSpecifier */ \"./node_modules/webpack/lib/util/URLAbsoluteSpecifier.js\");\nconst { cachedCleverMerge, cachedSetProperty } = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst { join } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst {\n\tparseResource,\n\tparseResourceWithoutFragment\n} = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").ModuleOptionsNormalized} ModuleOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetRule} RuleSetRule */\n/** @typedef {import(\"./Generator\")} Generator */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"./ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./NormalModule\").NormalModuleCreateData} NormalModuleCreateData */\n/** @typedef {import(\"./Parser\")} Parser */\n/** @typedef {import(\"./ResolverFactory\")} ResolverFactory */\n/** @typedef {import(\"./dependencies/ModuleDependency\")} ModuleDependency */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\n/** @typedef {Pick<RuleSetRule, 'type'|'sideEffects'|'parser'|'generator'|'resolve'|'layer'>} ModuleSettings */\n/** @typedef {Partial<NormalModuleCreateData & {settings: ModuleSettings}>} CreateData */\n\n/**\n * @typedef {Object} ResolveData\n * @property {ModuleFactoryCreateData[\"contextInfo\"]} contextInfo\n * @property {ModuleFactoryCreateData[\"resolveOptions\"]} resolveOptions\n * @property {string} context\n * @property {string} request\n * @property {Record<string, any> | undefined} assertions\n * @property {ModuleDependency[]} dependencies\n * @property {string} dependencyType\n * @property {CreateData} createData\n * @property {LazySet<string>} fileDependencies\n * @property {LazySet<string>} missingDependencies\n * @property {LazySet<string>} contextDependencies\n * @property {boolean} cacheable allow to use the unsafe cache\n */\n\n/**\n * @typedef {Object} ResourceData\n * @property {string} resource\n * @property {string} path\n * @property {string} query\n * @property {string} fragment\n * @property {string=} context\n */\n\n/** @typedef {ResourceData & { data: Record<string, any> }} ResourceDataWithData */\n\n/** @typedef {Object} ParsedLoaderRequest\n * @property {string} loader loader\n * @property {string|undefined} options options\n */\n\nconst EMPTY_RESOLVE_OPTIONS = {};\nconst EMPTY_PARSER_OPTIONS = {};\nconst EMPTY_GENERATOR_OPTIONS = {};\nconst EMPTY_ELEMENTS = [];\n\nconst MATCH_RESOURCE_REGEX = /^([^!]+)!=!/;\n\nconst loaderToIdent = data => {\n\tif (!data.options) {\n\t\treturn data.loader;\n\t}\n\tif (typeof data.options === \"string\") {\n\t\treturn data.loader + \"?\" + data.options;\n\t}\n\tif (typeof data.options !== \"object\") {\n\t\tthrow new Error(\"loader options must be string or object\");\n\t}\n\tif (data.ident) {\n\t\treturn data.loader + \"??\" + data.ident;\n\t}\n\treturn data.loader + \"?\" + JSON.stringify(data.options);\n};\n\nconst stringifyLoadersAndResource = (loaders, resource) => {\n\tlet str = \"\";\n\tfor (const loader of loaders) {\n\t\tstr += loaderToIdent(loader) + \"!\";\n\t}\n\treturn str + resource;\n};\n\nconst needCalls = (times, callback) => {\n\treturn err => {\n\t\tif (--times === 0) {\n\t\t\treturn callback(err);\n\t\t}\n\t\tif (err && times > 0) {\n\t\t\ttimes = NaN;\n\t\t\treturn callback(err);\n\t\t}\n\t};\n};\n\nconst mergeGlobalOptions = (globalOptions, type, localOptions) => {\n\tconst parts = type.split(\"/\");\n\tlet result;\n\tlet current = \"\";\n\tfor (const part of parts) {\n\t\tcurrent = current ? `${current}/${part}` : part;\n\t\tconst options = globalOptions[current];\n\t\tif (typeof options === \"object\") {\n\t\t\tif (result === undefined) {\n\t\t\t\tresult = options;\n\t\t\t} else {\n\t\t\t\tresult = cachedCleverMerge(result, options);\n\t\t\t}\n\t\t}\n\t}\n\tif (result === undefined) {\n\t\treturn localOptions;\n\t} else {\n\t\treturn cachedCleverMerge(result, localOptions);\n\t}\n};\n\n// TODO webpack 6 remove\nconst deprecationChangedHookMessage = (name, hook) => {\n\tconst names = hook.taps\n\t\t.map(tapped => {\n\t\t\treturn tapped.name;\n\t\t})\n\t\t.join(\", \");\n\n\treturn (\n\t\t`NormalModuleFactory.${name} (${names}) is no longer a waterfall hook, but a bailing hook instead. ` +\n\t\t\"Do not return the passed object, but modify it instead. \" +\n\t\t\"Returning false will ignore the request and results in no module created.\"\n\t);\n};\n\nconst ruleSetCompiler = new RuleSetCompiler([\n\tnew BasicMatcherRulePlugin(\"test\", \"resource\"),\n\tnew BasicMatcherRulePlugin(\"scheme\"),\n\tnew BasicMatcherRulePlugin(\"mimetype\"),\n\tnew BasicMatcherRulePlugin(\"dependency\"),\n\tnew BasicMatcherRulePlugin(\"include\", \"resource\"),\n\tnew BasicMatcherRulePlugin(\"exclude\", \"resource\", true),\n\tnew BasicMatcherRulePlugin(\"resource\"),\n\tnew BasicMatcherRulePlugin(\"resourceQuery\"),\n\tnew BasicMatcherRulePlugin(\"resourceFragment\"),\n\tnew BasicMatcherRulePlugin(\"realResource\"),\n\tnew BasicMatcherRulePlugin(\"issuer\"),\n\tnew BasicMatcherRulePlugin(\"compiler\"),\n\tnew BasicMatcherRulePlugin(\"issuerLayer\"),\n\tnew ObjectMatcherRulePlugin(\"assert\", \"assertions\"),\n\tnew ObjectMatcherRulePlugin(\"descriptionData\"),\n\tnew BasicEffectRulePlugin(\"type\"),\n\tnew BasicEffectRulePlugin(\"sideEffects\"),\n\tnew BasicEffectRulePlugin(\"parser\"),\n\tnew BasicEffectRulePlugin(\"resolve\"),\n\tnew BasicEffectRulePlugin(\"generator\"),\n\tnew BasicEffectRulePlugin(\"layer\"),\n\tnew UseEffectRulePlugin()\n]);\n\nclass NormalModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {Object} param params\n\t * @param {string=} param.context context\n\t * @param {InputFileSystem} param.fs file system\n\t * @param {ResolverFactory} param.resolverFactory resolverFactory\n\t * @param {ModuleOptions} param.options options\n\t * @param {Object=} param.associatedObjectForCache an object to which the cache will be attached\n\t * @param {boolean=} param.layers enable layers\n\t */\n\tconstructor({\n\t\tcontext,\n\t\tfs,\n\t\tresolverFactory,\n\t\toptions,\n\t\tassociatedObjectForCache,\n\t\tlayers = false\n\t}) {\n\t\tsuper();\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {AsyncSeriesBailHook<[ResolveData], Module | false | void>} */\n\t\t\tresolve: new AsyncSeriesBailHook([\"resolveData\"]),\n\t\t\t/** @type {HookMap<AsyncSeriesBailHook<[ResourceDataWithData, ResolveData], true | void>>} */\n\t\t\tresolveForScheme: new HookMap(\n\t\t\t\t() => new AsyncSeriesBailHook([\"resourceData\", \"resolveData\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<AsyncSeriesBailHook<[ResourceDataWithData, ResolveData], true | void>>} */\n\t\t\tresolveInScheme: new HookMap(\n\t\t\t\t() => new AsyncSeriesBailHook([\"resourceData\", \"resolveData\"])\n\t\t\t),\n\t\t\t/** @type {AsyncSeriesBailHook<[ResolveData], Module>} */\n\t\t\tfactorize: new AsyncSeriesBailHook([\"resolveData\"]),\n\t\t\t/** @type {AsyncSeriesBailHook<[ResolveData], false | void>} */\n\t\t\tbeforeResolve: new AsyncSeriesBailHook([\"resolveData\"]),\n\t\t\t/** @type {AsyncSeriesBailHook<[ResolveData], false | void>} */\n\t\t\tafterResolve: new AsyncSeriesBailHook([\"resolveData\"]),\n\t\t\t/** @type {AsyncSeriesBailHook<[ResolveData[\"createData\"], ResolveData], Module | void>} */\n\t\t\tcreateModule: new AsyncSeriesBailHook([\"createData\", \"resolveData\"]),\n\t\t\t/** @type {SyncWaterfallHook<[Module, ResolveData[\"createData\"], ResolveData], Module>} */\n\t\t\tmodule: new SyncWaterfallHook([\"module\", \"createData\", \"resolveData\"]),\n\t\t\tcreateParser: new HookMap(() => new SyncBailHook([\"parserOptions\"])),\n\t\t\tparser: new HookMap(() => new SyncHook([\"parser\", \"parserOptions\"])),\n\t\t\tcreateGenerator: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"generatorOptions\"])\n\t\t\t),\n\t\t\tgenerator: new HookMap(\n\t\t\t\t() => new SyncHook([\"generator\", \"generatorOptions\"])\n\t\t\t)\n\t\t});\n\t\tthis.resolverFactory = resolverFactory;\n\t\tthis.ruleSet = ruleSetCompiler.compile([\n\t\t\t{\n\t\t\t\trules: options.defaultRules\n\t\t\t},\n\t\t\t{\n\t\t\t\trules: options.rules\n\t\t\t}\n\t\t]);\n\t\tthis.context = context || \"\";\n\t\tthis.fs = fs;\n\t\tthis._globalParserOptions = options.parser;\n\t\tthis._globalGeneratorOptions = options.generator;\n\t\t/** @type {Map<string, WeakMap<Object, TODO>>} */\n\t\tthis.parserCache = new Map();\n\t\t/** @type {Map<string, WeakMap<Object, Generator>>} */\n\t\tthis.generatorCache = new Map();\n\t\t/** @type {Set<Module>} */\n\t\tthis._restoredUnsafeCacheEntries = new Set();\n\n\t\tconst cacheParseResource = parseResource.bindCache(\n\t\t\tassociatedObjectForCache\n\t\t);\n\t\tconst cachedParseResourceWithoutFragment =\n\t\t\tparseResourceWithoutFragment.bindCache(associatedObjectForCache);\n\t\tthis._parseResourceWithoutFragment = cachedParseResourceWithoutFragment;\n\n\t\tthis.hooks.factorize.tapAsync(\n\t\t\t{\n\t\t\t\tname: \"NormalModuleFactory\",\n\t\t\t\tstage: 100\n\t\t\t},\n\t\t\t(resolveData, callback) => {\n\t\t\t\tthis.hooks.resolve.callAsync(resolveData, (err, result) => {\n\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t// Ignored\n\t\t\t\t\tif (result === false) return callback();\n\n\t\t\t\t\t// direct module\n\t\t\t\t\tif (result instanceof Module) return callback(null, result);\n\n\t\t\t\t\tif (typeof result === \"object\")\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\tdeprecationChangedHookMessage(\"resolve\", this.hooks.resolve) +\n\t\t\t\t\t\t\t\t\" Returning a Module object will result in this module used as result.\"\n\t\t\t\t\t\t);\n\n\t\t\t\t\tthis.hooks.afterResolve.callAsync(resolveData, (err, result) => {\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\tif (typeof result === \"object\")\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\tdeprecationChangedHookMessage(\n\t\t\t\t\t\t\t\t\t\"afterResolve\",\n\t\t\t\t\t\t\t\t\tthis.hooks.afterResolve\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// Ignored\n\t\t\t\t\t\tif (result === false) return callback();\n\n\t\t\t\t\t\tconst createData = resolveData.createData;\n\n\t\t\t\t\t\tthis.hooks.createModule.callAsync(\n\t\t\t\t\t\t\tcreateData,\n\t\t\t\t\t\t\tresolveData,\n\t\t\t\t\t\t\t(err, createdModule) => {\n\t\t\t\t\t\t\t\tif (!createdModule) {\n\t\t\t\t\t\t\t\t\tif (!resolveData.request) {\n\t\t\t\t\t\t\t\t\t\treturn callback(new Error(\"Empty dependency (no request)\"));\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tcreatedModule = new NormalModule(\n\t\t\t\t\t\t\t\t\t\t/** @type {NormalModuleCreateData} */ (createData)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tcreatedModule = this.hooks.module.call(\n\t\t\t\t\t\t\t\t\tcreatedModule,\n\t\t\t\t\t\t\t\t\tcreateData,\n\t\t\t\t\t\t\t\t\tresolveData\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\treturn callback(null, createdModule);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t\tthis.hooks.resolve.tapAsync(\n\t\t\t{\n\t\t\t\tname: \"NormalModuleFactory\",\n\t\t\t\tstage: 100\n\t\t\t},\n\t\t\t(data, callback) => {\n\t\t\t\tconst {\n\t\t\t\t\tcontextInfo,\n\t\t\t\t\tcontext,\n\t\t\t\t\tdependencies,\n\t\t\t\t\tdependencyType,\n\t\t\t\t\trequest,\n\t\t\t\t\tassertions,\n\t\t\t\t\tresolveOptions,\n\t\t\t\t\tfileDependencies,\n\t\t\t\t\tmissingDependencies,\n\t\t\t\t\tcontextDependencies\n\t\t\t\t} = data;\n\t\t\t\tconst loaderResolver = this.getResolver(\"loader\");\n\n\t\t\t\t/** @type {ResourceData | undefined} */\n\t\t\t\tlet matchResourceData = undefined;\n\t\t\t\t/** @type {string} */\n\t\t\t\tlet unresolvedResource;\n\t\t\t\t/** @type {ParsedLoaderRequest[]} */\n\t\t\t\tlet elements;\n\t\t\t\tlet noPreAutoLoaders = false;\n\t\t\t\tlet noAutoLoaders = false;\n\t\t\t\tlet noPrePostAutoLoaders = false;\n\n\t\t\t\tconst contextScheme = getScheme(context);\n\t\t\t\t/** @type {string | undefined} */\n\t\t\t\tlet scheme = getScheme(request);\n\n\t\t\t\tif (!scheme) {\n\t\t\t\t\t/** @type {string} */\n\t\t\t\t\tlet requestWithoutMatchResource = request;\n\t\t\t\t\tconst matchResourceMatch = MATCH_RESOURCE_REGEX.exec(request);\n\t\t\t\t\tif (matchResourceMatch) {\n\t\t\t\t\t\tlet matchResource = matchResourceMatch[1];\n\t\t\t\t\t\tif (matchResource.charCodeAt(0) === 46) {\n\t\t\t\t\t\t\t// 46 === \".\", 47 === \"/\"\n\t\t\t\t\t\t\tconst secondChar = matchResource.charCodeAt(1);\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tsecondChar === 47 ||\n\t\t\t\t\t\t\t\t(secondChar === 46 && matchResource.charCodeAt(2) === 47)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t// if matchResources startsWith ../ or ./\n\t\t\t\t\t\t\t\tmatchResource = join(this.fs, context, matchResource);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatchResourceData = {\n\t\t\t\t\t\t\tresource: matchResource,\n\t\t\t\t\t\t\t...cacheParseResource(matchResource)\n\t\t\t\t\t\t};\n\t\t\t\t\t\trequestWithoutMatchResource = request.slice(\n\t\t\t\t\t\t\tmatchResourceMatch[0].length\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tscheme = getScheme(requestWithoutMatchResource);\n\n\t\t\t\t\tif (!scheme && !contextScheme) {\n\t\t\t\t\t\tconst firstChar = requestWithoutMatchResource.charCodeAt(0);\n\t\t\t\t\t\tconst secondChar = requestWithoutMatchResource.charCodeAt(1);\n\t\t\t\t\t\tnoPreAutoLoaders = firstChar === 45 && secondChar === 33; // startsWith \"-!\"\n\t\t\t\t\t\tnoAutoLoaders = noPreAutoLoaders || firstChar === 33; // startsWith \"!\"\n\t\t\t\t\t\tnoPrePostAutoLoaders = firstChar === 33 && secondChar === 33; // startsWith \"!!\";\n\t\t\t\t\t\tconst rawElements = requestWithoutMatchResource\n\t\t\t\t\t\t\t.slice(\n\t\t\t\t\t\t\t\tnoPreAutoLoaders || noPrePostAutoLoaders\n\t\t\t\t\t\t\t\t\t? 2\n\t\t\t\t\t\t\t\t\t: noAutoLoaders\n\t\t\t\t\t\t\t\t\t? 1\n\t\t\t\t\t\t\t\t\t: 0\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.split(/!+/);\n\t\t\t\t\t\tunresolvedResource = rawElements.pop();\n\t\t\t\t\t\telements = rawElements.map(el => {\n\t\t\t\t\t\t\tconst { path, query } = cachedParseResourceWithoutFragment(el);\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tloader: path,\n\t\t\t\t\t\t\t\toptions: query ? query.slice(1) : undefined\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t});\n\t\t\t\t\t\tscheme = getScheme(unresolvedResource);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tunresolvedResource = requestWithoutMatchResource;\n\t\t\t\t\t\telements = EMPTY_ELEMENTS;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tunresolvedResource = request;\n\t\t\t\t\telements = EMPTY_ELEMENTS;\n\t\t\t\t}\n\n\t\t\t\tconst resolveContext = {\n\t\t\t\t\tfileDependencies,\n\t\t\t\t\tmissingDependencies,\n\t\t\t\t\tcontextDependencies\n\t\t\t\t};\n\n\t\t\t\t/** @type {ResourceDataWithData} */\n\t\t\t\tlet resourceData;\n\n\t\t\t\tlet loaders;\n\n\t\t\t\tconst continueCallback = needCalls(2, err => {\n\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t// translate option idents\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (const item of loaders) {\n\t\t\t\t\t\t\tif (typeof item.options === \"string\" && item.options[0] === \"?\") {\n\t\t\t\t\t\t\t\tconst ident = item.options.slice(1);\n\t\t\t\t\t\t\t\tif (ident === \"[[missing ident]]\") {\n\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t\"No ident is provided by referenced loader. \" +\n\t\t\t\t\t\t\t\t\t\t\t\"When using a function for Rule.use in config you need to \" +\n\t\t\t\t\t\t\t\t\t\t\t\"provide an 'ident' property for referenced loader options.\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\titem.options = this.ruleSet.references.get(ident);\n\t\t\t\t\t\t\t\tif (item.options === undefined) {\n\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t\"Invalid ident is provided by referenced loader\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\titem.ident = ident;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn callback(e);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!resourceData) {\n\t\t\t\t\t\t// ignored\n\t\t\t\t\t\treturn callback(null, dependencies[0].createIgnoredModule(context));\n\t\t\t\t\t}\n\n\t\t\t\t\tconst userRequest =\n\t\t\t\t\t\t(matchResourceData !== undefined\n\t\t\t\t\t\t\t? `${matchResourceData.resource}!=!`\n\t\t\t\t\t\t\t: \"\") +\n\t\t\t\t\t\tstringifyLoadersAndResource(loaders, resourceData.resource);\n\n\t\t\t\t\tconst settings = {};\n\t\t\t\t\tconst useLoadersPost = [];\n\t\t\t\t\tconst useLoaders = [];\n\t\t\t\t\tconst useLoadersPre = [];\n\n\t\t\t\t\t// handle .webpack[] suffix\n\t\t\t\t\tlet resource;\n\t\t\t\t\tlet match;\n\t\t\t\t\tif (\n\t\t\t\t\t\tmatchResourceData &&\n\t\t\t\t\t\ttypeof (resource = matchResourceData.resource) === \"string\" &&\n\t\t\t\t\t\t(match = /\\.webpack\\[([^\\]]+)\\]$/.exec(resource))\n\t\t\t\t\t) {\n\t\t\t\t\t\tsettings.type = match[1];\n\t\t\t\t\t\tmatchResourceData.resource = matchResourceData.resource.slice(\n\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t-settings.type.length - 10\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsettings.type = \"javascript/auto\";\n\t\t\t\t\t\tconst resourceDataForRules = matchResourceData || resourceData;\n\t\t\t\t\t\tconst result = this.ruleSet.exec({\n\t\t\t\t\t\t\tresource: resourceDataForRules.path,\n\t\t\t\t\t\t\trealResource: resourceData.path,\n\t\t\t\t\t\t\tresourceQuery: resourceDataForRules.query,\n\t\t\t\t\t\t\tresourceFragment: resourceDataForRules.fragment,\n\t\t\t\t\t\t\tscheme,\n\t\t\t\t\t\t\tassertions,\n\t\t\t\t\t\t\tmimetype: matchResourceData\n\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t: resourceData.data.mimetype || \"\",\n\t\t\t\t\t\t\tdependency: dependencyType,\n\t\t\t\t\t\t\tdescriptionData: matchResourceData\n\t\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t\t: resourceData.data.descriptionFileData,\n\t\t\t\t\t\t\tissuer: contextInfo.issuer,\n\t\t\t\t\t\t\tcompiler: contextInfo.compiler,\n\t\t\t\t\t\t\tissuerLayer: contextInfo.issuerLayer || \"\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tfor (const r of result) {\n\t\t\t\t\t\t\tif (r.type === \"use\") {\n\t\t\t\t\t\t\t\tif (!noAutoLoaders && !noPrePostAutoLoaders) {\n\t\t\t\t\t\t\t\t\tuseLoaders.push(r.value);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (r.type === \"use-post\") {\n\t\t\t\t\t\t\t\tif (!noPrePostAutoLoaders) {\n\t\t\t\t\t\t\t\t\tuseLoadersPost.push(r.value);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (r.type === \"use-pre\") {\n\t\t\t\t\t\t\t\tif (!noPreAutoLoaders && !noPrePostAutoLoaders) {\n\t\t\t\t\t\t\t\t\tuseLoadersPre.push(r.value);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\ttypeof r.value === \"object\" &&\n\t\t\t\t\t\t\t\tr.value !== null &&\n\t\t\t\t\t\t\t\ttypeof settings[r.type] === \"object\" &&\n\t\t\t\t\t\t\t\tsettings[r.type] !== null\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tsettings[r.type] = cachedCleverMerge(settings[r.type], r.value);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tsettings[r.type] = r.value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tlet postLoaders, normalLoaders, preLoaders;\n\n\t\t\t\t\tconst continueCallback = needCalls(3, err => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst allLoaders = postLoaders;\n\t\t\t\t\t\tif (matchResourceData === undefined) {\n\t\t\t\t\t\t\tfor (const loader of loaders) allLoaders.push(loader);\n\t\t\t\t\t\t\tfor (const loader of normalLoaders) allLoaders.push(loader);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfor (const loader of normalLoaders) allLoaders.push(loader);\n\t\t\t\t\t\t\tfor (const loader of loaders) allLoaders.push(loader);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const loader of preLoaders) allLoaders.push(loader);\n\t\t\t\t\t\tlet type = settings.type;\n\t\t\t\t\t\tconst resolveOptions = settings.resolve;\n\t\t\t\t\t\tconst layer = settings.layer;\n\t\t\t\t\t\tif (layer !== undefined && !layers) {\n\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\"'Rule.layer' is only allowed when 'experiments.layers' is enabled\"\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tObject.assign(data.createData, {\n\t\t\t\t\t\t\t\tlayer:\n\t\t\t\t\t\t\t\t\tlayer === undefined ? contextInfo.issuerLayer || null : layer,\n\t\t\t\t\t\t\t\trequest: stringifyLoadersAndResource(\n\t\t\t\t\t\t\t\t\tallLoaders,\n\t\t\t\t\t\t\t\t\tresourceData.resource\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tuserRequest,\n\t\t\t\t\t\t\t\trawRequest: request,\n\t\t\t\t\t\t\t\tloaders: allLoaders,\n\t\t\t\t\t\t\t\tresource: resourceData.resource,\n\t\t\t\t\t\t\t\tcontext:\n\t\t\t\t\t\t\t\t\tresourceData.context || getContext(resourceData.resource),\n\t\t\t\t\t\t\t\tmatchResource: matchResourceData\n\t\t\t\t\t\t\t\t\t? matchResourceData.resource\n\t\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\t\tresourceResolveData: resourceData.data,\n\t\t\t\t\t\t\t\tsettings,\n\t\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\t\tparser: this.getParser(type, settings.parser),\n\t\t\t\t\t\t\t\tparserOptions: settings.parser,\n\t\t\t\t\t\t\t\tgenerator: this.getGenerator(type, settings.generator),\n\t\t\t\t\t\t\t\tgeneratorOptions: settings.generator,\n\t\t\t\t\t\t\t\tresolveOptions\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\treturn callback(e);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t\tthis.resolveRequestArray(\n\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\tuseLoadersPost,\n\t\t\t\t\t\tloaderResolver,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tpostLoaders = result;\n\t\t\t\t\t\t\tcontinueCallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tthis.resolveRequestArray(\n\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\tuseLoaders,\n\t\t\t\t\t\tloaderResolver,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tnormalLoaders = result;\n\t\t\t\t\t\t\tcontinueCallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tthis.resolveRequestArray(\n\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\tuseLoadersPre,\n\t\t\t\t\t\tloaderResolver,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tpreLoaders = result;\n\t\t\t\t\t\t\tcontinueCallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t});\n\n\t\t\t\tthis.resolveRequestArray(\n\t\t\t\t\tcontextInfo,\n\t\t\t\t\tcontextScheme ? this.context : context,\n\t\t\t\t\telements,\n\t\t\t\t\tloaderResolver,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (err) return continueCallback(err);\n\t\t\t\t\t\tloaders = result;\n\t\t\t\t\t\tcontinueCallback();\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tconst defaultResolve = context => {\n\t\t\t\t\tif (/^($|\\?)/.test(unresolvedResource)) {\n\t\t\t\t\t\tresourceData = {\n\t\t\t\t\t\t\tresource: unresolvedResource,\n\t\t\t\t\t\t\tdata: {},\n\t\t\t\t\t\t\t...cacheParseResource(unresolvedResource)\n\t\t\t\t\t\t};\n\t\t\t\t\t\tcontinueCallback();\n\t\t\t\t\t}\n\n\t\t\t\t\t// resource without scheme and with path\n\t\t\t\t\telse {\n\t\t\t\t\t\tconst normalResolver = this.getResolver(\n\t\t\t\t\t\t\t\"normal\",\n\t\t\t\t\t\t\tdependencyType\n\t\t\t\t\t\t\t\t? cachedSetProperty(\n\t\t\t\t\t\t\t\t\t\tresolveOptions || EMPTY_RESOLVE_OPTIONS,\n\t\t\t\t\t\t\t\t\t\t\"dependencyType\",\n\t\t\t\t\t\t\t\t\t\tdependencyType\n\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t: resolveOptions\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.resolveResource(\n\t\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tunresolvedResource,\n\t\t\t\t\t\t\tnormalResolver,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t(err, resolvedResource, resolvedResourceResolveData) => {\n\t\t\t\t\t\t\t\tif (err) return continueCallback(err);\n\t\t\t\t\t\t\t\tif (resolvedResource !== false) {\n\t\t\t\t\t\t\t\t\tresourceData = {\n\t\t\t\t\t\t\t\t\t\tresource: resolvedResource,\n\t\t\t\t\t\t\t\t\t\tdata: resolvedResourceResolveData,\n\t\t\t\t\t\t\t\t\t\t...cacheParseResource(resolvedResource)\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontinueCallback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// resource with scheme\n\t\t\t\tif (scheme) {\n\t\t\t\t\tresourceData = {\n\t\t\t\t\t\tresource: unresolvedResource,\n\t\t\t\t\t\tdata: {},\n\t\t\t\t\t\tpath: undefined,\n\t\t\t\t\t\tquery: undefined,\n\t\t\t\t\t\tfragment: undefined,\n\t\t\t\t\t\tcontext: undefined\n\t\t\t\t\t};\n\t\t\t\t\tthis.hooks.resolveForScheme\n\t\t\t\t\t\t.for(scheme)\n\t\t\t\t\t\t.callAsync(resourceData, data, err => {\n\t\t\t\t\t\t\tif (err) return continueCallback(err);\n\t\t\t\t\t\t\tcontinueCallback();\n\t\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// resource within scheme\n\t\t\t\telse if (contextScheme) {\n\t\t\t\t\tresourceData = {\n\t\t\t\t\t\tresource: unresolvedResource,\n\t\t\t\t\t\tdata: {},\n\t\t\t\t\t\tpath: undefined,\n\t\t\t\t\t\tquery: undefined,\n\t\t\t\t\t\tfragment: undefined,\n\t\t\t\t\t\tcontext: undefined\n\t\t\t\t\t};\n\t\t\t\t\tthis.hooks.resolveInScheme\n\t\t\t\t\t\t.for(contextScheme)\n\t\t\t\t\t\t.callAsync(resourceData, data, (err, handled) => {\n\t\t\t\t\t\t\tif (err) return continueCallback(err);\n\t\t\t\t\t\t\tif (!handled) return defaultResolve(this.context);\n\t\t\t\t\t\t\tcontinueCallback();\n\t\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// resource without scheme and without path\n\t\t\t\telse defaultResolve(context);\n\t\t\t}\n\t\t);\n\t}\n\n\tcleanupForCache() {\n\t\tfor (const module of this._restoredUnsafeCacheEntries) {\n\t\t\tChunkGraph.clearChunkGraphForModule(module);\n\t\t\tModuleGraph.clearModuleGraphForModule(module);\n\t\t\tmodule.cleanupForCache();\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst dependencies = /** @type {ModuleDependency[]} */ (data.dependencies);\n\t\tconst context = data.context || this.context;\n\t\tconst resolveOptions = data.resolveOptions || EMPTY_RESOLVE_OPTIONS;\n\t\tconst dependency = dependencies[0];\n\t\tconst request = dependency.request;\n\t\tconst assertions = dependency.assertions;\n\t\tconst contextInfo = data.contextInfo;\n\t\tconst fileDependencies = new LazySet();\n\t\tconst missingDependencies = new LazySet();\n\t\tconst contextDependencies = new LazySet();\n\t\tconst dependencyType =\n\t\t\t(dependencies.length > 0 && dependencies[0].category) || \"\";\n\t\t/** @type {ResolveData} */\n\t\tconst resolveData = {\n\t\t\tcontextInfo,\n\t\t\tresolveOptions,\n\t\t\tcontext,\n\t\t\trequest,\n\t\t\tassertions,\n\t\t\tdependencies,\n\t\t\tdependencyType,\n\t\t\tfileDependencies,\n\t\t\tmissingDependencies,\n\t\t\tcontextDependencies,\n\t\t\tcreateData: {},\n\t\t\tcacheable: true\n\t\t};\n\t\tthis.hooks.beforeResolve.callAsync(resolveData, (err, result) => {\n\t\t\tif (err) {\n\t\t\t\treturn callback(err, {\n\t\t\t\t\tfileDependencies,\n\t\t\t\t\tmissingDependencies,\n\t\t\t\t\tcontextDependencies,\n\t\t\t\t\tcacheable: false\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Ignored\n\t\t\tif (result === false) {\n\t\t\t\treturn callback(null, {\n\t\t\t\t\tfileDependencies,\n\t\t\t\t\tmissingDependencies,\n\t\t\t\t\tcontextDependencies,\n\t\t\t\t\tcacheable: resolveData.cacheable\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (typeof result === \"object\")\n\t\t\t\tthrow new Error(\n\t\t\t\t\tdeprecationChangedHookMessage(\n\t\t\t\t\t\t\"beforeResolve\",\n\t\t\t\t\t\tthis.hooks.beforeResolve\n\t\t\t\t\t)\n\t\t\t\t);\n\n\t\t\tthis.hooks.factorize.callAsync(resolveData, (err, module) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn callback(err, {\n\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\tcacheable: false\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tconst factoryResult = {\n\t\t\t\t\tmodule,\n\t\t\t\t\tfileDependencies,\n\t\t\t\t\tmissingDependencies,\n\t\t\t\t\tcontextDependencies,\n\t\t\t\t\tcacheable: resolveData.cacheable\n\t\t\t\t};\n\n\t\t\t\tcallback(null, factoryResult);\n\t\t\t});\n\t\t});\n\t}\n\n\tresolveResource(\n\t\tcontextInfo,\n\t\tcontext,\n\t\tunresolvedResource,\n\t\tresolver,\n\t\tresolveContext,\n\t\tcallback\n\t) {\n\t\tresolver.resolve(\n\t\t\tcontextInfo,\n\t\t\tcontext,\n\t\t\tunresolvedResource,\n\t\t\tresolveContext,\n\t\t\t(err, resolvedResource, resolvedResourceResolveData) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn this._resolveResourceErrorHints(\n\t\t\t\t\t\terr,\n\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\tcontext,\n\t\t\t\t\t\tunresolvedResource,\n\t\t\t\t\t\tresolver,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err2, hints) => {\n\t\t\t\t\t\t\tif (err2) {\n\t\t\t\t\t\t\t\terr.message += `\nAn fatal error happened during resolving additional hints for this error: ${err2.message}`;\n\t\t\t\t\t\t\t\terr.stack += `\n\nAn fatal error happened during resolving additional hints for this error:\n${err2.stack}`;\n\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (hints && hints.length > 0) {\n\t\t\t\t\t\t\t\terr.message += `\n${hints.join(\"\\n\\n\")}`;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tcallback(err, resolvedResource, resolvedResourceResolveData);\n\t\t\t}\n\t\t);\n\t}\n\n\t_resolveResourceErrorHints(\n\t\terror,\n\t\tcontextInfo,\n\t\tcontext,\n\t\tunresolvedResource,\n\t\tresolver,\n\t\tresolveContext,\n\t\tcallback\n\t) {\n\t\tasyncLib.parallel(\n\t\t\t[\n\t\t\t\tcallback => {\n\t\t\t\t\tif (!resolver.options.fullySpecified) return callback();\n\t\t\t\t\tresolver\n\t\t\t\t\t\t.withOptions({\n\t\t\t\t\t\t\tfullySpecified: false\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.resolve(\n\t\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tunresolvedResource,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t(err, resolvedResource) => {\n\t\t\t\t\t\t\t\tif (!err && resolvedResource) {\n\t\t\t\t\t\t\t\t\tconst resource = parseResource(resolvedResource).path.replace(\n\t\t\t\t\t\t\t\t\t\t/^.*[\\\\/]/,\n\t\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t`Did you mean '${resource}'?\nBREAKING CHANGE: The request '${unresolvedResource}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '\"type\": \"module\"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tcallback => {\n\t\t\t\t\tif (!resolver.options.enforceExtension) return callback();\n\t\t\t\t\tresolver\n\t\t\t\t\t\t.withOptions({\n\t\t\t\t\t\t\tenforceExtension: false,\n\t\t\t\t\t\t\textensions: []\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.resolve(\n\t\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tunresolvedResource,\n\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t(err, resolvedResource) => {\n\t\t\t\t\t\t\t\tif (!err && resolvedResource) {\n\t\t\t\t\t\t\t\t\tlet hint = \"\";\n\t\t\t\t\t\t\t\t\tconst match = /(\\.[^.]+)(\\?|$)/.exec(unresolvedResource);\n\t\t\t\t\t\t\t\t\tif (match) {\n\t\t\t\t\t\t\t\t\t\tconst fixedRequest = unresolvedResource.replace(\n\t\t\t\t\t\t\t\t\t\t\t/(\\.[^.]+)(\\?|$)/,\n\t\t\t\t\t\t\t\t\t\t\t\"$2\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (resolver.options.extensions.has(match[1])) {\n\t\t\t\t\t\t\t\t\t\t\thint = `Did you mean '${fixedRequest}'?`;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\thint = `Did you mean '${fixedRequest}'? Also note that '${match[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\thint = `Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t`The request '${unresolvedResource}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${hint}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tcallback => {\n\t\t\t\t\tif (\n\t\t\t\t\t\t/^\\.\\.?\\//.test(unresolvedResource) ||\n\t\t\t\t\t\tresolver.options.preferRelative\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tresolver.resolve(\n\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t`./${unresolvedResource}`,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, resolvedResource) => {\n\t\t\t\t\t\t\tif (err || !resolvedResource) return callback();\n\t\t\t\t\t\t\tconst moduleDirectories = resolver.options.modules\n\t\t\t\t\t\t\t\t.map(m => (Array.isArray(m) ? m.join(\", \") : m))\n\t\t\t\t\t\t\t\t.join(\", \");\n\t\t\t\t\t\t\tcallback(\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t`Did you mean './${unresolvedResource}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${moduleDirectories}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t],\n\t\t\t(err, hints) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tcallback(null, hints.filter(Boolean));\n\t\t\t}\n\t\t);\n\t}\n\n\tresolveRequestArray(\n\t\tcontextInfo,\n\t\tcontext,\n\t\tarray,\n\t\tresolver,\n\t\tresolveContext,\n\t\tcallback\n\t) {\n\t\tif (array.length === 0) return callback(null, array);\n\t\tasyncLib.map(\n\t\t\tarray,\n\t\t\t(item, callback) => {\n\t\t\t\tresolver.resolve(\n\t\t\t\t\tcontextInfo,\n\t\t\t\t\tcontext,\n\t\t\t\t\titem.loader,\n\t\t\t\t\tresolveContext,\n\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\terr &&\n\t\t\t\t\t\t\t/^[^/]*$/.test(item.loader) &&\n\t\t\t\t\t\t\t!/-loader$/.test(item.loader)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn resolver.resolve(\n\t\t\t\t\t\t\t\tcontextInfo,\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\titem.loader + \"-loader\",\n\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\terr2 => {\n\t\t\t\t\t\t\t\t\tif (!err2) {\n\t\t\t\t\t\t\t\t\t\terr.message =\n\t\t\t\t\t\t\t\t\t\t\terr.message +\n\t\t\t\t\t\t\t\t\t\t\t\"\\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\\n\" +\n\t\t\t\t\t\t\t\t\t\t\t` You need to specify '${item.loader}-loader' instead of '${item.loader}',\\n` +\n\t\t\t\t\t\t\t\t\t\t\t\" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (err) return callback(err);\n\n\t\t\t\t\t\tconst parsedResult = this._parseResourceWithoutFragment(result);\n\t\t\t\t\t\tconst resolved = {\n\t\t\t\t\t\t\tloader: parsedResult.path,\n\t\t\t\t\t\t\toptions:\n\t\t\t\t\t\t\t\titem.options === undefined\n\t\t\t\t\t\t\t\t\t? parsedResult.query\n\t\t\t\t\t\t\t\t\t\t? parsedResult.query.slice(1)\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\t: item.options,\n\t\t\t\t\t\t\tident: item.options === undefined ? undefined : item.ident\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn callback(null, resolved);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\tcallback\n\t\t);\n\t}\n\n\tgetParser(type, parserOptions = EMPTY_PARSER_OPTIONS) {\n\t\tlet cache = this.parserCache.get(type);\n\n\t\tif (cache === undefined) {\n\t\t\tcache = new WeakMap();\n\t\t\tthis.parserCache.set(type, cache);\n\t\t}\n\n\t\tlet parser = cache.get(parserOptions);\n\n\t\tif (parser === undefined) {\n\t\t\tparser = this.createParser(type, parserOptions);\n\t\t\tcache.set(parserOptions, parser);\n\t\t}\n\n\t\treturn parser;\n\t}\n\n\t/**\n\t * @param {string} type type\n\t * @param {{[k: string]: any}} parserOptions parser options\n\t * @returns {Parser} parser\n\t */\n\tcreateParser(type, parserOptions = {}) {\n\t\tparserOptions = mergeGlobalOptions(\n\t\t\tthis._globalParserOptions,\n\t\t\ttype,\n\t\t\tparserOptions\n\t\t);\n\t\tconst parser = this.hooks.createParser.for(type).call(parserOptions);\n\t\tif (!parser) {\n\t\t\tthrow new Error(`No parser registered for ${type}`);\n\t\t}\n\t\tthis.hooks.parser.for(type).call(parser, parserOptions);\n\t\treturn parser;\n\t}\n\n\tgetGenerator(type, generatorOptions = EMPTY_GENERATOR_OPTIONS) {\n\t\tlet cache = this.generatorCache.get(type);\n\n\t\tif (cache === undefined) {\n\t\t\tcache = new WeakMap();\n\t\t\tthis.generatorCache.set(type, cache);\n\t\t}\n\n\t\tlet generator = cache.get(generatorOptions);\n\n\t\tif (generator === undefined) {\n\t\t\tgenerator = this.createGenerator(type, generatorOptions);\n\t\t\tcache.set(generatorOptions, generator);\n\t\t}\n\n\t\treturn generator;\n\t}\n\n\tcreateGenerator(type, generatorOptions = {}) {\n\t\tgeneratorOptions = mergeGlobalOptions(\n\t\t\tthis._globalGeneratorOptions,\n\t\t\ttype,\n\t\t\tgeneratorOptions\n\t\t);\n\t\tconst generator = this.hooks.createGenerator\n\t\t\t.for(type)\n\t\t\t.call(generatorOptions);\n\t\tif (!generator) {\n\t\t\tthrow new Error(`No generator registered for ${type}`);\n\t\t}\n\t\tthis.hooks.generator.for(type).call(generator, generatorOptions);\n\t\treturn generator;\n\t}\n\n\tgetResolver(type, resolveOptions) {\n\t\treturn this.resolverFactory.get(type, resolveOptions);\n\t}\n}\n\nmodule.exports = NormalModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NormalModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/NormalModuleReplacementPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/NormalModuleReplacementPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { join, dirname } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {function(TODO): void} ModuleReplacer */\n\nclass NormalModuleReplacementPlugin {\n\t/**\n\t * Create an instance of the plugin\n\t * @param {RegExp} resourceRegExp the resource matcher\n\t * @param {string|ModuleReplacer} newResource the resource replacement\n\t */\n\tconstructor(resourceRegExp, newResource) {\n\t\tthis.resourceRegExp = resourceRegExp;\n\t\tthis.newResource = newResource;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst resourceRegExp = this.resourceRegExp;\n\t\tconst newResource = this.newResource;\n\t\tcompiler.hooks.normalModuleFactory.tap(\n\t\t\t\"NormalModuleReplacementPlugin\",\n\t\t\tnmf => {\n\t\t\t\tnmf.hooks.beforeResolve.tap(\"NormalModuleReplacementPlugin\", result => {\n\t\t\t\t\tif (resourceRegExp.test(result.request)) {\n\t\t\t\t\t\tif (typeof newResource === \"function\") {\n\t\t\t\t\t\t\tnewResource(result);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.request = newResource;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tnmf.hooks.afterResolve.tap(\"NormalModuleReplacementPlugin\", result => {\n\t\t\t\t\tconst createData = result.createData;\n\t\t\t\t\tif (resourceRegExp.test(createData.resource)) {\n\t\t\t\t\t\tif (typeof newResource === \"function\") {\n\t\t\t\t\t\t\tnewResource(result);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst fs = compiler.inputFileSystem;\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tnewResource.startsWith(\"/\") ||\n\t\t\t\t\t\t\t\t(newResource.length > 1 && newResource[1] === \":\")\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tcreateData.resource = newResource;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcreateData.resource = join(\n\t\t\t\t\t\t\t\t\tfs,\n\t\t\t\t\t\t\t\t\tdirname(fs, createData.resource),\n\t\t\t\t\t\t\t\t\tnewResource\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = NormalModuleReplacementPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/NormalModuleReplacementPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/OptimizationStages.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/OptimizationStages.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nexports.STAGE_BASIC = -10;\nexports.STAGE_DEFAULT = 0;\nexports.STAGE_ADVANCED = 10;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/OptimizationStages.js?"); /***/ }), /***/ "./node_modules/webpack/lib/OptionsApply.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/OptionsApply.js ***! \**************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nclass OptionsApply {\n\tprocess(options, compiler) {}\n}\nmodule.exports = OptionsApply;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/OptionsApply.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Parser.js": /*!********************************************!*\ !*** ./node_modules/webpack/lib/Parser.js ***! \********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./NormalModule\")} NormalModule */\n\n/** @typedef {Record<string, any>} PreparsedAst */\n\n/**\n * @typedef {Object} ParserStateBase\n * @property {string | Buffer} source\n * @property {NormalModule} current\n * @property {NormalModule} module\n * @property {Compilation} compilation\n * @property {{[k: string]: any}} options\n */\n\n/** @typedef {Record<string, any> & ParserStateBase} ParserState */\n\nclass Parser {\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n}\n\nmodule.exports = Parser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Parser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/PrefetchPlugin.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/PrefetchPlugin.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst PrefetchDependency = __webpack_require__(/*! ./dependencies/PrefetchDependency */ \"./node_modules/webpack/lib/dependencies/PrefetchDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass PrefetchPlugin {\n\tconstructor(context, request) {\n\t\tif (request) {\n\t\t\tthis.context = context;\n\t\t\tthis.request = request;\n\t\t} else {\n\t\t\tthis.context = null;\n\t\t\tthis.request = context;\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"PrefetchPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tPrefetchDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.make.tapAsync(\"PrefetchPlugin\", (compilation, callback) => {\n\t\t\tcompilation.addModuleChain(\n\t\t\t\tthis.context || compiler.context,\n\t\t\t\tnew PrefetchDependency(this.request),\n\t\t\t\terr => {\n\t\t\t\t\tcallback(err);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = PrefetchPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/PrefetchPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ProgressPlugin.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/ProgressPlugin.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Compiler = __webpack_require__(/*! ./Compiler */ \"./node_modules/webpack/lib/Compiler.js\");\nconst MultiCompiler = __webpack_require__(/*! ./MultiCompiler */ \"./node_modules/webpack/lib/MultiCompiler.js\");\nconst NormalModule = __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst { contextify } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../declarations/plugins/ProgressPlugin\").HandlerFunction} HandlerFunction */\n/** @typedef {import(\"../declarations/plugins/ProgressPlugin\").ProgressPluginArgument} ProgressPluginArgument */\n/** @typedef {import(\"../declarations/plugins/ProgressPlugin\").ProgressPluginOptions} ProgressPluginOptions */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/ProgressPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/ProgressPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/ProgressPlugin.json */ \"./node_modules/webpack/schemas/plugins/ProgressPlugin.json\"),\n\t{\n\t\tname: \"Progress Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\nconst median3 = (a, b, c) => {\n\treturn a + b + c - Math.max(a, b, c) - Math.min(a, b, c);\n};\n\nconst createDefaultHandler = (profile, logger) => {\n\t/** @type {{ value: string, time: number }[]} */\n\tconst lastStateInfo = [];\n\n\tconst defaultHandler = (percentage, msg, ...args) => {\n\t\tif (profile) {\n\t\t\tif (percentage === 0) {\n\t\t\t\tlastStateInfo.length = 0;\n\t\t\t}\n\t\t\tconst fullState = [msg, ...args];\n\t\t\tconst state = fullState.map(s => s.replace(/\\d+\\/\\d+ /g, \"\"));\n\t\t\tconst now = Date.now();\n\t\t\tconst len = Math.max(state.length, lastStateInfo.length);\n\t\t\tfor (let i = len; i >= 0; i--) {\n\t\t\t\tconst stateItem = i < state.length ? state[i] : undefined;\n\t\t\t\tconst lastStateItem =\n\t\t\t\t\ti < lastStateInfo.length ? lastStateInfo[i] : undefined;\n\t\t\t\tif (lastStateItem) {\n\t\t\t\t\tif (stateItem !== lastStateItem.value) {\n\t\t\t\t\t\tconst diff = now - lastStateItem.time;\n\t\t\t\t\t\tif (lastStateItem.value) {\n\t\t\t\t\t\t\tlet reportState = lastStateItem.value;\n\t\t\t\t\t\t\tif (i > 0) {\n\t\t\t\t\t\t\t\treportState = lastStateInfo[i - 1].value + \" > \" + reportState;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst stateMsg = `${\" | \".repeat(i)}${diff} ms ${reportState}`;\n\t\t\t\t\t\t\tconst d = diff;\n\t\t\t\t\t\t\t// This depends on timing so we ignore it for coverage\n\t\t\t\t\t\t\t/* istanbul ignore next */\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif (d > 10000) {\n\t\t\t\t\t\t\t\t\tlogger.error(stateMsg);\n\t\t\t\t\t\t\t\t} else if (d > 1000) {\n\t\t\t\t\t\t\t\t\tlogger.warn(stateMsg);\n\t\t\t\t\t\t\t\t} else if (d > 10) {\n\t\t\t\t\t\t\t\t\tlogger.info(stateMsg);\n\t\t\t\t\t\t\t\t} else if (d > 5) {\n\t\t\t\t\t\t\t\t\tlogger.log(stateMsg);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tlogger.debug(stateMsg);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (stateItem === undefined) {\n\t\t\t\t\t\t\tlastStateInfo.length = i;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlastStateItem.value = stateItem;\n\t\t\t\t\t\t\tlastStateItem.time = now;\n\t\t\t\t\t\t\tlastStateInfo.length = i + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlastStateInfo[i] = {\n\t\t\t\t\t\tvalue: stateItem,\n\t\t\t\t\t\ttime: now\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlogger.status(`${Math.floor(percentage * 100)}%`, msg, ...args);\n\t\tif (percentage === 1 || (!msg && args.length === 0)) logger.status();\n\t};\n\n\treturn defaultHandler;\n};\n\n/**\n * @callback ReportProgress\n * @param {number} p\n * @param {...string} [args]\n * @returns {void}\n */\n\n/** @type {WeakMap<Compiler,ReportProgress>} */\nconst progressReporters = new WeakMap();\n\nclass ProgressPlugin {\n\t/**\n\t * @param {Compiler} compiler the current compiler\n\t * @returns {ReportProgress} a progress reporter, if any\n\t */\n\tstatic getReporter(compiler) {\n\t\treturn progressReporters.get(compiler);\n\t}\n\n\t/**\n\t * @param {ProgressPluginArgument} options options\n\t */\n\tconstructor(options = {}) {\n\t\tif (typeof options === \"function\") {\n\t\t\toptions = {\n\t\t\t\thandler: options\n\t\t\t};\n\t\t}\n\n\t\tvalidate(options);\n\t\toptions = { ...ProgressPlugin.defaultOptions, ...options };\n\n\t\tthis.profile = options.profile;\n\t\tthis.handler = options.handler;\n\t\tthis.modulesCount = options.modulesCount;\n\t\tthis.dependenciesCount = options.dependenciesCount;\n\t\tthis.showEntries = options.entries;\n\t\tthis.showModules = options.modules;\n\t\tthis.showDependencies = options.dependencies;\n\t\tthis.showActiveModules = options.activeModules;\n\t\tthis.percentBy = options.percentBy;\n\t}\n\n\t/**\n\t * @param {Compiler | MultiCompiler} compiler webpack compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst handler =\n\t\t\tthis.handler ||\n\t\t\tcreateDefaultHandler(\n\t\t\t\tthis.profile,\n\t\t\t\tcompiler.getInfrastructureLogger(\"webpack.Progress\")\n\t\t\t);\n\t\tif (compiler instanceof MultiCompiler) {\n\t\t\tthis._applyOnMultiCompiler(compiler, handler);\n\t\t} else if (compiler instanceof Compiler) {\n\t\t\tthis._applyOnCompiler(compiler, handler);\n\t\t}\n\t}\n\n\t/**\n\t * @param {MultiCompiler} compiler webpack multi-compiler\n\t * @param {HandlerFunction} handler function that executes for every progress step\n\t * @returns {void}\n\t */\n\t_applyOnMultiCompiler(compiler, handler) {\n\t\tconst states = compiler.compilers.map(\n\t\t\t() => /** @type {[number, ...string[]]} */ ([0])\n\t\t);\n\t\tcompiler.compilers.forEach((compiler, idx) => {\n\t\t\tnew ProgressPlugin((p, msg, ...args) => {\n\t\t\t\tstates[idx] = [p, msg, ...args];\n\t\t\t\tlet sum = 0;\n\t\t\t\tfor (const [p] of states) sum += p;\n\t\t\t\thandler(sum / states.length, `[${idx}] ${msg}`, ...args);\n\t\t\t}).apply(compiler);\n\t\t});\n\t}\n\n\t/**\n\t * @param {Compiler} compiler webpack compiler\n\t * @param {HandlerFunction} handler function that executes for every progress step\n\t * @returns {void}\n\t */\n\t_applyOnCompiler(compiler, handler) {\n\t\tconst showEntries = this.showEntries;\n\t\tconst showModules = this.showModules;\n\t\tconst showDependencies = this.showDependencies;\n\t\tconst showActiveModules = this.showActiveModules;\n\t\tlet lastActiveModule = \"\";\n\t\tlet currentLoader = \"\";\n\t\tlet lastModulesCount = 0;\n\t\tlet lastDependenciesCount = 0;\n\t\tlet lastEntriesCount = 0;\n\t\tlet modulesCount = 0;\n\t\tlet dependenciesCount = 0;\n\t\tlet entriesCount = 1;\n\t\tlet doneModules = 0;\n\t\tlet doneDependencies = 0;\n\t\tlet doneEntries = 0;\n\t\tconst activeModules = new Set();\n\t\tlet lastUpdate = 0;\n\n\t\tconst updateThrottled = () => {\n\t\t\tif (lastUpdate + 500 < Date.now()) update();\n\t\t};\n\n\t\tconst update = () => {\n\t\t\t/** @type {string[]} */\n\t\t\tconst items = [];\n\t\t\tconst percentByModules =\n\t\t\t\tdoneModules /\n\t\t\t\tMath.max(lastModulesCount || this.modulesCount || 1, modulesCount);\n\t\t\tconst percentByEntries =\n\t\t\t\tdoneEntries /\n\t\t\t\tMath.max(lastEntriesCount || this.dependenciesCount || 1, entriesCount);\n\t\t\tconst percentByDependencies =\n\t\t\t\tdoneDependencies /\n\t\t\t\tMath.max(lastDependenciesCount || 1, dependenciesCount);\n\t\t\tlet percentageFactor;\n\n\t\t\tswitch (this.percentBy) {\n\t\t\t\tcase \"entries\":\n\t\t\t\t\tpercentageFactor = percentByEntries;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dependencies\":\n\t\t\t\t\tpercentageFactor = percentByDependencies;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"modules\":\n\t\t\t\t\tpercentageFactor = percentByModules;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tpercentageFactor = median3(\n\t\t\t\t\t\tpercentByModules,\n\t\t\t\t\t\tpercentByEntries,\n\t\t\t\t\t\tpercentByDependencies\n\t\t\t\t\t);\n\t\t\t}\n\n\t\t\tconst percentage = 0.1 + percentageFactor * 0.55;\n\n\t\t\tif (currentLoader) {\n\t\t\t\titems.push(\n\t\t\t\t\t`import loader ${contextify(\n\t\t\t\t\t\tcompiler.context,\n\t\t\t\t\t\tcurrentLoader,\n\t\t\t\t\t\tcompiler.root\n\t\t\t\t\t)}`\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tconst statItems = [];\n\t\t\t\tif (showEntries) {\n\t\t\t\t\tstatItems.push(`${doneEntries}/${entriesCount} entries`);\n\t\t\t\t}\n\t\t\t\tif (showDependencies) {\n\t\t\t\t\tstatItems.push(\n\t\t\t\t\t\t`${doneDependencies}/${dependenciesCount} dependencies`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tif (showModules) {\n\t\t\t\t\tstatItems.push(`${doneModules}/${modulesCount} modules`);\n\t\t\t\t}\n\t\t\t\tif (showActiveModules) {\n\t\t\t\t\tstatItems.push(`${activeModules.size} active`);\n\t\t\t\t}\n\t\t\t\tif (statItems.length > 0) {\n\t\t\t\t\titems.push(statItems.join(\" \"));\n\t\t\t\t}\n\t\t\t\tif (showActiveModules) {\n\t\t\t\t\titems.push(lastActiveModule);\n\t\t\t\t}\n\t\t\t}\n\t\t\thandler(percentage, \"building\", ...items);\n\t\t\tlastUpdate = Date.now();\n\t\t};\n\n\t\tconst factorizeAdd = () => {\n\t\t\tdependenciesCount++;\n\t\t\tif (dependenciesCount < 50 || dependenciesCount % 100 === 0)\n\t\t\t\tupdateThrottled();\n\t\t};\n\n\t\tconst factorizeDone = () => {\n\t\t\tdoneDependencies++;\n\t\t\tif (doneDependencies < 50 || doneDependencies % 100 === 0)\n\t\t\t\tupdateThrottled();\n\t\t};\n\n\t\tconst moduleAdd = () => {\n\t\t\tmodulesCount++;\n\t\t\tif (modulesCount < 50 || modulesCount % 100 === 0) updateThrottled();\n\t\t};\n\n\t\t// only used when showActiveModules is set\n\t\tconst moduleBuild = module => {\n\t\t\tconst ident = module.identifier();\n\t\t\tif (ident) {\n\t\t\t\tactiveModules.add(ident);\n\t\t\t\tlastActiveModule = ident;\n\t\t\t\tupdate();\n\t\t\t}\n\t\t};\n\n\t\tconst entryAdd = (entry, options) => {\n\t\t\tentriesCount++;\n\t\t\tif (entriesCount < 5 || entriesCount % 10 === 0) updateThrottled();\n\t\t};\n\n\t\tconst moduleDone = module => {\n\t\t\tdoneModules++;\n\t\t\tif (showActiveModules) {\n\t\t\t\tconst ident = module.identifier();\n\t\t\t\tif (ident) {\n\t\t\t\t\tactiveModules.delete(ident);\n\t\t\t\t\tif (lastActiveModule === ident) {\n\t\t\t\t\t\tlastActiveModule = \"\";\n\t\t\t\t\t\tfor (const m of activeModules) {\n\t\t\t\t\t\t\tlastActiveModule = m;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tupdate();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (doneModules < 50 || doneModules % 100 === 0) updateThrottled();\n\t\t};\n\n\t\tconst entryDone = (entry, options) => {\n\t\t\tdoneEntries++;\n\t\t\tupdate();\n\t\t};\n\n\t\tconst cache = compiler\n\t\t\t.getCache(\"ProgressPlugin\")\n\t\t\t.getItemCache(\"counts\", null);\n\n\t\tlet cacheGetPromise;\n\n\t\tcompiler.hooks.beforeCompile.tap(\"ProgressPlugin\", () => {\n\t\t\tif (!cacheGetPromise) {\n\t\t\t\tcacheGetPromise = cache.getPromise().then(\n\t\t\t\t\tdata => {\n\t\t\t\t\t\tif (data) {\n\t\t\t\t\t\t\tlastModulesCount = lastModulesCount || data.modulesCount;\n\t\t\t\t\t\t\tlastDependenciesCount =\n\t\t\t\t\t\t\t\tlastDependenciesCount || data.dependenciesCount;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn data;\n\t\t\t\t\t},\n\t\t\t\t\terr => {\n\t\t\t\t\t\t// Ignore error\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\n\t\tcompiler.hooks.afterCompile.tapPromise(\"ProgressPlugin\", compilation => {\n\t\t\tif (compilation.compiler.isChild()) return Promise.resolve();\n\t\t\treturn cacheGetPromise.then(async oldData => {\n\t\t\t\tif (\n\t\t\t\t\t!oldData ||\n\t\t\t\t\toldData.modulesCount !== modulesCount ||\n\t\t\t\t\toldData.dependenciesCount !== dependenciesCount\n\t\t\t\t) {\n\t\t\t\t\tawait cache.storePromise({ modulesCount, dependenciesCount });\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tcompiler.hooks.compilation.tap(\"ProgressPlugin\", compilation => {\n\t\t\tif (compilation.compiler.isChild()) return;\n\t\t\tlastModulesCount = modulesCount;\n\t\t\tlastEntriesCount = entriesCount;\n\t\t\tlastDependenciesCount = dependenciesCount;\n\t\t\tmodulesCount = dependenciesCount = entriesCount = 0;\n\t\t\tdoneModules = doneDependencies = doneEntries = 0;\n\n\t\t\tcompilation.factorizeQueue.hooks.added.tap(\n\t\t\t\t\"ProgressPlugin\",\n\t\t\t\tfactorizeAdd\n\t\t\t);\n\t\t\tcompilation.factorizeQueue.hooks.result.tap(\n\t\t\t\t\"ProgressPlugin\",\n\t\t\t\tfactorizeDone\n\t\t\t);\n\n\t\t\tcompilation.addModuleQueue.hooks.added.tap(\"ProgressPlugin\", moduleAdd);\n\t\t\tcompilation.processDependenciesQueue.hooks.result.tap(\n\t\t\t\t\"ProgressPlugin\",\n\t\t\t\tmoduleDone\n\t\t\t);\n\n\t\t\tif (showActiveModules) {\n\t\t\t\tcompilation.hooks.buildModule.tap(\"ProgressPlugin\", moduleBuild);\n\t\t\t}\n\n\t\t\tcompilation.hooks.addEntry.tap(\"ProgressPlugin\", entryAdd);\n\t\t\tcompilation.hooks.failedEntry.tap(\"ProgressPlugin\", entryDone);\n\t\t\tcompilation.hooks.succeedEntry.tap(\"ProgressPlugin\", entryDone);\n\n\t\t\t// avoid dynamic require if bundled with webpack\n\t\t\t// @ts-expect-error\n\t\t\tif (false) {}\n\n\t\t\tconst hooks = {\n\t\t\t\tfinishModules: \"finish module graph\",\n\t\t\t\tseal: \"plugins\",\n\t\t\t\toptimizeDependencies: \"dependencies optimization\",\n\t\t\t\tafterOptimizeDependencies: \"after dependencies optimization\",\n\t\t\t\tbeforeChunks: \"chunk graph\",\n\t\t\t\tafterChunks: \"after chunk graph\",\n\t\t\t\toptimize: \"optimizing\",\n\t\t\t\toptimizeModules: \"module optimization\",\n\t\t\t\tafterOptimizeModules: \"after module optimization\",\n\t\t\t\toptimizeChunks: \"chunk optimization\",\n\t\t\t\tafterOptimizeChunks: \"after chunk optimization\",\n\t\t\t\toptimizeTree: \"module and chunk tree optimization\",\n\t\t\t\tafterOptimizeTree: \"after module and chunk tree optimization\",\n\t\t\t\toptimizeChunkModules: \"chunk modules optimization\",\n\t\t\t\tafterOptimizeChunkModules: \"after chunk modules optimization\",\n\t\t\t\treviveModules: \"module reviving\",\n\t\t\t\tbeforeModuleIds: \"before module ids\",\n\t\t\t\tmoduleIds: \"module ids\",\n\t\t\t\toptimizeModuleIds: \"module id optimization\",\n\t\t\t\tafterOptimizeModuleIds: \"module id optimization\",\n\t\t\t\treviveChunks: \"chunk reviving\",\n\t\t\t\tbeforeChunkIds: \"before chunk ids\",\n\t\t\t\tchunkIds: \"chunk ids\",\n\t\t\t\toptimizeChunkIds: \"chunk id optimization\",\n\t\t\t\tafterOptimizeChunkIds: \"after chunk id optimization\",\n\t\t\t\trecordModules: \"record modules\",\n\t\t\t\trecordChunks: \"record chunks\",\n\t\t\t\tbeforeModuleHash: \"module hashing\",\n\t\t\t\tbeforeCodeGeneration: \"code generation\",\n\t\t\t\tbeforeRuntimeRequirements: \"runtime requirements\",\n\t\t\t\tbeforeHash: \"hashing\",\n\t\t\t\tafterHash: \"after hashing\",\n\t\t\t\trecordHash: \"record hash\",\n\t\t\t\tbeforeModuleAssets: \"module assets processing\",\n\t\t\t\tbeforeChunkAssets: \"chunk assets processing\",\n\t\t\t\tprocessAssets: \"asset processing\",\n\t\t\t\tafterProcessAssets: \"after asset optimization\",\n\t\t\t\trecord: \"recording\",\n\t\t\t\tafterSeal: \"after seal\"\n\t\t\t};\n\t\t\tconst numberOfHooks = Object.keys(hooks).length;\n\t\t\tObject.keys(hooks).forEach((name, idx) => {\n\t\t\t\tconst title = hooks[name];\n\t\t\t\tconst percentage = (idx / numberOfHooks) * 0.25 + 0.7;\n\t\t\t\tcompilation.hooks[name].intercept({\n\t\t\t\t\tname: \"ProgressPlugin\",\n\t\t\t\t\tcall() {\n\t\t\t\t\t\thandler(percentage, \"sealing\", title);\n\t\t\t\t\t},\n\t\t\t\t\tdone() {\n\t\t\t\t\t\tprogressReporters.set(compiler, undefined);\n\t\t\t\t\t\thandler(percentage, \"sealing\", title);\n\t\t\t\t\t},\n\t\t\t\t\tresult() {\n\t\t\t\t\t\thandler(percentage, \"sealing\", title);\n\t\t\t\t\t},\n\t\t\t\t\terror() {\n\t\t\t\t\t\thandler(percentage, \"sealing\", title);\n\t\t\t\t\t},\n\t\t\t\t\ttap(tap) {\n\t\t\t\t\t\t// p is percentage from 0 to 1\n\t\t\t\t\t\t// args is any number of messages in a hierarchical matter\n\t\t\t\t\t\tprogressReporters.set(compilation.compiler, (p, ...args) => {\n\t\t\t\t\t\t\thandler(percentage, \"sealing\", title, tap.name, ...args);\n\t\t\t\t\t\t});\n\t\t\t\t\t\thandler(percentage, \"sealing\", title, tap.name);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t\tcompiler.hooks.make.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tcall() {\n\t\t\t\thandler(0.1, \"building\");\n\t\t\t},\n\t\t\tdone() {\n\t\t\t\thandler(0.65, \"building\");\n\t\t\t}\n\t\t});\n\t\tconst interceptHook = (hook, progress, category, name) => {\n\t\t\thook.intercept({\n\t\t\t\tname: \"ProgressPlugin\",\n\t\t\t\tcall() {\n\t\t\t\t\thandler(progress, category, name);\n\t\t\t\t},\n\t\t\t\tdone() {\n\t\t\t\t\tprogressReporters.set(compiler, undefined);\n\t\t\t\t\thandler(progress, category, name);\n\t\t\t\t},\n\t\t\t\tresult() {\n\t\t\t\t\thandler(progress, category, name);\n\t\t\t\t},\n\t\t\t\terror() {\n\t\t\t\t\thandler(progress, category, name);\n\t\t\t\t},\n\t\t\t\ttap(tap) {\n\t\t\t\t\tprogressReporters.set(compiler, (p, ...args) => {\n\t\t\t\t\t\thandler(progress, category, name, tap.name, ...args);\n\t\t\t\t\t});\n\t\t\t\t\thandler(progress, category, name, tap.name);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tcompiler.cache.hooks.endIdle.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tcall() {\n\t\t\t\thandler(0, \"\");\n\t\t\t}\n\t\t});\n\t\tinterceptHook(compiler.cache.hooks.endIdle, 0.01, \"cache\", \"end idle\");\n\t\tcompiler.hooks.beforeRun.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tcall() {\n\t\t\t\thandler(0, \"\");\n\t\t\t}\n\t\t});\n\t\tinterceptHook(compiler.hooks.beforeRun, 0.01, \"setup\", \"before run\");\n\t\tinterceptHook(compiler.hooks.run, 0.02, \"setup\", \"run\");\n\t\tinterceptHook(compiler.hooks.watchRun, 0.03, \"setup\", \"watch run\");\n\t\tinterceptHook(\n\t\t\tcompiler.hooks.normalModuleFactory,\n\t\t\t0.04,\n\t\t\t\"setup\",\n\t\t\t\"normal module factory\"\n\t\t);\n\t\tinterceptHook(\n\t\t\tcompiler.hooks.contextModuleFactory,\n\t\t\t0.05,\n\t\t\t\"setup\",\n\t\t\t\"context module factory\"\n\t\t);\n\t\tinterceptHook(\n\t\t\tcompiler.hooks.beforeCompile,\n\t\t\t0.06,\n\t\t\t\"setup\",\n\t\t\t\"before compile\"\n\t\t);\n\t\tinterceptHook(compiler.hooks.compile, 0.07, \"setup\", \"compile\");\n\t\tinterceptHook(compiler.hooks.thisCompilation, 0.08, \"setup\", \"compilation\");\n\t\tinterceptHook(compiler.hooks.compilation, 0.09, \"setup\", \"compilation\");\n\t\tinterceptHook(compiler.hooks.finishMake, 0.69, \"building\", \"finish\");\n\t\tinterceptHook(compiler.hooks.emit, 0.95, \"emitting\", \"emit\");\n\t\tinterceptHook(compiler.hooks.afterEmit, 0.98, \"emitting\", \"after emit\");\n\t\tinterceptHook(compiler.hooks.done, 0.99, \"done\", \"plugins\");\n\t\tcompiler.hooks.done.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tdone() {\n\t\t\t\thandler(0.99, \"\");\n\t\t\t}\n\t\t});\n\t\tinterceptHook(\n\t\t\tcompiler.cache.hooks.storeBuildDependencies,\n\t\t\t0.99,\n\t\t\t\"cache\",\n\t\t\t\"store build dependencies\"\n\t\t);\n\t\tinterceptHook(compiler.cache.hooks.shutdown, 0.99, \"cache\", \"shutdown\");\n\t\tinterceptHook(compiler.cache.hooks.beginIdle, 0.99, \"cache\", \"begin idle\");\n\t\tinterceptHook(\n\t\t\tcompiler.hooks.watchClose,\n\t\t\t0.99,\n\t\t\t\"end\",\n\t\t\t\"closing watch compilation\"\n\t\t);\n\t\tcompiler.cache.hooks.beginIdle.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tdone() {\n\t\t\t\thandler(1, \"\");\n\t\t\t}\n\t\t});\n\t\tcompiler.cache.hooks.shutdown.intercept({\n\t\t\tname: \"ProgressPlugin\",\n\t\t\tdone() {\n\t\t\t\thandler(1, \"\");\n\t\t\t}\n\t\t});\n\t}\n}\n\nProgressPlugin.defaultOptions = {\n\tprofile: false,\n\tmodulesCount: 5000,\n\tdependenciesCount: 10000,\n\tmodules: true,\n\tdependencies: true,\n\tactiveModules: false,\n\tentries: true\n};\n\nmodule.exports = ProgressPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ProgressPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ProvidePlugin.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ProvidePlugin.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ProvidedDependency = __webpack_require__(/*! ./dependencies/ProvidedDependency */ \"./node_modules/webpack/lib/dependencies/ProvidedDependency.js\");\nconst { approve } = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass ProvidePlugin {\n\t/**\n\t * @param {Record<string, string | string[]>} definitions the provided identifiers\n\t */\n\tconstructor(definitions) {\n\t\tthis.definitions = definitions;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst definitions = this.definitions;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ProvidePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tProvidedDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tProvidedDependency,\n\t\t\t\t\tnew ProvidedDependency.Template()\n\t\t\t\t);\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tObject.keys(definitions).forEach(name => {\n\t\t\t\t\t\tconst request = [].concat(definitions[name]);\n\t\t\t\t\t\tconst splittedName = name.split(\".\");\n\t\t\t\t\t\tif (splittedName.length > 0) {\n\t\t\t\t\t\t\tsplittedName.slice(1).forEach((_, i) => {\n\t\t\t\t\t\t\t\tconst name = splittedName.slice(0, i + 1).join(\".\");\n\t\t\t\t\t\t\t\tparser.hooks.canRename.for(name).tap(\"ProvidePlugin\", approve);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tparser.hooks.expression.for(name).tap(\"ProvidePlugin\", expr => {\n\t\t\t\t\t\t\tconst nameIdentifier = name.includes(\".\")\n\t\t\t\t\t\t\t\t? `__webpack_provided_${name.replace(/\\./g, \"_dot_\")}`\n\t\t\t\t\t\t\t\t: name;\n\t\t\t\t\t\t\tconst dep = new ProvidedDependency(\n\t\t\t\t\t\t\t\trequest[0],\n\t\t\t\t\t\t\t\tnameIdentifier,\n\t\t\t\t\t\t\t\trequest.slice(1),\n\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tparser.hooks.call.for(name).tap(\"ProvidePlugin\", expr => {\n\t\t\t\t\t\t\tconst nameIdentifier = name.includes(\".\")\n\t\t\t\t\t\t\t\t? `__webpack_provided_${name.replace(/\\./g, \"_dot_\")}`\n\t\t\t\t\t\t\t\t: name;\n\t\t\t\t\t\t\tconst dep = new ProvidedDependency(\n\t\t\t\t\t\t\t\trequest[0],\n\t\t\t\t\t\t\t\tnameIdentifier,\n\t\t\t\t\t\t\t\trequest.slice(1),\n\t\t\t\t\t\t\t\texpr.callee.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.callee.loc;\n\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\tparser.walkExpressions(expr.arguments);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ProvidePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"ProvidePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ProvidePlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ProvidePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ProvidePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RawModule.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/RawModule.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { OriginalSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass RawModule extends Module {\n\t/**\n\t * @param {string} source source code\n\t * @param {string} identifier unique identifier\n\t * @param {string=} readableIdentifier readable identifier\n\t * @param {ReadonlySet<string>=} runtimeRequirements runtime requirements needed for the source code\n\t */\n\tconstructor(source, identifier, readableIdentifier, runtimeRequirements) {\n\t\tsuper(\"javascript/dynamic\", null);\n\t\tthis.sourceStr = source;\n\t\tthis.identifierStr = identifier || this.sourceStr;\n\t\tthis.readableIdentifierStr = readableIdentifier || this.identifierStr;\n\t\tthis.runtimeRequirements = runtimeRequirements || null;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this.identifierStr;\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn Math.max(1, this.sourceStr.length);\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn requestShortener.shorten(this.readableIdentifierStr);\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tcacheable: true\n\t\t};\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\tconst sources = new Map();\n\t\tif (this.useSourceMap || this.useSimpleSourceMap) {\n\t\t\tsources.set(\n\t\t\t\t\"javascript\",\n\t\t\t\tnew OriginalSource(this.sourceStr, this.identifier())\n\t\t\t);\n\t\t} else {\n\t\t\tsources.set(\"javascript\", new RawSource(this.sourceStr));\n\t\t}\n\t\treturn { sources, runtimeRequirements: this.runtimeRequirements };\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(this.sourceStr);\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.sourceStr);\n\t\twrite(this.identifierStr);\n\t\twrite(this.readableIdentifierStr);\n\t\twrite(this.runtimeRequirements);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.sourceStr = read();\n\t\tthis.identifierStr = read();\n\t\tthis.readableIdentifierStr = read();\n\t\tthis.runtimeRequirements = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(RawModule, \"webpack/lib/RawModule\");\n\nmodule.exports = RawModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RawModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RecordIdsPlugin.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/RecordIdsPlugin.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareNumbers } = __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst identifierUtils = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n\n/**\n * @typedef {Object} RecordsChunks\n * @property {Record<string, number>=} byName\n * @property {Record<string, number>=} bySource\n * @property {number[]=} usedIds\n */\n\n/**\n * @typedef {Object} RecordsModules\n * @property {Record<string, number>=} byIdentifier\n * @property {Record<string, number>=} bySource\n * @property {number[]=} usedIds\n */\n\n/**\n * @typedef {Object} Records\n * @property {RecordsChunks=} chunks\n * @property {RecordsModules=} modules\n */\n\nclass RecordIdsPlugin {\n\t/**\n\t * @param {Object} options Options object\n\t * @param {boolean=} options.portableIds true, when ids need to be portable\n\t */\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the Compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst portableIds = this.options.portableIds;\n\n\t\tconst makePathsRelative =\n\t\t\tidentifierUtils.makePathsRelative.bindContextCache(\n\t\t\t\tcompiler.context,\n\t\t\t\tcompiler.root\n\t\t\t);\n\n\t\t/**\n\t\t * @param {Module} module the module\n\t\t * @returns {string} the (portable) identifier\n\t\t */\n\t\tconst getModuleIdentifier = module => {\n\t\t\tif (portableIds) {\n\t\t\t\treturn makePathsRelative(module.identifier());\n\t\t\t}\n\t\t\treturn module.identifier();\n\t\t};\n\n\t\tcompiler.hooks.compilation.tap(\"RecordIdsPlugin\", compilation => {\n\t\t\tcompilation.hooks.recordModules.tap(\n\t\t\t\t\"RecordIdsPlugin\",\n\t\t\t\t/**\n\t\t\t\t * @param {Module[]} modules the modules array\n\t\t\t\t * @param {Records} records the records object\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\t(modules, records) => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tif (!records.modules) records.modules = {};\n\t\t\t\t\tif (!records.modules.byIdentifier) records.modules.byIdentifier = {};\n\t\t\t\t\t/** @type {Set<number>} */\n\t\t\t\t\tconst usedIds = new Set();\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\t\t\t\t\tif (typeof moduleId !== \"number\") continue;\n\t\t\t\t\t\tconst identifier = getModuleIdentifier(module);\n\t\t\t\t\t\trecords.modules.byIdentifier[identifier] = moduleId;\n\t\t\t\t\t\tusedIds.add(moduleId);\n\t\t\t\t\t}\n\t\t\t\t\trecords.modules.usedIds = Array.from(usedIds).sort(compareNumbers);\n\t\t\t\t}\n\t\t\t);\n\t\t\tcompilation.hooks.reviveModules.tap(\n\t\t\t\t\"RecordIdsPlugin\",\n\t\t\t\t/**\n\t\t\t\t * @param {Module[]} modules the modules array\n\t\t\t\t * @param {Records} records the records object\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\t(modules, records) => {\n\t\t\t\t\tif (!records.modules) return;\n\t\t\t\t\tif (records.modules.byIdentifier) {\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\t/** @type {Set<number>} */\n\t\t\t\t\t\tconst usedIds = new Set();\n\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\t\t\t\t\t\tif (moduleId !== null) continue;\n\t\t\t\t\t\t\tconst identifier = getModuleIdentifier(module);\n\t\t\t\t\t\t\tconst id = records.modules.byIdentifier[identifier];\n\t\t\t\t\t\t\tif (id === undefined) continue;\n\t\t\t\t\t\t\tif (usedIds.has(id)) continue;\n\t\t\t\t\t\t\tusedIds.add(id);\n\t\t\t\t\t\t\tchunkGraph.setModuleId(module, id);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (Array.isArray(records.modules.usedIds)) {\n\t\t\t\t\t\tcompilation.usedModuleIds = new Set(records.modules.usedIds);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\n\t\t\t/**\n\t\t\t * @param {Chunk} chunk the chunk\n\t\t\t * @returns {string[]} sources of the chunk\n\t\t\t */\n\t\t\tconst getChunkSources = chunk => {\n\t\t\t\t/** @type {string[]} */\n\t\t\t\tconst sources = [];\n\t\t\t\tfor (const chunkGroup of chunk.groupsIterable) {\n\t\t\t\t\tconst index = chunkGroup.chunks.indexOf(chunk);\n\t\t\t\t\tif (chunkGroup.name) {\n\t\t\t\t\t\tsources.push(`${index} ${chunkGroup.name}`);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const origin of chunkGroup.origins) {\n\t\t\t\t\t\t\tif (origin.module) {\n\t\t\t\t\t\t\t\tif (origin.request) {\n\t\t\t\t\t\t\t\t\tsources.push(\n\t\t\t\t\t\t\t\t\t\t`${index} ${getModuleIdentifier(origin.module)} ${\n\t\t\t\t\t\t\t\t\t\t\torigin.request\n\t\t\t\t\t\t\t\t\t\t}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (typeof origin.loc === \"string\") {\n\t\t\t\t\t\t\t\t\tsources.push(\n\t\t\t\t\t\t\t\t\t\t`${index} ${getModuleIdentifier(origin.module)} ${\n\t\t\t\t\t\t\t\t\t\t\torigin.loc\n\t\t\t\t\t\t\t\t\t\t}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\torigin.loc &&\n\t\t\t\t\t\t\t\t\ttypeof origin.loc === \"object\" &&\n\t\t\t\t\t\t\t\t\t\"start\" in origin.loc\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tsources.push(\n\t\t\t\t\t\t\t\t\t\t`${index} ${getModuleIdentifier(\n\t\t\t\t\t\t\t\t\t\t\torigin.module\n\t\t\t\t\t\t\t\t\t\t)} ${JSON.stringify(origin.loc.start)}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn sources;\n\t\t\t};\n\n\t\t\tcompilation.hooks.recordChunks.tap(\n\t\t\t\t\"RecordIdsPlugin\",\n\t\t\t\t/**\n\t\t\t\t * @param {Chunk[]} chunks the chunks array\n\t\t\t\t * @param {Records} records the records object\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\t(chunks, records) => {\n\t\t\t\t\tif (!records.chunks) records.chunks = {};\n\t\t\t\t\tif (!records.chunks.byName) records.chunks.byName = {};\n\t\t\t\t\tif (!records.chunks.bySource) records.chunks.bySource = {};\n\t\t\t\t\t/** @type {Set<number>} */\n\t\t\t\t\tconst usedIds = new Set();\n\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\tif (typeof chunk.id !== \"number\") continue;\n\t\t\t\t\t\tconst name = chunk.name;\n\t\t\t\t\t\tif (name) records.chunks.byName[name] = chunk.id;\n\t\t\t\t\t\tconst sources = getChunkSources(chunk);\n\t\t\t\t\t\tfor (const source of sources) {\n\t\t\t\t\t\t\trecords.chunks.bySource[source] = chunk.id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tusedIds.add(chunk.id);\n\t\t\t\t\t}\n\t\t\t\t\trecords.chunks.usedIds = Array.from(usedIds).sort(compareNumbers);\n\t\t\t\t}\n\t\t\t);\n\t\t\tcompilation.hooks.reviveChunks.tap(\n\t\t\t\t\"RecordIdsPlugin\",\n\t\t\t\t/**\n\t\t\t\t * @param {Chunk[]} chunks the chunks array\n\t\t\t\t * @param {Records} records the records object\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\t(chunks, records) => {\n\t\t\t\t\tif (!records.chunks) return;\n\t\t\t\t\t/** @type {Set<number>} */\n\t\t\t\t\tconst usedIds = new Set();\n\t\t\t\t\tif (records.chunks.byName) {\n\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\tif (chunk.id !== null) continue;\n\t\t\t\t\t\t\tif (!chunk.name) continue;\n\t\t\t\t\t\t\tconst id = records.chunks.byName[chunk.name];\n\t\t\t\t\t\t\tif (id === undefined) continue;\n\t\t\t\t\t\t\tif (usedIds.has(id)) continue;\n\t\t\t\t\t\t\tusedIds.add(id);\n\t\t\t\t\t\t\tchunk.id = id;\n\t\t\t\t\t\t\tchunk.ids = [id];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (records.chunks.bySource) {\n\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\tif (chunk.id !== null) continue;\n\t\t\t\t\t\t\tconst sources = getChunkSources(chunk);\n\t\t\t\t\t\t\tfor (const source of sources) {\n\t\t\t\t\t\t\t\tconst id = records.chunks.bySource[source];\n\t\t\t\t\t\t\t\tif (id === undefined) continue;\n\t\t\t\t\t\t\t\tif (usedIds.has(id)) continue;\n\t\t\t\t\t\t\t\tusedIds.add(id);\n\t\t\t\t\t\t\t\tchunk.id = id;\n\t\t\t\t\t\t\t\tchunk.ids = [id];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (Array.isArray(records.chunks.usedIds)) {\n\t\t\t\t\t\tcompilation.usedChunkIds = new Set(records.chunks.usedIds);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = RecordIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RecordIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RequestShortener.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/RequestShortener.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { contextify } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\nclass RequestShortener {\n\t/**\n\t * @param {string} dir the directory\n\t * @param {object=} associatedObjectForCache an object to which the cache will be attached\n\t */\n\tconstructor(dir, associatedObjectForCache) {\n\t\tthis.contextify = contextify.bindContextCache(\n\t\t\tdir,\n\t\t\tassociatedObjectForCache\n\t\t);\n\t}\n\n\t/**\n\t * @param {string | undefined | null} request the request to shorten\n\t * @returns {string | undefined | null} the shortened request\n\t */\n\tshorten(request) {\n\t\tif (!request) {\n\t\t\treturn request;\n\t\t}\n\t\treturn this.contextify(request);\n\t}\n}\n\nmodule.exports = RequestShortener;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RequestShortener.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RequireJsStuffPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/RequireJsStuffPlugin.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst {\n\ttoConstantDependency\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nmodule.exports = class RequireJsStuffPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"RequireJsStuffPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tConstDependency,\n\t\t\t\t\tnew ConstDependency.Template()\n\t\t\t\t);\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tparserOptions.requireJs === undefined ||\n\t\t\t\t\t\t!parserOptions.requireJs\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tparser.hooks.call\n\t\t\t\t\t\t.for(\"require.config\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"RequireJsStuffPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, \"undefined\")\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.call\n\t\t\t\t\t\t.for(\"requirejs.config\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"RequireJsStuffPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, \"undefined\")\n\t\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"require.version\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"RequireJsStuffPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"0.0.0\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"requirejs.onError\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"RequireJsStuffPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\tRuntimeGlobals.uncaughtErrorHandler,\n\t\t\t\t\t\t\t\t[RuntimeGlobals.uncaughtErrorHandler]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"RequireJsStuffPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"RequireJsStuffPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RequireJsStuffPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ResolverFactory.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/ResolverFactory.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Factory = (__webpack_require__(/*! enhanced-resolve */ \"./node_modules/enhanced-resolve/lib/index.js\").ResolverFactory);\nconst { HookMap, SyncHook, SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst {\n\tcachedCleverMerge,\n\tremoveOperations,\n\tresolveByProperty\n} = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\n\n/** @typedef {import(\"enhanced-resolve\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"enhanced-resolve\").Resolver} Resolver */\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolveOptions} WebpackResolveOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolvePluginInstance} ResolvePluginInstance */\n\n/** @typedef {WebpackResolveOptions & {dependencyType?: string, resolveToContext?: boolean }} ResolveOptionsWithDependencyType */\n/**\n * @typedef {Object} WithOptions\n * @property {function(Partial<ResolveOptionsWithDependencyType>): ResolverWithOptions} withOptions create a resolver with additional/different options\n */\n\n/** @typedef {Resolver & WithOptions} ResolverWithOptions */\n\n// need to be hoisted on module level for caching identity\nconst EMPTY_RESOLVE_OPTIONS = {};\n\n/**\n * @param {ResolveOptionsWithDependencyType} resolveOptionsWithDepType enhanced options\n * @returns {ResolveOptions} merged options\n */\nconst convertToResolveOptions = resolveOptionsWithDepType => {\n\tconst { dependencyType, plugins, ...remaining } = resolveOptionsWithDepType;\n\n\t// check type compat\n\t/** @type {Partial<ResolveOptions>} */\n\tconst partialOptions = {\n\t\t...remaining,\n\t\tplugins:\n\t\t\tplugins &&\n\t\t\t/** @type {ResolvePluginInstance[]} */ (\n\t\t\t\tplugins.filter(item => item !== \"...\")\n\t\t\t)\n\t};\n\n\tif (!partialOptions.fileSystem) {\n\t\tthrow new Error(\n\t\t\t\"fileSystem is missing in resolveOptions, but it's required for enhanced-resolve\"\n\t\t);\n\t}\n\t// These weird types validate that we checked all non-optional properties\n\tconst options =\n\t\t/** @type {Partial<ResolveOptions> & Pick<ResolveOptions, \"fileSystem\">} */ (\n\t\t\tpartialOptions\n\t\t);\n\n\treturn removeOperations(\n\t\tresolveByProperty(options, \"byDependency\", dependencyType)\n\t);\n};\n\n/**\n * @typedef {Object} ResolverCache\n * @property {WeakMap<Object, ResolverWithOptions>} direct\n * @property {Map<string, ResolverWithOptions>} stringified\n */\n\nmodule.exports = class ResolverFactory {\n\tconstructor() {\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {HookMap<SyncWaterfallHook<[ResolveOptionsWithDependencyType]>>} */\n\t\t\tresolveOptions: new HookMap(\n\t\t\t\t() => new SyncWaterfallHook([\"resolveOptions\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncHook<[Resolver, ResolveOptions, ResolveOptionsWithDependencyType]>>} */\n\t\t\tresolver: new HookMap(\n\t\t\t\t() => new SyncHook([\"resolver\", \"resolveOptions\", \"userResolveOptions\"])\n\t\t\t)\n\t\t});\n\t\t/** @type {Map<string, ResolverCache>} */\n\t\tthis.cache = new Map();\n\t}\n\n\t/**\n\t * @param {string} type type of resolver\n\t * @param {ResolveOptionsWithDependencyType=} resolveOptions options\n\t * @returns {ResolverWithOptions} the resolver\n\t */\n\tget(type, resolveOptions = EMPTY_RESOLVE_OPTIONS) {\n\t\tlet typedCaches = this.cache.get(type);\n\t\tif (!typedCaches) {\n\t\t\ttypedCaches = {\n\t\t\t\tdirect: new WeakMap(),\n\t\t\t\tstringified: new Map()\n\t\t\t};\n\t\t\tthis.cache.set(type, typedCaches);\n\t\t}\n\t\tconst cachedResolver = typedCaches.direct.get(resolveOptions);\n\t\tif (cachedResolver) {\n\t\t\treturn cachedResolver;\n\t\t}\n\t\tconst ident = JSON.stringify(resolveOptions);\n\t\tconst resolver = typedCaches.stringified.get(ident);\n\t\tif (resolver) {\n\t\t\ttypedCaches.direct.set(resolveOptions, resolver);\n\t\t\treturn resolver;\n\t\t}\n\t\tconst newResolver = this._create(type, resolveOptions);\n\t\ttypedCaches.direct.set(resolveOptions, newResolver);\n\t\ttypedCaches.stringified.set(ident, newResolver);\n\t\treturn newResolver;\n\t}\n\n\t/**\n\t * @param {string} type type of resolver\n\t * @param {ResolveOptionsWithDependencyType} resolveOptionsWithDepType options\n\t * @returns {ResolverWithOptions} the resolver\n\t */\n\t_create(type, resolveOptionsWithDepType) {\n\t\t/** @type {ResolveOptionsWithDependencyType} */\n\t\tconst originalResolveOptions = { ...resolveOptionsWithDepType };\n\n\t\tconst resolveOptions = convertToResolveOptions(\n\t\t\tthis.hooks.resolveOptions.for(type).call(resolveOptionsWithDepType)\n\t\t);\n\t\tconst resolver = /** @type {ResolverWithOptions} */ (\n\t\t\tFactory.createResolver(resolveOptions)\n\t\t);\n\t\tif (!resolver) {\n\t\t\tthrow new Error(\"No resolver created\");\n\t\t}\n\t\t/** @type {WeakMap<Partial<ResolveOptionsWithDependencyType>, ResolverWithOptions>} */\n\t\tconst childCache = new WeakMap();\n\t\tresolver.withOptions = options => {\n\t\t\tconst cacheEntry = childCache.get(options);\n\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\tconst mergedOptions = cachedCleverMerge(originalResolveOptions, options);\n\t\t\tconst resolver = this.get(type, mergedOptions);\n\t\t\tchildCache.set(options, resolver);\n\t\t\treturn resolver;\n\t\t};\n\t\tthis.hooks.resolver\n\t\t\t.for(type)\n\t\t\t.call(resolver, resolveOptions, originalResolveOptions);\n\t\treturn resolver;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ResolverFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RuntimeGlobals.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/RuntimeGlobals.js ***! \****************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * the internal require function\n */\nexports.require = \"__webpack_require__\";\n\n/**\n * access to properties of the internal require function/object\n */\nexports.requireScope = \"__webpack_require__.*\";\n\n/**\n * the internal exports object\n */\nexports.exports = \"__webpack_exports__\";\n\n/**\n * top-level this need to be the exports object\n */\nexports.thisAsExports = \"top-level-this-exports\";\n\n/**\n * runtime need to return the exports of the last entry module\n */\nexports.returnExportsFromRuntime = \"return-exports-from-runtime\";\n\n/**\n * the internal module object\n */\nexports.module = \"module\";\n\n/**\n * the internal module object\n */\nexports.moduleId = \"module.id\";\n\n/**\n * the internal module object\n */\nexports.moduleLoaded = \"module.loaded\";\n\n/**\n * the bundle public path\n */\nexports.publicPath = \"__webpack_require__.p\";\n\n/**\n * the module id of the entry point\n */\nexports.entryModuleId = \"__webpack_require__.s\";\n\n/**\n * the module cache\n */\nexports.moduleCache = \"__webpack_require__.c\";\n\n/**\n * the module functions\n */\nexports.moduleFactories = \"__webpack_require__.m\";\n\n/**\n * the module functions, with only write access\n */\nexports.moduleFactoriesAddOnly = \"__webpack_require__.m (add only)\";\n\n/**\n * the chunk ensure function\n */\nexports.ensureChunk = \"__webpack_require__.e\";\n\n/**\n * an object with handlers to ensure a chunk\n */\nexports.ensureChunkHandlers = \"__webpack_require__.f\";\n\n/**\n * a runtime requirement if ensureChunkHandlers should include loading of chunk needed for entries\n */\nexports.ensureChunkIncludeEntries = \"__webpack_require__.f (include entries)\";\n\n/**\n * the chunk prefetch function\n */\nexports.prefetchChunk = \"__webpack_require__.E\";\n\n/**\n * an object with handlers to prefetch a chunk\n */\nexports.prefetchChunkHandlers = \"__webpack_require__.F\";\n\n/**\n * the chunk preload function\n */\nexports.preloadChunk = \"__webpack_require__.G\";\n\n/**\n * an object with handlers to preload a chunk\n */\nexports.preloadChunkHandlers = \"__webpack_require__.H\";\n\n/**\n * the exported property define getters function\n */\nexports.definePropertyGetters = \"__webpack_require__.d\";\n\n/**\n * define compatibility on export\n */\nexports.makeNamespaceObject = \"__webpack_require__.r\";\n\n/**\n * create a fake namespace object\n */\nexports.createFakeNamespaceObject = \"__webpack_require__.t\";\n\n/**\n * compatibility get default export\n */\nexports.compatGetDefaultExport = \"__webpack_require__.n\";\n\n/**\n * harmony module decorator\n */\nexports.harmonyModuleDecorator = \"__webpack_require__.hmd\";\n\n/**\n * node.js module decorator\n */\nexports.nodeModuleDecorator = \"__webpack_require__.nmd\";\n\n/**\n * the webpack hash\n */\nexports.getFullHash = \"__webpack_require__.h\";\n\n/**\n * an object containing all installed WebAssembly.Instance export objects keyed by module id\n */\nexports.wasmInstances = \"__webpack_require__.w\";\n\n/**\n * instantiate a wasm instance from module exports object, id, hash and importsObject\n */\nexports.instantiateWasm = \"__webpack_require__.v\";\n\n/**\n * the uncaught error handler for the webpack runtime\n */\nexports.uncaughtErrorHandler = \"__webpack_require__.oe\";\n\n/**\n * the script nonce\n */\nexports.scriptNonce = \"__webpack_require__.nc\";\n\n/**\n * function to load a script tag.\n * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void\n * done function is called when loading has finished or timeout occurred.\n * It will attach to existing script tags with data-webpack == uniqueName + \":\" + key or src == url.\n */\nexports.loadScript = \"__webpack_require__.l\";\n\n/**\n * function to promote a string to a TrustedScript using webpack's Trusted\n * Types policy\n * Arguments: (script: string) => TrustedScript\n */\nexports.createScript = \"__webpack_require__.ts\";\n\n/**\n * function to promote a string to a TrustedScriptURL using webpack's Trusted\n * Types policy\n * Arguments: (url: string) => TrustedScriptURL\n */\nexports.createScriptUrl = \"__webpack_require__.tu\";\n\n/**\n * function to return webpack's Trusted Types policy\n * Arguments: () => TrustedTypePolicy\n */\nexports.getTrustedTypesPolicy = \"__webpack_require__.tt\";\n\n/**\n * the chunk name of the chunk with the runtime\n */\nexports.chunkName = \"__webpack_require__.cn\";\n\n/**\n * the runtime id of the current runtime\n */\nexports.runtimeId = \"__webpack_require__.j\";\n\n/**\n * the filename of the script part of the chunk\n */\nexports.getChunkScriptFilename = \"__webpack_require__.u\";\n\n/**\n * the filename of the css part of the chunk\n */\nexports.getChunkCssFilename = \"__webpack_require__.k\";\n\n/**\n * a flag when a module/chunk/tree has css modules\n */\nexports.hasCssModules = \"has css modules\";\n\n/**\n * the filename of the script part of the hot update chunk\n */\nexports.getChunkUpdateScriptFilename = \"__webpack_require__.hu\";\n\n/**\n * the filename of the css part of the hot update chunk\n */\nexports.getChunkUpdateCssFilename = \"__webpack_require__.hk\";\n\n/**\n * startup signal from runtime\n * This will be called when the runtime chunk has been loaded.\n */\nexports.startup = \"__webpack_require__.x\";\n\n/**\n * @deprecated\n * creating a default startup function with the entry modules\n */\nexports.startupNoDefault = \"__webpack_require__.x (no default handler)\";\n\n/**\n * startup signal from runtime but only used to add logic after the startup\n */\nexports.startupOnlyAfter = \"__webpack_require__.x (only after)\";\n\n/**\n * startup signal from runtime but only used to add sync logic before the startup\n */\nexports.startupOnlyBefore = \"__webpack_require__.x (only before)\";\n\n/**\n * global callback functions for installing chunks\n */\nexports.chunkCallback = \"webpackChunk\";\n\n/**\n * method to startup an entrypoint with needed chunks.\n * Signature: (moduleId: Id, chunkIds: Id[]) => any.\n * Returns the exports of the module or a Promise\n */\nexports.startupEntrypoint = \"__webpack_require__.X\";\n\n/**\n * register deferred code, which will run when certain\n * chunks are loaded.\n * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any\n * Returned value will be returned directly when all chunks are already loaded\n * When (priority & 1) it will wait for all other handlers with lower priority to\n * be executed before itself is executed\n */\nexports.onChunksLoaded = \"__webpack_require__.O\";\n\n/**\n * method to install a chunk that was loaded somehow\n * Signature: ({ id, ids, modules, runtime }) => void\n */\nexports.externalInstallChunk = \"__webpack_require__.C\";\n\n/**\n * interceptor for module executions\n */\nexports.interceptModuleExecution = \"__webpack_require__.i\";\n\n/**\n * the global object\n */\nexports.global = \"__webpack_require__.g\";\n\n/**\n * an object with all share scopes\n */\nexports.shareScopeMap = \"__webpack_require__.S\";\n\n/**\n * The sharing init sequence function (only runs once per share scope).\n * Has one argument, the name of the share scope.\n * Creates a share scope if not existing\n */\nexports.initializeSharing = \"__webpack_require__.I\";\n\n/**\n * The current scope when getting a module from a remote\n */\nexports.currentRemoteGetScope = \"__webpack_require__.R\";\n\n/**\n * the filename of the HMR manifest\n */\nexports.getUpdateManifestFilename = \"__webpack_require__.hmrF\";\n\n/**\n * function downloading the update manifest\n */\nexports.hmrDownloadManifest = \"__webpack_require__.hmrM\";\n\n/**\n * array with handler functions to download chunk updates\n */\nexports.hmrDownloadUpdateHandlers = \"__webpack_require__.hmrC\";\n\n/**\n * object with all hmr module data for all modules\n */\nexports.hmrModuleData = \"__webpack_require__.hmrD\";\n\n/**\n * array with handler functions when a module should be invalidated\n */\nexports.hmrInvalidateModuleHandlers = \"__webpack_require__.hmrI\";\n\n/**\n * the prefix for storing state of runtime modules when hmr is enabled\n */\nexports.hmrRuntimeStatePrefix = \"__webpack_require__.hmrS\";\n\n/**\n * the AMD define function\n */\nexports.amdDefine = \"__webpack_require__.amdD\";\n\n/**\n * the AMD options\n */\nexports.amdOptions = \"__webpack_require__.amdO\";\n\n/**\n * the System polyfill object\n */\nexports.system = \"__webpack_require__.System\";\n\n/**\n * the shorthand for Object.prototype.hasOwnProperty\n * using of it decreases the compiled bundle size\n */\nexports.hasOwnProperty = \"__webpack_require__.o\";\n\n/**\n * the System.register context object\n */\nexports.systemContext = \"__webpack_require__.y\";\n\n/**\n * the baseURI of current document\n */\nexports.baseURI = \"__webpack_require__.b\";\n\n/**\n * a RelativeURL class when relative URLs are used\n */\nexports.relativeUrl = \"__webpack_require__.U\";\n\n/**\n * Creates an async module. The body function must be a async function.\n * \"module.exports\" will be decorated with an AsyncModulePromise.\n * The body function will be called.\n * To handle async dependencies correctly do this: \"([a, b, c] = await handleDependencies([a, b, c]));\".\n * If \"hasAwaitAfterDependencies\" is truthy, \"handleDependencies()\" must be called at the end of the body function.\n * Signature: function(\n * module: Module,\n * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,\n * hasAwaitAfterDependencies?: boolean\n * ) => void\n */\nexports.asyncModule = \"__webpack_require__.a\";\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RuntimeGlobals.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RuntimeModule.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/RuntimeModule.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst OriginalSource = (__webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\").OriginalSource);\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"./Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"./Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"./Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"./WebpackError\")} WebpackError */\n/** @typedef {import(\"./util/Hash\")} Hash */\n/** @typedef {import(\"./util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"runtime\"]);\n\nclass RuntimeModule extends Module {\n\t/**\n\t * @param {string} name a readable name\n\t * @param {number=} stage an optional stage\n\t */\n\tconstructor(name, stage = 0) {\n\t\tsuper(\"runtime\");\n\t\tthis.name = name;\n\t\tthis.stage = stage;\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {};\n\t\t/** @type {Compilation} */\n\t\tthis.compilation = undefined;\n\t\t/** @type {Chunk} */\n\t\tthis.chunk = undefined;\n\t\t/** @type {ChunkGraph} */\n\t\tthis.chunkGraph = undefined;\n\t\tthis.fullHash = false;\n\t\tthis.dependentHash = false;\n\t\t/** @type {string} */\n\t\tthis._cachedGeneratedCode = undefined;\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @param {Chunk} chunk the chunk\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @returns {void}\n\t */\n\tattach(compilation, chunk, chunkGraph = compilation.chunkGraph) {\n\t\tthis.compilation = compilation;\n\t\tthis.chunk = chunk;\n\t\tthis.chunkGraph = chunkGraph;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `webpack/runtime/${this.name}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `webpack/runtime/${this.name}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, false);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\t// do nothing\n\t\t// should not be called as runtime modules are added later to the compilation\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(this.name);\n\t\thash.update(`${this.stage}`);\n\t\ttry {\n\t\t\tif (this.fullHash || this.dependentHash) {\n\t\t\t\t// Do not use getGeneratedCode here, because i. e. compilation hash might be not\n\t\t\t\t// ready at this point. We will cache it later instead.\n\t\t\t\thash.update(this.generate());\n\t\t\t} else {\n\t\t\t\thash.update(this.getGeneratedCode());\n\t\t\t}\n\t\t} catch (err) {\n\t\t\thash.update(err.message);\n\t\t}\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\tconst sources = new Map();\n\t\tconst generatedCode = this.getGeneratedCode();\n\t\tif (generatedCode) {\n\t\t\tsources.set(\n\t\t\t\t\"runtime\",\n\t\t\t\tthis.useSourceMap || this.useSimpleSourceMap\n\t\t\t\t\t? new OriginalSource(generatedCode, this.identifier())\n\t\t\t\t\t: new RawSource(generatedCode)\n\t\t\t);\n\t\t}\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements: null\n\t\t};\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\ttry {\n\t\t\tconst source = this.getGeneratedCode();\n\t\t\treturn source ? source.length : 0;\n\t\t} catch (e) {\n\t\t\treturn 0;\n\t\t}\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ./AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgetGeneratedCode() {\n\t\tif (this._cachedGeneratedCode) {\n\t\t\treturn this._cachedGeneratedCode;\n\t\t}\n\t\treturn (this._cachedGeneratedCode = this.generate());\n\t}\n\n\t/**\n\t * @returns {boolean} true, if the runtime module should get it's own scope\n\t */\n\tshouldIsolate() {\n\t\treturn true;\n\t}\n}\n\n/**\n * Runtime modules without any dependencies to other runtime modules\n */\nRuntimeModule.STAGE_NORMAL = 0;\n\n/**\n * Runtime modules with simple dependencies on other runtime modules\n */\nRuntimeModule.STAGE_BASIC = 5;\n\n/**\n * Runtime modules which attach to handlers of other runtime modules\n */\nRuntimeModule.STAGE_ATTACH = 10;\n\n/**\n * Runtime modules which trigger actions on bootstrap\n */\nRuntimeModule.STAGE_TRIGGER = 20;\n\nmodule.exports = RuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RuntimePlugin.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/RuntimePlugin.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst { getChunkFilenameTemplate } = __webpack_require__(/*! ./css/CssModulesPlugin */ \"./node_modules/webpack/lib/css/CssModulesPlugin.js\");\nconst RuntimeRequirementsDependency = __webpack_require__(/*! ./dependencies/RuntimeRequirementsDependency */ \"./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst AsyncModuleRuntimeModule = __webpack_require__(/*! ./runtime/AsyncModuleRuntimeModule */ \"./node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js\");\nconst AutoPublicPathRuntimeModule = __webpack_require__(/*! ./runtime/AutoPublicPathRuntimeModule */ \"./node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js\");\nconst BaseUriRuntimeModule = __webpack_require__(/*! ./runtime/BaseUriRuntimeModule */ \"./node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js\");\nconst CompatGetDefaultExportRuntimeModule = __webpack_require__(/*! ./runtime/CompatGetDefaultExportRuntimeModule */ \"./node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js\");\nconst CompatRuntimeModule = __webpack_require__(/*! ./runtime/CompatRuntimeModule */ \"./node_modules/webpack/lib/runtime/CompatRuntimeModule.js\");\nconst CreateFakeNamespaceObjectRuntimeModule = __webpack_require__(/*! ./runtime/CreateFakeNamespaceObjectRuntimeModule */ \"./node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js\");\nconst CreateScriptRuntimeModule = __webpack_require__(/*! ./runtime/CreateScriptRuntimeModule */ \"./node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js\");\nconst CreateScriptUrlRuntimeModule = __webpack_require__(/*! ./runtime/CreateScriptUrlRuntimeModule */ \"./node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js\");\nconst DefinePropertyGettersRuntimeModule = __webpack_require__(/*! ./runtime/DefinePropertyGettersRuntimeModule */ \"./node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js\");\nconst EnsureChunkRuntimeModule = __webpack_require__(/*! ./runtime/EnsureChunkRuntimeModule */ \"./node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js\");\nconst GetChunkFilenameRuntimeModule = __webpack_require__(/*! ./runtime/GetChunkFilenameRuntimeModule */ \"./node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js\");\nconst GetMainFilenameRuntimeModule = __webpack_require__(/*! ./runtime/GetMainFilenameRuntimeModule */ \"./node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js\");\nconst GetTrustedTypesPolicyRuntimeModule = __webpack_require__(/*! ./runtime/GetTrustedTypesPolicyRuntimeModule */ \"./node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js\");\nconst GlobalRuntimeModule = __webpack_require__(/*! ./runtime/GlobalRuntimeModule */ \"./node_modules/webpack/lib/runtime/GlobalRuntimeModule.js\");\nconst HasOwnPropertyRuntimeModule = __webpack_require__(/*! ./runtime/HasOwnPropertyRuntimeModule */ \"./node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js\");\nconst LoadScriptRuntimeModule = __webpack_require__(/*! ./runtime/LoadScriptRuntimeModule */ \"./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js\");\nconst MakeNamespaceObjectRuntimeModule = __webpack_require__(/*! ./runtime/MakeNamespaceObjectRuntimeModule */ \"./node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js\");\nconst NonceRuntimeModule = __webpack_require__(/*! ./runtime/NonceRuntimeModule */ \"./node_modules/webpack/lib/runtime/NonceRuntimeModule.js\");\nconst OnChunksLoadedRuntimeModule = __webpack_require__(/*! ./runtime/OnChunksLoadedRuntimeModule */ \"./node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js\");\nconst PublicPathRuntimeModule = __webpack_require__(/*! ./runtime/PublicPathRuntimeModule */ \"./node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js\");\nconst RelativeUrlRuntimeModule = __webpack_require__(/*! ./runtime/RelativeUrlRuntimeModule */ \"./node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js\");\nconst RuntimeIdRuntimeModule = __webpack_require__(/*! ./runtime/RuntimeIdRuntimeModule */ \"./node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js\");\nconst SystemContextRuntimeModule = __webpack_require__(/*! ./runtime/SystemContextRuntimeModule */ \"./node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js\");\nconst ShareRuntimeModule = __webpack_require__(/*! ./sharing/ShareRuntimeModule */ \"./node_modules/webpack/lib/sharing/ShareRuntimeModule.js\");\nconst StringXor = __webpack_require__(/*! ./util/StringXor */ \"./node_modules/webpack/lib/util/StringXor.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n\nconst GLOBALS_ON_REQUIRE = [\n\tRuntimeGlobals.chunkName,\n\tRuntimeGlobals.runtimeId,\n\tRuntimeGlobals.compatGetDefaultExport,\n\tRuntimeGlobals.createFakeNamespaceObject,\n\tRuntimeGlobals.createScript,\n\tRuntimeGlobals.createScriptUrl,\n\tRuntimeGlobals.getTrustedTypesPolicy,\n\tRuntimeGlobals.definePropertyGetters,\n\tRuntimeGlobals.ensureChunk,\n\tRuntimeGlobals.entryModuleId,\n\tRuntimeGlobals.getFullHash,\n\tRuntimeGlobals.global,\n\tRuntimeGlobals.makeNamespaceObject,\n\tRuntimeGlobals.moduleCache,\n\tRuntimeGlobals.moduleFactories,\n\tRuntimeGlobals.moduleFactoriesAddOnly,\n\tRuntimeGlobals.interceptModuleExecution,\n\tRuntimeGlobals.publicPath,\n\tRuntimeGlobals.baseURI,\n\tRuntimeGlobals.relativeUrl,\n\tRuntimeGlobals.scriptNonce,\n\tRuntimeGlobals.uncaughtErrorHandler,\n\tRuntimeGlobals.asyncModule,\n\tRuntimeGlobals.wasmInstances,\n\tRuntimeGlobals.instantiateWasm,\n\tRuntimeGlobals.shareScopeMap,\n\tRuntimeGlobals.initializeSharing,\n\tRuntimeGlobals.loadScript,\n\tRuntimeGlobals.systemContext,\n\tRuntimeGlobals.onChunksLoaded\n];\n\nconst MODULE_DEPENDENCIES = {\n\t[RuntimeGlobals.moduleLoaded]: [RuntimeGlobals.module],\n\t[RuntimeGlobals.moduleId]: [RuntimeGlobals.module]\n};\n\nconst TREE_DEPENDENCIES = {\n\t[RuntimeGlobals.definePropertyGetters]: [RuntimeGlobals.hasOwnProperty],\n\t[RuntimeGlobals.compatGetDefaultExport]: [\n\t\tRuntimeGlobals.definePropertyGetters\n\t],\n\t[RuntimeGlobals.createFakeNamespaceObject]: [\n\t\tRuntimeGlobals.definePropertyGetters,\n\t\tRuntimeGlobals.makeNamespaceObject,\n\t\tRuntimeGlobals.require\n\t],\n\t[RuntimeGlobals.initializeSharing]: [RuntimeGlobals.shareScopeMap],\n\t[RuntimeGlobals.shareScopeMap]: [RuntimeGlobals.hasOwnProperty]\n};\n\nclass RuntimePlugin {\n\t/**\n\t * @param {Compiler} compiler the Compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"RuntimePlugin\", compilation => {\n\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\tconst isChunkLoadingDisabledForChunk = chunk => {\n\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\tconst chunkLoading =\n\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\treturn chunkLoading === false;\n\t\t\t};\n\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\tRuntimeRequirementsDependency,\n\t\t\t\tnew RuntimeRequirementsDependency.Template()\n\t\t\t);\n\t\t\tfor (const req of GLOBALS_ON_REQUIRE) {\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(req)\n\t\t\t\t\t.tap(\"RuntimePlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(req)\n\t\t\t\t\t.tap(\"RuntimePlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tfor (const req of Object.keys(TREE_DEPENDENCIES)) {\n\t\t\t\tconst deps = TREE_DEPENDENCIES[req];\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(req)\n\t\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\t\tfor (const dep of deps) set.add(dep);\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tfor (const req of Object.keys(MODULE_DEPENDENCIES)) {\n\t\t\t\tconst deps = MODULE_DEPENDENCIES[req];\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(req)\n\t\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\t\tfor (const dep of deps) set.add(dep);\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.definePropertyGetters)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew DefinePropertyGettersRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.makeNamespaceObject)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew MakeNamespaceObjectRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.createFakeNamespaceObject)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew CreateFakeNamespaceObjectRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.hasOwnProperty)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew HasOwnPropertyRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.compatGetDefaultExport)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew CompatGetDefaultExportRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.runtimeId)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new RuntimeIdRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.publicPath)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tconst { outputOptions } = compilation;\n\t\t\t\t\tconst { publicPath: globalPublicPath, scriptType } = outputOptions;\n\t\t\t\t\tconst entryOptions = chunk.getEntryOptions();\n\t\t\t\t\tconst publicPath =\n\t\t\t\t\t\tentryOptions && entryOptions.publicPath !== undefined\n\t\t\t\t\t\t\t? entryOptions.publicPath\n\t\t\t\t\t\t\t: globalPublicPath;\n\n\t\t\t\t\tif (publicPath === \"auto\") {\n\t\t\t\t\t\tconst module = new AutoPublicPathRuntimeModule();\n\t\t\t\t\t\tif (scriptType !== \"module\") set.add(RuntimeGlobals.global);\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, module);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst module = new PublicPathRuntimeModule(publicPath);\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttypeof publicPath !== \"string\" ||\n\t\t\t\t\t\t\t/\\[(full)?hash\\]/.test(publicPath)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tmodule.fullHash = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, module);\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.global)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new GlobalRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.asyncModule)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new AsyncModuleRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.systemContext)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tconst { outputOptions } = compilation;\n\t\t\t\t\tconst { library: globalLibrary } = outputOptions;\n\t\t\t\t\tconst entryOptions = chunk.getEntryOptions();\n\t\t\t\t\tconst libraryType =\n\t\t\t\t\t\tentryOptions && entryOptions.library !== undefined\n\t\t\t\t\t\t\t? entryOptions.library.type\n\t\t\t\t\t\t\t: globalLibrary.type;\n\n\t\t\t\t\tif (libraryType === \"system\") {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew SystemContextRuntimeModule()\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.getChunkScriptFilename)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof compilation.outputOptions.chunkFilename === \"string\" &&\n\t\t\t\t\t\t/\\[(full)?hash(:\\d+)?\\]/.test(\n\t\t\t\t\t\t\tcompilation.outputOptions.chunkFilename\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.getFullHash);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew GetChunkFilenameRuntimeModule(\n\t\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\t\tRuntimeGlobals.getChunkScriptFilename,\n\t\t\t\t\t\t\tchunk =>\n\t\t\t\t\t\t\t\tchunk.filenameTemplate ||\n\t\t\t\t\t\t\t\t(chunk.canBeInitial()\n\t\t\t\t\t\t\t\t\t? compilation.outputOptions.filename\n\t\t\t\t\t\t\t\t\t: compilation.outputOptions.chunkFilename),\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.getChunkCssFilename)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof compilation.outputOptions.cssChunkFilename === \"string\" &&\n\t\t\t\t\t\t/\\[(full)?hash(:\\d+)?\\]/.test(\n\t\t\t\t\t\t\tcompilation.outputOptions.cssChunkFilename\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.getFullHash);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew GetChunkFilenameRuntimeModule(\n\t\t\t\t\t\t\t\"css\",\n\t\t\t\t\t\t\t\"css\",\n\t\t\t\t\t\t\tRuntimeGlobals.getChunkCssFilename,\n\t\t\t\t\t\t\tchunk =>\n\t\t\t\t\t\t\t\tgetChunkFilenameTemplate(chunk, compilation.outputOptions),\n\t\t\t\t\t\t\tset.has(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.getChunkUpdateScriptFilename)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\t/\\[(full)?hash(:\\d+)?\\]/.test(\n\t\t\t\t\t\t\tcompilation.outputOptions.hotUpdateChunkFilename\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t\t\tset.add(RuntimeGlobals.getFullHash);\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew GetChunkFilenameRuntimeModule(\n\t\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\t\t\"javascript update\",\n\t\t\t\t\t\t\tRuntimeGlobals.getChunkUpdateScriptFilename,\n\t\t\t\t\t\t\tc => compilation.outputOptions.hotUpdateChunkFilename,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.getUpdateManifestFilename)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\t/\\[(full)?hash(:\\d+)?\\]/.test(\n\t\t\t\t\t\t\tcompilation.outputOptions.hotUpdateMainFilename\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.getFullHash);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew GetMainFilenameRuntimeModule(\n\t\t\t\t\t\t\t\"update manifest\",\n\t\t\t\t\t\t\tRuntimeGlobals.getUpdateManifestFilename,\n\t\t\t\t\t\t\tcompilation.outputOptions.hotUpdateMainFilename\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.ensureChunk)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tconst hasAsyncChunks = chunk.hasAsyncChunks();\n\t\t\t\t\tif (hasAsyncChunks) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.ensureChunkHandlers);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew EnsureChunkRuntimeModule(set)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.ensureChunkIncludeEntries)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tset.add(RuntimeGlobals.ensureChunkHandlers);\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.shareScopeMap)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new ShareRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.loadScript)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tconst withCreateScriptUrl = !!compilation.outputOptions.trustedTypes;\n\t\t\t\t\tif (withCreateScriptUrl) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.createScriptUrl);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew LoadScriptRuntimeModule(withCreateScriptUrl)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.createScript)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (compilation.outputOptions.trustedTypes) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.getTrustedTypesPolicy);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new CreateScriptRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.createScriptUrl)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tif (compilation.outputOptions.trustedTypes) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.getTrustedTypesPolicy);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew CreateScriptUrlRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.getTrustedTypesPolicy)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew GetTrustedTypesPolicyRuntimeModule(set)\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.relativeUrl)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new RelativeUrlRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.onChunksLoaded)\n\t\t\t\t.tap(\"RuntimePlugin\", (chunk, set) => {\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew OnChunksLoadedRuntimeModule()\n\t\t\t\t\t);\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.baseURI)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tif (isChunkLoadingDisabledForChunk(chunk)) {\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new BaseUriRuntimeModule());\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t.for(RuntimeGlobals.scriptNonce)\n\t\t\t\t.tap(\"RuntimePlugin\", chunk => {\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new NonceRuntimeModule());\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\t// TODO webpack 6: remove CompatRuntimeModule\n\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\"RuntimePlugin\",\n\t\t\t\t(chunk, set) => {\n\t\t\t\t\tconst { mainTemplate } = compilation;\n\t\t\t\t\tif (\n\t\t\t\t\t\tmainTemplate.hooks.bootstrap.isUsed() ||\n\t\t\t\t\t\tmainTemplate.hooks.localVars.isUsed() ||\n\t\t\t\t\t\tmainTemplate.hooks.requireEnsure.isUsed() ||\n\t\t\t\t\t\tmainTemplate.hooks.requireExtensions.isUsed()\n\t\t\t\t\t) {\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new CompatRuntimeModule());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t\tJavascriptModulesPlugin.getCompilationHooks(compilation).chunkHash.tap(\n\t\t\t\t\"RuntimePlugin\",\n\t\t\t\t(chunk, hash, { chunkGraph }) => {\n\t\t\t\t\tconst xor = new StringXor();\n\t\t\t\t\tfor (const m of chunkGraph.getChunkRuntimeModulesIterable(chunk)) {\n\t\t\t\t\t\txor.add(chunkGraph.getModuleHash(m, chunk.runtime));\n\t\t\t\t\t}\n\t\t\t\t\txor.updateHash(hash);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = RuntimePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RuntimePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/RuntimeTemplate.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/RuntimeTemplate.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst InitFragment = __webpack_require__(/*! ./InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { equals } = __webpack_require__(/*! ./util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ./util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst propertyAccess = __webpack_require__(/*! ./util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { forEachRuntime, subtractRuntime } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").OutputNormalized} OutputOptions */\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./RequestShortener\")} RequestShortener */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @param {Module} module the module\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @returns {string} error message\n */\nconst noModuleIdErrorMessage = (module, chunkGraph) => {\n\treturn `Module ${module.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${\n\t\tArray.from(\n\t\t\tchunkGraph.getModuleChunksIterable(module),\n\t\t\tc => c.name || c.id || c.debugId\n\t\t).join(\", \") || \"none\"\n\t} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(\n\t\tchunkGraph.moduleGraph.getIncomingConnections(module),\n\t\tconnection =>\n\t\t\t`\\n - ${\n\t\t\t\tconnection.originModule && connection.originModule.identifier()\n\t\t\t} ${connection.dependency && connection.dependency.type} ${\n\t\t\t\t(connection.explanations &&\n\t\t\t\t\tArray.from(connection.explanations).join(\", \")) ||\n\t\t\t\t\"\"\n\t\t\t}`\n\t).join(\"\")}`;\n};\n\n/**\n * @param {string|undefined} definition global object definition\n * @returns {string} save to use global object\n */\nfunction getGlobalObject(definition) {\n\tif (!definition) return definition;\n\tconst trimmed = definition.trim();\n\n\tif (\n\t\t// identifier, we do not need real identifier regarding ECMAScript/Unicode\n\t\ttrimmed.match(/^[_\\p{L}][_0-9\\p{L}]*$/iu) ||\n\t\t// iife\n\t\t// call expression\n\t\t// expression in parentheses\n\t\ttrimmed.match(/^([_\\p{L}][_0-9\\p{L}]*)?\\(.*\\)$/iu)\n\t)\n\t\treturn trimmed;\n\n\treturn `Object(${trimmed})`;\n}\n\nclass RuntimeTemplate {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @param {OutputOptions} outputOptions the compilation output options\n\t * @param {RequestShortener} requestShortener the request shortener\n\t */\n\tconstructor(compilation, outputOptions, requestShortener) {\n\t\tthis.compilation = compilation;\n\t\tthis.outputOptions = outputOptions || {};\n\t\tthis.requestShortener = requestShortener;\n\t\tthis.globalObject = getGlobalObject(outputOptions.globalObject);\n\t\tthis.contentHashReplacement = \"X\".repeat(outputOptions.hashDigestLength);\n\t}\n\n\tisIIFE() {\n\t\treturn this.outputOptions.iife;\n\t}\n\n\tisModule() {\n\t\treturn this.outputOptions.module;\n\t}\n\n\tsupportsConst() {\n\t\treturn this.outputOptions.environment.const;\n\t}\n\n\tsupportsArrowFunction() {\n\t\treturn this.outputOptions.environment.arrowFunction;\n\t}\n\n\tsupportsOptionalChaining() {\n\t\treturn this.outputOptions.environment.optionalChaining;\n\t}\n\n\tsupportsForOf() {\n\t\treturn this.outputOptions.environment.forOf;\n\t}\n\n\tsupportsDestructuring() {\n\t\treturn this.outputOptions.environment.destructuring;\n\t}\n\n\tsupportsBigIntLiteral() {\n\t\treturn this.outputOptions.environment.bigIntLiteral;\n\t}\n\n\tsupportsDynamicImport() {\n\t\treturn this.outputOptions.environment.dynamicImport;\n\t}\n\n\tsupportsEcmaScriptModuleSyntax() {\n\t\treturn this.outputOptions.environment.module;\n\t}\n\n\tsupportTemplateLiteral() {\n\t\treturn this.outputOptions.environment.templateLiteral;\n\t}\n\n\treturningFunction(returnValue, args = \"\") {\n\t\treturn this.supportsArrowFunction()\n\t\t\t? `(${args}) => (${returnValue})`\n\t\t\t: `function(${args}) { return ${returnValue}; }`;\n\t}\n\n\tbasicFunction(args, body) {\n\t\treturn this.supportsArrowFunction()\n\t\t\t? `(${args}) => {\\n${Template.indent(body)}\\n}`\n\t\t\t: `function(${args}) {\\n${Template.indent(body)}\\n}`;\n\t}\n\n\t/**\n\t * @param {Array<string|{expr: string}>} args args\n\t * @returns {string} result expression\n\t */\n\tconcatenation(...args) {\n\t\tconst len = args.length;\n\n\t\tif (len === 2) return this._es5Concatenation(args);\n\t\tif (len === 0) return '\"\"';\n\t\tif (len === 1) {\n\t\t\treturn typeof args[0] === \"string\"\n\t\t\t\t? JSON.stringify(args[0])\n\t\t\t\t: `\"\" + ${args[0].expr}`;\n\t\t}\n\t\tif (!this.supportTemplateLiteral()) return this._es5Concatenation(args);\n\n\t\t// cost comparison between template literal and concatenation:\n\t\t// both need equal surroundings: `xxx` vs \"xxx\"\n\t\t// template literal has constant cost of 3 chars for each expression\n\t\t// es5 concatenation has cost of 3 + n chars for n expressions in row\n\t\t// when a es5 concatenation ends with an expression it reduces cost by 3\n\t\t// when a es5 concatenation starts with an single expression it reduces cost by 3\n\t\t// e. g. `${a}${b}${c}` (3*3 = 9) is longer than \"\"+a+b+c ((3+3)-3 = 3)\n\t\t// e. g. `x${a}x${b}x${c}x` (3*3 = 9) is shorter than \"x\"+a+\"x\"+b+\"x\"+c+\"x\" (4+4+4 = 12)\n\n\t\tlet templateCost = 0;\n\t\tlet concatenationCost = 0;\n\n\t\tlet lastWasExpr = false;\n\t\tfor (const arg of args) {\n\t\t\tconst isExpr = typeof arg !== \"string\";\n\t\t\tif (isExpr) {\n\t\t\t\ttemplateCost += 3;\n\t\t\t\tconcatenationCost += lastWasExpr ? 1 : 4;\n\t\t\t}\n\t\t\tlastWasExpr = isExpr;\n\t\t}\n\t\tif (lastWasExpr) concatenationCost -= 3;\n\t\tif (typeof args[0] !== \"string\" && typeof args[1] === \"string\")\n\t\t\tconcatenationCost -= 3;\n\n\t\tif (concatenationCost <= templateCost) return this._es5Concatenation(args);\n\n\t\treturn `\\`${args\n\t\t\t.map(arg => (typeof arg === \"string\" ? arg : `\\${${arg.expr}}`))\n\t\t\t.join(\"\")}\\``;\n\t}\n\n\t/**\n\t * @param {Array<string|{expr: string}>} args args (len >= 2)\n\t * @returns {string} result expression\n\t * @private\n\t */\n\t_es5Concatenation(args) {\n\t\tconst str = args\n\t\t\t.map(arg => (typeof arg === \"string\" ? JSON.stringify(arg) : arg.expr))\n\t\t\t.join(\" + \");\n\n\t\t// when the first two args are expression, we need to prepend \"\" + to force string\n\t\t// concatenation instead of number addition.\n\t\treturn typeof args[0] !== \"string\" && typeof args[1] !== \"string\"\n\t\t\t? `\"\" + ${str}`\n\t\t\t: str;\n\t}\n\n\texpressionFunction(expression, args = \"\") {\n\t\treturn this.supportsArrowFunction()\n\t\t\t? `(${args}) => (${expression})`\n\t\t\t: `function(${args}) { ${expression}; }`;\n\t}\n\n\temptyFunction() {\n\t\treturn this.supportsArrowFunction() ? \"x => {}\" : \"function() {}\";\n\t}\n\n\tdestructureArray(items, value) {\n\t\treturn this.supportsDestructuring()\n\t\t\t? `var [${items.join(\", \")}] = ${value};`\n\t\t\t: Template.asString(\n\t\t\t\t\titems.map((item, i) => `var ${item} = ${value}[${i}];`)\n\t\t\t );\n\t}\n\n\tdestructureObject(items, value) {\n\t\treturn this.supportsDestructuring()\n\t\t\t? `var {${items.join(\", \")}} = ${value};`\n\t\t\t: Template.asString(\n\t\t\t\t\titems.map(item => `var ${item} = ${value}${propertyAccess([item])};`)\n\t\t\t );\n\t}\n\n\tiife(args, body) {\n\t\treturn `(${this.basicFunction(args, body)})()`;\n\t}\n\n\tforEach(variable, array, body) {\n\t\treturn this.supportsForOf()\n\t\t\t? `for(const ${variable} of ${array}) {\\n${Template.indent(body)}\\n}`\n\t\t\t: `${array}.forEach(function(${variable}) {\\n${Template.indent(\n\t\t\t\t\tbody\n\t\t\t )}\\n});`;\n\t}\n\n\t/**\n\t * Add a comment\n\t * @param {object} options Information content of the comment\n\t * @param {string=} options.request request string used originally\n\t * @param {string=} options.chunkName name of the chunk referenced\n\t * @param {string=} options.chunkReason reason information of the chunk\n\t * @param {string=} options.message additional message\n\t * @param {string=} options.exportName name of the export\n\t * @returns {string} comment\n\t */\n\tcomment({ request, chunkName, chunkReason, message, exportName }) {\n\t\tlet content;\n\t\tif (this.outputOptions.pathinfo) {\n\t\t\tcontent = [message, request, chunkName, chunkReason]\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.map(item => this.requestShortener.shorten(item))\n\t\t\t\t.join(\" | \");\n\t\t} else {\n\t\t\tcontent = [message, chunkName, chunkReason]\n\t\t\t\t.filter(Boolean)\n\t\t\t\t.map(item => this.requestShortener.shorten(item))\n\t\t\t\t.join(\" | \");\n\t\t}\n\t\tif (!content) return \"\";\n\t\tif (this.outputOptions.pathinfo) {\n\t\t\treturn Template.toComment(content) + \" \";\n\t\t} else {\n\t\t\treturn Template.toNormalComment(content) + \" \";\n\t\t}\n\t}\n\n\t/**\n\t * @param {object} options generation options\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} generated error block\n\t */\n\tthrowMissingModuleErrorBlock({ request }) {\n\t\tconst err = `Cannot find module '${request}'`;\n\t\treturn `var e = new Error(${JSON.stringify(\n\t\t\terr\n\t\t)}); e.code = 'MODULE_NOT_FOUND'; throw e;`;\n\t}\n\n\t/**\n\t * @param {object} options generation options\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} generated error function\n\t */\n\tthrowMissingModuleErrorFunction({ request }) {\n\t\treturn `function webpackMissingModule() { ${this.throwMissingModuleErrorBlock(\n\t\t\t{ request }\n\t\t)} }`;\n\t}\n\n\t/**\n\t * @param {object} options generation options\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} generated error IIFE\n\t */\n\tmissingModule({ request }) {\n\t\treturn `Object(${this.throwMissingModuleErrorFunction({ request })}())`;\n\t}\n\n\t/**\n\t * @param {object} options generation options\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} generated error statement\n\t */\n\tmissingModuleStatement({ request }) {\n\t\treturn `${this.missingModule({ request })};\\n`;\n\t}\n\n\t/**\n\t * @param {object} options generation options\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} generated error code\n\t */\n\tmissingModulePromise({ request }) {\n\t\treturn `Promise.resolve().then(${this.throwMissingModuleErrorFunction({\n\t\t\trequest\n\t\t})})`;\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {Module} options.module the module\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {string=} options.idExpr expression to use as id expression\n\t * @param {\"expression\" | \"promise\" | \"statements\"} options.type which kind of code should be returned\n\t * @returns {string} the code\n\t */\n\tweakError({ module, chunkGraph, request, idExpr, type }) {\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tconst errorMessage =\n\t\t\tmoduleId === null\n\t\t\t\t? JSON.stringify(\"Module is not available (weak dependency)\")\n\t\t\t\t: idExpr\n\t\t\t\t? `\"Module '\" + ${idExpr} + \"' is not available (weak dependency)\"`\n\t\t\t\t: JSON.stringify(\n\t\t\t\t\t\t`Module '${moduleId}' is not available (weak dependency)`\n\t\t\t\t );\n\t\tconst comment = request ? Template.toNormalComment(request) + \" \" : \"\";\n\t\tconst errorStatements =\n\t\t\t`var e = new Error(${errorMessage}); ` +\n\t\t\tcomment +\n\t\t\t\"e.code = 'MODULE_NOT_FOUND'; throw e;\";\n\t\tswitch (type) {\n\t\t\tcase \"statements\":\n\t\t\t\treturn errorStatements;\n\t\t\tcase \"promise\":\n\t\t\t\treturn `Promise.resolve().then(${this.basicFunction(\n\t\t\t\t\t\"\",\n\t\t\t\t\terrorStatements\n\t\t\t\t)})`;\n\t\t\tcase \"expression\":\n\t\t\t\treturn this.iife(\"\", errorStatements);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {Module} options.module the module\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {boolean=} options.weak if the dependency is weak (will create a nice error message)\n\t * @returns {string} the expression\n\t */\n\tmoduleId({ module, chunkGraph, request, weak }) {\n\t\tif (!module) {\n\t\t\treturn this.missingModule({\n\t\t\t\trequest\n\t\t\t});\n\t\t}\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tif (moduleId === null) {\n\t\t\tif (weak) {\n\t\t\t\treturn \"null /* weak dependency, without id */\";\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\treturn `${this.comment({ request })}${JSON.stringify(moduleId)}`;\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {Module} options.module the module\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {boolean=} options.weak if the dependency is weak (will create a nice error message)\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} the expression\n\t */\n\tmoduleRaw({ module, chunkGraph, request, weak, runtimeRequirements }) {\n\t\tif (!module) {\n\t\t\treturn this.missingModule({\n\t\t\t\trequest\n\t\t\t});\n\t\t}\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tif (moduleId === null) {\n\t\t\tif (weak) {\n\t\t\t\t// only weak referenced modules don't get an id\n\t\t\t\t// we can always emit an error emitting code here\n\t\t\t\treturn this.weakError({\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest,\n\t\t\t\t\ttype: \"expression\"\n\t\t\t\t});\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\treturn `__webpack_require__(${this.moduleId({\n\t\t\tmodule,\n\t\t\tchunkGraph,\n\t\t\trequest,\n\t\t\tweak\n\t\t})})`;\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {Module} options.module the module\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {boolean=} options.weak if the dependency is weak (will create a nice error message)\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} the expression\n\t */\n\tmoduleExports({ module, chunkGraph, request, weak, runtimeRequirements }) {\n\t\treturn this.moduleRaw({\n\t\t\tmodule,\n\t\t\tchunkGraph,\n\t\t\trequest,\n\t\t\tweak,\n\t\t\truntimeRequirements\n\t\t});\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {Module} options.module the module\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {boolean=} options.strict if the current module is in strict esm mode\n\t * @param {boolean=} options.weak if the dependency is weak (will create a nice error message)\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} the expression\n\t */\n\tmoduleNamespace({\n\t\tmodule,\n\t\tchunkGraph,\n\t\trequest,\n\t\tstrict,\n\t\tweak,\n\t\truntimeRequirements\n\t}) {\n\t\tif (!module) {\n\t\t\treturn this.missingModule({\n\t\t\t\trequest\n\t\t\t});\n\t\t}\n\t\tif (chunkGraph.getModuleId(module) === null) {\n\t\t\tif (weak) {\n\t\t\t\t// only weak referenced modules don't get an id\n\t\t\t\t// we can always emit an error emitting code here\n\t\t\t\treturn this.weakError({\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest,\n\t\t\t\t\ttype: \"expression\"\n\t\t\t\t});\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\tconst moduleId = this.moduleId({\n\t\t\tmodule,\n\t\t\tchunkGraph,\n\t\t\trequest,\n\t\t\tweak\n\t\t});\n\t\tconst exportsType = module.getExportsType(chunkGraph.moduleGraph, strict);\n\t\tswitch (exportsType) {\n\t\t\tcase \"namespace\":\n\t\t\t\treturn this.moduleRaw({\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest,\n\t\t\t\t\tweak,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t});\n\t\t\tcase \"default-with-named\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\treturn `${RuntimeGlobals.createFakeNamespaceObject}(${moduleId}, 3)`;\n\t\t\tcase \"default-only\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\treturn `${RuntimeGlobals.createFakeNamespaceObject}(${moduleId}, 1)`;\n\t\t\tcase \"dynamic\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\treturn `${RuntimeGlobals.createFakeNamespaceObject}(${moduleId}, 7)`;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {AsyncDependenciesBlock=} options.block the current dependencies block\n\t * @param {Module} options.module the module\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {string} options.message a message for the comment\n\t * @param {boolean=} options.strict if the current module is in strict esm mode\n\t * @param {boolean=} options.weak if the dependency is weak (will create a nice error message)\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} the promise expression\n\t */\n\tmoduleNamespacePromise({\n\t\tchunkGraph,\n\t\tblock,\n\t\tmodule,\n\t\trequest,\n\t\tmessage,\n\t\tstrict,\n\t\tweak,\n\t\truntimeRequirements\n\t}) {\n\t\tif (!module) {\n\t\t\treturn this.missingModulePromise({\n\t\t\t\trequest\n\t\t\t});\n\t\t}\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tif (moduleId === null) {\n\t\t\tif (weak) {\n\t\t\t\t// only weak referenced modules don't get an id\n\t\t\t\t// we can always emit an error emitting code here\n\t\t\t\treturn this.weakError({\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest,\n\t\t\t\t\ttype: \"promise\"\n\t\t\t\t});\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\tconst promise = this.blockPromise({\n\t\t\tchunkGraph,\n\t\t\tblock,\n\t\t\tmessage,\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tlet appending;\n\t\tlet idExpr = JSON.stringify(chunkGraph.getModuleId(module));\n\t\tconst comment = this.comment({\n\t\t\trequest\n\t\t});\n\t\tlet header = \"\";\n\t\tif (weak) {\n\t\t\tif (idExpr.length > 8) {\n\t\t\t\t// 'var x=\"nnnnnn\";x,\"+x+\",x' vs '\"nnnnnn\",nnnnnn,\"nnnnnn\"'\n\t\t\t\theader += `var id = ${idExpr}; `;\n\t\t\t\tidExpr = \"id\";\n\t\t\t}\n\t\t\truntimeRequirements.add(RuntimeGlobals.moduleFactories);\n\t\t\theader += `if(!${\n\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t}[${idExpr}]) { ${this.weakError({\n\t\t\t\tmodule,\n\t\t\t\tchunkGraph,\n\t\t\t\trequest,\n\t\t\t\tidExpr,\n\t\t\t\ttype: \"statements\"\n\t\t\t})} } `;\n\t\t}\n\t\tconst moduleIdExpr = this.moduleId({\n\t\t\tmodule,\n\t\t\tchunkGraph,\n\t\t\trequest,\n\t\t\tweak\n\t\t});\n\t\tconst exportsType = module.getExportsType(chunkGraph.moduleGraph, strict);\n\t\tlet fakeType = 16;\n\t\tswitch (exportsType) {\n\t\t\tcase \"namespace\":\n\t\t\t\tif (header) {\n\t\t\t\t\tconst rawModule = this.moduleRaw({\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\tweak,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t});\n\t\t\t\t\tappending = `.then(${this.basicFunction(\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t`${header}return ${rawModule};`\n\t\t\t\t\t)})`;\n\t\t\t\t} else {\n\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\t\t\t\tappending = `.then(__webpack_require__.bind(__webpack_require__, ${comment}${idExpr}))`;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"dynamic\":\n\t\t\t\tfakeType |= 4;\n\t\t\t/* fall through */\n\t\t\tcase \"default-with-named\":\n\t\t\t\tfakeType |= 2;\n\t\t\t/* fall through */\n\t\t\tcase \"default-only\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\tif (chunkGraph.moduleGraph.isAsync(module)) {\n\t\t\t\t\tif (header) {\n\t\t\t\t\t\tconst rawModule = this.moduleRaw({\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\tweak,\n\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t});\n\t\t\t\t\t\tappending = `.then(${this.basicFunction(\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t`${header}return ${rawModule};`\n\t\t\t\t\t\t)})`;\n\t\t\t\t\t} else {\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\t\t\t\t\tappending = `.then(__webpack_require__.bind(__webpack_require__, ${comment}${idExpr}))`;\n\t\t\t\t\t}\n\t\t\t\t\tappending += `.then(${this.returningFunction(\n\t\t\t\t\t\t`${RuntimeGlobals.createFakeNamespaceObject}(m, ${fakeType})`,\n\t\t\t\t\t\t\"m\"\n\t\t\t\t\t)})`;\n\t\t\t\t} else {\n\t\t\t\t\tfakeType |= 1;\n\t\t\t\t\tif (header) {\n\t\t\t\t\t\tconst returnExpression = `${RuntimeGlobals.createFakeNamespaceObject}(${moduleIdExpr}, ${fakeType})`;\n\t\t\t\t\t\tappending = `.then(${this.basicFunction(\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t`${header}return ${returnExpression};`\n\t\t\t\t\t\t)})`;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tappending = `.then(${RuntimeGlobals.createFakeNamespaceObject}.bind(__webpack_require__, ${comment}${idExpr}, ${fakeType}))`;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn `${promise || \"Promise.resolve()\"}${appending}`;\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {RuntimeSpec=} options.runtime runtime for which this code will be generated\n\t * @param {RuntimeSpec | boolean=} options.runtimeCondition only execute the statement in some runtimes\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} expression\n\t */\n\truntimeConditionExpression({\n\t\tchunkGraph,\n\t\truntimeCondition,\n\t\truntime,\n\t\truntimeRequirements\n\t}) {\n\t\tif (runtimeCondition === undefined) return \"true\";\n\t\tif (typeof runtimeCondition === \"boolean\") return `${runtimeCondition}`;\n\t\t/** @type {Set<string>} */\n\t\tconst positiveRuntimeIds = new Set();\n\t\tforEachRuntime(runtimeCondition, runtime =>\n\t\t\tpositiveRuntimeIds.add(`${chunkGraph.getRuntimeId(runtime)}`)\n\t\t);\n\t\t/** @type {Set<string>} */\n\t\tconst negativeRuntimeIds = new Set();\n\t\tforEachRuntime(subtractRuntime(runtime, runtimeCondition), runtime =>\n\t\t\tnegativeRuntimeIds.add(`${chunkGraph.getRuntimeId(runtime)}`)\n\t\t);\n\t\truntimeRequirements.add(RuntimeGlobals.runtimeId);\n\t\treturn compileBooleanMatcher.fromLists(\n\t\t\tArray.from(positiveRuntimeIds),\n\t\t\tArray.from(negativeRuntimeIds)\n\t\t)(RuntimeGlobals.runtimeId);\n\t}\n\n\t/**\n\t *\n\t * @param {Object} options options object\n\t * @param {boolean=} options.update whether a new variable should be created or the existing one updated\n\t * @param {Module} options.module the module\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {string} options.request the request that should be printed as comment\n\t * @param {string} options.importVar name of the import variable\n\t * @param {Module} options.originModule module in which the statement is emitted\n\t * @param {boolean=} options.weak true, if this is a weak dependency\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {[string, string]} the import statement and the compat statement\n\t */\n\timportStatement({\n\t\tupdate,\n\t\tmodule,\n\t\tchunkGraph,\n\t\trequest,\n\t\timportVar,\n\t\toriginModule,\n\t\tweak,\n\t\truntimeRequirements\n\t}) {\n\t\tif (!module) {\n\t\t\treturn [\n\t\t\t\tthis.missingModuleStatement({\n\t\t\t\t\trequest\n\t\t\t\t}),\n\t\t\t\t\"\"\n\t\t\t];\n\t\t}\n\t\tif (chunkGraph.getModuleId(module) === null) {\n\t\t\tif (weak) {\n\t\t\t\t// only weak referenced modules don't get an id\n\t\t\t\t// we can always emit an error emitting code here\n\t\t\t\treturn [\n\t\t\t\t\tthis.weakError({\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\ttype: \"statements\"\n\t\t\t\t\t}),\n\t\t\t\t\t\"\"\n\t\t\t\t];\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunkGraph\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\t\tconst moduleId = this.moduleId({\n\t\t\tmodule,\n\t\t\tchunkGraph,\n\t\t\trequest,\n\t\t\tweak\n\t\t});\n\t\tconst optDeclaration = update ? \"\" : \"var \";\n\n\t\tconst exportsType = module.getExportsType(\n\t\t\tchunkGraph.moduleGraph,\n\t\t\toriginModule.buildMeta.strictHarmonyModule\n\t\t);\n\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\tconst importContent = `/* harmony import */ ${optDeclaration}${importVar} = __webpack_require__(${moduleId});\\n`;\n\n\t\tif (exportsType === \"dynamic\") {\n\t\t\truntimeRequirements.add(RuntimeGlobals.compatGetDefaultExport);\n\t\t\treturn [\n\t\t\t\timportContent,\n\t\t\t\t`/* harmony import */ ${optDeclaration}${importVar}_default = /*#__PURE__*/${RuntimeGlobals.compatGetDefaultExport}(${importVar});\\n`\n\t\t\t];\n\t\t}\n\t\treturn [importContent, \"\"];\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {ModuleGraph} options.moduleGraph the module graph\n\t * @param {Module} options.module the module\n\t * @param {string} options.request the request\n\t * @param {string | string[]} options.exportName the export name\n\t * @param {Module} options.originModule the origin module\n\t * @param {boolean|undefined} options.asiSafe true, if location is safe for ASI, a bracket can be emitted\n\t * @param {boolean} options.isCall true, if expression will be called\n\t * @param {boolean} options.callContext when false, call context will not be preserved\n\t * @param {boolean} options.defaultInterop when true and accessing the default exports, interop code will be generated\n\t * @param {string} options.importVar the identifier name of the import variable\n\t * @param {InitFragment[]} options.initFragments init fragments will be added here\n\t * @param {RuntimeSpec} options.runtime runtime for which this code will be generated\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} expression\n\t */\n\texportFromImport({\n\t\tmoduleGraph,\n\t\tmodule,\n\t\trequest,\n\t\texportName,\n\t\toriginModule,\n\t\tasiSafe,\n\t\tisCall,\n\t\tcallContext,\n\t\tdefaultInterop,\n\t\timportVar,\n\t\tinitFragments,\n\t\truntime,\n\t\truntimeRequirements\n\t}) {\n\t\tif (!module) {\n\t\t\treturn this.missingModule({\n\t\t\t\trequest\n\t\t\t});\n\t\t}\n\t\tif (!Array.isArray(exportName)) {\n\t\t\texportName = exportName ? [exportName] : [];\n\t\t}\n\t\tconst exportsType = module.getExportsType(\n\t\t\tmoduleGraph,\n\t\t\toriginModule.buildMeta.strictHarmonyModule\n\t\t);\n\n\t\tif (defaultInterop) {\n\t\t\tif (exportName.length > 0 && exportName[0] === \"default\") {\n\t\t\t\tswitch (exportsType) {\n\t\t\t\t\tcase \"dynamic\":\n\t\t\t\t\t\tif (isCall) {\n\t\t\t\t\t\t\treturn `${importVar}_default()${propertyAccess(exportName, 1)}`;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn asiSafe\n\t\t\t\t\t\t\t\t? `(${importVar}_default()${propertyAccess(exportName, 1)})`\n\t\t\t\t\t\t\t\t: asiSafe === false\n\t\t\t\t\t\t\t\t? `;(${importVar}_default()${propertyAccess(exportName, 1)})`\n\t\t\t\t\t\t\t\t: `${importVar}_default.a${propertyAccess(exportName, 1)}`;\n\t\t\t\t\t\t}\n\t\t\t\t\tcase \"default-only\":\n\t\t\t\t\tcase \"default-with-named\":\n\t\t\t\t\t\texportName = exportName.slice(1);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if (exportName.length > 0) {\n\t\t\t\tif (exportsType === \"default-only\") {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\"/* non-default import from non-esm module */undefined\" +\n\t\t\t\t\t\tpropertyAccess(exportName, 1)\n\t\t\t\t\t);\n\t\t\t\t} else if (\n\t\t\t\t\texportsType !== \"namespace\" &&\n\t\t\t\t\texportName[0] === \"__esModule\"\n\t\t\t\t) {\n\t\t\t\t\treturn \"/* __esModule */true\";\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\texportsType === \"default-only\" ||\n\t\t\t\texportsType === \"default-with-named\"\n\t\t\t) {\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t`var ${importVar}_namespace_cache;\\n`,\n\t\t\t\t\t\tInitFragment.STAGE_CONSTANTS,\n\t\t\t\t\t\t-1,\n\t\t\t\t\t\t`${importVar}_namespace_cache`\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\treturn `/*#__PURE__*/ ${\n\t\t\t\t\tasiSafe ? \"\" : asiSafe === false ? \";\" : \"Object\"\n\t\t\t\t}(${importVar}_namespace_cache || (${importVar}_namespace_cache = ${\n\t\t\t\t\tRuntimeGlobals.createFakeNamespaceObject\n\t\t\t\t}(${importVar}${exportsType === \"default-only\" ? \"\" : \", 2\"})))`;\n\t\t\t}\n\t\t}\n\n\t\tif (exportName.length > 0) {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\tconst used = exportsInfo.getUsedName(exportName, runtime);\n\t\t\tif (!used) {\n\t\t\t\tconst comment = Template.toNormalComment(\n\t\t\t\t\t`unused export ${propertyAccess(exportName)}`\n\t\t\t\t);\n\t\t\t\treturn `${comment} undefined`;\n\t\t\t}\n\t\t\tconst comment = equals(used, exportName)\n\t\t\t\t? \"\"\n\t\t\t\t: Template.toNormalComment(propertyAccess(exportName)) + \" \";\n\t\t\tconst access = `${importVar}${comment}${propertyAccess(used)}`;\n\t\t\tif (isCall && callContext === false) {\n\t\t\t\treturn asiSafe\n\t\t\t\t\t? `(0,${access})`\n\t\t\t\t\t: asiSafe === false\n\t\t\t\t\t? `;(0,${access})`\n\t\t\t\t\t: `/*#__PURE__*/Object(${access})`;\n\t\t\t}\n\t\t\treturn access;\n\t\t} else {\n\t\t\treturn importVar;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {AsyncDependenciesBlock} options.block the async block\n\t * @param {string} options.message the message\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} expression\n\t */\n\tblockPromise({ block, message, chunkGraph, runtimeRequirements }) {\n\t\tif (!block) {\n\t\t\tconst comment = this.comment({\n\t\t\t\tmessage\n\t\t\t});\n\t\t\treturn `Promise.resolve(${comment.trim()})`;\n\t\t}\n\t\tconst chunkGroup = chunkGraph.getBlockChunkGroup(block);\n\t\tif (!chunkGroup || chunkGroup.chunks.length === 0) {\n\t\t\tconst comment = this.comment({\n\t\t\t\tmessage\n\t\t\t});\n\t\t\treturn `Promise.resolve(${comment.trim()})`;\n\t\t}\n\t\tconst chunks = chunkGroup.chunks.filter(\n\t\t\tchunk => !chunk.hasRuntime() && chunk.id !== null\n\t\t);\n\t\tconst comment = this.comment({\n\t\t\tmessage,\n\t\t\tchunkName: block.chunkName\n\t\t});\n\t\tif (chunks.length === 1) {\n\t\t\tconst chunkId = JSON.stringify(chunks[0].id);\n\t\t\truntimeRequirements.add(RuntimeGlobals.ensureChunk);\n\t\t\treturn `${RuntimeGlobals.ensureChunk}(${comment}${chunkId})`;\n\t\t} else if (chunks.length > 0) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.ensureChunk);\n\t\t\tconst requireChunkId = chunk =>\n\t\t\t\t`${RuntimeGlobals.ensureChunk}(${JSON.stringify(chunk.id)})`;\n\t\t\treturn `Promise.all(${comment.trim()}[${chunks\n\t\t\t\t.map(requireChunkId)\n\t\t\t\t.join(\", \")}])`;\n\t\t} else {\n\t\t\treturn `Promise.resolve(${comment.trim()})`;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {AsyncDependenciesBlock} options.block the async block\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} expression\n\t */\n\tasyncModuleFactory({ block, chunkGraph, runtimeRequirements, request }) {\n\t\tconst dep = block.dependencies[0];\n\t\tconst module = chunkGraph.moduleGraph.getModule(dep);\n\t\tconst ensureChunk = this.blockPromise({\n\t\t\tblock,\n\t\t\tmessage: \"\",\n\t\t\tchunkGraph,\n\t\t\truntimeRequirements\n\t\t});\n\t\tconst factory = this.returningFunction(\n\t\t\tthis.moduleRaw({\n\t\t\t\tmodule,\n\t\t\t\tchunkGraph,\n\t\t\t\trequest,\n\t\t\t\truntimeRequirements\n\t\t\t})\n\t\t);\n\t\treturn this.returningFunction(\n\t\t\tensureChunk.startsWith(\"Promise.resolve(\")\n\t\t\t\t? `${factory}`\n\t\t\t\t: `${ensureChunk}.then(${this.returningFunction(factory)})`\n\t\t);\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {Dependency} options.dependency the dependency\n\t * @param {ChunkGraph} options.chunkGraph the chunk graph\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @param {string=} options.request request string used originally\n\t * @returns {string} expression\n\t */\n\tsyncModuleFactory({ dependency, chunkGraph, runtimeRequirements, request }) {\n\t\tconst module = chunkGraph.moduleGraph.getModule(dependency);\n\t\tconst factory = this.returningFunction(\n\t\t\tthis.moduleRaw({\n\t\t\t\tmodule,\n\t\t\t\tchunkGraph,\n\t\t\t\trequest,\n\t\t\t\truntimeRequirements\n\t\t\t})\n\t\t);\n\t\treturn this.returningFunction(factory);\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {string} options.exportsArgument the name of the exports object\n\t * @param {Set<string>} options.runtimeRequirements if set, will be filled with runtime requirements\n\t * @returns {string} statement\n\t */\n\tdefineEsModuleFlagStatement({ exportsArgument, runtimeRequirements }) {\n\t\truntimeRequirements.add(RuntimeGlobals.makeNamespaceObject);\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\treturn `${RuntimeGlobals.makeNamespaceObject}(${exportsArgument});\\n`;\n\t}\n\n\t/**\n\t * @param {Object} options options object\n\t * @param {Module} options.module the module\n\t * @param {string} options.publicPath the public path\n\t * @param {RuntimeSpec=} options.runtime runtime\n\t * @param {CodeGenerationResults} options.codeGenerationResults the code generation results\n\t * @returns {string} the url of the asset\n\t */\n\tassetUrl({ publicPath, runtime, module, codeGenerationResults }) {\n\t\tif (!module) {\n\t\t\treturn \"data:,\";\n\t\t}\n\t\tconst codeGen = codeGenerationResults.get(module, runtime);\n\t\tconst { data } = codeGen;\n\t\tconst url = data.get(\"url\");\n\t\tif (url) return url.toString();\n\t\tconst filename = data.get(\"filename\");\n\t\treturn publicPath + filename;\n\t}\n}\n\nmodule.exports = RuntimeTemplate;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/RuntimeTemplate.js?"); /***/ }), /***/ "./node_modules/webpack/lib/SelfModuleFactory.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/SelfModuleFactory.js ***! \*******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nclass SelfModuleFactory {\n\tconstructor(moduleGraph) {\n\t\tthis.moduleGraph = moduleGraph;\n\t}\n\n\tcreate(data, callback) {\n\t\tconst module = this.moduleGraph.getParentModule(data.dependencies[0]);\n\t\tcallback(null, {\n\t\t\tmodule\n\t\t});\n\t}\n}\n\nmodule.exports = SelfModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/SelfModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/SizeFormatHelpers.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/SizeFormatHelpers.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\n/**\n * @param {number} size the size in bytes\n * @returns {string} the formatted size\n */\nexports.formatSize = size => {\n\tif (typeof size !== \"number\" || Number.isNaN(size) === true) {\n\t\treturn \"unknown size\";\n\t}\n\n\tif (size <= 0) {\n\t\treturn \"0 bytes\";\n\t}\n\n\tconst abbreviations = [\"bytes\", \"KiB\", \"MiB\", \"GiB\"];\n\tconst index = Math.floor(Math.log(size) / Math.log(1024));\n\n\treturn `${+(size / Math.pow(1024, index)).toPrecision(3)} ${\n\t\tabbreviations[index]\n\t}`;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/SizeFormatHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\n\n/** @typedef {import(\"./Compilation\")} Compilation */\n\nclass SourceMapDevToolModuleOptionsPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compilation) {\n\t\tconst options = this.options;\n\t\tif (options.module !== false) {\n\t\t\tcompilation.hooks.buildModule.tap(\n\t\t\t\t\"SourceMapDevToolModuleOptionsPlugin\",\n\t\t\t\tmodule => {\n\t\t\t\t\tmodule.useSourceMap = true;\n\t\t\t\t}\n\t\t\t);\n\t\t\tcompilation.hooks.runtimeModule.tap(\n\t\t\t\t\"SourceMapDevToolModuleOptionsPlugin\",\n\t\t\t\tmodule => {\n\t\t\t\t\tmodule.useSourceMap = true;\n\t\t\t\t}\n\t\t\t);\n\t\t} else {\n\t\t\tcompilation.hooks.buildModule.tap(\n\t\t\t\t\"SourceMapDevToolModuleOptionsPlugin\",\n\t\t\t\tmodule => {\n\t\t\t\t\tmodule.useSimpleSourceMap = true;\n\t\t\t\t}\n\t\t\t);\n\t\t\tcompilation.hooks.runtimeModule.tap(\n\t\t\t\t\"SourceMapDevToolModuleOptionsPlugin\",\n\t\t\t\tmodule => {\n\t\t\t\t\tmodule.useSimpleSourceMap = true;\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t\tJavascriptModulesPlugin.getCompilationHooks(compilation).useSourceMap.tap(\n\t\t\t\"SourceMapDevToolModuleOptionsPlugin\",\n\t\t\t() => true\n\t\t);\n\t}\n}\n\nmodule.exports = SourceMapDevToolModuleOptionsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/SourceMapDevToolPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/SourceMapDevToolPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst { ConcatSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst ModuleFilenameHelpers = __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\nconst ProgressPlugin = __webpack_require__(/*! ./ProgressPlugin */ \"./node_modules/webpack/lib/ProgressPlugin.js\");\nconst SourceMapDevToolModuleOptionsPlugin = __webpack_require__(/*! ./SourceMapDevToolModuleOptionsPlugin */ \"./node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst createHash = __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { relative, dirname } = __webpack_require__(/*! ./util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst { makePathsAbsolute } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"webpack-sources\").MapOptions} MapOptions */\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/plugins/SourceMapDevToolPlugin\").SourceMapDevToolPluginOptions} SourceMapDevToolPluginOptions */\n/** @typedef {import(\"./Cache\").Etag} Etag */\n/** @typedef {import(\"./CacheFacade\").ItemCacheFacade} ItemCacheFacade */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./NormalModule\").SourceMap} SourceMap */\n/** @typedef {import(\"./util/Hash\")} Hash */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/SourceMapDevToolPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/SourceMapDevToolPlugin.json */ \"./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json\"),\n\t{\n\t\tname: \"SourceMap DevTool Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n/**\n * @typedef {object} SourceMapTask\n * @property {Source} asset\n * @property {AssetInfo} assetInfo\n * @property {(string | Module)[]} modules\n * @property {string} source\n * @property {string} file\n * @property {SourceMap} sourceMap\n * @property {ItemCacheFacade} cacheItem cache item\n */\n\n/**\n * Escapes regular expression metacharacters\n * @param {string} str String to quote\n * @returns {string} Escaped string\n */\nconst quoteMeta = str => {\n\treturn str.replace(/[-[\\]\\\\/{}()*+?.^$|]/g, \"\\\\$&\");\n};\n\n/**\n * Creating {@link SourceMapTask} for given file\n * @param {string} file current compiled file\n * @param {Source} asset the asset\n * @param {AssetInfo} assetInfo the asset info\n * @param {MapOptions} options source map options\n * @param {Compilation} compilation compilation instance\n * @param {ItemCacheFacade} cacheItem cache item\n * @returns {SourceMapTask | undefined} created task instance or `undefined`\n */\nconst getTaskForFile = (\n\tfile,\n\tasset,\n\tassetInfo,\n\toptions,\n\tcompilation,\n\tcacheItem\n) => {\n\tlet source;\n\t/** @type {SourceMap} */\n\tlet sourceMap;\n\t/**\n\t * Check if asset can build source map\n\t */\n\tif (asset.sourceAndMap) {\n\t\tconst sourceAndMap = asset.sourceAndMap(options);\n\t\tsourceMap = /** @type {SourceMap} */ (sourceAndMap.map);\n\t\tsource = sourceAndMap.source;\n\t} else {\n\t\tsourceMap = /** @type {SourceMap} */ (asset.map(options));\n\t\tsource = asset.source();\n\t}\n\tif (!sourceMap || typeof source !== \"string\") return;\n\tconst context = compilation.options.context;\n\tconst root = compilation.compiler.root;\n\tconst cachedAbsolutify = makePathsAbsolute.bindContextCache(context, root);\n\tconst modules = sourceMap.sources.map(source => {\n\t\tif (!source.startsWith(\"webpack://\")) return source;\n\t\tsource = cachedAbsolutify(source.slice(10));\n\t\tconst module = compilation.findModule(source);\n\t\treturn module || source;\n\t});\n\n\treturn {\n\t\tfile,\n\t\tasset,\n\t\tsource,\n\t\tassetInfo,\n\t\tsourceMap,\n\t\tmodules,\n\t\tcacheItem\n\t};\n};\n\nclass SourceMapDevToolPlugin {\n\t/**\n\t * @param {SourceMapDevToolPluginOptions} [options] options object\n\t * @throws {Error} throws error, if got more than 1 arguments\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\n\t\t/** @type {string | false} */\n\t\tthis.sourceMapFilename = options.filename;\n\t\t/** @type {string | false} */\n\t\tthis.sourceMappingURLComment =\n\t\t\toptions.append === false\n\t\t\t\t? false\n\t\t\t\t: options.append || \"\\n//# source\" + \"MappingURL=[url]\";\n\t\t/** @type {string | Function} */\n\t\tthis.moduleFilenameTemplate =\n\t\t\toptions.moduleFilenameTemplate || \"webpack://[namespace]/[resourcePath]\";\n\t\t/** @type {string | Function} */\n\t\tthis.fallbackModuleFilenameTemplate =\n\t\t\toptions.fallbackModuleFilenameTemplate ||\n\t\t\t\"webpack://[namespace]/[resourcePath]?[hash]\";\n\t\t/** @type {string} */\n\t\tthis.namespace = options.namespace || \"\";\n\t\t/** @type {SourceMapDevToolPluginOptions} */\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst outputFs = compiler.outputFileSystem;\n\t\tconst sourceMapFilename = this.sourceMapFilename;\n\t\tconst sourceMappingURLComment = this.sourceMappingURLComment;\n\t\tconst moduleFilenameTemplate = this.moduleFilenameTemplate;\n\t\tconst namespace = this.namespace;\n\t\tconst fallbackModuleFilenameTemplate = this.fallbackModuleFilenameTemplate;\n\t\tconst requestShortener = compiler.requestShortener;\n\t\tconst options = this.options;\n\t\toptions.test = options.test || /\\.((c|m)?js|css)($|\\?)/i;\n\n\t\tconst matchObject = ModuleFilenameHelpers.matchObject.bind(\n\t\t\tundefined,\n\t\t\toptions\n\t\t);\n\n\t\tcompiler.hooks.compilation.tap(\"SourceMapDevToolPlugin\", compilation => {\n\t\t\tnew SourceMapDevToolModuleOptionsPlugin(options).apply(compilation);\n\n\t\t\tcompilation.hooks.processAssets.tapAsync(\n\t\t\t\t{\n\t\t\t\t\tname: \"SourceMapDevToolPlugin\",\n\t\t\t\t\tstage: Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING,\n\t\t\t\t\tadditionalAssets: true\n\t\t\t\t},\n\t\t\t\t(assets, callback) => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst cache = compilation.getCache(\"SourceMapDevToolPlugin\");\n\t\t\t\t\t/** @type {Map<string | Module, string>} */\n\t\t\t\t\tconst moduleToSourceNameMapping = new Map();\n\t\t\t\t\t/**\n\t\t\t\t\t * @type {Function}\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst reportProgress =\n\t\t\t\t\t\tProgressPlugin.getReporter(compilation.compiler) || (() => {});\n\n\t\t\t\t\t/** @type {Map<string, Chunk>} */\n\t\t\t\t\tconst fileToChunk = new Map();\n\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\tfor (const file of chunk.files) {\n\t\t\t\t\t\t\tfileToChunk.set(file, chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const file of chunk.auxiliaryFiles) {\n\t\t\t\t\t\t\tfileToChunk.set(file, chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t/** @type {string[]} */\n\t\t\t\t\tconst files = [];\n\t\t\t\t\tfor (const file of Object.keys(assets)) {\n\t\t\t\t\t\tif (matchObject(file)) {\n\t\t\t\t\t\t\tfiles.push(file);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treportProgress(0.0);\n\t\t\t\t\t/** @type {SourceMapTask[]} */\n\t\t\t\t\tconst tasks = [];\n\t\t\t\t\tlet fileIndex = 0;\n\n\t\t\t\t\tasyncLib.each(\n\t\t\t\t\t\tfiles,\n\t\t\t\t\t\t(file, callback) => {\n\t\t\t\t\t\t\tconst asset = compilation.getAsset(file);\n\t\t\t\t\t\t\tif (asset.info.related && asset.info.related.sourceMap) {\n\t\t\t\t\t\t\t\tfileIndex++;\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst cacheItem = cache.getItemCache(\n\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\tcache.mergeEtags(\n\t\t\t\t\t\t\t\t\tcache.getLazyHashedEtag(asset.source),\n\t\t\t\t\t\t\t\t\tnamespace\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tcacheItem.get((err, cacheEntry) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * If presented in cache, reassigns assets. Cache assets already have source maps.\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tif (cacheEntry) {\n\t\t\t\t\t\t\t\t\tconst { assets, assetsInfo } = cacheEntry;\n\t\t\t\t\t\t\t\t\tfor (const cachedFile of Object.keys(assets)) {\n\t\t\t\t\t\t\t\t\t\tif (cachedFile === file) {\n\t\t\t\t\t\t\t\t\t\t\tcompilation.updateAsset(\n\t\t\t\t\t\t\t\t\t\t\t\tcachedFile,\n\t\t\t\t\t\t\t\t\t\t\t\tassets[cachedFile],\n\t\t\t\t\t\t\t\t\t\t\t\tassetsInfo[cachedFile]\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tcompilation.emitAsset(\n\t\t\t\t\t\t\t\t\t\t\t\tcachedFile,\n\t\t\t\t\t\t\t\t\t\t\t\tassets[cachedFile],\n\t\t\t\t\t\t\t\t\t\t\t\tassetsInfo[cachedFile]\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t\t\t * Add file to chunk, if not presented there\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tif (cachedFile !== file) {\n\t\t\t\t\t\t\t\t\t\t\tconst chunk = fileToChunk.get(file);\n\t\t\t\t\t\t\t\t\t\t\tif (chunk !== undefined)\n\t\t\t\t\t\t\t\t\t\t\t\tchunk.auxiliaryFiles.add(cachedFile);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t\t(0.5 * ++fileIndex) / files.length,\n\t\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\t\t\"restored cached SourceMap\"\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t(0.5 * fileIndex) / files.length,\n\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\t\"generate SourceMap\"\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t/** @type {SourceMapTask | undefined} */\n\t\t\t\t\t\t\t\tconst task = getTaskForFile(\n\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\tasset.source,\n\t\t\t\t\t\t\t\t\tasset.info,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tmodule: options.module,\n\t\t\t\t\t\t\t\t\t\tcolumns: options.columns\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\t\tcacheItem\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tif (task) {\n\t\t\t\t\t\t\t\t\tconst modules = task.modules;\n\n\t\t\t\t\t\t\t\t\tfor (let idx = 0; idx < modules.length; idx++) {\n\t\t\t\t\t\t\t\t\t\tconst module = modules[idx];\n\t\t\t\t\t\t\t\t\t\tif (!moduleToSourceNameMapping.get(module)) {\n\t\t\t\t\t\t\t\t\t\t\tmoduleToSourceNameMapping.set(\n\t\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\t\tModuleFilenameHelpers.createFilename(\n\t\t\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleFilenameTemplate: moduleFilenameTemplate,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tnamespace: namespace\n\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thashFunction: compilation.outputOptions.hashFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\ttasks.push(task);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t(0.5 * ++fileIndex) / files.length,\n\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\t\"generated SourceMap\"\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treportProgress(0.5, \"resolve sources\");\n\t\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\t\tconst usedNamesSet = new Set(moduleToSourceNameMapping.values());\n\t\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\t\tconst conflictDetectionSet = new Set();\n\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * all modules in defined order (longest identifier first)\n\t\t\t\t\t\t\t * @type {Array<string | Module>}\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tconst allModules = Array.from(\n\t\t\t\t\t\t\t\tmoduleToSourceNameMapping.keys()\n\t\t\t\t\t\t\t).sort((a, b) => {\n\t\t\t\t\t\t\t\tconst ai = typeof a === \"string\" ? a : a.identifier();\n\t\t\t\t\t\t\t\tconst bi = typeof b === \"string\" ? b : b.identifier();\n\t\t\t\t\t\t\t\treturn ai.length - bi.length;\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t// find modules with conflicting source names\n\t\t\t\t\t\t\tfor (let idx = 0; idx < allModules.length; idx++) {\n\t\t\t\t\t\t\t\tconst module = allModules[idx];\n\t\t\t\t\t\t\t\tlet sourceName = moduleToSourceNameMapping.get(module);\n\t\t\t\t\t\t\t\tlet hasName = conflictDetectionSet.has(sourceName);\n\t\t\t\t\t\t\t\tif (!hasName) {\n\t\t\t\t\t\t\t\t\tconflictDetectionSet.add(sourceName);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// try the fallback name first\n\t\t\t\t\t\t\t\tsourceName = ModuleFilenameHelpers.createFilename(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tmoduleFilenameTemplate: fallbackModuleFilenameTemplate,\n\t\t\t\t\t\t\t\t\t\tnamespace: namespace\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\thashFunction: compilation.outputOptions.hashFunction\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\thasName = usedNamesSet.has(sourceName);\n\t\t\t\t\t\t\t\tif (!hasName) {\n\t\t\t\t\t\t\t\t\tmoduleToSourceNameMapping.set(module, sourceName);\n\t\t\t\t\t\t\t\t\tusedNamesSet.add(sourceName);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// otherwise just append stars until we have a valid name\n\t\t\t\t\t\t\t\twhile (hasName) {\n\t\t\t\t\t\t\t\t\tsourceName += \"*\";\n\t\t\t\t\t\t\t\t\thasName = usedNamesSet.has(sourceName);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tmoduleToSourceNameMapping.set(module, sourceName);\n\t\t\t\t\t\t\t\tusedNamesSet.add(sourceName);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tlet taskIndex = 0;\n\n\t\t\t\t\t\t\tasyncLib.each(\n\t\t\t\t\t\t\t\ttasks,\n\t\t\t\t\t\t\t\t(task, callback) => {\n\t\t\t\t\t\t\t\t\tconst assets = Object.create(null);\n\t\t\t\t\t\t\t\t\tconst assetsInfo = Object.create(null);\n\t\t\t\t\t\t\t\t\tconst file = task.file;\n\t\t\t\t\t\t\t\t\tconst chunk = fileToChunk.get(file);\n\t\t\t\t\t\t\t\t\tconst sourceMap = task.sourceMap;\n\t\t\t\t\t\t\t\t\tconst source = task.source;\n\t\t\t\t\t\t\t\t\tconst modules = task.modules;\n\n\t\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t\t0.5 + (0.5 * taskIndex) / tasks.length,\n\t\t\t\t\t\t\t\t\t\tfile,\n\t\t\t\t\t\t\t\t\t\t\"attach SourceMap\"\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\tconst moduleFilenames = modules.map(m =>\n\t\t\t\t\t\t\t\t\t\tmoduleToSourceNameMapping.get(m)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsourceMap.sources = moduleFilenames;\n\t\t\t\t\t\t\t\t\tif (options.noSources) {\n\t\t\t\t\t\t\t\t\t\tsourceMap.sourcesContent = undefined;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tsourceMap.sourceRoot = options.sourceRoot || \"\";\n\t\t\t\t\t\t\t\t\tsourceMap.file = file;\n\t\t\t\t\t\t\t\t\tconst usesContentHash =\n\t\t\t\t\t\t\t\t\t\tsourceMapFilename &&\n\t\t\t\t\t\t\t\t\t\t/\\[contenthash(:\\w+)?\\]/.test(sourceMapFilename);\n\n\t\t\t\t\t\t\t\t\t// If SourceMap and asset uses contenthash, avoid a circular dependency by hiding hash in `file`\n\t\t\t\t\t\t\t\t\tif (usesContentHash && task.assetInfo.contenthash) {\n\t\t\t\t\t\t\t\t\t\tconst contenthash = task.assetInfo.contenthash;\n\t\t\t\t\t\t\t\t\t\tlet pattern;\n\t\t\t\t\t\t\t\t\t\tif (Array.isArray(contenthash)) {\n\t\t\t\t\t\t\t\t\t\t\tpattern = contenthash.map(quoteMeta).join(\"|\");\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tpattern = quoteMeta(contenthash);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tsourceMap.file = sourceMap.file.replace(\n\t\t\t\t\t\t\t\t\t\t\tnew RegExp(pattern, \"g\"),\n\t\t\t\t\t\t\t\t\t\t\tm => \"x\".repeat(m.length)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t/** @type {string | false} */\n\t\t\t\t\t\t\t\t\tlet currentSourceMappingURLComment = sourceMappingURLComment;\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tcurrentSourceMappingURLComment !== false &&\n\t\t\t\t\t\t\t\t\t\t/\\.css($|\\?)/i.test(file)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tcurrentSourceMappingURLComment =\n\t\t\t\t\t\t\t\t\t\t\tcurrentSourceMappingURLComment.replace(\n\t\t\t\t\t\t\t\t\t\t\t\t/^\\n\\/\\/(.*)$/,\n\t\t\t\t\t\t\t\t\t\t\t\t\"\\n/*$1*/\"\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconst sourceMapString = JSON.stringify(sourceMap);\n\t\t\t\t\t\t\t\t\tif (sourceMapFilename) {\n\t\t\t\t\t\t\t\t\t\tlet filename = file;\n\t\t\t\t\t\t\t\t\t\tconst sourceMapContentHash =\n\t\t\t\t\t\t\t\t\t\t\tusesContentHash &&\n\t\t\t\t\t\t\t\t\t\t\t/** @type {string} */ (\n\t\t\t\t\t\t\t\t\t\t\t\tcreateHash(compilation.outputOptions.hashFunction)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.update(sourceMapString)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.digest(\"hex\")\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst pathParams = {\n\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\tfilename: options.fileContext\n\t\t\t\t\t\t\t\t\t\t\t\t? relative(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputFs,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`/${options.fileContext}`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`/${filename}`\n\t\t\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t\t\t: filename,\n\t\t\t\t\t\t\t\t\t\t\tcontentHash: sourceMapContentHash\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tconst { path: sourceMapFile, info: sourceMapInfo } =\n\t\t\t\t\t\t\t\t\t\t\tcompilation.getPathWithInfo(\n\t\t\t\t\t\t\t\t\t\t\t\tsourceMapFilename,\n\t\t\t\t\t\t\t\t\t\t\t\tpathParams\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst sourceMapUrl = options.publicPath\n\t\t\t\t\t\t\t\t\t\t\t? options.publicPath + sourceMapFile\n\t\t\t\t\t\t\t\t\t\t\t: relative(\n\t\t\t\t\t\t\t\t\t\t\t\t\toutputFs,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdirname(outputFs, `/${file}`),\n\t\t\t\t\t\t\t\t\t\t\t\t\t`/${sourceMapFile}`\n\t\t\t\t\t\t\t\t\t\t\t );\n\t\t\t\t\t\t\t\t\t\t/** @type {Source} */\n\t\t\t\t\t\t\t\t\t\tlet asset = new RawSource(source);\n\t\t\t\t\t\t\t\t\t\tif (currentSourceMappingURLComment !== false) {\n\t\t\t\t\t\t\t\t\t\t\t// Add source map url to compilation asset, if currentSourceMappingURLComment is set\n\t\t\t\t\t\t\t\t\t\t\tasset = new ConcatSource(\n\t\t\t\t\t\t\t\t\t\t\t\tasset,\n\t\t\t\t\t\t\t\t\t\t\t\tcompilation.getPath(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcurrentSourceMappingURLComment,\n\t\t\t\t\t\t\t\t\t\t\t\t\tObject.assign({ url: sourceMapUrl }, pathParams)\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tconst assetInfo = {\n\t\t\t\t\t\t\t\t\t\t\trelated: { sourceMap: sourceMapFile }\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tassets[file] = asset;\n\t\t\t\t\t\t\t\t\t\tassetsInfo[file] = assetInfo;\n\t\t\t\t\t\t\t\t\t\tcompilation.updateAsset(file, asset, assetInfo);\n\t\t\t\t\t\t\t\t\t\t// Add source map file to compilation assets and chunk files\n\t\t\t\t\t\t\t\t\t\tconst sourceMapAsset = new RawSource(sourceMapString);\n\t\t\t\t\t\t\t\t\t\tconst sourceMapAssetInfo = {\n\t\t\t\t\t\t\t\t\t\t\t...sourceMapInfo,\n\t\t\t\t\t\t\t\t\t\t\tdevelopment: true\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tassets[sourceMapFile] = sourceMapAsset;\n\t\t\t\t\t\t\t\t\t\tassetsInfo[sourceMapFile] = sourceMapAssetInfo;\n\t\t\t\t\t\t\t\t\t\tcompilation.emitAsset(\n\t\t\t\t\t\t\t\t\t\t\tsourceMapFile,\n\t\t\t\t\t\t\t\t\t\t\tsourceMapAsset,\n\t\t\t\t\t\t\t\t\t\t\tsourceMapAssetInfo\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (chunk !== undefined)\n\t\t\t\t\t\t\t\t\t\t\tchunk.auxiliaryFiles.add(sourceMapFile);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (currentSourceMappingURLComment === false) {\n\t\t\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\"SourceMapDevToolPlugin: append can't be false when no filename is provided\"\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t\t\t * Add source map as data url to asset\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tconst asset = new ConcatSource(\n\t\t\t\t\t\t\t\t\t\t\tnew RawSource(source),\n\t\t\t\t\t\t\t\t\t\t\tcurrentSourceMappingURLComment\n\t\t\t\t\t\t\t\t\t\t\t\t.replace(/\\[map\\]/g, () => sourceMapString)\n\t\t\t\t\t\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t\t\t\t\t\t/\\[url\\]/g,\n\t\t\t\t\t\t\t\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`data:application/json;charset=utf-8;base64,${Buffer.from(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsourceMapString,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"utf-8\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t).toString(\"base64\")}`\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tassets[file] = asset;\n\t\t\t\t\t\t\t\t\t\tassetsInfo[file] = undefined;\n\t\t\t\t\t\t\t\t\t\tcompilation.updateAsset(file, asset);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\ttask.cacheItem.store({ assets, assetsInfo }, err => {\n\t\t\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t\t\t0.5 + (0.5 * ++taskIndex) / tasks.length,\n\t\t\t\t\t\t\t\t\t\t\ttask.file,\n\t\t\t\t\t\t\t\t\t\t\t\"attached SourceMap\"\n\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\treportProgress(1.0);\n\t\t\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = SourceMapDevToolPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/SourceMapDevToolPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Stats.js": /*!*******************************************!*\ !*** ./node_modules/webpack/lib/Stats.js ***! \*******************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../declarations/WebpackOptions\").StatsOptions} StatsOptions */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsCompilation} StatsCompilation */\n\nclass Stats {\n\t/**\n\t * @param {Compilation} compilation webpack compilation\n\t */\n\tconstructor(compilation) {\n\t\tthis.compilation = compilation;\n\t}\n\n\tget hash() {\n\t\treturn this.compilation.hash;\n\t}\n\n\tget startTime() {\n\t\treturn this.compilation.startTime;\n\t}\n\n\tget endTime() {\n\t\treturn this.compilation.endTime;\n\t}\n\n\t/**\n\t * @returns {boolean} true if the compilation had a warning\n\t */\n\thasWarnings() {\n\t\treturn (\n\t\t\tthis.compilation.warnings.length > 0 ||\n\t\t\tthis.compilation.children.some(child => child.getStats().hasWarnings())\n\t\t);\n\t}\n\n\t/**\n\t * @returns {boolean} true if the compilation encountered an error\n\t */\n\thasErrors() {\n\t\treturn (\n\t\t\tthis.compilation.errors.length > 0 ||\n\t\t\tthis.compilation.children.some(child => child.getStats().hasErrors())\n\t\t);\n\t}\n\n\t/**\n\t * @param {(string|StatsOptions)=} options stats options\n\t * @returns {StatsCompilation} json output\n\t */\n\ttoJson(options) {\n\t\toptions = this.compilation.createStatsOptions(options, {\n\t\t\tforToString: false\n\t\t});\n\n\t\tconst statsFactory = this.compilation.createStatsFactory(options);\n\n\t\treturn statsFactory.create(\"compilation\", this.compilation, {\n\t\t\tcompilation: this.compilation\n\t\t});\n\t}\n\n\ttoString(options) {\n\t\toptions = this.compilation.createStatsOptions(options, {\n\t\t\tforToString: true\n\t\t});\n\n\t\tconst statsFactory = this.compilation.createStatsFactory(options);\n\t\tconst statsPrinter = this.compilation.createStatsPrinter(options);\n\n\t\tconst data = statsFactory.create(\"compilation\", this.compilation, {\n\t\t\tcompilation: this.compilation\n\t\t});\n\t\tconst result = statsPrinter.print(\"compilation\", data);\n\t\treturn result === undefined ? \"\" : result;\n\t}\n}\n\nmodule.exports = Stats;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Stats.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Template.js": /*!**********************************************!*\ !*** ./node_modules/webpack/lib/Template.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, PrefixSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../declarations/WebpackOptions\").Output} OutputOptions */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"./CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compilation\").PathData} PathData */\n/** @typedef {import(\"./DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleTemplate\")} ModuleTemplate */\n/** @typedef {import(\"./RuntimeModule\")} RuntimeModule */\n/** @typedef {import(\"./RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"./javascript/JavascriptModulesPlugin\").ChunkRenderContext} ChunkRenderContext */\n/** @typedef {import(\"./javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n\nconst START_LOWERCASE_ALPHABET_CODE = \"a\".charCodeAt(0);\nconst START_UPPERCASE_ALPHABET_CODE = \"A\".charCodeAt(0);\nconst DELTA_A_TO_Z = \"z\".charCodeAt(0) - START_LOWERCASE_ALPHABET_CODE + 1;\nconst NUMBER_OF_IDENTIFIER_START_CHARS = DELTA_A_TO_Z * 2 + 2; // a-z A-Z _ $\nconst NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS =\n\tNUMBER_OF_IDENTIFIER_START_CHARS + 10; // a-z A-Z _ $ 0-9\nconst FUNCTION_CONTENT_REGEX = /^function\\s?\\(\\)\\s?\\{\\r?\\n?|\\r?\\n?\\}$/g;\nconst INDENT_MULTILINE_REGEX = /^\\t/gm;\nconst LINE_SEPARATOR_REGEX = /\\r?\\n/g;\nconst IDENTIFIER_NAME_REPLACE_REGEX = /^([^a-zA-Z$_])/;\nconst IDENTIFIER_ALPHA_NUMERIC_NAME_REPLACE_REGEX = /[^a-zA-Z0-9$]+/g;\nconst COMMENT_END_REGEX = /\\*\\//g;\nconst PATH_NAME_NORMALIZE_REPLACE_REGEX = /[^a-zA-Z0-9_!§$()=\\-^°]+/g;\nconst MATCH_PADDED_HYPHENS_REPLACE_REGEX = /^-|-$/g;\n\n/**\n * @typedef {Object} RenderManifestOptions\n * @property {Chunk} chunk the chunk used to render\n * @property {string} hash\n * @property {string} fullHash\n * @property {OutputOptions} outputOptions\n * @property {CodeGenerationResults} codeGenerationResults\n * @property {{javascript: ModuleTemplate}} moduleTemplates\n * @property {DependencyTemplates} dependencyTemplates\n * @property {RuntimeTemplate} runtimeTemplate\n * @property {ModuleGraph} moduleGraph\n * @property {ChunkGraph} chunkGraph\n */\n\n/** @typedef {RenderManifestEntryTemplated | RenderManifestEntryStatic} RenderManifestEntry */\n\n/**\n * @typedef {Object} RenderManifestEntryTemplated\n * @property {function(): Source} render\n * @property {string | function(PathData, AssetInfo=): string} filenameTemplate\n * @property {PathData=} pathOptions\n * @property {AssetInfo=} info\n * @property {string} identifier\n * @property {string=} hash\n * @property {boolean=} auxiliary\n */\n\n/**\n * @typedef {Object} RenderManifestEntryStatic\n * @property {function(): Source} render\n * @property {string} filename\n * @property {AssetInfo} info\n * @property {string} identifier\n * @property {string=} hash\n * @property {boolean=} auxiliary\n */\n\n/**\n * @typedef {Object} HasId\n * @property {number | string} id\n */\n\n/**\n * @typedef {function(Module, number): boolean} ModuleFilterPredicate\n */\n\nclass Template {\n\t/**\n\t *\n\t * @param {Function} fn a runtime function (.runtime.js) \"template\"\n\t * @returns {string} the updated and normalized function string\n\t */\n\tstatic getFunctionContent(fn) {\n\t\treturn fn\n\t\t\t.toString()\n\t\t\t.replace(FUNCTION_CONTENT_REGEX, \"\")\n\t\t\t.replace(INDENT_MULTILINE_REGEX, \"\")\n\t\t\t.replace(LINE_SEPARATOR_REGEX, \"\\n\");\n\t}\n\n\t/**\n\t * @param {string} str the string converted to identifier\n\t * @returns {string} created identifier\n\t */\n\tstatic toIdentifier(str) {\n\t\tif (typeof str !== \"string\") return \"\";\n\t\treturn str\n\t\t\t.replace(IDENTIFIER_NAME_REPLACE_REGEX, \"_$1\")\n\t\t\t.replace(IDENTIFIER_ALPHA_NUMERIC_NAME_REPLACE_REGEX, \"_\");\n\t}\n\t/**\n\t *\n\t * @param {string} str string to be converted to commented in bundle code\n\t * @returns {string} returns a commented version of string\n\t */\n\tstatic toComment(str) {\n\t\tif (!str) return \"\";\n\t\treturn `/*! ${str.replace(COMMENT_END_REGEX, \"* /\")} */`;\n\t}\n\n\t/**\n\t *\n\t * @param {string} str string to be converted to \"normal comment\"\n\t * @returns {string} returns a commented version of string\n\t */\n\tstatic toNormalComment(str) {\n\t\tif (!str) return \"\";\n\t\treturn `/* ${str.replace(COMMENT_END_REGEX, \"* /\")} */`;\n\t}\n\n\t/**\n\t * @param {string} str string path to be normalized\n\t * @returns {string} normalized bundle-safe path\n\t */\n\tstatic toPath(str) {\n\t\tif (typeof str !== \"string\") return \"\";\n\t\treturn str\n\t\t\t.replace(PATH_NAME_NORMALIZE_REPLACE_REGEX, \"-\")\n\t\t\t.replace(MATCH_PADDED_HYPHENS_REPLACE_REGEX, \"\");\n\t}\n\n\t// map number to a single character a-z, A-Z or multiple characters if number is too big\n\t/**\n\t * @param {number} n number to convert to ident\n\t * @returns {string} returns single character ident\n\t */\n\tstatic numberToIdentifier(n) {\n\t\tif (n >= NUMBER_OF_IDENTIFIER_START_CHARS) {\n\t\t\t// use multiple letters\n\t\t\treturn (\n\t\t\t\tTemplate.numberToIdentifier(n % NUMBER_OF_IDENTIFIER_START_CHARS) +\n\t\t\t\tTemplate.numberToIdentifierContinuation(\n\t\t\t\t\tMath.floor(n / NUMBER_OF_IDENTIFIER_START_CHARS)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\t// lower case\n\t\tif (n < DELTA_A_TO_Z) {\n\t\t\treturn String.fromCharCode(START_LOWERCASE_ALPHABET_CODE + n);\n\t\t}\n\t\tn -= DELTA_A_TO_Z;\n\n\t\t// upper case\n\t\tif (n < DELTA_A_TO_Z) {\n\t\t\treturn String.fromCharCode(START_UPPERCASE_ALPHABET_CODE + n);\n\t\t}\n\n\t\tif (n === DELTA_A_TO_Z) return \"_\";\n\t\treturn \"$\";\n\t}\n\n\t/**\n\t * @param {number} n number to convert to ident\n\t * @returns {string} returns single character ident\n\t */\n\tstatic numberToIdentifierContinuation(n) {\n\t\tif (n >= NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS) {\n\t\t\t// use multiple letters\n\t\t\treturn (\n\t\t\t\tTemplate.numberToIdentifierContinuation(\n\t\t\t\t\tn % NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS\n\t\t\t\t) +\n\t\t\t\tTemplate.numberToIdentifierContinuation(\n\t\t\t\t\tMath.floor(n / NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\t// lower case\n\t\tif (n < DELTA_A_TO_Z) {\n\t\t\treturn String.fromCharCode(START_LOWERCASE_ALPHABET_CODE + n);\n\t\t}\n\t\tn -= DELTA_A_TO_Z;\n\n\t\t// upper case\n\t\tif (n < DELTA_A_TO_Z) {\n\t\t\treturn String.fromCharCode(START_UPPERCASE_ALPHABET_CODE + n);\n\t\t}\n\t\tn -= DELTA_A_TO_Z;\n\n\t\t// numbers\n\t\tif (n < 10) {\n\t\t\treturn `${n}`;\n\t\t}\n\n\t\tif (n === 10) return \"_\";\n\t\treturn \"$\";\n\t}\n\n\t/**\n\t *\n\t * @param {string | string[]} s string to convert to identity\n\t * @returns {string} converted identity\n\t */\n\tstatic indent(s) {\n\t\tif (Array.isArray(s)) {\n\t\t\treturn s.map(Template.indent).join(\"\\n\");\n\t\t} else {\n\t\t\tconst str = s.trimEnd();\n\t\t\tif (!str) return \"\";\n\t\t\tconst ind = str[0] === \"\\n\" ? \"\" : \"\\t\";\n\t\t\treturn ind + str.replace(/\\n([^\\n])/g, \"\\n\\t$1\");\n\t\t}\n\t}\n\n\t/**\n\t *\n\t * @param {string|string[]} s string to create prefix for\n\t * @param {string} prefix prefix to compose\n\t * @returns {string} returns new prefix string\n\t */\n\tstatic prefix(s, prefix) {\n\t\tconst str = Template.asString(s).trim();\n\t\tif (!str) return \"\";\n\t\tconst ind = str[0] === \"\\n\" ? \"\" : prefix;\n\t\treturn ind + str.replace(/\\n([^\\n])/g, \"\\n\" + prefix + \"$1\");\n\t}\n\n\t/**\n\t *\n\t * @param {string|string[]} str string or string collection\n\t * @returns {string} returns a single string from array\n\t */\n\tstatic asString(str) {\n\t\tif (Array.isArray(str)) {\n\t\t\treturn str.join(\"\\n\");\n\t\t}\n\t\treturn str;\n\t}\n\n\t/**\n\t * @typedef {Object} WithId\n\t * @property {string|number} id\n\t */\n\n\t/**\n\t * @param {WithId[]} modules a collection of modules to get array bounds for\n\t * @returns {[number, number] | false} returns the upper and lower array bounds\n\t * or false if not every module has a number based id\n\t */\n\tstatic getModulesArrayBounds(modules) {\n\t\tlet maxId = -Infinity;\n\t\tlet minId = Infinity;\n\t\tfor (const module of modules) {\n\t\t\tconst moduleId = module.id;\n\t\t\tif (typeof moduleId !== \"number\") return false;\n\t\t\tif (maxId < moduleId) maxId = moduleId;\n\t\t\tif (minId > moduleId) minId = moduleId;\n\t\t}\n\t\tif (minId < 16 + (\"\" + minId).length) {\n\t\t\t// add minId x ',' instead of 'Array(minId).concat(…)'\n\t\t\tminId = 0;\n\t\t}\n\t\t// start with -1 because the first module needs no comma\n\t\tlet objectOverhead = -1;\n\t\tfor (const module of modules) {\n\t\t\t// module id + colon + comma\n\t\t\tobjectOverhead += `${module.id}`.length + 2;\n\t\t}\n\t\t// number of commas, or when starting non-zero the length of Array(minId).concat()\n\t\tconst arrayOverhead = minId === 0 ? maxId : 16 + `${minId}`.length + maxId;\n\t\treturn arrayOverhead < objectOverhead ? [minId, maxId] : false;\n\t}\n\n\t/**\n\t * @param {ChunkRenderContext} renderContext render context\n\t * @param {Module[]} modules modules to render (should be ordered by identifier)\n\t * @param {function(Module): Source} renderModule function to render a module\n\t * @param {string=} prefix applying prefix strings\n\t * @returns {Source} rendered chunk modules in a Source object\n\t */\n\tstatic renderChunkModules(renderContext, modules, renderModule, prefix = \"\") {\n\t\tconst { chunkGraph } = renderContext;\n\t\tvar source = new ConcatSource();\n\t\tif (modules.length === 0) {\n\t\t\treturn null;\n\t\t}\n\t\t/** @type {{id: string|number, source: Source|string}[]} */\n\t\tconst allModules = modules.map(module => {\n\t\t\treturn {\n\t\t\t\tid: chunkGraph.getModuleId(module),\n\t\t\t\tsource: renderModule(module) || \"false\"\n\t\t\t};\n\t\t});\n\t\tconst bounds = Template.getModulesArrayBounds(allModules);\n\t\tif (bounds) {\n\t\t\t// Render a spare array\n\t\t\tconst minId = bounds[0];\n\t\t\tconst maxId = bounds[1];\n\t\t\tif (minId !== 0) {\n\t\t\t\tsource.add(`Array(${minId}).concat(`);\n\t\t\t}\n\t\t\tsource.add(\"[\\n\");\n\t\t\t/** @type {Map<string|number, {id: string|number, source: Source|string}>} */\n\t\t\tconst modules = new Map();\n\t\t\tfor (const module of allModules) {\n\t\t\t\tmodules.set(module.id, module);\n\t\t\t}\n\t\t\tfor (let idx = minId; idx <= maxId; idx++) {\n\t\t\t\tconst module = modules.get(idx);\n\t\t\t\tif (idx !== minId) {\n\t\t\t\t\tsource.add(\",\\n\");\n\t\t\t\t}\n\t\t\t\tsource.add(`/* ${idx} */`);\n\t\t\t\tif (module) {\n\t\t\t\t\tsource.add(\"\\n\");\n\t\t\t\t\tsource.add(module.source);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsource.add(\"\\n\" + prefix + \"]\");\n\t\t\tif (minId !== 0) {\n\t\t\t\tsource.add(\")\");\n\t\t\t}\n\t\t} else {\n\t\t\t// Render an object\n\t\t\tsource.add(\"{\\n\");\n\t\t\tfor (let i = 0; i < allModules.length; i++) {\n\t\t\t\tconst module = allModules[i];\n\t\t\t\tif (i !== 0) {\n\t\t\t\t\tsource.add(\",\\n\");\n\t\t\t\t}\n\t\t\t\tsource.add(`\\n/***/ ${JSON.stringify(module.id)}:\\n`);\n\t\t\t\tsource.add(module.source);\n\t\t\t}\n\t\t\tsource.add(`\\n\\n${prefix}}`);\n\t\t}\n\t\treturn source;\n\t}\n\n\t/**\n\t * @param {RuntimeModule[]} runtimeModules array of runtime modules in order\n\t * @param {RenderContext & { codeGenerationResults?: CodeGenerationResults }} renderContext render context\n\t * @returns {Source} rendered runtime modules in a Source object\n\t */\n\tstatic renderRuntimeModules(runtimeModules, renderContext) {\n\t\tconst source = new ConcatSource();\n\t\tfor (const module of runtimeModules) {\n\t\t\tconst codeGenerationResults = renderContext.codeGenerationResults;\n\t\t\tlet runtimeSource;\n\t\t\tif (codeGenerationResults) {\n\t\t\t\truntimeSource = codeGenerationResults.getSource(\n\t\t\t\t\tmodule,\n\t\t\t\t\trenderContext.chunk.runtime,\n\t\t\t\t\t\"runtime\"\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tconst codeGenResult = module.codeGeneration({\n\t\t\t\t\tchunkGraph: renderContext.chunkGraph,\n\t\t\t\t\tdependencyTemplates: renderContext.dependencyTemplates,\n\t\t\t\t\tmoduleGraph: renderContext.moduleGraph,\n\t\t\t\t\truntimeTemplate: renderContext.runtimeTemplate,\n\t\t\t\t\truntime: renderContext.chunk.runtime,\n\t\t\t\t\tcodeGenerationResults\n\t\t\t\t});\n\t\t\t\tif (!codeGenResult) continue;\n\t\t\t\truntimeSource = codeGenResult.sources.get(\"runtime\");\n\t\t\t}\n\t\t\tif (runtimeSource) {\n\t\t\t\tsource.add(Template.toNormalComment(module.identifier()) + \"\\n\");\n\t\t\t\tif (!module.shouldIsolate()) {\n\t\t\t\t\tsource.add(runtimeSource);\n\t\t\t\t\tsource.add(\"\\n\\n\");\n\t\t\t\t} else if (renderContext.runtimeTemplate.supportsArrowFunction()) {\n\t\t\t\t\tsource.add(\"(() => {\\n\");\n\t\t\t\t\tsource.add(new PrefixSource(\"\\t\", runtimeSource));\n\t\t\t\t\tsource.add(\"\\n})();\\n\\n\");\n\t\t\t\t} else {\n\t\t\t\t\tsource.add(\"!function() {\\n\");\n\t\t\t\t\tsource.add(new PrefixSource(\"\\t\", runtimeSource));\n\t\t\t\t\tsource.add(\"\\n}();\\n\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn source;\n\t}\n\n\t/**\n\t * @param {RuntimeModule[]} runtimeModules array of runtime modules in order\n\t * @param {RenderContext} renderContext render context\n\t * @returns {Source} rendered chunk runtime modules in a Source object\n\t */\n\tstatic renderChunkRuntimeModules(runtimeModules, renderContext) {\n\t\treturn new PrefixSource(\n\t\t\t\"/******/ \",\n\t\t\tnew ConcatSource(\n\t\t\t\t\"function(__webpack_require__) { // webpackRuntimeModules\\n\",\n\t\t\t\tthis.renderRuntimeModules(runtimeModules, renderContext),\n\t\t\t\t\"}\\n\"\n\t\t\t)\n\t\t);\n\t}\n}\n\nmodule.exports = Template;\nmodule.exports.NUMBER_OF_IDENTIFIER_START_CHARS =\n\tNUMBER_OF_IDENTIFIER_START_CHARS;\nmodule.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS =\n\tNUMBER_OF_IDENTIFIER_CONTINUATION_CHARS;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Template.js?"); /***/ }), /***/ "./node_modules/webpack/lib/TemplatedPathPlugin.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/TemplatedPathPlugin.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Jason Anderson @diurnalist\n*/\n\n\n\nconst mime = __webpack_require__(/*! mime-types */ \"./node_modules/mime-types/index.js\");\nconst { basename, extname } = __webpack_require__(/*! path */ \"?6559\");\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst Chunk = __webpack_require__(/*! ./Chunk */ \"./node_modules/webpack/lib/Chunk.js\");\nconst Module = __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\nconst { parseResource } = __webpack_require__(/*! ./util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compilation\").PathData} PathData */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nconst REGEXP = /\\[\\\\*([\\w:]+)\\\\*\\]/gi;\n\nconst prepareId = id => {\n\tif (typeof id !== \"string\") return id;\n\n\tif (/^\"\\s\\+*.*\\+\\s*\"$/.test(id)) {\n\t\tconst match = /^\"\\s\\+*\\s*(.*)\\s*\\+\\s*\"$/.exec(id);\n\n\t\treturn `\" + (${match[1]} + \"\").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, \"_\") + \"`;\n\t}\n\n\treturn id.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, \"_\");\n};\n\nconst hashLength = (replacer, handler, assetInfo, hashName) => {\n\tconst fn = (match, arg, input) => {\n\t\tlet result;\n\t\tconst length = arg && parseInt(arg, 10);\n\n\t\tif (length && handler) {\n\t\t\tresult = handler(length);\n\t\t} else {\n\t\t\tconst hash = replacer(match, arg, input);\n\n\t\t\tresult = length ? hash.slice(0, length) : hash;\n\t\t}\n\t\tif (assetInfo) {\n\t\t\tassetInfo.immutable = true;\n\t\t\tif (Array.isArray(assetInfo[hashName])) {\n\t\t\t\tassetInfo[hashName] = [...assetInfo[hashName], result];\n\t\t\t} else if (assetInfo[hashName]) {\n\t\t\t\tassetInfo[hashName] = [assetInfo[hashName], result];\n\t\t\t} else {\n\t\t\t\tassetInfo[hashName] = result;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t};\n\n\treturn fn;\n};\n\nconst replacer = (value, allowEmpty) => {\n\tconst fn = (match, arg, input) => {\n\t\tif (typeof value === \"function\") {\n\t\t\tvalue = value();\n\t\t}\n\t\tif (value === null || value === undefined) {\n\t\t\tif (!allowEmpty) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Path variable ${match} not implemented in this context: ${input}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn `${value}`;\n\t\t}\n\t};\n\n\treturn fn;\n};\n\nconst deprecationCache = new Map();\nconst deprecatedFunction = (() => () => {})();\nconst deprecated = (fn, message, code) => {\n\tlet d = deprecationCache.get(message);\n\tif (d === undefined) {\n\t\td = util.deprecate(deprecatedFunction, message, code);\n\t\tdeprecationCache.set(message, d);\n\t}\n\treturn (...args) => {\n\t\td();\n\t\treturn fn(...args);\n\t};\n};\n\n/**\n * @param {string | function(PathData, AssetInfo=): string} path the raw path\n * @param {PathData} data context data\n * @param {AssetInfo} assetInfo extra info about the asset (will be written to)\n * @returns {string} the interpolated path\n */\nconst replacePathVariables = (path, data, assetInfo) => {\n\tconst chunkGraph = data.chunkGraph;\n\n\t/** @type {Map<string, Function>} */\n\tconst replacements = new Map();\n\n\t// Filename context\n\t//\n\t// Placeholders\n\t//\n\t// for /some/path/file.js?query#fragment:\n\t// [file] - /some/path/file.js\n\t// [query] - ?query\n\t// [fragment] - #fragment\n\t// [base] - file.js\n\t// [path] - /some/path/\n\t// [name] - file\n\t// [ext] - .js\n\tif (typeof data.filename === \"string\") {\n\t\t// check that filename is data uri\n\t\tlet match = data.filename.match(/^data:([^;,]+)/);\n\t\tif (match) {\n\t\t\tconst ext = mime.extension(match[1]);\n\t\t\tconst emptyReplacer = replacer(\"\", true);\n\n\t\t\treplacements.set(\"file\", emptyReplacer);\n\t\t\treplacements.set(\"query\", emptyReplacer);\n\t\t\treplacements.set(\"fragment\", emptyReplacer);\n\t\t\treplacements.set(\"path\", emptyReplacer);\n\t\t\treplacements.set(\"base\", emptyReplacer);\n\t\t\treplacements.set(\"name\", emptyReplacer);\n\t\t\treplacements.set(\"ext\", replacer(ext ? `.${ext}` : \"\", true));\n\t\t\t// Legacy\n\t\t\treplacements.set(\n\t\t\t\t\"filebase\",\n\t\t\t\tdeprecated(\n\t\t\t\t\temptyReplacer,\n\t\t\t\t\t\"[filebase] is now [base]\",\n\t\t\t\t\t\"DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME\"\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\tconst { path: file, query, fragment } = parseResource(data.filename);\n\n\t\t\tconst ext = extname(file);\n\t\t\tconst base = basename(file);\n\t\t\tconst name = base.slice(0, base.length - ext.length);\n\t\t\tconst path = file.slice(0, file.length - base.length);\n\n\t\t\treplacements.set(\"file\", replacer(file));\n\t\t\treplacements.set(\"query\", replacer(query, true));\n\t\t\treplacements.set(\"fragment\", replacer(fragment, true));\n\t\t\treplacements.set(\"path\", replacer(path, true));\n\t\t\treplacements.set(\"base\", replacer(base));\n\t\t\treplacements.set(\"name\", replacer(name));\n\t\t\treplacements.set(\"ext\", replacer(ext, true));\n\t\t\t// Legacy\n\t\t\treplacements.set(\n\t\t\t\t\"filebase\",\n\t\t\t\tdeprecated(\n\t\t\t\t\treplacer(base),\n\t\t\t\t\t\"[filebase] is now [base]\",\n\t\t\t\t\t\"DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME\"\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}\n\n\t// Compilation context\n\t//\n\t// Placeholders\n\t//\n\t// [fullhash] - data.hash (3a4b5c6e7f)\n\t//\n\t// Legacy Placeholders\n\t//\n\t// [hash] - data.hash (3a4b5c6e7f)\n\tif (data.hash) {\n\t\tconst hashReplacer = hashLength(\n\t\t\treplacer(data.hash),\n\t\t\tdata.hashWithLength,\n\t\t\tassetInfo,\n\t\t\t\"fullhash\"\n\t\t);\n\n\t\treplacements.set(\"fullhash\", hashReplacer);\n\n\t\t// Legacy\n\t\treplacements.set(\n\t\t\t\"hash\",\n\t\t\tdeprecated(\n\t\t\t\thashReplacer,\n\t\t\t\t\"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)\",\n\t\t\t\t\"DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH\"\n\t\t\t)\n\t\t);\n\t}\n\n\t// Chunk Context\n\t//\n\t// Placeholders\n\t//\n\t// [id] - chunk.id (0.js)\n\t// [name] - chunk.name (app.js)\n\t// [chunkhash] - chunk.hash (7823t4t4.js)\n\t// [contenthash] - chunk.contentHash[type] (3256u3zg.js)\n\tif (data.chunk) {\n\t\tconst chunk = data.chunk;\n\n\t\tconst contentHashType = data.contentHashType;\n\n\t\tconst idReplacer = replacer(chunk.id);\n\t\tconst nameReplacer = replacer(chunk.name || chunk.id);\n\t\tconst chunkhashReplacer = hashLength(\n\t\t\treplacer(chunk instanceof Chunk ? chunk.renderedHash : chunk.hash),\n\t\t\t\"hashWithLength\" in chunk ? chunk.hashWithLength : undefined,\n\t\t\tassetInfo,\n\t\t\t\"chunkhash\"\n\t\t);\n\t\tconst contenthashReplacer = hashLength(\n\t\t\treplacer(\n\t\t\t\tdata.contentHash ||\n\t\t\t\t\t(contentHashType &&\n\t\t\t\t\t\tchunk.contentHash &&\n\t\t\t\t\t\tchunk.contentHash[contentHashType])\n\t\t\t),\n\t\t\tdata.contentHashWithLength ||\n\t\t\t\t(\"contentHashWithLength\" in chunk && chunk.contentHashWithLength\n\t\t\t\t\t? chunk.contentHashWithLength[contentHashType]\n\t\t\t\t\t: undefined),\n\t\t\tassetInfo,\n\t\t\t\"contenthash\"\n\t\t);\n\n\t\treplacements.set(\"id\", idReplacer);\n\t\treplacements.set(\"name\", nameReplacer);\n\t\treplacements.set(\"chunkhash\", chunkhashReplacer);\n\t\treplacements.set(\"contenthash\", contenthashReplacer);\n\t}\n\n\t// Module Context\n\t//\n\t// Placeholders\n\t//\n\t// [id] - module.id (2.png)\n\t// [hash] - module.hash (6237543873.png)\n\t//\n\t// Legacy Placeholders\n\t//\n\t// [moduleid] - module.id (2.png)\n\t// [modulehash] - module.hash (6237543873.png)\n\tif (data.module) {\n\t\tconst module = data.module;\n\n\t\tconst idReplacer = replacer(() =>\n\t\t\tprepareId(\n\t\t\t\tmodule instanceof Module ? chunkGraph.getModuleId(module) : module.id\n\t\t\t)\n\t\t);\n\t\tconst moduleHashReplacer = hashLength(\n\t\t\treplacer(() =>\n\t\t\t\tmodule instanceof Module\n\t\t\t\t\t? chunkGraph.getRenderedModuleHash(module, data.runtime)\n\t\t\t\t\t: module.hash\n\t\t\t),\n\t\t\t\"hashWithLength\" in module ? module.hashWithLength : undefined,\n\t\t\tassetInfo,\n\t\t\t\"modulehash\"\n\t\t);\n\t\tconst contentHashReplacer = hashLength(\n\t\t\treplacer(data.contentHash),\n\t\t\tundefined,\n\t\t\tassetInfo,\n\t\t\t\"contenthash\"\n\t\t);\n\n\t\treplacements.set(\"id\", idReplacer);\n\t\treplacements.set(\"modulehash\", moduleHashReplacer);\n\t\treplacements.set(\"contenthash\", contentHashReplacer);\n\t\treplacements.set(\n\t\t\t\"hash\",\n\t\t\tdata.contentHash ? contentHashReplacer : moduleHashReplacer\n\t\t);\n\t\t// Legacy\n\t\treplacements.set(\n\t\t\t\"moduleid\",\n\t\t\tdeprecated(\n\t\t\t\tidReplacer,\n\t\t\t\t\"[moduleid] is now [id]\",\n\t\t\t\t\"DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID\"\n\t\t\t)\n\t\t);\n\t}\n\n\t// Other things\n\tif (data.url) {\n\t\treplacements.set(\"url\", replacer(data.url));\n\t}\n\tif (typeof data.runtime === \"string\") {\n\t\treplacements.set(\n\t\t\t\"runtime\",\n\t\t\treplacer(() => prepareId(data.runtime))\n\t\t);\n\t} else {\n\t\treplacements.set(\"runtime\", replacer(\"_\"));\n\t}\n\n\tif (typeof path === \"function\") {\n\t\tpath = path(data, assetInfo);\n\t}\n\n\tpath = path.replace(REGEXP, (match, content) => {\n\t\tif (content.length + 2 === match.length) {\n\t\t\tconst contentMatch = /^(\\w+)(?::(\\w+))?$/.exec(content);\n\t\t\tif (!contentMatch) return match;\n\t\t\tconst [, kind, arg] = contentMatch;\n\t\t\tconst replacer = replacements.get(kind);\n\t\t\tif (replacer !== undefined) {\n\t\t\t\treturn replacer(match, arg, path);\n\t\t\t}\n\t\t} else if (match.startsWith(\"[\\\\\") && match.endsWith(\"\\\\]\")) {\n\t\t\treturn `[${match.slice(2, -2)}]`;\n\t\t}\n\t\treturn match;\n\t});\n\n\treturn path;\n};\n\nconst plugin = \"TemplatedPathPlugin\";\n\nclass TemplatedPathPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(plugin, compilation => {\n\t\t\tcompilation.hooks.assetPath.tap(plugin, replacePathVariables);\n\t\t});\n\t}\n}\n\nmodule.exports = TemplatedPathPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/TemplatedPathPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/UnhandledSchemeError.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/UnhandledSchemeError.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass UnhandledSchemeError extends WebpackError {\n\t/**\n\t * @param {string} scheme scheme\n\t * @param {string} resource resource\n\t */\n\tconstructor(scheme, resource) {\n\t\tsuper(\n\t\t\t`Reading from \"${resource}\" is not handled by plugins (Unhandled scheme).` +\n\t\t\t\t'\\nWebpack supports \"data:\" and \"file:\" URIs by default.' +\n\t\t\t\t`\\nYou may need an additional plugin to handle \"${scheme}:\" URIs.`\n\t\t);\n\t\tthis.file = resource;\n\t\tthis.name = \"UnhandledSchemeError\";\n\t}\n}\n\nmakeSerializable(\n\tUnhandledSchemeError,\n\t\"webpack/lib/UnhandledSchemeError\",\n\t\"UnhandledSchemeError\"\n);\n\nmodule.exports = UnhandledSchemeError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/UnhandledSchemeError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/UnsupportedFeatureWarning.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/UnsupportedFeatureWarning.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n\nclass UnsupportedFeatureWarning extends WebpackError {\n\t/**\n\t * @param {string} message description of warning\n\t * @param {DependencyLocation} loc location start and end positions of the module\n\t */\n\tconstructor(message, loc) {\n\t\tsuper(message);\n\n\t\tthis.name = \"UnsupportedFeatureWarning\";\n\t\tthis.loc = loc;\n\t\tthis.hideStack = true;\n\t}\n}\n\nmakeSerializable(\n\tUnsupportedFeatureWarning,\n\t\"webpack/lib/UnsupportedFeatureWarning\"\n);\n\nmodule.exports = UnsupportedFeatureWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/UnsupportedFeatureWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/UseStrictPlugin.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/UseStrictPlugin.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConstDependency = __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass UseStrictPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"UseStrictPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tparser.hooks.program.tap(\"UseStrictPlugin\", ast => {\n\t\t\t\t\t\tconst firstNode = ast.body[0];\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tfirstNode &&\n\t\t\t\t\t\t\tfirstNode.type === \"ExpressionStatement\" &&\n\t\t\t\t\t\t\tfirstNode.expression.type === \"Literal\" &&\n\t\t\t\t\t\t\tfirstNode.expression.value === \"use strict\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t// Remove \"use strict\" expression. It will be added later by the renderer again.\n\t\t\t\t\t\t\t// This is necessary in order to not break the strict mode when webpack prepends code.\n\t\t\t\t\t\t\t// @see https://github.com/webpack/webpack/issues/1970\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", firstNode.range);\n\t\t\t\t\t\t\tdep.loc = firstNode.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\tparser.state.module.buildInfo.strict = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"UseStrictPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"UseStrictPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"UseStrictPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = UseStrictPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/UseStrictPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst CaseSensitiveModulesWarning = __webpack_require__(/*! ./CaseSensitiveModulesWarning */ \"./node_modules/webpack/lib/CaseSensitiveModulesWarning.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n\nclass WarnCaseSensitiveModulesPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"WarnCaseSensitiveModulesPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.seal.tap(\"WarnCaseSensitiveModulesPlugin\", () => {\n\t\t\t\t\t/** @type {Map<string, Map<string, Module>>} */\n\t\t\t\t\tconst moduleWithoutCase = new Map();\n\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\tconst identifier = module.identifier();\n\t\t\t\t\t\tconst lowerIdentifier = identifier.toLowerCase();\n\t\t\t\t\t\tlet map = moduleWithoutCase.get(lowerIdentifier);\n\t\t\t\t\t\tif (map === undefined) {\n\t\t\t\t\t\t\tmap = new Map();\n\t\t\t\t\t\t\tmoduleWithoutCase.set(lowerIdentifier, map);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmap.set(identifier, module);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const pair of moduleWithoutCase) {\n\t\t\t\t\t\tconst map = pair[1];\n\t\t\t\t\t\tif (map.size > 1) {\n\t\t\t\t\t\t\tcompilation.warnings.push(\n\t\t\t\t\t\t\t\tnew CaseSensitiveModulesWarning(\n\t\t\t\t\t\t\t\t\tmap.values(),\n\t\t\t\t\t\t\t\t\tcompilation.moduleGraph\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = WarnCaseSensitiveModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass WarnDeprecatedOptionPlugin {\n\t/**\n\t * Create an instance of the plugin\n\t * @param {string} option the target option\n\t * @param {string | number} value the deprecated option value\n\t * @param {string} suggestion the suggestion replacement\n\t */\n\tconstructor(option, value, suggestion) {\n\t\tthis.option = option;\n\t\tthis.value = value;\n\t\tthis.suggestion = suggestion;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"WarnDeprecatedOptionPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.warnings.push(\n\t\t\t\t\tnew DeprecatedOptionWarning(this.option, this.value, this.suggestion)\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nclass DeprecatedOptionWarning extends WebpackError {\n\tconstructor(option, value, suggestion) {\n\t\tsuper();\n\n\t\tthis.name = \"DeprecatedOptionWarning\";\n\t\tthis.message =\n\t\t\t\"configuration\\n\" +\n\t\t\t`The value '${value}' for option '${option}' is deprecated. ` +\n\t\t\t`Use '${suggestion}' instead.`;\n\t}\n}\n\nmodule.exports = WarnDeprecatedOptionPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WarnNoModeSetPlugin.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/WarnNoModeSetPlugin.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NoModeWarning = __webpack_require__(/*! ./NoModeWarning */ \"./node_modules/webpack/lib/NoModeWarning.js\");\n\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass WarnNoModeSetPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\"WarnNoModeSetPlugin\", compilation => {\n\t\t\tcompilation.warnings.push(new NoModeWarning());\n\t\t});\n\t}\n}\n\nmodule.exports = WarnNoModeSetPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WarnNoModeSetPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WatchIgnorePlugin.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/WatchIgnorePlugin.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { groupBy } = __webpack_require__(/*! ./util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst createSchemaValidation = __webpack_require__(/*! ./util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../declarations/plugins/WatchIgnorePlugin\").WatchIgnorePluginOptions} WatchIgnorePluginOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./util/fs\").WatchFileSystem} WatchFileSystem */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../schemas/plugins/WatchIgnorePlugin.check.js */ \"./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js\"),\n\t() => __webpack_require__(/*! ../schemas/plugins/WatchIgnorePlugin.json */ \"./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json\"),\n\t{\n\t\tname: \"Watch Ignore Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst IGNORE_TIME_ENTRY = \"ignore\";\n\nclass IgnoringWatchFileSystem {\n\t/**\n\t * @param {WatchFileSystem} wfs original file system\n\t * @param {(string|RegExp)[]} paths ignored paths\n\t */\n\tconstructor(wfs, paths) {\n\t\tthis.wfs = wfs;\n\t\tthis.paths = paths;\n\t}\n\n\twatch(files, dirs, missing, startTime, options, callback, callbackUndelayed) {\n\t\tfiles = Array.from(files);\n\t\tdirs = Array.from(dirs);\n\t\tconst ignored = path =>\n\t\t\tthis.paths.some(p =>\n\t\t\t\tp instanceof RegExp ? p.test(path) : path.indexOf(p) === 0\n\t\t\t);\n\n\t\tconst [ignoredFiles, notIgnoredFiles] = groupBy(files, ignored);\n\t\tconst [ignoredDirs, notIgnoredDirs] = groupBy(dirs, ignored);\n\n\t\tconst watcher = this.wfs.watch(\n\t\t\tnotIgnoredFiles,\n\t\t\tnotIgnoredDirs,\n\t\t\tmissing,\n\t\t\tstartTime,\n\t\t\toptions,\n\t\t\t(err, fileTimestamps, dirTimestamps, changedFiles, removedFiles) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tfor (const path of ignoredFiles) {\n\t\t\t\t\tfileTimestamps.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t}\n\n\t\t\t\tfor (const path of ignoredDirs) {\n\t\t\t\t\tdirTimestamps.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t}\n\n\t\t\t\tcallback(\n\t\t\t\t\terr,\n\t\t\t\t\tfileTimestamps,\n\t\t\t\t\tdirTimestamps,\n\t\t\t\t\tchangedFiles,\n\t\t\t\t\tremovedFiles\n\t\t\t\t);\n\t\t\t},\n\t\t\tcallbackUndelayed\n\t\t);\n\n\t\treturn {\n\t\t\tclose: () => watcher.close(),\n\t\t\tpause: () => watcher.pause(),\n\t\t\tgetContextTimeInfoEntries: () => {\n\t\t\t\tconst dirTimestamps = watcher.getContextTimeInfoEntries();\n\t\t\t\tfor (const path of ignoredDirs) {\n\t\t\t\t\tdirTimestamps.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t}\n\t\t\t\treturn dirTimestamps;\n\t\t\t},\n\t\t\tgetFileTimeInfoEntries: () => {\n\t\t\t\tconst fileTimestamps = watcher.getFileTimeInfoEntries();\n\t\t\t\tfor (const path of ignoredFiles) {\n\t\t\t\t\tfileTimestamps.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t}\n\t\t\t\treturn fileTimestamps;\n\t\t\t},\n\t\t\tgetInfo:\n\t\t\t\twatcher.getInfo &&\n\t\t\t\t(() => {\n\t\t\t\t\tconst info = watcher.getInfo();\n\t\t\t\t\tconst { fileTimeInfoEntries, contextTimeInfoEntries } = info;\n\t\t\t\t\tfor (const path of ignoredFiles) {\n\t\t\t\t\t\tfileTimeInfoEntries.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const path of ignoredDirs) {\n\t\t\t\t\t\tcontextTimeInfoEntries.set(path, IGNORE_TIME_ENTRY);\n\t\t\t\t\t}\n\t\t\t\t\treturn info;\n\t\t\t\t})\n\t\t};\n\t}\n}\n\nclass WatchIgnorePlugin {\n\t/**\n\t * @param {WatchIgnorePluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.paths = options.paths;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.afterEnvironment.tap(\"WatchIgnorePlugin\", () => {\n\t\t\tcompiler.watchFileSystem = new IgnoringWatchFileSystem(\n\t\t\t\tcompiler.watchFileSystem,\n\t\t\t\tthis.paths\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = WatchIgnorePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WatchIgnorePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/Watching.js": /*!**********************************************!*\ !*** ./node_modules/webpack/lib/Watching.js ***! \**********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Stats = __webpack_require__(/*! ./Stats */ \"./node_modules/webpack/lib/Stats.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").WatchOptions} WatchOptions */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./FileSystemInfo\").FileSystemInfoEntry} FileSystemInfoEntry */\n\n/**\n * @template T\n * @callback Callback\n * @param {(Error | null)=} err\n * @param {T=} result\n */\n\nclass Watching {\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @param {WatchOptions} watchOptions options\n\t * @param {Callback<Stats>} handler completion handler\n\t */\n\tconstructor(compiler, watchOptions, handler) {\n\t\tthis.startTime = null;\n\t\tthis.invalid = false;\n\t\tthis.handler = handler;\n\t\t/** @type {Callback<void>[]} */\n\t\tthis.callbacks = [];\n\t\t/** @type {Callback<void>[] | undefined} */\n\t\tthis._closeCallbacks = undefined;\n\t\tthis.closed = false;\n\t\tthis.suspended = false;\n\t\tthis.blocked = false;\n\t\tthis._isBlocked = () => false;\n\t\tthis._onChange = () => {};\n\t\tthis._onInvalid = () => {};\n\t\tif (typeof watchOptions === \"number\") {\n\t\t\tthis.watchOptions = {\n\t\t\t\taggregateTimeout: watchOptions\n\t\t\t};\n\t\t} else if (watchOptions && typeof watchOptions === \"object\") {\n\t\t\tthis.watchOptions = { ...watchOptions };\n\t\t} else {\n\t\t\tthis.watchOptions = {};\n\t\t}\n\t\tif (typeof this.watchOptions.aggregateTimeout !== \"number\") {\n\t\t\tthis.watchOptions.aggregateTimeout = 20;\n\t\t}\n\t\tthis.compiler = compiler;\n\t\tthis.running = false;\n\t\tthis._initial = true;\n\t\tthis._invalidReported = true;\n\t\tthis._needRecords = true;\n\t\tthis.watcher = undefined;\n\t\tthis.pausedWatcher = undefined;\n\t\t/** @type {Set<string>} */\n\t\tthis._collectedChangedFiles = undefined;\n\t\t/** @type {Set<string>} */\n\t\tthis._collectedRemovedFiles = undefined;\n\t\tthis._done = this._done.bind(this);\n\t\tprocess.nextTick(() => {\n\t\t\tif (this._initial) this._invalidate();\n\t\t});\n\t}\n\n\t/**\n\t * @param {ReadonlySet<string>} changedFiles changed files\n\t * @param {ReadonlySet<string>} removedFiles removed files\n\t */\n\t_mergeWithCollected(changedFiles, removedFiles) {\n\t\tif (!changedFiles) return;\n\t\tif (!this._collectedChangedFiles) {\n\t\t\tthis._collectedChangedFiles = new Set(changedFiles);\n\t\t\tthis._collectedRemovedFiles = new Set(removedFiles);\n\t\t} else {\n\t\t\tfor (const file of changedFiles) {\n\t\t\t\tthis._collectedChangedFiles.add(file);\n\t\t\t\tthis._collectedRemovedFiles.delete(file);\n\t\t\t}\n\t\t\tfor (const file of removedFiles) {\n\t\t\t\tthis._collectedChangedFiles.delete(file);\n\t\t\t\tthis._collectedRemovedFiles.add(file);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\">=} fileTimeInfoEntries info for files\n\t * @param {ReadonlyMap<string, FileSystemInfoEntry | \"ignore\">=} contextTimeInfoEntries info for directories\n\t * @param {ReadonlySet<string>=} changedFiles changed files\n\t * @param {ReadonlySet<string>=} removedFiles removed files\n\t * @returns {void}\n\t */\n\t_go(fileTimeInfoEntries, contextTimeInfoEntries, changedFiles, removedFiles) {\n\t\tthis._initial = false;\n\t\tif (this.startTime === null) this.startTime = Date.now();\n\t\tthis.running = true;\n\t\tif (this.watcher) {\n\t\t\tthis.pausedWatcher = this.watcher;\n\t\t\tthis.lastWatcherStartTime = Date.now();\n\t\t\tthis.watcher.pause();\n\t\t\tthis.watcher = null;\n\t\t} else if (!this.lastWatcherStartTime) {\n\t\t\tthis.lastWatcherStartTime = Date.now();\n\t\t}\n\t\tthis.compiler.fsStartTime = Date.now();\n\t\tif (\n\t\t\tchangedFiles &&\n\t\t\tremovedFiles &&\n\t\t\tfileTimeInfoEntries &&\n\t\t\tcontextTimeInfoEntries\n\t\t) {\n\t\t\tthis._mergeWithCollected(changedFiles, removedFiles);\n\t\t\tthis.compiler.fileTimestamps = fileTimeInfoEntries;\n\t\t\tthis.compiler.contextTimestamps = contextTimeInfoEntries;\n\t\t} else if (this.pausedWatcher) {\n\t\t\tif (this.pausedWatcher.getInfo) {\n\t\t\t\tconst {\n\t\t\t\t\tchanges,\n\t\t\t\t\tremovals,\n\t\t\t\t\tfileTimeInfoEntries,\n\t\t\t\t\tcontextTimeInfoEntries\n\t\t\t\t} = this.pausedWatcher.getInfo();\n\t\t\t\tthis._mergeWithCollected(changes, removals);\n\t\t\t\tthis.compiler.fileTimestamps = fileTimeInfoEntries;\n\t\t\t\tthis.compiler.contextTimestamps = contextTimeInfoEntries;\n\t\t\t} else {\n\t\t\t\tthis._mergeWithCollected(\n\t\t\t\t\tthis.pausedWatcher.getAggregatedChanges &&\n\t\t\t\t\t\tthis.pausedWatcher.getAggregatedChanges(),\n\t\t\t\t\tthis.pausedWatcher.getAggregatedRemovals &&\n\t\t\t\t\t\tthis.pausedWatcher.getAggregatedRemovals()\n\t\t\t\t);\n\t\t\t\tthis.compiler.fileTimestamps =\n\t\t\t\t\tthis.pausedWatcher.getFileTimeInfoEntries();\n\t\t\t\tthis.compiler.contextTimestamps =\n\t\t\t\t\tthis.pausedWatcher.getContextTimeInfoEntries();\n\t\t\t}\n\t\t}\n\t\tthis.compiler.modifiedFiles = this._collectedChangedFiles;\n\t\tthis._collectedChangedFiles = undefined;\n\t\tthis.compiler.removedFiles = this._collectedRemovedFiles;\n\t\tthis._collectedRemovedFiles = undefined;\n\n\t\tconst run = () => {\n\t\t\tif (this.compiler.idle) {\n\t\t\t\treturn this.compiler.cache.endIdle(err => {\n\t\t\t\t\tif (err) return this._done(err);\n\t\t\t\t\tthis.compiler.idle = false;\n\t\t\t\t\trun();\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (this._needRecords) {\n\t\t\t\treturn this.compiler.readRecords(err => {\n\t\t\t\t\tif (err) return this._done(err);\n\n\t\t\t\t\tthis._needRecords = false;\n\t\t\t\t\trun();\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.invalid = false;\n\t\t\tthis._invalidReported = false;\n\t\t\tthis.compiler.hooks.watchRun.callAsync(this.compiler, err => {\n\t\t\t\tif (err) return this._done(err);\n\t\t\t\tconst onCompiled = (err, compilation) => {\n\t\t\t\t\tif (err) return this._done(err, compilation);\n\t\t\t\t\tif (this.invalid) return this._done(null, compilation);\n\n\t\t\t\t\tif (this.compiler.hooks.shouldEmit.call(compilation) === false) {\n\t\t\t\t\t\treturn this._done(null, compilation);\n\t\t\t\t\t}\n\n\t\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\t\tconst logger = compilation.getLogger(\"webpack.Compiler\");\n\t\t\t\t\t\tlogger.time(\"emitAssets\");\n\t\t\t\t\t\tthis.compiler.emitAssets(compilation, err => {\n\t\t\t\t\t\t\tlogger.timeEnd(\"emitAssets\");\n\t\t\t\t\t\t\tif (err) return this._done(err, compilation);\n\t\t\t\t\t\t\tif (this.invalid) return this._done(null, compilation);\n\n\t\t\t\t\t\t\tlogger.time(\"emitRecords\");\n\t\t\t\t\t\t\tthis.compiler.emitRecords(err => {\n\t\t\t\t\t\t\t\tlogger.timeEnd(\"emitRecords\");\n\t\t\t\t\t\t\t\tif (err) return this._done(err, compilation);\n\n\t\t\t\t\t\t\t\tif (compilation.hooks.needAdditionalPass.call()) {\n\t\t\t\t\t\t\t\t\tcompilation.needAdditionalPass = true;\n\n\t\t\t\t\t\t\t\t\tcompilation.startTime = this.startTime;\n\t\t\t\t\t\t\t\t\tcompilation.endTime = Date.now();\n\t\t\t\t\t\t\t\t\tlogger.time(\"done hook\");\n\t\t\t\t\t\t\t\t\tconst stats = new Stats(compilation);\n\t\t\t\t\t\t\t\t\tthis.compiler.hooks.done.callAsync(stats, err => {\n\t\t\t\t\t\t\t\t\t\tlogger.timeEnd(\"done hook\");\n\t\t\t\t\t\t\t\t\t\tif (err) return this._done(err, compilation);\n\n\t\t\t\t\t\t\t\t\t\tthis.compiler.hooks.additionalPass.callAsync(err => {\n\t\t\t\t\t\t\t\t\t\t\tif (err) return this._done(err, compilation);\n\t\t\t\t\t\t\t\t\t\t\tthis.compiler.compile(onCompiled);\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn this._done(null, compilation);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tthis.compiler.compile(onCompiled);\n\t\t\t});\n\t\t};\n\n\t\trun();\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {Stats} the compilation stats\n\t */\n\t_getStats(compilation) {\n\t\tconst stats = new Stats(compilation);\n\t\treturn stats;\n\t}\n\n\t/**\n\t * @param {Error=} err an optional error\n\t * @param {Compilation=} compilation the compilation\n\t * @returns {void}\n\t */\n\t_done(err, compilation) {\n\t\tthis.running = false;\n\n\t\tconst logger = compilation && compilation.getLogger(\"webpack.Watching\");\n\n\t\tlet stats = null;\n\n\t\tconst handleError = (err, cbs) => {\n\t\t\tthis.compiler.hooks.failed.call(err);\n\t\t\tthis.compiler.cache.beginIdle();\n\t\t\tthis.compiler.idle = true;\n\t\t\tthis.handler(err, stats);\n\t\t\tif (!cbs) {\n\t\t\t\tcbs = this.callbacks;\n\t\t\t\tthis.callbacks = [];\n\t\t\t}\n\t\t\tfor (const cb of cbs) cb(err);\n\t\t};\n\n\t\tif (\n\t\t\tthis.invalid &&\n\t\t\t!this.suspended &&\n\t\t\t!this.blocked &&\n\t\t\t!(this._isBlocked() && (this.blocked = true))\n\t\t) {\n\t\t\tif (compilation) {\n\t\t\t\tlogger.time(\"storeBuildDependencies\");\n\t\t\t\tthis.compiler.cache.storeBuildDependencies(\n\t\t\t\t\tcompilation.buildDependencies,\n\t\t\t\t\terr => {\n\t\t\t\t\t\tlogger.timeEnd(\"storeBuildDependencies\");\n\t\t\t\t\t\tif (err) return handleError(err);\n\t\t\t\t\t\tthis._go();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tthis._go();\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tif (compilation) {\n\t\t\tcompilation.startTime = this.startTime;\n\t\t\tcompilation.endTime = Date.now();\n\t\t\tstats = new Stats(compilation);\n\t\t}\n\t\tthis.startTime = null;\n\t\tif (err) return handleError(err);\n\n\t\tconst cbs = this.callbacks;\n\t\tthis.callbacks = [];\n\t\tlogger.time(\"done hook\");\n\t\tthis.compiler.hooks.done.callAsync(stats, err => {\n\t\t\tlogger.timeEnd(\"done hook\");\n\t\t\tif (err) return handleError(err, cbs);\n\t\t\tthis.handler(null, stats);\n\t\t\tlogger.time(\"storeBuildDependencies\");\n\t\t\tthis.compiler.cache.storeBuildDependencies(\n\t\t\t\tcompilation.buildDependencies,\n\t\t\t\terr => {\n\t\t\t\t\tlogger.timeEnd(\"storeBuildDependencies\");\n\t\t\t\t\tif (err) return handleError(err, cbs);\n\t\t\t\t\tlogger.time(\"beginIdle\");\n\t\t\t\t\tthis.compiler.cache.beginIdle();\n\t\t\t\t\tthis.compiler.idle = true;\n\t\t\t\t\tlogger.timeEnd(\"beginIdle\");\n\t\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\t\tif (!this.closed) {\n\t\t\t\t\t\t\tthis.watch(\n\t\t\t\t\t\t\t\tcompilation.fileDependencies,\n\t\t\t\t\t\t\t\tcompilation.contextDependencies,\n\t\t\t\t\t\t\t\tcompilation.missingDependencies\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tfor (const cb of cbs) cb(null);\n\t\t\t\t\tthis.compiler.hooks.afterDone.call(stats);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\t/**\n\t * @param {Iterable<string>} files watched files\n\t * @param {Iterable<string>} dirs watched directories\n\t * @param {Iterable<string>} missing watched existence entries\n\t * @returns {void}\n\t */\n\twatch(files, dirs, missing) {\n\t\tthis.pausedWatcher = null;\n\t\tthis.watcher = this.compiler.watchFileSystem.watch(\n\t\t\tfiles,\n\t\t\tdirs,\n\t\t\tmissing,\n\t\t\tthis.lastWatcherStartTime,\n\t\t\tthis.watchOptions,\n\t\t\t(\n\t\t\t\terr,\n\t\t\t\tfileTimeInfoEntries,\n\t\t\t\tcontextTimeInfoEntries,\n\t\t\t\tchangedFiles,\n\t\t\t\tremovedFiles\n\t\t\t) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tthis.compiler.modifiedFiles = undefined;\n\t\t\t\t\tthis.compiler.removedFiles = undefined;\n\t\t\t\t\tthis.compiler.fileTimestamps = undefined;\n\t\t\t\t\tthis.compiler.contextTimestamps = undefined;\n\t\t\t\t\tthis.compiler.fsStartTime = undefined;\n\t\t\t\t\treturn this.handler(err);\n\t\t\t\t}\n\t\t\t\tthis._invalidate(\n\t\t\t\t\tfileTimeInfoEntries,\n\t\t\t\t\tcontextTimeInfoEntries,\n\t\t\t\t\tchangedFiles,\n\t\t\t\t\tremovedFiles\n\t\t\t\t);\n\t\t\t\tthis._onChange();\n\t\t\t},\n\t\t\t(fileName, changeTime) => {\n\t\t\t\tif (!this._invalidReported) {\n\t\t\t\t\tthis._invalidReported = true;\n\t\t\t\t\tthis.compiler.hooks.invalid.call(fileName, changeTime);\n\t\t\t\t}\n\t\t\t\tthis._onInvalid();\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * @param {Callback<void>=} callback signals when the build has completed again\n\t * @returns {void}\n\t */\n\tinvalidate(callback) {\n\t\tif (callback) {\n\t\t\tthis.callbacks.push(callback);\n\t\t}\n\t\tif (!this._invalidReported) {\n\t\t\tthis._invalidReported = true;\n\t\t\tthis.compiler.hooks.invalid.call(null, Date.now());\n\t\t}\n\t\tthis._onChange();\n\t\tthis._invalidate();\n\t}\n\n\t_invalidate(\n\t\tfileTimeInfoEntries,\n\t\tcontextTimeInfoEntries,\n\t\tchangedFiles,\n\t\tremovedFiles\n\t) {\n\t\tif (this.suspended || (this._isBlocked() && (this.blocked = true))) {\n\t\t\tthis._mergeWithCollected(changedFiles, removedFiles);\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.running) {\n\t\t\tthis._mergeWithCollected(changedFiles, removedFiles);\n\t\t\tthis.invalid = true;\n\t\t} else {\n\t\t\tthis._go(\n\t\t\t\tfileTimeInfoEntries,\n\t\t\t\tcontextTimeInfoEntries,\n\t\t\t\tchangedFiles,\n\t\t\t\tremovedFiles\n\t\t\t);\n\t\t}\n\t}\n\n\tsuspend() {\n\t\tthis.suspended = true;\n\t}\n\n\tresume() {\n\t\tif (this.suspended) {\n\t\t\tthis.suspended = false;\n\t\t\tthis._invalidate();\n\t\t}\n\t}\n\n\t/**\n\t * @param {Callback<void>} callback signals when the watcher is closed\n\t * @returns {void}\n\t */\n\tclose(callback) {\n\t\tif (this._closeCallbacks) {\n\t\t\tif (callback) {\n\t\t\t\tthis._closeCallbacks.push(callback);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tconst finalCallback = (err, compilation) => {\n\t\t\tthis.running = false;\n\t\t\tthis.compiler.running = false;\n\t\t\tthis.compiler.watching = undefined;\n\t\t\tthis.compiler.watchMode = false;\n\t\t\tthis.compiler.modifiedFiles = undefined;\n\t\t\tthis.compiler.removedFiles = undefined;\n\t\t\tthis.compiler.fileTimestamps = undefined;\n\t\t\tthis.compiler.contextTimestamps = undefined;\n\t\t\tthis.compiler.fsStartTime = undefined;\n\t\t\tconst shutdown = err => {\n\t\t\t\tthis.compiler.hooks.watchClose.call();\n\t\t\t\tconst closeCallbacks = this._closeCallbacks;\n\t\t\t\tthis._closeCallbacks = undefined;\n\t\t\t\tfor (const cb of closeCallbacks) cb(err);\n\t\t\t};\n\t\t\tif (compilation) {\n\t\t\t\tconst logger = compilation.getLogger(\"webpack.Watching\");\n\t\t\t\tlogger.time(\"storeBuildDependencies\");\n\t\t\t\tthis.compiler.cache.storeBuildDependencies(\n\t\t\t\t\tcompilation.buildDependencies,\n\t\t\t\t\terr2 => {\n\t\t\t\t\t\tlogger.timeEnd(\"storeBuildDependencies\");\n\t\t\t\t\t\tshutdown(err || err2);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tshutdown(err);\n\t\t\t}\n\t\t};\n\n\t\tthis.closed = true;\n\t\tif (this.watcher) {\n\t\t\tthis.watcher.close();\n\t\t\tthis.watcher = null;\n\t\t}\n\t\tif (this.pausedWatcher) {\n\t\t\tthis.pausedWatcher.close();\n\t\t\tthis.pausedWatcher = null;\n\t\t}\n\t\tthis._closeCallbacks = [];\n\t\tif (callback) {\n\t\t\tthis._closeCallbacks.push(callback);\n\t\t}\n\t\tif (this.running) {\n\t\t\tthis.invalid = true;\n\t\t\tthis._done = finalCallback;\n\t\t} else {\n\t\t\tfinalCallback();\n\t\t}\n\t}\n}\n\nmodule.exports = Watching;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/Watching.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WebpackError.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/WebpackError.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Jarid Margolin @jaridmargolin\n*/\n\n\n\nconst inspect = (__webpack_require__(/*! util */ \"?dcf1\").inspect.custom);\nconst makeSerializable = __webpack_require__(/*! ./util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Module\")} Module */\n\nclass WebpackError extends Error {\n\t/**\n\t * Creates an instance of WebpackError.\n\t * @param {string=} message error message\n\t */\n\tconstructor(message) {\n\t\tsuper(message);\n\n\t\tthis.details = undefined;\n\t\t/** @type {Module} */\n\t\tthis.module = undefined;\n\t\t/** @type {DependencyLocation} */\n\t\tthis.loc = undefined;\n\t\t/** @type {boolean} */\n\t\tthis.hideStack = undefined;\n\t\t/** @type {Chunk} */\n\t\tthis.chunk = undefined;\n\t\t/** @type {string} */\n\t\tthis.file = undefined;\n\t}\n\n\t[inspect]() {\n\t\treturn this.stack + (this.details ? `\\n${this.details}` : \"\");\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this.name);\n\t\twrite(this.message);\n\t\twrite(this.stack);\n\t\twrite(this.details);\n\t\twrite(this.loc);\n\t\twrite(this.hideStack);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis.name = read();\n\t\tthis.message = read();\n\t\tthis.stack = read();\n\t\tthis.details = read();\n\t\tthis.loc = read();\n\t\tthis.hideStack = read();\n\t}\n}\n\nmakeSerializable(WebpackError, \"webpack/lib/WebpackError\");\n\nmodule.exports = WebpackError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WebpackError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WebpackIsIncludedPlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/WebpackIsIncludedPlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst IgnoreErrorModuleFactory = __webpack_require__(/*! ./IgnoreErrorModuleFactory */ \"./node_modules/webpack/lib/IgnoreErrorModuleFactory.js\");\nconst WebpackIsIncludedDependency = __webpack_require__(/*! ./dependencies/WebpackIsIncludedDependency */ \"./node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js\");\nconst {\n\ttoConstantDependency\n} = __webpack_require__(/*! ./javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\n\n/** @typedef {import(\"enhanced-resolve/lib/Resolver\")} Resolver */\n/** @typedef {import(\"./Compiler\")} Compiler */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./javascript/JavascriptParser\")} JavascriptParser */\n\nclass WebpackIsIncludedPlugin {\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"WebpackIsIncludedPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tWebpackIsIncludedDependency,\n\t\t\t\t\tnew IgnoreErrorModuleFactory(normalModuleFactory)\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tWebpackIsIncludedDependency,\n\t\t\t\t\tnew WebpackIsIncludedDependency.Template()\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = parser => {\n\t\t\t\t\tparser.hooks.call\n\t\t\t\t\t\t.for(\"__webpack_is_included__\")\n\t\t\t\t\t\t.tap(\"WebpackIsIncludedPlugin\", expr => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\texpr.type !== \"CallExpression\" ||\n\t\t\t\t\t\t\t\texpr.arguments.length !== 1 ||\n\t\t\t\t\t\t\t\texpr.arguments[0].type === \"SpreadElement\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t\tconst request = parser.evaluateExpression(expr.arguments[0]);\n\n\t\t\t\t\t\t\tif (!request.isString()) return;\n\n\t\t\t\t\t\t\tconst dep = new WebpackIsIncludedDependency(\n\t\t\t\t\t\t\t\trequest.string,\n\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"__webpack_is_included__\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"WebpackIsIncludedPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"WebpackIsIncludedPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"WebpackIsIncludedPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"WebpackIsIncludedPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = WebpackIsIncludedPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WebpackIsIncludedPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WebpackOptionsApply.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/WebpackOptionsApply.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst OptionsApply = __webpack_require__(/*! ./OptionsApply */ \"./node_modules/webpack/lib/OptionsApply.js\");\n\nconst AssetModulesPlugin = __webpack_require__(/*! ./asset/AssetModulesPlugin */ \"./node_modules/webpack/lib/asset/AssetModulesPlugin.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst JsonModulesPlugin = __webpack_require__(/*! ./json/JsonModulesPlugin */ \"./node_modules/webpack/lib/json/JsonModulesPlugin.js\");\n\nconst ChunkPrefetchPreloadPlugin = __webpack_require__(/*! ./prefetch/ChunkPrefetchPreloadPlugin */ \"./node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js\");\n\nconst EntryOptionPlugin = __webpack_require__(/*! ./EntryOptionPlugin */ \"./node_modules/webpack/lib/EntryOptionPlugin.js\");\nconst RecordIdsPlugin = __webpack_require__(/*! ./RecordIdsPlugin */ \"./node_modules/webpack/lib/RecordIdsPlugin.js\");\n\nconst RuntimePlugin = __webpack_require__(/*! ./RuntimePlugin */ \"./node_modules/webpack/lib/RuntimePlugin.js\");\n\nconst APIPlugin = __webpack_require__(/*! ./APIPlugin */ \"./node_modules/webpack/lib/APIPlugin.js\");\nconst CompatibilityPlugin = __webpack_require__(/*! ./CompatibilityPlugin */ \"./node_modules/webpack/lib/CompatibilityPlugin.js\");\nconst ConstPlugin = __webpack_require__(/*! ./ConstPlugin */ \"./node_modules/webpack/lib/ConstPlugin.js\");\nconst ExportsInfoApiPlugin = __webpack_require__(/*! ./ExportsInfoApiPlugin */ \"./node_modules/webpack/lib/ExportsInfoApiPlugin.js\");\nconst WebpackIsIncludedPlugin = __webpack_require__(/*! ./WebpackIsIncludedPlugin */ \"./node_modules/webpack/lib/WebpackIsIncludedPlugin.js\");\n\nconst TemplatedPathPlugin = __webpack_require__(/*! ./TemplatedPathPlugin */ \"./node_modules/webpack/lib/TemplatedPathPlugin.js\");\nconst UseStrictPlugin = __webpack_require__(/*! ./UseStrictPlugin */ \"./node_modules/webpack/lib/UseStrictPlugin.js\");\nconst WarnCaseSensitiveModulesPlugin = __webpack_require__(/*! ./WarnCaseSensitiveModulesPlugin */ \"./node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js\");\n\nconst DataUriPlugin = __webpack_require__(/*! ./schemes/DataUriPlugin */ \"./node_modules/webpack/lib/schemes/DataUriPlugin.js\");\nconst FileUriPlugin = __webpack_require__(/*! ./schemes/FileUriPlugin */ \"./node_modules/webpack/lib/schemes/FileUriPlugin.js\");\n\nconst ResolverCachePlugin = __webpack_require__(/*! ./cache/ResolverCachePlugin */ \"./node_modules/webpack/lib/cache/ResolverCachePlugin.js\");\n\nconst CommonJsPlugin = __webpack_require__(/*! ./dependencies/CommonJsPlugin */ \"./node_modules/webpack/lib/dependencies/CommonJsPlugin.js\");\nconst HarmonyModulesPlugin = __webpack_require__(/*! ./dependencies/HarmonyModulesPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js\");\nconst ImportMetaContextPlugin = __webpack_require__(/*! ./dependencies/ImportMetaContextPlugin */ \"./node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js\");\nconst ImportMetaPlugin = __webpack_require__(/*! ./dependencies/ImportMetaPlugin */ \"./node_modules/webpack/lib/dependencies/ImportMetaPlugin.js\");\nconst ImportPlugin = __webpack_require__(/*! ./dependencies/ImportPlugin */ \"./node_modules/webpack/lib/dependencies/ImportPlugin.js\");\nconst LoaderPlugin = __webpack_require__(/*! ./dependencies/LoaderPlugin */ \"./node_modules/webpack/lib/dependencies/LoaderPlugin.js\");\nconst RequireContextPlugin = __webpack_require__(/*! ./dependencies/RequireContextPlugin */ \"./node_modules/webpack/lib/dependencies/RequireContextPlugin.js\");\nconst RequireEnsurePlugin = __webpack_require__(/*! ./dependencies/RequireEnsurePlugin */ \"./node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js\");\nconst RequireIncludePlugin = __webpack_require__(/*! ./dependencies/RequireIncludePlugin */ \"./node_modules/webpack/lib/dependencies/RequireIncludePlugin.js\");\nconst SystemPlugin = __webpack_require__(/*! ./dependencies/SystemPlugin */ \"./node_modules/webpack/lib/dependencies/SystemPlugin.js\");\nconst URLPlugin = __webpack_require__(/*! ./dependencies/URLPlugin */ \"./node_modules/webpack/lib/dependencies/URLPlugin.js\");\nconst WorkerPlugin = __webpack_require__(/*! ./dependencies/WorkerPlugin */ \"./node_modules/webpack/lib/dependencies/WorkerPlugin.js\");\n\nconst InferAsyncModulesPlugin = __webpack_require__(/*! ./async-modules/InferAsyncModulesPlugin */ \"./node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js\");\n\nconst JavascriptMetaInfoPlugin = __webpack_require__(/*! ./JavascriptMetaInfoPlugin */ \"./node_modules/webpack/lib/JavascriptMetaInfoPlugin.js\");\nconst DefaultStatsFactoryPlugin = __webpack_require__(/*! ./stats/DefaultStatsFactoryPlugin */ \"./node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js\");\nconst DefaultStatsPresetPlugin = __webpack_require__(/*! ./stats/DefaultStatsPresetPlugin */ \"./node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js\");\nconst DefaultStatsPrinterPlugin = __webpack_require__(/*! ./stats/DefaultStatsPrinterPlugin */ \"./node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js\");\n\nconst { cleverMerge } = __webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./Compiler\")} Compiler */\n\nclass WebpackOptionsApply extends OptionsApply {\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options options object\n\t * @param {Compiler} compiler compiler object\n\t * @returns {WebpackOptions} options object\n\t */\n\tprocess(options, compiler) {\n\t\tcompiler.outputPath = options.output.path;\n\t\tcompiler.recordsInputPath = options.recordsInputPath || null;\n\t\tcompiler.recordsOutputPath = options.recordsOutputPath || null;\n\t\tcompiler.name = options.name;\n\n\t\tif (options.externals) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ExternalsPlugin = __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t\t\tnew ExternalsPlugin(options.externalsType, options.externals).apply(\n\t\t\t\tcompiler\n\t\t\t);\n\t\t}\n\n\t\tif (options.externalsPresets.node) {\n\t\t\tconst NodeTargetPlugin = __webpack_require__(/*! ./node/NodeTargetPlugin */ \"./node_modules/webpack/lib/node/NodeTargetPlugin.js\");\n\t\t\tnew NodeTargetPlugin().apply(compiler);\n\t\t}\n\t\tif (options.externalsPresets.electronMain) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ElectronTargetPlugin = __webpack_require__(/*! ./electron/ElectronTargetPlugin */ \"./node_modules/webpack/lib/electron/ElectronTargetPlugin.js\");\n\t\t\tnew ElectronTargetPlugin(\"main\").apply(compiler);\n\t\t}\n\t\tif (options.externalsPresets.electronPreload) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ElectronTargetPlugin = __webpack_require__(/*! ./electron/ElectronTargetPlugin */ \"./node_modules/webpack/lib/electron/ElectronTargetPlugin.js\");\n\t\t\tnew ElectronTargetPlugin(\"preload\").apply(compiler);\n\t\t}\n\t\tif (options.externalsPresets.electronRenderer) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ElectronTargetPlugin = __webpack_require__(/*! ./electron/ElectronTargetPlugin */ \"./node_modules/webpack/lib/electron/ElectronTargetPlugin.js\");\n\t\t\tnew ElectronTargetPlugin(\"renderer\").apply(compiler);\n\t\t}\n\t\tif (\n\t\t\toptions.externalsPresets.electron &&\n\t\t\t!options.externalsPresets.electronMain &&\n\t\t\t!options.externalsPresets.electronPreload &&\n\t\t\t!options.externalsPresets.electronRenderer\n\t\t) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ElectronTargetPlugin = __webpack_require__(/*! ./electron/ElectronTargetPlugin */ \"./node_modules/webpack/lib/electron/ElectronTargetPlugin.js\");\n\t\t\tnew ElectronTargetPlugin().apply(compiler);\n\t\t}\n\t\tif (options.externalsPresets.nwjs) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ExternalsPlugin = __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t\t\tnew ExternalsPlugin(\"node-commonjs\", \"nw.gui\").apply(compiler);\n\t\t}\n\t\tif (options.externalsPresets.webAsync) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ExternalsPlugin = __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t\t\tnew ExternalsPlugin(\n\t\t\t\t\"import\",\n\t\t\t\toptions.experiments.css\n\t\t\t\t\t? ({ request, dependencyType }, callback) => {\n\t\t\t\t\t\t\tif (dependencyType === \"url\") {\n\t\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `asset ${request}`);\n\t\t\t\t\t\t\t} else if (dependencyType === \"css-import\") {\n\t\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t\t} else if (/^(\\/\\/|https?:\\/\\/|std:)/.test(request)) {\n\t\t\t\t\t\t\t\tif (/^\\.css(\\?|$)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t\t\treturn callback(null, `import ${request}`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t }\n\t\t\t\t\t: /^(\\/\\/|https?:\\/\\/|std:)/\n\t\t\t).apply(compiler);\n\t\t} else if (options.externalsPresets.web) {\n\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\tconst ExternalsPlugin = __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t\t\tnew ExternalsPlugin(\n\t\t\t\t\"module\",\n\t\t\t\toptions.experiments.css\n\t\t\t\t\t? ({ request, dependencyType }, callback) => {\n\t\t\t\t\t\t\tif (dependencyType === \"url\") {\n\t\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `asset ${request}`);\n\t\t\t\t\t\t\t} else if (dependencyType === \"css-import\") {\n\t\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t\t} else if (/^(\\/\\/|https?:\\/\\/|std:)/.test(request)) {\n\t\t\t\t\t\t\t\tif (/^\\.css(\\?|$)/.test(request))\n\t\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t\t\treturn callback(null, `module ${request}`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t }\n\t\t\t\t\t: /^(\\/\\/|https?:\\/\\/|std:)/\n\t\t\t).apply(compiler);\n\t\t} else if (options.externalsPresets.node) {\n\t\t\tif (options.experiments.css) {\n\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\tconst ExternalsPlugin = __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t\t\t\tnew ExternalsPlugin(\n\t\t\t\t\t\"module\",\n\t\t\t\t\t({ request, dependencyType }, callback) => {\n\t\t\t\t\t\tif (dependencyType === \"url\") {\n\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\treturn callback(null, `asset ${request}`);\n\t\t\t\t\t\t} else if (dependencyType === \"css-import\") {\n\t\t\t\t\t\t\tif (/^(\\/\\/|https?:\\/\\/)/.test(request))\n\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t} else if (/^(\\/\\/|https?:\\/\\/|std:)/.test(request)) {\n\t\t\t\t\t\t\tif (/^\\.css(\\?|$)/.test(request))\n\t\t\t\t\t\t\t\treturn callback(null, `css-import ${request}`);\n\t\t\t\t\t\t\treturn callback(null, `module ${request}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t}\n\t\t\t\t).apply(compiler);\n\t\t\t}\n\t\t}\n\n\t\tnew ChunkPrefetchPreloadPlugin().apply(compiler);\n\n\t\tif (typeof options.output.chunkFormat === \"string\") {\n\t\t\tswitch (options.output.chunkFormat) {\n\t\t\t\tcase \"array-push\": {\n\t\t\t\t\tconst ArrayPushCallbackChunkFormatPlugin = __webpack_require__(/*! ./javascript/ArrayPushCallbackChunkFormatPlugin */ \"./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js\");\n\t\t\t\t\tnew ArrayPushCallbackChunkFormatPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"commonjs\": {\n\t\t\t\t\tconst CommonJsChunkFormatPlugin = __webpack_require__(/*! ./javascript/CommonJsChunkFormatPlugin */ \"./node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js\");\n\t\t\t\t\tnew CommonJsChunkFormatPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"module\": {\n\t\t\t\t\tconst ModuleChunkFormatPlugin = __webpack_require__(/*! ./esm/ModuleChunkFormatPlugin */ \"./node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js\");\n\t\t\t\t\tnew ModuleChunkFormatPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"Unsupported chunk format '\" + options.output.chunkFormat + \"'.\"\n\t\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tif (options.output.enabledChunkLoadingTypes.length > 0) {\n\t\t\tfor (const type of options.output.enabledChunkLoadingTypes) {\n\t\t\t\tconst EnableChunkLoadingPlugin = __webpack_require__(/*! ./javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\n\t\t\t\tnew EnableChunkLoadingPlugin(type).apply(compiler);\n\t\t\t}\n\t\t}\n\n\t\tif (options.output.enabledWasmLoadingTypes.length > 0) {\n\t\t\tfor (const type of options.output.enabledWasmLoadingTypes) {\n\t\t\t\tconst EnableWasmLoadingPlugin = __webpack_require__(/*! ./wasm/EnableWasmLoadingPlugin */ \"./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js\");\n\t\t\t\tnew EnableWasmLoadingPlugin(type).apply(compiler);\n\t\t\t}\n\t\t}\n\n\t\tif (options.output.enabledLibraryTypes.length > 0) {\n\t\t\tfor (const type of options.output.enabledLibraryTypes) {\n\t\t\t\tconst EnableLibraryPlugin = __webpack_require__(/*! ./library/EnableLibraryPlugin */ \"./node_modules/webpack/lib/library/EnableLibraryPlugin.js\");\n\t\t\t\tnew EnableLibraryPlugin(type).apply(compiler);\n\t\t\t}\n\t\t}\n\n\t\tif (options.output.pathinfo) {\n\t\t\tconst ModuleInfoHeaderPlugin = __webpack_require__(/*! ./ModuleInfoHeaderPlugin */ \"./node_modules/webpack/lib/ModuleInfoHeaderPlugin.js\");\n\t\t\tnew ModuleInfoHeaderPlugin(options.output.pathinfo !== true).apply(\n\t\t\t\tcompiler\n\t\t\t);\n\t\t}\n\n\t\tif (options.output.clean) {\n\t\t\tconst CleanPlugin = __webpack_require__(/*! ./CleanPlugin */ \"./node_modules/webpack/lib/CleanPlugin.js\");\n\t\t\tnew CleanPlugin(\n\t\t\t\toptions.output.clean === true ? {} : options.output.clean\n\t\t\t).apply(compiler);\n\t\t}\n\n\t\tif (options.devtool) {\n\t\t\tif (options.devtool.includes(\"source-map\")) {\n\t\t\t\tconst hidden = options.devtool.includes(\"hidden\");\n\t\t\t\tconst inline = options.devtool.includes(\"inline\");\n\t\t\t\tconst evalWrapped = options.devtool.includes(\"eval\");\n\t\t\t\tconst cheap = options.devtool.includes(\"cheap\");\n\t\t\t\tconst moduleMaps = options.devtool.includes(\"module\");\n\t\t\t\tconst noSources = options.devtool.includes(\"nosources\");\n\t\t\t\tconst Plugin = evalWrapped\n\t\t\t\t\t? __webpack_require__(/*! ./EvalSourceMapDevToolPlugin */ \"./node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js\")\n\t\t\t\t\t: __webpack_require__(/*! ./SourceMapDevToolPlugin */ \"./node_modules/webpack/lib/SourceMapDevToolPlugin.js\");\n\t\t\t\tnew Plugin({\n\t\t\t\t\tfilename: inline ? null : options.output.sourceMapFilename,\n\t\t\t\t\tmoduleFilenameTemplate: options.output.devtoolModuleFilenameTemplate,\n\t\t\t\t\tfallbackModuleFilenameTemplate:\n\t\t\t\t\t\toptions.output.devtoolFallbackModuleFilenameTemplate,\n\t\t\t\t\tappend: hidden ? false : undefined,\n\t\t\t\t\tmodule: moduleMaps ? true : cheap ? false : true,\n\t\t\t\t\tcolumns: cheap ? false : true,\n\t\t\t\t\tnoSources: noSources,\n\t\t\t\t\tnamespace: options.output.devtoolNamespace\n\t\t\t\t}).apply(compiler);\n\t\t\t} else if (options.devtool.includes(\"eval\")) {\n\t\t\t\tconst EvalDevToolModulePlugin = __webpack_require__(/*! ./EvalDevToolModulePlugin */ \"./node_modules/webpack/lib/EvalDevToolModulePlugin.js\");\n\t\t\t\tnew EvalDevToolModulePlugin({\n\t\t\t\t\tmoduleFilenameTemplate: options.output.devtoolModuleFilenameTemplate,\n\t\t\t\t\tnamespace: options.output.devtoolNamespace\n\t\t\t\t}).apply(compiler);\n\t\t\t}\n\t\t}\n\n\t\tnew JavascriptModulesPlugin().apply(compiler);\n\t\tnew JsonModulesPlugin().apply(compiler);\n\t\tnew AssetModulesPlugin().apply(compiler);\n\n\t\tif (!options.experiments.outputModule) {\n\t\t\tif (options.output.module) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"'output.module: true' is only allowed when 'experiments.outputModule' is enabled\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (options.output.enabledLibraryTypes.includes(\"module\")) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"library type \\\"module\\\" is only allowed when 'experiments.outputModule' is enabled\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (options.externalsType === \"module\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"'externalsType: \\\"module\\\"' is only allowed when 'experiments.outputModule' is enabled\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tif (options.experiments.syncWebAssembly) {\n\t\t\tconst WebAssemblyModulesPlugin = __webpack_require__(/*! ./wasm-sync/WebAssemblyModulesPlugin */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js\");\n\t\t\tnew WebAssemblyModulesPlugin({\n\t\t\t\tmangleImports: options.optimization.mangleWasmImports\n\t\t\t}).apply(compiler);\n\t\t}\n\n\t\tif (options.experiments.asyncWebAssembly) {\n\t\t\tconst AsyncWebAssemblyModulesPlugin = __webpack_require__(/*! ./wasm-async/AsyncWebAssemblyModulesPlugin */ \"./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js\");\n\t\t\tnew AsyncWebAssemblyModulesPlugin({\n\t\t\t\tmangleImports: options.optimization.mangleWasmImports\n\t\t\t}).apply(compiler);\n\t\t}\n\n\t\tif (options.experiments.css) {\n\t\t\tconst CssModulesPlugin = __webpack_require__(/*! ./css/CssModulesPlugin */ \"./node_modules/webpack/lib/css/CssModulesPlugin.js\");\n\t\t\tnew CssModulesPlugin(options.experiments.css).apply(compiler);\n\t\t}\n\n\t\tif (options.experiments.lazyCompilation) {\n\t\t\tconst LazyCompilationPlugin = __webpack_require__(/*! ./hmr/LazyCompilationPlugin */ \"./node_modules/webpack/lib/hmr/LazyCompilationPlugin.js\");\n\t\t\tconst lazyOptions =\n\t\t\t\ttypeof options.experiments.lazyCompilation === \"object\"\n\t\t\t\t\t? options.experiments.lazyCompilation\n\t\t\t\t\t: null;\n\t\t\tnew LazyCompilationPlugin({\n\t\t\t\tbackend:\n\t\t\t\t\ttypeof lazyOptions.backend === \"function\"\n\t\t\t\t\t\t? lazyOptions.backend\n\t\t\t\t\t\t: __webpack_require__(/*! ./hmr/lazyCompilationBackend */ \"./node_modules/webpack/lib/hmr/lazyCompilationBackend.js\")({\n\t\t\t\t\t\t\t\t...lazyOptions.backend,\n\t\t\t\t\t\t\t\tclient:\n\t\t\t\t\t\t\t\t\t(lazyOptions.backend && lazyOptions.backend.client) ||\n\t\t\t\t\t\t\t\t\t/*require.resolve*/(\n\t\t\t\t\t\t\t\t\t\t__webpack_require__(\"./node_modules/webpack/hot sync recursive ^\\\\.\\\\/lazy\\\\-compilation\\\\-.*\\\\.js$\").resolve(`./lazy-compilation-${\n\t\t\t\t\t\t\t\t\t\t\toptions.externalsPresets.node ? \"node\" : \"web\"\n\t\t\t\t\t\t\t\t\t\t}.js`)\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t }),\n\t\t\t\tentries: !lazyOptions || lazyOptions.entries !== false,\n\t\t\t\timports: !lazyOptions || lazyOptions.imports !== false,\n\t\t\t\ttest: (lazyOptions && lazyOptions.test) || undefined\n\t\t\t}).apply(compiler);\n\t\t}\n\n\t\tif (options.experiments.buildHttp) {\n\t\t\tconst HttpUriPlugin = __webpack_require__(/*! ./schemes/HttpUriPlugin */ \"./node_modules/webpack/lib/schemes/HttpUriPlugin.js\");\n\t\t\tconst httpOptions = options.experiments.buildHttp;\n\t\t\tnew HttpUriPlugin(httpOptions).apply(compiler);\n\t\t}\n\n\t\tnew EntryOptionPlugin().apply(compiler);\n\t\tcompiler.hooks.entryOption.call(options.context, options.entry);\n\n\t\tnew RuntimePlugin().apply(compiler);\n\n\t\tnew InferAsyncModulesPlugin().apply(compiler);\n\n\t\tnew DataUriPlugin().apply(compiler);\n\t\tnew FileUriPlugin().apply(compiler);\n\n\t\tnew CompatibilityPlugin().apply(compiler);\n\t\tnew HarmonyModulesPlugin({\n\t\t\ttopLevelAwait: options.experiments.topLevelAwait\n\t\t}).apply(compiler);\n\t\tif (options.amd !== false) {\n\t\t\tconst AMDPlugin = __webpack_require__(/*! ./dependencies/AMDPlugin */ \"./node_modules/webpack/lib/dependencies/AMDPlugin.js\");\n\t\t\tconst RequireJsStuffPlugin = __webpack_require__(/*! ./RequireJsStuffPlugin */ \"./node_modules/webpack/lib/RequireJsStuffPlugin.js\");\n\t\t\tnew AMDPlugin(options.amd || {}).apply(compiler);\n\t\t\tnew RequireJsStuffPlugin().apply(compiler);\n\t\t}\n\t\tnew CommonJsPlugin().apply(compiler);\n\t\tnew LoaderPlugin({}).apply(compiler);\n\t\tif (options.node !== false) {\n\t\t\tconst NodeStuffPlugin = __webpack_require__(/*! ./NodeStuffPlugin */ \"./node_modules/webpack/lib/NodeStuffPlugin.js\");\n\t\t\tnew NodeStuffPlugin(options.node).apply(compiler);\n\t\t}\n\t\tnew APIPlugin().apply(compiler);\n\t\tnew ExportsInfoApiPlugin().apply(compiler);\n\t\tnew WebpackIsIncludedPlugin().apply(compiler);\n\t\tnew ConstPlugin().apply(compiler);\n\t\tnew UseStrictPlugin().apply(compiler);\n\t\tnew RequireIncludePlugin().apply(compiler);\n\t\tnew RequireEnsurePlugin().apply(compiler);\n\t\tnew RequireContextPlugin().apply(compiler);\n\t\tnew ImportPlugin().apply(compiler);\n\t\tnew ImportMetaContextPlugin().apply(compiler);\n\t\tnew SystemPlugin().apply(compiler);\n\t\tnew ImportMetaPlugin().apply(compiler);\n\t\tnew URLPlugin().apply(compiler);\n\t\tnew WorkerPlugin(\n\t\t\toptions.output.workerChunkLoading,\n\t\t\toptions.output.workerWasmLoading,\n\t\t\toptions.output.module\n\t\t).apply(compiler);\n\n\t\tnew DefaultStatsFactoryPlugin().apply(compiler);\n\t\tnew DefaultStatsPresetPlugin().apply(compiler);\n\t\tnew DefaultStatsPrinterPlugin().apply(compiler);\n\n\t\tnew JavascriptMetaInfoPlugin().apply(compiler);\n\n\t\tif (typeof options.mode !== \"string\") {\n\t\t\tconst WarnNoModeSetPlugin = __webpack_require__(/*! ./WarnNoModeSetPlugin */ \"./node_modules/webpack/lib/WarnNoModeSetPlugin.js\");\n\t\t\tnew WarnNoModeSetPlugin().apply(compiler);\n\t\t}\n\n\t\tconst EnsureChunkConditionsPlugin = __webpack_require__(/*! ./optimize/EnsureChunkConditionsPlugin */ \"./node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js\");\n\t\tnew EnsureChunkConditionsPlugin().apply(compiler);\n\t\tif (options.optimization.removeAvailableModules) {\n\t\t\tconst RemoveParentModulesPlugin = __webpack_require__(/*! ./optimize/RemoveParentModulesPlugin */ \"./node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js\");\n\t\t\tnew RemoveParentModulesPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.removeEmptyChunks) {\n\t\t\tconst RemoveEmptyChunksPlugin = __webpack_require__(/*! ./optimize/RemoveEmptyChunksPlugin */ \"./node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js\");\n\t\t\tnew RemoveEmptyChunksPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.mergeDuplicateChunks) {\n\t\t\tconst MergeDuplicateChunksPlugin = __webpack_require__(/*! ./optimize/MergeDuplicateChunksPlugin */ \"./node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js\");\n\t\t\tnew MergeDuplicateChunksPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.flagIncludedChunks) {\n\t\t\tconst FlagIncludedChunksPlugin = __webpack_require__(/*! ./optimize/FlagIncludedChunksPlugin */ \"./node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js\");\n\t\t\tnew FlagIncludedChunksPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.sideEffects) {\n\t\t\tconst SideEffectsFlagPlugin = __webpack_require__(/*! ./optimize/SideEffectsFlagPlugin */ \"./node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js\");\n\t\t\tnew SideEffectsFlagPlugin(\n\t\t\t\toptions.optimization.sideEffects === true\n\t\t\t).apply(compiler);\n\t\t}\n\t\tif (options.optimization.providedExports) {\n\t\t\tconst FlagDependencyExportsPlugin = __webpack_require__(/*! ./FlagDependencyExportsPlugin */ \"./node_modules/webpack/lib/FlagDependencyExportsPlugin.js\");\n\t\t\tnew FlagDependencyExportsPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.usedExports) {\n\t\t\tconst FlagDependencyUsagePlugin = __webpack_require__(/*! ./FlagDependencyUsagePlugin */ \"./node_modules/webpack/lib/FlagDependencyUsagePlugin.js\");\n\t\t\tnew FlagDependencyUsagePlugin(\n\t\t\t\toptions.optimization.usedExports === \"global\"\n\t\t\t).apply(compiler);\n\t\t}\n\t\tif (options.optimization.innerGraph) {\n\t\t\tconst InnerGraphPlugin = __webpack_require__(/*! ./optimize/InnerGraphPlugin */ \"./node_modules/webpack/lib/optimize/InnerGraphPlugin.js\");\n\t\t\tnew InnerGraphPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.mangleExports) {\n\t\t\tconst MangleExportsPlugin = __webpack_require__(/*! ./optimize/MangleExportsPlugin */ \"./node_modules/webpack/lib/optimize/MangleExportsPlugin.js\");\n\t\t\tnew MangleExportsPlugin(\n\t\t\t\toptions.optimization.mangleExports !== \"size\"\n\t\t\t).apply(compiler);\n\t\t}\n\t\tif (options.optimization.concatenateModules) {\n\t\t\tconst ModuleConcatenationPlugin = __webpack_require__(/*! ./optimize/ModuleConcatenationPlugin */ \"./node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js\");\n\t\t\tnew ModuleConcatenationPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.splitChunks) {\n\t\t\tconst SplitChunksPlugin = __webpack_require__(/*! ./optimize/SplitChunksPlugin */ \"./node_modules/webpack/lib/optimize/SplitChunksPlugin.js\");\n\t\t\tnew SplitChunksPlugin(options.optimization.splitChunks).apply(compiler);\n\t\t}\n\t\tif (options.optimization.runtimeChunk) {\n\t\t\tconst RuntimeChunkPlugin = __webpack_require__(/*! ./optimize/RuntimeChunkPlugin */ \"./node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js\");\n\t\t\tnew RuntimeChunkPlugin(options.optimization.runtimeChunk).apply(compiler);\n\t\t}\n\t\tif (!options.optimization.emitOnErrors) {\n\t\t\tconst NoEmitOnErrorsPlugin = __webpack_require__(/*! ./NoEmitOnErrorsPlugin */ \"./node_modules/webpack/lib/NoEmitOnErrorsPlugin.js\");\n\t\t\tnew NoEmitOnErrorsPlugin().apply(compiler);\n\t\t}\n\t\tif (options.optimization.realContentHash) {\n\t\t\tconst RealContentHashPlugin = __webpack_require__(/*! ./optimize/RealContentHashPlugin */ \"./node_modules/webpack/lib/optimize/RealContentHashPlugin.js\");\n\t\t\tnew RealContentHashPlugin({\n\t\t\t\thashFunction: options.output.hashFunction,\n\t\t\t\thashDigest: options.output.hashDigest\n\t\t\t}).apply(compiler);\n\t\t}\n\t\tif (options.optimization.checkWasmTypes) {\n\t\t\tconst WasmFinalizeExportsPlugin = __webpack_require__(/*! ./wasm-sync/WasmFinalizeExportsPlugin */ \"./node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js\");\n\t\t\tnew WasmFinalizeExportsPlugin().apply(compiler);\n\t\t}\n\t\tconst moduleIds = options.optimization.moduleIds;\n\t\tif (moduleIds) {\n\t\t\tswitch (moduleIds) {\n\t\t\t\tcase \"natural\": {\n\t\t\t\t\tconst NaturalModuleIdsPlugin = __webpack_require__(/*! ./ids/NaturalModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js\");\n\t\t\t\t\tnew NaturalModuleIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"named\": {\n\t\t\t\t\tconst NamedModuleIdsPlugin = __webpack_require__(/*! ./ids/NamedModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js\");\n\t\t\t\t\tnew NamedModuleIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"hashed\": {\n\t\t\t\t\tconst WarnDeprecatedOptionPlugin = __webpack_require__(/*! ./WarnDeprecatedOptionPlugin */ \"./node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js\");\n\t\t\t\t\tconst HashedModuleIdsPlugin = __webpack_require__(/*! ./ids/HashedModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js\");\n\t\t\t\t\tnew WarnDeprecatedOptionPlugin(\n\t\t\t\t\t\t\"optimization.moduleIds\",\n\t\t\t\t\t\t\"hashed\",\n\t\t\t\t\t\t\"deterministic\"\n\t\t\t\t\t).apply(compiler);\n\t\t\t\t\tnew HashedModuleIdsPlugin({\n\t\t\t\t\t\thashFunction: options.output.hashFunction\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"deterministic\": {\n\t\t\t\t\tconst DeterministicModuleIdsPlugin = __webpack_require__(/*! ./ids/DeterministicModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js\");\n\t\t\t\t\tnew DeterministicModuleIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"size\": {\n\t\t\t\t\tconst OccurrenceModuleIdsPlugin = __webpack_require__(/*! ./ids/OccurrenceModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js\");\n\t\t\t\t\tnew OccurrenceModuleIdsPlugin({\n\t\t\t\t\t\tprioritiseInitial: true\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`webpack bug: moduleIds: ${moduleIds} is not implemented`\n\t\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tconst chunkIds = options.optimization.chunkIds;\n\t\tif (chunkIds) {\n\t\t\tswitch (chunkIds) {\n\t\t\t\tcase \"natural\": {\n\t\t\t\t\tconst NaturalChunkIdsPlugin = __webpack_require__(/*! ./ids/NaturalChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js\");\n\t\t\t\t\tnew NaturalChunkIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"named\": {\n\t\t\t\t\tconst NamedChunkIdsPlugin = __webpack_require__(/*! ./ids/NamedChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js\");\n\t\t\t\t\tnew NamedChunkIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"deterministic\": {\n\t\t\t\t\tconst DeterministicChunkIdsPlugin = __webpack_require__(/*! ./ids/DeterministicChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js\");\n\t\t\t\t\tnew DeterministicChunkIdsPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"size\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst OccurrenceChunkIdsPlugin = __webpack_require__(/*! ./ids/OccurrenceChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js\");\n\t\t\t\t\tnew OccurrenceChunkIdsPlugin({\n\t\t\t\t\t\tprioritiseInitial: true\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"total-size\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst OccurrenceChunkIdsPlugin = __webpack_require__(/*! ./ids/OccurrenceChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js\");\n\t\t\t\t\tnew OccurrenceChunkIdsPlugin({\n\t\t\t\t\t\tprioritiseInitial: false\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`webpack bug: chunkIds: ${chunkIds} is not implemented`\n\t\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (options.optimization.nodeEnv) {\n\t\t\tconst DefinePlugin = __webpack_require__(/*! ./DefinePlugin */ \"./node_modules/webpack/lib/DefinePlugin.js\");\n\t\t\tnew DefinePlugin({\n\t\t\t\t\"process.env.NODE_ENV\": JSON.stringify(options.optimization.nodeEnv)\n\t\t\t}).apply(compiler);\n\t\t}\n\t\tif (options.optimization.minimize) {\n\t\t\tfor (const minimizer of options.optimization.minimizer) {\n\t\t\t\tif (typeof minimizer === \"function\") {\n\t\t\t\t\tminimizer.call(compiler, compiler);\n\t\t\t\t} else if (minimizer !== \"...\") {\n\t\t\t\t\tminimizer.apply(compiler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (options.performance) {\n\t\t\tconst SizeLimitsPlugin = __webpack_require__(/*! ./performance/SizeLimitsPlugin */ \"./node_modules/webpack/lib/performance/SizeLimitsPlugin.js\");\n\t\t\tnew SizeLimitsPlugin(options.performance).apply(compiler);\n\t\t}\n\n\t\tnew TemplatedPathPlugin().apply(compiler);\n\n\t\tnew RecordIdsPlugin({\n\t\t\tportableIds: options.optimization.portableRecords\n\t\t}).apply(compiler);\n\n\t\tnew WarnCaseSensitiveModulesPlugin().apply(compiler);\n\n\t\tconst AddManagedPathsPlugin = __webpack_require__(/*! ./cache/AddManagedPathsPlugin */ \"./node_modules/webpack/lib/cache/AddManagedPathsPlugin.js\");\n\t\tnew AddManagedPathsPlugin(\n\t\t\toptions.snapshot.managedPaths,\n\t\t\toptions.snapshot.immutablePaths\n\t\t).apply(compiler);\n\n\t\tif (options.cache && typeof options.cache === \"object\") {\n\t\t\tconst cacheOptions = options.cache;\n\t\t\tswitch (cacheOptions.type) {\n\t\t\t\tcase \"memory\": {\n\t\t\t\t\tif (isFinite(cacheOptions.maxGenerations)) {\n\t\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\t\tconst MemoryWithGcCachePlugin = __webpack_require__(/*! ./cache/MemoryWithGcCachePlugin */ \"./node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js\");\n\t\t\t\t\t\tnew MemoryWithGcCachePlugin({\n\t\t\t\t\t\t\tmaxGenerations: cacheOptions.maxGenerations\n\t\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\t\tconst MemoryCachePlugin = __webpack_require__(/*! ./cache/MemoryCachePlugin */ \"./node_modules/webpack/lib/cache/MemoryCachePlugin.js\");\n\t\t\t\t\t\tnew MemoryCachePlugin().apply(compiler);\n\t\t\t\t\t}\n\t\t\t\t\tif (cacheOptions.cacheUnaffected) {\n\t\t\t\t\t\tif (!options.experiments.cacheUnaffected) {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\"'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcompiler.moduleMemCaches = new Map();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"filesystem\": {\n\t\t\t\t\tconst AddBuildDependenciesPlugin = __webpack_require__(/*! ./cache/AddBuildDependenciesPlugin */ \"./node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js\");\n\t\t\t\t\tfor (const key in cacheOptions.buildDependencies) {\n\t\t\t\t\t\tconst list = cacheOptions.buildDependencies[key];\n\t\t\t\t\t\tnew AddBuildDependenciesPlugin(list).apply(compiler);\n\t\t\t\t\t}\n\t\t\t\t\tif (!isFinite(cacheOptions.maxMemoryGenerations)) {\n\t\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\t\tconst MemoryCachePlugin = __webpack_require__(/*! ./cache/MemoryCachePlugin */ \"./node_modules/webpack/lib/cache/MemoryCachePlugin.js\");\n\t\t\t\t\t\tnew MemoryCachePlugin().apply(compiler);\n\t\t\t\t\t} else if (cacheOptions.maxMemoryGenerations !== 0) {\n\t\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\t\tconst MemoryWithGcCachePlugin = __webpack_require__(/*! ./cache/MemoryWithGcCachePlugin */ \"./node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js\");\n\t\t\t\t\t\tnew MemoryWithGcCachePlugin({\n\t\t\t\t\t\t\tmaxGenerations: cacheOptions.maxMemoryGenerations\n\t\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\t}\n\t\t\t\t\tif (cacheOptions.memoryCacheUnaffected) {\n\t\t\t\t\t\tif (!options.experiments.cacheUnaffected) {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\"'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcompiler.moduleMemCaches = new Map();\n\t\t\t\t\t}\n\t\t\t\t\tswitch (cacheOptions.store) {\n\t\t\t\t\t\tcase \"pack\": {\n\t\t\t\t\t\t\tconst IdleFileCachePlugin = __webpack_require__(/*! ./cache/IdleFileCachePlugin */ \"./node_modules/webpack/lib/cache/IdleFileCachePlugin.js\");\n\t\t\t\t\t\t\tconst PackFileCacheStrategy = __webpack_require__(/*! ./cache/PackFileCacheStrategy */ \"./node_modules/webpack/lib/cache/PackFileCacheStrategy.js\");\n\t\t\t\t\t\t\tnew IdleFileCachePlugin(\n\t\t\t\t\t\t\t\tnew PackFileCacheStrategy({\n\t\t\t\t\t\t\t\t\tcompiler,\n\t\t\t\t\t\t\t\t\tfs: compiler.intermediateFileSystem,\n\t\t\t\t\t\t\t\t\tcontext: options.context,\n\t\t\t\t\t\t\t\t\tcacheLocation: cacheOptions.cacheLocation,\n\t\t\t\t\t\t\t\t\tversion: cacheOptions.version,\n\t\t\t\t\t\t\t\t\tlogger: compiler.getInfrastructureLogger(\n\t\t\t\t\t\t\t\t\t\t\"webpack.cache.PackFileCacheStrategy\"\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tsnapshot: options.snapshot,\n\t\t\t\t\t\t\t\t\tmaxAge: cacheOptions.maxAge,\n\t\t\t\t\t\t\t\t\tprofile: cacheOptions.profile,\n\t\t\t\t\t\t\t\t\tallowCollectingMemory: cacheOptions.allowCollectingMemory,\n\t\t\t\t\t\t\t\t\tcompression: cacheOptions.compression\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\tcacheOptions.idleTimeout,\n\t\t\t\t\t\t\t\tcacheOptions.idleTimeoutForInitialStore,\n\t\t\t\t\t\t\t\tcacheOptions.idleTimeoutAfterLargeChanges\n\t\t\t\t\t\t\t).apply(compiler);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tthrow new Error(\"Unhandled value for cache.store\");\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\t// @ts-expect-error Property 'type' does not exist on type 'never'. ts(2339)\n\t\t\t\t\tthrow new Error(`Unknown cache type ${cacheOptions.type}`);\n\t\t\t}\n\t\t}\n\t\tnew ResolverCachePlugin().apply(compiler);\n\n\t\tif (options.ignoreWarnings && options.ignoreWarnings.length > 0) {\n\t\t\tconst IgnoreWarningsPlugin = __webpack_require__(/*! ./IgnoreWarningsPlugin */ \"./node_modules/webpack/lib/IgnoreWarningsPlugin.js\");\n\t\t\tnew IgnoreWarningsPlugin(options.ignoreWarnings).apply(compiler);\n\t\t}\n\n\t\tcompiler.hooks.afterPlugins.call(compiler);\n\t\tif (!compiler.inputFileSystem) {\n\t\t\tthrow new Error(\"No input filesystem provided\");\n\t\t}\n\t\tcompiler.resolverFactory.hooks.resolveOptions\n\t\t\t.for(\"normal\")\n\t\t\t.tap(\"WebpackOptionsApply\", resolveOptions => {\n\t\t\t\tresolveOptions = cleverMerge(options.resolve, resolveOptions);\n\t\t\t\tresolveOptions.fileSystem = compiler.inputFileSystem;\n\t\t\t\treturn resolveOptions;\n\t\t\t});\n\t\tcompiler.resolverFactory.hooks.resolveOptions\n\t\t\t.for(\"context\")\n\t\t\t.tap(\"WebpackOptionsApply\", resolveOptions => {\n\t\t\t\tresolveOptions = cleverMerge(options.resolve, resolveOptions);\n\t\t\t\tresolveOptions.fileSystem = compiler.inputFileSystem;\n\t\t\t\tresolveOptions.resolveToContext = true;\n\t\t\t\treturn resolveOptions;\n\t\t\t});\n\t\tcompiler.resolverFactory.hooks.resolveOptions\n\t\t\t.for(\"loader\")\n\t\t\t.tap(\"WebpackOptionsApply\", resolveOptions => {\n\t\t\t\tresolveOptions = cleverMerge(options.resolveLoader, resolveOptions);\n\t\t\t\tresolveOptions.fileSystem = compiler.inputFileSystem;\n\t\t\t\treturn resolveOptions;\n\t\t\t});\n\t\tcompiler.hooks.afterResolvers.call(compiler);\n\t\treturn options;\n\t}\n}\n\nmodule.exports = WebpackOptionsApply;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WebpackOptionsApply.js?"); /***/ }), /***/ "./node_modules/webpack/lib/WebpackOptionsDefaulter.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/WebpackOptionsDefaulter.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { applyWebpackOptionsDefaults } = __webpack_require__(/*! ./config/defaults */ \"./node_modules/webpack/lib/config/defaults.js\");\nconst { getNormalizedWebpackOptions } = __webpack_require__(/*! ./config/normalization */ \"./node_modules/webpack/lib/config/normalization.js\");\n\nclass WebpackOptionsDefaulter {\n\tprocess(options) {\n\t\toptions = getNormalizedWebpackOptions(options);\n\t\tapplyWebpackOptionsDefaults(options);\n\t\treturn options;\n\t}\n}\n\nmodule.exports = WebpackOptionsDefaulter;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/WebpackOptionsDefaulter.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/AssetGenerator.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/asset/AssetGenerator.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst mimeTypes = __webpack_require__(/*! mime-types */ \"./node_modules/mime-types/index.js\");\nconst path = __webpack_require__(/*! path */ \"?e3a4\");\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ConcatenationScope = __webpack_require__(/*! ../ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { makePathsRelative } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst nonNumericOnlyHash = __webpack_require__(/*! ../util/nonNumericOnlyHash */ \"./node_modules/webpack/lib/util/nonNumericOnlyHash.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").AssetGeneratorOptions} AssetGeneratorOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").AssetModuleOutputPath} AssetModuleOutputPath */\n/** @typedef {import(\"../../declarations/WebpackOptions\").RawPublicPath} RawPublicPath */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Generator\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nconst mergeMaybeArrays = (a, b) => {\n\tconst set = new Set();\n\tif (Array.isArray(a)) for (const item of a) set.add(item);\n\telse set.add(a);\n\tif (Array.isArray(b)) for (const item of b) set.add(item);\n\telse set.add(b);\n\treturn Array.from(set);\n};\n\nconst mergeAssetInfo = (a, b) => {\n\tconst result = { ...a, ...b };\n\tfor (const key of Object.keys(a)) {\n\t\tif (key in b) {\n\t\t\tif (a[key] === b[key]) continue;\n\t\t\tswitch (key) {\n\t\t\t\tcase \"fullhash\":\n\t\t\t\tcase \"chunkhash\":\n\t\t\t\tcase \"modulehash\":\n\t\t\t\tcase \"contenthash\":\n\t\t\t\t\tresult[key] = mergeMaybeArrays(a[key], b[key]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"immutable\":\n\t\t\t\tcase \"development\":\n\t\t\t\tcase \"hotModuleReplacement\":\n\t\t\t\tcase \"javascriptModule\":\n\t\t\t\t\tresult[key] = a[key] || b[key];\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"related\":\n\t\t\t\t\tresult[key] = mergeRelatedInfo(a[key], b[key]);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Can't handle conflicting asset info for ${key}`);\n\t\t\t}\n\t\t}\n\t}\n\treturn result;\n};\n\nconst mergeRelatedInfo = (a, b) => {\n\tconst result = { ...a, ...b };\n\tfor (const key of Object.keys(a)) {\n\t\tif (key in b) {\n\t\t\tif (a[key] === b[key]) continue;\n\t\t\tresult[key] = mergeMaybeArrays(a[key], b[key]);\n\t\t}\n\t}\n\treturn result;\n};\n\nconst encodeDataUri = (encoding, source) => {\n\tlet encodedContent;\n\n\tswitch (encoding) {\n\t\tcase \"base64\": {\n\t\t\tencodedContent = source.buffer().toString(\"base64\");\n\t\t\tbreak;\n\t\t}\n\t\tcase false: {\n\t\t\tconst content = source.source();\n\n\t\t\tif (typeof content !== \"string\") {\n\t\t\t\tencodedContent = content.toString(\"utf-8\");\n\t\t\t}\n\n\t\t\tencodedContent = encodeURIComponent(encodedContent).replace(\n\t\t\t\t/[!'()*]/g,\n\t\t\t\tcharacter => \"%\" + character.codePointAt(0).toString(16)\n\t\t\t);\n\t\t\tbreak;\n\t\t}\n\t\tdefault:\n\t\t\tthrow new Error(`Unsupported encoding '${encoding}'`);\n\t}\n\n\treturn encodedContent;\n};\n\nconst decodeDataUriContent = (encoding, content) => {\n\tconst isBase64 = encoding === \"base64\";\n\treturn isBase64\n\t\t? Buffer.from(content, \"base64\")\n\t\t: Buffer.from(decodeURIComponent(content), \"ascii\");\n};\n\nconst JS_TYPES = new Set([\"javascript\"]);\nconst JS_AND_ASSET_TYPES = new Set([\"javascript\", \"asset\"]);\nconst DEFAULT_ENCODING = \"base64\";\n\nclass AssetGenerator extends Generator {\n\t/**\n\t * @param {AssetGeneratorOptions[\"dataUrl\"]=} dataUrlOptions the options for the data url\n\t * @param {string=} filename override for output.assetModuleFilename\n\t * @param {RawPublicPath=} publicPath override for output.assetModulePublicPath\n\t * @param {AssetModuleOutputPath=} outputPath the output path for the emitted file which is not included in the runtime import\n\t * @param {boolean=} emit generate output asset\n\t */\n\tconstructor(dataUrlOptions, filename, publicPath, outputPath, emit) {\n\t\tsuper();\n\t\tthis.dataUrlOptions = dataUrlOptions;\n\t\tthis.filename = filename;\n\t\tthis.publicPath = publicPath;\n\t\tthis.outputPath = outputPath;\n\t\tthis.emit = emit;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module\n\t * @param {RuntimeTemplate} runtimeTemplate runtime template\n\t * @returns {string} source file name\n\t */\n\tgetSourceFileName(module, runtimeTemplate) {\n\t\treturn makePathsRelative(\n\t\t\truntimeTemplate.compilation.compiler.context,\n\t\t\tmodule.matchResource || module.resource,\n\t\t\truntimeTemplate.compilation.compiler.root\n\t\t).replace(/^\\.\\//, \"\");\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the bailout reason should be determined\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(module, context) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module\n\t * @returns {string} mime type\n\t */\n\tgetMimeType(module) {\n\t\tif (typeof this.dataUrlOptions === \"function\") {\n\t\t\tthrow new Error(\n\t\t\t\t\"This method must not be called when dataUrlOptions is a function\"\n\t\t\t);\n\t\t}\n\n\t\tlet mimeType = this.dataUrlOptions.mimetype;\n\t\tif (mimeType === undefined) {\n\t\t\tconst ext = path.extname(module.nameForCondition());\n\t\t\tif (\n\t\t\t\tmodule.resourceResolveData &&\n\t\t\t\tmodule.resourceResolveData.mimetype !== undefined\n\t\t\t) {\n\t\t\t\tmimeType =\n\t\t\t\t\tmodule.resourceResolveData.mimetype +\n\t\t\t\t\tmodule.resourceResolveData.parameters;\n\t\t\t} else if (ext) {\n\t\t\t\tmimeType = mimeTypes.lookup(ext);\n\n\t\t\t\tif (typeof mimeType !== \"string\") {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"DataUrl can't be generated automatically, \" +\n\t\t\t\t\t\t\t`because there is no mimetype for \"${ext}\" in mimetype database. ` +\n\t\t\t\t\t\t\t'Either pass a mimetype via \"generator.mimetype\" or ' +\n\t\t\t\t\t\t\t'use type: \"asset/resource\" to create a resource file instead of a DataUrl'\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (typeof mimeType !== \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t\"DataUrl can't be generated automatically. \" +\n\t\t\t\t\t'Either pass a mimetype via \"generator.mimetype\" or ' +\n\t\t\t\t\t'use type: \"asset/resource\" to create a resource file instead of a DataUrl'\n\t\t\t);\n\t\t}\n\n\t\treturn mimeType;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(\n\t\tmodule,\n\t\t{\n\t\t\truntime,\n\t\t\tconcatenationScope,\n\t\t\tchunkGraph,\n\t\t\truntimeTemplate,\n\t\t\truntimeRequirements,\n\t\t\ttype,\n\t\t\tgetData\n\t\t}\n\t) {\n\t\tswitch (type) {\n\t\t\tcase \"asset\":\n\t\t\t\treturn module.originalSource();\n\t\t\tdefault: {\n\t\t\t\tlet content;\n\t\t\t\tconst originalSource = module.originalSource();\n\t\t\t\tif (module.buildInfo.dataUrl) {\n\t\t\t\t\tlet encodedSource;\n\t\t\t\t\tif (typeof this.dataUrlOptions === \"function\") {\n\t\t\t\t\t\tencodedSource = this.dataUrlOptions.call(\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\toriginalSource.source(),\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfilename: module.matchResource || module.resource,\n\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t/** @type {string | false | undefined} */\n\t\t\t\t\t\tlet encoding = this.dataUrlOptions.encoding;\n\t\t\t\t\t\tif (encoding === undefined) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tmodule.resourceResolveData &&\n\t\t\t\t\t\t\t\tmodule.resourceResolveData.encoding !== undefined\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tencoding = module.resourceResolveData.encoding;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (encoding === undefined) {\n\t\t\t\t\t\t\tencoding = DEFAULT_ENCODING;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst mimeType = this.getMimeType(module);\n\n\t\t\t\t\t\tlet encodedContent;\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tmodule.resourceResolveData &&\n\t\t\t\t\t\t\tmodule.resourceResolveData.encoding === encoding &&\n\t\t\t\t\t\t\tdecodeDataUriContent(\n\t\t\t\t\t\t\t\tmodule.resourceResolveData.encoding,\n\t\t\t\t\t\t\t\tmodule.resourceResolveData.encodedContent\n\t\t\t\t\t\t\t).equals(originalSource.buffer())\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tencodedContent = module.resourceResolveData.encodedContent;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tencodedContent = encodeDataUri(encoding, originalSource);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tencodedSource = `data:${mimeType}${\n\t\t\t\t\t\t\tencoding ? `;${encoding}` : \"\"\n\t\t\t\t\t\t},${encodedContent}`;\n\t\t\t\t\t}\n\t\t\t\t\tconst data = getData();\n\t\t\t\t\tdata.set(\"url\", Buffer.from(encodedSource));\n\t\t\t\t\tcontent = JSON.stringify(encodedSource);\n\t\t\t\t} else {\n\t\t\t\t\tconst assetModuleFilename =\n\t\t\t\t\t\tthis.filename || runtimeTemplate.outputOptions.assetModuleFilename;\n\t\t\t\t\tconst hash = createHash(runtimeTemplate.outputOptions.hashFunction);\n\t\t\t\t\tif (runtimeTemplate.outputOptions.hashSalt) {\n\t\t\t\t\t\thash.update(runtimeTemplate.outputOptions.hashSalt);\n\t\t\t\t\t}\n\t\t\t\t\thash.update(originalSource.buffer());\n\t\t\t\t\tconst fullHash = /** @type {string} */ (\n\t\t\t\t\t\thash.digest(runtimeTemplate.outputOptions.hashDigest)\n\t\t\t\t\t);\n\t\t\t\t\tconst contentHash = nonNumericOnlyHash(\n\t\t\t\t\t\tfullHash,\n\t\t\t\t\t\truntimeTemplate.outputOptions.hashDigestLength\n\t\t\t\t\t);\n\t\t\t\t\tmodule.buildInfo.fullContentHash = fullHash;\n\t\t\t\t\tconst sourceFilename = this.getSourceFileName(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\truntimeTemplate\n\t\t\t\t\t);\n\t\t\t\t\tlet { path: filename, info: assetInfo } =\n\t\t\t\t\t\truntimeTemplate.compilation.getAssetPathWithInfo(\n\t\t\t\t\t\t\tassetModuleFilename,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\tfilename: sourceFilename,\n\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\tcontentHash\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tlet assetPath;\n\t\t\t\t\tif (this.publicPath !== undefined) {\n\t\t\t\t\t\tconst { path, info } =\n\t\t\t\t\t\t\truntimeTemplate.compilation.getAssetPathWithInfo(\n\t\t\t\t\t\t\t\tthis.publicPath,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\tfilename: sourceFilename,\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\tcontentHash\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tassetInfo = mergeAssetInfo(assetInfo, info);\n\t\t\t\t\t\tassetPath = JSON.stringify(path + filename);\n\t\t\t\t\t} else {\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.publicPath); // add __webpack_require__.p\n\t\t\t\t\t\tassetPath = runtimeTemplate.concatenation(\n\t\t\t\t\t\t\t{ expr: RuntimeGlobals.publicPath },\n\t\t\t\t\t\t\tfilename\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tassetInfo = {\n\t\t\t\t\t\tsourceFilename,\n\t\t\t\t\t\t...assetInfo\n\t\t\t\t\t};\n\t\t\t\t\tif (this.outputPath) {\n\t\t\t\t\t\tconst { path: outputPath, info } =\n\t\t\t\t\t\t\truntimeTemplate.compilation.getAssetPathWithInfo(\n\t\t\t\t\t\t\t\tthis.outputPath,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\tfilename: sourceFilename,\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\tcontentHash\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tassetInfo = mergeAssetInfo(assetInfo, info);\n\t\t\t\t\t\tfilename = path.posix.join(outputPath, filename);\n\t\t\t\t\t}\n\t\t\t\t\tmodule.buildInfo.filename = filename;\n\t\t\t\t\tmodule.buildInfo.assetInfo = assetInfo;\n\t\t\t\t\tif (getData) {\n\t\t\t\t\t\t// Due to code generation caching module.buildInfo.XXX can't used to store such information\n\t\t\t\t\t\t// It need to be stored in the code generation results instead, where it's cached too\n\t\t\t\t\t\t// TODO webpack 6 For back-compat reasons we also store in on module.buildInfo\n\t\t\t\t\t\tconst data = getData();\n\t\t\t\t\t\tdata.set(\"fullContentHash\", fullHash);\n\t\t\t\t\t\tdata.set(\"filename\", filename);\n\t\t\t\t\t\tdata.set(\"assetInfo\", assetInfo);\n\t\t\t\t\t}\n\t\t\t\t\tcontent = assetPath;\n\t\t\t\t}\n\n\t\t\t\tif (concatenationScope) {\n\t\t\t\t\tconcatenationScope.registerNamespaceExport(\n\t\t\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t\t\t);\n\t\t\t\t\treturn new RawSource(\n\t\t\t\t\t\t`${runtimeTemplate.supportsConst() ? \"const\" : \"var\"} ${\n\t\t\t\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t\t\t\t} = ${content};`\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\t\t\treturn new RawSource(\n\t\t\t\t\t\t`${RuntimeGlobals.module}.exports = ${content};`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\tif ((module.buildInfo && module.buildInfo.dataUrl) || this.emit === false) {\n\t\t\treturn JS_TYPES;\n\t\t} else {\n\t\t\treturn JS_AND_ASSET_TYPES;\n\t\t}\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tswitch (type) {\n\t\t\tcase \"asset\": {\n\t\t\t\tconst originalSource = module.originalSource();\n\n\t\t\t\tif (!originalSource) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn originalSource.size();\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\tif (module.buildInfo && module.buildInfo.dataUrl) {\n\t\t\t\t\tconst originalSource = module.originalSource();\n\n\t\t\t\t\tif (!originalSource) {\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t// roughly for data url\n\t\t\t\t\t// Example: m.exports=\"data:image/png;base64,ag82/f+2==\"\n\t\t\t\t\t// 4/3 = base64 encoding\n\t\t\t\t\t// 34 = ~ data url header + footer + rounding\n\t\t\t\t\treturn originalSource.size() * 1.34 + 36;\n\t\t\t\t} else {\n\t\t\t\t\t// it's only estimated so this number is probably fine\n\t\t\t\t\t// Example: m.exports=r.p+\"0123456789012345678901.ext\"\n\t\t\t\t\treturn 42;\n\t\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {Hash} hash hash that will be modified\n\t * @param {UpdateHashContext} updateHashContext context for updating hash\n\t */\n\tupdateHash(hash, { module, runtime, runtimeTemplate, chunkGraph }) {\n\t\tif (module.buildInfo.dataUrl) {\n\t\t\thash.update(\"data-url\");\n\t\t\t// this.dataUrlOptions as function should be pure and only depend on input source and filename\n\t\t\t// therefore it doesn't need to be hashed\n\t\t\tif (typeof this.dataUrlOptions === \"function\") {\n\t\t\t\tconst ident = /** @type {{ ident?: string }} */ (this.dataUrlOptions)\n\t\t\t\t\t.ident;\n\t\t\t\tif (ident) hash.update(ident);\n\t\t\t} else {\n\t\t\t\tif (\n\t\t\t\t\tthis.dataUrlOptions.encoding &&\n\t\t\t\t\tthis.dataUrlOptions.encoding !== DEFAULT_ENCODING\n\t\t\t\t) {\n\t\t\t\t\thash.update(this.dataUrlOptions.encoding);\n\t\t\t\t}\n\t\t\t\tif (this.dataUrlOptions.mimetype)\n\t\t\t\t\thash.update(this.dataUrlOptions.mimetype);\n\t\t\t\t// computed mimetype depends only on module filename which is already part of the hash\n\t\t\t}\n\t\t} else {\n\t\t\thash.update(\"resource\");\n\n\t\t\tconst pathData = {\n\t\t\t\tmodule,\n\t\t\t\truntime,\n\t\t\t\tfilename: this.getSourceFileName(module, runtimeTemplate),\n\t\t\t\tchunkGraph,\n\t\t\t\tcontentHash: runtimeTemplate.contentHashReplacement\n\t\t\t};\n\n\t\t\tif (typeof this.publicPath === \"function\") {\n\t\t\t\thash.update(\"path\");\n\t\t\t\tconst assetInfo = {};\n\t\t\t\thash.update(this.publicPath(pathData, assetInfo));\n\t\t\t\thash.update(JSON.stringify(assetInfo));\n\t\t\t} else if (this.publicPath) {\n\t\t\t\thash.update(\"path\");\n\t\t\t\thash.update(this.publicPath);\n\t\t\t} else {\n\t\t\t\thash.update(\"no-path\");\n\t\t\t}\n\n\t\t\tconst assetModuleFilename =\n\t\t\t\tthis.filename || runtimeTemplate.outputOptions.assetModuleFilename;\n\t\t\tconst { path: filename, info } =\n\t\t\t\truntimeTemplate.compilation.getAssetPathWithInfo(\n\t\t\t\t\tassetModuleFilename,\n\t\t\t\t\tpathData\n\t\t\t\t);\n\t\t\thash.update(filename);\n\t\t\thash.update(JSON.stringify(info));\n\t\t}\n\t}\n}\n\nmodule.exports = AssetGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/AssetGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/AssetModulesPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/asset/AssetModulesPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Yuta Hiroto @hiroppy\n*/\n\n\n\nconst { cleverMerge } = __webpack_require__(/*! ../util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nconst getSchema = name => {\n\tconst { definitions } = __webpack_require__(/*! ../../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\n\treturn {\n\t\tdefinitions,\n\t\toneOf: [{ $ref: `#/definitions/${name}` }]\n\t};\n};\n\nconst generatorValidationOptions = {\n\tname: \"Asset Modules Plugin\",\n\tbaseDataPath: \"generator\"\n};\nconst validateGeneratorOptions = {\n\tasset: createSchemaValidation(\n\t\t__webpack_require__(/*! ../../schemas/plugins/asset/AssetGeneratorOptions.check.js */ \"./node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js\"),\n\t\t() => getSchema(\"AssetGeneratorOptions\"),\n\t\tgeneratorValidationOptions\n\t),\n\t\"asset/resource\": createSchemaValidation(\n\t\t__webpack_require__(/*! ../../schemas/plugins/asset/AssetResourceGeneratorOptions.check.js */ \"./node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js\"),\n\t\t() => getSchema(\"AssetResourceGeneratorOptions\"),\n\t\tgeneratorValidationOptions\n\t),\n\t\"asset/inline\": createSchemaValidation(\n\t\t__webpack_require__(/*! ../../schemas/plugins/asset/AssetInlineGeneratorOptions.check.js */ \"./node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js\"),\n\t\t() => getSchema(\"AssetInlineGeneratorOptions\"),\n\t\tgeneratorValidationOptions\n\t)\n};\n\nconst validateParserOptions = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/asset/AssetParserOptions.check.js */ \"./node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js\"),\n\t() => getSchema(\"AssetParserOptions\"),\n\t{\n\t\tname: \"Asset Modules Plugin\",\n\t\tbaseDataPath: \"parser\"\n\t}\n);\n\nconst getAssetGenerator = memoize(() => __webpack_require__(/*! ./AssetGenerator */ \"./node_modules/webpack/lib/asset/AssetGenerator.js\"));\nconst getAssetParser = memoize(() => __webpack_require__(/*! ./AssetParser */ \"./node_modules/webpack/lib/asset/AssetParser.js\"));\nconst getAssetSourceParser = memoize(() => __webpack_require__(/*! ./AssetSourceParser */ \"./node_modules/webpack/lib/asset/AssetSourceParser.js\"));\nconst getAssetSourceGenerator = memoize(() =>\n\t__webpack_require__(/*! ./AssetSourceGenerator */ \"./node_modules/webpack/lib/asset/AssetSourceGenerator.js\")\n);\n\nconst type = \"asset\";\nconst plugin = \"AssetModulesPlugin\";\n\nclass AssetModulesPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\tplugin,\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"asset\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tvalidateParserOptions(parserOptions);\n\t\t\t\t\t\tparserOptions = cleverMerge(\n\t\t\t\t\t\t\tcompiler.options.module.parser.asset,\n\t\t\t\t\t\t\tparserOptions\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tlet dataUrlCondition = parserOptions.dataUrlCondition;\n\t\t\t\t\t\tif (!dataUrlCondition || typeof dataUrlCondition === \"object\") {\n\t\t\t\t\t\t\tdataUrlCondition = {\n\t\t\t\t\t\t\t\tmaxSize: 8096,\n\t\t\t\t\t\t\t\t...dataUrlCondition\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst AssetParser = getAssetParser();\n\n\t\t\t\t\t\treturn new AssetParser(dataUrlCondition);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"asset/inline\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tconst AssetParser = getAssetParser();\n\n\t\t\t\t\t\treturn new AssetParser(true);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"asset/resource\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tconst AssetParser = getAssetParser();\n\n\t\t\t\t\t\treturn new AssetParser(false);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"asset/source\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tconst AssetSourceParser = getAssetSourceParser();\n\n\t\t\t\t\t\treturn new AssetSourceParser();\n\t\t\t\t\t});\n\n\t\t\t\tfor (const type of [\"asset\", \"asset/inline\", \"asset/resource\"]) {\n\t\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t\t.for(type)\n\t\t\t\t\t\t.tap(plugin, generatorOptions => {\n\t\t\t\t\t\t\tvalidateGeneratorOptions[type](generatorOptions);\n\n\t\t\t\t\t\t\tlet dataUrl = undefined;\n\t\t\t\t\t\t\tif (type !== \"asset/resource\") {\n\t\t\t\t\t\t\t\tdataUrl = generatorOptions.dataUrl;\n\t\t\t\t\t\t\t\tif (!dataUrl || typeof dataUrl === \"object\") {\n\t\t\t\t\t\t\t\t\tdataUrl = {\n\t\t\t\t\t\t\t\t\t\tencoding: undefined,\n\t\t\t\t\t\t\t\t\t\tmimetype: undefined,\n\t\t\t\t\t\t\t\t\t\t...dataUrl\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tlet filename = undefined;\n\t\t\t\t\t\t\tlet publicPath = undefined;\n\t\t\t\t\t\t\tlet outputPath = undefined;\n\t\t\t\t\t\t\tif (type !== \"asset/inline\") {\n\t\t\t\t\t\t\t\tfilename = generatorOptions.filename;\n\t\t\t\t\t\t\t\tpublicPath = generatorOptions.publicPath;\n\t\t\t\t\t\t\t\toutputPath = generatorOptions.outputPath;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst AssetGenerator = getAssetGenerator();\n\n\t\t\t\t\t\t\treturn new AssetGenerator(\n\t\t\t\t\t\t\t\tdataUrl,\n\t\t\t\t\t\t\t\tfilename,\n\t\t\t\t\t\t\t\tpublicPath,\n\t\t\t\t\t\t\t\toutputPath,\n\t\t\t\t\t\t\t\tgeneratorOptions.emit !== false\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"asset/source\")\n\t\t\t\t\t.tap(plugin, () => {\n\t\t\t\t\t\tconst AssetSourceGenerator = getAssetSourceGenerator();\n\n\t\t\t\t\t\treturn new AssetSourceGenerator();\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.renderManifest.tap(plugin, (result, options) => {\n\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\tconst { chunk, codeGenerationResults } = options;\n\n\t\t\t\t\tconst modules = chunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\"asset\",\n\t\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t\t);\n\t\t\t\t\tif (modules) {\n\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tconst codeGenResult = codeGenerationResults.get(\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tresult.push({\n\t\t\t\t\t\t\t\t\trender: () => codeGenResult.sources.get(type),\n\t\t\t\t\t\t\t\t\tfilename:\n\t\t\t\t\t\t\t\t\t\tmodule.buildInfo.filename ||\n\t\t\t\t\t\t\t\t\t\tcodeGenResult.data.get(\"filename\"),\n\t\t\t\t\t\t\t\t\tinfo:\n\t\t\t\t\t\t\t\t\t\tmodule.buildInfo.assetInfo ||\n\t\t\t\t\t\t\t\t\t\tcodeGenResult.data.get(\"assetInfo\"),\n\t\t\t\t\t\t\t\t\tauxiliary: true,\n\t\t\t\t\t\t\t\t\tidentifier: `assetModule${chunkGraph.getModuleId(module)}`,\n\t\t\t\t\t\t\t\t\thash:\n\t\t\t\t\t\t\t\t\t\tmodule.buildInfo.fullContentHash ||\n\t\t\t\t\t\t\t\t\t\tcodeGenResult.data.get(\"fullContentHash\")\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\te.message += `\\nduring rendering of asset ${module.identifier()}`;\n\t\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn result;\n\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.prepareModuleExecution.tap(\n\t\t\t\t\t\"AssetModulesPlugin\",\n\t\t\t\t\t(options, context) => {\n\t\t\t\t\t\tconst { codeGenerationResult } = options;\n\t\t\t\t\t\tconst source = codeGenerationResult.sources.get(\"asset\");\n\t\t\t\t\t\tif (source === undefined) return;\n\t\t\t\t\t\tcontext.assets.set(codeGenerationResult.data.get(\"filename\"), {\n\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\tinfo: codeGenerationResult.data.get(\"assetInfo\")\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = AssetModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/AssetModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/AssetParser.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/asset/AssetParser.js ***! \*******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Yuta Hiroto @hiroppy\n*/\n\n\n\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").AssetParserOptions} AssetParserOptions */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nclass AssetParser extends Parser {\n\t/**\n\t * @param {AssetParserOptions[\"dataUrlCondition\"] | boolean} dataUrlCondition condition for inlining as DataUrl\n\t */\n\tconstructor(dataUrlCondition) {\n\t\tsuper();\n\t\tthis.dataUrlCondition = dataUrlCondition;\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (typeof source === \"object\" && !Buffer.isBuffer(source)) {\n\t\t\tthrow new Error(\"AssetParser doesn't accept preparsed AST\");\n\t\t}\n\t\tstate.module.buildInfo.strict = true;\n\t\tstate.module.buildMeta.exportsType = \"default\";\n\t\tstate.module.buildMeta.defaultObject = false;\n\n\t\tif (typeof this.dataUrlCondition === \"function\") {\n\t\t\tstate.module.buildInfo.dataUrl = this.dataUrlCondition(source, {\n\t\t\t\tfilename: state.module.matchResource || state.module.resource,\n\t\t\t\tmodule: state.module\n\t\t\t});\n\t\t} else if (typeof this.dataUrlCondition === \"boolean\") {\n\t\t\tstate.module.buildInfo.dataUrl = this.dataUrlCondition;\n\t\t} else if (\n\t\t\tthis.dataUrlCondition &&\n\t\t\ttypeof this.dataUrlCondition === \"object\"\n\t\t) {\n\t\t\tstate.module.buildInfo.dataUrl =\n\t\t\t\tBuffer.byteLength(source) <= this.dataUrlCondition.maxSize;\n\t\t} else {\n\t\t\tthrow new Error(\"Unexpected dataUrlCondition type\");\n\t\t}\n\n\t\treturn state;\n\t}\n}\n\nmodule.exports = AssetParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/AssetParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/AssetSourceGenerator.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/asset/AssetSourceGenerator.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ConcatenationScope = __webpack_require__(/*! ../ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass AssetSourceGenerator extends Generator {\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(\n\t\tmodule,\n\t\t{ concatenationScope, chunkGraph, runtimeTemplate, runtimeRequirements }\n\t) {\n\t\tconst originalSource = module.originalSource();\n\n\t\tif (!originalSource) {\n\t\t\treturn new RawSource(\"\");\n\t\t}\n\n\t\tconst content = originalSource.source();\n\n\t\tlet encodedSource;\n\t\tif (typeof content === \"string\") {\n\t\t\tencodedSource = content;\n\t\t} else {\n\t\t\tencodedSource = content.toString(\"utf-8\");\n\t\t}\n\n\t\tlet sourceContent;\n\t\tif (concatenationScope) {\n\t\t\tconcatenationScope.registerNamespaceExport(\n\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t);\n\t\t\tsourceContent = `${runtimeTemplate.supportsConst() ? \"const\" : \"var\"} ${\n\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t} = ${JSON.stringify(encodedSource)};`;\n\t\t} else {\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\tsourceContent = `${RuntimeGlobals.module}.exports = ${JSON.stringify(\n\t\t\t\tencodedSource\n\t\t\t)};`;\n\t\t}\n\t\treturn new RawSource(sourceContent);\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the bailout reason should be determined\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(module, context) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst originalSource = module.originalSource();\n\n\t\tif (!originalSource) {\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Example: m.exports=\"abcd\"\n\t\treturn originalSource.size() + 12;\n\t}\n}\n\nmodule.exports = AssetSourceGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/AssetSourceGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/AssetSourceParser.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/asset/AssetSourceParser.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Yuta Hiroto @hiroppy\n*/\n\n\n\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\n\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nclass AssetSourceParser extends Parser {\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (typeof source === \"object\" && !Buffer.isBuffer(source)) {\n\t\t\tthrow new Error(\"AssetSourceParser doesn't accept preparsed AST\");\n\t\t}\n\t\tconst { module } = state;\n\t\tmodule.buildInfo.strict = true;\n\t\tmodule.buildMeta.exportsType = \"default\";\n\t\tstate.module.buildMeta.defaultObject = false;\n\n\t\treturn state;\n\t}\n}\n\nmodule.exports = AssetSourceParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/AssetSourceParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/asset/RawDataUrlModule.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/asset/RawDataUrlModule.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass RawDataUrlModule extends Module {\n\t/**\n\t * @param {string} url raw url\n\t * @param {string} identifier unique identifier\n\t * @param {string=} readableIdentifier readable identifier\n\t */\n\tconstructor(url, identifier, readableIdentifier) {\n\t\tsuper(\"asset/raw-data-url\", null);\n\t\tthis.url = url;\n\t\tthis.urlBuffer = url ? Buffer.from(url) : undefined;\n\t\tthis.identifierStr = identifier || this.url;\n\t\tthis.readableIdentifierStr = readableIdentifier || this.identifierStr;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this.identifierStr;\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\tif (this.url === undefined) this.url = this.urlBuffer.toString();\n\t\treturn Math.max(1, this.url.length);\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn requestShortener.shorten(this.readableIdentifierStr);\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tcacheable: true\n\t\t};\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration(context) {\n\t\tif (this.url === undefined) this.url = this.urlBuffer.toString();\n\t\tconst sources = new Map();\n\t\tsources.set(\n\t\t\t\"javascript\",\n\t\t\tnew RawSource(`module.exports = ${JSON.stringify(this.url)};`)\n\t\t);\n\t\tconst data = new Map();\n\t\tdata.set(\"url\", this.urlBuffer);\n\t\tconst runtimeRequirements = new Set();\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\treturn { sources, runtimeRequirements, data };\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(this.urlBuffer);\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.urlBuffer);\n\t\twrite(this.identifierStr);\n\t\twrite(this.readableIdentifierStr);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.urlBuffer = read();\n\t\tthis.identifierStr = read();\n\t\tthis.readableIdentifierStr = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(RawDataUrlModule, \"webpack/lib/asset/RawDataUrlModule\");\n\nmodule.exports = RawDataUrlModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/asset/RawDataUrlModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n\n/**\n * @typedef {GenerateContext} Context\n */\nclass AwaitDependenciesInitFragment extends InitFragment {\n\t/**\n\t * @param {Set<string>} promises the promises that should be awaited\n\t */\n\tconstructor(promises) {\n\t\tsuper(\n\t\t\tundefined,\n\t\t\tInitFragment.STAGE_ASYNC_DEPENDENCIES,\n\t\t\t0,\n\t\t\t\"await-dependencies\"\n\t\t);\n\t\tthis.promises = promises;\n\t}\n\n\tmerge(other) {\n\t\tconst promises = new Set(other.promises);\n\t\tfor (const p of this.promises) {\n\t\t\tpromises.add(p);\n\t\t}\n\t\treturn new AwaitDependenciesInitFragment(promises);\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source} the source code that will be included as initialization code\n\t */\n\tgetContent({ runtimeRequirements }) {\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\tconst promises = this.promises;\n\t\tif (promises.size === 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\tif (promises.size === 1) {\n\t\t\tfor (const p of promises) {\n\t\t\t\treturn Template.asString([\n\t\t\t\t\t`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${p}]);`,\n\t\t\t\t\t`${p} = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];`,\n\t\t\t\t\t\"\"\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\t\tconst sepPromises = Array.from(promises).join(\", \");\n\t\t// TODO check if destructuring is supported\n\t\treturn Template.asString([\n\t\t\t`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${sepPromises}]);`,\n\t\t\t`([${sepPromises}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);`,\n\t\t\t\"\"\n\t\t]);\n\t}\n}\n\nmodule.exports = AwaitDependenciesInitFragment;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js?"); /***/ }), /***/ "./node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst HarmonyImportDependency = __webpack_require__(/*! ../dependencies/HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass InferAsyncModulesPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"InferAsyncModulesPlugin\", compilation => {\n\t\t\tconst { moduleGraph } = compilation;\n\t\t\tcompilation.hooks.finishModules.tap(\n\t\t\t\t\"InferAsyncModulesPlugin\",\n\t\t\t\tmodules => {\n\t\t\t\t\t/** @type {Set<Module>} */\n\t\t\t\t\tconst queue = new Set();\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tif (module.buildMeta && module.buildMeta.async) {\n\t\t\t\t\t\t\tqueue.add(module);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const module of queue) {\n\t\t\t\t\t\tmoduleGraph.setAsync(module);\n\t\t\t\t\t\tfor (const [\n\t\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\t\tconnections\n\t\t\t\t\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(module)) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tconnections.some(\n\t\t\t\t\t\t\t\t\tc =>\n\t\t\t\t\t\t\t\t\t\tc.dependency instanceof HarmonyImportDependency &&\n\t\t\t\t\t\t\t\t\t\tc.isTargetActive(undefined)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tqueue.add(originModule);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = InferAsyncModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/buildChunkGraph.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/buildChunkGraph.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst AsyncDependencyToInitialChunkError = __webpack_require__(/*! ./AsyncDependencyToInitialChunkError */ \"./node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js\");\nconst { connectChunkGroupParentAndChild } = __webpack_require__(/*! ./GraphHelpers */ \"./node_modules/webpack/lib/GraphHelpers.js\");\nconst ModuleGraphConnection = __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\nconst { getEntryRuntime, mergeRuntime } = __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"./AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"./Chunk\")} Chunk */\n/** @typedef {import(\"./ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"./Compilation\")} Compilation */\n/** @typedef {import(\"./DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"./Dependency\")} Dependency */\n/** @typedef {import(\"./Entrypoint\")} Entrypoint */\n/** @typedef {import(\"./Module\")} Module */\n/** @typedef {import(\"./ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"./ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"./logging/Logger\").Logger} Logger */\n/** @typedef {import(\"./util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} QueueItem\n * @property {number} action\n * @property {DependenciesBlock} block\n * @property {Module} module\n * @property {Chunk} chunk\n * @property {ChunkGroup} chunkGroup\n * @property {ChunkGroupInfo} chunkGroupInfo\n */\n\n/** @typedef {Set<Module> & { plus: Set<Module> }} ModuleSetPlus */\n\n/**\n * @typedef {Object} ChunkGroupInfo\n * @property {ChunkGroup} chunkGroup the chunk group\n * @property {RuntimeSpec} runtime the runtimes\n * @property {ModuleSetPlus} minAvailableModules current minimal set of modules available at this point\n * @property {boolean} minAvailableModulesOwned true, if minAvailableModules is owned and can be modified\n * @property {ModuleSetPlus[]} availableModulesToBeMerged enqueued updates to the minimal set of available modules\n * @property {Set<Module>=} skippedItems modules that were skipped because module is already available in parent chunks (need to reconsider when minAvailableModules is shrinking)\n * @property {Set<[Module, ConnectionState]>=} skippedModuleConnections referenced modules that where skipped because they were not active in this runtime\n * @property {ModuleSetPlus} resultingAvailableModules set of modules available including modules from this chunk group\n * @property {Set<ChunkGroupInfo>} children set of children chunk groups, that will be revisited when availableModules shrink\n * @property {Set<ChunkGroupInfo>} availableSources set of chunk groups that are the source for minAvailableModules\n * @property {Set<ChunkGroupInfo>} availableChildren set of chunk groups which depend on the this chunk group as availableSource\n * @property {number} preOrderIndex next pre order index\n * @property {number} postOrderIndex next post order index\n * @property {boolean} chunkLoading has a chunk loading mechanism\n * @property {boolean} asyncChunks create async chunks\n */\n\n/**\n * @typedef {Object} BlockChunkGroupConnection\n * @property {ChunkGroupInfo} originChunkGroupInfo origin chunk group\n * @property {ChunkGroup} chunkGroup referenced chunk group\n */\n\nconst EMPTY_SET = /** @type {ModuleSetPlus} */ (new Set());\nEMPTY_SET.plus = EMPTY_SET;\n\n/**\n * @param {ModuleSetPlus} a first set\n * @param {ModuleSetPlus} b second set\n * @returns {number} cmp\n */\nconst bySetSize = (a, b) => {\n\treturn b.size + b.plus.size - a.size - a.plus.size;\n};\n\nconst extractBlockModules = (module, moduleGraph, runtime, blockModulesMap) => {\n\tlet blockCache;\n\tlet modules;\n\n\tconst arrays = [];\n\n\tconst queue = [module];\n\twhile (queue.length > 0) {\n\t\tconst block = queue.pop();\n\t\tconst arr = [];\n\t\tarrays.push(arr);\n\t\tblockModulesMap.set(block, arr);\n\t\tfor (const b of block.blocks) {\n\t\t\tqueue.push(b);\n\t\t}\n\t}\n\n\tfor (const connection of moduleGraph.getOutgoingConnections(module)) {\n\t\tconst d = connection.dependency;\n\t\t// We skip connections without dependency\n\t\tif (!d) continue;\n\t\tconst m = connection.module;\n\t\t// We skip connections without Module pointer\n\t\tif (!m) continue;\n\t\t// We skip weak connections\n\t\tif (connection.weak) continue;\n\t\tconst state = connection.getActiveState(runtime);\n\t\t// We skip inactive connections\n\t\tif (state === false) continue;\n\n\t\tconst block = moduleGraph.getParentBlock(d);\n\t\tlet index = moduleGraph.getParentBlockIndex(d);\n\n\t\t// deprecated fallback\n\t\tif (index < 0) {\n\t\t\tindex = block.dependencies.indexOf(d);\n\t\t}\n\n\t\tif (blockCache !== block) {\n\t\t\tmodules = blockModulesMap.get((blockCache = block));\n\t\t}\n\n\t\tconst i = index << 2;\n\t\tmodules[i] = m;\n\t\tmodules[i + 1] = state;\n\t}\n\n\tfor (const modules of arrays) {\n\t\tif (modules.length === 0) continue;\n\t\tlet indexMap;\n\t\tlet length = 0;\n\t\touter: for (let j = 0; j < modules.length; j += 2) {\n\t\t\tconst m = modules[j];\n\t\t\tif (m === undefined) continue;\n\t\t\tconst state = modules[j + 1];\n\t\t\tif (indexMap === undefined) {\n\t\t\t\tlet i = 0;\n\t\t\t\tfor (; i < length; i += 2) {\n\t\t\t\t\tif (modules[i] === m) {\n\t\t\t\t\t\tconst merged = modules[i + 1];\n\t\t\t\t\t\tif (merged === true) continue outer;\n\t\t\t\t\t\tmodules[i + 1] = ModuleGraphConnection.addConnectionStates(\n\t\t\t\t\t\t\tmerged,\n\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmodules[length] = m;\n\t\t\t\tlength++;\n\t\t\t\tmodules[length] = state;\n\t\t\t\tlength++;\n\t\t\t\tif (length > 30) {\n\t\t\t\t\t// To avoid worse case performance, we will use an index map for\n\t\t\t\t\t// linear cost access, which allows to maintain O(n) complexity\n\t\t\t\t\t// while keeping allocations down to a minimum\n\t\t\t\t\tindexMap = new Map();\n\t\t\t\t\tfor (let i = 0; i < length; i += 2) {\n\t\t\t\t\t\tindexMap.set(modules[i], i + 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst idx = indexMap.get(m);\n\t\t\t\tif (idx !== undefined) {\n\t\t\t\t\tconst merged = modules[idx];\n\t\t\t\t\tif (merged === true) continue outer;\n\t\t\t\t\tmodules[idx] = ModuleGraphConnection.addConnectionStates(\n\t\t\t\t\t\tmerged,\n\t\t\t\t\t\tstate\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tmodules[length] = m;\n\t\t\t\t\tlength++;\n\t\t\t\t\tmodules[length] = state;\n\t\t\t\t\tindexMap.set(m, length);\n\t\t\t\t\tlength++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmodules.length = length;\n\t}\n};\n\n/**\n *\n * @param {Logger} logger a logger\n * @param {Compilation} compilation the compilation\n * @param {Map<Entrypoint, Module[]>} inputEntrypointsAndModules chunk groups which are processed with the modules\n * @param {Map<ChunkGroup, ChunkGroupInfo>} chunkGroupInfoMap mapping from chunk group to available modules\n * @param {Map<AsyncDependenciesBlock, BlockChunkGroupConnection[]>} blockConnections connection for blocks\n * @param {Set<DependenciesBlock>} blocksWithNestedBlocks flag for blocks that have nested blocks\n * @param {Set<ChunkGroup>} allCreatedChunkGroups filled with all chunk groups that are created here\n */\nconst visitModules = (\n\tlogger,\n\tcompilation,\n\tinputEntrypointsAndModules,\n\tchunkGroupInfoMap,\n\tblockConnections,\n\tblocksWithNestedBlocks,\n\tallCreatedChunkGroups\n) => {\n\tconst { moduleGraph, chunkGraph, moduleMemCaches } = compilation;\n\n\tconst blockModulesRuntimeMap = new Map();\n\n\t/** @type {RuntimeSpec | false} */\n\tlet blockModulesMapRuntime = false;\n\tlet blockModulesMap;\n\n\t/**\n\t *\n\t * @param {DependenciesBlock} block block\n\t * @param {RuntimeSpec} runtime runtime\n\t * @returns {(Module | ConnectionState)[]} block modules in flatten tuples\n\t */\n\tconst getBlockModules = (block, runtime) => {\n\t\tif (blockModulesMapRuntime !== runtime) {\n\t\t\tblockModulesMap = blockModulesRuntimeMap.get(runtime);\n\t\t\tif (blockModulesMap === undefined) {\n\t\t\t\tblockModulesMap = new Map();\n\t\t\t\tblockModulesRuntimeMap.set(runtime, blockModulesMap);\n\t\t\t}\n\t\t}\n\t\tlet blockModules = blockModulesMap.get(block);\n\t\tif (blockModules !== undefined) return blockModules;\n\t\tconst module = /** @type {Module} */ (block.getRootBlock());\n\t\tconst memCache = moduleMemCaches && moduleMemCaches.get(module);\n\t\tif (memCache !== undefined) {\n\t\t\tconst map = memCache.provide(\n\t\t\t\t\"bundleChunkGraph.blockModules\",\n\t\t\t\truntime,\n\t\t\t\t() => {\n\t\t\t\t\tlogger.time(\"visitModules: prepare\");\n\t\t\t\t\tconst map = new Map();\n\t\t\t\t\textractBlockModules(module, moduleGraph, runtime, map);\n\t\t\t\t\tlogger.timeAggregate(\"visitModules: prepare\");\n\t\t\t\t\treturn map;\n\t\t\t\t}\n\t\t\t);\n\t\t\tfor (const [block, blockModules] of map)\n\t\t\t\tblockModulesMap.set(block, blockModules);\n\t\t\treturn map.get(block);\n\t\t} else {\n\t\t\tlogger.time(\"visitModules: prepare\");\n\t\t\textractBlockModules(module, moduleGraph, runtime, blockModulesMap);\n\t\t\tblockModules = blockModulesMap.get(block);\n\t\t\tlogger.timeAggregate(\"visitModules: prepare\");\n\t\t\treturn blockModules;\n\t\t}\n\t};\n\n\tlet statProcessedQueueItems = 0;\n\tlet statProcessedBlocks = 0;\n\tlet statConnectedChunkGroups = 0;\n\tlet statProcessedChunkGroupsForMerging = 0;\n\tlet statMergedAvailableModuleSets = 0;\n\tlet statForkedAvailableModules = 0;\n\tlet statForkedAvailableModulesCount = 0;\n\tlet statForkedAvailableModulesCountPlus = 0;\n\tlet statForkedMergedModulesCount = 0;\n\tlet statForkedMergedModulesCountPlus = 0;\n\tlet statForkedResultModulesCount = 0;\n\tlet statChunkGroupInfoUpdated = 0;\n\tlet statChildChunkGroupsReconnected = 0;\n\n\tlet nextChunkGroupIndex = 0;\n\tlet nextFreeModulePreOrderIndex = 0;\n\tlet nextFreeModulePostOrderIndex = 0;\n\n\t/** @type {Map<DependenciesBlock, ChunkGroupInfo>} */\n\tconst blockChunkGroups = new Map();\n\n\t/** @type {Map<string, ChunkGroupInfo>} */\n\tconst namedChunkGroups = new Map();\n\n\t/** @type {Map<string, ChunkGroupInfo>} */\n\tconst namedAsyncEntrypoints = new Map();\n\n\tconst ADD_AND_ENTER_ENTRY_MODULE = 0;\n\tconst ADD_AND_ENTER_MODULE = 1;\n\tconst ENTER_MODULE = 2;\n\tconst PROCESS_BLOCK = 3;\n\tconst PROCESS_ENTRY_BLOCK = 4;\n\tconst LEAVE_MODULE = 5;\n\n\t/** @type {QueueItem[]} */\n\tlet queue = [];\n\n\t/** @type {Map<ChunkGroupInfo, Set<ChunkGroupInfo>>} */\n\tconst queueConnect = new Map();\n\t/** @type {Set<ChunkGroupInfo>} */\n\tconst chunkGroupsForCombining = new Set();\n\n\t// Fill queue with entrypoint modules\n\t// Create ChunkGroupInfo for entrypoints\n\tfor (const [chunkGroup, modules] of inputEntrypointsAndModules) {\n\t\tconst runtime = getEntryRuntime(\n\t\t\tcompilation,\n\t\t\tchunkGroup.name,\n\t\t\tchunkGroup.options\n\t\t);\n\t\t/** @type {ChunkGroupInfo} */\n\t\tconst chunkGroupInfo = {\n\t\t\tchunkGroup,\n\t\t\truntime,\n\t\t\tminAvailableModules: undefined,\n\t\t\tminAvailableModulesOwned: false,\n\t\t\tavailableModulesToBeMerged: [],\n\t\t\tskippedItems: undefined,\n\t\t\tresultingAvailableModules: undefined,\n\t\t\tchildren: undefined,\n\t\t\tavailableSources: undefined,\n\t\t\tavailableChildren: undefined,\n\t\t\tpreOrderIndex: 0,\n\t\t\tpostOrderIndex: 0,\n\t\t\tchunkLoading:\n\t\t\t\tchunkGroup.options.chunkLoading !== undefined\n\t\t\t\t\t? chunkGroup.options.chunkLoading !== false\n\t\t\t\t\t: compilation.outputOptions.chunkLoading !== false,\n\t\t\tasyncChunks:\n\t\t\t\tchunkGroup.options.asyncChunks !== undefined\n\t\t\t\t\t? chunkGroup.options.asyncChunks\n\t\t\t\t\t: compilation.outputOptions.asyncChunks !== false\n\t\t};\n\t\tchunkGroup.index = nextChunkGroupIndex++;\n\t\tif (chunkGroup.getNumberOfParents() > 0) {\n\t\t\t// minAvailableModules for child entrypoints are unknown yet, set to undefined.\n\t\t\t// This means no module is added until other sets are merged into\n\t\t\t// this minAvailableModules (by the parent entrypoints)\n\t\t\tconst skippedItems = new Set();\n\t\t\tfor (const module of modules) {\n\t\t\t\tskippedItems.add(module);\n\t\t\t}\n\t\t\tchunkGroupInfo.skippedItems = skippedItems;\n\t\t\tchunkGroupsForCombining.add(chunkGroupInfo);\n\t\t} else {\n\t\t\t// The application may start here: We start with an empty list of available modules\n\t\t\tchunkGroupInfo.minAvailableModules = EMPTY_SET;\n\t\t\tconst chunk = chunkGroup.getEntrypointChunk();\n\t\t\tfor (const module of modules) {\n\t\t\t\tqueue.push({\n\t\t\t\t\taction: ADD_AND_ENTER_MODULE,\n\t\t\t\t\tblock: module,\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunk,\n\t\t\t\t\tchunkGroup,\n\t\t\t\t\tchunkGroupInfo\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tchunkGroupInfoMap.set(chunkGroup, chunkGroupInfo);\n\t\tif (chunkGroup.name) {\n\t\t\tnamedChunkGroups.set(chunkGroup.name, chunkGroupInfo);\n\t\t}\n\t}\n\t// Fill availableSources with parent-child dependencies between entrypoints\n\tfor (const chunkGroupInfo of chunkGroupsForCombining) {\n\t\tconst { chunkGroup } = chunkGroupInfo;\n\t\tchunkGroupInfo.availableSources = new Set();\n\t\tfor (const parent of chunkGroup.parentsIterable) {\n\t\t\tconst parentChunkGroupInfo = chunkGroupInfoMap.get(parent);\n\t\t\tchunkGroupInfo.availableSources.add(parentChunkGroupInfo);\n\t\t\tif (parentChunkGroupInfo.availableChildren === undefined) {\n\t\t\t\tparentChunkGroupInfo.availableChildren = new Set();\n\t\t\t}\n\t\t\tparentChunkGroupInfo.availableChildren.add(chunkGroupInfo);\n\t\t}\n\t}\n\t// pop() is used to read from the queue\n\t// so it need to be reversed to be iterated in\n\t// correct order\n\tqueue.reverse();\n\n\t/** @type {Set<ChunkGroupInfo>} */\n\tconst outdatedChunkGroupInfo = new Set();\n\t/** @type {Set<ChunkGroupInfo>} */\n\tconst chunkGroupsForMerging = new Set();\n\t/** @type {QueueItem[]} */\n\tlet queueDelayed = [];\n\n\t/** @type {[Module, ConnectionState][]} */\n\tconst skipConnectionBuffer = [];\n\t/** @type {Module[]} */\n\tconst skipBuffer = [];\n\t/** @type {QueueItem[]} */\n\tconst queueBuffer = [];\n\n\t/** @type {Module} */\n\tlet module;\n\t/** @type {Chunk} */\n\tlet chunk;\n\t/** @type {ChunkGroup} */\n\tlet chunkGroup;\n\t/** @type {DependenciesBlock} */\n\tlet block;\n\t/** @type {ChunkGroupInfo} */\n\tlet chunkGroupInfo;\n\n\t// For each async Block in graph\n\t/**\n\t * @param {AsyncDependenciesBlock} b iterating over each Async DepBlock\n\t * @returns {void}\n\t */\n\tconst iteratorBlock = b => {\n\t\t// 1. We create a chunk group with single chunk in it for this Block\n\t\t// but only once (blockChunkGroups map)\n\t\tlet cgi = blockChunkGroups.get(b);\n\t\t/** @type {ChunkGroup} */\n\t\tlet c;\n\t\t/** @type {Entrypoint} */\n\t\tlet entrypoint;\n\t\tconst entryOptions = b.groupOptions && b.groupOptions.entryOptions;\n\t\tif (cgi === undefined) {\n\t\t\tconst chunkName = (b.groupOptions && b.groupOptions.name) || b.chunkName;\n\t\t\tif (entryOptions) {\n\t\t\t\tcgi = namedAsyncEntrypoints.get(chunkName);\n\t\t\t\tif (!cgi) {\n\t\t\t\t\tentrypoint = compilation.addAsyncEntrypoint(\n\t\t\t\t\t\tentryOptions,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tb.loc,\n\t\t\t\t\t\tb.request\n\t\t\t\t\t);\n\t\t\t\t\tentrypoint.index = nextChunkGroupIndex++;\n\t\t\t\t\tcgi = {\n\t\t\t\t\t\tchunkGroup: entrypoint,\n\t\t\t\t\t\truntime: entrypoint.options.runtime || entrypoint.name,\n\t\t\t\t\t\tminAvailableModules: EMPTY_SET,\n\t\t\t\t\t\tminAvailableModulesOwned: false,\n\t\t\t\t\t\tavailableModulesToBeMerged: [],\n\t\t\t\t\t\tskippedItems: undefined,\n\t\t\t\t\t\tresultingAvailableModules: undefined,\n\t\t\t\t\t\tchildren: undefined,\n\t\t\t\t\t\tavailableSources: undefined,\n\t\t\t\t\t\tavailableChildren: undefined,\n\t\t\t\t\t\tpreOrderIndex: 0,\n\t\t\t\t\t\tpostOrderIndex: 0,\n\t\t\t\t\t\tchunkLoading:\n\t\t\t\t\t\t\tentryOptions.chunkLoading !== undefined\n\t\t\t\t\t\t\t\t? entryOptions.chunkLoading !== false\n\t\t\t\t\t\t\t\t: chunkGroupInfo.chunkLoading,\n\t\t\t\t\t\tasyncChunks:\n\t\t\t\t\t\t\tentryOptions.asyncChunks !== undefined\n\t\t\t\t\t\t\t\t? entryOptions.asyncChunks\n\t\t\t\t\t\t\t\t: chunkGroupInfo.asyncChunks\n\t\t\t\t\t};\n\t\t\t\t\tchunkGroupInfoMap.set(entrypoint, cgi);\n\n\t\t\t\t\tchunkGraph.connectBlockAndChunkGroup(b, entrypoint);\n\t\t\t\t\tif (chunkName) {\n\t\t\t\t\t\tnamedAsyncEntrypoints.set(chunkName, cgi);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tentrypoint = /** @type {Entrypoint} */ (cgi.chunkGroup);\n\t\t\t\t\t// TODO merge entryOptions\n\t\t\t\t\tentrypoint.addOrigin(module, b.loc, b.request);\n\t\t\t\t\tchunkGraph.connectBlockAndChunkGroup(b, entrypoint);\n\t\t\t\t}\n\n\t\t\t\t// 2. We enqueue the DependenciesBlock for traversal\n\t\t\t\tqueueDelayed.push({\n\t\t\t\t\taction: PROCESS_ENTRY_BLOCK,\n\t\t\t\t\tblock: b,\n\t\t\t\t\tmodule: module,\n\t\t\t\t\tchunk: entrypoint.chunks[0],\n\t\t\t\t\tchunkGroup: entrypoint,\n\t\t\t\t\tchunkGroupInfo: cgi\n\t\t\t\t});\n\t\t\t} else if (!chunkGroupInfo.asyncChunks || !chunkGroupInfo.chunkLoading) {\n\t\t\t\t// Just queue the block into the current chunk group\n\t\t\t\tqueue.push({\n\t\t\t\t\taction: PROCESS_BLOCK,\n\t\t\t\t\tblock: b,\n\t\t\t\t\tmodule: module,\n\t\t\t\t\tchunk,\n\t\t\t\t\tchunkGroup,\n\t\t\t\t\tchunkGroupInfo\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tcgi = chunkName && namedChunkGroups.get(chunkName);\n\t\t\t\tif (!cgi) {\n\t\t\t\t\tc = compilation.addChunkInGroup(\n\t\t\t\t\t\tb.groupOptions || b.chunkName,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tb.loc,\n\t\t\t\t\t\tb.request\n\t\t\t\t\t);\n\t\t\t\t\tc.index = nextChunkGroupIndex++;\n\t\t\t\t\tcgi = {\n\t\t\t\t\t\tchunkGroup: c,\n\t\t\t\t\t\truntime: chunkGroupInfo.runtime,\n\t\t\t\t\t\tminAvailableModules: undefined,\n\t\t\t\t\t\tminAvailableModulesOwned: undefined,\n\t\t\t\t\t\tavailableModulesToBeMerged: [],\n\t\t\t\t\t\tskippedItems: undefined,\n\t\t\t\t\t\tresultingAvailableModules: undefined,\n\t\t\t\t\t\tchildren: undefined,\n\t\t\t\t\t\tavailableSources: undefined,\n\t\t\t\t\t\tavailableChildren: undefined,\n\t\t\t\t\t\tpreOrderIndex: 0,\n\t\t\t\t\t\tpostOrderIndex: 0,\n\t\t\t\t\t\tchunkLoading: chunkGroupInfo.chunkLoading,\n\t\t\t\t\t\tasyncChunks: chunkGroupInfo.asyncChunks\n\t\t\t\t\t};\n\t\t\t\t\tallCreatedChunkGroups.add(c);\n\t\t\t\t\tchunkGroupInfoMap.set(c, cgi);\n\t\t\t\t\tif (chunkName) {\n\t\t\t\t\t\tnamedChunkGroups.set(chunkName, cgi);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tc = cgi.chunkGroup;\n\t\t\t\t\tif (c.isInitial()) {\n\t\t\t\t\t\tcompilation.errors.push(\n\t\t\t\t\t\t\tnew AsyncDependencyToInitialChunkError(chunkName, module, b.loc)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tc = chunkGroup;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tc.addOptions(b.groupOptions);\n\t\t\t\t\t}\n\t\t\t\t\tc.addOrigin(module, b.loc, b.request);\n\t\t\t\t}\n\t\t\t\tblockConnections.set(b, []);\n\t\t\t}\n\t\t\tblockChunkGroups.set(b, cgi);\n\t\t} else if (entryOptions) {\n\t\t\tentrypoint = /** @type {Entrypoint} */ (cgi.chunkGroup);\n\t\t} else {\n\t\t\tc = cgi.chunkGroup;\n\t\t}\n\n\t\tif (c !== undefined) {\n\t\t\t// 2. We store the connection for the block\n\t\t\t// to connect it later if needed\n\t\t\tblockConnections.get(b).push({\n\t\t\t\toriginChunkGroupInfo: chunkGroupInfo,\n\t\t\t\tchunkGroup: c\n\t\t\t});\n\n\t\t\t// 3. We enqueue the chunk group info creation/updating\n\t\t\tlet connectList = queueConnect.get(chunkGroupInfo);\n\t\t\tif (connectList === undefined) {\n\t\t\t\tconnectList = new Set();\n\t\t\t\tqueueConnect.set(chunkGroupInfo, connectList);\n\t\t\t}\n\t\t\tconnectList.add(cgi);\n\n\t\t\t// TODO check if this really need to be done for each traversal\n\t\t\t// or if it is enough when it's queued when created\n\t\t\t// 4. We enqueue the DependenciesBlock for traversal\n\t\t\tqueueDelayed.push({\n\t\t\t\taction: PROCESS_BLOCK,\n\t\t\t\tblock: b,\n\t\t\t\tmodule: module,\n\t\t\t\tchunk: c.chunks[0],\n\t\t\t\tchunkGroup: c,\n\t\t\t\tchunkGroupInfo: cgi\n\t\t\t});\n\t\t} else if (entrypoint !== undefined) {\n\t\t\tchunkGroupInfo.chunkGroup.addAsyncEntrypoint(entrypoint);\n\t\t}\n\t};\n\n\t/**\n\t * @param {DependenciesBlock} block the block\n\t * @returns {void}\n\t */\n\tconst processBlock = block => {\n\t\tstatProcessedBlocks++;\n\t\t// get prepared block info\n\t\tconst blockModules = getBlockModules(block, chunkGroupInfo.runtime);\n\n\t\tif (blockModules !== undefined) {\n\t\t\tconst { minAvailableModules } = chunkGroupInfo;\n\t\t\t// Buffer items because order need to be reversed to get indices correct\n\t\t\t// Traverse all referenced modules\n\t\t\tfor (let i = 0; i < blockModules.length; i += 2) {\n\t\t\t\tconst refModule = /** @type {Module} */ (blockModules[i]);\n\t\t\t\tif (chunkGraph.isModuleInChunk(refModule, chunk)) {\n\t\t\t\t\t// skip early if already connected\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst activeState = /** @type {ConnectionState} */ (\n\t\t\t\t\tblockModules[i + 1]\n\t\t\t\t);\n\t\t\t\tif (activeState !== true) {\n\t\t\t\t\tskipConnectionBuffer.push([refModule, activeState]);\n\t\t\t\t\tif (activeState === false) continue;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tactiveState === true &&\n\t\t\t\t\t(minAvailableModules.has(refModule) ||\n\t\t\t\t\t\tminAvailableModules.plus.has(refModule))\n\t\t\t\t) {\n\t\t\t\t\t// already in parent chunks, skip it for now\n\t\t\t\t\tskipBuffer.push(refModule);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t// enqueue, then add and enter to be in the correct order\n\t\t\t\t// this is relevant with circular dependencies\n\t\t\t\tqueueBuffer.push({\n\t\t\t\t\taction: activeState === true ? ADD_AND_ENTER_MODULE : PROCESS_BLOCK,\n\t\t\t\t\tblock: refModule,\n\t\t\t\t\tmodule: refModule,\n\t\t\t\t\tchunk,\n\t\t\t\t\tchunkGroup,\n\t\t\t\t\tchunkGroupInfo\n\t\t\t\t});\n\t\t\t}\n\t\t\t// Add buffered items in reverse order\n\t\t\tif (skipConnectionBuffer.length > 0) {\n\t\t\t\tlet { skippedModuleConnections } = chunkGroupInfo;\n\t\t\t\tif (skippedModuleConnections === undefined) {\n\t\t\t\t\tchunkGroupInfo.skippedModuleConnections = skippedModuleConnections =\n\t\t\t\t\t\tnew Set();\n\t\t\t\t}\n\t\t\t\tfor (let i = skipConnectionBuffer.length - 1; i >= 0; i--) {\n\t\t\t\t\tskippedModuleConnections.add(skipConnectionBuffer[i]);\n\t\t\t\t}\n\t\t\t\tskipConnectionBuffer.length = 0;\n\t\t\t}\n\t\t\tif (skipBuffer.length > 0) {\n\t\t\t\tlet { skippedItems } = chunkGroupInfo;\n\t\t\t\tif (skippedItems === undefined) {\n\t\t\t\t\tchunkGroupInfo.skippedItems = skippedItems = new Set();\n\t\t\t\t}\n\t\t\t\tfor (let i = skipBuffer.length - 1; i >= 0; i--) {\n\t\t\t\t\tskippedItems.add(skipBuffer[i]);\n\t\t\t\t}\n\t\t\t\tskipBuffer.length = 0;\n\t\t\t}\n\t\t\tif (queueBuffer.length > 0) {\n\t\t\t\tfor (let i = queueBuffer.length - 1; i >= 0; i--) {\n\t\t\t\t\tqueue.push(queueBuffer[i]);\n\t\t\t\t}\n\t\t\t\tqueueBuffer.length = 0;\n\t\t\t}\n\t\t}\n\n\t\t// Traverse all Blocks\n\t\tfor (const b of block.blocks) {\n\t\t\titeratorBlock(b);\n\t\t}\n\n\t\tif (block.blocks.length > 0 && module !== block) {\n\t\t\tblocksWithNestedBlocks.add(block);\n\t\t}\n\t};\n\n\t/**\n\t * @param {DependenciesBlock} block the block\n\t * @returns {void}\n\t */\n\tconst processEntryBlock = block => {\n\t\tstatProcessedBlocks++;\n\t\t// get prepared block info\n\t\tconst blockModules = getBlockModules(block, chunkGroupInfo.runtime);\n\n\t\tif (blockModules !== undefined) {\n\t\t\t// Traverse all referenced modules\n\t\t\tfor (let i = 0; i < blockModules.length; i += 2) {\n\t\t\t\tconst refModule = /** @type {Module} */ (blockModules[i]);\n\t\t\t\tconst activeState = /** @type {ConnectionState} */ (\n\t\t\t\t\tblockModules[i + 1]\n\t\t\t\t);\n\t\t\t\t// enqueue, then add and enter to be in the correct order\n\t\t\t\t// this is relevant with circular dependencies\n\t\t\t\tqueueBuffer.push({\n\t\t\t\t\taction:\n\t\t\t\t\t\tactiveState === true ? ADD_AND_ENTER_ENTRY_MODULE : PROCESS_BLOCK,\n\t\t\t\t\tblock: refModule,\n\t\t\t\t\tmodule: refModule,\n\t\t\t\t\tchunk,\n\t\t\t\t\tchunkGroup,\n\t\t\t\t\tchunkGroupInfo\n\t\t\t\t});\n\t\t\t}\n\t\t\t// Add buffered items in reverse order\n\t\t\tif (queueBuffer.length > 0) {\n\t\t\t\tfor (let i = queueBuffer.length - 1; i >= 0; i--) {\n\t\t\t\t\tqueue.push(queueBuffer[i]);\n\t\t\t\t}\n\t\t\t\tqueueBuffer.length = 0;\n\t\t\t}\n\t\t}\n\n\t\t// Traverse all Blocks\n\t\tfor (const b of block.blocks) {\n\t\t\titeratorBlock(b);\n\t\t}\n\n\t\tif (block.blocks.length > 0 && module !== block) {\n\t\t\tblocksWithNestedBlocks.add(block);\n\t\t}\n\t};\n\n\tconst processQueue = () => {\n\t\twhile (queue.length) {\n\t\t\tstatProcessedQueueItems++;\n\t\t\tconst queueItem = queue.pop();\n\t\t\tmodule = queueItem.module;\n\t\t\tblock = queueItem.block;\n\t\t\tchunk = queueItem.chunk;\n\t\t\tchunkGroup = queueItem.chunkGroup;\n\t\t\tchunkGroupInfo = queueItem.chunkGroupInfo;\n\n\t\t\tswitch (queueItem.action) {\n\t\t\t\tcase ADD_AND_ENTER_ENTRY_MODULE:\n\t\t\t\t\tchunkGraph.connectChunkAndEntryModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t/** @type {Entrypoint} */ (chunkGroup)\n\t\t\t\t\t);\n\t\t\t\t// fallthrough\n\t\t\t\tcase ADD_AND_ENTER_MODULE: {\n\t\t\t\t\tif (chunkGraph.isModuleInChunk(module, chunk)) {\n\t\t\t\t\t\t// already connected, skip it\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t// We connect Module and Chunk\n\t\t\t\t\tchunkGraph.connectChunkAndModule(chunk, module);\n\t\t\t\t}\n\t\t\t\t// fallthrough\n\t\t\t\tcase ENTER_MODULE: {\n\t\t\t\t\tconst index = chunkGroup.getModulePreOrderIndex(module);\n\t\t\t\t\tif (index === undefined) {\n\t\t\t\t\t\tchunkGroup.setModulePreOrderIndex(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tchunkGroupInfo.preOrderIndex++\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tmoduleGraph.setPreOrderIndexIfUnset(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tnextFreeModulePreOrderIndex\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tnextFreeModulePreOrderIndex++;\n\t\t\t\t\t}\n\n\t\t\t\t\t// reuse queueItem\n\t\t\t\t\tqueueItem.action = LEAVE_MODULE;\n\t\t\t\t\tqueue.push(queueItem);\n\t\t\t\t}\n\t\t\t\t// fallthrough\n\t\t\t\tcase PROCESS_BLOCK: {\n\t\t\t\t\tprocessBlock(block);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase PROCESS_ENTRY_BLOCK: {\n\t\t\t\t\tprocessEntryBlock(block);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase LEAVE_MODULE: {\n\t\t\t\t\tconst index = chunkGroup.getModulePostOrderIndex(module);\n\t\t\t\t\tif (index === undefined) {\n\t\t\t\t\t\tchunkGroup.setModulePostOrderIndex(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tchunkGroupInfo.postOrderIndex++\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tmoduleGraph.setPostOrderIndexIfUnset(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tnextFreeModulePostOrderIndex\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tnextFreeModulePostOrderIndex++;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconst calculateResultingAvailableModules = chunkGroupInfo => {\n\t\tif (chunkGroupInfo.resultingAvailableModules)\n\t\t\treturn chunkGroupInfo.resultingAvailableModules;\n\n\t\tconst minAvailableModules = chunkGroupInfo.minAvailableModules;\n\n\t\t// Create a new Set of available modules at this point\n\t\t// We want to be as lazy as possible. There are multiple ways doing this:\n\t\t// Note that resultingAvailableModules is stored as \"(a) + (b)\" as it's a ModuleSetPlus\n\t\t// - resultingAvailableModules = (modules of chunk) + (minAvailableModules + minAvailableModules.plus)\n\t\t// - resultingAvailableModules = (minAvailableModules + modules of chunk) + (minAvailableModules.plus)\n\t\t// We choose one depending on the size of minAvailableModules vs minAvailableModules.plus\n\n\t\tlet resultingAvailableModules;\n\t\tif (minAvailableModules.size > minAvailableModules.plus.size) {\n\t\t\t// resultingAvailableModules = (modules of chunk) + (minAvailableModules + minAvailableModules.plus)\n\t\t\tresultingAvailableModules =\n\t\t\t\t/** @type {Set<Module> & {plus: Set<Module>}} */ (new Set());\n\t\t\tfor (const module of minAvailableModules.plus)\n\t\t\t\tminAvailableModules.add(module);\n\t\t\tminAvailableModules.plus = EMPTY_SET;\n\t\t\tresultingAvailableModules.plus = minAvailableModules;\n\t\t\tchunkGroupInfo.minAvailableModulesOwned = false;\n\t\t} else {\n\t\t\t// resultingAvailableModules = (minAvailableModules + modules of chunk) + (minAvailableModules.plus)\n\t\t\tresultingAvailableModules =\n\t\t\t\t/** @type {Set<Module> & {plus: Set<Module>}} */ (\n\t\t\t\t\tnew Set(minAvailableModules)\n\t\t\t\t);\n\t\t\tresultingAvailableModules.plus = minAvailableModules.plus;\n\t\t}\n\n\t\t// add the modules from the chunk group to the set\n\t\tfor (const chunk of chunkGroupInfo.chunkGroup.chunks) {\n\t\t\tfor (const m of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\tresultingAvailableModules.add(m);\n\t\t\t}\n\t\t}\n\t\treturn (chunkGroupInfo.resultingAvailableModules =\n\t\t\tresultingAvailableModules);\n\t};\n\n\tconst processConnectQueue = () => {\n\t\t// Figure out new parents for chunk groups\n\t\t// to get new available modules for these children\n\t\tfor (const [chunkGroupInfo, targets] of queueConnect) {\n\t\t\t// 1. Add new targets to the list of children\n\t\t\tif (chunkGroupInfo.children === undefined) {\n\t\t\t\tchunkGroupInfo.children = targets;\n\t\t\t} else {\n\t\t\t\tfor (const target of targets) {\n\t\t\t\t\tchunkGroupInfo.children.add(target);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// 2. Calculate resulting available modules\n\t\t\tconst resultingAvailableModules =\n\t\t\t\tcalculateResultingAvailableModules(chunkGroupInfo);\n\n\t\t\tconst runtime = chunkGroupInfo.runtime;\n\n\t\t\t// 3. Update chunk group info\n\t\t\tfor (const target of targets) {\n\t\t\t\ttarget.availableModulesToBeMerged.push(resultingAvailableModules);\n\t\t\t\tchunkGroupsForMerging.add(target);\n\t\t\t\tconst oldRuntime = target.runtime;\n\t\t\t\tconst newRuntime = mergeRuntime(oldRuntime, runtime);\n\t\t\t\tif (oldRuntime !== newRuntime) {\n\t\t\t\t\ttarget.runtime = newRuntime;\n\t\t\t\t\toutdatedChunkGroupInfo.add(target);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstatConnectedChunkGroups += targets.size;\n\t\t}\n\t\tqueueConnect.clear();\n\t};\n\n\tconst processChunkGroupsForMerging = () => {\n\t\tstatProcessedChunkGroupsForMerging += chunkGroupsForMerging.size;\n\n\t\t// Execute the merge\n\t\tfor (const info of chunkGroupsForMerging) {\n\t\t\tconst availableModulesToBeMerged = info.availableModulesToBeMerged;\n\t\t\tlet cachedMinAvailableModules = info.minAvailableModules;\n\n\t\t\tstatMergedAvailableModuleSets += availableModulesToBeMerged.length;\n\n\t\t\t// 1. Get minimal available modules\n\t\t\t// It doesn't make sense to traverse a chunk again with more available modules.\n\t\t\t// This step calculates the minimal available modules and skips traversal when\n\t\t\t// the list didn't shrink.\n\t\t\tif (availableModulesToBeMerged.length > 1) {\n\t\t\t\tavailableModulesToBeMerged.sort(bySetSize);\n\t\t\t}\n\t\t\tlet changed = false;\n\t\t\tmerge: for (const availableModules of availableModulesToBeMerged) {\n\t\t\t\tif (cachedMinAvailableModules === undefined) {\n\t\t\t\t\tcachedMinAvailableModules = availableModules;\n\t\t\t\t\tinfo.minAvailableModules = cachedMinAvailableModules;\n\t\t\t\t\tinfo.minAvailableModulesOwned = false;\n\t\t\t\t\tchanged = true;\n\t\t\t\t} else {\n\t\t\t\t\tif (info.minAvailableModulesOwned) {\n\t\t\t\t\t\t// We own it and can modify it\n\t\t\t\t\t\tif (cachedMinAvailableModules.plus === availableModules.plus) {\n\t\t\t\t\t\t\tfor (const m of cachedMinAvailableModules) {\n\t\t\t\t\t\t\t\tif (!availableModules.has(m)) {\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.delete(m);\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfor (const m of cachedMinAvailableModules) {\n\t\t\t\t\t\t\t\tif (!availableModules.has(m) && !availableModules.plus.has(m)) {\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.delete(m);\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const m of cachedMinAvailableModules.plus) {\n\t\t\t\t\t\t\t\tif (!availableModules.has(m) && !availableModules.plus.has(m)) {\n\t\t\t\t\t\t\t\t\t// We can't remove modules from the plus part\n\t\t\t\t\t\t\t\t\t// so we need to merge plus into the normal part to allow modifying it\n\t\t\t\t\t\t\t\t\tconst iterator =\n\t\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.plus[Symbol.iterator]();\n\t\t\t\t\t\t\t\t\t// fast forward add all modules until m\n\t\t\t\t\t\t\t\t\t/** @type {IteratorResult<Module>} */\n\t\t\t\t\t\t\t\t\tlet it;\n\t\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\t\tif (module === m) break;\n\t\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.add(module);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// check the remaining modules before adding\n\t\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tavailableModules.has(module) ||\n\t\t\t\t\t\t\t\t\t\t\tavailableModules.plus.has(module)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.add(module);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.plus = EMPTY_SET;\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\tcontinue merge;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (cachedMinAvailableModules.plus === availableModules.plus) {\n\t\t\t\t\t\t// Common and fast case when the plus part is shared\n\t\t\t\t\t\t// We only need to care about the normal part\n\t\t\t\t\t\tif (availableModules.size < cachedMinAvailableModules.size) {\n\t\t\t\t\t\t\t// the new availableModules is smaller so it's faster to\n\t\t\t\t\t\t\t// fork from the new availableModules\n\t\t\t\t\t\t\tstatForkedAvailableModules++;\n\t\t\t\t\t\t\tstatForkedAvailableModulesCount += availableModules.size;\n\t\t\t\t\t\t\tstatForkedMergedModulesCount += cachedMinAvailableModules.size;\n\t\t\t\t\t\t\t// construct a new Set as intersection of cachedMinAvailableModules and availableModules\n\t\t\t\t\t\t\tconst newSet = /** @type {ModuleSetPlus} */ (new Set());\n\t\t\t\t\t\t\tnewSet.plus = availableModules.plus;\n\t\t\t\t\t\t\tfor (const m of availableModules) {\n\t\t\t\t\t\t\t\tif (cachedMinAvailableModules.has(m)) {\n\t\t\t\t\t\t\t\t\tnewSet.add(m);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstatForkedResultModulesCount += newSet.size;\n\t\t\t\t\t\t\tcachedMinAvailableModules = newSet;\n\t\t\t\t\t\t\tinfo.minAvailableModulesOwned = true;\n\t\t\t\t\t\t\tinfo.minAvailableModules = newSet;\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\tcontinue merge;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const m of cachedMinAvailableModules) {\n\t\t\t\t\t\t\tif (!availableModules.has(m)) {\n\t\t\t\t\t\t\t\t// cachedMinAvailableModules need to be modified\n\t\t\t\t\t\t\t\t// but we don't own it\n\t\t\t\t\t\t\t\tstatForkedAvailableModules++;\n\t\t\t\t\t\t\t\tstatForkedAvailableModulesCount +=\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.size;\n\t\t\t\t\t\t\t\tstatForkedMergedModulesCount += availableModules.size;\n\t\t\t\t\t\t\t\t// construct a new Set as intersection of cachedMinAvailableModules and availableModules\n\t\t\t\t\t\t\t\t// as the plus part is equal we can just take over this one\n\t\t\t\t\t\t\t\tconst newSet = /** @type {ModuleSetPlus} */ (new Set());\n\t\t\t\t\t\t\t\tnewSet.plus = availableModules.plus;\n\t\t\t\t\t\t\t\tconst iterator = cachedMinAvailableModules[Symbol.iterator]();\n\t\t\t\t\t\t\t\t// fast forward add all modules until m\n\t\t\t\t\t\t\t\t/** @type {IteratorResult<Module>} */\n\t\t\t\t\t\t\t\tlet it;\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (module === m) break;\n\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// check the remaining modules before adding\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (availableModules.has(module)) {\n\t\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstatForkedResultModulesCount += newSet.size;\n\t\t\t\t\t\t\t\tcachedMinAvailableModules = newSet;\n\t\t\t\t\t\t\t\tinfo.minAvailableModulesOwned = true;\n\t\t\t\t\t\t\t\tinfo.minAvailableModules = newSet;\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\tcontinue merge;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const m of cachedMinAvailableModules) {\n\t\t\t\t\t\t\tif (!availableModules.has(m) && !availableModules.plus.has(m)) {\n\t\t\t\t\t\t\t\t// cachedMinAvailableModules need to be modified\n\t\t\t\t\t\t\t\t// but we don't own it\n\t\t\t\t\t\t\t\tstatForkedAvailableModules++;\n\t\t\t\t\t\t\t\tstatForkedAvailableModulesCount +=\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.size;\n\t\t\t\t\t\t\t\tstatForkedAvailableModulesCountPlus +=\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.plus.size;\n\t\t\t\t\t\t\t\tstatForkedMergedModulesCount += availableModules.size;\n\t\t\t\t\t\t\t\tstatForkedMergedModulesCountPlus += availableModules.plus.size;\n\t\t\t\t\t\t\t\t// construct a new Set as intersection of cachedMinAvailableModules and availableModules\n\t\t\t\t\t\t\t\tconst newSet = /** @type {ModuleSetPlus} */ (new Set());\n\t\t\t\t\t\t\t\tnewSet.plus = EMPTY_SET;\n\t\t\t\t\t\t\t\tconst iterator = cachedMinAvailableModules[Symbol.iterator]();\n\t\t\t\t\t\t\t\t// fast forward add all modules until m\n\t\t\t\t\t\t\t\t/** @type {IteratorResult<Module>} */\n\t\t\t\t\t\t\t\tlet it;\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (module === m) break;\n\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// check the remaining modules before adding\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tavailableModules.has(module) ||\n\t\t\t\t\t\t\t\t\t\tavailableModules.plus.has(module)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// also check all modules in cachedMinAvailableModules.plus\n\t\t\t\t\t\t\t\tfor (const module of cachedMinAvailableModules.plus) {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tavailableModules.has(module) ||\n\t\t\t\t\t\t\t\t\t\tavailableModules.plus.has(module)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstatForkedResultModulesCount += newSet.size;\n\t\t\t\t\t\t\t\tcachedMinAvailableModules = newSet;\n\t\t\t\t\t\t\t\tinfo.minAvailableModulesOwned = true;\n\t\t\t\t\t\t\t\tinfo.minAvailableModules = newSet;\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\tcontinue merge;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const m of cachedMinAvailableModules.plus) {\n\t\t\t\t\t\t\tif (!availableModules.has(m) && !availableModules.plus.has(m)) {\n\t\t\t\t\t\t\t\t// cachedMinAvailableModules need to be modified\n\t\t\t\t\t\t\t\t// but we don't own it\n\t\t\t\t\t\t\t\tstatForkedAvailableModules++;\n\t\t\t\t\t\t\t\tstatForkedAvailableModulesCount +=\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.size;\n\t\t\t\t\t\t\t\tstatForkedAvailableModulesCountPlus +=\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.plus.size;\n\t\t\t\t\t\t\t\tstatForkedMergedModulesCount += availableModules.size;\n\t\t\t\t\t\t\t\tstatForkedMergedModulesCountPlus += availableModules.plus.size;\n\t\t\t\t\t\t\t\t// construct a new Set as intersection of cachedMinAvailableModules and availableModules\n\t\t\t\t\t\t\t\t// we already know that all modules directly from cachedMinAvailableModules are in availableModules too\n\t\t\t\t\t\t\t\tconst newSet = /** @type {ModuleSetPlus} */ (\n\t\t\t\t\t\t\t\t\tnew Set(cachedMinAvailableModules)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tnewSet.plus = EMPTY_SET;\n\t\t\t\t\t\t\t\tconst iterator =\n\t\t\t\t\t\t\t\t\tcachedMinAvailableModules.plus[Symbol.iterator]();\n\t\t\t\t\t\t\t\t// fast forward add all modules until m\n\t\t\t\t\t\t\t\t/** @type {IteratorResult<Module>} */\n\t\t\t\t\t\t\t\tlet it;\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (module === m) break;\n\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// check the remaining modules before adding\n\t\t\t\t\t\t\t\twhile (!(it = iterator.next()).done) {\n\t\t\t\t\t\t\t\t\tconst module = it.value;\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tavailableModules.has(module) ||\n\t\t\t\t\t\t\t\t\t\tavailableModules.plus.has(module)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tnewSet.add(module);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstatForkedResultModulesCount += newSet.size;\n\t\t\t\t\t\t\t\tcachedMinAvailableModules = newSet;\n\t\t\t\t\t\t\t\tinfo.minAvailableModulesOwned = true;\n\t\t\t\t\t\t\t\tinfo.minAvailableModules = newSet;\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\tcontinue merge;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tavailableModulesToBeMerged.length = 0;\n\t\t\tif (changed) {\n\t\t\t\tinfo.resultingAvailableModules = undefined;\n\t\t\t\toutdatedChunkGroupInfo.add(info);\n\t\t\t}\n\t\t}\n\t\tchunkGroupsForMerging.clear();\n\t};\n\n\tconst processChunkGroupsForCombining = () => {\n\t\tfor (const info of chunkGroupsForCombining) {\n\t\t\tfor (const source of info.availableSources) {\n\t\t\t\tif (!source.minAvailableModules) {\n\t\t\t\t\tchunkGroupsForCombining.delete(info);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (const info of chunkGroupsForCombining) {\n\t\t\tconst availableModules = /** @type {ModuleSetPlus} */ (new Set());\n\t\t\tavailableModules.plus = EMPTY_SET;\n\t\t\tconst mergeSet = set => {\n\t\t\t\tif (set.size > availableModules.plus.size) {\n\t\t\t\t\tfor (const item of availableModules.plus) availableModules.add(item);\n\t\t\t\t\tavailableModules.plus = set;\n\t\t\t\t} else {\n\t\t\t\t\tfor (const item of set) availableModules.add(item);\n\t\t\t\t}\n\t\t\t};\n\t\t\t// combine minAvailableModules from all resultingAvailableModules\n\t\t\tfor (const source of info.availableSources) {\n\t\t\t\tconst resultingAvailableModules =\n\t\t\t\t\tcalculateResultingAvailableModules(source);\n\t\t\t\tmergeSet(resultingAvailableModules);\n\t\t\t\tmergeSet(resultingAvailableModules.plus);\n\t\t\t}\n\t\t\tinfo.minAvailableModules = availableModules;\n\t\t\tinfo.minAvailableModulesOwned = false;\n\t\t\tinfo.resultingAvailableModules = undefined;\n\t\t\toutdatedChunkGroupInfo.add(info);\n\t\t}\n\t\tchunkGroupsForCombining.clear();\n\t};\n\n\tconst processOutdatedChunkGroupInfo = () => {\n\t\tstatChunkGroupInfoUpdated += outdatedChunkGroupInfo.size;\n\t\t// Revisit skipped elements\n\t\tfor (const info of outdatedChunkGroupInfo) {\n\t\t\t// 1. Reconsider skipped items\n\t\t\tif (info.skippedItems !== undefined) {\n\t\t\t\tconst { minAvailableModules } = info;\n\t\t\t\tfor (const module of info.skippedItems) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t!minAvailableModules.has(module) &&\n\t\t\t\t\t\t!minAvailableModules.plus.has(module)\n\t\t\t\t\t) {\n\t\t\t\t\t\tqueue.push({\n\t\t\t\t\t\t\taction: ADD_AND_ENTER_MODULE,\n\t\t\t\t\t\t\tblock: module,\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tchunk: info.chunkGroup.chunks[0],\n\t\t\t\t\t\t\tchunkGroup: info.chunkGroup,\n\t\t\t\t\t\t\tchunkGroupInfo: info\n\t\t\t\t\t\t});\n\t\t\t\t\t\tinfo.skippedItems.delete(module);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// 2. Reconsider skipped connections\n\t\t\tif (info.skippedModuleConnections !== undefined) {\n\t\t\t\tconst { minAvailableModules } = info;\n\t\t\t\tfor (const entry of info.skippedModuleConnections) {\n\t\t\t\t\tconst [module, activeState] = entry;\n\t\t\t\t\tif (activeState === false) continue;\n\t\t\t\t\tif (activeState === true) {\n\t\t\t\t\t\tinfo.skippedModuleConnections.delete(entry);\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\tactiveState === true &&\n\t\t\t\t\t\t(minAvailableModules.has(module) ||\n\t\t\t\t\t\t\tminAvailableModules.plus.has(module))\n\t\t\t\t\t) {\n\t\t\t\t\t\tinfo.skippedItems.add(module);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tqueue.push({\n\t\t\t\t\t\taction: activeState === true ? ADD_AND_ENTER_MODULE : PROCESS_BLOCK,\n\t\t\t\t\t\tblock: module,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunk: info.chunkGroup.chunks[0],\n\t\t\t\t\t\tchunkGroup: info.chunkGroup,\n\t\t\t\t\t\tchunkGroupInfo: info\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// 2. Reconsider children chunk groups\n\t\t\tif (info.children !== undefined) {\n\t\t\t\tstatChildChunkGroupsReconnected += info.children.size;\n\t\t\t\tfor (const cgi of info.children) {\n\t\t\t\t\tlet connectList = queueConnect.get(info);\n\t\t\t\t\tif (connectList === undefined) {\n\t\t\t\t\t\tconnectList = new Set();\n\t\t\t\t\t\tqueueConnect.set(info, connectList);\n\t\t\t\t\t}\n\t\t\t\t\tconnectList.add(cgi);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// 3. Reconsider chunk groups for combining\n\t\t\tif (info.availableChildren !== undefined) {\n\t\t\t\tfor (const cgi of info.availableChildren) {\n\t\t\t\t\tchunkGroupsForCombining.add(cgi);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\toutdatedChunkGroupInfo.clear();\n\t};\n\n\t// Iterative traversal of the Module graph\n\t// Recursive would be simpler to write but could result in Stack Overflows\n\twhile (queue.length || queueConnect.size) {\n\t\tlogger.time(\"visitModules: visiting\");\n\t\tprocessQueue();\n\t\tlogger.timeAggregateEnd(\"visitModules: prepare\");\n\t\tlogger.timeEnd(\"visitModules: visiting\");\n\n\t\tif (chunkGroupsForCombining.size > 0) {\n\t\t\tlogger.time(\"visitModules: combine available modules\");\n\t\t\tprocessChunkGroupsForCombining();\n\t\t\tlogger.timeEnd(\"visitModules: combine available modules\");\n\t\t}\n\n\t\tif (queueConnect.size > 0) {\n\t\t\tlogger.time(\"visitModules: calculating available modules\");\n\t\t\tprocessConnectQueue();\n\t\t\tlogger.timeEnd(\"visitModules: calculating available modules\");\n\n\t\t\tif (chunkGroupsForMerging.size > 0) {\n\t\t\t\tlogger.time(\"visitModules: merging available modules\");\n\t\t\t\tprocessChunkGroupsForMerging();\n\t\t\t\tlogger.timeEnd(\"visitModules: merging available modules\");\n\t\t\t}\n\t\t}\n\n\t\tif (outdatedChunkGroupInfo.size > 0) {\n\t\t\tlogger.time(\"visitModules: check modules for revisit\");\n\t\t\tprocessOutdatedChunkGroupInfo();\n\t\t\tlogger.timeEnd(\"visitModules: check modules for revisit\");\n\t\t}\n\n\t\t// Run queueDelayed when all items of the queue are processed\n\t\t// This is important to get the global indexing correct\n\t\t// Async blocks should be processed after all sync blocks are processed\n\t\tif (queue.length === 0) {\n\t\t\tconst tempQueue = queue;\n\t\t\tqueue = queueDelayed.reverse();\n\t\t\tqueueDelayed = tempQueue;\n\t\t}\n\t}\n\n\tlogger.log(\n\t\t`${statProcessedQueueItems} queue items processed (${statProcessedBlocks} blocks)`\n\t);\n\tlogger.log(`${statConnectedChunkGroups} chunk groups connected`);\n\tlogger.log(\n\t\t`${statProcessedChunkGroupsForMerging} chunk groups processed for merging (${statMergedAvailableModuleSets} module sets, ${statForkedAvailableModules} forked, ${statForkedAvailableModulesCount} + ${statForkedAvailableModulesCountPlus} modules forked, ${statForkedMergedModulesCount} + ${statForkedMergedModulesCountPlus} modules merged into fork, ${statForkedResultModulesCount} resulting modules)`\n\t);\n\tlogger.log(\n\t\t`${statChunkGroupInfoUpdated} chunk group info updated (${statChildChunkGroupsReconnected} already connected chunk groups reconnected)`\n\t);\n};\n\n/**\n *\n * @param {Compilation} compilation the compilation\n * @param {Set<DependenciesBlock>} blocksWithNestedBlocks flag for blocks that have nested blocks\n * @param {Map<AsyncDependenciesBlock, BlockChunkGroupConnection[]>} blockConnections connection for blocks\n * @param {Map<ChunkGroup, ChunkGroupInfo>} chunkGroupInfoMap mapping from chunk group to available modules\n */\nconst connectChunkGroups = (\n\tcompilation,\n\tblocksWithNestedBlocks,\n\tblockConnections,\n\tchunkGroupInfoMap\n) => {\n\tconst { chunkGraph } = compilation;\n\n\t/**\n\t * Helper function to check if all modules of a chunk are available\n\t *\n\t * @param {ChunkGroup} chunkGroup the chunkGroup to scan\n\t * @param {ModuleSetPlus} availableModules the comparator set\n\t * @returns {boolean} return true if all modules of a chunk are available\n\t */\n\tconst areModulesAvailable = (chunkGroup, availableModules) => {\n\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\tif (!availableModules.has(module) && !availableModules.plus.has(module))\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t};\n\n\t// For each edge in the basic chunk graph\n\tfor (const [block, connections] of blockConnections) {\n\t\t// 1. Check if connection is needed\n\t\t// When none of the dependencies need to be connected\n\t\t// we can skip all of them\n\t\t// It's not possible to filter each item so it doesn't create inconsistent\n\t\t// connections and modules can only create one version\n\t\t// TODO maybe decide this per runtime\n\t\tif (\n\t\t\t// TODO is this needed?\n\t\t\t!blocksWithNestedBlocks.has(block) &&\n\t\t\tconnections.every(({ chunkGroup, originChunkGroupInfo }) =>\n\t\t\t\tareModulesAvailable(\n\t\t\t\t\tchunkGroup,\n\t\t\t\t\toriginChunkGroupInfo.resultingAvailableModules\n\t\t\t\t)\n\t\t\t)\n\t\t) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t// 2. Foreach edge\n\t\tfor (let i = 0; i < connections.length; i++) {\n\t\t\tconst { chunkGroup, originChunkGroupInfo } = connections[i];\n\n\t\t\t// 3. Connect block with chunk\n\t\t\tchunkGraph.connectBlockAndChunkGroup(block, chunkGroup);\n\n\t\t\t// 4. Connect chunk with parent\n\t\t\tconnectChunkGroupParentAndChild(\n\t\t\t\toriginChunkGroupInfo.chunkGroup,\n\t\t\t\tchunkGroup\n\t\t\t);\n\t\t}\n\t}\n};\n\n/**\n * Remove all unconnected chunk groups\n * @param {Compilation} compilation the compilation\n * @param {Iterable<ChunkGroup>} allCreatedChunkGroups all chunk groups that where created before\n */\nconst cleanupUnconnectedGroups = (compilation, allCreatedChunkGroups) => {\n\tconst { chunkGraph } = compilation;\n\n\tfor (const chunkGroup of allCreatedChunkGroups) {\n\t\tif (chunkGroup.getNumberOfParents() === 0) {\n\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\tcompilation.chunks.delete(chunk);\n\t\t\t\tchunkGraph.disconnectChunk(chunk);\n\t\t\t}\n\t\t\tchunkGraph.disconnectChunkGroup(chunkGroup);\n\t\t\tchunkGroup.remove();\n\t\t}\n\t}\n};\n\n/**\n * This method creates the Chunk graph from the Module graph\n * @param {Compilation} compilation the compilation\n * @param {Map<Entrypoint, Module[]>} inputEntrypointsAndModules chunk groups which are processed with the modules\n * @returns {void}\n */\nconst buildChunkGraph = (compilation, inputEntrypointsAndModules) => {\n\tconst logger = compilation.getLogger(\"webpack.buildChunkGraph\");\n\n\t// SHARED STATE\n\n\t/** @type {Map<AsyncDependenciesBlock, BlockChunkGroupConnection[]>} */\n\tconst blockConnections = new Map();\n\n\t/** @type {Set<ChunkGroup>} */\n\tconst allCreatedChunkGroups = new Set();\n\n\t/** @type {Map<ChunkGroup, ChunkGroupInfo>} */\n\tconst chunkGroupInfoMap = new Map();\n\n\t/** @type {Set<DependenciesBlock>} */\n\tconst blocksWithNestedBlocks = new Set();\n\n\t// PART ONE\n\n\tlogger.time(\"visitModules\");\n\tvisitModules(\n\t\tlogger,\n\t\tcompilation,\n\t\tinputEntrypointsAndModules,\n\t\tchunkGroupInfoMap,\n\t\tblockConnections,\n\t\tblocksWithNestedBlocks,\n\t\tallCreatedChunkGroups\n\t);\n\tlogger.timeEnd(\"visitModules\");\n\n\t// PART TWO\n\n\tlogger.time(\"connectChunkGroups\");\n\tconnectChunkGroups(\n\t\tcompilation,\n\t\tblocksWithNestedBlocks,\n\t\tblockConnections,\n\t\tchunkGroupInfoMap\n\t);\n\tlogger.timeEnd(\"connectChunkGroups\");\n\n\tfor (const [chunkGroup, chunkGroupInfo] of chunkGroupInfoMap) {\n\t\tfor (const chunk of chunkGroup.chunks)\n\t\t\tchunk.runtime = mergeRuntime(chunk.runtime, chunkGroupInfo.runtime);\n\t}\n\n\t// Cleanup work\n\n\tlogger.time(\"cleanup\");\n\tcleanupUnconnectedGroups(compilation, allCreatedChunkGroups);\n\tlogger.timeEnd(\"cleanup\");\n};\n\nmodule.exports = buildChunkGraph;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/buildChunkGraph.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js ***! \**********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass AddBuildDependenciesPlugin {\n\t/**\n\t * @param {Iterable<string>} buildDependencies list of build dependencies\n\t */\n\tconstructor(buildDependencies) {\n\t\tthis.buildDependencies = new Set(buildDependencies);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"AddBuildDependenciesPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.buildDependencies.addAll(this.buildDependencies);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = AddBuildDependenciesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/AddManagedPathsPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/cache/AddManagedPathsPlugin.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass AddManagedPathsPlugin {\n\t/**\n\t * @param {Iterable<string | RegExp>} managedPaths list of managed paths\n\t * @param {Iterable<string | RegExp>} immutablePaths list of immutable paths\n\t */\n\tconstructor(managedPaths, immutablePaths) {\n\t\tthis.managedPaths = new Set(managedPaths);\n\t\tthis.immutablePaths = new Set(immutablePaths);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tfor (const managedPath of this.managedPaths) {\n\t\t\tcompiler.managedPaths.add(managedPath);\n\t\t}\n\t\tfor (const immutablePath of this.immutablePaths) {\n\t\t\tcompiler.immutablePaths.add(immutablePath);\n\t\t}\n\t}\n}\n\nmodule.exports = AddManagedPathsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/AddManagedPathsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/IdleFileCachePlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/cache/IdleFileCachePlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Cache = __webpack_require__(/*! ../Cache */ \"./node_modules/webpack/lib/Cache.js\");\nconst ProgressPlugin = __webpack_require__(/*! ../ProgressPlugin */ \"./node_modules/webpack/lib/ProgressPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst BUILD_DEPENDENCIES_KEY = Symbol();\n\nclass IdleFileCachePlugin {\n\t/**\n\t * @param {TODO} strategy cache strategy\n\t * @param {number} idleTimeout timeout\n\t * @param {number} idleTimeoutForInitialStore initial timeout\n\t * @param {number} idleTimeoutAfterLargeChanges timeout after changes\n\t */\n\tconstructor(\n\t\tstrategy,\n\t\tidleTimeout,\n\t\tidleTimeoutForInitialStore,\n\t\tidleTimeoutAfterLargeChanges\n\t) {\n\t\tthis.strategy = strategy;\n\t\tthis.idleTimeout = idleTimeout;\n\t\tthis.idleTimeoutForInitialStore = idleTimeoutForInitialStore;\n\t\tthis.idleTimeoutAfterLargeChanges = idleTimeoutAfterLargeChanges;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tlet strategy = this.strategy;\n\t\tconst idleTimeout = this.idleTimeout;\n\t\tconst idleTimeoutForInitialStore = Math.min(\n\t\t\tidleTimeout,\n\t\t\tthis.idleTimeoutForInitialStore\n\t\t);\n\t\tconst idleTimeoutAfterLargeChanges = this.idleTimeoutAfterLargeChanges;\n\t\tconst resolvedPromise = Promise.resolve();\n\n\t\tlet timeSpendInBuild = 0;\n\t\tlet timeSpendInStore = 0;\n\t\tlet avgTimeSpendInStore = 0;\n\n\t\t/** @type {Map<string | typeof BUILD_DEPENDENCIES_KEY, () => Promise>} */\n\t\tconst pendingIdleTasks = new Map();\n\n\t\tcompiler.cache.hooks.store.tap(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\t(identifier, etag, data) => {\n\t\t\t\tpendingIdleTasks.set(identifier, () =>\n\t\t\t\t\tstrategy.store(identifier, etag, data)\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.cache.hooks.get.tapPromise(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\t(identifier, etag, gotHandlers) => {\n\t\t\t\tconst restore = () =>\n\t\t\t\t\tstrategy.restore(identifier, etag).then(cacheEntry => {\n\t\t\t\t\t\tif (cacheEntry === undefined) {\n\t\t\t\t\t\t\tgotHandlers.push((result, callback) => {\n\t\t\t\t\t\t\t\tif (result !== undefined) {\n\t\t\t\t\t\t\t\t\tpendingIdleTasks.set(identifier, () =>\n\t\t\t\t\t\t\t\t\t\tstrategy.store(identifier, etag, result)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn cacheEntry;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\tconst pendingTask = pendingIdleTasks.get(identifier);\n\t\t\t\tif (pendingTask !== undefined) {\n\t\t\t\t\tpendingIdleTasks.delete(identifier);\n\t\t\t\t\treturn pendingTask().then(restore);\n\t\t\t\t}\n\t\t\t\treturn restore();\n\t\t\t}\n\t\t);\n\n\t\tcompiler.cache.hooks.storeBuildDependencies.tap(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\tdependencies => {\n\t\t\t\tpendingIdleTasks.set(BUILD_DEPENDENCIES_KEY, () =>\n\t\t\t\t\tstrategy.storeBuildDependencies(dependencies)\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.cache.hooks.shutdown.tapPromise(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\t() => {\n\t\t\t\tif (idleTimer) {\n\t\t\t\t\tclearTimeout(idleTimer);\n\t\t\t\t\tidleTimer = undefined;\n\t\t\t\t}\n\t\t\t\tisIdle = false;\n\t\t\t\tconst reportProgress = ProgressPlugin.getReporter(compiler);\n\t\t\t\tconst jobs = Array.from(pendingIdleTasks.values());\n\t\t\t\tif (reportProgress) reportProgress(0, \"process pending cache items\");\n\t\t\t\tconst promises = jobs.map(fn => fn());\n\t\t\t\tpendingIdleTasks.clear();\n\t\t\t\tpromises.push(currentIdlePromise);\n\t\t\t\tconst promise = Promise.all(promises);\n\t\t\t\tcurrentIdlePromise = promise.then(() => strategy.afterAllStored());\n\t\t\t\tif (reportProgress) {\n\t\t\t\t\tcurrentIdlePromise = currentIdlePromise.then(() => {\n\t\t\t\t\t\treportProgress(1, `stored`);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn currentIdlePromise.then(() => {\n\t\t\t\t\t// Reset strategy\n\t\t\t\t\tif (strategy.clear) strategy.clear();\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\n\t\t/** @type {Promise<any>} */\n\t\tlet currentIdlePromise = resolvedPromise;\n\t\tlet isIdle = false;\n\t\tlet isInitialStore = true;\n\t\tconst processIdleTasks = () => {\n\t\t\tif (isIdle) {\n\t\t\t\tconst startTime = Date.now();\n\t\t\t\tif (pendingIdleTasks.size > 0) {\n\t\t\t\t\tconst promises = [currentIdlePromise];\n\t\t\t\t\tconst maxTime = startTime + 100;\n\t\t\t\t\tlet maxCount = 100;\n\t\t\t\t\tfor (const [filename, factory] of pendingIdleTasks) {\n\t\t\t\t\t\tpendingIdleTasks.delete(filename);\n\t\t\t\t\t\tpromises.push(factory());\n\t\t\t\t\t\tif (maxCount-- <= 0 || Date.now() > maxTime) break;\n\t\t\t\t\t}\n\t\t\t\t\tcurrentIdlePromise = Promise.all(promises);\n\t\t\t\t\tcurrentIdlePromise.then(() => {\n\t\t\t\t\t\ttimeSpendInStore += Date.now() - startTime;\n\t\t\t\t\t\t// Allow to exit the process between\n\t\t\t\t\t\tidleTimer = setTimeout(processIdleTasks, 0);\n\t\t\t\t\t\tidleTimer.unref();\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcurrentIdlePromise = currentIdlePromise\n\t\t\t\t\t.then(async () => {\n\t\t\t\t\t\tawait strategy.afterAllStored();\n\t\t\t\t\t\ttimeSpendInStore += Date.now() - startTime;\n\t\t\t\t\t\tavgTimeSpendInStore =\n\t\t\t\t\t\t\tMath.max(avgTimeSpendInStore, timeSpendInStore) * 0.9 +\n\t\t\t\t\t\t\ttimeSpendInStore * 0.1;\n\t\t\t\t\t\ttimeSpendInStore = 0;\n\t\t\t\t\t\ttimeSpendInBuild = 0;\n\t\t\t\t\t})\n\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\tconst logger = compiler.getInfrastructureLogger(\n\t\t\t\t\t\t\t\"IdleFileCachePlugin\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tlogger.warn(`Background tasks during idle failed: ${err.message}`);\n\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t});\n\t\t\t\tisInitialStore = false;\n\t\t\t}\n\t\t};\n\t\tlet idleTimer = undefined;\n\t\tcompiler.cache.hooks.beginIdle.tap(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\t() => {\n\t\t\t\tconst isLargeChange = timeSpendInBuild > avgTimeSpendInStore * 2;\n\t\t\t\tif (isInitialStore && idleTimeoutForInitialStore < idleTimeout) {\n\t\t\t\t\tcompiler\n\t\t\t\t\t\t.getInfrastructureLogger(\"IdleFileCachePlugin\")\n\t\t\t\t\t\t.log(\n\t\t\t\t\t\t\t`Initial cache was generated and cache will be persisted in ${\n\t\t\t\t\t\t\t\tidleTimeoutForInitialStore / 1000\n\t\t\t\t\t\t\t}s.`\n\t\t\t\t\t\t);\n\t\t\t\t} else if (\n\t\t\t\t\tisLargeChange &&\n\t\t\t\t\tidleTimeoutAfterLargeChanges < idleTimeout\n\t\t\t\t) {\n\t\t\t\t\tcompiler\n\t\t\t\t\t\t.getInfrastructureLogger(\"IdleFileCachePlugin\")\n\t\t\t\t\t\t.log(\n\t\t\t\t\t\t\t`Spend ${Math.round(timeSpendInBuild) / 1000}s in build and ${\n\t\t\t\t\t\t\t\tMath.round(avgTimeSpendInStore) / 1000\n\t\t\t\t\t\t\t}s in average in cache store. This is considered as large change and cache will be persisted in ${\n\t\t\t\t\t\t\t\tidleTimeoutAfterLargeChanges / 1000\n\t\t\t\t\t\t\t}s.`\n\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tidleTimer = setTimeout(() => {\n\t\t\t\t\tidleTimer = undefined;\n\t\t\t\t\tisIdle = true;\n\t\t\t\t\tresolvedPromise.then(processIdleTasks);\n\t\t\t\t}, Math.min(isInitialStore ? idleTimeoutForInitialStore : Infinity, isLargeChange ? idleTimeoutAfterLargeChanges : Infinity, idleTimeout));\n\t\t\t\tidleTimer.unref();\n\t\t\t}\n\t\t);\n\t\tcompiler.cache.hooks.endIdle.tap(\n\t\t\t{ name: \"IdleFileCachePlugin\", stage: Cache.STAGE_DISK },\n\t\t\t() => {\n\t\t\t\tif (idleTimer) {\n\t\t\t\t\tclearTimeout(idleTimer);\n\t\t\t\t\tidleTimer = undefined;\n\t\t\t\t}\n\t\t\t\tisIdle = false;\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.done.tap(\"IdleFileCachePlugin\", stats => {\n\t\t\t// 10% build overhead is ignored, as it's not cacheable\n\t\t\ttimeSpendInBuild *= 0.9;\n\t\t\ttimeSpendInBuild += stats.endTime - stats.startTime;\n\t\t});\n\t}\n}\n\nmodule.exports = IdleFileCachePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/IdleFileCachePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/MemoryCachePlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/cache/MemoryCachePlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Cache = __webpack_require__(/*! ../Cache */ \"./node_modules/webpack/lib/Cache.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Cache\").Etag} Etag */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass MemoryCachePlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\t/** @type {Map<string, { etag: Etag | null, data: any }>} */\n\t\tconst cache = new Map();\n\t\tcompiler.cache.hooks.store.tap(\n\t\t\t{ name: \"MemoryCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t(identifier, etag, data) => {\n\t\t\t\tcache.set(identifier, { etag, data });\n\t\t\t}\n\t\t);\n\t\tcompiler.cache.hooks.get.tap(\n\t\t\t{ name: \"MemoryCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t(identifier, etag, gotHandlers) => {\n\t\t\t\tconst cacheEntry = cache.get(identifier);\n\t\t\t\tif (cacheEntry === null) {\n\t\t\t\t\treturn null;\n\t\t\t\t} else if (cacheEntry !== undefined) {\n\t\t\t\t\treturn cacheEntry.etag === etag ? cacheEntry.data : null;\n\t\t\t\t}\n\t\t\t\tgotHandlers.push((result, callback) => {\n\t\t\t\t\tif (result === undefined) {\n\t\t\t\t\t\tcache.set(identifier, null);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcache.set(identifier, { etag, data: result });\n\t\t\t\t\t}\n\t\t\t\t\treturn callback();\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t\tcompiler.cache.hooks.shutdown.tap(\n\t\t\t{ name: \"MemoryCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t() => {\n\t\t\t\tcache.clear();\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = MemoryCachePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/MemoryCachePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Cache = __webpack_require__(/*! ../Cache */ \"./node_modules/webpack/lib/Cache.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Cache\").Etag} Etag */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass MemoryWithGcCachePlugin {\n\tconstructor({ maxGenerations }) {\n\t\tthis._maxGenerations = maxGenerations;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst maxGenerations = this._maxGenerations;\n\t\t/** @type {Map<string, { etag: Etag | null, data: any }>} */\n\t\tconst cache = new Map();\n\t\t/** @type {Map<string, { entry: { etag: Etag | null, data: any }, until: number }>} */\n\t\tconst oldCache = new Map();\n\t\tlet generation = 0;\n\t\tlet cachePosition = 0;\n\t\tconst logger = compiler.getInfrastructureLogger(\"MemoryWithGcCachePlugin\");\n\t\tcompiler.hooks.afterDone.tap(\"MemoryWithGcCachePlugin\", () => {\n\t\t\tgeneration++;\n\t\t\tlet clearedEntries = 0;\n\t\t\tlet lastClearedIdentifier;\n\t\t\tfor (const [identifier, entry] of oldCache) {\n\t\t\t\tif (entry.until > generation) break;\n\n\t\t\t\toldCache.delete(identifier);\n\t\t\t\tif (cache.get(identifier) === undefined) {\n\t\t\t\t\tcache.delete(identifier);\n\t\t\t\t\tclearedEntries++;\n\t\t\t\t\tlastClearedIdentifier = identifier;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (clearedEntries > 0 || oldCache.size > 0) {\n\t\t\t\tlogger.log(\n\t\t\t\t\t`${cache.size - oldCache.size} active entries, ${\n\t\t\t\t\t\toldCache.size\n\t\t\t\t\t} recently unused cached entries${\n\t\t\t\t\t\tclearedEntries > 0\n\t\t\t\t\t\t\t? `, ${clearedEntries} old unused cache entries removed e. g. ${lastClearedIdentifier}`\n\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t}`\n\t\t\t\t);\n\t\t\t}\n\t\t\tlet i = (cache.size / maxGenerations) | 0;\n\t\t\tlet j = cachePosition >= cache.size ? 0 : cachePosition;\n\t\t\tcachePosition = j + i;\n\t\t\tfor (const [identifier, entry] of cache) {\n\t\t\t\tif (j !== 0) {\n\t\t\t\t\tj--;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (entry !== undefined) {\n\t\t\t\t\t// We don't delete the cache entry, but set it to undefined instead\n\t\t\t\t\t// This reserves the location in the data table and avoids rehashing\n\t\t\t\t\t// when constantly adding and removing entries.\n\t\t\t\t\t// It will be deleted when removed from oldCache.\n\t\t\t\t\tcache.set(identifier, undefined);\n\t\t\t\t\toldCache.delete(identifier);\n\t\t\t\t\toldCache.set(identifier, {\n\t\t\t\t\t\tentry,\n\t\t\t\t\t\tuntil: generation + maxGenerations\n\t\t\t\t\t});\n\t\t\t\t\tif (i-- === 0) break;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tcompiler.cache.hooks.store.tap(\n\t\t\t{ name: \"MemoryWithGcCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t(identifier, etag, data) => {\n\t\t\t\tcache.set(identifier, { etag, data });\n\t\t\t}\n\t\t);\n\t\tcompiler.cache.hooks.get.tap(\n\t\t\t{ name: \"MemoryWithGcCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t(identifier, etag, gotHandlers) => {\n\t\t\t\tconst cacheEntry = cache.get(identifier);\n\t\t\t\tif (cacheEntry === null) {\n\t\t\t\t\treturn null;\n\t\t\t\t} else if (cacheEntry !== undefined) {\n\t\t\t\t\treturn cacheEntry.etag === etag ? cacheEntry.data : null;\n\t\t\t\t}\n\t\t\t\tconst oldCacheEntry = oldCache.get(identifier);\n\t\t\t\tif (oldCacheEntry !== undefined) {\n\t\t\t\t\tconst cacheEntry = oldCacheEntry.entry;\n\t\t\t\t\tif (cacheEntry === null) {\n\t\t\t\t\t\toldCache.delete(identifier);\n\t\t\t\t\t\tcache.set(identifier, cacheEntry);\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (cacheEntry.etag !== etag) return null;\n\t\t\t\t\t\toldCache.delete(identifier);\n\t\t\t\t\t\tcache.set(identifier, cacheEntry);\n\t\t\t\t\t\treturn cacheEntry.data;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tgotHandlers.push((result, callback) => {\n\t\t\t\t\tif (result === undefined) {\n\t\t\t\t\t\tcache.set(identifier, null);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcache.set(identifier, { etag, data: result });\n\t\t\t\t\t}\n\t\t\t\t\treturn callback();\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t\tcompiler.cache.hooks.shutdown.tap(\n\t\t\t{ name: \"MemoryWithGcCachePlugin\", stage: Cache.STAGE_MEMORY },\n\t\t\t() => {\n\t\t\t\tcache.clear();\n\t\t\t\toldCache.clear();\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = MemoryWithGcCachePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/PackFileCacheStrategy.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/cache/PackFileCacheStrategy.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst FileSystemInfo = __webpack_require__(/*! ../FileSystemInfo */ \"./node_modules/webpack/lib/FileSystemInfo.js\");\nconst ProgressPlugin = __webpack_require__(/*! ../ProgressPlugin */ \"./node_modules/webpack/lib/ProgressPlugin.js\");\nconst { formatSize } = __webpack_require__(/*! ../SizeFormatHelpers */ \"./node_modules/webpack/lib/SizeFormatHelpers.js\");\nconst SerializerMiddleware = __webpack_require__(/*! ../serialization/SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\");\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst {\n\tcreateFileSerializer,\n\tNOT_SERIALIZABLE\n} = __webpack_require__(/*! ../util/serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").SnapshotOptions} SnapshotOptions */\n/** @typedef {import(\"../Cache\").Etag} Etag */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../FileSystemInfo\").Snapshot} Snapshot */\n/** @typedef {import(\"../logging/Logger\").Logger} Logger */\n/** @typedef {import(\"../util/fs\").IntermediateFileSystem} IntermediateFileSystem */\n\nclass PackContainer {\n\t/**\n\t * @param {Object} data stored data\n\t * @param {string} version version identifier\n\t * @param {Snapshot} buildSnapshot snapshot of all build dependencies\n\t * @param {Set<string>} buildDependencies list of all unresolved build dependencies captured\n\t * @param {Map<string, string | false>} resolveResults result of the resolved build dependencies\n\t * @param {Snapshot} resolveBuildDependenciesSnapshot snapshot of the dependencies of the build dependencies resolving\n\t */\n\tconstructor(\n\t\tdata,\n\t\tversion,\n\t\tbuildSnapshot,\n\t\tbuildDependencies,\n\t\tresolveResults,\n\t\tresolveBuildDependenciesSnapshot\n\t) {\n\t\tthis.data = data;\n\t\tthis.version = version;\n\t\tthis.buildSnapshot = buildSnapshot;\n\t\tthis.buildDependencies = buildDependencies;\n\t\tthis.resolveResults = resolveResults;\n\t\tthis.resolveBuildDependenciesSnapshot = resolveBuildDependenciesSnapshot;\n\t}\n\n\tserialize({ write, writeLazy }) {\n\t\twrite(this.version);\n\t\twrite(this.buildSnapshot);\n\t\twrite(this.buildDependencies);\n\t\twrite(this.resolveResults);\n\t\twrite(this.resolveBuildDependenciesSnapshot);\n\t\twriteLazy(this.data);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis.version = read();\n\t\tthis.buildSnapshot = read();\n\t\tthis.buildDependencies = read();\n\t\tthis.resolveResults = read();\n\t\tthis.resolveBuildDependenciesSnapshot = read();\n\t\tthis.data = read();\n\t}\n}\n\nmakeSerializable(\n\tPackContainer,\n\t\"webpack/lib/cache/PackFileCacheStrategy\",\n\t\"PackContainer\"\n);\n\nconst MIN_CONTENT_SIZE = 1024 * 1024; // 1 MB\nconst CONTENT_COUNT_TO_MERGE = 10;\nconst MIN_ITEMS_IN_FRESH_PACK = 100;\nconst MAX_ITEMS_IN_FRESH_PACK = 50000;\nconst MAX_TIME_IN_FRESH_PACK = 1 * 60 * 1000; // 1 min\n\nclass PackItemInfo {\n\t/**\n\t * @param {string} identifier identifier of item\n\t * @param {string | null} etag etag of item\n\t * @param {any} value fresh value of item\n\t */\n\tconstructor(identifier, etag, value) {\n\t\tthis.identifier = identifier;\n\t\tthis.etag = etag;\n\t\tthis.location = -1;\n\t\tthis.lastAccess = Date.now();\n\t\tthis.freshValue = value;\n\t}\n}\n\nclass Pack {\n\tconstructor(logger, maxAge) {\n\t\t/** @type {Map<string, PackItemInfo>} */\n\t\tthis.itemInfo = new Map();\n\t\t/** @type {string[]} */\n\t\tthis.requests = [];\n\t\tthis.requestsTimeout = undefined;\n\t\t/** @type {Map<string, PackItemInfo>} */\n\t\tthis.freshContent = new Map();\n\t\t/** @type {(undefined | PackContent)[]} */\n\t\tthis.content = [];\n\t\tthis.invalid = false;\n\t\tthis.logger = logger;\n\t\tthis.maxAge = maxAge;\n\t}\n\n\t_addRequest(identifier) {\n\t\tthis.requests.push(identifier);\n\t\tif (this.requestsTimeout === undefined) {\n\t\t\tthis.requestsTimeout = setTimeout(() => {\n\t\t\t\tthis.requests.push(undefined);\n\t\t\t\tthis.requestsTimeout = undefined;\n\t\t\t}, MAX_TIME_IN_FRESH_PACK);\n\t\t\tif (this.requestsTimeout.unref) this.requestsTimeout.unref();\n\t\t}\n\t}\n\n\tstopCapturingRequests() {\n\t\tif (this.requestsTimeout !== undefined) {\n\t\t\tclearTimeout(this.requestsTimeout);\n\t\t\tthis.requestsTimeout = undefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} identifier unique name for the resource\n\t * @param {string | null} etag etag of the resource\n\t * @returns {any} cached content\n\t */\n\tget(identifier, etag) {\n\t\tconst info = this.itemInfo.get(identifier);\n\t\tthis._addRequest(identifier);\n\t\tif (info === undefined) {\n\t\t\treturn undefined;\n\t\t}\n\t\tif (info.etag !== etag) return null;\n\t\tinfo.lastAccess = Date.now();\n\t\tconst loc = info.location;\n\t\tif (loc === -1) {\n\t\t\treturn info.freshValue;\n\t\t} else {\n\t\t\tif (!this.content[loc]) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\treturn this.content[loc].get(identifier);\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} identifier unique name for the resource\n\t * @param {string | null} etag etag of the resource\n\t * @param {any} data cached content\n\t * @returns {void}\n\t */\n\tset(identifier, etag, data) {\n\t\tif (!this.invalid) {\n\t\t\tthis.invalid = true;\n\t\t\tthis.logger.log(`Pack got invalid because of write to: ${identifier}`);\n\t\t}\n\t\tconst info = this.itemInfo.get(identifier);\n\t\tif (info === undefined) {\n\t\t\tconst newInfo = new PackItemInfo(identifier, etag, data);\n\t\t\tthis.itemInfo.set(identifier, newInfo);\n\t\t\tthis._addRequest(identifier);\n\t\t\tthis.freshContent.set(identifier, newInfo);\n\t\t} else {\n\t\t\tconst loc = info.location;\n\t\t\tif (loc >= 0) {\n\t\t\t\tthis._addRequest(identifier);\n\t\t\t\tthis.freshContent.set(identifier, info);\n\t\t\t\tconst content = this.content[loc];\n\t\t\t\tcontent.delete(identifier);\n\t\t\t\tif (content.items.size === 0) {\n\t\t\t\t\tthis.content[loc] = undefined;\n\t\t\t\t\tthis.logger.debug(\"Pack %d got empty and is removed\", loc);\n\t\t\t\t}\n\t\t\t}\n\t\t\tinfo.freshValue = data;\n\t\t\tinfo.lastAccess = Date.now();\n\t\t\tinfo.etag = etag;\n\t\t\tinfo.location = -1;\n\t\t}\n\t}\n\n\tgetContentStats() {\n\t\tlet count = 0;\n\t\tlet size = 0;\n\t\tfor (const content of this.content) {\n\t\t\tif (content !== undefined) {\n\t\t\t\tcount++;\n\t\t\t\tconst s = content.getSize();\n\t\t\t\tif (s > 0) {\n\t\t\t\t\tsize += s;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn { count, size };\n\t}\n\n\t/**\n\t * @returns {number} new location of data entries\n\t */\n\t_findLocation() {\n\t\tlet i;\n\t\tfor (i = 0; i < this.content.length && this.content[i] !== undefined; i++);\n\t\treturn i;\n\t}\n\n\t_gcAndUpdateLocation(items, usedItems, newLoc) {\n\t\tlet count = 0;\n\t\tlet lastGC;\n\t\tconst now = Date.now();\n\t\tfor (const identifier of items) {\n\t\t\tconst info = this.itemInfo.get(identifier);\n\t\t\tif (now - info.lastAccess > this.maxAge) {\n\t\t\t\tthis.itemInfo.delete(identifier);\n\t\t\t\titems.delete(identifier);\n\t\t\t\tusedItems.delete(identifier);\n\t\t\t\tcount++;\n\t\t\t\tlastGC = identifier;\n\t\t\t} else {\n\t\t\t\tinfo.location = newLoc;\n\t\t\t}\n\t\t}\n\t\tif (count > 0) {\n\t\t\tthis.logger.log(\n\t\t\t\t\"Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s\",\n\t\t\t\tcount,\n\t\t\t\tnewLoc,\n\t\t\t\titems.size,\n\t\t\t\tlastGC\n\t\t\t);\n\t\t}\n\t}\n\n\t_persistFreshContent() {\n\t\tconst itemsCount = this.freshContent.size;\n\t\tif (itemsCount > 0) {\n\t\t\tconst packCount = Math.ceil(itemsCount / MAX_ITEMS_IN_FRESH_PACK);\n\t\t\tconst itemsPerPack = Math.ceil(itemsCount / packCount);\n\t\t\tconst packs = [];\n\t\t\tlet i = 0;\n\t\t\tlet ignoreNextTimeTick = false;\n\t\t\tconst createNextPack = () => {\n\t\t\t\tconst loc = this._findLocation();\n\t\t\t\tthis.content[loc] = null; // reserve\n\t\t\t\tconst pack = {\n\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\titems: new Set(),\n\t\t\t\t\t/** @type {Map<string, any>} */\n\t\t\t\t\tmap: new Map(),\n\t\t\t\t\tloc\n\t\t\t\t};\n\t\t\t\tpacks.push(pack);\n\t\t\t\treturn pack;\n\t\t\t};\n\t\t\tlet pack = createNextPack();\n\t\t\tif (this.requestsTimeout !== undefined)\n\t\t\t\tclearTimeout(this.requestsTimeout);\n\t\t\tfor (const identifier of this.requests) {\n\t\t\t\tif (identifier === undefined) {\n\t\t\t\t\tif (ignoreNextTimeTick) {\n\t\t\t\t\t\tignoreNextTimeTick = false;\n\t\t\t\t\t} else if (pack.items.size >= MIN_ITEMS_IN_FRESH_PACK) {\n\t\t\t\t\t\ti = 0;\n\t\t\t\t\t\tpack = createNextPack();\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst info = this.freshContent.get(identifier);\n\t\t\t\tif (info === undefined) continue;\n\t\t\t\tpack.items.add(identifier);\n\t\t\t\tpack.map.set(identifier, info.freshValue);\n\t\t\t\tinfo.location = pack.loc;\n\t\t\t\tinfo.freshValue = undefined;\n\t\t\t\tthis.freshContent.delete(identifier);\n\t\t\t\tif (++i > itemsPerPack) {\n\t\t\t\t\ti = 0;\n\t\t\t\t\tpack = createNextPack();\n\t\t\t\t\tignoreNextTimeTick = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.requests.length = 0;\n\t\t\tfor (const pack of packs) {\n\t\t\t\tthis.content[pack.loc] = new PackContent(\n\t\t\t\t\tpack.items,\n\t\t\t\t\tnew Set(pack.items),\n\t\t\t\t\tnew PackContentItems(pack.map)\n\t\t\t\t);\n\t\t\t}\n\t\t\tthis.logger.log(\n\t\t\t\t`${itemsCount} fresh items in cache put into pack ${\n\t\t\t\t\tpacks.length > 1\n\t\t\t\t\t\t? packs\n\t\t\t\t\t\t\t\t.map(pack => `${pack.loc} (${pack.items.size} items)`)\n\t\t\t\t\t\t\t\t.join(\", \")\n\t\t\t\t\t\t: packs[0].loc\n\t\t\t\t}`\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Merges small content files to a single content file\n\t */\n\t_optimizeSmallContent() {\n\t\t// 1. Find all small content files\n\t\t// Treat unused content files separately to avoid\n\t\t// a merge-split cycle\n\t\t/** @type {number[]} */\n\t\tconst smallUsedContents = [];\n\t\t/** @type {number} */\n\t\tlet smallUsedContentSize = 0;\n\t\t/** @type {number[]} */\n\t\tconst smallUnusedContents = [];\n\t\t/** @type {number} */\n\t\tlet smallUnusedContentSize = 0;\n\t\tfor (let i = 0; i < this.content.length; i++) {\n\t\t\tconst content = this.content[i];\n\t\t\tif (content === undefined) continue;\n\t\t\tif (content.outdated) continue;\n\t\t\tconst size = content.getSize();\n\t\t\tif (size < 0 || size > MIN_CONTENT_SIZE) continue;\n\t\t\tif (content.used.size > 0) {\n\t\t\t\tsmallUsedContents.push(i);\n\t\t\t\tsmallUsedContentSize += size;\n\t\t\t} else {\n\t\t\t\tsmallUnusedContents.push(i);\n\t\t\t\tsmallUnusedContentSize += size;\n\t\t\t}\n\t\t}\n\n\t\t// 2. Check if minimum number is reached\n\t\tlet mergedIndices;\n\t\tif (\n\t\t\tsmallUsedContents.length >= CONTENT_COUNT_TO_MERGE ||\n\t\t\tsmallUsedContentSize > MIN_CONTENT_SIZE\n\t\t) {\n\t\t\tmergedIndices = smallUsedContents;\n\t\t} else if (\n\t\t\tsmallUnusedContents.length >= CONTENT_COUNT_TO_MERGE ||\n\t\t\tsmallUnusedContentSize > MIN_CONTENT_SIZE\n\t\t) {\n\t\t\tmergedIndices = smallUnusedContents;\n\t\t} else return;\n\n\t\tconst mergedContent = [];\n\n\t\t// 3. Remove old content entries\n\t\tfor (const i of mergedIndices) {\n\t\t\tmergedContent.push(this.content[i]);\n\t\t\tthis.content[i] = undefined;\n\t\t}\n\n\t\t// 4. Determine merged items\n\t\t/** @type {Set<string>} */\n\t\tconst mergedItems = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst mergedUsedItems = new Set();\n\t\t/** @type {(function(Map<string, any>): Promise)[]} */\n\t\tconst addToMergedMap = [];\n\t\tfor (const content of mergedContent) {\n\t\t\tfor (const identifier of content.items) {\n\t\t\t\tmergedItems.add(identifier);\n\t\t\t}\n\t\t\tfor (const identifier of content.used) {\n\t\t\t\tmergedUsedItems.add(identifier);\n\t\t\t}\n\t\t\taddToMergedMap.push(async map => {\n\t\t\t\t// unpack existing content\n\t\t\t\t// after that values are accessible in .content\n\t\t\t\tawait content.unpack(\n\t\t\t\t\t\"it should be merged with other small pack contents\"\n\t\t\t\t);\n\t\t\t\tfor (const [identifier, value] of content.content) {\n\t\t\t\t\tmap.set(identifier, value);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t// 5. GC and update location of merged items\n\t\tconst newLoc = this._findLocation();\n\t\tthis._gcAndUpdateLocation(mergedItems, mergedUsedItems, newLoc);\n\n\t\t// 6. If not empty, store content somewhere\n\t\tif (mergedItems.size > 0) {\n\t\t\tthis.content[newLoc] = new PackContent(\n\t\t\t\tmergedItems,\n\t\t\t\tmergedUsedItems,\n\t\t\t\tmemoize(async () => {\n\t\t\t\t\t/** @type {Map<string, any>} */\n\t\t\t\t\tconst map = new Map();\n\t\t\t\t\tawait Promise.all(addToMergedMap.map(fn => fn(map)));\n\t\t\t\t\treturn new PackContentItems(map);\n\t\t\t\t})\n\t\t\t);\n\t\t\tthis.logger.log(\n\t\t\t\t\"Merged %d small files with %d cache items into pack %d\",\n\t\t\t\tmergedContent.length,\n\t\t\t\tmergedItems.size,\n\t\t\t\tnewLoc\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Split large content files with used and unused items\n\t * into two parts to separate used from unused items\n\t */\n\t_optimizeUnusedContent() {\n\t\t// 1. Find a large content file with used and unused items\n\t\tfor (let i = 0; i < this.content.length; i++) {\n\t\t\tconst content = this.content[i];\n\t\t\tif (content === undefined) continue;\n\t\t\tconst size = content.getSize();\n\t\t\tif (size < MIN_CONTENT_SIZE) continue;\n\t\t\tconst used = content.used.size;\n\t\t\tconst total = content.items.size;\n\t\t\tif (used > 0 && used < total) {\n\t\t\t\t// 2. Remove this content\n\t\t\t\tthis.content[i] = undefined;\n\n\t\t\t\t// 3. Determine items for the used content file\n\t\t\t\tconst usedItems = new Set(content.used);\n\t\t\t\tconst newLoc = this._findLocation();\n\t\t\t\tthis._gcAndUpdateLocation(usedItems, usedItems, newLoc);\n\n\t\t\t\t// 4. Create content file for used items\n\t\t\t\tif (usedItems.size > 0) {\n\t\t\t\t\tthis.content[newLoc] = new PackContent(\n\t\t\t\t\t\tusedItems,\n\t\t\t\t\t\tnew Set(usedItems),\n\t\t\t\t\t\tasync () => {\n\t\t\t\t\t\t\tawait content.unpack(\n\t\t\t\t\t\t\t\t\"it should be splitted into used and unused items\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\t\tfor (const identifier of usedItems) {\n\t\t\t\t\t\t\t\tmap.set(identifier, content.content.get(identifier));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn new PackContentItems(map);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\t// 5. Determine items for the unused content file\n\t\t\t\tconst unusedItems = new Set(content.items);\n\t\t\t\tconst usedOfUnusedItems = new Set();\n\t\t\t\tfor (const identifier of usedItems) {\n\t\t\t\t\tunusedItems.delete(identifier);\n\t\t\t\t}\n\t\t\t\tconst newUnusedLoc = this._findLocation();\n\t\t\t\tthis._gcAndUpdateLocation(unusedItems, usedOfUnusedItems, newUnusedLoc);\n\n\t\t\t\t// 6. Create content file for unused items\n\t\t\t\tif (unusedItems.size > 0) {\n\t\t\t\t\tthis.content[newUnusedLoc] = new PackContent(\n\t\t\t\t\t\tunusedItems,\n\t\t\t\t\t\tusedOfUnusedItems,\n\t\t\t\t\t\tasync () => {\n\t\t\t\t\t\t\tawait content.unpack(\n\t\t\t\t\t\t\t\t\"it should be splitted into used and unused items\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\t\tfor (const identifier of unusedItems) {\n\t\t\t\t\t\t\t\tmap.set(identifier, content.content.get(identifier));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn new PackContentItems(map);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tthis.logger.log(\n\t\t\t\t\t\"Split pack %d into pack %d with %d used items and pack %d with %d unused items\",\n\t\t\t\t\ti,\n\t\t\t\t\tnewLoc,\n\t\t\t\t\tusedItems.size,\n\t\t\t\t\tnewUnusedLoc,\n\t\t\t\t\tunusedItems.size\n\t\t\t\t);\n\n\t\t\t\t// optimizing only one of them is good enough and\n\t\t\t\t// reduces the amount of serialization needed\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Find the content with the oldest item and run GC on that.\n\t * Only runs for one content to avoid large invalidation.\n\t */\n\t_gcOldestContent() {\n\t\t/** @type {PackItemInfo} */\n\t\tlet oldest = undefined;\n\t\tfor (const info of this.itemInfo.values()) {\n\t\t\tif (oldest === undefined || info.lastAccess < oldest.lastAccess) {\n\t\t\t\toldest = info;\n\t\t\t}\n\t\t}\n\t\tif (Date.now() - oldest.lastAccess > this.maxAge) {\n\t\t\tconst loc = oldest.location;\n\t\t\tif (loc < 0) return;\n\t\t\tconst content = this.content[loc];\n\t\t\tconst items = new Set(content.items);\n\t\t\tconst usedItems = new Set(content.used);\n\t\t\tthis._gcAndUpdateLocation(items, usedItems, loc);\n\n\t\t\tthis.content[loc] =\n\t\t\t\titems.size > 0\n\t\t\t\t\t? new PackContent(items, usedItems, async () => {\n\t\t\t\t\t\t\tawait content.unpack(\n\t\t\t\t\t\t\t\t\"it contains old items that should be garbage collected\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\t\tfor (const identifier of items) {\n\t\t\t\t\t\t\t\tmap.set(identifier, content.content.get(identifier));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn new PackContentItems(map);\n\t\t\t\t\t })\n\t\t\t\t\t: undefined;\n\t\t}\n\t}\n\n\tserialize({ write, writeSeparate }) {\n\t\tthis._persistFreshContent();\n\t\tthis._optimizeSmallContent();\n\t\tthis._optimizeUnusedContent();\n\t\tthis._gcOldestContent();\n\t\tfor (const identifier of this.itemInfo.keys()) {\n\t\t\twrite(identifier);\n\t\t}\n\t\twrite(null); // null as marker of the end of keys\n\t\tfor (const info of this.itemInfo.values()) {\n\t\t\twrite(info.etag);\n\t\t}\n\t\tfor (const info of this.itemInfo.values()) {\n\t\t\twrite(info.lastAccess);\n\t\t}\n\t\tfor (let i = 0; i < this.content.length; i++) {\n\t\t\tconst content = this.content[i];\n\t\t\tif (content !== undefined) {\n\t\t\t\twrite(content.items);\n\t\t\t\tcontent.writeLazy(lazy => writeSeparate(lazy, { name: `${i}` }));\n\t\t\t} else {\n\t\t\t\twrite(undefined); // undefined marks an empty content slot\n\t\t\t}\n\t\t}\n\t\twrite(null); // null as marker of the end of items\n\t}\n\n\tdeserialize({ read, logger }) {\n\t\tthis.logger = logger;\n\t\t{\n\t\t\tconst items = [];\n\t\t\tlet item = read();\n\t\t\twhile (item !== null) {\n\t\t\t\titems.push(item);\n\t\t\t\titem = read();\n\t\t\t}\n\t\t\tthis.itemInfo.clear();\n\t\t\tconst infoItems = items.map(identifier => {\n\t\t\t\tconst info = new PackItemInfo(identifier, undefined, undefined);\n\t\t\t\tthis.itemInfo.set(identifier, info);\n\t\t\t\treturn info;\n\t\t\t});\n\t\t\tfor (const info of infoItems) {\n\t\t\t\tinfo.etag = read();\n\t\t\t}\n\t\t\tfor (const info of infoItems) {\n\t\t\t\tinfo.lastAccess = read();\n\t\t\t}\n\t\t}\n\t\tthis.content.length = 0;\n\t\tlet items = read();\n\t\twhile (items !== null) {\n\t\t\tif (items === undefined) {\n\t\t\t\tthis.content.push(items);\n\t\t\t} else {\n\t\t\t\tconst idx = this.content.length;\n\t\t\t\tconst lazy = read();\n\t\t\t\tthis.content.push(\n\t\t\t\t\tnew PackContent(\n\t\t\t\t\t\titems,\n\t\t\t\t\t\tnew Set(),\n\t\t\t\t\t\tlazy,\n\t\t\t\t\t\tlogger,\n\t\t\t\t\t\t`${this.content.length}`\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tfor (const identifier of items) {\n\t\t\t\t\tthis.itemInfo.get(identifier).location = idx;\n\t\t\t\t}\n\t\t\t}\n\t\t\titems = read();\n\t\t}\n\t}\n}\n\nmakeSerializable(Pack, \"webpack/lib/cache/PackFileCacheStrategy\", \"Pack\");\n\nclass PackContentItems {\n\t/**\n\t * @param {Map<string, any>} map items\n\t */\n\tconstructor(map) {\n\t\tthis.map = map;\n\t}\n\n\tserialize({ write, snapshot, rollback, logger, profile }) {\n\t\tif (profile) {\n\t\t\twrite(false);\n\t\t\tfor (const [key, value] of this.map) {\n\t\t\t\tconst s = snapshot();\n\t\t\t\ttry {\n\t\t\t\t\twrite(key);\n\t\t\t\t\tconst start = process.hrtime();\n\t\t\t\t\twrite(value);\n\t\t\t\t\tconst durationHr = process.hrtime(start);\n\t\t\t\t\tconst duration = durationHr[0] * 1000 + durationHr[1] / 1e6;\n\t\t\t\t\tif (duration > 1) {\n\t\t\t\t\t\tif (duration > 500)\n\t\t\t\t\t\t\tlogger.error(`Serialization of '${key}': ${duration} ms`);\n\t\t\t\t\t\telse if (duration > 50)\n\t\t\t\t\t\t\tlogger.warn(`Serialization of '${key}': ${duration} ms`);\n\t\t\t\t\t\telse if (duration > 10)\n\t\t\t\t\t\t\tlogger.info(`Serialization of '${key}': ${duration} ms`);\n\t\t\t\t\t\telse if (duration > 5)\n\t\t\t\t\t\t\tlogger.log(`Serialization of '${key}': ${duration} ms`);\n\t\t\t\t\t\telse logger.debug(`Serialization of '${key}': ${duration} ms`);\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\trollback(s);\n\t\t\t\t\tif (e === NOT_SERIALIZABLE) continue;\n\t\t\t\t\tconst msg = \"Skipped not serializable cache item\";\n\t\t\t\t\tif (e.message.includes(\"ModuleBuildError\")) {\n\t\t\t\t\t\tlogger.log(`${msg} (in build error): ${e.message}`);\n\t\t\t\t\t\tlogger.debug(`${msg} '${key}' (in build error): ${e.stack}`);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.warn(`${msg}: ${e.message}`);\n\t\t\t\t\t\tlogger.debug(`${msg} '${key}': ${e.stack}`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\twrite(null);\n\t\t\treturn;\n\t\t}\n\t\t// Try to serialize all at once\n\t\tconst s = snapshot();\n\t\ttry {\n\t\t\twrite(true);\n\t\t\twrite(this.map);\n\t\t} catch (e) {\n\t\t\trollback(s);\n\n\t\t\t// Try to serialize each item on it's own\n\t\t\twrite(false);\n\t\t\tfor (const [key, value] of this.map) {\n\t\t\t\tconst s = snapshot();\n\t\t\t\ttry {\n\t\t\t\t\twrite(key);\n\t\t\t\t\twrite(value);\n\t\t\t\t} catch (e) {\n\t\t\t\t\trollback(s);\n\t\t\t\t\tif (e === NOT_SERIALIZABLE) continue;\n\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t`Skipped not serializable cache item '${key}': ${e.message}`\n\t\t\t\t\t);\n\t\t\t\t\tlogger.debug(e.stack);\n\t\t\t\t}\n\t\t\t}\n\t\t\twrite(null);\n\t\t}\n\t}\n\n\tdeserialize({ read, logger, profile }) {\n\t\tif (read()) {\n\t\t\tthis.map = read();\n\t\t} else if (profile) {\n\t\t\tconst map = new Map();\n\t\t\tlet key = read();\n\t\t\twhile (key !== null) {\n\t\t\t\tconst start = process.hrtime();\n\t\t\t\tconst value = read();\n\t\t\t\tconst durationHr = process.hrtime(start);\n\t\t\t\tconst duration = durationHr[0] * 1000 + durationHr[1] / 1e6;\n\t\t\t\tif (duration > 1) {\n\t\t\t\t\tif (duration > 100)\n\t\t\t\t\t\tlogger.error(`Deserialization of '${key}': ${duration} ms`);\n\t\t\t\t\telse if (duration > 20)\n\t\t\t\t\t\tlogger.warn(`Deserialization of '${key}': ${duration} ms`);\n\t\t\t\t\telse if (duration > 5)\n\t\t\t\t\t\tlogger.info(`Deserialization of '${key}': ${duration} ms`);\n\t\t\t\t\telse if (duration > 2)\n\t\t\t\t\t\tlogger.log(`Deserialization of '${key}': ${duration} ms`);\n\t\t\t\t\telse logger.debug(`Deserialization of '${key}': ${duration} ms`);\n\t\t\t\t}\n\t\t\t\tmap.set(key, value);\n\t\t\t\tkey = read();\n\t\t\t}\n\t\t\tthis.map = map;\n\t\t} else {\n\t\t\tconst map = new Map();\n\t\t\tlet key = read();\n\t\t\twhile (key !== null) {\n\t\t\t\tmap.set(key, read());\n\t\t\t\tkey = read();\n\t\t\t}\n\t\t\tthis.map = map;\n\t\t}\n\t}\n}\n\nmakeSerializable(\n\tPackContentItems,\n\t\"webpack/lib/cache/PackFileCacheStrategy\",\n\t\"PackContentItems\"\n);\n\nclass PackContent {\n\t/*\n\t\tThis class can be in these states:\n\t\t | this.lazy | this.content | this.outdated | state\n\t\tA1 | undefined | Map | false | fresh content\n\t\tA2 | undefined | Map | true | (will not happen)\n\t\tB1 | lazy () => {} | undefined | false | not deserialized\n\t\tB2 | lazy () => {} | undefined | true | not deserialized, but some items has been removed\n\t\tC1 | lazy* () => {} | Map | false | deserialized\n\t\tC2 | lazy* () => {} | Map | true | deserialized, and some items has been removed\n\n\t\tthis.used is a subset of this.items.\n\t\tthis.items is a subset of this.content.keys() resp. this.lazy().map.keys()\n\t\tWhen this.outdated === false, this.items === this.content.keys() resp. this.lazy().map.keys()\n\t\tWhen this.outdated === true, this.items should be used to recreated this.lazy/this.content.\n\t\tWhen this.lazy and this.content is set, they contain the same data.\n\t\tthis.get must only be called with a valid item from this.items.\n\t\tIn state C this.lazy is unMemoized\n\t*/\n\n\t/**\n\t * @param {Set<string>} items keys\n\t * @param {Set<string>} usedItems used keys\n\t * @param {PackContentItems | function(): Promise<PackContentItems>} dataOrFn sync or async content\n\t * @param {Logger=} logger logger for logging\n\t * @param {string=} lazyName name of dataOrFn for logging\n\t */\n\tconstructor(items, usedItems, dataOrFn, logger, lazyName) {\n\t\tthis.items = items;\n\t\t/** @type {function(): Promise<PackContentItems> | PackContentItems} */\n\t\tthis.lazy = typeof dataOrFn === \"function\" ? dataOrFn : undefined;\n\t\t/** @type {Map<string, any>} */\n\t\tthis.content = typeof dataOrFn === \"function\" ? undefined : dataOrFn.map;\n\t\tthis.outdated = false;\n\t\tthis.used = usedItems;\n\t\tthis.logger = logger;\n\t\tthis.lazyName = lazyName;\n\t}\n\n\tget(identifier) {\n\t\tthis.used.add(identifier);\n\t\tif (this.content) {\n\t\t\treturn this.content.get(identifier);\n\t\t}\n\n\t\t// We are in state B\n\t\tconst { lazyName } = this;\n\t\tlet timeMessage;\n\t\tif (lazyName) {\n\t\t\t// only log once\n\t\t\tthis.lazyName = undefined;\n\t\t\ttimeMessage = `restore cache content ${lazyName} (${formatSize(\n\t\t\t\tthis.getSize()\n\t\t\t)})`;\n\t\t\tthis.logger.log(\n\t\t\t\t`starting to restore cache content ${lazyName} (${formatSize(\n\t\t\t\t\tthis.getSize()\n\t\t\t\t)}) because of request to: ${identifier}`\n\t\t\t);\n\t\t\tthis.logger.time(timeMessage);\n\t\t}\n\t\tconst value = this.lazy();\n\t\tif (\"then\" in value) {\n\t\t\treturn value.then(data => {\n\t\t\t\tconst map = data.map;\n\t\t\t\tif (timeMessage) {\n\t\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t\t}\n\t\t\t\t// Move to state C\n\t\t\t\tthis.content = map;\n\t\t\t\tthis.lazy = SerializerMiddleware.unMemoizeLazy(this.lazy);\n\t\t\t\treturn map.get(identifier);\n\t\t\t});\n\t\t} else {\n\t\t\tconst map = value.map;\n\t\t\tif (timeMessage) {\n\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t}\n\t\t\t// Move to state C\n\t\t\tthis.content = map;\n\t\t\tthis.lazy = SerializerMiddleware.unMemoizeLazy(this.lazy);\n\t\t\treturn map.get(identifier);\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} reason explanation why unpack is necessary\n\t * @returns {void | Promise} maybe a promise if lazy\n\t */\n\tunpack(reason) {\n\t\tif (this.content) return;\n\n\t\t// Move from state B to C\n\t\tif (this.lazy) {\n\t\t\tconst { lazyName } = this;\n\t\t\tlet timeMessage;\n\t\t\tif (lazyName) {\n\t\t\t\t// only log once\n\t\t\t\tthis.lazyName = undefined;\n\t\t\t\ttimeMessage = `unpack cache content ${lazyName} (${formatSize(\n\t\t\t\t\tthis.getSize()\n\t\t\t\t)})`;\n\t\t\t\tthis.logger.log(\n\t\t\t\t\t`starting to unpack cache content ${lazyName} (${formatSize(\n\t\t\t\t\t\tthis.getSize()\n\t\t\t\t\t)}) because ${reason}`\n\t\t\t\t);\n\t\t\t\tthis.logger.time(timeMessage);\n\t\t\t}\n\t\t\tconst value = this.lazy();\n\t\t\tif (\"then\" in value) {\n\t\t\t\treturn value.then(data => {\n\t\t\t\t\tif (timeMessage) {\n\t\t\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t\t\t}\n\t\t\t\t\tthis.content = data.map;\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (timeMessage) {\n\t\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t\t}\n\t\t\t\tthis.content = value.map;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @returns {number} size of the content or -1 if not known\n\t */\n\tgetSize() {\n\t\tif (!this.lazy) return -1;\n\t\tconst options = /** @type {any} */ (this.lazy).options;\n\t\tif (!options) return -1;\n\t\tconst size = options.size;\n\t\tif (typeof size !== \"number\") return -1;\n\t\treturn size;\n\t}\n\n\tdelete(identifier) {\n\t\tthis.items.delete(identifier);\n\t\tthis.used.delete(identifier);\n\t\tthis.outdated = true;\n\t}\n\n\t/**\n\t * @template T\n\t * @param {function(any): function(): Promise<PackContentItems> | PackContentItems} write write function\n\t * @returns {void}\n\t */\n\twriteLazy(write) {\n\t\tif (!this.outdated && this.lazy) {\n\t\t\t// State B1 or C1\n\t\t\t// this.lazy is still the valid deserialized version\n\t\t\twrite(this.lazy);\n\t\t\treturn;\n\t\t}\n\t\tif (!this.outdated && this.content) {\n\t\t\t// State A1\n\t\t\tconst map = new Map(this.content);\n\t\t\t// Move to state C1\n\t\t\tthis.lazy = SerializerMiddleware.unMemoizeLazy(\n\t\t\t\twrite(() => new PackContentItems(map))\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\t\tif (this.content) {\n\t\t\t// State A2 or C2\n\t\t\t/** @type {Map<string, any>} */\n\t\t\tconst map = new Map();\n\t\t\tfor (const item of this.items) {\n\t\t\t\tmap.set(item, this.content.get(item));\n\t\t\t}\n\t\t\t// Move to state C1\n\t\t\tthis.outdated = false;\n\t\t\tthis.content = map;\n\t\t\tthis.lazy = SerializerMiddleware.unMemoizeLazy(\n\t\t\t\twrite(() => new PackContentItems(map))\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\t\t// State B2\n\t\tconst { lazyName } = this;\n\t\tlet timeMessage;\n\t\tif (lazyName) {\n\t\t\t// only log once\n\t\t\tthis.lazyName = undefined;\n\t\t\ttimeMessage = `unpack cache content ${lazyName} (${formatSize(\n\t\t\t\tthis.getSize()\n\t\t\t)})`;\n\t\t\tthis.logger.log(\n\t\t\t\t`starting to unpack cache content ${lazyName} (${formatSize(\n\t\t\t\t\tthis.getSize()\n\t\t\t\t)}) because it's outdated and need to be serialized`\n\t\t\t);\n\t\t\tthis.logger.time(timeMessage);\n\t\t}\n\t\tconst value = this.lazy();\n\t\tthis.outdated = false;\n\t\tif (\"then\" in value) {\n\t\t\t// Move to state B1\n\t\t\tthis.lazy = write(() =>\n\t\t\t\tvalue.then(data => {\n\t\t\t\t\tif (timeMessage) {\n\t\t\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t\t\t}\n\t\t\t\t\tconst oldMap = data.map;\n\t\t\t\t\t/** @type {Map<string, any>} */\n\t\t\t\t\tconst map = new Map();\n\t\t\t\t\tfor (const item of this.items) {\n\t\t\t\t\t\tmap.set(item, oldMap.get(item));\n\t\t\t\t\t}\n\t\t\t\t\t// Move to state C1 (or maybe C2)\n\t\t\t\t\tthis.content = map;\n\t\t\t\t\tthis.lazy = SerializerMiddleware.unMemoizeLazy(this.lazy);\n\n\t\t\t\t\treturn new PackContentItems(map);\n\t\t\t\t})\n\t\t\t);\n\t\t} else {\n\t\t\t// Move to state C1\n\t\t\tif (timeMessage) {\n\t\t\t\tthis.logger.timeEnd(timeMessage);\n\t\t\t}\n\t\t\tconst oldMap = value.map;\n\t\t\t/** @type {Map<string, any>} */\n\t\t\tconst map = new Map();\n\t\t\tfor (const item of this.items) {\n\t\t\t\tmap.set(item, oldMap.get(item));\n\t\t\t}\n\t\t\tthis.content = map;\n\t\t\tthis.lazy = write(() => new PackContentItems(map));\n\t\t}\n\t}\n}\n\nconst allowCollectingMemory = buf => {\n\tconst wasted = buf.buffer.byteLength - buf.byteLength;\n\tif (wasted > 8192 && (wasted > 1048576 || wasted > buf.byteLength)) {\n\t\treturn Buffer.from(buf);\n\t}\n\treturn buf;\n};\n\nclass PackFileCacheStrategy {\n\t/**\n\t * @param {Object} options options\n\t * @param {Compiler} options.compiler the compiler\n\t * @param {IntermediateFileSystem} options.fs the filesystem\n\t * @param {string} options.context the context directory\n\t * @param {string} options.cacheLocation the location of the cache data\n\t * @param {string} options.version version identifier\n\t * @param {Logger} options.logger a logger\n\t * @param {SnapshotOptions} options.snapshot options regarding snapshotting\n\t * @param {number} options.maxAge max age of cache items\n\t * @param {boolean} options.profile track and log detailed timing information for individual cache items\n\t * @param {boolean} options.allowCollectingMemory allow to collect unused memory created during deserialization\n\t * @param {false | \"gzip\" | \"brotli\"} options.compression compression used\n\t */\n\tconstructor({\n\t\tcompiler,\n\t\tfs,\n\t\tcontext,\n\t\tcacheLocation,\n\t\tversion,\n\t\tlogger,\n\t\tsnapshot,\n\t\tmaxAge,\n\t\tprofile,\n\t\tallowCollectingMemory,\n\t\tcompression\n\t}) {\n\t\tthis.fileSerializer = createFileSerializer(\n\t\t\tfs,\n\t\t\tcompiler.options.output.hashFunction\n\t\t);\n\t\tthis.fileSystemInfo = new FileSystemInfo(fs, {\n\t\t\tmanagedPaths: snapshot.managedPaths,\n\t\t\timmutablePaths: snapshot.immutablePaths,\n\t\t\tlogger: logger.getChildLogger(\"webpack.FileSystemInfo\"),\n\t\t\thashFunction: compiler.options.output.hashFunction\n\t\t});\n\t\tthis.compiler = compiler;\n\t\tthis.context = context;\n\t\tthis.cacheLocation = cacheLocation;\n\t\tthis.version = version;\n\t\tthis.logger = logger;\n\t\tthis.maxAge = maxAge;\n\t\tthis.profile = profile;\n\t\tthis.allowCollectingMemory = allowCollectingMemory;\n\t\tthis.compression = compression;\n\t\tthis._extension =\n\t\t\tcompression === \"brotli\"\n\t\t\t\t? \".pack.br\"\n\t\t\t\t: compression === \"gzip\"\n\t\t\t\t? \".pack.gz\"\n\t\t\t\t: \".pack\";\n\t\tthis.snapshot = snapshot;\n\t\t/** @type {Set<string>} */\n\t\tthis.buildDependencies = new Set();\n\t\t/** @type {LazySet<string>} */\n\t\tthis.newBuildDependencies = new LazySet();\n\t\t/** @type {Snapshot} */\n\t\tthis.resolveBuildDependenciesSnapshot = undefined;\n\t\t/** @type {Map<string, string | false>} */\n\t\tthis.resolveResults = undefined;\n\t\t/** @type {Snapshot} */\n\t\tthis.buildSnapshot = undefined;\n\t\t/** @type {Promise<Pack>} */\n\t\tthis.packPromise = this._openPack();\n\t\tthis.storePromise = Promise.resolve();\n\t}\n\n\t_getPack() {\n\t\tif (this.packPromise === undefined) {\n\t\t\tthis.packPromise = this.storePromise.then(() => this._openPack());\n\t\t}\n\t\treturn this.packPromise;\n\t}\n\n\t/**\n\t * @returns {Promise<Pack>} the pack\n\t */\n\t_openPack() {\n\t\tconst { logger, profile, cacheLocation, version } = this;\n\t\t/** @type {Snapshot} */\n\t\tlet buildSnapshot;\n\t\t/** @type {Set<string>} */\n\t\tlet buildDependencies;\n\t\t/** @type {Set<string>} */\n\t\tlet newBuildDependencies;\n\t\t/** @type {Snapshot} */\n\t\tlet resolveBuildDependenciesSnapshot;\n\t\t/** @type {Map<string, string | false>} */\n\t\tlet resolveResults;\n\t\tlogger.time(\"restore cache container\");\n\t\treturn this.fileSerializer\n\t\t\t.deserialize(null, {\n\t\t\t\tfilename: `${cacheLocation}/index${this._extension}`,\n\t\t\t\textension: `${this._extension}`,\n\t\t\t\tlogger,\n\t\t\t\tprofile,\n\t\t\t\tretainedBuffer: this.allowCollectingMemory\n\t\t\t\t\t? allowCollectingMemory\n\t\t\t\t\t: undefined\n\t\t\t})\n\t\t\t.catch(err => {\n\t\t\t\tif (err.code !== \"ENOENT\") {\n\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t`Restoring pack failed from ${cacheLocation}${this._extension}: ${err}`\n\t\t\t\t\t);\n\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t} else {\n\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t`No pack exists at ${cacheLocation}${this._extension}: ${err}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn undefined;\n\t\t\t})\n\t\t\t.then(packContainer => {\n\t\t\t\tlogger.timeEnd(\"restore cache container\");\n\t\t\t\tif (!packContainer) return undefined;\n\t\t\t\tif (!(packContainer instanceof PackContainer)) {\n\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but contained content is unexpected.`,\n\t\t\t\t\t\tpackContainer\n\t\t\t\t\t);\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\t\t\t\tif (packContainer.version !== version) {\n\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but version doesn't match.`\n\t\t\t\t\t);\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\t\t\t\tlogger.time(\"check build dependencies\");\n\t\t\t\treturn Promise.all([\n\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\tthis.fileSystemInfo.checkSnapshotValid(\n\t\t\t\t\t\t\tpackContainer.buildSnapshot,\n\t\t\t\t\t\t\t(err, valid) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but checking snapshot of build dependencies errored: ${err}.`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t\t\t\t\treturn resolve(false);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (!valid) {\n\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but build dependencies have changed.`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\treturn resolve(false);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbuildSnapshot = packContainer.buildSnapshot;\n\t\t\t\t\t\t\t\treturn resolve(true);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}),\n\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\tthis.fileSystemInfo.checkSnapshotValid(\n\t\t\t\t\t\t\tpackContainer.resolveBuildDependenciesSnapshot,\n\t\t\t\t\t\t\t(err, valid) => {\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${err}.`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t\t\t\t\treturn resolve(false);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (valid) {\n\t\t\t\t\t\t\t\t\tresolveBuildDependenciesSnapshot =\n\t\t\t\t\t\t\t\t\t\tpackContainer.resolveBuildDependenciesSnapshot;\n\t\t\t\t\t\t\t\t\tbuildDependencies = packContainer.buildDependencies;\n\t\t\t\t\t\t\t\t\tresolveResults = packContainer.resolveResults;\n\t\t\t\t\t\t\t\t\treturn resolve(true);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\"resolving of build dependencies is invalid, will re-resolve build dependencies\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tthis.fileSystemInfo.checkResolveResultsValid(\n\t\t\t\t\t\t\t\t\tpackContainer.resolveResults,\n\t\t\t\t\t\t\t\t\t(err, valid) => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but resolving of build dependencies errored: ${err}.`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t\t\t\t\t\t\treturn resolve(false);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (valid) {\n\t\t\t\t\t\t\t\t\t\t\tnewBuildDependencies = packContainer.buildDependencies;\n\t\t\t\t\t\t\t\t\t\t\tresolveResults = packContainer.resolveResults;\n\t\t\t\t\t\t\t\t\t\t\treturn resolve(true);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t\t`Restored pack from ${cacheLocation}${this._extension}, but build dependencies resolve to different locations.`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn resolve(false);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t})\n\t\t\t\t])\n\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\tlogger.timeEnd(\"check build dependencies\");\n\t\t\t\t\t\tthrow err;\n\t\t\t\t\t})\n\t\t\t\t\t.then(([buildSnapshotValid, resolveValid]) => {\n\t\t\t\t\t\tlogger.timeEnd(\"check build dependencies\");\n\t\t\t\t\t\tif (buildSnapshotValid && resolveValid) {\n\t\t\t\t\t\t\tlogger.time(\"restore cache content metadata\");\n\t\t\t\t\t\t\tconst d = packContainer.data();\n\t\t\t\t\t\t\tlogger.timeEnd(\"restore cache content metadata\");\n\t\t\t\t\t\t\treturn d;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn undefined;\n\t\t\t\t\t});\n\t\t\t})\n\t\t\t.then(pack => {\n\t\t\t\tif (pack) {\n\t\t\t\t\tpack.maxAge = this.maxAge;\n\t\t\t\t\tthis.buildSnapshot = buildSnapshot;\n\t\t\t\t\tif (buildDependencies) this.buildDependencies = buildDependencies;\n\t\t\t\t\tif (newBuildDependencies)\n\t\t\t\t\t\tthis.newBuildDependencies.addAll(newBuildDependencies);\n\t\t\t\t\tthis.resolveResults = resolveResults;\n\t\t\t\t\tthis.resolveBuildDependenciesSnapshot =\n\t\t\t\t\t\tresolveBuildDependenciesSnapshot;\n\t\t\t\t\treturn pack;\n\t\t\t\t}\n\t\t\t\treturn new Pack(logger, this.maxAge);\n\t\t\t})\n\t\t\t.catch(err => {\n\t\t\t\tthis.logger.warn(\n\t\t\t\t\t`Restoring pack from ${cacheLocation}${this._extension} failed: ${err}`\n\t\t\t\t);\n\t\t\t\tthis.logger.debug(err.stack);\n\t\t\t\treturn new Pack(logger, this.maxAge);\n\t\t\t});\n\t}\n\n\t/**\n\t * @param {string} identifier unique name for the resource\n\t * @param {Etag | null} etag etag of the resource\n\t * @param {any} data cached content\n\t * @returns {Promise<void>} promise\n\t */\n\tstore(identifier, etag, data) {\n\t\treturn this._getPack().then(pack => {\n\t\t\tpack.set(identifier, etag === null ? null : etag.toString(), data);\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} identifier unique name for the resource\n\t * @param {Etag | null} etag etag of the resource\n\t * @returns {Promise<any>} promise to the cached content\n\t */\n\trestore(identifier, etag) {\n\t\treturn this._getPack()\n\t\t\t.then(pack =>\n\t\t\t\tpack.get(identifier, etag === null ? null : etag.toString())\n\t\t\t)\n\t\t\t.catch(err => {\n\t\t\t\tif (err && err.code !== \"ENOENT\") {\n\t\t\t\t\tthis.logger.warn(\n\t\t\t\t\t\t`Restoring failed for ${identifier} from pack: ${err}`\n\t\t\t\t\t);\n\t\t\t\t\tthis.logger.debug(err.stack);\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\tstoreBuildDependencies(dependencies) {\n\t\tthis.newBuildDependencies.addAll(dependencies);\n\t}\n\n\tafterAllStored() {\n\t\tconst packPromise = this.packPromise;\n\t\tif (packPromise === undefined) return Promise.resolve();\n\t\tconst reportProgress = ProgressPlugin.getReporter(this.compiler);\n\t\treturn (this.storePromise = packPromise\n\t\t\t.then(pack => {\n\t\t\t\tpack.stopCapturingRequests();\n\t\t\t\tif (!pack.invalid) return;\n\t\t\t\tthis.packPromise = undefined;\n\t\t\t\tthis.logger.log(`Storing pack...`);\n\t\t\t\tlet promise;\n\t\t\t\tconst newBuildDependencies = new Set();\n\t\t\t\tfor (const dep of this.newBuildDependencies) {\n\t\t\t\t\tif (!this.buildDependencies.has(dep)) {\n\t\t\t\t\t\tnewBuildDependencies.add(dep);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (newBuildDependencies.size > 0 || !this.buildSnapshot) {\n\t\t\t\t\tif (reportProgress) reportProgress(0.5, \"resolve build dependencies\");\n\t\t\t\t\tthis.logger.debug(\n\t\t\t\t\t\t`Capturing build dependencies... (${Array.from(\n\t\t\t\t\t\t\tnewBuildDependencies\n\t\t\t\t\t\t).join(\", \")})`\n\t\t\t\t\t);\n\t\t\t\t\tpromise = new Promise((resolve, reject) => {\n\t\t\t\t\t\tthis.logger.time(\"resolve build dependencies\");\n\t\t\t\t\t\tthis.fileSystemInfo.resolveBuildDependencies(\n\t\t\t\t\t\t\tthis.context,\n\t\t\t\t\t\t\tnewBuildDependencies,\n\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"resolve build dependencies\");\n\t\t\t\t\t\t\t\tif (err) return reject(err);\n\n\t\t\t\t\t\t\t\tthis.logger.time(\"snapshot build dependencies\");\n\t\t\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\t\t\tfiles,\n\t\t\t\t\t\t\t\t\tdirectories,\n\t\t\t\t\t\t\t\t\tmissing,\n\t\t\t\t\t\t\t\t\tresolveResults,\n\t\t\t\t\t\t\t\t\tresolveDependencies\n\t\t\t\t\t\t\t\t} = result;\n\t\t\t\t\t\t\t\tif (this.resolveResults) {\n\t\t\t\t\t\t\t\t\tfor (const [key, value] of resolveResults) {\n\t\t\t\t\t\t\t\t\t\tthis.resolveResults.set(key, value);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tthis.resolveResults = resolveResults;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (reportProgress) {\n\t\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t\t0.6,\n\t\t\t\t\t\t\t\t\t\t\"snapshot build dependencies\",\n\t\t\t\t\t\t\t\t\t\t\"resolving\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.fileSystemInfo.createSnapshot(\n\t\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\t\tresolveDependencies.files,\n\t\t\t\t\t\t\t\t\tresolveDependencies.directories,\n\t\t\t\t\t\t\t\t\tresolveDependencies.missing,\n\t\t\t\t\t\t\t\t\tthis.snapshot.resolveBuildDependencies,\n\t\t\t\t\t\t\t\t\t(err, snapshot) => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"snapshot build dependencies\");\n\t\t\t\t\t\t\t\t\t\t\treturn reject(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!snapshot) {\n\t\t\t\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"snapshot build dependencies\");\n\t\t\t\t\t\t\t\t\t\t\treturn reject(\n\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\"Unable to snapshot resolve dependencies\")\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (this.resolveBuildDependenciesSnapshot) {\n\t\t\t\t\t\t\t\t\t\t\tthis.resolveBuildDependenciesSnapshot =\n\t\t\t\t\t\t\t\t\t\t\t\tthis.fileSystemInfo.mergeSnapshots(\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.resolveBuildDependenciesSnapshot,\n\t\t\t\t\t\t\t\t\t\t\t\t\tsnapshot\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tthis.resolveBuildDependenciesSnapshot = snapshot;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (reportProgress) {\n\t\t\t\t\t\t\t\t\t\t\treportProgress(\n\t\t\t\t\t\t\t\t\t\t\t\t0.7,\n\t\t\t\t\t\t\t\t\t\t\t\t\"snapshot build dependencies\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modules\"\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tthis.fileSystemInfo.createSnapshot(\n\t\t\t\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\t\t\t\tfiles,\n\t\t\t\t\t\t\t\t\t\t\tdirectories,\n\t\t\t\t\t\t\t\t\t\t\tmissing,\n\t\t\t\t\t\t\t\t\t\t\tthis.snapshot.buildDependencies,\n\t\t\t\t\t\t\t\t\t\t\t(err, snapshot) => {\n\t\t\t\t\t\t\t\t\t\t\t\tthis.logger.timeEnd(\"snapshot build dependencies\");\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) return reject(err);\n\t\t\t\t\t\t\t\t\t\t\t\tif (!snapshot) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn reject(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\"Unable to snapshot build dependencies\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tthis.logger.debug(\"Captured build dependencies\");\n\n\t\t\t\t\t\t\t\t\t\t\t\tif (this.buildSnapshot) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.buildSnapshot =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.fileSystemInfo.mergeSnapshots(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.buildSnapshot,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsnapshot\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.buildSnapshot = snapshot;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tpromise = Promise.resolve();\n\t\t\t\t}\n\t\t\t\treturn promise.then(() => {\n\t\t\t\t\tif (reportProgress) reportProgress(0.8, \"serialize pack\");\n\t\t\t\t\tthis.logger.time(`store pack`);\n\t\t\t\t\tconst updatedBuildDependencies = new Set(this.buildDependencies);\n\t\t\t\t\tfor (const dep of newBuildDependencies) {\n\t\t\t\t\t\tupdatedBuildDependencies.add(dep);\n\t\t\t\t\t}\n\t\t\t\t\tconst content = new PackContainer(\n\t\t\t\t\t\tpack,\n\t\t\t\t\t\tthis.version,\n\t\t\t\t\t\tthis.buildSnapshot,\n\t\t\t\t\t\tupdatedBuildDependencies,\n\t\t\t\t\t\tthis.resolveResults,\n\t\t\t\t\t\tthis.resolveBuildDependenciesSnapshot\n\t\t\t\t\t);\n\t\t\t\t\treturn this.fileSerializer\n\t\t\t\t\t\t.serialize(content, {\n\t\t\t\t\t\t\tfilename: `${this.cacheLocation}/index${this._extension}`,\n\t\t\t\t\t\t\textension: `${this._extension}`,\n\t\t\t\t\t\t\tlogger: this.logger,\n\t\t\t\t\t\t\tprofile: this.profile\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.then(() => {\n\t\t\t\t\t\t\tfor (const dep of newBuildDependencies) {\n\t\t\t\t\t\t\t\tthis.buildDependencies.add(dep);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.newBuildDependencies.clear();\n\t\t\t\t\t\t\tthis.logger.timeEnd(`store pack`);\n\t\t\t\t\t\t\tconst stats = pack.getContentStats();\n\t\t\t\t\t\t\tthis.logger.log(\n\t\t\t\t\t\t\t\t\"Stored pack (%d items, %d files, %d MiB)\",\n\t\t\t\t\t\t\t\tpack.itemInfo.size,\n\t\t\t\t\t\t\t\tstats.count,\n\t\t\t\t\t\t\t\tMath.round(stats.size / 1024 / 1024)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\tthis.logger.timeEnd(`store pack`);\n\t\t\t\t\t\t\tthis.logger.warn(`Caching failed for pack: ${err}`);\n\t\t\t\t\t\t\tthis.logger.debug(err.stack);\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch(err => {\n\t\t\t\tthis.logger.warn(`Caching failed for pack: ${err}`);\n\t\t\t\tthis.logger.debug(err.stack);\n\t\t\t}));\n\t}\n\n\tclear() {\n\t\tthis.fileSystemInfo.clear();\n\t\tthis.buildDependencies.clear();\n\t\tthis.newBuildDependencies.clear();\n\t\tthis.resolveBuildDependenciesSnapshot = undefined;\n\t\tthis.resolveResults = undefined;\n\t\tthis.buildSnapshot = undefined;\n\t\tthis.packPromise = undefined;\n\t}\n}\n\nmodule.exports = PackFileCacheStrategy;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/PackFileCacheStrategy.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/ResolverCachePlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/cache/ResolverCachePlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"enhanced-resolve/lib/Resolver\")} Resolver */\n/** @typedef {import(\"../CacheFacade\").ItemCacheFacade} ItemCacheFacade */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../FileSystemInfo\")} FileSystemInfo */\n/** @typedef {import(\"../FileSystemInfo\").Snapshot} Snapshot */\n\nclass CacheEntry {\n\tconstructor(result, snapshot) {\n\t\tthis.result = result;\n\t\tthis.snapshot = snapshot;\n\t}\n\n\tserialize({ write }) {\n\t\twrite(this.result);\n\t\twrite(this.snapshot);\n\t}\n\n\tdeserialize({ read }) {\n\t\tthis.result = read();\n\t\tthis.snapshot = read();\n\t}\n}\n\nmakeSerializable(CacheEntry, \"webpack/lib/cache/ResolverCachePlugin\");\n\n/**\n * @template T\n * @param {Set<T> | LazySet<T>} set set to add items to\n * @param {Set<T> | LazySet<T>} otherSet set to add items from\n * @returns {void}\n */\nconst addAllToSet = (set, otherSet) => {\n\tif (set instanceof LazySet) {\n\t\tset.addAll(otherSet);\n\t} else {\n\t\tfor (const item of otherSet) {\n\t\t\tset.add(item);\n\t\t}\n\t}\n};\n\n/**\n * @param {Object} object an object\n * @param {boolean} excludeContext if true, context is not included in string\n * @returns {string} stringified version\n */\nconst objectToString = (object, excludeContext) => {\n\tlet str = \"\";\n\tfor (const key in object) {\n\t\tif (excludeContext && key === \"context\") continue;\n\t\tconst value = object[key];\n\t\tif (typeof value === \"object\" && value !== null) {\n\t\t\tstr += `|${key}=[${objectToString(value, false)}|]`;\n\t\t} else {\n\t\t\tstr += `|${key}=|${value}`;\n\t\t}\n\t}\n\treturn str;\n};\n\nclass ResolverCachePlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst cache = compiler.getCache(\"ResolverCachePlugin\");\n\t\t/** @type {FileSystemInfo} */\n\t\tlet fileSystemInfo;\n\t\tlet snapshotOptions;\n\t\tlet realResolves = 0;\n\t\tlet cachedResolves = 0;\n\t\tlet cacheInvalidResolves = 0;\n\t\tlet concurrentResolves = 0;\n\t\tcompiler.hooks.thisCompilation.tap(\"ResolverCachePlugin\", compilation => {\n\t\t\tsnapshotOptions = compilation.options.snapshot.resolve;\n\t\t\tfileSystemInfo = compilation.fileSystemInfo;\n\t\t\tcompilation.hooks.finishModules.tap(\"ResolverCachePlugin\", () => {\n\t\t\t\tif (realResolves + cachedResolves > 0) {\n\t\t\t\t\tconst logger = compilation.getLogger(\"webpack.ResolverCachePlugin\");\n\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t`${Math.round(\n\t\t\t\t\t\t\t(100 * realResolves) / (realResolves + cachedResolves)\n\t\t\t\t\t\t)}% really resolved (${realResolves} real resolves with ${cacheInvalidResolves} cached but invalid, ${cachedResolves} cached valid, ${concurrentResolves} concurrent)`\n\t\t\t\t\t);\n\t\t\t\t\trealResolves = 0;\n\t\t\t\t\tcachedResolves = 0;\n\t\t\t\t\tcacheInvalidResolves = 0;\n\t\t\t\t\tconcurrentResolves = 0;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\t/**\n\t\t * @param {ItemCacheFacade} itemCache cache\n\t\t * @param {Resolver} resolver the resolver\n\t\t * @param {Object} resolveContext context for resolving meta info\n\t\t * @param {Object} request the request info object\n\t\t * @param {function((Error | null)=, Object=): void} callback callback function\n\t\t * @returns {void}\n\t\t */\n\t\tconst doRealResolve = (\n\t\t\titemCache,\n\t\t\tresolver,\n\t\t\tresolveContext,\n\t\t\trequest,\n\t\t\tcallback\n\t\t) => {\n\t\t\trealResolves++;\n\t\t\tconst newRequest = {\n\t\t\t\t_ResolverCachePluginCacheMiss: true,\n\t\t\t\t...request\n\t\t\t};\n\t\t\tconst newResolveContext = {\n\t\t\t\t...resolveContext,\n\t\t\t\tstack: new Set(),\n\t\t\t\tmissingDependencies: new LazySet(),\n\t\t\t\tfileDependencies: new LazySet(),\n\t\t\t\tcontextDependencies: new LazySet()\n\t\t\t};\n\t\t\tlet yieldResult;\n\t\t\tlet withYield = false;\n\t\t\tif (typeof newResolveContext.yield === \"function\") {\n\t\t\t\tyieldResult = [];\n\t\t\t\twithYield = true;\n\t\t\t\tnewResolveContext.yield = obj => yieldResult.push(obj);\n\t\t\t}\n\t\t\tconst propagate = key => {\n\t\t\t\tif (resolveContext[key]) {\n\t\t\t\t\taddAllToSet(resolveContext[key], newResolveContext[key]);\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst resolveTime = Date.now();\n\t\t\tresolver.doResolve(\n\t\t\t\tresolver.hooks.resolve,\n\t\t\t\tnewRequest,\n\t\t\t\t\"Cache miss\",\n\t\t\t\tnewResolveContext,\n\t\t\t\t(err, result) => {\n\t\t\t\t\tpropagate(\"fileDependencies\");\n\t\t\t\t\tpropagate(\"contextDependencies\");\n\t\t\t\t\tpropagate(\"missingDependencies\");\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tconst fileDependencies = newResolveContext.fileDependencies;\n\t\t\t\t\tconst contextDependencies = newResolveContext.contextDependencies;\n\t\t\t\t\tconst missingDependencies = newResolveContext.missingDependencies;\n\t\t\t\t\tfileSystemInfo.createSnapshot(\n\t\t\t\t\t\tresolveTime,\n\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\tsnapshotOptions,\n\t\t\t\t\t\t(err, snapshot) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tconst resolveResult = withYield ? yieldResult : result;\n\t\t\t\t\t\t\t// since we intercept resolve hook\n\t\t\t\t\t\t\t// we still can get result in callback\n\t\t\t\t\t\t\tif (withYield && result) yieldResult.push(result);\n\t\t\t\t\t\t\tif (!snapshot) {\n\t\t\t\t\t\t\t\tif (resolveResult) return callback(null, resolveResult);\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titemCache.store(\n\t\t\t\t\t\t\t\tnew CacheEntry(resolveResult, snapshot),\n\t\t\t\t\t\t\t\tstoreErr => {\n\t\t\t\t\t\t\t\t\tif (storeErr) return callback(storeErr);\n\t\t\t\t\t\t\t\t\tif (resolveResult) return callback(null, resolveResult);\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t};\n\t\tcompiler.resolverFactory.hooks.resolver.intercept({\n\t\t\tfactory(type, hook) {\n\t\t\t\t/** @type {Map<string, (function(Error=, Object=): void)[]>} */\n\t\t\t\tconst activeRequests = new Map();\n\t\t\t\t/** @type {Map<string, [function(Error=, Object=): void, function(Error=, Object=): void][]>} */\n\t\t\t\tconst activeRequestsWithYield = new Map();\n\t\t\t\thook.tap(\n\t\t\t\t\t\"ResolverCachePlugin\",\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Resolver} resolver the resolver\n\t\t\t\t\t * @param {Object} options resolve options\n\t\t\t\t\t * @param {Object} userOptions resolve options passed by the user\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\t(resolver, options, userOptions) => {\n\t\t\t\t\t\tif (options.cache !== true) return;\n\t\t\t\t\t\tconst optionsIdent = objectToString(userOptions, false);\n\t\t\t\t\t\tconst cacheWithContext =\n\t\t\t\t\t\t\toptions.cacheWithContext !== undefined\n\t\t\t\t\t\t\t\t? options.cacheWithContext\n\t\t\t\t\t\t\t\t: false;\n\t\t\t\t\t\tresolver.hooks.resolve.tapAsync(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: \"ResolverCachePlugin\",\n\t\t\t\t\t\t\t\tstage: -100\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t(request, resolveContext, callback) => {\n\t\t\t\t\t\t\t\tif (request._ResolverCachePluginCacheMiss || !fileSystemInfo) {\n\t\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst withYield = typeof resolveContext.yield === \"function\";\n\t\t\t\t\t\t\t\tconst identifier = `${type}${\n\t\t\t\t\t\t\t\t\twithYield ? \"|yield\" : \"|default\"\n\t\t\t\t\t\t\t\t}${optionsIdent}${objectToString(request, !cacheWithContext)}`;\n\n\t\t\t\t\t\t\t\tif (withYield) {\n\t\t\t\t\t\t\t\t\tconst activeRequest = activeRequestsWithYield.get(identifier);\n\t\t\t\t\t\t\t\t\tif (activeRequest) {\n\t\t\t\t\t\t\t\t\t\tactiveRequest[0].push(callback);\n\t\t\t\t\t\t\t\t\t\tactiveRequest[1].push(resolveContext.yield);\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst activeRequest = activeRequests.get(identifier);\n\t\t\t\t\t\t\t\t\tif (activeRequest) {\n\t\t\t\t\t\t\t\t\t\tactiveRequest.push(callback);\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst itemCache = cache.getItemCache(identifier, null);\n\t\t\t\t\t\t\t\tlet callbacks, yields;\n\t\t\t\t\t\t\t\tconst done = withYield\n\t\t\t\t\t\t\t\t\t? (err, result) => {\n\t\t\t\t\t\t\t\t\t\t\tif (callbacks === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (result)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor (const r of result) resolveContext.yield(r);\n\t\t\t\t\t\t\t\t\t\t\t\t\tcallback(null, null);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tyields = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\tcallbacks = false;\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor (const cb of callbacks) cb(err);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor (let i = 0; i < callbacks.length; i++) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst cb = callbacks[i];\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst yield_ = yields[i];\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (result) for (const r of result) yield_(r);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcb(null, null);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tactiveRequestsWithYield.delete(identifier);\n\t\t\t\t\t\t\t\t\t\t\t\tyields = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\tcallbacks = false;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t: (err, result) => {\n\t\t\t\t\t\t\t\t\t\t\tif (callbacks === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback(err, result);\n\t\t\t\t\t\t\t\t\t\t\t\tcallbacks = false;\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tfor (const callback of callbacks) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tcallback(err, result);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tactiveRequests.delete(identifier);\n\t\t\t\t\t\t\t\t\t\t\t\tcallbacks = false;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t };\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * @param {Error=} err error if any\n\t\t\t\t\t\t\t\t * @param {CacheEntry=} cacheEntry cache entry\n\t\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tconst processCacheResult = (err, cacheEntry) => {\n\t\t\t\t\t\t\t\t\tif (err) return done(err);\n\n\t\t\t\t\t\t\t\t\tif (cacheEntry) {\n\t\t\t\t\t\t\t\t\t\tconst { snapshot, result } = cacheEntry;\n\t\t\t\t\t\t\t\t\t\tfileSystemInfo.checkSnapshotValid(\n\t\t\t\t\t\t\t\t\t\t\tsnapshot,\n\t\t\t\t\t\t\t\t\t\t\t(err, valid) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err || !valid) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tcacheInvalidResolves++;\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn doRealResolve(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\titemCache,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolver,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdone\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tcachedResolves++;\n\t\t\t\t\t\t\t\t\t\t\t\tif (resolveContext.missingDependencies) {\n\t\t\t\t\t\t\t\t\t\t\t\t\taddAllToSet(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolveContext.missingDependencies,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsnapshot.getMissingIterable()\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tif (resolveContext.fileDependencies) {\n\t\t\t\t\t\t\t\t\t\t\t\t\taddAllToSet(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolveContext.fileDependencies,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsnapshot.getFileIterable()\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tif (resolveContext.contextDependencies) {\n\t\t\t\t\t\t\t\t\t\t\t\t\taddAllToSet(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolveContext.contextDependencies,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsnapshot.getContextIterable()\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tdone(null, result);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tdoRealResolve(\n\t\t\t\t\t\t\t\t\t\t\titemCache,\n\t\t\t\t\t\t\t\t\t\t\tresolver,\n\t\t\t\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\t\t\tdone\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\titemCache.get(processCacheResult);\n\t\t\t\t\t\t\t\tif (withYield && callbacks === undefined) {\n\t\t\t\t\t\t\t\t\tcallbacks = [callback];\n\t\t\t\t\t\t\t\t\tyields = [resolveContext.yield];\n\t\t\t\t\t\t\t\t\tactiveRequestsWithYield.set(\n\t\t\t\t\t\t\t\t\t\tidentifier,\n\t\t\t\t\t\t\t\t\t\t/** @type {[any, any]} */ ([callbacks, yields])\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (callbacks === undefined) {\n\t\t\t\t\t\t\t\t\tcallbacks = [callback];\n\t\t\t\t\t\t\t\t\tactiveRequests.set(identifier, callbacks);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\treturn hook;\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = ResolverCachePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/ResolverCachePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/getLazyHashedEtag.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/cache/getLazyHashedEtag.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\n\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {typeof import(\"../util/Hash\")} HashConstructor */\n\n/**\n * @typedef {Object} HashableObject\n * @property {function(Hash): void} updateHash\n */\n\nclass LazyHashedEtag {\n\t/**\n\t * @param {HashableObject} obj object with updateHash method\n\t * @param {string | HashConstructor} hashFunction the hash function to use\n\t */\n\tconstructor(obj, hashFunction = \"md4\") {\n\t\tthis._obj = obj;\n\t\tthis._hash = undefined;\n\t\tthis._hashFunction = hashFunction;\n\t}\n\n\t/**\n\t * @returns {string} hash of object\n\t */\n\ttoString() {\n\t\tif (this._hash === undefined) {\n\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\tthis._obj.updateHash(hash);\n\t\t\tthis._hash = /** @type {string} */ (hash.digest(\"base64\"));\n\t\t}\n\t\treturn this._hash;\n\t}\n}\n\n/** @type {Map<string | HashConstructor, WeakMap<HashableObject, LazyHashedEtag>>} */\nconst mapStrings = new Map();\n\n/** @type {WeakMap<HashConstructor, WeakMap<HashableObject, LazyHashedEtag>>} */\nconst mapObjects = new WeakMap();\n\n/**\n * @param {HashableObject} obj object with updateHash method\n * @param {string | HashConstructor} hashFunction the hash function to use\n * @returns {LazyHashedEtag} etag\n */\nconst getter = (obj, hashFunction = \"md4\") => {\n\tlet innerMap;\n\tif (typeof hashFunction === \"string\") {\n\t\tinnerMap = mapStrings.get(hashFunction);\n\t\tif (innerMap === undefined) {\n\t\t\tconst newHash = new LazyHashedEtag(obj, hashFunction);\n\t\t\tinnerMap = new WeakMap();\n\t\t\tinnerMap.set(obj, newHash);\n\t\t\tmapStrings.set(hashFunction, innerMap);\n\t\t\treturn newHash;\n\t\t}\n\t} else {\n\t\tinnerMap = mapObjects.get(hashFunction);\n\t\tif (innerMap === undefined) {\n\t\t\tconst newHash = new LazyHashedEtag(obj, hashFunction);\n\t\t\tinnerMap = new WeakMap();\n\t\t\tinnerMap.set(obj, newHash);\n\t\t\tmapObjects.set(hashFunction, innerMap);\n\t\t\treturn newHash;\n\t\t}\n\t}\n\tconst hash = innerMap.get(obj);\n\tif (hash !== undefined) return hash;\n\tconst newHash = new LazyHashedEtag(obj, hashFunction);\n\tinnerMap.set(obj, newHash);\n\treturn newHash;\n};\n\nmodule.exports = getter;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/getLazyHashedEtag.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cache/mergeEtags.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/cache/mergeEtags.js ***! \******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Cache\").Etag} Etag */\n\nclass MergedEtag {\n\t/**\n\t * @param {Etag} a first\n\t * @param {Etag} b second\n\t */\n\tconstructor(a, b) {\n\t\tthis.a = a;\n\t\tthis.b = b;\n\t}\n\n\ttoString() {\n\t\treturn `${this.a.toString()}|${this.b.toString()}`;\n\t}\n}\n\nconst dualObjectMap = new WeakMap();\nconst objectStringMap = new WeakMap();\n\n/**\n * @param {Etag} a first\n * @param {Etag} b second\n * @returns {Etag} result\n */\nconst mergeEtags = (a, b) => {\n\tif (typeof a === \"string\") {\n\t\tif (typeof b === \"string\") {\n\t\t\treturn `${a}|${b}`;\n\t\t} else {\n\t\t\tconst temp = b;\n\t\t\tb = a;\n\t\t\ta = temp;\n\t\t}\n\t} else {\n\t\tif (typeof b !== \"string\") {\n\t\t\t// both a and b are objects\n\t\t\tlet map = dualObjectMap.get(a);\n\t\t\tif (map === undefined) {\n\t\t\t\tdualObjectMap.set(a, (map = new WeakMap()));\n\t\t\t}\n\t\t\tconst mergedEtag = map.get(b);\n\t\t\tif (mergedEtag === undefined) {\n\t\t\t\tconst newMergedEtag = new MergedEtag(a, b);\n\t\t\t\tmap.set(b, newMergedEtag);\n\t\t\t\treturn newMergedEtag;\n\t\t\t} else {\n\t\t\t\treturn mergedEtag;\n\t\t\t}\n\t\t}\n\t}\n\t// a is object, b is string\n\tlet map = objectStringMap.get(a);\n\tif (map === undefined) {\n\t\tobjectStringMap.set(a, (map = new Map()));\n\t}\n\tconst mergedEtag = map.get(b);\n\tif (mergedEtag === undefined) {\n\t\tconst newMergedEtag = new MergedEtag(a, b);\n\t\tmap.set(b, newMergedEtag);\n\t\treturn newMergedEtag;\n\t} else {\n\t\treturn mergedEtag;\n\t}\n};\n\nmodule.exports = mergeEtags;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cache/mergeEtags.js?"); /***/ }), /***/ "./node_modules/webpack/lib/cli.js": /*!*****************************************!*\ !*** ./node_modules/webpack/lib/cli.js ***! \*****************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?6559\");\nconst webpackSchema = __webpack_require__(/*! ../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\n\n// TODO add originPath to PathItem for better errors\n/**\n * @typedef {Object} PathItem\n * @property {any} schema the part of the schema\n * @property {string} path the path in the config\n */\n\n/** @typedef {\"unknown-argument\" | \"unexpected-non-array-in-path\" | \"unexpected-non-object-in-path\" | \"multiple-values-unexpected\" | \"invalid-value\"} ProblemType */\n\n/**\n * @typedef {Object} Problem\n * @property {ProblemType} type\n * @property {string} path\n * @property {string} argument\n * @property {any=} value\n * @property {number=} index\n * @property {string=} expected\n */\n\n/**\n * @typedef {Object} LocalProblem\n * @property {ProblemType} type\n * @property {string} path\n * @property {string=} expected\n */\n\n/**\n * @typedef {Object} ArgumentConfig\n * @property {string} description\n * @property {string} [negatedDescription]\n * @property {string} path\n * @property {boolean} multiple\n * @property {\"enum\"|\"string\"|\"path\"|\"number\"|\"boolean\"|\"RegExp\"|\"reset\"} type\n * @property {any[]=} values\n */\n\n/**\n * @typedef {Object} Argument\n * @property {string} description\n * @property {\"string\"|\"number\"|\"boolean\"} simpleType\n * @property {boolean} multiple\n * @property {ArgumentConfig[]} configs\n */\n\n/**\n * @param {any=} schema a json schema to create arguments for (by default webpack schema is used)\n * @returns {Record<string, Argument>} object of arguments\n */\nconst getArguments = (schema = webpackSchema) => {\n\t/** @type {Record<string, Argument>} */\n\tconst flags = {};\n\n\tconst pathToArgumentName = input => {\n\t\treturn input\n\t\t\t.replace(/\\./g, \"-\")\n\t\t\t.replace(/\\[\\]/g, \"\")\n\t\t\t.replace(\n\t\t\t\t/(\\p{Uppercase_Letter}+|\\p{Lowercase_Letter}|\\d)(\\p{Uppercase_Letter}+)/gu,\n\t\t\t\t\"$1-$2\"\n\t\t\t)\n\t\t\t.replace(/-?[^\\p{Uppercase_Letter}\\p{Lowercase_Letter}\\d]+/gu, \"-\")\n\t\t\t.toLowerCase();\n\t};\n\n\tconst getSchemaPart = path => {\n\t\tconst newPath = path.split(\"/\");\n\n\t\tlet schemaPart = schema;\n\n\t\tfor (let i = 1; i < newPath.length; i++) {\n\t\t\tconst inner = schemaPart[newPath[i]];\n\n\t\t\tif (!inner) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tschemaPart = inner;\n\t\t}\n\n\t\treturn schemaPart;\n\t};\n\n\t/**\n\t *\n\t * @param {PathItem[]} path path in the schema\n\t * @returns {string | undefined} description\n\t */\n\tconst getDescription = path => {\n\t\tfor (const { schema } of path) {\n\t\t\tif (schema.cli) {\n\t\t\t\tif (schema.cli.helper) continue;\n\t\t\t\tif (schema.cli.description) return schema.cli.description;\n\t\t\t}\n\t\t\tif (schema.description) return schema.description;\n\t\t}\n\t};\n\n\t/**\n\t *\n\t * @param {PathItem[]} path path in the schema\n\t * @returns {string | undefined} negative description\n\t */\n\tconst getNegatedDescription = path => {\n\t\tfor (const { schema } of path) {\n\t\t\tif (schema.cli) {\n\t\t\t\tif (schema.cli.helper) continue;\n\t\t\t\tif (schema.cli.negatedDescription) return schema.cli.negatedDescription;\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n\t *\n\t * @param {PathItem[]} path path in the schema\n\t * @returns {string | undefined} reset description\n\t */\n\tconst getResetDescription = path => {\n\t\tfor (const { schema } of path) {\n\t\t\tif (schema.cli) {\n\t\t\t\tif (schema.cli.helper) continue;\n\t\t\t\tif (schema.cli.resetDescription) return schema.cli.resetDescription;\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n\t *\n\t * @param {any} schemaPart schema\n\t * @returns {Pick<ArgumentConfig, \"type\"|\"values\">} partial argument config\n\t */\n\tconst schemaToArgumentConfig = schemaPart => {\n\t\tif (schemaPart.enum) {\n\t\t\treturn {\n\t\t\t\ttype: \"enum\",\n\t\t\t\tvalues: schemaPart.enum\n\t\t\t};\n\t\t}\n\t\tswitch (schemaPart.type) {\n\t\t\tcase \"number\":\n\t\t\t\treturn {\n\t\t\t\t\ttype: \"number\"\n\t\t\t\t};\n\t\t\tcase \"string\":\n\t\t\t\treturn {\n\t\t\t\t\ttype: schemaPart.absolutePath ? \"path\" : \"string\"\n\t\t\t\t};\n\t\t\tcase \"boolean\":\n\t\t\t\treturn {\n\t\t\t\t\ttype: \"boolean\"\n\t\t\t\t};\n\t\t}\n\t\tif (schemaPart.instanceof === \"RegExp\") {\n\t\t\treturn {\n\t\t\t\ttype: \"RegExp\"\n\t\t\t};\n\t\t}\n\t\treturn undefined;\n\t};\n\n\t/**\n\t * @param {PathItem[]} path path in the schema\n\t * @returns {void}\n\t */\n\tconst addResetFlag = path => {\n\t\tconst schemaPath = path[0].path;\n\t\tconst name = pathToArgumentName(`${schemaPath}.reset`);\n\t\tconst description =\n\t\t\tgetResetDescription(path) ||\n\t\t\t`Clear all items provided in '${schemaPath}' configuration. ${getDescription(\n\t\t\t\tpath\n\t\t\t)}`;\n\t\tflags[name] = {\n\t\t\tconfigs: [\n\t\t\t\t{\n\t\t\t\t\ttype: \"reset\",\n\t\t\t\t\tmultiple: false,\n\t\t\t\t\tdescription,\n\t\t\t\t\tpath: schemaPath\n\t\t\t\t}\n\t\t\t],\n\t\t\tdescription: undefined,\n\t\t\tsimpleType: undefined,\n\t\t\tmultiple: undefined\n\t\t};\n\t};\n\n\t/**\n\t * @param {PathItem[]} path full path in schema\n\t * @param {boolean} multiple inside of an array\n\t * @returns {number} number of arguments added\n\t */\n\tconst addFlag = (path, multiple) => {\n\t\tconst argConfigBase = schemaToArgumentConfig(path[0].schema);\n\t\tif (!argConfigBase) return 0;\n\n\t\tconst negatedDescription = getNegatedDescription(path);\n\t\tconst name = pathToArgumentName(path[0].path);\n\t\t/** @type {ArgumentConfig} */\n\t\tconst argConfig = {\n\t\t\t...argConfigBase,\n\t\t\tmultiple,\n\t\t\tdescription: getDescription(path),\n\t\t\tpath: path[0].path\n\t\t};\n\n\t\tif (negatedDescription) {\n\t\t\targConfig.negatedDescription = negatedDescription;\n\t\t}\n\n\t\tif (!flags[name]) {\n\t\t\tflags[name] = {\n\t\t\t\tconfigs: [],\n\t\t\t\tdescription: undefined,\n\t\t\t\tsimpleType: undefined,\n\t\t\t\tmultiple: undefined\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tflags[name].configs.some(\n\t\t\t\titem => JSON.stringify(item) === JSON.stringify(argConfig)\n\t\t\t)\n\t\t) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tif (\n\t\t\tflags[name].configs.some(\n\t\t\t\titem => item.type === argConfig.type && item.multiple !== multiple\n\t\t\t)\n\t\t) {\n\t\t\tif (multiple) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Conflicting schema for ${path[0].path} with ${argConfig.type} type (array type must be before single item type)`\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\n\t\tflags[name].configs.push(argConfig);\n\n\t\treturn 1;\n\t};\n\n\t// TODO support `not` and `if/then/else`\n\t// TODO support `const`, but we don't use it on our schema\n\t/**\n\t *\n\t * @param {object} schemaPart the current schema\n\t * @param {string} schemaPath the current path in the schema\n\t * @param {{schema: object, path: string}[]} path all previous visited schemaParts\n\t * @param {string | null} inArray if inside of an array, the path to the array\n\t * @returns {number} added arguments\n\t */\n\tconst traverse = (schemaPart, schemaPath = \"\", path = [], inArray = null) => {\n\t\twhile (schemaPart.$ref) {\n\t\t\tschemaPart = getSchemaPart(schemaPart.$ref);\n\t\t}\n\n\t\tconst repetitions = path.filter(({ schema }) => schema === schemaPart);\n\t\tif (\n\t\t\trepetitions.length >= 2 ||\n\t\t\trepetitions.some(({ path }) => path === schemaPath)\n\t\t) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tif (schemaPart.cli && schemaPart.cli.exclude) return 0;\n\n\t\tconst fullPath = [{ schema: schemaPart, path: schemaPath }, ...path];\n\n\t\tlet addedArguments = 0;\n\n\t\taddedArguments += addFlag(fullPath, !!inArray);\n\n\t\tif (schemaPart.type === \"object\") {\n\t\t\tif (schemaPart.properties) {\n\t\t\t\tfor (const property of Object.keys(schemaPart.properties)) {\n\t\t\t\t\taddedArguments += traverse(\n\t\t\t\t\t\tschemaPart.properties[property],\n\t\t\t\t\t\tschemaPath ? `${schemaPath}.${property}` : property,\n\t\t\t\t\t\tfullPath,\n\t\t\t\t\t\tinArray\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn addedArguments;\n\t\t}\n\n\t\tif (schemaPart.type === \"array\") {\n\t\t\tif (inArray) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tif (Array.isArray(schemaPart.items)) {\n\t\t\t\tlet i = 0;\n\t\t\t\tfor (const item of schemaPart.items) {\n\t\t\t\t\taddedArguments += traverse(\n\t\t\t\t\t\titem,\n\t\t\t\t\t\t`${schemaPath}.${i}`,\n\t\t\t\t\t\tfullPath,\n\t\t\t\t\t\tschemaPath\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn addedArguments;\n\t\t\t}\n\n\t\t\taddedArguments += traverse(\n\t\t\t\tschemaPart.items,\n\t\t\t\t`${schemaPath}[]`,\n\t\t\t\tfullPath,\n\t\t\t\tschemaPath\n\t\t\t);\n\n\t\t\tif (addedArguments > 0) {\n\t\t\t\taddResetFlag(fullPath);\n\t\t\t\taddedArguments++;\n\t\t\t}\n\n\t\t\treturn addedArguments;\n\t\t}\n\n\t\tconst maybeOf = schemaPart.oneOf || schemaPart.anyOf || schemaPart.allOf;\n\n\t\tif (maybeOf) {\n\t\t\tconst items = maybeOf;\n\n\t\t\tfor (let i = 0; i < items.length; i++) {\n\t\t\t\taddedArguments += traverse(items[i], schemaPath, fullPath, inArray);\n\t\t\t}\n\n\t\t\treturn addedArguments;\n\t\t}\n\n\t\treturn addedArguments;\n\t};\n\n\ttraverse(schema);\n\n\t// Summarize flags\n\tfor (const name of Object.keys(flags)) {\n\t\tconst argument = flags[name];\n\t\targument.description = argument.configs.reduce((desc, { description }) => {\n\t\t\tif (!desc) return description;\n\t\t\tif (!description) return desc;\n\t\t\tif (desc.includes(description)) return desc;\n\t\t\treturn `${desc} ${description}`;\n\t\t}, /** @type {string | undefined} */ (undefined));\n\t\targument.simpleType = argument.configs.reduce((t, argConfig) => {\n\t\t\t/** @type {\"string\" | \"number\" | \"boolean\"} */\n\t\t\tlet type = \"string\";\n\t\t\tswitch (argConfig.type) {\n\t\t\t\tcase \"number\":\n\t\t\t\t\ttype = \"number\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"reset\":\n\t\t\t\tcase \"boolean\":\n\t\t\t\t\ttype = \"boolean\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"enum\":\n\t\t\t\t\tif (argConfig.values.every(v => typeof v === \"boolean\"))\n\t\t\t\t\t\ttype = \"boolean\";\n\t\t\t\t\tif (argConfig.values.every(v => typeof v === \"number\"))\n\t\t\t\t\t\ttype = \"number\";\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (t === undefined) return type;\n\t\t\treturn t === type ? t : \"string\";\n\t\t}, /** @type {\"string\" | \"number\" | \"boolean\" | undefined} */ (undefined));\n\t\targument.multiple = argument.configs.some(c => c.multiple);\n\t}\n\n\treturn flags;\n};\n\nconst cliAddedItems = new WeakMap();\n\n/**\n * @param {any} config configuration\n * @param {string} schemaPath path in the config\n * @param {number | undefined} index index of value when multiple values are provided, otherwise undefined\n * @returns {{ problem?: LocalProblem, object?: any, property?: string | number, value?: any }} problem or object with property and value\n */\nconst getObjectAndProperty = (config, schemaPath, index = 0) => {\n\tif (!schemaPath) return { value: config };\n\tconst parts = schemaPath.split(\".\");\n\tlet property = parts.pop();\n\tlet current = config;\n\tlet i = 0;\n\tfor (const part of parts) {\n\t\tconst isArray = part.endsWith(\"[]\");\n\t\tconst name = isArray ? part.slice(0, -2) : part;\n\t\tlet value = current[name];\n\t\tif (isArray) {\n\t\t\tif (value === undefined) {\n\t\t\t\tvalue = {};\n\t\t\t\tcurrent[name] = [...Array.from({ length: index }), value];\n\t\t\t\tcliAddedItems.set(current[name], index + 1);\n\t\t\t} else if (!Array.isArray(value)) {\n\t\t\t\treturn {\n\t\t\t\t\tproblem: {\n\t\t\t\t\t\ttype: \"unexpected-non-array-in-path\",\n\t\t\t\t\t\tpath: parts.slice(0, i).join(\".\")\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tlet addedItems = cliAddedItems.get(value) || 0;\n\t\t\t\twhile (addedItems <= index) {\n\t\t\t\t\tvalue.push(undefined);\n\t\t\t\t\taddedItems++;\n\t\t\t\t}\n\t\t\t\tcliAddedItems.set(value, addedItems);\n\t\t\t\tconst x = value.length - addedItems + index;\n\t\t\t\tif (value[x] === undefined) {\n\t\t\t\t\tvalue[x] = {};\n\t\t\t\t} else if (value[x] === null || typeof value[x] !== \"object\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tproblem: {\n\t\t\t\t\t\t\ttype: \"unexpected-non-object-in-path\",\n\t\t\t\t\t\t\tpath: parts.slice(0, i).join(\".\")\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tvalue = value[x];\n\t\t\t}\n\t\t} else {\n\t\t\tif (value === undefined) {\n\t\t\t\tvalue = current[name] = {};\n\t\t\t} else if (value === null || typeof value !== \"object\") {\n\t\t\t\treturn {\n\t\t\t\t\tproblem: {\n\t\t\t\t\t\ttype: \"unexpected-non-object-in-path\",\n\t\t\t\t\t\tpath: parts.slice(0, i).join(\".\")\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tcurrent = value;\n\t\ti++;\n\t}\n\tlet value = current[property];\n\tif (property.endsWith(\"[]\")) {\n\t\tconst name = property.slice(0, -2);\n\t\tconst value = current[name];\n\t\tif (value === undefined) {\n\t\t\tcurrent[name] = [...Array.from({ length: index }), undefined];\n\t\t\tcliAddedItems.set(current[name], index + 1);\n\t\t\treturn { object: current[name], property: index, value: undefined };\n\t\t} else if (!Array.isArray(value)) {\n\t\t\tcurrent[name] = [value, ...Array.from({ length: index }), undefined];\n\t\t\tcliAddedItems.set(current[name], index + 1);\n\t\t\treturn { object: current[name], property: index + 1, value: undefined };\n\t\t} else {\n\t\t\tlet addedItems = cliAddedItems.get(value) || 0;\n\t\t\twhile (addedItems <= index) {\n\t\t\t\tvalue.push(undefined);\n\t\t\t\taddedItems++;\n\t\t\t}\n\t\t\tcliAddedItems.set(value, addedItems);\n\t\t\tconst x = value.length - addedItems + index;\n\t\t\tif (value[x] === undefined) {\n\t\t\t\tvalue[x] = {};\n\t\t\t} else if (value[x] === null || typeof value[x] !== \"object\") {\n\t\t\t\treturn {\n\t\t\t\t\tproblem: {\n\t\t\t\t\t\ttype: \"unexpected-non-object-in-path\",\n\t\t\t\t\t\tpath: schemaPath\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tobject: value,\n\t\t\t\tproperty: x,\n\t\t\t\tvalue: value[x]\n\t\t\t};\n\t\t}\n\t}\n\treturn { object: current, property, value };\n};\n\n/**\n * @param {any} config configuration\n * @param {string} schemaPath path in the config\n * @param {any} value parsed value\n * @param {number | undefined} index index of value when multiple values are provided, otherwise undefined\n * @returns {LocalProblem | null} problem or null for success\n */\nconst setValue = (config, schemaPath, value, index) => {\n\tconst { problem, object, property } = getObjectAndProperty(\n\t\tconfig,\n\t\tschemaPath,\n\t\tindex\n\t);\n\tif (problem) return problem;\n\tobject[property] = value;\n\treturn null;\n};\n\n/**\n * @param {ArgumentConfig} argConfig processing instructions\n * @param {any} config configuration\n * @param {any} value the value\n * @param {number | undefined} index the index if multiple values provided\n * @returns {LocalProblem | null} a problem if any\n */\nconst processArgumentConfig = (argConfig, config, value, index) => {\n\tif (index !== undefined && !argConfig.multiple) {\n\t\treturn {\n\t\t\ttype: \"multiple-values-unexpected\",\n\t\t\tpath: argConfig.path\n\t\t};\n\t}\n\tconst parsed = parseValueForArgumentConfig(argConfig, value);\n\tif (parsed === undefined) {\n\t\treturn {\n\t\t\ttype: \"invalid-value\",\n\t\t\tpath: argConfig.path,\n\t\t\texpected: getExpectedValue(argConfig)\n\t\t};\n\t}\n\tconst problem = setValue(config, argConfig.path, parsed, index);\n\tif (problem) return problem;\n\treturn null;\n};\n\n/**\n * @param {ArgumentConfig} argConfig processing instructions\n * @returns {string | undefined} expected message\n */\nconst getExpectedValue = argConfig => {\n\tswitch (argConfig.type) {\n\t\tdefault:\n\t\t\treturn argConfig.type;\n\t\tcase \"boolean\":\n\t\t\treturn \"true | false\";\n\t\tcase \"RegExp\":\n\t\t\treturn \"regular expression (example: /ab?c*/)\";\n\t\tcase \"enum\":\n\t\t\treturn argConfig.values.map(v => `${v}`).join(\" | \");\n\t\tcase \"reset\":\n\t\t\treturn \"true (will reset the previous value to an empty array)\";\n\t}\n};\n\n/**\n * @param {ArgumentConfig} argConfig processing instructions\n * @param {any} value the value\n * @returns {any | undefined} parsed value\n */\nconst parseValueForArgumentConfig = (argConfig, value) => {\n\tswitch (argConfig.type) {\n\t\tcase \"string\":\n\t\t\tif (typeof value === \"string\") {\n\t\t\t\treturn value;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"path\":\n\t\t\tif (typeof value === \"string\") {\n\t\t\t\treturn path.resolve(value);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"number\":\n\t\t\tif (typeof value === \"number\") return value;\n\t\t\tif (typeof value === \"string\" && /^[+-]?\\d*(\\.\\d*)[eE]\\d+$/) {\n\t\t\t\tconst n = +value;\n\t\t\t\tif (!isNaN(n)) return n;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"boolean\":\n\t\t\tif (typeof value === \"boolean\") return value;\n\t\t\tif (value === \"true\") return true;\n\t\t\tif (value === \"false\") return false;\n\t\t\tbreak;\n\t\tcase \"RegExp\":\n\t\t\tif (value instanceof RegExp) return value;\n\t\t\tif (typeof value === \"string\") {\n\t\t\t\t// cspell:word yugi\n\t\t\t\tconst match = /^\\/(.*)\\/([yugi]*)$/.exec(value);\n\t\t\t\tif (match && !/[^\\\\]\\//.test(match[1]))\n\t\t\t\t\treturn new RegExp(match[1], match[2]);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"enum\":\n\t\t\tif (argConfig.values.includes(value)) return value;\n\t\t\tfor (const item of argConfig.values) {\n\t\t\t\tif (`${item}` === value) return item;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"reset\":\n\t\t\tif (value === true) return [];\n\t\t\tbreak;\n\t}\n};\n\n/**\n * @param {Record<string, Argument>} args object of arguments\n * @param {any} config configuration\n * @param {Record<string, string | number | boolean | RegExp | (string | number | boolean | RegExp)[]>} values object with values\n * @returns {Problem[] | null} problems or null for success\n */\nconst processArguments = (args, config, values) => {\n\t/** @type {Problem[]} */\n\tconst problems = [];\n\tfor (const key of Object.keys(values)) {\n\t\tconst arg = args[key];\n\t\tif (!arg) {\n\t\t\tproblems.push({\n\t\t\t\ttype: \"unknown-argument\",\n\t\t\t\tpath: \"\",\n\t\t\t\targument: key\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tconst processValue = (value, i) => {\n\t\t\tconst currentProblems = [];\n\t\t\tfor (const argConfig of arg.configs) {\n\t\t\t\tconst problem = processArgumentConfig(argConfig, config, value, i);\n\t\t\t\tif (!problem) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcurrentProblems.push({\n\t\t\t\t\t...problem,\n\t\t\t\t\targument: key,\n\t\t\t\t\tvalue: value,\n\t\t\t\t\tindex: i\n\t\t\t\t});\n\t\t\t}\n\t\t\tproblems.push(...currentProblems);\n\t\t};\n\t\tlet value = values[key];\n\t\tif (Array.isArray(value)) {\n\t\t\tfor (let i = 0; i < value.length; i++) {\n\t\t\t\tprocessValue(value[i], i);\n\t\t\t}\n\t\t} else {\n\t\t\tprocessValue(value, undefined);\n\t\t}\n\t}\n\tif (problems.length === 0) return null;\n\treturn problems;\n};\n\nexports.getArguments = getArguments;\nexports.processArguments = processArguments;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/cli.js?"); /***/ }), /***/ "./node_modules/webpack/lib/config/browserslistTargetHandler.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/config/browserslistTargetHandler.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst browserslist = __webpack_require__(/*! browserslist */ \"./node_modules/browserslist/index.js\");\nconst path = __webpack_require__(/*! path */ \"?a2bb\");\n\n/** @typedef {import(\"./target\").ApiTargetProperties} ApiTargetProperties */\n/** @typedef {import(\"./target\").EcmaTargetProperties} EcmaTargetProperties */\n/** @typedef {import(\"./target\").PlatformTargetProperties} PlatformTargetProperties */\n\n// [[C:]/path/to/config][:env]\nconst inputRx = /^(?:((?:[A-Z]:)?[/\\\\].*?))?(?::(.+?))?$/i;\n\n/**\n * @typedef {Object} BrowserslistHandlerConfig\n * @property {string=} configPath\n * @property {string=} env\n * @property {string=} query\n */\n\n/**\n * @param {string} input input string\n * @param {string} context the context directory\n * @returns {BrowserslistHandlerConfig} config\n */\nconst parse = (input, context) => {\n\tif (!input) {\n\t\treturn {};\n\t}\n\n\tif (path.isAbsolute(input)) {\n\t\tconst [, configPath, env] = inputRx.exec(input) || [];\n\t\treturn { configPath, env };\n\t}\n\n\tconst config = browserslist.findConfig(context);\n\n\tif (config && Object.keys(config).includes(input)) {\n\t\treturn { env: input };\n\t}\n\n\treturn { query: input };\n};\n\n/**\n * @param {string} input input string\n * @param {string} context the context directory\n * @returns {string[] | undefined} selected browsers\n */\nconst load = (input, context) => {\n\tconst { configPath, env, query } = parse(input, context);\n\n\t// if a query is specified, then use it, else\n\t// if a path to a config is specified then load it, else\n\t// find a nearest config\n\tconst config = query\n\t\t? query\n\t\t: configPath\n\t\t? browserslist.loadConfig({\n\t\t\t\tconfig: configPath,\n\t\t\t\tenv\n\t\t })\n\t\t: browserslist.loadConfig({ path: context, env });\n\n\tif (!config) return null;\n\treturn browserslist(config);\n};\n\n/**\n * @param {string[]} browsers supported browsers list\n * @returns {EcmaTargetProperties & PlatformTargetProperties & ApiTargetProperties} target properties\n */\nconst resolve = browsers => {\n\t/**\n\t * Checks all against a version number\n\t * @param {Record<string, number | [number, number]>} versions first supported version\n\t * @returns {boolean} true if supports\n\t */\n\tconst rawChecker = versions => {\n\t\treturn browsers.every(v => {\n\t\t\tconst [name, parsedVersion] = v.split(\" \");\n\t\t\tif (!name) return false;\n\t\t\tconst requiredVersion = versions[name];\n\t\t\tif (!requiredVersion) return false;\n\t\t\tconst [parsedMajor, parserMinor] =\n\t\t\t\t// safari TP supports all features for normal safari\n\t\t\t\tparsedVersion === \"TP\"\n\t\t\t\t\t? [Infinity, Infinity]\n\t\t\t\t\t: parsedVersion.split(\".\");\n\t\t\tif (typeof requiredVersion === \"number\") {\n\t\t\t\treturn +parsedMajor >= requiredVersion;\n\t\t\t}\n\t\t\treturn requiredVersion[0] === +parsedMajor\n\t\t\t\t? +parserMinor >= requiredVersion[1]\n\t\t\t\t: +parsedMajor > requiredVersion[0];\n\t\t});\n\t};\n\tconst anyNode = browsers.some(b => /^node /.test(b));\n\tconst anyBrowser = browsers.some(b => /^(?!node)/.test(b));\n\tconst browserProperty = !anyBrowser ? false : anyNode ? null : true;\n\tconst nodeProperty = !anyNode ? false : anyBrowser ? null : true;\n\t// Internet Explorer Mobile, Blackberry browser and Opera Mini are very old browsers, they do not support new features\n\tconst es6DynamicImport = rawChecker({\n\t\tchrome: 63,\n\t\tand_chr: 63,\n\t\tedge: 79,\n\t\tfirefox: 67,\n\t\tand_ff: 67,\n\t\t// ie: Not supported\n\t\topera: 50,\n\t\top_mob: 46,\n\t\tsafari: [11, 1],\n\t\tios_saf: [11, 3],\n\t\tsamsung: [8, 2],\n\t\tandroid: 63,\n\t\tand_qq: [10, 4],\n\t\t// baidu: Not supported\n\t\t// and_uc: Not supported\n\t\t// kaios: Not supported\n\t\tnode: [12, 17]\n\t});\n\n\treturn {\n\t\tconst: rawChecker({\n\t\t\tchrome: 49,\n\t\t\tand_chr: 49,\n\t\t\tedge: 12,\n\t\t\t// Prior to Firefox 13, <code>const</code> is implemented, but re-assignment is not failing.\n\t\t\t// Prior to Firefox 46, a <code>TypeError</code> was thrown on redeclaration instead of a <code>SyntaxError</code>.\n\t\t\tfirefox: 36,\n\t\t\tand_ff: 36,\n\t\t\t// Not supported in for-in and for-of loops\n\t\t\t// ie: Not supported\n\t\t\topera: 36,\n\t\t\top_mob: 36,\n\t\t\tsafari: [10, 0],\n\t\t\tios_saf: [10, 0],\n\t\t\t// Before 5.0 supported correctly in strict mode, otherwise supported without block scope\n\t\t\tsamsung: [5, 0],\n\t\t\tandroid: 37,\n\t\t\tand_qq: [10, 4],\n\t\t\t// Supported correctly in strict mode, otherwise supported without block scope\n\t\t\t// baidu: Not supported\n\t\t\tand_uc: [12, 12],\n\t\t\tkaios: [2, 5],\n\t\t\tnode: [6, 0]\n\t\t}),\n\t\tarrowFunction: rawChecker({\n\t\t\tchrome: 45,\n\t\t\tand_chr: 45,\n\t\t\tedge: 12,\n\t\t\t// The initial implementation of arrow functions in Firefox made them automatically strict. This has been changed as of Firefox 24. The use of <code>'use strict';</code> is now required.\n\t\t\t// Prior to Firefox 39, a line terminator (<code>\\\\n</code>) was incorrectly allowed after arrow function arguments. This has been fixed to conform to the ES2015 specification and code like <code>() \\\\n => {}</code> will now throw a <code>SyntaxError</code> in this and later versions.\n\t\t\tfirefox: 39,\n\t\t\tand_ff: 39,\n\t\t\t// ie: Not supported,\n\t\t\topera: 32,\n\t\t\top_mob: 32,\n\t\t\tsafari: 10,\n\t\t\tios_saf: 10,\n\t\t\tsamsung: [5, 0],\n\t\t\tandroid: 45,\n\t\t\tand_qq: [10, 4],\n\t\t\tbaidu: [7, 12],\n\t\t\tand_uc: [12, 12],\n\t\t\tkaios: [2, 5],\n\t\t\tnode: [6, 0]\n\t\t}),\n\t\tforOf: rawChecker({\n\t\t\tchrome: 38,\n\t\t\tand_chr: 38,\n\t\t\tedge: 12,\n\t\t\t// Prior to Firefox 51, using the for...of loop construct with the const keyword threw a SyntaxError (\"missing = in const declaration\").\n\t\t\tfirefox: 51,\n\t\t\tand_ff: 51,\n\t\t\t// ie: Not supported,\n\t\t\topera: 25,\n\t\t\top_mob: 25,\n\t\t\tsafari: 7,\n\t\t\tios_saf: 7,\n\t\t\tsamsung: [3, 0],\n\t\t\tandroid: 38,\n\t\t\t// and_qq: Unknown support\n\t\t\t// baidu: Unknown support\n\t\t\t// and_uc: Unknown support\n\t\t\t// kaios: Unknown support\n\t\t\tnode: [0, 12]\n\t\t}),\n\t\tdestructuring: rawChecker({\n\t\t\tchrome: 49,\n\t\t\tand_chr: 49,\n\t\t\tedge: 14,\n\t\t\tfirefox: 41,\n\t\t\tand_ff: 41,\n\t\t\t// ie: Not supported,\n\t\t\topera: 36,\n\t\t\top_mob: 36,\n\t\t\tsafari: 8,\n\t\t\tios_saf: 8,\n\t\t\tsamsung: [5, 0],\n\t\t\tandroid: 49,\n\t\t\t// and_qq: Unknown support\n\t\t\t// baidu: Unknown support\n\t\t\t// and_uc: Unknown support\n\t\t\t// kaios: Unknown support\n\t\t\tnode: [6, 0]\n\t\t}),\n\t\tbigIntLiteral: rawChecker({\n\t\t\tchrome: 67,\n\t\t\tand_chr: 67,\n\t\t\tedge: 79,\n\t\t\tfirefox: 68,\n\t\t\tand_ff: 68,\n\t\t\t// ie: Not supported,\n\t\t\topera: 54,\n\t\t\top_mob: 48,\n\t\t\tsafari: 14,\n\t\t\tios_saf: 14,\n\t\t\tsamsung: [9, 2],\n\t\t\tandroid: 67,\n\t\t\t// and_qq: Not supported\n\t\t\t// baidu: Not supported\n\t\t\t// and_uc: Not supported\n\t\t\t// kaios: Not supported\n\t\t\tnode: [10, 4]\n\t\t}),\n\t\t// Support syntax `import` and `export` and no limitations and bugs on Node.js\n\t\t// Not include `export * as namespace`\n\t\tmodule: rawChecker({\n\t\t\tchrome: 61,\n\t\t\tand_chr: 61,\n\t\t\tedge: 16,\n\t\t\tfirefox: 60,\n\t\t\tand_ff: 60,\n\t\t\t// ie: Not supported,\n\t\t\topera: 48,\n\t\t\top_mob: 45,\n\t\t\tsafari: [10, 1],\n\t\t\tios_saf: [10, 3],\n\t\t\tsamsung: [8, 0],\n\t\t\tandroid: 61,\n\t\t\tand_qq: [10, 4],\n\t\t\t// baidu: Not supported\n\t\t\t// and_uc: Not supported\n\t\t\t// kaios: Not supported\n\t\t\tnode: [12, 17]\n\t\t}),\n\t\tdynamicImport: es6DynamicImport,\n\t\tdynamicImportInWorker: es6DynamicImport && !anyNode,\n\t\t// browserslist does not have info about globalThis\n\t\t// so this is based on mdn-browser-compat-data\n\t\tglobalThis: rawChecker({\n\t\t\tchrome: 71,\n\t\t\tand_chr: 71,\n\t\t\tedge: 79,\n\t\t\tfirefox: 65,\n\t\t\tand_ff: 65,\n\t\t\t// ie: Not supported,\n\t\t\topera: 58,\n\t\t\top_mob: 50,\n\t\t\tsafari: [12, 1],\n\t\t\tios_saf: [12, 2],\n\t\t\tsamsung: [10, 1],\n\t\t\tandroid: 71,\n\t\t\t// and_qq: Unknown support\n\t\t\t// baidu: Unknown support\n\t\t\t// and_uc: Unknown support\n\t\t\t// kaios: Unknown support\n\t\t\tnode: 12\n\t\t}),\n\t\toptionalChaining: rawChecker({\n\t\t\tchrome: 80,\n\t\t\tand_chr: 80,\n\t\t\tedge: 80,\n\t\t\tfirefox: 74,\n\t\t\tand_ff: 79,\n\t\t\t// ie: Not supported,\n\t\t\topera: 67,\n\t\t\top_mob: 64,\n\t\t\tsafari: [13, 1],\n\t\t\tios_saf: [13, 4],\n\t\t\tsamsung: 13,\n\t\t\tandroid: 80,\n\t\t\t// and_qq: Not supported\n\t\t\t// baidu: Not supported\n\t\t\t// and_uc: Not supported\n\t\t\t// kaios: Not supported\n\t\t\tnode: 14\n\t\t}),\n\t\ttemplateLiteral: rawChecker({\n\t\t\tchrome: 41,\n\t\t\tand_chr: 41,\n\t\t\tedge: 13,\n\t\t\tfirefox: 34,\n\t\t\tand_ff: 34,\n\t\t\t// ie: Not supported,\n\t\t\topera: 29,\n\t\t\top_mob: 64,\n\t\t\tsafari: [9, 1],\n\t\t\tios_saf: 9,\n\t\t\tsamsung: 4,\n\t\t\tandroid: 41,\n\t\t\tand_qq: [10, 4],\n\t\t\tbaidu: [7, 12],\n\t\t\tand_uc: [12, 12],\n\t\t\tkaios: [2, 5],\n\t\t\tnode: 4\n\t\t}),\n\t\tbrowser: browserProperty,\n\t\telectron: false,\n\t\tnode: nodeProperty,\n\t\tnwjs: false,\n\t\tweb: browserProperty,\n\t\twebworker: false,\n\n\t\tdocument: browserProperty,\n\t\tfetchWasm: browserProperty,\n\t\tglobal: nodeProperty,\n\t\timportScripts: false,\n\t\timportScriptsInWorker: true,\n\t\tnodeBuiltins: nodeProperty,\n\t\trequire: nodeProperty\n\t};\n};\n\nmodule.exports = {\n\tresolve,\n\tload\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/config/browserslistTargetHandler.js?"); /***/ }), /***/ "./node_modules/webpack/lib/config/defaults.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/config/defaults.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("var __dirname = \"/\";\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst fs = __webpack_require__(/*! fs */ \"?ed64\");\nconst path = __webpack_require__(/*! path */ \"?a2bb\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { cleverMerge } = __webpack_require__(/*! ../util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst {\n\tgetTargetsProperties,\n\tgetTargetProperties,\n\tgetDefaultTarget\n} = __webpack_require__(/*! ./target */ \"./node_modules/webpack/lib/config/target.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").CacheOptionsNormalized} CacheOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").CssExperimentOptions} CssExperimentOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").EntryDescription} EntryDescription */\n/** @typedef {import(\"../../declarations/WebpackOptions\").EntryNormalized} Entry */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Experiments} Experiments */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ExperimentsNormalized} ExperimentsNormalized */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ExternalsPresets} ExternalsPresets */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ExternalsType} ExternalsType */\n/** @typedef {import(\"../../declarations/WebpackOptions\").InfrastructureLogging} InfrastructureLogging */\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Library} Library */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryName} LibraryName */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Loader} Loader */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Mode} Mode */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ModuleOptionsNormalized} ModuleOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Node} WebpackNode */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Optimization} Optimization */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OutputNormalized} Output */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Performance} Performance */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").RuleSetRules} RuleSetRules */\n/** @typedef {import(\"../../declarations/WebpackOptions\").SnapshotOptions} SnapshotOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Target} Target */\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"./target\").TargetProperties} TargetProperties */\n\nconst NODE_MODULES_REGEXP = /[\\\\/]node_modules[\\\\/]/i;\n\n/**\n * Sets a constant default value when undefined\n * @template T\n * @template {keyof T} P\n * @param {T} obj an object\n * @param {P} prop a property of this object\n * @param {T[P]} value a default value of the property\n * @returns {void}\n */\nconst D = (obj, prop, value) => {\n\tif (obj[prop] === undefined) {\n\t\tobj[prop] = value;\n\t}\n};\n\n/**\n * Sets a dynamic default value when undefined, by calling the factory function\n * @template T\n * @template {keyof T} P\n * @param {T} obj an object\n * @param {P} prop a property of this object\n * @param {function(): T[P]} factory a default value factory for the property\n * @returns {void}\n */\nconst F = (obj, prop, factory) => {\n\tif (obj[prop] === undefined) {\n\t\tobj[prop] = factory();\n\t}\n};\n\n/**\n * Sets a dynamic default value when undefined, by calling the factory function.\n * factory must return an array or undefined\n * When the current value is already an array an contains \"...\" it's replaced with\n * the result of the factory function\n * @template T\n * @template {keyof T} P\n * @param {T} obj an object\n * @param {P} prop a property of this object\n * @param {function(): T[P]} factory a default value factory for the property\n * @returns {void}\n */\nconst A = (obj, prop, factory) => {\n\tconst value = obj[prop];\n\tif (value === undefined) {\n\t\tobj[prop] = factory();\n\t} else if (Array.isArray(value)) {\n\t\t/** @type {any[]} */\n\t\tlet newArray = undefined;\n\t\tfor (let i = 0; i < value.length; i++) {\n\t\t\tconst item = value[i];\n\t\t\tif (item === \"...\") {\n\t\t\t\tif (newArray === undefined) {\n\t\t\t\t\tnewArray = value.slice(0, i);\n\t\t\t\t\tobj[prop] = /** @type {T[P]} */ (/** @type {unknown} */ (newArray));\n\t\t\t\t}\n\t\t\t\tconst items = /** @type {any[]} */ (/** @type {unknown} */ (factory()));\n\t\t\t\tif (items !== undefined) {\n\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\tnewArray.push(item);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (newArray !== undefined) {\n\t\t\t\tnewArray.push(item);\n\t\t\t}\n\t\t}\n\t}\n};\n\n/**\n * @param {WebpackOptions} options options to be modified\n * @returns {void}\n */\nconst applyWebpackOptionsBaseDefaults = options => {\n\tF(options, \"context\", () => process.cwd());\n\tapplyInfrastructureLoggingDefaults(options.infrastructureLogging);\n};\n\n/**\n * @param {WebpackOptions} options options to be modified\n * @returns {void}\n */\nconst applyWebpackOptionsDefaults = options => {\n\tF(options, \"context\", () => process.cwd());\n\tF(options, \"target\", () => {\n\t\treturn getDefaultTarget(options.context);\n\t});\n\n\tconst { mode, name, target } = options;\n\n\tlet targetProperties =\n\t\ttarget === false\n\t\t\t? /** @type {false} */ (false)\n\t\t\t: typeof target === \"string\"\n\t\t\t? getTargetProperties(target, options.context)\n\t\t\t: getTargetsProperties(target, options.context);\n\n\tconst development = mode === \"development\";\n\tconst production = mode === \"production\" || !mode;\n\n\tif (typeof options.entry !== \"function\") {\n\t\tfor (const key of Object.keys(options.entry)) {\n\t\t\tF(\n\t\t\t\toptions.entry[key],\n\t\t\t\t\"import\",\n\t\t\t\t() => /** @type {[string]} */ ([\"./src\"])\n\t\t\t);\n\t\t}\n\t}\n\n\tF(options, \"devtool\", () => (development ? \"eval\" : false));\n\tD(options, \"watch\", false);\n\tD(options, \"profile\", false);\n\tD(options, \"parallelism\", 100);\n\tD(options, \"recordsInputPath\", false);\n\tD(options, \"recordsOutputPath\", false);\n\n\tapplyExperimentsDefaults(options.experiments, {\n\t\tproduction,\n\t\tdevelopment,\n\t\ttargetProperties\n\t});\n\n\tconst futureDefaults = options.experiments.futureDefaults;\n\n\tF(options, \"cache\", () =>\n\t\tdevelopment ? { type: /** @type {\"memory\"} */ (\"memory\") } : false\n\t);\n\tapplyCacheDefaults(options.cache, {\n\t\tname: name || \"default\",\n\t\tmode: mode || \"production\",\n\t\tdevelopment,\n\t\tcacheUnaffected: options.experiments.cacheUnaffected\n\t});\n\tconst cache = !!options.cache;\n\n\tapplySnapshotDefaults(options.snapshot, {\n\t\tproduction,\n\t\tfutureDefaults\n\t});\n\n\tapplyModuleDefaults(options.module, {\n\t\tcache,\n\t\tsyncWebAssembly: options.experiments.syncWebAssembly,\n\t\tasyncWebAssembly: options.experiments.asyncWebAssembly,\n\t\tcss: options.experiments.css,\n\t\tfutureDefaults,\n\t\tisNode: targetProperties && targetProperties.node === true\n\t});\n\n\tapplyOutputDefaults(options.output, {\n\t\tcontext: options.context,\n\t\ttargetProperties,\n\t\tisAffectedByBrowserslist:\n\t\t\ttarget === undefined ||\n\t\t\t(typeof target === \"string\" && target.startsWith(\"browserslist\")) ||\n\t\t\t(Array.isArray(target) &&\n\t\t\t\ttarget.some(target => target.startsWith(\"browserslist\"))),\n\t\toutputModule: options.experiments.outputModule,\n\t\tdevelopment,\n\t\tentry: options.entry,\n\t\tmodule: options.module,\n\t\tfutureDefaults\n\t});\n\n\tapplyExternalsPresetsDefaults(options.externalsPresets, {\n\t\ttargetProperties,\n\t\tbuildHttp: !!options.experiments.buildHttp\n\t});\n\n\tapplyLoaderDefaults(options.loader, { targetProperties });\n\n\tF(options, \"externalsType\", () => {\n\t\tconst validExternalTypes = (__webpack_require__(/*! ../../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\").definitions.ExternalsType[\"enum\"]);\n\t\treturn options.output.library &&\n\t\t\tvalidExternalTypes.includes(options.output.library.type)\n\t\t\t? /** @type {ExternalsType} */ (options.output.library.type)\n\t\t\t: options.output.module\n\t\t\t? \"module\"\n\t\t\t: \"var\";\n\t});\n\n\tapplyNodeDefaults(options.node, {\n\t\tfutureDefaults: options.experiments.futureDefaults,\n\t\ttargetProperties\n\t});\n\n\tF(options, \"performance\", () =>\n\t\tproduction &&\n\t\ttargetProperties &&\n\t\t(targetProperties.browser || targetProperties.browser === null)\n\t\t\t? {}\n\t\t\t: false\n\t);\n\tapplyPerformanceDefaults(options.performance, {\n\t\tproduction\n\t});\n\n\tapplyOptimizationDefaults(options.optimization, {\n\t\tdevelopment,\n\t\tproduction,\n\t\tcss: options.experiments.css,\n\t\trecords: !!(options.recordsInputPath || options.recordsOutputPath)\n\t});\n\n\toptions.resolve = cleverMerge(\n\t\tgetResolveDefaults({\n\t\t\tcache,\n\t\t\tcontext: options.context,\n\t\t\ttargetProperties,\n\t\t\tmode: options.mode\n\t\t}),\n\t\toptions.resolve\n\t);\n\n\toptions.resolveLoader = cleverMerge(\n\t\tgetResolveLoaderDefaults({ cache }),\n\t\toptions.resolveLoader\n\t);\n};\n\n/**\n * @param {ExperimentsNormalized} experiments options\n * @param {Object} options options\n * @param {boolean} options.production is production\n * @param {boolean} options.development is development mode\n * @param {TargetProperties | false} options.targetProperties target properties\n * @returns {void}\n */\nconst applyExperimentsDefaults = (\n\texperiments,\n\t{ production, development, targetProperties }\n) => {\n\tD(experiments, \"futureDefaults\", false);\n\tD(experiments, \"backCompat\", !experiments.futureDefaults);\n\tD(experiments, \"topLevelAwait\", experiments.futureDefaults);\n\tD(experiments, \"syncWebAssembly\", false);\n\tD(experiments, \"asyncWebAssembly\", experiments.futureDefaults);\n\tD(experiments, \"outputModule\", false);\n\tD(experiments, \"layers\", false);\n\tD(experiments, \"lazyCompilation\", undefined);\n\tD(experiments, \"buildHttp\", undefined);\n\tD(experiments, \"cacheUnaffected\", experiments.futureDefaults);\n\tF(experiments, \"css\", () => (experiments.futureDefaults ? {} : undefined));\n\n\tif (typeof experiments.buildHttp === \"object\") {\n\t\tD(experiments.buildHttp, \"frozen\", production);\n\t\tD(experiments.buildHttp, \"upgrade\", false);\n\t}\n\n\tif (typeof experiments.css === \"object\") {\n\t\tD(\n\t\t\texperiments.css,\n\t\t\t\"exportsOnly\",\n\t\t\t!targetProperties || !targetProperties.document\n\t\t);\n\t}\n};\n\n/**\n * @param {CacheOptions} cache options\n * @param {Object} options options\n * @param {string} options.name name\n * @param {string} options.mode mode\n * @param {boolean} options.development is development mode\n * @param {boolean} options.cacheUnaffected the cacheUnaffected experiment is enabled\n * @returns {void}\n */\nconst applyCacheDefaults = (\n\tcache,\n\t{ name, mode, development, cacheUnaffected }\n) => {\n\tif (cache === false) return;\n\tswitch (cache.type) {\n\t\tcase \"filesystem\":\n\t\t\tF(cache, \"name\", () => name + \"-\" + mode);\n\t\t\tD(cache, \"version\", \"\");\n\t\t\tF(cache, \"cacheDirectory\", () => {\n\t\t\t\tconst cwd = process.cwd();\n\t\t\t\tlet dir = cwd;\n\t\t\t\tfor (;;) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (fs.statSync(path.join(dir, \"package.json\")).isFile()) break;\n\t\t\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t\t\t} catch (e) {}\n\t\t\t\t\tconst parent = path.dirname(dir);\n\t\t\t\t\tif (dir === parent) {\n\t\t\t\t\t\tdir = undefined;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tdir = parent;\n\t\t\t\t}\n\t\t\t\tif (!dir) {\n\t\t\t\t\treturn path.resolve(cwd, \".cache/webpack\");\n\t\t\t\t} else if (process.versions.pnp === \"1\") {\n\t\t\t\t\treturn path.resolve(dir, \".pnp/.cache/webpack\");\n\t\t\t\t} else if (process.versions.pnp === \"3\") {\n\t\t\t\t\treturn path.resolve(dir, \".yarn/.cache/webpack\");\n\t\t\t\t} else {\n\t\t\t\t\treturn path.resolve(dir, \"node_modules/.cache/webpack\");\n\t\t\t\t}\n\t\t\t});\n\t\t\tF(cache, \"cacheLocation\", () =>\n\t\t\t\tpath.resolve(cache.cacheDirectory, cache.name)\n\t\t\t);\n\t\t\tD(cache, \"hashAlgorithm\", \"md4\");\n\t\t\tD(cache, \"store\", \"pack\");\n\t\t\tD(cache, \"compression\", false);\n\t\t\tD(cache, \"profile\", false);\n\t\t\tD(cache, \"idleTimeout\", 60000);\n\t\t\tD(cache, \"idleTimeoutForInitialStore\", 5000);\n\t\t\tD(cache, \"idleTimeoutAfterLargeChanges\", 1000);\n\t\t\tD(cache, \"maxMemoryGenerations\", development ? 5 : Infinity);\n\t\t\tD(cache, \"maxAge\", 1000 * 60 * 60 * 24 * 60); // 1 month\n\t\t\tD(cache, \"allowCollectingMemory\", development);\n\t\t\tD(cache, \"memoryCacheUnaffected\", development && cacheUnaffected);\n\t\t\tD(cache.buildDependencies, \"defaultWebpack\", [\n\t\t\t\tpath.resolve(__dirname, \"..\") + path.sep\n\t\t\t]);\n\t\t\tbreak;\n\t\tcase \"memory\":\n\t\t\tD(cache, \"maxGenerations\", Infinity);\n\t\t\tD(cache, \"cacheUnaffected\", development && cacheUnaffected);\n\t\t\tbreak;\n\t}\n};\n\n/**\n * @param {SnapshotOptions} snapshot options\n * @param {Object} options options\n * @param {boolean} options.production is production\n * @param {boolean} options.futureDefaults is future defaults enabled\n * @returns {void}\n */\nconst applySnapshotDefaults = (snapshot, { production, futureDefaults }) => {\n\tif (futureDefaults) {\n\t\tF(snapshot, \"managedPaths\", () =>\n\t\t\tprocess.versions.pnp === \"3\"\n\t\t\t\t? [\n\t\t\t\t\t\t/^(.+?(?:[\\\\/]\\.yarn[\\\\/]unplugged[\\\\/][^\\\\/]+)?[\\\\/]node_modules[\\\\/])/\n\t\t\t\t ]\n\t\t\t\t: [/^(.+?[\\\\/]node_modules[\\\\/])/]\n\t\t);\n\t\tF(snapshot, \"immutablePaths\", () =>\n\t\t\tprocess.versions.pnp === \"3\"\n\t\t\t\t? [/^(.+?[\\\\/]cache[\\\\/][^\\\\/]+\\.zip[\\\\/]node_modules[\\\\/])/]\n\t\t\t\t: []\n\t\t);\n\t} else {\n\t\tA(snapshot, \"managedPaths\", () => {\n\t\t\tif (process.versions.pnp === \"3\") {\n\t\t\t\tconst match =\n\t\t\t\t\t/^(.+?)[\\\\/]cache[\\\\/]watchpack-npm-[^\\\\/]+\\.zip[\\\\/]node_modules[\\\\/]/.exec(\n\t\t\t\t\t\t/*require.resolve*/(/*! watchpack */ \"./node_modules/watchpack/lib/watchpack.js\")\n\t\t\t\t\t);\n\t\t\t\tif (match) {\n\t\t\t\t\treturn [path.resolve(match[1], \"unplugged\")];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst match = /^(.+?[\\\\/]node_modules[\\\\/])/.exec(\n\t\t\t\t\t// eslint-disable-next-line node/no-extraneous-require\n\t\t\t\t\t/*require.resolve*/(/*! watchpack */ \"./node_modules/watchpack/lib/watchpack.js\")\n\t\t\t\t);\n\t\t\t\tif (match) {\n\t\t\t\t\treturn [match[1]];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn [];\n\t\t});\n\t\tA(snapshot, \"immutablePaths\", () => {\n\t\t\tif (process.versions.pnp === \"1\") {\n\t\t\t\tconst match =\n\t\t\t\t\t/^(.+?[\\\\/]v4)[\\\\/]npm-watchpack-[^\\\\/]+-[\\da-f]{40}[\\\\/]node_modules[\\\\/]/.exec(\n\t\t\t\t\t\t/*require.resolve*/(/*! watchpack */ \"./node_modules/watchpack/lib/watchpack.js\")\n\t\t\t\t\t);\n\t\t\t\tif (match) {\n\t\t\t\t\treturn [match[1]];\n\t\t\t\t}\n\t\t\t} else if (process.versions.pnp === \"3\") {\n\t\t\t\tconst match =\n\t\t\t\t\t/^(.+?)[\\\\/]watchpack-npm-[^\\\\/]+\\.zip[\\\\/]node_modules[\\\\/]/.exec(\n\t\t\t\t\t\t/*require.resolve*/(/*! watchpack */ \"./node_modules/watchpack/lib/watchpack.js\")\n\t\t\t\t\t);\n\t\t\t\tif (match) {\n\t\t\t\t\treturn [match[1]];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn [];\n\t\t});\n\t}\n\tF(snapshot, \"resolveBuildDependencies\", () => ({\n\t\ttimestamp: true,\n\t\thash: true\n\t}));\n\tF(snapshot, \"buildDependencies\", () => ({ timestamp: true, hash: true }));\n\tF(snapshot, \"module\", () =>\n\t\tproduction ? { timestamp: true, hash: true } : { timestamp: true }\n\t);\n\tF(snapshot, \"resolve\", () =>\n\t\tproduction ? { timestamp: true, hash: true } : { timestamp: true }\n\t);\n};\n\n/**\n * @param {JavascriptParserOptions} parserOptions parser options\n * @param {Object} options options\n * @param {boolean} options.futureDefaults is future defaults enabled\n * @param {boolean} options.isNode is node target platform\n * @returns {void}\n */\nconst applyJavascriptParserOptionsDefaults = (\n\tparserOptions,\n\t{ futureDefaults, isNode }\n) => {\n\tD(parserOptions, \"unknownContextRequest\", \".\");\n\tD(parserOptions, \"unknownContextRegExp\", false);\n\tD(parserOptions, \"unknownContextRecursive\", true);\n\tD(parserOptions, \"unknownContextCritical\", true);\n\tD(parserOptions, \"exprContextRequest\", \".\");\n\tD(parserOptions, \"exprContextRegExp\", false);\n\tD(parserOptions, \"exprContextRecursive\", true);\n\tD(parserOptions, \"exprContextCritical\", true);\n\tD(parserOptions, \"wrappedContextRegExp\", /.*/);\n\tD(parserOptions, \"wrappedContextRecursive\", true);\n\tD(parserOptions, \"wrappedContextCritical\", false);\n\tD(parserOptions, \"strictThisContextOnImports\", false);\n\tD(parserOptions, \"importMeta\", true);\n\tD(parserOptions, \"dynamicImportMode\", \"lazy\");\n\tD(parserOptions, \"dynamicImportPrefetch\", false);\n\tD(parserOptions, \"dynamicImportPreload\", false);\n\tD(parserOptions, \"createRequire\", isNode);\n\tif (futureDefaults) D(parserOptions, \"exportsPresence\", \"error\");\n};\n\n/**\n * @param {ModuleOptions} module options\n * @param {Object} options options\n * @param {boolean} options.cache is caching enabled\n * @param {boolean} options.syncWebAssembly is syncWebAssembly enabled\n * @param {boolean} options.asyncWebAssembly is asyncWebAssembly enabled\n * @param {CssExperimentOptions|false} options.css is css enabled\n * @param {boolean} options.futureDefaults is future defaults enabled\n * @param {boolean} options.isNode is node target platform\n * @returns {void}\n */\nconst applyModuleDefaults = (\n\tmodule,\n\t{ cache, syncWebAssembly, asyncWebAssembly, css, futureDefaults, isNode }\n) => {\n\tif (cache) {\n\t\tD(module, \"unsafeCache\", module => {\n\t\t\tconst name = module.nameForCondition();\n\t\t\treturn name && NODE_MODULES_REGEXP.test(name);\n\t\t});\n\t} else {\n\t\tD(module, \"unsafeCache\", false);\n\t}\n\n\tF(module.parser, \"asset\", () => ({}));\n\tF(module.parser.asset, \"dataUrlCondition\", () => ({}));\n\tif (typeof module.parser.asset.dataUrlCondition === \"object\") {\n\t\tD(module.parser.asset.dataUrlCondition, \"maxSize\", 8096);\n\t}\n\n\tF(module.parser, \"javascript\", () => ({}));\n\tapplyJavascriptParserOptionsDefaults(module.parser.javascript, {\n\t\tfutureDefaults,\n\t\tisNode\n\t});\n\n\tA(module, \"defaultRules\", () => {\n\t\tconst esm = {\n\t\t\ttype: \"javascript/esm\",\n\t\t\tresolve: {\n\t\t\t\tbyDependency: {\n\t\t\t\t\tesm: {\n\t\t\t\t\t\tfullySpecified: true\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tconst commonjs = {\n\t\t\ttype: \"javascript/dynamic\"\n\t\t};\n\t\t/** @type {RuleSetRules} */\n\t\tconst rules = [\n\t\t\t{\n\t\t\t\tmimetype: \"application/node\",\n\t\t\t\ttype: \"javascript/auto\"\n\t\t\t},\n\t\t\t{\n\t\t\t\ttest: /\\.json$/i,\n\t\t\t\ttype: \"json\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tmimetype: \"application/json\",\n\t\t\t\ttype: \"json\"\n\t\t\t},\n\t\t\t{\n\t\t\t\ttest: /\\.mjs$/i,\n\t\t\t\t...esm\n\t\t\t},\n\t\t\t{\n\t\t\t\ttest: /\\.js$/i,\n\t\t\t\tdescriptionData: {\n\t\t\t\t\ttype: \"module\"\n\t\t\t\t},\n\t\t\t\t...esm\n\t\t\t},\n\t\t\t{\n\t\t\t\ttest: /\\.cjs$/i,\n\t\t\t\t...commonjs\n\t\t\t},\n\t\t\t{\n\t\t\t\ttest: /\\.js$/i,\n\t\t\t\tdescriptionData: {\n\t\t\t\t\ttype: \"commonjs\"\n\t\t\t\t},\n\t\t\t\t...commonjs\n\t\t\t},\n\t\t\t{\n\t\t\t\tmimetype: {\n\t\t\t\t\tor: [\"text/javascript\", \"application/javascript\"]\n\t\t\t\t},\n\t\t\t\t...esm\n\t\t\t}\n\t\t];\n\t\tif (asyncWebAssembly) {\n\t\t\tconst wasm = {\n\t\t\t\ttype: \"webassembly/async\",\n\t\t\t\trules: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdescriptionData: {\n\t\t\t\t\t\t\ttype: \"module\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tresolve: {\n\t\t\t\t\t\t\tfullySpecified: true\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t};\n\t\t\trules.push({\n\t\t\t\ttest: /\\.wasm$/i,\n\t\t\t\t...wasm\n\t\t\t});\n\t\t\trules.push({\n\t\t\t\tmimetype: \"application/wasm\",\n\t\t\t\t...wasm\n\t\t\t});\n\t\t} else if (syncWebAssembly) {\n\t\t\tconst wasm = {\n\t\t\t\ttype: \"webassembly/sync\",\n\t\t\t\trules: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdescriptionData: {\n\t\t\t\t\t\t\ttype: \"module\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tresolve: {\n\t\t\t\t\t\t\tfullySpecified: true\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t};\n\t\t\trules.push({\n\t\t\t\ttest: /\\.wasm$/i,\n\t\t\t\t...wasm\n\t\t\t});\n\t\t\trules.push({\n\t\t\t\tmimetype: \"application/wasm\",\n\t\t\t\t...wasm\n\t\t\t});\n\t\t}\n\t\tif (css) {\n\t\t\tconst cssRule = {\n\t\t\t\ttype: \"css\",\n\t\t\t\tresolve: {\n\t\t\t\t\tfullySpecified: true,\n\t\t\t\t\tpreferRelative: true\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst cssModulesRule = {\n\t\t\t\ttype: \"css/module\",\n\t\t\t\tresolve: {\n\t\t\t\t\tfullySpecified: true\n\t\t\t\t}\n\t\t\t};\n\t\t\trules.push({\n\t\t\t\ttest: /\\.css$/i,\n\t\t\t\toneOf: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttest: /\\.module\\.css$/i,\n\t\t\t\t\t\t...cssModulesRule\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t...cssRule\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t});\n\t\t\trules.push({\n\t\t\t\tmimetype: \"text/css+module\",\n\t\t\t\t...cssModulesRule\n\t\t\t});\n\t\t\trules.push({\n\t\t\t\tmimetype: \"text/css\",\n\t\t\t\t...cssRule\n\t\t\t});\n\t\t}\n\t\trules.push(\n\t\t\t{\n\t\t\t\tdependency: \"url\",\n\t\t\t\toneOf: [\n\t\t\t\t\t{\n\t\t\t\t\t\tscheme: /^data$/,\n\t\t\t\t\t\ttype: \"asset/inline\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"asset/resource\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tassert: { type: \"json\" },\n\t\t\t\ttype: \"json\"\n\t\t\t}\n\t\t);\n\t\treturn rules;\n\t});\n};\n\n/**\n * @param {Output} output options\n * @param {Object} options options\n * @param {string} options.context context\n * @param {TargetProperties | false} options.targetProperties target properties\n * @param {boolean} options.isAffectedByBrowserslist is affected by browserslist\n * @param {boolean} options.outputModule is outputModule experiment enabled\n * @param {boolean} options.development is development mode\n * @param {Entry} options.entry entry option\n * @param {ModuleOptions} options.module module option\n * @param {boolean} options.futureDefaults is future defaults enabled\n * @returns {void}\n */\nconst applyOutputDefaults = (\n\toutput,\n\t{\n\t\tcontext,\n\t\ttargetProperties: tp,\n\t\tisAffectedByBrowserslist,\n\t\toutputModule,\n\t\tdevelopment,\n\t\tentry,\n\t\tmodule,\n\t\tfutureDefaults\n\t}\n) => {\n\t/**\n\t * @param {Library=} library the library option\n\t * @returns {string} a readable library name\n\t */\n\tconst getLibraryName = library => {\n\t\tconst libraryName =\n\t\t\ttypeof library === \"object\" &&\n\t\t\tlibrary &&\n\t\t\t!Array.isArray(library) &&\n\t\t\t\"type\" in library\n\t\t\t\t? library.name\n\t\t\t\t: /** @type {LibraryName=} */ (library);\n\t\tif (Array.isArray(libraryName)) {\n\t\t\treturn libraryName.join(\".\");\n\t\t} else if (typeof libraryName === \"object\") {\n\t\t\treturn getLibraryName(libraryName.root);\n\t\t} else if (typeof libraryName === \"string\") {\n\t\t\treturn libraryName;\n\t\t}\n\t\treturn \"\";\n\t};\n\n\tF(output, \"uniqueName\", () => {\n\t\tconst libraryName = getLibraryName(output.library).replace(\n\t\t\t/^\\[(\\\\*[\\w:]+\\\\*)\\](\\.)|(\\.)\\[(\\\\*[\\w:]+\\\\*)\\](?=\\.|$)|\\[(\\\\*[\\w:]+\\\\*)\\]/g,\n\t\t\t(m, a, d1, d2, b, c) => {\n\t\t\t\tconst content = a || b || c;\n\t\t\t\treturn content.startsWith(\"\\\\\") && content.endsWith(\"\\\\\")\n\t\t\t\t\t? `${d2 || \"\"}[${content.slice(1, -1)}]${d1 || \"\"}`\n\t\t\t\t\t: \"\";\n\t\t\t}\n\t\t);\n\t\tif (libraryName) return libraryName;\n\t\tconst pkgPath = path.resolve(context, \"package.json\");\n\t\ttry {\n\t\t\tconst packageInfo = JSON.parse(fs.readFileSync(pkgPath, \"utf-8\"));\n\t\t\treturn packageInfo.name || \"\";\n\t\t} catch (e) {\n\t\t\tif (e.code !== \"ENOENT\") {\n\t\t\t\te.message += `\\nwhile determining default 'output.uniqueName' from 'name' in ${pkgPath}`;\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\treturn \"\";\n\t\t}\n\t});\n\n\tF(output, \"module\", () => !!outputModule);\n\tD(output, \"filename\", output.module ? \"[name].mjs\" : \"[name].js\");\n\tF(output, \"iife\", () => !output.module);\n\tD(output, \"importFunctionName\", \"import\");\n\tD(output, \"importMetaName\", \"import.meta\");\n\tF(output, \"chunkFilename\", () => {\n\t\tconst filename = output.filename;\n\t\tif (typeof filename !== \"function\") {\n\t\t\tconst hasName = filename.includes(\"[name]\");\n\t\t\tconst hasId = filename.includes(\"[id]\");\n\t\t\tconst hasChunkHash = filename.includes(\"[chunkhash]\");\n\t\t\tconst hasContentHash = filename.includes(\"[contenthash]\");\n\t\t\t// Anything changing depending on chunk is fine\n\t\t\tif (hasChunkHash || hasContentHash || hasName || hasId) return filename;\n\t\t\t// Otherwise prefix \"[id].\" in front of the basename to make it changing\n\t\t\treturn filename.replace(/(^|\\/)([^/]*(?:\\?|$))/, \"$1[id].$2\");\n\t\t}\n\t\treturn output.module ? \"[id].mjs\" : \"[id].js\";\n\t});\n\tF(output, \"cssFilename\", () => {\n\t\tconst filename = output.filename;\n\t\tif (typeof filename !== \"function\") {\n\t\t\treturn filename.replace(/\\.[mc]?js(\\?|$)/, \".css$1\");\n\t\t}\n\t\treturn \"[id].css\";\n\t});\n\tF(output, \"cssChunkFilename\", () => {\n\t\tconst chunkFilename = output.chunkFilename;\n\t\tif (typeof chunkFilename !== \"function\") {\n\t\t\treturn chunkFilename.replace(/\\.[mc]?js(\\?|$)/, \".css$1\");\n\t\t}\n\t\treturn \"[id].css\";\n\t});\n\tD(output, \"assetModuleFilename\", \"[hash][ext][query]\");\n\tD(output, \"webassemblyModuleFilename\", \"[hash].module.wasm\");\n\tD(output, \"compareBeforeEmit\", true);\n\tD(output, \"charset\", true);\n\tF(output, \"hotUpdateGlobal\", () =>\n\t\tTemplate.toIdentifier(\n\t\t\t\"webpackHotUpdate\" + Template.toIdentifier(output.uniqueName)\n\t\t)\n\t);\n\tF(output, \"chunkLoadingGlobal\", () =>\n\t\tTemplate.toIdentifier(\n\t\t\t\"webpackChunk\" + Template.toIdentifier(output.uniqueName)\n\t\t)\n\t);\n\tF(output, \"globalObject\", () => {\n\t\tif (tp) {\n\t\t\tif (tp.global) return \"global\";\n\t\t\tif (tp.globalThis) return \"globalThis\";\n\t\t}\n\t\treturn \"self\";\n\t});\n\tF(output, \"chunkFormat\", () => {\n\t\tif (tp) {\n\t\t\tconst helpMessage = isAffectedByBrowserslist\n\t\t\t\t? \"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.\"\n\t\t\t\t: \"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.\";\n\t\t\tif (output.module) {\n\t\t\t\tif (tp.dynamicImport) return \"module\";\n\t\t\t\tif (tp.document) return \"array-push\";\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"For the selected environment is no default ESM chunk format available:\\n\" +\n\t\t\t\t\t\t\"ESM exports can be chosen when 'import()' is available.\\n\" +\n\t\t\t\t\t\t\"JSONP Array push can be chosen when 'document' is available.\\n\" +\n\t\t\t\t\t\thelpMessage\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tif (tp.document) return \"array-push\";\n\t\t\t\tif (tp.require) return \"commonjs\";\n\t\t\t\tif (tp.nodeBuiltins) return \"commonjs\";\n\t\t\t\tif (tp.importScripts) return \"array-push\";\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"For the selected environment is no default script chunk format available:\\n\" +\n\t\t\t\t\t\t\"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\\n\" +\n\t\t\t\t\t\t\"CommonJs exports can be chosen when 'require' or node builtins are available.\\n\" +\n\t\t\t\t\t\thelpMessage\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tthrow new Error(\n\t\t\t\"Chunk format can't be selected by default when no target is specified\"\n\t\t);\n\t});\n\tD(output, \"asyncChunks\", true);\n\tF(output, \"chunkLoading\", () => {\n\t\tif (tp) {\n\t\t\tswitch (output.chunkFormat) {\n\t\t\t\tcase \"array-push\":\n\t\t\t\t\tif (tp.document) return \"jsonp\";\n\t\t\t\t\tif (tp.importScripts) return \"import-scripts\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"commonjs\":\n\t\t\t\t\tif (tp.require) return \"require\";\n\t\t\t\t\tif (tp.nodeBuiltins) return \"async-node\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"module\":\n\t\t\t\t\tif (tp.dynamicImport) return \"import\";\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\n\t\t\t\ttp.require === null ||\n\t\t\t\ttp.nodeBuiltins === null ||\n\t\t\t\ttp.document === null ||\n\t\t\t\ttp.importScripts === null\n\t\t\t) {\n\t\t\t\treturn \"universal\";\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t});\n\tF(output, \"workerChunkLoading\", () => {\n\t\tif (tp) {\n\t\t\tswitch (output.chunkFormat) {\n\t\t\t\tcase \"array-push\":\n\t\t\t\t\tif (tp.importScriptsInWorker) return \"import-scripts\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"commonjs\":\n\t\t\t\t\tif (tp.require) return \"require\";\n\t\t\t\t\tif (tp.nodeBuiltins) return \"async-node\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"module\":\n\t\t\t\t\tif (tp.dynamicImportInWorker) return \"import\";\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\n\t\t\t\ttp.require === null ||\n\t\t\t\ttp.nodeBuiltins === null ||\n\t\t\t\ttp.importScriptsInWorker === null\n\t\t\t) {\n\t\t\t\treturn \"universal\";\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t});\n\tF(output, \"wasmLoading\", () => {\n\t\tif (tp) {\n\t\t\tif (tp.fetchWasm) return \"fetch\";\n\t\t\tif (tp.nodeBuiltins)\n\t\t\t\treturn output.module ? \"async-node-module\" : \"async-node\";\n\t\t\tif (tp.nodeBuiltins === null || tp.fetchWasm === null) {\n\t\t\t\treturn \"universal\";\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t});\n\tF(output, \"workerWasmLoading\", () => output.wasmLoading);\n\tF(output, \"devtoolNamespace\", () => output.uniqueName);\n\tif (output.library) {\n\t\tF(output.library, \"type\", () => (output.module ? \"module\" : \"var\"));\n\t}\n\tF(output, \"path\", () => path.join(process.cwd(), \"dist\"));\n\tF(output, \"pathinfo\", () => development);\n\tD(output, \"sourceMapFilename\", \"[file].map[query]\");\n\tD(\n\t\toutput,\n\t\t\"hotUpdateChunkFilename\",\n\t\t`[id].[fullhash].hot-update.${output.module ? \"mjs\" : \"js\"}`\n\t);\n\tD(output, \"hotUpdateMainFilename\", \"[runtime].[fullhash].hot-update.json\");\n\tD(output, \"crossOriginLoading\", false);\n\tF(output, \"scriptType\", () => (output.module ? \"module\" : false));\n\tD(\n\t\toutput,\n\t\t\"publicPath\",\n\t\t(tp && (tp.document || tp.importScripts)) || output.scriptType === \"module\"\n\t\t\t? \"auto\"\n\t\t\t: \"\"\n\t);\n\tD(output, \"chunkLoadTimeout\", 120000);\n\tD(output, \"hashFunction\", futureDefaults ? \"xxhash64\" : \"md4\");\n\tD(output, \"hashDigest\", \"hex\");\n\tD(output, \"hashDigestLength\", futureDefaults ? 16 : 20);\n\tD(output, \"strictModuleExceptionHandling\", false);\n\n\tconst optimistic = v => v || v === undefined;\n\tconst conditionallyOptimistic = (v, c) => (v === undefined && c) || v;\n\tF(\n\t\toutput.environment,\n\t\t\"arrowFunction\",\n\t\t() => tp && optimistic(tp.arrowFunction)\n\t);\n\tF(output.environment, \"const\", () => tp && optimistic(tp.const));\n\tF(\n\t\toutput.environment,\n\t\t\"destructuring\",\n\t\t() => tp && optimistic(tp.destructuring)\n\t);\n\tF(output.environment, \"forOf\", () => tp && optimistic(tp.forOf));\n\tF(output.environment, \"bigIntLiteral\", () => tp && tp.bigIntLiteral);\n\tF(output.environment, \"dynamicImport\", () =>\n\t\tconditionallyOptimistic(tp && tp.dynamicImport, output.module)\n\t);\n\tF(output.environment, \"module\", () =>\n\t\tconditionallyOptimistic(tp && tp.module, output.module)\n\t);\n\n\tconst { trustedTypes } = output;\n\tif (trustedTypes) {\n\t\tF(\n\t\t\ttrustedTypes,\n\t\t\t\"policyName\",\n\t\t\t() =>\n\t\t\t\toutput.uniqueName.replace(/[^a-zA-Z0-9\\-#=_/@.%]+/g, \"_\") || \"webpack\"\n\t\t);\n\t}\n\n\t/**\n\t * @param {function(EntryDescription): void} fn iterator\n\t * @returns {void}\n\t */\n\tconst forEachEntry = fn => {\n\t\tfor (const name of Object.keys(entry)) {\n\t\t\tfn(entry[name]);\n\t\t}\n\t};\n\tA(output, \"enabledLibraryTypes\", () => {\n\t\tconst enabledLibraryTypes = [];\n\t\tif (output.library) {\n\t\t\tenabledLibraryTypes.push(output.library.type);\n\t\t}\n\t\tforEachEntry(desc => {\n\t\t\tif (desc.library) {\n\t\t\t\tenabledLibraryTypes.push(desc.library.type);\n\t\t\t}\n\t\t});\n\t\treturn enabledLibraryTypes;\n\t});\n\n\tA(output, \"enabledChunkLoadingTypes\", () => {\n\t\tconst enabledChunkLoadingTypes = new Set();\n\t\tif (output.chunkLoading) {\n\t\t\tenabledChunkLoadingTypes.add(output.chunkLoading);\n\t\t}\n\t\tif (output.workerChunkLoading) {\n\t\t\tenabledChunkLoadingTypes.add(output.workerChunkLoading);\n\t\t}\n\t\tforEachEntry(desc => {\n\t\t\tif (desc.chunkLoading) {\n\t\t\t\tenabledChunkLoadingTypes.add(desc.chunkLoading);\n\t\t\t}\n\t\t});\n\t\treturn Array.from(enabledChunkLoadingTypes);\n\t});\n\n\tA(output, \"enabledWasmLoadingTypes\", () => {\n\t\tconst enabledWasmLoadingTypes = new Set();\n\t\tif (output.wasmLoading) {\n\t\t\tenabledWasmLoadingTypes.add(output.wasmLoading);\n\t\t}\n\t\tif (output.workerWasmLoading) {\n\t\t\tenabledWasmLoadingTypes.add(output.workerWasmLoading);\n\t\t}\n\t\tforEachEntry(desc => {\n\t\t\tif (desc.wasmLoading) {\n\t\t\t\tenabledWasmLoadingTypes.add(desc.wasmLoading);\n\t\t\t}\n\t\t});\n\t\treturn Array.from(enabledWasmLoadingTypes);\n\t});\n};\n\n/**\n * @param {ExternalsPresets} externalsPresets options\n * @param {Object} options options\n * @param {TargetProperties | false} options.targetProperties target properties\n * @param {boolean} options.buildHttp buildHttp experiment enabled\n * @returns {void}\n */\nconst applyExternalsPresetsDefaults = (\n\texternalsPresets,\n\t{ targetProperties, buildHttp }\n) => {\n\tD(\n\t\texternalsPresets,\n\t\t\"web\",\n\t\t!buildHttp && targetProperties && targetProperties.web\n\t);\n\tD(externalsPresets, \"node\", targetProperties && targetProperties.node);\n\tD(externalsPresets, \"nwjs\", targetProperties && targetProperties.nwjs);\n\tD(\n\t\texternalsPresets,\n\t\t\"electron\",\n\t\ttargetProperties && targetProperties.electron\n\t);\n\tD(\n\t\texternalsPresets,\n\t\t\"electronMain\",\n\t\ttargetProperties &&\n\t\t\ttargetProperties.electron &&\n\t\t\ttargetProperties.electronMain\n\t);\n\tD(\n\t\texternalsPresets,\n\t\t\"electronPreload\",\n\t\ttargetProperties &&\n\t\t\ttargetProperties.electron &&\n\t\t\ttargetProperties.electronPreload\n\t);\n\tD(\n\t\texternalsPresets,\n\t\t\"electronRenderer\",\n\t\ttargetProperties &&\n\t\t\ttargetProperties.electron &&\n\t\t\ttargetProperties.electronRenderer\n\t);\n};\n\n/**\n * @param {Loader} loader options\n * @param {Object} options options\n * @param {TargetProperties | false} options.targetProperties target properties\n * @returns {void}\n */\nconst applyLoaderDefaults = (loader, { targetProperties }) => {\n\tF(loader, \"target\", () => {\n\t\tif (targetProperties) {\n\t\t\tif (targetProperties.electron) {\n\t\t\t\tif (targetProperties.electronMain) return \"electron-main\";\n\t\t\t\tif (targetProperties.electronPreload) return \"electron-preload\";\n\t\t\t\tif (targetProperties.electronRenderer) return \"electron-renderer\";\n\t\t\t\treturn \"electron\";\n\t\t\t}\n\t\t\tif (targetProperties.nwjs) return \"nwjs\";\n\t\t\tif (targetProperties.node) return \"node\";\n\t\t\tif (targetProperties.web) return \"web\";\n\t\t}\n\t});\n};\n\n/**\n * @param {WebpackNode} node options\n * @param {Object} options options\n * @param {TargetProperties | false} options.targetProperties target properties\n * @param {boolean} options.futureDefaults is future defaults enabled\n * @returns {void}\n */\nconst applyNodeDefaults = (node, { futureDefaults, targetProperties }) => {\n\tif (node === false) return;\n\n\tF(node, \"global\", () => {\n\t\tif (targetProperties && targetProperties.global) return false;\n\t\t// TODO webpack 6 should always default to false\n\t\treturn futureDefaults ? \"warn\" : true;\n\t});\n\tF(node, \"__filename\", () => {\n\t\tif (targetProperties && targetProperties.node) return \"eval-only\";\n\t\t// TODO webpack 6 should always default to false\n\t\treturn futureDefaults ? \"warn-mock\" : \"mock\";\n\t});\n\tF(node, \"__dirname\", () => {\n\t\tif (targetProperties && targetProperties.node) return \"eval-only\";\n\t\t// TODO webpack 6 should always default to false\n\t\treturn futureDefaults ? \"warn-mock\" : \"mock\";\n\t});\n};\n\n/**\n * @param {Performance} performance options\n * @param {Object} options options\n * @param {boolean} options.production is production\n * @returns {void}\n */\nconst applyPerformanceDefaults = (performance, { production }) => {\n\tif (performance === false) return;\n\tD(performance, \"maxAssetSize\", 250000);\n\tD(performance, \"maxEntrypointSize\", 250000);\n\tF(performance, \"hints\", () => (production ? \"warning\" : false));\n};\n\n/**\n * @param {Optimization} optimization options\n * @param {Object} options options\n * @param {boolean} options.production is production\n * @param {boolean} options.development is development\n * @param {CssExperimentOptions|false} options.css is css enabled\n * @param {boolean} options.records using records\n * @returns {void}\n */\nconst applyOptimizationDefaults = (\n\toptimization,\n\t{ production, development, css, records }\n) => {\n\tD(optimization, \"removeAvailableModules\", false);\n\tD(optimization, \"removeEmptyChunks\", true);\n\tD(optimization, \"mergeDuplicateChunks\", true);\n\tD(optimization, \"flagIncludedChunks\", production);\n\tF(optimization, \"moduleIds\", () => {\n\t\tif (production) return \"deterministic\";\n\t\tif (development) return \"named\";\n\t\treturn \"natural\";\n\t});\n\tF(optimization, \"chunkIds\", () => {\n\t\tif (production) return \"deterministic\";\n\t\tif (development) return \"named\";\n\t\treturn \"natural\";\n\t});\n\tF(optimization, \"sideEffects\", () => (production ? true : \"flag\"));\n\tD(optimization, \"providedExports\", true);\n\tD(optimization, \"usedExports\", production);\n\tD(optimization, \"innerGraph\", production);\n\tD(optimization, \"mangleExports\", production);\n\tD(optimization, \"concatenateModules\", production);\n\tD(optimization, \"runtimeChunk\", false);\n\tD(optimization, \"emitOnErrors\", !production);\n\tD(optimization, \"checkWasmTypes\", production);\n\tD(optimization, \"mangleWasmImports\", false);\n\tD(optimization, \"portableRecords\", records);\n\tD(optimization, \"realContentHash\", production);\n\tD(optimization, \"minimize\", production);\n\tA(optimization, \"minimizer\", () => [\n\t\t{\n\t\t\tapply: compiler => {\n\t\t\t\t// Lazy load the Terser plugin\n\t\t\t\tconst TerserPlugin = __webpack_require__(/*! terser-webpack-plugin */ \"./node_modules/terser-webpack-plugin/dist/index.js\");\n\t\t\t\tnew TerserPlugin({\n\t\t\t\t\tterserOptions: {\n\t\t\t\t\t\tcompress: {\n\t\t\t\t\t\t\tpasses: 2\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}).apply(compiler);\n\t\t\t}\n\t\t}\n\t]);\n\tF(optimization, \"nodeEnv\", () => {\n\t\tif (production) return \"production\";\n\t\tif (development) return \"development\";\n\t\treturn false;\n\t});\n\tconst { splitChunks } = optimization;\n\tif (splitChunks) {\n\t\tA(splitChunks, \"defaultSizeTypes\", () =>\n\t\t\tcss ? [\"javascript\", \"css\", \"unknown\"] : [\"javascript\", \"unknown\"]\n\t\t);\n\t\tD(splitChunks, \"hidePathInfo\", production);\n\t\tD(splitChunks, \"chunks\", \"async\");\n\t\tD(splitChunks, \"usedExports\", optimization.usedExports === true);\n\t\tD(splitChunks, \"minChunks\", 1);\n\t\tF(splitChunks, \"minSize\", () => (production ? 20000 : 10000));\n\t\tF(splitChunks, \"minRemainingSize\", () => (development ? 0 : undefined));\n\t\tF(splitChunks, \"enforceSizeThreshold\", () => (production ? 50000 : 30000));\n\t\tF(splitChunks, \"maxAsyncRequests\", () => (production ? 30 : Infinity));\n\t\tF(splitChunks, \"maxInitialRequests\", () => (production ? 30 : Infinity));\n\t\tD(splitChunks, \"automaticNameDelimiter\", \"-\");\n\t\tconst { cacheGroups } = splitChunks;\n\t\tF(cacheGroups, \"default\", () => ({\n\t\t\tidHint: \"\",\n\t\t\treuseExistingChunk: true,\n\t\t\tminChunks: 2,\n\t\t\tpriority: -20\n\t\t}));\n\t\tF(cacheGroups, \"defaultVendors\", () => ({\n\t\t\tidHint: \"vendors\",\n\t\t\treuseExistingChunk: true,\n\t\t\ttest: NODE_MODULES_REGEXP,\n\t\t\tpriority: -10\n\t\t}));\n\t}\n};\n\n/**\n * @param {Object} options options\n * @param {boolean} options.cache is cache enable\n * @param {string} options.context build context\n * @param {TargetProperties | false} options.targetProperties target properties\n * @param {Mode} options.mode mode\n * @returns {ResolveOptions} resolve options\n */\nconst getResolveDefaults = ({ cache, context, targetProperties, mode }) => {\n\t/** @type {string[]} */\n\tconst conditions = [\"webpack\"];\n\n\tconditions.push(mode === \"development\" ? \"development\" : \"production\");\n\n\tif (targetProperties) {\n\t\tif (targetProperties.webworker) conditions.push(\"worker\");\n\t\tif (targetProperties.node) conditions.push(\"node\");\n\t\tif (targetProperties.web) conditions.push(\"browser\");\n\t\tif (targetProperties.electron) conditions.push(\"electron\");\n\t\tif (targetProperties.nwjs) conditions.push(\"nwjs\");\n\t}\n\n\tconst jsExtensions = [\".js\", \".json\", \".wasm\"];\n\n\tconst tp = targetProperties;\n\tconst browserField =\n\t\ttp && tp.web && (!tp.node || (tp.electron && tp.electronRenderer));\n\n\t/** @type {function(): ResolveOptions} */\n\tconst cjsDeps = () => ({\n\t\taliasFields: browserField ? [\"browser\"] : [],\n\t\tmainFields: browserField ? [\"browser\", \"module\", \"...\"] : [\"module\", \"...\"],\n\t\tconditionNames: [\"require\", \"module\", \"...\"],\n\t\textensions: [...jsExtensions]\n\t});\n\t/** @type {function(): ResolveOptions} */\n\tconst esmDeps = () => ({\n\t\taliasFields: browserField ? [\"browser\"] : [],\n\t\tmainFields: browserField ? [\"browser\", \"module\", \"...\"] : [\"module\", \"...\"],\n\t\tconditionNames: [\"import\", \"module\", \"...\"],\n\t\textensions: [...jsExtensions]\n\t});\n\n\t/** @type {ResolveOptions} */\n\tconst resolveOptions = {\n\t\tcache,\n\t\tmodules: [\"node_modules\"],\n\t\tconditionNames: conditions,\n\t\tmainFiles: [\"index\"],\n\t\textensions: [],\n\t\taliasFields: [],\n\t\texportsFields: [\"exports\"],\n\t\troots: [context],\n\t\tmainFields: [\"main\"],\n\t\tbyDependency: {\n\t\t\twasm: esmDeps(),\n\t\t\tesm: esmDeps(),\n\t\t\tloaderImport: esmDeps(),\n\t\t\turl: {\n\t\t\t\tpreferRelative: true\n\t\t\t},\n\t\t\tworker: {\n\t\t\t\t...esmDeps(),\n\t\t\t\tpreferRelative: true\n\t\t\t},\n\t\t\tcommonjs: cjsDeps(),\n\t\t\tamd: cjsDeps(),\n\t\t\t// for backward-compat: loadModule\n\t\t\tloader: cjsDeps(),\n\t\t\t// for backward-compat: Custom Dependency\n\t\t\tunknown: cjsDeps(),\n\t\t\t// for backward-compat: getResolve without dependencyType\n\t\t\tundefined: cjsDeps()\n\t\t}\n\t};\n\n\treturn resolveOptions;\n};\n\n/**\n * @param {Object} options options\n * @param {boolean} options.cache is cache enable\n * @returns {ResolveOptions} resolve options\n */\nconst getResolveLoaderDefaults = ({ cache }) => {\n\t/** @type {ResolveOptions} */\n\tconst resolveOptions = {\n\t\tcache,\n\t\tconditionNames: [\"loader\", \"require\", \"node\"],\n\t\texportsFields: [\"exports\"],\n\t\tmainFields: [\"loader\", \"main\"],\n\t\textensions: [\".js\"],\n\t\tmainFiles: [\"index\"]\n\t};\n\n\treturn resolveOptions;\n};\n\n/**\n * @param {InfrastructureLogging} infrastructureLogging options\n * @returns {void}\n */\nconst applyInfrastructureLoggingDefaults = infrastructureLogging => {\n\tF(infrastructureLogging, \"stream\", () => process.stderr);\n\tconst tty =\n\t\t/** @type {any} */ (infrastructureLogging.stream).isTTY &&\n\t\tprocess.env.TERM !== \"dumb\";\n\tD(infrastructureLogging, \"level\", \"info\");\n\tD(infrastructureLogging, \"debug\", false);\n\tD(infrastructureLogging, \"colors\", tty);\n\tD(infrastructureLogging, \"appendOnly\", !tty);\n};\n\nexports.applyWebpackOptionsBaseDefaults = applyWebpackOptionsBaseDefaults;\nexports.applyWebpackOptionsDefaults = applyWebpackOptionsDefaults;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/config/defaults.js?"); /***/ }), /***/ "./node_modules/webpack/lib/config/normalization.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/config/normalization.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?ddee\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").EntryStatic} EntryStatic */\n/** @typedef {import(\"../../declarations/WebpackOptions\").EntryStaticNormalized} EntryStaticNormalized */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryName} LibraryName */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationRuntimeChunk} OptimizationRuntimeChunk */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationRuntimeChunkNormalized} OptimizationRuntimeChunkNormalized */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OutputNormalized} OutputNormalized */\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptions} WebpackOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptionsNormalized */\n\nconst handledDeprecatedNoEmitOnErrors = util.deprecate(\n\t(noEmitOnErrors, emitOnErrors) => {\n\t\tif (emitOnErrors !== undefined && !noEmitOnErrors === !emitOnErrors) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.\"\n\t\t\t);\n\t\t}\n\t\treturn !noEmitOnErrors;\n\t},\n\t\"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors\",\n\t\"DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS\"\n);\n\n/**\n * @template T\n * @template R\n * @param {T|undefined} value value or not\n * @param {function(T): R} fn nested handler\n * @returns {R} result value\n */\nconst nestedConfig = (value, fn) =>\n\tvalue === undefined ? fn(/** @type {T} */ ({})) : fn(value);\n\n/**\n * @template T\n * @param {T|undefined} value value or not\n * @returns {T} result value\n */\nconst cloneObject = value => {\n\treturn /** @type {T} */ ({ ...value });\n};\n\n/**\n * @template T\n * @template R\n * @param {T|undefined} value value or not\n * @param {function(T): R} fn nested handler\n * @returns {R|undefined} result value\n */\nconst optionalNestedConfig = (value, fn) =>\n\tvalue === undefined ? undefined : fn(value);\n\n/**\n * @template T\n * @template R\n * @param {T[]|undefined} value array or not\n * @param {function(T[]): R[]} fn nested handler\n * @returns {R[]|undefined} cloned value\n */\nconst nestedArray = (value, fn) => (Array.isArray(value) ? fn(value) : fn([]));\n\n/**\n * @template T\n * @template R\n * @param {T[]|undefined} value array or not\n * @param {function(T[]): R[]} fn nested handler\n * @returns {R[]|undefined} cloned value\n */\nconst optionalNestedArray = (value, fn) =>\n\tArray.isArray(value) ? fn(value) : undefined;\n\n/**\n * @template T\n * @template R\n * @param {Record<string, T>|undefined} value value or not\n * @param {function(T): R} fn nested handler\n * @param {Record<string, function(T): R>=} customKeys custom nested handler for some keys\n * @returns {Record<string, R>} result value\n */\nconst keyedNestedConfig = (value, fn, customKeys) => {\n\tconst result =\n\t\tvalue === undefined\n\t\t\t? {}\n\t\t\t: Object.keys(value).reduce(\n\t\t\t\t\t(obj, key) => (\n\t\t\t\t\t\t(obj[key] = (\n\t\t\t\t\t\t\tcustomKeys && key in customKeys ? customKeys[key] : fn\n\t\t\t\t\t\t)(value[key])),\n\t\t\t\t\t\tobj\n\t\t\t\t\t),\n\t\t\t\t\t/** @type {Record<string, R>} */ ({})\n\t\t\t );\n\tif (customKeys) {\n\t\tfor (const key of Object.keys(customKeys)) {\n\t\t\tif (!(key in result)) {\n\t\t\t\tresult[key] = customKeys[key](/** @type {T} */ ({}));\n\t\t\t}\n\t\t}\n\t}\n\treturn result;\n};\n\n/**\n * @param {WebpackOptions} config input config\n * @returns {WebpackOptionsNormalized} normalized options\n */\nconst getNormalizedWebpackOptions = config => {\n\treturn {\n\t\tamd: config.amd,\n\t\tbail: config.bail,\n\t\tcache: optionalNestedConfig(config.cache, cache => {\n\t\t\tif (cache === false) return false;\n\t\t\tif (cache === true) {\n\t\t\t\treturn {\n\t\t\t\t\ttype: \"memory\",\n\t\t\t\t\tmaxGenerations: undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\tswitch (cache.type) {\n\t\t\t\tcase \"filesystem\":\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"filesystem\",\n\t\t\t\t\t\tallowCollectingMemory: cache.allowCollectingMemory,\n\t\t\t\t\t\tmaxMemoryGenerations: cache.maxMemoryGenerations,\n\t\t\t\t\t\tmaxAge: cache.maxAge,\n\t\t\t\t\t\tprofile: cache.profile,\n\t\t\t\t\t\tbuildDependencies: cloneObject(cache.buildDependencies),\n\t\t\t\t\t\tcacheDirectory: cache.cacheDirectory,\n\t\t\t\t\t\tcacheLocation: cache.cacheLocation,\n\t\t\t\t\t\thashAlgorithm: cache.hashAlgorithm,\n\t\t\t\t\t\tcompression: cache.compression,\n\t\t\t\t\t\tidleTimeout: cache.idleTimeout,\n\t\t\t\t\t\tidleTimeoutForInitialStore: cache.idleTimeoutForInitialStore,\n\t\t\t\t\t\tidleTimeoutAfterLargeChanges: cache.idleTimeoutAfterLargeChanges,\n\t\t\t\t\t\tname: cache.name,\n\t\t\t\t\t\tstore: cache.store,\n\t\t\t\t\t\tversion: cache.version\n\t\t\t\t\t};\n\t\t\t\tcase undefined:\n\t\t\t\tcase \"memory\":\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"memory\",\n\t\t\t\t\t\tmaxGenerations: cache.maxGenerations\n\t\t\t\t\t};\n\t\t\t\tdefault:\n\t\t\t\t\t// @ts-expect-error Property 'type' does not exist on type 'never'. ts(2339)\n\t\t\t\t\tthrow new Error(`Not implemented cache.type ${cache.type}`);\n\t\t\t}\n\t\t}),\n\t\tcontext: config.context,\n\t\tdependencies: config.dependencies,\n\t\tdevServer: optionalNestedConfig(config.devServer, devServer => ({\n\t\t\t...devServer\n\t\t})),\n\t\tdevtool: config.devtool,\n\t\tentry:\n\t\t\tconfig.entry === undefined\n\t\t\t\t? { main: {} }\n\t\t\t\t: typeof config.entry === \"function\"\n\t\t\t\t? (\n\t\t\t\t\t\tfn => () =>\n\t\t\t\t\t\t\tPromise.resolve().then(fn).then(getNormalizedEntryStatic)\n\t\t\t\t )(config.entry)\n\t\t\t\t: getNormalizedEntryStatic(config.entry),\n\t\texperiments: nestedConfig(config.experiments, experiments => ({\n\t\t\t...experiments,\n\t\t\tbuildHttp: optionalNestedConfig(experiments.buildHttp, options =>\n\t\t\t\tArray.isArray(options) ? { allowedUris: options } : options\n\t\t\t),\n\t\t\tlazyCompilation: optionalNestedConfig(\n\t\t\t\texperiments.lazyCompilation,\n\t\t\t\toptions => (options === true ? {} : options)\n\t\t\t),\n\t\t\tcss: optionalNestedConfig(experiments.css, options =>\n\t\t\t\toptions === true ? {} : options\n\t\t\t)\n\t\t})),\n\t\texternals: config.externals,\n\t\texternalsPresets: cloneObject(config.externalsPresets),\n\t\texternalsType: config.externalsType,\n\t\tignoreWarnings: config.ignoreWarnings\n\t\t\t? config.ignoreWarnings.map(ignore => {\n\t\t\t\t\tif (typeof ignore === \"function\") return ignore;\n\t\t\t\t\tconst i = ignore instanceof RegExp ? { message: ignore } : ignore;\n\t\t\t\t\treturn (warning, { requestShortener }) => {\n\t\t\t\t\t\tif (!i.message && !i.module && !i.file) return false;\n\t\t\t\t\t\tif (i.message && !i.message.test(warning.message)) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ti.module &&\n\t\t\t\t\t\t\t(!warning.module ||\n\t\t\t\t\t\t\t\t!i.module.test(\n\t\t\t\t\t\t\t\t\twarning.module.readableIdentifier(requestShortener)\n\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i.file && (!warning.file || !i.file.test(warning.file))) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t};\n\t\t\t })\n\t\t\t: undefined,\n\t\tinfrastructureLogging: cloneObject(config.infrastructureLogging),\n\t\tloader: cloneObject(config.loader),\n\t\tmode: config.mode,\n\t\tmodule: nestedConfig(config.module, module => ({\n\t\t\tnoParse: module.noParse,\n\t\t\tunsafeCache: module.unsafeCache,\n\t\t\tparser: keyedNestedConfig(module.parser, cloneObject, {\n\t\t\t\tjavascript: parserOptions => ({\n\t\t\t\t\tunknownContextRequest: module.unknownContextRequest,\n\t\t\t\t\tunknownContextRegExp: module.unknownContextRegExp,\n\t\t\t\t\tunknownContextRecursive: module.unknownContextRecursive,\n\t\t\t\t\tunknownContextCritical: module.unknownContextCritical,\n\t\t\t\t\texprContextRequest: module.exprContextRequest,\n\t\t\t\t\texprContextRegExp: module.exprContextRegExp,\n\t\t\t\t\texprContextRecursive: module.exprContextRecursive,\n\t\t\t\t\texprContextCritical: module.exprContextCritical,\n\t\t\t\t\twrappedContextRegExp: module.wrappedContextRegExp,\n\t\t\t\t\twrappedContextRecursive: module.wrappedContextRecursive,\n\t\t\t\t\twrappedContextCritical: module.wrappedContextCritical,\n\t\t\t\t\t// TODO webpack 6 remove\n\t\t\t\t\tstrictExportPresence: module.strictExportPresence,\n\t\t\t\t\tstrictThisContextOnImports: module.strictThisContextOnImports,\n\t\t\t\t\t...parserOptions\n\t\t\t\t})\n\t\t\t}),\n\t\t\tgenerator: cloneObject(module.generator),\n\t\t\tdefaultRules: optionalNestedArray(module.defaultRules, r => [...r]),\n\t\t\trules: nestedArray(module.rules, r => [...r])\n\t\t})),\n\t\tname: config.name,\n\t\tnode: nestedConfig(\n\t\t\tconfig.node,\n\t\t\tnode =>\n\t\t\t\tnode && {\n\t\t\t\t\t...node\n\t\t\t\t}\n\t\t),\n\t\toptimization: nestedConfig(config.optimization, optimization => {\n\t\t\treturn {\n\t\t\t\t...optimization,\n\t\t\t\truntimeChunk: getNormalizedOptimizationRuntimeChunk(\n\t\t\t\t\toptimization.runtimeChunk\n\t\t\t\t),\n\t\t\t\tsplitChunks: nestedConfig(\n\t\t\t\t\toptimization.splitChunks,\n\t\t\t\t\tsplitChunks =>\n\t\t\t\t\t\tsplitChunks && {\n\t\t\t\t\t\t\t...splitChunks,\n\t\t\t\t\t\t\tdefaultSizeTypes: splitChunks.defaultSizeTypes\n\t\t\t\t\t\t\t\t? [...splitChunks.defaultSizeTypes]\n\t\t\t\t\t\t\t\t: [\"...\"],\n\t\t\t\t\t\t\tcacheGroups: cloneObject(splitChunks.cacheGroups)\n\t\t\t\t\t\t}\n\t\t\t\t),\n\t\t\t\temitOnErrors:\n\t\t\t\t\toptimization.noEmitOnErrors !== undefined\n\t\t\t\t\t\t? handledDeprecatedNoEmitOnErrors(\n\t\t\t\t\t\t\t\toptimization.noEmitOnErrors,\n\t\t\t\t\t\t\t\toptimization.emitOnErrors\n\t\t\t\t\t\t )\n\t\t\t\t\t\t: optimization.emitOnErrors\n\t\t\t};\n\t\t}),\n\t\toutput: nestedConfig(config.output, output => {\n\t\t\tconst { library } = output;\n\t\t\tconst libraryAsName = /** @type {LibraryName} */ (library);\n\t\t\tconst libraryBase =\n\t\t\t\ttypeof library === \"object\" &&\n\t\t\t\tlibrary &&\n\t\t\t\t!Array.isArray(library) &&\n\t\t\t\t\"type\" in library\n\t\t\t\t\t? library\n\t\t\t\t\t: libraryAsName || output.libraryTarget\n\t\t\t\t\t? /** @type {LibraryOptions} */ ({\n\t\t\t\t\t\t\tname: libraryAsName\n\t\t\t\t\t })\n\t\t\t\t\t: undefined;\n\t\t\t/** @type {OutputNormalized} */\n\t\t\tconst result = {\n\t\t\t\tassetModuleFilename: output.assetModuleFilename,\n\t\t\t\tasyncChunks: output.asyncChunks,\n\t\t\t\tcharset: output.charset,\n\t\t\t\tchunkFilename: output.chunkFilename,\n\t\t\t\tchunkFormat: output.chunkFormat,\n\t\t\t\tchunkLoading: output.chunkLoading,\n\t\t\t\tchunkLoadingGlobal: output.chunkLoadingGlobal,\n\t\t\t\tchunkLoadTimeout: output.chunkLoadTimeout,\n\t\t\t\tcssFilename: output.cssFilename,\n\t\t\t\tcssChunkFilename: output.cssChunkFilename,\n\t\t\t\tclean: output.clean,\n\t\t\t\tcompareBeforeEmit: output.compareBeforeEmit,\n\t\t\t\tcrossOriginLoading: output.crossOriginLoading,\n\t\t\t\tdevtoolFallbackModuleFilenameTemplate:\n\t\t\t\t\toutput.devtoolFallbackModuleFilenameTemplate,\n\t\t\t\tdevtoolModuleFilenameTemplate: output.devtoolModuleFilenameTemplate,\n\t\t\t\tdevtoolNamespace: output.devtoolNamespace,\n\t\t\t\tenvironment: cloneObject(output.environment),\n\t\t\t\tenabledChunkLoadingTypes: output.enabledChunkLoadingTypes\n\t\t\t\t\t? [...output.enabledChunkLoadingTypes]\n\t\t\t\t\t: [\"...\"],\n\t\t\t\tenabledLibraryTypes: output.enabledLibraryTypes\n\t\t\t\t\t? [...output.enabledLibraryTypes]\n\t\t\t\t\t: [\"...\"],\n\t\t\t\tenabledWasmLoadingTypes: output.enabledWasmLoadingTypes\n\t\t\t\t\t? [...output.enabledWasmLoadingTypes]\n\t\t\t\t\t: [\"...\"],\n\t\t\t\tfilename: output.filename,\n\t\t\t\tglobalObject: output.globalObject,\n\t\t\t\thashDigest: output.hashDigest,\n\t\t\t\thashDigestLength: output.hashDigestLength,\n\t\t\t\thashFunction: output.hashFunction,\n\t\t\t\thashSalt: output.hashSalt,\n\t\t\t\thotUpdateChunkFilename: output.hotUpdateChunkFilename,\n\t\t\t\thotUpdateGlobal: output.hotUpdateGlobal,\n\t\t\t\thotUpdateMainFilename: output.hotUpdateMainFilename,\n\t\t\t\tiife: output.iife,\n\t\t\t\timportFunctionName: output.importFunctionName,\n\t\t\t\timportMetaName: output.importMetaName,\n\t\t\t\tscriptType: output.scriptType,\n\t\t\t\tlibrary: libraryBase && {\n\t\t\t\t\ttype:\n\t\t\t\t\t\toutput.libraryTarget !== undefined\n\t\t\t\t\t\t\t? output.libraryTarget\n\t\t\t\t\t\t\t: libraryBase.type,\n\t\t\t\t\tauxiliaryComment:\n\t\t\t\t\t\toutput.auxiliaryComment !== undefined\n\t\t\t\t\t\t\t? output.auxiliaryComment\n\t\t\t\t\t\t\t: libraryBase.auxiliaryComment,\n\t\t\t\t\texport:\n\t\t\t\t\t\toutput.libraryExport !== undefined\n\t\t\t\t\t\t\t? output.libraryExport\n\t\t\t\t\t\t\t: libraryBase.export,\n\t\t\t\t\tname: libraryBase.name,\n\t\t\t\t\tumdNamedDefine:\n\t\t\t\t\t\toutput.umdNamedDefine !== undefined\n\t\t\t\t\t\t\t? output.umdNamedDefine\n\t\t\t\t\t\t\t: libraryBase.umdNamedDefine\n\t\t\t\t},\n\t\t\t\tmodule: output.module,\n\t\t\t\tpath: output.path,\n\t\t\t\tpathinfo: output.pathinfo,\n\t\t\t\tpublicPath: output.publicPath,\n\t\t\t\tsourceMapFilename: output.sourceMapFilename,\n\t\t\t\tsourcePrefix: output.sourcePrefix,\n\t\t\t\tstrictModuleExceptionHandling: output.strictModuleExceptionHandling,\n\t\t\t\ttrustedTypes: optionalNestedConfig(\n\t\t\t\t\toutput.trustedTypes,\n\t\t\t\t\ttrustedTypes => {\n\t\t\t\t\t\tif (trustedTypes === true) return {};\n\t\t\t\t\t\tif (typeof trustedTypes === \"string\")\n\t\t\t\t\t\t\treturn { policyName: trustedTypes };\n\t\t\t\t\t\treturn { ...trustedTypes };\n\t\t\t\t\t}\n\t\t\t\t),\n\t\t\t\tuniqueName: output.uniqueName,\n\t\t\t\twasmLoading: output.wasmLoading,\n\t\t\t\twebassemblyModuleFilename: output.webassemblyModuleFilename,\n\t\t\t\tworkerChunkLoading: output.workerChunkLoading,\n\t\t\t\tworkerWasmLoading: output.workerWasmLoading\n\t\t\t};\n\t\t\treturn result;\n\t\t}),\n\t\tparallelism: config.parallelism,\n\t\tperformance: optionalNestedConfig(config.performance, performance => {\n\t\t\tif (performance === false) return false;\n\t\t\treturn {\n\t\t\t\t...performance\n\t\t\t};\n\t\t}),\n\t\tplugins: nestedArray(config.plugins, p => [...p]),\n\t\tprofile: config.profile,\n\t\trecordsInputPath:\n\t\t\tconfig.recordsInputPath !== undefined\n\t\t\t\t? config.recordsInputPath\n\t\t\t\t: config.recordsPath,\n\t\trecordsOutputPath:\n\t\t\tconfig.recordsOutputPath !== undefined\n\t\t\t\t? config.recordsOutputPath\n\t\t\t\t: config.recordsPath,\n\t\tresolve: nestedConfig(config.resolve, resolve => ({\n\t\t\t...resolve,\n\t\t\tbyDependency: keyedNestedConfig(resolve.byDependency, cloneObject)\n\t\t})),\n\t\tresolveLoader: cloneObject(config.resolveLoader),\n\t\tsnapshot: nestedConfig(config.snapshot, snapshot => ({\n\t\t\tresolveBuildDependencies: optionalNestedConfig(\n\t\t\t\tsnapshot.resolveBuildDependencies,\n\t\t\t\tresolveBuildDependencies => ({\n\t\t\t\t\ttimestamp: resolveBuildDependencies.timestamp,\n\t\t\t\t\thash: resolveBuildDependencies.hash\n\t\t\t\t})\n\t\t\t),\n\t\t\tbuildDependencies: optionalNestedConfig(\n\t\t\t\tsnapshot.buildDependencies,\n\t\t\t\tbuildDependencies => ({\n\t\t\t\t\ttimestamp: buildDependencies.timestamp,\n\t\t\t\t\thash: buildDependencies.hash\n\t\t\t\t})\n\t\t\t),\n\t\t\tresolve: optionalNestedConfig(snapshot.resolve, resolve => ({\n\t\t\t\ttimestamp: resolve.timestamp,\n\t\t\t\thash: resolve.hash\n\t\t\t})),\n\t\t\tmodule: optionalNestedConfig(snapshot.module, module => ({\n\t\t\t\ttimestamp: module.timestamp,\n\t\t\t\thash: module.hash\n\t\t\t})),\n\t\t\timmutablePaths: optionalNestedArray(snapshot.immutablePaths, p => [...p]),\n\t\t\tmanagedPaths: optionalNestedArray(snapshot.managedPaths, p => [...p])\n\t\t})),\n\t\tstats: nestedConfig(config.stats, stats => {\n\t\t\tif (stats === false) {\n\t\t\t\treturn {\n\t\t\t\t\tpreset: \"none\"\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (stats === true) {\n\t\t\t\treturn {\n\t\t\t\t\tpreset: \"normal\"\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (typeof stats === \"string\") {\n\t\t\t\treturn {\n\t\t\t\t\tpreset: stats\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn {\n\t\t\t\t...stats\n\t\t\t};\n\t\t}),\n\t\ttarget: config.target,\n\t\twatch: config.watch,\n\t\twatchOptions: cloneObject(config.watchOptions)\n\t};\n};\n\n/**\n * @param {EntryStatic} entry static entry options\n * @returns {EntryStaticNormalized} normalized static entry options\n */\nconst getNormalizedEntryStatic = entry => {\n\tif (typeof entry === \"string\") {\n\t\treturn {\n\t\t\tmain: {\n\t\t\t\timport: [entry]\n\t\t\t}\n\t\t};\n\t}\n\tif (Array.isArray(entry)) {\n\t\treturn {\n\t\t\tmain: {\n\t\t\t\timport: entry\n\t\t\t}\n\t\t};\n\t}\n\t/** @type {EntryStaticNormalized} */\n\tconst result = {};\n\tfor (const key of Object.keys(entry)) {\n\t\tconst value = entry[key];\n\t\tif (typeof value === \"string\") {\n\t\t\tresult[key] = {\n\t\t\t\timport: [value]\n\t\t\t};\n\t\t} else if (Array.isArray(value)) {\n\t\t\tresult[key] = {\n\t\t\t\timport: value\n\t\t\t};\n\t\t} else {\n\t\t\tresult[key] = {\n\t\t\t\timport:\n\t\t\t\t\tvalue.import &&\n\t\t\t\t\t(Array.isArray(value.import) ? value.import : [value.import]),\n\t\t\t\tfilename: value.filename,\n\t\t\t\tlayer: value.layer,\n\t\t\t\truntime: value.runtime,\n\t\t\t\tbaseUri: value.baseUri,\n\t\t\t\tpublicPath: value.publicPath,\n\t\t\t\tchunkLoading: value.chunkLoading,\n\t\t\t\tasyncChunks: value.asyncChunks,\n\t\t\t\twasmLoading: value.wasmLoading,\n\t\t\t\tdependOn:\n\t\t\t\t\tvalue.dependOn &&\n\t\t\t\t\t(Array.isArray(value.dependOn) ? value.dependOn : [value.dependOn]),\n\t\t\t\tlibrary: value.library\n\t\t\t};\n\t\t}\n\t}\n\treturn result;\n};\n\n/**\n * @param {OptimizationRuntimeChunk=} runtimeChunk runtimeChunk option\n * @returns {OptimizationRuntimeChunkNormalized=} normalized runtimeChunk option\n */\nconst getNormalizedOptimizationRuntimeChunk = runtimeChunk => {\n\tif (runtimeChunk === undefined) return undefined;\n\tif (runtimeChunk === false) return false;\n\tif (runtimeChunk === \"single\") {\n\t\treturn {\n\t\t\tname: () => \"runtime\"\n\t\t};\n\t}\n\tif (runtimeChunk === true || runtimeChunk === \"multiple\") {\n\t\treturn {\n\t\t\tname: entrypoint => `runtime~${entrypoint.name}`\n\t\t};\n\t}\n\tconst { name } = runtimeChunk;\n\treturn {\n\t\tname: typeof name === \"function\" ? name : () => name\n\t};\n};\n\nexports.getNormalizedWebpackOptions = getNormalizedWebpackOptions;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/config/normalization.js?"); /***/ }), /***/ "./node_modules/webpack/lib/config/target.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/config/target.js ***! \***************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\nconst getBrowserslistTargetHandler = memoize(() =>\n\t__webpack_require__(/*! ./browserslistTargetHandler */ \"./node_modules/webpack/lib/config/browserslistTargetHandler.js\")\n);\n\n/**\n * @param {string} context the context directory\n * @returns {string} default target\n */\nconst getDefaultTarget = context => {\n\tconst browsers = getBrowserslistTargetHandler().load(null, context);\n\treturn browsers ? \"browserslist\" : \"web\";\n};\n\n/**\n * @typedef {Object} PlatformTargetProperties\n * @property {boolean | null} web web platform, importing of http(s) and std: is available\n * @property {boolean | null} browser browser platform, running in a normal web browser\n * @property {boolean | null} webworker (Web)Worker platform, running in a web/shared/service worker\n * @property {boolean | null} node node platform, require of node built-in modules is available\n * @property {boolean | null} nwjs nwjs platform, require of legacy nw.gui is available\n * @property {boolean | null} electron electron platform, require of some electron built-in modules is available\n */\n\n/**\n * @typedef {Object} ElectronContextTargetProperties\n * @property {boolean | null} electronMain in main context\n * @property {boolean | null} electronPreload in preload context\n * @property {boolean | null} electronRenderer in renderer context with node integration\n */\n\n/**\n * @typedef {Object} ApiTargetProperties\n * @property {boolean | null} require has require function available\n * @property {boolean | null} nodeBuiltins has node.js built-in modules available\n * @property {boolean | null} document has document available (allows script tags)\n * @property {boolean | null} importScripts has importScripts available\n * @property {boolean | null} importScriptsInWorker has importScripts available when creating a worker\n * @property {boolean | null} fetchWasm has fetch function available for WebAssembly\n * @property {boolean | null} global has global variable available\n */\n\n/**\n * @typedef {Object} EcmaTargetProperties\n * @property {boolean | null} globalThis has globalThis variable available\n * @property {boolean | null} bigIntLiteral big int literal syntax is available\n * @property {boolean | null} const const and let variable declarations are available\n * @property {boolean | null} arrowFunction arrow functions are available\n * @property {boolean | null} forOf for of iteration is available\n * @property {boolean | null} destructuring destructuring is available\n * @property {boolean | null} dynamicImport async import() is available\n * @property {boolean | null} dynamicImportInWorker async import() is available when creating a worker\n * @property {boolean | null} module ESM syntax is available (when in module)\n * @property {boolean | null} optionalChaining optional chaining is available\n * @property {boolean | null} templateLiteral template literal is available\n */\n\n///** @typedef {PlatformTargetProperties | ApiTargetProperties | EcmaTargetProperties | PlatformTargetProperties & ApiTargetProperties | PlatformTargetProperties & EcmaTargetProperties | ApiTargetProperties & EcmaTargetProperties} TargetProperties */\n/** @template T @typedef {{ [P in keyof T]?: never }} Never<T> */\n/** @template A @template B @typedef {(A & Never<B>) | (Never<A> & B) | (A & B)} Mix<A,B> */\n/** @typedef {Mix<Mix<PlatformTargetProperties, ElectronContextTargetProperties>, Mix<ApiTargetProperties, EcmaTargetProperties>>} TargetProperties */\n\nconst versionDependent = (major, minor) => {\n\tif (!major) return () => /** @type {undefined} */ (undefined);\n\tmajor = +major;\n\tminor = minor ? +minor : 0;\n\treturn (vMajor, vMinor = 0) => {\n\t\treturn major > vMajor || (major === vMajor && minor >= vMinor);\n\t};\n};\n\n/** @type {[string, string, RegExp, (...args: string[]) => TargetProperties | false][]} */\nconst TARGETS = [\n\t[\n\t\t\"browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env\",\n\t\t\"Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config\",\n\t\t/^browserslist(?::(.+))?$/,\n\t\t(rest, context) => {\n\t\t\tconst browserslistTargetHandler = getBrowserslistTargetHandler();\n\t\t\tconst browsers = browserslistTargetHandler.load(\n\t\t\t\trest ? rest.trim() : null,\n\t\t\t\tcontext\n\t\t\t);\n\t\t\tif (!browsers) {\n\t\t\t\tthrow new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`);\n\t\t\t}\n\t\t\treturn browserslistTargetHandler.resolve(browsers);\n\t\t}\n\t],\n\t[\n\t\t\"web\",\n\t\t\"Web browser.\",\n\t\t/^web$/,\n\t\t() => {\n\t\t\treturn {\n\t\t\t\tweb: true,\n\t\t\t\tbrowser: true,\n\t\t\t\twebworker: null,\n\t\t\t\tnode: false,\n\t\t\t\telectron: false,\n\t\t\t\tnwjs: false,\n\n\t\t\t\tdocument: true,\n\t\t\t\timportScriptsInWorker: true,\n\t\t\t\tfetchWasm: true,\n\t\t\t\tnodeBuiltins: false,\n\t\t\t\timportScripts: false,\n\t\t\t\trequire: false,\n\t\t\t\tglobal: false\n\t\t\t};\n\t\t}\n\t],\n\t[\n\t\t\"webworker\",\n\t\t\"Web Worker, SharedWorker or Service Worker.\",\n\t\t/^webworker$/,\n\t\t() => {\n\t\t\treturn {\n\t\t\t\tweb: true,\n\t\t\t\tbrowser: true,\n\t\t\t\twebworker: true,\n\t\t\t\tnode: false,\n\t\t\t\telectron: false,\n\t\t\t\tnwjs: false,\n\n\t\t\t\timportScripts: true,\n\t\t\t\timportScriptsInWorker: true,\n\t\t\t\tfetchWasm: true,\n\t\t\t\tnodeBuiltins: false,\n\t\t\t\trequire: false,\n\t\t\t\tdocument: false,\n\t\t\t\tglobal: false\n\t\t\t};\n\t\t}\n\t],\n\t[\n\t\t\"[async-]node[X[.Y]]\",\n\t\t\"Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.\",\n\t\t/^(async-)?node(\\d+(?:\\.(\\d+))?)?$/,\n\t\t(asyncFlag, major, minor) => {\n\t\t\tconst v = versionDependent(major, minor);\n\t\t\t// see https://node.green/\n\t\t\treturn {\n\t\t\t\tnode: true,\n\t\t\t\telectron: false,\n\t\t\t\tnwjs: false,\n\t\t\t\tweb: false,\n\t\t\t\twebworker: false,\n\t\t\t\tbrowser: false,\n\n\t\t\t\trequire: !asyncFlag,\n\t\t\t\tnodeBuiltins: true,\n\t\t\t\tglobal: true,\n\t\t\t\tdocument: false,\n\t\t\t\tfetchWasm: false,\n\t\t\t\timportScripts: false,\n\t\t\t\timportScriptsInWorker: false,\n\n\t\t\t\tglobalThis: v(12),\n\t\t\t\tconst: v(6),\n\t\t\t\ttemplateLiteral: v(4),\n\t\t\t\toptionalChaining: v(14),\n\t\t\t\tarrowFunction: v(6),\n\t\t\t\tforOf: v(5),\n\t\t\t\tdestructuring: v(6),\n\t\t\t\tbigIntLiteral: v(10, 4),\n\t\t\t\tdynamicImport: v(12, 17),\n\t\t\t\tdynamicImportInWorker: major ? false : undefined,\n\t\t\t\tmodule: v(12, 17)\n\t\t\t};\n\t\t}\n\t],\n\t[\n\t\t\"electron[X[.Y]]-main/preload/renderer\",\n\t\t\"Electron in version X.Y. Script is running in main, preload resp. renderer context.\",\n\t\t/^electron(\\d+(?:\\.(\\d+))?)?-(main|preload|renderer)$/,\n\t\t(major, minor, context) => {\n\t\t\tconst v = versionDependent(major, minor);\n\t\t\t// see https://node.green/ + https://github.com/electron/releases\n\t\t\treturn {\n\t\t\t\tnode: true,\n\t\t\t\telectron: true,\n\t\t\t\tweb: context !== \"main\",\n\t\t\t\twebworker: false,\n\t\t\t\tbrowser: false,\n\t\t\t\tnwjs: false,\n\n\t\t\t\telectronMain: context === \"main\",\n\t\t\t\telectronPreload: context === \"preload\",\n\t\t\t\telectronRenderer: context === \"renderer\",\n\n\t\t\t\tglobal: true,\n\t\t\t\tnodeBuiltins: true,\n\t\t\t\trequire: true,\n\t\t\t\tdocument: context === \"renderer\",\n\t\t\t\tfetchWasm: context === \"renderer\",\n\t\t\t\timportScripts: false,\n\t\t\t\timportScriptsInWorker: true,\n\n\t\t\t\tglobalThis: v(5),\n\t\t\t\tconst: v(1, 1),\n\t\t\t\ttemplateLiteral: v(1, 1),\n\t\t\t\toptionalChaining: v(8),\n\t\t\t\tarrowFunction: v(1, 1),\n\t\t\t\tforOf: v(0, 36),\n\t\t\t\tdestructuring: v(1, 1),\n\t\t\t\tbigIntLiteral: v(4),\n\t\t\t\tdynamicImport: v(11),\n\t\t\t\tdynamicImportInWorker: major ? false : undefined,\n\t\t\t\tmodule: v(11)\n\t\t\t};\n\t\t}\n\t],\n\t[\n\t\t\"nwjs[X[.Y]] / node-webkit[X[.Y]]\",\n\t\t\"NW.js in version X.Y.\",\n\t\t/^(?:nwjs|node-webkit)(\\d+(?:\\.(\\d+))?)?$/,\n\t\t(major, minor) => {\n\t\t\tconst v = versionDependent(major, minor);\n\t\t\t// see https://node.green/ + https://github.com/nwjs/nw.js/blob/nw48/CHANGELOG.md\n\t\t\treturn {\n\t\t\t\tnode: true,\n\t\t\t\tweb: true,\n\t\t\t\tnwjs: true,\n\t\t\t\twebworker: null,\n\t\t\t\tbrowser: false,\n\t\t\t\telectron: false,\n\n\t\t\t\tglobal: true,\n\t\t\t\tnodeBuiltins: true,\n\t\t\t\tdocument: false,\n\t\t\t\timportScriptsInWorker: false,\n\t\t\t\tfetchWasm: false,\n\t\t\t\timportScripts: false,\n\t\t\t\trequire: false,\n\n\t\t\t\tglobalThis: v(0, 43),\n\t\t\t\tconst: v(0, 15),\n\t\t\t\ttemplateLiteral: v(0, 13),\n\t\t\t\toptionalChaining: v(0, 44),\n\t\t\t\tarrowFunction: v(0, 15),\n\t\t\t\tforOf: v(0, 13),\n\t\t\t\tdestructuring: v(0, 15),\n\t\t\t\tbigIntLiteral: v(0, 32),\n\t\t\t\tdynamicImport: v(0, 43),\n\t\t\t\tdynamicImportInWorker: major ? false : undefined,\n\t\t\t\tmodule: v(0, 43)\n\t\t\t};\n\t\t}\n\t],\n\t[\n\t\t\"esX\",\n\t\t\"EcmaScript in this version. Examples: es2020, es5.\",\n\t\t/^es(\\d+)$/,\n\t\tversion => {\n\t\t\tlet v = +version;\n\t\t\tif (v < 1000) v = v + 2009;\n\t\t\treturn {\n\t\t\t\tconst: v >= 2015,\n\t\t\t\ttemplateLiteral: v >= 2015,\n\t\t\t\toptionalChaining: v >= 2020,\n\t\t\t\tarrowFunction: v >= 2015,\n\t\t\t\tforOf: v >= 2015,\n\t\t\t\tdestructuring: v >= 2015,\n\t\t\t\tmodule: v >= 2015,\n\t\t\t\tglobalThis: v >= 2020,\n\t\t\t\tbigIntLiteral: v >= 2020,\n\t\t\t\tdynamicImport: v >= 2020,\n\t\t\t\tdynamicImportInWorker: v >= 2020\n\t\t\t};\n\t\t}\n\t]\n];\n\n/**\n * @param {string} target the target\n * @param {string} context the context directory\n * @returns {TargetProperties} target properties\n */\nconst getTargetProperties = (target, context) => {\n\tfor (const [, , regExp, handler] of TARGETS) {\n\t\tconst match = regExp.exec(target);\n\t\tif (match) {\n\t\t\tconst [, ...args] = match;\n\t\t\tconst result = handler(...args, context);\n\t\t\tif (result) return result;\n\t\t}\n\t}\n\tthrow new Error(\n\t\t`Unknown target '${target}'. The following targets are supported:\\n${TARGETS.map(\n\t\t\t([name, description]) => `* ${name}: ${description}`\n\t\t).join(\"\\n\")}`\n\t);\n};\n\nconst mergeTargetProperties = targetProperties => {\n\tconst keys = new Set();\n\tfor (const tp of targetProperties) {\n\t\tfor (const key of Object.keys(tp)) {\n\t\t\tkeys.add(key);\n\t\t}\n\t}\n\tconst result = {};\n\tfor (const key of keys) {\n\t\tlet hasTrue = false;\n\t\tlet hasFalse = false;\n\t\tfor (const tp of targetProperties) {\n\t\t\tconst value = tp[key];\n\t\t\tswitch (value) {\n\t\t\t\tcase true:\n\t\t\t\t\thasTrue = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase false:\n\t\t\t\t\thasFalse = true;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (hasTrue || hasFalse)\n\t\t\tresult[key] = hasFalse && hasTrue ? null : hasTrue ? true : false;\n\t}\n\treturn /** @type {TargetProperties} */ (result);\n};\n\n/**\n * @param {string[]} targets the targets\n * @param {string} context the context directory\n * @returns {TargetProperties} target properties\n */\nconst getTargetsProperties = (targets, context) => {\n\treturn mergeTargetProperties(\n\t\ttargets.map(t => getTargetProperties(t, context))\n\t);\n};\n\nexports.getDefaultTarget = getDefaultTarget;\nexports.getTargetProperties = getTargetProperties;\nexports.getTargetsProperties = getTargetsProperties;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/config/target.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerEntryDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerEntryDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/** @typedef {import(\"./ContainerEntryModule\").ExposeOptions} ExposeOptions */\n\nclass ContainerEntryDependency extends Dependency {\n\t/**\n\t * @param {string} name entry name\n\t * @param {[string, ExposeOptions][]} exposes list of exposed modules\n\t * @param {string} shareScope name of the share scope\n\t */\n\tconstructor(name, exposes, shareScope) {\n\t\tsuper();\n\t\tthis.name = name;\n\t\tthis.exposes = exposes;\n\t\tthis.shareScope = shareScope;\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `container-entry-${this.name}`;\n\t}\n\n\tget type() {\n\t\treturn \"container entry\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tContainerEntryDependency,\n\t\"webpack/lib/container/ContainerEntryDependency\"\n);\n\nmodule.exports = ContainerEntryDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerEntryDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerEntryModule.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerEntryModule.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst { OriginalSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContainerExposedDependency = __webpack_require__(/*! ./ContainerExposedDependency */ \"./node_modules/webpack/lib/container/ContainerExposedDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"./ContainerEntryDependency\")} ContainerEntryDependency */\n\n/**\n * @typedef {Object} ExposeOptions\n * @property {string[]} import requests to exposed modules (last one is exported)\n * @property {string} name custom chunk name for the exposed module\n */\n\nconst SOURCE_TYPES = new Set([\"javascript\"]);\n\nclass ContainerEntryModule extends Module {\n\t/**\n\t * @param {string} name container entry name\n\t * @param {[string, ExposeOptions][]} exposes list of exposed modules\n\t * @param {string} shareScope name of the share scope\n\t */\n\tconstructor(name, exposes, shareScope) {\n\t\tsuper(\"javascript/dynamic\", null);\n\t\tthis._name = name;\n\t\tthis._exposes = exposes;\n\t\tthis._shareScope = shareScope;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn SOURCE_TYPES;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `container entry (${this._shareScope}) ${JSON.stringify(\n\t\t\tthis._exposes\n\t\t)}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `container entry`;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn `${this.layer ? `(${this.layer})/` : \"\"}webpack/container/entry/${\n\t\t\tthis._name\n\t\t}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\treturn callback(null, !this.buildMeta);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tstrict: true,\n\t\t\ttopLevelDeclarations: new Set([\"moduleMap\", \"get\", \"init\"])\n\t\t};\n\t\tthis.buildMeta.exportsType = \"namespace\";\n\n\t\tthis.clearDependenciesAndBlocks();\n\n\t\tfor (const [name, options] of this._exposes) {\n\t\t\tconst block = new AsyncDependenciesBlock(\n\t\t\t\t{\n\t\t\t\t\tname: options.name\n\t\t\t\t},\n\t\t\t\t{ name },\n\t\t\t\toptions.import[options.import.length - 1]\n\t\t\t);\n\t\t\tlet idx = 0;\n\t\t\tfor (const request of options.import) {\n\t\t\t\tconst dep = new ContainerExposedDependency(name, request);\n\t\t\t\tdep.loc = {\n\t\t\t\t\tname,\n\t\t\t\t\tindex: idx++\n\t\t\t\t};\n\n\t\t\t\tblock.addDependency(dep);\n\t\t\t}\n\t\t\tthis.addBlock(block);\n\t\t}\n\t\tthis.addDependency(new StaticExportsDependency([\"get\", \"init\"], false));\n\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ moduleGraph, chunkGraph, runtimeTemplate }) {\n\t\tconst sources = new Map();\n\t\tconst runtimeRequirements = new Set([\n\t\t\tRuntimeGlobals.definePropertyGetters,\n\t\t\tRuntimeGlobals.hasOwnProperty,\n\t\t\tRuntimeGlobals.exports\n\t\t]);\n\t\tconst getters = [];\n\n\t\tfor (const block of this.blocks) {\n\t\t\tconst { dependencies } = block;\n\n\t\t\tconst modules = dependencies.map(dependency => {\n\t\t\t\tconst dep = /** @type {ContainerExposedDependency} */ (dependency);\n\t\t\t\treturn {\n\t\t\t\t\tname: dep.exposedName,\n\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\trequest: dep.userRequest\n\t\t\t\t};\n\t\t\t});\n\n\t\t\tlet str;\n\n\t\t\tif (modules.some(m => !m.module)) {\n\t\t\t\tstr = runtimeTemplate.throwMissingModuleErrorBlock({\n\t\t\t\t\trequest: modules.map(m => m.request).join(\", \")\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tstr = `return ${runtimeTemplate.blockPromise({\n\t\t\t\t\tblock,\n\t\t\t\t\tmessage: \"\",\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t})}.then(${runtimeTemplate.returningFunction(\n\t\t\t\t\truntimeTemplate.returningFunction(\n\t\t\t\t\t\t`(${modules\n\t\t\t\t\t\t\t.map(({ module, request }) =>\n\t\t\t\t\t\t\t\truntimeTemplate.moduleRaw({\n\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\tweak: false,\n\t\t\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.join(\", \")})`\n\t\t\t\t\t)\n\t\t\t\t)});`;\n\t\t\t}\n\n\t\t\tgetters.push(\n\t\t\t\t`${JSON.stringify(modules[0].name)}: ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"\",\n\t\t\t\t\tstr\n\t\t\t\t)}`\n\t\t\t);\n\t\t}\n\n\t\tconst source = Template.asString([\n\t\t\t`var moduleMap = {`,\n\t\t\tTemplate.indent(getters.join(\",\\n\")),\n\t\t\t\"};\",\n\t\t\t`var get = ${runtimeTemplate.basicFunction(\"module, getScope\", [\n\t\t\t\t`${RuntimeGlobals.currentRemoteGetScope} = getScope;`,\n\t\t\t\t// reusing the getScope variable to avoid creating a new var (and module is also used later)\n\t\t\t\t\"getScope = (\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`${RuntimeGlobals.hasOwnProperty}(moduleMap, module)`,\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"? moduleMap[module]()\",\n\t\t\t\t\t\t`: Promise.resolve().then(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\"throw new Error('Module \\\"' + module + '\\\" does not exist in container.');\"\n\t\t\t\t\t\t)})`\n\t\t\t\t\t])\n\t\t\t\t]),\n\t\t\t\t\");\",\n\t\t\t\t`${RuntimeGlobals.currentRemoteGetScope} = undefined;`,\n\t\t\t\t\"return getScope;\"\n\t\t\t])};`,\n\t\t\t`var init = ${runtimeTemplate.basicFunction(\"shareScope, initScope\", [\n\t\t\t\t`if (!${RuntimeGlobals.shareScopeMap}) return;`,\n\t\t\t\t`var name = ${JSON.stringify(this._shareScope)}`,\n\t\t\t\t`var oldScope = ${RuntimeGlobals.shareScopeMap}[name];`,\n\t\t\t\t`if(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");`,\n\t\t\t\t`${RuntimeGlobals.shareScopeMap}[name] = shareScope;`,\n\t\t\t\t`return ${RuntimeGlobals.initializeSharing}(name, initScope);`\n\t\t\t])};`,\n\t\t\t\"\",\n\t\t\t\"// This exports getters to disallow modifications\",\n\t\t\t`${RuntimeGlobals.definePropertyGetters}(exports, {`,\n\t\t\tTemplate.indent([\n\t\t\t\t`get: ${runtimeTemplate.returningFunction(\"get\")},`,\n\t\t\t\t`init: ${runtimeTemplate.returningFunction(\"init\")}`\n\t\t\t]),\n\t\t\t\"});\"\n\t\t]);\n\n\t\tsources.set(\n\t\t\t\"javascript\",\n\t\t\tthis.useSourceMap || this.useSimpleSourceMap\n\t\t\t\t? new OriginalSource(source, \"webpack/container-entry\")\n\t\t\t\t: new RawSource(source)\n\t\t);\n\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements\n\t\t};\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 42;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this._name);\n\t\twrite(this._exposes);\n\t\twrite(this._shareScope);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new ContainerEntryModule(read(), read(), read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tContainerEntryModule,\n\t\"webpack/lib/container/ContainerEntryModule\"\n);\n\nmodule.exports = ContainerEntryModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerEntryModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerEntryModuleFactory.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerEntryModuleFactory.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst ModuleFactory = __webpack_require__(/*! ../ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst ContainerEntryModule = __webpack_require__(/*! ./ContainerEntryModule */ \"./node_modules/webpack/lib/container/ContainerEntryModule.js\");\n\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./ContainerEntryDependency\")} ContainerEntryDependency */\n\nmodule.exports = class ContainerEntryModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate({ dependencies: [dependency] }, callback) {\n\t\tconst dep = /** @type {ContainerEntryDependency} */ (dependency);\n\t\tcallback(null, {\n\t\t\tmodule: new ContainerEntryModule(dep.name, dep.exposes, dep.shareScope)\n\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerEntryModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerExposedDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerExposedDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ContainerExposedDependency extends ModuleDependency {\n\t/**\n\t * @param {string} exposedName public name\n\t * @param {string} request request to module\n\t */\n\tconstructor(exposedName, request) {\n\t\tsuper(request);\n\t\tthis.exposedName = exposedName;\n\t}\n\n\tget type() {\n\t\treturn \"container exposed\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `exposed dependency ${this.exposedName}=${this.request}`;\n\t}\n\n\tserialize(context) {\n\t\tcontext.write(this.exposedName);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tthis.exposedName = context.read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tContainerExposedDependency,\n\t\"webpack/lib/container/ContainerExposedDependency\"\n);\n\nmodule.exports = ContainerExposedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerExposedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst ContainerEntryDependency = __webpack_require__(/*! ./ContainerEntryDependency */ \"./node_modules/webpack/lib/container/ContainerEntryDependency.js\");\nconst ContainerEntryModuleFactory = __webpack_require__(/*! ./ContainerEntryModuleFactory */ \"./node_modules/webpack/lib/container/ContainerEntryModuleFactory.js\");\nconst ContainerExposedDependency = __webpack_require__(/*! ./ContainerExposedDependency */ \"./node_modules/webpack/lib/container/ContainerExposedDependency.js\");\nconst { parseOptions } = __webpack_require__(/*! ./options */ \"./node_modules/webpack/lib/container/options.js\");\n\n/** @typedef {import(\"../../declarations/plugins/container/ContainerPlugin\").ContainerPluginOptions} ContainerPluginOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/container/ContainerPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/container/ContainerPlugin.json */ \"./node_modules/webpack/schemas/plugins/container/ContainerPlugin.json\"),\n\t{\n\t\tname: \"Container Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst PLUGIN_NAME = \"ContainerPlugin\";\n\nclass ContainerPlugin {\n\t/**\n\t * @param {ContainerPluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\n\t\tthis._options = {\n\t\t\tname: options.name,\n\t\t\tshareScope: options.shareScope || \"default\",\n\t\t\tlibrary: options.library || {\n\t\t\t\ttype: \"var\",\n\t\t\t\tname: options.name\n\t\t\t},\n\t\t\truntime: options.runtime,\n\t\t\tfilename: options.filename || undefined,\n\t\t\texposes: parseOptions(\n\t\t\t\toptions.exposes,\n\t\t\t\titem => ({\n\t\t\t\t\timport: Array.isArray(item) ? item : [item],\n\t\t\t\t\tname: undefined\n\t\t\t\t}),\n\t\t\t\titem => ({\n\t\t\t\t\timport: Array.isArray(item.import) ? item.import : [item.import],\n\t\t\t\t\tname: item.name || undefined\n\t\t\t\t})\n\t\t\t)\n\t\t};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { name, exposes, shareScope, filename, library, runtime } =\n\t\t\tthis._options;\n\n\t\tcompiler.options.output.enabledLibraryTypes.push(library.type);\n\n\t\tcompiler.hooks.make.tapAsync(PLUGIN_NAME, (compilation, callback) => {\n\t\t\tconst dep = new ContainerEntryDependency(name, exposes, shareScope);\n\t\t\tdep.loc = { name };\n\t\t\tcompilation.addEntry(\n\t\t\t\tcompilation.options.context,\n\t\t\t\tdep,\n\t\t\t\t{\n\t\t\t\t\tname,\n\t\t\t\t\tfilename,\n\t\t\t\t\truntime,\n\t\t\t\t\tlibrary\n\t\t\t\t},\n\t\t\t\terror => {\n\t\t\t\t\tif (error) return callback(error);\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\tPLUGIN_NAME,\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tContainerEntryDependency,\n\t\t\t\t\tnew ContainerEntryModuleFactory()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tContainerExposedDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ContainerPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ContainerReferencePlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/container/ContainerReferencePlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst ExternalsPlugin = __webpack_require__(/*! ../ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst FallbackDependency = __webpack_require__(/*! ./FallbackDependency */ \"./node_modules/webpack/lib/container/FallbackDependency.js\");\nconst FallbackItemDependency = __webpack_require__(/*! ./FallbackItemDependency */ \"./node_modules/webpack/lib/container/FallbackItemDependency.js\");\nconst FallbackModuleFactory = __webpack_require__(/*! ./FallbackModuleFactory */ \"./node_modules/webpack/lib/container/FallbackModuleFactory.js\");\nconst RemoteModule = __webpack_require__(/*! ./RemoteModule */ \"./node_modules/webpack/lib/container/RemoteModule.js\");\nconst RemoteRuntimeModule = __webpack_require__(/*! ./RemoteRuntimeModule */ \"./node_modules/webpack/lib/container/RemoteRuntimeModule.js\");\nconst RemoteToExternalDependency = __webpack_require__(/*! ./RemoteToExternalDependency */ \"./node_modules/webpack/lib/container/RemoteToExternalDependency.js\");\nconst { parseOptions } = __webpack_require__(/*! ./options */ \"./node_modules/webpack/lib/container/options.js\");\n\n/** @typedef {import(\"../../declarations/plugins/container/ContainerReferencePlugin\").ContainerReferencePluginOptions} ContainerReferencePluginOptions */\n/** @typedef {import(\"../../declarations/plugins/container/ContainerReferencePlugin\").RemotesConfig} RemotesConfig */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/container/ContainerReferencePlugin.check.js */ \"./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js\"),\n\t() =>\n\t\t__webpack_require__(/*! ../../schemas/plugins/container/ContainerReferencePlugin.json */ \"./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json\"),\n\t{\n\t\tname: \"Container Reference Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst slashCode = \"/\".charCodeAt(0);\n\nclass ContainerReferencePlugin {\n\t/**\n\t * @param {ContainerReferencePluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\n\t\tthis._remoteType = options.remoteType;\n\t\tthis._remotes = parseOptions(\n\t\t\toptions.remotes,\n\t\t\titem => ({\n\t\t\t\texternal: Array.isArray(item) ? item : [item],\n\t\t\t\tshareScope: options.shareScope || \"default\"\n\t\t\t}),\n\t\t\titem => ({\n\t\t\t\texternal: Array.isArray(item.external)\n\t\t\t\t\t? item.external\n\t\t\t\t\t: [item.external],\n\t\t\t\tshareScope: item.shareScope || options.shareScope || \"default\"\n\t\t\t})\n\t\t);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _remotes: remotes, _remoteType: remoteType } = this;\n\n\t\t/** @type {Record<string, string>} */\n\t\tconst remoteExternals = {};\n\t\tfor (const [key, config] of remotes) {\n\t\t\tlet i = 0;\n\t\t\tfor (const external of config.external) {\n\t\t\t\tif (external.startsWith(\"internal \")) continue;\n\t\t\t\tremoteExternals[\n\t\t\t\t\t`webpack/container/reference/${key}${i ? `/fallback-${i}` : \"\"}`\n\t\t\t\t] = external;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tnew ExternalsPlugin(remoteType, remoteExternals).apply(compiler);\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ContainerReferencePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRemoteToExternalDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tFallbackItemDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tFallbackDependency,\n\t\t\t\t\tnew FallbackModuleFactory()\n\t\t\t\t);\n\n\t\t\t\tnormalModuleFactory.hooks.factorize.tap(\n\t\t\t\t\t\"ContainerReferencePlugin\",\n\t\t\t\t\tdata => {\n\t\t\t\t\t\tif (!data.request.includes(\"!\")) {\n\t\t\t\t\t\t\tfor (const [key, config] of remotes) {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tdata.request.startsWith(`${key}`) &&\n\t\t\t\t\t\t\t\t\t(data.request.length === key.length ||\n\t\t\t\t\t\t\t\t\t\tdata.request.charCodeAt(key.length) === slashCode)\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn new RemoteModule(\n\t\t\t\t\t\t\t\t\t\tdata.request,\n\t\t\t\t\t\t\t\t\t\tconfig.external.map((external, i) =>\n\t\t\t\t\t\t\t\t\t\t\texternal.startsWith(\"internal \")\n\t\t\t\t\t\t\t\t\t\t\t\t? external.slice(9)\n\t\t\t\t\t\t\t\t\t\t\t\t: `webpack/container/reference/${key}${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ti ? `/fallback-${i}` : \"\"\n\t\t\t\t\t\t\t\t\t\t\t\t }`\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t`.${data.request.slice(key.length)}`,\n\t\t\t\t\t\t\t\t\t\tconfig.shareScope\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ContainerReferencePlugin\", (chunk, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.module);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\t\tset.add(RuntimeGlobals.initializeSharing);\n\t\t\t\t\t\tset.add(RuntimeGlobals.shareScopeMap);\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new RemoteRuntimeModule());\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ContainerReferencePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ContainerReferencePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/FallbackDependency.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/container/FallbackDependency.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass FallbackDependency extends Dependency {\n\tconstructor(requests) {\n\t\tsuper();\n\t\tthis.requests = requests;\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `fallback ${this.requests.join(\" \")}`;\n\t}\n\n\tget type() {\n\t\treturn \"fallback\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.requests);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new FallbackDependency(read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tFallbackDependency,\n\t\"webpack/lib/container/FallbackDependency\"\n);\n\nmodule.exports = FallbackDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/FallbackDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/FallbackItemDependency.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/container/FallbackItemDependency.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass FallbackItemDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"fallback item\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tFallbackItemDependency,\n\t\"webpack/lib/container/FallbackItemDependency\"\n);\n\nmodule.exports = FallbackItemDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/FallbackItemDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/FallbackModule.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/container/FallbackModule.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst FallbackItemDependency = __webpack_require__(/*! ./FallbackItemDependency */ \"./node_modules/webpack/lib/container/FallbackItemDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"javascript\"]);\nconst RUNTIME_REQUIREMENTS = new Set([RuntimeGlobals.module]);\n\nclass FallbackModule extends Module {\n\t/**\n\t * @param {string[]} requests list of requests to choose one\n\t */\n\tconstructor(requests) {\n\t\tsuper(\"fallback-module\");\n\t\tthis.requests = requests;\n\t\tthis._identifier = `fallback ${this.requests.join(\" \")}`;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this._identifier;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn this._identifier;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn `${this.layer ? `(${this.layer})/` : \"\"}webpack/container/fallback/${\n\t\t\tthis.requests[0]\n\t\t}/and ${this.requests.length - 1} more`;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk which condition should be checked\n\t * @param {Compilation} compilation the compilation\n\t * @returns {boolean} true, if the chunk is ok for the module\n\t */\n\tchunkCondition(chunk, { chunkGraph }) {\n\t\treturn chunkGraph.getNumberOfEntryModules(chunk) > 0;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(null, !this.buildInfo);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tstrict: true\n\t\t};\n\n\t\tthis.clearDependenciesAndBlocks();\n\t\tfor (const request of this.requests)\n\t\t\tthis.addDependency(new FallbackItemDependency(request));\n\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn this.requests.length * 5 + 42;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ runtimeTemplate, moduleGraph, chunkGraph }) {\n\t\tconst ids = this.dependencies.map(dep =>\n\t\t\tchunkGraph.getModuleId(moduleGraph.getModule(dep))\n\t\t);\n\t\tconst code = Template.asString([\n\t\t\t`var ids = ${JSON.stringify(ids)};`,\n\t\t\t\"var error, result, i = 0;\",\n\t\t\t`var loop = ${runtimeTemplate.basicFunction(\"next\", [\n\t\t\t\t\"while(i < ids.length) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }\",\n\t\t\t\t\t\"if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"if(error) throw error;\"\n\t\t\t])}`,\n\t\t\t`var handleResult = ${runtimeTemplate.basicFunction(\"result\", [\n\t\t\t\t\"if(result) return result;\",\n\t\t\t\t\"return loop();\"\n\t\t\t])};`,\n\t\t\t`var handleError = ${runtimeTemplate.basicFunction(\"e\", [\n\t\t\t\t\"error = e;\",\n\t\t\t\t\"return loop();\"\n\t\t\t])};`,\n\t\t\t\"module.exports = loop();\"\n\t\t]);\n\t\tconst sources = new Map();\n\t\tsources.set(\"javascript\", new RawSource(code));\n\t\treturn { sources, runtimeRequirements: RUNTIME_REQUIREMENTS };\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.requests);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new FallbackModule(read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(FallbackModule, \"webpack/lib/container/FallbackModule\");\n\nmodule.exports = FallbackModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/FallbackModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/FallbackModuleFactory.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/container/FallbackModuleFactory.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra, Zackary Jackson @ScriptedAlchemy, Marais Rossouw @maraisr\n*/\n\n\n\nconst ModuleFactory = __webpack_require__(/*! ../ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst FallbackModule = __webpack_require__(/*! ./FallbackModule */ \"./node_modules/webpack/lib/container/FallbackModule.js\");\n\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./FallbackDependency\")} FallbackDependency */\n\nmodule.exports = class FallbackModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate({ dependencies: [dependency] }, callback) {\n\t\tconst dep = /** @type {FallbackDependency} */ (dependency);\n\t\tcallback(null, {\n\t\t\tmodule: new FallbackModule(dep.requests)\n\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/FallbackModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/ModuleFederationPlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/container/ModuleFederationPlugin.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst isValidExternalsType = __webpack_require__(/*! ../../schemas/plugins/container/ExternalsType.check.js */ \"./node_modules/webpack/schemas/plugins/container/ExternalsType.check.js\");\nconst SharePlugin = __webpack_require__(/*! ../sharing/SharePlugin */ \"./node_modules/webpack/lib/sharing/SharePlugin.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst ContainerPlugin = __webpack_require__(/*! ./ContainerPlugin */ \"./node_modules/webpack/lib/container/ContainerPlugin.js\");\nconst ContainerReferencePlugin = __webpack_require__(/*! ./ContainerReferencePlugin */ \"./node_modules/webpack/lib/container/ContainerReferencePlugin.js\");\n\n/** @typedef {import(\"../../declarations/plugins/container/ModuleFederationPlugin\").ExternalsType} ExternalsType */\n/** @typedef {import(\"../../declarations/plugins/container/ModuleFederationPlugin\").ModuleFederationPluginOptions} ModuleFederationPluginOptions */\n/** @typedef {import(\"../../declarations/plugins/container/ModuleFederationPlugin\").Shared} Shared */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/container/ModuleFederationPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/container/ModuleFederationPlugin.json */ \"./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json\"),\n\t{\n\t\tname: \"Module Federation Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\nclass ModuleFederationPlugin {\n\t/**\n\t * @param {ModuleFederationPluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\n\t\tthis._options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _options: options } = this;\n\t\tconst library = options.library || { type: \"var\", name: options.name };\n\t\tconst remoteType =\n\t\t\toptions.remoteType ||\n\t\t\t(options.library && isValidExternalsType(options.library.type)\n\t\t\t\t? /** @type {ExternalsType} */ (options.library.type)\n\t\t\t\t: \"script\");\n\t\tif (\n\t\t\tlibrary &&\n\t\t\t!compiler.options.output.enabledLibraryTypes.includes(library.type)\n\t\t) {\n\t\t\tcompiler.options.output.enabledLibraryTypes.push(library.type);\n\t\t}\n\t\tcompiler.hooks.afterPlugins.tap(\"ModuleFederationPlugin\", () => {\n\t\t\tif (\n\t\t\t\toptions.exposes &&\n\t\t\t\t(Array.isArray(options.exposes)\n\t\t\t\t\t? options.exposes.length > 0\n\t\t\t\t\t: Object.keys(options.exposes).length > 0)\n\t\t\t) {\n\t\t\t\tnew ContainerPlugin({\n\t\t\t\t\tname: options.name,\n\t\t\t\t\tlibrary,\n\t\t\t\t\tfilename: options.filename,\n\t\t\t\t\truntime: options.runtime,\n\t\t\t\t\tshareScope: options.shareScope,\n\t\t\t\t\texposes: options.exposes\n\t\t\t\t}).apply(compiler);\n\t\t\t}\n\t\t\tif (\n\t\t\t\toptions.remotes &&\n\t\t\t\t(Array.isArray(options.remotes)\n\t\t\t\t\t? options.remotes.length > 0\n\t\t\t\t\t: Object.keys(options.remotes).length > 0)\n\t\t\t) {\n\t\t\t\tnew ContainerReferencePlugin({\n\t\t\t\t\tremoteType,\n\t\t\t\t\tshareScope: options.shareScope,\n\t\t\t\t\tremotes: options.remotes\n\t\t\t\t}).apply(compiler);\n\t\t\t}\n\t\t\tif (options.shared) {\n\t\t\t\tnew SharePlugin({\n\t\t\t\t\tshared: options.shared,\n\t\t\t\t\tshareScope: options.shareScope\n\t\t\t\t}).apply(compiler);\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = ModuleFederationPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/ModuleFederationPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/RemoteModule.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/container/RemoteModule.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst FallbackDependency = __webpack_require__(/*! ./FallbackDependency */ \"./node_modules/webpack/lib/container/FallbackDependency.js\");\nconst RemoteToExternalDependency = __webpack_require__(/*! ./RemoteToExternalDependency */ \"./node_modules/webpack/lib/container/RemoteToExternalDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"remote\", \"share-init\"]);\nconst RUNTIME_REQUIREMENTS = new Set([RuntimeGlobals.module]);\n\nclass RemoteModule extends Module {\n\t/**\n\t * @param {string} request request string\n\t * @param {string[]} externalRequests list of external requests to containers\n\t * @param {string} internalRequest name of exposed module in container\n\t * @param {string} shareScope the used share scope name\n\t */\n\tconstructor(request, externalRequests, internalRequest, shareScope) {\n\t\tsuper(\"remote-module\");\n\t\tthis.request = request;\n\t\tthis.externalRequests = externalRequests;\n\t\tthis.internalRequest = internalRequest;\n\t\tthis.shareScope = shareScope;\n\t\tthis._identifier = `remote (${shareScope}) ${this.externalRequests.join(\n\t\t\t\" \"\n\t\t)} ${this.internalRequest}`;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this._identifier;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `remote ${this.request}`;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn `${this.layer ? `(${this.layer})/` : \"\"}webpack/container/remote/${\n\t\t\tthis.request\n\t\t}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(null, !this.buildInfo);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tstrict: true\n\t\t};\n\n\t\tthis.clearDependenciesAndBlocks();\n\t\tif (this.externalRequests.length === 1) {\n\t\t\tthis.addDependency(\n\t\t\t\tnew RemoteToExternalDependency(this.externalRequests[0])\n\t\t\t);\n\t\t} else {\n\t\t\tthis.addDependency(new FallbackDependency(this.externalRequests));\n\t\t}\n\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 6;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @returns {string | null} absolute path which should be used for condition matching (usually the resource path)\n\t */\n\tnameForCondition() {\n\t\treturn this.request;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ runtimeTemplate, moduleGraph, chunkGraph }) {\n\t\tconst module = moduleGraph.getModule(this.dependencies[0]);\n\t\tconst id = module && chunkGraph.getModuleId(module);\n\t\tconst sources = new Map();\n\t\tsources.set(\"remote\", new RawSource(\"\"));\n\t\tconst data = new Map();\n\t\tdata.set(\"share-init\", [\n\t\t\t{\n\t\t\t\tshareScope: this.shareScope,\n\t\t\t\tinitStage: 20,\n\t\t\t\tinit: id === undefined ? \"\" : `initExternal(${JSON.stringify(id)});`\n\t\t\t}\n\t\t]);\n\t\treturn { sources, data, runtimeRequirements: RUNTIME_REQUIREMENTS };\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.request);\n\t\twrite(this.externalRequests);\n\t\twrite(this.internalRequest);\n\t\twrite(this.shareScope);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new RemoteModule(read(), read(), read(), read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(RemoteModule, \"webpack/lib/container/RemoteModule\");\n\nmodule.exports = RemoteModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/RemoteModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/RemoteRuntimeModule.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/container/RemoteRuntimeModule.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"./RemoteModule\")} RemoteModule */\n\nclass RemoteRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"remotes loading\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunkGraph } = this;\n\t\tconst { runtimeTemplate, moduleGraph } = compilation;\n\t\tconst chunkToRemotesMapping = {};\n\t\tconst idToExternalAndNameMapping = {};\n\t\tfor (const chunk of this.chunk.getAllAsyncChunks()) {\n\t\t\tconst modules = chunkGraph.getChunkModulesIterableBySourceType(\n\t\t\t\tchunk,\n\t\t\t\t\"remote\"\n\t\t\t);\n\t\t\tif (!modules) continue;\n\t\t\tconst remotes = (chunkToRemotesMapping[chunk.id] = []);\n\t\t\tfor (const m of modules) {\n\t\t\t\tconst module = /** @type {RemoteModule} */ (m);\n\t\t\t\tconst name = module.internalRequest;\n\t\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\t\tconst shareScope = module.shareScope;\n\t\t\t\tconst dep = module.dependencies[0];\n\t\t\t\tconst externalModule = moduleGraph.getModule(dep);\n\t\t\t\tconst externalModuleId =\n\t\t\t\t\texternalModule && chunkGraph.getModuleId(externalModule);\n\t\t\t\tremotes.push(id);\n\t\t\t\tidToExternalAndNameMapping[id] = [shareScope, name, externalModuleId];\n\t\t\t}\n\t\t}\n\t\treturn Template.asString([\n\t\t\t`var chunkMapping = ${JSON.stringify(\n\t\t\t\tchunkToRemotesMapping,\n\t\t\t\tnull,\n\t\t\t\t\"\\t\"\n\t\t\t)};`,\n\t\t\t`var idToExternalAndNameMapping = ${JSON.stringify(\n\t\t\t\tidToExternalAndNameMapping,\n\t\t\t\tnull,\n\t\t\t\t\"\\t\"\n\t\t\t)};`,\n\t\t\t`${\n\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t}.remotes = ${runtimeTemplate.basicFunction(\"chunkId, promises\", [\n\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(chunkMapping, chunkId)) {`,\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`chunkMapping[chunkId].forEach(${runtimeTemplate.basicFunction(\"id\", [\n\t\t\t\t\t\t`var getScope = ${RuntimeGlobals.currentRemoteGetScope};`,\n\t\t\t\t\t\t\"if(!getScope) getScope = [];\",\n\t\t\t\t\t\t\"var data = idToExternalAndNameMapping[id];\",\n\t\t\t\t\t\t\"if(getScope.indexOf(data) >= 0) return;\",\n\t\t\t\t\t\t\"getScope.push(data);\",\n\t\t\t\t\t\t`if(data.p) return promises.push(data.p);`,\n\t\t\t\t\t\t`var onError = ${runtimeTemplate.basicFunction(\"error\", [\n\t\t\t\t\t\t\t'if(!error) error = new Error(\"Container missing\");',\n\t\t\t\t\t\t\t'if(typeof error.message === \"string\")',\n\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t`error.message += '\\\\nwhile loading \"' + data[1] + '\" from ' + data[2];`\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t}[id] = ${runtimeTemplate.basicFunction(\"\", [\"throw error;\"])}`,\n\t\t\t\t\t\t\t\"data.p = 0;\"\n\t\t\t\t\t\t])};`,\n\t\t\t\t\t\t`var handleFunction = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"fn, arg1, arg2, d, next, first\",\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"var promise = fn(arg1, arg2);\",\n\t\t\t\t\t\t\t\t\t\"if(promise && promise.then) {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t`var p = promise.then(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\t\t\"next(result, d)\",\n\t\t\t\t\t\t\t\t\t\t\t\"result\"\n\t\t\t\t\t\t\t\t\t\t)}, onError);`,\n\t\t\t\t\t\t\t\t\t\t`if(first) promises.push(data.p = p); else return p;`\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\"return next(promise, d, first);\"]),\n\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"} catch(error) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\"onError(error);\"]),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t`var onExternal = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t`external ? handleFunction(${RuntimeGlobals.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,\n\t\t\t\t\t\t\t\"external, _, first\"\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t`var onInitialized = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,\n\t\t\t\t\t\t\t\"_, external, first\"\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t`var onFactory = ${runtimeTemplate.basicFunction(\"factory\", [\n\t\t\t\t\t\t\t\"data.p = 1;\",\n\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t}[id] = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\t\t\t\t\"module.exports = factory();\"\n\t\t\t\t\t\t\t])}`\n\t\t\t\t\t\t])};`,\n\t\t\t\t\t\t\"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);\"\n\t\t\t\t\t])});`\n\t\t\t\t]),\n\t\t\t\t\"}\"\n\t\t\t])}`\n\t\t]);\n\t}\n}\n\nmodule.exports = RemoteRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/RemoteRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/RemoteToExternalDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/container/RemoteToExternalDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass RemoteToExternalDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"remote to external\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tRemoteToExternalDependency,\n\t\"webpack/lib/container/RemoteToExternalDependency\"\n);\n\nmodule.exports = RemoteToExternalDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/RemoteToExternalDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/container/options.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/container/options.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @template T @typedef {(string | Record<string, string | string[] | T>)[] | Record<string, string | string[] | T>} ContainerOptionsFormat */\n\n/**\n * @template T\n * @template N\n * @param {ContainerOptionsFormat<T>} options options passed by the user\n * @param {function(string | string[], string) : N} normalizeSimple normalize a simple item\n * @param {function(T, string) : N} normalizeOptions normalize a complex item\n * @param {function(string, N): void} fn processing function\n * @returns {void}\n */\nconst process = (options, normalizeSimple, normalizeOptions, fn) => {\n\tconst array = items => {\n\t\tfor (const item of items) {\n\t\t\tif (typeof item === \"string\") {\n\t\t\t\tfn(item, normalizeSimple(item, item));\n\t\t\t} else if (item && typeof item === \"object\") {\n\t\t\t\tobject(item);\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unexpected options format\");\n\t\t\t}\n\t\t}\n\t};\n\tconst object = obj => {\n\t\tfor (const [key, value] of Object.entries(obj)) {\n\t\t\tif (typeof value === \"string\" || Array.isArray(value)) {\n\t\t\t\tfn(key, normalizeSimple(value, key));\n\t\t\t} else {\n\t\t\t\tfn(key, normalizeOptions(value, key));\n\t\t\t}\n\t\t}\n\t};\n\tif (!options) {\n\t\treturn;\n\t} else if (Array.isArray(options)) {\n\t\tarray(options);\n\t} else if (typeof options === \"object\") {\n\t\tobject(options);\n\t} else {\n\t\tthrow new Error(\"Unexpected options format\");\n\t}\n};\n\n/**\n * @template T\n * @template R\n * @param {ContainerOptionsFormat<T>} options options passed by the user\n * @param {function(string | string[], string) : R} normalizeSimple normalize a simple item\n * @param {function(T, string) : R} normalizeOptions normalize a complex item\n * @returns {[string, R][]} parsed options\n */\nconst parseOptions = (options, normalizeSimple, normalizeOptions) => {\n\t/** @type {[string, R][]} */\n\tconst items = [];\n\tprocess(options, normalizeSimple, normalizeOptions, (key, value) => {\n\t\titems.push([key, value]);\n\t});\n\treturn items;\n};\n\n/**\n * @template T\n * @param {string} scope scope name\n * @param {ContainerOptionsFormat<T>} options options passed by the user\n * @returns {Record<string, string | string[] | T>} options to spread or pass\n */\nconst scope = (scope, options) => {\n\t/** @type {Record<string, string | string[] | T>} */\n\tconst obj = {};\n\tprocess(\n\t\toptions,\n\t\titem => /** @type {string | string[] | T} */ (item),\n\t\titem => /** @type {string | string[] | T} */ (item),\n\t\t(key, value) => {\n\t\t\tobj[\n\t\t\t\tkey.startsWith(\"./\") ? `${scope}${key.slice(1)}` : `${scope}/${key}`\n\t\t\t] = value;\n\t\t}\n\t);\n\treturn obj;\n};\n\nexports.parseOptions = parseOptions;\nexports.scope = scope;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/container/options.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/CssExportsGenerator.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/css/CssExportsGenerator.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst { ReplaceSource, RawSource, ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Generator\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass CssExportsGenerator extends Generator {\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\t// TODO add getConcatenationBailoutReason to allow concatenation\n\t// but how to make it have a module id\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst source = new ReplaceSource(new RawSource(\"\"));\n\t\tconst initFragments = [];\n\t\tconst cssExports = new Map();\n\n\t\tgenerateContext.runtimeRequirements.add(RuntimeGlobals.module);\n\n\t\tconst runtimeRequirements = new Set();\n\n\t\tconst templateContext = {\n\t\t\truntimeTemplate: generateContext.runtimeTemplate,\n\t\t\tdependencyTemplates: generateContext.dependencyTemplates,\n\t\t\tmoduleGraph: generateContext.moduleGraph,\n\t\t\tchunkGraph: generateContext.chunkGraph,\n\t\t\tmodule,\n\t\t\truntime: generateContext.runtime,\n\t\t\truntimeRequirements: runtimeRequirements,\n\t\t\tconcatenationScope: generateContext.concatenationScope,\n\t\t\tcodeGenerationResults: generateContext.codeGenerationResults,\n\t\t\tinitFragments,\n\t\t\tcssExports\n\t\t};\n\n\t\tconst handleDependency = dependency => {\n\t\t\tconst constructor = /** @type {new (...args: any[]) => Dependency} */ (\n\t\t\t\tdependency.constructor\n\t\t\t);\n\t\t\tconst template = generateContext.dependencyTemplates.get(constructor);\n\t\t\tif (!template) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"No template for dependency: \" + dependency.constructor.name\n\t\t\t\t);\n\t\t\t}\n\n\t\t\ttemplate.apply(dependency, source, templateContext);\n\t\t};\n\t\tmodule.dependencies.forEach(handleDependency);\n\n\t\tif (generateContext.concatenationScope) {\n\t\t\tconst source = new ConcatSource();\n\t\t\tconst usedIdentifiers = new Set();\n\t\t\tfor (const [k, v] of cssExports) {\n\t\t\t\tlet identifier = Template.toIdentifier(k);\n\t\t\t\tlet i = 0;\n\t\t\t\twhile (usedIdentifiers.has(identifier)) {\n\t\t\t\t\tidentifier = Template.toIdentifier(k + i);\n\t\t\t\t}\n\t\t\t\tusedIdentifiers.add(identifier);\n\t\t\t\tgenerateContext.concatenationScope.registerExport(k, identifier);\n\t\t\t\tsource.add(\n\t\t\t\t\t`${\n\t\t\t\t\t\tgenerateContext.runtimeTemplate.supportsConst ? \"const\" : \"var\"\n\t\t\t\t\t} ${identifier} = ${JSON.stringify(v)};\\n`\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn source;\n\t\t} else {\n\t\t\tconst otherUsed =\n\t\t\t\tgenerateContext.moduleGraph\n\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t.otherExportsInfo.getUsed(generateContext.runtime) !==\n\t\t\t\tUsageState.Unused;\n\t\t\tif (otherUsed) {\n\t\t\t\tgenerateContext.runtimeRequirements.add(\n\t\t\t\t\tRuntimeGlobals.makeNamespaceObject\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn new RawSource(\n\t\t\t\t`${otherUsed ? `${RuntimeGlobals.makeNamespaceObject}(` : \"\"}${\n\t\t\t\t\tmodule.moduleArgument\n\t\t\t\t}.exports = {\\n${Array.from(\n\t\t\t\t\tcssExports,\n\t\t\t\t\t([k, v]) => `\\t${JSON.stringify(k)}: ${JSON.stringify(v)}`\n\t\t\t\t).join(\",\\n\")}\\n}${otherUsed ? \")\" : \"\"};`\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\treturn 42;\n\t}\n\n\t/**\n\t * @param {Hash} hash hash that will be modified\n\t * @param {UpdateHashContext} updateHashContext context for updating hash\n\t */\n\tupdateHash(hash, { module }) {}\n}\n\nmodule.exports = CssExportsGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/CssExportsGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/CssGenerator.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/css/CssGenerator.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst { ReplaceSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Generator\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nconst TYPES = new Set([\"css\"]);\n\nclass CssGenerator extends Generator {\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst originalSource = module.originalSource();\n\t\tconst source = new ReplaceSource(originalSource);\n\t\tconst initFragments = [];\n\t\tconst cssExports = new Map();\n\n\t\tgenerateContext.runtimeRequirements.add(RuntimeGlobals.hasCssModules);\n\n\t\tconst templateContext = {\n\t\t\truntimeTemplate: generateContext.runtimeTemplate,\n\t\t\tdependencyTemplates: generateContext.dependencyTemplates,\n\t\t\tmoduleGraph: generateContext.moduleGraph,\n\t\t\tchunkGraph: generateContext.chunkGraph,\n\t\t\tmodule,\n\t\t\truntime: generateContext.runtime,\n\t\t\truntimeRequirements: generateContext.runtimeRequirements,\n\t\t\tconcatenationScope: generateContext.concatenationScope,\n\t\t\tcodeGenerationResults: generateContext.codeGenerationResults,\n\t\t\tinitFragments,\n\t\t\tcssExports\n\t\t};\n\n\t\tconst handleDependency = dependency => {\n\t\t\tconst constructor = /** @type {new (...args: any[]) => Dependency} */ (\n\t\t\t\tdependency.constructor\n\t\t\t);\n\t\t\tconst template = generateContext.dependencyTemplates.get(constructor);\n\t\t\tif (!template) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"No template for dependency: \" + dependency.constructor.name\n\t\t\t\t);\n\t\t\t}\n\n\t\t\ttemplate.apply(dependency, source, templateContext);\n\t\t};\n\t\tmodule.dependencies.forEach(handleDependency);\n\t\tif (module.presentationalDependencies !== undefined)\n\t\t\tmodule.presentationalDependencies.forEach(handleDependency);\n\n\t\tif (cssExports.size > 0) {\n\t\t\tconst data = generateContext.getData();\n\t\t\tdata.set(\"css-exports\", cssExports);\n\t\t}\n\n\t\treturn InitFragment.addToSource(source, initFragments, generateContext);\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst originalSource = module.originalSource();\n\n\t\tif (!originalSource) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn originalSource.size();\n\t}\n\n\t/**\n\t * @param {Hash} hash hash that will be modified\n\t * @param {UpdateHashContext} updateHashContext context for updating hash\n\t */\n\tupdateHash(hash, { module }) {}\n}\n\nmodule.exports = CssGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/CssGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/CssLoadingRuntimeModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/css/CssLoadingRuntimeModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst { chunkHasCss } = __webpack_require__(/*! ./CssModulesPlugin */ \"./node_modules/webpack/lib/css/CssModulesPlugin.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\n/**\n * @typedef {Object} JsonpCompilationPluginHooks\n * @property {SyncWaterfallHook<[string, Chunk]>} createStylesheet\n */\n\n/** @type {WeakMap<Compilation, JsonpCompilationPluginHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass CssLoadingRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {JsonpCompilationPluginHooks} hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tcreateStylesheet: new SyncWaterfallHook([\"source\", \"chunk\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(runtimeRequirements, runtimeOptions) {\n\t\tsuper(\"css loading\", 10);\n\n\t\tthis._runtimeRequirements = runtimeRequirements;\n\t\tthis.runtimeOptions = runtimeOptions;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunk, _runtimeRequirements } = this;\n\t\tconst {\n\t\t\tchunkGraph,\n\t\t\truntimeTemplate,\n\t\t\toutputOptions: {\n\t\t\t\tcrossOriginLoading,\n\t\t\t\tuniqueName,\n\t\t\t\tchunkLoadTimeout: loadTimeout\n\t\t\t}\n\t\t} = compilation;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst conditionMap = chunkGraph.getChunkConditionMap(\n\t\t\tchunk,\n\t\t\t(chunk, chunkGraph) =>\n\t\t\t\t!!chunkGraph.getChunkModulesIterableBySourceType(chunk, \"css\")\n\t\t);\n\t\tconst hasCssMatcher = compileBooleanMatcher(conditionMap);\n\n\t\tconst withLoading =\n\t\t\t_runtimeRequirements.has(RuntimeGlobals.ensureChunkHandlers) &&\n\t\t\thasCssMatcher !== false;\n\t\tconst withHmr = _runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst initialChunkIdsWithCss = new Set();\n\t\tconst initialChunkIdsWithoutCss = new Set();\n\t\tfor (const c of chunk.getAllInitialChunks()) {\n\t\t\t(chunkHasCss(c, chunkGraph)\n\t\t\t\t? initialChunkIdsWithCss\n\t\t\t\t: initialChunkIdsWithoutCss\n\t\t\t).add(c.id);\n\t\t}\n\n\t\tif (!withLoading && !withHmr && initialChunkIdsWithCss.size === 0) {\n\t\t\treturn null;\n\t\t}\n\n\t\tconst { createStylesheet } =\n\t\t\tCssLoadingRuntimeModule.getCompilationHooks(compilation);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_css`\n\t\t\t: undefined;\n\n\t\tconst code = Template.asString([\n\t\t\t\"link = document.createElement('link');\",\n\t\t\tuniqueName\n\t\t\t\t? 'link.setAttribute(\"data-webpack\", uniqueName + \":\" + key);'\n\t\t\t\t: \"\",\n\t\t\t\"link.setAttribute(loadingAttribute, 1);\",\n\t\t\t'link.rel = \"stylesheet\";',\n\t\t\t\"link.href = url;\",\n\t\t\tcrossOriginLoading\n\t\t\t\t? crossOriginLoading === \"use-credentials\"\n\t\t\t\t\t? 'link.crossOrigin = \"use-credentials\";'\n\t\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\t\"if (link.src.indexOf(window.location.origin + '/') !== 0) {\",\n\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t`link.crossOrigin = ${JSON.stringify(crossOriginLoading)};`\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t ])\n\t\t\t\t: \"\"\n\t\t]);\n\n\t\tconst cc = str => str.charCodeAt(0);\n\n\t\treturn Template.asString([\n\t\t\t\"// object to store loaded and loading chunks\",\n\t\t\t\"// undefined = chunk not loaded, null = chunk preloaded/prefetched\",\n\t\t\t\"// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\",\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{${Array.from(\n\t\t\t\tinitialChunkIdsWithoutCss,\n\t\t\t\tid => `${JSON.stringify(id)}:0`\n\t\t\t).join(\",\")}};`,\n\t\t\t\"\",\n\t\t\tuniqueName\n\t\t\t\t? `var uniqueName = ${JSON.stringify(\n\t\t\t\t\t\truntimeTemplate.outputOptions.uniqueName\n\t\t\t\t )};`\n\t\t\t\t: \"// data-webpack is not used as build has no uniqueName\",\n\t\t\t`var loadCssChunkData = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"target, link, chunkId\",\n\t\t\t\t[\n\t\t\t\t\t`var data, token = \"\", token2, exports = {}, exportsWithId = [], exportsWithDashes = [], ${\n\t\t\t\t\t\twithHmr ? \"moduleIds = [], \" : \"\"\n\t\t\t\t\t}i = 0, cc = 1;`,\n\t\t\t\t\t\"try { if(!link) link = loadStylesheet(chunkId); data = link.sheet.cssRules; data = data[data.length - 1].style; } catch(e) { data = getComputedStyle(document.head); }\",\n\t\t\t\t\t`data = data.getPropertyValue(${\n\t\t\t\t\t\tuniqueName\n\t\t\t\t\t\t\t? runtimeTemplate.concatenation(\n\t\t\t\t\t\t\t\t\t\"--webpack-\",\n\t\t\t\t\t\t\t\t\t{ expr: \"uniqueName\" },\n\t\t\t\t\t\t\t\t\t\"-\",\n\t\t\t\t\t\t\t\t\t{ expr: \"chunkId\" }\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: runtimeTemplate.concatenation(\"--webpack-\", { expr: \"chunkId\" })\n\t\t\t\t\t});`,\n\t\t\t\t\t\"if(!data) return [];\",\n\t\t\t\t\t\"for(; cc; i++) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"cc = data.charCodeAt(i);\",\n\t\t\t\t\t\t`if(cc == ${cc(\"(\")}) { token2 = token; token = \"\"; }`,\n\t\t\t\t\t\t`else if(cc == ${cc(\n\t\t\t\t\t\t\t\")\"\n\t\t\t\t\t\t)}) { exports[token2.replace(/^_/, \"\")] = token.replace(/^_/, \"\"); token = \"\"; }`,\n\t\t\t\t\t\t`else if(cc == ${cc(\"/\")} || cc == ${cc(\n\t\t\t\t\t\t\t\"%\"\n\t\t\t\t\t\t)}) { token = token.replace(/^_/, \"\"); exports[token] = token; exportsWithId.push(token); if(cc == ${cc(\n\t\t\t\t\t\t\t\"%\"\n\t\t\t\t\t\t)}) exportsWithDashes.push(token); token = \"\"; }`,\n\t\t\t\t\t\t`else if(!cc || cc == ${cc(\n\t\t\t\t\t\t\t\",\"\n\t\t\t\t\t\t)}) { token = token.replace(/^_/, \"\"); exportsWithId.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t`exports[x] = ${\n\t\t\t\t\t\t\t\tuniqueName\n\t\t\t\t\t\t\t\t\t? runtimeTemplate.concatenation(\n\t\t\t\t\t\t\t\t\t\t\t{ expr: \"uniqueName\" },\n\t\t\t\t\t\t\t\t\t\t\t\"-\",\n\t\t\t\t\t\t\t\t\t\t\t{ expr: \"token\" },\n\t\t\t\t\t\t\t\t\t\t\t\"-\",\n\t\t\t\t\t\t\t\t\t\t\t{ expr: \"exports[x]\" }\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: runtimeTemplate.concatenation({ expr: \"token\" }, \"-\", {\n\t\t\t\t\t\t\t\t\t\t\texpr: \"exports[x]\"\n\t\t\t\t\t\t\t\t\t })\n\t\t\t\t\t\t\t}`,\n\t\t\t\t\t\t\t\"x\"\n\t\t\t\t\t\t)}); exportsWithDashes.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t`exports[x] = \"--\" + exports[x]`,\n\t\t\t\t\t\t\t\"x\"\n\t\t\t\t\t\t)}); ${\n\t\t\t\t\t\t\tRuntimeGlobals.makeNamespaceObject\n\t\t\t\t\t\t}(exports); target[token] = (${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"exports, module\",\n\t\t\t\t\t\t\t`module.exports = exports;`\n\t\t\t\t\t\t)}).bind(null, exports); ${\n\t\t\t\t\t\t\twithHmr ? \"moduleIds.push(token); \" : \"\"\n\t\t\t\t\t\t}token = \"\"; exports = {}; exportsWithId.length = 0; }`,\n\t\t\t\t\t\t`else if(cc == ${cc(\"\\\\\")}) { token += data[++i] }`,\n\t\t\t\t\t\t`else { token += data[i]; }`\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t`${\n\t\t\t\t\t\twithHmr ? `if(target == ${RuntimeGlobals.moduleFactories}) ` : \"\"\n\t\t\t\t\t}installedChunks[chunkId] = 0;`,\n\t\t\t\t\twithHmr ? \"return moduleIds;\" : \"\"\n\t\t\t\t]\n\t\t\t)}`,\n\t\t\t'var loadingAttribute = \"data-webpack-loading\";',\n\t\t\t`var loadStylesheet = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"chunkId, url, done\" + (withHmr ? \", hmr\" : \"\"),\n\t\t\t\t[\n\t\t\t\t\t'var link, needAttach, key = \"chunk-\" + chunkId;',\n\t\t\t\t\twithHmr ? \"if(!hmr) {\" : \"\",\n\t\t\t\t\t'var links = document.getElementsByTagName(\"link\");',\n\t\t\t\t\t\"for(var i = 0; i < links.length; i++) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"var l = links[i];\",\n\t\t\t\t\t\t`if(l.rel == \"stylesheet\" && (${\n\t\t\t\t\t\t\twithHmr\n\t\t\t\t\t\t\t\t? 'l.href.startsWith(url) || l.getAttribute(\"href\").startsWith(url)'\n\t\t\t\t\t\t\t\t: 'l.href == url || l.getAttribute(\"href\") == url'\n\t\t\t\t\t\t}${\n\t\t\t\t\t\t\tuniqueName\n\t\t\t\t\t\t\t\t? ' || l.getAttribute(\"data-webpack\") == uniqueName + \":\" + key'\n\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t})) { link = l; break; }`\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t\"if(!done) return link;\",\n\t\t\t\t\twithHmr ? \"}\" : \"\",\n\t\t\t\t\t\"if(!link) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"needAttach = true;\",\n\t\t\t\t\t\tcreateStylesheet.call(code, this.chunk)\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t`var onLinkComplete = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"prev, event\",\n\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\"link.onerror = link.onload = null;\",\n\t\t\t\t\t\t\t\"link.removeAttribute(loadingAttribute);\",\n\t\t\t\t\t\t\t\"clearTimeout(timeout);\",\n\t\t\t\t\t\t\t'if(event && event.type != \"load\") link.parentNode.removeChild(link)',\n\t\t\t\t\t\t\t\"done(event);\",\n\t\t\t\t\t\t\t\"if(prev) return prev(event);\"\n\t\t\t\t\t\t])\n\t\t\t\t\t)};`,\n\t\t\t\t\t\"if(link.getAttribute(loadingAttribute)) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t`var timeout = setTimeout(onLinkComplete.bind(null, undefined, { type: 'timeout', target: link }), ${loadTimeout});`,\n\t\t\t\t\t\t\"link.onerror = onLinkComplete.bind(null, link.onerror);\",\n\t\t\t\t\t\t\"link.onload = onLinkComplete.bind(null, link.onload);\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"} else onLinkComplete(undefined, { type: 'load', target: link });\", // We assume any existing stylesheet is render blocking\n\t\t\t\t\twithHmr ? \"hmr ? document.head.insertBefore(link, hmr) :\" : \"\",\n\t\t\t\t\t\"needAttach && document.head.appendChild(link);\",\n\t\t\t\t\t\"return link;\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\tinitialChunkIdsWithCss.size > 2\n\t\t\t\t? `${JSON.stringify(\n\t\t\t\t\t\tArray.from(initialChunkIdsWithCss)\n\t\t\t\t )}.forEach(loadCssChunkData.bind(null, ${\n\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t }, 0));`\n\t\t\t\t: initialChunkIdsWithCss.size > 0\n\t\t\t\t? `${Array.from(\n\t\t\t\t\t\tinitialChunkIdsWithCss,\n\t\t\t\t\t\tid =>\n\t\t\t\t\t\t\t`loadCssChunkData(${\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t}, 0, ${JSON.stringify(id)});`\n\t\t\t\t ).join(\"\")}`\n\t\t\t\t: \"// no initial css\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${fn}.css = ${runtimeTemplate.basicFunction(\"chunkId, promises\", [\n\t\t\t\t\t\t\t\"// css chunk loading\",\n\t\t\t\t\t\t\t`var installedChunkData = ${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,\n\t\t\t\t\t\t\t'if(installedChunkData !== 0) { // 0 means \"already installed\".',\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t'// a Promise means \"currently loading\".',\n\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\"promises.push(installedChunkData[2]);\"]),\n\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\thasCssMatcher === true\n\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have CSS\"\n\t\t\t\t\t\t\t\t\t\t: `if(${hasCssMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"// setup Promise in chunk cache\",\n\t\t\t\t\t\t\t\t\t\t`var promise = new Promise(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\t\t`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,\n\t\t\t\t\t\t\t\t\t\t\t\"resolve, reject\"\n\t\t\t\t\t\t\t\t\t\t)});`,\n\t\t\t\t\t\t\t\t\t\t\"promises.push(installedChunkData[2] = promise);\",\n\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\"// start chunk loading\",\n\t\t\t\t\t\t\t\t\t\t`var url = ${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkCssFilename}(chunkId);`,\n\t\t\t\t\t\t\t\t\t\t\"// create error before stack unwound to get useful stacktrace later\",\n\t\t\t\t\t\t\t\t\t\t\"var error = new Error();\",\n\t\t\t\t\t\t\t\t\t\t`var loadingEnded = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\t\"event\",\n\t\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId)) {`,\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData = installedChunks[chunkId];\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData !== 0) installedChunks[chunkId] = undefined;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'if(event.type !== \"load\") {',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var errorType = event && event.type;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var realSrc = event && event.target && event.target.src;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.message = 'Loading css chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.name = 'ChunkLoadError';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.type = errorType;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.request = realSrc;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData[1](error);\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`loadCssChunkData(${RuntimeGlobals.moduleFactories}, link, chunkId);`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData[0]();\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t\t\t\t\"var link = loadStylesheet(chunkId, url, loadingEnded);\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"} else installedChunks[chunkId] = 0;\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t])};`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk loading\",\n\t\t\t\"\",\n\t\t\twithHmr\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"var oldTags = [];\",\n\t\t\t\t\t\t\"var newTags = [];\",\n\t\t\t\t\t\t`var applyHandler = ${runtimeTemplate.basicFunction(\"options\", [\n\t\t\t\t\t\t\t`return { dispose: ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t[]\n\t\t\t\t\t\t\t)}, apply: ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\t\t\"var moduleIds = [];\",\n\t\t\t\t\t\t\t\t`newTags.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\"info[1].sheet.disabled = false\",\n\t\t\t\t\t\t\t\t\t\"info\"\n\t\t\t\t\t\t\t\t)});`,\n\t\t\t\t\t\t\t\t\"while(oldTags.length) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"var oldTag = oldTags.pop();\",\n\t\t\t\t\t\t\t\t\t\"if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"while(newTags.length) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`var info = newTags.pop();`,\n\t\t\t\t\t\t\t\t\t`var chunkModuleIds = loadCssChunkData(${RuntimeGlobals.moduleFactories}, info[1], info[0]);`,\n\t\t\t\t\t\t\t\t\t`chunkModuleIds.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\t\"moduleIds.push(id)\",\n\t\t\t\t\t\t\t\t\t\t\"id\"\n\t\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"return moduleIds;\"\n\t\t\t\t\t\t\t])} };`\n\t\t\t\t\t\t])}`,\n\t\t\t\t\t\t`var cssTextKey = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t`Array.from(link.sheet.cssRules, ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\"r.cssText\",\n\t\t\t\t\t\t\t\t\"r\"\n\t\t\t\t\t\t\t)}).join()`,\n\t\t\t\t\t\t\t\"link\"\n\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t`${\n\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t\t\t\t}.css = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList\",\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"applyHandlers.push(applyHandler);\",\n\t\t\t\t\t\t\t\t`chunkIds.forEach(${runtimeTemplate.basicFunction(\"chunkId\", [\n\t\t\t\t\t\t\t\t\t`var filename = ${RuntimeGlobals.getChunkCssFilename}(chunkId);`,\n\t\t\t\t\t\t\t\t\t`var url = ${RuntimeGlobals.publicPath} + filename;`,\n\t\t\t\t\t\t\t\t\t\"var oldTag = loadStylesheet(chunkId, url);\",\n\t\t\t\t\t\t\t\t\t\"if(!oldTag) return;\",\n\t\t\t\t\t\t\t\t\t`promises.push(new Promise(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\"resolve, reject\",\n\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t`var link = loadStylesheet(chunkId, url + (url.indexOf(\"?\") < 0 ? \"?\" : \"&\") + \"hmr=\" + Date.now(), ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\"event\",\n\t\t\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t\t\t'if(event.type !== \"load\") {',\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var errorType = event && event.type;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var realSrc = event && event.target && event.target.src;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.message = 'Loading css hot update chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.name = 'ChunkLoadError';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.type = errorType;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.request = realSrc;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"reject(error);\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"try { if(cssTextKey(oldTag) == cssTextKey(link)) { if(link.parentNode) link.parentNode.removeChild(link); return resolve(); } } catch(e) {}\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var factories = {};\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"loadCssChunkData(factories, link, chunkId);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`Object.keys(factories).forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"updatedModulesList.push(id)\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"id\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)})`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"link.sheet.disabled = true;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"oldTags.push(oldTag);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"newTags.push([chunkId, link]);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"resolve();\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t\t)}, oldTag);`\n\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t)}));`\n\t\t\t\t\t\t\t\t])});`\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t)}`\n\t\t\t\t ])\n\t\t\t\t: \"// no hmr\"\n\t\t]);\n\t}\n}\n\nmodule.exports = CssLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/CssLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/CssModulesPlugin.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/css/CssModulesPlugin.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst HotUpdateChunk = __webpack_require__(/*! ../HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst SelfModuleFactory = __webpack_require__(/*! ../SelfModuleFactory */ \"./node_modules/webpack/lib/SelfModuleFactory.js\");\nconst CssExportDependency = __webpack_require__(/*! ../dependencies/CssExportDependency */ \"./node_modules/webpack/lib/dependencies/CssExportDependency.js\");\nconst CssImportDependency = __webpack_require__(/*! ../dependencies/CssImportDependency */ \"./node_modules/webpack/lib/dependencies/CssImportDependency.js\");\nconst CssLocalIdentifierDependency = __webpack_require__(/*! ../dependencies/CssLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js\");\nconst CssSelfLocalIdentifierDependency = __webpack_require__(/*! ../dependencies/CssSelfLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js\");\nconst CssUrlDependency = __webpack_require__(/*! ../dependencies/CssUrlDependency */ \"./node_modules/webpack/lib/dependencies/CssUrlDependency.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst nonNumericOnlyHash = __webpack_require__(/*! ../util/nonNumericOnlyHash */ \"./node_modules/webpack/lib/util/nonNumericOnlyHash.js\");\nconst CssExportsGenerator = __webpack_require__(/*! ./CssExportsGenerator */ \"./node_modules/webpack/lib/css/CssExportsGenerator.js\");\nconst CssGenerator = __webpack_require__(/*! ./CssGenerator */ \"./node_modules/webpack/lib/css/CssGenerator.js\");\nconst CssParser = __webpack_require__(/*! ./CssParser */ \"./node_modules/webpack/lib/css/CssParser.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").CssExperimentOptions} CssExperimentOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nconst getCssLoadingRuntimeModule = memoize(() =>\n\t__webpack_require__(/*! ./CssLoadingRuntimeModule */ \"./node_modules/webpack/lib/css/CssLoadingRuntimeModule.js\")\n);\n\nconst getSchema = name => {\n\tconst { definitions } = __webpack_require__(/*! ../../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\n\treturn {\n\t\tdefinitions,\n\t\toneOf: [{ $ref: `#/definitions/${name}` }]\n\t};\n};\n\nconst validateGeneratorOptions = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/css/CssGeneratorOptions.check.js */ \"./node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js\"),\n\t() => getSchema(\"CssGeneratorOptions\"),\n\t{\n\t\tname: \"Css Modules Plugin\",\n\t\tbaseDataPath: \"parser\"\n\t}\n);\nconst validateParserOptions = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/css/CssParserOptions.check.js */ \"./node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js\"),\n\t() => getSchema(\"CssParserOptions\"),\n\t{\n\t\tname: \"Css Modules Plugin\",\n\t\tbaseDataPath: \"parser\"\n\t}\n);\n\nconst escapeCss = (str, omitOptionalUnderscore) => {\n\tconst escaped = `${str}`.replace(\n\t\t// cspell:word uffff\n\t\t/[^a-zA-Z0-9_\\u0081-\\uffff-]/g,\n\t\ts => `\\\\${s}`\n\t);\n\treturn !omitOptionalUnderscore && /^(?!--)[0-9_-]/.test(escaped)\n\t\t? `_${escaped}`\n\t\t: escaped;\n};\n\nconst plugin = \"CssModulesPlugin\";\n\nclass CssModulesPlugin {\n\t/**\n\t * @param {CssExperimentOptions} options options\n\t */\n\tconstructor({ exportsOnly = false }) {\n\t\tthis._exportsOnly = exportsOnly;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\tplugin,\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst selfFactory = new SelfModuleFactory(compilation.moduleGraph);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCssUrlDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCssUrlDependency,\n\t\t\t\t\tnew CssUrlDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCssLocalIdentifierDependency,\n\t\t\t\t\tnew CssLocalIdentifierDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCssSelfLocalIdentifierDependency,\n\t\t\t\t\tselfFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCssSelfLocalIdentifierDependency,\n\t\t\t\t\tnew CssSelfLocalIdentifierDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCssExportDependency,\n\t\t\t\t\tnew CssExportDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCssImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCssImportDependency,\n\t\t\t\t\tnew CssImportDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tStaticExportsDependency,\n\t\t\t\t\tnew StaticExportsDependency.Template()\n\t\t\t\t);\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"css\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tvalidateParserOptions(parserOptions);\n\t\t\t\t\t\treturn new CssParser();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"css/global\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tvalidateParserOptions(parserOptions);\n\t\t\t\t\t\treturn new CssParser({\n\t\t\t\t\t\t\tallowPseudoBlocks: false,\n\t\t\t\t\t\t\tallowModeSwitch: false\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"css/module\")\n\t\t\t\t\t.tap(plugin, parserOptions => {\n\t\t\t\t\t\tvalidateParserOptions(parserOptions);\n\t\t\t\t\t\treturn new CssParser({\n\t\t\t\t\t\t\tdefaultMode: \"local\"\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"css\")\n\t\t\t\t\t.tap(plugin, generatorOptions => {\n\t\t\t\t\t\tvalidateGeneratorOptions(generatorOptions);\n\t\t\t\t\t\treturn this._exportsOnly\n\t\t\t\t\t\t\t? new CssExportsGenerator()\n\t\t\t\t\t\t\t: new CssGenerator();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"css/global\")\n\t\t\t\t\t.tap(plugin, generatorOptions => {\n\t\t\t\t\t\tvalidateGeneratorOptions(generatorOptions);\n\t\t\t\t\t\treturn this._exportsOnly\n\t\t\t\t\t\t\t? new CssExportsGenerator()\n\t\t\t\t\t\t\t: new CssGenerator();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"css/module\")\n\t\t\t\t\t.tap(plugin, generatorOptions => {\n\t\t\t\t\t\tvalidateGeneratorOptions(generatorOptions);\n\t\t\t\t\t\treturn this._exportsOnly\n\t\t\t\t\t\t\t? new CssExportsGenerator()\n\t\t\t\t\t\t\t: new CssGenerator();\n\t\t\t\t\t});\n\t\t\t\tconst orderedCssModulesPerChunk = new WeakMap();\n\t\t\t\tcompilation.hooks.afterCodeGeneration.tap(\"CssModulesPlugin\", () => {\n\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\tif (CssModulesPlugin.chunkHasCss(chunk, chunkGraph)) {\n\t\t\t\t\t\t\torderedCssModulesPerChunk.set(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tthis.getOrderedChunkCssModules(chunk, chunkGraph, compilation)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tcompilation.hooks.contentHash.tap(\"CssModulesPlugin\", chunk => {\n\t\t\t\t\tconst {\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\toutputOptions: {\n\t\t\t\t\t\t\thashSalt,\n\t\t\t\t\t\t\thashDigest,\n\t\t\t\t\t\t\thashDigestLength,\n\t\t\t\t\t\t\thashFunction\n\t\t\t\t\t\t}\n\t\t\t\t\t} = compilation;\n\t\t\t\t\tconst modules = orderedCssModulesPerChunk.get(chunk);\n\t\t\t\t\tif (modules === undefined) return;\n\t\t\t\t\tconst hash = createHash(hashFunction);\n\t\t\t\t\tif (hashSalt) hash.update(hashSalt);\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\thash.update(chunkGraph.getModuleHash(module, chunk.runtime));\n\t\t\t\t\t}\n\t\t\t\t\tconst digest = /** @type {string} */ (hash.digest(hashDigest));\n\t\t\t\t\tchunk.contentHash.css = nonNumericOnlyHash(digest, hashDigestLength);\n\t\t\t\t});\n\t\t\t\tcompilation.hooks.renderManifest.tap(plugin, (result, options) => {\n\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\tconst { hash, chunk, codeGenerationResults } = options;\n\n\t\t\t\t\tif (chunk instanceof HotUpdateChunk) return result;\n\n\t\t\t\t\tconst modules = orderedCssModulesPerChunk.get(chunk);\n\t\t\t\t\tif (modules !== undefined) {\n\t\t\t\t\t\tresult.push({\n\t\t\t\t\t\t\trender: () =>\n\t\t\t\t\t\t\t\tthis.renderChunk({\n\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t\t\t\tuniqueName: compilation.outputOptions.uniqueName,\n\t\t\t\t\t\t\t\t\tmodules\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tfilenameTemplate: CssModulesPlugin.getChunkFilenameTemplate(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tcompilation.outputOptions\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tpathOptions: {\n\t\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\t\truntime: chunk.runtime,\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tcontentHashType: \"css\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tidentifier: `css${chunk.id}`,\n\t\t\t\t\t\t\thash: chunk.contentHash.css\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\treturn result;\n\t\t\t\t});\n\t\t\t\tconst enabledChunks = new WeakSet();\n\t\t\t\tconst handler = (chunk, set) => {\n\t\t\t\t\tif (enabledChunks.has(chunk)) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tenabledChunks.add(chunk);\n\n\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\tset.add(RuntimeGlobals.getChunkCssFilename);\n\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\tset.add(RuntimeGlobals.makeNamespaceObject);\n\n\t\t\t\t\tconst CssLoadingRuntimeModule = getCssLoadingRuntimeModule();\n\t\t\t\t\tcompilation.addRuntimeModule(chunk, new CssLoadingRuntimeModule(set));\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hasCssModules)\n\t\t\t\t\t.tap(plugin, handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(plugin, handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(plugin, handler);\n\t\t\t}\n\t\t);\n\t}\n\n\tgetModulesInOrder(chunk, modules, compilation) {\n\t\tif (!modules) return [];\n\n\t\tconst modulesList = [...modules];\n\n\t\t// Get ordered list of modules per chunk group\n\t\t// Lists are in reverse order to allow to use Array.pop()\n\t\tconst modulesByChunkGroup = Array.from(chunk.groupsIterable, chunkGroup => {\n\t\t\tconst sortedModules = modulesList\n\t\t\t\t.map(module => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tindex: chunkGroup.getModulePostOrderIndex(module)\n\t\t\t\t\t};\n\t\t\t\t})\n\t\t\t\t.filter(item => item.index !== undefined)\n\t\t\t\t.sort((a, b) => b.index - a.index)\n\t\t\t\t.map(item => item.module);\n\n\t\t\treturn { list: sortedModules, set: new Set(sortedModules) };\n\t\t});\n\n\t\tif (modulesByChunkGroup.length === 1)\n\t\t\treturn modulesByChunkGroup[0].list.reverse();\n\n\t\tconst compareModuleLists = ({ list: a }, { list: b }) => {\n\t\t\tif (a.length === 0) {\n\t\t\t\treturn b.length === 0 ? 0 : 1;\n\t\t\t} else {\n\t\t\t\tif (b.length === 0) return -1;\n\t\t\t\treturn compareModulesByIdentifier(a[a.length - 1], b[b.length - 1]);\n\t\t\t}\n\t\t};\n\n\t\tmodulesByChunkGroup.sort(compareModuleLists);\n\n\t\tconst finalModules = [];\n\n\t\tfor (;;) {\n\t\t\tconst failedModules = new Set();\n\t\t\tconst list = modulesByChunkGroup[0].list;\n\t\t\tif (list.length === 0) {\n\t\t\t\t// done, everything empty\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlet selectedModule = list[list.length - 1];\n\t\t\tlet hasFailed = undefined;\n\t\t\touter: for (;;) {\n\t\t\t\tfor (const { list, set } of modulesByChunkGroup) {\n\t\t\t\t\tif (list.length === 0) continue;\n\t\t\t\t\tconst lastModule = list[list.length - 1];\n\t\t\t\t\tif (lastModule === selectedModule) continue;\n\t\t\t\t\tif (!set.has(selectedModule)) continue;\n\t\t\t\t\tfailedModules.add(selectedModule);\n\t\t\t\t\tif (failedModules.has(lastModule)) {\n\t\t\t\t\t\t// There is a conflict, try other alternatives\n\t\t\t\t\t\thasFailed = lastModule;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tselectedModule = lastModule;\n\t\t\t\t\thasFailed = false;\n\t\t\t\t\tcontinue outer; // restart\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (hasFailed) {\n\t\t\t\t// There is a not resolve-able conflict with the selectedModule\n\t\t\t\tif (compilation) {\n\t\t\t\t\t// TODO print better warning\n\t\t\t\t\tcompilation.warnings.push(\n\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t`chunk ${\n\t\t\t\t\t\t\t\tchunk.name || chunk.id\n\t\t\t\t\t\t\t}\\nConflicting order between ${hasFailed.readableIdentifier(\n\t\t\t\t\t\t\t\tcompilation.requestShortener\n\t\t\t\t\t\t\t)} and ${selectedModule.readableIdentifier(\n\t\t\t\t\t\t\t\tcompilation.requestShortener\n\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tselectedModule = hasFailed;\n\t\t\t}\n\t\t\t// Insert the selected module into the final modules list\n\t\t\tfinalModules.push(selectedModule);\n\t\t\t// Remove the selected module from all lists\n\t\t\tfor (const { list, set } of modulesByChunkGroup) {\n\t\t\t\tconst lastModule = list[list.length - 1];\n\t\t\t\tif (lastModule === selectedModule) list.pop();\n\t\t\t\telse if (hasFailed && set.has(selectedModule)) {\n\t\t\t\t\tconst idx = list.indexOf(selectedModule);\n\t\t\t\t\tif (idx >= 0) list.splice(idx, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tmodulesByChunkGroup.sort(compareModuleLists);\n\t\t}\n\t\treturn finalModules;\n\t}\n\n\tgetOrderedChunkCssModules(chunk, chunkGraph, compilation) {\n\t\treturn [\n\t\t\t...this.getModulesInOrder(\n\t\t\t\tchunk,\n\t\t\t\tchunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\t\t\tchunk,\n\t\t\t\t\t\"css-import\",\n\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t),\n\t\t\t\tcompilation\n\t\t\t),\n\t\t\t...this.getModulesInOrder(\n\t\t\t\tchunk,\n\t\t\t\tchunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\t\t\tchunk,\n\t\t\t\t\t\"css\",\n\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t),\n\t\t\t\tcompilation\n\t\t\t)\n\t\t];\n\t}\n\n\trenderChunk({\n\t\tuniqueName,\n\t\tchunk,\n\t\tchunkGraph,\n\t\tcodeGenerationResults,\n\t\tmodules\n\t}) {\n\t\tconst source = new ConcatSource();\n\t\tconst metaData = [];\n\t\tfor (const module of modules) {\n\t\t\ttry {\n\t\t\t\tconst codeGenResult = codeGenerationResults.get(module, chunk.runtime);\n\n\t\t\t\tconst s =\n\t\t\t\t\tcodeGenResult.sources.get(\"css\") ||\n\t\t\t\t\tcodeGenResult.sources.get(\"css-import\");\n\t\t\t\tif (s) {\n\t\t\t\t\tsource.add(s);\n\t\t\t\t\tsource.add(\"\\n\");\n\t\t\t\t}\n\t\t\t\tconst exports =\n\t\t\t\t\tcodeGenResult.data && codeGenResult.data.get(\"css-exports\");\n\t\t\t\tconst moduleId = chunkGraph.getModuleId(module) + \"\";\n\t\t\t\tmetaData.push(\n\t\t\t\t\t`${\n\t\t\t\t\t\texports\n\t\t\t\t\t\t\t? Array.from(exports, ([n, v]) => {\n\t\t\t\t\t\t\t\t\tconst shortcutValue = `${\n\t\t\t\t\t\t\t\t\t\tuniqueName ? uniqueName + \"-\" : \"\"\n\t\t\t\t\t\t\t\t\t}${moduleId}-${n}`;\n\t\t\t\t\t\t\t\t\treturn v === shortcutValue\n\t\t\t\t\t\t\t\t\t\t? `${escapeCss(n)}/`\n\t\t\t\t\t\t\t\t\t\t: v === \"--\" + shortcutValue\n\t\t\t\t\t\t\t\t\t\t? `${escapeCss(n)}%`\n\t\t\t\t\t\t\t\t\t\t: `${escapeCss(n)}(${escapeCss(v)})`;\n\t\t\t\t\t\t\t }).join(\"\")\n\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t}${escapeCss(moduleId)}`\n\t\t\t\t);\n\t\t\t} catch (e) {\n\t\t\t\te.message += `\\nduring rendering of css ${module.identifier()}`;\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t}\n\t\tsource.add(\n\t\t\t`head{--webpack-${escapeCss(\n\t\t\t\t(uniqueName ? uniqueName + \"-\" : \"\") + chunk.id,\n\t\t\t\ttrue\n\t\t\t)}:${metaData.join(\",\")};}`\n\t\t);\n\t\treturn source;\n\t}\n\n\tstatic getChunkFilenameTemplate(chunk, outputOptions) {\n\t\tif (chunk.cssFilenameTemplate) {\n\t\t\treturn chunk.cssFilenameTemplate;\n\t\t} else if (chunk.canBeInitial()) {\n\t\t\treturn outputOptions.cssFilename;\n\t\t} else {\n\t\t\treturn outputOptions.cssChunkFilename;\n\t\t}\n\t}\n\n\tstatic chunkHasCss(chunk, chunkGraph) {\n\t\treturn (\n\t\t\t!!chunkGraph.getChunkModulesIterableBySourceType(chunk, \"css\") ||\n\t\t\t!!chunkGraph.getChunkModulesIterableBySourceType(chunk, \"css-import\")\n\t\t);\n\t}\n}\n\nmodule.exports = CssModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/CssModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/CssParser.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/css/CssParser.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\nconst ConstDependency = __webpack_require__(/*! ../dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst CssExportDependency = __webpack_require__(/*! ../dependencies/CssExportDependency */ \"./node_modules/webpack/lib/dependencies/CssExportDependency.js\");\nconst CssImportDependency = __webpack_require__(/*! ../dependencies/CssImportDependency */ \"./node_modules/webpack/lib/dependencies/CssImportDependency.js\");\nconst CssLocalIdentifierDependency = __webpack_require__(/*! ../dependencies/CssLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js\");\nconst CssSelfLocalIdentifierDependency = __webpack_require__(/*! ../dependencies/CssSelfLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js\");\nconst CssUrlDependency = __webpack_require__(/*! ../dependencies/CssUrlDependency */ \"./node_modules/webpack/lib/dependencies/CssUrlDependency.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst walkCssTokens = __webpack_require__(/*! ./walkCssTokens */ \"./node_modules/webpack/lib/css/walkCssTokens.js\");\n\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nconst CC_LEFT_CURLY = \"{\".charCodeAt(0);\nconst CC_RIGHT_CURLY = \"}\".charCodeAt(0);\nconst CC_COLON = \":\".charCodeAt(0);\nconst CC_SLASH = \"/\".charCodeAt(0);\nconst CC_SEMICOLON = \";\".charCodeAt(0);\n\nconst cssUnescape = str => {\n\treturn str.replace(/\\\\([0-9a-fA-F]{1,6}[ \\t\\n\\r\\f]?|[\\s\\S])/g, match => {\n\t\tif (match.length > 2) {\n\t\t\treturn String.fromCharCode(parseInt(match.slice(1).trim(), 16));\n\t\t} else {\n\t\t\treturn match[1];\n\t\t}\n\t});\n};\n\nclass LocConverter {\n\tconstructor(input) {\n\t\tthis._input = input;\n\t\tthis.line = 1;\n\t\tthis.column = 0;\n\t\tthis.pos = 0;\n\t}\n\n\tget(pos) {\n\t\tif (this.pos !== pos) {\n\t\t\tif (this.pos < pos) {\n\t\t\t\tconst str = this._input.slice(this.pos, pos);\n\t\t\t\tlet i = str.lastIndexOf(\"\\n\");\n\t\t\t\tif (i === -1) {\n\t\t\t\t\tthis.column += str.length;\n\t\t\t\t} else {\n\t\t\t\t\tthis.column = str.length - i - 1;\n\t\t\t\t\tthis.line++;\n\t\t\t\t\twhile (i > 0 && (i = str.lastIndexOf(\"\\n\", i - 1)) !== -1)\n\t\t\t\t\t\tthis.line++;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tlet i = this._input.lastIndexOf(\"\\n\", this.pos);\n\t\t\t\twhile (i >= pos) {\n\t\t\t\t\tthis.line--;\n\t\t\t\t\ti = i > 0 ? this._input.lastIndexOf(\"\\n\", i - 1) : -1;\n\t\t\t\t}\n\t\t\t\tthis.column = pos - i;\n\t\t\t}\n\t\t\tthis.pos = pos;\n\t\t}\n\t\treturn this;\n\t}\n}\n\nconst CSS_MODE_TOP_LEVEL = 0;\nconst CSS_MODE_IN_RULE = 1;\nconst CSS_MODE_IN_LOCAL_RULE = 2;\nconst CSS_MODE_AT_IMPORT_EXPECT_URL = 3;\n// TODO implement layer and supports for @import\nconst CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS = 4;\nconst CSS_MODE_AT_IMPORT_EXPECT_MEDIA = 5;\nconst CSS_MODE_AT_OTHER = 6;\n\nconst explainMode = mode => {\n\tswitch (mode) {\n\t\tcase CSS_MODE_TOP_LEVEL:\n\t\t\treturn \"parsing top level css\";\n\t\tcase CSS_MODE_IN_RULE:\n\t\t\treturn \"parsing css rule content (global)\";\n\t\tcase CSS_MODE_IN_LOCAL_RULE:\n\t\t\treturn \"parsing css rule content (local)\";\n\t\tcase CSS_MODE_AT_IMPORT_EXPECT_URL:\n\t\t\treturn \"parsing @import (expecting url)\";\n\t\tcase CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS:\n\t\t\treturn \"parsing @import (expecting optionally supports or media query)\";\n\t\tcase CSS_MODE_AT_IMPORT_EXPECT_MEDIA:\n\t\t\treturn \"parsing @import (expecting optionally media query)\";\n\t\tcase CSS_MODE_AT_OTHER:\n\t\t\treturn \"parsing at-rule\";\n\t\tdefault:\n\t\t\treturn mode;\n\t}\n};\n\nclass CssParser extends Parser {\n\tconstructor({\n\t\tallowPseudoBlocks = true,\n\t\tallowModeSwitch = true,\n\t\tdefaultMode = \"global\"\n\t} = {}) {\n\t\tsuper();\n\t\tthis.allowPseudoBlocks = allowPseudoBlocks;\n\t\tthis.allowModeSwitch = allowModeSwitch;\n\t\tthis.defaultMode = defaultMode;\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (Buffer.isBuffer(source)) {\n\t\t\tsource = source.toString(\"utf-8\");\n\t\t} else if (typeof source === \"object\") {\n\t\t\tthrow new Error(\"webpackAst is unexpected for the CssParser\");\n\t\t}\n\t\tif (source[0] === \"\\ufeff\") {\n\t\t\tsource = source.slice(1);\n\t\t}\n\n\t\tconst module = state.module;\n\n\t\tconst declaredCssVariables = new Set();\n\n\t\tconst locConverter = new LocConverter(source);\n\t\tlet mode = CSS_MODE_TOP_LEVEL;\n\t\tlet modePos = 0;\n\t\tlet modeNestingLevel = 0;\n\t\tlet modeData = undefined;\n\t\tlet singleClassSelector = undefined;\n\t\tlet lastIdentifier = undefined;\n\t\tconst modeStack = [];\n\t\tconst isTopLevelLocal = () =>\n\t\t\tmodeData === \"local\" ||\n\t\t\t(this.defaultMode === \"local\" && modeData === undefined);\n\t\tconst eatWhiteLine = (input, pos) => {\n\t\t\tfor (;;) {\n\t\t\t\tconst cc = input.charCodeAt(pos);\n\t\t\t\tif (cc === 32 || cc === 9) {\n\t\t\t\t\tpos++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (cc === 10) pos++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn pos;\n\t\t};\n\t\tconst eatUntil = chars => {\n\t\t\tconst charCodes = Array.from({ length: chars.length }, (_, i) =>\n\t\t\t\tchars.charCodeAt(i)\n\t\t\t);\n\t\t\tconst arr = Array.from(\n\t\t\t\t{ length: charCodes.reduce((a, b) => Math.max(a, b), 0) + 1 },\n\t\t\t\t() => false\n\t\t\t);\n\t\t\tcharCodes.forEach(cc => (arr[cc] = true));\n\t\t\treturn (input, pos) => {\n\t\t\t\tfor (;;) {\n\t\t\t\t\tconst cc = input.charCodeAt(pos);\n\t\t\t\t\tif (cc < arr.length && arr[cc]) {\n\t\t\t\t\t\treturn pos;\n\t\t\t\t\t}\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t\tconst eatText = (input, pos, eater) => {\n\t\t\tlet text = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tif (input.charCodeAt(pos) === CC_SLASH) {\n\t\t\t\t\tconst newPos = walkCssTokens.eatComments(input, pos);\n\t\t\t\t\tif (pos !== newPos) {\n\t\t\t\t\t\tpos = newPos;\n\t\t\t\t\t\tif (pos === input.length) break;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttext += \"/\";\n\t\t\t\t\t\tpos++;\n\t\t\t\t\t\tif (pos === input.length) break;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst newPos = eater(input, pos);\n\t\t\t\tif (pos !== newPos) {\n\t\t\t\t\ttext += input.slice(pos, newPos);\n\t\t\t\t\tpos = newPos;\n\t\t\t\t} else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (pos === input.length) break;\n\t\t\t}\n\t\t\treturn [pos, text.trimEnd()];\n\t\t};\n\t\tconst eatExportName = eatUntil(\":};/\");\n\t\tconst eatExportValue = eatUntil(\"};/\");\n\t\tconst parseExports = (input, pos) => {\n\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\tconst cc = input.charCodeAt(pos);\n\t\t\tif (cc !== CC_LEFT_CURLY)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Unexpected ${input[pos]} at ${pos} during parsing of ':export' (expected '{')`\n\t\t\t\t);\n\t\t\tpos++;\n\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\tfor (;;) {\n\t\t\t\tif (input.charCodeAt(pos) === CC_RIGHT_CURLY) break;\n\t\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tlet start = pos;\n\t\t\t\tlet name;\n\t\t\t\t[pos, name] = eatText(input, pos, eatExportName);\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tif (input.charCodeAt(pos) !== CC_COLON) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Unexpected ${input[pos]} at ${pos} during parsing of export name in ':export' (expected ':')`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tpos++;\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tlet value;\n\t\t\t\t[pos, value] = eatText(input, pos, eatExportValue);\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tconst cc = input.charCodeAt(pos);\n\t\t\t\tif (cc === CC_SEMICOLON) {\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t} else if (cc !== CC_RIGHT_CURLY) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Unexpected ${input[pos]} at ${pos} during parsing of export value in ':export' (expected ';' or '}')`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tconst dep = new CssExportDependency(name, value);\n\t\t\t\tconst { line: sl, column: sc } = locConverter.get(start);\n\t\t\t\tconst { line: el, column: ec } = locConverter.get(pos);\n\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\tmodule.addDependency(dep);\n\t\t\t}\n\t\t\tpos++;\n\t\t\tif (pos === input.length) return pos;\n\t\t\tpos = eatWhiteLine(input, pos);\n\t\t\treturn pos;\n\t\t};\n\t\tconst eatPropertyName = eatUntil(\":{};\");\n\t\tconst processLocalDeclaration = (input, pos) => {\n\t\t\tmodeData = undefined;\n\t\t\tconst start = pos;\n\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\tconst propertyNameStart = pos;\n\t\t\tconst [propertyNameEnd, propertyName] = eatText(\n\t\t\t\tinput,\n\t\t\t\tpos,\n\t\t\t\teatPropertyName\n\t\t\t);\n\t\t\tif (input.charCodeAt(propertyNameEnd) !== CC_COLON) return start;\n\t\t\tpos = propertyNameEnd + 1;\n\t\t\tif (propertyName.startsWith(\"--\")) {\n\t\t\t\t// CSS Variable\n\t\t\t\tconst { line: sl, column: sc } = locConverter.get(propertyNameStart);\n\t\t\t\tconst { line: el, column: ec } = locConverter.get(propertyNameEnd);\n\t\t\t\tconst name = propertyName.slice(2);\n\t\t\t\tconst dep = new CssLocalIdentifierDependency(\n\t\t\t\t\tname,\n\t\t\t\t\t[propertyNameStart, propertyNameEnd],\n\t\t\t\t\t\"--\"\n\t\t\t\t);\n\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\tmodule.addDependency(dep);\n\t\t\t\tdeclaredCssVariables.add(name);\n\t\t\t} else if (\n\t\t\t\tpropertyName === \"animation-name\" ||\n\t\t\t\tpropertyName === \"animation\"\n\t\t\t) {\n\t\t\t\tmodeData = \"animation\";\n\t\t\t\tlastIdentifier = undefined;\n\t\t\t}\n\t\t\treturn pos;\n\t\t};\n\t\tconst processDeclarationValueDone = (input, pos) => {\n\t\t\tif (modeData === \"animation\" && lastIdentifier) {\n\t\t\t\tconst { line: sl, column: sc } = locConverter.get(lastIdentifier[0]);\n\t\t\t\tconst { line: el, column: ec } = locConverter.get(lastIdentifier[1]);\n\t\t\t\tconst name = input.slice(lastIdentifier[0], lastIdentifier[1]);\n\t\t\t\tconst dep = new CssSelfLocalIdentifierDependency(name, lastIdentifier);\n\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\tmodule.addDependency(dep);\n\t\t\t}\n\t\t};\n\t\tconst eatKeyframes = eatUntil(\"{};/\");\n\t\tconst eatNameInVar = eatUntil(\",)};/\");\n\t\twalkCssTokens(source, {\n\t\t\tisSelector: () => {\n\t\t\t\treturn mode !== CSS_MODE_IN_RULE && mode !== CSS_MODE_IN_LOCAL_RULE;\n\t\t\t},\n\t\t\turl: (input, start, end, contentStart, contentEnd) => {\n\t\t\t\tconst value = cssUnescape(input.slice(contentStart, contentEnd));\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_URL: {\n\t\t\t\t\t\tmodeData.url = value;\n\t\t\t\t\t\tmode = CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS:\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_MEDIA:\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Unexpected ${input.slice(\n\t\t\t\t\t\t\t\tstart,\n\t\t\t\t\t\t\t\tend\n\t\t\t\t\t\t\t)} at ${start} during ${explainMode(mode)}`\n\t\t\t\t\t\t);\n\t\t\t\t\tdefault: {\n\t\t\t\t\t\tconst dep = new CssUrlDependency(value, [start, end], \"url\");\n\t\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(start);\n\t\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(end);\n\t\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\tmodule.addCodeGenerationDependency(dep);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tstring: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_URL: {\n\t\t\t\t\t\tmodeData.url = cssUnescape(input.slice(start + 1, end - 1));\n\t\t\t\t\t\tmode = CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tatKeyword: (input, start, end) => {\n\t\t\t\tconst name = input.slice(start, end);\n\t\t\t\tif (name === \"@namespace\") {\n\t\t\t\t\tthrow new Error(\"@namespace is not supported in bundled CSS\");\n\t\t\t\t}\n\t\t\t\tif (name === \"@import\") {\n\t\t\t\t\tif (mode !== CSS_MODE_TOP_LEVEL) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Unexpected @import at ${start} during ${explainMode(mode)}`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tmode = CSS_MODE_AT_IMPORT_EXPECT_URL;\n\t\t\t\t\tmodePos = end;\n\t\t\t\t\tmodeData = {\n\t\t\t\t\t\tstart: start,\n\t\t\t\t\t\turl: undefined,\n\t\t\t\t\t\tsupports: undefined\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (name === \"@keyframes\") {\n\t\t\t\t\tlet pos = end;\n\t\t\t\t\tpos = walkCssTokens.eatWhitespaceAndComments(input, pos);\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tconst [newPos, name] = eatText(input, pos, eatKeyframes);\n\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(pos);\n\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(newPos);\n\t\t\t\t\tconst dep = new CssLocalIdentifierDependency(name, [pos, newPos]);\n\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\tpos = newPos;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tif (input.charCodeAt(pos) !== CC_LEFT_CURLY) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Unexpected ${input[pos]} at ${pos} during parsing of @keyframes (expected '{')`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tmode = CSS_MODE_IN_LOCAL_RULE;\n\t\t\t\t\tmodeNestingLevel = 1;\n\t\t\t\t\treturn pos + 1;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tsemicolon: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_URL:\n\t\t\t\t\t\tthrow new Error(`Expected URL for @import at ${start}`);\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_MEDIA:\n\t\t\t\t\tcase CSS_MODE_AT_IMPORT_EXPECT_SUPPORTS: {\n\t\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(modeData.start);\n\t\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(end);\n\t\t\t\t\t\tend = eatWhiteLine(input, end);\n\t\t\t\t\t\tconst media = input.slice(modePos, start).trim();\n\t\t\t\t\t\tconst dep = new CssImportDependency(\n\t\t\t\t\t\t\tmodeData.url,\n\t\t\t\t\t\t\t[modeData.start, end],\n\t\t\t\t\t\t\tmodeData.supports,\n\t\t\t\t\t\t\tmedia\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE: {\n\t\t\t\t\t\tprocessDeclarationValueDone(input, start);\n\t\t\t\t\t\treturn processLocalDeclaration(input, end);\n\t\t\t\t\t}\n\t\t\t\t\tcase CSS_MODE_IN_RULE: {\n\t\t\t\t\t\treturn end;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmode = CSS_MODE_TOP_LEVEL;\n\t\t\t\tmodeData = undefined;\n\t\t\t\tsingleClassSelector = undefined;\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tleftCurlyBracket: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL:\n\t\t\t\t\t\tmode = isTopLevelLocal()\n\t\t\t\t\t\t\t? CSS_MODE_IN_LOCAL_RULE\n\t\t\t\t\t\t\t: CSS_MODE_IN_RULE;\n\t\t\t\t\t\tmodeNestingLevel = 1;\n\t\t\t\t\t\tif (mode === CSS_MODE_IN_LOCAL_RULE)\n\t\t\t\t\t\t\treturn processLocalDeclaration(input, end);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase CSS_MODE_IN_RULE:\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE:\n\t\t\t\t\t\tmodeNestingLevel++;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\trightCurlyBracket: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE:\n\t\t\t\t\t\tprocessDeclarationValueDone(input, start);\n\t\t\t\t\t/* falls through */\n\t\t\t\t\tcase CSS_MODE_IN_RULE:\n\t\t\t\t\t\tif (--modeNestingLevel === 0) {\n\t\t\t\t\t\t\tmode = CSS_MODE_TOP_LEVEL;\n\t\t\t\t\t\t\tmodeData = undefined;\n\t\t\t\t\t\t\tsingleClassSelector = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tid: (input, start, end) => {\n\t\t\t\tsingleClassSelector = false;\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL:\n\t\t\t\t\t\tif (isTopLevelLocal()) {\n\t\t\t\t\t\t\tconst name = input.slice(start + 1, end);\n\t\t\t\t\t\t\tconst dep = new CssLocalIdentifierDependency(name, [\n\t\t\t\t\t\t\t\tstart + 1,\n\t\t\t\t\t\t\t\tend\n\t\t\t\t\t\t\t]);\n\t\t\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(start);\n\t\t\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(end);\n\t\t\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tidentifier: (input, start, end) => {\n\t\t\t\tsingleClassSelector = false;\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE:\n\t\t\t\t\t\tif (modeData === \"animation\") {\n\t\t\t\t\t\t\tlastIdentifier = [start, end];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tclass: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL: {\n\t\t\t\t\t\tif (isTopLevelLocal()) {\n\t\t\t\t\t\t\tconst name = input.slice(start + 1, end);\n\t\t\t\t\t\t\tconst dep = new CssLocalIdentifierDependency(name, [\n\t\t\t\t\t\t\t\tstart + 1,\n\t\t\t\t\t\t\t\tend\n\t\t\t\t\t\t\t]);\n\t\t\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(start);\n\t\t\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(end);\n\t\t\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\t\tif (singleClassSelector === undefined) singleClassSelector = name;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsingleClassSelector = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tleftParenthesis: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL: {\n\t\t\t\t\t\tmodeStack.push(false);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\trightParenthesis: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL: {\n\t\t\t\t\t\tconst newModeData = modeStack.pop();\n\t\t\t\t\t\tif (newModeData !== false) {\n\t\t\t\t\t\t\tmodeData = newModeData;\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, end]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tpseudoClass: (input, start, end) => {\n\t\t\t\tsingleClassSelector = false;\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL: {\n\t\t\t\t\t\tconst name = input.slice(start, end);\n\t\t\t\t\t\tif (this.allowModeSwitch && name === \":global\") {\n\t\t\t\t\t\t\tmodeData = \"global\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, end]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t} else if (this.allowModeSwitch && name === \":local\") {\n\t\t\t\t\t\t\tmodeData = \"local\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, end]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t} else if (this.allowPseudoBlocks && name === \":export\") {\n\t\t\t\t\t\t\tconst pos = parseExports(input, end);\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, pos]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn pos;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tpseudoFunction: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL: {\n\t\t\t\t\t\tconst name = input.slice(start, end - 1);\n\t\t\t\t\t\tif (this.allowModeSwitch && name === \":global\") {\n\t\t\t\t\t\t\tmodeStack.push(modeData);\n\t\t\t\t\t\t\tmodeData = \"global\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, end]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t} else if (this.allowModeSwitch && name === \":local\") {\n\t\t\t\t\t\t\tmodeStack.push(modeData);\n\t\t\t\t\t\t\tmodeData = \"local\";\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\"\", [start, end]);\n\t\t\t\t\t\t\tmodule.addPresentationalDependency(dep);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmodeStack.push(false);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tfunction: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE: {\n\t\t\t\t\t\tconst name = input.slice(start, end - 1);\n\t\t\t\t\t\tif (name === \"var\") {\n\t\t\t\t\t\t\tlet pos = walkCssTokens.eatWhitespaceAndComments(input, end);\n\t\t\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\t\t\tconst [newPos, name] = eatText(input, pos, eatNameInVar);\n\t\t\t\t\t\t\tif (!name.startsWith(\"--\")) return end;\n\t\t\t\t\t\t\tconst { line: sl, column: sc } = locConverter.get(pos);\n\t\t\t\t\t\t\tconst { line: el, column: ec } = locConverter.get(newPos);\n\t\t\t\t\t\t\tconst dep = new CssSelfLocalIdentifierDependency(\n\t\t\t\t\t\t\t\tname.slice(2),\n\t\t\t\t\t\t\t\t[pos, newPos],\n\t\t\t\t\t\t\t\t\"--\",\n\t\t\t\t\t\t\t\tdeclaredCssVariables\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.setLoc(sl, sc, el, ec);\n\t\t\t\t\t\t\tmodule.addDependency(dep);\n\t\t\t\t\t\t\treturn newPos;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t},\n\t\t\tcomma: (input, start, end) => {\n\t\t\t\tswitch (mode) {\n\t\t\t\t\tcase CSS_MODE_TOP_LEVEL:\n\t\t\t\t\t\tmodeData = undefined;\n\t\t\t\t\t\tmodeStack.length = 0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase CSS_MODE_IN_LOCAL_RULE:\n\t\t\t\t\t\tprocessDeclarationValueDone(input, start);\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn end;\n\t\t\t}\n\t\t});\n\n\t\tmodule.buildInfo.strict = true;\n\t\tmodule.buildMeta.exportsType = \"namespace\";\n\t\tmodule.addDependency(new StaticExportsDependency([], true));\n\t\treturn state;\n\t}\n}\n\nmodule.exports = CssParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/CssParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/css/walkCssTokens.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/css/walkCssTokens.js ***! \*******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @typedef {Object} CssTokenCallbacks\n * @property {function(string, number): boolean} isSelector\n * @property {function(string, number, number, number, number): number=} url\n * @property {function(string, number, number): number=} string\n * @property {function(string, number, number): number=} leftParenthesis\n * @property {function(string, number, number): number=} rightParenthesis\n * @property {function(string, number, number): number=} pseudoFunction\n * @property {function(string, number, number): number=} function\n * @property {function(string, number, number): number=} pseudoClass\n * @property {function(string, number, number): number=} atKeyword\n * @property {function(string, number, number): number=} class\n * @property {function(string, number, number): number=} identifier\n * @property {function(string, number, number): number=} id\n * @property {function(string, number, number): number=} leftCurlyBracket\n * @property {function(string, number, number): number=} rightCurlyBracket\n * @property {function(string, number, number): number=} semicolon\n * @property {function(string, number, number): number=} comma\n */\n\n/** @typedef {function(string, number, CssTokenCallbacks): number} CharHandler */\n\n// spec: https://drafts.csswg.org/css-syntax/\n\nconst CC_LINE_FEED = \"\\n\".charCodeAt(0);\nconst CC_CARRIAGE_RETURN = \"\\r\".charCodeAt(0);\nconst CC_FORM_FEED = \"\\f\".charCodeAt(0);\n\nconst CC_TAB = \"\\t\".charCodeAt(0);\nconst CC_SPACE = \" \".charCodeAt(0);\n\nconst CC_SLASH = \"/\".charCodeAt(0);\nconst CC_BACK_SLASH = \"\\\\\".charCodeAt(0);\nconst CC_ASTERISK = \"*\".charCodeAt(0);\n\nconst CC_LEFT_PARENTHESIS = \"(\".charCodeAt(0);\nconst CC_RIGHT_PARENTHESIS = \")\".charCodeAt(0);\nconst CC_LEFT_CURLY = \"{\".charCodeAt(0);\nconst CC_RIGHT_CURLY = \"}\".charCodeAt(0);\n\nconst CC_QUOTATION_MARK = '\"'.charCodeAt(0);\nconst CC_APOSTROPHE = \"'\".charCodeAt(0);\n\nconst CC_FULL_STOP = \".\".charCodeAt(0);\nconst CC_COLON = \":\".charCodeAt(0);\nconst CC_SEMICOLON = \";\".charCodeAt(0);\nconst CC_COMMA = \",\".charCodeAt(0);\nconst CC_PERCENTAGE = \"%\".charCodeAt(0);\nconst CC_AT_SIGN = \"@\".charCodeAt(0);\n\nconst CC_LOW_LINE = \"_\".charCodeAt(0);\nconst CC_LOWER_A = \"a\".charCodeAt(0);\nconst CC_LOWER_U = \"u\".charCodeAt(0);\nconst CC_LOWER_E = \"e\".charCodeAt(0);\nconst CC_LOWER_Z = \"z\".charCodeAt(0);\nconst CC_UPPER_A = \"A\".charCodeAt(0);\nconst CC_UPPER_E = \"E\".charCodeAt(0);\nconst CC_UPPER_Z = \"Z\".charCodeAt(0);\nconst CC_0 = \"0\".charCodeAt(0);\nconst CC_9 = \"9\".charCodeAt(0);\n\nconst CC_NUMBER_SIGN = \"#\".charCodeAt(0);\nconst CC_PLUS_SIGN = \"+\".charCodeAt(0);\nconst CC_HYPHEN_MINUS = \"-\".charCodeAt(0);\n\nconst CC_LESS_THAN_SIGN = \"<\".charCodeAt(0);\nconst CC_GREATER_THAN_SIGN = \">\".charCodeAt(0);\n\nconst _isNewLine = cc => {\n\treturn (\n\t\tcc === CC_LINE_FEED || cc === CC_CARRIAGE_RETURN || cc === CC_FORM_FEED\n\t);\n};\n\n/** @type {CharHandler} */\nconst consumeSpace = (input, pos, callbacks) => {\n\tlet cc;\n\tdo {\n\t\tpos++;\n\t\tcc = input.charCodeAt(pos);\n\t} while (_isWhiteSpace(cc));\n\treturn pos;\n};\n\nconst _isWhiteSpace = cc => {\n\treturn (\n\t\tcc === CC_LINE_FEED ||\n\t\tcc === CC_CARRIAGE_RETURN ||\n\t\tcc === CC_FORM_FEED ||\n\t\tcc === CC_TAB ||\n\t\tcc === CC_SPACE\n\t);\n};\n\n/** @type {CharHandler} */\nconst consumeSingleCharToken = (input, pos, callbacks) => {\n\treturn pos + 1;\n};\n\n/** @type {CharHandler} */\nconst consumePotentialComment = (input, pos, callbacks) => {\n\tpos++;\n\tif (pos === input.length) return pos;\n\tlet cc = input.charCodeAt(pos);\n\tif (cc !== CC_ASTERISK) return pos;\n\tfor (;;) {\n\t\tpos++;\n\t\tif (pos === input.length) return pos;\n\t\tcc = input.charCodeAt(pos);\n\t\twhile (cc === CC_ASTERISK) {\n\t\t\tpos++;\n\t\t\tif (pos === input.length) return pos;\n\t\t\tcc = input.charCodeAt(pos);\n\t\t\tif (cc === CC_SLASH) return pos + 1;\n\t\t}\n\t}\n};\n\n/** @type {function(number): CharHandler} */\nconst consumeString = end => (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos = _consumeString(input, pos, end);\n\tif (callbacks.string !== undefined) {\n\t\tpos = callbacks.string(input, start, pos);\n\t}\n\treturn pos;\n};\n\nconst _consumeString = (input, pos, end) => {\n\tpos++;\n\tfor (;;) {\n\t\tif (pos === input.length) return pos;\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc === end) return pos + 1;\n\t\tif (_isNewLine(cc)) {\n\t\t\t// bad string\n\t\t\treturn pos;\n\t\t}\n\t\tif (cc === CC_BACK_SLASH) {\n\t\t\t// we don't need to fully parse the escaped code point\n\t\t\t// just skip over a potential new line\n\t\t\tpos++;\n\t\t\tif (pos === input.length) return pos;\n\t\t\tpos++;\n\t\t} else {\n\t\t\tpos++;\n\t\t}\n\t}\n};\n\nconst _isIdentifierStartCode = cc => {\n\treturn (\n\t\tcc === CC_LOW_LINE ||\n\t\t(cc >= CC_LOWER_A && cc <= CC_LOWER_Z) ||\n\t\t(cc >= CC_UPPER_A && cc <= CC_UPPER_Z) ||\n\t\tcc > 0x80\n\t);\n};\n\nconst _isDigit = cc => {\n\treturn cc >= CC_0 && cc <= CC_9;\n};\n\nconst _startsIdentifier = (input, pos) => {\n\tconst cc = input.charCodeAt(pos);\n\tif (cc === CC_HYPHEN_MINUS) {\n\t\tif (pos === input.length) return false;\n\t\tconst cc = input.charCodeAt(pos + 1);\n\t\tif (cc === CC_HYPHEN_MINUS) return true;\n\t\tif (cc === CC_BACK_SLASH) {\n\t\t\tconst cc = input.charCodeAt(pos + 2);\n\t\t\treturn !_isNewLine(cc);\n\t\t}\n\t\treturn _isIdentifierStartCode(cc);\n\t}\n\tif (cc === CC_BACK_SLASH) {\n\t\tconst cc = input.charCodeAt(pos + 1);\n\t\treturn !_isNewLine(cc);\n\t}\n\treturn _isIdentifierStartCode(cc);\n};\n\n/** @type {CharHandler} */\nconst consumeNumberSign = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos++;\n\tif (pos === input.length) return pos;\n\tif (callbacks.isSelector(input, pos) && _startsIdentifier(input, pos)) {\n\t\tpos = _consumeIdentifier(input, pos);\n\t\tif (callbacks.id !== undefined) {\n\t\t\treturn callbacks.id(input, start, pos);\n\t\t}\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeMinus = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos++;\n\tif (pos === input.length) return pos;\n\tconst cc = input.charCodeAt(pos);\n\tif (cc === CC_FULL_STOP || _isDigit(cc)) {\n\t\treturn consumeNumericToken(input, pos, callbacks);\n\t} else if (cc === CC_HYPHEN_MINUS) {\n\t\tpos++;\n\t\tif (pos === input.length) return pos;\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc === CC_GREATER_THAN_SIGN) {\n\t\t\treturn pos + 1;\n\t\t} else {\n\t\t\tpos = _consumeIdentifier(input, pos);\n\t\t\tif (callbacks.identifier !== undefined) {\n\t\t\t\treturn callbacks.identifier(input, start, pos);\n\t\t\t}\n\t\t}\n\t} else if (cc === CC_BACK_SLASH) {\n\t\tif (pos + 1 === input.length) return pos;\n\t\tconst cc = input.charCodeAt(pos + 1);\n\t\tif (_isNewLine(cc)) return pos;\n\t\tpos = _consumeIdentifier(input, pos);\n\t\tif (callbacks.identifier !== undefined) {\n\t\t\treturn callbacks.identifier(input, start, pos);\n\t\t}\n\t} else if (_isIdentifierStartCode(cc)) {\n\t\tpos++;\n\t\tpos = _consumeIdentifier(input, pos);\n\t\tif (callbacks.identifier !== undefined) {\n\t\t\treturn callbacks.identifier(input, start, pos);\n\t\t}\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeDot = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos++;\n\tif (pos === input.length) return pos;\n\tconst cc = input.charCodeAt(pos);\n\tif (_isDigit(cc)) return consumeNumericToken(input, pos - 2, callbacks);\n\tif (!callbacks.isSelector(input, pos) || !_startsIdentifier(input, pos))\n\t\treturn pos;\n\tpos = _consumeIdentifier(input, pos);\n\tif (callbacks.class !== undefined) return callbacks.class(input, start, pos);\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeNumericToken = (input, pos, callbacks) => {\n\tpos = _consumeNumber(input, pos);\n\tif (pos === input.length) return pos;\n\tif (_startsIdentifier(input, pos)) return _consumeIdentifier(input, pos);\n\tconst cc = input.charCodeAt(pos);\n\tif (cc === CC_PERCENTAGE) return pos + 1;\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeOtherIdentifier = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos = _consumeIdentifier(input, pos);\n\tif (\n\t\tpos !== input.length &&\n\t\t!callbacks.isSelector(input, pos) &&\n\t\tinput.charCodeAt(pos) === CC_LEFT_PARENTHESIS\n\t) {\n\t\tpos++;\n\t\tif (callbacks.function !== undefined) {\n\t\t\treturn callbacks.function(input, start, pos);\n\t\t}\n\t} else {\n\t\tif (callbacks.identifier !== undefined) {\n\t\t\treturn callbacks.identifier(input, start, pos);\n\t\t}\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumePotentialUrl = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos = _consumeIdentifier(input, pos);\n\tif (pos === start + 3 && input.slice(start, pos + 1) === \"url(\") {\n\t\tpos++;\n\t\tlet cc = input.charCodeAt(pos);\n\t\twhile (_isWhiteSpace(cc)) {\n\t\t\tpos++;\n\t\t\tif (pos === input.length) return pos;\n\t\t\tcc = input.charCodeAt(pos);\n\t\t}\n\t\tif (cc === CC_QUOTATION_MARK || cc === CC_APOSTROPHE) {\n\t\t\tpos++;\n\t\t\tconst contentStart = pos;\n\t\t\tpos = _consumeString(input, pos, cc);\n\t\t\tconst contentEnd = pos - 1;\n\t\t\tcc = input.charCodeAt(pos);\n\t\t\twhile (_isWhiteSpace(cc)) {\n\t\t\t\tpos++;\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t}\n\t\t\tif (cc !== CC_RIGHT_PARENTHESIS) return pos;\n\t\t\tpos++;\n\t\t\tif (callbacks.url !== undefined)\n\t\t\t\treturn callbacks.url(input, start, pos, contentStart, contentEnd);\n\t\t\treturn pos;\n\t\t} else {\n\t\t\tconst contentStart = pos;\n\t\t\tlet contentEnd;\n\t\t\tfor (;;) {\n\t\t\t\tif (cc === CC_BACK_SLASH) {\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tpos++;\n\t\t\t\t} else if (_isWhiteSpace(cc)) {\n\t\t\t\t\tcontentEnd = pos;\n\t\t\t\t\tdo {\n\t\t\t\t\t\tpos++;\n\t\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t\t\t} while (_isWhiteSpace(cc));\n\t\t\t\t\tif (cc !== CC_RIGHT_PARENTHESIS) return pos;\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (callbacks.url !== undefined) {\n\t\t\t\t\t\treturn callbacks.url(input, start, pos, contentStart, contentEnd);\n\t\t\t\t\t}\n\t\t\t\t\treturn pos;\n\t\t\t\t} else if (cc === CC_RIGHT_PARENTHESIS) {\n\t\t\t\t\tcontentEnd = pos;\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (callbacks.url !== undefined) {\n\t\t\t\t\t\treturn callbacks.url(input, start, pos, contentStart, contentEnd);\n\t\t\t\t\t}\n\t\t\t\t\treturn pos;\n\t\t\t\t} else if (cc === CC_LEFT_PARENTHESIS) {\n\t\t\t\t\treturn pos;\n\t\t\t\t} else {\n\t\t\t\t\tpos++;\n\t\t\t\t}\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (callbacks.identifier !== undefined) {\n\t\t\treturn callbacks.identifier(input, start, pos);\n\t\t}\n\t\treturn pos;\n\t}\n};\n\n/** @type {CharHandler} */\nconst consumePotentialPseudo = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos++;\n\tif (!callbacks.isSelector(input, pos) || !_startsIdentifier(input, pos))\n\t\treturn pos;\n\tpos = _consumeIdentifier(input, pos);\n\tlet cc = input.charCodeAt(pos);\n\tif (cc === CC_LEFT_PARENTHESIS) {\n\t\tpos++;\n\t\tif (callbacks.pseudoFunction !== undefined) {\n\t\t\treturn callbacks.pseudoFunction(input, start, pos);\n\t\t}\n\t\treturn pos;\n\t}\n\tif (callbacks.pseudoClass !== undefined) {\n\t\treturn callbacks.pseudoClass(input, start, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeLeftParenthesis = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.leftParenthesis !== undefined) {\n\t\treturn callbacks.leftParenthesis(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeRightParenthesis = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.rightParenthesis !== undefined) {\n\t\treturn callbacks.rightParenthesis(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeLeftCurlyBracket = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.leftCurlyBracket !== undefined) {\n\t\treturn callbacks.leftCurlyBracket(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeRightCurlyBracket = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.rightCurlyBracket !== undefined) {\n\t\treturn callbacks.rightCurlyBracket(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeSemicolon = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.semicolon !== undefined) {\n\t\treturn callbacks.semicolon(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeComma = (input, pos, callbacks) => {\n\tpos++;\n\tif (callbacks.comma !== undefined) {\n\t\treturn callbacks.comma(input, pos - 1, pos);\n\t}\n\treturn pos;\n};\n\nconst _consumeIdentifier = (input, pos) => {\n\tfor (;;) {\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc === CC_BACK_SLASH) {\n\t\t\tpos++;\n\t\t\tif (pos === input.length) return pos;\n\t\t\tpos++;\n\t\t} else if (\n\t\t\t_isIdentifierStartCode(cc) ||\n\t\t\t_isDigit(cc) ||\n\t\t\tcc === CC_HYPHEN_MINUS\n\t\t) {\n\t\t\tpos++;\n\t\t} else {\n\t\t\treturn pos;\n\t\t}\n\t}\n};\n\nconst _consumeNumber = (input, pos) => {\n\tpos++;\n\tif (pos === input.length) return pos;\n\tlet cc = input.charCodeAt(pos);\n\twhile (_isDigit(cc)) {\n\t\tpos++;\n\t\tif (pos === input.length) return pos;\n\t\tcc = input.charCodeAt(pos);\n\t}\n\tif (cc === CC_FULL_STOP && pos + 1 !== input.length) {\n\t\tconst next = input.charCodeAt(pos + 1);\n\t\tif (_isDigit(next)) {\n\t\t\tpos += 2;\n\t\t\tcc = input.charCodeAt(pos);\n\t\t\twhile (_isDigit(cc)) {\n\t\t\t\tpos++;\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t}\n\t\t}\n\t}\n\tif (cc === CC_LOWER_E || cc === CC_UPPER_E) {\n\t\tif (pos + 1 !== input.length) {\n\t\t\tconst next = input.charCodeAt(pos + 2);\n\t\t\tif (_isDigit(next)) {\n\t\t\t\tpos += 2;\n\t\t\t} else if (\n\t\t\t\t(next === CC_HYPHEN_MINUS || next === CC_PLUS_SIGN) &&\n\t\t\t\tpos + 2 !== input.length\n\t\t\t) {\n\t\t\t\tconst next = input.charCodeAt(pos + 2);\n\t\t\t\tif (_isDigit(next)) {\n\t\t\t\t\tpos += 3;\n\t\t\t\t} else {\n\t\t\t\t\treturn pos;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn pos;\n\t\t\t}\n\t\t}\n\t} else {\n\t\treturn pos;\n\t}\n\tcc = input.charCodeAt(pos);\n\twhile (_isDigit(cc)) {\n\t\tpos++;\n\t\tif (pos === input.length) return pos;\n\t\tcc = input.charCodeAt(pos);\n\t}\n\treturn pos;\n};\n\n/** @type {CharHandler} */\nconst consumeLessThan = (input, pos, callbacks) => {\n\tif (input.slice(pos + 1, pos + 4) === \"!--\") return pos + 4;\n\treturn pos + 1;\n};\n\n/** @type {CharHandler} */\nconst consumeAt = (input, pos, callbacks) => {\n\tconst start = pos;\n\tpos++;\n\tif (pos === input.length) return pos;\n\tif (_startsIdentifier(input, pos)) {\n\t\tpos = _consumeIdentifier(input, pos);\n\t\tif (callbacks.atKeyword !== undefined) {\n\t\t\tpos = callbacks.atKeyword(input, start, pos);\n\t\t}\n\t}\n\treturn pos;\n};\n\nconst CHAR_MAP = Array.from({ length: 0x80 }, (_, cc) => {\n\t// https://drafts.csswg.org/css-syntax/#consume-token\n\tswitch (cc) {\n\t\tcase CC_LINE_FEED:\n\t\tcase CC_CARRIAGE_RETURN:\n\t\tcase CC_FORM_FEED:\n\t\tcase CC_TAB:\n\t\tcase CC_SPACE:\n\t\t\treturn consumeSpace;\n\t\tcase CC_QUOTATION_MARK:\n\t\tcase CC_APOSTROPHE:\n\t\t\treturn consumeString(cc);\n\t\tcase CC_NUMBER_SIGN:\n\t\t\treturn consumeNumberSign;\n\t\tcase CC_SLASH:\n\t\t\treturn consumePotentialComment;\n\t\t// case CC_LEFT_SQUARE:\n\t\t// case CC_RIGHT_SQUARE:\n\t\t// case CC_COMMA:\n\t\t// case CC_COLON:\n\t\t// \treturn consumeSingleCharToken;\n\t\tcase CC_COMMA:\n\t\t\treturn consumeComma;\n\t\tcase CC_SEMICOLON:\n\t\t\treturn consumeSemicolon;\n\t\tcase CC_LEFT_PARENTHESIS:\n\t\t\treturn consumeLeftParenthesis;\n\t\tcase CC_RIGHT_PARENTHESIS:\n\t\t\treturn consumeRightParenthesis;\n\t\tcase CC_LEFT_CURLY:\n\t\t\treturn consumeLeftCurlyBracket;\n\t\tcase CC_RIGHT_CURLY:\n\t\t\treturn consumeRightCurlyBracket;\n\t\tcase CC_COLON:\n\t\t\treturn consumePotentialPseudo;\n\t\tcase CC_PLUS_SIGN:\n\t\t\treturn consumeNumericToken;\n\t\tcase CC_FULL_STOP:\n\t\t\treturn consumeDot;\n\t\tcase CC_HYPHEN_MINUS:\n\t\t\treturn consumeMinus;\n\t\tcase CC_LESS_THAN_SIGN:\n\t\t\treturn consumeLessThan;\n\t\tcase CC_AT_SIGN:\n\t\t\treturn consumeAt;\n\t\tcase CC_LOWER_U:\n\t\t\treturn consumePotentialUrl;\n\t\tcase CC_LOW_LINE:\n\t\t\treturn consumeOtherIdentifier;\n\t\tdefault:\n\t\t\tif (_isDigit(cc)) return consumeNumericToken;\n\t\t\tif (\n\t\t\t\t(cc >= CC_LOWER_A && cc <= CC_LOWER_Z) ||\n\t\t\t\t(cc >= CC_UPPER_A && cc <= CC_UPPER_Z)\n\t\t\t) {\n\t\t\t\treturn consumeOtherIdentifier;\n\t\t\t}\n\t\t\treturn consumeSingleCharToken;\n\t}\n});\n\n/**\n * @param {string} input input css\n * @param {CssTokenCallbacks} callbacks callbacks\n * @returns {void}\n */\nmodule.exports = (input, callbacks) => {\n\tlet pos = 0;\n\twhile (pos < input.length) {\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc < 0x80) {\n\t\t\tpos = CHAR_MAP[cc](input, pos, callbacks);\n\t\t} else {\n\t\t\tpos++;\n\t\t}\n\t}\n};\n\nmodule.exports.eatComments = (input, pos) => {\n\tloop: for (;;) {\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc === CC_SLASH) {\n\t\t\tif (pos === input.length) return pos;\n\t\t\tlet cc = input.charCodeAt(pos + 1);\n\t\t\tif (cc !== CC_ASTERISK) return pos;\n\t\t\tpos++;\n\t\t\tfor (;;) {\n\t\t\t\tpos++;\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t\twhile (cc === CC_ASTERISK) {\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t\t\tif (cc === CC_SLASH) {\n\t\t\t\t\t\tpos++;\n\t\t\t\t\t\tcontinue loop;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn pos;\n\t}\n};\n\nmodule.exports.eatWhitespaceAndComments = (input, pos) => {\n\tloop: for (;;) {\n\t\tconst cc = input.charCodeAt(pos);\n\t\tif (cc === CC_SLASH) {\n\t\t\tif (pos === input.length) return pos;\n\t\t\tlet cc = input.charCodeAt(pos + 1);\n\t\t\tif (cc !== CC_ASTERISK) return pos;\n\t\t\tpos++;\n\t\t\tfor (;;) {\n\t\t\t\tpos++;\n\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t\twhile (cc === CC_ASTERISK) {\n\t\t\t\t\tpos++;\n\t\t\t\t\tif (pos === input.length) return pos;\n\t\t\t\t\tcc = input.charCodeAt(pos);\n\t\t\t\t\tif (cc === CC_SLASH) {\n\t\t\t\t\t\tpos++;\n\t\t\t\t\t\tcontinue loop;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (_isWhiteSpace(cc)) {\n\t\t\tpos++;\n\t\t\tcontinue;\n\t\t}\n\t\treturn pos;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/css/walkCssTokens.js?"); /***/ }), /***/ "./node_modules/webpack/lib/debug/ProfilingPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/debug/ProfilingPlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { Tracer } = __webpack_require__(/*! chrome-trace-event */ \"./node_modules/chrome-trace-event/dist/trace-event.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst { dirname, mkdirpSync } = __webpack_require__(/*! ../util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\n/** @typedef {import(\"../../declarations/plugins/debug/ProfilingPlugin\").ProfilingPluginOptions} ProfilingPluginOptions */\n/** @typedef {import(\"../util/fs\").IntermediateFileSystem} IntermediateFileSystem */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/debug/ProfilingPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/debug/ProfilingPlugin.json */ \"./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json\"),\n\t{\n\t\tname: \"Profiling Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\nlet inspector = undefined;\n\ntry {\n\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\tinspector = __webpack_require__(/*! inspector */ \"?a934\");\n} catch (e) {\n\tconsole.log(\"Unable to CPU profile in < node 8.0\");\n}\n\nclass Profiler {\n\tconstructor(inspector) {\n\t\tthis.session = undefined;\n\t\tthis.inspector = inspector;\n\t\tthis._startTime = 0;\n\t}\n\n\thasSession() {\n\t\treturn this.session !== undefined;\n\t}\n\n\tstartProfiling() {\n\t\tif (this.inspector === undefined) {\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\ttry {\n\t\t\tthis.session = new inspector.Session();\n\t\t\tthis.session.connect();\n\t\t} catch (_) {\n\t\t\tthis.session = undefined;\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tconst hrtime = process.hrtime();\n\t\tthis._startTime = hrtime[0] * 1000000 + Math.round(hrtime[1] / 1000);\n\n\t\treturn Promise.all([\n\t\t\tthis.sendCommand(\"Profiler.setSamplingInterval\", {\n\t\t\t\tinterval: 100\n\t\t\t}),\n\t\t\tthis.sendCommand(\"Profiler.enable\"),\n\t\t\tthis.sendCommand(\"Profiler.start\")\n\t\t]);\n\t}\n\n\tsendCommand(method, params) {\n\t\tif (this.hasSession()) {\n\t\t\treturn new Promise((res, rej) => {\n\t\t\t\treturn this.session.post(method, params, (err, params) => {\n\t\t\t\t\tif (err !== null) {\n\t\t\t\t\t\trej(err);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tres(params);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t} else {\n\t\t\treturn Promise.resolve();\n\t\t}\n\t}\n\n\tdestroy() {\n\t\tif (this.hasSession()) {\n\t\t\tthis.session.disconnect();\n\t\t}\n\n\t\treturn Promise.resolve();\n\t}\n\n\tstopProfiling() {\n\t\treturn this.sendCommand(\"Profiler.stop\").then(({ profile }) => {\n\t\t\tconst hrtime = process.hrtime();\n\t\t\tconst endTime = hrtime[0] * 1000000 + Math.round(hrtime[1] / 1000);\n\t\t\tif (profile.startTime < this._startTime || profile.endTime > endTime) {\n\t\t\t\t// In some cases timestamps mismatch and we need to adjust them\n\t\t\t\t// Both process.hrtime and the inspector timestamps claim to be relative\n\t\t\t\t// to a unknown point in time. But they do not guarantee that this is the\n\t\t\t\t// same point in time.\n\t\t\t\tconst duration = profile.endTime - profile.startTime;\n\t\t\t\tconst ownDuration = endTime - this._startTime;\n\t\t\t\tconst untracked = Math.max(0, ownDuration - duration);\n\t\t\t\tprofile.startTime = this._startTime + untracked / 2;\n\t\t\t\tprofile.endTime = endTime - untracked / 2;\n\t\t\t}\n\t\t\treturn { profile };\n\t\t});\n\t}\n}\n\n/**\n * an object that wraps Tracer and Profiler with a counter\n * @typedef {Object} Trace\n * @property {Tracer} trace instance of Tracer\n * @property {number} counter Counter\n * @property {Profiler} profiler instance of Profiler\n * @property {Function} end the end function\n */\n\n/**\n * @param {IntermediateFileSystem} fs filesystem used for output\n * @param {string} outputPath The location where to write the log.\n * @returns {Trace} The trace object\n */\nconst createTrace = (fs, outputPath) => {\n\tconst trace = new Tracer();\n\tconst profiler = new Profiler(inspector);\n\tif (/\\/|\\\\/.test(outputPath)) {\n\t\tconst dirPath = dirname(fs, outputPath);\n\t\tmkdirpSync(fs, dirPath);\n\t}\n\tconst fsStream = fs.createWriteStream(outputPath);\n\n\tlet counter = 0;\n\n\ttrace.pipe(fsStream);\n\t// These are critical events that need to be inserted so that tools like\n\t// chrome dev tools can load the profile.\n\ttrace.instantEvent({\n\t\tname: \"TracingStartedInPage\",\n\t\tid: ++counter,\n\t\tcat: [\"disabled-by-default-devtools.timeline\"],\n\t\targs: {\n\t\t\tdata: {\n\t\t\t\tsessionId: \"-1\",\n\t\t\t\tpage: \"0xfff\",\n\t\t\t\tframes: [\n\t\t\t\t\t{\n\t\t\t\t\t\tframe: \"0xfff\",\n\t\t\t\t\t\turl: \"webpack\",\n\t\t\t\t\t\tname: \"\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t});\n\n\ttrace.instantEvent({\n\t\tname: \"TracingStartedInBrowser\",\n\t\tid: ++counter,\n\t\tcat: [\"disabled-by-default-devtools.timeline\"],\n\t\targs: {\n\t\t\tdata: {\n\t\t\t\tsessionId: \"-1\"\n\t\t\t}\n\t\t}\n\t});\n\n\treturn {\n\t\ttrace,\n\t\tcounter,\n\t\tprofiler,\n\t\tend: callback => {\n\t\t\ttrace.push(\"]\");\n\t\t\t// Wait until the write stream finishes.\n\t\t\tfsStream.on(\"close\", () => {\n\t\t\t\tcallback();\n\t\t\t});\n\t\t\t// Tear down the readable trace stream.\n\t\t\ttrace.push(null);\n\t\t}\n\t};\n};\n\nconst pluginName = \"ProfilingPlugin\";\n\nclass ProfilingPlugin {\n\t/**\n\t * @param {ProfilingPluginOptions=} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\t\tthis.outputPath = options.outputPath || \"events.json\";\n\t}\n\n\tapply(compiler) {\n\t\tconst tracer = createTrace(\n\t\t\tcompiler.intermediateFileSystem,\n\t\t\tthis.outputPath\n\t\t);\n\t\ttracer.profiler.startProfiling();\n\n\t\t// Compiler Hooks\n\t\tObject.keys(compiler.hooks).forEach(hookName => {\n\t\t\tconst hook = compiler.hooks[hookName];\n\t\t\tif (hook) {\n\t\t\t\thook.intercept(makeInterceptorFor(\"Compiler\", tracer)(hookName));\n\t\t\t}\n\t\t});\n\n\t\tObject.keys(compiler.resolverFactory.hooks).forEach(hookName => {\n\t\t\tconst hook = compiler.resolverFactory.hooks[hookName];\n\t\t\tif (hook) {\n\t\t\t\thook.intercept(makeInterceptorFor(\"Resolver\", tracer)(hookName));\n\t\t\t}\n\t\t});\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\tpluginName,\n\t\t\t(compilation, { normalModuleFactory, contextModuleFactory }) => {\n\t\t\t\tinterceptAllHooksFor(compilation, tracer, \"Compilation\");\n\t\t\t\tinterceptAllHooksFor(\n\t\t\t\t\tnormalModuleFactory,\n\t\t\t\t\ttracer,\n\t\t\t\t\t\"Normal Module Factory\"\n\t\t\t\t);\n\t\t\t\tinterceptAllHooksFor(\n\t\t\t\t\tcontextModuleFactory,\n\t\t\t\t\ttracer,\n\t\t\t\t\t\"Context Module Factory\"\n\t\t\t\t);\n\t\t\t\tinterceptAllParserHooks(normalModuleFactory, tracer);\n\t\t\t\tinterceptAllJavascriptModulesPluginHooks(compilation, tracer);\n\t\t\t}\n\t\t);\n\n\t\t// We need to write out the CPU profile when we are all done.\n\t\tcompiler.hooks.done.tapAsync(\n\t\t\t{\n\t\t\t\tname: pluginName,\n\t\t\t\tstage: Infinity\n\t\t\t},\n\t\t\t(stats, callback) => {\n\t\t\t\tif (compiler.watchMode) return callback();\n\t\t\t\ttracer.profiler.stopProfiling().then(parsedResults => {\n\t\t\t\t\tif (parsedResults === undefined) {\n\t\t\t\t\t\ttracer.profiler.destroy();\n\t\t\t\t\t\ttracer.end(callback);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst cpuStartTime = parsedResults.profile.startTime;\n\t\t\t\t\tconst cpuEndTime = parsedResults.profile.endTime;\n\n\t\t\t\t\ttracer.trace.completeEvent({\n\t\t\t\t\t\tname: \"TaskQueueManager::ProcessTaskFromWorkQueue\",\n\t\t\t\t\t\tid: ++tracer.counter,\n\t\t\t\t\t\tcat: [\"toplevel\"],\n\t\t\t\t\t\tts: cpuStartTime,\n\t\t\t\t\t\targs: {\n\t\t\t\t\t\t\tsrc_file: \"../../ipc/ipc_moji_bootstrap.cc\",\n\t\t\t\t\t\t\tsrc_func: \"Accept\"\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\ttracer.trace.completeEvent({\n\t\t\t\t\t\tname: \"EvaluateScript\",\n\t\t\t\t\t\tid: ++tracer.counter,\n\t\t\t\t\t\tcat: [\"devtools.timeline\"],\n\t\t\t\t\t\tts: cpuStartTime,\n\t\t\t\t\t\tdur: cpuEndTime - cpuStartTime,\n\t\t\t\t\t\targs: {\n\t\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\t\turl: \"webpack\",\n\t\t\t\t\t\t\t\tlineNumber: 1,\n\t\t\t\t\t\t\t\tcolumnNumber: 1,\n\t\t\t\t\t\t\t\tframe: \"0xFFF\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\ttracer.trace.instantEvent({\n\t\t\t\t\t\tname: \"CpuProfile\",\n\t\t\t\t\t\tid: ++tracer.counter,\n\t\t\t\t\t\tcat: [\"disabled-by-default-devtools.timeline\"],\n\t\t\t\t\t\tts: cpuEndTime,\n\t\t\t\t\t\targs: {\n\t\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\t\tcpuProfile: parsedResults.profile\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\ttracer.profiler.destroy();\n\t\t\t\t\ttracer.end(callback);\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nconst interceptAllHooksFor = (instance, tracer, logLabel) => {\n\tif (Reflect.has(instance, \"hooks\")) {\n\t\tObject.keys(instance.hooks).forEach(hookName => {\n\t\t\tconst hook = instance.hooks[hookName];\n\t\t\tif (hook && !hook._fakeHook) {\n\t\t\t\thook.intercept(makeInterceptorFor(logLabel, tracer)(hookName));\n\t\t\t}\n\t\t});\n\t}\n};\n\nconst interceptAllParserHooks = (moduleFactory, tracer) => {\n\tconst moduleTypes = [\n\t\t\"javascript/auto\",\n\t\t\"javascript/dynamic\",\n\t\t\"javascript/esm\",\n\t\t\"json\",\n\t\t\"webassembly/async\",\n\t\t\"webassembly/sync\"\n\t];\n\n\tmoduleTypes.forEach(moduleType => {\n\t\tmoduleFactory.hooks.parser\n\t\t\t.for(moduleType)\n\t\t\t.tap(\"ProfilingPlugin\", (parser, parserOpts) => {\n\t\t\t\tinterceptAllHooksFor(parser, tracer, \"Parser\");\n\t\t\t});\n\t});\n};\n\nconst interceptAllJavascriptModulesPluginHooks = (compilation, tracer) => {\n\tinterceptAllHooksFor(\n\t\t{\n\t\t\thooks:\n\t\t\t\t(__webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\").getCompilationHooks)(\n\t\t\t\t\tcompilation\n\t\t\t\t)\n\t\t},\n\t\ttracer,\n\t\t\"JavascriptModulesPlugin\"\n\t);\n};\n\nconst makeInterceptorFor = (instance, tracer) => hookName => ({\n\tregister: tapInfo => {\n\t\tconst { name, type, fn } = tapInfo;\n\t\tconst newFn =\n\t\t\t// Don't tap our own hooks to ensure stream can close cleanly\n\t\t\tname === pluginName\n\t\t\t\t? fn\n\t\t\t\t: makeNewProfiledTapFn(hookName, tracer, {\n\t\t\t\t\t\tname,\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tfn\n\t\t\t\t });\n\t\treturn {\n\t\t\t...tapInfo,\n\t\t\tfn: newFn\n\t\t};\n\t}\n});\n\n// TODO improve typing\n/** @typedef {(...args: TODO[]) => void | Promise<TODO>} PluginFunction */\n\n/**\n * @param {string} hookName Name of the hook to profile.\n * @param {Trace} tracer The trace object.\n * @param {object} options Options for the profiled fn.\n * @param {string} options.name Plugin name\n * @param {string} options.type Plugin type (sync | async | promise)\n * @param {PluginFunction} options.fn Plugin function\n * @returns {PluginFunction} Chainable hooked function.\n */\nconst makeNewProfiledTapFn = (hookName, tracer, { name, type, fn }) => {\n\tconst defaultCategory = [\"blink.user_timing\"];\n\n\tswitch (type) {\n\t\tcase \"promise\":\n\t\t\treturn (...args) => {\n\t\t\t\tconst id = ++tracer.counter;\n\t\t\t\ttracer.trace.begin({\n\t\t\t\t\tname,\n\t\t\t\t\tid,\n\t\t\t\t\tcat: defaultCategory\n\t\t\t\t});\n\t\t\t\tconst promise = /** @type {Promise<*>} */ (fn(...args));\n\t\t\t\treturn promise.then(r => {\n\t\t\t\t\ttracer.trace.end({\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tcat: defaultCategory\n\t\t\t\t\t});\n\t\t\t\t\treturn r;\n\t\t\t\t});\n\t\t\t};\n\t\tcase \"async\":\n\t\t\treturn (...args) => {\n\t\t\t\tconst id = ++tracer.counter;\n\t\t\t\ttracer.trace.begin({\n\t\t\t\t\tname,\n\t\t\t\t\tid,\n\t\t\t\t\tcat: defaultCategory\n\t\t\t\t});\n\t\t\t\tconst callback = args.pop();\n\t\t\t\tfn(...args, (...r) => {\n\t\t\t\t\ttracer.trace.end({\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tcat: defaultCategory\n\t\t\t\t\t});\n\t\t\t\t\tcallback(...r);\n\t\t\t\t});\n\t\t\t};\n\t\tcase \"sync\":\n\t\t\treturn (...args) => {\n\t\t\t\tconst id = ++tracer.counter;\n\t\t\t\t// Do not instrument ourself due to the CPU\n\t\t\t\t// profile needing to be the last event in the trace.\n\t\t\t\tif (name === pluginName) {\n\t\t\t\t\treturn fn(...args);\n\t\t\t\t}\n\n\t\t\t\ttracer.trace.begin({\n\t\t\t\t\tname,\n\t\t\t\t\tid,\n\t\t\t\t\tcat: defaultCategory\n\t\t\t\t});\n\t\t\t\tlet r;\n\t\t\t\ttry {\n\t\t\t\t\tr = fn(...args);\n\t\t\t\t} catch (error) {\n\t\t\t\t\ttracer.trace.end({\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tcat: defaultCategory\n\t\t\t\t\t});\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t\ttracer.trace.end({\n\t\t\t\t\tname,\n\t\t\t\t\tid,\n\t\t\t\t\tcat: defaultCategory\n\t\t\t\t});\n\t\t\t\treturn r;\n\t\t\t};\n\t\tdefault:\n\t\t\tbreak;\n\t}\n};\n\nmodule.exports = ProfilingPlugin;\nmodule.exports.Profiler = Profiler;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/debug/ProfilingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDDefineDependency.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDDefineDependency.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\n/** @type {Record<string, { definition: string, content: string, requests: string[] }>} */\nconst DEFINITIONS = {\n\tf: {\n\t\tdefinition: \"var __WEBPACK_AMD_DEFINE_RESULT__;\",\n\t\tcontent: `!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,\n\t\trequests: [\n\t\t\tRuntimeGlobals.require,\n\t\t\tRuntimeGlobals.exports,\n\t\t\tRuntimeGlobals.module\n\t\t]\n\t},\n\to: {\n\t\tdefinition: \"\",\n\t\tcontent: \"!(module.exports = #)\",\n\t\trequests: [RuntimeGlobals.module]\n\t},\n\tof: {\n\t\tdefinition:\n\t\t\t\"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;\",\n\t\tcontent: `!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,\n\t\trequests: [\n\t\t\tRuntimeGlobals.require,\n\t\t\tRuntimeGlobals.exports,\n\t\t\tRuntimeGlobals.module\n\t\t]\n\t},\n\taf: {\n\t\tdefinition:\n\t\t\t\"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;\",\n\t\tcontent: `!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,\n\t\trequests: [RuntimeGlobals.exports, RuntimeGlobals.module]\n\t},\n\tao: {\n\t\tdefinition: \"\",\n\t\tcontent: \"!(#, module.exports = #)\",\n\t\trequests: [RuntimeGlobals.module]\n\t},\n\taof: {\n\t\tdefinition:\n\t\t\t\"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;\",\n\t\tcontent: `!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,\n\t\trequests: [RuntimeGlobals.exports, RuntimeGlobals.module]\n\t},\n\tlf: {\n\t\tdefinition: \"var XXX, XXXmodule;\",\n\t\tcontent:\n\t\t\t\"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))\",\n\t\trequests: [RuntimeGlobals.require, RuntimeGlobals.module]\n\t},\n\tlo: {\n\t\tdefinition: \"var XXX;\",\n\t\tcontent: \"!(XXX = #)\",\n\t\trequests: []\n\t},\n\tlof: {\n\t\tdefinition: \"var XXX, XXXfactory, XXXmodule;\",\n\t\tcontent:\n\t\t\t\"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))\",\n\t\trequests: [RuntimeGlobals.require, RuntimeGlobals.module]\n\t},\n\tlaf: {\n\t\tdefinition: \"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;\",\n\t\tcontent:\n\t\t\t\"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))\",\n\t\trequests: []\n\t},\n\tlao: {\n\t\tdefinition: \"var XXX;\",\n\t\tcontent: \"!(#, XXX = #)\",\n\t\trequests: []\n\t},\n\tlaof: {\n\t\tdefinition: \"var XXXarray, XXXfactory, XXXexports, XXX;\",\n\t\tcontent: `!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,\n\t\trequests: []\n\t}\n};\n\nclass AMDDefineDependency extends NullDependency {\n\tconstructor(range, arrayRange, functionRange, objectRange, namedModule) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.arrayRange = arrayRange;\n\t\tthis.functionRange = functionRange;\n\t\tthis.objectRange = objectRange;\n\t\tthis.namedModule = namedModule;\n\t\tthis.localModule = null;\n\t}\n\n\tget type() {\n\t\treturn \"amd define\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.arrayRange);\n\t\twrite(this.functionRange);\n\t\twrite(this.objectRange);\n\t\twrite(this.namedModule);\n\t\twrite(this.localModule);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.arrayRange = read();\n\t\tthis.functionRange = read();\n\t\tthis.objectRange = read();\n\t\tthis.namedModule = read();\n\t\tthis.localModule = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tAMDDefineDependency,\n\t\"webpack/lib/dependencies/AMDDefineDependency\"\n);\n\nAMDDefineDependency.Template = class AMDDefineDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeRequirements }) {\n\t\tconst dep = /** @type {AMDDefineDependency} */ (dependency);\n\t\tconst branch = this.branch(dep);\n\t\tconst { definition, content, requests } = DEFINITIONS[branch];\n\t\tfor (const req of requests) {\n\t\t\truntimeRequirements.add(req);\n\t\t}\n\t\tthis.replace(dep, source, definition, content);\n\t}\n\n\tlocalModuleVar(dependency) {\n\t\treturn (\n\t\t\tdependency.localModule &&\n\t\t\tdependency.localModule.used &&\n\t\t\tdependency.localModule.variableName()\n\t\t);\n\t}\n\n\tbranch(dependency) {\n\t\tconst localModuleVar = this.localModuleVar(dependency) ? \"l\" : \"\";\n\t\tconst arrayRange = dependency.arrayRange ? \"a\" : \"\";\n\t\tconst objectRange = dependency.objectRange ? \"o\" : \"\";\n\t\tconst functionRange = dependency.functionRange ? \"f\" : \"\";\n\t\treturn localModuleVar + arrayRange + objectRange + functionRange;\n\t}\n\n\treplace(dependency, source, definition, text) {\n\t\tconst localModuleVar = this.localModuleVar(dependency);\n\t\tif (localModuleVar) {\n\t\t\ttext = text.replace(/XXX/g, localModuleVar.replace(/\\$/g, \"$$$$\"));\n\t\t\tdefinition = definition.replace(\n\t\t\t\t/XXX/g,\n\t\t\t\tlocalModuleVar.replace(/\\$/g, \"$$$$\")\n\t\t\t);\n\t\t}\n\n\t\tif (dependency.namedModule) {\n\t\t\ttext = text.replace(/YYY/g, JSON.stringify(dependency.namedModule));\n\t\t}\n\n\t\tconst texts = text.split(\"#\");\n\n\t\tif (definition) source.insert(0, definition);\n\n\t\tlet current = dependency.range[0];\n\t\tif (dependency.arrayRange) {\n\t\t\tsource.replace(current, dependency.arrayRange[0] - 1, texts.shift());\n\t\t\tcurrent = dependency.arrayRange[1];\n\t\t}\n\n\t\tif (dependency.objectRange) {\n\t\t\tsource.replace(current, dependency.objectRange[0] - 1, texts.shift());\n\t\t\tcurrent = dependency.objectRange[1];\n\t\t} else if (dependency.functionRange) {\n\t\t\tsource.replace(current, dependency.functionRange[0] - 1, texts.shift());\n\t\t\tcurrent = dependency.functionRange[1];\n\t\t}\n\t\tsource.replace(current, dependency.range[1] - 1, texts.shift());\n\t\tif (texts.length > 0) throw new Error(\"Implementation error\");\n\t}\n};\n\nmodule.exports = AMDDefineDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDDefineDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst AMDDefineDependency = __webpack_require__(/*! ./AMDDefineDependency */ \"./node_modules/webpack/lib/dependencies/AMDDefineDependency.js\");\nconst AMDRequireArrayDependency = __webpack_require__(/*! ./AMDRequireArrayDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js\");\nconst AMDRequireContextDependency = __webpack_require__(/*! ./AMDRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js\");\nconst AMDRequireItemDependency = __webpack_require__(/*! ./AMDRequireItemDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ContextDependencyHelpers = __webpack_require__(/*! ./ContextDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js\");\nconst DynamicExports = __webpack_require__(/*! ./DynamicExports */ \"./node_modules/webpack/lib/dependencies/DynamicExports.js\");\nconst LocalModuleDependency = __webpack_require__(/*! ./LocalModuleDependency */ \"./node_modules/webpack/lib/dependencies/LocalModuleDependency.js\");\nconst { addLocalModule, getLocalModule } = __webpack_require__(/*! ./LocalModulesHelpers */ \"./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js\");\n\nconst isBoundFunctionExpression = expr => {\n\tif (expr.type !== \"CallExpression\") return false;\n\tif (expr.callee.type !== \"MemberExpression\") return false;\n\tif (expr.callee.computed) return false;\n\tif (expr.callee.object.type !== \"FunctionExpression\") return false;\n\tif (expr.callee.property.type !== \"Identifier\") return false;\n\tif (expr.callee.property.name !== \"bind\") return false;\n\treturn true;\n};\n\nconst isUnboundFunctionExpression = expr => {\n\tif (expr.type === \"FunctionExpression\") return true;\n\tif (expr.type === \"ArrowFunctionExpression\") return true;\n\treturn false;\n};\n\nconst isCallable = expr => {\n\tif (isUnboundFunctionExpression(expr)) return true;\n\tif (isBoundFunctionExpression(expr)) return true;\n\treturn false;\n};\n\nclass AMDDefineDependencyParserPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\tapply(parser) {\n\t\tparser.hooks.call\n\t\t\t.for(\"define\")\n\t\t\t.tap(\n\t\t\t\t\"AMDDefineDependencyParserPlugin\",\n\t\t\t\tthis.processCallDefine.bind(this, parser)\n\t\t\t);\n\t}\n\n\tprocessArray(parser, expr, param, identifiers, namedModule) {\n\t\tif (param.isArray()) {\n\t\t\tparam.items.forEach((param, idx) => {\n\t\t\t\tif (\n\t\t\t\t\tparam.isString() &&\n\t\t\t\t\t[\"require\", \"module\", \"exports\"].includes(param.string)\n\t\t\t\t)\n\t\t\t\t\tidentifiers[idx] = param.string;\n\t\t\t\tconst result = this.processItem(parser, expr, param, namedModule);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tthis.processContext(parser, expr, param);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn true;\n\t\t} else if (param.isConstArray()) {\n\t\t\tconst deps = [];\n\t\t\tparam.array.forEach((request, idx) => {\n\t\t\t\tlet dep;\n\t\t\t\tlet localModule;\n\t\t\t\tif (request === \"require\") {\n\t\t\t\t\tidentifiers[idx] = request;\n\t\t\t\t\tdep = \"__webpack_require__\";\n\t\t\t\t} else if ([\"exports\", \"module\"].includes(request)) {\n\t\t\t\t\tidentifiers[idx] = request;\n\t\t\t\t\tdep = request;\n\t\t\t\t} else if ((localModule = getLocalModule(parser.state, request))) {\n\t\t\t\t\tlocalModule.flagUsed();\n\t\t\t\t\tdep = new LocalModuleDependency(localModule, undefined, false);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t} else {\n\t\t\t\t\tdep = this.newRequireItemDependency(request);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t}\n\t\t\t\tdeps.push(dep);\n\t\t\t});\n\t\t\tconst dep = this.newRequireArrayDependency(deps, param.range);\n\t\t\tdep.loc = expr.loc;\n\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\treturn true;\n\t\t}\n\t}\n\tprocessItem(parser, expr, param, namedModule) {\n\t\tif (param.isConditional()) {\n\t\t\tparam.options.forEach(param => {\n\t\t\t\tconst result = this.processItem(parser, expr, param);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tthis.processContext(parser, expr, param);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn true;\n\t\t} else if (param.isString()) {\n\t\t\tlet dep, localModule;\n\t\t\tif (param.string === \"require\") {\n\t\t\t\tdep = new ConstDependency(\"__webpack_require__\", param.range, [\n\t\t\t\t\tRuntimeGlobals.require\n\t\t\t\t]);\n\t\t\t} else if (param.string === \"exports\") {\n\t\t\t\tdep = new ConstDependency(\"exports\", param.range, [\n\t\t\t\t\tRuntimeGlobals.exports\n\t\t\t\t]);\n\t\t\t} else if (param.string === \"module\") {\n\t\t\t\tdep = new ConstDependency(\"module\", param.range, [\n\t\t\t\t\tRuntimeGlobals.module\n\t\t\t\t]);\n\t\t\t} else if (\n\t\t\t\t(localModule = getLocalModule(parser.state, param.string, namedModule))\n\t\t\t) {\n\t\t\t\tlocalModule.flagUsed();\n\t\t\t\tdep = new LocalModuleDependency(localModule, param.range, false);\n\t\t\t} else {\n\t\t\t\tdep = this.newRequireItemDependency(param.string, param.range);\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\treturn true;\n\t\t}\n\t}\n\tprocessContext(parser, expr, param) {\n\t\tconst dep = ContextDependencyHelpers.create(\n\t\t\tAMDRequireContextDependency,\n\t\t\tparam.range,\n\t\t\tparam,\n\t\t\texpr,\n\t\t\tthis.options,\n\t\t\t{\n\t\t\t\tcategory: \"amd\"\n\t\t\t},\n\t\t\tparser\n\t\t);\n\t\tif (!dep) return;\n\t\tdep.loc = expr.loc;\n\t\tdep.optional = !!parser.scope.inTry;\n\t\tparser.state.current.addDependency(dep);\n\t\treturn true;\n\t}\n\n\tprocessCallDefine(parser, expr) {\n\t\tlet array, fn, obj, namedModule;\n\t\tswitch (expr.arguments.length) {\n\t\t\tcase 1:\n\t\t\t\tif (isCallable(expr.arguments[0])) {\n\t\t\t\t\t// define(f() {…})\n\t\t\t\t\tfn = expr.arguments[0];\n\t\t\t\t} else if (expr.arguments[0].type === \"ObjectExpression\") {\n\t\t\t\t\t// define({…})\n\t\t\t\t\tobj = expr.arguments[0];\n\t\t\t\t} else {\n\t\t\t\t\t// define(expr)\n\t\t\t\t\t// unclear if function or object\n\t\t\t\t\tobj = fn = expr.arguments[0];\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tif (expr.arguments[0].type === \"Literal\") {\n\t\t\t\t\tnamedModule = expr.arguments[0].value;\n\t\t\t\t\t// define(\"…\", …)\n\t\t\t\t\tif (isCallable(expr.arguments[1])) {\n\t\t\t\t\t\t// define(\"…\", f() {…})\n\t\t\t\t\t\tfn = expr.arguments[1];\n\t\t\t\t\t} else if (expr.arguments[1].type === \"ObjectExpression\") {\n\t\t\t\t\t\t// define(\"…\", {…})\n\t\t\t\t\t\tobj = expr.arguments[1];\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// define(\"…\", expr)\n\t\t\t\t\t\t// unclear if function or object\n\t\t\t\t\t\tobj = fn = expr.arguments[1];\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tarray = expr.arguments[0];\n\t\t\t\t\tif (isCallable(expr.arguments[1])) {\n\t\t\t\t\t\t// define([…], f() {})\n\t\t\t\t\t\tfn = expr.arguments[1];\n\t\t\t\t\t} else if (expr.arguments[1].type === \"ObjectExpression\") {\n\t\t\t\t\t\t// define([…], {…})\n\t\t\t\t\t\tobj = expr.arguments[1];\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// define([…], expr)\n\t\t\t\t\t\t// unclear if function or object\n\t\t\t\t\t\tobj = fn = expr.arguments[1];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// define(\"…\", […], f() {…})\n\t\t\t\tnamedModule = expr.arguments[0].value;\n\t\t\t\tarray = expr.arguments[1];\n\t\t\t\tif (isCallable(expr.arguments[2])) {\n\t\t\t\t\t// define(\"…\", […], f() {})\n\t\t\t\t\tfn = expr.arguments[2];\n\t\t\t\t} else if (expr.arguments[2].type === \"ObjectExpression\") {\n\t\t\t\t\t// define(\"…\", […], {…})\n\t\t\t\t\tobj = expr.arguments[2];\n\t\t\t\t} else {\n\t\t\t\t\t// define(\"…\", […], expr)\n\t\t\t\t\t// unclear if function or object\n\t\t\t\t\tobj = fn = expr.arguments[2];\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\treturn;\n\t\t}\n\t\tDynamicExports.bailout(parser.state);\n\t\tlet fnParams = null;\n\t\tlet fnParamsOffset = 0;\n\t\tif (fn) {\n\t\t\tif (isUnboundFunctionExpression(fn)) {\n\t\t\t\tfnParams = fn.params;\n\t\t\t} else if (isBoundFunctionExpression(fn)) {\n\t\t\t\tfnParams = fn.callee.object.params;\n\t\t\t\tfnParamsOffset = fn.arguments.length - 1;\n\t\t\t\tif (fnParamsOffset < 0) {\n\t\t\t\t\tfnParamsOffset = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlet fnRenames = new Map();\n\t\tif (array) {\n\t\t\tconst identifiers = {};\n\t\t\tconst param = parser.evaluateExpression(array);\n\t\t\tconst result = this.processArray(\n\t\t\t\tparser,\n\t\t\t\texpr,\n\t\t\t\tparam,\n\t\t\t\tidentifiers,\n\t\t\t\tnamedModule\n\t\t\t);\n\t\t\tif (!result) return;\n\t\t\tif (fnParams) {\n\t\t\t\tfnParams = fnParams.slice(fnParamsOffset).filter((param, idx) => {\n\t\t\t\t\tif (identifiers[idx]) {\n\t\t\t\t\t\tfnRenames.set(param.name, parser.getVariableInfo(identifiers[idx]));\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tconst identifiers = [\"require\", \"exports\", \"module\"];\n\t\t\tif (fnParams) {\n\t\t\t\tfnParams = fnParams.slice(fnParamsOffset).filter((param, idx) => {\n\t\t\t\t\tif (identifiers[idx]) {\n\t\t\t\t\t\tfnRenames.set(param.name, parser.getVariableInfo(identifiers[idx]));\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tlet inTry;\n\t\tif (fn && isUnboundFunctionExpression(fn)) {\n\t\t\tinTry = parser.scope.inTry;\n\t\t\tparser.inScope(fnParams, () => {\n\t\t\t\tfor (const [name, varInfo] of fnRenames) {\n\t\t\t\t\tparser.setVariable(name, varInfo);\n\t\t\t\t}\n\t\t\t\tparser.scope.inTry = inTry;\n\t\t\t\tif (fn.body.type === \"BlockStatement\") {\n\t\t\t\t\tparser.detectMode(fn.body.body);\n\t\t\t\t\tconst prev = parser.prevStatement;\n\t\t\t\t\tparser.preWalkStatement(fn.body);\n\t\t\t\t\tparser.prevStatement = prev;\n\t\t\t\t\tparser.walkStatement(fn.body);\n\t\t\t\t} else {\n\t\t\t\t\tparser.walkExpression(fn.body);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (fn && isBoundFunctionExpression(fn)) {\n\t\t\tinTry = parser.scope.inTry;\n\t\t\tparser.inScope(\n\t\t\t\tfn.callee.object.params.filter(\n\t\t\t\t\ti => ![\"require\", \"module\", \"exports\"].includes(i.name)\n\t\t\t\t),\n\t\t\t\t() => {\n\t\t\t\t\tfor (const [name, varInfo] of fnRenames) {\n\t\t\t\t\t\tparser.setVariable(name, varInfo);\n\t\t\t\t\t}\n\t\t\t\t\tparser.scope.inTry = inTry;\n\t\t\t\t\tif (fn.callee.object.body.type === \"BlockStatement\") {\n\t\t\t\t\t\tparser.detectMode(fn.callee.object.body.body);\n\t\t\t\t\t\tconst prev = parser.prevStatement;\n\t\t\t\t\t\tparser.preWalkStatement(fn.callee.object.body);\n\t\t\t\t\t\tparser.prevStatement = prev;\n\t\t\t\t\t\tparser.walkStatement(fn.callee.object.body);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tparser.walkExpression(fn.callee.object.body);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t\tif (fn.arguments) {\n\t\t\t\tparser.walkExpressions(fn.arguments);\n\t\t\t}\n\t\t} else if (fn || obj) {\n\t\t\tparser.walkExpression(fn || obj);\n\t\t}\n\n\t\tconst dep = this.newDefineDependency(\n\t\t\texpr.range,\n\t\t\tarray ? array.range : null,\n\t\t\tfn ? fn.range : null,\n\t\t\tobj ? obj.range : null,\n\t\t\tnamedModule ? namedModule : null\n\t\t);\n\t\tdep.loc = expr.loc;\n\t\tif (namedModule) {\n\t\t\tdep.localModule = addLocalModule(parser.state, namedModule);\n\t\t}\n\t\tparser.state.module.addPresentationalDependency(dep);\n\t\treturn true;\n\t}\n\n\tnewDefineDependency(\n\t\trange,\n\t\tarrayRange,\n\t\tfunctionRange,\n\t\tobjectRange,\n\t\tnamedModule\n\t) {\n\t\treturn new AMDDefineDependency(\n\t\t\trange,\n\t\t\tarrayRange,\n\t\t\tfunctionRange,\n\t\t\tobjectRange,\n\t\t\tnamedModule\n\t\t);\n\t}\n\tnewRequireArrayDependency(depsArray, range) {\n\t\treturn new AMDRequireArrayDependency(depsArray, range);\n\t}\n\tnewRequireItemDependency(request, range) {\n\t\treturn new AMDRequireItemDependency(request, range);\n\t}\n}\nmodule.exports = AMDDefineDependencyParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst {\n\tapprove,\n\tevaluateToIdentifier,\n\tevaluateToString,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\n\nconst AMDDefineDependency = __webpack_require__(/*! ./AMDDefineDependency */ \"./node_modules/webpack/lib/dependencies/AMDDefineDependency.js\");\nconst AMDDefineDependencyParserPlugin = __webpack_require__(/*! ./AMDDefineDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js\");\nconst AMDRequireArrayDependency = __webpack_require__(/*! ./AMDRequireArrayDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js\");\nconst AMDRequireContextDependency = __webpack_require__(/*! ./AMDRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js\");\nconst AMDRequireDependenciesBlockParserPlugin = __webpack_require__(/*! ./AMDRequireDependenciesBlockParserPlugin */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js\");\nconst AMDRequireDependency = __webpack_require__(/*! ./AMDRequireDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependency.js\");\nconst AMDRequireItemDependency = __webpack_require__(/*! ./AMDRequireItemDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js\");\nconst {\n\tAMDDefineRuntimeModule,\n\tAMDOptionsRuntimeModule\n} = __webpack_require__(/*! ./AMDRuntimeModules */ \"./node_modules/webpack/lib/dependencies/AMDRuntimeModules.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst LocalModuleDependency = __webpack_require__(/*! ./LocalModuleDependency */ \"./node_modules/webpack/lib/dependencies/LocalModuleDependency.js\");\nconst UnsupportedDependency = __webpack_require__(/*! ./UnsupportedDependency */ \"./node_modules/webpack/lib/dependencies/UnsupportedDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").ModuleOptionsNormalized} ModuleOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass AMDPlugin {\n\t/**\n\t * @param {Record<string, any>} amdOptions the AMD options\n\t */\n\tconstructor(amdOptions) {\n\t\tthis.amdOptions = amdOptions;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst amdOptions = this.amdOptions;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"AMDPlugin\",\n\t\t\t(compilation, { contextModuleFactory, normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tAMDRequireDependency,\n\t\t\t\t\tnew AMDRequireDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tAMDRequireItemDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tAMDRequireItemDependency,\n\t\t\t\t\tnew AMDRequireItemDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tAMDRequireArrayDependency,\n\t\t\t\t\tnew AMDRequireArrayDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tAMDRequireContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tAMDRequireContextDependency,\n\t\t\t\t\tnew AMDRequireContextDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tAMDDefineDependency,\n\t\t\t\t\tnew AMDDefineDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tUnsupportedDependency,\n\t\t\t\t\tnew UnsupportedDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tLocalModuleDependency,\n\t\t\t\t\tnew LocalModuleDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(RuntimeGlobals.amdDefine)\n\t\t\t\t\t.tap(\"AMDPlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(RuntimeGlobals.amdOptions)\n\t\t\t\t\t.tap(\"AMDPlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.amdDefine)\n\t\t\t\t\t.tap(\"AMDPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new AMDDefineRuntimeModule());\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.amdOptions)\n\t\t\t\t\t.tap(\"AMDPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew AMDOptionsRuntimeModule(amdOptions)\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.amd !== undefined && !parserOptions.amd) return;\n\n\t\t\t\t\tconst tapOptionsHooks = (optionExpr, rootName, getMembers) => {\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(optionExpr)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"AMDPlugin\",\n\t\t\t\t\t\t\t\ttoConstantDependency(parser, RuntimeGlobals.amdOptions, [\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.amdOptions\n\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t\t.for(optionExpr)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"AMDPlugin\",\n\t\t\t\t\t\t\t\tevaluateToIdentifier(optionExpr, rootName, getMembers, true)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t\t.for(optionExpr)\n\t\t\t\t\t\t\t.tap(\"AMDPlugin\", evaluateToString(\"object\"));\n\t\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t\t.for(optionExpr)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"AMDPlugin\",\n\t\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"object\"))\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\tnew AMDRequireDependenciesBlockParserPlugin(parserOptions).apply(\n\t\t\t\t\t\tparser\n\t\t\t\t\t);\n\t\t\t\t\tnew AMDDefineDependencyParserPlugin(parserOptions).apply(parser);\n\n\t\t\t\t\ttapOptionsHooks(\"define.amd\", \"define\", () => \"amd\");\n\t\t\t\t\ttapOptionsHooks(\"require.amd\", \"require\", () => [\"amd\"]);\n\t\t\t\t\ttapOptionsHooks(\n\t\t\t\t\t\t\"__webpack_amd_options__\",\n\t\t\t\t\t\t\"__webpack_amd_options__\",\n\t\t\t\t\t\t() => []\n\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.expression.for(\"define\").tap(\"AMDPlugin\", expr => {\n\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\tRuntimeGlobals.amdDefine,\n\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t[RuntimeGlobals.amdDefine]\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"define\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"AMDPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"define\")\n\t\t\t\t\t\t.tap(\"AMDPlugin\", evaluateToString(\"function\"));\n\t\t\t\t\tparser.hooks.canRename.for(\"define\").tap(\"AMDPlugin\", approve);\n\t\t\t\t\tparser.hooks.rename.for(\"define\").tap(\"AMDPlugin\", expr => {\n\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\tRuntimeGlobals.amdDefine,\n\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\t[RuntimeGlobals.amdDefine]\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"require\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"AMDPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"require\")\n\t\t\t\t\t\t.tap(\"AMDPlugin\", evaluateToString(\"function\"));\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"AMDPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"AMDPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = AMDPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DependencyTemplate = __webpack_require__(/*! ../DependencyTemplate */ \"./node_modules/webpack/lib/DependencyTemplate.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass AMDRequireArrayDependency extends NullDependency {\n\tconstructor(depsArray, range) {\n\t\tsuper();\n\n\t\tthis.depsArray = depsArray;\n\t\tthis.range = range;\n\t}\n\n\tget type() {\n\t\treturn \"amd require array\";\n\t}\n\n\tget category() {\n\t\treturn \"amd\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.depsArray);\n\t\twrite(this.range);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.depsArray = read();\n\t\tthis.range = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tAMDRequireArrayDependency,\n\t\"webpack/lib/dependencies/AMDRequireArrayDependency\"\n);\n\nAMDRequireArrayDependency.Template = class AMDRequireArrayDependencyTemplate extends (\n\tDependencyTemplate\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {AMDRequireArrayDependency} */ (dependency);\n\t\tconst content = this.getContent(dep, templateContext);\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n\n\tgetContent(dep, templateContext) {\n\t\tconst requires = dep.depsArray.map(dependency => {\n\t\t\treturn this.contentForDependency(dependency, templateContext);\n\t\t});\n\t\treturn `[${requires.join(\", \")}]`;\n\t}\n\n\tcontentForDependency(\n\t\tdep,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tif (typeof dep === \"string\") {\n\t\t\treturn dep;\n\t\t}\n\n\t\tif (dep.localModule) {\n\t\t\treturn dep.localModule.variableName();\n\t\t} else {\n\t\t\treturn runtimeTemplate.moduleExports({\n\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\tchunkGraph,\n\t\t\t\trequest: dep.request,\n\t\t\t\truntimeRequirements\n\t\t\t});\n\t\t}\n\t}\n};\n\nmodule.exports = AMDRequireArrayDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\n\nclass AMDRequireContextDependency extends ContextDependency {\n\tconstructor(options, range, valueRange) {\n\t\tsuper(options);\n\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t}\n\n\tget type() {\n\t\treturn \"amd require context\";\n\t}\n\n\tget category() {\n\t\treturn \"amd\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tAMDRequireContextDependency,\n\t\"webpack/lib/dependencies/AMDRequireContextDependency\"\n);\n\nAMDRequireContextDependency.Template = __webpack_require__(/*! ./ContextDependencyTemplateAsRequireCall */ \"./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js\");\n\nmodule.exports = AMDRequireContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass AMDRequireDependenciesBlock extends AsyncDependenciesBlock {\n\tconstructor(loc, request) {\n\t\tsuper(null, loc, request);\n\t}\n}\n\nmakeSerializable(\n\tAMDRequireDependenciesBlock,\n\t\"webpack/lib/dependencies/AMDRequireDependenciesBlock\"\n);\n\nmodule.exports = AMDRequireDependenciesBlock;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js": /*!******************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js ***! \******************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst UnsupportedFeatureWarning = __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\");\nconst AMDRequireArrayDependency = __webpack_require__(/*! ./AMDRequireArrayDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js\");\nconst AMDRequireContextDependency = __webpack_require__(/*! ./AMDRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js\");\nconst AMDRequireDependenciesBlock = __webpack_require__(/*! ./AMDRequireDependenciesBlock */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js\");\nconst AMDRequireDependency = __webpack_require__(/*! ./AMDRequireDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependency.js\");\nconst AMDRequireItemDependency = __webpack_require__(/*! ./AMDRequireItemDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ContextDependencyHelpers = __webpack_require__(/*! ./ContextDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js\");\nconst LocalModuleDependency = __webpack_require__(/*! ./LocalModuleDependency */ \"./node_modules/webpack/lib/dependencies/LocalModuleDependency.js\");\nconst { getLocalModule } = __webpack_require__(/*! ./LocalModulesHelpers */ \"./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js\");\nconst UnsupportedDependency = __webpack_require__(/*! ./UnsupportedDependency */ \"./node_modules/webpack/lib/dependencies/UnsupportedDependency.js\");\nconst getFunctionExpression = __webpack_require__(/*! ./getFunctionExpression */ \"./node_modules/webpack/lib/dependencies/getFunctionExpression.js\");\n\nclass AMDRequireDependenciesBlockParserPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\tprocessFunctionArgument(parser, expression) {\n\t\tlet bindThis = true;\n\t\tconst fnData = getFunctionExpression(expression);\n\t\tif (fnData) {\n\t\t\tparser.inScope(\n\t\t\t\tfnData.fn.params.filter(i => {\n\t\t\t\t\treturn ![\"require\", \"module\", \"exports\"].includes(i.name);\n\t\t\t\t}),\n\t\t\t\t() => {\n\t\t\t\t\tif (fnData.fn.body.type === \"BlockStatement\") {\n\t\t\t\t\t\tparser.walkStatement(fnData.fn.body);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tparser.walkExpression(fnData.fn.body);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t\tparser.walkExpressions(fnData.expressions);\n\t\t\tif (fnData.needThis === false) {\n\t\t\t\tbindThis = false;\n\t\t\t}\n\t\t} else {\n\t\t\tparser.walkExpression(expression);\n\t\t}\n\t\treturn bindThis;\n\t}\n\n\tapply(parser) {\n\t\tparser.hooks.call\n\t\t\t.for(\"require\")\n\t\t\t.tap(\n\t\t\t\t\"AMDRequireDependenciesBlockParserPlugin\",\n\t\t\t\tthis.processCallRequire.bind(this, parser)\n\t\t\t);\n\t}\n\n\tprocessArray(parser, expr, param) {\n\t\tif (param.isArray()) {\n\t\t\tfor (const p of param.items) {\n\t\t\t\tconst result = this.processItem(parser, expr, p);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tthis.processContext(parser, expr, p);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} else if (param.isConstArray()) {\n\t\t\tconst deps = [];\n\t\t\tfor (const request of param.array) {\n\t\t\t\tlet dep, localModule;\n\t\t\t\tif (request === \"require\") {\n\t\t\t\t\tdep = \"__webpack_require__\";\n\t\t\t\t} else if ([\"exports\", \"module\"].includes(request)) {\n\t\t\t\t\tdep = request;\n\t\t\t\t} else if ((localModule = getLocalModule(parser.state, request))) {\n\t\t\t\t\tlocalModule.flagUsed();\n\t\t\t\t\tdep = new LocalModuleDependency(localModule, undefined, false);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t} else {\n\t\t\t\t\tdep = this.newRequireItemDependency(request);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t}\n\t\t\t\tdeps.push(dep);\n\t\t\t}\n\t\t\tconst dep = this.newRequireArrayDependency(deps, param.range);\n\t\t\tdep.loc = expr.loc;\n\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\treturn true;\n\t\t}\n\t}\n\tprocessItem(parser, expr, param) {\n\t\tif (param.isConditional()) {\n\t\t\tfor (const p of param.options) {\n\t\t\t\tconst result = this.processItem(parser, expr, p);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tthis.processContext(parser, expr, p);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} else if (param.isString()) {\n\t\t\tlet dep, localModule;\n\t\t\tif (param.string === \"require\") {\n\t\t\t\tdep = new ConstDependency(\"__webpack_require__\", param.string, [\n\t\t\t\t\tRuntimeGlobals.require\n\t\t\t\t]);\n\t\t\t} else if (param.string === \"module\") {\n\t\t\t\tdep = new ConstDependency(\n\t\t\t\t\tparser.state.module.buildInfo.moduleArgument,\n\t\t\t\t\tparam.range,\n\t\t\t\t\t[RuntimeGlobals.module]\n\t\t\t\t);\n\t\t\t} else if (param.string === \"exports\") {\n\t\t\t\tdep = new ConstDependency(\n\t\t\t\t\tparser.state.module.buildInfo.exportsArgument,\n\t\t\t\t\tparam.range,\n\t\t\t\t\t[RuntimeGlobals.exports]\n\t\t\t\t);\n\t\t\t} else if ((localModule = getLocalModule(parser.state, param.string))) {\n\t\t\t\tlocalModule.flagUsed();\n\t\t\t\tdep = new LocalModuleDependency(localModule, param.range, false);\n\t\t\t} else {\n\t\t\t\tdep = this.newRequireItemDependency(param.string, param.range);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\treturn true;\n\t\t}\n\t}\n\tprocessContext(parser, expr, param) {\n\t\tconst dep = ContextDependencyHelpers.create(\n\t\t\tAMDRequireContextDependency,\n\t\t\tparam.range,\n\t\t\tparam,\n\t\t\texpr,\n\t\t\tthis.options,\n\t\t\t{\n\t\t\t\tcategory: \"amd\"\n\t\t\t},\n\t\t\tparser\n\t\t);\n\t\tif (!dep) return;\n\t\tdep.loc = expr.loc;\n\t\tdep.optional = !!parser.scope.inTry;\n\t\tparser.state.current.addDependency(dep);\n\t\treturn true;\n\t}\n\n\tprocessArrayForRequestString(param) {\n\t\tif (param.isArray()) {\n\t\t\tconst result = param.items.map(item =>\n\t\t\t\tthis.processItemForRequestString(item)\n\t\t\t);\n\t\t\tif (result.every(Boolean)) return result.join(\" \");\n\t\t} else if (param.isConstArray()) {\n\t\t\treturn param.array.join(\" \");\n\t\t}\n\t}\n\n\tprocessItemForRequestString(param) {\n\t\tif (param.isConditional()) {\n\t\t\tconst result = param.options.map(item =>\n\t\t\t\tthis.processItemForRequestString(item)\n\t\t\t);\n\t\t\tif (result.every(Boolean)) return result.join(\"|\");\n\t\t} else if (param.isString()) {\n\t\t\treturn param.string;\n\t\t}\n\t}\n\n\tprocessCallRequire(parser, expr) {\n\t\tlet param;\n\t\tlet depBlock;\n\t\tlet dep;\n\t\tlet result;\n\n\t\tconst old = parser.state.current;\n\n\t\tif (expr.arguments.length >= 1) {\n\t\t\tparam = parser.evaluateExpression(expr.arguments[0]);\n\t\t\tdepBlock = this.newRequireDependenciesBlock(\n\t\t\t\texpr.loc,\n\t\t\t\tthis.processArrayForRequestString(param)\n\t\t\t);\n\t\t\tdep = this.newRequireDependency(\n\t\t\t\texpr.range,\n\t\t\t\tparam.range,\n\t\t\t\texpr.arguments.length > 1 ? expr.arguments[1].range : null,\n\t\t\t\texpr.arguments.length > 2 ? expr.arguments[2].range : null\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tdepBlock.addDependency(dep);\n\n\t\t\tparser.state.current = depBlock;\n\t\t}\n\n\t\tif (expr.arguments.length === 1) {\n\t\t\tparser.inScope([], () => {\n\t\t\t\tresult = this.processArray(parser, expr, param);\n\t\t\t});\n\t\t\tparser.state.current = old;\n\t\t\tif (!result) return;\n\t\t\tparser.state.current.addBlock(depBlock);\n\t\t\treturn true;\n\t\t}\n\n\t\tif (expr.arguments.length === 2 || expr.arguments.length === 3) {\n\t\t\ttry {\n\t\t\t\tparser.inScope([], () => {\n\t\t\t\t\tresult = this.processArray(parser, expr, param);\n\t\t\t\t});\n\t\t\t\tif (!result) {\n\t\t\t\t\tconst dep = new UnsupportedDependency(\"unsupported\", expr.range);\n\t\t\t\t\told.addPresentationalDependency(dep);\n\t\t\t\t\tif (parser.state.module) {\n\t\t\t\t\t\tparser.state.module.addError(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t\"Cannot statically analyse 'require(…, …)' in line \" +\n\t\t\t\t\t\t\t\t\texpr.loc.start.line,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tdepBlock = null;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tdep.functionBindThis = this.processFunctionArgument(\n\t\t\t\t\tparser,\n\t\t\t\t\texpr.arguments[1]\n\t\t\t\t);\n\t\t\t\tif (expr.arguments.length === 3) {\n\t\t\t\t\tdep.errorCallbackBindThis = this.processFunctionArgument(\n\t\t\t\t\t\tparser,\n\t\t\t\t\t\texpr.arguments[2]\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tparser.state.current = old;\n\t\t\t\tif (depBlock) parser.state.current.addBlock(depBlock);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tnewRequireDependenciesBlock(loc, request) {\n\t\treturn new AMDRequireDependenciesBlock(loc, request);\n\t}\n\tnewRequireDependency(\n\t\touterRange,\n\t\tarrayRange,\n\t\tfunctionRange,\n\t\terrorCallbackRange\n\t) {\n\t\treturn new AMDRequireDependency(\n\t\t\touterRange,\n\t\t\tarrayRange,\n\t\t\tfunctionRange,\n\t\t\terrorCallbackRange\n\t\t);\n\t}\n\tnewRequireItemDependency(request, range) {\n\t\treturn new AMDRequireItemDependency(request, range);\n\t}\n\tnewRequireArrayDependency(depsArray, range) {\n\t\treturn new AMDRequireArrayDependency(depsArray, range);\n\t}\n}\nmodule.exports = AMDRequireDependenciesBlockParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireDependency.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireDependency.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass AMDRequireDependency extends NullDependency {\n\tconstructor(outerRange, arrayRange, functionRange, errorCallbackRange) {\n\t\tsuper();\n\n\t\tthis.outerRange = outerRange;\n\t\tthis.arrayRange = arrayRange;\n\t\tthis.functionRange = functionRange;\n\t\tthis.errorCallbackRange = errorCallbackRange;\n\t\tthis.functionBindThis = false;\n\t\tthis.errorCallbackBindThis = false;\n\t}\n\n\tget category() {\n\t\treturn \"amd\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.outerRange);\n\t\twrite(this.arrayRange);\n\t\twrite(this.functionRange);\n\t\twrite(this.errorCallbackRange);\n\t\twrite(this.functionBindThis);\n\t\twrite(this.errorCallbackBindThis);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.outerRange = read();\n\t\tthis.arrayRange = read();\n\t\tthis.functionRange = read();\n\t\tthis.errorCallbackRange = read();\n\t\tthis.functionBindThis = read();\n\t\tthis.errorCallbackBindThis = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tAMDRequireDependency,\n\t\"webpack/lib/dependencies/AMDRequireDependency\"\n);\n\nAMDRequireDependency.Template = class AMDRequireDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {AMDRequireDependency} */ (dependency);\n\t\tconst depBlock = /** @type {AsyncDependenciesBlock} */ (\n\t\t\tmoduleGraph.getParentBlock(dep)\n\t\t);\n\t\tconst promise = runtimeTemplate.blockPromise({\n\t\t\tchunkGraph,\n\t\t\tblock: depBlock,\n\t\t\tmessage: \"AMD require\",\n\t\t\truntimeRequirements\n\t\t});\n\n\t\t// has array range but no function range\n\t\tif (dep.arrayRange && !dep.functionRange) {\n\t\t\tconst startBlock = `${promise}.then(function() {`;\n\t\t\tconst endBlock = `;})['catch'](${RuntimeGlobals.uncaughtErrorHandler})`;\n\t\t\truntimeRequirements.add(RuntimeGlobals.uncaughtErrorHandler);\n\n\t\t\tsource.replace(dep.outerRange[0], dep.arrayRange[0] - 1, startBlock);\n\n\t\t\tsource.replace(dep.arrayRange[1], dep.outerRange[1] - 1, endBlock);\n\n\t\t\treturn;\n\t\t}\n\n\t\t// has function range but no array range\n\t\tif (dep.functionRange && !dep.arrayRange) {\n\t\t\tconst startBlock = `${promise}.then((`;\n\t\t\tconst endBlock = `).bind(exports, __webpack_require__, exports, module))['catch'](${RuntimeGlobals.uncaughtErrorHandler})`;\n\t\t\truntimeRequirements.add(RuntimeGlobals.uncaughtErrorHandler);\n\n\t\t\tsource.replace(dep.outerRange[0], dep.functionRange[0] - 1, startBlock);\n\n\t\t\tsource.replace(dep.functionRange[1], dep.outerRange[1] - 1, endBlock);\n\n\t\t\treturn;\n\t\t}\n\n\t\t// has array range, function range, and errorCallbackRange\n\t\tif (dep.arrayRange && dep.functionRange && dep.errorCallbackRange) {\n\t\t\tconst startBlock = `${promise}.then(function() { `;\n\t\t\tconst errorRangeBlock = `}${\n\t\t\t\tdep.functionBindThis ? \".bind(this)\" : \"\"\n\t\t\t})['catch'](`;\n\t\t\tconst endBlock = `${dep.errorCallbackBindThis ? \".bind(this)\" : \"\"})`;\n\n\t\t\tsource.replace(dep.outerRange[0], dep.arrayRange[0] - 1, startBlock);\n\n\t\t\tsource.insert(dep.arrayRange[0], \"var __WEBPACK_AMD_REQUIRE_ARRAY__ = \");\n\n\t\t\tsource.replace(dep.arrayRange[1], dep.functionRange[0] - 1, \"; (\");\n\n\t\t\tsource.insert(\n\t\t\t\tdep.functionRange[1],\n\t\t\t\t\").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);\"\n\t\t\t);\n\n\t\t\tsource.replace(\n\t\t\t\tdep.functionRange[1],\n\t\t\t\tdep.errorCallbackRange[0] - 1,\n\t\t\t\terrorRangeBlock\n\t\t\t);\n\n\t\t\tsource.replace(\n\t\t\t\tdep.errorCallbackRange[1],\n\t\t\t\tdep.outerRange[1] - 1,\n\t\t\t\tendBlock\n\t\t\t);\n\n\t\t\treturn;\n\t\t}\n\n\t\t// has array range, function range, but no errorCallbackRange\n\t\tif (dep.arrayRange && dep.functionRange) {\n\t\t\tconst startBlock = `${promise}.then(function() { `;\n\t\t\tconst endBlock = `}${\n\t\t\t\tdep.functionBindThis ? \".bind(this)\" : \"\"\n\t\t\t})['catch'](${RuntimeGlobals.uncaughtErrorHandler})`;\n\t\t\truntimeRequirements.add(RuntimeGlobals.uncaughtErrorHandler);\n\n\t\t\tsource.replace(dep.outerRange[0], dep.arrayRange[0] - 1, startBlock);\n\n\t\t\tsource.insert(dep.arrayRange[0], \"var __WEBPACK_AMD_REQUIRE_ARRAY__ = \");\n\n\t\t\tsource.replace(dep.arrayRange[1], dep.functionRange[0] - 1, \"; (\");\n\n\t\t\tsource.insert(\n\t\t\t\tdep.functionRange[1],\n\t\t\t\t\").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);\"\n\t\t\t);\n\n\t\t\tsource.replace(dep.functionRange[1], dep.outerRange[1] - 1, endBlock);\n\t\t}\n\t}\n};\n\nmodule.exports = AMDRequireDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsRequireId = __webpack_require__(/*! ./ModuleDependencyTemplateAsRequireId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js\");\n\nclass AMDRequireItemDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\n\t\tthis.range = range;\n\t}\n\n\tget type() {\n\t\treturn \"amd require\";\n\t}\n\n\tget category() {\n\t\treturn \"amd\";\n\t}\n}\n\nmakeSerializable(\n\tAMDRequireItemDependency,\n\t\"webpack/lib/dependencies/AMDRequireItemDependency\"\n);\n\nAMDRequireItemDependency.Template = ModuleDependencyTemplateAsRequireId;\n\nmodule.exports = AMDRequireItemDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/AMDRuntimeModules.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/AMDRuntimeModules.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass AMDDefineRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"amd define\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.amdDefine} = function () {`,\n\t\t\tTemplate.indent(\"throw new Error('define cannot be used indirect');\"),\n\t\t\t\"};\"\n\t\t]);\n\t}\n}\n\nclass AMDOptionsRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Record<string, boolean | number | string>} options the AMD options\n\t */\n\tconstructor(options) {\n\t\tsuper(\"amd options\");\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.amdOptions} = ${JSON.stringify(this.options)};`\n\t\t]);\n\t}\n}\n\nexports.AMDDefineRuntimeModule = AMDDefineRuntimeModule;\nexports.AMDOptionsRuntimeModule = AMDOptionsRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/AMDRuntimeModules.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CachedConstDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CachedConstDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst DependencyTemplate = __webpack_require__(/*! ../DependencyTemplate */ \"./node_modules/webpack/lib/DependencyTemplate.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nclass CachedConstDependency extends NullDependency {\n\tconstructor(expression, range, identifier) {\n\t\tsuper();\n\n\t\tthis.expression = expression;\n\t\tthis.range = range;\n\t\tthis.identifier = identifier;\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined)\n\t\t\tthis._hashUpdate = \"\" + this.identifier + this.range + this.expression;\n\t\thash.update(this._hashUpdate);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.expression);\n\t\twrite(this.range);\n\t\twrite(this.identifier);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.expression = read();\n\t\tthis.range = read();\n\t\tthis.identifier = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tCachedConstDependency,\n\t\"webpack/lib/dependencies/CachedConstDependency\"\n);\n\nCachedConstDependency.Template = class CachedConstDependencyTemplate extends (\n\tDependencyTemplate\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, dependencyTemplates, initFragments }\n\t) {\n\t\tconst dep = /** @type {CachedConstDependency} */ (dependency);\n\n\t\tinitFragments.push(\n\t\t\tnew InitFragment(\n\t\t\t\t`var ${dep.identifier} = ${dep.expression};\\n`,\n\t\t\t\tInitFragment.STAGE_CONSTANTS,\n\t\t\t\t0,\n\t\t\t\t`const ${dep.identifier}`\n\t\t\t)\n\t\t);\n\n\t\tif (typeof dep.range === \"number\") {\n\t\t\tsource.insert(dep.range, dep.identifier);\n\n\t\t\treturn;\n\t\t}\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, dep.identifier);\n\t}\n};\n\nmodule.exports = CachedConstDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CachedConstDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js ***! \****************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\n\nexports.handleDependencyBase = (depBase, module, runtimeRequirements) => {\n\tlet base = undefined;\n\tlet type;\n\tswitch (depBase) {\n\t\tcase \"exports\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\tbase = module.exportsArgument;\n\t\t\ttype = \"expression\";\n\t\t\tbreak;\n\t\tcase \"module.exports\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\tbase = `${module.moduleArgument}.exports`;\n\t\t\ttype = \"expression\";\n\t\t\tbreak;\n\t\tcase \"this\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.thisAsExports);\n\t\t\tbase = \"this\";\n\t\t\ttype = \"expression\";\n\t\t\tbreak;\n\t\tcase \"Object.defineProperty(exports)\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\tbase = module.exportsArgument;\n\t\t\ttype = \"Object.defineProperty\";\n\t\t\tbreak;\n\t\tcase \"Object.defineProperty(module.exports)\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\tbase = `${module.moduleArgument}.exports`;\n\t\t\ttype = \"Object.defineProperty\";\n\t\t\tbreak;\n\t\tcase \"Object.defineProperty(this)\":\n\t\t\truntimeRequirements.add(RuntimeGlobals.thisAsExports);\n\t\t\tbase = \"this\";\n\t\t\ttype = \"Object.defineProperty\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tthrow new Error(`Unsupported base ${depBase}`);\n\t}\n\n\treturn [type, base];\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { equals } = __webpack_require__(/*! ../util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { handleDependencyBase } = __webpack_require__(/*! ./CommonJsDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst processExportInfo = __webpack_require__(/*! ./processExportInfo */ \"./node_modules/webpack/lib/dependencies/processExportInfo.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst idsSymbol = Symbol(\"CommonJsExportRequireDependency.ids\");\n\nconst EMPTY_OBJECT = {};\n\nclass CommonJsExportRequireDependency extends ModuleDependency {\n\tconstructor(range, valueRange, base, names, request, ids, resultUsed) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t\tthis.base = base;\n\t\tthis.names = names;\n\t\tthis.ids = ids;\n\t\tthis.resultUsed = resultUsed;\n\t\tthis.asiSafe = undefined;\n\t}\n\n\tget type() {\n\t\treturn \"cjs export require\";\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn Dependency.TRANSITIVE;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {string[]} the imported id\n\t */\n\tgetIds(moduleGraph) {\n\t\treturn moduleGraph.getMeta(this)[idsSymbol] || this.ids;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {string[]} ids the imported ids\n\t * @returns {void}\n\t */\n\tsetIds(moduleGraph, ids) {\n\t\tmoduleGraph.getMeta(this)[idsSymbol] = ids;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tconst ids = this.getIds(moduleGraph);\n\t\tconst getFullResult = () => {\n\t\t\tif (ids.length === 0) {\n\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\t} else {\n\t\t\t\treturn [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: ids,\n\t\t\t\t\t\tcanMangle: false\n\t\t\t\t\t}\n\t\t\t\t];\n\t\t\t}\n\t\t};\n\t\tif (this.resultUsed) return getFullResult();\n\t\tlet exportsInfo = moduleGraph.getExportsInfo(\n\t\t\tmoduleGraph.getParentModule(this)\n\t\t);\n\t\tfor (const name of this.names) {\n\t\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(name);\n\t\t\tconst used = exportInfo.getUsed(runtime);\n\t\t\tif (used === UsageState.Unused) return Dependency.NO_EXPORTS_REFERENCED;\n\t\t\tif (used !== UsageState.OnlyPropertiesUsed) return getFullResult();\n\t\t\texportsInfo = exportInfo.exportsInfo;\n\t\t\tif (!exportsInfo) return getFullResult();\n\t\t}\n\t\tif (exportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused) {\n\t\t\treturn getFullResult();\n\t\t}\n\t\t/** @type {string[][]} */\n\t\tconst referencedExports = [];\n\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\tprocessExportInfo(\n\t\t\t\truntime,\n\t\t\t\treferencedExports,\n\t\t\t\tids.concat(exportInfo.name),\n\t\t\t\texportInfo,\n\t\t\t\tfalse\n\t\t\t);\n\t\t}\n\t\treturn referencedExports.map(name => ({\n\t\t\tname,\n\t\t\tcanMangle: false\n\t\t}));\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tconst ids = this.getIds(moduleGraph);\n\t\tif (this.names.length === 1) {\n\t\t\tconst name = this.names[0];\n\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\tif (!from) return;\n\t\t\treturn {\n\t\t\t\texports: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tfrom,\n\t\t\t\t\t\texport: ids.length === 0 ? null : ids,\n\t\t\t\t\t\t// we can't mangle names that are in an empty object\n\t\t\t\t\t\t// because one could access the prototype property\n\t\t\t\t\t\t// when export isn't set yet\n\t\t\t\t\t\tcanMangle: !(name in EMPTY_OBJECT) && false\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\tdependencies: [from.module]\n\t\t\t};\n\t\t} else if (this.names.length > 0) {\n\t\t\tconst name = this.names[0];\n\t\t\treturn {\n\t\t\t\texports: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname,\n\t\t\t\t\t\t// we can't mangle names that are in an empty object\n\t\t\t\t\t\t// because one could access the prototype property\n\t\t\t\t\t\t// when export isn't set yet\n\t\t\t\t\t\tcanMangle: !(name in EMPTY_OBJECT) && false\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\tdependencies: undefined\n\t\t\t};\n\t\t} else {\n\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\tif (!from) return;\n\t\t\tconst reexportInfo = this.getStarReexports(\n\t\t\t\tmoduleGraph,\n\t\t\t\tundefined,\n\t\t\t\tfrom.module\n\t\t\t);\n\t\t\tif (reexportInfo) {\n\t\t\t\treturn {\n\t\t\t\t\texports: Array.from(reexportInfo.exports, name => {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\texport: ids.concat(name),\n\t\t\t\t\t\t\tcanMangle: !(name in EMPTY_OBJECT) && false\n\t\t\t\t\t\t};\n\t\t\t\t\t}),\n\t\t\t\t\t// TODO handle deep reexports\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\treturn {\n\t\t\t\t\texports: true,\n\t\t\t\t\tfrom: ids.length === 0 ? from : undefined,\n\t\t\t\t\tcanMangle: false,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {Module} importedModule the imported module (optional)\n\t * @returns {{exports?: Set<string>, checked?: Set<string>}} information\n\t */\n\tgetStarReexports(\n\t\tmoduleGraph,\n\t\truntime,\n\t\timportedModule = moduleGraph.getModule(this)\n\t) {\n\t\tlet importedExportsInfo = moduleGraph.getExportsInfo(importedModule);\n\t\tconst ids = this.getIds(moduleGraph);\n\t\tif (ids.length > 0)\n\t\t\timportedExportsInfo = importedExportsInfo.getNestedExportsInfo(ids);\n\t\tlet exportsInfo = moduleGraph.getExportsInfo(\n\t\t\tmoduleGraph.getParentModule(this)\n\t\t);\n\t\tif (this.names.length > 0)\n\t\t\texportsInfo = exportsInfo.getNestedExportsInfo(this.names);\n\n\t\tconst noExtraExports =\n\t\t\timportedExportsInfo &&\n\t\t\timportedExportsInfo.otherExportsInfo.provided === false;\n\t\tconst noExtraImports =\n\t\t\texportsInfo &&\n\t\t\texportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused;\n\n\t\tif (!noExtraExports && !noExtraImports) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst isNamespaceImport =\n\t\t\timportedModule.getExportsType(moduleGraph, false) === \"namespace\";\n\n\t\t/** @type {Set<string>} */\n\t\tconst exports = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst checked = new Set();\n\n\t\tif (noExtraImports) {\n\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\tconst name = exportInfo.name;\n\t\t\t\tif (exportInfo.getUsed(runtime) === UsageState.Unused) continue;\n\t\t\t\tif (name === \"__esModule\" && isNamespaceImport) {\n\t\t\t\t\texports.add(name);\n\t\t\t\t} else if (importedExportsInfo) {\n\t\t\t\t\tconst importedExportInfo =\n\t\t\t\t\t\timportedExportsInfo.getReadOnlyExportInfo(name);\n\t\t\t\t\tif (importedExportInfo.provided === false) continue;\n\t\t\t\t\texports.add(name);\n\t\t\t\t\tif (importedExportInfo.provided === true) continue;\n\t\t\t\t\tchecked.add(name);\n\t\t\t\t} else {\n\t\t\t\t\texports.add(name);\n\t\t\t\t\tchecked.add(name);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (noExtraExports) {\n\t\t\tfor (const importedExportInfo of importedExportsInfo.orderedExports) {\n\t\t\t\tconst name = importedExportInfo.name;\n\t\t\t\tif (importedExportInfo.provided === false) continue;\n\t\t\t\tif (exportsInfo) {\n\t\t\t\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(name);\n\t\t\t\t\tif (exportInfo.getUsed(runtime) === UsageState.Unused) continue;\n\t\t\t\t}\n\t\t\t\texports.add(name);\n\t\t\t\tif (importedExportInfo.provided === true) continue;\n\t\t\t\tchecked.add(name);\n\t\t\t}\n\t\t\tif (isNamespaceImport) {\n\t\t\t\texports.add(\"__esModule\");\n\t\t\t\tchecked.delete(\"__esModule\");\n\t\t\t}\n\t\t}\n\n\t\treturn { exports, checked };\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.asiSafe);\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\t\twrite(this.base);\n\t\twrite(this.names);\n\t\twrite(this.ids);\n\t\twrite(this.resultUsed);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.asiSafe = read();\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\t\tthis.base = read();\n\t\tthis.names = read();\n\t\tthis.ids = read();\n\t\tthis.resultUsed = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tCommonJsExportRequireDependency,\n\t\"webpack/lib/dependencies/CommonJsExportRequireDependency\"\n);\n\nCommonJsExportRequireDependency.Template = class CommonJsExportRequireDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{\n\t\t\tmodule,\n\t\t\truntimeTemplate,\n\t\t\tchunkGraph,\n\t\t\tmoduleGraph,\n\t\t\truntimeRequirements,\n\t\t\truntime\n\t\t}\n\t) {\n\t\tconst dep = /** @type {CommonJsExportRequireDependency} */ (dependency);\n\t\tconst used = moduleGraph\n\t\t\t.getExportsInfo(module)\n\t\t\t.getUsedName(dep.names, runtime);\n\n\t\tconst [type, base] = handleDependencyBase(\n\t\t\tdep.base,\n\t\t\tmodule,\n\t\t\truntimeRequirements\n\t\t);\n\n\t\tconst importedModule = moduleGraph.getModule(dep);\n\t\tlet requireExpr = runtimeTemplate.moduleExports({\n\t\t\tmodule: importedModule,\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\tweak: dep.weak,\n\t\t\truntimeRequirements\n\t\t});\n\t\tif (importedModule) {\n\t\t\tconst ids = dep.getIds(moduleGraph);\n\t\t\tconst usedImported = moduleGraph\n\t\t\t\t.getExportsInfo(importedModule)\n\t\t\t\t.getUsedName(ids, runtime);\n\t\t\tif (usedImported) {\n\t\t\t\tconst comment = equals(usedImported, ids)\n\t\t\t\t\t? \"\"\n\t\t\t\t\t: Template.toNormalComment(propertyAccess(ids)) + \" \";\n\t\t\t\trequireExpr += `${comment}${propertyAccess(usedImported)}`;\n\t\t\t}\n\t\t}\n\n\t\tswitch (type) {\n\t\t\tcase \"expression\":\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.range[1] - 1,\n\t\t\t\t\tused\n\t\t\t\t\t\t? `${base}${propertyAccess(used)} = ${requireExpr}`\n\t\t\t\t\t\t: `/* unused reexport */ ${requireExpr}`\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\tcase \"Object.defineProperty\":\n\t\t\t\tthrow new Error(\"TODO\");\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\"Unexpected type\");\n\t\t}\n\t}\n};\n\nmodule.exports = CommonJsExportRequireDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { handleDependencyBase } = __webpack_require__(/*! ./CommonJsDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\nconst EMPTY_OBJECT = {};\n\nclass CommonJsExportsDependency extends NullDependency {\n\tconstructor(range, valueRange, base, names) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t\tthis.base = base;\n\t\tthis.names = names;\n\t}\n\n\tget type() {\n\t\treturn \"cjs exports\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tconst name = this.names[0];\n\t\treturn {\n\t\t\texports: [\n\t\t\t\t{\n\t\t\t\t\tname,\n\t\t\t\t\t// we can't mangle names that are in an empty object\n\t\t\t\t\t// because one could access the prototype property\n\t\t\t\t\t// when export isn't set yet\n\t\t\t\t\tcanMangle: !(name in EMPTY_OBJECT)\n\t\t\t\t}\n\t\t\t],\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\t\twrite(this.base);\n\t\twrite(this.names);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\t\tthis.base = read();\n\t\tthis.names = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tCommonJsExportsDependency,\n\t\"webpack/lib/dependencies/CommonJsExportsDependency\"\n);\n\nCommonJsExportsDependency.Template = class CommonJsExportsDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ module, moduleGraph, initFragments, runtimeRequirements, runtime }\n\t) {\n\t\tconst dep = /** @type {CommonJsExportsDependency} */ (dependency);\n\t\tconst used = moduleGraph\n\t\t\t.getExportsInfo(module)\n\t\t\t.getUsedName(dep.names, runtime);\n\n\t\tconst [type, base] = handleDependencyBase(\n\t\t\tdep.base,\n\t\t\tmodule,\n\t\t\truntimeRequirements\n\t\t);\n\n\t\tswitch (type) {\n\t\t\tcase \"expression\":\n\t\t\t\tif (!used) {\n\t\t\t\t\tinitFragments.push(\n\t\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t\t\"var __webpack_unused_export__;\\n\",\n\t\t\t\t\t\t\tInitFragment.STAGE_CONSTANTS,\n\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\"__webpack_unused_export__\"\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tsource.replace(\n\t\t\t\t\t\tdep.range[0],\n\t\t\t\t\t\tdep.range[1] - 1,\n\t\t\t\t\t\t\"__webpack_unused_export__\"\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.range[1] - 1,\n\t\t\t\t\t`${base}${propertyAccess(used)}`\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\tcase \"Object.defineProperty\":\n\t\t\t\tif (!used) {\n\t\t\t\t\tinitFragments.push(\n\t\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t\t\"var __webpack_unused_export__;\\n\",\n\t\t\t\t\t\t\tInitFragment.STAGE_CONSTANTS,\n\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\"__webpack_unused_export__\"\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tsource.replace(\n\t\t\t\t\t\tdep.range[0],\n\t\t\t\t\t\tdep.valueRange[0] - 1,\n\t\t\t\t\t\t\"__webpack_unused_export__ = (\"\n\t\t\t\t\t);\n\t\t\t\t\tsource.replace(dep.valueRange[1], dep.range[1] - 1, \")\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.valueRange[0] - 1,\n\t\t\t\t\t`Object.defineProperty(${base}${propertyAccess(\n\t\t\t\t\t\tused.slice(0, -1)\n\t\t\t\t\t)}, ${JSON.stringify(used[used.length - 1])}, (`\n\t\t\t\t);\n\t\t\t\tsource.replace(dep.valueRange[1], dep.range[1] - 1, \"))\");\n\t\t\t\treturn;\n\t\t}\n\t}\n};\n\nmodule.exports = CommonJsExportsDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst formatLocation = __webpack_require__(/*! ../formatLocation */ \"./node_modules/webpack/lib/formatLocation.js\");\nconst { evaluateToString } = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst CommonJsExportRequireDependency = __webpack_require__(/*! ./CommonJsExportRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js\");\nconst CommonJsExportsDependency = __webpack_require__(/*! ./CommonJsExportsDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js\");\nconst CommonJsSelfReferenceDependency = __webpack_require__(/*! ./CommonJsSelfReferenceDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js\");\nconst DynamicExports = __webpack_require__(/*! ./DynamicExports */ \"./node_modules/webpack/lib/dependencies/DynamicExports.js\");\nconst HarmonyExports = __webpack_require__(/*! ./HarmonyExports */ \"./node_modules/webpack/lib/dependencies/HarmonyExports.js\");\nconst ModuleDecoratorDependency = __webpack_require__(/*! ./ModuleDecoratorDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js\");\n\n/** @typedef {import(\"estree\").Expression} ExpressionNode */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../javascript/BasicEvaluatedExpression\")} BasicEvaluatedExpression */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n\nconst getValueOfPropertyDescription = expr => {\n\tif (expr.type !== \"ObjectExpression\") return;\n\tfor (const property of expr.properties) {\n\t\tif (property.computed) continue;\n\t\tconst key = property.key;\n\t\tif (key.type !== \"Identifier\" || key.name !== \"value\") continue;\n\t\treturn property.value;\n\t}\n};\n\nconst isTruthyLiteral = expr => {\n\tswitch (expr.type) {\n\t\tcase \"Literal\":\n\t\t\treturn !!expr.value;\n\t\tcase \"UnaryExpression\":\n\t\t\tif (expr.operator === \"!\") return isFalsyLiteral(expr.argument);\n\t}\n\treturn false;\n};\n\nconst isFalsyLiteral = expr => {\n\tswitch (expr.type) {\n\t\tcase \"Literal\":\n\t\t\treturn !expr.value;\n\t\tcase \"UnaryExpression\":\n\t\t\tif (expr.operator === \"!\") return isTruthyLiteral(expr.argument);\n\t}\n\treturn false;\n};\n\n/**\n * @param {JavascriptParser} parser the parser\n * @param {ExpressionNode} expr expression\n * @returns {{ argument: BasicEvaluatedExpression, ids: string[] } | undefined} parsed call\n */\nconst parseRequireCall = (parser, expr) => {\n\tconst ids = [];\n\twhile (expr.type === \"MemberExpression\") {\n\t\tif (expr.object.type === \"Super\") return;\n\t\tif (!expr.property) return;\n\t\tconst prop = expr.property;\n\t\tif (expr.computed) {\n\t\t\tif (prop.type !== \"Literal\") return;\n\t\t\tids.push(`${prop.value}`);\n\t\t} else {\n\t\t\tif (prop.type !== \"Identifier\") return;\n\t\t\tids.push(prop.name);\n\t\t}\n\t\texpr = expr.object;\n\t}\n\tif (expr.type !== \"CallExpression\" || expr.arguments.length !== 1) return;\n\tconst callee = expr.callee;\n\tif (\n\t\tcallee.type !== \"Identifier\" ||\n\t\tparser.getVariableInfo(callee.name) !== \"require\"\n\t) {\n\t\treturn;\n\t}\n\tconst arg = expr.arguments[0];\n\tif (arg.type === \"SpreadElement\") return;\n\tconst argValue = parser.evaluateExpression(arg);\n\treturn { argument: argValue, ids: ids.reverse() };\n};\n\nclass CommonJsExportsParserPlugin {\n\tconstructor(moduleGraph) {\n\t\tthis.moduleGraph = moduleGraph;\n\t}\n\n\t/**\n\t * @param {JavascriptParser} parser the parser\n\t */\n\tapply(parser) {\n\t\tconst enableStructuredExports = () => {\n\t\t\tDynamicExports.enable(parser.state);\n\t\t};\n\t\tconst checkNamespace = (topLevel, members, valueExpr) => {\n\t\t\tif (!DynamicExports.isEnabled(parser.state)) return;\n\t\t\tif (members.length > 0 && members[0] === \"__esModule\") {\n\t\t\t\tif (valueExpr && isTruthyLiteral(valueExpr) && topLevel) {\n\t\t\t\t\tDynamicExports.setFlagged(parser.state);\n\t\t\t\t} else {\n\t\t\t\t\tDynamicExports.setDynamic(parser.state);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tconst bailout = reason => {\n\t\t\tDynamicExports.bailout(parser.state);\n\t\t\tif (reason) bailoutHint(reason);\n\t\t};\n\t\tconst bailoutHint = reason => {\n\t\t\tthis.moduleGraph\n\t\t\t\t.getOptimizationBailout(parser.state.module)\n\t\t\t\t.push(`CommonJS bailout: ${reason}`);\n\t\t};\n\n\t\t// metadata //\n\t\tparser.hooks.evaluateTypeof\n\t\t\t.for(\"module\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", evaluateToString(\"object\"));\n\t\tparser.hooks.evaluateTypeof\n\t\t\t.for(\"exports\")\n\t\t\t.tap(\"CommonJsPlugin\", evaluateToString(\"object\"));\n\n\t\t// exporting //\n\t\tconst handleAssignExport = (expr, base, members) => {\n\t\t\tif (HarmonyExports.isEnabled(parser.state)) return;\n\t\t\t// Handle reexporting\n\t\t\tconst requireCall = parseRequireCall(parser, expr.right);\n\t\t\tif (\n\t\t\t\trequireCall &&\n\t\t\t\trequireCall.argument.isString() &&\n\t\t\t\t(members.length === 0 || members[0] !== \"__esModule\")\n\t\t\t) {\n\t\t\t\tenableStructuredExports();\n\t\t\t\t// It's possible to reexport __esModule, so we must convert to a dynamic module\n\t\t\t\tif (members.length === 0) DynamicExports.setDynamic(parser.state);\n\t\t\t\tconst dep = new CommonJsExportRequireDependency(\n\t\t\t\t\texpr.range,\n\t\t\t\t\tnull,\n\t\t\t\t\tbase,\n\t\t\t\t\tmembers,\n\t\t\t\t\trequireCall.argument.string,\n\t\t\t\t\trequireCall.ids,\n\t\t\t\t\t!parser.isStatementLevelExpression(expr)\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (members.length === 0) return;\n\t\t\tenableStructuredExports();\n\t\t\tconst remainingMembers = members;\n\t\t\tcheckNamespace(\n\t\t\t\tparser.statementPath.length === 1 &&\n\t\t\t\t\tparser.isStatementLevelExpression(expr),\n\t\t\t\tremainingMembers,\n\t\t\t\texpr.right\n\t\t\t);\n\t\t\tconst dep = new CommonJsExportsDependency(\n\t\t\t\texpr.left.range,\n\t\t\t\tnull,\n\t\t\t\tbase,\n\t\t\t\tremainingMembers\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addDependency(dep);\n\t\t\tparser.walkExpression(expr.right);\n\t\t\treturn true;\n\t\t};\n\t\tparser.hooks.assignMemberChain\n\t\t\t.for(\"exports\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\treturn handleAssignExport(expr, \"exports\", members);\n\t\t\t});\n\t\tparser.hooks.assignMemberChain\n\t\t\t.for(\"this\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (!parser.scope.topLevelScope) return;\n\t\t\t\treturn handleAssignExport(expr, \"this\", members);\n\t\t\t});\n\t\tparser.hooks.assignMemberChain\n\t\t\t.for(\"module\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (members[0] !== \"exports\") return;\n\t\t\t\treturn handleAssignExport(expr, \"module.exports\", members.slice(1));\n\t\t\t});\n\t\tparser.hooks.call\n\t\t\t.for(\"Object.defineProperty\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", expression => {\n\t\t\t\tconst expr = /** @type {import(\"estree\").CallExpression} */ (\n\t\t\t\t\texpression\n\t\t\t\t);\n\t\t\t\tif (!parser.isStatementLevelExpression(expr)) return;\n\t\t\t\tif (expr.arguments.length !== 3) return;\n\t\t\t\tif (expr.arguments[0].type === \"SpreadElement\") return;\n\t\t\t\tif (expr.arguments[1].type === \"SpreadElement\") return;\n\t\t\t\tif (expr.arguments[2].type === \"SpreadElement\") return;\n\t\t\t\tconst exportsArg = parser.evaluateExpression(expr.arguments[0]);\n\t\t\t\tif (!exportsArg.isIdentifier()) return;\n\t\t\t\tif (\n\t\t\t\t\texportsArg.identifier !== \"exports\" &&\n\t\t\t\t\texportsArg.identifier !== \"module.exports\" &&\n\t\t\t\t\t(exportsArg.identifier !== \"this\" || !parser.scope.topLevelScope)\n\t\t\t\t) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst propertyArg = parser.evaluateExpression(expr.arguments[1]);\n\t\t\t\tconst property = propertyArg.asString();\n\t\t\t\tif (typeof property !== \"string\") return;\n\t\t\t\tenableStructuredExports();\n\t\t\t\tconst descArg = expr.arguments[2];\n\t\t\t\tcheckNamespace(\n\t\t\t\t\tparser.statementPath.length === 1,\n\t\t\t\t\t[property],\n\t\t\t\t\tgetValueOfPropertyDescription(descArg)\n\t\t\t\t);\n\t\t\t\tconst dep = new CommonJsExportsDependency(\n\t\t\t\t\texpr.range,\n\t\t\t\t\texpr.arguments[2].range,\n\t\t\t\t\t`Object.defineProperty(${exportsArg.identifier})`,\n\t\t\t\t\t[property]\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addDependency(dep);\n\n\t\t\t\tparser.walkExpression(expr.arguments[2]);\n\t\t\t\treturn true;\n\t\t\t});\n\n\t\t// Self reference //\n\t\tconst handleAccessExport = (expr, base, members, call = undefined) => {\n\t\t\tif (HarmonyExports.isEnabled(parser.state)) return;\n\t\t\tif (members.length === 0) {\n\t\t\t\tbailout(`${base} is used directly at ${formatLocation(expr.loc)}`);\n\t\t\t}\n\t\t\tif (call && members.length === 1) {\n\t\t\t\tbailoutHint(\n\t\t\t\t\t`${base}${propertyAccess(\n\t\t\t\t\t\tmembers\n\t\t\t\t\t)}(...) prevents optimization as ${base} is passed as call context at ${formatLocation(\n\t\t\t\t\t\texpr.loc\n\t\t\t\t\t)}`\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst dep = new CommonJsSelfReferenceDependency(\n\t\t\t\texpr.range,\n\t\t\t\tbase,\n\t\t\t\tmembers,\n\t\t\t\t!!call\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addDependency(dep);\n\t\t\tif (call) {\n\t\t\t\tparser.walkExpressions(call.arguments);\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\tparser.hooks.callMemberChain\n\t\t\t.for(\"exports\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\treturn handleAccessExport(expr.callee, \"exports\", members, expr);\n\t\t\t});\n\t\tparser.hooks.expressionMemberChain\n\t\t\t.for(\"exports\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\treturn handleAccessExport(expr, \"exports\", members);\n\t\t\t});\n\t\tparser.hooks.expression\n\t\t\t.for(\"exports\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", expr => {\n\t\t\t\treturn handleAccessExport(expr, \"exports\", []);\n\t\t\t});\n\t\tparser.hooks.callMemberChain\n\t\t\t.for(\"module\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (members[0] !== \"exports\") return;\n\t\t\t\treturn handleAccessExport(\n\t\t\t\t\texpr.callee,\n\t\t\t\t\t\"module.exports\",\n\t\t\t\t\tmembers.slice(1),\n\t\t\t\t\texpr\n\t\t\t\t);\n\t\t\t});\n\t\tparser.hooks.expressionMemberChain\n\t\t\t.for(\"module\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (members[0] !== \"exports\") return;\n\t\t\t\treturn handleAccessExport(expr, \"module.exports\", members.slice(1));\n\t\t\t});\n\t\tparser.hooks.expression\n\t\t\t.for(\"module.exports\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", expr => {\n\t\t\t\treturn handleAccessExport(expr, \"module.exports\", []);\n\t\t\t});\n\t\tparser.hooks.callMemberChain\n\t\t\t.for(\"this\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (!parser.scope.topLevelScope) return;\n\t\t\t\treturn handleAccessExport(expr.callee, \"this\", members, expr);\n\t\t\t});\n\t\tparser.hooks.expressionMemberChain\n\t\t\t.for(\"this\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", (expr, members) => {\n\t\t\t\tif (!parser.scope.topLevelScope) return;\n\t\t\t\treturn handleAccessExport(expr, \"this\", members);\n\t\t\t});\n\t\tparser.hooks.expression\n\t\t\t.for(\"this\")\n\t\t\t.tap(\"CommonJsExportsParserPlugin\", expr => {\n\t\t\t\tif (!parser.scope.topLevelScope) return;\n\t\t\t\treturn handleAccessExport(expr, \"this\", []);\n\t\t\t});\n\n\t\t// Bailouts //\n\t\tparser.hooks.expression.for(\"module\").tap(\"CommonJsPlugin\", expr => {\n\t\t\tbailout();\n\t\t\tconst isHarmony = HarmonyExports.isEnabled(parser.state);\n\t\t\tconst dep = new ModuleDecoratorDependency(\n\t\t\t\tisHarmony\n\t\t\t\t\t? RuntimeGlobals.harmonyModuleDecorator\n\t\t\t\t\t: RuntimeGlobals.nodeModuleDecorator,\n\t\t\t\t!isHarmony\n\t\t\t);\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addDependency(dep);\n\t\t\treturn true;\n\t\t});\n\t}\n}\nmodule.exports = CommonJsExportsParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { equals } = __webpack_require__(/*! ../util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass CommonJsFullRequireDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request the request string\n\t * @param {[number, number]} range location in source code\n\t * @param {string[]} names accessed properties on module\n\t */\n\tconstructor(request, range, names) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.names = names;\n\t\tthis.call = false;\n\t\tthis.asiSafe = undefined;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tif (this.call) {\n\t\t\tconst importedModule = moduleGraph.getModule(this);\n\t\t\tif (\n\t\t\t\t!importedModule ||\n\t\t\t\timportedModule.getExportsType(moduleGraph, false) !== \"namespace\"\n\t\t\t) {\n\t\t\t\treturn [this.names.slice(0, -1)];\n\t\t\t}\n\t\t}\n\t\treturn [this.names];\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.names);\n\t\twrite(this.call);\n\t\twrite(this.asiSafe);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.names = read();\n\t\tthis.call = read();\n\t\tthis.asiSafe = read();\n\t\tsuper.deserialize(context);\n\t}\n\n\tget type() {\n\t\treturn \"cjs full require\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nCommonJsFullRequireDependency.Template = class CommonJsFullRequireDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{\n\t\t\tmodule,\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph,\n\t\t\tchunkGraph,\n\t\t\truntimeRequirements,\n\t\t\truntime,\n\t\t\tinitFragments\n\t\t}\n\t) {\n\t\tconst dep = /** @type {CommonJsFullRequireDependency} */ (dependency);\n\t\tif (!dep.range) return;\n\t\tconst importedModule = moduleGraph.getModule(dep);\n\t\tlet requireExpr = runtimeTemplate.moduleExports({\n\t\t\tmodule: importedModule,\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\tweak: dep.weak,\n\t\t\truntimeRequirements\n\t\t});\n\t\tif (importedModule) {\n\t\t\tconst ids = dep.names;\n\t\t\tconst usedImported = moduleGraph\n\t\t\t\t.getExportsInfo(importedModule)\n\t\t\t\t.getUsedName(ids, runtime);\n\t\t\tif (usedImported) {\n\t\t\t\tconst comment = equals(usedImported, ids)\n\t\t\t\t\t? \"\"\n\t\t\t\t\t: Template.toNormalComment(propertyAccess(ids)) + \" \";\n\t\t\t\tconst access = `${comment}${propertyAccess(usedImported)}`;\n\t\t\t\trequireExpr =\n\t\t\t\t\tdep.asiSafe === true\n\t\t\t\t\t\t? `(${requireExpr}${access})`\n\t\t\t\t\t\t: `${requireExpr}${access}`;\n\t\t\t}\n\t\t}\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, requireExpr);\n\t}\n};\n\nmakeSerializable(\n\tCommonJsFullRequireDependency,\n\t\"webpack/lib/dependencies/CommonJsFullRequireDependency\"\n);\n\nmodule.exports = CommonJsFullRequireDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { fileURLToPath } = __webpack_require__(/*! url */ \"?e626\");\nconst CommentCompilationWarning = __webpack_require__(/*! ../CommentCompilationWarning */ \"./node_modules/webpack/lib/CommentCompilationWarning.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst UnsupportedFeatureWarning = __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ../javascript/BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\nconst {\n\tevaluateToIdentifier,\n\tevaluateToString,\n\texpressionIsUnsupported,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst CommonJsFullRequireDependency = __webpack_require__(/*! ./CommonJsFullRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js\");\nconst CommonJsRequireContextDependency = __webpack_require__(/*! ./CommonJsRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js\");\nconst CommonJsRequireDependency = __webpack_require__(/*! ./CommonJsRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst ContextDependencyHelpers = __webpack_require__(/*! ./ContextDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js\");\nconst LocalModuleDependency = __webpack_require__(/*! ./LocalModuleDependency */ \"./node_modules/webpack/lib/dependencies/LocalModuleDependency.js\");\nconst { getLocalModule } = __webpack_require__(/*! ./LocalModulesHelpers */ \"./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js\");\nconst RequireHeaderDependency = __webpack_require__(/*! ./RequireHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js\");\nconst RequireResolveContextDependency = __webpack_require__(/*! ./RequireResolveContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js\");\nconst RequireResolveDependency = __webpack_require__(/*! ./RequireResolveDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveDependency.js\");\nconst RequireResolveHeaderDependency = __webpack_require__(/*! ./RequireResolveHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js\");\n\n/** @typedef {import(\"estree\").CallExpression} CallExpressionNode */\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n\nconst createRequireSpecifierTag = Symbol(\"createRequire\");\nconst createdRequireIdentifierTag = Symbol(\"createRequire()\");\n\nclass CommonJsImportsParserPlugin {\n\t/**\n\t * @param {JavascriptParserOptions} options parser options\n\t */\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\tapply(parser) {\n\t\tconst options = this.options;\n\n\t\tconst getContext = () => {\n\t\t\tif (parser.currentTagData) {\n\t\t\t\tconst { context } = parser.currentTagData;\n\t\t\t\treturn context;\n\t\t\t}\n\t\t};\n\n\t\t//#region metadata\n\t\tconst tapRequireExpression = (expression, getMembers) => {\n\t\t\tparser.hooks.typeof\n\t\t\t\t.for(expression)\n\t\t\t\t.tap(\n\t\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t);\n\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t.for(expression)\n\t\t\t\t.tap(\"CommonJsImportsParserPlugin\", evaluateToString(\"function\"));\n\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t.for(expression)\n\t\t\t\t.tap(\n\t\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\t\tevaluateToIdentifier(expression, \"require\", getMembers, true)\n\t\t\t\t);\n\t\t};\n\t\tconst tapRequireExpressionTag = tag => {\n\t\t\tparser.hooks.typeof\n\t\t\t\t.for(tag)\n\t\t\t\t.tap(\n\t\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t);\n\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t.for(tag)\n\t\t\t\t.tap(\"CommonJsImportsParserPlugin\", evaluateToString(\"function\"));\n\t\t};\n\t\ttapRequireExpression(\"require\", () => []);\n\t\ttapRequireExpression(\"require.resolve\", () => [\"resolve\"]);\n\t\ttapRequireExpression(\"require.resolveWeak\", () => [\"resolveWeak\"]);\n\t\t//#endregion\n\n\t\t// Weird stuff //\n\t\tparser.hooks.assign\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", expr => {\n\t\t\t\t// to not leak to global \"require\", we need to define a local require here.\n\t\t\t\tconst dep = new ConstDependency(\"var require;\", 0);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\treturn true;\n\t\t\t});\n\n\t\t//#region Unsupported\n\t\tparser.hooks.expression\n\t\t\t.for(\"require.main\")\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\tparser,\n\t\t\t\t\t\"require.main is not supported by webpack.\"\n\t\t\t\t)\n\t\t\t);\n\t\tparser.hooks.call\n\t\t\t.for(\"require.main.require\")\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\tparser,\n\t\t\t\t\t\"require.main.require is not supported by webpack.\"\n\t\t\t\t)\n\t\t\t);\n\t\tparser.hooks.expression\n\t\t\t.for(\"module.parent.require\")\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\tparser,\n\t\t\t\t\t\"module.parent.require is not supported by webpack.\"\n\t\t\t\t)\n\t\t\t);\n\t\tparser.hooks.call\n\t\t\t.for(\"module.parent.require\")\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\tparser,\n\t\t\t\t\t\"module.parent.require is not supported by webpack.\"\n\t\t\t\t)\n\t\t\t);\n\t\t//#endregion\n\n\t\t//#region Renaming\n\t\tconst defineUndefined = expr => {\n\t\t\t// To avoid \"not defined\" error, replace the value with undefined\n\t\t\tconst dep = new ConstDependency(\"undefined\", expr.range);\n\t\t\tdep.loc = expr.loc;\n\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\treturn false;\n\t\t};\n\t\tparser.hooks.canRename\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", () => true);\n\t\tparser.hooks.rename\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", defineUndefined);\n\t\t//#endregion\n\n\t\t//#region Inspection\n\t\tconst requireCache = toConstantDependency(\n\t\t\tparser,\n\t\t\tRuntimeGlobals.moduleCache,\n\t\t\t[\n\t\t\t\tRuntimeGlobals.moduleCache,\n\t\t\t\tRuntimeGlobals.moduleId,\n\t\t\t\tRuntimeGlobals.moduleLoaded\n\t\t\t]\n\t\t);\n\n\t\tparser.hooks.expression\n\t\t\t.for(\"require.cache\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", requireCache);\n\t\t//#endregion\n\n\t\t//#region Require as expression\n\t\tconst requireAsExpressionHandler = expr => {\n\t\t\tconst dep = new CommonJsRequireContextDependency(\n\t\t\t\t{\n\t\t\t\t\trequest: options.unknownContextRequest,\n\t\t\t\t\trecursive: options.unknownContextRecursive,\n\t\t\t\t\tregExp: options.unknownContextRegExp,\n\t\t\t\t\tmode: \"sync\"\n\t\t\t\t},\n\t\t\t\texpr.range,\n\t\t\t\tundefined,\n\t\t\t\tparser.scope.inShorthand,\n\t\t\t\tgetContext()\n\t\t\t);\n\t\t\tdep.critical =\n\t\t\t\toptions.unknownContextCritical &&\n\t\t\t\t\"require function is used in a way in which dependencies cannot be statically extracted\";\n\t\t\tdep.loc = expr.loc;\n\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\tparser.state.current.addDependency(dep);\n\t\t\treturn true;\n\t\t};\n\t\tparser.hooks.expression\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", requireAsExpressionHandler);\n\t\t//#endregion\n\n\t\t//#region Require\n\t\tconst processRequireItem = (expr, param) => {\n\t\t\tif (param.isString()) {\n\t\t\t\tconst dep = new CommonJsRequireDependency(\n\t\t\t\t\tparam.string,\n\t\t\t\t\tparam.range,\n\t\t\t\t\tgetContext()\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tconst processRequireContext = (expr, param) => {\n\t\t\tconst dep = ContextDependencyHelpers.create(\n\t\t\t\tCommonJsRequireContextDependency,\n\t\t\t\texpr.range,\n\t\t\t\tparam,\n\t\t\t\texpr,\n\t\t\t\toptions,\n\t\t\t\t{\n\t\t\t\t\tcategory: \"commonjs\"\n\t\t\t\t},\n\t\t\t\tparser,\n\t\t\t\tundefined,\n\t\t\t\tgetContext()\n\t\t\t);\n\t\t\tif (!dep) return;\n\t\t\tdep.loc = expr.loc;\n\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\tparser.state.current.addDependency(dep);\n\t\t\treturn true;\n\t\t};\n\t\tconst createRequireHandler = callNew => expr => {\n\t\t\tif (options.commonjsMagicComments) {\n\t\t\t\tconst { options: requireOptions, errors: commentErrors } =\n\t\t\t\t\tparser.parseCommentOptions(expr.range);\n\n\t\t\t\tif (commentErrors) {\n\t\t\t\t\tfor (const e of commentErrors) {\n\t\t\t\t\t\tconst { comment } = e;\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew CommentCompilationWarning(\n\t\t\t\t\t\t\t\t`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,\n\t\t\t\t\t\t\t\tcomment.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (requireOptions) {\n\t\t\t\t\tif (requireOptions.webpackIgnore !== undefined) {\n\t\t\t\t\t\tif (typeof requireOptions.webpackIgnore !== \"boolean\") {\n\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t\t`\\`webpackIgnore\\` expected a boolean, but received: ${requireOptions.webpackIgnore}.`,\n\t\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Do not instrument `require()` if `webpackIgnore` is `true`\n\t\t\t\t\t\t\tif (requireOptions.webpackIgnore) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (expr.arguments.length !== 1) return;\n\t\t\tlet localModule;\n\t\t\tconst param = parser.evaluateExpression(expr.arguments[0]);\n\t\t\tif (param.isConditional()) {\n\t\t\t\tlet isExpression = false;\n\t\t\t\tfor (const p of param.options) {\n\t\t\t\t\tconst result = processRequireItem(expr, p);\n\t\t\t\t\tif (result === undefined) {\n\t\t\t\t\t\tisExpression = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!isExpression) {\n\t\t\t\t\tconst dep = new RequireHeaderDependency(expr.callee.range);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (\n\t\t\t\tparam.isString() &&\n\t\t\t\t(localModule = getLocalModule(parser.state, param.string))\n\t\t\t) {\n\t\t\t\tlocalModule.flagUsed();\n\t\t\t\tconst dep = new LocalModuleDependency(localModule, expr.range, callNew);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tconst result = processRequireItem(expr, param);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tprocessRequireContext(expr, param);\n\t\t\t\t} else {\n\t\t\t\t\tconst dep = new RequireHeaderDependency(expr.callee.range);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tparser.hooks.call\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", createRequireHandler(false));\n\t\tparser.hooks.new\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", createRequireHandler(true));\n\t\tparser.hooks.call\n\t\t\t.for(\"module.require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", createRequireHandler(false));\n\t\tparser.hooks.new\n\t\t\t.for(\"module.require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", createRequireHandler(true));\n\t\t//#endregion\n\n\t\t//#region Require with property access\n\t\tconst chainHandler = (expr, calleeMembers, callExpr, members) => {\n\t\t\tif (callExpr.arguments.length !== 1) return;\n\t\t\tconst param = parser.evaluateExpression(callExpr.arguments[0]);\n\t\t\tif (param.isString() && !getLocalModule(parser.state, param.string)) {\n\t\t\t\tconst dep = new CommonJsFullRequireDependency(\n\t\t\t\t\tparam.string,\n\t\t\t\t\texpr.range,\n\t\t\t\t\tmembers\n\t\t\t\t);\n\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expr.range[0]);\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tconst callChainHandler = (expr, calleeMembers, callExpr, members) => {\n\t\t\tif (callExpr.arguments.length !== 1) return;\n\t\t\tconst param = parser.evaluateExpression(callExpr.arguments[0]);\n\t\t\tif (param.isString() && !getLocalModule(parser.state, param.string)) {\n\t\t\t\tconst dep = new CommonJsFullRequireDependency(\n\t\t\t\t\tparam.string,\n\t\t\t\t\texpr.callee.range,\n\t\t\t\t\tmembers\n\t\t\t\t);\n\t\t\t\tdep.call = true;\n\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expr.range[0]);\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tdep.loc = expr.callee.loc;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\tparser.walkExpressions(expr.arguments);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tparser.hooks.memberChainOfCallMemberChain\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", chainHandler);\n\t\tparser.hooks.memberChainOfCallMemberChain\n\t\t\t.for(\"module.require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", chainHandler);\n\t\tparser.hooks.callMemberChainOfCallMemberChain\n\t\t\t.for(\"require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", callChainHandler);\n\t\tparser.hooks.callMemberChainOfCallMemberChain\n\t\t\t.for(\"module.require\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", callChainHandler);\n\t\t//#endregion\n\n\t\t//#region Require.resolve\n\t\tconst processResolve = (expr, weak) => {\n\t\t\tif (expr.arguments.length !== 1) return;\n\t\t\tconst param = parser.evaluateExpression(expr.arguments[0]);\n\t\t\tif (param.isConditional()) {\n\t\t\t\tfor (const option of param.options) {\n\t\t\t\t\tconst result = processResolveItem(expr, option, weak);\n\t\t\t\t\tif (result === undefined) {\n\t\t\t\t\t\tprocessResolveContext(expr, option, weak);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst dep = new RequireResolveHeaderDependency(expr.callee.range);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tconst result = processResolveItem(expr, param, weak);\n\t\t\t\tif (result === undefined) {\n\t\t\t\t\tprocessResolveContext(expr, param, weak);\n\t\t\t\t}\n\t\t\t\tconst dep = new RequireResolveHeaderDependency(expr.callee.range);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tconst processResolveItem = (expr, param, weak) => {\n\t\t\tif (param.isString()) {\n\t\t\t\tconst dep = new RequireResolveDependency(\n\t\t\t\t\tparam.string,\n\t\t\t\t\tparam.range,\n\t\t\t\t\tgetContext()\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tdep.weak = weak;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tconst processResolveContext = (expr, param, weak) => {\n\t\t\tconst dep = ContextDependencyHelpers.create(\n\t\t\t\tRequireResolveContextDependency,\n\t\t\t\tparam.range,\n\t\t\t\tparam,\n\t\t\t\texpr,\n\t\t\t\toptions,\n\t\t\t\t{\n\t\t\t\t\tcategory: \"commonjs\",\n\t\t\t\t\tmode: weak ? \"weak\" : \"sync\"\n\t\t\t\t},\n\t\t\t\tparser,\n\t\t\t\tgetContext()\n\t\t\t);\n\t\t\tif (!dep) return;\n\t\t\tdep.loc = expr.loc;\n\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\tparser.state.current.addDependency(dep);\n\t\t\treturn true;\n\t\t};\n\n\t\tparser.hooks.call\n\t\t\t.for(\"require.resolve\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", expr => {\n\t\t\t\treturn processResolve(expr, false);\n\t\t\t});\n\t\tparser.hooks.call\n\t\t\t.for(\"require.resolveWeak\")\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", expr => {\n\t\t\t\treturn processResolve(expr, true);\n\t\t\t});\n\t\t//#endregion\n\n\t\t//#region Create require\n\n\t\tif (!options.createRequire) return;\n\n\t\tlet moduleName;\n\t\tlet specifierName;\n\n\t\tif (options.createRequire === true) {\n\t\t\tmoduleName = \"module\";\n\t\t\tspecifierName = \"createRequire\";\n\t\t} else {\n\t\t\tconst match = /^(.*) from (.*)$/.exec(options.createRequire);\n\t\t\tif (match) {\n\t\t\t\t[, specifierName, moduleName] = match;\n\t\t\t}\n\t\t\tif (!specifierName || !moduleName) {\n\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t`Parsing javascript parser option \"createRequire\" failed, got ${JSON.stringify(\n\t\t\t\t\t\toptions.createRequire\n\t\t\t\t\t)}`\n\t\t\t\t);\n\t\t\t\terr.details =\n\t\t\t\t\t'Expected string in format \"createRequire from module\", where \"createRequire\" is specifier name and \"module\" name of the module';\n\t\t\t\tthrow err;\n\t\t\t}\n\t\t}\n\n\t\ttapRequireExpressionTag(createdRequireIdentifierTag);\n\t\ttapRequireExpressionTag(createRequireSpecifierTag);\n\t\tparser.hooks.evaluateCallExpression\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", expr => {\n\t\t\t\tconst context = parseCreateRequireArguments(expr);\n\t\t\t\tif (context === undefined) return;\n\t\t\t\tconst ident = parser.evaluatedVariable({\n\t\t\t\t\ttag: createdRequireIdentifierTag,\n\t\t\t\t\tdata: { context },\n\t\t\t\t\tnext: undefined\n\t\t\t\t});\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setIdentifier(ident, ident, () => [])\n\t\t\t\t\t.setSideEffects(false)\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t});\n\t\tparser.hooks.unhandledExpressionMemberChain\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", (expr, members) => {\n\t\t\t\treturn expressionIsUnsupported(\n\t\t\t\t\tparser,\n\t\t\t\t\t`createRequire().${members.join(\".\")} is not supported by webpack.`\n\t\t\t\t)(expr);\n\t\t\t});\n\t\tparser.hooks.canRename\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", () => true);\n\t\tparser.hooks.canRename\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", () => true);\n\t\tparser.hooks.rename\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", defineUndefined);\n\t\tparser.hooks.expression\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", requireAsExpressionHandler);\n\t\tparser.hooks.call\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", createRequireHandler(false));\n\t\t/**\n\t\t * @param {CallExpressionNode} expr call expression\n\t\t * @returns {string} context\n\t\t */\n\t\tconst parseCreateRequireArguments = expr => {\n\t\t\tconst args = expr.arguments;\n\t\t\tif (args.length !== 1) {\n\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t\"module.createRequire supports only one argument.\"\n\t\t\t\t);\n\t\t\t\terr.loc = expr.loc;\n\t\t\t\tparser.state.module.addWarning(err);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst arg = args[0];\n\t\t\tconst evaluated = parser.evaluateExpression(arg);\n\t\t\tif (!evaluated.isString()) {\n\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t\"module.createRequire failed parsing argument.\"\n\t\t\t\t);\n\t\t\t\terr.loc = arg.loc;\n\t\t\t\tparser.state.module.addWarning(err);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst ctx = evaluated.string.startsWith(\"file://\")\n\t\t\t\t? fileURLToPath(evaluated.string)\n\t\t\t\t: evaluated.string;\n\t\t\t// argument always should be a filename\n\t\t\treturn ctx.slice(0, ctx.lastIndexOf(ctx.startsWith(\"/\") ? \"/\" : \"\\\\\"));\n\t\t};\n\n\t\tparser.hooks.import.tap(\n\t\t\t{\n\t\t\t\tname: \"CommonJsImportsParserPlugin\",\n\t\t\t\tstage: -10\n\t\t\t},\n\t\t\t(statement, source) => {\n\t\t\t\tif (\n\t\t\t\t\tsource !== moduleName ||\n\t\t\t\t\tstatement.specifiers.length !== 1 ||\n\t\t\t\t\tstatement.specifiers[0].type !== \"ImportSpecifier\" ||\n\t\t\t\t\tstatement.specifiers[0].imported.type !== \"Identifier\" ||\n\t\t\t\t\tstatement.specifiers[0].imported.name !== specifierName\n\t\t\t\t)\n\t\t\t\t\treturn;\n\t\t\t\t// clear for 'import { createRequire as x } from \"module\"'\n\t\t\t\t// if any other specifier was used import module\n\t\t\t\tconst clearDep = new ConstDependency(\n\t\t\t\t\tparser.isAsiPosition(statement.range[0]) ? \";\" : \"\",\n\t\t\t\t\tstatement.range\n\t\t\t\t);\n\t\t\t\tclearDep.loc = statement.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(clearDep);\n\t\t\t\tparser.unsetAsiPosition(statement.range[1]);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.importSpecifier.tap(\n\t\t\t{\n\t\t\t\tname: \"CommonJsImportsParserPlugin\",\n\t\t\t\tstage: -10\n\t\t\t},\n\t\t\t(statement, source, id, name) => {\n\t\t\t\tif (source !== moduleName || id !== specifierName) return;\n\t\t\t\tparser.tagVariable(name, createRequireSpecifierTag);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.preDeclarator.tap(\n\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\tdeclarator => {\n\t\t\t\tif (\n\t\t\t\t\tdeclarator.id.type !== \"Identifier\" ||\n\t\t\t\t\t!declarator.init ||\n\t\t\t\t\tdeclarator.init.type !== \"CallExpression\" ||\n\t\t\t\t\tdeclarator.init.callee.type !== \"Identifier\"\n\t\t\t\t)\n\t\t\t\t\treturn;\n\t\t\t\tconst variableInfo = parser.getVariableInfo(\n\t\t\t\t\tdeclarator.init.callee.name\n\t\t\t\t);\n\t\t\t\tif (\n\t\t\t\t\tvariableInfo &&\n\t\t\t\t\tvariableInfo.tagInfo &&\n\t\t\t\t\tvariableInfo.tagInfo.tag === createRequireSpecifierTag\n\t\t\t\t) {\n\t\t\t\t\tconst context = parseCreateRequireArguments(declarator.init);\n\t\t\t\t\tif (context === undefined) return;\n\t\t\t\t\tparser.tagVariable(declarator.id.name, createdRequireIdentifierTag, {\n\t\t\t\t\t\tname: declarator.id.name,\n\t\t\t\t\t\tcontext\n\t\t\t\t\t});\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\n\t\tparser.hooks.memberChainOfCallMemberChain\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\t(expr, calleeMembers, callExpr, members) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tcalleeMembers.length !== 0 ||\n\t\t\t\t\t\tmembers.length !== 1 ||\n\t\t\t\t\t\tmembers[0] !== \"cache\"\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\t\t\t\t\t// createRequire().cache\n\t\t\t\t\tconst context = parseCreateRequireArguments(callExpr);\n\t\t\t\t\tif (context === undefined) return;\n\t\t\t\t\treturn requireCache(expr);\n\t\t\t\t}\n\t\t\t);\n\t\tparser.hooks.callMemberChainOfCallMemberChain\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\n\t\t\t\t\"CommonJsImportsParserPlugin\",\n\t\t\t\t(expr, calleeMembers, innerCallExpression, members) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tcalleeMembers.length !== 0 ||\n\t\t\t\t\t\tmembers.length !== 1 ||\n\t\t\t\t\t\tmembers[0] !== \"resolve\"\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\t\t\t\t\t// createRequire().resolve()\n\t\t\t\t\treturn processResolve(expr, false);\n\t\t\t\t}\n\t\t\t);\n\t\tparser.hooks.expressionMemberChain\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", (expr, members) => {\n\t\t\t\t// require.cache\n\t\t\t\tif (members.length === 1 && members[0] === \"cache\") {\n\t\t\t\t\treturn requireCache(expr);\n\t\t\t\t}\n\t\t\t});\n\t\tparser.hooks.callMemberChain\n\t\t\t.for(createdRequireIdentifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", (expr, members) => {\n\t\t\t\t// require.resolve()\n\t\t\t\tif (members.length === 1 && members[0] === \"resolve\") {\n\t\t\t\t\treturn processResolve(expr, false);\n\t\t\t\t}\n\t\t\t});\n\t\tparser.hooks.call\n\t\t\t.for(createRequireSpecifierTag)\n\t\t\t.tap(\"CommonJsImportsParserPlugin\", expr => {\n\t\t\t\tconst clearDep = new ConstDependency(\n\t\t\t\t\t\"/* createRequire() */ undefined\",\n\t\t\t\t\texpr.range\n\t\t\t\t);\n\t\t\t\tclearDep.loc = expr.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(clearDep);\n\t\t\t\treturn true;\n\t\t\t});\n\t\t//#endregion\n\t}\n}\nmodule.exports = CommonJsImportsParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst SelfModuleFactory = __webpack_require__(/*! ../SelfModuleFactory */ \"./node_modules/webpack/lib/SelfModuleFactory.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst CommonJsExportsDependency = __webpack_require__(/*! ./CommonJsExportsDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js\");\nconst CommonJsFullRequireDependency = __webpack_require__(/*! ./CommonJsFullRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js\");\nconst CommonJsRequireContextDependency = __webpack_require__(/*! ./CommonJsRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js\");\nconst CommonJsRequireDependency = __webpack_require__(/*! ./CommonJsRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js\");\nconst CommonJsSelfReferenceDependency = __webpack_require__(/*! ./CommonJsSelfReferenceDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js\");\nconst ModuleDecoratorDependency = __webpack_require__(/*! ./ModuleDecoratorDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js\");\nconst RequireHeaderDependency = __webpack_require__(/*! ./RequireHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js\");\nconst RequireResolveContextDependency = __webpack_require__(/*! ./RequireResolveContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js\");\nconst RequireResolveDependency = __webpack_require__(/*! ./RequireResolveDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveDependency.js\");\nconst RequireResolveHeaderDependency = __webpack_require__(/*! ./RequireResolveHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js\");\nconst RuntimeRequirementsDependency = __webpack_require__(/*! ./RuntimeRequirementsDependency */ \"./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js\");\n\nconst CommonJsExportsParserPlugin = __webpack_require__(/*! ./CommonJsExportsParserPlugin */ \"./node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js\");\nconst CommonJsImportsParserPlugin = __webpack_require__(/*! ./CommonJsImportsParserPlugin */ \"./node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js\");\n\nconst {\n\tevaluateToIdentifier,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst CommonJsExportRequireDependency = __webpack_require__(/*! ./CommonJsExportRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js\");\n\nclass CommonJsPlugin {\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"CommonJsPlugin\",\n\t\t\t(compilation, { contextModuleFactory, normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCommonJsRequireDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsRequireDependency,\n\t\t\t\t\tnew CommonJsRequireDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCommonJsFullRequireDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsFullRequireDependency,\n\t\t\t\t\tnew CommonJsFullRequireDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCommonJsRequireContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsRequireContextDependency,\n\t\t\t\t\tnew CommonJsRequireContextDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRequireResolveDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireResolveDependency,\n\t\t\t\t\tnew RequireResolveDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRequireResolveContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireResolveContextDependency,\n\t\t\t\t\tnew RequireResolveContextDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireResolveHeaderDependency,\n\t\t\t\t\tnew RequireResolveHeaderDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireHeaderDependency,\n\t\t\t\t\tnew RequireHeaderDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsExportsDependency,\n\t\t\t\t\tnew CommonJsExportsDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCommonJsExportRequireDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsExportRequireDependency,\n\t\t\t\t\tnew CommonJsExportRequireDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst selfFactory = new SelfModuleFactory(compilation.moduleGraph);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tCommonJsSelfReferenceDependency,\n\t\t\t\t\tselfFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCommonJsSelfReferenceDependency,\n\t\t\t\t\tnew CommonJsSelfReferenceDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tModuleDecoratorDependency,\n\t\t\t\t\tselfFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tModuleDecoratorDependency,\n\t\t\t\t\tnew ModuleDecoratorDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(RuntimeGlobals.harmonyModuleDecorator)\n\t\t\t\t\t.tap(\"CommonJsPlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.module);\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(RuntimeGlobals.nodeModuleDecorator)\n\t\t\t\t\t.tap(\"CommonJsPlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.module);\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.harmonyModuleDecorator)\n\t\t\t\t\t.tap(\"CommonJsPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew HarmonyModuleDecoratorRuntimeModule()\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.nodeModuleDecorator)\n\t\t\t\t\t.tap(\"CommonJsPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew NodeModuleDecoratorRuntimeModule()\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.commonjs !== undefined && !parserOptions.commonjs)\n\t\t\t\t\t\treturn;\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"module\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"CommonJsPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"object\"))\n\t\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"require.main\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"CommonJsPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(\n\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleCache}[${RuntimeGlobals.entryModuleId}]`,\n\t\t\t\t\t\t\t\t[RuntimeGlobals.moduleCache, RuntimeGlobals.entryModuleId]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"module.loaded\")\n\t\t\t\t\t\t.tap(\"CommonJsPlugin\", expr => {\n\t\t\t\t\t\t\tparser.state.module.buildInfo.moduleConcatenationBailout =\n\t\t\t\t\t\t\t\t\"module.loaded\";\n\t\t\t\t\t\t\tconst dep = new RuntimeRequirementsDependency([\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleLoaded\n\t\t\t\t\t\t\t]);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"module.id\")\n\t\t\t\t\t\t.tap(\"CommonJsPlugin\", expr => {\n\t\t\t\t\t\t\tparser.state.module.buildInfo.moduleConcatenationBailout =\n\t\t\t\t\t\t\t\t\"module.id\";\n\t\t\t\t\t\t\tconst dep = new RuntimeRequirementsDependency([\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleId\n\t\t\t\t\t\t\t]);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.evaluateIdentifier.for(\"module.hot\").tap(\n\t\t\t\t\t\t\"CommonJsPlugin\",\n\t\t\t\t\t\tevaluateToIdentifier(\"module.hot\", \"module\", () => [\"hot\"], null)\n\t\t\t\t\t);\n\n\t\t\t\t\tnew CommonJsImportsParserPlugin(parserOptions).apply(parser);\n\t\t\t\t\tnew CommonJsExportsParserPlugin(compilation.moduleGraph).apply(\n\t\t\t\t\t\tparser\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"CommonJsPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"CommonJsPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nclass HarmonyModuleDecoratorRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"harmony module decorator\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn Template.asString([\n\t\t\t`${\n\t\t\t\tRuntimeGlobals.harmonyModuleDecorator\n\t\t\t} = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\"module = Object.create(module);\",\n\t\t\t\t\"if (!module.children) module.children = [];\",\n\t\t\t\t\"Object.defineProperty(module, 'exports', {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"enumerable: true,\",\n\t\t\t\t\t`set: ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\"throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\"\n\t\t\t\t\t])}`\n\t\t\t\t]),\n\t\t\t\t\"});\",\n\t\t\t\t\"return module;\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nclass NodeModuleDecoratorRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"node module decorator\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.nodeModuleDecorator} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"module\",\n\t\t\t\t[\n\t\t\t\t\t\"module.paths = [];\",\n\t\t\t\t\t\"if (!module.children) module.children = [];\",\n\t\t\t\t\t\"return module;\"\n\t\t\t\t]\n\t\t\t)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = CommonJsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\nconst ContextDependencyTemplateAsRequireCall = __webpack_require__(/*! ./ContextDependencyTemplateAsRequireCall */ \"./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js\");\n\nclass CommonJsRequireContextDependency extends ContextDependency {\n\tconstructor(options, range, valueRange, inShorthand, context) {\n\t\tsuper(options, context);\n\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t\t// inShorthand must be serialized by subclasses that use it\n\t\tthis.inShorthand = inShorthand;\n\t}\n\n\tget type() {\n\t\treturn \"cjs require context\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\t\twrite(this.inShorthand);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\t\tthis.inShorthand = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tCommonJsRequireContextDependency,\n\t\"webpack/lib/dependencies/CommonJsRequireContextDependency\"\n);\n\nCommonJsRequireContextDependency.Template =\n\tContextDependencyTemplateAsRequireCall;\n\nmodule.exports = CommonJsRequireContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\nclass CommonJsRequireDependency extends ModuleDependency {\n\tconstructor(request, range, context) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis._context = context;\n\t}\n\n\tget type() {\n\t\treturn \"cjs require\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nCommonJsRequireDependency.Template = ModuleDependencyTemplateAsId;\n\nmakeSerializable(\n\tCommonJsRequireDependency,\n\t\"webpack/lib/dependencies/CommonJsRequireDependency\"\n);\n\nmodule.exports = CommonJsRequireDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst { equals } = __webpack_require__(/*! ../util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass CommonJsSelfReferenceDependency extends NullDependency {\n\tconstructor(range, base, names, call) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.base = base;\n\t\tthis.names = names;\n\t\tthis.call = call;\n\t}\n\n\tget type() {\n\t\treturn \"cjs self exports reference\";\n\t}\n\n\tget category() {\n\t\treturn \"self\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `self`;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn [this.call ? this.names.slice(0, -1) : this.names];\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.base);\n\t\twrite(this.names);\n\t\twrite(this.call);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.base = read();\n\t\tthis.names = read();\n\t\tthis.call = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tCommonJsSelfReferenceDependency,\n\t\"webpack/lib/dependencies/CommonJsSelfReferenceDependency\"\n);\n\nCommonJsSelfReferenceDependency.Template = class CommonJsSelfReferenceDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ module, moduleGraph, runtime, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {CommonJsSelfReferenceDependency} */ (dependency);\n\t\tlet used;\n\t\tif (dep.names.length === 0) {\n\t\t\tused = dep.names;\n\t\t} else {\n\t\t\tused = moduleGraph.getExportsInfo(module).getUsedName(dep.names, runtime);\n\t\t}\n\t\tif (!used) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Self-reference dependency has unused export name: This should not happen\"\n\t\t\t);\n\t\t}\n\n\t\tlet base = undefined;\n\t\tswitch (dep.base) {\n\t\t\tcase \"exports\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\t\tbase = module.exportsArgument;\n\t\t\t\tbreak;\n\t\t\tcase \"module.exports\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\t\tbase = `${module.moduleArgument}.exports`;\n\t\t\t\tbreak;\n\t\t\tcase \"this\":\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.thisAsExports);\n\t\t\t\tbase = \"this\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unsupported base ${dep.base}`);\n\t\t}\n\n\t\tif (base === dep.base && equals(used, dep.names)) {\n\t\t\t// Nothing has to be changed\n\t\t\t// We don't use a replacement for compat reasons\n\t\t\t// for plugins that update `module._source` which they\n\t\t\t// shouldn't do!\n\t\t\treturn;\n\t\t}\n\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\t`${base}${propertyAccess(used)}`\n\t\t);\n\t}\n};\n\nmodule.exports = CommonJsSelfReferenceDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ConstDependency.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ConstDependency.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nclass ConstDependency extends NullDependency {\n\t/**\n\t * @param {string} expression the expression\n\t * @param {number|[number, number]} range the source range\n\t * @param {string[]=} runtimeRequirements runtime requirements\n\t */\n\tconstructor(expression, range, runtimeRequirements) {\n\t\tsuper();\n\t\tthis.expression = expression;\n\t\tthis.range = range;\n\t\tthis.runtimeRequirements = runtimeRequirements\n\t\t\t? new Set(runtimeRequirements)\n\t\t\t: null;\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined) {\n\t\t\tlet hashUpdate = \"\" + this.range + \"|\" + this.expression;\n\t\t\tif (this.runtimeRequirements) {\n\t\t\t\tfor (const item of this.runtimeRequirements) {\n\t\t\t\t\thashUpdate += \"|\";\n\t\t\t\t\thashUpdate += item;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._hashUpdate = hashUpdate;\n\t\t}\n\t\thash.update(this._hashUpdate);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn false;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.expression);\n\t\twrite(this.range);\n\t\twrite(this.runtimeRequirements);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.expression = read();\n\t\tthis.range = read();\n\t\tthis.runtimeRequirements = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ConstDependency, \"webpack/lib/dependencies/ConstDependency\");\n\nConstDependency.Template = class ConstDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {ConstDependency} */ (dependency);\n\t\tif (dep.runtimeRequirements) {\n\t\t\tfor (const req of dep.runtimeRequirements) {\n\t\t\t\ttemplateContext.runtimeRequirements.add(req);\n\t\t\t}\n\t\t}\n\t\tif (typeof dep.range === \"number\") {\n\t\t\tsource.insert(dep.range, dep.expression);\n\t\t\treturn;\n\t\t}\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, dep.expression);\n\t}\n};\n\nmodule.exports = ConstDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ConstDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ContextDependency.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ContextDependency.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst DependencyTemplate = __webpack_require__(/*! ../DependencyTemplate */ \"./node_modules/webpack/lib/DependencyTemplate.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../ContextModule\").ContextOptions} ContextOptions */\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n\nconst getCriticalDependencyWarning = memoize(() =>\n\t__webpack_require__(/*! ./CriticalDependencyWarning */ \"./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js\")\n);\n\n/** @typedef {ContextOptions & { request: string }} ContextDependencyOptions */\n\nconst regExpToString = r => (r ? r + \"\" : \"\");\n\nclass ContextDependency extends Dependency {\n\t/**\n\t * @param {ContextDependencyOptions} options options for the context module\n\t * @param {string=} context request context\n\t */\n\tconstructor(options, context) {\n\t\tsuper();\n\n\t\tthis.options = options;\n\t\tthis.userRequest = this.options && this.options.request;\n\t\t/** @type {false | string} */\n\t\tthis.critical = false;\n\t\tthis.hadGlobalOrStickyRegExp = false;\n\n\t\tif (\n\t\t\tthis.options &&\n\t\t\t(this.options.regExp.global || this.options.regExp.sticky)\n\t\t) {\n\t\t\tthis.options = { ...this.options, regExp: null };\n\t\t\tthis.hadGlobalOrStickyRegExp = true;\n\t\t}\n\n\t\tthis.request = undefined;\n\t\tthis.range = undefined;\n\t\tthis.valueRange = undefined;\n\t\tthis.inShorthand = undefined;\n\t\t// TODO refactor this\n\t\tthis.replaces = undefined;\n\t\tthis._requestContext = context;\n\t}\n\n\t/**\n\t * @returns {string | undefined} a request context\n\t */\n\tgetContext() {\n\t\treturn this._requestContext;\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn (\n\t\t\t`context${this._requestContext || \"\"}|ctx request${\n\t\t\t\tthis.options.request\n\t\t\t} ${this.options.recursive} ` +\n\t\t\t`${regExpToString(this.options.regExp)} ${regExpToString(\n\t\t\t\tthis.options.include\n\t\t\t)} ${regExpToString(this.options.exclude)} ` +\n\t\t\t`${this.options.mode} ${this.options.chunkName} ` +\n\t\t\t`${JSON.stringify(this.options.groupOptions)}`\n\t\t);\n\t}\n\n\t/**\n\t * Returns warnings\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} warnings\n\t */\n\tgetWarnings(moduleGraph) {\n\t\tlet warnings = super.getWarnings(moduleGraph);\n\n\t\tif (this.critical) {\n\t\t\tif (!warnings) warnings = [];\n\t\t\tconst CriticalDependencyWarning = getCriticalDependencyWarning();\n\t\t\twarnings.push(new CriticalDependencyWarning(this.critical));\n\t\t}\n\n\t\tif (this.hadGlobalOrStickyRegExp) {\n\t\t\tif (!warnings) warnings = [];\n\t\t\tconst CriticalDependencyWarning = getCriticalDependencyWarning();\n\t\t\twarnings.push(\n\t\t\t\tnew CriticalDependencyWarning(\n\t\t\t\t\t\"Contexts can't use RegExps with the 'g' or 'y' flags.\"\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\treturn warnings;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.options);\n\t\twrite(this.userRequest);\n\t\twrite(this.critical);\n\t\twrite(this.hadGlobalOrStickyRegExp);\n\t\twrite(this.request);\n\t\twrite(this._requestContext);\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\t\twrite(this.prepend);\n\t\twrite(this.replaces);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.options = read();\n\t\tthis.userRequest = read();\n\t\tthis.critical = read();\n\t\tthis.hadGlobalOrStickyRegExp = read();\n\t\tthis.request = read();\n\t\tthis._requestContext = read();\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\t\tthis.prepend = read();\n\t\tthis.replaces = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tContextDependency,\n\t\"webpack/lib/dependencies/ContextDependency\"\n);\n\nContextDependency.Template = DependencyTemplate;\n\nmodule.exports = ContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js ***! \***************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { parseResource } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"estree\").Node} EsTreeNode */\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").ModuleOptionsNormalized} ModuleOptions */\n/** @typedef {import(\"../javascript/BasicEvaluatedExpression\")} BasicEvaluatedExpression */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"./ContextDependency\")} ContextDependency */\n/** @typedef {import(\"./ContextDependency\").ContextDependencyOptions} ContextDependencyOptions */\n\n/**\n * Escapes regular expression metacharacters\n * @param {string} str String to quote\n * @returns {string} Escaped string\n */\nconst quoteMeta = str => {\n\treturn str.replace(/[-[\\]\\\\/{}()*+?.^$|]/g, \"\\\\$&\");\n};\n\nconst splitContextFromPrefix = prefix => {\n\tconst idx = prefix.lastIndexOf(\"/\");\n\tlet context = \".\";\n\tif (idx >= 0) {\n\t\tcontext = prefix.slice(0, idx);\n\t\tprefix = `.${prefix.slice(idx)}`;\n\t}\n\treturn {\n\t\tcontext,\n\t\tprefix\n\t};\n};\n\n/** @typedef {Partial<Omit<ContextDependencyOptions, \"resource\">>} PartialContextDependencyOptions */\n\n/** @typedef {{ new(options: ContextDependencyOptions, range: [number, number], valueRange: [number, number], ...args: any[]): ContextDependency }} ContextDependencyConstructor */\n\n/**\n * @param {ContextDependencyConstructor} Dep the Dependency class\n * @param {[number, number]} range source range\n * @param {BasicEvaluatedExpression} param context param\n * @param {EsTreeNode} expr expr\n * @param {Pick<JavascriptParserOptions, `${\"expr\"|\"wrapped\"}Context${\"Critical\"|\"Recursive\"|\"RegExp\"}` | \"exprContextRequest\">} options options for context creation\n * @param {PartialContextDependencyOptions} contextOptions options for the ContextModule\n * @param {JavascriptParser} parser the parser\n * @param {...any} depArgs depArgs\n * @returns {ContextDependency} the created Dependency\n */\nexports.create = (\n\tDep,\n\trange,\n\tparam,\n\texpr,\n\toptions,\n\tcontextOptions,\n\tparser,\n\t...depArgs\n) => {\n\tif (param.isTemplateString()) {\n\t\tlet prefixRaw = param.quasis[0].string;\n\t\tlet postfixRaw =\n\t\t\tparam.quasis.length > 1\n\t\t\t\t? param.quasis[param.quasis.length - 1].string\n\t\t\t\t: \"\";\n\n\t\tconst valueRange = param.range;\n\t\tconst { context, prefix } = splitContextFromPrefix(prefixRaw);\n\t\tconst {\n\t\t\tpath: postfix,\n\t\t\tquery,\n\t\t\tfragment\n\t\t} = parseResource(postfixRaw, parser);\n\n\t\t// When there are more than two quasis, the generated RegExp can be more precise\n\t\t// We join the quasis with the expression regexp\n\t\tconst innerQuasis = param.quasis.slice(1, param.quasis.length - 1);\n\t\tconst innerRegExp =\n\t\t\toptions.wrappedContextRegExp.source +\n\t\t\tinnerQuasis\n\t\t\t\t.map(q => quoteMeta(q.string) + options.wrappedContextRegExp.source)\n\t\t\t\t.join(\"\");\n\n\t\t// Example: `./context/pre${e}inner${e}inner2${e}post?query#frag`\n\t\t// context: \"./context\"\n\t\t// prefix: \"./pre\"\n\t\t// innerQuasis: [BEE(\"inner\"), BEE(\"inner2\")]\n\t\t// (BEE = BasicEvaluatedExpression)\n\t\t// postfix: \"post\"\n\t\t// query: \"?query\"\n\t\t// fragment: \"#frag\"\n\t\t// regExp: /^\\.\\/pre.*inner.*inner2.*post$/\n\t\tconst regExp = new RegExp(\n\t\t\t`^${quoteMeta(prefix)}${innerRegExp}${quoteMeta(postfix)}$`\n\t\t);\n\t\tconst dep = new Dep(\n\t\t\t{\n\t\t\t\trequest: context + query + fragment,\n\t\t\t\trecursive: options.wrappedContextRecursive,\n\t\t\t\tregExp,\n\t\t\t\tmode: \"sync\",\n\t\t\t\t...contextOptions\n\t\t\t},\n\t\t\trange,\n\t\t\tvalueRange,\n\t\t\t...depArgs\n\t\t);\n\t\tdep.loc = expr.loc;\n\t\tconst replaces = [];\n\n\t\tparam.parts.forEach((part, i) => {\n\t\t\tif (i % 2 === 0) {\n\t\t\t\t// Quasis or merged quasi\n\t\t\t\tlet range = part.range;\n\t\t\t\tlet value = part.string;\n\t\t\t\tif (param.templateStringKind === \"cooked\") {\n\t\t\t\t\tvalue = JSON.stringify(value);\n\t\t\t\t\tvalue = value.slice(1, value.length - 1);\n\t\t\t\t}\n\t\t\t\tif (i === 0) {\n\t\t\t\t\t// prefix\n\t\t\t\t\tvalue = prefix;\n\t\t\t\t\trange = [param.range[0], part.range[1]];\n\t\t\t\t\tvalue =\n\t\t\t\t\t\t(param.templateStringKind === \"cooked\" ? \"`\" : \"String.raw`\") +\n\t\t\t\t\t\tvalue;\n\t\t\t\t} else if (i === param.parts.length - 1) {\n\t\t\t\t\t// postfix\n\t\t\t\t\tvalue = postfix;\n\t\t\t\t\trange = [part.range[0], param.range[1]];\n\t\t\t\t\tvalue = value + \"`\";\n\t\t\t\t} else if (\n\t\t\t\t\tpart.expression &&\n\t\t\t\t\tpart.expression.type === \"TemplateElement\" &&\n\t\t\t\t\tpart.expression.value.raw === value\n\t\t\t\t) {\n\t\t\t\t\t// Shortcut when it's a single quasi and doesn't need to be replaced\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\treplaces.push({\n\t\t\t\t\trange,\n\t\t\t\t\tvalue\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// Expression\n\t\t\t\tparser.walkExpression(part.expression);\n\t\t\t}\n\t\t});\n\n\t\tdep.replaces = replaces;\n\t\tdep.critical =\n\t\t\toptions.wrappedContextCritical &&\n\t\t\t\"a part of the request of a dependency is an expression\";\n\t\treturn dep;\n\t} else if (\n\t\tparam.isWrapped() &&\n\t\t((param.prefix && param.prefix.isString()) ||\n\t\t\t(param.postfix && param.postfix.isString()))\n\t) {\n\t\tlet prefixRaw =\n\t\t\tparam.prefix && param.prefix.isString() ? param.prefix.string : \"\";\n\t\tlet postfixRaw =\n\t\t\tparam.postfix && param.postfix.isString() ? param.postfix.string : \"\";\n\t\tconst prefixRange =\n\t\t\tparam.prefix && param.prefix.isString() ? param.prefix.range : null;\n\t\tconst postfixRange =\n\t\t\tparam.postfix && param.postfix.isString() ? param.postfix.range : null;\n\t\tconst valueRange = param.range;\n\t\tconst { context, prefix } = splitContextFromPrefix(prefixRaw);\n\t\tconst {\n\t\t\tpath: postfix,\n\t\t\tquery,\n\t\t\tfragment\n\t\t} = parseResource(postfixRaw, parser);\n\t\tconst regExp = new RegExp(\n\t\t\t`^${quoteMeta(prefix)}${options.wrappedContextRegExp.source}${quoteMeta(\n\t\t\t\tpostfix\n\t\t\t)}$`\n\t\t);\n\t\tconst dep = new Dep(\n\t\t\t{\n\t\t\t\trequest: context + query + fragment,\n\t\t\t\trecursive: options.wrappedContextRecursive,\n\t\t\t\tregExp,\n\t\t\t\tmode: \"sync\",\n\t\t\t\t...contextOptions\n\t\t\t},\n\t\t\trange,\n\t\t\tvalueRange,\n\t\t\t...depArgs\n\t\t);\n\t\tdep.loc = expr.loc;\n\t\tconst replaces = [];\n\t\tif (prefixRange) {\n\t\t\treplaces.push({\n\t\t\t\trange: prefixRange,\n\t\t\t\tvalue: JSON.stringify(prefix)\n\t\t\t});\n\t\t}\n\t\tif (postfixRange) {\n\t\t\treplaces.push({\n\t\t\t\trange: postfixRange,\n\t\t\t\tvalue: JSON.stringify(postfix)\n\t\t\t});\n\t\t}\n\t\tdep.replaces = replaces;\n\t\tdep.critical =\n\t\t\toptions.wrappedContextCritical &&\n\t\t\t\"a part of the request of a dependency is an expression\";\n\n\t\tif (parser && param.wrappedInnerExpressions) {\n\t\t\tfor (const part of param.wrappedInnerExpressions) {\n\t\t\t\tif (part.expression) parser.walkExpression(part.expression);\n\t\t\t}\n\t\t}\n\n\t\treturn dep;\n\t} else {\n\t\tconst dep = new Dep(\n\t\t\t{\n\t\t\t\trequest: options.exprContextRequest,\n\t\t\t\trecursive: options.exprContextRecursive,\n\t\t\t\tregExp: /** @type {RegExp} */ (options.exprContextRegExp),\n\t\t\t\tmode: \"sync\",\n\t\t\t\t...contextOptions\n\t\t\t},\n\t\t\trange,\n\t\t\tparam.range,\n\t\t\t...depArgs\n\t\t);\n\t\tdep.loc = expr.loc;\n\t\tdep.critical =\n\t\t\toptions.exprContextCritical &&\n\t\t\t\"the request of a dependency is an expression\";\n\n\t\tparser.walkExpression(param.expression);\n\n\t\treturn dep;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass ContextDependencyTemplateAsId extends ContextDependency.Template {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ContextDependency} */ (dependency);\n\t\tconst moduleExports = runtimeTemplate.moduleExports({\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\tweak: dep.weak,\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tif (moduleGraph.getModule(dep)) {\n\t\t\tif (dep.valueRange) {\n\t\t\t\tif (Array.isArray(dep.replaces)) {\n\t\t\t\t\tfor (let i = 0; i < dep.replaces.length; i++) {\n\t\t\t\t\t\tconst rep = dep.replaces[i];\n\t\t\t\t\t\tsource.replace(rep.range[0], rep.range[1] - 1, rep.value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsource.replace(dep.valueRange[1], dep.range[1] - 1, \")\");\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.valueRange[0] - 1,\n\t\t\t\t\t`${moduleExports}.resolve(`\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.range[1] - 1,\n\t\t\t\t\t`${moduleExports}.resolve`\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tsource.replace(dep.range[0], dep.range[1] - 1, moduleExports);\n\t\t}\n\t}\n}\nmodule.exports = ContextDependencyTemplateAsId;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js": /*!*****************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js ***! \*****************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass ContextDependencyTemplateAsRequireCall extends ContextDependency.Template {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ContextDependency} */ (dependency);\n\t\tlet moduleExports = runtimeTemplate.moduleExports({\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tif (dep.inShorthand) {\n\t\t\tmoduleExports = `${dep.inShorthand}: ${moduleExports}`;\n\t\t}\n\t\tif (moduleGraph.getModule(dep)) {\n\t\t\tif (dep.valueRange) {\n\t\t\t\tif (Array.isArray(dep.replaces)) {\n\t\t\t\t\tfor (let i = 0; i < dep.replaces.length; i++) {\n\t\t\t\t\t\tconst rep = dep.replaces[i];\n\t\t\t\t\t\tsource.replace(rep.range[0], rep.range[1] - 1, rep.value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsource.replace(dep.valueRange[1], dep.range[1] - 1, \")\");\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\tdep.valueRange[0] - 1,\n\t\t\t\t\t`${moduleExports}(`\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsource.replace(dep.range[0], dep.range[1] - 1, moduleExports);\n\t\t\t}\n\t\t} else {\n\t\t\tsource.replace(dep.range[0], dep.range[1] - 1, moduleExports);\n\t\t}\n\t}\n}\nmodule.exports = ContextDependencyTemplateAsRequireCall;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ContextElementDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ContextElementDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass ContextElementDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {string|undefined} userRequest user request\n\t * @param {string} typePrefix type prefix\n\t * @param {string} category category\n\t * @param {string[][]=} referencedExports referenced exports\n\t * @param {string=} context context\n\t */\n\tconstructor(\n\t\trequest,\n\t\tuserRequest,\n\t\ttypePrefix,\n\t\tcategory,\n\t\treferencedExports,\n\t\tcontext\n\t) {\n\t\tsuper(request);\n\t\tthis.referencedExports = referencedExports;\n\t\tthis._typePrefix = typePrefix;\n\t\tthis._category = category;\n\t\tthis._context = context || undefined;\n\n\t\tif (userRequest) {\n\t\t\tthis.userRequest = userRequest;\n\t\t}\n\t}\n\n\tget type() {\n\t\tif (this._typePrefix) {\n\t\t\treturn `${this._typePrefix} context element`;\n\t\t}\n\n\t\treturn \"context element\";\n\t}\n\n\tget category() {\n\t\treturn this._category;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn this.referencedExports\n\t\t\t? this.referencedExports.map(e => ({\n\t\t\t\t\tname: e,\n\t\t\t\t\tcanMangle: false\n\t\t\t }))\n\t\t\t: Dependency.EXPORTS_OBJECT_REFERENCED;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this._typePrefix);\n\t\twrite(this._category);\n\t\twrite(this.referencedExports);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis._typePrefix = read();\n\t\tthis._category = read();\n\t\tthis.referencedExports = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tContextElementDependency,\n\t\"webpack/lib/dependencies/ContextElementDependency\"\n);\n\nmodule.exports = ContextElementDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ContextElementDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass CreateScriptUrlDependency extends NullDependency {\n\t/**\n\t * @param {[number, number]} range range\n\t */\n\tconstructor(range) {\n\t\tsuper();\n\t\tthis.range = range;\n\t}\n\n\tget type() {\n\t\treturn \"create script url\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nCreateScriptUrlDependency.Template = class CreateScriptUrlDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeRequirements }) {\n\t\tconst dep = /** @type {CreateScriptUrlDependency} */ (dependency);\n\n\t\truntimeRequirements.add(RuntimeGlobals.createScriptUrl);\n\n\t\tsource.insert(dep.range[0], `${RuntimeGlobals.createScriptUrl}(`);\n\t\tsource.insert(dep.range[1], \")\");\n\t}\n};\n\nmakeSerializable(\n\tCreateScriptUrlDependency,\n\t\"webpack/lib/dependencies/CreateScriptUrlDependency\"\n);\n\nmodule.exports = CreateScriptUrlDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass CriticalDependencyWarning extends WebpackError {\n\tconstructor(message) {\n\t\tsuper();\n\n\t\tthis.name = \"CriticalDependencyWarning\";\n\t\tthis.message = \"Critical dependency: \" + message;\n\t}\n}\n\nmakeSerializable(\n\tCriticalDependencyWarning,\n\t\"webpack/lib/dependencies/CriticalDependencyWarning\"\n);\n\nmodule.exports = CriticalDependencyWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CssExportDependency.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CssExportDependency.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../DependencyTemplate\").CssDependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\nclass CssExportDependency extends NullDependency {\n\t/**\n\t * @param {string} name name\n\t * @param {string} value value\n\t */\n\tconstructor(name, value) {\n\t\tsuper();\n\t\tthis.name = name;\n\t\tthis.value = value;\n\t}\n\n\tget type() {\n\t\treturn \"css :export\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tconst name = this.name;\n\t\treturn {\n\t\t\texports: [\n\t\t\t\t{\n\t\t\t\t\tname,\n\t\t\t\t\tcanMangle: true\n\t\t\t\t}\n\t\t\t],\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.name);\n\t\twrite(this.value);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.name = read();\n\t\tthis.value = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nCssExportDependency.Template = class CssExportDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { cssExports }) {\n\t\tconst dep = /** @type {CssExportDependency} */ (dependency);\n\t\tcssExports.set(dep.name, dep.value);\n\t}\n};\n\nmakeSerializable(\n\tCssExportDependency,\n\t\"webpack/lib/dependencies/CssExportDependency\"\n);\n\nmodule.exports = CssExportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CssExportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CssImportDependency.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CssImportDependency.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass CssImportDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {[number, number]} range range of the argument\n\t * @param {string | undefined} supports list of supports conditions\n\t * @param {string | undefined} media list of media conditions\n\t */\n\tconstructor(request, range, supports, media) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.supports = supports;\n\t\tthis.media = media;\n\t}\n\n\tget type() {\n\t\treturn \"css @import\";\n\t}\n\n\tget category() {\n\t\treturn \"css-import\";\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @returns {Module} a module\n\t */\n\tcreateIgnoredModule(context) {\n\t\treturn null;\n\t}\n}\n\nCssImportDependency.Template = class CssImportDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {CssImportDependency} */ (dependency);\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, \"\");\n\t}\n};\n\nmakeSerializable(\n\tCssImportDependency,\n\t\"webpack/lib/dependencies/CssImportDependency\"\n);\n\nmodule.exports = CssImportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CssImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../DependencyTemplate\").CssDependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\nclass CssLocalIdentifierDependency extends NullDependency {\n\t/**\n\t * @param {string} name name\n\t * @param {[number, number]} range range\n\t * @param {string=} prefix prefix\n\t */\n\tconstructor(name, range, prefix = \"\") {\n\t\tsuper();\n\t\tthis.name = name;\n\t\tthis.range = range;\n\t\tthis.prefix = prefix;\n\t}\n\n\tget type() {\n\t\treturn \"css local identifier\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tconst name = this.name;\n\t\treturn {\n\t\t\texports: [\n\t\t\t\t{\n\t\t\t\t\tname,\n\t\t\t\t\tcanMangle: true\n\t\t\t\t}\n\t\t\t],\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.name);\n\t\twrite(this.range);\n\t\twrite(this.prefix);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.name = read();\n\t\tthis.range = read();\n\t\tthis.prefix = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nconst escapeCssIdentifier = (str, omitUnderscore) => {\n\tconst escaped = `${str}`.replace(\n\t\t// cspell:word uffff\n\t\t/[^a-zA-Z0-9_\\u0081-\\uffff-]/g,\n\t\ts => `\\\\${s}`\n\t);\n\treturn !omitUnderscore && /^(?!--)[0-9-]/.test(escaped)\n\t\t? `_${escaped}`\n\t\t: escaped;\n};\n\nCssLocalIdentifierDependency.Template = class CssLocalIdentifierDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ module, moduleGraph, chunkGraph, runtime, runtimeTemplate, cssExports }\n\t) {\n\t\tconst dep = /** @type {CssLocalIdentifierDependency} */ (dependency);\n\t\tconst used = moduleGraph\n\t\t\t.getExportInfo(module, dep.name)\n\t\t\t.getUsedName(dep.name, runtime);\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tconst identifier =\n\t\t\tdep.prefix +\n\t\t\t(runtimeTemplate.outputOptions.uniqueName\n\t\t\t\t? runtimeTemplate.outputOptions.uniqueName + \"-\"\n\t\t\t\t: \"\") +\n\t\t\t(used ? moduleId + \"-\" + used : \"-\");\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\tescapeCssIdentifier(identifier, dep.prefix)\n\t\t);\n\t\tif (used) cssExports.set(used, identifier);\n\t}\n};\n\nmakeSerializable(\n\tCssLocalIdentifierDependency,\n\t\"webpack/lib/dependencies/CssLocalIdentifierDependency\"\n);\n\nmodule.exports = CssLocalIdentifierDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst CssLocalIdentifierDependency = __webpack_require__(/*! ./CssLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").CssDependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass CssSelfLocalIdentifierDependency extends CssLocalIdentifierDependency {\n\t/**\n\t * @param {string} name name\n\t * @param {[number, number]} range range\n\t * @param {string=} prefix prefix\n\t * @param {Set<string>=} declaredSet set of declared names (will only be active when in declared set)\n\t */\n\tconstructor(name, range, prefix = \"\", declaredSet = undefined) {\n\t\tsuper(name, range, prefix);\n\t\tthis.declaredSet = declaredSet;\n\t}\n\n\tget type() {\n\t\treturn \"css self local identifier\";\n\t}\n\n\tget category() {\n\t\treturn \"self\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `self`;\n\t}\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tif (this.declaredSet && !this.declaredSet.has(this.name)) return;\n\t\treturn super.getExports(moduleGraph);\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tif (this.declaredSet && !this.declaredSet.has(this.name))\n\t\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t\treturn [[this.name]];\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.declaredSet);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.declaredSet = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nCssSelfLocalIdentifierDependency.Template = class CssSelfLocalIdentifierDependencyTemplate extends (\n\tCssLocalIdentifierDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {CssSelfLocalIdentifierDependency} */ (dependency);\n\t\tif (dep.declaredSet && !dep.declaredSet.has(dep.name)) return;\n\t\tsuper.apply(dependency, source, templateContext);\n\t}\n};\n\nmakeSerializable(\n\tCssSelfLocalIdentifierDependency,\n\t\"webpack/lib/dependencies/CssSelfLocalIdentifierDependency\"\n);\n\nmodule.exports = CssSelfLocalIdentifierDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/CssUrlDependency.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/CssUrlDependency.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst getRawDataUrlModule = memoize(() => __webpack_require__(/*! ../asset/RawDataUrlModule */ \"./node_modules/webpack/lib/asset/RawDataUrlModule.js\"));\n\nclass CssUrlDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {[number, number]} range range of the argument\n\t * @param {string} cssFunctionKind kind of css function, e. g. url(), image()\n\t */\n\tconstructor(request, range, cssFunctionKind) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.cssFunctionKind = cssFunctionKind;\n\t}\n\n\tget type() {\n\t\treturn \"css url()\";\n\t}\n\n\tget category() {\n\t\treturn \"url\";\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @returns {Module} a module\n\t */\n\tcreateIgnoredModule(context) {\n\t\tconst RawDataUrlModule = getRawDataUrlModule();\n\t\treturn new RawDataUrlModule(\"data:,\", `ignored-asset`, `(ignored asset)`);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.cssFunctionKind);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.cssFunctionKind = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nconst cssEscapeString = str => {\n\tlet countWhiteOrBracket = 0;\n\tlet countQuotation = 0;\n\tlet countApostrophe = 0;\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst cc = str.charCodeAt(i);\n\t\tswitch (cc) {\n\t\t\tcase 9: // tab\n\t\t\tcase 10: // nl\n\t\t\tcase 32: // space\n\t\t\tcase 40: // (\n\t\t\tcase 41: // )\n\t\t\t\tcountWhiteOrBracket++;\n\t\t\t\tbreak;\n\t\t\tcase 34:\n\t\t\t\tcountQuotation++;\n\t\t\t\tbreak;\n\t\t\tcase 39:\n\t\t\t\tcountApostrophe++;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tif (countWhiteOrBracket < 2) {\n\t\treturn str.replace(/[\\n\\t ()'\"\\\\]/g, m => `\\\\${m}`);\n\t} else if (countQuotation <= countApostrophe) {\n\t\treturn `\"${str.replace(/[\\n\"\\\\]/g, m => `\\\\${m}`)}\"`;\n\t} else {\n\t\treturn `'${str.replace(/[\\n'\\\\]/g, m => `\\\\${m}`)}'`;\n\t}\n};\n\nCssUrlDependency.Template = class CssUrlDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtime, moduleGraph, runtimeTemplate, codeGenerationResults }\n\t) {\n\t\tconst dep = /** @type {CssUrlDependency} */ (dependency);\n\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\t`${dep.cssFunctionKind}(${cssEscapeString(\n\t\t\t\truntimeTemplate.assetUrl({\n\t\t\t\t\tpublicPath: \"\",\n\t\t\t\t\truntime,\n\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\tcodeGenerationResults\n\t\t\t\t})\n\t\t\t)})`\n\t\t);\n\t}\n};\n\nmakeSerializable(CssUrlDependency, \"webpack/lib/dependencies/CssUrlDependency\");\n\nmodule.exports = CssUrlDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/CssUrlDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\nclass DelegatedSourceDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"delegated source\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tDelegatedSourceDependency,\n\t\"webpack/lib/dependencies/DelegatedSourceDependency\"\n);\n\nmodule.exports = DelegatedSourceDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/DllEntryDependency.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/DllEntryDependency.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass DllEntryDependency extends Dependency {\n\tconstructor(dependencies, name) {\n\t\tsuper();\n\n\t\tthis.dependencies = dependencies;\n\t\tthis.name = name;\n\t}\n\n\tget type() {\n\t\treturn \"dll entry\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.dependencies);\n\t\twrite(this.name);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.dependencies = read();\n\t\tthis.name = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tDllEntryDependency,\n\t\"webpack/lib/dependencies/DllEntryDependency\"\n);\n\nmodule.exports = DllEntryDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/DllEntryDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/DynamicExports.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/DynamicExports.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n\n/** @type {WeakMap<ParserState, boolean>} */\nconst parserStateExportsState = new WeakMap();\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.bailout = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\tparserStateExportsState.set(parserState, false);\n\tif (value === true) {\n\t\tparserState.module.buildMeta.exportsType = undefined;\n\t\tparserState.module.buildMeta.defaultObject = false;\n\t}\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.enable = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\tif (value === false) return;\n\tparserStateExportsState.set(parserState, true);\n\tif (value !== true) {\n\t\tparserState.module.buildMeta.exportsType = \"default\";\n\t\tparserState.module.buildMeta.defaultObject = \"redirect\";\n\t}\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.setFlagged = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\tif (value !== true) return;\n\tconst buildMeta = parserState.module.buildMeta;\n\tif (buildMeta.exportsType === \"dynamic\") return;\n\tbuildMeta.exportsType = \"flagged\";\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.setDynamic = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\tif (value !== true) return;\n\tparserState.module.buildMeta.exportsType = \"dynamic\";\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {boolean} true, when enabled\n */\nexports.isEnabled = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\treturn value === true;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/DynamicExports.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/EntryDependency.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/EntryDependency.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\nclass EntryDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request path for entry\n\t */\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"entry\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(EntryDependency, \"webpack/lib/dependencies/EntryDependency\");\n\nmodule.exports = EntryDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/EntryDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ExportsInfoDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ExportsInfoDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {Module} module the module\n * @param {string | null} exportName name of the export if any\n * @param {string | null} property name of the requested property\n * @param {RuntimeSpec} runtime for which runtime\n * @returns {any} value of the property\n */\nconst getProperty = (moduleGraph, module, exportName, property, runtime) => {\n\tif (!exportName) {\n\t\tswitch (property) {\n\t\t\tcase \"usedExports\": {\n\t\t\t\tconst usedExports = moduleGraph\n\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t.getUsedExports(runtime);\n\t\t\t\tif (\n\t\t\t\t\ttypeof usedExports === \"boolean\" ||\n\t\t\t\t\tusedExports === undefined ||\n\t\t\t\t\tusedExports === null\n\t\t\t\t) {\n\t\t\t\t\treturn usedExports;\n\t\t\t\t}\n\t\t\t\treturn Array.from(usedExports).sort();\n\t\t\t}\n\t\t}\n\t}\n\tswitch (property) {\n\t\tcase \"canMangle\": {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\tconst exportInfo = exportsInfo.getExportInfo(exportName);\n\t\t\tif (exportInfo) return exportInfo.canMangle;\n\t\t\treturn exportsInfo.otherExportsInfo.canMangle;\n\t\t}\n\t\tcase \"used\":\n\t\t\treturn (\n\t\t\t\tmoduleGraph.getExportsInfo(module).getUsed(exportName, runtime) !==\n\t\t\t\tUsageState.Unused\n\t\t\t);\n\t\tcase \"useInfo\": {\n\t\t\tconst state = moduleGraph\n\t\t\t\t.getExportsInfo(module)\n\t\t\t\t.getUsed(exportName, runtime);\n\t\t\tswitch (state) {\n\t\t\t\tcase UsageState.Used:\n\t\t\t\tcase UsageState.OnlyPropertiesUsed:\n\t\t\t\t\treturn true;\n\t\t\t\tcase UsageState.Unused:\n\t\t\t\t\treturn false;\n\t\t\t\tcase UsageState.NoInfo:\n\t\t\t\t\treturn undefined;\n\t\t\t\tcase UsageState.Unknown:\n\t\t\t\t\treturn null;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unexpected UsageState ${state}`);\n\t\t\t}\n\t\t}\n\t\tcase \"provideInfo\":\n\t\t\treturn moduleGraph.getExportsInfo(module).isExportProvided(exportName);\n\t}\n\treturn undefined;\n};\n\nclass ExportsInfoDependency extends NullDependency {\n\tconstructor(range, exportName, property) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.exportName = exportName;\n\t\tthis.property = property;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.exportName);\n\t\twrite(this.property);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst obj = new ExportsInfoDependency(\n\t\t\tcontext.read(),\n\t\t\tcontext.read(),\n\t\t\tcontext.read()\n\t\t);\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tExportsInfoDependency,\n\t\"webpack/lib/dependencies/ExportsInfoDependency\"\n);\n\nExportsInfoDependency.Template = class ExportsInfoDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { module, moduleGraph, runtime }) {\n\t\tconst dep = /** @type {ExportsInfoDependency} */ (dependency);\n\n\t\tconst value = getProperty(\n\t\t\tmoduleGraph,\n\t\t\tmodule,\n\t\t\tdep.exportName,\n\t\t\tdep.property,\n\t\t\truntime\n\t\t);\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\tvalue === undefined ? \"undefined\" : JSON.stringify(value)\n\t\t);\n\t}\n};\n\nmodule.exports = ExportsInfoDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ExportsInfoDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"./HarmonyAcceptImportDependency\")} HarmonyAcceptImportDependency */\n\nclass HarmonyAcceptDependency extends NullDependency {\n\t/**\n\t * @param {[number, number]} range expression range\n\t * @param {HarmonyAcceptImportDependency[]} dependencies import dependencies\n\t * @param {boolean} hasCallback true, if the range wraps an existing callback\n\t */\n\tconstructor(range, dependencies, hasCallback) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.dependencies = dependencies;\n\t\tthis.hasCallback = hasCallback;\n\t}\n\n\tget type() {\n\t\treturn \"accepted harmony modules\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.dependencies);\n\t\twrite(this.hasCallback);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.dependencies = read();\n\t\tthis.hasCallback = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyAcceptDependency,\n\t\"webpack/lib/dependencies/HarmonyAcceptDependency\"\n);\n\nHarmonyAcceptDependency.Template = class HarmonyAcceptDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {HarmonyAcceptDependency} */ (dependency);\n\t\tconst {\n\t\t\tmodule,\n\t\t\truntime,\n\t\t\truntimeRequirements,\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph,\n\t\t\tchunkGraph\n\t\t} = templateContext;\n\t\tconst content = dep.dependencies\n\t\t\t.map(dependency => {\n\t\t\t\tconst referencedModule = moduleGraph.getModule(dependency);\n\t\t\t\treturn {\n\t\t\t\t\tdependency,\n\t\t\t\t\truntimeCondition: referencedModule\n\t\t\t\t\t\t? HarmonyImportDependency.Template.getImportEmittedRuntime(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\treferencedModule\n\t\t\t\t\t\t )\n\t\t\t\t\t\t: false\n\t\t\t\t};\n\t\t\t})\n\t\t\t.filter(({ runtimeCondition }) => runtimeCondition !== false)\n\t\t\t.map(({ dependency, runtimeCondition }) => {\n\t\t\t\tconst condition = runtimeTemplate.runtimeConditionExpression({\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime,\n\t\t\t\t\truntimeCondition,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t});\n\t\t\t\tconst s = dependency.getImportStatement(true, templateContext);\n\t\t\t\tconst code = s[0] + s[1];\n\t\t\t\tif (condition !== \"true\") {\n\t\t\t\t\treturn `if (${condition}) {\\n${Template.indent(code)}\\n}\\n`;\n\t\t\t\t}\n\t\t\t\treturn code;\n\t\t\t})\n\t\t\t.join(\"\");\n\n\t\tif (dep.hasCallback) {\n\t\t\tif (runtimeTemplate.supportsArrowFunction()) {\n\t\t\t\tsource.insert(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\t`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${content}(`\n\t\t\t\t);\n\t\t\t\tsource.insert(dep.range[1], \")(__WEBPACK_OUTDATED_DEPENDENCIES__); }\");\n\t\t\t} else {\n\t\t\t\tsource.insert(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\t`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${content}(`\n\t\t\t\t);\n\t\t\t\tsource.insert(\n\t\t\t\t\tdep.range[1],\n\t\t\t\t\t\")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)\"\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\tsource.insert(\n\t\t\tdep.range[1] - 0.5,\n\t\t\t`, ${arrow ? \"() =>\" : \"function()\"} { ${content} }`\n\t\t);\n\t}\n};\n\nmodule.exports = HarmonyAcceptDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass HarmonyAcceptImportDependency extends HarmonyImportDependency {\n\tconstructor(request) {\n\t\tsuper(request, NaN);\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"harmony accept\";\n\t}\n}\n\nmakeSerializable(\n\tHarmonyAcceptImportDependency,\n\t\"webpack/lib/dependencies/HarmonyAcceptImportDependency\"\n);\n\nHarmonyAcceptImportDependency.Template =\n\t/** @type {typeof HarmonyImportDependency.Template} */ (\n\t\tNullDependency.Template\n\t);\n\nmodule.exports = HarmonyAcceptImportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n\nclass HarmonyCompatibilityDependency extends NullDependency {\n\tget type() {\n\t\treturn \"harmony export header\";\n\t}\n}\n\nmakeSerializable(\n\tHarmonyCompatibilityDependency,\n\t\"webpack/lib/dependencies/HarmonyCompatibilityDependency\"\n);\n\nHarmonyCompatibilityDependency.Template = class HarmonyExportDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{\n\t\t\tmodule,\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph,\n\t\t\tinitFragments,\n\t\t\truntimeRequirements,\n\t\t\truntime,\n\t\t\tconcatenationScope\n\t\t}\n\t) {\n\t\tif (concatenationScope) return;\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\tif (\n\t\t\texportsInfo.getReadOnlyExportInfo(\"__esModule\").getUsed(runtime) !==\n\t\t\tUsageState.Unused\n\t\t) {\n\t\t\tconst content = runtimeTemplate.defineEsModuleFlagStatement({\n\t\t\t\texportsArgument: module.exportsArgument,\n\t\t\t\truntimeRequirements\n\t\t\t});\n\t\t\tinitFragments.push(\n\t\t\t\tnew InitFragment(\n\t\t\t\t\tcontent,\n\t\t\t\t\tInitFragment.STAGE_HARMONY_EXPORTS,\n\t\t\t\t\t0,\n\t\t\t\t\t\"harmony compatibility\"\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t\tif (moduleGraph.isAsync(module)) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\truntimeRequirements.add(RuntimeGlobals.asyncModule);\n\t\t\tinitFragments.push(\n\t\t\t\tnew InitFragment(\n\t\t\t\t\truntimeTemplate.supportsArrowFunction()\n\t\t\t\t\t\t? `${RuntimeGlobals.asyncModule}(${module.moduleArgument}, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {\\n`\n\t\t\t\t\t\t: `${RuntimeGlobals.asyncModule}(${module.moduleArgument}, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {\\n`,\n\t\t\t\t\tInitFragment.STAGE_ASYNC_BOUNDARY,\n\t\t\t\t\t0,\n\t\t\t\t\tundefined,\n\t\t\t\t\t`\\n__webpack_async_result__();\\n} catch(e) { __webpack_async_result__(e); } }${\n\t\t\t\t\t\tmodule.buildMeta.async ? \", 1\" : \"\"\n\t\t\t\t\t});`\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}\n};\n\nmodule.exports = HarmonyCompatibilityDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst DynamicExports = __webpack_require__(/*! ./DynamicExports */ \"./node_modules/webpack/lib/dependencies/DynamicExports.js\");\nconst HarmonyCompatibilityDependency = __webpack_require__(/*! ./HarmonyCompatibilityDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js\");\nconst HarmonyExports = __webpack_require__(/*! ./HarmonyExports */ \"./node_modules/webpack/lib/dependencies/HarmonyExports.js\");\n\nmodule.exports = class HarmonyDetectionParserPlugin {\n\tconstructor(options) {\n\t\tconst { topLevelAwait = false } = options || {};\n\t\tthis.topLevelAwait = topLevelAwait;\n\t}\n\n\tapply(parser) {\n\t\tparser.hooks.program.tap(\"HarmonyDetectionParserPlugin\", ast => {\n\t\t\tconst isStrictHarmony = parser.state.module.type === \"javascript/esm\";\n\t\t\tconst isHarmony =\n\t\t\t\tisStrictHarmony ||\n\t\t\t\tast.body.some(\n\t\t\t\t\tstatement =>\n\t\t\t\t\t\tstatement.type === \"ImportDeclaration\" ||\n\t\t\t\t\t\tstatement.type === \"ExportDefaultDeclaration\" ||\n\t\t\t\t\t\tstatement.type === \"ExportNamedDeclaration\" ||\n\t\t\t\t\t\tstatement.type === \"ExportAllDeclaration\"\n\t\t\t\t);\n\t\t\tif (isHarmony) {\n\t\t\t\tconst module = parser.state.module;\n\t\t\t\tconst compatDep = new HarmonyCompatibilityDependency();\n\t\t\t\tcompatDep.loc = {\n\t\t\t\t\tstart: {\n\t\t\t\t\t\tline: -1,\n\t\t\t\t\t\tcolumn: 0\n\t\t\t\t\t},\n\t\t\t\t\tend: {\n\t\t\t\t\t\tline: -1,\n\t\t\t\t\t\tcolumn: 0\n\t\t\t\t\t},\n\t\t\t\t\tindex: -3\n\t\t\t\t};\n\t\t\t\tmodule.addPresentationalDependency(compatDep);\n\t\t\t\tDynamicExports.bailout(parser.state);\n\t\t\t\tHarmonyExports.enable(parser.state, isStrictHarmony);\n\t\t\t\tparser.scope.isStrict = true;\n\t\t\t}\n\t\t});\n\n\t\tparser.hooks.topLevelAwait.tap(\"HarmonyDetectionParserPlugin\", () => {\n\t\t\tconst module = parser.state.module;\n\t\t\tif (!this.topLevelAwait) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Top-level-await is only supported in EcmaScript Modules\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tmodule.buildMeta.async = true;\n\t\t});\n\n\t\tconst skipInHarmony = () => {\n\t\t\tif (HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\n\t\tconst nullInHarmony = () => {\n\t\t\tif (HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t};\n\n\t\tconst nonHarmonyIdentifiers = [\"define\", \"exports\"];\n\t\tfor (const identifier of nonHarmonyIdentifiers) {\n\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t.for(identifier)\n\t\t\t\t.tap(\"HarmonyDetectionParserPlugin\", nullInHarmony);\n\t\t\tparser.hooks.typeof\n\t\t\t\t.for(identifier)\n\t\t\t\t.tap(\"HarmonyDetectionParserPlugin\", skipInHarmony);\n\t\t\tparser.hooks.evaluate\n\t\t\t\t.for(identifier)\n\t\t\t\t.tap(\"HarmonyDetectionParserPlugin\", nullInHarmony);\n\t\t\tparser.hooks.expression\n\t\t\t\t.for(identifier)\n\t\t\t\t.tap(\"HarmonyDetectionParserPlugin\", skipInHarmony);\n\t\t\tparser.hooks.call\n\t\t\t\t.for(identifier)\n\t\t\t\t.tap(\"HarmonyDetectionParserPlugin\", skipInHarmony);\n\t\t}\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js": /*!********************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js ***! \********************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyImportSpecifierDependency = __webpack_require__(/*! ./HarmonyImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\n/**\n * Dependency for static evaluating import specifier. e.g.\n * @example\n * import a from \"a\";\n * \"x\" in a;\n * a.x !== undefined; // if x value statically analyzable\n */\nclass HarmonyEvaluatedImportSpecifierDependency extends HarmonyImportSpecifierDependency {\n\tconstructor(request, sourceOrder, ids, name, range, assertions, operator) {\n\t\tsuper(request, sourceOrder, ids, name, range, false, assertions);\n\t\tthis.operator = operator;\n\t}\n\n\tget type() {\n\t\treturn `evaluated X ${this.operator} harmony import specifier`;\n\t}\n\n\tserialize(context) {\n\t\tsuper.serialize(context);\n\t\tconst { write } = context;\n\t\twrite(this.operator);\n\t}\n\n\tdeserialize(context) {\n\t\tsuper.deserialize(context);\n\t\tconst { read } = context;\n\t\tthis.operator = read();\n\t}\n}\n\nmakeSerializable(\n\tHarmonyEvaluatedImportSpecifierDependency,\n\t\"webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency\"\n);\n\nHarmonyEvaluatedImportSpecifierDependency.Template = class HarmonyEvaluatedImportSpecifierDependencyTemplate extends (\n\tHarmonyImportSpecifierDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {HarmonyEvaluatedImportSpecifierDependency} */ (\n\t\t\tdependency\n\t\t);\n\t\tconst { module, moduleGraph, runtime } = templateContext;\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\t// Skip rendering depending when dependency is conditional\n\t\tif (connection && !connection.isTargetActive(runtime)) return;\n\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(connection.module);\n\t\tconst ids = dep.getIds(moduleGraph);\n\n\t\tlet value;\n\n\t\tconst exportsType = connection.module.getExportsType(\n\t\t\tmoduleGraph,\n\t\t\tmodule.buildMeta.strictHarmonyModule\n\t\t);\n\t\tswitch (exportsType) {\n\t\t\tcase \"default-with-named\": {\n\t\t\t\tif (ids[0] === \"default\") {\n\t\t\t\t\tvalue =\n\t\t\t\t\t\tids.length === 1 || exportsInfo.isExportProvided(ids.slice(1));\n\t\t\t\t} else {\n\t\t\t\t\tvalue = exportsInfo.isExportProvided(ids);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"namespace\": {\n\t\t\t\tif (ids[0] === \"__esModule\") {\n\t\t\t\t\tvalue = ids.length === 1 || undefined;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = exportsInfo.isExportProvided(ids);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"dynamic\": {\n\t\t\t\tif (ids[0] !== \"default\") {\n\t\t\t\t\tvalue = exportsInfo.isExportProvided(ids);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t// default-only could lead to runtime error, when default value is primitive\n\t\t}\n\n\t\tif (typeof value === \"boolean\") {\n\t\t\tsource.replace(dep.range[0], dep.range[1] - 1, ` ${value}`);\n\t\t} else {\n\t\t\tconst usedName = exportsInfo.getUsedName(ids, runtime);\n\n\t\t\tconst code = this._getCodeForIds(\n\t\t\t\tdep,\n\t\t\t\tsource,\n\t\t\t\ttemplateContext,\n\t\t\t\tids.slice(0, -1)\n\t\t\t);\n\t\t\tsource.replace(\n\t\t\t\tdep.range[0],\n\t\t\t\tdep.range[1] - 1,\n\t\t\t\t`${\n\t\t\t\t\tusedName ? JSON.stringify(usedName[usedName.length - 1]) : '\"\"'\n\t\t\t\t} in ${code}`\n\t\t\t);\n\t\t}\n\t}\n};\n\nmodule.exports = HarmonyEvaluatedImportSpecifierDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js ***! \**************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst InnerGraph = __webpack_require__(/*! ../optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst HarmonyExportExpressionDependency = __webpack_require__(/*! ./HarmonyExportExpressionDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js\");\nconst HarmonyExportHeaderDependency = __webpack_require__(/*! ./HarmonyExportHeaderDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js\");\nconst HarmonyExportImportedSpecifierDependency = __webpack_require__(/*! ./HarmonyExportImportedSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js\");\nconst HarmonyExportSpecifierDependency = __webpack_require__(/*! ./HarmonyExportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js\");\nconst { ExportPresenceModes } = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst {\n\tharmonySpecifierTag,\n\tgetAssertions\n} = __webpack_require__(/*! ./HarmonyImportDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js\");\nconst HarmonyImportSideEffectDependency = __webpack_require__(/*! ./HarmonyImportSideEffectDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js\");\n\nconst { HarmonyStarExportsList } = HarmonyExportImportedSpecifierDependency;\n\nmodule.exports = class HarmonyExportDependencyParserPlugin {\n\tconstructor(options) {\n\t\tthis.exportPresenceMode =\n\t\t\toptions.reexportExportsPresence !== undefined\n\t\t\t\t? ExportPresenceModes.fromUserOption(options.reexportExportsPresence)\n\t\t\t\t: options.exportsPresence !== undefined\n\t\t\t\t? ExportPresenceModes.fromUserOption(options.exportsPresence)\n\t\t\t\t: options.strictExportPresence\n\t\t\t\t? ExportPresenceModes.ERROR\n\t\t\t\t: ExportPresenceModes.AUTO;\n\t}\n\n\tapply(parser) {\n\t\tconst { exportPresenceMode } = this;\n\t\tparser.hooks.export.tap(\n\t\t\t\"HarmonyExportDependencyParserPlugin\",\n\t\t\tstatement => {\n\t\t\t\tconst dep = new HarmonyExportHeaderDependency(\n\t\t\t\t\tstatement.declaration && statement.declaration.range,\n\t\t\t\t\tstatement.range\n\t\t\t\t);\n\t\t\t\tdep.loc = Object.create(statement.loc);\n\t\t\t\tdep.loc.index = -1;\n\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.exportImport.tap(\n\t\t\t\"HarmonyExportDependencyParserPlugin\",\n\t\t\t(statement, source) => {\n\t\t\t\tparser.state.lastHarmonyImportOrder =\n\t\t\t\t\t(parser.state.lastHarmonyImportOrder || 0) + 1;\n\t\t\t\tconst clearDep = new ConstDependency(\"\", statement.range);\n\t\t\t\tclearDep.loc = Object.create(statement.loc);\n\t\t\t\tclearDep.loc.index = -1;\n\t\t\t\tparser.state.module.addPresentationalDependency(clearDep);\n\t\t\t\tconst sideEffectDep = new HarmonyImportSideEffectDependency(\n\t\t\t\t\tsource,\n\t\t\t\t\tparser.state.lastHarmonyImportOrder,\n\t\t\t\t\tgetAssertions(statement)\n\t\t\t\t);\n\t\t\t\tsideEffectDep.loc = Object.create(statement.loc);\n\t\t\t\tsideEffectDep.loc.index = -1;\n\t\t\t\tparser.state.current.addDependency(sideEffectDep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.exportExpression.tap(\n\t\t\t\"HarmonyExportDependencyParserPlugin\",\n\t\t\t(statement, expr) => {\n\t\t\t\tconst isFunctionDeclaration = expr.type === \"FunctionDeclaration\";\n\t\t\t\tconst comments = parser.getComments([\n\t\t\t\t\tstatement.range[0],\n\t\t\t\t\texpr.range[0]\n\t\t\t\t]);\n\t\t\t\tconst dep = new HarmonyExportExpressionDependency(\n\t\t\t\t\texpr.range,\n\t\t\t\t\tstatement.range,\n\t\t\t\t\tcomments\n\t\t\t\t\t\t.map(c => {\n\t\t\t\t\t\t\tswitch (c.type) {\n\t\t\t\t\t\t\t\tcase \"Block\":\n\t\t\t\t\t\t\t\t\treturn `/*${c.value}*/`;\n\t\t\t\t\t\t\t\tcase \"Line\":\n\t\t\t\t\t\t\t\t\treturn `//${c.value}\\n`;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn \"\";\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.join(\"\"),\n\t\t\t\t\texpr.type.endsWith(\"Declaration\") && expr.id\n\t\t\t\t\t\t? expr.id.name\n\t\t\t\t\t\t: isFunctionDeclaration\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tid: expr.id ? expr.id.name : undefined,\n\t\t\t\t\t\t\t\trange: [\n\t\t\t\t\t\t\t\t\texpr.range[0],\n\t\t\t\t\t\t\t\t\texpr.params.length > 0\n\t\t\t\t\t\t\t\t\t\t? expr.params[0].range[0]\n\t\t\t\t\t\t\t\t\t\t: expr.body.range[0]\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tprefix: `${expr.async ? \"async \" : \"\"}function${\n\t\t\t\t\t\t\t\t\texpr.generator ? \"*\" : \"\"\n\t\t\t\t\t\t\t\t} `,\n\t\t\t\t\t\t\t\tsuffix: `(${expr.params.length > 0 ? \"\" : \") \"}`\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: undefined\n\t\t\t\t);\n\t\t\t\tdep.loc = Object.create(statement.loc);\n\t\t\t\tdep.loc.index = -1;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\tInnerGraph.addVariableUsage(\n\t\t\t\t\tparser,\n\t\t\t\t\texpr.type.endsWith(\"Declaration\") && expr.id\n\t\t\t\t\t\t? expr.id.name\n\t\t\t\t\t\t: \"*default*\",\n\t\t\t\t\t\"default\"\n\t\t\t\t);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.exportSpecifier.tap(\n\t\t\t\"HarmonyExportDependencyParserPlugin\",\n\t\t\t(statement, id, name, idx) => {\n\t\t\t\tconst settings = parser.getTagData(id, harmonySpecifierTag);\n\t\t\t\tlet dep;\n\t\t\t\tconst harmonyNamedExports = (parser.state.harmonyNamedExports =\n\t\t\t\t\tparser.state.harmonyNamedExports || new Set());\n\t\t\t\tharmonyNamedExports.add(name);\n\t\t\t\tInnerGraph.addVariableUsage(parser, id, name);\n\t\t\t\tif (settings) {\n\t\t\t\t\tdep = new HarmonyExportImportedSpecifierDependency(\n\t\t\t\t\t\tsettings.source,\n\t\t\t\t\t\tsettings.sourceOrder,\n\t\t\t\t\t\tsettings.ids,\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tharmonyNamedExports,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\texportPresenceMode,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tsettings.assertions\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tdep = new HarmonyExportSpecifierDependency(id, name);\n\t\t\t\t}\n\t\t\t\tdep.loc = Object.create(statement.loc);\n\t\t\t\tdep.loc.index = idx;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.exportImportSpecifier.tap(\n\t\t\t\"HarmonyExportDependencyParserPlugin\",\n\t\t\t(statement, source, id, name, idx) => {\n\t\t\t\tconst harmonyNamedExports = (parser.state.harmonyNamedExports =\n\t\t\t\t\tparser.state.harmonyNamedExports || new Set());\n\t\t\t\tlet harmonyStarExports = null;\n\t\t\t\tif (name) {\n\t\t\t\t\tharmonyNamedExports.add(name);\n\t\t\t\t} else {\n\t\t\t\t\tharmonyStarExports = parser.state.harmonyStarExports =\n\t\t\t\t\t\tparser.state.harmonyStarExports || new HarmonyStarExportsList();\n\t\t\t\t}\n\t\t\t\tconst dep = new HarmonyExportImportedSpecifierDependency(\n\t\t\t\t\tsource,\n\t\t\t\t\tparser.state.lastHarmonyImportOrder,\n\t\t\t\t\tid ? [id] : [],\n\t\t\t\t\tname,\n\t\t\t\t\tharmonyNamedExports,\n\t\t\t\t\tharmonyStarExports && harmonyStarExports.slice(),\n\t\t\t\t\texportPresenceMode,\n\t\t\t\t\tharmonyStarExports\n\t\t\t\t);\n\t\t\t\tif (harmonyStarExports) {\n\t\t\t\t\tharmonyStarExports.push(dep);\n\t\t\t\t}\n\t\t\t\tdep.loc = Object.create(statement.loc);\n\t\t\t\tdep.loc.index = idx;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js": /*!************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js ***! \************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConcatenationScope = __webpack_require__(/*! ../ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyExportInitFragment = __webpack_require__(/*! ./HarmonyExportInitFragment */ \"./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n\nclass HarmonyExportExpressionDependency extends NullDependency {\n\tconstructor(range, rangeStatement, prefix, declarationId) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.rangeStatement = rangeStatement;\n\t\tthis.prefix = prefix;\n\t\tthis.declarationId = declarationId;\n\t}\n\n\tget type() {\n\t\treturn \"harmony export expression\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\treturn {\n\t\t\texports: [\"default\"],\n\t\t\tpriority: 1,\n\t\t\tterminalBinding: true,\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\t// The expression/declaration is already covered by SideEffectsFlagPlugin\n\t\treturn false;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.rangeStatement);\n\t\twrite(this.prefix);\n\t\twrite(this.declarationId);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.rangeStatement = read();\n\t\tthis.prefix = read();\n\t\tthis.declarationId = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyExportExpressionDependency,\n\t\"webpack/lib/dependencies/HarmonyExportExpressionDependency\"\n);\n\nHarmonyExportExpressionDependency.Template = class HarmonyExportDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{\n\t\t\tmodule,\n\t\t\tmoduleGraph,\n\t\t\truntimeTemplate,\n\t\t\truntimeRequirements,\n\t\t\tinitFragments,\n\t\t\truntime,\n\t\t\tconcatenationScope\n\t\t}\n\t) {\n\t\tconst dep = /** @type {HarmonyExportExpressionDependency} */ (dependency);\n\t\tconst { declarationId } = dep;\n\t\tconst exportsName = module.exportsArgument;\n\t\tif (declarationId) {\n\t\t\tlet name;\n\t\t\tif (typeof declarationId === \"string\") {\n\t\t\t\tname = declarationId;\n\t\t\t} else {\n\t\t\t\tname = ConcatenationScope.DEFAULT_EXPORT;\n\t\t\t\tsource.replace(\n\t\t\t\t\tdeclarationId.range[0],\n\t\t\t\t\tdeclarationId.range[1] - 1,\n\t\t\t\t\t`${declarationId.prefix}${name}${declarationId.suffix}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (concatenationScope) {\n\t\t\t\tconcatenationScope.registerExport(\"default\", name);\n\t\t\t} else {\n\t\t\t\tconst used = moduleGraph\n\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t.getUsedName(\"default\", runtime);\n\t\t\t\tif (used) {\n\t\t\t\t\tconst map = new Map();\n\t\t\t\t\tmap.set(used, `/* export default binding */ ${name}`);\n\t\t\t\t\tinitFragments.push(new HarmonyExportInitFragment(exportsName, map));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsource.replace(\n\t\t\t\tdep.rangeStatement[0],\n\t\t\t\tdep.range[0] - 1,\n\t\t\t\t`/* harmony default export */ ${dep.prefix}`\n\t\t\t);\n\t\t} else {\n\t\t\tlet content;\n\t\t\tconst name = ConcatenationScope.DEFAULT_EXPORT;\n\t\t\tif (runtimeTemplate.supportsConst()) {\n\t\t\t\tcontent = `/* harmony default export */ const ${name} = `;\n\t\t\t\tif (concatenationScope) {\n\t\t\t\t\tconcatenationScope.registerExport(\"default\", name);\n\t\t\t\t} else {\n\t\t\t\t\tconst used = moduleGraph\n\t\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t\t.getUsedName(\"default\", runtime);\n\t\t\t\t\tif (used) {\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\tmap.set(used, name);\n\t\t\t\t\t\tinitFragments.push(new HarmonyExportInitFragment(exportsName, map));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontent = `/* unused harmony default export */ var ${name} = `;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (concatenationScope) {\n\t\t\t\tcontent = `/* harmony default export */ var ${name} = `;\n\t\t\t\tconcatenationScope.registerExport(\"default\", name);\n\t\t\t} else {\n\t\t\t\tconst used = moduleGraph\n\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t.getUsedName(\"default\", runtime);\n\t\t\t\tif (used) {\n\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\t\t\t// This is a little bit incorrect as TDZ is not correct, but we can't use const.\n\t\t\t\t\tcontent = `/* harmony default export */ ${exportsName}[${JSON.stringify(\n\t\t\t\t\t\tused\n\t\t\t\t\t)}] = `;\n\t\t\t\t} else {\n\t\t\t\t\tcontent = `/* unused harmony default export */ var ${name} = `;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (dep.range) {\n\t\t\t\tsource.replace(\n\t\t\t\t\tdep.rangeStatement[0],\n\t\t\t\t\tdep.range[0] - 1,\n\t\t\t\t\tcontent + \"(\" + dep.prefix\n\t\t\t\t);\n\t\t\t\tsource.replace(dep.range[1], dep.rangeStatement[1] - 0.5, \");\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsource.replace(dep.rangeStatement[0], dep.rangeStatement[1] - 1, content);\n\t\t}\n\t}\n};\n\nmodule.exports = HarmonyExportExpressionDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass HarmonyExportHeaderDependency extends NullDependency {\n\tconstructor(range, rangeStatement) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\tthis.rangeStatement = rangeStatement;\n\t}\n\n\tget type() {\n\t\treturn \"harmony export header\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.rangeStatement);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.rangeStatement = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyExportHeaderDependency,\n\t\"webpack/lib/dependencies/HarmonyExportHeaderDependency\"\n);\n\nHarmonyExportHeaderDependency.Template = class HarmonyExportDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {HarmonyExportHeaderDependency} */ (dependency);\n\t\tconst content = \"\";\n\t\tconst replaceUntil = dep.range\n\t\t\t? dep.range[0] - 1\n\t\t\t: dep.rangeStatement[1] - 1;\n\t\tsource.replace(dep.rangeStatement[0], replaceUntil, content);\n\t}\n};\n\nmodule.exports = HarmonyExportHeaderDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js": /*!*******************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js ***! \*******************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst HarmonyLinkingError = __webpack_require__(/*! ../HarmonyLinkingError */ \"./node_modules/webpack/lib/HarmonyLinkingError.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { countIterable } = __webpack_require__(/*! ../util/IterableHelpers */ \"./node_modules/webpack/lib/util/IterableHelpers.js\");\nconst { first, combine } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { getRuntimeKey, keyToRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst HarmonyExportInitFragment = __webpack_require__(/*! ./HarmonyExportInitFragment */ \"./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst processExportInfo = __webpack_require__(/*! ./processExportInfo */ \"./node_modules/webpack/lib/dependencies/processExportInfo.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"../ExportsInfo\").ExportInfo} ExportInfo */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/** @typedef {\"missing\"|\"unused\"|\"empty-star\"|\"reexport-dynamic-default\"|\"reexport-named-default\"|\"reexport-namespace-object\"|\"reexport-fake-namespace-object\"|\"reexport-undefined\"|\"normal-reexport\"|\"dynamic-reexport\"} ExportModeType */\n\nconst { ExportPresenceModes } = HarmonyImportDependency;\n\nconst idsSymbol = Symbol(\"HarmonyExportImportedSpecifierDependency.ids\");\n\nclass NormalReexportItem {\n\t/**\n\t * @param {string} name export name\n\t * @param {string[]} ids reexported ids from other module\n\t * @param {ExportInfo} exportInfo export info from other module\n\t * @param {boolean} checked true, if it should be checked at runtime if this export exists\n\t * @param {boolean} hidden true, if it is hidden behind another active export in the same module\n\t */\n\tconstructor(name, ids, exportInfo, checked, hidden) {\n\t\tthis.name = name;\n\t\tthis.ids = ids;\n\t\tthis.exportInfo = exportInfo;\n\t\tthis.checked = checked;\n\t\tthis.hidden = hidden;\n\t}\n}\n\nclass ExportMode {\n\t/**\n\t * @param {ExportModeType} type type of the mode\n\t */\n\tconstructor(type) {\n\t\t/** @type {ExportModeType} */\n\t\tthis.type = type;\n\n\t\t// for \"normal-reexport\":\n\t\t/** @type {NormalReexportItem[] | null} */\n\t\tthis.items = null;\n\n\t\t// for \"reexport-named-default\" | \"reexport-fake-namespace-object\" | \"reexport-namespace-object\"\n\t\t/** @type {string|null} */\n\t\tthis.name = null;\n\t\t/** @type {ExportInfo | null} */\n\t\tthis.partialNamespaceExportInfo = null;\n\n\t\t// for \"dynamic-reexport\":\n\t\t/** @type {Set<string> | null} */\n\t\tthis.ignored = null;\n\n\t\t// for \"dynamic-reexport\" | \"empty-star\":\n\t\t/** @type {Set<string> | null} */\n\t\tthis.hidden = null;\n\n\t\t// for \"missing\":\n\t\t/** @type {string | null} */\n\t\tthis.userRequest = null;\n\n\t\t// for \"reexport-fake-namespace-object\":\n\t\t/** @type {number} */\n\t\tthis.fakeType = 0;\n\t}\n}\n\nconst determineExportAssignments = (\n\tmoduleGraph,\n\tdependencies,\n\tadditionalDependency\n) => {\n\tconst names = new Set();\n\tconst dependencyIndices = [];\n\n\tif (additionalDependency) {\n\t\tdependencies = dependencies.concat(additionalDependency);\n\t}\n\n\tfor (const dep of dependencies) {\n\t\tconst i = dependencyIndices.length;\n\t\tdependencyIndices[i] = names.size;\n\t\tconst otherImportedModule = moduleGraph.getModule(dep);\n\t\tif (otherImportedModule) {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(otherImportedModule);\n\t\t\tfor (const exportInfo of exportsInfo.exports) {\n\t\t\t\tif (\n\t\t\t\t\texportInfo.provided === true &&\n\t\t\t\t\texportInfo.name !== \"default\" &&\n\t\t\t\t\t!names.has(exportInfo.name)\n\t\t\t\t) {\n\t\t\t\t\tnames.add(exportInfo.name);\n\t\t\t\t\tdependencyIndices[i] = names.size;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tdependencyIndices.push(names.size);\n\n\treturn { names: Array.from(names), dependencyIndices };\n};\n\nconst findDependencyForName = (\n\t{ names, dependencyIndices },\n\tname,\n\tdependencies\n) => {\n\tconst dependenciesIt = dependencies[Symbol.iterator]();\n\tconst dependencyIndicesIt = dependencyIndices[Symbol.iterator]();\n\tlet dependenciesItResult = dependenciesIt.next();\n\tlet dependencyIndicesItResult = dependencyIndicesIt.next();\n\tif (dependencyIndicesItResult.done) return;\n\tfor (let i = 0; i < names.length; i++) {\n\t\twhile (i >= dependencyIndicesItResult.value) {\n\t\t\tdependenciesItResult = dependenciesIt.next();\n\t\t\tdependencyIndicesItResult = dependencyIndicesIt.next();\n\t\t\tif (dependencyIndicesItResult.done) return;\n\t\t}\n\t\tif (names[i] === name) return dependenciesItResult.value;\n\t}\n\treturn undefined;\n};\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {HarmonyExportImportedSpecifierDependency} dep the dependency\n * @param {string} runtimeKey the runtime key\n * @returns {ExportMode} the export mode\n */\nconst getMode = (moduleGraph, dep, runtimeKey) => {\n\tconst importedModule = moduleGraph.getModule(dep);\n\n\tif (!importedModule) {\n\t\tconst mode = new ExportMode(\"missing\");\n\n\t\tmode.userRequest = dep.userRequest;\n\n\t\treturn mode;\n\t}\n\n\tconst name = dep.name;\n\tconst runtime = keyToRuntime(runtimeKey);\n\tconst parentModule = moduleGraph.getParentModule(dep);\n\tconst exportsInfo = moduleGraph.getExportsInfo(parentModule);\n\n\tif (\n\t\tname\n\t\t\t? exportsInfo.getUsed(name, runtime) === UsageState.Unused\n\t\t\t: exportsInfo.isUsed(runtime) === false\n\t) {\n\t\tconst mode = new ExportMode(\"unused\");\n\n\t\tmode.name = name || \"*\";\n\n\t\treturn mode;\n\t}\n\n\tconst importedExportsType = importedModule.getExportsType(\n\t\tmoduleGraph,\n\t\tparentModule.buildMeta.strictHarmonyModule\n\t);\n\n\tconst ids = dep.getIds(moduleGraph);\n\n\t// Special handling for reexporting the default export\n\t// from non-namespace modules\n\tif (name && ids.length > 0 && ids[0] === \"default\") {\n\t\tswitch (importedExportsType) {\n\t\t\tcase \"dynamic\": {\n\t\t\t\tconst mode = new ExportMode(\"reexport-dynamic-default\");\n\n\t\t\t\tmode.name = name;\n\n\t\t\t\treturn mode;\n\t\t\t}\n\t\t\tcase \"default-only\":\n\t\t\tcase \"default-with-named\": {\n\t\t\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(name);\n\t\t\t\tconst mode = new ExportMode(\"reexport-named-default\");\n\n\t\t\t\tmode.name = name;\n\t\t\t\tmode.partialNamespaceExportInfo = exportInfo;\n\n\t\t\t\treturn mode;\n\t\t\t}\n\t\t}\n\t}\n\n\t// reexporting with a fixed name\n\tif (name) {\n\t\tlet mode;\n\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(name);\n\n\t\tif (ids.length > 0) {\n\t\t\t// export { name as name }\n\t\t\tswitch (importedExportsType) {\n\t\t\t\tcase \"default-only\":\n\t\t\t\t\tmode = new ExportMode(\"reexport-undefined\");\n\t\t\t\t\tmode.name = name;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tmode = new ExportMode(\"normal-reexport\");\n\t\t\t\t\tmode.items = [\n\t\t\t\t\t\tnew NormalReexportItem(name, ids, exportInfo, false, false)\n\t\t\t\t\t];\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} else {\n\t\t\t// export * as name\n\t\t\tswitch (importedExportsType) {\n\t\t\t\tcase \"default-only\":\n\t\t\t\t\tmode = new ExportMode(\"reexport-fake-namespace-object\");\n\t\t\t\t\tmode.name = name;\n\t\t\t\t\tmode.partialNamespaceExportInfo = exportInfo;\n\t\t\t\t\tmode.fakeType = 0;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"default-with-named\":\n\t\t\t\t\tmode = new ExportMode(\"reexport-fake-namespace-object\");\n\t\t\t\t\tmode.name = name;\n\t\t\t\t\tmode.partialNamespaceExportInfo = exportInfo;\n\t\t\t\t\tmode.fakeType = 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dynamic\":\n\t\t\t\tdefault:\n\t\t\t\t\tmode = new ExportMode(\"reexport-namespace-object\");\n\t\t\t\t\tmode.name = name;\n\t\t\t\t\tmode.partialNamespaceExportInfo = exportInfo;\n\t\t\t}\n\t\t}\n\n\t\treturn mode;\n\t}\n\n\t// Star reexporting\n\n\tconst { ignoredExports, exports, checked, hidden } = dep.getStarReexports(\n\t\tmoduleGraph,\n\t\truntime,\n\t\texportsInfo,\n\t\timportedModule\n\t);\n\tif (!exports) {\n\t\t// We have too few info about the modules\n\t\t// Delegate the logic to the runtime code\n\n\t\tconst mode = new ExportMode(\"dynamic-reexport\");\n\t\tmode.ignored = ignoredExports;\n\t\tmode.hidden = hidden;\n\n\t\treturn mode;\n\t}\n\n\tif (exports.size === 0) {\n\t\tconst mode = new ExportMode(\"empty-star\");\n\t\tmode.hidden = hidden;\n\n\t\treturn mode;\n\t}\n\n\tconst mode = new ExportMode(\"normal-reexport\");\n\n\tmode.items = Array.from(\n\t\texports,\n\t\texportName =>\n\t\t\tnew NormalReexportItem(\n\t\t\t\texportName,\n\t\t\t\t[exportName],\n\t\t\t\texportsInfo.getReadOnlyExportInfo(exportName),\n\t\t\t\tchecked.has(exportName),\n\t\t\t\tfalse\n\t\t\t)\n\t);\n\tif (hidden !== undefined) {\n\t\tfor (const exportName of hidden) {\n\t\t\tmode.items.push(\n\t\t\t\tnew NormalReexportItem(\n\t\t\t\t\texportName,\n\t\t\t\t\t[exportName],\n\t\t\t\t\texportsInfo.getReadOnlyExportInfo(exportName),\n\t\t\t\t\tfalse,\n\t\t\t\t\ttrue\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}\n\n\treturn mode;\n};\n\nclass HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {\n\t/**\n\t * @param {string} request the request string\n\t * @param {number} sourceOrder the order in the original source file\n\t * @param {string[]} ids the requested export name of the imported module\n\t * @param {string | null} name the export name of for this module\n\t * @param {Set<string>} activeExports other named exports in the module\n\t * @param {ReadonlyArray<HarmonyExportImportedSpecifierDependency> | Iterable<HarmonyExportImportedSpecifierDependency>} otherStarExports other star exports in the module before this import\n\t * @param {number} exportPresenceMode mode of checking export names\n\t * @param {HarmonyStarExportsList} allStarExports all star exports in the module\n\t * @param {Record<string, any>=} assertions import assertions\n\t */\n\tconstructor(\n\t\trequest,\n\t\tsourceOrder,\n\t\tids,\n\t\tname,\n\t\tactiveExports,\n\t\totherStarExports,\n\t\texportPresenceMode,\n\t\tallStarExports,\n\t\tassertions\n\t) {\n\t\tsuper(request, sourceOrder, assertions);\n\n\t\tthis.ids = ids;\n\t\tthis.name = name;\n\t\tthis.activeExports = activeExports;\n\t\tthis.otherStarExports = otherStarExports;\n\t\tthis.exportPresenceMode = exportPresenceMode;\n\t\tthis.allStarExports = allStarExports;\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn Dependency.TRANSITIVE;\n\t}\n\n\t// TODO webpack 6 remove\n\tget id() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\t// TODO webpack 6 remove\n\tgetId() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\t// TODO webpack 6 remove\n\tsetId() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\tget type() {\n\t\treturn \"harmony export imported specifier\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {string[]} the imported id\n\t */\n\tgetIds(moduleGraph) {\n\t\treturn moduleGraph.getMeta(this)[idsSymbol] || this.ids;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {string[]} ids the imported ids\n\t * @returns {void}\n\t */\n\tsetIds(moduleGraph, ids) {\n\t\tmoduleGraph.getMeta(this)[idsSymbol] = ids;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {ExportMode} the export mode\n\t */\n\tgetMode(moduleGraph, runtime) {\n\t\treturn moduleGraph.dependencyCacheProvide(\n\t\t\tthis,\n\t\t\tgetRuntimeKey(runtime),\n\t\t\tgetMode\n\t\t);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {ExportsInfo} exportsInfo exports info about the current module (optional)\n\t * @param {Module} importedModule the imported module (optional)\n\t * @returns {{exports?: Set<string>, checked?: Set<string>, ignoredExports: Set<string>, hidden?: Set<string>}} information\n\t */\n\tgetStarReexports(\n\t\tmoduleGraph,\n\t\truntime,\n\t\texportsInfo = moduleGraph.getExportsInfo(moduleGraph.getParentModule(this)),\n\t\timportedModule = moduleGraph.getModule(this)\n\t) {\n\t\tconst importedExportsInfo = moduleGraph.getExportsInfo(importedModule);\n\n\t\tconst noExtraExports =\n\t\t\timportedExportsInfo.otherExportsInfo.provided === false;\n\t\tconst noExtraImports =\n\t\t\texportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused;\n\n\t\tconst ignoredExports = new Set([\"default\", ...this.activeExports]);\n\n\t\tlet hiddenExports = undefined;\n\t\tconst otherStarExports =\n\t\t\tthis._discoverActiveExportsFromOtherStarExports(moduleGraph);\n\t\tif (otherStarExports !== undefined) {\n\t\t\thiddenExports = new Set();\n\t\t\tfor (let i = 0; i < otherStarExports.namesSlice; i++) {\n\t\t\t\thiddenExports.add(otherStarExports.names[i]);\n\t\t\t}\n\t\t\tfor (const e of ignoredExports) hiddenExports.delete(e);\n\t\t}\n\n\t\tif (!noExtraExports && !noExtraImports) {\n\t\t\treturn {\n\t\t\t\tignoredExports,\n\t\t\t\thidden: hiddenExports\n\t\t\t};\n\t\t}\n\n\t\t/** @type {Set<string>} */\n\t\tconst exports = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst checked = new Set();\n\t\t/** @type {Set<string>} */\n\t\tconst hidden = hiddenExports !== undefined ? new Set() : undefined;\n\n\t\tif (noExtraImports) {\n\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\tconst name = exportInfo.name;\n\t\t\t\tif (ignoredExports.has(name)) continue;\n\t\t\t\tif (exportInfo.getUsed(runtime) === UsageState.Unused) continue;\n\t\t\t\tconst importedExportInfo =\n\t\t\t\t\timportedExportsInfo.getReadOnlyExportInfo(name);\n\t\t\t\tif (importedExportInfo.provided === false) continue;\n\t\t\t\tif (hiddenExports !== undefined && hiddenExports.has(name)) {\n\t\t\t\t\thidden.add(name);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\texports.add(name);\n\t\t\t\tif (importedExportInfo.provided === true) continue;\n\t\t\t\tchecked.add(name);\n\t\t\t}\n\t\t} else if (noExtraExports) {\n\t\t\tfor (const importedExportInfo of importedExportsInfo.orderedExports) {\n\t\t\t\tconst name = importedExportInfo.name;\n\t\t\t\tif (ignoredExports.has(name)) continue;\n\t\t\t\tif (importedExportInfo.provided === false) continue;\n\t\t\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(name);\n\t\t\t\tif (exportInfo.getUsed(runtime) === UsageState.Unused) continue;\n\t\t\t\tif (hiddenExports !== undefined && hiddenExports.has(name)) {\n\t\t\t\t\thidden.add(name);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\texports.add(name);\n\t\t\t\tif (importedExportInfo.provided === true) continue;\n\t\t\t\tchecked.add(name);\n\t\t\t}\n\t\t}\n\n\t\treturn { ignoredExports, exports, checked, hidden };\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn (connection, runtime) => {\n\t\t\tconst mode = this.getMode(moduleGraph, runtime);\n\t\t\treturn mode.type !== \"unused\" && mode.type !== \"empty-star\";\n\t\t};\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn false;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tconst mode = this.getMode(moduleGraph, runtime);\n\n\t\tswitch (mode.type) {\n\t\t\tcase \"missing\":\n\t\t\tcase \"unused\":\n\t\t\tcase \"empty-star\":\n\t\t\tcase \"reexport-undefined\":\n\t\t\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\n\t\t\tcase \"reexport-dynamic-default\":\n\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\n\t\t\tcase \"reexport-named-default\": {\n\t\t\t\tif (!mode.partialNamespaceExportInfo)\n\t\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\t\t/** @type {string[][]} */\n\t\t\t\tconst referencedExports = [];\n\t\t\t\tprocessExportInfo(\n\t\t\t\t\truntime,\n\t\t\t\t\treferencedExports,\n\t\t\t\t\t[],\n\t\t\t\t\t/** @type {ExportInfo} */ (mode.partialNamespaceExportInfo)\n\t\t\t\t);\n\t\t\t\treturn referencedExports;\n\t\t\t}\n\n\t\t\tcase \"reexport-namespace-object\":\n\t\t\tcase \"reexport-fake-namespace-object\": {\n\t\t\t\tif (!mode.partialNamespaceExportInfo)\n\t\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\t\t/** @type {string[][]} */\n\t\t\t\tconst referencedExports = [];\n\t\t\t\tprocessExportInfo(\n\t\t\t\t\truntime,\n\t\t\t\t\treferencedExports,\n\t\t\t\t\t[],\n\t\t\t\t\t/** @type {ExportInfo} */ (mode.partialNamespaceExportInfo),\n\t\t\t\t\tmode.type === \"reexport-fake-namespace-object\"\n\t\t\t\t);\n\t\t\t\treturn referencedExports;\n\t\t\t}\n\n\t\t\tcase \"dynamic-reexport\":\n\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\n\t\t\tcase \"normal-reexport\": {\n\t\t\t\tconst referencedExports = [];\n\t\t\t\tfor (const { ids, exportInfo, hidden } of mode.items) {\n\t\t\t\t\tif (hidden) continue;\n\t\t\t\t\tprocessExportInfo(runtime, referencedExports, ids, exportInfo, false);\n\t\t\t\t}\n\t\t\t\treturn referencedExports;\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unknown mode ${mode.type}`);\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {{ names: string[], namesSlice: number, dependencyIndices: number[], dependencyIndex: number } | undefined} exported names and their origin dependency\n\t */\n\t_discoverActiveExportsFromOtherStarExports(moduleGraph) {\n\t\tif (!this.otherStarExports) return undefined;\n\n\t\tconst i =\n\t\t\t\"length\" in this.otherStarExports\n\t\t\t\t? this.otherStarExports.length\n\t\t\t\t: countIterable(this.otherStarExports);\n\t\tif (i === 0) return undefined;\n\n\t\tif (this.allStarExports) {\n\t\t\tconst { names, dependencyIndices } = moduleGraph.cached(\n\t\t\t\tdetermineExportAssignments,\n\t\t\t\tthis.allStarExports.dependencies\n\t\t\t);\n\n\t\t\treturn {\n\t\t\t\tnames,\n\t\t\t\tnamesSlice: dependencyIndices[i - 1],\n\t\t\t\tdependencyIndices,\n\t\t\t\tdependencyIndex: i\n\t\t\t};\n\t\t}\n\n\t\tconst { names, dependencyIndices } = moduleGraph.cached(\n\t\t\tdetermineExportAssignments,\n\t\t\tthis.otherStarExports,\n\t\t\tthis\n\t\t);\n\n\t\treturn {\n\t\t\tnames,\n\t\t\tnamesSlice: dependencyIndices[i - 1],\n\t\t\tdependencyIndices,\n\t\t\tdependencyIndex: i\n\t\t};\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\tconst mode = this.getMode(moduleGraph, undefined);\n\n\t\tswitch (mode.type) {\n\t\t\tcase \"missing\":\n\t\t\t\treturn undefined;\n\t\t\tcase \"dynamic-reexport\": {\n\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\treturn {\n\t\t\t\t\texports: true,\n\t\t\t\t\tfrom,\n\t\t\t\t\tcanMangle: false,\n\t\t\t\t\texcludeExports: mode.hidden\n\t\t\t\t\t\t? combine(mode.ignored, mode.hidden)\n\t\t\t\t\t\t: mode.ignored,\n\t\t\t\t\thideExports: mode.hidden,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"empty-star\":\n\t\t\t\treturn {\n\t\t\t\t\texports: [],\n\t\t\t\t\thideExports: mode.hidden,\n\t\t\t\t\tdependencies: [moduleGraph.getModule(this)]\n\t\t\t\t};\n\t\t\t// falls through\n\t\t\tcase \"normal-reexport\": {\n\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\treturn {\n\t\t\t\t\texports: Array.from(mode.items, item => ({\n\t\t\t\t\t\tname: item.name,\n\t\t\t\t\t\tfrom,\n\t\t\t\t\t\texport: item.ids,\n\t\t\t\t\t\thidden: item.hidden\n\t\t\t\t\t})),\n\t\t\t\t\tpriority: 1,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"reexport-dynamic-default\": {\n\t\t\t\t{\n\t\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\t\treturn {\n\t\t\t\t\t\texports: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: mode.name,\n\t\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\t\texport: [\"default\"]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t],\n\t\t\t\t\t\tpriority: 1,\n\t\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t\tcase \"reexport-undefined\":\n\t\t\t\treturn {\n\t\t\t\t\texports: [mode.name],\n\t\t\t\t\tdependencies: [moduleGraph.getModule(this)]\n\t\t\t\t};\n\t\t\tcase \"reexport-fake-namespace-object\": {\n\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\treturn {\n\t\t\t\t\texports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: mode.name,\n\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\texport: null,\n\t\t\t\t\t\t\texports: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tname: \"default\",\n\t\t\t\t\t\t\t\t\tcanMangle: false,\n\t\t\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\t\t\texport: null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\tpriority: 1,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"reexport-namespace-object\": {\n\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\treturn {\n\t\t\t\t\texports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: mode.name,\n\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\texport: null\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\tpriority: 1,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"reexport-named-default\": {\n\t\t\t\tconst from = moduleGraph.getConnection(this);\n\t\t\t\treturn {\n\t\t\t\t\texports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: mode.name,\n\t\t\t\t\t\t\tfrom,\n\t\t\t\t\t\t\texport: [\"default\"]\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\tpriority: 1,\n\t\t\t\t\tdependencies: [from.module]\n\t\t\t\t};\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unknown mode ${mode.type}`);\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {number} effective mode\n\t */\n\t_getEffectiveExportPresenceLevel(moduleGraph) {\n\t\tif (this.exportPresenceMode !== ExportPresenceModes.AUTO)\n\t\t\treturn this.exportPresenceMode;\n\t\treturn moduleGraph.getParentModule(this).buildMeta.strictHarmonyModule\n\t\t\t? ExportPresenceModes.ERROR\n\t\t\t: ExportPresenceModes.WARN;\n\t}\n\n\t/**\n\t * Returns warnings\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} warnings\n\t */\n\tgetWarnings(moduleGraph) {\n\t\tconst exportsPresence = this._getEffectiveExportPresenceLevel(moduleGraph);\n\t\tif (exportsPresence === ExportPresenceModes.WARN) {\n\t\t\treturn this._getErrors(moduleGraph);\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * Returns errors\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} errors\n\t */\n\tgetErrors(moduleGraph) {\n\t\tconst exportsPresence = this._getEffectiveExportPresenceLevel(moduleGraph);\n\t\tif (exportsPresence === ExportPresenceModes.ERROR) {\n\t\t\treturn this._getErrors(moduleGraph);\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[] | undefined} errors\n\t */\n\t_getErrors(moduleGraph) {\n\t\tconst ids = this.getIds(moduleGraph);\n\t\tlet errors = this.getLinkingErrors(\n\t\t\tmoduleGraph,\n\t\t\tids,\n\t\t\t`(reexported as '${this.name}')`\n\t\t);\n\t\tif (ids.length === 0 && this.name === null) {\n\t\t\tconst potentialConflicts =\n\t\t\t\tthis._discoverActiveExportsFromOtherStarExports(moduleGraph);\n\t\t\tif (potentialConflicts && potentialConflicts.namesSlice > 0) {\n\t\t\t\tconst ownNames = new Set(\n\t\t\t\t\tpotentialConflicts.names.slice(\n\t\t\t\t\t\tpotentialConflicts.namesSlice,\n\t\t\t\t\t\tpotentialConflicts.dependencyIndices[\n\t\t\t\t\t\t\tpotentialConflicts.dependencyIndex\n\t\t\t\t\t\t]\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tconst importedModule = moduleGraph.getModule(this);\n\t\t\t\tif (importedModule) {\n\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(importedModule);\n\t\t\t\t\tconst conflicts = new Map();\n\t\t\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\t\t\tif (exportInfo.provided !== true) continue;\n\t\t\t\t\t\tif (exportInfo.name === \"default\") continue;\n\t\t\t\t\t\tif (this.activeExports.has(exportInfo.name)) continue;\n\t\t\t\t\t\tif (ownNames.has(exportInfo.name)) continue;\n\t\t\t\t\t\tconst conflictingDependency = findDependencyForName(\n\t\t\t\t\t\t\tpotentialConflicts,\n\t\t\t\t\t\t\texportInfo.name,\n\t\t\t\t\t\t\tthis.allStarExports\n\t\t\t\t\t\t\t\t? this.allStarExports.dependencies\n\t\t\t\t\t\t\t\t: [...this.otherStarExports, this]\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!conflictingDependency) continue;\n\t\t\t\t\t\tconst target = exportInfo.getTerminalBinding(moduleGraph);\n\t\t\t\t\t\tif (!target) continue;\n\t\t\t\t\t\tconst conflictingModule = moduleGraph.getModule(\n\t\t\t\t\t\t\tconflictingDependency\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (conflictingModule === importedModule) continue;\n\t\t\t\t\t\tconst conflictingExportInfo = moduleGraph.getExportInfo(\n\t\t\t\t\t\t\tconflictingModule,\n\t\t\t\t\t\t\texportInfo.name\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst conflictingTarget =\n\t\t\t\t\t\t\tconflictingExportInfo.getTerminalBinding(moduleGraph);\n\t\t\t\t\t\tif (!conflictingTarget) continue;\n\t\t\t\t\t\tif (target === conflictingTarget) continue;\n\t\t\t\t\t\tconst list = conflicts.get(conflictingDependency.request);\n\t\t\t\t\t\tif (list === undefined) {\n\t\t\t\t\t\t\tconflicts.set(conflictingDependency.request, [exportInfo.name]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlist.push(exportInfo.name);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const [request, exports] of conflicts) {\n\t\t\t\t\t\tif (!errors) errors = [];\n\t\t\t\t\t\terrors.push(\n\t\t\t\t\t\t\tnew HarmonyLinkingError(\n\t\t\t\t\t\t\t\t`The requested module '${\n\t\t\t\t\t\t\t\t\tthis.request\n\t\t\t\t\t\t\t\t}' contains conflicting star exports for the ${\n\t\t\t\t\t\t\t\t\texports.length > 1 ? \"names\" : \"name\"\n\t\t\t\t\t\t\t\t} ${exports\n\t\t\t\t\t\t\t\t\t.map(e => `'${e}'`)\n\t\t\t\t\t\t\t\t\t.join(\", \")} with the previous requested module '${request}'`\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn errors;\n\t}\n\n\tserialize(context) {\n\t\tconst { write, setCircularReference } = context;\n\n\t\tsetCircularReference(this);\n\t\twrite(this.ids);\n\t\twrite(this.name);\n\t\twrite(this.activeExports);\n\t\twrite(this.otherStarExports);\n\t\twrite(this.exportPresenceMode);\n\t\twrite(this.allStarExports);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read, setCircularReference } = context;\n\n\t\tsetCircularReference(this);\n\t\tthis.ids = read();\n\t\tthis.name = read();\n\t\tthis.activeExports = read();\n\t\tthis.otherStarExports = read();\n\t\tthis.exportPresenceMode = read();\n\t\tthis.allStarExports = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyExportImportedSpecifierDependency,\n\t\"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency\"\n);\n\nmodule.exports = HarmonyExportImportedSpecifierDependency;\n\nHarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedSpecifierDependencyTemplate extends (\n\tHarmonyImportDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst { moduleGraph, runtime, concatenationScope } = templateContext;\n\n\t\tconst dep = /** @type {HarmonyExportImportedSpecifierDependency} */ (\n\t\t\tdependency\n\t\t);\n\n\t\tconst mode = dep.getMode(moduleGraph, runtime);\n\n\t\tif (concatenationScope) {\n\t\t\tswitch (mode.type) {\n\t\t\t\tcase \"reexport-undefined\":\n\t\t\t\t\tconcatenationScope.registerRawExport(\n\t\t\t\t\t\tmode.name,\n\t\t\t\t\t\t\"/* reexport non-default export from non-harmony */ undefined\"\n\t\t\t\t\t);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tif (mode.type !== \"unused\" && mode.type !== \"empty-star\") {\n\t\t\tsuper.apply(dependency, source, templateContext);\n\n\t\t\tthis._addExportFragments(\n\t\t\t\ttemplateContext.initFragments,\n\t\t\t\tdep,\n\t\t\t\tmode,\n\t\t\t\ttemplateContext.module,\n\t\t\t\tmoduleGraph,\n\t\t\t\truntime,\n\t\t\t\ttemplateContext.runtimeTemplate,\n\t\t\t\ttemplateContext.runtimeRequirements\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {InitFragment[]} initFragments target array for init fragments\n\t * @param {HarmonyExportImportedSpecifierDependency} dep dependency\n\t * @param {ExportMode} mode the export mode\n\t * @param {Module} module the current module\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {RuntimeTemplate} runtimeTemplate the runtime template\n\t * @param {Set<string>} runtimeRequirements runtime requirements\n\t * @returns {void}\n\t */\n\t_addExportFragments(\n\t\tinitFragments,\n\t\tdep,\n\t\tmode,\n\t\tmodule,\n\t\tmoduleGraph,\n\t\truntime,\n\t\truntimeTemplate,\n\t\truntimeRequirements\n\t) {\n\t\tconst importedModule = moduleGraph.getModule(dep);\n\t\tconst importVar = dep.getImportVar(moduleGraph);\n\n\t\tswitch (mode.type) {\n\t\t\tcase \"missing\":\n\t\t\tcase \"empty-star\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t\"/* empty/unused harmony star reexport */\\n\",\n\t\t\t\t\t\tInitFragment.STAGE_HARMONY_EXPORTS,\n\t\t\t\t\t\t1\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"unused\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t`${Template.toNormalComment(\n\t\t\t\t\t\t\t`unused harmony reexport ${mode.name}`\n\t\t\t\t\t\t)}\\n`,\n\t\t\t\t\t\tInitFragment.STAGE_HARMONY_EXPORTS,\n\t\t\t\t\t\t1\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"reexport-dynamic-default\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tthis.getReexportFragment(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\"reexport default from dynamic\",\n\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(mode.name, runtime),\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"reexport-fake-namespace-object\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\t...this.getReexportFakeNamespaceObjectFragments(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(mode.name, runtime),\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\tmode.fakeType,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"reexport-undefined\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tthis.getReexportFragment(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\"reexport non-default export from non-harmony\",\n\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(mode.name, runtime),\n\t\t\t\t\t\t\"undefined\",\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"reexport-named-default\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tthis.getReexportFragment(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\"reexport default export from named module\",\n\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(mode.name, runtime),\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"reexport-namespace-object\":\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tthis.getReexportFragment(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\"reexport module object\",\n\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(mode.name, runtime),\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase \"normal-reexport\":\n\t\t\t\tfor (const { name, ids, checked, hidden } of mode.items) {\n\t\t\t\t\tif (hidden) continue;\n\t\t\t\t\tif (checked) {\n\t\t\t\t\t\tinitFragments.push(\n\t\t\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t\t\t\"/* harmony reexport (checked) */ \" +\n\t\t\t\t\t\t\t\t\tthis.getConditionalReexportStatement(\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\t\t\timportVar,\n\t\t\t\t\t\t\t\t\t\tids,\n\t\t\t\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tmoduleGraph.isAsync(importedModule)\n\t\t\t\t\t\t\t\t\t? InitFragment.STAGE_ASYNC_HARMONY_IMPORTS\n\t\t\t\t\t\t\t\t\t: InitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t\t\t\t\t\tdep.sourceOrder\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tinitFragments.push(\n\t\t\t\t\t\t\tthis.getReexportFragment(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\"reexport safe\",\n\t\t\t\t\t\t\t\tmoduleGraph.getExportsInfo(module).getUsedName(name, runtime),\n\t\t\t\t\t\t\t\timportVar,\n\t\t\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t\t\t\t\t.getExportsInfo(importedModule)\n\t\t\t\t\t\t\t\t\t.getUsedName(ids, runtime),\n\t\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tcase \"dynamic-reexport\": {\n\t\t\t\tconst ignored = mode.hidden\n\t\t\t\t\t? combine(mode.ignored, mode.hidden)\n\t\t\t\t\t: mode.ignored;\n\t\t\t\tconst modern =\n\t\t\t\t\truntimeTemplate.supportsConst() &&\n\t\t\t\t\truntimeTemplate.supportsArrowFunction();\n\t\t\t\tlet content =\n\t\t\t\t\t\"/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\\n\" +\n\t\t\t\t\t`/* harmony reexport (unknown) */ for(${\n\t\t\t\t\t\tmodern ? \"const\" : \"var\"\n\t\t\t\t\t} __WEBPACK_IMPORT_KEY__ in ${importVar}) `;\n\n\t\t\t\t// Filter out exports which are defined by other exports\n\t\t\t\t// and filter out default export because it cannot be reexported with *\n\t\t\t\tif (ignored.size > 1) {\n\t\t\t\t\tcontent +=\n\t\t\t\t\t\t\"if(\" +\n\t\t\t\t\t\tJSON.stringify(Array.from(ignored)) +\n\t\t\t\t\t\t\".indexOf(__WEBPACK_IMPORT_KEY__) < 0) \";\n\t\t\t\t} else if (ignored.size === 1) {\n\t\t\t\t\tcontent += `if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(\n\t\t\t\t\t\tfirst(ignored)\n\t\t\t\t\t)}) `;\n\t\t\t\t}\n\n\t\t\t\tcontent += `__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;\n\t\t\t\tif (modern) {\n\t\t\t\t\tcontent += `() => ${importVar}[__WEBPACK_IMPORT_KEY__]`;\n\t\t\t\t} else {\n\t\t\t\t\tcontent += `function(key) { return ${importVar}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`;\n\t\t\t\t}\n\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\n\t\t\t\tconst exportsName = module.exportsArgument;\n\t\t\t\tinitFragments.push(\n\t\t\t\t\tnew InitFragment(\n\t\t\t\t\t\t`${content}\\n/* harmony reexport (unknown) */ ${RuntimeGlobals.definePropertyGetters}(${exportsName}, __WEBPACK_REEXPORT_OBJECT__);\\n`,\n\t\t\t\t\t\tmoduleGraph.isAsync(importedModule)\n\t\t\t\t\t\t\t? InitFragment.STAGE_ASYNC_HARMONY_IMPORTS\n\t\t\t\t\t\t\t: InitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t\t\t\tdep.sourceOrder\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unknown mode ${mode.type}`);\n\t\t}\n\t}\n\n\tgetReexportFragment(\n\t\tmodule,\n\t\tcomment,\n\t\tkey,\n\t\tname,\n\t\tvalueKey,\n\t\truntimeRequirements\n\t) {\n\t\tconst returnValue = this.getReturnValue(name, valueKey);\n\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\n\t\tconst map = new Map();\n\t\tmap.set(key, `/* ${comment} */ ${returnValue}`);\n\n\t\treturn new HarmonyExportInitFragment(module.exportsArgument, map);\n\t}\n\n\tgetReexportFakeNamespaceObjectFragments(\n\t\tmodule,\n\t\tkey,\n\t\tname,\n\t\tfakeType,\n\t\truntimeRequirements\n\t) {\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\n\t\tconst map = new Map();\n\t\tmap.set(\n\t\t\tkey,\n\t\t\t`/* reexport fake namespace object from non-harmony */ ${name}_namespace_cache || (${name}_namespace_cache = ${\n\t\t\t\tRuntimeGlobals.createFakeNamespaceObject\n\t\t\t}(${name}${fakeType ? `, ${fakeType}` : \"\"}))`\n\t\t);\n\n\t\treturn [\n\t\t\tnew InitFragment(\n\t\t\t\t`var ${name}_namespace_cache;\\n`,\n\t\t\t\tInitFragment.STAGE_CONSTANTS,\n\t\t\t\t-1,\n\t\t\t\t`${name}_namespace_cache`\n\t\t\t),\n\t\t\tnew HarmonyExportInitFragment(module.exportsArgument, map)\n\t\t];\n\t}\n\n\tgetConditionalReexportStatement(\n\t\tmodule,\n\t\tkey,\n\t\tname,\n\t\tvalueKey,\n\t\truntimeRequirements\n\t) {\n\t\tif (valueKey === false) {\n\t\t\treturn \"/* unused export */\\n\";\n\t\t}\n\n\t\tconst exportsName = module.exportsArgument;\n\t\tconst returnValue = this.getReturnValue(name, valueKey);\n\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\t\truntimeRequirements.add(RuntimeGlobals.hasOwnProperty);\n\n\t\treturn `if(${RuntimeGlobals.hasOwnProperty}(${name}, ${JSON.stringify(\n\t\t\tvalueKey[0]\n\t\t)})) ${\n\t\t\tRuntimeGlobals.definePropertyGetters\n\t\t}(${exportsName}, { ${JSON.stringify(\n\t\t\tkey\n\t\t)}: function() { return ${returnValue}; } });\\n`;\n\t}\n\n\tgetReturnValue(name, valueKey) {\n\t\tif (valueKey === null) {\n\t\t\treturn `${name}_default.a`;\n\t\t}\n\n\t\tif (valueKey === \"\") {\n\t\t\treturn name;\n\t\t}\n\n\t\tif (valueKey === false) {\n\t\t\treturn \"/* unused export */ undefined\";\n\t\t}\n\n\t\treturn `${name}${propertyAccess(valueKey)}`;\n\t}\n};\n\nclass HarmonyStarExportsList {\n\tconstructor() {\n\t\t/** @type {HarmonyExportImportedSpecifierDependency[]} */\n\t\tthis.dependencies = [];\n\t}\n\n\t/**\n\t * @param {HarmonyExportImportedSpecifierDependency} dep dependency\n\t * @returns {void}\n\t */\n\tpush(dep) {\n\t\tthis.dependencies.push(dep);\n\t}\n\n\tslice() {\n\t\treturn this.dependencies.slice();\n\t}\n\n\tserialize({ write, setCircularReference }) {\n\t\tsetCircularReference(this);\n\t\twrite(this.dependencies);\n\t}\n\n\tdeserialize({ read, setCircularReference }) {\n\t\tsetCircularReference(this);\n\t\tthis.dependencies = read();\n\t}\n}\n\nmakeSerializable(\n\tHarmonyStarExportsList,\n\t\"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency\",\n\t\"HarmonyStarExportsList\"\n);\n\nmodule.exports.HarmonyStarExportsList = HarmonyStarExportsList;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst { first } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n\nconst joinIterableWithComma = iterable => {\n\t// This is more performant than Array.from().join(\", \")\n\t// as it doesn't create an array\n\tlet str = \"\";\n\tlet first = true;\n\tfor (const item of iterable) {\n\t\tif (first) {\n\t\t\tfirst = false;\n\t\t} else {\n\t\t\tstr += \", \";\n\t\t}\n\t\tstr += item;\n\t}\n\treturn str;\n};\n\nconst EMPTY_MAP = new Map();\nconst EMPTY_SET = new Set();\n\n/**\n * @typedef {GenerateContext} Context\n */\nclass HarmonyExportInitFragment extends InitFragment {\n\t/**\n\t * @param {string} exportsArgument the exports identifier\n\t * @param {Map<string, string>} exportMap mapping from used name to exposed variable name\n\t * @param {Set<string>} unusedExports list of unused export names\n\t */\n\tconstructor(\n\t\texportsArgument,\n\t\texportMap = EMPTY_MAP,\n\t\tunusedExports = EMPTY_SET\n\t) {\n\t\tsuper(undefined, InitFragment.STAGE_HARMONY_EXPORTS, 1, \"harmony-exports\");\n\t\tthis.exportsArgument = exportsArgument;\n\t\tthis.exportMap = exportMap;\n\t\tthis.unusedExports = unusedExports;\n\t}\n\n\t/**\n\t * @param {HarmonyExportInitFragment[]} fragments all fragments to merge\n\t * @returns {HarmonyExportInitFragment} merged fragment\n\t */\n\tmergeAll(fragments) {\n\t\tlet exportMap;\n\t\tlet exportMapOwned = false;\n\t\tlet unusedExports;\n\t\tlet unusedExportsOwned = false;\n\n\t\tfor (const fragment of fragments) {\n\t\t\tif (fragment.exportMap.size !== 0) {\n\t\t\t\tif (exportMap === undefined) {\n\t\t\t\t\texportMap = fragment.exportMap;\n\t\t\t\t\texportMapOwned = false;\n\t\t\t\t} else {\n\t\t\t\t\tif (!exportMapOwned) {\n\t\t\t\t\t\texportMap = new Map(exportMap);\n\t\t\t\t\t\texportMapOwned = true;\n\t\t\t\t\t}\n\t\t\t\t\tfor (const [key, value] of fragment.exportMap) {\n\t\t\t\t\t\tif (!exportMap.has(key)) exportMap.set(key, value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (fragment.unusedExports.size !== 0) {\n\t\t\t\tif (unusedExports === undefined) {\n\t\t\t\t\tunusedExports = fragment.unusedExports;\n\t\t\t\t\tunusedExportsOwned = false;\n\t\t\t\t} else {\n\t\t\t\t\tif (!unusedExportsOwned) {\n\t\t\t\t\t\tunusedExports = new Set(unusedExports);\n\t\t\t\t\t\tunusedExportsOwned = true;\n\t\t\t\t\t}\n\t\t\t\t\tfor (const value of fragment.unusedExports) {\n\t\t\t\t\t\tunusedExports.add(value);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn new HarmonyExportInitFragment(\n\t\t\tthis.exportsArgument,\n\t\t\texportMap,\n\t\t\tunusedExports\n\t\t);\n\t}\n\n\tmerge(other) {\n\t\tlet exportMap;\n\t\tif (this.exportMap.size === 0) {\n\t\t\texportMap = other.exportMap;\n\t\t} else if (other.exportMap.size === 0) {\n\t\t\texportMap = this.exportMap;\n\t\t} else {\n\t\t\texportMap = new Map(other.exportMap);\n\t\t\tfor (const [key, value] of this.exportMap) {\n\t\t\t\tif (!exportMap.has(key)) exportMap.set(key, value);\n\t\t\t}\n\t\t}\n\t\tlet unusedExports;\n\t\tif (this.unusedExports.size === 0) {\n\t\t\tunusedExports = other.unusedExports;\n\t\t} else if (other.unusedExports.size === 0) {\n\t\t\tunusedExports = this.unusedExports;\n\t\t} else {\n\t\t\tunusedExports = new Set(other.unusedExports);\n\t\t\tfor (const value of this.unusedExports) {\n\t\t\t\tunusedExports.add(value);\n\t\t\t}\n\t\t}\n\t\treturn new HarmonyExportInitFragment(\n\t\t\tthis.exportsArgument,\n\t\t\texportMap,\n\t\t\tunusedExports\n\t\t);\n\t}\n\n\t/**\n\t * @param {Context} context context\n\t * @returns {string|Source} the source code that will be included as initialization code\n\t */\n\tgetContent({ runtimeTemplate, runtimeRequirements }) {\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\n\t\tconst unusedPart =\n\t\t\tthis.unusedExports.size > 1\n\t\t\t\t? `/* unused harmony exports ${joinIterableWithComma(\n\t\t\t\t\t\tthis.unusedExports\n\t\t\t\t )} */\\n`\n\t\t\t\t: this.unusedExports.size > 0\n\t\t\t\t? `/* unused harmony export ${first(this.unusedExports)} */\\n`\n\t\t\t\t: \"\";\n\t\tconst definitions = [];\n\t\tconst orderedExportMap = Array.from(this.exportMap).sort(([a], [b]) =>\n\t\t\ta < b ? -1 : 1\n\t\t);\n\t\tfor (const [key, value] of orderedExportMap) {\n\t\t\tdefinitions.push(\n\t\t\t\t`\\n/* harmony export */ ${JSON.stringify(\n\t\t\t\t\tkey\n\t\t\t\t)}: ${runtimeTemplate.returningFunction(value)}`\n\t\t\t);\n\t\t}\n\t\tconst definePart =\n\t\t\tthis.exportMap.size > 0\n\t\t\t\t? `/* harmony export */ ${RuntimeGlobals.definePropertyGetters}(${\n\t\t\t\t\t\tthis.exportsArgument\n\t\t\t\t }, {${definitions.join(\",\")}\\n/* harmony export */ });\\n`\n\t\t\t\t: \"\";\n\t\treturn `${definePart}${unusedPart}`;\n\t}\n}\n\nmodule.exports = HarmonyExportInitFragment;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyExportInitFragment = __webpack_require__(/*! ./HarmonyExportInitFragment */ \"./node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n\nclass HarmonyExportSpecifierDependency extends NullDependency {\n\tconstructor(id, name) {\n\t\tsuper();\n\t\tthis.id = id;\n\t\tthis.name = name;\n\t}\n\n\tget type() {\n\t\treturn \"harmony export specifier\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\treturn {\n\t\t\texports: [this.name],\n\t\t\tpriority: 1,\n\t\t\tterminalBinding: true,\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn false;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.id);\n\t\twrite(this.name);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.id = read();\n\t\tthis.name = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyExportSpecifierDependency,\n\t\"webpack/lib/dependencies/HarmonyExportSpecifierDependency\"\n);\n\nHarmonyExportSpecifierDependency.Template = class HarmonyExportSpecifierDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ module, moduleGraph, initFragments, runtime, concatenationScope }\n\t) {\n\t\tconst dep = /** @type {HarmonyExportSpecifierDependency} */ (dependency);\n\t\tif (concatenationScope) {\n\t\t\tconcatenationScope.registerExport(dep.name, dep.id);\n\t\t\treturn;\n\t\t}\n\t\tconst used = moduleGraph\n\t\t\t.getExportsInfo(module)\n\t\t\t.getUsedName(dep.name, runtime);\n\t\tif (!used) {\n\t\t\tconst set = new Set();\n\t\t\tset.add(dep.name || \"namespace\");\n\t\t\tinitFragments.push(\n\t\t\t\tnew HarmonyExportInitFragment(module.exportsArgument, undefined, set)\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst map = new Map();\n\t\tmap.set(used, `/* binding */ ${dep.id}`);\n\t\tinitFragments.push(\n\t\t\tnew HarmonyExportInitFragment(module.exportsArgument, map, undefined)\n\t\t);\n\t}\n};\n\nmodule.exports = HarmonyExportSpecifierDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyExports.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyExports.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n\n/** @type {WeakMap<ParserState, boolean>} */\nconst parserStateExportsState = new WeakMap();\n\n/**\n * @param {ParserState} parserState parser state\n * @param {boolean} isStrictHarmony strict harmony mode should be enabled\n * @returns {void}\n */\nexports.enable = (parserState, isStrictHarmony) => {\n\tconst value = parserStateExportsState.get(parserState);\n\tif (value === false) return;\n\tparserStateExportsState.set(parserState, true);\n\tif (value !== true) {\n\t\tparserState.module.buildMeta.exportsType = \"namespace\";\n\t\tparserState.module.buildInfo.strict = true;\n\t\tparserState.module.buildInfo.exportsArgument = \"__webpack_exports__\";\n\t\tif (isStrictHarmony) {\n\t\t\tparserState.module.buildMeta.strictHarmonyModule = true;\n\t\t\tparserState.module.buildInfo.moduleArgument = \"__webpack_module__\";\n\t\t}\n\t}\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {boolean} true, when enabled\n */\nexports.isEnabled = parserState => {\n\tconst value = parserStateExportsState.get(parserState);\n\treturn value === true;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyExports.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ConditionalInitFragment = __webpack_require__(/*! ../ConditionalInitFragment */ \"./node_modules/webpack/lib/ConditionalInitFragment.js\");\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst HarmonyLinkingError = __webpack_require__(/*! ../HarmonyLinkingError */ \"./node_modules/webpack/lib/HarmonyLinkingError.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst AwaitDependenciesInitFragment = __webpack_require__(/*! ../async-modules/AwaitDependenciesInitFragment */ \"./node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js\");\nconst { filterRuntime, mergeRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst ExportPresenceModes = {\n\tNONE: /** @type {0} */ (0),\n\tWARN: /** @type {1} */ (1),\n\tAUTO: /** @type {2} */ (2),\n\tERROR: /** @type {3} */ (3),\n\tfromUserOption(str) {\n\t\tswitch (str) {\n\t\t\tcase \"error\":\n\t\t\t\treturn ExportPresenceModes.ERROR;\n\t\t\tcase \"warn\":\n\t\t\t\treturn ExportPresenceModes.WARN;\n\t\t\tcase \"auto\":\n\t\t\t\treturn ExportPresenceModes.AUTO;\n\t\t\tcase false:\n\t\t\t\treturn ExportPresenceModes.NONE;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Invalid export presence value ${str}`);\n\t\t}\n\t}\n};\n\nclass HarmonyImportDependency extends ModuleDependency {\n\t/**\n\t *\n\t * @param {string} request request string\n\t * @param {number} sourceOrder source order\n\t * @param {Record<string, any>=} assertions import assertions\n\t */\n\tconstructor(request, sourceOrder, assertions) {\n\t\tsuper(request);\n\t\tthis.sourceOrder = sourceOrder;\n\t\tthis.assertions = assertions;\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {string} name of the variable for the import\n\t */\n\tgetImportVar(moduleGraph) {\n\t\tconst module = moduleGraph.getParentModule(this);\n\t\tconst meta = moduleGraph.getMeta(module);\n\t\tlet importVarMap = meta.importVarMap;\n\t\tif (!importVarMap) meta.importVarMap = importVarMap = new Map();\n\t\tlet importVar = importVarMap.get(moduleGraph.getModule(this));\n\t\tif (importVar) return importVar;\n\t\timportVar = `${Template.toIdentifier(\n\t\t\t`${this.userRequest}`\n\t\t)}__WEBPACK_IMPORTED_MODULE_${importVarMap.size}__`;\n\t\timportVarMap.set(moduleGraph.getModule(this), importVar);\n\t\treturn importVar;\n\t}\n\n\t/**\n\t * @param {boolean} update create new variables or update existing one\n\t * @param {DependencyTemplateContext} templateContext the template context\n\t * @returns {[string, string]} the import statement and the compat statement\n\t */\n\tgetImportStatement(\n\t\tupdate,\n\t\t{ runtimeTemplate, module, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\treturn runtimeTemplate.importStatement({\n\t\t\tupdate,\n\t\t\tmodule: moduleGraph.getModule(this),\n\t\t\tchunkGraph,\n\t\t\timportVar: this.getImportVar(moduleGraph),\n\t\t\trequest: this.request,\n\t\t\toriginModule: module,\n\t\t\truntimeRequirements\n\t\t});\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {string[]} ids imported ids\n\t * @param {string} additionalMessage extra info included in the error message\n\t * @returns {WebpackError[] | undefined} errors\n\t */\n\tgetLinkingErrors(moduleGraph, ids, additionalMessage) {\n\t\tconst importedModule = moduleGraph.getModule(this);\n\t\t// ignore errors for missing or failed modules\n\t\tif (!importedModule || importedModule.getNumberOfErrors() > 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst parentModule = moduleGraph.getParentModule(this);\n\t\tconst exportsType = importedModule.getExportsType(\n\t\t\tmoduleGraph,\n\t\t\tparentModule.buildMeta.strictHarmonyModule\n\t\t);\n\t\tif (exportsType === \"namespace\" || exportsType === \"default-with-named\") {\n\t\t\tif (ids.length === 0) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t(exportsType !== \"default-with-named\" || ids[0] !== \"default\") &&\n\t\t\t\tmoduleGraph.isExportProvided(importedModule, ids) === false\n\t\t\t) {\n\t\t\t\t// We are sure that it's not provided\n\n\t\t\t\t// Try to provide detailed info in the error message\n\t\t\t\tlet pos = 0;\n\t\t\t\tlet exportsInfo = moduleGraph.getExportsInfo(importedModule);\n\t\t\t\twhile (pos < ids.length && exportsInfo) {\n\t\t\t\t\tconst id = ids[pos++];\n\t\t\t\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(id);\n\t\t\t\t\tif (exportInfo.provided === false) {\n\t\t\t\t\t\t// We are sure that it's not provided\n\t\t\t\t\t\tconst providedExports = exportsInfo.getProvidedExports();\n\t\t\t\t\t\tconst moreInfo = !Array.isArray(providedExports)\n\t\t\t\t\t\t\t? \" (possible exports unknown)\"\n\t\t\t\t\t\t\t: providedExports.length === 0\n\t\t\t\t\t\t\t? \" (module has no exports)\"\n\t\t\t\t\t\t\t: ` (possible exports: ${providedExports.join(\", \")})`;\n\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\tnew HarmonyLinkingError(\n\t\t\t\t\t\t\t\t`export ${ids\n\t\t\t\t\t\t\t\t\t.slice(0, pos)\n\t\t\t\t\t\t\t\t\t.map(id => `'${id}'`)\n\t\t\t\t\t\t\t\t\t.join(\".\")} ${additionalMessage} was not found in '${\n\t\t\t\t\t\t\t\t\tthis.userRequest\n\t\t\t\t\t\t\t\t}'${moreInfo}`\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t];\n\t\t\t\t\t}\n\t\t\t\t\texportsInfo = exportInfo.getNestedExportsInfo();\n\t\t\t\t}\n\n\t\t\t\t// General error message\n\t\t\t\treturn [\n\t\t\t\t\tnew HarmonyLinkingError(\n\t\t\t\t\t\t`export ${ids\n\t\t\t\t\t\t\t.map(id => `'${id}'`)\n\t\t\t\t\t\t\t.join(\".\")} ${additionalMessage} was not found in '${\n\t\t\t\t\t\t\tthis.userRequest\n\t\t\t\t\t\t}'`\n\t\t\t\t\t)\n\t\t\t\t];\n\t\t\t}\n\t\t}\n\t\tswitch (exportsType) {\n\t\t\tcase \"default-only\":\n\t\t\t\t// It's has only a default export\n\t\t\t\tif (ids.length > 0 && ids[0] !== \"default\") {\n\t\t\t\t\t// In strict harmony modules we only support the default export\n\t\t\t\t\treturn [\n\t\t\t\t\t\tnew HarmonyLinkingError(\n\t\t\t\t\t\t\t`Can't import the named export ${ids\n\t\t\t\t\t\t\t\t.map(id => `'${id}'`)\n\t\t\t\t\t\t\t\t.join(\n\t\t\t\t\t\t\t\t\t\".\"\n\t\t\t\t\t\t\t\t)} ${additionalMessage} from default-exporting module (only default export is available)`\n\t\t\t\t\t\t)\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"default-with-named\":\n\t\t\t\t// It has a default export and named properties redirect\n\t\t\t\t// In some cases we still want to warn here\n\t\t\t\tif (\n\t\t\t\t\tids.length > 0 &&\n\t\t\t\t\tids[0] !== \"default\" &&\n\t\t\t\t\timportedModule.buildMeta.defaultObject === \"redirect-warn\"\n\t\t\t\t) {\n\t\t\t\t\t// For these modules only the default export is supported\n\t\t\t\t\treturn [\n\t\t\t\t\t\tnew HarmonyLinkingError(\n\t\t\t\t\t\t\t`Should not import the named export ${ids\n\t\t\t\t\t\t\t\t.map(id => `'${id}'`)\n\t\t\t\t\t\t\t\t.join(\n\t\t\t\t\t\t\t\t\t\".\"\n\t\t\t\t\t\t\t\t)} ${additionalMessage} from default-exporting module (only default export is available soon)`\n\t\t\t\t\t\t)\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.sourceOrder);\n\t\twrite(this.assertions);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.sourceOrder = read();\n\t\tthis.assertions = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmodule.exports = HarmonyImportDependency;\n\n/** @type {WeakMap<Module, WeakMap<Module, RuntimeSpec | boolean>>} */\nconst importEmittedMap = new WeakMap();\n\nHarmonyImportDependency.Template = class HarmonyImportDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {HarmonyImportDependency} */ (dependency);\n\t\tconst { module, chunkGraph, moduleGraph, runtime } = templateContext;\n\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\tif (connection && !connection.isTargetActive(runtime)) return;\n\n\t\tconst referencedModule = connection && connection.module;\n\n\t\tif (\n\t\t\tconnection &&\n\t\t\tconnection.weak &&\n\t\t\treferencedModule &&\n\t\t\tchunkGraph.getModuleId(referencedModule) === null\n\t\t) {\n\t\t\t// in weak references, module might not be in any chunk\n\t\t\t// but that's ok, we don't need that logic in this case\n\t\t\treturn;\n\t\t}\n\n\t\tconst moduleKey = referencedModule\n\t\t\t? referencedModule.identifier()\n\t\t\t: dep.request;\n\t\tconst key = `harmony import ${moduleKey}`;\n\n\t\tconst runtimeCondition = dep.weak\n\t\t\t? false\n\t\t\t: connection\n\t\t\t? filterRuntime(runtime, r => connection.isTargetActive(r))\n\t\t\t: true;\n\n\t\tif (module && referencedModule) {\n\t\t\tlet emittedModules = importEmittedMap.get(module);\n\t\t\tif (emittedModules === undefined) {\n\t\t\t\temittedModules = new WeakMap();\n\t\t\t\timportEmittedMap.set(module, emittedModules);\n\t\t\t}\n\t\t\tlet mergedRuntimeCondition = runtimeCondition;\n\t\t\tconst oldRuntimeCondition = emittedModules.get(referencedModule) || false;\n\t\t\tif (oldRuntimeCondition !== false && mergedRuntimeCondition !== true) {\n\t\t\t\tif (mergedRuntimeCondition === false || oldRuntimeCondition === true) {\n\t\t\t\t\tmergedRuntimeCondition = oldRuntimeCondition;\n\t\t\t\t} else {\n\t\t\t\t\tmergedRuntimeCondition = mergeRuntime(\n\t\t\t\t\t\toldRuntimeCondition,\n\t\t\t\t\t\tmergedRuntimeCondition\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t\temittedModules.set(referencedModule, mergedRuntimeCondition);\n\t\t}\n\n\t\tconst importStatement = dep.getImportStatement(false, templateContext);\n\t\tif (\n\t\t\treferencedModule &&\n\t\t\ttemplateContext.moduleGraph.isAsync(referencedModule)\n\t\t) {\n\t\t\ttemplateContext.initFragments.push(\n\t\t\t\tnew ConditionalInitFragment(\n\t\t\t\t\timportStatement[0],\n\t\t\t\t\tInitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t\t\tdep.sourceOrder,\n\t\t\t\t\tkey,\n\t\t\t\t\truntimeCondition\n\t\t\t\t)\n\t\t\t);\n\t\t\ttemplateContext.initFragments.push(\n\t\t\t\tnew AwaitDependenciesInitFragment(\n\t\t\t\t\tnew Set([dep.getImportVar(templateContext.moduleGraph)])\n\t\t\t\t)\n\t\t\t);\n\t\t\ttemplateContext.initFragments.push(\n\t\t\t\tnew ConditionalInitFragment(\n\t\t\t\t\timportStatement[1],\n\t\t\t\t\tInitFragment.STAGE_ASYNC_HARMONY_IMPORTS,\n\t\t\t\t\tdep.sourceOrder,\n\t\t\t\t\tkey + \" compat\",\n\t\t\t\t\truntimeCondition\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\ttemplateContext.initFragments.push(\n\t\t\t\tnew ConditionalInitFragment(\n\t\t\t\t\timportStatement[0] + importStatement[1],\n\t\t\t\t\tInitFragment.STAGE_HARMONY_IMPORTS,\n\t\t\t\t\tdep.sourceOrder,\n\t\t\t\t\tkey,\n\t\t\t\t\truntimeCondition\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t *\n\t * @param {Module} module the module\n\t * @param {Module} referencedModule the referenced module\n\t * @returns {RuntimeSpec | boolean} runtimeCondition in which this import has been emitted\n\t */\n\tstatic getImportEmittedRuntime(module, referencedModule) {\n\t\tconst emittedModules = importEmittedMap.get(module);\n\t\tif (emittedModules === undefined) return false;\n\t\treturn emittedModules.get(referencedModule) || false;\n\t}\n};\n\nmodule.exports.ExportPresenceModes = ExportPresenceModes;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js ***! \**************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst HotModuleReplacementPlugin = __webpack_require__(/*! ../HotModuleReplacementPlugin */ \"./node_modules/webpack/lib/HotModuleReplacementPlugin.js\");\nconst InnerGraph = __webpack_require__(/*! ../optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst HarmonyAcceptDependency = __webpack_require__(/*! ./HarmonyAcceptDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js\");\nconst HarmonyAcceptImportDependency = __webpack_require__(/*! ./HarmonyAcceptImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js\");\nconst HarmonyEvaluatedImportSpecifierDependency = __webpack_require__(/*! ./HarmonyEvaluatedImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js\");\nconst HarmonyExports = __webpack_require__(/*! ./HarmonyExports */ \"./node_modules/webpack/lib/dependencies/HarmonyExports.js\");\nconst { ExportPresenceModes } = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst HarmonyImportSideEffectDependency = __webpack_require__(/*! ./HarmonyImportSideEffectDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js\");\nconst HarmonyImportSpecifierDependency = __webpack_require__(/*! ./HarmonyImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js\");\n\n/** @typedef {import(\"estree\").ExportAllDeclaration} ExportAllDeclaration */\n/** @typedef {import(\"estree\").ExportNamedDeclaration} ExportNamedDeclaration */\n/** @typedef {import(\"estree\").Identifier} Identifier */\n/** @typedef {import(\"estree\").ImportDeclaration} ImportDeclaration */\n/** @typedef {import(\"estree\").ImportExpression} ImportExpression */\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"../optimize/InnerGraph\").InnerGraph} InnerGraph */\n/** @typedef {import(\"../optimize/InnerGraph\").TopLevelSymbol} TopLevelSymbol */\n/** @typedef {import(\"./HarmonyImportDependency\")} HarmonyImportDependency */\n\nconst harmonySpecifierTag = Symbol(\"harmony import\");\n\n/**\n * @typedef {Object} HarmonySettings\n * @property {string[]} ids\n * @property {string} source\n * @property {number} sourceOrder\n * @property {string} name\n * @property {boolean} await\n * @property {Record<string, any> | undefined} assertions\n */\n\n/**\n * @param {ImportDeclaration | ExportNamedDeclaration | ExportAllDeclaration | ImportExpression} node node with assertions\n * @returns {Record<string, any> | undefined} assertions\n */\nfunction getAssertions(node) {\n\t// TODO remove cast when @types/estree has been updated to import assertions\n\tconst assertions = /** @type {{ assertions?: ImportAttributeNode[] }} */ (\n\t\tnode\n\t).assertions;\n\tif (assertions === undefined) {\n\t\treturn undefined;\n\t}\n\tconst result = {};\n\tfor (const assertion of assertions) {\n\t\tconst key =\n\t\t\tassertion.key.type === \"Identifier\"\n\t\t\t\t? assertion.key.name\n\t\t\t\t: assertion.key.value;\n\t\tresult[key] = assertion.value.value;\n\t}\n\treturn result;\n}\n\nmodule.exports = class HarmonyImportDependencyParserPlugin {\n\t/**\n\t * @param {JavascriptParserOptions} options options\n\t */\n\tconstructor(options) {\n\t\tthis.exportPresenceMode =\n\t\t\toptions.importExportsPresence !== undefined\n\t\t\t\t? ExportPresenceModes.fromUserOption(options.importExportsPresence)\n\t\t\t\t: options.exportsPresence !== undefined\n\t\t\t\t? ExportPresenceModes.fromUserOption(options.exportsPresence)\n\t\t\t\t: options.strictExportPresence\n\t\t\t\t? ExportPresenceModes.ERROR\n\t\t\t\t: ExportPresenceModes.AUTO;\n\t\tthis.strictThisContextOnImports = options.strictThisContextOnImports;\n\t}\n\n\t/**\n\t * @param {JavascriptParser} parser the parser\n\t * @returns {void}\n\t */\n\tapply(parser) {\n\t\tconst { exportPresenceMode } = this;\n\n\t\tfunction getNonOptionalPart(members, membersOptionals) {\n\t\t\tlet i = 0;\n\t\t\twhile (i < members.length && membersOptionals[i] === false) i++;\n\t\t\treturn i !== members.length ? members.slice(0, i) : members;\n\t\t}\n\n\t\tfunction getNonOptionalMemberChain(node, count) {\n\t\t\twhile (count--) node = node.object;\n\t\t\treturn node;\n\t\t}\n\n\t\tparser.hooks.isPure\n\t\t\t.for(\"Identifier\")\n\t\t\t.tap(\"HarmonyImportDependencyParserPlugin\", expression => {\n\t\t\t\tconst expr = /** @type {Identifier} */ (expression);\n\t\t\t\tif (\n\t\t\t\t\tparser.isVariableDefined(expr.name) ||\n\t\t\t\t\tparser.getTagData(expr.name, harmonySpecifierTag)\n\t\t\t\t) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t});\n\t\tparser.hooks.import.tap(\n\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t(statement, source) => {\n\t\t\t\tparser.state.lastHarmonyImportOrder =\n\t\t\t\t\t(parser.state.lastHarmonyImportOrder || 0) + 1;\n\t\t\t\tconst clearDep = new ConstDependency(\n\t\t\t\t\tparser.isAsiPosition(statement.range[0]) ? \";\" : \"\",\n\t\t\t\t\tstatement.range\n\t\t\t\t);\n\t\t\t\tclearDep.loc = statement.loc;\n\t\t\t\tparser.state.module.addPresentationalDependency(clearDep);\n\t\t\t\tparser.unsetAsiPosition(statement.range[1]);\n\t\t\t\tconst assertions = getAssertions(statement);\n\t\t\t\tconst sideEffectDep = new HarmonyImportSideEffectDependency(\n\t\t\t\t\tsource,\n\t\t\t\t\tparser.state.lastHarmonyImportOrder,\n\t\t\t\t\tassertions\n\t\t\t\t);\n\t\t\t\tsideEffectDep.loc = statement.loc;\n\t\t\t\tparser.state.module.addDependency(sideEffectDep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.importSpecifier.tap(\n\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t(statement, source, id, name) => {\n\t\t\t\tconst ids = id === null ? [] : [id];\n\t\t\t\tparser.tagVariable(name, harmonySpecifierTag, {\n\t\t\t\t\tname,\n\t\t\t\t\tsource,\n\t\t\t\t\tids,\n\t\t\t\t\tsourceOrder: parser.state.lastHarmonyImportOrder,\n\t\t\t\t\tassertions: getAssertions(statement)\n\t\t\t\t});\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.binaryExpression.tap(\n\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\texpression => {\n\t\t\t\tif (expression.operator !== \"in\") return;\n\n\t\t\t\tconst leftPartEvaluated = parser.evaluateExpression(expression.left);\n\t\t\t\tif (leftPartEvaluated.couldHaveSideEffects()) return;\n\t\t\t\tconst leftPart = leftPartEvaluated.asString();\n\t\t\t\tif (!leftPart) return;\n\n\t\t\t\tconst rightPart = parser.evaluateExpression(expression.right);\n\t\t\t\tif (!rightPart.isIdentifier()) return;\n\n\t\t\t\tconst rootInfo = rightPart.rootInfo;\n\t\t\t\tif (\n\t\t\t\t\t!rootInfo ||\n\t\t\t\t\t!rootInfo.tagInfo ||\n\t\t\t\t\trootInfo.tagInfo.tag !== harmonySpecifierTag\n\t\t\t\t)\n\t\t\t\t\treturn;\n\t\t\t\tconst settings = rootInfo.tagInfo.data;\n\t\t\t\tconst members = rightPart.getMembers();\n\t\t\t\tconst dep = new HarmonyEvaluatedImportSpecifierDependency(\n\t\t\t\t\tsettings.source,\n\t\t\t\t\tsettings.sourceOrder,\n\t\t\t\t\tsettings.ids.concat(members).concat([leftPart]),\n\t\t\t\t\tsettings.name,\n\t\t\t\t\texpression.range,\n\t\t\t\t\tsettings.assertions,\n\t\t\t\t\t\"in\"\n\t\t\t\t);\n\t\t\t\tdep.directImport = members.length === 0;\n\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expression.range[0]);\n\t\t\t\tdep.loc = expression.loc;\n\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\tInnerGraph.onUsage(parser.state, e => (dep.usedByExports = e));\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\tparser.hooks.expression\n\t\t\t.for(harmonySpecifierTag)\n\t\t\t.tap(\"HarmonyImportDependencyParserPlugin\", expr => {\n\t\t\t\tconst settings = /** @type {HarmonySettings} */ (parser.currentTagData);\n\t\t\t\tconst dep = new HarmonyImportSpecifierDependency(\n\t\t\t\t\tsettings.source,\n\t\t\t\t\tsettings.sourceOrder,\n\t\t\t\t\tsettings.ids,\n\t\t\t\t\tsettings.name,\n\t\t\t\t\texpr.range,\n\t\t\t\t\texportPresenceMode,\n\t\t\t\t\tsettings.assertions\n\t\t\t\t);\n\t\t\t\tdep.shorthand = parser.scope.inShorthand;\n\t\t\t\tdep.directImport = true;\n\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expr.range[0]);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\tInnerGraph.onUsage(parser.state, e => (dep.usedByExports = e));\n\t\t\t\treturn true;\n\t\t\t});\n\t\tparser.hooks.expressionMemberChain\n\t\t\t.for(harmonySpecifierTag)\n\t\t\t.tap(\n\t\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t\t(expression, members, membersOptionals) => {\n\t\t\t\t\tconst settings = /** @type {HarmonySettings} */ (\n\t\t\t\t\t\tparser.currentTagData\n\t\t\t\t\t);\n\t\t\t\t\tconst nonOptionalMembers = getNonOptionalPart(\n\t\t\t\t\t\tmembers,\n\t\t\t\t\t\tmembersOptionals\n\t\t\t\t\t);\n\t\t\t\t\tconst expr =\n\t\t\t\t\t\tnonOptionalMembers !== members\n\t\t\t\t\t\t\t? getNonOptionalMemberChain(\n\t\t\t\t\t\t\t\t\texpression,\n\t\t\t\t\t\t\t\t\tmembers.length - nonOptionalMembers.length\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: expression;\n\t\t\t\t\tconst ids = settings.ids.concat(nonOptionalMembers);\n\t\t\t\t\tconst dep = new HarmonyImportSpecifierDependency(\n\t\t\t\t\t\tsettings.source,\n\t\t\t\t\t\tsettings.sourceOrder,\n\t\t\t\t\t\tids,\n\t\t\t\t\t\tsettings.name,\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\texportPresenceMode,\n\t\t\t\t\t\tsettings.assertions\n\t\t\t\t\t);\n\t\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expr.range[0]);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\tInnerGraph.onUsage(parser.state, e => (dep.usedByExports = e));\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t);\n\t\tparser.hooks.callMemberChain\n\t\t\t.for(harmonySpecifierTag)\n\t\t\t.tap(\n\t\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t\t(expression, members, membersOptionals) => {\n\t\t\t\t\tconst { arguments: args, callee } = expression;\n\t\t\t\t\tconst settings = /** @type {HarmonySettings} */ (\n\t\t\t\t\t\tparser.currentTagData\n\t\t\t\t\t);\n\t\t\t\t\tconst nonOptionalMembers = getNonOptionalPart(\n\t\t\t\t\t\tmembers,\n\t\t\t\t\t\tmembersOptionals\n\t\t\t\t\t);\n\t\t\t\t\tconst expr =\n\t\t\t\t\t\tnonOptionalMembers !== members\n\t\t\t\t\t\t\t? getNonOptionalMemberChain(\n\t\t\t\t\t\t\t\t\tcallee,\n\t\t\t\t\t\t\t\t\tmembers.length - nonOptionalMembers.length\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: callee;\n\t\t\t\t\tconst ids = settings.ids.concat(nonOptionalMembers);\n\t\t\t\t\tconst dep = new HarmonyImportSpecifierDependency(\n\t\t\t\t\t\tsettings.source,\n\t\t\t\t\t\tsettings.sourceOrder,\n\t\t\t\t\t\tids,\n\t\t\t\t\t\tsettings.name,\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\texportPresenceMode,\n\t\t\t\t\t\tsettings.assertions\n\t\t\t\t\t);\n\t\t\t\t\tdep.directImport = members.length === 0;\n\t\t\t\t\tdep.call = true;\n\t\t\t\t\tdep.asiSafe = !parser.isAsiPosition(expr.range[0]);\n\t\t\t\t\t// only in case when we strictly follow the spec we need a special case here\n\t\t\t\t\tdep.namespaceObjectAsContext =\n\t\t\t\t\t\tmembers.length > 0 && this.strictThisContextOnImports;\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\tif (args) parser.walkExpressions(args);\n\t\t\t\t\tInnerGraph.onUsage(parser.state, e => (dep.usedByExports = e));\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t);\n\t\tconst { hotAcceptCallback, hotAcceptWithoutCallback } =\n\t\t\tHotModuleReplacementPlugin.getParserHooks(parser);\n\t\thotAcceptCallback.tap(\n\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t(expr, requests) => {\n\t\t\t\tif (!HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\t\t// This is not a harmony module, skip it\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst dependencies = requests.map(request => {\n\t\t\t\t\tconst dep = new HarmonyAcceptImportDependency(request);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\treturn dep;\n\t\t\t\t});\n\t\t\t\tif (dependencies.length > 0) {\n\t\t\t\t\tconst dep = new HarmonyAcceptDependency(\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\tdependencies,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t\thotAcceptWithoutCallback.tap(\n\t\t\t\"HarmonyImportDependencyParserPlugin\",\n\t\t\t(expr, requests) => {\n\t\t\t\tif (!HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\t\t// This is not a harmony module, skip it\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst dependencies = requests.map(request => {\n\t\t\t\t\tconst dep = new HarmonyAcceptImportDependency(request);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\treturn dep;\n\t\t\t\t});\n\t\t\t\tif (dependencies.length > 0) {\n\t\t\t\t\tconst dep = new HarmonyAcceptDependency(\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\tdependencies,\n\t\t\t\t\t\tfalse\n\t\t\t\t\t);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n};\n\nmodule.exports.harmonySpecifierTag = harmonySpecifierTag;\nmodule.exports.getAssertions = getAssertions;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js": /*!************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js ***! \************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../InitFragment\")} InitFragment */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass HarmonyImportSideEffectDependency extends HarmonyImportDependency {\n\tconstructor(request, sourceOrder, assertions) {\n\t\tsuper(request, sourceOrder, assertions);\n\t}\n\n\tget type() {\n\t\treturn \"harmony side effect evaluation\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn connection => {\n\t\t\tconst refModule = connection.resolvedModule;\n\t\t\tif (!refModule) return true;\n\t\t\treturn refModule.getSideEffectsConnectionState(moduleGraph);\n\t\t};\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\tconst refModule = moduleGraph.getModule(this);\n\t\tif (!refModule) return true;\n\t\treturn refModule.getSideEffectsConnectionState(moduleGraph);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyImportSideEffectDependency,\n\t\"webpack/lib/dependencies/HarmonyImportSideEffectDependency\"\n);\n\nHarmonyImportSideEffectDependency.Template = class HarmonyImportSideEffectDependencyTemplate extends (\n\tHarmonyImportDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst { moduleGraph, concatenationScope } = templateContext;\n\t\tif (concatenationScope) {\n\t\t\tconst module = moduleGraph.getModule(dependency);\n\t\t\tif (concatenationScope.isModuleInScope(module)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tsuper.apply(dependency, source, templateContext);\n\t}\n};\n\nmodule.exports = HarmonyImportSideEffectDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst {\n\tgetDependencyUsedByExportsCondition\n} = __webpack_require__(/*! ../optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ./HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst idsSymbol = Symbol(\"HarmonyImportSpecifierDependency.ids\");\n\nconst { ExportPresenceModes } = HarmonyImportDependency;\n\nclass HarmonyImportSpecifierDependency extends HarmonyImportDependency {\n\tconstructor(\n\t\trequest,\n\t\tsourceOrder,\n\t\tids,\n\t\tname,\n\t\trange,\n\t\texportPresenceMode,\n\t\tassertions\n\t) {\n\t\tsuper(request, sourceOrder, assertions);\n\t\tthis.ids = ids;\n\t\tthis.name = name;\n\t\tthis.range = range;\n\t\tthis.exportPresenceMode = exportPresenceMode;\n\t\tthis.namespaceObjectAsContext = false;\n\t\tthis.call = undefined;\n\t\tthis.directImport = undefined;\n\t\tthis.shorthand = undefined;\n\t\tthis.asiSafe = undefined;\n\t\t/** @type {Set<string> | boolean} */\n\t\tthis.usedByExports = undefined;\n\t}\n\n\t// TODO webpack 6 remove\n\tget id() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\t// TODO webpack 6 remove\n\tgetId() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\t// TODO webpack 6 remove\n\tsetId() {\n\t\tthrow new Error(\"id was renamed to ids and type changed to string[]\");\n\t}\n\n\tget type() {\n\t\treturn \"harmony import specifier\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {string[]} the imported ids\n\t */\n\tgetIds(moduleGraph) {\n\t\tconst meta = moduleGraph.getMetaIfExisting(this);\n\t\tif (meta === undefined) return this.ids;\n\t\tconst ids = meta[idsSymbol];\n\t\treturn ids !== undefined ? ids : this.ids;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {string[]} ids the imported ids\n\t * @returns {void}\n\t */\n\tsetIds(moduleGraph, ids) {\n\t\tmoduleGraph.getMeta(this)[idsSymbol] = ids;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn getDependencyUsedByExportsCondition(\n\t\t\tthis,\n\t\t\tthis.usedByExports,\n\t\t\tmoduleGraph\n\t\t);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn false;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tlet ids = this.getIds(moduleGraph);\n\t\tif (ids.length === 0) return Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\tlet namespaceObjectAsContext = this.namespaceObjectAsContext;\n\t\tif (ids[0] === \"default\") {\n\t\t\tconst selfModule = moduleGraph.getParentModule(this);\n\t\t\tconst importedModule = moduleGraph.getModule(this);\n\t\t\tswitch (\n\t\t\t\timportedModule.getExportsType(\n\t\t\t\t\tmoduleGraph,\n\t\t\t\t\tselfModule.buildMeta.strictHarmonyModule\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tcase \"default-only\":\n\t\t\t\tcase \"default-with-named\":\n\t\t\t\t\tif (ids.length === 1) return Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\t\t\tids = ids.slice(1);\n\t\t\t\t\tnamespaceObjectAsContext = true;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"dynamic\":\n\t\t\t\t\treturn Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\tthis.call &&\n\t\t\t!this.directImport &&\n\t\t\t(namespaceObjectAsContext || ids.length > 1)\n\t\t) {\n\t\t\tif (ids.length === 1) return Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\t\tids = ids.slice(0, -1);\n\t\t}\n\n\t\treturn [ids];\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {number} effective mode\n\t */\n\t_getEffectiveExportPresenceLevel(moduleGraph) {\n\t\tif (this.exportPresenceMode !== ExportPresenceModes.AUTO)\n\t\t\treturn this.exportPresenceMode;\n\t\treturn moduleGraph.getParentModule(this).buildMeta.strictHarmonyModule\n\t\t\t? ExportPresenceModes.ERROR\n\t\t\t: ExportPresenceModes.WARN;\n\t}\n\n\t/**\n\t * Returns warnings\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} warnings\n\t */\n\tgetWarnings(moduleGraph) {\n\t\tconst exportsPresence = this._getEffectiveExportPresenceLevel(moduleGraph);\n\t\tif (exportsPresence === ExportPresenceModes.WARN) {\n\t\t\treturn this._getErrors(moduleGraph);\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * Returns errors\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} errors\n\t */\n\tgetErrors(moduleGraph) {\n\t\tconst exportsPresence = this._getEffectiveExportPresenceLevel(moduleGraph);\n\t\tif (exportsPresence === ExportPresenceModes.ERROR) {\n\t\t\treturn this._getErrors(moduleGraph);\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[] | undefined} errors\n\t */\n\t_getErrors(moduleGraph) {\n\t\tconst ids = this.getIds(moduleGraph);\n\t\treturn this.getLinkingErrors(\n\t\t\tmoduleGraph,\n\t\t\tids,\n\t\t\t`(imported as '${this.name}')`\n\t\t);\n\t}\n\n\t/**\n\t * implement this method to allow the occurrence order plugin to count correctly\n\t * @returns {number} count how often the id is used in this dependency\n\t */\n\tgetNumberOfIdOccurrences() {\n\t\treturn 0;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.ids);\n\t\twrite(this.name);\n\t\twrite(this.range);\n\t\twrite(this.exportPresenceMode);\n\t\twrite(this.namespaceObjectAsContext);\n\t\twrite(this.call);\n\t\twrite(this.directImport);\n\t\twrite(this.shorthand);\n\t\twrite(this.asiSafe);\n\t\twrite(this.usedByExports);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.ids = read();\n\t\tthis.name = read();\n\t\tthis.range = read();\n\t\tthis.exportPresenceMode = read();\n\t\tthis.namespaceObjectAsContext = read();\n\t\tthis.call = read();\n\t\tthis.directImport = read();\n\t\tthis.shorthand = read();\n\t\tthis.asiSafe = read();\n\t\tthis.usedByExports = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tHarmonyImportSpecifierDependency,\n\t\"webpack/lib/dependencies/HarmonyImportSpecifierDependency\"\n);\n\nHarmonyImportSpecifierDependency.Template = class HarmonyImportSpecifierDependencyTemplate extends (\n\tHarmonyImportDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {HarmonyImportSpecifierDependency} */ (dependency);\n\t\tconst { moduleGraph, runtime } = templateContext;\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\t// Skip rendering depending when dependency is conditional\n\t\tif (connection && !connection.isTargetActive(runtime)) return;\n\n\t\tconst ids = dep.getIds(moduleGraph);\n\t\tconst exportExpr = this._getCodeForIds(dep, source, templateContext, ids);\n\t\tconst range = dep.range;\n\t\tif (dep.shorthand) {\n\t\t\tsource.insert(range[1], `: ${exportExpr}`);\n\t\t} else {\n\t\t\tsource.replace(range[0], range[1] - 1, exportExpr);\n\t\t}\n\t}\n\n\t/**\n\t * @param {HarmonyImportSpecifierDependency} dep dependency\n\t * @param {ReplaceSource} source source\n\t * @param {DependencyTemplateContext} templateContext context\n\t * @param {string[]} ids ids\n\t * @returns {string} generated code\n\t */\n\t_getCodeForIds(dep, source, templateContext, ids) {\n\t\tconst { moduleGraph, module, runtime, concatenationScope } =\n\t\t\ttemplateContext;\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\tlet exportExpr;\n\t\tif (\n\t\t\tconnection &&\n\t\t\tconcatenationScope &&\n\t\t\tconcatenationScope.isModuleInScope(connection.module)\n\t\t) {\n\t\t\tif (ids.length === 0) {\n\t\t\t\texportExpr = concatenationScope.createModuleReference(\n\t\t\t\t\tconnection.module,\n\t\t\t\t\t{\n\t\t\t\t\t\tasiSafe: dep.asiSafe\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t} else if (dep.namespaceObjectAsContext && ids.length === 1) {\n\t\t\t\texportExpr =\n\t\t\t\t\tconcatenationScope.createModuleReference(connection.module, {\n\t\t\t\t\t\tasiSafe: dep.asiSafe\n\t\t\t\t\t}) + propertyAccess(ids);\n\t\t\t} else {\n\t\t\t\texportExpr = concatenationScope.createModuleReference(\n\t\t\t\t\tconnection.module,\n\t\t\t\t\t{\n\t\t\t\t\t\tids,\n\t\t\t\t\t\tcall: dep.call,\n\t\t\t\t\t\tdirectImport: dep.directImport,\n\t\t\t\t\t\tasiSafe: dep.asiSafe\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tsuper.apply(dep, source, templateContext);\n\n\t\t\tconst { runtimeTemplate, initFragments, runtimeRequirements } =\n\t\t\t\ttemplateContext;\n\n\t\t\texportExpr = runtimeTemplate.exportFromImport({\n\t\t\t\tmoduleGraph,\n\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\trequest: dep.request,\n\t\t\t\texportName: ids,\n\t\t\t\toriginModule: module,\n\t\t\t\tasiSafe: dep.shorthand ? true : dep.asiSafe,\n\t\t\t\tisCall: dep.call,\n\t\t\t\tcallContext: !dep.directImport,\n\t\t\t\tdefaultInterop: true,\n\t\t\t\timportVar: dep.getImportVar(moduleGraph),\n\t\t\t\tinitFragments,\n\t\t\t\truntime,\n\t\t\t\truntimeRequirements\n\t\t\t});\n\t\t}\n\t\treturn exportExpr;\n\t}\n};\n\nmodule.exports = HarmonyImportSpecifierDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst HarmonyAcceptDependency = __webpack_require__(/*! ./HarmonyAcceptDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js\");\nconst HarmonyAcceptImportDependency = __webpack_require__(/*! ./HarmonyAcceptImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js\");\nconst HarmonyCompatibilityDependency = __webpack_require__(/*! ./HarmonyCompatibilityDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js\");\nconst HarmonyEvaluatedImportSpecifierDependency = __webpack_require__(/*! ./HarmonyEvaluatedImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js\");\nconst HarmonyExportExpressionDependency = __webpack_require__(/*! ./HarmonyExportExpressionDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js\");\nconst HarmonyExportHeaderDependency = __webpack_require__(/*! ./HarmonyExportHeaderDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js\");\nconst HarmonyExportImportedSpecifierDependency = __webpack_require__(/*! ./HarmonyExportImportedSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js\");\nconst HarmonyExportSpecifierDependency = __webpack_require__(/*! ./HarmonyExportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js\");\nconst HarmonyImportSideEffectDependency = __webpack_require__(/*! ./HarmonyImportSideEffectDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js\");\nconst HarmonyImportSpecifierDependency = __webpack_require__(/*! ./HarmonyImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js\");\n\nconst HarmonyDetectionParserPlugin = __webpack_require__(/*! ./HarmonyDetectionParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js\");\nconst HarmonyExportDependencyParserPlugin = __webpack_require__(/*! ./HarmonyExportDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js\");\nconst HarmonyImportDependencyParserPlugin = __webpack_require__(/*! ./HarmonyImportDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js\");\nconst HarmonyTopLevelThisParserPlugin = __webpack_require__(/*! ./HarmonyTopLevelThisParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass HarmonyModulesPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"HarmonyModulesPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyCompatibilityDependency,\n\t\t\t\t\tnew HarmonyCompatibilityDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tHarmonyImportSideEffectDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyImportSideEffectDependency,\n\t\t\t\t\tnew HarmonyImportSideEffectDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tHarmonyImportSpecifierDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyImportSpecifierDependency,\n\t\t\t\t\tnew HarmonyImportSpecifierDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tHarmonyEvaluatedImportSpecifierDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyEvaluatedImportSpecifierDependency,\n\t\t\t\t\tnew HarmonyEvaluatedImportSpecifierDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyExportHeaderDependency,\n\t\t\t\t\tnew HarmonyExportHeaderDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyExportExpressionDependency,\n\t\t\t\t\tnew HarmonyExportExpressionDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyExportSpecifierDependency,\n\t\t\t\t\tnew HarmonyExportSpecifierDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tHarmonyExportImportedSpecifierDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyExportImportedSpecifierDependency,\n\t\t\t\t\tnew HarmonyExportImportedSpecifierDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyAcceptDependency,\n\t\t\t\t\tnew HarmonyAcceptDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tHarmonyAcceptImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tHarmonyAcceptImportDependency,\n\t\t\t\t\tnew HarmonyAcceptImportDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\t// TODO webpack 6: rename harmony to esm or module\n\t\t\t\t\tif (parserOptions.harmony !== undefined && !parserOptions.harmony)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tnew HarmonyDetectionParserPlugin(this.options).apply(parser);\n\t\t\t\t\tnew HarmonyImportDependencyParserPlugin(parserOptions).apply(parser);\n\t\t\t\t\tnew HarmonyExportDependencyParserPlugin(parserOptions).apply(parser);\n\t\t\t\t\tnew HarmonyTopLevelThisParserPlugin().apply(parser);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"HarmonyModulesPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"HarmonyModulesPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = HarmonyModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst HarmonyExports = __webpack_require__(/*! ./HarmonyExports */ \"./node_modules/webpack/lib/dependencies/HarmonyExports.js\");\n\nclass HarmonyTopLevelThisParserPlugin {\n\tapply(parser) {\n\t\tparser.hooks.expression\n\t\t\t.for(\"this\")\n\t\t\t.tap(\"HarmonyTopLevelThisParserPlugin\", node => {\n\t\t\t\tif (!parser.scope.topLevelScope) return;\n\t\t\t\tif (HarmonyExports.isEnabled(parser.state)) {\n\t\t\t\t\tconst dep = new ConstDependency(\"undefined\", node.range, null);\n\t\t\t\t\tdep.loc = node.loc;\n\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t});\n\t}\n}\n\nmodule.exports = HarmonyTopLevelThisParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportContextDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportContextDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\nconst ContextDependencyTemplateAsRequireCall = __webpack_require__(/*! ./ContextDependencyTemplateAsRequireCall */ \"./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js\");\n\nclass ImportContextDependency extends ContextDependency {\n\tconstructor(options, range, valueRange) {\n\t\tsuper(options);\n\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t}\n\n\tget type() {\n\t\treturn `import() context ${this.options.mode}`;\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.valueRange);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.valueRange = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tImportContextDependency,\n\t\"webpack/lib/dependencies/ImportContextDependency\"\n);\n\nImportContextDependency.Template = ContextDependencyTemplateAsRequireCall;\n\nmodule.exports = ImportContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportDependency.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportDependency.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass ImportDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request the request\n\t * @param {[number, number]} range expression range\n\t * @param {string[][]=} referencedExports list of referenced exports\n\t */\n\tconstructor(request, range, referencedExports) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.referencedExports = referencedExports;\n\t}\n\n\tget type() {\n\t\treturn \"import()\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn this.referencedExports\n\t\t\t? this.referencedExports.map(e => ({\n\t\t\t\t\tname: e,\n\t\t\t\t\tcanMangle: false\n\t\t\t }))\n\t\t\t: Dependency.EXPORTS_OBJECT_REFERENCED;\n\t}\n\n\tserialize(context) {\n\t\tcontext.write(this.range);\n\t\tcontext.write(this.referencedExports);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tthis.range = context.read();\n\t\tthis.referencedExports = context.read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(ImportDependency, \"webpack/lib/dependencies/ImportDependency\");\n\nImportDependency.Template = class ImportDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, module, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ImportDependency} */ (dependency);\n\t\tconst block = /** @type {AsyncDependenciesBlock} */ (\n\t\t\tmoduleGraph.getParentBlock(dep)\n\t\t);\n\t\tconst content = runtimeTemplate.moduleNamespacePromise({\n\t\t\tchunkGraph,\n\t\t\tblock: block,\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\trequest: dep.request,\n\t\t\tstrict: module.buildMeta.strictHarmonyModule,\n\t\t\tmessage: \"import()\",\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n};\n\nmodule.exports = ImportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportEagerDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportEagerDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ImportDependency = __webpack_require__(/*! ./ImportDependency */ \"./node_modules/webpack/lib/dependencies/ImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\nclass ImportEagerDependency extends ImportDependency {\n\t/**\n\t * @param {string} request the request\n\t * @param {[number, number]} range expression range\n\t * @param {string[][]=} referencedExports list of referenced exports\n\t */\n\tconstructor(request, range, referencedExports) {\n\t\tsuper(request, range, referencedExports);\n\t}\n\n\tget type() {\n\t\treturn \"import() eager\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tImportEagerDependency,\n\t\"webpack/lib/dependencies/ImportEagerDependency\"\n);\n\nImportEagerDependency.Template = class ImportEagerDependencyTemplate extends (\n\tImportDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, module, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ImportEagerDependency} */ (dependency);\n\t\tconst content = runtimeTemplate.moduleNamespacePromise({\n\t\t\tchunkGraph,\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\trequest: dep.request,\n\t\t\tstrict: module.buildMeta.strictHarmonyModule,\n\t\t\tmessage: \"import() eager\",\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n};\n\nmodule.exports = ImportEagerDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportEagerDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\nconst ModuleDependencyTemplateAsRequireId = __webpack_require__(/*! ./ModuleDependencyTemplateAsRequireId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js\");\n\nclass ImportMetaContextDependency extends ContextDependency {\n\tconstructor(options, range) {\n\t\tsuper(options);\n\n\t\tthis.range = range;\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\tget type() {\n\t\treturn `import.meta.webpackContext ${this.options.mode}`;\n\t}\n}\n\nmakeSerializable(\n\tImportMetaContextDependency,\n\t\"webpack/lib/dependencies/ImportMetaContextDependency\"\n);\n\nImportMetaContextDependency.Template = ModuleDependencyTemplateAsRequireId;\n\nmodule.exports = ImportMetaContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js": /*!******************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js ***! \******************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst {\n\tevaluateToIdentifier\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst ImportMetaContextDependency = __webpack_require__(/*! ./ImportMetaContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js\");\n\n/** @typedef {import(\"estree\").Expression} ExpressionNode */\n/** @typedef {import(\"estree\").ObjectExpression} ObjectExpressionNode */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"../ContextModule\").ContextModuleOptions} ContextModuleOptions */\n/** @typedef {import(\"../ChunkGroup\").RawChunkGroupOptions} RawChunkGroupOptions */\n/** @typedef {Pick<ContextModuleOptions, 'mode'|'recursive'|'regExp'|'include'|'exclude'|'chunkName'>&{groupOptions: RawChunkGroupOptions, exports?: ContextModuleOptions[\"referencedExports\"]}} ImportMetaContextOptions */\n\nfunction createPropertyParseError(prop, expect) {\n\treturn createError(\n\t\t`Parsing import.meta.webpackContext options failed. Unknown value for property ${JSON.stringify(\n\t\t\tprop.key.name\n\t\t)}, expected type ${expect}.`,\n\t\tprop.value.loc\n\t);\n}\n\nfunction createError(msg, loc) {\n\tconst error = new WebpackError(msg);\n\terror.name = \"ImportMetaContextError\";\n\terror.loc = loc;\n\treturn error;\n}\n\nmodule.exports = class ImportMetaContextDependencyParserPlugin {\n\tapply(parser) {\n\t\tparser.hooks.evaluateIdentifier\n\t\t\t.for(\"import.meta.webpackContext\")\n\t\t\t.tap(\"ImportMetaContextDependencyParserPlugin\", expr => {\n\t\t\t\treturn evaluateToIdentifier(\n\t\t\t\t\t\"import.meta.webpackContext\",\n\t\t\t\t\t\"import.meta\",\n\t\t\t\t\t() => [\"webpackContext\"],\n\t\t\t\t\ttrue\n\t\t\t\t)(expr);\n\t\t\t});\n\t\tparser.hooks.call\n\t\t\t.for(\"import.meta.webpackContext\")\n\t\t\t.tap(\"ImportMetaContextDependencyParserPlugin\", expr => {\n\t\t\t\tif (expr.arguments.length < 1 || expr.arguments.length > 2) return;\n\t\t\t\tconst [directoryNode, optionsNode] = expr.arguments;\n\t\t\t\tif (optionsNode && optionsNode.type !== \"ObjectExpression\") return;\n\t\t\t\tconst requestExpr = parser.evaluateExpression(directoryNode);\n\t\t\t\tif (!requestExpr.isString()) return;\n\t\t\t\tconst request = requestExpr.string;\n\t\t\t\tconst errors = [];\n\t\t\t\tlet regExp = /^\\.\\/.*$/;\n\t\t\t\tlet recursive = true;\n\t\t\t\t/** @type {ContextModuleOptions[\"mode\"]} */\n\t\t\t\tlet mode = \"sync\";\n\t\t\t\t/** @type {ContextModuleOptions[\"include\"]} */\n\t\t\t\tlet include;\n\t\t\t\t/** @type {ContextModuleOptions[\"exclude\"]} */\n\t\t\t\tlet exclude;\n\t\t\t\t/** @type {RawChunkGroupOptions} */\n\t\t\t\tconst groupOptions = {};\n\t\t\t\t/** @type {ContextModuleOptions[\"chunkName\"]} */\n\t\t\t\tlet chunkName;\n\t\t\t\t/** @type {ContextModuleOptions[\"referencedExports\"]} */\n\t\t\t\tlet exports;\n\t\t\t\tif (optionsNode) {\n\t\t\t\t\tfor (const prop of optionsNode.properties) {\n\t\t\t\t\t\tif (prop.type !== \"Property\" || prop.key.type !== \"Identifier\") {\n\t\t\t\t\t\t\terrors.push(\n\t\t\t\t\t\t\t\tcreateError(\n\t\t\t\t\t\t\t\t\t\"Parsing import.meta.webpackContext options failed.\",\n\t\t\t\t\t\t\t\t\toptionsNode.loc\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (prop.key.name) {\n\t\t\t\t\t\t\tcase \"regExp\": {\n\t\t\t\t\t\t\t\tconst regExpExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!regExpExpr.isRegExp()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"RegExp\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tregExp = regExpExpr.regExp;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"include\": {\n\t\t\t\t\t\t\t\tconst regExpExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!regExpExpr.isRegExp()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"RegExp\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinclude = regExpExpr.regExp;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"exclude\": {\n\t\t\t\t\t\t\t\tconst regExpExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!regExpExpr.isRegExp()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"RegExp\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\texclude = regExpExpr.regExp;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"mode\": {\n\t\t\t\t\t\t\t\tconst modeExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!modeExpr.isString()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"string\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tmode = /** @type {ContextModuleOptions[\"mode\"]} */ (\n\t\t\t\t\t\t\t\t\t\tmodeExpr.string\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"chunkName\": {\n\t\t\t\t\t\t\t\tconst expr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!expr.isString()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"string\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tchunkName = expr.string;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"exports\": {\n\t\t\t\t\t\t\t\tconst expr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (expr.isString()) {\n\t\t\t\t\t\t\t\t\texports = [[expr.string]];\n\t\t\t\t\t\t\t\t} else if (expr.isArray()) {\n\t\t\t\t\t\t\t\t\tconst items = expr.items;\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\titems.every(i => {\n\t\t\t\t\t\t\t\t\t\t\tif (!i.isArray()) return false;\n\t\t\t\t\t\t\t\t\t\t\tconst innerItems = i.items;\n\t\t\t\t\t\t\t\t\t\t\treturn innerItems.every(i => i.isString());\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\texports = [];\n\t\t\t\t\t\t\t\t\t\tfor (const i1 of items) {\n\t\t\t\t\t\t\t\t\t\t\tconst export_ = [];\n\t\t\t\t\t\t\t\t\t\t\tfor (const i2 of i1.items) {\n\t\t\t\t\t\t\t\t\t\t\t\texport_.push(i2.string);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\texports.push(export_);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\terrors.push(\n\t\t\t\t\t\t\t\t\t\t\tcreatePropertyParseError(prop, \"string|string[][]\")\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\terrors.push(\n\t\t\t\t\t\t\t\t\t\tcreatePropertyParseError(prop, \"string|string[][]\")\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"prefetch\": {\n\t\t\t\t\t\t\t\tconst expr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (expr.isBoolean()) {\n\t\t\t\t\t\t\t\t\tgroupOptions.prefetchOrder = 0;\n\t\t\t\t\t\t\t\t} else if (expr.isNumber()) {\n\t\t\t\t\t\t\t\t\tgroupOptions.prefetchOrder = expr.number;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"boolean|number\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"preload\": {\n\t\t\t\t\t\t\t\tconst expr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (expr.isBoolean()) {\n\t\t\t\t\t\t\t\t\tgroupOptions.preloadOrder = 0;\n\t\t\t\t\t\t\t\t} else if (expr.isNumber()) {\n\t\t\t\t\t\t\t\t\tgroupOptions.preloadOrder = expr.number;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"boolean|number\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcase \"recursive\": {\n\t\t\t\t\t\t\t\tconst recursiveExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (!recursiveExpr.isBoolean()) {\n\t\t\t\t\t\t\t\t\terrors.push(createPropertyParseError(prop, \"boolean\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\trecursive = recursiveExpr.bool;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\terrors.push(\n\t\t\t\t\t\t\t\t\tcreateError(\n\t\t\t\t\t\t\t\t\t\t`Parsing import.meta.webpackContext options failed. Unknown property ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\tprop.key.name\n\t\t\t\t\t\t\t\t\t\t)}.`,\n\t\t\t\t\t\t\t\t\t\toptionsNode.loc\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (errors.length) {\n\t\t\t\t\tfor (const error of errors) parser.state.current.addError(error);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst dep = new ImportMetaContextDependency(\n\t\t\t\t\t{\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\tinclude,\n\t\t\t\t\t\texclude,\n\t\t\t\t\t\trecursive,\n\t\t\t\t\t\tregExp,\n\t\t\t\t\t\tgroupOptions,\n\t\t\t\t\t\tchunkName,\n\t\t\t\t\t\treferencedExports: exports,\n\t\t\t\t\t\tmode,\n\t\t\t\t\t\tcategory: \"esm\"\n\t\t\t\t\t},\n\t\t\t\t\texpr.range\n\t\t\t\t);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst ContextElementDependency = __webpack_require__(/*! ./ContextElementDependency */ \"./node_modules/webpack/lib/dependencies/ContextElementDependency.js\");\nconst ImportMetaContextDependency = __webpack_require__(/*! ./ImportMetaContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js\");\nconst ImportMetaContextDependencyParserPlugin = __webpack_require__(/*! ./ImportMetaContextDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ImportMetaContextPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"RequireContextPlugin\",\n\t\t\t(compilation, { contextModuleFactory, normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportMetaContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportMetaContextDependency,\n\t\t\t\t\tnew ImportMetaContextDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tContextElementDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tparserOptions.importMetaContext !== undefined &&\n\t\t\t\t\t\t!parserOptions.importMetaContext\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tnew ImportMetaContextDependencyParserPlugin().apply(parser);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ImportMetaContextPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ImportMetaContextPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ImportMetaContextPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\nclass ImportMetaHotAcceptDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"import.meta.webpackHot.accept\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tImportMetaHotAcceptDependency,\n\t\"webpack/lib/dependencies/ImportMetaHotAcceptDependency\"\n);\n\nImportMetaHotAcceptDependency.Template = ModuleDependencyTemplateAsId;\n\nmodule.exports = ImportMetaHotAcceptDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\nclass ImportMetaHotDeclineDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\n\t\tthis.range = range;\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"import.meta.webpackHot.decline\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tImportMetaHotDeclineDependency,\n\t\"webpack/lib/dependencies/ImportMetaHotDeclineDependency\"\n);\n\nImportMetaHotDeclineDependency.Template = ModuleDependencyTemplateAsId;\n\nmodule.exports = ImportMetaHotDeclineDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportMetaPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportMetaPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst { pathToFileURL } = __webpack_require__(/*! url */ \"?e626\");\nconst ModuleDependencyWarning = __webpack_require__(/*! ../ModuleDependencyWarning */ \"./node_modules/webpack/lib/ModuleDependencyWarning.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ../javascript/BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\nconst {\n\tevaluateToIdentifier,\n\ttoConstantDependency,\n\tevaluateToString,\n\tevaluateToNumber\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\n\n/** @typedef {import(\"estree\").MemberExpression} MemberExpression */\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../javascript/JavascriptParser\")} Parser */\n\nconst getCriticalDependencyWarning = memoize(() =>\n\t__webpack_require__(/*! ./CriticalDependencyWarning */ \"./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js\")\n);\n\nclass ImportMetaPlugin {\n\t/**\n\t * @param {Compiler} compiler compiler\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ImportMetaPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\t/**\n\t\t\t\t * @param {NormalModule} module module\n\t\t\t\t * @returns {string} file url\n\t\t\t\t */\n\t\t\t\tconst getUrl = module => {\n\t\t\t\t\treturn pathToFileURL(module.resource).toString();\n\t\t\t\t};\n\t\t\t\t/**\n\t\t\t\t * @param {Parser} parser parser parser\n\t\t\t\t * @param {JavascriptParserOptions} parserOptions parserOptions\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst parserHandler = (parser, { importMeta }) => {\n\t\t\t\t\tif (importMeta === false) {\n\t\t\t\t\t\tconst { importMetaName } = compilation.outputOptions;\n\t\t\t\t\t\tif (importMetaName === \"import.meta\") return;\n\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(\"import.meta\")\n\t\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", metaProperty => {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\timportMetaName,\n\t\t\t\t\t\t\t\t\tmetaProperty.range\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = metaProperty.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t/// import.meta direct ///\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"import.meta\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"ImportMetaPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"object\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"import.meta\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", metaProperty => {\n\t\t\t\t\t\t\tconst CriticalDependencyWarning = getCriticalDependencyWarning();\n\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\tnew ModuleDependencyWarning(\n\t\t\t\t\t\t\t\t\tparser.state.module,\n\t\t\t\t\t\t\t\t\tnew CriticalDependencyWarning(\n\t\t\t\t\t\t\t\t\t\t\"Accessing import.meta directly is unsupported (only property access is supported)\"\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tmetaProperty.loc\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t`${parser.isAsiPosition(metaProperty.range[0]) ? \";\" : \"\"}({})`,\n\t\t\t\t\t\t\t\tmetaProperty.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = metaProperty.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"import.meta\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", evaluateToString(\"object\"));\n\t\t\t\t\tparser.hooks.evaluateIdentifier.for(\"import.meta\").tap(\n\t\t\t\t\t\t\"ImportMetaPlugin\",\n\t\t\t\t\t\tevaluateToIdentifier(\"import.meta\", \"import.meta\", () => [], true)\n\t\t\t\t\t);\n\n\t\t\t\t\t/// import.meta.url ///\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"import.meta.url\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"ImportMetaPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"string\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"import.meta.url\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", expr => {\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\tJSON.stringify(getUrl(parser.state.module)),\n\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"import.meta.url\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", evaluateToString(\"string\"));\n\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t.for(\"import.meta.url\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", expr => {\n\t\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t.setString(getUrl(parser.state.module))\n\t\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t/// import.meta.webpack ///\n\t\t\t\t\tconst webpackVersion = parseInt(\n\t\t\t\t\t\t(__webpack_require__(/*! ../../package.json */ \"./node_modules/webpack/package.json\").version),\n\t\t\t\t\t\t10\n\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"import.meta.webpack\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"ImportMetaPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"number\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(\"import.meta.webpack\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"ImportMetaPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(webpackVersion))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"import.meta.webpack\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", evaluateToString(\"number\"));\n\t\t\t\t\tparser.hooks.evaluateIdentifier\n\t\t\t\t\t\t.for(\"import.meta.webpack\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", evaluateToNumber(webpackVersion));\n\n\t\t\t\t\t/// Unknown properties ///\n\t\t\t\t\tparser.hooks.unhandledExpressionMemberChain\n\t\t\t\t\t\t.for(\"import.meta\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", (expr, members) => {\n\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t`${Template.toNormalComment(\n\t\t\t\t\t\t\t\t\t\"unsupported import.meta.\" + members.join(\".\")\n\t\t\t\t\t\t\t\t)} undefined${propertyAccess(members, 1)}`,\n\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.evaluate\n\t\t\t\t\t\t.for(\"MemberExpression\")\n\t\t\t\t\t\t.tap(\"ImportMetaPlugin\", expression => {\n\t\t\t\t\t\t\tconst expr = /** @type {MemberExpression} */ (expression);\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\texpr.object.type === \"MetaProperty\" &&\n\t\t\t\t\t\t\t\texpr.object.meta.name === \"import\" &&\n\t\t\t\t\t\t\t\texpr.object.property.name === \"meta\" &&\n\t\t\t\t\t\t\t\texpr.property.type ===\n\t\t\t\t\t\t\t\t\t(expr.computed ? \"Literal\" : \"Identifier\")\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setUndefined()\n\t\t\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ImportMetaPlugin\", parserHandler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ImportMetaPlugin\", parserHandler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ImportMetaPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportMetaPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportParserPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportParserPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst CommentCompilationWarning = __webpack_require__(/*! ../CommentCompilationWarning */ \"./node_modules/webpack/lib/CommentCompilationWarning.js\");\nconst UnsupportedFeatureWarning = __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\");\nconst ContextDependencyHelpers = __webpack_require__(/*! ./ContextDependencyHelpers */ \"./node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js\");\nconst ImportContextDependency = __webpack_require__(/*! ./ImportContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportContextDependency.js\");\nconst ImportDependency = __webpack_require__(/*! ./ImportDependency */ \"./node_modules/webpack/lib/dependencies/ImportDependency.js\");\nconst ImportEagerDependency = __webpack_require__(/*! ./ImportEagerDependency */ \"./node_modules/webpack/lib/dependencies/ImportEagerDependency.js\");\nconst ImportWeakDependency = __webpack_require__(/*! ./ImportWeakDependency */ \"./node_modules/webpack/lib/dependencies/ImportWeakDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").JavascriptParserOptions} JavascriptParserOptions */\n/** @typedef {import(\"../ChunkGroup\").RawChunkGroupOptions} RawChunkGroupOptions */\n/** @typedef {import(\"../ContextModule\").ContextMode} ContextMode */\n\nclass ImportParserPlugin {\n\t/**\n\t * @param {JavascriptParserOptions} options options\n\t */\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\tapply(parser) {\n\t\tparser.hooks.importCall.tap(\"ImportParserPlugin\", expr => {\n\t\t\tconst param = parser.evaluateExpression(expr.source);\n\n\t\t\tlet chunkName = null;\n\t\t\t/** @type {ContextMode} */\n\t\t\tlet mode = this.options.dynamicImportMode;\n\t\t\tlet include = null;\n\t\t\tlet exclude = null;\n\t\t\t/** @type {string[][] | null} */\n\t\t\tlet exports = null;\n\t\t\t/** @type {RawChunkGroupOptions} */\n\t\t\tconst groupOptions = {};\n\n\t\t\tconst { dynamicImportPreload, dynamicImportPrefetch } = this.options;\n\t\t\tif (dynamicImportPreload !== undefined && dynamicImportPreload !== false)\n\t\t\t\tgroupOptions.preloadOrder =\n\t\t\t\t\tdynamicImportPreload === true ? 0 : dynamicImportPreload;\n\t\t\tif (\n\t\t\t\tdynamicImportPrefetch !== undefined &&\n\t\t\t\tdynamicImportPrefetch !== false\n\t\t\t)\n\t\t\t\tgroupOptions.prefetchOrder =\n\t\t\t\t\tdynamicImportPrefetch === true ? 0 : dynamicImportPrefetch;\n\n\t\t\tconst { options: importOptions, errors: commentErrors } =\n\t\t\t\tparser.parseCommentOptions(expr.range);\n\n\t\t\tif (commentErrors) {\n\t\t\t\tfor (const e of commentErrors) {\n\t\t\t\t\tconst { comment } = e;\n\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\tnew CommentCompilationWarning(\n\t\t\t\t\t\t\t`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,\n\t\t\t\t\t\t\tcomment.loc\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (importOptions) {\n\t\t\t\tif (importOptions.webpackIgnore !== undefined) {\n\t\t\t\t\tif (typeof importOptions.webpackIgnore !== \"boolean\") {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackIgnore\\` expected a boolean, but received: ${importOptions.webpackIgnore}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Do not instrument `import()` if `webpackIgnore` is `true`\n\t\t\t\t\t\tif (importOptions.webpackIgnore) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackChunkName !== undefined) {\n\t\t\t\t\tif (typeof importOptions.webpackChunkName !== \"string\") {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackChunkName\\` expected a string, but received: ${importOptions.webpackChunkName}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tchunkName = importOptions.webpackChunkName;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackMode !== undefined) {\n\t\t\t\t\tif (typeof importOptions.webpackMode !== \"string\") {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackMode\\` expected a string, but received: ${importOptions.webpackMode}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmode = importOptions.webpackMode;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackPrefetch !== undefined) {\n\t\t\t\t\tif (importOptions.webpackPrefetch === true) {\n\t\t\t\t\t\tgroupOptions.prefetchOrder = 0;\n\t\t\t\t\t} else if (typeof importOptions.webpackPrefetch === \"number\") {\n\t\t\t\t\t\tgroupOptions.prefetchOrder = importOptions.webpackPrefetch;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackPrefetch\\` expected true or a number, but received: ${importOptions.webpackPrefetch}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackPreload !== undefined) {\n\t\t\t\t\tif (importOptions.webpackPreload === true) {\n\t\t\t\t\t\tgroupOptions.preloadOrder = 0;\n\t\t\t\t\t} else if (typeof importOptions.webpackPreload === \"number\") {\n\t\t\t\t\t\tgroupOptions.preloadOrder = importOptions.webpackPreload;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackPreload\\` expected true or a number, but received: ${importOptions.webpackPreload}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackInclude !== undefined) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t!importOptions.webpackInclude ||\n\t\t\t\t\t\timportOptions.webpackInclude.constructor.name !== \"RegExp\"\n\t\t\t\t\t) {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackInclude\\` expected a regular expression, but received: ${importOptions.webpackInclude}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tinclude = new RegExp(importOptions.webpackInclude);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackExclude !== undefined) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t!importOptions.webpackExclude ||\n\t\t\t\t\t\timportOptions.webpackExclude.constructor.name !== \"RegExp\"\n\t\t\t\t\t) {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackExclude\\` expected a regular expression, but received: ${importOptions.webpackExclude}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\texclude = new RegExp(importOptions.webpackExclude);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (importOptions.webpackExports !== undefined) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t!(\n\t\t\t\t\t\t\ttypeof importOptions.webpackExports === \"string\" ||\n\t\t\t\t\t\t\t(Array.isArray(importOptions.webpackExports) &&\n\t\t\t\t\t\t\t\timportOptions.webpackExports.every(\n\t\t\t\t\t\t\t\t\titem => typeof item === \"string\"\n\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t`\\`webpackExports\\` expected a string or an array of strings, but received: ${importOptions.webpackExports}.`,\n\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (typeof importOptions.webpackExports === \"string\") {\n\t\t\t\t\t\t\texports = [[importOptions.webpackExports]];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\texports = Array.from(importOptions.webpackExports, e => [e]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tmode !== \"lazy\" &&\n\t\t\t\tmode !== \"lazy-once\" &&\n\t\t\t\tmode !== \"eager\" &&\n\t\t\t\tmode !== \"weak\"\n\t\t\t) {\n\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t`\\`webpackMode\\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${mode}.`,\n\t\t\t\t\t\texpr.loc\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tmode = \"lazy\";\n\t\t\t}\n\n\t\t\tif (param.isString()) {\n\t\t\t\tif (mode === \"eager\") {\n\t\t\t\t\tconst dep = new ImportEagerDependency(\n\t\t\t\t\t\tparam.string,\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\texports\n\t\t\t\t\t);\n\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t} else if (mode === \"weak\") {\n\t\t\t\t\tconst dep = new ImportWeakDependency(\n\t\t\t\t\t\tparam.string,\n\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\texports\n\t\t\t\t\t);\n\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t} else {\n\t\t\t\t\tconst depBlock = new AsyncDependenciesBlock(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t...groupOptions,\n\t\t\t\t\t\t\tname: chunkName\n\t\t\t\t\t\t},\n\t\t\t\t\t\texpr.loc,\n\t\t\t\t\t\tparam.string\n\t\t\t\t\t);\n\t\t\t\t\tconst dep = new ImportDependency(param.string, expr.range, exports);\n\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\tdepBlock.addDependency(dep);\n\t\t\t\t\tparser.state.current.addBlock(depBlock);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tif (mode === \"weak\") {\n\t\t\t\t\tmode = \"async-weak\";\n\t\t\t\t}\n\t\t\t\tconst dep = ContextDependencyHelpers.create(\n\t\t\t\t\tImportContextDependency,\n\t\t\t\t\texpr.range,\n\t\t\t\t\tparam,\n\t\t\t\t\texpr,\n\t\t\t\t\tthis.options,\n\t\t\t\t\t{\n\t\t\t\t\t\tchunkName,\n\t\t\t\t\t\tgroupOptions,\n\t\t\t\t\t\tinclude,\n\t\t\t\t\t\texclude,\n\t\t\t\t\t\tmode,\n\t\t\t\t\t\tnamespaceObject: parser.state.module.buildMeta.strictHarmonyModule\n\t\t\t\t\t\t\t? \"strict\"\n\t\t\t\t\t\t\t: true,\n\t\t\t\t\t\ttypePrefix: \"import()\",\n\t\t\t\t\t\tcategory: \"esm\",\n\t\t\t\t\t\treferencedExports: exports\n\t\t\t\t\t},\n\t\t\t\t\tparser\n\t\t\t\t);\n\t\t\t\tif (!dep) return;\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = ImportParserPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ImportContextDependency = __webpack_require__(/*! ./ImportContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportContextDependency.js\");\nconst ImportDependency = __webpack_require__(/*! ./ImportDependency */ \"./node_modules/webpack/lib/dependencies/ImportDependency.js\");\nconst ImportEagerDependency = __webpack_require__(/*! ./ImportEagerDependency */ \"./node_modules/webpack/lib/dependencies/ImportEagerDependency.js\");\nconst ImportParserPlugin = __webpack_require__(/*! ./ImportParserPlugin */ \"./node_modules/webpack/lib/dependencies/ImportParserPlugin.js\");\nconst ImportWeakDependency = __webpack_require__(/*! ./ImportWeakDependency */ \"./node_modules/webpack/lib/dependencies/ImportWeakDependency.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ImportPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ImportPlugin\",\n\t\t\t(compilation, { contextModuleFactory, normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportDependency,\n\t\t\t\t\tnew ImportDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportEagerDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportEagerDependency,\n\t\t\t\t\tnew ImportEagerDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportWeakDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportWeakDependency,\n\t\t\t\t\tnew ImportWeakDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tImportContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tImportContextDependency,\n\t\t\t\t\tnew ImportContextDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.import !== undefined && !parserOptions.import)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tnew ImportParserPlugin(parserOptions).apply(parser);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"ImportPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"ImportPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"ImportPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = ImportPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ImportWeakDependency.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ImportWeakDependency.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ImportDependency = __webpack_require__(/*! ./ImportDependency */ \"./node_modules/webpack/lib/dependencies/ImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\nclass ImportWeakDependency extends ImportDependency {\n\t/**\n\t * @param {string} request the request\n\t * @param {[number, number]} range expression range\n\t * @param {string[][]=} referencedExports list of referenced exports\n\t */\n\tconstructor(request, range, referencedExports) {\n\t\tsuper(request, range, referencedExports);\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"import() weak\";\n\t}\n}\n\nmakeSerializable(\n\tImportWeakDependency,\n\t\"webpack/lib/dependencies/ImportWeakDependency\"\n);\n\nImportWeakDependency.Template = class ImportDependencyTemplate extends (\n\tImportDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, module, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ImportWeakDependency} */ (dependency);\n\t\tconst content = runtimeTemplate.moduleNamespacePromise({\n\t\t\tchunkGraph,\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\trequest: dep.request,\n\t\t\tstrict: module.buildMeta.strictHarmonyModule,\n\t\t\tmessage: \"import() weak\",\n\t\t\tweak: true,\n\t\t\truntimeRequirements\n\t\t});\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n};\n\nmodule.exports = ImportWeakDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ImportWeakDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/JsonExportsDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/JsonExportsDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ExportSpec} ExportSpec */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../json/JsonData\")} JsonData */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nconst getExportsFromData = data => {\n\tif (data && typeof data === \"object\") {\n\t\tif (Array.isArray(data)) {\n\t\t\treturn data.length < 100\n\t\t\t\t? data.map((item, idx) => {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tname: `${idx}`,\n\t\t\t\t\t\t\tcanMangle: true,\n\t\t\t\t\t\t\texports: getExportsFromData(item)\n\t\t\t\t\t\t};\n\t\t\t\t })\n\t\t\t\t: undefined;\n\t\t} else {\n\t\t\tconst exports = [];\n\t\t\tfor (const key of Object.keys(data)) {\n\t\t\t\texports.push({\n\t\t\t\t\tname: key,\n\t\t\t\t\tcanMangle: true,\n\t\t\t\t\texports: getExportsFromData(data[key])\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn exports;\n\t\t}\n\t}\n\treturn undefined;\n};\n\nclass JsonExportsDependency extends NullDependency {\n\t/**\n\t * @param {JsonData=} data json data\n\t */\n\tconstructor(data) {\n\t\tsuper();\n\t\tthis.data = data;\n\t}\n\n\tget type() {\n\t\treturn \"json exports\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\treturn {\n\t\t\texports: getExportsFromData(this.data && this.data.get()),\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tthis.data.updateHash(hash);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.data);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.data = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tJsonExportsDependency,\n\t\"webpack/lib/dependencies/JsonExportsDependency\"\n);\n\nmodule.exports = JsonExportsDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/JsonExportsDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LoaderDependency.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LoaderDependency.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass LoaderDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request string\n\t */\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"loader\";\n\t}\n\n\tget category() {\n\t\treturn \"loader\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn false;\n\t}\n}\n\nmodule.exports = LoaderDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LoaderDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LoaderImportDependency.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LoaderImportDependency.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass LoaderImportDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request string\n\t */\n\tconstructor(request) {\n\t\tsuper(request);\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"loader import\";\n\t}\n\n\tget category() {\n\t\treturn \"loaderImport\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn false;\n\t}\n}\n\nmodule.exports = LoaderImportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LoaderImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LoaderPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LoaderPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NormalModule = __webpack_require__(/*! ../NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst LoaderDependency = __webpack_require__(/*! ./LoaderDependency */ \"./node_modules/webpack/lib/dependencies/LoaderDependency.js\");\nconst LoaderImportDependency = __webpack_require__(/*! ./LoaderImportDependency */ \"./node_modules/webpack/lib/dependencies/LoaderImportDependency.js\");\n\n/** @typedef {import(\"../Compilation\").DepConstructor} DepConstructor */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\n/**\n * @callback LoadModuleCallback\n * @param {(Error | null)=} err error object\n * @param {string | Buffer=} source source code\n * @param {object=} map source map\n * @param {Module=} module loaded module if successful\n */\n\n/**\n * @callback ImportModuleCallback\n * @param {(Error | null)=} err error object\n * @param {any=} exports exports of the evaluated module\n */\n\n/**\n * @typedef {Object} ImportModuleOptions\n * @property {string=} layer the target layer\n * @property {string=} publicPath the target public path\n * @property {string=} baseUri target base uri\n */\n\nclass LoaderPlugin {\n\t/**\n\t * @param {Object} options options\n\t */\n\tconstructor(options = {}) {}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"LoaderPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tLoaderDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tLoaderImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\n\t\tcompiler.hooks.compilation.tap(\"LoaderPlugin\", compilation => {\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\tNormalModule.getCompilationHooks(compilation).loader.tap(\n\t\t\t\t\"LoaderPlugin\",\n\t\t\t\tloaderContext => {\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} request the request string to load the module from\n\t\t\t\t\t * @param {LoadModuleCallback} callback callback returning the loaded module or error\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tloaderContext.loadModule = (request, callback) => {\n\t\t\t\t\t\tconst dep = new LoaderDependency(request);\n\t\t\t\t\t\tdep.loc = {\n\t\t\t\t\t\t\tname: request\n\t\t\t\t\t\t};\n\t\t\t\t\t\tconst factory = compilation.dependencyFactories.get(\n\t\t\t\t\t\t\t/** @type {DepConstructor} */ (dep.constructor)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (factory === undefined) {\n\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t`No module factory available for dependency type: ${dep.constructor.name}`\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcompilation.buildQueue.increaseParallelism();\n\t\t\t\t\t\tcompilation.handleModuleCreation(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfactory,\n\t\t\t\t\t\t\t\tdependencies: [dep],\n\t\t\t\t\t\t\t\toriginModule: loaderContext._module,\n\t\t\t\t\t\t\t\tcontext: loaderContext.context,\n\t\t\t\t\t\t\t\trecursive: false\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\tcompilation.buildQueue.decreaseParallelism();\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst referencedModule = moduleGraph.getModule(dep);\n\t\t\t\t\t\t\t\tif (!referencedModule) {\n\t\t\t\t\t\t\t\t\treturn callback(new Error(\"Cannot load the module\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (referencedModule.getNumberOfErrors() > 0) {\n\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\tnew Error(\"The loaded module contains errors\")\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst moduleSource = referencedModule.originalSource();\n\t\t\t\t\t\t\t\tif (!moduleSource) {\n\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\"The module created for a LoaderDependency must have an original source\"\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlet source, map;\n\t\t\t\t\t\t\t\tif (moduleSource.sourceAndMap) {\n\t\t\t\t\t\t\t\t\tconst sourceAndMap = moduleSource.sourceAndMap();\n\t\t\t\t\t\t\t\t\tmap = sourceAndMap.map;\n\t\t\t\t\t\t\t\t\tsource = sourceAndMap.source;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tmap = moduleSource.map();\n\t\t\t\t\t\t\t\t\tsource = moduleSource.source();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst fileDependencies = new LazySet();\n\t\t\t\t\t\t\t\tconst contextDependencies = new LazySet();\n\t\t\t\t\t\t\t\tconst missingDependencies = new LazySet();\n\t\t\t\t\t\t\t\tconst buildDependencies = new LazySet();\n\t\t\t\t\t\t\t\treferencedModule.addCacheDependencies(\n\t\t\t\t\t\t\t\t\tfileDependencies,\n\t\t\t\t\t\t\t\t\tcontextDependencies,\n\t\t\t\t\t\t\t\t\tmissingDependencies,\n\t\t\t\t\t\t\t\t\tbuildDependencies\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tfor (const d of fileDependencies) {\n\t\t\t\t\t\t\t\t\tloaderContext.addDependency(d);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const d of contextDependencies) {\n\t\t\t\t\t\t\t\t\tloaderContext.addContextDependency(d);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const d of missingDependencies) {\n\t\t\t\t\t\t\t\t\tloaderContext.addMissingDependency(d);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const d of buildDependencies) {\n\t\t\t\t\t\t\t\t\tloaderContext.addBuildDependency(d);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback(null, source, map, referencedModule);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} request the request string to load the module from\n\t\t\t\t\t * @param {ImportModuleOptions=} options options\n\t\t\t\t\t * @param {ImportModuleCallback=} callback callback returning the exports\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst importModule = (request, options, callback) => {\n\t\t\t\t\t\tconst dep = new LoaderImportDependency(request);\n\t\t\t\t\t\tdep.loc = {\n\t\t\t\t\t\t\tname: request\n\t\t\t\t\t\t};\n\t\t\t\t\t\tconst factory = compilation.dependencyFactories.get(\n\t\t\t\t\t\t\t/** @type {DepConstructor} */ (dep.constructor)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (factory === undefined) {\n\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t`No module factory available for dependency type: ${dep.constructor.name}`\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcompilation.buildQueue.increaseParallelism();\n\t\t\t\t\t\tcompilation.handleModuleCreation(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfactory,\n\t\t\t\t\t\t\t\tdependencies: [dep],\n\t\t\t\t\t\t\t\toriginModule: loaderContext._module,\n\t\t\t\t\t\t\t\tcontextInfo: {\n\t\t\t\t\t\t\t\t\tissuerLayer: options.layer\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tcontext: loaderContext.context,\n\t\t\t\t\t\t\t\tconnectOrigin: false\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\tcompilation.buildQueue.decreaseParallelism();\n\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst referencedModule = moduleGraph.getModule(dep);\n\t\t\t\t\t\t\t\tif (!referencedModule) {\n\t\t\t\t\t\t\t\t\treturn callback(new Error(\"Cannot load the module\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcompilation.executeModule(\n\t\t\t\t\t\t\t\t\treferencedModule,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tentryOptions: {\n\t\t\t\t\t\t\t\t\t\t\tbaseUri: options.baseUri,\n\t\t\t\t\t\t\t\t\t\t\tpublicPath: options.publicPath\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\tfor (const d of result.fileDependencies) {\n\t\t\t\t\t\t\t\t\t\t\tloaderContext.addDependency(d);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tfor (const d of result.contextDependencies) {\n\t\t\t\t\t\t\t\t\t\t\tloaderContext.addContextDependency(d);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tfor (const d of result.missingDependencies) {\n\t\t\t\t\t\t\t\t\t\t\tloaderContext.addMissingDependency(d);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tfor (const d of result.buildDependencies) {\n\t\t\t\t\t\t\t\t\t\t\tloaderContext.addBuildDependency(d);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (result.cacheable === false)\n\t\t\t\t\t\t\t\t\t\t\tloaderContext.cacheable(false);\n\t\t\t\t\t\t\t\t\t\tfor (const [name, { source, info }] of result.assets) {\n\t\t\t\t\t\t\t\t\t\t\tconst { buildInfo } = loaderContext._module;\n\t\t\t\t\t\t\t\t\t\t\tif (!buildInfo.assets) {\n\t\t\t\t\t\t\t\t\t\t\t\tbuildInfo.assets = Object.create(null);\n\t\t\t\t\t\t\t\t\t\t\t\tbuildInfo.assetsInfo = new Map();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tbuildInfo.assets[name] = source;\n\t\t\t\t\t\t\t\t\t\t\tbuildInfo.assetsInfo.set(name, info);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcallback(null, result.exports);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} request the request string to load the module from\n\t\t\t\t\t * @param {ImportModuleOptions} options options\n\t\t\t\t\t * @param {ImportModuleCallback=} callback callback returning the exports\n\t\t\t\t\t * @returns {Promise<any> | void} exports\n\t\t\t\t\t */\n\t\t\t\t\tloaderContext.importModule = (request, options, callback) => {\n\t\t\t\t\t\tif (!callback) {\n\t\t\t\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t\t\t\timportModule(request, options || {}, (err, result) => {\n\t\t\t\t\t\t\t\t\tif (err) reject(err);\n\t\t\t\t\t\t\t\t\telse resolve(result);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn importModule(request, options || {}, callback);\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = LoaderPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LoaderPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LocalModule.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LocalModule.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass LocalModule {\n\tconstructor(name, idx) {\n\t\tthis.name = name;\n\t\tthis.idx = idx;\n\t\tthis.used = false;\n\t}\n\n\tflagUsed() {\n\t\tthis.used = true;\n\t}\n\n\tvariableName() {\n\t\treturn \"__WEBPACK_LOCAL_MODULE_\" + this.idx + \"__\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.name);\n\t\twrite(this.idx);\n\t\twrite(this.used);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.name = read();\n\t\tthis.idx = read();\n\t\tthis.used = read();\n\t}\n}\n\nmakeSerializable(LocalModule, \"webpack/lib/dependencies/LocalModule\");\n\nmodule.exports = LocalModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LocalModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LocalModuleDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LocalModuleDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass LocalModuleDependency extends NullDependency {\n\tconstructor(localModule, range, callNew) {\n\t\tsuper();\n\n\t\tthis.localModule = localModule;\n\t\tthis.range = range;\n\t\tthis.callNew = callNew;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.localModule);\n\t\twrite(this.range);\n\t\twrite(this.callNew);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.localModule = read();\n\t\tthis.range = read();\n\t\tthis.callNew = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tLocalModuleDependency,\n\t\"webpack/lib/dependencies/LocalModuleDependency\"\n);\n\nLocalModuleDependency.Template = class LocalModuleDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {LocalModuleDependency} */ (dependency);\n\t\tif (!dep.range) return;\n\t\tconst moduleInstance = dep.callNew\n\t\t\t? `new (function () { return ${dep.localModule.variableName()}; })()`\n\t\t\t: dep.localModule.variableName();\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, moduleInstance);\n\t}\n};\n\nmodule.exports = LocalModuleDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LocalModuleDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst LocalModule = __webpack_require__(/*! ./LocalModule */ \"./node_modules/webpack/lib/dependencies/LocalModule.js\");\n\nconst lookup = (parent, mod) => {\n\tif (mod.charAt(0) !== \".\") return mod;\n\n\tvar path = parent.split(\"/\");\n\tvar segments = mod.split(\"/\");\n\tpath.pop();\n\n\tfor (let i = 0; i < segments.length; i++) {\n\t\tconst seg = segments[i];\n\t\tif (seg === \"..\") {\n\t\t\tpath.pop();\n\t\t} else if (seg !== \".\") {\n\t\t\tpath.push(seg);\n\t\t}\n\t}\n\n\treturn path.join(\"/\");\n};\n\nexports.addLocalModule = (state, name) => {\n\tif (!state.localModules) {\n\t\tstate.localModules = [];\n\t}\n\tconst m = new LocalModule(name, state.localModules.length);\n\tstate.localModules.push(m);\n\treturn m;\n};\n\nexports.getLocalModule = (state, name, namedModule) => {\n\tif (!state.localModules) return null;\n\tif (namedModule) {\n\t\t// resolve dependency name relative to the defining named module\n\t\tname = lookup(namedModule, name);\n\t}\n\tfor (let i = 0; i < state.localModules.length; i++) {\n\t\tif (state.localModules[i].name === name) {\n\t\t\treturn state.localModules[i];\n\t\t}\n\t}\n\treturn null;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/LocalModulesHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass ModuleDecoratorDependency extends NullDependency {\n\t/**\n\t * @param {string} decorator the decorator requirement\n\t * @param {boolean} allowExportsAccess allow to access exports from module\n\t */\n\tconstructor(decorator, allowExportsAccess) {\n\t\tsuper();\n\t\tthis.decorator = decorator;\n\t\tthis.allowExportsAccess = allowExportsAccess;\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\t/**\n\t * @returns {string} a display name for the type of dependency\n\t */\n\tget type() {\n\t\treturn \"module decorator\";\n\t}\n\n\tget category() {\n\t\treturn \"self\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `self`;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn this.allowExportsAccess\n\t\t\t? Dependency.EXPORTS_OBJECT_REFERENCED\n\t\t\t: Dependency.NO_EXPORTS_REFERENCED;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined) {\n\t\t\tthis._hashUpdate = `${this.decorator}${this.allowExportsAccess}`;\n\t\t}\n\t\thash.update(this._hashUpdate);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.decorator);\n\t\twrite(this.allowExportsAccess);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.decorator = read();\n\t\tthis.allowExportsAccess = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tModuleDecoratorDependency,\n\t\"webpack/lib/dependencies/ModuleDecoratorDependency\"\n);\n\nModuleDecoratorDependency.Template = class ModuleDecoratorDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ module, chunkGraph, initFragments, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ModuleDecoratorDependency} */ (dependency);\n\t\truntimeRequirements.add(RuntimeGlobals.moduleLoaded);\n\t\truntimeRequirements.add(RuntimeGlobals.moduleId);\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\truntimeRequirements.add(dep.decorator);\n\t\tinitFragments.push(\n\t\t\tnew InitFragment(\n\t\t\t\t`/* module decorator */ ${module.moduleArgument} = ${dep.decorator}(${module.moduleArgument});\\n`,\n\t\t\t\tInitFragment.STAGE_PROVIDES,\n\t\t\t\t0,\n\t\t\t\t`module decorator ${chunkGraph.getModuleId(module)}`\n\t\t\t)\n\t\t);\n\t}\n};\n\nmodule.exports = ModuleDecoratorDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleDependency.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleDependency.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst DependencyTemplate = __webpack_require__(/*! ../DependencyTemplate */ \"./node_modules/webpack/lib/DependencyTemplate.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../Module\")} Module */\n\nconst getRawModule = memoize(() => __webpack_require__(/*! ../RawModule */ \"./node_modules/webpack/lib/RawModule.js\"));\n\nclass ModuleDependency extends Dependency {\n\t/**\n\t * @param {string} request request path which needs resolving\n\t */\n\tconstructor(request) {\n\t\tsuper();\n\t\tthis.request = request;\n\t\tthis.userRequest = request;\n\t\tthis.range = undefined;\n\t\t// assertions must be serialized by subclasses that use it\n\t\t/** @type {Record<string, any> | undefined} */\n\t\tthis.assertions = undefined;\n\t\tthis._context = undefined;\n\t}\n\n\t/**\n\t * @returns {string | undefined} a request context\n\t */\n\tgetContext() {\n\t\treturn this._context;\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\tlet str = `context${this._context || \"\"}|module${this.request}`;\n\t\tif (this.assertions !== undefined) {\n\t\t\tstr += JSON.stringify(this.assertions);\n\t\t}\n\t\treturn str;\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @returns {Module} a module\n\t */\n\tcreateIgnoredModule(context) {\n\t\tconst RawModule = getRawModule();\n\t\treturn new RawModule(\n\t\t\t\"/* (ignored) */\",\n\t\t\t`ignored|${context}|${this.request}`,\n\t\t\t`${this.request} (ignored)`\n\t\t);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.request);\n\t\twrite(this.userRequest);\n\t\twrite(this._context);\n\t\twrite(this.range);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.request = read();\n\t\tthis.userRequest = read();\n\t\tthis._context = read();\n\t\tthis.range = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nModuleDependency.Template = DependencyTemplate;\n\nmodule.exports = ModuleDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass ModuleDependencyTemplateAsId extends ModuleDependency.Template {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeTemplate, moduleGraph, chunkGraph }) {\n\t\tconst dep = /** @type {ModuleDependency} */ (dependency);\n\t\tif (!dep.range) return;\n\t\tconst content = runtimeTemplate.moduleId({\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\tweak: dep.weak\n\t\t});\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n}\n\nmodule.exports = ModuleDependencyTemplateAsId;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js ***! \**************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass ModuleDependencyTemplateAsRequireId extends ModuleDependency.Template {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {ModuleDependency} */ (dependency);\n\t\tif (!dep.range) return;\n\t\tconst content = runtimeTemplate.moduleExports({\n\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\tchunkGraph,\n\t\t\trequest: dep.request,\n\t\t\tweak: dep.weak,\n\t\t\truntimeRequirements\n\t\t});\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, content);\n\t}\n}\nmodule.exports = ModuleDependencyTemplateAsRequireId;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\nclass ModuleHotAcceptDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"module.hot.accept\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nmakeSerializable(\n\tModuleHotAcceptDependency,\n\t\"webpack/lib/dependencies/ModuleHotAcceptDependency\"\n);\n\nModuleHotAcceptDependency.Template = ModuleDependencyTemplateAsId;\n\nmodule.exports = ModuleHotAcceptDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyTemplateAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\nclass ModuleHotDeclineDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\n\t\tthis.range = range;\n\t\tthis.weak = true;\n\t}\n\n\tget type() {\n\t\treturn \"module.hot.decline\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nmakeSerializable(\n\tModuleHotDeclineDependency,\n\t\"webpack/lib/dependencies/ModuleHotDeclineDependency\"\n);\n\nModuleHotDeclineDependency.Template = ModuleDependencyTemplateAsId;\n\nmodule.exports = ModuleHotDeclineDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/NullDependency.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/NullDependency.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst DependencyTemplate = __webpack_require__(/*! ../DependencyTemplate */ \"./node_modules/webpack/lib/DependencyTemplate.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass NullDependency extends Dependency {\n\tget type() {\n\t\treturn \"null\";\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn false;\n\t}\n}\n\nNullDependency.Template = class NullDependencyTemplate extends (\n\tDependencyTemplate\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {}\n};\n\nmodule.exports = NullDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/NullDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/PrefetchDependency.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/PrefetchDependency.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\nclass PrefetchDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"prefetch\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmodule.exports = PrefetchDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/PrefetchDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/ProvidedDependency.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/ProvidedDependency.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @param {string[]|null} path the property path array\n * @returns {string} the converted path\n */\nconst pathToString = path =>\n\tpath !== null && path.length > 0\n\t\t? path.map(part => `[${JSON.stringify(part)}]`).join(\"\")\n\t\t: \"\";\n\nclass ProvidedDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {string} identifier identifier\n\t * @param {string[]} ids ids\n\t * @param {[number, number]} range range\n\t */\n\tconstructor(request, identifier, ids, range) {\n\t\tsuper(request);\n\t\tthis.identifier = identifier;\n\t\tthis.ids = ids;\n\t\tthis.range = range;\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\tget type() {\n\t\treturn \"provided\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\tlet ids = this.ids;\n\t\tif (ids.length === 0) return Dependency.EXPORTS_OBJECT_REFERENCED;\n\t\treturn [ids];\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined) {\n\t\t\tthis._hashUpdate = this.identifier + (this.ids ? this.ids.join(\",\") : \"\");\n\t\t}\n\t\thash.update(this._hashUpdate);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.identifier);\n\t\twrite(this.ids);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.identifier = read();\n\t\tthis.ids = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tProvidedDependency,\n\t\"webpack/lib/dependencies/ProvidedDependency\"\n);\n\nclass ProvidedDependencyTemplate extends ModuleDependency.Template {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{\n\t\t\truntime,\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph,\n\t\t\tchunkGraph,\n\t\t\tinitFragments,\n\t\t\truntimeRequirements\n\t\t}\n\t) {\n\t\tconst dep = /** @type {ProvidedDependency} */ (dependency);\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(connection.module);\n\t\tconst usedName = exportsInfo.getUsedName(dep.ids, runtime);\n\t\tinitFragments.push(\n\t\t\tnew InitFragment(\n\t\t\t\t`/* provided dependency */ var ${\n\t\t\t\t\tdep.identifier\n\t\t\t\t} = ${runtimeTemplate.moduleExports({\n\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest: dep.request,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t})}${pathToString(/** @type {string[]} */ (usedName))};\\n`,\n\t\t\t\tInitFragment.STAGE_PROVIDES,\n\t\t\t\t1,\n\t\t\t\t`provided ${dep.identifier}`\n\t\t\t)\n\t\t);\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, dep.identifier);\n\t}\n}\n\nProvidedDependency.Template = ProvidedDependencyTemplate;\n\nmodule.exports = ProvidedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/ProvidedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/PureExpressionDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/PureExpressionDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst { filterRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nclass PureExpressionDependency extends NullDependency {\n\t/**\n\t * @param {[number, number]} range the source range\n\t */\n\tconstructor(range) {\n\t\tsuper();\n\t\tthis.range = range;\n\t\t/** @type {Set<string> | false} */\n\t\tthis.usedByExports = false;\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined) {\n\t\t\tthis._hashUpdate = this.range + \"\";\n\t\t}\n\t\thash.update(this._hashUpdate);\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this dependency connects the module to referencing modules\n\t */\n\tgetModuleEvaluationSideEffectsState(moduleGraph) {\n\t\treturn false;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\twrite(this.usedByExports);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.range = read();\n\t\tthis.usedByExports = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tPureExpressionDependency,\n\t\"webpack/lib/dependencies/PureExpressionDependency\"\n);\n\nPureExpressionDependency.Template = class PureExpressionDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ chunkGraph, moduleGraph, runtime, runtimeTemplate, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {PureExpressionDependency} */ (dependency);\n\n\t\tconst usedByExports = dep.usedByExports;\n\t\tif (usedByExports !== false) {\n\t\t\tconst selfModule = moduleGraph.getParentModule(dep);\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(selfModule);\n\t\t\tconst runtimeCondition = filterRuntime(runtime, runtime => {\n\t\t\t\tfor (const exportName of usedByExports) {\n\t\t\t\t\tif (exportsInfo.getUsed(exportName, runtime) !== UsageState.Unused) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t});\n\t\t\tif (runtimeCondition === true) return;\n\t\t\tif (runtimeCondition !== false) {\n\t\t\t\tconst condition = runtimeTemplate.runtimeConditionExpression({\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime,\n\t\t\t\t\truntimeCondition,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t});\n\t\t\t\tsource.insert(\n\t\t\t\t\tdep.range[0],\n\t\t\t\t\t`(/* runtime-dependent pure expression or super */ ${condition} ? (`\n\t\t\t\t);\n\t\t\t\tsource.insert(dep.range[1], \") : null)\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tsource.insert(\n\t\t\tdep.range[0],\n\t\t\t`(/* unused pure expression or super */ null && (`\n\t\t);\n\t\tsource.insert(dep.range[1], \"))\");\n\t}\n};\n\nmodule.exports = PureExpressionDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/PureExpressionDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireContextDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireContextDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\nconst ModuleDependencyTemplateAsRequireId = __webpack_require__(/*! ./ModuleDependencyTemplateAsRequireId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js\");\n\nclass RequireContextDependency extends ContextDependency {\n\tconstructor(options, range) {\n\t\tsuper(options);\n\n\t\tthis.range = range;\n\t}\n\n\tget type() {\n\t\treturn \"require.context\";\n\t}\n}\n\nmakeSerializable(\n\tRequireContextDependency,\n\t\"webpack/lib/dependencies/RequireContextDependency\"\n);\n\nRequireContextDependency.Template = ModuleDependencyTemplateAsRequireId;\n\nmodule.exports = RequireContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js": /*!***************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js ***! \***************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RequireContextDependency = __webpack_require__(/*! ./RequireContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireContextDependency.js\");\n\nmodule.exports = class RequireContextDependencyParserPlugin {\n\tapply(parser) {\n\t\tparser.hooks.call\n\t\t\t.for(\"require.context\")\n\t\t\t.tap(\"RequireContextDependencyParserPlugin\", expr => {\n\t\t\t\tlet regExp = /^\\.\\/.*$/;\n\t\t\t\tlet recursive = true;\n\t\t\t\tlet mode = \"sync\";\n\t\t\t\tswitch (expr.arguments.length) {\n\t\t\t\t\tcase 4: {\n\t\t\t\t\t\tconst modeExpr = parser.evaluateExpression(expr.arguments[3]);\n\t\t\t\t\t\tif (!modeExpr.isString()) return;\n\t\t\t\t\t\tmode = modeExpr.string;\n\t\t\t\t\t}\n\t\t\t\t\t// falls through\n\t\t\t\t\tcase 3: {\n\t\t\t\t\t\tconst regExpExpr = parser.evaluateExpression(expr.arguments[2]);\n\t\t\t\t\t\tif (!regExpExpr.isRegExp()) return;\n\t\t\t\t\t\tregExp = regExpExpr.regExp;\n\t\t\t\t\t}\n\t\t\t\t\t// falls through\n\t\t\t\t\tcase 2: {\n\t\t\t\t\t\tconst recursiveExpr = parser.evaluateExpression(expr.arguments[1]);\n\t\t\t\t\t\tif (!recursiveExpr.isBoolean()) return;\n\t\t\t\t\t\trecursive = recursiveExpr.bool;\n\t\t\t\t\t}\n\t\t\t\t\t// falls through\n\t\t\t\t\tcase 1: {\n\t\t\t\t\t\tconst requestExpr = parser.evaluateExpression(expr.arguments[0]);\n\t\t\t\t\t\tif (!requestExpr.isString()) return;\n\t\t\t\t\t\tconst dep = new RequireContextDependency(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\trequest: requestExpr.string,\n\t\t\t\t\t\t\t\trecursive,\n\t\t\t\t\t\t\t\tregExp,\n\t\t\t\t\t\t\t\tmode,\n\t\t\t\t\t\t\t\tcategory: \"commonjs\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tdep.optional = !!parser.scope.inTry;\n\t\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireContextPlugin.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireContextPlugin.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { cachedSetProperty } = __webpack_require__(/*! ../util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\");\nconst ContextElementDependency = __webpack_require__(/*! ./ContextElementDependency */ \"./node_modules/webpack/lib/dependencies/ContextElementDependency.js\");\nconst RequireContextDependency = __webpack_require__(/*! ./RequireContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireContextDependency.js\");\nconst RequireContextDependencyParserPlugin = __webpack_require__(/*! ./RequireContextDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/** @type {ResolveOptions} */\nconst EMPTY_RESOLVE_OPTIONS = {};\n\nclass RequireContextPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"RequireContextPlugin\",\n\t\t\t(compilation, { contextModuleFactory, normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRequireContextDependency,\n\t\t\t\t\tcontextModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireContextDependency,\n\t\t\t\t\tnew RequireContextDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tContextElementDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tparserOptions.requireContext !== undefined &&\n\t\t\t\t\t\t!parserOptions.requireContext\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tnew RequireContextDependencyParserPlugin().apply(parser);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"RequireContextPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"RequireContextPlugin\", handler);\n\n\t\t\t\tcontextModuleFactory.hooks.alternativeRequests.tap(\n\t\t\t\t\t\"RequireContextPlugin\",\n\t\t\t\t\t(items, options) => {\n\t\t\t\t\t\tif (items.length === 0) return items;\n\n\t\t\t\t\t\tconst finalResolveOptions = compiler.resolverFactory.get(\n\t\t\t\t\t\t\t\"normal\",\n\t\t\t\t\t\t\tcachedSetProperty(\n\t\t\t\t\t\t\t\toptions.resolveOptions || EMPTY_RESOLVE_OPTIONS,\n\t\t\t\t\t\t\t\t\"dependencyType\",\n\t\t\t\t\t\t\t\toptions.category\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t).options;\n\n\t\t\t\t\t\tlet newItems;\n\t\t\t\t\t\tif (!finalResolveOptions.fullySpecified) {\n\t\t\t\t\t\t\tnewItems = [];\n\t\t\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\t\t\tconst { request, context } = item;\n\t\t\t\t\t\t\t\tfor (const ext of finalResolveOptions.extensions) {\n\t\t\t\t\t\t\t\t\tif (request.endsWith(ext)) {\n\t\t\t\t\t\t\t\t\t\tnewItems.push({\n\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\trequest: request.slice(0, -ext.length)\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (!finalResolveOptions.enforceExtension) {\n\t\t\t\t\t\t\t\t\tnewItems.push(item);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titems = newItems;\n\n\t\t\t\t\t\t\tnewItems = [];\n\t\t\t\t\t\t\tfor (const obj of items) {\n\t\t\t\t\t\t\t\tconst { request, context } = obj;\n\t\t\t\t\t\t\t\tfor (const mainFile of finalResolveOptions.mainFiles) {\n\t\t\t\t\t\t\t\t\tif (request.endsWith(`/${mainFile}`)) {\n\t\t\t\t\t\t\t\t\t\tnewItems.push({\n\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\trequest: request.slice(0, -mainFile.length)\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\tnewItems.push({\n\t\t\t\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t\t\t\trequest: request.slice(0, -mainFile.length - 1)\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tnewItems.push(obj);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titems = newItems;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tnewItems = [];\n\t\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\t\tlet hideOriginal = false;\n\t\t\t\t\t\t\tfor (const modulesItems of finalResolveOptions.modules) {\n\t\t\t\t\t\t\t\tif (Array.isArray(modulesItems)) {\n\t\t\t\t\t\t\t\t\tfor (const dir of modulesItems) {\n\t\t\t\t\t\t\t\t\t\tif (item.request.startsWith(`./${dir}/`)) {\n\t\t\t\t\t\t\t\t\t\t\tnewItems.push({\n\t\t\t\t\t\t\t\t\t\t\t\tcontext: item.context,\n\t\t\t\t\t\t\t\t\t\t\t\trequest: item.request.slice(dir.length + 3)\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\thideOriginal = true;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst dir = modulesItems.replace(/\\\\/g, \"/\");\n\t\t\t\t\t\t\t\t\tconst fullPath =\n\t\t\t\t\t\t\t\t\t\titem.context.replace(/\\\\/g, \"/\") + item.request.slice(1);\n\t\t\t\t\t\t\t\t\tif (fullPath.startsWith(dir)) {\n\t\t\t\t\t\t\t\t\t\tnewItems.push({\n\t\t\t\t\t\t\t\t\t\t\tcontext: item.context,\n\t\t\t\t\t\t\t\t\t\t\trequest: fullPath.slice(dir.length + 1)\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!hideOriginal) {\n\t\t\t\t\t\t\t\tnewItems.push(item);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn newItems;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = RequireContextPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireContextPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass RequireEnsureDependenciesBlock extends AsyncDependenciesBlock {\n\tconstructor(chunkName, loc) {\n\t\tsuper(chunkName, loc, null);\n\t}\n}\n\nmakeSerializable(\n\tRequireEnsureDependenciesBlock,\n\t\"webpack/lib/dependencies/RequireEnsureDependenciesBlock\"\n);\n\nmodule.exports = RequireEnsureDependenciesBlock;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js": /*!*********************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js ***! \*********************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RequireEnsureDependenciesBlock = __webpack_require__(/*! ./RequireEnsureDependenciesBlock */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js\");\nconst RequireEnsureDependency = __webpack_require__(/*! ./RequireEnsureDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js\");\nconst RequireEnsureItemDependency = __webpack_require__(/*! ./RequireEnsureItemDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js\");\nconst getFunctionExpression = __webpack_require__(/*! ./getFunctionExpression */ \"./node_modules/webpack/lib/dependencies/getFunctionExpression.js\");\n\nmodule.exports = class RequireEnsureDependenciesBlockParserPlugin {\n\tapply(parser) {\n\t\tparser.hooks.call\n\t\t\t.for(\"require.ensure\")\n\t\t\t.tap(\"RequireEnsureDependenciesBlockParserPlugin\", expr => {\n\t\t\t\tlet chunkName = null;\n\t\t\t\tlet errorExpressionArg = null;\n\t\t\t\tlet errorExpression = null;\n\t\t\t\tswitch (expr.arguments.length) {\n\t\t\t\t\tcase 4: {\n\t\t\t\t\t\tconst chunkNameExpr = parser.evaluateExpression(expr.arguments[3]);\n\t\t\t\t\t\tif (!chunkNameExpr.isString()) return;\n\t\t\t\t\t\tchunkName = chunkNameExpr.string;\n\t\t\t\t\t}\n\t\t\t\t\t// falls through\n\t\t\t\t\tcase 3: {\n\t\t\t\t\t\terrorExpressionArg = expr.arguments[2];\n\t\t\t\t\t\terrorExpression = getFunctionExpression(errorExpressionArg);\n\n\t\t\t\t\t\tif (!errorExpression && !chunkName) {\n\t\t\t\t\t\t\tconst chunkNameExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\t\texpr.arguments[2]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (!chunkNameExpr.isString()) return;\n\t\t\t\t\t\t\tchunkName = chunkNameExpr.string;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// falls through\n\t\t\t\t\tcase 2: {\n\t\t\t\t\t\tconst dependenciesExpr = parser.evaluateExpression(\n\t\t\t\t\t\t\texpr.arguments[0]\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst dependenciesItems = dependenciesExpr.isArray()\n\t\t\t\t\t\t\t? dependenciesExpr.items\n\t\t\t\t\t\t\t: [dependenciesExpr];\n\t\t\t\t\t\tconst successExpressionArg = expr.arguments[1];\n\t\t\t\t\t\tconst successExpression =\n\t\t\t\t\t\t\tgetFunctionExpression(successExpressionArg);\n\n\t\t\t\t\t\tif (successExpression) {\n\t\t\t\t\t\t\tparser.walkExpressions(successExpression.expressions);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (errorExpression) {\n\t\t\t\t\t\t\tparser.walkExpressions(errorExpression.expressions);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst depBlock = new RequireEnsureDependenciesBlock(\n\t\t\t\t\t\t\tchunkName,\n\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst errorCallbackExists =\n\t\t\t\t\t\t\texpr.arguments.length === 4 ||\n\t\t\t\t\t\t\t(!chunkName && expr.arguments.length === 3);\n\t\t\t\t\t\tconst dep = new RequireEnsureDependency(\n\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\texpr.arguments[1].range,\n\t\t\t\t\t\t\terrorCallbackExists && expr.arguments[2].range\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tdepBlock.addDependency(dep);\n\t\t\t\t\t\tconst old = parser.state.current;\n\t\t\t\t\t\tparser.state.current = depBlock;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tlet failed = false;\n\t\t\t\t\t\t\tparser.inScope([], () => {\n\t\t\t\t\t\t\t\tfor (const ee of dependenciesItems) {\n\t\t\t\t\t\t\t\t\tif (ee.isString()) {\n\t\t\t\t\t\t\t\t\t\tconst ensureDependency = new RequireEnsureItemDependency(\n\t\t\t\t\t\t\t\t\t\t\tee.string\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tensureDependency.loc = ee.loc || expr.loc;\n\t\t\t\t\t\t\t\t\t\tdepBlock.addDependency(ensureDependency);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tfailed = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (failed) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (successExpression) {\n\t\t\t\t\t\t\t\tif (successExpression.fn.body.type === \"BlockStatement\") {\n\t\t\t\t\t\t\t\t\tparser.walkStatement(successExpression.fn.body);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tparser.walkExpression(successExpression.fn.body);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\told.addBlock(depBlock);\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tparser.state.current = old;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!successExpression) {\n\t\t\t\t\t\t\tparser.walkExpression(successExpressionArg);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (errorExpression) {\n\t\t\t\t\t\t\tif (errorExpression.fn.body.type === \"BlockStatement\") {\n\t\t\t\t\t\t\t\tparser.walkStatement(errorExpression.fn.body);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tparser.walkExpression(errorExpression.fn.body);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (errorExpressionArg) {\n\t\t\t\t\t\t\tparser.walkExpression(errorExpressionArg);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass RequireEnsureDependency extends NullDependency {\n\tconstructor(range, contentRange, errorHandlerRange) {\n\t\tsuper();\n\n\t\tthis.range = range;\n\t\tthis.contentRange = contentRange;\n\t\tthis.errorHandlerRange = errorHandlerRange;\n\t}\n\n\tget type() {\n\t\treturn \"require.ensure\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.range);\n\t\twrite(this.contentRange);\n\t\twrite(this.errorHandlerRange);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.range = read();\n\t\tthis.contentRange = read();\n\t\tthis.errorHandlerRange = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tRequireEnsureDependency,\n\t\"webpack/lib/dependencies/RequireEnsureDependency\"\n);\n\nRequireEnsureDependency.Template = class RequireEnsureDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(\n\t\tdependency,\n\t\tsource,\n\t\t{ runtimeTemplate, moduleGraph, chunkGraph, runtimeRequirements }\n\t) {\n\t\tconst dep = /** @type {RequireEnsureDependency} */ (dependency);\n\t\tconst depBlock = /** @type {AsyncDependenciesBlock} */ (\n\t\t\tmoduleGraph.getParentBlock(dep)\n\t\t);\n\t\tconst promise = runtimeTemplate.blockPromise({\n\t\t\tchunkGraph,\n\t\t\tblock: depBlock,\n\t\t\tmessage: \"require.ensure\",\n\t\t\truntimeRequirements\n\t\t});\n\t\tconst range = dep.range;\n\t\tconst contentRange = dep.contentRange;\n\t\tconst errorHandlerRange = dep.errorHandlerRange;\n\t\tsource.replace(range[0], contentRange[0] - 1, `${promise}.then((`);\n\t\tif (errorHandlerRange) {\n\t\t\tsource.replace(\n\t\t\t\tcontentRange[1],\n\t\t\t\terrorHandlerRange[0] - 1,\n\t\t\t\t\").bind(null, __webpack_require__))['catch'](\"\n\t\t\t);\n\t\t\tsource.replace(errorHandlerRange[1], range[1] - 1, \")\");\n\t\t} else {\n\t\t\tsource.replace(\n\t\t\t\tcontentRange[1],\n\t\t\t\trange[1] - 1,\n\t\t\t\t`).bind(null, __webpack_require__))['catch'](${RuntimeGlobals.uncaughtErrorHandler})`\n\t\t\t);\n\t\t}\n\t}\n};\n\nmodule.exports = RequireEnsureDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\nclass RequireEnsureItemDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"require.ensure item\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nmakeSerializable(\n\tRequireEnsureItemDependency,\n\t\"webpack/lib/dependencies/RequireEnsureItemDependency\"\n);\n\nRequireEnsureItemDependency.Template = NullDependency.Template;\n\nmodule.exports = RequireEnsureItemDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RequireEnsureDependency = __webpack_require__(/*! ./RequireEnsureDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js\");\nconst RequireEnsureItemDependency = __webpack_require__(/*! ./RequireEnsureItemDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js\");\n\nconst RequireEnsureDependenciesBlockParserPlugin = __webpack_require__(/*! ./RequireEnsureDependenciesBlockParserPlugin */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js\");\n\nconst {\n\tevaluateToString,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\n\nclass RequireEnsurePlugin {\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"RequireEnsurePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRequireEnsureItemDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireEnsureItemDependency,\n\t\t\t\t\tnew RequireEnsureItemDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireEnsureDependency,\n\t\t\t\t\tnew RequireEnsureDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tparserOptions.requireEnsure !== undefined &&\n\t\t\t\t\t\t!parserOptions.requireEnsure\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tnew RequireEnsureDependenciesBlockParserPlugin().apply(parser);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"require.ensure\")\n\t\t\t\t\t\t.tap(\"RequireEnsurePlugin\", evaluateToString(\"function\"));\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"require.ensure\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"RequireEnsurePlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"RequireEnsurePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"RequireEnsurePlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = RequireEnsurePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass RequireHeaderDependency extends NullDependency {\n\tconstructor(range) {\n\t\tsuper();\n\t\tif (!Array.isArray(range)) throw new Error(\"range must be valid\");\n\t\tthis.range = range;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.range);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst obj = new RequireHeaderDependency(context.read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tRequireHeaderDependency,\n\t\"webpack/lib/dependencies/RequireHeaderDependency\"\n);\n\nRequireHeaderDependency.Template = class RequireHeaderDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeRequirements }) {\n\t\tconst dep = /** @type {RequireHeaderDependency} */ (dependency);\n\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, \"__webpack_require__\");\n\t}\n};\n\nmodule.exports = RequireHeaderDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass RequireIncludeDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\n\t\tthis.range = range;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\t// This doesn't use any export\n\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t}\n\n\tget type() {\n\t\treturn \"require.include\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n}\n\nmakeSerializable(\n\tRequireIncludeDependency,\n\t\"webpack/lib/dependencies/RequireIncludeDependency\"\n);\n\nRequireIncludeDependency.Template = class RequireIncludeDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeTemplate }) {\n\t\tconst dep = /** @type {RequireIncludeDependency} */ (dependency);\n\t\tconst comment = runtimeTemplate.outputOptions.pathinfo\n\t\t\t? Template.toComment(\n\t\t\t\t\t`require.include ${runtimeTemplate.requestShortener.shorten(\n\t\t\t\t\t\tdep.request\n\t\t\t\t\t)}`\n\t\t\t )\n\t\t\t: \"\";\n\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, `undefined${comment}`);\n\t}\n};\n\nmodule.exports = RequireIncludeDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js": /*!***************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js ***! \***************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst {\n\tevaluateToString,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst RequireIncludeDependency = __webpack_require__(/*! ./RequireIncludeDependency */ \"./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js\");\n\nmodule.exports = class RequireIncludeDependencyParserPlugin {\n\tconstructor(warn) {\n\t\tthis.warn = warn;\n\t}\n\tapply(parser) {\n\t\tconst { warn } = this;\n\t\tparser.hooks.call\n\t\t\t.for(\"require.include\")\n\t\t\t.tap(\"RequireIncludeDependencyParserPlugin\", expr => {\n\t\t\t\tif (expr.arguments.length !== 1) return;\n\t\t\t\tconst param = parser.evaluateExpression(expr.arguments[0]);\n\t\t\t\tif (!param.isString()) return;\n\n\t\t\t\tif (warn) {\n\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\tnew RequireIncludeDeprecationWarning(expr.loc)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tconst dep = new RequireIncludeDependency(param.string, expr.range);\n\t\t\t\tdep.loc = expr.loc;\n\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\treturn true;\n\t\t\t});\n\t\tparser.hooks.evaluateTypeof\n\t\t\t.for(\"require.include\")\n\t\t\t.tap(\"RequireIncludePlugin\", expr => {\n\t\t\t\tif (warn) {\n\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\tnew RequireIncludeDeprecationWarning(expr.loc)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn evaluateToString(\"function\")(expr);\n\t\t\t});\n\t\tparser.hooks.typeof\n\t\t\t.for(\"require.include\")\n\t\t\t.tap(\"RequireIncludePlugin\", expr => {\n\t\t\t\tif (warn) {\n\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\tnew RequireIncludeDeprecationWarning(expr.loc)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn toConstantDependency(parser, JSON.stringify(\"function\"))(expr);\n\t\t\t});\n\t}\n};\n\nclass RequireIncludeDeprecationWarning extends WebpackError {\n\tconstructor(loc) {\n\t\tsuper(\"require.include() is deprecated and will be removed soon.\");\n\n\t\tthis.name = \"RequireIncludeDeprecationWarning\";\n\n\t\tthis.loc = loc;\n\t}\n}\n\nmakeSerializable(\n\tRequireIncludeDeprecationWarning,\n\t\"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin\",\n\t\"RequireIncludeDeprecationWarning\"\n);\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireIncludePlugin.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireIncludePlugin.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RequireIncludeDependency = __webpack_require__(/*! ./RequireIncludeDependency */ \"./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js\");\nconst RequireIncludeDependencyParserPlugin = __webpack_require__(/*! ./RequireIncludeDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js\");\n\nclass RequireIncludePlugin {\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"RequireIncludePlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tRequireIncludeDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tRequireIncludeDependency,\n\t\t\t\t\tnew RequireIncludeDependency.Template()\n\t\t\t\t);\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.requireInclude === false) return;\n\t\t\t\t\tconst warn = parserOptions.requireInclude === undefined;\n\n\t\t\t\t\tnew RequireIncludeDependencyParserPlugin(warn).apply(parser);\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"RequireIncludePlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"RequireIncludePlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = RequireIncludePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireIncludePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ContextDependency = __webpack_require__(/*! ./ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\");\nconst ContextDependencyTemplateAsId = __webpack_require__(/*! ./ContextDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js\");\n\nclass RequireResolveContextDependency extends ContextDependency {\n\tconstructor(options, range, valueRange, context) {\n\t\tsuper(options, context);\n\n\t\tthis.range = range;\n\t\tthis.valueRange = valueRange;\n\t}\n\n\tget type() {\n\t\treturn \"amd require context\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.range);\n\t\twrite(this.valueRange);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.range = read();\n\t\tthis.valueRange = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tRequireResolveContextDependency,\n\t\"webpack/lib/dependencies/RequireResolveContextDependency\"\n);\n\nRequireResolveContextDependency.Template = ContextDependencyTemplateAsId;\n\nmodule.exports = RequireResolveContextDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireResolveDependency.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireResolveDependency.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst ModuleDependencyAsId = __webpack_require__(/*! ./ModuleDependencyTemplateAsId */ \"./node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js\");\n\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass RequireResolveDependency extends ModuleDependency {\n\tconstructor(request, range, context) {\n\t\tsuper(request);\n\n\t\tthis.range = range;\n\t\tthis._context = context;\n\t}\n\n\tget type() {\n\t\treturn \"require.resolve\";\n\t}\n\n\tget category() {\n\t\treturn \"commonjs\";\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\t// This doesn't use any export\n\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t}\n}\n\nmakeSerializable(\n\tRequireResolveDependency,\n\t\"webpack/lib/dependencies/RequireResolveDependency\"\n);\n\nRequireResolveDependency.Template = ModuleDependencyAsId;\n\nmodule.exports = RequireResolveDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireResolveDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass RequireResolveHeaderDependency extends NullDependency {\n\tconstructor(range) {\n\t\tsuper();\n\n\t\tif (!Array.isArray(range)) throw new Error(\"range must be valid\");\n\n\t\tthis.range = range;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.range);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst obj = new RequireResolveHeaderDependency(context.read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tRequireResolveHeaderDependency,\n\t\"webpack/lib/dependencies/RequireResolveHeaderDependency\"\n);\n\nRequireResolveHeaderDependency.Template = class RequireResolveHeaderDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst dep = /** @type {RequireResolveHeaderDependency} */ (dependency);\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, \"/*require.resolve*/\");\n\t}\n\n\tapplyAsTemplateArgument(name, dep, source) {\n\t\tsource.replace(dep.range[0], dep.range[1] - 1, \"/*require.resolve*/\");\n\t}\n};\n\nmodule.exports = RequireResolveHeaderDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nclass RuntimeRequirementsDependency extends NullDependency {\n\t/**\n\t * @param {string[]} runtimeRequirements runtime requirements\n\t */\n\tconstructor(runtimeRequirements) {\n\t\tsuper();\n\t\tthis.runtimeRequirements = new Set(runtimeRequirements);\n\t\tthis._hashUpdate = undefined;\n\t}\n\n\t/**\n\t * Update the hash\n\t * @param {Hash} hash hash to be updated\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tif (this._hashUpdate === undefined) {\n\t\t\tthis._hashUpdate = Array.from(this.runtimeRequirements).join() + \"\";\n\t\t}\n\t\thash.update(this._hashUpdate);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.runtimeRequirements);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.runtimeRequirements = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tRuntimeRequirementsDependency,\n\t\"webpack/lib/dependencies/RuntimeRequirementsDependency\"\n);\n\nRuntimeRequirementsDependency.Template = class RuntimeRequirementsDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeRequirements }) {\n\t\tconst dep = /** @type {RuntimeRequirementsDependency} */ (dependency);\n\t\tfor (const req of dep.runtimeRequirements) {\n\t\t\truntimeRequirements.add(req);\n\t\t}\n\t}\n};\n\nmodule.exports = RuntimeRequirementsDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/StaticExportsDependency.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/StaticExportsDependency.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ExportSpec} ExportSpec */\n/** @typedef {import(\"../Dependency\").ExportsSpec} ExportsSpec */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nclass StaticExportsDependency extends NullDependency {\n\t/**\n\t * @param {string[] | true} exports export names\n\t * @param {boolean} canMangle true, if mangling exports names is allowed\n\t */\n\tconstructor(exports, canMangle) {\n\t\tsuper();\n\t\tthis.exports = exports;\n\t\tthis.canMangle = canMangle;\n\t}\n\n\tget type() {\n\t\treturn \"static exports\";\n\t}\n\n\t/**\n\t * Returns the exported names\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {ExportsSpec | undefined} export names\n\t */\n\tgetExports(moduleGraph) {\n\t\treturn {\n\t\t\texports: this.exports,\n\t\t\tcanMangle: this.canMangle,\n\t\t\tdependencies: undefined\n\t\t};\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.exports);\n\t\twrite(this.canMangle);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.exports = read();\n\t\tthis.canMangle = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tStaticExportsDependency,\n\t\"webpack/lib/dependencies/StaticExportsDependency\"\n);\n\nmodule.exports = StaticExportsDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/StaticExportsDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/SystemPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/SystemPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst {\n\tevaluateToString,\n\texpressionIsUnsupported,\n\ttoConstantDependency\n} = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst SystemRuntimeModule = __webpack_require__(/*! ./SystemRuntimeModule */ \"./node_modules/webpack/lib/dependencies/SystemRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass SystemPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"SystemPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.hooks.runtimeRequirementInModule\n\t\t\t\t\t.for(RuntimeGlobals.system)\n\t\t\t\t\t.tap(\"SystemPlugin\", (module, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.requireScope);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.system)\n\t\t\t\t\t.tap(\"SystemPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(chunk, new SystemRuntimeModule());\n\t\t\t\t\t});\n\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.system === undefined || !parserOptions.system) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst setNotSupported = name => {\n\t\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t\t.for(name)\n\t\t\t\t\t\t\t.tap(\"SystemPlugin\", evaluateToString(\"undefined\"));\n\t\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t\t.for(name)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"SystemPlugin\",\n\t\t\t\t\t\t\t\texpressionIsUnsupported(\n\t\t\t\t\t\t\t\t\tparser,\n\t\t\t\t\t\t\t\t\tname + \" is not supported by webpack.\"\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"System.import\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"SystemPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"function\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"System.import\")\n\t\t\t\t\t\t.tap(\"SystemPlugin\", evaluateToString(\"function\"));\n\t\t\t\t\tparser.hooks.typeof\n\t\t\t\t\t\t.for(\"System\")\n\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\"SystemPlugin\",\n\t\t\t\t\t\t\ttoConstantDependency(parser, JSON.stringify(\"object\"))\n\t\t\t\t\t\t);\n\t\t\t\t\tparser.hooks.evaluateTypeof\n\t\t\t\t\t\t.for(\"System\")\n\t\t\t\t\t\t.tap(\"SystemPlugin\", evaluateToString(\"object\"));\n\n\t\t\t\t\tsetNotSupported(\"System.set\");\n\t\t\t\t\tsetNotSupported(\"System.get\");\n\t\t\t\t\tsetNotSupported(\"System.register\");\n\n\t\t\t\t\tparser.hooks.expression.for(\"System\").tap(\"SystemPlugin\", expr => {\n\t\t\t\t\t\tconst dep = new ConstDependency(RuntimeGlobals.system, expr.range, [\n\t\t\t\t\t\t\tRuntimeGlobals.system\n\t\t\t\t\t\t]);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.call.for(\"System.import\").tap(\"SystemPlugin\", expr => {\n\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\tnew SystemImportDeprecationWarning(expr.loc)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\treturn parser.hooks.importCall.call({\n\t\t\t\t\t\t\ttype: \"ImportExpression\",\n\t\t\t\t\t\t\tsource: expr.arguments[0],\n\t\t\t\t\t\t\tloc: expr.loc,\n\t\t\t\t\t\t\trange: expr.range\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"SystemPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"SystemPlugin\", handler);\n\t\t\t}\n\t\t);\n\t}\n}\n\nclass SystemImportDeprecationWarning extends WebpackError {\n\tconstructor(loc) {\n\t\tsuper(\n\t\t\t\"System.import() is deprecated and will be removed soon. Use import() instead.\\n\" +\n\t\t\t\t\"For more info visit https://webpack.js.org/guides/code-splitting/\"\n\t\t);\n\n\t\tthis.name = \"SystemImportDeprecationWarning\";\n\n\t\tthis.loc = loc;\n\t}\n}\n\nmakeSerializable(\n\tSystemImportDeprecationWarning,\n\t\"webpack/lib/dependencies/SystemPlugin\",\n\t\"SystemImportDeprecationWarning\"\n);\n\nmodule.exports = SystemPlugin;\nmodule.exports.SystemImportDeprecationWarning = SystemImportDeprecationWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/SystemPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/SystemRuntimeModule.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/SystemRuntimeModule.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass SystemRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"system\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.system} = {`,\n\t\t\tTemplate.indent([\n\t\t\t\t\"import: function () {\",\n\t\t\t\tTemplate.indent(\n\t\t\t\t\t\"throw new Error('System.import cannot be used indirectly');\"\n\t\t\t\t),\n\t\t\t\t\"}\"\n\t\t\t]),\n\t\t\t\"};\"\n\t\t]);\n\t}\n}\n\nmodule.exports = SystemRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/SystemRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/URLDependency.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/URLDependency.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst {\n\tgetDependencyUsedByExportsCondition\n} = __webpack_require__(/*! ../optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst getRawDataUrlModule = memoize(() => __webpack_require__(/*! ../asset/RawDataUrlModule */ \"./node_modules/webpack/lib/asset/RawDataUrlModule.js\"));\n\nclass URLDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {[number, number]} range range of the arguments of new URL( |> ... <| )\n\t * @param {[number, number]} outerRange range of the full |> new URL(...) <|\n\t * @param {boolean=} relative use relative urls instead of absolute with base uri\n\t */\n\tconstructor(request, range, outerRange, relative) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t\tthis.outerRange = outerRange;\n\t\tthis.relative = relative || false;\n\t\t/** @type {Set<string> | boolean} */\n\t\tthis.usedByExports = undefined;\n\t}\n\n\tget type() {\n\t\treturn \"new URL()\";\n\t}\n\n\tget category() {\n\t\treturn \"url\";\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n\t */\n\tgetCondition(moduleGraph) {\n\t\treturn getDependencyUsedByExportsCondition(\n\t\t\tthis,\n\t\t\tthis.usedByExports,\n\t\t\tmoduleGraph\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} context context directory\n\t * @returns {Module} a module\n\t */\n\tcreateIgnoredModule(context) {\n\t\tconst RawDataUrlModule = getRawDataUrlModule();\n\t\treturn new RawDataUrlModule(\"data:,\", `ignored-asset`, `(ignored asset)`);\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.outerRange);\n\t\twrite(this.relative);\n\t\twrite(this.usedByExports);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.outerRange = read();\n\t\tthis.relative = read();\n\t\tthis.usedByExports = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nURLDependency.Template = class URLDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst {\n\t\t\tchunkGraph,\n\t\t\tmoduleGraph,\n\t\t\truntimeRequirements,\n\t\t\truntimeTemplate,\n\t\t\truntime\n\t\t} = templateContext;\n\t\tconst dep = /** @type {URLDependency} */ (dependency);\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\t// Skip rendering depending when dependency is conditional\n\t\tif (connection && !connection.isTargetActive(runtime)) {\n\t\t\tsource.replace(\n\t\t\t\tdep.outerRange[0],\n\t\t\t\tdep.outerRange[1] - 1,\n\t\t\t\t\"/* unused asset import */ undefined\"\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\truntimeRequirements.add(RuntimeGlobals.require);\n\n\t\tif (dep.relative) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.relativeUrl);\n\t\t\tsource.replace(\n\t\t\t\tdep.outerRange[0],\n\t\t\t\tdep.outerRange[1] - 1,\n\t\t\t\t`/* asset import */ new ${\n\t\t\t\t\tRuntimeGlobals.relativeUrl\n\t\t\t\t}(${runtimeTemplate.moduleRaw({\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\trequest: dep.request,\n\t\t\t\t\truntimeRequirements,\n\t\t\t\t\tweak: false\n\t\t\t\t})})`\n\t\t\t);\n\t\t} else {\n\t\t\truntimeRequirements.add(RuntimeGlobals.baseURI);\n\n\t\t\tsource.replace(\n\t\t\t\tdep.range[0],\n\t\t\t\tdep.range[1] - 1,\n\t\t\t\t`/* asset import */ ${runtimeTemplate.moduleRaw({\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\trequest: dep.request,\n\t\t\t\t\truntimeRequirements,\n\t\t\t\t\tweak: false\n\t\t\t\t})}, ${RuntimeGlobals.baseURI}`\n\t\t\t);\n\t\t}\n\t}\n};\n\nmakeSerializable(URLDependency, \"webpack/lib/dependencies/URLDependency\");\n\nmodule.exports = URLDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/URLDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/URLPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/URLPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst { pathToFileURL } = __webpack_require__(/*! url */ \"?e626\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ../javascript/BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\nconst { approve } = __webpack_require__(/*! ../javascript/JavascriptParserHelpers */ \"./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js\");\nconst InnerGraph = __webpack_require__(/*! ../optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\nconst URLDependency = __webpack_require__(/*! ./URLDependency */ \"./node_modules/webpack/lib/dependencies/URLDependency.js\");\n\n/** @typedef {import(\"estree\").NewExpression} NewExpressionNode */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n\nclass URLPlugin {\n\t/**\n\t * @param {Compiler} compiler compiler\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"URLPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(URLDependency, normalModuleFactory);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tURLDependency,\n\t\t\t\t\tnew URLDependency.Template()\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * @param {NormalModule} module module\n\t\t\t\t * @returns {URL} file url\n\t\t\t\t */\n\t\t\t\tconst getUrl = module => {\n\t\t\t\t\treturn pathToFileURL(module.resource);\n\t\t\t\t};\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser parser\n\t\t\t\t * @param {object} parserOptions options\n\t\t\t\t */\n\t\t\t\tconst parserCallback = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.url === false) return;\n\t\t\t\t\tconst relative = parserOptions.url === \"relative\";\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {NewExpressionNode} expr expression\n\t\t\t\t\t * @returns {undefined | string} request\n\t\t\t\t\t */\n\t\t\t\t\tconst getUrlRequest = expr => {\n\t\t\t\t\t\tif (expr.arguments.length !== 2) return;\n\n\t\t\t\t\t\tconst [arg1, arg2] = expr.arguments;\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\targ2.type !== \"MemberExpression\" ||\n\t\t\t\t\t\t\targ1.type === \"SpreadElement\"\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\tconst chain = parser.extractMemberExpressionChain(arg2);\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tchain.members.length !== 1 ||\n\t\t\t\t\t\t\tchain.object.type !== \"MetaProperty\" ||\n\t\t\t\t\t\t\tchain.object.meta.name !== \"import\" ||\n\t\t\t\t\t\t\tchain.object.property.name !== \"meta\" ||\n\t\t\t\t\t\t\tchain.members[0] !== \"url\"\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\tconst request = parser.evaluateExpression(arg1).asString();\n\n\t\t\t\t\t\treturn request;\n\t\t\t\t\t};\n\n\t\t\t\t\tparser.hooks.canRename.for(\"URL\").tap(\"URLPlugin\", approve);\n\t\t\t\t\tparser.hooks.evaluateNewExpression\n\t\t\t\t\t\t.for(\"URL\")\n\t\t\t\t\t\t.tap(\"URLPlugin\", expr => {\n\t\t\t\t\t\t\tconst request = getUrlRequest(expr);\n\t\t\t\t\t\t\tif (!request) return;\n\t\t\t\t\t\t\tconst url = new URL(request, getUrl(parser.state.module));\n\n\t\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t.setString(url.toString())\n\t\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.new.for(\"URL\").tap(\"URLPlugin\", _expr => {\n\t\t\t\t\t\tconst expr = /** @type {NewExpressionNode} */ (_expr);\n\n\t\t\t\t\t\tconst request = getUrlRequest(expr);\n\n\t\t\t\t\t\tif (!request) return;\n\n\t\t\t\t\t\tconst [arg1, arg2] = expr.arguments;\n\t\t\t\t\t\tconst dep = new URLDependency(\n\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t[arg1.range[0], arg2.range[1]],\n\t\t\t\t\t\t\texpr.range,\n\t\t\t\t\t\t\trelative\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tparser.state.current.addDependency(dep);\n\t\t\t\t\t\tInnerGraph.onUsage(parser.state, e => (dep.usedByExports = e));\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.isPure.for(\"NewExpression\").tap(\"URLPlugin\", _expr => {\n\t\t\t\t\t\tconst expr = /** @type {NewExpressionNode} */ (_expr);\n\t\t\t\t\t\tconst { callee } = expr;\n\t\t\t\t\t\tif (callee.type !== \"Identifier\") return;\n\t\t\t\t\t\tconst calleeInfo = parser.getFreeInfoFromVariable(callee.name);\n\t\t\t\t\t\tif (!calleeInfo || calleeInfo.name !== \"URL\") return;\n\n\t\t\t\t\t\tconst request = getUrlRequest(expr);\n\n\t\t\t\t\t\tif (request) return true;\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"URLPlugin\", parserCallback);\n\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"URLPlugin\", parserCallback);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = URLPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/URLPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/UnsupportedDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/UnsupportedDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst NullDependency = __webpack_require__(/*! ./NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n\nclass UnsupportedDependency extends NullDependency {\n\tconstructor(request, range) {\n\t\tsuper();\n\n\t\tthis.request = request;\n\t\tthis.range = range;\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.request);\n\t\twrite(this.range);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.request = read();\n\t\tthis.range = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tUnsupportedDependency,\n\t\"webpack/lib/dependencies/UnsupportedDependency\"\n);\n\nUnsupportedDependency.Template = class UnsupportedDependencyTemplate extends (\n\tNullDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeTemplate }) {\n\t\tconst dep = /** @type {UnsupportedDependency} */ (dependency);\n\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1],\n\t\t\truntimeTemplate.missingModule({\n\t\t\t\trequest: dep.request\n\t\t\t})\n\t\t);\n\t}\n};\n\nmodule.exports = UnsupportedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/UnsupportedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js ***! \**************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").TRANSITIVE} TRANSITIVE */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass WebAssemblyExportImportedDependency extends ModuleDependency {\n\tconstructor(exportName, request, name, valueType) {\n\t\tsuper(request);\n\t\t/** @type {string} */\n\t\tthis.exportName = exportName;\n\t\t/** @type {string} */\n\t\tthis.name = name;\n\t\t/** @type {string} */\n\t\tthis.valueType = valueType;\n\t}\n\n\t/**\n\t * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n\t */\n\tcouldAffectReferencingModule() {\n\t\treturn Dependency.TRANSITIVE;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn [[this.name]];\n\t}\n\n\tget type() {\n\t\treturn \"wasm export import\";\n\t}\n\n\tget category() {\n\t\treturn \"wasm\";\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.exportName);\n\t\twrite(this.name);\n\t\twrite(this.valueType);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.exportName = read();\n\t\tthis.name = read();\n\t\tthis.valueType = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tWebAssemblyExportImportedDependency,\n\t\"webpack/lib/dependencies/WebAssemblyExportImportedDependency\"\n);\n\nmodule.exports = WebAssemblyExportImportedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst UnsupportedWebAssemblyFeatureError = __webpack_require__(/*! ../wasm-sync/UnsupportedWebAssemblyFeatureError */ \"./node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"@webassemblyjs/ast\").ModuleImportDescription} ModuleImportDescription */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass WebAssemblyImportDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request the request\n\t * @param {string} name the imported name\n\t * @param {ModuleImportDescription} description the WASM ast node\n\t * @param {false | string} onlyDirectImport if only direct imports are allowed\n\t */\n\tconstructor(request, name, description, onlyDirectImport) {\n\t\tsuper(request);\n\t\t/** @type {string} */\n\t\tthis.name = name;\n\t\t/** @type {ModuleImportDescription} */\n\t\tthis.description = description;\n\t\t/** @type {false | string} */\n\t\tthis.onlyDirectImport = onlyDirectImport;\n\t}\n\n\tget type() {\n\t\treturn \"wasm import\";\n\t}\n\n\tget category() {\n\t\treturn \"wasm\";\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn [[this.name]];\n\t}\n\n\t/**\n\t * Returns errors\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @returns {WebpackError[]} errors\n\t */\n\tgetErrors(moduleGraph) {\n\t\tconst module = moduleGraph.getModule(this);\n\n\t\tif (\n\t\t\tthis.onlyDirectImport &&\n\t\t\tmodule &&\n\t\t\t!module.type.startsWith(\"webassembly\")\n\t\t) {\n\t\t\treturn [\n\t\t\t\tnew UnsupportedWebAssemblyFeatureError(\n\t\t\t\t\t`Import \"${this.name}\" from \"${this.request}\" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`\n\t\t\t\t)\n\t\t\t];\n\t\t}\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\n\t\twrite(this.name);\n\t\twrite(this.description);\n\t\twrite(this.onlyDirectImport);\n\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\n\t\tthis.name = read();\n\t\tthis.description = read();\n\t\tthis.onlyDirectImport = read();\n\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tWebAssemblyImportDependency,\n\t\"webpack/lib/dependencies/WebAssemblyImportDependency\"\n);\n\nmodule.exports = WebAssemblyImportDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass WebpackIsIncludedDependency extends ModuleDependency {\n\tconstructor(request, range) {\n\t\tsuper(request);\n\n\t\tthis.weak = true;\n\t\tthis.range = range;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\t// This doesn't use any export\n\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t}\n\n\tget type() {\n\t\treturn \"__webpack_is_included__\";\n\t}\n}\n\nmakeSerializable(\n\tWebpackIsIncludedDependency,\n\t\"webpack/lib/dependencies/WebpackIsIncludedDependency\"\n);\n\nWebpackIsIncludedDependency.Template = class WebpackIsIncludedDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, { runtimeTemplate, chunkGraph, moduleGraph }) {\n\t\tconst dep = /** @type {WebpackIsIncludedDependency} */ (dependency);\n\t\tconst connection = moduleGraph.getConnection(dep);\n\t\tconst included = connection\n\t\t\t? chunkGraph.getNumberOfModuleChunks(connection.module) > 0\n\t\t\t: false;\n\t\tconst comment = runtimeTemplate.outputOptions.pathinfo\n\t\t\t? Template.toComment(\n\t\t\t\t\t`__webpack_is_included__ ${runtimeTemplate.requestShortener.shorten(\n\t\t\t\t\t\tdep.request\n\t\t\t\t\t)}`\n\t\t\t )\n\t\t\t: \"\";\n\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\t`${comment}${JSON.stringify(included)}`\n\t\t);\n\t}\n};\n\nmodule.exports = WebpackIsIncludedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/WorkerDependency.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/WorkerDependency.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ModuleDependency = __webpack_require__(/*! ./ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").ReplaceSource} ReplaceSource */\n/** @typedef {import(\"../AsyncDependenciesBlock\")} AsyncDependenciesBlock */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Dependency\").ReferencedExport} ReferencedExport */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../Entrypoint\")} Entrypoint */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nclass WorkerDependency extends ModuleDependency {\n\t/**\n\t * @param {string} request request\n\t * @param {[number, number]} range range\n\t */\n\tconstructor(request, range) {\n\t\tsuper(request);\n\t\tthis.range = range;\n\t}\n\n\t/**\n\t * Returns list of exports referenced by this dependency\n\t * @param {ModuleGraph} moduleGraph module graph\n\t * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n\t * @returns {(string[] | ReferencedExport)[]} referenced exports\n\t */\n\tgetReferencedExports(moduleGraph, runtime) {\n\t\treturn Dependency.NO_EXPORTS_REFERENCED;\n\t}\n\n\tget type() {\n\t\treturn \"new Worker()\";\n\t}\n\n\tget category() {\n\t\treturn \"worker\";\n\t}\n}\n\nWorkerDependency.Template = class WorkerDependencyTemplate extends (\n\tModuleDependency.Template\n) {\n\t/**\n\t * @param {Dependency} dependency the dependency for which the template should be applied\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {DependencyTemplateContext} templateContext the context object\n\t * @returns {void}\n\t */\n\tapply(dependency, source, templateContext) {\n\t\tconst { chunkGraph, moduleGraph, runtimeRequirements } = templateContext;\n\t\tconst dep = /** @type {WorkerDependency} */ (dependency);\n\t\tconst block = /** @type {AsyncDependenciesBlock} */ (\n\t\t\tmoduleGraph.getParentBlock(dependency)\n\t\t);\n\t\tconst entrypoint = /** @type {Entrypoint} */ (\n\t\t\tchunkGraph.getBlockChunkGroup(block)\n\t\t);\n\t\tconst chunk = entrypoint.getEntrypointChunk();\n\n\t\truntimeRequirements.add(RuntimeGlobals.publicPath);\n\t\truntimeRequirements.add(RuntimeGlobals.baseURI);\n\t\truntimeRequirements.add(RuntimeGlobals.getChunkScriptFilename);\n\n\t\tsource.replace(\n\t\t\tdep.range[0],\n\t\t\tdep.range[1] - 1,\n\t\t\t`/* worker import */ ${RuntimeGlobals.publicPath} + ${\n\t\t\t\tRuntimeGlobals.getChunkScriptFilename\n\t\t\t}(${JSON.stringify(chunk.id)}), ${RuntimeGlobals.baseURI}`\n\t\t);\n\t}\n};\n\nmakeSerializable(WorkerDependency, \"webpack/lib/dependencies/WorkerDependency\");\n\nmodule.exports = WorkerDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/WorkerDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/WorkerPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/WorkerPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { pathToFileURL } = __webpack_require__(/*! url */ \"?e626\");\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst CommentCompilationWarning = __webpack_require__(/*! ../CommentCompilationWarning */ \"./node_modules/webpack/lib/CommentCompilationWarning.js\");\nconst UnsupportedFeatureWarning = __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\");\nconst EnableChunkLoadingPlugin = __webpack_require__(/*! ../javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\nconst { equals } = __webpack_require__(/*! ../util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { contextify } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst EnableWasmLoadingPlugin = __webpack_require__(/*! ../wasm/EnableWasmLoadingPlugin */ \"./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js\");\nconst ConstDependency = __webpack_require__(/*! ./ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst CreateScriptUrlDependency = __webpack_require__(/*! ./CreateScriptUrlDependency */ \"./node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js\");\nconst {\n\tharmonySpecifierTag\n} = __webpack_require__(/*! ./HarmonyImportDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js\");\nconst WorkerDependency = __webpack_require__(/*! ./WorkerDependency */ \"./node_modules/webpack/lib/dependencies/WorkerDependency.js\");\n\n/** @typedef {import(\"estree\").Expression} Expression */\n/** @typedef {import(\"estree\").ObjectExpression} ObjectExpression */\n/** @typedef {import(\"estree\").Pattern} Pattern */\n/** @typedef {import(\"estree\").Property} Property */\n/** @typedef {import(\"estree\").SpreadElement} SpreadElement */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Entrypoint\").EntryOptions} EntryOptions */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../javascript/BasicEvaluatedExpression\")} BasicEvaluatedExpression */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"./HarmonyImportDependencyParserPlugin\").HarmonySettings} HarmonySettings */\n\nconst getUrl = module => {\n\treturn pathToFileURL(module.resource).toString();\n};\n\nconst DEFAULT_SYNTAX = [\n\t\"Worker\",\n\t\"SharedWorker\",\n\t\"navigator.serviceWorker.register()\",\n\t\"Worker from worker_threads\"\n];\n\n/** @type {WeakMap<ParserState, number>} */\nconst workerIndexMap = new WeakMap();\n\nclass WorkerPlugin {\n\tconstructor(chunkLoading, wasmLoading, module) {\n\t\tthis._chunkLoading = chunkLoading;\n\t\tthis._wasmLoading = wasmLoading;\n\t\tthis._module = module;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tif (this._chunkLoading) {\n\t\t\tnew EnableChunkLoadingPlugin(this._chunkLoading).apply(compiler);\n\t\t}\n\t\tif (this._wasmLoading) {\n\t\t\tnew EnableWasmLoadingPlugin(this._wasmLoading).apply(compiler);\n\t\t}\n\t\tconst cachedContextify = contextify.bindContextCache(\n\t\t\tcompiler.context,\n\t\t\tcompiler.root\n\t\t);\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"WorkerPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tWorkerDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tWorkerDependency,\n\t\t\t\t\tnew WorkerDependency.Template()\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tCreateScriptUrlDependency,\n\t\t\t\t\tnew CreateScriptUrlDependency.Template()\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @param {Expression} expr expression\n\t\t\t\t * @returns {[BasicEvaluatedExpression, [number, number]]} parsed\n\t\t\t\t */\n\t\t\t\tconst parseModuleUrl = (parser, expr) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\texpr.type !== \"NewExpression\" ||\n\t\t\t\t\t\texpr.callee.type === \"Super\" ||\n\t\t\t\t\t\texpr.arguments.length !== 2\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\t\t\t\t\tconst [arg1, arg2] = expr.arguments;\n\t\t\t\t\tif (arg1.type === \"SpreadElement\") return;\n\t\t\t\t\tif (arg2.type === \"SpreadElement\") return;\n\t\t\t\t\tconst callee = parser.evaluateExpression(expr.callee);\n\t\t\t\t\tif (!callee.isIdentifier() || callee.identifier !== \"URL\") return;\n\t\t\t\t\tconst arg2Value = parser.evaluateExpression(arg2);\n\t\t\t\t\tif (\n\t\t\t\t\t\t!arg2Value.isString() ||\n\t\t\t\t\t\t!arg2Value.string.startsWith(\"file://\") ||\n\t\t\t\t\t\targ2Value.string !== getUrl(parser.state.module)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst arg1Value = parser.evaluateExpression(arg1);\n\t\t\t\t\treturn [arg1Value, [arg1.range[0], arg2.range[1]]];\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @param {ObjectExpression} expr expression\n\t\t\t\t * @returns {{ expressions: Record<string, Expression | Pattern>, otherElements: (Property | SpreadElement)[], values: Record<string, any>, spread: boolean, insertType: \"comma\" | \"single\", insertLocation: number }} parsed object\n\t\t\t\t */\n\t\t\t\tconst parseObjectExpression = (parser, expr) => {\n\t\t\t\t\t/** @type {Record<string, any>} */\n\t\t\t\t\tconst values = {};\n\t\t\t\t\t/** @type {Record<string, Expression | Pattern>} */\n\t\t\t\t\tconst expressions = {};\n\t\t\t\t\t/** @type {(Property | SpreadElement)[]} */\n\t\t\t\t\tconst otherElements = [];\n\t\t\t\t\tlet spread = false;\n\t\t\t\t\tfor (const prop of expr.properties) {\n\t\t\t\t\t\tif (prop.type === \"SpreadElement\") {\n\t\t\t\t\t\t\tspread = true;\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\tprop.type === \"Property\" &&\n\t\t\t\t\t\t\t!prop.method &&\n\t\t\t\t\t\t\t!prop.computed &&\n\t\t\t\t\t\t\tprop.key.type === \"Identifier\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\texpressions[prop.key.name] = prop.value;\n\t\t\t\t\t\t\tif (!prop.shorthand && !prop.value.type.endsWith(\"Pattern\")) {\n\t\t\t\t\t\t\t\tconst value = parser.evaluateExpression(\n\t\t\t\t\t\t\t\t\t/** @type {Expression} */ (prop.value)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (value.isCompileTimeValue())\n\t\t\t\t\t\t\t\t\tvalues[prop.key.name] = value.asCompileTimeValue();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\totherElements.push(prop);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst insertType = expr.properties.length > 0 ? \"comma\" : \"single\";\n\t\t\t\t\tconst insertLocation =\n\t\t\t\t\t\texpr.properties[expr.properties.length - 1].range[1];\n\t\t\t\t\treturn {\n\t\t\t\t\t\texpressions,\n\t\t\t\t\t\totherElements,\n\t\t\t\t\t\tvalues,\n\t\t\t\t\t\tspread,\n\t\t\t\t\t\tinsertType,\n\t\t\t\t\t\tinsertLocation\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @param {object} parserOptions options\n\t\t\t\t */\n\t\t\t\tconst parserPlugin = (parser, parserOptions) => {\n\t\t\t\t\tif (parserOptions.worker === false) return;\n\t\t\t\t\tconst options = !Array.isArray(parserOptions.worker)\n\t\t\t\t\t\t? [\"...\"]\n\t\t\t\t\t\t: parserOptions.worker;\n\t\t\t\t\tconst handleNewWorker = expr => {\n\t\t\t\t\t\tif (expr.arguments.length === 0 || expr.arguments.length > 2)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tconst [arg1, arg2] = expr.arguments;\n\t\t\t\t\t\tif (arg1.type === \"SpreadElement\") return;\n\t\t\t\t\t\tif (arg2 && arg2.type === \"SpreadElement\") return;\n\t\t\t\t\t\tconst parsedUrl = parseModuleUrl(parser, arg1);\n\t\t\t\t\t\tif (!parsedUrl) return;\n\t\t\t\t\t\tconst [url, range] = parsedUrl;\n\t\t\t\t\t\tif (!url.isString()) return;\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\texpressions,\n\t\t\t\t\t\t\totherElements,\n\t\t\t\t\t\t\tvalues: options,\n\t\t\t\t\t\t\tspread: hasSpreadInOptions,\n\t\t\t\t\t\t\tinsertType,\n\t\t\t\t\t\t\tinsertLocation\n\t\t\t\t\t\t} = arg2 && arg2.type === \"ObjectExpression\"\n\t\t\t\t\t\t\t? parseObjectExpression(parser, arg2)\n\t\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\t\t/** @type {Record<string, Expression | Pattern>} */\n\t\t\t\t\t\t\t\t\texpressions: {},\n\t\t\t\t\t\t\t\t\totherElements: [],\n\t\t\t\t\t\t\t\t\t/** @type {Record<string, any>} */\n\t\t\t\t\t\t\t\t\tvalues: {},\n\t\t\t\t\t\t\t\t\tspread: false,\n\t\t\t\t\t\t\t\t\tinsertType: arg2 ? \"spread\" : \"argument\",\n\t\t\t\t\t\t\t\t\tinsertLocation: arg2 ? arg2.range : arg1.range[1]\n\t\t\t\t\t\t\t };\n\t\t\t\t\t\tconst { options: importOptions, errors: commentErrors } =\n\t\t\t\t\t\t\tparser.parseCommentOptions(expr.range);\n\n\t\t\t\t\t\tif (commentErrors) {\n\t\t\t\t\t\t\tfor (const e of commentErrors) {\n\t\t\t\t\t\t\t\tconst { comment } = e;\n\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\tnew CommentCompilationWarning(\n\t\t\t\t\t\t\t\t\t\t`Compilation error while processing magic comment(-s): /*${comment.value}*/: ${e.message}`,\n\t\t\t\t\t\t\t\t\t\tcomment.loc\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/** @type {EntryOptions} */\n\t\t\t\t\t\tlet entryOptions = {};\n\n\t\t\t\t\t\tif (importOptions) {\n\t\t\t\t\t\t\tif (importOptions.webpackIgnore !== undefined) {\n\t\t\t\t\t\t\t\tif (typeof importOptions.webpackIgnore !== \"boolean\") {\n\t\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t\t\t\t`\\`webpackIgnore\\` expected a boolean, but received: ${importOptions.webpackIgnore}.`,\n\t\t\t\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (importOptions.webpackIgnore) {\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (importOptions.webpackEntryOptions !== undefined) {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\ttypeof importOptions.webpackEntryOptions !== \"object\" ||\n\t\t\t\t\t\t\t\t\timportOptions.webpackEntryOptions === null\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t\t\t\t`\\`webpackEntryOptions\\` expected a object, but received: ${importOptions.webpackEntryOptions}.`,\n\t\t\t\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tObject.assign(\n\t\t\t\t\t\t\t\t\t\tentryOptions,\n\t\t\t\t\t\t\t\t\t\timportOptions.webpackEntryOptions\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (importOptions.webpackChunkName !== undefined) {\n\t\t\t\t\t\t\t\tif (typeof importOptions.webpackChunkName !== \"string\") {\n\t\t\t\t\t\t\t\t\tparser.state.module.addWarning(\n\t\t\t\t\t\t\t\t\t\tnew UnsupportedFeatureWarning(\n\t\t\t\t\t\t\t\t\t\t\t`\\`webpackChunkName\\` expected a string, but received: ${importOptions.webpackChunkName}.`,\n\t\t\t\t\t\t\t\t\t\t\texpr.loc\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tentryOptions.name = importOptions.webpackChunkName;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!Object.prototype.hasOwnProperty.call(entryOptions, \"name\") &&\n\t\t\t\t\t\t\toptions &&\n\t\t\t\t\t\t\ttypeof options.name === \"string\"\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tentryOptions.name = options.name;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (entryOptions.runtime === undefined) {\n\t\t\t\t\t\t\tlet i = workerIndexMap.get(parser.state) || 0;\n\t\t\t\t\t\t\tworkerIndexMap.set(parser.state, i + 1);\n\t\t\t\t\t\t\tlet name = `${cachedContextify(\n\t\t\t\t\t\t\t\tparser.state.module.identifier()\n\t\t\t\t\t\t\t)}|${i}`;\n\t\t\t\t\t\t\tconst hash = createHash(compilation.outputOptions.hashFunction);\n\t\t\t\t\t\t\thash.update(name);\n\t\t\t\t\t\t\tconst digest = /** @type {string} */ (\n\t\t\t\t\t\t\t\thash.digest(compilation.outputOptions.hashDigest)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tentryOptions.runtime = digest.slice(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tcompilation.outputOptions.hashDigestLength\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst block = new AsyncDependenciesBlock({\n\t\t\t\t\t\t\tname: entryOptions.name,\n\t\t\t\t\t\t\tentryOptions: {\n\t\t\t\t\t\t\t\tchunkLoading: this._chunkLoading,\n\t\t\t\t\t\t\t\twasmLoading: this._wasmLoading,\n\t\t\t\t\t\t\t\t...entryOptions\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tblock.loc = expr.loc;\n\t\t\t\t\t\tconst dep = new WorkerDependency(url.string, range);\n\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\tblock.addDependency(dep);\n\t\t\t\t\t\tparser.state.module.addBlock(block);\n\n\t\t\t\t\t\tif (compilation.outputOptions.trustedTypes) {\n\t\t\t\t\t\t\tconst dep = new CreateScriptUrlDependency(\n\t\t\t\t\t\t\t\texpr.arguments[0].range\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (expressions.type) {\n\t\t\t\t\t\t\tconst expr = expressions.type;\n\t\t\t\t\t\t\tif (options.type !== false) {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\tthis._module ? '\"module\"' : \"undefined\",\n\t\t\t\t\t\t\t\t\texpr.range\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t\texpressions.type = undefined;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (insertType === \"comma\") {\n\t\t\t\t\t\t\tif (this._module || hasSpreadInOptions) {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\t`, type: ${this._module ? '\"module\"' : \"undefined\"}`,\n\t\t\t\t\t\t\t\t\tinsertLocation\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (insertType === \"spread\") {\n\t\t\t\t\t\t\tconst dep1 = new ConstDependency(\n\t\t\t\t\t\t\t\t\"Object.assign({}, \",\n\t\t\t\t\t\t\t\tinsertLocation[0]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst dep2 = new ConstDependency(\n\t\t\t\t\t\t\t\t`, { type: ${this._module ? '\"module\"' : \"undefined\"} })`,\n\t\t\t\t\t\t\t\tinsertLocation[1]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tdep1.loc = expr.loc;\n\t\t\t\t\t\t\tdep2.loc = expr.loc;\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep1);\n\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep2);\n\t\t\t\t\t\t} else if (insertType === \"argument\") {\n\t\t\t\t\t\t\tif (this._module) {\n\t\t\t\t\t\t\t\tconst dep = new ConstDependency(\n\t\t\t\t\t\t\t\t\t', { type: \"module\" }',\n\t\t\t\t\t\t\t\t\tinsertLocation\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tdep.loc = expr.loc;\n\t\t\t\t\t\t\t\tparser.state.module.addPresentationalDependency(dep);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tparser.walkExpression(expr.callee);\n\t\t\t\t\t\tfor (const key of Object.keys(expressions)) {\n\t\t\t\t\t\t\tif (expressions[key]) parser.walkExpression(expressions[key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const prop of otherElements) {\n\t\t\t\t\t\t\tparser.walkProperty(prop);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (insertType === \"spread\") {\n\t\t\t\t\t\t\tparser.walkExpression(arg2);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t};\n\t\t\t\t\tconst processItem = item => {\n\t\t\t\t\t\tif (item.endsWith(\"()\")) {\n\t\t\t\t\t\t\tparser.hooks.call\n\t\t\t\t\t\t\t\t.for(item.slice(0, -2))\n\t\t\t\t\t\t\t\t.tap(\"WorkerPlugin\", handleNewWorker);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst match = /^(.+?)(\\(\\))?\\s+from\\s+(.+)$/.exec(item);\n\t\t\t\t\t\t\tif (match) {\n\t\t\t\t\t\t\t\tconst ids = match[1].split(\".\");\n\t\t\t\t\t\t\t\tconst call = match[2];\n\t\t\t\t\t\t\t\tconst source = match[3];\n\t\t\t\t\t\t\t\t(call ? parser.hooks.call : parser.hooks.new)\n\t\t\t\t\t\t\t\t\t.for(harmonySpecifierTag)\n\t\t\t\t\t\t\t\t\t.tap(\"WorkerPlugin\", expr => {\n\t\t\t\t\t\t\t\t\t\tconst settings = /** @type {HarmonySettings} */ (\n\t\t\t\t\t\t\t\t\t\t\tparser.currentTagData\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!settings ||\n\t\t\t\t\t\t\t\t\t\t\tsettings.source !== source ||\n\t\t\t\t\t\t\t\t\t\t\t!equals(settings.ids, ids)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn handleNewWorker(expr);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tparser.hooks.new.for(item).tap(\"WorkerPlugin\", handleNewWorker);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tfor (const item of options) {\n\t\t\t\t\t\tif (item === \"...\") {\n\t\t\t\t\t\t\tDEFAULT_SYNTAX.forEach(processItem);\n\t\t\t\t\t\t} else processItem(item);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"WorkerPlugin\", parserPlugin);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"WorkerPlugin\", parserPlugin);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = WorkerPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/WorkerPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/getFunctionExpression.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/getFunctionExpression.js ***! \************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nmodule.exports = expr => {\n\t// <FunctionExpression>\n\tif (\n\t\texpr.type === \"FunctionExpression\" ||\n\t\texpr.type === \"ArrowFunctionExpression\"\n\t) {\n\t\treturn {\n\t\t\tfn: expr,\n\t\t\texpressions: [],\n\t\t\tneedThis: false\n\t\t};\n\t}\n\n\t// <FunctionExpression>.bind(<Expression>)\n\tif (\n\t\texpr.type === \"CallExpression\" &&\n\t\texpr.callee.type === \"MemberExpression\" &&\n\t\texpr.callee.object.type === \"FunctionExpression\" &&\n\t\texpr.callee.property.type === \"Identifier\" &&\n\t\texpr.callee.property.name === \"bind\" &&\n\t\texpr.arguments.length === 1\n\t) {\n\t\treturn {\n\t\t\tfn: expr.callee.object,\n\t\t\texpressions: [expr.arguments[0]],\n\t\t\tneedThis: undefined\n\t\t};\n\t}\n\t// (function(_this) {return <FunctionExpression>})(this) (Coffeescript)\n\tif (\n\t\texpr.type === \"CallExpression\" &&\n\t\texpr.callee.type === \"FunctionExpression\" &&\n\t\texpr.callee.body.type === \"BlockStatement\" &&\n\t\texpr.arguments.length === 1 &&\n\t\texpr.arguments[0].type === \"ThisExpression\" &&\n\t\texpr.callee.body.body &&\n\t\texpr.callee.body.body.length === 1 &&\n\t\texpr.callee.body.body[0].type === \"ReturnStatement\" &&\n\t\texpr.callee.body.body[0].argument &&\n\t\texpr.callee.body.body[0].argument.type === \"FunctionExpression\"\n\t) {\n\t\treturn {\n\t\t\tfn: expr.callee.body.body[0].argument,\n\t\t\texpressions: [],\n\t\t\tneedThis: true\n\t\t};\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/getFunctionExpression.js?"); /***/ }), /***/ "./node_modules/webpack/lib/dependencies/processExportInfo.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/dependencies/processExportInfo.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\n\n/** @typedef {import(\"../ExportsInfo\").ExportInfo} ExportInfo */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @param {RuntimeSpec} runtime the runtime\n * @param {string[][]} referencedExports list of referenced exports, will be added to\n * @param {string[]} prefix export prefix\n * @param {ExportInfo=} exportInfo the export info\n * @param {boolean} defaultPointsToSelf when true, using default will reference itself\n * @param {Set<ExportInfo>} alreadyVisited already visited export info (to handle circular reexports)\n */\nconst processExportInfo = (\n\truntime,\n\treferencedExports,\n\tprefix,\n\texportInfo,\n\tdefaultPointsToSelf = false,\n\talreadyVisited = new Set()\n) => {\n\tif (!exportInfo) {\n\t\treferencedExports.push(prefix);\n\t\treturn;\n\t}\n\tconst used = exportInfo.getUsed(runtime);\n\tif (used === UsageState.Unused) return;\n\tif (alreadyVisited.has(exportInfo)) {\n\t\treferencedExports.push(prefix);\n\t\treturn;\n\t}\n\talreadyVisited.add(exportInfo);\n\tif (\n\t\tused !== UsageState.OnlyPropertiesUsed ||\n\t\t!exportInfo.exportsInfo ||\n\t\texportInfo.exportsInfo.otherExportsInfo.getUsed(runtime) !==\n\t\t\tUsageState.Unused\n\t) {\n\t\talreadyVisited.delete(exportInfo);\n\t\treferencedExports.push(prefix);\n\t\treturn;\n\t}\n\tconst exportsInfo = exportInfo.exportsInfo;\n\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\tprocessExportInfo(\n\t\t\truntime,\n\t\t\treferencedExports,\n\t\t\tdefaultPointsToSelf && exportInfo.name === \"default\"\n\t\t\t\t? prefix\n\t\t\t\t: prefix.concat(exportInfo.name),\n\t\t\texportInfo,\n\t\t\tfalse,\n\t\t\talreadyVisited\n\t\t);\n\t}\n\talreadyVisited.delete(exportInfo);\n};\nmodule.exports = processExportInfo;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/dependencies/processExportInfo.js?"); /***/ }), /***/ "./node_modules/webpack/lib/electron/ElectronTargetPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/electron/ElectronTargetPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ExternalsPlugin = __webpack_require__(/*! ../ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ElectronTargetPlugin {\n\t/**\n\t * @param {\"main\" | \"preload\" | \"renderer\"=} context in main, preload or renderer context?\n\t */\n\tconstructor(context) {\n\t\tthis._context = context;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tnew ExternalsPlugin(\"node-commonjs\", [\n\t\t\t\"clipboard\",\n\t\t\t\"crash-reporter\",\n\t\t\t\"electron\",\n\t\t\t\"ipc\",\n\t\t\t\"native-image\",\n\t\t\t\"original-fs\",\n\t\t\t\"screen\",\n\t\t\t\"shell\"\n\t\t]).apply(compiler);\n\t\tswitch (this._context) {\n\t\t\tcase \"main\":\n\t\t\t\tnew ExternalsPlugin(\"node-commonjs\", [\n\t\t\t\t\t\"app\",\n\t\t\t\t\t\"auto-updater\",\n\t\t\t\t\t\"browser-window\",\n\t\t\t\t\t\"content-tracing\",\n\t\t\t\t\t\"dialog\",\n\t\t\t\t\t\"global-shortcut\",\n\t\t\t\t\t\"ipc-main\",\n\t\t\t\t\t\"menu\",\n\t\t\t\t\t\"menu-item\",\n\t\t\t\t\t\"power-monitor\",\n\t\t\t\t\t\"power-save-blocker\",\n\t\t\t\t\t\"protocol\",\n\t\t\t\t\t\"session\",\n\t\t\t\t\t\"tray\",\n\t\t\t\t\t\"web-contents\"\n\t\t\t\t]).apply(compiler);\n\t\t\t\tbreak;\n\t\t\tcase \"preload\":\n\t\t\tcase \"renderer\":\n\t\t\t\tnew ExternalsPlugin(\"node-commonjs\", [\n\t\t\t\t\t\"desktop-capturer\",\n\t\t\t\t\t\"ipc-renderer\",\n\t\t\t\t\t\"remote\",\n\t\t\t\t\t\"web-frame\"\n\t\t\t\t]).apply(compiler);\n\t\t\t\tbreak;\n\t\t}\n\t}\n}\n\nmodule.exports = ElectronTargetPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/electron/ElectronTargetPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/errors/BuildCycleError.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/errors/BuildCycleError.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"../Module\")} Module */\n\nclass BuildCycleError extends WebpackError {\n\t/**\n\t * Creates an instance of ModuleDependencyError.\n\t * @param {Module} module the module starting the cycle\n\t */\n\tconstructor(module) {\n\t\tsuper(\n\t\t\t\"There is a circular build dependency, which makes it impossible to create this module\"\n\t\t);\n\n\t\tthis.name = \"BuildCycleError\";\n\t\tthis.module = module;\n\t}\n}\n\nmodule.exports = BuildCycleError;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/errors/BuildCycleError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass ExportWebpackRequireRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"export webpack runtime\", RuntimeModule.STAGE_ATTACH);\n\t}\n\n\t/**\n\t * @returns {boolean} true, if the runtime module should get it's own scope\n\t */\n\tshouldIsolate() {\n\t\treturn false;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn \"export default __webpack_require__;\";\n\t}\n}\n\nmodule.exports = ExportWebpackRequireRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { RuntimeGlobals } = __webpack_require__(/*! .. */ \"./node_modules/webpack/lib/index.js\");\nconst HotUpdateChunk = __webpack_require__(/*! ../HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { getAllChunks } = __webpack_require__(/*! ../javascript/ChunkHelpers */ \"./node_modules/webpack/lib/javascript/ChunkHelpers.js\");\nconst {\n\tgetCompilationHooks,\n\tgetChunkFilenameTemplate\n} = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { updateHashForEntryStartup } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ModuleChunkFormatPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ModuleChunkFormatPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.additionalChunkRuntimeRequirements.tap(\n\t\t\t\t\t\"ModuleChunkFormatPlugin\",\n\t\t\t\t\t(chunk, set) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\tif (compilation.chunkGraph.getNumberOfEntryModules(chunk) > 0) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.startupEntrypoint);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.externalInstallChunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tconst hooks = getCompilationHooks(compilation);\n\t\t\t\thooks.renderChunk.tap(\n\t\t\t\t\t\"ModuleChunkFormatPlugin\",\n\t\t\t\t\t(modules, renderContext) => {\n\t\t\t\t\t\tconst { chunk, chunkGraph, runtimeTemplate } = renderContext;\n\t\t\t\t\t\tconst hotUpdateChunk =\n\t\t\t\t\t\t\tchunk instanceof HotUpdateChunk ? chunk : null;\n\t\t\t\t\t\tconst source = new ConcatSource();\n\t\t\t\t\t\tif (hotUpdateChunk) {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\"HMR is not implemented for module chunk format yet\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsource.add(`export const id = ${JSON.stringify(chunk.id)};\\n`);\n\t\t\t\t\t\t\tsource.add(`export const ids = ${JSON.stringify(chunk.ids)};\\n`);\n\t\t\t\t\t\t\tsource.add(`export const modules = `);\n\t\t\t\t\t\t\tsource.add(modules);\n\t\t\t\t\t\t\tsource.add(`;\\n`);\n\t\t\t\t\t\t\tconst runtimeModules =\n\t\t\t\t\t\t\t\tchunkGraph.getChunkRuntimeModulesInOrder(chunk);\n\t\t\t\t\t\t\tif (runtimeModules.length > 0) {\n\t\t\t\t\t\t\t\tsource.add(\"export const runtime =\\n\");\n\t\t\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\t\t\tTemplate.renderChunkRuntimeModules(\n\t\t\t\t\t\t\t\t\t\truntimeModules,\n\t\t\t\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (entries.length > 0) {\n\t\t\t\t\t\t\t\tconst runtimeChunk = entries[0][1].getRuntimeChunk();\n\t\t\t\t\t\t\t\tconst currentOutputName = compilation\n\t\t\t\t\t\t\t\t\t.getPath(\n\t\t\t\t\t\t\t\t\t\tgetChunkFilenameTemplate(chunk, compilation.outputOptions),\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.split(\"/\");\n\n\t\t\t\t\t\t\t\t// remove filename, we only need the directory\n\t\t\t\t\t\t\t\tcurrentOutputName.pop();\n\n\t\t\t\t\t\t\t\tconst getRelativePath = chunk => {\n\t\t\t\t\t\t\t\t\tconst baseOutputName = currentOutputName.slice();\n\t\t\t\t\t\t\t\t\tconst chunkOutputName = compilation\n\t\t\t\t\t\t\t\t\t\t.getPath(\n\t\t\t\t\t\t\t\t\t\t\tgetChunkFilenameTemplate(\n\t\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\t\tcompilation.outputOptions\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tchunk: chunk,\n\t\t\t\t\t\t\t\t\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t.split(\"/\");\n\n\t\t\t\t\t\t\t\t\t// remove common parts\n\t\t\t\t\t\t\t\t\twhile (\n\t\t\t\t\t\t\t\t\t\tbaseOutputName.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tchunkOutputName.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tbaseOutputName[0] === chunkOutputName[0]\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tbaseOutputName.shift();\n\t\t\t\t\t\t\t\t\t\tchunkOutputName.shift();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// create final path\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t(baseOutputName.length > 0\n\t\t\t\t\t\t\t\t\t\t\t? \"../\".repeat(baseOutputName.length)\n\t\t\t\t\t\t\t\t\t\t\t: \"./\") + chunkOutputName.join(\"/\")\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tconst entrySource = new ConcatSource();\n\t\t\t\t\t\t\t\tentrySource.add(source);\n\t\t\t\t\t\t\t\tentrySource.add(\";\\n\\n// load runtime\\n\");\n\t\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\t\t`import __webpack_require__ from ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\tgetRelativePath(runtimeChunk)\n\t\t\t\t\t\t\t\t\t)};\\n`\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tconst startupSource = new ConcatSource();\n\t\t\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t\t\t`var __webpack_exec__ = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\t`__webpack_require__(${RuntimeGlobals.entryModuleId} = moduleId)`,\n\t\t\t\t\t\t\t\t\t\t\"moduleId\"\n\t\t\t\t\t\t\t\t\t)}\\n`\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tconst loadedChunks = new Set();\n\t\t\t\t\t\t\t\tlet index = 0;\n\t\t\t\t\t\t\t\tfor (let i = 0; i < entries.length; i++) {\n\t\t\t\t\t\t\t\t\tconst [module, entrypoint] = entries[i];\n\t\t\t\t\t\t\t\t\tconst final = i + 1 === entries.length;\n\t\t\t\t\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\t\t\t\t\t\t\t\tconst chunks = getAllChunks(\n\t\t\t\t\t\t\t\t\t\tentrypoint,\n\t\t\t\t\t\t\t\t\t\truntimeChunk,\n\t\t\t\t\t\t\t\t\t\tundefined\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\t\t\t\tif (loadedChunks.has(chunk)) continue;\n\t\t\t\t\t\t\t\t\t\tloadedChunks.add(chunk);\n\t\t\t\t\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t\t\t\t\t`import * as __webpack_chunk_${index}__ from ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\tgetRelativePath(chunk)\n\t\t\t\t\t\t\t\t\t\t\t)};\\n`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.externalInstallChunk}(__webpack_chunk_${index}__);\\n`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\tfinal ? \"var __webpack_exports__ = \" : \"\"\n\t\t\t\t\t\t\t\t\t\t}__webpack_exec__(${JSON.stringify(moduleId)});\\n`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\t\thooks.renderStartup.call(\n\t\t\t\t\t\t\t\t\t\tstartupSource,\n\t\t\t\t\t\t\t\t\t\tentries[entries.length - 1][0],\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t...renderContext,\n\t\t\t\t\t\t\t\t\t\t\tinlined: false\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn entrySource;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn source;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\thooks.chunkHash.tap(\n\t\t\t\t\t\"ModuleChunkFormatPlugin\",\n\t\t\t\t\t(chunk, hash, { chunkGraph, runtimeTemplate }) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\thash.update(\"ModuleChunkFormatPlugin\");\n\t\t\t\t\t\thash.update(\"1\");\n\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tupdateHashForEntryStartup(hash, chunkGraph, entries, chunk);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ModuleChunkFormatPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst ExportWebpackRequireRuntimeModule = __webpack_require__(/*! ./ExportWebpackRequireRuntimeModule */ \"./node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js\");\nconst ModuleChunkLoadingRuntimeModule = __webpack_require__(/*! ./ModuleChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ModuleChunkLoadingPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ModuleChunkLoadingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst chunkLoading =\n\t\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\t\treturn chunkLoading === \"import\";\n\t\t\t\t};\n\t\t\t\tconst onceForChunkSet = new WeakSet();\n\t\t\t\tconst handler = (chunk, set) => {\n\t\t\t\t\tif (onceForChunkSet.has(chunk)) return;\n\t\t\t\t\tonceForChunkSet.add(chunk);\n\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew ModuleChunkLoadingRuntimeModule(set)\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.baseURI)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.externalInstallChunk)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.onChunksLoaded)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.externalInstallChunk)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew ExportWebpackRequireRuntimeModule()\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ModuleChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkScriptFilename);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ModuleChunkLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tgetChunkFilenameTemplate,\n\tchunkHasJs\n} = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { getInitialChunkIds } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst { getUndoPath } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\n/**\n * @typedef {Object} JsonpCompilationPluginHooks\n * @property {SyncWaterfallHook<[string, Chunk]>} linkPreload\n * @property {SyncWaterfallHook<[string, Chunk]>} linkPrefetch\n */\n\n/** @type {WeakMap<Compilation, JsonpCompilationPluginHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass ModuleChunkLoadingRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {JsonpCompilationPluginHooks} hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tlinkPreload: new SyncWaterfallHook([\"source\", \"chunk\"]),\n\t\t\t\tlinkPrefetch: new SyncWaterfallHook([\"source\", \"chunk\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"import chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis._runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk chunk\n\t * @param {string} rootOutputDir root output directory\n\t * @returns {string} generated code\n\t */\n\t_generateBaseUri(chunk, rootOutputDir) {\n\t\tconst options = chunk.getEntryOptions();\n\t\tif (options && options.baseUri) {\n\t\t\treturn `${RuntimeGlobals.baseURI} = ${JSON.stringify(options.baseUri)};`;\n\t\t}\n\t\tconst {\n\t\t\tcompilation: {\n\t\t\t\toutputOptions: { importMetaName }\n\t\t\t}\n\t\t} = this;\n\t\treturn `${RuntimeGlobals.baseURI} = new URL(${JSON.stringify(\n\t\t\trootOutputDir\n\t\t)}, ${importMetaName}.url);`;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunk, chunkGraph } = this;\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\toutputOptions: { importFunctionName }\n\t\t} = compilation;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withBaseURI = this._runtimeRequirements.has(RuntimeGlobals.baseURI);\n\t\tconst withExternalInstallChunk = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.externalInstallChunk\n\t\t);\n\t\tconst withLoading = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t);\n\t\tconst withOnChunkLoad = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t);\n\t\tconst withHmr = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst conditionMap = chunkGraph.getChunkConditionMap(chunk, chunkHasJs);\n\t\tconst hasJsMatcher = compileBooleanMatcher(conditionMap);\n\t\tconst initialChunkIds = getInitialChunkIds(chunk, chunkGraph, chunkHasJs);\n\n\t\tconst outputName = this.compilation.getPath(\n\t\t\tgetChunkFilenameTemplate(chunk, this.compilation.outputOptions),\n\t\t\t{\n\t\t\t\tchunk,\n\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t}\n\t\t);\n\t\tconst rootOutputDir = getUndoPath(\n\t\t\toutputName,\n\t\t\tthis.compilation.outputOptions.path,\n\t\t\ttrue\n\t\t);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_module`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\twithBaseURI\n\t\t\t\t? this._generateBaseUri(chunk, rootOutputDir)\n\t\t\t\t: \"// no baseURI\",\n\t\t\t\"\",\n\t\t\t\"// object to store loaded and loading chunks\",\n\t\t\t\"// undefined = chunk not loaded, null = chunk preloaded/prefetched\",\n\t\t\t\"// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\",\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{`,\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(initialChunkIds, id => `${JSON.stringify(id)}: 0`).join(\n\t\t\t\t\t\",\\n\"\n\t\t\t\t)\n\t\t\t),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\twithLoading || withExternalInstallChunk\n\t\t\t\t? `var installChunk = ${runtimeTemplate.basicFunction(\"data\", [\n\t\t\t\t\t\truntimeTemplate.destructureObject(\n\t\t\t\t\t\t\t[\"ids\", \"modules\", \"runtime\"],\n\t\t\t\t\t\t\t\"data\"\n\t\t\t\t\t\t),\n\t\t\t\t\t\t'// add \"modules\" to the modules object,',\n\t\t\t\t\t\t'// then flag all \"ids\" as loaded and fire callback',\n\t\t\t\t\t\t\"var moduleId, chunkId, i = 0;\",\n\t\t\t\t\t\t\"for(moduleId in modules) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(modules, moduleId)) {`,\n\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleFactories}[moduleId] = modules[moduleId];`\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"if(runtime) runtime(__webpack_require__);\",\n\t\t\t\t\t\t\"for(;i < ids.length; i++) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"chunkId = ids[i];\",\n\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,\n\t\t\t\t\t\t\tTemplate.indent(\"installedChunks[chunkId][0]();\"),\n\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\"installedChunks[ids[i]] = 0;\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\twithOnChunkLoad ? `${RuntimeGlobals.onChunksLoaded}();` : \"\"\n\t\t\t\t ])}`\n\t\t\t\t: \"// no install chunk\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${fn}.j = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkId, promises\",\n\t\t\t\t\t\t\thasJsMatcher !== false\n\t\t\t\t\t\t\t\t? Template.indent([\n\t\t\t\t\t\t\t\t\t\t\"// import() chunk loading for javascript\",\n\t\t\t\t\t\t\t\t\t\t`var installedChunkData = ${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,\n\t\t\t\t\t\t\t\t\t\t'if(installedChunkData !== 0) { // 0 means \"already installed\".',\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t'// a Promise means \"currently loading\".',\n\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\"promises.push(installedChunkData[1]);\"\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\thasJsMatcher === true\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have JS\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: `if(${hasJsMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"// setup Promise in chunk cache\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var promise = ${importFunctionName}(${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trootOutputDir\n\t\t\t\t\t\t\t\t\t\t\t\t\t)} + ${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.getChunkScriptFilename\n\t\t\t\t\t\t\t\t\t\t\t\t\t}(chunkId)).then(installChunk, ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"e\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"throw e;\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t\t\t\t)});`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var promise = Promise.race([promise, new Promise(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`installedChunkData = installedChunks[chunkId] = [resolve]`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"resolve\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t)})])`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`promises.push(installedChunkData[1] = promise);`\n\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\"} else installedChunks[chunkId] = 0;\"\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t ])\n\t\t\t\t\t\t\t\t: Template.indent([\"installedChunks[chunkId] = 0;\"])\n\t\t\t\t\t\t)};`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk on demand loading\",\n\t\t\t\"\",\n\t\t\twithExternalInstallChunk\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${RuntimeGlobals.externalInstallChunk} = installChunk;`\n\t\t\t\t ])\n\t\t\t\t: \"// no external install chunk\",\n\t\t\t\"\",\n\t\t\twithOnChunkLoad\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t }.j = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"installedChunks[chunkId] === 0\",\n\t\t\t\t\t\t\"chunkId\"\n\t\t\t\t )};`\n\t\t\t\t: \"// no on chunks loaded\"\n\t\t]);\n\t}\n}\n\nmodule.exports = ModuleChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/formatLocation.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/formatLocation.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"./Dependency\").SourcePosition} SourcePosition */\n\n/**\n * @param {SourcePosition} pos position\n * @returns {string} formatted position\n */\nconst formatPosition = pos => {\n\tif (pos && typeof pos === \"object\") {\n\t\tif (\"line\" in pos && \"column\" in pos) {\n\t\t\treturn `${pos.line}:${pos.column}`;\n\t\t} else if (\"line\" in pos) {\n\t\t\treturn `${pos.line}:?`;\n\t\t}\n\t}\n\treturn \"\";\n};\n\n/**\n * @param {DependencyLocation} loc location\n * @returns {string} formatted location\n */\nconst formatLocation = loc => {\n\tif (loc && typeof loc === \"object\") {\n\t\tif (\"start\" in loc && loc.start && \"end\" in loc && loc.end) {\n\t\t\tif (\n\t\t\t\ttypeof loc.start === \"object\" &&\n\t\t\t\ttypeof loc.start.line === \"number\" &&\n\t\t\t\ttypeof loc.end === \"object\" &&\n\t\t\t\ttypeof loc.end.line === \"number\" &&\n\t\t\t\ttypeof loc.end.column === \"number\" &&\n\t\t\t\tloc.start.line === loc.end.line\n\t\t\t) {\n\t\t\t\treturn `${formatPosition(loc.start)}-${loc.end.column}`;\n\t\t\t} else if (\n\t\t\t\ttypeof loc.start === \"object\" &&\n\t\t\t\ttypeof loc.start.line === \"number\" &&\n\t\t\t\ttypeof loc.start.column !== \"number\" &&\n\t\t\t\ttypeof loc.end === \"object\" &&\n\t\t\t\ttypeof loc.end.line === \"number\" &&\n\t\t\t\ttypeof loc.end.column !== \"number\"\n\t\t\t) {\n\t\t\t\treturn `${loc.start.line}-${loc.end.line}`;\n\t\t\t} else {\n\t\t\t\treturn `${formatPosition(loc.start)}-${formatPosition(loc.end)}`;\n\t\t\t}\n\t\t}\n\t\tif (\"start\" in loc && loc.start) {\n\t\t\treturn formatPosition(loc.start);\n\t\t}\n\t\tif (\"name\" in loc && \"index\" in loc) {\n\t\t\treturn `${loc.name}[${loc.index}]`;\n\t\t}\n\t\tif (\"name\" in loc) {\n\t\t\treturn loc.name;\n\t\t}\n\t}\n\treturn \"\";\n};\n\nmodule.exports = formatLocation;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/formatLocation.js?"); /***/ }), /***/ "./node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js ***! \**********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nvar $interceptModuleExecution$ = undefined;\nvar $moduleCache$ = undefined;\n// eslint-disable-next-line no-unused-vars\nvar $hmrModuleData$ = undefined;\n/** @type {() => Promise} */\nvar $hmrDownloadManifest$ = undefined;\nvar $hmrDownloadUpdateHandlers$ = undefined;\nvar $hmrInvalidateModuleHandlers$ = undefined;\nvar __nested_webpack_require_432__ = undefined;\n\nmodule.exports = function () {\n\tvar currentModuleData = {};\n\tvar installedModules = $moduleCache$;\n\n\t// module and require creation\n\tvar currentChildModule;\n\tvar currentParents = [];\n\n\t// status\n\tvar registeredStatusHandlers = [];\n\tvar currentStatus = \"idle\";\n\n\t// while downloading\n\tvar blockingPromises = 0;\n\tvar blockingPromisesWaiting = [];\n\n\t// The update info\n\tvar currentUpdateApplyHandlers;\n\tvar queuedInvalidatedModules;\n\n\t// eslint-disable-next-line no-unused-vars\n\t$hmrModuleData$ = currentModuleData;\n\n\t$interceptModuleExecution$.push(function (options) {\n\t\tvar module = options.module;\n\t\tvar require = createRequire(options.require, options.id);\n\t\tmodule.hot = createModuleHotObject(options.id, module);\n\t\tmodule.parents = currentParents;\n\t\tmodule.children = [];\n\t\tcurrentParents = [];\n\t\toptions.require = require;\n\t});\n\n\t$hmrDownloadUpdateHandlers$ = {};\n\t$hmrInvalidateModuleHandlers$ = {};\n\n\tfunction createRequire(require, moduleId) {\n\t\tvar me = installedModules[moduleId];\n\t\tif (!me) return require;\n\t\tvar fn = function (request) {\n\t\t\tif (me.hot.active) {\n\t\t\t\tif (installedModules[request]) {\n\t\t\t\t\tvar parents = installedModules[request].parents;\n\t\t\t\t\tif (parents.indexOf(moduleId) === -1) {\n\t\t\t\t\t\tparents.push(moduleId);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tcurrentParents = [moduleId];\n\t\t\t\t\tcurrentChildModule = request;\n\t\t\t\t}\n\t\t\t\tif (me.children.indexOf(request) === -1) {\n\t\t\t\t\tme.children.push(request);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconsole.warn(\n\t\t\t\t\t\"[HMR] unexpected require(\" +\n\t\t\t\t\t\trequest +\n\t\t\t\t\t\t\") from disposed module \" +\n\t\t\t\t\t\tmoduleId\n\t\t\t\t);\n\t\t\t\tcurrentParents = [];\n\t\t\t}\n\t\t\treturn require(request);\n\t\t};\n\t\tvar createPropertyDescriptor = function (name) {\n\t\t\treturn {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: true,\n\t\t\t\tget: function () {\n\t\t\t\t\treturn require[name];\n\t\t\t\t},\n\t\t\t\tset: function (value) {\n\t\t\t\t\trequire[name] = value;\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t\tfor (var name in require) {\n\t\t\tif (Object.prototype.hasOwnProperty.call(require, name) && name !== \"e\") {\n\t\t\t\tObject.defineProperty(fn, name, createPropertyDescriptor(name));\n\t\t\t}\n\t\t}\n\t\tfn.e = function (chunkId) {\n\t\t\treturn trackBlockingPromise(require.e(chunkId));\n\t\t};\n\t\treturn fn;\n\t}\n\n\tfunction createModuleHotObject(moduleId, me) {\n\t\tvar _main = currentChildModule !== moduleId;\n\t\tvar hot = {\n\t\t\t// private stuff\n\t\t\t_acceptedDependencies: {},\n\t\t\t_acceptedErrorHandlers: {},\n\t\t\t_declinedDependencies: {},\n\t\t\t_selfAccepted: false,\n\t\t\t_selfDeclined: false,\n\t\t\t_selfInvalidated: false,\n\t\t\t_disposeHandlers: [],\n\t\t\t_main: _main,\n\t\t\t_requireSelf: function () {\n\t\t\t\tcurrentParents = me.parents.slice();\n\t\t\t\tcurrentChildModule = _main ? undefined : moduleId;\n\t\t\t\t__nested_webpack_require_432__(moduleId);\n\t\t\t},\n\n\t\t\t// Module API\n\t\t\tactive: true,\n\t\t\taccept: function (dep, callback, errorHandler) {\n\t\t\t\tif (dep === undefined) hot._selfAccepted = true;\n\t\t\t\telse if (typeof dep === \"function\") hot._selfAccepted = dep;\n\t\t\t\telse if (typeof dep === \"object\" && dep !== null) {\n\t\t\t\t\tfor (var i = 0; i < dep.length; i++) {\n\t\t\t\t\t\thot._acceptedDependencies[dep[i]] = callback || function () {};\n\t\t\t\t\t\thot._acceptedErrorHandlers[dep[i]] = errorHandler;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\thot._acceptedDependencies[dep] = callback || function () {};\n\t\t\t\t\thot._acceptedErrorHandlers[dep] = errorHandler;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdecline: function (dep) {\n\t\t\t\tif (dep === undefined) hot._selfDeclined = true;\n\t\t\t\telse if (typeof dep === \"object\" && dep !== null)\n\t\t\t\t\tfor (var i = 0; i < dep.length; i++)\n\t\t\t\t\t\thot._declinedDependencies[dep[i]] = true;\n\t\t\t\telse hot._declinedDependencies[dep] = true;\n\t\t\t},\n\t\t\tdispose: function (callback) {\n\t\t\t\thot._disposeHandlers.push(callback);\n\t\t\t},\n\t\t\taddDisposeHandler: function (callback) {\n\t\t\t\thot._disposeHandlers.push(callback);\n\t\t\t},\n\t\t\tremoveDisposeHandler: function (callback) {\n\t\t\t\tvar idx = hot._disposeHandlers.indexOf(callback);\n\t\t\t\tif (idx >= 0) hot._disposeHandlers.splice(idx, 1);\n\t\t\t},\n\t\t\tinvalidate: function () {\n\t\t\t\tthis._selfInvalidated = true;\n\t\t\t\tswitch (currentStatus) {\n\t\t\t\t\tcase \"idle\":\n\t\t\t\t\t\tcurrentUpdateApplyHandlers = [];\n\t\t\t\t\t\tObject.keys($hmrInvalidateModuleHandlers$).forEach(function (key) {\n\t\t\t\t\t\t\t$hmrInvalidateModuleHandlers$[key](\n\t\t\t\t\t\t\t\tmoduleId,\n\t\t\t\t\t\t\t\tcurrentUpdateApplyHandlers\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tsetStatus(\"ready\");\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"ready\":\n\t\t\t\t\t\tObject.keys($hmrInvalidateModuleHandlers$).forEach(function (key) {\n\t\t\t\t\t\t\t$hmrInvalidateModuleHandlers$[key](\n\t\t\t\t\t\t\t\tmoduleId,\n\t\t\t\t\t\t\t\tcurrentUpdateApplyHandlers\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 \"prepare\":\n\t\t\t\t\tcase \"check\":\n\t\t\t\t\tcase \"dispose\":\n\t\t\t\t\tcase \"apply\":\n\t\t\t\t\t\t(queuedInvalidatedModules = queuedInvalidatedModules || []).push(\n\t\t\t\t\t\t\tmoduleId\n\t\t\t\t\t\t);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// ignore requests in error states\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// Management API\n\t\t\tcheck: hotCheck,\n\t\t\tapply: hotApply,\n\t\t\tstatus: function (l) {\n\t\t\t\tif (!l) return currentStatus;\n\t\t\t\tregisteredStatusHandlers.push(l);\n\t\t\t},\n\t\t\taddStatusHandler: function (l) {\n\t\t\t\tregisteredStatusHandlers.push(l);\n\t\t\t},\n\t\t\tremoveStatusHandler: function (l) {\n\t\t\t\tvar idx = registeredStatusHandlers.indexOf(l);\n\t\t\t\tif (idx >= 0) registeredStatusHandlers.splice(idx, 1);\n\t\t\t},\n\n\t\t\t//inherit from previous dispose call\n\t\t\tdata: currentModuleData[moduleId]\n\t\t};\n\t\tcurrentChildModule = undefined;\n\t\treturn hot;\n\t}\n\n\tfunction setStatus(newStatus) {\n\t\tcurrentStatus = newStatus;\n\t\tvar results = [];\n\n\t\tfor (var i = 0; i < registeredStatusHandlers.length; i++)\n\t\t\tresults[i] = registeredStatusHandlers[i].call(null, newStatus);\n\n\t\treturn Promise.all(results);\n\t}\n\n\tfunction unblock() {\n\t\tif (--blockingPromises === 0) {\n\t\t\tsetStatus(\"ready\").then(function () {\n\t\t\t\tif (blockingPromises === 0) {\n\t\t\t\t\tvar list = blockingPromisesWaiting;\n\t\t\t\t\tblockingPromisesWaiting = [];\n\t\t\t\t\tfor (var i = 0; i < list.length; i++) {\n\t\t\t\t\t\tlist[i]();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction trackBlockingPromise(promise) {\n\t\tswitch (currentStatus) {\n\t\t\tcase \"ready\":\n\t\t\t\tsetStatus(\"prepare\");\n\t\t\t/* fallthrough */\n\t\t\tcase \"prepare\":\n\t\t\t\tblockingPromises++;\n\t\t\t\tpromise.then(unblock, unblock);\n\t\t\t\treturn promise;\n\t\t\tdefault:\n\t\t\t\treturn promise;\n\t\t}\n\t}\n\n\tfunction waitForBlockingPromises(fn) {\n\t\tif (blockingPromises === 0) return fn();\n\t\treturn new Promise(function (resolve) {\n\t\t\tblockingPromisesWaiting.push(function () {\n\t\t\t\tresolve(fn());\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction hotCheck(applyOnUpdate) {\n\t\tif (currentStatus !== \"idle\") {\n\t\t\tthrow new Error(\"check() is only allowed in idle status\");\n\t\t}\n\t\treturn setStatus(\"check\")\n\t\t\t.then($hmrDownloadManifest$)\n\t\t\t.then(function (update) {\n\t\t\t\tif (!update) {\n\t\t\t\t\treturn setStatus(applyInvalidatedModules() ? \"ready\" : \"idle\").then(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn setStatus(\"prepare\").then(function () {\n\t\t\t\t\tvar updatedModules = [];\n\t\t\t\t\tcurrentUpdateApplyHandlers = [];\n\n\t\t\t\t\treturn Promise.all(\n\t\t\t\t\t\tObject.keys($hmrDownloadUpdateHandlers$).reduce(function (\n\t\t\t\t\t\t\tpromises,\n\t\t\t\t\t\t\tkey\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t$hmrDownloadUpdateHandlers$[key](\n\t\t\t\t\t\t\t\tupdate.c,\n\t\t\t\t\t\t\t\tupdate.r,\n\t\t\t\t\t\t\t\tupdate.m,\n\t\t\t\t\t\t\t\tpromises,\n\t\t\t\t\t\t\t\tcurrentUpdateApplyHandlers,\n\t\t\t\t\t\t\t\tupdatedModules\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\treturn promises;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t[])\n\t\t\t\t\t).then(function () {\n\t\t\t\t\t\treturn waitForBlockingPromises(function () {\n\t\t\t\t\t\t\tif (applyOnUpdate) {\n\t\t\t\t\t\t\t\treturn internalApply(applyOnUpdate);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn setStatus(\"ready\").then(function () {\n\t\t\t\t\t\t\t\t\treturn updatedModules;\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t}\n\n\tfunction hotApply(options) {\n\t\tif (currentStatus !== \"ready\") {\n\t\t\treturn Promise.resolve().then(function () {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"apply() is only allowed in ready status (state: \" +\n\t\t\t\t\t\tcurrentStatus +\n\t\t\t\t\t\t\")\"\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\t\treturn internalApply(options);\n\t}\n\n\tfunction internalApply(options) {\n\t\toptions = options || {};\n\n\t\tapplyInvalidatedModules();\n\n\t\tvar results = currentUpdateApplyHandlers.map(function (handler) {\n\t\t\treturn handler(options);\n\t\t});\n\t\tcurrentUpdateApplyHandlers = undefined;\n\n\t\tvar errors = results\n\t\t\t.map(function (r) {\n\t\t\t\treturn r.error;\n\t\t\t})\n\t\t\t.filter(Boolean);\n\n\t\tif (errors.length > 0) {\n\t\t\treturn setStatus(\"abort\").then(function () {\n\t\t\t\tthrow errors[0];\n\t\t\t});\n\t\t}\n\n\t\t// Now in \"dispose\" phase\n\t\tvar disposePromise = setStatus(\"dispose\");\n\n\t\tresults.forEach(function (result) {\n\t\t\tif (result.dispose) result.dispose();\n\t\t});\n\n\t\t// Now in \"apply\" phase\n\t\tvar applyPromise = setStatus(\"apply\");\n\n\t\tvar error;\n\t\tvar reportError = function (err) {\n\t\t\tif (!error) error = err;\n\t\t};\n\n\t\tvar outdatedModules = [];\n\t\tresults.forEach(function (result) {\n\t\t\tif (result.apply) {\n\t\t\t\tvar modules = result.apply(reportError);\n\t\t\t\tif (modules) {\n\t\t\t\t\tfor (var i = 0; i < modules.length; i++) {\n\t\t\t\t\t\toutdatedModules.push(modules[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\treturn Promise.all([disposePromise, applyPromise]).then(function () {\n\t\t\t// handle errors in accept handlers and self accepted module load\n\t\t\tif (error) {\n\t\t\t\treturn setStatus(\"fail\").then(function () {\n\t\t\t\t\tthrow error;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (queuedInvalidatedModules) {\n\t\t\t\treturn internalApply(options).then(function (list) {\n\t\t\t\t\toutdatedModules.forEach(function (moduleId) {\n\t\t\t\t\t\tif (list.indexOf(moduleId) < 0) list.push(moduleId);\n\t\t\t\t\t});\n\t\t\t\t\treturn list;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn setStatus(\"idle\").then(function () {\n\t\t\t\treturn outdatedModules;\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction applyInvalidatedModules() {\n\t\tif (queuedInvalidatedModules) {\n\t\t\tif (!currentUpdateApplyHandlers) currentUpdateApplyHandlers = [];\n\t\t\tObject.keys($hmrInvalidateModuleHandlers$).forEach(function (key) {\n\t\t\t\tqueuedInvalidatedModules.forEach(function (moduleId) {\n\t\t\t\t\t$hmrInvalidateModuleHandlers$[key](\n\t\t\t\t\t\tmoduleId,\n\t\t\t\t\t\tcurrentUpdateApplyHandlers\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t});\n\t\t\tqueuedInvalidatedModules = undefined;\n\t\t\treturn true;\n\t\t}\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js?"); /***/ }), /***/ "./node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass HotModuleReplacementRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"hot module replacement\", RuntimeModule.STAGE_BASIC);\n\t}\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn Template.getFunctionContent(\n\t\t\t__webpack_require__(/*! ./HotModuleReplacement.runtime.js */ \"./node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js\")\n\t\t)\n\t\t\t.replace(/\\$getFullHash\\$/g, RuntimeGlobals.getFullHash)\n\t\t\t.replace(\n\t\t\t\t/\\$interceptModuleExecution\\$/g,\n\t\t\t\tRuntimeGlobals.interceptModuleExecution\n\t\t\t)\n\t\t\t.replace(/\\$moduleCache\\$/g, RuntimeGlobals.moduleCache)\n\t\t\t.replace(/\\$hmrModuleData\\$/g, RuntimeGlobals.hmrModuleData)\n\t\t\t.replace(/\\$hmrDownloadManifest\\$/g, RuntimeGlobals.hmrDownloadManifest)\n\t\t\t.replace(\n\t\t\t\t/\\$hmrInvalidateModuleHandlers\\$/g,\n\t\t\t\tRuntimeGlobals.hmrInvalidateModuleHandlers\n\t\t\t)\n\t\t\t.replace(\n\t\t\t\t/\\$hmrDownloadUpdateHandlers\\$/g,\n\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t);\n\t}\n}\n\nmodule.exports = HotModuleReplacementRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js ***! \********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nvar $installedChunks$ = undefined;\nvar $loadUpdateChunk$ = undefined;\nvar $moduleCache$ = undefined;\nvar $moduleFactories$ = undefined;\nvar $ensureChunkHandlers$ = undefined;\nvar $hasOwnProperty$ = undefined;\nvar $hmrModuleData$ = undefined;\nvar $hmrDownloadUpdateHandlers$ = undefined;\nvar $hmrInvalidateModuleHandlers$ = undefined;\nvar __nested_webpack_require_454__ = undefined;\n\nmodule.exports = function () {\n\tvar currentUpdateChunks;\n\tvar currentUpdate;\n\tvar currentUpdateRemovedChunks;\n\tvar currentUpdateRuntime;\n\tfunction applyHandler(options) {\n\t\tif ($ensureChunkHandlers$) delete $ensureChunkHandlers$.$key$Hmr;\n\t\tcurrentUpdateChunks = undefined;\n\t\tfunction getAffectedModuleEffects(updateModuleId) {\n\t\t\tvar outdatedModules = [updateModuleId];\n\t\t\tvar outdatedDependencies = {};\n\n\t\t\tvar queue = outdatedModules.map(function (id) {\n\t\t\t\treturn {\n\t\t\t\t\tchain: [id],\n\t\t\t\t\tid: id\n\t\t\t\t};\n\t\t\t});\n\t\t\twhile (queue.length > 0) {\n\t\t\t\tvar queueItem = queue.pop();\n\t\t\t\tvar moduleId = queueItem.id;\n\t\t\t\tvar chain = queueItem.chain;\n\t\t\t\tvar module = $moduleCache$[moduleId];\n\t\t\t\tif (\n\t\t\t\t\t!module ||\n\t\t\t\t\t(module.hot._selfAccepted && !module.hot._selfInvalidated)\n\t\t\t\t)\n\t\t\t\t\tcontinue;\n\t\t\t\tif (module.hot._selfDeclined) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"self-declined\",\n\t\t\t\t\t\tchain: chain,\n\t\t\t\t\t\tmoduleId: moduleId\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (module.hot._main) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"unaccepted\",\n\t\t\t\t\t\tchain: chain,\n\t\t\t\t\t\tmoduleId: moduleId\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tfor (var i = 0; i < module.parents.length; i++) {\n\t\t\t\t\tvar parentId = module.parents[i];\n\t\t\t\t\tvar parent = $moduleCache$[parentId];\n\t\t\t\t\tif (!parent) continue;\n\t\t\t\t\tif (parent.hot._declinedDependencies[moduleId]) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\ttype: \"declined\",\n\t\t\t\t\t\t\tchain: chain.concat([parentId]),\n\t\t\t\t\t\t\tmoduleId: moduleId,\n\t\t\t\t\t\t\tparentId: parentId\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tif (outdatedModules.indexOf(parentId) !== -1) continue;\n\t\t\t\t\tif (parent.hot._acceptedDependencies[moduleId]) {\n\t\t\t\t\t\tif (!outdatedDependencies[parentId])\n\t\t\t\t\t\t\toutdatedDependencies[parentId] = [];\n\t\t\t\t\t\taddAllToSet(outdatedDependencies[parentId], [moduleId]);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tdelete outdatedDependencies[parentId];\n\t\t\t\t\toutdatedModules.push(parentId);\n\t\t\t\t\tqueue.push({\n\t\t\t\t\t\tchain: chain.concat([parentId]),\n\t\t\t\t\t\tid: parentId\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\ttype: \"accepted\",\n\t\t\t\tmoduleId: updateModuleId,\n\t\t\t\toutdatedModules: outdatedModules,\n\t\t\t\toutdatedDependencies: outdatedDependencies\n\t\t\t};\n\t\t}\n\n\t\tfunction addAllToSet(a, b) {\n\t\t\tfor (var i = 0; i < b.length; i++) {\n\t\t\t\tvar item = b[i];\n\t\t\t\tif (a.indexOf(item) === -1) a.push(item);\n\t\t\t}\n\t\t}\n\n\t\t// at begin all updates modules are outdated\n\t\t// the \"outdated\" status can propagate to parents if they don't accept the children\n\t\tvar outdatedDependencies = {};\n\t\tvar outdatedModules = [];\n\t\tvar appliedUpdate = {};\n\n\t\tvar warnUnexpectedRequire = function warnUnexpectedRequire(module) {\n\t\t\tconsole.warn(\n\t\t\t\t\"[HMR] unexpected require(\" + module.id + \") to disposed module\"\n\t\t\t);\n\t\t};\n\n\t\tfor (var moduleId in currentUpdate) {\n\t\t\tif ($hasOwnProperty$(currentUpdate, moduleId)) {\n\t\t\t\tvar newModuleFactory = currentUpdate[moduleId];\n\t\t\t\t/** @type {TODO} */\n\t\t\t\tvar result;\n\t\t\t\tif (newModuleFactory) {\n\t\t\t\t\tresult = getAffectedModuleEffects(moduleId);\n\t\t\t\t} else {\n\t\t\t\t\tresult = {\n\t\t\t\t\t\ttype: \"disposed\",\n\t\t\t\t\t\tmoduleId: moduleId\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t/** @type {Error|false} */\n\t\t\t\tvar abortError = false;\n\t\t\t\tvar doApply = false;\n\t\t\t\tvar doDispose = false;\n\t\t\t\tvar chainInfo = \"\";\n\t\t\t\tif (result.chain) {\n\t\t\t\t\tchainInfo = \"\\nUpdate propagation: \" + result.chain.join(\" -> \");\n\t\t\t\t}\n\t\t\t\tswitch (result.type) {\n\t\t\t\t\tcase \"self-declined\":\n\t\t\t\t\t\tif (options.onDeclined) options.onDeclined(result);\n\t\t\t\t\t\tif (!options.ignoreDeclined)\n\t\t\t\t\t\t\tabortError = new Error(\n\t\t\t\t\t\t\t\t\"Aborted because of self decline: \" +\n\t\t\t\t\t\t\t\t\tresult.moduleId +\n\t\t\t\t\t\t\t\t\tchainInfo\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"declined\":\n\t\t\t\t\t\tif (options.onDeclined) options.onDeclined(result);\n\t\t\t\t\t\tif (!options.ignoreDeclined)\n\t\t\t\t\t\t\tabortError = new Error(\n\t\t\t\t\t\t\t\t\"Aborted because of declined dependency: \" +\n\t\t\t\t\t\t\t\t\tresult.moduleId +\n\t\t\t\t\t\t\t\t\t\" in \" +\n\t\t\t\t\t\t\t\t\tresult.parentId +\n\t\t\t\t\t\t\t\t\tchainInfo\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"unaccepted\":\n\t\t\t\t\t\tif (options.onUnaccepted) options.onUnaccepted(result);\n\t\t\t\t\t\tif (!options.ignoreUnaccepted)\n\t\t\t\t\t\t\tabortError = new Error(\n\t\t\t\t\t\t\t\t\"Aborted because \" + moduleId + \" is not accepted\" + chainInfo\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"accepted\":\n\t\t\t\t\t\tif (options.onAccepted) options.onAccepted(result);\n\t\t\t\t\t\tdoApply = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"disposed\":\n\t\t\t\t\t\tif (options.onDisposed) options.onDisposed(result);\n\t\t\t\t\t\tdoDispose = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Error(\"Unexception type \" + result.type);\n\t\t\t\t}\n\t\t\t\tif (abortError) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\terror: abortError\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (doApply) {\n\t\t\t\t\tappliedUpdate[moduleId] = newModuleFactory;\n\t\t\t\t\taddAllToSet(outdatedModules, result.outdatedModules);\n\t\t\t\t\tfor (moduleId in result.outdatedDependencies) {\n\t\t\t\t\t\tif ($hasOwnProperty$(result.outdatedDependencies, moduleId)) {\n\t\t\t\t\t\t\tif (!outdatedDependencies[moduleId])\n\t\t\t\t\t\t\t\toutdatedDependencies[moduleId] = [];\n\t\t\t\t\t\t\taddAllToSet(\n\t\t\t\t\t\t\t\toutdatedDependencies[moduleId],\n\t\t\t\t\t\t\t\tresult.outdatedDependencies[moduleId]\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (doDispose) {\n\t\t\t\t\taddAllToSet(outdatedModules, [result.moduleId]);\n\t\t\t\t\tappliedUpdate[moduleId] = warnUnexpectedRequire;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcurrentUpdate = undefined;\n\n\t\t// Store self accepted outdated modules to require them later by the module system\n\t\tvar outdatedSelfAcceptedModules = [];\n\t\tfor (var j = 0; j < outdatedModules.length; j++) {\n\t\t\tvar outdatedModuleId = outdatedModules[j];\n\t\t\tvar module = $moduleCache$[outdatedModuleId];\n\t\t\tif (\n\t\t\t\tmodule &&\n\t\t\t\t(module.hot._selfAccepted || module.hot._main) &&\n\t\t\t\t// removed self-accepted modules should not be required\n\t\t\t\tappliedUpdate[outdatedModuleId] !== warnUnexpectedRequire &&\n\t\t\t\t// when called invalidate self-accepting is not possible\n\t\t\t\t!module.hot._selfInvalidated\n\t\t\t) {\n\t\t\t\toutdatedSelfAcceptedModules.push({\n\t\t\t\t\tmodule: outdatedModuleId,\n\t\t\t\t\trequire: module.hot._requireSelf,\n\t\t\t\t\terrorHandler: module.hot._selfAccepted\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tvar moduleOutdatedDependencies;\n\n\t\treturn {\n\t\t\tdispose: function () {\n\t\t\t\tcurrentUpdateRemovedChunks.forEach(function (chunkId) {\n\t\t\t\t\tdelete $installedChunks$[chunkId];\n\t\t\t\t});\n\t\t\t\tcurrentUpdateRemovedChunks = undefined;\n\n\t\t\t\tvar idx;\n\t\t\t\tvar queue = outdatedModules.slice();\n\t\t\t\twhile (queue.length > 0) {\n\t\t\t\t\tvar moduleId = queue.pop();\n\t\t\t\t\tvar module = $moduleCache$[moduleId];\n\t\t\t\t\tif (!module) continue;\n\n\t\t\t\t\tvar data = {};\n\n\t\t\t\t\t// Call dispose handlers\n\t\t\t\t\tvar disposeHandlers = module.hot._disposeHandlers;\n\t\t\t\t\tfor (j = 0; j < disposeHandlers.length; j++) {\n\t\t\t\t\t\tdisposeHandlers[j].call(null, data);\n\t\t\t\t\t}\n\t\t\t\t\t$hmrModuleData$[moduleId] = data;\n\n\t\t\t\t\t// disable module (this disables requires from this module)\n\t\t\t\t\tmodule.hot.active = false;\n\n\t\t\t\t\t// remove module from cache\n\t\t\t\t\tdelete $moduleCache$[moduleId];\n\n\t\t\t\t\t// when disposing there is no need to call dispose handler\n\t\t\t\t\tdelete outdatedDependencies[moduleId];\n\n\t\t\t\t\t// remove \"parents\" references from all children\n\t\t\t\t\tfor (j = 0; j < module.children.length; j++) {\n\t\t\t\t\t\tvar child = $moduleCache$[module.children[j]];\n\t\t\t\t\t\tif (!child) continue;\n\t\t\t\t\t\tidx = child.parents.indexOf(moduleId);\n\t\t\t\t\t\tif (idx >= 0) {\n\t\t\t\t\t\t\tchild.parents.splice(idx, 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// remove outdated dependency from module children\n\t\t\t\tvar dependency;\n\t\t\t\tfor (var outdatedModuleId in outdatedDependencies) {\n\t\t\t\t\tif ($hasOwnProperty$(outdatedDependencies, outdatedModuleId)) {\n\t\t\t\t\t\tmodule = $moduleCache$[outdatedModuleId];\n\t\t\t\t\t\tif (module) {\n\t\t\t\t\t\t\tmoduleOutdatedDependencies =\n\t\t\t\t\t\t\t\toutdatedDependencies[outdatedModuleId];\n\t\t\t\t\t\t\tfor (j = 0; j < moduleOutdatedDependencies.length; j++) {\n\t\t\t\t\t\t\t\tdependency = moduleOutdatedDependencies[j];\n\t\t\t\t\t\t\t\tidx = module.children.indexOf(dependency);\n\t\t\t\t\t\t\t\tif (idx >= 0) module.children.splice(idx, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tapply: function (reportError) {\n\t\t\t\t// insert new code\n\t\t\t\tfor (var updateModuleId in appliedUpdate) {\n\t\t\t\t\tif ($hasOwnProperty$(appliedUpdate, updateModuleId)) {\n\t\t\t\t\t\t$moduleFactories$[updateModuleId] = appliedUpdate[updateModuleId];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// run new runtime modules\n\t\t\t\tfor (var i = 0; i < currentUpdateRuntime.length; i++) {\n\t\t\t\t\tcurrentUpdateRuntime[i](__nested_webpack_require_454__);\n\t\t\t\t}\n\n\t\t\t\t// call accept handlers\n\t\t\t\tfor (var outdatedModuleId in outdatedDependencies) {\n\t\t\t\t\tif ($hasOwnProperty$(outdatedDependencies, outdatedModuleId)) {\n\t\t\t\t\t\tvar module = $moduleCache$[outdatedModuleId];\n\t\t\t\t\t\tif (module) {\n\t\t\t\t\t\t\tmoduleOutdatedDependencies =\n\t\t\t\t\t\t\t\toutdatedDependencies[outdatedModuleId];\n\t\t\t\t\t\t\tvar callbacks = [];\n\t\t\t\t\t\t\tvar errorHandlers = [];\n\t\t\t\t\t\t\tvar dependenciesForCallbacks = [];\n\t\t\t\t\t\t\tfor (var j = 0; j < moduleOutdatedDependencies.length; j++) {\n\t\t\t\t\t\t\t\tvar dependency = moduleOutdatedDependencies[j];\n\t\t\t\t\t\t\t\tvar acceptCallback =\n\t\t\t\t\t\t\t\t\tmodule.hot._acceptedDependencies[dependency];\n\t\t\t\t\t\t\t\tvar errorHandler =\n\t\t\t\t\t\t\t\t\tmodule.hot._acceptedErrorHandlers[dependency];\n\t\t\t\t\t\t\t\tif (acceptCallback) {\n\t\t\t\t\t\t\t\t\tif (callbacks.indexOf(acceptCallback) !== -1) continue;\n\t\t\t\t\t\t\t\t\tcallbacks.push(acceptCallback);\n\t\t\t\t\t\t\t\t\terrorHandlers.push(errorHandler);\n\t\t\t\t\t\t\t\t\tdependenciesForCallbacks.push(dependency);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (var k = 0; k < callbacks.length; k++) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tcallbacks[k].call(null, moduleOutdatedDependencies);\n\t\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t\tif (typeof errorHandlers[k] === \"function\") {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\terrorHandlers[k](err, {\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleId: outdatedModuleId,\n\t\t\t\t\t\t\t\t\t\t\t\tdependencyId: dependenciesForCallbacks[k]\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t} catch (err2) {\n\t\t\t\t\t\t\t\t\t\t\tif (options.onErrored) {\n\t\t\t\t\t\t\t\t\t\t\t\toptions.onErrored({\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype: \"accept-error-handler-errored\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleId: outdatedModuleId,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdependencyId: dependenciesForCallbacks[k],\n\t\t\t\t\t\t\t\t\t\t\t\t\terror: err2,\n\t\t\t\t\t\t\t\t\t\t\t\t\toriginalError: err\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tif (!options.ignoreErrored) {\n\t\t\t\t\t\t\t\t\t\t\t\treportError(err2);\n\t\t\t\t\t\t\t\t\t\t\t\treportError(err);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (options.onErrored) {\n\t\t\t\t\t\t\t\t\t\t\toptions.onErrored({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"accept-errored\",\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleId: outdatedModuleId,\n\t\t\t\t\t\t\t\t\t\t\t\tdependencyId: dependenciesForCallbacks[k],\n\t\t\t\t\t\t\t\t\t\t\t\terror: err\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!options.ignoreErrored) {\n\t\t\t\t\t\t\t\t\t\t\treportError(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Load self accepted modules\n\t\t\t\tfor (var o = 0; o < outdatedSelfAcceptedModules.length; o++) {\n\t\t\t\t\tvar item = outdatedSelfAcceptedModules[o];\n\t\t\t\t\tvar moduleId = item.module;\n\t\t\t\t\ttry {\n\t\t\t\t\t\titem.require(moduleId);\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\tif (typeof item.errorHandler === \"function\") {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\titem.errorHandler(err, {\n\t\t\t\t\t\t\t\t\tmoduleId: moduleId,\n\t\t\t\t\t\t\t\t\tmodule: $moduleCache$[moduleId]\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} catch (err2) {\n\t\t\t\t\t\t\t\tif (options.onErrored) {\n\t\t\t\t\t\t\t\t\toptions.onErrored({\n\t\t\t\t\t\t\t\t\t\ttype: \"self-accept-error-handler-errored\",\n\t\t\t\t\t\t\t\t\t\tmoduleId: moduleId,\n\t\t\t\t\t\t\t\t\t\terror: err2,\n\t\t\t\t\t\t\t\t\t\toriginalError: err\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (!options.ignoreErrored) {\n\t\t\t\t\t\t\t\t\treportError(err2);\n\t\t\t\t\t\t\t\t\treportError(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (options.onErrored) {\n\t\t\t\t\t\t\t\toptions.onErrored({\n\t\t\t\t\t\t\t\t\ttype: \"self-accept-errored\",\n\t\t\t\t\t\t\t\t\tmoduleId: moduleId,\n\t\t\t\t\t\t\t\t\terror: err\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!options.ignoreErrored) {\n\t\t\t\t\t\t\t\treportError(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn outdatedModules;\n\t\t\t}\n\t\t};\n\t}\n\t$hmrInvalidateModuleHandlers$.$key$ = function (moduleId, applyHandlers) {\n\t\tif (!currentUpdate) {\n\t\t\tcurrentUpdate = {};\n\t\t\tcurrentUpdateRuntime = [];\n\t\t\tcurrentUpdateRemovedChunks = [];\n\t\t\tapplyHandlers.push(applyHandler);\n\t\t}\n\t\tif (!$hasOwnProperty$(currentUpdate, moduleId)) {\n\t\t\tcurrentUpdate[moduleId] = $moduleFactories$[moduleId];\n\t\t}\n\t};\n\t$hmrDownloadUpdateHandlers$.$key$ = function (\n\t\tchunkIds,\n\t\tremovedChunks,\n\t\tremovedModules,\n\t\tpromises,\n\t\tapplyHandlers,\n\t\tupdatedModulesList\n\t) {\n\t\tapplyHandlers.push(applyHandler);\n\t\tcurrentUpdateChunks = {};\n\t\tcurrentUpdateRemovedChunks = removedChunks;\n\t\tcurrentUpdate = removedModules.reduce(function (obj, key) {\n\t\t\tobj[key] = false;\n\t\t\treturn obj;\n\t\t}, {});\n\t\tcurrentUpdateRuntime = [];\n\t\tchunkIds.forEach(function (chunkId) {\n\t\t\tif (\n\t\t\t\t$hasOwnProperty$($installedChunks$, chunkId) &&\n\t\t\t\t$installedChunks$[chunkId] !== undefined\n\t\t\t) {\n\t\t\t\tpromises.push($loadUpdateChunk$(chunkId, updatedModulesList));\n\t\t\t\tcurrentUpdateChunks[chunkId] = true;\n\t\t\t} else {\n\t\t\t\tcurrentUpdateChunks[chunkId] = false;\n\t\t\t}\n\t\t});\n\t\tif ($ensureChunkHandlers$) {\n\t\t\t$ensureChunkHandlers$.$key$Hmr = function (chunkId, promises) {\n\t\t\t\tif (\n\t\t\t\t\tcurrentUpdateChunks &&\n\t\t\t\t\t$hasOwnProperty$(currentUpdateChunks, chunkId) &&\n\t\t\t\t\t!currentUpdateChunks[chunkId]\n\t\t\t\t) {\n\t\t\t\t\tpromises.push($loadUpdateChunk$(chunkId));\n\t\t\t\t\tcurrentUpdateChunks[chunkId] = true;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js?"); /***/ }), /***/ "./node_modules/webpack/lib/hmr/LazyCompilationPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/hmr/LazyCompilationPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst ModuleFactory = __webpack_require__(/*! ../ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst CommonJsRequireDependency = __webpack_require__(/*! ../dependencies/CommonJsRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js\");\nconst { registerNotSerializable } = __webpack_require__(/*! ../util/serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\")} WebpackOptions */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../Module\").BuildMeta} BuildMeta */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../dependencies/HarmonyImportDependency\")} HarmonyImportDependency */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\n/**\n * @typedef {Object} BackendApi\n * @property {function(Error=): void} dispose\n * @property {function(Module): { client: string, data: string, active: boolean }} module\n */\n\nconst HMR_DEPENDENCY_TYPES = new Set([\n\t\"import.meta.webpackHot.accept\",\n\t\"import.meta.webpackHot.decline\",\n\t\"module.hot.accept\",\n\t\"module.hot.decline\"\n]);\n\n/**\n * @param {undefined|string|RegExp|Function} test test option\n * @param {Module} module the module\n * @returns {boolean} true, if the module should be selected\n */\nconst checkTest = (test, module) => {\n\tif (test === undefined) return true;\n\tif (typeof test === \"function\") {\n\t\treturn test(module);\n\t}\n\tif (typeof test === \"string\") {\n\t\tconst name = module.nameForCondition();\n\t\treturn name && name.startsWith(test);\n\t}\n\tif (test instanceof RegExp) {\n\t\tconst name = module.nameForCondition();\n\t\treturn name && test.test(name);\n\t}\n\treturn false;\n};\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass LazyCompilationDependency extends Dependency {\n\tconstructor(proxyModule) {\n\t\tsuper();\n\t\tthis.proxyModule = proxyModule;\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n\n\tget type() {\n\t\treturn \"lazy import()\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn this.proxyModule.originalModule.identifier();\n\t}\n}\n\nregisterNotSerializable(LazyCompilationDependency);\n\nclass LazyCompilationProxyModule extends Module {\n\tconstructor(context, originalModule, request, client, data, active) {\n\t\tsuper(\"lazy-compilation-proxy\", context, originalModule.layer);\n\t\tthis.originalModule = originalModule;\n\t\tthis.request = request;\n\t\tthis.client = client;\n\t\tthis.data = data;\n\t\tthis.active = active;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `lazy-compilation-proxy|${this.originalModule.identifier()}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `lazy-compilation-proxy ${this.originalModule.readableIdentifier(\n\t\t\trequestShortener\n\t\t)}`;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tsuper.updateCacheModule(module);\n\t\tconst m = /** @type {LazyCompilationProxyModule} */ (module);\n\t\tthis.originalModule = m.originalModule;\n\t\tthis.request = m.request;\n\t\tthis.client = m.client;\n\t\tthis.data = m.data;\n\t\tthis.active = m.active;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn `${this.originalModule.libIdent(options)}!lazy-compilation-proxy`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(null, !this.buildInfo || this.buildInfo.active !== this.active);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildInfo = {\n\t\t\tactive: this.active\n\t\t};\n\t\t/** @type {BuildMeta} */\n\t\tthis.buildMeta = {};\n\t\tthis.clearDependenciesAndBlocks();\n\t\tconst dep = new CommonJsRequireDependency(this.client);\n\t\tthis.addDependency(dep);\n\t\tif (this.active) {\n\t\t\tconst dep = new LazyCompilationDependency(this);\n\t\t\tconst block = new AsyncDependenciesBlock({});\n\t\t\tblock.addDependency(dep);\n\t\t\tthis.addBlock(block);\n\t\t}\n\t\tcallback();\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 200;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ runtimeTemplate, chunkGraph, moduleGraph }) {\n\t\tconst sources = new Map();\n\t\tconst runtimeRequirements = new Set();\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\tconst clientDep = /** @type {CommonJsRequireDependency} */ (\n\t\t\tthis.dependencies[0]\n\t\t);\n\t\tconst clientModule = moduleGraph.getModule(clientDep);\n\t\tconst block = this.blocks[0];\n\t\tconst client = Template.asString([\n\t\t\t`var client = ${runtimeTemplate.moduleExports({\n\t\t\t\tmodule: clientModule,\n\t\t\t\tchunkGraph,\n\t\t\t\trequest: clientDep.userRequest,\n\t\t\t\truntimeRequirements\n\t\t\t})}`,\n\t\t\t`var data = ${JSON.stringify(this.data)};`\n\t\t]);\n\t\tconst keepActive = Template.asString([\n\t\t\t`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(\n\t\t\t\t!!block\n\t\t\t)}, module: module, onError: onError });`\n\t\t]);\n\t\tlet source;\n\t\tif (block) {\n\t\t\tconst dep = block.dependencies[0];\n\t\t\tconst module = moduleGraph.getModule(dep);\n\t\t\tsource = Template.asString([\n\t\t\t\tclient,\n\t\t\t\t`module.exports = ${runtimeTemplate.moduleNamespacePromise({\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\tblock,\n\t\t\t\t\tmodule,\n\t\t\t\t\trequest: this.request,\n\t\t\t\t\tstrict: false, // TODO this should be inherited from the original module\n\t\t\t\t\tmessage: \"import()\",\n\t\t\t\t\truntimeRequirements\n\t\t\t\t})};`,\n\t\t\t\t\"if (module.hot) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"module.hot.accept();\",\n\t\t\t\t\t`module.hot.accept(${JSON.stringify(\n\t\t\t\t\t\tchunkGraph.getModuleId(module)\n\t\t\t\t\t)}, function() { module.hot.invalidate(); });`,\n\t\t\t\t\t\"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });\",\n\t\t\t\t\t\"if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"function onError() { /* ignore */ }\",\n\t\t\t\tkeepActive\n\t\t\t]);\n\t\t} else {\n\t\t\tsource = Template.asString([\n\t\t\t\tclient,\n\t\t\t\t\"var resolveSelf, onError;\",\n\t\t\t\t`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,\n\t\t\t\t\"if (module.hot) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"module.hot.accept();\",\n\t\t\t\t\t\"if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);\",\n\t\t\t\t\t\"module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\tkeepActive\n\t\t\t]);\n\t\t}\n\t\tsources.set(\"javascript\", new RawSource(source));\n\t\treturn {\n\t\t\tsources,\n\t\t\truntimeRequirements\n\t\t};\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tsuper.updateHash(hash, context);\n\t\thash.update(this.active ? \"active\" : \"\");\n\t\thash.update(JSON.stringify(this.data));\n\t}\n}\n\nregisterNotSerializable(LazyCompilationProxyModule);\n\nclass LazyCompilationDependencyFactory extends ModuleFactory {\n\tconstructor(factory) {\n\t\tsuper();\n\t\tthis._factory = factory;\n\t}\n\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst dependency = /** @type {LazyCompilationDependency} */ (\n\t\t\tdata.dependencies[0]\n\t\t);\n\t\tcallback(null, {\n\t\t\tmodule: dependency.proxyModule.originalModule\n\t\t});\n\t}\n}\n\nclass LazyCompilationPlugin {\n\t/**\n\t * @param {Object} options options\n\t * @param {(function(Compiler, function(Error?, BackendApi?): void): void) | function(Compiler): Promise<BackendApi>} options.backend the backend\n\t * @param {boolean} options.entries true, when entries are lazy compiled\n\t * @param {boolean} options.imports true, when import() modules are lazy compiled\n\t * @param {RegExp | string | (function(Module): boolean)} options.test additional filter for lazy compiled entrypoint modules\n\t */\n\tconstructor({ backend, entries, imports, test }) {\n\t\tthis.backend = backend;\n\t\tthis.entries = entries;\n\t\tthis.imports = imports;\n\t\tthis.test = test;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tlet backend;\n\t\tcompiler.hooks.beforeCompile.tapAsync(\n\t\t\t\"LazyCompilationPlugin\",\n\t\t\t(params, callback) => {\n\t\t\t\tif (backend !== undefined) return callback();\n\t\t\t\tconst promise = this.backend(compiler, (err, result) => {\n\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\tbackend = result;\n\t\t\t\t\tcallback();\n\t\t\t\t});\n\t\t\t\tif (promise && promise.then) {\n\t\t\t\t\tpromise.then(b => {\n\t\t\t\t\t\tbackend = b;\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t}, callback);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"LazyCompilationPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tnormalModuleFactory.hooks.module.tap(\n\t\t\t\t\t\"LazyCompilationPlugin\",\n\t\t\t\t\t(originalModule, createData, resolveData) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tresolveData.dependencies.every(dep =>\n\t\t\t\t\t\t\t\tHMR_DEPENDENCY_TYPES.has(dep.type)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t// for HMR only resolving, try to determine if the HMR accept/decline refers to\n\t\t\t\t\t\t\t// an import() or not\n\t\t\t\t\t\t\tconst hmrDep = resolveData.dependencies[0];\n\t\t\t\t\t\t\tconst originModule =\n\t\t\t\t\t\t\t\tcompilation.moduleGraph.getParentModule(hmrDep);\n\t\t\t\t\t\t\tconst isReferringToDynamicImport = originModule.blocks.some(\n\t\t\t\t\t\t\t\tblock =>\n\t\t\t\t\t\t\t\t\tblock.dependencies.some(\n\t\t\t\t\t\t\t\t\t\tdep =>\n\t\t\t\t\t\t\t\t\t\t\tdep.type === \"import()\" &&\n\t\t\t\t\t\t\t\t\t\t\t/** @type {HarmonyImportDependency} */ (dep).request ===\n\t\t\t\t\t\t\t\t\t\t\t\thmrDep.request\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (!isReferringToDynamicImport) return;\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t!resolveData.dependencies.every(\n\t\t\t\t\t\t\t\tdep =>\n\t\t\t\t\t\t\t\t\tHMR_DEPENDENCY_TYPES.has(dep.type) ||\n\t\t\t\t\t\t\t\t\t(this.imports &&\n\t\t\t\t\t\t\t\t\t\t(dep.type === \"import()\" ||\n\t\t\t\t\t\t\t\t\t\t\tdep.type === \"import() context element\")) ||\n\t\t\t\t\t\t\t\t\t(this.entries && dep.type === \"entry\")\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t/webpack[/\\\\]hot[/\\\\]|webpack-dev-server[/\\\\]client|webpack-hot-middleware[/\\\\]client/.test(\n\t\t\t\t\t\t\t\tresolveData.request\n\t\t\t\t\t\t\t) ||\n\t\t\t\t\t\t\t!checkTest(this.test, originalModule)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\tconst moduleInfo = backend.module(originalModule);\n\t\t\t\t\t\tif (!moduleInfo) return;\n\t\t\t\t\t\tconst { client, data, active } = moduleInfo;\n\n\t\t\t\t\t\treturn new LazyCompilationProxyModule(\n\t\t\t\t\t\t\tcompiler.context,\n\t\t\t\t\t\t\toriginalModule,\n\t\t\t\t\t\t\tresolveData.request,\n\t\t\t\t\t\t\tclient,\n\t\t\t\t\t\t\tdata,\n\t\t\t\t\t\t\tactive\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tLazyCompilationDependency,\n\t\t\t\t\tnew LazyCompilationDependencyFactory()\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.shutdown.tapAsync(\"LazyCompilationPlugin\", callback => {\n\t\t\tbackend.dispose(callback);\n\t\t});\n\t}\n}\n\nmodule.exports = LazyCompilationPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/hmr/LazyCompilationPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/hmr/lazyCompilationBackend.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/hmr/lazyCompilationBackend.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"http\").ServerOptions} HttpServerOptions */\n/** @typedef {import(\"https\").ServerOptions} HttpsServerOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LazyCompilationDefaultBackendOptions} LazyCompilationDefaultBackendOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/**\n * @callback BackendHandler\n * @param {Compiler} compiler compiler\n * @param {function((Error | null)=, any=): void} callback callback\n * @returns {void}\n */\n\n/**\n * @param {Omit<LazyCompilationDefaultBackendOptions, \"client\"> & { client: NonNullable<LazyCompilationDefaultBackendOptions[\"client\"]>}} options additional options for the backend\n * @returns {BackendHandler} backend\n */\nmodule.exports = options => (compiler, callback) => {\n\tconst logger = compiler.getInfrastructureLogger(\"LazyCompilationBackend\");\n\tconst activeModules = new Map();\n\tconst prefix = \"/lazy-compilation-using-\";\n\n\tconst isHttps =\n\t\toptions.protocol === \"https\" ||\n\t\t(typeof options.server === \"object\" &&\n\t\t\t(\"key\" in options.server || \"pfx\" in options.server));\n\n\tconst createServer =\n\t\ttypeof options.server === \"function\"\n\t\t\t? options.server\n\t\t\t: (() => {\n\t\t\t\t\tconst http = isHttps ? __webpack_require__(/*! https */ \"?8af2\") : __webpack_require__(/*! http */ \"?17bd\");\n\t\t\t\t\treturn http.createServer.bind(http, options.server);\n\t\t\t })();\n\tconst listen =\n\t\ttypeof options.listen === \"function\"\n\t\t\t? options.listen\n\t\t\t: server => {\n\t\t\t\t\tlet listen = options.listen;\n\t\t\t\t\tif (typeof listen === \"object\" && !(\"port\" in listen))\n\t\t\t\t\t\tlisten = { ...listen, port: undefined };\n\t\t\t\t\tserver.listen(listen);\n\t\t\t };\n\n\tconst protocol = options.protocol || (isHttps ? \"https\" : \"http\");\n\n\tconst requestListener = (req, res) => {\n\t\tconst keys = req.url.slice(prefix.length).split(\"@\");\n\t\treq.socket.on(\"close\", () => {\n\t\t\tsetTimeout(() => {\n\t\t\t\tfor (const key of keys) {\n\t\t\t\t\tconst oldValue = activeModules.get(key) || 0;\n\t\t\t\t\tactiveModules.set(key, oldValue - 1);\n\t\t\t\t\tif (oldValue === 1) {\n\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t`${key} is no longer in use. Next compilation will skip this module.`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, 120000);\n\t\t});\n\t\treq.socket.setNoDelay(true);\n\t\tres.writeHead(200, {\n\t\t\t\"content-type\": \"text/event-stream\",\n\t\t\t\"Access-Control-Allow-Origin\": \"*\",\n\t\t\t\"Access-Control-Allow-Methods\": \"*\",\n\t\t\t\"Access-Control-Allow-Headers\": \"*\"\n\t\t});\n\t\tres.write(\"\\n\");\n\t\tlet moduleActivated = false;\n\t\tfor (const key of keys) {\n\t\t\tconst oldValue = activeModules.get(key) || 0;\n\t\t\tactiveModules.set(key, oldValue + 1);\n\t\t\tif (oldValue === 0) {\n\t\t\t\tlogger.log(`${key} is now in use and will be compiled.`);\n\t\t\t\tmoduleActivated = true;\n\t\t\t}\n\t\t}\n\t\tif (moduleActivated && compiler.watching) compiler.watching.invalidate();\n\t};\n\n\tconst server = /** @type {import(\"net\").Server} */ (createServer());\n\tserver.on(\"request\", requestListener);\n\n\tlet isClosing = false;\n\t/** @type {Set<import(\"net\").Socket>} */\n\tconst sockets = new Set();\n\tserver.on(\"connection\", socket => {\n\t\tsockets.add(socket);\n\t\tsocket.on(\"close\", () => {\n\t\t\tsockets.delete(socket);\n\t\t});\n\t\tif (isClosing) socket.destroy();\n\t});\n\tserver.on(\"clientError\", e => {\n\t\tif (e.message !== \"Server is disposing\") logger.warn(e);\n\t});\n\tserver.on(\"listening\", err => {\n\t\tif (err) return callback(err);\n\t\tconst addr = server.address();\n\t\tif (typeof addr === \"string\") throw new Error(\"addr must not be a string\");\n\t\tconst urlBase =\n\t\t\taddr.address === \"::\" || addr.address === \"0.0.0.0\"\n\t\t\t\t? `${protocol}://localhost:${addr.port}`\n\t\t\t\t: addr.family === \"IPv6\"\n\t\t\t\t? `${protocol}://[${addr.address}]:${addr.port}`\n\t\t\t\t: `${protocol}://${addr.address}:${addr.port}`;\n\t\tlogger.log(\n\t\t\t`Server-Sent-Events server for lazy compilation open at ${urlBase}.`\n\t\t);\n\t\tcallback(null, {\n\t\t\tdispose(callback) {\n\t\t\t\tisClosing = true;\n\t\t\t\t// Removing the listener is a workaround for a memory leak in node.js\n\t\t\t\tserver.off(\"request\", requestListener);\n\t\t\t\tserver.close(err => {\n\t\t\t\t\tcallback(err);\n\t\t\t\t});\n\t\t\t\tfor (const socket of sockets) {\n\t\t\t\t\tsocket.destroy(new Error(\"Server is disposing\"));\n\t\t\t\t}\n\t\t\t},\n\t\t\tmodule(originalModule) {\n\t\t\t\tconst key = `${encodeURIComponent(\n\t\t\t\t\toriginalModule.identifier().replace(/\\\\/g, \"/\").replace(/@/g, \"_\")\n\t\t\t\t).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g, decodeURIComponent)}`;\n\t\t\t\tconst active = activeModules.get(key) > 0;\n\t\t\t\treturn {\n\t\t\t\t\tclient: `${options.client}?${encodeURIComponent(urlBase + prefix)}`,\n\t\t\t\t\tdata: key,\n\t\t\t\t\tactive\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\t});\n\tlisten(server);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/hmr/lazyCompilationBackend.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { find } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst {\n\tcompareModulesByPreOrderIndexOrIdentifier,\n\tcompareModulesByPostOrderIndexOrIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ChunkModuleIdRangePlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\"ChunkModuleIdRangePlugin\", compilation => {\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\tcompilation.hooks.moduleIds.tap(\"ChunkModuleIdRangePlugin\", modules => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst chunk = find(\n\t\t\t\t\tcompilation.chunks,\n\t\t\t\t\tchunk => chunk.name === options.name\n\t\t\t\t);\n\t\t\t\tif (!chunk) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`ChunkModuleIdRangePlugin: Chunk with name '${options.name}\"' was not found`\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tlet chunkModules;\n\t\t\t\tif (options.order) {\n\t\t\t\t\tlet cmpFn;\n\t\t\t\t\tswitch (options.order) {\n\t\t\t\t\t\tcase \"index\":\n\t\t\t\t\t\tcase \"preOrderIndex\":\n\t\t\t\t\t\t\tcmpFn = compareModulesByPreOrderIndexOrIdentifier(moduleGraph);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"index2\":\n\t\t\t\t\t\tcase \"postOrderIndex\":\n\t\t\t\t\t\t\tcmpFn = compareModulesByPostOrderIndexOrIdentifier(moduleGraph);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\"ChunkModuleIdRangePlugin: unexpected value of order\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tchunkModules = chunkGraph.getOrderedChunkModules(chunk, cmpFn);\n\t\t\t\t} else {\n\t\t\t\t\tchunkModules = Array.from(modules)\n\t\t\t\t\t\t.filter(m => {\n\t\t\t\t\t\t\treturn chunkGraph.isModuleInChunk(m, chunk);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.sort(compareModulesByPreOrderIndexOrIdentifier(moduleGraph));\n\t\t\t\t}\n\n\t\t\t\tlet currentId = options.start || 0;\n\t\t\t\tfor (let i = 0; i < chunkModules.length; i++) {\n\t\t\t\t\tconst m = chunkModules[i];\n\t\t\t\t\tif (m.needId && chunkGraph.getModuleId(m) === null) {\n\t\t\t\t\t\tchunkGraph.setModuleId(m, currentId++);\n\t\t\t\t\t}\n\t\t\t\t\tif (options.end && currentId > options.end) break;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\nmodule.exports = ChunkModuleIdRangePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst { compareChunksNatural } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tgetFullChunkName,\n\tgetUsedChunkIds,\n\tassignDeterministicIds\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass DeterministicChunkIdsPlugin {\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DeterministicChunkIdsPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.chunkIds.tap(\n\t\t\t\t\t\"DeterministicChunkIdsPlugin\",\n\t\t\t\t\tchunks => {\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tconst context = this.options.context\n\t\t\t\t\t\t\t? this.options.context\n\t\t\t\t\t\t\t: compiler.context;\n\t\t\t\t\t\tconst maxLength = this.options.maxLength || 3;\n\n\t\t\t\t\t\tconst compareNatural = compareChunksNatural(chunkGraph);\n\n\t\t\t\t\t\tconst usedIds = getUsedChunkIds(compilation);\n\t\t\t\t\t\tassignDeterministicIds(\n\t\t\t\t\t\t\tArray.from(chunks).filter(chunk => {\n\t\t\t\t\t\t\t\treturn chunk.id === null;\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tchunk =>\n\t\t\t\t\t\t\t\tgetFullChunkName(chunk, chunkGraph, context, compiler.root),\n\t\t\t\t\t\t\tcompareNatural,\n\t\t\t\t\t\t\t(chunk, id) => {\n\t\t\t\t\t\t\t\tconst size = usedIds.size;\n\t\t\t\t\t\t\t\tusedIds.add(`${id}`);\n\t\t\t\t\t\t\t\tif (size === usedIds.size) return false;\n\t\t\t\t\t\t\t\tchunk.id = id;\n\t\t\t\t\t\t\t\tchunk.ids = [id];\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t[Math.pow(10, maxLength)],\n\t\t\t\t\t\t\t10,\n\t\t\t\t\t\t\tusedIds.size\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = DeterministicChunkIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst {\n\tcompareModulesByPreOrderIndexOrIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tgetUsedModuleIdsAndModules,\n\tgetFullModuleName,\n\tassignDeterministicIds\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass DeterministicModuleIdsPlugin {\n\t/**\n\t * @param {Object} options options\n\t * @param {string=} options.context context relative to which module identifiers are computed\n\t * @param {function(Module): boolean=} options.test selector function for modules\n\t * @param {number=} options.maxLength maximum id length in digits (used as starting point)\n\t * @param {number=} options.salt hash salt for ids\n\t * @param {boolean=} options.fixedLength do not increase the maxLength to find an optimal id space size\n\t * @param {boolean=} options.failOnConflict throw an error when id conflicts occur (instead of rehashing)\n\t */\n\tconstructor(options = {}) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DeterministicModuleIdsPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.moduleIds.tap(\"DeterministicModuleIdsPlugin\", () => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst context = this.options.context\n\t\t\t\t\t\t? this.options.context\n\t\t\t\t\t\t: compiler.context;\n\t\t\t\t\tconst maxLength = this.options.maxLength || 3;\n\t\t\t\t\tconst failOnConflict = this.options.failOnConflict || false;\n\t\t\t\t\tconst fixedLength = this.options.fixedLength || false;\n\t\t\t\t\tconst salt = this.options.salt || 0;\n\t\t\t\t\tlet conflicts = 0;\n\n\t\t\t\t\tconst [usedIds, modules] = getUsedModuleIdsAndModules(\n\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\tthis.options.test\n\t\t\t\t\t);\n\t\t\t\t\tassignDeterministicIds(\n\t\t\t\t\t\tmodules,\n\t\t\t\t\t\tmodule => getFullModuleName(module, context, compiler.root),\n\t\t\t\t\t\tfailOnConflict\n\t\t\t\t\t\t\t? () => 0\n\t\t\t\t\t\t\t: compareModulesByPreOrderIndexOrIdentifier(\n\t\t\t\t\t\t\t\t\tcompilation.moduleGraph\n\t\t\t\t\t\t\t ),\n\t\t\t\t\t\t(module, id) => {\n\t\t\t\t\t\t\tconst size = usedIds.size;\n\t\t\t\t\t\t\tusedIds.add(`${id}`);\n\t\t\t\t\t\t\tif (size === usedIds.size) {\n\t\t\t\t\t\t\t\tconflicts++;\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchunkGraph.setModuleId(module, id);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t[Math.pow(10, maxLength)],\n\t\t\t\t\t\tfixedLength ? 0 : 10,\n\t\t\t\t\t\tusedIds.size,\n\t\t\t\t\t\tsalt\n\t\t\t\t\t);\n\t\t\t\t\tif (failOnConflict && conflicts)\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Assigning deterministic module ids has lead to ${conflicts} conflict${\n\t\t\t\t\t\t\t\tconflicts > 1 ? \"s\" : \"\"\n\t\t\t\t\t\t\t}.\\nIncrease the 'maxLength' to increase the id space and make conflicts less likely (recommended when there are many conflicts or application is expected to grow), or add an 'salt' number to try another hash starting value in the same id space (recommended when there is only a single conflict).`\n\t\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = DeterministicModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst {\n\tcompareModulesByPreOrderIndexOrIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst {\n\tgetUsedModuleIdsAndModules,\n\tgetFullModuleName\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../../declarations/plugins/HashedModuleIdsPlugin\").HashedModuleIdsPluginOptions} HashedModuleIdsPluginOptions */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/HashedModuleIdsPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/HashedModuleIdsPlugin.json */ \"./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json\"),\n\t{\n\t\tname: \"Hashed Module Ids Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass HashedModuleIdsPlugin {\n\t/**\n\t * @param {HashedModuleIdsPluginOptions=} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\n\t\t/** @type {HashedModuleIdsPluginOptions} */\n\t\tthis.options = {\n\t\t\tcontext: null,\n\t\t\thashFunction: \"md4\",\n\t\t\thashDigest: \"base64\",\n\t\t\thashDigestLength: 4,\n\t\t\t...options\n\t\t};\n\t}\n\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\"HashedModuleIdsPlugin\", compilation => {\n\t\t\tcompilation.hooks.moduleIds.tap(\"HashedModuleIdsPlugin\", () => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst context = this.options.context\n\t\t\t\t\t? this.options.context\n\t\t\t\t\t: compiler.context;\n\n\t\t\t\tconst [usedIds, modules] = getUsedModuleIdsAndModules(compilation);\n\t\t\t\tconst modulesInNaturalOrder = modules.sort(\n\t\t\t\t\tcompareModulesByPreOrderIndexOrIdentifier(compilation.moduleGraph)\n\t\t\t\t);\n\t\t\t\tfor (const module of modulesInNaturalOrder) {\n\t\t\t\t\tconst ident = getFullModuleName(module, context, compiler.root);\n\t\t\t\t\tconst hash = createHash(options.hashFunction);\n\t\t\t\t\thash.update(ident || \"\");\n\t\t\t\t\tconst hashId = /** @type {string} */ (\n\t\t\t\t\t\thash.digest(options.hashDigest)\n\t\t\t\t\t);\n\t\t\t\t\tlet len = options.hashDigestLength;\n\t\t\t\t\twhile (usedIds.has(hashId.slice(0, len))) len++;\n\t\t\t\t\tconst moduleId = hashId.slice(0, len);\n\t\t\t\t\tchunkGraph.setModuleId(module, moduleId);\n\t\t\t\t\tusedIds.add(moduleId);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = HashedModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/IdHelpers.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/ids/IdHelpers.js ***! \***************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { makePathsRelative } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst numberHash = __webpack_require__(/*! ../util/numberHash */ \"./node_modules/webpack/lib/util/numberHash.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {typeof import(\"../util/Hash\")} Hash */\n\n/**\n * @param {string} str string to hash\n * @param {number} len max length of the hash\n * @param {string | Hash} hashFunction hash function to use\n * @returns {string} hash\n */\nconst getHash = (str, len, hashFunction) => {\n\tconst hash = createHash(hashFunction);\n\thash.update(str);\n\tconst digest = /** @type {string} */ (hash.digest(\"hex\"));\n\treturn digest.slice(0, len);\n};\n\n/**\n * @param {string} str the string\n * @returns {string} string prefixed by an underscore if it is a number\n */\nconst avoidNumber = str => {\n\t// max length of a number is 21 chars, bigger numbers a written as \"...e+xx\"\n\tif (str.length > 21) return str;\n\tconst firstChar = str.charCodeAt(0);\n\t// skip everything that doesn't look like a number\n\t// charCodes: \"-\": 45, \"1\": 49, \"9\": 57\n\tif (firstChar < 49) {\n\t\tif (firstChar !== 45) return str;\n\t} else if (firstChar > 57) {\n\t\treturn str;\n\t}\n\tif (str === +str + \"\") {\n\t\treturn `_${str}`;\n\t}\n\treturn str;\n};\n\n/**\n * @param {string} request the request\n * @returns {string} id representation\n */\nconst requestToId = request => {\n\treturn request\n\t\t.replace(/^(\\.\\.?\\/)+/, \"\")\n\t\t.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, \"_\");\n};\nexports.requestToId = requestToId;\n\n/**\n * @param {string} string the string\n * @param {string} delimiter separator for string and hash\n * @param {string | Hash} hashFunction hash function to use\n * @returns {string} string with limited max length to 100 chars\n */\nconst shortenLongString = (string, delimiter, hashFunction) => {\n\tif (string.length < 100) return string;\n\treturn (\n\t\tstring.slice(0, 100 - 6 - delimiter.length) +\n\t\tdelimiter +\n\t\tgetHash(string, 6, hashFunction)\n\t);\n};\n\n/**\n * @param {Module} module the module\n * @param {string} context context directory\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} short module name\n */\nconst getShortModuleName = (module, context, associatedObjectForCache) => {\n\tconst libIdent = module.libIdent({ context, associatedObjectForCache });\n\tif (libIdent) return avoidNumber(libIdent);\n\tconst nameForCondition = module.nameForCondition();\n\tif (nameForCondition)\n\t\treturn avoidNumber(\n\t\t\tmakePathsRelative(context, nameForCondition, associatedObjectForCache)\n\t\t);\n\treturn \"\";\n};\nexports.getShortModuleName = getShortModuleName;\n\n/**\n * @param {string} shortName the short name\n * @param {Module} module the module\n * @param {string} context context directory\n * @param {string | Hash} hashFunction hash function to use\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} long module name\n */\nconst getLongModuleName = (\n\tshortName,\n\tmodule,\n\tcontext,\n\thashFunction,\n\tassociatedObjectForCache\n) => {\n\tconst fullName = getFullModuleName(module, context, associatedObjectForCache);\n\treturn `${shortName}?${getHash(fullName, 4, hashFunction)}`;\n};\nexports.getLongModuleName = getLongModuleName;\n\n/**\n * @param {Module} module the module\n * @param {string} context context directory\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} full module name\n */\nconst getFullModuleName = (module, context, associatedObjectForCache) => {\n\treturn makePathsRelative(\n\t\tcontext,\n\t\tmodule.identifier(),\n\t\tassociatedObjectForCache\n\t);\n};\nexports.getFullModuleName = getFullModuleName;\n\n/**\n * @param {Chunk} chunk the chunk\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {string} context context directory\n * @param {string} delimiter delimiter for names\n * @param {string | Hash} hashFunction hash function to use\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} short chunk name\n */\nconst getShortChunkName = (\n\tchunk,\n\tchunkGraph,\n\tcontext,\n\tdelimiter,\n\thashFunction,\n\tassociatedObjectForCache\n) => {\n\tconst modules = chunkGraph.getChunkRootModules(chunk);\n\tconst shortModuleNames = modules.map(m =>\n\t\trequestToId(getShortModuleName(m, context, associatedObjectForCache))\n\t);\n\tchunk.idNameHints.sort();\n\tconst chunkName = Array.from(chunk.idNameHints)\n\t\t.concat(shortModuleNames)\n\t\t.filter(Boolean)\n\t\t.join(delimiter);\n\treturn shortenLongString(chunkName, delimiter, hashFunction);\n};\nexports.getShortChunkName = getShortChunkName;\n\n/**\n * @param {Chunk} chunk the chunk\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {string} context context directory\n * @param {string} delimiter delimiter for names\n * @param {string | Hash} hashFunction hash function to use\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} short chunk name\n */\nconst getLongChunkName = (\n\tchunk,\n\tchunkGraph,\n\tcontext,\n\tdelimiter,\n\thashFunction,\n\tassociatedObjectForCache\n) => {\n\tconst modules = chunkGraph.getChunkRootModules(chunk);\n\tconst shortModuleNames = modules.map(m =>\n\t\trequestToId(getShortModuleName(m, context, associatedObjectForCache))\n\t);\n\tconst longModuleNames = modules.map(m =>\n\t\trequestToId(\n\t\t\tgetLongModuleName(\"\", m, context, hashFunction, associatedObjectForCache)\n\t\t)\n\t);\n\tchunk.idNameHints.sort();\n\tconst chunkName = Array.from(chunk.idNameHints)\n\t\t.concat(shortModuleNames, longModuleNames)\n\t\t.filter(Boolean)\n\t\t.join(delimiter);\n\treturn shortenLongString(chunkName, delimiter, hashFunction);\n};\nexports.getLongChunkName = getLongChunkName;\n\n/**\n * @param {Chunk} chunk the chunk\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {string} context context directory\n * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n * @returns {string} full chunk name\n */\nconst getFullChunkName = (\n\tchunk,\n\tchunkGraph,\n\tcontext,\n\tassociatedObjectForCache\n) => {\n\tif (chunk.name) return chunk.name;\n\tconst modules = chunkGraph.getChunkRootModules(chunk);\n\tconst fullModuleNames = modules.map(m =>\n\t\tmakePathsRelative(context, m.identifier(), associatedObjectForCache)\n\t);\n\treturn fullModuleNames.join();\n};\nexports.getFullChunkName = getFullChunkName;\n\n/**\n * @template K\n * @template V\n * @param {Map<K, V[]>} map a map from key to values\n * @param {K} key key\n * @param {V} value value\n * @returns {void}\n */\nconst addToMapOfItems = (map, key, value) => {\n\tlet array = map.get(key);\n\tif (array === undefined) {\n\t\tarray = [];\n\t\tmap.set(key, array);\n\t}\n\tarray.push(value);\n};\n\n/**\n * @param {Compilation} compilation the compilation\n * @param {function(Module): boolean=} filter filter modules\n * @returns {[Set<string>, Module[]]} used module ids as strings and modules without id matching the filter\n */\nconst getUsedModuleIdsAndModules = (compilation, filter) => {\n\tconst chunkGraph = compilation.chunkGraph;\n\n\tconst modules = [];\n\n\t/** @type {Set<string>} */\n\tconst usedIds = new Set();\n\tif (compilation.usedModuleIds) {\n\t\tfor (const id of compilation.usedModuleIds) {\n\t\t\tusedIds.add(id + \"\");\n\t\t}\n\t}\n\n\tfor (const module of compilation.modules) {\n\t\tif (!module.needId) continue;\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tif (moduleId !== null) {\n\t\t\tusedIds.add(moduleId + \"\");\n\t\t} else {\n\t\t\tif (\n\t\t\t\t(!filter || filter(module)) &&\n\t\t\t\tchunkGraph.getNumberOfModuleChunks(module) !== 0\n\t\t\t) {\n\t\t\t\tmodules.push(module);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn [usedIds, modules];\n};\nexports.getUsedModuleIdsAndModules = getUsedModuleIdsAndModules;\n\n/**\n * @param {Compilation} compilation the compilation\n * @returns {Set<string>} used chunk ids as strings\n */\nconst getUsedChunkIds = compilation => {\n\t/** @type {Set<string>} */\n\tconst usedIds = new Set();\n\tif (compilation.usedChunkIds) {\n\t\tfor (const id of compilation.usedChunkIds) {\n\t\t\tusedIds.add(id + \"\");\n\t\t}\n\t}\n\n\tfor (const chunk of compilation.chunks) {\n\t\tconst chunkId = chunk.id;\n\t\tif (chunkId !== null) {\n\t\t\tusedIds.add(chunkId + \"\");\n\t\t}\n\t}\n\n\treturn usedIds;\n};\nexports.getUsedChunkIds = getUsedChunkIds;\n\n/**\n * @template T\n * @param {Iterable<T>} items list of items to be named\n * @param {function(T): string} getShortName get a short name for an item\n * @param {function(T, string): string} getLongName get a long name for an item\n * @param {function(T, T): -1|0|1} comparator order of items\n * @param {Set<string>} usedIds already used ids, will not be assigned\n * @param {function(T, string): void} assignName assign a name to an item\n * @returns {T[]} list of items without a name\n */\nconst assignNames = (\n\titems,\n\tgetShortName,\n\tgetLongName,\n\tcomparator,\n\tusedIds,\n\tassignName\n) => {\n\t/** @type {Map<string, T[]>} */\n\tconst nameToItems = new Map();\n\n\tfor (const item of items) {\n\t\tconst name = getShortName(item);\n\t\taddToMapOfItems(nameToItems, name, item);\n\t}\n\n\t/** @type {Map<string, T[]>} */\n\tconst nameToItems2 = new Map();\n\n\tfor (const [name, items] of nameToItems) {\n\t\tif (items.length > 1 || !name) {\n\t\t\tfor (const item of items) {\n\t\t\t\tconst longName = getLongName(item, name);\n\t\t\t\taddToMapOfItems(nameToItems2, longName, item);\n\t\t\t}\n\t\t} else {\n\t\t\taddToMapOfItems(nameToItems2, name, items[0]);\n\t\t}\n\t}\n\n\t/** @type {T[]} */\n\tconst unnamedItems = [];\n\n\tfor (const [name, items] of nameToItems2) {\n\t\tif (!name) {\n\t\t\tfor (const item of items) {\n\t\t\t\tunnamedItems.push(item);\n\t\t\t}\n\t\t} else if (items.length === 1 && !usedIds.has(name)) {\n\t\t\tassignName(items[0], name);\n\t\t\tusedIds.add(name);\n\t\t} else {\n\t\t\titems.sort(comparator);\n\t\t\tlet i = 0;\n\t\t\tfor (const item of items) {\n\t\t\t\twhile (nameToItems2.has(name + i) && usedIds.has(name + i)) i++;\n\t\t\t\tassignName(item, name + i);\n\t\t\t\tusedIds.add(name + i);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n\n\tunnamedItems.sort(comparator);\n\treturn unnamedItems;\n};\nexports.assignNames = assignNames;\n\n/**\n * @template T\n * @param {T[]} items list of items to be named\n * @param {function(T): string} getName get a name for an item\n * @param {function(T, T): -1|0|1} comparator order of items\n * @param {function(T, number): boolean} assignId assign an id to an item\n * @param {number[]} ranges usable ranges for ids\n * @param {number} expandFactor factor to create more ranges\n * @param {number} extraSpace extra space to allocate, i. e. when some ids are already used\n * @param {number} salt salting number to initialize hashing\n * @returns {void}\n */\nconst assignDeterministicIds = (\n\titems,\n\tgetName,\n\tcomparator,\n\tassignId,\n\tranges = [10],\n\texpandFactor = 10,\n\textraSpace = 0,\n\tsalt = 0\n) => {\n\titems.sort(comparator);\n\n\t// max 5% fill rate\n\tconst optimalRange = Math.min(\n\t\titems.length * 20 + extraSpace,\n\t\tNumber.MAX_SAFE_INTEGER\n\t);\n\n\tlet i = 0;\n\tlet range = ranges[i];\n\twhile (range < optimalRange) {\n\t\ti++;\n\t\tif (i < ranges.length) {\n\t\t\trange = Math.min(ranges[i], Number.MAX_SAFE_INTEGER);\n\t\t} else if (expandFactor) {\n\t\t\trange = Math.min(range * expandFactor, Number.MAX_SAFE_INTEGER);\n\t\t} else {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\tfor (const item of items) {\n\t\tconst ident = getName(item);\n\t\tlet id;\n\t\tlet i = salt;\n\t\tdo {\n\t\t\tid = numberHash(ident + i++, range);\n\t\t} while (!assignId(item, id));\n\t}\n};\nexports.assignDeterministicIds = assignDeterministicIds;\n\n/**\n * @param {Set<string>} usedIds used ids\n * @param {Iterable<Module>} modules the modules\n * @param {Compilation} compilation the compilation\n * @returns {void}\n */\nconst assignAscendingModuleIds = (usedIds, modules, compilation) => {\n\tconst chunkGraph = compilation.chunkGraph;\n\n\tlet nextId = 0;\n\tlet assignId;\n\tif (usedIds.size > 0) {\n\t\tassignId = module => {\n\t\t\tif (chunkGraph.getModuleId(module) === null) {\n\t\t\t\twhile (usedIds.has(nextId + \"\")) nextId++;\n\t\t\t\tchunkGraph.setModuleId(module, nextId++);\n\t\t\t}\n\t\t};\n\t} else {\n\t\tassignId = module => {\n\t\t\tif (chunkGraph.getModuleId(module) === null) {\n\t\t\t\tchunkGraph.setModuleId(module, nextId++);\n\t\t\t}\n\t\t};\n\t}\n\tfor (const module of modules) {\n\t\tassignId(module);\n\t}\n};\nexports.assignAscendingModuleIds = assignAscendingModuleIds;\n\n/**\n * @param {Iterable<Chunk>} chunks the chunks\n * @param {Compilation} compilation the compilation\n * @returns {void}\n */\nconst assignAscendingChunkIds = (chunks, compilation) => {\n\tconst usedIds = getUsedChunkIds(compilation);\n\n\tlet nextId = 0;\n\tif (usedIds.size > 0) {\n\t\tfor (const chunk of chunks) {\n\t\t\tif (chunk.id === null) {\n\t\t\t\twhile (usedIds.has(nextId + \"\")) nextId++;\n\t\t\t\tchunk.id = nextId;\n\t\t\t\tchunk.ids = [nextId];\n\t\t\t\tnextId++;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tfor (const chunk of chunks) {\n\t\t\tif (chunk.id === null) {\n\t\t\t\tchunk.id = nextId;\n\t\t\t\tchunk.ids = [nextId];\n\t\t\t\tnextId++;\n\t\t\t}\n\t\t}\n\t}\n};\nexports.assignAscendingChunkIds = assignAscendingChunkIds;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/IdHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareChunksNatural } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tgetShortChunkName,\n\tgetLongChunkName,\n\tassignNames,\n\tgetUsedChunkIds,\n\tassignAscendingChunkIds\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass NamedChunkIdsPlugin {\n\tconstructor(options) {\n\t\tthis.delimiter = (options && options.delimiter) || \"-\";\n\t\tthis.context = options && options.context;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"NamedChunkIdsPlugin\", compilation => {\n\t\t\tconst { hashFunction } = compilation.outputOptions;\n\t\t\tcompilation.hooks.chunkIds.tap(\"NamedChunkIdsPlugin\", chunks => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst context = this.context ? this.context : compiler.context;\n\t\t\t\tconst delimiter = this.delimiter;\n\n\t\t\t\tconst unnamedChunks = assignNames(\n\t\t\t\t\tArray.from(chunks).filter(chunk => {\n\t\t\t\t\t\tif (chunk.name) {\n\t\t\t\t\t\t\tchunk.id = chunk.name;\n\t\t\t\t\t\t\tchunk.ids = [chunk.name];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn chunk.id === null;\n\t\t\t\t\t}),\n\t\t\t\t\tchunk =>\n\t\t\t\t\t\tgetShortChunkName(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tdelimiter,\n\t\t\t\t\t\t\thashFunction,\n\t\t\t\t\t\t\tcompiler.root\n\t\t\t\t\t\t),\n\t\t\t\t\tchunk =>\n\t\t\t\t\t\tgetLongChunkName(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tdelimiter,\n\t\t\t\t\t\t\thashFunction,\n\t\t\t\t\t\t\tcompiler.root\n\t\t\t\t\t\t),\n\t\t\t\t\tcompareChunksNatural(chunkGraph),\n\t\t\t\t\tgetUsedChunkIds(compilation),\n\t\t\t\t\t(chunk, name) => {\n\t\t\t\t\t\tchunk.id = name;\n\t\t\t\t\t\tchunk.ids = [name];\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif (unnamedChunks.length > 0) {\n\t\t\t\t\tassignAscendingChunkIds(unnamedChunks, compilation);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = NamedChunkIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tgetShortModuleName,\n\tgetLongModuleName,\n\tassignNames,\n\tgetUsedModuleIdsAndModules,\n\tassignAscendingModuleIds\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass NamedModuleIdsPlugin {\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { root } = compiler;\n\t\tcompiler.hooks.compilation.tap(\"NamedModuleIdsPlugin\", compilation => {\n\t\t\tconst { hashFunction } = compilation.outputOptions;\n\t\t\tcompilation.hooks.moduleIds.tap(\"NamedModuleIdsPlugin\", () => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst context = this.options.context\n\t\t\t\t\t? this.options.context\n\t\t\t\t\t: compiler.context;\n\n\t\t\t\tconst [usedIds, modules] = getUsedModuleIdsAndModules(compilation);\n\t\t\t\tconst unnamedModules = assignNames(\n\t\t\t\t\tmodules,\n\t\t\t\t\tm => getShortModuleName(m, context, root),\n\t\t\t\t\t(m, shortName) =>\n\t\t\t\t\t\tgetLongModuleName(shortName, m, context, hashFunction, root),\n\t\t\t\t\tcompareModulesByIdentifier,\n\t\t\t\t\tusedIds,\n\t\t\t\t\t(m, name) => chunkGraph.setModuleId(m, name)\n\t\t\t\t);\n\t\t\t\tif (unnamedModules.length > 0) {\n\t\t\t\t\tassignAscendingModuleIds(usedIds, unnamedModules, compilation);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = NamedModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareChunksNatural } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst { assignAscendingChunkIds } = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass NaturalChunkIdsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"NaturalChunkIdsPlugin\", compilation => {\n\t\t\tcompilation.hooks.chunkIds.tap(\"NaturalChunkIdsPlugin\", chunks => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst compareNatural = compareChunksNatural(chunkGraph);\n\t\t\t\tconst chunksInNaturalOrder = Array.from(chunks).sort(compareNatural);\n\t\t\t\tassignAscendingChunkIds(chunksInNaturalOrder, compilation);\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = NaturalChunkIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Florent Cailhol @ooflorent\n*/\n\n\n\nconst {\n\tcompareModulesByPreOrderIndexOrIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tassignAscendingModuleIds,\n\tgetUsedModuleIdsAndModules\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass NaturalModuleIdsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"NaturalModuleIdsPlugin\", compilation => {\n\t\t\tcompilation.hooks.moduleIds.tap(\"NaturalModuleIdsPlugin\", modules => {\n\t\t\t\tconst [usedIds, modulesInNaturalOrder] =\n\t\t\t\t\tgetUsedModuleIdsAndModules(compilation);\n\t\t\t\tmodulesInNaturalOrder.sort(\n\t\t\t\t\tcompareModulesByPreOrderIndexOrIdentifier(compilation.moduleGraph)\n\t\t\t\t);\n\t\t\t\tassignAscendingModuleIds(usedIds, modulesInNaturalOrder, compilation);\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = NaturalModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareChunksNatural } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst { assignAscendingChunkIds } = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../../declarations/plugins/ids/OccurrenceChunkIdsPlugin\").OccurrenceChunkIdsPluginOptions} OccurrenceChunkIdsPluginOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/ids/OccurrenceChunkIdsPlugin.json */ \"./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json\"),\n\t{\n\t\tname: \"Occurrence Order Chunk Ids Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass OccurrenceChunkIdsPlugin {\n\t/**\n\t * @param {OccurrenceChunkIdsPluginOptions=} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst prioritiseInitial = this.options.prioritiseInitial;\n\t\tcompiler.hooks.compilation.tap(\"OccurrenceChunkIdsPlugin\", compilation => {\n\t\t\tcompilation.hooks.chunkIds.tap(\"OccurrenceChunkIdsPlugin\", chunks => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\n\t\t\t\t/** @type {Map<Chunk, number>} */\n\t\t\t\tconst occursInInitialChunksMap = new Map();\n\n\t\t\t\tconst compareNatural = compareChunksNatural(chunkGraph);\n\n\t\t\t\tfor (const c of chunks) {\n\t\t\t\t\tlet occurs = 0;\n\t\t\t\t\tfor (const chunkGroup of c.groupsIterable) {\n\t\t\t\t\t\tfor (const parent of chunkGroup.parentsIterable) {\n\t\t\t\t\t\t\tif (parent.isInitial()) occurs++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\toccursInInitialChunksMap.set(c, occurs);\n\t\t\t\t}\n\n\t\t\t\tconst chunksInOccurrenceOrder = Array.from(chunks).sort((a, b) => {\n\t\t\t\t\tif (prioritiseInitial) {\n\t\t\t\t\t\tconst aEntryOccurs = occursInInitialChunksMap.get(a);\n\t\t\t\t\t\tconst bEntryOccurs = occursInInitialChunksMap.get(b);\n\t\t\t\t\t\tif (aEntryOccurs > bEntryOccurs) return -1;\n\t\t\t\t\t\tif (aEntryOccurs < bEntryOccurs) return 1;\n\t\t\t\t\t}\n\t\t\t\t\tconst aOccurs = a.getNumberOfGroups();\n\t\t\t\t\tconst bOccurs = b.getNumberOfGroups();\n\t\t\t\t\tif (aOccurs > bOccurs) return -1;\n\t\t\t\t\tif (aOccurs < bOccurs) return 1;\n\t\t\t\t\treturn compareNatural(a, b);\n\t\t\t\t});\n\t\t\t\tassignAscendingChunkIds(chunksInOccurrenceOrder, compilation);\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = OccurrenceChunkIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst {\n\tcompareModulesByPreOrderIndexOrIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst {\n\tassignAscendingModuleIds,\n\tgetUsedModuleIdsAndModules\n} = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../../declarations/plugins/ids/OccurrenceModuleIdsPlugin\").OccurrenceModuleIdsPluginOptions} OccurrenceModuleIdsPluginOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/ids/OccurrenceModuleIdsPlugin.json */ \"./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json\"),\n\t{\n\t\tname: \"Occurrence Order Module Ids Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass OccurrenceModuleIdsPlugin {\n\t/**\n\t * @param {OccurrenceModuleIdsPluginOptions=} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst prioritiseInitial = this.options.prioritiseInitial;\n\t\tcompiler.hooks.compilation.tap(\"OccurrenceModuleIdsPlugin\", compilation => {\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\n\t\t\tcompilation.hooks.moduleIds.tap(\"OccurrenceModuleIdsPlugin\", () => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\n\t\t\t\tconst [usedIds, modulesInOccurrenceOrder] =\n\t\t\t\t\tgetUsedModuleIdsAndModules(compilation);\n\n\t\t\t\tconst occursInInitialChunksMap = new Map();\n\t\t\t\tconst occursInAllChunksMap = new Map();\n\n\t\t\t\tconst initialChunkChunkMap = new Map();\n\t\t\t\tconst entryCountMap = new Map();\n\t\t\t\tfor (const m of modulesInOccurrenceOrder) {\n\t\t\t\t\tlet initial = 0;\n\t\t\t\t\tlet entry = 0;\n\t\t\t\t\tfor (const c of chunkGraph.getModuleChunksIterable(m)) {\n\t\t\t\t\t\tif (c.canBeInitial()) initial++;\n\t\t\t\t\t\tif (chunkGraph.isEntryModuleInChunk(m, c)) entry++;\n\t\t\t\t\t}\n\t\t\t\t\tinitialChunkChunkMap.set(m, initial);\n\t\t\t\t\tentryCountMap.set(m, entry);\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * @param {Module} module module\n\t\t\t\t * @returns {number} count of occurs\n\t\t\t\t */\n\t\t\t\tconst countOccursInEntry = module => {\n\t\t\t\t\tlet sum = 0;\n\t\t\t\t\tfor (const [\n\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\tconnections\n\t\t\t\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(module)) {\n\t\t\t\t\t\tif (!originModule) continue;\n\t\t\t\t\t\tif (!connections.some(c => c.isTargetActive(undefined))) continue;\n\t\t\t\t\t\tsum += initialChunkChunkMap.get(originModule);\n\t\t\t\t\t}\n\t\t\t\t\treturn sum;\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {Module} module module\n\t\t\t\t * @returns {number} count of occurs\n\t\t\t\t */\n\t\t\t\tconst countOccurs = module => {\n\t\t\t\t\tlet sum = 0;\n\t\t\t\t\tfor (const [\n\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\tconnections\n\t\t\t\t\t] of moduleGraph.getIncomingConnectionsByOriginModule(module)) {\n\t\t\t\t\t\tif (!originModule) continue;\n\t\t\t\t\t\tconst chunkModules =\n\t\t\t\t\t\t\tchunkGraph.getNumberOfModuleChunks(originModule);\n\t\t\t\t\t\tfor (const c of connections) {\n\t\t\t\t\t\t\tif (!c.isTargetActive(undefined)) continue;\n\t\t\t\t\t\t\tif (!c.dependency) continue;\n\t\t\t\t\t\t\tconst factor = c.dependency.getNumberOfIdOccurrences();\n\t\t\t\t\t\t\tif (factor === 0) continue;\n\t\t\t\t\t\t\tsum += factor * chunkModules;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn sum;\n\t\t\t\t};\n\n\t\t\t\tif (prioritiseInitial) {\n\t\t\t\t\tfor (const m of modulesInOccurrenceOrder) {\n\t\t\t\t\t\tconst result =\n\t\t\t\t\t\t\tcountOccursInEntry(m) +\n\t\t\t\t\t\t\tinitialChunkChunkMap.get(m) +\n\t\t\t\t\t\t\tentryCountMap.get(m);\n\t\t\t\t\t\toccursInInitialChunksMap.set(m, result);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (const m of modulesInOccurrenceOrder) {\n\t\t\t\t\tconst result =\n\t\t\t\t\t\tcountOccurs(m) +\n\t\t\t\t\t\tchunkGraph.getNumberOfModuleChunks(m) +\n\t\t\t\t\t\tentryCountMap.get(m);\n\t\t\t\t\toccursInAllChunksMap.set(m, result);\n\t\t\t\t}\n\n\t\t\t\tconst naturalCompare = compareModulesByPreOrderIndexOrIdentifier(\n\t\t\t\t\tcompilation.moduleGraph\n\t\t\t\t);\n\n\t\t\t\tmodulesInOccurrenceOrder.sort((a, b) => {\n\t\t\t\t\tif (prioritiseInitial) {\n\t\t\t\t\t\tconst aEntryOccurs = occursInInitialChunksMap.get(a);\n\t\t\t\t\t\tconst bEntryOccurs = occursInInitialChunksMap.get(b);\n\t\t\t\t\t\tif (aEntryOccurs > bEntryOccurs) return -1;\n\t\t\t\t\t\tif (aEntryOccurs < bEntryOccurs) return 1;\n\t\t\t\t\t}\n\t\t\t\t\tconst aOccurs = occursInAllChunksMap.get(a);\n\t\t\t\t\tconst bOccurs = occursInAllChunksMap.get(b);\n\t\t\t\t\tif (aOccurs > bOccurs) return -1;\n\t\t\t\t\tif (aOccurs < bOccurs) return 1;\n\t\t\t\t\treturn naturalCompare(a, b);\n\t\t\t\t});\n\n\t\t\t\tassignAscendingModuleIds(\n\t\t\t\t\tusedIds,\n\t\t\t\t\tmodulesInOccurrenceOrder,\n\t\t\t\t\tcompilation\n\t\t\t\t);\n\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = OccurrenceModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { WebpackError } = __webpack_require__(/*! .. */ \"./node_modules/webpack/lib/index.js\");\nconst { getUsedModuleIdsAndModules } = __webpack_require__(/*! ./IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nconst plugin = \"SyncModuleIdsPlugin\";\n\nclass SyncModuleIdsPlugin {\n\t/**\n\t * @param {Object} options options\n\t * @param {string} options.path path to file\n\t * @param {string=} options.context context for module names\n\t * @param {function(Module): boolean} options.test selector for modules\n\t * @param {\"read\" | \"create\" | \"merge\" | \"update\"=} options.mode operation mode (defaults to merge)\n\t */\n\tconstructor({ path, context, test, mode }) {\n\t\tthis._path = path;\n\t\tthis._context = context;\n\t\tthis._test = test || (() => true);\n\t\tconst readAndWrite = !mode || mode === \"merge\" || mode === \"update\";\n\t\tthis._read = readAndWrite || mode === \"read\";\n\t\tthis._write = readAndWrite || mode === \"create\";\n\t\tthis._prune = mode === \"update\";\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\t/** @type {Map<string, string | number>} */\n\t\tlet data;\n\t\tlet dataChanged = false;\n\t\tif (this._read) {\n\t\t\tcompiler.hooks.readRecords.tapAsync(plugin, callback => {\n\t\t\t\tconst fs = compiler.intermediateFileSystem;\n\t\t\t\tfs.readFile(this._path, (err, buffer) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tif (err.code !== \"ENOENT\") {\n\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn callback();\n\t\t\t\t\t}\n\t\t\t\t\tconst json = JSON.parse(buffer.toString());\n\t\t\t\t\tdata = new Map();\n\t\t\t\t\tfor (const key of Object.keys(json)) {\n\t\t\t\t\t\tdata.set(key, json[key]);\n\t\t\t\t\t}\n\t\t\t\t\tdataChanged = false;\n\t\t\t\t\treturn callback();\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\tif (this._write) {\n\t\t\tcompiler.hooks.emitRecords.tapAsync(plugin, callback => {\n\t\t\t\tif (!data || !dataChanged) return callback();\n\t\t\t\tconst json = {};\n\t\t\t\tconst sorted = Array.from(data).sort(([a], [b]) => (a < b ? -1 : 1));\n\t\t\t\tfor (const [key, value] of sorted) {\n\t\t\t\t\tjson[key] = value;\n\t\t\t\t}\n\t\t\t\tconst fs = compiler.intermediateFileSystem;\n\t\t\t\tfs.writeFile(this._path, JSON.stringify(json), callback);\n\t\t\t});\n\t\t}\n\t\tcompiler.hooks.thisCompilation.tap(plugin, compilation => {\n\t\t\tconst associatedObjectForCache = compiler.root;\n\t\t\tconst context = this._context || compiler.context;\n\t\t\tif (this._read) {\n\t\t\t\tcompilation.hooks.reviveModules.tap(plugin, (_1, _2) => {\n\t\t\t\t\tif (!data) return;\n\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\tconst [usedIds, modules] = getUsedModuleIdsAndModules(\n\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\tthis._test\n\t\t\t\t\t);\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tconst name = module.libIdent({\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\tassociatedObjectForCache\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (!name) continue;\n\t\t\t\t\t\tconst id = data.get(name);\n\t\t\t\t\t\tconst idAsString = `${id}`;\n\t\t\t\t\t\tif (usedIds.has(idAsString)) {\n\t\t\t\t\t\t\tconst err = new WebpackError(\n\t\t\t\t\t\t\t\t`SyncModuleIdsPlugin: Unable to restore id '${id}' from '${this._path}' as it's already used.`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\terr.module = module;\n\t\t\t\t\t\t\tcompilation.errors.push(err);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchunkGraph.setModuleId(module, id);\n\t\t\t\t\t\tusedIds.add(idAsString);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (this._write) {\n\t\t\t\tcompilation.hooks.recordModules.tap(plugin, modules => {\n\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\tlet oldData = data;\n\t\t\t\t\tif (!oldData) {\n\t\t\t\t\t\toldData = data = new Map();\n\t\t\t\t\t} else if (this._prune) {\n\t\t\t\t\t\tdata = new Map();\n\t\t\t\t\t}\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tif (this._test(module)) {\n\t\t\t\t\t\t\tconst name = module.libIdent({\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\tassociatedObjectForCache\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (!name) continue;\n\t\t\t\t\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\t\t\t\t\tif (id === null) continue;\n\t\t\t\t\t\t\tconst oldId = oldData.get(name);\n\t\t\t\t\t\t\tif (oldId !== id) {\n\t\t\t\t\t\t\t\tdataChanged = true;\n\t\t\t\t\t\t\t} else if (data === oldData) {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdata.set(name, id);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (data.size !== oldData.size) dataChanged = true;\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = SyncModuleIdsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/index.js": /*!*******************************************!*\ !*** ./node_modules/webpack/lib/index.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").Entry} Entry */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryNormalized} EntryNormalized */\n/** @typedef {import(\"../declarations/WebpackOptions\").EntryObject} EntryObject */\n/** @typedef {import(\"../declarations/WebpackOptions\").FileCacheOptions} FileCacheOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").ModuleOptions} ModuleOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").ResolveOptions} ResolveOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetCondition} RuleSetCondition */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetConditionAbsolute} RuleSetConditionAbsolute */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetRule} RuleSetRule */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetUse} RuleSetUse */\n/** @typedef {import(\"../declarations/WebpackOptions\").RuleSetUseItem} RuleSetUseItem */\n/** @typedef {import(\"../declarations/WebpackOptions\").StatsOptions} StatsOptions */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptions} Configuration */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptionsNormalized */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackPluginFunction} WebpackPluginFunction */\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackPluginInstance} WebpackPluginInstance */\n/** @typedef {import(\"./Compilation\").Asset} Asset */\n/** @typedef {import(\"./Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"./Compilation\").EntryOptions} EntryOptions */\n/** @typedef {import(\"./Compilation\").PathData} PathData */\n/** @typedef {import(\"./Compiler\").AssetEmittedInfo} AssetEmittedInfo */\n/** @typedef {import(\"./MultiStats\")} MultiStats */\n/** @typedef {import(\"./Parser\").ParserState} ParserState */\n/** @typedef {import(\"./ResolverFactory\").ResolvePluginInstance} ResolvePluginInstance */\n/** @typedef {import(\"./ResolverFactory\").Resolver} Resolver */\n/** @typedef {import(\"./Watching\")} Watching */\n/** @typedef {import(\"./cli\").Argument} Argument */\n/** @typedef {import(\"./cli\").Problem} Problem */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsAsset} StatsAsset */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsChunk} StatsChunk */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsChunkGroup} StatsChunkGroup */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsChunkOrigin} StatsChunkOrigin */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsCompilation} StatsCompilation */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsError} StatsError */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsLogging} StatsLogging */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsLoggingEntry} StatsLoggingEntry */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModule} StatsModule */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModuleIssuer} StatsModuleIssuer */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModuleReason} StatsModuleReason */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModuleTraceDependency} StatsModuleTraceDependency */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsModuleTraceItem} StatsModuleTraceItem */\n/** @typedef {import(\"./stats/DefaultStatsFactoryPlugin\").StatsProfile} StatsProfile */\n\n/**\n * @template {Function} T\n * @param {function(): T} factory factory function\n * @returns {T} function\n */\nconst lazyFunction = factory => {\n\tconst fac = memoize(factory);\n\tconst f = /** @type {any} */ (\n\t\t(...args) => {\n\t\t\treturn fac()(...args);\n\t\t}\n\t);\n\treturn /** @type {T} */ (f);\n};\n\n/**\n * @template A\n * @template B\n * @param {A} obj input a\n * @param {B} exports input b\n * @returns {A & B} merged\n */\nconst mergeExports = (obj, exports) => {\n\tconst descriptors = Object.getOwnPropertyDescriptors(exports);\n\tfor (const name of Object.keys(descriptors)) {\n\t\tconst descriptor = descriptors[name];\n\t\tif (descriptor.get) {\n\t\t\tconst fn = descriptor.get;\n\t\t\tObject.defineProperty(obj, name, {\n\t\t\t\tconfigurable: false,\n\t\t\t\tenumerable: true,\n\t\t\t\tget: memoize(fn)\n\t\t\t});\n\t\t} else if (typeof descriptor.value === \"object\") {\n\t\t\tObject.defineProperty(obj, name, {\n\t\t\t\tconfigurable: false,\n\t\t\t\tenumerable: true,\n\t\t\t\twritable: false,\n\t\t\t\tvalue: mergeExports({}, descriptor.value)\n\t\t\t});\n\t\t} else {\n\t\t\tthrow new Error(\n\t\t\t\t\"Exposed values must be either a getter or an nested object\"\n\t\t\t);\n\t\t}\n\t}\n\treturn /** @type {A & B} */ (Object.freeze(obj));\n};\n\nconst fn = lazyFunction(() => __webpack_require__(/*! ./webpack */ \"./node_modules/webpack/lib/webpack.js\"));\nmodule.exports = mergeExports(fn, {\n\tget webpack() {\n\t\treturn __webpack_require__(/*! ./webpack */ \"./node_modules/webpack/lib/webpack.js\");\n\t},\n\tget validate() {\n\t\tconst webpackOptionsSchemaCheck = __webpack_require__(/*! ../schemas/WebpackOptions.check.js */ \"./node_modules/webpack/schemas/WebpackOptions.check.js\");\n\t\tconst getRealValidate = memoize(() => {\n\t\t\tconst validateSchema = __webpack_require__(/*! ./validateSchema */ \"./node_modules/webpack/lib/validateSchema.js\");\n\t\t\tconst webpackOptionsSchema = __webpack_require__(/*! ../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\n\t\t\treturn options => validateSchema(webpackOptionsSchema, options);\n\t\t});\n\t\treturn options => {\n\t\t\tif (!webpackOptionsSchemaCheck(options)) getRealValidate()(options);\n\t\t};\n\t},\n\tget validateSchema() {\n\t\tconst validateSchema = __webpack_require__(/*! ./validateSchema */ \"./node_modules/webpack/lib/validateSchema.js\");\n\t\treturn validateSchema;\n\t},\n\tget version() {\n\t\treturn /** @type {string} */ ((__webpack_require__(/*! ../package.json */ \"./node_modules/webpack/package.json\").version));\n\t},\n\n\tget cli() {\n\t\treturn __webpack_require__(/*! ./cli */ \"./node_modules/webpack/lib/cli.js\");\n\t},\n\tget AutomaticPrefetchPlugin() {\n\t\treturn __webpack_require__(/*! ./AutomaticPrefetchPlugin */ \"./node_modules/webpack/lib/AutomaticPrefetchPlugin.js\");\n\t},\n\tget AsyncDependenciesBlock() {\n\t\treturn __webpack_require__(/*! ./AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\n\t},\n\tget BannerPlugin() {\n\t\treturn __webpack_require__(/*! ./BannerPlugin */ \"./node_modules/webpack/lib/BannerPlugin.js\");\n\t},\n\tget Cache() {\n\t\treturn __webpack_require__(/*! ./Cache */ \"./node_modules/webpack/lib/Cache.js\");\n\t},\n\tget Chunk() {\n\t\treturn __webpack_require__(/*! ./Chunk */ \"./node_modules/webpack/lib/Chunk.js\");\n\t},\n\tget ChunkGraph() {\n\t\treturn __webpack_require__(/*! ./ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\n\t},\n\tget CleanPlugin() {\n\t\treturn __webpack_require__(/*! ./CleanPlugin */ \"./node_modules/webpack/lib/CleanPlugin.js\");\n\t},\n\tget Compilation() {\n\t\treturn __webpack_require__(/*! ./Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\n\t},\n\tget Compiler() {\n\t\treturn __webpack_require__(/*! ./Compiler */ \"./node_modules/webpack/lib/Compiler.js\");\n\t},\n\tget ConcatenationScope() {\n\t\treturn __webpack_require__(/*! ./ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\n\t},\n\tget ContextExclusionPlugin() {\n\t\treturn __webpack_require__(/*! ./ContextExclusionPlugin */ \"./node_modules/webpack/lib/ContextExclusionPlugin.js\");\n\t},\n\tget ContextReplacementPlugin() {\n\t\treturn __webpack_require__(/*! ./ContextReplacementPlugin */ \"./node_modules/webpack/lib/ContextReplacementPlugin.js\");\n\t},\n\tget DefinePlugin() {\n\t\treturn __webpack_require__(/*! ./DefinePlugin */ \"./node_modules/webpack/lib/DefinePlugin.js\");\n\t},\n\tget DelegatedPlugin() {\n\t\treturn __webpack_require__(/*! ./DelegatedPlugin */ \"./node_modules/webpack/lib/DelegatedPlugin.js\");\n\t},\n\tget Dependency() {\n\t\treturn __webpack_require__(/*! ./Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\n\t},\n\tget DllPlugin() {\n\t\treturn __webpack_require__(/*! ./DllPlugin */ \"./node_modules/webpack/lib/DllPlugin.js\");\n\t},\n\tget DllReferencePlugin() {\n\t\treturn __webpack_require__(/*! ./DllReferencePlugin */ \"./node_modules/webpack/lib/DllReferencePlugin.js\");\n\t},\n\tget DynamicEntryPlugin() {\n\t\treturn __webpack_require__(/*! ./DynamicEntryPlugin */ \"./node_modules/webpack/lib/DynamicEntryPlugin.js\");\n\t},\n\tget EntryOptionPlugin() {\n\t\treturn __webpack_require__(/*! ./EntryOptionPlugin */ \"./node_modules/webpack/lib/EntryOptionPlugin.js\");\n\t},\n\tget EntryPlugin() {\n\t\treturn __webpack_require__(/*! ./EntryPlugin */ \"./node_modules/webpack/lib/EntryPlugin.js\");\n\t},\n\tget EnvironmentPlugin() {\n\t\treturn __webpack_require__(/*! ./EnvironmentPlugin */ \"./node_modules/webpack/lib/EnvironmentPlugin.js\");\n\t},\n\tget EvalDevToolModulePlugin() {\n\t\treturn __webpack_require__(/*! ./EvalDevToolModulePlugin */ \"./node_modules/webpack/lib/EvalDevToolModulePlugin.js\");\n\t},\n\tget EvalSourceMapDevToolPlugin() {\n\t\treturn __webpack_require__(/*! ./EvalSourceMapDevToolPlugin */ \"./node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js\");\n\t},\n\tget ExternalModule() {\n\t\treturn __webpack_require__(/*! ./ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\n\t},\n\tget ExternalsPlugin() {\n\t\treturn __webpack_require__(/*! ./ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\t},\n\tget Generator() {\n\t\treturn __webpack_require__(/*! ./Generator */ \"./node_modules/webpack/lib/Generator.js\");\n\t},\n\tget HotUpdateChunk() {\n\t\treturn __webpack_require__(/*! ./HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\n\t},\n\tget HotModuleReplacementPlugin() {\n\t\treturn __webpack_require__(/*! ./HotModuleReplacementPlugin */ \"./node_modules/webpack/lib/HotModuleReplacementPlugin.js\");\n\t},\n\tget IgnorePlugin() {\n\t\treturn __webpack_require__(/*! ./IgnorePlugin */ \"./node_modules/webpack/lib/IgnorePlugin.js\");\n\t},\n\tget JavascriptModulesPlugin() {\n\t\treturn util.deprecate(\n\t\t\t() => __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\"),\n\t\t\t\"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin\",\n\t\t\t\"DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN\"\n\t\t)();\n\t},\n\tget LibManifestPlugin() {\n\t\treturn __webpack_require__(/*! ./LibManifestPlugin */ \"./node_modules/webpack/lib/LibManifestPlugin.js\");\n\t},\n\tget LibraryTemplatePlugin() {\n\t\treturn util.deprecate(\n\t\t\t() => __webpack_require__(/*! ./LibraryTemplatePlugin */ \"./node_modules/webpack/lib/LibraryTemplatePlugin.js\"),\n\t\t\t\"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option\",\n\t\t\t\"DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN\"\n\t\t)();\n\t},\n\tget LoaderOptionsPlugin() {\n\t\treturn __webpack_require__(/*! ./LoaderOptionsPlugin */ \"./node_modules/webpack/lib/LoaderOptionsPlugin.js\");\n\t},\n\tget LoaderTargetPlugin() {\n\t\treturn __webpack_require__(/*! ./LoaderTargetPlugin */ \"./node_modules/webpack/lib/LoaderTargetPlugin.js\");\n\t},\n\tget Module() {\n\t\treturn __webpack_require__(/*! ./Module */ \"./node_modules/webpack/lib/Module.js\");\n\t},\n\tget ModuleFilenameHelpers() {\n\t\treturn __webpack_require__(/*! ./ModuleFilenameHelpers */ \"./node_modules/webpack/lib/ModuleFilenameHelpers.js\");\n\t},\n\tget ModuleGraph() {\n\t\treturn __webpack_require__(/*! ./ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\n\t},\n\tget ModuleGraphConnection() {\n\t\treturn __webpack_require__(/*! ./ModuleGraphConnection */ \"./node_modules/webpack/lib/ModuleGraphConnection.js\");\n\t},\n\tget NoEmitOnErrorsPlugin() {\n\t\treturn __webpack_require__(/*! ./NoEmitOnErrorsPlugin */ \"./node_modules/webpack/lib/NoEmitOnErrorsPlugin.js\");\n\t},\n\tget NormalModule() {\n\t\treturn __webpack_require__(/*! ./NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\n\t},\n\tget NormalModuleReplacementPlugin() {\n\t\treturn __webpack_require__(/*! ./NormalModuleReplacementPlugin */ \"./node_modules/webpack/lib/NormalModuleReplacementPlugin.js\");\n\t},\n\tget MultiCompiler() {\n\t\treturn __webpack_require__(/*! ./MultiCompiler */ \"./node_modules/webpack/lib/MultiCompiler.js\");\n\t},\n\tget Parser() {\n\t\treturn __webpack_require__(/*! ./Parser */ \"./node_modules/webpack/lib/Parser.js\");\n\t},\n\tget PrefetchPlugin() {\n\t\treturn __webpack_require__(/*! ./PrefetchPlugin */ \"./node_modules/webpack/lib/PrefetchPlugin.js\");\n\t},\n\tget ProgressPlugin() {\n\t\treturn __webpack_require__(/*! ./ProgressPlugin */ \"./node_modules/webpack/lib/ProgressPlugin.js\");\n\t},\n\tget ProvidePlugin() {\n\t\treturn __webpack_require__(/*! ./ProvidePlugin */ \"./node_modules/webpack/lib/ProvidePlugin.js\");\n\t},\n\tget RuntimeGlobals() {\n\t\treturn __webpack_require__(/*! ./RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\n\t},\n\tget RuntimeModule() {\n\t\treturn __webpack_require__(/*! ./RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\t},\n\tget SingleEntryPlugin() {\n\t\treturn util.deprecate(\n\t\t\t() => __webpack_require__(/*! ./EntryPlugin */ \"./node_modules/webpack/lib/EntryPlugin.js\"),\n\t\t\t\"SingleEntryPlugin was renamed to EntryPlugin\",\n\t\t\t\"DEP_WEBPACK_SINGLE_ENTRY_PLUGIN\"\n\t\t)();\n\t},\n\tget SourceMapDevToolPlugin() {\n\t\treturn __webpack_require__(/*! ./SourceMapDevToolPlugin */ \"./node_modules/webpack/lib/SourceMapDevToolPlugin.js\");\n\t},\n\tget Stats() {\n\t\treturn __webpack_require__(/*! ./Stats */ \"./node_modules/webpack/lib/Stats.js\");\n\t},\n\tget Template() {\n\t\treturn __webpack_require__(/*! ./Template */ \"./node_modules/webpack/lib/Template.js\");\n\t},\n\tget UsageState() {\n\t\treturn (__webpack_require__(/*! ./ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\").UsageState);\n\t},\n\tget WatchIgnorePlugin() {\n\t\treturn __webpack_require__(/*! ./WatchIgnorePlugin */ \"./node_modules/webpack/lib/WatchIgnorePlugin.js\");\n\t},\n\tget WebpackError() {\n\t\treturn __webpack_require__(/*! ./WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\t},\n\tget WebpackOptionsApply() {\n\t\treturn __webpack_require__(/*! ./WebpackOptionsApply */ \"./node_modules/webpack/lib/WebpackOptionsApply.js\");\n\t},\n\tget WebpackOptionsDefaulter() {\n\t\treturn util.deprecate(\n\t\t\t() => __webpack_require__(/*! ./WebpackOptionsDefaulter */ \"./node_modules/webpack/lib/WebpackOptionsDefaulter.js\"),\n\t\t\t\"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults\",\n\t\t\t\"DEP_WEBPACK_OPTIONS_DEFAULTER\"\n\t\t)();\n\t},\n\t// TODO webpack 6 deprecate\n\tget WebpackOptionsValidationError() {\n\t\treturn (__webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\").ValidationError);\n\t},\n\tget ValidationError() {\n\t\treturn (__webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\").ValidationError);\n\t},\n\n\tcache: {\n\t\tget MemoryCachePlugin() {\n\t\t\treturn __webpack_require__(/*! ./cache/MemoryCachePlugin */ \"./node_modules/webpack/lib/cache/MemoryCachePlugin.js\");\n\t\t}\n\t},\n\n\tconfig: {\n\t\tget getNormalizedWebpackOptions() {\n\t\t\treturn (__webpack_require__(/*! ./config/normalization */ \"./node_modules/webpack/lib/config/normalization.js\").getNormalizedWebpackOptions);\n\t\t},\n\t\tget applyWebpackOptionsDefaults() {\n\t\t\treturn (__webpack_require__(/*! ./config/defaults */ \"./node_modules/webpack/lib/config/defaults.js\").applyWebpackOptionsDefaults);\n\t\t}\n\t},\n\n\tdependencies: {\n\t\tget ModuleDependency() {\n\t\t\treturn __webpack_require__(/*! ./dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\n\t\t},\n\t\tget HarmonyImportDependency() {\n\t\t\treturn __webpack_require__(/*! ./dependencies/HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\n\t\t},\n\t\tget ConstDependency() {\n\t\t\treturn __webpack_require__(/*! ./dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\n\t\t},\n\t\tget NullDependency() {\n\t\t\treturn __webpack_require__(/*! ./dependencies/NullDependency */ \"./node_modules/webpack/lib/dependencies/NullDependency.js\");\n\t\t}\n\t},\n\n\tids: {\n\t\tget ChunkModuleIdRangePlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/ChunkModuleIdRangePlugin */ \"./node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js\");\n\t\t},\n\t\tget NaturalModuleIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/NaturalModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js\");\n\t\t},\n\t\tget OccurrenceModuleIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/OccurrenceModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js\");\n\t\t},\n\t\tget NamedModuleIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/NamedModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js\");\n\t\t},\n\t\tget DeterministicChunkIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/DeterministicChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js\");\n\t\t},\n\t\tget DeterministicModuleIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/DeterministicModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js\");\n\t\t},\n\t\tget NamedChunkIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/NamedChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js\");\n\t\t},\n\t\tget OccurrenceChunkIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/OccurrenceChunkIdsPlugin */ \"./node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js\");\n\t\t},\n\t\tget HashedModuleIdsPlugin() {\n\t\t\treturn __webpack_require__(/*! ./ids/HashedModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js\");\n\t\t}\n\t},\n\n\tjavascript: {\n\t\tget EnableChunkLoadingPlugin() {\n\t\t\treturn __webpack_require__(/*! ./javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\n\t\t},\n\t\tget JavascriptModulesPlugin() {\n\t\t\treturn __webpack_require__(/*! ./javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\n\t\t},\n\t\tget JavascriptParser() {\n\t\t\treturn __webpack_require__(/*! ./javascript/JavascriptParser */ \"./node_modules/webpack/lib/javascript/JavascriptParser.js\");\n\t\t}\n\t},\n\n\toptimize: {\n\t\tget AggressiveMergingPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/AggressiveMergingPlugin */ \"./node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js\");\n\t\t},\n\t\tget AggressiveSplittingPlugin() {\n\t\t\treturn util.deprecate(\n\t\t\t\t() => __webpack_require__(/*! ./optimize/AggressiveSplittingPlugin */ \"./node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js\"),\n\t\t\t\t\"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin\",\n\t\t\t\t\"DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN\"\n\t\t\t)();\n\t\t},\n\t\tget InnerGraph() {\n\t\t\treturn __webpack_require__(/*! ./optimize/InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\n\t\t},\n\t\tget LimitChunkCountPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/LimitChunkCountPlugin */ \"./node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js\");\n\t\t},\n\t\tget MinChunkSizePlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/MinChunkSizePlugin */ \"./node_modules/webpack/lib/optimize/MinChunkSizePlugin.js\");\n\t\t},\n\t\tget ModuleConcatenationPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/ModuleConcatenationPlugin */ \"./node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js\");\n\t\t},\n\t\tget RealContentHashPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/RealContentHashPlugin */ \"./node_modules/webpack/lib/optimize/RealContentHashPlugin.js\");\n\t\t},\n\t\tget RuntimeChunkPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/RuntimeChunkPlugin */ \"./node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js\");\n\t\t},\n\t\tget SideEffectsFlagPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/SideEffectsFlagPlugin */ \"./node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js\");\n\t\t},\n\t\tget SplitChunksPlugin() {\n\t\t\treturn __webpack_require__(/*! ./optimize/SplitChunksPlugin */ \"./node_modules/webpack/lib/optimize/SplitChunksPlugin.js\");\n\t\t}\n\t},\n\n\truntime: {\n\t\tget GetChunkFilenameRuntimeModule() {\n\t\t\treturn __webpack_require__(/*! ./runtime/GetChunkFilenameRuntimeModule */ \"./node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js\");\n\t\t},\n\t\tget LoadScriptRuntimeModule() {\n\t\t\treturn __webpack_require__(/*! ./runtime/LoadScriptRuntimeModule */ \"./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js\");\n\t\t}\n\t},\n\n\tprefetch: {\n\t\tget ChunkPrefetchPreloadPlugin() {\n\t\t\treturn __webpack_require__(/*! ./prefetch/ChunkPrefetchPreloadPlugin */ \"./node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js\");\n\t\t}\n\t},\n\n\tweb: {\n\t\tget FetchCompileAsyncWasmPlugin() {\n\t\t\treturn __webpack_require__(/*! ./web/FetchCompileAsyncWasmPlugin */ \"./node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js\");\n\t\t},\n\t\tget FetchCompileWasmPlugin() {\n\t\t\treturn __webpack_require__(/*! ./web/FetchCompileWasmPlugin */ \"./node_modules/webpack/lib/web/FetchCompileWasmPlugin.js\");\n\t\t},\n\t\tget JsonpChunkLoadingRuntimeModule() {\n\t\t\treturn __webpack_require__(/*! ./web/JsonpChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js\");\n\t\t},\n\t\tget JsonpTemplatePlugin() {\n\t\t\treturn __webpack_require__(/*! ./web/JsonpTemplatePlugin */ \"./node_modules/webpack/lib/web/JsonpTemplatePlugin.js\");\n\t\t}\n\t},\n\n\twebworker: {\n\t\tget WebWorkerTemplatePlugin() {\n\t\t\treturn __webpack_require__(/*! ./webworker/WebWorkerTemplatePlugin */ \"./node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js\");\n\t\t}\n\t},\n\n\tnode: {\n\t\tget NodeEnvironmentPlugin() {\n\t\t\treturn __webpack_require__(/*! ./node/NodeEnvironmentPlugin */ \"./node_modules/webpack/lib/node/NodeEnvironmentPlugin.js\");\n\t\t},\n\t\tget NodeSourcePlugin() {\n\t\t\treturn __webpack_require__(/*! ./node/NodeSourcePlugin */ \"./node_modules/webpack/lib/node/NodeSourcePlugin.js\");\n\t\t},\n\t\tget NodeTargetPlugin() {\n\t\t\treturn __webpack_require__(/*! ./node/NodeTargetPlugin */ \"./node_modules/webpack/lib/node/NodeTargetPlugin.js\");\n\t\t},\n\t\tget NodeTemplatePlugin() {\n\t\t\treturn __webpack_require__(/*! ./node/NodeTemplatePlugin */ \"./node_modules/webpack/lib/node/NodeTemplatePlugin.js\");\n\t\t},\n\t\tget ReadFileCompileWasmPlugin() {\n\t\t\treturn __webpack_require__(/*! ./node/ReadFileCompileWasmPlugin */ \"./node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js\");\n\t\t}\n\t},\n\n\telectron: {\n\t\tget ElectronTargetPlugin() {\n\t\t\treturn __webpack_require__(/*! ./electron/ElectronTargetPlugin */ \"./node_modules/webpack/lib/electron/ElectronTargetPlugin.js\");\n\t\t}\n\t},\n\n\twasm: {\n\t\tget AsyncWebAssemblyModulesPlugin() {\n\t\t\treturn __webpack_require__(/*! ./wasm-async/AsyncWebAssemblyModulesPlugin */ \"./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js\");\n\t\t},\n\t\tget EnableWasmLoadingPlugin() {\n\t\t\treturn __webpack_require__(/*! ./wasm/EnableWasmLoadingPlugin */ \"./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js\");\n\t\t}\n\t},\n\n\tlibrary: {\n\t\tget AbstractLibraryPlugin() {\n\t\t\treturn __webpack_require__(/*! ./library/AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\t\t},\n\t\tget EnableLibraryPlugin() {\n\t\t\treturn __webpack_require__(/*! ./library/EnableLibraryPlugin */ \"./node_modules/webpack/lib/library/EnableLibraryPlugin.js\");\n\t\t}\n\t},\n\n\tcontainer: {\n\t\tget ContainerPlugin() {\n\t\t\treturn __webpack_require__(/*! ./container/ContainerPlugin */ \"./node_modules/webpack/lib/container/ContainerPlugin.js\");\n\t\t},\n\t\tget ContainerReferencePlugin() {\n\t\t\treturn __webpack_require__(/*! ./container/ContainerReferencePlugin */ \"./node_modules/webpack/lib/container/ContainerReferencePlugin.js\");\n\t\t},\n\t\tget ModuleFederationPlugin() {\n\t\t\treturn __webpack_require__(/*! ./container/ModuleFederationPlugin */ \"./node_modules/webpack/lib/container/ModuleFederationPlugin.js\");\n\t\t},\n\t\tget scope() {\n\t\t\treturn (__webpack_require__(/*! ./container/options */ \"./node_modules/webpack/lib/container/options.js\").scope);\n\t\t}\n\t},\n\n\tsharing: {\n\t\tget ConsumeSharedPlugin() {\n\t\t\treturn __webpack_require__(/*! ./sharing/ConsumeSharedPlugin */ \"./node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js\");\n\t\t},\n\t\tget ProvideSharedPlugin() {\n\t\t\treturn __webpack_require__(/*! ./sharing/ProvideSharedPlugin */ \"./node_modules/webpack/lib/sharing/ProvideSharedPlugin.js\");\n\t\t},\n\t\tget SharePlugin() {\n\t\t\treturn __webpack_require__(/*! ./sharing/SharePlugin */ \"./node_modules/webpack/lib/sharing/SharePlugin.js\");\n\t\t},\n\t\tget scope() {\n\t\t\treturn (__webpack_require__(/*! ./container/options */ \"./node_modules/webpack/lib/container/options.js\").scope);\n\t\t}\n\t},\n\n\tdebug: {\n\t\tget ProfilingPlugin() {\n\t\t\treturn __webpack_require__(/*! ./debug/ProfilingPlugin */ \"./node_modules/webpack/lib/debug/ProfilingPlugin.js\");\n\t\t}\n\t},\n\n\tutil: {\n\t\tget createHash() {\n\t\t\treturn __webpack_require__(/*! ./util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\n\t\t},\n\t\tget comparators() {\n\t\t\treturn __webpack_require__(/*! ./util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\n\t\t},\n\t\tget runtime() {\n\t\t\treturn __webpack_require__(/*! ./util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\t\t},\n\t\tget serialization() {\n\t\t\treturn __webpack_require__(/*! ./util/serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\t\t},\n\t\tget cleverMerge() {\n\t\t\treturn (__webpack_require__(/*! ./util/cleverMerge */ \"./node_modules/webpack/lib/util/cleverMerge.js\").cachedCleverMerge);\n\t\t},\n\t\tget LazySet() {\n\t\t\treturn __webpack_require__(/*! ./util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\n\t\t}\n\t},\n\n\tget sources() {\n\t\treturn __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\n\t},\n\n\texperiments: {\n\t\tschemes: {\n\t\t\tget HttpUriPlugin() {\n\t\t\t\treturn __webpack_require__(/*! ./schemes/HttpUriPlugin */ \"./node_modules/webpack/lib/schemes/HttpUriPlugin.js\");\n\t\t\t}\n\t\t},\n\t\tids: {\n\t\t\tget SyncModuleIdsPlugin() {\n\t\t\t\treturn __webpack_require__(/*! ./ids/SyncModuleIdsPlugin */ \"./node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js\");\n\t\t\t}\n\t\t}\n\t}\n});\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/index.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, PrefixSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { RuntimeGlobals } = __webpack_require__(/*! .. */ \"./node_modules/webpack/lib/index.js\");\nconst HotUpdateChunk = __webpack_require__(/*! ../HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { getCompilationHooks } = __webpack_require__(/*! ./JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst {\n\tgenerateEntryStartup,\n\tupdateHashForEntryStartup\n} = __webpack_require__(/*! ./StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ArrayPushCallbackChunkFormatPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ArrayPushCallbackChunkFormatPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.additionalChunkRuntimeRequirements.tap(\n\t\t\t\t\t\"ArrayPushCallbackChunkFormatPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\tif (chunkGraph.getNumberOfEntryModules(chunk) > 0) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.onChunksLoaded);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(RuntimeGlobals.chunkCallback);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tconst hooks = getCompilationHooks(compilation);\n\t\t\t\thooks.renderChunk.tap(\n\t\t\t\t\t\"ArrayPushCallbackChunkFormatPlugin\",\n\t\t\t\t\t(modules, renderContext) => {\n\t\t\t\t\t\tconst { chunk, chunkGraph, runtimeTemplate } = renderContext;\n\t\t\t\t\t\tconst hotUpdateChunk =\n\t\t\t\t\t\t\tchunk instanceof HotUpdateChunk ? chunk : null;\n\t\t\t\t\t\tconst globalObject = runtimeTemplate.globalObject;\n\t\t\t\t\t\tconst source = new ConcatSource();\n\t\t\t\t\t\tconst runtimeModules =\n\t\t\t\t\t\t\tchunkGraph.getChunkRuntimeModulesInOrder(chunk);\n\t\t\t\t\t\tif (hotUpdateChunk) {\n\t\t\t\t\t\t\tconst hotUpdateGlobal =\n\t\t\t\t\t\t\t\truntimeTemplate.outputOptions.hotUpdateGlobal;\n\t\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\t\t`${globalObject}[${JSON.stringify(hotUpdateGlobal)}](`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsource.add(`${JSON.stringify(chunk.id)},`);\n\t\t\t\t\t\t\tsource.add(modules);\n\t\t\t\t\t\t\tif (runtimeModules.length > 0) {\n\t\t\t\t\t\t\t\tsource.add(\",\\n\");\n\t\t\t\t\t\t\t\tconst runtimePart = Template.renderChunkRuntimeModules(\n\t\t\t\t\t\t\t\t\truntimeModules,\n\t\t\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tsource.add(runtimePart);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsource.add(\")\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst chunkLoadingGlobal =\n\t\t\t\t\t\t\t\truntimeTemplate.outputOptions.chunkLoadingGlobal;\n\t\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\t\t`(${globalObject}[${JSON.stringify(\n\t\t\t\t\t\t\t\t\tchunkLoadingGlobal\n\t\t\t\t\t\t\t\t)}] = ${globalObject}[${JSON.stringify(\n\t\t\t\t\t\t\t\t\tchunkLoadingGlobal\n\t\t\t\t\t\t\t\t)}] || []).push([`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsource.add(`${JSON.stringify(chunk.ids)},`);\n\t\t\t\t\t\t\tsource.add(modules);\n\t\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (runtimeModules.length > 0 || entries.length > 0) {\n\t\t\t\t\t\t\t\tconst runtime = new ConcatSource(\n\t\t\t\t\t\t\t\t\t(runtimeTemplate.supportsArrowFunction()\n\t\t\t\t\t\t\t\t\t\t? \"__webpack_require__ =>\"\n\t\t\t\t\t\t\t\t\t\t: \"function(__webpack_require__)\") +\n\t\t\t\t\t\t\t\t\t\t\" { // webpackRuntimeModules\\n\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (runtimeModules.length > 0) {\n\t\t\t\t\t\t\t\t\truntime.add(\n\t\t\t\t\t\t\t\t\t\tTemplate.renderRuntimeModules(runtimeModules, {\n\t\t\t\t\t\t\t\t\t\t\t...renderContext,\n\t\t\t\t\t\t\t\t\t\t\tcodeGenerationResults: compilation.codeGenerationResults\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (entries.length > 0) {\n\t\t\t\t\t\t\t\t\tconst startupSource = new RawSource(\n\t\t\t\t\t\t\t\t\t\tgenerateEntryStartup(\n\t\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\t\tentries,\n\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\truntime.add(\n\t\t\t\t\t\t\t\t\t\thooks.renderStartup.call(\n\t\t\t\t\t\t\t\t\t\t\tstartupSource,\n\t\t\t\t\t\t\t\t\t\t\tentries[entries.length - 1][0],\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t...renderContext,\n\t\t\t\t\t\t\t\t\t\t\t\tinlined: false\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t\t\t\t\t\t.getChunkRuntimeRequirements(chunk)\n\t\t\t\t\t\t\t\t\t\t\t.has(RuntimeGlobals.returnExportsFromRuntime)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\truntime.add(\"return __webpack_exports__;\\n\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\truntime.add(\"}\\n\");\n\t\t\t\t\t\t\t\tsource.add(\",\\n\");\n\t\t\t\t\t\t\t\tsource.add(new PrefixSource(\"/******/ \", runtime));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsource.add(\"])\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn source;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\thooks.chunkHash.tap(\n\t\t\t\t\t\"ArrayPushCallbackChunkFormatPlugin\",\n\t\t\t\t\t(chunk, hash, { chunkGraph, runtimeTemplate }) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\thash.update(\n\t\t\t\t\t\t\t`ArrayPushCallbackChunkFormatPlugin1${runtimeTemplate.outputOptions.chunkLoadingGlobal}${runtimeTemplate.outputOptions.hotUpdateGlobal}${runtimeTemplate.globalObject}`\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tupdateHashForEntryStartup(hash, chunkGraph, entries, chunk);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ArrayPushCallbackChunkFormatPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"estree\").Node} EsTreeNode */\n/** @typedef {import(\"./JavascriptParser\").VariableInfoInterface} VariableInfoInterface */\n\nconst TypeUnknown = 0;\nconst TypeUndefined = 1;\nconst TypeNull = 2;\nconst TypeString = 3;\nconst TypeNumber = 4;\nconst TypeBoolean = 5;\nconst TypeRegExp = 6;\nconst TypeConditional = 7;\nconst TypeArray = 8;\nconst TypeConstArray = 9;\nconst TypeIdentifier = 10;\nconst TypeWrapped = 11;\nconst TypeTemplateString = 12;\nconst TypeBigInt = 13;\n\nclass BasicEvaluatedExpression {\n\tconstructor() {\n\t\tthis.type = TypeUnknown;\n\t\t/** @type {[number, number]} */\n\t\tthis.range = undefined;\n\t\t/** @type {boolean} */\n\t\tthis.falsy = false;\n\t\t/** @type {boolean} */\n\t\tthis.truthy = false;\n\t\t/** @type {boolean | undefined} */\n\t\tthis.nullish = undefined;\n\t\t/** @type {boolean} */\n\t\tthis.sideEffects = true;\n\t\t/** @type {boolean | undefined} */\n\t\tthis.bool = undefined;\n\t\t/** @type {number | undefined} */\n\t\tthis.number = undefined;\n\t\t/** @type {bigint | undefined} */\n\t\tthis.bigint = undefined;\n\t\t/** @type {RegExp | undefined} */\n\t\tthis.regExp = undefined;\n\t\t/** @type {string | undefined} */\n\t\tthis.string = undefined;\n\t\t/** @type {BasicEvaluatedExpression[] | undefined} */\n\t\tthis.quasis = undefined;\n\t\t/** @type {BasicEvaluatedExpression[] | undefined} */\n\t\tthis.parts = undefined;\n\t\t/** @type {any[] | undefined} */\n\t\tthis.array = undefined;\n\t\t/** @type {BasicEvaluatedExpression[] | undefined} */\n\t\tthis.items = undefined;\n\t\t/** @type {BasicEvaluatedExpression[] | undefined} */\n\t\tthis.options = undefined;\n\t\t/** @type {BasicEvaluatedExpression | undefined} */\n\t\tthis.prefix = undefined;\n\t\t/** @type {BasicEvaluatedExpression | undefined} */\n\t\tthis.postfix = undefined;\n\t\tthis.wrappedInnerExpressions = undefined;\n\t\t/** @type {string | VariableInfoInterface | undefined} */\n\t\tthis.identifier = undefined;\n\t\t/** @type {VariableInfoInterface} */\n\t\tthis.rootInfo = undefined;\n\t\t/** @type {() => string[]} */\n\t\tthis.getMembers = undefined;\n\t\t/** @type {() => boolean[]} */\n\t\tthis.getMembersOptionals = undefined;\n\t\t/** @type {EsTreeNode} */\n\t\tthis.expression = undefined;\n\t}\n\n\tisUnknown() {\n\t\treturn this.type === TypeUnknown;\n\t}\n\n\tisNull() {\n\t\treturn this.type === TypeNull;\n\t}\n\n\tisUndefined() {\n\t\treturn this.type === TypeUndefined;\n\t}\n\n\tisString() {\n\t\treturn this.type === TypeString;\n\t}\n\n\tisNumber() {\n\t\treturn this.type === TypeNumber;\n\t}\n\n\tisBigInt() {\n\t\treturn this.type === TypeBigInt;\n\t}\n\n\tisBoolean() {\n\t\treturn this.type === TypeBoolean;\n\t}\n\n\tisRegExp() {\n\t\treturn this.type === TypeRegExp;\n\t}\n\n\tisConditional() {\n\t\treturn this.type === TypeConditional;\n\t}\n\n\tisArray() {\n\t\treturn this.type === TypeArray;\n\t}\n\n\tisConstArray() {\n\t\treturn this.type === TypeConstArray;\n\t}\n\n\tisIdentifier() {\n\t\treturn this.type === TypeIdentifier;\n\t}\n\n\tisWrapped() {\n\t\treturn this.type === TypeWrapped;\n\t}\n\n\tisTemplateString() {\n\t\treturn this.type === TypeTemplateString;\n\t}\n\n\t/**\n\t * Is expression a primitive or an object type value?\n\t * @returns {boolean | undefined} true: primitive type, false: object type, undefined: unknown/runtime-defined\n\t */\n\tisPrimitiveType() {\n\t\tswitch (this.type) {\n\t\t\tcase TypeUndefined:\n\t\t\tcase TypeNull:\n\t\t\tcase TypeString:\n\t\t\tcase TypeNumber:\n\t\t\tcase TypeBoolean:\n\t\t\tcase TypeBigInt:\n\t\t\tcase TypeWrapped:\n\t\t\tcase TypeTemplateString:\n\t\t\t\treturn true;\n\t\t\tcase TypeRegExp:\n\t\t\tcase TypeArray:\n\t\t\tcase TypeConstArray:\n\t\t\t\treturn false;\n\t\t\tdefault:\n\t\t\t\treturn undefined;\n\t\t}\n\t}\n\n\t/**\n\t * Is expression a runtime or compile-time value?\n\t * @returns {boolean} true: compile time value, false: runtime value\n\t */\n\tisCompileTimeValue() {\n\t\tswitch (this.type) {\n\t\t\tcase TypeUndefined:\n\t\t\tcase TypeNull:\n\t\t\tcase TypeString:\n\t\t\tcase TypeNumber:\n\t\t\tcase TypeBoolean:\n\t\t\tcase TypeRegExp:\n\t\t\tcase TypeConstArray:\n\t\t\tcase TypeBigInt:\n\t\t\t\treturn true;\n\t\t\tdefault:\n\t\t\t\treturn false;\n\t\t}\n\t}\n\n\t/**\n\t * Gets the compile-time value of the expression\n\t * @returns {any} the javascript value\n\t */\n\tasCompileTimeValue() {\n\t\tswitch (this.type) {\n\t\t\tcase TypeUndefined:\n\t\t\t\treturn undefined;\n\t\t\tcase TypeNull:\n\t\t\t\treturn null;\n\t\t\tcase TypeString:\n\t\t\t\treturn this.string;\n\t\t\tcase TypeNumber:\n\t\t\t\treturn this.number;\n\t\t\tcase TypeBoolean:\n\t\t\t\treturn this.bool;\n\t\t\tcase TypeRegExp:\n\t\t\t\treturn this.regExp;\n\t\t\tcase TypeConstArray:\n\t\t\t\treturn this.array;\n\t\t\tcase TypeBigInt:\n\t\t\t\treturn this.bigint;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"asCompileTimeValue must only be called for compile-time values\"\n\t\t\t\t);\n\t\t}\n\t}\n\n\tisTruthy() {\n\t\treturn this.truthy;\n\t}\n\n\tisFalsy() {\n\t\treturn this.falsy;\n\t}\n\n\tisNullish() {\n\t\treturn this.nullish;\n\t}\n\n\t/**\n\t * Can this expression have side effects?\n\t * @returns {boolean} false: never has side effects\n\t */\n\tcouldHaveSideEffects() {\n\t\treturn this.sideEffects;\n\t}\n\n\tasBool() {\n\t\tif (this.truthy) return true;\n\t\tif (this.falsy || this.nullish) return false;\n\t\tif (this.isBoolean()) return this.bool;\n\t\tif (this.isNull()) return false;\n\t\tif (this.isUndefined()) return false;\n\t\tif (this.isString()) return this.string !== \"\";\n\t\tif (this.isNumber()) return this.number !== 0;\n\t\tif (this.isBigInt()) return this.bigint !== BigInt(0);\n\t\tif (this.isRegExp()) return true;\n\t\tif (this.isArray()) return true;\n\t\tif (this.isConstArray()) return true;\n\t\tif (this.isWrapped()) {\n\t\t\treturn (this.prefix && this.prefix.asBool()) ||\n\t\t\t\t(this.postfix && this.postfix.asBool())\n\t\t\t\t? true\n\t\t\t\t: undefined;\n\t\t}\n\t\tif (this.isTemplateString()) {\n\t\t\tconst str = this.asString();\n\t\t\tif (typeof str === \"string\") return str !== \"\";\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tasNullish() {\n\t\tconst nullish = this.isNullish();\n\n\t\tif (nullish === true || this.isNull() || this.isUndefined()) return true;\n\n\t\tif (nullish === false) return false;\n\t\tif (this.isTruthy()) return false;\n\t\tif (this.isBoolean()) return false;\n\t\tif (this.isString()) return false;\n\t\tif (this.isNumber()) return false;\n\t\tif (this.isBigInt()) return false;\n\t\tif (this.isRegExp()) return false;\n\t\tif (this.isArray()) return false;\n\t\tif (this.isConstArray()) return false;\n\t\tif (this.isTemplateString()) return false;\n\t\tif (this.isRegExp()) return false;\n\n\t\treturn undefined;\n\t}\n\n\tasString() {\n\t\tif (this.isBoolean()) return `${this.bool}`;\n\t\tif (this.isNull()) return \"null\";\n\t\tif (this.isUndefined()) return \"undefined\";\n\t\tif (this.isString()) return this.string;\n\t\tif (this.isNumber()) return `${this.number}`;\n\t\tif (this.isBigInt()) return `${this.bigint}`;\n\t\tif (this.isRegExp()) return `${this.regExp}`;\n\t\tif (this.isArray()) {\n\t\t\tlet array = [];\n\t\t\tfor (const item of this.items) {\n\t\t\t\tconst itemStr = item.asString();\n\t\t\t\tif (itemStr === undefined) return undefined;\n\t\t\t\tarray.push(itemStr);\n\t\t\t}\n\t\t\treturn `${array}`;\n\t\t}\n\t\tif (this.isConstArray()) return `${this.array}`;\n\t\tif (this.isTemplateString()) {\n\t\t\tlet str = \"\";\n\t\t\tfor (const part of this.parts) {\n\t\t\t\tconst partStr = part.asString();\n\t\t\t\tif (partStr === undefined) return undefined;\n\t\t\t\tstr += partStr;\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tsetString(string) {\n\t\tthis.type = TypeString;\n\t\tthis.string = string;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetUndefined() {\n\t\tthis.type = TypeUndefined;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetNull() {\n\t\tthis.type = TypeNull;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetNumber(number) {\n\t\tthis.type = TypeNumber;\n\t\tthis.number = number;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetBigInt(bigint) {\n\t\tthis.type = TypeBigInt;\n\t\tthis.bigint = bigint;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetBoolean(bool) {\n\t\tthis.type = TypeBoolean;\n\t\tthis.bool = bool;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetRegExp(regExp) {\n\t\tthis.type = TypeRegExp;\n\t\tthis.regExp = regExp;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetIdentifier(identifier, rootInfo, getMembers, getMembersOptionals) {\n\t\tthis.type = TypeIdentifier;\n\t\tthis.identifier = identifier;\n\t\tthis.rootInfo = rootInfo;\n\t\tthis.getMembers = getMembers;\n\t\tthis.getMembersOptionals = getMembersOptionals;\n\t\tthis.sideEffects = true;\n\t\treturn this;\n\t}\n\n\tsetWrapped(prefix, postfix, innerExpressions) {\n\t\tthis.type = TypeWrapped;\n\t\tthis.prefix = prefix;\n\t\tthis.postfix = postfix;\n\t\tthis.wrappedInnerExpressions = innerExpressions;\n\t\tthis.sideEffects = true;\n\t\treturn this;\n\t}\n\n\tsetOptions(options) {\n\t\tthis.type = TypeConditional;\n\t\tthis.options = options;\n\t\tthis.sideEffects = true;\n\t\treturn this;\n\t}\n\n\taddOptions(options) {\n\t\tif (!this.options) {\n\t\t\tthis.type = TypeConditional;\n\t\t\tthis.options = [];\n\t\t\tthis.sideEffects = true;\n\t\t}\n\t\tfor (const item of options) {\n\t\t\tthis.options.push(item);\n\t\t}\n\t\treturn this;\n\t}\n\n\tsetItems(items) {\n\t\tthis.type = TypeArray;\n\t\tthis.items = items;\n\t\tthis.sideEffects = items.some(i => i.couldHaveSideEffects());\n\t\treturn this;\n\t}\n\n\tsetArray(array) {\n\t\tthis.type = TypeConstArray;\n\t\tthis.array = array;\n\t\tthis.sideEffects = false;\n\t\treturn this;\n\t}\n\n\tsetTemplateString(quasis, parts, kind) {\n\t\tthis.type = TypeTemplateString;\n\t\tthis.quasis = quasis;\n\t\tthis.parts = parts;\n\t\tthis.templateStringKind = kind;\n\t\tthis.sideEffects = parts.some(p => p.sideEffects);\n\t\treturn this;\n\t}\n\n\tsetTruthy() {\n\t\tthis.falsy = false;\n\t\tthis.truthy = true;\n\t\tthis.nullish = false;\n\t\treturn this;\n\t}\n\n\tsetFalsy() {\n\t\tthis.falsy = true;\n\t\tthis.truthy = false;\n\t\treturn this;\n\t}\n\n\tsetNullish(value) {\n\t\tthis.nullish = value;\n\n\t\tif (value) return this.setFalsy();\n\n\t\treturn this;\n\t}\n\n\tsetRange(range) {\n\t\tthis.range = range;\n\t\treturn this;\n\t}\n\n\tsetSideEffects(sideEffects = true) {\n\t\tthis.sideEffects = sideEffects;\n\t\treturn this;\n\t}\n\n\tsetExpression(expression) {\n\t\tthis.expression = expression;\n\t\treturn this;\n\t}\n}\n\n/**\n * @param {string} flags regexp flags\n * @returns {boolean} is valid flags\n */\nBasicEvaluatedExpression.isValidRegExpFlags = flags => {\n\tconst len = flags.length;\n\n\tif (len === 0) return true;\n\tif (len > 4) return false;\n\n\t// cspell:word gimy\n\tlet remaining = 0b0000; // bit per RegExp flag: gimy\n\n\tfor (let i = 0; i < len; i++)\n\t\tswitch (flags.charCodeAt(i)) {\n\t\t\tcase 103 /* g */:\n\t\t\t\tif (remaining & 0b1000) return false;\n\t\t\t\tremaining |= 0b1000;\n\t\t\t\tbreak;\n\t\t\tcase 105 /* i */:\n\t\t\t\tif (remaining & 0b0100) return false;\n\t\t\t\tremaining |= 0b0100;\n\t\t\t\tbreak;\n\t\t\tcase 109 /* m */:\n\t\t\t\tif (remaining & 0b0010) return false;\n\t\t\t\tremaining |= 0b0010;\n\t\t\t\tbreak;\n\t\t\tcase 121 /* y */:\n\t\t\t\tif (remaining & 0b0001) return false;\n\t\t\t\tremaining |= 0b0001;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\treturn false;\n\t\t}\n\n\treturn true;\n};\n\nmodule.exports = BasicEvaluatedExpression;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/ChunkHelpers.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/ChunkHelpers.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Entrypoint = __webpack_require__(/*! ../Entrypoint */ \"./node_modules/webpack/lib/Entrypoint.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\n/**\n * @param {Entrypoint} entrypoint a chunk group\n * @param {Chunk} excludedChunk1 current chunk which is excluded\n * @param {Chunk} excludedChunk2 runtime chunk which is excluded\n * @returns {Set<Chunk>} chunks\n */\nconst getAllChunks = (entrypoint, excludedChunk1, excludedChunk2) => {\n\tconst queue = new Set([entrypoint]);\n\tconst chunks = new Set();\n\tfor (const entrypoint of queue) {\n\t\tfor (const chunk of entrypoint.chunks) {\n\t\t\tif (chunk === excludedChunk1) continue;\n\t\t\tif (chunk === excludedChunk2) continue;\n\t\t\tchunks.add(chunk);\n\t\t}\n\t\tfor (const parent of entrypoint.parentsIterable) {\n\t\t\tif (parent instanceof Entrypoint) queue.add(parent);\n\t\t}\n\t}\n\treturn chunks;\n};\nexports.getAllChunks = getAllChunks;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/ChunkHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tgetChunkFilenameTemplate,\n\tgetCompilationHooks\n} = __webpack_require__(/*! ./JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst {\n\tgenerateEntryStartup,\n\tupdateHashForEntryStartup\n} = __webpack_require__(/*! ./StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass CommonJsChunkFormatPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"CommonJsChunkFormatPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.additionalChunkRuntimeRequirements.tap(\n\t\t\t\t\t\"CommonJsChunkLoadingPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\tif (chunkGraph.getNumberOfEntryModules(chunk) > 0) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.startupEntrypoint);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.externalInstallChunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tconst hooks = getCompilationHooks(compilation);\n\t\t\t\thooks.renderChunk.tap(\n\t\t\t\t\t\"CommonJsChunkFormatPlugin\",\n\t\t\t\t\t(modules, renderContext) => {\n\t\t\t\t\t\tconst { chunk, chunkGraph, runtimeTemplate } = renderContext;\n\t\t\t\t\t\tconst source = new ConcatSource();\n\t\t\t\t\t\tsource.add(`exports.id = ${JSON.stringify(chunk.id)};\\n`);\n\t\t\t\t\t\tsource.add(`exports.ids = ${JSON.stringify(chunk.ids)};\\n`);\n\t\t\t\t\t\tsource.add(`exports.modules = `);\n\t\t\t\t\t\tsource.add(modules);\n\t\t\t\t\t\tsource.add(\";\\n\");\n\t\t\t\t\t\tconst runtimeModules =\n\t\t\t\t\t\t\tchunkGraph.getChunkRuntimeModulesInOrder(chunk);\n\t\t\t\t\t\tif (runtimeModules.length > 0) {\n\t\t\t\t\t\t\tsource.add(\"exports.runtime =\\n\");\n\t\t\t\t\t\t\tsource.add(\n\t\t\t\t\t\t\t\tTemplate.renderChunkRuntimeModules(\n\t\t\t\t\t\t\t\t\truntimeModules,\n\t\t\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (entries.length > 0) {\n\t\t\t\t\t\t\tconst runtimeChunk = entries[0][1].getRuntimeChunk();\n\t\t\t\t\t\t\tconst currentOutputName = compilation\n\t\t\t\t\t\t\t\t.getPath(\n\t\t\t\t\t\t\t\t\tgetChunkFilenameTemplate(chunk, compilation.outputOptions),\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t.split(\"/\");\n\t\t\t\t\t\t\tconst runtimeOutputName = compilation\n\t\t\t\t\t\t\t\t.getPath(\n\t\t\t\t\t\t\t\t\tgetChunkFilenameTemplate(\n\t\t\t\t\t\t\t\t\t\truntimeChunk,\n\t\t\t\t\t\t\t\t\t\tcompilation.outputOptions\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tchunk: runtimeChunk,\n\t\t\t\t\t\t\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t.split(\"/\");\n\n\t\t\t\t\t\t\t// remove filename, we only need the directory\n\t\t\t\t\t\t\tcurrentOutputName.pop();\n\n\t\t\t\t\t\t\t// remove common parts\n\t\t\t\t\t\t\twhile (\n\t\t\t\t\t\t\t\tcurrentOutputName.length > 0 &&\n\t\t\t\t\t\t\t\truntimeOutputName.length > 0 &&\n\t\t\t\t\t\t\t\tcurrentOutputName[0] === runtimeOutputName[0]\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tcurrentOutputName.shift();\n\t\t\t\t\t\t\t\truntimeOutputName.shift();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// create final path\n\t\t\t\t\t\t\tconst runtimePath =\n\t\t\t\t\t\t\t\t(currentOutputName.length > 0\n\t\t\t\t\t\t\t\t\t? \"../\".repeat(currentOutputName.length)\n\t\t\t\t\t\t\t\t\t: \"./\") + runtimeOutputName.join(\"/\");\n\n\t\t\t\t\t\t\tconst entrySource = new ConcatSource();\n\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\t`(${\n\t\t\t\t\t\t\t\t\truntimeTemplate.supportsArrowFunction()\n\t\t\t\t\t\t\t\t\t\t? \"() => \"\n\t\t\t\t\t\t\t\t\t\t: \"function() \"\n\t\t\t\t\t\t\t\t}{\\n`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tentrySource.add(\"var exports = {};\\n\");\n\t\t\t\t\t\t\tentrySource.add(source);\n\t\t\t\t\t\t\tentrySource.add(\";\\n\\n// load runtime\\n\");\n\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\t`var __webpack_require__ = require(${JSON.stringify(\n\t\t\t\t\t\t\t\t\truntimePath\n\t\t\t\t\t\t\t\t)});\\n`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.externalInstallChunk}(exports);\\n`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst startupSource = new RawSource(\n\t\t\t\t\t\t\t\tgenerateEntryStartup(\n\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\tentries,\n\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tentrySource.add(\n\t\t\t\t\t\t\t\thooks.renderStartup.call(\n\t\t\t\t\t\t\t\t\tstartupSource,\n\t\t\t\t\t\t\t\t\tentries[entries.length - 1][0],\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t...renderContext,\n\t\t\t\t\t\t\t\t\t\tinlined: false\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tentrySource.add(\"\\n})()\");\n\t\t\t\t\t\t\treturn entrySource;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn source;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\thooks.chunkHash.tap(\n\t\t\t\t\t\"CommonJsChunkFormatPlugin\",\n\t\t\t\t\t(chunk, hash, { chunkGraph }) => {\n\t\t\t\t\t\tif (chunk.hasRuntime()) return;\n\t\t\t\t\t\thash.update(\"CommonJsChunkFormatPlugin\");\n\t\t\t\t\t\thash.update(\"1\");\n\t\t\t\t\t\tconst entries = Array.from(\n\t\t\t\t\t\t\tchunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tupdateHashForEntryStartup(hash, chunkGraph, entries, chunk);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = CommonJsChunkFormatPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").ChunkLoadingType} ChunkLoadingType */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/** @type {WeakMap<Compiler, Set<ChunkLoadingType>>} */\nconst enabledTypes = new WeakMap();\n\nconst getEnabledTypes = compiler => {\n\tlet set = enabledTypes.get(compiler);\n\tif (set === undefined) {\n\t\tset = new Set();\n\t\tenabledTypes.set(compiler, set);\n\t}\n\treturn set;\n};\n\nclass EnableChunkLoadingPlugin {\n\t/**\n\t * @param {ChunkLoadingType} type library type that should be available\n\t */\n\tconstructor(type) {\n\t\tthis.type = type;\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {ChunkLoadingType} type type of library\n\t * @returns {void}\n\t */\n\tstatic setEnabled(compiler, type) {\n\t\tgetEnabledTypes(compiler).add(type);\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {ChunkLoadingType} type type of library\n\t * @returns {void}\n\t */\n\tstatic checkEnabled(compiler, type) {\n\t\tif (!getEnabledTypes(compiler).has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Chunk loading type \"${type}\" is not enabled. ` +\n\t\t\t\t\t\"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. \" +\n\t\t\t\t\t'This usually happens through the \"output.enabledChunkLoadingTypes\" option. ' +\n\t\t\t\t\t'If you are using a function as entry which sets \"chunkLoading\", you need to add all potential chunk loading types to \"output.enabledChunkLoadingTypes\". ' +\n\t\t\t\t\t\"These types are enabled: \" +\n\t\t\t\t\tArray.from(getEnabledTypes(compiler)).join(\", \")\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { type } = this;\n\n\t\t// Only enable once\n\t\tconst enabled = getEnabledTypes(compiler);\n\t\tif (enabled.has(type)) return;\n\t\tenabled.add(type);\n\n\t\tif (typeof type === \"string\") {\n\t\t\tswitch (type) {\n\t\t\t\tcase \"jsonp\": {\n\t\t\t\t\tconst JsonpChunkLoadingPlugin = __webpack_require__(/*! ../web/JsonpChunkLoadingPlugin */ \"./node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js\");\n\t\t\t\t\tnew JsonpChunkLoadingPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"import-scripts\": {\n\t\t\t\t\tconst ImportScriptsChunkLoadingPlugin = __webpack_require__(/*! ../webworker/ImportScriptsChunkLoadingPlugin */ \"./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js\");\n\t\t\t\t\tnew ImportScriptsChunkLoadingPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"require\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst CommonJsChunkLoadingPlugin = __webpack_require__(/*! ../node/CommonJsChunkLoadingPlugin */ \"./node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js\");\n\t\t\t\t\tnew CommonJsChunkLoadingPlugin({\n\t\t\t\t\t\tasyncChunkLoading: false\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"async-node\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst CommonJsChunkLoadingPlugin = __webpack_require__(/*! ../node/CommonJsChunkLoadingPlugin */ \"./node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js\");\n\t\t\t\t\tnew CommonJsChunkLoadingPlugin({\n\t\t\t\t\t\tasyncChunkLoading: true\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"import\": {\n\t\t\t\t\tconst ModuleChunkLoadingPlugin = __webpack_require__(/*! ../esm/ModuleChunkLoadingPlugin */ \"./node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js\");\n\t\t\t\t\tnew ModuleChunkLoadingPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"universal\":\n\t\t\t\t\t// TODO implement universal chunk loading\n\t\t\t\t\tthrow new Error(\"Universal Chunk Loading is not implemented yet\");\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unsupported chunk loading type ${type}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`);\n\t\t\t}\n\t\t} else {\n\t\t\t// TODO support plugin instances here\n\t\t\t// apply them to the compiler\n\t\t}\n\t}\n}\n\nmodule.exports = EnableChunkLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/JavascriptGenerator.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/JavascriptGenerator.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?9268\");\nconst { RawSource, ReplaceSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst HarmonyCompatibilityDependency = __webpack_require__(/*! ../dependencies/HarmonyCompatibilityDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../DependenciesBlock\")} DependenciesBlock */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\n// TODO: clean up this file\n// replace with newer constructs\n\nconst deprecatedGetInitFragments = util.deprecate(\n\t(template, dependency, templateContext) =>\n\t\ttemplate.getInitFragments(dependency, templateContext),\n\t\"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)\",\n\t\"DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS\"\n);\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass JavascriptGenerator extends Generator {\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst originalSource = module.originalSource();\n\t\tif (!originalSource) {\n\t\t\treturn 39;\n\t\t}\n\t\treturn originalSource.size();\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the bailout reason should be determined\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(module, context) {\n\t\t// Only harmony modules are valid for optimization\n\t\tif (\n\t\t\t!module.buildMeta ||\n\t\t\tmodule.buildMeta.exportsType !== \"namespace\" ||\n\t\t\tmodule.presentationalDependencies === undefined ||\n\t\t\t!module.presentationalDependencies.some(\n\t\t\t\td => d instanceof HarmonyCompatibilityDependency\n\t\t\t)\n\t\t) {\n\t\t\treturn \"Module is not an ECMAScript module\";\n\t\t}\n\n\t\t// Some expressions are not compatible with module concatenation\n\t\t// because they may produce unexpected results. The plugin bails out\n\t\t// if some were detected upfront.\n\t\tif (module.buildInfo && module.buildInfo.moduleConcatenationBailout) {\n\t\t\treturn `Module uses ${module.buildInfo.moduleConcatenationBailout}`;\n\t\t}\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst originalSource = module.originalSource();\n\t\tif (!originalSource) {\n\t\t\treturn new RawSource(\"throw new Error('No source available');\");\n\t\t}\n\n\t\tconst source = new ReplaceSource(originalSource);\n\t\tconst initFragments = [];\n\n\t\tthis.sourceModule(module, initFragments, source, generateContext);\n\n\t\treturn InitFragment.addToSource(source, initFragments, generateContext);\n\t}\n\n\t/**\n\t * @param {Module} module the module to generate\n\t * @param {InitFragment[]} initFragments mutable list of init fragments\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {GenerateContext} generateContext the generateContext\n\t * @returns {void}\n\t */\n\tsourceModule(module, initFragments, source, generateContext) {\n\t\tfor (const dependency of module.dependencies) {\n\t\t\tthis.sourceDependency(\n\t\t\t\tmodule,\n\t\t\t\tdependency,\n\t\t\t\tinitFragments,\n\t\t\t\tsource,\n\t\t\t\tgenerateContext\n\t\t\t);\n\t\t}\n\n\t\tif (module.presentationalDependencies !== undefined) {\n\t\t\tfor (const dependency of module.presentationalDependencies) {\n\t\t\t\tthis.sourceDependency(\n\t\t\t\t\tmodule,\n\t\t\t\t\tdependency,\n\t\t\t\t\tinitFragments,\n\t\t\t\t\tsource,\n\t\t\t\t\tgenerateContext\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tfor (const childBlock of module.blocks) {\n\t\t\tthis.sourceBlock(\n\t\t\t\tmodule,\n\t\t\t\tchildBlock,\n\t\t\t\tinitFragments,\n\t\t\t\tsource,\n\t\t\t\tgenerateContext\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the module to generate\n\t * @param {DependenciesBlock} block the dependencies block which will be processed\n\t * @param {InitFragment[]} initFragments mutable list of init fragments\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {GenerateContext} generateContext the generateContext\n\t * @returns {void}\n\t */\n\tsourceBlock(module, block, initFragments, source, generateContext) {\n\t\tfor (const dependency of block.dependencies) {\n\t\t\tthis.sourceDependency(\n\t\t\t\tmodule,\n\t\t\t\tdependency,\n\t\t\t\tinitFragments,\n\t\t\t\tsource,\n\t\t\t\tgenerateContext\n\t\t\t);\n\t\t}\n\n\t\tfor (const childBlock of block.blocks) {\n\t\t\tthis.sourceBlock(\n\t\t\t\tmodule,\n\t\t\t\tchildBlock,\n\t\t\t\tinitFragments,\n\t\t\t\tsource,\n\t\t\t\tgenerateContext\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the current module\n\t * @param {Dependency} dependency the dependency to generate\n\t * @param {InitFragment[]} initFragments mutable list of init fragments\n\t * @param {ReplaceSource} source the current replace source which can be modified\n\t * @param {GenerateContext} generateContext the render context\n\t * @returns {void}\n\t */\n\tsourceDependency(module, dependency, initFragments, source, generateContext) {\n\t\tconst constructor = /** @type {new (...args: any[]) => Dependency} */ (\n\t\t\tdependency.constructor\n\t\t);\n\t\tconst template = generateContext.dependencyTemplates.get(constructor);\n\t\tif (!template) {\n\t\t\tthrow new Error(\n\t\t\t\t\"No template for dependency: \" + dependency.constructor.name\n\t\t\t);\n\t\t}\n\n\t\tconst templateContext = {\n\t\t\truntimeTemplate: generateContext.runtimeTemplate,\n\t\t\tdependencyTemplates: generateContext.dependencyTemplates,\n\t\t\tmoduleGraph: generateContext.moduleGraph,\n\t\t\tchunkGraph: generateContext.chunkGraph,\n\t\t\tmodule,\n\t\t\truntime: generateContext.runtime,\n\t\t\truntimeRequirements: generateContext.runtimeRequirements,\n\t\t\tconcatenationScope: generateContext.concatenationScope,\n\t\t\tcodeGenerationResults: generateContext.codeGenerationResults,\n\t\t\tinitFragments\n\t\t};\n\n\t\ttemplate.apply(dependency, source, templateContext);\n\n\t\t// TODO remove in webpack 6\n\t\tif (\"getInitFragments\" in template) {\n\t\t\tconst fragments = deprecatedGetInitFragments(\n\t\t\t\ttemplate,\n\t\t\t\tdependency,\n\t\t\t\ttemplateContext\n\t\t\t);\n\n\t\t\tif (fragments) {\n\t\t\t\tfor (const fragment of fragments) {\n\t\t\t\t\tinitFragments.push(fragment);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = JavascriptGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/JavascriptGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncWaterfallHook, SyncHook, SyncBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst vm = __webpack_require__(/*! vm */ \"?3581\");\nconst {\n\tConcatSource,\n\tOriginalSource,\n\tPrefixSource,\n\tRawSource,\n\tCachedSource\n} = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst { tryRunOrWebpackError } = __webpack_require__(/*! ../HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst HotUpdateChunk = __webpack_require__(/*! ../HotUpdateChunk */ \"./node_modules/webpack/lib/HotUpdateChunk.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { last, someInIterable } = __webpack_require__(/*! ../util/IterableHelpers */ \"./node_modules/webpack/lib/util/IterableHelpers.js\");\nconst StringXor = __webpack_require__(/*! ../util/StringXor */ \"./node_modules/webpack/lib/util/StringXor.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst nonNumericOnlyHash = __webpack_require__(/*! ../util/nonNumericOnlyHash */ \"./node_modules/webpack/lib/util/nonNumericOnlyHash.js\");\nconst { intersectRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst JavascriptGenerator = __webpack_require__(/*! ./JavascriptGenerator */ \"./node_modules/webpack/lib/javascript/JavascriptGenerator.js\");\nconst JavascriptParser = __webpack_require__(/*! ./JavascriptParser */ \"./node_modules/webpack/lib/javascript/JavascriptParser.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\n/**\n * @param {Chunk} chunk a chunk\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @returns {boolean} true, when a JS file is needed for this chunk\n */\nconst chunkHasJs = (chunk, chunkGraph) => {\n\tif (chunkGraph.getNumberOfEntryModules(chunk) > 0) return true;\n\n\treturn chunkGraph.getChunkModulesIterableBySourceType(chunk, \"javascript\")\n\t\t? true\n\t\t: false;\n};\n\nconst printGeneratedCodeForStack = (module, code) => {\n\tconst lines = code.split(\"\\n\");\n\tconst n = `${lines.length}`.length;\n\treturn `\\n\\nGenerated code for ${module.identifier()}\\n${lines\n\t\t.map((line, i, lines) => {\n\t\t\tconst iStr = `${i + 1}`;\n\t\t\treturn `${\" \".repeat(n - iStr.length)}${iStr} | ${line}`;\n\t\t})\n\t\t.join(\"\\n\")}`;\n};\n\n/**\n * @typedef {Object} RenderContext\n * @property {Chunk} chunk the chunk\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n * @property {boolean} strictMode rendering in strict context\n */\n\n/**\n * @typedef {Object} MainRenderContext\n * @property {Chunk} chunk the chunk\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n * @property {string} hash hash to be used for render call\n * @property {boolean} strictMode rendering in strict context\n */\n\n/**\n * @typedef {Object} ChunkRenderContext\n * @property {Chunk} chunk the chunk\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n * @property {InitFragment<ChunkRenderContext>[]} chunkInitFragments init fragments for the chunk\n * @property {boolean} strictMode rendering in strict context\n */\n\n/**\n * @typedef {Object} RenderBootstrapContext\n * @property {Chunk} chunk the chunk\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {string} hash hash to be used for render call\n */\n\n/** @typedef {RenderContext & { inlined: boolean }} StartupRenderContext */\n\n/**\n * @typedef {Object} CompilationHooks\n * @property {SyncWaterfallHook<[Source, Module, ChunkRenderContext]>} renderModuleContent\n * @property {SyncWaterfallHook<[Source, Module, ChunkRenderContext]>} renderModuleContainer\n * @property {SyncWaterfallHook<[Source, Module, ChunkRenderContext]>} renderModulePackage\n * @property {SyncWaterfallHook<[Source, RenderContext]>} renderChunk\n * @property {SyncWaterfallHook<[Source, RenderContext]>} renderMain\n * @property {SyncWaterfallHook<[Source, RenderContext]>} renderContent\n * @property {SyncWaterfallHook<[Source, RenderContext]>} render\n * @property {SyncWaterfallHook<[Source, Module, StartupRenderContext]>} renderStartup\n * @property {SyncWaterfallHook<[string, RenderBootstrapContext]>} renderRequire\n * @property {SyncBailHook<[Module, RenderBootstrapContext], string>} inlineInRuntimeBailout\n * @property {SyncBailHook<[Module, RenderContext], string>} embedInRuntimeBailout\n * @property {SyncBailHook<[RenderContext], string>} strictRuntimeBailout\n * @property {SyncHook<[Chunk, Hash, ChunkHashContext]>} chunkHash\n * @property {SyncBailHook<[Chunk, RenderContext], boolean>} useSourceMap\n */\n\n/** @type {WeakMap<Compilation, CompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass JavascriptModulesPlugin {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {CompilationHooks} the attached hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\trenderModuleContent: new SyncWaterfallHook([\n\t\t\t\t\t\"source\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"renderContext\"\n\t\t\t\t]),\n\t\t\t\trenderModuleContainer: new SyncWaterfallHook([\n\t\t\t\t\t\"source\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"renderContext\"\n\t\t\t\t]),\n\t\t\t\trenderModulePackage: new SyncWaterfallHook([\n\t\t\t\t\t\"source\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"renderContext\"\n\t\t\t\t]),\n\t\t\t\trender: new SyncWaterfallHook([\"source\", \"renderContext\"]),\n\t\t\t\trenderContent: new SyncWaterfallHook([\"source\", \"renderContext\"]),\n\t\t\t\trenderStartup: new SyncWaterfallHook([\n\t\t\t\t\t\"source\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"startupRenderContext\"\n\t\t\t\t]),\n\t\t\t\trenderChunk: new SyncWaterfallHook([\"source\", \"renderContext\"]),\n\t\t\t\trenderMain: new SyncWaterfallHook([\"source\", \"renderContext\"]),\n\t\t\t\trenderRequire: new SyncWaterfallHook([\"code\", \"renderContext\"]),\n\t\t\t\tinlineInRuntimeBailout: new SyncBailHook([\"module\", \"renderContext\"]),\n\t\t\t\tembedInRuntimeBailout: new SyncBailHook([\"module\", \"renderContext\"]),\n\t\t\t\tstrictRuntimeBailout: new SyncBailHook([\"renderContext\"]),\n\t\t\t\tchunkHash: new SyncHook([\"chunk\", \"hash\", \"context\"]),\n\t\t\t\tuseSourceMap: new SyncBailHook([\"chunk\", \"renderContext\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(options = {}) {\n\t\tthis.options = options;\n\t\t/** @type {WeakMap<Source, TODO>} */\n\t\tthis._moduleFactoryCache = new WeakMap();\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", options => {\n\t\t\t\t\t\treturn new JavascriptParser(\"auto\");\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", options => {\n\t\t\t\t\t\treturn new JavascriptParser(\"script\");\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", options => {\n\t\t\t\t\t\treturn new JavascriptParser(\"module\");\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", () => {\n\t\t\t\t\t\treturn new JavascriptGenerator();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"javascript/dynamic\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", () => {\n\t\t\t\t\t\treturn new JavascriptGenerator();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"JavascriptModulesPlugin\", () => {\n\t\t\t\t\t\treturn new JavascriptGenerator();\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.renderManifest.tap(\n\t\t\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t\t\t(result, options) => {\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\toutputOptions,\n\t\t\t\t\t\t\tcodeGenerationResults\n\t\t\t\t\t\t} = options;\n\n\t\t\t\t\t\tconst hotUpdateChunk =\n\t\t\t\t\t\t\tchunk instanceof HotUpdateChunk ? chunk : null;\n\n\t\t\t\t\t\tlet render;\n\t\t\t\t\t\tconst filenameTemplate =\n\t\t\t\t\t\t\tJavascriptModulesPlugin.getChunkFilenameTemplate(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\toutputOptions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tif (hotUpdateChunk) {\n\t\t\t\t\t\t\trender = () =>\n\t\t\t\t\t\t\t\tthis.renderChunk(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t\t\t\t\tstrictMode: runtimeTemplate.isModule()\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\thooks\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (chunk.hasRuntime()) {\n\t\t\t\t\t\t\trender = () =>\n\t\t\t\t\t\t\t\tthis.renderMain(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t\t\t\t\tstrictMode: runtimeTemplate.isModule()\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\thooks,\n\t\t\t\t\t\t\t\t\tcompilation\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (!chunkHasJs(chunk, chunkGraph)) {\n\t\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\trender = () =>\n\t\t\t\t\t\t\t\tthis.renderChunk(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t\t\t\t\tstrictMode: runtimeTemplate.isModule()\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\thooks\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresult.push({\n\t\t\t\t\t\t\trender,\n\t\t\t\t\t\t\tfilenameTemplate,\n\t\t\t\t\t\t\tpathOptions: {\n\t\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\t\truntime: chunk.runtime,\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinfo: {\n\t\t\t\t\t\t\t\tjavascriptModule: compilation.runtimeTemplate.isModule()\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tidentifier: hotUpdateChunk\n\t\t\t\t\t\t\t\t? `hotupdatechunk${chunk.id}`\n\t\t\t\t\t\t\t\t: `chunk${chunk.id}`,\n\t\t\t\t\t\t\thash: chunk.contentHash.javascript\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.chunkHash.tap(\n\t\t\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t\t\t(chunk, hash, context) => {\n\t\t\t\t\t\thooks.chunkHash.call(chunk, hash, context);\n\t\t\t\t\t\tif (chunk.hasRuntime()) {\n\t\t\t\t\t\t\tthis.updateHashWithBootstrap(\n\t\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thash: \"0000\",\n\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\tcodeGenerationResults: context.codeGenerationResults,\n\t\t\t\t\t\t\t\t\tchunkGraph: context.chunkGraph,\n\t\t\t\t\t\t\t\t\tmoduleGraph: context.moduleGraph,\n\t\t\t\t\t\t\t\t\truntimeTemplate: context.runtimeTemplate\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\thooks\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.contentHash.tap(\"JavascriptModulesPlugin\", chunk => {\n\t\t\t\t\tconst {\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\toutputOptions: {\n\t\t\t\t\t\t\thashSalt,\n\t\t\t\t\t\t\thashDigest,\n\t\t\t\t\t\t\thashDigestLength,\n\t\t\t\t\t\t\thashFunction\n\t\t\t\t\t\t}\n\t\t\t\t\t} = compilation;\n\t\t\t\t\tconst hash = createHash(hashFunction);\n\t\t\t\t\tif (hashSalt) hash.update(hashSalt);\n\t\t\t\t\tif (chunk.hasRuntime()) {\n\t\t\t\t\t\tthis.updateHashWithBootstrap(\n\t\t\t\t\t\t\thash,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thash: \"0000\",\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\t\t\tchunkGraph: compilation.chunkGraph,\n\t\t\t\t\t\t\t\tmoduleGraph: compilation.moduleGraph,\n\t\t\t\t\t\t\t\truntimeTemplate: compilation.runtimeTemplate\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\thooks\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\thash.update(`${chunk.id} `);\n\t\t\t\t\t\thash.update(chunk.ids ? chunk.ids.join(\",\") : \"\");\n\t\t\t\t\t}\n\t\t\t\t\thooks.chunkHash.call(chunk, hash, {\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\truntimeTemplate\n\t\t\t\t\t});\n\t\t\t\t\tconst modules = chunkGraph.getChunkModulesIterableBySourceType(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\"javascript\"\n\t\t\t\t\t);\n\t\t\t\t\tif (modules) {\n\t\t\t\t\t\tconst xor = new StringXor();\n\t\t\t\t\t\tfor (const m of modules) {\n\t\t\t\t\t\t\txor.add(chunkGraph.getModuleHash(m, chunk.runtime));\n\t\t\t\t\t\t}\n\t\t\t\t\t\txor.updateHash(hash);\n\t\t\t\t\t}\n\t\t\t\t\tconst runtimeModules = chunkGraph.getChunkModulesIterableBySourceType(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\"runtime\"\n\t\t\t\t\t);\n\t\t\t\t\tif (runtimeModules) {\n\t\t\t\t\t\tconst xor = new StringXor();\n\t\t\t\t\t\tfor (const m of runtimeModules) {\n\t\t\t\t\t\t\txor.add(chunkGraph.getModuleHash(m, chunk.runtime));\n\t\t\t\t\t\t}\n\t\t\t\t\t\txor.updateHash(hash);\n\t\t\t\t\t}\n\t\t\t\t\tconst digest = /** @type {string} */ (hash.digest(hashDigest));\n\t\t\t\t\tchunk.contentHash.javascript = nonNumericOnlyHash(\n\t\t\t\t\t\tdigest,\n\t\t\t\t\t\thashDigestLength\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!set.has(RuntimeGlobals.startupNoDefault) &&\n\t\t\t\t\t\t\tchunkGraph.hasChunkEntryDependentChunks(chunk)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.onChunksLoaded);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.executeModule.tap(\n\t\t\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t\t\t(options, context) => {\n\t\t\t\t\t\tconst source =\n\t\t\t\t\t\t\toptions.codeGenerationResult.sources.get(\"javascript\");\n\t\t\t\t\t\tif (source === undefined) return;\n\t\t\t\t\t\tconst { module, moduleObject } = options;\n\t\t\t\t\t\tconst code = source.source();\n\n\t\t\t\t\t\tconst fn = vm.runInThisContext(\n\t\t\t\t\t\t\t`(function(${module.moduleArgument}, ${module.exportsArgument}, __webpack_require__) {\\n${code}\\n/**/})`,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfilename: module.identifier(),\n\t\t\t\t\t\t\t\tlineOffset: -1\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfn.call(\n\t\t\t\t\t\t\t\tmoduleObject.exports,\n\t\t\t\t\t\t\t\tmoduleObject,\n\t\t\t\t\t\t\t\tmoduleObject.exports,\n\t\t\t\t\t\t\t\tcontext.__webpack_require__\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\te.stack += printGeneratedCodeForStack(options.module, code);\n\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.executeModule.tap(\n\t\t\t\t\t\"JavascriptModulesPlugin\",\n\t\t\t\t\t(options, context) => {\n\t\t\t\t\t\tconst source = options.codeGenerationResult.sources.get(\"runtime\");\n\t\t\t\t\t\tif (source === undefined) return;\n\t\t\t\t\t\tlet code = source.source();\n\t\t\t\t\t\tif (typeof code !== \"string\") code = code.toString();\n\n\t\t\t\t\t\tconst fn = vm.runInThisContext(\n\t\t\t\t\t\t\t`(function(__webpack_require__) {\\n${code}\\n/**/})`,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tfilename: options.module.identifier(),\n\t\t\t\t\t\t\t\tlineOffset: -1\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfn.call(null, context.__webpack_require__);\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\te.stack += printGeneratedCodeForStack(options.module, code);\n\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\tstatic getChunkFilenameTemplate(chunk, outputOptions) {\n\t\tif (chunk.filenameTemplate) {\n\t\t\treturn chunk.filenameTemplate;\n\t\t} else if (chunk instanceof HotUpdateChunk) {\n\t\t\treturn outputOptions.hotUpdateChunkFilename;\n\t\t} else if (chunk.canBeInitial()) {\n\t\t\treturn outputOptions.filename;\n\t\t} else {\n\t\t\treturn outputOptions.chunkFilename;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Module} module the rendered module\n\t * @param {ChunkRenderContext} renderContext options object\n\t * @param {CompilationHooks} hooks hooks\n\t * @param {boolean} factory true: renders as factory method, false: pure module content\n\t * @returns {Source} the newly generated source from rendering\n\t */\n\trenderModule(module, renderContext, hooks, factory) {\n\t\tconst {\n\t\t\tchunk,\n\t\t\tchunkGraph,\n\t\t\truntimeTemplate,\n\t\t\tcodeGenerationResults,\n\t\t\tstrictMode\n\t\t} = renderContext;\n\t\ttry {\n\t\t\tconst codeGenResult = codeGenerationResults.get(module, chunk.runtime);\n\t\t\tconst moduleSource = codeGenResult.sources.get(\"javascript\");\n\t\t\tif (!moduleSource) return null;\n\t\t\tif (codeGenResult.data !== undefined) {\n\t\t\t\tconst chunkInitFragments = codeGenResult.data.get(\"chunkInitFragments\");\n\t\t\t\tif (chunkInitFragments) {\n\t\t\t\t\tfor (const i of chunkInitFragments)\n\t\t\t\t\t\trenderContext.chunkInitFragments.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst moduleSourcePostContent = tryRunOrWebpackError(\n\t\t\t\t() =>\n\t\t\t\t\thooks.renderModuleContent.call(moduleSource, module, renderContext),\n\t\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent\"\n\t\t\t);\n\t\t\tlet moduleSourcePostContainer;\n\t\t\tif (factory) {\n\t\t\t\tconst runtimeRequirements = chunkGraph.getModuleRuntimeRequirements(\n\t\t\t\t\tmodule,\n\t\t\t\t\tchunk.runtime\n\t\t\t\t);\n\t\t\t\tconst needModule = runtimeRequirements.has(RuntimeGlobals.module);\n\t\t\t\tconst needExports = runtimeRequirements.has(RuntimeGlobals.exports);\n\t\t\t\tconst needRequire =\n\t\t\t\t\truntimeRequirements.has(RuntimeGlobals.require) ||\n\t\t\t\t\truntimeRequirements.has(RuntimeGlobals.requireScope);\n\t\t\t\tconst needThisAsExports = runtimeRequirements.has(\n\t\t\t\t\tRuntimeGlobals.thisAsExports\n\t\t\t\t);\n\t\t\t\tconst needStrict = module.buildInfo.strict && !strictMode;\n\t\t\t\tconst cacheEntry = this._moduleFactoryCache.get(\n\t\t\t\t\tmoduleSourcePostContent\n\t\t\t\t);\n\t\t\t\tlet source;\n\t\t\t\tif (\n\t\t\t\t\tcacheEntry &&\n\t\t\t\t\tcacheEntry.needModule === needModule &&\n\t\t\t\t\tcacheEntry.needExports === needExports &&\n\t\t\t\t\tcacheEntry.needRequire === needRequire &&\n\t\t\t\t\tcacheEntry.needThisAsExports === needThisAsExports &&\n\t\t\t\t\tcacheEntry.needStrict === needStrict\n\t\t\t\t) {\n\t\t\t\t\tsource = cacheEntry.source;\n\t\t\t\t} else {\n\t\t\t\t\tconst factorySource = new ConcatSource();\n\t\t\t\t\tconst args = [];\n\t\t\t\t\tif (needExports || needRequire || needModule)\n\t\t\t\t\t\targs.push(\n\t\t\t\t\t\t\tneedModule\n\t\t\t\t\t\t\t\t? module.moduleArgument\n\t\t\t\t\t\t\t\t: \"__unused_webpack_\" + module.moduleArgument\n\t\t\t\t\t\t);\n\t\t\t\t\tif (needExports || needRequire)\n\t\t\t\t\t\targs.push(\n\t\t\t\t\t\t\tneedExports\n\t\t\t\t\t\t\t\t? module.exportsArgument\n\t\t\t\t\t\t\t\t: \"__unused_webpack_\" + module.exportsArgument\n\t\t\t\t\t\t);\n\t\t\t\t\tif (needRequire) args.push(\"__webpack_require__\");\n\t\t\t\t\tif (!needThisAsExports && runtimeTemplate.supportsArrowFunction()) {\n\t\t\t\t\t\tfactorySource.add(\"/***/ ((\" + args.join(\", \") + \") => {\\n\\n\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfactorySource.add(\"/***/ (function(\" + args.join(\", \") + \") {\\n\\n\");\n\t\t\t\t\t}\n\t\t\t\t\tif (needStrict) {\n\t\t\t\t\t\tfactorySource.add('\"use strict\";\\n');\n\t\t\t\t\t}\n\t\t\t\t\tfactorySource.add(moduleSourcePostContent);\n\t\t\t\t\tfactorySource.add(\"\\n\\n/***/ })\");\n\t\t\t\t\tsource = new CachedSource(factorySource);\n\t\t\t\t\tthis._moduleFactoryCache.set(moduleSourcePostContent, {\n\t\t\t\t\t\tsource,\n\t\t\t\t\t\tneedModule,\n\t\t\t\t\t\tneedExports,\n\t\t\t\t\t\tneedRequire,\n\t\t\t\t\t\tneedThisAsExports,\n\t\t\t\t\t\tneedStrict\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tmoduleSourcePostContainer = tryRunOrWebpackError(\n\t\t\t\t\t() => hooks.renderModuleContainer.call(source, module, renderContext),\n\t\t\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer\"\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tmoduleSourcePostContainer = moduleSourcePostContent;\n\t\t\t}\n\t\t\treturn tryRunOrWebpackError(\n\t\t\t\t() =>\n\t\t\t\t\thooks.renderModulePackage.call(\n\t\t\t\t\t\tmoduleSourcePostContainer,\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\trenderContext\n\t\t\t\t\t),\n\t\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage\"\n\t\t\t);\n\t\t} catch (e) {\n\t\t\te.module = module;\n\t\t\tthrow e;\n\t\t}\n\t}\n\n\t/**\n\t * @param {RenderContext} renderContext the render context\n\t * @param {CompilationHooks} hooks hooks\n\t * @returns {Source} the rendered source\n\t */\n\trenderChunk(renderContext, hooks) {\n\t\tconst { chunk, chunkGraph } = renderContext;\n\t\tconst modules = chunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\tchunk,\n\t\t\t\"javascript\",\n\t\t\tcompareModulesByIdentifier\n\t\t);\n\t\tconst allModules = modules ? Array.from(modules) : [];\n\t\tlet strictHeader;\n\t\tlet allStrict = renderContext.strictMode;\n\t\tif (!allStrict && allModules.every(m => m.buildInfo.strict)) {\n\t\t\tconst strictBailout = hooks.strictRuntimeBailout.call(renderContext);\n\t\t\tstrictHeader = strictBailout\n\t\t\t\t? `// runtime can't be in strict mode because ${strictBailout}.\\n`\n\t\t\t\t: '\"use strict\";\\n';\n\t\t\tif (!strictBailout) allStrict = true;\n\t\t}\n\t\t/** @type {ChunkRenderContext} */\n\t\tconst chunkRenderContext = {\n\t\t\t...renderContext,\n\t\t\tchunkInitFragments: [],\n\t\t\tstrictMode: allStrict\n\t\t};\n\t\tconst moduleSources =\n\t\t\tTemplate.renderChunkModules(chunkRenderContext, allModules, module =>\n\t\t\t\tthis.renderModule(module, chunkRenderContext, hooks, true)\n\t\t\t) || new RawSource(\"{}\");\n\t\tlet source = tryRunOrWebpackError(\n\t\t\t() => hooks.renderChunk.call(moduleSources, chunkRenderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderChunk\"\n\t\t);\n\t\tsource = tryRunOrWebpackError(\n\t\t\t() => hooks.renderContent.call(source, chunkRenderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderContent\"\n\t\t);\n\t\tif (!source) {\n\t\t\tthrow new Error(\n\t\t\t\t\"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something\"\n\t\t\t);\n\t\t}\n\t\tsource = InitFragment.addToSource(\n\t\t\tsource,\n\t\t\tchunkRenderContext.chunkInitFragments,\n\t\t\tchunkRenderContext\n\t\t);\n\t\tsource = tryRunOrWebpackError(\n\t\t\t() => hooks.render.call(source, chunkRenderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().render\"\n\t\t);\n\t\tif (!source) {\n\t\t\tthrow new Error(\n\t\t\t\t\"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something\"\n\t\t\t);\n\t\t}\n\t\tchunk.rendered = true;\n\t\treturn strictHeader\n\t\t\t? new ConcatSource(strictHeader, source, \";\")\n\t\t\t: renderContext.runtimeTemplate.isModule()\n\t\t\t? source\n\t\t\t: new ConcatSource(source, \";\");\n\t}\n\n\t/**\n\t * @param {MainRenderContext} renderContext options object\n\t * @param {CompilationHooks} hooks hooks\n\t * @param {Compilation} compilation the compilation\n\t * @returns {Source} the newly generated source from rendering\n\t */\n\trenderMain(renderContext, hooks, compilation) {\n\t\tconst { chunk, chunkGraph, runtimeTemplate } = renderContext;\n\n\t\tconst runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);\n\t\tconst iife = runtimeTemplate.isIIFE();\n\n\t\tconst bootstrap = this.renderBootstrap(renderContext, hooks);\n\t\tconst useSourceMap = hooks.useSourceMap.call(chunk, renderContext);\n\n\t\tconst allModules = Array.from(\n\t\t\tchunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\t\tchunk,\n\t\t\t\t\"javascript\",\n\t\t\t\tcompareModulesByIdentifier\n\t\t\t) || []\n\t\t);\n\n\t\tconst hasEntryModules = chunkGraph.getNumberOfEntryModules(chunk) > 0;\n\t\tlet inlinedModules;\n\t\tif (bootstrap.allowInlineStartup && hasEntryModules) {\n\t\t\tinlinedModules = new Set(chunkGraph.getChunkEntryModulesIterable(chunk));\n\t\t}\n\n\t\tlet source = new ConcatSource();\n\t\tlet prefix;\n\t\tif (iife) {\n\t\t\tif (runtimeTemplate.supportsArrowFunction()) {\n\t\t\t\tsource.add(\"/******/ (() => { // webpackBootstrap\\n\");\n\t\t\t} else {\n\t\t\t\tsource.add(\"/******/ (function() { // webpackBootstrap\\n\");\n\t\t\t}\n\t\t\tprefix = \"/******/ \\t\";\n\t\t} else {\n\t\t\tprefix = \"/******/ \";\n\t\t}\n\t\tlet allStrict = renderContext.strictMode;\n\t\tif (!allStrict && allModules.every(m => m.buildInfo.strict)) {\n\t\t\tconst strictBailout = hooks.strictRuntimeBailout.call(renderContext);\n\t\t\tif (strictBailout) {\n\t\t\t\tsource.add(\n\t\t\t\t\tprefix +\n\t\t\t\t\t\t`// runtime can't be in strict mode because ${strictBailout}.\\n`\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tallStrict = true;\n\t\t\t\tsource.add(prefix + '\"use strict\";\\n');\n\t\t\t}\n\t\t}\n\n\t\t/** @type {ChunkRenderContext} */\n\t\tconst chunkRenderContext = {\n\t\t\t...renderContext,\n\t\t\tchunkInitFragments: [],\n\t\t\tstrictMode: allStrict\n\t\t};\n\n\t\tconst chunkModules = Template.renderChunkModules(\n\t\t\tchunkRenderContext,\n\t\t\tinlinedModules\n\t\t\t\t? allModules.filter(m => !inlinedModules.has(m))\n\t\t\t\t: allModules,\n\t\t\tmodule => this.renderModule(module, chunkRenderContext, hooks, true),\n\t\t\tprefix\n\t\t);\n\t\tif (\n\t\t\tchunkModules ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.moduleFactories) ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.moduleFactoriesAddOnly) ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.require)\n\t\t) {\n\t\t\tsource.add(prefix + \"var __webpack_modules__ = (\");\n\t\t\tsource.add(chunkModules || \"{}\");\n\t\t\tsource.add(\");\\n\");\n\t\t\tsource.add(\n\t\t\t\t\"/************************************************************************/\\n\"\n\t\t\t);\n\t\t}\n\n\t\tif (bootstrap.header.length > 0) {\n\t\t\tconst header = Template.asString(bootstrap.header) + \"\\n\";\n\t\t\tsource.add(\n\t\t\t\tnew PrefixSource(\n\t\t\t\t\tprefix,\n\t\t\t\t\tuseSourceMap\n\t\t\t\t\t\t? new OriginalSource(header, \"webpack/bootstrap\")\n\t\t\t\t\t\t: new RawSource(header)\n\t\t\t\t)\n\t\t\t);\n\t\t\tsource.add(\n\t\t\t\t\"/************************************************************************/\\n\"\n\t\t\t);\n\t\t}\n\n\t\tconst runtimeModules =\n\t\t\trenderContext.chunkGraph.getChunkRuntimeModulesInOrder(chunk);\n\n\t\tif (runtimeModules.length > 0) {\n\t\t\tsource.add(\n\t\t\t\tnew PrefixSource(\n\t\t\t\t\tprefix,\n\t\t\t\t\tTemplate.renderRuntimeModules(runtimeModules, chunkRenderContext)\n\t\t\t\t)\n\t\t\t);\n\t\t\tsource.add(\n\t\t\t\t\"/************************************************************************/\\n\"\n\t\t\t);\n\t\t\t// runtimeRuntimeModules calls codeGeneration\n\t\t\tfor (const module of runtimeModules) {\n\t\t\t\tcompilation.codeGeneratedModules.add(module);\n\t\t\t}\n\t\t}\n\t\tif (inlinedModules) {\n\t\t\tif (bootstrap.beforeStartup.length > 0) {\n\t\t\t\tconst beforeStartup = Template.asString(bootstrap.beforeStartup) + \"\\n\";\n\t\t\t\tsource.add(\n\t\t\t\t\tnew PrefixSource(\n\t\t\t\t\t\tprefix,\n\t\t\t\t\t\tuseSourceMap\n\t\t\t\t\t\t\t? new OriginalSource(beforeStartup, \"webpack/before-startup\")\n\t\t\t\t\t\t\t: new RawSource(beforeStartup)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst lastInlinedModule = last(inlinedModules);\n\t\t\tconst startupSource = new ConcatSource();\n\t\t\tstartupSource.add(`var __webpack_exports__ = {};\\n`);\n\t\t\tfor (const m of inlinedModules) {\n\t\t\t\tconst renderedModule = this.renderModule(\n\t\t\t\t\tm,\n\t\t\t\t\tchunkRenderContext,\n\t\t\t\t\thooks,\n\t\t\t\t\tfalse\n\t\t\t\t);\n\t\t\t\tif (renderedModule) {\n\t\t\t\t\tconst innerStrict = !allStrict && m.buildInfo.strict;\n\t\t\t\t\tconst runtimeRequirements = chunkGraph.getModuleRuntimeRequirements(\n\t\t\t\t\t\tm,\n\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t);\n\t\t\t\t\tconst exports = runtimeRequirements.has(RuntimeGlobals.exports);\n\t\t\t\t\tconst webpackExports =\n\t\t\t\t\t\texports && m.exportsArgument === \"__webpack_exports__\";\n\t\t\t\t\tlet iife = innerStrict\n\t\t\t\t\t\t? \"it need to be in strict mode.\"\n\t\t\t\t\t\t: inlinedModules.size > 1\n\t\t\t\t\t\t? // TODO check globals and top-level declarations of other entries and chunk modules\n\t\t\t\t\t\t // to make a better decision\n\t\t\t\t\t\t \"it need to be isolated against other entry modules.\"\n\t\t\t\t\t\t: chunkModules\n\t\t\t\t\t\t? \"it need to be isolated against other modules in the chunk.\"\n\t\t\t\t\t\t: exports && !webpackExports\n\t\t\t\t\t\t? `it uses a non-standard name for the exports (${m.exportsArgument}).`\n\t\t\t\t\t\t: hooks.embedInRuntimeBailout.call(m, renderContext);\n\t\t\t\t\tlet footer;\n\t\t\t\t\tif (iife !== undefined) {\n\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t`// This entry need to be wrapped in an IIFE because ${iife}\\n`\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst arrow = runtimeTemplate.supportsArrowFunction();\n\t\t\t\t\t\tif (arrow) {\n\t\t\t\t\t\t\tstartupSource.add(\"(() => {\\n\");\n\t\t\t\t\t\t\tfooter = \"\\n})();\\n\\n\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstartupSource.add(\"!function() {\\n\");\n\t\t\t\t\t\t\tfooter = \"\\n}();\\n\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (innerStrict) startupSource.add('\"use strict\";\\n');\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfooter = \"\\n\";\n\t\t\t\t\t}\n\t\t\t\t\tif (exports) {\n\t\t\t\t\t\tif (m !== lastInlinedModule)\n\t\t\t\t\t\t\tstartupSource.add(`var ${m.exportsArgument} = {};\\n`);\n\t\t\t\t\t\telse if (m.exportsArgument !== \"__webpack_exports__\")\n\t\t\t\t\t\t\tstartupSource.add(\n\t\t\t\t\t\t\t\t`var ${m.exportsArgument} = __webpack_exports__;\\n`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tstartupSource.add(renderedModule);\n\t\t\t\t\tstartupSource.add(footer);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (runtimeRequirements.has(RuntimeGlobals.onChunksLoaded)) {\n\t\t\t\tstartupSource.add(\n\t\t\t\t\t`__webpack_exports__ = ${RuntimeGlobals.onChunksLoaded}(__webpack_exports__);\\n`\n\t\t\t\t);\n\t\t\t}\n\t\t\tsource.add(\n\t\t\t\thooks.renderStartup.call(startupSource, lastInlinedModule, {\n\t\t\t\t\t...renderContext,\n\t\t\t\t\tinlined: true\n\t\t\t\t})\n\t\t\t);\n\t\t\tif (bootstrap.afterStartup.length > 0) {\n\t\t\t\tconst afterStartup = Template.asString(bootstrap.afterStartup) + \"\\n\";\n\t\t\t\tsource.add(\n\t\t\t\t\tnew PrefixSource(\n\t\t\t\t\t\tprefix,\n\t\t\t\t\t\tuseSourceMap\n\t\t\t\t\t\t\t? new OriginalSource(afterStartup, \"webpack/after-startup\")\n\t\t\t\t\t\t\t: new RawSource(afterStartup)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tconst lastEntryModule = last(\n\t\t\t\tchunkGraph.getChunkEntryModulesIterable(chunk)\n\t\t\t);\n\t\t\tconst toSource = useSourceMap\n\t\t\t\t? (content, name) =>\n\t\t\t\t\t\tnew OriginalSource(Template.asString(content), name)\n\t\t\t\t: content => new RawSource(Template.asString(content));\n\t\t\tsource.add(\n\t\t\t\tnew PrefixSource(\n\t\t\t\t\tprefix,\n\t\t\t\t\tnew ConcatSource(\n\t\t\t\t\t\ttoSource(bootstrap.beforeStartup, \"webpack/before-startup\"),\n\t\t\t\t\t\t\"\\n\",\n\t\t\t\t\t\thooks.renderStartup.call(\n\t\t\t\t\t\t\ttoSource(bootstrap.startup.concat(\"\"), \"webpack/startup\"),\n\t\t\t\t\t\t\tlastEntryModule,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t...renderContext,\n\t\t\t\t\t\t\t\tinlined: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t),\n\t\t\t\t\t\ttoSource(bootstrap.afterStartup, \"webpack/after-startup\"),\n\t\t\t\t\t\t\"\\n\"\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t\tif (\n\t\t\thasEntryModules &&\n\t\t\truntimeRequirements.has(RuntimeGlobals.returnExportsFromRuntime)\n\t\t) {\n\t\t\tsource.add(`${prefix}return __webpack_exports__;\\n`);\n\t\t}\n\t\tif (iife) {\n\t\t\tsource.add(\"/******/ })()\\n\");\n\t\t}\n\n\t\t/** @type {Source} */\n\t\tlet finalSource = tryRunOrWebpackError(\n\t\t\t() => hooks.renderMain.call(source, renderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderMain\"\n\t\t);\n\t\tif (!finalSource) {\n\t\t\tthrow new Error(\n\t\t\t\t\"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something\"\n\t\t\t);\n\t\t}\n\t\tfinalSource = tryRunOrWebpackError(\n\t\t\t() => hooks.renderContent.call(finalSource, renderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderContent\"\n\t\t);\n\t\tif (!finalSource) {\n\t\t\tthrow new Error(\n\t\t\t\t\"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something\"\n\t\t\t);\n\t\t}\n\t\tfinalSource = InitFragment.addToSource(\n\t\t\tfinalSource,\n\t\t\tchunkRenderContext.chunkInitFragments,\n\t\t\tchunkRenderContext\n\t\t);\n\t\tfinalSource = tryRunOrWebpackError(\n\t\t\t() => hooks.render.call(finalSource, renderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().render\"\n\t\t);\n\t\tif (!finalSource) {\n\t\t\tthrow new Error(\n\t\t\t\t\"JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something\"\n\t\t\t);\n\t\t}\n\t\tchunk.rendered = true;\n\t\treturn iife ? new ConcatSource(finalSource, \";\") : finalSource;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash to be updated\n\t * @param {RenderBootstrapContext} renderContext options object\n\t * @param {CompilationHooks} hooks hooks\n\t */\n\tupdateHashWithBootstrap(hash, renderContext, hooks) {\n\t\tconst bootstrap = this.renderBootstrap(renderContext, hooks);\n\t\tfor (const key of Object.keys(bootstrap)) {\n\t\t\thash.update(key);\n\t\t\tif (Array.isArray(bootstrap[key])) {\n\t\t\t\tfor (const line of bootstrap[key]) {\n\t\t\t\t\thash.update(line);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\thash.update(JSON.stringify(bootstrap[key]));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {RenderBootstrapContext} renderContext options object\n\t * @param {CompilationHooks} hooks hooks\n\t * @returns {{ header: string[], beforeStartup: string[], startup: string[], afterStartup: string[], allowInlineStartup: boolean }} the generated source of the bootstrap code\n\t */\n\trenderBootstrap(renderContext, hooks) {\n\t\tconst {\n\t\t\tchunkGraph,\n\t\t\tcodeGenerationResults,\n\t\t\tmoduleGraph,\n\t\t\tchunk,\n\t\t\truntimeTemplate\n\t\t} = renderContext;\n\n\t\tconst runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);\n\n\t\tconst requireFunction = runtimeRequirements.has(RuntimeGlobals.require);\n\t\tconst moduleCache = runtimeRequirements.has(RuntimeGlobals.moduleCache);\n\t\tconst moduleFactories = runtimeRequirements.has(\n\t\t\tRuntimeGlobals.moduleFactories\n\t\t);\n\t\tconst moduleUsed = runtimeRequirements.has(RuntimeGlobals.module);\n\t\tconst requireScopeUsed = runtimeRequirements.has(\n\t\t\tRuntimeGlobals.requireScope\n\t\t);\n\t\tconst interceptModuleExecution = runtimeRequirements.has(\n\t\t\tRuntimeGlobals.interceptModuleExecution\n\t\t);\n\n\t\tconst useRequire =\n\t\t\trequireFunction || interceptModuleExecution || moduleUsed;\n\n\t\tconst result = {\n\t\t\theader: [],\n\t\t\tbeforeStartup: [],\n\t\t\tstartup: [],\n\t\t\tafterStartup: [],\n\t\t\tallowInlineStartup: true\n\t\t};\n\n\t\tlet { header: buf, startup, beforeStartup, afterStartup } = result;\n\n\t\tif (result.allowInlineStartup && moduleFactories) {\n\t\t\tstartup.push(\n\t\t\t\t\"// module factories are used so entry inlining is disabled\"\n\t\t\t);\n\t\t\tresult.allowInlineStartup = false;\n\t\t}\n\t\tif (result.allowInlineStartup && moduleCache) {\n\t\t\tstartup.push(\"// module cache are used so entry inlining is disabled\");\n\t\t\tresult.allowInlineStartup = false;\n\t\t}\n\t\tif (result.allowInlineStartup && interceptModuleExecution) {\n\t\t\tstartup.push(\n\t\t\t\t\"// module execution is intercepted so entry inlining is disabled\"\n\t\t\t);\n\t\t\tresult.allowInlineStartup = false;\n\t\t}\n\n\t\tif (useRequire || moduleCache) {\n\t\t\tbuf.push(\"// The module cache\");\n\t\t\tbuf.push(\"var __webpack_module_cache__ = {};\");\n\t\t\tbuf.push(\"\");\n\t\t}\n\n\t\tif (useRequire) {\n\t\t\tbuf.push(\"// The require function\");\n\t\t\tbuf.push(`function __webpack_require__(moduleId) {`);\n\t\t\tbuf.push(Template.indent(this.renderRequire(renderContext, hooks)));\n\t\t\tbuf.push(\"}\");\n\t\t\tbuf.push(\"\");\n\t\t} else if (runtimeRequirements.has(RuntimeGlobals.requireScope)) {\n\t\t\tbuf.push(\"// The require scope\");\n\t\t\tbuf.push(\"var __webpack_require__ = {};\");\n\t\t\tbuf.push(\"\");\n\t\t}\n\n\t\tif (\n\t\t\tmoduleFactories ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.moduleFactoriesAddOnly)\n\t\t) {\n\t\t\tbuf.push(\"// expose the modules object (__webpack_modules__)\");\n\t\t\tbuf.push(`${RuntimeGlobals.moduleFactories} = __webpack_modules__;`);\n\t\t\tbuf.push(\"\");\n\t\t}\n\n\t\tif (moduleCache) {\n\t\t\tbuf.push(\"// expose the module cache\");\n\t\t\tbuf.push(`${RuntimeGlobals.moduleCache} = __webpack_module_cache__;`);\n\t\t\tbuf.push(\"\");\n\t\t}\n\n\t\tif (interceptModuleExecution) {\n\t\t\tbuf.push(\"// expose the module execution interceptor\");\n\t\t\tbuf.push(`${RuntimeGlobals.interceptModuleExecution} = [];`);\n\t\t\tbuf.push(\"\");\n\t\t}\n\n\t\tif (!runtimeRequirements.has(RuntimeGlobals.startupNoDefault)) {\n\t\t\tif (chunkGraph.getNumberOfEntryModules(chunk) > 0) {\n\t\t\t\t/** @type {string[]} */\n\t\t\t\tconst buf2 = [];\n\t\t\t\tconst runtimeRequirements =\n\t\t\t\t\tchunkGraph.getTreeRuntimeRequirements(chunk);\n\t\t\t\tbuf2.push(\"// Load entry module and return exports\");\n\t\t\t\tlet i = chunkGraph.getNumberOfEntryModules(chunk);\n\t\t\t\tfor (const [\n\t\t\t\t\tentryModule,\n\t\t\t\t\tentrypoint\n\t\t\t\t] of chunkGraph.getChunkEntryModulesWithChunkGroupIterable(chunk)) {\n\t\t\t\t\tconst chunks = entrypoint.chunks.filter(c => c !== chunk);\n\t\t\t\t\tif (result.allowInlineStartup && chunks.length > 0) {\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\"// This entry module depends on other loaded chunks and execution need to be delayed\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\tresult.allowInlineStartup &&\n\t\t\t\t\t\tsomeInIterable(\n\t\t\t\t\t\t\tmoduleGraph.getIncomingConnectionsByOriginModule(entryModule),\n\t\t\t\t\t\t\t([originModule, connections]) =>\n\t\t\t\t\t\t\t\toriginModule &&\n\t\t\t\t\t\t\t\tconnections.some(c => c.isTargetActive(chunk.runtime)) &&\n\t\t\t\t\t\t\t\tsomeInIterable(\n\t\t\t\t\t\t\t\t\tchunkGraph.getModuleRuntimes(originModule),\n\t\t\t\t\t\t\t\t\truntime =>\n\t\t\t\t\t\t\t\t\t\tintersectRuntime(runtime, chunk.runtime) !== undefined\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\"// This entry module is referenced by other modules so it can't be inlined\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\t}\n\n\t\t\t\t\tlet data;\n\t\t\t\t\tif (codeGenerationResults.has(entryModule, chunk.runtime)) {\n\t\t\t\t\t\tconst result = codeGenerationResults.get(\n\t\t\t\t\t\t\tentryModule,\n\t\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdata = result.data;\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\tresult.allowInlineStartup &&\n\t\t\t\t\t\t(!data || !data.get(\"topLevelDeclarations\")) &&\n\t\t\t\t\t\t(!entryModule.buildInfo ||\n\t\t\t\t\t\t\t!entryModule.buildInfo.topLevelDeclarations)\n\t\t\t\t\t) {\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\"// This entry module doesn't tell about it's top-level declarations so it can't be inlined\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (result.allowInlineStartup) {\n\t\t\t\t\t\tconst bailout = hooks.inlineInRuntimeBailout.call(\n\t\t\t\t\t\t\tentryModule,\n\t\t\t\t\t\t\trenderContext\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (bailout !== undefined) {\n\t\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\t`// This entry module can't be inlined because ${bailout}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\ti--;\n\t\t\t\t\tconst moduleId = chunkGraph.getModuleId(entryModule);\n\t\t\t\t\tconst entryRuntimeRequirements =\n\t\t\t\t\t\tchunkGraph.getModuleRuntimeRequirements(entryModule, chunk.runtime);\n\t\t\t\t\tlet moduleIdExpr = JSON.stringify(moduleId);\n\t\t\t\t\tif (runtimeRequirements.has(RuntimeGlobals.entryModuleId)) {\n\t\t\t\t\t\tmoduleIdExpr = `${RuntimeGlobals.entryModuleId} = ${moduleIdExpr}`;\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\tresult.allowInlineStartup &&\n\t\t\t\t\t\tentryRuntimeRequirements.has(RuntimeGlobals.module)\n\t\t\t\t\t) {\n\t\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\"// This entry module used 'module' so it can't be inlined\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (chunks.length > 0) {\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t`${i === 0 ? \"var __webpack_exports__ = \" : \"\"}${\n\t\t\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t\t\t\t}(undefined, ${JSON.stringify(\n\t\t\t\t\t\t\t\tchunks.map(c => c.id)\n\t\t\t\t\t\t\t)}, ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t`__webpack_require__(${moduleIdExpr})`\n\t\t\t\t\t\t\t)})`\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (useRequire) {\n\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\ti === 0 ? \"var __webpack_exports__ = \" : \"\"\n\t\t\t\t\t\t\t}__webpack_require__(${moduleIdExpr});`\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (i === 0) buf2.push(\"var __webpack_exports__ = {};\");\n\t\t\t\t\t\tif (requireScopeUsed) {\n\t\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\t`__webpack_modules__[${moduleIdExpr}](0, ${\n\t\t\t\t\t\t\t\t\ti === 0 ? \"__webpack_exports__\" : \"{}\"\n\t\t\t\t\t\t\t\t}, __webpack_require__);`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (entryRuntimeRequirements.has(RuntimeGlobals.exports)) {\n\t\t\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t\t\t`__webpack_modules__[${moduleIdExpr}](0, ${\n\t\t\t\t\t\t\t\t\ti === 0 ? \"__webpack_exports__\" : \"{}\"\n\t\t\t\t\t\t\t\t});`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tbuf2.push(`__webpack_modules__[${moduleIdExpr}]();`);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (runtimeRequirements.has(RuntimeGlobals.onChunksLoaded)) {\n\t\t\t\t\tbuf2.push(\n\t\t\t\t\t\t`__webpack_exports__ = ${RuntimeGlobals.onChunksLoaded}(__webpack_exports__);`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\truntimeRequirements.has(RuntimeGlobals.startup) ||\n\t\t\t\t\t(runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore) &&\n\t\t\t\t\t\truntimeRequirements.has(RuntimeGlobals.startupOnlyAfter))\n\t\t\t\t) {\n\t\t\t\t\tresult.allowInlineStartup = false;\n\t\t\t\t\tbuf.push(\"// the startup function\");\n\t\t\t\t\tbuf.push(\n\t\t\t\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\t...buf2,\n\t\t\t\t\t\t\t\"return __webpack_exports__;\"\n\t\t\t\t\t\t])};`\n\t\t\t\t\t);\n\t\t\t\t\tbuf.push(\"\");\n\t\t\t\t\tstartup.push(\"// run startup\");\n\t\t\t\t\tstartup.push(\n\t\t\t\t\t\t`var __webpack_exports__ = ${RuntimeGlobals.startup}();`\n\t\t\t\t\t);\n\t\t\t\t} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyBefore)) {\n\t\t\t\t\tbuf.push(\"// the startup function\");\n\t\t\t\t\tbuf.push(\n\t\t\t\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`\n\t\t\t\t\t);\n\t\t\t\t\tbeforeStartup.push(\"// run runtime startup\");\n\t\t\t\t\tbeforeStartup.push(`${RuntimeGlobals.startup}();`);\n\t\t\t\t\tstartup.push(\"// startup\");\n\t\t\t\t\tstartup.push(Template.asString(buf2));\n\t\t\t\t} else if (runtimeRequirements.has(RuntimeGlobals.startupOnlyAfter)) {\n\t\t\t\t\tbuf.push(\"// the startup function\");\n\t\t\t\t\tbuf.push(\n\t\t\t\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`\n\t\t\t\t\t);\n\t\t\t\t\tstartup.push(\"// startup\");\n\t\t\t\t\tstartup.push(Template.asString(buf2));\n\t\t\t\t\tafterStartup.push(\"// run runtime startup\");\n\t\t\t\t\tafterStartup.push(`${RuntimeGlobals.startup}();`);\n\t\t\t\t} else {\n\t\t\t\t\tstartup.push(\"// startup\");\n\t\t\t\t\tstartup.push(Template.asString(buf2));\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\truntimeRequirements.has(RuntimeGlobals.startup) ||\n\t\t\t\truntimeRequirements.has(RuntimeGlobals.startupOnlyBefore) ||\n\t\t\t\truntimeRequirements.has(RuntimeGlobals.startupOnlyAfter)\n\t\t\t) {\n\t\t\t\tbuf.push(\n\t\t\t\t\t\"// the startup function\",\n\t\t\t\t\t\"// It's empty as no entry modules are in this chunk\",\n\t\t\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`,\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\t\t\t}\n\t\t} else if (\n\t\t\truntimeRequirements.has(RuntimeGlobals.startup) ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.startupOnlyBefore) ||\n\t\t\truntimeRequirements.has(RuntimeGlobals.startupOnlyAfter)\n\t\t) {\n\t\t\tresult.allowInlineStartup = false;\n\t\t\tbuf.push(\n\t\t\t\t\"// the startup function\",\n\t\t\t\t\"// It's empty as some runtime module handles the default behavior\",\n\t\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.emptyFunction()};`\n\t\t\t);\n\t\t\tstartup.push(\"// run startup\");\n\t\t\tstartup.push(`var __webpack_exports__ = ${RuntimeGlobals.startup}();`);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {RenderBootstrapContext} renderContext options object\n\t * @param {CompilationHooks} hooks hooks\n\t * @returns {string} the generated source of the require function\n\t */\n\trenderRequire(renderContext, hooks) {\n\t\tconst {\n\t\t\tchunk,\n\t\t\tchunkGraph,\n\t\t\truntimeTemplate: { outputOptions }\n\t\t} = renderContext;\n\t\tconst runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);\n\t\tconst moduleExecution = runtimeRequirements.has(\n\t\t\tRuntimeGlobals.interceptModuleExecution\n\t\t)\n\t\t\t? Template.asString([\n\t\t\t\t\t\"var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };\",\n\t\t\t\t\t`${RuntimeGlobals.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,\n\t\t\t\t\t\"module = execOptions.module;\",\n\t\t\t\t\t\"execOptions.factory.call(module.exports, module, module.exports, execOptions.require);\"\n\t\t\t ])\n\t\t\t: runtimeRequirements.has(RuntimeGlobals.thisAsExports)\n\t\t\t? Template.asString([\n\t\t\t\t\t\"__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\"\n\t\t\t ])\n\t\t\t: Template.asString([\n\t\t\t\t\t\"__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\"\n\t\t\t ]);\n\t\tconst needModuleId = runtimeRequirements.has(RuntimeGlobals.moduleId);\n\t\tconst needModuleLoaded = runtimeRequirements.has(\n\t\t\tRuntimeGlobals.moduleLoaded\n\t\t);\n\t\tconst content = Template.asString([\n\t\t\t\"// Check if module is in cache\",\n\t\t\t\"var cachedModule = __webpack_module_cache__[moduleId];\",\n\t\t\t\"if (cachedModule !== undefined) {\",\n\t\t\toutputOptions.strictModuleErrorHandling\n\t\t\t\t? Template.indent([\n\t\t\t\t\t\t\"if (cachedModule.error !== undefined) throw cachedModule.error;\",\n\t\t\t\t\t\t\"return cachedModule.exports;\"\n\t\t\t\t ])\n\t\t\t\t: Template.indent(\"return cachedModule.exports;\"),\n\t\t\t\"}\",\n\t\t\t\"// Create a new module (and put it into the cache)\",\n\t\t\t\"var module = __webpack_module_cache__[moduleId] = {\",\n\t\t\tTemplate.indent([\n\t\t\t\tneedModuleId ? \"id: moduleId,\" : \"// no module.id needed\",\n\t\t\t\tneedModuleLoaded ? \"loaded: false,\" : \"// no module.loaded needed\",\n\t\t\t\t\"exports: {}\"\n\t\t\t]),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\toutputOptions.strictModuleExceptionHandling\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// Execute the module function\",\n\t\t\t\t\t\t\"var threw = true;\",\n\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\tTemplate.indent([moduleExecution, \"threw = false;\"]),\n\t\t\t\t\t\t\"} finally {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"if(threw) delete __webpack_module_cache__[moduleId];\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])\n\t\t\t\t: outputOptions.strictModuleErrorHandling\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// Execute the module function\",\n\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\tTemplate.indent(moduleExecution),\n\t\t\t\t\t\t\"} catch(e) {\",\n\t\t\t\t\t\tTemplate.indent([\"module.error = e;\", \"throw e;\"]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])\n\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\"// Execute the module function\",\n\t\t\t\t\t\tmoduleExecution\n\t\t\t\t ]),\n\t\t\tneedModuleLoaded\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\"// Flag the module as loaded\",\n\t\t\t\t\t\t\"module.loaded = true;\",\n\t\t\t\t\t\t\"\"\n\t\t\t\t ])\n\t\t\t\t: \"\",\n\t\t\t\"// Return the exports of the module\",\n\t\t\t\"return module.exports;\"\n\t\t]);\n\t\treturn tryRunOrWebpackError(\n\t\t\t() => hooks.renderRequire.call(content, renderContext),\n\t\t\t\"JavascriptModulesPlugin.getCompilationHooks().renderRequire\"\n\t\t);\n\t}\n}\n\nmodule.exports = JavascriptModulesPlugin;\nmodule.exports.chunkHasJs = chunkHasJs;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/JavascriptParser.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/JavascriptParser.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { Parser: AcornParser } = __webpack_require__(/*! acorn */ \"./node_modules/acorn/dist/acorn.js\");\nconst { importAssertions } = __webpack_require__(/*! acorn-import-assertions */ \"./node_modules/acorn-import-assertions/lib/index.js\");\nconst { SyncBailHook, HookMap } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst vm = __webpack_require__(/*! vm */ \"?3581\");\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\nconst StackedMap = __webpack_require__(/*! ../util/StackedMap */ \"./node_modules/webpack/lib/util/StackedMap.js\");\nconst binarySearchBounds = __webpack_require__(/*! ../util/binarySearchBounds */ \"./node_modules/webpack/lib/util/binarySearchBounds.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ./BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\n\n/** @typedef {import(\"acorn\").Options} AcornOptions */\n/** @typedef {import(\"estree\").ArrayExpression} ArrayExpressionNode */\n/** @typedef {import(\"estree\").BinaryExpression} BinaryExpressionNode */\n/** @typedef {import(\"estree\").BlockStatement} BlockStatementNode */\n/** @typedef {import(\"estree\").SequenceExpression} SequenceExpressionNode */\n/** @typedef {import(\"estree\").CallExpression} CallExpressionNode */\n/** @typedef {import(\"estree\").ClassDeclaration} ClassDeclarationNode */\n/** @typedef {import(\"estree\").ClassExpression} ClassExpressionNode */\n/** @typedef {import(\"estree\").Comment} CommentNode */\n/** @typedef {import(\"estree\").ConditionalExpression} ConditionalExpressionNode */\n/** @typedef {import(\"estree\").Declaration} DeclarationNode */\n/** @typedef {import(\"estree\").PrivateIdentifier} PrivateIdentifierNode */\n/** @typedef {import(\"estree\").PropertyDefinition} PropertyDefinitionNode */\n/** @typedef {import(\"estree\").Expression} ExpressionNode */\n/** @typedef {import(\"estree\").Identifier} IdentifierNode */\n/** @typedef {import(\"estree\").IfStatement} IfStatementNode */\n/** @typedef {import(\"estree\").LabeledStatement} LabeledStatementNode */\n/** @typedef {import(\"estree\").Literal} LiteralNode */\n/** @typedef {import(\"estree\").LogicalExpression} LogicalExpressionNode */\n/** @typedef {import(\"estree\").ChainExpression} ChainExpressionNode */\n/** @typedef {import(\"estree\").MemberExpression} MemberExpressionNode */\n/** @typedef {import(\"estree\").MetaProperty} MetaPropertyNode */\n/** @typedef {import(\"estree\").MethodDefinition} MethodDefinitionNode */\n/** @typedef {import(\"estree\").ModuleDeclaration} ModuleDeclarationNode */\n/** @typedef {import(\"estree\").NewExpression} NewExpressionNode */\n/** @typedef {import(\"estree\").Node} AnyNode */\n/** @typedef {import(\"estree\").Program} ProgramNode */\n/** @typedef {import(\"estree\").Statement} StatementNode */\n/** @typedef {import(\"estree\").ImportDeclaration} ImportDeclarationNode */\n/** @typedef {import(\"estree\").ExportNamedDeclaration} ExportNamedDeclarationNode */\n/** @typedef {import(\"estree\").ExportDefaultDeclaration} ExportDefaultDeclarationNode */\n/** @typedef {import(\"estree\").ExportAllDeclaration} ExportAllDeclarationNode */\n/** @typedef {import(\"estree\").Super} SuperNode */\n/** @typedef {import(\"estree\").TaggedTemplateExpression} TaggedTemplateExpressionNode */\n/** @typedef {import(\"estree\").TemplateLiteral} TemplateLiteralNode */\n/** @typedef {import(\"estree\").ThisExpression} ThisExpressionNode */\n/** @typedef {import(\"estree\").UnaryExpression} UnaryExpressionNode */\n/** @typedef {import(\"estree\").VariableDeclarator} VariableDeclaratorNode */\n/** @template T @typedef {import(\"tapable\").AsArray<T>} AsArray<T> */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n/** @typedef {{declaredScope: ScopeInfo, freeName: string | true, tagInfo: TagInfo | undefined}} VariableInfoInterface */\n/** @typedef {{ name: string | VariableInfo, rootInfo: string | VariableInfo, getMembers: () => string[], getMembersOptionals: () => boolean[] }} GetInfoResult */\n\nconst EMPTY_ARRAY = [];\nconst ALLOWED_MEMBER_TYPES_CALL_EXPRESSION = 0b01;\nconst ALLOWED_MEMBER_TYPES_EXPRESSION = 0b10;\nconst ALLOWED_MEMBER_TYPES_ALL = 0b11;\n\n// Syntax: https://developer.mozilla.org/en/SpiderMonkey/Parser_API\n\nconst parser = AcornParser.extend(importAssertions);\n\nclass VariableInfo {\n\t/**\n\t * @param {ScopeInfo} declaredScope scope in which the variable is declared\n\t * @param {string | true} freeName which free name the variable aliases, or true when none\n\t * @param {TagInfo | undefined} tagInfo info about tags\n\t */\n\tconstructor(declaredScope, freeName, tagInfo) {\n\t\tthis.declaredScope = declaredScope;\n\t\tthis.freeName = freeName;\n\t\tthis.tagInfo = tagInfo;\n\t}\n}\n\n/** @typedef {string | ScopeInfo | VariableInfo} ExportedVariableInfo */\n/** @typedef {LiteralNode | string | null | undefined} ImportSource */\n/** @typedef {Omit<AcornOptions, \"sourceType\" | \"ecmaVersion\"> & { sourceType: \"module\" | \"script\" | \"auto\", ecmaVersion?: AcornOptions[\"ecmaVersion\"] }} ParseOptions */\n\n/**\n * @typedef {Object} TagInfo\n * @property {any} tag\n * @property {any} data\n * @property {TagInfo | undefined} next\n */\n\n/**\n * @typedef {Object} ScopeInfo\n * @property {StackedMap<string, VariableInfo | ScopeInfo>} definitions\n * @property {boolean | \"arrow\"} topLevelScope\n * @property {boolean} inShorthand\n * @property {boolean} isStrict\n * @property {boolean} isAsmJs\n * @property {boolean} inTry\n */\n\nconst joinRanges = (startRange, endRange) => {\n\tif (!endRange) return startRange;\n\tif (!startRange) return endRange;\n\treturn [startRange[0], endRange[1]];\n};\n\nconst objectAndMembersToName = (object, membersReversed) => {\n\tlet name = object;\n\tfor (let i = membersReversed.length - 1; i >= 0; i--) {\n\t\tname = name + \".\" + membersReversed[i];\n\t}\n\treturn name;\n};\n\nconst getRootName = expression => {\n\tswitch (expression.type) {\n\t\tcase \"Identifier\":\n\t\t\treturn expression.name;\n\t\tcase \"ThisExpression\":\n\t\t\treturn \"this\";\n\t\tcase \"MetaProperty\":\n\t\t\treturn `${expression.meta.name}.${expression.property.name}`;\n\t\tdefault:\n\t\t\treturn undefined;\n\t}\n};\n\n/** @type {AcornOptions} */\nconst defaultParserOptions = {\n\tranges: true,\n\tlocations: true,\n\tecmaVersion: \"latest\",\n\tsourceType: \"module\",\n\t// https://github.com/tc39/proposal-hashbang\n\tallowHashBang: true,\n\tonComment: null\n};\n\n// regexp to match at least one \"magic comment\"\nconst webpackCommentRegExp = new RegExp(/(^|\\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);\n\nconst EMPTY_COMMENT_OPTIONS = {\n\toptions: null,\n\terrors: null\n};\n\nclass JavascriptParser extends Parser {\n\t/**\n\t * @param {\"module\" | \"script\" | \"auto\"} sourceType default source type\n\t */\n\tconstructor(sourceType = \"auto\") {\n\t\tsuper();\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {HookMap<SyncBailHook<[UnaryExpressionNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateTypeof: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluate: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[IdentifierNode | ThisExpressionNode | MemberExpressionNode | MetaPropertyNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateIdentifier: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[IdentifierNode | ThisExpressionNode | MemberExpressionNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateDefinedIdentifier: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[NewExpressionNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateNewExpression: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[CallExpressionNode], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateCallExpression: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[CallExpressionNode, BasicEvaluatedExpression | undefined], BasicEvaluatedExpression | undefined | null>>} */\n\t\t\tevaluateCallExpressionMember: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"param\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode | DeclarationNode | PrivateIdentifierNode, number], boolean | void>>} */\n\t\t\tisPure: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"commentsStartPosition\"])\n\t\t\t),\n\t\t\t/** @type {SyncBailHook<[StatementNode | ModuleDeclarationNode], boolean | void>} */\n\t\t\tpreStatement: new SyncBailHook([\"statement\"]),\n\n\t\t\t/** @type {SyncBailHook<[StatementNode | ModuleDeclarationNode], boolean | void>} */\n\t\t\tblockPreStatement: new SyncBailHook([\"declaration\"]),\n\t\t\t/** @type {SyncBailHook<[StatementNode | ModuleDeclarationNode], boolean | void>} */\n\t\t\tstatement: new SyncBailHook([\"statement\"]),\n\t\t\t/** @type {SyncBailHook<[IfStatementNode], boolean | void>} */\n\t\t\tstatementIf: new SyncBailHook([\"statement\"]),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode, ClassExpressionNode | ClassDeclarationNode], boolean | void>} */\n\t\t\tclassExtendsExpression: new SyncBailHook([\n\t\t\t\t\"expression\",\n\t\t\t\t\"classDefinition\"\n\t\t\t]),\n\t\t\t/** @type {SyncBailHook<[MethodDefinitionNode | PropertyDefinitionNode, ClassExpressionNode | ClassDeclarationNode], boolean | void>} */\n\t\t\tclassBodyElement: new SyncBailHook([\"element\", \"classDefinition\"]),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode, MethodDefinitionNode | PropertyDefinitionNode, ClassExpressionNode | ClassDeclarationNode], boolean | void>} */\n\t\t\tclassBodyValue: new SyncBailHook([\n\t\t\t\t\"expression\",\n\t\t\t\t\"element\",\n\t\t\t\t\"classDefinition\"\n\t\t\t]),\n\t\t\t/** @type {HookMap<SyncBailHook<[LabeledStatementNode], boolean | void>>} */\n\t\t\tlabel: new HookMap(() => new SyncBailHook([\"statement\"])),\n\t\t\t/** @type {SyncBailHook<[ImportDeclarationNode, ImportSource], boolean | void>} */\n\t\t\timport: new SyncBailHook([\"statement\", \"source\"]),\n\t\t\t/** @type {SyncBailHook<[ImportDeclarationNode, ImportSource, string, string], boolean | void>} */\n\t\t\timportSpecifier: new SyncBailHook([\n\t\t\t\t\"statement\",\n\t\t\t\t\"source\",\n\t\t\t\t\"exportName\",\n\t\t\t\t\"identifierName\"\n\t\t\t]),\n\t\t\t/** @type {SyncBailHook<[ExportNamedDeclarationNode | ExportAllDeclarationNode], boolean | void>} */\n\t\t\texport: new SyncBailHook([\"statement\"]),\n\t\t\t/** @type {SyncBailHook<[ExportNamedDeclarationNode | ExportAllDeclarationNode, ImportSource], boolean | void>} */\n\t\t\texportImport: new SyncBailHook([\"statement\", \"source\"]),\n\t\t\t/** @type {SyncBailHook<[ExportNamedDeclarationNode | ExportAllDeclarationNode, DeclarationNode], boolean | void>} */\n\t\t\texportDeclaration: new SyncBailHook([\"statement\", \"declaration\"]),\n\t\t\t/** @type {SyncBailHook<[ExportDefaultDeclarationNode, DeclarationNode], boolean | void>} */\n\t\t\texportExpression: new SyncBailHook([\"statement\", \"declaration\"]),\n\t\t\t/** @type {SyncBailHook<[ExportNamedDeclarationNode | ExportAllDeclarationNode, string, string, number | undefined], boolean | void>} */\n\t\t\texportSpecifier: new SyncBailHook([\n\t\t\t\t\"statement\",\n\t\t\t\t\"identifierName\",\n\t\t\t\t\"exportName\",\n\t\t\t\t\"index\"\n\t\t\t]),\n\t\t\t/** @type {SyncBailHook<[ExportNamedDeclarationNode | ExportAllDeclarationNode, ImportSource, string, string, number | undefined], boolean | void>} */\n\t\t\texportImportSpecifier: new SyncBailHook([\n\t\t\t\t\"statement\",\n\t\t\t\t\"source\",\n\t\t\t\t\"identifierName\",\n\t\t\t\t\"exportName\",\n\t\t\t\t\"index\"\n\t\t\t]),\n\t\t\t/** @type {SyncBailHook<[VariableDeclaratorNode, StatementNode], boolean | void>} */\n\t\t\tpreDeclarator: new SyncBailHook([\"declarator\", \"statement\"]),\n\t\t\t/** @type {SyncBailHook<[VariableDeclaratorNode, StatementNode], boolean | void>} */\n\t\t\tdeclarator: new SyncBailHook([\"declarator\", \"statement\"]),\n\t\t\t/** @type {HookMap<SyncBailHook<[DeclarationNode], boolean | void>>} */\n\t\t\tvarDeclaration: new HookMap(() => new SyncBailHook([\"declaration\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[DeclarationNode], boolean | void>>} */\n\t\t\tvarDeclarationLet: new HookMap(() => new SyncBailHook([\"declaration\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[DeclarationNode], boolean | void>>} */\n\t\t\tvarDeclarationConst: new HookMap(() => new SyncBailHook([\"declaration\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[DeclarationNode], boolean | void>>} */\n\t\t\tvarDeclarationVar: new HookMap(() => new SyncBailHook([\"declaration\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[IdentifierNode], boolean | void>>} */\n\t\t\tpattern: new HookMap(() => new SyncBailHook([\"pattern\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], boolean | void>>} */\n\t\t\tcanRename: new HookMap(() => new SyncBailHook([\"initExpression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], boolean | void>>} */\n\t\t\trename: new HookMap(() => new SyncBailHook([\"initExpression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[import(\"estree\").AssignmentExpression], boolean | void>>} */\n\t\t\tassign: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[import(\"estree\").AssignmentExpression, string[]], boolean | void>>} */\n\t\t\tassignMemberChain: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"members\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], boolean | void>>} */\n\t\t\ttypeof: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode], boolean | void>} */\n\t\t\timportCall: new SyncBailHook([\"expression\"]),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode], boolean | void>} */\n\t\t\ttopLevelAwait: new SyncBailHook([\"expression\"]),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], boolean | void>>} */\n\t\t\tcall: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** Something like \"a.b()\" */\n\t\t\t/** @type {HookMap<SyncBailHook<[CallExpressionNode, string[], boolean[]], boolean | void>>} */\n\t\t\tcallMemberChain: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"members\", \"membersOptionals\"])\n\t\t\t),\n\t\t\t/** Something like \"a.b().c.d\" */\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode, string[], CallExpressionNode, string[]], boolean | void>>} */\n\t\t\tmemberChainOfCallMemberChain: new HookMap(\n\t\t\t\t() =>\n\t\t\t\t\tnew SyncBailHook([\n\t\t\t\t\t\t\"expression\",\n\t\t\t\t\t\t\"calleeMembers\",\n\t\t\t\t\t\t\"callExpression\",\n\t\t\t\t\t\t\"members\"\n\t\t\t\t\t])\n\t\t\t),\n\t\t\t/** Something like \"a.b().c.d()\"\" */\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode, string[], CallExpressionNode, string[]], boolean | void>>} */\n\t\t\tcallMemberChainOfCallMemberChain: new HookMap(\n\t\t\t\t() =>\n\t\t\t\t\tnew SyncBailHook([\n\t\t\t\t\t\t\"expression\",\n\t\t\t\t\t\t\"calleeMembers\",\n\t\t\t\t\t\t\"innerCallExpression\",\n\t\t\t\t\t\t\"members\"\n\t\t\t\t\t])\n\t\t\t),\n\t\t\t/** @type {SyncBailHook<[ChainExpressionNode], boolean | void>} */\n\t\t\toptionalChaining: new SyncBailHook([\"optionalChaining\"]),\n\t\t\t/** @type {HookMap<SyncBailHook<[NewExpressionNode], boolean | void>>} */\n\t\t\tnew: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {SyncBailHook<[BinaryExpressionNode], boolean | void>} */\n\t\t\tbinaryExpression: new SyncBailHook([\"binaryExpression\"]),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode], boolean | void>>} */\n\t\t\texpression: new HookMap(() => new SyncBailHook([\"expression\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode, string[], boolean[]], boolean | void>>} */\n\t\t\texpressionMemberChain: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"members\", \"membersOptionals\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[ExpressionNode, string[]], boolean | void>>} */\n\t\t\tunhandledExpressionMemberChain: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"expression\", \"members\"])\n\t\t\t),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode], boolean | void>} */\n\t\t\texpressionConditionalOperator: new SyncBailHook([\"expression\"]),\n\t\t\t/** @type {SyncBailHook<[ExpressionNode], boolean | void>} */\n\t\t\texpressionLogicalOperator: new SyncBailHook([\"expression\"]),\n\t\t\t/** @type {SyncBailHook<[ProgramNode, CommentNode[]], boolean | void>} */\n\t\t\tprogram: new SyncBailHook([\"ast\", \"comments\"]),\n\t\t\t/** @type {SyncBailHook<[ProgramNode, CommentNode[]], boolean | void>} */\n\t\t\tfinish: new SyncBailHook([\"ast\", \"comments\"])\n\t\t});\n\t\tthis.sourceType = sourceType;\n\t\t/** @type {ScopeInfo} */\n\t\tthis.scope = undefined;\n\t\t/** @type {ParserState} */\n\t\tthis.state = undefined;\n\t\tthis.comments = undefined;\n\t\tthis.semicolons = undefined;\n\t\t/** @type {(StatementNode|ExpressionNode)[]} */\n\t\tthis.statementPath = undefined;\n\t\tthis.prevStatement = undefined;\n\t\tthis.currentTagData = undefined;\n\t\tthis._initializeEvaluating();\n\t}\n\n\t_initializeEvaluating() {\n\t\tthis.hooks.evaluate.for(\"Literal\").tap(\"JavascriptParser\", _expr => {\n\t\t\tconst expr = /** @type {LiteralNode} */ (_expr);\n\n\t\t\tswitch (typeof expr.value) {\n\t\t\t\tcase \"number\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setNumber(expr.value)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"bigint\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setBigInt(expr.value)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"string\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setString(expr.value)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"boolean\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setBoolean(expr.value)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t}\n\t\t\tif (expr.value === null) {\n\t\t\t\treturn new BasicEvaluatedExpression().setNull().setRange(expr.range);\n\t\t\t}\n\t\t\tif (expr.value instanceof RegExp) {\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setRegExp(expr.value)\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t}\n\t\t});\n\t\tthis.hooks.evaluate.for(\"NewExpression\").tap(\"JavascriptParser\", _expr => {\n\t\t\tconst expr = /** @type {NewExpressionNode} */ (_expr);\n\t\t\tconst callee = expr.callee;\n\t\t\tif (callee.type !== \"Identifier\") return;\n\t\t\tif (callee.name !== \"RegExp\") {\n\t\t\t\treturn this.callHooksForName(\n\t\t\t\t\tthis.hooks.evaluateNewExpression,\n\t\t\t\t\tcallee.name,\n\t\t\t\t\texpr\n\t\t\t\t);\n\t\t\t} else if (\n\t\t\t\texpr.arguments.length > 2 ||\n\t\t\t\tthis.getVariableInfo(\"RegExp\") !== \"RegExp\"\n\t\t\t)\n\t\t\t\treturn;\n\n\t\t\tlet regExp, flags;\n\t\t\tconst arg1 = expr.arguments[0];\n\n\t\t\tif (arg1) {\n\t\t\t\tif (arg1.type === \"SpreadElement\") return;\n\n\t\t\t\tconst evaluatedRegExp = this.evaluateExpression(arg1);\n\n\t\t\t\tif (!evaluatedRegExp) return;\n\n\t\t\t\tregExp = evaluatedRegExp.asString();\n\n\t\t\t\tif (!regExp) return;\n\t\t\t} else {\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setRegExp(new RegExp(\"\"))\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t}\n\n\t\t\tconst arg2 = expr.arguments[1];\n\n\t\t\tif (arg2) {\n\t\t\t\tif (arg2.type === \"SpreadElement\") return;\n\n\t\t\t\tconst evaluatedFlags = this.evaluateExpression(arg2);\n\n\t\t\t\tif (!evaluatedFlags) return;\n\n\t\t\t\tif (!evaluatedFlags.isUndefined()) {\n\t\t\t\t\tflags = evaluatedFlags.asString();\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tflags === undefined ||\n\t\t\t\t\t\t!BasicEvaluatedExpression.isValidRegExpFlags(flags)\n\t\t\t\t\t)\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t.setRegExp(flags ? new RegExp(regExp, flags) : new RegExp(regExp))\n\t\t\t\t.setRange(expr.range);\n\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"LogicalExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {LogicalExpressionNode} */ (_expr);\n\n\t\t\t\tconst left = this.evaluateExpression(expr.left);\n\t\t\t\tlet returnRight = false;\n\t\t\t\t/** @type {boolean|undefined} */\n\t\t\t\tlet allowedRight;\n\t\t\t\tif (expr.operator === \"&&\") {\n\t\t\t\t\tconst leftAsBool = left.asBool();\n\t\t\t\t\tif (leftAsBool === false) return left.setRange(expr.range);\n\t\t\t\t\treturnRight = leftAsBool === true;\n\t\t\t\t\tallowedRight = false;\n\t\t\t\t} else if (expr.operator === \"||\") {\n\t\t\t\t\tconst leftAsBool = left.asBool();\n\t\t\t\t\tif (leftAsBool === true) return left.setRange(expr.range);\n\t\t\t\t\treturnRight = leftAsBool === false;\n\t\t\t\t\tallowedRight = true;\n\t\t\t\t} else if (expr.operator === \"??\") {\n\t\t\t\t\tconst leftAsNullish = left.asNullish();\n\t\t\t\t\tif (leftAsNullish === false) return left.setRange(expr.range);\n\t\t\t\t\tif (leftAsNullish !== true) return;\n\t\t\t\t\treturnRight = true;\n\t\t\t\t} else return;\n\t\t\t\tconst right = this.evaluateExpression(expr.right);\n\t\t\t\tif (returnRight) {\n\t\t\t\t\tif (left.couldHaveSideEffects()) right.setSideEffects();\n\t\t\t\t\treturn right.setRange(expr.range);\n\t\t\t\t}\n\n\t\t\t\tconst asBool = right.asBool();\n\n\t\t\t\tif (allowedRight === true && asBool === true) {\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setRange(expr.range)\n\t\t\t\t\t\t.setTruthy();\n\t\t\t\t} else if (allowedRight === false && asBool === false) {\n\t\t\t\t\treturn new BasicEvaluatedExpression().setRange(expr.range).setFalsy();\n\t\t\t\t}\n\t\t\t});\n\n\t\tconst valueAsExpression = (value, expr, sideEffects) => {\n\t\t\tswitch (typeof value) {\n\t\t\t\tcase \"boolean\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setBoolean(value)\n\t\t\t\t\t\t.setSideEffects(sideEffects)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"number\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setNumber(value)\n\t\t\t\t\t\t.setSideEffects(sideEffects)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"bigint\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setBigInt(value)\n\t\t\t\t\t\t.setSideEffects(sideEffects)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\tcase \"string\":\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setString(value)\n\t\t\t\t\t\t.setSideEffects(sideEffects)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t}\n\t\t};\n\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"BinaryExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {BinaryExpressionNode} */ (_expr);\n\n\t\t\t\tconst handleConstOperation = fn => {\n\t\t\t\t\tconst left = this.evaluateExpression(expr.left);\n\t\t\t\t\tif (!left.isCompileTimeValue()) return;\n\n\t\t\t\t\tconst right = this.evaluateExpression(expr.right);\n\t\t\t\t\tif (!right.isCompileTimeValue()) return;\n\n\t\t\t\t\tconst result = fn(\n\t\t\t\t\t\tleft.asCompileTimeValue(),\n\t\t\t\t\t\tright.asCompileTimeValue()\n\t\t\t\t\t);\n\t\t\t\t\treturn valueAsExpression(\n\t\t\t\t\t\tresult,\n\t\t\t\t\t\texpr,\n\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tconst isAlwaysDifferent = (a, b) =>\n\t\t\t\t\t(a === true && b === false) || (a === false && b === true);\n\n\t\t\t\tconst handleTemplateStringCompare = (left, right, res, eql) => {\n\t\t\t\t\tconst getPrefix = parts => {\n\t\t\t\t\t\tlet value = \"\";\n\t\t\t\t\t\tfor (const p of parts) {\n\t\t\t\t\t\t\tconst v = p.asString();\n\t\t\t\t\t\t\tif (v !== undefined) value += v;\n\t\t\t\t\t\t\telse break;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t};\n\t\t\t\t\tconst getSuffix = parts => {\n\t\t\t\t\t\tlet value = \"\";\n\t\t\t\t\t\tfor (let i = parts.length - 1; i >= 0; i--) {\n\t\t\t\t\t\t\tconst v = parts[i].asString();\n\t\t\t\t\t\t\tif (v !== undefined) value = v + value;\n\t\t\t\t\t\t\telse break;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t};\n\t\t\t\t\tconst leftPrefix = getPrefix(left.parts);\n\t\t\t\t\tconst rightPrefix = getPrefix(right.parts);\n\t\t\t\t\tconst leftSuffix = getSuffix(left.parts);\n\t\t\t\t\tconst rightSuffix = getSuffix(right.parts);\n\t\t\t\t\tconst lenPrefix = Math.min(leftPrefix.length, rightPrefix.length);\n\t\t\t\t\tconst lenSuffix = Math.min(leftSuffix.length, rightSuffix.length);\n\t\t\t\t\tif (\n\t\t\t\t\t\tleftPrefix.slice(0, lenPrefix) !==\n\t\t\t\t\t\t\trightPrefix.slice(0, lenPrefix) ||\n\t\t\t\t\t\tleftSuffix.slice(-lenSuffix) !== rightSuffix.slice(-lenSuffix)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(!eql)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tconst handleStrictEqualityComparison = eql => {\n\t\t\t\t\tconst left = this.evaluateExpression(expr.left);\n\t\t\t\t\tconst right = this.evaluateExpression(expr.right);\n\t\t\t\t\tconst res = new BasicEvaluatedExpression();\n\t\t\t\t\tres.setRange(expr.range);\n\n\t\t\t\t\tconst leftConst = left.isCompileTimeValue();\n\t\t\t\t\tconst rightConst = right.isCompileTimeValue();\n\n\t\t\t\t\tif (leftConst && rightConst) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(\n\t\t\t\t\t\t\t\teql ===\n\t\t\t\t\t\t\t\t\t(left.asCompileTimeValue() === right.asCompileTimeValue())\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (left.isArray() && right.isArray()) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(!eql)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (left.isTemplateString() && right.isTemplateString()) {\n\t\t\t\t\t\treturn handleTemplateStringCompare(left, right, res, eql);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst leftPrimitive = left.isPrimitiveType();\n\t\t\t\t\tconst rightPrimitive = right.isPrimitiveType();\n\n\t\t\t\t\tif (\n\t\t\t\t\t\t// Primitive !== Object or\n\t\t\t\t\t\t// compile-time object types are never equal to something at runtime\n\t\t\t\t\t\t(leftPrimitive === false &&\n\t\t\t\t\t\t\t(leftConst || rightPrimitive === true)) ||\n\t\t\t\t\t\t(rightPrimitive === false &&\n\t\t\t\t\t\t\t(rightConst || leftPrimitive === true)) ||\n\t\t\t\t\t\t// Different nullish or boolish status also means not equal\n\t\t\t\t\t\tisAlwaysDifferent(left.asBool(), right.asBool()) ||\n\t\t\t\t\t\tisAlwaysDifferent(left.asNullish(), right.asNullish())\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(!eql)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tconst handleAbstractEqualityComparison = eql => {\n\t\t\t\t\tconst left = this.evaluateExpression(expr.left);\n\t\t\t\t\tconst right = this.evaluateExpression(expr.right);\n\t\t\t\t\tconst res = new BasicEvaluatedExpression();\n\t\t\t\t\tres.setRange(expr.range);\n\n\t\t\t\t\tconst leftConst = left.isCompileTimeValue();\n\t\t\t\t\tconst rightConst = right.isCompileTimeValue();\n\n\t\t\t\t\tif (leftConst && rightConst) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(\n\t\t\t\t\t\t\t\teql ===\n\t\t\t\t\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\t\t\t\t\t(left.asCompileTimeValue() == right.asCompileTimeValue())\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (left.isArray() && right.isArray()) {\n\t\t\t\t\t\treturn res\n\t\t\t\t\t\t\t.setBoolean(!eql)\n\t\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t\tleft.couldHaveSideEffects() || right.couldHaveSideEffects()\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (left.isTemplateString() && right.isTemplateString()) {\n\t\t\t\t\t\treturn handleTemplateStringCompare(left, right, res, eql);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tif (expr.operator === \"+\") {\n\t\t\t\t\tconst left = this.evaluateExpression(expr.left);\n\t\t\t\t\tconst right = this.evaluateExpression(expr.right);\n\t\t\t\t\tconst res = new BasicEvaluatedExpression();\n\t\t\t\t\tif (left.isString()) {\n\t\t\t\t\t\tif (right.isString()) {\n\t\t\t\t\t\t\tres.setString(left.string + right.string);\n\t\t\t\t\t\t} else if (right.isNumber()) {\n\t\t\t\t\t\t\tres.setString(left.string + right.number);\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\tright.isWrapped() &&\n\t\t\t\t\t\t\tright.prefix &&\n\t\t\t\t\t\t\tright.prefix.isString()\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t// \"left\" + (\"prefix\" + inner + \"postfix\")\n\t\t\t\t\t\t\t// => (\"leftPrefix\" + inner + \"postfix\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tnew BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setString(left.string + right.prefix.string)\n\t\t\t\t\t\t\t\t\t.setRange(joinRanges(left.range, right.prefix.range)),\n\t\t\t\t\t\t\t\tright.postfix,\n\t\t\t\t\t\t\t\tright.wrappedInnerExpressions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (right.isWrapped()) {\n\t\t\t\t\t\t\t// \"left\" + ([null] + inner + \"postfix\")\n\t\t\t\t\t\t\t// => (\"left\" + inner + \"postfix\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft,\n\t\t\t\t\t\t\t\tright.postfix,\n\t\t\t\t\t\t\t\tright.wrappedInnerExpressions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// \"left\" + expr\n\t\t\t\t\t\t\t// => (\"left\" + expr + \"\")\n\t\t\t\t\t\t\tres.setWrapped(left, null, [right]);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (left.isNumber()) {\n\t\t\t\t\t\tif (right.isString()) {\n\t\t\t\t\t\t\tres.setString(left.number + right.string);\n\t\t\t\t\t\t} else if (right.isNumber()) {\n\t\t\t\t\t\t\tres.setNumber(left.number + right.number);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (left.isBigInt()) {\n\t\t\t\t\t\tif (right.isBigInt()) {\n\t\t\t\t\t\t\tres.setBigInt(left.bigint + right.bigint);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (left.isWrapped()) {\n\t\t\t\t\t\tif (left.postfix && left.postfix.isString() && right.isString()) {\n\t\t\t\t\t\t\t// (\"prefix\" + inner + \"postfix\") + \"right\"\n\t\t\t\t\t\t\t// => (\"prefix\" + inner + \"postfixRight\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft.prefix,\n\t\t\t\t\t\t\t\tnew BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setString(left.postfix.string + right.string)\n\t\t\t\t\t\t\t\t\t.setRange(joinRanges(left.postfix.range, right.range)),\n\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\tleft.postfix &&\n\t\t\t\t\t\t\tleft.postfix.isString() &&\n\t\t\t\t\t\t\tright.isNumber()\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t// (\"prefix\" + inner + \"postfix\") + 123\n\t\t\t\t\t\t\t// => (\"prefix\" + inner + \"postfix123\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft.prefix,\n\t\t\t\t\t\t\t\tnew BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setString(left.postfix.string + right.number)\n\t\t\t\t\t\t\t\t\t.setRange(joinRanges(left.postfix.range, right.range)),\n\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (right.isString()) {\n\t\t\t\t\t\t\t// (\"prefix\" + inner + [null]) + \"right\"\n\t\t\t\t\t\t\t// => (\"prefix\" + inner + \"right\")\n\t\t\t\t\t\t\tres.setWrapped(left.prefix, right, left.wrappedInnerExpressions);\n\t\t\t\t\t\t} else if (right.isNumber()) {\n\t\t\t\t\t\t\t// (\"prefix\" + inner + [null]) + 123\n\t\t\t\t\t\t\t// => (\"prefix\" + inner + \"123\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft.prefix,\n\t\t\t\t\t\t\t\tnew BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t\t.setString(right.number + \"\")\n\t\t\t\t\t\t\t\t\t.setRange(right.range),\n\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (right.isWrapped()) {\n\t\t\t\t\t\t\t// (\"prefix1\" + inner1 + \"postfix1\") + (\"prefix2\" + inner2 + \"postfix2\")\n\t\t\t\t\t\t\t// (\"prefix1\" + inner1 + \"postfix1\" + \"prefix2\" + inner2 + \"postfix2\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft.prefix,\n\t\t\t\t\t\t\t\tright.postfix,\n\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions &&\n\t\t\t\t\t\t\t\t\tright.wrappedInnerExpressions &&\n\t\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions\n\t\t\t\t\t\t\t\t\t\t.concat(left.postfix ? [left.postfix] : [])\n\t\t\t\t\t\t\t\t\t\t.concat(right.prefix ? [right.prefix] : [])\n\t\t\t\t\t\t\t\t\t\t.concat(right.wrappedInnerExpressions)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// (\"prefix\" + inner + postfix) + expr\n\t\t\t\t\t\t\t// => (\"prefix\" + inner + postfix + expr + [null])\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tleft.prefix,\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions &&\n\t\t\t\t\t\t\t\t\tleft.wrappedInnerExpressions.concat(\n\t\t\t\t\t\t\t\t\t\tleft.postfix ? [left.postfix, right] : [right]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (right.isString()) {\n\t\t\t\t\t\t\t// left + \"right\"\n\t\t\t\t\t\t\t// => ([null] + left + \"right\")\n\t\t\t\t\t\t\tres.setWrapped(null, right, [left]);\n\t\t\t\t\t\t} else if (right.isWrapped()) {\n\t\t\t\t\t\t\t// left + (prefix + inner + \"postfix\")\n\t\t\t\t\t\t\t// => ([null] + left + prefix + inner + \"postfix\")\n\t\t\t\t\t\t\tres.setWrapped(\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tright.postfix,\n\t\t\t\t\t\t\t\tright.wrappedInnerExpressions &&\n\t\t\t\t\t\t\t\t\t(right.prefix ? [left, right.prefix] : [left]).concat(\n\t\t\t\t\t\t\t\t\t\tright.wrappedInnerExpressions\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (left.couldHaveSideEffects() || right.couldHaveSideEffects())\n\t\t\t\t\t\tres.setSideEffects();\n\t\t\t\t\tres.setRange(expr.range);\n\t\t\t\t\treturn res;\n\t\t\t\t} else if (expr.operator === \"-\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l - r);\n\t\t\t\t} else if (expr.operator === \"*\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l * r);\n\t\t\t\t} else if (expr.operator === \"/\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l / r);\n\t\t\t\t} else if (expr.operator === \"**\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l ** r);\n\t\t\t\t} else if (expr.operator === \"===\") {\n\t\t\t\t\treturn handleStrictEqualityComparison(true);\n\t\t\t\t} else if (expr.operator === \"==\") {\n\t\t\t\t\treturn handleAbstractEqualityComparison(true);\n\t\t\t\t} else if (expr.operator === \"!==\") {\n\t\t\t\t\treturn handleStrictEqualityComparison(false);\n\t\t\t\t} else if (expr.operator === \"!=\") {\n\t\t\t\t\treturn handleAbstractEqualityComparison(false);\n\t\t\t\t} else if (expr.operator === \"&\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l & r);\n\t\t\t\t} else if (expr.operator === \"|\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l | r);\n\t\t\t\t} else if (expr.operator === \"^\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l ^ r);\n\t\t\t\t} else if (expr.operator === \">>>\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l >>> r);\n\t\t\t\t} else if (expr.operator === \">>\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l >> r);\n\t\t\t\t} else if (expr.operator === \"<<\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l << r);\n\t\t\t\t} else if (expr.operator === \"<\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l < r);\n\t\t\t\t} else if (expr.operator === \">\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l > r);\n\t\t\t\t} else if (expr.operator === \"<=\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l <= r);\n\t\t\t\t} else if (expr.operator === \">=\") {\n\t\t\t\t\treturn handleConstOperation((l, r) => l >= r);\n\t\t\t\t}\n\t\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"UnaryExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {UnaryExpressionNode} */ (_expr);\n\n\t\t\t\tconst handleConstOperation = fn => {\n\t\t\t\t\tconst argument = this.evaluateExpression(expr.argument);\n\t\t\t\t\tif (!argument.isCompileTimeValue()) return;\n\t\t\t\t\tconst result = fn(argument.asCompileTimeValue());\n\t\t\t\t\treturn valueAsExpression(\n\t\t\t\t\t\tresult,\n\t\t\t\t\t\texpr,\n\t\t\t\t\t\targument.couldHaveSideEffects()\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tif (expr.operator === \"typeof\") {\n\t\t\t\t\tswitch (expr.argument.type) {\n\t\t\t\t\t\tcase \"Identifier\": {\n\t\t\t\t\t\t\tconst res = this.callHooksForName(\n\t\t\t\t\t\t\t\tthis.hooks.evaluateTypeof,\n\t\t\t\t\t\t\t\texpr.argument.name,\n\t\t\t\t\t\t\t\texpr\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (res !== undefined) return res;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"MetaProperty\": {\n\t\t\t\t\t\t\tconst res = this.callHooksForName(\n\t\t\t\t\t\t\t\tthis.hooks.evaluateTypeof,\n\t\t\t\t\t\t\t\tgetRootName(expr.argument),\n\t\t\t\t\t\t\t\texpr\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (res !== undefined) return res;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"MemberExpression\": {\n\t\t\t\t\t\t\tconst res = this.callHooksForExpression(\n\t\t\t\t\t\t\t\tthis.hooks.evaluateTypeof,\n\t\t\t\t\t\t\t\texpr.argument,\n\t\t\t\t\t\t\t\texpr\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (res !== undefined) return res;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"ChainExpression\": {\n\t\t\t\t\t\t\tconst res = this.callHooksForExpression(\n\t\t\t\t\t\t\t\tthis.hooks.evaluateTypeof,\n\t\t\t\t\t\t\t\texpr.argument.expression,\n\t\t\t\t\t\t\t\texpr\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (res !== undefined) return res;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"FunctionExpression\": {\n\t\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t\t.setString(\"function\")\n\t\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst arg = this.evaluateExpression(expr.argument);\n\t\t\t\t\tif (arg.isUnknown()) return;\n\t\t\t\t\tif (arg.isString()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"string\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isWrapped()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"string\")\n\t\t\t\t\t\t\t.setSideEffects()\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isUndefined()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"undefined\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isNumber()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"number\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isBigInt()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"bigint\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isBoolean()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"boolean\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isConstArray() || arg.isRegExp() || arg.isNull()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"object\")\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t\tif (arg.isArray()) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setString(\"object\")\n\t\t\t\t\t\t\t.setSideEffects(arg.couldHaveSideEffects())\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t} else if (expr.operator === \"!\") {\n\t\t\t\t\tconst argument = this.evaluateExpression(expr.argument);\n\t\t\t\t\tconst bool = argument.asBool();\n\t\t\t\t\tif (typeof bool !== \"boolean\") return;\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setBoolean(!bool)\n\t\t\t\t\t\t.setSideEffects(argument.couldHaveSideEffects())\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t} else if (expr.operator === \"~\") {\n\t\t\t\t\treturn handleConstOperation(v => ~v);\n\t\t\t\t} else if (expr.operator === \"+\") {\n\t\t\t\t\treturn handleConstOperation(v => +v);\n\t\t\t\t} else if (expr.operator === \"-\") {\n\t\t\t\t\treturn handleConstOperation(v => -v);\n\t\t\t\t}\n\t\t\t});\n\t\tthis.hooks.evaluateTypeof.for(\"undefined\").tap(\"JavascriptParser\", expr => {\n\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t.setString(\"undefined\")\n\t\t\t\t.setRange(expr.range);\n\t\t});\n\t\tthis.hooks.evaluate.for(\"Identifier\").tap(\"JavascriptParser\", expr => {\n\t\t\tif (/** @type {IdentifierNode} */ (expr).name === \"undefined\") {\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setUndefined()\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t}\n\t\t});\n\t\t/**\n\t\t * @param {string} exprType expression type name\n\t\t * @param {function(ExpressionNode): GetInfoResult | undefined} getInfo get info\n\t\t * @returns {void}\n\t\t */\n\t\tconst tapEvaluateWithVariableInfo = (exprType, getInfo) => {\n\t\t\t/** @type {ExpressionNode | undefined} */\n\t\t\tlet cachedExpression = undefined;\n\t\t\t/** @type {GetInfoResult | undefined} */\n\t\t\tlet cachedInfo = undefined;\n\t\t\tthis.hooks.evaluate.for(exprType).tap(\"JavascriptParser\", expr => {\n\t\t\t\tconst expression = /** @type {MemberExpressionNode} */ (expr);\n\n\t\t\t\tconst info = getInfo(expr);\n\t\t\t\tif (info !== undefined) {\n\t\t\t\t\treturn this.callHooksForInfoWithFallback(\n\t\t\t\t\t\tthis.hooks.evaluateIdentifier,\n\t\t\t\t\t\tinfo.name,\n\t\t\t\t\t\tname => {\n\t\t\t\t\t\t\tcachedExpression = expression;\n\t\t\t\t\t\t\tcachedInfo = info;\n\t\t\t\t\t\t},\n\t\t\t\t\t\tname => {\n\t\t\t\t\t\t\tconst hook = this.hooks.evaluateDefinedIdentifier.get(name);\n\t\t\t\t\t\t\tif (hook !== undefined) {\n\t\t\t\t\t\t\t\treturn hook.call(expression);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\texpression\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.hooks.evaluate\n\t\t\t\t.for(exprType)\n\t\t\t\t.tap({ name: \"JavascriptParser\", stage: 100 }, expr => {\n\t\t\t\t\tconst info = cachedExpression === expr ? cachedInfo : getInfo(expr);\n\t\t\t\t\tif (info !== undefined) {\n\t\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t\t.setIdentifier(\n\t\t\t\t\t\t\t\tinfo.name,\n\t\t\t\t\t\t\t\tinfo.rootInfo,\n\t\t\t\t\t\t\t\tinfo.getMembers,\n\t\t\t\t\t\t\t\tinfo.getMembersOptionals\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\tthis.hooks.finish.tap(\"JavascriptParser\", () => {\n\t\t\t\t// Cleanup for GC\n\t\t\t\tcachedExpression = cachedInfo = undefined;\n\t\t\t});\n\t\t};\n\t\ttapEvaluateWithVariableInfo(\"Identifier\", expr => {\n\t\t\tconst info = this.getVariableInfo(\n\t\t\t\t/** @type {IdentifierNode} */ (expr).name\n\t\t\t);\n\t\t\tif (\n\t\t\t\ttypeof info === \"string\" ||\n\t\t\t\t(info instanceof VariableInfo && typeof info.freeName === \"string\")\n\t\t\t) {\n\t\t\t\treturn {\n\t\t\t\t\tname: info,\n\t\t\t\t\trootInfo: info,\n\t\t\t\t\tgetMembers: () => [],\n\t\t\t\t\tgetMembersOptionals: () => []\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\t\ttapEvaluateWithVariableInfo(\"ThisExpression\", expr => {\n\t\t\tconst info = this.getVariableInfo(\"this\");\n\t\t\tif (\n\t\t\t\ttypeof info === \"string\" ||\n\t\t\t\t(info instanceof VariableInfo && typeof info.freeName === \"string\")\n\t\t\t) {\n\t\t\t\treturn {\n\t\t\t\t\tname: info,\n\t\t\t\t\trootInfo: info,\n\t\t\t\t\tgetMembers: () => [],\n\t\t\t\t\tgetMembersOptionals: () => []\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\t\tthis.hooks.evaluate.for(\"MetaProperty\").tap(\"JavascriptParser\", expr => {\n\t\t\tconst metaProperty = /** @type {MetaPropertyNode} */ (expr);\n\n\t\t\treturn this.callHooksForName(\n\t\t\t\tthis.hooks.evaluateIdentifier,\n\t\t\t\tgetRootName(expr),\n\t\t\t\tmetaProperty\n\t\t\t);\n\t\t});\n\t\ttapEvaluateWithVariableInfo(\"MemberExpression\", expr =>\n\t\t\tthis.getMemberExpressionInfo(\n\t\t\t\t/** @type {MemberExpressionNode} */ (expr),\n\t\t\t\tALLOWED_MEMBER_TYPES_EXPRESSION\n\t\t\t)\n\t\t);\n\n\t\tthis.hooks.evaluate.for(\"CallExpression\").tap(\"JavascriptParser\", _expr => {\n\t\t\tconst expr = /** @type {CallExpressionNode} */ (_expr);\n\t\t\tif (\n\t\t\t\texpr.callee.type === \"MemberExpression\" &&\n\t\t\t\texpr.callee.property.type ===\n\t\t\t\t\t(expr.callee.computed ? \"Literal\" : \"Identifier\")\n\t\t\t) {\n\t\t\t\t// type Super also possible here\n\t\t\t\tconst param = this.evaluateExpression(\n\t\t\t\t\t/** @type {ExpressionNode} */ (expr.callee.object)\n\t\t\t\t);\n\t\t\t\tconst property =\n\t\t\t\t\texpr.callee.property.type === \"Literal\"\n\t\t\t\t\t\t? `${expr.callee.property.value}`\n\t\t\t\t\t\t: expr.callee.property.name;\n\t\t\t\tconst hook = this.hooks.evaluateCallExpressionMember.get(property);\n\t\t\t\tif (hook !== undefined) {\n\t\t\t\t\treturn hook.call(expr, param);\n\t\t\t\t}\n\t\t\t} else if (expr.callee.type === \"Identifier\") {\n\t\t\t\treturn this.callHooksForName(\n\t\t\t\t\tthis.hooks.evaluateCallExpression,\n\t\t\t\t\texpr.callee.name,\n\t\t\t\t\texpr\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t\tthis.hooks.evaluateCallExpressionMember\n\t\t\t.for(\"indexOf\")\n\t\t\t.tap(\"JavascriptParser\", (expr, param) => {\n\t\t\t\tif (!param.isString()) return;\n\t\t\t\tif (expr.arguments.length === 0) return;\n\t\t\t\tconst [arg1, arg2] = expr.arguments;\n\t\t\t\tif (arg1.type === \"SpreadElement\") return;\n\t\t\t\tconst arg1Eval = this.evaluateExpression(arg1);\n\t\t\t\tif (!arg1Eval.isString()) return;\n\t\t\t\tconst arg1Value = arg1Eval.string;\n\n\t\t\t\tlet result;\n\t\t\t\tif (arg2) {\n\t\t\t\t\tif (arg2.type === \"SpreadElement\") return;\n\t\t\t\t\tconst arg2Eval = this.evaluateExpression(arg2);\n\t\t\t\t\tif (!arg2Eval.isNumber()) return;\n\t\t\t\t\tresult = param.string.indexOf(arg1Value, arg2Eval.number);\n\t\t\t\t} else {\n\t\t\t\t\tresult = param.string.indexOf(arg1Value);\n\t\t\t\t}\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setNumber(result)\n\t\t\t\t\t.setSideEffects(param.couldHaveSideEffects())\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t});\n\t\tthis.hooks.evaluateCallExpressionMember\n\t\t\t.for(\"replace\")\n\t\t\t.tap(\"JavascriptParser\", (expr, param) => {\n\t\t\t\tif (!param.isString()) return;\n\t\t\t\tif (expr.arguments.length !== 2) return;\n\t\t\t\tif (expr.arguments[0].type === \"SpreadElement\") return;\n\t\t\t\tif (expr.arguments[1].type === \"SpreadElement\") return;\n\t\t\t\tlet arg1 = this.evaluateExpression(expr.arguments[0]);\n\t\t\t\tlet arg2 = this.evaluateExpression(expr.arguments[1]);\n\t\t\t\tif (!arg1.isString() && !arg1.isRegExp()) return;\n\t\t\t\tconst arg1Value = arg1.regExp || arg1.string;\n\t\t\t\tif (!arg2.isString()) return;\n\t\t\t\tconst arg2Value = arg2.string;\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setString(param.string.replace(arg1Value, arg2Value))\n\t\t\t\t\t.setSideEffects(param.couldHaveSideEffects())\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t});\n\t\t[\"substr\", \"substring\", \"slice\"].forEach(fn => {\n\t\t\tthis.hooks.evaluateCallExpressionMember\n\t\t\t\t.for(fn)\n\t\t\t\t.tap(\"JavascriptParser\", (expr, param) => {\n\t\t\t\t\tif (!param.isString()) return;\n\t\t\t\t\tlet arg1;\n\t\t\t\t\tlet result,\n\t\t\t\t\t\tstr = param.string;\n\t\t\t\t\tswitch (expr.arguments.length) {\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tif (expr.arguments[0].type === \"SpreadElement\") return;\n\t\t\t\t\t\t\targ1 = this.evaluateExpression(expr.arguments[0]);\n\t\t\t\t\t\t\tif (!arg1.isNumber()) return;\n\t\t\t\t\t\t\tresult = str[fn](arg1.number);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2: {\n\t\t\t\t\t\t\tif (expr.arguments[0].type === \"SpreadElement\") return;\n\t\t\t\t\t\t\tif (expr.arguments[1].type === \"SpreadElement\") return;\n\t\t\t\t\t\t\targ1 = this.evaluateExpression(expr.arguments[0]);\n\t\t\t\t\t\t\tconst arg2 = this.evaluateExpression(expr.arguments[1]);\n\t\t\t\t\t\t\tif (!arg1.isNumber()) return;\n\t\t\t\t\t\t\tif (!arg2.isNumber()) return;\n\t\t\t\t\t\t\tresult = str[fn](arg1.number, arg2.number);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setString(result)\n\t\t\t\t\t\t.setSideEffects(param.couldHaveSideEffects())\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t});\n\t\t});\n\n\t\t/**\n\t\t * @param {\"cooked\" | \"raw\"} kind kind of values to get\n\t\t * @param {TemplateLiteralNode} templateLiteralExpr TemplateLiteral expr\n\t\t * @returns {{quasis: BasicEvaluatedExpression[], parts: BasicEvaluatedExpression[]}} Simplified template\n\t\t */\n\t\tconst getSimplifiedTemplateResult = (kind, templateLiteralExpr) => {\n\t\t\t/** @type {BasicEvaluatedExpression[]} */\n\t\t\tconst quasis = [];\n\t\t\t/** @type {BasicEvaluatedExpression[]} */\n\t\t\tconst parts = [];\n\n\t\t\tfor (let i = 0; i < templateLiteralExpr.quasis.length; i++) {\n\t\t\t\tconst quasiExpr = templateLiteralExpr.quasis[i];\n\t\t\t\tconst quasi = quasiExpr.value[kind];\n\n\t\t\t\tif (i > 0) {\n\t\t\t\t\tconst prevExpr = parts[parts.length - 1];\n\t\t\t\t\tconst expr = this.evaluateExpression(\n\t\t\t\t\t\ttemplateLiteralExpr.expressions[i - 1]\n\t\t\t\t\t);\n\t\t\t\t\tconst exprAsString = expr.asString();\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof exprAsString === \"string\" &&\n\t\t\t\t\t\t!expr.couldHaveSideEffects()\n\t\t\t\t\t) {\n\t\t\t\t\t\t// We can merge quasi + expr + quasi when expr\n\t\t\t\t\t\t// is a const string\n\n\t\t\t\t\t\tprevExpr.setString(prevExpr.string + exprAsString + quasi);\n\t\t\t\t\t\tprevExpr.setRange([prevExpr.range[0], quasiExpr.range[1]]);\n\t\t\t\t\t\t// We unset the expression as it doesn't match to a single expression\n\t\t\t\t\t\tprevExpr.setExpression(undefined);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tparts.push(expr);\n\t\t\t\t}\n\n\t\t\t\tconst part = new BasicEvaluatedExpression()\n\t\t\t\t\t.setString(quasi)\n\t\t\t\t\t.setRange(quasiExpr.range)\n\t\t\t\t\t.setExpression(quasiExpr);\n\t\t\t\tquasis.push(part);\n\t\t\t\tparts.push(part);\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tquasis,\n\t\t\t\tparts\n\t\t\t};\n\t\t};\n\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"TemplateLiteral\")\n\t\t\t.tap(\"JavascriptParser\", _node => {\n\t\t\t\tconst node = /** @type {TemplateLiteralNode} */ (_node);\n\n\t\t\t\tconst { quasis, parts } = getSimplifiedTemplateResult(\"cooked\", node);\n\t\t\t\tif (parts.length === 1) {\n\t\t\t\t\treturn parts[0].setRange(node.range);\n\t\t\t\t}\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setTemplateString(quasis, parts, \"cooked\")\n\t\t\t\t\t.setRange(node.range);\n\t\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"TaggedTemplateExpression\")\n\t\t\t.tap(\"JavascriptParser\", _node => {\n\t\t\t\tconst node = /** @type {TaggedTemplateExpressionNode} */ (_node);\n\t\t\t\tconst tag = this.evaluateExpression(node.tag);\n\n\t\t\t\tif (tag.isIdentifier() && tag.identifier === \"String.raw\") {\n\t\t\t\t\tconst { quasis, parts } = getSimplifiedTemplateResult(\n\t\t\t\t\t\t\"raw\",\n\t\t\t\t\t\tnode.quasi\n\t\t\t\t\t);\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setTemplateString(quasis, parts, \"raw\")\n\t\t\t\t\t\t.setRange(node.range);\n\t\t\t\t}\n\t\t\t});\n\n\t\tthis.hooks.evaluateCallExpressionMember\n\t\t\t.for(\"concat\")\n\t\t\t.tap(\"JavascriptParser\", (expr, param) => {\n\t\t\t\tif (!param.isString() && !param.isWrapped()) return;\n\n\t\t\t\tlet stringSuffix = null;\n\t\t\t\tlet hasUnknownParams = false;\n\t\t\t\tconst innerExpressions = [];\n\t\t\t\tfor (let i = expr.arguments.length - 1; i >= 0; i--) {\n\t\t\t\t\tconst arg = expr.arguments[i];\n\t\t\t\t\tif (arg.type === \"SpreadElement\") return;\n\t\t\t\t\tconst argExpr = this.evaluateExpression(arg);\n\t\t\t\t\tif (\n\t\t\t\t\t\thasUnknownParams ||\n\t\t\t\t\t\t(!argExpr.isString() && !argExpr.isNumber())\n\t\t\t\t\t) {\n\t\t\t\t\t\thasUnknownParams = true;\n\t\t\t\t\t\tinnerExpressions.push(argExpr);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst value = argExpr.isString()\n\t\t\t\t\t\t? argExpr.string\n\t\t\t\t\t\t: \"\" + argExpr.number;\n\n\t\t\t\t\tconst newString = value + (stringSuffix ? stringSuffix.string : \"\");\n\t\t\t\t\tconst newRange = [\n\t\t\t\t\t\targExpr.range[0],\n\t\t\t\t\t\t(stringSuffix || argExpr).range[1]\n\t\t\t\t\t];\n\t\t\t\t\tstringSuffix = new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setString(newString)\n\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t(stringSuffix && stringSuffix.couldHaveSideEffects()) ||\n\t\t\t\t\t\t\t\targExpr.couldHaveSideEffects()\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.setRange(newRange);\n\t\t\t\t}\n\n\t\t\t\tif (hasUnknownParams) {\n\t\t\t\t\tconst prefix = param.isString() ? param : param.prefix;\n\t\t\t\t\tconst inner =\n\t\t\t\t\t\tparam.isWrapped() && param.wrappedInnerExpressions\n\t\t\t\t\t\t\t? param.wrappedInnerExpressions.concat(innerExpressions.reverse())\n\t\t\t\t\t\t\t: innerExpressions.reverse();\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setWrapped(prefix, stringSuffix, inner)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t} else if (param.isWrapped()) {\n\t\t\t\t\tconst postfix = stringSuffix || param.postfix;\n\t\t\t\t\tconst inner = param.wrappedInnerExpressions\n\t\t\t\t\t\t? param.wrappedInnerExpressions.concat(innerExpressions.reverse())\n\t\t\t\t\t\t: innerExpressions.reverse();\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setWrapped(param.prefix, postfix, inner)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t} else {\n\t\t\t\t\tconst newString =\n\t\t\t\t\t\tparam.string + (stringSuffix ? stringSuffix.string : \"\");\n\t\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t\t.setString(newString)\n\t\t\t\t\t\t.setSideEffects(\n\t\t\t\t\t\t\t(stringSuffix && stringSuffix.couldHaveSideEffects()) ||\n\t\t\t\t\t\t\t\tparam.couldHaveSideEffects()\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.setRange(expr.range);\n\t\t\t\t}\n\t\t\t});\n\t\tthis.hooks.evaluateCallExpressionMember\n\t\t\t.for(\"split\")\n\t\t\t.tap(\"JavascriptParser\", (expr, param) => {\n\t\t\t\tif (!param.isString()) return;\n\t\t\t\tif (expr.arguments.length !== 1) return;\n\t\t\t\tif (expr.arguments[0].type === \"SpreadElement\") return;\n\t\t\t\tlet result;\n\t\t\t\tconst arg = this.evaluateExpression(expr.arguments[0]);\n\t\t\t\tif (arg.isString()) {\n\t\t\t\t\tresult = param.string.split(arg.string);\n\t\t\t\t} else if (arg.isRegExp()) {\n\t\t\t\t\tresult = param.string.split(arg.regExp);\n\t\t\t\t} else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setArray(result)\n\t\t\t\t\t.setSideEffects(param.couldHaveSideEffects())\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"ConditionalExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {ConditionalExpressionNode} */ (_expr);\n\n\t\t\t\tconst condition = this.evaluateExpression(expr.test);\n\t\t\t\tconst conditionValue = condition.asBool();\n\t\t\t\tlet res;\n\t\t\t\tif (conditionValue === undefined) {\n\t\t\t\t\tconst consequent = this.evaluateExpression(expr.consequent);\n\t\t\t\t\tconst alternate = this.evaluateExpression(expr.alternate);\n\t\t\t\t\tres = new BasicEvaluatedExpression();\n\t\t\t\t\tif (consequent.isConditional()) {\n\t\t\t\t\t\tres.setOptions(consequent.options);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tres.setOptions([consequent]);\n\t\t\t\t\t}\n\t\t\t\t\tif (alternate.isConditional()) {\n\t\t\t\t\t\tres.addOptions(alternate.options);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tres.addOptions([alternate]);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tres = this.evaluateExpression(\n\t\t\t\t\t\tconditionValue ? expr.consequent : expr.alternate\n\t\t\t\t\t);\n\t\t\t\t\tif (condition.couldHaveSideEffects()) res.setSideEffects();\n\t\t\t\t}\n\t\t\t\tres.setRange(expr.range);\n\t\t\t\treturn res;\n\t\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"ArrayExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {ArrayExpressionNode} */ (_expr);\n\n\t\t\t\tconst items = expr.elements.map(element => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\telement !== null &&\n\t\t\t\t\t\telement.type !== \"SpreadElement\" &&\n\t\t\t\t\t\tthis.evaluateExpression(element)\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t\tif (!items.every(Boolean)) return;\n\t\t\t\treturn new BasicEvaluatedExpression()\n\t\t\t\t\t.setItems(items)\n\t\t\t\t\t.setRange(expr.range);\n\t\t\t});\n\t\tthis.hooks.evaluate\n\t\t\t.for(\"ChainExpression\")\n\t\t\t.tap(\"JavascriptParser\", _expr => {\n\t\t\t\tconst expr = /** @type {ChainExpressionNode} */ (_expr);\n\t\t\t\t/** @type {ExpressionNode[]} */\n\t\t\t\tconst optionalExpressionsStack = [];\n\t\t\t\t/** @type {ExpressionNode|SuperNode} */\n\t\t\t\tlet next = expr.expression;\n\n\t\t\t\twhile (\n\t\t\t\t\tnext.type === \"MemberExpression\" ||\n\t\t\t\t\tnext.type === \"CallExpression\"\n\t\t\t\t) {\n\t\t\t\t\tif (next.type === \"MemberExpression\") {\n\t\t\t\t\t\tif (next.optional) {\n\t\t\t\t\t\t\t// SuperNode can not be optional\n\t\t\t\t\t\t\toptionalExpressionsStack.push(\n\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (next.object)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnext = next.object;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (next.optional) {\n\t\t\t\t\t\t\t// SuperNode can not be optional\n\t\t\t\t\t\t\toptionalExpressionsStack.push(\n\t\t\t\t\t\t\t\t/** @type {ExpressionNode} */ (next.callee)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnext = next.callee;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\twhile (optionalExpressionsStack.length > 0) {\n\t\t\t\t\tconst expression = optionalExpressionsStack.pop();\n\t\t\t\t\tconst evaluated = this.evaluateExpression(expression);\n\n\t\t\t\t\tif (evaluated.asNullish()) {\n\t\t\t\t\t\treturn evaluated.setRange(_expr.range);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this.evaluateExpression(expr.expression);\n\t\t\t});\n\t}\n\n\tgetRenameIdentifier(expr) {\n\t\tconst result = this.evaluateExpression(expr);\n\t\tif (result.isIdentifier()) {\n\t\t\treturn result.identifier;\n\t\t}\n\t}\n\n\t/**\n\t * @param {ClassExpressionNode | ClassDeclarationNode} classy a class node\n\t * @returns {void}\n\t */\n\twalkClass(classy) {\n\t\tif (classy.superClass) {\n\t\t\tif (!this.hooks.classExtendsExpression.call(classy.superClass, classy)) {\n\t\t\t\tthis.walkExpression(classy.superClass);\n\t\t\t}\n\t\t}\n\t\tif (classy.body && classy.body.type === \"ClassBody\") {\n\t\t\tfor (const classElement of /** @type {TODO} */ (classy.body.body)) {\n\t\t\t\tif (!this.hooks.classBodyElement.call(classElement, classy)) {\n\t\t\t\t\tif (classElement.computed && classElement.key) {\n\t\t\t\t\t\tthis.walkExpression(classElement.key);\n\t\t\t\t\t}\n\t\t\t\t\tif (classElement.value) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!this.hooks.classBodyValue.call(\n\t\t\t\t\t\t\t\tclassElement.value,\n\t\t\t\t\t\t\t\tclassElement,\n\t\t\t\t\t\t\t\tclassy\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\t\t\t\t\t\tthis.scope.topLevelScope = false;\n\t\t\t\t\t\t\tthis.walkExpression(classElement.value);\n\t\t\t\t\t\t\tthis.scope.topLevelScope = wasTopLevel;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (classElement.type === \"StaticBlock\") {\n\t\t\t\t\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\t\t\t\t\tthis.scope.topLevelScope = false;\n\t\t\t\t\t\tthis.walkBlockStatement(classElement);\n\t\t\t\t\t\tthis.scope.topLevelScope = wasTopLevel;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Pre walking iterates the scope for variable declarations\n\tpreWalkStatements(statements) {\n\t\tfor (let index = 0, len = statements.length; index < len; index++) {\n\t\t\tconst statement = statements[index];\n\t\t\tthis.preWalkStatement(statement);\n\t\t}\n\t}\n\n\t// Block pre walking iterates the scope for block variable declarations\n\tblockPreWalkStatements(statements) {\n\t\tfor (let index = 0, len = statements.length; index < len; index++) {\n\t\t\tconst statement = statements[index];\n\t\t\tthis.blockPreWalkStatement(statement);\n\t\t}\n\t}\n\n\t// Walking iterates the statements and expressions and processes them\n\twalkStatements(statements) {\n\t\tfor (let index = 0, len = statements.length; index < len; index++) {\n\t\t\tconst statement = statements[index];\n\t\t\tthis.walkStatement(statement);\n\t\t}\n\t}\n\n\tpreWalkStatement(statement) {\n\t\tthis.statementPath.push(statement);\n\t\tif (this.hooks.preStatement.call(statement)) {\n\t\t\tthis.prevStatement = this.statementPath.pop();\n\t\t\treturn;\n\t\t}\n\t\tswitch (statement.type) {\n\t\t\tcase \"BlockStatement\":\n\t\t\t\tthis.preWalkBlockStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"DoWhileStatement\":\n\t\t\t\tthis.preWalkDoWhileStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForInStatement\":\n\t\t\t\tthis.preWalkForInStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForOfStatement\":\n\t\t\t\tthis.preWalkForOfStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForStatement\":\n\t\t\t\tthis.preWalkForStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"FunctionDeclaration\":\n\t\t\t\tthis.preWalkFunctionDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"IfStatement\":\n\t\t\t\tthis.preWalkIfStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"LabeledStatement\":\n\t\t\t\tthis.preWalkLabeledStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"SwitchStatement\":\n\t\t\t\tthis.preWalkSwitchStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"TryStatement\":\n\t\t\t\tthis.preWalkTryStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\tthis.preWalkVariableDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"WhileStatement\":\n\t\t\t\tthis.preWalkWhileStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"WithStatement\":\n\t\t\t\tthis.preWalkWithStatement(statement);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.prevStatement = this.statementPath.pop();\n\t}\n\n\tblockPreWalkStatement(statement) {\n\t\tthis.statementPath.push(statement);\n\t\tif (this.hooks.blockPreStatement.call(statement)) {\n\t\t\tthis.prevStatement = this.statementPath.pop();\n\t\t\treturn;\n\t\t}\n\t\tswitch (statement.type) {\n\t\t\tcase \"ImportDeclaration\":\n\t\t\t\tthis.blockPreWalkImportDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExportAllDeclaration\":\n\t\t\t\tthis.blockPreWalkExportAllDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExportDefaultDeclaration\":\n\t\t\t\tthis.blockPreWalkExportDefaultDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExportNamedDeclaration\":\n\t\t\t\tthis.blockPreWalkExportNamedDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\tthis.blockPreWalkVariableDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ClassDeclaration\":\n\t\t\t\tthis.blockPreWalkClassDeclaration(statement);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.prevStatement = this.statementPath.pop();\n\t}\n\n\twalkStatement(statement) {\n\t\tthis.statementPath.push(statement);\n\t\tif (this.hooks.statement.call(statement) !== undefined) {\n\t\t\tthis.prevStatement = this.statementPath.pop();\n\t\t\treturn;\n\t\t}\n\t\tswitch (statement.type) {\n\t\t\tcase \"BlockStatement\":\n\t\t\t\tthis.walkBlockStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ClassDeclaration\":\n\t\t\t\tthis.walkClassDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"DoWhileStatement\":\n\t\t\t\tthis.walkDoWhileStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExportDefaultDeclaration\":\n\t\t\t\tthis.walkExportDefaultDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExportNamedDeclaration\":\n\t\t\t\tthis.walkExportNamedDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ExpressionStatement\":\n\t\t\t\tthis.walkExpressionStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForInStatement\":\n\t\t\t\tthis.walkForInStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForOfStatement\":\n\t\t\t\tthis.walkForOfStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ForStatement\":\n\t\t\t\tthis.walkForStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"FunctionDeclaration\":\n\t\t\t\tthis.walkFunctionDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"IfStatement\":\n\t\t\t\tthis.walkIfStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"LabeledStatement\":\n\t\t\t\tthis.walkLabeledStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ReturnStatement\":\n\t\t\t\tthis.walkReturnStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"SwitchStatement\":\n\t\t\t\tthis.walkSwitchStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"ThrowStatement\":\n\t\t\t\tthis.walkThrowStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"TryStatement\":\n\t\t\t\tthis.walkTryStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\tthis.walkVariableDeclaration(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"WhileStatement\":\n\t\t\t\tthis.walkWhileStatement(statement);\n\t\t\t\tbreak;\n\t\t\tcase \"WithStatement\":\n\t\t\t\tthis.walkWithStatement(statement);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.prevStatement = this.statementPath.pop();\n\t}\n\n\t/**\n\t * Walks a statements that is nested within a parent statement\n\t * and can potentially be a non-block statement.\n\t * This enforces the nested statement to never be in ASI position.\n\t * @param {StatementNode} statement the nested statement\n\t * @returns {void}\n\t */\n\twalkNestedStatement(statement) {\n\t\tthis.prevStatement = undefined;\n\t\tthis.walkStatement(statement);\n\t}\n\n\t// Real Statements\n\tpreWalkBlockStatement(statement) {\n\t\tthis.preWalkStatements(statement.body);\n\t}\n\n\twalkBlockStatement(statement) {\n\t\tthis.inBlockScope(() => {\n\t\t\tconst body = statement.body;\n\t\t\tconst prev = this.prevStatement;\n\t\t\tthis.blockPreWalkStatements(body);\n\t\t\tthis.prevStatement = prev;\n\t\t\tthis.walkStatements(body);\n\t\t});\n\t}\n\n\twalkExpressionStatement(statement) {\n\t\tthis.walkExpression(statement.expression);\n\t}\n\n\tpreWalkIfStatement(statement) {\n\t\tthis.preWalkStatement(statement.consequent);\n\t\tif (statement.alternate) {\n\t\t\tthis.preWalkStatement(statement.alternate);\n\t\t}\n\t}\n\n\twalkIfStatement(statement) {\n\t\tconst result = this.hooks.statementIf.call(statement);\n\t\tif (result === undefined) {\n\t\t\tthis.walkExpression(statement.test);\n\t\t\tthis.walkNestedStatement(statement.consequent);\n\t\t\tif (statement.alternate) {\n\t\t\t\tthis.walkNestedStatement(statement.alternate);\n\t\t\t}\n\t\t} else {\n\t\t\tif (result) {\n\t\t\t\tthis.walkNestedStatement(statement.consequent);\n\t\t\t} else if (statement.alternate) {\n\t\t\t\tthis.walkNestedStatement(statement.alternate);\n\t\t\t}\n\t\t}\n\t}\n\n\tpreWalkLabeledStatement(statement) {\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkLabeledStatement(statement) {\n\t\tconst hook = this.hooks.label.get(statement.label.name);\n\t\tif (hook !== undefined) {\n\t\t\tconst result = hook.call(statement);\n\t\t\tif (result === true) return;\n\t\t}\n\t\tthis.walkNestedStatement(statement.body);\n\t}\n\n\tpreWalkWithStatement(statement) {\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkWithStatement(statement) {\n\t\tthis.walkExpression(statement.object);\n\t\tthis.walkNestedStatement(statement.body);\n\t}\n\n\tpreWalkSwitchStatement(statement) {\n\t\tthis.preWalkSwitchCases(statement.cases);\n\t}\n\n\twalkSwitchStatement(statement) {\n\t\tthis.walkExpression(statement.discriminant);\n\t\tthis.walkSwitchCases(statement.cases);\n\t}\n\n\twalkTerminatingStatement(statement) {\n\t\tif (statement.argument) this.walkExpression(statement.argument);\n\t}\n\n\twalkReturnStatement(statement) {\n\t\tthis.walkTerminatingStatement(statement);\n\t}\n\n\twalkThrowStatement(statement) {\n\t\tthis.walkTerminatingStatement(statement);\n\t}\n\n\tpreWalkTryStatement(statement) {\n\t\tthis.preWalkStatement(statement.block);\n\t\tif (statement.handler) this.preWalkCatchClause(statement.handler);\n\t\tif (statement.finializer) this.preWalkStatement(statement.finializer);\n\t}\n\n\twalkTryStatement(statement) {\n\t\tif (this.scope.inTry) {\n\t\t\tthis.walkStatement(statement.block);\n\t\t} else {\n\t\t\tthis.scope.inTry = true;\n\t\t\tthis.walkStatement(statement.block);\n\t\t\tthis.scope.inTry = false;\n\t\t}\n\t\tif (statement.handler) this.walkCatchClause(statement.handler);\n\t\tif (statement.finalizer) this.walkStatement(statement.finalizer);\n\t}\n\n\tpreWalkWhileStatement(statement) {\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkWhileStatement(statement) {\n\t\tthis.walkExpression(statement.test);\n\t\tthis.walkNestedStatement(statement.body);\n\t}\n\n\tpreWalkDoWhileStatement(statement) {\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkDoWhileStatement(statement) {\n\t\tthis.walkNestedStatement(statement.body);\n\t\tthis.walkExpression(statement.test);\n\t}\n\n\tpreWalkForStatement(statement) {\n\t\tif (statement.init) {\n\t\t\tif (statement.init.type === \"VariableDeclaration\") {\n\t\t\t\tthis.preWalkStatement(statement.init);\n\t\t\t}\n\t\t}\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkForStatement(statement) {\n\t\tthis.inBlockScope(() => {\n\t\t\tif (statement.init) {\n\t\t\t\tif (statement.init.type === \"VariableDeclaration\") {\n\t\t\t\t\tthis.blockPreWalkVariableDeclaration(statement.init);\n\t\t\t\t\tthis.prevStatement = undefined;\n\t\t\t\t\tthis.walkStatement(statement.init);\n\t\t\t\t} else {\n\t\t\t\t\tthis.walkExpression(statement.init);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (statement.test) {\n\t\t\t\tthis.walkExpression(statement.test);\n\t\t\t}\n\t\t\tif (statement.update) {\n\t\t\t\tthis.walkExpression(statement.update);\n\t\t\t}\n\t\t\tconst body = statement.body;\n\t\t\tif (body.type === \"BlockStatement\") {\n\t\t\t\t// no need to add additional scope\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.blockPreWalkStatements(body.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatements(body.body);\n\t\t\t} else {\n\t\t\t\tthis.walkNestedStatement(body);\n\t\t\t}\n\t\t});\n\t}\n\n\tpreWalkForInStatement(statement) {\n\t\tif (statement.left.type === \"VariableDeclaration\") {\n\t\t\tthis.preWalkVariableDeclaration(statement.left);\n\t\t}\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkForInStatement(statement) {\n\t\tthis.inBlockScope(() => {\n\t\t\tif (statement.left.type === \"VariableDeclaration\") {\n\t\t\t\tthis.blockPreWalkVariableDeclaration(statement.left);\n\t\t\t\tthis.walkVariableDeclaration(statement.left);\n\t\t\t} else {\n\t\t\t\tthis.walkPattern(statement.left);\n\t\t\t}\n\t\t\tthis.walkExpression(statement.right);\n\t\t\tconst body = statement.body;\n\t\t\tif (body.type === \"BlockStatement\") {\n\t\t\t\t// no need to add additional scope\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.blockPreWalkStatements(body.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatements(body.body);\n\t\t\t} else {\n\t\t\t\tthis.walkNestedStatement(body);\n\t\t\t}\n\t\t});\n\t}\n\n\tpreWalkForOfStatement(statement) {\n\t\tif (statement.await && this.scope.topLevelScope === true) {\n\t\t\tthis.hooks.topLevelAwait.call(statement);\n\t\t}\n\t\tif (statement.left.type === \"VariableDeclaration\") {\n\t\t\tthis.preWalkVariableDeclaration(statement.left);\n\t\t}\n\t\tthis.preWalkStatement(statement.body);\n\t}\n\n\twalkForOfStatement(statement) {\n\t\tthis.inBlockScope(() => {\n\t\t\tif (statement.left.type === \"VariableDeclaration\") {\n\t\t\t\tthis.blockPreWalkVariableDeclaration(statement.left);\n\t\t\t\tthis.walkVariableDeclaration(statement.left);\n\t\t\t} else {\n\t\t\t\tthis.walkPattern(statement.left);\n\t\t\t}\n\t\t\tthis.walkExpression(statement.right);\n\t\t\tconst body = statement.body;\n\t\t\tif (body.type === \"BlockStatement\") {\n\t\t\t\t// no need to add additional scope\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.blockPreWalkStatements(body.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatements(body.body);\n\t\t\t} else {\n\t\t\t\tthis.walkNestedStatement(body);\n\t\t\t}\n\t\t});\n\t}\n\n\t// Declarations\n\tpreWalkFunctionDeclaration(statement) {\n\t\tif (statement.id) {\n\t\t\tthis.defineVariable(statement.id.name);\n\t\t}\n\t}\n\n\twalkFunctionDeclaration(statement) {\n\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\tthis.scope.topLevelScope = false;\n\t\tthis.inFunctionScope(true, statement.params, () => {\n\t\t\tfor (const param of statement.params) {\n\t\t\t\tthis.walkPattern(param);\n\t\t\t}\n\t\t\tif (statement.body.type === \"BlockStatement\") {\n\t\t\t\tthis.detectMode(statement.body.body);\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.preWalkStatement(statement.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatement(statement.body);\n\t\t\t} else {\n\t\t\t\tthis.walkExpression(statement.body);\n\t\t\t}\n\t\t});\n\t\tthis.scope.topLevelScope = wasTopLevel;\n\t}\n\n\tblockPreWalkImportDeclaration(statement) {\n\t\tconst source = statement.source.value;\n\t\tthis.hooks.import.call(statement, source);\n\t\tfor (const specifier of statement.specifiers) {\n\t\t\tconst name = specifier.local.name;\n\t\t\tswitch (specifier.type) {\n\t\t\t\tcase \"ImportDefaultSpecifier\":\n\t\t\t\t\tif (\n\t\t\t\t\t\t!this.hooks.importSpecifier.call(statement, source, \"default\", name)\n\t\t\t\t\t) {\n\t\t\t\t\t\tthis.defineVariable(name);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ImportSpecifier\":\n\t\t\t\t\tif (\n\t\t\t\t\t\t!this.hooks.importSpecifier.call(\n\t\t\t\t\t\t\tstatement,\n\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\tspecifier.imported.name || specifier.imported.value,\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tthis.defineVariable(name);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ImportNamespaceSpecifier\":\n\t\t\t\t\tif (!this.hooks.importSpecifier.call(statement, source, null, name)) {\n\t\t\t\t\t\tthis.defineVariable(name);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.defineVariable(name);\n\t\t\t}\n\t\t}\n\t}\n\n\tenterDeclaration(declaration, onIdent) {\n\t\tswitch (declaration.type) {\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\tfor (const declarator of declaration.declarations) {\n\t\t\t\t\tswitch (declarator.type) {\n\t\t\t\t\t\tcase \"VariableDeclarator\": {\n\t\t\t\t\t\t\tthis.enterPattern(declarator.id, onIdent);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"FunctionDeclaration\":\n\t\t\t\tthis.enterPattern(declaration.id, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"ClassDeclaration\":\n\t\t\t\tthis.enterPattern(declaration.id, onIdent);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tblockPreWalkExportNamedDeclaration(statement) {\n\t\tlet source;\n\t\tif (statement.source) {\n\t\t\tsource = statement.source.value;\n\t\t\tthis.hooks.exportImport.call(statement, source);\n\t\t} else {\n\t\t\tthis.hooks.export.call(statement);\n\t\t}\n\t\tif (statement.declaration) {\n\t\t\tif (\n\t\t\t\t!this.hooks.exportDeclaration.call(statement, statement.declaration)\n\t\t\t) {\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.preWalkStatement(statement.declaration);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.blockPreWalkStatement(statement.declaration);\n\t\t\t\tlet index = 0;\n\t\t\t\tthis.enterDeclaration(statement.declaration, def => {\n\t\t\t\t\tthis.hooks.exportSpecifier.call(statement, def, def, index++);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif (statement.specifiers) {\n\t\t\tfor (\n\t\t\t\tlet specifierIndex = 0;\n\t\t\t\tspecifierIndex < statement.specifiers.length;\n\t\t\t\tspecifierIndex++\n\t\t\t) {\n\t\t\t\tconst specifier = statement.specifiers[specifierIndex];\n\t\t\t\tswitch (specifier.type) {\n\t\t\t\t\tcase \"ExportSpecifier\": {\n\t\t\t\t\t\tconst name = specifier.exported.name || specifier.exported.value;\n\t\t\t\t\t\tif (source) {\n\t\t\t\t\t\t\tthis.hooks.exportImportSpecifier.call(\n\t\t\t\t\t\t\t\tstatement,\n\t\t\t\t\t\t\t\tsource,\n\t\t\t\t\t\t\t\tspecifier.local.name,\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\tspecifierIndex\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.hooks.exportSpecifier.call(\n\t\t\t\t\t\t\t\tstatement,\n\t\t\t\t\t\t\t\tspecifier.local.name,\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\tspecifierIndex\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\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\twalkExportNamedDeclaration(statement) {\n\t\tif (statement.declaration) {\n\t\t\tthis.walkStatement(statement.declaration);\n\t\t}\n\t}\n\n\tblockPreWalkExportDefaultDeclaration(statement) {\n\t\tconst prev = this.prevStatement;\n\t\tthis.preWalkStatement(statement.declaration);\n\t\tthis.prevStatement = prev;\n\t\tthis.blockPreWalkStatement(statement.declaration);\n\t\tif (\n\t\t\tstatement.declaration.id &&\n\t\t\tstatement.declaration.type !== \"FunctionExpression\" &&\n\t\t\tstatement.declaration.type !== \"ClassExpression\"\n\t\t) {\n\t\t\tthis.hooks.exportSpecifier.call(\n\t\t\t\tstatement,\n\t\t\t\tstatement.declaration.id.name,\n\t\t\t\t\"default\",\n\t\t\t\tundefined\n\t\t\t);\n\t\t}\n\t}\n\n\twalkExportDefaultDeclaration(statement) {\n\t\tthis.hooks.export.call(statement);\n\t\tif (\n\t\t\tstatement.declaration.id &&\n\t\t\tstatement.declaration.type !== \"FunctionExpression\" &&\n\t\t\tstatement.declaration.type !== \"ClassExpression\"\n\t\t) {\n\t\t\tif (\n\t\t\t\t!this.hooks.exportDeclaration.call(statement, statement.declaration)\n\t\t\t) {\n\t\t\t\tthis.walkStatement(statement.declaration);\n\t\t\t}\n\t\t} else {\n\t\t\t// Acorn parses `export default function() {}` as `FunctionDeclaration` and\n\t\t\t// `export default class {}` as `ClassDeclaration`, both with `id = null`.\n\t\t\t// These nodes must be treated as expressions.\n\t\t\tif (\n\t\t\t\tstatement.declaration.type === \"FunctionDeclaration\" ||\n\t\t\t\tstatement.declaration.type === \"ClassDeclaration\"\n\t\t\t) {\n\t\t\t\tthis.walkStatement(statement.declaration);\n\t\t\t} else {\n\t\t\t\tthis.walkExpression(statement.declaration);\n\t\t\t}\n\t\t\tif (!this.hooks.exportExpression.call(statement, statement.declaration)) {\n\t\t\t\tthis.hooks.exportSpecifier.call(\n\t\t\t\t\tstatement,\n\t\t\t\t\tstatement.declaration,\n\t\t\t\t\t\"default\",\n\t\t\t\t\tundefined\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tblockPreWalkExportAllDeclaration(statement) {\n\t\tconst source = statement.source.value;\n\t\tconst name = statement.exported ? statement.exported.name : null;\n\t\tthis.hooks.exportImport.call(statement, source);\n\t\tthis.hooks.exportImportSpecifier.call(statement, source, null, name, 0);\n\t}\n\n\tpreWalkVariableDeclaration(statement) {\n\t\tif (statement.kind !== \"var\") return;\n\t\tthis._preWalkVariableDeclaration(statement, this.hooks.varDeclarationVar);\n\t}\n\n\tblockPreWalkVariableDeclaration(statement) {\n\t\tif (statement.kind === \"var\") return;\n\t\tconst hookMap =\n\t\t\tstatement.kind === \"const\"\n\t\t\t\t? this.hooks.varDeclarationConst\n\t\t\t\t: this.hooks.varDeclarationLet;\n\t\tthis._preWalkVariableDeclaration(statement, hookMap);\n\t}\n\n\t_preWalkVariableDeclaration(statement, hookMap) {\n\t\tfor (const declarator of statement.declarations) {\n\t\t\tswitch (declarator.type) {\n\t\t\t\tcase \"VariableDeclarator\": {\n\t\t\t\t\tif (!this.hooks.preDeclarator.call(declarator, statement)) {\n\t\t\t\t\t\tthis.enterPattern(declarator.id, (name, decl) => {\n\t\t\t\t\t\t\tlet hook = hookMap.get(name);\n\t\t\t\t\t\t\tif (hook === undefined || !hook.call(decl)) {\n\t\t\t\t\t\t\t\thook = this.hooks.varDeclaration.get(name);\n\t\t\t\t\t\t\t\tif (hook === undefined || !hook.call(decl)) {\n\t\t\t\t\t\t\t\t\tthis.defineVariable(name);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\twalkVariableDeclaration(statement) {\n\t\tfor (const declarator of statement.declarations) {\n\t\t\tswitch (declarator.type) {\n\t\t\t\tcase \"VariableDeclarator\": {\n\t\t\t\t\tconst renameIdentifier =\n\t\t\t\t\t\tdeclarator.init && this.getRenameIdentifier(declarator.init);\n\t\t\t\t\tif (renameIdentifier && declarator.id.type === \"Identifier\") {\n\t\t\t\t\t\tconst hook = this.hooks.canRename.get(renameIdentifier);\n\t\t\t\t\t\tif (hook !== undefined && hook.call(declarator.init)) {\n\t\t\t\t\t\t\t// renaming with \"var a = b;\"\n\t\t\t\t\t\t\tconst hook = this.hooks.rename.get(renameIdentifier);\n\t\t\t\t\t\t\tif (hook === undefined || !hook.call(declarator.init)) {\n\t\t\t\t\t\t\t\tthis.setVariable(declarator.id.name, renameIdentifier);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!this.hooks.declarator.call(declarator, statement)) {\n\t\t\t\t\t\tthis.walkPattern(declarator.id);\n\t\t\t\t\t\tif (declarator.init) this.walkExpression(declarator.init);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tblockPreWalkClassDeclaration(statement) {\n\t\tif (statement.id) {\n\t\t\tthis.defineVariable(statement.id.name);\n\t\t}\n\t}\n\n\twalkClassDeclaration(statement) {\n\t\tthis.walkClass(statement);\n\t}\n\n\tpreWalkSwitchCases(switchCases) {\n\t\tfor (let index = 0, len = switchCases.length; index < len; index++) {\n\t\t\tconst switchCase = switchCases[index];\n\t\t\tthis.preWalkStatements(switchCase.consequent);\n\t\t}\n\t}\n\n\twalkSwitchCases(switchCases) {\n\t\tthis.inBlockScope(() => {\n\t\t\tconst len = switchCases.length;\n\n\t\t\t// we need to pre walk all statements first since we can have invalid code\n\t\t\t// import A from \"module\";\n\t\t\t// switch(1) {\n\t\t\t// case 1:\n\t\t\t// console.log(A); // should fail at runtime\n\t\t\t// case 2:\n\t\t\t// const A = 1;\n\t\t\t// }\n\t\t\tfor (let index = 0; index < len; index++) {\n\t\t\t\tconst switchCase = switchCases[index];\n\n\t\t\t\tif (switchCase.consequent.length > 0) {\n\t\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\t\tthis.blockPreWalkStatements(switchCase.consequent);\n\t\t\t\t\tthis.prevStatement = prev;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (let index = 0; index < len; index++) {\n\t\t\t\tconst switchCase = switchCases[index];\n\n\t\t\t\tif (switchCase.test) {\n\t\t\t\t\tthis.walkExpression(switchCase.test);\n\t\t\t\t}\n\t\t\t\tif (switchCase.consequent.length > 0) {\n\t\t\t\t\tthis.walkStatements(switchCase.consequent);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\tpreWalkCatchClause(catchClause) {\n\t\tthis.preWalkStatement(catchClause.body);\n\t}\n\n\twalkCatchClause(catchClause) {\n\t\tthis.inBlockScope(() => {\n\t\t\t// Error binding is optional in catch clause since ECMAScript 2019\n\t\t\tif (catchClause.param !== null) {\n\t\t\t\tthis.enterPattern(catchClause.param, ident => {\n\t\t\t\t\tthis.defineVariable(ident);\n\t\t\t\t});\n\t\t\t\tthis.walkPattern(catchClause.param);\n\t\t\t}\n\t\t\tconst prev = this.prevStatement;\n\t\t\tthis.blockPreWalkStatement(catchClause.body);\n\t\t\tthis.prevStatement = prev;\n\t\t\tthis.walkStatement(catchClause.body);\n\t\t});\n\t}\n\n\twalkPattern(pattern) {\n\t\tswitch (pattern.type) {\n\t\t\tcase \"ArrayPattern\":\n\t\t\t\tthis.walkArrayPattern(pattern);\n\t\t\t\tbreak;\n\t\t\tcase \"AssignmentPattern\":\n\t\t\t\tthis.walkAssignmentPattern(pattern);\n\t\t\t\tbreak;\n\t\t\tcase \"MemberExpression\":\n\t\t\t\tthis.walkMemberExpression(pattern);\n\t\t\t\tbreak;\n\t\t\tcase \"ObjectPattern\":\n\t\t\t\tthis.walkObjectPattern(pattern);\n\t\t\t\tbreak;\n\t\t\tcase \"RestElement\":\n\t\t\t\tthis.walkRestElement(pattern);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\twalkAssignmentPattern(pattern) {\n\t\tthis.walkExpression(pattern.right);\n\t\tthis.walkPattern(pattern.left);\n\t}\n\n\twalkObjectPattern(pattern) {\n\t\tfor (let i = 0, len = pattern.properties.length; i < len; i++) {\n\t\t\tconst prop = pattern.properties[i];\n\t\t\tif (prop) {\n\t\t\t\tif (prop.computed) this.walkExpression(prop.key);\n\t\t\t\tif (prop.value) this.walkPattern(prop.value);\n\t\t\t}\n\t\t}\n\t}\n\n\twalkArrayPattern(pattern) {\n\t\tfor (let i = 0, len = pattern.elements.length; i < len; i++) {\n\t\t\tconst element = pattern.elements[i];\n\t\t\tif (element) this.walkPattern(element);\n\t\t}\n\t}\n\n\twalkRestElement(pattern) {\n\t\tthis.walkPattern(pattern.argument);\n\t}\n\n\twalkExpressions(expressions) {\n\t\tfor (const expression of expressions) {\n\t\t\tif (expression) {\n\t\t\t\tthis.walkExpression(expression);\n\t\t\t}\n\t\t}\n\t}\n\n\twalkExpression(expression) {\n\t\tswitch (expression.type) {\n\t\t\tcase \"ArrayExpression\":\n\t\t\t\tthis.walkArrayExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ArrowFunctionExpression\":\n\t\t\t\tthis.walkArrowFunctionExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"AssignmentExpression\":\n\t\t\t\tthis.walkAssignmentExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"AwaitExpression\":\n\t\t\t\tthis.walkAwaitExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"BinaryExpression\":\n\t\t\t\tthis.walkBinaryExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"CallExpression\":\n\t\t\t\tthis.walkCallExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ChainExpression\":\n\t\t\t\tthis.walkChainExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ClassExpression\":\n\t\t\t\tthis.walkClassExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ConditionalExpression\":\n\t\t\t\tthis.walkConditionalExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"FunctionExpression\":\n\t\t\t\tthis.walkFunctionExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"Identifier\":\n\t\t\t\tthis.walkIdentifier(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ImportExpression\":\n\t\t\t\tthis.walkImportExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"LogicalExpression\":\n\t\t\t\tthis.walkLogicalExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"MetaProperty\":\n\t\t\t\tthis.walkMetaProperty(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"MemberExpression\":\n\t\t\t\tthis.walkMemberExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"NewExpression\":\n\t\t\t\tthis.walkNewExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ObjectExpression\":\n\t\t\t\tthis.walkObjectExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"SequenceExpression\":\n\t\t\t\tthis.walkSequenceExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"SpreadElement\":\n\t\t\t\tthis.walkSpreadElement(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"TaggedTemplateExpression\":\n\t\t\t\tthis.walkTaggedTemplateExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"TemplateLiteral\":\n\t\t\t\tthis.walkTemplateLiteral(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"ThisExpression\":\n\t\t\t\tthis.walkThisExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"UnaryExpression\":\n\t\t\t\tthis.walkUnaryExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"UpdateExpression\":\n\t\t\t\tthis.walkUpdateExpression(expression);\n\t\t\t\tbreak;\n\t\t\tcase \"YieldExpression\":\n\t\t\t\tthis.walkYieldExpression(expression);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\twalkAwaitExpression(expression) {\n\t\tif (this.scope.topLevelScope === true)\n\t\t\tthis.hooks.topLevelAwait.call(expression);\n\t\tthis.walkExpression(expression.argument);\n\t}\n\n\twalkArrayExpression(expression) {\n\t\tif (expression.elements) {\n\t\t\tthis.walkExpressions(expression.elements);\n\t\t}\n\t}\n\n\twalkSpreadElement(expression) {\n\t\tif (expression.argument) {\n\t\t\tthis.walkExpression(expression.argument);\n\t\t}\n\t}\n\n\twalkObjectExpression(expression) {\n\t\tfor (\n\t\t\tlet propIndex = 0, len = expression.properties.length;\n\t\t\tpropIndex < len;\n\t\t\tpropIndex++\n\t\t) {\n\t\t\tconst prop = expression.properties[propIndex];\n\t\t\tthis.walkProperty(prop);\n\t\t}\n\t}\n\n\twalkProperty(prop) {\n\t\tif (prop.type === \"SpreadElement\") {\n\t\t\tthis.walkExpression(prop.argument);\n\t\t\treturn;\n\t\t}\n\t\tif (prop.computed) {\n\t\t\tthis.walkExpression(prop.key);\n\t\t}\n\t\tif (prop.shorthand && prop.value && prop.value.type === \"Identifier\") {\n\t\t\tthis.scope.inShorthand = prop.value.name;\n\t\t\tthis.walkIdentifier(prop.value);\n\t\t\tthis.scope.inShorthand = false;\n\t\t} else {\n\t\t\tthis.walkExpression(prop.value);\n\t\t}\n\t}\n\n\twalkFunctionExpression(expression) {\n\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\tthis.scope.topLevelScope = false;\n\t\tconst scopeParams = expression.params;\n\n\t\t// Add function name in scope for recursive calls\n\t\tif (expression.id) {\n\t\t\tscopeParams.push(expression.id.name);\n\t\t}\n\n\t\tthis.inFunctionScope(true, scopeParams, () => {\n\t\t\tfor (const param of expression.params) {\n\t\t\t\tthis.walkPattern(param);\n\t\t\t}\n\t\t\tif (expression.body.type === \"BlockStatement\") {\n\t\t\t\tthis.detectMode(expression.body.body);\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.preWalkStatement(expression.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatement(expression.body);\n\t\t\t} else {\n\t\t\t\tthis.walkExpression(expression.body);\n\t\t\t}\n\t\t});\n\t\tthis.scope.topLevelScope = wasTopLevel;\n\t}\n\n\twalkArrowFunctionExpression(expression) {\n\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\tthis.scope.topLevelScope = wasTopLevel ? \"arrow\" : false;\n\t\tthis.inFunctionScope(false, expression.params, () => {\n\t\t\tfor (const param of expression.params) {\n\t\t\t\tthis.walkPattern(param);\n\t\t\t}\n\t\t\tif (expression.body.type === \"BlockStatement\") {\n\t\t\t\tthis.detectMode(expression.body.body);\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.preWalkStatement(expression.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatement(expression.body);\n\t\t\t} else {\n\t\t\t\tthis.walkExpression(expression.body);\n\t\t\t}\n\t\t});\n\t\tthis.scope.topLevelScope = wasTopLevel;\n\t}\n\n\t/**\n\t * @param {SequenceExpressionNode} expression the sequence\n\t */\n\twalkSequenceExpression(expression) {\n\t\tif (!expression.expressions) return;\n\t\t// We treat sequence expressions like statements when they are one statement level\n\t\t// This has some benefits for optimizations that only work on statement level\n\t\tconst currentStatement = this.statementPath[this.statementPath.length - 1];\n\t\tif (\n\t\t\tcurrentStatement === expression ||\n\t\t\t(currentStatement.type === \"ExpressionStatement\" &&\n\t\t\t\tcurrentStatement.expression === expression)\n\t\t) {\n\t\t\tconst old = this.statementPath.pop();\n\t\t\tfor (const expr of expression.expressions) {\n\t\t\t\tthis.statementPath.push(expr);\n\t\t\t\tthis.walkExpression(expr);\n\t\t\t\tthis.statementPath.pop();\n\t\t\t}\n\t\t\tthis.statementPath.push(old);\n\t\t} else {\n\t\t\tthis.walkExpressions(expression.expressions);\n\t\t}\n\t}\n\n\twalkUpdateExpression(expression) {\n\t\tthis.walkExpression(expression.argument);\n\t}\n\n\twalkUnaryExpression(expression) {\n\t\tif (expression.operator === \"typeof\") {\n\t\t\tconst result = this.callHooksForExpression(\n\t\t\t\tthis.hooks.typeof,\n\t\t\t\texpression.argument,\n\t\t\t\texpression\n\t\t\t);\n\t\t\tif (result === true) return;\n\t\t\tif (expression.argument.type === \"ChainExpression\") {\n\t\t\t\tconst result = this.callHooksForExpression(\n\t\t\t\t\tthis.hooks.typeof,\n\t\t\t\t\texpression.argument.expression,\n\t\t\t\t\texpression\n\t\t\t\t);\n\t\t\t\tif (result === true) return;\n\t\t\t}\n\t\t}\n\t\tthis.walkExpression(expression.argument);\n\t}\n\n\twalkLeftRightExpression(expression) {\n\t\tthis.walkExpression(expression.left);\n\t\tthis.walkExpression(expression.right);\n\t}\n\n\twalkBinaryExpression(expression) {\n\t\tif (this.hooks.binaryExpression.call(expression) === undefined) {\n\t\t\tthis.walkLeftRightExpression(expression);\n\t\t}\n\t}\n\n\twalkLogicalExpression(expression) {\n\t\tconst result = this.hooks.expressionLogicalOperator.call(expression);\n\t\tif (result === undefined) {\n\t\t\tthis.walkLeftRightExpression(expression);\n\t\t} else {\n\t\t\tif (result) {\n\t\t\t\tthis.walkExpression(expression.right);\n\t\t\t}\n\t\t}\n\t}\n\n\twalkAssignmentExpression(expression) {\n\t\tif (expression.left.type === \"Identifier\") {\n\t\t\tconst renameIdentifier = this.getRenameIdentifier(expression.right);\n\t\t\tif (renameIdentifier) {\n\t\t\t\tif (\n\t\t\t\t\tthis.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.canRename,\n\t\t\t\t\t\trenameIdentifier,\n\t\t\t\t\t\texpression.right\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\t// renaming \"a = b;\"\n\t\t\t\t\tif (\n\t\t\t\t\t\t!this.callHooksForInfo(\n\t\t\t\t\t\t\tthis.hooks.rename,\n\t\t\t\t\t\t\trenameIdentifier,\n\t\t\t\t\t\t\texpression.right\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tthis.setVariable(\n\t\t\t\t\t\t\texpression.left.name,\n\t\t\t\t\t\t\ttypeof renameIdentifier === \"string\"\n\t\t\t\t\t\t\t\t? this.getVariableInfo(renameIdentifier)\n\t\t\t\t\t\t\t\t: renameIdentifier\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.walkExpression(expression.right);\n\t\t\tthis.enterPattern(expression.left, (name, decl) => {\n\t\t\t\tif (!this.callHooksForName(this.hooks.assign, name, expression)) {\n\t\t\t\t\tthis.walkExpression(expression.left);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tif (expression.left.type.endsWith(\"Pattern\")) {\n\t\t\tthis.walkExpression(expression.right);\n\t\t\tthis.enterPattern(expression.left, (name, decl) => {\n\t\t\t\tif (!this.callHooksForName(this.hooks.assign, name, expression)) {\n\t\t\t\t\tthis.defineVariable(name);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.walkPattern(expression.left);\n\t\t} else if (expression.left.type === \"MemberExpression\") {\n\t\t\tconst exprName = this.getMemberExpressionInfo(\n\t\t\t\texpression.left,\n\t\t\t\tALLOWED_MEMBER_TYPES_EXPRESSION\n\t\t\t);\n\t\t\tif (exprName) {\n\t\t\t\tif (\n\t\t\t\t\tthis.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.assignMemberChain,\n\t\t\t\t\t\texprName.rootInfo,\n\t\t\t\t\t\texpression,\n\t\t\t\t\t\texprName.getMembers()\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.walkExpression(expression.right);\n\t\t\tthis.walkExpression(expression.left);\n\t\t} else {\n\t\t\tthis.walkExpression(expression.right);\n\t\t\tthis.walkExpression(expression.left);\n\t\t}\n\t}\n\n\twalkConditionalExpression(expression) {\n\t\tconst result = this.hooks.expressionConditionalOperator.call(expression);\n\t\tif (result === undefined) {\n\t\t\tthis.walkExpression(expression.test);\n\t\t\tthis.walkExpression(expression.consequent);\n\t\t\tif (expression.alternate) {\n\t\t\t\tthis.walkExpression(expression.alternate);\n\t\t\t}\n\t\t} else {\n\t\t\tif (result) {\n\t\t\t\tthis.walkExpression(expression.consequent);\n\t\t\t} else if (expression.alternate) {\n\t\t\t\tthis.walkExpression(expression.alternate);\n\t\t\t}\n\t\t}\n\t}\n\n\twalkNewExpression(expression) {\n\t\tconst result = this.callHooksForExpression(\n\t\t\tthis.hooks.new,\n\t\t\texpression.callee,\n\t\t\texpression\n\t\t);\n\t\tif (result === true) return;\n\t\tthis.walkExpression(expression.callee);\n\t\tif (expression.arguments) {\n\t\t\tthis.walkExpressions(expression.arguments);\n\t\t}\n\t}\n\n\twalkYieldExpression(expression) {\n\t\tif (expression.argument) {\n\t\t\tthis.walkExpression(expression.argument);\n\t\t}\n\t}\n\n\twalkTemplateLiteral(expression) {\n\t\tif (expression.expressions) {\n\t\t\tthis.walkExpressions(expression.expressions);\n\t\t}\n\t}\n\n\twalkTaggedTemplateExpression(expression) {\n\t\tif (expression.tag) {\n\t\t\tthis.walkExpression(expression.tag);\n\t\t}\n\t\tif (expression.quasi && expression.quasi.expressions) {\n\t\t\tthis.walkExpressions(expression.quasi.expressions);\n\t\t}\n\t}\n\n\twalkClassExpression(expression) {\n\t\tthis.walkClass(expression);\n\t}\n\n\t/**\n\t * @param {ChainExpressionNode} expression expression\n\t */\n\twalkChainExpression(expression) {\n\t\tconst result = this.hooks.optionalChaining.call(expression);\n\n\t\tif (result === undefined) {\n\t\t\tif (expression.expression.type === \"CallExpression\") {\n\t\t\t\tthis.walkCallExpression(expression.expression);\n\t\t\t} else {\n\t\t\t\tthis.walkMemberExpression(expression.expression);\n\t\t\t}\n\t\t}\n\t}\n\n\t_walkIIFE(functionExpression, options, currentThis) {\n\t\tconst getVarInfo = argOrThis => {\n\t\t\tconst renameIdentifier = this.getRenameIdentifier(argOrThis);\n\t\t\tif (renameIdentifier) {\n\t\t\t\tif (\n\t\t\t\t\tthis.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.canRename,\n\t\t\t\t\t\trenameIdentifier,\n\t\t\t\t\t\targOrThis\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t!this.callHooksForInfo(\n\t\t\t\t\t\t\tthis.hooks.rename,\n\t\t\t\t\t\t\trenameIdentifier,\n\t\t\t\t\t\t\targOrThis\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn typeof renameIdentifier === \"string\"\n\t\t\t\t\t\t\t? this.getVariableInfo(renameIdentifier)\n\t\t\t\t\t\t\t: renameIdentifier;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.walkExpression(argOrThis);\n\t\t};\n\t\tconst { params, type } = functionExpression;\n\t\tconst arrow = type === \"ArrowFunctionExpression\";\n\t\tconst renameThis = currentThis ? getVarInfo(currentThis) : null;\n\t\tconst varInfoForArgs = options.map(getVarInfo);\n\t\tconst wasTopLevel = this.scope.topLevelScope;\n\t\tthis.scope.topLevelScope = wasTopLevel && arrow ? \"arrow\" : false;\n\t\tconst scopeParams = params.filter(\n\t\t\t(identifier, idx) => !varInfoForArgs[idx]\n\t\t);\n\n\t\t// Add function name in scope for recursive calls\n\t\tif (functionExpression.id) {\n\t\t\tscopeParams.push(functionExpression.id.name);\n\t\t}\n\n\t\tthis.inFunctionScope(true, scopeParams, () => {\n\t\t\tif (renameThis && !arrow) {\n\t\t\t\tthis.setVariable(\"this\", renameThis);\n\t\t\t}\n\t\t\tfor (let i = 0; i < varInfoForArgs.length; i++) {\n\t\t\t\tconst varInfo = varInfoForArgs[i];\n\t\t\t\tif (!varInfo) continue;\n\t\t\t\tif (!params[i] || params[i].type !== \"Identifier\") continue;\n\t\t\t\tthis.setVariable(params[i].name, varInfo);\n\t\t\t}\n\t\t\tif (functionExpression.body.type === \"BlockStatement\") {\n\t\t\t\tthis.detectMode(functionExpression.body.body);\n\t\t\t\tconst prev = this.prevStatement;\n\t\t\t\tthis.preWalkStatement(functionExpression.body);\n\t\t\t\tthis.prevStatement = prev;\n\t\t\t\tthis.walkStatement(functionExpression.body);\n\t\t\t} else {\n\t\t\t\tthis.walkExpression(functionExpression.body);\n\t\t\t}\n\t\t});\n\t\tthis.scope.topLevelScope = wasTopLevel;\n\t}\n\n\twalkImportExpression(expression) {\n\t\tlet result = this.hooks.importCall.call(expression);\n\t\tif (result === true) return;\n\n\t\tthis.walkExpression(expression.source);\n\t}\n\n\twalkCallExpression(expression) {\n\t\tconst isSimpleFunction = fn => {\n\t\t\treturn fn.params.every(p => p.type === \"Identifier\");\n\t\t};\n\t\tif (\n\t\t\texpression.callee.type === \"MemberExpression\" &&\n\t\t\texpression.callee.object.type.endsWith(\"FunctionExpression\") &&\n\t\t\t!expression.callee.computed &&\n\t\t\t(expression.callee.property.name === \"call\" ||\n\t\t\t\texpression.callee.property.name === \"bind\") &&\n\t\t\texpression.arguments.length > 0 &&\n\t\t\tisSimpleFunction(expression.callee.object)\n\t\t) {\n\t\t\t// (function(…) { }.call/bind(?, …))\n\t\t\tthis._walkIIFE(\n\t\t\t\texpression.callee.object,\n\t\t\t\texpression.arguments.slice(1),\n\t\t\t\texpression.arguments[0]\n\t\t\t);\n\t\t} else if (\n\t\t\texpression.callee.type.endsWith(\"FunctionExpression\") &&\n\t\t\tisSimpleFunction(expression.callee)\n\t\t) {\n\t\t\t// (function(…) { }(…))\n\t\t\tthis._walkIIFE(expression.callee, expression.arguments, null);\n\t\t} else {\n\t\t\tif (expression.callee.type === \"MemberExpression\") {\n\t\t\t\tconst exprInfo = this.getMemberExpressionInfo(\n\t\t\t\t\texpression.callee,\n\t\t\t\t\tALLOWED_MEMBER_TYPES_CALL_EXPRESSION\n\t\t\t\t);\n\t\t\t\tif (exprInfo && exprInfo.type === \"call\") {\n\t\t\t\t\tconst result = this.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.callMemberChainOfCallMemberChain,\n\t\t\t\t\t\texprInfo.rootInfo,\n\t\t\t\t\t\texpression,\n\t\t\t\t\t\texprInfo.getCalleeMembers(),\n\t\t\t\t\t\texprInfo.call,\n\t\t\t\t\t\texprInfo.getMembers()\n\t\t\t\t\t);\n\t\t\t\t\tif (result === true) return;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst callee = this.evaluateExpression(expression.callee);\n\t\t\tif (callee.isIdentifier()) {\n\t\t\t\tconst result1 = this.callHooksForInfo(\n\t\t\t\t\tthis.hooks.callMemberChain,\n\t\t\t\t\tcallee.rootInfo,\n\t\t\t\t\texpression,\n\t\t\t\t\tcallee.getMembers(),\n\t\t\t\t\tcallee.getMembersOptionals\n\t\t\t\t\t\t? callee.getMembersOptionals()\n\t\t\t\t\t\t: callee.getMembers().map(() => false)\n\t\t\t\t);\n\t\t\t\tif (result1 === true) return;\n\t\t\t\tconst result2 = this.callHooksForInfo(\n\t\t\t\t\tthis.hooks.call,\n\t\t\t\t\tcallee.identifier,\n\t\t\t\t\texpression\n\t\t\t\t);\n\t\t\t\tif (result2 === true) return;\n\t\t\t}\n\n\t\t\tif (expression.callee) {\n\t\t\t\tif (expression.callee.type === \"MemberExpression\") {\n\t\t\t\t\t// because of call context we need to walk the call context as expression\n\t\t\t\t\tthis.walkExpression(expression.callee.object);\n\t\t\t\t\tif (expression.callee.computed === true)\n\t\t\t\t\t\tthis.walkExpression(expression.callee.property);\n\t\t\t\t} else {\n\t\t\t\t\tthis.walkExpression(expression.callee);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (expression.arguments) this.walkExpressions(expression.arguments);\n\t\t}\n\t}\n\n\twalkMemberExpression(expression) {\n\t\tconst exprInfo = this.getMemberExpressionInfo(\n\t\t\texpression,\n\t\t\tALLOWED_MEMBER_TYPES_ALL\n\t\t);\n\t\tif (exprInfo) {\n\t\t\tswitch (exprInfo.type) {\n\t\t\t\tcase \"expression\": {\n\t\t\t\t\tconst result1 = this.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.expression,\n\t\t\t\t\t\texprInfo.name,\n\t\t\t\t\t\texpression\n\t\t\t\t\t);\n\t\t\t\t\tif (result1 === true) return;\n\t\t\t\t\tconst members = exprInfo.getMembers();\n\t\t\t\t\tconst membersOptionals = exprInfo.getMembersOptionals();\n\t\t\t\t\tconst result2 = this.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.expressionMemberChain,\n\t\t\t\t\t\texprInfo.rootInfo,\n\t\t\t\t\t\texpression,\n\t\t\t\t\t\tmembers,\n\t\t\t\t\t\tmembersOptionals\n\t\t\t\t\t);\n\t\t\t\t\tif (result2 === true) return;\n\t\t\t\t\tthis.walkMemberExpressionWithExpressionName(\n\t\t\t\t\t\texpression,\n\t\t\t\t\t\texprInfo.name,\n\t\t\t\t\t\texprInfo.rootInfo,\n\t\t\t\t\t\tmembers.slice(),\n\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\tthis.callHooksForInfo(\n\t\t\t\t\t\t\t\tthis.hooks.unhandledExpressionMemberChain,\n\t\t\t\t\t\t\t\texprInfo.rootInfo,\n\t\t\t\t\t\t\t\texpression,\n\t\t\t\t\t\t\t\tmembers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase \"call\": {\n\t\t\t\t\tconst result = this.callHooksForInfo(\n\t\t\t\t\t\tthis.hooks.memberChainOfCallMemberChain,\n\t\t\t\t\t\texprInfo.rootInfo,\n\t\t\t\t\t\texpression,\n\t\t\t\t\t\texprInfo.getCalleeMembers(),\n\t\t\t\t\t\texprInfo.call,\n\t\t\t\t\t\texprInfo.getMembers()\n\t\t\t\t\t);\n\t\t\t\t\tif (result === true) return;\n\t\t\t\t\t// Fast skip over the member chain as we already called memberChainOfCallMemberChain\n\t\t\t\t\t// and call computed property are literals anyway\n\t\t\t\t\tthis.walkExpression(exprInfo.call);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tthis.walkExpression(expression.object);\n\t\tif (expression.computed === true) this.walkExpression(expression.property);\n\t}\n\n\twalkMemberExpressionWithExpressionName(\n\t\texpression,\n\t\tname,\n\t\trootInfo,\n\t\tmembers,\n\t\tonUnhandled\n\t) {\n\t\tif (expression.object.type === \"MemberExpression\") {\n\t\t\t// optimize the case where expression.object is a MemberExpression too.\n\t\t\t// we can keep info here when calling walkMemberExpression directly\n\t\t\tconst property =\n\t\t\t\texpression.property.name || `${expression.property.value}`;\n\t\t\tname = name.slice(0, -property.length - 1);\n\t\t\tmembers.pop();\n\t\t\tconst result = this.callHooksForInfo(\n\t\t\t\tthis.hooks.expression,\n\t\t\t\tname,\n\t\t\t\texpression.object\n\t\t\t);\n\t\t\tif (result === true) return;\n\t\t\tthis.walkMemberExpressionWithExpressionName(\n\t\t\t\texpression.object,\n\t\t\t\tname,\n\t\t\t\trootInfo,\n\t\t\t\tmembers,\n\t\t\t\tonUnhandled\n\t\t\t);\n\t\t} else if (!onUnhandled || !onUnhandled()) {\n\t\t\tthis.walkExpression(expression.object);\n\t\t}\n\t\tif (expression.computed === true) this.walkExpression(expression.property);\n\t}\n\n\twalkThisExpression(expression) {\n\t\tthis.callHooksForName(this.hooks.expression, \"this\", expression);\n\t}\n\n\twalkIdentifier(expression) {\n\t\tthis.callHooksForName(this.hooks.expression, expression.name, expression);\n\t}\n\n\t/**\n\t * @param {MetaPropertyNode} metaProperty meta property\n\t */\n\twalkMetaProperty(metaProperty) {\n\t\tthis.hooks.expression.for(getRootName(metaProperty)).call(metaProperty);\n\t}\n\n\tcallHooksForExpression(hookMap, expr, ...args) {\n\t\treturn this.callHooksForExpressionWithFallback(\n\t\t\thookMap,\n\t\t\texpr,\n\t\t\tundefined,\n\t\t\tundefined,\n\t\t\t...args\n\t\t);\n\t}\n\n\t/**\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks the should be called\n\t * @param {MemberExpressionNode} expr expression info\n\t * @param {function(string, string | ScopeInfo | VariableInfo, function(): string[]): any} fallback callback when variable in not handled by hooks\n\t * @param {function(string): any} defined callback when variable is defined\n\t * @param {AsArray<T>} args args for the hook\n\t * @returns {R} result of hook\n\t */\n\tcallHooksForExpressionWithFallback(\n\t\thookMap,\n\t\texpr,\n\t\tfallback,\n\t\tdefined,\n\t\t...args\n\t) {\n\t\tconst exprName = this.getMemberExpressionInfo(\n\t\t\texpr,\n\t\t\tALLOWED_MEMBER_TYPES_EXPRESSION\n\t\t);\n\t\tif (exprName !== undefined) {\n\t\t\tconst members = exprName.getMembers();\n\t\t\treturn this.callHooksForInfoWithFallback(\n\t\t\t\thookMap,\n\t\t\t\tmembers.length === 0 ? exprName.rootInfo : exprName.name,\n\t\t\t\tfallback &&\n\t\t\t\t\t(name => fallback(name, exprName.rootInfo, exprName.getMembers)),\n\t\t\t\tdefined && (() => defined(exprName.name)),\n\t\t\t\t...args\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks the should be called\n\t * @param {string} name key in map\n\t * @param {AsArray<T>} args args for the hook\n\t * @returns {R} result of hook\n\t */\n\tcallHooksForName(hookMap, name, ...args) {\n\t\treturn this.callHooksForNameWithFallback(\n\t\t\thookMap,\n\t\t\tname,\n\t\t\tundefined,\n\t\t\tundefined,\n\t\t\t...args\n\t\t);\n\t}\n\n\t/**\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks that should be called\n\t * @param {ExportedVariableInfo} info variable info\n\t * @param {AsArray<T>} args args for the hook\n\t * @returns {R} result of hook\n\t */\n\tcallHooksForInfo(hookMap, info, ...args) {\n\t\treturn this.callHooksForInfoWithFallback(\n\t\t\thookMap,\n\t\t\tinfo,\n\t\t\tundefined,\n\t\t\tundefined,\n\t\t\t...args\n\t\t);\n\t}\n\n\t/**\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks the should be called\n\t * @param {ExportedVariableInfo} info variable info\n\t * @param {function(string): any} fallback callback when variable in not handled by hooks\n\t * @param {function(): any} defined callback when variable is defined\n\t * @param {AsArray<T>} args args for the hook\n\t * @returns {R} result of hook\n\t */\n\tcallHooksForInfoWithFallback(hookMap, info, fallback, defined, ...args) {\n\t\tlet name;\n\t\tif (typeof info === \"string\") {\n\t\t\tname = info;\n\t\t} else {\n\t\t\tif (!(info instanceof VariableInfo)) {\n\t\t\t\tif (defined !== undefined) {\n\t\t\t\t\treturn defined();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet tagInfo = info.tagInfo;\n\t\t\twhile (tagInfo !== undefined) {\n\t\t\t\tconst hook = hookMap.get(tagInfo.tag);\n\t\t\t\tif (hook !== undefined) {\n\t\t\t\t\tthis.currentTagData = tagInfo.data;\n\t\t\t\t\tconst result = hook.call(...args);\n\t\t\t\t\tthis.currentTagData = undefined;\n\t\t\t\t\tif (result !== undefined) return result;\n\t\t\t\t}\n\t\t\t\ttagInfo = tagInfo.next;\n\t\t\t}\n\t\t\tif (info.freeName === true) {\n\t\t\t\tif (defined !== undefined) {\n\t\t\t\t\treturn defined();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tname = info.freeName;\n\t\t}\n\t\tconst hook = hookMap.get(name);\n\t\tif (hook !== undefined) {\n\t\t\tconst result = hook.call(...args);\n\t\t\tif (result !== undefined) return result;\n\t\t}\n\t\tif (fallback !== undefined) {\n\t\t\treturn fallback(name);\n\t\t}\n\t}\n\n\t/**\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks the should be called\n\t * @param {string} name key in map\n\t * @param {function(string): any} fallback callback when variable in not handled by hooks\n\t * @param {function(): any} defined callback when variable is defined\n\t * @param {AsArray<T>} args args for the hook\n\t * @returns {R} result of hook\n\t */\n\tcallHooksForNameWithFallback(hookMap, name, fallback, defined, ...args) {\n\t\treturn this.callHooksForInfoWithFallback(\n\t\t\thookMap,\n\t\t\tthis.getVariableInfo(name),\n\t\t\tfallback,\n\t\t\tdefined,\n\t\t\t...args\n\t\t);\n\t}\n\n\t/**\n\t * @deprecated\n\t * @param {any} params scope params\n\t * @param {function(): void} fn inner function\n\t * @returns {void}\n\t */\n\tinScope(params, fn) {\n\t\tconst oldScope = this.scope;\n\t\tthis.scope = {\n\t\t\ttopLevelScope: oldScope.topLevelScope,\n\t\t\tinTry: false,\n\t\t\tinShorthand: false,\n\t\t\tisStrict: oldScope.isStrict,\n\t\t\tisAsmJs: oldScope.isAsmJs,\n\t\t\tdefinitions: oldScope.definitions.createChild()\n\t\t};\n\n\t\tthis.undefineVariable(\"this\");\n\n\t\tthis.enterPatterns(params, (ident, pattern) => {\n\t\t\tthis.defineVariable(ident);\n\t\t});\n\n\t\tfn();\n\n\t\tthis.scope = oldScope;\n\t}\n\n\tinFunctionScope(hasThis, params, fn) {\n\t\tconst oldScope = this.scope;\n\t\tthis.scope = {\n\t\t\ttopLevelScope: oldScope.topLevelScope,\n\t\t\tinTry: false,\n\t\t\tinShorthand: false,\n\t\t\tisStrict: oldScope.isStrict,\n\t\t\tisAsmJs: oldScope.isAsmJs,\n\t\t\tdefinitions: oldScope.definitions.createChild()\n\t\t};\n\n\t\tif (hasThis) {\n\t\t\tthis.undefineVariable(\"this\");\n\t\t}\n\n\t\tthis.enterPatterns(params, (ident, pattern) => {\n\t\t\tthis.defineVariable(ident);\n\t\t});\n\n\t\tfn();\n\n\t\tthis.scope = oldScope;\n\t}\n\n\tinBlockScope(fn) {\n\t\tconst oldScope = this.scope;\n\t\tthis.scope = {\n\t\t\ttopLevelScope: oldScope.topLevelScope,\n\t\t\tinTry: oldScope.inTry,\n\t\t\tinShorthand: false,\n\t\t\tisStrict: oldScope.isStrict,\n\t\t\tisAsmJs: oldScope.isAsmJs,\n\t\t\tdefinitions: oldScope.definitions.createChild()\n\t\t};\n\n\t\tfn();\n\n\t\tthis.scope = oldScope;\n\t}\n\n\tdetectMode(statements) {\n\t\tconst isLiteral =\n\t\t\tstatements.length >= 1 &&\n\t\t\tstatements[0].type === \"ExpressionStatement\" &&\n\t\t\tstatements[0].expression.type === \"Literal\";\n\t\tif (isLiteral && statements[0].expression.value === \"use strict\") {\n\t\t\tthis.scope.isStrict = true;\n\t\t}\n\t\tif (isLiteral && statements[0].expression.value === \"use asm\") {\n\t\t\tthis.scope.isAsmJs = true;\n\t\t}\n\t}\n\n\tenterPatterns(patterns, onIdent) {\n\t\tfor (const pattern of patterns) {\n\t\t\tif (typeof pattern !== \"string\") {\n\t\t\t\tthis.enterPattern(pattern, onIdent);\n\t\t\t} else if (pattern) {\n\t\t\t\tonIdent(pattern);\n\t\t\t}\n\t\t}\n\t}\n\n\tenterPattern(pattern, onIdent) {\n\t\tif (!pattern) return;\n\t\tswitch (pattern.type) {\n\t\t\tcase \"ArrayPattern\":\n\t\t\t\tthis.enterArrayPattern(pattern, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"AssignmentPattern\":\n\t\t\t\tthis.enterAssignmentPattern(pattern, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"Identifier\":\n\t\t\t\tthis.enterIdentifier(pattern, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"ObjectPattern\":\n\t\t\t\tthis.enterObjectPattern(pattern, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"RestElement\":\n\t\t\t\tthis.enterRestElement(pattern, onIdent);\n\t\t\t\tbreak;\n\t\t\tcase \"Property\":\n\t\t\t\tif (pattern.shorthand && pattern.value.type === \"Identifier\") {\n\t\t\t\t\tthis.scope.inShorthand = pattern.value.name;\n\t\t\t\t\tthis.enterIdentifier(pattern.value, onIdent);\n\t\t\t\t\tthis.scope.inShorthand = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.enterPattern(pattern.value, onIdent);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tenterIdentifier(pattern, onIdent) {\n\t\tif (!this.callHooksForName(this.hooks.pattern, pattern.name, pattern)) {\n\t\t\tonIdent(pattern.name, pattern);\n\t\t}\n\t}\n\n\tenterObjectPattern(pattern, onIdent) {\n\t\tfor (\n\t\t\tlet propIndex = 0, len = pattern.properties.length;\n\t\t\tpropIndex < len;\n\t\t\tpropIndex++\n\t\t) {\n\t\t\tconst prop = pattern.properties[propIndex];\n\t\t\tthis.enterPattern(prop, onIdent);\n\t\t}\n\t}\n\n\tenterArrayPattern(pattern, onIdent) {\n\t\tfor (\n\t\t\tlet elementIndex = 0, len = pattern.elements.length;\n\t\t\telementIndex < len;\n\t\t\telementIndex++\n\t\t) {\n\t\t\tconst element = pattern.elements[elementIndex];\n\t\t\tthis.enterPattern(element, onIdent);\n\t\t}\n\t}\n\n\tenterRestElement(pattern, onIdent) {\n\t\tthis.enterPattern(pattern.argument, onIdent);\n\t}\n\n\tenterAssignmentPattern(pattern, onIdent) {\n\t\tthis.enterPattern(pattern.left, onIdent);\n\t}\n\n\t/**\n\t * @param {ExpressionNode} expression expression node\n\t * @returns {BasicEvaluatedExpression} evaluation result\n\t */\n\tevaluateExpression(expression) {\n\t\ttry {\n\t\t\tconst hook = this.hooks.evaluate.get(expression.type);\n\t\t\tif (hook !== undefined) {\n\t\t\t\tconst result = hook.call(expression);\n\t\t\t\tif (result !== undefined && result !== null) {\n\t\t\t\t\tresult.setExpression(expression);\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tconsole.warn(e);\n\t\t\t// ignore error\n\t\t}\n\t\treturn new BasicEvaluatedExpression()\n\t\t\t.setRange(expression.range)\n\t\t\t.setExpression(expression);\n\t}\n\n\tparseString(expression) {\n\t\tswitch (expression.type) {\n\t\t\tcase \"BinaryExpression\":\n\t\t\t\tif (expression.operator === \"+\") {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tthis.parseString(expression.left) +\n\t\t\t\t\t\tthis.parseString(expression.right)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"Literal\":\n\t\t\t\treturn expression.value + \"\";\n\t\t}\n\t\tthrow new Error(\n\t\t\texpression.type + \" is not supported as parameter for require\"\n\t\t);\n\t}\n\n\tparseCalculatedString(expression) {\n\t\tswitch (expression.type) {\n\t\t\tcase \"BinaryExpression\":\n\t\t\t\tif (expression.operator === \"+\") {\n\t\t\t\t\tconst left = this.parseCalculatedString(expression.left);\n\t\t\t\t\tconst right = this.parseCalculatedString(expression.right);\n\t\t\t\t\tif (left.code) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\trange: left.range,\n\t\t\t\t\t\t\tvalue: left.value,\n\t\t\t\t\t\t\tcode: true,\n\t\t\t\t\t\t\tconditional: false\n\t\t\t\t\t\t};\n\t\t\t\t\t} else if (right.code) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\trange: [\n\t\t\t\t\t\t\t\tleft.range[0],\n\t\t\t\t\t\t\t\tright.range ? right.range[1] : left.range[1]\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tvalue: left.value + right.value,\n\t\t\t\t\t\t\tcode: true,\n\t\t\t\t\t\t\tconditional: false\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\trange: [left.range[0], right.range[1]],\n\t\t\t\t\t\t\tvalue: left.value + right.value,\n\t\t\t\t\t\t\tcode: false,\n\t\t\t\t\t\t\tconditional: false\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"ConditionalExpression\": {\n\t\t\t\tconst consequent = this.parseCalculatedString(expression.consequent);\n\t\t\t\tconst alternate = this.parseCalculatedString(expression.alternate);\n\t\t\t\tconst items = [];\n\t\t\t\tif (consequent.conditional) {\n\t\t\t\t\titems.push(...consequent.conditional);\n\t\t\t\t} else if (!consequent.code) {\n\t\t\t\t\titems.push(consequent);\n\t\t\t\t} else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (alternate.conditional) {\n\t\t\t\t\titems.push(...alternate.conditional);\n\t\t\t\t} else if (!alternate.code) {\n\t\t\t\t\titems.push(alternate);\n\t\t\t\t} else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\trange: undefined,\n\t\t\t\t\tvalue: \"\",\n\t\t\t\t\tcode: true,\n\t\t\t\t\tconditional: items\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"Literal\":\n\t\t\t\treturn {\n\t\t\t\t\trange: expression.range,\n\t\t\t\t\tvalue: expression.value + \"\",\n\t\t\t\t\tcode: false,\n\t\t\t\t\tconditional: false\n\t\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\trange: undefined,\n\t\t\tvalue: \"\",\n\t\t\tcode: true,\n\t\t\tconditional: false\n\t\t};\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tlet ast;\n\t\tlet comments;\n\t\tconst semicolons = new Set();\n\t\tif (source === null) {\n\t\t\tthrow new Error(\"source must not be null\");\n\t\t}\n\t\tif (Buffer.isBuffer(source)) {\n\t\t\tsource = source.toString(\"utf-8\");\n\t\t}\n\t\tif (typeof source === \"object\") {\n\t\t\tast = /** @type {ProgramNode} */ (source);\n\t\t\tcomments = source.comments;\n\t\t} else {\n\t\t\tcomments = [];\n\t\t\tast = JavascriptParser._parse(source, {\n\t\t\t\tsourceType: this.sourceType,\n\t\t\t\tonComment: comments,\n\t\t\t\tonInsertedSemicolon: pos => semicolons.add(pos)\n\t\t\t});\n\t\t}\n\n\t\tconst oldScope = this.scope;\n\t\tconst oldState = this.state;\n\t\tconst oldComments = this.comments;\n\t\tconst oldSemicolons = this.semicolons;\n\t\tconst oldStatementPath = this.statementPath;\n\t\tconst oldPrevStatement = this.prevStatement;\n\t\tthis.scope = {\n\t\t\ttopLevelScope: true,\n\t\t\tinTry: false,\n\t\t\tinShorthand: false,\n\t\t\tisStrict: false,\n\t\t\tisAsmJs: false,\n\t\t\tdefinitions: new StackedMap()\n\t\t};\n\t\t/** @type {ParserState} */\n\t\tthis.state = state;\n\t\tthis.comments = comments;\n\t\tthis.semicolons = semicolons;\n\t\tthis.statementPath = [];\n\t\tthis.prevStatement = undefined;\n\t\tif (this.hooks.program.call(ast, comments) === undefined) {\n\t\t\tthis.detectMode(ast.body);\n\t\t\tthis.preWalkStatements(ast.body);\n\t\t\tthis.prevStatement = undefined;\n\t\t\tthis.blockPreWalkStatements(ast.body);\n\t\t\tthis.prevStatement = undefined;\n\t\t\tthis.walkStatements(ast.body);\n\t\t}\n\t\tthis.hooks.finish.call(ast, comments);\n\t\tthis.scope = oldScope;\n\t\t/** @type {ParserState} */\n\t\tthis.state = oldState;\n\t\tthis.comments = oldComments;\n\t\tthis.semicolons = oldSemicolons;\n\t\tthis.statementPath = oldStatementPath;\n\t\tthis.prevStatement = oldPrevStatement;\n\t\treturn state;\n\t}\n\n\t/**\n\t * @param {string} source source code\n\t * @returns {BasicEvaluatedExpression} evaluation result\n\t */\n\tevaluate(source) {\n\t\tconst ast = JavascriptParser._parse(\"(\" + source + \")\", {\n\t\t\tsourceType: this.sourceType,\n\t\t\tlocations: false\n\t\t});\n\t\tif (ast.body.length !== 1 || ast.body[0].type !== \"ExpressionStatement\") {\n\t\t\tthrow new Error(\"evaluate: Source is not a expression\");\n\t\t}\n\t\treturn this.evaluateExpression(ast.body[0].expression);\n\t}\n\n\t/**\n\t * @param {ExpressionNode | DeclarationNode | PrivateIdentifierNode | null | undefined} expr an expression\n\t * @param {number} commentsStartPos source position from which annotation comments are checked\n\t * @returns {boolean} true, when the expression is pure\n\t */\n\tisPure(expr, commentsStartPos) {\n\t\tif (!expr) return true;\n\t\tconst result = this.hooks.isPure\n\t\t\t.for(expr.type)\n\t\t\t.call(expr, commentsStartPos);\n\t\tif (typeof result === \"boolean\") return result;\n\t\tswitch (expr.type) {\n\t\t\tcase \"ClassDeclaration\":\n\t\t\tcase \"ClassExpression\": {\n\t\t\t\tif (expr.body.type !== \"ClassBody\") return false;\n\t\t\t\tif (expr.superClass && !this.isPure(expr.superClass, expr.range[0])) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tconst items =\n\t\t\t\t\t/** @type {(MethodDefinitionNode | PropertyDefinitionNode)[]} */ (\n\t\t\t\t\t\texpr.body.body\n\t\t\t\t\t);\n\t\t\t\treturn items.every(\n\t\t\t\t\titem =>\n\t\t\t\t\t\t(!item.computed ||\n\t\t\t\t\t\t\t!item.key ||\n\t\t\t\t\t\t\tthis.isPure(item.key, item.range[0])) &&\n\t\t\t\t\t\t(!item.static ||\n\t\t\t\t\t\t\t!item.value ||\n\t\t\t\t\t\t\tthis.isPure(\n\t\t\t\t\t\t\t\titem.value,\n\t\t\t\t\t\t\t\titem.key ? item.key.range[1] : item.range[0]\n\t\t\t\t\t\t\t))\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tcase \"FunctionDeclaration\":\n\t\t\tcase \"FunctionExpression\":\n\t\t\tcase \"ArrowFunctionExpression\":\n\t\t\tcase \"Literal\":\n\t\t\tcase \"PrivateIdentifier\":\n\t\t\t\treturn true;\n\n\t\t\tcase \"VariableDeclaration\":\n\t\t\t\treturn expr.declarations.every(decl =>\n\t\t\t\t\tthis.isPure(decl.init, decl.range[0])\n\t\t\t\t);\n\n\t\t\tcase \"ConditionalExpression\":\n\t\t\t\treturn (\n\t\t\t\t\tthis.isPure(expr.test, commentsStartPos) &&\n\t\t\t\t\tthis.isPure(expr.consequent, expr.test.range[1]) &&\n\t\t\t\t\tthis.isPure(expr.alternate, expr.consequent.range[1])\n\t\t\t\t);\n\n\t\t\tcase \"SequenceExpression\":\n\t\t\t\treturn expr.expressions.every(expr => {\n\t\t\t\t\tconst pureFlag = this.isPure(expr, commentsStartPos);\n\t\t\t\t\tcommentsStartPos = expr.range[1];\n\t\t\t\t\treturn pureFlag;\n\t\t\t\t});\n\n\t\t\tcase \"CallExpression\": {\n\t\t\t\tconst pureFlag =\n\t\t\t\t\texpr.range[0] - commentsStartPos > 12 &&\n\t\t\t\t\tthis.getComments([commentsStartPos, expr.range[0]]).some(\n\t\t\t\t\t\tcomment =>\n\t\t\t\t\t\t\tcomment.type === \"Block\" &&\n\t\t\t\t\t\t\t/^\\s*(#|@)__PURE__\\s*$/.test(comment.value)\n\t\t\t\t\t);\n\t\t\t\tif (!pureFlag) return false;\n\t\t\t\tcommentsStartPos = expr.callee.range[1];\n\t\t\t\treturn expr.arguments.every(arg => {\n\t\t\t\t\tif (arg.type === \"SpreadElement\") return false;\n\t\t\t\t\tconst pureFlag = this.isPure(arg, commentsStartPos);\n\t\t\t\t\tcommentsStartPos = arg.range[1];\n\t\t\t\t\treturn pureFlag;\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tconst evaluated = this.evaluateExpression(expr);\n\t\treturn !evaluated.couldHaveSideEffects();\n\t}\n\n\tgetComments(range) {\n\t\tconst [rangeStart, rangeEnd] = range;\n\t\tconst compare = (comment, needle) => comment.range[0] - needle;\n\t\tlet idx = binarySearchBounds.ge(this.comments, rangeStart, compare);\n\t\tlet commentsInRange = [];\n\t\twhile (this.comments[idx] && this.comments[idx].range[1] <= rangeEnd) {\n\t\t\tcommentsInRange.push(this.comments[idx]);\n\t\t\tidx++;\n\t\t}\n\n\t\treturn commentsInRange;\n\t}\n\n\t/**\n\t * @param {number} pos source code position\n\t * @returns {boolean} true when a semicolon has been inserted before this position, false if not\n\t */\n\tisAsiPosition(pos) {\n\t\tconst currentStatement = this.statementPath[this.statementPath.length - 1];\n\t\tif (currentStatement === undefined) throw new Error(\"Not in statement\");\n\t\treturn (\n\t\t\t// Either asking directly for the end position of the current statement\n\t\t\t(currentStatement.range[1] === pos && this.semicolons.has(pos)) ||\n\t\t\t// Or asking for the start position of the current statement,\n\t\t\t// here we have to check multiple things\n\t\t\t(currentStatement.range[0] === pos &&\n\t\t\t\t// is there a previous statement which might be relevant?\n\t\t\t\tthis.prevStatement !== undefined &&\n\t\t\t\t// is the end position of the previous statement an ASI position?\n\t\t\t\tthis.semicolons.has(this.prevStatement.range[1]))\n\t\t);\n\t}\n\n\t/**\n\t * @param {number} pos source code position\n\t * @returns {void}\n\t */\n\tunsetAsiPosition(pos) {\n\t\tthis.semicolons.delete(pos);\n\t}\n\n\tisStatementLevelExpression(expr) {\n\t\tconst currentStatement = this.statementPath[this.statementPath.length - 1];\n\t\treturn (\n\t\t\texpr === currentStatement ||\n\t\t\t(currentStatement.type === \"ExpressionStatement\" &&\n\t\t\t\tcurrentStatement.expression === expr)\n\t\t);\n\t}\n\n\tgetTagData(name, tag) {\n\t\tconst info = this.scope.definitions.get(name);\n\t\tif (info instanceof VariableInfo) {\n\t\t\tlet tagInfo = info.tagInfo;\n\t\t\twhile (tagInfo !== undefined) {\n\t\t\t\tif (tagInfo.tag === tag) return tagInfo.data;\n\t\t\t\ttagInfo = tagInfo.next;\n\t\t\t}\n\t\t}\n\t}\n\n\ttagVariable(name, tag, data) {\n\t\tconst oldInfo = this.scope.definitions.get(name);\n\t\t/** @type {VariableInfo} */\n\t\tlet newInfo;\n\t\tif (oldInfo === undefined) {\n\t\t\tnewInfo = new VariableInfo(this.scope, name, {\n\t\t\t\ttag,\n\t\t\t\tdata,\n\t\t\t\tnext: undefined\n\t\t\t});\n\t\t} else if (oldInfo instanceof VariableInfo) {\n\t\t\tnewInfo = new VariableInfo(oldInfo.declaredScope, oldInfo.freeName, {\n\t\t\t\ttag,\n\t\t\t\tdata,\n\t\t\t\tnext: oldInfo.tagInfo\n\t\t\t});\n\t\t} else {\n\t\t\tnewInfo = new VariableInfo(oldInfo, true, {\n\t\t\t\ttag,\n\t\t\t\tdata,\n\t\t\t\tnext: undefined\n\t\t\t});\n\t\t}\n\t\tthis.scope.definitions.set(name, newInfo);\n\t}\n\n\tdefineVariable(name) {\n\t\tconst oldInfo = this.scope.definitions.get(name);\n\t\t// Don't redefine variable in same scope to keep existing tags\n\t\tif (oldInfo instanceof VariableInfo && oldInfo.declaredScope === this.scope)\n\t\t\treturn;\n\t\tthis.scope.definitions.set(name, this.scope);\n\t}\n\n\tundefineVariable(name) {\n\t\tthis.scope.definitions.delete(name);\n\t}\n\n\tisVariableDefined(name) {\n\t\tconst info = this.scope.definitions.get(name);\n\t\tif (info === undefined) return false;\n\t\tif (info instanceof VariableInfo) {\n\t\t\treturn info.freeName === true;\n\t\t}\n\t\treturn true;\n\t}\n\n\t/**\n\t * @param {string} name variable name\n\t * @returns {ExportedVariableInfo} info for this variable\n\t */\n\tgetVariableInfo(name) {\n\t\tconst value = this.scope.definitions.get(name);\n\t\tif (value === undefined) {\n\t\t\treturn name;\n\t\t} else {\n\t\t\treturn value;\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} name variable name\n\t * @param {ExportedVariableInfo} variableInfo new info for this variable\n\t * @returns {void}\n\t */\n\tsetVariable(name, variableInfo) {\n\t\tif (typeof variableInfo === \"string\") {\n\t\t\tif (variableInfo === name) {\n\t\t\t\tthis.scope.definitions.delete(name);\n\t\t\t} else {\n\t\t\t\tthis.scope.definitions.set(\n\t\t\t\t\tname,\n\t\t\t\t\tnew VariableInfo(this.scope, variableInfo, undefined)\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tthis.scope.definitions.set(name, variableInfo);\n\t\t}\n\t}\n\n\tevaluatedVariable(tagInfo) {\n\t\treturn new VariableInfo(this.scope, undefined, tagInfo);\n\t}\n\n\tparseCommentOptions(range) {\n\t\tconst comments = this.getComments(range);\n\t\tif (comments.length === 0) {\n\t\t\treturn EMPTY_COMMENT_OPTIONS;\n\t\t}\n\t\tlet options = {};\n\t\tlet errors = [];\n\t\tfor (const comment of comments) {\n\t\t\tconst { value } = comment;\n\t\t\tif (value && webpackCommentRegExp.test(value)) {\n\t\t\t\t// try compile only if webpack options comment is present\n\t\t\t\ttry {\n\t\t\t\t\tconst val = vm.runInNewContext(`(function(){return {${value}};})()`);\n\t\t\t\t\tObject.assign(options, val);\n\t\t\t\t} catch (e) {\n\t\t\t\t\te.comment = comment;\n\t\t\t\t\terrors.push(e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn { options, errors };\n\t}\n\n\t/**\n\t * @param {MemberExpressionNode} expression a member expression\n\t * @returns {{ members: string[], object: ExpressionNode | SuperNode, membersOptionals: boolean[] }} member names (reverse order) and remaining object\n\t */\n\textractMemberExpressionChain(expression) {\n\t\t/** @type {AnyNode} */\n\t\tlet expr = expression;\n\t\tconst members = [];\n\t\tconst membersOptionals = [];\n\t\twhile (expr.type === \"MemberExpression\") {\n\t\t\tif (expr.computed) {\n\t\t\t\tif (expr.property.type !== \"Literal\") break;\n\t\t\t\tmembers.push(`${expr.property.value}`);\n\t\t\t} else {\n\t\t\t\tif (expr.property.type !== \"Identifier\") break;\n\t\t\t\tmembers.push(expr.property.name);\n\t\t\t}\n\t\t\tmembersOptionals.push(expr.optional);\n\t\t\texpr = expr.object;\n\t\t}\n\n\t\treturn {\n\t\t\tmembers,\n\t\t\tmembersOptionals,\n\t\t\tobject: expr\n\t\t};\n\t}\n\n\t/**\n\t * @param {string} varName variable name\n\t * @returns {{name: string, info: VariableInfo | string}} name of the free variable and variable info for that\n\t */\n\tgetFreeInfoFromVariable(varName) {\n\t\tconst info = this.getVariableInfo(varName);\n\t\tlet name;\n\t\tif (info instanceof VariableInfo) {\n\t\t\tname = info.freeName;\n\t\t\tif (typeof name !== \"string\") return undefined;\n\t\t} else if (typeof info !== \"string\") {\n\t\t\treturn undefined;\n\t\t} else {\n\t\t\tname = info;\n\t\t}\n\t\treturn { info, name };\n\t}\n\n\t/** @typedef {{ type: \"call\", call: CallExpressionNode, calleeName: string, rootInfo: string | VariableInfo, getCalleeMembers: () => string[], name: string, getMembers: () => string[], getMembersOptionals: () => boolean[]}} CallExpressionInfo */\n\t/** @typedef {{ type: \"expression\", rootInfo: string | VariableInfo, name: string, getMembers: () => string[], getMembersOptionals: () => boolean[]}} ExpressionExpressionInfo */\n\n\t/**\n\t * @param {MemberExpressionNode} expression a member expression\n\t * @param {number} allowedTypes which types should be returned, presented in bit mask\n\t * @returns {CallExpressionInfo | ExpressionExpressionInfo | undefined} expression info\n\t */\n\tgetMemberExpressionInfo(expression, allowedTypes) {\n\t\tconst { object, members, membersOptionals } =\n\t\t\tthis.extractMemberExpressionChain(expression);\n\t\tswitch (object.type) {\n\t\t\tcase \"CallExpression\": {\n\t\t\t\tif ((allowedTypes & ALLOWED_MEMBER_TYPES_CALL_EXPRESSION) === 0)\n\t\t\t\t\treturn undefined;\n\t\t\t\tlet callee = object.callee;\n\t\t\t\tlet rootMembers = EMPTY_ARRAY;\n\t\t\t\tif (callee.type === \"MemberExpression\") {\n\t\t\t\t\t({ object: callee, members: rootMembers } =\n\t\t\t\t\t\tthis.extractMemberExpressionChain(callee));\n\t\t\t\t}\n\t\t\t\tconst rootName = getRootName(callee);\n\t\t\t\tif (!rootName) return undefined;\n\t\t\t\tconst result = this.getFreeInfoFromVariable(rootName);\n\t\t\t\tif (!result) return undefined;\n\t\t\t\tconst { info: rootInfo, name: resolvedRoot } = result;\n\t\t\t\tconst calleeName = objectAndMembersToName(resolvedRoot, rootMembers);\n\t\t\t\treturn {\n\t\t\t\t\ttype: \"call\",\n\t\t\t\t\tcall: object,\n\t\t\t\t\tcalleeName,\n\t\t\t\t\trootInfo,\n\t\t\t\t\tgetCalleeMembers: memoize(() => rootMembers.reverse()),\n\t\t\t\t\tname: objectAndMembersToName(`${calleeName}()`, members),\n\t\t\t\t\tgetMembers: memoize(() => members.reverse()),\n\t\t\t\t\tgetMembersOptionals: memoize(() => membersOptionals.reverse())\n\t\t\t\t};\n\t\t\t}\n\t\t\tcase \"Identifier\":\n\t\t\tcase \"MetaProperty\":\n\t\t\tcase \"ThisExpression\": {\n\t\t\t\tif ((allowedTypes & ALLOWED_MEMBER_TYPES_EXPRESSION) === 0)\n\t\t\t\t\treturn undefined;\n\t\t\t\tconst rootName = getRootName(object);\n\t\t\t\tif (!rootName) return undefined;\n\n\t\t\t\tconst result = this.getFreeInfoFromVariable(rootName);\n\t\t\t\tif (!result) return undefined;\n\t\t\t\tconst { info: rootInfo, name: resolvedRoot } = result;\n\t\t\t\treturn {\n\t\t\t\t\ttype: \"expression\",\n\t\t\t\t\tname: objectAndMembersToName(resolvedRoot, members),\n\t\t\t\t\trootInfo,\n\t\t\t\t\tgetMembers: memoize(() => members.reverse()),\n\t\t\t\t\tgetMembersOptionals: memoize(() => membersOptionals.reverse())\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {MemberExpressionNode} expression an expression\n\t * @returns {{ name: string, rootInfo: ExportedVariableInfo, getMembers: () => string[]}} name info\n\t */\n\tgetNameForExpression(expression) {\n\t\treturn this.getMemberExpressionInfo(\n\t\t\texpression,\n\t\t\tALLOWED_MEMBER_TYPES_EXPRESSION\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} code source code\n\t * @param {ParseOptions} options parsing options\n\t * @returns {ProgramNode} parsed ast\n\t */\n\tstatic _parse(code, options) {\n\t\tconst type = options ? options.sourceType : \"module\";\n\t\t/** @type {AcornOptions} */\n\t\tconst parserOptions = {\n\t\t\t...defaultParserOptions,\n\t\t\tallowReturnOutsideFunction: type === \"script\",\n\t\t\t...options,\n\t\t\tsourceType: type === \"auto\" ? \"module\" : type\n\t\t};\n\n\t\t/** @type {AnyNode} */\n\t\tlet ast;\n\t\tlet error;\n\t\tlet threw = false;\n\t\ttry {\n\t\t\tast = /** @type {AnyNode} */ (parser.parse(code, parserOptions));\n\t\t} catch (e) {\n\t\t\terror = e;\n\t\t\tthrew = true;\n\t\t}\n\n\t\tif (threw && type === \"auto\") {\n\t\t\tparserOptions.sourceType = \"script\";\n\t\t\tif (!(\"allowReturnOutsideFunction\" in options)) {\n\t\t\t\tparserOptions.allowReturnOutsideFunction = true;\n\t\t\t}\n\t\t\tif (Array.isArray(parserOptions.onComment)) {\n\t\t\t\tparserOptions.onComment.length = 0;\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tast = /** @type {AnyNode} */ (parser.parse(code, parserOptions));\n\t\t\t\tthrew = false;\n\t\t\t} catch (e) {\n\t\t\t\t// we use the error from first parse try\n\t\t\t\t// so nothing to do here\n\t\t\t}\n\t\t}\n\n\t\tif (threw) {\n\t\t\tthrow error;\n\t\t}\n\n\t\treturn /** @type {ProgramNode} */ (ast);\n\t}\n}\n\nmodule.exports = JavascriptParser;\nmodule.exports.ALLOWED_MEMBER_TYPES_ALL = ALLOWED_MEMBER_TYPES_ALL;\nmodule.exports.ALLOWED_MEMBER_TYPES_EXPRESSION =\n\tALLOWED_MEMBER_TYPES_EXPRESSION;\nmodule.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION =\n\tALLOWED_MEMBER_TYPES_CALL_EXPRESSION;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/JavascriptParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst UnsupportedFeatureWarning = __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\");\nconst ConstDependency = __webpack_require__(/*! ../dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\");\nconst BasicEvaluatedExpression = __webpack_require__(/*! ./BasicEvaluatedExpression */ \"./node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js\");\n\n/** @typedef {import(\"estree\").Expression} ExpressionNode */\n/** @typedef {import(\"estree\").Node} Node */\n/** @typedef {import(\"./JavascriptParser\")} JavascriptParser */\n\n/**\n * @param {JavascriptParser} parser the parser\n * @param {string} value the const value\n * @param {string[]=} runtimeRequirements runtime requirements\n * @returns {function(ExpressionNode): true} plugin function\n */\nexports.toConstantDependency = (parser, value, runtimeRequirements) => {\n\treturn function constDependency(expr) {\n\t\tconst dep = new ConstDependency(value, expr.range, runtimeRequirements);\n\t\tdep.loc = expr.loc;\n\t\tparser.state.module.addPresentationalDependency(dep);\n\t\treturn true;\n\t};\n};\n\n/**\n * @param {string} value the string value\n * @returns {function(ExpressionNode): BasicEvaluatedExpression} plugin function\n */\nexports.evaluateToString = value => {\n\treturn function stringExpression(expr) {\n\t\treturn new BasicEvaluatedExpression().setString(value).setRange(expr.range);\n\t};\n};\n\n/**\n * @param {number} value the number value\n * @returns {function(ExpressionNode): BasicEvaluatedExpression} plugin function\n */\nexports.evaluateToNumber = value => {\n\treturn function stringExpression(expr) {\n\t\treturn new BasicEvaluatedExpression().setNumber(value).setRange(expr.range);\n\t};\n};\n\n/**\n * @param {boolean} value the boolean value\n * @returns {function(ExpressionNode): BasicEvaluatedExpression} plugin function\n */\nexports.evaluateToBoolean = value => {\n\treturn function booleanExpression(expr) {\n\t\treturn new BasicEvaluatedExpression()\n\t\t\t.setBoolean(value)\n\t\t\t.setRange(expr.range);\n\t};\n};\n\n/**\n * @param {string} identifier identifier\n * @param {string} rootInfo rootInfo\n * @param {function(): string[]} getMembers getMembers\n * @param {boolean|null=} truthy is truthy, null if nullish\n * @returns {function(ExpressionNode): BasicEvaluatedExpression} callback\n */\nexports.evaluateToIdentifier = (identifier, rootInfo, getMembers, truthy) => {\n\treturn function identifierExpression(expr) {\n\t\tlet evaluatedExpression = new BasicEvaluatedExpression()\n\t\t\t.setIdentifier(identifier, rootInfo, getMembers)\n\t\t\t.setSideEffects(false)\n\t\t\t.setRange(expr.range);\n\t\tswitch (truthy) {\n\t\t\tcase true:\n\t\t\t\tevaluatedExpression.setTruthy();\n\t\t\t\tbreak;\n\t\t\tcase null:\n\t\t\t\tevaluatedExpression.setNullish(true);\n\t\t\t\tbreak;\n\t\t\tcase false:\n\t\t\t\tevaluatedExpression.setFalsy();\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn evaluatedExpression;\n\t};\n};\n\nexports.expressionIsUnsupported = (parser, message) => {\n\treturn function unsupportedExpression(expr) {\n\t\tconst dep = new ConstDependency(\"(void 0)\", expr.range, null);\n\t\tdep.loc = expr.loc;\n\t\tparser.state.module.addPresentationalDependency(dep);\n\t\tif (!parser.state.module) return;\n\t\tparser.state.module.addWarning(\n\t\t\tnew UnsupportedFeatureWarning(message, expr.loc)\n\t\t);\n\t\treturn true;\n\t};\n};\n\nexports.skipTraversal = () => true;\n\nexports.approve = () => true;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/JavascriptParserHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/javascript/StartupHelpers.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/javascript/StartupHelpers.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { isSubset } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst { getAllChunks } = __webpack_require__(/*! ./ChunkHelpers */ \"./node_modules/webpack/lib/javascript/ChunkHelpers.js\");\n\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGraph\").EntryModuleWithChunkGroup} EntryModuleWithChunkGroup */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {(string|number)[]} EntryItem */\n\nconst EXPORT_PREFIX = \"var __webpack_exports__ = \";\n\n/**\n * @param {ChunkGraph} chunkGraph chunkGraph\n * @param {RuntimeTemplate} runtimeTemplate runtimeTemplate\n * @param {EntryModuleWithChunkGroup[]} entries entries\n * @param {Chunk} chunk chunk\n * @param {boolean} passive true: passive startup with on chunks loaded\n * @returns {string} runtime code\n */\nexports.generateEntryStartup = (\n\tchunkGraph,\n\truntimeTemplate,\n\tentries,\n\tchunk,\n\tpassive\n) => {\n\t/** @type {string[]} */\n\tconst runtime = [\n\t\t`var __webpack_exec__ = ${runtimeTemplate.returningFunction(\n\t\t\t`__webpack_require__(${RuntimeGlobals.entryModuleId} = moduleId)`,\n\t\t\t\"moduleId\"\n\t\t)}`\n\t];\n\n\tconst runModule = id => {\n\t\treturn `__webpack_exec__(${JSON.stringify(id)})`;\n\t};\n\tconst outputCombination = (chunks, moduleIds, final) => {\n\t\tif (chunks.size === 0) {\n\t\t\truntime.push(\n\t\t\t\t`${final ? EXPORT_PREFIX : \"\"}(${moduleIds.map(runModule).join(\", \")});`\n\t\t\t);\n\t\t} else {\n\t\t\tconst fn = runtimeTemplate.returningFunction(\n\t\t\t\tmoduleIds.map(runModule).join(\", \")\n\t\t\t);\n\t\t\truntime.push(\n\t\t\t\t`${final && !passive ? EXPORT_PREFIX : \"\"}${\n\t\t\t\t\tpassive\n\t\t\t\t\t\t? RuntimeGlobals.onChunksLoaded\n\t\t\t\t\t\t: RuntimeGlobals.startupEntrypoint\n\t\t\t\t}(0, ${JSON.stringify(Array.from(chunks, c => c.id))}, ${fn});`\n\t\t\t);\n\t\t\tif (final && passive) {\n\t\t\t\truntime.push(`${EXPORT_PREFIX}${RuntimeGlobals.onChunksLoaded}();`);\n\t\t\t}\n\t\t}\n\t};\n\n\tlet currentChunks = undefined;\n\tlet currentModuleIds = undefined;\n\n\tfor (const [module, entrypoint] of entries) {\n\t\tconst runtimeChunk = entrypoint.getRuntimeChunk();\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\tconst chunks = getAllChunks(entrypoint, chunk, runtimeChunk);\n\t\tif (\n\t\t\tcurrentChunks &&\n\t\t\tcurrentChunks.size === chunks.size &&\n\t\t\tisSubset(currentChunks, chunks)\n\t\t) {\n\t\t\tcurrentModuleIds.push(moduleId);\n\t\t} else {\n\t\t\tif (currentChunks) {\n\t\t\t\toutputCombination(currentChunks, currentModuleIds);\n\t\t\t}\n\t\t\tcurrentChunks = chunks;\n\t\t\tcurrentModuleIds = [moduleId];\n\t\t}\n\t}\n\n\t// output current modules with export prefix\n\tif (currentChunks) {\n\t\toutputCombination(currentChunks, currentModuleIds, true);\n\t}\n\truntime.push(\"\");\n\treturn Template.asString(runtime);\n};\n\n/**\n * @param {Hash} hash the hash to update\n * @param {ChunkGraph} chunkGraph chunkGraph\n * @param {EntryModuleWithChunkGroup[]} entries entries\n * @param {Chunk} chunk chunk\n * @returns {void}\n */\nexports.updateHashForEntryStartup = (hash, chunkGraph, entries, chunk) => {\n\tfor (const [module, entrypoint] of entries) {\n\t\tconst runtimeChunk = entrypoint.getRuntimeChunk();\n\t\tconst moduleId = chunkGraph.getModuleId(module);\n\t\thash.update(`${moduleId}`);\n\t\tfor (const c of getAllChunks(entrypoint, chunk, runtimeChunk))\n\t\t\thash.update(`${c.id}`);\n\t}\n};\n\n/**\n * @param {Chunk} chunk the chunk\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {function(Chunk, ChunkGraph): boolean} filterFn filter function\n * @returns {Set<number | string>} initially fulfilled chunk ids\n */\nexports.getInitialChunkIds = (chunk, chunkGraph, filterFn) => {\n\tconst initialChunkIds = new Set(chunk.ids);\n\tfor (const c of chunk.getAllInitialChunks()) {\n\t\tif (c === chunk || filterFn(c, chunkGraph)) continue;\n\t\tfor (const id of c.ids) initialChunkIds.add(id);\n\t}\n\treturn initialChunkIds;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/javascript/StartupHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/json/JsonData.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/json/JsonData.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { register } = __webpack_require__(/*! ../util/serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\nclass JsonData {\n\tconstructor(data) {\n\t\tthis._buffer = undefined;\n\t\tthis._data = undefined;\n\t\tif (Buffer.isBuffer(data)) {\n\t\t\tthis._buffer = data;\n\t\t} else {\n\t\t\tthis._data = data;\n\t\t}\n\t}\n\n\tget() {\n\t\tif (this._data === undefined && this._buffer !== undefined) {\n\t\t\tthis._data = JSON.parse(this._buffer.toString());\n\t\t}\n\t\treturn this._data;\n\t}\n\n\tupdateHash(hash) {\n\t\tif (this._buffer === undefined && this._data !== undefined) {\n\t\t\tthis._buffer = Buffer.from(JSON.stringify(this._data));\n\t\t}\n\n\t\tif (this._buffer) return hash.update(this._buffer);\n\t}\n}\n\nregister(JsonData, \"webpack/lib/json/JsonData\", null, {\n\tserialize(obj, { write }) {\n\t\tif (obj._buffer === undefined && obj._data !== undefined) {\n\t\t\tobj._buffer = Buffer.from(JSON.stringify(obj._data));\n\t\t}\n\t\twrite(obj._buffer);\n\t},\n\tdeserialize({ read }) {\n\t\treturn new JsonData(read());\n\t}\n});\n\nmodule.exports = JsonData;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/json/JsonData.js?"); /***/ }), /***/ "./node_modules/webpack/lib/json/JsonGenerator.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/json/JsonGenerator.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ConcatenationScope = __webpack_require__(/*! ../ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Module\").ConcatenationBailoutReasonContext} ConcatenationBailoutReasonContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\nconst stringifySafe = data => {\n\tconst stringified = JSON.stringify(data);\n\tif (!stringified) {\n\t\treturn undefined; // Invalid JSON\n\t}\n\n\treturn stringified.replace(/\\u2028|\\u2029/g, str =>\n\t\tstr === \"\\u2029\" ? \"\\\\u2029\" : \"\\\\u2028\"\n\t); // invalid in JavaScript but valid JSON\n};\n\n/**\n * @param {Object} data data (always an object or array)\n * @param {ExportsInfo} exportsInfo exports info\n * @param {RuntimeSpec} runtime the runtime\n * @returns {Object} reduced data\n */\nconst createObjectForExportsInfo = (data, exportsInfo, runtime) => {\n\tif (exportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused)\n\t\treturn data;\n\tconst isArray = Array.isArray(data);\n\tconst reducedData = isArray ? [] : {};\n\tfor (const key of Object.keys(data)) {\n\t\tconst exportInfo = exportsInfo.getReadOnlyExportInfo(key);\n\t\tconst used = exportInfo.getUsed(runtime);\n\t\tif (used === UsageState.Unused) continue;\n\n\t\tlet value;\n\t\tif (used === UsageState.OnlyPropertiesUsed && exportInfo.exportsInfo) {\n\t\t\tvalue = createObjectForExportsInfo(\n\t\t\t\tdata[key],\n\t\t\t\texportInfo.exportsInfo,\n\t\t\t\truntime\n\t\t\t);\n\t\t} else {\n\t\t\tvalue = data[key];\n\t\t}\n\t\tconst name = exportInfo.getUsedName(key, runtime);\n\t\treducedData[name] = value;\n\t}\n\tif (isArray) {\n\t\tlet arrayLengthWhenUsed =\n\t\t\texportsInfo.getReadOnlyExportInfo(\"length\").getUsed(runtime) !==\n\t\t\tUsageState.Unused\n\t\t\t\t? data.length\n\t\t\t\t: undefined;\n\n\t\tlet sizeObjectMinusArray = 0;\n\t\tfor (let i = 0; i < reducedData.length; i++) {\n\t\t\tif (reducedData[i] === undefined) {\n\t\t\t\tsizeObjectMinusArray -= 2;\n\t\t\t} else {\n\t\t\t\tsizeObjectMinusArray += `${i}`.length + 3;\n\t\t\t}\n\t\t}\n\t\tif (arrayLengthWhenUsed !== undefined) {\n\t\t\tsizeObjectMinusArray +=\n\t\t\t\t`${arrayLengthWhenUsed}`.length +\n\t\t\t\t8 -\n\t\t\t\t(arrayLengthWhenUsed - reducedData.length) * 2;\n\t\t}\n\t\tif (sizeObjectMinusArray < 0)\n\t\t\treturn Object.assign(\n\t\t\t\tarrayLengthWhenUsed === undefined\n\t\t\t\t\t? {}\n\t\t\t\t\t: { length: arrayLengthWhenUsed },\n\t\t\t\treducedData\n\t\t\t);\n\t\tconst generatedLength =\n\t\t\tarrayLengthWhenUsed !== undefined\n\t\t\t\t? Math.max(arrayLengthWhenUsed, reducedData.length)\n\t\t\t\t: reducedData.length;\n\t\tfor (let i = 0; i < generatedLength; i++) {\n\t\t\tif (reducedData[i] === undefined) {\n\t\t\t\treducedData[i] = 0;\n\t\t\t}\n\t\t}\n\t}\n\treturn reducedData;\n};\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass JsonGenerator extends Generator {\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tlet data =\n\t\t\tmodule.buildInfo &&\n\t\t\tmodule.buildInfo.jsonData &&\n\t\t\tmodule.buildInfo.jsonData.get();\n\t\tif (!data) return 0;\n\t\treturn stringifySafe(data).length + 10;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the bailout reason should be determined\n\t * @param {ConcatenationBailoutReasonContext} context context\n\t * @returns {string | undefined} reason why this module can't be concatenated, undefined when it can be concatenated\n\t */\n\tgetConcatenationBailoutReason(module, context) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(\n\t\tmodule,\n\t\t{\n\t\t\tmoduleGraph,\n\t\t\truntimeTemplate,\n\t\t\truntimeRequirements,\n\t\t\truntime,\n\t\t\tconcatenationScope\n\t\t}\n\t) {\n\t\tconst data =\n\t\t\tmodule.buildInfo &&\n\t\t\tmodule.buildInfo.jsonData &&\n\t\t\tmodule.buildInfo.jsonData.get();\n\t\tif (data === undefined) {\n\t\t\treturn new RawSource(\n\t\t\t\truntimeTemplate.missingModuleStatement({\n\t\t\t\t\trequest: module.rawRequest\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\tlet finalJson =\n\t\t\ttypeof data === \"object\" &&\n\t\t\tdata &&\n\t\t\texportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused\n\t\t\t\t? createObjectForExportsInfo(data, exportsInfo, runtime)\n\t\t\t\t: data;\n\t\t// Use JSON because JSON.parse() is much faster than JavaScript evaluation\n\t\tconst jsonStr = stringifySafe(finalJson);\n\t\tconst jsonExpr =\n\t\t\tjsonStr.length > 20 && typeof finalJson === \"object\"\n\t\t\t\t? `JSON.parse('${jsonStr.replace(/[\\\\']/g, \"\\\\$&\")}')`\n\t\t\t\t: jsonStr;\n\t\tlet content;\n\t\tif (concatenationScope) {\n\t\t\tcontent = `${runtimeTemplate.supportsConst() ? \"const\" : \"var\"} ${\n\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t} = ${jsonExpr};`;\n\t\t\tconcatenationScope.registerNamespaceExport(\n\t\t\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT\n\t\t\t);\n\t\t} else {\n\t\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\t\tcontent = `${module.moduleArgument}.exports = ${jsonExpr};`;\n\t\t}\n\t\treturn new RawSource(content);\n\t}\n}\n\nmodule.exports = JsonGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/json/JsonGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/json/JsonModulesPlugin.js": /*!************************************************************!*\ !*** ./node_modules/webpack/lib/json/JsonModulesPlugin.js ***! \************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst JsonGenerator = __webpack_require__(/*! ./JsonGenerator */ \"./node_modules/webpack/lib/json/JsonGenerator.js\");\nconst JsonParser = __webpack_require__(/*! ./JsonParser */ \"./node_modules/webpack/lib/json/JsonParser.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/JsonModulesPluginParser.check.js */ \"./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/JsonModulesPluginParser.json */ \"./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json\"),\n\t{\n\t\tname: \"Json Modules Plugin\",\n\t\tbaseDataPath: \"parser\"\n\t}\n);\n\nclass JsonModulesPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"JsonModulesPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"json\")\n\t\t\t\t\t.tap(\"JsonModulesPlugin\", parserOptions => {\n\t\t\t\t\t\tvalidate(parserOptions);\n\n\t\t\t\t\t\treturn new JsonParser(parserOptions);\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"json\")\n\t\t\t\t\t.tap(\"JsonModulesPlugin\", () => {\n\t\t\t\t\t\treturn new JsonGenerator();\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = JsonModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/json/JsonModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/json/JsonParser.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/json/JsonParser.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst parseJson = __webpack_require__(/*! json-parse-even-better-errors */ \"./node_modules/json-parse-even-better-errors/index.js\");\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\nconst JsonExportsDependency = __webpack_require__(/*! ../dependencies/JsonExportsDependency */ \"./node_modules/webpack/lib/dependencies/JsonExportsDependency.js\");\nconst JsonData = __webpack_require__(/*! ./JsonData */ \"./node_modules/webpack/lib/json/JsonData.js\");\n\n/** @typedef {import(\"../../declarations/plugins/JsonModulesPluginParser\").JsonModulesPluginParserOptions} JsonModulesPluginParserOptions */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nclass JsonParser extends Parser {\n\t/**\n\t * @param {JsonModulesPluginParserOptions} options parser options\n\t */\n\tconstructor(options) {\n\t\tsuper();\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (Buffer.isBuffer(source)) {\n\t\t\tsource = source.toString(\"utf-8\");\n\t\t}\n\n\t\t/** @type {JsonModulesPluginParserOptions[\"parse\"]} */\n\t\tconst parseFn =\n\t\t\ttypeof this.options.parse === \"function\" ? this.options.parse : parseJson;\n\n\t\tconst data =\n\t\t\ttypeof source === \"object\"\n\t\t\t\t? source\n\t\t\t\t: parseFn(source[0] === \"\\ufeff\" ? source.slice(1) : source);\n\t\tconst jsonData = new JsonData(data);\n\t\tstate.module.buildInfo.jsonData = jsonData;\n\t\tstate.module.buildInfo.strict = true;\n\t\tstate.module.buildMeta.exportsType = \"default\";\n\t\tstate.module.buildMeta.defaultObject =\n\t\t\ttypeof data === \"object\" ? \"redirect-warn\" : false;\n\t\tstate.module.addDependency(new JsonExportsDependency(jsonData));\n\t\treturn state;\n\t}\n}\n\nmodule.exports = JsonParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/json/JsonParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/AbstractLibraryPlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/library/AbstractLibraryPlugin.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").StartupRenderContext} StartupRenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n\nconst COMMON_LIBRARY_NAME_MESSAGE =\n\t\"Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.\";\n\n/**\n * @template T\n * @typedef {Object} LibraryContext\n * @property {Compilation} compilation\n * @property {ChunkGraph} chunkGraph\n * @property {T} options\n */\n\n/**\n * @template T\n */\nclass AbstractLibraryPlugin {\n\t/**\n\t * @param {Object} options options\n\t * @param {string} options.pluginName name of the plugin\n\t * @param {LibraryType} options.type used library type\n\t */\n\tconstructor({ pluginName, type }) {\n\t\tthis._pluginName = pluginName;\n\t\tthis._type = type;\n\t\tthis._parseCache = new WeakMap();\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _pluginName } = this;\n\t\tcompiler.hooks.thisCompilation.tap(_pluginName, compilation => {\n\t\t\tcompilation.hooks.finishModules.tap(\n\t\t\t\t{ name: _pluginName, stage: 10 },\n\t\t\t\t() => {\n\t\t\t\t\tfor (const [\n\t\t\t\t\t\tname,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdependencies: deps,\n\t\t\t\t\t\t\toptions: { library }\n\t\t\t\t\t\t}\n\t\t\t\t\t] of compilation.entries) {\n\t\t\t\t\t\tconst options = this._parseOptionsCached(\n\t\t\t\t\t\t\tlibrary !== undefined\n\t\t\t\t\t\t\t\t? library\n\t\t\t\t\t\t\t\t: compilation.outputOptions.library\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (options !== false) {\n\t\t\t\t\t\t\tconst dep = deps[deps.length - 1];\n\t\t\t\t\t\t\tif (dep) {\n\t\t\t\t\t\t\t\tconst module = compilation.moduleGraph.getModule(dep);\n\t\t\t\t\t\t\t\tif (module) {\n\t\t\t\t\t\t\t\t\tthis.finishEntryModule(module, name, {\n\t\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\n\t\t\tconst getOptionsForChunk = chunk => {\n\t\t\t\tif (compilation.chunkGraph.getNumberOfEntryModules(chunk) === 0)\n\t\t\t\t\treturn false;\n\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\tconst library = options && options.library;\n\t\t\t\treturn this._parseOptionsCached(\n\t\t\t\t\tlibrary !== undefined ? library : compilation.outputOptions.library\n\t\t\t\t);\n\t\t\t};\n\n\t\t\tif (\n\t\t\t\tthis.render !== AbstractLibraryPlugin.prototype.render ||\n\t\t\t\tthis.runtimeRequirements !==\n\t\t\t\t\tAbstractLibraryPlugin.prototype.runtimeRequirements\n\t\t\t) {\n\t\t\t\tcompilation.hooks.additionalChunkRuntimeRequirements.tap(\n\t\t\t\t\t_pluginName,\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tconst options = getOptionsForChunk(chunk);\n\t\t\t\t\t\tif (options !== false) {\n\t\t\t\t\t\t\tthis.runtimeRequirements(chunk, set, {\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tconst hooks = JavascriptModulesPlugin.getCompilationHooks(compilation);\n\n\t\t\tif (this.render !== AbstractLibraryPlugin.prototype.render) {\n\t\t\t\thooks.render.tap(_pluginName, (source, renderContext) => {\n\t\t\t\t\tconst options = getOptionsForChunk(renderContext.chunk);\n\t\t\t\t\tif (options === false) return source;\n\t\t\t\t\treturn this.render(source, renderContext, {\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis.embedInRuntimeBailout !==\n\t\t\t\tAbstractLibraryPlugin.prototype.embedInRuntimeBailout\n\t\t\t) {\n\t\t\t\thooks.embedInRuntimeBailout.tap(\n\t\t\t\t\t_pluginName,\n\t\t\t\t\t(module, renderContext) => {\n\t\t\t\t\t\tconst options = getOptionsForChunk(renderContext.chunk);\n\t\t\t\t\t\tif (options === false) return;\n\t\t\t\t\t\treturn this.embedInRuntimeBailout(module, renderContext, {\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis.strictRuntimeBailout !==\n\t\t\t\tAbstractLibraryPlugin.prototype.strictRuntimeBailout\n\t\t\t) {\n\t\t\t\thooks.strictRuntimeBailout.tap(_pluginName, renderContext => {\n\t\t\t\t\tconst options = getOptionsForChunk(renderContext.chunk);\n\t\t\t\t\tif (options === false) return;\n\t\t\t\t\treturn this.strictRuntimeBailout(renderContext, {\n\t\t\t\t\t\toptions,\n\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis.renderStartup !== AbstractLibraryPlugin.prototype.renderStartup\n\t\t\t) {\n\t\t\t\thooks.renderStartup.tap(\n\t\t\t\t\t_pluginName,\n\t\t\t\t\t(source, module, renderContext) => {\n\t\t\t\t\t\tconst options = getOptionsForChunk(renderContext.chunk);\n\t\t\t\t\t\tif (options === false) return source;\n\t\t\t\t\t\treturn this.renderStartup(source, module, renderContext, {\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\n\t\t\thooks.chunkHash.tap(_pluginName, (chunk, hash, context) => {\n\t\t\t\tconst options = getOptionsForChunk(chunk);\n\t\t\t\tif (options === false) return;\n\t\t\t\tthis.chunkHash(chunk, hash, context, {\n\t\t\t\t\toptions,\n\t\t\t\t\tcompilation,\n\t\t\t\t\tchunkGraph: compilation.chunkGraph\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {LibraryOptions=} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\t_parseOptionsCached(library) {\n\t\tif (!library) return false;\n\t\tif (library.type !== this._type) return false;\n\t\tconst cacheEntry = this._parseCache.get(library);\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\tconst result = this.parseOptions(library);\n\t\tthis._parseCache.set(library, result);\n\t\treturn result;\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ../AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @param {Module} module the exporting entry module\n\t * @param {string} entryName the name of the entrypoint\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tfinishEntryModule(module, entryName, libraryContext) {}\n\n\t/**\n\t * @param {Module} module the exporting entry module\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {string | undefined} bailout reason\n\t */\n\tembedInRuntimeBailout(module, renderContext, libraryContext) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {string | undefined} bailout reason\n\t */\n\tstrictRuntimeBailout(renderContext, libraryContext) {\n\t\treturn undefined;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Set<string>} set runtime requirements\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\truntimeRequirements(chunk, set, libraryContext) {\n\t\tif (this.render !== AbstractLibraryPlugin.prototype.render)\n\t\t\tset.add(RuntimeGlobals.returnExportsFromRuntime);\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(source, renderContext, libraryContext) {\n\t\treturn source;\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {Module} module module\n\t * @param {StartupRenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trenderStartup(source, module, renderContext, libraryContext) {\n\t\treturn source;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Hash} hash hash\n\t * @param {ChunkHashContext} chunkHashContext chunk hash context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tchunkHash(chunk, hash, chunkHashContext, libraryContext) {\n\t\tconst options = this._parseOptionsCached(\n\t\t\tlibraryContext.compilation.outputOptions.library\n\t\t);\n\t\thash.update(this._pluginName);\n\t\thash.update(JSON.stringify(options));\n\t}\n}\n\nAbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE = COMMON_LIBRARY_NAME_MESSAGE;\nmodule.exports = AbstractLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/AbstractLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/AmdLibraryPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/library/AmdLibraryPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ExternalModule = __webpack_require__(/*! ../ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @typedef {Object} AmdLibraryPluginOptions\n * @property {LibraryType} type\n * @property {boolean=} requireAsWrapper\n */\n\n/**\n * @typedef {Object} AmdLibraryPluginParsed\n * @property {string} name\n */\n\n/**\n * @typedef {AmdLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<AmdLibraryPluginParsed>}\n */\nclass AmdLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {AmdLibraryPluginOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"AmdLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\t\tthis.requireAsWrapper = options.requireAsWrapper;\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst { name } = library;\n\t\tif (this.requireAsWrapper) {\n\t\t\tif (name) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`AMD library name must be unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tif (name && typeof name !== \"string\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`AMD library name must be a simple string or unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tname: /** @type {string=} */ (name)\n\t\t};\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(\n\t\tsource,\n\t\t{ chunkGraph, chunk, runtimeTemplate },\n\t\t{ options, compilation }\n\t) {\n\t\tconst modern = runtimeTemplate.supportsArrowFunction();\n\t\tconst modules = chunkGraph\n\t\t\t.getChunkModules(chunk)\n\t\t\t.filter(m => m instanceof ExternalModule);\n\t\tconst externals = /** @type {ExternalModule[]} */ (modules);\n\t\tconst externalsDepsArray = JSON.stringify(\n\t\t\texternals.map(m =>\n\t\t\t\ttypeof m.request === \"object\" && !Array.isArray(m.request)\n\t\t\t\t\t? m.request.amd\n\t\t\t\t\t: m.request\n\t\t\t)\n\t\t);\n\t\tconst externalsArguments = externals\n\t\t\t.map(\n\t\t\t\tm =>\n\t\t\t\t\t`__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(\n\t\t\t\t\t\t`${chunkGraph.getModuleId(m)}`\n\t\t\t\t\t)}__`\n\t\t\t)\n\t\t\t.join(\", \");\n\n\t\tconst iife = runtimeTemplate.isIIFE();\n\t\tconst fnStart =\n\t\t\t(modern\n\t\t\t\t? `(${externalsArguments}) => {`\n\t\t\t\t: `function(${externalsArguments}) {`) +\n\t\t\t(iife || !chunk.hasRuntime() ? \" return \" : \"\\n\");\n\t\tconst fnEnd = iife ? \";\\n}\" : \"\\n}\";\n\n\t\tif (this.requireAsWrapper) {\n\t\t\treturn new ConcatSource(\n\t\t\t\t`require(${externalsDepsArray}, ${fnStart}`,\n\t\t\t\tsource,\n\t\t\t\t`${fnEnd});`\n\t\t\t);\n\t\t} else if (options.name) {\n\t\t\tconst name = compilation.getPath(options.name, {\n\t\t\t\tchunk\n\t\t\t});\n\n\t\t\treturn new ConcatSource(\n\t\t\t\t`define(${JSON.stringify(name)}, ${externalsDepsArray}, ${fnStart}`,\n\t\t\t\tsource,\n\t\t\t\t`${fnEnd});`\n\t\t\t);\n\t\t} else if (externalsArguments) {\n\t\t\treturn new ConcatSource(\n\t\t\t\t`define(${externalsDepsArray}, ${fnStart}`,\n\t\t\t\tsource,\n\t\t\t\t`${fnEnd});`\n\t\t\t);\n\t\t} else {\n\t\t\treturn new ConcatSource(`define(${fnStart}`, source, `${fnEnd});`);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Hash} hash hash\n\t * @param {ChunkHashContext} chunkHashContext chunk hash context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tchunkHash(chunk, hash, chunkHashContext, { options, compilation }) {\n\t\thash.update(\"AmdLibraryPlugin\");\n\t\tif (this.requireAsWrapper) {\n\t\t\thash.update(\"requireAsWrapper\");\n\t\t} else if (options.name) {\n\t\t\thash.update(\"named\");\n\t\t\tconst name = compilation.getPath(options.name, {\n\t\t\t\tchunk\n\t\t\t});\n\t\t\thash.update(name);\n\t\t}\n\t}\n}\n\nmodule.exports = AmdLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/AmdLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/AssignLibraryPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/library/AssignLibraryPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { getEntryRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").StartupRenderContext} StartupRenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\nconst KEYWORD_REGEX =\n\t/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;\nconst IDENTIFIER_REGEX =\n\t/^[\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}]*$/iu;\n\n/**\n * Validates the library name by checking for keywords and valid characters\n * @param {string} name name to be validated\n * @returns {boolean} true, when valid\n */\nconst isNameValid = name => {\n\treturn !KEYWORD_REGEX.test(name) && IDENTIFIER_REGEX.test(name);\n};\n\n/**\n * @param {string[]} accessor variable plus properties\n * @param {number} existingLength items of accessor that are existing already\n * @param {boolean=} initLast if the last property should also be initialized to an object\n * @returns {string} code to access the accessor while initializing\n */\nconst accessWithInit = (accessor, existingLength, initLast = false) => {\n\t// This generates for [a, b, c, d]:\n\t// (((a = typeof a === \"undefined\" ? {} : a).b = a.b || {}).c = a.b.c || {}).d\n\tconst base = accessor[0];\n\tif (accessor.length === 1 && !initLast) return base;\n\tlet current =\n\t\texistingLength > 0\n\t\t\t? base\n\t\t\t: `(${base} = typeof ${base} === \"undefined\" ? {} : ${base})`;\n\n\t// i is the current position in accessor that has been printed\n\tlet i = 1;\n\n\t// all properties printed so far (excluding base)\n\tlet propsSoFar;\n\n\t// if there is existingLength, print all properties until this position as property access\n\tif (existingLength > i) {\n\t\tpropsSoFar = accessor.slice(1, existingLength);\n\t\ti = existingLength;\n\t\tcurrent += propertyAccess(propsSoFar);\n\t} else {\n\t\tpropsSoFar = [];\n\t}\n\n\t// all remaining properties (except the last one when initLast is not set)\n\t// should be printed as initializer\n\tconst initUntil = initLast ? accessor.length : accessor.length - 1;\n\tfor (; i < initUntil; i++) {\n\t\tconst prop = accessor[i];\n\t\tpropsSoFar.push(prop);\n\t\tcurrent = `(${current}${propertyAccess([prop])} = ${base}${propertyAccess(\n\t\t\tpropsSoFar\n\t\t)} || {})`;\n\t}\n\n\t// print the last property as property access if not yet printed\n\tif (i < accessor.length)\n\t\tcurrent = `${current}${propertyAccess([accessor[accessor.length - 1]])}`;\n\n\treturn current;\n};\n\n/**\n * @typedef {Object} AssignLibraryPluginOptions\n * @property {LibraryType} type\n * @property {string[] | \"global\"} prefix name prefix\n * @property {string | false} declare declare name as variable\n * @property {\"error\"|\"static\"|\"copy\"|\"assign\"} unnamed behavior for unnamed library name\n * @property {\"copy\"|\"assign\"=} named behavior for named library name\n */\n\n/**\n * @typedef {Object} AssignLibraryPluginParsed\n * @property {string | string[]} name\n * @property {string | string[] | undefined} export\n */\n\n/**\n * @typedef {AssignLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<AssignLibraryPluginParsed>}\n */\nclass AssignLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {AssignLibraryPluginOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"AssignLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\t\tthis.prefix = options.prefix;\n\t\tthis.declare = options.declare;\n\t\tthis.unnamed = options.unnamed;\n\t\tthis.named = options.named || \"assign\";\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst { name } = library;\n\t\tif (this.unnamed === \"error\") {\n\t\t\tif (typeof name !== \"string\" && !Array.isArray(name)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Library name must be a string or string array. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t\t);\n\t\t\t}\n\t\t} else {\n\t\t\tif (name && typeof name !== \"string\" && !Array.isArray(name)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Library name must be a string, string array or unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tname: /** @type {string|string[]=} */ (name),\n\t\t\texport: library.export\n\t\t};\n\t}\n\n\t/**\n\t * @param {Module} module the exporting entry module\n\t * @param {string} entryName the name of the entrypoint\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tfinishEntryModule(\n\t\tmodule,\n\t\tentryName,\n\t\t{ options, compilation, compilation: { moduleGraph } }\n\t) {\n\t\tconst runtime = getEntryRuntime(compilation, entryName);\n\t\tif (options.export) {\n\t\t\tconst exportsInfo = moduleGraph.getExportInfo(\n\t\t\t\tmodule,\n\t\t\t\tArray.isArray(options.export) ? options.export[0] : options.export\n\t\t\t);\n\t\t\texportsInfo.setUsed(UsageState.Used, runtime);\n\t\t\texportsInfo.canMangleUse = false;\n\t\t} else {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\texportsInfo.setUsedInUnknownWay(runtime);\n\t\t}\n\t\tmoduleGraph.addExtraReason(module, \"used as library export\");\n\t}\n\n\t_getPrefix(compilation) {\n\t\treturn this.prefix === \"global\"\n\t\t\t? [compilation.runtimeTemplate.globalObject]\n\t\t\t: this.prefix;\n\t}\n\n\t_getResolvedFullName(options, chunk, compilation) {\n\t\tconst prefix = this._getPrefix(compilation);\n\t\tconst fullName = options.name ? prefix.concat(options.name) : prefix;\n\t\treturn fullName.map(n =>\n\t\t\tcompilation.getPath(n, {\n\t\t\t\tchunk\n\t\t\t})\n\t\t);\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(source, { chunk }, { options, compilation }) {\n\t\tconst fullNameResolved = this._getResolvedFullName(\n\t\t\toptions,\n\t\t\tchunk,\n\t\t\tcompilation\n\t\t);\n\t\tif (this.declare) {\n\t\t\tconst base = fullNameResolved[0];\n\t\t\tif (!isNameValid(base)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Library name base (${base}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${Template.toIdentifier(\n\t\t\t\t\t\tbase\n\t\t\t\t\t)}) or use a different library type (e. g. 'type: \"global\"', which assign a property on the global scope instead of declaring a variable). ${\n\t\t\t\t\t\tAbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE\n\t\t\t\t\t}`\n\t\t\t\t);\n\t\t\t}\n\t\t\tsource = new ConcatSource(`${this.declare} ${base};\\n`, source);\n\t\t}\n\t\treturn source;\n\t}\n\n\t/**\n\t * @param {Module} module the exporting entry module\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {string | undefined} bailout reason\n\t */\n\tembedInRuntimeBailout(\n\t\tmodule,\n\t\t{ chunk, codeGenerationResults },\n\t\t{ options, compilation }\n\t) {\n\t\tconst { data } = codeGenerationResults.get(module, chunk.runtime);\n\t\tconst topLevelDeclarations =\n\t\t\t(data && data.get(\"topLevelDeclarations\")) ||\n\t\t\t(module.buildInfo && module.buildInfo.topLevelDeclarations);\n\t\tif (!topLevelDeclarations)\n\t\t\treturn \"it doesn't tell about top level declarations.\";\n\t\tconst fullNameResolved = this._getResolvedFullName(\n\t\t\toptions,\n\t\t\tchunk,\n\t\t\tcompilation\n\t\t);\n\t\tconst base = fullNameResolved[0];\n\t\tif (topLevelDeclarations.has(base))\n\t\t\treturn `it declares '${base}' on top-level, which conflicts with the current library output.`;\n\t}\n\n\t/**\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {string | undefined} bailout reason\n\t */\n\tstrictRuntimeBailout({ chunk }, { options, compilation }) {\n\t\tif (\n\t\t\tthis.declare ||\n\t\t\tthis.prefix === \"global\" ||\n\t\t\tthis.prefix.length > 0 ||\n\t\t\t!options.name\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\treturn \"a global variable is assign and maybe created\";\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {Module} module module\n\t * @param {StartupRenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trenderStartup(\n\t\tsource,\n\t\tmodule,\n\t\t{ moduleGraph, chunk },\n\t\t{ options, compilation }\n\t) {\n\t\tconst fullNameResolved = this._getResolvedFullName(\n\t\t\toptions,\n\t\t\tchunk,\n\t\t\tcompilation\n\t\t);\n\t\tconst staticExports = this.unnamed === \"static\";\n\t\tconst exportAccess = options.export\n\t\t\t? propertyAccess(\n\t\t\t\t\tArray.isArray(options.export) ? options.export : [options.export]\n\t\t\t )\n\t\t\t: \"\";\n\t\tconst result = new ConcatSource(source);\n\t\tif (staticExports) {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\tconst exportTarget = accessWithInit(\n\t\t\t\tfullNameResolved,\n\t\t\t\tthis._getPrefix(compilation).length,\n\t\t\t\ttrue\n\t\t\t);\n\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\tif (!exportInfo.provided) continue;\n\t\t\t\tconst nameAccess = propertyAccess([exportInfo.name]);\n\t\t\t\tresult.add(\n\t\t\t\t\t`${exportTarget}${nameAccess} = __webpack_exports__${exportAccess}${nameAccess};\\n`\n\t\t\t\t);\n\t\t\t}\n\t\t\tresult.add(\n\t\t\t\t`Object.defineProperty(${exportTarget}, \"__esModule\", { value: true });\\n`\n\t\t\t);\n\t\t} else if (options.name ? this.named === \"copy\" : this.unnamed === \"copy\") {\n\t\t\tresult.add(\n\t\t\t\t`var __webpack_export_target__ = ${accessWithInit(\n\t\t\t\t\tfullNameResolved,\n\t\t\t\t\tthis._getPrefix(compilation).length,\n\t\t\t\t\ttrue\n\t\t\t\t)};\\n`\n\t\t\t);\n\t\t\tlet exports = \"__webpack_exports__\";\n\t\t\tif (exportAccess) {\n\t\t\t\tresult.add(\n\t\t\t\t\t`var __webpack_exports_export__ = __webpack_exports__${exportAccess};\\n`\n\t\t\t\t);\n\t\t\t\texports = \"__webpack_exports_export__\";\n\t\t\t}\n\t\t\tresult.add(\n\t\t\t\t`for(var i in ${exports}) __webpack_export_target__[i] = ${exports}[i];\\n`\n\t\t\t);\n\t\t\tresult.add(\n\t\t\t\t`if(${exports}.__esModule) Object.defineProperty(__webpack_export_target__, \"__esModule\", { value: true });\\n`\n\t\t\t);\n\t\t} else {\n\t\t\tresult.add(\n\t\t\t\t`${accessWithInit(\n\t\t\t\t\tfullNameResolved,\n\t\t\t\t\tthis._getPrefix(compilation).length,\n\t\t\t\t\tfalse\n\t\t\t\t)} = __webpack_exports__${exportAccess};\\n`\n\t\t\t);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Set<string>} set runtime requirements\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\truntimeRequirements(chunk, set, libraryContext) {\n\t\t// we don't need to return exports from runtime\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Hash} hash hash\n\t * @param {ChunkHashContext} chunkHashContext chunk hash context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tchunkHash(chunk, hash, chunkHashContext, { options, compilation }) {\n\t\thash.update(\"AssignLibraryPlugin\");\n\t\tconst fullNameResolved = this._getResolvedFullName(\n\t\t\toptions,\n\t\t\tchunk,\n\t\t\tcompilation\n\t\t);\n\t\tif (options.name ? this.named === \"copy\" : this.unnamed === \"copy\") {\n\t\t\thash.update(\"copy\");\n\t\t}\n\t\tif (this.declare) {\n\t\t\thash.update(this.declare);\n\t\t}\n\t\thash.update(fullNameResolved.join(\".\"));\n\t\tif (options.export) {\n\t\t\thash.update(`${options.export}`);\n\t\t}\n\t}\n}\n\nmodule.exports = AssignLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/AssignLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/EnableLibraryPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/library/EnableLibraryPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/** @type {WeakMap<Compiler, Set<LibraryType>>} */\nconst enabledTypes = new WeakMap();\n\nconst getEnabledTypes = compiler => {\n\tlet set = enabledTypes.get(compiler);\n\tif (set === undefined) {\n\t\tset = new Set();\n\t\tenabledTypes.set(compiler, set);\n\t}\n\treturn set;\n};\n\nclass EnableLibraryPlugin {\n\t/**\n\t * @param {LibraryType} type library type that should be available\n\t */\n\tconstructor(type) {\n\t\tthis.type = type;\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {LibraryType} type type of library\n\t * @returns {void}\n\t */\n\tstatic setEnabled(compiler, type) {\n\t\tgetEnabledTypes(compiler).add(type);\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {LibraryType} type type of library\n\t * @returns {void}\n\t */\n\tstatic checkEnabled(compiler, type) {\n\t\tif (!getEnabledTypes(compiler).has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Library type \"${type}\" is not enabled. ` +\n\t\t\t\t\t\"EnableLibraryPlugin need to be used to enable this type of library. \" +\n\t\t\t\t\t'This usually happens through the \"output.enabledLibraryTypes\" option. ' +\n\t\t\t\t\t'If you are using a function as entry which sets \"library\", you need to add all potential library types to \"output.enabledLibraryTypes\". ' +\n\t\t\t\t\t\"These types are enabled: \" +\n\t\t\t\t\tArray.from(getEnabledTypes(compiler)).join(\", \")\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { type } = this;\n\n\t\t// Only enable once\n\t\tconst enabled = getEnabledTypes(compiler);\n\t\tif (enabled.has(type)) return;\n\t\tenabled.add(type);\n\n\t\tif (typeof type === \"string\") {\n\t\t\tconst enableExportProperty = () => {\n\t\t\t\tconst ExportPropertyTemplatePlugin = __webpack_require__(/*! ./ExportPropertyLibraryPlugin */ \"./node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js\");\n\t\t\t\tnew ExportPropertyTemplatePlugin({\n\t\t\t\t\ttype,\n\t\t\t\t\tnsObjectUsed: type !== \"module\"\n\t\t\t\t}).apply(compiler);\n\t\t\t};\n\t\t\tswitch (type) {\n\t\t\t\tcase \"var\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [],\n\t\t\t\t\t\tdeclare: \"var\",\n\t\t\t\t\t\tunnamed: \"error\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"assign-properties\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"error\",\n\t\t\t\t\t\tnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"assign\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"error\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"this\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"this\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"window\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"window\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"self\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"self\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"global\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: \"global\",\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"commonjs\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"exports\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"copy\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"commonjs-static\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"exports\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"static\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"commonjs2\":\n\t\t\t\tcase \"commonjs-module\": {\n\t\t\t\t\t//@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697\n\t\t\t\t\tconst AssignLibraryPlugin = __webpack_require__(/*! ./AssignLibraryPlugin */ \"./node_modules/webpack/lib/library/AssignLibraryPlugin.js\");\n\t\t\t\t\tnew AssignLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\tprefix: [\"module\", \"exports\"],\n\t\t\t\t\t\tdeclare: false,\n\t\t\t\t\t\tunnamed: \"assign\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"amd\":\n\t\t\t\tcase \"amd-require\": {\n\t\t\t\t\tenableExportProperty();\n\t\t\t\t\tconst AmdLibraryPlugin = __webpack_require__(/*! ./AmdLibraryPlugin */ \"./node_modules/webpack/lib/library/AmdLibraryPlugin.js\");\n\t\t\t\t\tnew AmdLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\trequireAsWrapper: type === \"amd-require\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"umd\":\n\t\t\t\tcase \"umd2\": {\n\t\t\t\t\tenableExportProperty();\n\t\t\t\t\tconst UmdLibraryPlugin = __webpack_require__(/*! ./UmdLibraryPlugin */ \"./node_modules/webpack/lib/library/UmdLibraryPlugin.js\");\n\t\t\t\t\tnew UmdLibraryPlugin({\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\toptionalAmdExternalAsGlobal: type === \"umd2\"\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"system\": {\n\t\t\t\t\tenableExportProperty();\n\t\t\t\t\tconst SystemLibraryPlugin = __webpack_require__(/*! ./SystemLibraryPlugin */ \"./node_modules/webpack/lib/library/SystemLibraryPlugin.js\");\n\t\t\t\t\tnew SystemLibraryPlugin({\n\t\t\t\t\t\ttype\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"jsonp\": {\n\t\t\t\t\tenableExportProperty();\n\t\t\t\t\tconst JsonpLibraryPlugin = __webpack_require__(/*! ./JsonpLibraryPlugin */ \"./node_modules/webpack/lib/library/JsonpLibraryPlugin.js\");\n\t\t\t\t\tnew JsonpLibraryPlugin({\n\t\t\t\t\t\ttype\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"module\": {\n\t\t\t\t\tenableExportProperty();\n\t\t\t\t\tconst ModuleLibraryPlugin = __webpack_require__(/*! ./ModuleLibraryPlugin */ \"./node_modules/webpack/lib/library/ModuleLibraryPlugin.js\");\n\t\t\t\t\tnew ModuleLibraryPlugin({\n\t\t\t\t\t\ttype\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unsupported library type ${type}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`);\n\t\t\t}\n\t\t} else {\n\t\t\t// TODO support plugin instances here\n\t\t\t// apply them to the compiler\n\t\t}\n\t}\n}\n\nmodule.exports = EnableLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/EnableLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst { getEntryRuntime } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").StartupRenderContext} StartupRenderContext */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @typedef {Object} ExportPropertyLibraryPluginParsed\n * @property {string | string[]} export\n */\n\n/**\n * @typedef {Object} ExportPropertyLibraryPluginOptions\n * @property {LibraryType} type\n * @property {boolean} nsObjectUsed the namespace object is used\n */\n/**\n * @typedef {ExportPropertyLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<ExportPropertyLibraryPluginParsed>}\n */\nclass ExportPropertyLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {ExportPropertyLibraryPluginOptions} options options\n\t */\n\tconstructor({ type, nsObjectUsed }) {\n\t\tsuper({\n\t\t\tpluginName: \"ExportPropertyLibraryPlugin\",\n\t\t\ttype\n\t\t});\n\t\tthis.nsObjectUsed = nsObjectUsed;\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\treturn {\n\t\t\texport: library.export\n\t\t};\n\t}\n\n\t/**\n\t * @param {Module} module the exporting entry module\n\t * @param {string} entryName the name of the entrypoint\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tfinishEntryModule(\n\t\tmodule,\n\t\tentryName,\n\t\t{ options, compilation, compilation: { moduleGraph } }\n\t) {\n\t\tconst runtime = getEntryRuntime(compilation, entryName);\n\t\tif (options.export) {\n\t\t\tconst exportsInfo = moduleGraph.getExportInfo(\n\t\t\t\tmodule,\n\t\t\t\tArray.isArray(options.export) ? options.export[0] : options.export\n\t\t\t);\n\t\t\texportsInfo.setUsed(UsageState.Used, runtime);\n\t\t\texportsInfo.canMangleUse = false;\n\t\t} else {\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\tif (this.nsObjectUsed) {\n\t\t\t\texportsInfo.setUsedInUnknownWay(runtime);\n\t\t\t} else {\n\t\t\t\texportsInfo.setAllKnownExportsUsed(runtime);\n\t\t\t}\n\t\t}\n\t\tmoduleGraph.addExtraReason(module, \"used as library export\");\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Set<string>} set runtime requirements\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\truntimeRequirements(chunk, set, libraryContext) {}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {Module} module module\n\t * @param {StartupRenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trenderStartup(source, module, renderContext, { options }) {\n\t\tif (!options.export) return source;\n\t\tconst postfix = `__webpack_exports__ = __webpack_exports__${propertyAccess(\n\t\t\tArray.isArray(options.export) ? options.export : [options.export]\n\t\t)};\\n`;\n\t\treturn new ConcatSource(source, postfix);\n\t}\n}\n\nmodule.exports = ExportPropertyLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/JsonpLibraryPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/library/JsonpLibraryPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @typedef {Object} JsonpLibraryPluginOptions\n * @property {LibraryType} type\n */\n\n/**\n * @typedef {Object} JsonpLibraryPluginParsed\n * @property {string} name\n */\n\n/**\n * @typedef {JsonpLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<JsonpLibraryPluginParsed>}\n */\nclass JsonpLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {JsonpLibraryPluginOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"JsonpLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst { name } = library;\n\t\tif (typeof name !== \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`Jsonp library name must be a simple string. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t);\n\t\t}\n\t\treturn {\n\t\t\tname: /** @type {string} */ (name)\n\t\t};\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(source, { chunk }, { options, compilation }) {\n\t\tconst name = compilation.getPath(options.name, {\n\t\t\tchunk\n\t\t});\n\t\treturn new ConcatSource(`${name}(`, source, \")\");\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Hash} hash hash\n\t * @param {ChunkHashContext} chunkHashContext chunk hash context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tchunkHash(chunk, hash, chunkHashContext, { options, compilation }) {\n\t\thash.update(\"JsonpLibraryPlugin\");\n\t\thash.update(compilation.getPath(options.name, { chunk }));\n\t}\n}\n\nmodule.exports = JsonpLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/JsonpLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/ModuleLibraryPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/library/ModuleLibraryPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").StartupRenderContext} StartupRenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @typedef {Object} ModuleLibraryPluginOptions\n * @property {LibraryType} type\n */\n\n/**\n * @typedef {Object} ModuleLibraryPluginParsed\n * @property {string} name\n */\n\n/**\n * @typedef {ModuleLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<ModuleLibraryPluginParsed>}\n */\nclass ModuleLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {ModuleLibraryPluginOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"ModuleLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst { name } = library;\n\t\tif (name) {\n\t\t\tthrow new Error(\n\t\t\t\t`Library name must be unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t);\n\t\t}\n\t\treturn {\n\t\t\tname: /** @type {string} */ (name)\n\t\t};\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {Module} module module\n\t * @param {StartupRenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trenderStartup(\n\t\tsource,\n\t\tmodule,\n\t\t{ moduleGraph, chunk },\n\t\t{ options, compilation }\n\t) {\n\t\tconst result = new ConcatSource(source);\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\tconst exports = [];\n\t\tconst isAsync = moduleGraph.isAsync(module);\n\t\tif (isAsync) {\n\t\t\tresult.add(`__webpack_exports__ = await __webpack_exports__;\\n`);\n\t\t}\n\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\tif (!exportInfo.provided) continue;\n\t\t\tconst varName = `__webpack_exports__${Template.toIdentifier(\n\t\t\t\texportInfo.name\n\t\t\t)}`;\n\t\t\tresult.add(\n\t\t\t\t`var ${varName} = __webpack_exports__${propertyAccess([\n\t\t\t\t\texportInfo.getUsedName(exportInfo.name, chunk.runtime)\n\t\t\t\t])};\\n`\n\t\t\t);\n\t\t\texports.push(`${varName} as ${exportInfo.name}`);\n\t\t}\n\t\tif (exports.length > 0) {\n\t\t\tresult.add(`export { ${exports.join(\", \")} };\\n`);\n\t\t}\n\t\treturn result;\n\t}\n}\n\nmodule.exports = ModuleLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/ModuleLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/SystemLibraryPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/library/SystemLibraryPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Joel Denning @joeldenning\n*/\n\n\n\nconst { ConcatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst ExternalModule = __webpack_require__(/*! ../ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\").ChunkHashContext} ChunkHashContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @typedef {Object} SystemLibraryPluginOptions\n * @property {LibraryType} type\n */\n\n/**\n * @typedef {Object} SystemLibraryPluginParsed\n * @property {string} name\n */\n\n/**\n * @typedef {SystemLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<SystemLibraryPluginParsed>}\n */\nclass SystemLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {SystemLibraryPluginOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"SystemLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\tconst { name } = library;\n\t\tif (name && typeof name !== \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`System.js library name must be a simple string or unset. ${AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE}`\n\t\t\t);\n\t\t}\n\t\treturn {\n\t\t\tname: /** @type {string=} */ (name)\n\t\t};\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(source, { chunkGraph, moduleGraph, chunk }, { options, compilation }) {\n\t\tconst modules = chunkGraph\n\t\t\t.getChunkModules(chunk)\n\t\t\t.filter(m => m instanceof ExternalModule && m.externalType === \"system\");\n\t\tconst externals = /** @type {ExternalModule[]} */ (modules);\n\n\t\t// The name this bundle should be registered as with System\n\t\tconst name = options.name\n\t\t\t? `${JSON.stringify(compilation.getPath(options.name, { chunk }))}, `\n\t\t\t: \"\";\n\n\t\t// The array of dependencies that are external to webpack and will be provided by System\n\t\tconst systemDependencies = JSON.stringify(\n\t\t\texternals.map(m =>\n\t\t\t\ttypeof m.request === \"object\" && !Array.isArray(m.request)\n\t\t\t\t\t? m.request.amd\n\t\t\t\t\t: m.request\n\t\t\t)\n\t\t);\n\n\t\t// The name of the variable provided by System for exporting\n\t\tconst dynamicExport = \"__WEBPACK_DYNAMIC_EXPORT__\";\n\n\t\t// An array of the internal variable names for the webpack externals\n\t\tconst externalWebpackNames = externals.map(\n\t\t\tm =>\n\t\t\t\t`__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(\n\t\t\t\t\t`${chunkGraph.getModuleId(m)}`\n\t\t\t\t)}__`\n\t\t);\n\n\t\t// Declaring variables for the internal variable names for the webpack externals\n\t\tconst externalVarDeclarations = externalWebpackNames\n\t\t\t.map(name => `var ${name} = {};`)\n\t\t\t.join(\"\\n\");\n\n\t\t// Define __esModule flag on all internal variables and helpers\n\t\tconst externalVarInitialization = [];\n\n\t\t// The system.register format requires an array of setter functions for externals.\n\t\tconst setters =\n\t\t\texternalWebpackNames.length === 0\n\t\t\t\t? \"\"\n\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\"setters: [\",\n\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\texternals\n\t\t\t\t\t\t\t\t.map((module, i) => {\n\t\t\t\t\t\t\t\t\tconst external = externalWebpackNames[i];\n\t\t\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\t\t\tconst otherUnused =\n\t\t\t\t\t\t\t\t\t\texportsInfo.otherExportsInfo.getUsed(chunk.runtime) ===\n\t\t\t\t\t\t\t\t\t\tUsageState.Unused;\n\t\t\t\t\t\t\t\t\tconst instructions = [];\n\t\t\t\t\t\t\t\t\tconst handledNames = [];\n\t\t\t\t\t\t\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\t\t\t\t\t\t\tconst used = exportInfo.getUsedName(\n\t\t\t\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\t\t\t\tchunk.runtime\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tif (used) {\n\t\t\t\t\t\t\t\t\t\t\tif (otherUnused || used !== exportInfo.name) {\n\t\t\t\t\t\t\t\t\t\t\t\tinstructions.push(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${external}${propertyAccess([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tused\n\t\t\t\t\t\t\t\t\t\t\t\t\t])} = module${propertyAccess([exportInfo.name])};`\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\thandledNames.push(exportInfo.name);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\thandledNames.push(exportInfo.name);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (!otherUnused) {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!Array.isArray(module.request) ||\n\t\t\t\t\t\t\t\t\t\t\tmodule.request.length === 1\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\texternalVarInitialization.push(\n\t\t\t\t\t\t\t\t\t\t\t\t`Object.defineProperty(${external}, \"__esModule\", { value: true });`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (handledNames.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\tconst name = `${external}handledNames`;\n\t\t\t\t\t\t\t\t\t\t\texternalVarInitialization.push(\n\t\t\t\t\t\t\t\t\t\t\t\t`var ${name} = ${JSON.stringify(handledNames)};`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tinstructions.push(\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Object.keys(module).forEach(function(key) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`if(${name}.indexOf(key) >= 0)`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent(`${external}[key] = module[key];`)\n\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tinstructions.push(\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Object.keys(module).forEach(function(key) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([`${external}[key] = module[key];`]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (instructions.length === 0) return \"function() {}\";\n\t\t\t\t\t\t\t\t\treturn Template.asString([\n\t\t\t\t\t\t\t\t\t\t\"function(module) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent(instructions),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t]);\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t.join(\",\\n\")\n\t\t\t\t\t\t),\n\t\t\t\t\t\t\"],\"\n\t\t\t\t ]);\n\n\t\treturn new ConcatSource(\n\t\t\tTemplate.asString([\n\t\t\t\t`System.register(${name}${systemDependencies}, function(${dynamicExport}, __system_context__) {`,\n\t\t\t\tTemplate.indent([\n\t\t\t\t\texternalVarDeclarations,\n\t\t\t\t\tTemplate.asString(externalVarInitialization),\n\t\t\t\t\t\"return {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\tsetters,\n\t\t\t\t\t\t\"execute: function() {\",\n\t\t\t\t\t\tTemplate.indent(`${dynamicExport}(`)\n\t\t\t\t\t])\n\t\t\t\t]),\n\t\t\t\t\"\"\n\t\t\t]),\n\t\t\tsource,\n\t\t\tTemplate.asString([\n\t\t\t\t\"\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\tTemplate.indent([Template.indent([\");\"]), \"}\"]),\n\t\t\t\t\t\"};\"\n\t\t\t\t]),\n\t\t\t\t\"})\"\n\t\t\t])\n\t\t);\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk\n\t * @param {Hash} hash hash\n\t * @param {ChunkHashContext} chunkHashContext chunk hash context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {void}\n\t */\n\tchunkHash(chunk, hash, chunkHashContext, { options, compilation }) {\n\t\thash.update(\"SystemLibraryPlugin\");\n\t\tif (options.name) {\n\t\t\thash.update(compilation.getPath(options.name, { chunk }));\n\t\t}\n\t}\n}\n\nmodule.exports = SystemLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/SystemLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/library/UmdLibraryPlugin.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/library/UmdLibraryPlugin.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { ConcatSource, OriginalSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ExternalModule = __webpack_require__(/*! ../ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst AbstractLibraryPlugin = __webpack_require__(/*! ./AbstractLibraryPlugin */ \"./node_modules/webpack/lib/library/AbstractLibraryPlugin.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryCustomUmdCommentObject} LibraryCustomUmdCommentObject */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryCustomUmdObject} LibraryCustomUmdObject */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryName} LibraryName */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryType} LibraryType */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @template T @typedef {import(\"./AbstractLibraryPlugin\").LibraryContext<T>} LibraryContext<T> */\n\n/**\n * @param {string[]} accessor the accessor to convert to path\n * @returns {string} the path\n */\nconst accessorToObjectAccess = accessor => {\n\treturn accessor.map(a => `[${JSON.stringify(a)}]`).join(\"\");\n};\n\n/**\n * @param {string|undefined} base the path prefix\n * @param {string|string[]} accessor the accessor\n * @param {string=} joinWith the element separator\n * @returns {string} the path\n */\nconst accessorAccess = (base, accessor, joinWith = \", \") => {\n\tconst accessors = Array.isArray(accessor) ? accessor : [accessor];\n\treturn accessors\n\t\t.map((_, idx) => {\n\t\t\tconst a = base\n\t\t\t\t? base + accessorToObjectAccess(accessors.slice(0, idx + 1))\n\t\t\t\t: accessors[0] + accessorToObjectAccess(accessors.slice(1, idx + 1));\n\t\t\tif (idx === accessors.length - 1) return a;\n\t\t\tif (idx === 0 && base === undefined)\n\t\t\t\treturn `${a} = typeof ${a} === \"object\" ? ${a} : {}`;\n\t\t\treturn `${a} = ${a} || {}`;\n\t\t})\n\t\t.join(joinWith);\n};\n\n/** @typedef {string | string[] | LibraryCustomUmdObject} UmdLibraryPluginName */\n\n/**\n * @typedef {Object} UmdLibraryPluginOptions\n * @property {LibraryType} type\n * @property {boolean=} optionalAmdExternalAsGlobal\n */\n\n/**\n * @typedef {Object} UmdLibraryPluginParsed\n * @property {string | string[]} name\n * @property {LibraryCustomUmdObject} names\n * @property {string | LibraryCustomUmdCommentObject} auxiliaryComment\n * @property {boolean} namedDefine\n */\n\n/**\n * @typedef {UmdLibraryPluginParsed} T\n * @extends {AbstractLibraryPlugin<UmdLibraryPluginParsed>}\n */\nclass UmdLibraryPlugin extends AbstractLibraryPlugin {\n\t/**\n\t * @param {UmdLibraryPluginOptions} options the plugin option\n\t */\n\tconstructor(options) {\n\t\tsuper({\n\t\t\tpluginName: \"UmdLibraryPlugin\",\n\t\t\ttype: options.type\n\t\t});\n\n\t\tthis.optionalAmdExternalAsGlobal = options.optionalAmdExternalAsGlobal;\n\t}\n\n\t/**\n\t * @param {LibraryOptions} library normalized library option\n\t * @returns {T | false} preprocess as needed by overriding\n\t */\n\tparseOptions(library) {\n\t\t/** @type {LibraryName} */\n\t\tlet name;\n\t\t/** @type {LibraryCustomUmdObject} */\n\t\tlet names;\n\t\tif (typeof library.name === \"object\" && !Array.isArray(library.name)) {\n\t\t\tname = library.name.root || library.name.amd || library.name.commonjs;\n\t\t\tnames = library.name;\n\t\t} else {\n\t\t\tname = library.name;\n\t\t\tconst singleName = Array.isArray(name) ? name[0] : name;\n\t\t\tnames = {\n\t\t\t\tcommonjs: singleName,\n\t\t\t\troot: library.name,\n\t\t\t\tamd: singleName\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tname,\n\t\t\tnames,\n\t\t\tauxiliaryComment: library.auxiliaryComment,\n\t\t\tnamedDefine: library.umdNamedDefine\n\t\t};\n\t}\n\n\t/**\n\t * @param {Source} source source\n\t * @param {RenderContext} renderContext render context\n\t * @param {LibraryContext<T>} libraryContext context\n\t * @returns {Source} source with library export\n\t */\n\trender(\n\t\tsource,\n\t\t{ chunkGraph, runtimeTemplate, chunk, moduleGraph },\n\t\t{ options, compilation }\n\t) {\n\t\tconst modules = chunkGraph\n\t\t\t.getChunkModules(chunk)\n\t\t\t.filter(\n\t\t\t\tm =>\n\t\t\t\t\tm instanceof ExternalModule &&\n\t\t\t\t\t(m.externalType === \"umd\" || m.externalType === \"umd2\")\n\t\t\t);\n\t\tlet externals = /** @type {ExternalModule[]} */ (modules);\n\t\t/** @type {ExternalModule[]} */\n\t\tconst optionalExternals = [];\n\t\t/** @type {ExternalModule[]} */\n\t\tlet requiredExternals = [];\n\t\tif (this.optionalAmdExternalAsGlobal) {\n\t\t\tfor (const m of externals) {\n\t\t\t\tif (m.isOptional(moduleGraph)) {\n\t\t\t\t\toptionalExternals.push(m);\n\t\t\t\t} else {\n\t\t\t\t\trequiredExternals.push(m);\n\t\t\t\t}\n\t\t\t}\n\t\t\texternals = requiredExternals.concat(optionalExternals);\n\t\t} else {\n\t\t\trequiredExternals = externals;\n\t\t}\n\n\t\tconst replaceKeys = str => {\n\t\t\treturn compilation.getPath(str, {\n\t\t\t\tchunk\n\t\t\t});\n\t\t};\n\n\t\tconst externalsDepsArray = modules => {\n\t\t\treturn `[${replaceKeys(\n\t\t\t\tmodules\n\t\t\t\t\t.map(m =>\n\t\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\t\ttypeof m.request === \"object\" ? m.request.amd : m.request\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t\t.join(\", \")\n\t\t\t)}]`;\n\t\t};\n\n\t\tconst externalsRootArray = modules => {\n\t\t\treturn replaceKeys(\n\t\t\t\tmodules\n\t\t\t\t\t.map(m => {\n\t\t\t\t\t\tlet request = m.request;\n\t\t\t\t\t\tif (typeof request === \"object\") request = request.root;\n\t\t\t\t\t\treturn `root${accessorToObjectAccess([].concat(request))}`;\n\t\t\t\t\t})\n\t\t\t\t\t.join(\", \")\n\t\t\t);\n\t\t};\n\n\t\tconst externalsRequireArray = type => {\n\t\t\treturn replaceKeys(\n\t\t\t\texternals\n\t\t\t\t\t.map(m => {\n\t\t\t\t\t\tlet expr;\n\t\t\t\t\t\tlet request = m.request;\n\t\t\t\t\t\tif (typeof request === \"object\") {\n\t\t\t\t\t\t\trequest = request[type];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (request === undefined) {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\"Missing external configuration for type:\" + type\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (Array.isArray(request)) {\n\t\t\t\t\t\t\texpr = `require(${JSON.stringify(\n\t\t\t\t\t\t\t\trequest[0]\n\t\t\t\t\t\t\t)})${accessorToObjectAccess(request.slice(1))}`;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\texpr = `require(${JSON.stringify(request)})`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (m.isOptional(moduleGraph)) {\n\t\t\t\t\t\t\texpr = `(function webpackLoadOptionalExternalModule() { try { return ${expr}; } catch(e) {} }())`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn expr;\n\t\t\t\t\t})\n\t\t\t\t\t.join(\", \")\n\t\t\t);\n\t\t};\n\n\t\tconst externalsArguments = modules => {\n\t\t\treturn modules\n\t\t\t\t.map(\n\t\t\t\t\tm =>\n\t\t\t\t\t\t`__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(\n\t\t\t\t\t\t\t`${chunkGraph.getModuleId(m)}`\n\t\t\t\t\t\t)}__`\n\t\t\t\t)\n\t\t\t\t.join(\", \");\n\t\t};\n\n\t\tconst libraryName = library => {\n\t\t\treturn JSON.stringify(replaceKeys([].concat(library).pop()));\n\t\t};\n\n\t\tlet amdFactory;\n\t\tif (optionalExternals.length > 0) {\n\t\t\tconst wrapperArguments = externalsArguments(requiredExternals);\n\t\t\tconst factoryArguments =\n\t\t\t\trequiredExternals.length > 0\n\t\t\t\t\t? externalsArguments(requiredExternals) +\n\t\t\t\t\t \", \" +\n\t\t\t\t\t externalsRootArray(optionalExternals)\n\t\t\t\t\t: externalsRootArray(optionalExternals);\n\t\t\tamdFactory =\n\t\t\t\t`function webpackLoadOptionalExternalModuleAmd(${wrapperArguments}) {\\n` +\n\t\t\t\t`\t\t\treturn factory(${factoryArguments});\\n` +\n\t\t\t\t\"\t\t}\";\n\t\t} else {\n\t\t\tamdFactory = \"factory\";\n\t\t}\n\n\t\tconst { auxiliaryComment, namedDefine, names } = options;\n\n\t\tconst getAuxiliaryComment = type => {\n\t\t\tif (auxiliaryComment) {\n\t\t\t\tif (typeof auxiliaryComment === \"string\")\n\t\t\t\t\treturn \"\\t//\" + auxiliaryComment + \"\\n\";\n\t\t\t\tif (auxiliaryComment[type])\n\t\t\t\t\treturn \"\\t//\" + auxiliaryComment[type] + \"\\n\";\n\t\t\t}\n\t\t\treturn \"\";\n\t\t};\n\n\t\treturn new ConcatSource(\n\t\t\tnew OriginalSource(\n\t\t\t\t\"(function webpackUniversalModuleDefinition(root, factory) {\\n\" +\n\t\t\t\t\tgetAuxiliaryComment(\"commonjs2\") +\n\t\t\t\t\t\"\tif(typeof exports === 'object' && typeof module === 'object')\\n\" +\n\t\t\t\t\t\"\t\tmodule.exports = factory(\" +\n\t\t\t\t\texternalsRequireArray(\"commonjs2\") +\n\t\t\t\t\t\");\\n\" +\n\t\t\t\t\tgetAuxiliaryComment(\"amd\") +\n\t\t\t\t\t\"\telse if(typeof define === 'function' && define.amd)\\n\" +\n\t\t\t\t\t(requiredExternals.length > 0\n\t\t\t\t\t\t? names.amd && namedDefine === true\n\t\t\t\t\t\t\t? \"\t\tdefine(\" +\n\t\t\t\t\t\t\t libraryName(names.amd) +\n\t\t\t\t\t\t\t \", \" +\n\t\t\t\t\t\t\t externalsDepsArray(requiredExternals) +\n\t\t\t\t\t\t\t \", \" +\n\t\t\t\t\t\t\t amdFactory +\n\t\t\t\t\t\t\t \");\\n\"\n\t\t\t\t\t\t\t: \"\t\tdefine(\" +\n\t\t\t\t\t\t\t externalsDepsArray(requiredExternals) +\n\t\t\t\t\t\t\t \", \" +\n\t\t\t\t\t\t\t amdFactory +\n\t\t\t\t\t\t\t \");\\n\"\n\t\t\t\t\t\t: names.amd && namedDefine === true\n\t\t\t\t\t\t? \"\t\tdefine(\" +\n\t\t\t\t\t\t libraryName(names.amd) +\n\t\t\t\t\t\t \", [], \" +\n\t\t\t\t\t\t amdFactory +\n\t\t\t\t\t\t \");\\n\"\n\t\t\t\t\t\t: \"\t\tdefine([], \" + amdFactory + \");\\n\") +\n\t\t\t\t\t(names.root || names.commonjs\n\t\t\t\t\t\t? getAuxiliaryComment(\"commonjs\") +\n\t\t\t\t\t\t \"\telse if(typeof exports === 'object')\\n\" +\n\t\t\t\t\t\t \"\t\texports[\" +\n\t\t\t\t\t\t libraryName(names.commonjs || names.root) +\n\t\t\t\t\t\t \"] = factory(\" +\n\t\t\t\t\t\t externalsRequireArray(\"commonjs\") +\n\t\t\t\t\t\t \");\\n\" +\n\t\t\t\t\t\t getAuxiliaryComment(\"root\") +\n\t\t\t\t\t\t \"\telse\\n\" +\n\t\t\t\t\t\t \"\t\t\" +\n\t\t\t\t\t\t replaceKeys(\n\t\t\t\t\t\t\t\taccessorAccess(\"root\", names.root || names.commonjs)\n\t\t\t\t\t\t ) +\n\t\t\t\t\t\t \" = factory(\" +\n\t\t\t\t\t\t externalsRootArray(externals) +\n\t\t\t\t\t\t \");\\n\"\n\t\t\t\t\t\t: \"\telse {\\n\" +\n\t\t\t\t\t\t (externals.length > 0\n\t\t\t\t\t\t\t\t? \"\t\tvar a = typeof exports === 'object' ? factory(\" +\n\t\t\t\t\t\t\t\t externalsRequireArray(\"commonjs\") +\n\t\t\t\t\t\t\t\t \") : factory(\" +\n\t\t\t\t\t\t\t\t externalsRootArray(externals) +\n\t\t\t\t\t\t\t\t \");\\n\"\n\t\t\t\t\t\t\t\t: \"\t\tvar a = factory();\\n\") +\n\t\t\t\t\t\t \"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\\n\" +\n\t\t\t\t\t\t \"\t}\\n\") +\n\t\t\t\t\t`})(${runtimeTemplate.outputOptions.globalObject}, ${\n\t\t\t\t\t\truntimeTemplate.supportsArrowFunction()\n\t\t\t\t\t\t\t? `(${externalsArguments(externals)}) =>`\n\t\t\t\t\t\t\t: `function(${externalsArguments(externals)})`\n\t\t\t\t\t} {\\nreturn `,\n\t\t\t\t\"webpack/universalModuleDefinition\"\n\t\t\t),\n\t\t\tsource,\n\t\t\t\";\\n})\"\n\t\t);\n\t}\n}\n\nmodule.exports = UmdLibraryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/library/UmdLibraryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/logging/Logger.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/logging/Logger.js ***! \****************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst LogType = Object.freeze({\n\terror: /** @type {\"error\"} */ (\"error\"), // message, c style arguments\n\twarn: /** @type {\"warn\"} */ (\"warn\"), // message, c style arguments\n\tinfo: /** @type {\"info\"} */ (\"info\"), // message, c style arguments\n\tlog: /** @type {\"log\"} */ (\"log\"), // message, c style arguments\n\tdebug: /** @type {\"debug\"} */ (\"debug\"), // message, c style arguments\n\n\ttrace: /** @type {\"trace\"} */ (\"trace\"), // no arguments\n\n\tgroup: /** @type {\"group\"} */ (\"group\"), // [label]\n\tgroupCollapsed: /** @type {\"groupCollapsed\"} */ (\"groupCollapsed\"), // [label]\n\tgroupEnd: /** @type {\"groupEnd\"} */ (\"groupEnd\"), // [label]\n\n\tprofile: /** @type {\"profile\"} */ (\"profile\"), // [profileName]\n\tprofileEnd: /** @type {\"profileEnd\"} */ (\"profileEnd\"), // [profileName]\n\n\ttime: /** @type {\"time\"} */ (\"time\"), // name, time as [seconds, nanoseconds]\n\n\tclear: /** @type {\"clear\"} */ (\"clear\"), // no arguments\n\tstatus: /** @type {\"status\"} */ (\"status\") // message, arguments\n});\n\nexports.LogType = LogType;\n\n/** @typedef {typeof LogType[keyof typeof LogType]} LogTypeEnum */\n\nconst LOG_SYMBOL = Symbol(\"webpack logger raw log method\");\nconst TIMERS_SYMBOL = Symbol(\"webpack logger times\");\nconst TIMERS_AGGREGATES_SYMBOL = Symbol(\"webpack logger aggregated times\");\n\nclass WebpackLogger {\n\t/**\n\t * @param {function(LogTypeEnum, any[]=): void} log log function\n\t * @param {function(string | function(): string): WebpackLogger} getChildLogger function to create child logger\n\t */\n\tconstructor(log, getChildLogger) {\n\t\tthis[LOG_SYMBOL] = log;\n\t\tthis.getChildLogger = getChildLogger;\n\t}\n\n\terror(...args) {\n\t\tthis[LOG_SYMBOL](LogType.error, args);\n\t}\n\n\twarn(...args) {\n\t\tthis[LOG_SYMBOL](LogType.warn, args);\n\t}\n\n\tinfo(...args) {\n\t\tthis[LOG_SYMBOL](LogType.info, args);\n\t}\n\n\tlog(...args) {\n\t\tthis[LOG_SYMBOL](LogType.log, args);\n\t}\n\n\tdebug(...args) {\n\t\tthis[LOG_SYMBOL](LogType.debug, args);\n\t}\n\n\tassert(assertion, ...args) {\n\t\tif (!assertion) {\n\t\t\tthis[LOG_SYMBOL](LogType.error, args);\n\t\t}\n\t}\n\n\ttrace() {\n\t\tthis[LOG_SYMBOL](LogType.trace, [\"Trace\"]);\n\t}\n\n\tclear() {\n\t\tthis[LOG_SYMBOL](LogType.clear);\n\t}\n\n\tstatus(...args) {\n\t\tthis[LOG_SYMBOL](LogType.status, args);\n\t}\n\n\tgroup(...args) {\n\t\tthis[LOG_SYMBOL](LogType.group, args);\n\t}\n\n\tgroupCollapsed(...args) {\n\t\tthis[LOG_SYMBOL](LogType.groupCollapsed, args);\n\t}\n\n\tgroupEnd(...args) {\n\t\tthis[LOG_SYMBOL](LogType.groupEnd, args);\n\t}\n\n\tprofile(label) {\n\t\tthis[LOG_SYMBOL](LogType.profile, [label]);\n\t}\n\n\tprofileEnd(label) {\n\t\tthis[LOG_SYMBOL](LogType.profileEnd, [label]);\n\t}\n\n\ttime(label) {\n\t\tthis[TIMERS_SYMBOL] = this[TIMERS_SYMBOL] || new Map();\n\t\tthis[TIMERS_SYMBOL].set(label, process.hrtime());\n\t}\n\n\ttimeLog(label) {\n\t\tconst prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\t\tif (!prev) {\n\t\t\tthrow new Error(`No such label '${label}' for WebpackLogger.timeLog()`);\n\t\t}\n\t\tconst time = process.hrtime(prev);\n\t\tthis[LOG_SYMBOL](LogType.time, [label, ...time]);\n\t}\n\n\ttimeEnd(label) {\n\t\tconst prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\t\tif (!prev) {\n\t\t\tthrow new Error(`No such label '${label}' for WebpackLogger.timeEnd()`);\n\t\t}\n\t\tconst time = process.hrtime(prev);\n\t\tthis[TIMERS_SYMBOL].delete(label);\n\t\tthis[LOG_SYMBOL](LogType.time, [label, ...time]);\n\t}\n\n\ttimeAggregate(label) {\n\t\tconst prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\t\tif (!prev) {\n\t\t\tthrow new Error(\n\t\t\t\t`No such label '${label}' for WebpackLogger.timeAggregate()`\n\t\t\t);\n\t\t}\n\t\tconst time = process.hrtime(prev);\n\t\tthis[TIMERS_SYMBOL].delete(label);\n\t\tthis[TIMERS_AGGREGATES_SYMBOL] =\n\t\t\tthis[TIMERS_AGGREGATES_SYMBOL] || new Map();\n\t\tconst current = this[TIMERS_AGGREGATES_SYMBOL].get(label);\n\t\tif (current !== undefined) {\n\t\t\tif (time[1] + current[1] > 1e9) {\n\t\t\t\ttime[0] += current[0] + 1;\n\t\t\t\ttime[1] = time[1] - 1e9 + current[1];\n\t\t\t} else {\n\t\t\t\ttime[0] += current[0];\n\t\t\t\ttime[1] += current[1];\n\t\t\t}\n\t\t}\n\t\tthis[TIMERS_AGGREGATES_SYMBOL].set(label, time);\n\t}\n\n\ttimeAggregateEnd(label) {\n\t\tif (this[TIMERS_AGGREGATES_SYMBOL] === undefined) return;\n\t\tconst time = this[TIMERS_AGGREGATES_SYMBOL].get(label);\n\t\tif (time === undefined) return;\n\t\tthis[TIMERS_AGGREGATES_SYMBOL].delete(label);\n\t\tthis[LOG_SYMBOL](LogType.time, [label, ...time]);\n\t}\n}\n\nexports.Logger = WebpackLogger;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/logging/Logger.js?"); /***/ }), /***/ "./node_modules/webpack/lib/logging/createConsoleLogger.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/logging/createConsoleLogger.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { LogType } = __webpack_require__(/*! ./Logger */ \"./node_modules/webpack/lib/logging/Logger.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").FilterItemTypes} FilterItemTypes */\n/** @typedef {import(\"../../declarations/WebpackOptions\").FilterTypes} FilterTypes */\n/** @typedef {import(\"./Logger\").LogTypeEnum} LogTypeEnum */\n\n/** @typedef {function(string): boolean} FilterFunction */\n\n/**\n * @typedef {Object} LoggerConsole\n * @property {function(): void} clear\n * @property {function(): void} trace\n * @property {(...args: any[]) => void} info\n * @property {(...args: any[]) => void} log\n * @property {(...args: any[]) => void} warn\n * @property {(...args: any[]) => void} error\n * @property {(...args: any[]) => void=} debug\n * @property {(...args: any[]) => void=} group\n * @property {(...args: any[]) => void=} groupCollapsed\n * @property {(...args: any[]) => void=} groupEnd\n * @property {(...args: any[]) => void=} status\n * @property {(...args: any[]) => void=} profile\n * @property {(...args: any[]) => void=} profileEnd\n * @property {(...args: any[]) => void=} logTime\n */\n\n/**\n * @typedef {Object} LoggerOptions\n * @property {false|true|\"none\"|\"error\"|\"warn\"|\"info\"|\"log\"|\"verbose\"} level loglevel\n * @property {FilterTypes|boolean} debug filter for debug logging\n * @property {LoggerConsole} console the console to log to\n */\n\n/**\n * @param {FilterItemTypes} item an input item\n * @returns {FilterFunction} filter function\n */\nconst filterToFunction = item => {\n\tif (typeof item === \"string\") {\n\t\tconst regExp = new RegExp(\n\t\t\t`[\\\\\\\\/]${item.replace(\n\t\t\t\t// eslint-disable-next-line no-useless-escape\n\t\t\t\t/[-[\\]{}()*+?.\\\\^$|]/g,\n\t\t\t\t\"\\\\$&\"\n\t\t\t)}([\\\\\\\\/]|$|!|\\\\?)`\n\t\t);\n\t\treturn ident => regExp.test(ident);\n\t}\n\tif (item && typeof item === \"object\" && typeof item.test === \"function\") {\n\t\treturn ident => item.test(ident);\n\t}\n\tif (typeof item === \"function\") {\n\t\treturn item;\n\t}\n\tif (typeof item === \"boolean\") {\n\t\treturn () => item;\n\t}\n};\n\n/**\n * @enum {number}\n */\nconst LogLevel = {\n\tnone: 6,\n\tfalse: 6,\n\terror: 5,\n\twarn: 4,\n\tinfo: 3,\n\tlog: 2,\n\ttrue: 2,\n\tverbose: 1\n};\n\n/**\n * @param {LoggerOptions} options options object\n * @returns {function(string, LogTypeEnum, any[]): void} logging function\n */\nmodule.exports = ({ level = \"info\", debug = false, console }) => {\n\tconst debugFilters =\n\t\ttypeof debug === \"boolean\"\n\t\t\t? [() => debug]\n\t\t\t: /** @type {FilterItemTypes[]} */ ([])\n\t\t\t\t\t.concat(debug)\n\t\t\t\t\t.map(filterToFunction);\n\t/** @type {number} */\n\tconst loglevel = LogLevel[`${level}`] || 0;\n\n\t/**\n\t * @param {string} name name of the logger\n\t * @param {LogTypeEnum} type type of the log entry\n\t * @param {any[]} args arguments of the log entry\n\t * @returns {void}\n\t */\n\tconst logger = (name, type, args) => {\n\t\tconst labeledArgs = () => {\n\t\t\tif (Array.isArray(args)) {\n\t\t\t\tif (args.length > 0 && typeof args[0] === \"string\") {\n\t\t\t\t\treturn [`[${name}] ${args[0]}`, ...args.slice(1)];\n\t\t\t\t} else {\n\t\t\t\t\treturn [`[${name}]`, ...args];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t\tconst debug = debugFilters.some(f => f(name));\n\t\tswitch (type) {\n\t\t\tcase LogType.debug:\n\t\t\t\tif (!debug) return;\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.debug === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.debug(...labeledArgs());\n\t\t\t\t} else {\n\t\t\t\t\tconsole.log(...labeledArgs());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.log:\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\tconsole.log(...labeledArgs());\n\t\t\t\tbreak;\n\t\t\tcase LogType.info:\n\t\t\t\tif (!debug && loglevel > LogLevel.info) return;\n\t\t\t\tconsole.info(...labeledArgs());\n\t\t\t\tbreak;\n\t\t\tcase LogType.warn:\n\t\t\t\tif (!debug && loglevel > LogLevel.warn) return;\n\t\t\t\tconsole.warn(...labeledArgs());\n\t\t\t\tbreak;\n\t\t\tcase LogType.error:\n\t\t\t\tif (!debug && loglevel > LogLevel.error) return;\n\t\t\t\tconsole.error(...labeledArgs());\n\t\t\t\tbreak;\n\t\t\tcase LogType.trace:\n\t\t\t\tif (!debug) return;\n\t\t\t\tconsole.trace();\n\t\t\t\tbreak;\n\t\t\tcase LogType.groupCollapsed:\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\tif (!debug && loglevel > LogLevel.verbose) {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tif (typeof console.groupCollapsed === \"function\") {\n\t\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\t\tconsole.groupCollapsed(...labeledArgs());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.log(...labeledArgs());\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t// falls through\n\t\t\tcase LogType.group:\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.group === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.group(...labeledArgs());\n\t\t\t\t} else {\n\t\t\t\t\tconsole.log(...labeledArgs());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.groupEnd:\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.groupEnd === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.time: {\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\tconst ms = args[1] * 1000 + args[2] / 1000000;\n\t\t\t\tconst msg = `[${name}] ${args[0]}: ${ms} ms`;\n\t\t\t\tif (typeof console.logTime === \"function\") {\n\t\t\t\t\tconsole.logTime(msg);\n\t\t\t\t} else {\n\t\t\t\t\tconsole.log(msg);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase LogType.profile:\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.profile === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.profile(...labeledArgs());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.profileEnd:\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.profileEnd === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.profileEnd(...labeledArgs());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.clear:\n\t\t\t\tif (!debug && loglevel > LogLevel.log) return;\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tif (typeof console.clear === \"function\") {\n\t\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\t\tconsole.clear();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LogType.status:\n\t\t\t\tif (!debug && loglevel > LogLevel.info) return;\n\t\t\t\tif (typeof console.status === \"function\") {\n\t\t\t\t\tif (args.length === 0) {\n\t\t\t\t\t\tconsole.status();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.status(...labeledArgs());\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (args.length !== 0) {\n\t\t\t\t\t\tconsole.info(...labeledArgs());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unexpected LogType ${type}`);\n\t\t}\n\t};\n\treturn logger;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/logging/createConsoleLogger.js?"); /***/ }), /***/ "./node_modules/webpack/lib/logging/truncateArgs.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/logging/truncateArgs.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst arraySum = array => {\n\tlet sum = 0;\n\tfor (const item of array) sum += item;\n\treturn sum;\n};\n\n/**\n * @param {any[]} args items to be truncated\n * @param {number} maxLength maximum length of args including spaces between\n * @returns {string[]} truncated args\n */\nconst truncateArgs = (args, maxLength) => {\n\tconst lengths = args.map(a => `${a}`.length);\n\tconst availableLength = maxLength - lengths.length + 1;\n\n\tif (availableLength > 0 && args.length === 1) {\n\t\tif (availableLength >= args[0].length) {\n\t\t\treturn args;\n\t\t} else if (availableLength > 3) {\n\t\t\treturn [\"...\" + args[0].slice(-availableLength + 3)];\n\t\t} else {\n\t\t\treturn [args[0].slice(-availableLength)];\n\t\t}\n\t}\n\n\t// Check if there is space for at least 4 chars per arg\n\tif (availableLength < arraySum(lengths.map(i => Math.min(i, 6)))) {\n\t\t// remove args\n\t\tif (args.length > 1)\n\t\t\treturn truncateArgs(args.slice(0, args.length - 1), maxLength);\n\t\treturn [];\n\t}\n\n\tlet currentLength = arraySum(lengths);\n\n\t// Check if all fits into maxLength\n\tif (currentLength <= availableLength) return args;\n\n\t// Try to remove chars from the longest items until it fits\n\twhile (currentLength > availableLength) {\n\t\tconst maxLength = Math.max(...lengths);\n\t\tconst shorterItems = lengths.filter(l => l !== maxLength);\n\t\tconst nextToMaxLength =\n\t\t\tshorterItems.length > 0 ? Math.max(...shorterItems) : 0;\n\t\tconst maxReduce = maxLength - nextToMaxLength;\n\t\tlet maxItems = lengths.length - shorterItems.length;\n\t\tlet overrun = currentLength - availableLength;\n\t\tfor (let i = 0; i < lengths.length; i++) {\n\t\t\tif (lengths[i] === maxLength) {\n\t\t\t\tconst reduce = Math.min(Math.floor(overrun / maxItems), maxReduce);\n\t\t\t\tlengths[i] -= reduce;\n\t\t\t\tcurrentLength -= reduce;\n\t\t\t\toverrun -= reduce;\n\t\t\t\tmaxItems--;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return args reduced to length in lengths\n\treturn args.map((a, i) => {\n\t\tconst str = `${a}`;\n\t\tconst length = lengths[i];\n\t\tif (str.length === length) {\n\t\t\treturn str;\n\t\t} else if (length > 5) {\n\t\t\treturn \"...\" + str.slice(-length + 3);\n\t\t} else if (length > 0) {\n\t\t\treturn str.slice(-length);\n\t\t} else {\n\t\t\treturn \"\";\n\t\t}\n\t});\n};\n\nmodule.exports = truncateArgs;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/logging/truncateArgs.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst StartupChunkDependenciesPlugin = __webpack_require__(/*! ../runtime/StartupChunkDependenciesPlugin */ \"./node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass CommonJsChunkLoadingPlugin {\n\tconstructor(options) {\n\t\toptions = options || {};\n\t\tthis._asyncChunkLoading = options.asyncChunkLoading;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst ChunkLoadingRuntimeModule = this._asyncChunkLoading\n\t\t\t? __webpack_require__(/*! ./ReadFileChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js\")\n\t\t\t: __webpack_require__(/*! ./RequireChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js\");\n\t\tconst chunkLoadingValue = this._asyncChunkLoading\n\t\t\t? \"async-node\"\n\t\t\t: \"require\";\n\t\tnew StartupChunkDependenciesPlugin({\n\t\t\tchunkLoading: chunkLoadingValue,\n\t\t\tasyncChunkLoading: this._asyncChunkLoading\n\t\t}).apply(compiler);\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"CommonJsChunkLoadingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst chunkLoading =\n\t\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\t\treturn chunkLoading === chunkLoadingValue;\n\t\t\t\t};\n\t\t\t\tconst onceForChunkSet = new WeakSet();\n\t\t\t\tconst handler = (chunk, set) => {\n\t\t\t\t\tif (onceForChunkSet.has(chunk)) return;\n\t\t\t\t\tonceForChunkSet.add(chunk);\n\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew ChunkLoadingRuntimeModule(set)\n\t\t\t\t\t);\n\t\t\t\t};\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.baseURI)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.externalInstallChunk)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.onChunksLoaded)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", handler);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkScriptFilename);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkUpdateScriptFilename);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tset.add(RuntimeGlobals.hmrModuleData);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"CommonJsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.getUpdateManifestFilename);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = CommonJsChunkLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/NodeEnvironmentPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/node/NodeEnvironmentPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst CachedInputFileSystem = __webpack_require__(/*! enhanced-resolve/lib/CachedInputFileSystem */ \"./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js\");\nconst fs = __webpack_require__(/*! graceful-fs */ \"./node_modules/graceful-fs/graceful-fs.js\");\nconst createConsoleLogger = __webpack_require__(/*! ../logging/createConsoleLogger */ \"./node_modules/webpack/lib/logging/createConsoleLogger.js\");\nconst NodeWatchFileSystem = __webpack_require__(/*! ./NodeWatchFileSystem */ \"./node_modules/webpack/lib/node/NodeWatchFileSystem.js\");\nconst nodeConsole = __webpack_require__(/*! ./nodeConsole */ \"./node_modules/webpack/lib/node/nodeConsole.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").InfrastructureLogging} InfrastructureLogging */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass NodeEnvironmentPlugin {\n\t/**\n\t * @param {Object} options options\n\t * @param {InfrastructureLogging} options.infrastructureLogging infrastructure logging options\n\t */\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { infrastructureLogging } = this.options;\n\t\tcompiler.infrastructureLogger = createConsoleLogger({\n\t\t\tlevel: infrastructureLogging.level || \"info\",\n\t\t\tdebug: infrastructureLogging.debug || false,\n\t\t\tconsole:\n\t\t\t\tinfrastructureLogging.console ||\n\t\t\t\tnodeConsole({\n\t\t\t\t\tcolors: infrastructureLogging.colors,\n\t\t\t\t\tappendOnly: infrastructureLogging.appendOnly,\n\t\t\t\t\tstream: infrastructureLogging.stream\n\t\t\t\t})\n\t\t});\n\t\tcompiler.inputFileSystem = new CachedInputFileSystem(fs, 60000);\n\t\tconst inputFileSystem = compiler.inputFileSystem;\n\t\tcompiler.outputFileSystem = fs;\n\t\tcompiler.intermediateFileSystem = fs;\n\t\tcompiler.watchFileSystem = new NodeWatchFileSystem(\n\t\t\tcompiler.inputFileSystem\n\t\t);\n\t\tcompiler.hooks.beforeRun.tap(\"NodeEnvironmentPlugin\", compiler => {\n\t\t\tif (compiler.inputFileSystem === inputFileSystem) {\n\t\t\t\tcompiler.fsStartTime = Date.now();\n\t\t\t\tinputFileSystem.purge();\n\t\t\t}\n\t\t});\n\t}\n}\n\nmodule.exports = NodeEnvironmentPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/NodeEnvironmentPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/NodeSourcePlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/node/NodeSourcePlugin.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass NodeSourcePlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {}\n}\n\nmodule.exports = NodeSourcePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/NodeSourcePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/NodeTargetPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/node/NodeTargetPlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ExternalsPlugin = __webpack_require__(/*! ../ExternalsPlugin */ \"./node_modules/webpack/lib/ExternalsPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst builtins = [\n\t\"assert\",\n\t\"async_hooks\",\n\t\"buffer\",\n\t\"child_process\",\n\t\"cluster\",\n\t\"console\",\n\t\"constants\",\n\t\"crypto\",\n\t\"dgram\",\n\t\"diagnostics_channel\",\n\t\"dns\",\n\t\"dns/promises\",\n\t\"domain\",\n\t\"events\",\n\t\"fs\",\n\t\"fs/promises\",\n\t\"http\",\n\t\"http2\",\n\t\"https\",\n\t\"inspector\",\n\t\"module\",\n\t\"net\",\n\t\"os\",\n\t\"path\",\n\t\"path/posix\",\n\t\"path/win32\",\n\t\"perf_hooks\",\n\t\"process\",\n\t\"punycode\",\n\t\"querystring\",\n\t\"readline\",\n\t\"repl\",\n\t\"stream\",\n\t\"stream/promises\",\n\t\"stream/web\",\n\t\"string_decoder\",\n\t\"sys\",\n\t\"timers\",\n\t\"timers/promises\",\n\t\"tls\",\n\t\"trace_events\",\n\t\"tty\",\n\t\"url\",\n\t\"util\",\n\t\"util/types\",\n\t\"v8\",\n\t\"vm\",\n\t\"wasi\",\n\t\"worker_threads\",\n\t\"zlib\",\n\t/^node:/,\n\n\t// cspell:word pnpapi\n\t// Yarn PnP adds pnpapi as \"builtin\"\n\t\"pnpapi\"\n];\n\nclass NodeTargetPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tnew ExternalsPlugin(\"node-commonjs\", builtins).apply(compiler);\n\t}\n}\n\nmodule.exports = NodeTargetPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/NodeTargetPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/NodeTemplatePlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/node/NodeTemplatePlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst CommonJsChunkFormatPlugin = __webpack_require__(/*! ../javascript/CommonJsChunkFormatPlugin */ \"./node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js\");\nconst EnableChunkLoadingPlugin = __webpack_require__(/*! ../javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass NodeTemplatePlugin {\n\tconstructor(options) {\n\t\tthis._options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst chunkLoading = this._options.asyncChunkLoading\n\t\t\t? \"async-node\"\n\t\t\t: \"require\";\n\t\tcompiler.options.output.chunkLoading = chunkLoading;\n\t\tnew CommonJsChunkFormatPlugin().apply(compiler);\n\t\tnew EnableChunkLoadingPlugin(chunkLoading).apply(compiler);\n\t}\n}\n\nmodule.exports = NodeTemplatePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/NodeTemplatePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/NodeWatchFileSystem.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/node/NodeWatchFileSystem.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?d8cb\");\nconst Watchpack = __webpack_require__(/*! watchpack */ \"./node_modules/watchpack/lib/watchpack.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WatchOptions} WatchOptions */\n/** @typedef {import(\"../FileSystemInfo\").FileSystemInfoEntry} FileSystemInfoEntry */\n/** @typedef {import(\"../util/fs\").WatchFileSystem} WatchFileSystem */\n/** @typedef {import(\"../util/fs\").WatchMethod} WatchMethod */\n/** @typedef {import(\"../util/fs\").Watcher} Watcher */\n\nclass NodeWatchFileSystem {\n\tconstructor(inputFileSystem) {\n\t\tthis.inputFileSystem = inputFileSystem;\n\t\tthis.watcherOptions = {\n\t\t\taggregateTimeout: 0\n\t\t};\n\t\tthis.watcher = new Watchpack(this.watcherOptions);\n\t}\n\n\t/**\n\t * @param {Iterable<string>} files watched files\n\t * @param {Iterable<string>} directories watched directories\n\t * @param {Iterable<string>} missing watched exitance entries\n\t * @param {number} startTime timestamp of start time\n\t * @param {WatchOptions} options options object\n\t * @param {function(Error=, Map<string, FileSystemInfoEntry>, Map<string, FileSystemInfoEntry>, Set<string>, Set<string>): void} callback aggregated callback\n\t * @param {function(string, number): void} callbackUndelayed callback when the first change was detected\n\t * @returns {Watcher} a watcher\n\t */\n\twatch(\n\t\tfiles,\n\t\tdirectories,\n\t\tmissing,\n\t\tstartTime,\n\t\toptions,\n\t\tcallback,\n\t\tcallbackUndelayed\n\t) {\n\t\tif (!files || typeof files[Symbol.iterator] !== \"function\") {\n\t\t\tthrow new Error(\"Invalid arguments: 'files'\");\n\t\t}\n\t\tif (!directories || typeof directories[Symbol.iterator] !== \"function\") {\n\t\t\tthrow new Error(\"Invalid arguments: 'directories'\");\n\t\t}\n\t\tif (!missing || typeof missing[Symbol.iterator] !== \"function\") {\n\t\t\tthrow new Error(\"Invalid arguments: 'missing'\");\n\t\t}\n\t\tif (typeof callback !== \"function\") {\n\t\t\tthrow new Error(\"Invalid arguments: 'callback'\");\n\t\t}\n\t\tif (typeof startTime !== \"number\" && startTime) {\n\t\t\tthrow new Error(\"Invalid arguments: 'startTime'\");\n\t\t}\n\t\tif (typeof options !== \"object\") {\n\t\t\tthrow new Error(\"Invalid arguments: 'options'\");\n\t\t}\n\t\tif (typeof callbackUndelayed !== \"function\" && callbackUndelayed) {\n\t\t\tthrow new Error(\"Invalid arguments: 'callbackUndelayed'\");\n\t\t}\n\t\tconst oldWatcher = this.watcher;\n\t\tthis.watcher = new Watchpack(options);\n\n\t\tif (callbackUndelayed) {\n\t\t\tthis.watcher.once(\"change\", callbackUndelayed);\n\t\t}\n\n\t\tconst fetchTimeInfo = () => {\n\t\t\tconst fileTimeInfoEntries = new Map();\n\t\t\tconst contextTimeInfoEntries = new Map();\n\t\t\tif (this.watcher) {\n\t\t\t\tthis.watcher.collectTimeInfoEntries(\n\t\t\t\t\tfileTimeInfoEntries,\n\t\t\t\t\tcontextTimeInfoEntries\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn { fileTimeInfoEntries, contextTimeInfoEntries };\n\t\t};\n\t\tthis.watcher.once(\"aggregated\", (changes, removals) => {\n\t\t\t// pause emitting events (avoids clearing aggregated changes and removals on timeout)\n\t\t\tthis.watcher.pause();\n\n\t\t\tif (this.inputFileSystem && this.inputFileSystem.purge) {\n\t\t\t\tconst fs = this.inputFileSystem;\n\t\t\t\tfor (const item of changes) {\n\t\t\t\t\tfs.purge(item);\n\t\t\t\t}\n\t\t\t\tfor (const item of removals) {\n\t\t\t\t\tfs.purge(item);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst { fileTimeInfoEntries, contextTimeInfoEntries } = fetchTimeInfo();\n\t\t\tcallback(\n\t\t\t\tnull,\n\t\t\t\tfileTimeInfoEntries,\n\t\t\t\tcontextTimeInfoEntries,\n\t\t\t\tchanges,\n\t\t\t\tremovals\n\t\t\t);\n\t\t});\n\n\t\tthis.watcher.watch({ files, directories, missing, startTime });\n\n\t\tif (oldWatcher) {\n\t\t\toldWatcher.close();\n\t\t}\n\t\treturn {\n\t\t\tclose: () => {\n\t\t\t\tif (this.watcher) {\n\t\t\t\t\tthis.watcher.close();\n\t\t\t\t\tthis.watcher = null;\n\t\t\t\t}\n\t\t\t},\n\t\t\tpause: () => {\n\t\t\t\tif (this.watcher) {\n\t\t\t\t\tthis.watcher.pause();\n\t\t\t\t}\n\t\t\t},\n\t\t\tgetAggregatedRemovals: util.deprecate(\n\t\t\t\t() => {\n\t\t\t\t\tconst items = this.watcher && this.watcher.aggregatedRemovals;\n\t\t\t\t\tif (items && this.inputFileSystem && this.inputFileSystem.purge) {\n\t\t\t\t\t\tconst fs = this.inputFileSystem;\n\t\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\t\tfs.purge(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn items;\n\t\t\t\t},\n\t\t\t\t\"Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.\",\n\t\t\t\t\"DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS\"\n\t\t\t),\n\t\t\tgetAggregatedChanges: util.deprecate(\n\t\t\t\t() => {\n\t\t\t\t\tconst items = this.watcher && this.watcher.aggregatedChanges;\n\t\t\t\t\tif (items && this.inputFileSystem && this.inputFileSystem.purge) {\n\t\t\t\t\t\tconst fs = this.inputFileSystem;\n\t\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\t\tfs.purge(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn items;\n\t\t\t\t},\n\t\t\t\t\"Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.\",\n\t\t\t\t\"DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES\"\n\t\t\t),\n\t\t\tgetFileTimeInfoEntries: util.deprecate(\n\t\t\t\t() => {\n\t\t\t\t\treturn fetchTimeInfo().fileTimeInfoEntries;\n\t\t\t\t},\n\t\t\t\t\"Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.\",\n\t\t\t\t\"DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES\"\n\t\t\t),\n\t\t\tgetContextTimeInfoEntries: util.deprecate(\n\t\t\t\t() => {\n\t\t\t\t\treturn fetchTimeInfo().contextTimeInfoEntries;\n\t\t\t\t},\n\t\t\t\t\"Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.\",\n\t\t\t\t\"DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES\"\n\t\t\t),\n\t\t\tgetInfo: () => {\n\t\t\t\tconst removals = this.watcher && this.watcher.aggregatedRemovals;\n\t\t\t\tconst changes = this.watcher && this.watcher.aggregatedChanges;\n\t\t\t\tif (this.inputFileSystem && this.inputFileSystem.purge) {\n\t\t\t\t\tconst fs = this.inputFileSystem;\n\t\t\t\t\tif (removals) {\n\t\t\t\t\t\tfor (const item of removals) {\n\t\t\t\t\t\t\tfs.purge(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (changes) {\n\t\t\t\t\t\tfor (const item of changes) {\n\t\t\t\t\t\t\tfs.purge(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst { fileTimeInfoEntries, contextTimeInfoEntries } = fetchTimeInfo();\n\t\t\t\treturn {\n\t\t\t\t\tchanges,\n\t\t\t\t\tremovals,\n\t\t\t\t\tfileTimeInfoEntries,\n\t\t\t\t\tcontextTimeInfoEntries\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n}\n\nmodule.exports = NodeWatchFileSystem;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/NodeWatchFileSystem.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tchunkHasJs,\n\tgetChunkFilenameTemplate\n} = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { getInitialChunkIds } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst { getUndoPath } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\nclass ReadFileChunkLoadingRuntimeModule extends RuntimeModule {\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"readFile chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis.runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk chunk\n\t * @param {string} rootOutputDir root output directory\n\t * @returns {string} generated code\n\t */\n\t_generateBaseUri(chunk, rootOutputDir) {\n\t\tconst options = chunk.getEntryOptions();\n\t\tif (options && options.baseUri) {\n\t\t\treturn `${RuntimeGlobals.baseURI} = ${JSON.stringify(options.baseUri)};`;\n\t\t}\n\n\t\treturn `${RuntimeGlobals.baseURI} = require(\"url\").pathToFileURL(${\n\t\t\trootOutputDir\n\t\t\t\t? `__dirname + ${JSON.stringify(\"/\" + rootOutputDir)}`\n\t\t\t\t: \"__filename\"\n\t\t});`;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, chunk } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withBaseURI = this.runtimeRequirements.has(RuntimeGlobals.baseURI);\n\t\tconst withExternalInstallChunk = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.externalInstallChunk\n\t\t);\n\t\tconst withOnChunkLoad = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t);\n\t\tconst withLoading = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t);\n\t\tconst withHmr = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst withHmrManifest = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t);\n\t\tconst conditionMap = chunkGraph.getChunkConditionMap(chunk, chunkHasJs);\n\t\tconst hasJsMatcher = compileBooleanMatcher(conditionMap);\n\t\tconst initialChunkIds = getInitialChunkIds(chunk, chunkGraph, chunkHasJs);\n\n\t\tconst outputName = this.compilation.getPath(\n\t\t\tgetChunkFilenameTemplate(chunk, this.compilation.outputOptions),\n\t\t\t{\n\t\t\t\tchunk,\n\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t}\n\t\t);\n\t\tconst rootOutputDir = getUndoPath(\n\t\t\toutputName,\n\t\t\tthis.compilation.outputOptions.path,\n\t\t\tfalse\n\t\t);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_readFileVm`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\twithBaseURI\n\t\t\t\t? this._generateBaseUri(chunk, rootOutputDir)\n\t\t\t\t: \"// no baseURI\",\n\t\t\t\"\",\n\t\t\t\"// object to store loaded chunks\",\n\t\t\t'// \"0\" means \"already loaded\", Promise means loading',\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{`,\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(initialChunkIds, id => `${JSON.stringify(id)}: 0`).join(\n\t\t\t\t\t\",\\n\"\n\t\t\t\t)\n\t\t\t),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\twithOnChunkLoad\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t }.readFileVm = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"installedChunks[chunkId] === 0\",\n\t\t\t\t\t\t\"chunkId\"\n\t\t\t\t )};`\n\t\t\t\t: \"// no on chunks loaded\",\n\t\t\t\"\",\n\t\t\twithLoading || withExternalInstallChunk\n\t\t\t\t? `var installChunk = ${runtimeTemplate.basicFunction(\"chunk\", [\n\t\t\t\t\t\t\"var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\",\n\t\t\t\t\t\t\"for(var moduleId in moreModules) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleFactories}[moduleId] = moreModules[moduleId];`\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t`if(runtime) runtime(__webpack_require__);`,\n\t\t\t\t\t\t\"for(var i = 0; i < chunkIds.length; i++) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"if(installedChunks[chunkIds[i]]) {\",\n\t\t\t\t\t\t\tTemplate.indent([\"installedChunks[chunkIds[i]][0]();\"]),\n\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\"installedChunks[chunkIds[i]] = 0;\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\twithOnChunkLoad ? `${RuntimeGlobals.onChunksLoaded}();` : \"\"\n\t\t\t\t ])};`\n\t\t\t\t: \"// no chunk install function needed\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// ReadFile + VM.run chunk loading for javascript\",\n\t\t\t\t\t\t`${fn}.readFileVm = function(chunkId, promises) {`,\n\t\t\t\t\t\thasJsMatcher !== false\n\t\t\t\t\t\t\t? Template.indent([\n\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\"var installedChunkData = installedChunks[chunkId];\",\n\t\t\t\t\t\t\t\t\t'if(installedChunkData !== 0) { // 0 means \"already installed\".',\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t'// array of [resolve, reject, promise] means \"currently loading\"',\n\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\"promises.push(installedChunkData[2]);\"]),\n\t\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\thasJsMatcher === true\n\t\t\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have JS\"\n\t\t\t\t\t\t\t\t\t\t\t\t: `if(${hasJsMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\"// load the chunk and return promise to it\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"var promise = new Promise(function(resolve, reject) {\",\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData = installedChunks[chunkId] = [resolve, reject];\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var filename = require('path').join(__dirname, ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trootOutputDir\n\t\t\t\t\t\t\t\t\t\t\t\t\t)} + ${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.getChunkScriptFilename\n\t\t\t\t\t\t\t\t\t\t\t\t\t}(chunkId));`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"require('fs').readFile(filename, 'utf-8', function(err, content) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(err) return reject(err);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var chunk = {};\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\\\n})', filename)\" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"(chunk, require, require('path').dirname(filename), filename);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"installChunk(chunk);\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\"});\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"promises.push(installedChunkData[2] = promise);\"\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"} else installedChunks[chunkId] = 0;\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t ])\n\t\t\t\t\t\t\t: Template.indent([\"installedChunks[chunkId] = 0;\"]),\n\t\t\t\t\t\t\"};\"\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk loading\",\n\t\t\t\"\",\n\t\t\twithExternalInstallChunk\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"module.exports = __webpack_require__;\",\n\t\t\t\t\t\t`${RuntimeGlobals.externalInstallChunk} = installChunk;`\n\t\t\t\t ])\n\t\t\t\t: \"// no external install chunk\",\n\t\t\t\"\",\n\t\t\twithHmr\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"function loadUpdateChunk(chunkId, updatedModulesList) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"return new Promise(function(resolve, reject) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`var filename = require('path').join(__dirname, ${JSON.stringify(\n\t\t\t\t\t\t\t\t\trootOutputDir\n\t\t\t\t\t\t\t\t)} + ${RuntimeGlobals.getChunkUpdateScriptFilename}(chunkId));`,\n\t\t\t\t\t\t\t\t\"require('fs').readFile(filename, 'utf-8', function(err, content) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"if(err) return reject(err);\",\n\t\t\t\t\t\t\t\t\t\"var update = {};\",\n\t\t\t\t\t\t\t\t\t\"require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\\\n})', filename)\" +\n\t\t\t\t\t\t\t\t\t\t\"(update, require, require('path').dirname(filename), filename);\",\n\t\t\t\t\t\t\t\t\t\"var updatedModules = update.modules;\",\n\t\t\t\t\t\t\t\t\t\"var runtime = update.runtime;\",\n\t\t\t\t\t\t\t\t\t\"for(var moduleId in updatedModules) {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(updatedModules, moduleId)) {`,\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t`currentUpdate[moduleId] = updatedModules[moduleId];`,\n\t\t\t\t\t\t\t\t\t\t\t\"if(updatedModulesList) updatedModulesList.push(moduleId);\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t\"if(runtime) currentUpdateRuntime.push(runtime);\",\n\t\t\t\t\t\t\t\t\t\"resolve();\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tTemplate.getFunctionContent(\n\t\t\t\t\t\t\t__webpack_require__(/*! ../hmr/JavascriptHotModuleReplacement.runtime.js */ \"./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js\")\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$key\\$/g, \"readFileVm\")\n\t\t\t\t\t\t\t.replace(/\\$installedChunks\\$/g, \"installedChunks\")\n\t\t\t\t\t\t\t.replace(/\\$loadUpdateChunk\\$/g, \"loadUpdateChunk\")\n\t\t\t\t\t\t\t.replace(/\\$moduleCache\\$/g, RuntimeGlobals.moduleCache)\n\t\t\t\t\t\t\t.replace(/\\$moduleFactories\\$/g, RuntimeGlobals.moduleFactories)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$ensureChunkHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$hasOwnProperty\\$/g, RuntimeGlobals.hasOwnProperty)\n\t\t\t\t\t\t\t.replace(/\\$hmrModuleData\\$/g, RuntimeGlobals.hmrModuleData)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrDownloadUpdateHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrInvalidateModuleHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrInvalidateModuleHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR\",\n\t\t\t\"\",\n\t\t\twithHmrManifest\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${RuntimeGlobals.hmrDownloadManifest} = function() {`,\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"return new Promise(function(resolve, reject) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`var filename = require('path').join(__dirname, ${JSON.stringify(\n\t\t\t\t\t\t\t\t\trootOutputDir\n\t\t\t\t\t\t\t\t)} + ${RuntimeGlobals.getUpdateManifestFilename}());`,\n\t\t\t\t\t\t\t\t\"require('fs').readFile(filename, 'utf-8', function(err, content) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"if(err) {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t'if(err.code === \"ENOENT\") return resolve();',\n\t\t\t\t\t\t\t\t\t\t\"return reject(err);\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t\"try { resolve(JSON.parse(content)); }\",\n\t\t\t\t\t\t\t\t\t\"catch(e) { reject(e); }\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR manifest\"\n\t\t]);\n\t}\n}\n\nmodule.exports = ReadFileChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst AsyncWasmLoadingRuntimeModule = __webpack_require__(/*! ../wasm-async/AsyncWasmLoadingRuntimeModule */ \"./node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ReadFileCompileAsyncWasmPlugin {\n\tconstructor({ type = \"async-node\", import: useImport = false } = {}) {\n\t\tthis._type = type;\n\t\tthis._import = useImport;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ReadFileCompileAsyncWasmPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalWasmLoading = compilation.outputOptions.wasmLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst wasmLoading =\n\t\t\t\t\t\toptions && options.wasmLoading !== undefined\n\t\t\t\t\t\t\t? options.wasmLoading\n\t\t\t\t\t\t\t: globalWasmLoading;\n\t\t\t\t\treturn wasmLoading === this._type;\n\t\t\t\t};\n\t\t\t\tconst generateLoadBinaryCode = this._import\n\t\t\t\t\t? path =>\n\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\"Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`readFile(new URL(${path}, import.meta.url), (err, buffer) => {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"if (err) return reject(err);\",\n\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\"// Fake fetch response\",\n\t\t\t\t\t\t\t\t\t\t\"resolve({\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\"arrayBuffer() { return buffer; }\"]),\n\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}))\"\n\t\t\t\t\t\t\t])\n\t\t\t\t\t: path =>\n\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\"new Promise(function (resolve, reject) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"var { readFile } = require('fs');\",\n\t\t\t\t\t\t\t\t\t\t\"var { join } = require('path');\",\n\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t`readFile(join(__dirname, ${path}), function(err, buffer){`,\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"if (err) return reject(err);\",\n\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\"// Fake fetch response\",\n\t\t\t\t\t\t\t\t\t\t\t\"resolve({\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\"arrayBuffer() { return buffer; }\"]),\n\t\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"} catch (err) { reject(err); }\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"})\"\n\t\t\t\t\t\t\t]);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.instantiateWasm)\n\t\t\t\t\t.tap(\"ReadFileCompileAsyncWasmPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!chunkGraph.hasModuleInGraph(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tm => m.type === \"webassembly/async\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew AsyncWasmLoadingRuntimeModule({\n\t\t\t\t\t\t\t\tgenerateLoadBinaryCode,\n\t\t\t\t\t\t\t\tsupportsStreaming: false\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ReadFileCompileAsyncWasmPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst WasmChunkLoadingRuntimeModule = __webpack_require__(/*! ../wasm-sync/WasmChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n// TODO webpack 6 remove\n\nclass ReadFileCompileWasmPlugin {\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ReadFileCompileWasmPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalWasmLoading = compilation.outputOptions.wasmLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst wasmLoading =\n\t\t\t\t\t\toptions && options.wasmLoading !== undefined\n\t\t\t\t\t\t\t? options.wasmLoading\n\t\t\t\t\t\t\t: globalWasmLoading;\n\t\t\t\t\treturn wasmLoading === \"async-node\";\n\t\t\t\t};\n\t\t\t\tconst generateLoadBinaryCode = path =>\n\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\"new Promise(function (resolve, reject) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"var { readFile } = require('fs');\",\n\t\t\t\t\t\t\t\"var { join } = require('path');\",\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`readFile(join(__dirname, ${path}), function(err, buffer){`,\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"if (err) return reject(err);\",\n\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\"// Fake fetch response\",\n\t\t\t\t\t\t\t\t\t\"resolve({\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\"arrayBuffer() { return buffer; }\"]),\n\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"} catch (err) { reject(err); }\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"})\"\n\t\t\t\t\t]);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ReadFileCompileWasmPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!chunkGraph.hasModuleInGraph(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tm => m.type === \"webassembly/sync\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew WasmChunkLoadingRuntimeModule({\n\t\t\t\t\t\t\t\tgenerateLoadBinaryCode,\n\t\t\t\t\t\t\t\tsupportsStreaming: false,\n\t\t\t\t\t\t\t\tmangleImports: this.options.mangleImports,\n\t\t\t\t\t\t\t\truntimeRequirements: set\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ReadFileCompileWasmPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tchunkHasJs,\n\tgetChunkFilenameTemplate\n} = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { getInitialChunkIds } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst { getUndoPath } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\nclass RequireChunkLoadingRuntimeModule extends RuntimeModule {\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"require chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis.runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk chunk\n\t * @param {string} rootOutputDir root output directory\n\t * @returns {string} generated code\n\t */\n\t_generateBaseUri(chunk, rootOutputDir) {\n\t\tconst options = chunk.getEntryOptions();\n\t\tif (options && options.baseUri) {\n\t\t\treturn `${RuntimeGlobals.baseURI} = ${JSON.stringify(options.baseUri)};`;\n\t\t}\n\n\t\treturn `${RuntimeGlobals.baseURI} = require(\"url\").pathToFileURL(${\n\t\t\trootOutputDir !== \"./\"\n\t\t\t\t? `__dirname + ${JSON.stringify(\"/\" + rootOutputDir)}`\n\t\t\t\t: \"__filename\"\n\t\t});`;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, chunk } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withBaseURI = this.runtimeRequirements.has(RuntimeGlobals.baseURI);\n\t\tconst withExternalInstallChunk = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.externalInstallChunk\n\t\t);\n\t\tconst withOnChunkLoad = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t);\n\t\tconst withLoading = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t);\n\t\tconst withHmr = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst withHmrManifest = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t);\n\t\tconst conditionMap = chunkGraph.getChunkConditionMap(chunk, chunkHasJs);\n\t\tconst hasJsMatcher = compileBooleanMatcher(conditionMap);\n\t\tconst initialChunkIds = getInitialChunkIds(chunk, chunkGraph, chunkHasJs);\n\n\t\tconst outputName = this.compilation.getPath(\n\t\t\tgetChunkFilenameTemplate(chunk, this.compilation.outputOptions),\n\t\t\t{\n\t\t\t\tchunk,\n\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t}\n\t\t);\n\t\tconst rootOutputDir = getUndoPath(\n\t\t\toutputName,\n\t\t\tthis.compilation.outputOptions.path,\n\t\t\ttrue\n\t\t);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_require`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\twithBaseURI\n\t\t\t\t? this._generateBaseUri(chunk, rootOutputDir)\n\t\t\t\t: \"// no baseURI\",\n\t\t\t\"\",\n\t\t\t\"// object to store loaded chunks\",\n\t\t\t'// \"1\" means \"loaded\", otherwise not loaded yet',\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{`,\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(initialChunkIds, id => `${JSON.stringify(id)}: 1`).join(\n\t\t\t\t\t\",\\n\"\n\t\t\t\t)\n\t\t\t),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\twithOnChunkLoad\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t }.require = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"installedChunks[chunkId]\",\n\t\t\t\t\t\t\"chunkId\"\n\t\t\t\t )};`\n\t\t\t\t: \"// no on chunks loaded\",\n\t\t\t\"\",\n\t\t\twithLoading || withExternalInstallChunk\n\t\t\t\t? `var installChunk = ${runtimeTemplate.basicFunction(\"chunk\", [\n\t\t\t\t\t\t\"var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\",\n\t\t\t\t\t\t\"for(var moduleId in moreModules) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleFactories}[moduleId] = moreModules[moduleId];`\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t`if(runtime) runtime(__webpack_require__);`,\n\t\t\t\t\t\t\"for(var i = 0; i < chunkIds.length; i++)\",\n\t\t\t\t\t\tTemplate.indent(\"installedChunks[chunkIds[i]] = 1;\"),\n\t\t\t\t\t\twithOnChunkLoad ? `${RuntimeGlobals.onChunksLoaded}();` : \"\"\n\t\t\t\t ])};`\n\t\t\t\t: \"// no chunk install function needed\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// require() chunk loading for javascript\",\n\t\t\t\t\t\t`${fn}.require = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkId, promises\",\n\t\t\t\t\t\t\thasJsMatcher !== false\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t'// \"1\" is the signal for \"already loaded\"',\n\t\t\t\t\t\t\t\t\t\t\"if(!installedChunks[chunkId]) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\thasJsMatcher === true\n\t\t\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have JS\"\n\t\t\t\t\t\t\t\t\t\t\t\t: `if(${hasJsMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t`installChunk(require(${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\t\trootOutputDir\n\t\t\t\t\t\t\t\t\t\t\t\t)} + ${\n\t\t\t\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.getChunkScriptFilename\n\t\t\t\t\t\t\t\t\t\t\t\t}(chunkId)));`\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"} else installedChunks[chunkId] = 1;\",\n\t\t\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t: \"installedChunks[chunkId] = 1;\"\n\t\t\t\t\t\t)};`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk loading\",\n\t\t\t\"\",\n\t\t\twithExternalInstallChunk\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"module.exports = __webpack_require__;\",\n\t\t\t\t\t\t`${RuntimeGlobals.externalInstallChunk} = installChunk;`\n\t\t\t\t ])\n\t\t\t\t: \"// no external install chunk\",\n\t\t\t\"\",\n\t\t\twithHmr\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"function loadUpdateChunk(chunkId, updatedModulesList) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`var update = require(${JSON.stringify(rootOutputDir)} + ${\n\t\t\t\t\t\t\t\tRuntimeGlobals.getChunkUpdateScriptFilename\n\t\t\t\t\t\t\t}(chunkId));`,\n\t\t\t\t\t\t\t\"var updatedModules = update.modules;\",\n\t\t\t\t\t\t\t\"var runtime = update.runtime;\",\n\t\t\t\t\t\t\t\"for(var moduleId in updatedModules) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(updatedModules, moduleId)) {`,\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`currentUpdate[moduleId] = updatedModules[moduleId];`,\n\t\t\t\t\t\t\t\t\t\"if(updatedModulesList) updatedModulesList.push(moduleId);\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\"if(runtime) currentUpdateRuntime.push(runtime);\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tTemplate.getFunctionContent(\n\t\t\t\t\t\t\t__webpack_require__(/*! ../hmr/JavascriptHotModuleReplacement.runtime.js */ \"./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js\")\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$key\\$/g, \"require\")\n\t\t\t\t\t\t\t.replace(/\\$installedChunks\\$/g, \"installedChunks\")\n\t\t\t\t\t\t\t.replace(/\\$loadUpdateChunk\\$/g, \"loadUpdateChunk\")\n\t\t\t\t\t\t\t.replace(/\\$moduleCache\\$/g, RuntimeGlobals.moduleCache)\n\t\t\t\t\t\t\t.replace(/\\$moduleFactories\\$/g, RuntimeGlobals.moduleFactories)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$ensureChunkHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$hasOwnProperty\\$/g, RuntimeGlobals.hasOwnProperty)\n\t\t\t\t\t\t\t.replace(/\\$hmrModuleData\\$/g, RuntimeGlobals.hmrModuleData)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrDownloadUpdateHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrInvalidateModuleHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrInvalidateModuleHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR\",\n\t\t\t\"\",\n\t\t\twithHmrManifest\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${RuntimeGlobals.hmrDownloadManifest} = function() {`,\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"return Promise.resolve().then(function() {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`return require(${JSON.stringify(rootOutputDir)} + ${\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.getUpdateManifestFilename\n\t\t\t\t\t\t\t\t}());`\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR manifest\"\n\t\t]);\n\t}\n}\n\nmodule.exports = RequireChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/node/nodeConsole.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/node/nodeConsole.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?d8cb\");\nconst truncateArgs = __webpack_require__(/*! ../logging/truncateArgs */ \"./node_modules/webpack/lib/logging/truncateArgs.js\");\n\nmodule.exports = ({ colors, appendOnly, stream }) => {\n\tlet currentStatusMessage = undefined;\n\tlet hasStatusMessage = false;\n\tlet currentIndent = \"\";\n\tlet currentCollapsed = 0;\n\n\tconst indent = (str, prefix, colorPrefix, colorSuffix) => {\n\t\tif (str === \"\") return str;\n\t\tprefix = currentIndent + prefix;\n\t\tif (colors) {\n\t\t\treturn (\n\t\t\t\tprefix +\n\t\t\t\tcolorPrefix +\n\t\t\t\tstr.replace(/\\n/g, colorSuffix + \"\\n\" + prefix + colorPrefix) +\n\t\t\t\tcolorSuffix\n\t\t\t);\n\t\t} else {\n\t\t\treturn prefix + str.replace(/\\n/g, \"\\n\" + prefix);\n\t\t}\n\t};\n\n\tconst clearStatusMessage = () => {\n\t\tif (hasStatusMessage) {\n\t\t\tstream.write(\"\\x1b[2K\\r\");\n\t\t\thasStatusMessage = false;\n\t\t}\n\t};\n\n\tconst writeStatusMessage = () => {\n\t\tif (!currentStatusMessage) return;\n\t\tconst l = stream.columns;\n\t\tconst args = l\n\t\t\t? truncateArgs(currentStatusMessage, l - 1)\n\t\t\t: currentStatusMessage;\n\t\tconst str = args.join(\" \");\n\t\tconst coloredStr = `\\u001b[1m${str}\\u001b[39m\\u001b[22m`;\n\t\tstream.write(`\\x1b[2K\\r${coloredStr}`);\n\t\thasStatusMessage = true;\n\t};\n\n\tconst writeColored = (prefix, colorPrefix, colorSuffix) => {\n\t\treturn (...args) => {\n\t\t\tif (currentCollapsed > 0) return;\n\t\t\tclearStatusMessage();\n\t\t\tconst str = indent(\n\t\t\t\tutil.format(...args),\n\t\t\t\tprefix,\n\t\t\t\tcolorPrefix,\n\t\t\t\tcolorSuffix\n\t\t\t);\n\t\t\tstream.write(str + \"\\n\");\n\t\t\twriteStatusMessage();\n\t\t};\n\t};\n\n\tconst writeGroupMessage = writeColored(\n\t\t\"<-> \",\n\t\t\"\\u001b[1m\\u001b[36m\",\n\t\t\"\\u001b[39m\\u001b[22m\"\n\t);\n\n\tconst writeGroupCollapsedMessage = writeColored(\n\t\t\"<+> \",\n\t\t\"\\u001b[1m\\u001b[36m\",\n\t\t\"\\u001b[39m\\u001b[22m\"\n\t);\n\n\treturn {\n\t\tlog: writeColored(\" \", \"\\u001b[1m\", \"\\u001b[22m\"),\n\t\tdebug: writeColored(\" \", \"\", \"\"),\n\t\ttrace: writeColored(\" \", \"\", \"\"),\n\t\tinfo: writeColored(\"<i> \", \"\\u001b[1m\\u001b[32m\", \"\\u001b[39m\\u001b[22m\"),\n\t\twarn: writeColored(\"<w> \", \"\\u001b[1m\\u001b[33m\", \"\\u001b[39m\\u001b[22m\"),\n\t\terror: writeColored(\"<e> \", \"\\u001b[1m\\u001b[31m\", \"\\u001b[39m\\u001b[22m\"),\n\t\tlogTime: writeColored(\n\t\t\t\"<t> \",\n\t\t\t\"\\u001b[1m\\u001b[35m\",\n\t\t\t\"\\u001b[39m\\u001b[22m\"\n\t\t),\n\t\tgroup: (...args) => {\n\t\t\twriteGroupMessage(...args);\n\t\t\tif (currentCollapsed > 0) {\n\t\t\t\tcurrentCollapsed++;\n\t\t\t} else {\n\t\t\t\tcurrentIndent += \" \";\n\t\t\t}\n\t\t},\n\t\tgroupCollapsed: (...args) => {\n\t\t\twriteGroupCollapsedMessage(...args);\n\t\t\tcurrentCollapsed++;\n\t\t},\n\t\tgroupEnd: () => {\n\t\t\tif (currentCollapsed > 0) currentCollapsed--;\n\t\t\telse if (currentIndent.length >= 2)\n\t\t\t\tcurrentIndent = currentIndent.slice(0, currentIndent.length - 2);\n\t\t},\n\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\tprofile: console.profile && (name => console.profile(name)),\n\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\tprofileEnd: console.profileEnd && (name => console.profileEnd(name)),\n\t\tclear:\n\t\t\t!appendOnly &&\n\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\tconsole.clear &&\n\t\t\t(() => {\n\t\t\t\tclearStatusMessage();\n\t\t\t\t// eslint-disable-next-line node/no-unsupported-features/node-builtins\n\t\t\t\tconsole.clear();\n\t\t\t\twriteStatusMessage();\n\t\t\t}),\n\t\tstatus: appendOnly\n\t\t\t? writeColored(\"<s> \", \"\", \"\")\n\t\t\t: (name, ...args) => {\n\t\t\t\t\targs = args.filter(Boolean);\n\t\t\t\t\tif (name === undefined && args.length === 0) {\n\t\t\t\t\t\tclearStatusMessage();\n\t\t\t\t\t\tcurrentStatusMessage = undefined;\n\t\t\t\t\t} else if (\n\t\t\t\t\t\ttypeof name === \"string\" &&\n\t\t\t\t\t\tname.startsWith(\"[webpack.Progress] \")\n\t\t\t\t\t) {\n\t\t\t\t\t\tcurrentStatusMessage = [name.slice(19), ...args];\n\t\t\t\t\t\twriteStatusMessage();\n\t\t\t\t\t} else if (name === \"[webpack.Progress]\") {\n\t\t\t\t\t\tcurrentStatusMessage = [...args];\n\t\t\t\t\t\twriteStatusMessage();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentStatusMessage = [name, ...args];\n\t\t\t\t\t\twriteStatusMessage();\n\t\t\t\t\t}\n\t\t\t }\n\t};\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/node/nodeConsole.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass AggressiveMergingPlugin {\n\tconstructor(options) {\n\t\tif (\n\t\t\t(options !== undefined && typeof options !== \"object\") ||\n\t\t\tArray.isArray(options)\n\t\t) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Argument should be an options object. To use defaults, pass in nothing.\\nFor more info on options, see https://webpack.js.org/plugins/\"\n\t\t\t);\n\t\t}\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tconst minSizeReduce = options.minSizeReduce || 1.5;\n\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"AggressiveMergingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"AggressiveMergingPlugin\",\n\t\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t\t},\n\t\t\t\t\tchunks => {\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\t/** @type {{a: Chunk, b: Chunk, improvement: number}[]} */\n\t\t\t\t\t\tlet combinations = [];\n\t\t\t\t\t\tfor (const a of chunks) {\n\t\t\t\t\t\t\tif (a.canBeInitial()) continue;\n\t\t\t\t\t\t\tfor (const b of chunks) {\n\t\t\t\t\t\t\t\tif (b.canBeInitial()) continue;\n\t\t\t\t\t\t\t\tif (b === a) break;\n\t\t\t\t\t\t\t\tif (!chunkGraph.canChunksBeIntegrated(a, b)) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst aSize = chunkGraph.getChunkSize(b, {\n\t\t\t\t\t\t\t\t\tchunkOverhead: 0\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tconst bSize = chunkGraph.getChunkSize(a, {\n\t\t\t\t\t\t\t\t\tchunkOverhead: 0\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tconst abSize = chunkGraph.getIntegratedChunksSize(b, a, {\n\t\t\t\t\t\t\t\t\tchunkOverhead: 0\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tconst improvement = (aSize + bSize) / abSize;\n\t\t\t\t\t\t\t\tcombinations.push({\n\t\t\t\t\t\t\t\t\ta,\n\t\t\t\t\t\t\t\t\tb,\n\t\t\t\t\t\t\t\t\timprovement\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcombinations.sort((a, b) => {\n\t\t\t\t\t\t\treturn b.improvement - a.improvement;\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tconst pair = combinations[0];\n\n\t\t\t\t\t\tif (!pair) return;\n\t\t\t\t\t\tif (pair.improvement < minSizeReduce) return;\n\n\t\t\t\t\t\tchunkGraph.integrateChunks(pair.b, pair.a);\n\t\t\t\t\t\tcompilation.chunks.delete(pair.a);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = AggressiveMergingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst { intersect } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst {\n\tcompareModulesByIdentifier,\n\tcompareChunks\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst identifierUtils = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../../declarations/plugins/optimize/AggressiveSplittingPlugin\").AggressiveSplittingPluginOptions} AggressiveSplittingPluginOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/optimize/AggressiveSplittingPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js\"),\n\t() =>\n\t\t__webpack_require__(/*! ../../schemas/plugins/optimize/AggressiveSplittingPlugin.json */ \"./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json\"),\n\t{\n\t\tname: \"Aggressive Splitting Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst moveModuleBetween = (chunkGraph, oldChunk, newChunk) => {\n\treturn module => {\n\t\tchunkGraph.disconnectChunkAndModule(oldChunk, module);\n\t\tchunkGraph.connectChunkAndModule(newChunk, module);\n\t};\n};\n\n/**\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {Chunk} chunk the chunk\n * @returns {function(Module): boolean} filter for entry module\n */\nconst isNotAEntryModule = (chunkGraph, chunk) => {\n\treturn module => {\n\t\treturn !chunkGraph.isEntryModuleInChunk(module, chunk);\n\t};\n};\n\n/** @type {WeakSet<Chunk>} */\nconst recordedChunks = new WeakSet();\n\nclass AggressiveSplittingPlugin {\n\t/**\n\t * @param {AggressiveSplittingPluginOptions=} options options object\n\t */\n\tconstructor(options = {}) {\n\t\tvalidate(options);\n\n\t\tthis.options = options;\n\t\tif (typeof this.options.minSize !== \"number\") {\n\t\t\tthis.options.minSize = 30 * 1024;\n\t\t}\n\t\tif (typeof this.options.maxSize !== \"number\") {\n\t\t\tthis.options.maxSize = 50 * 1024;\n\t\t}\n\t\tif (typeof this.options.chunkOverhead !== \"number\") {\n\t\t\tthis.options.chunkOverhead = 0;\n\t\t}\n\t\tif (typeof this.options.entryChunkMultiplicator !== \"number\") {\n\t\t\tthis.options.entryChunkMultiplicator = 1;\n\t\t}\n\t}\n\n\t/**\n\t * @param {Chunk} chunk the chunk to test\n\t * @returns {boolean} true if the chunk was recorded\n\t */\n\tstatic wasChunkRecorded(chunk) {\n\t\treturn recordedChunks.has(chunk);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"AggressiveSplittingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tlet needAdditionalSeal = false;\n\t\t\t\tlet newSplits;\n\t\t\t\tlet fromAggressiveSplittingSet;\n\t\t\t\tlet chunkSplitDataMap;\n\t\t\t\tcompilation.hooks.optimize.tap(\"AggressiveSplittingPlugin\", () => {\n\t\t\t\t\tnewSplits = [];\n\t\t\t\t\tfromAggressiveSplittingSet = new Set();\n\t\t\t\t\tchunkSplitDataMap = new Map();\n\t\t\t\t});\n\t\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"AggressiveSplittingPlugin\",\n\t\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t\t},\n\t\t\t\t\tchunks => {\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\t// Precompute stuff\n\t\t\t\t\t\tconst nameToModuleMap = new Map();\n\t\t\t\t\t\tconst moduleToNameMap = new Map();\n\t\t\t\t\t\tconst makePathsRelative =\n\t\t\t\t\t\t\tidentifierUtils.makePathsRelative.bindContextCache(\n\t\t\t\t\t\t\t\tcompiler.context,\n\t\t\t\t\t\t\t\tcompiler.root\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tfor (const m of compilation.modules) {\n\t\t\t\t\t\t\tconst name = makePathsRelative(m.identifier());\n\t\t\t\t\t\t\tnameToModuleMap.set(name, m);\n\t\t\t\t\t\t\tmoduleToNameMap.set(m, name);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Check used chunk ids\n\t\t\t\t\t\tconst usedIds = new Set();\n\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\tusedIds.add(chunk.id);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst recordedSplits =\n\t\t\t\t\t\t\t(compilation.records && compilation.records.aggressiveSplits) ||\n\t\t\t\t\t\t\t[];\n\t\t\t\t\t\tconst usedSplits = newSplits\n\t\t\t\t\t\t\t? recordedSplits.concat(newSplits)\n\t\t\t\t\t\t\t: recordedSplits;\n\n\t\t\t\t\t\tconst minSize = this.options.minSize;\n\t\t\t\t\t\tconst maxSize = this.options.maxSize;\n\n\t\t\t\t\t\tconst applySplit = splitData => {\n\t\t\t\t\t\t\t// Cannot split if id is already taken\n\t\t\t\t\t\t\tif (splitData.id !== undefined && usedIds.has(splitData.id)) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Get module objects from names\n\t\t\t\t\t\t\tconst selectedModules = splitData.modules.map(name =>\n\t\t\t\t\t\t\t\tnameToModuleMap.get(name)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// Does the modules exist at all?\n\t\t\t\t\t\t\tif (!selectedModules.every(Boolean)) return false;\n\n\t\t\t\t\t\t\t// Check if size matches (faster than waiting for hash)\n\t\t\t\t\t\t\tlet size = 0;\n\t\t\t\t\t\t\tfor (const m of selectedModules) size += m.size();\n\t\t\t\t\t\t\tif (size !== splitData.size) return false;\n\n\t\t\t\t\t\t\t// get chunks with all modules\n\t\t\t\t\t\t\tconst selectedChunks = intersect(\n\t\t\t\t\t\t\t\tselectedModules.map(\n\t\t\t\t\t\t\t\t\tm => new Set(chunkGraph.getModuleChunksIterable(m))\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// No relevant chunks found\n\t\t\t\t\t\t\tif (selectedChunks.size === 0) return false;\n\n\t\t\t\t\t\t\t// The found chunk is already the split or similar\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tselectedChunks.size === 1 &&\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(\n\t\t\t\t\t\t\t\t\tArray.from(selectedChunks)[0]\n\t\t\t\t\t\t\t\t) === selectedModules.length\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst chunk = Array.from(selectedChunks)[0];\n\t\t\t\t\t\t\t\tif (fromAggressiveSplittingSet.has(chunk)) return false;\n\t\t\t\t\t\t\t\tfromAggressiveSplittingSet.add(chunk);\n\t\t\t\t\t\t\t\tchunkSplitDataMap.set(chunk, splitData);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// split the chunk into two parts\n\t\t\t\t\t\t\tconst newChunk = compilation.addChunk();\n\t\t\t\t\t\t\tnewChunk.chunkReason = \"aggressive splitted\";\n\t\t\t\t\t\t\tfor (const chunk of selectedChunks) {\n\t\t\t\t\t\t\t\tselectedModules.forEach(\n\t\t\t\t\t\t\t\t\tmoveModuleBetween(chunkGraph, chunk, newChunk)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tchunk.split(newChunk);\n\t\t\t\t\t\t\t\tchunk.name = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfromAggressiveSplittingSet.add(newChunk);\n\t\t\t\t\t\t\tchunkSplitDataMap.set(newChunk, splitData);\n\n\t\t\t\t\t\t\tif (splitData.id !== null && splitData.id !== undefined) {\n\t\t\t\t\t\t\t\tnewChunk.id = splitData.id;\n\t\t\t\t\t\t\t\tnewChunk.ids = [splitData.id];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// try to restore to recorded splitting\n\t\t\t\t\t\tlet changed = false;\n\t\t\t\t\t\tfor (let j = 0; j < usedSplits.length; j++) {\n\t\t\t\t\t\t\tconst splitData = usedSplits[j];\n\t\t\t\t\t\t\tif (applySplit(splitData)) changed = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// for any chunk which isn't splitted yet, split it and create a new entry\n\t\t\t\t\t\t// start with the biggest chunk\n\t\t\t\t\t\tconst cmpFn = compareChunks(chunkGraph);\n\t\t\t\t\t\tconst sortedChunks = Array.from(chunks).sort((a, b) => {\n\t\t\t\t\t\t\tconst diff1 =\n\t\t\t\t\t\t\t\tchunkGraph.getChunkModulesSize(b) -\n\t\t\t\t\t\t\t\tchunkGraph.getChunkModulesSize(a);\n\t\t\t\t\t\t\tif (diff1) return diff1;\n\t\t\t\t\t\t\tconst diff2 =\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(a) -\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(b);\n\t\t\t\t\t\t\tif (diff2) return diff2;\n\t\t\t\t\t\t\treturn cmpFn(a, b);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tfor (const chunk of sortedChunks) {\n\t\t\t\t\t\t\tif (fromAggressiveSplittingSet.has(chunk)) continue;\n\t\t\t\t\t\t\tconst size = chunkGraph.getChunkModulesSize(chunk);\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tsize > maxSize &&\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunk) > 1\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst modules = chunkGraph\n\t\t\t\t\t\t\t\t\t.getOrderedChunkModules(chunk, compareModulesByIdentifier)\n\t\t\t\t\t\t\t\t\t.filter(isNotAEntryModule(chunkGraph, chunk));\n\t\t\t\t\t\t\t\tconst selectedModules = [];\n\t\t\t\t\t\t\t\tlet selectedModulesSize = 0;\n\t\t\t\t\t\t\t\tfor (let k = 0; k < modules.length; k++) {\n\t\t\t\t\t\t\t\t\tconst module = modules[k];\n\t\t\t\t\t\t\t\t\tconst newSize = selectedModulesSize + module.size();\n\t\t\t\t\t\t\t\t\tif (newSize > maxSize && selectedModulesSize >= minSize) {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tselectedModulesSize = newSize;\n\t\t\t\t\t\t\t\t\tselectedModules.push(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (selectedModules.length === 0) continue;\n\t\t\t\t\t\t\t\tconst splitData = {\n\t\t\t\t\t\t\t\t\tmodules: selectedModules\n\t\t\t\t\t\t\t\t\t\t.map(m => moduleToNameMap.get(m))\n\t\t\t\t\t\t\t\t\t\t.sort(),\n\t\t\t\t\t\t\t\t\tsize: selectedModulesSize\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\tif (applySplit(splitData)) {\n\t\t\t\t\t\t\t\t\tnewSplits = (newSplits || []).concat(splitData);\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (changed) return true;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.recordHash.tap(\n\t\t\t\t\t\"AggressiveSplittingPlugin\",\n\t\t\t\t\trecords => {\n\t\t\t\t\t\t// 4. save made splittings to records\n\t\t\t\t\t\tconst allSplits = new Set();\n\t\t\t\t\t\tconst invalidSplits = new Set();\n\n\t\t\t\t\t\t// Check if some splittings are invalid\n\t\t\t\t\t\t// We remove invalid splittings and try again\n\t\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\t\tconst splitData = chunkSplitDataMap.get(chunk);\n\t\t\t\t\t\t\tif (splitData !== undefined) {\n\t\t\t\t\t\t\t\tif (splitData.hash && chunk.hash !== splitData.hash) {\n\t\t\t\t\t\t\t\t\t// Split was successful, but hash doesn't equal\n\t\t\t\t\t\t\t\t\t// We can throw away the split since it's useless now\n\t\t\t\t\t\t\t\t\tinvalidSplits.add(splitData);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (invalidSplits.size > 0) {\n\t\t\t\t\t\t\trecords.aggressiveSplits = records.aggressiveSplits.filter(\n\t\t\t\t\t\t\t\tsplitData => !invalidSplits.has(splitData)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tneedAdditionalSeal = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// set hash and id values on all (new) splittings\n\t\t\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\t\t\tconst splitData = chunkSplitDataMap.get(chunk);\n\t\t\t\t\t\t\t\tif (splitData !== undefined) {\n\t\t\t\t\t\t\t\t\tsplitData.hash = chunk.hash;\n\t\t\t\t\t\t\t\t\tsplitData.id = chunk.id;\n\t\t\t\t\t\t\t\t\tallSplits.add(splitData);\n\t\t\t\t\t\t\t\t\t// set flag for stats\n\t\t\t\t\t\t\t\t\trecordedChunks.add(chunk);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Also add all unused historical splits (after the used ones)\n\t\t\t\t\t\t\t// They can still be used in some future compilation\n\t\t\t\t\t\t\tconst recordedSplits =\n\t\t\t\t\t\t\t\tcompilation.records && compilation.records.aggressiveSplits;\n\t\t\t\t\t\t\tif (recordedSplits) {\n\t\t\t\t\t\t\t\tfor (const splitData of recordedSplits) {\n\t\t\t\t\t\t\t\t\tif (!invalidSplits.has(splitData)) allSplits.add(splitData);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// record all splits\n\t\t\t\t\t\t\trecords.aggressiveSplits = Array.from(allSplits);\n\n\t\t\t\t\t\t\tneedAdditionalSeal = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.needAdditionalSeal.tap(\n\t\t\t\t\t\"AggressiveSplittingPlugin\",\n\t\t\t\t\t() => {\n\t\t\t\t\t\tif (needAdditionalSeal) {\n\t\t\t\t\t\t\tneedAdditionalSeal = false;\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = AggressiveSplittingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/ConcatenatedModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/ConcatenatedModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst eslintScope = __webpack_require__(/*! eslint-scope */ \"./node_modules/eslint-scope/lib/index.js\");\nconst Referencer = __webpack_require__(/*! eslint-scope/lib/referencer */ \"./node_modules/eslint-scope/lib/referencer.js\");\nconst {\n\tCachedSource,\n\tConcatSource,\n\tReplaceSource\n} = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst ConcatenationScope = __webpack_require__(/*! ../ConcatenationScope */ \"./node_modules/webpack/lib/ConcatenationScope.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ../dependencies/HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst JavascriptParser = __webpack_require__(/*! ../javascript/JavascriptParser */ \"./node_modules/webpack/lib/javascript/JavascriptParser.js\");\nconst { equals } = __webpack_require__(/*! ../util/ArrayHelpers */ \"./node_modules/webpack/lib/util/ArrayHelpers.js\");\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst { concatComparators } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { makePathsRelative } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst propertyAccess = __webpack_require__(/*! ../util/propertyAccess */ \"./node_modules/webpack/lib/util/propertyAccess.js\");\nconst {\n\tfilterRuntime,\n\tintersectRuntime,\n\tmergeRuntimeCondition,\n\tmergeRuntimeConditionNonFalse,\n\truntimeConditionToString,\n\tsubtractRuntimeCondition\n} = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"eslint-scope\").Scope} Scope */\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../DependencyTemplate\").DependencyTemplateContext} DependencyTemplateContext */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../ExportsInfo\").ExportInfo} ExportInfo */\n/** @template T @typedef {import(\"../InitFragment\")<T>} InitFragment */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").ChunkRenderContext} ChunkRenderContext */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {typeof import(\"../util/Hash\")} HashConstructor */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n// fix eslint-scope to support class properties correctly\n// cspell:word Referencer\nconst ReferencerClass = Referencer;\nif (!ReferencerClass.prototype.PropertyDefinition) {\n\tReferencerClass.prototype.PropertyDefinition =\n\t\tReferencerClass.prototype.Property;\n}\n\n/**\n * @typedef {Object} ReexportInfo\n * @property {Module} module\n * @property {string[]} export\n */\n\n/** @typedef {RawBinding | SymbolBinding} Binding */\n\n/**\n * @typedef {Object} RawBinding\n * @property {ModuleInfo} info\n * @property {string} rawName\n * @property {string=} comment\n * @property {string[]} ids\n * @property {string[]} exportName\n */\n\n/**\n * @typedef {Object} SymbolBinding\n * @property {ConcatenatedModuleInfo} info\n * @property {string} name\n * @property {string=} comment\n * @property {string[]} ids\n * @property {string[]} exportName\n */\n\n/** @typedef {ConcatenatedModuleInfo | ExternalModuleInfo } ModuleInfo */\n/** @typedef {ConcatenatedModuleInfo | ExternalModuleInfo | ReferenceToModuleInfo } ModuleInfoOrReference */\n\n/**\n * @typedef {Object} ConcatenatedModuleInfo\n * @property {\"concatenated\"} type\n * @property {Module} module\n * @property {number} index\n * @property {Object} ast\n * @property {Source} internalSource\n * @property {ReplaceSource} source\n * @property {InitFragment<ChunkRenderContext>[]=} chunkInitFragments\n * @property {Iterable<string>} runtimeRequirements\n * @property {Scope} globalScope\n * @property {Scope} moduleScope\n * @property {Map<string, string>} internalNames\n * @property {Map<string, string>} exportMap\n * @property {Map<string, string>} rawExportMap\n * @property {string=} namespaceExportSymbol\n * @property {string} namespaceObjectName\n * @property {boolean} interopNamespaceObjectUsed\n * @property {string} interopNamespaceObjectName\n * @property {boolean} interopNamespaceObject2Used\n * @property {string} interopNamespaceObject2Name\n * @property {boolean} interopDefaultAccessUsed\n * @property {string} interopDefaultAccessName\n */\n\n/**\n * @typedef {Object} ExternalModuleInfo\n * @property {\"external\"} type\n * @property {Module} module\n * @property {RuntimeSpec | boolean} runtimeCondition\n * @property {number} index\n * @property {string} name\n * @property {boolean} interopNamespaceObjectUsed\n * @property {string} interopNamespaceObjectName\n * @property {boolean} interopNamespaceObject2Used\n * @property {string} interopNamespaceObject2Name\n * @property {boolean} interopDefaultAccessUsed\n * @property {string} interopDefaultAccessName\n */\n\n/**\n * @typedef {Object} ReferenceToModuleInfo\n * @property {\"reference\"} type\n * @property {RuntimeSpec | boolean} runtimeCondition\n * @property {ConcatenatedModuleInfo | ExternalModuleInfo} target\n */\n\nconst RESERVED_NAMES = new Set(\n\t[\n\t\t// internal names (should always be renamed)\n\t\tConcatenationScope.DEFAULT_EXPORT,\n\t\tConcatenationScope.NAMESPACE_OBJECT_EXPORT,\n\n\t\t// keywords\n\t\t\"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue\",\n\t\t\"debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float\",\n\t\t\"for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null\",\n\t\t\"package,private,protected,public,return,short,static,super,switch,synchronized,this,throw\",\n\t\t\"throws,transient,true,try,typeof,var,void,volatile,while,with,yield\",\n\n\t\t// commonjs/amd\n\t\t\"module,__dirname,__filename,exports,require,define\",\n\n\t\t// js globals\n\t\t\"Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math\",\n\t\t\"NaN,name,Number,Object,prototype,String,toString,undefined,valueOf\",\n\n\t\t// browser globals\n\t\t\"alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout\",\n\t\t\"clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent\",\n\t\t\"defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape\",\n\t\t\"event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location\",\n\t\t\"mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering\",\n\t\t\"open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat\",\n\t\t\"parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll\",\n\t\t\"secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape\",\n\t\t\"untaint,window\",\n\n\t\t// window events\n\t\t\"onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit\"\n\t]\n\t\t.join(\",\")\n\t\t.split(\",\")\n);\n\nconst createComparator = (property, comparator) => (a, b) =>\n\tcomparator(a[property], b[property]);\nconst compareNumbers = (a, b) => {\n\tif (isNaN(a)) {\n\t\tif (!isNaN(b)) {\n\t\t\treturn 1;\n\t\t}\n\t} else {\n\t\tif (isNaN(b)) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a !== b) {\n\t\t\treturn a < b ? -1 : 1;\n\t\t}\n\t}\n\treturn 0;\n};\nconst bySourceOrder = createComparator(\"sourceOrder\", compareNumbers);\nconst byRangeStart = createComparator(\"rangeStart\", compareNumbers);\n\nconst joinIterableWithComma = iterable => {\n\t// This is more performant than Array.from().join(\", \")\n\t// as it doesn't create an array\n\tlet str = \"\";\n\tlet first = true;\n\tfor (const item of iterable) {\n\t\tif (first) {\n\t\t\tfirst = false;\n\t\t} else {\n\t\t\tstr += \", \";\n\t\t}\n\t\tstr += item;\n\t}\n\treturn str;\n};\n\n/**\n * @typedef {Object} ConcatenationEntry\n * @property {\"concatenated\" | \"external\"} type\n * @property {Module} module\n * @property {RuntimeSpec | boolean} runtimeCondition\n */\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {ModuleInfo} info module info\n * @param {string[]} exportName exportName\n * @param {Map<Module, ModuleInfo>} moduleToInfoMap moduleToInfoMap\n * @param {RuntimeSpec} runtime for which runtime\n * @param {RequestShortener} requestShortener the request shortener\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @param {Set<ConcatenatedModuleInfo>} neededNamespaceObjects modules for which a namespace object should be generated\n * @param {boolean} asCall asCall\n * @param {boolean} strictHarmonyModule strictHarmonyModule\n * @param {boolean | undefined} asiSafe asiSafe\n * @param {Set<ExportInfo>} alreadyVisited alreadyVisited\n * @returns {Binding} the final variable\n */\nconst getFinalBinding = (\n\tmoduleGraph,\n\tinfo,\n\texportName,\n\tmoduleToInfoMap,\n\truntime,\n\trequestShortener,\n\truntimeTemplate,\n\tneededNamespaceObjects,\n\tasCall,\n\tstrictHarmonyModule,\n\tasiSafe,\n\talreadyVisited = new Set()\n) => {\n\tconst exportsType = info.module.getExportsType(\n\t\tmoduleGraph,\n\t\tstrictHarmonyModule\n\t);\n\tif (exportName.length === 0) {\n\t\tswitch (exportsType) {\n\t\t\tcase \"default-only\":\n\t\t\t\tinfo.interopNamespaceObject2Used = true;\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: info.interopNamespaceObject2Name,\n\t\t\t\t\tids: exportName,\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\tcase \"default-with-named\":\n\t\t\t\tinfo.interopNamespaceObjectUsed = true;\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: info.interopNamespaceObjectName,\n\t\t\t\t\tids: exportName,\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\tcase \"namespace\":\n\t\t\tcase \"dynamic\":\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unexpected exportsType ${exportsType}`);\n\t\t}\n\t} else {\n\t\tswitch (exportsType) {\n\t\t\tcase \"namespace\":\n\t\t\t\tbreak;\n\t\t\tcase \"default-with-named\":\n\t\t\t\tswitch (exportName[0]) {\n\t\t\t\t\tcase \"default\":\n\t\t\t\t\t\texportName = exportName.slice(1);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"__esModule\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tinfo,\n\t\t\t\t\t\t\trawName: \"/* __esModule */true\",\n\t\t\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\t\t\texportName\n\t\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"default-only\": {\n\t\t\t\tconst exportId = exportName[0];\n\t\t\t\tif (exportId === \"__esModule\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tinfo,\n\t\t\t\t\t\trawName: \"/* __esModule */true\",\n\t\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\t\texportName\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\texportName = exportName.slice(1);\n\t\t\t\tif (exportId !== \"default\") {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tinfo,\n\t\t\t\t\t\trawName:\n\t\t\t\t\t\t\t\"/* non-default import from default-exporting module */undefined\",\n\t\t\t\t\t\tids: exportName,\n\t\t\t\t\t\texportName\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"dynamic\":\n\t\t\t\tswitch (exportName[0]) {\n\t\t\t\t\tcase \"default\": {\n\t\t\t\t\t\texportName = exportName.slice(1);\n\t\t\t\t\t\tinfo.interopDefaultAccessUsed = true;\n\t\t\t\t\t\tconst defaultExport = asCall\n\t\t\t\t\t\t\t? `${info.interopDefaultAccessName}()`\n\t\t\t\t\t\t\t: asiSafe\n\t\t\t\t\t\t\t? `(${info.interopDefaultAccessName}())`\n\t\t\t\t\t\t\t: asiSafe === false\n\t\t\t\t\t\t\t? `;(${info.interopDefaultAccessName}())`\n\t\t\t\t\t\t\t: `${info.interopDefaultAccessName}.a`;\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tinfo,\n\t\t\t\t\t\t\trawName: defaultExport,\n\t\t\t\t\t\t\tids: exportName,\n\t\t\t\t\t\t\texportName\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tcase \"__esModule\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tinfo,\n\t\t\t\t\t\t\trawName: \"/* __esModule */true\",\n\t\t\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\t\t\texportName\n\t\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unexpected exportsType ${exportsType}`);\n\t\t}\n\t}\n\tif (exportName.length === 0) {\n\t\tswitch (info.type) {\n\t\t\tcase \"concatenated\":\n\t\t\t\tneededNamespaceObjects.add(info);\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: info.namespaceObjectName,\n\t\t\t\t\tids: exportName,\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\tcase \"external\":\n\t\t\t\treturn { info, rawName: info.name, ids: exportName, exportName };\n\t\t}\n\t}\n\tconst exportsInfo = moduleGraph.getExportsInfo(info.module);\n\tconst exportInfo = exportsInfo.getExportInfo(exportName[0]);\n\tif (alreadyVisited.has(exportInfo)) {\n\t\treturn {\n\t\t\tinfo,\n\t\t\trawName: \"/* circular reexport */ Object(function x() { x() }())\",\n\t\t\tids: [],\n\t\t\texportName\n\t\t};\n\t}\n\talreadyVisited.add(exportInfo);\n\tswitch (info.type) {\n\t\tcase \"concatenated\": {\n\t\t\tconst exportId = exportName[0];\n\t\t\tif (exportInfo.provided === false) {\n\t\t\t\t// It's not provided, but it could be on the prototype\n\t\t\t\tneededNamespaceObjects.add(info);\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: info.namespaceObjectName,\n\t\t\t\t\tids: exportName,\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst directExport = info.exportMap && info.exportMap.get(exportId);\n\t\t\tif (directExport) {\n\t\t\t\tconst usedName = /** @type {string[]} */ (\n\t\t\t\t\texportsInfo.getUsedName(exportName, runtime)\n\t\t\t\t);\n\t\t\t\tif (!usedName) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tinfo,\n\t\t\t\t\t\trawName: \"/* unused export */ undefined\",\n\t\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\t\texportName\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\tname: directExport,\n\t\t\t\t\tids: usedName.slice(1),\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst rawExport = info.rawExportMap && info.rawExportMap.get(exportId);\n\t\t\tif (rawExport) {\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: rawExport,\n\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst reexport = exportInfo.findTarget(moduleGraph, module =>\n\t\t\t\tmoduleToInfoMap.has(module)\n\t\t\t);\n\t\t\tif (reexport === false) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Target module of reexport from '${info.module.readableIdentifier(\n\t\t\t\t\t\trequestShortener\n\t\t\t\t\t)}' is not part of the concatenation (export '${exportId}')\\nModules in the concatenation:\\n${Array.from(\n\t\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\t\t([m, info]) =>\n\t\t\t\t\t\t\t` * ${info.type} ${m.readableIdentifier(requestShortener)}`\n\t\t\t\t\t).join(\"\\n\")}`\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (reexport) {\n\t\t\t\tconst refInfo = moduleToInfoMap.get(reexport.module);\n\t\t\t\treturn getFinalBinding(\n\t\t\t\t\tmoduleGraph,\n\t\t\t\t\trefInfo,\n\t\t\t\t\treexport.export\n\t\t\t\t\t\t? [...reexport.export, ...exportName.slice(1)]\n\t\t\t\t\t\t: exportName.slice(1),\n\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\truntime,\n\t\t\t\t\trequestShortener,\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\tneededNamespaceObjects,\n\t\t\t\t\tasCall,\n\t\t\t\t\tinfo.module.buildMeta.strictHarmonyModule,\n\t\t\t\t\tasiSafe,\n\t\t\t\t\talreadyVisited\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (info.namespaceExportSymbol) {\n\t\t\t\tconst usedName = /** @type {string[]} */ (\n\t\t\t\t\texportsInfo.getUsedName(exportName, runtime)\n\t\t\t\t);\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: info.namespaceObjectName,\n\t\t\t\t\tids: usedName,\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`Cannot get final name for export '${exportName.join(\n\t\t\t\t\t\".\"\n\t\t\t\t)}' of ${info.module.readableIdentifier(requestShortener)}`\n\t\t\t);\n\t\t}\n\n\t\tcase \"external\": {\n\t\t\tconst used = /** @type {string[]} */ (\n\t\t\t\texportsInfo.getUsedName(exportName, runtime)\n\t\t\t);\n\t\t\tif (!used) {\n\t\t\t\treturn {\n\t\t\t\t\tinfo,\n\t\t\t\t\trawName: \"/* unused export */ undefined\",\n\t\t\t\t\tids: exportName.slice(1),\n\t\t\t\t\texportName\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst comment = equals(used, exportName)\n\t\t\t\t? \"\"\n\t\t\t\t: Template.toNormalComment(`${exportName.join(\".\")}`);\n\t\t\treturn { info, rawName: info.name + comment, ids: used, exportName };\n\t\t}\n\t}\n};\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {ModuleInfo} info module info\n * @param {string[]} exportName exportName\n * @param {Map<Module, ModuleInfo>} moduleToInfoMap moduleToInfoMap\n * @param {RuntimeSpec} runtime for which runtime\n * @param {RequestShortener} requestShortener the request shortener\n * @param {RuntimeTemplate} runtimeTemplate the runtime template\n * @param {Set<ConcatenatedModuleInfo>} neededNamespaceObjects modules for which a namespace object should be generated\n * @param {boolean} asCall asCall\n * @param {boolean} callContext callContext\n * @param {boolean} strictHarmonyModule strictHarmonyModule\n * @param {boolean | undefined} asiSafe asiSafe\n * @returns {string} the final name\n */\nconst getFinalName = (\n\tmoduleGraph,\n\tinfo,\n\texportName,\n\tmoduleToInfoMap,\n\truntime,\n\trequestShortener,\n\truntimeTemplate,\n\tneededNamespaceObjects,\n\tasCall,\n\tcallContext,\n\tstrictHarmonyModule,\n\tasiSafe\n) => {\n\tconst binding = getFinalBinding(\n\t\tmoduleGraph,\n\t\tinfo,\n\t\texportName,\n\t\tmoduleToInfoMap,\n\t\truntime,\n\t\trequestShortener,\n\t\truntimeTemplate,\n\t\tneededNamespaceObjects,\n\t\tasCall,\n\t\tstrictHarmonyModule,\n\t\tasiSafe\n\t);\n\t{\n\t\tconst { ids, comment } = binding;\n\t\tlet reference;\n\t\tlet isPropertyAccess;\n\t\tif (\"rawName\" in binding) {\n\t\t\treference = `${binding.rawName}${comment || \"\"}${propertyAccess(ids)}`;\n\t\t\tisPropertyAccess = ids.length > 0;\n\t\t} else {\n\t\t\tconst { info, name: exportId } = binding;\n\t\t\tconst name = info.internalNames.get(exportId);\n\t\t\tif (!name) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`The export \"${exportId}\" in \"${info.module.readableIdentifier(\n\t\t\t\t\t\trequestShortener\n\t\t\t\t\t)}\" has no internal name (existing names: ${\n\t\t\t\t\t\tArray.from(\n\t\t\t\t\t\t\tinfo.internalNames,\n\t\t\t\t\t\t\t([name, symbol]) => `${name}: ${symbol}`\n\t\t\t\t\t\t).join(\", \") || \"none\"\n\t\t\t\t\t})`\n\t\t\t\t);\n\t\t\t}\n\t\t\treference = `${name}${comment || \"\"}${propertyAccess(ids)}`;\n\t\t\tisPropertyAccess = ids.length > 1;\n\t\t}\n\t\tif (isPropertyAccess && asCall && callContext === false) {\n\t\t\treturn asiSafe\n\t\t\t\t? `(0,${reference})`\n\t\t\t\t: asiSafe === false\n\t\t\t\t? `;(0,${reference})`\n\t\t\t\t: `/*#__PURE__*/Object(${reference})`;\n\t\t}\n\t\treturn reference;\n\t}\n};\n\nconst addScopeSymbols = (s, nameSet, scopeSet1, scopeSet2) => {\n\tlet scope = s;\n\twhile (scope) {\n\t\tif (scopeSet1.has(scope)) break;\n\t\tif (scopeSet2.has(scope)) break;\n\t\tscopeSet1.add(scope);\n\t\tfor (const variable of scope.variables) {\n\t\t\tnameSet.add(variable.name);\n\t\t}\n\t\tscope = scope.upper;\n\t}\n};\n\nconst getAllReferences = variable => {\n\tlet set = variable.references;\n\t// Look for inner scope variables too (like in class Foo { t() { Foo } })\n\tconst identifiers = new Set(variable.identifiers);\n\tfor (const scope of variable.scope.childScopes) {\n\t\tfor (const innerVar of scope.variables) {\n\t\t\tif (innerVar.identifiers.some(id => identifiers.has(id))) {\n\t\t\t\tset = set.concat(innerVar.references);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn set;\n};\n\nconst getPathInAst = (ast, node) => {\n\tif (ast === node) {\n\t\treturn [];\n\t}\n\n\tconst nr = node.range;\n\n\tconst enterNode = n => {\n\t\tif (!n) return undefined;\n\t\tconst r = n.range;\n\t\tif (r) {\n\t\t\tif (r[0] <= nr[0] && r[1] >= nr[1]) {\n\t\t\t\tconst path = getPathInAst(n, node);\n\t\t\t\tif (path) {\n\t\t\t\t\tpath.push(n);\n\t\t\t\t\treturn path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn undefined;\n\t};\n\n\tif (Array.isArray(ast)) {\n\t\tfor (let i = 0; i < ast.length; i++) {\n\t\t\tconst enterResult = enterNode(ast[i]);\n\t\t\tif (enterResult !== undefined) return enterResult;\n\t\t}\n\t} else if (ast && typeof ast === \"object\") {\n\t\tconst keys = Object.keys(ast);\n\t\tfor (let i = 0; i < keys.length; i++) {\n\t\t\tconst value = ast[keys[i]];\n\t\t\tif (Array.isArray(value)) {\n\t\t\t\tconst pathResult = getPathInAst(value, node);\n\t\t\t\tif (pathResult !== undefined) return pathResult;\n\t\t\t} else if (value && typeof value === \"object\") {\n\t\t\t\tconst enterResult = enterNode(value);\n\t\t\t\tif (enterResult !== undefined) return enterResult;\n\t\t\t}\n\t\t}\n\t}\n};\n\nconst TYPES = new Set([\"javascript\"]);\n\nclass ConcatenatedModule extends Module {\n\t/**\n\t * @param {Module} rootModule the root module of the concatenation\n\t * @param {Set<Module>} modules all modules in the concatenation (including the root module)\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @param {Object=} associatedObjectForCache object for caching\n\t * @param {string | HashConstructor=} hashFunction hash function to use\n\t * @returns {ConcatenatedModule} the module\n\t */\n\tstatic create(\n\t\trootModule,\n\t\tmodules,\n\t\truntime,\n\t\tassociatedObjectForCache,\n\t\thashFunction = \"md4\"\n\t) {\n\t\tconst identifier = ConcatenatedModule._createIdentifier(\n\t\t\trootModule,\n\t\t\tmodules,\n\t\t\tassociatedObjectForCache,\n\t\t\thashFunction\n\t\t);\n\t\treturn new ConcatenatedModule({\n\t\t\tidentifier,\n\t\t\trootModule,\n\t\t\tmodules,\n\t\t\truntime\n\t\t});\n\t}\n\n\t/**\n\t * @param {Object} options options\n\t * @param {string} options.identifier the identifier of the module\n\t * @param {Module=} options.rootModule the root module of the concatenation\n\t * @param {RuntimeSpec} options.runtime the selected runtime\n\t * @param {Set<Module>=} options.modules all concatenated modules\n\t */\n\tconstructor({ identifier, rootModule, modules, runtime }) {\n\t\tsuper(\"javascript/esm\", null, rootModule && rootModule.layer);\n\n\t\t// Info from Factory\n\t\t/** @type {string} */\n\t\tthis._identifier = identifier;\n\t\t/** @type {Module} */\n\t\tthis.rootModule = rootModule;\n\t\t/** @type {Set<Module>} */\n\t\tthis._modules = modules;\n\t\tthis._runtime = runtime;\n\t\tthis.factoryMeta = rootModule && rootModule.factoryMeta;\n\t}\n\n\t/**\n\t * Assuming this module is in the cache. Update the (cached) module with\n\t * the fresh module from the factory. Usually updates internal references\n\t * and properties.\n\t * @param {Module} module fresh module\n\t * @returns {void}\n\t */\n\tupdateCacheModule(module) {\n\t\tthrow new Error(\"Must not be called\");\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\tget modules() {\n\t\treturn Array.from(this._modules);\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn this._identifier;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn (\n\t\t\tthis.rootModule.readableIdentifier(requestShortener) +\n\t\t\t` + ${this._modules.size - 1} modules`\n\t\t);\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn this.rootModule.libIdent(options);\n\t}\n\n\t/**\n\t * @returns {string | null} absolute path which should be used for condition matching (usually the resource path)\n\t */\n\tnameForCondition() {\n\t\treturn this.rootModule.nameForCondition();\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only\n\t */\n\tgetSideEffectsConnectionState(moduleGraph) {\n\t\treturn this.rootModule.getSideEffectsConnectionState(moduleGraph);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tconst { rootModule } = this;\n\t\tthis.buildInfo = {\n\t\t\tstrict: true,\n\t\t\tcacheable: true,\n\t\t\tmoduleArgument: rootModule.buildInfo.moduleArgument,\n\t\t\texportsArgument: rootModule.buildInfo.exportsArgument,\n\t\t\tfileDependencies: new LazySet(),\n\t\t\tcontextDependencies: new LazySet(),\n\t\t\tmissingDependencies: new LazySet(),\n\t\t\ttopLevelDeclarations: new Set(),\n\t\t\tassets: undefined\n\t\t};\n\t\tthis.buildMeta = rootModule.buildMeta;\n\t\tthis.clearDependenciesAndBlocks();\n\t\tthis.clearWarningsAndErrors();\n\n\t\tfor (const m of this._modules) {\n\t\t\t// populate cacheable\n\t\t\tif (!m.buildInfo.cacheable) {\n\t\t\t\tthis.buildInfo.cacheable = false;\n\t\t\t}\n\n\t\t\t// populate dependencies\n\t\t\tfor (const d of m.dependencies.filter(\n\t\t\t\tdep =>\n\t\t\t\t\t!(dep instanceof HarmonyImportDependency) ||\n\t\t\t\t\t!this._modules.has(compilation.moduleGraph.getModule(dep))\n\t\t\t)) {\n\t\t\t\tthis.dependencies.push(d);\n\t\t\t}\n\t\t\t// populate blocks\n\t\t\tfor (const d of m.blocks) {\n\t\t\t\tthis.blocks.push(d);\n\t\t\t}\n\n\t\t\t// populate warnings\n\t\t\tconst warnings = m.getWarnings();\n\t\t\tif (warnings !== undefined) {\n\t\t\t\tfor (const warning of warnings) {\n\t\t\t\t\tthis.addWarning(warning);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// populate errors\n\t\t\tconst errors = m.getErrors();\n\t\t\tif (errors !== undefined) {\n\t\t\t\tfor (const error of errors) {\n\t\t\t\t\tthis.addError(error);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// populate topLevelDeclarations\n\t\t\tif (m.buildInfo.topLevelDeclarations) {\n\t\t\t\tconst topLevelDeclarations = this.buildInfo.topLevelDeclarations;\n\t\t\t\tif (topLevelDeclarations !== undefined) {\n\t\t\t\t\tfor (const decl of m.buildInfo.topLevelDeclarations) {\n\t\t\t\t\t\ttopLevelDeclarations.add(decl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis.buildInfo.topLevelDeclarations = undefined;\n\t\t\t}\n\n\t\t\t// populate assets\n\t\t\tif (m.buildInfo.assets) {\n\t\t\t\tif (this.buildInfo.assets === undefined) {\n\t\t\t\t\tthis.buildInfo.assets = Object.create(null);\n\t\t\t\t}\n\t\t\t\tObject.assign(this.buildInfo.assets, m.buildInfo.assets);\n\t\t\t}\n\t\t\tif (m.buildInfo.assetsInfo) {\n\t\t\t\tif (this.buildInfo.assetsInfo === undefined) {\n\t\t\t\t\tthis.buildInfo.assetsInfo = new Map();\n\t\t\t\t}\n\t\t\t\tfor (const [key, value] of m.buildInfo.assetsInfo) {\n\t\t\t\t\tthis.buildInfo.assetsInfo.set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\t// Guess size from embedded modules\n\t\tlet size = 0;\n\t\tfor (const module of this._modules) {\n\t\t\tsize += module.size(type);\n\t\t}\n\t\treturn size;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Module} rootModule the root of the concatenation\n\t * @param {Set<Module>} modulesSet a set of modules which should be concatenated\n\t * @param {RuntimeSpec} runtime for this runtime\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @returns {ConcatenationEntry[]} concatenation list\n\t */\n\t_createConcatenationList(rootModule, modulesSet, runtime, moduleGraph) {\n\t\t/** @type {ConcatenationEntry[]} */\n\t\tconst list = [];\n\t\t/** @type {Map<Module, RuntimeSpec | true>} */\n\t\tconst existingEntries = new Map();\n\n\t\t/**\n\t\t * @param {Module} module a module\n\t\t * @returns {Iterable<{ connection: ModuleGraphConnection, runtimeCondition: RuntimeSpec | true }>} imported modules in order\n\t\t */\n\t\tconst getConcatenatedImports = module => {\n\t\t\tlet connections = Array.from(moduleGraph.getOutgoingConnections(module));\n\t\t\tif (module === rootModule) {\n\t\t\t\tfor (const c of moduleGraph.getOutgoingConnections(this))\n\t\t\t\t\tconnections.push(c);\n\t\t\t}\n\t\t\t/**\n\t\t\t * @type {Array<{ connection: ModuleGraphConnection, sourceOrder: number, rangeStart: number }>}\n\t\t\t */\n\t\t\tconst references = connections\n\t\t\t\t.filter(connection => {\n\t\t\t\t\tif (!(connection.dependency instanceof HarmonyImportDependency))\n\t\t\t\t\t\treturn false;\n\t\t\t\t\treturn (\n\t\t\t\t\t\tconnection &&\n\t\t\t\t\t\tconnection.resolvedOriginModule === module &&\n\t\t\t\t\t\tconnection.module &&\n\t\t\t\t\t\tconnection.isTargetActive(runtime)\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t\t.map(connection => {\n\t\t\t\t\tconst dep = /** @type {HarmonyImportDependency} */ (\n\t\t\t\t\t\tconnection.dependency\n\t\t\t\t\t);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tconnection,\n\t\t\t\t\t\tsourceOrder: dep.sourceOrder,\n\t\t\t\t\t\trangeStart: dep.range && dep.range[0]\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t/**\n\t\t\t * bySourceOrder\n\t\t\t * @example\n\t\t\t * import a from \"a\"; // sourceOrder=1\n\t\t\t * import b from \"b\"; // sourceOrder=2\n\t\t\t *\n\t\t\t * byRangeStart\n\t\t\t * @example\n\t\t\t * import {a, b} from \"a\"; // sourceOrder=1\n\t\t\t * a.a(); // first range\n\t\t\t * b.b(); // second range\n\t\t\t *\n\t\t\t * If there is no reexport, we have the same source.\n\t\t\t * If there is reexport, but module has side effects, this will lead to reexport module only.\n\t\t\t * If there is side-effects-free reexport, we can get simple deterministic result with range start comparison.\n\t\t\t */\n\t\t\treferences.sort(concatComparators(bySourceOrder, byRangeStart));\n\t\t\t/** @type {Map<Module, { connection: ModuleGraphConnection, runtimeCondition: RuntimeSpec | true }>} */\n\t\t\tconst referencesMap = new Map();\n\t\t\tfor (const { connection } of references) {\n\t\t\t\tconst runtimeCondition = filterRuntime(runtime, r =>\n\t\t\t\t\tconnection.isTargetActive(r)\n\t\t\t\t);\n\t\t\t\tif (runtimeCondition === false) continue;\n\t\t\t\tconst module = connection.module;\n\t\t\t\tconst entry = referencesMap.get(module);\n\t\t\t\tif (entry === undefined) {\n\t\t\t\t\treferencesMap.set(module, { connection, runtimeCondition });\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tentry.runtimeCondition = mergeRuntimeConditionNonFalse(\n\t\t\t\t\tentry.runtimeCondition,\n\t\t\t\t\truntimeCondition,\n\t\t\t\t\truntime\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn referencesMap.values();\n\t\t};\n\n\t\t/**\n\t\t * @param {ModuleGraphConnection} connection graph connection\n\t\t * @param {RuntimeSpec | true} runtimeCondition runtime condition\n\t\t * @returns {void}\n\t\t */\n\t\tconst enterModule = (connection, runtimeCondition) => {\n\t\t\tconst module = connection.module;\n\t\t\tif (!module) return;\n\t\t\tconst existingEntry = existingEntries.get(module);\n\t\t\tif (existingEntry === true) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (modulesSet.has(module)) {\n\t\t\t\texistingEntries.set(module, true);\n\t\t\t\tif (runtimeCondition !== true) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Cannot runtime-conditional concatenate a module (${module.identifier()} in ${this.rootModule.identifier()}, ${runtimeConditionToString(\n\t\t\t\t\t\t\truntimeCondition\n\t\t\t\t\t\t)}). This should not happen.`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tconst imports = getConcatenatedImports(module);\n\t\t\t\tfor (const { connection, runtimeCondition } of imports)\n\t\t\t\t\tenterModule(connection, runtimeCondition);\n\t\t\t\tlist.push({\n\t\t\t\t\ttype: \"concatenated\",\n\t\t\t\t\tmodule: connection.module,\n\t\t\t\t\truntimeCondition\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (existingEntry !== undefined) {\n\t\t\t\t\tconst reducedRuntimeCondition = subtractRuntimeCondition(\n\t\t\t\t\t\truntimeCondition,\n\t\t\t\t\t\texistingEntry,\n\t\t\t\t\t\truntime\n\t\t\t\t\t);\n\t\t\t\t\tif (reducedRuntimeCondition === false) return;\n\t\t\t\t\truntimeCondition = reducedRuntimeCondition;\n\t\t\t\t\texistingEntries.set(\n\t\t\t\t\t\tconnection.module,\n\t\t\t\t\t\tmergeRuntimeConditionNonFalse(\n\t\t\t\t\t\t\texistingEntry,\n\t\t\t\t\t\t\truntimeCondition,\n\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\texistingEntries.set(connection.module, runtimeCondition);\n\t\t\t\t}\n\t\t\t\tif (list.length > 0) {\n\t\t\t\t\tconst lastItem = list[list.length - 1];\n\t\t\t\t\tif (\n\t\t\t\t\t\tlastItem.type === \"external\" &&\n\t\t\t\t\t\tlastItem.module === connection.module\n\t\t\t\t\t) {\n\t\t\t\t\t\tlastItem.runtimeCondition = mergeRuntimeCondition(\n\t\t\t\t\t\t\tlastItem.runtimeCondition,\n\t\t\t\t\t\t\truntimeCondition,\n\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlist.push({\n\t\t\t\t\ttype: \"external\",\n\t\t\t\t\tget module() {\n\t\t\t\t\t\t// We need to use a getter here, because the module in the dependency\n\t\t\t\t\t\t// could be replaced by some other process (i. e. also replaced with a\n\t\t\t\t\t\t// concatenated module)\n\t\t\t\t\t\treturn connection.module;\n\t\t\t\t\t},\n\t\t\t\t\truntimeCondition\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\texistingEntries.set(rootModule, true);\n\t\tconst imports = getConcatenatedImports(rootModule);\n\t\tfor (const { connection, runtimeCondition } of imports)\n\t\t\tenterModule(connection, runtimeCondition);\n\t\tlist.push({\n\t\t\ttype: \"concatenated\",\n\t\t\tmodule: rootModule,\n\t\t\truntimeCondition: true\n\t\t});\n\n\t\treturn list;\n\t}\n\n\t/**\n\t * @param {Module} rootModule the root module of the concatenation\n\t * @param {Set<Module>} modules all modules in the concatenation (including the root module)\n\t * @param {Object=} associatedObjectForCache object for caching\n\t * @param {string | HashConstructor=} hashFunction hash function to use\n\t * @returns {string} the identifier\n\t */\n\tstatic _createIdentifier(\n\t\trootModule,\n\t\tmodules,\n\t\tassociatedObjectForCache,\n\t\thashFunction = \"md4\"\n\t) {\n\t\tconst cachedMakePathsRelative = makePathsRelative.bindContextCache(\n\t\t\trootModule.context,\n\t\t\tassociatedObjectForCache\n\t\t);\n\t\tlet identifiers = [];\n\t\tfor (const module of modules) {\n\t\t\tidentifiers.push(cachedMakePathsRelative(module.identifier()));\n\t\t}\n\t\tidentifiers.sort();\n\t\tconst hash = createHash(hashFunction);\n\t\thash.update(identifiers.join(\" \"));\n\t\treturn rootModule.identifier() + \"|\" + hash.digest(\"hex\");\n\t}\n\n\t/**\n\t * @param {LazySet<string>} fileDependencies set where file dependencies are added to\n\t * @param {LazySet<string>} contextDependencies set where context dependencies are added to\n\t * @param {LazySet<string>} missingDependencies set where missing dependencies are added to\n\t * @param {LazySet<string>} buildDependencies set where build dependencies are added to\n\t */\n\taddCacheDependencies(\n\t\tfileDependencies,\n\t\tcontextDependencies,\n\t\tmissingDependencies,\n\t\tbuildDependencies\n\t) {\n\t\tfor (const module of this._modules) {\n\t\t\tmodule.addCacheDependencies(\n\t\t\t\tfileDependencies,\n\t\t\t\tcontextDependencies,\n\t\t\t\tmissingDependencies,\n\t\t\t\tbuildDependencies\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({\n\t\tdependencyTemplates,\n\t\truntimeTemplate,\n\t\tmoduleGraph,\n\t\tchunkGraph,\n\t\truntime: generationRuntime,\n\t\tcodeGenerationResults\n\t}) {\n\t\t/** @type {Set<string>} */\n\t\tconst runtimeRequirements = new Set();\n\t\tconst runtime = intersectRuntime(generationRuntime, this._runtime);\n\n\t\tconst requestShortener = runtimeTemplate.requestShortener;\n\t\t// Meta info for each module\n\t\tconst [modulesWithInfo, moduleToInfoMap] = this._getModulesWithInfo(\n\t\t\tmoduleGraph,\n\t\t\truntime\n\t\t);\n\n\t\t// Set with modules that need a generated namespace object\n\t\t/** @type {Set<ConcatenatedModuleInfo>} */\n\t\tconst neededNamespaceObjects = new Set();\n\n\t\t// Generate source code and analyse scopes\n\t\t// Prepare a ReplaceSource for the final source\n\t\tfor (const info of moduleToInfoMap.values()) {\n\t\t\tthis._analyseModule(\n\t\t\t\tmoduleToInfoMap,\n\t\t\t\tinfo,\n\t\t\t\tdependencyTemplates,\n\t\t\t\truntimeTemplate,\n\t\t\t\tmoduleGraph,\n\t\t\t\tchunkGraph,\n\t\t\t\truntime,\n\t\t\t\tcodeGenerationResults\n\t\t\t);\n\t\t}\n\n\t\t// List of all used names to avoid conflicts\n\t\tconst allUsedNames = new Set(RESERVED_NAMES);\n\t\t// Updated Top level declarations are created by renaming\n\t\tconst topLevelDeclarations = new Set();\n\n\t\t// List of additional names in scope for module references\n\t\t/** @type {Map<string, { usedNames: Set<string>, alreadyCheckedScopes: Set<TODO> }>} */\n\t\tconst usedNamesInScopeInfo = new Map();\n\t\t/**\n\t\t * @param {string} module module identifier\n\t\t * @param {string} id export id\n\t\t * @returns {{ usedNames: Set<string>, alreadyCheckedScopes: Set<TODO> }} info\n\t\t */\n\t\tconst getUsedNamesInScopeInfo = (module, id) => {\n\t\t\tconst key = `${module}-${id}`;\n\t\t\tlet info = usedNamesInScopeInfo.get(key);\n\t\t\tif (info === undefined) {\n\t\t\t\tinfo = {\n\t\t\t\t\tusedNames: new Set(),\n\t\t\t\t\talreadyCheckedScopes: new Set()\n\t\t\t\t};\n\t\t\t\tusedNamesInScopeInfo.set(key, info);\n\t\t\t}\n\t\t\treturn info;\n\t\t};\n\n\t\t// Set of already checked scopes\n\t\tconst ignoredScopes = new Set();\n\n\t\t// get all global names\n\t\tfor (const info of modulesWithInfo) {\n\t\t\tif (info.type === \"concatenated\") {\n\t\t\t\t// ignore symbols from moduleScope\n\t\t\t\tif (info.moduleScope) {\n\t\t\t\t\tignoredScopes.add(info.moduleScope);\n\t\t\t\t}\n\n\t\t\t\t// The super class expression in class scopes behaves weird\n\t\t\t\t// We get ranges of all super class expressions to make\n\t\t\t\t// renaming to work correctly\n\t\t\t\tconst superClassCache = new WeakMap();\n\t\t\t\tconst getSuperClassExpressions = scope => {\n\t\t\t\t\tconst cacheEntry = superClassCache.get(scope);\n\t\t\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\t\t\tconst superClassExpressions = [];\n\t\t\t\t\tfor (const childScope of scope.childScopes) {\n\t\t\t\t\t\tif (childScope.type !== \"class\") continue;\n\t\t\t\t\t\tconst block = childScope.block;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(block.type === \"ClassDeclaration\" ||\n\t\t\t\t\t\t\t\tblock.type === \"ClassExpression\") &&\n\t\t\t\t\t\t\tblock.superClass\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tsuperClassExpressions.push({\n\t\t\t\t\t\t\t\trange: block.superClass.range,\n\t\t\t\t\t\t\t\tvariables: childScope.variables\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tsuperClassCache.set(scope, superClassExpressions);\n\t\t\t\t\treturn superClassExpressions;\n\t\t\t\t};\n\n\t\t\t\t// add global symbols\n\t\t\t\tif (info.globalScope) {\n\t\t\t\t\tfor (const reference of info.globalScope.through) {\n\t\t\t\t\t\tconst name = reference.identifier.name;\n\t\t\t\t\t\tif (ConcatenationScope.isModuleReference(name)) {\n\t\t\t\t\t\t\tconst match = ConcatenationScope.matchModuleReference(name);\n\t\t\t\t\t\t\tif (!match) continue;\n\t\t\t\t\t\t\tconst referencedInfo = modulesWithInfo[match.index];\n\t\t\t\t\t\t\tif (referencedInfo.type === \"reference\")\n\t\t\t\t\t\t\t\tthrow new Error(\"Module reference can't point to a reference\");\n\t\t\t\t\t\t\tconst binding = getFinalBinding(\n\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\treferencedInfo,\n\t\t\t\t\t\t\t\tmatch.ids,\n\t\t\t\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\tneededNamespaceObjects,\n\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\tinfo.module.buildMeta.strictHarmonyModule,\n\t\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (!binding.ids) continue;\n\t\t\t\t\t\t\tconst { usedNames, alreadyCheckedScopes } =\n\t\t\t\t\t\t\t\tgetUsedNamesInScopeInfo(\n\t\t\t\t\t\t\t\t\tbinding.info.module.identifier(),\n\t\t\t\t\t\t\t\t\t\"name\" in binding ? binding.name : \"\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tfor (const expr of getSuperClassExpressions(reference.from)) {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\texpr.range[0] <= reference.identifier.range[0] &&\n\t\t\t\t\t\t\t\t\texpr.range[1] >= reference.identifier.range[1]\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tfor (const variable of expr.variables) {\n\t\t\t\t\t\t\t\t\t\tusedNames.add(variable.name);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\taddScopeSymbols(\n\t\t\t\t\t\t\t\treference.from,\n\t\t\t\t\t\t\t\tusedNames,\n\t\t\t\t\t\t\t\talreadyCheckedScopes,\n\t\t\t\t\t\t\t\tignoredScopes\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tallUsedNames.add(name);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// generate names for symbols\n\t\tfor (const info of moduleToInfoMap.values()) {\n\t\t\tconst { usedNames: namespaceObjectUsedNames } = getUsedNamesInScopeInfo(\n\t\t\t\tinfo.module.identifier(),\n\t\t\t\t\"\"\n\t\t\t);\n\t\t\tswitch (info.type) {\n\t\t\t\tcase \"concatenated\": {\n\t\t\t\t\tfor (const variable of info.moduleScope.variables) {\n\t\t\t\t\t\tconst name = variable.name;\n\t\t\t\t\t\tconst { usedNames, alreadyCheckedScopes } = getUsedNamesInScopeInfo(\n\t\t\t\t\t\t\tinfo.module.identifier(),\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (allUsedNames.has(name) || usedNames.has(name)) {\n\t\t\t\t\t\t\tconst references = getAllReferences(variable);\n\t\t\t\t\t\t\tfor (const ref of references) {\n\t\t\t\t\t\t\t\taddScopeSymbols(\n\t\t\t\t\t\t\t\t\tref.from,\n\t\t\t\t\t\t\t\t\tusedNames,\n\t\t\t\t\t\t\t\t\talreadyCheckedScopes,\n\t\t\t\t\t\t\t\t\tignoredScopes\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst newName = this.findNewName(\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\tallUsedNames,\n\t\t\t\t\t\t\t\tusedNames,\n\t\t\t\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tallUsedNames.add(newName);\n\t\t\t\t\t\t\tinfo.internalNames.set(name, newName);\n\t\t\t\t\t\t\ttopLevelDeclarations.add(newName);\n\t\t\t\t\t\t\tconst source = info.source;\n\t\t\t\t\t\t\tconst allIdentifiers = new Set(\n\t\t\t\t\t\t\t\treferences.map(r => r.identifier).concat(variable.identifiers)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tfor (const identifier of allIdentifiers) {\n\t\t\t\t\t\t\t\tconst r = identifier.range;\n\t\t\t\t\t\t\t\tconst path = getPathInAst(info.ast, identifier);\n\t\t\t\t\t\t\t\tif (path && path.length > 1) {\n\t\t\t\t\t\t\t\t\tconst maybeProperty =\n\t\t\t\t\t\t\t\t\t\tpath[1].type === \"AssignmentPattern\" &&\n\t\t\t\t\t\t\t\t\t\tpath[1].left === path[0]\n\t\t\t\t\t\t\t\t\t\t\t? path[2]\n\t\t\t\t\t\t\t\t\t\t\t: path[1];\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tmaybeProperty.type === \"Property\" &&\n\t\t\t\t\t\t\t\t\t\tmaybeProperty.shorthand\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tsource.insert(r[1], `: ${newName}`);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tsource.replace(r[0], r[1] - 1, newName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tallUsedNames.add(name);\n\t\t\t\t\t\t\tinfo.internalNames.set(name, name);\n\t\t\t\t\t\t\ttopLevelDeclarations.add(name);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlet namespaceObjectName;\n\t\t\t\t\tif (info.namespaceExportSymbol) {\n\t\t\t\t\t\tnamespaceObjectName = info.internalNames.get(\n\t\t\t\t\t\t\tinfo.namespaceExportSymbol\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnamespaceObjectName = this.findNewName(\n\t\t\t\t\t\t\t\"namespaceObject\",\n\t\t\t\t\t\t\tallUsedNames,\n\t\t\t\t\t\t\tnamespaceObjectUsedNames,\n\t\t\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tallUsedNames.add(namespaceObjectName);\n\t\t\t\t\t}\n\t\t\t\t\tinfo.namespaceObjectName = namespaceObjectName;\n\t\t\t\t\ttopLevelDeclarations.add(namespaceObjectName);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"external\": {\n\t\t\t\t\tconst externalName = this.findNewName(\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tallUsedNames,\n\t\t\t\t\t\tnamespaceObjectUsedNames,\n\t\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t\t);\n\t\t\t\t\tallUsedNames.add(externalName);\n\t\t\t\t\tinfo.name = externalName;\n\t\t\t\t\ttopLevelDeclarations.add(externalName);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (info.module.buildMeta.exportsType !== \"namespace\") {\n\t\t\t\tconst externalNameInterop = this.findNewName(\n\t\t\t\t\t\"namespaceObject\",\n\t\t\t\t\tallUsedNames,\n\t\t\t\t\tnamespaceObjectUsedNames,\n\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t);\n\t\t\t\tallUsedNames.add(externalNameInterop);\n\t\t\t\tinfo.interopNamespaceObjectName = externalNameInterop;\n\t\t\t\ttopLevelDeclarations.add(externalNameInterop);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tinfo.module.buildMeta.exportsType === \"default\" &&\n\t\t\t\tinfo.module.buildMeta.defaultObject !== \"redirect\"\n\t\t\t) {\n\t\t\t\tconst externalNameInterop = this.findNewName(\n\t\t\t\t\t\"namespaceObject2\",\n\t\t\t\t\tallUsedNames,\n\t\t\t\t\tnamespaceObjectUsedNames,\n\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t);\n\t\t\t\tallUsedNames.add(externalNameInterop);\n\t\t\t\tinfo.interopNamespaceObject2Name = externalNameInterop;\n\t\t\t\ttopLevelDeclarations.add(externalNameInterop);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tinfo.module.buildMeta.exportsType === \"dynamic\" ||\n\t\t\t\t!info.module.buildMeta.exportsType\n\t\t\t) {\n\t\t\t\tconst externalNameInterop = this.findNewName(\n\t\t\t\t\t\"default\",\n\t\t\t\t\tallUsedNames,\n\t\t\t\t\tnamespaceObjectUsedNames,\n\t\t\t\t\tinfo.module.readableIdentifier(requestShortener)\n\t\t\t\t);\n\t\t\t\tallUsedNames.add(externalNameInterop);\n\t\t\t\tinfo.interopDefaultAccessName = externalNameInterop;\n\t\t\t\ttopLevelDeclarations.add(externalNameInterop);\n\t\t\t}\n\t\t}\n\n\t\t// Find and replace references to modules\n\t\tfor (const info of moduleToInfoMap.values()) {\n\t\t\tif (info.type === \"concatenated\") {\n\t\t\t\tfor (const reference of info.globalScope.through) {\n\t\t\t\t\tconst name = reference.identifier.name;\n\t\t\t\t\tconst match = ConcatenationScope.matchModuleReference(name);\n\t\t\t\t\tif (match) {\n\t\t\t\t\t\tconst referencedInfo = modulesWithInfo[match.index];\n\t\t\t\t\t\tif (referencedInfo.type === \"reference\")\n\t\t\t\t\t\t\tthrow new Error(\"Module reference can't point to a reference\");\n\t\t\t\t\t\tconst finalName = getFinalName(\n\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\treferencedInfo,\n\t\t\t\t\t\t\tmatch.ids,\n\t\t\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\tneededNamespaceObjects,\n\t\t\t\t\t\t\tmatch.call,\n\t\t\t\t\t\t\t!match.directImport,\n\t\t\t\t\t\t\tinfo.module.buildMeta.strictHarmonyModule,\n\t\t\t\t\t\t\tmatch.asiSafe\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst r = reference.identifier.range;\n\t\t\t\t\t\tconst source = info.source;\n\t\t\t\t\t\t// range is extended by 2 chars to cover the appended \"._\"\n\t\t\t\t\t\tsource.replace(r[0], r[1] + 1, finalName);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Map with all root exposed used exports\n\t\t/** @type {Map<string, function(RequestShortener): string>} */\n\t\tconst exportsMap = new Map();\n\n\t\t// Set with all root exposed unused exports\n\t\t/** @type {Set<string>} */\n\t\tconst unusedExports = new Set();\n\n\t\tconst rootInfo = /** @type {ConcatenatedModuleInfo} */ (\n\t\t\tmoduleToInfoMap.get(this.rootModule)\n\t\t);\n\t\tconst strictHarmonyModule = rootInfo.module.buildMeta.strictHarmonyModule;\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(rootInfo.module);\n\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\tconst name = exportInfo.name;\n\t\t\tif (exportInfo.provided === false) continue;\n\t\t\tconst used = exportInfo.getUsedName(undefined, runtime);\n\t\t\tif (!used) {\n\t\t\t\tunusedExports.add(name);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\texportsMap.set(used, requestShortener => {\n\t\t\t\ttry {\n\t\t\t\t\tconst finalName = getFinalName(\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\trootInfo,\n\t\t\t\t\t\t[name],\n\t\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\tneededNamespaceObjects,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tstrictHarmonyModule,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t);\n\t\t\t\t\treturn `/* ${\n\t\t\t\t\t\texportInfo.isReexport() ? \"reexport\" : \"binding\"\n\t\t\t\t\t} */ ${finalName}`;\n\t\t\t\t} catch (e) {\n\t\t\t\t\te.message += `\\nwhile generating the root export '${name}' (used name: '${used}')`;\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tconst result = new ConcatSource();\n\n\t\t// add harmony compatibility flag (must be first because of possible circular dependencies)\n\t\tif (\n\t\t\tmoduleGraph.getExportsInfo(this).otherExportsInfo.getUsed(runtime) !==\n\t\t\tUsageState.Unused\n\t\t) {\n\t\t\tresult.add(`// ESM COMPAT FLAG\\n`);\n\t\t\tresult.add(\n\t\t\t\truntimeTemplate.defineEsModuleFlagStatement({\n\t\t\t\t\texportsArgument: this.exportsArgument,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// define exports\n\t\tif (exportsMap.size > 0) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\t\t\tconst definitions = [];\n\t\t\tfor (const [key, value] of exportsMap) {\n\t\t\t\tdefinitions.push(\n\t\t\t\t\t`\\n ${JSON.stringify(key)}: ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\tvalue(requestShortener)\n\t\t\t\t\t)}`\n\t\t\t\t);\n\t\t\t}\n\t\t\tresult.add(`\\n// EXPORTS\\n`);\n\t\t\tresult.add(\n\t\t\t\t`${RuntimeGlobals.definePropertyGetters}(${\n\t\t\t\t\tthis.exportsArgument\n\t\t\t\t}, {${definitions.join(\",\")}\\n});\\n`\n\t\t\t);\n\t\t}\n\n\t\t// list unused exports\n\t\tif (unusedExports.size > 0) {\n\t\t\tresult.add(\n\t\t\t\t`\\n// UNUSED EXPORTS: ${joinIterableWithComma(unusedExports)}\\n`\n\t\t\t);\n\t\t}\n\n\t\t// generate namespace objects\n\t\tconst namespaceObjectSources = new Map();\n\t\tfor (const info of neededNamespaceObjects) {\n\t\t\tif (info.namespaceExportSymbol) continue;\n\t\t\tconst nsObj = [];\n\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(info.module);\n\t\t\tfor (const exportInfo of exportsInfo.orderedExports) {\n\t\t\t\tif (exportInfo.provided === false) continue;\n\t\t\t\tconst usedName = exportInfo.getUsedName(undefined, runtime);\n\t\t\t\tif (usedName) {\n\t\t\t\t\tconst finalName = getFinalName(\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\tinfo,\n\t\t\t\t\t\t[exportInfo.name],\n\t\t\t\t\t\tmoduleToInfoMap,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\trequestShortener,\n\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\tneededNamespaceObjects,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tundefined,\n\t\t\t\t\t\tinfo.module.buildMeta.strictHarmonyModule,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t);\n\t\t\t\t\tnsObj.push(\n\t\t\t\t\t\t`\\n ${JSON.stringify(\n\t\t\t\t\t\t\tusedName\n\t\t\t\t\t\t)}: ${runtimeTemplate.returningFunction(finalName)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst name = info.namespaceObjectName;\n\t\t\tconst defineGetters =\n\t\t\t\tnsObj.length > 0\n\t\t\t\t\t? `${RuntimeGlobals.definePropertyGetters}(${name}, {${nsObj.join(\n\t\t\t\t\t\t\t\",\"\n\t\t\t\t\t )}\\n});\\n`\n\t\t\t\t\t: \"\";\n\t\t\tif (nsObj.length > 0)\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.definePropertyGetters);\n\t\t\tnamespaceObjectSources.set(\n\t\t\t\tinfo,\n\t\t\t\t`\n// NAMESPACE OBJECT: ${info.module.readableIdentifier(requestShortener)}\nvar ${name} = {};\n${RuntimeGlobals.makeNamespaceObject}(${name});\n${defineGetters}`\n\t\t\t);\n\t\t\truntimeRequirements.add(RuntimeGlobals.makeNamespaceObject);\n\t\t}\n\n\t\t// define required namespace objects (must be before evaluation modules)\n\t\tfor (const info of modulesWithInfo) {\n\t\t\tif (info.type === \"concatenated\") {\n\t\t\t\tconst source = namespaceObjectSources.get(info);\n\t\t\t\tif (!source) continue;\n\t\t\t\tresult.add(source);\n\t\t\t}\n\t\t}\n\n\t\tconst chunkInitFragments = [];\n\n\t\t// evaluate modules in order\n\t\tfor (const rawInfo of modulesWithInfo) {\n\t\t\tlet name;\n\t\t\tlet isConditional = false;\n\t\t\tconst info = rawInfo.type === \"reference\" ? rawInfo.target : rawInfo;\n\t\t\tswitch (info.type) {\n\t\t\t\tcase \"concatenated\": {\n\t\t\t\t\tresult.add(\n\t\t\t\t\t\t`\\n;// CONCATENATED MODULE: ${info.module.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)}\\n`\n\t\t\t\t\t);\n\t\t\t\t\tresult.add(info.source);\n\t\t\t\t\tif (info.chunkInitFragments) {\n\t\t\t\t\t\tfor (const f of info.chunkInitFragments) chunkInitFragments.push(f);\n\t\t\t\t\t}\n\t\t\t\t\tif (info.runtimeRequirements) {\n\t\t\t\t\t\tfor (const r of info.runtimeRequirements) {\n\t\t\t\t\t\t\truntimeRequirements.add(r);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tname = info.namespaceObjectName;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"external\": {\n\t\t\t\t\tresult.add(\n\t\t\t\t\t\t`\\n// EXTERNAL MODULE: ${info.module.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)}\\n`\n\t\t\t\t\t);\n\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.require);\n\t\t\t\t\tconst { runtimeCondition } =\n\t\t\t\t\t\t/** @type {ExternalModuleInfo | ReferenceToModuleInfo} */ (rawInfo);\n\t\t\t\t\tconst condition = runtimeTemplate.runtimeConditionExpression({\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\truntimeCondition,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t});\n\t\t\t\t\tif (condition !== \"true\") {\n\t\t\t\t\t\tisConditional = true;\n\t\t\t\t\t\tresult.add(`if (${condition}) {\\n`);\n\t\t\t\t\t}\n\t\t\t\t\tresult.add(\n\t\t\t\t\t\t`var ${info.name} = __webpack_require__(${JSON.stringify(\n\t\t\t\t\t\t\tchunkGraph.getModuleId(info.module)\n\t\t\t\t\t\t)});`\n\t\t\t\t\t);\n\t\t\t\t\tname = info.name;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\t// @ts-expect-error never is expected here\n\t\t\t\t\tthrow new Error(`Unsupported concatenation entry type ${info.type}`);\n\t\t\t}\n\t\t\tif (info.interopNamespaceObjectUsed) {\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\tresult.add(\n\t\t\t\t\t`\\nvar ${info.interopNamespaceObjectName} = /*#__PURE__*/${RuntimeGlobals.createFakeNamespaceObject}(${name}, 2);`\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (info.interopNamespaceObject2Used) {\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);\n\t\t\t\tresult.add(\n\t\t\t\t\t`\\nvar ${info.interopNamespaceObject2Name} = /*#__PURE__*/${RuntimeGlobals.createFakeNamespaceObject}(${name});`\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (info.interopDefaultAccessUsed) {\n\t\t\t\truntimeRequirements.add(RuntimeGlobals.compatGetDefaultExport);\n\t\t\t\tresult.add(\n\t\t\t\t\t`\\nvar ${info.interopDefaultAccessName} = /*#__PURE__*/${RuntimeGlobals.compatGetDefaultExport}(${name});`\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (isConditional) {\n\t\t\t\tresult.add(\"\\n}\");\n\t\t\t}\n\t\t}\n\n\t\tconst data = new Map();\n\t\tif (chunkInitFragments.length > 0)\n\t\t\tdata.set(\"chunkInitFragments\", chunkInitFragments);\n\t\tdata.set(\"topLevelDeclarations\", topLevelDeclarations);\n\n\t\t/** @type {CodeGenerationResult} */\n\t\tconst resultEntry = {\n\t\t\tsources: new Map([[\"javascript\", new CachedSource(result)]]),\n\t\t\tdata,\n\t\t\truntimeRequirements\n\t\t};\n\n\t\treturn resultEntry;\n\t}\n\n\t/**\n\t * @param {Map<Module, ModuleInfo>} modulesMap modulesMap\n\t * @param {ModuleInfo} info info\n\t * @param {DependencyTemplates} dependencyTemplates dependencyTemplates\n\t * @param {RuntimeTemplate} runtimeTemplate runtimeTemplate\n\t * @param {ModuleGraph} moduleGraph moduleGraph\n\t * @param {ChunkGraph} chunkGraph chunkGraph\n\t * @param {RuntimeSpec} runtime runtime\n\t * @param {CodeGenerationResults} codeGenerationResults codeGenerationResults\n\t */\n\t_analyseModule(\n\t\tmodulesMap,\n\t\tinfo,\n\t\tdependencyTemplates,\n\t\truntimeTemplate,\n\t\tmoduleGraph,\n\t\tchunkGraph,\n\t\truntime,\n\t\tcodeGenerationResults\n\t) {\n\t\tif (info.type === \"concatenated\") {\n\t\t\tconst m = info.module;\n\t\t\ttry {\n\t\t\t\t// Create a concatenation scope to track and capture information\n\t\t\t\tconst concatenationScope = new ConcatenationScope(modulesMap, info);\n\n\t\t\t\t// TODO cache codeGeneration results\n\t\t\t\tconst codeGenResult = m.codeGeneration({\n\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\truntimeTemplate,\n\t\t\t\t\tmoduleGraph,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntime,\n\t\t\t\t\tconcatenationScope,\n\t\t\t\t\tcodeGenerationResults,\n\t\t\t\t\tsourceTypes: TYPES\n\t\t\t\t});\n\t\t\t\tconst source = codeGenResult.sources.get(\"javascript\");\n\t\t\t\tconst data = codeGenResult.data;\n\t\t\t\tconst chunkInitFragments = data && data.get(\"chunkInitFragments\");\n\t\t\t\tconst code = source.source().toString();\n\t\t\t\tlet ast;\n\t\t\t\ttry {\n\t\t\t\t\tast = JavascriptParser._parse(code, {\n\t\t\t\t\t\tsourceType: \"module\"\n\t\t\t\t\t});\n\t\t\t\t} catch (err) {\n\t\t\t\t\tif (\n\t\t\t\t\t\terr.loc &&\n\t\t\t\t\t\ttypeof err.loc === \"object\" &&\n\t\t\t\t\t\ttypeof err.loc.line === \"number\"\n\t\t\t\t\t) {\n\t\t\t\t\t\tconst lineNumber = err.loc.line;\n\t\t\t\t\t\tconst lines = code.split(\"\\n\");\n\t\t\t\t\t\terr.message +=\n\t\t\t\t\t\t\t\"\\n| \" +\n\t\t\t\t\t\t\tlines\n\t\t\t\t\t\t\t\t.slice(Math.max(0, lineNumber - 3), lineNumber + 2)\n\t\t\t\t\t\t\t\t.join(\"\\n| \");\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\t\t\t\tconst scopeManager = eslintScope.analyze(ast, {\n\t\t\t\t\tecmaVersion: 6,\n\t\t\t\t\tsourceType: \"module\",\n\t\t\t\t\toptimistic: true,\n\t\t\t\t\tignoreEval: true,\n\t\t\t\t\timpliedStrict: true\n\t\t\t\t});\n\t\t\t\tconst globalScope = scopeManager.acquire(ast);\n\t\t\t\tconst moduleScope = globalScope.childScopes[0];\n\t\t\t\tconst resultSource = new ReplaceSource(source);\n\t\t\t\tinfo.runtimeRequirements = codeGenResult.runtimeRequirements;\n\t\t\t\tinfo.ast = ast;\n\t\t\t\tinfo.internalSource = source;\n\t\t\t\tinfo.source = resultSource;\n\t\t\t\tinfo.chunkInitFragments = chunkInitFragments;\n\t\t\t\tinfo.globalScope = globalScope;\n\t\t\t\tinfo.moduleScope = moduleScope;\n\t\t\t} catch (err) {\n\t\t\t\terr.message += `\\nwhile analyzing module ${m.identifier()} for concatenation`;\n\t\t\t\tthrow err;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {RuntimeSpec} runtime the runtime\n\t * @returns {[ModuleInfoOrReference[], Map<Module, ModuleInfo>]} module info items\n\t */\n\t_getModulesWithInfo(moduleGraph, runtime) {\n\t\tconst orderedConcatenationList = this._createConcatenationList(\n\t\t\tthis.rootModule,\n\t\t\tthis._modules,\n\t\t\truntime,\n\t\t\tmoduleGraph\n\t\t);\n\t\t/** @type {Map<Module, ModuleInfo>} */\n\t\tconst map = new Map();\n\t\tconst list = orderedConcatenationList.map((info, index) => {\n\t\t\tlet item = map.get(info.module);\n\t\t\tif (item === undefined) {\n\t\t\t\tswitch (info.type) {\n\t\t\t\t\tcase \"concatenated\":\n\t\t\t\t\t\titem = {\n\t\t\t\t\t\t\ttype: \"concatenated\",\n\t\t\t\t\t\t\tmodule: info.module,\n\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\tast: undefined,\n\t\t\t\t\t\t\tinternalSource: undefined,\n\t\t\t\t\t\t\truntimeRequirements: undefined,\n\t\t\t\t\t\t\tsource: undefined,\n\t\t\t\t\t\t\tglobalScope: undefined,\n\t\t\t\t\t\t\tmoduleScope: undefined,\n\t\t\t\t\t\t\tinternalNames: new Map(),\n\t\t\t\t\t\t\texportMap: undefined,\n\t\t\t\t\t\t\trawExportMap: undefined,\n\t\t\t\t\t\t\tnamespaceExportSymbol: undefined,\n\t\t\t\t\t\t\tnamespaceObjectName: undefined,\n\t\t\t\t\t\t\tinteropNamespaceObjectUsed: false,\n\t\t\t\t\t\t\tinteropNamespaceObjectName: undefined,\n\t\t\t\t\t\t\tinteropNamespaceObject2Used: false,\n\t\t\t\t\t\t\tinteropNamespaceObject2Name: undefined,\n\t\t\t\t\t\t\tinteropDefaultAccessUsed: false,\n\t\t\t\t\t\t\tinteropDefaultAccessName: undefined\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"external\":\n\t\t\t\t\t\titem = {\n\t\t\t\t\t\t\ttype: \"external\",\n\t\t\t\t\t\t\tmodule: info.module,\n\t\t\t\t\t\t\truntimeCondition: info.runtimeCondition,\n\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\tname: undefined,\n\t\t\t\t\t\t\tinteropNamespaceObjectUsed: false,\n\t\t\t\t\t\t\tinteropNamespaceObjectName: undefined,\n\t\t\t\t\t\t\tinteropNamespaceObject2Used: false,\n\t\t\t\t\t\t\tinteropNamespaceObject2Name: undefined,\n\t\t\t\t\t\t\tinteropDefaultAccessUsed: false,\n\t\t\t\t\t\t\tinteropDefaultAccessName: undefined\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Unsupported concatenation entry type ${info.type}`\n\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tmap.set(item.module, item);\n\t\t\t\treturn item;\n\t\t\t} else {\n\t\t\t\t/** @type {ReferenceToModuleInfo} */\n\t\t\t\tconst ref = {\n\t\t\t\t\ttype: \"reference\",\n\t\t\t\t\truntimeCondition: info.runtimeCondition,\n\t\t\t\t\ttarget: item\n\t\t\t\t};\n\t\t\t\treturn ref;\n\t\t\t}\n\t\t});\n\t\treturn [list, map];\n\t}\n\n\tfindNewName(oldName, usedNamed1, usedNamed2, extraInfo) {\n\t\tlet name = oldName;\n\n\t\tif (name === ConcatenationScope.DEFAULT_EXPORT) {\n\t\t\tname = \"\";\n\t\t}\n\t\tif (name === ConcatenationScope.NAMESPACE_OBJECT_EXPORT) {\n\t\t\tname = \"namespaceObject\";\n\t\t}\n\n\t\t// Remove uncool stuff\n\t\textraInfo = extraInfo.replace(\n\t\t\t/\\.+\\/|(\\/index)?\\.([a-zA-Z0-9]{1,4})($|\\s|\\?)|\\s*\\+\\s*\\d+\\s*modules/g,\n\t\t\t\"\"\n\t\t);\n\n\t\tconst splittedInfo = extraInfo.split(\"/\");\n\t\twhile (splittedInfo.length) {\n\t\t\tname = splittedInfo.pop() + (name ? \"_\" + name : \"\");\n\t\t\tconst nameIdent = Template.toIdentifier(name);\n\t\t\tif (\n\t\t\t\t!usedNamed1.has(nameIdent) &&\n\t\t\t\t(!usedNamed2 || !usedNamed2.has(nameIdent))\n\t\t\t)\n\t\t\t\treturn nameIdent;\n\t\t}\n\n\t\tlet i = 0;\n\t\tlet nameWithNumber = Template.toIdentifier(`${name}_${i}`);\n\t\twhile (\n\t\t\tusedNamed1.has(nameWithNumber) ||\n\t\t\t(usedNamed2 && usedNamed2.has(nameWithNumber))\n\t\t) {\n\t\t\ti++;\n\t\t\tnameWithNumber = Template.toIdentifier(`${name}_${i}`);\n\t\t}\n\t\treturn nameWithNumber;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\tconst { chunkGraph, runtime } = context;\n\t\tfor (const info of this._createConcatenationList(\n\t\t\tthis.rootModule,\n\t\t\tthis._modules,\n\t\t\tintersectRuntime(runtime, this._runtime),\n\t\t\tchunkGraph.moduleGraph\n\t\t)) {\n\t\t\tswitch (info.type) {\n\t\t\t\tcase \"concatenated\":\n\t\t\t\t\tinfo.module.updateHash(hash, context);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"external\":\n\t\t\t\t\thash.update(`${chunkGraph.getModuleId(info.module)}`);\n\t\t\t\t\t// TODO runtimeCondition\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst obj = new ConcatenatedModule({\n\t\t\tidentifier: undefined,\n\t\t\trootModule: undefined,\n\t\t\tmodules: undefined,\n\t\t\truntime: undefined\n\t\t});\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(ConcatenatedModule, \"webpack/lib/optimize/ConcatenatedModule\");\n\nmodule.exports = ConcatenatedModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/ConcatenatedModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_BASIC } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass EnsureChunkConditionsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"EnsureChunkConditionsPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst handler = chunks => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t// These sets are hoisted here to save memory\n\t\t\t\t\t// They are cleared at the end of every loop\n\t\t\t\t\t/** @type {Set<Chunk>} */\n\t\t\t\t\tconst sourceChunks = new Set();\n\t\t\t\t\t/** @type {Set<ChunkGroup>} */\n\t\t\t\t\tconst chunkGroups = new Set();\n\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\tif (!module.hasChunkCondition()) continue;\n\t\t\t\t\t\tfor (const chunk of chunkGraph.getModuleChunksIterable(module)) {\n\t\t\t\t\t\t\tif (!module.chunkCondition(chunk, compilation)) {\n\t\t\t\t\t\t\t\tsourceChunks.add(chunk);\n\t\t\t\t\t\t\t\tfor (const group of chunk.groupsIterable) {\n\t\t\t\t\t\t\t\t\tchunkGroups.add(group);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sourceChunks.size === 0) continue;\n\t\t\t\t\t\t/** @type {Set<Chunk>} */\n\t\t\t\t\t\tconst targetChunks = new Set();\n\t\t\t\t\t\tchunkGroupLoop: for (const chunkGroup of chunkGroups) {\n\t\t\t\t\t\t\t// Can module be placed in a chunk of this group?\n\t\t\t\t\t\t\tfor (const chunk of chunkGroup.chunks) {\n\t\t\t\t\t\t\t\tif (module.chunkCondition(chunk, compilation)) {\n\t\t\t\t\t\t\t\t\ttargetChunks.add(chunk);\n\t\t\t\t\t\t\t\t\tcontinue chunkGroupLoop;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// We reached the entrypoint: fail\n\t\t\t\t\t\t\tif (chunkGroup.isInitial()) {\n\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\"Cannot fullfil chunk condition of \" + module.identifier()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Try placing in all parents\n\t\t\t\t\t\t\tfor (const group of chunkGroup.parentsIterable) {\n\t\t\t\t\t\t\t\tchunkGroups.add(group);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const sourceChunk of sourceChunks) {\n\t\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(sourceChunk, module);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const targetChunk of targetChunks) {\n\t\t\t\t\t\t\tchunkGraph.connectChunkAndModule(targetChunk, module);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsourceChunks.clear();\n\t\t\t\t\t\tchunkGroups.clear();\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"EnsureChunkConditionsPlugin\",\n\t\t\t\t\t\tstage: STAGE_BASIC\n\t\t\t\t\t},\n\t\t\t\t\thandler\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = EnsureChunkConditionsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js ***! \***********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n\nclass FlagIncludedChunksPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"FlagIncludedChunksPlugin\", compilation => {\n\t\t\tcompilation.hooks.optimizeChunkIds.tap(\n\t\t\t\t\"FlagIncludedChunksPlugin\",\n\t\t\t\tchunks => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\n\t\t\t\t\t// prepare two bit integers for each module\n\t\t\t\t\t// 2^31 is the max number represented as SMI in v8\n\t\t\t\t\t// we want the bits distributed this way:\n\t\t\t\t\t// the bit 2^31 is pretty rar and only one module should get it\n\t\t\t\t\t// so it has a probability of 1 / modulesCount\n\t\t\t\t\t// the first bit (2^0) is the easiest and every module could get it\n\t\t\t\t\t// if it doesn't get a better bit\n\t\t\t\t\t// from bit 2^n to 2^(n+1) there is a probability of p\n\t\t\t\t\t// so 1 / modulesCount == p^31\n\t\t\t\t\t// <=> p = sqrt31(1 / modulesCount)\n\t\t\t\t\t// so we use a modulo of 1 / sqrt31(1 / modulesCount)\n\t\t\t\t\t/** @type {WeakMap<Module, number>} */\n\t\t\t\t\tconst moduleBits = new WeakMap();\n\t\t\t\t\tconst modulesCount = compilation.modules.size;\n\n\t\t\t\t\t// precalculate the modulo values for each bit\n\t\t\t\t\tconst modulo = 1 / Math.pow(1 / modulesCount, 1 / 31);\n\t\t\t\t\tconst modulos = Array.from(\n\t\t\t\t\t\t{ length: 31 },\n\t\t\t\t\t\t(x, i) => Math.pow(modulo, i) | 0\n\t\t\t\t\t);\n\n\t\t\t\t\t// iterate all modules to generate bit values\n\t\t\t\t\tlet i = 0;\n\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\tlet bit = 30;\n\t\t\t\t\t\twhile (i % modulos[bit] !== 0) {\n\t\t\t\t\t\t\tbit--;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmoduleBits.set(module, 1 << bit);\n\t\t\t\t\t\ti++;\n\t\t\t\t\t}\n\n\t\t\t\t\t// iterate all chunks to generate bitmaps\n\t\t\t\t\t/** @type {WeakMap<Chunk, number>} */\n\t\t\t\t\tconst chunkModulesHash = new WeakMap();\n\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\tlet hash = 0;\n\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\thash |= moduleBits.get(module);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchunkModulesHash.set(chunk, hash);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const chunkA of chunks) {\n\t\t\t\t\t\tconst chunkAHash = chunkModulesHash.get(chunkA);\n\t\t\t\t\t\tconst chunkAModulesCount =\n\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunkA);\n\t\t\t\t\t\tif (chunkAModulesCount === 0) continue;\n\t\t\t\t\t\tlet bestModule = undefined;\n\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunkA)) {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tbestModule === undefined ||\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfModuleChunks(bestModule) >\n\t\t\t\t\t\t\t\t\tchunkGraph.getNumberOfModuleChunks(module)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\tbestModule = module;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tloopB: for (const chunkB of chunkGraph.getModuleChunksIterable(\n\t\t\t\t\t\t\tbestModule\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t// as we iterate the same iterables twice\n\t\t\t\t\t\t\t// skip if we find ourselves\n\t\t\t\t\t\t\tif (chunkA === chunkB) continue;\n\n\t\t\t\t\t\t\tconst chunkBModulesCount =\n\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunkB);\n\n\t\t\t\t\t\t\t// ids for empty chunks are not included\n\t\t\t\t\t\t\tif (chunkBModulesCount === 0) continue;\n\n\t\t\t\t\t\t\t// instead of swapping A and B just bail\n\t\t\t\t\t\t\t// as we loop twice the current A will be B and B then A\n\t\t\t\t\t\t\tif (chunkAModulesCount > chunkBModulesCount) continue;\n\n\t\t\t\t\t\t\t// is chunkA in chunkB?\n\n\t\t\t\t\t\t\t// we do a cheap check for the hash value\n\t\t\t\t\t\t\tconst chunkBHash = chunkModulesHash.get(chunkB);\n\t\t\t\t\t\t\tif ((chunkBHash & chunkAHash) !== chunkAHash) continue;\n\n\t\t\t\t\t\t\t// compare all modules\n\t\t\t\t\t\t\tfor (const m of chunkGraph.getChunkModulesIterable(chunkA)) {\n\t\t\t\t\t\t\t\tif (!chunkGraph.isModuleInChunk(m, chunkB)) continue loopB;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchunkB.ids.push(chunkA.id);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = FlagIncludedChunksPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/InnerGraph.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/optimize/InnerGraph.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\n\n/** @typedef {import(\"estree\").Node} AnyNode */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleGraphConnection\").ConnectionState} ConnectionState */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/** @typedef {Map<TopLevelSymbol | null, Set<string | TopLevelSymbol> | true>} InnerGraph */\n/** @typedef {function(boolean | Set<string> | undefined): void} UsageCallback */\n\n/**\n * @typedef {Object} StateObject\n * @property {InnerGraph} innerGraph\n * @property {TopLevelSymbol=} currentTopLevelSymbol\n * @property {Map<TopLevelSymbol, Set<UsageCallback>>} usageCallbackMap\n */\n\n/** @typedef {false|StateObject} State */\n\n/** @type {WeakMap<ParserState, State>} */\nconst parserStateMap = new WeakMap();\nconst topLevelSymbolTag = Symbol(\"top level symbol\");\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {State} state\n */\nfunction getState(parserState) {\n\treturn parserStateMap.get(parserState);\n}\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.bailout = parserState => {\n\tparserStateMap.set(parserState, false);\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {void}\n */\nexports.enable = parserState => {\n\tconst state = parserStateMap.get(parserState);\n\tif (state === false) {\n\t\treturn;\n\t}\n\tparserStateMap.set(parserState, {\n\t\tinnerGraph: new Map(),\n\t\tcurrentTopLevelSymbol: undefined,\n\t\tusageCallbackMap: new Map()\n\t});\n};\n\n/**\n * @param {ParserState} parserState parser state\n * @returns {boolean} true, when enabled\n */\nexports.isEnabled = parserState => {\n\tconst state = parserStateMap.get(parserState);\n\treturn !!state;\n};\n\n/**\n * @param {ParserState} state parser state\n * @param {TopLevelSymbol | null} symbol the symbol, or null for all symbols\n * @param {string | TopLevelSymbol | true} usage usage data\n * @returns {void}\n */\nexports.addUsage = (state, symbol, usage) => {\n\tconst innerGraphState = getState(state);\n\n\tif (innerGraphState) {\n\t\tconst { innerGraph } = innerGraphState;\n\t\tconst info = innerGraph.get(symbol);\n\t\tif (usage === true) {\n\t\t\tinnerGraph.set(symbol, true);\n\t\t} else if (info === undefined) {\n\t\t\tinnerGraph.set(symbol, new Set([usage]));\n\t\t} else if (info !== true) {\n\t\t\tinfo.add(usage);\n\t\t}\n\t}\n};\n\n/**\n * @param {JavascriptParser} parser the parser\n * @param {string} name name of variable\n * @param {string | TopLevelSymbol | true} usage usage data\n * @returns {void}\n */\nexports.addVariableUsage = (parser, name, usage) => {\n\tconst symbol =\n\t\t/** @type {TopLevelSymbol} */ (\n\t\t\tparser.getTagData(name, topLevelSymbolTag)\n\t\t) || exports.tagTopLevelSymbol(parser, name);\n\tif (symbol) {\n\t\texports.addUsage(parser.state, symbol, usage);\n\t}\n};\n\n/**\n * @param {ParserState} state parser state\n * @returns {void}\n */\nexports.inferDependencyUsage = state => {\n\tconst innerGraphState = getState(state);\n\n\tif (!innerGraphState) {\n\t\treturn;\n\t}\n\n\tconst { innerGraph, usageCallbackMap } = innerGraphState;\n\tconst processed = new Map();\n\t// flatten graph to terminal nodes (string, undefined or true)\n\tconst nonTerminal = new Set(innerGraph.keys());\n\twhile (nonTerminal.size > 0) {\n\t\tfor (const key of nonTerminal) {\n\t\t\t/** @type {Set<string|TopLevelSymbol> | true} */\n\t\t\tlet newSet = new Set();\n\t\t\tlet isTerminal = true;\n\t\t\tconst value = innerGraph.get(key);\n\t\t\tlet alreadyProcessed = processed.get(key);\n\t\t\tif (alreadyProcessed === undefined) {\n\t\t\t\talreadyProcessed = new Set();\n\t\t\t\tprocessed.set(key, alreadyProcessed);\n\t\t\t}\n\t\t\tif (value !== true && value !== undefined) {\n\t\t\t\tfor (const item of value) {\n\t\t\t\t\talreadyProcessed.add(item);\n\t\t\t\t}\n\t\t\t\tfor (const item of value) {\n\t\t\t\t\tif (typeof item === \"string\") {\n\t\t\t\t\t\tnewSet.add(item);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst itemValue = innerGraph.get(item);\n\t\t\t\t\t\tif (itemValue === true) {\n\t\t\t\t\t\t\tnewSet = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (itemValue !== undefined) {\n\t\t\t\t\t\t\tfor (const i of itemValue) {\n\t\t\t\t\t\t\t\tif (i === key) continue;\n\t\t\t\t\t\t\t\tif (alreadyProcessed.has(i)) continue;\n\t\t\t\t\t\t\t\tnewSet.add(i);\n\t\t\t\t\t\t\t\tif (typeof i !== \"string\") {\n\t\t\t\t\t\t\t\t\tisTerminal = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (newSet === true) {\n\t\t\t\t\tinnerGraph.set(key, true);\n\t\t\t\t} else if (newSet.size === 0) {\n\t\t\t\t\tinnerGraph.set(key, undefined);\n\t\t\t\t} else {\n\t\t\t\t\tinnerGraph.set(key, newSet);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isTerminal) {\n\t\t\t\tnonTerminal.delete(key);\n\n\t\t\t\t// For the global key, merge with all other keys\n\t\t\t\tif (key === null) {\n\t\t\t\t\tconst globalValue = innerGraph.get(null);\n\t\t\t\t\tif (globalValue) {\n\t\t\t\t\t\tfor (const [key, value] of innerGraph) {\n\t\t\t\t\t\t\tif (key !== null && value !== true) {\n\t\t\t\t\t\t\t\tif (globalValue === true) {\n\t\t\t\t\t\t\t\t\tinnerGraph.set(key, true);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst newSet = new Set(value);\n\t\t\t\t\t\t\t\t\tfor (const item of globalValue) {\n\t\t\t\t\t\t\t\t\t\tnewSet.add(item);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinnerGraph.set(key, newSet);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @type {Map<Dependency, true | Set<string>>} */\n\tfor (const [symbol, callbacks] of usageCallbackMap) {\n\t\tconst usage = /** @type {true | Set<string> | undefined} */ (\n\t\t\tinnerGraph.get(symbol)\n\t\t);\n\t\tfor (const callback of callbacks) {\n\t\t\tcallback(usage === undefined ? false : usage);\n\t\t}\n\t}\n};\n\n/**\n * @param {ParserState} state parser state\n * @param {UsageCallback} onUsageCallback on usage callback\n */\nexports.onUsage = (state, onUsageCallback) => {\n\tconst innerGraphState = getState(state);\n\n\tif (innerGraphState) {\n\t\tconst { usageCallbackMap, currentTopLevelSymbol } = innerGraphState;\n\t\tif (currentTopLevelSymbol) {\n\t\t\tlet callbacks = usageCallbackMap.get(currentTopLevelSymbol);\n\n\t\t\tif (callbacks === undefined) {\n\t\t\t\tcallbacks = new Set();\n\t\t\t\tusageCallbackMap.set(currentTopLevelSymbol, callbacks);\n\t\t\t}\n\n\t\t\tcallbacks.add(onUsageCallback);\n\t\t} else {\n\t\t\tonUsageCallback(true);\n\t\t}\n\t} else {\n\t\tonUsageCallback(undefined);\n\t}\n};\n\n/**\n * @param {ParserState} state parser state\n * @param {TopLevelSymbol} symbol the symbol\n */\nexports.setTopLevelSymbol = (state, symbol) => {\n\tconst innerGraphState = getState(state);\n\n\tif (innerGraphState) {\n\t\tinnerGraphState.currentTopLevelSymbol = symbol;\n\t}\n};\n\n/**\n * @param {ParserState} state parser state\n * @returns {TopLevelSymbol|void} usage data\n */\nexports.getTopLevelSymbol = state => {\n\tconst innerGraphState = getState(state);\n\n\tif (innerGraphState) {\n\t\treturn innerGraphState.currentTopLevelSymbol;\n\t}\n};\n\n/**\n * @param {JavascriptParser} parser parser\n * @param {string} name name of variable\n * @returns {TopLevelSymbol} symbol\n */\nexports.tagTopLevelSymbol = (parser, name) => {\n\tconst innerGraphState = getState(parser.state);\n\tif (!innerGraphState) return;\n\n\tparser.defineVariable(name);\n\n\tconst existingTag = /** @type {TopLevelSymbol} */ (\n\t\tparser.getTagData(name, topLevelSymbolTag)\n\t);\n\tif (existingTag) {\n\t\treturn existingTag;\n\t}\n\n\tconst fn = new TopLevelSymbol(name);\n\tparser.tagVariable(name, topLevelSymbolTag, fn);\n\treturn fn;\n};\n\n/**\n * @param {Dependency} dependency the dependency\n * @param {Set<string> | boolean} usedByExports usedByExports info\n * @param {ModuleGraph} moduleGraph moduleGraph\n * @param {RuntimeSpec} runtime runtime\n * @returns {boolean} false, when unused. Otherwise true\n */\nexports.isDependencyUsedByExports = (\n\tdependency,\n\tusedByExports,\n\tmoduleGraph,\n\truntime\n) => {\n\tif (usedByExports === false) return false;\n\tif (usedByExports !== true && usedByExports !== undefined) {\n\t\tconst selfModule = moduleGraph.getParentModule(dependency);\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(selfModule);\n\t\tlet used = false;\n\t\tfor (const exportName of usedByExports) {\n\t\t\tif (exportsInfo.getUsed(exportName, runtime) !== UsageState.Unused)\n\t\t\t\tused = true;\n\t\t}\n\t\tif (!used) return false;\n\t}\n\treturn true;\n};\n\n/**\n * @param {Dependency} dependency the dependency\n * @param {Set<string> | boolean} usedByExports usedByExports info\n * @param {ModuleGraph} moduleGraph moduleGraph\n * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n */\nexports.getDependencyUsedByExportsCondition = (\n\tdependency,\n\tusedByExports,\n\tmoduleGraph\n) => {\n\tif (usedByExports === false) return false;\n\tif (usedByExports !== true && usedByExports !== undefined) {\n\t\tconst selfModule = moduleGraph.getParentModule(dependency);\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(selfModule);\n\t\treturn (connections, runtime) => {\n\t\t\tfor (const exportName of usedByExports) {\n\t\t\t\tif (exportsInfo.getUsed(exportName, runtime) !== UsageState.Unused)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n\treturn null;\n};\n\nclass TopLevelSymbol {\n\t/**\n\t * @param {string} name name of the variable\n\t */\n\tconstructor(name) {\n\t\tthis.name = name;\n\t}\n}\n\nexports.TopLevelSymbol = TopLevelSymbol;\nexports.topLevelSymbolTag = topLevelSymbolTag;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/InnerGraph.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/InnerGraphPlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/InnerGraphPlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst PureExpressionDependency = __webpack_require__(/*! ../dependencies/PureExpressionDependency */ \"./node_modules/webpack/lib/dependencies/PureExpressionDependency.js\");\nconst InnerGraph = __webpack_require__(/*! ./InnerGraph */ \"./node_modules/webpack/lib/optimize/InnerGraph.js\");\n\n/** @typedef {import(\"estree\").ClassDeclaration} ClassDeclarationNode */\n/** @typedef {import(\"estree\").ClassExpression} ClassExpressionNode */\n/** @typedef {import(\"estree\").Node} Node */\n/** @typedef {import(\"estree\").VariableDeclarator} VariableDeclaratorNode */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../dependencies/HarmonyImportSpecifierDependency\")} HarmonyImportSpecifierDependency */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n/** @typedef {import(\"./InnerGraph\").InnerGraph} InnerGraph */\n/** @typedef {import(\"./InnerGraph\").TopLevelSymbol} TopLevelSymbol */\n\nconst { topLevelSymbolTag } = InnerGraph;\n\nclass InnerGraphPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"InnerGraphPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst logger = compilation.getLogger(\"webpack.InnerGraphPlugin\");\n\n\t\t\t\tcompilation.dependencyTemplates.set(\n\t\t\t\t\tPureExpressionDependency,\n\t\t\t\t\tnew PureExpressionDependency.Template()\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t * @param {Object} parserOptions options\n\t\t\t\t * @returns {void}\n\t\t\t\t */\n\t\t\t\tconst handler = (parser, parserOptions) => {\n\t\t\t\t\tconst onUsageSuper = sup => {\n\t\t\t\t\t\tInnerGraph.onUsage(parser.state, usedByExports => {\n\t\t\t\t\t\t\tswitch (usedByExports) {\n\t\t\t\t\t\t\t\tcase undefined:\n\t\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\tdefault: {\n\t\t\t\t\t\t\t\t\tconst dep = new PureExpressionDependency(sup.range);\n\t\t\t\t\t\t\t\t\tdep.loc = sup.loc;\n\t\t\t\t\t\t\t\t\tdep.usedByExports = usedByExports;\n\t\t\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tparser.hooks.program.tap(\"InnerGraphPlugin\", () => {\n\t\t\t\t\t\tInnerGraph.enable(parser.state);\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.finish.tap(\"InnerGraphPlugin\", () => {\n\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\n\t\t\t\t\t\tlogger.time(\"infer dependency usage\");\n\t\t\t\t\t\tInnerGraph.inferDependencyUsage(parser.state);\n\t\t\t\t\t\tlogger.timeAggregate(\"infer dependency usage\");\n\t\t\t\t\t});\n\n\t\t\t\t\t// During prewalking the following datastructures are filled with\n\t\t\t\t\t// nodes that have a TopLevelSymbol assigned and\n\t\t\t\t\t// variables are tagged with the assigned TopLevelSymbol\n\n\t\t\t\t\t// We differ 3 types of nodes:\n\t\t\t\t\t// 1. full statements (export default, function declaration)\n\t\t\t\t\t// 2. classes (class declaration, class expression)\n\t\t\t\t\t// 3. variable declarators (const x = ...)\n\n\t\t\t\t\t/** @type {WeakMap<Node, TopLevelSymbol>} */\n\t\t\t\t\tconst statementWithTopLevelSymbol = new WeakMap();\n\t\t\t\t\t/** @type {WeakMap<Node, Node>} */\n\t\t\t\t\tconst statementPurePart = new WeakMap();\n\n\t\t\t\t\t/** @type {WeakMap<ClassExpressionNode | ClassDeclarationNode, TopLevelSymbol>} */\n\t\t\t\t\tconst classWithTopLevelSymbol = new WeakMap();\n\n\t\t\t\t\t/** @type {WeakMap<VariableDeclaratorNode, TopLevelSymbol>} */\n\t\t\t\t\tconst declWithTopLevelSymbol = new WeakMap();\n\t\t\t\t\t/** @type {WeakSet<VariableDeclaratorNode>} */\n\t\t\t\t\tconst pureDeclarators = new WeakSet();\n\n\t\t\t\t\t// The following hooks are used during prewalking:\n\n\t\t\t\t\tparser.hooks.preStatement.tap(\"InnerGraphPlugin\", statement => {\n\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\n\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\tif (statement.type === \"FunctionDeclaration\") {\n\t\t\t\t\t\t\t\tconst name = statement.id ? statement.id.name : \"*default*\";\n\t\t\t\t\t\t\t\tconst fn = InnerGraph.tagTopLevelSymbol(parser, name);\n\t\t\t\t\t\t\t\tstatementWithTopLevelSymbol.set(statement, fn);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.blockPreStatement.tap(\"InnerGraphPlugin\", statement => {\n\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\n\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\tif (statement.type === \"ClassDeclaration\") {\n\t\t\t\t\t\t\t\tconst name = statement.id ? statement.id.name : \"*default*\";\n\t\t\t\t\t\t\t\tconst fn = InnerGraph.tagTopLevelSymbol(parser, name);\n\t\t\t\t\t\t\t\tclassWithTopLevelSymbol.set(statement, fn);\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (statement.type === \"ExportDefaultDeclaration\") {\n\t\t\t\t\t\t\t\tconst name = \"*default*\";\n\t\t\t\t\t\t\t\tconst fn = InnerGraph.tagTopLevelSymbol(parser, name);\n\t\t\t\t\t\t\t\tconst decl = statement.declaration;\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tdecl.type === \"ClassExpression\" ||\n\t\t\t\t\t\t\t\t\tdecl.type === \"ClassDeclaration\"\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tclassWithTopLevelSymbol.set(decl, fn);\n\t\t\t\t\t\t\t\t} else if (parser.isPure(decl, statement.range[0])) {\n\t\t\t\t\t\t\t\t\tstatementWithTopLevelSymbol.set(statement, fn);\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!decl.type.endsWith(\"FunctionExpression\") &&\n\t\t\t\t\t\t\t\t\t\t!decl.type.endsWith(\"Declaration\") &&\n\t\t\t\t\t\t\t\t\t\tdecl.type !== \"Literal\"\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tstatementPurePart.set(statement, decl);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.preDeclarator.tap(\n\t\t\t\t\t\t\"InnerGraphPlugin\",\n\t\t\t\t\t\t(decl, statement) => {\n\t\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tparser.scope.topLevelScope === true &&\n\t\t\t\t\t\t\t\tdecl.init &&\n\t\t\t\t\t\t\t\tdecl.id.type === \"Identifier\"\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst name = decl.id.name;\n\t\t\t\t\t\t\t\tif (decl.init.type === \"ClassExpression\") {\n\t\t\t\t\t\t\t\t\tconst fn = InnerGraph.tagTopLevelSymbol(parser, name);\n\t\t\t\t\t\t\t\t\tclassWithTopLevelSymbol.set(decl.init, fn);\n\t\t\t\t\t\t\t\t} else if (parser.isPure(decl.init, decl.id.range[1])) {\n\t\t\t\t\t\t\t\t\tconst fn = InnerGraph.tagTopLevelSymbol(parser, name);\n\t\t\t\t\t\t\t\t\tdeclWithTopLevelSymbol.set(decl, fn);\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!decl.init.type.endsWith(\"FunctionExpression\") &&\n\t\t\t\t\t\t\t\t\t\tdecl.init.type !== \"Literal\"\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tpureDeclarators.add(decl);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\t// During real walking we set the TopLevelSymbol state to the assigned\n\t\t\t\t\t// TopLevelSymbol by using the fill datastructures.\n\n\t\t\t\t\t// In addition to tracking TopLevelSymbols, we sometimes need to\n\t\t\t\t\t// add a PureExpressionDependency. This is needed to skip execution\n\t\t\t\t\t// of pure expressions, even when they are not dropped due to\n\t\t\t\t\t// minimizing. Otherwise symbols used there might not exist anymore\n\t\t\t\t\t// as they are removed as unused by this optimization\n\n\t\t\t\t\t// When we find a reference to a TopLevelSymbol, we register a\n\t\t\t\t\t// TopLevelSymbol dependency from TopLevelSymbol in state to the\n\t\t\t\t\t// referenced TopLevelSymbol. This way we get a graph of all\n\t\t\t\t\t// TopLevelSymbols.\n\n\t\t\t\t\t// The following hooks are called during walking:\n\n\t\t\t\t\tparser.hooks.statement.tap(\"InnerGraphPlugin\", statement => {\n\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, undefined);\n\n\t\t\t\t\t\t\tconst fn = statementWithTopLevelSymbol.get(statement);\n\t\t\t\t\t\t\tif (fn) {\n\t\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, fn);\n\t\t\t\t\t\t\t\tconst purePart = statementPurePart.get(statement);\n\t\t\t\t\t\t\t\tif (purePart) {\n\t\t\t\t\t\t\t\t\tInnerGraph.onUsage(parser.state, usedByExports => {\n\t\t\t\t\t\t\t\t\t\tswitch (usedByExports) {\n\t\t\t\t\t\t\t\t\t\t\tcase undefined:\n\t\t\t\t\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t\tdefault: {\n\t\t\t\t\t\t\t\t\t\t\t\tconst dep = new PureExpressionDependency(\n\t\t\t\t\t\t\t\t\t\t\t\t\tpurePart.range\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tdep.loc = statement.loc;\n\t\t\t\t\t\t\t\t\t\t\t\tdep.usedByExports = usedByExports;\n\t\t\t\t\t\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.classExtendsExpression.tap(\n\t\t\t\t\t\t\"InnerGraphPlugin\",\n\t\t\t\t\t\t(expr, statement) => {\n\t\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\t\tconst fn = classWithTopLevelSymbol.get(statement);\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tfn &&\n\t\t\t\t\t\t\t\t\tparser.isPure(\n\t\t\t\t\t\t\t\t\t\texpr,\n\t\t\t\t\t\t\t\t\t\tstatement.id ? statement.id.range[1] : statement.range[0]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, fn);\n\t\t\t\t\t\t\t\t\tonUsageSuper(expr);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.classBodyElement.tap(\n\t\t\t\t\t\t\"InnerGraphPlugin\",\n\t\t\t\t\t\t(element, classDefinition) => {\n\t\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\t\tconst fn = classWithTopLevelSymbol.get(classDefinition);\n\t\t\t\t\t\t\t\tif (fn) {\n\t\t\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, undefined);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.classBodyValue.tap(\n\t\t\t\t\t\t\"InnerGraphPlugin\",\n\t\t\t\t\t\t(expression, element, classDefinition) => {\n\t\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\t\tif (parser.scope.topLevelScope === true) {\n\t\t\t\t\t\t\t\tconst fn = classWithTopLevelSymbol.get(classDefinition);\n\t\t\t\t\t\t\t\tif (fn) {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!element.static ||\n\t\t\t\t\t\t\t\t\t\tparser.isPure(\n\t\t\t\t\t\t\t\t\t\t\texpression,\n\t\t\t\t\t\t\t\t\t\t\telement.key ? element.key.range[1] : element.range[0]\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, fn);\n\t\t\t\t\t\t\t\t\t\tif (element.type !== \"MethodDefinition\" && element.static) {\n\t\t\t\t\t\t\t\t\t\t\tInnerGraph.onUsage(parser.state, usedByExports => {\n\t\t\t\t\t\t\t\t\t\t\t\tswitch (usedByExports) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tcase undefined:\n\t\t\t\t\t\t\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefault: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst dep = new PureExpressionDependency(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texpression.range\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdep.loc = expression.loc;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdep.usedByExports = usedByExports;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, undefined);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\tparser.hooks.declarator.tap(\"InnerGraphPlugin\", (decl, statement) => {\n\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\tconst fn = declWithTopLevelSymbol.get(decl);\n\n\t\t\t\t\t\tif (fn) {\n\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, fn);\n\t\t\t\t\t\t\tif (pureDeclarators.has(decl)) {\n\t\t\t\t\t\t\t\tif (decl.init.type === \"ClassExpression\") {\n\t\t\t\t\t\t\t\t\tif (decl.init.superClass) {\n\t\t\t\t\t\t\t\t\t\tonUsageSuper(decl.init.superClass);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tInnerGraph.onUsage(parser.state, usedByExports => {\n\t\t\t\t\t\t\t\t\t\tswitch (usedByExports) {\n\t\t\t\t\t\t\t\t\t\t\tcase undefined:\n\t\t\t\t\t\t\t\t\t\t\tcase true:\n\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t\tdefault: {\n\t\t\t\t\t\t\t\t\t\t\t\tconst dep = new PureExpressionDependency(\n\t\t\t\t\t\t\t\t\t\t\t\t\tdecl.init.range\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tdep.loc = decl.loc;\n\t\t\t\t\t\t\t\t\t\t\t\tdep.usedByExports = usedByExports;\n\t\t\t\t\t\t\t\t\t\t\t\tparser.state.module.addDependency(dep);\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tparser.walkExpression(decl.init);\n\t\t\t\t\t\t\tInnerGraph.setTopLevelSymbol(parser.state, undefined);\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tparser.hooks.expression\n\t\t\t\t\t\t.for(topLevelSymbolTag)\n\t\t\t\t\t\t.tap(\"InnerGraphPlugin\", () => {\n\t\t\t\t\t\t\tconst topLevelSymbol = /** @type {TopLevelSymbol} */ (\n\t\t\t\t\t\t\t\tparser.currentTagData\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst currentTopLevelSymbol = InnerGraph.getTopLevelSymbol(\n\t\t\t\t\t\t\t\tparser.state\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tInnerGraph.addUsage(\n\t\t\t\t\t\t\t\tparser.state,\n\t\t\t\t\t\t\t\ttopLevelSymbol,\n\t\t\t\t\t\t\t\tcurrentTopLevelSymbol || true\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\tparser.hooks.assign\n\t\t\t\t\t\t.for(topLevelSymbolTag)\n\t\t\t\t\t\t.tap(\"InnerGraphPlugin\", expr => {\n\t\t\t\t\t\t\tif (!InnerGraph.isEnabled(parser.state)) return;\n\t\t\t\t\t\t\tif (expr.operator === \"=\") return true;\n\t\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/auto\")\n\t\t\t\t\t.tap(\"InnerGraphPlugin\", handler);\n\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t.for(\"javascript/esm\")\n\t\t\t\t\t.tap(\"InnerGraphPlugin\", handler);\n\n\t\t\t\tcompilation.hooks.finishModules.tap(\"InnerGraphPlugin\", () => {\n\t\t\t\t\tlogger.timeAggregateEnd(\"infer dependency usage\");\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = InnerGraphPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/InnerGraphPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst LazyBucketSortedSet = __webpack_require__(/*! ../util/LazyBucketSortedSet */ \"./node_modules/webpack/lib/util/LazyBucketSortedSet.js\");\nconst { compareChunks } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../../declarations/plugins/optimize/LimitChunkCountPlugin\").LimitChunkCountPluginOptions} LimitChunkCountPluginOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/optimize/LimitChunkCountPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/optimize/LimitChunkCountPlugin.json */ \"./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json\"),\n\t{\n\t\tname: \"Limit Chunk Count Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\n/**\n * @typedef {Object} ChunkCombination\n * @property {boolean} deleted this is set to true when combination was removed\n * @property {number} sizeDiff\n * @property {number} integratedSize\n * @property {Chunk} a\n * @property {Chunk} b\n * @property {number} aIdx\n * @property {number} bIdx\n * @property {number} aSize\n * @property {number} bSize\n */\n\nconst addToSetMap = (map, key, value) => {\n\tconst set = map.get(key);\n\tif (set === undefined) {\n\t\tmap.set(key, new Set([value]));\n\t} else {\n\t\tset.add(value);\n\t}\n};\n\nclass LimitChunkCountPlugin {\n\t/**\n\t * @param {LimitChunkCountPluginOptions=} options options object\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the webpack compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tcompiler.hooks.compilation.tap(\"LimitChunkCountPlugin\", compilation => {\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"LimitChunkCountPlugin\",\n\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t},\n\t\t\t\tchunks => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst maxChunks = options.maxChunks;\n\t\t\t\t\tif (!maxChunks) return;\n\t\t\t\t\tif (maxChunks < 1) return;\n\t\t\t\t\tif (compilation.chunks.size <= maxChunks) return;\n\n\t\t\t\t\tlet remainingChunksToMerge = compilation.chunks.size - maxChunks;\n\n\t\t\t\t\t// order chunks in a deterministic way\n\t\t\t\t\tconst compareChunksWithGraph = compareChunks(chunkGraph);\n\t\t\t\t\tconst orderedChunks = Array.from(chunks).sort(compareChunksWithGraph);\n\n\t\t\t\t\t// create a lazy sorted data structure to keep all combinations\n\t\t\t\t\t// this is large. Size = chunks * (chunks - 1) / 2\n\t\t\t\t\t// It uses a multi layer bucket sort plus normal sort in the last layer\n\t\t\t\t\t// It's also lazy so only accessed buckets are sorted\n\t\t\t\t\tconst combinations = new LazyBucketSortedSet(\n\t\t\t\t\t\t// Layer 1: ordered by largest size benefit\n\t\t\t\t\t\tc => c.sizeDiff,\n\t\t\t\t\t\t(a, b) => b - a,\n\t\t\t\t\t\t// Layer 2: ordered by smallest combined size\n\t\t\t\t\t\tc => c.integratedSize,\n\t\t\t\t\t\t(a, b) => a - b,\n\t\t\t\t\t\t// Layer 3: ordered by position difference in orderedChunk (-> to be deterministic)\n\t\t\t\t\t\tc => c.bIdx - c.aIdx,\n\t\t\t\t\t\t(a, b) => a - b,\n\t\t\t\t\t\t// Layer 4: ordered by position in orderedChunk (-> to be deterministic)\n\t\t\t\t\t\t(a, b) => a.bIdx - b.bIdx\n\t\t\t\t\t);\n\n\t\t\t\t\t// we keep a mapping from chunk to all combinations\n\t\t\t\t\t// but this mapping is not kept up-to-date with deletions\n\t\t\t\t\t// so `deleted` flag need to be considered when iterating this\n\t\t\t\t\t/** @type {Map<Chunk, Set<ChunkCombination>>} */\n\t\t\t\t\tconst combinationsByChunk = new Map();\n\n\t\t\t\t\torderedChunks.forEach((b, bIdx) => {\n\t\t\t\t\t\t// create combination pairs with size and integrated size\n\t\t\t\t\t\tfor (let aIdx = 0; aIdx < bIdx; aIdx++) {\n\t\t\t\t\t\t\tconst a = orderedChunks[aIdx];\n\t\t\t\t\t\t\t// filter pairs that can not be integrated!\n\t\t\t\t\t\t\tif (!chunkGraph.canChunksBeIntegrated(a, b)) continue;\n\n\t\t\t\t\t\t\tconst integratedSize = chunkGraph.getIntegratedChunksSize(\n\t\t\t\t\t\t\t\ta,\n\t\t\t\t\t\t\t\tb,\n\t\t\t\t\t\t\t\toptions\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tconst aSize = chunkGraph.getChunkSize(a, options);\n\t\t\t\t\t\t\tconst bSize = chunkGraph.getChunkSize(b, options);\n\t\t\t\t\t\t\tconst c = {\n\t\t\t\t\t\t\t\tdeleted: false,\n\t\t\t\t\t\t\t\tsizeDiff: aSize + bSize - integratedSize,\n\t\t\t\t\t\t\t\tintegratedSize,\n\t\t\t\t\t\t\t\ta,\n\t\t\t\t\t\t\t\tb,\n\t\t\t\t\t\t\t\taIdx,\n\t\t\t\t\t\t\t\tbIdx,\n\t\t\t\t\t\t\t\taSize,\n\t\t\t\t\t\t\t\tbSize\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcombinations.add(c);\n\t\t\t\t\t\t\taddToSetMap(combinationsByChunk, a, c);\n\t\t\t\t\t\t\taddToSetMap(combinationsByChunk, b, c);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn combinations;\n\t\t\t\t\t});\n\n\t\t\t\t\t// list of modified chunks during this run\n\t\t\t\t\t// combinations affected by this change are skipped to allow\n\t\t\t\t\t// further optimizations\n\t\t\t\t\t/** @type {Set<Chunk>} */\n\t\t\t\t\tconst modifiedChunks = new Set();\n\n\t\t\t\t\tlet changed = false;\n\t\t\t\t\t// eslint-disable-next-line no-constant-condition\n\t\t\t\t\tloop: while (true) {\n\t\t\t\t\t\tconst combination = combinations.popFirst();\n\t\t\t\t\t\tif (combination === undefined) break;\n\n\t\t\t\t\t\tcombination.deleted = true;\n\t\t\t\t\t\tconst { a, b, integratedSize } = combination;\n\n\t\t\t\t\t\t// skip over pair when\n\t\t\t\t\t\t// one of the already merged chunks is a parent of one of the chunks\n\t\t\t\t\t\tif (modifiedChunks.size > 0) {\n\t\t\t\t\t\t\tconst queue = new Set(a.groupsIterable);\n\t\t\t\t\t\t\tfor (const group of b.groupsIterable) {\n\t\t\t\t\t\t\t\tqueue.add(group);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const group of queue) {\n\t\t\t\t\t\t\t\tfor (const mChunk of modifiedChunks) {\n\t\t\t\t\t\t\t\t\tif (mChunk !== a && mChunk !== b && mChunk.isInGroup(group)) {\n\t\t\t\t\t\t\t\t\t\t// This is a potential pair which needs recalculation\n\t\t\t\t\t\t\t\t\t\t// We can't do that now, but it merge before following pairs\n\t\t\t\t\t\t\t\t\t\t// so we leave space for it, and consider chunks as modified\n\t\t\t\t\t\t\t\t\t\t// just for the worse case\n\t\t\t\t\t\t\t\t\t\tremainingChunksToMerge--;\n\t\t\t\t\t\t\t\t\t\tif (remainingChunksToMerge <= 0) break loop;\n\t\t\t\t\t\t\t\t\t\tmodifiedChunks.add(a);\n\t\t\t\t\t\t\t\t\t\tmodifiedChunks.add(b);\n\t\t\t\t\t\t\t\t\t\tcontinue loop;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const parent of group.parentsIterable) {\n\t\t\t\t\t\t\t\t\tqueue.add(parent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// merge the chunks\n\t\t\t\t\t\tif (chunkGraph.canChunksBeIntegrated(a, b)) {\n\t\t\t\t\t\t\tchunkGraph.integrateChunks(a, b);\n\t\t\t\t\t\t\tcompilation.chunks.delete(b);\n\n\t\t\t\t\t\t\t// flag chunk a as modified as further optimization are possible for all children here\n\t\t\t\t\t\t\tmodifiedChunks.add(a);\n\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\tremainingChunksToMerge--;\n\t\t\t\t\t\t\tif (remainingChunksToMerge <= 0) break;\n\n\t\t\t\t\t\t\t// Update all affected combinations\n\t\t\t\t\t\t\t// delete all combination with the removed chunk\n\t\t\t\t\t\t\t// we will use combinations with the kept chunk instead\n\t\t\t\t\t\t\tfor (const combination of combinationsByChunk.get(a)) {\n\t\t\t\t\t\t\t\tif (combination.deleted) continue;\n\t\t\t\t\t\t\t\tcombination.deleted = true;\n\t\t\t\t\t\t\t\tcombinations.delete(combination);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Update combinations with the kept chunk with new sizes\n\t\t\t\t\t\t\tfor (const combination of combinationsByChunk.get(b)) {\n\t\t\t\t\t\t\t\tif (combination.deleted) continue;\n\t\t\t\t\t\t\t\tif (combination.a === b) {\n\t\t\t\t\t\t\t\t\tif (!chunkGraph.canChunksBeIntegrated(a, combination.b)) {\n\t\t\t\t\t\t\t\t\t\tcombination.deleted = true;\n\t\t\t\t\t\t\t\t\t\tcombinations.delete(combination);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// Update size\n\t\t\t\t\t\t\t\t\tconst newIntegratedSize = chunkGraph.getIntegratedChunksSize(\n\t\t\t\t\t\t\t\t\t\ta,\n\t\t\t\t\t\t\t\t\t\tcombination.b,\n\t\t\t\t\t\t\t\t\t\toptions\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tconst finishUpdate = combinations.startUpdate(combination);\n\t\t\t\t\t\t\t\t\tcombination.a = a;\n\t\t\t\t\t\t\t\t\tcombination.integratedSize = newIntegratedSize;\n\t\t\t\t\t\t\t\t\tcombination.aSize = integratedSize;\n\t\t\t\t\t\t\t\t\tcombination.sizeDiff =\n\t\t\t\t\t\t\t\t\t\tcombination.bSize + integratedSize - newIntegratedSize;\n\t\t\t\t\t\t\t\t\tfinishUpdate();\n\t\t\t\t\t\t\t\t} else if (combination.b === b) {\n\t\t\t\t\t\t\t\t\tif (!chunkGraph.canChunksBeIntegrated(combination.a, a)) {\n\t\t\t\t\t\t\t\t\t\tcombination.deleted = true;\n\t\t\t\t\t\t\t\t\t\tcombinations.delete(combination);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// Update size\n\t\t\t\t\t\t\t\t\tconst newIntegratedSize = chunkGraph.getIntegratedChunksSize(\n\t\t\t\t\t\t\t\t\t\tcombination.a,\n\t\t\t\t\t\t\t\t\t\ta,\n\t\t\t\t\t\t\t\t\t\toptions\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\tconst finishUpdate = combinations.startUpdate(combination);\n\t\t\t\t\t\t\t\t\tcombination.b = a;\n\t\t\t\t\t\t\t\t\tcombination.integratedSize = newIntegratedSize;\n\t\t\t\t\t\t\t\t\tcombination.bSize = integratedSize;\n\t\t\t\t\t\t\t\t\tcombination.sizeDiff =\n\t\t\t\t\t\t\t\t\t\tintegratedSize + combination.aSize - newIntegratedSize;\n\t\t\t\t\t\t\t\t\tfinishUpdate();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcombinationsByChunk.set(a, combinationsByChunk.get(b));\n\t\t\t\t\t\t\tcombinationsByChunk.delete(b);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (changed) return true;\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = LimitChunkCountPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/MangleExportsPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/MangleExportsPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst {\n\tnumberToIdentifier,\n\tNUMBER_OF_IDENTIFIER_START_CHARS,\n\tNUMBER_OF_IDENTIFIER_CONTINUATION_CHARS\n} = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { assignDeterministicIds } = __webpack_require__(/*! ../ids/IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\nconst { compareSelect, compareStringsNumeric } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../ExportsInfo\")} ExportsInfo */\n/** @typedef {import(\"../ExportsInfo\").ExportInfo} ExportInfo */\n\n/**\n * @param {ExportsInfo} exportsInfo exports info\n * @returns {boolean} mangle is possible\n */\nconst canMangle = exportsInfo => {\n\tif (exportsInfo.otherExportsInfo.getUsed(undefined) !== UsageState.Unused)\n\t\treturn false;\n\tlet hasSomethingToMangle = false;\n\tfor (const exportInfo of exportsInfo.exports) {\n\t\tif (exportInfo.canMangle === true) {\n\t\t\thasSomethingToMangle = true;\n\t\t}\n\t}\n\treturn hasSomethingToMangle;\n};\n\n// Sort by name\nconst comparator = compareSelect(e => e.name, compareStringsNumeric);\n/**\n * @param {boolean} deterministic use deterministic names\n * @param {ExportsInfo} exportsInfo exports info\n * @param {boolean} isNamespace is namespace object\n * @returns {void}\n */\nconst mangleExportsInfo = (deterministic, exportsInfo, isNamespace) => {\n\tif (!canMangle(exportsInfo)) return;\n\tconst usedNames = new Set();\n\t/** @type {ExportInfo[]} */\n\tconst mangleableExports = [];\n\n\t// Avoid to renamed exports that are not provided when\n\t// 1. it's not a namespace export: non-provided exports can be found in prototype chain\n\t// 2. there are other provided exports and deterministic mode is chosen:\n\t// non-provided exports would break the determinism\n\tlet avoidMangleNonProvided = !isNamespace;\n\tif (!avoidMangleNonProvided && deterministic) {\n\t\tfor (const exportInfo of exportsInfo.ownedExports) {\n\t\t\tif (exportInfo.provided !== false) {\n\t\t\t\tavoidMangleNonProvided = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tfor (const exportInfo of exportsInfo.ownedExports) {\n\t\tconst name = exportInfo.name;\n\t\tif (!exportInfo.hasUsedName()) {\n\t\t\tif (\n\t\t\t\t// Can the export be mangled?\n\t\t\t\texportInfo.canMangle !== true ||\n\t\t\t\t// Never rename 1 char exports\n\t\t\t\t(name.length === 1 && /^[a-zA-Z0-9_$]/.test(name)) ||\n\t\t\t\t// Don't rename 2 char exports in deterministic mode\n\t\t\t\t(deterministic &&\n\t\t\t\t\tname.length === 2 &&\n\t\t\t\t\t/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(name)) ||\n\t\t\t\t// Don't rename exports that are not provided\n\t\t\t\t(avoidMangleNonProvided && exportInfo.provided !== true)\n\t\t\t) {\n\t\t\t\texportInfo.setUsedName(name);\n\t\t\t\tusedNames.add(name);\n\t\t\t} else {\n\t\t\t\tmangleableExports.push(exportInfo);\n\t\t\t}\n\t\t}\n\t\tif (exportInfo.exportsInfoOwned) {\n\t\t\tconst used = exportInfo.getUsed(undefined);\n\t\t\tif (\n\t\t\t\tused === UsageState.OnlyPropertiesUsed ||\n\t\t\t\tused === UsageState.Unused\n\t\t\t) {\n\t\t\t\tmangleExportsInfo(deterministic, exportInfo.exportsInfo, false);\n\t\t\t}\n\t\t}\n\t}\n\tif (deterministic) {\n\t\tassignDeterministicIds(\n\t\t\tmangleableExports,\n\t\t\te => e.name,\n\t\t\tcomparator,\n\t\t\t(e, id) => {\n\t\t\t\tconst name = numberToIdentifier(id);\n\t\t\t\tconst size = usedNames.size;\n\t\t\t\tusedNames.add(name);\n\t\t\t\tif (size === usedNames.size) return false;\n\t\t\t\te.setUsedName(name);\n\t\t\t\treturn true;\n\t\t\t},\n\t\t\t[\n\t\t\t\tNUMBER_OF_IDENTIFIER_START_CHARS,\n\t\t\t\tNUMBER_OF_IDENTIFIER_START_CHARS *\n\t\t\t\t\tNUMBER_OF_IDENTIFIER_CONTINUATION_CHARS\n\t\t\t],\n\t\t\tNUMBER_OF_IDENTIFIER_CONTINUATION_CHARS,\n\t\t\tusedNames.size\n\t\t);\n\t} else {\n\t\tconst usedExports = [];\n\t\tconst unusedExports = [];\n\t\tfor (const exportInfo of mangleableExports) {\n\t\t\tif (exportInfo.getUsed(undefined) === UsageState.Unused) {\n\t\t\t\tunusedExports.push(exportInfo);\n\t\t\t} else {\n\t\t\t\tusedExports.push(exportInfo);\n\t\t\t}\n\t\t}\n\t\tusedExports.sort(comparator);\n\t\tunusedExports.sort(comparator);\n\t\tlet i = 0;\n\t\tfor (const list of [usedExports, unusedExports]) {\n\t\t\tfor (const exportInfo of list) {\n\t\t\t\tlet name;\n\t\t\t\tdo {\n\t\t\t\t\tname = numberToIdentifier(i++);\n\t\t\t\t} while (usedNames.has(name));\n\t\t\t\texportInfo.setUsedName(name);\n\t\t\t}\n\t\t}\n\t}\n};\n\nclass MangleExportsPlugin {\n\t/**\n\t * @param {boolean} deterministic use deterministic names\n\t */\n\tconstructor(deterministic) {\n\t\tthis._deterministic = deterministic;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _deterministic: deterministic } = this;\n\t\tcompiler.hooks.compilation.tap(\"MangleExportsPlugin\", compilation => {\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\tcompilation.hooks.optimizeCodeGeneration.tap(\n\t\t\t\t\"MangleExportsPlugin\",\n\t\t\t\tmodules => {\n\t\t\t\t\tif (compilation.moduleMemCaches) {\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\"optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tconst isNamespace =\n\t\t\t\t\t\t\tmodule.buildMeta && module.buildMeta.exportsType === \"namespace\";\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\tmangleExportsInfo(deterministic, exportsInfo, isNamespace);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = MangleExportsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/MangleExportsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_BASIC } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst { runtimeEqual } = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass MergeDuplicateChunksPlugin {\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"MergeDuplicateChunksPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"MergeDuplicateChunksPlugin\",\n\t\t\t\t\t\tstage: STAGE_BASIC\n\t\t\t\t\t},\n\t\t\t\t\tchunks => {\n\t\t\t\t\t\tconst { chunkGraph, moduleGraph } = compilation;\n\n\t\t\t\t\t\t// remember already tested chunks for performance\n\t\t\t\t\t\tconst notDuplicates = new Set();\n\n\t\t\t\t\t\t// for each chunk\n\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\t// track a Set of all chunk that could be duplicates\n\t\t\t\t\t\t\tlet possibleDuplicates;\n\t\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\t\tif (possibleDuplicates === undefined) {\n\t\t\t\t\t\t\t\t\t// when possibleDuplicates is not yet set,\n\t\t\t\t\t\t\t\t\t// create a new Set from chunks of the current module\n\t\t\t\t\t\t\t\t\t// including only chunks with the same number of modules\n\t\t\t\t\t\t\t\t\tfor (const dup of chunkGraph.getModuleChunksIterable(\n\t\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tdup !== chunk &&\n\t\t\t\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunk) ===\n\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(dup) &&\n\t\t\t\t\t\t\t\t\t\t\t!notDuplicates.has(dup)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t// delay allocating the new Set until here, reduce memory pressure\n\t\t\t\t\t\t\t\t\t\t\tif (possibleDuplicates === undefined) {\n\t\t\t\t\t\t\t\t\t\t\t\tpossibleDuplicates = new Set();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tpossibleDuplicates.add(dup);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// when no chunk is possible we can break here\n\t\t\t\t\t\t\t\t\tif (possibleDuplicates === undefined) break;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// validate existing possible duplicates\n\t\t\t\t\t\t\t\t\tfor (const dup of possibleDuplicates) {\n\t\t\t\t\t\t\t\t\t\t// remove possible duplicate when module is not contained\n\t\t\t\t\t\t\t\t\t\tif (!chunkGraph.isModuleInChunk(module, dup)) {\n\t\t\t\t\t\t\t\t\t\t\tpossibleDuplicates.delete(dup);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// when all chunks has been removed we can break here\n\t\t\t\t\t\t\t\t\tif (possibleDuplicates.size === 0) break;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// when we found duplicates\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tpossibleDuplicates !== undefined &&\n\t\t\t\t\t\t\t\tpossibleDuplicates.size > 0\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\touter: for (const otherChunk of possibleDuplicates) {\n\t\t\t\t\t\t\t\t\tif (otherChunk.hasRuntime() !== chunk.hasRuntime()) continue;\n\t\t\t\t\t\t\t\t\tif (chunkGraph.getNumberOfEntryModules(chunk) > 0) continue;\n\t\t\t\t\t\t\t\t\tif (chunkGraph.getNumberOfEntryModules(otherChunk) > 0)\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\tif (!runtimeEqual(chunk.runtime, otherChunk.runtime)) {\n\t\t\t\t\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(\n\t\t\t\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t!exportsInfo.isEquallyUsed(\n\t\t\t\t\t\t\t\t\t\t\t\t\tchunk.runtime,\n\t\t\t\t\t\t\t\t\t\t\t\t\totherChunk.runtime\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// merge them\n\t\t\t\t\t\t\t\t\tif (chunkGraph.canChunksBeIntegrated(chunk, otherChunk)) {\n\t\t\t\t\t\t\t\t\t\tchunkGraph.integrateChunks(chunk, otherChunk);\n\t\t\t\t\t\t\t\t\t\tcompilation.chunks.delete(otherChunk);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// don't check already processed chunks twice\n\t\t\t\t\t\t\tnotDuplicates.add(chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = MergeDuplicateChunksPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/MinChunkSizePlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/MinChunkSizePlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\n\n/** @typedef {import(\"../../declarations/plugins/optimize/MinChunkSizePlugin\").MinChunkSizePluginOptions} MinChunkSizePluginOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/optimize/MinChunkSizePlugin.check.js */ \"./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/optimize/MinChunkSizePlugin.json */ \"./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json\"),\n\t{\n\t\tname: \"Min Chunk Size Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nclass MinChunkSizePlugin {\n\t/**\n\t * @param {MinChunkSizePluginOptions} options options object\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst options = this.options;\n\t\tconst minChunkSize = options.minChunkSize;\n\t\tcompiler.hooks.compilation.tap(\"MinChunkSizePlugin\", compilation => {\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"MinChunkSizePlugin\",\n\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t},\n\t\t\t\tchunks => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst equalOptions = {\n\t\t\t\t\t\tchunkOverhead: 1,\n\t\t\t\t\t\tentryChunkMultiplicator: 1\n\t\t\t\t\t};\n\n\t\t\t\t\tconst chunkSizesMap = new Map();\n\t\t\t\t\t/** @type {[Chunk, Chunk][]} */\n\t\t\t\t\tconst combinations = [];\n\t\t\t\t\t/** @type {Chunk[]} */\n\t\t\t\t\tconst smallChunks = [];\n\t\t\t\t\tconst visitedChunks = [];\n\t\t\t\t\tfor (const a of chunks) {\n\t\t\t\t\t\t// check if one of the chunks sizes is smaller than the minChunkSize\n\t\t\t\t\t\t// and filter pairs that can NOT be integrated!\n\t\t\t\t\t\tif (chunkGraph.getChunkSize(a, equalOptions) < minChunkSize) {\n\t\t\t\t\t\t\tsmallChunks.push(a);\n\t\t\t\t\t\t\tfor (const b of visitedChunks) {\n\t\t\t\t\t\t\t\tif (chunkGraph.canChunksBeIntegrated(b, a))\n\t\t\t\t\t\t\t\t\tcombinations.push([b, a]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfor (const b of smallChunks) {\n\t\t\t\t\t\t\t\tif (chunkGraph.canChunksBeIntegrated(b, a))\n\t\t\t\t\t\t\t\t\tcombinations.push([b, a]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchunkSizesMap.set(a, chunkGraph.getChunkSize(a, options));\n\t\t\t\t\t\tvisitedChunks.push(a);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst sortedSizeFilteredExtendedPairCombinations = combinations\n\t\t\t\t\t\t.map(pair => {\n\t\t\t\t\t\t\t// extend combination pairs with size and integrated size\n\t\t\t\t\t\t\tconst a = chunkSizesMap.get(pair[0]);\n\t\t\t\t\t\t\tconst b = chunkSizesMap.get(pair[1]);\n\t\t\t\t\t\t\tconst ab = chunkGraph.getIntegratedChunksSize(\n\t\t\t\t\t\t\t\tpair[0],\n\t\t\t\t\t\t\t\tpair[1],\n\t\t\t\t\t\t\t\toptions\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t/** @type {[number, number, Chunk, Chunk]} */\n\t\t\t\t\t\t\tconst extendedPair = [a + b - ab, ab, pair[0], pair[1]];\n\t\t\t\t\t\t\treturn extendedPair;\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.sort((a, b) => {\n\t\t\t\t\t\t\t// sadly javascript does an in place sort here\n\t\t\t\t\t\t\t// sort by size\n\t\t\t\t\t\t\tconst diff = b[0] - a[0];\n\t\t\t\t\t\t\tif (diff !== 0) return diff;\n\t\t\t\t\t\t\treturn a[1] - b[1];\n\t\t\t\t\t\t});\n\n\t\t\t\t\tif (sortedSizeFilteredExtendedPairCombinations.length === 0) return;\n\n\t\t\t\t\tconst pair = sortedSizeFilteredExtendedPairCombinations[0];\n\n\t\t\t\t\tchunkGraph.integrateChunks(pair[2], pair[3]);\n\t\t\t\t\tcompilation.chunks.delete(pair[3]);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = MinChunkSizePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/MinChunkSizePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/MinMaxSizeWarning.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/MinMaxSizeWarning.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst SizeFormatHelpers = __webpack_require__(/*! ../SizeFormatHelpers */ \"./node_modules/webpack/lib/SizeFormatHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nclass MinMaxSizeWarning extends WebpackError {\n\tconstructor(keys, minSize, maxSize) {\n\t\tlet keysMessage = \"Fallback cache group\";\n\t\tif (keys) {\n\t\t\tkeysMessage =\n\t\t\t\tkeys.length > 1\n\t\t\t\t\t? `Cache groups ${keys.sort().join(\", \")}`\n\t\t\t\t\t: `Cache group ${keys[0]}`;\n\t\t}\n\t\tsuper(\n\t\t\t`SplitChunksPlugin\\n` +\n\t\t\t\t`${keysMessage}\\n` +\n\t\t\t\t`Configured minSize (${SizeFormatHelpers.formatSize(minSize)}) is ` +\n\t\t\t\t`bigger than maxSize (${SizeFormatHelpers.formatSize(maxSize)}).\\n` +\n\t\t\t\t\"This seem to be a invalid optimization.splitChunks configuration.\"\n\t\t);\n\t}\n}\n\nmodule.exports = MinMaxSizeWarning;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/MinMaxSizeWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst asyncLib = __webpack_require__(/*! neo-async */ \"./node_modules/neo-async/async.min.js\");\nconst ChunkGraph = __webpack_require__(/*! ../ChunkGraph */ \"./node_modules/webpack/lib/ChunkGraph.js\");\nconst ModuleGraph = __webpack_require__(/*! ../ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\");\nconst { STAGE_DEFAULT } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst HarmonyImportDependency = __webpack_require__(/*! ../dependencies/HarmonyImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportDependency.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst {\n\tintersectRuntime,\n\tmergeRuntimeOwned,\n\tfilterRuntime,\n\truntimeToString,\n\tmergeRuntime\n} = __webpack_require__(/*! ../util/runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\nconst ConcatenatedModule = __webpack_require__(/*! ./ConcatenatedModule */ \"./node_modules/webpack/lib/optimize/ConcatenatedModule.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/**\n * @typedef {Object} Statistics\n * @property {number} cached\n * @property {number} alreadyInConfig\n * @property {number} invalidModule\n * @property {number} incorrectChunks\n * @property {number} incorrectDependency\n * @property {number} incorrectModuleDependency\n * @property {number} incorrectChunksOfImporter\n * @property {number} incorrectRuntimeCondition\n * @property {number} importerFailed\n * @property {number} added\n */\n\nconst formatBailoutReason = msg => {\n\treturn \"ModuleConcatenation bailout: \" + msg;\n};\n\nclass ModuleConcatenationPlugin {\n\tconstructor(options) {\n\t\tif (typeof options !== \"object\") options = {};\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { _backCompat: backCompat } = compiler;\n\t\tcompiler.hooks.compilation.tap(\"ModuleConcatenationPlugin\", compilation => {\n\t\t\tif (compilation.moduleMemCaches) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"optimization.concatenateModules can't be used with cacheUnaffected as module concatenation is a global effect\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\tconst bailoutReasonMap = new Map();\n\n\t\t\tconst setBailoutReason = (module, reason) => {\n\t\t\t\tsetInnerBailoutReason(module, reason);\n\t\t\t\tmoduleGraph\n\t\t\t\t\t.getOptimizationBailout(module)\n\t\t\t\t\t.push(\n\t\t\t\t\t\ttypeof reason === \"function\"\n\t\t\t\t\t\t\t? rs => formatBailoutReason(reason(rs))\n\t\t\t\t\t\t\t: formatBailoutReason(reason)\n\t\t\t\t\t);\n\t\t\t};\n\n\t\t\tconst setInnerBailoutReason = (module, reason) => {\n\t\t\t\tbailoutReasonMap.set(module, reason);\n\t\t\t};\n\n\t\t\tconst getInnerBailoutReason = (module, requestShortener) => {\n\t\t\t\tconst reason = bailoutReasonMap.get(module);\n\t\t\t\tif (typeof reason === \"function\") return reason(requestShortener);\n\t\t\t\treturn reason;\n\t\t\t};\n\n\t\t\tconst formatBailoutWarning = (module, problem) => requestShortener => {\n\t\t\t\tif (typeof problem === \"function\") {\n\t\t\t\t\treturn formatBailoutReason(\n\t\t\t\t\t\t`Cannot concat with ${module.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)}: ${problem(requestShortener)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tconst reason = getInnerBailoutReason(module, requestShortener);\n\t\t\t\tconst reasonWithPrefix = reason ? `: ${reason}` : \"\";\n\t\t\t\tif (module === problem) {\n\t\t\t\t\treturn formatBailoutReason(\n\t\t\t\t\t\t`Cannot concat with ${module.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)}${reasonWithPrefix}`\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\treturn formatBailoutReason(\n\t\t\t\t\t\t`Cannot concat with ${module.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)} because of ${problem.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)}${reasonWithPrefix}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tcompilation.hooks.optimizeChunkModules.tapAsync(\n\t\t\t\t{\n\t\t\t\t\tname: \"ModuleConcatenationPlugin\",\n\t\t\t\t\tstage: STAGE_DEFAULT\n\t\t\t\t},\n\t\t\t\t(allChunks, modules, callback) => {\n\t\t\t\t\tconst logger = compilation.getLogger(\n\t\t\t\t\t\t\"webpack.ModuleConcatenationPlugin\"\n\t\t\t\t\t);\n\t\t\t\t\tconst { chunkGraph, moduleGraph } = compilation;\n\t\t\t\t\tconst relevantModules = [];\n\t\t\t\t\tconst possibleInners = new Set();\n\t\t\t\t\tconst context = {\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t};\n\t\t\t\t\tlogger.time(\"select relevant modules\");\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\tlet canBeRoot = true;\n\t\t\t\t\t\tlet canBeInner = true;\n\n\t\t\t\t\t\tconst bailoutReason = module.getConcatenationBailoutReason(context);\n\t\t\t\t\t\tif (bailoutReason) {\n\t\t\t\t\t\t\tsetBailoutReason(module, bailoutReason);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Must not be an async module\n\t\t\t\t\t\tif (moduleGraph.isAsync(module)) {\n\t\t\t\t\t\t\tsetBailoutReason(module, `Module is async`);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Must be in strict mode\n\t\t\t\t\t\tif (!module.buildInfo.strict) {\n\t\t\t\t\t\t\tsetBailoutReason(module, `Module is not in strict mode`);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Module must be in any chunk (we don't want to do useless work)\n\t\t\t\t\t\tif (chunkGraph.getNumberOfModuleChunks(module) === 0) {\n\t\t\t\t\t\t\tsetBailoutReason(module, \"Module is not in any chunk\");\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Exports must be known (and not dynamic)\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\tconst relevantExports = exportsInfo.getRelevantExports(undefined);\n\t\t\t\t\t\tconst unknownReexports = relevantExports.filter(exportInfo => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\texportInfo.isReexport() && !exportInfo.getTarget(moduleGraph)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (unknownReexports.length > 0) {\n\t\t\t\t\t\t\tsetBailoutReason(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t`Reexports in this module do not have a static target (${Array.from(\n\t\t\t\t\t\t\t\t\tunknownReexports,\n\t\t\t\t\t\t\t\t\texportInfo =>\n\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\texportInfo.name || \"other exports\"\n\t\t\t\t\t\t\t\t\t\t}: ${exportInfo.getUsedInfo()}`\n\t\t\t\t\t\t\t\t).join(\", \")})`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Root modules must have a static list of exports\n\t\t\t\t\t\tconst unknownProvidedExports = relevantExports.filter(\n\t\t\t\t\t\t\texportInfo => {\n\t\t\t\t\t\t\t\treturn exportInfo.provided !== true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (unknownProvidedExports.length > 0) {\n\t\t\t\t\t\t\tsetBailoutReason(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t`List of module exports is dynamic (${Array.from(\n\t\t\t\t\t\t\t\t\tunknownProvidedExports,\n\t\t\t\t\t\t\t\t\texportInfo =>\n\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\texportInfo.name || \"other exports\"\n\t\t\t\t\t\t\t\t\t\t}: ${exportInfo.getProvidedInfo()} and ${exportInfo.getUsedInfo()}`\n\t\t\t\t\t\t\t\t).join(\", \")})`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcanBeRoot = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Module must not be an entry point\n\t\t\t\t\t\tif (chunkGraph.isEntryModule(module)) {\n\t\t\t\t\t\t\tsetInnerBailoutReason(module, \"Module is an entry point\");\n\t\t\t\t\t\t\tcanBeInner = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (canBeRoot) relevantModules.push(module);\n\t\t\t\t\t\tif (canBeInner) possibleInners.add(module);\n\t\t\t\t\t}\n\t\t\t\t\tlogger.timeEnd(\"select relevant modules\");\n\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t`${relevantModules.length} potential root modules, ${possibleInners.size} potential inner modules`\n\t\t\t\t\t);\n\t\t\t\t\t// sort by depth\n\t\t\t\t\t// modules with lower depth are more likely suited as roots\n\t\t\t\t\t// this improves performance, because modules already selected as inner are skipped\n\t\t\t\t\tlogger.time(\"sort relevant modules\");\n\t\t\t\t\trelevantModules.sort((a, b) => {\n\t\t\t\t\t\treturn moduleGraph.getDepth(a) - moduleGraph.getDepth(b);\n\t\t\t\t\t});\n\t\t\t\t\tlogger.timeEnd(\"sort relevant modules\");\n\n\t\t\t\t\t/** @type {Statistics} */\n\t\t\t\t\tconst stats = {\n\t\t\t\t\t\tcached: 0,\n\t\t\t\t\t\talreadyInConfig: 0,\n\t\t\t\t\t\tinvalidModule: 0,\n\t\t\t\t\t\tincorrectChunks: 0,\n\t\t\t\t\t\tincorrectDependency: 0,\n\t\t\t\t\t\tincorrectModuleDependency: 0,\n\t\t\t\t\t\tincorrectChunksOfImporter: 0,\n\t\t\t\t\t\tincorrectRuntimeCondition: 0,\n\t\t\t\t\t\timporterFailed: 0,\n\t\t\t\t\t\tadded: 0\n\t\t\t\t\t};\n\t\t\t\t\tlet statsCandidates = 0;\n\t\t\t\t\tlet statsSizeSum = 0;\n\t\t\t\t\tlet statsEmptyConfigurations = 0;\n\n\t\t\t\t\tlogger.time(\"find modules to concatenate\");\n\t\t\t\t\tconst concatConfigurations = [];\n\t\t\t\t\tconst usedAsInner = new Set();\n\t\t\t\t\tfor (const currentRoot of relevantModules) {\n\t\t\t\t\t\t// when used by another configuration as inner:\n\t\t\t\t\t\t// the other configuration is better and we can skip this one\n\t\t\t\t\t\t// TODO reconsider that when it's only used in a different runtime\n\t\t\t\t\t\tif (usedAsInner.has(currentRoot)) continue;\n\n\t\t\t\t\t\tlet chunkRuntime = undefined;\n\t\t\t\t\t\tfor (const r of chunkGraph.getModuleRuntimes(currentRoot)) {\n\t\t\t\t\t\t\tchunkRuntime = mergeRuntimeOwned(chunkRuntime, r);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(currentRoot);\n\t\t\t\t\t\tconst filteredRuntime = filterRuntime(chunkRuntime, r =>\n\t\t\t\t\t\t\texportsInfo.isModuleUsed(r)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst activeRuntime =\n\t\t\t\t\t\t\tfilteredRuntime === true\n\t\t\t\t\t\t\t\t? chunkRuntime\n\t\t\t\t\t\t\t\t: filteredRuntime === false\n\t\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t\t: filteredRuntime;\n\n\t\t\t\t\t\t// create a configuration with the root\n\t\t\t\t\t\tconst currentConfiguration = new ConcatConfiguration(\n\t\t\t\t\t\t\tcurrentRoot,\n\t\t\t\t\t\t\tactiveRuntime\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// cache failures to add modules\n\t\t\t\t\t\tconst failureCache = new Map();\n\n\t\t\t\t\t\t// potential optional import candidates\n\t\t\t\t\t\t/** @type {Set<Module>} */\n\t\t\t\t\t\tconst candidates = new Set();\n\n\t\t\t\t\t\t// try to add all imports\n\t\t\t\t\t\tfor (const imp of this._getImports(\n\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\tcurrentRoot,\n\t\t\t\t\t\t\tactiveRuntime\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tcandidates.add(imp);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (const imp of candidates) {\n\t\t\t\t\t\t\tconst impCandidates = new Set();\n\t\t\t\t\t\t\tconst problem = this._tryToAdd(\n\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\tcurrentConfiguration,\n\t\t\t\t\t\t\t\timp,\n\t\t\t\t\t\t\t\tchunkRuntime,\n\t\t\t\t\t\t\t\tactiveRuntime,\n\t\t\t\t\t\t\t\tpossibleInners,\n\t\t\t\t\t\t\t\timpCandidates,\n\t\t\t\t\t\t\t\tfailureCache,\n\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\t\tstats\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (problem) {\n\t\t\t\t\t\t\t\tfailureCache.set(imp, problem);\n\t\t\t\t\t\t\t\tcurrentConfiguration.addWarning(imp, problem);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tfor (const c of impCandidates) {\n\t\t\t\t\t\t\t\t\tcandidates.add(c);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstatsCandidates += candidates.size;\n\t\t\t\t\t\tif (!currentConfiguration.isEmpty()) {\n\t\t\t\t\t\t\tconst modules = currentConfiguration.getModules();\n\t\t\t\t\t\t\tstatsSizeSum += modules.size;\n\t\t\t\t\t\t\tconcatConfigurations.push(currentConfiguration);\n\t\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\t\tif (module !== currentConfiguration.rootModule) {\n\t\t\t\t\t\t\t\t\tusedAsInner.add(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstatsEmptyConfigurations++;\n\t\t\t\t\t\t\tconst optimizationBailouts =\n\t\t\t\t\t\t\t\tmoduleGraph.getOptimizationBailout(currentRoot);\n\t\t\t\t\t\t\tfor (const warning of currentConfiguration.getWarningsSorted()) {\n\t\t\t\t\t\t\t\toptimizationBailouts.push(\n\t\t\t\t\t\t\t\t\tformatBailoutWarning(warning[0], warning[1])\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlogger.timeEnd(\"find modules to concatenate\");\n\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t`${\n\t\t\t\t\t\t\tconcatConfigurations.length\n\t\t\t\t\t\t} successful concat configurations (avg size: ${\n\t\t\t\t\t\t\tstatsSizeSum / concatConfigurations.length\n\t\t\t\t\t\t}), ${statsEmptyConfigurations} bailed out completely`\n\t\t\t\t\t);\n\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t`${statsCandidates} candidates were considered for adding (${stats.cached} cached failure, ${stats.alreadyInConfig} already in config, ${stats.invalidModule} invalid module, ${stats.incorrectChunks} incorrect chunks, ${stats.incorrectDependency} incorrect dependency, ${stats.incorrectChunksOfImporter} incorrect chunks of importer, ${stats.incorrectModuleDependency} incorrect module dependency, ${stats.incorrectRuntimeCondition} incorrect runtime condition, ${stats.importerFailed} importer failed, ${stats.added} added)`\n\t\t\t\t\t);\n\t\t\t\t\t// HACK: Sort configurations by length and start with the longest one\n\t\t\t\t\t// to get the biggest groups possible. Used modules are marked with usedModules\n\t\t\t\t\t// TODO: Allow to reuse existing configuration while trying to add dependencies.\n\t\t\t\t\t// This would improve performance. O(n^2) -> O(n)\n\t\t\t\t\tlogger.time(`sort concat configurations`);\n\t\t\t\t\tconcatConfigurations.sort((a, b) => {\n\t\t\t\t\t\treturn b.modules.size - a.modules.size;\n\t\t\t\t\t});\n\t\t\t\t\tlogger.timeEnd(`sort concat configurations`);\n\t\t\t\t\tconst usedModules = new Set();\n\n\t\t\t\t\tlogger.time(\"create concatenated modules\");\n\t\t\t\t\tasyncLib.each(\n\t\t\t\t\t\tconcatConfigurations,\n\t\t\t\t\t\t(concatConfiguration, callback) => {\n\t\t\t\t\t\t\tconst rootModule = concatConfiguration.rootModule;\n\n\t\t\t\t\t\t\t// Avoid overlapping configurations\n\t\t\t\t\t\t\t// TODO: remove this when todo above is fixed\n\t\t\t\t\t\t\tif (usedModules.has(rootModule)) return callback();\n\t\t\t\t\t\t\tconst modules = concatConfiguration.getModules();\n\t\t\t\t\t\t\tfor (const m of modules) {\n\t\t\t\t\t\t\t\tusedModules.add(m);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Create a new ConcatenatedModule\n\t\t\t\t\t\t\tlet newModule = ConcatenatedModule.create(\n\t\t\t\t\t\t\t\trootModule,\n\t\t\t\t\t\t\t\tmodules,\n\t\t\t\t\t\t\t\tconcatConfiguration.runtime,\n\t\t\t\t\t\t\t\tcompiler.root,\n\t\t\t\t\t\t\t\tcompilation.outputOptions.hashFunction\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tconst build = () => {\n\t\t\t\t\t\t\t\tnewModule.build(\n\t\t\t\t\t\t\t\t\tcompiler.options,\n\t\t\t\t\t\t\t\t\tcompilation,\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\tif (!err.module) {\n\t\t\t\t\t\t\t\t\t\t\t\terr.module = newModule;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tintegrate();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tconst integrate = () => {\n\t\t\t\t\t\t\t\tif (backCompat) {\n\t\t\t\t\t\t\t\t\tChunkGraph.setChunkGraphForModule(newModule, chunkGraph);\n\t\t\t\t\t\t\t\t\tModuleGraph.setModuleGraphForModule(newModule, moduleGraph);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tfor (const warning of concatConfiguration.getWarningsSorted()) {\n\t\t\t\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t\t\t\t\t\t.getOptimizationBailout(newModule)\n\t\t\t\t\t\t\t\t\t\t.push(formatBailoutWarning(warning[0], warning[1]));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tmoduleGraph.cloneModuleAttributes(rootModule, newModule);\n\t\t\t\t\t\t\t\tfor (const m of modules) {\n\t\t\t\t\t\t\t\t\t// add to builtModules when one of the included modules was built\n\t\t\t\t\t\t\t\t\tif (compilation.builtModules.has(m)) {\n\t\t\t\t\t\t\t\t\t\tcompilation.builtModules.add(newModule);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (m !== rootModule) {\n\t\t\t\t\t\t\t\t\t\t// attach external references to the concatenated module too\n\t\t\t\t\t\t\t\t\t\tmoduleGraph.copyOutgoingModuleConnections(\n\t\t\t\t\t\t\t\t\t\t\tm,\n\t\t\t\t\t\t\t\t\t\t\tnewModule,\n\t\t\t\t\t\t\t\t\t\t\tc => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\tc.originModule === m &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t!(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tc.dependency instanceof HarmonyImportDependency &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.has(c.module)\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t// remove module from chunk\n\t\t\t\t\t\t\t\t\t\tfor (const chunk of chunkGraph.getModuleChunksIterable(\n\t\t\t\t\t\t\t\t\t\t\trootModule\n\t\t\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t\t\t\tconst sourceTypes = chunkGraph.getChunkModuleSourceTypes(\n\t\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\t\tm\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tif (sourceTypes.size === 1) {\n\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(chunk, m);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tconst newSourceTypes = new Set(sourceTypes);\n\t\t\t\t\t\t\t\t\t\t\t\tnewSourceTypes.delete(\"javascript\");\n\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph.setChunkModuleSourceTypes(\n\t\t\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\t\t\tm,\n\t\t\t\t\t\t\t\t\t\t\t\t\tnewSourceTypes\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcompilation.modules.delete(rootModule);\n\t\t\t\t\t\t\t\tChunkGraph.clearChunkGraphForModule(rootModule);\n\t\t\t\t\t\t\t\tModuleGraph.clearModuleGraphForModule(rootModule);\n\n\t\t\t\t\t\t\t\t// remove module from chunk\n\t\t\t\t\t\t\t\tchunkGraph.replaceModule(rootModule, newModule);\n\t\t\t\t\t\t\t\t// replace module references with the concatenated module\n\t\t\t\t\t\t\t\tmoduleGraph.moveModuleConnections(rootModule, newModule, c => {\n\t\t\t\t\t\t\t\t\tconst otherModule =\n\t\t\t\t\t\t\t\t\t\tc.module === rootModule ? c.originModule : c.module;\n\t\t\t\t\t\t\t\t\tconst innerConnection =\n\t\t\t\t\t\t\t\t\t\tc.dependency instanceof HarmonyImportDependency &&\n\t\t\t\t\t\t\t\t\t\tmodules.has(otherModule);\n\t\t\t\t\t\t\t\t\treturn !innerConnection;\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t// add concatenated module to the compilation\n\t\t\t\t\t\t\t\tcompilation.modules.add(newModule);\n\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tbuild();\n\t\t\t\t\t\t},\n\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\tlogger.timeEnd(\"create concatenated modules\");\n\t\t\t\t\t\t\tprocess.nextTick(callback.bind(null, err));\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @param {Module} module the module to be added\n\t * @param {RuntimeSpec} runtime the runtime scope\n\t * @returns {Set<Module>} the imported modules\n\t */\n\t_getImports(compilation, module, runtime) {\n\t\tconst moduleGraph = compilation.moduleGraph;\n\t\tconst set = new Set();\n\t\tfor (const dep of module.dependencies) {\n\t\t\t// Get reference info only for harmony Dependencies\n\t\t\tif (!(dep instanceof HarmonyImportDependency)) continue;\n\n\t\t\tconst connection = moduleGraph.getConnection(dep);\n\t\t\t// Reference is valid and has a module\n\t\t\tif (\n\t\t\t\t!connection ||\n\t\t\t\t!connection.module ||\n\t\t\t\t!connection.isTargetActive(runtime)\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst importedNames = compilation.getDependencyReferencedExports(\n\t\t\t\tdep,\n\t\t\t\tundefined\n\t\t\t);\n\n\t\t\tif (\n\t\t\t\timportedNames.every(i =>\n\t\t\t\t\tArray.isArray(i) ? i.length > 0 : i.name.length > 0\n\t\t\t\t) ||\n\t\t\t\tArray.isArray(moduleGraph.getProvidedExports(module))\n\t\t\t) {\n\t\t\t\tset.add(connection.module);\n\t\t\t}\n\t\t}\n\t\treturn set;\n\t}\n\n\t/**\n\t * @param {Compilation} compilation webpack compilation\n\t * @param {ConcatConfiguration} config concat configuration (will be modified when added)\n\t * @param {Module} module the module to be added\n\t * @param {RuntimeSpec} runtime the runtime scope of the generated code\n\t * @param {RuntimeSpec} activeRuntime the runtime scope of the root module\n\t * @param {Set<Module>} possibleModules modules that are candidates\n\t * @param {Set<Module>} candidates list of potential candidates (will be added to)\n\t * @param {Map<Module, Module | function(RequestShortener): string>} failureCache cache for problematic modules to be more performant\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {boolean} avoidMutateOnFailure avoid mutating the config when adding fails\n\t * @param {Statistics} statistics gathering metrics\n\t * @returns {Module | function(RequestShortener): string} the problematic module\n\t */\n\t_tryToAdd(\n\t\tcompilation,\n\t\tconfig,\n\t\tmodule,\n\t\truntime,\n\t\tactiveRuntime,\n\t\tpossibleModules,\n\t\tcandidates,\n\t\tfailureCache,\n\t\tchunkGraph,\n\t\tavoidMutateOnFailure,\n\t\tstatistics\n\t) {\n\t\tconst cacheEntry = failureCache.get(module);\n\t\tif (cacheEntry) {\n\t\t\tstatistics.cached++;\n\t\t\treturn cacheEntry;\n\t\t}\n\n\t\t// Already added?\n\t\tif (config.has(module)) {\n\t\t\tstatistics.alreadyInConfig++;\n\t\t\treturn null;\n\t\t}\n\n\t\t// Not possible to add?\n\t\tif (!possibleModules.has(module)) {\n\t\t\tstatistics.invalidModule++;\n\t\t\tfailureCache.set(module, module); // cache failures for performance\n\t\t\treturn module;\n\t\t}\n\n\t\t// Module must be in the correct chunks\n\t\tconst missingChunks = Array.from(\n\t\t\tchunkGraph.getModuleChunksIterable(config.rootModule)\n\t\t).filter(chunk => !chunkGraph.isModuleInChunk(module, chunk));\n\t\tif (missingChunks.length > 0) {\n\t\t\tconst problem = requestShortener => {\n\t\t\t\tconst missingChunksList = Array.from(\n\t\t\t\t\tnew Set(missingChunks.map(chunk => chunk.name || \"unnamed chunk(s)\"))\n\t\t\t\t).sort();\n\t\t\t\tconst chunks = Array.from(\n\t\t\t\t\tnew Set(\n\t\t\t\t\t\tArray.from(chunkGraph.getModuleChunksIterable(module)).map(\n\t\t\t\t\t\t\tchunk => chunk.name || \"unnamed chunk(s)\"\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t).sort();\n\t\t\t\treturn `Module ${module.readableIdentifier(\n\t\t\t\t\trequestShortener\n\t\t\t\t)} is not in the same chunk(s) (expected in chunk(s) ${missingChunksList.join(\n\t\t\t\t\t\", \"\n\t\t\t\t)}, module is in chunk(s) ${chunks.join(\", \")})`;\n\t\t\t};\n\t\t\tstatistics.incorrectChunks++;\n\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\treturn problem;\n\t\t}\n\n\t\tconst moduleGraph = compilation.moduleGraph;\n\n\t\tconst incomingConnections =\n\t\t\tmoduleGraph.getIncomingConnectionsByOriginModule(module);\n\n\t\tconst incomingConnectionsFromNonModules =\n\t\t\tincomingConnections.get(null) || incomingConnections.get(undefined);\n\t\tif (incomingConnectionsFromNonModules) {\n\t\t\tconst activeNonModulesConnections =\n\t\t\t\tincomingConnectionsFromNonModules.filter(connection => {\n\t\t\t\t\t// We are not interested in inactive connections\n\t\t\t\t\t// or connections without dependency\n\t\t\t\t\treturn connection.isActive(runtime);\n\t\t\t\t});\n\t\t\tif (activeNonModulesConnections.length > 0) {\n\t\t\t\tconst problem = requestShortener => {\n\t\t\t\t\tconst importingExplanations = new Set(\n\t\t\t\t\t\tactiveNonModulesConnections.map(c => c.explanation).filter(Boolean)\n\t\t\t\t\t);\n\t\t\t\t\tconst explanations = Array.from(importingExplanations).sort();\n\t\t\t\t\treturn `Module ${module.readableIdentifier(\n\t\t\t\t\t\trequestShortener\n\t\t\t\t\t)} is referenced ${\n\t\t\t\t\t\texplanations.length > 0\n\t\t\t\t\t\t\t? `by: ${explanations.join(\", \")}`\n\t\t\t\t\t\t\t: \"in an unsupported way\"\n\t\t\t\t\t}`;\n\t\t\t\t};\n\t\t\t\tstatistics.incorrectDependency++;\n\t\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\t\treturn problem;\n\t\t\t}\n\t\t}\n\n\t\t/** @type {Map<Module, readonly ModuleGraph.ModuleGraphConnection[]>} */\n\t\tconst incomingConnectionsFromModules = new Map();\n\t\tfor (const [originModule, connections] of incomingConnections) {\n\t\t\tif (originModule) {\n\t\t\t\t// Ignore connection from orphan modules\n\t\t\t\tif (chunkGraph.getNumberOfModuleChunks(originModule) === 0) continue;\n\n\t\t\t\t// We don't care for connections from other runtimes\n\t\t\t\tlet originRuntime = undefined;\n\t\t\t\tfor (const r of chunkGraph.getModuleRuntimes(originModule)) {\n\t\t\t\t\toriginRuntime = mergeRuntimeOwned(originRuntime, r);\n\t\t\t\t}\n\n\t\t\t\tif (!intersectRuntime(runtime, originRuntime)) continue;\n\n\t\t\t\t// We are not interested in inactive connections\n\t\t\t\tconst activeConnections = connections.filter(connection =>\n\t\t\t\t\tconnection.isActive(runtime)\n\t\t\t\t);\n\t\t\t\tif (activeConnections.length > 0)\n\t\t\t\t\tincomingConnectionsFromModules.set(originModule, activeConnections);\n\t\t\t}\n\t\t}\n\n\t\tconst incomingModules = Array.from(incomingConnectionsFromModules.keys());\n\n\t\t// Module must be in the same chunks like the referencing module\n\t\tconst otherChunkModules = incomingModules.filter(originModule => {\n\t\t\tfor (const chunk of chunkGraph.getModuleChunksIterable(\n\t\t\t\tconfig.rootModule\n\t\t\t)) {\n\t\t\t\tif (!chunkGraph.isModuleInChunk(originModule, chunk)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t});\n\t\tif (otherChunkModules.length > 0) {\n\t\t\tconst problem = requestShortener => {\n\t\t\t\tconst names = otherChunkModules\n\t\t\t\t\t.map(m => m.readableIdentifier(requestShortener))\n\t\t\t\t\t.sort();\n\t\t\t\treturn `Module ${module.readableIdentifier(\n\t\t\t\t\trequestShortener\n\t\t\t\t)} is referenced from different chunks by these modules: ${names.join(\n\t\t\t\t\t\", \"\n\t\t\t\t)}`;\n\t\t\t};\n\t\t\tstatistics.incorrectChunksOfImporter++;\n\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\treturn problem;\n\t\t}\n\n\t\t/** @type {Map<Module, readonly ModuleGraph.ModuleGraphConnection[]>} */\n\t\tconst nonHarmonyConnections = new Map();\n\t\tfor (const [originModule, connections] of incomingConnectionsFromModules) {\n\t\t\tconst selected = connections.filter(\n\t\t\t\tconnection =>\n\t\t\t\t\t!connection.dependency ||\n\t\t\t\t\t!(connection.dependency instanceof HarmonyImportDependency)\n\t\t\t);\n\t\t\tif (selected.length > 0)\n\t\t\t\tnonHarmonyConnections.set(originModule, connections);\n\t\t}\n\t\tif (nonHarmonyConnections.size > 0) {\n\t\t\tconst problem = requestShortener => {\n\t\t\t\tconst names = Array.from(nonHarmonyConnections)\n\t\t\t\t\t.map(([originModule, connections]) => {\n\t\t\t\t\t\treturn `${originModule.readableIdentifier(\n\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t)} (referenced with ${Array.from(\n\t\t\t\t\t\t\tnew Set(\n\t\t\t\t\t\t\t\tconnections\n\t\t\t\t\t\t\t\t\t.map(c => c.dependency && c.dependency.type)\n\t\t\t\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.sort()\n\t\t\t\t\t\t\t.join(\", \")})`;\n\t\t\t\t\t})\n\t\t\t\t\t.sort();\n\t\t\t\treturn `Module ${module.readableIdentifier(\n\t\t\t\t\trequestShortener\n\t\t\t\t)} is referenced from these modules with unsupported syntax: ${names.join(\n\t\t\t\t\t\", \"\n\t\t\t\t)}`;\n\t\t\t};\n\t\t\tstatistics.incorrectModuleDependency++;\n\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\treturn problem;\n\t\t}\n\n\t\tif (runtime !== undefined && typeof runtime !== \"string\") {\n\t\t\t// Module must be consistently referenced in the same runtimes\n\t\t\t/** @type {{ originModule: Module, runtimeCondition: RuntimeSpec }[]} */\n\t\t\tconst otherRuntimeConnections = [];\n\t\t\touter: for (const [\n\t\t\t\toriginModule,\n\t\t\t\tconnections\n\t\t\t] of incomingConnectionsFromModules) {\n\t\t\t\t/** @type {false | RuntimeSpec} */\n\t\t\t\tlet currentRuntimeCondition = false;\n\t\t\t\tfor (const connection of connections) {\n\t\t\t\t\tconst runtimeCondition = filterRuntime(runtime, runtime => {\n\t\t\t\t\t\treturn connection.isTargetActive(runtime);\n\t\t\t\t\t});\n\t\t\t\t\tif (runtimeCondition === false) continue;\n\t\t\t\t\tif (runtimeCondition === true) continue outer;\n\t\t\t\t\tif (currentRuntimeCondition !== false) {\n\t\t\t\t\t\tcurrentRuntimeCondition = mergeRuntime(\n\t\t\t\t\t\t\tcurrentRuntimeCondition,\n\t\t\t\t\t\t\truntimeCondition\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentRuntimeCondition = runtimeCondition;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (currentRuntimeCondition !== false) {\n\t\t\t\t\totherRuntimeConnections.push({\n\t\t\t\t\t\toriginModule,\n\t\t\t\t\t\truntimeCondition: currentRuntimeCondition\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (otherRuntimeConnections.length > 0) {\n\t\t\t\tconst problem = requestShortener => {\n\t\t\t\t\treturn `Module ${module.readableIdentifier(\n\t\t\t\t\t\trequestShortener\n\t\t\t\t\t)} is runtime-dependent referenced by these modules: ${Array.from(\n\t\t\t\t\t\totherRuntimeConnections,\n\t\t\t\t\t\t({ originModule, runtimeCondition }) =>\n\t\t\t\t\t\t\t`${originModule.readableIdentifier(\n\t\t\t\t\t\t\t\trequestShortener\n\t\t\t\t\t\t\t)} (expected runtime ${runtimeToString(\n\t\t\t\t\t\t\t\truntime\n\t\t\t\t\t\t\t)}, module is only referenced in ${runtimeToString(\n\t\t\t\t\t\t\t\t/** @type {RuntimeSpec} */ (runtimeCondition)\n\t\t\t\t\t\t\t)})`\n\t\t\t\t\t).join(\", \")}`;\n\t\t\t\t};\n\t\t\t\tstatistics.incorrectRuntimeCondition++;\n\t\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\t\treturn problem;\n\t\t\t}\n\t\t}\n\n\t\tlet backup;\n\t\tif (avoidMutateOnFailure) {\n\t\t\tbackup = config.snapshot();\n\t\t}\n\n\t\t// Add the module\n\t\tconfig.add(module);\n\n\t\tincomingModules.sort(compareModulesByIdentifier);\n\n\t\t// Every module which depends on the added module must be in the configuration too.\n\t\tfor (const originModule of incomingModules) {\n\t\t\tconst problem = this._tryToAdd(\n\t\t\t\tcompilation,\n\t\t\t\tconfig,\n\t\t\t\toriginModule,\n\t\t\t\truntime,\n\t\t\t\tactiveRuntime,\n\t\t\t\tpossibleModules,\n\t\t\t\tcandidates,\n\t\t\t\tfailureCache,\n\t\t\t\tchunkGraph,\n\t\t\t\tfalse,\n\t\t\t\tstatistics\n\t\t\t);\n\t\t\tif (problem) {\n\t\t\t\tif (backup !== undefined) config.rollback(backup);\n\t\t\t\tstatistics.importerFailed++;\n\t\t\t\tfailureCache.set(module, problem); // cache failures for performance\n\t\t\t\treturn problem;\n\t\t\t}\n\t\t}\n\n\t\t// Add imports to possible candidates list\n\t\tfor (const imp of this._getImports(compilation, module, runtime)) {\n\t\t\tcandidates.add(imp);\n\t\t}\n\t\tstatistics.added++;\n\t\treturn null;\n\t}\n}\n\nclass ConcatConfiguration {\n\t/**\n\t * @param {Module} rootModule the root module\n\t * @param {RuntimeSpec} runtime the runtime\n\t */\n\tconstructor(rootModule, runtime) {\n\t\tthis.rootModule = rootModule;\n\t\tthis.runtime = runtime;\n\t\t/** @type {Set<Module>} */\n\t\tthis.modules = new Set();\n\t\tthis.modules.add(rootModule);\n\t\t/** @type {Map<Module, Module | function(RequestShortener): string>} */\n\t\tthis.warnings = new Map();\n\t}\n\n\tadd(module) {\n\t\tthis.modules.add(module);\n\t}\n\n\thas(module) {\n\t\treturn this.modules.has(module);\n\t}\n\n\tisEmpty() {\n\t\treturn this.modules.size === 1;\n\t}\n\n\taddWarning(module, problem) {\n\t\tthis.warnings.set(module, problem);\n\t}\n\n\tgetWarningsSorted() {\n\t\treturn new Map(\n\t\t\tArray.from(this.warnings).sort((a, b) => {\n\t\t\t\tconst ai = a[0].identifier();\n\t\t\t\tconst bi = b[0].identifier();\n\t\t\t\tif (ai < bi) return -1;\n\t\t\t\tif (ai > bi) return 1;\n\t\t\t\treturn 0;\n\t\t\t})\n\t\t);\n\t}\n\n\t/**\n\t * @returns {Set<Module>} modules as set\n\t */\n\tgetModules() {\n\t\treturn this.modules;\n\t}\n\n\tsnapshot() {\n\t\treturn this.modules.size;\n\t}\n\n\trollback(snapshot) {\n\t\tconst modules = this.modules;\n\t\tfor (const m of modules) {\n\t\t\tif (snapshot === 0) {\n\t\t\t\tmodules.delete(m);\n\t\t\t} else {\n\t\t\t\tsnapshot--;\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = ModuleConcatenationPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/RealContentHashPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/RealContentHashPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst { RawSource, CachedSource, CompatSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst { compareSelect, compareStrings } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst EMPTY_SET = new Set();\n\nconst addToList = (itemOrItems, list) => {\n\tif (Array.isArray(itemOrItems)) {\n\t\tfor (const item of itemOrItems) {\n\t\t\tlist.add(item);\n\t\t}\n\t} else if (itemOrItems) {\n\t\tlist.add(itemOrItems);\n\t}\n};\n\n/**\n * @template T\n * @param {T[]} input list\n * @param {function(T): Buffer} fn map function\n * @returns {Buffer[]} buffers without duplicates\n */\nconst mapAndDeduplicateBuffers = (input, fn) => {\n\t// Buffer.equals compares size first so this should be efficient enough\n\t// If it becomes a performance problem we can use a map and group by size\n\t// instead of looping over all assets.\n\tconst result = [];\n\touter: for (const value of input) {\n\t\tconst buf = fn(value);\n\t\tfor (const other of result) {\n\t\t\tif (buf.equals(other)) continue outer;\n\t\t}\n\t\tresult.push(buf);\n\t}\n\treturn result;\n};\n\n/**\n * Escapes regular expression metacharacters\n * @param {string} str String to quote\n * @returns {string} Escaped string\n */\nconst quoteMeta = str => {\n\treturn str.replace(/[-[\\]\\\\/{}()*+?.^$|]/g, \"\\\\$&\");\n};\n\nconst cachedSourceMap = new WeakMap();\n\nconst toCachedSource = source => {\n\tif (source instanceof CachedSource) {\n\t\treturn source;\n\t}\n\tconst entry = cachedSourceMap.get(source);\n\tif (entry !== undefined) return entry;\n\tconst newSource = new CachedSource(CompatSource.from(source));\n\tcachedSourceMap.set(source, newSource);\n\treturn newSource;\n};\n\n/**\n * @typedef {Object} AssetInfoForRealContentHash\n * @property {string} name\n * @property {AssetInfo} info\n * @property {Source} source\n * @property {RawSource | undefined} newSource\n * @property {RawSource | undefined} newSourceWithoutOwn\n * @property {string} content\n * @property {Set<string>} ownHashes\n * @property {Promise} contentComputePromise\n * @property {Promise} contentComputeWithoutOwnPromise\n * @property {Set<string>} referencedHashes\n * @property {Set<string>} hashes\n */\n\n/**\n * @typedef {Object} CompilationHooks\n * @property {SyncBailHook<[Buffer[], string], string>} updateHash\n */\n\n/** @type {WeakMap<Compilation, CompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass RealContentHashPlugin {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {CompilationHooks} the attached hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tupdateHash: new SyncBailHook([\"content\", \"oldHash\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor({ hashFunction, hashDigest }) {\n\t\tthis._hashFunction = hashFunction;\n\t\tthis._hashDigest = hashDigest;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"RealContentHashPlugin\", compilation => {\n\t\t\tconst cacheAnalyse = compilation.getCache(\n\t\t\t\t\"RealContentHashPlugin|analyse\"\n\t\t\t);\n\t\t\tconst cacheGenerate = compilation.getCache(\n\t\t\t\t\"RealContentHashPlugin|generate\"\n\t\t\t);\n\t\t\tconst hooks = RealContentHashPlugin.getCompilationHooks(compilation);\n\t\t\tcompilation.hooks.processAssets.tapPromise(\n\t\t\t\t{\n\t\t\t\t\tname: \"RealContentHashPlugin\",\n\t\t\t\t\tstage: Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH\n\t\t\t\t},\n\t\t\t\tasync () => {\n\t\t\t\t\tconst assets = compilation.getAssets();\n\t\t\t\t\t/** @type {AssetInfoForRealContentHash[]} */\n\t\t\t\t\tconst assetsWithInfo = [];\n\t\t\t\t\tconst hashToAssets = new Map();\n\t\t\t\t\tfor (const { source, info, name } of assets) {\n\t\t\t\t\t\tconst cachedSource = toCachedSource(source);\n\t\t\t\t\t\tconst content = cachedSource.source();\n\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\tconst hashes = new Set();\n\t\t\t\t\t\taddToList(info.contenthash, hashes);\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\tinfo,\n\t\t\t\t\t\t\tsource: cachedSource,\n\t\t\t\t\t\t\t/** @type {RawSource | undefined} */\n\t\t\t\t\t\t\tnewSource: undefined,\n\t\t\t\t\t\t\t/** @type {RawSource | undefined} */\n\t\t\t\t\t\t\tnewSourceWithoutOwn: undefined,\n\t\t\t\t\t\t\tcontent,\n\t\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\t\townHashes: undefined,\n\t\t\t\t\t\t\tcontentComputePromise: undefined,\n\t\t\t\t\t\t\tcontentComputeWithoutOwnPromise: undefined,\n\t\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\t\treferencedHashes: undefined,\n\t\t\t\t\t\t\thashes\n\t\t\t\t\t\t};\n\t\t\t\t\t\tassetsWithInfo.push(data);\n\t\t\t\t\t\tfor (const hash of hashes) {\n\t\t\t\t\t\t\tconst list = hashToAssets.get(hash);\n\t\t\t\t\t\t\tif (list === undefined) {\n\t\t\t\t\t\t\t\thashToAssets.set(hash, [data]);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlist.push(data);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (hashToAssets.size === 0) return;\n\t\t\t\t\tconst hashRegExp = new RegExp(\n\t\t\t\t\t\tArray.from(hashToAssets.keys(), quoteMeta).join(\"|\"),\n\t\t\t\t\t\t\"g\"\n\t\t\t\t\t);\n\t\t\t\t\tawait Promise.all(\n\t\t\t\t\t\tassetsWithInfo.map(async asset => {\n\t\t\t\t\t\t\tconst { name, source, content, hashes } = asset;\n\t\t\t\t\t\t\tif (Buffer.isBuffer(content)) {\n\t\t\t\t\t\t\t\tasset.referencedHashes = EMPTY_SET;\n\t\t\t\t\t\t\t\tasset.ownHashes = EMPTY_SET;\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst etag = cacheAnalyse.mergeEtags(\n\t\t\t\t\t\t\t\tcacheAnalyse.getLazyHashedEtag(source),\n\t\t\t\t\t\t\t\tArray.from(hashes).join(\"|\")\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t[asset.referencedHashes, asset.ownHashes] =\n\t\t\t\t\t\t\t\tawait cacheAnalyse.providePromise(name, etag, () => {\n\t\t\t\t\t\t\t\t\tconst referencedHashes = new Set();\n\t\t\t\t\t\t\t\t\tlet ownHashes = new Set();\n\t\t\t\t\t\t\t\t\tconst inContent = content.match(hashRegExp);\n\t\t\t\t\t\t\t\t\tif (inContent) {\n\t\t\t\t\t\t\t\t\t\tfor (const hash of inContent) {\n\t\t\t\t\t\t\t\t\t\t\tif (hashes.has(hash)) {\n\t\t\t\t\t\t\t\t\t\t\t\townHashes.add(hash);\n\t\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\treferencedHashes.add(hash);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn [referencedHashes, ownHashes];\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t\tconst getDependencies = hash => {\n\t\t\t\t\t\tconst assets = hashToAssets.get(hash);\n\t\t\t\t\t\tif (!assets) {\n\t\t\t\t\t\t\tconst referencingAssets = assetsWithInfo.filter(asset =>\n\t\t\t\t\t\t\t\tasset.referencedHashes.has(hash)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst err = new WebpackError(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${hash}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${referencingAssets\n\t.map(a => {\n\t\tconst match = new RegExp(`.{0,20}${quoteMeta(hash)}.{0,20}`).exec(\n\t\t\ta.content\n\t\t);\n\t\treturn ` - ${a.name}: ...${match ? match[0] : \"???\"}...`;\n\t})\n\t.join(\"\\n\")}`);\n\t\t\t\t\t\t\tcompilation.errors.push(err);\n\t\t\t\t\t\t\treturn undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst hashes = new Set();\n\t\t\t\t\t\tfor (const { referencedHashes, ownHashes } of assets) {\n\t\t\t\t\t\t\tif (!ownHashes.has(hash)) {\n\t\t\t\t\t\t\t\tfor (const hash of ownHashes) {\n\t\t\t\t\t\t\t\t\thashes.add(hash);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const hash of referencedHashes) {\n\t\t\t\t\t\t\t\thashes.add(hash);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn hashes;\n\t\t\t\t\t};\n\t\t\t\t\tconst hashInfo = hash => {\n\t\t\t\t\t\tconst assets = hashToAssets.get(hash);\n\t\t\t\t\t\treturn `${hash} (${Array.from(assets, a => a.name)})`;\n\t\t\t\t\t};\n\t\t\t\t\tconst hashesInOrder = new Set();\n\t\t\t\t\tfor (const hash of hashToAssets.keys()) {\n\t\t\t\t\t\tconst add = (hash, stack) => {\n\t\t\t\t\t\t\tconst deps = getDependencies(hash);\n\t\t\t\t\t\t\tif (!deps) return;\n\t\t\t\t\t\t\tstack.add(hash);\n\t\t\t\t\t\t\tfor (const dep of deps) {\n\t\t\t\t\t\t\t\tif (hashesInOrder.has(dep)) continue;\n\t\t\t\t\t\t\t\tif (stack.has(dep)) {\n\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t`Circular hash dependency ${Array.from(\n\t\t\t\t\t\t\t\t\t\t\tstack,\n\t\t\t\t\t\t\t\t\t\t\thashInfo\n\t\t\t\t\t\t\t\t\t\t).join(\" -> \")} -> ${hashInfo(dep)}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tadd(dep, stack);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\thashesInOrder.add(hash);\n\t\t\t\t\t\t\tstack.delete(hash);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (hashesInOrder.has(hash)) continue;\n\t\t\t\t\t\tadd(hash, new Set());\n\t\t\t\t\t}\n\t\t\t\t\tconst hashToNewHash = new Map();\n\t\t\t\t\tconst getEtag = asset =>\n\t\t\t\t\t\tcacheGenerate.mergeEtags(\n\t\t\t\t\t\t\tcacheGenerate.getLazyHashedEtag(asset.source),\n\t\t\t\t\t\t\tArray.from(asset.referencedHashes, hash =>\n\t\t\t\t\t\t\t\thashToNewHash.get(hash)\n\t\t\t\t\t\t\t).join(\"|\")\n\t\t\t\t\t\t);\n\t\t\t\t\tconst computeNewContent = asset => {\n\t\t\t\t\t\tif (asset.contentComputePromise) return asset.contentComputePromise;\n\t\t\t\t\t\treturn (asset.contentComputePromise = (async () => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tasset.ownHashes.size > 0 ||\n\t\t\t\t\t\t\t\tArray.from(asset.referencedHashes).some(\n\t\t\t\t\t\t\t\t\thash => hashToNewHash.get(hash) !== hash\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst identifier = asset.name;\n\t\t\t\t\t\t\t\tconst etag = getEtag(asset);\n\t\t\t\t\t\t\t\tasset.newSource = await cacheGenerate.providePromise(\n\t\t\t\t\t\t\t\t\tidentifier,\n\t\t\t\t\t\t\t\t\tetag,\n\t\t\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\t\t\tconst newContent = asset.content.replace(hashRegExp, hash =>\n\t\t\t\t\t\t\t\t\t\t\thashToNewHash.get(hash)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn new RawSource(newContent);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})());\n\t\t\t\t\t};\n\t\t\t\t\tconst computeNewContentWithoutOwn = asset => {\n\t\t\t\t\t\tif (asset.contentComputeWithoutOwnPromise)\n\t\t\t\t\t\t\treturn asset.contentComputeWithoutOwnPromise;\n\t\t\t\t\t\treturn (asset.contentComputeWithoutOwnPromise = (async () => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tasset.ownHashes.size > 0 ||\n\t\t\t\t\t\t\t\tArray.from(asset.referencedHashes).some(\n\t\t\t\t\t\t\t\t\thash => hashToNewHash.get(hash) !== hash\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst identifier = asset.name + \"|without-own\";\n\t\t\t\t\t\t\t\tconst etag = getEtag(asset);\n\t\t\t\t\t\t\t\tasset.newSourceWithoutOwn = await cacheGenerate.providePromise(\n\t\t\t\t\t\t\t\t\tidentifier,\n\t\t\t\t\t\t\t\t\tetag,\n\t\t\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\t\t\tconst newContent = asset.content.replace(\n\t\t\t\t\t\t\t\t\t\t\thashRegExp,\n\t\t\t\t\t\t\t\t\t\t\thash => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (asset.ownHashes.has(hash)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"\";\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\treturn hashToNewHash.get(hash);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn new RawSource(newContent);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})());\n\t\t\t\t\t};\n\t\t\t\t\tconst comparator = compareSelect(a => a.name, compareStrings);\n\t\t\t\t\tfor (const oldHash of hashesInOrder) {\n\t\t\t\t\t\tconst assets = hashToAssets.get(oldHash);\n\t\t\t\t\t\tassets.sort(comparator);\n\t\t\t\t\t\tconst hash = createHash(this._hashFunction);\n\t\t\t\t\t\tawait Promise.all(\n\t\t\t\t\t\t\tassets.map(asset =>\n\t\t\t\t\t\t\t\tasset.ownHashes.has(oldHash)\n\t\t\t\t\t\t\t\t\t? computeNewContentWithoutOwn(asset)\n\t\t\t\t\t\t\t\t\t: computeNewContent(asset)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst assetsContent = mapAndDeduplicateBuffers(assets, asset => {\n\t\t\t\t\t\t\tif (asset.ownHashes.has(oldHash)) {\n\t\t\t\t\t\t\t\treturn asset.newSourceWithoutOwn\n\t\t\t\t\t\t\t\t\t? asset.newSourceWithoutOwn.buffer()\n\t\t\t\t\t\t\t\t\t: asset.source.buffer();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn asset.newSource\n\t\t\t\t\t\t\t\t\t? asset.newSource.buffer()\n\t\t\t\t\t\t\t\t\t: asset.source.buffer();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlet newHash = hooks.updateHash.call(assetsContent, oldHash);\n\t\t\t\t\t\tif (!newHash) {\n\t\t\t\t\t\t\tfor (const content of assetsContent) {\n\t\t\t\t\t\t\t\thash.update(content);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst digest = hash.digest(this._hashDigest);\n\t\t\t\t\t\t\tnewHash = /** @type {string} */ (digest.slice(0, oldHash.length));\n\t\t\t\t\t\t}\n\t\t\t\t\t\thashToNewHash.set(oldHash, newHash);\n\t\t\t\t\t}\n\t\t\t\t\tawait Promise.all(\n\t\t\t\t\t\tassetsWithInfo.map(async asset => {\n\t\t\t\t\t\t\tawait computeNewContent(asset);\n\t\t\t\t\t\t\tconst newName = asset.name.replace(hashRegExp, hash =>\n\t\t\t\t\t\t\t\thashToNewHash.get(hash)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tconst infoUpdate = {};\n\t\t\t\t\t\t\tconst hash = asset.info.contenthash;\n\t\t\t\t\t\t\tinfoUpdate.contenthash = Array.isArray(hash)\n\t\t\t\t\t\t\t\t? hash.map(hash => hashToNewHash.get(hash))\n\t\t\t\t\t\t\t\t: hashToNewHash.get(hash);\n\n\t\t\t\t\t\t\tif (asset.newSource !== undefined) {\n\t\t\t\t\t\t\t\tcompilation.updateAsset(\n\t\t\t\t\t\t\t\t\tasset.name,\n\t\t\t\t\t\t\t\t\tasset.newSource,\n\t\t\t\t\t\t\t\t\tinfoUpdate\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcompilation.updateAsset(asset.name, asset.source, infoUpdate);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (asset.name !== newName) {\n\t\t\t\t\t\t\t\tcompilation.renameAsset(asset.name, newName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = RealContentHashPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/RealContentHashPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_BASIC, STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass RemoveEmptyChunksPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"RemoveEmptyChunksPlugin\", compilation => {\n\t\t\t/**\n\t\t\t * @param {Iterable<Chunk>} chunks the chunks array\n\t\t\t * @returns {void}\n\t\t\t */\n\t\t\tconst handler = chunks => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunk) === 0 &&\n\t\t\t\t\t\t!chunk.hasRuntime() &&\n\t\t\t\t\t\tchunkGraph.getNumberOfEntryModules(chunk) === 0\n\t\t\t\t\t) {\n\t\t\t\t\t\tcompilation.chunkGraph.disconnectChunk(chunk);\n\t\t\t\t\t\tcompilation.chunks.delete(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\t// TODO do it once\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"RemoveEmptyChunksPlugin\",\n\t\t\t\t\tstage: STAGE_BASIC\n\t\t\t\t},\n\t\t\t\thandler\n\t\t\t);\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"RemoveEmptyChunksPlugin\",\n\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t},\n\t\t\t\thandler\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = RemoveEmptyChunksPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { STAGE_BASIC } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst Queue = __webpack_require__(/*! ../util/Queue */ \"./node_modules/webpack/lib/util/Queue.js\");\nconst { intersect } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass RemoveParentModulesPlugin {\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"RemoveParentModulesPlugin\", compilation => {\n\t\t\tconst handler = (chunks, chunkGroups) => {\n\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\tconst queue = new Queue();\n\t\t\t\tconst availableModulesMap = new WeakMap();\n\n\t\t\t\tfor (const chunkGroup of compilation.entrypoints.values()) {\n\t\t\t\t\t// initialize available modules for chunks without parents\n\t\t\t\t\tavailableModulesMap.set(chunkGroup, new Set());\n\t\t\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\t\t\tqueue.enqueue(child);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const chunkGroup of compilation.asyncEntrypoints) {\n\t\t\t\t\t// initialize available modules for chunks without parents\n\t\t\t\t\tavailableModulesMap.set(chunkGroup, new Set());\n\t\t\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\t\t\tqueue.enqueue(child);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\twhile (queue.length > 0) {\n\t\t\t\t\tconst chunkGroup = queue.dequeue();\n\t\t\t\t\tlet availableModules = availableModulesMap.get(chunkGroup);\n\t\t\t\t\tlet changed = false;\n\t\t\t\t\tfor (const parent of chunkGroup.parentsIterable) {\n\t\t\t\t\t\tconst availableModulesInParent = availableModulesMap.get(parent);\n\t\t\t\t\t\tif (availableModulesInParent !== undefined) {\n\t\t\t\t\t\t\t// If we know the available modules in parent: process these\n\t\t\t\t\t\t\tif (availableModules === undefined) {\n\t\t\t\t\t\t\t\t// if we have not own info yet: create new entry\n\t\t\t\t\t\t\t\tavailableModules = new Set(availableModulesInParent);\n\t\t\t\t\t\t\t\tfor (const chunk of parent.chunks) {\n\t\t\t\t\t\t\t\t\tfor (const m of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\t\t\t\tavailableModules.add(m);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tavailableModulesMap.set(chunkGroup, availableModules);\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tfor (const m of availableModules) {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!chunkGraph.isModuleInChunkGroup(m, parent) &&\n\t\t\t\t\t\t\t\t\t\t!availableModulesInParent.has(m)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tavailableModules.delete(m);\n\t\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (changed) {\n\t\t\t\t\t\t// if something changed: enqueue our children\n\t\t\t\t\t\tfor (const child of chunkGroup.childrenIterable) {\n\t\t\t\t\t\t\tqueue.enqueue(child);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// now we have available modules for every chunk\n\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\tconst availableModulesSets = Array.from(\n\t\t\t\t\t\tchunk.groupsIterable,\n\t\t\t\t\t\tchunkGroup => availableModulesMap.get(chunkGroup)\n\t\t\t\t\t);\n\t\t\t\t\tif (availableModulesSets.some(s => s === undefined)) continue; // No info about this chunk group\n\t\t\t\t\tconst availableModules =\n\t\t\t\t\t\tavailableModulesSets.length === 1\n\t\t\t\t\t\t\t? availableModulesSets[0]\n\t\t\t\t\t\t\t: intersect(availableModulesSets);\n\t\t\t\t\tconst numberOfModules = chunkGraph.getNumberOfChunkModules(chunk);\n\t\t\t\t\tconst toRemove = new Set();\n\t\t\t\t\tif (numberOfModules < availableModules.size) {\n\t\t\t\t\t\tfor (const m of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\tif (availableModules.has(m)) {\n\t\t\t\t\t\t\t\ttoRemove.add(m);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const m of availableModules) {\n\t\t\t\t\t\t\tif (chunkGraph.isModuleInChunk(m, chunk)) {\n\t\t\t\t\t\t\t\ttoRemove.add(m);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const module of toRemove) {\n\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(chunk, module);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"RemoveParentModulesPlugin\",\n\t\t\t\t\tstage: STAGE_BASIC\n\t\t\t\t},\n\t\t\t\thandler\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = RemoveParentModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass RuntimeChunkPlugin {\n\tconstructor(options) {\n\t\tthis.options = {\n\t\t\tname: entrypoint => `runtime~${entrypoint.name}`,\n\t\t\t...options\n\t\t};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\"RuntimeChunkPlugin\", compilation => {\n\t\t\tcompilation.hooks.addEntry.tap(\n\t\t\t\t\"RuntimeChunkPlugin\",\n\t\t\t\t(_, { name: entryName }) => {\n\t\t\t\t\tif (entryName === undefined) return;\n\t\t\t\t\tconst data = compilation.entries.get(entryName);\n\t\t\t\t\tif (data.options.runtime === undefined && !data.options.dependOn) {\n\t\t\t\t\t\t// Determine runtime chunk name\n\t\t\t\t\t\tlet name = this.options.name;\n\t\t\t\t\t\tif (typeof name === \"function\") {\n\t\t\t\t\t\t\tname = name({ name: entryName });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdata.options.runtime = name;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = RuntimeChunkPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst glob2regexp = __webpack_require__(/*! glob-to-regexp */ \"./node_modules/glob-to-regexp/index.js\");\nconst { STAGE_DEFAULT } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst HarmonyExportImportedSpecifierDependency = __webpack_require__(/*! ../dependencies/HarmonyExportImportedSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js\");\nconst HarmonyImportSpecifierDependency = __webpack_require__(/*! ../dependencies/HarmonyImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js\");\nconst formatLocation = __webpack_require__(/*! ../formatLocation */ \"./node_modules/webpack/lib/formatLocation.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../javascript/JavascriptParser\")} JavascriptParser */\n\n/**\n * @typedef {Object} ExportInModule\n * @property {Module} module the module\n * @property {string} exportName the name of the export\n * @property {boolean} checked if the export is conditional\n */\n\n/**\n * @typedef {Object} ReexportInfo\n * @property {Map<string, ExportInModule[]>} static\n * @property {Map<Module, Set<string>>} dynamic\n */\n\n/** @type {WeakMap<any, Map<string, RegExp>>} */\nconst globToRegexpCache = new WeakMap();\n\n/**\n * @param {string} glob the pattern\n * @param {Map<string, RegExp>} cache the glob to RegExp cache\n * @returns {RegExp} a regular expression\n */\nconst globToRegexp = (glob, cache) => {\n\tconst cacheEntry = cache.get(glob);\n\tif (cacheEntry !== undefined) return cacheEntry;\n\tif (!glob.includes(\"/\")) {\n\t\tglob = `**/${glob}`;\n\t}\n\tconst baseRegexp = glob2regexp(glob, { globstar: true, extended: true });\n\tconst regexpSource = baseRegexp.source;\n\tconst regexp = new RegExp(\"^(\\\\./)?\" + regexpSource.slice(1));\n\tcache.set(glob, regexp);\n\treturn regexp;\n};\n\nclass SideEffectsFlagPlugin {\n\t/**\n\t * @param {boolean} analyseSource analyse source code for side effects\n\t */\n\tconstructor(analyseSource = true) {\n\t\tthis._analyseSource = analyseSource;\n\t}\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tlet cache = globToRegexpCache.get(compiler.root);\n\t\tif (cache === undefined) {\n\t\t\tcache = new Map();\n\t\t\tglobToRegexpCache.set(compiler.root, cache);\n\t\t}\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"SideEffectsFlagPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\t\tnormalModuleFactory.hooks.module.tap(\n\t\t\t\t\t\"SideEffectsFlagPlugin\",\n\t\t\t\t\t(module, data) => {\n\t\t\t\t\t\tconst resolveData = data.resourceResolveData;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tresolveData &&\n\t\t\t\t\t\t\tresolveData.descriptionFileData &&\n\t\t\t\t\t\t\tresolveData.relativePath\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst sideEffects = resolveData.descriptionFileData.sideEffects;\n\t\t\t\t\t\t\tif (sideEffects !== undefined) {\n\t\t\t\t\t\t\t\tif (module.factoryMeta === undefined) {\n\t\t\t\t\t\t\t\t\tmodule.factoryMeta = {};\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst hasSideEffects =\n\t\t\t\t\t\t\t\t\tSideEffectsFlagPlugin.moduleHasSideEffects(\n\t\t\t\t\t\t\t\t\t\tresolveData.relativePath,\n\t\t\t\t\t\t\t\t\t\tsideEffects,\n\t\t\t\t\t\t\t\t\t\tcache\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tmodule.factoryMeta.sideEffectFree = !hasSideEffects;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn module;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tnormalModuleFactory.hooks.module.tap(\n\t\t\t\t\t\"SideEffectsFlagPlugin\",\n\t\t\t\t\t(module, data) => {\n\t\t\t\t\t\tif (typeof data.settings.sideEffects === \"boolean\") {\n\t\t\t\t\t\t\tif (module.factoryMeta === undefined) {\n\t\t\t\t\t\t\t\tmodule.factoryMeta = {};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmodule.factoryMeta.sideEffectFree = !data.settings.sideEffects;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn module;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif (this._analyseSource) {\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {JavascriptParser} parser the parser\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst parserHandler = parser => {\n\t\t\t\t\t\tlet sideEffectsStatement;\n\t\t\t\t\t\tparser.hooks.program.tap(\"SideEffectsFlagPlugin\", () => {\n\t\t\t\t\t\t\tsideEffectsStatement = undefined;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tparser.hooks.statement.tap(\n\t\t\t\t\t\t\t{ name: \"SideEffectsFlagPlugin\", stage: -100 },\n\t\t\t\t\t\t\tstatement => {\n\t\t\t\t\t\t\t\tif (sideEffectsStatement) return;\n\t\t\t\t\t\t\t\tif (parser.scope.topLevelScope !== true) return;\n\t\t\t\t\t\t\t\tswitch (statement.type) {\n\t\t\t\t\t\t\t\t\tcase \"ExpressionStatement\":\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(statement.expression, statement.range[0])\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"IfStatement\":\n\t\t\t\t\t\t\t\t\tcase \"WhileStatement\":\n\t\t\t\t\t\t\t\t\tcase \"DoWhileStatement\":\n\t\t\t\t\t\t\t\t\t\tif (!parser.isPure(statement.test, statement.range[0])) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// statement hook will be called for child statements too\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"ForStatement\":\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(statement.init, statement.range[0]) ||\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(\n\t\t\t\t\t\t\t\t\t\t\t\tstatement.test,\n\t\t\t\t\t\t\t\t\t\t\t\tstatement.init\n\t\t\t\t\t\t\t\t\t\t\t\t\t? statement.init.range[1]\n\t\t\t\t\t\t\t\t\t\t\t\t\t: statement.range[0]\n\t\t\t\t\t\t\t\t\t\t\t) ||\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(\n\t\t\t\t\t\t\t\t\t\t\t\tstatement.update,\n\t\t\t\t\t\t\t\t\t\t\t\tstatement.test\n\t\t\t\t\t\t\t\t\t\t\t\t\t? statement.test.range[1]\n\t\t\t\t\t\t\t\t\t\t\t\t\t: statement.init\n\t\t\t\t\t\t\t\t\t\t\t\t\t? statement.init.range[1]\n\t\t\t\t\t\t\t\t\t\t\t\t\t: statement.range[0]\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// statement hook will be called for child statements too\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"SwitchStatement\":\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(statement.discriminant, statement.range[0])\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// statement hook will be called for child statements too\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"VariableDeclaration\":\n\t\t\t\t\t\t\t\t\tcase \"ClassDeclaration\":\n\t\t\t\t\t\t\t\t\tcase \"FunctionDeclaration\":\n\t\t\t\t\t\t\t\t\t\tif (!parser.isPure(statement, statement.range[0])) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"ExportNamedDeclaration\":\n\t\t\t\t\t\t\t\t\tcase \"ExportDefaultDeclaration\":\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t!parser.isPure(statement.declaration, statement.range[0])\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"LabeledStatement\":\n\t\t\t\t\t\t\t\t\tcase \"BlockStatement\":\n\t\t\t\t\t\t\t\t\t\t// statement hook will be called for child statements too\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"EmptyStatement\":\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"ExportAllDeclaration\":\n\t\t\t\t\t\t\t\t\tcase \"ImportDeclaration\":\n\t\t\t\t\t\t\t\t\t\t// imports will be handled by the dependencies\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tsideEffectsStatement = statement;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tparser.hooks.finish.tap(\"SideEffectsFlagPlugin\", () => {\n\t\t\t\t\t\t\tif (sideEffectsStatement === undefined) {\n\t\t\t\t\t\t\t\tparser.state.module.buildMeta.sideEffectFree = true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst { loc, type } = sideEffectsStatement;\n\t\t\t\t\t\t\t\tmoduleGraph\n\t\t\t\t\t\t\t\t\t.getOptimizationBailout(parser.state.module)\n\t\t\t\t\t\t\t\t\t.push(\n\t\t\t\t\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\t\t\t\t\t`Statement (${type}) with side effects in source code at ${formatLocation(\n\t\t\t\t\t\t\t\t\t\t\t\tloc\n\t\t\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\t\t\t\t\tfor (const key of [\n\t\t\t\t\t\t\"javascript/auto\",\n\t\t\t\t\t\t\"javascript/esm\",\n\t\t\t\t\t\t\"javascript/dynamic\"\n\t\t\t\t\t]) {\n\t\t\t\t\t\tnormalModuleFactory.hooks.parser\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"SideEffectsFlagPlugin\", parserHandler);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcompilation.hooks.optimizeDependencies.tap(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: \"SideEffectsFlagPlugin\",\n\t\t\t\t\t\tstage: STAGE_DEFAULT\n\t\t\t\t\t},\n\t\t\t\t\tmodules => {\n\t\t\t\t\t\tconst logger = compilation.getLogger(\n\t\t\t\t\t\t\t\"webpack.SideEffectsFlagPlugin\"\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tlogger.time(\"update dependencies\");\n\t\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t\tif (module.getSideEffectsConnectionState(moduleGraph) === false) {\n\t\t\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\t\t\tfor (const connection of moduleGraph.getIncomingConnections(\n\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t\tconst dep = connection.dependency;\n\t\t\t\t\t\t\t\t\tlet isReexport;\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t(isReexport =\n\t\t\t\t\t\t\t\t\t\t\tdep instanceof\n\t\t\t\t\t\t\t\t\t\t\tHarmonyExportImportedSpecifierDependency) ||\n\t\t\t\t\t\t\t\t\t\t(dep instanceof HarmonyImportSpecifierDependency &&\n\t\t\t\t\t\t\t\t\t\t\t!dep.namespaceObjectAsContext)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t// TODO improve for export *\n\t\t\t\t\t\t\t\t\t\tif (isReexport && dep.name) {\n\t\t\t\t\t\t\t\t\t\t\tconst exportInfo = moduleGraph.getExportInfo(\n\t\t\t\t\t\t\t\t\t\t\t\tconnection.originModule,\n\t\t\t\t\t\t\t\t\t\t\t\tdep.name\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\texportInfo.moveTarget(\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\t\t\t({ module }) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tmodule.getSideEffectsConnectionState(moduleGraph) ===\n\t\t\t\t\t\t\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\t\t\t\t\t\t({ module: newModule, export: exportName }) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph.updateModule(dep, newModule);\n\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph.addExplanation(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"(skipped side-effect-free modules)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst ids = dep.getIds(moduleGraph);\n\t\t\t\t\t\t\t\t\t\t\t\t\tdep.setIds(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texportName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? [...exportName, ...ids.slice(1)]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: ids.slice(1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn moduleGraph.getConnection(dep);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// TODO improve for nested imports\n\t\t\t\t\t\t\t\t\t\tconst ids = dep.getIds(moduleGraph);\n\t\t\t\t\t\t\t\t\t\tif (ids.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\tconst exportInfo = exportsInfo.getExportInfo(ids[0]);\n\t\t\t\t\t\t\t\t\t\t\tconst target = exportInfo.getTarget(\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\t\t\t({ module }) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tmodule.getSideEffectsConnectionState(moduleGraph) ===\n\t\t\t\t\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tif (!target) continue;\n\n\t\t\t\t\t\t\t\t\t\t\tmoduleGraph.updateModule(dep, target.module);\n\t\t\t\t\t\t\t\t\t\t\tmoduleGraph.addExplanation(\n\t\t\t\t\t\t\t\t\t\t\t\tdep,\n\t\t\t\t\t\t\t\t\t\t\t\t\"(skipped side-effect-free modules)\"\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\tdep.setIds(\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\t\t\ttarget.export\n\t\t\t\t\t\t\t\t\t\t\t\t\t? [...target.export, ...ids.slice(1)]\n\t\t\t\t\t\t\t\t\t\t\t\t\t: ids.slice(1)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlogger.timeEnd(\"update dependencies\");\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\tstatic moduleHasSideEffects(moduleName, flagValue, cache) {\n\t\tswitch (typeof flagValue) {\n\t\t\tcase \"undefined\":\n\t\t\t\treturn true;\n\t\t\tcase \"boolean\":\n\t\t\t\treturn flagValue;\n\t\t\tcase \"string\":\n\t\t\t\treturn globToRegexp(flagValue, cache).test(moduleName);\n\t\t\tcase \"object\":\n\t\t\t\treturn flagValue.some(glob =>\n\t\t\t\t\tSideEffectsFlagPlugin.moduleHasSideEffects(moduleName, glob, cache)\n\t\t\t\t);\n\t\t}\n\t}\n}\nmodule.exports = SideEffectsFlagPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/optimize/SplitChunksPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/optimize/SplitChunksPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Chunk = __webpack_require__(/*! ../Chunk */ \"./node_modules/webpack/lib/Chunk.js\");\nconst { STAGE_ADVANCED } = __webpack_require__(/*! ../OptimizationStages */ \"./node_modules/webpack/lib/OptimizationStages.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst { requestToId } = __webpack_require__(/*! ../ids/IdHelpers */ \"./node_modules/webpack/lib/ids/IdHelpers.js\");\nconst { isSubset } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst SortableSet = __webpack_require__(/*! ../util/SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\nconst {\n\tcompareModulesByIdentifier,\n\tcompareIterables\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst deterministicGrouping = __webpack_require__(/*! ../util/deterministicGrouping */ \"./node_modules/webpack/lib/util/deterministicGrouping.js\");\nconst { makePathsRelative } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst MinMaxSizeWarning = __webpack_require__(/*! ./MinMaxSizeWarning */ \"./node_modules/webpack/lib/optimize/MinMaxSizeWarning.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationSplitChunksCacheGroup} OptimizationSplitChunksCacheGroup */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationSplitChunksGetCacheGroups} OptimizationSplitChunksGetCacheGroups */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationSplitChunksOptions} OptimizationSplitChunksOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").OptimizationSplitChunksSizes} OptimizationSplitChunksSizes */\n/** @typedef {import(\"../../declarations/WebpackOptions\").Output} OutputOptions */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"../Compilation\").PathData} PathData */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../util/deterministicGrouping\").GroupedItems<Module>} DeterministicGroupingGroupedItemsForModule */\n/** @typedef {import(\"../util/deterministicGrouping\").Options<Module>} DeterministicGroupingOptionsForModule */\n\n/** @typedef {Record<string, number>} SplitChunksSizes */\n\n/**\n * @callback ChunkFilterFunction\n * @param {Chunk} chunk\n * @returns {boolean}\n */\n\n/**\n * @callback CombineSizeFunction\n * @param {number} a\n * @param {number} b\n * @returns {number}\n */\n\n/**\n * @typedef {Object} CacheGroupSource\n * @property {string=} key\n * @property {number=} priority\n * @property {GetName=} getName\n * @property {ChunkFilterFunction=} chunksFilter\n * @property {boolean=} enforce\n * @property {SplitChunksSizes} minSize\n * @property {SplitChunksSizes} minSizeReduction\n * @property {SplitChunksSizes} minRemainingSize\n * @property {SplitChunksSizes} enforceSizeThreshold\n * @property {SplitChunksSizes} maxAsyncSize\n * @property {SplitChunksSizes} maxInitialSize\n * @property {number=} minChunks\n * @property {number=} maxAsyncRequests\n * @property {number=} maxInitialRequests\n * @property {(string | function(PathData, AssetInfo=): string)=} filename\n * @property {string=} idHint\n * @property {string} automaticNameDelimiter\n * @property {boolean=} reuseExistingChunk\n * @property {boolean=} usedExports\n */\n\n/**\n * @typedef {Object} CacheGroup\n * @property {string} key\n * @property {number=} priority\n * @property {GetName=} getName\n * @property {ChunkFilterFunction=} chunksFilter\n * @property {SplitChunksSizes} minSize\n * @property {SplitChunksSizes} minSizeReduction\n * @property {SplitChunksSizes} minRemainingSize\n * @property {SplitChunksSizes} enforceSizeThreshold\n * @property {SplitChunksSizes} maxAsyncSize\n * @property {SplitChunksSizes} maxInitialSize\n * @property {number=} minChunks\n * @property {number=} maxAsyncRequests\n * @property {number=} maxInitialRequests\n * @property {(string | function(PathData, AssetInfo=): string)=} filename\n * @property {string=} idHint\n * @property {string} automaticNameDelimiter\n * @property {boolean} reuseExistingChunk\n * @property {boolean} usedExports\n * @property {boolean} _validateSize\n * @property {boolean} _validateRemainingSize\n * @property {SplitChunksSizes} _minSizeForMaxSize\n * @property {boolean} _conditionalEnforce\n */\n\n/**\n * @typedef {Object} FallbackCacheGroup\n * @property {ChunkFilterFunction} chunksFilter\n * @property {SplitChunksSizes} minSize\n * @property {SplitChunksSizes} maxAsyncSize\n * @property {SplitChunksSizes} maxInitialSize\n * @property {string} automaticNameDelimiter\n */\n\n/**\n * @typedef {Object} CacheGroupsContext\n * @property {ModuleGraph} moduleGraph\n * @property {ChunkGraph} chunkGraph\n */\n\n/**\n * @callback GetCacheGroups\n * @param {Module} module\n * @param {CacheGroupsContext} context\n * @returns {CacheGroupSource[]}\n */\n\n/**\n * @callback GetName\n * @param {Module=} module\n * @param {Chunk[]=} chunks\n * @param {string=} key\n * @returns {string=}\n */\n\n/**\n * @typedef {Object} SplitChunksOptions\n * @property {ChunkFilterFunction} chunksFilter\n * @property {string[]} defaultSizeTypes\n * @property {SplitChunksSizes} minSize\n * @property {SplitChunksSizes} minSizeReduction\n * @property {SplitChunksSizes} minRemainingSize\n * @property {SplitChunksSizes} enforceSizeThreshold\n * @property {SplitChunksSizes} maxInitialSize\n * @property {SplitChunksSizes} maxAsyncSize\n * @property {number} minChunks\n * @property {number} maxAsyncRequests\n * @property {number} maxInitialRequests\n * @property {boolean} hidePathInfo\n * @property {string | function(PathData, AssetInfo=): string} filename\n * @property {string} automaticNameDelimiter\n * @property {GetCacheGroups} getCacheGroups\n * @property {GetName} getName\n * @property {boolean} usedExports\n * @property {FallbackCacheGroup} fallbackCacheGroup\n */\n\n/**\n * @typedef {Object} ChunksInfoItem\n * @property {SortableSet<Module>} modules\n * @property {CacheGroup} cacheGroup\n * @property {number} cacheGroupIndex\n * @property {string} name\n * @property {Record<string, number>} sizes\n * @property {Set<Chunk>} chunks\n * @property {Set<Chunk>} reuseableChunks\n * @property {Set<bigint | Chunk>} chunksKeys\n */\n\nconst defaultGetName = /** @type {GetName} */ (() => {});\n\nconst deterministicGroupingForModules =\n\t/** @type {function(DeterministicGroupingOptionsForModule): DeterministicGroupingGroupedItemsForModule[]} */ (\n\t\tdeterministicGrouping\n\t);\n\n/** @type {WeakMap<Module, string>} */\nconst getKeyCache = new WeakMap();\n\n/**\n * @param {string} name a filename to hash\n * @param {OutputOptions} outputOptions hash function used\n * @returns {string} hashed filename\n */\nconst hashFilename = (name, outputOptions) => {\n\tconst digest = /** @type {string} */ (\n\t\tcreateHash(outputOptions.hashFunction)\n\t\t\t.update(name)\n\t\t\t.digest(outputOptions.hashDigest)\n\t);\n\treturn digest.slice(0, 8);\n};\n\n/**\n * @param {Chunk} chunk the chunk\n * @returns {number} the number of requests\n */\nconst getRequests = chunk => {\n\tlet requests = 0;\n\tfor (const chunkGroup of chunk.groupsIterable) {\n\t\trequests = Math.max(requests, chunkGroup.chunks.length);\n\t}\n\treturn requests;\n};\n\nconst mapObject = (obj, fn) => {\n\tconst newObj = Object.create(null);\n\tfor (const key of Object.keys(obj)) {\n\t\tnewObj[key] = fn(obj[key], key);\n\t}\n\treturn newObj;\n};\n\n/**\n * @template T\n * @param {Set<T>} a set\n * @param {Set<T>} b other set\n * @returns {boolean} true if at least one item of a is in b\n */\nconst isOverlap = (a, b) => {\n\tfor (const item of a) {\n\t\tif (b.has(item)) return true;\n\t}\n\treturn false;\n};\n\nconst compareModuleIterables = compareIterables(compareModulesByIdentifier);\n\n/**\n * @param {ChunksInfoItem} a item\n * @param {ChunksInfoItem} b item\n * @returns {number} compare result\n */\nconst compareEntries = (a, b) => {\n\t// 1. by priority\n\tconst diffPriority = a.cacheGroup.priority - b.cacheGroup.priority;\n\tif (diffPriority) return diffPriority;\n\t// 2. by number of chunks\n\tconst diffCount = a.chunks.size - b.chunks.size;\n\tif (diffCount) return diffCount;\n\t// 3. by size reduction\n\tconst aSizeReduce = totalSize(a.sizes) * (a.chunks.size - 1);\n\tconst bSizeReduce = totalSize(b.sizes) * (b.chunks.size - 1);\n\tconst diffSizeReduce = aSizeReduce - bSizeReduce;\n\tif (diffSizeReduce) return diffSizeReduce;\n\t// 4. by cache group index\n\tconst indexDiff = b.cacheGroupIndex - a.cacheGroupIndex;\n\tif (indexDiff) return indexDiff;\n\t// 5. by number of modules (to be able to compare by identifier)\n\tconst modulesA = a.modules;\n\tconst modulesB = b.modules;\n\tconst diff = modulesA.size - modulesB.size;\n\tif (diff) return diff;\n\t// 6. by module identifiers\n\tmodulesA.sort();\n\tmodulesB.sort();\n\treturn compareModuleIterables(modulesA, modulesB);\n};\n\nconst INITIAL_CHUNK_FILTER = chunk => chunk.canBeInitial();\nconst ASYNC_CHUNK_FILTER = chunk => !chunk.canBeInitial();\nconst ALL_CHUNK_FILTER = chunk => true;\n\n/**\n * @param {OptimizationSplitChunksSizes} value the sizes\n * @param {string[]} defaultSizeTypes the default size types\n * @returns {SplitChunksSizes} normalized representation\n */\nconst normalizeSizes = (value, defaultSizeTypes) => {\n\tif (typeof value === \"number\") {\n\t\t/** @type {Record<string, number>} */\n\t\tconst o = {};\n\t\tfor (const sizeType of defaultSizeTypes) o[sizeType] = value;\n\t\treturn o;\n\t} else if (typeof value === \"object\" && value !== null) {\n\t\treturn { ...value };\n\t} else {\n\t\treturn {};\n\t}\n};\n\n/**\n * @param {...SplitChunksSizes} sizes the sizes\n * @returns {SplitChunksSizes} the merged sizes\n */\nconst mergeSizes = (...sizes) => {\n\t/** @type {SplitChunksSizes} */\n\tlet merged = {};\n\tfor (let i = sizes.length - 1; i >= 0; i--) {\n\t\tmerged = Object.assign(merged, sizes[i]);\n\t}\n\treturn merged;\n};\n\n/**\n * @param {SplitChunksSizes} sizes the sizes\n * @returns {boolean} true, if there are sizes > 0\n */\nconst hasNonZeroSizes = sizes => {\n\tfor (const key of Object.keys(sizes)) {\n\t\tif (sizes[key] > 0) return true;\n\t}\n\treturn false;\n};\n\n/**\n * @param {SplitChunksSizes} a first sizes\n * @param {SplitChunksSizes} b second sizes\n * @param {CombineSizeFunction} combine a function to combine sizes\n * @returns {SplitChunksSizes} the combine sizes\n */\nconst combineSizes = (a, b, combine) => {\n\tconst aKeys = new Set(Object.keys(a));\n\tconst bKeys = new Set(Object.keys(b));\n\t/** @type {SplitChunksSizes} */\n\tconst result = {};\n\tfor (const key of aKeys) {\n\t\tif (bKeys.has(key)) {\n\t\t\tresult[key] = combine(a[key], b[key]);\n\t\t} else {\n\t\t\tresult[key] = a[key];\n\t\t}\n\t}\n\tfor (const key of bKeys) {\n\t\tif (!aKeys.has(key)) {\n\t\t\tresult[key] = b[key];\n\t\t}\n\t}\n\treturn result;\n};\n\n/**\n * @param {SplitChunksSizes} sizes the sizes\n * @param {SplitChunksSizes} minSize the min sizes\n * @returns {boolean} true if there are sizes and all existing sizes are at least `minSize`\n */\nconst checkMinSize = (sizes, minSize) => {\n\tfor (const key of Object.keys(minSize)) {\n\t\tconst size = sizes[key];\n\t\tif (size === undefined || size === 0) continue;\n\t\tif (size < minSize[key]) return false;\n\t}\n\treturn true;\n};\n\n/**\n * @param {SplitChunksSizes} sizes the sizes\n * @param {SplitChunksSizes} minSizeReduction the min sizes\n * @param {number} chunkCount number of chunks\n * @returns {boolean} true if there are sizes and all existing sizes are at least `minSizeReduction`\n */\nconst checkMinSizeReduction = (sizes, minSizeReduction, chunkCount) => {\n\tfor (const key of Object.keys(minSizeReduction)) {\n\t\tconst size = sizes[key];\n\t\tif (size === undefined || size === 0) continue;\n\t\tif (size * chunkCount < minSizeReduction[key]) return false;\n\t}\n\treturn true;\n};\n\n/**\n * @param {SplitChunksSizes} sizes the sizes\n * @param {SplitChunksSizes} minSize the min sizes\n * @returns {undefined | string[]} list of size types that are below min size\n */\nconst getViolatingMinSizes = (sizes, minSize) => {\n\tlet list;\n\tfor (const key of Object.keys(minSize)) {\n\t\tconst size = sizes[key];\n\t\tif (size === undefined || size === 0) continue;\n\t\tif (size < minSize[key]) {\n\t\t\tif (list === undefined) list = [key];\n\t\t\telse list.push(key);\n\t\t}\n\t}\n\treturn list;\n};\n\n/**\n * @param {SplitChunksSizes} sizes the sizes\n * @returns {number} the total size\n */\nconst totalSize = sizes => {\n\tlet size = 0;\n\tfor (const key of Object.keys(sizes)) {\n\t\tsize += sizes[key];\n\t}\n\treturn size;\n};\n\n/**\n * @param {false|string|Function} name the chunk name\n * @returns {GetName} a function to get the name of the chunk\n */\nconst normalizeName = name => {\n\tif (typeof name === \"string\") {\n\t\treturn () => name;\n\t}\n\tif (typeof name === \"function\") {\n\t\treturn /** @type {GetName} */ (name);\n\t}\n};\n\n/**\n * @param {OptimizationSplitChunksCacheGroup[\"chunks\"]} chunks the chunk filter option\n * @returns {ChunkFilterFunction} the chunk filter function\n */\nconst normalizeChunksFilter = chunks => {\n\tif (chunks === \"initial\") {\n\t\treturn INITIAL_CHUNK_FILTER;\n\t}\n\tif (chunks === \"async\") {\n\t\treturn ASYNC_CHUNK_FILTER;\n\t}\n\tif (chunks === \"all\") {\n\t\treturn ALL_CHUNK_FILTER;\n\t}\n\tif (typeof chunks === \"function\") {\n\t\treturn chunks;\n\t}\n};\n\n/**\n * @param {GetCacheGroups | Record<string, false|string|RegExp|OptimizationSplitChunksGetCacheGroups|OptimizationSplitChunksCacheGroup>} cacheGroups the cache group options\n * @param {string[]} defaultSizeTypes the default size types\n * @returns {GetCacheGroups} a function to get the cache groups\n */\nconst normalizeCacheGroups = (cacheGroups, defaultSizeTypes) => {\n\tif (typeof cacheGroups === \"function\") {\n\t\treturn cacheGroups;\n\t}\n\tif (typeof cacheGroups === \"object\" && cacheGroups !== null) {\n\t\t/** @type {(function(Module, CacheGroupsContext, CacheGroupSource[]): void)[]} */\n\t\tconst handlers = [];\n\t\tfor (const key of Object.keys(cacheGroups)) {\n\t\t\tconst option = cacheGroups[key];\n\t\t\tif (option === false) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (typeof option === \"string\" || option instanceof RegExp) {\n\t\t\t\tconst source = createCacheGroupSource({}, key, defaultSizeTypes);\n\t\t\t\thandlers.push((module, context, results) => {\n\t\t\t\t\tif (checkTest(option, module, context)) {\n\t\t\t\t\t\tresults.push(source);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else if (typeof option === \"function\") {\n\t\t\t\tconst cache = new WeakMap();\n\t\t\t\thandlers.push((module, context, results) => {\n\t\t\t\t\tconst result = option(module);\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\tconst groups = Array.isArray(result) ? result : [result];\n\t\t\t\t\t\tfor (const group of groups) {\n\t\t\t\t\t\t\tconst cachedSource = cache.get(group);\n\t\t\t\t\t\t\tif (cachedSource !== undefined) {\n\t\t\t\t\t\t\t\tresults.push(cachedSource);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst source = createCacheGroupSource(\n\t\t\t\t\t\t\t\t\tgroup,\n\t\t\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t\t\tdefaultSizeTypes\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcache.set(group, source);\n\t\t\t\t\t\t\t\tresults.push(source);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconst source = createCacheGroupSource(option, key, defaultSizeTypes);\n\t\t\t\thandlers.push((module, context, results) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\tcheckTest(option.test, module, context) &&\n\t\t\t\t\t\tcheckModuleType(option.type, module) &&\n\t\t\t\t\t\tcheckModuleLayer(option.layer, module)\n\t\t\t\t\t) {\n\t\t\t\t\t\tresults.push(source);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\t/**\n\t\t * @param {Module} module the current module\n\t\t * @param {CacheGroupsContext} context the current context\n\t\t * @returns {CacheGroupSource[]} the matching cache groups\n\t\t */\n\t\tconst fn = (module, context) => {\n\t\t\t/** @type {CacheGroupSource[]} */\n\t\t\tlet results = [];\n\t\t\tfor (const fn of handlers) {\n\t\t\t\tfn(module, context, results);\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\t\treturn fn;\n\t}\n\treturn () => null;\n};\n\n/**\n * @param {undefined|boolean|string|RegExp|Function} test test option\n * @param {Module} module the module\n * @param {CacheGroupsContext} context context object\n * @returns {boolean} true, if the module should be selected\n */\nconst checkTest = (test, module, context) => {\n\tif (test === undefined) return true;\n\tif (typeof test === \"function\") {\n\t\treturn test(module, context);\n\t}\n\tif (typeof test === \"boolean\") return test;\n\tif (typeof test === \"string\") {\n\t\tconst name = module.nameForCondition();\n\t\treturn name && name.startsWith(test);\n\t}\n\tif (test instanceof RegExp) {\n\t\tconst name = module.nameForCondition();\n\t\treturn name && test.test(name);\n\t}\n\treturn false;\n};\n\n/**\n * @param {undefined|string|RegExp|Function} test type option\n * @param {Module} module the module\n * @returns {boolean} true, if the module should be selected\n */\nconst checkModuleType = (test, module) => {\n\tif (test === undefined) return true;\n\tif (typeof test === \"function\") {\n\t\treturn test(module.type);\n\t}\n\tif (typeof test === \"string\") {\n\t\tconst type = module.type;\n\t\treturn test === type;\n\t}\n\tif (test instanceof RegExp) {\n\t\tconst type = module.type;\n\t\treturn test.test(type);\n\t}\n\treturn false;\n};\n\n/**\n * @param {undefined|string|RegExp|Function} test type option\n * @param {Module} module the module\n * @returns {boolean} true, if the module should be selected\n */\nconst checkModuleLayer = (test, module) => {\n\tif (test === undefined) return true;\n\tif (typeof test === \"function\") {\n\t\treturn test(module.layer);\n\t}\n\tif (typeof test === \"string\") {\n\t\tconst layer = module.layer;\n\t\treturn test === \"\" ? !layer : layer && layer.startsWith(test);\n\t}\n\tif (test instanceof RegExp) {\n\t\tconst layer = module.layer;\n\t\treturn test.test(layer);\n\t}\n\treturn false;\n};\n\n/**\n * @param {OptimizationSplitChunksCacheGroup} options the group options\n * @param {string} key key of cache group\n * @param {string[]} defaultSizeTypes the default size types\n * @returns {CacheGroupSource} the normalized cached group\n */\nconst createCacheGroupSource = (options, key, defaultSizeTypes) => {\n\tconst minSize = normalizeSizes(options.minSize, defaultSizeTypes);\n\tconst minSizeReduction = normalizeSizes(\n\t\toptions.minSizeReduction,\n\t\tdefaultSizeTypes\n\t);\n\tconst maxSize = normalizeSizes(options.maxSize, defaultSizeTypes);\n\treturn {\n\t\tkey,\n\t\tpriority: options.priority,\n\t\tgetName: normalizeName(options.name),\n\t\tchunksFilter: normalizeChunksFilter(options.chunks),\n\t\tenforce: options.enforce,\n\t\tminSize,\n\t\tminSizeReduction,\n\t\tminRemainingSize: mergeSizes(\n\t\t\tnormalizeSizes(options.minRemainingSize, defaultSizeTypes),\n\t\t\tminSize\n\t\t),\n\t\tenforceSizeThreshold: normalizeSizes(\n\t\t\toptions.enforceSizeThreshold,\n\t\t\tdefaultSizeTypes\n\t\t),\n\t\tmaxAsyncSize: mergeSizes(\n\t\t\tnormalizeSizes(options.maxAsyncSize, defaultSizeTypes),\n\t\t\tmaxSize\n\t\t),\n\t\tmaxInitialSize: mergeSizes(\n\t\t\tnormalizeSizes(options.maxInitialSize, defaultSizeTypes),\n\t\t\tmaxSize\n\t\t),\n\t\tminChunks: options.minChunks,\n\t\tmaxAsyncRequests: options.maxAsyncRequests,\n\t\tmaxInitialRequests: options.maxInitialRequests,\n\t\tfilename: options.filename,\n\t\tidHint: options.idHint,\n\t\tautomaticNameDelimiter: options.automaticNameDelimiter,\n\t\treuseExistingChunk: options.reuseExistingChunk,\n\t\tusedExports: options.usedExports\n\t};\n};\n\nmodule.exports = class SplitChunksPlugin {\n\t/**\n\t * @param {OptimizationSplitChunksOptions=} options plugin options\n\t */\n\tconstructor(options = {}) {\n\t\tconst defaultSizeTypes = options.defaultSizeTypes || [\n\t\t\t\"javascript\",\n\t\t\t\"unknown\"\n\t\t];\n\t\tconst fallbackCacheGroup = options.fallbackCacheGroup || {};\n\t\tconst minSize = normalizeSizes(options.minSize, defaultSizeTypes);\n\t\tconst minSizeReduction = normalizeSizes(\n\t\t\toptions.minSizeReduction,\n\t\t\tdefaultSizeTypes\n\t\t);\n\t\tconst maxSize = normalizeSizes(options.maxSize, defaultSizeTypes);\n\n\t\t/** @type {SplitChunksOptions} */\n\t\tthis.options = {\n\t\t\tchunksFilter: normalizeChunksFilter(options.chunks || \"all\"),\n\t\t\tdefaultSizeTypes,\n\t\t\tminSize,\n\t\t\tminSizeReduction,\n\t\t\tminRemainingSize: mergeSizes(\n\t\t\t\tnormalizeSizes(options.minRemainingSize, defaultSizeTypes),\n\t\t\t\tminSize\n\t\t\t),\n\t\t\tenforceSizeThreshold: normalizeSizes(\n\t\t\t\toptions.enforceSizeThreshold,\n\t\t\t\tdefaultSizeTypes\n\t\t\t),\n\t\t\tmaxAsyncSize: mergeSizes(\n\t\t\t\tnormalizeSizes(options.maxAsyncSize, defaultSizeTypes),\n\t\t\t\tmaxSize\n\t\t\t),\n\t\t\tmaxInitialSize: mergeSizes(\n\t\t\t\tnormalizeSizes(options.maxInitialSize, defaultSizeTypes),\n\t\t\t\tmaxSize\n\t\t\t),\n\t\t\tminChunks: options.minChunks || 1,\n\t\t\tmaxAsyncRequests: options.maxAsyncRequests || 1,\n\t\t\tmaxInitialRequests: options.maxInitialRequests || 1,\n\t\t\thidePathInfo: options.hidePathInfo || false,\n\t\t\tfilename: options.filename || undefined,\n\t\t\tgetCacheGroups: normalizeCacheGroups(\n\t\t\t\toptions.cacheGroups,\n\t\t\t\tdefaultSizeTypes\n\t\t\t),\n\t\t\tgetName: options.name ? normalizeName(options.name) : defaultGetName,\n\t\t\tautomaticNameDelimiter: options.automaticNameDelimiter,\n\t\t\tusedExports: options.usedExports,\n\t\t\tfallbackCacheGroup: {\n\t\t\t\tchunksFilter: normalizeChunksFilter(\n\t\t\t\t\tfallbackCacheGroup.chunks || options.chunks || \"all\"\n\t\t\t\t),\n\t\t\t\tminSize: mergeSizes(\n\t\t\t\t\tnormalizeSizes(fallbackCacheGroup.minSize, defaultSizeTypes),\n\t\t\t\t\tminSize\n\t\t\t\t),\n\t\t\t\tmaxAsyncSize: mergeSizes(\n\t\t\t\t\tnormalizeSizes(fallbackCacheGroup.maxAsyncSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(fallbackCacheGroup.maxSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(options.maxAsyncSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(options.maxSize, defaultSizeTypes)\n\t\t\t\t),\n\t\t\t\tmaxInitialSize: mergeSizes(\n\t\t\t\t\tnormalizeSizes(fallbackCacheGroup.maxInitialSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(fallbackCacheGroup.maxSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(options.maxInitialSize, defaultSizeTypes),\n\t\t\t\t\tnormalizeSizes(options.maxSize, defaultSizeTypes)\n\t\t\t\t),\n\t\t\t\tautomaticNameDelimiter:\n\t\t\t\t\tfallbackCacheGroup.automaticNameDelimiter ||\n\t\t\t\t\toptions.automaticNameDelimiter ||\n\t\t\t\t\t\"~\"\n\t\t\t}\n\t\t};\n\n\t\t/** @type {WeakMap<CacheGroupSource, CacheGroup>} */\n\t\tthis._cacheGroupCache = new WeakMap();\n\t}\n\n\t/**\n\t * @param {CacheGroupSource} cacheGroupSource source\n\t * @returns {CacheGroup} the cache group (cached)\n\t */\n\t_getCacheGroup(cacheGroupSource) {\n\t\tconst cacheEntry = this._cacheGroupCache.get(cacheGroupSource);\n\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\tconst minSize = mergeSizes(\n\t\t\tcacheGroupSource.minSize,\n\t\t\tcacheGroupSource.enforce ? undefined : this.options.minSize\n\t\t);\n\t\tconst minSizeReduction = mergeSizes(\n\t\t\tcacheGroupSource.minSizeReduction,\n\t\t\tcacheGroupSource.enforce ? undefined : this.options.minSizeReduction\n\t\t);\n\t\tconst minRemainingSize = mergeSizes(\n\t\t\tcacheGroupSource.minRemainingSize,\n\t\t\tcacheGroupSource.enforce ? undefined : this.options.minRemainingSize\n\t\t);\n\t\tconst enforceSizeThreshold = mergeSizes(\n\t\t\tcacheGroupSource.enforceSizeThreshold,\n\t\t\tcacheGroupSource.enforce ? undefined : this.options.enforceSizeThreshold\n\t\t);\n\t\tconst cacheGroup = {\n\t\t\tkey: cacheGroupSource.key,\n\t\t\tpriority: cacheGroupSource.priority || 0,\n\t\t\tchunksFilter: cacheGroupSource.chunksFilter || this.options.chunksFilter,\n\t\t\tminSize,\n\t\t\tminSizeReduction,\n\t\t\tminRemainingSize,\n\t\t\tenforceSizeThreshold,\n\t\t\tmaxAsyncSize: mergeSizes(\n\t\t\t\tcacheGroupSource.maxAsyncSize,\n\t\t\t\tcacheGroupSource.enforce ? undefined : this.options.maxAsyncSize\n\t\t\t),\n\t\t\tmaxInitialSize: mergeSizes(\n\t\t\t\tcacheGroupSource.maxInitialSize,\n\t\t\t\tcacheGroupSource.enforce ? undefined : this.options.maxInitialSize\n\t\t\t),\n\t\t\tminChunks:\n\t\t\t\tcacheGroupSource.minChunks !== undefined\n\t\t\t\t\t? cacheGroupSource.minChunks\n\t\t\t\t\t: cacheGroupSource.enforce\n\t\t\t\t\t? 1\n\t\t\t\t\t: this.options.minChunks,\n\t\t\tmaxAsyncRequests:\n\t\t\t\tcacheGroupSource.maxAsyncRequests !== undefined\n\t\t\t\t\t? cacheGroupSource.maxAsyncRequests\n\t\t\t\t\t: cacheGroupSource.enforce\n\t\t\t\t\t? Infinity\n\t\t\t\t\t: this.options.maxAsyncRequests,\n\t\t\tmaxInitialRequests:\n\t\t\t\tcacheGroupSource.maxInitialRequests !== undefined\n\t\t\t\t\t? cacheGroupSource.maxInitialRequests\n\t\t\t\t\t: cacheGroupSource.enforce\n\t\t\t\t\t? Infinity\n\t\t\t\t\t: this.options.maxInitialRequests,\n\t\t\tgetName:\n\t\t\t\tcacheGroupSource.getName !== undefined\n\t\t\t\t\t? cacheGroupSource.getName\n\t\t\t\t\t: this.options.getName,\n\t\t\tusedExports:\n\t\t\t\tcacheGroupSource.usedExports !== undefined\n\t\t\t\t\t? cacheGroupSource.usedExports\n\t\t\t\t\t: this.options.usedExports,\n\t\t\tfilename:\n\t\t\t\tcacheGroupSource.filename !== undefined\n\t\t\t\t\t? cacheGroupSource.filename\n\t\t\t\t\t: this.options.filename,\n\t\t\tautomaticNameDelimiter:\n\t\t\t\tcacheGroupSource.automaticNameDelimiter !== undefined\n\t\t\t\t\t? cacheGroupSource.automaticNameDelimiter\n\t\t\t\t\t: this.options.automaticNameDelimiter,\n\t\t\tidHint:\n\t\t\t\tcacheGroupSource.idHint !== undefined\n\t\t\t\t\t? cacheGroupSource.idHint\n\t\t\t\t\t: cacheGroupSource.key,\n\t\t\treuseExistingChunk: cacheGroupSource.reuseExistingChunk || false,\n\t\t\t_validateSize: hasNonZeroSizes(minSize),\n\t\t\t_validateRemainingSize: hasNonZeroSizes(minRemainingSize),\n\t\t\t_minSizeForMaxSize: mergeSizes(\n\t\t\t\tcacheGroupSource.minSize,\n\t\t\t\tthis.options.minSize\n\t\t\t),\n\t\t\t_conditionalEnforce: hasNonZeroSizes(enforceSizeThreshold)\n\t\t};\n\t\tthis._cacheGroupCache.set(cacheGroupSource, cacheGroup);\n\t\treturn cacheGroup;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst cachedMakePathsRelative = makePathsRelative.bindContextCache(\n\t\t\tcompiler.context,\n\t\t\tcompiler.root\n\t\t);\n\t\tcompiler.hooks.thisCompilation.tap(\"SplitChunksPlugin\", compilation => {\n\t\t\tconst logger = compilation.getLogger(\"webpack.SplitChunksPlugin\");\n\t\t\tlet alreadyOptimized = false;\n\t\t\tcompilation.hooks.unseal.tap(\"SplitChunksPlugin\", () => {\n\t\t\t\talreadyOptimized = false;\n\t\t\t});\n\t\t\tcompilation.hooks.optimizeChunks.tap(\n\t\t\t\t{\n\t\t\t\t\tname: \"SplitChunksPlugin\",\n\t\t\t\t\tstage: STAGE_ADVANCED\n\t\t\t\t},\n\t\t\t\tchunks => {\n\t\t\t\t\tif (alreadyOptimized) return;\n\t\t\t\t\talreadyOptimized = true;\n\t\t\t\t\tlogger.time(\"prepare\");\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst moduleGraph = compilation.moduleGraph;\n\t\t\t\t\t// Give each selected chunk an index (to create strings from chunks)\n\t\t\t\t\t/** @type {Map<Chunk, bigint>} */\n\t\t\t\t\tconst chunkIndexMap = new Map();\n\t\t\t\t\tconst ZERO = BigInt(\"0\");\n\t\t\t\t\tconst ONE = BigInt(\"1\");\n\t\t\t\t\tconst START = ONE << BigInt(\"31\");\n\t\t\t\t\tlet index = START;\n\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\tchunkIndexMap.set(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tindex | BigInt((Math.random() * 0x7fffffff) | 0)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tindex = index << ONE;\n\t\t\t\t\t}\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Iterable<Chunk>} chunks list of chunks\n\t\t\t\t\t * @returns {bigint | Chunk} key of the chunks\n\t\t\t\t\t */\n\t\t\t\t\tconst getKey = chunks => {\n\t\t\t\t\t\tconst iterator = chunks[Symbol.iterator]();\n\t\t\t\t\t\tlet result = iterator.next();\n\t\t\t\t\t\tif (result.done) return ZERO;\n\t\t\t\t\t\tconst first = result.value;\n\t\t\t\t\t\tresult = iterator.next();\n\t\t\t\t\t\tif (result.done) return first;\n\t\t\t\t\t\tlet key =\n\t\t\t\t\t\t\tchunkIndexMap.get(first) | chunkIndexMap.get(result.value);\n\t\t\t\t\t\twhile (!(result = iterator.next()).done) {\n\t\t\t\t\t\t\tconst raw = chunkIndexMap.get(result.value);\n\t\t\t\t\t\t\tkey = key ^ raw;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn key;\n\t\t\t\t\t};\n\t\t\t\t\tconst keyToString = key => {\n\t\t\t\t\t\tif (typeof key === \"bigint\") return key.toString(16);\n\t\t\t\t\t\treturn chunkIndexMap.get(key).toString(16);\n\t\t\t\t\t};\n\n\t\t\t\t\tconst getChunkSetsInGraph = memoize(() => {\n\t\t\t\t\t\t/** @type {Map<bigint, Set<Chunk>>} */\n\t\t\t\t\t\tconst chunkSetsInGraph = new Map();\n\t\t\t\t\t\t/** @type {Set<Chunk>} */\n\t\t\t\t\t\tconst singleChunkSets = new Set();\n\t\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\t\tconst chunks = chunkGraph.getModuleChunksIterable(module);\n\t\t\t\t\t\t\tconst chunksKey = getKey(chunks);\n\t\t\t\t\t\t\tif (typeof chunksKey === \"bigint\") {\n\t\t\t\t\t\t\t\tif (!chunkSetsInGraph.has(chunksKey)) {\n\t\t\t\t\t\t\t\t\tchunkSetsInGraph.set(chunksKey, new Set(chunks));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tsingleChunkSets.add(chunksKey);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn { chunkSetsInGraph, singleChunkSets };\n\t\t\t\t\t});\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {Module} module the module\n\t\t\t\t\t * @returns {Iterable<Chunk[]>} groups of chunks with equal exports\n\t\t\t\t\t */\n\t\t\t\t\tconst groupChunksByExports = module => {\n\t\t\t\t\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\t\t\t\t\t\tconst groupedByUsedExports = new Map();\n\t\t\t\t\t\tfor (const chunk of chunkGraph.getModuleChunksIterable(module)) {\n\t\t\t\t\t\t\tconst key = exportsInfo.getUsageKey(chunk.runtime);\n\t\t\t\t\t\t\tconst list = groupedByUsedExports.get(key);\n\t\t\t\t\t\t\tif (list !== undefined) {\n\t\t\t\t\t\t\t\tlist.push(chunk);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tgroupedByUsedExports.set(key, [chunk]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn groupedByUsedExports.values();\n\t\t\t\t\t};\n\n\t\t\t\t\t/** @type {Map<Module, Iterable<Chunk[]>>} */\n\t\t\t\t\tconst groupedByExportsMap = new Map();\n\n\t\t\t\t\tconst getExportsChunkSetsInGraph = memoize(() => {\n\t\t\t\t\t\t/** @type {Map<bigint, Set<Chunk>>} */\n\t\t\t\t\t\tconst chunkSetsInGraph = new Map();\n\t\t\t\t\t\t/** @type {Set<Chunk>} */\n\t\t\t\t\t\tconst singleChunkSets = new Set();\n\t\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\t\tconst groupedChunks = Array.from(groupChunksByExports(module));\n\t\t\t\t\t\t\tgroupedByExportsMap.set(module, groupedChunks);\n\t\t\t\t\t\t\tfor (const chunks of groupedChunks) {\n\t\t\t\t\t\t\t\tif (chunks.length === 1) {\n\t\t\t\t\t\t\t\t\tsingleChunkSets.add(chunks[0]);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst chunksKey = /** @type {bigint} */ (getKey(chunks));\n\t\t\t\t\t\t\t\t\tif (!chunkSetsInGraph.has(chunksKey)) {\n\t\t\t\t\t\t\t\t\t\tchunkSetsInGraph.set(chunksKey, new Set(chunks));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn { chunkSetsInGraph, singleChunkSets };\n\t\t\t\t\t});\n\n\t\t\t\t\t// group these set of chunks by count\n\t\t\t\t\t// to allow to check less sets via isSubset\n\t\t\t\t\t// (only smaller sets can be subset)\n\t\t\t\t\tconst groupChunkSetsByCount = chunkSets => {\n\t\t\t\t\t\t/** @type {Map<number, Array<Set<Chunk>>>} */\n\t\t\t\t\t\tconst chunkSetsByCount = new Map();\n\t\t\t\t\t\tfor (const chunksSet of chunkSets) {\n\t\t\t\t\t\t\tconst count = chunksSet.size;\n\t\t\t\t\t\t\tlet array = chunkSetsByCount.get(count);\n\t\t\t\t\t\t\tif (array === undefined) {\n\t\t\t\t\t\t\t\tarray = [];\n\t\t\t\t\t\t\t\tchunkSetsByCount.set(count, array);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tarray.push(chunksSet);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn chunkSetsByCount;\n\t\t\t\t\t};\n\t\t\t\t\tconst getChunkSetsByCount = memoize(() =>\n\t\t\t\t\t\tgroupChunkSetsByCount(\n\t\t\t\t\t\t\tgetChunkSetsInGraph().chunkSetsInGraph.values()\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tconst getExportsChunkSetsByCount = memoize(() =>\n\t\t\t\t\t\tgroupChunkSetsByCount(\n\t\t\t\t\t\t\tgetExportsChunkSetsInGraph().chunkSetsInGraph.values()\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\n\t\t\t\t\t// Create a list of possible combinations\n\t\t\t\t\tconst createGetCombinations = (\n\t\t\t\t\t\tchunkSets,\n\t\t\t\t\t\tsingleChunkSets,\n\t\t\t\t\t\tchunkSetsByCount\n\t\t\t\t\t) => {\n\t\t\t\t\t\t/** @type {Map<bigint | Chunk, (Set<Chunk> | Chunk)[]>} */\n\t\t\t\t\t\tconst combinationsCache = new Map();\n\n\t\t\t\t\t\treturn key => {\n\t\t\t\t\t\t\tconst cacheEntry = combinationsCache.get(key);\n\t\t\t\t\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\t\t\t\t\tif (key instanceof Chunk) {\n\t\t\t\t\t\t\t\tconst result = [key];\n\t\t\t\t\t\t\t\tcombinationsCache.set(key, result);\n\t\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst chunksSet = chunkSets.get(key);\n\t\t\t\t\t\t\t/** @type {(Set<Chunk> | Chunk)[]} */\n\t\t\t\t\t\t\tconst array = [chunksSet];\n\t\t\t\t\t\t\tfor (const [count, setArray] of chunkSetsByCount) {\n\t\t\t\t\t\t\t\t// \"equal\" is not needed because they would have been merge in the first step\n\t\t\t\t\t\t\t\tif (count < chunksSet.size) {\n\t\t\t\t\t\t\t\t\tfor (const set of setArray) {\n\t\t\t\t\t\t\t\t\t\tif (isSubset(chunksSet, set)) {\n\t\t\t\t\t\t\t\t\t\t\tarray.push(set);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const chunk of singleChunkSets) {\n\t\t\t\t\t\t\t\tif (chunksSet.has(chunk)) {\n\t\t\t\t\t\t\t\t\tarray.push(chunk);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcombinationsCache.set(key, array);\n\t\t\t\t\t\t\treturn array;\n\t\t\t\t\t\t};\n\t\t\t\t\t};\n\n\t\t\t\t\tconst getCombinationsFactory = memoize(() => {\n\t\t\t\t\t\tconst { chunkSetsInGraph, singleChunkSets } = getChunkSetsInGraph();\n\t\t\t\t\t\treturn createGetCombinations(\n\t\t\t\t\t\t\tchunkSetsInGraph,\n\t\t\t\t\t\t\tsingleChunkSets,\n\t\t\t\t\t\t\tgetChunkSetsByCount()\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tconst getCombinations = key => getCombinationsFactory()(key);\n\n\t\t\t\t\tconst getExportsCombinationsFactory = memoize(() => {\n\t\t\t\t\t\tconst { chunkSetsInGraph, singleChunkSets } =\n\t\t\t\t\t\t\tgetExportsChunkSetsInGraph();\n\t\t\t\t\t\treturn createGetCombinations(\n\t\t\t\t\t\t\tchunkSetsInGraph,\n\t\t\t\t\t\t\tsingleChunkSets,\n\t\t\t\t\t\t\tgetExportsChunkSetsByCount()\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tconst getExportsCombinations = key =>\n\t\t\t\t\t\tgetExportsCombinationsFactory()(key);\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @typedef {Object} SelectedChunksResult\n\t\t\t\t\t * @property {Chunk[]} chunks the list of chunks\n\t\t\t\t\t * @property {bigint | Chunk} key a key of the list\n\t\t\t\t\t */\n\n\t\t\t\t\t/** @type {WeakMap<Set<Chunk> | Chunk, WeakMap<ChunkFilterFunction, SelectedChunksResult>>} */\n\t\t\t\t\tconst selectedChunksCacheByChunksSet = new WeakMap();\n\n\t\t\t\t\t/**\n\t\t\t\t\t * get list and key by applying the filter function to the list\n\t\t\t\t\t * It is cached for performance reasons\n\t\t\t\t\t * @param {Set<Chunk> | Chunk} chunks list of chunks\n\t\t\t\t\t * @param {ChunkFilterFunction} chunkFilter filter function for chunks\n\t\t\t\t\t * @returns {SelectedChunksResult} list and key\n\t\t\t\t\t */\n\t\t\t\t\tconst getSelectedChunks = (chunks, chunkFilter) => {\n\t\t\t\t\t\tlet entry = selectedChunksCacheByChunksSet.get(chunks);\n\t\t\t\t\t\tif (entry === undefined) {\n\t\t\t\t\t\t\tentry = new WeakMap();\n\t\t\t\t\t\t\tselectedChunksCacheByChunksSet.set(chunks, entry);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t/** @type {SelectedChunksResult} */\n\t\t\t\t\t\tlet entry2 = entry.get(chunkFilter);\n\t\t\t\t\t\tif (entry2 === undefined) {\n\t\t\t\t\t\t\t/** @type {Chunk[]} */\n\t\t\t\t\t\t\tconst selectedChunks = [];\n\t\t\t\t\t\t\tif (chunks instanceof Chunk) {\n\t\t\t\t\t\t\t\tif (chunkFilter(chunks)) selectedChunks.push(chunks);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\t\t\t\t\tif (chunkFilter(chunk)) selectedChunks.push(chunk);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tentry2 = {\n\t\t\t\t\t\t\t\tchunks: selectedChunks,\n\t\t\t\t\t\t\t\tkey: getKey(selectedChunks)\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tentry.set(chunkFilter, entry2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn entry2;\n\t\t\t\t\t};\n\n\t\t\t\t\t/** @type {Map<string, boolean>} */\n\t\t\t\t\tconst alreadyValidatedParents = new Map();\n\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\tconst alreadyReportedErrors = new Set();\n\n\t\t\t\t\t// Map a list of chunks to a list of modules\n\t\t\t\t\t// For the key the chunk \"index\" is used, the value is a SortableSet of modules\n\t\t\t\t\t/** @type {Map<string, ChunksInfoItem>} */\n\t\t\t\t\tconst chunksInfoMap = new Map();\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {CacheGroup} cacheGroup the current cache group\n\t\t\t\t\t * @param {number} cacheGroupIndex the index of the cache group of ordering\n\t\t\t\t\t * @param {Chunk[]} selectedChunks chunks selected for this module\n\t\t\t\t\t * @param {bigint | Chunk} selectedChunksKey a key of selectedChunks\n\t\t\t\t\t * @param {Module} module the current module\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst addModuleToChunksInfoMap = (\n\t\t\t\t\t\tcacheGroup,\n\t\t\t\t\t\tcacheGroupIndex,\n\t\t\t\t\t\tselectedChunks,\n\t\t\t\t\t\tselectedChunksKey,\n\t\t\t\t\t\tmodule\n\t\t\t\t\t) => {\n\t\t\t\t\t\t// Break if minimum number of chunks is not reached\n\t\t\t\t\t\tif (selectedChunks.length < cacheGroup.minChunks) return;\n\t\t\t\t\t\t// Determine name for split chunk\n\t\t\t\t\t\tconst name = cacheGroup.getName(\n\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\tselectedChunks,\n\t\t\t\t\t\t\tcacheGroup.key\n\t\t\t\t\t\t);\n\t\t\t\t\t\t// Check if the name is ok\n\t\t\t\t\t\tconst existingChunk = compilation.namedChunks.get(name);\n\t\t\t\t\t\tif (existingChunk) {\n\t\t\t\t\t\t\tconst parentValidationKey = `${name}|${\n\t\t\t\t\t\t\t\ttypeof selectedChunksKey === \"bigint\"\n\t\t\t\t\t\t\t\t\t? selectedChunksKey\n\t\t\t\t\t\t\t\t\t: selectedChunksKey.debugId\n\t\t\t\t\t\t\t}`;\n\t\t\t\t\t\t\tconst valid = alreadyValidatedParents.get(parentValidationKey);\n\t\t\t\t\t\t\tif (valid === false) return;\n\t\t\t\t\t\t\tif (valid === undefined) {\n\t\t\t\t\t\t\t\t// Module can only be moved into the existing chunk if the existing chunk\n\t\t\t\t\t\t\t\t// is a parent of all selected chunks\n\t\t\t\t\t\t\t\tlet isInAllParents = true;\n\t\t\t\t\t\t\t\t/** @type {Set<ChunkGroup>} */\n\t\t\t\t\t\t\t\tconst queue = new Set();\n\t\t\t\t\t\t\t\tfor (const chunk of selectedChunks) {\n\t\t\t\t\t\t\t\t\tfor (const group of chunk.groupsIterable) {\n\t\t\t\t\t\t\t\t\t\tqueue.add(group);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const group of queue) {\n\t\t\t\t\t\t\t\t\tif (existingChunk.isInGroup(group)) continue;\n\t\t\t\t\t\t\t\t\tlet hasParent = false;\n\t\t\t\t\t\t\t\t\tfor (const parent of group.parentsIterable) {\n\t\t\t\t\t\t\t\t\t\thasParent = true;\n\t\t\t\t\t\t\t\t\t\tqueue.add(parent);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (!hasParent) {\n\t\t\t\t\t\t\t\t\t\tisInAllParents = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst valid = isInAllParents;\n\t\t\t\t\t\t\t\talreadyValidatedParents.set(parentValidationKey, valid);\n\t\t\t\t\t\t\t\tif (!valid) {\n\t\t\t\t\t\t\t\t\tif (!alreadyReportedErrors.has(name)) {\n\t\t\t\t\t\t\t\t\t\talreadyReportedErrors.add(name);\n\t\t\t\t\t\t\t\t\t\tcompilation.errors.push(\n\t\t\t\t\t\t\t\t\t\t\tnew WebpackError(\n\t\t\t\t\t\t\t\t\t\t\t\t\"SplitChunksPlugin\\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t`Cache group \"${cacheGroup.key}\" conflicts with existing chunk.\\n` +\n\t\t\t\t\t\t\t\t\t\t\t\t\t`Both have the same name \"${name}\" and existing chunk is not a parent of the selected modules.\\n` +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Use a different name for the cache group or make sure that the existing chunk is a parent (e. g. via dependOn).\\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t'HINT: You can omit \"name\" to automatically create a name.\\n' +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"BREAKING CHANGE: webpack < 5 used to allow to use an entrypoint as splitChunk. \" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"This is no longer allowed when the entrypoint is not a parent of the selected modules.\\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Remove this entrypoint and add modules to cache group's 'test' instead. \" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"If you need modules to be evaluated on startup, add them to the existing entrypoints (make them arrays). \" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"See migration guide of more info.\"\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Create key for maps\n\t\t\t\t\t\t// When it has a name we use the name as key\n\t\t\t\t\t\t// Otherwise we create the key from chunks and cache group key\n\t\t\t\t\t\t// This automatically merges equal names\n\t\t\t\t\t\tconst key =\n\t\t\t\t\t\t\tcacheGroup.key +\n\t\t\t\t\t\t\t(name\n\t\t\t\t\t\t\t\t? ` name:${name}`\n\t\t\t\t\t\t\t\t: ` chunks:${keyToString(selectedChunksKey)}`);\n\t\t\t\t\t\t// Add module to maps\n\t\t\t\t\t\tlet info = chunksInfoMap.get(key);\n\t\t\t\t\t\tif (info === undefined) {\n\t\t\t\t\t\t\tchunksInfoMap.set(\n\t\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t\t(info = {\n\t\t\t\t\t\t\t\t\tmodules: new SortableSet(\n\t\t\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tcacheGroup,\n\t\t\t\t\t\t\t\t\tcacheGroupIndex,\n\t\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\t\tsizes: {},\n\t\t\t\t\t\t\t\t\tchunks: new Set(),\n\t\t\t\t\t\t\t\t\treuseableChunks: new Set(),\n\t\t\t\t\t\t\t\t\tchunksKeys: new Set()\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst oldSize = info.modules.size;\n\t\t\t\t\t\tinfo.modules.add(module);\n\t\t\t\t\t\tif (info.modules.size !== oldSize) {\n\t\t\t\t\t\t\tfor (const type of module.getSourceTypes()) {\n\t\t\t\t\t\t\t\tinfo.sizes[type] = (info.sizes[type] || 0) + module.size(type);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst oldChunksKeysSize = info.chunksKeys.size;\n\t\t\t\t\t\tinfo.chunksKeys.add(selectedChunksKey);\n\t\t\t\t\t\tif (oldChunksKeysSize !== info.chunksKeys.size) {\n\t\t\t\t\t\t\tfor (const chunk of selectedChunks) {\n\t\t\t\t\t\t\t\tinfo.chunks.add(chunk);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tconst context = {\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t};\n\n\t\t\t\t\tlogger.timeEnd(\"prepare\");\n\n\t\t\t\t\tlogger.time(\"modules\");\n\n\t\t\t\t\t// Walk through all modules\n\t\t\t\t\tfor (const module of compilation.modules) {\n\t\t\t\t\t\t// Get cache group\n\t\t\t\t\t\tlet cacheGroups = this.options.getCacheGroups(module, context);\n\t\t\t\t\t\tif (!Array.isArray(cacheGroups) || cacheGroups.length === 0) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Prepare some values (usedExports = false)\n\t\t\t\t\t\tconst getCombs = memoize(() => {\n\t\t\t\t\t\t\tconst chunks = chunkGraph.getModuleChunksIterable(module);\n\t\t\t\t\t\t\tconst chunksKey = getKey(chunks);\n\t\t\t\t\t\t\treturn getCombinations(chunksKey);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t// Prepare some values (usedExports = true)\n\t\t\t\t\t\tconst getCombsByUsedExports = memoize(() => {\n\t\t\t\t\t\t\t// fill the groupedByExportsMap\n\t\t\t\t\t\t\tgetExportsChunkSetsInGraph();\n\t\t\t\t\t\t\t/** @type {Set<Set<Chunk> | Chunk>} */\n\t\t\t\t\t\t\tconst set = new Set();\n\t\t\t\t\t\t\tconst groupedByUsedExports = groupedByExportsMap.get(module);\n\t\t\t\t\t\t\tfor (const chunks of groupedByUsedExports) {\n\t\t\t\t\t\t\t\tconst chunksKey = getKey(chunks);\n\t\t\t\t\t\t\t\tfor (const comb of getExportsCombinations(chunksKey))\n\t\t\t\t\t\t\t\t\tset.add(comb);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn set;\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tlet cacheGroupIndex = 0;\n\t\t\t\t\t\tfor (const cacheGroupSource of cacheGroups) {\n\t\t\t\t\t\t\tconst cacheGroup = this._getCacheGroup(cacheGroupSource);\n\n\t\t\t\t\t\t\tconst combs = cacheGroup.usedExports\n\t\t\t\t\t\t\t\t? getCombsByUsedExports()\n\t\t\t\t\t\t\t\t: getCombs();\n\t\t\t\t\t\t\t// For all combination of chunk selection\n\t\t\t\t\t\t\tfor (const chunkCombination of combs) {\n\t\t\t\t\t\t\t\t// Break if minimum number of chunks is not reached\n\t\t\t\t\t\t\t\tconst count =\n\t\t\t\t\t\t\t\t\tchunkCombination instanceof Chunk ? 1 : chunkCombination.size;\n\t\t\t\t\t\t\t\tif (count < cacheGroup.minChunks) continue;\n\t\t\t\t\t\t\t\t// Select chunks by configuration\n\t\t\t\t\t\t\t\tconst { chunks: selectedChunks, key: selectedChunksKey } =\n\t\t\t\t\t\t\t\t\tgetSelectedChunks(chunkCombination, cacheGroup.chunksFilter);\n\n\t\t\t\t\t\t\t\taddModuleToChunksInfoMap(\n\t\t\t\t\t\t\t\t\tcacheGroup,\n\t\t\t\t\t\t\t\t\tcacheGroupIndex,\n\t\t\t\t\t\t\t\t\tselectedChunks,\n\t\t\t\t\t\t\t\t\tselectedChunksKey,\n\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcacheGroupIndex++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tlogger.timeEnd(\"modules\");\n\n\t\t\t\t\tlogger.time(\"queue\");\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {ChunksInfoItem} info entry\n\t\t\t\t\t * @param {string[]} sourceTypes source types to be removed\n\t\t\t\t\t */\n\t\t\t\t\tconst removeModulesWithSourceType = (info, sourceTypes) => {\n\t\t\t\t\t\tfor (const module of info.modules) {\n\t\t\t\t\t\t\tconst types = module.getSourceTypes();\n\t\t\t\t\t\t\tif (sourceTypes.some(type => types.has(type))) {\n\t\t\t\t\t\t\t\tinfo.modules.delete(module);\n\t\t\t\t\t\t\t\tfor (const type of types) {\n\t\t\t\t\t\t\t\t\tinfo.sizes[type] -= module.size(type);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {ChunksInfoItem} info entry\n\t\t\t\t\t * @returns {boolean} true, if entry become empty\n\t\t\t\t\t */\n\t\t\t\t\tconst removeMinSizeViolatingModules = info => {\n\t\t\t\t\t\tif (!info.cacheGroup._validateSize) return false;\n\t\t\t\t\t\tconst violatingSizes = getViolatingMinSizes(\n\t\t\t\t\t\t\tinfo.sizes,\n\t\t\t\t\t\t\tinfo.cacheGroup.minSize\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (violatingSizes === undefined) return false;\n\t\t\t\t\t\tremoveModulesWithSourceType(info, violatingSizes);\n\t\t\t\t\t\treturn info.modules.size === 0;\n\t\t\t\t\t};\n\n\t\t\t\t\t// Filter items were size < minSize\n\t\t\t\t\tfor (const [key, info] of chunksInfoMap) {\n\t\t\t\t\t\tif (removeMinSizeViolatingModules(info)) {\n\t\t\t\t\t\t\tchunksInfoMap.delete(key);\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t!checkMinSizeReduction(\n\t\t\t\t\t\t\t\tinfo.sizes,\n\t\t\t\t\t\t\t\tinfo.cacheGroup.minSizeReduction,\n\t\t\t\t\t\t\t\tinfo.chunks.size\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tchunksInfoMap.delete(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @typedef {Object} MaxSizeQueueItem\n\t\t\t\t\t * @property {SplitChunksSizes} minSize\n\t\t\t\t\t * @property {SplitChunksSizes} maxAsyncSize\n\t\t\t\t\t * @property {SplitChunksSizes} maxInitialSize\n\t\t\t\t\t * @property {string} automaticNameDelimiter\n\t\t\t\t\t * @property {string[]} keys\n\t\t\t\t\t */\n\n\t\t\t\t\t/** @type {Map<Chunk, MaxSizeQueueItem>} */\n\t\t\t\t\tconst maxSizeQueueMap = new Map();\n\n\t\t\t\t\twhile (chunksInfoMap.size > 0) {\n\t\t\t\t\t\t// Find best matching entry\n\t\t\t\t\t\tlet bestEntryKey;\n\t\t\t\t\t\tlet bestEntry;\n\t\t\t\t\t\tfor (const pair of chunksInfoMap) {\n\t\t\t\t\t\t\tconst key = pair[0];\n\t\t\t\t\t\t\tconst info = pair[1];\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tbestEntry === undefined ||\n\t\t\t\t\t\t\t\tcompareEntries(bestEntry, info) < 0\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tbestEntry = info;\n\t\t\t\t\t\t\t\tbestEntryKey = key;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst item = bestEntry;\n\t\t\t\t\t\tchunksInfoMap.delete(bestEntryKey);\n\n\t\t\t\t\t\tlet chunkName = item.name;\n\t\t\t\t\t\t// Variable for the new chunk (lazy created)\n\t\t\t\t\t\t/** @type {Chunk} */\n\t\t\t\t\t\tlet newChunk;\n\t\t\t\t\t\t// When no chunk name, check if we can reuse a chunk instead of creating a new one\n\t\t\t\t\t\tlet isExistingChunk = false;\n\t\t\t\t\t\tlet isReusedWithAllModules = false;\n\t\t\t\t\t\tif (chunkName) {\n\t\t\t\t\t\t\tconst chunkByName = compilation.namedChunks.get(chunkName);\n\t\t\t\t\t\t\tif (chunkByName !== undefined) {\n\t\t\t\t\t\t\t\tnewChunk = chunkByName;\n\t\t\t\t\t\t\t\tconst oldSize = item.chunks.size;\n\t\t\t\t\t\t\t\titem.chunks.delete(newChunk);\n\t\t\t\t\t\t\t\tisExistingChunk = item.chunks.size !== oldSize;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (item.cacheGroup.reuseExistingChunk) {\n\t\t\t\t\t\t\touter: for (const chunk of item.chunks) {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tchunkGraph.getNumberOfChunkModules(chunk) !==\n\t\t\t\t\t\t\t\t\titem.modules.size\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\titem.chunks.size > 1 &&\n\t\t\t\t\t\t\t\t\tchunkGraph.getNumberOfEntryModules(chunk) > 0\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\t\tif (!chunkGraph.isModuleInChunk(module, chunk)) {\n\t\t\t\t\t\t\t\t\t\tcontinue outer;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (!newChunk || !newChunk.name) {\n\t\t\t\t\t\t\t\t\tnewChunk = chunk;\n\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\tchunk.name &&\n\t\t\t\t\t\t\t\t\tchunk.name.length < newChunk.name.length\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tnewChunk = chunk;\n\t\t\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\t\t\tchunk.name &&\n\t\t\t\t\t\t\t\t\tchunk.name.length === newChunk.name.length &&\n\t\t\t\t\t\t\t\t\tchunk.name < newChunk.name\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tnewChunk = chunk;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (newChunk) {\n\t\t\t\t\t\t\t\titem.chunks.delete(newChunk);\n\t\t\t\t\t\t\t\tchunkName = undefined;\n\t\t\t\t\t\t\t\tisExistingChunk = true;\n\t\t\t\t\t\t\t\tisReusedWithAllModules = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst enforced =\n\t\t\t\t\t\t\titem.cacheGroup._conditionalEnforce &&\n\t\t\t\t\t\t\tcheckMinSize(item.sizes, item.cacheGroup.enforceSizeThreshold);\n\n\t\t\t\t\t\tconst usedChunks = new Set(item.chunks);\n\n\t\t\t\t\t\t// Check if maxRequests condition can be fulfilled\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!enforced &&\n\t\t\t\t\t\t\t(Number.isFinite(item.cacheGroup.maxInitialRequests) ||\n\t\t\t\t\t\t\t\tNumber.isFinite(item.cacheGroup.maxAsyncRequests))\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tfor (const chunk of usedChunks) {\n\t\t\t\t\t\t\t\t// respect max requests\n\t\t\t\t\t\t\t\tconst maxRequests = chunk.isOnlyInitial()\n\t\t\t\t\t\t\t\t\t? item.cacheGroup.maxInitialRequests\n\t\t\t\t\t\t\t\t\t: chunk.canBeInitial()\n\t\t\t\t\t\t\t\t\t? Math.min(\n\t\t\t\t\t\t\t\t\t\t\titem.cacheGroup.maxInitialRequests,\n\t\t\t\t\t\t\t\t\t\t\titem.cacheGroup.maxAsyncRequests\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: item.cacheGroup.maxAsyncRequests;\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tisFinite(maxRequests) &&\n\t\t\t\t\t\t\t\t\tgetRequests(chunk) >= maxRequests\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tusedChunks.delete(chunk);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\touter: for (const chunk of usedChunks) {\n\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\tif (chunkGraph.isModuleInChunk(module, chunk)) continue outer;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tusedChunks.delete(chunk);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Were some (invalid) chunks removed from usedChunks?\n\t\t\t\t\t\t// => readd all modules to the queue, as things could have been changed\n\t\t\t\t\t\tif (usedChunks.size < item.chunks.size) {\n\t\t\t\t\t\t\tif (isExistingChunk) usedChunks.add(newChunk);\n\t\t\t\t\t\t\tif (usedChunks.size >= item.cacheGroup.minChunks) {\n\t\t\t\t\t\t\t\tconst chunksArr = Array.from(usedChunks);\n\t\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\t\taddModuleToChunksInfoMap(\n\t\t\t\t\t\t\t\t\t\titem.cacheGroup,\n\t\t\t\t\t\t\t\t\t\titem.cacheGroupIndex,\n\t\t\t\t\t\t\t\t\t\tchunksArr,\n\t\t\t\t\t\t\t\t\t\tgetKey(usedChunks),\n\t\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Validate minRemainingSize constraint when a single chunk is left over\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!enforced &&\n\t\t\t\t\t\t\titem.cacheGroup._validateRemainingSize &&\n\t\t\t\t\t\t\tusedChunks.size === 1\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst [chunk] = usedChunks;\n\t\t\t\t\t\t\tlet chunkSizes = Object.create(null);\n\t\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\t\tif (!item.modules.has(module)) {\n\t\t\t\t\t\t\t\t\tfor (const type of module.getSourceTypes()) {\n\t\t\t\t\t\t\t\t\t\tchunkSizes[type] =\n\t\t\t\t\t\t\t\t\t\t\t(chunkSizes[type] || 0) + module.size(type);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst violatingSizes = getViolatingMinSizes(\n\t\t\t\t\t\t\t\tchunkSizes,\n\t\t\t\t\t\t\t\titem.cacheGroup.minRemainingSize\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tif (violatingSizes !== undefined) {\n\t\t\t\t\t\t\t\tconst oldModulesSize = item.modules.size;\n\t\t\t\t\t\t\t\tremoveModulesWithSourceType(item, violatingSizes);\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\titem.modules.size > 0 &&\n\t\t\t\t\t\t\t\t\titem.modules.size !== oldModulesSize\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t// queue this item again to be processed again\n\t\t\t\t\t\t\t\t\t// without violating modules\n\t\t\t\t\t\t\t\t\tchunksInfoMap.set(bestEntryKey, item);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Create the new chunk if not reusing one\n\t\t\t\t\t\tif (newChunk === undefined) {\n\t\t\t\t\t\t\tnewChunk = compilation.addChunk(chunkName);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Walk through all chunks\n\t\t\t\t\t\tfor (const chunk of usedChunks) {\n\t\t\t\t\t\t\t// Add graph connections for splitted chunk\n\t\t\t\t\t\t\tchunk.split(newChunk);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Add a note to the chunk\n\t\t\t\t\t\tnewChunk.chunkReason =\n\t\t\t\t\t\t\t(newChunk.chunkReason ? newChunk.chunkReason + \", \" : \"\") +\n\t\t\t\t\t\t\t(isReusedWithAllModules\n\t\t\t\t\t\t\t\t? \"reused as split chunk\"\n\t\t\t\t\t\t\t\t: \"split chunk\");\n\t\t\t\t\t\tif (item.cacheGroup.key) {\n\t\t\t\t\t\t\tnewChunk.chunkReason += ` (cache group: ${item.cacheGroup.key})`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (chunkName) {\n\t\t\t\t\t\t\tnewChunk.chunkReason += ` (name: ${chunkName})`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (item.cacheGroup.filename) {\n\t\t\t\t\t\t\tnewChunk.filenameTemplate = item.cacheGroup.filename;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (item.cacheGroup.idHint) {\n\t\t\t\t\t\t\tnewChunk.idNameHints.add(item.cacheGroup.idHint);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!isReusedWithAllModules) {\n\t\t\t\t\t\t\t// Add all modules to the new chunk\n\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\tif (!module.chunkCondition(newChunk, compilation)) continue;\n\t\t\t\t\t\t\t\t// Add module to new chunk\n\t\t\t\t\t\t\t\tchunkGraph.connectChunkAndModule(newChunk, module);\n\t\t\t\t\t\t\t\t// Remove module from used chunks\n\t\t\t\t\t\t\t\tfor (const chunk of usedChunks) {\n\t\t\t\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(chunk, module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Remove all modules from used chunks\n\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\tfor (const chunk of usedChunks) {\n\t\t\t\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(chunk, module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tObject.keys(item.cacheGroup.maxAsyncSize).length > 0 ||\n\t\t\t\t\t\t\tObject.keys(item.cacheGroup.maxInitialSize).length > 0\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst oldMaxSizeSettings = maxSizeQueueMap.get(newChunk);\n\t\t\t\t\t\t\tmaxSizeQueueMap.set(newChunk, {\n\t\t\t\t\t\t\t\tminSize: oldMaxSizeSettings\n\t\t\t\t\t\t\t\t\t? combineSizes(\n\t\t\t\t\t\t\t\t\t\t\toldMaxSizeSettings.minSize,\n\t\t\t\t\t\t\t\t\t\t\titem.cacheGroup._minSizeForMaxSize,\n\t\t\t\t\t\t\t\t\t\t\tMath.max\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: item.cacheGroup.minSize,\n\t\t\t\t\t\t\t\tmaxAsyncSize: oldMaxSizeSettings\n\t\t\t\t\t\t\t\t\t? combineSizes(\n\t\t\t\t\t\t\t\t\t\t\toldMaxSizeSettings.maxAsyncSize,\n\t\t\t\t\t\t\t\t\t\t\titem.cacheGroup.maxAsyncSize,\n\t\t\t\t\t\t\t\t\t\t\tMath.min\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: item.cacheGroup.maxAsyncSize,\n\t\t\t\t\t\t\t\tmaxInitialSize: oldMaxSizeSettings\n\t\t\t\t\t\t\t\t\t? combineSizes(\n\t\t\t\t\t\t\t\t\t\t\toldMaxSizeSettings.maxInitialSize,\n\t\t\t\t\t\t\t\t\t\t\titem.cacheGroup.maxInitialSize,\n\t\t\t\t\t\t\t\t\t\t\tMath.min\n\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t: item.cacheGroup.maxInitialSize,\n\t\t\t\t\t\t\t\tautomaticNameDelimiter: item.cacheGroup.automaticNameDelimiter,\n\t\t\t\t\t\t\t\tkeys: oldMaxSizeSettings\n\t\t\t\t\t\t\t\t\t? oldMaxSizeSettings.keys.concat(item.cacheGroup.key)\n\t\t\t\t\t\t\t\t\t: [item.cacheGroup.key]\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// remove all modules from other entries and update size\n\t\t\t\t\t\tfor (const [key, info] of chunksInfoMap) {\n\t\t\t\t\t\t\tif (isOverlap(info.chunks, usedChunks)) {\n\t\t\t\t\t\t\t\t// update modules and total size\n\t\t\t\t\t\t\t\t// may remove it from the map when < minSize\n\t\t\t\t\t\t\t\tlet updated = false;\n\t\t\t\t\t\t\t\tfor (const module of item.modules) {\n\t\t\t\t\t\t\t\t\tif (info.modules.has(module)) {\n\t\t\t\t\t\t\t\t\t\t// remove module\n\t\t\t\t\t\t\t\t\t\tinfo.modules.delete(module);\n\t\t\t\t\t\t\t\t\t\t// update size\n\t\t\t\t\t\t\t\t\t\tfor (const key of module.getSourceTypes()) {\n\t\t\t\t\t\t\t\t\t\t\tinfo.sizes[key] -= module.size(key);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tupdated = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (updated) {\n\t\t\t\t\t\t\t\t\tif (info.modules.size === 0) {\n\t\t\t\t\t\t\t\t\t\tchunksInfoMap.delete(key);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tremoveMinSizeViolatingModules(info) ||\n\t\t\t\t\t\t\t\t\t\t!checkMinSizeReduction(\n\t\t\t\t\t\t\t\t\t\t\tinfo.sizes,\n\t\t\t\t\t\t\t\t\t\t\tinfo.cacheGroup.minSizeReduction,\n\t\t\t\t\t\t\t\t\t\t\tinfo.chunks.size\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tchunksInfoMap.delete(key);\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tlogger.timeEnd(\"queue\");\n\n\t\t\t\t\tlogger.time(\"maxSize\");\n\n\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\tconst incorrectMinMaxSizeSet = new Set();\n\n\t\t\t\t\tconst { outputOptions } = compilation;\n\n\t\t\t\t\t// Make sure that maxSize is fulfilled\n\t\t\t\t\tconst { fallbackCacheGroup } = this.options;\n\t\t\t\t\tfor (const chunk of Array.from(compilation.chunks)) {\n\t\t\t\t\t\tconst chunkConfig = maxSizeQueueMap.get(chunk);\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\tminSize,\n\t\t\t\t\t\t\tmaxAsyncSize,\n\t\t\t\t\t\t\tmaxInitialSize,\n\t\t\t\t\t\t\tautomaticNameDelimiter\n\t\t\t\t\t\t} = chunkConfig || fallbackCacheGroup;\n\t\t\t\t\t\tif (!chunkConfig && !fallbackCacheGroup.chunksFilter(chunk))\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t/** @type {SplitChunksSizes} */\n\t\t\t\t\t\tlet maxSize;\n\t\t\t\t\t\tif (chunk.isOnlyInitial()) {\n\t\t\t\t\t\t\tmaxSize = maxInitialSize;\n\t\t\t\t\t\t} else if (chunk.canBeInitial()) {\n\t\t\t\t\t\t\tmaxSize = combineSizes(maxAsyncSize, maxInitialSize, Math.min);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmaxSize = maxAsyncSize;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (Object.keys(maxSize).length === 0) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const key of Object.keys(maxSize)) {\n\t\t\t\t\t\t\tconst maxSizeValue = maxSize[key];\n\t\t\t\t\t\t\tconst minSizeValue = minSize[key];\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\ttypeof minSizeValue === \"number\" &&\n\t\t\t\t\t\t\t\tminSizeValue > maxSizeValue\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst keys = chunkConfig && chunkConfig.keys;\n\t\t\t\t\t\t\t\tconst warningKey = `${\n\t\t\t\t\t\t\t\t\tkeys && keys.join()\n\t\t\t\t\t\t\t\t} ${minSizeValue} ${maxSizeValue}`;\n\t\t\t\t\t\t\t\tif (!incorrectMinMaxSizeSet.has(warningKey)) {\n\t\t\t\t\t\t\t\t\tincorrectMinMaxSizeSet.add(warningKey);\n\t\t\t\t\t\t\t\t\tcompilation.warnings.push(\n\t\t\t\t\t\t\t\t\t\tnew MinMaxSizeWarning(keys, minSizeValue, maxSizeValue)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst results = deterministicGroupingForModules({\n\t\t\t\t\t\t\tminSize,\n\t\t\t\t\t\t\tmaxSize: mapObject(maxSize, (value, key) => {\n\t\t\t\t\t\t\t\tconst minSizeValue = minSize[key];\n\t\t\t\t\t\t\t\treturn typeof minSizeValue === \"number\"\n\t\t\t\t\t\t\t\t\t? Math.max(value, minSizeValue)\n\t\t\t\t\t\t\t\t\t: value;\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\titems: chunkGraph.getChunkModulesIterable(chunk),\n\t\t\t\t\t\t\tgetKey(module) {\n\t\t\t\t\t\t\t\tconst cache = getKeyCache.get(module);\n\t\t\t\t\t\t\t\tif (cache !== undefined) return cache;\n\t\t\t\t\t\t\t\tconst ident = cachedMakePathsRelative(module.identifier());\n\t\t\t\t\t\t\t\tconst nameForCondition =\n\t\t\t\t\t\t\t\t\tmodule.nameForCondition && module.nameForCondition();\n\t\t\t\t\t\t\t\tconst name = nameForCondition\n\t\t\t\t\t\t\t\t\t? cachedMakePathsRelative(nameForCondition)\n\t\t\t\t\t\t\t\t\t: ident.replace(/^.*!|\\?[^?!]*$/g, \"\");\n\t\t\t\t\t\t\t\tconst fullKey =\n\t\t\t\t\t\t\t\t\tname +\n\t\t\t\t\t\t\t\t\tautomaticNameDelimiter +\n\t\t\t\t\t\t\t\t\thashFilename(ident, outputOptions);\n\t\t\t\t\t\t\t\tconst key = requestToId(fullKey);\n\t\t\t\t\t\t\t\tgetKeyCache.set(module, key);\n\t\t\t\t\t\t\t\treturn key;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tgetSize(module) {\n\t\t\t\t\t\t\t\tconst size = Object.create(null);\n\t\t\t\t\t\t\t\tfor (const key of module.getSourceTypes()) {\n\t\t\t\t\t\t\t\t\tsize[key] = module.size(key);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn size;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (results.length <= 1) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (let i = 0; i < results.length; i++) {\n\t\t\t\t\t\t\tconst group = results[i];\n\t\t\t\t\t\t\tconst key = this.options.hidePathInfo\n\t\t\t\t\t\t\t\t? hashFilename(group.key, outputOptions)\n\t\t\t\t\t\t\t\t: group.key;\n\t\t\t\t\t\t\tlet name = chunk.name\n\t\t\t\t\t\t\t\t? chunk.name + automaticNameDelimiter + key\n\t\t\t\t\t\t\t\t: null;\n\t\t\t\t\t\t\tif (name && name.length > 100) {\n\t\t\t\t\t\t\t\tname =\n\t\t\t\t\t\t\t\t\tname.slice(0, 100) +\n\t\t\t\t\t\t\t\t\tautomaticNameDelimiter +\n\t\t\t\t\t\t\t\t\thashFilename(name, outputOptions);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (i !== results.length - 1) {\n\t\t\t\t\t\t\t\tconst newPart = compilation.addChunk(name);\n\t\t\t\t\t\t\t\tchunk.split(newPart);\n\t\t\t\t\t\t\t\tnewPart.chunkReason = chunk.chunkReason;\n\t\t\t\t\t\t\t\t// Add all modules to the new chunk\n\t\t\t\t\t\t\t\tfor (const module of group.items) {\n\t\t\t\t\t\t\t\t\tif (!module.chunkCondition(newPart, compilation)) {\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// Add module to new chunk\n\t\t\t\t\t\t\t\t\tchunkGraph.connectChunkAndModule(newPart, module);\n\t\t\t\t\t\t\t\t\t// Remove module from used chunks\n\t\t\t\t\t\t\t\t\tchunkGraph.disconnectChunkAndModule(chunk, module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// change the chunk to be a part\n\t\t\t\t\t\t\t\tchunk.name = name;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlogger.timeEnd(\"maxSize\");\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/optimize/SplitChunksPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst { formatSize } = __webpack_require__(/*! ../SizeFormatHelpers */ \"./node_modules/webpack/lib/SizeFormatHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./SizeLimitsPlugin\").AssetDetails} AssetDetails */\n\nmodule.exports = class AssetsOverSizeLimitWarning extends WebpackError {\n\t/**\n\t * @param {AssetDetails[]} assetsOverSizeLimit the assets\n\t * @param {number} assetLimit the size limit\n\t */\n\tconstructor(assetsOverSizeLimit, assetLimit) {\n\t\tconst assetLists = assetsOverSizeLimit\n\t\t\t.map(asset => `\\n ${asset.name} (${formatSize(asset.size)})`)\n\t\t\t.join(\"\");\n\n\t\tsuper(`asset size limit: The following asset(s) exceed the recommended size limit (${formatSize(\n\t\t\tassetLimit\n\t\t)}).\nThis can impact web performance.\nAssets: ${assetLists}`);\n\n\t\tthis.name = \"AssetsOverSizeLimitWarning\";\n\t\tthis.assets = assetsOverSizeLimit;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst { formatSize } = __webpack_require__(/*! ../SizeFormatHelpers */ \"./node_modules/webpack/lib/SizeFormatHelpers.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"./SizeLimitsPlugin\").EntrypointDetails} EntrypointDetails */\n\nmodule.exports = class EntrypointsOverSizeLimitWarning extends WebpackError {\n\t/**\n\t * @param {EntrypointDetails[]} entrypoints the entrypoints\n\t * @param {number} entrypointLimit the size limit\n\t */\n\tconstructor(entrypoints, entrypointLimit) {\n\t\tconst entrypointList = entrypoints\n\t\t\t.map(\n\t\t\t\tentrypoint =>\n\t\t\t\t\t`\\n ${entrypoint.name} (${formatSize(\n\t\t\t\t\t\tentrypoint.size\n\t\t\t\t\t)})\\n${entrypoint.files.map(asset => ` ${asset}`).join(\"\\n\")}`\n\t\t\t)\n\t\t\t.join(\"\");\n\t\tsuper(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${formatSize(\n\t\t\tentrypointLimit\n\t\t)}). This can impact web performance.\nEntrypoints:${entrypointList}\\n`);\n\n\t\tthis.name = \"EntrypointsOverSizeLimitWarning\";\n\t\tthis.entrypoints = entrypoints;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/performance/NoAsyncChunksWarning.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/performance/NoAsyncChunksWarning.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nmodule.exports = class NoAsyncChunksWarning extends WebpackError {\n\tconstructor() {\n\t\tsuper(\n\t\t\t\"webpack performance recommendations: \\n\" +\n\t\t\t\t\"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\\n\" +\n\t\t\t\t\"For more info visit https://webpack.js.org/guides/code-splitting/\"\n\t\t);\n\n\t\tthis.name = \"NoAsyncChunksWarning\";\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/performance/NoAsyncChunksWarning.js?"); /***/ }), /***/ "./node_modules/webpack/lib/performance/SizeLimitsPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/performance/SizeLimitsPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sean Larkin @thelarkinn\n*/\n\n\n\nconst { find } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst AssetsOverSizeLimitWarning = __webpack_require__(/*! ./AssetsOverSizeLimitWarning */ \"./node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js\");\nconst EntrypointsOverSizeLimitWarning = __webpack_require__(/*! ./EntrypointsOverSizeLimitWarning */ \"./node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js\");\nconst NoAsyncChunksWarning = __webpack_require__(/*! ./NoAsyncChunksWarning */ \"./node_modules/webpack/lib/performance/NoAsyncChunksWarning.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../../declarations/WebpackOptions\").PerformanceOptions} PerformanceOptions */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Entrypoint\")} Entrypoint */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n\n/**\n * @typedef {Object} AssetDetails\n * @property {string} name\n * @property {number} size\n */\n\n/**\n * @typedef {Object} EntrypointDetails\n * @property {string} name\n * @property {number} size\n * @property {string[]} files\n */\n\nconst isOverSizeLimitSet = new WeakSet();\n\nconst excludeSourceMap = (name, source, info) => !info.development;\n\nmodule.exports = class SizeLimitsPlugin {\n\t/**\n\t * @param {PerformanceOptions} options the plugin options\n\t */\n\tconstructor(options) {\n\t\tthis.hints = options.hints;\n\t\tthis.maxAssetSize = options.maxAssetSize;\n\t\tthis.maxEntrypointSize = options.maxEntrypointSize;\n\t\tthis.assetFilter = options.assetFilter;\n\t}\n\n\t/**\n\t * @param {ChunkGroup | Source} thing the resource to test\n\t * @returns {boolean} true if over the limit\n\t */\n\tstatic isOverSizeLimit(thing) {\n\t\treturn isOverSizeLimitSet.has(thing);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst entrypointSizeLimit = this.maxEntrypointSize;\n\t\tconst assetSizeLimit = this.maxAssetSize;\n\t\tconst hints = this.hints;\n\t\tconst assetFilter = this.assetFilter || excludeSourceMap;\n\n\t\tcompiler.hooks.afterEmit.tap(\"SizeLimitsPlugin\", compilation => {\n\t\t\t/** @type {WebpackError[]} */\n\t\t\tconst warnings = [];\n\n\t\t\t/**\n\t\t\t * @param {Entrypoint} entrypoint an entrypoint\n\t\t\t * @returns {number} the size of the entrypoint\n\t\t\t */\n\t\t\tconst getEntrypointSize = entrypoint => {\n\t\t\t\tlet size = 0;\n\t\t\t\tfor (const file of entrypoint.getFiles()) {\n\t\t\t\t\tconst asset = compilation.getAsset(file);\n\t\t\t\t\tif (\n\t\t\t\t\t\tasset &&\n\t\t\t\t\t\tassetFilter(asset.name, asset.source, asset.info) &&\n\t\t\t\t\t\tasset.source\n\t\t\t\t\t) {\n\t\t\t\t\t\tsize += asset.info.size || asset.source.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn size;\n\t\t\t};\n\n\t\t\t/** @type {AssetDetails[]} */\n\t\t\tconst assetsOverSizeLimit = [];\n\t\t\tfor (const { name, source, info } of compilation.getAssets()) {\n\t\t\t\tif (!assetFilter(name, source, info) || !source) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst size = info.size || source.size();\n\t\t\t\tif (size > assetSizeLimit) {\n\t\t\t\t\tassetsOverSizeLimit.push({\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tsize\n\t\t\t\t\t});\n\t\t\t\t\tisOverSizeLimitSet.add(source);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst fileFilter = name => {\n\t\t\t\tconst asset = compilation.getAsset(name);\n\t\t\t\treturn asset && assetFilter(asset.name, asset.source, asset.info);\n\t\t\t};\n\n\t\t\t/** @type {EntrypointDetails[]} */\n\t\t\tconst entrypointsOverLimit = [];\n\t\t\tfor (const [name, entry] of compilation.entrypoints) {\n\t\t\t\tconst size = getEntrypointSize(entry);\n\n\t\t\t\tif (size > entrypointSizeLimit) {\n\t\t\t\t\tentrypointsOverLimit.push({\n\t\t\t\t\t\tname: name,\n\t\t\t\t\t\tsize: size,\n\t\t\t\t\t\tfiles: entry.getFiles().filter(fileFilter)\n\t\t\t\t\t});\n\t\t\t\t\tisOverSizeLimitSet.add(entry);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (hints) {\n\t\t\t\t// 1. Individual Chunk: Size < 250kb\n\t\t\t\t// 2. Collective Initial Chunks [entrypoint] (Each Set?): Size < 250kb\n\t\t\t\t// 3. No Async Chunks\n\t\t\t\t// if !1, then 2, if !2 return\n\t\t\t\tif (assetsOverSizeLimit.length > 0) {\n\t\t\t\t\twarnings.push(\n\t\t\t\t\t\tnew AssetsOverSizeLimitWarning(assetsOverSizeLimit, assetSizeLimit)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tif (entrypointsOverLimit.length > 0) {\n\t\t\t\t\twarnings.push(\n\t\t\t\t\t\tnew EntrypointsOverSizeLimitWarning(\n\t\t\t\t\t\t\tentrypointsOverLimit,\n\t\t\t\t\t\t\tentrypointSizeLimit\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tif (warnings.length > 0) {\n\t\t\t\t\tconst someAsyncChunk = find(\n\t\t\t\t\t\tcompilation.chunks,\n\t\t\t\t\t\tchunk => !chunk.canBeInitial()\n\t\t\t\t\t);\n\n\t\t\t\t\tif (!someAsyncChunk) {\n\t\t\t\t\t\twarnings.push(new NoAsyncChunksWarning());\n\t\t\t\t\t}\n\n\t\t\t\t\tif (hints === \"error\") {\n\t\t\t\t\t\tcompilation.errors.push(...warnings);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcompilation.warnings.push(...warnings);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/performance/SizeLimitsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nclass ChunkPrefetchFunctionRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {string} childType TODO\n\t * @param {string} runtimeFunction TODO\n\t * @param {string} runtimeHandlers TODO\n\t */\n\tconstructor(childType, runtimeFunction, runtimeHandlers) {\n\t\tsuper(`chunk ${childType} function`);\n\t\tthis.childType = childType;\n\t\tthis.runtimeFunction = runtimeFunction;\n\t\tthis.runtimeHandlers = runtimeHandlers;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeFunction, runtimeHandlers } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn Template.asString([\n\t\t\t`${runtimeHandlers} = {};`,\n\t\t\t`${runtimeFunction} = ${runtimeTemplate.basicFunction(\"chunkId\", [\n\t\t\t\t// map is shorter than forEach\n\t\t\t\t`Object.keys(${runtimeHandlers}).map(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"key\",\n\t\t\t\t\t`${runtimeHandlers}[key](chunkId);`\n\t\t\t\t)});`\n\t\t\t])}`\n\t\t]);\n\t}\n}\n\nmodule.exports = ChunkPrefetchFunctionRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst ChunkPrefetchFunctionRuntimeModule = __webpack_require__(/*! ./ChunkPrefetchFunctionRuntimeModule */ \"./node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js\");\nconst ChunkPrefetchStartupRuntimeModule = __webpack_require__(/*! ./ChunkPrefetchStartupRuntimeModule */ \"./node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js\");\nconst ChunkPrefetchTriggerRuntimeModule = __webpack_require__(/*! ./ChunkPrefetchTriggerRuntimeModule */ \"./node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js\");\nconst ChunkPreloadTriggerRuntimeModule = __webpack_require__(/*! ./ChunkPreloadTriggerRuntimeModule */ \"./node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ChunkPrefetchPreloadPlugin {\n\t/**\n\t * @param {Compiler} compiler the compiler\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ChunkPrefetchPreloadPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tcompilation.hooks.additionalChunkRuntimeRequirements.tap(\n\t\t\t\t\t\"ChunkPrefetchPreloadPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tif (chunkGraph.getNumberOfEntryModules(chunk) === 0) return;\n\t\t\t\t\t\tconst startupChildChunks = chunk.getChildrenOfTypeInOrder(\n\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\"prefetchOrder\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (startupChildChunks) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.prefetchChunk);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.onChunksLoaded);\n\t\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tnew ChunkPrefetchStartupRuntimeModule(startupChildChunks)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\t\"ChunkPrefetchPreloadPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tconst chunkMap = chunk.getChildIdsByOrdersMap(chunkGraph, false);\n\n\t\t\t\t\t\tif (chunkMap.prefetch) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.prefetchChunk);\n\t\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tnew ChunkPrefetchTriggerRuntimeModule(chunkMap.prefetch)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (chunkMap.preload) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.preloadChunk);\n\t\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tnew ChunkPreloadTriggerRuntimeModule(chunkMap.preload)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.prefetchChunk)\n\t\t\t\t\t.tap(\"ChunkPrefetchPreloadPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew ChunkPrefetchFunctionRuntimeModule(\n\t\t\t\t\t\t\t\t\"prefetch\",\n\t\t\t\t\t\t\t\tRuntimeGlobals.prefetchChunk,\n\t\t\t\t\t\t\t\tRuntimeGlobals.prefetchChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tset.add(RuntimeGlobals.prefetchChunkHandlers);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.preloadChunk)\n\t\t\t\t\t.tap(\"ChunkPrefetchPreloadPlugin\", (chunk, set) => {\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew ChunkPrefetchFunctionRuntimeModule(\n\t\t\t\t\t\t\t\t\"preload\",\n\t\t\t\t\t\t\t\tRuntimeGlobals.preloadChunk,\n\t\t\t\t\t\t\t\tRuntimeGlobals.preloadChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tset.add(RuntimeGlobals.preloadChunkHandlers);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ChunkPrefetchPreloadPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nclass ChunkPrefetchStartupRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {{ onChunks: Chunk[], chunks: Set<Chunk> }[]} startupChunks chunk ids to trigger when chunks are loaded\n\t */\n\tconstructor(startupChunks) {\n\t\tsuper(\"startup prefetch\", RuntimeModule.STAGE_TRIGGER);\n\t\tthis.startupChunks = startupChunks;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { startupChunks, chunk } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn Template.asString(\n\t\t\tstartupChunks.map(\n\t\t\t\t({ onChunks, chunks }) =>\n\t\t\t\t\t`${RuntimeGlobals.onChunksLoaded}(0, ${JSON.stringify(\n\t\t\t\t\t\t// This need to include itself to delay execution after this chunk has been fully loaded\n\t\t\t\t\t\tonChunks.filter(c => c === chunk).map(c => c.id)\n\t\t\t\t\t)}, ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tchunks.size < 3\n\t\t\t\t\t\t\t? Array.from(\n\t\t\t\t\t\t\t\t\tchunks,\n\t\t\t\t\t\t\t\t\tc =>\n\t\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.prefetchChunk}(${JSON.stringify(c.id)});`\n\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t: `${JSON.stringify(Array.from(chunks, c => c.id))}.map(${\n\t\t\t\t\t\t\t\t\tRuntimeGlobals.prefetchChunk\n\t\t\t\t\t\t\t });`\n\t\t\t\t\t)}, 5);`\n\t\t\t)\n\t\t);\n\t}\n}\n\nmodule.exports = ChunkPrefetchStartupRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nclass ChunkPrefetchTriggerRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Record<string|number, (string|number)[]>} chunkMap map from chunk to\n\t */\n\tconstructor(chunkMap) {\n\t\tsuper(`chunk prefetch trigger`, RuntimeModule.STAGE_TRIGGER);\n\t\tthis.chunkMap = chunkMap;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkMap } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst body = [\n\t\t\t\"var chunks = chunkToChildrenMap[chunkId];\",\n\t\t\t`Array.isArray(chunks) && chunks.map(${RuntimeGlobals.prefetchChunk});`\n\t\t];\n\t\treturn Template.asString([\n\t\t\tTemplate.asString([\n\t\t\t\t`var chunkToChildrenMap = ${JSON.stringify(chunkMap, null, \"\\t\")};`,\n\t\t\t\t`${\n\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t}.prefetch = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t`Promise.all(promises).then(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tbody\n\t\t\t\t\t)})`,\n\t\t\t\t\t\"chunkId, promises\"\n\t\t\t\t)};`\n\t\t\t])\n\t\t]);\n\t}\n}\n\nmodule.exports = ChunkPrefetchTriggerRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nclass ChunkPreloadTriggerRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Record<string|number, (string|number)[]>} chunkMap map from chunk to chunks\n\t */\n\tconstructor(chunkMap) {\n\t\tsuper(`chunk preload trigger`, RuntimeModule.STAGE_TRIGGER);\n\t\tthis.chunkMap = chunkMap;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkMap } = this;\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst body = [\n\t\t\t\"var chunks = chunkToChildrenMap[chunkId];\",\n\t\t\t`Array.isArray(chunks) && chunks.map(${RuntimeGlobals.preloadChunk});`\n\t\t];\n\t\treturn Template.asString([\n\t\t\tTemplate.asString([\n\t\t\t\t`var chunkToChildrenMap = ${JSON.stringify(chunkMap, null, \"\\t\")};`,\n\t\t\t\t`${\n\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t}.preload = ${runtimeTemplate.basicFunction(\"chunkId\", body)};`\n\t\t\t])\n\t\t]);\n\t}\n}\n\nmodule.exports = ChunkPreloadTriggerRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/rules/BasicEffectRulePlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/rules/BasicEffectRulePlugin.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./RuleSetCompiler\")} RuleSetCompiler */\n\nclass BasicEffectRulePlugin {\n\tconstructor(ruleProperty, effectType) {\n\t\tthis.ruleProperty = ruleProperty;\n\t\tthis.effectType = effectType || ruleProperty;\n\t}\n\n\t/**\n\t * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler\n\t * @returns {void}\n\t */\n\tapply(ruleSetCompiler) {\n\t\truleSetCompiler.hooks.rule.tap(\n\t\t\t\"BasicEffectRulePlugin\",\n\t\t\t(path, rule, unhandledProperties, result, references) => {\n\t\t\t\tif (unhandledProperties.has(this.ruleProperty)) {\n\t\t\t\t\tunhandledProperties.delete(this.ruleProperty);\n\n\t\t\t\t\tconst value = rule[this.ruleProperty];\n\n\t\t\t\t\tresult.effects.push({\n\t\t\t\t\t\ttype: this.effectType,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = BasicEffectRulePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/rules/BasicEffectRulePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js ***! \******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./RuleSetCompiler\")} RuleSetCompiler */\n/** @typedef {import(\"./RuleSetCompiler\").RuleCondition} RuleCondition */\n\nclass BasicMatcherRulePlugin {\n\tconstructor(ruleProperty, dataProperty, invert) {\n\t\tthis.ruleProperty = ruleProperty;\n\t\tthis.dataProperty = dataProperty || ruleProperty;\n\t\tthis.invert = invert || false;\n\t}\n\n\t/**\n\t * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler\n\t * @returns {void}\n\t */\n\tapply(ruleSetCompiler) {\n\t\truleSetCompiler.hooks.rule.tap(\n\t\t\t\"BasicMatcherRulePlugin\",\n\t\t\t(path, rule, unhandledProperties, result) => {\n\t\t\t\tif (unhandledProperties.has(this.ruleProperty)) {\n\t\t\t\t\tunhandledProperties.delete(this.ruleProperty);\n\t\t\t\t\tconst value = rule[this.ruleProperty];\n\t\t\t\t\tconst condition = ruleSetCompiler.compileCondition(\n\t\t\t\t\t\t`${path}.${this.ruleProperty}`,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t);\n\t\t\t\t\tconst fn = condition.fn;\n\t\t\t\t\tresult.conditions.push({\n\t\t\t\t\t\tproperty: this.dataProperty,\n\t\t\t\t\t\tmatchWhenEmpty: this.invert\n\t\t\t\t\t\t\t? !condition.matchWhenEmpty\n\t\t\t\t\t\t\t: condition.matchWhenEmpty,\n\t\t\t\t\t\tfn: this.invert ? v => !fn(v) : fn\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = BasicMatcherRulePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js ***! \*******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"./RuleSetCompiler\")} RuleSetCompiler */\n/** @typedef {import(\"./RuleSetCompiler\").RuleCondition} RuleCondition */\n\nclass ObjectMatcherRulePlugin {\n\tconstructor(ruleProperty, dataProperty) {\n\t\tthis.ruleProperty = ruleProperty;\n\t\tthis.dataProperty = dataProperty || ruleProperty;\n\t}\n\n\t/**\n\t * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler\n\t * @returns {void}\n\t */\n\tapply(ruleSetCompiler) {\n\t\tconst { ruleProperty, dataProperty } = this;\n\t\truleSetCompiler.hooks.rule.tap(\n\t\t\t\"ObjectMatcherRulePlugin\",\n\t\t\t(path, rule, unhandledProperties, result) => {\n\t\t\t\tif (unhandledProperties.has(ruleProperty)) {\n\t\t\t\t\tunhandledProperties.delete(ruleProperty);\n\t\t\t\t\tconst value = rule[ruleProperty];\n\t\t\t\t\tfor (const property of Object.keys(value)) {\n\t\t\t\t\t\tconst nestedDataProperties = property.split(\".\");\n\t\t\t\t\t\tconst condition = ruleSetCompiler.compileCondition(\n\t\t\t\t\t\t\t`${path}.${ruleProperty}.${property}`,\n\t\t\t\t\t\t\tvalue[property]\n\t\t\t\t\t\t);\n\t\t\t\t\t\tresult.conditions.push({\n\t\t\t\t\t\t\tproperty: [dataProperty, ...nestedDataProperties],\n\t\t\t\t\t\t\tmatchWhenEmpty: condition.matchWhenEmpty,\n\t\t\t\t\t\t\tfn: condition.fn\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ObjectMatcherRulePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/rules/RuleSetCompiler.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/rules/RuleSetCompiler.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\n\n/**\n * @typedef {Object} RuleCondition\n * @property {string | string[]} property\n * @property {boolean} matchWhenEmpty\n * @property {function(string): boolean} fn\n */\n\n/**\n * @typedef {Object} Condition\n * @property {boolean} matchWhenEmpty\n * @property {function(string): boolean} fn\n */\n\n/**\n * @typedef {Object} CompiledRule\n * @property {RuleCondition[]} conditions\n * @property {(Effect|function(object): Effect[])[]} effects\n * @property {CompiledRule[]=} rules\n * @property {CompiledRule[]=} oneOf\n */\n\n/**\n * @typedef {Object} Effect\n * @property {string} type\n * @property {any} value\n */\n\n/**\n * @typedef {Object} RuleSet\n * @property {Map<string, any>} references map of references in the rule set (may grow over time)\n * @property {function(object): Effect[]} exec execute the rule set\n */\n\nclass RuleSetCompiler {\n\tconstructor(plugins) {\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {SyncHook<[string, object, Set<string>, CompiledRule, Map<string, any>]>} */\n\t\t\trule: new SyncHook([\n\t\t\t\t\"path\",\n\t\t\t\t\"rule\",\n\t\t\t\t\"unhandledProperties\",\n\t\t\t\t\"compiledRule\",\n\t\t\t\t\"references\"\n\t\t\t])\n\t\t});\n\t\tif (plugins) {\n\t\t\tfor (const plugin of plugins) {\n\t\t\t\tplugin.apply(this);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {object[]} ruleSet raw user provided rules\n\t * @returns {RuleSet} compiled RuleSet\n\t */\n\tcompile(ruleSet) {\n\t\tconst refs = new Map();\n\t\tconst rules = this.compileRules(\"ruleSet\", ruleSet, refs);\n\n\t\t/**\n\t\t * @param {object} data data passed in\n\t\t * @param {CompiledRule} rule the compiled rule\n\t\t * @param {Effect[]} effects an array where effects are pushed to\n\t\t * @returns {boolean} true, if the rule has matched\n\t\t */\n\t\tconst execRule = (data, rule, effects) => {\n\t\t\tfor (const condition of rule.conditions) {\n\t\t\t\tconst p = condition.property;\n\t\t\t\tif (Array.isArray(p)) {\n\t\t\t\t\tlet current = data;\n\t\t\t\t\tfor (const subProperty of p) {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tcurrent &&\n\t\t\t\t\t\t\ttypeof current === \"object\" &&\n\t\t\t\t\t\t\tObject.prototype.hasOwnProperty.call(current, subProperty)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tcurrent = current[subProperty];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcurrent = undefined;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (current !== undefined) {\n\t\t\t\t\t\tif (!condition.fn(current)) return false;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t} else if (p in data) {\n\t\t\t\t\tconst value = data[p];\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\tif (!condition.fn(value)) return false;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!condition.matchWhenEmpty) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const effect of rule.effects) {\n\t\t\t\tif (typeof effect === \"function\") {\n\t\t\t\t\tconst returnedEffects = effect(data);\n\t\t\t\t\tfor (const effect of returnedEffects) {\n\t\t\t\t\t\teffects.push(effect);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\teffects.push(effect);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (rule.rules) {\n\t\t\t\tfor (const childRule of rule.rules) {\n\t\t\t\t\texecRule(data, childRule, effects);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (rule.oneOf) {\n\t\t\t\tfor (const childRule of rule.oneOf) {\n\t\t\t\t\tif (execRule(data, childRule, effects)) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\treturn {\n\t\t\treferences: refs,\n\t\t\texec: data => {\n\t\t\t\t/** @type {Effect[]} */\n\t\t\t\tconst effects = [];\n\t\t\t\tfor (const rule of rules) {\n\t\t\t\t\texecRule(data, rule, effects);\n\t\t\t\t}\n\t\t\t\treturn effects;\n\t\t\t}\n\t\t};\n\t}\n\n\t/**\n\t * @param {string} path current path\n\t * @param {object[]} rules the raw rules provided by user\n\t * @param {Map<string, any>} refs references\n\t * @returns {CompiledRule[]} rules\n\t */\n\tcompileRules(path, rules, refs) {\n\t\treturn rules.map((rule, i) =>\n\t\t\tthis.compileRule(`${path}[${i}]`, rule, refs)\n\t\t);\n\t}\n\n\t/**\n\t * @param {string} path current path\n\t * @param {object} rule the raw rule provided by user\n\t * @param {Map<string, any>} refs references\n\t * @returns {CompiledRule} normalized and compiled rule for processing\n\t */\n\tcompileRule(path, rule, refs) {\n\t\tconst unhandledProperties = new Set(\n\t\t\tObject.keys(rule).filter(key => rule[key] !== undefined)\n\t\t);\n\n\t\t/** @type {CompiledRule} */\n\t\tconst compiledRule = {\n\t\t\tconditions: [],\n\t\t\teffects: [],\n\t\t\trules: undefined,\n\t\t\toneOf: undefined\n\t\t};\n\n\t\tthis.hooks.rule.call(path, rule, unhandledProperties, compiledRule, refs);\n\n\t\tif (unhandledProperties.has(\"rules\")) {\n\t\t\tunhandledProperties.delete(\"rules\");\n\t\t\tconst rules = rule.rules;\n\t\t\tif (!Array.isArray(rules))\n\t\t\t\tthrow this.error(path, rules, \"Rule.rules must be an array of rules\");\n\t\t\tcompiledRule.rules = this.compileRules(`${path}.rules`, rules, refs);\n\t\t}\n\n\t\tif (unhandledProperties.has(\"oneOf\")) {\n\t\t\tunhandledProperties.delete(\"oneOf\");\n\t\t\tconst oneOf = rule.oneOf;\n\t\t\tif (!Array.isArray(oneOf))\n\t\t\t\tthrow this.error(path, oneOf, \"Rule.oneOf must be an array of rules\");\n\t\t\tcompiledRule.oneOf = this.compileRules(`${path}.oneOf`, oneOf, refs);\n\t\t}\n\n\t\tif (unhandledProperties.size > 0) {\n\t\t\tthrow this.error(\n\t\t\t\tpath,\n\t\t\t\trule,\n\t\t\t\t`Properties ${Array.from(unhandledProperties).join(\", \")} are unknown`\n\t\t\t);\n\t\t}\n\n\t\treturn compiledRule;\n\t}\n\n\t/**\n\t * @param {string} path current path\n\t * @param {any} condition user provided condition value\n\t * @returns {Condition} compiled condition\n\t */\n\tcompileCondition(path, condition) {\n\t\tif (condition === \"\") {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: true,\n\t\t\t\tfn: str => str === \"\"\n\t\t\t};\n\t\t}\n\t\tif (!condition) {\n\t\t\tthrow this.error(\n\t\t\t\tpath,\n\t\t\t\tcondition,\n\t\t\t\t\"Expected condition but got falsy value\"\n\t\t\t);\n\t\t}\n\t\tif (typeof condition === \"string\") {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: condition.length === 0,\n\t\t\t\tfn: str => typeof str === \"string\" && str.startsWith(condition)\n\t\t\t};\n\t\t}\n\t\tif (typeof condition === \"function\") {\n\t\t\ttry {\n\t\t\t\treturn {\n\t\t\t\t\tmatchWhenEmpty: condition(\"\"),\n\t\t\t\t\tfn: condition\n\t\t\t\t};\n\t\t\t} catch (err) {\n\t\t\t\tthrow this.error(\n\t\t\t\t\tpath,\n\t\t\t\t\tcondition,\n\t\t\t\t\t\"Evaluation of condition function threw error\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (condition instanceof RegExp) {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: condition.test(\"\"),\n\t\t\t\tfn: v => typeof v === \"string\" && condition.test(v)\n\t\t\t};\n\t\t}\n\t\tif (Array.isArray(condition)) {\n\t\t\tconst items = condition.map((c, i) =>\n\t\t\t\tthis.compileCondition(`${path}[${i}]`, c)\n\t\t\t);\n\t\t\treturn this.combineConditionsOr(items);\n\t\t}\n\n\t\tif (typeof condition !== \"object\") {\n\t\t\tthrow this.error(\n\t\t\t\tpath,\n\t\t\t\tcondition,\n\t\t\t\t`Unexpected ${typeof condition} when condition was expected`\n\t\t\t);\n\t\t}\n\n\t\tconst conditions = [];\n\t\tfor (const key of Object.keys(condition)) {\n\t\t\tconst value = condition[key];\n\t\t\tswitch (key) {\n\t\t\t\tcase \"or\":\n\t\t\t\t\tif (value) {\n\t\t\t\t\t\tif (!Array.isArray(value)) {\n\t\t\t\t\t\t\tthrow this.error(\n\t\t\t\t\t\t\t\t`${path}.or`,\n\t\t\t\t\t\t\t\tcondition.and,\n\t\t\t\t\t\t\t\t\"Expected array of conditions\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconditions.push(this.compileCondition(`${path}.or`, value));\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"and\":\n\t\t\t\t\tif (value) {\n\t\t\t\t\t\tif (!Array.isArray(value)) {\n\t\t\t\t\t\t\tthrow this.error(\n\t\t\t\t\t\t\t\t`${path}.and`,\n\t\t\t\t\t\t\t\tcondition.and,\n\t\t\t\t\t\t\t\t\"Expected array of conditions\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet i = 0;\n\t\t\t\t\t\tfor (const item of value) {\n\t\t\t\t\t\t\tconditions.push(this.compileCondition(`${path}.and[${i}]`, item));\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"not\":\n\t\t\t\t\tif (value) {\n\t\t\t\t\t\tconst matcher = this.compileCondition(`${path}.not`, value);\n\t\t\t\t\t\tconst fn = matcher.fn;\n\t\t\t\t\t\tconditions.push({\n\t\t\t\t\t\t\tmatchWhenEmpty: !matcher.matchWhenEmpty,\n\t\t\t\t\t\t\tfn: v => !fn(v)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow this.error(\n\t\t\t\t\t\t`${path}.${key}`,\n\t\t\t\t\t\tcondition[key],\n\t\t\t\t\t\t`Unexpected property ${key} in condition`\n\t\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (conditions.length === 0) {\n\t\t\tthrow this.error(\n\t\t\t\tpath,\n\t\t\t\tcondition,\n\t\t\t\t\"Expected condition, but got empty thing\"\n\t\t\t);\n\t\t}\n\t\treturn this.combineConditionsAnd(conditions);\n\t}\n\n\t/**\n\t * @param {Condition[]} conditions some conditions\n\t * @returns {Condition} merged condition\n\t */\n\tcombineConditionsOr(conditions) {\n\t\tif (conditions.length === 0) {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: false,\n\t\t\t\tfn: () => false\n\t\t\t};\n\t\t} else if (conditions.length === 1) {\n\t\t\treturn conditions[0];\n\t\t} else {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: conditions.some(c => c.matchWhenEmpty),\n\t\t\t\tfn: v => conditions.some(c => c.fn(v))\n\t\t\t};\n\t\t}\n\t}\n\n\t/**\n\t * @param {Condition[]} conditions some conditions\n\t * @returns {Condition} merged condition\n\t */\n\tcombineConditionsAnd(conditions) {\n\t\tif (conditions.length === 0) {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: false,\n\t\t\t\tfn: () => false\n\t\t\t};\n\t\t} else if (conditions.length === 1) {\n\t\t\treturn conditions[0];\n\t\t} else {\n\t\t\treturn {\n\t\t\t\tmatchWhenEmpty: conditions.every(c => c.matchWhenEmpty),\n\t\t\t\tfn: v => conditions.every(c => c.fn(v))\n\t\t\t};\n\t\t}\n\t}\n\n\t/**\n\t * @param {string} path current path\n\t * @param {any} value value at the error location\n\t * @param {string} message message explaining the problem\n\t * @returns {Error} an error object\n\t */\n\terror(path, value, message) {\n\t\treturn new Error(\n\t\t\t`Compiling RuleSet failed: ${message} (at ${path}: ${value})`\n\t\t);\n\t}\n}\n\nmodule.exports = RuleSetCompiler;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/rules/RuleSetCompiler.js?"); /***/ }), /***/ "./node_modules/webpack/lib/rules/UseEffectRulePlugin.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/rules/UseEffectRulePlugin.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?284c\");\n\n/** @typedef {import(\"./RuleSetCompiler\")} RuleSetCompiler */\n/** @typedef {import(\"./RuleSetCompiler\").Effect} Effect */\n\nclass UseEffectRulePlugin {\n\t/**\n\t * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler\n\t * @returns {void}\n\t */\n\tapply(ruleSetCompiler) {\n\t\truleSetCompiler.hooks.rule.tap(\n\t\t\t\"UseEffectRulePlugin\",\n\t\t\t(path, rule, unhandledProperties, result, references) => {\n\t\t\t\tconst conflictWith = (property, correctProperty) => {\n\t\t\t\t\tif (unhandledProperties.has(property)) {\n\t\t\t\t\t\tthrow ruleSetCompiler.error(\n\t\t\t\t\t\t\t`${path}.${property}`,\n\t\t\t\t\t\t\trule[property],\n\t\t\t\t\t\t\t`A Rule must not have a '${property}' property when it has a '${correctProperty}' property`\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tif (unhandledProperties.has(\"use\")) {\n\t\t\t\t\tunhandledProperties.delete(\"use\");\n\t\t\t\t\tunhandledProperties.delete(\"enforce\");\n\n\t\t\t\t\tconflictWith(\"loader\", \"use\");\n\t\t\t\t\tconflictWith(\"options\", \"use\");\n\n\t\t\t\t\tconst use = rule.use;\n\t\t\t\t\tconst enforce = rule.enforce;\n\n\t\t\t\t\tconst type = enforce ? `use-${enforce}` : \"use\";\n\n\t\t\t\t\t/**\n\t\t\t\t\t *\n\t\t\t\t\t * @param {string} path options path\n\t\t\t\t\t * @param {string} defaultIdent default ident when none is provided\n\t\t\t\t\t * @param {object} item user provided use value\n\t\t\t\t\t * @returns {Effect|function(any): Effect[]} effect\n\t\t\t\t\t */\n\t\t\t\t\tconst useToEffect = (path, defaultIdent, item) => {\n\t\t\t\t\t\tif (typeof item === \"function\") {\n\t\t\t\t\t\t\treturn data => useToEffectsWithoutIdent(path, item(data));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn useToEffectRaw(path, defaultIdent, item);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t *\n\t\t\t\t\t * @param {string} path options path\n\t\t\t\t\t * @param {string} defaultIdent default ident when none is provided\n\t\t\t\t\t * @param {object} item user provided use value\n\t\t\t\t\t * @returns {Effect} effect\n\t\t\t\t\t */\n\t\t\t\t\tconst useToEffectRaw = (path, defaultIdent, item) => {\n\t\t\t\t\t\tif (typeof item === \"string\") {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\tloader: item,\n\t\t\t\t\t\t\t\t\toptions: undefined,\n\t\t\t\t\t\t\t\t\tident: undefined\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst loader = item.loader;\n\t\t\t\t\t\t\tconst options = item.options;\n\t\t\t\t\t\t\tlet ident = item.ident;\n\t\t\t\t\t\t\tif (options && typeof options === \"object\") {\n\t\t\t\t\t\t\t\tif (!ident) ident = defaultIdent;\n\t\t\t\t\t\t\t\treferences.set(ident, options);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (typeof options === \"string\") {\n\t\t\t\t\t\t\t\tutil.deprecate(\n\t\t\t\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t\t\t\t`Using a string as loader options is deprecated (${path}.options)`,\n\t\t\t\t\t\t\t\t\t\"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING\"\n\t\t\t\t\t\t\t\t)();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttype: enforce ? `use-${enforce}` : \"use\",\n\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\tloader,\n\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\tident\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} path options path\n\t\t\t\t\t * @param {any} items user provided use value\n\t\t\t\t\t * @returns {Effect[]} effects\n\t\t\t\t\t */\n\t\t\t\t\tconst useToEffectsWithoutIdent = (path, items) => {\n\t\t\t\t\t\tif (Array.isArray(items)) {\n\t\t\t\t\t\t\treturn items.map((item, idx) =>\n\t\t\t\t\t\t\t\tuseToEffectRaw(`${path}[${idx}]`, \"[[missing ident]]\", item)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [useToEffectRaw(path, \"[[missing ident]]\", items)];\n\t\t\t\t\t};\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} path current path\n\t\t\t\t\t * @param {any} items user provided use value\n\t\t\t\t\t * @returns {(Effect|function(any): Effect[])[]} effects\n\t\t\t\t\t */\n\t\t\t\t\tconst useToEffects = (path, items) => {\n\t\t\t\t\t\tif (Array.isArray(items)) {\n\t\t\t\t\t\t\treturn items.map((item, idx) => {\n\t\t\t\t\t\t\t\tconst subPath = `${path}[${idx}]`;\n\t\t\t\t\t\t\t\treturn useToEffect(subPath, subPath, item);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [useToEffect(path, path, items)];\n\t\t\t\t\t};\n\n\t\t\t\t\tif (typeof use === \"function\") {\n\t\t\t\t\t\tresult.effects.push(data =>\n\t\t\t\t\t\t\tuseToEffectsWithoutIdent(`${path}.use`, use(data))\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfor (const effect of useToEffects(`${path}.use`, use)) {\n\t\t\t\t\t\t\tresult.effects.push(effect);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (unhandledProperties.has(\"loader\")) {\n\t\t\t\t\tunhandledProperties.delete(\"loader\");\n\t\t\t\t\tunhandledProperties.delete(\"options\");\n\t\t\t\t\tunhandledProperties.delete(\"enforce\");\n\n\t\t\t\t\tconst loader = rule.loader;\n\t\t\t\t\tconst options = rule.options;\n\t\t\t\t\tconst enforce = rule.enforce;\n\n\t\t\t\t\tif (loader.includes(\"!\")) {\n\t\t\t\t\t\tthrow ruleSetCompiler.error(\n\t\t\t\t\t\t\t`${path}.loader`,\n\t\t\t\t\t\t\tloader,\n\t\t\t\t\t\t\t\"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (loader.includes(\"?\")) {\n\t\t\t\t\t\tthrow ruleSetCompiler.error(\n\t\t\t\t\t\t\t`${path}.loader`,\n\t\t\t\t\t\t\tloader,\n\t\t\t\t\t\t\t\"Query arguments on 'loader' has been removed in favor of the 'options' property\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof options === \"string\") {\n\t\t\t\t\t\tutil.deprecate(\n\t\t\t\t\t\t\t() => {},\n\t\t\t\t\t\t\t`Using a string as loader options is deprecated (${path}.options)`,\n\t\t\t\t\t\t\t\"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING\"\n\t\t\t\t\t\t)();\n\t\t\t\t\t}\n\n\t\t\t\t\tconst ident =\n\t\t\t\t\t\toptions && typeof options === \"object\" ? path : undefined;\n\t\t\t\t\treferences.set(ident, options);\n\t\t\t\t\tresult.effects.push({\n\t\t\t\t\t\ttype: enforce ? `use-${enforce}` : \"use\",\n\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\tloader,\n\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\tident\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tuseItemToEffects(path, item) {}\n}\n\nmodule.exports = UseEffectRulePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/rules/UseEffectRulePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass AsyncModuleRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"async module\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.asyncModule;\n\t\treturn Template.asString([\n\t\t\t'var webpackQueues = typeof Symbol === \"function\" ? Symbol(\"webpack queues\") : \"__webpack_queues__\";',\n\t\t\t'var webpackExports = typeof Symbol === \"function\" ? Symbol(\"webpack exports\") : \"__webpack_exports__\";',\n\t\t\t'var webpackError = typeof Symbol === \"function\" ? Symbol(\"webpack error\") : \"__webpack_error__\";',\n\t\t\t`var resolveQueue = ${runtimeTemplate.basicFunction(\"queue\", [\n\t\t\t\t\"if(queue && !queue.d) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"queue.d = 1;\",\n\t\t\t\t\t`queue.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\"fn.r--\",\n\t\t\t\t\t\t\"fn\"\n\t\t\t\t\t)});`,\n\t\t\t\t\t`queue.forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\"fn.r-- ? fn.r++ : fn()\",\n\t\t\t\t\t\t\"fn\"\n\t\t\t\t\t)});`\n\t\t\t\t]),\n\t\t\t\t\"}\"\n\t\t\t])}`,\n\t\t\t`var wrapDeps = ${runtimeTemplate.returningFunction(\n\t\t\t\t`deps.map(${runtimeTemplate.basicFunction(\"dep\", [\n\t\t\t\t\t'if(dep !== null && typeof dep === \"object\") {',\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"if(dep[webpackQueues]) return dep;\",\n\t\t\t\t\t\t\"if(dep.then) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"var queue = [];\",\n\t\t\t\t\t\t\t\"queue.d = 0;\",\n\t\t\t\t\t\t\t`dep.then(${runtimeTemplate.basicFunction(\"r\", [\n\t\t\t\t\t\t\t\t\"obj[webpackExports] = r;\",\n\t\t\t\t\t\t\t\t\"resolveQueue(queue);\"\n\t\t\t\t\t\t\t])}, ${runtimeTemplate.basicFunction(\"e\", [\n\t\t\t\t\t\t\t\t\"obj[webpackError] = e;\",\n\t\t\t\t\t\t\t\t\"resolveQueue(queue);\"\n\t\t\t\t\t\t\t])});`,\n\t\t\t\t\t\t\t\"var obj = {};\",\n\t\t\t\t\t\t\t`obj[webpackQueues] = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t`fn(queue)`,\n\t\t\t\t\t\t\t\t\"fn\"\n\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t\"return obj;\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t\"var ret = {};\",\n\t\t\t\t\t`ret[webpackQueues] = ${runtimeTemplate.emptyFunction()};`,\n\t\t\t\t\t\"ret[webpackExports] = dep;\",\n\t\t\t\t\t\"return ret;\"\n\t\t\t\t])})`,\n\t\t\t\t\"deps\"\n\t\t\t)};`,\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"module, body, hasAwait\", [\n\t\t\t\t\"var queue;\",\n\t\t\t\t\"hasAwait && ((queue = []).d = 1);\",\n\t\t\t\t\"var depQueues = new Set();\",\n\t\t\t\t\"var exports = module.exports;\",\n\t\t\t\t\"var currentDeps;\",\n\t\t\t\t\"var outerResolve;\",\n\t\t\t\t\"var reject;\",\n\t\t\t\t`var promise = new Promise(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"resolve, rej\",\n\t\t\t\t\t[\"reject = rej;\", \"outerResolve = resolve;\"]\n\t\t\t\t)});`,\n\t\t\t\t\"promise[webpackExports] = exports;\",\n\t\t\t\t`promise[webpackQueues] = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t`queue && fn(queue), depQueues.forEach(fn), promise[\"catch\"](${runtimeTemplate.emptyFunction()})`,\n\t\t\t\t\t\"fn\"\n\t\t\t\t)};`,\n\t\t\t\t\"module.exports = promise;\",\n\t\t\t\t`body(${runtimeTemplate.basicFunction(\"deps\", [\n\t\t\t\t\t\"currentDeps = wrapDeps(deps);\",\n\t\t\t\t\t\"var fn;\",\n\t\t\t\t\t`var getResult = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t`currentDeps.map(${runtimeTemplate.basicFunction(\"d\", [\n\t\t\t\t\t\t\t\"if(d[webpackError]) throw d[webpackError];\",\n\t\t\t\t\t\t\t\"return d[webpackExports];\"\n\t\t\t\t\t\t])})`\n\t\t\t\t\t)}`,\n\t\t\t\t\t`var promise = new Promise(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"resolve\",\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t`fn = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\"resolve(getResult)\",\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t\"fn.r = 0;\",\n\t\t\t\t\t\t\t`var fnQueue = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\"q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))\",\n\t\t\t\t\t\t\t\t\"q\"\n\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t`currentDeps.map(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\"dep[webpackQueues](fnQueue)\",\n\t\t\t\t\t\t\t\t\"dep\"\n\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t]\n\t\t\t\t\t)});`,\n\t\t\t\t\t\"return fn.r ? promise : getResult();\"\n\t\t\t\t])}, ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\"(err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue)\",\n\t\t\t\t\t\"err\"\n\t\t\t\t)});`,\n\t\t\t\t\"queue && (queue.d = 0);\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = AsyncModuleRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst JavascriptModulesPlugin = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { getUndoPath } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\nclass AutoPublicPathRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"publicPath\", RuntimeModule.STAGE_BASIC);\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { scriptType, importMetaName, path } = compilation.outputOptions;\n\t\tconst chunkName = compilation.getPath(\n\t\t\tJavascriptModulesPlugin.getChunkFilenameTemplate(\n\t\t\t\tthis.chunk,\n\t\t\t\tcompilation.outputOptions\n\t\t\t),\n\t\t\t{\n\t\t\t\tchunk: this.chunk,\n\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t}\n\t\t);\n\t\tconst undoPath = getUndoPath(chunkName, path, false);\n\n\t\treturn Template.asString([\n\t\t\t\"var scriptUrl;\",\n\t\t\tscriptType === \"module\"\n\t\t\t\t? `if (typeof ${importMetaName}.url === \"string\") scriptUrl = ${importMetaName}.url`\n\t\t\t\t: Template.asString([\n\t\t\t\t\t\t`if (${RuntimeGlobals.global}.importScripts) scriptUrl = ${RuntimeGlobals.global}.location + \"\";`,\n\t\t\t\t\t\t`var document = ${RuntimeGlobals.global}.document;`,\n\t\t\t\t\t\t\"if (!scriptUrl && document) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`if (document.currentScript)`,\n\t\t\t\t\t\t\tTemplate.indent(`scriptUrl = document.currentScript.src`),\n\t\t\t\t\t\t\t\"if (!scriptUrl) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t'var scripts = document.getElementsByTagName(\"script\");',\n\t\t\t\t\t\t\t\t\"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ]),\n\t\t\t\"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\",\n\t\t\t'// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.',\n\t\t\t'if (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");',\n\t\t\t'scriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\\\?.*$/, \"\").replace(/\\\\/[^\\\\/]+$/, \"/\");',\n\t\t\t!undoPath\n\t\t\t\t? `${RuntimeGlobals.publicPath} = scriptUrl;`\n\t\t\t\t: `${RuntimeGlobals.publicPath} = scriptUrl + ${JSON.stringify(\n\t\t\t\t\t\tundoPath\n\t\t\t\t )};`\n\t\t]);\n\t}\n}\n\nmodule.exports = AutoPublicPathRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass BaseUriRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"base uri\", RuntimeModule.STAGE_ATTACH);\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunk } = this;\n\n\t\tconst options = chunk.getEntryOptions();\n\t\treturn `${RuntimeGlobals.baseURI} = ${\n\t\t\toptions.baseUri === undefined\n\t\t\t\t? \"undefined\"\n\t\t\t\t: JSON.stringify(options.baseUri)\n\t\t};`;\n\t}\n}\n\nmodule.exports = BaseUriRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/BaseUriRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass ChunkNameRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {string} chunkName the chunk's name\n\t */\n\tconstructor(chunkName) {\n\t\tsuper(\"chunkName\");\n\t\tthis.chunkName = chunkName;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn `${RuntimeGlobals.chunkName} = ${JSON.stringify(this.chunkName)};`;\n\t}\n}\n\nmodule.exports = ChunkNameRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js ***! \*********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass CompatGetDefaultExportRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"compat get default export\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.compatGetDefaultExport;\n\t\treturn Template.asString([\n\t\t\t\"// getDefaultExport function for compatibility with non-harmony modules\",\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\"var getter = module && module.__esModule ?\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`${runtimeTemplate.returningFunction(\"module['default']\")} :`,\n\t\t\t\t\t`${runtimeTemplate.returningFunction(\"module\")};`\n\t\t\t\t]),\n\t\t\t\t`${RuntimeGlobals.definePropertyGetters}(getter, { a: getter });`,\n\t\t\t\t\"return getter;\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = CompatGetDefaultExportRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/CompatRuntimeModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/CompatRuntimeModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\n/** @typedef {import(\"../MainTemplate\")} MainTemplate */\n\nclass CompatRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"compat\", RuntimeModule.STAGE_ATTACH);\n\t\tthis.fullHash = true;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, chunk, compilation } = this;\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\tmainTemplate,\n\t\t\tmoduleTemplates,\n\t\t\tdependencyTemplates\n\t\t} = compilation;\n\t\tconst bootstrap = mainTemplate.hooks.bootstrap.call(\n\t\t\t\"\",\n\t\t\tchunk,\n\t\t\tcompilation.hash || \"XXXX\",\n\t\t\tmoduleTemplates.javascript,\n\t\t\tdependencyTemplates\n\t\t);\n\t\tconst localVars = mainTemplate.hooks.localVars.call(\n\t\t\t\"\",\n\t\t\tchunk,\n\t\t\tcompilation.hash || \"XXXX\"\n\t\t);\n\t\tconst requireExtensions = mainTemplate.hooks.requireExtensions.call(\n\t\t\t\"\",\n\t\t\tchunk,\n\t\t\tcompilation.hash || \"XXXX\"\n\t\t);\n\t\tconst runtimeRequirements = chunkGraph.getTreeRuntimeRequirements(chunk);\n\t\tlet requireEnsure = \"\";\n\t\tif (runtimeRequirements.has(RuntimeGlobals.ensureChunk)) {\n\t\t\tconst requireEnsureHandler = mainTemplate.hooks.requireEnsure.call(\n\t\t\t\t\"\",\n\t\t\t\tchunk,\n\t\t\t\tcompilation.hash || \"XXXX\",\n\t\t\t\t\"chunkId\"\n\t\t\t);\n\t\t\tif (requireEnsureHandler) {\n\t\t\t\trequireEnsure = `${\n\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t}.compat = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"chunkId, promises\",\n\t\t\t\t\trequireEnsureHandler\n\t\t\t\t)};`;\n\t\t\t}\n\t\t}\n\t\treturn [bootstrap, localVars, requireEnsure, requireExtensions]\n\t\t\t.filter(Boolean)\n\t\t\t.join(\"\\n\");\n\t}\n\n\t/**\n\t * @returns {boolean} true, if the runtime module should get it's own scope\n\t */\n\tshouldIsolate() {\n\t\t// We avoid isolating this to have better backward-compat\n\t\treturn false;\n\t}\n}\n\nmodule.exports = CompatRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/CompatRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js": /*!************************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js ***! \************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass CreateFakeNamespaceObjectRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"create fake namespace object\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.createFakeNamespaceObject;\n\t\treturn Template.asString([\n\t\t\t`var getProto = Object.getPrototypeOf ? ${runtimeTemplate.returningFunction(\n\t\t\t\t\"Object.getPrototypeOf(obj)\",\n\t\t\t\t\"obj\"\n\t\t\t)} : ${runtimeTemplate.returningFunction(\"obj.__proto__\", \"obj\")};`,\n\t\t\t\"var leafPrototypes;\",\n\t\t\t\"// create a fake namespace object\",\n\t\t\t\"// mode & 1: value is a module id, require it\",\n\t\t\t\"// mode & 2: merge all properties of value into the ns\",\n\t\t\t\"// mode & 4: return value when already ns object\",\n\t\t\t\"// mode & 16: return value when it's Promise-like\",\n\t\t\t\"// mode & 8|1: behave like require\",\n\t\t\t// Note: must be a function (not arrow), because this is used in body!\n\t\t\t`${fn} = function(value, mode) {`,\n\t\t\tTemplate.indent([\n\t\t\t\t`if(mode & 1) value = this(value);`,\n\t\t\t\t`if(mode & 8) return value;`,\n\t\t\t\t\"if(typeof value === 'object' && value) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"if((mode & 4) && value.__esModule) return value;\",\n\t\t\t\t\t\"if((mode & 16) && typeof value.then === 'function') return value;\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"var ns = Object.create(null);\",\n\t\t\t\t`${RuntimeGlobals.makeNamespaceObject}(ns);`,\n\t\t\t\t\"var def = {};\",\n\t\t\t\t\"leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\",\n\t\t\t\t\"for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`Object.getOwnPropertyNames(current).forEach(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t`def[key] = ${runtimeTemplate.returningFunction(\"value[key]\", \"\")}`,\n\t\t\t\t\t\t\"key\"\n\t\t\t\t\t)});`\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t`def['default'] = ${runtimeTemplate.returningFunction(\"value\", \"\")};`,\n\t\t\t\t`${RuntimeGlobals.definePropertyGetters}(ns, def);`,\n\t\t\t\t\"return ns;\"\n\t\t\t]),\n\t\t\t\"};\"\n\t\t]);\n\t}\n}\n\nmodule.exports = CreateFakeNamespaceObjectRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass CreateScriptRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"trusted types script\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate, outputOptions } = compilation;\n\t\tconst { trustedTypes } = outputOptions;\n\t\tconst fn = RuntimeGlobals.createScript;\n\n\t\treturn Template.asString(\n\t\t\t`${fn} = ${runtimeTemplate.returningFunction(\n\t\t\t\ttrustedTypes\n\t\t\t\t\t? `${RuntimeGlobals.getTrustedTypesPolicy}().createScript(script)`\n\t\t\t\t\t: \"script\",\n\t\t\t\t\"script\"\n\t\t\t)};`\n\t\t);\n\t}\n}\n\nmodule.exports = CreateScriptRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass CreateScriptUrlRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"trusted types script url\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate, outputOptions } = compilation;\n\t\tconst { trustedTypes } = outputOptions;\n\t\tconst fn = RuntimeGlobals.createScriptUrl;\n\n\t\treturn Template.asString(\n\t\t\t`${fn} = ${runtimeTemplate.returningFunction(\n\t\t\t\ttrustedTypes\n\t\t\t\t\t? `${RuntimeGlobals.getTrustedTypesPolicy}().createScriptURL(url)`\n\t\t\t\t\t: \"url\",\n\t\t\t\t\"url\"\n\t\t\t)};`\n\t\t);\n\t}\n}\n\nmodule.exports = CreateScriptUrlRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass DefinePropertyGettersRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"define property getters\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.definePropertyGetters;\n\t\treturn Template.asString([\n\t\t\t\"// define getter functions for harmony exports\",\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"exports, definition\", [\n\t\t\t\t`for(var key in definition) {`,\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(definition, key) && !${RuntimeGlobals.hasOwnProperty}(exports, key)) {`,\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\"\n\t\t\t\t]),\n\t\t\t\t\"}\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = DefinePropertyGettersRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass EnsureChunkRuntimeModule extends RuntimeModule {\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"ensure chunk\");\n\t\tthis.runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\t// Check if there are non initial chunks which need to be imported using require-ensure\n\t\tif (this.runtimeRequirements.has(RuntimeGlobals.ensureChunkHandlers)) {\n\t\t\tconst handlers = RuntimeGlobals.ensureChunkHandlers;\n\t\t\treturn Template.asString([\n\t\t\t\t`${handlers} = {};`,\n\t\t\t\t\"// This file contains only the entry chunk.\",\n\t\t\t\t\"// The chunk loading function for additional chunks\",\n\t\t\t\t`${RuntimeGlobals.ensureChunk} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"chunkId\",\n\t\t\t\t\t[\n\t\t\t\t\t\t`return Promise.all(Object.keys(${handlers}).reduce(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"promises, key\",\n\t\t\t\t\t\t\t[`${handlers}[key](chunkId, promises);`, \"return promises;\"]\n\t\t\t\t\t\t)}, []));`\n\t\t\t\t\t]\n\t\t\t\t)};`\n\t\t\t]);\n\t\t} else {\n\t\t\t// There ensureChunk is used somewhere in the tree, so we need an empty requireEnsure\n\t\t\t// function. This can happen with multiple entrypoints.\n\t\t\treturn Template.asString([\n\t\t\t\t\"// The chunk loading function for additional chunks\",\n\t\t\t\t\"// Since all referenced chunks are already included\",\n\t\t\t\t\"// in this file, this function is empty here.\",\n\t\t\t\t`${RuntimeGlobals.ensureChunk} = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\"Promise.resolve()\"\n\t\t\t\t)};`\n\t\t\t]);\n\t\t}\n\t}\n}\n\nmodule.exports = EnsureChunkRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { first } = __webpack_require__(/*! ../util/SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"../Compilation\").PathData} PathData */\n\n/** @typedef {function(PathData, AssetInfo=): string} FilenameFunction */\n\nclass GetChunkFilenameRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {string} contentType the contentType to use the content hash for\n\t * @param {string} name kind of filename\n\t * @param {string} global function name to be assigned\n\t * @param {function(Chunk): string | FilenameFunction} getFilenameForChunk functor to get the filename or function\n\t * @param {boolean} allChunks when false, only async chunks are included\n\t */\n\tconstructor(contentType, name, global, getFilenameForChunk, allChunks) {\n\t\tsuper(`get ${name} chunk filename`);\n\t\tthis.contentType = contentType;\n\t\tthis.global = global;\n\t\tthis.getFilenameForChunk = getFilenameForChunk;\n\t\tthis.allChunks = allChunks;\n\t\tthis.dependentHash = true;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst {\n\t\t\tglobal,\n\t\t\tchunk,\n\t\t\tchunkGraph,\n\t\t\tcontentType,\n\t\t\tgetFilenameForChunk,\n\t\t\tallChunks,\n\t\t\tcompilation\n\t\t} = this;\n\t\tconst { runtimeTemplate } = compilation;\n\n\t\t/** @type {Map<string | FilenameFunction, Set<Chunk>>} */\n\t\tconst chunkFilenames = new Map();\n\t\tlet maxChunks = 0;\n\t\t/** @type {string} */\n\t\tlet dynamicFilename;\n\n\t\t/**\n\t\t * @param {Chunk} c the chunk\n\t\t * @returns {void}\n\t\t */\n\t\tconst addChunk = c => {\n\t\t\tconst chunkFilename = getFilenameForChunk(c);\n\t\t\tif (chunkFilename) {\n\t\t\t\tlet set = chunkFilenames.get(chunkFilename);\n\t\t\t\tif (set === undefined) {\n\t\t\t\t\tchunkFilenames.set(chunkFilename, (set = new Set()));\n\t\t\t\t}\n\t\t\t\tset.add(c);\n\t\t\t\tif (typeof chunkFilename === \"string\") {\n\t\t\t\t\tif (set.size < maxChunks) return;\n\t\t\t\t\tif (set.size === maxChunks) {\n\t\t\t\t\t\tif (chunkFilename.length < dynamicFilename.length) return;\n\t\t\t\t\t\tif (chunkFilename.length === dynamicFilename.length) {\n\t\t\t\t\t\t\tif (chunkFilename < dynamicFilename) return;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tmaxChunks = set.size;\n\t\t\t\t\tdynamicFilename = chunkFilename;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t/** @type {string[]} */\n\t\tconst includedChunksMessages = [];\n\t\tif (allChunks) {\n\t\t\tincludedChunksMessages.push(\"all chunks\");\n\t\t\tfor (const c of chunk.getAllReferencedChunks()) {\n\t\t\t\taddChunk(c);\n\t\t\t}\n\t\t} else {\n\t\t\tincludedChunksMessages.push(\"async chunks\");\n\t\t\tfor (const c of chunk.getAllAsyncChunks()) {\n\t\t\t\taddChunk(c);\n\t\t\t}\n\t\t\tconst includeEntries = chunkGraph\n\t\t\t\t.getTreeRuntimeRequirements(chunk)\n\t\t\t\t.has(RuntimeGlobals.ensureChunkIncludeEntries);\n\t\t\tif (includeEntries) {\n\t\t\t\tincludedChunksMessages.push(\"sibling chunks for the entrypoint\");\n\t\t\t\tfor (const c of chunkGraph.getChunkEntryDependentChunksIterable(\n\t\t\t\t\tchunk\n\t\t\t\t)) {\n\t\t\t\t\taddChunk(c);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (const entrypoint of chunk.getAllReferencedAsyncEntrypoints()) {\n\t\t\taddChunk(entrypoint.chunks[entrypoint.chunks.length - 1]);\n\t\t}\n\n\t\t/** @type {Map<string, Set<string | number>>} */\n\t\tconst staticUrls = new Map();\n\t\t/** @type {Set<Chunk>} */\n\t\tconst dynamicUrlChunks = new Set();\n\n\t\t/**\n\t\t * @param {Chunk} c the chunk\n\t\t * @param {string | FilenameFunction} chunkFilename the filename template for the chunk\n\t\t * @returns {void}\n\t\t */\n\t\tconst addStaticUrl = (c, chunkFilename) => {\n\t\t\t/**\n\t\t\t * @param {string | number} value a value\n\t\t\t * @returns {string} string to put in quotes\n\t\t\t */\n\t\t\tconst unquotedStringify = value => {\n\t\t\t\tconst str = `${value}`;\n\t\t\t\tif (str.length >= 5 && str === `${c.id}`) {\n\t\t\t\t\t// This is shorter and generates the same result\n\t\t\t\t\treturn '\" + chunkId + \"';\n\t\t\t\t}\n\t\t\t\tconst s = JSON.stringify(str);\n\t\t\t\treturn s.slice(1, s.length - 1);\n\t\t\t};\n\t\t\tconst unquotedStringifyWithLength = value => length =>\n\t\t\t\tunquotedStringify(`${value}`.slice(0, length));\n\t\t\tconst chunkFilenameValue =\n\t\t\t\ttypeof chunkFilename === \"function\"\n\t\t\t\t\t? JSON.stringify(\n\t\t\t\t\t\t\tchunkFilename({\n\t\t\t\t\t\t\t\tchunk: c,\n\t\t\t\t\t\t\t\tcontentHashType: contentType\n\t\t\t\t\t\t\t})\n\t\t\t\t\t )\n\t\t\t\t\t: JSON.stringify(chunkFilename);\n\t\t\tconst staticChunkFilename = compilation.getPath(chunkFilenameValue, {\n\t\t\t\thash: `\" + ${RuntimeGlobals.getFullHash}() + \"`,\n\t\t\t\thashWithLength: length =>\n\t\t\t\t\t`\" + ${RuntimeGlobals.getFullHash}().slice(0, ${length}) + \"`,\n\t\t\t\tchunk: {\n\t\t\t\t\tid: unquotedStringify(c.id),\n\t\t\t\t\thash: unquotedStringify(c.renderedHash),\n\t\t\t\t\thashWithLength: unquotedStringifyWithLength(c.renderedHash),\n\t\t\t\t\tname: unquotedStringify(c.name || c.id),\n\t\t\t\t\tcontentHash: {\n\t\t\t\t\t\t[contentType]: unquotedStringify(c.contentHash[contentType])\n\t\t\t\t\t},\n\t\t\t\t\tcontentHashWithLength: {\n\t\t\t\t\t\t[contentType]: unquotedStringifyWithLength(\n\t\t\t\t\t\t\tc.contentHash[contentType]\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tcontentHashType: contentType\n\t\t\t});\n\t\t\tlet set = staticUrls.get(staticChunkFilename);\n\t\t\tif (set === undefined) {\n\t\t\t\tstaticUrls.set(staticChunkFilename, (set = new Set()));\n\t\t\t}\n\t\t\tset.add(c.id);\n\t\t};\n\n\t\tfor (const [filename, chunks] of chunkFilenames) {\n\t\t\tif (filename !== dynamicFilename) {\n\t\t\t\tfor (const c of chunks) addStaticUrl(c, filename);\n\t\t\t} else {\n\t\t\t\tfor (const c of chunks) dynamicUrlChunks.add(c);\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * @param {function(Chunk): string | number} fn function from chunk to value\n\t\t * @returns {string} code with static mapping of results of fn\n\t\t */\n\t\tconst createMap = fn => {\n\t\t\tconst obj = {};\n\t\t\tlet useId = false;\n\t\t\tlet lastKey;\n\t\t\tlet entries = 0;\n\t\t\tfor (const c of dynamicUrlChunks) {\n\t\t\t\tconst value = fn(c);\n\t\t\t\tif (value === c.id) {\n\t\t\t\t\tuseId = true;\n\t\t\t\t} else {\n\t\t\t\t\tobj[c.id] = value;\n\t\t\t\t\tlastKey = c.id;\n\t\t\t\t\tentries++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (entries === 0) return \"chunkId\";\n\t\t\tif (entries === 1) {\n\t\t\t\treturn useId\n\t\t\t\t\t? `(chunkId === ${JSON.stringify(lastKey)} ? ${JSON.stringify(\n\t\t\t\t\t\t\tobj[lastKey]\n\t\t\t\t\t )} : chunkId)`\n\t\t\t\t\t: JSON.stringify(obj[lastKey]);\n\t\t\t}\n\t\t\treturn useId\n\t\t\t\t? `(${JSON.stringify(obj)}[chunkId] || chunkId)`\n\t\t\t\t: `${JSON.stringify(obj)}[chunkId]`;\n\t\t};\n\n\t\t/**\n\t\t * @param {function(Chunk): string | number} fn function from chunk to value\n\t\t * @returns {string} code with static mapping of results of fn for including in quoted string\n\t\t */\n\t\tconst mapExpr = fn => {\n\t\t\treturn `\" + ${createMap(fn)} + \"`;\n\t\t};\n\n\t\t/**\n\t\t * @param {function(Chunk): string | number} fn function from chunk to value\n\t\t * @returns {function(number): string} function which generates code with static mapping of results of fn for including in quoted string for specific length\n\t\t */\n\t\tconst mapExprWithLength = fn => length => {\n\t\t\treturn `\" + ${createMap(c => `${fn(c)}`.slice(0, length))} + \"`;\n\t\t};\n\n\t\tconst url =\n\t\t\tdynamicFilename &&\n\t\t\tcompilation.getPath(JSON.stringify(dynamicFilename), {\n\t\t\t\thash: `\" + ${RuntimeGlobals.getFullHash}() + \"`,\n\t\t\t\thashWithLength: length =>\n\t\t\t\t\t`\" + ${RuntimeGlobals.getFullHash}().slice(0, ${length}) + \"`,\n\t\t\t\tchunk: {\n\t\t\t\t\tid: `\" + chunkId + \"`,\n\t\t\t\t\thash: mapExpr(c => c.renderedHash),\n\t\t\t\t\thashWithLength: mapExprWithLength(c => c.renderedHash),\n\t\t\t\t\tname: mapExpr(c => c.name || c.id),\n\t\t\t\t\tcontentHash: {\n\t\t\t\t\t\t[contentType]: mapExpr(c => c.contentHash[contentType])\n\t\t\t\t\t},\n\t\t\t\t\tcontentHashWithLength: {\n\t\t\t\t\t\t[contentType]: mapExprWithLength(c => c.contentHash[contentType])\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tcontentHashType: contentType\n\t\t\t});\n\n\t\treturn Template.asString([\n\t\t\t`// This function allow to reference ${includedChunksMessages.join(\n\t\t\t\t\" and \"\n\t\t\t)}`,\n\t\t\t`${global} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"chunkId\",\n\n\t\t\t\tstaticUrls.size > 0\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t\"// return url for filenames not based on template\",\n\t\t\t\t\t\t\t// it minimizes to `x===1?\"...\":x===2?\"...\":\"...\"`\n\t\t\t\t\t\t\tTemplate.asString(\n\t\t\t\t\t\t\t\tArray.from(staticUrls, ([url, ids]) => {\n\t\t\t\t\t\t\t\t\tconst condition =\n\t\t\t\t\t\t\t\t\t\tids.size === 1\n\t\t\t\t\t\t\t\t\t\t\t? `chunkId === ${JSON.stringify(first(ids))}`\n\t\t\t\t\t\t\t\t\t\t\t: `{${Array.from(\n\t\t\t\t\t\t\t\t\t\t\t\t\tids,\n\t\t\t\t\t\t\t\t\t\t\t\t\tid => `${JSON.stringify(id)}:1`\n\t\t\t\t\t\t\t\t\t\t\t ).join(\",\")}}[chunkId]`;\n\t\t\t\t\t\t\t\t\treturn `if (${condition}) return ${url};`;\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"// return url for filenames based on template\",\n\t\t\t\t\t\t\t`return ${url};`\n\t\t\t\t\t ]\n\t\t\t\t\t: [\"// return url for filenames based on template\", `return ${url};`]\n\t\t\t)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = GetChunkFilenameRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n\nclass GetFullHashRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"getFullHash\");\n\t\tthis.fullHash = true;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn `${RuntimeGlobals.getFullHash} = ${runtimeTemplate.returningFunction(\n\t\t\tJSON.stringify(this.compilation.hash || \"XXXX\")\n\t\t)}`;\n\t}\n}\n\nmodule.exports = GetFullHashRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n\nclass GetMainFilenameRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {string} name readable name\n\t * @param {string} global global object binding\n\t * @param {string} filename main file name\n\t */\n\tconstructor(name, global, filename) {\n\t\tsuper(`get ${name} filename`);\n\t\tthis.global = global;\n\t\tthis.filename = filename;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { global, filename, compilation, chunk } = this;\n\t\tconst { runtimeTemplate } = compilation;\n\t\tconst url = compilation.getPath(JSON.stringify(filename), {\n\t\t\thash: `\" + ${RuntimeGlobals.getFullHash}() + \"`,\n\t\t\thashWithLength: length =>\n\t\t\t\t`\" + ${RuntimeGlobals.getFullHash}().slice(0, ${length}) + \"`,\n\t\t\tchunk,\n\t\t\truntime: chunk.runtime\n\t\t});\n\t\treturn Template.asString([\n\t\t\t`${global} = ${runtimeTemplate.returningFunction(url)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = GetMainFilenameRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js ***! \********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass GetTrustedTypesPolicyRuntimeModule extends HelperRuntimeModule {\n\t/**\n\t * @param {Set<string>} runtimeRequirements runtime requirements\n\t */\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"trusted types policy\");\n\t\tthis.runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate, outputOptions } = compilation;\n\t\tconst { trustedTypes } = outputOptions;\n\t\tconst fn = RuntimeGlobals.getTrustedTypesPolicy;\n\n\t\treturn Template.asString([\n\t\t\t\"var policy;\",\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\"// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.\",\n\t\t\t\t\"if (policy === undefined) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"policy = {\",\n\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t...(this.runtimeRequirements.has(RuntimeGlobals.createScript)\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t`createScript: ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\t\t\"script\",\n\t\t\t\t\t\t\t\t\t\t\t\"script\"\n\t\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t: []),\n\t\t\t\t\t\t\t...(this.runtimeRequirements.has(RuntimeGlobals.createScriptUrl)\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t`createScriptURL: ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\t\t\"url\",\n\t\t\t\t\t\t\t\t\t\t\t\"url\"\n\t\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t: [])\n\t\t\t\t\t\t].join(\",\\n\")\n\t\t\t\t\t),\n\t\t\t\t\t\"};\",\n\t\t\t\t\t...(trustedTypes\n\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t'if (typeof trustedTypes !== \"undefined\" && trustedTypes.createPolicy) {',\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`policy = trustedTypes.createPolicy(${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\ttrustedTypes.policyName\n\t\t\t\t\t\t\t\t\t)}, policy);`\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t ]\n\t\t\t\t\t\t: [])\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"return policy;\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = GetTrustedTypesPolicyRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/GlobalRuntimeModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/GlobalRuntimeModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass GlobalRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"global\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.global} = (function() {`,\n\t\t\tTemplate.indent([\n\t\t\t\t\"if (typeof globalThis === 'object') return globalThis;\",\n\t\t\t\t\"try {\",\n\t\t\t\tTemplate.indent(\n\t\t\t\t\t// This works in non-strict mode\n\t\t\t\t\t// or\n\t\t\t\t\t// This works if eval is allowed (see CSP)\n\t\t\t\t\t\"return this || new Function('return this')();\"\n\t\t\t\t),\n\t\t\t\t\"} catch (e) {\",\n\t\t\t\tTemplate.indent(\n\t\t\t\t\t// This works if the window reference is available\n\t\t\t\t\t\"if (typeof window === 'object') return window;\"\n\t\t\t\t),\n\t\t\t\t\"}\"\n\t\t\t\t// It can still be `undefined`, but nothing to do about it...\n\t\t\t\t// We return `undefined`, instead of nothing here, so it's\n\t\t\t\t// easier to handle this case:\n\t\t\t\t// if (!global) { … }\n\t\t\t]),\n\t\t\t\"})();\"\n\t\t]);\n\t}\n}\n\nmodule.exports = GlobalRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/GlobalRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sergey Melyukov @smelukov\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass HasOwnPropertyRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"hasOwnProperty shorthand\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.hasOwnProperty} = ${runtimeTemplate.returningFunction(\n\t\t\t\t\"Object.prototype.hasOwnProperty.call(obj, prop)\",\n\t\t\t\t\"obj, prop\"\n\t\t\t)}`\n\t\t]);\n\t}\n}\n\nmodule.exports = HasOwnPropertyRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/HelperRuntimeModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/HelperRuntimeModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass HelperRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {string} name a readable name\n\t */\n\tconstructor(name) {\n\t\tsuper(name);\n\t}\n}\n\nmodule.exports = HelperRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/HelperRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/**\n * @typedef {Object} LoadScriptCompilationHooks\n * @property {SyncWaterfallHook<[string, Chunk]>} createScript\n */\n\n/** @type {WeakMap<Compilation, LoadScriptCompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass LoadScriptRuntimeModule extends HelperRuntimeModule {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {LoadScriptCompilationHooks} hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tcreateScript: new SyncWaterfallHook([\"source\", \"chunk\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\t/**\n\t * @param {boolean=} withCreateScriptUrl use create script url for trusted types\n\t */\n\tconstructor(withCreateScriptUrl) {\n\t\tsuper(\"load script\");\n\t\tthis._withCreateScriptUrl = withCreateScriptUrl;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate, outputOptions } = compilation;\n\t\tconst {\n\t\t\tscriptType,\n\t\t\tchunkLoadTimeout: loadTimeout,\n\t\t\tcrossOriginLoading,\n\t\t\tuniqueName,\n\t\t\tcharset\n\t\t} = outputOptions;\n\t\tconst fn = RuntimeGlobals.loadScript;\n\n\t\tconst { createScript } =\n\t\t\tLoadScriptRuntimeModule.getCompilationHooks(compilation);\n\n\t\tconst code = Template.asString([\n\t\t\t\"script = document.createElement('script');\",\n\t\t\tscriptType ? `script.type = ${JSON.stringify(scriptType)};` : \"\",\n\t\t\tcharset ? \"script.charset = 'utf-8';\" : \"\",\n\t\t\t`script.timeout = ${loadTimeout / 1000};`,\n\t\t\t`if (${RuntimeGlobals.scriptNonce}) {`,\n\t\t\tTemplate.indent(\n\t\t\t\t`script.setAttribute(\"nonce\", ${RuntimeGlobals.scriptNonce});`\n\t\t\t),\n\t\t\t\"}\",\n\t\t\tuniqueName\n\t\t\t\t? 'script.setAttribute(\"data-webpack\", dataWebpackPrefix + key);'\n\t\t\t\t: \"\",\n\t\t\t`script.src = ${\n\t\t\t\tthis._withCreateScriptUrl\n\t\t\t\t\t? `${RuntimeGlobals.createScriptUrl}(url)`\n\t\t\t\t\t: \"url\"\n\t\t\t};`,\n\t\t\tcrossOriginLoading\n\t\t\t\t? crossOriginLoading === \"use-credentials\"\n\t\t\t\t\t? 'script.crossOrigin = \"use-credentials\";'\n\t\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\t\"if (script.src.indexOf(window.location.origin + '/') !== 0) {\",\n\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t`script.crossOrigin = ${JSON.stringify(crossOriginLoading)};`\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t ])\n\t\t\t\t: \"\"\n\t\t]);\n\n\t\treturn Template.asString([\n\t\t\t\"var inProgress = {};\",\n\t\t\tuniqueName\n\t\t\t\t? `var dataWebpackPrefix = ${JSON.stringify(uniqueName + \":\")};`\n\t\t\t\t: \"// data-webpack is not used as build has no uniqueName\",\n\t\t\t\"// loadScript function to load a script via script tag\",\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"url, done, key, chunkId\", [\n\t\t\t\t\"if(inProgress[url]) { inProgress[url].push(done); return; }\",\n\t\t\t\t\"var script, needAttach;\",\n\t\t\t\t\"if(key !== undefined) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t'var scripts = document.getElementsByTagName(\"script\");',\n\t\t\t\t\t\"for(var i = 0; i < scripts.length; i++) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"var s = scripts[i];\",\n\t\t\t\t\t\t`if(s.getAttribute(\"src\") == url${\n\t\t\t\t\t\t\tuniqueName\n\t\t\t\t\t\t\t\t? ' || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key'\n\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t}) { script = s; break; }`\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"if(!script) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"needAttach = true;\",\n\t\t\t\t\tcreateScript.call(code, this.chunk)\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"inProgress[url] = [done];\",\n\t\t\t\t\"var onScriptComplete = \" +\n\t\t\t\t\truntimeTemplate.basicFunction(\n\t\t\t\t\t\t\"prev, event\",\n\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\"// avoid mem leaks in IE.\",\n\t\t\t\t\t\t\t\"script.onerror = script.onload = null;\",\n\t\t\t\t\t\t\t\"clearTimeout(timeout);\",\n\t\t\t\t\t\t\t\"var doneFns = inProgress[url];\",\n\t\t\t\t\t\t\t\"delete inProgress[url];\",\n\t\t\t\t\t\t\t\"script.parentNode && script.parentNode.removeChild(script);\",\n\t\t\t\t\t\t\t`doneFns && doneFns.forEach(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\"fn(event)\",\n\t\t\t\t\t\t\t\t\"fn\"\n\t\t\t\t\t\t\t)});`,\n\t\t\t\t\t\t\t\"if(prev) return prev(event);\"\n\t\t\t\t\t\t])\n\t\t\t\t\t) +\n\t\t\t\t\t\";\",\n\t\t\t\t`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${loadTimeout});`,\n\t\t\t\t\"script.onerror = onScriptComplete.bind(null, script.onerror);\",\n\t\t\t\t\"script.onload = onScriptComplete.bind(null, script.onload);\",\n\t\t\t\t\"needAttach && document.head.appendChild(script);\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = LoadScriptRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass MakeNamespaceObjectRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"make namespace object\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\tconst fn = RuntimeGlobals.makeNamespaceObject;\n\t\treturn Template.asString([\n\t\t\t\"// define __esModule on exports\",\n\t\t\t`${fn} = ${runtimeTemplate.basicFunction(\"exports\", [\n\t\t\t\t\"if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\"\n\t\t\t\t]),\n\t\t\t\t\"}\",\n\t\t\t\t\"Object.defineProperty(exports, '__esModule', { value: true });\"\n\t\t\t])};`\n\t\t]);\n\t}\n}\n\nmodule.exports = MakeNamespaceObjectRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/NonceRuntimeModule.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/NonceRuntimeModule.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass NonceRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"nonce\", RuntimeModule.STAGE_ATTACH);\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn `${RuntimeGlobals.scriptNonce} = undefined;`;\n\t}\n}\n\nmodule.exports = NonceRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/NonceRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass OnChunksLoadedRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"chunk loaded\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate } = compilation;\n\t\treturn Template.asString([\n\t\t\t\"var deferred = [];\",\n\t\t\t`${RuntimeGlobals.onChunksLoaded} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"result, chunkIds, fn, priority\",\n\t\t\t\t[\n\t\t\t\t\t\"if(chunkIds) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\"priority = priority || 0;\",\n\t\t\t\t\t\t\"for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\",\n\t\t\t\t\t\t\"deferred[i] = [chunkIds, fn, priority];\",\n\t\t\t\t\t\t\"return;\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t\"var notFulfilled = Infinity;\",\n\t\t\t\t\t\"for (var i = 0; i < deferred.length; i++) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\truntimeTemplate.destructureArray(\n\t\t\t\t\t\t\t[\"chunkIds\", \"fn\", \"priority\"],\n\t\t\t\t\t\t\t\"deferred[i]\"\n\t\t\t\t\t\t),\n\t\t\t\t\t\t\"var fulfilled = true;\",\n\t\t\t\t\t\t\"for (var j = 0; j < chunkIds.length; j++) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${\n\t\t\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t\t\t\t}).every(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t`${RuntimeGlobals.onChunksLoaded}[key](chunkIds[j])`,\n\t\t\t\t\t\t\t\t\"key\"\n\t\t\t\t\t\t\t)})) {`,\n\t\t\t\t\t\t\tTemplate.indent([\"chunkIds.splice(j--, 1);\"]),\n\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\"fulfilled = false;\",\n\t\t\t\t\t\t\t\t\"if(priority < notFulfilled) notFulfilled = priority;\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"if(fulfilled) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"deferred.splice(i--, 1)\",\n\t\t\t\t\t\t\t\"var r = fn();\",\n\t\t\t\t\t\t\t\"if (r !== undefined) result = r;\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t\"return result;\"\n\t\t\t\t]\n\t\t\t)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = OnChunksLoadedRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass PublicPathRuntimeModule extends RuntimeModule {\n\tconstructor(publicPath) {\n\t\tsuper(\"publicPath\", RuntimeModule.STAGE_BASIC);\n\t\tthis.publicPath = publicPath;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, publicPath } = this;\n\n\t\treturn `${RuntimeGlobals.publicPath} = ${JSON.stringify(\n\t\t\tcompilation.getPath(publicPath || \"\", {\n\t\t\t\thash: compilation.hash || \"XXXX\"\n\t\t\t})\n\t\t)};`;\n\t}\n}\n\nmodule.exports = PublicPathRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst HelperRuntimeModule = __webpack_require__(/*! ./HelperRuntimeModule */ \"./node_modules/webpack/lib/runtime/HelperRuntimeModule.js\");\n\nclass RelativeUrlRuntimeModule extends HelperRuntimeModule {\n\tconstructor() {\n\t\tsuper(\"relative url\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { runtimeTemplate } = this.compilation;\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.relativeUrl} = function RelativeURL(url) {`,\n\t\t\tTemplate.indent([\n\t\t\t\t'var realUrl = new URL(url, \"x:/\");',\n\t\t\t\t\"var values = {};\",\n\t\t\t\t\"for (var key in realUrl) values[key] = realUrl[key];\",\n\t\t\t\t\"values.href = url;\",\n\t\t\t\t'values.pathname = url.replace(/[?#].*/, \"\");',\n\t\t\t\t'values.origin = values.protocol = \"\";',\n\t\t\t\t`values.toString = values.toJSON = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\"url\"\n\t\t\t\t)};`,\n\t\t\t\t\"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });\"\n\t\t\t]),\n\t\t\t\"};\",\n\t\t\t`${RuntimeGlobals.relativeUrl}.prototype = URL.prototype;`\n\t\t]);\n\t}\n}\n\nmodule.exports = RelativeUrlRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\nclass RuntimeIdRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"runtimeId\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, chunk } = this;\n\t\tconst runtime = chunk.runtime;\n\t\tif (typeof runtime !== \"string\")\n\t\t\tthrow new Error(\"RuntimeIdRuntimeModule must be in a single runtime\");\n\t\tconst id = chunkGraph.getRuntimeId(runtime);\n\t\treturn `${RuntimeGlobals.runtimeId} = ${JSON.stringify(id)};`;\n\t}\n}\n\nmodule.exports = RuntimeIdRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst StartupChunkDependenciesRuntimeModule = __webpack_require__(/*! ./StartupChunkDependenciesRuntimeModule */ \"./node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js\");\nconst StartupEntrypointRuntimeModule = __webpack_require__(/*! ./StartupEntrypointRuntimeModule */ \"./node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass StartupChunkDependenciesPlugin {\n\tconstructor(options) {\n\t\tthis.chunkLoading = options.chunkLoading;\n\t\tthis.asyncChunkLoading =\n\t\t\ttypeof options.asyncChunkLoading === \"boolean\"\n\t\t\t\t? options.asyncChunkLoading\n\t\t\t\t: true;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"StartupChunkDependenciesPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst chunkLoading =\n\t\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\t\treturn chunkLoading === this.chunkLoading;\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\t\"StartupChunkDependenciesPlugin\",\n\t\t\t\t\t(chunk, set, { chunkGraph }) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tif (chunkGraph.hasChunkEntryDependentChunks(chunk)) {\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.startup);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.ensureChunk);\n\t\t\t\t\t\t\tset.add(RuntimeGlobals.ensureChunkIncludeEntries);\n\t\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tnew StartupChunkDependenciesRuntimeModule(\n\t\t\t\t\t\t\t\t\tthis.asyncChunkLoading\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.startupEntrypoint)\n\t\t\t\t\t.tap(\"StartupChunkDependenciesPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.require);\n\t\t\t\t\t\tset.add(RuntimeGlobals.ensureChunk);\n\t\t\t\t\t\tset.add(RuntimeGlobals.ensureChunkIncludeEntries);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew StartupEntrypointRuntimeModule(this.asyncChunkLoading)\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = StartupChunkDependenciesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js ***! \***********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass StartupChunkDependenciesRuntimeModule extends RuntimeModule {\n\tconstructor(asyncChunkLoading) {\n\t\tsuper(\"startup chunk dependencies\", RuntimeModule.STAGE_TRIGGER);\n\t\tthis.asyncChunkLoading = asyncChunkLoading;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, chunk, compilation } = this;\n\t\tconst { runtimeTemplate } = compilation;\n\t\tconst chunkIds = Array.from(\n\t\t\tchunkGraph.getChunkEntryDependentChunksIterable(chunk)\n\t\t).map(chunk => {\n\t\t\treturn chunk.id;\n\t\t});\n\t\treturn Template.asString([\n\t\t\t`var next = ${RuntimeGlobals.startup};`,\n\t\t\t`${RuntimeGlobals.startup} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"\",\n\t\t\t\t!this.asyncChunkLoading\n\t\t\t\t\t? chunkIds\n\t\t\t\t\t\t\t.map(\n\t\t\t\t\t\t\t\tid => `${RuntimeGlobals.ensureChunk}(${JSON.stringify(id)});`\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.concat(\"return next();\")\n\t\t\t\t\t: chunkIds.length === 1\n\t\t\t\t\t? `return ${RuntimeGlobals.ensureChunk}(${JSON.stringify(\n\t\t\t\t\t\t\tchunkIds[0]\n\t\t\t\t\t )}).then(next);`\n\t\t\t\t\t: chunkIds.length > 2\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t// using map is shorter for 3 or more chunks\n\t\t\t\t\t\t\t`return Promise.all(${JSON.stringify(chunkIds)}.map(${\n\t\t\t\t\t\t\t\tRuntimeGlobals.ensureChunk\n\t\t\t\t\t\t\t}, __webpack_require__)).then(next);`\n\t\t\t\t\t ]\n\t\t\t\t\t: [\n\t\t\t\t\t\t\t// calling ensureChunk directly is shorter for 0 - 2 chunks\n\t\t\t\t\t\t\t\"return Promise.all([\",\n\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\tchunkIds\n\t\t\t\t\t\t\t\t\t.map(\n\t\t\t\t\t\t\t\t\t\tid => `${RuntimeGlobals.ensureChunk}(${JSON.stringify(id)})`\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.join(\",\\n\")\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"]).then(next);\"\n\t\t\t\t\t ]\n\t\t\t)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = StartupChunkDependenciesRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\n/** @typedef {import(\"../MainTemplate\")} MainTemplate */\n\nclass StartupEntrypointRuntimeModule extends RuntimeModule {\n\tconstructor(asyncChunkLoading) {\n\t\tsuper(\"startup entrypoint\");\n\t\tthis.asyncChunkLoading = asyncChunkLoading;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation } = this;\n\t\tconst { runtimeTemplate } = compilation;\n\t\treturn `${\n\t\t\tRuntimeGlobals.startupEntrypoint\n\t\t} = ${runtimeTemplate.basicFunction(\"result, chunkIds, fn\", [\n\t\t\t\"// arguments: chunkIds, moduleId are deprecated\",\n\t\t\t\"var moduleId = chunkIds;\",\n\t\t\t`if(!fn) chunkIds = result, fn = ${runtimeTemplate.returningFunction(\n\t\t\t\t`__webpack_require__(${RuntimeGlobals.entryModuleId} = moduleId)`\n\t\t\t)};`,\n\t\t\t...(this.asyncChunkLoading\n\t\t\t\t? [\n\t\t\t\t\t\t`return Promise.all(chunkIds.map(${\n\t\t\t\t\t\t\tRuntimeGlobals.ensureChunk\n\t\t\t\t\t\t}, __webpack_require__)).then(${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\t\"var r = fn();\",\n\t\t\t\t\t\t\t\"return r === undefined ? result : r;\"\n\t\t\t\t\t\t])})`\n\t\t\t\t ]\n\t\t\t\t: [\n\t\t\t\t\t\t`chunkIds.map(${RuntimeGlobals.ensureChunk}, __webpack_require__)`,\n\t\t\t\t\t\t\"var r = fn();\",\n\t\t\t\t\t\t\"return r === undefined ? result : r;\"\n\t\t\t\t ])\n\t\t])}`;\n\t}\n}\n\nmodule.exports = StartupEntrypointRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n\nclass SystemContextRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"__system_context__\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\treturn `${RuntimeGlobals.systemContext} = __system_context__;`;\n\t}\n}\n\nmodule.exports = SystemContextRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/schemes/DataUriPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/schemes/DataUriPlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NormalModule = __webpack_require__(/*! ../NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n// data URL scheme: \"data:text/javascript;charset=utf-8;base64,some-string\"\n// http://www.ietf.org/rfc/rfc2397.txt\nconst URIRegEx = /^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;\n\nconst decodeDataURI = uri => {\n\tconst match = URIRegEx.exec(uri);\n\tif (!match) return null;\n\n\tconst isBase64 = match[3];\n\tconst body = match[4];\n\treturn isBase64\n\t\t? Buffer.from(body, \"base64\")\n\t\t: Buffer.from(decodeURIComponent(body), \"ascii\");\n};\n\nclass DataUriPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"DataUriPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tnormalModuleFactory.hooks.resolveForScheme\n\t\t\t\t\t.for(\"data\")\n\t\t\t\t\t.tap(\"DataUriPlugin\", resourceData => {\n\t\t\t\t\t\tconst match = URIRegEx.exec(resourceData.resource);\n\t\t\t\t\t\tif (match) {\n\t\t\t\t\t\t\tresourceData.data.mimetype = match[1] || \"\";\n\t\t\t\t\t\t\tresourceData.data.parameters = match[2] || \"\";\n\t\t\t\t\t\t\tresourceData.data.encoding = match[3] || false;\n\t\t\t\t\t\t\tresourceData.data.encodedContent = match[4] || \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\tNormalModule.getCompilationHooks(compilation)\n\t\t\t\t\t.readResourceForScheme.for(\"data\")\n\t\t\t\t\t.tap(\"DataUriPlugin\", resource => decodeDataURI(resource));\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = DataUriPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/schemes/DataUriPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/schemes/FileUriPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/schemes/FileUriPlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { URL, fileURLToPath } = __webpack_require__(/*! url */ \"?0db4\");\nconst { NormalModule } = __webpack_require__(/*! .. */ \"./node_modules/webpack/lib/index.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass FileUriPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"FileUriPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tnormalModuleFactory.hooks.resolveForScheme\n\t\t\t\t\t.for(\"file\")\n\t\t\t\t\t.tap(\"FileUriPlugin\", resourceData => {\n\t\t\t\t\t\tconst url = new URL(resourceData.resource);\n\t\t\t\t\t\tconst path = fileURLToPath(url);\n\t\t\t\t\t\tconst query = url.search;\n\t\t\t\t\t\tconst fragment = url.hash;\n\t\t\t\t\t\tresourceData.path = path;\n\t\t\t\t\t\tresourceData.query = query;\n\t\t\t\t\t\tresourceData.fragment = fragment;\n\t\t\t\t\t\tresourceData.resource = path + query + fragment;\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t});\n\t\t\t\tconst hooks = NormalModule.getCompilationHooks(compilation);\n\t\t\t\thooks.readResource\n\t\t\t\t\t.for(undefined)\n\t\t\t\t\t.tapAsync(\"FileUriPlugin\", (loaderContext, callback) => {\n\t\t\t\t\t\tconst { resourcePath } = loaderContext;\n\t\t\t\t\t\tloaderContext.addDependency(resourcePath);\n\t\t\t\t\t\tloaderContext.fs.readFile(resourcePath, callback);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = FileUriPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/schemes/FileUriPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/schemes/HttpUriPlugin.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/schemes/HttpUriPlugin.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst EventEmitter = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\nconst { extname, basename } = __webpack_require__(/*! path */ \"?06a5\");\nconst { URL } = __webpack_require__(/*! url */ \"?0db4\");\nconst { createGunzip, createBrotliDecompress, createInflate } = __webpack_require__(/*! zlib */ \"?efdd\");\nconst NormalModule = __webpack_require__(/*! ../NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { mkdirp, dirname, join } = __webpack_require__(/*! ../util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../../declarations/plugins/schemes/HttpUriPlugin\").HttpUriPluginOptions} HttpUriPluginOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst getHttp = memoize(() => __webpack_require__(/*! http */ \"?cd17\"));\nconst getHttps = memoize(() => __webpack_require__(/*! https */ \"?0f7b\"));\nconst proxyFetch = (request, proxy) => (url, options, callback) => {\n\tconst eventEmitter = new EventEmitter();\n\tconst doRequest = socket =>\n\t\trequest\n\t\t\t.get(url, { ...options, ...(socket && { socket }) }, callback)\n\t\t\t.on(\"error\", eventEmitter.emit.bind(eventEmitter, \"error\"));\n\n\tif (proxy) {\n\t\tconst { hostname: host, port } = new URL(proxy);\n\n\t\tgetHttp()\n\t\t\t.request({\n\t\t\t\thost, // IP address of proxy server\n\t\t\t\tport, // port of proxy server\n\t\t\t\tmethod: \"CONNECT\",\n\t\t\t\tpath: url.host\n\t\t\t})\n\t\t\t.on(\"connect\", (res, socket) => {\n\t\t\t\tif (res.statusCode === 200) {\n\t\t\t\t\t// connected to proxy server\n\t\t\t\t\tdoRequest(socket);\n\t\t\t\t}\n\t\t\t})\n\t\t\t.on(\"error\", err => {\n\t\t\t\teventEmitter.emit(\n\t\t\t\t\t\"error\",\n\t\t\t\t\tnew Error(\n\t\t\t\t\t\t`Failed to connect to proxy server \"${proxy}\": ${err.message}`\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t})\n\t\t\t.end();\n\t} else {\n\t\tdoRequest();\n\t}\n\n\treturn eventEmitter;\n};\n\n/** @type {(() => void)[] | undefined} */\nlet inProgressWrite = undefined;\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/schemes/HttpUriPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/schemes/HttpUriPlugin.json */ \"./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json\"),\n\t{\n\t\tname: \"Http Uri Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\nconst toSafePath = str =>\n\tstr\n\t\t.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g, \"\")\n\t\t.replace(/[^a-zA-Z0-9._-]+/g, \"_\");\n\nconst computeIntegrity = content => {\n\tconst hash = createHash(\"sha512\");\n\thash.update(content);\n\tconst integrity = \"sha512-\" + hash.digest(\"base64\");\n\treturn integrity;\n};\n\nconst verifyIntegrity = (content, integrity) => {\n\tif (integrity === \"ignore\") return true;\n\treturn computeIntegrity(content) === integrity;\n};\n\n/**\n * @param {string} str input\n * @returns {Record<string, string>} parsed\n */\nconst parseKeyValuePairs = str => {\n\t/** @type {Record<string, string>} */\n\tconst result = {};\n\tfor (const item of str.split(\",\")) {\n\t\tconst i = item.indexOf(\"=\");\n\t\tif (i >= 0) {\n\t\t\tconst key = item.slice(0, i).trim();\n\t\t\tconst value = item.slice(i + 1).trim();\n\t\t\tresult[key] = value;\n\t\t} else {\n\t\t\tconst key = item.trim();\n\t\t\tif (!key) continue;\n\t\t\tresult[key] = key;\n\t\t}\n\t}\n\treturn result;\n};\n\nconst parseCacheControl = (cacheControl, requestTime) => {\n\t// When false resource is not stored in cache\n\tlet storeCache = true;\n\t// When false resource is not stored in lockfile cache\n\tlet storeLock = true;\n\t// Resource is only revalidated, after that timestamp and when upgrade is chosen\n\tlet validUntil = 0;\n\tif (cacheControl) {\n\t\tconst parsed = parseKeyValuePairs(cacheControl);\n\t\tif (parsed[\"no-cache\"]) storeCache = storeLock = false;\n\t\tif (parsed[\"max-age\"] && !isNaN(+parsed[\"max-age\"])) {\n\t\t\tvalidUntil = requestTime + +parsed[\"max-age\"] * 1000;\n\t\t}\n\t\tif (parsed[\"must-revalidate\"]) validUntil = 0;\n\t}\n\treturn {\n\t\tstoreLock,\n\t\tstoreCache,\n\t\tvalidUntil\n\t};\n};\n\n/**\n * @typedef {Object} LockfileEntry\n * @property {string} resolved\n * @property {string} integrity\n * @property {string} contentType\n */\n\nconst areLockfileEntriesEqual = (a, b) => {\n\treturn (\n\t\ta.resolved === b.resolved &&\n\t\ta.integrity === b.integrity &&\n\t\ta.contentType === b.contentType\n\t);\n};\n\nconst entryToString = entry => {\n\treturn `resolved: ${entry.resolved}, integrity: ${entry.integrity}, contentType: ${entry.contentType}`;\n};\n\nclass Lockfile {\n\tconstructor() {\n\t\tthis.version = 1;\n\t\t/** @type {Map<string, LockfileEntry | \"ignore\" | \"no-cache\">} */\n\t\tthis.entries = new Map();\n\t}\n\n\tstatic parse(content) {\n\t\t// TODO handle merge conflicts\n\t\tconst data = JSON.parse(content);\n\t\tif (data.version !== 1)\n\t\t\tthrow new Error(`Unsupported lockfile version ${data.version}`);\n\t\tconst lockfile = new Lockfile();\n\t\tfor (const key of Object.keys(data)) {\n\t\t\tif (key === \"version\") continue;\n\t\t\tconst entry = data[key];\n\t\t\tlockfile.entries.set(\n\t\t\t\tkey,\n\t\t\t\ttypeof entry === \"string\"\n\t\t\t\t\t? entry\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tresolved: key,\n\t\t\t\t\t\t\t...entry\n\t\t\t\t\t }\n\t\t\t);\n\t\t}\n\t\treturn lockfile;\n\t}\n\n\ttoString() {\n\t\tlet str = \"{\\n\";\n\t\tconst entries = Array.from(this.entries).sort(([a], [b]) =>\n\t\t\ta < b ? -1 : 1\n\t\t);\n\t\tfor (const [key, entry] of entries) {\n\t\t\tif (typeof entry === \"string\") {\n\t\t\t\tstr += ` ${JSON.stringify(key)}: ${JSON.stringify(entry)},\\n`;\n\t\t\t} else {\n\t\t\t\tstr += ` ${JSON.stringify(key)}: { `;\n\t\t\t\tif (entry.resolved !== key)\n\t\t\t\t\tstr += `\"resolved\": ${JSON.stringify(entry.resolved)}, `;\n\t\t\t\tstr += `\"integrity\": ${JSON.stringify(\n\t\t\t\t\tentry.integrity\n\t\t\t\t)}, \"contentType\": ${JSON.stringify(entry.contentType)} },\\n`;\n\t\t\t}\n\t\t}\n\t\tstr += ` \"version\": ${this.version}\\n}\\n`;\n\t\treturn str;\n\t}\n}\n\n/**\n * @template R\n * @param {function(function(Error=, R=): void): void} fn function\n * @returns {function(function((Error | null)=, R=): void): void} cached function\n */\nconst cachedWithoutKey = fn => {\n\tlet inFlight = false;\n\t/** @type {Error | undefined} */\n\tlet cachedError = undefined;\n\t/** @type {R | undefined} */\n\tlet cachedResult = undefined;\n\t/** @type {(function(Error=, R=): void)[] | undefined} */\n\tlet cachedCallbacks = undefined;\n\treturn callback => {\n\t\tif (inFlight) {\n\t\t\tif (cachedResult !== undefined) return callback(null, cachedResult);\n\t\t\tif (cachedError !== undefined) return callback(cachedError);\n\t\t\tif (cachedCallbacks === undefined) cachedCallbacks = [callback];\n\t\t\telse cachedCallbacks.push(callback);\n\t\t\treturn;\n\t\t}\n\t\tinFlight = true;\n\t\tfn((err, result) => {\n\t\t\tif (err) cachedError = err;\n\t\t\telse cachedResult = result;\n\t\t\tconst callbacks = cachedCallbacks;\n\t\t\tcachedCallbacks = undefined;\n\t\t\tcallback(err, result);\n\t\t\tif (callbacks !== undefined) for (const cb of callbacks) cb(err, result);\n\t\t});\n\t};\n};\n\n/**\n * @template T\n * @template R\n * @param {function(T, function(Error=, R=): void): void} fn function\n * @param {function(T, function(Error=, R=): void): void=} forceFn function for the second try\n * @returns {(function(T, function((Error | null)=, R=): void): void) & { force: function(T, function((Error | null)=, R=): void): void }} cached function\n */\nconst cachedWithKey = (fn, forceFn = fn) => {\n\t/** @typedef {{ result?: R, error?: Error, callbacks?: (function((Error | null)=, R=): void)[], force?: true }} CacheEntry */\n\t/** @type {Map<T, CacheEntry>} */\n\tconst cache = new Map();\n\tconst resultFn = (arg, callback) => {\n\t\tconst cacheEntry = cache.get(arg);\n\t\tif (cacheEntry !== undefined) {\n\t\t\tif (cacheEntry.result !== undefined)\n\t\t\t\treturn callback(null, cacheEntry.result);\n\t\t\tif (cacheEntry.error !== undefined) return callback(cacheEntry.error);\n\t\t\tif (cacheEntry.callbacks === undefined) cacheEntry.callbacks = [callback];\n\t\t\telse cacheEntry.callbacks.push(callback);\n\t\t\treturn;\n\t\t}\n\t\t/** @type {CacheEntry} */\n\t\tconst newCacheEntry = {\n\t\t\tresult: undefined,\n\t\t\terror: undefined,\n\t\t\tcallbacks: undefined\n\t\t};\n\t\tcache.set(arg, newCacheEntry);\n\t\tfn(arg, (err, result) => {\n\t\t\tif (err) newCacheEntry.error = err;\n\t\t\telse newCacheEntry.result = result;\n\t\t\tconst callbacks = newCacheEntry.callbacks;\n\t\t\tnewCacheEntry.callbacks = undefined;\n\t\t\tcallback(err, result);\n\t\t\tif (callbacks !== undefined) for (const cb of callbacks) cb(err, result);\n\t\t});\n\t};\n\tresultFn.force = (arg, callback) => {\n\t\tconst cacheEntry = cache.get(arg);\n\t\tif (cacheEntry !== undefined && cacheEntry.force) {\n\t\t\tif (cacheEntry.result !== undefined)\n\t\t\t\treturn callback(null, cacheEntry.result);\n\t\t\tif (cacheEntry.error !== undefined) return callback(cacheEntry.error);\n\t\t\tif (cacheEntry.callbacks === undefined) cacheEntry.callbacks = [callback];\n\t\t\telse cacheEntry.callbacks.push(callback);\n\t\t\treturn;\n\t\t}\n\t\t/** @type {CacheEntry} */\n\t\tconst newCacheEntry = {\n\t\t\tresult: undefined,\n\t\t\terror: undefined,\n\t\t\tcallbacks: undefined,\n\t\t\tforce: true\n\t\t};\n\t\tcache.set(arg, newCacheEntry);\n\t\tforceFn(arg, (err, result) => {\n\t\t\tif (err) newCacheEntry.error = err;\n\t\t\telse newCacheEntry.result = result;\n\t\t\tconst callbacks = newCacheEntry.callbacks;\n\t\t\tnewCacheEntry.callbacks = undefined;\n\t\t\tcallback(err, result);\n\t\t\tif (callbacks !== undefined) for (const cb of callbacks) cb(err, result);\n\t\t});\n\t};\n\treturn resultFn;\n};\n\nclass HttpUriPlugin {\n\t/**\n\t * @param {HttpUriPluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\t\tthis._lockfileLocation = options.lockfileLocation;\n\t\tthis._cacheLocation = options.cacheLocation;\n\t\tthis._upgrade = options.upgrade;\n\t\tthis._frozen = options.frozen;\n\t\tthis._allowedUris = options.allowedUris;\n\t\tthis._proxy = options.proxy;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst proxy =\n\t\t\tthis._proxy || process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n\t\tconst schemes = [\n\t\t\t{\n\t\t\t\tscheme: \"http\",\n\t\t\t\tfetch: proxyFetch(getHttp(), proxy)\n\t\t\t},\n\t\t\t{\n\t\t\t\tscheme: \"https\",\n\t\t\t\tfetch: proxyFetch(getHttps(), proxy)\n\t\t\t}\n\t\t];\n\t\tlet lockfileCache;\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"HttpUriPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst intermediateFs = compiler.intermediateFileSystem;\n\t\t\t\tconst fs = compilation.inputFileSystem;\n\t\t\t\tconst cache = compilation.getCache(\"webpack.HttpUriPlugin\");\n\t\t\t\tconst logger = compilation.getLogger(\"webpack.HttpUriPlugin\");\n\t\t\t\tconst lockfileLocation =\n\t\t\t\t\tthis._lockfileLocation ||\n\t\t\t\t\tjoin(\n\t\t\t\t\t\tintermediateFs,\n\t\t\t\t\t\tcompiler.context,\n\t\t\t\t\t\tcompiler.name\n\t\t\t\t\t\t\t? `${toSafePath(compiler.name)}.webpack.lock`\n\t\t\t\t\t\t\t: \"webpack.lock\"\n\t\t\t\t\t);\n\t\t\t\tconst cacheLocation =\n\t\t\t\t\tthis._cacheLocation !== undefined\n\t\t\t\t\t\t? this._cacheLocation\n\t\t\t\t\t\t: lockfileLocation + \".data\";\n\t\t\t\tconst upgrade = this._upgrade || false;\n\t\t\t\tconst frozen = this._frozen || false;\n\t\t\t\tconst hashFunction = \"sha512\";\n\t\t\t\tconst hashDigest = \"hex\";\n\t\t\t\tconst hashDigestLength = 20;\n\t\t\t\tconst allowedUris = this._allowedUris;\n\n\t\t\t\tlet warnedAboutEol = false;\n\n\t\t\t\tconst cacheKeyCache = new Map();\n\t\t\t\t/**\n\t\t\t\t * @param {string} url the url\n\t\t\t\t * @returns {string} the key\n\t\t\t\t */\n\t\t\t\tconst getCacheKey = url => {\n\t\t\t\t\tconst cachedResult = cacheKeyCache.get(url);\n\t\t\t\t\tif (cachedResult !== undefined) return cachedResult;\n\t\t\t\t\tconst result = _getCacheKey(url);\n\t\t\t\t\tcacheKeyCache.set(url, result);\n\t\t\t\t\treturn result;\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * @param {string} url the url\n\t\t\t\t * @returns {string} the key\n\t\t\t\t */\n\t\t\t\tconst _getCacheKey = url => {\n\t\t\t\t\tconst parsedUrl = new URL(url);\n\t\t\t\t\tconst folder = toSafePath(parsedUrl.origin);\n\t\t\t\t\tconst name = toSafePath(parsedUrl.pathname);\n\t\t\t\t\tconst query = toSafePath(parsedUrl.search);\n\t\t\t\t\tlet ext = extname(name);\n\t\t\t\t\tif (ext.length > 20) ext = \"\";\n\t\t\t\t\tconst basename = ext ? name.slice(0, -ext.length) : name;\n\t\t\t\t\tconst hash = createHash(hashFunction);\n\t\t\t\t\thash.update(url);\n\t\t\t\t\tconst digest = hash.digest(hashDigest).slice(0, hashDigestLength);\n\t\t\t\t\treturn `${folder.slice(-50)}/${`${basename}${\n\t\t\t\t\t\tquery ? `_${query}` : \"\"\n\t\t\t\t\t}`.slice(0, 150)}_${digest}${ext}`;\n\t\t\t\t};\n\n\t\t\t\tconst getLockfile = cachedWithoutKey(\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {function((Error | null)=, Lockfile=): void} callback callback\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tcallback => {\n\t\t\t\t\t\tconst readLockfile = () => {\n\t\t\t\t\t\t\tintermediateFs.readFile(lockfileLocation, (err, buffer) => {\n\t\t\t\t\t\t\t\tif (err && err.code !== \"ENOENT\") {\n\t\t\t\t\t\t\t\t\tcompilation.missingDependencies.add(lockfileLocation);\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcompilation.fileDependencies.add(lockfileLocation);\n\t\t\t\t\t\t\t\tcompilation.fileSystemInfo.createSnapshot(\n\t\t\t\t\t\t\t\t\tcompiler.fsStartTime,\n\t\t\t\t\t\t\t\t\tbuffer ? [lockfileLocation] : [],\n\t\t\t\t\t\t\t\t\t[],\n\t\t\t\t\t\t\t\t\tbuffer ? [] : [lockfileLocation],\n\t\t\t\t\t\t\t\t\t{ timestamp: true },\n\t\t\t\t\t\t\t\t\t(err, snapshot) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\tconst lockfile = buffer\n\t\t\t\t\t\t\t\t\t\t\t? Lockfile.parse(buffer.toString(\"utf-8\"))\n\t\t\t\t\t\t\t\t\t\t\t: new Lockfile();\n\t\t\t\t\t\t\t\t\t\tlockfileCache = {\n\t\t\t\t\t\t\t\t\t\t\tlockfile,\n\t\t\t\t\t\t\t\t\t\t\tsnapshot\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tcallback(null, lockfile);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (lockfileCache) {\n\t\t\t\t\t\t\tcompilation.fileSystemInfo.checkSnapshotValid(\n\t\t\t\t\t\t\t\tlockfileCache.snapshot,\n\t\t\t\t\t\t\t\t(err, valid) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\tif (!valid) return readLockfile();\n\t\t\t\t\t\t\t\t\tcallback(null, lockfileCache.lockfile);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treadLockfile();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\t/** @type {Map<string, LockfileEntry | \"ignore\" | \"no-cache\"> | undefined} */\n\t\t\t\tlet lockfileUpdates = undefined;\n\t\t\t\tconst storeLockEntry = (lockfile, url, entry) => {\n\t\t\t\t\tconst oldEntry = lockfile.entries.get(url);\n\t\t\t\t\tif (lockfileUpdates === undefined) lockfileUpdates = new Map();\n\t\t\t\t\tlockfileUpdates.set(url, entry);\n\t\t\t\t\tlockfile.entries.set(url, entry);\n\t\t\t\t\tif (!oldEntry) {\n\t\t\t\t\t\tlogger.log(`${url} added to lockfile`);\n\t\t\t\t\t} else if (typeof oldEntry === \"string\") {\n\t\t\t\t\t\tif (typeof entry === \"string\") {\n\t\t\t\t\t\t\tlogger.log(`${url} updated in lockfile: ${oldEntry} -> ${entry}`);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t`${url} updated in lockfile: ${oldEntry} -> ${entry.resolved}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (typeof entry === \"string\") {\n\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t`${url} updated in lockfile: ${oldEntry.resolved} -> ${entry}`\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (oldEntry.resolved !== entry.resolved) {\n\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t`${url} updated in lockfile: ${oldEntry.resolved} -> ${entry.resolved}`\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (oldEntry.integrity !== entry.integrity) {\n\t\t\t\t\t\tlogger.log(`${url} updated in lockfile: content changed`);\n\t\t\t\t\t} else if (oldEntry.contentType !== entry.contentType) {\n\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t`${url} updated in lockfile: ${oldEntry.contentType} -> ${entry.contentType}`\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.log(`${url} updated in lockfile`);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tconst storeResult = (lockfile, url, result, callback) => {\n\t\t\t\t\tif (result.storeLock) {\n\t\t\t\t\t\tstoreLockEntry(lockfile, url, result.entry);\n\t\t\t\t\t\tif (!cacheLocation || !result.content)\n\t\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t\tconst key = getCacheKey(result.entry.resolved);\n\t\t\t\t\t\tconst filePath = join(intermediateFs, cacheLocation, key);\n\t\t\t\t\t\tmkdirp(intermediateFs, dirname(intermediateFs, filePath), err => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tintermediateFs.writeFile(filePath, result.content, err => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstoreLockEntry(lockfile, url, \"no-cache\");\n\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tfor (const { scheme, fetch } of schemes) {\n\t\t\t\t\t/**\n\t\t\t\t\t *\n\t\t\t\t\t * @param {string} url URL\n\t\t\t\t\t * @param {string} integrity integrity\n\t\t\t\t\t * @param {function((Error | null)=, { entry: LockfileEntry, content: Buffer, storeLock: boolean }=): void} callback callback\n\t\t\t\t\t */\n\t\t\t\t\tconst resolveContent = (url, integrity, callback) => {\n\t\t\t\t\t\tconst handleResult = (err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tif (\"location\" in result) {\n\t\t\t\t\t\t\t\treturn resolveContent(\n\t\t\t\t\t\t\t\t\tresult.location,\n\t\t\t\t\t\t\t\t\tintegrity,\n\t\t\t\t\t\t\t\t\t(err, innerResult) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\tcallback(null, {\n\t\t\t\t\t\t\t\t\t\t\tentry: innerResult.entry,\n\t\t\t\t\t\t\t\t\t\t\tcontent: innerResult.content,\n\t\t\t\t\t\t\t\t\t\t\tstoreLock: innerResult.storeLock && result.storeLock\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t!result.fresh &&\n\t\t\t\t\t\t\t\t\tintegrity &&\n\t\t\t\t\t\t\t\t\tresult.entry.integrity !== integrity &&\n\t\t\t\t\t\t\t\t\t!verifyIntegrity(result.content, integrity)\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\treturn fetchContent.force(url, handleResult);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\tentry: result.entry,\n\t\t\t\t\t\t\t\t\tcontent: result.content,\n\t\t\t\t\t\t\t\t\tstoreLock: result.storeLock\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tfetchContent(url, handleResult);\n\t\t\t\t\t};\n\n\t\t\t\t\t/** @typedef {{ storeCache: boolean, storeLock: boolean, validUntil: number, etag: string | undefined, fresh: boolean }} FetchResultMeta */\n\t\t\t\t\t/** @typedef {FetchResultMeta & { location: string }} RedirectFetchResult */\n\t\t\t\t\t/** @typedef {FetchResultMeta & { entry: LockfileEntry, content: Buffer }} ContentFetchResult */\n\t\t\t\t\t/** @typedef {RedirectFetchResult | ContentFetchResult} FetchResult */\n\n\t\t\t\t\t/**\n\t\t\t\t\t * @param {string} url URL\n\t\t\t\t\t * @param {FetchResult | RedirectFetchResult} cachedResult result from cache\n\t\t\t\t\t * @param {function((Error | null)=, FetchResult=): void} callback callback\n\t\t\t\t\t * @returns {void}\n\t\t\t\t\t */\n\t\t\t\t\tconst fetchContentRaw = (url, cachedResult, callback) => {\n\t\t\t\t\t\tconst requestTime = Date.now();\n\t\t\t\t\t\tfetch(\n\t\t\t\t\t\t\tnew URL(url),\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t\t\"accept-encoding\": \"gzip, deflate, br\",\n\t\t\t\t\t\t\t\t\t\"user-agent\": \"webpack\",\n\t\t\t\t\t\t\t\t\t\"if-none-match\": cachedResult\n\t\t\t\t\t\t\t\t\t\t? cachedResult.etag || null\n\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tres => {\n\t\t\t\t\t\t\t\tconst etag = res.headers[\"etag\"];\n\t\t\t\t\t\t\t\tconst location = res.headers[\"location\"];\n\t\t\t\t\t\t\t\tconst cacheControl = res.headers[\"cache-control\"];\n\t\t\t\t\t\t\t\tconst { storeLock, storeCache, validUntil } = parseCacheControl(\n\t\t\t\t\t\t\t\t\tcacheControl,\n\t\t\t\t\t\t\t\t\trequestTime\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * @param {Partial<Pick<FetchResultMeta, \"fresh\">> & (Pick<RedirectFetchResult, \"location\"> | Pick<ContentFetchResult, \"content\" | \"entry\">)} partialResult result\n\t\t\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tconst finishWith = partialResult => {\n\t\t\t\t\t\t\t\t\tif (\"location\" in partialResult) {\n\t\t\t\t\t\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`GET ${url} [${res.statusCode}] -> ${partialResult.location}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t\t\t\t\t\t`GET ${url} [${res.statusCode}] ${Math.ceil(\n\t\t\t\t\t\t\t\t\t\t\t\tpartialResult.content.length / 1024\n\t\t\t\t\t\t\t\t\t\t\t)} kB${!storeLock ? \" no-cache\" : \"\"}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconst result = {\n\t\t\t\t\t\t\t\t\t\t...partialResult,\n\t\t\t\t\t\t\t\t\t\tfresh: true,\n\t\t\t\t\t\t\t\t\t\tstoreLock,\n\t\t\t\t\t\t\t\t\t\tstoreCache,\n\t\t\t\t\t\t\t\t\t\tvalidUntil,\n\t\t\t\t\t\t\t\t\t\tetag\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif (!storeCache) {\n\t\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t\t`${url} can't be stored in cache, due to Cache-Control header: ${cacheControl}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcache.store(\n\t\t\t\t\t\t\t\t\t\turl,\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t...result,\n\t\t\t\t\t\t\t\t\t\t\tfresh: false\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} can't be stored in cache: ${err.message}`\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tcallback(null, result);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tif (res.statusCode === 304) {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tcachedResult.validUntil < validUntil ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.storeLock !== storeLock ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.storeCache !== storeCache ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.etag !== etag\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\treturn finishWith(cachedResult);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tlogger.debug(`GET ${url} [${res.statusCode}] (unchanged)`);\n\t\t\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\t\t\t...cachedResult,\n\t\t\t\t\t\t\t\t\t\t\tfresh: true\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tlocation &&\n\t\t\t\t\t\t\t\t\tres.statusCode >= 301 &&\n\t\t\t\t\t\t\t\t\tres.statusCode <= 308\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tconst result = {\n\t\t\t\t\t\t\t\t\t\tlocation: new URL(location, url).href\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t!cachedResult ||\n\t\t\t\t\t\t\t\t\t\t!(\"location\" in cachedResult) ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.location !== result.location ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.validUntil < validUntil ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.storeLock !== storeLock ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.storeCache !== storeCache ||\n\t\t\t\t\t\t\t\t\t\tcachedResult.etag !== etag\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\treturn finishWith(result);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tlogger.debug(`GET ${url} [${res.statusCode}] (unchanged)`);\n\t\t\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\t\t\t...result,\n\t\t\t\t\t\t\t\t\t\t\tfresh: true,\n\t\t\t\t\t\t\t\t\t\t\tstoreLock,\n\t\t\t\t\t\t\t\t\t\t\tstoreCache,\n\t\t\t\t\t\t\t\t\t\t\tvalidUntil,\n\t\t\t\t\t\t\t\t\t\t\tetag\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst contentType = res.headers[\"content-type\"] || \"\";\n\t\t\t\t\t\t\t\tconst bufferArr = [];\n\n\t\t\t\t\t\t\t\tconst contentEncoding = res.headers[\"content-encoding\"];\n\t\t\t\t\t\t\t\tlet stream = res;\n\t\t\t\t\t\t\t\tif (contentEncoding === \"gzip\") {\n\t\t\t\t\t\t\t\t\tstream = stream.pipe(createGunzip());\n\t\t\t\t\t\t\t\t} else if (contentEncoding === \"br\") {\n\t\t\t\t\t\t\t\t\tstream = stream.pipe(createBrotliDecompress());\n\t\t\t\t\t\t\t\t} else if (contentEncoding === \"deflate\") {\n\t\t\t\t\t\t\t\t\tstream = stream.pipe(createInflate());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tstream.on(\"data\", chunk => {\n\t\t\t\t\t\t\t\t\tbufferArr.push(chunk);\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\tstream.on(\"end\", () => {\n\t\t\t\t\t\t\t\t\tif (!res.complete) {\n\t\t\t\t\t\t\t\t\t\tlogger.log(`GET ${url} [${res.statusCode}] (terminated)`);\n\t\t\t\t\t\t\t\t\t\treturn callback(new Error(`${url} request was terminated`));\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tconst content = Buffer.concat(bufferArr);\n\n\t\t\t\t\t\t\t\t\tif (res.statusCode !== 200) {\n\t\t\t\t\t\t\t\t\t\tlogger.log(`GET ${url} [${res.statusCode}]`);\n\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t`${url} request status code = ${\n\t\t\t\t\t\t\t\t\t\t\t\t\tres.statusCode\n\t\t\t\t\t\t\t\t\t\t\t\t}\\n${content.toString(\"utf-8\")}`\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tconst integrity = computeIntegrity(content);\n\t\t\t\t\t\t\t\t\tconst entry = { resolved: url, integrity, contentType };\n\n\t\t\t\t\t\t\t\t\tfinishWith({\n\t\t\t\t\t\t\t\t\t\tentry,\n\t\t\t\t\t\t\t\t\t\tcontent\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t).on(\"error\", err => {\n\t\t\t\t\t\t\tlogger.log(`GET ${url} (error)`);\n\t\t\t\t\t\t\terr.message += `\\nwhile fetching ${url}`;\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tconst fetchContent = cachedWithKey(\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * @param {string} url URL\n\t\t\t\t\t\t * @param {function((Error | null)=, { validUntil: number, etag?: string, entry: LockfileEntry, content: Buffer, fresh: boolean } | { validUntil: number, etag?: string, location: string, fresh: boolean }=): void} callback callback\n\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t */ (url, callback) => {\n\t\t\t\t\t\t\tcache.get(url, null, (err, cachedResult) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tif (cachedResult) {\n\t\t\t\t\t\t\t\t\tconst isValid = cachedResult.validUntil >= Date.now();\n\t\t\t\t\t\t\t\t\tif (isValid) return callback(null, cachedResult);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfetchContentRaw(url, cachedResult, callback);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t},\n\t\t\t\t\t\t(url, callback) => fetchContentRaw(url, undefined, callback)\n\t\t\t\t\t);\n\n\t\t\t\t\tconst isAllowed = uri => {\n\t\t\t\t\t\tfor (const allowed of allowedUris) {\n\t\t\t\t\t\t\tif (typeof allowed === \"string\") {\n\t\t\t\t\t\t\t\tif (uri.startsWith(allowed)) return true;\n\t\t\t\t\t\t\t} else if (typeof allowed === \"function\") {\n\t\t\t\t\t\t\t\tif (allowed(uri)) return true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (allowed.test(uri)) return true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\n\t\t\t\t\tconst getInfo = cachedWithKey(\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * @param {string} url the url\n\t\t\t\t\t\t * @param {function((Error | null)=, { entry: LockfileEntry, content: Buffer }=): void} callback callback\n\t\t\t\t\t\t * @returns {void}\n\t\t\t\t\t\t */\n\t\t\t\t\t\t(url, callback) => {\n\t\t\t\t\t\t\tif (!isAllowed(url)) {\n\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t`${url} doesn't match the allowedUris policy. These URIs are allowed:\\n${allowedUris\n\t\t\t\t\t\t\t\t\t\t\t.map(uri => ` - ${uri}`)\n\t\t\t\t\t\t\t\t\t\t\t.join(\"\\n\")}`\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tgetLockfile((err, lockfile) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tconst entryOrString = lockfile.entries.get(url);\n\t\t\t\t\t\t\t\tif (!entryOrString) {\n\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t`${url} has no lockfile entry and lockfile is frozen`\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tresolveContent(url, null, (err, result) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\tstoreResult(lockfile, url, result, callback);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (typeof entryOrString === \"string\") {\n\t\t\t\t\t\t\t\t\tconst entryTag = entryOrString;\n\t\t\t\t\t\t\t\t\tresolveContent(url, null, (err, result) => {\n\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\tif (!result.storeLock || entryTag === \"ignore\")\n\t\t\t\t\t\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} used to have ${entryTag} lockfile entry and has content now, but lockfile is frozen`\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!upgrade) {\n\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} used to have ${entryTag} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tstoreResult(lockfile, url, result, callback);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tlet entry = entryOrString;\n\t\t\t\t\t\t\t\tconst doFetch = lockedContent => {\n\t\t\t\t\t\t\t\t\tresolveContent(url, entry.integrity, (err, result) => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\tif (lockedContent) {\n\t\t\t\t\t\t\t\t\t\t\t\tlogger.warn(\n\t\t\t\t\t\t\t\t\t\t\t\t\t`Upgrade request to ${url} failed: ${err.message}`\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tlogger.debug(err.stack);\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(null, {\n\t\t\t\t\t\t\t\t\t\t\t\t\tentry,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontent: lockedContent\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!result.storeLock) {\n\t\t\t\t\t\t\t\t\t\t\t// When the lockfile entry should be no-cache\n\t\t\t\t\t\t\t\t\t\t\t// we need to update the lockfile\n\t\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} has a lockfile entry and is no-cache now, but lockfile is frozen\\nLockfile: ${entryToString(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tentry\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tstoreResult(lockfile, url, result, callback);\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!areLockfileEntriesEqual(result.entry, entry)) {\n\t\t\t\t\t\t\t\t\t\t\t// When the lockfile entry is outdated\n\t\t\t\t\t\t\t\t\t\t\t// we need to update the lockfile\n\t\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} has an outdated lockfile entry, but lockfile is frozen\\nLockfile: ${entryToString(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tentry\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\\nExpected: ${entryToString(result.entry)}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tstoreResult(lockfile, url, result, callback);\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!lockedContent && cacheLocation) {\n\t\t\t\t\t\t\t\t\t\t\t// When the lockfile cache content is missing\n\t\t\t\t\t\t\t\t\t\t\t// we need to update the lockfile\n\t\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${url} is missing content in the lockfile cache, but lockfile is frozen\\nLockfile: ${entryToString(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tentry\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tstoreResult(lockfile, url, result, callback);\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn callback(null, result);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tif (cacheLocation) {\n\t\t\t\t\t\t\t\t\t// When there is a lockfile cache\n\t\t\t\t\t\t\t\t\t// we read the content from there\n\t\t\t\t\t\t\t\t\tconst key = getCacheKey(entry.resolved);\n\t\t\t\t\t\t\t\t\tconst filePath = join(intermediateFs, cacheLocation, key);\n\t\t\t\t\t\t\t\t\tfs.readFile(filePath, (err, result) => {\n\t\t\t\t\t\t\t\t\t\tconst content = /** @type {Buffer} */ (result);\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\tif (err.code === \"ENOENT\") return doFetch();\n\t\t\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tconst continueWithCachedContent = result => {\n\t\t\t\t\t\t\t\t\t\t\tif (!upgrade) {\n\t\t\t\t\t\t\t\t\t\t\t\t// When not in upgrade mode, we accept the result from the lockfile cache\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(null, { entry, content });\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\treturn doFetch(content);\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\tif (!verifyIntegrity(content, entry.integrity)) {\n\t\t\t\t\t\t\t\t\t\t\tlet contentWithChangedEol;\n\t\t\t\t\t\t\t\t\t\t\tlet isEolChanged = false;\n\t\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\tcontentWithChangedEol = Buffer.from(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontent.toString(\"utf-8\").replace(/\\r\\n/g, \"\\n\")\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\tisEolChanged = verifyIntegrity(\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontentWithChangedEol,\n\t\t\t\t\t\t\t\t\t\t\t\t\tentry.integrity\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tif (isEolChanged) {\n\t\t\t\t\t\t\t\t\t\t\t\tif (!warnedAboutEol) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst explainer = `Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.error(explainer);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.warn(explainer);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\twarnedAboutEol = true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tif (!frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// \"fix\" the end of line sequence of the lockfile content\n\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.log(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${filePath} fixed end of line sequence (\\\\r\\\\n instead of \\\\n).`\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\tintermediateFs.writeFile(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfilePath,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontentWithChangedEol,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontinueWithCachedContent(contentWithChangedEol);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tif (frozen) {\n\t\t\t\t\t\t\t\t\t\t\t\treturn callback(\n\t\t\t\t\t\t\t\t\t\t\t\t\tnew Error(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tentry.resolved\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} integrity mismatch, expected content with integrity ${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tentry.integrity\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} but got ${computeIntegrity(content)}.\nLockfile corrupted (${\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisEolChanged\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? \"end of line sequence was unexpectedly changed\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: \"incorrectly merged? changed by other tools?\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}).\nRun build with un-frozen lockfile to automatically fix lockfile.`\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t// \"fix\" the lockfile entry to the correct integrity\n\t\t\t\t\t\t\t\t\t\t\t\t// the content has priority over the integrity value\n\t\t\t\t\t\t\t\t\t\t\t\tentry = {\n\t\t\t\t\t\t\t\t\t\t\t\t\t...entry,\n\t\t\t\t\t\t\t\t\t\t\t\t\tintegrity: computeIntegrity(content)\n\t\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t\t\tstoreLockEntry(lockfile, url, entry);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcontinueWithCachedContent(result);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tdoFetch();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\tconst respondWithUrlModule = (url, resourceData, callback) => {\n\t\t\t\t\t\tgetInfo(url.href, (err, result) => {\n\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\tresourceData.resource = url.href;\n\t\t\t\t\t\t\tresourceData.path = url.origin + url.pathname;\n\t\t\t\t\t\t\tresourceData.query = url.search;\n\t\t\t\t\t\t\tresourceData.fragment = url.hash;\n\t\t\t\t\t\t\tresourceData.context = new URL(\n\t\t\t\t\t\t\t\t\".\",\n\t\t\t\t\t\t\t\tresult.entry.resolved\n\t\t\t\t\t\t\t).href.slice(0, -1);\n\t\t\t\t\t\t\tresourceData.data.mimetype = result.entry.contentType;\n\t\t\t\t\t\t\tcallback(null, true);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\t\t\t\t\tnormalModuleFactory.hooks.resolveForScheme\n\t\t\t\t\t\t.for(scheme)\n\t\t\t\t\t\t.tapAsync(\n\t\t\t\t\t\t\t\"HttpUriPlugin\",\n\t\t\t\t\t\t\t(resourceData, resolveData, callback) => {\n\t\t\t\t\t\t\t\trespondWithUrlModule(\n\t\t\t\t\t\t\t\t\tnew URL(resourceData.resource),\n\t\t\t\t\t\t\t\t\tresourceData,\n\t\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tnormalModuleFactory.hooks.resolveInScheme\n\t\t\t\t\t\t.for(scheme)\n\t\t\t\t\t\t.tapAsync(\"HttpUriPlugin\", (resourceData, data, callback) => {\n\t\t\t\t\t\t\t// Only handle relative urls (./xxx, ../xxx, /xxx, //xxx)\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tdata.dependencyType !== \"url\" &&\n\t\t\t\t\t\t\t\t!/^\\.{0,2}\\//.test(resourceData.resource)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trespondWithUrlModule(\n\t\t\t\t\t\t\t\tnew URL(resourceData.resource, data.context + \"/\"),\n\t\t\t\t\t\t\t\tresourceData,\n\t\t\t\t\t\t\t\tcallback\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t});\n\t\t\t\t\tconst hooks = NormalModule.getCompilationHooks(compilation);\n\t\t\t\t\thooks.readResourceForScheme\n\t\t\t\t\t\t.for(scheme)\n\t\t\t\t\t\t.tapAsync(\"HttpUriPlugin\", (resource, module, callback) => {\n\t\t\t\t\t\t\treturn getInfo(resource, (err, result) => {\n\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\tmodule.buildInfo.resourceIntegrity = result.entry.integrity;\n\t\t\t\t\t\t\t\tcallback(null, result.content);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\thooks.needBuild.tapAsync(\n\t\t\t\t\t\t\"HttpUriPlugin\",\n\t\t\t\t\t\t(module, context, callback) => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tmodule.resource &&\n\t\t\t\t\t\t\t\tmodule.resource.startsWith(`${scheme}://`)\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tgetInfo(module.resource, (err, result) => {\n\t\t\t\t\t\t\t\t\tif (err) return callback(err);\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\tresult.entry.integrity !==\n\t\t\t\t\t\t\t\t\t\tmodule.buildInfo.resourceIntegrity\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\treturn callback(null, true);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn callback();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tcompilation.hooks.finishModules.tapAsync(\n\t\t\t\t\t\"HttpUriPlugin\",\n\t\t\t\t\t(modules, callback) => {\n\t\t\t\t\t\tif (!lockfileUpdates) return callback();\n\t\t\t\t\t\tconst ext = extname(lockfileLocation);\n\t\t\t\t\t\tconst tempFile = join(\n\t\t\t\t\t\t\tintermediateFs,\n\t\t\t\t\t\t\tdirname(intermediateFs, lockfileLocation),\n\t\t\t\t\t\t\t`.${basename(lockfileLocation, ext)}.${\n\t\t\t\t\t\t\t\t(Math.random() * 10000) | 0\n\t\t\t\t\t\t\t}${ext}`\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tconst writeDone = () => {\n\t\t\t\t\t\t\tconst nextOperation = inProgressWrite.shift();\n\t\t\t\t\t\t\tif (nextOperation) {\n\t\t\t\t\t\t\t\tnextOperation();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinProgressWrite = undefined;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tconst runWrite = () => {\n\t\t\t\t\t\t\tintermediateFs.readFile(lockfileLocation, (err, buffer) => {\n\t\t\t\t\t\t\t\tif (err && err.code !== \"ENOENT\") {\n\t\t\t\t\t\t\t\t\twriteDone();\n\t\t\t\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst lockfile = buffer\n\t\t\t\t\t\t\t\t\t? Lockfile.parse(buffer.toString(\"utf-8\"))\n\t\t\t\t\t\t\t\t\t: new Lockfile();\n\t\t\t\t\t\t\t\tfor (const [key, value] of lockfileUpdates) {\n\t\t\t\t\t\t\t\t\tlockfile.entries.set(key, value);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tintermediateFs.writeFile(tempFile, lockfile.toString(), err => {\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\twriteDone();\n\t\t\t\t\t\t\t\t\t\treturn intermediateFs.unlink(tempFile, () => callback(err));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tintermediateFs.rename(tempFile, lockfileLocation, err => {\n\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\twriteDone();\n\t\t\t\t\t\t\t\t\t\t\treturn intermediateFs.unlink(tempFile, () =>\n\t\t\t\t\t\t\t\t\t\t\t\tcallback(err)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\twriteDone();\n\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (inProgressWrite) {\n\t\t\t\t\t\t\tinProgressWrite.push(runWrite);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinProgressWrite = [];\n\t\t\t\t\t\t\trunWrite();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = HttpUriPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/schemes/HttpUriPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/ArraySerializer.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/ArraySerializer.js ***! \*******************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass ArraySerializer {\n\tserialize(array, { write }) {\n\t\twrite(array.length);\n\t\tfor (const item of array) write(item);\n\t}\n\tdeserialize({ read }) {\n\t\tconst length = read();\n\t\tconst array = [];\n\t\tfor (let i = 0; i < length; i++) {\n\t\t\tarray.push(read());\n\t\t}\n\t\treturn array;\n\t}\n}\n\nmodule.exports = ArraySerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/ArraySerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/BinaryMiddleware.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/BinaryMiddleware.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst SerializerMiddleware = __webpack_require__(/*! ./SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\");\n\n/** @typedef {import(\"./types\").BufferSerializableType} BufferSerializableType */\n/** @typedef {import(\"./types\").PrimitiveSerializableType} PrimitiveSerializableType */\n\n/*\nFormat:\n\nFile -> Section*\n\nSection -> NullsSection |\n\t\t\t\t\t BooleansSection |\n\t\t\t\t\t F64NumbersSection |\n\t\t\t\t\t I32NumbersSection |\n\t\t\t\t\t I8NumbersSection |\n\t\t\t\t\t ShortStringSection |\n\t\t\t\t\t StringSection |\n\t\t\t\t\t BufferSection |\n\t\t\t\t\t NopSection\n\n\n\nNullsSection ->\n\tNullHeaderByte | Null2HeaderByte | Null3HeaderByte |\n\tNulls8HeaderByte 0xnn (n:count - 4) |\n\tNulls32HeaderByte n:ui32 (n:count - 260) |\nBooleansSection -> TrueHeaderByte | FalseHeaderByte | BooleansSectionHeaderByte BooleansCountAndBitsByte\nF64NumbersSection -> F64NumbersSectionHeaderByte f64*\nI32NumbersSection -> I32NumbersSectionHeaderByte i32*\nI8NumbersSection -> I8NumbersSectionHeaderByte i8*\nShortStringSection -> ShortStringSectionHeaderByte ascii-byte*\nStringSection -> StringSectionHeaderByte i32:length utf8-byte*\nBufferSection -> BufferSectionHeaderByte i32:length byte*\nNopSection --> NopSectionHeaderByte\n\nShortStringSectionHeaderByte -> 0b1nnn_nnnn (n:length)\n\nF64NumbersSectionHeaderByte -> 0b001n_nnnn (n:count - 1)\nI32NumbersSectionHeaderByte -> 0b010n_nnnn (n:count - 1)\nI8NumbersSectionHeaderByte -> 0b011n_nnnn (n:count - 1)\n\nNullsSectionHeaderByte -> 0b0001_nnnn (n:count - 1)\nBooleansCountAndBitsByte ->\n\t0b0000_1xxx (count = 3) |\n\t0b0001_xxxx (count = 4) |\n\t0b001x_xxxx (count = 5) |\n\t0b01xx_xxxx (count = 6) |\n\t0b1nnn_nnnn (n:count - 7, 7 <= count <= 133)\n\t0xff n:ui32 (n:count, 134 <= count < 2^32)\n\nStringSectionHeaderByte -> 0b0000_1110\nBufferSectionHeaderByte -> 0b0000_1111\nNopSectionHeaderByte -> 0b0000_1011\nFalseHeaderByte -> 0b0000_1100\nTrueHeaderByte -> 0b0000_1101\n\nRawNumber -> n (n <= 10)\n\n*/\n\nconst LAZY_HEADER = 0x0b;\nconst TRUE_HEADER = 0x0c;\nconst FALSE_HEADER = 0x0d;\nconst BOOLEANS_HEADER = 0x0e;\nconst NULL_HEADER = 0x10;\nconst NULL2_HEADER = 0x11;\nconst NULL3_HEADER = 0x12;\nconst NULLS8_HEADER = 0x13;\nconst NULLS32_HEADER = 0x14;\nconst NULL_AND_I8_HEADER = 0x15;\nconst NULL_AND_I32_HEADER = 0x16;\nconst NULL_AND_TRUE_HEADER = 0x17;\nconst NULL_AND_FALSE_HEADER = 0x18;\nconst STRING_HEADER = 0x1e;\nconst BUFFER_HEADER = 0x1f;\nconst I8_HEADER = 0x60;\nconst I32_HEADER = 0x40;\nconst F64_HEADER = 0x20;\nconst SHORT_STRING_HEADER = 0x80;\n\n/** Uplift high-order bits */\nconst NUMBERS_HEADER_MASK = 0xe0;\nconst NUMBERS_COUNT_MASK = 0x1f; // 0b0001_1111\nconst SHORT_STRING_LENGTH_MASK = 0x7f; // 0b0111_1111\n\nconst HEADER_SIZE = 1;\nconst I8_SIZE = 1;\nconst I32_SIZE = 4;\nconst F64_SIZE = 8;\n\nconst MEASURE_START_OPERATION = Symbol(\"MEASURE_START_OPERATION\");\nconst MEASURE_END_OPERATION = Symbol(\"MEASURE_END_OPERATION\");\n\n/** @typedef {typeof MEASURE_START_OPERATION} MEASURE_START_OPERATION_TYPE */\n/** @typedef {typeof MEASURE_END_OPERATION} MEASURE_END_OPERATION_TYPE */\n\nconst identifyNumber = n => {\n\tif (n === (n | 0)) {\n\t\tif (n <= 127 && n >= -128) return 0;\n\t\tif (n <= 2147483647 && n >= -2147483648) return 1;\n\t}\n\treturn 2;\n};\n\n/**\n * @typedef {PrimitiveSerializableType[]} DeserializedType\n * @typedef {BufferSerializableType[]} SerializedType\n * @extends {SerializerMiddleware<DeserializedType, SerializedType>}\n */\nclass BinaryMiddleware extends SerializerMiddleware {\n\t/**\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @returns {SerializedType|Promise<SerializedType>} serialized data\n\t */\n\tserialize(data, context) {\n\t\treturn this._serialize(data, context);\n\t}\n\n\t_serializeLazy(fn, context) {\n\t\treturn SerializerMiddleware.serializeLazy(fn, data =>\n\t\t\tthis._serialize(data, context)\n\t\t);\n\t}\n\n\t/**\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @param {{ leftOverBuffer: Buffer | null, allocationSize: number, increaseCounter: number }} allocationScope allocation scope\n\t * @returns {SerializedType} serialized data\n\t */\n\t_serialize(\n\t\tdata,\n\t\tcontext,\n\t\tallocationScope = {\n\t\t\tallocationSize: 1024,\n\t\t\tincreaseCounter: 0,\n\t\t\tleftOverBuffer: null\n\t\t}\n\t) {\n\t\t/** @type {Buffer} */\n\t\tlet leftOverBuffer = null;\n\t\t/** @type {BufferSerializableType[]} */\n\t\tlet buffers = [];\n\t\t/** @type {Buffer} */\n\t\tlet currentBuffer = allocationScope ? allocationScope.leftOverBuffer : null;\n\t\tallocationScope.leftOverBuffer = null;\n\t\tlet currentPosition = 0;\n\t\tif (currentBuffer === null) {\n\t\t\tcurrentBuffer = Buffer.allocUnsafe(allocationScope.allocationSize);\n\t\t}\n\t\tconst allocate = bytesNeeded => {\n\t\t\tif (currentBuffer !== null) {\n\t\t\t\tif (currentBuffer.length - currentPosition >= bytesNeeded) return;\n\t\t\t\tflush();\n\t\t\t}\n\t\t\tif (leftOverBuffer && leftOverBuffer.length >= bytesNeeded) {\n\t\t\t\tcurrentBuffer = leftOverBuffer;\n\t\t\t\tleftOverBuffer = null;\n\t\t\t} else {\n\t\t\t\tcurrentBuffer = Buffer.allocUnsafe(\n\t\t\t\t\tMath.max(bytesNeeded, allocationScope.allocationSize)\n\t\t\t\t);\n\t\t\t\tif (\n\t\t\t\t\t!(allocationScope.increaseCounter =\n\t\t\t\t\t\t(allocationScope.increaseCounter + 1) % 4) &&\n\t\t\t\t\tallocationScope.allocationSize < 16777216\n\t\t\t\t) {\n\t\t\t\t\tallocationScope.allocationSize = allocationScope.allocationSize << 1;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tconst flush = () => {\n\t\t\tif (currentBuffer !== null) {\n\t\t\t\tif (currentPosition > 0) {\n\t\t\t\t\tbuffers.push(\n\t\t\t\t\t\tBuffer.from(\n\t\t\t\t\t\t\tcurrentBuffer.buffer,\n\t\t\t\t\t\t\tcurrentBuffer.byteOffset,\n\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\t!leftOverBuffer ||\n\t\t\t\t\tleftOverBuffer.length < currentBuffer.length - currentPosition\n\t\t\t\t) {\n\t\t\t\t\tleftOverBuffer = Buffer.from(\n\t\t\t\t\t\tcurrentBuffer.buffer,\n\t\t\t\t\t\tcurrentBuffer.byteOffset + currentPosition,\n\t\t\t\t\t\tcurrentBuffer.byteLength - currentPosition\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tcurrentBuffer = null;\n\t\t\t\tcurrentPosition = 0;\n\t\t\t}\n\t\t};\n\t\tconst writeU8 = byte => {\n\t\t\tcurrentBuffer.writeUInt8(byte, currentPosition++);\n\t\t};\n\t\tconst writeU32 = ui32 => {\n\t\t\tcurrentBuffer.writeUInt32LE(ui32, currentPosition);\n\t\t\tcurrentPosition += 4;\n\t\t};\n\t\tconst measureStack = [];\n\t\tconst measureStart = () => {\n\t\t\tmeasureStack.push(buffers.length, currentPosition);\n\t\t};\n\t\tconst measureEnd = () => {\n\t\t\tconst oldPos = measureStack.pop();\n\t\t\tconst buffersIndex = measureStack.pop();\n\t\t\tlet size = currentPosition - oldPos;\n\t\t\tfor (let i = buffersIndex; i < buffers.length; i++) {\n\t\t\t\tsize += buffers[i].length;\n\t\t\t}\n\t\t\treturn size;\n\t\t};\n\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\tconst thing = data[i];\n\t\t\tswitch (typeof thing) {\n\t\t\t\tcase \"function\": {\n\t\t\t\t\tif (!SerializerMiddleware.isLazy(thing))\n\t\t\t\t\t\tthrow new Error(\"Unexpected function \" + thing);\n\t\t\t\t\t/** @type {SerializedType | (() => SerializedType)} */\n\t\t\t\t\tlet serializedData =\n\t\t\t\t\t\tSerializerMiddleware.getLazySerializedValue(thing);\n\t\t\t\t\tif (serializedData === undefined) {\n\t\t\t\t\t\tif (SerializerMiddleware.isLazy(thing, this)) {\n\t\t\t\t\t\t\tflush();\n\t\t\t\t\t\t\tallocationScope.leftOverBuffer = leftOverBuffer;\n\t\t\t\t\t\t\tconst result =\n\t\t\t\t\t\t\t\t/** @type {(Exclude<PrimitiveSerializableType, Promise<PrimitiveSerializableType>>)[]} */ (\n\t\t\t\t\t\t\t\t\tthing()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tconst data = this._serialize(result, context, allocationScope);\n\t\t\t\t\t\t\tleftOverBuffer = allocationScope.leftOverBuffer;\n\t\t\t\t\t\t\tallocationScope.leftOverBuffer = null;\n\t\t\t\t\t\t\tSerializerMiddleware.setLazySerializedValue(thing, data);\n\t\t\t\t\t\t\tserializedData = data;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tserializedData = this._serializeLazy(thing, context);\n\t\t\t\t\t\t\tflush();\n\t\t\t\t\t\t\tbuffers.push(serializedData);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (typeof serializedData === \"function\") {\n\t\t\t\t\t\t\tflush();\n\t\t\t\t\t\t\tbuffers.push(serializedData);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst lengths = [];\n\t\t\t\t\tfor (const item of serializedData) {\n\t\t\t\t\t\tlet last;\n\t\t\t\t\t\tif (typeof item === \"function\") {\n\t\t\t\t\t\t\tlengths.push(0);\n\t\t\t\t\t\t} else if (item.length === 0) {\n\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t} else if (\n\t\t\t\t\t\t\tlengths.length > 0 &&\n\t\t\t\t\t\t\t(last = lengths[lengths.length - 1]) !== 0\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst remaining = 0xffffffff - last;\n\t\t\t\t\t\t\tif (remaining >= item.length) {\n\t\t\t\t\t\t\t\tlengths[lengths.length - 1] += item.length;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlengths.push(item.length - remaining);\n\t\t\t\t\t\t\t\tlengths[lengths.length - 2] = 0xffffffff;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlengths.push(item.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tallocate(5 + lengths.length * 4);\n\t\t\t\t\twriteU8(LAZY_HEADER);\n\t\t\t\t\twriteU32(lengths.length);\n\t\t\t\t\tfor (const l of lengths) {\n\t\t\t\t\t\twriteU32(l);\n\t\t\t\t\t}\n\t\t\t\t\tflush();\n\t\t\t\t\tfor (const item of serializedData) {\n\t\t\t\t\t\tbuffers.push(item);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"string\": {\n\t\t\t\t\tconst len = Buffer.byteLength(thing);\n\t\t\t\t\tif (len >= 128 || len !== thing.length) {\n\t\t\t\t\t\tallocate(len + HEADER_SIZE + I32_SIZE);\n\t\t\t\t\t\twriteU8(STRING_HEADER);\n\t\t\t\t\t\twriteU32(len);\n\t\t\t\t\t\tcurrentBuffer.write(thing, currentPosition);\n\t\t\t\t\t\tcurrentPosition += len;\n\t\t\t\t\t} else if (len >= 70) {\n\t\t\t\t\t\tallocate(len + HEADER_SIZE);\n\t\t\t\t\t\twriteU8(SHORT_STRING_HEADER | len);\n\n\t\t\t\t\t\tcurrentBuffer.write(thing, currentPosition, \"latin1\");\n\t\t\t\t\t\tcurrentPosition += len;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tallocate(len + HEADER_SIZE);\n\t\t\t\t\t\twriteU8(SHORT_STRING_HEADER | len);\n\n\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\tcurrentBuffer[currentPosition++] = thing.charCodeAt(i);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"number\": {\n\t\t\t\t\tconst type = identifyNumber(thing);\n\t\t\t\t\tif (type === 0 && thing >= 0 && thing <= 10) {\n\t\t\t\t\t\t// shortcut for very small numbers\n\t\t\t\t\t\tallocate(I8_SIZE);\n\t\t\t\t\t\twriteU8(thing);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t/**\n\t\t\t\t\t * amount of numbers to write\n\t\t\t\t\t * @type {number}\n\t\t\t\t\t */\n\t\t\t\t\tlet n = 1;\n\t\t\t\t\tfor (; n < 32 && i + n < data.length; n++) {\n\t\t\t\t\t\tconst item = data[i + n];\n\t\t\t\t\t\tif (typeof item !== \"number\") break;\n\t\t\t\t\t\tif (identifyNumber(item) !== type) break;\n\t\t\t\t\t}\n\t\t\t\t\tswitch (type) {\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I8_SIZE * n);\n\t\t\t\t\t\t\twriteU8(I8_HEADER | (n - 1));\n\t\t\t\t\t\t\twhile (n > 0) {\n\t\t\t\t\t\t\t\tcurrentBuffer.writeInt8(\n\t\t\t\t\t\t\t\t\t/** @type {number} */ (data[i]),\n\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcurrentPosition += I8_SIZE;\n\t\t\t\t\t\t\t\tn--;\n\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE * n);\n\t\t\t\t\t\t\twriteU8(I32_HEADER | (n - 1));\n\t\t\t\t\t\t\twhile (n > 0) {\n\t\t\t\t\t\t\t\tcurrentBuffer.writeInt32LE(\n\t\t\t\t\t\t\t\t\t/** @type {number} */ (data[i]),\n\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcurrentPosition += I32_SIZE;\n\t\t\t\t\t\t\t\tn--;\n\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + F64_SIZE * n);\n\t\t\t\t\t\t\twriteU8(F64_HEADER | (n - 1));\n\t\t\t\t\t\t\twhile (n > 0) {\n\t\t\t\t\t\t\t\tcurrentBuffer.writeDoubleLE(\n\t\t\t\t\t\t\t\t\t/** @type {number} */ (data[i]),\n\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcurrentPosition += F64_SIZE;\n\t\t\t\t\t\t\t\tn--;\n\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\ti--;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"boolean\": {\n\t\t\t\t\tlet lastByte = thing === true ? 1 : 0;\n\t\t\t\t\tconst bytes = [];\n\t\t\t\t\tlet count = 1;\n\t\t\t\t\tlet n;\n\t\t\t\t\tfor (n = 1; n < 0xffffffff && i + n < data.length; n++) {\n\t\t\t\t\t\tconst item = data[i + n];\n\t\t\t\t\t\tif (typeof item !== \"boolean\") break;\n\t\t\t\t\t\tconst pos = count & 0x7;\n\t\t\t\t\t\tif (pos === 0) {\n\t\t\t\t\t\t\tbytes.push(lastByte);\n\t\t\t\t\t\t\tlastByte = item === true ? 1 : 0;\n\t\t\t\t\t\t} else if (item === true) {\n\t\t\t\t\t\t\tlastByte |= 1 << pos;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t\ti += count - 1;\n\t\t\t\t\tif (count === 1) {\n\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\twriteU8(lastByte === 1 ? TRUE_HEADER : FALSE_HEADER);\n\t\t\t\t\t} else if (count === 2) {\n\t\t\t\t\t\tallocate(HEADER_SIZE * 2);\n\t\t\t\t\t\twriteU8(lastByte & 1 ? TRUE_HEADER : FALSE_HEADER);\n\t\t\t\t\t\twriteU8(lastByte & 2 ? TRUE_HEADER : FALSE_HEADER);\n\t\t\t\t\t} else if (count <= 6) {\n\t\t\t\t\t\tallocate(HEADER_SIZE + I8_SIZE);\n\t\t\t\t\t\twriteU8(BOOLEANS_HEADER);\n\t\t\t\t\t\twriteU8((1 << count) | lastByte);\n\t\t\t\t\t} else if (count <= 133) {\n\t\t\t\t\t\tallocate(HEADER_SIZE + I8_SIZE + I8_SIZE * bytes.length + I8_SIZE);\n\t\t\t\t\t\twriteU8(BOOLEANS_HEADER);\n\t\t\t\t\t\twriteU8(0x80 | (count - 7));\n\t\t\t\t\t\tfor (const byte of bytes) writeU8(byte);\n\t\t\t\t\t\twriteU8(lastByte);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tallocate(\n\t\t\t\t\t\t\tHEADER_SIZE +\n\t\t\t\t\t\t\t\tI8_SIZE +\n\t\t\t\t\t\t\t\tI32_SIZE +\n\t\t\t\t\t\t\t\tI8_SIZE * bytes.length +\n\t\t\t\t\t\t\t\tI8_SIZE\n\t\t\t\t\t\t);\n\t\t\t\t\t\twriteU8(BOOLEANS_HEADER);\n\t\t\t\t\t\twriteU8(0xff);\n\t\t\t\t\t\twriteU32(count);\n\t\t\t\t\t\tfor (const byte of bytes) writeU8(byte);\n\t\t\t\t\t\twriteU8(lastByte);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"object\": {\n\t\t\t\t\tif (thing === null) {\n\t\t\t\t\t\tlet n;\n\t\t\t\t\t\tfor (n = 1; n < 0x100000104 && i + n < data.length; n++) {\n\t\t\t\t\t\t\tconst item = data[i + n];\n\t\t\t\t\t\t\tif (item !== null) break;\n\t\t\t\t\t\t}\n\t\t\t\t\t\ti += n - 1;\n\t\t\t\t\t\tif (n === 1) {\n\t\t\t\t\t\t\tif (i + 1 < data.length) {\n\t\t\t\t\t\t\t\tconst next = data[i + 1];\n\t\t\t\t\t\t\t\tif (next === true) {\n\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\t\t\twriteU8(NULL_AND_TRUE_HEADER);\n\t\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t\t} else if (next === false) {\n\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\t\t\twriteU8(NULL_AND_FALSE_HEADER);\n\t\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t\t} else if (typeof next === \"number\") {\n\t\t\t\t\t\t\t\t\tconst type = identifyNumber(next);\n\t\t\t\t\t\t\t\t\tif (type === 0) {\n\t\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE + I8_SIZE);\n\t\t\t\t\t\t\t\t\t\twriteU8(NULL_AND_I8_HEADER);\n\t\t\t\t\t\t\t\t\t\tcurrentBuffer.writeInt8(next, currentPosition);\n\t\t\t\t\t\t\t\t\t\tcurrentPosition += I8_SIZE;\n\t\t\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t\t\t} else if (type === 1) {\n\t\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE);\n\t\t\t\t\t\t\t\t\t\twriteU8(NULL_AND_I32_HEADER);\n\t\t\t\t\t\t\t\t\t\tcurrentBuffer.writeInt32LE(next, currentPosition);\n\t\t\t\t\t\t\t\t\t\tcurrentPosition += I32_SIZE;\n\t\t\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\t\t\t\twriteU8(NULL_HEADER);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\t\t\twriteU8(NULL_HEADER);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\t\twriteU8(NULL_HEADER);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (n === 2) {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\twriteU8(NULL2_HEADER);\n\t\t\t\t\t\t} else if (n === 3) {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE);\n\t\t\t\t\t\t\twriteU8(NULL3_HEADER);\n\t\t\t\t\t\t} else if (n < 260) {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I8_SIZE);\n\t\t\t\t\t\t\twriteU8(NULLS8_HEADER);\n\t\t\t\t\t\t\twriteU8(n - 4);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE);\n\t\t\t\t\t\t\twriteU8(NULLS32_HEADER);\n\t\t\t\t\t\t\twriteU32(n - 260);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (Buffer.isBuffer(thing)) {\n\t\t\t\t\t\tif (thing.length < 8192) {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE + thing.length);\n\t\t\t\t\t\t\twriteU8(BUFFER_HEADER);\n\t\t\t\t\t\t\twriteU32(thing.length);\n\t\t\t\t\t\t\tthing.copy(currentBuffer, currentPosition);\n\t\t\t\t\t\t\tcurrentPosition += thing.length;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE);\n\t\t\t\t\t\t\twriteU8(BUFFER_HEADER);\n\t\t\t\t\t\t\twriteU32(thing.length);\n\t\t\t\t\t\t\tflush();\n\t\t\t\t\t\t\tbuffers.push(thing);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"symbol\": {\n\t\t\t\t\tif (thing === MEASURE_START_OPERATION) {\n\t\t\t\t\t\tmeasureStart();\n\t\t\t\t\t} else if (thing === MEASURE_END_OPERATION) {\n\t\t\t\t\t\tconst size = measureEnd();\n\t\t\t\t\t\tallocate(HEADER_SIZE + I32_SIZE);\n\t\t\t\t\t\twriteU8(I32_HEADER);\n\t\t\t\t\t\tcurrentBuffer.writeInt32LE(size, currentPosition);\n\t\t\t\t\t\tcurrentPosition += I32_SIZE;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tflush();\n\n\t\tallocationScope.leftOverBuffer = leftOverBuffer;\n\n\t\t// avoid leaking memory\n\t\tcurrentBuffer = null;\n\t\tleftOverBuffer = null;\n\t\tallocationScope = undefined;\n\t\tconst _buffers = buffers;\n\t\tbuffers = undefined;\n\t\treturn _buffers;\n\t}\n\n\t/**\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType|Promise<DeserializedType>} deserialized data\n\t */\n\tdeserialize(data, context) {\n\t\treturn this._deserialize(data, context);\n\t}\n\n\t_createLazyDeserialized(content, context) {\n\t\treturn SerializerMiddleware.createLazy(\n\t\t\tmemoize(() => this._deserialize(content, context)),\n\t\t\tthis,\n\t\t\tundefined,\n\t\t\tcontent\n\t\t);\n\t}\n\n\t_deserializeLazy(fn, context) {\n\t\treturn SerializerMiddleware.deserializeLazy(fn, data =>\n\t\t\tthis._deserialize(data, context)\n\t\t);\n\t}\n\n\t/**\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType} deserialized data\n\t */\n\t_deserialize(data, context) {\n\t\tlet currentDataItem = 0;\n\t\tlet currentBuffer = data[0];\n\t\tlet currentIsBuffer = Buffer.isBuffer(currentBuffer);\n\t\tlet currentPosition = 0;\n\n\t\tconst retainedBuffer = context.retainedBuffer || (x => x);\n\n\t\tconst checkOverflow = () => {\n\t\t\tif (currentPosition >= currentBuffer.length) {\n\t\t\t\tcurrentPosition = 0;\n\t\t\t\tcurrentDataItem++;\n\t\t\t\tcurrentBuffer =\n\t\t\t\t\tcurrentDataItem < data.length ? data[currentDataItem] : null;\n\t\t\t\tcurrentIsBuffer = Buffer.isBuffer(currentBuffer);\n\t\t\t}\n\t\t};\n\t\tconst isInCurrentBuffer = n => {\n\t\t\treturn currentIsBuffer && n + currentPosition <= currentBuffer.length;\n\t\t};\n\t\tconst ensureBuffer = () => {\n\t\t\tif (!currentIsBuffer) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\tcurrentBuffer === null\n\t\t\t\t\t\t? \"Unexpected end of stream\"\n\t\t\t\t\t\t: \"Unexpected lazy element in stream\"\n\t\t\t\t);\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * Reads n bytes\n\t\t * @param {number} n amount of bytes to read\n\t\t * @returns {Buffer} buffer with bytes\n\t\t */\n\t\tconst read = n => {\n\t\t\tensureBuffer();\n\t\t\tconst rem = currentBuffer.length - currentPosition;\n\t\t\tif (rem < n) {\n\t\t\t\tconst buffers = [read(rem)];\n\t\t\t\tn -= rem;\n\t\t\t\tensureBuffer();\n\t\t\t\twhile (currentBuffer.length < n) {\n\t\t\t\t\tconst b = /** @type {Buffer} */ (currentBuffer);\n\t\t\t\t\tbuffers.push(b);\n\t\t\t\t\tn -= b.length;\n\t\t\t\t\tcurrentDataItem++;\n\t\t\t\t\tcurrentBuffer =\n\t\t\t\t\t\tcurrentDataItem < data.length ? data[currentDataItem] : null;\n\t\t\t\t\tcurrentIsBuffer = Buffer.isBuffer(currentBuffer);\n\t\t\t\t\tensureBuffer();\n\t\t\t\t}\n\t\t\t\tbuffers.push(read(n));\n\t\t\t\treturn Buffer.concat(buffers);\n\t\t\t}\n\t\t\tconst b = /** @type {Buffer} */ (currentBuffer);\n\t\t\tconst res = Buffer.from(b.buffer, b.byteOffset + currentPosition, n);\n\t\t\tcurrentPosition += n;\n\t\t\tcheckOverflow();\n\t\t\treturn res;\n\t\t};\n\t\t/**\n\t\t * Reads up to n bytes\n\t\t * @param {number} n amount of bytes to read\n\t\t * @returns {Buffer} buffer with bytes\n\t\t */\n\t\tconst readUpTo = n => {\n\t\t\tensureBuffer();\n\t\t\tconst rem = currentBuffer.length - currentPosition;\n\t\t\tif (rem < n) {\n\t\t\t\tn = rem;\n\t\t\t}\n\t\t\tconst b = /** @type {Buffer} */ (currentBuffer);\n\t\t\tconst res = Buffer.from(b.buffer, b.byteOffset + currentPosition, n);\n\t\t\tcurrentPosition += n;\n\t\t\tcheckOverflow();\n\t\t\treturn res;\n\t\t};\n\t\tconst readU8 = () => {\n\t\t\tensureBuffer();\n\t\t\t/**\n\t\t\t * There is no need to check remaining buffer size here\n\t\t\t * since {@link checkOverflow} guarantees at least one byte remaining\n\t\t\t */\n\t\t\tconst byte = /** @type {Buffer} */ (currentBuffer).readUInt8(\n\t\t\t\tcurrentPosition\n\t\t\t);\n\t\t\tcurrentPosition += I8_SIZE;\n\t\t\tcheckOverflow();\n\t\t\treturn byte;\n\t\t};\n\t\tconst readU32 = () => {\n\t\t\treturn read(I32_SIZE).readUInt32LE(0);\n\t\t};\n\t\tconst readBits = (data, n) => {\n\t\t\tlet mask = 1;\n\t\t\twhile (n !== 0) {\n\t\t\t\tresult.push((data & mask) !== 0);\n\t\t\t\tmask = mask << 1;\n\t\t\t\tn--;\n\t\t\t}\n\t\t};\n\t\tconst dispatchTable = Array.from({ length: 256 }).map((_, header) => {\n\t\t\tswitch (header) {\n\t\t\t\tcase LAZY_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst count = readU32();\n\t\t\t\t\t\tconst lengths = Array.from({ length: count }).map(() => readU32());\n\t\t\t\t\t\tconst content = [];\n\t\t\t\t\t\tfor (let l of lengths) {\n\t\t\t\t\t\t\tif (l === 0) {\n\t\t\t\t\t\t\t\tif (typeof currentBuffer !== \"function\") {\n\t\t\t\t\t\t\t\t\tthrow new Error(\"Unexpected non-lazy element in stream\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontent.push(currentBuffer);\n\t\t\t\t\t\t\t\tcurrentDataItem++;\n\t\t\t\t\t\t\t\tcurrentBuffer =\n\t\t\t\t\t\t\t\t\tcurrentDataItem < data.length ? data[currentDataItem] : null;\n\t\t\t\t\t\t\t\tcurrentIsBuffer = Buffer.isBuffer(currentBuffer);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdo {\n\t\t\t\t\t\t\t\t\tconst buf = readUpTo(l);\n\t\t\t\t\t\t\t\t\tl -= buf.length;\n\t\t\t\t\t\t\t\t\tcontent.push(retainedBuffer(buf));\n\t\t\t\t\t\t\t\t} while (l > 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresult.push(this._createLazyDeserialized(content, context));\n\t\t\t\t\t};\n\t\t\t\tcase BUFFER_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst len = readU32();\n\t\t\t\t\t\tresult.push(retainedBuffer(read(len)));\n\t\t\t\t\t};\n\t\t\t\tcase TRUE_HEADER:\n\t\t\t\t\treturn () => result.push(true);\n\t\t\t\tcase FALSE_HEADER:\n\t\t\t\t\treturn () => result.push(false);\n\t\t\t\tcase NULL3_HEADER:\n\t\t\t\t\treturn () => result.push(null, null, null);\n\t\t\t\tcase NULL2_HEADER:\n\t\t\t\t\treturn () => result.push(null, null);\n\t\t\t\tcase NULL_HEADER:\n\t\t\t\t\treturn () => result.push(null);\n\t\t\t\tcase NULL_AND_TRUE_HEADER:\n\t\t\t\t\treturn () => result.push(null, true);\n\t\t\t\tcase NULL_AND_FALSE_HEADER:\n\t\t\t\t\treturn () => result.push(null, false);\n\t\t\t\tcase NULL_AND_I8_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tif (currentIsBuffer) {\n\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readInt8(currentPosition)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcurrentPosition += I8_SIZE;\n\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.push(null, read(I8_SIZE).readInt8(0));\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase NULL_AND_I32_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tresult.push(null);\n\t\t\t\t\t\tif (isInCurrentBuffer(I32_SIZE)) {\n\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readInt32LE(\n\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcurrentPosition += I32_SIZE;\n\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.push(read(I32_SIZE).readInt32LE(0));\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase NULLS8_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst len = readU8() + 4;\n\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\tresult.push(null);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase NULLS32_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst len = readU32() + 260;\n\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\tresult.push(null);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase BOOLEANS_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst innerHeader = readU8();\n\t\t\t\t\t\tif ((innerHeader & 0xf0) === 0) {\n\t\t\t\t\t\t\treadBits(innerHeader, 3);\n\t\t\t\t\t\t} else if ((innerHeader & 0xe0) === 0) {\n\t\t\t\t\t\t\treadBits(innerHeader, 4);\n\t\t\t\t\t\t} else if ((innerHeader & 0xc0) === 0) {\n\t\t\t\t\t\t\treadBits(innerHeader, 5);\n\t\t\t\t\t\t} else if ((innerHeader & 0x80) === 0) {\n\t\t\t\t\t\t\treadBits(innerHeader, 6);\n\t\t\t\t\t\t} else if (innerHeader !== 0xff) {\n\t\t\t\t\t\t\tlet count = (innerHeader & 0x7f) + 7;\n\t\t\t\t\t\t\twhile (count > 8) {\n\t\t\t\t\t\t\t\treadBits(readU8(), 8);\n\t\t\t\t\t\t\t\tcount -= 8;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treadBits(readU8(), count);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlet count = readU32();\n\t\t\t\t\t\t\twhile (count > 8) {\n\t\t\t\t\t\t\t\treadBits(readU8(), 8);\n\t\t\t\t\t\t\t\tcount -= 8;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treadBits(readU8(), count);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase STRING_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tconst len = readU32();\n\t\t\t\t\t\tif (isInCurrentBuffer(len) && currentPosition + len < 0x7fffffff) {\n\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\tcurrentBuffer.toString(\n\t\t\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\t\t\tcurrentPosition,\n\t\t\t\t\t\t\t\t\tcurrentPosition + len\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcurrentPosition += len;\n\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.push(read(len).toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase SHORT_STRING_HEADER:\n\t\t\t\t\treturn () => result.push(\"\");\n\t\t\t\tcase SHORT_STRING_HEADER | 1:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tif (currentIsBuffer && currentPosition < 0x7ffffffe) {\n\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\tcurrentBuffer.toString(\n\t\t\t\t\t\t\t\t\t\"latin1\",\n\t\t\t\t\t\t\t\t\tcurrentPosition,\n\t\t\t\t\t\t\t\t\tcurrentPosition + 1\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcurrentPosition++;\n\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.push(read(1).toString(\"latin1\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tcase I8_HEADER:\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tif (currentIsBuffer) {\n\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readInt8(currentPosition)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tcurrentPosition++;\n\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult.push(read(1).readInt8(0));\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\tdefault:\n\t\t\t\t\tif (header <= 10) {\n\t\t\t\t\t\treturn () => result.push(header);\n\t\t\t\t\t} else if ((header & SHORT_STRING_HEADER) === SHORT_STRING_HEADER) {\n\t\t\t\t\t\tconst len = header & SHORT_STRING_LENGTH_MASK;\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tisInCurrentBuffer(len) &&\n\t\t\t\t\t\t\t\tcurrentPosition + len < 0x7fffffff\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t\tcurrentBuffer.toString(\n\t\t\t\t\t\t\t\t\t\t\"latin1\",\n\t\t\t\t\t\t\t\t\t\tcurrentPosition,\n\t\t\t\t\t\t\t\t\t\tcurrentPosition + len\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcurrentPosition += len;\n\t\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult.push(read(len).toString(\"latin1\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else if ((header & NUMBERS_HEADER_MASK) === F64_HEADER) {\n\t\t\t\t\t\tconst len = (header & NUMBERS_COUNT_MASK) + 1;\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\tconst need = F64_SIZE * len;\n\t\t\t\t\t\t\tif (isInCurrentBuffer(need)) {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readDoubleLE(\n\t\t\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tcurrentPosition += F64_SIZE;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst buf = read(need);\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(buf.readDoubleLE(i * F64_SIZE));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else if ((header & NUMBERS_HEADER_MASK) === I32_HEADER) {\n\t\t\t\t\t\tconst len = (header & NUMBERS_COUNT_MASK) + 1;\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\tconst need = I32_SIZE * len;\n\t\t\t\t\t\t\tif (isInCurrentBuffer(need)) {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readInt32LE(\n\t\t\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tcurrentPosition += I32_SIZE;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst buf = read(need);\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(buf.readInt32LE(i * I32_SIZE));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else if ((header & NUMBERS_HEADER_MASK) === I8_HEADER) {\n\t\t\t\t\t\tconst len = (header & NUMBERS_COUNT_MASK) + 1;\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\tconst need = I8_SIZE * len;\n\t\t\t\t\t\t\tif (isInCurrentBuffer(need)) {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(\n\t\t\t\t\t\t\t\t\t\t/** @type {Buffer} */ (currentBuffer).readInt8(\n\t\t\t\t\t\t\t\t\t\t\tcurrentPosition\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tcurrentPosition += I8_SIZE;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcheckOverflow();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst buf = read(need);\n\t\t\t\t\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\t\t\t\t\tresult.push(buf.readInt8(i * I8_SIZE));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn () => {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t`Unexpected header byte 0x${header.toString(16)}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/** @type {DeserializedType} */\n\t\tlet result = [];\n\t\twhile (currentBuffer !== null) {\n\t\t\tif (typeof currentBuffer === \"function\") {\n\t\t\t\tresult.push(this._deserializeLazy(currentBuffer, context));\n\t\t\t\tcurrentDataItem++;\n\t\t\t\tcurrentBuffer =\n\t\t\t\t\tcurrentDataItem < data.length ? data[currentDataItem] : null;\n\t\t\t\tcurrentIsBuffer = Buffer.isBuffer(currentBuffer);\n\t\t\t} else {\n\t\t\t\tconst header = readU8();\n\t\t\t\tdispatchTable[header]();\n\t\t\t}\n\t\t}\n\n\t\t// avoid leaking memory in context\n\t\tlet _result = result;\n\t\tresult = undefined;\n\t\treturn _result;\n\t}\n}\n\nmodule.exports = BinaryMiddleware;\n\nmodule.exports.MEASURE_START_OPERATION = MEASURE_START_OPERATION;\nmodule.exports.MEASURE_END_OPERATION = MEASURE_END_OPERATION;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/BinaryMiddleware.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/DateObjectSerializer.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/DateObjectSerializer.js ***! \************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass DateObjectSerializer {\n\tserialize(obj, { write }) {\n\t\twrite(obj.getTime());\n\t}\n\tdeserialize({ read }) {\n\t\treturn new Date(read());\n\t}\n}\n\nmodule.exports = DateObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/DateObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/ErrorObjectSerializer.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/ErrorObjectSerializer.js ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass ErrorObjectSerializer {\n\tconstructor(Type) {\n\t\tthis.Type = Type;\n\t}\n\n\tserialize(obj, { write }) {\n\t\twrite(obj.message);\n\t\twrite(obj.stack);\n\t}\n\n\tdeserialize({ read }) {\n\t\tconst err = new this.Type();\n\n\t\terr.message = read();\n\t\terr.stack = read();\n\n\t\treturn err;\n\t}\n}\n\nmodule.exports = ErrorObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/ErrorObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/FileMiddleware.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/FileMiddleware.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { constants } = __webpack_require__(/*! buffer */ \"?bf39\");\nconst { pipeline } = __webpack_require__(/*! stream */ \"?0d96\");\nconst {\n\tcreateBrotliCompress,\n\tcreateBrotliDecompress,\n\tcreateGzip,\n\tcreateGunzip,\n\tconstants: zConstants\n} = __webpack_require__(/*! zlib */ \"?8c71\");\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst { dirname, join, mkdirp } = __webpack_require__(/*! ../util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst SerializerMiddleware = __webpack_require__(/*! ./SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\");\n\n/** @typedef {typeof import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").IntermediateFileSystem} IntermediateFileSystem */\n/** @typedef {import(\"./types\").BufferSerializableType} BufferSerializableType */\n\n/*\nFormat:\n\nFile -> Header Section*\n\nVersion -> u32\nAmountOfSections -> u32\nSectionSize -> i32 (if less than zero represents lazy value)\n\nHeader -> Version AmountOfSections SectionSize*\n\nBuffer -> n bytes\nSection -> Buffer\n\n*/\n\n// \"wpc\" + 1 in little-endian\nconst VERSION = 0x01637077;\nconst WRITE_LIMIT_TOTAL = 0x7fff0000;\nconst WRITE_LIMIT_CHUNK = 511 * 1024 * 1024;\n\n/**\n * @param {Buffer[]} buffers buffers\n * @param {string | Hash} hashFunction hash function to use\n * @returns {string} hash\n */\nconst hashForName = (buffers, hashFunction) => {\n\tconst hash = createHash(hashFunction);\n\tfor (const buf of buffers) hash.update(buf);\n\treturn /** @type {string} */ (hash.digest(\"hex\"));\n};\n\nconst COMPRESSION_CHUNK_SIZE = 100 * 1024 * 1024;\nconst DECOMPRESSION_CHUNK_SIZE = 100 * 1024 * 1024;\n\nconst writeUInt64LE = Buffer.prototype.writeBigUInt64LE\n\t? (buf, value, offset) => {\n\t\t\tbuf.writeBigUInt64LE(BigInt(value), offset);\n\t }\n\t: (buf, value, offset) => {\n\t\t\tconst low = value % 0x100000000;\n\t\t\tconst high = (value - low) / 0x100000000;\n\t\t\tbuf.writeUInt32LE(low, offset);\n\t\t\tbuf.writeUInt32LE(high, offset + 4);\n\t };\n\nconst readUInt64LE = Buffer.prototype.readBigUInt64LE\n\t? (buf, offset) => {\n\t\t\treturn Number(buf.readBigUInt64LE(offset));\n\t }\n\t: (buf, offset) => {\n\t\t\tconst low = buf.readUInt32LE(offset);\n\t\t\tconst high = buf.readUInt32LE(offset + 4);\n\t\t\treturn high * 0x100000000 + low;\n\t };\n\n/**\n * @typedef {Object} SerializeResult\n * @property {string | false} name\n * @property {number} size\n * @property {Promise=} backgroundJob\n */\n\n/**\n * @param {FileMiddleware} middleware this\n * @param {BufferSerializableType[] | Promise<BufferSerializableType[]>} data data to be serialized\n * @param {string | boolean} name file base name\n * @param {function(string | false, Buffer[], number): Promise<void>} writeFile writes a file\n * @param {string | Hash} hashFunction hash function to use\n * @returns {Promise<SerializeResult>} resulting file pointer and promise\n */\nconst serialize = async (\n\tmiddleware,\n\tdata,\n\tname,\n\twriteFile,\n\thashFunction = \"md4\"\n) => {\n\t/** @type {(Buffer[] | Buffer | SerializeResult | Promise<SerializeResult>)[]} */\n\tconst processedData = [];\n\t/** @type {WeakMap<SerializeResult, function(): any | Promise<any>>} */\n\tconst resultToLazy = new WeakMap();\n\t/** @type {Buffer[]} */\n\tlet lastBuffers = undefined;\n\tfor (const item of await data) {\n\t\tif (typeof item === \"function\") {\n\t\t\tif (!SerializerMiddleware.isLazy(item))\n\t\t\t\tthrow new Error(\"Unexpected function\");\n\t\t\tif (!SerializerMiddleware.isLazy(item, middleware)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Unexpected lazy value with non-this target (can't pass through lazy values)\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tlastBuffers = undefined;\n\t\t\tconst serializedInfo = SerializerMiddleware.getLazySerializedValue(item);\n\t\t\tif (serializedInfo) {\n\t\t\t\tif (typeof serializedInfo === \"function\") {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"Unexpected lazy value with non-this target (can't pass through lazy values)\"\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tprocessedData.push(serializedInfo);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst content = item();\n\t\t\t\tif (content) {\n\t\t\t\t\tconst options = SerializerMiddleware.getLazyOptions(item);\n\t\t\t\t\tprocessedData.push(\n\t\t\t\t\t\tserialize(\n\t\t\t\t\t\t\tmiddleware,\n\t\t\t\t\t\t\tcontent,\n\t\t\t\t\t\t\t(options && options.name) || true,\n\t\t\t\t\t\t\twriteFile,\n\t\t\t\t\t\t\thashFunction\n\t\t\t\t\t\t).then(result => {\n\t\t\t\t\t\t\t/** @type {any} */ (item).options.size = result.size;\n\t\t\t\t\t\t\tresultToLazy.set(result, item);\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"Unexpected falsy value returned by lazy value function\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (item) {\n\t\t\tif (lastBuffers) {\n\t\t\t\tlastBuffers.push(item);\n\t\t\t} else {\n\t\t\t\tlastBuffers = [item];\n\t\t\t\tprocessedData.push(lastBuffers);\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new Error(\"Unexpected falsy value in items array\");\n\t\t}\n\t}\n\t/** @type {Promise<any>[]} */\n\tconst backgroundJobs = [];\n\tconst resolvedData = (\n\t\tawait Promise.all(\n\t\t\t/** @type {Promise<Buffer[] | Buffer | SerializeResult>[]} */ (\n\t\t\t\tprocessedData\n\t\t\t)\n\t\t)\n\t).map(item => {\n\t\tif (Array.isArray(item) || Buffer.isBuffer(item)) return item;\n\n\t\tbackgroundJobs.push(item.backgroundJob);\n\t\t// create pointer buffer from size and name\n\t\tconst name = /** @type {string} */ (item.name);\n\t\tconst nameBuffer = Buffer.from(name);\n\t\tconst buf = Buffer.allocUnsafe(8 + nameBuffer.length);\n\t\twriteUInt64LE(buf, item.size, 0);\n\t\tnameBuffer.copy(buf, 8, 0);\n\t\tconst lazy = resultToLazy.get(item);\n\t\tSerializerMiddleware.setLazySerializedValue(lazy, buf);\n\t\treturn buf;\n\t});\n\tconst lengths = [];\n\tfor (const item of resolvedData) {\n\t\tif (Array.isArray(item)) {\n\t\t\tlet l = 0;\n\t\t\tfor (const b of item) l += b.length;\n\t\t\twhile (l > 0x7fffffff) {\n\t\t\t\tlengths.push(0x7fffffff);\n\t\t\t\tl -= 0x7fffffff;\n\t\t\t}\n\t\t\tlengths.push(l);\n\t\t} else if (item) {\n\t\t\tlengths.push(-item.length);\n\t\t} else {\n\t\t\tthrow new Error(\"Unexpected falsy value in resolved data \" + item);\n\t\t}\n\t}\n\tconst header = Buffer.allocUnsafe(8 + lengths.length * 4);\n\theader.writeUInt32LE(VERSION, 0);\n\theader.writeUInt32LE(lengths.length, 4);\n\tfor (let i = 0; i < lengths.length; i++) {\n\t\theader.writeInt32LE(lengths[i], 8 + i * 4);\n\t}\n\tconst buf = [header];\n\tfor (const item of resolvedData) {\n\t\tif (Array.isArray(item)) {\n\t\t\tfor (const b of item) buf.push(b);\n\t\t} else if (item) {\n\t\t\tbuf.push(item);\n\t\t}\n\t}\n\tif (name === true) {\n\t\tname = hashForName(buf, hashFunction);\n\t}\n\tlet size = 0;\n\tfor (const b of buf) size += b.length;\n\tbackgroundJobs.push(writeFile(name, buf, size));\n\treturn {\n\t\tsize,\n\t\tname,\n\t\tbackgroundJob:\n\t\t\tbackgroundJobs.length === 1\n\t\t\t\t? backgroundJobs[0]\n\t\t\t\t: Promise.all(backgroundJobs)\n\t};\n};\n\n/**\n * @param {FileMiddleware} middleware this\n * @param {string | false} name filename\n * @param {function(string | false): Promise<Buffer[]>} readFile read content of a file\n * @returns {Promise<BufferSerializableType[]>} deserialized data\n */\nconst deserialize = async (middleware, name, readFile) => {\n\tconst contents = await readFile(name);\n\tif (contents.length === 0) throw new Error(\"Empty file \" + name);\n\tlet contentsIndex = 0;\n\tlet contentItem = contents[0];\n\tlet contentItemLength = contentItem.length;\n\tlet contentPosition = 0;\n\tif (contentItemLength === 0) throw new Error(\"Empty file \" + name);\n\tconst nextContent = () => {\n\t\tcontentsIndex++;\n\t\tcontentItem = contents[contentsIndex];\n\t\tcontentItemLength = contentItem.length;\n\t\tcontentPosition = 0;\n\t};\n\tconst ensureData = n => {\n\t\tif (contentPosition === contentItemLength) {\n\t\t\tnextContent();\n\t\t}\n\t\twhile (contentItemLength - contentPosition < n) {\n\t\t\tconst remaining = contentItem.slice(contentPosition);\n\t\t\tlet lengthFromNext = n - remaining.length;\n\t\t\tconst buffers = [remaining];\n\t\t\tfor (let i = contentsIndex + 1; i < contents.length; i++) {\n\t\t\t\tconst l = contents[i].length;\n\t\t\t\tif (l > lengthFromNext) {\n\t\t\t\t\tbuffers.push(contents[i].slice(0, lengthFromNext));\n\t\t\t\t\tcontents[i] = contents[i].slice(lengthFromNext);\n\t\t\t\t\tlengthFromNext = 0;\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tbuffers.push(contents[i]);\n\t\t\t\t\tcontentsIndex = i;\n\t\t\t\t\tlengthFromNext -= l;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (lengthFromNext > 0) throw new Error(\"Unexpected end of data\");\n\t\t\tcontentItem = Buffer.concat(buffers, n);\n\t\t\tcontentItemLength = n;\n\t\t\tcontentPosition = 0;\n\t\t}\n\t};\n\tconst readUInt32LE = () => {\n\t\tensureData(4);\n\t\tconst value = contentItem.readUInt32LE(contentPosition);\n\t\tcontentPosition += 4;\n\t\treturn value;\n\t};\n\tconst readInt32LE = () => {\n\t\tensureData(4);\n\t\tconst value = contentItem.readInt32LE(contentPosition);\n\t\tcontentPosition += 4;\n\t\treturn value;\n\t};\n\tconst readSlice = l => {\n\t\tensureData(l);\n\t\tif (contentPosition === 0 && contentItemLength === l) {\n\t\t\tconst result = contentItem;\n\t\t\tif (contentsIndex + 1 < contents.length) {\n\t\t\t\tnextContent();\n\t\t\t} else {\n\t\t\t\tcontentPosition = l;\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t\tconst result = contentItem.slice(contentPosition, contentPosition + l);\n\t\tcontentPosition += l;\n\t\t// we clone the buffer here to allow the original content to be garbage collected\n\t\treturn l * 2 < contentItem.buffer.byteLength ? Buffer.from(result) : result;\n\t};\n\tconst version = readUInt32LE();\n\tif (version !== VERSION) {\n\t\tthrow new Error(\"Invalid file version\");\n\t}\n\tconst sectionCount = readUInt32LE();\n\tconst lengths = [];\n\tlet lastLengthPositive = false;\n\tfor (let i = 0; i < sectionCount; i++) {\n\t\tconst value = readInt32LE();\n\t\tconst valuePositive = value >= 0;\n\t\tif (lastLengthPositive && valuePositive) {\n\t\t\tlengths[lengths.length - 1] += value;\n\t\t} else {\n\t\t\tlengths.push(value);\n\t\t\tlastLengthPositive = valuePositive;\n\t\t}\n\t}\n\tconst result = [];\n\tfor (let length of lengths) {\n\t\tif (length < 0) {\n\t\t\tconst slice = readSlice(-length);\n\t\t\tconst size = Number(readUInt64LE(slice, 0));\n\t\t\tconst nameBuffer = slice.slice(8);\n\t\t\tconst name = nameBuffer.toString();\n\t\t\tresult.push(\n\t\t\t\tSerializerMiddleware.createLazy(\n\t\t\t\t\tmemoize(() => deserialize(middleware, name, readFile)),\n\t\t\t\t\tmiddleware,\n\t\t\t\t\t{\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tsize\n\t\t\t\t\t},\n\t\t\t\t\tslice\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\tif (contentPosition === contentItemLength) {\n\t\t\t\tnextContent();\n\t\t\t} else if (contentPosition !== 0) {\n\t\t\t\tif (length <= contentItemLength - contentPosition) {\n\t\t\t\t\tresult.push(\n\t\t\t\t\t\tBuffer.from(\n\t\t\t\t\t\t\tcontentItem.buffer,\n\t\t\t\t\t\t\tcontentItem.byteOffset + contentPosition,\n\t\t\t\t\t\t\tlength\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tcontentPosition += length;\n\t\t\t\t\tlength = 0;\n\t\t\t\t} else {\n\t\t\t\t\tconst l = contentItemLength - contentPosition;\n\t\t\t\t\tresult.push(\n\t\t\t\t\t\tBuffer.from(\n\t\t\t\t\t\t\tcontentItem.buffer,\n\t\t\t\t\t\t\tcontentItem.byteOffset + contentPosition,\n\t\t\t\t\t\t\tl\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tlength -= l;\n\t\t\t\t\tcontentPosition = contentItemLength;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (length >= contentItemLength) {\n\t\t\t\t\tresult.push(contentItem);\n\t\t\t\t\tlength -= contentItemLength;\n\t\t\t\t\tcontentPosition = contentItemLength;\n\t\t\t\t} else {\n\t\t\t\t\tresult.push(\n\t\t\t\t\t\tBuffer.from(contentItem.buffer, contentItem.byteOffset, length)\n\t\t\t\t\t);\n\t\t\t\t\tcontentPosition += length;\n\t\t\t\t\tlength = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile (length > 0) {\n\t\t\t\tnextContent();\n\t\t\t\tif (length >= contentItemLength) {\n\t\t\t\t\tresult.push(contentItem);\n\t\t\t\t\tlength -= contentItemLength;\n\t\t\t\t\tcontentPosition = contentItemLength;\n\t\t\t\t} else {\n\t\t\t\t\tresult.push(\n\t\t\t\t\t\tBuffer.from(contentItem.buffer, contentItem.byteOffset, length)\n\t\t\t\t\t);\n\t\t\t\t\tcontentPosition += length;\n\t\t\t\t\tlength = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn result;\n};\n\n/**\n * @typedef {BufferSerializableType[]} DeserializedType\n * @typedef {true} SerializedType\n * @extends {SerializerMiddleware<DeserializedType, SerializedType>}\n */\nclass FileMiddleware extends SerializerMiddleware {\n\t/**\n\t * @param {IntermediateFileSystem} fs filesystem\n\t * @param {string | Hash} hashFunction hash function to use\n\t */\n\tconstructor(fs, hashFunction = \"md4\") {\n\t\tsuper();\n\t\tthis.fs = fs;\n\t\tthis._hashFunction = hashFunction;\n\t}\n\t/**\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @returns {SerializedType|Promise<SerializedType>} serialized data\n\t */\n\tserialize(data, context) {\n\t\tconst { filename, extension = \"\" } = context;\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tmkdirp(this.fs, dirname(this.fs, filename), err => {\n\t\t\t\tif (err) return reject(err);\n\n\t\t\t\t// It's important that we don't touch existing files during serialization\n\t\t\t\t// because serialize may read existing files (when deserializing)\n\t\t\t\tconst allWrittenFiles = new Set();\n\t\t\t\tconst writeFile = async (name, content, size) => {\n\t\t\t\t\tconst file = name\n\t\t\t\t\t\t? join(this.fs, filename, `../${name}${extension}`)\n\t\t\t\t\t\t: filename;\n\t\t\t\t\tawait new Promise((resolve, reject) => {\n\t\t\t\t\t\tlet stream = this.fs.createWriteStream(file + \"_\");\n\t\t\t\t\t\tlet compression;\n\t\t\t\t\t\tif (file.endsWith(\".gz\")) {\n\t\t\t\t\t\t\tcompression = createGzip({\n\t\t\t\t\t\t\t\tchunkSize: COMPRESSION_CHUNK_SIZE,\n\t\t\t\t\t\t\t\tlevel: zConstants.Z_BEST_SPEED\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if (file.endsWith(\".br\")) {\n\t\t\t\t\t\t\tcompression = createBrotliCompress({\n\t\t\t\t\t\t\t\tchunkSize: COMPRESSION_CHUNK_SIZE,\n\t\t\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t\t\t[zConstants.BROTLI_PARAM_MODE]: zConstants.BROTLI_MODE_TEXT,\n\t\t\t\t\t\t\t\t\t[zConstants.BROTLI_PARAM_QUALITY]: 2,\n\t\t\t\t\t\t\t\t\t[zConstants.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]: true,\n\t\t\t\t\t\t\t\t\t[zConstants.BROTLI_PARAM_SIZE_HINT]: size\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (compression) {\n\t\t\t\t\t\t\tpipeline(compression, stream, reject);\n\t\t\t\t\t\t\tstream = compression;\n\t\t\t\t\t\t\tstream.on(\"finish\", () => resolve());\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstream.on(\"error\", err => reject(err));\n\t\t\t\t\t\t\tstream.on(\"finish\", () => resolve());\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// split into chunks for WRITE_LIMIT_CHUNK size\n\t\t\t\t\t\tconst chunks = [];\n\t\t\t\t\t\tfor (const b of content) {\n\t\t\t\t\t\t\tif (b.length < WRITE_LIMIT_CHUNK) {\n\t\t\t\t\t\t\t\tchunks.push(b);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < b.length; i += WRITE_LIMIT_CHUNK) {\n\t\t\t\t\t\t\t\t\tchunks.push(b.slice(i, i + WRITE_LIMIT_CHUNK));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst len = chunks.length;\n\t\t\t\t\t\tlet i = 0;\n\t\t\t\t\t\tconst batchWrite = err => {\n\t\t\t\t\t\t\t// will be handled in \"on\" error handler\n\t\t\t\t\t\t\tif (err) return;\n\n\t\t\t\t\t\t\tif (i === len) {\n\t\t\t\t\t\t\t\tstream.end();\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// queue up a batch of chunks up to the write limit\n\t\t\t\t\t\t\t// end is exclusive\n\t\t\t\t\t\t\tlet end = i;\n\t\t\t\t\t\t\tlet sum = chunks[end++].length;\n\t\t\t\t\t\t\twhile (end < len) {\n\t\t\t\t\t\t\t\tsum += chunks[end].length;\n\t\t\t\t\t\t\t\tif (sum > WRITE_LIMIT_TOTAL) break;\n\t\t\t\t\t\t\t\tend++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\twhile (i < end - 1) {\n\t\t\t\t\t\t\t\tstream.write(chunks[i++]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstream.write(chunks[i++], batchWrite);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbatchWrite();\n\t\t\t\t\t});\n\t\t\t\t\tif (name) allWrittenFiles.add(file);\n\t\t\t\t};\n\n\t\t\t\tresolve(\n\t\t\t\t\tserialize(this, data, false, writeFile, this._hashFunction).then(\n\t\t\t\t\t\tasync ({ backgroundJob }) => {\n\t\t\t\t\t\t\tawait backgroundJob;\n\n\t\t\t\t\t\t\t// Rename the index file to disallow access during inconsistent file state\n\t\t\t\t\t\t\tawait new Promise(resolve =>\n\t\t\t\t\t\t\t\tthis.fs.rename(filename, filename + \".old\", err => {\n\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// update all written files\n\t\t\t\t\t\t\tawait Promise.all(\n\t\t\t\t\t\t\t\tArray.from(\n\t\t\t\t\t\t\t\t\tallWrittenFiles,\n\t\t\t\t\t\t\t\t\tfile =>\n\t\t\t\t\t\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\t\t\t\t\t\tthis.fs.rename(file + \"_\", file, err => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) return reject(err);\n\t\t\t\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// As final step automatically update the index file to have a consistent pack again\n\t\t\t\t\t\t\tawait new Promise(resolve => {\n\t\t\t\t\t\t\t\tthis.fs.rename(filename + \"_\", filename, err => {\n\t\t\t\t\t\t\t\t\tif (err) return reject(err);\n\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\treturn /** @type {true} */ (true);\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType|Promise<DeserializedType>} deserialized data\n\t */\n\tdeserialize(data, context) {\n\t\tconst { filename, extension = \"\" } = context;\n\t\tconst readFile = name =>\n\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\tconst file = name\n\t\t\t\t\t? join(this.fs, filename, `../${name}${extension}`)\n\t\t\t\t\t: filename;\n\t\t\t\tthis.fs.stat(file, (err, stats) => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\treject(err);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet remaining = /** @type {number} */ (stats.size);\n\t\t\t\t\tlet currentBuffer;\n\t\t\t\t\tlet currentBufferUsed;\n\t\t\t\t\tconst buf = [];\n\t\t\t\t\tlet decompression;\n\t\t\t\t\tif (file.endsWith(\".gz\")) {\n\t\t\t\t\t\tdecompression = createGunzip({\n\t\t\t\t\t\t\tchunkSize: DECOMPRESSION_CHUNK_SIZE\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (file.endsWith(\".br\")) {\n\t\t\t\t\t\tdecompression = createBrotliDecompress({\n\t\t\t\t\t\t\tchunkSize: DECOMPRESSION_CHUNK_SIZE\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif (decompression) {\n\t\t\t\t\t\tlet newResolve, newReject;\n\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\tPromise.all([\n\t\t\t\t\t\t\t\tnew Promise((rs, rj) => {\n\t\t\t\t\t\t\t\t\tnewResolve = rs;\n\t\t\t\t\t\t\t\t\tnewReject = rj;\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\t\t\t\tdecompression.on(\"data\", chunk => buf.push(chunk));\n\t\t\t\t\t\t\t\t\tdecompression.on(\"end\", () => resolve());\n\t\t\t\t\t\t\t\t\tdecompression.on(\"error\", err => reject(err));\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t]).then(() => buf)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tresolve = newResolve;\n\t\t\t\t\t\treject = newReject;\n\t\t\t\t\t}\n\t\t\t\t\tthis.fs.open(file, \"r\", (err, fd) => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst read = () => {\n\t\t\t\t\t\t\tif (currentBuffer === undefined) {\n\t\t\t\t\t\t\t\tcurrentBuffer = Buffer.allocUnsafeSlow(\n\t\t\t\t\t\t\t\t\tMath.min(\n\t\t\t\t\t\t\t\t\t\tconstants.MAX_LENGTH,\n\t\t\t\t\t\t\t\t\t\tremaining,\n\t\t\t\t\t\t\t\t\t\tdecompression ? DECOMPRESSION_CHUNK_SIZE : Infinity\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tcurrentBufferUsed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tlet readBuffer = currentBuffer;\n\t\t\t\t\t\t\tlet readOffset = currentBufferUsed;\n\t\t\t\t\t\t\tlet readLength = currentBuffer.length - currentBufferUsed;\n\t\t\t\t\t\t\t// values passed to fs.read must be valid int32 values\n\t\t\t\t\t\t\tif (readOffset > 0x7fffffff) {\n\t\t\t\t\t\t\t\treadBuffer = currentBuffer.slice(readOffset);\n\t\t\t\t\t\t\t\treadOffset = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (readLength > 0x7fffffff) {\n\t\t\t\t\t\t\t\treadLength = 0x7fffffff;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.fs.read(\n\t\t\t\t\t\t\t\tfd,\n\t\t\t\t\t\t\t\treadBuffer,\n\t\t\t\t\t\t\t\treadOffset,\n\t\t\t\t\t\t\t\treadLength,\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t(err, bytesRead) => {\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\tthis.fs.close(fd, () => {\n\t\t\t\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcurrentBufferUsed += bytesRead;\n\t\t\t\t\t\t\t\t\tremaining -= bytesRead;\n\t\t\t\t\t\t\t\t\tif (currentBufferUsed === currentBuffer.length) {\n\t\t\t\t\t\t\t\t\t\tif (decompression) {\n\t\t\t\t\t\t\t\t\t\t\tdecompression.write(currentBuffer);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tbuf.push(currentBuffer);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcurrentBuffer = undefined;\n\t\t\t\t\t\t\t\t\t\tif (remaining === 0) {\n\t\t\t\t\t\t\t\t\t\t\tif (decompression) {\n\t\t\t\t\t\t\t\t\t\t\t\tdecompression.end();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tthis.fs.close(fd, err => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tresolve(buf);\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tread();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tread();\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\treturn deserialize(this, false, readFile);\n\t}\n}\n\nmodule.exports = FileMiddleware;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/FileMiddleware.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/MapObjectSerializer.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/MapObjectSerializer.js ***! \***********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass MapObjectSerializer {\n\tserialize(obj, { write }) {\n\t\twrite(obj.size);\n\t\tfor (const key of obj.keys()) {\n\t\t\twrite(key);\n\t\t}\n\t\tfor (const value of obj.values()) {\n\t\t\twrite(value);\n\t\t}\n\t}\n\tdeserialize({ read }) {\n\t\tlet size = read();\n\t\tconst map = new Map();\n\t\tconst keys = [];\n\t\tfor (let i = 0; i < size; i++) {\n\t\t\tkeys.push(read());\n\t\t}\n\t\tfor (let i = 0; i < size; i++) {\n\t\t\tmap.set(keys[i], read());\n\t\t}\n\t\treturn map;\n\t}\n}\n\nmodule.exports = MapObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/MapObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js ***! \*********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass NullPrototypeObjectSerializer {\n\tserialize(obj, { write }) {\n\t\tconst keys = Object.keys(obj);\n\t\tfor (const key of keys) {\n\t\t\twrite(key);\n\t\t}\n\t\twrite(null);\n\t\tfor (const key of keys) {\n\t\t\twrite(obj[key]);\n\t\t}\n\t}\n\tdeserialize({ read }) {\n\t\tconst obj = Object.create(null);\n\t\tconst keys = [];\n\t\tlet key = read();\n\t\twhile (key !== null) {\n\t\t\tkeys.push(key);\n\t\t\tkey = read();\n\t\t}\n\t\tfor (const key of keys) {\n\t\t\tobj[key] = read();\n\t\t}\n\t\treturn obj;\n\t}\n}\n\nmodule.exports = NullPrototypeObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/ObjectMiddleware.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/ObjectMiddleware.js ***! \********************************************************************/ /***/ ((module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst createHash = __webpack_require__(/*! ../util/createHash */ \"./node_modules/webpack/lib/util/createHash.js\");\nconst ArraySerializer = __webpack_require__(/*! ./ArraySerializer */ \"./node_modules/webpack/lib/serialization/ArraySerializer.js\");\nconst DateObjectSerializer = __webpack_require__(/*! ./DateObjectSerializer */ \"./node_modules/webpack/lib/serialization/DateObjectSerializer.js\");\nconst ErrorObjectSerializer = __webpack_require__(/*! ./ErrorObjectSerializer */ \"./node_modules/webpack/lib/serialization/ErrorObjectSerializer.js\");\nconst MapObjectSerializer = __webpack_require__(/*! ./MapObjectSerializer */ \"./node_modules/webpack/lib/serialization/MapObjectSerializer.js\");\nconst NullPrototypeObjectSerializer = __webpack_require__(/*! ./NullPrototypeObjectSerializer */ \"./node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js\");\nconst PlainObjectSerializer = __webpack_require__(/*! ./PlainObjectSerializer */ \"./node_modules/webpack/lib/serialization/PlainObjectSerializer.js\");\nconst RegExpObjectSerializer = __webpack_require__(/*! ./RegExpObjectSerializer */ \"./node_modules/webpack/lib/serialization/RegExpObjectSerializer.js\");\nconst SerializerMiddleware = __webpack_require__(/*! ./SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\");\nconst SetObjectSerializer = __webpack_require__(/*! ./SetObjectSerializer */ \"./node_modules/webpack/lib/serialization/SetObjectSerializer.js\");\n\n/** @typedef {typeof import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"./types\").ComplexSerializableType} ComplexSerializableType */\n/** @typedef {import(\"./types\").PrimitiveSerializableType} PrimitiveSerializableType */\n\n/** @typedef {new (...params: any[]) => any} Constructor */\n\n/*\n\nFormat:\n\nFile -> Section*\nSection -> ObjectSection | ReferenceSection | EscapeSection | OtherSection\n\nObjectSection -> ESCAPE (\n\tnumber:relativeOffset (number > 0) |\n\tstring:request (string|null):export\n) Section:value* ESCAPE ESCAPE_END_OBJECT\nReferenceSection -> ESCAPE number:relativeOffset (number < 0)\nEscapeSection -> ESCAPE ESCAPE_ESCAPE_VALUE (escaped value ESCAPE)\nEscapeSection -> ESCAPE ESCAPE_UNDEFINED (escaped value ESCAPE)\nOtherSection -> any (except ESCAPE)\n\nWhy using null as escape value?\nMultiple null values can merged by the BinaryMiddleware, which makes it very efficient\nTechnically any value can be used.\n\n*/\n\n/**\n * @typedef {Object} ObjectSerializerContext\n * @property {function(any): void} write\n */\n\n/**\n * @typedef {Object} ObjectDeserializerContext\n * @property {function(): any} read\n */\n\n/**\n * @typedef {Object} ObjectSerializer\n * @property {function(any, ObjectSerializerContext): void} serialize\n * @property {function(ObjectDeserializerContext): any} deserialize\n */\n\nconst setSetSize = (set, size) => {\n\tlet i = 0;\n\tfor (const item of set) {\n\t\tif (i++ >= size) {\n\t\t\tset.delete(item);\n\t\t}\n\t}\n};\n\nconst setMapSize = (map, size) => {\n\tlet i = 0;\n\tfor (const item of map.keys()) {\n\t\tif (i++ >= size) {\n\t\t\tmap.delete(item);\n\t\t}\n\t}\n};\n\n/**\n * @param {Buffer} buffer buffer\n * @param {string | Hash} hashFunction hash function to use\n * @returns {string} hash\n */\nconst toHash = (buffer, hashFunction) => {\n\tconst hash = createHash(hashFunction);\n\thash.update(buffer);\n\treturn /** @type {string} */ (hash.digest(\"latin1\"));\n};\n\nconst ESCAPE = null;\nconst ESCAPE_ESCAPE_VALUE = null;\nconst ESCAPE_END_OBJECT = true;\nconst ESCAPE_UNDEFINED = false;\n\nconst CURRENT_VERSION = 2;\n\nconst serializers = new Map();\nconst serializerInversed = new Map();\n\nconst loadedRequests = new Set();\n\nconst NOT_SERIALIZABLE = {};\n\nconst jsTypes = new Map();\njsTypes.set(Object, new PlainObjectSerializer());\njsTypes.set(Array, new ArraySerializer());\njsTypes.set(null, new NullPrototypeObjectSerializer());\njsTypes.set(Map, new MapObjectSerializer());\njsTypes.set(Set, new SetObjectSerializer());\njsTypes.set(Date, new DateObjectSerializer());\njsTypes.set(RegExp, new RegExpObjectSerializer());\njsTypes.set(Error, new ErrorObjectSerializer(Error));\njsTypes.set(EvalError, new ErrorObjectSerializer(EvalError));\njsTypes.set(RangeError, new ErrorObjectSerializer(RangeError));\njsTypes.set(ReferenceError, new ErrorObjectSerializer(ReferenceError));\njsTypes.set(SyntaxError, new ErrorObjectSerializer(SyntaxError));\njsTypes.set(TypeError, new ErrorObjectSerializer(TypeError));\n\n// If in a sandboxed environment (e. g. jest), this escapes the sandbox and registers\n// real Object and Array types to. These types may occur in the wild too, e. g. when\n// using Structured Clone in postMessage.\nif (exports.constructor !== Object) {\n\tconst Obj = /** @type {typeof Object} */ (exports.constructor);\n\tconst Fn = /** @type {typeof Function} */ (Obj.constructor);\n\tfor (const [type, config] of Array.from(jsTypes)) {\n\t\tif (type) {\n\t\t\tconst Type = new Fn(`return ${type.name};`)();\n\t\t\tjsTypes.set(Type, config);\n\t\t}\n\t}\n}\n\n{\n\tlet i = 1;\n\tfor (const [type, serializer] of jsTypes) {\n\t\tserializers.set(type, {\n\t\t\trequest: \"\",\n\t\t\tname: i++,\n\t\t\tserializer\n\t\t});\n\t}\n}\n\nfor (const { request, name, serializer } of serializers.values()) {\n\tserializerInversed.set(`${request}/${name}`, serializer);\n}\n\n/** @type {Map<RegExp, (request: string) => boolean>} */\nconst loaders = new Map();\n\n/**\n * @typedef {ComplexSerializableType[]} DeserializedType\n * @typedef {PrimitiveSerializableType[]} SerializedType\n * @extends {SerializerMiddleware<DeserializedType, SerializedType>}\n */\nclass ObjectMiddleware extends SerializerMiddleware {\n\t/**\n\t * @param {function(any): void} extendContext context extensions\n\t * @param {string | Hash} hashFunction hash function to use\n\t */\n\tconstructor(extendContext, hashFunction = \"md4\") {\n\t\tsuper();\n\t\tthis.extendContext = extendContext;\n\t\tthis._hashFunction = hashFunction;\n\t}\n\t/**\n\t * @param {RegExp} regExp RegExp for which the request is tested\n\t * @param {function(string): boolean} loader loader to load the request, returns true when successful\n\t * @returns {void}\n\t */\n\tstatic registerLoader(regExp, loader) {\n\t\tloaders.set(regExp, loader);\n\t}\n\n\t/**\n\t * @param {Constructor} Constructor the constructor\n\t * @param {string} request the request which will be required when deserializing\n\t * @param {string} name the name to make multiple serializer unique when sharing a request\n\t * @param {ObjectSerializer} serializer the serializer\n\t * @returns {void}\n\t */\n\tstatic register(Constructor, request, name, serializer) {\n\t\tconst key = request + \"/\" + name;\n\n\t\tif (serializers.has(Constructor)) {\n\t\t\tthrow new Error(\n\t\t\t\t`ObjectMiddleware.register: serializer for ${Constructor.name} is already registered`\n\t\t\t);\n\t\t}\n\n\t\tif (serializerInversed.has(key)) {\n\t\t\tthrow new Error(\n\t\t\t\t`ObjectMiddleware.register: serializer for ${key} is already registered`\n\t\t\t);\n\t\t}\n\n\t\tserializers.set(Constructor, {\n\t\t\trequest,\n\t\t\tname,\n\t\t\tserializer\n\t\t});\n\n\t\tserializerInversed.set(key, serializer);\n\t}\n\n\t/**\n\t * @param {Constructor} Constructor the constructor\n\t * @returns {void}\n\t */\n\tstatic registerNotSerializable(Constructor) {\n\t\tif (serializers.has(Constructor)) {\n\t\t\tthrow new Error(\n\t\t\t\t`ObjectMiddleware.registerNotSerializable: serializer for ${Constructor.name} is already registered`\n\t\t\t);\n\t\t}\n\n\t\tserializers.set(Constructor, NOT_SERIALIZABLE);\n\t}\n\n\tstatic getSerializerFor(object) {\n\t\tconst proto = Object.getPrototypeOf(object);\n\t\tlet c;\n\t\tif (proto === null) {\n\t\t\t// Object created with Object.create(null)\n\t\t\tc = null;\n\t\t} else {\n\t\t\tc = proto.constructor;\n\t\t\tif (!c) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Serialization of objects with prototype without valid constructor property not possible\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tconst config = serializers.get(c);\n\n\t\tif (!config) throw new Error(`No serializer registered for ${c.name}`);\n\t\tif (config === NOT_SERIALIZABLE) throw NOT_SERIALIZABLE;\n\n\t\treturn config;\n\t}\n\n\tstatic getDeserializerFor(request, name) {\n\t\tconst key = request + \"/\" + name;\n\t\tconst serializer = serializerInversed.get(key);\n\n\t\tif (serializer === undefined) {\n\t\t\tthrow new Error(`No deserializer registered for ${key}`);\n\t\t}\n\n\t\treturn serializer;\n\t}\n\n\tstatic _getDeserializerForWithoutError(request, name) {\n\t\tconst key = request + \"/\" + name;\n\t\tconst serializer = serializerInversed.get(key);\n\t\treturn serializer;\n\t}\n\n\t/**\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @returns {SerializedType|Promise<SerializedType>} serialized data\n\t */\n\tserialize(data, context) {\n\t\t/** @type {any[]} */\n\t\tlet result = [CURRENT_VERSION];\n\t\tlet currentPos = 0;\n\t\tlet referenceable = new Map();\n\t\tconst addReferenceable = item => {\n\t\t\treferenceable.set(item, currentPos++);\n\t\t};\n\t\tlet bufferDedupeMap = new Map();\n\t\tconst dedupeBuffer = buf => {\n\t\t\tconst len = buf.length;\n\t\t\tconst entry = bufferDedupeMap.get(len);\n\t\t\tif (entry === undefined) {\n\t\t\t\tbufferDedupeMap.set(len, buf);\n\t\t\t\treturn buf;\n\t\t\t}\n\t\t\tif (Buffer.isBuffer(entry)) {\n\t\t\t\tif (len < 32) {\n\t\t\t\t\tif (buf.equals(entry)) {\n\t\t\t\t\t\treturn entry;\n\t\t\t\t\t}\n\t\t\t\t\tbufferDedupeMap.set(len, [entry, buf]);\n\t\t\t\t\treturn buf;\n\t\t\t\t} else {\n\t\t\t\t\tconst hash = toHash(entry, this._hashFunction);\n\t\t\t\t\tconst newMap = new Map();\n\t\t\t\t\tnewMap.set(hash, entry);\n\t\t\t\t\tbufferDedupeMap.set(len, newMap);\n\t\t\t\t\tconst hashBuf = toHash(buf, this._hashFunction);\n\t\t\t\t\tif (hash === hashBuf) {\n\t\t\t\t\t\treturn entry;\n\t\t\t\t\t}\n\t\t\t\t\treturn buf;\n\t\t\t\t}\n\t\t\t} else if (Array.isArray(entry)) {\n\t\t\t\tif (entry.length < 16) {\n\t\t\t\t\tfor (const item of entry) {\n\t\t\t\t\t\tif (buf.equals(item)) {\n\t\t\t\t\t\t\treturn item;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tentry.push(buf);\n\t\t\t\t\treturn buf;\n\t\t\t\t} else {\n\t\t\t\t\tconst newMap = new Map();\n\t\t\t\t\tconst hash = toHash(buf, this._hashFunction);\n\t\t\t\t\tlet found;\n\t\t\t\t\tfor (const item of entry) {\n\t\t\t\t\t\tconst itemHash = toHash(item, this._hashFunction);\n\t\t\t\t\t\tnewMap.set(itemHash, item);\n\t\t\t\t\t\tif (found === undefined && itemHash === hash) found = item;\n\t\t\t\t\t}\n\t\t\t\t\tbufferDedupeMap.set(len, newMap);\n\t\t\t\t\tif (found === undefined) {\n\t\t\t\t\t\tnewMap.set(hash, buf);\n\t\t\t\t\t\treturn buf;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn found;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst hash = toHash(buf, this._hashFunction);\n\t\t\t\tconst item = entry.get(hash);\n\t\t\t\tif (item !== undefined) {\n\t\t\t\t\treturn item;\n\t\t\t\t}\n\t\t\t\tentry.set(hash, buf);\n\t\t\t\treturn buf;\n\t\t\t}\n\t\t};\n\t\tlet currentPosTypeLookup = 0;\n\t\tlet objectTypeLookup = new Map();\n\t\tconst cycleStack = new Set();\n\t\tconst stackToString = item => {\n\t\t\tconst arr = Array.from(cycleStack);\n\t\t\tarr.push(item);\n\t\t\treturn arr\n\t\t\t\t.map(item => {\n\t\t\t\t\tif (typeof item === \"string\") {\n\t\t\t\t\t\tif (item.length > 100) {\n\t\t\t\t\t\t\treturn `String ${JSON.stringify(item.slice(0, 100)).slice(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\t-1\n\t\t\t\t\t\t\t)}...\"`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn `String ${JSON.stringify(item)}`;\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst { request, name } = ObjectMiddleware.getSerializerFor(item);\n\t\t\t\t\t\tif (request) {\n\t\t\t\t\t\t\treturn `${request}${name ? `.${name}` : \"\"}`;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t// ignore -> fallback\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof item === \"object\" && item !== null) {\n\t\t\t\t\t\tif (item.constructor) {\n\t\t\t\t\t\t\tif (item.constructor === Object)\n\t\t\t\t\t\t\t\treturn `Object { ${Object.keys(item).join(\", \")} }`;\n\t\t\t\t\t\t\tif (item.constructor === Map) return `Map { ${item.size} items }`;\n\t\t\t\t\t\t\tif (item.constructor === Array)\n\t\t\t\t\t\t\t\treturn `Array { ${item.length} items }`;\n\t\t\t\t\t\t\tif (item.constructor === Set) return `Set { ${item.size} items }`;\n\t\t\t\t\t\t\tif (item.constructor === RegExp) return item.toString();\n\t\t\t\t\t\t\treturn `${item.constructor.name}`;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn `Object [null prototype] { ${Object.keys(item).join(\n\t\t\t\t\t\t\t\", \"\n\t\t\t\t\t\t)} }`;\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\treturn `${item}`;\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn `(${e.message})`;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.join(\" -> \");\n\t\t};\n\t\tlet hasDebugInfoAttached;\n\t\tlet ctx = {\n\t\t\twrite(value, key) {\n\t\t\t\ttry {\n\t\t\t\t\tprocess(value);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (e !== NOT_SERIALIZABLE) {\n\t\t\t\t\t\tif (hasDebugInfoAttached === undefined)\n\t\t\t\t\t\t\thasDebugInfoAttached = new WeakSet();\n\t\t\t\t\t\tif (!hasDebugInfoAttached.has(e)) {\n\t\t\t\t\t\t\te.message += `\\nwhile serializing ${stackToString(value)}`;\n\t\t\t\t\t\t\thasDebugInfoAttached.add(e);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t},\n\t\t\tsetCircularReference(ref) {\n\t\t\t\taddReferenceable(ref);\n\t\t\t},\n\t\t\tsnapshot() {\n\t\t\t\treturn {\n\t\t\t\t\tlength: result.length,\n\t\t\t\t\tcycleStackSize: cycleStack.size,\n\t\t\t\t\treferenceableSize: referenceable.size,\n\t\t\t\t\tcurrentPos,\n\t\t\t\t\tobjectTypeLookupSize: objectTypeLookup.size,\n\t\t\t\t\tcurrentPosTypeLookup\n\t\t\t\t};\n\t\t\t},\n\t\t\trollback(snapshot) {\n\t\t\t\tresult.length = snapshot.length;\n\t\t\t\tsetSetSize(cycleStack, snapshot.cycleStackSize);\n\t\t\t\tsetMapSize(referenceable, snapshot.referenceableSize);\n\t\t\t\tcurrentPos = snapshot.currentPos;\n\t\t\t\tsetMapSize(objectTypeLookup, snapshot.objectTypeLookupSize);\n\t\t\t\tcurrentPosTypeLookup = snapshot.currentPosTypeLookup;\n\t\t\t},\n\t\t\t...context\n\t\t};\n\t\tthis.extendContext(ctx);\n\t\tconst process = item => {\n\t\t\tif (Buffer.isBuffer(item)) {\n\t\t\t\t// check if we can emit a reference\n\t\t\t\tconst ref = referenceable.get(item);\n\t\t\t\tif (ref !== undefined) {\n\t\t\t\t\tresult.push(ESCAPE, ref - currentPos);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst alreadyUsedBuffer = dedupeBuffer(item);\n\t\t\t\tif (alreadyUsedBuffer !== item) {\n\t\t\t\t\tconst ref = referenceable.get(alreadyUsedBuffer);\n\t\t\t\t\tif (ref !== undefined) {\n\t\t\t\t\t\treferenceable.set(item, ref);\n\t\t\t\t\t\tresult.push(ESCAPE, ref - currentPos);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\titem = alreadyUsedBuffer;\n\t\t\t\t}\n\t\t\t\taddReferenceable(item);\n\n\t\t\t\tresult.push(item);\n\t\t\t} else if (item === ESCAPE) {\n\t\t\t\tresult.push(ESCAPE, ESCAPE_ESCAPE_VALUE);\n\t\t\t} else if (\n\t\t\t\ttypeof item === \"object\"\n\t\t\t\t// We don't have to check for null as ESCAPE is null and this has been checked before\n\t\t\t) {\n\t\t\t\t// check if we can emit a reference\n\t\t\t\tconst ref = referenceable.get(item);\n\t\t\t\tif (ref !== undefined) {\n\t\t\t\t\tresult.push(ESCAPE, ref - currentPos);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (cycleStack.has(item)) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tconst { request, name, serializer } =\n\t\t\t\t\tObjectMiddleware.getSerializerFor(item);\n\t\t\t\tconst key = `${request}/${name}`;\n\t\t\t\tconst lastIndex = objectTypeLookup.get(key);\n\n\t\t\t\tif (lastIndex === undefined) {\n\t\t\t\t\tobjectTypeLookup.set(key, currentPosTypeLookup++);\n\n\t\t\t\t\tresult.push(ESCAPE, request, name);\n\t\t\t\t} else {\n\t\t\t\t\tresult.push(ESCAPE, currentPosTypeLookup - lastIndex);\n\t\t\t\t}\n\n\t\t\t\tcycleStack.add(item);\n\n\t\t\t\ttry {\n\t\t\t\t\tserializer.serialize(item, ctx);\n\t\t\t\t} finally {\n\t\t\t\t\tcycleStack.delete(item);\n\t\t\t\t}\n\n\t\t\t\tresult.push(ESCAPE, ESCAPE_END_OBJECT);\n\n\t\t\t\taddReferenceable(item);\n\t\t\t} else if (typeof item === \"string\") {\n\t\t\t\tif (item.length > 1) {\n\t\t\t\t\t// short strings are shorter when not emitting a reference (this saves 1 byte per empty string)\n\t\t\t\t\t// check if we can emit a reference\n\t\t\t\t\tconst ref = referenceable.get(item);\n\t\t\t\t\tif (ref !== undefined) {\n\t\t\t\t\t\tresult.push(ESCAPE, ref - currentPos);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\taddReferenceable(item);\n\t\t\t\t}\n\n\t\t\t\tif (item.length > 102400 && context.logger) {\n\t\t\t\t\tcontext.logger.warn(\n\t\t\t\t\t\t`Serializing big strings (${Math.round(\n\t\t\t\t\t\t\titem.length / 1024\n\t\t\t\t\t\t)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tresult.push(item);\n\t\t\t} else if (typeof item === \"function\") {\n\t\t\t\tif (!SerializerMiddleware.isLazy(item))\n\t\t\t\t\tthrow new Error(\"Unexpected function \" + item);\n\t\t\t\t/** @type {SerializedType} */\n\t\t\t\tconst serializedData =\n\t\t\t\t\tSerializerMiddleware.getLazySerializedValue(item);\n\t\t\t\tif (serializedData !== undefined) {\n\t\t\t\t\tif (typeof serializedData === \"function\") {\n\t\t\t\t\t\tresult.push(serializedData);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error(\"Not implemented\");\n\t\t\t\t\t}\n\t\t\t\t} else if (SerializerMiddleware.isLazy(item, this)) {\n\t\t\t\t\tthrow new Error(\"Not implemented\");\n\t\t\t\t} else {\n\t\t\t\t\tconst data = SerializerMiddleware.serializeLazy(item, data =>\n\t\t\t\t\t\tthis.serialize([data], context)\n\t\t\t\t\t);\n\t\t\t\t\tSerializerMiddleware.setLazySerializedValue(item, data);\n\t\t\t\t\tresult.push(data);\n\t\t\t\t}\n\t\t\t} else if (item === undefined) {\n\t\t\t\tresult.push(ESCAPE, ESCAPE_UNDEFINED);\n\t\t\t} else {\n\t\t\t\tresult.push(item);\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\tfor (const item of data) {\n\t\t\t\tprocess(item);\n\t\t\t}\n\t\t\treturn result;\n\t\t} catch (e) {\n\t\t\tif (e === NOT_SERIALIZABLE) return null;\n\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\t// Get rid of these references to avoid leaking memory\n\t\t\t// This happens because the optimized code v8 generates\n\t\t\t// is optimized for our \"ctx.write\" method so it will reference\n\t\t\t// it from e. g. Dependency.prototype.serialize -(IC)-> ctx.write\n\t\t\tdata =\n\t\t\t\tresult =\n\t\t\t\treferenceable =\n\t\t\t\tbufferDedupeMap =\n\t\t\t\tobjectTypeLookup =\n\t\t\t\tctx =\n\t\t\t\t\tundefined;\n\t\t}\n\t}\n\n\t/**\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType|Promise<DeserializedType>} deserialized data\n\t */\n\tdeserialize(data, context) {\n\t\tlet currentDataPos = 0;\n\t\tconst read = () => {\n\t\t\tif (currentDataPos >= data.length)\n\t\t\t\tthrow new Error(\"Unexpected end of stream\");\n\n\t\t\treturn data[currentDataPos++];\n\t\t};\n\n\t\tif (read() !== CURRENT_VERSION)\n\t\t\tthrow new Error(\"Version mismatch, serializer changed\");\n\n\t\tlet currentPos = 0;\n\t\tlet referenceable = [];\n\t\tconst addReferenceable = item => {\n\t\t\treferenceable.push(item);\n\t\t\tcurrentPos++;\n\t\t};\n\t\tlet currentPosTypeLookup = 0;\n\t\tlet objectTypeLookup = [];\n\t\tlet result = [];\n\t\tlet ctx = {\n\t\t\tread() {\n\t\t\t\treturn decodeValue();\n\t\t\t},\n\t\t\tsetCircularReference(ref) {\n\t\t\t\taddReferenceable(ref);\n\t\t\t},\n\t\t\t...context\n\t\t};\n\t\tthis.extendContext(ctx);\n\t\tconst decodeValue = () => {\n\t\t\tconst item = read();\n\n\t\t\tif (item === ESCAPE) {\n\t\t\t\tconst nextItem = read();\n\n\t\t\t\tif (nextItem === ESCAPE_ESCAPE_VALUE) {\n\t\t\t\t\treturn ESCAPE;\n\t\t\t\t} else if (nextItem === ESCAPE_UNDEFINED) {\n\t\t\t\t\treturn undefined;\n\t\t\t\t} else if (nextItem === ESCAPE_END_OBJECT) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Unexpected end of object at position ${currentDataPos - 1}`\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tconst request = nextItem;\n\t\t\t\t\tlet serializer;\n\n\t\t\t\t\tif (typeof request === \"number\") {\n\t\t\t\t\t\tif (request < 0) {\n\t\t\t\t\t\t\t// relative reference\n\t\t\t\t\t\t\treturn referenceable[currentPos + request];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tserializer = objectTypeLookup[currentPosTypeLookup - request];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (typeof request !== \"string\") {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t`Unexpected type (${typeof request}) of request ` +\n\t\t\t\t\t\t\t\t\t`at position ${currentDataPos - 1}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst name = read();\n\n\t\t\t\t\t\tserializer = ObjectMiddleware._getDeserializerForWithoutError(\n\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tif (serializer === undefined) {\n\t\t\t\t\t\t\tif (request && !loadedRequests.has(request)) {\n\t\t\t\t\t\t\t\tlet loaded = false;\n\t\t\t\t\t\t\t\tfor (const [regExp, loader] of loaders) {\n\t\t\t\t\t\t\t\t\tif (regExp.test(request)) {\n\t\t\t\t\t\t\t\t\t\tif (loader(request)) {\n\t\t\t\t\t\t\t\t\t\t\tloaded = true;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (!loaded) {\n\t\t\t\t\t\t\t\t\t__webpack_require__(\"./node_modules/webpack/lib/serialization sync recursive\")(request);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tloadedRequests.add(request);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tserializer = ObjectMiddleware.getDeserializerFor(request, name);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tobjectTypeLookup.push(serializer);\n\t\t\t\t\t\tcurrentPosTypeLookup++;\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst item = serializer.deserialize(ctx);\n\t\t\t\t\t\tconst end1 = read();\n\n\t\t\t\t\t\tif (end1 !== ESCAPE) {\n\t\t\t\t\t\t\tthrow new Error(\"Expected end of object\");\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst end2 = read();\n\n\t\t\t\t\t\tif (end2 !== ESCAPE_END_OBJECT) {\n\t\t\t\t\t\t\tthrow new Error(\"Expected end of object\");\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\taddReferenceable(item);\n\n\t\t\t\t\t\treturn item;\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t// As this is only for error handling, we omit creating a Map for\n\t\t\t\t\t\t// faster access to this information, as this would affect performance\n\t\t\t\t\t\t// in the good case\n\t\t\t\t\t\tlet serializerEntry;\n\t\t\t\t\t\tfor (const entry of serializers) {\n\t\t\t\t\t\t\tif (entry[1].serializer === serializer) {\n\t\t\t\t\t\t\t\tserializerEntry = entry;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst name = !serializerEntry\n\t\t\t\t\t\t\t? \"unknown\"\n\t\t\t\t\t\t\t: !serializerEntry[1].request\n\t\t\t\t\t\t\t? serializerEntry[0].name\n\t\t\t\t\t\t\t: serializerEntry[1].name\n\t\t\t\t\t\t\t? `${serializerEntry[1].request} ${serializerEntry[1].name}`\n\t\t\t\t\t\t\t: serializerEntry[1].request;\n\t\t\t\t\t\terr.message += `\\n(during deserialization of ${name})`;\n\t\t\t\t\t\tthrow err;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (typeof item === \"string\") {\n\t\t\t\tif (item.length > 1) {\n\t\t\t\t\taddReferenceable(item);\n\t\t\t\t}\n\n\t\t\t\treturn item;\n\t\t\t} else if (Buffer.isBuffer(item)) {\n\t\t\t\taddReferenceable(item);\n\n\t\t\t\treturn item;\n\t\t\t} else if (typeof item === \"function\") {\n\t\t\t\treturn SerializerMiddleware.deserializeLazy(\n\t\t\t\t\titem,\n\t\t\t\t\tdata => this.deserialize(data, context)[0]\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\treturn item;\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\twhile (currentDataPos < data.length) {\n\t\t\t\tresult.push(decodeValue());\n\t\t\t}\n\t\t\treturn result;\n\t\t} finally {\n\t\t\t// Get rid of these references to avoid leaking memory\n\t\t\t// This happens because the optimized code v8 generates\n\t\t\t// is optimized for our \"ctx.read\" method so it will reference\n\t\t\t// it from e. g. Dependency.prototype.deserialize -(IC)-> ctx.read\n\t\t\tresult = referenceable = data = objectTypeLookup = ctx = undefined;\n\t\t}\n\t}\n}\n\nmodule.exports = ObjectMiddleware;\nmodule.exports.NOT_SERIALIZABLE = NOT_SERIALIZABLE;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/ObjectMiddleware.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/PlainObjectSerializer.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/PlainObjectSerializer.js ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst cache = new WeakMap();\n\nclass ObjectStructure {\n\tconstructor() {\n\t\tthis.keys = undefined;\n\t\tthis.children = undefined;\n\t}\n\n\tgetKeys(keys) {\n\t\tif (this.keys === undefined) this.keys = keys;\n\t\treturn this.keys;\n\t}\n\n\tkey(key) {\n\t\tif (this.children === undefined) this.children = new Map();\n\t\tconst child = this.children.get(key);\n\t\tif (child !== undefined) return child;\n\t\tconst newChild = new ObjectStructure();\n\t\tthis.children.set(key, newChild);\n\t\treturn newChild;\n\t}\n}\n\nconst getCachedKeys = (keys, cacheAssoc) => {\n\tlet root = cache.get(cacheAssoc);\n\tif (root === undefined) {\n\t\troot = new ObjectStructure();\n\t\tcache.set(cacheAssoc, root);\n\t}\n\tlet current = root;\n\tfor (const key of keys) {\n\t\tcurrent = current.key(key);\n\t}\n\treturn current.getKeys(keys);\n};\n\nclass PlainObjectSerializer {\n\tserialize(obj, { write }) {\n\t\tconst keys = Object.keys(obj);\n\t\tif (keys.length > 128) {\n\t\t\t// Objects with so many keys are unlikely to share structure\n\t\t\t// with other objects\n\t\t\twrite(keys);\n\t\t\tfor (const key of keys) {\n\t\t\t\twrite(obj[key]);\n\t\t\t}\n\t\t} else if (keys.length > 1) {\n\t\t\twrite(getCachedKeys(keys, write));\n\t\t\tfor (const key of keys) {\n\t\t\t\twrite(obj[key]);\n\t\t\t}\n\t\t} else if (keys.length === 1) {\n\t\t\tconst key = keys[0];\n\t\t\twrite(key);\n\t\t\twrite(obj[key]);\n\t\t} else {\n\t\t\twrite(null);\n\t\t}\n\t}\n\tdeserialize({ read }) {\n\t\tconst keys = read();\n\t\tconst obj = {};\n\t\tif (Array.isArray(keys)) {\n\t\t\tfor (const key of keys) {\n\t\t\t\tobj[key] = read();\n\t\t\t}\n\t\t} else if (keys !== null) {\n\t\t\tobj[keys] = read();\n\t\t}\n\t\treturn obj;\n\t}\n}\n\nmodule.exports = PlainObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/PlainObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/RegExpObjectSerializer.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/RegExpObjectSerializer.js ***! \**************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass RegExpObjectSerializer {\n\tserialize(obj, { write }) {\n\t\twrite(obj.source);\n\t\twrite(obj.flags);\n\t}\n\tdeserialize({ read }) {\n\t\treturn new RegExp(read(), read());\n\t}\n}\n\nmodule.exports = RegExpObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/RegExpObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/Serializer.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/Serializer.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass Serializer {\n\tconstructor(middlewares, context) {\n\t\tthis.serializeMiddlewares = middlewares.slice();\n\t\tthis.deserializeMiddlewares = middlewares.slice().reverse();\n\t\tthis.context = context;\n\t}\n\n\tserialize(obj, context) {\n\t\tconst ctx = { ...context, ...this.context };\n\t\tlet current = obj;\n\t\tfor (const middleware of this.serializeMiddlewares) {\n\t\t\tif (current && typeof current.then === \"function\") {\n\t\t\t\tcurrent = current.then(data => data && middleware.serialize(data, ctx));\n\t\t\t} else if (current) {\n\t\t\t\ttry {\n\t\t\t\t\tcurrent = middleware.serialize(current, ctx);\n\t\t\t\t} catch (err) {\n\t\t\t\t\tcurrent = Promise.reject(err);\n\t\t\t\t}\n\t\t\t} else break;\n\t\t}\n\t\treturn current;\n\t}\n\n\tdeserialize(value, context) {\n\t\tconst ctx = { ...context, ...this.context };\n\t\t/** @type {any} */\n\t\tlet current = value;\n\t\tfor (const middleware of this.deserializeMiddlewares) {\n\t\t\tif (current && typeof current.then === \"function\") {\n\t\t\t\tcurrent = current.then(data => middleware.deserialize(data, ctx));\n\t\t\t} else {\n\t\t\t\tcurrent = middleware.deserialize(current, ctx);\n\t\t\t}\n\t\t}\n\t\treturn current;\n\t}\n}\n\nmodule.exports = Serializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/Serializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/SerializerMiddleware.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/SerializerMiddleware.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\nconst LAZY_TARGET = Symbol(\"lazy serialization target\");\nconst LAZY_SERIALIZED_VALUE = Symbol(\"lazy serialization data\");\n\n/**\n * @template DeserializedType\n * @template SerializedType\n */\nclass SerializerMiddleware {\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @returns {SerializedType|Promise<SerializedType>} serialized data\n\t */\n\tserialize(data, context) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ../AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * @abstract\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType|Promise<DeserializedType>} deserialized data\n\t */\n\tdeserialize(data, context) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ../AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/**\n\t * @param {any | function(): Promise<any> | any} value contained value or function to value\n\t * @param {SerializerMiddleware<any, any>} target target middleware\n\t * @param {object=} options lazy options\n\t * @param {any=} serializedValue serialized value\n\t * @returns {function(): Promise<any> | any} lazy function\n\t */\n\tstatic createLazy(value, target, options = {}, serializedValue) {\n\t\tif (SerializerMiddleware.isLazy(value, target)) return value;\n\t\tconst fn = typeof value === \"function\" ? value : () => value;\n\t\tfn[LAZY_TARGET] = target;\n\t\t/** @type {any} */ (fn).options = options;\n\t\tfn[LAZY_SERIALIZED_VALUE] = serializedValue;\n\t\treturn fn;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} fn lazy function\n\t * @param {SerializerMiddleware<any, any>=} target target middleware\n\t * @returns {boolean} true, when fn is a lazy function (optionally of that target)\n\t */\n\tstatic isLazy(fn, target) {\n\t\tif (typeof fn !== \"function\") return false;\n\t\tconst t = fn[LAZY_TARGET];\n\t\treturn target ? t === target : !!t;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} fn lazy function\n\t * @returns {object} options\n\t */\n\tstatic getLazyOptions(fn) {\n\t\tif (typeof fn !== \"function\") return undefined;\n\t\treturn /** @type {any} */ (fn).options;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} fn lazy function\n\t * @returns {any} serialized value\n\t */\n\tstatic getLazySerializedValue(fn) {\n\t\tif (typeof fn !== \"function\") return undefined;\n\t\treturn fn[LAZY_SERIALIZED_VALUE];\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} fn lazy function\n\t * @param {any} value serialized value\n\t * @returns {void}\n\t */\n\tstatic setLazySerializedValue(fn, value) {\n\t\tfn[LAZY_SERIALIZED_VALUE] = value;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} lazy lazy function\n\t * @param {function(any): Promise<any> | any} serialize serialize function\n\t * @returns {function(): Promise<any> | any} new lazy\n\t */\n\tstatic serializeLazy(lazy, serialize) {\n\t\tconst fn = memoize(() => {\n\t\t\tconst r = lazy();\n\t\t\tif (r && typeof r.then === \"function\") {\n\t\t\t\treturn r.then(data => data && serialize(data));\n\t\t\t}\n\t\t\treturn serialize(r);\n\t\t});\n\t\tfn[LAZY_TARGET] = lazy[LAZY_TARGET];\n\t\t/** @type {any} */ (fn).options = /** @type {any} */ (lazy).options;\n\t\tlazy[LAZY_SERIALIZED_VALUE] = fn;\n\t\treturn fn;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} lazy lazy function\n\t * @param {function(any): Promise<any> | any} deserialize deserialize function\n\t * @returns {function(): Promise<any> | any} new lazy\n\t */\n\tstatic deserializeLazy(lazy, deserialize) {\n\t\tconst fn = memoize(() => {\n\t\t\tconst r = lazy();\n\t\t\tif (r && typeof r.then === \"function\") {\n\t\t\t\treturn r.then(data => deserialize(data));\n\t\t\t}\n\t\t\treturn deserialize(r);\n\t\t});\n\t\tfn[LAZY_TARGET] = lazy[LAZY_TARGET];\n\t\t/** @type {any} */ (fn).options = /** @type {any} */ (lazy).options;\n\t\tfn[LAZY_SERIALIZED_VALUE] = lazy;\n\t\treturn fn;\n\t}\n\n\t/**\n\t * @param {function(): Promise<any> | any} lazy lazy function\n\t * @returns {function(): Promise<any> | any} new lazy\n\t */\n\tstatic unMemoizeLazy(lazy) {\n\t\tif (!SerializerMiddleware.isLazy(lazy)) return lazy;\n\t\tconst fn = () => {\n\t\t\tthrow new Error(\n\t\t\t\t\"A lazy value that has been unmemorized can't be called again\"\n\t\t\t);\n\t\t};\n\t\tfn[LAZY_SERIALIZED_VALUE] = SerializerMiddleware.unMemoizeLazy(\n\t\t\tlazy[LAZY_SERIALIZED_VALUE]\n\t\t);\n\t\tfn[LAZY_TARGET] = lazy[LAZY_TARGET];\n\t\tfn.options = /** @type {any} */ (lazy).options;\n\t\treturn fn;\n\t}\n}\n\nmodule.exports = SerializerMiddleware;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/SerializerMiddleware.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/SetObjectSerializer.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/SetObjectSerializer.js ***! \***********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nclass SetObjectSerializer {\n\tserialize(obj, { write }) {\n\t\twrite(obj.size);\n\t\tfor (const value of obj) {\n\t\t\twrite(value);\n\t\t}\n\t}\n\tdeserialize({ read }) {\n\t\tlet size = read();\n\t\tconst set = new Set();\n\t\tfor (let i = 0; i < size; i++) {\n\t\t\tset.add(read());\n\t\t}\n\t\treturn set;\n\t}\n}\n\nmodule.exports = SetObjectSerializer;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/SetObjectSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization/SingleItemMiddleware.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/serialization/SingleItemMiddleware.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst SerializerMiddleware = __webpack_require__(/*! ./SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\");\n\n/**\n * @typedef {any} DeserializedType\n * @typedef {any[]} SerializedType\n * @extends {SerializerMiddleware<any, any[]>}\n */\nclass SingleItemMiddleware extends SerializerMiddleware {\n\t/**\n\t * @param {DeserializedType} data data\n\t * @param {Object} context context object\n\t * @returns {SerializedType|Promise<SerializedType>} serialized data\n\t */\n\tserialize(data, context) {\n\t\treturn [data];\n\t}\n\n\t/**\n\t * @param {SerializedType} data data\n\t * @param {Object} context context object\n\t * @returns {DeserializedType|Promise<DeserializedType>} deserialized data\n\t */\n\tdeserialize(data, context) {\n\t\treturn data[0];\n\t}\n}\n\nmodule.exports = SingleItemMiddleware;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/SingleItemMiddleware.js?"); /***/ }), /***/ "./node_modules/webpack/lib/serialization sync recursive": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/serialization/ sync ***! \******************************************************/ /***/ ((module) => { eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/webpack/lib/serialization sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/serialization/_sync?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ConsumeSharedFallbackDependency extends ModuleDependency {\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"consume shared fallback\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tConsumeSharedFallbackDependency,\n\t\"webpack/lib/sharing/ConsumeSharedFallbackDependency\"\n);\n\nmodule.exports = ConsumeSharedFallbackDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ConsumeSharedModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ConsumeSharedModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst { rangeToString, stringifyHoley } = __webpack_require__(/*! ../util/semver */ \"./node_modules/webpack/lib/util/semver.js\");\nconst ConsumeSharedFallbackDependency = __webpack_require__(/*! ./ConsumeSharedFallbackDependency */ \"./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Dependency\").UpdateHashContext} UpdateHashContext */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n/** @typedef {import(\"../util/semver\").SemVerRange} SemVerRange */\n\n/**\n * @typedef {Object} ConsumeOptions\n * @property {string=} import fallback request\n * @property {string=} importResolved resolved fallback request\n * @property {string} shareKey global share key\n * @property {string} shareScope share scope\n * @property {SemVerRange | false | undefined} requiredVersion version requirement\n * @property {string} packageName package name to determine required version automatically\n * @property {boolean} strictVersion don't use shared version even if version isn't valid\n * @property {boolean} singleton use single global version\n * @property {boolean} eager include the fallback module in a sync way\n */\n\nconst TYPES = new Set([\"consume-shared\"]);\n\nclass ConsumeSharedModule extends Module {\n\t/**\n\t * @param {string} context context\n\t * @param {ConsumeOptions} options consume options\n\t */\n\tconstructor(context, options) {\n\t\tsuper(\"consume-shared-module\", context);\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\tconst {\n\t\t\tshareKey,\n\t\t\tshareScope,\n\t\t\timportResolved,\n\t\t\trequiredVersion,\n\t\t\tstrictVersion,\n\t\t\tsingleton,\n\t\t\teager\n\t\t} = this.options;\n\t\treturn `consume-shared-module|${shareScope}|${shareKey}|${\n\t\t\trequiredVersion && rangeToString(requiredVersion)\n\t\t}|${strictVersion}|${importResolved}|${singleton}|${eager}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\tconst {\n\t\t\tshareKey,\n\t\t\tshareScope,\n\t\t\timportResolved,\n\t\t\trequiredVersion,\n\t\t\tstrictVersion,\n\t\t\tsingleton,\n\t\t\teager\n\t\t} = this.options;\n\t\treturn `consume shared module (${shareScope}) ${shareKey}@${\n\t\t\trequiredVersion ? rangeToString(requiredVersion) : \"*\"\n\t\t}${strictVersion ? \" (strict)\" : \"\"}${singleton ? \" (singleton)\" : \"\"}${\n\t\t\timportResolved\n\t\t\t\t? ` (fallback: ${requestShortener.shorten(importResolved)})`\n\t\t\t\t: \"\"\n\t\t}${eager ? \" (eager)\" : \"\"}`;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\tconst { shareKey, shareScope, import: request } = this.options;\n\t\treturn `${\n\t\t\tthis.layer ? `(${this.layer})/` : \"\"\n\t\t}webpack/sharing/consume/${shareScope}/${shareKey}${\n\t\t\trequest ? `/${request}` : \"\"\n\t\t}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(null, !this.buildInfo);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {};\n\t\tif (this.options.import) {\n\t\t\tconst dep = new ConsumeSharedFallbackDependency(this.options.import);\n\t\t\tif (this.options.eager) {\n\t\t\t\tthis.addDependency(dep);\n\t\t\t} else {\n\t\t\t\tconst block = new AsyncDependenciesBlock({});\n\t\t\t\tblock.addDependency(dep);\n\t\t\t\tthis.addBlock(block);\n\t\t\t}\n\t\t}\n\t\tcallback();\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 42;\n\t}\n\n\t/**\n\t * @param {Hash} hash the hash used to track dependencies\n\t * @param {UpdateHashContext} context context\n\t * @returns {void}\n\t */\n\tupdateHash(hash, context) {\n\t\thash.update(JSON.stringify(this.options));\n\t\tsuper.updateHash(hash, context);\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ chunkGraph, moduleGraph, runtimeTemplate }) {\n\t\tconst runtimeRequirements = new Set([RuntimeGlobals.shareScopeMap]);\n\t\tconst {\n\t\t\tshareScope,\n\t\t\tshareKey,\n\t\t\tstrictVersion,\n\t\t\trequiredVersion,\n\t\t\timport: request,\n\t\t\tsingleton,\n\t\t\teager\n\t\t} = this.options;\n\t\tlet fallbackCode;\n\t\tif (request) {\n\t\t\tif (eager) {\n\t\t\t\tconst dep = this.dependencies[0];\n\t\t\t\tfallbackCode = runtimeTemplate.syncModuleFactory({\n\t\t\t\t\tdependency: dep,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntimeRequirements,\n\t\t\t\t\trequest: this.options.import\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconst block = this.blocks[0];\n\t\t\t\tfallbackCode = runtimeTemplate.asyncModuleFactory({\n\t\t\t\t\tblock,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\truntimeRequirements,\n\t\t\t\t\trequest: this.options.import\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tlet fn = \"load\";\n\t\tconst args = [JSON.stringify(shareScope), JSON.stringify(shareKey)];\n\t\tif (requiredVersion) {\n\t\t\tif (strictVersion) {\n\t\t\t\tfn += \"Strict\";\n\t\t\t}\n\t\t\tif (singleton) {\n\t\t\t\tfn += \"Singleton\";\n\t\t\t}\n\t\t\targs.push(stringifyHoley(requiredVersion));\n\t\t\tfn += \"VersionCheck\";\n\t\t} else {\n\t\t\tif (singleton) {\n\t\t\t\tfn += \"Singleton\";\n\t\t\t}\n\t\t}\n\t\tif (fallbackCode) {\n\t\t\tfn += \"Fallback\";\n\t\t\targs.push(fallbackCode);\n\t\t}\n\t\tconst code = runtimeTemplate.returningFunction(`${fn}(${args.join(\", \")})`);\n\t\tconst sources = new Map();\n\t\tsources.set(\"consume-shared\", new RawSource(code));\n\t\treturn {\n\t\t\truntimeRequirements,\n\t\t\tsources\n\t\t};\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this.options);\n\t\tsuper.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tconst { read } = context;\n\t\tthis.options = read();\n\t\tsuper.deserialize(context);\n\t}\n}\n\nmakeSerializable(\n\tConsumeSharedModule,\n\t\"webpack/lib/sharing/ConsumeSharedModule\"\n);\n\nmodule.exports = ConsumeSharedModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ConsumeSharedModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleNotFoundError = __webpack_require__(/*! ../ModuleNotFoundError */ \"./node_modules/webpack/lib/ModuleNotFoundError.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst { parseOptions } = __webpack_require__(/*! ../container/options */ \"./node_modules/webpack/lib/container/options.js\");\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst { parseRange } = __webpack_require__(/*! ../util/semver */ \"./node_modules/webpack/lib/util/semver.js\");\nconst ConsumeSharedFallbackDependency = __webpack_require__(/*! ./ConsumeSharedFallbackDependency */ \"./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js\");\nconst ConsumeSharedModule = __webpack_require__(/*! ./ConsumeSharedModule */ \"./node_modules/webpack/lib/sharing/ConsumeSharedModule.js\");\nconst ConsumeSharedRuntimeModule = __webpack_require__(/*! ./ConsumeSharedRuntimeModule */ \"./node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js\");\nconst ProvideForSharedDependency = __webpack_require__(/*! ./ProvideForSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js\");\nconst { resolveMatchedConfigs } = __webpack_require__(/*! ./resolveMatchedConfigs */ \"./node_modules/webpack/lib/sharing/resolveMatchedConfigs.js\");\nconst {\n\tisRequiredVersion,\n\tgetDescriptionFile,\n\tgetRequiredVersionFromDescriptionFile\n} = __webpack_require__(/*! ./utils */ \"./node_modules/webpack/lib/sharing/utils.js\");\n\n/** @typedef {import(\"../../declarations/plugins/sharing/ConsumeSharedPlugin\").ConsumeSharedPluginOptions} ConsumeSharedPluginOptions */\n/** @typedef {import(\"../../declarations/plugins/sharing/ConsumeSharedPlugin\").ConsumesConfig} ConsumesConfig */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../ResolverFactory\").ResolveOptionsWithDependencyType} ResolveOptionsWithDependencyType */\n/** @typedef {import(\"./ConsumeSharedModule\").ConsumeOptions} ConsumeOptions */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/sharing/ConsumeSharedPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/sharing/ConsumeSharedPlugin.json */ \"./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json\"),\n\t{\n\t\tname: \"Consume Shared Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\n/** @type {ResolveOptionsWithDependencyType} */\nconst RESOLVE_OPTIONS = { dependencyType: \"esm\" };\nconst PLUGIN_NAME = \"ConsumeSharedPlugin\";\n\nclass ConsumeSharedPlugin {\n\t/**\n\t * @param {ConsumeSharedPluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tif (typeof options !== \"string\") {\n\t\t\tvalidate(options);\n\t\t}\n\n\t\t/** @type {[string, ConsumeOptions][]} */\n\t\tthis._consumes = parseOptions(\n\t\t\toptions.consumes,\n\t\t\t(item, key) => {\n\t\t\t\tif (Array.isArray(item)) throw new Error(\"Unexpected array in options\");\n\t\t\t\t/** @type {ConsumeOptions} */\n\t\t\t\tlet result =\n\t\t\t\t\titem === key || !isRequiredVersion(item)\n\t\t\t\t\t\t? // item is a request/key\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\timport: key,\n\t\t\t\t\t\t\t\tshareScope: options.shareScope || \"default\",\n\t\t\t\t\t\t\t\tshareKey: key,\n\t\t\t\t\t\t\t\trequiredVersion: undefined,\n\t\t\t\t\t\t\t\tpackageName: undefined,\n\t\t\t\t\t\t\t\tstrictVersion: false,\n\t\t\t\t\t\t\t\tsingleton: false,\n\t\t\t\t\t\t\t\teager: false\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: // key is a request/key\n\t\t\t\t\t\t // item is a version\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\timport: key,\n\t\t\t\t\t\t\t\tshareScope: options.shareScope || \"default\",\n\t\t\t\t\t\t\t\tshareKey: key,\n\t\t\t\t\t\t\t\trequiredVersion: parseRange(item),\n\t\t\t\t\t\t\t\tstrictVersion: true,\n\t\t\t\t\t\t\t\tpackageName: undefined,\n\t\t\t\t\t\t\t\tsingleton: false,\n\t\t\t\t\t\t\t\teager: false\n\t\t\t\t\t\t };\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\t(item, key) => ({\n\t\t\t\timport: item.import === false ? undefined : item.import || key,\n\t\t\t\tshareScope: item.shareScope || options.shareScope || \"default\",\n\t\t\t\tshareKey: item.shareKey || key,\n\t\t\t\trequiredVersion:\n\t\t\t\t\ttypeof item.requiredVersion === \"string\"\n\t\t\t\t\t\t? parseRange(item.requiredVersion)\n\t\t\t\t\t\t: item.requiredVersion,\n\t\t\t\tstrictVersion:\n\t\t\t\t\ttypeof item.strictVersion === \"boolean\"\n\t\t\t\t\t\t? item.strictVersion\n\t\t\t\t\t\t: item.import !== false && !item.singleton,\n\t\t\t\tpackageName: item.packageName,\n\t\t\t\tsingleton: !!item.singleton,\n\t\t\t\teager: !!item.eager\n\t\t\t})\n\t\t);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\tPLUGIN_NAME,\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tConsumeSharedFallbackDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tlet unresolvedConsumes, resolvedConsumes, prefixedConsumes;\n\t\t\t\tconst promise = resolveMatchedConfigs(compilation, this._consumes).then(\n\t\t\t\t\t({ resolved, unresolved, prefixed }) => {\n\t\t\t\t\t\tresolvedConsumes = resolved;\n\t\t\t\t\t\tunresolvedConsumes = unresolved;\n\t\t\t\t\t\tprefixedConsumes = prefixed;\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tconst resolver = compilation.resolverFactory.get(\n\t\t\t\t\t\"normal\",\n\t\t\t\t\tRESOLVE_OPTIONS\n\t\t\t\t);\n\n\t\t\t\t/**\n\t\t\t\t * @param {string} context issuer directory\n\t\t\t\t * @param {string} request request\n\t\t\t\t * @param {ConsumeOptions} config options\n\t\t\t\t * @returns {Promise<ConsumeSharedModule>} create module\n\t\t\t\t */\n\t\t\t\tconst createConsumeSharedModule = (context, request, config) => {\n\t\t\t\t\tconst requiredVersionWarning = details => {\n\t\t\t\t\t\tconst error = new WebpackError(\n\t\t\t\t\t\t\t`No required version specified and unable to automatically determine one. ${details}`\n\t\t\t\t\t\t);\n\t\t\t\t\t\terror.file = `shared module ${request}`;\n\t\t\t\t\t\tcompilation.warnings.push(error);\n\t\t\t\t\t};\n\t\t\t\t\tconst directFallback =\n\t\t\t\t\t\tconfig.import &&\n\t\t\t\t\t\t/^(\\.\\.?(\\/|$)|\\/|[A-Za-z]:|\\\\\\\\)/.test(config.import);\n\t\t\t\t\treturn Promise.all([\n\t\t\t\t\t\tnew Promise(resolve => {\n\t\t\t\t\t\t\tif (!config.import) return resolve();\n\t\t\t\t\t\t\tconst resolveContext = {\n\t\t\t\t\t\t\t\t/** @type {LazySet<string>} */\n\t\t\t\t\t\t\t\tfileDependencies: new LazySet(),\n\t\t\t\t\t\t\t\t/** @type {LazySet<string>} */\n\t\t\t\t\t\t\t\tcontextDependencies: new LazySet(),\n\t\t\t\t\t\t\t\t/** @type {LazySet<string>} */\n\t\t\t\t\t\t\t\tmissingDependencies: new LazySet()\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tresolver.resolve(\n\t\t\t\t\t\t\t\t{},\n\t\t\t\t\t\t\t\tdirectFallback ? compiler.context : context,\n\t\t\t\t\t\t\t\tconfig.import,\n\t\t\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\tcompilation.contextDependencies.addAll(\n\t\t\t\t\t\t\t\t\t\tresolveContext.contextDependencies\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tcompilation.fileDependencies.addAll(\n\t\t\t\t\t\t\t\t\t\tresolveContext.fileDependencies\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tcompilation.missingDependencies.addAll(\n\t\t\t\t\t\t\t\t\t\tresolveContext.missingDependencies\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\tcompilation.errors.push(\n\t\t\t\t\t\t\t\t\t\t\tnew ModuleNotFoundError(null, err, {\n\t\t\t\t\t\t\t\t\t\t\t\tname: `resolving fallback for shared module ${request}`\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tresolve(result);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tnew Promise(resolve => {\n\t\t\t\t\t\t\tif (config.requiredVersion !== undefined)\n\t\t\t\t\t\t\t\treturn resolve(config.requiredVersion);\n\t\t\t\t\t\t\tlet packageName = config.packageName;\n\t\t\t\t\t\t\tif (packageName === undefined) {\n\t\t\t\t\t\t\t\tif (/^(\\/|[A-Za-z]:|\\\\\\\\)/.test(request)) {\n\t\t\t\t\t\t\t\t\t// For relative or absolute requests we don't automatically use a packageName.\n\t\t\t\t\t\t\t\t\t// If wished one can specify one with the packageName option.\n\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst match = /^((?:@[^\\\\/]+[\\\\/])?[^\\\\/]+)/.exec(request);\n\t\t\t\t\t\t\t\tif (!match) {\n\t\t\t\t\t\t\t\t\trequiredVersionWarning(\n\t\t\t\t\t\t\t\t\t\t\"Unable to extract the package name from request.\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpackageName = match[0];\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tgetDescriptionFile(\n\t\t\t\t\t\t\t\tcompilation.inputFileSystem,\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\t[\"package.json\"],\n\t\t\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\trequiredVersionWarning(\n\t\t\t\t\t\t\t\t\t\t\t`Unable to read description file: ${err}`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconst { data, path: descriptionPath } = result;\n\t\t\t\t\t\t\t\t\tif (!data) {\n\t\t\t\t\t\t\t\t\t\trequiredVersionWarning(\n\t\t\t\t\t\t\t\t\t\t\t`Unable to find description file in ${context}.`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconst requiredVersion = getRequiredVersionFromDescriptionFile(\n\t\t\t\t\t\t\t\t\t\tdata,\n\t\t\t\t\t\t\t\t\t\tpackageName\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tif (typeof requiredVersion !== \"string\") {\n\t\t\t\t\t\t\t\t\t\trequiredVersionWarning(\n\t\t\t\t\t\t\t\t\t\t\t`Unable to find required version for \"${packageName}\" in description file (${descriptionPath}). It need to be in dependencies, devDependencies or peerDependencies.`\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tresolve(parseRange(requiredVersion));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})\n\t\t\t\t\t]).then(([importResolved, requiredVersion]) => {\n\t\t\t\t\t\treturn new ConsumeSharedModule(\n\t\t\t\t\t\t\tdirectFallback ? compiler.context : context,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t...config,\n\t\t\t\t\t\t\t\timportResolved,\n\t\t\t\t\t\t\t\timport: importResolved ? config.import : undefined,\n\t\t\t\t\t\t\t\trequiredVersion\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tnormalModuleFactory.hooks.factorize.tapPromise(\n\t\t\t\t\tPLUGIN_NAME,\n\t\t\t\t\t({ context, request, dependencies }) =>\n\t\t\t\t\t\t// wait for resolving to be complete\n\t\t\t\t\t\tpromise.then(() => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tdependencies[0] instanceof ConsumeSharedFallbackDependency ||\n\t\t\t\t\t\t\t\tdependencies[0] instanceof ProvideForSharedDependency\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst match = unresolvedConsumes.get(request);\n\t\t\t\t\t\t\tif (match !== undefined) {\n\t\t\t\t\t\t\t\treturn createConsumeSharedModule(context, request, match);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const [prefix, options] of prefixedConsumes) {\n\t\t\t\t\t\t\t\tif (request.startsWith(prefix)) {\n\t\t\t\t\t\t\t\t\tconst remainder = request.slice(prefix.length);\n\t\t\t\t\t\t\t\t\treturn createConsumeSharedModule(context, request, {\n\t\t\t\t\t\t\t\t\t\t...options,\n\t\t\t\t\t\t\t\t\t\timport: options.import\n\t\t\t\t\t\t\t\t\t\t\t? options.import + remainder\n\t\t\t\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\t\t\t\tshareKey: options.shareKey + remainder\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t\tnormalModuleFactory.hooks.createModule.tapPromise(\n\t\t\t\t\tPLUGIN_NAME,\n\t\t\t\t\t({ resource }, { context, dependencies }) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tdependencies[0] instanceof ConsumeSharedFallbackDependency ||\n\t\t\t\t\t\t\tdependencies[0] instanceof ProvideForSharedDependency\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn Promise.resolve();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst options = resolvedConsumes.get(resource);\n\t\t\t\t\t\tif (options !== undefined) {\n\t\t\t\t\t\t\treturn createConsumeSharedModule(context, resource, options);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn Promise.resolve();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tcompilation.hooks.additionalTreeRuntimeRequirements.tap(\n\t\t\t\t\tPLUGIN_NAME,\n\t\t\t\t\t(chunk, set) => {\n\t\t\t\t\t\tset.add(RuntimeGlobals.module);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\t\tset.add(RuntimeGlobals.shareScopeMap);\n\t\t\t\t\t\tset.add(RuntimeGlobals.initializeSharing);\n\t\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew ConsumeSharedRuntimeModule(set)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ConsumeSharedPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tparseVersionRuntimeCode,\n\tversionLtRuntimeCode,\n\trangeToStringRuntimeCode,\n\tsatisfyRuntimeCode\n} = __webpack_require__(/*! ../util/semver */ \"./node_modules/webpack/lib/util/semver.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"./ConsumeSharedModule\")} ConsumeSharedModule */\n\nclass ConsumeSharedRuntimeModule extends RuntimeModule {\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"consumes\", RuntimeModule.STAGE_ATTACH);\n\t\tthis._runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunkGraph } = this;\n\t\tconst { runtimeTemplate, codeGenerationResults } = compilation;\n\t\tconst chunkToModuleMapping = {};\n\t\t/** @type {Map<string | number, Source>} */\n\t\tconst moduleIdToSourceMapping = new Map();\n\t\tconst initialConsumes = [];\n\t\t/**\n\t\t *\n\t\t * @param {Iterable<Module>} modules modules\n\t\t * @param {Chunk} chunk the chunk\n\t\t * @param {(string | number)[]} list list of ids\n\t\t */\n\t\tconst addModules = (modules, chunk, list) => {\n\t\t\tfor (const m of modules) {\n\t\t\t\tconst module = /** @type {ConsumeSharedModule} */ (m);\n\t\t\t\tconst id = chunkGraph.getModuleId(module);\n\t\t\t\tlist.push(id);\n\t\t\t\tmoduleIdToSourceMapping.set(\n\t\t\t\t\tid,\n\t\t\t\t\tcodeGenerationResults.getSource(\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunk.runtime,\n\t\t\t\t\t\t\"consume-shared\"\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t};\n\t\tfor (const chunk of this.chunk.getAllAsyncChunks()) {\n\t\t\tconst modules = chunkGraph.getChunkModulesIterableBySourceType(\n\t\t\t\tchunk,\n\t\t\t\t\"consume-shared\"\n\t\t\t);\n\t\t\tif (!modules) continue;\n\t\t\taddModules(modules, chunk, (chunkToModuleMapping[chunk.id] = []));\n\t\t}\n\t\tfor (const chunk of this.chunk.getAllInitialChunks()) {\n\t\t\tconst modules = chunkGraph.getChunkModulesIterableBySourceType(\n\t\t\t\tchunk,\n\t\t\t\t\"consume-shared\"\n\t\t\t);\n\t\t\tif (!modules) continue;\n\t\t\taddModules(modules, chunk, initialConsumes);\n\t\t}\n\t\tif (moduleIdToSourceMapping.size === 0) return null;\n\t\treturn Template.asString([\n\t\t\tparseVersionRuntimeCode(runtimeTemplate),\n\t\t\tversionLtRuntimeCode(runtimeTemplate),\n\t\t\trangeToStringRuntimeCode(runtimeTemplate),\n\t\t\tsatisfyRuntimeCode(runtimeTemplate),\n\t\t\t`var ensureExistence = ${runtimeTemplate.basicFunction(\"scopeName, key\", [\n\t\t\t\t`var scope = ${RuntimeGlobals.shareScopeMap}[scopeName];`,\n\t\t\t\t`if(!scope || !${RuntimeGlobals.hasOwnProperty}(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);`,\n\t\t\t\t\"return scope;\"\n\t\t\t])};`,\n\t\t\t`var findVersion = ${runtimeTemplate.basicFunction(\"scope, key\", [\n\t\t\t\t\"var versions = scope[key];\",\n\t\t\t\t`var key = Object.keys(versions).reduce(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\"a, b\",\n\t\t\t\t\t[\"return !a || versionLt(a, b) ? b : a;\"]\n\t\t\t\t)}, 0);`,\n\t\t\t\t\"return key && versions[key]\"\n\t\t\t])};`,\n\t\t\t`var findSingletonVersionKey = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, key\",\n\t\t\t\t[\n\t\t\t\t\t\"var versions = scope[key];\",\n\t\t\t\t\t`return Object.keys(versions).reduce(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"a, b\",\n\t\t\t\t\t\t[\"return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\"]\n\t\t\t\t\t)}, 0);`\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getInvalidSingletonVersionMessage = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, key, version, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t`return \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"`\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getSingleton = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var version = findSingletonVersionKey(scope, key);\",\n\t\t\t\t\t\"return get(scope[key][version]);\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getSingletonVersion = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var version = findSingletonVersionKey(scope, key);\",\n\t\t\t\t\t\"if (!satisfy(requiredVersion, version)) \" +\n\t\t\t\t\t\t'typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));',\n\t\t\t\t\t\"return get(scope[key][version]);\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getStrictSingletonVersion = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var version = findSingletonVersionKey(scope, key);\",\n\t\t\t\t\t\"if (!satisfy(requiredVersion, version)) \" +\n\t\t\t\t\t\t\"throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\",\n\t\t\t\t\t\"return get(scope[key][version]);\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var findValidVersion = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var versions = scope[key];\",\n\t\t\t\t\t`var key = Object.keys(versions).reduce(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"a, b\",\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\"if (!satisfy(requiredVersion, b)) return a;\",\n\t\t\t\t\t\t\t\"return !a || versionLt(a, b) ? b : a;\"\n\t\t\t\t\t\t]\n\t\t\t\t\t)}, 0);`,\n\t\t\t\t\t\"return key && versions[key]\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getInvalidVersionMessage = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var versions = scope[key];\",\n\t\t\t\t\t'return \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\\\n\" +',\n\t\t\t\t\t`\\t\"Available versions: \" + Object.keys(versions).map(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"key\",\n\t\t\t\t\t\t['return key + \" from \" + versions[key].from;']\n\t\t\t\t\t)}).join(\", \");`\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var getValidVersion = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t\"var entry = findValidVersion(scope, key, requiredVersion);\",\n\t\t\t\t\t\"if(entry) return get(entry);\",\n\t\t\t\t\t\"throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\"\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var warnInvalidVersion = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"scope, scopeName, key, requiredVersion\",\n\t\t\t\t[\n\t\t\t\t\t'typeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'\n\t\t\t\t]\n\t\t\t)};`,\n\t\t\t`var get = ${runtimeTemplate.basicFunction(\"entry\", [\n\t\t\t\t\"entry.loaded = 1;\",\n\t\t\t\t\"return entry.get()\"\n\t\t\t])};`,\n\t\t\t`var init = ${runtimeTemplate.returningFunction(\n\t\t\t\tTemplate.asString([\n\t\t\t\t\t\"function(scopeName, a, b, c) {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t`var promise = ${RuntimeGlobals.initializeSharing}(scopeName);`,\n\t\t\t\t\t\t`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${RuntimeGlobals.shareScopeMap}[scopeName], a, b, c));`,\n\t\t\t\t\t\t`return fn(scopeName, ${RuntimeGlobals.shareScopeMap}[scopeName], a, b, c);`\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\"\n\t\t\t\t]),\n\t\t\t\t\"fn\"\n\t\t\t)};`,\n\t\t\t\"\",\n\t\t\t`var load = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return get(findVersion(scope, key));\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`return scope && ${RuntimeGlobals.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadVersionCheck = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadSingleton = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return getSingleton(scope, scopeName, key);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadSingletonVersionCheck = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return getSingletonVersion(scope, scopeName, key, version);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadStrictVersionCheck = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return getValidVersion(scope, scopeName, key, version);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version\",\n\t\t\t\t[\n\t\t\t\t\t\"ensureExistence(scopeName, key);\",\n\t\t\t\t\t\"return getStrictSingletonVersion(scope, scopeName, key, version);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadVersionCheckFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`if(!scope || !${RuntimeGlobals.hasOwnProperty}(scope, key)) return fallback();`,\n\t\t\t\t\t\"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadSingletonFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`if(!scope || !${RuntimeGlobals.hasOwnProperty}(scope, key)) return fallback();`,\n\t\t\t\t\t\"return getSingleton(scope, scopeName, key);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`if(!scope || !${RuntimeGlobals.hasOwnProperty}(scope, key)) return fallback();`,\n\t\t\t\t\t\"return getSingletonVersion(scope, scopeName, key, version);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`var entry = scope && ${RuntimeGlobals.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,\n\t\t\t\t\t`return entry ? get(entry) : fallback();`\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${runtimeTemplate.basicFunction(\n\t\t\t\t\"scopeName, scope, key, version, fallback\",\n\t\t\t\t[\n\t\t\t\t\t`if(!scope || !${RuntimeGlobals.hasOwnProperty}(scope, key)) return fallback();`,\n\t\t\t\t\t\"return getStrictSingletonVersion(scope, scopeName, key, version);\"\n\t\t\t\t]\n\t\t\t)});`,\n\t\t\t\"var installedModules = {};\",\n\t\t\t\"var moduleToHandlerMapping = {\",\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(\n\t\t\t\t\tmoduleIdToSourceMapping,\n\t\t\t\t\t([key, source]) => `${JSON.stringify(key)}: ${source.source()}`\n\t\t\t\t).join(\",\\n\")\n\t\t\t),\n\t\t\t\"};\",\n\n\t\t\tinitialConsumes.length > 0\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`var initialConsumes = ${JSON.stringify(initialConsumes)};`,\n\t\t\t\t\t\t`initialConsumes.forEach(${runtimeTemplate.basicFunction(\"id\", [\n\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t}[id] = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\t\t\t\t\"// Handle case when module is used sync\",\n\t\t\t\t\t\t\t\t\"installedModules[id] = 0;\",\n\t\t\t\t\t\t\t\t`delete ${RuntimeGlobals.moduleCache}[id];`,\n\t\t\t\t\t\t\t\t\"var factory = moduleToHandlerMapping[id]();\",\n\t\t\t\t\t\t\t\t'if(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);',\n\t\t\t\t\t\t\t\t`module.exports = factory();`\n\t\t\t\t\t\t\t])}`\n\t\t\t\t\t\t])});`\n\t\t\t\t ])\n\t\t\t\t: \"// no consumes in initial chunks\",\n\t\t\tthis._runtimeRequirements.has(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`var chunkMapping = ${JSON.stringify(\n\t\t\t\t\t\t\tchunkToModuleMapping,\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"\\t\"\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t`${\n\t\t\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t\t\t}.consumes = ${runtimeTemplate.basicFunction(\"chunkId, promises\", [\n\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(chunkMapping, chunkId)) {`,\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`chunkMapping[chunkId].forEach(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\"id\",\n\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,\n\t\t\t\t\t\t\t\t\t\t`var onFactory = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\t\"factory\",\n\t\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t\t\"installedModules[id] = 0;\",\n\t\t\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t\t\t\t\t\t}[id] = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\t\t\t\t\t\t\t\t\t`delete ${RuntimeGlobals.moduleCache}[id];`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"module.exports = factory();\"\n\t\t\t\t\t\t\t\t\t\t\t\t])}`\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t\t\t\t`var onError = ${runtimeTemplate.basicFunction(\"error\", [\n\t\t\t\t\t\t\t\t\t\t\t\"delete installedModules[id];\",\n\t\t\t\t\t\t\t\t\t\t\t`${\n\t\t\t\t\t\t\t\t\t\t\t\tRuntimeGlobals.moduleFactories\n\t\t\t\t\t\t\t\t\t\t\t}[id] = ${runtimeTemplate.basicFunction(\"module\", [\n\t\t\t\t\t\t\t\t\t\t\t\t`delete ${RuntimeGlobals.moduleCache}[id];`,\n\t\t\t\t\t\t\t\t\t\t\t\t\"throw error;\"\n\t\t\t\t\t\t\t\t\t\t\t])}`\n\t\t\t\t\t\t\t\t\t\t])};`,\n\t\t\t\t\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"var promise = moduleToHandlerMapping[id]();\",\n\t\t\t\t\t\t\t\t\t\t\t\"if(promise.then) {\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\"\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\"} else onFactory(promise);\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"} catch(e) { onError(e); }\"\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t])}`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk loading of consumes\"\n\t\t]);\n\t}\n}\n\nmodule.exports = ConsumeSharedRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ProvideForSharedDependency extends ModuleDependency {\n\t/**\n\t *\n\t * @param {string} request request string\n\t */\n\tconstructor(request) {\n\t\tsuper(request);\n\t}\n\n\tget type() {\n\t\treturn \"provide module for shared\";\n\t}\n\n\tget category() {\n\t\treturn \"esm\";\n\t}\n}\n\nmakeSerializable(\n\tProvideForSharedDependency,\n\t\"webpack/lib/sharing/ProvideForSharedDependency\"\n);\n\nmodule.exports = ProvideForSharedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ProvideSharedDependency.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ProvideSharedDependency.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Dependency = __webpack_require__(/*! ../Dependency */ \"./node_modules/webpack/lib/Dependency.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\nclass ProvideSharedDependency extends Dependency {\n\tconstructor(shareScope, name, version, request, eager) {\n\t\tsuper();\n\t\tthis.shareScope = shareScope;\n\t\tthis.name = name;\n\t\tthis.version = version;\n\t\tthis.request = request;\n\t\tthis.eager = eager;\n\t}\n\n\tget type() {\n\t\treturn \"provide shared module\";\n\t}\n\n\t/**\n\t * @returns {string | null} an identifier to merge equal requests\n\t */\n\tgetResourceIdentifier() {\n\t\treturn `provide module (${this.shareScope}) ${this.request} as ${\n\t\t\tthis.name\n\t\t} @ ${this.version}${this.eager ? \" (eager)\" : \"\"}`;\n\t}\n\n\tserialize(context) {\n\t\tcontext.write(this.shareScope);\n\t\tcontext.write(this.name);\n\t\tcontext.write(this.request);\n\t\tcontext.write(this.version);\n\t\tcontext.write(this.eager);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new ProvideSharedDependency(\n\t\t\tread(),\n\t\t\tread(),\n\t\t\tread(),\n\t\t\tread(),\n\t\t\tread()\n\t\t);\n\t\tthis.shareScope = context.read();\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tProvideSharedDependency,\n\t\"webpack/lib/sharing/ProvideSharedDependency\"\n);\n\nmodule.exports = ProvideSharedDependency;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ProvideSharedDependency.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ProvideSharedModule.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ProvideSharedModule.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst AsyncDependenciesBlock = __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\");\nconst Module = __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst makeSerializable = __webpack_require__(/*! ../util/makeSerializable */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\nconst ProvideForSharedDependency = __webpack_require__(/*! ./ProvideForSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WebpackOptionsNormalized} WebpackOptions */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\").CodeGenerationContext} CodeGenerationContext */\n/** @typedef {import(\"../Module\").CodeGenerationResult} CodeGenerationResult */\n/** @typedef {import(\"../Module\").LibIdentOptions} LibIdentOptions */\n/** @typedef {import(\"../Module\").NeedBuildContext} NeedBuildContext */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../ResolverFactory\").ResolverWithOptions} ResolverWithOptions */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/Hash\")} Hash */\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\nconst TYPES = new Set([\"share-init\"]);\n\nclass ProvideSharedModule extends Module {\n\t/**\n\t * @param {string} shareScope shared scope name\n\t * @param {string} name shared key\n\t * @param {string | false} version version\n\t * @param {string} request request to the provided module\n\t * @param {boolean} eager include the module in sync way\n\t */\n\tconstructor(shareScope, name, version, request, eager) {\n\t\tsuper(\"provide-module\");\n\t\tthis._shareScope = shareScope;\n\t\tthis._name = name;\n\t\tthis._version = version;\n\t\tthis._request = request;\n\t\tthis._eager = eager;\n\t}\n\n\t/**\n\t * @returns {string} a unique identifier of the module\n\t */\n\tidentifier() {\n\t\treturn `provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`;\n\t}\n\n\t/**\n\t * @param {RequestShortener} requestShortener the request shortener\n\t * @returns {string} a user readable identifier of the module\n\t */\n\treadableIdentifier(requestShortener) {\n\t\treturn `provide shared module (${this._shareScope}) ${this._name}@${\n\t\t\tthis._version\n\t\t} = ${requestShortener.shorten(this._request)}`;\n\t}\n\n\t/**\n\t * @param {LibIdentOptions} options options\n\t * @returns {string | null} an identifier for library inclusion\n\t */\n\tlibIdent(options) {\n\t\treturn `${this.layer ? `(${this.layer})/` : \"\"}webpack/sharing/provide/${\n\t\t\tthis._shareScope\n\t\t}/${this._name}`;\n\t}\n\n\t/**\n\t * @param {NeedBuildContext} context context info\n\t * @param {function((WebpackError | null)=, boolean=): void} callback callback function, returns true, if the module needs a rebuild\n\t * @returns {void}\n\t */\n\tneedBuild(context, callback) {\n\t\tcallback(null, !this.buildInfo);\n\t}\n\n\t/**\n\t * @param {WebpackOptions} options webpack options\n\t * @param {Compilation} compilation the compilation\n\t * @param {ResolverWithOptions} resolver the resolver\n\t * @param {InputFileSystem} fs the file system\n\t * @param {function(WebpackError=): void} callback callback function\n\t * @returns {void}\n\t */\n\tbuild(options, compilation, resolver, fs, callback) {\n\t\tthis.buildMeta = {};\n\t\tthis.buildInfo = {\n\t\t\tstrict: true\n\t\t};\n\n\t\tthis.clearDependenciesAndBlocks();\n\t\tconst dep = new ProvideForSharedDependency(this._request);\n\t\tif (this._eager) {\n\t\t\tthis.addDependency(dep);\n\t\t} else {\n\t\t\tconst block = new AsyncDependenciesBlock({});\n\t\t\tblock.addDependency(dep);\n\t\t\tthis.addBlock(block);\n\t\t}\n\n\t\tcallback();\n\t}\n\n\t/**\n\t * @param {string=} type the source type for which the size should be estimated\n\t * @returns {number} the estimated size of the module (must be non-zero)\n\t */\n\tsize(type) {\n\t\treturn 42;\n\t}\n\n\t/**\n\t * @returns {Set<string>} types available (do not mutate)\n\t */\n\tgetSourceTypes() {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {CodeGenerationContext} context context for code generation\n\t * @returns {CodeGenerationResult} result\n\t */\n\tcodeGeneration({ runtimeTemplate, moduleGraph, chunkGraph }) {\n\t\tconst runtimeRequirements = new Set([RuntimeGlobals.initializeSharing]);\n\t\tconst code = `register(${JSON.stringify(this._name)}, ${JSON.stringify(\n\t\t\tthis._version || \"0\"\n\t\t)}, ${\n\t\t\tthis._eager\n\t\t\t\t? runtimeTemplate.syncModuleFactory({\n\t\t\t\t\t\tdependency: this.dependencies[0],\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\trequest: this._request,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t })\n\t\t\t\t: runtimeTemplate.asyncModuleFactory({\n\t\t\t\t\t\tblock: this.blocks[0],\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\trequest: this._request,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t })\n\t\t}${this._eager ? \", 1\" : \"\"});`;\n\t\tconst sources = new Map();\n\t\tconst data = new Map();\n\t\tdata.set(\"share-init\", [\n\t\t\t{\n\t\t\t\tshareScope: this._shareScope,\n\t\t\t\tinitStage: 10,\n\t\t\t\tinit: code\n\t\t\t}\n\t\t]);\n\t\treturn { sources, data, runtimeRequirements };\n\t}\n\n\tserialize(context) {\n\t\tconst { write } = context;\n\t\twrite(this._shareScope);\n\t\twrite(this._name);\n\t\twrite(this._version);\n\t\twrite(this._request);\n\t\twrite(this._eager);\n\t\tsuper.serialize(context);\n\t}\n\n\tstatic deserialize(context) {\n\t\tconst { read } = context;\n\t\tconst obj = new ProvideSharedModule(read(), read(), read(), read(), read());\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmakeSerializable(\n\tProvideSharedModule,\n\t\"webpack/lib/sharing/ProvideSharedModule\"\n);\n\nmodule.exports = ProvideSharedModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ProvideSharedModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst ModuleFactory = __webpack_require__(/*! ../ModuleFactory */ \"./node_modules/webpack/lib/ModuleFactory.js\");\nconst ProvideSharedModule = __webpack_require__(/*! ./ProvideSharedModule */ \"./node_modules/webpack/lib/sharing/ProvideSharedModule.js\");\n\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryCreateData} ModuleFactoryCreateData */\n/** @typedef {import(\"../ModuleFactory\").ModuleFactoryResult} ModuleFactoryResult */\n/** @typedef {import(\"./ProvideSharedDependency\")} ProvideSharedDependency */\n\nclass ProvideSharedModuleFactory extends ModuleFactory {\n\t/**\n\t * @param {ModuleFactoryCreateData} data data object\n\t * @param {function(Error=, ModuleFactoryResult=): void} callback callback\n\t * @returns {void}\n\t */\n\tcreate(data, callback) {\n\t\tconst dep = /** @type {ProvideSharedDependency} */ (data.dependencies[0]);\n\t\tcallback(null, {\n\t\t\tmodule: new ProvideSharedModule(\n\t\t\t\tdep.shareScope,\n\t\t\t\tdep.name,\n\t\t\t\tdep.version,\n\t\t\t\tdep.request,\n\t\t\t\tdep.eager\n\t\t\t)\n\t\t});\n\t}\n}\n\nmodule.exports = ProvideSharedModuleFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ProvideSharedPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ProvideSharedPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst { parseOptions } = __webpack_require__(/*! ../container/options */ \"./node_modules/webpack/lib/container/options.js\");\nconst createSchemaValidation = __webpack_require__(/*! ../util/create-schema-validation */ \"./node_modules/webpack/lib/util/create-schema-validation.js\");\nconst ProvideForSharedDependency = __webpack_require__(/*! ./ProvideForSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js\");\nconst ProvideSharedDependency = __webpack_require__(/*! ./ProvideSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideSharedDependency.js\");\nconst ProvideSharedModuleFactory = __webpack_require__(/*! ./ProvideSharedModuleFactory */ \"./node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js\");\n\n/** @typedef {import(\"../../declarations/plugins/sharing/ProvideSharedPlugin\").ProvideSharedPluginOptions} ProvideSharedPluginOptions */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst validate = createSchemaValidation(\n\t__webpack_require__(/*! ../../schemas/plugins/sharing/ProvideSharedPlugin.check.js */ \"./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js\"),\n\t() => __webpack_require__(/*! ../../schemas/plugins/sharing/ProvideSharedPlugin.json */ \"./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json\"),\n\t{\n\t\tname: \"Provide Shared Plugin\",\n\t\tbaseDataPath: \"options\"\n\t}\n);\n\n/**\n * @typedef {Object} ProvideOptions\n * @property {string} shareKey\n * @property {string} shareScope\n * @property {string | undefined | false} version\n * @property {boolean} eager\n */\n\n/** @typedef {Map<string, { config: ProvideOptions, version: string | undefined | false }>} ResolvedProvideMap */\n\nclass ProvideSharedPlugin {\n\t/**\n\t * @param {ProvideSharedPluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\tvalidate(options);\n\n\t\t/** @type {[string, ProvideOptions][]} */\n\t\tthis._provides = parseOptions(\n\t\t\toptions.provides,\n\t\t\titem => {\n\t\t\t\tif (Array.isArray(item))\n\t\t\t\t\tthrow new Error(\"Unexpected array of provides\");\n\t\t\t\t/** @type {ProvideOptions} */\n\t\t\t\tconst result = {\n\t\t\t\t\tshareKey: item,\n\t\t\t\t\tversion: undefined,\n\t\t\t\t\tshareScope: options.shareScope || \"default\",\n\t\t\t\t\teager: false\n\t\t\t\t};\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\titem => ({\n\t\t\t\tshareKey: item.shareKey,\n\t\t\t\tversion: item.version,\n\t\t\t\tshareScope: item.shareScope || options.shareScope || \"default\",\n\t\t\t\teager: !!item.eager\n\t\t\t})\n\t\t);\n\t\tthis._provides.sort(([a], [b]) => {\n\t\t\tif (a < b) return -1;\n\t\t\tif (b < a) return 1;\n\t\t\treturn 0;\n\t\t});\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\t/** @type {WeakMap<Compilation, ResolvedProvideMap>} */\n\t\tconst compilationData = new WeakMap();\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ProvideSharedPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\t/** @type {ResolvedProvideMap} */\n\t\t\t\tconst resolvedProvideMap = new Map();\n\t\t\t\t/** @type {Map<string, ProvideOptions>} */\n\t\t\t\tconst matchProvides = new Map();\n\t\t\t\t/** @type {Map<string, ProvideOptions>} */\n\t\t\t\tconst prefixMatchProvides = new Map();\n\t\t\t\tfor (const [request, config] of this._provides) {\n\t\t\t\t\tif (/^(\\/|[A-Za-z]:\\\\|\\\\\\\\|\\.\\.?(\\/|$))/.test(request)) {\n\t\t\t\t\t\t// relative request\n\t\t\t\t\t\tresolvedProvideMap.set(request, {\n\t\t\t\t\t\t\tconfig,\n\t\t\t\t\t\t\tversion: config.version\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (/^(\\/|[A-Za-z]:\\\\|\\\\\\\\)/.test(request)) {\n\t\t\t\t\t\t// absolute path\n\t\t\t\t\t\tresolvedProvideMap.set(request, {\n\t\t\t\t\t\t\tconfig,\n\t\t\t\t\t\t\tversion: config.version\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (request.endsWith(\"/\")) {\n\t\t\t\t\t\t// module request prefix\n\t\t\t\t\t\tprefixMatchProvides.set(request, config);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// module request\n\t\t\t\t\t\tmatchProvides.set(request, config);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcompilationData.set(compilation, resolvedProvideMap);\n\t\t\t\tconst provideSharedModule = (\n\t\t\t\t\tkey,\n\t\t\t\t\tconfig,\n\t\t\t\t\tresource,\n\t\t\t\t\tresourceResolveData\n\t\t\t\t) => {\n\t\t\t\t\tlet version = config.version;\n\t\t\t\t\tif (version === undefined) {\n\t\t\t\t\t\tlet details = \"\";\n\t\t\t\t\t\tif (!resourceResolveData) {\n\t\t\t\t\t\t\tdetails = `No resolve data provided from resolver.`;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst descriptionFileData =\n\t\t\t\t\t\t\t\tresourceResolveData.descriptionFileData;\n\t\t\t\t\t\t\tif (!descriptionFileData) {\n\t\t\t\t\t\t\t\tdetails =\n\t\t\t\t\t\t\t\t\t\"No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config.\";\n\t\t\t\t\t\t\t} else if (!descriptionFileData.version) {\n\t\t\t\t\t\t\t\tdetails = `No version in description file (usually package.json). Add version to description file ${resourceResolveData.descriptionFilePath}, or manually specify version in shared config.`;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tversion = descriptionFileData.version;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!version) {\n\t\t\t\t\t\t\tconst error = new WebpackError(\n\t\t\t\t\t\t\t\t`No version specified and unable to automatically determine one. ${details}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\terror.file = `shared module ${key} -> ${resource}`;\n\t\t\t\t\t\t\tcompilation.warnings.push(error);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tresolvedProvideMap.set(resource, {\n\t\t\t\t\t\tconfig,\n\t\t\t\t\t\tversion\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\tnormalModuleFactory.hooks.module.tap(\n\t\t\t\t\t\"ProvideSharedPlugin\",\n\t\t\t\t\t(module, { resource, resourceResolveData }, resolveData) => {\n\t\t\t\t\t\tif (resolvedProvideMap.has(resource)) {\n\t\t\t\t\t\t\treturn module;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst { request } = resolveData;\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tconst config = matchProvides.get(request);\n\t\t\t\t\t\t\tif (config !== undefined) {\n\t\t\t\t\t\t\t\tprovideSharedModule(\n\t\t\t\t\t\t\t\t\trequest,\n\t\t\t\t\t\t\t\t\tconfig,\n\t\t\t\t\t\t\t\t\tresource,\n\t\t\t\t\t\t\t\t\tresourceResolveData\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tresolveData.cacheable = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const [prefix, config] of prefixMatchProvides) {\n\t\t\t\t\t\t\tif (request.startsWith(prefix)) {\n\t\t\t\t\t\t\t\tconst remainder = request.slice(prefix.length);\n\t\t\t\t\t\t\t\tprovideSharedModule(\n\t\t\t\t\t\t\t\t\tresource,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t...config,\n\t\t\t\t\t\t\t\t\t\tshareKey: config.shareKey + remainder\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tresource,\n\t\t\t\t\t\t\t\t\tresourceResolveData\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tresolveData.cacheable = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn module;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t\tcompiler.hooks.finishMake.tapPromise(\"ProvideSharedPlugin\", compilation => {\n\t\t\tconst resolvedProvideMap = compilationData.get(compilation);\n\t\t\tif (!resolvedProvideMap) return Promise.resolve();\n\t\t\treturn Promise.all(\n\t\t\t\tArray.from(\n\t\t\t\t\tresolvedProvideMap,\n\t\t\t\t\t([resource, { config, version }]) =>\n\t\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\t\tcompilation.addInclude(\n\t\t\t\t\t\t\t\tcompiler.context,\n\t\t\t\t\t\t\t\tnew ProvideSharedDependency(\n\t\t\t\t\t\t\t\t\tconfig.shareScope,\n\t\t\t\t\t\t\t\t\tconfig.shareKey,\n\t\t\t\t\t\t\t\t\tversion || false,\n\t\t\t\t\t\t\t\t\tresource,\n\t\t\t\t\t\t\t\t\tconfig.eager\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tname: undefined\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\terr => {\n\t\t\t\t\t\t\t\t\tif (err) return reject(err);\n\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t).then(() => {});\n\t\t});\n\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"ProvideSharedPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tProvideForSharedDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tProvideSharedDependency,\n\t\t\t\t\tnew ProvideSharedModuleFactory()\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = ProvideSharedPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ProvideSharedPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/SharePlugin.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/sharing/SharePlugin.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra and Zackary Jackson @ScriptedAlchemy\n*/\n\n\n\nconst { parseOptions } = __webpack_require__(/*! ../container/options */ \"./node_modules/webpack/lib/container/options.js\");\nconst ConsumeSharedPlugin = __webpack_require__(/*! ./ConsumeSharedPlugin */ \"./node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js\");\nconst ProvideSharedPlugin = __webpack_require__(/*! ./ProvideSharedPlugin */ \"./node_modules/webpack/lib/sharing/ProvideSharedPlugin.js\");\nconst { isRequiredVersion } = __webpack_require__(/*! ./utils */ \"./node_modules/webpack/lib/sharing/utils.js\");\n\n/** @typedef {import(\"../../declarations/plugins/sharing/ConsumeSharedPlugin\").ConsumeSharedPluginOptions} ConsumeSharedPluginOptions */\n/** @typedef {import(\"../../declarations/plugins/sharing/ConsumeSharedPlugin\").ConsumesConfig} ConsumesConfig */\n/** @typedef {import(\"../../declarations/plugins/sharing/ProvideSharedPlugin\").ProvideSharedPluginOptions} ProvideSharedPluginOptions */\n/** @typedef {import(\"../../declarations/plugins/sharing/ProvideSharedPlugin\").ProvidesConfig} ProvidesConfig */\n/** @typedef {import(\"../../declarations/plugins/sharing/SharePlugin\").SharePluginOptions} SharePluginOptions */\n/** @typedef {import(\"../../declarations/plugins/sharing/SharePlugin\").SharedConfig} SharedConfig */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass SharePlugin {\n\t/**\n\t * @param {SharePluginOptions} options options\n\t */\n\tconstructor(options) {\n\t\t/** @type {[string, SharedConfig][]} */\n\t\tconst sharedOptions = parseOptions(\n\t\t\toptions.shared,\n\t\t\t(item, key) => {\n\t\t\t\tif (typeof item !== \"string\")\n\t\t\t\t\tthrow new Error(\"Unexpected array in shared\");\n\t\t\t\t/** @type {SharedConfig} */\n\t\t\t\tconst config =\n\t\t\t\t\titem === key || !isRequiredVersion(item)\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\timport: item\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\timport: key,\n\t\t\t\t\t\t\t\trequiredVersion: item\n\t\t\t\t\t\t };\n\t\t\t\treturn config;\n\t\t\t},\n\t\t\titem => item\n\t\t);\n\t\t/** @type {Record<string, ConsumesConfig>[]} */\n\t\tconst consumes = sharedOptions.map(([key, options]) => ({\n\t\t\t[key]: {\n\t\t\t\timport: options.import,\n\t\t\t\tshareKey: options.shareKey || key,\n\t\t\t\tshareScope: options.shareScope,\n\t\t\t\trequiredVersion: options.requiredVersion,\n\t\t\t\tstrictVersion: options.strictVersion,\n\t\t\t\tsingleton: options.singleton,\n\t\t\t\tpackageName: options.packageName,\n\t\t\t\teager: options.eager\n\t\t\t}\n\t\t}));\n\t\t/** @type {Record<string, ProvidesConfig>[]} */\n\t\tconst provides = sharedOptions\n\t\t\t.filter(([, options]) => options.import !== false)\n\t\t\t.map(([key, options]) => ({\n\t\t\t\t[options.import || key]: {\n\t\t\t\t\tshareKey: options.shareKey || key,\n\t\t\t\t\tshareScope: options.shareScope,\n\t\t\t\t\tversion: options.version,\n\t\t\t\t\teager: options.eager\n\t\t\t\t}\n\t\t\t}));\n\t\tthis._shareScope = options.shareScope;\n\t\tthis._consumes = consumes;\n\t\tthis._provides = provides;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tnew ConsumeSharedPlugin({\n\t\t\tshareScope: this._shareScope,\n\t\t\tconsumes: this._consumes\n\t\t}).apply(compiler);\n\t\tnew ProvideSharedPlugin({\n\t\t\tshareScope: this._shareScope,\n\t\t\tprovides: this._provides\n\t\t}).apply(compiler);\n\t}\n}\n\nmodule.exports = SharePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/SharePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/ShareRuntimeModule.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/ShareRuntimeModule.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tcompareModulesByIdentifier,\n\tcompareStrings\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\n\nclass ShareRuntimeModule extends RuntimeModule {\n\tconstructor() {\n\t\tsuper(\"sharing\");\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunkGraph } = this;\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\tcodeGenerationResults,\n\t\t\toutputOptions: { uniqueName }\n\t\t} = compilation;\n\t\t/** @type {Map<string, Map<number, Set<string>>>} */\n\t\tconst initCodePerScope = new Map();\n\t\tfor (const chunk of this.chunk.getAllReferencedChunks()) {\n\t\t\tconst modules = chunkGraph.getOrderedChunkModulesIterableBySourceType(\n\t\t\t\tchunk,\n\t\t\t\t\"share-init\",\n\t\t\t\tcompareModulesByIdentifier\n\t\t\t);\n\t\t\tif (!modules) continue;\n\t\t\tfor (const m of modules) {\n\t\t\t\tconst data = codeGenerationResults.getData(\n\t\t\t\t\tm,\n\t\t\t\t\tchunk.runtime,\n\t\t\t\t\t\"share-init\"\n\t\t\t\t);\n\t\t\t\tif (!data) continue;\n\t\t\t\tfor (const item of data) {\n\t\t\t\t\tconst { shareScope, initStage, init } = item;\n\t\t\t\t\tlet stages = initCodePerScope.get(shareScope);\n\t\t\t\t\tif (stages === undefined) {\n\t\t\t\t\t\tinitCodePerScope.set(shareScope, (stages = new Map()));\n\t\t\t\t\t}\n\t\t\t\t\tlet list = stages.get(initStage || 0);\n\t\t\t\t\tif (list === undefined) {\n\t\t\t\t\t\tstages.set(initStage || 0, (list = new Set()));\n\t\t\t\t\t}\n\t\t\t\t\tlist.add(init);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn Template.asString([\n\t\t\t`${RuntimeGlobals.shareScopeMap} = {};`,\n\t\t\t\"var initPromises = {};\",\n\t\t\t\"var initTokens = {};\",\n\t\t\t`${RuntimeGlobals.initializeSharing} = ${runtimeTemplate.basicFunction(\n\t\t\t\t\"name, initScope\",\n\t\t\t\t[\n\t\t\t\t\t\"if(!initScope) initScope = [];\",\n\t\t\t\t\t\"// handling circular init calls\",\n\t\t\t\t\t\"var initToken = initTokens[name];\",\n\t\t\t\t\t\"if(!initToken) initToken = initTokens[name] = {};\",\n\t\t\t\t\t\"if(initScope.indexOf(initToken) >= 0) return;\",\n\t\t\t\t\t\"initScope.push(initToken);\",\n\t\t\t\t\t\"// only runs once\",\n\t\t\t\t\t\"if(initPromises[name]) return initPromises[name];\",\n\t\t\t\t\t\"// creates a new share scope if needed\",\n\t\t\t\t\t`if(!${RuntimeGlobals.hasOwnProperty}(${RuntimeGlobals.shareScopeMap}, name)) ${RuntimeGlobals.shareScopeMap}[name] = {};`,\n\t\t\t\t\t\"// runs all init snippets from all modules reachable\",\n\t\t\t\t\t`var scope = ${RuntimeGlobals.shareScopeMap}[name];`,\n\t\t\t\t\t`var warn = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t'typeof console !== \"undefined\" && console.warn && console.warn(msg)',\n\t\t\t\t\t\t\"msg\"\n\t\t\t\t\t)};`,\n\t\t\t\t\t`var uniqueName = ${JSON.stringify(uniqueName || undefined)};`,\n\t\t\t\t\t`var register = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\"name, version, factory, eager\",\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\"var versions = scope[name] = scope[name] || {};\",\n\t\t\t\t\t\t\t\"var activeVersion = versions[version];\",\n\t\t\t\t\t\t\t\"if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\"\n\t\t\t\t\t\t]\n\t\t\t\t\t)};`,\n\t\t\t\t\t`var initExternal = ${runtimeTemplate.basicFunction(\"id\", [\n\t\t\t\t\t\t`var handleError = ${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t'warn(\"Initialization of sharing external failed: \" + err)',\n\t\t\t\t\t\t\t\"err\"\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"var module = __webpack_require__(id);\",\n\t\t\t\t\t\t\t\"if(!module) return;\",\n\t\t\t\t\t\t\t`var initFn = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t`module && module.init && module.init(${RuntimeGlobals.shareScopeMap}[name], initScope)`,\n\t\t\t\t\t\t\t\t\"module\"\n\t\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t\t\"if(module.then) return promises.push(module.then(initFn, handleError));\",\n\t\t\t\t\t\t\t\"var initResult = initFn(module);\",\n\t\t\t\t\t\t\t\"if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"} catch(err) { handleError(err); }\"\n\t\t\t\t\t])}`,\n\t\t\t\t\t\"var promises = [];\",\n\t\t\t\t\t\"switch(name) {\",\n\t\t\t\t\t...Array.from(initCodePerScope)\n\t\t\t\t\t\t.sort(([a], [b]) => compareStrings(a, b))\n\t\t\t\t\t\t.map(([name, stages]) =>\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`case ${JSON.stringify(name)}: {`,\n\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\tArray.from(stages)\n\t\t\t\t\t\t\t\t\t\t.sort(([a], [b]) => a - b)\n\t\t\t\t\t\t\t\t\t\t.map(([, initCode]) =>\n\t\t\t\t\t\t\t\t\t\t\tTemplate.asString(Array.from(initCode))\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"break;\"\n\t\t\t\t\t\t\t])\n\t\t\t\t\t\t),\n\t\t\t\t\t\"}\",\n\t\t\t\t\t\"if(!promises.length) return initPromises[name] = 1;\",\n\t\t\t\t\t`return initPromises[name] = Promise.all(promises).then(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"initPromises[name] = 1\"\n\t\t\t\t\t)});`\n\t\t\t\t]\n\t\t\t)};`\n\t\t]);\n\t}\n}\n\nmodule.exports = ShareRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/ShareRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/resolveMatchedConfigs.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/sharing/resolveMatchedConfigs.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ModuleNotFoundError = __webpack_require__(/*! ../ModuleNotFoundError */ \"./node_modules/webpack/lib/ModuleNotFoundError.js\");\nconst LazySet = __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../ResolverFactory\").ResolveOptionsWithDependencyType} ResolveOptionsWithDependencyType */\n\n/**\n * @template T\n * @typedef {Object} MatchedConfigs\n * @property {Map<string, T>} resolved\n * @property {Map<string, T>} unresolved\n * @property {Map<string, T>} prefixed\n */\n\n/** @type {ResolveOptionsWithDependencyType} */\nconst RESOLVE_OPTIONS = { dependencyType: \"esm\" };\n\n/**\n * @template T\n * @param {Compilation} compilation the compilation\n * @param {[string, T][]} configs to be processed configs\n * @returns {Promise<MatchedConfigs<T>>} resolved matchers\n */\nexports.resolveMatchedConfigs = (compilation, configs) => {\n\t/** @type {Map<string, T>} */\n\tconst resolved = new Map();\n\t/** @type {Map<string, T>} */\n\tconst unresolved = new Map();\n\t/** @type {Map<string, T>} */\n\tconst prefixed = new Map();\n\tconst resolveContext = {\n\t\t/** @type {LazySet<string>} */\n\t\tfileDependencies: new LazySet(),\n\t\t/** @type {LazySet<string>} */\n\t\tcontextDependencies: new LazySet(),\n\t\t/** @type {LazySet<string>} */\n\t\tmissingDependencies: new LazySet()\n\t};\n\tconst resolver = compilation.resolverFactory.get(\"normal\", RESOLVE_OPTIONS);\n\tconst context = compilation.compiler.context;\n\n\treturn Promise.all(\n\t\tconfigs.map(([request, config]) => {\n\t\t\tif (/^\\.\\.?(\\/|$)/.test(request)) {\n\t\t\t\t// relative request\n\t\t\t\treturn new Promise(resolve => {\n\t\t\t\t\tresolver.resolve(\n\t\t\t\t\t\t{},\n\t\t\t\t\t\tcontext,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\tresolveContext,\n\t\t\t\t\t\t(err, result) => {\n\t\t\t\t\t\t\tif (err || result === false) {\n\t\t\t\t\t\t\t\terr = err || new Error(`Can't resolve ${request}`);\n\t\t\t\t\t\t\t\tcompilation.errors.push(\n\t\t\t\t\t\t\t\t\tnew ModuleNotFoundError(null, err, {\n\t\t\t\t\t\t\t\t\t\tname: `shared module ${request}`\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn resolve();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolved.set(result, config);\n\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t} else if (/^(\\/|[A-Za-z]:\\\\|\\\\\\\\)/.test(request)) {\n\t\t\t\t// absolute path\n\t\t\t\tresolved.set(request, config);\n\t\t\t} else if (request.endsWith(\"/\")) {\n\t\t\t\t// module request prefix\n\t\t\t\tprefixed.set(request, config);\n\t\t\t} else {\n\t\t\t\t// module request\n\t\t\t\tunresolved.set(request, config);\n\t\t\t}\n\t\t})\n\t).then(() => {\n\t\tcompilation.contextDependencies.addAll(resolveContext.contextDependencies);\n\t\tcompilation.fileDependencies.addAll(resolveContext.fileDependencies);\n\t\tcompilation.missingDependencies.addAll(resolveContext.missingDependencies);\n\t\treturn { resolved, unresolved, prefixed };\n\t});\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/resolveMatchedConfigs.js?"); /***/ }), /***/ "./node_modules/webpack/lib/sharing/utils.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/sharing/utils.js ***! \***************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { join, dirname, readJson } = __webpack_require__(/*! ../util/fs */ \"./node_modules/webpack/lib/util/fs.js\");\n\n/** @typedef {import(\"../util/fs\").InputFileSystem} InputFileSystem */\n\n/**\n * @param {string} str maybe required version\n * @returns {boolean} true, if it looks like a version\n */\nexports.isRequiredVersion = str => {\n\treturn /^([\\d^=v<>~]|[*xX]$)/.test(str);\n};\n\n/**\n *\n * @param {InputFileSystem} fs file system\n * @param {string} directory directory to start looking into\n * @param {string[]} descriptionFiles possible description filenames\n * @param {function((Error | null)=, {data: object, path: string}=): void} callback callback\n */\nconst getDescriptionFile = (fs, directory, descriptionFiles, callback) => {\n\tlet i = 0;\n\tconst tryLoadCurrent = () => {\n\t\tif (i >= descriptionFiles.length) {\n\t\t\tconst parentDirectory = dirname(fs, directory);\n\t\t\tif (!parentDirectory || parentDirectory === directory) return callback();\n\t\t\treturn getDescriptionFile(\n\t\t\t\tfs,\n\t\t\t\tparentDirectory,\n\t\t\t\tdescriptionFiles,\n\t\t\t\tcallback\n\t\t\t);\n\t\t}\n\t\tconst filePath = join(fs, directory, descriptionFiles[i]);\n\t\treadJson(fs, filePath, (err, data) => {\n\t\t\tif (err) {\n\t\t\t\tif (\"code\" in err && err.code === \"ENOENT\") {\n\t\t\t\t\ti++;\n\t\t\t\t\treturn tryLoadCurrent();\n\t\t\t\t}\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tif (!data || typeof data !== \"object\" || Array.isArray(data)) {\n\t\t\t\treturn callback(\n\t\t\t\t\tnew Error(`Description file ${filePath} is not an object`)\n\t\t\t\t);\n\t\t\t}\n\t\t\tcallback(null, { data, path: filePath });\n\t\t});\n\t};\n\ttryLoadCurrent();\n};\nexports.getDescriptionFile = getDescriptionFile;\n\nexports.getRequiredVersionFromDescriptionFile = (data, packageName) => {\n\tif (\n\t\tdata.optionalDependencies &&\n\t\ttypeof data.optionalDependencies === \"object\" &&\n\t\tpackageName in data.optionalDependencies\n\t) {\n\t\treturn data.optionalDependencies[packageName];\n\t}\n\tif (\n\t\tdata.dependencies &&\n\t\ttypeof data.dependencies === \"object\" &&\n\t\tpackageName in data.dependencies\n\t) {\n\t\treturn data.dependencies[packageName];\n\t}\n\tif (\n\t\tdata.peerDependencies &&\n\t\ttypeof data.peerDependencies === \"object\" &&\n\t\tpackageName in data.peerDependencies\n\t) {\n\t\treturn data.peerDependencies[packageName];\n\t}\n\tif (\n\t\tdata.devDependencies &&\n\t\ttypeof data.devDependencies === \"object\" &&\n\t\tpackageName in data.devDependencies\n\t) {\n\t\treturn data.devDependencies[packageName];\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/sharing/utils.js?"); /***/ }), /***/ "./node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?9dd6\");\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst formatLocation = __webpack_require__(/*! ../formatLocation */ \"./node_modules/webpack/lib/formatLocation.js\");\nconst { LogType } = __webpack_require__(/*! ../logging/Logger */ \"./node_modules/webpack/lib/logging/Logger.js\");\nconst AggressiveSplittingPlugin = __webpack_require__(/*! ../optimize/AggressiveSplittingPlugin */ \"./node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js\");\nconst SizeLimitsPlugin = __webpack_require__(/*! ../performance/SizeLimitsPlugin */ \"./node_modules/webpack/lib/performance/SizeLimitsPlugin.js\");\nconst { countIterable } = __webpack_require__(/*! ../util/IterableHelpers */ \"./node_modules/webpack/lib/util/IterableHelpers.js\");\nconst {\n\tcompareLocations,\n\tcompareChunksById,\n\tcompareNumbers,\n\tcompareIds,\n\tconcatComparators,\n\tcompareSelect,\n\tcompareModulesByIdentifier\n} = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst { makePathsRelative, parseResource } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../ChunkGroup\").OriginRecord} OriginRecord */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compilation\").Asset} Asset */\n/** @typedef {import(\"../Compilation\").AssetInfo} AssetInfo */\n/** @typedef {import(\"../Compilation\").NormalizedStatsOptions} NormalizedStatsOptions */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraphConnection\")} ModuleGraphConnection */\n/** @typedef {import(\"../ModuleProfile\")} ModuleProfile */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @template T @typedef {import(\"../util/comparators\").Comparator<T>} Comparator<T> */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n/** @typedef {import(\"../util/smartGrouping\").GroupConfig<any, object>} GroupConfig */\n/** @typedef {import(\"./StatsFactory\")} StatsFactory */\n/** @typedef {import(\"./StatsFactory\").StatsFactoryContext} StatsFactoryContext */\n\n/** @typedef {KnownStatsCompilation & Record<string, any>} StatsCompilation */\n/**\n * @typedef {Object} KnownStatsCompilation\n * @property {any=} env\n * @property {string=} name\n * @property {string=} hash\n * @property {string=} version\n * @property {number=} time\n * @property {number=} builtAt\n * @property {boolean=} needAdditionalPass\n * @property {string=} publicPath\n * @property {string=} outputPath\n * @property {Record<string, string[]>=} assetsByChunkName\n * @property {StatsAsset[]=} assets\n * @property {number=} filteredAssets\n * @property {StatsChunk[]=} chunks\n * @property {StatsModule[]=} modules\n * @property {number=} filteredModules\n * @property {Record<string, StatsChunkGroup>=} entrypoints\n * @property {Record<string, StatsChunkGroup>=} namedChunkGroups\n * @property {StatsError[]=} errors\n * @property {number=} errorsCount\n * @property {StatsError[]=} warnings\n * @property {number=} warningsCount\n * @property {StatsCompilation[]=} children\n * @property {Record<string, StatsLogging>=} logging\n */\n\n/** @typedef {KnownStatsLogging & Record<string, any>} StatsLogging */\n/**\n * @typedef {Object} KnownStatsLogging\n * @property {StatsLoggingEntry[]} entries\n * @property {number} filteredEntries\n * @property {boolean} debug\n */\n\n/** @typedef {KnownStatsLoggingEntry & Record<string, any>} StatsLoggingEntry */\n/**\n * @typedef {Object} KnownStatsLoggingEntry\n * @property {string} type\n * @property {string} message\n * @property {string[]=} trace\n * @property {StatsLoggingEntry[]=} children\n * @property {any[]=} args\n * @property {number=} time\n */\n\n/** @typedef {KnownStatsAsset & Record<string, any>} StatsAsset */\n/**\n * @typedef {Object} KnownStatsAsset\n * @property {string} type\n * @property {string} name\n * @property {AssetInfo} info\n * @property {number} size\n * @property {boolean} emitted\n * @property {boolean} comparedForEmit\n * @property {boolean} cached\n * @property {StatsAsset[]=} related\n * @property {(string|number)[]=} chunkNames\n * @property {(string|number)[]=} chunkIdHints\n * @property {(string|number)[]=} chunks\n * @property {(string|number)[]=} auxiliaryChunkNames\n * @property {(string|number)[]=} auxiliaryChunks\n * @property {(string|number)[]=} auxiliaryChunkIdHints\n * @property {number=} filteredRelated\n * @property {boolean=} isOverSizeLimit\n */\n\n/** @typedef {KnownStatsChunkGroup & Record<string, any>} StatsChunkGroup */\n/**\n * @typedef {Object} KnownStatsChunkGroup\n * @property {string=} name\n * @property {(string|number)[]=} chunks\n * @property {({ name: string, size?: number })[]=} assets\n * @property {number=} filteredAssets\n * @property {number=} assetsSize\n * @property {({ name: string, size?: number })[]=} auxiliaryAssets\n * @property {number=} filteredAuxiliaryAssets\n * @property {number=} auxiliaryAssetsSize\n * @property {{ [x: string]: StatsChunkGroup[] }=} children\n * @property {{ [x: string]: string[] }=} childAssets\n * @property {boolean=} isOverSizeLimit\n */\n\n/** @typedef {KnownStatsModule & Record<string, any>} StatsModule */\n/**\n * @typedef {Object} KnownStatsModule\n * @property {string=} type\n * @property {string=} moduleType\n * @property {string=} layer\n * @property {string=} identifier\n * @property {string=} name\n * @property {string=} nameForCondition\n * @property {number=} index\n * @property {number=} preOrderIndex\n * @property {number=} index2\n * @property {number=} postOrderIndex\n * @property {number=} size\n * @property {{[x: string]: number}=} sizes\n * @property {boolean=} cacheable\n * @property {boolean=} built\n * @property {boolean=} codeGenerated\n * @property {boolean=} buildTimeExecuted\n * @property {boolean=} cached\n * @property {boolean=} optional\n * @property {boolean=} orphan\n * @property {string|number=} id\n * @property {string|number=} issuerId\n * @property {(string|number)[]=} chunks\n * @property {(string|number)[]=} assets\n * @property {boolean=} dependent\n * @property {string=} issuer\n * @property {string=} issuerName\n * @property {StatsModuleIssuer[]=} issuerPath\n * @property {boolean=} failed\n * @property {number=} errors\n * @property {number=} warnings\n * @property {StatsProfile=} profile\n * @property {StatsModuleReason[]=} reasons\n * @property {(boolean | string[])=} usedExports\n * @property {string[]=} providedExports\n * @property {string[]=} optimizationBailout\n * @property {number=} depth\n * @property {StatsModule[]=} modules\n * @property {number=} filteredModules\n * @property {ReturnType<Source[\"source\"]>=} source\n */\n\n/** @typedef {KnownStatsProfile & Record<string, any>} StatsProfile */\n/**\n * @typedef {Object} KnownStatsProfile\n * @property {number} total\n * @property {number} resolving\n * @property {number} restoring\n * @property {number} building\n * @property {number} integration\n * @property {number} storing\n * @property {number} additionalResolving\n * @property {number} additionalIntegration\n * @property {number} factory\n * @property {number} dependencies\n */\n\n/** @typedef {KnownStatsModuleIssuer & Record<string, any>} StatsModuleIssuer */\n/**\n * @typedef {Object} KnownStatsModuleIssuer\n * @property {string=} identifier\n * @property {string=} name\n * @property {(string|number)=} id\n * @property {StatsProfile=} profile\n */\n\n/** @typedef {KnownStatsModuleReason & Record<string, any>} StatsModuleReason */\n/**\n * @typedef {Object} KnownStatsModuleReason\n * @property {string=} moduleIdentifier\n * @property {string=} module\n * @property {string=} moduleName\n * @property {string=} resolvedModuleIdentifier\n * @property {string=} resolvedModule\n * @property {string=} type\n * @property {boolean} active\n * @property {string=} explanation\n * @property {string=} userRequest\n * @property {string=} loc\n * @property {(string|number)=} moduleId\n * @property {(string|number)=} resolvedModuleId\n */\n\n/** @typedef {KnownStatsChunk & Record<string, any>} StatsChunk */\n/**\n * @typedef {Object} KnownStatsChunk\n * @property {boolean} rendered\n * @property {boolean} initial\n * @property {boolean} entry\n * @property {boolean} recorded\n * @property {string=} reason\n * @property {number} size\n * @property {Record<string, number>=} sizes\n * @property {string[]=} names\n * @property {string[]=} idHints\n * @property {string[]=} runtime\n * @property {string[]=} files\n * @property {string[]=} auxiliaryFiles\n * @property {string} hash\n * @property {Record<string, (string|number)[]>=} childrenByOrder\n * @property {(string|number)=} id\n * @property {(string|number)[]=} siblings\n * @property {(string|number)[]=} parents\n * @property {(string|number)[]=} children\n * @property {StatsModule[]=} modules\n * @property {number=} filteredModules\n * @property {StatsChunkOrigin[]=} origins\n */\n\n/** @typedef {KnownStatsChunkOrigin & Record<string, any>} StatsChunkOrigin */\n/**\n * @typedef {Object} KnownStatsChunkOrigin\n * @property {string=} module\n * @property {string=} moduleIdentifier\n * @property {string=} moduleName\n * @property {string=} loc\n * @property {string=} request\n * @property {(string|number)=} moduleId\n */\n\n/** @typedef {KnownStatsModuleTraceItem & Record<string, any>} StatsModuleTraceItem */\n/**\n * @typedef {Object} KnownStatsModuleTraceItem\n * @property {string=} originIdentifier\n * @property {string=} originName\n * @property {string=} moduleIdentifier\n * @property {string=} moduleName\n * @property {StatsModuleTraceDependency[]=} dependencies\n * @property {(string|number)=} originId\n * @property {(string|number)=} moduleId\n */\n\n/** @typedef {KnownStatsModuleTraceDependency & Record<string, any>} StatsModuleTraceDependency */\n/**\n * @typedef {Object} KnownStatsModuleTraceDependency\n * @property {string=} loc\n */\n\n/** @typedef {KnownStatsError & Record<string, any>} StatsError */\n/**\n * @typedef {Object} KnownStatsError\n * @property {string} message\n * @property {string=} chunkName\n * @property {boolean=} chunkEntry\n * @property {boolean=} chunkInitial\n * @property {string=} file\n * @property {string=} moduleIdentifier\n * @property {string=} moduleName\n * @property {string=} loc\n * @property {string|number=} chunkId\n * @property {string|number=} moduleId\n * @property {StatsModuleTraceItem[]=} moduleTrace\n * @property {any=} details\n * @property {string=} stack\n */\n\n/** @typedef {Asset & { type: string, related: PreprocessedAsset[] }} PreprocessedAsset */\n\n/**\n * @template T\n * @template O\n * @typedef {Record<string, (object: O, data: T, context: StatsFactoryContext, options: NormalizedStatsOptions, factory: StatsFactory) => void>} ExtractorsByOption\n */\n\n/**\n * @typedef {Object} SimpleExtractors\n * @property {ExtractorsByOption<Compilation, StatsCompilation>} compilation\n * @property {ExtractorsByOption<PreprocessedAsset, StatsAsset>} asset\n * @property {ExtractorsByOption<PreprocessedAsset, StatsAsset>} asset$visible\n * @property {ExtractorsByOption<{ name: string, chunkGroup: ChunkGroup }, StatsChunkGroup>} chunkGroup\n * @property {ExtractorsByOption<Module, StatsModule>} module\n * @property {ExtractorsByOption<Module, StatsModule>} module$visible\n * @property {ExtractorsByOption<Module, StatsModuleIssuer>} moduleIssuer\n * @property {ExtractorsByOption<ModuleProfile, StatsProfile>} profile\n * @property {ExtractorsByOption<ModuleGraphConnection, StatsModuleReason>} moduleReason\n * @property {ExtractorsByOption<Chunk, StatsChunk>} chunk\n * @property {ExtractorsByOption<OriginRecord, StatsChunkOrigin>} chunkOrigin\n * @property {ExtractorsByOption<WebpackError, StatsError>} error\n * @property {ExtractorsByOption<WebpackError, StatsError>} warning\n * @property {ExtractorsByOption<{ origin: Module, module: Module }, StatsModuleTraceItem>} moduleTraceItem\n * @property {ExtractorsByOption<Dependency, StatsModuleTraceDependency>} moduleTraceDependency\n */\n\n/**\n * @template T\n * @template I\n * @param {Iterable<T>} items items to select from\n * @param {function(T): Iterable<I>} selector selector function to select values from item\n * @returns {I[]} array of values\n */\nconst uniqueArray = (items, selector) => {\n\t/** @type {Set<I>} */\n\tconst set = new Set();\n\tfor (const item of items) {\n\t\tfor (const i of selector(item)) {\n\t\t\tset.add(i);\n\t\t}\n\t}\n\treturn Array.from(set);\n};\n\n/**\n * @template T\n * @template I\n * @param {Iterable<T>} items items to select from\n * @param {function(T): Iterable<I>} selector selector function to select values from item\n * @param {Comparator<I>} comparator comparator function\n * @returns {I[]} array of values\n */\nconst uniqueOrderedArray = (items, selector, comparator) => {\n\treturn uniqueArray(items, selector).sort(comparator);\n};\n\n/** @template T @template R @typedef {{ [P in keyof T]: R }} MappedValues<T, R> */\n\n/**\n * @template T\n * @template R\n * @param {T} obj object to be mapped\n * @param {function(T[keyof T], keyof T): R} fn mapping function\n * @returns {MappedValues<T, R>} mapped object\n */\nconst mapObject = (obj, fn) => {\n\tconst newObj = Object.create(null);\n\tfor (const key of Object.keys(obj)) {\n\t\tnewObj[key] = fn(obj[key], /** @type {keyof T} */ (key));\n\t}\n\treturn newObj;\n};\n\n/**\n * @param {Compilation} compilation the compilation\n * @param {function(Compilation, string): any[]} getItems get items\n * @returns {number} total number\n */\nconst countWithChildren = (compilation, getItems) => {\n\tlet count = getItems(compilation, \"\").length;\n\tfor (const child of compilation.children) {\n\t\tcount += countWithChildren(child, (c, type) =>\n\t\t\tgetItems(c, `.children[].compilation${type}`)\n\t\t);\n\t}\n\treturn count;\n};\n\n/** @type {ExtractorsByOption<WebpackError | string, StatsError>} */\nconst EXTRACT_ERROR = {\n\t_: (object, error, context, { requestShortener }) => {\n\t\t// TODO webpack 6 disallow strings in the errors/warnings list\n\t\tif (typeof error === \"string\") {\n\t\t\tobject.message = error;\n\t\t} else {\n\t\t\tif (error.chunk) {\n\t\t\t\tobject.chunkName = error.chunk.name;\n\t\t\t\tobject.chunkEntry = error.chunk.hasRuntime();\n\t\t\t\tobject.chunkInitial = error.chunk.canBeInitial();\n\t\t\t}\n\t\t\tif (error.file) {\n\t\t\t\tobject.file = error.file;\n\t\t\t}\n\t\t\tif (error.module) {\n\t\t\t\tobject.moduleIdentifier = error.module.identifier();\n\t\t\t\tobject.moduleName = error.module.readableIdentifier(requestShortener);\n\t\t\t}\n\t\t\tif (error.loc) {\n\t\t\t\tobject.loc = formatLocation(error.loc);\n\t\t\t}\n\t\t\tobject.message = error.message;\n\t\t}\n\t},\n\tids: (object, error, { compilation: { chunkGraph } }) => {\n\t\tif (typeof error !== \"string\") {\n\t\t\tif (error.chunk) {\n\t\t\t\tobject.chunkId = error.chunk.id;\n\t\t\t}\n\t\t\tif (error.module) {\n\t\t\t\tobject.moduleId = chunkGraph.getModuleId(error.module);\n\t\t\t}\n\t\t}\n\t},\n\tmoduleTrace: (object, error, context, options, factory) => {\n\t\tif (typeof error !== \"string\" && error.module) {\n\t\t\tconst {\n\t\t\t\ttype,\n\t\t\t\tcompilation: { moduleGraph }\n\t\t\t} = context;\n\t\t\t/** @type {Set<Module>} */\n\t\t\tconst visitedModules = new Set();\n\t\t\tconst moduleTrace = [];\n\t\t\tlet current = error.module;\n\t\t\twhile (current) {\n\t\t\t\tif (visitedModules.has(current)) break; // circular (technically impossible, but how knows)\n\t\t\t\tvisitedModules.add(current);\n\t\t\t\tconst origin = moduleGraph.getIssuer(current);\n\t\t\t\tif (!origin) break;\n\t\t\t\tmoduleTrace.push({ origin, module: current });\n\t\t\t\tcurrent = origin;\n\t\t\t}\n\t\t\tobject.moduleTrace = factory.create(\n\t\t\t\t`${type}.moduleTrace`,\n\t\t\t\tmoduleTrace,\n\t\t\t\tcontext\n\t\t\t);\n\t\t}\n\t},\n\terrorDetails: (\n\t\tobject,\n\t\terror,\n\t\t{ type, compilation, cachedGetErrors, cachedGetWarnings },\n\t\t{ errorDetails }\n\t) => {\n\t\tif (\n\t\t\ttypeof error !== \"string\" &&\n\t\t\t(errorDetails === true ||\n\t\t\t\t(type.endsWith(\".error\") && cachedGetErrors(compilation).length < 3))\n\t\t) {\n\t\t\tobject.details = error.details;\n\t\t}\n\t},\n\terrorStack: (object, error) => {\n\t\tif (typeof error !== \"string\") {\n\t\t\tobject.stack = error.stack;\n\t\t}\n\t}\n};\n\n/** @type {SimpleExtractors} */\nconst SIMPLE_EXTRACTORS = {\n\tcompilation: {\n\t\t_: (object, compilation, context, options) => {\n\t\t\tif (!context.makePathsRelative) {\n\t\t\t\tcontext.makePathsRelative = makePathsRelative.bindContextCache(\n\t\t\t\t\tcompilation.compiler.context,\n\t\t\t\t\tcompilation.compiler.root\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!context.cachedGetErrors) {\n\t\t\t\tconst map = new WeakMap();\n\t\t\t\tcontext.cachedGetErrors = compilation => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tmap.get(compilation) ||\n\t\t\t\t\t\t(errors => (map.set(compilation, errors), errors))(\n\t\t\t\t\t\t\tcompilation.getErrors()\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (!context.cachedGetWarnings) {\n\t\t\t\tconst map = new WeakMap();\n\t\t\t\tcontext.cachedGetWarnings = compilation => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tmap.get(compilation) ||\n\t\t\t\t\t\t(warnings => (map.set(compilation, warnings), warnings))(\n\t\t\t\t\t\t\tcompilation.getWarnings()\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (compilation.name) {\n\t\t\t\tobject.name = compilation.name;\n\t\t\t}\n\t\t\tif (compilation.needAdditionalPass) {\n\t\t\t\tobject.needAdditionalPass = true;\n\t\t\t}\n\n\t\t\tconst { logging, loggingDebug, loggingTrace } = options;\n\t\t\tif (logging || (loggingDebug && loggingDebug.length > 0)) {\n\t\t\t\tconst util = __webpack_require__(/*! util */ \"?9dd6\");\n\t\t\t\tobject.logging = {};\n\t\t\t\tlet acceptedTypes;\n\t\t\t\tlet collapsedGroups = false;\n\t\t\t\tswitch (logging) {\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tacceptedTypes = new Set();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"error\":\n\t\t\t\t\t\tacceptedTypes = new Set([LogType.error]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"warn\":\n\t\t\t\t\t\tacceptedTypes = new Set([LogType.error, LogType.warn]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"info\":\n\t\t\t\t\t\tacceptedTypes = new Set([\n\t\t\t\t\t\t\tLogType.error,\n\t\t\t\t\t\t\tLogType.warn,\n\t\t\t\t\t\t\tLogType.info\n\t\t\t\t\t\t]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"log\":\n\t\t\t\t\t\tacceptedTypes = new Set([\n\t\t\t\t\t\t\tLogType.error,\n\t\t\t\t\t\t\tLogType.warn,\n\t\t\t\t\t\t\tLogType.info,\n\t\t\t\t\t\t\tLogType.log,\n\t\t\t\t\t\t\tLogType.group,\n\t\t\t\t\t\t\tLogType.groupEnd,\n\t\t\t\t\t\t\tLogType.groupCollapsed,\n\t\t\t\t\t\t\tLogType.clear\n\t\t\t\t\t\t]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"verbose\":\n\t\t\t\t\t\tacceptedTypes = new Set([\n\t\t\t\t\t\t\tLogType.error,\n\t\t\t\t\t\t\tLogType.warn,\n\t\t\t\t\t\t\tLogType.info,\n\t\t\t\t\t\t\tLogType.log,\n\t\t\t\t\t\t\tLogType.group,\n\t\t\t\t\t\t\tLogType.groupEnd,\n\t\t\t\t\t\t\tLogType.groupCollapsed,\n\t\t\t\t\t\t\tLogType.profile,\n\t\t\t\t\t\t\tLogType.profileEnd,\n\t\t\t\t\t\t\tLogType.time,\n\t\t\t\t\t\t\tLogType.status,\n\t\t\t\t\t\t\tLogType.clear\n\t\t\t\t\t\t]);\n\t\t\t\t\t\tcollapsedGroups = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tconst cachedMakePathsRelative = makePathsRelative.bindContextCache(\n\t\t\t\t\toptions.context,\n\t\t\t\t\tcompilation.compiler.root\n\t\t\t\t);\n\t\t\t\tlet depthInCollapsedGroup = 0;\n\t\t\t\tfor (const [origin, logEntries] of compilation.logging) {\n\t\t\t\t\tconst debugMode = loggingDebug.some(fn => fn(origin));\n\t\t\t\t\tif (logging === false && !debugMode) continue;\n\t\t\t\t\t/** @type {KnownStatsLoggingEntry[]} */\n\t\t\t\t\tconst groupStack = [];\n\t\t\t\t\t/** @type {KnownStatsLoggingEntry[]} */\n\t\t\t\t\tconst rootList = [];\n\t\t\t\t\tlet currentList = rootList;\n\t\t\t\t\tlet processedLogEntries = 0;\n\t\t\t\t\tfor (const entry of logEntries) {\n\t\t\t\t\t\tlet type = entry.type;\n\t\t\t\t\t\tif (!debugMode && !acceptedTypes.has(type)) continue;\n\n\t\t\t\t\t\t// Expand groups in verbose and debug modes\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\ttype === LogType.groupCollapsed &&\n\t\t\t\t\t\t\t(debugMode || collapsedGroups)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\ttype = LogType.group;\n\n\t\t\t\t\t\tif (depthInCollapsedGroup === 0) {\n\t\t\t\t\t\t\tprocessedLogEntries++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (type === LogType.groupEnd) {\n\t\t\t\t\t\t\tgroupStack.pop();\n\t\t\t\t\t\t\tif (groupStack.length > 0) {\n\t\t\t\t\t\t\t\tcurrentList = groupStack[groupStack.length - 1].children;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcurrentList = rootList;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (depthInCollapsedGroup > 0) depthInCollapsedGroup--;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet message = undefined;\n\t\t\t\t\t\tif (entry.type === LogType.time) {\n\t\t\t\t\t\t\tmessage = `${entry.args[0]}: ${\n\t\t\t\t\t\t\t\tentry.args[1] * 1000 + entry.args[2] / 1000000\n\t\t\t\t\t\t\t} ms`;\n\t\t\t\t\t\t} else if (entry.args && entry.args.length > 0) {\n\t\t\t\t\t\t\tmessage = util.format(entry.args[0], ...entry.args.slice(1));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t/** @type {KnownStatsLoggingEntry} */\n\t\t\t\t\t\tconst newEntry = {\n\t\t\t\t\t\t\t...entry,\n\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\ttrace: loggingTrace ? entry.trace : undefined,\n\t\t\t\t\t\t\tchildren:\n\t\t\t\t\t\t\t\ttype === LogType.group || type === LogType.groupCollapsed\n\t\t\t\t\t\t\t\t\t? []\n\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t};\n\t\t\t\t\t\tcurrentList.push(newEntry);\n\t\t\t\t\t\tif (newEntry.children) {\n\t\t\t\t\t\t\tgroupStack.push(newEntry);\n\t\t\t\t\t\t\tcurrentList = newEntry.children;\n\t\t\t\t\t\t\tif (depthInCollapsedGroup > 0) {\n\t\t\t\t\t\t\t\tdepthInCollapsedGroup++;\n\t\t\t\t\t\t\t} else if (type === LogType.groupCollapsed) {\n\t\t\t\t\t\t\t\tdepthInCollapsedGroup = 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlet name = cachedMakePathsRelative(origin).replace(/\\|/g, \" \");\n\t\t\t\t\tif (name in object.logging) {\n\t\t\t\t\t\tlet i = 1;\n\t\t\t\t\t\twhile (`${name}#${i}` in object.logging) {\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tname = `${name}#${i}`;\n\t\t\t\t\t}\n\t\t\t\t\tobject.logging[name] = {\n\t\t\t\t\t\tentries: rootList,\n\t\t\t\t\t\tfilteredEntries: logEntries.length - processedLogEntries,\n\t\t\t\t\t\tdebug: debugMode\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thash: (object, compilation) => {\n\t\t\tobject.hash = compilation.hash;\n\t\t},\n\t\tversion: object => {\n\t\t\tobject.version = (__webpack_require__(/*! ../../package.json */ \"./node_modules/webpack/package.json\").version);\n\t\t},\n\t\tenv: (object, compilation, context, { _env }) => {\n\t\t\tobject.env = _env;\n\t\t},\n\t\ttimings: (object, compilation) => {\n\t\t\tobject.time = compilation.endTime - compilation.startTime;\n\t\t},\n\t\tbuiltAt: (object, compilation) => {\n\t\t\tobject.builtAt = compilation.endTime;\n\t\t},\n\t\tpublicPath: (object, compilation) => {\n\t\t\tobject.publicPath = compilation.getPath(\n\t\t\t\tcompilation.outputOptions.publicPath\n\t\t\t);\n\t\t},\n\t\toutputPath: (object, compilation) => {\n\t\t\tobject.outputPath = compilation.outputOptions.path;\n\t\t},\n\t\tassets: (object, compilation, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\t/** @type {Map<string, Chunk[]>} */\n\t\t\tconst compilationFileToChunks = new Map();\n\t\t\t/** @type {Map<string, Chunk[]>} */\n\t\t\tconst compilationAuxiliaryFileToChunks = new Map();\n\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\tfor (const file of chunk.files) {\n\t\t\t\t\tlet array = compilationFileToChunks.get(file);\n\t\t\t\t\tif (array === undefined) {\n\t\t\t\t\t\tarray = [];\n\t\t\t\t\t\tcompilationFileToChunks.set(file, array);\n\t\t\t\t\t}\n\t\t\t\t\tarray.push(chunk);\n\t\t\t\t}\n\t\t\t\tfor (const file of chunk.auxiliaryFiles) {\n\t\t\t\t\tlet array = compilationAuxiliaryFileToChunks.get(file);\n\t\t\t\t\tif (array === undefined) {\n\t\t\t\t\t\tarray = [];\n\t\t\t\t\t\tcompilationAuxiliaryFileToChunks.set(file, array);\n\t\t\t\t\t}\n\t\t\t\t\tarray.push(chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t\t/** @type {Map<string, PreprocessedAsset>} */\n\t\t\tconst assetMap = new Map();\n\t\t\t/** @type {Set<PreprocessedAsset>} */\n\t\t\tconst assets = new Set();\n\t\t\tfor (const asset of compilation.getAssets()) {\n\t\t\t\t/** @type {PreprocessedAsset} */\n\t\t\t\tconst item = {\n\t\t\t\t\t...asset,\n\t\t\t\t\ttype: \"asset\",\n\t\t\t\t\trelated: undefined\n\t\t\t\t};\n\t\t\t\tassets.add(item);\n\t\t\t\tassetMap.set(asset.name, item);\n\t\t\t}\n\t\t\tfor (const item of assetMap.values()) {\n\t\t\t\tconst related = item.info.related;\n\t\t\t\tif (!related) continue;\n\t\t\t\tfor (const type of Object.keys(related)) {\n\t\t\t\t\tconst relatedEntry = related[type];\n\t\t\t\t\tconst deps = Array.isArray(relatedEntry)\n\t\t\t\t\t\t? relatedEntry\n\t\t\t\t\t\t: [relatedEntry];\n\t\t\t\t\tfor (const dep of deps) {\n\t\t\t\t\t\tconst depItem = assetMap.get(dep);\n\t\t\t\t\t\tif (!depItem) continue;\n\t\t\t\t\t\tassets.delete(depItem);\n\t\t\t\t\t\tdepItem.type = type;\n\t\t\t\t\t\titem.related = item.related || [];\n\t\t\t\t\t\titem.related.push(depItem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tobject.assetsByChunkName = {};\n\t\t\tfor (const [file, chunks] of compilationFileToChunks) {\n\t\t\t\tfor (const chunk of chunks) {\n\t\t\t\t\tconst name = chunk.name;\n\t\t\t\t\tif (!name) continue;\n\t\t\t\t\tif (\n\t\t\t\t\t\t!Object.prototype.hasOwnProperty.call(\n\t\t\t\t\t\t\tobject.assetsByChunkName,\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\tobject.assetsByChunkName[name] = [];\n\t\t\t\t\t}\n\t\t\t\t\tobject.assetsByChunkName[name].push(file);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst groupedAssets = factory.create(\n\t\t\t\t`${type}.assets`,\n\t\t\t\tArray.from(assets),\n\t\t\t\t{\n\t\t\t\t\t...context,\n\t\t\t\t\tcompilationFileToChunks,\n\t\t\t\t\tcompilationAuxiliaryFileToChunks\n\t\t\t\t}\n\t\t\t);\n\t\t\tconst limited = spaceLimited(groupedAssets, options.assetsSpace);\n\t\t\tobject.assets = limited.children;\n\t\t\tobject.filteredAssets = limited.filteredChildren;\n\t\t},\n\t\tchunks: (object, compilation, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tobject.chunks = factory.create(\n\t\t\t\t`${type}.chunks`,\n\t\t\t\tArray.from(compilation.chunks),\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\tmodules: (object, compilation, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tconst array = Array.from(compilation.modules);\n\t\t\tconst groupedModules = factory.create(`${type}.modules`, array, context);\n\t\t\tconst limited = spaceLimited(groupedModules, options.modulesSpace);\n\t\t\tobject.modules = limited.children;\n\t\t\tobject.filteredModules = limited.filteredChildren;\n\t\t},\n\t\tentrypoints: (\n\t\t\tobject,\n\t\t\tcompilation,\n\t\t\tcontext,\n\t\t\t{ entrypoints, chunkGroups, chunkGroupAuxiliary, chunkGroupChildren },\n\t\t\tfactory\n\t\t) => {\n\t\t\tconst { type } = context;\n\t\t\tconst array = Array.from(compilation.entrypoints, ([key, value]) => ({\n\t\t\t\tname: key,\n\t\t\t\tchunkGroup: value\n\t\t\t}));\n\t\t\tif (entrypoints === \"auto\" && !chunkGroups) {\n\t\t\t\tif (array.length > 5) return;\n\t\t\t\tif (\n\t\t\t\t\t!chunkGroupChildren &&\n\t\t\t\t\tarray.every(({ chunkGroup }) => {\n\t\t\t\t\t\tif (chunkGroup.chunks.length !== 1) return false;\n\t\t\t\t\t\tconst chunk = chunkGroup.chunks[0];\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\tchunk.files.size === 1 &&\n\t\t\t\t\t\t\t(!chunkGroupAuxiliary || chunk.auxiliaryFiles.size === 0)\n\t\t\t\t\t\t);\n\t\t\t\t\t})\n\t\t\t\t) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tobject.entrypoints = factory.create(\n\t\t\t\t`${type}.entrypoints`,\n\t\t\t\tarray,\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\tchunkGroups: (object, compilation, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tconst array = Array.from(\n\t\t\t\tcompilation.namedChunkGroups,\n\t\t\t\t([key, value]) => ({\n\t\t\t\t\tname: key,\n\t\t\t\t\tchunkGroup: value\n\t\t\t\t})\n\t\t\t);\n\t\t\tobject.namedChunkGroups = factory.create(\n\t\t\t\t`${type}.namedChunkGroups`,\n\t\t\t\tarray,\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\terrors: (object, compilation, context, options, factory) => {\n\t\t\tconst { type, cachedGetErrors } = context;\n\t\t\tobject.errors = factory.create(\n\t\t\t\t`${type}.errors`,\n\t\t\t\tcachedGetErrors(compilation),\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\terrorsCount: (object, compilation, { cachedGetErrors }) => {\n\t\t\tobject.errorsCount = countWithChildren(compilation, c =>\n\t\t\t\tcachedGetErrors(c)\n\t\t\t);\n\t\t},\n\t\twarnings: (object, compilation, context, options, factory) => {\n\t\t\tconst { type, cachedGetWarnings } = context;\n\t\t\tobject.warnings = factory.create(\n\t\t\t\t`${type}.warnings`,\n\t\t\t\tcachedGetWarnings(compilation),\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\twarningsCount: (\n\t\t\tobject,\n\t\t\tcompilation,\n\t\t\tcontext,\n\t\t\t{ warningsFilter },\n\t\t\tfactory\n\t\t) => {\n\t\t\tconst { type, cachedGetWarnings } = context;\n\t\t\tobject.warningsCount = countWithChildren(compilation, (c, childType) => {\n\t\t\t\tif (!warningsFilter && warningsFilter.length === 0)\n\t\t\t\t\treturn cachedGetWarnings(c);\n\t\t\t\treturn factory\n\t\t\t\t\t.create(`${type}${childType}.warnings`, cachedGetWarnings(c), context)\n\t\t\t\t\t.filter(warning => {\n\t\t\t\t\t\tconst warningString = Object.keys(warning)\n\t\t\t\t\t\t\t.map(key => `${warning[key]}`)\n\t\t\t\t\t\t\t.join(\"\\n\");\n\t\t\t\t\t\treturn !warningsFilter.some(filter =>\n\t\t\t\t\t\t\tfilter(warning, warningString)\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t});\n\t\t},\n\t\terrorDetails: (\n\t\t\tobject,\n\t\t\tcompilation,\n\t\t\t{ cachedGetErrors, cachedGetWarnings },\n\t\t\t{ errorDetails, errors, warnings }\n\t\t) => {\n\t\t\tif (errorDetails === \"auto\") {\n\t\t\t\tif (warnings) {\n\t\t\t\t\tconst warnings = cachedGetWarnings(compilation);\n\t\t\t\t\tobject.filteredWarningDetailsCount = warnings\n\t\t\t\t\t\t.map(e => typeof e !== \"string\" && e.details)\n\t\t\t\t\t\t.filter(Boolean).length;\n\t\t\t\t}\n\t\t\t\tif (errors) {\n\t\t\t\t\tconst errors = cachedGetErrors(compilation);\n\t\t\t\t\tif (errors.length >= 3) {\n\t\t\t\t\t\tobject.filteredErrorDetailsCount = errors\n\t\t\t\t\t\t\t.map(e => typeof e !== \"string\" && e.details)\n\t\t\t\t\t\t\t.filter(Boolean).length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tchildren: (object, compilation, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tobject.children = factory.create(\n\t\t\t\t`${type}.children`,\n\t\t\t\tcompilation.children,\n\t\t\t\tcontext\n\t\t\t);\n\t\t}\n\t},\n\tasset: {\n\t\t_: (object, asset, context, options, factory) => {\n\t\t\tconst { compilation } = context;\n\t\t\tobject.type = asset.type;\n\t\t\tobject.name = asset.name;\n\t\t\tobject.size = asset.source.size();\n\t\t\tobject.emitted = compilation.emittedAssets.has(asset.name);\n\t\t\tobject.comparedForEmit = compilation.comparedForEmitAssets.has(\n\t\t\t\tasset.name\n\t\t\t);\n\t\t\tconst cached = !object.emitted && !object.comparedForEmit;\n\t\t\tobject.cached = cached;\n\t\t\tobject.info = asset.info;\n\t\t\tif (!cached || options.cachedAssets) {\n\t\t\t\tObject.assign(\n\t\t\t\t\tobject,\n\t\t\t\t\tfactory.create(`${context.type}$visible`, asset, context)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t},\n\tasset$visible: {\n\t\t_: (\n\t\t\tobject,\n\t\t\tasset,\n\t\t\t{ compilation, compilationFileToChunks, compilationAuxiliaryFileToChunks }\n\t\t) => {\n\t\t\tconst chunks = compilationFileToChunks.get(asset.name) || [];\n\t\t\tconst auxiliaryChunks =\n\t\t\t\tcompilationAuxiliaryFileToChunks.get(asset.name) || [];\n\t\t\tobject.chunkNames = uniqueOrderedArray(\n\t\t\t\tchunks,\n\t\t\t\tc => (c.name ? [c.name] : []),\n\t\t\t\tcompareIds\n\t\t\t);\n\t\t\tobject.chunkIdHints = uniqueOrderedArray(\n\t\t\t\tchunks,\n\t\t\t\tc => Array.from(c.idNameHints),\n\t\t\t\tcompareIds\n\t\t\t);\n\t\t\tobject.auxiliaryChunkNames = uniqueOrderedArray(\n\t\t\t\tauxiliaryChunks,\n\t\t\t\tc => (c.name ? [c.name] : []),\n\t\t\t\tcompareIds\n\t\t\t);\n\t\t\tobject.auxiliaryChunkIdHints = uniqueOrderedArray(\n\t\t\t\tauxiliaryChunks,\n\t\t\t\tc => Array.from(c.idNameHints),\n\t\t\t\tcompareIds\n\t\t\t);\n\t\t\tobject.filteredRelated = asset.related ? asset.related.length : undefined;\n\t\t},\n\t\trelatedAssets: (object, asset, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tobject.related = factory.create(\n\t\t\t\t`${type.slice(0, -8)}.related`,\n\t\t\t\tasset.related,\n\t\t\t\tcontext\n\t\t\t);\n\t\t\tobject.filteredRelated = asset.related\n\t\t\t\t? asset.related.length - object.related.length\n\t\t\t\t: undefined;\n\t\t},\n\t\tids: (\n\t\t\tobject,\n\t\t\tasset,\n\t\t\t{ compilationFileToChunks, compilationAuxiliaryFileToChunks }\n\t\t) => {\n\t\t\tconst chunks = compilationFileToChunks.get(asset.name) || [];\n\t\t\tconst auxiliaryChunks =\n\t\t\t\tcompilationAuxiliaryFileToChunks.get(asset.name) || [];\n\t\t\tobject.chunks = uniqueOrderedArray(chunks, c => c.ids, compareIds);\n\t\t\tobject.auxiliaryChunks = uniqueOrderedArray(\n\t\t\t\tauxiliaryChunks,\n\t\t\t\tc => c.ids,\n\t\t\t\tcompareIds\n\t\t\t);\n\t\t},\n\t\tperformance: (object, asset) => {\n\t\t\tobject.isOverSizeLimit = SizeLimitsPlugin.isOverSizeLimit(asset.source);\n\t\t}\n\t},\n\tchunkGroup: {\n\t\t_: (\n\t\t\tobject,\n\t\t\t{ name, chunkGroup },\n\t\t\t{ compilation, compilation: { moduleGraph, chunkGraph } },\n\t\t\t{ ids, chunkGroupAuxiliary, chunkGroupChildren, chunkGroupMaxAssets }\n\t\t) => {\n\t\t\tconst children =\n\t\t\t\tchunkGroupChildren &&\n\t\t\t\tchunkGroup.getChildrenByOrders(moduleGraph, chunkGraph);\n\t\t\t/**\n\t\t\t * @param {string} name Name\n\t\t\t * @returns {{ name: string, size: number }} Asset object\n\t\t\t */\n\t\t\tconst toAsset = name => {\n\t\t\t\tconst asset = compilation.getAsset(name);\n\t\t\t\treturn {\n\t\t\t\t\tname,\n\t\t\t\t\tsize: asset ? asset.info.size : -1\n\t\t\t\t};\n\t\t\t};\n\t\t\t/** @type {(total: number, asset: { size: number }) => number} */\n\t\t\tconst sizeReducer = (total, { size }) => total + size;\n\t\t\tconst assets = uniqueArray(chunkGroup.chunks, c => c.files).map(toAsset);\n\t\t\tconst auxiliaryAssets = uniqueOrderedArray(\n\t\t\t\tchunkGroup.chunks,\n\t\t\t\tc => c.auxiliaryFiles,\n\t\t\t\tcompareIds\n\t\t\t).map(toAsset);\n\t\t\tconst assetsSize = assets.reduce(sizeReducer, 0);\n\t\t\tconst auxiliaryAssetsSize = auxiliaryAssets.reduce(sizeReducer, 0);\n\t\t\t/** @type {KnownStatsChunkGroup} */\n\t\t\tconst statsChunkGroup = {\n\t\t\t\tname,\n\t\t\t\tchunks: ids ? chunkGroup.chunks.map(c => c.id) : undefined,\n\t\t\t\tassets: assets.length <= chunkGroupMaxAssets ? assets : undefined,\n\t\t\t\tfilteredAssets:\n\t\t\t\t\tassets.length <= chunkGroupMaxAssets ? 0 : assets.length,\n\t\t\t\tassetsSize,\n\t\t\t\tauxiliaryAssets:\n\t\t\t\t\tchunkGroupAuxiliary && auxiliaryAssets.length <= chunkGroupMaxAssets\n\t\t\t\t\t\t? auxiliaryAssets\n\t\t\t\t\t\t: undefined,\n\t\t\t\tfilteredAuxiliaryAssets:\n\t\t\t\t\tchunkGroupAuxiliary && auxiliaryAssets.length <= chunkGroupMaxAssets\n\t\t\t\t\t\t? 0\n\t\t\t\t\t\t: auxiliaryAssets.length,\n\t\t\t\tauxiliaryAssetsSize,\n\t\t\t\tchildren: children\n\t\t\t\t\t? mapObject(children, groups =>\n\t\t\t\t\t\t\tgroups.map(group => {\n\t\t\t\t\t\t\t\tconst assets = uniqueArray(group.chunks, c => c.files).map(\n\t\t\t\t\t\t\t\t\ttoAsset\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tconst auxiliaryAssets = uniqueOrderedArray(\n\t\t\t\t\t\t\t\t\tgroup.chunks,\n\t\t\t\t\t\t\t\t\tc => c.auxiliaryFiles,\n\t\t\t\t\t\t\t\t\tcompareIds\n\t\t\t\t\t\t\t\t).map(toAsset);\n\n\t\t\t\t\t\t\t\t/** @type {KnownStatsChunkGroup} */\n\t\t\t\t\t\t\t\tconst childStatsChunkGroup = {\n\t\t\t\t\t\t\t\t\tname: group.name,\n\t\t\t\t\t\t\t\t\tchunks: ids ? group.chunks.map(c => c.id) : undefined,\n\t\t\t\t\t\t\t\t\tassets:\n\t\t\t\t\t\t\t\t\t\tassets.length <= chunkGroupMaxAssets ? assets : undefined,\n\t\t\t\t\t\t\t\t\tfilteredAssets:\n\t\t\t\t\t\t\t\t\t\tassets.length <= chunkGroupMaxAssets ? 0 : assets.length,\n\t\t\t\t\t\t\t\t\tauxiliaryAssets:\n\t\t\t\t\t\t\t\t\t\tchunkGroupAuxiliary &&\n\t\t\t\t\t\t\t\t\t\tauxiliaryAssets.length <= chunkGroupMaxAssets\n\t\t\t\t\t\t\t\t\t\t\t? auxiliaryAssets\n\t\t\t\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\t\t\tfilteredAuxiliaryAssets:\n\t\t\t\t\t\t\t\t\t\tchunkGroupAuxiliary &&\n\t\t\t\t\t\t\t\t\t\tauxiliaryAssets.length <= chunkGroupMaxAssets\n\t\t\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t\t\t: auxiliaryAssets.length\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\treturn childStatsChunkGroup;\n\t\t\t\t\t\t\t})\n\t\t\t\t\t )\n\t\t\t\t\t: undefined,\n\t\t\t\tchildAssets: children\n\t\t\t\t\t? mapObject(children, groups => {\n\t\t\t\t\t\t\t/** @type {Set<string>} */\n\t\t\t\t\t\t\tconst set = new Set();\n\t\t\t\t\t\t\tfor (const group of groups) {\n\t\t\t\t\t\t\t\tfor (const chunk of group.chunks) {\n\t\t\t\t\t\t\t\t\tfor (const asset of chunk.files) {\n\t\t\t\t\t\t\t\t\t\tset.add(asset);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn Array.from(set);\n\t\t\t\t\t })\n\t\t\t\t\t: undefined\n\t\t\t};\n\t\t\tObject.assign(object, statsChunkGroup);\n\t\t},\n\t\tperformance: (object, { chunkGroup }) => {\n\t\t\tobject.isOverSizeLimit = SizeLimitsPlugin.isOverSizeLimit(chunkGroup);\n\t\t}\n\t},\n\tmodule: {\n\t\t_: (object, module, context, options, factory) => {\n\t\t\tconst { compilation, type } = context;\n\t\t\tconst built = compilation.builtModules.has(module);\n\t\t\tconst codeGenerated = compilation.codeGeneratedModules.has(module);\n\t\t\tconst buildTimeExecuted =\n\t\t\t\tcompilation.buildTimeExecutedModules.has(module);\n\t\t\t/** @type {{[x: string]: number}} */\n\t\t\tconst sizes = {};\n\t\t\tfor (const sourceType of module.getSourceTypes()) {\n\t\t\t\tsizes[sourceType] = module.size(sourceType);\n\t\t\t}\n\t\t\t/** @type {KnownStatsModule} */\n\t\t\tconst statsModule = {\n\t\t\t\ttype: \"module\",\n\t\t\t\tmoduleType: module.type,\n\t\t\t\tlayer: module.layer,\n\t\t\t\tsize: module.size(),\n\t\t\t\tsizes,\n\t\t\t\tbuilt,\n\t\t\t\tcodeGenerated,\n\t\t\t\tbuildTimeExecuted,\n\t\t\t\tcached: !built && !codeGenerated\n\t\t\t};\n\t\t\tObject.assign(object, statsModule);\n\n\t\t\tif (built || codeGenerated || options.cachedModules) {\n\t\t\t\tObject.assign(\n\t\t\t\t\tobject,\n\t\t\t\t\tfactory.create(`${type}$visible`, module, context)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t},\n\tmodule$visible: {\n\t\t_: (object, module, context, { requestShortener }, factory) => {\n\t\t\tconst { compilation, type, rootModules } = context;\n\t\t\tconst { moduleGraph } = compilation;\n\t\t\t/** @type {Module[]} */\n\t\t\tconst path = [];\n\t\t\tconst issuer = moduleGraph.getIssuer(module);\n\t\t\tlet current = issuer;\n\t\t\twhile (current) {\n\t\t\t\tpath.push(current);\n\t\t\t\tcurrent = moduleGraph.getIssuer(current);\n\t\t\t}\n\t\t\tpath.reverse();\n\t\t\tconst profile = moduleGraph.getProfile(module);\n\t\t\tconst errors = module.getErrors();\n\t\t\tconst errorsCount = errors !== undefined ? countIterable(errors) : 0;\n\t\t\tconst warnings = module.getWarnings();\n\t\t\tconst warningsCount =\n\t\t\t\twarnings !== undefined ? countIterable(warnings) : 0;\n\t\t\t/** @type {{[x: string]: number}} */\n\t\t\tconst sizes = {};\n\t\t\tfor (const sourceType of module.getSourceTypes()) {\n\t\t\t\tsizes[sourceType] = module.size(sourceType);\n\t\t\t}\n\t\t\t/** @type {KnownStatsModule} */\n\t\t\tconst statsModule = {\n\t\t\t\tidentifier: module.identifier(),\n\t\t\t\tname: module.readableIdentifier(requestShortener),\n\t\t\t\tnameForCondition: module.nameForCondition(),\n\t\t\t\tindex: moduleGraph.getPreOrderIndex(module),\n\t\t\t\tpreOrderIndex: moduleGraph.getPreOrderIndex(module),\n\t\t\t\tindex2: moduleGraph.getPostOrderIndex(module),\n\t\t\t\tpostOrderIndex: moduleGraph.getPostOrderIndex(module),\n\t\t\t\tcacheable: module.buildInfo.cacheable,\n\t\t\t\toptional: module.isOptional(moduleGraph),\n\t\t\t\torphan:\n\t\t\t\t\t!type.endsWith(\"module.modules[].module$visible\") &&\n\t\t\t\t\tcompilation.chunkGraph.getNumberOfModuleChunks(module) === 0,\n\t\t\t\tdependent: rootModules ? !rootModules.has(module) : undefined,\n\t\t\t\tissuer: issuer && issuer.identifier(),\n\t\t\t\tissuerName: issuer && issuer.readableIdentifier(requestShortener),\n\t\t\t\tissuerPath:\n\t\t\t\t\tissuer &&\n\t\t\t\t\tfactory.create(`${type.slice(0, -8)}.issuerPath`, path, context),\n\t\t\t\tfailed: errorsCount > 0,\n\t\t\t\terrors: errorsCount,\n\t\t\t\twarnings: warningsCount\n\t\t\t};\n\t\t\tObject.assign(object, statsModule);\n\t\t\tif (profile) {\n\t\t\t\tobject.profile = factory.create(\n\t\t\t\t\t`${type.slice(0, -8)}.profile`,\n\t\t\t\t\tprofile,\n\t\t\t\t\tcontext\n\t\t\t\t);\n\t\t\t}\n\t\t},\n\t\tids: (object, module, { compilation: { chunkGraph, moduleGraph } }) => {\n\t\t\tobject.id = chunkGraph.getModuleId(module);\n\t\t\tconst issuer = moduleGraph.getIssuer(module);\n\t\t\tobject.issuerId = issuer && chunkGraph.getModuleId(issuer);\n\t\t\tobject.chunks = Array.from(\n\t\t\t\tchunkGraph.getOrderedModuleChunksIterable(module, compareChunksById),\n\t\t\t\tchunk => chunk.id\n\t\t\t);\n\t\t},\n\t\tmoduleAssets: (object, module) => {\n\t\t\tobject.assets = module.buildInfo.assets\n\t\t\t\t? Object.keys(module.buildInfo.assets)\n\t\t\t\t: [];\n\t\t},\n\t\treasons: (object, module, context, options, factory) => {\n\t\t\tconst {\n\t\t\t\ttype,\n\t\t\t\tcompilation: { moduleGraph }\n\t\t\t} = context;\n\t\t\tconst groupsReasons = factory.create(\n\t\t\t\t`${type.slice(0, -8)}.reasons`,\n\t\t\t\tArray.from(moduleGraph.getIncomingConnections(module)),\n\t\t\t\tcontext\n\t\t\t);\n\t\t\tconst limited = spaceLimited(groupsReasons, options.reasonsSpace);\n\t\t\tobject.reasons = limited.children;\n\t\t\tobject.filteredReasons = limited.filteredChildren;\n\t\t},\n\t\tusedExports: (\n\t\t\tobject,\n\t\t\tmodule,\n\t\t\t{ runtime, compilation: { moduleGraph } }\n\t\t) => {\n\t\t\tconst usedExports = moduleGraph.getUsedExports(module, runtime);\n\t\t\tif (usedExports === null) {\n\t\t\t\tobject.usedExports = null;\n\t\t\t} else if (typeof usedExports === \"boolean\") {\n\t\t\t\tobject.usedExports = usedExports;\n\t\t\t} else {\n\t\t\t\tobject.usedExports = Array.from(usedExports);\n\t\t\t}\n\t\t},\n\t\tprovidedExports: (object, module, { compilation: { moduleGraph } }) => {\n\t\t\tconst providedExports = moduleGraph.getProvidedExports(module);\n\t\t\tobject.providedExports = Array.isArray(providedExports)\n\t\t\t\t? providedExports\n\t\t\t\t: null;\n\t\t},\n\t\toptimizationBailout: (\n\t\t\tobject,\n\t\t\tmodule,\n\t\t\t{ compilation: { moduleGraph } },\n\t\t\t{ requestShortener }\n\t\t) => {\n\t\t\tobject.optimizationBailout = moduleGraph\n\t\t\t\t.getOptimizationBailout(module)\n\t\t\t\t.map(item => {\n\t\t\t\t\tif (typeof item === \"function\") return item(requestShortener);\n\t\t\t\t\treturn item;\n\t\t\t\t});\n\t\t},\n\t\tdepth: (object, module, { compilation: { moduleGraph } }) => {\n\t\t\tobject.depth = moduleGraph.getDepth(module);\n\t\t},\n\t\tnestedModules: (object, module, context, options, factory) => {\n\t\t\tconst { type } = context;\n\t\t\tconst innerModules = /** @type {Module & { modules?: Module[] }} */ (\n\t\t\t\tmodule\n\t\t\t).modules;\n\t\t\tif (Array.isArray(innerModules)) {\n\t\t\t\tconst groupedModules = factory.create(\n\t\t\t\t\t`${type.slice(0, -8)}.modules`,\n\t\t\t\t\tinnerModules,\n\t\t\t\t\tcontext\n\t\t\t\t);\n\t\t\t\tconst limited = spaceLimited(\n\t\t\t\t\tgroupedModules,\n\t\t\t\t\toptions.nestedModulesSpace\n\t\t\t\t);\n\t\t\t\tobject.modules = limited.children;\n\t\t\t\tobject.filteredModules = limited.filteredChildren;\n\t\t\t}\n\t\t},\n\t\tsource: (object, module) => {\n\t\t\tconst originalSource = module.originalSource();\n\t\t\tif (originalSource) {\n\t\t\t\tobject.source = originalSource.source();\n\t\t\t}\n\t\t}\n\t},\n\tprofile: {\n\t\t_: (object, profile) => {\n\t\t\t/** @type {KnownStatsProfile} */\n\t\t\tconst statsProfile = {\n\t\t\t\ttotal:\n\t\t\t\t\tprofile.factory +\n\t\t\t\t\tprofile.restoring +\n\t\t\t\t\tprofile.integration +\n\t\t\t\t\tprofile.building +\n\t\t\t\t\tprofile.storing,\n\t\t\t\tresolving: profile.factory,\n\t\t\t\trestoring: profile.restoring,\n\t\t\t\tbuilding: profile.building,\n\t\t\t\tintegration: profile.integration,\n\t\t\t\tstoring: profile.storing,\n\t\t\t\tadditionalResolving: profile.additionalFactories,\n\t\t\t\tadditionalIntegration: profile.additionalIntegration,\n\t\t\t\t// TODO remove this in webpack 6\n\t\t\t\tfactory: profile.factory,\n\t\t\t\t// TODO remove this in webpack 6\n\t\t\t\tdependencies: profile.additionalFactories\n\t\t\t};\n\t\t\tObject.assign(object, statsProfile);\n\t\t}\n\t},\n\tmoduleIssuer: {\n\t\t_: (object, module, context, { requestShortener }, factory) => {\n\t\t\tconst { compilation, type } = context;\n\t\t\tconst { moduleGraph } = compilation;\n\t\t\tconst profile = moduleGraph.getProfile(module);\n\t\t\t/** @type {KnownStatsModuleIssuer} */\n\t\t\tconst statsModuleIssuer = {\n\t\t\t\tidentifier: module.identifier(),\n\t\t\t\tname: module.readableIdentifier(requestShortener)\n\t\t\t};\n\t\t\tObject.assign(object, statsModuleIssuer);\n\t\t\tif (profile) {\n\t\t\t\tobject.profile = factory.create(`${type}.profile`, profile, context);\n\t\t\t}\n\t\t},\n\t\tids: (object, module, { compilation: { chunkGraph } }) => {\n\t\t\tobject.id = chunkGraph.getModuleId(module);\n\t\t}\n\t},\n\tmoduleReason: {\n\t\t_: (object, reason, { runtime }, { requestShortener }) => {\n\t\t\tconst dep = reason.dependency;\n\t\t\tconst moduleDep =\n\t\t\t\tdep && dep instanceof ModuleDependency ? dep : undefined;\n\t\t\t/** @type {KnownStatsModuleReason} */\n\t\t\tconst statsModuleReason = {\n\t\t\t\tmoduleIdentifier: reason.originModule\n\t\t\t\t\t? reason.originModule.identifier()\n\t\t\t\t\t: null,\n\t\t\t\tmodule: reason.originModule\n\t\t\t\t\t? reason.originModule.readableIdentifier(requestShortener)\n\t\t\t\t\t: null,\n\t\t\t\tmoduleName: reason.originModule\n\t\t\t\t\t? reason.originModule.readableIdentifier(requestShortener)\n\t\t\t\t\t: null,\n\t\t\t\tresolvedModuleIdentifier: reason.resolvedOriginModule\n\t\t\t\t\t? reason.resolvedOriginModule.identifier()\n\t\t\t\t\t: null,\n\t\t\t\tresolvedModule: reason.resolvedOriginModule\n\t\t\t\t\t? reason.resolvedOriginModule.readableIdentifier(requestShortener)\n\t\t\t\t\t: null,\n\t\t\t\ttype: reason.dependency ? reason.dependency.type : null,\n\t\t\t\tactive: reason.isActive(runtime),\n\t\t\t\texplanation: reason.explanation,\n\t\t\t\tuserRequest: (moduleDep && moduleDep.userRequest) || null\n\t\t\t};\n\t\t\tObject.assign(object, statsModuleReason);\n\t\t\tif (reason.dependency) {\n\t\t\t\tconst locInfo = formatLocation(reason.dependency.loc);\n\t\t\t\tif (locInfo) {\n\t\t\t\t\tobject.loc = locInfo;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tids: (object, reason, { compilation: { chunkGraph } }) => {\n\t\t\tobject.moduleId = reason.originModule\n\t\t\t\t? chunkGraph.getModuleId(reason.originModule)\n\t\t\t\t: null;\n\t\t\tobject.resolvedModuleId = reason.resolvedOriginModule\n\t\t\t\t? chunkGraph.getModuleId(reason.resolvedOriginModule)\n\t\t\t\t: null;\n\t\t}\n\t},\n\tchunk: {\n\t\t_: (object, chunk, { makePathsRelative, compilation: { chunkGraph } }) => {\n\t\t\tconst childIdByOrder = chunk.getChildIdsByOrders(chunkGraph);\n\n\t\t\t/** @type {KnownStatsChunk} */\n\t\t\tconst statsChunk = {\n\t\t\t\trendered: chunk.rendered,\n\t\t\t\tinitial: chunk.canBeInitial(),\n\t\t\t\tentry: chunk.hasRuntime(),\n\t\t\t\trecorded: AggressiveSplittingPlugin.wasChunkRecorded(chunk),\n\t\t\t\treason: chunk.chunkReason,\n\t\t\t\tsize: chunkGraph.getChunkModulesSize(chunk),\n\t\t\t\tsizes: chunkGraph.getChunkModulesSizes(chunk),\n\t\t\t\tnames: chunk.name ? [chunk.name] : [],\n\t\t\t\tidHints: Array.from(chunk.idNameHints),\n\t\t\t\truntime:\n\t\t\t\t\tchunk.runtime === undefined\n\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t: typeof chunk.runtime === \"string\"\n\t\t\t\t\t\t? [makePathsRelative(chunk.runtime)]\n\t\t\t\t\t\t: Array.from(chunk.runtime.sort(), makePathsRelative),\n\t\t\t\tfiles: Array.from(chunk.files),\n\t\t\t\tauxiliaryFiles: Array.from(chunk.auxiliaryFiles).sort(compareIds),\n\t\t\t\thash: chunk.renderedHash,\n\t\t\t\tchildrenByOrder: childIdByOrder\n\t\t\t};\n\t\t\tObject.assign(object, statsChunk);\n\t\t},\n\t\tids: (object, chunk) => {\n\t\t\tobject.id = chunk.id;\n\t\t},\n\t\tchunkRelations: (object, chunk, { compilation: { chunkGraph } }) => {\n\t\t\t/** @type {Set<string|number>} */\n\t\t\tconst parents = new Set();\n\t\t\t/** @type {Set<string|number>} */\n\t\t\tconst children = new Set();\n\t\t\t/** @type {Set<string|number>} */\n\t\t\tconst siblings = new Set();\n\n\t\t\tfor (const chunkGroup of chunk.groupsIterable) {\n\t\t\t\tfor (const parentGroup of chunkGroup.parentsIterable) {\n\t\t\t\t\tfor (const chunk of parentGroup.chunks) {\n\t\t\t\t\t\tparents.add(chunk.id);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const childGroup of chunkGroup.childrenIterable) {\n\t\t\t\t\tfor (const chunk of childGroup.chunks) {\n\t\t\t\t\t\tchildren.add(chunk.id);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const sibling of chunkGroup.chunks) {\n\t\t\t\t\tif (sibling !== chunk) siblings.add(sibling.id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tobject.siblings = Array.from(siblings).sort(compareIds);\n\t\t\tobject.parents = Array.from(parents).sort(compareIds);\n\t\t\tobject.children = Array.from(children).sort(compareIds);\n\t\t},\n\t\tchunkModules: (object, chunk, context, options, factory) => {\n\t\t\tconst {\n\t\t\t\ttype,\n\t\t\t\tcompilation: { chunkGraph }\n\t\t\t} = context;\n\t\t\tconst array = chunkGraph.getChunkModules(chunk);\n\t\t\tconst groupedModules = factory.create(`${type}.modules`, array, {\n\t\t\t\t...context,\n\t\t\t\truntime: chunk.runtime,\n\t\t\t\trootModules: new Set(chunkGraph.getChunkRootModules(chunk))\n\t\t\t});\n\t\t\tconst limited = spaceLimited(groupedModules, options.chunkModulesSpace);\n\t\t\tobject.modules = limited.children;\n\t\t\tobject.filteredModules = limited.filteredChildren;\n\t\t},\n\t\tchunkOrigins: (object, chunk, context, options, factory) => {\n\t\t\tconst {\n\t\t\t\ttype,\n\t\t\t\tcompilation: { chunkGraph }\n\t\t\t} = context;\n\t\t\t/** @type {Set<string>} */\n\t\t\tconst originsKeySet = new Set();\n\t\t\tconst origins = [];\n\t\t\tfor (const g of chunk.groupsIterable) {\n\t\t\t\torigins.push(...g.origins);\n\t\t\t}\n\t\t\tconst array = origins.filter(origin => {\n\t\t\t\tconst key = [\n\t\t\t\t\torigin.module ? chunkGraph.getModuleId(origin.module) : undefined,\n\t\t\t\t\tformatLocation(origin.loc),\n\t\t\t\t\torigin.request\n\t\t\t\t].join();\n\t\t\t\tif (originsKeySet.has(key)) return false;\n\t\t\t\toriginsKeySet.add(key);\n\t\t\t\treturn true;\n\t\t\t});\n\t\t\tobject.origins = factory.create(`${type}.origins`, array, context);\n\t\t}\n\t},\n\tchunkOrigin: {\n\t\t_: (object, origin, context, { requestShortener }) => {\n\t\t\t/** @type {KnownStatsChunkOrigin} */\n\t\t\tconst statsChunkOrigin = {\n\t\t\t\tmodule: origin.module ? origin.module.identifier() : \"\",\n\t\t\t\tmoduleIdentifier: origin.module ? origin.module.identifier() : \"\",\n\t\t\t\tmoduleName: origin.module\n\t\t\t\t\t? origin.module.readableIdentifier(requestShortener)\n\t\t\t\t\t: \"\",\n\t\t\t\tloc: formatLocation(origin.loc),\n\t\t\t\trequest: origin.request\n\t\t\t};\n\t\t\tObject.assign(object, statsChunkOrigin);\n\t\t},\n\t\tids: (object, origin, { compilation: { chunkGraph } }) => {\n\t\t\tobject.moduleId = origin.module\n\t\t\t\t? chunkGraph.getModuleId(origin.module)\n\t\t\t\t: undefined;\n\t\t}\n\t},\n\terror: EXTRACT_ERROR,\n\twarning: EXTRACT_ERROR,\n\tmoduleTraceItem: {\n\t\t_: (object, { origin, module }, context, { requestShortener }, factory) => {\n\t\t\tconst {\n\t\t\t\ttype,\n\t\t\t\tcompilation: { moduleGraph }\n\t\t\t} = context;\n\t\t\tobject.originIdentifier = origin.identifier();\n\t\t\tobject.originName = origin.readableIdentifier(requestShortener);\n\t\t\tobject.moduleIdentifier = module.identifier();\n\t\t\tobject.moduleName = module.readableIdentifier(requestShortener);\n\t\t\tconst dependencies = Array.from(\n\t\t\t\tmoduleGraph.getIncomingConnections(module)\n\t\t\t)\n\t\t\t\t.filter(c => c.resolvedOriginModule === origin && c.dependency)\n\t\t\t\t.map(c => c.dependency);\n\t\t\tobject.dependencies = factory.create(\n\t\t\t\t`${type}.dependencies`,\n\t\t\t\tArray.from(new Set(dependencies)),\n\t\t\t\tcontext\n\t\t\t);\n\t\t},\n\t\tids: (object, { origin, module }, { compilation: { chunkGraph } }) => {\n\t\t\tobject.originId = chunkGraph.getModuleId(origin);\n\t\t\tobject.moduleId = chunkGraph.getModuleId(module);\n\t\t}\n\t},\n\tmoduleTraceDependency: {\n\t\t_: (object, dependency) => {\n\t\t\tobject.loc = formatLocation(dependency.loc);\n\t\t}\n\t}\n};\n\n/** @type {Record<string, Record<string, (thing: any, context: StatsFactoryContext, options: NormalizedStatsOptions) => boolean | undefined>>} */\nconst FILTER = {\n\t\"module.reasons\": {\n\t\t\"!orphanModules\": (reason, { compilation: { chunkGraph } }) => {\n\t\t\tif (\n\t\t\t\treason.originModule &&\n\t\t\t\tchunkGraph.getNumberOfModuleChunks(reason.originModule) === 0\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}\n};\n\n/** @type {Record<string, Record<string, (thing: Object, context: StatsFactoryContext, options: NormalizedStatsOptions) => boolean | undefined>>} */\nconst FILTER_RESULTS = {\n\t\"compilation.warnings\": {\n\t\twarningsFilter: util.deprecate(\n\t\t\t(warning, context, { warningsFilter }) => {\n\t\t\t\tconst warningString = Object.keys(warning)\n\t\t\t\t\t.map(key => `${warning[key]}`)\n\t\t\t\t\t.join(\"\\n\");\n\t\t\t\treturn !warningsFilter.some(filter => filter(warning, warningString));\n\t\t\t},\n\t\t\t\"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings\",\n\t\t\t\"DEP_WEBPACK_STATS_WARNINGS_FILTER\"\n\t\t)\n\t}\n};\n\n/** @type {Record<string, (comparators: Function[], context: StatsFactoryContext) => void>} */\nconst MODULES_SORTER = {\n\t_: (comparators, { compilation: { moduleGraph } }) => {\n\t\tcomparators.push(\n\t\t\tcompareSelect(\n\t\t\t\t/**\n\t\t\t\t * @param {Module} m module\n\t\t\t\t * @returns {number} depth\n\t\t\t\t */\n\t\t\t\tm => moduleGraph.getDepth(m),\n\t\t\t\tcompareNumbers\n\t\t\t),\n\t\t\tcompareSelect(\n\t\t\t\t/**\n\t\t\t\t * @param {Module} m module\n\t\t\t\t * @returns {number} index\n\t\t\t\t */\n\t\t\t\tm => moduleGraph.getPreOrderIndex(m),\n\t\t\t\tcompareNumbers\n\t\t\t),\n\t\t\tcompareSelect(\n\t\t\t\t/**\n\t\t\t\t * @param {Module} m module\n\t\t\t\t * @returns {string} identifier\n\t\t\t\t */\n\t\t\t\tm => m.identifier(),\n\t\t\t\tcompareIds\n\t\t\t)\n\t\t);\n\t}\n};\n\n/** @type {Record<string, Record<string, (comparators: Function[], context: StatsFactoryContext) => void>>} */\nconst SORTERS = {\n\t\"compilation.chunks\": {\n\t\t_: comparators => {\n\t\t\tcomparators.push(compareSelect(c => c.id, compareIds));\n\t\t}\n\t},\n\t\"compilation.modules\": MODULES_SORTER,\n\t\"chunk.rootModules\": MODULES_SORTER,\n\t\"chunk.modules\": MODULES_SORTER,\n\t\"module.modules\": MODULES_SORTER,\n\t\"module.reasons\": {\n\t\t_: (comparators, { compilation: { chunkGraph } }) => {\n\t\t\tcomparators.push(\n\t\t\t\tcompareSelect(x => x.originModule, compareModulesByIdentifier)\n\t\t\t);\n\t\t\tcomparators.push(\n\t\t\t\tcompareSelect(x => x.resolvedOriginModule, compareModulesByIdentifier)\n\t\t\t);\n\t\t\tcomparators.push(\n\t\t\t\tcompareSelect(\n\t\t\t\t\tx => x.dependency,\n\t\t\t\t\tconcatComparators(\n\t\t\t\t\t\tcompareSelect(\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param {Dependency} x dependency\n\t\t\t\t\t\t\t * @returns {DependencyLocation} location\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tx => x.loc,\n\t\t\t\t\t\t\tcompareLocations\n\t\t\t\t\t\t),\n\t\t\t\t\t\tcompareSelect(x => x.type, compareIds)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t},\n\t\"chunk.origins\": {\n\t\t_: (comparators, { compilation: { chunkGraph } }) => {\n\t\t\tcomparators.push(\n\t\t\t\tcompareSelect(\n\t\t\t\t\torigin =>\n\t\t\t\t\t\torigin.module ? chunkGraph.getModuleId(origin.module) : undefined,\n\t\t\t\t\tcompareIds\n\t\t\t\t),\n\t\t\t\tcompareSelect(origin => formatLocation(origin.loc), compareIds),\n\t\t\t\tcompareSelect(origin => origin.request, compareIds)\n\t\t\t);\n\t\t}\n\t}\n};\n\nconst getItemSize = item => {\n\t// Each item takes 1 line\n\t// + the size of the children\n\t// + 1 extra line when it has children and filteredChildren\n\treturn !item.children\n\t\t? 1\n\t\t: item.filteredChildren\n\t\t? 2 + getTotalSize(item.children)\n\t\t: 1 + getTotalSize(item.children);\n};\n\nconst getTotalSize = children => {\n\tlet size = 0;\n\tfor (const child of children) {\n\t\tsize += getItemSize(child);\n\t}\n\treturn size;\n};\n\nconst getTotalItems = children => {\n\tlet count = 0;\n\tfor (const child of children) {\n\t\tif (!child.children && !child.filteredChildren) {\n\t\t\tcount++;\n\t\t} else {\n\t\t\tif (child.children) count += getTotalItems(child.children);\n\t\t\tif (child.filteredChildren) count += child.filteredChildren;\n\t\t}\n\t}\n\treturn count;\n};\n\nconst collapse = children => {\n\t// After collapse each child must take exactly one line\n\tconst newChildren = [];\n\tfor (const child of children) {\n\t\tif (child.children) {\n\t\t\tlet filteredChildren = child.filteredChildren || 0;\n\t\t\tfilteredChildren += getTotalItems(child.children);\n\t\t\tnewChildren.push({\n\t\t\t\t...child,\n\t\t\t\tchildren: undefined,\n\t\t\t\tfilteredChildren\n\t\t\t});\n\t\t} else {\n\t\t\tnewChildren.push(child);\n\t\t}\n\t}\n\treturn newChildren;\n};\n\nconst spaceLimited = (\n\titemsAndGroups,\n\tmax,\n\tfilteredChildrenLineReserved = false\n) => {\n\tif (max < 1) {\n\t\treturn {\n\t\t\tchildren: undefined,\n\t\t\tfilteredChildren: getTotalItems(itemsAndGroups)\n\t\t};\n\t}\n\t/** @type {any[] | undefined} */\n\tlet children = undefined;\n\t/** @type {number | undefined} */\n\tlet filteredChildren = undefined;\n\t// This are the groups, which take 1+ lines each\n\tconst groups = [];\n\t// The sizes of the groups are stored in groupSizes\n\tconst groupSizes = [];\n\t// This are the items, which take 1 line each\n\tconst items = [];\n\t// The total of group sizes\n\tlet groupsSize = 0;\n\n\tfor (const itemOrGroup of itemsAndGroups) {\n\t\t// is item\n\t\tif (!itemOrGroup.children && !itemOrGroup.filteredChildren) {\n\t\t\titems.push(itemOrGroup);\n\t\t} else {\n\t\t\tgroups.push(itemOrGroup);\n\t\t\tconst size = getItemSize(itemOrGroup);\n\t\t\tgroupSizes.push(size);\n\t\t\tgroupsSize += size;\n\t\t}\n\t}\n\n\tif (groupsSize + items.length <= max) {\n\t\t// The total size in the current state fits into the max\n\t\t// keep all\n\t\tchildren = groups.length > 0 ? groups.concat(items) : items;\n\t} else if (groups.length === 0) {\n\t\t// slice items to max\n\t\t// inner space marks that lines for filteredChildren already reserved\n\t\tconst limit = max - (filteredChildrenLineReserved ? 0 : 1);\n\t\tfilteredChildren = items.length - limit;\n\t\titems.length = limit;\n\t\tchildren = items;\n\t} else {\n\t\t// limit is the size when all groups are collapsed\n\t\tconst limit =\n\t\t\tgroups.length +\n\t\t\t(filteredChildrenLineReserved || items.length === 0 ? 0 : 1);\n\t\tif (limit < max) {\n\t\t\t// calculate how much we are over the size limit\n\t\t\t// this allows to approach the limit faster\n\t\t\tlet oversize;\n\t\t\t// If each group would take 1 line the total would be below the maximum\n\t\t\t// collapse some groups, keep items\n\t\t\twhile (\n\t\t\t\t(oversize =\n\t\t\t\t\tgroupsSize +\n\t\t\t\t\titems.length +\n\t\t\t\t\t(filteredChildren && !filteredChildrenLineReserved ? 1 : 0) -\n\t\t\t\t\tmax) > 0\n\t\t\t) {\n\t\t\t\t// Find the maximum group and process only this one\n\t\t\t\tconst maxGroupSize = Math.max(...groupSizes);\n\t\t\t\tif (maxGroupSize < items.length) {\n\t\t\t\t\tfilteredChildren = items.length;\n\t\t\t\t\titems.length = 0;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tfor (let i = 0; i < groups.length; i++) {\n\t\t\t\t\tif (groupSizes[i] === maxGroupSize) {\n\t\t\t\t\t\tconst group = groups[i];\n\t\t\t\t\t\t// run this algorithm recursively and limit the size of the children to\n\t\t\t\t\t\t// current size - oversize / number of groups\n\t\t\t\t\t\t// So it should always end up being smaller\n\t\t\t\t\t\tconst headerSize = group.filteredChildren ? 2 : 1;\n\t\t\t\t\t\tconst limited = spaceLimited(\n\t\t\t\t\t\t\tgroup.children,\n\t\t\t\t\t\t\tmaxGroupSize -\n\t\t\t\t\t\t\t\t// we should use ceil to always feet in max\n\t\t\t\t\t\t\t\tMath.ceil(oversize / groups.length) -\n\t\t\t\t\t\t\t\t// we substitute size of group head\n\t\t\t\t\t\t\t\theaderSize,\n\t\t\t\t\t\t\theaderSize === 2\n\t\t\t\t\t\t);\n\t\t\t\t\t\tgroups[i] = {\n\t\t\t\t\t\t\t...group,\n\t\t\t\t\t\t\tchildren: limited.children,\n\t\t\t\t\t\t\tfilteredChildren: limited.filteredChildren\n\t\t\t\t\t\t\t\t? (group.filteredChildren || 0) + limited.filteredChildren\n\t\t\t\t\t\t\t\t: group.filteredChildren\n\t\t\t\t\t\t};\n\t\t\t\t\t\tconst newSize = getItemSize(groups[i]);\n\t\t\t\t\t\tgroupsSize -= maxGroupSize - newSize;\n\t\t\t\t\t\tgroupSizes[i] = newSize;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tchildren = groups.concat(items);\n\t\t} else if (limit === max) {\n\t\t\t// If we have only enough space to show one line per group and one line for the filtered items\n\t\t\t// collapse all groups and items\n\t\t\tchildren = collapse(groups);\n\t\t\tfilteredChildren = items.length;\n\t\t} else {\n\t\t\t// If we have no space\n\t\t\t// collapse complete group\n\t\t\tfilteredChildren = getTotalItems(itemsAndGroups);\n\t\t}\n\t}\n\n\treturn {\n\t\tchildren,\n\t\tfilteredChildren\n\t};\n};\n\nconst assetGroup = (children, assets) => {\n\tlet size = 0;\n\tfor (const asset of children) {\n\t\tsize += asset.size;\n\t}\n\treturn {\n\t\tsize\n\t};\n};\n\nconst moduleGroup = (children, modules) => {\n\tlet size = 0;\n\tconst sizes = {};\n\tfor (const module of children) {\n\t\tsize += module.size;\n\t\tfor (const key of Object.keys(module.sizes)) {\n\t\t\tsizes[key] = (sizes[key] || 0) + module.sizes[key];\n\t\t}\n\t}\n\treturn {\n\t\tsize,\n\t\tsizes\n\t};\n};\n\nconst reasonGroup = (children, reasons) => {\n\tlet active = false;\n\tfor (const reason of children) {\n\t\tactive = active || reason.active;\n\t}\n\treturn {\n\t\tactive\n\t};\n};\n\nconst GROUP_EXTENSION_REGEXP = /(\\.[^.]+?)(?:\\?|(?: \\+ \\d+ modules?)?$)/;\nconst GROUP_PATH_REGEXP = /(.+)[/\\\\][^/\\\\]+?(?:\\?|(?: \\+ \\d+ modules?)?$)/;\n\n/** @type {Record<string, (groupConfigs: GroupConfig[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>} */\nconst ASSETS_GROUPERS = {\n\t_: (groupConfigs, context, options) => {\n\t\tconst groupByFlag = (name, exclude) => {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: asset => {\n\t\t\t\t\treturn asset[name] ? [\"1\"] : undefined;\n\t\t\t\t},\n\t\t\t\tgetOptions: () => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tgroupChildren: !exclude,\n\t\t\t\t\t\tforce: exclude\n\t\t\t\t\t};\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, assets) => {\n\t\t\t\t\treturn exclude\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\ttype: \"assets by status\",\n\t\t\t\t\t\t\t\t[name]: !!key,\n\t\t\t\t\t\t\t\tfilteredChildren: assets.length,\n\t\t\t\t\t\t\t\t...assetGroup(children, assets)\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\ttype: \"assets by status\",\n\t\t\t\t\t\t\t\t[name]: !!key,\n\t\t\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t\t\t...assetGroup(children, assets)\n\t\t\t\t\t\t };\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tconst {\n\t\t\tgroupAssetsByEmitStatus,\n\t\t\tgroupAssetsByPath,\n\t\t\tgroupAssetsByExtension\n\t\t} = options;\n\t\tif (groupAssetsByEmitStatus) {\n\t\t\tgroupByFlag(\"emitted\");\n\t\t\tgroupByFlag(\"comparedForEmit\");\n\t\t\tgroupByFlag(\"isOverSizeLimit\");\n\t\t}\n\t\tif (groupAssetsByEmitStatus || !options.cachedAssets) {\n\t\t\tgroupByFlag(\"cached\", !options.cachedAssets);\n\t\t}\n\t\tif (groupAssetsByPath || groupAssetsByExtension) {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: asset => {\n\t\t\t\t\tconst extensionMatch =\n\t\t\t\t\t\tgroupAssetsByExtension && GROUP_EXTENSION_REGEXP.exec(asset.name);\n\t\t\t\t\tconst extension = extensionMatch ? extensionMatch[1] : \"\";\n\t\t\t\t\tconst pathMatch =\n\t\t\t\t\t\tgroupAssetsByPath && GROUP_PATH_REGEXP.exec(asset.name);\n\t\t\t\t\tconst path = pathMatch ? pathMatch[1].split(/[/\\\\]/) : [];\n\t\t\t\t\tconst keys = [];\n\t\t\t\t\tif (groupAssetsByPath) {\n\t\t\t\t\t\tkeys.push(\".\");\n\t\t\t\t\t\tif (extension)\n\t\t\t\t\t\t\tkeys.push(\n\t\t\t\t\t\t\t\tpath.length\n\t\t\t\t\t\t\t\t\t? `${path.join(\"/\")}/*${extension}`\n\t\t\t\t\t\t\t\t\t: `*${extension}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\twhile (path.length > 0) {\n\t\t\t\t\t\t\tkeys.push(path.join(\"/\") + \"/\");\n\t\t\t\t\t\t\tpath.pop();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (extension) keys.push(`*${extension}`);\n\t\t\t\t\t}\n\t\t\t\t\treturn keys;\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, assets) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: groupAssetsByPath ? \"assets by path\" : \"assets by extension\",\n\t\t\t\t\t\tname: key,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...assetGroup(children, assets)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\tgroupAssetsByInfo: (groupConfigs, context, options) => {\n\t\tconst groupByAssetInfoFlag = name => {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: asset => {\n\t\t\t\t\treturn asset.info && asset.info[name] ? [\"1\"] : undefined;\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, assets) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"assets by info\",\n\t\t\t\t\t\tinfo: {\n\t\t\t\t\t\t\t[name]: !!key\n\t\t\t\t\t\t},\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...assetGroup(children, assets)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tgroupByAssetInfoFlag(\"immutable\");\n\t\tgroupByAssetInfoFlag(\"development\");\n\t\tgroupByAssetInfoFlag(\"hotModuleReplacement\");\n\t},\n\tgroupAssetsByChunk: (groupConfigs, context, options) => {\n\t\tconst groupByNames = name => {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: asset => {\n\t\t\t\t\treturn asset[name];\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, assets) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"assets by chunk\",\n\t\t\t\t\t\t[name]: [key],\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...assetGroup(children, assets)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tgroupByNames(\"chunkNames\");\n\t\tgroupByNames(\"auxiliaryChunkNames\");\n\t\tgroupByNames(\"chunkIdHints\");\n\t\tgroupByNames(\"auxiliaryChunkIdHints\");\n\t},\n\texcludeAssets: (groupConfigs, context, { excludeAssets }) => {\n\t\tgroupConfigs.push({\n\t\t\tgetKeys: asset => {\n\t\t\t\tconst ident = asset.name;\n\t\t\t\tconst excluded = excludeAssets.some(fn => fn(ident, asset));\n\t\t\t\tif (excluded) return [\"excluded\"];\n\t\t\t},\n\t\t\tgetOptions: () => ({\n\t\t\t\tgroupChildren: false,\n\t\t\t\tforce: true\n\t\t\t}),\n\t\t\tcreateGroup: (key, children, assets) => ({\n\t\t\t\ttype: \"hidden assets\",\n\t\t\t\tfilteredChildren: assets.length,\n\t\t\t\t...assetGroup(children, assets)\n\t\t\t})\n\t\t});\n\t}\n};\n\n/** @type {function(\"module\" | \"chunk\" | \"root-of-chunk\" | \"nested\"): Record<string, (groupConfigs: GroupConfig[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>} */\nconst MODULES_GROUPERS = type => ({\n\t_: (groupConfigs, context, options) => {\n\t\tconst groupByFlag = (name, type, exclude) => {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: module => {\n\t\t\t\t\treturn module[name] ? [\"1\"] : undefined;\n\t\t\t\t},\n\t\t\t\tgetOptions: () => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tgroupChildren: !exclude,\n\t\t\t\t\t\tforce: exclude\n\t\t\t\t\t};\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, modules) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\t[name]: !!key,\n\t\t\t\t\t\t...(exclude ? { filteredChildren: modules.length } : { children }),\n\t\t\t\t\t\t...moduleGroup(children, modules)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tconst {\n\t\t\tgroupModulesByCacheStatus,\n\t\t\tgroupModulesByLayer,\n\t\t\tgroupModulesByAttributes,\n\t\t\tgroupModulesByType,\n\t\t\tgroupModulesByPath,\n\t\t\tgroupModulesByExtension\n\t\t} = options;\n\t\tif (groupModulesByAttributes) {\n\t\t\tgroupByFlag(\"errors\", \"modules with errors\");\n\t\t\tgroupByFlag(\"warnings\", \"modules with warnings\");\n\t\t\tgroupByFlag(\"assets\", \"modules with assets\");\n\t\t\tgroupByFlag(\"optional\", \"optional modules\");\n\t\t}\n\t\tif (groupModulesByCacheStatus) {\n\t\t\tgroupByFlag(\"cacheable\", \"cacheable modules\");\n\t\t\tgroupByFlag(\"built\", \"built modules\");\n\t\t\tgroupByFlag(\"codeGenerated\", \"code generated modules\");\n\t\t}\n\t\tif (groupModulesByCacheStatus || !options.cachedModules) {\n\t\t\tgroupByFlag(\"cached\", \"cached modules\", !options.cachedModules);\n\t\t}\n\t\tif (groupModulesByAttributes || !options.orphanModules) {\n\t\t\tgroupByFlag(\"orphan\", \"orphan modules\", !options.orphanModules);\n\t\t}\n\t\tif (groupModulesByAttributes || !options.dependentModules) {\n\t\t\tgroupByFlag(\"dependent\", \"dependent modules\", !options.dependentModules);\n\t\t}\n\t\tif (groupModulesByType || !options.runtimeModules) {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: module => {\n\t\t\t\t\tif (!module.moduleType) return;\n\t\t\t\t\tif (groupModulesByType) {\n\t\t\t\t\t\treturn [module.moduleType.split(\"/\", 1)[0]];\n\t\t\t\t\t} else if (module.moduleType === \"runtime\") {\n\t\t\t\t\t\treturn [\"runtime\"];\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tgetOptions: key => {\n\t\t\t\t\tconst exclude = key === \"runtime\" && !options.runtimeModules;\n\t\t\t\t\treturn {\n\t\t\t\t\t\tgroupChildren: !exclude,\n\t\t\t\t\t\tforce: exclude\n\t\t\t\t\t};\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, modules) => {\n\t\t\t\t\tconst exclude = key === \"runtime\" && !options.runtimeModules;\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: `${key} modules`,\n\t\t\t\t\t\tmoduleType: key,\n\t\t\t\t\t\t...(exclude ? { filteredChildren: modules.length } : { children }),\n\t\t\t\t\t\t...moduleGroup(children, modules)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (groupModulesByLayer) {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: module => {\n\t\t\t\t\treturn [module.layer];\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, modules) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"modules by layer\",\n\t\t\t\t\t\tlayer: key,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...moduleGroup(children, modules)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (groupModulesByPath || groupModulesByExtension) {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: module => {\n\t\t\t\t\tif (!module.name) return;\n\t\t\t\t\tconst resource = parseResource(module.name.split(\"!\").pop()).path;\n\t\t\t\t\tconst dataUrl = /^data:[^,;]+/.exec(resource);\n\t\t\t\t\tif (dataUrl) return [dataUrl[0]];\n\t\t\t\t\tconst extensionMatch =\n\t\t\t\t\t\tgroupModulesByExtension && GROUP_EXTENSION_REGEXP.exec(resource);\n\t\t\t\t\tconst extension = extensionMatch ? extensionMatch[1] : \"\";\n\t\t\t\t\tconst pathMatch =\n\t\t\t\t\t\tgroupModulesByPath && GROUP_PATH_REGEXP.exec(resource);\n\t\t\t\t\tconst path = pathMatch ? pathMatch[1].split(/[/\\\\]/) : [];\n\t\t\t\t\tconst keys = [];\n\t\t\t\t\tif (groupModulesByPath) {\n\t\t\t\t\t\tif (extension)\n\t\t\t\t\t\t\tkeys.push(\n\t\t\t\t\t\t\t\tpath.length\n\t\t\t\t\t\t\t\t\t? `${path.join(\"/\")}/*${extension}`\n\t\t\t\t\t\t\t\t\t: `*${extension}`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\twhile (path.length > 0) {\n\t\t\t\t\t\t\tkeys.push(path.join(\"/\") + \"/\");\n\t\t\t\t\t\t\tpath.pop();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (extension) keys.push(`*${extension}`);\n\t\t\t\t\t}\n\t\t\t\t\treturn keys;\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, modules) => {\n\t\t\t\t\tconst isDataUrl = key.startsWith(\"data:\");\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: isDataUrl\n\t\t\t\t\t\t\t? \"modules by mime type\"\n\t\t\t\t\t\t\t: groupModulesByPath\n\t\t\t\t\t\t\t? \"modules by path\"\n\t\t\t\t\t\t\t: \"modules by extension\",\n\t\t\t\t\t\tname: isDataUrl ? key.slice(/* 'data:'.length */ 5) : key,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...moduleGroup(children, modules)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\texcludeModules: (groupConfigs, context, { excludeModules }) => {\n\t\tgroupConfigs.push({\n\t\t\tgetKeys: module => {\n\t\t\t\tconst name = module.name;\n\t\t\t\tif (name) {\n\t\t\t\t\tconst excluded = excludeModules.some(fn => fn(name, module, type));\n\t\t\t\t\tif (excluded) return [\"1\"];\n\t\t\t\t}\n\t\t\t},\n\t\t\tgetOptions: () => ({\n\t\t\t\tgroupChildren: false,\n\t\t\t\tforce: true\n\t\t\t}),\n\t\t\tcreateGroup: (key, children, modules) => ({\n\t\t\t\ttype: \"hidden modules\",\n\t\t\t\tfilteredChildren: children.length,\n\t\t\t\t...moduleGroup(children, modules)\n\t\t\t})\n\t\t});\n\t}\n});\n\n/** @type {Record<string, Record<string, (groupConfigs: GroupConfig[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>>} */\nconst RESULT_GROUPERS = {\n\t\"compilation.assets\": ASSETS_GROUPERS,\n\t\"asset.related\": ASSETS_GROUPERS,\n\t\"compilation.modules\": MODULES_GROUPERS(\"module\"),\n\t\"chunk.modules\": MODULES_GROUPERS(\"chunk\"),\n\t\"chunk.rootModules\": MODULES_GROUPERS(\"root-of-chunk\"),\n\t\"module.modules\": MODULES_GROUPERS(\"nested\"),\n\t\"module.reasons\": {\n\t\tgroupReasonsByOrigin: groupConfigs => {\n\t\t\tgroupConfigs.push({\n\t\t\t\tgetKeys: reason => {\n\t\t\t\t\treturn [reason.module];\n\t\t\t\t},\n\t\t\t\tcreateGroup: (key, children, reasons) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: \"from origin\",\n\t\t\t\t\t\tmodule: key,\n\t\t\t\t\t\tchildren,\n\t\t\t\t\t\t...reasonGroup(children, reasons)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n};\n\n// remove a prefixed \"!\" that can be specified to reverse sort order\nconst normalizeFieldKey = field => {\n\tif (field[0] === \"!\") {\n\t\treturn field.slice(1);\n\t}\n\treturn field;\n};\n\n// if a field is prefixed by a \"!\" reverse sort order\nconst sortOrderRegular = field => {\n\tif (field[0] === \"!\") {\n\t\treturn false;\n\t}\n\treturn true;\n};\n\n/**\n * @param {string} field field name\n * @returns {function(Object, Object): number} comparators\n */\nconst sortByField = field => {\n\tif (!field) {\n\t\t/**\n\t\t * @param {any} a first\n\t\t * @param {any} b second\n\t\t * @returns {-1|0|1} zero\n\t\t */\n\t\tconst noSort = (a, b) => 0;\n\t\treturn noSort;\n\t}\n\n\tconst fieldKey = normalizeFieldKey(field);\n\n\tlet sortFn = compareSelect(m => m[fieldKey], compareIds);\n\n\t// if a field is prefixed with a \"!\" the sort is reversed!\n\tconst sortIsRegular = sortOrderRegular(field);\n\n\tif (!sortIsRegular) {\n\t\tconst oldSortFn = sortFn;\n\t\tsortFn = (a, b) => oldSortFn(b, a);\n\t}\n\n\treturn sortFn;\n};\n\nconst ASSET_SORTERS = {\n\t/** @type {(comparators: Function[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void} */\n\tassetsSort: (comparators, context, { assetsSort }) => {\n\t\tcomparators.push(sortByField(assetsSort));\n\t},\n\t_: comparators => {\n\t\tcomparators.push(compareSelect(a => a.name, compareIds));\n\t}\n};\n\n/** @type {Record<string, Record<string, (comparators: Function[], context: StatsFactoryContext, options: NormalizedStatsOptions) => void>>} */\nconst RESULT_SORTERS = {\n\t\"compilation.chunks\": {\n\t\tchunksSort: (comparators, context, { chunksSort }) => {\n\t\t\tcomparators.push(sortByField(chunksSort));\n\t\t}\n\t},\n\t\"compilation.modules\": {\n\t\tmodulesSort: (comparators, context, { modulesSort }) => {\n\t\t\tcomparators.push(sortByField(modulesSort));\n\t\t}\n\t},\n\t\"chunk.modules\": {\n\t\tchunkModulesSort: (comparators, context, { chunkModulesSort }) => {\n\t\t\tcomparators.push(sortByField(chunkModulesSort));\n\t\t}\n\t},\n\t\"module.modules\": {\n\t\tnestedModulesSort: (comparators, context, { nestedModulesSort }) => {\n\t\t\tcomparators.push(sortByField(nestedModulesSort));\n\t\t}\n\t},\n\t\"compilation.assets\": ASSET_SORTERS,\n\t\"asset.related\": ASSET_SORTERS\n};\n\n/**\n * @param {Record<string, Record<string, Function>>} config the config see above\n * @param {NormalizedStatsOptions} options stats options\n * @param {function(string, Function): void} fn handler function called for every active line in config\n * @returns {void}\n */\nconst iterateConfig = (config, options, fn) => {\n\tfor (const hookFor of Object.keys(config)) {\n\t\tconst subConfig = config[hookFor];\n\t\tfor (const option of Object.keys(subConfig)) {\n\t\t\tif (option !== \"_\") {\n\t\t\t\tif (option.startsWith(\"!\")) {\n\t\t\t\t\tif (options[option.slice(1)]) continue;\n\t\t\t\t} else {\n\t\t\t\t\tconst value = options[option];\n\t\t\t\t\tif (\n\t\t\t\t\t\tvalue === false ||\n\t\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t\t(Array.isArray(value) && value.length === 0)\n\t\t\t\t\t)\n\t\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfn(hookFor, subConfig[option]);\n\t\t}\n\t}\n};\n\n/** @type {Record<string, string>} */\nconst ITEM_NAMES = {\n\t\"compilation.children[]\": \"compilation\",\n\t\"compilation.modules[]\": \"module\",\n\t\"compilation.entrypoints[]\": \"chunkGroup\",\n\t\"compilation.namedChunkGroups[]\": \"chunkGroup\",\n\t\"compilation.errors[]\": \"error\",\n\t\"compilation.warnings[]\": \"warning\",\n\t\"chunk.modules[]\": \"module\",\n\t\"chunk.rootModules[]\": \"module\",\n\t\"chunk.origins[]\": \"chunkOrigin\",\n\t\"compilation.chunks[]\": \"chunk\",\n\t\"compilation.assets[]\": \"asset\",\n\t\"asset.related[]\": \"asset\",\n\t\"module.issuerPath[]\": \"moduleIssuer\",\n\t\"module.reasons[]\": \"moduleReason\",\n\t\"module.modules[]\": \"module\",\n\t\"module.children[]\": \"module\",\n\t\"moduleTrace[]\": \"moduleTraceItem\",\n\t\"moduleTraceItem.dependencies[]\": \"moduleTraceDependency\"\n};\n\n/**\n * @param {Object[]} items items to be merged\n * @returns {Object} an object\n */\nconst mergeToObject = items => {\n\tconst obj = Object.create(null);\n\tfor (const item of items) {\n\t\tobj[item.name] = item;\n\t}\n\treturn obj;\n};\n\n/** @type {Record<string, (items: Object[]) => any>} */\nconst MERGER = {\n\t\"compilation.entrypoints\": mergeToObject,\n\t\"compilation.namedChunkGroups\": mergeToObject\n};\n\nclass DefaultStatsFactoryPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"DefaultStatsFactoryPlugin\", compilation => {\n\t\t\tcompilation.hooks.statsFactory.tap(\n\t\t\t\t\"DefaultStatsFactoryPlugin\",\n\t\t\t\t(stats, options, context) => {\n\t\t\t\t\titerateConfig(SIMPLE_EXTRACTORS, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.extract\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (obj, data, ctx) =>\n\t\t\t\t\t\t\t\tfn(obj, data, ctx, options, stats)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\titerateConfig(FILTER, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.filter\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (item, ctx, idx, i) =>\n\t\t\t\t\t\t\t\tfn(item, ctx, options, idx, i)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\titerateConfig(FILTER_RESULTS, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.filterResults\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (item, ctx, idx, i) =>\n\t\t\t\t\t\t\t\tfn(item, ctx, options, idx, i)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\titerateConfig(SORTERS, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.sort\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (comparators, ctx) =>\n\t\t\t\t\t\t\t\tfn(comparators, ctx, options)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\titerateConfig(RESULT_SORTERS, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.sortResults\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (comparators, ctx) =>\n\t\t\t\t\t\t\t\tfn(comparators, ctx, options)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\titerateConfig(RESULT_GROUPERS, options, (hookFor, fn) => {\n\t\t\t\t\t\tstats.hooks.groupResults\n\t\t\t\t\t\t\t.for(hookFor)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (groupConfigs, ctx) =>\n\t\t\t\t\t\t\t\tfn(groupConfigs, ctx, options)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tfor (const key of Object.keys(ITEM_NAMES)) {\n\t\t\t\t\t\tconst itemName = ITEM_NAMES[key];\n\t\t\t\t\t\tstats.hooks.getItemName\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", () => itemName);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const key of Object.keys(MERGER)) {\n\t\t\t\t\t\tconst merger = MERGER[key];\n\t\t\t\t\t\tstats.hooks.merge.for(key).tap(\"DefaultStatsFactoryPlugin\", merger);\n\t\t\t\t\t}\n\t\t\t\t\tif (options.children) {\n\t\t\t\t\t\tif (Array.isArray(options.children)) {\n\t\t\t\t\t\t\tstats.hooks.getItemFactory\n\t\t\t\t\t\t\t\t.for(\"compilation.children[].compilation\")\n\t\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", (comp, { _index: idx }) => {\n\t\t\t\t\t\t\t\t\tif (idx < options.children.length) {\n\t\t\t\t\t\t\t\t\t\treturn compilation.createStatsFactory(\n\t\t\t\t\t\t\t\t\t\t\tcompilation.createStatsOptions(\n\t\t\t\t\t\t\t\t\t\t\t\toptions.children[idx],\n\t\t\t\t\t\t\t\t\t\t\t\tcontext\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if (options.children !== true) {\n\t\t\t\t\t\t\tconst childFactory = compilation.createStatsFactory(\n\t\t\t\t\t\t\t\tcompilation.createStatsOptions(options.children, context)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tstats.hooks.getItemFactory\n\t\t\t\t\t\t\t\t.for(\"compilation.children[].compilation\")\n\t\t\t\t\t\t\t\t.tap(\"DefaultStatsFactoryPlugin\", () => {\n\t\t\t\t\t\t\t\t\treturn childFactory;\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = DefaultStatsFactoryPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RequestShortener = __webpack_require__(/*! ../RequestShortener */ \"./node_modules/webpack/lib/RequestShortener.js\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").StatsOptions} StatsOptions */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compilation\").CreateStatsOptionsContext} CreateStatsOptionsContext */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nconst applyDefaults = (options, defaults) => {\n\tfor (const key of Object.keys(defaults)) {\n\t\tif (typeof options[key] === \"undefined\") {\n\t\t\toptions[key] = defaults[key];\n\t\t}\n\t}\n};\n\nconst NAMED_PRESETS = {\n\tverbose: {\n\t\thash: true,\n\t\tbuiltAt: true,\n\t\trelatedAssets: true,\n\t\tentrypoints: true,\n\t\tchunkGroups: true,\n\t\tids: true,\n\t\tmodules: false,\n\t\tchunks: true,\n\t\tchunkRelations: true,\n\t\tchunkModules: true,\n\t\tdependentModules: true,\n\t\tchunkOrigins: true,\n\t\tdepth: true,\n\t\tenv: true,\n\t\treasons: true,\n\t\tusedExports: true,\n\t\tprovidedExports: true,\n\t\toptimizationBailout: true,\n\t\terrorDetails: true,\n\t\terrorStack: true,\n\t\tpublicPath: true,\n\t\tlogging: \"verbose\",\n\t\torphanModules: true,\n\t\truntimeModules: true,\n\t\texclude: false,\n\t\tmodulesSpace: Infinity,\n\t\tchunkModulesSpace: Infinity,\n\t\tassetsSpace: Infinity,\n\t\treasonsSpace: Infinity,\n\t\tchildren: true\n\t},\n\tdetailed: {\n\t\thash: true,\n\t\tbuiltAt: true,\n\t\trelatedAssets: true,\n\t\tentrypoints: true,\n\t\tchunkGroups: true,\n\t\tids: true,\n\t\tchunks: true,\n\t\tchunkRelations: true,\n\t\tchunkModules: false,\n\t\tchunkOrigins: true,\n\t\tdepth: true,\n\t\tusedExports: true,\n\t\tprovidedExports: true,\n\t\toptimizationBailout: true,\n\t\terrorDetails: true,\n\t\tpublicPath: true,\n\t\tlogging: true,\n\t\truntimeModules: true,\n\t\texclude: false,\n\t\tmodulesSpace: 1000,\n\t\tassetsSpace: 1000,\n\t\treasonsSpace: 1000\n\t},\n\tminimal: {\n\t\tall: false,\n\t\tversion: true,\n\t\ttimings: true,\n\t\tmodules: true,\n\t\tmodulesSpace: 0,\n\t\tassets: true,\n\t\tassetsSpace: 0,\n\t\terrors: true,\n\t\terrorsCount: true,\n\t\twarnings: true,\n\t\twarningsCount: true,\n\t\tlogging: \"warn\"\n\t},\n\t\"errors-only\": {\n\t\tall: false,\n\t\terrors: true,\n\t\terrorsCount: true,\n\t\tmoduleTrace: true,\n\t\tlogging: \"error\"\n\t},\n\t\"errors-warnings\": {\n\t\tall: false,\n\t\terrors: true,\n\t\terrorsCount: true,\n\t\twarnings: true,\n\t\twarningsCount: true,\n\t\tlogging: \"warn\"\n\t},\n\tsummary: {\n\t\tall: false,\n\t\tversion: true,\n\t\terrorsCount: true,\n\t\twarningsCount: true\n\t},\n\tnone: {\n\t\tall: false\n\t}\n};\n\nconst NORMAL_ON = ({ all }) => all !== false;\nconst NORMAL_OFF = ({ all }) => all === true;\nconst ON_FOR_TO_STRING = ({ all }, { forToString }) =>\n\tforToString ? all !== false : all === true;\nconst OFF_FOR_TO_STRING = ({ all }, { forToString }) =>\n\tforToString ? all === true : all !== false;\nconst AUTO_FOR_TO_STRING = ({ all }, { forToString }) => {\n\tif (all === false) return false;\n\tif (all === true) return true;\n\tif (forToString) return \"auto\";\n\treturn true;\n};\n\n/** @type {Record<string, (options: StatsOptions, context: CreateStatsOptionsContext, compilation: Compilation) => any>} */\nconst DEFAULTS = {\n\tcontext: (options, context, compilation) => compilation.compiler.context,\n\trequestShortener: (options, context, compilation) =>\n\t\tcompilation.compiler.context === options.context\n\t\t\t? compilation.requestShortener\n\t\t\t: new RequestShortener(options.context, compilation.compiler.root),\n\tperformance: NORMAL_ON,\n\thash: OFF_FOR_TO_STRING,\n\tenv: NORMAL_OFF,\n\tversion: NORMAL_ON,\n\ttimings: NORMAL_ON,\n\tbuiltAt: OFF_FOR_TO_STRING,\n\tassets: NORMAL_ON,\n\tentrypoints: AUTO_FOR_TO_STRING,\n\tchunkGroups: OFF_FOR_TO_STRING,\n\tchunkGroupAuxiliary: OFF_FOR_TO_STRING,\n\tchunkGroupChildren: OFF_FOR_TO_STRING,\n\tchunkGroupMaxAssets: (o, { forToString }) => (forToString ? 5 : Infinity),\n\tchunks: OFF_FOR_TO_STRING,\n\tchunkRelations: OFF_FOR_TO_STRING,\n\tchunkModules: ({ all, modules }) => {\n\t\tif (all === false) return false;\n\t\tif (all === true) return true;\n\t\tif (modules) return false;\n\t\treturn true;\n\t},\n\tdependentModules: OFF_FOR_TO_STRING,\n\tchunkOrigins: OFF_FOR_TO_STRING,\n\tids: OFF_FOR_TO_STRING,\n\tmodules: ({ all, chunks, chunkModules }, { forToString }) => {\n\t\tif (all === false) return false;\n\t\tif (all === true) return true;\n\t\tif (forToString && chunks && chunkModules) return false;\n\t\treturn true;\n\t},\n\tnestedModules: OFF_FOR_TO_STRING,\n\tgroupModulesByType: ON_FOR_TO_STRING,\n\tgroupModulesByCacheStatus: ON_FOR_TO_STRING,\n\tgroupModulesByLayer: ON_FOR_TO_STRING,\n\tgroupModulesByAttributes: ON_FOR_TO_STRING,\n\tgroupModulesByPath: ON_FOR_TO_STRING,\n\tgroupModulesByExtension: ON_FOR_TO_STRING,\n\tmodulesSpace: (o, { forToString }) => (forToString ? 15 : Infinity),\n\tchunkModulesSpace: (o, { forToString }) => (forToString ? 10 : Infinity),\n\tnestedModulesSpace: (o, { forToString }) => (forToString ? 10 : Infinity),\n\trelatedAssets: OFF_FOR_TO_STRING,\n\tgroupAssetsByEmitStatus: ON_FOR_TO_STRING,\n\tgroupAssetsByInfo: ON_FOR_TO_STRING,\n\tgroupAssetsByPath: ON_FOR_TO_STRING,\n\tgroupAssetsByExtension: ON_FOR_TO_STRING,\n\tgroupAssetsByChunk: ON_FOR_TO_STRING,\n\tassetsSpace: (o, { forToString }) => (forToString ? 15 : Infinity),\n\torphanModules: OFF_FOR_TO_STRING,\n\truntimeModules: ({ all, runtime }, { forToString }) =>\n\t\truntime !== undefined\n\t\t\t? runtime\n\t\t\t: forToString\n\t\t\t? all === true\n\t\t\t: all !== false,\n\tcachedModules: ({ all, cached }, { forToString }) =>\n\t\tcached !== undefined ? cached : forToString ? all === true : all !== false,\n\tmoduleAssets: OFF_FOR_TO_STRING,\n\tdepth: OFF_FOR_TO_STRING,\n\tcachedAssets: OFF_FOR_TO_STRING,\n\treasons: OFF_FOR_TO_STRING,\n\treasonsSpace: (o, { forToString }) => (forToString ? 15 : Infinity),\n\tgroupReasonsByOrigin: ON_FOR_TO_STRING,\n\tusedExports: OFF_FOR_TO_STRING,\n\tprovidedExports: OFF_FOR_TO_STRING,\n\toptimizationBailout: OFF_FOR_TO_STRING,\n\tchildren: OFF_FOR_TO_STRING,\n\tsource: NORMAL_OFF,\n\tmoduleTrace: NORMAL_ON,\n\terrors: NORMAL_ON,\n\terrorsCount: NORMAL_ON,\n\terrorDetails: AUTO_FOR_TO_STRING,\n\terrorStack: OFF_FOR_TO_STRING,\n\twarnings: NORMAL_ON,\n\twarningsCount: NORMAL_ON,\n\tpublicPath: OFF_FOR_TO_STRING,\n\tlogging: ({ all }, { forToString }) =>\n\t\tforToString && all !== false ? \"info\" : false,\n\tloggingDebug: () => [],\n\tloggingTrace: OFF_FOR_TO_STRING,\n\texcludeModules: () => [],\n\texcludeAssets: () => [],\n\tmodulesSort: () => \"depth\",\n\tchunkModulesSort: () => \"name\",\n\tnestedModulesSort: () => false,\n\tchunksSort: () => false,\n\tassetsSort: () => \"!size\",\n\toutputPath: OFF_FOR_TO_STRING,\n\tcolors: () => false\n};\n\nconst normalizeFilter = item => {\n\tif (typeof item === \"string\") {\n\t\tconst regExp = new RegExp(\n\t\t\t`[\\\\\\\\/]${item.replace(\n\t\t\t\t// eslint-disable-next-line no-useless-escape\n\t\t\t\t/[-[\\]{}()*+?.\\\\^$|]/g,\n\t\t\t\t\"\\\\$&\"\n\t\t\t)}([\\\\\\\\/]|$|!|\\\\?)`\n\t\t);\n\t\treturn ident => regExp.test(ident);\n\t}\n\tif (item && typeof item === \"object\" && typeof item.test === \"function\") {\n\t\treturn ident => item.test(ident);\n\t}\n\tif (typeof item === \"function\") {\n\t\treturn item;\n\t}\n\tif (typeof item === \"boolean\") {\n\t\treturn () => item;\n\t}\n};\n\nconst NORMALIZER = {\n\texcludeModules: value => {\n\t\tif (!Array.isArray(value)) {\n\t\t\tvalue = value ? [value] : [];\n\t\t}\n\t\treturn value.map(normalizeFilter);\n\t},\n\texcludeAssets: value => {\n\t\tif (!Array.isArray(value)) {\n\t\t\tvalue = value ? [value] : [];\n\t\t}\n\t\treturn value.map(normalizeFilter);\n\t},\n\twarningsFilter: value => {\n\t\tif (!Array.isArray(value)) {\n\t\t\tvalue = value ? [value] : [];\n\t\t}\n\t\treturn value.map(filter => {\n\t\t\tif (typeof filter === \"string\") {\n\t\t\t\treturn (warning, warningString) => warningString.includes(filter);\n\t\t\t}\n\t\t\tif (filter instanceof RegExp) {\n\t\t\t\treturn (warning, warningString) => filter.test(warningString);\n\t\t\t}\n\t\t\tif (typeof filter === \"function\") {\n\t\t\t\treturn filter;\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`Can only filter warnings with Strings or RegExps. (Given: ${filter})`\n\t\t\t);\n\t\t});\n\t},\n\tlogging: value => {\n\t\tif (value === true) value = \"log\";\n\t\treturn value;\n\t},\n\tloggingDebug: value => {\n\t\tif (!Array.isArray(value)) {\n\t\t\tvalue = value ? [value] : [];\n\t\t}\n\t\treturn value.map(normalizeFilter);\n\t}\n};\n\nclass DefaultStatsPresetPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"DefaultStatsPresetPlugin\", compilation => {\n\t\t\tfor (const key of Object.keys(NAMED_PRESETS)) {\n\t\t\t\tconst defaults = NAMED_PRESETS[key];\n\t\t\t\tcompilation.hooks.statsPreset\n\t\t\t\t\t.for(key)\n\t\t\t\t\t.tap(\"DefaultStatsPresetPlugin\", (options, context) => {\n\t\t\t\t\t\tapplyDefaults(options, defaults);\n\t\t\t\t\t});\n\t\t\t}\n\t\t\tcompilation.hooks.statsNormalize.tap(\n\t\t\t\t\"DefaultStatsPresetPlugin\",\n\t\t\t\t(options, context) => {\n\t\t\t\t\tfor (const key of Object.keys(DEFAULTS)) {\n\t\t\t\t\t\tif (options[key] === undefined)\n\t\t\t\t\t\t\toptions[key] = DEFAULTS[key](options, context, compilation);\n\t\t\t\t\t}\n\t\t\t\t\tfor (const key of Object.keys(NORMALIZER)) {\n\t\t\t\t\t\toptions[key] = NORMALIZER[key](options[key]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = DefaultStatsPresetPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"./StatsPrinter\")} StatsPrinter */\n/** @typedef {import(\"./StatsPrinter\").StatsPrinterContext} StatsPrinterContext */\n\nconst DATA_URI_CONTENT_LENGTH = 16;\n\nconst plural = (n, singular, plural) => (n === 1 ? singular : plural);\n\n/**\n * @param {Record<string, number>} sizes sizes by source type\n * @param {Object} options options\n * @param {(number) => string=} options.formatSize size formatter\n * @returns {string} text\n */\nconst printSizes = (sizes, { formatSize = n => `${n}` }) => {\n\tconst keys = Object.keys(sizes);\n\tif (keys.length > 1) {\n\t\treturn keys.map(key => `${formatSize(sizes[key])} (${key})`).join(\" \");\n\t} else if (keys.length === 1) {\n\t\treturn formatSize(sizes[keys[0]]);\n\t}\n};\n\nconst getResourceName = resource => {\n\tconst dataUrl = /^data:[^,]+,/.exec(resource);\n\tif (!dataUrl) return resource;\n\n\tconst len = dataUrl[0].length + DATA_URI_CONTENT_LENGTH;\n\tif (resource.length < len) return resource;\n\treturn `${resource.slice(\n\t\t0,\n\t\tMath.min(resource.length - /* '..'.length */ 2, len)\n\t)}..`;\n};\n\nconst getModuleName = name => {\n\tconst [, prefix, resource] = /^(.*!)?([^!]*)$/.exec(name);\n\treturn [prefix, getResourceName(resource)];\n};\n\nconst mapLines = (str, fn) => str.split(\"\\n\").map(fn).join(\"\\n\");\n\n/**\n * @param {number} n a number\n * @returns {string} number as two digit string, leading 0\n */\nconst twoDigit = n => (n >= 10 ? `${n}` : `0${n}`);\n\nconst isValidId = id => {\n\treturn typeof id === \"number\" || id;\n};\n\nconst moreCount = (list, count) => {\n\treturn list && list.length > 0 ? `+ ${count}` : `${count}`;\n};\n\n/** @type {Record<string, (thing: any, context: StatsPrinterContext, printer: StatsPrinter) => string | void>} */\nconst SIMPLE_PRINTERS = {\n\t\"compilation.summary!\": (\n\t\t_,\n\t\t{\n\t\t\ttype,\n\t\t\tbold,\n\t\t\tgreen,\n\t\t\tred,\n\t\t\tyellow,\n\t\t\tformatDateTime,\n\t\t\tformatTime,\n\t\t\tcompilation: {\n\t\t\t\tname,\n\t\t\t\thash,\n\t\t\t\tversion,\n\t\t\t\ttime,\n\t\t\t\tbuiltAt,\n\t\t\t\terrorsCount,\n\t\t\t\twarningsCount\n\t\t\t}\n\t\t}\n\t) => {\n\t\tconst root = type === \"compilation.summary!\";\n\t\tconst warningsMessage =\n\t\t\twarningsCount > 0\n\t\t\t\t? yellow(\n\t\t\t\t\t\t`${warningsCount} ${plural(warningsCount, \"warning\", \"warnings\")}`\n\t\t\t\t )\n\t\t\t\t: \"\";\n\t\tconst errorsMessage =\n\t\t\terrorsCount > 0\n\t\t\t\t? red(`${errorsCount} ${plural(errorsCount, \"error\", \"errors\")}`)\n\t\t\t\t: \"\";\n\t\tconst timeMessage = root && time ? ` in ${formatTime(time)}` : \"\";\n\t\tconst hashMessage = hash ? ` (${hash})` : \"\";\n\t\tconst builtAtMessage =\n\t\t\troot && builtAt ? `${formatDateTime(builtAt)}: ` : \"\";\n\t\tconst versionMessage = root && version ? `webpack ${version}` : \"\";\n\t\tconst nameMessage =\n\t\t\troot && name\n\t\t\t\t? bold(name)\n\t\t\t\t: name\n\t\t\t\t? `Child ${bold(name)}`\n\t\t\t\t: root\n\t\t\t\t? \"\"\n\t\t\t\t: \"Child\";\n\t\tconst subjectMessage =\n\t\t\tnameMessage && versionMessage\n\t\t\t\t? `${nameMessage} (${versionMessage})`\n\t\t\t\t: versionMessage || nameMessage || \"webpack\";\n\t\tlet statusMessage;\n\t\tif (errorsMessage && warningsMessage) {\n\t\t\tstatusMessage = `compiled with ${errorsMessage} and ${warningsMessage}`;\n\t\t} else if (errorsMessage) {\n\t\t\tstatusMessage = `compiled with ${errorsMessage}`;\n\t\t} else if (warningsMessage) {\n\t\t\tstatusMessage = `compiled with ${warningsMessage}`;\n\t\t} else if (errorsCount === 0 && warningsCount === 0) {\n\t\t\tstatusMessage = `compiled ${green(\"successfully\")}`;\n\t\t} else {\n\t\t\tstatusMessage = `compiled`;\n\t\t}\n\t\tif (\n\t\t\tbuiltAtMessage ||\n\t\t\tversionMessage ||\n\t\t\terrorsMessage ||\n\t\t\twarningsMessage ||\n\t\t\t(errorsCount === 0 && warningsCount === 0) ||\n\t\t\ttimeMessage ||\n\t\t\thashMessage\n\t\t)\n\t\t\treturn `${builtAtMessage}${subjectMessage} ${statusMessage}${timeMessage}${hashMessage}`;\n\t},\n\t\"compilation.filteredWarningDetailsCount\": count =>\n\t\tcount\n\t\t\t? `${count} ${plural(\n\t\t\t\t\tcount,\n\t\t\t\t\t\"warning has\",\n\t\t\t\t\t\"warnings have\"\n\t\t\t )} detailed information that is not shown.\\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`\n\t\t\t: undefined,\n\t\"compilation.filteredErrorDetailsCount\": (count, { yellow }) =>\n\t\tcount\n\t\t\t? yellow(\n\t\t\t\t\t`${count} ${plural(\n\t\t\t\t\t\tcount,\n\t\t\t\t\t\t\"error has\",\n\t\t\t\t\t\t\"errors have\"\n\t\t\t\t\t)} detailed information that is not shown.\\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`\n\t\t\t )\n\t\t\t: undefined,\n\t\"compilation.env\": (env, { bold }) =>\n\t\tenv\n\t\t\t? `Environment (--env): ${bold(JSON.stringify(env, null, 2))}`\n\t\t\t: undefined,\n\t\"compilation.publicPath\": (publicPath, { bold }) =>\n\t\t`PublicPath: ${bold(publicPath || \"(none)\")}`,\n\t\"compilation.entrypoints\": (entrypoints, context, printer) =>\n\t\tArray.isArray(entrypoints)\n\t\t\t? undefined\n\t\t\t: printer.print(context.type, Object.values(entrypoints), {\n\t\t\t\t\t...context,\n\t\t\t\t\tchunkGroupKind: \"Entrypoint\"\n\t\t\t }),\n\t\"compilation.namedChunkGroups\": (namedChunkGroups, context, printer) => {\n\t\tif (!Array.isArray(namedChunkGroups)) {\n\t\t\tconst {\n\t\t\t\tcompilation: { entrypoints }\n\t\t\t} = context;\n\t\t\tlet chunkGroups = Object.values(namedChunkGroups);\n\t\t\tif (entrypoints) {\n\t\t\t\tchunkGroups = chunkGroups.filter(\n\t\t\t\t\tgroup =>\n\t\t\t\t\t\t!Object.prototype.hasOwnProperty.call(entrypoints, group.name)\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn printer.print(context.type, chunkGroups, {\n\t\t\t\t...context,\n\t\t\t\tchunkGroupKind: \"Chunk Group\"\n\t\t\t});\n\t\t}\n\t},\n\t\"compilation.assetsByChunkName\": () => \"\",\n\n\t\"compilation.filteredModules\": (\n\t\tfilteredModules,\n\t\t{ compilation: { modules } }\n\t) =>\n\t\tfilteredModules > 0\n\t\t\t? `${moreCount(modules, filteredModules)} ${plural(\n\t\t\t\t\tfilteredModules,\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"modules\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"compilation.filteredAssets\": (filteredAssets, { compilation: { assets } }) =>\n\t\tfilteredAssets > 0\n\t\t\t? `${moreCount(assets, filteredAssets)} ${plural(\n\t\t\t\t\tfilteredAssets,\n\t\t\t\t\t\"asset\",\n\t\t\t\t\t\"assets\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"compilation.logging\": (logging, context, printer) =>\n\t\tArray.isArray(logging)\n\t\t\t? undefined\n\t\t\t: printer.print(\n\t\t\t\t\tcontext.type,\n\t\t\t\t\tObject.entries(logging).map(([name, value]) => ({ ...value, name })),\n\t\t\t\t\tcontext\n\t\t\t ),\n\t\"compilation.warningsInChildren!\": (_, { yellow, compilation }) => {\n\t\tif (\n\t\t\t!compilation.children &&\n\t\t\tcompilation.warningsCount > 0 &&\n\t\t\tcompilation.warnings\n\t\t) {\n\t\t\tconst childWarnings =\n\t\t\t\tcompilation.warningsCount - compilation.warnings.length;\n\t\t\tif (childWarnings > 0) {\n\t\t\t\treturn yellow(\n\t\t\t\t\t`${childWarnings} ${plural(\n\t\t\t\t\t\tchildWarnings,\n\t\t\t\t\t\t\"WARNING\",\n\t\t\t\t\t\t\"WARNINGS\"\n\t\t\t\t\t)} in child compilations${\n\t\t\t\t\t\tcompilation.children\n\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t: \" (Use 'stats.children: true' resp. '--stats-children' for more details)\"\n\t\t\t\t\t}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t},\n\t\"compilation.errorsInChildren!\": (_, { red, compilation }) => {\n\t\tif (\n\t\t\t!compilation.children &&\n\t\t\tcompilation.errorsCount > 0 &&\n\t\t\tcompilation.errors\n\t\t) {\n\t\t\tconst childErrors = compilation.errorsCount - compilation.errors.length;\n\t\t\tif (childErrors > 0) {\n\t\t\t\treturn red(\n\t\t\t\t\t`${childErrors} ${plural(\n\t\t\t\t\t\tchildErrors,\n\t\t\t\t\t\t\"ERROR\",\n\t\t\t\t\t\t\"ERRORS\"\n\t\t\t\t\t)} in child compilations${\n\t\t\t\t\t\tcompilation.children\n\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t: \" (Use 'stats.children: true' resp. '--stats-children' for more details)\"\n\t\t\t\t\t}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t},\n\n\t\"asset.type\": type => type,\n\t\"asset.name\": (name, { formatFilename, asset: { isOverSizeLimit } }) =>\n\t\tformatFilename(name, isOverSizeLimit),\n\t\"asset.size\": (\n\t\tsize,\n\t\t{ asset: { isOverSizeLimit }, yellow, green, formatSize }\n\t) => (isOverSizeLimit ? yellow(formatSize(size)) : formatSize(size)),\n\t\"asset.emitted\": (emitted, { green, formatFlag }) =>\n\t\temitted ? green(formatFlag(\"emitted\")) : undefined,\n\t\"asset.comparedForEmit\": (comparedForEmit, { yellow, formatFlag }) =>\n\t\tcomparedForEmit ? yellow(formatFlag(\"compared for emit\")) : undefined,\n\t\"asset.cached\": (cached, { green, formatFlag }) =>\n\t\tcached ? green(formatFlag(\"cached\")) : undefined,\n\t\"asset.isOverSizeLimit\": (isOverSizeLimit, { yellow, formatFlag }) =>\n\t\tisOverSizeLimit ? yellow(formatFlag(\"big\")) : undefined,\n\n\t\"asset.info.immutable\": (immutable, { green, formatFlag }) =>\n\t\timmutable ? green(formatFlag(\"immutable\")) : undefined,\n\t\"asset.info.javascriptModule\": (javascriptModule, { formatFlag }) =>\n\t\tjavascriptModule ? formatFlag(\"javascript module\") : undefined,\n\t\"asset.info.sourceFilename\": (sourceFilename, { formatFlag }) =>\n\t\tsourceFilename\n\t\t\t? formatFlag(\n\t\t\t\t\tsourceFilename === true\n\t\t\t\t\t\t? \"from source file\"\n\t\t\t\t\t\t: `from: ${sourceFilename}`\n\t\t\t )\n\t\t\t: undefined,\n\t\"asset.info.development\": (development, { green, formatFlag }) =>\n\t\tdevelopment ? green(formatFlag(\"dev\")) : undefined,\n\t\"asset.info.hotModuleReplacement\": (\n\t\thotModuleReplacement,\n\t\t{ green, formatFlag }\n\t) => (hotModuleReplacement ? green(formatFlag(\"hmr\")) : undefined),\n\t\"asset.separator!\": () => \"\\n\",\n\t\"asset.filteredRelated\": (filteredRelated, { asset: { related } }) =>\n\t\tfilteredRelated > 0\n\t\t\t? `${moreCount(related, filteredRelated)} related ${plural(\n\t\t\t\t\tfilteredRelated,\n\t\t\t\t\t\"asset\",\n\t\t\t\t\t\"assets\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"asset.filteredChildren\": (filteredChildren, { asset: { children } }) =>\n\t\tfilteredChildren > 0\n\t\t\t? `${moreCount(children, filteredChildren)} ${plural(\n\t\t\t\t\tfilteredChildren,\n\t\t\t\t\t\"asset\",\n\t\t\t\t\t\"assets\"\n\t\t\t )}`\n\t\t\t: undefined,\n\n\tassetChunk: (id, { formatChunkId }) => formatChunkId(id),\n\n\tassetChunkName: name => name,\n\tassetChunkIdHint: name => name,\n\n\t\"module.type\": type => (type !== \"module\" ? type : undefined),\n\t\"module.id\": (id, { formatModuleId }) =>\n\t\tisValidId(id) ? formatModuleId(id) : undefined,\n\t\"module.name\": (name, { bold }) => {\n\t\tconst [prefix, resource] = getModuleName(name);\n\t\treturn `${prefix || \"\"}${bold(resource || \"\")}`;\n\t},\n\t\"module.identifier\": identifier => undefined,\n\t\"module.layer\": (layer, { formatLayer }) =>\n\t\tlayer ? formatLayer(layer) : undefined,\n\t\"module.sizes\": printSizes,\n\t\"module.chunks[]\": (id, { formatChunkId }) => formatChunkId(id),\n\t\"module.depth\": (depth, { formatFlag }) =>\n\t\tdepth !== null ? formatFlag(`depth ${depth}`) : undefined,\n\t\"module.cacheable\": (cacheable, { formatFlag, red }) =>\n\t\tcacheable === false ? red(formatFlag(\"not cacheable\")) : undefined,\n\t\"module.orphan\": (orphan, { formatFlag, yellow }) =>\n\t\torphan ? yellow(formatFlag(\"orphan\")) : undefined,\n\t\"module.runtime\": (runtime, { formatFlag, yellow }) =>\n\t\truntime ? yellow(formatFlag(\"runtime\")) : undefined,\n\t\"module.optional\": (optional, { formatFlag, yellow }) =>\n\t\toptional ? yellow(formatFlag(\"optional\")) : undefined,\n\t\"module.dependent\": (dependent, { formatFlag, cyan }) =>\n\t\tdependent ? cyan(formatFlag(\"dependent\")) : undefined,\n\t\"module.built\": (built, { formatFlag, yellow }) =>\n\t\tbuilt ? yellow(formatFlag(\"built\")) : undefined,\n\t\"module.codeGenerated\": (codeGenerated, { formatFlag, yellow }) =>\n\t\tcodeGenerated ? yellow(formatFlag(\"code generated\")) : undefined,\n\t\"module.buildTimeExecuted\": (buildTimeExecuted, { formatFlag, green }) =>\n\t\tbuildTimeExecuted ? green(formatFlag(\"build time executed\")) : undefined,\n\t\"module.cached\": (cached, { formatFlag, green }) =>\n\t\tcached ? green(formatFlag(\"cached\")) : undefined,\n\t\"module.assets\": (assets, { formatFlag, magenta }) =>\n\t\tassets && assets.length\n\t\t\t? magenta(\n\t\t\t\t\tformatFlag(\n\t\t\t\t\t\t`${assets.length} ${plural(assets.length, \"asset\", \"assets\")}`\n\t\t\t\t\t)\n\t\t\t )\n\t\t\t: undefined,\n\t\"module.warnings\": (warnings, { formatFlag, yellow }) =>\n\t\twarnings === true\n\t\t\t? yellow(formatFlag(\"warnings\"))\n\t\t\t: warnings\n\t\t\t? yellow(\n\t\t\t\t\tformatFlag(`${warnings} ${plural(warnings, \"warning\", \"warnings\")}`)\n\t\t\t )\n\t\t\t: undefined,\n\t\"module.errors\": (errors, { formatFlag, red }) =>\n\t\terrors === true\n\t\t\t? red(formatFlag(\"errors\"))\n\t\t\t: errors\n\t\t\t? red(formatFlag(`${errors} ${plural(errors, \"error\", \"errors\")}`))\n\t\t\t: undefined,\n\t\"module.providedExports\": (providedExports, { formatFlag, cyan }) => {\n\t\tif (Array.isArray(providedExports)) {\n\t\t\tif (providedExports.length === 0) return cyan(formatFlag(\"no exports\"));\n\t\t\treturn cyan(formatFlag(`exports: ${providedExports.join(\", \")}`));\n\t\t}\n\t},\n\t\"module.usedExports\": (usedExports, { formatFlag, cyan, module }) => {\n\t\tif (usedExports !== true) {\n\t\t\tif (usedExports === null) return cyan(formatFlag(\"used exports unknown\"));\n\t\t\tif (usedExports === false) return cyan(formatFlag(\"module unused\"));\n\t\t\tif (Array.isArray(usedExports)) {\n\t\t\t\tif (usedExports.length === 0)\n\t\t\t\t\treturn cyan(formatFlag(\"no exports used\"));\n\t\t\t\tconst providedExportsCount = Array.isArray(module.providedExports)\n\t\t\t\t\t? module.providedExports.length\n\t\t\t\t\t: null;\n\t\t\t\tif (\n\t\t\t\t\tprovidedExportsCount !== null &&\n\t\t\t\t\tprovidedExportsCount === usedExports.length\n\t\t\t\t) {\n\t\t\t\t\treturn cyan(formatFlag(\"all exports used\"));\n\t\t\t\t} else {\n\t\t\t\t\treturn cyan(\n\t\t\t\t\t\tformatFlag(`only some exports used: ${usedExports.join(\", \")}`)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t\"module.optimizationBailout[]\": (optimizationBailout, { yellow }) =>\n\t\tyellow(optimizationBailout),\n\t\"module.issuerPath\": (issuerPath, { module }) =>\n\t\tmodule.profile ? undefined : \"\",\n\t\"module.profile\": profile => undefined,\n\t\"module.filteredModules\": (filteredModules, { module: { modules } }) =>\n\t\tfilteredModules > 0\n\t\t\t? `${moreCount(modules, filteredModules)} nested ${plural(\n\t\t\t\t\tfilteredModules,\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"modules\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"module.filteredReasons\": (filteredReasons, { module: { reasons } }) =>\n\t\tfilteredReasons > 0\n\t\t\t? `${moreCount(reasons, filteredReasons)} ${plural(\n\t\t\t\t\tfilteredReasons,\n\t\t\t\t\t\"reason\",\n\t\t\t\t\t\"reasons\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"module.filteredChildren\": (filteredChildren, { module: { children } }) =>\n\t\tfilteredChildren > 0\n\t\t\t? `${moreCount(children, filteredChildren)} ${plural(\n\t\t\t\t\tfilteredChildren,\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"modules\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"module.separator!\": () => \"\\n\",\n\n\t\"moduleIssuer.id\": (id, { formatModuleId }) => formatModuleId(id),\n\t\"moduleIssuer.profile.total\": (value, { formatTime }) => formatTime(value),\n\n\t\"moduleReason.type\": type => type,\n\t\"moduleReason.userRequest\": (userRequest, { cyan }) =>\n\t\tcyan(getResourceName(userRequest)),\n\t\"moduleReason.moduleId\": (moduleId, { formatModuleId }) =>\n\t\tisValidId(moduleId) ? formatModuleId(moduleId) : undefined,\n\t\"moduleReason.module\": (module, { magenta }) => magenta(module),\n\t\"moduleReason.loc\": loc => loc,\n\t\"moduleReason.explanation\": (explanation, { cyan }) => cyan(explanation),\n\t\"moduleReason.active\": (active, { formatFlag }) =>\n\t\tactive ? undefined : formatFlag(\"inactive\"),\n\t\"moduleReason.resolvedModule\": (module, { magenta }) => magenta(module),\n\t\"moduleReason.filteredChildren\": (\n\t\tfilteredChildren,\n\t\t{ moduleReason: { children } }\n\t) =>\n\t\tfilteredChildren > 0\n\t\t\t? `${moreCount(children, filteredChildren)} ${plural(\n\t\t\t\t\tfilteredChildren,\n\t\t\t\t\t\"reason\",\n\t\t\t\t\t\"reasons\"\n\t\t\t )}`\n\t\t\t: undefined,\n\n\t\"module.profile.total\": (value, { formatTime }) => formatTime(value),\n\t\"module.profile.resolving\": (value, { formatTime }) =>\n\t\t`resolving: ${formatTime(value)}`,\n\t\"module.profile.restoring\": (value, { formatTime }) =>\n\t\t`restoring: ${formatTime(value)}`,\n\t\"module.profile.integration\": (value, { formatTime }) =>\n\t\t`integration: ${formatTime(value)}`,\n\t\"module.profile.building\": (value, { formatTime }) =>\n\t\t`building: ${formatTime(value)}`,\n\t\"module.profile.storing\": (value, { formatTime }) =>\n\t\t`storing: ${formatTime(value)}`,\n\t\"module.profile.additionalResolving\": (value, { formatTime }) =>\n\t\tvalue ? `additional resolving: ${formatTime(value)}` : undefined,\n\t\"module.profile.additionalIntegration\": (value, { formatTime }) =>\n\t\tvalue ? `additional integration: ${formatTime(value)}` : undefined,\n\n\t\"chunkGroup.kind!\": (_, { chunkGroupKind }) => chunkGroupKind,\n\t\"chunkGroup.separator!\": () => \"\\n\",\n\t\"chunkGroup.name\": (name, { bold }) => bold(name),\n\t\"chunkGroup.isOverSizeLimit\": (isOverSizeLimit, { formatFlag, yellow }) =>\n\t\tisOverSizeLimit ? yellow(formatFlag(\"big\")) : undefined,\n\t\"chunkGroup.assetsSize\": (size, { formatSize }) =>\n\t\tsize ? formatSize(size) : undefined,\n\t\"chunkGroup.auxiliaryAssetsSize\": (size, { formatSize }) =>\n\t\tsize ? `(${formatSize(size)})` : undefined,\n\t\"chunkGroup.filteredAssets\": (n, { chunkGroup: { assets } }) =>\n\t\tn > 0\n\t\t\t? `${moreCount(assets, n)} ${plural(n, \"asset\", \"assets\")}`\n\t\t\t: undefined,\n\t\"chunkGroup.filteredAuxiliaryAssets\": (\n\t\tn,\n\t\t{ chunkGroup: { auxiliaryAssets } }\n\t) =>\n\t\tn > 0\n\t\t\t? `${moreCount(auxiliaryAssets, n)} auxiliary ${plural(\n\t\t\t\t\tn,\n\t\t\t\t\t\"asset\",\n\t\t\t\t\t\"assets\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"chunkGroup.is!\": () => \"=\",\n\t\"chunkGroupAsset.name\": (asset, { green }) => green(asset),\n\t\"chunkGroupAsset.size\": (size, { formatSize, chunkGroup }) =>\n\t\tchunkGroup.assets.length > 1 ||\n\t\t(chunkGroup.auxiliaryAssets && chunkGroup.auxiliaryAssets.length > 0)\n\t\t\t? formatSize(size)\n\t\t\t: undefined,\n\t\"chunkGroup.children\": (children, context, printer) =>\n\t\tArray.isArray(children)\n\t\t\t? undefined\n\t\t\t: printer.print(\n\t\t\t\t\tcontext.type,\n\t\t\t\t\tObject.keys(children).map(key => ({\n\t\t\t\t\t\ttype: key,\n\t\t\t\t\t\tchildren: children[key]\n\t\t\t\t\t})),\n\t\t\t\t\tcontext\n\t\t\t ),\n\t\"chunkGroupChildGroup.type\": type => `${type}:`,\n\t\"chunkGroupChild.assets[]\": (file, { formatFilename }) =>\n\t\tformatFilename(file),\n\t\"chunkGroupChild.chunks[]\": (id, { formatChunkId }) => formatChunkId(id),\n\t\"chunkGroupChild.name\": name => (name ? `(name: ${name})` : undefined),\n\n\t\"chunk.id\": (id, { formatChunkId }) => formatChunkId(id),\n\t\"chunk.files[]\": (file, { formatFilename }) => formatFilename(file),\n\t\"chunk.names[]\": name => name,\n\t\"chunk.idHints[]\": name => name,\n\t\"chunk.runtime[]\": name => name,\n\t\"chunk.sizes\": (sizes, context) => printSizes(sizes, context),\n\t\"chunk.parents[]\": (parents, context) =>\n\t\tcontext.formatChunkId(parents, \"parent\"),\n\t\"chunk.siblings[]\": (siblings, context) =>\n\t\tcontext.formatChunkId(siblings, \"sibling\"),\n\t\"chunk.children[]\": (children, context) =>\n\t\tcontext.formatChunkId(children, \"child\"),\n\t\"chunk.childrenByOrder\": (childrenByOrder, context, printer) =>\n\t\tArray.isArray(childrenByOrder)\n\t\t\t? undefined\n\t\t\t: printer.print(\n\t\t\t\t\tcontext.type,\n\t\t\t\t\tObject.keys(childrenByOrder).map(key => ({\n\t\t\t\t\t\ttype: key,\n\t\t\t\t\t\tchildren: childrenByOrder[key]\n\t\t\t\t\t})),\n\t\t\t\t\tcontext\n\t\t\t ),\n\t\"chunk.childrenByOrder[].type\": type => `${type}:`,\n\t\"chunk.childrenByOrder[].children[]\": (id, { formatChunkId }) =>\n\t\tisValidId(id) ? formatChunkId(id) : undefined,\n\t\"chunk.entry\": (entry, { formatFlag, yellow }) =>\n\t\tentry ? yellow(formatFlag(\"entry\")) : undefined,\n\t\"chunk.initial\": (initial, { formatFlag, yellow }) =>\n\t\tinitial ? yellow(formatFlag(\"initial\")) : undefined,\n\t\"chunk.rendered\": (rendered, { formatFlag, green }) =>\n\t\trendered ? green(formatFlag(\"rendered\")) : undefined,\n\t\"chunk.recorded\": (recorded, { formatFlag, green }) =>\n\t\trecorded ? green(formatFlag(\"recorded\")) : undefined,\n\t\"chunk.reason\": (reason, { yellow }) => (reason ? yellow(reason) : undefined),\n\t\"chunk.filteredModules\": (filteredModules, { chunk: { modules } }) =>\n\t\tfilteredModules > 0\n\t\t\t? `${moreCount(modules, filteredModules)} chunk ${plural(\n\t\t\t\t\tfilteredModules,\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"modules\"\n\t\t\t )}`\n\t\t\t: undefined,\n\t\"chunk.separator!\": () => \"\\n\",\n\n\t\"chunkOrigin.request\": request => request,\n\t\"chunkOrigin.moduleId\": (moduleId, { formatModuleId }) =>\n\t\tisValidId(moduleId) ? formatModuleId(moduleId) : undefined,\n\t\"chunkOrigin.moduleName\": (moduleName, { bold }) => bold(moduleName),\n\t\"chunkOrigin.loc\": loc => loc,\n\n\t\"error.compilerPath\": (compilerPath, { bold }) =>\n\t\tcompilerPath ? bold(`(${compilerPath})`) : undefined,\n\t\"error.chunkId\": (chunkId, { formatChunkId }) =>\n\t\tisValidId(chunkId) ? formatChunkId(chunkId) : undefined,\n\t\"error.chunkEntry\": (chunkEntry, { formatFlag }) =>\n\t\tchunkEntry ? formatFlag(\"entry\") : undefined,\n\t\"error.chunkInitial\": (chunkInitial, { formatFlag }) =>\n\t\tchunkInitial ? formatFlag(\"initial\") : undefined,\n\t\"error.file\": (file, { bold }) => bold(file),\n\t\"error.moduleName\": (moduleName, { bold }) => {\n\t\treturn moduleName.includes(\"!\")\n\t\t\t? `${bold(moduleName.replace(/^(\\s|\\S)*!/, \"\"))} (${moduleName})`\n\t\t\t: `${bold(moduleName)}`;\n\t},\n\t\"error.loc\": (loc, { green }) => green(loc),\n\t\"error.message\": (message, { bold, formatError }) =>\n\t\tmessage.includes(\"\\u001b[\") ? message : bold(formatError(message)),\n\t\"error.details\": (details, { formatError }) => formatError(details),\n\t\"error.stack\": stack => stack,\n\t\"error.moduleTrace\": moduleTrace => undefined,\n\t\"error.separator!\": () => \"\\n\",\n\n\t\"loggingEntry(error).loggingEntry.message\": (message, { red }) =>\n\t\tmapLines(message, x => `<e> ${red(x)}`),\n\t\"loggingEntry(warn).loggingEntry.message\": (message, { yellow }) =>\n\t\tmapLines(message, x => `<w> ${yellow(x)}`),\n\t\"loggingEntry(info).loggingEntry.message\": (message, { green }) =>\n\t\tmapLines(message, x => `<i> ${green(x)}`),\n\t\"loggingEntry(log).loggingEntry.message\": (message, { bold }) =>\n\t\tmapLines(message, x => ` ${bold(x)}`),\n\t\"loggingEntry(debug).loggingEntry.message\": message =>\n\t\tmapLines(message, x => ` ${x}`),\n\t\"loggingEntry(trace).loggingEntry.message\": message =>\n\t\tmapLines(message, x => ` ${x}`),\n\t\"loggingEntry(status).loggingEntry.message\": (message, { magenta }) =>\n\t\tmapLines(message, x => `<s> ${magenta(x)}`),\n\t\"loggingEntry(profile).loggingEntry.message\": (message, { magenta }) =>\n\t\tmapLines(message, x => `<p> ${magenta(x)}`),\n\t\"loggingEntry(profileEnd).loggingEntry.message\": (message, { magenta }) =>\n\t\tmapLines(message, x => `</p> ${magenta(x)}`),\n\t\"loggingEntry(time).loggingEntry.message\": (message, { magenta }) =>\n\t\tmapLines(message, x => `<t> ${magenta(x)}`),\n\t\"loggingEntry(group).loggingEntry.message\": (message, { cyan }) =>\n\t\tmapLines(message, x => `<-> ${cyan(x)}`),\n\t\"loggingEntry(groupCollapsed).loggingEntry.message\": (message, { cyan }) =>\n\t\tmapLines(message, x => `<+> ${cyan(x)}`),\n\t\"loggingEntry(clear).loggingEntry\": () => \" -------\",\n\t\"loggingEntry(groupCollapsed).loggingEntry.children\": () => \"\",\n\t\"loggingEntry.trace[]\": trace =>\n\t\ttrace ? mapLines(trace, x => `| ${x}`) : undefined,\n\n\t\"moduleTraceItem.originName\": originName => originName,\n\n\tloggingGroup: loggingGroup =>\n\t\tloggingGroup.entries.length === 0 ? \"\" : undefined,\n\t\"loggingGroup.debug\": (flag, { red }) => (flag ? red(\"DEBUG\") : undefined),\n\t\"loggingGroup.name\": (name, { bold }) => bold(`LOG from ${name}`),\n\t\"loggingGroup.separator!\": () => \"\\n\",\n\t\"loggingGroup.filteredEntries\": filteredEntries =>\n\t\tfilteredEntries > 0 ? `+ ${filteredEntries} hidden lines` : undefined,\n\n\t\"moduleTraceDependency.loc\": loc => loc\n};\n\n/** @type {Record<string, string | Function>} */\nconst ITEM_NAMES = {\n\t\"compilation.assets[]\": \"asset\",\n\t\"compilation.modules[]\": \"module\",\n\t\"compilation.chunks[]\": \"chunk\",\n\t\"compilation.entrypoints[]\": \"chunkGroup\",\n\t\"compilation.namedChunkGroups[]\": \"chunkGroup\",\n\t\"compilation.errors[]\": \"error\",\n\t\"compilation.warnings[]\": \"error\",\n\t\"compilation.logging[]\": \"loggingGroup\",\n\t\"compilation.children[]\": \"compilation\",\n\t\"asset.related[]\": \"asset\",\n\t\"asset.children[]\": \"asset\",\n\t\"asset.chunks[]\": \"assetChunk\",\n\t\"asset.auxiliaryChunks[]\": \"assetChunk\",\n\t\"asset.chunkNames[]\": \"assetChunkName\",\n\t\"asset.chunkIdHints[]\": \"assetChunkIdHint\",\n\t\"asset.auxiliaryChunkNames[]\": \"assetChunkName\",\n\t\"asset.auxiliaryChunkIdHints[]\": \"assetChunkIdHint\",\n\t\"chunkGroup.assets[]\": \"chunkGroupAsset\",\n\t\"chunkGroup.auxiliaryAssets[]\": \"chunkGroupAsset\",\n\t\"chunkGroupChild.assets[]\": \"chunkGroupAsset\",\n\t\"chunkGroupChild.auxiliaryAssets[]\": \"chunkGroupAsset\",\n\t\"chunkGroup.children[]\": \"chunkGroupChildGroup\",\n\t\"chunkGroupChildGroup.children[]\": \"chunkGroupChild\",\n\t\"module.modules[]\": \"module\",\n\t\"module.children[]\": \"module\",\n\t\"module.reasons[]\": \"moduleReason\",\n\t\"moduleReason.children[]\": \"moduleReason\",\n\t\"module.issuerPath[]\": \"moduleIssuer\",\n\t\"chunk.origins[]\": \"chunkOrigin\",\n\t\"chunk.modules[]\": \"module\",\n\t\"loggingGroup.entries[]\": logEntry =>\n\t\t`loggingEntry(${logEntry.type}).loggingEntry`,\n\t\"loggingEntry.children[]\": logEntry =>\n\t\t`loggingEntry(${logEntry.type}).loggingEntry`,\n\t\"error.moduleTrace[]\": \"moduleTraceItem\",\n\t\"moduleTraceItem.dependencies[]\": \"moduleTraceDependency\"\n};\n\nconst ERROR_PREFERRED_ORDER = [\n\t\"compilerPath\",\n\t\"chunkId\",\n\t\"chunkEntry\",\n\t\"chunkInitial\",\n\t\"file\",\n\t\"separator!\",\n\t\"moduleName\",\n\t\"loc\",\n\t\"separator!\",\n\t\"message\",\n\t\"separator!\",\n\t\"details\",\n\t\"separator!\",\n\t\"stack\",\n\t\"separator!\",\n\t\"missing\",\n\t\"separator!\",\n\t\"moduleTrace\"\n];\n\n/** @type {Record<string, string[]>} */\nconst PREFERRED_ORDERS = {\n\tcompilation: [\n\t\t\"name\",\n\t\t\"hash\",\n\t\t\"version\",\n\t\t\"time\",\n\t\t\"builtAt\",\n\t\t\"env\",\n\t\t\"publicPath\",\n\t\t\"assets\",\n\t\t\"filteredAssets\",\n\t\t\"entrypoints\",\n\t\t\"namedChunkGroups\",\n\t\t\"chunks\",\n\t\t\"modules\",\n\t\t\"filteredModules\",\n\t\t\"children\",\n\t\t\"logging\",\n\t\t\"warnings\",\n\t\t\"warningsInChildren!\",\n\t\t\"filteredWarningDetailsCount\",\n\t\t\"errors\",\n\t\t\"errorsInChildren!\",\n\t\t\"filteredErrorDetailsCount\",\n\t\t\"summary!\",\n\t\t\"needAdditionalPass\"\n\t],\n\tasset: [\n\t\t\"type\",\n\t\t\"name\",\n\t\t\"size\",\n\t\t\"chunks\",\n\t\t\"auxiliaryChunks\",\n\t\t\"emitted\",\n\t\t\"comparedForEmit\",\n\t\t\"cached\",\n\t\t\"info\",\n\t\t\"isOverSizeLimit\",\n\t\t\"chunkNames\",\n\t\t\"auxiliaryChunkNames\",\n\t\t\"chunkIdHints\",\n\t\t\"auxiliaryChunkIdHints\",\n\t\t\"related\",\n\t\t\"filteredRelated\",\n\t\t\"children\",\n\t\t\"filteredChildren\"\n\t],\n\t\"asset.info\": [\n\t\t\"immutable\",\n\t\t\"sourceFilename\",\n\t\t\"javascriptModule\",\n\t\t\"development\",\n\t\t\"hotModuleReplacement\"\n\t],\n\tchunkGroup: [\n\t\t\"kind!\",\n\t\t\"name\",\n\t\t\"isOverSizeLimit\",\n\t\t\"assetsSize\",\n\t\t\"auxiliaryAssetsSize\",\n\t\t\"is!\",\n\t\t\"assets\",\n\t\t\"filteredAssets\",\n\t\t\"auxiliaryAssets\",\n\t\t\"filteredAuxiliaryAssets\",\n\t\t\"separator!\",\n\t\t\"children\"\n\t],\n\tchunkGroupAsset: [\"name\", \"size\"],\n\tchunkGroupChildGroup: [\"type\", \"children\"],\n\tchunkGroupChild: [\"assets\", \"chunks\", \"name\"],\n\tmodule: [\n\t\t\"type\",\n\t\t\"name\",\n\t\t\"identifier\",\n\t\t\"id\",\n\t\t\"layer\",\n\t\t\"sizes\",\n\t\t\"chunks\",\n\t\t\"depth\",\n\t\t\"cacheable\",\n\t\t\"orphan\",\n\t\t\"runtime\",\n\t\t\"optional\",\n\t\t\"dependent\",\n\t\t\"built\",\n\t\t\"codeGenerated\",\n\t\t\"cached\",\n\t\t\"assets\",\n\t\t\"failed\",\n\t\t\"warnings\",\n\t\t\"errors\",\n\t\t\"children\",\n\t\t\"filteredChildren\",\n\t\t\"providedExports\",\n\t\t\"usedExports\",\n\t\t\"optimizationBailout\",\n\t\t\"reasons\",\n\t\t\"filteredReasons\",\n\t\t\"issuerPath\",\n\t\t\"profile\",\n\t\t\"modules\",\n\t\t\"filteredModules\"\n\t],\n\tmoduleReason: [\n\t\t\"active\",\n\t\t\"type\",\n\t\t\"userRequest\",\n\t\t\"moduleId\",\n\t\t\"module\",\n\t\t\"resolvedModule\",\n\t\t\"loc\",\n\t\t\"explanation\",\n\t\t\"children\",\n\t\t\"filteredChildren\"\n\t],\n\t\"module.profile\": [\n\t\t\"total\",\n\t\t\"separator!\",\n\t\t\"resolving\",\n\t\t\"restoring\",\n\t\t\"integration\",\n\t\t\"building\",\n\t\t\"storing\",\n\t\t\"additionalResolving\",\n\t\t\"additionalIntegration\"\n\t],\n\tchunk: [\n\t\t\"id\",\n\t\t\"runtime\",\n\t\t\"files\",\n\t\t\"names\",\n\t\t\"idHints\",\n\t\t\"sizes\",\n\t\t\"parents\",\n\t\t\"siblings\",\n\t\t\"children\",\n\t\t\"childrenByOrder\",\n\t\t\"entry\",\n\t\t\"initial\",\n\t\t\"rendered\",\n\t\t\"recorded\",\n\t\t\"reason\",\n\t\t\"separator!\",\n\t\t\"origins\",\n\t\t\"separator!\",\n\t\t\"modules\",\n\t\t\"separator!\",\n\t\t\"filteredModules\"\n\t],\n\tchunkOrigin: [\"request\", \"moduleId\", \"moduleName\", \"loc\"],\n\terror: ERROR_PREFERRED_ORDER,\n\twarning: ERROR_PREFERRED_ORDER,\n\t\"chunk.childrenByOrder[]\": [\"type\", \"children\"],\n\tloggingGroup: [\n\t\t\"debug\",\n\t\t\"name\",\n\t\t\"separator!\",\n\t\t\"entries\",\n\t\t\"separator!\",\n\t\t\"filteredEntries\"\n\t],\n\tloggingEntry: [\"message\", \"trace\", \"children\"]\n};\n\nconst itemsJoinOneLine = items => items.filter(Boolean).join(\" \");\nconst itemsJoinOneLineBrackets = items =>\n\titems.length > 0 ? `(${items.filter(Boolean).join(\" \")})` : undefined;\nconst itemsJoinMoreSpacing = items => items.filter(Boolean).join(\"\\n\\n\");\nconst itemsJoinComma = items => items.filter(Boolean).join(\", \");\nconst itemsJoinCommaBrackets = items =>\n\titems.length > 0 ? `(${items.filter(Boolean).join(\", \")})` : undefined;\nconst itemsJoinCommaBracketsWithName = name => items =>\n\titems.length > 0\n\t\t? `(${name}: ${items.filter(Boolean).join(\", \")})`\n\t\t: undefined;\n\n/** @type {Record<string, (items: string[]) => string>} */\nconst SIMPLE_ITEMS_JOINER = {\n\t\"chunk.parents\": itemsJoinOneLine,\n\t\"chunk.siblings\": itemsJoinOneLine,\n\t\"chunk.children\": itemsJoinOneLine,\n\t\"chunk.names\": itemsJoinCommaBrackets,\n\t\"chunk.idHints\": itemsJoinCommaBracketsWithName(\"id hint\"),\n\t\"chunk.runtime\": itemsJoinCommaBracketsWithName(\"runtime\"),\n\t\"chunk.files\": itemsJoinComma,\n\t\"chunk.childrenByOrder\": itemsJoinOneLine,\n\t\"chunk.childrenByOrder[].children\": itemsJoinOneLine,\n\t\"chunkGroup.assets\": itemsJoinOneLine,\n\t\"chunkGroup.auxiliaryAssets\": itemsJoinOneLineBrackets,\n\t\"chunkGroupChildGroup.children\": itemsJoinComma,\n\t\"chunkGroupChild.assets\": itemsJoinOneLine,\n\t\"chunkGroupChild.auxiliaryAssets\": itemsJoinOneLineBrackets,\n\t\"asset.chunks\": itemsJoinComma,\n\t\"asset.auxiliaryChunks\": itemsJoinCommaBrackets,\n\t\"asset.chunkNames\": itemsJoinCommaBracketsWithName(\"name\"),\n\t\"asset.auxiliaryChunkNames\": itemsJoinCommaBracketsWithName(\"auxiliary name\"),\n\t\"asset.chunkIdHints\": itemsJoinCommaBracketsWithName(\"id hint\"),\n\t\"asset.auxiliaryChunkIdHints\":\n\t\titemsJoinCommaBracketsWithName(\"auxiliary id hint\"),\n\t\"module.chunks\": itemsJoinOneLine,\n\t\"module.issuerPath\": items =>\n\t\titems\n\t\t\t.filter(Boolean)\n\t\t\t.map(item => `${item} ->`)\n\t\t\t.join(\" \"),\n\t\"compilation.errors\": itemsJoinMoreSpacing,\n\t\"compilation.warnings\": itemsJoinMoreSpacing,\n\t\"compilation.logging\": itemsJoinMoreSpacing,\n\t\"compilation.children\": items => indent(itemsJoinMoreSpacing(items), \" \"),\n\t\"moduleTraceItem.dependencies\": itemsJoinOneLine,\n\t\"loggingEntry.children\": items =>\n\t\tindent(items.filter(Boolean).join(\"\\n\"), \" \", false)\n};\n\nconst joinOneLine = items =>\n\titems\n\t\t.map(item => item.content)\n\t\t.filter(Boolean)\n\t\t.join(\" \");\n\nconst joinInBrackets = items => {\n\tconst res = [];\n\tlet mode = 0;\n\tfor (const item of items) {\n\t\tif (item.element === \"separator!\") {\n\t\t\tswitch (mode) {\n\t\t\t\tcase 0:\n\t\t\t\tcase 1:\n\t\t\t\t\tmode += 2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tres.push(\")\");\n\t\t\t\t\tmode = 3;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!item.content) continue;\n\t\tswitch (mode) {\n\t\t\tcase 0:\n\t\t\t\tmode = 1;\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tres.push(\" \");\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tres.push(\"(\");\n\t\t\t\tmode = 4;\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tres.push(\" (\");\n\t\t\t\tmode = 4;\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tres.push(\", \");\n\t\t\t\tbreak;\n\t\t}\n\t\tres.push(item.content);\n\t}\n\tif (mode === 4) res.push(\")\");\n\treturn res.join(\"\");\n};\n\nconst indent = (str, prefix, noPrefixInFirstLine) => {\n\tconst rem = str.replace(/\\n([^\\n])/g, \"\\n\" + prefix + \"$1\");\n\tif (noPrefixInFirstLine) return rem;\n\tconst ind = str[0] === \"\\n\" ? \"\" : prefix;\n\treturn ind + rem;\n};\n\nconst joinExplicitNewLine = (items, indenter) => {\n\tlet firstInLine = true;\n\tlet first = true;\n\treturn items\n\t\t.map(item => {\n\t\t\tif (!item || !item.content) return;\n\t\t\tlet content = indent(item.content, first ? \"\" : indenter, !firstInLine);\n\t\t\tif (firstInLine) {\n\t\t\t\tcontent = content.replace(/^\\n+/, \"\");\n\t\t\t}\n\t\t\tif (!content) return;\n\t\t\tfirst = false;\n\t\t\tconst noJoiner = firstInLine || content.startsWith(\"\\n\");\n\t\t\tfirstInLine = content.endsWith(\"\\n\");\n\t\t\treturn noJoiner ? content : \" \" + content;\n\t\t})\n\t\t.filter(Boolean)\n\t\t.join(\"\")\n\t\t.trim();\n};\n\nconst joinError =\n\terror =>\n\t(items, { red, yellow }) =>\n\t\t`${error ? red(\"ERROR\") : yellow(\"WARNING\")} in ${joinExplicitNewLine(\n\t\t\titems,\n\t\t\t\"\"\n\t\t)}`;\n\n/** @type {Record<string, (items: ({ element: string, content: string })[], context: StatsPrinterContext) => string>} */\nconst SIMPLE_ELEMENT_JOINERS = {\n\tcompilation: items => {\n\t\tconst result = [];\n\t\tlet lastNeedMore = false;\n\t\tfor (const item of items) {\n\t\t\tif (!item.content) continue;\n\t\t\tconst needMoreSpace =\n\t\t\t\titem.element === \"warnings\" ||\n\t\t\t\titem.element === \"filteredWarningDetailsCount\" ||\n\t\t\t\titem.element === \"errors\" ||\n\t\t\t\titem.element === \"filteredErrorDetailsCount\" ||\n\t\t\t\titem.element === \"logging\";\n\t\t\tif (result.length !== 0) {\n\t\t\t\tresult.push(needMoreSpace || lastNeedMore ? \"\\n\\n\" : \"\\n\");\n\t\t\t}\n\t\t\tresult.push(item.content);\n\t\t\tlastNeedMore = needMoreSpace;\n\t\t}\n\t\tif (lastNeedMore) result.push(\"\\n\");\n\t\treturn result.join(\"\");\n\t},\n\tasset: items =>\n\t\tjoinExplicitNewLine(\n\t\t\titems.map(item => {\n\t\t\t\tif (\n\t\t\t\t\t(item.element === \"related\" || item.element === \"children\") &&\n\t\t\t\t\titem.content\n\t\t\t\t) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\t...item,\n\t\t\t\t\t\tcontent: `\\n${item.content}\\n`\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\treturn item;\n\t\t\t}),\n\t\t\t\" \"\n\t\t),\n\t\"asset.info\": joinOneLine,\n\tmodule: (items, { module }) => {\n\t\tlet hasName = false;\n\t\treturn joinExplicitNewLine(\n\t\t\titems.map(item => {\n\t\t\t\tswitch (item.element) {\n\t\t\t\t\tcase \"id\":\n\t\t\t\t\t\tif (module.id === module.name) {\n\t\t\t\t\t\t\tif (hasName) return false;\n\t\t\t\t\t\t\tif (item.content) hasName = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"name\":\n\t\t\t\t\t\tif (hasName) return false;\n\t\t\t\t\t\tif (item.content) hasName = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"providedExports\":\n\t\t\t\t\tcase \"usedExports\":\n\t\t\t\t\tcase \"optimizationBailout\":\n\t\t\t\t\tcase \"reasons\":\n\t\t\t\t\tcase \"issuerPath\":\n\t\t\t\t\tcase \"profile\":\n\t\t\t\t\tcase \"children\":\n\t\t\t\t\tcase \"modules\":\n\t\t\t\t\t\tif (item.content) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t...item,\n\t\t\t\t\t\t\t\tcontent: `\\n${item.content}\\n`\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}\n\t\t\t\treturn item;\n\t\t\t}),\n\t\t\t\" \"\n\t\t);\n\t},\n\tchunk: items => {\n\t\tlet hasEntry = false;\n\t\treturn (\n\t\t\t\"chunk \" +\n\t\t\tjoinExplicitNewLine(\n\t\t\t\titems.filter(item => {\n\t\t\t\t\tswitch (item.element) {\n\t\t\t\t\t\tcase \"entry\":\n\t\t\t\t\t\t\tif (item.content) hasEntry = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"initial\":\n\t\t\t\t\t\t\tif (hasEntry) return false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}),\n\t\t\t\t\" \"\n\t\t\t)\n\t\t);\n\t},\n\t\"chunk.childrenByOrder[]\": items => `(${joinOneLine(items)})`,\n\tchunkGroup: items => joinExplicitNewLine(items, \" \"),\n\tchunkGroupAsset: joinOneLine,\n\tchunkGroupChildGroup: joinOneLine,\n\tchunkGroupChild: joinOneLine,\n\t// moduleReason: (items, { moduleReason }) => {\n\t// \tlet hasName = false;\n\t// \treturn joinOneLine(\n\t// \t\titems.filter(item => {\n\t// \t\t\tswitch (item.element) {\n\t// \t\t\t\tcase \"moduleId\":\n\t// \t\t\t\t\tif (moduleReason.moduleId === moduleReason.module && item.content)\n\t// \t\t\t\t\t\thasName = true;\n\t// \t\t\t\t\tbreak;\n\t// \t\t\t\tcase \"module\":\n\t// \t\t\t\t\tif (hasName) return false;\n\t// \t\t\t\t\tbreak;\n\t// \t\t\t\tcase \"resolvedModule\":\n\t// \t\t\t\t\treturn (\n\t// \t\t\t\t\t\tmoduleReason.module !== moduleReason.resolvedModule &&\n\t// \t\t\t\t\t\titem.content\n\t// \t\t\t\t\t);\n\t// \t\t\t}\n\t// \t\t\treturn true;\n\t// \t\t})\n\t// \t);\n\t// },\n\tmoduleReason: (items, { moduleReason }) => {\n\t\tlet hasName = false;\n\t\treturn joinExplicitNewLine(\n\t\t\titems.map(item => {\n\t\t\t\tswitch (item.element) {\n\t\t\t\t\tcase \"moduleId\":\n\t\t\t\t\t\tif (moduleReason.moduleId === moduleReason.module && item.content)\n\t\t\t\t\t\t\thasName = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"module\":\n\t\t\t\t\t\tif (hasName) return false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"resolvedModule\":\n\t\t\t\t\t\tif (moduleReason.module === moduleReason.resolvedModule)\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"children\":\n\t\t\t\t\t\tif (item.content) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t...item,\n\t\t\t\t\t\t\t\tcontent: `\\n${item.content}\\n`\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}\n\t\t\t\treturn item;\n\t\t\t}),\n\t\t\t\" \"\n\t\t);\n\t},\n\t\"module.profile\": joinInBrackets,\n\tmoduleIssuer: joinOneLine,\n\tchunkOrigin: items => \"> \" + joinOneLine(items),\n\t\"errors[].error\": joinError(true),\n\t\"warnings[].error\": joinError(false),\n\tloggingGroup: items => joinExplicitNewLine(items, \"\").trimEnd(),\n\tmoduleTraceItem: items => \" @ \" + joinOneLine(items),\n\tmoduleTraceDependency: joinOneLine\n};\n\nconst AVAILABLE_COLORS = {\n\tbold: \"\\u001b[1m\",\n\tyellow: \"\\u001b[1m\\u001b[33m\",\n\tred: \"\\u001b[1m\\u001b[31m\",\n\tgreen: \"\\u001b[1m\\u001b[32m\",\n\tcyan: \"\\u001b[1m\\u001b[36m\",\n\tmagenta: \"\\u001b[1m\\u001b[35m\"\n};\n\nconst AVAILABLE_FORMATS = {\n\tformatChunkId: (id, { yellow }, direction) => {\n\t\tswitch (direction) {\n\t\t\tcase \"parent\":\n\t\t\t\treturn `<{${yellow(id)}}>`;\n\t\t\tcase \"sibling\":\n\t\t\t\treturn `={${yellow(id)}}=`;\n\t\t\tcase \"child\":\n\t\t\t\treturn `>{${yellow(id)}}<`;\n\t\t\tdefault:\n\t\t\t\treturn `{${yellow(id)}}`;\n\t\t}\n\t},\n\tformatModuleId: id => `[${id}]`,\n\tformatFilename: (filename, { green, yellow }, oversize) =>\n\t\t(oversize ? yellow : green)(filename),\n\tformatFlag: flag => `[${flag}]`,\n\tformatLayer: layer => `(in ${layer})`,\n\tformatSize: (__webpack_require__(/*! ../SizeFormatHelpers */ \"./node_modules/webpack/lib/SizeFormatHelpers.js\").formatSize),\n\tformatDateTime: (dateTime, { bold }) => {\n\t\tconst d = new Date(dateTime);\n\t\tconst x = twoDigit;\n\t\tconst date = `${d.getFullYear()}-${x(d.getMonth() + 1)}-${x(d.getDate())}`;\n\t\tconst time = `${x(d.getHours())}:${x(d.getMinutes())}:${x(d.getSeconds())}`;\n\t\treturn `${date} ${bold(time)}`;\n\t},\n\tformatTime: (\n\t\ttime,\n\t\t{ timeReference, bold, green, yellow, red },\n\t\tboldQuantity\n\t) => {\n\t\tconst unit = \" ms\";\n\t\tif (timeReference && time !== timeReference) {\n\t\t\tconst times = [\n\t\t\t\ttimeReference / 2,\n\t\t\t\ttimeReference / 4,\n\t\t\t\ttimeReference / 8,\n\t\t\t\ttimeReference / 16\n\t\t\t];\n\t\t\tif (time < times[3]) return `${time}${unit}`;\n\t\t\telse if (time < times[2]) return bold(`${time}${unit}`);\n\t\t\telse if (time < times[1]) return green(`${time}${unit}`);\n\t\t\telse if (time < times[0]) return yellow(`${time}${unit}`);\n\t\t\telse return red(`${time}${unit}`);\n\t\t} else {\n\t\t\treturn `${boldQuantity ? bold(time) : time}${unit}`;\n\t\t}\n\t},\n\tformatError: (message, { green, yellow, red }) => {\n\t\tif (message.includes(\"\\u001b[\")) return message;\n\t\tconst highlights = [\n\t\t\t{ regExp: /(Did you mean .+)/g, format: green },\n\t\t\t{\n\t\t\t\tregExp: /(Set 'mode' option to 'development' or 'production')/g,\n\t\t\t\tformat: green\n\t\t\t},\n\t\t\t{ regExp: /(\\(module has no exports\\))/g, format: red },\n\t\t\t{ regExp: /\\(possible exports: (.+)\\)/g, format: green },\n\t\t\t{ regExp: /(?:^|\\n)(.* doesn't exist)/g, format: red },\n\t\t\t{ regExp: /('\\w+' option has not been set)/g, format: red },\n\t\t\t{\n\t\t\t\tregExp: /(Emitted value instead of an instance of Error)/g,\n\t\t\t\tformat: yellow\n\t\t\t},\n\t\t\t{ regExp: /(Used? .+ instead)/gi, format: yellow },\n\t\t\t{ regExp: /\\b(deprecated|must|required)\\b/g, format: yellow },\n\t\t\t{\n\t\t\t\tregExp: /\\b(BREAKING CHANGE)\\b/gi,\n\t\t\t\tformat: red\n\t\t\t},\n\t\t\t{\n\t\t\t\tregExp:\n\t\t\t\t\t/\\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\\b/gi,\n\t\t\t\tformat: red\n\t\t\t}\n\t\t];\n\t\tfor (const { regExp, format } of highlights) {\n\t\t\tmessage = message.replace(regExp, (match, content) => {\n\t\t\t\treturn match.replace(content, format(content));\n\t\t\t});\n\t\t}\n\t\treturn message;\n\t}\n};\n\nconst RESULT_MODIFIER = {\n\t\"module.modules\": result => {\n\t\treturn indent(result, \"| \");\n\t}\n};\n\nconst createOrder = (array, preferredOrder) => {\n\tconst originalArray = array.slice();\n\tconst set = new Set(array);\n\tconst usedSet = new Set();\n\tarray.length = 0;\n\tfor (const element of preferredOrder) {\n\t\tif (element.endsWith(\"!\") || set.has(element)) {\n\t\t\tarray.push(element);\n\t\t\tusedSet.add(element);\n\t\t}\n\t}\n\tfor (const element of originalArray) {\n\t\tif (!usedSet.has(element)) {\n\t\t\tarray.push(element);\n\t\t}\n\t}\n\treturn array;\n};\n\nclass DefaultStatsPrinterPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"DefaultStatsPrinterPlugin\", compilation => {\n\t\t\tcompilation.hooks.statsPrinter.tap(\n\t\t\t\t\"DefaultStatsPrinterPlugin\",\n\t\t\t\t(stats, options, context) => {\n\t\t\t\t\t// Put colors into context\n\t\t\t\t\tstats.hooks.print\n\t\t\t\t\t\t.for(\"compilation\")\n\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", (compilation, context) => {\n\t\t\t\t\t\t\tfor (const color of Object.keys(AVAILABLE_COLORS)) {\n\t\t\t\t\t\t\t\tlet start;\n\t\t\t\t\t\t\t\tif (options.colors) {\n\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\ttypeof options.colors === \"object\" &&\n\t\t\t\t\t\t\t\t\t\ttypeof options.colors[color] === \"string\"\n\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\tstart = options.colors[color];\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tstart = AVAILABLE_COLORS[color];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (start) {\n\t\t\t\t\t\t\t\t\tcontext[color] = str =>\n\t\t\t\t\t\t\t\t\t\t`${start}${\n\t\t\t\t\t\t\t\t\t\t\ttypeof str === \"string\"\n\t\t\t\t\t\t\t\t\t\t\t\t? str.replace(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/((\\u001b\\[39m|\\u001b\\[22m|\\u001b\\[0m)+)/g,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`$1${start}`\n\t\t\t\t\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t\t\t\t\t\t\t: str\n\t\t\t\t\t\t\t\t\t\t}\\u001b[39m\\u001b[22m`;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcontext[color] = str => str;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const format of Object.keys(AVAILABLE_FORMATS)) {\n\t\t\t\t\t\t\t\tcontext[format] = (content, ...args) =>\n\t\t\t\t\t\t\t\t\tAVAILABLE_FORMATS[format](content, context, ...args);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontext.timeReference = compilation.time;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tfor (const key of Object.keys(SIMPLE_PRINTERS)) {\n\t\t\t\t\t\tstats.hooks.print\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", (obj, ctx) =>\n\t\t\t\t\t\t\t\tSIMPLE_PRINTERS[key](obj, ctx, stats)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const key of Object.keys(PREFERRED_ORDERS)) {\n\t\t\t\t\t\tconst preferredOrder = PREFERRED_ORDERS[key];\n\t\t\t\t\t\tstats.hooks.sortElements\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", (elements, context) => {\n\t\t\t\t\t\t\t\tcreateOrder(elements, preferredOrder);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const key of Object.keys(ITEM_NAMES)) {\n\t\t\t\t\t\tconst itemName = ITEM_NAMES[key];\n\t\t\t\t\t\tstats.hooks.getItemName\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\n\t\t\t\t\t\t\t\t\"DefaultStatsPrinterPlugin\",\n\t\t\t\t\t\t\t\ttypeof itemName === \"string\" ? () => itemName : itemName\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const key of Object.keys(SIMPLE_ITEMS_JOINER)) {\n\t\t\t\t\t\tconst joiner = SIMPLE_ITEMS_JOINER[key];\n\t\t\t\t\t\tstats.hooks.printItems\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", joiner);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const key of Object.keys(SIMPLE_ELEMENT_JOINERS)) {\n\t\t\t\t\t\tconst joiner = SIMPLE_ELEMENT_JOINERS[key];\n\t\t\t\t\t\tstats.hooks.printElements\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", joiner);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const key of Object.keys(RESULT_MODIFIER)) {\n\t\t\t\t\t\tconst modifier = RESULT_MODIFIER[key];\n\t\t\t\t\t\tstats.hooks.result\n\t\t\t\t\t\t\t.for(key)\n\t\t\t\t\t\t\t.tap(\"DefaultStatsPrinterPlugin\", modifier);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\nmodule.exports = DefaultStatsPrinterPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/stats/StatsFactory.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/stats/StatsFactory.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { HookMap, SyncBailHook, SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst { concatComparators, keepOriginalOrder } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst smartGrouping = __webpack_require__(/*! ../util/smartGrouping */ \"./node_modules/webpack/lib/util/smartGrouping.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../WebpackError\")} WebpackError */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n/** @typedef {import(\"../util/smartGrouping\").GroupConfig<any, object>} GroupConfig */\n\n/**\n * @typedef {Object} KnownStatsFactoryContext\n * @property {string} type\n * @property {function(string): string=} makePathsRelative\n * @property {Compilation=} compilation\n * @property {Set<Module>=} rootModules\n * @property {Map<string,Chunk[]>=} compilationFileToChunks\n * @property {Map<string,Chunk[]>=} compilationAuxiliaryFileToChunks\n * @property {RuntimeSpec=} runtime\n * @property {function(Compilation): WebpackError[]=} cachedGetErrors\n * @property {function(Compilation): WebpackError[]=} cachedGetWarnings\n */\n\n/** @typedef {KnownStatsFactoryContext & Record<string, any>} StatsFactoryContext */\n\nclass StatsFactory {\n\tconstructor() {\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {HookMap<SyncBailHook<[Object, any, StatsFactoryContext]>>} */\n\t\t\textract: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"object\", \"data\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsFactoryContext, number, number]>>} */\n\t\t\tfilter: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"item\", \"context\", \"index\", \"unfilteredIndex\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[(function(any, any): number)[], StatsFactoryContext]>>} */\n\t\t\tsort: new HookMap(() => new SyncBailHook([\"comparators\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsFactoryContext, number, number]>>} */\n\t\t\tfilterSorted: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"item\", \"context\", \"index\", \"unfilteredIndex\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[GroupConfig[], StatsFactoryContext]>>} */\n\t\t\tgroupResults: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"groupConfigs\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[(function(any, any): number)[], StatsFactoryContext]>>} */\n\t\t\tsortResults: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"comparators\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsFactoryContext, number, number]>>} */\n\t\t\tfilterResults: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"item\", \"context\", \"index\", \"unfilteredIndex\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[any[], StatsFactoryContext]>>} */\n\t\t\tmerge: new HookMap(() => new SyncBailHook([\"items\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[any[], StatsFactoryContext]>>} */\n\t\t\tresult: new HookMap(() => new SyncWaterfallHook([\"result\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsFactoryContext]>>} */\n\t\t\tgetItemName: new HookMap(() => new SyncBailHook([\"item\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsFactoryContext]>>} */\n\t\t\tgetItemFactory: new HookMap(() => new SyncBailHook([\"item\", \"context\"]))\n\t\t});\n\t\tconst hooks = this.hooks;\n\t\tthis._caches =\n\t\t\t/** @type {Record<keyof typeof hooks, Map<string, SyncBailHook<[any[], StatsFactoryContext]>[]>>} */ ({});\n\t\tfor (const key of Object.keys(hooks)) {\n\t\t\tthis._caches[key] = new Map();\n\t\t}\n\t\tthis._inCreate = false;\n\t}\n\n\t_getAllLevelHooks(hookMap, cache, type) {\n\t\tconst cacheEntry = cache.get(type);\n\t\tif (cacheEntry !== undefined) {\n\t\t\treturn cacheEntry;\n\t\t}\n\t\tconst hooks = [];\n\t\tconst typeParts = type.split(\".\");\n\t\tfor (let i = 0; i < typeParts.length; i++) {\n\t\t\tconst hook = hookMap.get(typeParts.slice(i).join(\".\"));\n\t\t\tif (hook) {\n\t\t\t\thooks.push(hook);\n\t\t\t}\n\t\t}\n\t\tcache.set(type, hooks);\n\t\treturn hooks;\n\t}\n\n\t_forEachLevel(hookMap, cache, type, fn) {\n\t\tfor (const hook of this._getAllLevelHooks(hookMap, cache, type)) {\n\t\t\tconst result = fn(hook);\n\t\t\tif (result !== undefined) return result;\n\t\t}\n\t}\n\n\t_forEachLevelWaterfall(hookMap, cache, type, data, fn) {\n\t\tfor (const hook of this._getAllLevelHooks(hookMap, cache, type)) {\n\t\t\tdata = fn(hook, data);\n\t\t}\n\t\treturn data;\n\t}\n\n\t_forEachLevelFilter(hookMap, cache, type, items, fn, forceClone) {\n\t\tconst hooks = this._getAllLevelHooks(hookMap, cache, type);\n\t\tif (hooks.length === 0) return forceClone ? items.slice() : items;\n\t\tlet i = 0;\n\t\treturn items.filter((item, idx) => {\n\t\t\tfor (const hook of hooks) {\n\t\t\t\tconst r = fn(hook, item, idx, i);\n\t\t\t\tif (r !== undefined) {\n\t\t\t\t\tif (r) i++;\n\t\t\t\t\treturn r;\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\treturn true;\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} type type\n\t * @param {any} data factory data\n\t * @param {Omit<StatsFactoryContext, \"type\">} baseContext context used as base\n\t * @returns {any} created object\n\t */\n\tcreate(type, data, baseContext) {\n\t\tif (this._inCreate) {\n\t\t\treturn this._create(type, data, baseContext);\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tthis._inCreate = true;\n\t\t\t\treturn this._create(type, data, baseContext);\n\t\t\t} finally {\n\t\t\t\tfor (const key of Object.keys(this._caches)) this._caches[key].clear();\n\t\t\t\tthis._inCreate = false;\n\t\t\t}\n\t\t}\n\t}\n\n\t_create(type, data, baseContext) {\n\t\tconst context = {\n\t\t\t...baseContext,\n\t\t\ttype,\n\t\t\t[type]: data\n\t\t};\n\t\tif (Array.isArray(data)) {\n\t\t\t// run filter on unsorted items\n\t\t\tconst items = this._forEachLevelFilter(\n\t\t\t\tthis.hooks.filter,\n\t\t\t\tthis._caches.filter,\n\t\t\t\ttype,\n\t\t\t\tdata,\n\t\t\t\t(h, r, idx, i) => h.call(r, context, idx, i),\n\t\t\t\ttrue\n\t\t\t);\n\n\t\t\t// sort items\n\t\t\tconst comparators = [];\n\t\t\tthis._forEachLevel(this.hooks.sort, this._caches.sort, type, h =>\n\t\t\t\th.call(comparators, context)\n\t\t\t);\n\t\t\tif (comparators.length > 0) {\n\t\t\t\titems.sort(\n\t\t\t\t\t// @ts-expect-error number of arguments is correct\n\t\t\t\t\tconcatComparators(...comparators, keepOriginalOrder(items))\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// run filter on sorted items\n\t\t\tconst items2 = this._forEachLevelFilter(\n\t\t\t\tthis.hooks.filterSorted,\n\t\t\t\tthis._caches.filterSorted,\n\t\t\t\ttype,\n\t\t\t\titems,\n\t\t\t\t(h, r, idx, i) => h.call(r, context, idx, i),\n\t\t\t\tfalse\n\t\t\t);\n\n\t\t\t// for each item\n\t\t\tlet resultItems = items2.map((item, i) => {\n\t\t\t\tconst itemContext = {\n\t\t\t\t\t...context,\n\t\t\t\t\t_index: i\n\t\t\t\t};\n\n\t\t\t\t// run getItemName\n\t\t\t\tconst itemName = this._forEachLevel(\n\t\t\t\t\tthis.hooks.getItemName,\n\t\t\t\t\tthis._caches.getItemName,\n\t\t\t\t\t`${type}[]`,\n\t\t\t\t\th => h.call(item, itemContext)\n\t\t\t\t);\n\t\t\t\tif (itemName) itemContext[itemName] = item;\n\t\t\t\tconst innerType = itemName ? `${type}[].${itemName}` : `${type}[]`;\n\n\t\t\t\t// run getItemFactory\n\t\t\t\tconst itemFactory =\n\t\t\t\t\tthis._forEachLevel(\n\t\t\t\t\t\tthis.hooks.getItemFactory,\n\t\t\t\t\t\tthis._caches.getItemFactory,\n\t\t\t\t\t\tinnerType,\n\t\t\t\t\t\th => h.call(item, itemContext)\n\t\t\t\t\t) || this;\n\n\t\t\t\t// run item factory\n\t\t\t\treturn itemFactory.create(innerType, item, itemContext);\n\t\t\t});\n\n\t\t\t// sort result items\n\t\t\tconst comparators2 = [];\n\t\t\tthis._forEachLevel(\n\t\t\t\tthis.hooks.sortResults,\n\t\t\t\tthis._caches.sortResults,\n\t\t\t\ttype,\n\t\t\t\th => h.call(comparators2, context)\n\t\t\t);\n\t\t\tif (comparators2.length > 0) {\n\t\t\t\tresultItems.sort(\n\t\t\t\t\t// @ts-expect-error number of arguments is correct\n\t\t\t\t\tconcatComparators(...comparators2, keepOriginalOrder(resultItems))\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// group result items\n\t\t\tconst groupConfigs = [];\n\t\t\tthis._forEachLevel(\n\t\t\t\tthis.hooks.groupResults,\n\t\t\t\tthis._caches.groupResults,\n\t\t\t\ttype,\n\t\t\t\th => h.call(groupConfigs, context)\n\t\t\t);\n\t\t\tif (groupConfigs.length > 0) {\n\t\t\t\tresultItems = smartGrouping(resultItems, groupConfigs);\n\t\t\t}\n\n\t\t\t// run filter on sorted result items\n\t\t\tconst finalResultItems = this._forEachLevelFilter(\n\t\t\t\tthis.hooks.filterResults,\n\t\t\t\tthis._caches.filterResults,\n\t\t\t\ttype,\n\t\t\t\tresultItems,\n\t\t\t\t(h, r, idx, i) => h.call(r, context, idx, i),\n\t\t\t\tfalse\n\t\t\t);\n\n\t\t\t// run merge on mapped items\n\t\t\tlet result = this._forEachLevel(\n\t\t\t\tthis.hooks.merge,\n\t\t\t\tthis._caches.merge,\n\t\t\t\ttype,\n\t\t\t\th => h.call(finalResultItems, context)\n\t\t\t);\n\t\t\tif (result === undefined) result = finalResultItems;\n\n\t\t\t// run result on merged items\n\t\t\treturn this._forEachLevelWaterfall(\n\t\t\t\tthis.hooks.result,\n\t\t\t\tthis._caches.result,\n\t\t\t\ttype,\n\t\t\t\tresult,\n\t\t\t\t(h, r) => h.call(r, context)\n\t\t\t);\n\t\t} else {\n\t\t\tconst object = {};\n\n\t\t\t// run extract on value\n\t\t\tthis._forEachLevel(this.hooks.extract, this._caches.extract, type, h =>\n\t\t\t\th.call(object, data, context)\n\t\t\t);\n\n\t\t\t// run result on extracted object\n\t\t\treturn this._forEachLevelWaterfall(\n\t\t\t\tthis.hooks.result,\n\t\t\t\tthis._caches.result,\n\t\t\t\ttype,\n\t\t\t\tobject,\n\t\t\t\t(h, r) => h.call(r, context)\n\t\t\t);\n\t\t}\n\t}\n}\nmodule.exports = StatsFactory;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/stats/StatsFactory.js?"); /***/ }), /***/ "./node_modules/webpack/lib/stats/StatsPrinter.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/stats/StatsPrinter.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { HookMap, SyncWaterfallHook, SyncBailHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\n\n/** @template T @typedef {import(\"tapable\").AsArray<T>} AsArray<T> */\n/** @typedef {import(\"tapable\").Hook} Hook */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsAsset} StatsAsset */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsChunk} StatsChunk */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsChunkGroup} StatsChunkGroup */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsCompilation} StatsCompilation */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsModule} StatsModule */\n/** @typedef {import(\"./DefaultStatsFactoryPlugin\").StatsModuleReason} StatsModuleReason */\n\n/**\n * @typedef {Object} PrintedElement\n * @property {string} element\n * @property {string} content\n */\n\n/**\n * @typedef {Object} KnownStatsPrinterContext\n * @property {string=} type\n * @property {StatsCompilation=} compilation\n * @property {StatsChunkGroup=} chunkGroup\n * @property {StatsAsset=} asset\n * @property {StatsModule=} module\n * @property {StatsChunk=} chunk\n * @property {StatsModuleReason=} moduleReason\n * @property {(str: string) => string=} bold\n * @property {(str: string) => string=} yellow\n * @property {(str: string) => string=} red\n * @property {(str: string) => string=} green\n * @property {(str: string) => string=} magenta\n * @property {(str: string) => string=} cyan\n * @property {(file: string, oversize?: boolean) => string=} formatFilename\n * @property {(id: string) => string=} formatModuleId\n * @property {(id: string, direction?: \"parent\"|\"child\"|\"sibling\") => string=} formatChunkId\n * @property {(size: number) => string=} formatSize\n * @property {(dateTime: number) => string=} formatDateTime\n * @property {(flag: string) => string=} formatFlag\n * @property {(time: number, boldQuantity?: boolean) => string=} formatTime\n * @property {string=} chunkGroupKind\n */\n\n/** @typedef {KnownStatsPrinterContext & Record<string, any>} StatsPrinterContext */\n\nclass StatsPrinter {\n\tconstructor() {\n\t\tthis.hooks = Object.freeze({\n\t\t\t/** @type {HookMap<SyncBailHook<[string[], StatsPrinterContext], true>>} */\n\t\t\tsortElements: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"elements\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[PrintedElement[], StatsPrinterContext], string>>} */\n\t\t\tprintElements: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"printedElements\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[any[], StatsPrinterContext], true>>} */\n\t\t\tsortItems: new HookMap(() => new SyncBailHook([\"items\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[any, StatsPrinterContext], string>>} */\n\t\t\tgetItemName: new HookMap(() => new SyncBailHook([\"item\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncBailHook<[string[], StatsPrinterContext], string>>} */\n\t\t\tprintItems: new HookMap(\n\t\t\t\t() => new SyncBailHook([\"printedItems\", \"context\"])\n\t\t\t),\n\t\t\t/** @type {HookMap<SyncBailHook<[{}, StatsPrinterContext], string>>} */\n\t\t\tprint: new HookMap(() => new SyncBailHook([\"object\", \"context\"])),\n\t\t\t/** @type {HookMap<SyncWaterfallHook<[string, StatsPrinterContext]>>} */\n\t\t\tresult: new HookMap(() => new SyncWaterfallHook([\"result\", \"context\"]))\n\t\t});\n\t\t/** @type {Map<HookMap<Hook>, Map<string, Hook[]>>} */\n\t\tthis._levelHookCache = new Map();\n\t\tthis._inPrint = false;\n\t}\n\n\t/**\n\t * get all level hooks\n\t * @private\n\t * @template {Hook} T\n\t * @param {HookMap<T>} hookMap HookMap\n\t * @param {string} type type\n\t * @returns {T[]} hooks\n\t */\n\t_getAllLevelHooks(hookMap, type) {\n\t\tlet cache = /** @type {Map<string, T[]>} */ (\n\t\t\tthis._levelHookCache.get(hookMap)\n\t\t);\n\t\tif (cache === undefined) {\n\t\t\tcache = new Map();\n\t\t\tthis._levelHookCache.set(hookMap, cache);\n\t\t}\n\t\tconst cacheEntry = cache.get(type);\n\t\tif (cacheEntry !== undefined) {\n\t\t\treturn cacheEntry;\n\t\t}\n\t\t/** @type {T[]} */\n\t\tconst hooks = [];\n\t\tconst typeParts = type.split(\".\");\n\t\tfor (let i = 0; i < typeParts.length; i++) {\n\t\t\tconst hook = hookMap.get(typeParts.slice(i).join(\".\"));\n\t\t\tif (hook) {\n\t\t\t\thooks.push(hook);\n\t\t\t}\n\t\t}\n\t\tcache.set(type, hooks);\n\t\treturn hooks;\n\t}\n\n\t/**\n\t * Run `fn` for each level\n\t * @private\n\t * @template T\n\t * @template R\n\t * @param {HookMap<SyncBailHook<T, R>>} hookMap HookMap\n\t * @param {string} type type\n\t * @param {(hook: SyncBailHook<T, R>) => R} fn function\n\t * @returns {R} result of `fn`\n\t */\n\t_forEachLevel(hookMap, type, fn) {\n\t\tfor (const hook of this._getAllLevelHooks(hookMap, type)) {\n\t\t\tconst result = fn(hook);\n\t\t\tif (result !== undefined) return result;\n\t\t}\n\t}\n\n\t/**\n\t * Run `fn` for each level\n\t * @private\n\t * @template T\n\t * @param {HookMap<SyncWaterfallHook<T>>} hookMap HookMap\n\t * @param {string} type type\n\t * @param {AsArray<T>[0]} data data\n\t * @param {(hook: SyncWaterfallHook<T>, data: AsArray<T>[0]) => AsArray<T>[0]} fn function\n\t * @returns {AsArray<T>[0]} result of `fn`\n\t */\n\t_forEachLevelWaterfall(hookMap, type, data, fn) {\n\t\tfor (const hook of this._getAllLevelHooks(hookMap, type)) {\n\t\t\tdata = fn(hook, data);\n\t\t}\n\t\treturn data;\n\t}\n\n\t/**\n\t * @param {string} type The type\n\t * @param {Object} object Object to print\n\t * @param {Object=} baseContext The base context\n\t * @returns {string} printed result\n\t */\n\tprint(type, object, baseContext) {\n\t\tif (this._inPrint) {\n\t\t\treturn this._print(type, object, baseContext);\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tthis._inPrint = true;\n\t\t\t\treturn this._print(type, object, baseContext);\n\t\t\t} finally {\n\t\t\t\tthis._levelHookCache.clear();\n\t\t\t\tthis._inPrint = false;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @private\n\t * @param {string} type type\n\t * @param {Object} object object\n\t * @param {Object=} baseContext context\n\t * @returns {string} printed result\n\t */\n\t_print(type, object, baseContext) {\n\t\tconst context = {\n\t\t\t...baseContext,\n\t\t\ttype,\n\t\t\t[type]: object\n\t\t};\n\n\t\tlet printResult = this._forEachLevel(this.hooks.print, type, hook =>\n\t\t\thook.call(object, context)\n\t\t);\n\t\tif (printResult === undefined) {\n\t\t\tif (Array.isArray(object)) {\n\t\t\t\tconst sortedItems = object.slice();\n\t\t\t\tthis._forEachLevel(this.hooks.sortItems, type, h =>\n\t\t\t\t\th.call(sortedItems, context)\n\t\t\t\t);\n\t\t\t\tconst printedItems = sortedItems.map((item, i) => {\n\t\t\t\t\tconst itemContext = {\n\t\t\t\t\t\t...context,\n\t\t\t\t\t\t_index: i\n\t\t\t\t\t};\n\t\t\t\t\tconst itemName = this._forEachLevel(\n\t\t\t\t\t\tthis.hooks.getItemName,\n\t\t\t\t\t\t`${type}[]`,\n\t\t\t\t\t\th => h.call(item, itemContext)\n\t\t\t\t\t);\n\t\t\t\t\tif (itemName) itemContext[itemName] = item;\n\t\t\t\t\treturn this.print(\n\t\t\t\t\t\titemName ? `${type}[].${itemName}` : `${type}[]`,\n\t\t\t\t\t\titem,\n\t\t\t\t\t\titemContext\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t\tprintResult = this._forEachLevel(this.hooks.printItems, type, h =>\n\t\t\t\t\th.call(printedItems, context)\n\t\t\t\t);\n\t\t\t\tif (printResult === undefined) {\n\t\t\t\t\tconst result = printedItems.filter(Boolean);\n\t\t\t\t\tif (result.length > 0) printResult = result.join(\"\\n\");\n\t\t\t\t}\n\t\t\t} else if (object !== null && typeof object === \"object\") {\n\t\t\t\tconst elements = Object.keys(object).filter(\n\t\t\t\t\tkey => object[key] !== undefined\n\t\t\t\t);\n\t\t\t\tthis._forEachLevel(this.hooks.sortElements, type, h =>\n\t\t\t\t\th.call(elements, context)\n\t\t\t\t);\n\t\t\t\tconst printedElements = elements.map(element => {\n\t\t\t\t\tconst content = this.print(`${type}.${element}`, object[element], {\n\t\t\t\t\t\t...context,\n\t\t\t\t\t\t_parent: object,\n\t\t\t\t\t\t_element: element,\n\t\t\t\t\t\t[element]: object[element]\n\t\t\t\t\t});\n\t\t\t\t\treturn { element, content };\n\t\t\t\t});\n\t\t\t\tprintResult = this._forEachLevel(this.hooks.printElements, type, h =>\n\t\t\t\t\th.call(printedElements, context)\n\t\t\t\t);\n\t\t\t\tif (printResult === undefined) {\n\t\t\t\t\tconst result = printedElements.map(e => e.content).filter(Boolean);\n\t\t\t\t\tif (result.length > 0) printResult = result.join(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this._forEachLevelWaterfall(\n\t\t\tthis.hooks.result,\n\t\t\ttype,\n\t\t\tprintResult,\n\t\t\t(h, r) => h.call(r, context)\n\t\t);\n\t}\n}\nmodule.exports = StatsPrinter;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/stats/StatsPrinter.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/ArrayHelpers.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/util/ArrayHelpers.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * Compare two arrays or strings by performing strict equality check for each value.\n * @template T [T=any]\n * @param {ArrayLike<T>} a Array of values to be compared\n * @param {ArrayLike<T>} b Array of values to be compared\n * @returns {boolean} returns true if all the elements of passed arrays are strictly equal.\n */\n\nexports.equals = (a, b) => {\n\tif (a.length !== b.length) return false;\n\tfor (let i = 0; i < a.length; i++) {\n\t\tif (a[i] !== b[i]) return false;\n\t}\n\treturn true;\n};\n\n/**\n * Partition an array by calling a predicate function on each value.\n * @template T [T=any]\n * @param {Array<T>} arr Array of values to be partitioned\n * @param {(value: T) => boolean} fn Partition function which partitions based on truthiness of result.\n * @returns {[Array<T>, Array<T>]} returns the values of `arr` partitioned into two new arrays based on fn predicate.\n */\nexports.groupBy = (arr = [], fn) => {\n\treturn arr.reduce(\n\t\t/**\n\t\t * @param {[Array<T>, Array<T>]} groups An accumulator storing already partitioned values returned from previous call.\n\t\t * @param {T} value The value of the current element\n\t\t * @returns {[Array<T>, Array<T>]} returns an array of partitioned groups accumulator resulting from calling a predicate on the current value.\n\t\t */\n\t\t(groups, value) => {\n\t\t\tgroups[fn(value) ? 0 : 1].push(value);\n\t\t\treturn groups;\n\t\t},\n\t\t[[], []]\n\t);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/ArrayHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/ArrayQueue.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/ArrayQueue.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template T\n */\nclass ArrayQueue {\n\t/**\n\t * @param {Iterable<T>=} items The initial elements.\n\t */\n\tconstructor(items) {\n\t\t/** @private @type {T[]} */\n\t\tthis._list = items ? Array.from(items) : [];\n\t\t/** @private @type {T[]} */\n\t\tthis._listReversed = [];\n\t}\n\n\t/**\n\t * Returns the number of elements in this queue.\n\t * @returns {number} The number of elements in this queue.\n\t */\n\tget length() {\n\t\treturn this._list.length + this._listReversed.length;\n\t}\n\n\t/**\n\t * Empties the queue.\n\t */\n\tclear() {\n\t\tthis._list.length = 0;\n\t\tthis._listReversed.length = 0;\n\t}\n\n\t/**\n\t * Appends the specified element to this queue.\n\t * @param {T} item The element to add.\n\t * @returns {void}\n\t */\n\tenqueue(item) {\n\t\tthis._list.push(item);\n\t}\n\n\t/**\n\t * Retrieves and removes the head of this queue.\n\t * @returns {T | undefined} The head of the queue of `undefined` if this queue is empty.\n\t */\n\tdequeue() {\n\t\tif (this._listReversed.length === 0) {\n\t\t\tif (this._list.length === 0) return undefined;\n\t\t\tif (this._list.length === 1) return this._list.pop();\n\t\t\tif (this._list.length < 16) return this._list.shift();\n\t\t\tconst temp = this._listReversed;\n\t\t\tthis._listReversed = this._list;\n\t\t\tthis._listReversed.reverse();\n\t\t\tthis._list = temp;\n\t\t}\n\t\treturn this._listReversed.pop();\n\t}\n\n\t/**\n\t * Finds and removes an item\n\t * @param {T} item the item\n\t * @returns {void}\n\t */\n\tdelete(item) {\n\t\tconst i = this._list.indexOf(item);\n\t\tif (i >= 0) {\n\t\t\tthis._list.splice(i, 1);\n\t\t} else {\n\t\t\tconst i = this._listReversed.indexOf(item);\n\t\t\tif (i >= 0) this._listReversed.splice(i, 1);\n\t\t}\n\t}\n\n\t[Symbol.iterator]() {\n\t\tlet i = -1;\n\t\tlet reversed = false;\n\t\treturn {\n\t\t\tnext: () => {\n\t\t\t\tif (!reversed) {\n\t\t\t\t\ti++;\n\t\t\t\t\tif (i < this._list.length) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tdone: false,\n\t\t\t\t\t\t\tvalue: this._list[i]\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\treversed = true;\n\t\t\t\t\ti = this._listReversed.length;\n\t\t\t\t}\n\t\t\t\ti--;\n\t\t\t\tif (i < 0) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: true,\n\t\t\t\t\t\tvalue: undefined\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tdone: false,\n\t\t\t\t\tvalue: this._listReversed[i]\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n}\n\nmodule.exports = ArrayQueue;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/ArrayQueue.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/AsyncQueue.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/AsyncQueue.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncHook, AsyncSeriesHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst { makeWebpackError } = __webpack_require__(/*! ../HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\nconst ArrayQueue = __webpack_require__(/*! ./ArrayQueue */ \"./node_modules/webpack/lib/util/ArrayQueue.js\");\n\nconst QUEUED_STATE = 0;\nconst PROCESSING_STATE = 1;\nconst DONE_STATE = 2;\n\nlet inHandleResult = 0;\n\n/**\n * @template T\n * @callback Callback\n * @param {(WebpackError | null)=} err\n * @param {T=} result\n */\n\n/**\n * @template T\n * @template K\n * @template R\n */\nclass AsyncQueueEntry {\n\t/**\n\t * @param {T} item the item\n\t * @param {Callback<R>} callback the callback\n\t */\n\tconstructor(item, callback) {\n\t\tthis.item = item;\n\t\t/** @type {typeof QUEUED_STATE | typeof PROCESSING_STATE | typeof DONE_STATE} */\n\t\tthis.state = QUEUED_STATE;\n\t\tthis.callback = callback;\n\t\t/** @type {Callback<R>[] | undefined} */\n\t\tthis.callbacks = undefined;\n\t\tthis.result = undefined;\n\t\t/** @type {WebpackError | undefined} */\n\t\tthis.error = undefined;\n\t}\n}\n\n/**\n * @template T\n * @template K\n * @template R\n */\nclass AsyncQueue {\n\t/**\n\t * @param {Object} options options object\n\t * @param {string=} options.name name of the queue\n\t * @param {number=} options.parallelism how many items should be processed at once\n\t * @param {AsyncQueue<any, any, any>=} options.parent parent queue, which will have priority over this queue and with shared parallelism\n\t * @param {function(T): K=} options.getKey extract key from item\n\t * @param {function(T, Callback<R>): void} options.processor async function to process items\n\t */\n\tconstructor({ name, parallelism, parent, processor, getKey }) {\n\t\tthis._name = name;\n\t\tthis._parallelism = parallelism || 1;\n\t\tthis._processor = processor;\n\t\tthis._getKey =\n\t\t\tgetKey || /** @type {(T) => K} */ (item => /** @type {any} */ (item));\n\t\t/** @type {Map<K, AsyncQueueEntry<T, K, R>>} */\n\t\tthis._entries = new Map();\n\t\t/** @type {ArrayQueue<AsyncQueueEntry<T, K, R>>} */\n\t\tthis._queued = new ArrayQueue();\n\t\t/** @type {AsyncQueue<any, any, any>[]} */\n\t\tthis._children = undefined;\n\t\tthis._activeTasks = 0;\n\t\tthis._willEnsureProcessing = false;\n\t\tthis._needProcessing = false;\n\t\tthis._stopped = false;\n\t\tthis._root = parent ? parent._root : this;\n\t\tif (parent) {\n\t\t\tif (this._root._children === undefined) {\n\t\t\t\tthis._root._children = [this];\n\t\t\t} else {\n\t\t\t\tthis._root._children.push(this);\n\t\t\t}\n\t\t}\n\n\t\tthis.hooks = {\n\t\t\t/** @type {AsyncSeriesHook<[T]>} */\n\t\t\tbeforeAdd: new AsyncSeriesHook([\"item\"]),\n\t\t\t/** @type {SyncHook<[T]>} */\n\t\t\tadded: new SyncHook([\"item\"]),\n\t\t\t/** @type {AsyncSeriesHook<[T]>} */\n\t\t\tbeforeStart: new AsyncSeriesHook([\"item\"]),\n\t\t\t/** @type {SyncHook<[T]>} */\n\t\t\tstarted: new SyncHook([\"item\"]),\n\t\t\t/** @type {SyncHook<[T, Error, R]>} */\n\t\t\tresult: new SyncHook([\"item\", \"error\", \"result\"])\n\t\t};\n\n\t\tthis._ensureProcessing = this._ensureProcessing.bind(this);\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @param {Callback<R>} callback callback function\n\t * @returns {void}\n\t */\n\tadd(item, callback) {\n\t\tif (this._stopped) return callback(new WebpackError(\"Queue was stopped\"));\n\t\tthis.hooks.beforeAdd.callAsync(item, err => {\n\t\t\tif (err) {\n\t\t\t\tcallback(\n\t\t\t\t\tmakeWebpackError(err, `AsyncQueue(${this._name}).hooks.beforeAdd`)\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst key = this._getKey(item);\n\t\t\tconst entry = this._entries.get(key);\n\t\t\tif (entry !== undefined) {\n\t\t\t\tif (entry.state === DONE_STATE) {\n\t\t\t\t\tif (inHandleResult++ > 3) {\n\t\t\t\t\t\tprocess.nextTick(() => callback(entry.error, entry.result));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcallback(entry.error, entry.result);\n\t\t\t\t\t}\n\t\t\t\t\tinHandleResult--;\n\t\t\t\t} else if (entry.callbacks === undefined) {\n\t\t\t\t\tentry.callbacks = [callback];\n\t\t\t\t} else {\n\t\t\t\t\tentry.callbacks.push(callback);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst newEntry = new AsyncQueueEntry(item, callback);\n\t\t\tif (this._stopped) {\n\t\t\t\tthis.hooks.added.call(item);\n\t\t\t\tthis._root._activeTasks++;\n\t\t\t\tprocess.nextTick(() =>\n\t\t\t\t\tthis._handleResult(newEntry, new WebpackError(\"Queue was stopped\"))\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tthis._entries.set(key, newEntry);\n\t\t\t\tthis._queued.enqueue(newEntry);\n\t\t\t\tconst root = this._root;\n\t\t\t\troot._needProcessing = true;\n\t\t\t\tif (root._willEnsureProcessing === false) {\n\t\t\t\t\troot._willEnsureProcessing = true;\n\t\t\t\t\tsetImmediate(root._ensureProcessing);\n\t\t\t\t}\n\t\t\t\tthis.hooks.added.call(item);\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {void}\n\t */\n\tinvalidate(item) {\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._entries.get(key);\n\t\tthis._entries.delete(key);\n\t\tif (entry.state === QUEUED_STATE) {\n\t\t\tthis._queued.delete(entry);\n\t\t}\n\t}\n\n\t/**\n\t * Waits for an already started item\n\t * @param {T} item an item\n\t * @param {Callback<R>} callback callback function\n\t * @returns {void}\n\t */\n\twaitFor(item, callback) {\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._entries.get(key);\n\t\tif (entry === undefined) {\n\t\t\treturn callback(\n\t\t\t\tnew WebpackError(\n\t\t\t\t\t\"waitFor can only be called for an already started item\"\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t\tif (entry.state === DONE_STATE) {\n\t\t\tprocess.nextTick(() => callback(entry.error, entry.result));\n\t\t} else if (entry.callbacks === undefined) {\n\t\t\tentry.callbacks = [callback];\n\t\t} else {\n\t\t\tentry.callbacks.push(callback);\n\t\t}\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tstop() {\n\t\tthis._stopped = true;\n\t\tconst queue = this._queued;\n\t\tthis._queued = new ArrayQueue();\n\t\tconst root = this._root;\n\t\tfor (const entry of queue) {\n\t\t\tthis._entries.delete(this._getKey(entry.item));\n\t\t\troot._activeTasks++;\n\t\t\tthis._handleResult(entry, new WebpackError(\"Queue was stopped\"));\n\t\t}\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tincreaseParallelism() {\n\t\tconst root = this._root;\n\t\troot._parallelism++;\n\t\t/* istanbul ignore next */\n\t\tif (root._willEnsureProcessing === false && root._needProcessing) {\n\t\t\troot._willEnsureProcessing = true;\n\t\t\tsetImmediate(root._ensureProcessing);\n\t\t}\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tdecreaseParallelism() {\n\t\tconst root = this._root;\n\t\troot._parallelism--;\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {boolean} true, if the item is currently being processed\n\t */\n\tisProcessing(item) {\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._entries.get(key);\n\t\treturn entry !== undefined && entry.state === PROCESSING_STATE;\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {boolean} true, if the item is currently queued\n\t */\n\tisQueued(item) {\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._entries.get(key);\n\t\treturn entry !== undefined && entry.state === QUEUED_STATE;\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {boolean} true, if the item is currently queued\n\t */\n\tisDone(item) {\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._entries.get(key);\n\t\treturn entry !== undefined && entry.state === DONE_STATE;\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\t_ensureProcessing() {\n\t\twhile (this._activeTasks < this._parallelism) {\n\t\t\tconst entry = this._queued.dequeue();\n\t\t\tif (entry === undefined) break;\n\t\t\tthis._activeTasks++;\n\t\t\tentry.state = PROCESSING_STATE;\n\t\t\tthis._startProcessing(entry);\n\t\t}\n\t\tthis._willEnsureProcessing = false;\n\t\tif (this._queued.length > 0) return;\n\t\tif (this._children !== undefined) {\n\t\t\tfor (const child of this._children) {\n\t\t\t\twhile (this._activeTasks < this._parallelism) {\n\t\t\t\t\tconst entry = child._queued.dequeue();\n\t\t\t\t\tif (entry === undefined) break;\n\t\t\t\t\tthis._activeTasks++;\n\t\t\t\t\tentry.state = PROCESSING_STATE;\n\t\t\t\t\tchild._startProcessing(entry);\n\t\t\t\t}\n\t\t\t\tif (child._queued.length > 0) return;\n\t\t\t}\n\t\t}\n\t\tif (!this._willEnsureProcessing) this._needProcessing = false;\n\t}\n\n\t/**\n\t * @param {AsyncQueueEntry<T, K, R>} entry the entry\n\t * @returns {void}\n\t */\n\t_startProcessing(entry) {\n\t\tthis.hooks.beforeStart.callAsync(entry.item, err => {\n\t\t\tif (err) {\n\t\t\t\tthis._handleResult(\n\t\t\t\t\tentry,\n\t\t\t\t\tmakeWebpackError(err, `AsyncQueue(${this._name}).hooks.beforeStart`)\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet inCallback = false;\n\t\t\ttry {\n\t\t\t\tthis._processor(entry.item, (e, r) => {\n\t\t\t\t\tinCallback = true;\n\t\t\t\t\tthis._handleResult(entry, e, r);\n\t\t\t\t});\n\t\t\t} catch (err) {\n\t\t\t\tif (inCallback) throw err;\n\t\t\t\tthis._handleResult(entry, err, null);\n\t\t\t}\n\t\t\tthis.hooks.started.call(entry.item);\n\t\t});\n\t}\n\n\t/**\n\t * @param {AsyncQueueEntry<T, K, R>} entry the entry\n\t * @param {WebpackError=} err error, if any\n\t * @param {R=} result result, if any\n\t * @returns {void}\n\t */\n\t_handleResult(entry, err, result) {\n\t\tthis.hooks.result.callAsync(entry.item, err, result, hookError => {\n\t\t\tconst error = hookError\n\t\t\t\t? makeWebpackError(hookError, `AsyncQueue(${this._name}).hooks.result`)\n\t\t\t\t: err;\n\n\t\t\tconst callback = entry.callback;\n\t\t\tconst callbacks = entry.callbacks;\n\t\t\tentry.state = DONE_STATE;\n\t\t\tentry.callback = undefined;\n\t\t\tentry.callbacks = undefined;\n\t\t\tentry.result = result;\n\t\t\tentry.error = error;\n\n\t\t\tconst root = this._root;\n\t\t\troot._activeTasks--;\n\t\t\tif (root._willEnsureProcessing === false && root._needProcessing) {\n\t\t\t\troot._willEnsureProcessing = true;\n\t\t\t\tsetImmediate(root._ensureProcessing);\n\t\t\t}\n\n\t\t\tif (inHandleResult++ > 3) {\n\t\t\t\tprocess.nextTick(() => {\n\t\t\t\t\tcallback(error, result);\n\t\t\t\t\tif (callbacks !== undefined) {\n\t\t\t\t\t\tfor (const callback of callbacks) {\n\t\t\t\t\t\t\tcallback(error, result);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tcallback(error, result);\n\t\t\t\tif (callbacks !== undefined) {\n\t\t\t\t\tfor (const callback of callbacks) {\n\t\t\t\t\t\tcallback(error, result);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tinHandleResult--;\n\t\t});\n\t}\n\n\tclear() {\n\t\tthis._entries.clear();\n\t\tthis._queued.clear();\n\t\tthis._activeTasks = 0;\n\t\tthis._willEnsureProcessing = false;\n\t\tthis._needProcessing = false;\n\t\tthis._stopped = false;\n\t}\n}\n\nmodule.exports = AsyncQueue;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/AsyncQueue.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/Hash.js": /*!***********************************************!*\ !*** ./node_modules/webpack/lib/util/Hash.js ***! \***********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nclass Hash {\n\t/* istanbul ignore next */\n\t/**\n\t * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}\n\t * @abstract\n\t * @param {string|Buffer} data data\n\t * @param {string=} inputEncoding data encoding\n\t * @returns {this} updated hash\n\t */\n\tupdate(data, inputEncoding) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ../AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n\n\t/* istanbul ignore next */\n\t/**\n\t * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}\n\t * @abstract\n\t * @param {string=} encoding encoding of the return value\n\t * @returns {string|Buffer} digest\n\t */\n\tdigest(encoding) {\n\t\tconst AbstractMethodError = __webpack_require__(/*! ../AbstractMethodError */ \"./node_modules/webpack/lib/AbstractMethodError.js\");\n\t\tthrow new AbstractMethodError();\n\t}\n}\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/Hash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/IterableHelpers.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/util/IterableHelpers.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template T\n * @param {Iterable<T>} set a set\n * @returns {T | undefined} last item\n */\nconst last = set => {\n\tlet last;\n\tfor (const item of set) last = item;\n\treturn last;\n};\n\n/**\n * @template T\n * @param {Iterable<T>} iterable iterable\n * @param {function(T): boolean} filter predicate\n * @returns {boolean} true, if some items match the filter predicate\n */\nconst someInIterable = (iterable, filter) => {\n\tfor (const item of iterable) {\n\t\tif (filter(item)) return true;\n\t}\n\treturn false;\n};\n\n/**\n * @template T\n * @param {Iterable<T>} iterable an iterable\n * @returns {number} count of items\n */\nconst countIterable = iterable => {\n\tlet i = 0;\n\t// eslint-disable-next-line no-unused-vars\n\tfor (const _ of iterable) i++;\n\treturn i;\n};\n\nexports.last = last;\nexports.someInIterable = someInIterable;\nexports.countIterable = countIterable;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/IterableHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/LazyBucketSortedSet.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/util/LazyBucketSortedSet.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { first } = __webpack_require__(/*! ./SetHelpers */ \"./node_modules/webpack/lib/util/SetHelpers.js\");\nconst SortableSet = __webpack_require__(/*! ./SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\n\n/**\n * Multi layer bucket sorted set:\n * Supports adding non-existing items (DO NOT ADD ITEM TWICE),\n * Supports removing exiting items (DO NOT REMOVE ITEM NOT IN SET),\n * Supports popping the first items according to defined order,\n * Supports iterating all items without order,\n * Supports updating an item in an efficient way,\n * Supports size property, which is the number of items,\n * Items are lazy partially sorted when needed\n * @template T\n * @template K\n */\nclass LazyBucketSortedSet {\n\t/**\n\t * @param {function(T): K} getKey function to get key from item\n\t * @param {function(K, K): number} comparator comparator to sort keys\n\t * @param {...((function(T): any) | (function(any, any): number))} args more pairs of getKey and comparator plus optional final comparator for the last layer\n\t */\n\tconstructor(getKey, comparator, ...args) {\n\t\tthis._getKey = getKey;\n\t\tthis._innerArgs = args;\n\t\tthis._leaf = args.length <= 1;\n\t\tthis._keys = new SortableSet(undefined, comparator);\n\t\t/** @type {Map<K, LazyBucketSortedSet<T, any> | SortableSet<T>>} */\n\t\tthis._map = new Map();\n\t\tthis._unsortedItems = new Set();\n\t\tthis.size = 0;\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {void}\n\t */\n\tadd(item) {\n\t\tthis.size++;\n\t\tthis._unsortedItems.add(item);\n\t}\n\n\t/**\n\t * @param {K} key key of item\n\t * @param {T} item the item\n\t * @returns {void}\n\t */\n\t_addInternal(key, item) {\n\t\tlet entry = this._map.get(key);\n\t\tif (entry === undefined) {\n\t\t\tentry = this._leaf\n\t\t\t\t? new SortableSet(undefined, this._innerArgs[0])\n\t\t\t\t: new /** @type {any} */ (LazyBucketSortedSet)(...this._innerArgs);\n\t\t\tthis._keys.add(key);\n\t\t\tthis._map.set(key, entry);\n\t\t}\n\t\tentry.add(item);\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {void}\n\t */\n\tdelete(item) {\n\t\tthis.size--;\n\t\tif (this._unsortedItems.has(item)) {\n\t\t\tthis._unsortedItems.delete(item);\n\t\t\treturn;\n\t\t}\n\t\tconst key = this._getKey(item);\n\t\tconst entry = this._map.get(key);\n\t\tentry.delete(item);\n\t\tif (entry.size === 0) {\n\t\t\tthis._deleteKey(key);\n\t\t}\n\t}\n\n\t/**\n\t * @param {K} key key to be removed\n\t * @returns {void}\n\t */\n\t_deleteKey(key) {\n\t\tthis._keys.delete(key);\n\t\tthis._map.delete(key);\n\t}\n\n\t/**\n\t * @returns {T | undefined} an item\n\t */\n\tpopFirst() {\n\t\tif (this.size === 0) return undefined;\n\t\tthis.size--;\n\t\tif (this._unsortedItems.size > 0) {\n\t\t\tfor (const item of this._unsortedItems) {\n\t\t\t\tconst key = this._getKey(item);\n\t\t\t\tthis._addInternal(key, item);\n\t\t\t}\n\t\t\tthis._unsortedItems.clear();\n\t\t}\n\t\tthis._keys.sort();\n\t\tconst key = first(this._keys);\n\t\tconst entry = this._map.get(key);\n\t\tif (this._leaf) {\n\t\t\tconst leafEntry = /** @type {SortableSet<T>} */ (entry);\n\t\t\tleafEntry.sort();\n\t\t\tconst item = first(leafEntry);\n\t\t\tleafEntry.delete(item);\n\t\t\tif (leafEntry.size === 0) {\n\t\t\t\tthis._deleteKey(key);\n\t\t\t}\n\t\t\treturn item;\n\t\t} else {\n\t\t\tconst nodeEntry = /** @type {LazyBucketSortedSet<T, any>} */ (entry);\n\t\t\tconst item = nodeEntry.popFirst();\n\t\t\tif (nodeEntry.size === 0) {\n\t\t\t\tthis._deleteKey(key);\n\t\t\t}\n\t\t\treturn item;\n\t\t}\n\t}\n\n\t/**\n\t * @param {T} item to be updated item\n\t * @returns {function(true=): void} finish update\n\t */\n\tstartUpdate(item) {\n\t\tif (this._unsortedItems.has(item)) {\n\t\t\treturn remove => {\n\t\t\t\tif (remove) {\n\t\t\t\t\tthis._unsortedItems.delete(item);\n\t\t\t\t\tthis.size--;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tconst key = this._getKey(item);\n\t\tif (this._leaf) {\n\t\t\tconst oldEntry = /** @type {SortableSet<T>} */ (this._map.get(key));\n\t\t\treturn remove => {\n\t\t\t\tif (remove) {\n\t\t\t\t\tthis.size--;\n\t\t\t\t\toldEntry.delete(item);\n\t\t\t\t\tif (oldEntry.size === 0) {\n\t\t\t\t\t\tthis._deleteKey(key);\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst newKey = this._getKey(item);\n\t\t\t\tif (key === newKey) {\n\t\t\t\t\t// This flags the sortable set as unordered\n\t\t\t\t\toldEntry.add(item);\n\t\t\t\t} else {\n\t\t\t\t\toldEntry.delete(item);\n\t\t\t\t\tif (oldEntry.size === 0) {\n\t\t\t\t\t\tthis._deleteKey(key);\n\t\t\t\t\t}\n\t\t\t\t\tthis._addInternal(newKey, item);\n\t\t\t\t}\n\t\t\t};\n\t\t} else {\n\t\t\tconst oldEntry = /** @type {LazyBucketSortedSet<T, any>} */ (\n\t\t\t\tthis._map.get(key)\n\t\t\t);\n\t\t\tconst finishUpdate = oldEntry.startUpdate(item);\n\t\t\treturn remove => {\n\t\t\t\tif (remove) {\n\t\t\t\t\tthis.size--;\n\t\t\t\t\tfinishUpdate(true);\n\t\t\t\t\tif (oldEntry.size === 0) {\n\t\t\t\t\t\tthis._deleteKey(key);\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst newKey = this._getKey(item);\n\t\t\t\tif (key === newKey) {\n\t\t\t\t\tfinishUpdate();\n\t\t\t\t} else {\n\t\t\t\t\tfinishUpdate(true);\n\t\t\t\t\tif (oldEntry.size === 0) {\n\t\t\t\t\t\tthis._deleteKey(key);\n\t\t\t\t\t}\n\t\t\t\t\tthis._addInternal(newKey, item);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\t/**\n\t * @param {Iterator<T>[]} iterators list of iterators to append to\n\t * @returns {void}\n\t */\n\t_appendIterators(iterators) {\n\t\tif (this._unsortedItems.size > 0)\n\t\t\titerators.push(this._unsortedItems[Symbol.iterator]());\n\t\tfor (const key of this._keys) {\n\t\t\tconst entry = this._map.get(key);\n\t\t\tif (this._leaf) {\n\t\t\t\tconst leafEntry = /** @type {SortableSet<T>} */ (entry);\n\t\t\t\tconst iterator = leafEntry[Symbol.iterator]();\n\t\t\t\titerators.push(iterator);\n\t\t\t} else {\n\t\t\t\tconst nodeEntry = /** @type {LazyBucketSortedSet<T, any>} */ (entry);\n\t\t\t\tnodeEntry._appendIterators(iterators);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @returns {Iterator<T>} the iterator\n\t */\n\t[Symbol.iterator]() {\n\t\tconst iterators = [];\n\t\tthis._appendIterators(iterators);\n\t\titerators.reverse();\n\t\tlet currentIterator = iterators.pop();\n\t\treturn {\n\t\t\tnext: () => {\n\t\t\t\tconst res = currentIterator.next();\n\t\t\t\tif (res.done) {\n\t\t\t\t\tif (iterators.length === 0) return res;\n\t\t\t\t\tcurrentIterator = iterators.pop();\n\t\t\t\t\treturn currentIterator.next();\n\t\t\t\t}\n\t\t\t\treturn res;\n\t\t\t}\n\t\t};\n\t}\n}\n\nmodule.exports = LazyBucketSortedSet;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/LazyBucketSortedSet.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/LazySet.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/util/LazySet.js ***! \**************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst makeSerializable = __webpack_require__(/*! ./makeSerializable.js */ \"./node_modules/webpack/lib/util/makeSerializable.js\");\n\n/**\n * @template T\n * @param {Set<T>} targetSet set where items should be added\n * @param {Set<Iterable<T>>} toMerge iterables to be merged\n * @returns {void}\n */\nconst merge = (targetSet, toMerge) => {\n\tfor (const set of toMerge) {\n\t\tfor (const item of set) {\n\t\t\ttargetSet.add(item);\n\t\t}\n\t}\n};\n\n/**\n * @template T\n * @param {Set<Iterable<T>>} targetSet set where iterables should be added\n * @param {Array<LazySet<T>>} toDeepMerge lazy sets to be flattened\n * @returns {void}\n */\nconst flatten = (targetSet, toDeepMerge) => {\n\tfor (const set of toDeepMerge) {\n\t\tif (set._set.size > 0) targetSet.add(set._set);\n\t\tif (set._needMerge) {\n\t\t\tfor (const mergedSet of set._toMerge) {\n\t\t\t\ttargetSet.add(mergedSet);\n\t\t\t}\n\t\t\tflatten(targetSet, set._toDeepMerge);\n\t\t}\n\t}\n};\n\n/**\n * Like Set but with an addAll method to eventually add items from another iterable.\n * Access methods make sure that all delayed operations are executed.\n * Iteration methods deopts to normal Set performance until clear is called again (because of the chance of modifications during iteration).\n * @template T\n */\nclass LazySet {\n\t/**\n\t * @param {Iterable<T>=} iterable init iterable\n\t */\n\tconstructor(iterable) {\n\t\t/** @type {Set<T>} */\n\t\tthis._set = new Set(iterable);\n\t\t/** @type {Set<Iterable<T>>} */\n\t\tthis._toMerge = new Set();\n\t\t/** @type {Array<LazySet<T>>} */\n\t\tthis._toDeepMerge = [];\n\t\tthis._needMerge = false;\n\t\tthis._deopt = false;\n\t}\n\n\t_flatten() {\n\t\tflatten(this._toMerge, this._toDeepMerge);\n\t\tthis._toDeepMerge.length = 0;\n\t}\n\n\t_merge() {\n\t\tthis._flatten();\n\t\tmerge(this._set, this._toMerge);\n\t\tthis._toMerge.clear();\n\t\tthis._needMerge = false;\n\t}\n\n\t_isEmpty() {\n\t\treturn (\n\t\t\tthis._set.size === 0 &&\n\t\t\tthis._toMerge.size === 0 &&\n\t\t\tthis._toDeepMerge.length === 0\n\t\t);\n\t}\n\n\tget size() {\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.size;\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {this} itself\n\t */\n\tadd(item) {\n\t\tthis._set.add(item);\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param {Iterable<T> | LazySet<T>} iterable a immutable iterable or another immutable LazySet which will eventually be merged into the Set\n\t * @returns {this} itself\n\t */\n\taddAll(iterable) {\n\t\tif (this._deopt) {\n\t\t\tconst _set = this._set;\n\t\t\tfor (const item of iterable) {\n\t\t\t\t_set.add(item);\n\t\t\t}\n\t\t} else {\n\t\t\tif (iterable instanceof LazySet) {\n\t\t\t\tif (iterable._isEmpty()) return this;\n\t\t\t\tthis._toDeepMerge.push(iterable);\n\t\t\t\tthis._needMerge = true;\n\t\t\t\tif (this._toDeepMerge.length > 100000) {\n\t\t\t\t\tthis._flatten();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._toMerge.add(iterable);\n\t\t\t\tthis._needMerge = true;\n\t\t\t}\n\t\t\tif (this._toMerge.size > 100000) this._merge();\n\t\t}\n\t\treturn this;\n\t}\n\n\tclear() {\n\t\tthis._set.clear();\n\t\tthis._toMerge.clear();\n\t\tthis._toDeepMerge.length = 0;\n\t\tthis._needMerge = false;\n\t\tthis._deopt = false;\n\t}\n\n\t/**\n\t * @param {T} value an item\n\t * @returns {boolean} true, if the value was in the Set before\n\t */\n\tdelete(value) {\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.delete(value);\n\t}\n\n\tentries() {\n\t\tthis._deopt = true;\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.entries();\n\t}\n\n\t/**\n\t * @param {function(T, T, Set<T>): void} callbackFn function called for each entry\n\t * @param {any} thisArg this argument for the callbackFn\n\t * @returns {void}\n\t */\n\tforEach(callbackFn, thisArg) {\n\t\tthis._deopt = true;\n\t\tif (this._needMerge) this._merge();\n\t\tthis._set.forEach(callbackFn, thisArg);\n\t}\n\n\t/**\n\t * @param {T} item an item\n\t * @returns {boolean} true, when the item is in the Set\n\t */\n\thas(item) {\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.has(item);\n\t}\n\n\tkeys() {\n\t\tthis._deopt = true;\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.keys();\n\t}\n\n\tvalues() {\n\t\tthis._deopt = true;\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set.values();\n\t}\n\n\t[Symbol.iterator]() {\n\t\tthis._deopt = true;\n\t\tif (this._needMerge) this._merge();\n\t\treturn this._set[Symbol.iterator]();\n\t}\n\n\t/* istanbul ignore next */\n\tget [Symbol.toStringTag]() {\n\t\treturn \"LazySet\";\n\t}\n\n\tserialize({ write }) {\n\t\tif (this._needMerge) this._merge();\n\t\twrite(this._set.size);\n\t\tfor (const item of this._set) write(item);\n\t}\n\n\tstatic deserialize({ read }) {\n\t\tconst count = read();\n\t\tconst items = [];\n\t\tfor (let i = 0; i < count; i++) {\n\t\t\titems.push(read());\n\t\t}\n\t\treturn new LazySet(items);\n\t}\n}\n\nmakeSerializable(LazySet, \"webpack/lib/util/LazySet\");\n\nmodule.exports = LazySet;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/LazySet.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/MapHelpers.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/MapHelpers.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template K\n * @template V\n * @param {Map<K, V>} map a map\n * @param {K} key the key\n * @param {function(): V} computer compute value\n * @returns {V} value\n */\nexports.provide = (map, key, computer) => {\n\tconst value = map.get(key);\n\tif (value !== undefined) return value;\n\tconst newValue = computer();\n\tmap.set(key, newValue);\n\treturn newValue;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/MapHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/ParallelismFactorCalculator.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/lib/util/ParallelismFactorCalculator.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst binarySearchBounds = __webpack_require__(/*! ../util/binarySearchBounds */ \"./node_modules/webpack/lib/util/binarySearchBounds.js\");\n\nclass ParallelismFactorCalculator {\n\tconstructor() {\n\t\tthis._rangePoints = [];\n\t\tthis._rangeCallbacks = [];\n\t}\n\n\trange(start, end, callback) {\n\t\tif (start === end) return callback(1);\n\t\tthis._rangePoints.push(start);\n\t\tthis._rangePoints.push(end);\n\t\tthis._rangeCallbacks.push(callback);\n\t}\n\n\tcalculate() {\n\t\tconst segments = Array.from(new Set(this._rangePoints)).sort((a, b) =>\n\t\t\ta < b ? -1 : 1\n\t\t);\n\t\tconst parallelism = segments.map(() => 0);\n\t\tconst rangeStartIndices = [];\n\t\tfor (let i = 0; i < this._rangePoints.length; i += 2) {\n\t\t\tconst start = this._rangePoints[i];\n\t\t\tconst end = this._rangePoints[i + 1];\n\t\t\tlet idx = binarySearchBounds.eq(segments, start);\n\t\t\trangeStartIndices.push(idx);\n\t\t\tdo {\n\t\t\t\tparallelism[idx]++;\n\t\t\t\tidx++;\n\t\t\t} while (segments[idx] < end);\n\t\t}\n\t\tfor (let i = 0; i < this._rangeCallbacks.length; i++) {\n\t\t\tconst start = this._rangePoints[i * 2];\n\t\t\tconst end = this._rangePoints[i * 2 + 1];\n\t\t\tlet idx = rangeStartIndices[i];\n\t\t\tlet sum = 0;\n\t\t\tlet totalDuration = 0;\n\t\t\tlet current = start;\n\t\t\tdo {\n\t\t\t\tconst p = parallelism[idx];\n\t\t\t\tidx++;\n\t\t\t\tconst duration = segments[idx] - current;\n\t\t\t\ttotalDuration += duration;\n\t\t\t\tcurrent = segments[idx];\n\t\t\t\tsum += p * duration;\n\t\t\t} while (current < end);\n\t\t\tthis._rangeCallbacks[i](sum / totalDuration);\n\t\t}\n\t}\n}\n\nmodule.exports = ParallelismFactorCalculator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/ParallelismFactorCalculator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/Queue.js": /*!************************************************!*\ !*** ./node_modules/webpack/lib/util/Queue.js ***! \************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template T\n */\nclass Queue {\n\t/**\n\t * @param {Iterable<T>=} items The initial elements.\n\t */\n\tconstructor(items) {\n\t\t/** @private @type {Set<T>} */\n\t\tthis._set = new Set(items);\n\t\t/** @private @type {Iterator<T>} */\n\t\tthis._iterator = this._set[Symbol.iterator]();\n\t}\n\n\t/**\n\t * Returns the number of elements in this queue.\n\t * @returns {number} The number of elements in this queue.\n\t */\n\tget length() {\n\t\treturn this._set.size;\n\t}\n\n\t/**\n\t * Appends the specified element to this queue.\n\t * @param {T} item The element to add.\n\t * @returns {void}\n\t */\n\tenqueue(item) {\n\t\tthis._set.add(item);\n\t}\n\n\t/**\n\t * Retrieves and removes the head of this queue.\n\t * @returns {T | undefined} The head of the queue of `undefined` if this queue is empty.\n\t */\n\tdequeue() {\n\t\tconst result = this._iterator.next();\n\t\tif (result.done) return undefined;\n\t\tthis._set.delete(result.value);\n\t\treturn result.value;\n\t}\n}\n\nmodule.exports = Queue;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/Queue.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/SetHelpers.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/SetHelpers.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * intersect creates Set containing the intersection of elements between all sets\n * @template T\n * @param {Set<T>[]} sets an array of sets being checked for shared elements\n * @returns {Set<T>} returns a new Set containing the intersecting items\n */\nconst intersect = sets => {\n\tif (sets.length === 0) return new Set();\n\tif (sets.length === 1) return new Set(sets[0]);\n\tlet minSize = Infinity;\n\tlet minIndex = -1;\n\tfor (let i = 0; i < sets.length; i++) {\n\t\tconst size = sets[i].size;\n\t\tif (size < minSize) {\n\t\t\tminIndex = i;\n\t\t\tminSize = size;\n\t\t}\n\t}\n\tconst current = new Set(sets[minIndex]);\n\tfor (let i = 0; i < sets.length; i++) {\n\t\tif (i === minIndex) continue;\n\t\tconst set = sets[i];\n\t\tfor (const item of current) {\n\t\t\tif (!set.has(item)) {\n\t\t\t\tcurrent.delete(item);\n\t\t\t}\n\t\t}\n\t}\n\treturn current;\n};\n\n/**\n * Checks if a set is the subset of another set\n * @template T\n * @param {Set<T>} bigSet a Set which contains the original elements to compare against\n * @param {Set<T>} smallSet the set whose elements might be contained inside of bigSet\n * @returns {boolean} returns true if smallSet contains all elements inside of the bigSet\n */\nconst isSubset = (bigSet, smallSet) => {\n\tif (bigSet.size < smallSet.size) return false;\n\tfor (const item of smallSet) {\n\t\tif (!bigSet.has(item)) return false;\n\t}\n\treturn true;\n};\n\n/**\n * @template T\n * @param {Set<T>} set a set\n * @param {function(T): boolean} fn selector function\n * @returns {T | undefined} found item\n */\nconst find = (set, fn) => {\n\tfor (const item of set) {\n\t\tif (fn(item)) return item;\n\t}\n};\n\n/**\n * @template T\n * @param {Set<T>} set a set\n * @returns {T | undefined} first item\n */\nconst first = set => {\n\tconst entry = set.values().next();\n\treturn entry.done ? undefined : entry.value;\n};\n\n/**\n * @template T\n * @param {Set<T>} a first\n * @param {Set<T>} b second\n * @returns {Set<T>} combined set, may be identical to a or b\n */\nconst combine = (a, b) => {\n\tif (b.size === 0) return a;\n\tif (a.size === 0) return b;\n\tconst set = new Set(a);\n\tfor (const item of b) set.add(item);\n\treturn set;\n};\n\nexports.intersect = intersect;\nexports.isSubset = isSubset;\nexports.find = find;\nexports.first = first;\nexports.combine = combine;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/SetHelpers.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/SortableSet.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/util/SortableSet.js ***! \******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NONE = Symbol(\"not sorted\");\n\n/**\n * A subset of Set that offers sorting functionality\n * @template T item type in set\n * @extends {Set<T>}\n */\nclass SortableSet extends Set {\n\t/**\n\t * Create a new sortable set\n\t * @param {Iterable<T>=} initialIterable The initial iterable value\n\t * @typedef {function(T, T): number} SortFunction\n\t * @param {SortFunction=} defaultSort Default sorting function\n\t */\n\tconstructor(initialIterable, defaultSort) {\n\t\tsuper(initialIterable);\n\t\t/** @private @type {undefined | function(T, T): number}} */\n\t\tthis._sortFn = defaultSort;\n\t\t/** @private @type {typeof NONE | undefined | function(T, T): number}} */\n\t\tthis._lastActiveSortFn = NONE;\n\t\t/** @private @type {Map<Function, any> | undefined} */\n\t\tthis._cache = undefined;\n\t\t/** @private @type {Map<Function, any> | undefined} */\n\t\tthis._cacheOrderIndependent = undefined;\n\t}\n\n\t/**\n\t * @param {T} value value to add to set\n\t * @returns {this} returns itself\n\t */\n\tadd(value) {\n\t\tthis._lastActiveSortFn = NONE;\n\t\tthis._invalidateCache();\n\t\tthis._invalidateOrderedCache();\n\t\tsuper.add(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param {T} value value to delete\n\t * @returns {boolean} true if value existed in set, false otherwise\n\t */\n\tdelete(value) {\n\t\tthis._invalidateCache();\n\t\tthis._invalidateOrderedCache();\n\t\treturn super.delete(value);\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tclear() {\n\t\tthis._invalidateCache();\n\t\tthis._invalidateOrderedCache();\n\t\treturn super.clear();\n\t}\n\n\t/**\n\t * Sort with a comparer function\n\t * @param {SortFunction} sortFn Sorting comparer function\n\t * @returns {void}\n\t */\n\tsortWith(sortFn) {\n\t\tif (this.size <= 1 || sortFn === this._lastActiveSortFn) {\n\t\t\t// already sorted - nothing to do\n\t\t\treturn;\n\t\t}\n\n\t\tconst sortedArray = Array.from(this).sort(sortFn);\n\t\tsuper.clear();\n\t\tfor (let i = 0; i < sortedArray.length; i += 1) {\n\t\t\tsuper.add(sortedArray[i]);\n\t\t}\n\t\tthis._lastActiveSortFn = sortFn;\n\t\tthis._invalidateCache();\n\t}\n\n\tsort() {\n\t\tthis.sortWith(this._sortFn);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Get data from cache\n\t * @template R\n\t * @param {function(SortableSet<T>): R} fn function to calculate value\n\t * @returns {R} returns result of fn(this), cached until set changes\n\t */\n\tgetFromCache(fn) {\n\t\tif (this._cache === undefined) {\n\t\t\tthis._cache = new Map();\n\t\t} else {\n\t\t\tconst result = this._cache.get(fn);\n\t\t\tconst data = /** @type {R} */ (result);\n\t\t\tif (data !== undefined) {\n\t\t\t\treturn data;\n\t\t\t}\n\t\t}\n\t\tconst newData = fn(this);\n\t\tthis._cache.set(fn, newData);\n\t\treturn newData;\n\t}\n\n\t/**\n\t * Get data from cache (ignoring sorting)\n\t * @template R\n\t * @param {function(SortableSet<T>): R} fn function to calculate value\n\t * @returns {R} returns result of fn(this), cached until set changes\n\t */\n\tgetFromUnorderedCache(fn) {\n\t\tif (this._cacheOrderIndependent === undefined) {\n\t\t\tthis._cacheOrderIndependent = new Map();\n\t\t} else {\n\t\t\tconst result = this._cacheOrderIndependent.get(fn);\n\t\t\tconst data = /** @type {R} */ (result);\n\t\t\tif (data !== undefined) {\n\t\t\t\treturn data;\n\t\t\t}\n\t\t}\n\t\tconst newData = fn(this);\n\t\tthis._cacheOrderIndependent.set(fn, newData);\n\t\treturn newData;\n\t}\n\n\t/**\n\t * @private\n\t * @returns {void}\n\t */\n\t_invalidateCache() {\n\t\tif (this._cache !== undefined) {\n\t\t\tthis._cache.clear();\n\t\t}\n\t}\n\n\t/**\n\t * @private\n\t * @returns {void}\n\t */\n\t_invalidateOrderedCache() {\n\t\tif (this._cacheOrderIndependent !== undefined) {\n\t\t\tthis._cacheOrderIndependent.clear();\n\t\t}\n\t}\n\n\t/**\n\t * @returns {T[]} the raw array\n\t */\n\ttoJSON() {\n\t\treturn Array.from(this);\n\t}\n}\n\nmodule.exports = SortableSet;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/SortableSet.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/StackedCacheMap.js": /*!**********************************************************!*\ !*** ./node_modules/webpack/lib/util/StackedCacheMap.js ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template K\n * @template V\n */\nclass StackedCacheMap {\n\tconstructor() {\n\t\t/** @type {Map<K, V>} */\n\t\tthis.map = new Map();\n\t\t/** @type {ReadonlyMap<K, V>[]} */\n\t\tthis.stack = [];\n\t}\n\n\t/**\n\t * @param {ReadonlyMap<K, V>} map map to add\n\t * @param {boolean} immutable if 'map' is immutable and StackedCacheMap can keep referencing it\n\t */\n\taddAll(map, immutable) {\n\t\tif (immutable) {\n\t\t\tthis.stack.push(map);\n\n\t\t\t// largest map should go first\n\t\t\tfor (let i = this.stack.length - 1; i > 0; i--) {\n\t\t\t\tconst beforeLast = this.stack[i - 1];\n\t\t\t\tif (beforeLast.size >= map.size) break;\n\t\t\t\tthis.stack[i] = beforeLast;\n\t\t\t\tthis.stack[i - 1] = map;\n\t\t\t}\n\t\t} else {\n\t\t\tfor (const [key, value] of map) {\n\t\t\t\tthis.map.set(key, value);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {K} item the key of the element to add\n\t * @param {V} value the value of the element to add\n\t * @returns {void}\n\t */\n\tset(item, value) {\n\t\tthis.map.set(item, value);\n\t}\n\n\t/**\n\t * @param {K} item the item to delete\n\t * @returns {void}\n\t */\n\tdelete(item) {\n\t\tthrow new Error(\"Items can't be deleted from a StackedCacheMap\");\n\t}\n\n\t/**\n\t * @param {K} item the item to test\n\t * @returns {boolean} true if the item exists in this set\n\t */\n\thas(item) {\n\t\tthrow new Error(\n\t\t\t\"Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined\"\n\t\t);\n\t}\n\n\t/**\n\t * @param {K} item the key of the element to return\n\t * @returns {V} the value of the element\n\t */\n\tget(item) {\n\t\tfor (const map of this.stack) {\n\t\t\tconst value = map.get(item);\n\t\t\tif (value !== undefined) return value;\n\t\t}\n\t\treturn this.map.get(item);\n\t}\n\n\tclear() {\n\t\tthis.stack.length = 0;\n\t\tthis.map.clear();\n\t}\n\n\tget size() {\n\t\tlet size = this.map.size;\n\t\tfor (const map of this.stack) {\n\t\t\tsize += map.size;\n\t\t}\n\t\treturn size;\n\t}\n\n\t[Symbol.iterator]() {\n\t\tconst iterators = this.stack.map(map => map[Symbol.iterator]());\n\t\tlet current = this.map[Symbol.iterator]();\n\t\treturn {\n\t\t\tnext() {\n\t\t\t\tlet result = current.next();\n\t\t\t\twhile (result.done && iterators.length > 0) {\n\t\t\t\t\tcurrent = iterators.pop();\n\t\t\t\t\tresult = current.next();\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t};\n\t}\n}\n\nmodule.exports = StackedCacheMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/StackedCacheMap.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/StackedMap.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/StackedMap.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst TOMBSTONE = Symbol(\"tombstone\");\nconst UNDEFINED_MARKER = Symbol(\"undefined\");\n\n/**\n * @template T\n * @typedef {T | undefined} Cell<T>\n */\n\n/**\n * @template T\n * @typedef {T | typeof TOMBSTONE | typeof UNDEFINED_MARKER} InternalCell<T>\n */\n\n/**\n * @template K\n * @template V\n * @param {[K, InternalCell<V>]} pair the internal cell\n * @returns {[K, Cell<V>]} its “safe” representation\n */\nconst extractPair = pair => {\n\tconst key = pair[0];\n\tconst val = pair[1];\n\tif (val === UNDEFINED_MARKER || val === TOMBSTONE) {\n\t\treturn [key, undefined];\n\t} else {\n\t\treturn /** @type {[K, Cell<V>]} */ (pair);\n\t}\n};\n\n/**\n * @template K\n * @template V\n */\nclass StackedMap {\n\t/**\n\t * @param {Map<K, InternalCell<V>>[]=} parentStack an optional parent\n\t */\n\tconstructor(parentStack) {\n\t\t/** @type {Map<K, InternalCell<V>>} */\n\t\tthis.map = new Map();\n\t\t/** @type {Map<K, InternalCell<V>>[]} */\n\t\tthis.stack = parentStack === undefined ? [] : parentStack.slice();\n\t\tthis.stack.push(this.map);\n\t}\n\n\t/**\n\t * @param {K} item the key of the element to add\n\t * @param {V} value the value of the element to add\n\t * @returns {void}\n\t */\n\tset(item, value) {\n\t\tthis.map.set(item, value === undefined ? UNDEFINED_MARKER : value);\n\t}\n\n\t/**\n\t * @param {K} item the item to delete\n\t * @returns {void}\n\t */\n\tdelete(item) {\n\t\tif (this.stack.length > 1) {\n\t\t\tthis.map.set(item, TOMBSTONE);\n\t\t} else {\n\t\t\tthis.map.delete(item);\n\t\t}\n\t}\n\n\t/**\n\t * @param {K} item the item to test\n\t * @returns {boolean} true if the item exists in this set\n\t */\n\thas(item) {\n\t\tconst topValue = this.map.get(item);\n\t\tif (topValue !== undefined) {\n\t\t\treturn topValue !== TOMBSTONE;\n\t\t}\n\t\tif (this.stack.length > 1) {\n\t\t\tfor (let i = this.stack.length - 2; i >= 0; i--) {\n\t\t\t\tconst value = this.stack[i].get(item);\n\t\t\t\tif (value !== undefined) {\n\t\t\t\t\tthis.map.set(item, value);\n\t\t\t\t\treturn value !== TOMBSTONE;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.map.set(item, TOMBSTONE);\n\t\t}\n\t\treturn false;\n\t}\n\n\t/**\n\t * @param {K} item the key of the element to return\n\t * @returns {Cell<V>} the value of the element\n\t */\n\tget(item) {\n\t\tconst topValue = this.map.get(item);\n\t\tif (topValue !== undefined) {\n\t\t\treturn topValue === TOMBSTONE || topValue === UNDEFINED_MARKER\n\t\t\t\t? undefined\n\t\t\t\t: topValue;\n\t\t}\n\t\tif (this.stack.length > 1) {\n\t\t\tfor (let i = this.stack.length - 2; i >= 0; i--) {\n\t\t\t\tconst value = this.stack[i].get(item);\n\t\t\t\tif (value !== undefined) {\n\t\t\t\t\tthis.map.set(item, value);\n\t\t\t\t\treturn value === TOMBSTONE || value === UNDEFINED_MARKER\n\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t: value;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.map.set(item, TOMBSTONE);\n\t\t}\n\t\treturn undefined;\n\t}\n\n\t_compress() {\n\t\tif (this.stack.length === 1) return;\n\t\tthis.map = new Map();\n\t\tfor (const data of this.stack) {\n\t\t\tfor (const pair of data) {\n\t\t\t\tif (pair[1] === TOMBSTONE) {\n\t\t\t\t\tthis.map.delete(pair[0]);\n\t\t\t\t} else {\n\t\t\t\t\tthis.map.set(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tthis.stack = [this.map];\n\t}\n\n\tasArray() {\n\t\tthis._compress();\n\t\treturn Array.from(this.map.keys());\n\t}\n\n\tasSet() {\n\t\tthis._compress();\n\t\treturn new Set(this.map.keys());\n\t}\n\n\tasPairArray() {\n\t\tthis._compress();\n\t\treturn Array.from(this.map.entries(), extractPair);\n\t}\n\n\tasMap() {\n\t\treturn new Map(this.asPairArray());\n\t}\n\n\tget size() {\n\t\tthis._compress();\n\t\treturn this.map.size;\n\t}\n\n\tcreateChild() {\n\t\treturn new StackedMap(this.stack);\n\t}\n}\n\nmodule.exports = StackedMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/StackedMap.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/StringXor.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/util/StringXor.js ***! \****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nclass StringXor {\n\tconstructor() {\n\t\tthis._value = undefined;\n\t}\n\n\t/**\n\t * @param {string} str string\n\t * @returns {void}\n\t */\n\tadd(str) {\n\t\tconst len = str.length;\n\t\tconst value = this._value;\n\t\tif (value === undefined) {\n\t\t\tconst newValue = (this._value = Buffer.allocUnsafe(len));\n\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\tnewValue[i] = str.charCodeAt(i);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tconst valueLen = value.length;\n\t\tif (valueLen < len) {\n\t\t\tconst newValue = (this._value = Buffer.allocUnsafe(len));\n\t\t\tlet i;\n\t\t\tfor (i = 0; i < valueLen; i++) {\n\t\t\t\tnewValue[i] = value[i] ^ str.charCodeAt(i);\n\t\t\t}\n\t\t\tfor (; i < len; i++) {\n\t\t\t\tnewValue[i] = str.charCodeAt(i);\n\t\t\t}\n\t\t} else {\n\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\tvalue[i] = value[i] ^ str.charCodeAt(i);\n\t\t\t}\n\t\t}\n\t}\n\n\ttoString() {\n\t\tconst value = this._value;\n\t\treturn value === undefined ? \"\" : value.toString(\"latin1\");\n\t}\n\n\tupdateHash(hash) {\n\t\tconst value = this._value;\n\t\tif (value !== undefined) hash.update(value);\n\t}\n}\n\nmodule.exports = StringXor;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/StringXor.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/TupleQueue.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/TupleQueue.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst TupleSet = __webpack_require__(/*! ./TupleSet */ \"./node_modules/webpack/lib/util/TupleSet.js\");\n\n/**\n * @template {any[]} T\n */\nclass TupleQueue {\n\t/**\n\t * @param {Iterable<T>=} items The initial elements.\n\t */\n\tconstructor(items) {\n\t\t/** @private @type {TupleSet<T>} */\n\t\tthis._set = new TupleSet(items);\n\t\t/** @private @type {Iterator<T>} */\n\t\tthis._iterator = this._set[Symbol.iterator]();\n\t}\n\n\t/**\n\t * Returns the number of elements in this queue.\n\t * @returns {number} The number of elements in this queue.\n\t */\n\tget length() {\n\t\treturn this._set.size;\n\t}\n\n\t/**\n\t * Appends the specified element to this queue.\n\t * @param {T} item The element to add.\n\t * @returns {void}\n\t */\n\tenqueue(...item) {\n\t\tthis._set.add(...item);\n\t}\n\n\t/**\n\t * Retrieves and removes the head of this queue.\n\t * @returns {T | undefined} The head of the queue of `undefined` if this queue is empty.\n\t */\n\tdequeue() {\n\t\tconst result = this._iterator.next();\n\t\tif (result.done) {\n\t\t\tif (this._set.size > 0) {\n\t\t\t\tthis._iterator = this._set[Symbol.iterator]();\n\t\t\t\tconst value = this._iterator.next().value;\n\t\t\t\tthis._set.delete(...value);\n\t\t\t\treturn value;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t}\n\t\tthis._set.delete(...result.value);\n\t\treturn result.value;\n\t}\n}\n\nmodule.exports = TupleQueue;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/TupleQueue.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/TupleSet.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/util/TupleSet.js ***! \***************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template {any[]} T\n */\nclass TupleSet {\n\tconstructor(init) {\n\t\tthis._map = new Map();\n\t\tthis.size = 0;\n\t\tif (init) {\n\t\t\tfor (const tuple of init) {\n\t\t\t\tthis.add(...tuple);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {void}\n\t */\n\tadd(...args) {\n\t\tlet map = this._map;\n\t\tfor (let i = 0; i < args.length - 2; i++) {\n\t\t\tconst arg = args[i];\n\t\t\tconst innerMap = map.get(arg);\n\t\t\tif (innerMap === undefined) {\n\t\t\t\tmap.set(arg, (map = new Map()));\n\t\t\t} else {\n\t\t\t\tmap = innerMap;\n\t\t\t}\n\t\t}\n\n\t\tconst beforeLast = args[args.length - 2];\n\t\tlet set = map.get(beforeLast);\n\t\tif (set === undefined) {\n\t\t\tmap.set(beforeLast, (set = new Set()));\n\t\t}\n\n\t\tconst last = args[args.length - 1];\n\t\tthis.size -= set.size;\n\t\tset.add(last);\n\t\tthis.size += set.size;\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {boolean} true, if the tuple is in the Set\n\t */\n\thas(...args) {\n\t\tlet map = this._map;\n\t\tfor (let i = 0; i < args.length - 2; i++) {\n\t\t\tconst arg = args[i];\n\t\t\tmap = map.get(arg);\n\t\t\tif (map === undefined) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tconst beforeLast = args[args.length - 2];\n\t\tlet set = map.get(beforeLast);\n\t\tif (set === undefined) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst last = args[args.length - 1];\n\t\treturn set.has(last);\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {void}\n\t */\n\tdelete(...args) {\n\t\tlet map = this._map;\n\t\tfor (let i = 0; i < args.length - 2; i++) {\n\t\t\tconst arg = args[i];\n\t\t\tmap = map.get(arg);\n\t\t\tif (map === undefined) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tconst beforeLast = args[args.length - 2];\n\t\tlet set = map.get(beforeLast);\n\t\tif (set === undefined) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst last = args[args.length - 1];\n\t\tthis.size -= set.size;\n\t\tset.delete(last);\n\t\tthis.size += set.size;\n\t}\n\n\t/**\n\t * @returns {Iterator<T>} iterator\n\t */\n\t[Symbol.iterator]() {\n\t\tconst iteratorStack = [];\n\t\tconst tuple = [];\n\t\tlet currentSetIterator = undefined;\n\n\t\tconst next = it => {\n\t\t\tconst result = it.next();\n\t\t\tif (result.done) {\n\t\t\t\tif (iteratorStack.length === 0) return false;\n\t\t\t\ttuple.pop();\n\t\t\t\treturn next(iteratorStack.pop());\n\t\t\t}\n\t\t\tconst [key, value] = result.value;\n\t\t\titeratorStack.push(it);\n\t\t\ttuple.push(key);\n\t\t\tif (value instanceof Set) {\n\t\t\t\tcurrentSetIterator = value[Symbol.iterator]();\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn next(value[Symbol.iterator]());\n\t\t\t}\n\t\t};\n\n\t\tnext(this._map[Symbol.iterator]());\n\n\t\treturn {\n\t\t\tnext() {\n\t\t\t\twhile (currentSetIterator) {\n\t\t\t\t\tconst result = currentSetIterator.next();\n\t\t\t\t\tif (result.done) {\n\t\t\t\t\t\ttuple.pop();\n\t\t\t\t\t\tif (!next(iteratorStack.pop())) {\n\t\t\t\t\t\t\tcurrentSetIterator = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tdone: false,\n\t\t\t\t\t\t\tvalue: /** @type {T} */ (tuple.concat(result.value))\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn { done: true, value: undefined };\n\t\t\t}\n\t\t};\n\t}\n}\n\nmodule.exports = TupleSet;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/TupleSet.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/URLAbsoluteSpecifier.js": /*!***************************************************************!*\ !*** ./node_modules/webpack/lib/util/URLAbsoluteSpecifier.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\n/** @typedef {import(\"./fs\").InputFileSystem} InputFileSystem */\n/** @typedef {(error: Error|null, result?: Buffer) => void} ErrorFirstCallback */\n\nconst backSlashCharCode = \"\\\\\".charCodeAt(0);\nconst slashCharCode = \"/\".charCodeAt(0);\nconst aLowerCaseCharCode = \"a\".charCodeAt(0);\nconst zLowerCaseCharCode = \"z\".charCodeAt(0);\nconst aUpperCaseCharCode = \"A\".charCodeAt(0);\nconst zUpperCaseCharCode = \"Z\".charCodeAt(0);\nconst _0CharCode = \"0\".charCodeAt(0);\nconst _9CharCode = \"9\".charCodeAt(0);\nconst plusCharCode = \"+\".charCodeAt(0);\nconst hyphenCharCode = \"-\".charCodeAt(0);\nconst colonCharCode = \":\".charCodeAt(0);\nconst hashCharCode = \"#\".charCodeAt(0);\nconst queryCharCode = \"?\".charCodeAt(0);\n/**\n * Get scheme if specifier is an absolute URL specifier\n * e.g. Absolute specifiers like 'file:///user/webpack/index.js'\n * https://tools.ietf.org/html/rfc3986#section-3.1\n * @param {string} specifier specifier\n * @returns {string|undefined} scheme if absolute URL specifier provided\n */\nfunction getScheme(specifier) {\n\tconst start = specifier.charCodeAt(0);\n\n\t// First char maybe only a letter\n\tif (\n\t\t(start < aLowerCaseCharCode || start > zLowerCaseCharCode) &&\n\t\t(start < aUpperCaseCharCode || start > zUpperCaseCharCode)\n\t) {\n\t\treturn undefined;\n\t}\n\n\tlet i = 1;\n\tlet ch = specifier.charCodeAt(i);\n\n\twhile (\n\t\t(ch >= aLowerCaseCharCode && ch <= zLowerCaseCharCode) ||\n\t\t(ch >= aUpperCaseCharCode && ch <= zUpperCaseCharCode) ||\n\t\t(ch >= _0CharCode && ch <= _9CharCode) ||\n\t\tch === plusCharCode ||\n\t\tch === hyphenCharCode\n\t) {\n\t\tif (++i === specifier.length) return undefined;\n\t\tch = specifier.charCodeAt(i);\n\t}\n\n\t// Scheme must end with colon\n\tif (ch !== colonCharCode) return undefined;\n\n\t// Check for Windows absolute path\n\t// https://url.spec.whatwg.org/#url-miscellaneous\n\tif (i === 1) {\n\t\tconst nextChar = i + 1 < specifier.length ? specifier.charCodeAt(i + 1) : 0;\n\t\tif (\n\t\t\tnextChar === 0 ||\n\t\t\tnextChar === backSlashCharCode ||\n\t\t\tnextChar === slashCharCode ||\n\t\t\tnextChar === hashCharCode ||\n\t\t\tnextChar === queryCharCode\n\t\t) {\n\t\t\treturn undefined;\n\t\t}\n\t}\n\n\treturn specifier.slice(0, i).toLowerCase();\n}\n\n/**\n * @param {string} specifier specifier\n * @returns {string|null} protocol if absolute URL specifier provided\n */\nfunction getProtocol(specifier) {\n\tconst scheme = getScheme(specifier);\n\treturn scheme === undefined ? undefined : scheme + \":\";\n}\n\nexports.getScheme = getScheme;\nexports.getProtocol = getProtocol;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/URLAbsoluteSpecifier.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/WeakTupleMap.js": /*!*******************************************************!*\ !*** ./node_modules/webpack/lib/util/WeakTupleMap.js ***! \*******************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst isWeakKey = thing => typeof thing === \"object\" && thing !== null;\n\n/**\n * @template {any[]} T\n * @template V\n */\nclass WeakTupleMap {\n\tconstructor() {\n\t\t/** @private */\n\t\tthis.f = 0;\n\t\t/** @private @type {any} */\n\t\tthis.v = undefined;\n\t\t/** @private @type {Map<object, WeakTupleMap<T, V>> | undefined} */\n\t\tthis.m = undefined;\n\t\t/** @private @type {WeakMap<object, WeakTupleMap<T, V>> | undefined} */\n\t\tthis.w = undefined;\n\t}\n\n\t/**\n\t * @param {[...T, V]} args tuple\n\t * @returns {void}\n\t */\n\tset(...args) {\n\t\t/** @type {WeakTupleMap<T, V>} */\n\t\tlet node = this;\n\t\tfor (let i = 0; i < args.length - 1; i++) {\n\t\t\tnode = node._get(args[i]);\n\t\t}\n\t\tnode._setValue(args[args.length - 1]);\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {boolean} true, if the tuple is in the Set\n\t */\n\thas(...args) {\n\t\t/** @type {WeakTupleMap<T, V>} */\n\t\tlet node = this;\n\t\tfor (let i = 0; i < args.length; i++) {\n\t\t\tnode = node._peek(args[i]);\n\t\t\tif (node === undefined) return false;\n\t\t}\n\t\treturn node._hasValue();\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {V} the value\n\t */\n\tget(...args) {\n\t\t/** @type {WeakTupleMap<T, V>} */\n\t\tlet node = this;\n\t\tfor (let i = 0; i < args.length; i++) {\n\t\t\tnode = node._peek(args[i]);\n\t\t\tif (node === undefined) return undefined;\n\t\t}\n\t\treturn node._getValue();\n\t}\n\n\t/**\n\t * @param {[...T, function(): V]} args tuple\n\t * @returns {V} the value\n\t */\n\tprovide(...args) {\n\t\t/** @type {WeakTupleMap<T, V>} */\n\t\tlet node = this;\n\t\tfor (let i = 0; i < args.length - 1; i++) {\n\t\t\tnode = node._get(args[i]);\n\t\t}\n\t\tif (node._hasValue()) return node._getValue();\n\t\tconst fn = args[args.length - 1];\n\t\tconst newValue = fn(...args.slice(0, -1));\n\t\tnode._setValue(newValue);\n\t\treturn newValue;\n\t}\n\n\t/**\n\t * @param {T} args tuple\n\t * @returns {void}\n\t */\n\tdelete(...args) {\n\t\t/** @type {WeakTupleMap<T, V>} */\n\t\tlet node = this;\n\t\tfor (let i = 0; i < args.length; i++) {\n\t\t\tnode = node._peek(args[i]);\n\t\t\tif (node === undefined) return;\n\t\t}\n\t\tnode._deleteValue();\n\t}\n\n\t/**\n\t * @returns {void}\n\t */\n\tclear() {\n\t\tthis.f = 0;\n\t\tthis.v = undefined;\n\t\tthis.w = undefined;\n\t\tthis.m = undefined;\n\t}\n\n\t_getValue() {\n\t\treturn this.v;\n\t}\n\n\t_hasValue() {\n\t\treturn (this.f & 1) === 1;\n\t}\n\n\t_setValue(v) {\n\t\tthis.f |= 1;\n\t\tthis.v = v;\n\t}\n\n\t_deleteValue() {\n\t\tthis.f &= 6;\n\t\tthis.v = undefined;\n\t}\n\n\t_peek(thing) {\n\t\tif (isWeakKey(thing)) {\n\t\t\tif ((this.f & 4) !== 4) return undefined;\n\t\t\treturn this.w.get(thing);\n\t\t} else {\n\t\t\tif ((this.f & 2) !== 2) return undefined;\n\t\t\treturn this.m.get(thing);\n\t\t}\n\t}\n\n\t_get(thing) {\n\t\tif (isWeakKey(thing)) {\n\t\t\tif ((this.f & 4) !== 4) {\n\t\t\t\tconst newMap = new WeakMap();\n\t\t\t\tthis.f |= 4;\n\t\t\t\tconst newNode = new WeakTupleMap();\n\t\t\t\t(this.w = newMap).set(thing, newNode);\n\t\t\t\treturn newNode;\n\t\t\t}\n\t\t\tconst entry = this.w.get(thing);\n\t\t\tif (entry !== undefined) {\n\t\t\t\treturn entry;\n\t\t\t}\n\t\t\tconst newNode = new WeakTupleMap();\n\t\t\tthis.w.set(thing, newNode);\n\t\t\treturn newNode;\n\t\t} else {\n\t\t\tif ((this.f & 2) !== 2) {\n\t\t\t\tconst newMap = new Map();\n\t\t\t\tthis.f |= 2;\n\t\t\t\tconst newNode = new WeakTupleMap();\n\t\t\t\t(this.m = newMap).set(thing, newNode);\n\t\t\t\treturn newNode;\n\t\t\t}\n\t\t\tconst entry = this.m.get(thing);\n\t\t\tif (entry !== undefined) {\n\t\t\t\treturn entry;\n\t\t\t}\n\t\t\tconst newNode = new WeakTupleMap();\n\t\t\tthis.m.set(thing, newNode);\n\t\t\treturn newNode;\n\t\t}\n\t}\n}\n\nmodule.exports = WeakTupleMap;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/WeakTupleMap.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/binarySearchBounds.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/util/binarySearchBounds.js ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Mikola Lysenko @mikolalysenko\n*/\n\n\n\n/* cspell:disable-next-line */\n// Refactor: Peter Somogyvari @petermetz\n\nconst compileSearch = (funcName, predicate, reversed, extraArgs, earlyOut) => {\n\tconst code = [\n\t\t\"function \",\n\t\tfuncName,\n\t\t\"(a,l,h,\",\n\t\textraArgs.join(\",\"),\n\t\t\"){\",\n\t\tearlyOut ? \"\" : \"var i=\",\n\t\treversed ? \"l-1\" : \"h+1\",\n\t\t\";while(l<=h){var m=(l+h)>>>1,x=a[m]\"\n\t];\n\n\tif (earlyOut) {\n\t\tif (predicate.indexOf(\"c\") < 0) {\n\t\t\tcode.push(\";if(x===y){return m}else if(x<=y){\");\n\t\t} else {\n\t\t\tcode.push(\";var p=c(x,y);if(p===0){return m}else if(p<=0){\");\n\t\t}\n\t} else {\n\t\tcode.push(\";if(\", predicate, \"){i=m;\");\n\t}\n\tif (reversed) {\n\t\tcode.push(\"l=m+1}else{h=m-1}\");\n\t} else {\n\t\tcode.push(\"h=m-1}else{l=m+1}\");\n\t}\n\tcode.push(\"}\");\n\tif (earlyOut) {\n\t\tcode.push(\"return -1};\");\n\t} else {\n\t\tcode.push(\"return i};\");\n\t}\n\treturn code.join(\"\");\n};\n\nconst compileBoundsSearch = (predicate, reversed, suffix, earlyOut) => {\n\tconst arg1 = compileSearch(\n\t\t\"A\",\n\t\t\"x\" + predicate + \"y\",\n\t\treversed,\n\t\t[\"y\"],\n\t\tearlyOut\n\t);\n\n\tconst arg2 = compileSearch(\n\t\t\"P\",\n\t\t\"c(x,y)\" + predicate + \"0\",\n\t\treversed,\n\t\t[\"y\", \"c\"],\n\t\tearlyOut\n\t);\n\n\tconst fnHeader = \"function dispatchBinarySearch\";\n\n\tconst fnBody =\n\t\t\"(a,y,c,l,h){\\\nif(typeof(c)==='function'){\\\nreturn P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)\\\n}else{\\\nreturn A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)\\\n}}\\\nreturn dispatchBinarySearch\";\n\n\tconst fnArgList = [arg1, arg2, fnHeader, suffix, fnBody, suffix];\n\tconst fnSource = fnArgList.join(\"\");\n\tconst result = new Function(fnSource);\n\treturn result();\n};\n\nmodule.exports = {\n\tge: compileBoundsSearch(\">=\", false, \"GE\"),\n\tgt: compileBoundsSearch(\">\", false, \"GT\"),\n\tlt: compileBoundsSearch(\"<\", true, \"LT\"),\n\tle: compileBoundsSearch(\"<=\", true, \"LE\"),\n\teq: compileBoundsSearch(\"-\", true, \"EQ\", true)\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/binarySearchBounds.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/cleverMerge.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/util/cleverMerge.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @type {WeakMap<object, WeakMap<object, object>>} */\nconst mergeCache = new WeakMap();\n/** @type {WeakMap<object, Map<string, Map<string|number|boolean, object>>>} */\nconst setPropertyCache = new WeakMap();\nconst DELETE = Symbol(\"DELETE\");\nconst DYNAMIC_INFO = Symbol(\"cleverMerge dynamic info\");\n\n/**\n * Merges two given objects and caches the result to avoid computation if same objects passed as arguments again.\n * @template T\n * @template O\n * @example\n * // performs cleverMerge(first, second), stores the result in WeakMap and returns result\n * cachedCleverMerge({a: 1}, {a: 2})\n * {a: 2}\n * // when same arguments passed, gets the result from WeakMap and returns it.\n * cachedCleverMerge({a: 1}, {a: 2})\n * {a: 2}\n * @param {T} first first object\n * @param {O} second second object\n * @returns {T & O | T | O} merged object of first and second object\n */\nconst cachedCleverMerge = (first, second) => {\n\tif (second === undefined) return first;\n\tif (first === undefined) return second;\n\tif (typeof second !== \"object\" || second === null) return second;\n\tif (typeof first !== \"object\" || first === null) return first;\n\n\tlet innerCache = mergeCache.get(first);\n\tif (innerCache === undefined) {\n\t\tinnerCache = new WeakMap();\n\t\tmergeCache.set(first, innerCache);\n\t}\n\tconst prevMerge = innerCache.get(second);\n\tif (prevMerge !== undefined) return prevMerge;\n\tconst newMerge = _cleverMerge(first, second, true);\n\tinnerCache.set(second, newMerge);\n\treturn newMerge;\n};\n\n/**\n * @template T\n * @param {Partial<T>} obj object\n * @param {string} property property\n * @param {string|number|boolean} value assignment value\n * @returns {T} new object\n */\nconst cachedSetProperty = (obj, property, value) => {\n\tlet mapByProperty = setPropertyCache.get(obj);\n\n\tif (mapByProperty === undefined) {\n\t\tmapByProperty = new Map();\n\t\tsetPropertyCache.set(obj, mapByProperty);\n\t}\n\n\tlet mapByValue = mapByProperty.get(property);\n\n\tif (mapByValue === undefined) {\n\t\tmapByValue = new Map();\n\t\tmapByProperty.set(property, mapByValue);\n\t}\n\n\tlet result = mapByValue.get(value);\n\n\tif (result) return result;\n\n\tresult = {\n\t\t...obj,\n\t\t[property]: value\n\t};\n\tmapByValue.set(value, result);\n\n\treturn result;\n};\n\n/**\n * @typedef {Object} ObjectParsedPropertyEntry\n * @property {any | undefined} base base value\n * @property {string | undefined} byProperty the name of the selector property\n * @property {Map<string, any>} byValues value depending on selector property, merged with base\n */\n\n/**\n * @typedef {Object} ParsedObject\n * @property {Map<string, ObjectParsedPropertyEntry>} static static properties (key is property name)\n * @property {{ byProperty: string, fn: Function } | undefined} dynamic dynamic part\n */\n\n/** @type {WeakMap<object, ParsedObject>} */\nconst parseCache = new WeakMap();\n\n/**\n * @param {object} obj the object\n * @returns {ParsedObject} parsed object\n */\nconst cachedParseObject = obj => {\n\tconst entry = parseCache.get(obj);\n\tif (entry !== undefined) return entry;\n\tconst result = parseObject(obj);\n\tparseCache.set(obj, result);\n\treturn result;\n};\n\n/**\n * @param {object} obj the object\n * @returns {ParsedObject} parsed object\n */\nconst parseObject = obj => {\n\tconst info = new Map();\n\tlet dynamicInfo;\n\tconst getInfo = p => {\n\t\tconst entry = info.get(p);\n\t\tif (entry !== undefined) return entry;\n\t\tconst newEntry = {\n\t\t\tbase: undefined,\n\t\t\tbyProperty: undefined,\n\t\t\tbyValues: undefined\n\t\t};\n\t\tinfo.set(p, newEntry);\n\t\treturn newEntry;\n\t};\n\tfor (const key of Object.keys(obj)) {\n\t\tif (key.startsWith(\"by\")) {\n\t\t\tconst byProperty = key;\n\t\t\tconst byObj = obj[byProperty];\n\t\t\tif (typeof byObj === \"object\") {\n\t\t\t\tfor (const byValue of Object.keys(byObj)) {\n\t\t\t\t\tconst obj = byObj[byValue];\n\t\t\t\t\tfor (const key of Object.keys(obj)) {\n\t\t\t\t\t\tconst entry = getInfo(key);\n\t\t\t\t\t\tif (entry.byProperty === undefined) {\n\t\t\t\t\t\t\tentry.byProperty = byProperty;\n\t\t\t\t\t\t\tentry.byValues = new Map();\n\t\t\t\t\t\t} else if (entry.byProperty !== byProperty) {\n\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t`${byProperty} and ${entry.byProperty} for a single property is not supported`\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tentry.byValues.set(byValue, obj[key]);\n\t\t\t\t\t\tif (byValue === \"default\") {\n\t\t\t\t\t\t\tfor (const otherByValue of Object.keys(byObj)) {\n\t\t\t\t\t\t\t\tif (!entry.byValues.has(otherByValue))\n\t\t\t\t\t\t\t\t\tentry.byValues.set(otherByValue, undefined);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (typeof byObj === \"function\") {\n\t\t\t\tif (dynamicInfo === undefined) {\n\t\t\t\t\tdynamicInfo = {\n\t\t\t\t\t\tbyProperty: key,\n\t\t\t\t\t\tfn: byObj\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`${key} and ${dynamicInfo.byProperty} when both are functions is not supported`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst entry = getInfo(key);\n\t\t\t\tentry.base = obj[key];\n\t\t\t}\n\t\t} else {\n\t\t\tconst entry = getInfo(key);\n\t\t\tentry.base = obj[key];\n\t\t}\n\t}\n\treturn {\n\t\tstatic: info,\n\t\tdynamic: dynamicInfo\n\t};\n};\n\n/**\n * @param {Map<string, ObjectParsedPropertyEntry>} info static properties (key is property name)\n * @param {{ byProperty: string, fn: Function } | undefined} dynamicInfo dynamic part\n * @returns {object} the object\n */\nconst serializeObject = (info, dynamicInfo) => {\n\tconst obj = {};\n\t// Setup byProperty structure\n\tfor (const entry of info.values()) {\n\t\tif (entry.byProperty !== undefined) {\n\t\t\tconst byObj = (obj[entry.byProperty] = obj[entry.byProperty] || {});\n\t\t\tfor (const byValue of entry.byValues.keys()) {\n\t\t\t\tbyObj[byValue] = byObj[byValue] || {};\n\t\t\t}\n\t\t}\n\t}\n\tfor (const [key, entry] of info) {\n\t\tif (entry.base !== undefined) {\n\t\t\tobj[key] = entry.base;\n\t\t}\n\t\t// Fill byProperty structure\n\t\tif (entry.byProperty !== undefined) {\n\t\t\tconst byObj = (obj[entry.byProperty] = obj[entry.byProperty] || {});\n\t\t\tfor (const byValue of Object.keys(byObj)) {\n\t\t\t\tconst value = getFromByValues(entry.byValues, byValue);\n\t\t\t\tif (value !== undefined) byObj[byValue][key] = value;\n\t\t\t}\n\t\t}\n\t}\n\tif (dynamicInfo !== undefined) {\n\t\tobj[dynamicInfo.byProperty] = dynamicInfo.fn;\n\t}\n\treturn obj;\n};\n\nconst VALUE_TYPE_UNDEFINED = 0;\nconst VALUE_TYPE_ATOM = 1;\nconst VALUE_TYPE_ARRAY_EXTEND = 2;\nconst VALUE_TYPE_OBJECT = 3;\nconst VALUE_TYPE_DELETE = 4;\n\n/**\n * @param {any} value a single value\n * @returns {VALUE_TYPE_UNDEFINED | VALUE_TYPE_ATOM | VALUE_TYPE_ARRAY_EXTEND | VALUE_TYPE_OBJECT | VALUE_TYPE_DELETE} value type\n */\nconst getValueType = value => {\n\tif (value === undefined) {\n\t\treturn VALUE_TYPE_UNDEFINED;\n\t} else if (value === DELETE) {\n\t\treturn VALUE_TYPE_DELETE;\n\t} else if (Array.isArray(value)) {\n\t\tif (value.lastIndexOf(\"...\") !== -1) return VALUE_TYPE_ARRAY_EXTEND;\n\t\treturn VALUE_TYPE_ATOM;\n\t} else if (\n\t\ttypeof value === \"object\" &&\n\t\tvalue !== null &&\n\t\t(!value.constructor || value.constructor === Object)\n\t) {\n\t\treturn VALUE_TYPE_OBJECT;\n\t}\n\treturn VALUE_TYPE_ATOM;\n};\n\n/**\n * Merges two objects. Objects are deeply clever merged.\n * Arrays might reference the old value with \"...\".\n * Non-object values take preference over object values.\n * @template T\n * @template O\n * @param {T} first first object\n * @param {O} second second object\n * @returns {T & O | T | O} merged object of first and second object\n */\nconst cleverMerge = (first, second) => {\n\tif (second === undefined) return first;\n\tif (first === undefined) return second;\n\tif (typeof second !== \"object\" || second === null) return second;\n\tif (typeof first !== \"object\" || first === null) return first;\n\n\treturn _cleverMerge(first, second, false);\n};\n\n/**\n * Merges two objects. Objects are deeply clever merged.\n * @param {object} first first object\n * @param {object} second second object\n * @param {boolean} internalCaching should parsing of objects and nested merges be cached\n * @returns {object} merged object of first and second object\n */\nconst _cleverMerge = (first, second, internalCaching = false) => {\n\tconst firstObject = internalCaching\n\t\t? cachedParseObject(first)\n\t\t: parseObject(first);\n\tconst { static: firstInfo, dynamic: firstDynamicInfo } = firstObject;\n\n\t// If the first argument has a dynamic part we modify the dynamic part to merge the second argument\n\tif (firstDynamicInfo !== undefined) {\n\t\tlet { byProperty, fn } = firstDynamicInfo;\n\t\tconst fnInfo = fn[DYNAMIC_INFO];\n\t\tif (fnInfo) {\n\t\t\tsecond = internalCaching\n\t\t\t\t? cachedCleverMerge(fnInfo[1], second)\n\t\t\t\t: cleverMerge(fnInfo[1], second);\n\t\t\tfn = fnInfo[0];\n\t\t}\n\t\tconst newFn = (...args) => {\n\t\t\tconst fnResult = fn(...args);\n\t\t\treturn internalCaching\n\t\t\t\t? cachedCleverMerge(fnResult, second)\n\t\t\t\t: cleverMerge(fnResult, second);\n\t\t};\n\t\tnewFn[DYNAMIC_INFO] = [fn, second];\n\t\treturn serializeObject(firstObject.static, { byProperty, fn: newFn });\n\t}\n\n\t// If the first part is static only, we merge the static parts and keep the dynamic part of the second argument\n\tconst secondObject = internalCaching\n\t\t? cachedParseObject(second)\n\t\t: parseObject(second);\n\tconst { static: secondInfo, dynamic: secondDynamicInfo } = secondObject;\n\t/** @type {Map<string, ObjectParsedPropertyEntry>} */\n\tconst resultInfo = new Map();\n\tfor (const [key, firstEntry] of firstInfo) {\n\t\tconst secondEntry = secondInfo.get(key);\n\t\tconst entry =\n\t\t\tsecondEntry !== undefined\n\t\t\t\t? mergeEntries(firstEntry, secondEntry, internalCaching)\n\t\t\t\t: firstEntry;\n\t\tresultInfo.set(key, entry);\n\t}\n\tfor (const [key, secondEntry] of secondInfo) {\n\t\tif (!firstInfo.has(key)) {\n\t\t\tresultInfo.set(key, secondEntry);\n\t\t}\n\t}\n\treturn serializeObject(resultInfo, secondDynamicInfo);\n};\n\n/**\n * @param {ObjectParsedPropertyEntry} firstEntry a\n * @param {ObjectParsedPropertyEntry} secondEntry b\n * @param {boolean} internalCaching should parsing of objects and nested merges be cached\n * @returns {ObjectParsedPropertyEntry} new entry\n */\nconst mergeEntries = (firstEntry, secondEntry, internalCaching) => {\n\tswitch (getValueType(secondEntry.base)) {\n\t\tcase VALUE_TYPE_ATOM:\n\t\tcase VALUE_TYPE_DELETE:\n\t\t\t// No need to consider firstEntry at all\n\t\t\t// second value override everything\n\t\t\t// = second.base + second.byProperty\n\t\t\treturn secondEntry;\n\t\tcase VALUE_TYPE_UNDEFINED:\n\t\t\tif (!firstEntry.byProperty) {\n\t\t\t\t// = first.base + second.byProperty\n\t\t\t\treturn {\n\t\t\t\t\tbase: firstEntry.base,\n\t\t\t\t\tbyProperty: secondEntry.byProperty,\n\t\t\t\t\tbyValues: secondEntry.byValues\n\t\t\t\t};\n\t\t\t} else if (firstEntry.byProperty !== secondEntry.byProperty) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`${firstEntry.byProperty} and ${secondEntry.byProperty} for a single property is not supported`\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\t// = first.base + (first.byProperty + second.byProperty)\n\t\t\t\t// need to merge first and second byValues\n\t\t\t\tconst newByValues = new Map(firstEntry.byValues);\n\t\t\t\tfor (const [key, value] of secondEntry.byValues) {\n\t\t\t\t\tconst firstValue = getFromByValues(firstEntry.byValues, key);\n\t\t\t\t\tnewByValues.set(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t\tmergeSingleValue(firstValue, value, internalCaching)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tbase: firstEntry.base,\n\t\t\t\t\tbyProperty: firstEntry.byProperty,\n\t\t\t\t\tbyValues: newByValues\n\t\t\t\t};\n\t\t\t}\n\t\tdefault: {\n\t\t\tif (!firstEntry.byProperty) {\n\t\t\t\t// The simple case\n\t\t\t\t// = (first.base + second.base) + second.byProperty\n\t\t\t\treturn {\n\t\t\t\t\tbase: mergeSingleValue(\n\t\t\t\t\t\tfirstEntry.base,\n\t\t\t\t\t\tsecondEntry.base,\n\t\t\t\t\t\tinternalCaching\n\t\t\t\t\t),\n\t\t\t\t\tbyProperty: secondEntry.byProperty,\n\t\t\t\t\tbyValues: secondEntry.byValues\n\t\t\t\t};\n\t\t\t}\n\t\t\tlet newBase;\n\t\t\tconst intermediateByValues = new Map(firstEntry.byValues);\n\t\t\tfor (const [key, value] of intermediateByValues) {\n\t\t\t\tintermediateByValues.set(\n\t\t\t\t\tkey,\n\t\t\t\t\tmergeSingleValue(value, secondEntry.base, internalCaching)\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tArray.from(firstEntry.byValues.values()).every(value => {\n\t\t\t\t\tconst type = getValueType(value);\n\t\t\t\t\treturn type === VALUE_TYPE_ATOM || type === VALUE_TYPE_DELETE;\n\t\t\t\t})\n\t\t\t) {\n\t\t\t\t// = (first.base + second.base) + ((first.byProperty + second.base) + second.byProperty)\n\t\t\t\tnewBase = mergeSingleValue(\n\t\t\t\t\tfirstEntry.base,\n\t\t\t\t\tsecondEntry.base,\n\t\t\t\t\tinternalCaching\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\t// = first.base + ((first.byProperty (+default) + second.base) + second.byProperty)\n\t\t\t\tnewBase = firstEntry.base;\n\t\t\t\tif (!intermediateByValues.has(\"default\"))\n\t\t\t\t\tintermediateByValues.set(\"default\", secondEntry.base);\n\t\t\t}\n\t\t\tif (!secondEntry.byProperty) {\n\t\t\t\t// = first.base + (first.byProperty + second.base)\n\t\t\t\treturn {\n\t\t\t\t\tbase: newBase,\n\t\t\t\t\tbyProperty: firstEntry.byProperty,\n\t\t\t\t\tbyValues: intermediateByValues\n\t\t\t\t};\n\t\t\t} else if (firstEntry.byProperty !== secondEntry.byProperty) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`${firstEntry.byProperty} and ${secondEntry.byProperty} for a single property is not supported`\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst newByValues = new Map(intermediateByValues);\n\t\t\tfor (const [key, value] of secondEntry.byValues) {\n\t\t\t\tconst firstValue = getFromByValues(intermediateByValues, key);\n\t\t\t\tnewByValues.set(\n\t\t\t\t\tkey,\n\t\t\t\t\tmergeSingleValue(firstValue, value, internalCaching)\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tbase: newBase,\n\t\t\t\tbyProperty: firstEntry.byProperty,\n\t\t\t\tbyValues: newByValues\n\t\t\t};\n\t\t}\n\t}\n};\n\n/**\n * @param {Map<string, any>} byValues all values\n * @param {string} key value of the selector\n * @returns {any | undefined} value\n */\nconst getFromByValues = (byValues, key) => {\n\tif (key !== \"default\" && byValues.has(key)) {\n\t\treturn byValues.get(key);\n\t}\n\treturn byValues.get(\"default\");\n};\n\n/**\n * @param {any} a value\n * @param {any} b value\n * @param {boolean} internalCaching should parsing of objects and nested merges be cached\n * @returns {any} value\n */\nconst mergeSingleValue = (a, b, internalCaching) => {\n\tconst bType = getValueType(b);\n\tconst aType = getValueType(a);\n\tswitch (bType) {\n\t\tcase VALUE_TYPE_DELETE:\n\t\tcase VALUE_TYPE_ATOM:\n\t\t\treturn b;\n\t\tcase VALUE_TYPE_OBJECT: {\n\t\t\treturn aType !== VALUE_TYPE_OBJECT\n\t\t\t\t? b\n\t\t\t\t: internalCaching\n\t\t\t\t? cachedCleverMerge(a, b)\n\t\t\t\t: cleverMerge(a, b);\n\t\t}\n\t\tcase VALUE_TYPE_UNDEFINED:\n\t\t\treturn a;\n\t\tcase VALUE_TYPE_ARRAY_EXTEND:\n\t\t\tswitch (\n\t\t\t\taType !== VALUE_TYPE_ATOM\n\t\t\t\t\t? aType\n\t\t\t\t\t: Array.isArray(a)\n\t\t\t\t\t? VALUE_TYPE_ARRAY_EXTEND\n\t\t\t\t\t: VALUE_TYPE_OBJECT\n\t\t\t) {\n\t\t\t\tcase VALUE_TYPE_UNDEFINED:\n\t\t\t\t\treturn b;\n\t\t\t\tcase VALUE_TYPE_DELETE:\n\t\t\t\t\treturn b.filter(item => item !== \"...\");\n\t\t\t\tcase VALUE_TYPE_ARRAY_EXTEND: {\n\t\t\t\t\tconst newArray = [];\n\t\t\t\t\tfor (const item of b) {\n\t\t\t\t\t\tif (item === \"...\") {\n\t\t\t\t\t\t\tfor (const item of a) {\n\t\t\t\t\t\t\t\tnewArray.push(item);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tnewArray.push(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn newArray;\n\t\t\t\t}\n\t\t\t\tcase VALUE_TYPE_OBJECT:\n\t\t\t\t\treturn b.map(item => (item === \"...\" ? a : item));\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(\"Not implemented\");\n\t\t\t}\n\t\tdefault:\n\t\t\tthrow new Error(\"Not implemented\");\n\t}\n};\n\n/**\n * @template T\n * @param {T} obj the object\n * @returns {T} the object without operations like \"...\" or DELETE\n */\nconst removeOperations = obj => {\n\tconst newObj = /** @type {T} */ ({});\n\tfor (const key of Object.keys(obj)) {\n\t\tconst value = obj[key];\n\t\tconst type = getValueType(value);\n\t\tswitch (type) {\n\t\t\tcase VALUE_TYPE_UNDEFINED:\n\t\t\tcase VALUE_TYPE_DELETE:\n\t\t\t\tbreak;\n\t\t\tcase VALUE_TYPE_OBJECT:\n\t\t\t\tnewObj[key] = removeOperations(value);\n\t\t\t\tbreak;\n\t\t\tcase VALUE_TYPE_ARRAY_EXTEND:\n\t\t\t\tnewObj[key] = value.filter(i => i !== \"...\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tnewObj[key] = value;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\treturn newObj;\n};\n\n/**\n * @template T\n * @template {string} P\n * @param {T} obj the object\n * @param {P} byProperty the by description\n * @param {...any} values values\n * @returns {Omit<T, P>} object with merged byProperty\n */\nconst resolveByProperty = (obj, byProperty, ...values) => {\n\tif (typeof obj !== \"object\" || obj === null || !(byProperty in obj)) {\n\t\treturn obj;\n\t}\n\tconst { [byProperty]: _byValue, ..._remaining } = /** @type {object} */ (obj);\n\tconst remaining = /** @type {T} */ (_remaining);\n\tconst byValue = /** @type {Record<string, T> | function(...any[]): T} */ (\n\t\t_byValue\n\t);\n\tif (typeof byValue === \"object\") {\n\t\tconst key = values[0];\n\t\tif (key in byValue) {\n\t\t\treturn cachedCleverMerge(remaining, byValue[key]);\n\t\t} else if (\"default\" in byValue) {\n\t\t\treturn cachedCleverMerge(remaining, byValue.default);\n\t\t} else {\n\t\t\treturn /** @type {T} */ (remaining);\n\t\t}\n\t} else if (typeof byValue === \"function\") {\n\t\tconst result = byValue.apply(null, values);\n\t\treturn cachedCleverMerge(\n\t\t\tremaining,\n\t\t\tresolveByProperty(result, byProperty, ...values)\n\t\t);\n\t}\n};\n\nexports.cachedSetProperty = cachedSetProperty;\nexports.cachedCleverMerge = cachedCleverMerge;\nexports.cleverMerge = cleverMerge;\nexports.resolveByProperty = resolveByProperty;\nexports.removeOperations = removeOperations;\nexports.DELETE = DELETE;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/cleverMerge.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/comparators.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/util/comparators.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { compareRuntime } = __webpack_require__(/*! ./runtime */ \"./node_modules/webpack/lib/util/runtime.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../ChunkGroup\")} ChunkGroup */\n/** @typedef {import(\"../Dependency\").DependencyLocation} DependencyLocation */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\n/** @template T @typedef {function(T, T): -1|0|1} Comparator */\n/** @template TArg @template T @typedef {function(TArg, T, T): -1|0|1} RawParameterizedComparator */\n/** @template TArg @template T @typedef {function(TArg): Comparator<T>} ParameterizedComparator */\n\n/**\n * @template T\n * @param {RawParameterizedComparator<any, T>} fn comparator with argument\n * @returns {ParameterizedComparator<any, T>} comparator\n */\nconst createCachedParameterizedComparator = fn => {\n\t/** @type {WeakMap<object, Comparator<T>>} */\n\tconst map = new WeakMap();\n\treturn arg => {\n\t\tconst cachedResult = map.get(arg);\n\t\tif (cachedResult !== undefined) return cachedResult;\n\t\t/**\n\t\t * @param {T} a first item\n\t\t * @param {T} b second item\n\t\t * @returns {-1|0|1} compare result\n\t\t */\n\t\tconst result = fn.bind(null, arg);\n\t\tmap.set(arg, result);\n\t\treturn result;\n\t};\n};\n\n/**\n * @param {Chunk} a chunk\n * @param {Chunk} b chunk\n * @returns {-1|0|1} compare result\n */\nexports.compareChunksById = (a, b) => {\n\treturn compareIds(a.id, b.id);\n};\n\n/**\n * @param {Module} a module\n * @param {Module} b module\n * @returns {-1|0|1} compare result\n */\nexports.compareModulesByIdentifier = (a, b) => {\n\treturn compareIds(a.identifier(), b.identifier());\n};\n\n/**\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {Module} a module\n * @param {Module} b module\n * @returns {-1|0|1} compare result\n */\nconst compareModulesById = (chunkGraph, a, b) => {\n\treturn compareIds(chunkGraph.getModuleId(a), chunkGraph.getModuleId(b));\n};\n/** @type {ParameterizedComparator<ChunkGraph, Module>} */\nexports.compareModulesById =\n\tcreateCachedParameterizedComparator(compareModulesById);\n\n/**\n * @param {number} a number\n * @param {number} b number\n * @returns {-1|0|1} compare result\n */\nconst compareNumbers = (a, b) => {\n\tif (typeof a !== typeof b) {\n\t\treturn typeof a < typeof b ? -1 : 1;\n\t}\n\tif (a < b) return -1;\n\tif (a > b) return 1;\n\treturn 0;\n};\nexports.compareNumbers = compareNumbers;\n\n/**\n * @param {string} a string\n * @param {string} b string\n * @returns {-1|0|1} compare result\n */\nconst compareStringsNumeric = (a, b) => {\n\tconst partsA = a.split(/(\\d+)/);\n\tconst partsB = b.split(/(\\d+)/);\n\tconst len = Math.min(partsA.length, partsB.length);\n\tfor (let i = 0; i < len; i++) {\n\t\tconst pA = partsA[i];\n\t\tconst pB = partsB[i];\n\t\tif (i % 2 === 0) {\n\t\t\tif (pA.length > pB.length) {\n\t\t\t\tif (pA.slice(0, pB.length) > pB) return 1;\n\t\t\t\treturn -1;\n\t\t\t} else if (pB.length > pA.length) {\n\t\t\t\tif (pB.slice(0, pA.length) > pA) return -1;\n\t\t\t\treturn 1;\n\t\t\t} else {\n\t\t\t\tif (pA < pB) return -1;\n\t\t\t\tif (pA > pB) return 1;\n\t\t\t}\n\t\t} else {\n\t\t\tconst nA = +pA;\n\t\t\tconst nB = +pB;\n\t\t\tif (nA < nB) return -1;\n\t\t\tif (nA > nB) return 1;\n\t\t}\n\t}\n\tif (partsB.length < partsA.length) return 1;\n\tif (partsB.length > partsA.length) return -1;\n\treturn 0;\n};\nexports.compareStringsNumeric = compareStringsNumeric;\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {Module} a module\n * @param {Module} b module\n * @returns {-1|0|1} compare result\n */\nconst compareModulesByPostOrderIndexOrIdentifier = (moduleGraph, a, b) => {\n\tconst cmp = compareNumbers(\n\t\tmoduleGraph.getPostOrderIndex(a),\n\t\tmoduleGraph.getPostOrderIndex(b)\n\t);\n\tif (cmp !== 0) return cmp;\n\treturn compareIds(a.identifier(), b.identifier());\n};\n/** @type {ParameterizedComparator<ModuleGraph, Module>} */\nexports.compareModulesByPostOrderIndexOrIdentifier =\n\tcreateCachedParameterizedComparator(\n\t\tcompareModulesByPostOrderIndexOrIdentifier\n\t);\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {Module} a module\n * @param {Module} b module\n * @returns {-1|0|1} compare result\n */\nconst compareModulesByPreOrderIndexOrIdentifier = (moduleGraph, a, b) => {\n\tconst cmp = compareNumbers(\n\t\tmoduleGraph.getPreOrderIndex(a),\n\t\tmoduleGraph.getPreOrderIndex(b)\n\t);\n\tif (cmp !== 0) return cmp;\n\treturn compareIds(a.identifier(), b.identifier());\n};\n/** @type {ParameterizedComparator<ModuleGraph, Module>} */\nexports.compareModulesByPreOrderIndexOrIdentifier =\n\tcreateCachedParameterizedComparator(\n\t\tcompareModulesByPreOrderIndexOrIdentifier\n\t);\n\n/**\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {Module} a module\n * @param {Module} b module\n * @returns {-1|0|1} compare result\n */\nconst compareModulesByIdOrIdentifier = (chunkGraph, a, b) => {\n\tconst cmp = compareIds(chunkGraph.getModuleId(a), chunkGraph.getModuleId(b));\n\tif (cmp !== 0) return cmp;\n\treturn compareIds(a.identifier(), b.identifier());\n};\n/** @type {ParameterizedComparator<ChunkGraph, Module>} */\nexports.compareModulesByIdOrIdentifier = createCachedParameterizedComparator(\n\tcompareModulesByIdOrIdentifier\n);\n\n/**\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {Chunk} a chunk\n * @param {Chunk} b chunk\n * @returns {-1|0|1} compare result\n */\nconst compareChunks = (chunkGraph, a, b) => {\n\treturn chunkGraph.compareChunks(a, b);\n};\n/** @type {ParameterizedComparator<ChunkGraph, Chunk>} */\nexports.compareChunks = createCachedParameterizedComparator(compareChunks);\n\n/**\n * @param {string|number} a first id\n * @param {string|number} b second id\n * @returns {-1|0|1} compare result\n */\nconst compareIds = (a, b) => {\n\tif (typeof a !== typeof b) {\n\t\treturn typeof a < typeof b ? -1 : 1;\n\t}\n\tif (a < b) return -1;\n\tif (a > b) return 1;\n\treturn 0;\n};\n\nexports.compareIds = compareIds;\n\n/**\n * @param {string} a first string\n * @param {string} b second string\n * @returns {-1|0|1} compare result\n */\nconst compareStrings = (a, b) => {\n\tif (a < b) return -1;\n\tif (a > b) return 1;\n\treturn 0;\n};\n\nexports.compareStrings = compareStrings;\n\n/**\n * @param {ChunkGroup} a first chunk group\n * @param {ChunkGroup} b second chunk group\n * @returns {-1|0|1} compare result\n */\nconst compareChunkGroupsByIndex = (a, b) => {\n\treturn a.index < b.index ? -1 : 1;\n};\n\nexports.compareChunkGroupsByIndex = compareChunkGroupsByIndex;\n\n/**\n * @template K1 {Object}\n * @template K2\n * @template T\n */\nclass TwoKeyWeakMap {\n\tconstructor() {\n\t\t/** @private @type {WeakMap<any, WeakMap<any, T>>} */\n\t\tthis._map = new WeakMap();\n\t}\n\n\t/**\n\t * @param {K1} key1 first key\n\t * @param {K2} key2 second key\n\t * @returns {T | undefined} value\n\t */\n\tget(key1, key2) {\n\t\tconst childMap = this._map.get(key1);\n\t\tif (childMap === undefined) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn childMap.get(key2);\n\t}\n\n\t/**\n\t * @param {K1} key1 first key\n\t * @param {K2} key2 second key\n\t * @param {T | undefined} value new value\n\t * @returns {void}\n\t */\n\tset(key1, key2, value) {\n\t\tlet childMap = this._map.get(key1);\n\t\tif (childMap === undefined) {\n\t\t\tchildMap = new WeakMap();\n\t\t\tthis._map.set(key1, childMap);\n\t\t}\n\t\tchildMap.set(key2, value);\n\t}\n}\n\n/** @type {TwoKeyWeakMap<Comparator<any>, Comparator<any>, Comparator<any>>}} */\nconst concatComparatorsCache = new TwoKeyWeakMap();\n\n/**\n * @template T\n * @param {Comparator<T>} c1 comparator\n * @param {Comparator<T>} c2 comparator\n * @param {Comparator<T>[]} cRest comparators\n * @returns {Comparator<T>} comparator\n */\nconst concatComparators = (c1, c2, ...cRest) => {\n\tif (cRest.length > 0) {\n\t\tconst [c3, ...cRest2] = cRest;\n\t\treturn concatComparators(c1, concatComparators(c2, c3, ...cRest2));\n\t}\n\tconst cacheEntry = /** @type {Comparator<T>} */ (\n\t\tconcatComparatorsCache.get(c1, c2)\n\t);\n\tif (cacheEntry !== undefined) return cacheEntry;\n\t/**\n\t * @param {T} a first value\n\t * @param {T} b second value\n\t * @returns {-1|0|1} compare result\n\t */\n\tconst result = (a, b) => {\n\t\tconst res = c1(a, b);\n\t\tif (res !== 0) return res;\n\t\treturn c2(a, b);\n\t};\n\tconcatComparatorsCache.set(c1, c2, result);\n\treturn result;\n};\nexports.concatComparators = concatComparators;\n\n/** @template A, B @typedef {(input: A) => B} Selector */\n\n/** @type {TwoKeyWeakMap<Selector<any, any>, Comparator<any>, Comparator<any>>}} */\nconst compareSelectCache = new TwoKeyWeakMap();\n\n/**\n * @template T\n * @template R\n * @param {Selector<T, R>} getter getter for value\n * @param {Comparator<R>} comparator comparator\n * @returns {Comparator<T>} comparator\n */\nconst compareSelect = (getter, comparator) => {\n\tconst cacheEntry = compareSelectCache.get(getter, comparator);\n\tif (cacheEntry !== undefined) return cacheEntry;\n\t/**\n\t * @param {T} a first value\n\t * @param {T} b second value\n\t * @returns {-1|0|1} compare result\n\t */\n\tconst result = (a, b) => {\n\t\tconst aValue = getter(a);\n\t\tconst bValue = getter(b);\n\t\tif (aValue !== undefined && aValue !== null) {\n\t\t\tif (bValue !== undefined && bValue !== null) {\n\t\t\t\treturn comparator(aValue, bValue);\n\t\t\t}\n\t\t\treturn -1;\n\t\t} else {\n\t\t\tif (bValue !== undefined && bValue !== null) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\t};\n\tcompareSelectCache.set(getter, comparator, result);\n\treturn result;\n};\nexports.compareSelect = compareSelect;\n\n/** @type {WeakMap<Comparator<any>, Comparator<Iterable<any>>>} */\nconst compareIteratorsCache = new WeakMap();\n\n/**\n * @template T\n * @param {Comparator<T>} elementComparator comparator for elements\n * @returns {Comparator<Iterable<T>>} comparator for iterables of elements\n */\nconst compareIterables = elementComparator => {\n\tconst cacheEntry = compareIteratorsCache.get(elementComparator);\n\tif (cacheEntry !== undefined) return cacheEntry;\n\t/**\n\t * @param {Iterable<T>} a first value\n\t * @param {Iterable<T>} b second value\n\t * @returns {-1|0|1} compare result\n\t */\n\tconst result = (a, b) => {\n\t\tconst aI = a[Symbol.iterator]();\n\t\tconst bI = b[Symbol.iterator]();\n\t\t// eslint-disable-next-line no-constant-condition\n\t\twhile (true) {\n\t\t\tconst aItem = aI.next();\n\t\t\tconst bItem = bI.next();\n\t\t\tif (aItem.done) {\n\t\t\t\treturn bItem.done ? 0 : -1;\n\t\t\t} else if (bItem.done) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\tconst res = elementComparator(aItem.value, bItem.value);\n\t\t\tif (res !== 0) return res;\n\t\t}\n\t};\n\tcompareIteratorsCache.set(elementComparator, result);\n\treturn result;\n};\nexports.compareIterables = compareIterables;\n\n// TODO this is no longer needed when minimum node.js version is >= 12\n// since these versions ship with a stable sort function\n/**\n * @template T\n * @param {Iterable<T>} iterable original ordered list\n * @returns {Comparator<T>} comparator\n */\nexports.keepOriginalOrder = iterable => {\n\t/** @type {Map<T, number>} */\n\tconst map = new Map();\n\tlet i = 0;\n\tfor (const item of iterable) {\n\t\tmap.set(item, i++);\n\t}\n\treturn (a, b) => compareNumbers(map.get(a), map.get(b));\n};\n\n/**\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @returns {Comparator<Chunk>} comparator\n */\nexports.compareChunksNatural = chunkGraph => {\n\tconst cmpFn = exports.compareModulesById(chunkGraph);\n\tconst cmpIterableFn = compareIterables(cmpFn);\n\treturn concatComparators(\n\t\tcompareSelect(chunk => chunk.name, compareIds),\n\t\tcompareSelect(chunk => chunk.runtime, compareRuntime),\n\t\tcompareSelect(\n\t\t\t/**\n\t\t\t * @param {Chunk} chunk a chunk\n\t\t\t * @returns {Iterable<Module>} modules\n\t\t\t */\n\t\t\tchunk => chunkGraph.getOrderedChunkModulesIterable(chunk, cmpFn),\n\t\t\tcmpIterableFn\n\t\t)\n\t);\n};\n\n/**\n * Compare two locations\n * @param {DependencyLocation} a A location node\n * @param {DependencyLocation} b A location node\n * @returns {-1|0|1} sorting comparator value\n */\nexports.compareLocations = (a, b) => {\n\tlet isObjectA = typeof a === \"object\" && a !== null;\n\tlet isObjectB = typeof b === \"object\" && b !== null;\n\tif (!isObjectA || !isObjectB) {\n\t\tif (isObjectA) return 1;\n\t\tif (isObjectB) return -1;\n\t\treturn 0;\n\t}\n\tif (\"start\" in a) {\n\t\tif (\"start\" in b) {\n\t\t\tconst ap = a.start;\n\t\t\tconst bp = b.start;\n\t\t\tif (ap.line < bp.line) return -1;\n\t\t\tif (ap.line > bp.line) return 1;\n\t\t\tif (ap.column < bp.column) return -1;\n\t\t\tif (ap.column > bp.column) return 1;\n\t\t} else return -1;\n\t} else if (\"start\" in b) return 1;\n\tif (\"name\" in a) {\n\t\tif (\"name\" in b) {\n\t\t\tif (a.name < b.name) return -1;\n\t\t\tif (a.name > b.name) return 1;\n\t\t} else return -1;\n\t} else if (\"name\" in b) return 1;\n\tif (\"index\" in a) {\n\t\tif (\"index\" in b) {\n\t\t\tif (a.index < b.index) return -1;\n\t\t\tif (a.index > b.index) return 1;\n\t\t} else return -1;\n\t} else if (\"index\" in b) return 1;\n\treturn 0;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/comparators.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/compileBooleanMatcher.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/util/compileBooleanMatcher.js ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst quoteMeta = str => {\n\treturn str.replace(/[-[\\]\\\\/{}()*+?.^$|]/g, \"\\\\$&\");\n};\n\nconst toSimpleString = str => {\n\tif (`${+str}` === str) {\n\t\treturn str;\n\t}\n\treturn JSON.stringify(str);\n};\n\n/**\n * @param {Record<string|number, boolean>} map value map\n * @returns {boolean|(function(string): string)} true/false, when unconditionally true/false, or a template function to determine the value at runtime\n */\nconst compileBooleanMatcher = map => {\n\tconst positiveItems = Object.keys(map).filter(i => map[i]);\n\tconst negativeItems = Object.keys(map).filter(i => !map[i]);\n\tif (positiveItems.length === 0) return false;\n\tif (negativeItems.length === 0) return true;\n\treturn compileBooleanMatcherFromLists(positiveItems, negativeItems);\n};\n\n/**\n * @param {string[]} positiveItems positive items\n * @param {string[]} negativeItems negative items\n * @returns {function(string): string} a template function to determine the value at runtime\n */\nconst compileBooleanMatcherFromLists = (positiveItems, negativeItems) => {\n\tif (positiveItems.length === 0) return () => \"false\";\n\tif (negativeItems.length === 0) return () => \"true\";\n\tif (positiveItems.length === 1)\n\t\treturn value => `${toSimpleString(positiveItems[0])} == ${value}`;\n\tif (negativeItems.length === 1)\n\t\treturn value => `${toSimpleString(negativeItems[0])} != ${value}`;\n\tconst positiveRegexp = itemsToRegexp(positiveItems);\n\tconst negativeRegexp = itemsToRegexp(negativeItems);\n\tif (positiveRegexp.length <= negativeRegexp.length) {\n\t\treturn value => `/^${positiveRegexp}$/.test(${value})`;\n\t} else {\n\t\treturn value => `!/^${negativeRegexp}$/.test(${value})`;\n\t}\n};\n\nconst popCommonItems = (itemsSet, getKey, condition) => {\n\tconst map = new Map();\n\tfor (const item of itemsSet) {\n\t\tconst key = getKey(item);\n\t\tif (key) {\n\t\t\tlet list = map.get(key);\n\t\t\tif (list === undefined) {\n\t\t\t\tlist = [];\n\t\t\t\tmap.set(key, list);\n\t\t\t}\n\t\t\tlist.push(item);\n\t\t}\n\t}\n\tconst result = [];\n\tfor (const list of map.values()) {\n\t\tif (condition(list)) {\n\t\t\tfor (const item of list) {\n\t\t\t\titemsSet.delete(item);\n\t\t\t}\n\t\t\tresult.push(list);\n\t\t}\n\t}\n\treturn result;\n};\n\nconst getCommonPrefix = items => {\n\tlet prefix = items[0];\n\tfor (let i = 1; i < items.length; i++) {\n\t\tconst item = items[i];\n\t\tfor (let p = 0; p < prefix.length; p++) {\n\t\t\tif (item[p] !== prefix[p]) {\n\t\t\t\tprefix = prefix.slice(0, p);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn prefix;\n};\n\nconst getCommonSuffix = items => {\n\tlet suffix = items[0];\n\tfor (let i = 1; i < items.length; i++) {\n\t\tconst item = items[i];\n\t\tfor (let p = item.length - 1, s = suffix.length - 1; s >= 0; p--, s--) {\n\t\t\tif (item[p] !== suffix[s]) {\n\t\t\t\tsuffix = suffix.slice(s + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn suffix;\n};\n\nconst itemsToRegexp = itemsArr => {\n\tif (itemsArr.length === 1) {\n\t\treturn quoteMeta(itemsArr[0]);\n\t}\n\tconst finishedItems = [];\n\n\t// merge single char items: (a|b|c|d|ef) => ([abcd]|ef)\n\tlet countOfSingleCharItems = 0;\n\tfor (const item of itemsArr) {\n\t\tif (item.length === 1) {\n\t\t\tcountOfSingleCharItems++;\n\t\t}\n\t}\n\t// special case for only single char items\n\tif (countOfSingleCharItems === itemsArr.length) {\n\t\treturn `[${quoteMeta(itemsArr.sort().join(\"\"))}]`;\n\t}\n\tconst items = new Set(itemsArr.sort());\n\tif (countOfSingleCharItems > 2) {\n\t\tlet singleCharItems = \"\";\n\t\tfor (const item of items) {\n\t\t\tif (item.length === 1) {\n\t\t\t\tsingleCharItems += item;\n\t\t\t\titems.delete(item);\n\t\t\t}\n\t\t}\n\t\tfinishedItems.push(`[${quoteMeta(singleCharItems)}]`);\n\t}\n\n\t// special case for 2 items with common prefix/suffix\n\tif (finishedItems.length === 0 && items.size === 2) {\n\t\tconst prefix = getCommonPrefix(itemsArr);\n\t\tconst suffix = getCommonSuffix(\n\t\t\titemsArr.map(item => item.slice(prefix.length))\n\t\t);\n\t\tif (prefix.length > 0 || suffix.length > 0) {\n\t\t\treturn `${quoteMeta(prefix)}${itemsToRegexp(\n\t\t\t\titemsArr.map(i => i.slice(prefix.length, -suffix.length || undefined))\n\t\t\t)}${quoteMeta(suffix)}`;\n\t\t}\n\t}\n\n\t// special case for 2 items with common suffix\n\tif (finishedItems.length === 0 && items.size === 2) {\n\t\tconst it = items[Symbol.iterator]();\n\t\tconst a = it.next().value;\n\t\tconst b = it.next().value;\n\t\tif (a.length > 0 && b.length > 0 && a.slice(-1) === b.slice(-1)) {\n\t\t\treturn `${itemsToRegexp([a.slice(0, -1), b.slice(0, -1)])}${quoteMeta(\n\t\t\t\ta.slice(-1)\n\t\t\t)}`;\n\t\t}\n\t}\n\n\t// find common prefix: (a1|a2|a3|a4|b5) => (a(1|2|3|4)|b5)\n\tconst prefixed = popCommonItems(\n\t\titems,\n\t\titem => (item.length >= 1 ? item[0] : false),\n\t\tlist => {\n\t\t\tif (list.length >= 3) return true;\n\t\t\tif (list.length <= 1) return false;\n\t\t\treturn list[0][1] === list[1][1];\n\t\t}\n\t);\n\tfor (const prefixedItems of prefixed) {\n\t\tconst prefix = getCommonPrefix(prefixedItems);\n\t\tfinishedItems.push(\n\t\t\t`${quoteMeta(prefix)}${itemsToRegexp(\n\t\t\t\tprefixedItems.map(i => i.slice(prefix.length))\n\t\t\t)}`\n\t\t);\n\t}\n\n\t// find common suffix: (a1|b1|c1|d1|e2) => ((a|b|c|d)1|e2)\n\tconst suffixed = popCommonItems(\n\t\titems,\n\t\titem => (item.length >= 1 ? item.slice(-1) : false),\n\t\tlist => {\n\t\t\tif (list.length >= 3) return true;\n\t\t\tif (list.length <= 1) return false;\n\t\t\treturn list[0].slice(-2) === list[1].slice(-2);\n\t\t}\n\t);\n\tfor (const suffixedItems of suffixed) {\n\t\tconst suffix = getCommonSuffix(suffixedItems);\n\t\tfinishedItems.push(\n\t\t\t`${itemsToRegexp(\n\t\t\t\tsuffixedItems.map(i => i.slice(0, -suffix.length))\n\t\t\t)}${quoteMeta(suffix)}`\n\t\t);\n\t}\n\n\t// TODO further optimize regexp, i. e.\n\t// use ranges: (1|2|3|4|a) => [1-4a]\n\tconst conditional = finishedItems.concat(Array.from(items, quoteMeta));\n\tif (conditional.length === 1) return conditional[0];\n\treturn `(${conditional.join(\"|\")})`;\n};\n\ncompileBooleanMatcher.fromLists = compileBooleanMatcherFromLists;\ncompileBooleanMatcher.itemsToRegexp = itemsToRegexp;\nmodule.exports = compileBooleanMatcher;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/compileBooleanMatcher.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/create-schema-validation.js": /*!*******************************************************************!*\ !*** ./node_modules/webpack/lib/util/create-schema-validation.js ***! \*******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ./memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\nconst getValidate = memoize(() => (__webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\").validate));\n\nconst createSchemaValidation = (check, getSchema, options) => {\n\tgetSchema = memoize(getSchema);\n\treturn value => {\n\t\tif (check && !check(value)) {\n\t\t\tgetValidate()(getSchema(), value, options);\n\t\t\tif (check) {\n\t\t\t\t(__webpack_require__(/*! util */ \"?e852\").deprecate)(\n\t\t\t\t\t() => {},\n\t\t\t\t\t\"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.\",\n\t\t\t\t\t\"DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID\"\n\t\t\t\t)();\n\t\t\t}\n\t\t}\n\t};\n};\n\nmodule.exports = createSchemaValidation;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/create-schema-validation.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/createHash.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/createHash.js ***! \*****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Hash = __webpack_require__(/*! ./Hash */ \"./node_modules/webpack/lib/util/Hash.js\");\n\nconst BULK_SIZE = 2000;\n\n// We are using an object instead of a Map as this will stay static during the runtime\n// so access to it can be optimized by v8\nconst digestCaches = {};\n\nclass BulkUpdateDecorator extends Hash {\n\t/**\n\t * @param {Hash | function(): Hash} hashOrFactory function to create a hash\n\t * @param {string=} hashKey key for caching\n\t */\n\tconstructor(hashOrFactory, hashKey) {\n\t\tsuper();\n\t\tthis.hashKey = hashKey;\n\t\tif (typeof hashOrFactory === \"function\") {\n\t\t\tthis.hashFactory = hashOrFactory;\n\t\t\tthis.hash = undefined;\n\t\t} else {\n\t\t\tthis.hashFactory = undefined;\n\t\t\tthis.hash = hashOrFactory;\n\t\t}\n\t\tthis.buffer = \"\";\n\t}\n\n\t/**\n\t * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}\n\t * @param {string|Buffer} data data\n\t * @param {string=} inputEncoding data encoding\n\t * @returns {this} updated hash\n\t */\n\tupdate(data, inputEncoding) {\n\t\tif (\n\t\t\tinputEncoding !== undefined ||\n\t\t\ttypeof data !== \"string\" ||\n\t\t\tdata.length > BULK_SIZE\n\t\t) {\n\t\t\tif (this.hash === undefined) this.hash = this.hashFactory();\n\t\t\tif (this.buffer.length > 0) {\n\t\t\t\tthis.hash.update(this.buffer);\n\t\t\t\tthis.buffer = \"\";\n\t\t\t}\n\t\t\tthis.hash.update(data, inputEncoding);\n\t\t} else {\n\t\t\tthis.buffer += data;\n\t\t\tif (this.buffer.length > BULK_SIZE) {\n\t\t\t\tif (this.hash === undefined) this.hash = this.hashFactory();\n\t\t\t\tthis.hash.update(this.buffer);\n\t\t\t\tthis.buffer = \"\";\n\t\t\t}\n\t\t}\n\t\treturn this;\n\t}\n\n\t/**\n\t * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}\n\t * @param {string=} encoding encoding of the return value\n\t * @returns {string|Buffer} digest\n\t */\n\tdigest(encoding) {\n\t\tlet digestCache;\n\t\tconst buffer = this.buffer;\n\t\tif (this.hash === undefined) {\n\t\t\t// short data for hash, we can use caching\n\t\t\tconst cacheKey = `${this.hashKey}-${encoding}`;\n\t\t\tdigestCache = digestCaches[cacheKey];\n\t\t\tif (digestCache === undefined) {\n\t\t\t\tdigestCache = digestCaches[cacheKey] = new Map();\n\t\t\t}\n\t\t\tconst cacheEntry = digestCache.get(buffer);\n\t\t\tif (cacheEntry !== undefined) return cacheEntry;\n\t\t\tthis.hash = this.hashFactory();\n\t\t}\n\t\tif (buffer.length > 0) {\n\t\t\tthis.hash.update(buffer);\n\t\t}\n\t\tconst digestResult = this.hash.digest(encoding);\n\t\tconst result =\n\t\t\ttypeof digestResult === \"string\" ? digestResult : digestResult.toString();\n\t\tif (digestCache !== undefined) {\n\t\t\tdigestCache.set(buffer, result);\n\t\t}\n\t\treturn result;\n\t}\n}\n\n/* istanbul ignore next */\nclass DebugHash extends Hash {\n\tconstructor() {\n\t\tsuper();\n\t\tthis.string = \"\";\n\t}\n\n\t/**\n\t * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}\n\t * @param {string|Buffer} data data\n\t * @param {string=} inputEncoding data encoding\n\t * @returns {this} updated hash\n\t */\n\tupdate(data, inputEncoding) {\n\t\tif (typeof data !== \"string\") data = data.toString(\"utf-8\");\n\t\tif (data.startsWith(\"debug-digest-\")) {\n\t\t\tdata = Buffer.from(data.slice(\"debug-digest-\".length), \"hex\").toString();\n\t\t}\n\t\tthis.string += `[${data}](${new Error().stack.split(\"\\n\", 3)[2]})\\n`;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}\n\t * @param {string=} encoding encoding of the return value\n\t * @returns {string|Buffer} digest\n\t */\n\tdigest(encoding) {\n\t\treturn \"debug-digest-\" + Buffer.from(this.string).toString(\"hex\");\n\t}\n}\n\nlet crypto = undefined;\nlet createXXHash64 = undefined;\nlet createMd4 = undefined;\nlet BatchedHash = undefined;\n\n/**\n * Creates a hash by name or function\n * @param {string | typeof Hash} algorithm the algorithm name or a constructor creating a hash\n * @returns {Hash} the hash\n */\nmodule.exports = algorithm => {\n\tif (typeof algorithm === \"function\") {\n\t\treturn new BulkUpdateDecorator(() => new algorithm());\n\t}\n\tswitch (algorithm) {\n\t\t// TODO add non-cryptographic algorithm here\n\t\tcase \"debug\":\n\t\t\treturn new DebugHash();\n\t\tcase \"xxhash64\":\n\t\t\tif (createXXHash64 === undefined) {\n\t\t\t\tcreateXXHash64 = __webpack_require__(/*! ./hash/xxhash64 */ \"./node_modules/webpack/lib/util/hash/xxhash64.js\");\n\t\t\t\tif (BatchedHash === undefined) {\n\t\t\t\t\tBatchedHash = __webpack_require__(/*! ./hash/BatchedHash */ \"./node_modules/webpack/lib/util/hash/BatchedHash.js\");\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn new BatchedHash(createXXHash64());\n\t\tcase \"md4\":\n\t\t\tif (createMd4 === undefined) {\n\t\t\t\tcreateMd4 = __webpack_require__(/*! ./hash/md4 */ \"./node_modules/webpack/lib/util/hash/md4.js\");\n\t\t\t\tif (BatchedHash === undefined) {\n\t\t\t\t\tBatchedHash = __webpack_require__(/*! ./hash/BatchedHash */ \"./node_modules/webpack/lib/util/hash/BatchedHash.js\");\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn new BatchedHash(createMd4());\n\t\tcase \"native-md4\":\n\t\t\tif (crypto === undefined) crypto = __webpack_require__(/*! crypto */ \"?c7f2\");\n\t\t\treturn new BulkUpdateDecorator(() => crypto.createHash(\"md4\"), \"md4\");\n\t\tdefault:\n\t\t\tif (crypto === undefined) crypto = __webpack_require__(/*! crypto */ \"?c7f2\");\n\t\t\treturn new BulkUpdateDecorator(\n\t\t\t\t() => crypto.createHash(algorithm),\n\t\t\t\talgorithm\n\t\t\t);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/createHash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/deprecation.js": /*!******************************************************!*\ !*** ./node_modules/webpack/lib/util/deprecation.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?e852\");\n\n/** @type {Map<string, Function>} */\nconst deprecationCache = new Map();\n\n/**\n * @typedef {Object} FakeHookMarker\n * @property {true} _fakeHook it's a fake hook\n */\n\n/** @template T @typedef {T & FakeHookMarker} FakeHook<T> */\n\n/**\n * @param {string} message deprecation message\n * @param {string} code deprecation code\n * @returns {Function} function to trigger deprecation\n */\nconst createDeprecation = (message, code) => {\n\tconst cached = deprecationCache.get(message);\n\tif (cached !== undefined) return cached;\n\tconst fn = util.deprecate(\n\t\t() => {},\n\t\tmessage,\n\t\t\"DEP_WEBPACK_DEPRECATION_\" + code\n\t);\n\tdeprecationCache.set(message, fn);\n\treturn fn;\n};\n\nconst COPY_METHODS = [\n\t\"concat\",\n\t\"entry\",\n\t\"filter\",\n\t\"find\",\n\t\"findIndex\",\n\t\"includes\",\n\t\"indexOf\",\n\t\"join\",\n\t\"lastIndexOf\",\n\t\"map\",\n\t\"reduce\",\n\t\"reduceRight\",\n\t\"slice\",\n\t\"some\"\n];\n\nconst DISABLED_METHODS = [\n\t\"copyWithin\",\n\t\"entries\",\n\t\"fill\",\n\t\"keys\",\n\t\"pop\",\n\t\"reverse\",\n\t\"shift\",\n\t\"splice\",\n\t\"sort\",\n\t\"unshift\"\n];\n\n/**\n * @param {any} set new set\n * @param {string} name property name\n * @returns {void}\n */\nexports.arrayToSetDeprecation = (set, name) => {\n\tfor (const method of COPY_METHODS) {\n\t\tif (set[method]) continue;\n\t\tconst d = createDeprecation(\n\t\t\t`${name} was changed from Array to Set (using Array method '${method}' is deprecated)`,\n\t\t\t\"ARRAY_TO_SET\"\n\t\t);\n\t\t/**\n\t\t * @deprecated\n\t\t * @this {Set}\n\t\t * @returns {number} count\n\t\t */\n\t\tset[method] = function () {\n\t\t\td();\n\t\t\tconst array = Array.from(this);\n\t\t\treturn Array.prototype[method].apply(array, arguments);\n\t\t};\n\t}\n\tconst dPush = createDeprecation(\n\t\t`${name} was changed from Array to Set (using Array method 'push' is deprecated)`,\n\t\t\"ARRAY_TO_SET_PUSH\"\n\t);\n\tconst dLength = createDeprecation(\n\t\t`${name} was changed from Array to Set (using Array property 'length' is deprecated)`,\n\t\t\"ARRAY_TO_SET_LENGTH\"\n\t);\n\tconst dIndexer = createDeprecation(\n\t\t`${name} was changed from Array to Set (indexing Array is deprecated)`,\n\t\t\"ARRAY_TO_SET_INDEXER\"\n\t);\n\t/**\n\t * @deprecated\n\t * @this {Set}\n\t * @returns {number} count\n\t */\n\tset.push = function () {\n\t\tdPush();\n\t\tfor (const item of Array.from(arguments)) {\n\t\t\tthis.add(item);\n\t\t}\n\t\treturn this.size;\n\t};\n\tfor (const method of DISABLED_METHODS) {\n\t\tif (set[method]) continue;\n\t\tset[method] = () => {\n\t\t\tthrow new Error(\n\t\t\t\t`${name} was changed from Array to Set (using Array method '${method}' is not possible)`\n\t\t\t);\n\t\t};\n\t}\n\tconst createIndexGetter = index => {\n\t\t/**\n\t\t * @this {Set} a Set\n\t\t * @returns {any} the value at this location\n\t\t */\n\t\tconst fn = function () {\n\t\t\tdIndexer();\n\t\t\tlet i = 0;\n\t\t\tfor (const item of this) {\n\t\t\t\tif (i++ === index) return item;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t};\n\t\treturn fn;\n\t};\n\tconst defineIndexGetter = index => {\n\t\tObject.defineProperty(set, index, {\n\t\t\tget: createIndexGetter(index),\n\t\t\tset(value) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`${name} was changed from Array to Set (indexing Array with write is not possible)`\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t};\n\tdefineIndexGetter(0);\n\tlet indexerDefined = 1;\n\tObject.defineProperty(set, \"length\", {\n\t\tget() {\n\t\t\tdLength();\n\t\t\tconst length = this.size;\n\t\t\tfor (indexerDefined; indexerDefined < length + 1; indexerDefined++) {\n\t\t\t\tdefineIndexGetter(indexerDefined);\n\t\t\t}\n\t\t\treturn length;\n\t\t},\n\t\tset(value) {\n\t\t\tthrow new Error(\n\t\t\t\t`${name} was changed from Array to Set (writing to Array property 'length' is not possible)`\n\t\t\t);\n\t\t}\n\t});\n\tset[Symbol.isConcatSpreadable] = true;\n};\n\nexports.createArrayToSetDeprecationSet = name => {\n\tlet initialized = false;\n\tclass SetDeprecatedArray extends Set {\n\t\tconstructor(items) {\n\t\t\tsuper(items);\n\t\t\tif (!initialized) {\n\t\t\t\tinitialized = true;\n\t\t\t\texports.arrayToSetDeprecation(SetDeprecatedArray.prototype, name);\n\t\t\t}\n\t\t}\n\t}\n\treturn SetDeprecatedArray;\n};\n\nexports.soonFrozenObjectDeprecation = (obj, name, code, note = \"\") => {\n\tconst message = `${name} will be frozen in future, all modifications are deprecated.${\n\t\tnote && `\\n${note}`\n\t}`;\n\treturn new Proxy(obj, {\n\t\tset: util.deprecate(\n\t\t\t(target, property, value, receiver) =>\n\t\t\t\tReflect.set(target, property, value, receiver),\n\t\t\tmessage,\n\t\t\tcode\n\t\t),\n\t\tdefineProperty: util.deprecate(\n\t\t\t(target, property, descriptor) =>\n\t\t\t\tReflect.defineProperty(target, property, descriptor),\n\t\t\tmessage,\n\t\t\tcode\n\t\t),\n\t\tdeleteProperty: util.deprecate(\n\t\t\t(target, property) => Reflect.deleteProperty(target, property),\n\t\t\tmessage,\n\t\t\tcode\n\t\t),\n\t\tsetPrototypeOf: util.deprecate(\n\t\t\t(target, proto) => Reflect.setPrototypeOf(target, proto),\n\t\t\tmessage,\n\t\t\tcode\n\t\t)\n\t});\n};\n\n/**\n * @template T\n * @param {T} obj object\n * @param {string} message deprecation message\n * @param {string} code deprecation code\n * @returns {T} object with property access deprecated\n */\nconst deprecateAllProperties = (obj, message, code) => {\n\tconst newObj = {};\n\tconst descriptors = Object.getOwnPropertyDescriptors(obj);\n\tfor (const name of Object.keys(descriptors)) {\n\t\tconst descriptor = descriptors[name];\n\t\tif (typeof descriptor.value === \"function\") {\n\t\t\tObject.defineProperty(newObj, name, {\n\t\t\t\t...descriptor,\n\t\t\t\tvalue: util.deprecate(descriptor.value, message, code)\n\t\t\t});\n\t\t} else if (descriptor.get || descriptor.set) {\n\t\t\tObject.defineProperty(newObj, name, {\n\t\t\t\t...descriptor,\n\t\t\t\tget: descriptor.get && util.deprecate(descriptor.get, message, code),\n\t\t\t\tset: descriptor.set && util.deprecate(descriptor.set, message, code)\n\t\t\t});\n\t\t} else {\n\t\t\tlet value = descriptor.value;\n\t\t\tObject.defineProperty(newObj, name, {\n\t\t\t\tconfigurable: descriptor.configurable,\n\t\t\t\tenumerable: descriptor.enumerable,\n\t\t\t\tget: util.deprecate(() => value, message, code),\n\t\t\t\tset: descriptor.writable\n\t\t\t\t\t? util.deprecate(v => (value = v), message, code)\n\t\t\t\t\t: undefined\n\t\t\t});\n\t\t}\n\t}\n\treturn /** @type {T} */ (newObj);\n};\nexports.deprecateAllProperties = deprecateAllProperties;\n\n/**\n * @template T\n * @param {T} fakeHook fake hook implementation\n * @param {string=} message deprecation message (not deprecated when unset)\n * @param {string=} code deprecation code (not deprecated when unset)\n * @returns {FakeHook<T>} fake hook which redirects\n */\nexports.createFakeHook = (fakeHook, message, code) => {\n\tif (message && code) {\n\t\tfakeHook = deprecateAllProperties(fakeHook, message, code);\n\t}\n\treturn Object.freeze(\n\t\tObject.assign(fakeHook, { _fakeHook: /** @type {true} */ (true) })\n\t);\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/deprecation.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/deterministicGrouping.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/util/deterministicGrouping.js ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n// Simulations show these probabilities for a single change\n// 93.1% that one group is invalidated\n// 4.8% that two groups are invalidated\n// 1.1% that 3 groups are invalidated\n// 0.1% that 4 or more groups are invalidated\n//\n// And these for removing/adding 10 lexically adjacent files\n// 64.5% that one group is invalidated\n// 24.8% that two groups are invalidated\n// 7.8% that 3 groups are invalidated\n// 2.7% that 4 or more groups are invalidated\n//\n// And these for removing/adding 3 random files\n// 0% that one group is invalidated\n// 3.7% that two groups are invalidated\n// 80.8% that 3 groups are invalidated\n// 12.3% that 4 groups are invalidated\n// 3.2% that 5 or more groups are invalidated\n\n/**\n *\n * @param {string} a key\n * @param {string} b key\n * @returns {number} the similarity as number\n */\nconst similarity = (a, b) => {\n\tconst l = Math.min(a.length, b.length);\n\tlet dist = 0;\n\tfor (let i = 0; i < l; i++) {\n\t\tconst ca = a.charCodeAt(i);\n\t\tconst cb = b.charCodeAt(i);\n\t\tdist += Math.max(0, 10 - Math.abs(ca - cb));\n\t}\n\treturn dist;\n};\n\n/**\n * @param {string} a key\n * @param {string} b key\n * @param {Set<string>} usedNames set of already used names\n * @returns {string} the common part and a single char for the difference\n */\nconst getName = (a, b, usedNames) => {\n\tconst l = Math.min(a.length, b.length);\n\tlet i = 0;\n\twhile (i < l) {\n\t\tif (a.charCodeAt(i) !== b.charCodeAt(i)) {\n\t\t\ti++;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n\t}\n\twhile (i < l) {\n\t\tconst name = a.slice(0, i);\n\t\tconst lowerName = name.toLowerCase();\n\t\tif (!usedNames.has(lowerName)) {\n\t\t\tusedNames.add(lowerName);\n\t\t\treturn name;\n\t\t}\n\t\ti++;\n\t}\n\t// names always contain a hash, so this is always unique\n\t// we don't need to check usedNames nor add it\n\treturn a;\n};\n\n/**\n * @param {Record<string, number>} total total size\n * @param {Record<string, number>} size single size\n * @returns {void}\n */\nconst addSizeTo = (total, size) => {\n\tfor (const key of Object.keys(size)) {\n\t\ttotal[key] = (total[key] || 0) + size[key];\n\t}\n};\n\n/**\n * @param {Record<string, number>} total total size\n * @param {Record<string, number>} size single size\n * @returns {void}\n */\nconst subtractSizeFrom = (total, size) => {\n\tfor (const key of Object.keys(size)) {\n\t\ttotal[key] -= size[key];\n\t}\n};\n\n/**\n * @param {Iterable<Node>} nodes some nodes\n * @returns {Record<string, number>} total size\n */\nconst sumSize = nodes => {\n\tconst sum = Object.create(null);\n\tfor (const node of nodes) {\n\t\taddSizeTo(sum, node.size);\n\t}\n\treturn sum;\n};\n\nconst isTooBig = (size, maxSize) => {\n\tfor (const key of Object.keys(size)) {\n\t\tconst s = size[key];\n\t\tif (s === 0) continue;\n\t\tconst maxSizeValue = maxSize[key];\n\t\tif (typeof maxSizeValue === \"number\") {\n\t\t\tif (s > maxSizeValue) return true;\n\t\t}\n\t}\n\treturn false;\n};\n\nconst isTooSmall = (size, minSize) => {\n\tfor (const key of Object.keys(size)) {\n\t\tconst s = size[key];\n\t\tif (s === 0) continue;\n\t\tconst minSizeValue = minSize[key];\n\t\tif (typeof minSizeValue === \"number\") {\n\t\t\tif (s < minSizeValue) return true;\n\t\t}\n\t}\n\treturn false;\n};\n\nconst getTooSmallTypes = (size, minSize) => {\n\tconst types = new Set();\n\tfor (const key of Object.keys(size)) {\n\t\tconst s = size[key];\n\t\tif (s === 0) continue;\n\t\tconst minSizeValue = minSize[key];\n\t\tif (typeof minSizeValue === \"number\") {\n\t\t\tif (s < minSizeValue) types.add(key);\n\t\t}\n\t}\n\treturn types;\n};\n\nconst getNumberOfMatchingSizeTypes = (size, types) => {\n\tlet i = 0;\n\tfor (const key of Object.keys(size)) {\n\t\tif (size[key] !== 0 && types.has(key)) i++;\n\t}\n\treturn i;\n};\n\nconst selectiveSizeSum = (size, types) => {\n\tlet sum = 0;\n\tfor (const key of Object.keys(size)) {\n\t\tif (size[key] !== 0 && types.has(key)) sum += size[key];\n\t}\n\treturn sum;\n};\n\n/**\n * @template T\n */\nclass Node {\n\t/**\n\t * @param {T} item item\n\t * @param {string} key key\n\t * @param {Record<string, number>} size size\n\t */\n\tconstructor(item, key, size) {\n\t\tthis.item = item;\n\t\tthis.key = key;\n\t\tthis.size = size;\n\t}\n}\n\n/**\n * @template T\n */\nclass Group {\n\t/**\n\t * @param {Node<T>[]} nodes nodes\n\t * @param {number[]} similarities similarities between the nodes (length = nodes.length - 1)\n\t * @param {Record<string, number>=} size size of the group\n\t */\n\tconstructor(nodes, similarities, size) {\n\t\tthis.nodes = nodes;\n\t\tthis.similarities = similarities;\n\t\tthis.size = size || sumSize(nodes);\n\t\t/** @type {string} */\n\t\tthis.key = undefined;\n\t}\n\n\t/**\n\t * @param {function(Node): boolean} filter filter function\n\t * @returns {Node[]} removed nodes\n\t */\n\tpopNodes(filter) {\n\t\tconst newNodes = [];\n\t\tconst newSimilarities = [];\n\t\tconst resultNodes = [];\n\t\tlet lastNode;\n\t\tfor (let i = 0; i < this.nodes.length; i++) {\n\t\t\tconst node = this.nodes[i];\n\t\t\tif (filter(node)) {\n\t\t\t\tresultNodes.push(node);\n\t\t\t} else {\n\t\t\t\tif (newNodes.length > 0) {\n\t\t\t\t\tnewSimilarities.push(\n\t\t\t\t\t\tlastNode === this.nodes[i - 1]\n\t\t\t\t\t\t\t? this.similarities[i - 1]\n\t\t\t\t\t\t\t: similarity(lastNode.key, node.key)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tnewNodes.push(node);\n\t\t\t\tlastNode = node;\n\t\t\t}\n\t\t}\n\t\tif (resultNodes.length === this.nodes.length) return undefined;\n\t\tthis.nodes = newNodes;\n\t\tthis.similarities = newSimilarities;\n\t\tthis.size = sumSize(newNodes);\n\t\treturn resultNodes;\n\t}\n}\n\n/**\n * @param {Iterable<Node>} nodes nodes\n * @returns {number[]} similarities\n */\nconst getSimilarities = nodes => {\n\t// calculate similarities between lexically adjacent nodes\n\t/** @type {number[]} */\n\tconst similarities = [];\n\tlet last = undefined;\n\tfor (const node of nodes) {\n\t\tif (last !== undefined) {\n\t\t\tsimilarities.push(similarity(last.key, node.key));\n\t\t}\n\t\tlast = node;\n\t}\n\treturn similarities;\n};\n\n/**\n * @template T\n * @typedef {Object} GroupedItems<T>\n * @property {string} key\n * @property {T[]} items\n * @property {Record<string, number>} size\n */\n\n/**\n * @template T\n * @typedef {Object} Options\n * @property {Record<string, number>} maxSize maximum size of a group\n * @property {Record<string, number>} minSize minimum size of a group (preferred over maximum size)\n * @property {Iterable<T>} items a list of items\n * @property {function(T): Record<string, number>} getSize function to get size of an item\n * @property {function(T): string} getKey function to get the key of an item\n */\n\n/**\n * @template T\n * @param {Options<T>} options options object\n * @returns {GroupedItems<T>[]} grouped items\n */\nmodule.exports = ({ maxSize, minSize, items, getSize, getKey }) => {\n\t/** @type {Group<T>[]} */\n\tconst result = [];\n\n\tconst nodes = Array.from(\n\t\titems,\n\t\titem => new Node(item, getKey(item), getSize(item))\n\t);\n\n\t/** @type {Node<T>[]} */\n\tconst initialNodes = [];\n\n\t// lexically ordering of keys\n\tnodes.sort((a, b) => {\n\t\tif (a.key < b.key) return -1;\n\t\tif (a.key > b.key) return 1;\n\t\treturn 0;\n\t});\n\n\t// return nodes bigger than maxSize directly as group\n\t// But make sure that minSize is not violated\n\tfor (const node of nodes) {\n\t\tif (isTooBig(node.size, maxSize) && !isTooSmall(node.size, minSize)) {\n\t\t\tresult.push(new Group([node], []));\n\t\t} else {\n\t\t\tinitialNodes.push(node);\n\t\t}\n\t}\n\n\tif (initialNodes.length > 0) {\n\t\tconst initialGroup = new Group(initialNodes, getSimilarities(initialNodes));\n\n\t\tconst removeProblematicNodes = (group, consideredSize = group.size) => {\n\t\t\tconst problemTypes = getTooSmallTypes(consideredSize, minSize);\n\t\t\tif (problemTypes.size > 0) {\n\t\t\t\t// We hit an edge case where the working set is already smaller than minSize\n\t\t\t\t// We merge problematic nodes with the smallest result node to keep minSize intact\n\t\t\t\tconst problemNodes = group.popNodes(\n\t\t\t\t\tn => getNumberOfMatchingSizeTypes(n.size, problemTypes) > 0\n\t\t\t\t);\n\t\t\t\tif (problemNodes === undefined) return false;\n\t\t\t\t// Only merge it with result nodes that have the problematic size type\n\t\t\t\tconst possibleResultGroups = result.filter(\n\t\t\t\t\tn => getNumberOfMatchingSizeTypes(n.size, problemTypes) > 0\n\t\t\t\t);\n\t\t\t\tif (possibleResultGroups.length > 0) {\n\t\t\t\t\tconst bestGroup = possibleResultGroups.reduce((min, group) => {\n\t\t\t\t\t\tconst minMatches = getNumberOfMatchingSizeTypes(min, problemTypes);\n\t\t\t\t\t\tconst groupMatches = getNumberOfMatchingSizeTypes(\n\t\t\t\t\t\t\tgroup,\n\t\t\t\t\t\t\tproblemTypes\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (minMatches !== groupMatches)\n\t\t\t\t\t\t\treturn minMatches < groupMatches ? group : min;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tselectiveSizeSum(min.size, problemTypes) >\n\t\t\t\t\t\t\tselectiveSizeSum(group.size, problemTypes)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\treturn group;\n\t\t\t\t\t\treturn min;\n\t\t\t\t\t});\n\t\t\t\t\tfor (const node of problemNodes) bestGroup.nodes.push(node);\n\t\t\t\t\tbestGroup.nodes.sort((a, b) => {\n\t\t\t\t\t\tif (a.key < b.key) return -1;\n\t\t\t\t\t\tif (a.key > b.key) return 1;\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\t// There are no other nodes with the same size types\n\t\t\t\t\t// We create a new group and have to accept that it's smaller than minSize\n\t\t\t\t\tresult.push(new Group(problemNodes, null));\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t};\n\n\t\tif (initialGroup.nodes.length > 0) {\n\t\t\tconst queue = [initialGroup];\n\n\t\t\twhile (queue.length) {\n\t\t\t\tconst group = queue.pop();\n\t\t\t\t// only groups bigger than maxSize need to be splitted\n\t\t\t\tif (!isTooBig(group.size, maxSize)) {\n\t\t\t\t\tresult.push(group);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t// If the group is already too small\n\t\t\t\t// we try to work only with the unproblematic nodes\n\t\t\t\tif (removeProblematicNodes(group)) {\n\t\t\t\t\t// This changed something, so we try this group again\n\t\t\t\t\tqueue.push(group);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// find unsplittable area from left and right\n\t\t\t\t// going minSize from left and right\n\t\t\t\t// at least one node need to be included otherwise we get stuck\n\t\t\t\tlet left = 1;\n\t\t\t\tlet leftSize = Object.create(null);\n\t\t\t\taddSizeTo(leftSize, group.nodes[0].size);\n\t\t\t\twhile (left < group.nodes.length && isTooSmall(leftSize, minSize)) {\n\t\t\t\t\taddSizeTo(leftSize, group.nodes[left].size);\n\t\t\t\t\tleft++;\n\t\t\t\t}\n\t\t\t\tlet right = group.nodes.length - 2;\n\t\t\t\tlet rightSize = Object.create(null);\n\t\t\t\taddSizeTo(rightSize, group.nodes[group.nodes.length - 1].size);\n\t\t\t\twhile (right >= 0 && isTooSmall(rightSize, minSize)) {\n\t\t\t\t\taddSizeTo(rightSize, group.nodes[right].size);\n\t\t\t\t\tright--;\n\t\t\t\t}\n\n\t\t\t\t// left v v right\n\t\t\t\t// [ O O O ] O O O [ O O O ]\n\t\t\t\t// ^^^^^^^^^ leftSize\n\t\t\t\t// rightSize ^^^^^^^^^\n\t\t\t\t// leftSize > minSize\n\t\t\t\t// rightSize > minSize\n\n\t\t\t\t// Perfect split: [ O O O ] [ O O O ]\n\t\t\t\t// right === left - 1\n\n\t\t\t\tif (left - 1 > right) {\n\t\t\t\t\t// We try to remove some problematic nodes to \"fix\" that\n\t\t\t\t\tlet prevSize;\n\t\t\t\t\tif (right < group.nodes.length - left) {\n\t\t\t\t\t\tsubtractSizeFrom(rightSize, group.nodes[right + 1].size);\n\t\t\t\t\t\tprevSize = rightSize;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsubtractSizeFrom(leftSize, group.nodes[left - 1].size);\n\t\t\t\t\t\tprevSize = leftSize;\n\t\t\t\t\t}\n\t\t\t\t\tif (removeProblematicNodes(group, prevSize)) {\n\t\t\t\t\t\t// This changed something, so we try this group again\n\t\t\t\t\t\tqueue.push(group);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// can't split group while holding minSize\n\t\t\t\t\t// because minSize is preferred of maxSize we return\n\t\t\t\t\t// the problematic nodes as result here even while it's too big\n\t\t\t\t\t// To avoid this make sure maxSize > minSize * 3\n\t\t\t\t\tresult.push(group);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (left <= right) {\n\t\t\t\t\t// when there is a area between left and right\n\t\t\t\t\t// we look for best split point\n\t\t\t\t\t// we split at the minimum similarity\n\t\t\t\t\t// here key space is separated the most\n\t\t\t\t\t// But we also need to make sure to not create too small groups\n\t\t\t\t\tlet best = -1;\n\t\t\t\t\tlet bestSimilarity = Infinity;\n\t\t\t\t\tlet pos = left;\n\t\t\t\t\tlet rightSize = sumSize(group.nodes.slice(pos));\n\n\t\t\t\t\t// pos v v right\n\t\t\t\t\t// [ O O O ] O O O [ O O O ]\n\t\t\t\t\t// ^^^^^^^^^ leftSize\n\t\t\t\t\t// rightSize ^^^^^^^^^^^^^^^\n\n\t\t\t\t\twhile (pos <= right + 1) {\n\t\t\t\t\t\tconst similarity = group.similarities[pos - 1];\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\tsimilarity < bestSimilarity &&\n\t\t\t\t\t\t\t!isTooSmall(leftSize, minSize) &&\n\t\t\t\t\t\t\t!isTooSmall(rightSize, minSize)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tbest = pos;\n\t\t\t\t\t\t\tbestSimilarity = similarity;\n\t\t\t\t\t\t}\n\t\t\t\t\t\taddSizeTo(leftSize, group.nodes[pos].size);\n\t\t\t\t\t\tsubtractSizeFrom(rightSize, group.nodes[pos].size);\n\t\t\t\t\t\tpos++;\n\t\t\t\t\t}\n\t\t\t\t\tif (best < 0) {\n\t\t\t\t\t\t// This can't happen\n\t\t\t\t\t\t// but if that assumption is wrong\n\t\t\t\t\t\t// fallback to a big group\n\t\t\t\t\t\tresult.push(group);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tleft = best;\n\t\t\t\t\tright = best - 1;\n\t\t\t\t}\n\n\t\t\t\t// create two new groups for left and right area\n\t\t\t\t// and queue them up\n\t\t\t\tconst rightNodes = [group.nodes[right + 1]];\n\t\t\t\t/** @type {number[]} */\n\t\t\t\tconst rightSimilarities = [];\n\t\t\t\tfor (let i = right + 2; i < group.nodes.length; i++) {\n\t\t\t\t\trightSimilarities.push(group.similarities[i - 1]);\n\t\t\t\t\trightNodes.push(group.nodes[i]);\n\t\t\t\t}\n\t\t\t\tqueue.push(new Group(rightNodes, rightSimilarities));\n\n\t\t\t\tconst leftNodes = [group.nodes[0]];\n\t\t\t\t/** @type {number[]} */\n\t\t\t\tconst leftSimilarities = [];\n\t\t\t\tfor (let i = 1; i < left; i++) {\n\t\t\t\t\tleftSimilarities.push(group.similarities[i - 1]);\n\t\t\t\t\tleftNodes.push(group.nodes[i]);\n\t\t\t\t}\n\t\t\t\tqueue.push(new Group(leftNodes, leftSimilarities));\n\t\t\t}\n\t\t}\n\t}\n\n\t// lexically ordering\n\tresult.sort((a, b) => {\n\t\tif (a.nodes[0].key < b.nodes[0].key) return -1;\n\t\tif (a.nodes[0].key > b.nodes[0].key) return 1;\n\t\treturn 0;\n\t});\n\n\t// give every group a name\n\tconst usedNames = new Set();\n\tfor (let i = 0; i < result.length; i++) {\n\t\tconst group = result[i];\n\t\tif (group.nodes.length === 1) {\n\t\t\tgroup.key = group.nodes[0].key;\n\t\t} else {\n\t\t\tconst first = group.nodes[0];\n\t\t\tconst last = group.nodes[group.nodes.length - 1];\n\t\t\tconst name = getName(first.key, last.key, usedNames);\n\t\t\tgroup.key = name;\n\t\t}\n\t}\n\n\t// return the results\n\treturn result.map(group => {\n\t\t/** @type {GroupedItems<T>} */\n\t\treturn {\n\t\t\tkey: group.key,\n\t\t\titems: group.nodes.map(node => node.item),\n\t\t\tsize: group.size\n\t\t};\n\t});\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/deterministicGrouping.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/extractUrlAndGlobal.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/lib/util/extractUrlAndGlobal.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Sam Chen @chenxsan\n*/\n\n\n\n/**\n * @param {string} urlAndGlobal the script request\n * @returns {string[]} script url and its global variable\n */\nmodule.exports = function extractUrlAndGlobal(urlAndGlobal) {\n\tconst index = urlAndGlobal.indexOf(\"@\");\n\tif (index <= 0 || index === urlAndGlobal.length - 1) {\n\t\tthrow new Error(`Invalid request \"${urlAndGlobal}\"`);\n\t}\n\treturn [urlAndGlobal.substring(index + 1), urlAndGlobal.substring(0, index)];\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/extractUrlAndGlobal.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/findGraphRoots.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/util/findGraphRoots.js ***! \*********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst NO_MARKER = 0;\nconst IN_PROGRESS_MARKER = 1;\nconst DONE_MARKER = 2;\nconst DONE_MAYBE_ROOT_CYCLE_MARKER = 3;\nconst DONE_AND_ROOT_MARKER = 4;\n\n/**\n * @template T\n */\nclass Node {\n\t/**\n\t * @param {T} item the value of the node\n\t */\n\tconstructor(item) {\n\t\tthis.item = item;\n\t\t/** @type {Set<Node<T>>} */\n\t\tthis.dependencies = new Set();\n\t\tthis.marker = NO_MARKER;\n\t\t/** @type {Cycle<T> | undefined} */\n\t\tthis.cycle = undefined;\n\t\tthis.incoming = 0;\n\t}\n}\n\n/**\n * @template T\n */\nclass Cycle {\n\tconstructor() {\n\t\t/** @type {Set<Node<T>>} */\n\t\tthis.nodes = new Set();\n\t}\n}\n\n/**\n * @template T\n * @typedef {Object} StackEntry\n * @property {Node<T>} node\n * @property {Node<T>[]} openEdges\n */\n\n/**\n * @template T\n * @param {Iterable<T>} items list of items\n * @param {function(T): Iterable<T>} getDependencies function to get dependencies of an item (items that are not in list are ignored)\n * @returns {Iterable<T>} graph roots of the items\n */\nmodule.exports = (items, getDependencies) => {\n\t/** @type {Map<T, Node<T>>} */\n\tconst itemToNode = new Map();\n\tfor (const item of items) {\n\t\tconst node = new Node(item);\n\t\titemToNode.set(item, node);\n\t}\n\n\t// early exit when there is only a single item\n\tif (itemToNode.size <= 1) return items;\n\n\t// grab all the dependencies\n\tfor (const node of itemToNode.values()) {\n\t\tfor (const dep of getDependencies(node.item)) {\n\t\t\tconst depNode = itemToNode.get(dep);\n\t\t\tif (depNode !== undefined) {\n\t\t\t\tnode.dependencies.add(depNode);\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set of current root modules\n\t// items will be removed if a new reference to it has been found\n\t/** @type {Set<Node<T>>} */\n\tconst roots = new Set();\n\n\t// Set of current cycles without references to it\n\t// cycles will be removed if a new reference to it has been found\n\t// that is not part of the cycle\n\t/** @type {Set<Cycle<T>>} */\n\tconst rootCycles = new Set();\n\n\t// For all non-marked nodes\n\tfor (const selectedNode of itemToNode.values()) {\n\t\tif (selectedNode.marker === NO_MARKER) {\n\t\t\t// deep-walk all referenced modules\n\t\t\t// in a non-recursive way\n\n\t\t\t// start by entering the selected node\n\t\t\tselectedNode.marker = IN_PROGRESS_MARKER;\n\n\t\t\t// keep a stack to avoid recursive walk\n\t\t\t/** @type {StackEntry<T>[]} */\n\t\t\tconst stack = [\n\t\t\t\t{\n\t\t\t\t\tnode: selectedNode,\n\t\t\t\t\topenEdges: Array.from(selectedNode.dependencies)\n\t\t\t\t}\n\t\t\t];\n\n\t\t\t// process the top item until stack is empty\n\t\t\twhile (stack.length > 0) {\n\t\t\t\tconst topOfStack = stack[stack.length - 1];\n\n\t\t\t\t// Are there still edges unprocessed in the current node?\n\t\t\t\tif (topOfStack.openEdges.length > 0) {\n\t\t\t\t\t// Process one dependency\n\t\t\t\t\tconst dependency = topOfStack.openEdges.pop();\n\t\t\t\t\tswitch (dependency.marker) {\n\t\t\t\t\t\tcase NO_MARKER:\n\t\t\t\t\t\t\t// dependency has not be visited yet\n\t\t\t\t\t\t\t// mark it as in-progress and recurse\n\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\tnode: dependency,\n\t\t\t\t\t\t\t\topenEdges: Array.from(dependency.dependencies)\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tdependency.marker = IN_PROGRESS_MARKER;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase IN_PROGRESS_MARKER: {\n\t\t\t\t\t\t\t// It's a in-progress cycle\n\t\t\t\t\t\t\tlet cycle = dependency.cycle;\n\t\t\t\t\t\t\tif (!cycle) {\n\t\t\t\t\t\t\t\tcycle = new Cycle();\n\t\t\t\t\t\t\t\tcycle.nodes.add(dependency);\n\t\t\t\t\t\t\t\tdependency.cycle = cycle;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// set cycle property for each node in the cycle\n\t\t\t\t\t\t\t// if nodes are already part of a cycle\n\t\t\t\t\t\t\t// we merge the cycles to a shared cycle\n\t\t\t\t\t\t\tfor (\n\t\t\t\t\t\t\t\tlet i = stack.length - 1;\n\t\t\t\t\t\t\t\tstack[i].node !== dependency;\n\t\t\t\t\t\t\t\ti--\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tconst node = stack[i].node;\n\t\t\t\t\t\t\t\tif (node.cycle) {\n\t\t\t\t\t\t\t\t\tif (node.cycle !== cycle) {\n\t\t\t\t\t\t\t\t\t\t// merge cycles\n\t\t\t\t\t\t\t\t\t\tfor (const cycleNode of node.cycle.nodes) {\n\t\t\t\t\t\t\t\t\t\t\tcycleNode.cycle = cycle;\n\t\t\t\t\t\t\t\t\t\t\tcycle.nodes.add(cycleNode);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnode.cycle = cycle;\n\t\t\t\t\t\t\t\t\tcycle.nodes.add(node);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// don't recurse into dependencies\n\t\t\t\t\t\t\t// these are already on the stack\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase DONE_AND_ROOT_MARKER:\n\t\t\t\t\t\t\t// This node has be visited yet and is currently a root node\n\t\t\t\t\t\t\t// But as this is a new reference to the node\n\t\t\t\t\t\t\t// it's not really a root\n\t\t\t\t\t\t\t// so we have to convert it to a normal node\n\t\t\t\t\t\t\tdependency.marker = DONE_MARKER;\n\t\t\t\t\t\t\troots.delete(dependency);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase DONE_MAYBE_ROOT_CYCLE_MARKER:\n\t\t\t\t\t\t\t// This node has be visited yet and\n\t\t\t\t\t\t\t// is maybe currently part of a completed root cycle\n\t\t\t\t\t\t\t// we found a new reference to the cycle\n\t\t\t\t\t\t\t// so it's not really a root cycle\n\t\t\t\t\t\t\t// remove the cycle from the root cycles\n\t\t\t\t\t\t\t// and convert it to a normal node\n\t\t\t\t\t\t\trootCycles.delete(dependency.cycle);\n\t\t\t\t\t\t\tdependency.marker = DONE_MARKER;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t// DONE_MARKER: nothing to do, don't recurse into dependencies\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// All dependencies of the current node has been visited\n\t\t\t\t\t// we leave the node\n\t\t\t\t\tstack.pop();\n\t\t\t\t\ttopOfStack.node.marker = DONE_MARKER;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst cycle = selectedNode.cycle;\n\t\t\tif (cycle) {\n\t\t\t\tfor (const node of cycle.nodes) {\n\t\t\t\t\tnode.marker = DONE_MAYBE_ROOT_CYCLE_MARKER;\n\t\t\t\t}\n\t\t\t\trootCycles.add(cycle);\n\t\t\t} else {\n\t\t\t\tselectedNode.marker = DONE_AND_ROOT_MARKER;\n\t\t\t\troots.add(selectedNode);\n\t\t\t}\n\t\t}\n\t}\n\n\t// Extract roots from root cycles\n\t// We take the nodes with most incoming edges\n\t// inside of the cycle\n\tfor (const cycle of rootCycles) {\n\t\tlet max = 0;\n\t\t/** @type {Set<Node<T>>} */\n\t\tconst cycleRoots = new Set();\n\t\tconst nodes = cycle.nodes;\n\t\tfor (const node of nodes) {\n\t\t\tfor (const dep of node.dependencies) {\n\t\t\t\tif (nodes.has(dep)) {\n\t\t\t\t\tdep.incoming++;\n\t\t\t\t\tif (dep.incoming < max) continue;\n\t\t\t\t\tif (dep.incoming > max) {\n\t\t\t\t\t\tcycleRoots.clear();\n\t\t\t\t\t\tmax = dep.incoming;\n\t\t\t\t\t}\n\t\t\t\t\tcycleRoots.add(dep);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (const cycleRoot of cycleRoots) {\n\t\t\troots.add(cycleRoot);\n\t\t}\n\t}\n\n\t// When roots were found, return them\n\tif (roots.size > 0) {\n\t\treturn Array.from(roots, r => r.item);\n\t} else {\n\t\tthrow new Error(\"Implementation of findGraphRoots is broken\");\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/findGraphRoots.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/fs.js": /*!*********************************************!*\ !*** ./node_modules/webpack/lib/util/fs.js ***! \*********************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?d9c2\");\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").WatchOptions} WatchOptions */\n/** @typedef {import(\"../FileSystemInfo\").FileSystemInfoEntry} FileSystemInfoEntry */\n\n/**\n * @typedef {Object} IStats\n * @property {() => boolean} isFile\n * @property {() => boolean} isDirectory\n * @property {() => boolean} isBlockDevice\n * @property {() => boolean} isCharacterDevice\n * @property {() => boolean} isSymbolicLink\n * @property {() => boolean} isFIFO\n * @property {() => boolean} isSocket\n * @property {number | bigint} dev\n * @property {number | bigint} ino\n * @property {number | bigint} mode\n * @property {number | bigint} nlink\n * @property {number | bigint} uid\n * @property {number | bigint} gid\n * @property {number | bigint} rdev\n * @property {number | bigint} size\n * @property {number | bigint} blksize\n * @property {number | bigint} blocks\n * @property {number | bigint} atimeMs\n * @property {number | bigint} mtimeMs\n * @property {number | bigint} ctimeMs\n * @property {number | bigint} birthtimeMs\n * @property {Date} atime\n * @property {Date} mtime\n * @property {Date} ctime\n * @property {Date} birthtime\n */\n\n/**\n * @typedef {Object} IDirent\n * @property {() => boolean} isFile\n * @property {() => boolean} isDirectory\n * @property {() => boolean} isBlockDevice\n * @property {() => boolean} isCharacterDevice\n * @property {() => boolean} isSymbolicLink\n * @property {() => boolean} isFIFO\n * @property {() => boolean} isSocket\n * @property {string | Buffer} name\n */\n\n/** @typedef {function((NodeJS.ErrnoException | null)=): void} Callback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, Buffer=): void} BufferCallback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, Buffer|string=): void} BufferOrStringCallback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, (string | Buffer)[] | IDirent[]=): void} DirentArrayCallback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, string=): void} StringCallback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, number=): void} NumberCallback */\n/** @typedef {function((NodeJS.ErrnoException | null)=, IStats=): void} StatsCallback */\n/** @typedef {function((NodeJS.ErrnoException | Error | null)=, any=): void} ReadJsonCallback */\n/** @typedef {function((NodeJS.ErrnoException | Error | null)=, IStats|string=): void} LstatReadlinkAbsoluteCallback */\n\n/**\n * @typedef {Object} WatcherInfo\n * @property {Set<string>} changes get current aggregated changes that have not yet send to callback\n * @property {Set<string>} removals get current aggregated removals that have not yet send to callback\n * @property {Map<string, FileSystemInfoEntry | \"ignore\">} fileTimeInfoEntries get info about files\n * @property {Map<string, FileSystemInfoEntry | \"ignore\">} contextTimeInfoEntries get info about directories\n */\n\n// TODO webpack 6 deprecate missing getInfo\n/**\n * @typedef {Object} Watcher\n * @property {function(): void} close closes the watcher and all underlying file watchers\n * @property {function(): void} pause closes the watcher, but keeps underlying file watchers alive until the next watch call\n * @property {function(): Set<string>=} getAggregatedChanges get current aggregated changes that have not yet send to callback\n * @property {function(): Set<string>=} getAggregatedRemovals get current aggregated removals that have not yet send to callback\n * @property {function(): Map<string, FileSystemInfoEntry | \"ignore\">} getFileTimeInfoEntries get info about files\n * @property {function(): Map<string, FileSystemInfoEntry | \"ignore\">} getContextTimeInfoEntries get info about directories\n * @property {function(): WatcherInfo=} getInfo get info about timestamps and changes\n */\n\n/**\n * @callback WatchMethod\n * @param {Iterable<string>} files watched files\n * @param {Iterable<string>} directories watched directories\n * @param {Iterable<string>} missing watched exitance entries\n * @param {number} startTime timestamp of start time\n * @param {WatchOptions} options options object\n * @param {function(Error=, Map<string, FileSystemInfoEntry | \"ignore\">, Map<string, FileSystemInfoEntry | \"ignore\">, Set<string>, Set<string>): void} callback aggregated callback\n * @param {function(string, number): void} callbackUndelayed callback when the first change was detected\n * @returns {Watcher} a watcher\n */\n\n// TODO webpack 6 make optional methods required\n\n/**\n * @typedef {Object} OutputFileSystem\n * @property {function(string, Buffer|string, Callback): void} writeFile\n * @property {function(string, Callback): void} mkdir\n * @property {function(string, DirentArrayCallback): void=} readdir\n * @property {function(string, Callback): void=} rmdir\n * @property {function(string, Callback): void=} unlink\n * @property {function(string, StatsCallback): void} stat\n * @property {function(string, StatsCallback): void=} lstat\n * @property {function(string, BufferOrStringCallback): void} readFile\n * @property {(function(string, string): string)=} join\n * @property {(function(string, string): string)=} relative\n * @property {(function(string): string)=} dirname\n */\n\n/**\n * @typedef {Object} InputFileSystem\n * @property {function(string, BufferOrStringCallback): void} readFile\n * @property {(function(string, ReadJsonCallback): void)=} readJson\n * @property {function(string, BufferOrStringCallback): void} readlink\n * @property {function(string, DirentArrayCallback): void} readdir\n * @property {function(string, StatsCallback): void} stat\n * @property {function(string, StatsCallback): void=} lstat\n * @property {(function(string, BufferOrStringCallback): void)=} realpath\n * @property {(function(string=): void)=} purge\n * @property {(function(string, string): string)=} join\n * @property {(function(string, string): string)=} relative\n * @property {(function(string): string)=} dirname\n */\n\n/**\n * @typedef {Object} WatchFileSystem\n * @property {WatchMethod} watch\n */\n\n/**\n * @typedef {Object} IntermediateFileSystemExtras\n * @property {function(string): void} mkdirSync\n * @property {function(string): NodeJS.WritableStream} createWriteStream\n * @property {function(string, string, NumberCallback): void} open\n * @property {function(number, Buffer, number, number, number, NumberCallback): void} read\n * @property {function(number, Callback): void} close\n * @property {function(string, string, Callback): void} rename\n */\n\n/** @typedef {InputFileSystem & OutputFileSystem & IntermediateFileSystemExtras} IntermediateFileSystem */\n\n/**\n *\n * @param {InputFileSystem|OutputFileSystem|undefined} fs a file system\n * @param {string} rootPath the root path\n * @param {string} targetPath the target path\n * @returns {string} location of targetPath relative to rootPath\n */\nconst relative = (fs, rootPath, targetPath) => {\n\tif (fs && fs.relative) {\n\t\treturn fs.relative(rootPath, targetPath);\n\t} else if (path.posix.isAbsolute(rootPath)) {\n\t\treturn path.posix.relative(rootPath, targetPath);\n\t} else if (path.win32.isAbsolute(rootPath)) {\n\t\treturn path.win32.relative(rootPath, targetPath);\n\t} else {\n\t\tthrow new Error(\n\t\t\t`${rootPath} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`\n\t\t);\n\t}\n};\nexports.relative = relative;\n\n/**\n * @param {InputFileSystem|OutputFileSystem|undefined} fs a file system\n * @param {string} rootPath a path\n * @param {string} filename a filename\n * @returns {string} the joined path\n */\nconst join = (fs, rootPath, filename) => {\n\tif (fs && fs.join) {\n\t\treturn fs.join(rootPath, filename);\n\t} else if (path.posix.isAbsolute(rootPath)) {\n\t\treturn path.posix.join(rootPath, filename);\n\t} else if (path.win32.isAbsolute(rootPath)) {\n\t\treturn path.win32.join(rootPath, filename);\n\t} else {\n\t\tthrow new Error(\n\t\t\t`${rootPath} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`\n\t\t);\n\t}\n};\nexports.join = join;\n\n/**\n * @param {InputFileSystem|OutputFileSystem|undefined} fs a file system\n * @param {string} absPath an absolute path\n * @returns {string} the parent directory of the absolute path\n */\nconst dirname = (fs, absPath) => {\n\tif (fs && fs.dirname) {\n\t\treturn fs.dirname(absPath);\n\t} else if (path.posix.isAbsolute(absPath)) {\n\t\treturn path.posix.dirname(absPath);\n\t} else if (path.win32.isAbsolute(absPath)) {\n\t\treturn path.win32.dirname(absPath);\n\t} else {\n\t\tthrow new Error(\n\t\t\t`${absPath} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`\n\t\t);\n\t}\n};\nexports.dirname = dirname;\n\n/**\n * @param {OutputFileSystem} fs a file system\n * @param {string} p an absolute path\n * @param {function(Error=): void} callback callback function for the error\n * @returns {void}\n */\nconst mkdirp = (fs, p, callback) => {\n\tfs.mkdir(p, err => {\n\t\tif (err) {\n\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\tconst dir = dirname(fs, p);\n\t\t\t\tif (dir === p) {\n\t\t\t\t\tcallback(err);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tmkdirp(fs, dir, err => {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tfs.mkdir(p, err => {\n\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\tif (err.code === \"EEXIST\") {\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcallback(err);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback();\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t} else if (err.code === \"EEXIST\") {\n\t\t\t\tcallback();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcallback(err);\n\t\t\treturn;\n\t\t}\n\t\tcallback();\n\t});\n};\nexports.mkdirp = mkdirp;\n\n/**\n * @param {IntermediateFileSystem} fs a file system\n * @param {string} p an absolute path\n * @returns {void}\n */\nconst mkdirpSync = (fs, p) => {\n\ttry {\n\t\tfs.mkdirSync(p);\n\t} catch (err) {\n\t\tif (err) {\n\t\t\tif (err.code === \"ENOENT\") {\n\t\t\t\tconst dir = dirname(fs, p);\n\t\t\t\tif (dir === p) {\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\t\t\t\tmkdirpSync(fs, dir);\n\t\t\t\tfs.mkdirSync(p);\n\t\t\t\treturn;\n\t\t\t} else if (err.code === \"EEXIST\") {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthrow err;\n\t\t}\n\t}\n};\nexports.mkdirpSync = mkdirpSync;\n\n/**\n * @param {InputFileSystem} fs a file system\n * @param {string} p an absolute path\n * @param {ReadJsonCallback} callback callback\n * @returns {void}\n */\nconst readJson = (fs, p, callback) => {\n\tif (\"readJson\" in fs) return fs.readJson(p, callback);\n\tfs.readFile(p, (err, buf) => {\n\t\tif (err) return callback(err);\n\t\tlet data;\n\t\ttry {\n\t\t\tdata = JSON.parse(buf.toString(\"utf-8\"));\n\t\t} catch (e) {\n\t\t\treturn callback(e);\n\t\t}\n\t\treturn callback(null, data);\n\t});\n};\nexports.readJson = readJson;\n\n/**\n * @param {InputFileSystem} fs a file system\n * @param {string} p an absolute path\n * @param {ReadJsonCallback} callback callback\n * @returns {void}\n */\nconst lstatReadlinkAbsolute = (fs, p, callback) => {\n\tlet i = 3;\n\tconst doReadLink = () => {\n\t\tfs.readlink(p, (err, target) => {\n\t\t\tif (err && --i > 0) {\n\t\t\t\t// It might was just changed from symlink to file\n\t\t\t\t// we retry 2 times to catch this case before throwing the error\n\t\t\t\treturn doStat();\n\t\t\t}\n\t\t\tif (err || !target) return doStat();\n\t\t\tconst value = target.toString();\n\t\t\tcallback(null, join(fs, dirname(fs, p), value));\n\t\t});\n\t};\n\tconst doStat = () => {\n\t\tif (\"lstat\" in fs) {\n\t\t\treturn fs.lstat(p, (err, stats) => {\n\t\t\t\tif (err) return callback(err);\n\t\t\t\tif (stats.isSymbolicLink()) {\n\t\t\t\t\treturn doReadLink();\n\t\t\t\t}\n\t\t\t\tcallback(null, stats);\n\t\t\t});\n\t\t} else {\n\t\t\treturn fs.stat(p, callback);\n\t\t}\n\t};\n\tif (\"lstat\" in fs) return doStat();\n\tdoReadLink();\n};\nexports.lstatReadlinkAbsolute = lstatReadlinkAbsolute;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/fs.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/hash/BatchedHash.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/util/hash/BatchedHash.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Hash = __webpack_require__(/*! ../Hash */ \"./node_modules/webpack/lib/util/Hash.js\");\nconst MAX_SHORT_STRING = (__webpack_require__(/*! ./wasm-hash */ \"./node_modules/webpack/lib/util/hash/wasm-hash.js\").MAX_SHORT_STRING);\n\nclass BatchedHash extends Hash {\n\tconstructor(hash) {\n\t\tsuper();\n\t\tthis.string = undefined;\n\t\tthis.encoding = undefined;\n\t\tthis.hash = hash;\n\t}\n\n\t/**\n\t * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}\n\t * @param {string|Buffer} data data\n\t * @param {string=} inputEncoding data encoding\n\t * @returns {this} updated hash\n\t */\n\tupdate(data, inputEncoding) {\n\t\tif (this.string !== undefined) {\n\t\t\tif (\n\t\t\t\ttypeof data === \"string\" &&\n\t\t\t\tinputEncoding === this.encoding &&\n\t\t\t\tthis.string.length + data.length < MAX_SHORT_STRING\n\t\t\t) {\n\t\t\t\tthis.string += data;\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tthis.hash.update(this.string, this.encoding);\n\t\t\tthis.string = undefined;\n\t\t}\n\t\tif (typeof data === \"string\") {\n\t\t\tif (\n\t\t\t\tdata.length < MAX_SHORT_STRING &&\n\t\t\t\t// base64 encoding is not valid since it may contain padding chars\n\t\t\t\t(!inputEncoding || !inputEncoding.startsWith(\"ba\"))\n\t\t\t) {\n\t\t\t\tthis.string = data;\n\t\t\t\tthis.encoding = inputEncoding;\n\t\t\t} else {\n\t\t\t\tthis.hash.update(data, inputEncoding);\n\t\t\t}\n\t\t} else {\n\t\t\tthis.hash.update(data);\n\t\t}\n\t\treturn this;\n\t}\n\n\t/**\n\t * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}\n\t * @param {string=} encoding encoding of the return value\n\t * @returns {string|Buffer} digest\n\t */\n\tdigest(encoding) {\n\t\tif (this.string !== undefined) {\n\t\t\tthis.hash.update(this.string, this.encoding);\n\t\t}\n\t\treturn this.hash.digest(encoding);\n\t}\n}\n\nmodule.exports = BatchedHash;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/hash/BatchedHash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/hash/md4.js": /*!***************************************************!*\ !*** ./node_modules/webpack/lib/util/hash/md4.js ***! \***************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst create = __webpack_require__(/*! ./wasm-hash */ \"./node_modules/webpack/lib/util/hash/wasm-hash.js\");\n\n//#region wasm code: md4 (../../../assembly/hash/md4.asm.ts) --initialMemory 1\nconst md4 = new WebAssembly.Module(\n\tBuffer.from(\n\t\t// 2156 bytes\n\t\t\"AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqLEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvSCgEZfyMBIQUjAiECIwMhAyMEIQQDQCAAIAFLBEAgASgCJCISIAEoAiAiEyABKAIcIgkgASgCGCIIIAEoAhQiByABKAIQIg4gASgCDCIGIAEoAggiDyABKAIEIhAgASgCACIRIAMgBHMgAnEgBHMgBWpqQQN3IgogAiADc3EgA3MgBGpqQQd3IgsgAiAKc3EgAnMgA2pqQQt3IgwgCiALc3EgCnMgAmpqQRN3Ig0gCyAMc3EgC3MgCmpqQQN3IgogDCANc3EgDHMgC2pqQQd3IgsgCiANc3EgDXMgDGpqQQt3IgwgCiALc3EgCnMgDWpqQRN3Ig0gCyAMc3EgC3MgCmpqQQN3IhQgDCANc3EgDHMgC2pqQQd3IRUgASgCLCILIAEoAigiCiAMIA0gDSAUcyAVcXNqakELdyIWIBQgFXNxIBRzIA1qakETdyEXIAEoAjQiGCABKAIwIhkgFSAWcyAXcSAVcyAUampBA3ciFCAWIBdzcSAWcyAVampBB3chFSABKAI8Ig0gASgCOCIMIBQgF3MgFXEgF3MgFmpqQQt3IhYgFCAVc3EgFHMgF2pqQRN3IRcgEyAOIBEgFCAVIBZyIBdxIBUgFnFyampBmfOJ1AVqQQN3IhQgFiAXcnEgFiAXcXIgFWpqQZnzidQFakEFdyIVIBQgF3JxIBQgF3FyIBZqakGZ84nUBWpBCXchFiAPIBggEiAWIAcgFSAQIBQgGSAUIBVyIBZxIBQgFXFyIBdqakGZ84nUBWpBDXciFCAVIBZycSAVIBZxcmpqQZnzidQFakEDdyIVIBQgFnJxIBQgFnFyampBmfOJ1AVqQQV3IhcgFCAVcnEgFCAVcXJqakGZ84nUBWpBCXciFiAVIBdycSAVIBdxciAUampBmfOJ1AVqQQ13IhQgFiAXcnEgFiAXcXIgFWpqQZnzidQFakEDdyEVIBEgBiAVIAwgFCAKIBYgCCAUIBZyIBVxIBQgFnFyIBdqakGZ84nUBWpBBXciFyAUIBVycSAUIBVxcmpqQZnzidQFakEJdyIWIBUgF3JxIBUgF3FyampBmfOJ1AVqQQ13IhQgFiAXcnEgFiAXcXJqakGZ84nUBWpBA3ciFSALIBYgCSAUIBZyIBVxIBQgFnFyIBdqakGZ84nUBWpBBXciFiAUIBVycSAUIBVxcmpqQZnzidQFakEJdyIXIA0gFSAWciAXcSAVIBZxciAUampBmfOJ1AVqQQ13IhRzIBZzampBodfn9gZqQQN3IREgByAIIA4gFCARIBcgESAUc3MgFmogE2pBodfn9gZqQQl3IhNzcyAXampBodfn9gZqQQt3Ig4gDyARIBMgDiARIA4gE3NzIBRqIBlqQaHX5/YGakEPdyIRc3NqakGh1+f2BmpBA3ciDyAOIA8gEXNzIBNqIApqQaHX5/YGakEJdyIKcyARc2pqQaHX5/YGakELdyIIIBAgDyAKIAggDCAPIAggCnNzIBFqakGh1+f2BmpBD3ciDHNzampBodfn9gZqQQN3Ig4gEiAIIAwgDnNzIApqakGh1+f2BmpBCXciCHMgDHNqakGh1+f2BmpBC3chByAFIAYgCCAHIBggDiAHIAhzcyAMampBodfn9gZqQQ93IgpzcyAOampBodfn9gZqQQN3IgZqIQUgDSAGIAkgByAGIAsgByAGIApzcyAIampBodfn9gZqQQl3IgdzIApzampBodfn9gZqQQt3IgYgB3NzIApqakGh1+f2BmpBD3cgAmohAiADIAZqIQMgBCAHaiEEIAFBQGshAQwBCwsgBSQBIAIkAiADJAMgBCQECw0AIAAQASAAIwBqJAAL/wQCA38BfiAAIwBqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=\",\n\t\t\"base64\"\n\t)\n);\n//#endregion\n\nmodule.exports = create.bind(null, md4, [], 64, 32);\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/hash/md4.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/hash/wasm-hash.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/util/hash/wasm-hash.js ***! \*********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n// 65536 is the size of a wasm memory page\n// 64 is the maximum chunk size for every possible wasm hash implementation\n// 4 is the maximum number of bytes per char for string encoding (max is utf-8)\n// ~3 makes sure that it's always a block of 4 chars, so avoid partially encoded bytes for base64\nconst MAX_SHORT_STRING = Math.floor((65536 - 64) / 4) & ~3;\n\nclass WasmHash {\n\t/**\n\t * @param {WebAssembly.Instance} instance wasm instance\n\t * @param {WebAssembly.Instance[]} instancesPool pool of instances\n\t * @param {number} chunkSize size of data chunks passed to wasm\n\t * @param {number} digestSize size of digest returned by wasm\n\t */\n\tconstructor(instance, instancesPool, chunkSize, digestSize) {\n\t\tconst exports = /** @type {any} */ (instance.exports);\n\t\texports.init();\n\t\tthis.exports = exports;\n\t\tthis.mem = Buffer.from(exports.memory.buffer, 0, 65536);\n\t\tthis.buffered = 0;\n\t\tthis.instancesPool = instancesPool;\n\t\tthis.chunkSize = chunkSize;\n\t\tthis.digestSize = digestSize;\n\t}\n\n\treset() {\n\t\tthis.buffered = 0;\n\t\tthis.exports.init();\n\t}\n\n\t/**\n\t * @param {Buffer | string} data data\n\t * @param {BufferEncoding=} encoding encoding\n\t * @returns {this} itself\n\t */\n\tupdate(data, encoding) {\n\t\tif (typeof data === \"string\") {\n\t\t\twhile (data.length > MAX_SHORT_STRING) {\n\t\t\t\tthis._updateWithShortString(data.slice(0, MAX_SHORT_STRING), encoding);\n\t\t\t\tdata = data.slice(MAX_SHORT_STRING);\n\t\t\t}\n\t\t\tthis._updateWithShortString(data, encoding);\n\t\t\treturn this;\n\t\t}\n\t\tthis._updateWithBuffer(data);\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param {string} data data\n\t * @param {BufferEncoding=} encoding encoding\n\t * @returns {void}\n\t */\n\t_updateWithShortString(data, encoding) {\n\t\tconst { exports, buffered, mem, chunkSize } = this;\n\t\tlet endPos;\n\t\tif (data.length < 70) {\n\t\t\tif (!encoding || encoding === \"utf-8\" || encoding === \"utf8\") {\n\t\t\t\tendPos = buffered;\n\t\t\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\t\t\tconst cc = data.charCodeAt(i);\n\t\t\t\t\tif (cc < 0x80) mem[endPos++] = cc;\n\t\t\t\t\telse if (cc < 0x800) {\n\t\t\t\t\t\tmem[endPos] = (cc >> 6) | 0xc0;\n\t\t\t\t\t\tmem[endPos + 1] = (cc & 0x3f) | 0x80;\n\t\t\t\t\t\tendPos += 2;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// bail-out for weird chars\n\t\t\t\t\t\tendPos += mem.write(data.slice(i), endPos, encoding);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (encoding === \"latin1\") {\n\t\t\t\tendPos = buffered;\n\t\t\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\t\t\tconst cc = data.charCodeAt(i);\n\t\t\t\t\tmem[endPos++] = cc;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tendPos = buffered + mem.write(data, buffered, encoding);\n\t\t\t}\n\t\t} else {\n\t\t\tendPos = buffered + mem.write(data, buffered, encoding);\n\t\t}\n\t\tif (endPos < chunkSize) {\n\t\t\tthis.buffered = endPos;\n\t\t} else {\n\t\t\tconst l = endPos & ~(this.chunkSize - 1);\n\t\t\texports.update(l);\n\t\t\tconst newBuffered = endPos - l;\n\t\t\tthis.buffered = newBuffered;\n\t\t\tif (newBuffered > 0) mem.copyWithin(0, l, endPos);\n\t\t}\n\t}\n\n\t/**\n\t * @param {Buffer} data data\n\t * @returns {void}\n\t */\n\t_updateWithBuffer(data) {\n\t\tconst { exports, buffered, mem } = this;\n\t\tconst length = data.length;\n\t\tif (buffered + length < this.chunkSize) {\n\t\t\tdata.copy(mem, buffered, 0, length);\n\t\t\tthis.buffered += length;\n\t\t} else {\n\t\t\tconst l = (buffered + length) & ~(this.chunkSize - 1);\n\t\t\tif (l > 65536) {\n\t\t\t\tlet i = 65536 - buffered;\n\t\t\t\tdata.copy(mem, buffered, 0, i);\n\t\t\t\texports.update(65536);\n\t\t\t\tconst stop = l - buffered - 65536;\n\t\t\t\twhile (i < stop) {\n\t\t\t\t\tdata.copy(mem, 0, i, i + 65536);\n\t\t\t\t\texports.update(65536);\n\t\t\t\t\ti += 65536;\n\t\t\t\t}\n\t\t\t\tdata.copy(mem, 0, i, l - buffered);\n\t\t\t\texports.update(l - buffered - i);\n\t\t\t} else {\n\t\t\t\tdata.copy(mem, buffered, 0, l - buffered);\n\t\t\t\texports.update(l);\n\t\t\t}\n\t\t\tconst newBuffered = length + buffered - l;\n\t\t\tthis.buffered = newBuffered;\n\t\t\tif (newBuffered > 0) data.copy(mem, 0, length - newBuffered, length);\n\t\t}\n\t}\n\n\tdigest(type) {\n\t\tconst { exports, buffered, mem, digestSize } = this;\n\t\texports.final(buffered);\n\t\tthis.instancesPool.push(this);\n\t\tconst hex = mem.toString(\"latin1\", 0, digestSize);\n\t\tif (type === \"hex\") return hex;\n\t\tif (type === \"binary\" || !type) return Buffer.from(hex, \"hex\");\n\t\treturn Buffer.from(hex, \"hex\").toString(type);\n\t}\n}\n\nconst create = (wasmModule, instancesPool, chunkSize, digestSize) => {\n\tif (instancesPool.length > 0) {\n\t\tconst old = instancesPool.pop();\n\t\told.reset();\n\t\treturn old;\n\t} else {\n\t\treturn new WasmHash(\n\t\t\tnew WebAssembly.Instance(wasmModule),\n\t\t\tinstancesPool,\n\t\t\tchunkSize,\n\t\t\tdigestSize\n\t\t);\n\t}\n};\n\nmodule.exports = create;\nmodule.exports.MAX_SHORT_STRING = MAX_SHORT_STRING;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/hash/wasm-hash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/hash/xxhash64.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/util/hash/xxhash64.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst create = __webpack_require__(/*! ./wasm-hash */ \"./node_modules/webpack/lib/util/hash/wasm-hash.js\");\n\n//#region wasm code: xxhash64 (../../../assembly/hash/xxhash64.asm.ts) --initialMemory 1\nconst xxhash64 = new WebAssembly.Module(\n\tBuffer.from(\n\t\t// 1170 bytes\n\t\t\"AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrIIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqAYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEAgAiABNQIAQoeVr6+Ytt6bnn9+hUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAiABQQRqIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAkIdiCAChUL5893xmfaZqxZ+IgJCIIggAoUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL\",\n\t\t\"base64\"\n\t)\n);\n//#endregion\n\nmodule.exports = create.bind(null, xxhash64, [], 32, 16);\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/hash/xxhash64.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/identifier.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/identifier.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst path = __webpack_require__(/*! path */ \"?d9c2\");\n\nconst WINDOWS_ABS_PATH_REGEXP = /^[a-zA-Z]:[\\\\/]/;\nconst SEGMENTS_SPLIT_REGEXP = /([|!])/;\nconst WINDOWS_PATH_SEPARATOR_REGEXP = /\\\\/g;\n\n/**\n * @typedef {Object} MakeRelativePathsCache\n * @property {Map<string, Map<string, string>>=} relativePaths\n */\n\nconst relativePathToRequest = relativePath => {\n\tif (relativePath === \"\") return \"./.\";\n\tif (relativePath === \"..\") return \"../.\";\n\tif (relativePath.startsWith(\"../\")) return relativePath;\n\treturn `./${relativePath}`;\n};\n\n/**\n * @param {string} context context for relative path\n * @param {string} maybeAbsolutePath path to make relative\n * @returns {string} relative path in request style\n */\nconst absoluteToRequest = (context, maybeAbsolutePath) => {\n\tif (maybeAbsolutePath[0] === \"/\") {\n\t\tif (\n\t\t\tmaybeAbsolutePath.length > 1 &&\n\t\t\tmaybeAbsolutePath[maybeAbsolutePath.length - 1] === \"/\"\n\t\t) {\n\t\t\t// this 'path' is actually a regexp generated by dynamic requires.\n\t\t\t// Don't treat it as an absolute path.\n\t\t\treturn maybeAbsolutePath;\n\t\t}\n\n\t\tconst querySplitPos = maybeAbsolutePath.indexOf(\"?\");\n\t\tlet resource =\n\t\t\tquerySplitPos === -1\n\t\t\t\t? maybeAbsolutePath\n\t\t\t\t: maybeAbsolutePath.slice(0, querySplitPos);\n\t\tresource = relativePathToRequest(path.posix.relative(context, resource));\n\t\treturn querySplitPos === -1\n\t\t\t? resource\n\t\t\t: resource + maybeAbsolutePath.slice(querySplitPos);\n\t}\n\n\tif (WINDOWS_ABS_PATH_REGEXP.test(maybeAbsolutePath)) {\n\t\tconst querySplitPos = maybeAbsolutePath.indexOf(\"?\");\n\t\tlet resource =\n\t\t\tquerySplitPos === -1\n\t\t\t\t? maybeAbsolutePath\n\t\t\t\t: maybeAbsolutePath.slice(0, querySplitPos);\n\t\tresource = path.win32.relative(context, resource);\n\t\tif (!WINDOWS_ABS_PATH_REGEXP.test(resource)) {\n\t\t\tresource = relativePathToRequest(\n\t\t\t\tresource.replace(WINDOWS_PATH_SEPARATOR_REGEXP, \"/\")\n\t\t\t);\n\t\t}\n\t\treturn querySplitPos === -1\n\t\t\t? resource\n\t\t\t: resource + maybeAbsolutePath.slice(querySplitPos);\n\t}\n\n\t// not an absolute path\n\treturn maybeAbsolutePath;\n};\n\n/**\n * @param {string} context context for relative path\n * @param {string} relativePath path\n * @returns {string} absolute path\n */\nconst requestToAbsolute = (context, relativePath) => {\n\tif (relativePath.startsWith(\"./\") || relativePath.startsWith(\"../\"))\n\t\treturn path.join(context, relativePath);\n\treturn relativePath;\n};\n\nconst makeCacheable = realFn => {\n\t/** @type {WeakMap<object, Map<string, ParsedResource>>} */\n\tconst cache = new WeakMap();\n\n\tconst getCache = associatedObjectForCache => {\n\t\tconst entry = cache.get(associatedObjectForCache);\n\t\tif (entry !== undefined) return entry;\n\t\t/** @type {Map<string, ParsedResource>} */\n\t\tconst map = new Map();\n\t\tcache.set(associatedObjectForCache, map);\n\t\treturn map;\n\t};\n\n\t/**\n\t * @param {string} str the path with query and fragment\n\t * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n\t * @returns {ParsedResource} parsed parts\n\t */\n\tconst fn = (str, associatedObjectForCache) => {\n\t\tif (!associatedObjectForCache) return realFn(str);\n\t\tconst cache = getCache(associatedObjectForCache);\n\t\tconst entry = cache.get(str);\n\t\tif (entry !== undefined) return entry;\n\t\tconst result = realFn(str);\n\t\tcache.set(str, result);\n\t\treturn result;\n\t};\n\n\tfn.bindCache = associatedObjectForCache => {\n\t\tconst cache = getCache(associatedObjectForCache);\n\t\treturn str => {\n\t\t\tconst entry = cache.get(str);\n\t\t\tif (entry !== undefined) return entry;\n\t\t\tconst result = realFn(str);\n\t\t\tcache.set(str, result);\n\t\t\treturn result;\n\t\t};\n\t};\n\n\treturn fn;\n};\n\nconst makeCacheableWithContext = fn => {\n\t/** @type {WeakMap<object, Map<string, Map<string, string>>>} */\n\tconst cache = new WeakMap();\n\n\t/**\n\t * @param {string} context context used to create relative path\n\t * @param {string} identifier identifier used to create relative path\n\t * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n\t * @returns {string} the returned relative path\n\t */\n\tconst cachedFn = (context, identifier, associatedObjectForCache) => {\n\t\tif (!associatedObjectForCache) return fn(context, identifier);\n\n\t\tlet innerCache = cache.get(associatedObjectForCache);\n\t\tif (innerCache === undefined) {\n\t\t\tinnerCache = new Map();\n\t\t\tcache.set(associatedObjectForCache, innerCache);\n\t\t}\n\n\t\tlet cachedResult;\n\t\tlet innerSubCache = innerCache.get(context);\n\t\tif (innerSubCache === undefined) {\n\t\t\tinnerCache.set(context, (innerSubCache = new Map()));\n\t\t} else {\n\t\t\tcachedResult = innerSubCache.get(identifier);\n\t\t}\n\n\t\tif (cachedResult !== undefined) {\n\t\t\treturn cachedResult;\n\t\t} else {\n\t\t\tconst result = fn(context, identifier);\n\t\t\tinnerSubCache.set(identifier, result);\n\t\t\treturn result;\n\t\t}\n\t};\n\n\t/**\n\t * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n\t * @returns {function(string, string): string} cached function\n\t */\n\tcachedFn.bindCache = associatedObjectForCache => {\n\t\tlet innerCache;\n\t\tif (associatedObjectForCache) {\n\t\t\tinnerCache = cache.get(associatedObjectForCache);\n\t\t\tif (innerCache === undefined) {\n\t\t\t\tinnerCache = new Map();\n\t\t\t\tcache.set(associatedObjectForCache, innerCache);\n\t\t\t}\n\t\t} else {\n\t\t\tinnerCache = new Map();\n\t\t}\n\n\t\t/**\n\t\t * @param {string} context context used to create relative path\n\t\t * @param {string} identifier identifier used to create relative path\n\t\t * @returns {string} the returned relative path\n\t\t */\n\t\tconst boundFn = (context, identifier) => {\n\t\t\tlet cachedResult;\n\t\t\tlet innerSubCache = innerCache.get(context);\n\t\t\tif (innerSubCache === undefined) {\n\t\t\t\tinnerCache.set(context, (innerSubCache = new Map()));\n\t\t\t} else {\n\t\t\t\tcachedResult = innerSubCache.get(identifier);\n\t\t\t}\n\n\t\t\tif (cachedResult !== undefined) {\n\t\t\t\treturn cachedResult;\n\t\t\t} else {\n\t\t\t\tconst result = fn(context, identifier);\n\t\t\t\tinnerSubCache.set(identifier, result);\n\t\t\t\treturn result;\n\t\t\t}\n\t\t};\n\n\t\treturn boundFn;\n\t};\n\n\t/**\n\t * @param {string} context context used to create relative path\n\t * @param {Object=} associatedObjectForCache an object to which the cache will be attached\n\t * @returns {function(string): string} cached function\n\t */\n\tcachedFn.bindContextCache = (context, associatedObjectForCache) => {\n\t\tlet innerSubCache;\n\t\tif (associatedObjectForCache) {\n\t\t\tlet innerCache = cache.get(associatedObjectForCache);\n\t\t\tif (innerCache === undefined) {\n\t\t\t\tinnerCache = new Map();\n\t\t\t\tcache.set(associatedObjectForCache, innerCache);\n\t\t\t}\n\n\t\t\tinnerSubCache = innerCache.get(context);\n\t\t\tif (innerSubCache === undefined) {\n\t\t\t\tinnerCache.set(context, (innerSubCache = new Map()));\n\t\t\t}\n\t\t} else {\n\t\t\tinnerSubCache = new Map();\n\t\t}\n\n\t\t/**\n\t\t * @param {string} identifier identifier used to create relative path\n\t\t * @returns {string} the returned relative path\n\t\t */\n\t\tconst boundFn = identifier => {\n\t\t\tconst cachedResult = innerSubCache.get(identifier);\n\t\t\tif (cachedResult !== undefined) {\n\t\t\t\treturn cachedResult;\n\t\t\t} else {\n\t\t\t\tconst result = fn(context, identifier);\n\t\t\t\tinnerSubCache.set(identifier, result);\n\t\t\t\treturn result;\n\t\t\t}\n\t\t};\n\n\t\treturn boundFn;\n\t};\n\n\treturn cachedFn;\n};\n\n/**\n *\n * @param {string} context context for relative path\n * @param {string} identifier identifier for path\n * @returns {string} a converted relative path\n */\nconst _makePathsRelative = (context, identifier) => {\n\treturn identifier\n\t\t.split(SEGMENTS_SPLIT_REGEXP)\n\t\t.map(str => absoluteToRequest(context, str))\n\t\t.join(\"\");\n};\n\nexports.makePathsRelative = makeCacheableWithContext(_makePathsRelative);\n\n/**\n *\n * @param {string} context context for relative path\n * @param {string} identifier identifier for path\n * @returns {string} a converted relative path\n */\nconst _makePathsAbsolute = (context, identifier) => {\n\treturn identifier\n\t\t.split(SEGMENTS_SPLIT_REGEXP)\n\t\t.map(str => requestToAbsolute(context, str))\n\t\t.join(\"\");\n};\n\nexports.makePathsAbsolute = makeCacheableWithContext(_makePathsAbsolute);\n\n/**\n * @param {string} context absolute context path\n * @param {string} request any request string may containing absolute paths, query string, etc.\n * @returns {string} a new request string avoiding absolute paths when possible\n */\nconst _contextify = (context, request) => {\n\treturn request\n\t\t.split(\"!\")\n\t\t.map(r => absoluteToRequest(context, r))\n\t\t.join(\"!\");\n};\n\nconst contextify = makeCacheableWithContext(_contextify);\nexports.contextify = contextify;\n\n/**\n * @param {string} context absolute context path\n * @param {string} request any request string\n * @returns {string} a new request string using absolute paths when possible\n */\nconst _absolutify = (context, request) => {\n\treturn request\n\t\t.split(\"!\")\n\t\t.map(r => requestToAbsolute(context, r))\n\t\t.join(\"!\");\n};\n\nconst absolutify = makeCacheableWithContext(_absolutify);\nexports.absolutify = absolutify;\n\nconst PATH_QUERY_FRAGMENT_REGEXP =\n\t/^((?:\\0.|[^?#\\0])*)(\\?(?:\\0.|[^#\\0])*)?(#.*)?$/;\nconst PATH_QUERY_REGEXP = /^((?:\\0.|[^?\\0])*)(\\?.*)?$/;\n\n/** @typedef {{ resource: string, path: string, query: string, fragment: string }} ParsedResource */\n/** @typedef {{ resource: string, path: string, query: string }} ParsedResourceWithoutFragment */\n\n/**\n * @param {string} str the path with query and fragment\n * @returns {ParsedResource} parsed parts\n */\nconst _parseResource = str => {\n\tconst match = PATH_QUERY_FRAGMENT_REGEXP.exec(str);\n\treturn {\n\t\tresource: str,\n\t\tpath: match[1].replace(/\\0(.)/g, \"$1\"),\n\t\tquery: match[2] ? match[2].replace(/\\0(.)/g, \"$1\") : \"\",\n\t\tfragment: match[3] || \"\"\n\t};\n};\nexports.parseResource = makeCacheable(_parseResource);\n\n/**\n * Parse resource, skips fragment part\n * @param {string} str the path with query and fragment\n * @returns {ParsedResourceWithoutFragment} parsed parts\n */\nconst _parseResourceWithoutFragment = str => {\n\tconst match = PATH_QUERY_REGEXP.exec(str);\n\treturn {\n\t\tresource: str,\n\t\tpath: match[1].replace(/\\0(.)/g, \"$1\"),\n\t\tquery: match[2] ? match[2].replace(/\\0(.)/g, \"$1\") : \"\"\n\t};\n};\nexports.parseResourceWithoutFragment = makeCacheable(\n\t_parseResourceWithoutFragment\n);\n\n/**\n * @param {string} filename the filename which should be undone\n * @param {string} outputPath the output path that is restored (only relevant when filename contains \"..\")\n * @param {boolean} enforceRelative true returns ./ for empty paths\n * @returns {string} repeated ../ to leave the directory of the provided filename to be back on output dir\n */\nexports.getUndoPath = (filename, outputPath, enforceRelative) => {\n\tlet depth = -1;\n\tlet append = \"\";\n\toutputPath = outputPath.replace(/[\\\\/]$/, \"\");\n\tfor (const part of filename.split(/[/\\\\]+/)) {\n\t\tif (part === \"..\") {\n\t\t\tif (depth > -1) {\n\t\t\t\tdepth--;\n\t\t\t} else {\n\t\t\t\tconst i = outputPath.lastIndexOf(\"/\");\n\t\t\t\tconst j = outputPath.lastIndexOf(\"\\\\\");\n\t\t\t\tconst pos = i < 0 ? j : j < 0 ? i : Math.max(i, j);\n\t\t\t\tif (pos < 0) return outputPath + \"/\";\n\t\t\t\tappend = outputPath.slice(pos + 1) + \"/\" + append;\n\t\t\t\toutputPath = outputPath.slice(0, pos);\n\t\t\t}\n\t\t} else if (part !== \".\") {\n\t\t\tdepth++;\n\t\t}\n\t}\n\treturn depth > 0\n\t\t? `${\"../\".repeat(depth)}${append}`\n\t\t: enforceRelative\n\t\t? `./${append}`\n\t\t: append;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/identifier.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/internalSerializables.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/util/internalSerializables.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n// We need to include a list of requires here\n// to allow webpack to be bundled with only static requires\n// We could use a dynamic require(`../${request}`) but this\n// would include too many modules and not every tool is able\n// to process this\nmodule.exports = {\n\tAsyncDependenciesBlock: () => __webpack_require__(/*! ../AsyncDependenciesBlock */ \"./node_modules/webpack/lib/AsyncDependenciesBlock.js\"),\n\tCommentCompilationWarning: () => __webpack_require__(/*! ../CommentCompilationWarning */ \"./node_modules/webpack/lib/CommentCompilationWarning.js\"),\n\tContextModule: () => __webpack_require__(/*! ../ContextModule */ \"./node_modules/webpack/lib/ContextModule.js\"),\n\t\"cache/PackFileCacheStrategy\": () =>\n\t\t__webpack_require__(/*! ../cache/PackFileCacheStrategy */ \"./node_modules/webpack/lib/cache/PackFileCacheStrategy.js\"),\n\t\"cache/ResolverCachePlugin\": () => __webpack_require__(/*! ../cache/ResolverCachePlugin */ \"./node_modules/webpack/lib/cache/ResolverCachePlugin.js\"),\n\t\"container/ContainerEntryDependency\": () =>\n\t\t__webpack_require__(/*! ../container/ContainerEntryDependency */ \"./node_modules/webpack/lib/container/ContainerEntryDependency.js\"),\n\t\"container/ContainerEntryModule\": () =>\n\t\t__webpack_require__(/*! ../container/ContainerEntryModule */ \"./node_modules/webpack/lib/container/ContainerEntryModule.js\"),\n\t\"container/ContainerExposedDependency\": () =>\n\t\t__webpack_require__(/*! ../container/ContainerExposedDependency */ \"./node_modules/webpack/lib/container/ContainerExposedDependency.js\"),\n\t\"container/FallbackDependency\": () =>\n\t\t__webpack_require__(/*! ../container/FallbackDependency */ \"./node_modules/webpack/lib/container/FallbackDependency.js\"),\n\t\"container/FallbackItemDependency\": () =>\n\t\t__webpack_require__(/*! ../container/FallbackItemDependency */ \"./node_modules/webpack/lib/container/FallbackItemDependency.js\"),\n\t\"container/FallbackModule\": () => __webpack_require__(/*! ../container/FallbackModule */ \"./node_modules/webpack/lib/container/FallbackModule.js\"),\n\t\"container/RemoteModule\": () => __webpack_require__(/*! ../container/RemoteModule */ \"./node_modules/webpack/lib/container/RemoteModule.js\"),\n\t\"container/RemoteToExternalDependency\": () =>\n\t\t__webpack_require__(/*! ../container/RemoteToExternalDependency */ \"./node_modules/webpack/lib/container/RemoteToExternalDependency.js\"),\n\t\"dependencies/AMDDefineDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDDefineDependency */ \"./node_modules/webpack/lib/dependencies/AMDDefineDependency.js\"),\n\t\"dependencies/AMDRequireArrayDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDRequireArrayDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js\"),\n\t\"dependencies/AMDRequireContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js\"),\n\t\"dependencies/AMDRequireDependenciesBlock\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDRequireDependenciesBlock */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js\"),\n\t\"dependencies/AMDRequireDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDRequireDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireDependency.js\"),\n\t\"dependencies/AMDRequireItemDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/AMDRequireItemDependency */ \"./node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js\"),\n\t\"dependencies/CachedConstDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CachedConstDependency */ \"./node_modules/webpack/lib/dependencies/CachedConstDependency.js\"),\n\t\"dependencies/CreateScriptUrlDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CreateScriptUrlDependency */ \"./node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js\"),\n\t\"dependencies/CommonJsRequireContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsRequireContextDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js\"),\n\t\"dependencies/CommonJsExportRequireDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsExportRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js\"),\n\t\"dependencies/CommonJsExportsDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsExportsDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js\"),\n\t\"dependencies/CommonJsFullRequireDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsFullRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js\"),\n\t\"dependencies/CommonJsRequireDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsRequireDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js\"),\n\t\"dependencies/CommonJsSelfReferenceDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CommonJsSelfReferenceDependency */ \"./node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js\"),\n\t\"dependencies/ConstDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ConstDependency */ \"./node_modules/webpack/lib/dependencies/ConstDependency.js\"),\n\t\"dependencies/ContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ContextDependency */ \"./node_modules/webpack/lib/dependencies/ContextDependency.js\"),\n\t\"dependencies/ContextElementDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ContextElementDependency */ \"./node_modules/webpack/lib/dependencies/ContextElementDependency.js\"),\n\t\"dependencies/CriticalDependencyWarning\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CriticalDependencyWarning */ \"./node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js\"),\n\t\"dependencies/CssImportDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CssImportDependency */ \"./node_modules/webpack/lib/dependencies/CssImportDependency.js\"),\n\t\"dependencies/CssLocalIdentifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CssLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js\"),\n\t\"dependencies/CssSelfLocalIdentifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CssSelfLocalIdentifierDependency */ \"./node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js\"),\n\t\"dependencies/CssExportDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CssExportDependency */ \"./node_modules/webpack/lib/dependencies/CssExportDependency.js\"),\n\t\"dependencies/CssUrlDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/CssUrlDependency */ \"./node_modules/webpack/lib/dependencies/CssUrlDependency.js\"),\n\t\"dependencies/DelegatedSourceDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/DelegatedSourceDependency */ \"./node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js\"),\n\t\"dependencies/DllEntryDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/DllEntryDependency */ \"./node_modules/webpack/lib/dependencies/DllEntryDependency.js\"),\n\t\"dependencies/EntryDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/EntryDependency */ \"./node_modules/webpack/lib/dependencies/EntryDependency.js\"),\n\t\"dependencies/ExportsInfoDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ExportsInfoDependency */ \"./node_modules/webpack/lib/dependencies/ExportsInfoDependency.js\"),\n\t\"dependencies/HarmonyAcceptDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyAcceptDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js\"),\n\t\"dependencies/HarmonyAcceptImportDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyAcceptImportDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js\"),\n\t\"dependencies/HarmonyCompatibilityDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyCompatibilityDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js\"),\n\t\"dependencies/HarmonyExportExpressionDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyExportExpressionDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js\"),\n\t\"dependencies/HarmonyExportHeaderDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyExportHeaderDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js\"),\n\t\"dependencies/HarmonyExportImportedSpecifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyExportImportedSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js\"),\n\t\"dependencies/HarmonyExportSpecifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyExportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js\"),\n\t\"dependencies/HarmonyImportSideEffectDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyImportSideEffectDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js\"),\n\t\"dependencies/HarmonyImportSpecifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js\"),\n\t\"dependencies/HarmonyEvaluatedImportSpecifierDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/HarmonyEvaluatedImportSpecifierDependency */ \"./node_modules/webpack/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js\"),\n\t\"dependencies/ImportContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportContextDependency.js\"),\n\t\"dependencies/ImportDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportDependency */ \"./node_modules/webpack/lib/dependencies/ImportDependency.js\"),\n\t\"dependencies/ImportEagerDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportEagerDependency */ \"./node_modules/webpack/lib/dependencies/ImportEagerDependency.js\"),\n\t\"dependencies/ImportWeakDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportWeakDependency */ \"./node_modules/webpack/lib/dependencies/ImportWeakDependency.js\"),\n\t\"dependencies/JsonExportsDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/JsonExportsDependency */ \"./node_modules/webpack/lib/dependencies/JsonExportsDependency.js\"),\n\t\"dependencies/LocalModule\": () => __webpack_require__(/*! ../dependencies/LocalModule */ \"./node_modules/webpack/lib/dependencies/LocalModule.js\"),\n\t\"dependencies/LocalModuleDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/LocalModuleDependency */ \"./node_modules/webpack/lib/dependencies/LocalModuleDependency.js\"),\n\t\"dependencies/ModuleDecoratorDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ModuleDecoratorDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js\"),\n\t\"dependencies/ModuleHotAcceptDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ModuleHotAcceptDependency */ \"./node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js\"),\n\t\"dependencies/ModuleHotDeclineDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ModuleHotDeclineDependency */ \"./node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js\"),\n\t\"dependencies/ImportMetaHotAcceptDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportMetaHotAcceptDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js\"),\n\t\"dependencies/ImportMetaHotDeclineDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportMetaHotDeclineDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js\"),\n\t\"dependencies/ImportMetaContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ImportMetaContextDependency */ \"./node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js\"),\n\t\"dependencies/ProvidedDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/ProvidedDependency */ \"./node_modules/webpack/lib/dependencies/ProvidedDependency.js\"),\n\t\"dependencies/PureExpressionDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/PureExpressionDependency */ \"./node_modules/webpack/lib/dependencies/PureExpressionDependency.js\"),\n\t\"dependencies/RequireContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireContextDependency.js\"),\n\t\"dependencies/RequireEnsureDependenciesBlock\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireEnsureDependenciesBlock */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js\"),\n\t\"dependencies/RequireEnsureDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireEnsureDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureDependency.js\"),\n\t\"dependencies/RequireEnsureItemDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireEnsureItemDependency */ \"./node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js\"),\n\t\"dependencies/RequireHeaderDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireHeaderDependency.js\"),\n\t\"dependencies/RequireIncludeDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireIncludeDependency */ \"./node_modules/webpack/lib/dependencies/RequireIncludeDependency.js\"),\n\t\"dependencies/RequireIncludeDependencyParserPlugin\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireIncludeDependencyParserPlugin */ \"./node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js\"),\n\t\"dependencies/RequireResolveContextDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireResolveContextDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js\"),\n\t\"dependencies/RequireResolveDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireResolveDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveDependency.js\"),\n\t\"dependencies/RequireResolveHeaderDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RequireResolveHeaderDependency */ \"./node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js\"),\n\t\"dependencies/RuntimeRequirementsDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/RuntimeRequirementsDependency */ \"./node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js\"),\n\t\"dependencies/StaticExportsDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\"),\n\t\"dependencies/SystemPlugin\": () => __webpack_require__(/*! ../dependencies/SystemPlugin */ \"./node_modules/webpack/lib/dependencies/SystemPlugin.js\"),\n\t\"dependencies/UnsupportedDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/UnsupportedDependency */ \"./node_modules/webpack/lib/dependencies/UnsupportedDependency.js\"),\n\t\"dependencies/URLDependency\": () => __webpack_require__(/*! ../dependencies/URLDependency */ \"./node_modules/webpack/lib/dependencies/URLDependency.js\"),\n\t\"dependencies/WebAssemblyExportImportedDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/WebAssemblyExportImportedDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js\"),\n\t\"dependencies/WebAssemblyImportDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\"),\n\t\"dependencies/WebpackIsIncludedDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/WebpackIsIncludedDependency */ \"./node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js\"),\n\t\"dependencies/WorkerDependency\": () =>\n\t\t__webpack_require__(/*! ../dependencies/WorkerDependency */ \"./node_modules/webpack/lib/dependencies/WorkerDependency.js\"),\n\t\"json/JsonData\": () => __webpack_require__(/*! ../json/JsonData */ \"./node_modules/webpack/lib/json/JsonData.js\"),\n\t\"optimize/ConcatenatedModule\": () =>\n\t\t__webpack_require__(/*! ../optimize/ConcatenatedModule */ \"./node_modules/webpack/lib/optimize/ConcatenatedModule.js\"),\n\tDelegatedModule: () => __webpack_require__(/*! ../DelegatedModule */ \"./node_modules/webpack/lib/DelegatedModule.js\"),\n\tDependenciesBlock: () => __webpack_require__(/*! ../DependenciesBlock */ \"./node_modules/webpack/lib/DependenciesBlock.js\"),\n\tDllModule: () => __webpack_require__(/*! ../DllModule */ \"./node_modules/webpack/lib/DllModule.js\"),\n\tExternalModule: () => __webpack_require__(/*! ../ExternalModule */ \"./node_modules/webpack/lib/ExternalModule.js\"),\n\tFileSystemInfo: () => __webpack_require__(/*! ../FileSystemInfo */ \"./node_modules/webpack/lib/FileSystemInfo.js\"),\n\tInitFragment: () => __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\"),\n\tInvalidDependenciesModuleWarning: () =>\n\t\t__webpack_require__(/*! ../InvalidDependenciesModuleWarning */ \"./node_modules/webpack/lib/InvalidDependenciesModuleWarning.js\"),\n\tModule: () => __webpack_require__(/*! ../Module */ \"./node_modules/webpack/lib/Module.js\"),\n\tModuleBuildError: () => __webpack_require__(/*! ../ModuleBuildError */ \"./node_modules/webpack/lib/ModuleBuildError.js\"),\n\tModuleDependencyWarning: () => __webpack_require__(/*! ../ModuleDependencyWarning */ \"./node_modules/webpack/lib/ModuleDependencyWarning.js\"),\n\tModuleError: () => __webpack_require__(/*! ../ModuleError */ \"./node_modules/webpack/lib/ModuleError.js\"),\n\tModuleGraph: () => __webpack_require__(/*! ../ModuleGraph */ \"./node_modules/webpack/lib/ModuleGraph.js\"),\n\tModuleParseError: () => __webpack_require__(/*! ../ModuleParseError */ \"./node_modules/webpack/lib/ModuleParseError.js\"),\n\tModuleWarning: () => __webpack_require__(/*! ../ModuleWarning */ \"./node_modules/webpack/lib/ModuleWarning.js\"),\n\tNormalModule: () => __webpack_require__(/*! ../NormalModule */ \"./node_modules/webpack/lib/NormalModule.js\"),\n\tRawDataUrlModule: () => __webpack_require__(/*! ../asset/RawDataUrlModule */ \"./node_modules/webpack/lib/asset/RawDataUrlModule.js\"),\n\tRawModule: () => __webpack_require__(/*! ../RawModule */ \"./node_modules/webpack/lib/RawModule.js\"),\n\t\"sharing/ConsumeSharedModule\": () =>\n\t\t__webpack_require__(/*! ../sharing/ConsumeSharedModule */ \"./node_modules/webpack/lib/sharing/ConsumeSharedModule.js\"),\n\t\"sharing/ConsumeSharedFallbackDependency\": () =>\n\t\t__webpack_require__(/*! ../sharing/ConsumeSharedFallbackDependency */ \"./node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js\"),\n\t\"sharing/ProvideSharedModule\": () =>\n\t\t__webpack_require__(/*! ../sharing/ProvideSharedModule */ \"./node_modules/webpack/lib/sharing/ProvideSharedModule.js\"),\n\t\"sharing/ProvideSharedDependency\": () =>\n\t\t__webpack_require__(/*! ../sharing/ProvideSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideSharedDependency.js\"),\n\t\"sharing/ProvideForSharedDependency\": () =>\n\t\t__webpack_require__(/*! ../sharing/ProvideForSharedDependency */ \"./node_modules/webpack/lib/sharing/ProvideForSharedDependency.js\"),\n\tUnsupportedFeatureWarning: () => __webpack_require__(/*! ../UnsupportedFeatureWarning */ \"./node_modules/webpack/lib/UnsupportedFeatureWarning.js\"),\n\t\"util/LazySet\": () => __webpack_require__(/*! ../util/LazySet */ \"./node_modules/webpack/lib/util/LazySet.js\"),\n\tUnhandledSchemeError: () => __webpack_require__(/*! ../UnhandledSchemeError */ \"./node_modules/webpack/lib/UnhandledSchemeError.js\"),\n\tNodeStuffInWebError: () => __webpack_require__(/*! ../NodeStuffInWebError */ \"./node_modules/webpack/lib/NodeStuffInWebError.js\"),\n\tWebpackError: () => __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\"),\n\n\t\"util/registerExternalSerializer\": () => {\n\t\t// already registered\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/internalSerializables.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/makeSerializable.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/util/makeSerializable.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { register } = __webpack_require__(/*! ./serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\nclass ClassSerializer {\n\tconstructor(Constructor) {\n\t\tthis.Constructor = Constructor;\n\t}\n\n\tserialize(obj, context) {\n\t\tobj.serialize(context);\n\t}\n\n\tdeserialize(context) {\n\t\tif (typeof this.Constructor.deserialize === \"function\") {\n\t\t\treturn this.Constructor.deserialize(context);\n\t\t}\n\t\tconst obj = new this.Constructor();\n\t\tobj.deserialize(context);\n\t\treturn obj;\n\t}\n}\n\nmodule.exports = (Constructor, request, name = null) => {\n\tregister(Constructor, request, name, new ClassSerializer(Constructor));\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/makeSerializable.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/memoize.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/util/memoize.js ***! \**************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\n/** @template T @typedef {function(): T} FunctionReturning */\n\n/**\n * @template T\n * @param {FunctionReturning<T>} fn memorized function\n * @returns {FunctionReturning<T>} new function\n */\nconst memoize = fn => {\n\tlet cache = false;\n\t/** @type {T} */\n\tlet result = undefined;\n\treturn () => {\n\t\tif (cache) {\n\t\t\treturn result;\n\t\t} else {\n\t\t\tresult = fn();\n\t\t\tcache = true;\n\t\t\t// Allow to clean up memory for fn\n\t\t\t// and all dependent resources\n\t\t\tfn = undefined;\n\t\t\treturn result;\n\t\t}\n\t};\n};\n\nmodule.exports = memoize;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/memoize.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/nonNumericOnlyHash.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/util/nonNumericOnlyHash.js ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Ivan Kopeykin @vankop\n*/\n\n\n\nconst A_CODE = \"a\".charCodeAt(0);\n\n/**\n * @param {string} hash hash\n * @param {number} hashLength hash length\n * @returns {string} returns hash that has at least one non numeric char\n */\nmodule.exports = (hash, hashLength) => {\n\tif (hashLength < 1) return \"\";\n\tconst slice = hash.slice(0, hashLength);\n\tif (slice.match(/[^\\d]/)) return slice;\n\treturn `${String.fromCharCode(\n\t\tA_CODE + (parseInt(hash[0], 10) % 6)\n\t)}${slice.slice(1)}`;\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/nonNumericOnlyHash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/numberHash.js": /*!*****************************************************!*\ !*** ./node_modules/webpack/lib/util/numberHash.js ***! \*****************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst SAFE_LIMIT = 0x80000000;\nconst SAFE_PART = SAFE_LIMIT - 1;\nconst COUNT = 4;\nconst arr = [0, 0, 0, 0, 0];\nconst primes = [3, 7, 17, 19];\n\nmodule.exports = (str, range) => {\n\tarr.fill(0);\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst c = str.charCodeAt(i);\n\t\tfor (let j = 0; j < COUNT; j++) {\n\t\t\tconst p = (j + COUNT - 1) % COUNT;\n\t\t\tarr[j] = (arr[j] + c * primes[j] + arr[p]) & SAFE_PART;\n\t\t}\n\t\tfor (let j = 0; j < COUNT; j++) {\n\t\t\tconst q = arr[j] % COUNT;\n\t\t\tarr[j] = arr[j] ^ (arr[q] >> 1);\n\t\t}\n\t}\n\tif (range <= SAFE_PART) {\n\t\tlet sum = 0;\n\t\tfor (let j = 0; j < COUNT; j++) {\n\t\t\tsum = (sum + arr[j]) % range;\n\t\t}\n\t\treturn sum;\n\t} else {\n\t\tlet sum1 = 0;\n\t\tlet sum2 = 0;\n\t\tconst rangeExt = Math.floor(range / SAFE_LIMIT);\n\t\tfor (let j = 0; j < COUNT; j += 2) {\n\t\t\tsum1 = (sum1 + arr[j]) & SAFE_PART;\n\t\t}\n\t\tfor (let j = 1; j < COUNT; j += 2) {\n\t\t\tsum2 = (sum2 + arr[j]) % rangeExt;\n\t\t}\n\t\treturn (sum2 * SAFE_LIMIT + sum1) % range;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/numberHash.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/processAsyncTree.js": /*!***********************************************************!*\ !*** ./node_modules/webpack/lib/util/processAsyncTree.js ***! \***********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @template T\n * @template {Error} E\n * @param {Iterable<T>} items initial items\n * @param {number} concurrency number of items running in parallel\n * @param {function(T, function(T): void, function(E=): void): void} processor worker which pushes more items\n * @param {function(E=): void} callback all items processed\n * @returns {void}\n */\nconst processAsyncTree = (items, concurrency, processor, callback) => {\n\tconst queue = Array.from(items);\n\tif (queue.length === 0) return callback();\n\tlet processing = 0;\n\tlet finished = false;\n\tlet processScheduled = true;\n\n\tconst push = item => {\n\t\tqueue.push(item);\n\t\tif (!processScheduled && processing < concurrency) {\n\t\t\tprocessScheduled = true;\n\t\t\tprocess.nextTick(processQueue);\n\t\t}\n\t};\n\n\tconst processorCallback = err => {\n\t\tprocessing--;\n\t\tif (err && !finished) {\n\t\t\tfinished = true;\n\t\t\tcallback(err);\n\t\t\treturn;\n\t\t}\n\t\tif (!processScheduled) {\n\t\t\tprocessScheduled = true;\n\t\t\tprocess.nextTick(processQueue);\n\t\t}\n\t};\n\n\tconst processQueue = () => {\n\t\tif (finished) return;\n\t\twhile (processing < concurrency && queue.length > 0) {\n\t\t\tprocessing++;\n\t\t\tconst item = queue.pop();\n\t\t\tprocessor(item, push, processorCallback);\n\t\t}\n\t\tprocessScheduled = false;\n\t\tif (queue.length === 0 && processing === 0 && !finished) {\n\t\t\tfinished = true;\n\t\t\tcallback();\n\t\t}\n\t};\n\n\tprocessQueue();\n};\n\nmodule.exports = processAsyncTree;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/processAsyncTree.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/propertyAccess.js": /*!*********************************************************!*\ !*** ./node_modules/webpack/lib/util/propertyAccess.js ***! \*********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst SAFE_IDENTIFIER = /^[_a-zA-Z$][_a-zA-Z$0-9]*$/;\nconst RESERVED_IDENTIFIER = new Set([\n\t\"break\",\n\t\"case\",\n\t\"catch\",\n\t\"class\",\n\t\"const\",\n\t\"continue\",\n\t\"debugger\",\n\t\"default\",\n\t\"delete\",\n\t\"do\",\n\t\"else\",\n\t\"export\",\n\t\"extends\",\n\t\"finally\",\n\t\"for\",\n\t\"function\",\n\t\"if\",\n\t\"import\",\n\t\"in\",\n\t\"instanceof\",\n\t\"new\",\n\t\"return\",\n\t\"super\",\n\t\"switch\",\n\t\"this\",\n\t\"throw\",\n\t\"try\",\n\t\"typeof\",\n\t\"var\",\n\t\"void\",\n\t\"while\",\n\t\"with\",\n\t\"enum\",\n\t// strict mode\n\t\"implements\",\n\t\"interface\",\n\t\"let\",\n\t\"package\",\n\t\"private\",\n\t\"protected\",\n\t\"public\",\n\t\"static\",\n\t\"yield\",\n\t\"yield\",\n\t// module code\n\t\"await\",\n\t// skip future reserved keywords defined under ES1 till ES3\n\t// additional\n\t\"null\",\n\t\"true\",\n\t\"false\"\n]);\n\nconst propertyAccess = (properties, start = 0) => {\n\tlet str = \"\";\n\tfor (let i = start; i < properties.length; i++) {\n\t\tconst p = properties[i];\n\t\tif (`${+p}` === p) {\n\t\t\tstr += `[${p}]`;\n\t\t} else if (SAFE_IDENTIFIER.test(p) && !RESERVED_IDENTIFIER.has(p)) {\n\t\t\tstr += `.${p}`;\n\t\t} else {\n\t\t\tstr += `[${JSON.stringify(p)}]`;\n\t\t}\n\t}\n\treturn str;\n};\n\nmodule.exports = propertyAccess;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/propertyAccess.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/registerExternalSerializer.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/util/registerExternalSerializer.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { register } = __webpack_require__(/*! ./serialization */ \"./node_modules/webpack/lib/util/serialization.js\");\n\nconst Position = /** @type {TODO} */ (__webpack_require__(/*! acorn */ \"./node_modules/acorn/dist/acorn.js\").Position);\nconst SourceLocation = (__webpack_require__(/*! acorn */ \"./node_modules/acorn/dist/acorn.js\").SourceLocation);\nconst ValidationError = (__webpack_require__(/*! schema-utils/dist/ValidationError */ \"./node_modules/schema-utils/dist/ValidationError.js\")[\"default\"]);\nconst {\n\tCachedSource,\n\tConcatSource,\n\tOriginalSource,\n\tPrefixSource,\n\tRawSource,\n\tReplaceSource,\n\tSourceMapSource\n} = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\n\n/** @typedef {import(\"acorn\").Position} Position */\n/** @typedef {import(\"../Dependency\").RealDependencyLocation} RealDependencyLocation */\n/** @typedef {import(\"../Dependency\").SourcePosition} SourcePosition */\n/** @typedef {import(\"./serialization\").ObjectDeserializerContext} ObjectDeserializerContext */\n/** @typedef {import(\"./serialization\").ObjectSerializerContext} ObjectSerializerContext */\n\n/** @typedef {ObjectSerializerContext & { writeLazy?: (any) => void }} WebpackObjectSerializerContext */\n\nconst CURRENT_MODULE = \"webpack/lib/util/registerExternalSerializer\";\n\nregister(\n\tCachedSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/CachedSource\",\n\tnew (class CachedSourceSerializer {\n\t\t/**\n\t\t * @param {CachedSource} source the cached source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write, writeLazy }) {\n\t\t\tif (writeLazy) {\n\t\t\t\twriteLazy(source.originalLazy());\n\t\t\t} else {\n\t\t\t\twrite(source.original());\n\t\t\t}\n\t\t\twrite(source.getCachedData());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {CachedSource} cached source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\tconst source = read();\n\t\t\tconst cachedData = read();\n\t\t\treturn new CachedSource(source, cachedData);\n\t\t}\n\t})()\n);\n\nregister(\n\tRawSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/RawSource\",\n\tnew (class RawSourceSerializer {\n\t\t/**\n\t\t * @param {RawSource} source the raw source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.buffer());\n\t\t\twrite(!source.isBuffer());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {RawSource} raw source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\tconst source = read();\n\t\t\tconst convertToString = read();\n\t\t\treturn new RawSource(source, convertToString);\n\t\t}\n\t})()\n);\n\nregister(\n\tConcatSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/ConcatSource\",\n\tnew (class ConcatSourceSerializer {\n\t\t/**\n\t\t * @param {ConcatSource} source the concat source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.getChildren());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {ConcatSource} concat source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\tconst source = new ConcatSource();\n\t\t\tsource.addAllSkipOptimizing(read());\n\t\t\treturn source;\n\t\t}\n\t})()\n);\n\nregister(\n\tPrefixSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/PrefixSource\",\n\tnew (class PrefixSourceSerializer {\n\t\t/**\n\t\t * @param {PrefixSource} source the prefix source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.getPrefix());\n\t\t\twrite(source.original());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {PrefixSource} prefix source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\treturn new PrefixSource(read(), read());\n\t\t}\n\t})()\n);\n\nregister(\n\tReplaceSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/ReplaceSource\",\n\tnew (class ReplaceSourceSerializer {\n\t\t/**\n\t\t * @param {ReplaceSource} source the replace source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.original());\n\t\t\twrite(source.getName());\n\t\t\tconst replacements = source.getReplacements();\n\t\t\twrite(replacements.length);\n\t\t\tfor (const repl of replacements) {\n\t\t\t\twrite(repl.start);\n\t\t\t\twrite(repl.end);\n\t\t\t}\n\t\t\tfor (const repl of replacements) {\n\t\t\t\twrite(repl.content);\n\t\t\t\twrite(repl.name);\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {ReplaceSource} replace source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\tconst source = new ReplaceSource(read(), read());\n\t\t\tconst len = read();\n\t\t\tconst startEndBuffer = [];\n\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\tstartEndBuffer.push(read(), read());\n\t\t\t}\n\t\t\tlet j = 0;\n\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\tsource.replace(\n\t\t\t\t\tstartEndBuffer[j++],\n\t\t\t\t\tstartEndBuffer[j++],\n\t\t\t\t\tread(),\n\t\t\t\t\tread()\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn source;\n\t\t}\n\t})()\n);\n\nregister(\n\tOriginalSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/OriginalSource\",\n\tnew (class OriginalSourceSerializer {\n\t\t/**\n\t\t * @param {OriginalSource} source the original source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.buffer());\n\t\t\twrite(source.getName());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {OriginalSource} original source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\tconst buffer = read();\n\t\t\tconst name = read();\n\t\t\treturn new OriginalSource(buffer, name);\n\t\t}\n\t})()\n);\n\nregister(\n\tSourceLocation,\n\tCURRENT_MODULE,\n\t\"acorn/SourceLocation\",\n\tnew (class SourceLocationSerializer {\n\t\t/**\n\t\t * @param {SourceLocation} loc the location to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(loc, { write }) {\n\t\t\twrite(loc.start.line);\n\t\t\twrite(loc.start.column);\n\t\t\twrite(loc.end.line);\n\t\t\twrite(loc.end.column);\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {RealDependencyLocation} location\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\treturn {\n\t\t\t\tstart: {\n\t\t\t\t\tline: read(),\n\t\t\t\t\tcolumn: read()\n\t\t\t\t},\n\t\t\t\tend: {\n\t\t\t\t\tline: read(),\n\t\t\t\t\tcolumn: read()\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t})()\n);\n\nregister(\n\tPosition,\n\tCURRENT_MODULE,\n\t\"acorn/Position\",\n\tnew (class PositionSerializer {\n\t\t/**\n\t\t * @param {Position} pos the position to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(pos, { write }) {\n\t\t\twrite(pos.line);\n\t\t\twrite(pos.column);\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {SourcePosition} position\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\treturn {\n\t\t\t\tline: read(),\n\t\t\t\tcolumn: read()\n\t\t\t};\n\t\t}\n\t})()\n);\n\nregister(\n\tSourceMapSource,\n\tCURRENT_MODULE,\n\t\"webpack-sources/SourceMapSource\",\n\tnew (class SourceMapSourceSerializer {\n\t\t/**\n\t\t * @param {SourceMapSource} source the source map source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(source, { write }) {\n\t\t\twrite(source.getArgsAsBuffers());\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {SourceMapSource} source source map source\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\t// @ts-expect-error\n\t\t\treturn new SourceMapSource(...read());\n\t\t}\n\t})()\n);\n\nregister(\n\tValidationError,\n\tCURRENT_MODULE,\n\t\"schema-utils/ValidationError\",\n\tnew (class ValidationErrorSerializer {\n\t\t// TODO error should be ValidationError, but this fails the type checks\n\t\t/**\n\t\t * @param {TODO} error the source map source to be serialized\n\t\t * @param {WebpackObjectSerializerContext} context context\n\t\t * @returns {void}\n\t\t */\n\t\tserialize(error, { write }) {\n\t\t\twrite(error.errors);\n\t\t\twrite(error.schema);\n\t\t\twrite({\n\t\t\t\tname: error.headerName,\n\t\t\t\tbaseDataPath: error.baseDataPath,\n\t\t\t\tpostFormatter: error.postFormatter\n\t\t\t});\n\t\t}\n\n\t\t/**\n\t\t * @param {ObjectDeserializerContext} context context\n\t\t * @returns {TODO} error\n\t\t */\n\t\tdeserialize({ read }) {\n\t\t\treturn new ValidationError(read(), read(), read());\n\t\t}\n\t})()\n);\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/registerExternalSerializer.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/runtime.js": /*!**************************************************!*\ !*** ./node_modules/webpack/lib/util/runtime.js ***! \**************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst SortableSet = __webpack_require__(/*! ./SortableSet */ \"./node_modules/webpack/lib/util/SortableSet.js\");\n\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Entrypoint\").EntryOptions} EntryOptions */\n\n/** @typedef {string | SortableSet<string> | undefined} RuntimeSpec */\n/** @typedef {RuntimeSpec | boolean} RuntimeCondition */\n\n/**\n * @param {Compilation} compilation the compilation\n * @param {string} name name of the entry\n * @param {EntryOptions=} options optionally already received entry options\n * @returns {RuntimeSpec} runtime\n */\nexports.getEntryRuntime = (compilation, name, options) => {\n\tlet dependOn;\n\tlet runtime;\n\tif (options) {\n\t\t({ dependOn, runtime } = options);\n\t} else {\n\t\tconst entry = compilation.entries.get(name);\n\t\tif (!entry) return name;\n\t\t({ dependOn, runtime } = entry.options);\n\t}\n\tif (dependOn) {\n\t\t/** @type {RuntimeSpec} */\n\t\tlet result = undefined;\n\t\tconst queue = new Set(dependOn);\n\t\tfor (const name of queue) {\n\t\t\tconst dep = compilation.entries.get(name);\n\t\t\tif (!dep) continue;\n\t\t\tconst { dependOn, runtime } = dep.options;\n\t\t\tif (dependOn) {\n\t\t\t\tfor (const name of dependOn) {\n\t\t\t\t\tqueue.add(name);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresult = mergeRuntimeOwned(result, runtime || name);\n\t\t\t}\n\t\t}\n\t\treturn result || name;\n\t} else {\n\t\treturn runtime || name;\n\t}\n};\n\n/**\n * @param {RuntimeSpec} runtime runtime\n * @param {function(string): void} fn functor\n * @param {boolean} deterministicOrder enforce a deterministic order\n * @returns {void}\n */\nexports.forEachRuntime = (runtime, fn, deterministicOrder = false) => {\n\tif (runtime === undefined) {\n\t\tfn(undefined);\n\t} else if (typeof runtime === \"string\") {\n\t\tfn(runtime);\n\t} else {\n\t\tif (deterministicOrder) runtime.sort();\n\t\tfor (const r of runtime) {\n\t\t\tfn(r);\n\t\t}\n\t}\n};\n\nconst getRuntimesKey = set => {\n\tset.sort();\n\treturn Array.from(set).join(\"\\n\");\n};\n\n/**\n * @param {RuntimeSpec} runtime runtime(s)\n * @returns {string} key of runtimes\n */\nconst getRuntimeKey = runtime => {\n\tif (runtime === undefined) return \"*\";\n\tif (typeof runtime === \"string\") return runtime;\n\treturn runtime.getFromUnorderedCache(getRuntimesKey);\n};\nexports.getRuntimeKey = getRuntimeKey;\n\n/**\n * @param {string} key key of runtimes\n * @returns {RuntimeSpec} runtime(s)\n */\nconst keyToRuntime = key => {\n\tif (key === \"*\") return undefined;\n\tconst items = key.split(\"\\n\");\n\tif (items.length === 1) return items[0];\n\treturn new SortableSet(items);\n};\nexports.keyToRuntime = keyToRuntime;\n\nconst getRuntimesString = set => {\n\tset.sort();\n\treturn Array.from(set).join(\"+\");\n};\n\n/**\n * @param {RuntimeSpec} runtime runtime(s)\n * @returns {string} readable version\n */\nconst runtimeToString = runtime => {\n\tif (runtime === undefined) return \"*\";\n\tif (typeof runtime === \"string\") return runtime;\n\treturn runtime.getFromUnorderedCache(getRuntimesString);\n};\nexports.runtimeToString = runtimeToString;\n\n/**\n * @param {RuntimeCondition} runtimeCondition runtime condition\n * @returns {string} readable version\n */\nexports.runtimeConditionToString = runtimeCondition => {\n\tif (runtimeCondition === true) return \"true\";\n\tif (runtimeCondition === false) return \"false\";\n\treturn runtimeToString(runtimeCondition);\n};\n\n/**\n * @param {RuntimeSpec} a first\n * @param {RuntimeSpec} b second\n * @returns {boolean} true, when they are equal\n */\nconst runtimeEqual = (a, b) => {\n\tif (a === b) {\n\t\treturn true;\n\t} else if (\n\t\ta === undefined ||\n\t\tb === undefined ||\n\t\ttypeof a === \"string\" ||\n\t\ttypeof b === \"string\"\n\t) {\n\t\treturn false;\n\t} else if (a.size !== b.size) {\n\t\treturn false;\n\t} else {\n\t\ta.sort();\n\t\tb.sort();\n\t\tconst aIt = a[Symbol.iterator]();\n\t\tconst bIt = b[Symbol.iterator]();\n\t\tfor (;;) {\n\t\t\tconst aV = aIt.next();\n\t\t\tif (aV.done) return true;\n\t\t\tconst bV = bIt.next();\n\t\t\tif (aV.value !== bV.value) return false;\n\t\t}\n\t}\n};\nexports.runtimeEqual = runtimeEqual;\n\n/**\n * @param {RuntimeSpec} a first\n * @param {RuntimeSpec} b second\n * @returns {-1|0|1} compare\n */\nexports.compareRuntime = (a, b) => {\n\tif (a === b) {\n\t\treturn 0;\n\t} else if (a === undefined) {\n\t\treturn -1;\n\t} else if (b === undefined) {\n\t\treturn 1;\n\t} else {\n\t\tconst aKey = getRuntimeKey(a);\n\t\tconst bKey = getRuntimeKey(b);\n\t\tif (aKey < bKey) return -1;\n\t\tif (aKey > bKey) return 1;\n\t\treturn 0;\n\t}\n};\n\n/**\n * @param {RuntimeSpec} a first\n * @param {RuntimeSpec} b second\n * @returns {RuntimeSpec} merged\n */\nconst mergeRuntime = (a, b) => {\n\tif (a === undefined) {\n\t\treturn b;\n\t} else if (b === undefined) {\n\t\treturn a;\n\t} else if (a === b) {\n\t\treturn a;\n\t} else if (typeof a === \"string\") {\n\t\tif (typeof b === \"string\") {\n\t\t\tconst set = new SortableSet();\n\t\t\tset.add(a);\n\t\t\tset.add(b);\n\t\t\treturn set;\n\t\t} else if (b.has(a)) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\tconst set = new SortableSet(b);\n\t\t\tset.add(a);\n\t\t\treturn set;\n\t\t}\n\t} else {\n\t\tif (typeof b === \"string\") {\n\t\t\tif (a.has(b)) return a;\n\t\t\tconst set = new SortableSet(a);\n\t\t\tset.add(b);\n\t\t\treturn set;\n\t\t} else {\n\t\t\tconst set = new SortableSet(a);\n\t\t\tfor (const item of b) set.add(item);\n\t\t\tif (set.size === a.size) return a;\n\t\t\treturn set;\n\t\t}\n\t}\n};\nexports.mergeRuntime = mergeRuntime;\n\n/**\n * @param {RuntimeCondition} a first\n * @param {RuntimeCondition} b second\n * @param {RuntimeSpec} runtime full runtime\n * @returns {RuntimeCondition} result\n */\nexports.mergeRuntimeCondition = (a, b, runtime) => {\n\tif (a === false) return b;\n\tif (b === false) return a;\n\tif (a === true || b === true) return true;\n\tconst merged = mergeRuntime(a, b);\n\tif (merged === undefined) return undefined;\n\tif (typeof merged === \"string\") {\n\t\tif (typeof runtime === \"string\" && merged === runtime) return true;\n\t\treturn merged;\n\t}\n\tif (typeof runtime === \"string\" || runtime === undefined) return merged;\n\tif (merged.size === runtime.size) return true;\n\treturn merged;\n};\n\n/**\n * @param {RuntimeSpec | true} a first\n * @param {RuntimeSpec | true} b second\n * @param {RuntimeSpec} runtime full runtime\n * @returns {RuntimeSpec | true} result\n */\nexports.mergeRuntimeConditionNonFalse = (a, b, runtime) => {\n\tif (a === true || b === true) return true;\n\tconst merged = mergeRuntime(a, b);\n\tif (merged === undefined) return undefined;\n\tif (typeof merged === \"string\") {\n\t\tif (typeof runtime === \"string\" && merged === runtime) return true;\n\t\treturn merged;\n\t}\n\tif (typeof runtime === \"string\" || runtime === undefined) return merged;\n\tif (merged.size === runtime.size) return true;\n\treturn merged;\n};\n\n/**\n * @param {RuntimeSpec} a first (may be modified)\n * @param {RuntimeSpec} b second\n * @returns {RuntimeSpec} merged\n */\nconst mergeRuntimeOwned = (a, b) => {\n\tif (b === undefined) {\n\t\treturn a;\n\t} else if (a === b) {\n\t\treturn a;\n\t} else if (a === undefined) {\n\t\tif (typeof b === \"string\") {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn new SortableSet(b);\n\t\t}\n\t} else if (typeof a === \"string\") {\n\t\tif (typeof b === \"string\") {\n\t\t\tconst set = new SortableSet();\n\t\t\tset.add(a);\n\t\t\tset.add(b);\n\t\t\treturn set;\n\t\t} else {\n\t\t\tconst set = new SortableSet(b);\n\t\t\tset.add(a);\n\t\t\treturn set;\n\t\t}\n\t} else {\n\t\tif (typeof b === \"string\") {\n\t\t\ta.add(b);\n\t\t\treturn a;\n\t\t} else {\n\t\t\tfor (const item of b) a.add(item);\n\t\t\treturn a;\n\t\t}\n\t}\n};\nexports.mergeRuntimeOwned = mergeRuntimeOwned;\n\n/**\n * @param {RuntimeSpec} a first\n * @param {RuntimeSpec} b second\n * @returns {RuntimeSpec} merged\n */\nexports.intersectRuntime = (a, b) => {\n\tif (a === undefined) {\n\t\treturn b;\n\t} else if (b === undefined) {\n\t\treturn a;\n\t} else if (a === b) {\n\t\treturn a;\n\t} else if (typeof a === \"string\") {\n\t\tif (typeof b === \"string\") {\n\t\t\treturn undefined;\n\t\t} else if (b.has(a)) {\n\t\t\treturn a;\n\t\t} else {\n\t\t\treturn undefined;\n\t\t}\n\t} else {\n\t\tif (typeof b === \"string\") {\n\t\t\tif (a.has(b)) return b;\n\t\t\treturn undefined;\n\t\t} else {\n\t\t\tconst set = new SortableSet();\n\t\t\tfor (const item of b) {\n\t\t\t\tif (a.has(item)) set.add(item);\n\t\t\t}\n\t\t\tif (set.size === 0) return undefined;\n\t\t\tif (set.size === 1) for (const item of set) return item;\n\t\t\treturn set;\n\t\t}\n\t}\n};\n\n/**\n * @param {RuntimeSpec} a first\n * @param {RuntimeSpec} b second\n * @returns {RuntimeSpec} result\n */\nconst subtractRuntime = (a, b) => {\n\tif (a === undefined) {\n\t\treturn undefined;\n\t} else if (b === undefined) {\n\t\treturn a;\n\t} else if (a === b) {\n\t\treturn undefined;\n\t} else if (typeof a === \"string\") {\n\t\tif (typeof b === \"string\") {\n\t\t\treturn a;\n\t\t} else if (b.has(a)) {\n\t\t\treturn undefined;\n\t\t} else {\n\t\t\treturn a;\n\t\t}\n\t} else {\n\t\tif (typeof b === \"string\") {\n\t\t\tif (!a.has(b)) return a;\n\t\t\tif (a.size === 2) {\n\t\t\t\tfor (const item of a) {\n\t\t\t\t\tif (item !== b) return item;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst set = new SortableSet(a);\n\t\t\tset.delete(b);\n\t\t} else {\n\t\t\tconst set = new SortableSet();\n\t\t\tfor (const item of a) {\n\t\t\t\tif (!b.has(item)) set.add(item);\n\t\t\t}\n\t\t\tif (set.size === 0) return undefined;\n\t\t\tif (set.size === 1) for (const item of set) return item;\n\t\t\treturn set;\n\t\t}\n\t}\n};\nexports.subtractRuntime = subtractRuntime;\n\n/**\n * @param {RuntimeCondition} a first\n * @param {RuntimeCondition} b second\n * @param {RuntimeSpec} runtime runtime\n * @returns {RuntimeCondition} result\n */\nexports.subtractRuntimeCondition = (a, b, runtime) => {\n\tif (b === true) return false;\n\tif (b === false) return a;\n\tif (a === false) return false;\n\tconst result = subtractRuntime(a === true ? runtime : a, b);\n\treturn result === undefined ? false : result;\n};\n\n/**\n * @param {RuntimeSpec} runtime runtime\n * @param {function(RuntimeSpec): boolean} filter filter function\n * @returns {boolean | RuntimeSpec} true/false if filter is constant for all runtimes, otherwise runtimes that are active\n */\nexports.filterRuntime = (runtime, filter) => {\n\tif (runtime === undefined) return filter(undefined);\n\tif (typeof runtime === \"string\") return filter(runtime);\n\tlet some = false;\n\tlet every = true;\n\tlet result = undefined;\n\tfor (const r of runtime) {\n\t\tconst v = filter(r);\n\t\tif (v) {\n\t\t\tsome = true;\n\t\t\tresult = mergeRuntimeOwned(result, r);\n\t\t} else {\n\t\t\tevery = false;\n\t\t}\n\t}\n\tif (!some) return false;\n\tif (every) return true;\n\treturn result;\n};\n\n/**\n * @template T\n */\nclass RuntimeSpecMap {\n\t/**\n\t * @param {RuntimeSpecMap<T>=} clone copy form this\n\t */\n\tconstructor(clone) {\n\t\tthis._mode = clone ? clone._mode : 0; // 0 = empty, 1 = single entry, 2 = map\n\t\t/** @type {RuntimeSpec} */\n\t\tthis._singleRuntime = clone ? clone._singleRuntime : undefined;\n\t\t/** @type {T} */\n\t\tthis._singleValue = clone ? clone._singleValue : undefined;\n\t\t/** @type {Map<string, T> | undefined} */\n\t\tthis._map = clone && clone._map ? new Map(clone._map) : undefined;\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtimes\n\t * @returns {T} value\n\t */\n\tget(runtime) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\treturn undefined;\n\t\t\tcase 1:\n\t\t\t\treturn runtimeEqual(this._singleRuntime, runtime)\n\t\t\t\t\t? this._singleValue\n\t\t\t\t\t: undefined;\n\t\t\tdefault:\n\t\t\t\treturn this._map.get(getRuntimeKey(runtime));\n\t\t}\n\t}\n\n\t/**\n\t * @param {RuntimeSpec} runtime the runtimes\n\t * @returns {boolean} true, when the runtime is stored\n\t */\n\thas(runtime) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\treturn false;\n\t\t\tcase 1:\n\t\t\t\treturn runtimeEqual(this._singleRuntime, runtime);\n\t\t\tdefault:\n\t\t\t\treturn this._map.has(getRuntimeKey(runtime));\n\t\t}\n\t}\n\n\tset(runtime, value) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\tthis._mode = 1;\n\t\t\t\tthis._singleRuntime = runtime;\n\t\t\t\tthis._singleValue = value;\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tif (runtimeEqual(this._singleRuntime, runtime)) {\n\t\t\t\t\tthis._singleValue = value;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tthis._mode = 2;\n\t\t\t\tthis._map = new Map();\n\t\t\t\tthis._map.set(getRuntimeKey(this._singleRuntime), this._singleValue);\n\t\t\t\tthis._singleRuntime = undefined;\n\t\t\t\tthis._singleValue = undefined;\n\t\t\t/* falls through */\n\t\t\tdefault:\n\t\t\t\tthis._map.set(getRuntimeKey(runtime), value);\n\t\t}\n\t}\n\n\tprovide(runtime, computer) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\tthis._mode = 1;\n\t\t\t\tthis._singleRuntime = runtime;\n\t\t\t\treturn (this._singleValue = computer());\n\t\t\tcase 1: {\n\t\t\t\tif (runtimeEqual(this._singleRuntime, runtime)) {\n\t\t\t\t\treturn this._singleValue;\n\t\t\t\t}\n\t\t\t\tthis._mode = 2;\n\t\t\t\tthis._map = new Map();\n\t\t\t\tthis._map.set(getRuntimeKey(this._singleRuntime), this._singleValue);\n\t\t\t\tthis._singleRuntime = undefined;\n\t\t\t\tthis._singleValue = undefined;\n\t\t\t\tconst newValue = computer();\n\t\t\t\tthis._map.set(getRuntimeKey(runtime), newValue);\n\t\t\t\treturn newValue;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst key = getRuntimeKey(runtime);\n\t\t\t\tconst value = this._map.get(key);\n\t\t\t\tif (value !== undefined) return value;\n\t\t\t\tconst newValue = computer();\n\t\t\t\tthis._map.set(key, newValue);\n\t\t\t\treturn newValue;\n\t\t\t}\n\t\t}\n\t}\n\n\tdelete(runtime) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\treturn;\n\t\t\tcase 1:\n\t\t\t\tif (runtimeEqual(this._singleRuntime, runtime)) {\n\t\t\t\t\tthis._mode = 0;\n\t\t\t\t\tthis._singleRuntime = undefined;\n\t\t\t\t\tthis._singleValue = undefined;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\tdefault:\n\t\t\t\tthis._map.delete(getRuntimeKey(runtime));\n\t\t}\n\t}\n\n\tupdate(runtime, fn) {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\tthrow new Error(\"runtime passed to update must exist\");\n\t\t\tcase 1: {\n\t\t\t\tif (runtimeEqual(this._singleRuntime, runtime)) {\n\t\t\t\t\tthis._singleValue = fn(this._singleValue);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tconst newValue = fn(undefined);\n\t\t\t\tif (newValue !== undefined) {\n\t\t\t\t\tthis._mode = 2;\n\t\t\t\t\tthis._map = new Map();\n\t\t\t\t\tthis._map.set(getRuntimeKey(this._singleRuntime), this._singleValue);\n\t\t\t\t\tthis._singleRuntime = undefined;\n\t\t\t\t\tthis._singleValue = undefined;\n\t\t\t\t\tthis._map.set(getRuntimeKey(runtime), newValue);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst key = getRuntimeKey(runtime);\n\t\t\t\tconst oldValue = this._map.get(key);\n\t\t\t\tconst newValue = fn(oldValue);\n\t\t\t\tif (newValue !== oldValue) this._map.set(key, newValue);\n\t\t\t}\n\t\t}\n\t}\n\n\tkeys() {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\treturn [];\n\t\t\tcase 1:\n\t\t\t\treturn [this._singleRuntime];\n\t\t\tdefault:\n\t\t\t\treturn Array.from(this._map.keys(), keyToRuntime);\n\t\t}\n\t}\n\n\tvalues() {\n\t\tswitch (this._mode) {\n\t\t\tcase 0:\n\t\t\t\treturn [][Symbol.iterator]();\n\t\t\tcase 1:\n\t\t\t\treturn [this._singleValue][Symbol.iterator]();\n\t\t\tdefault:\n\t\t\t\treturn this._map.values();\n\t\t}\n\t}\n\n\tget size() {\n\t\tif (this._mode <= 1) return this._mode;\n\t\treturn this._map.size;\n\t}\n}\n\nexports.RuntimeSpecMap = RuntimeSpecMap;\n\nclass RuntimeSpecSet {\n\tconstructor(iterable) {\n\t\t/** @type {Map<string, RuntimeSpec>} */\n\t\tthis._map = new Map();\n\t\tif (iterable) {\n\t\t\tfor (const item of iterable) {\n\t\t\t\tthis.add(item);\n\t\t\t}\n\t\t}\n\t}\n\n\tadd(runtime) {\n\t\tthis._map.set(getRuntimeKey(runtime), runtime);\n\t}\n\n\thas(runtime) {\n\t\treturn this._map.has(getRuntimeKey(runtime));\n\t}\n\n\t[Symbol.iterator]() {\n\t\treturn this._map.values();\n\t}\n\n\tget size() {\n\t\treturn this._map.size;\n\t}\n}\n\nexports.RuntimeSpecSet = RuntimeSpecSet;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/runtime.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/semver.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/util/semver.js ***! \*************************************************/ /***/ (function(__unused_webpack_module, exports) { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {(string|number|undefined|[])[]} SemVerRange */\n\n/**\n * @param {string} str version string\n * @returns {(string|number|undefined|[])[]} parsed version\n */\nconst parseVersion = str => {\n\tvar splitAndConvert = function (str) {\n\t\treturn str.split(\".\").map(function (item) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn +item == item ? +item : item;\n\t\t});\n\t};\n\tvar match = /^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str);\n\t/** @type {(string|number|undefined|[])[]} */\n\tvar ver = match[1] ? splitAndConvert(match[1]) : [];\n\tif (match[2]) {\n\t\tver.length++;\n\t\tver.push.apply(ver, splitAndConvert(match[2]));\n\t}\n\tif (match[3]) {\n\t\tver.push([]);\n\t\tver.push.apply(ver, splitAndConvert(match[3]));\n\t}\n\treturn ver;\n};\nexports.parseVersion = parseVersion;\n\n/* eslint-disable eqeqeq */\n/**\n * @param {string} a version\n * @param {string} b version\n * @returns {boolean} true, iff a < b\n */\nconst versionLt = (a, b) => {\n\t// @ts-expect-error\n\ta = parseVersion(a);\n\t// @ts-expect-error\n\tb = parseVersion(b);\n\tvar i = 0;\n\tfor (;;) {\n\t\t// a b EOA object undefined number string\n\t\t// EOA a == b a < b b < a a < b a < b\n\t\t// object b < a (0) b < a a < b a < b\n\t\t// undefined a < b a < b (0) a < b a < b\n\t\t// number b < a b < a b < a (1) a < b\n\t\t// string b < a b < a b < a b < a (1)\n\t\t// EOA end of array\n\t\t// (0) continue on\n\t\t// (1) compare them via \"<\"\n\n\t\t// Handles first row in table\n\t\tif (i >= a.length) return i < b.length && (typeof b[i])[0] != \"u\";\n\n\t\tvar aValue = a[i];\n\t\tvar aType = (typeof aValue)[0];\n\n\t\t// Handles first column in table\n\t\tif (i >= b.length) return aType == \"u\";\n\n\t\tvar bValue = b[i];\n\t\tvar bType = (typeof bValue)[0];\n\n\t\tif (aType == bType) {\n\t\t\tif (aType != \"o\" && aType != \"u\" && aValue != bValue) {\n\t\t\t\treturn aValue < bValue;\n\t\t\t}\n\t\t\ti++;\n\t\t} else {\n\t\t\t// Handles remaining cases\n\t\t\tif (aType == \"o\" && bType == \"n\") return true;\n\t\t\treturn bType == \"s\" || aType == \"u\";\n\t\t}\n\t}\n};\n/* eslint-enable eqeqeq */\nexports.versionLt = versionLt;\n\n/**\n * @param {string} str range string\n * @returns {SemVerRange} parsed range\n */\nexports.parseRange = str => {\n\tconst splitAndConvert = str => {\n\t\treturn str\n\t\t\t.split(\".\")\n\t\t\t.map(item => (item !== \"NaN\" && `${+item}` === item ? +item : item));\n\t};\n\t// see https://docs.npmjs.com/misc/semver#range-grammar for grammar\n\tconst parsePartial = str => {\n\t\tconst match = /^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str);\n\t\t/** @type {(string|number|undefined|[])[]} */\n\t\tconst ver = match[1] ? [0, ...splitAndConvert(match[1])] : [0];\n\t\tif (match[2]) {\n\t\t\tver.length++;\n\t\t\tver.push.apply(ver, splitAndConvert(match[2]));\n\t\t}\n\n\t\t// remove trailing any matchers\n\t\tlet last = ver[ver.length - 1];\n\t\twhile (\n\t\t\tver.length &&\n\t\t\t(last === undefined || /^[*xX]$/.test(/** @type {string} */ (last)))\n\t\t) {\n\t\t\tver.pop();\n\t\t\tlast = ver[ver.length - 1];\n\t\t}\n\n\t\treturn ver;\n\t};\n\tconst toFixed = range => {\n\t\tif (range.length === 1) {\n\t\t\t// Special case for \"*\" is \"x.x.x\" instead of \"=\"\n\t\t\treturn [0];\n\t\t} else if (range.length === 2) {\n\t\t\t// Special case for \"1\" is \"1.x.x\" instead of \"=1\"\n\t\t\treturn [1, ...range.slice(1)];\n\t\t} else if (range.length === 3) {\n\t\t\t// Special case for \"1.2\" is \"1.2.x\" instead of \"=1.2\"\n\t\t\treturn [2, ...range.slice(1)];\n\t\t} else {\n\t\t\treturn [range.length, ...range.slice(1)];\n\t\t}\n\t};\n\tconst negate = range => {\n\t\treturn [-range[0] - 1, ...range.slice(1)];\n\t};\n\tconst parseSimple = str => {\n\t\t// simple ::= primitive | partial | tilde | caret\n\t\t// primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | '!' ) ( ' ' ) * partial\n\t\t// tilde ::= '~' ( ' ' ) * partial\n\t\t// caret ::= '^' ( ' ' ) * partial\n\t\tconst match = /^(\\^|~|<=|<|>=|>|=|v|!)/.exec(str);\n\t\tconst start = match ? match[0] : \"\";\n\t\tconst remainder = parsePartial(\n\t\t\tstart.length ? str.slice(start.length).trim() : str.trim()\n\t\t);\n\t\tswitch (start) {\n\t\t\tcase \"^\":\n\t\t\t\tif (remainder.length > 1 && remainder[1] === 0) {\n\t\t\t\t\tif (remainder.length > 2 && remainder[2] === 0) {\n\t\t\t\t\t\treturn [3, ...remainder.slice(1)];\n\t\t\t\t\t}\n\t\t\t\t\treturn [2, ...remainder.slice(1)];\n\t\t\t\t}\n\t\t\t\treturn [1, ...remainder.slice(1)];\n\t\t\tcase \"~\":\n\t\t\t\treturn [2, ...remainder.slice(1)];\n\t\t\tcase \">=\":\n\t\t\t\treturn remainder;\n\t\t\tcase \"=\":\n\t\t\tcase \"v\":\n\t\t\tcase \"\":\n\t\t\t\treturn toFixed(remainder);\n\t\t\tcase \"<\":\n\t\t\t\treturn negate(remainder);\n\t\t\tcase \">\": {\n\t\t\t\t// and( >=, not( = ) ) => >=, =, not, and\n\t\t\t\tconst fixed = toFixed(remainder);\n\t\t\t\t// eslint-disable-next-line no-sparse-arrays\n\t\t\t\treturn [, fixed, 0, remainder, 2];\n\t\t\t}\n\t\t\tcase \"<=\":\n\t\t\t\t// or( <, = ) => <, =, or\n\t\t\t\t// eslint-disable-next-line no-sparse-arrays\n\t\t\t\treturn [, toFixed(remainder), negate(remainder), 1];\n\t\t\tcase \"!\": {\n\t\t\t\t// not =\n\t\t\t\tconst fixed = toFixed(remainder);\n\t\t\t\t// eslint-disable-next-line no-sparse-arrays\n\t\t\t\treturn [, fixed, 0];\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\"Unexpected start value\");\n\t\t}\n\t};\n\tconst combine = (items, fn) => {\n\t\tif (items.length === 1) return items[0];\n\t\tconst arr = [];\n\t\tfor (const item of items.slice().reverse()) {\n\t\t\tif (0 in item) {\n\t\t\t\tarr.push(item);\n\t\t\t} else {\n\t\t\t\tarr.push(...item.slice(1));\n\t\t\t}\n\t\t}\n\t\t// eslint-disable-next-line no-sparse-arrays\n\t\treturn [, ...arr, ...items.slice(1).map(() => fn)];\n\t};\n\tconst parseRange = str => {\n\t\t// range ::= hyphen | simple ( ' ' ( ' ' ) * simple ) * | ''\n\t\t// hyphen ::= partial ( ' ' ) * ' - ' ( ' ' ) * partial\n\t\tconst items = str.split(/\\s+-\\s+/);\n\t\tif (items.length === 1) {\n\t\t\tconst items = str\n\t\t\t\t.trim()\n\t\t\t\t.split(/(?<=[-0-9A-Za-z])\\s+/g)\n\t\t\t\t.map(parseSimple);\n\t\t\treturn combine(items, 2);\n\t\t}\n\t\tconst a = parsePartial(items[0]);\n\t\tconst b = parsePartial(items[1]);\n\t\t// >=a <=b => and( >=a, or( <b, =b ) ) => >=a, <b, =b, or, and\n\t\t// eslint-disable-next-line no-sparse-arrays\n\t\treturn [, toFixed(b), negate(b), 1, a, 2];\n\t};\n\tconst parseLogicalOr = str => {\n\t\t// range-set ::= range ( logical-or range ) *\n\t\t// logical-or ::= ( ' ' ) * '||' ( ' ' ) *\n\t\tconst items = str.split(/\\s*\\|\\|\\s*/).map(parseRange);\n\t\treturn combine(items, 1);\n\t};\n\treturn parseLogicalOr(str);\n};\n\n/* eslint-disable eqeqeq */\nconst rangeToString = range => {\n\tvar fixCount = range[0];\n\tvar str = \"\";\n\tif (range.length === 1) {\n\t\treturn \"*\";\n\t} else if (fixCount + 0.5) {\n\t\tstr +=\n\t\t\tfixCount == 0\n\t\t\t\t? \">=\"\n\t\t\t\t: fixCount == -1\n\t\t\t\t? \"<\"\n\t\t\t\t: fixCount == 1\n\t\t\t\t? \"^\"\n\t\t\t\t: fixCount == 2\n\t\t\t\t? \"~\"\n\t\t\t\t: fixCount > 0\n\t\t\t\t? \"=\"\n\t\t\t\t: \"!=\";\n\t\tvar needDot = 1;\n\t\t// eslint-disable-next-line no-redeclare\n\t\tfor (var i = 1; i < range.length; i++) {\n\t\t\tvar item = range[i];\n\t\t\tvar t = (typeof item)[0];\n\t\t\tneedDot--;\n\t\t\tstr +=\n\t\t\t\tt == \"u\"\n\t\t\t\t\t? // undefined: prerelease marker, add an \"-\"\n\t\t\t\t\t \"-\"\n\t\t\t\t\t: // number or string: add the item, set flag to add an \".\" between two of them\n\t\t\t\t\t (needDot > 0 ? \".\" : \"\") + ((needDot = 2), item);\n\t\t}\n\t\treturn str;\n\t} else {\n\t\tvar stack = [];\n\t\t// eslint-disable-next-line no-redeclare\n\t\tfor (var i = 1; i < range.length; i++) {\n\t\t\t// eslint-disable-next-line no-redeclare\n\t\t\tvar item = range[i];\n\t\t\tstack.push(\n\t\t\t\titem === 0\n\t\t\t\t\t? \"not(\" + pop() + \")\"\n\t\t\t\t\t: item === 1\n\t\t\t\t\t? \"(\" + pop() + \" || \" + pop() + \")\"\n\t\t\t\t\t: item === 2\n\t\t\t\t\t? stack.pop() + \" \" + stack.pop()\n\t\t\t\t\t: rangeToString(item)\n\t\t\t);\n\t\t}\n\t\treturn pop();\n\t}\n\tfunction pop() {\n\t\treturn stack.pop().replace(/^\\((.+)\\)$/, \"$1\");\n\t}\n};\n/* eslint-enable eqeqeq */\nexports.rangeToString = rangeToString;\n\n/* eslint-disable eqeqeq */\n/**\n * @param {SemVerRange} range version range\n * @param {string} version the version\n * @returns {boolean} if version satisfy the range\n */\nconst satisfy = (range, version) => {\n\tif (0 in range) {\n\t\t// @ts-expect-error\n\t\tversion = parseVersion(version);\n\t\tvar fixCount = range[0];\n\t\t// when negated is set it swill set for < instead of >=\n\t\tvar negated = fixCount < 0;\n\t\tif (negated) fixCount = -fixCount - 1;\n\t\tfor (var i = 0, j = 1, isEqual = true; ; j++, i++) {\n\t\t\t// cspell:word nequal nequ\n\n\t\t\t// when isEqual = true:\n\t\t\t// range version: EOA/object undefined number string\n\t\t\t// EOA equal block big-ver big-ver\n\t\t\t// undefined bigger next big-ver big-ver\n\t\t\t// number smaller block cmp big-cmp\n\t\t\t// fixed number smaller block cmp-fix differ\n\t\t\t// string smaller block differ cmp\n\t\t\t// fixed string smaller block small-cmp cmp-fix\n\n\t\t\t// when isEqual = false:\n\t\t\t// range version: EOA/object undefined number string\n\t\t\t// EOA nequal block next-ver next-ver\n\t\t\t// undefined nequal block next-ver next-ver\n\t\t\t// number nequal block next next\n\t\t\t// fixed number nequal block next next (this never happens)\n\t\t\t// string nequal block next next\n\t\t\t// fixed string nequal block next next (this never happens)\n\n\t\t\t// EOA end of array\n\t\t\t// equal (version is equal range):\n\t\t\t// when !negated: return true,\n\t\t\t// when negated: return false\n\t\t\t// bigger (version is bigger as range):\n\t\t\t// when fixed: return false,\n\t\t\t// when !negated: return true,\n\t\t\t// when negated: return false,\n\t\t\t// smaller (version is smaller as range):\n\t\t\t// when !negated: return false,\n\t\t\t// when negated: return true\n\t\t\t// nequal (version is not equal range (> resp <)): return true\n\t\t\t// block (version is in different prerelease area): return false\n\t\t\t// differ (version is different from fixed range (string vs. number)): return false\n\t\t\t// next: continues to the next items\n\t\t\t// next-ver: when fixed: return false, continues to the next item only for the version, sets isEqual=false\n\t\t\t// big-ver: when fixed || negated: return false, continues to the next item only for the version, sets isEqual=false\n\t\t\t// next-nequ: continues to the next items, sets isEqual=false\n\t\t\t// cmp (negated === false): version < range => return false, version > range => next-nequ, else => next\n\t\t\t// cmp (negated === true): version > range => return false, version < range => next-nequ, else => next\n\t\t\t// cmp-fix: version == range => next, else => return false\n\t\t\t// big-cmp: when negated => return false, else => next-nequ\n\t\t\t// small-cmp: when negated => next-nequ, else => return false\n\n\t\t\tvar rangeType = j < range.length ? (typeof range[j])[0] : \"\";\n\n\t\t\tvar versionValue;\n\t\t\tvar versionType;\n\n\t\t\t// Handles first column in both tables (end of version or object)\n\t\t\tif (\n\t\t\t\ti >= version.length ||\n\t\t\t\t((versionValue = version[i]),\n\t\t\t\t(versionType = (typeof versionValue)[0]) == \"o\")\n\t\t\t) {\n\t\t\t\t// Handles nequal\n\t\t\t\tif (!isEqual) return true;\n\t\t\t\t// Handles bigger\n\t\t\t\tif (rangeType == \"u\") return j > fixCount && !negated;\n\t\t\t\t// Handles equal and smaller: (range === EOA) XOR negated\n\t\t\t\treturn (rangeType == \"\") != negated; // equal + smaller\n\t\t\t}\n\n\t\t\t// Handles second column in both tables (version = undefined)\n\t\t\tif (versionType == \"u\") {\n\t\t\t\tif (!isEqual || rangeType != \"u\") {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// switch between first and second table\n\t\t\telse if (isEqual) {\n\t\t\t\t// Handle diagonal\n\t\t\t\tif (rangeType == versionType) {\n\t\t\t\t\tif (j <= fixCount) {\n\t\t\t\t\t\t// Handles \"cmp-fix\" cases\n\t\t\t\t\t\tif (versionValue != range[j]) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Handles \"cmp\" cases\n\t\t\t\t\t\tif (negated ? versionValue > range[j] : versionValue < range[j]) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (versionValue != range[j]) isEqual = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Handle big-ver\n\t\t\t\telse if (rangeType != \"s\" && rangeType != \"n\") {\n\t\t\t\t\tif (negated || j <= fixCount) return false;\n\t\t\t\t\tisEqual = false;\n\t\t\t\t\tj--;\n\t\t\t\t}\n\n\t\t\t\t// Handle differ, big-cmp and small-cmp\n\t\t\t\telse if (j <= fixCount || versionType < rangeType != negated) {\n\t\t\t\t\treturn false;\n\t\t\t\t} else {\n\t\t\t\t\tisEqual = false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Handles all \"next-ver\" cases in the second table\n\t\t\t\tif (rangeType != \"s\" && rangeType != \"n\") {\n\t\t\t\t\tisEqual = false;\n\t\t\t\t\tj--;\n\t\t\t\t}\n\n\t\t\t\t// next is applied by default\n\t\t\t}\n\t\t}\n\t}\n\t/** @type {(boolean | number)[]} */\n\tvar stack = [];\n\tvar p = stack.pop.bind(stack);\n\t// eslint-disable-next-line no-redeclare\n\tfor (var i = 1; i < range.length; i++) {\n\t\tvar item = /** @type {SemVerRange | 0 | 1 | 2} */ (range[i]);\n\t\tstack.push(\n\t\t\titem == 1\n\t\t\t\t? p() | p()\n\t\t\t\t: item == 2\n\t\t\t\t? p() & p()\n\t\t\t\t: item\n\t\t\t\t? satisfy(item, version)\n\t\t\t\t: !p()\n\t\t);\n\t}\n\treturn !!p();\n};\n/* eslint-enable eqeqeq */\nexports.satisfy = satisfy;\n\nexports.stringifyHoley = json => {\n\tswitch (typeof json) {\n\t\tcase \"undefined\":\n\t\t\treturn \"\";\n\t\tcase \"object\":\n\t\t\tif (Array.isArray(json)) {\n\t\t\t\tlet str = \"[\";\n\t\t\t\tfor (let i = 0; i < json.length; i++) {\n\t\t\t\t\tif (i !== 0) str += \",\";\n\t\t\t\t\tstr += this.stringifyHoley(json[i]);\n\t\t\t\t}\n\t\t\t\tstr += \"]\";\n\t\t\t\treturn str;\n\t\t\t} else {\n\t\t\t\treturn JSON.stringify(json);\n\t\t\t}\n\t\tdefault:\n\t\t\treturn JSON.stringify(json);\n\t}\n};\n\n//#region runtime code: parseVersion\nexports.parseVersionRuntimeCode = runtimeTemplate =>\n\t`var parseVersion = ${runtimeTemplate.basicFunction(\"str\", [\n\t\t\"// see webpack/lib/util/semver.js for original code\",\n\t\t`var p=${\n\t\t\truntimeTemplate.supportsArrowFunction() ? \"p=>\" : \"function(p)\"\n\t\t}{return p.split(\".\").map((${\n\t\t\truntimeTemplate.supportsArrowFunction() ? \"p=>\" : \"function(p)\"\n\t\t}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`\n\t])}`;\n//#endregion\n\n//#region runtime code: versionLt\nexports.versionLtRuntimeCode = runtimeTemplate =>\n\t`var versionLt = ${runtimeTemplate.basicFunction(\"a, b\", [\n\t\t\"// see webpack/lib/util/semver.js for original code\",\n\t\t'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}'\n\t])}`;\n//#endregion\n\n//#region runtime code: rangeToString\nexports.rangeToStringRuntimeCode = runtimeTemplate =>\n\t`var rangeToString = ${runtimeTemplate.basicFunction(\"range\", [\n\t\t\"// see webpack/lib/util/semver.js for original code\",\n\t\t'var r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\\\((.+)\\\\)$/,\"$1\")}'\n\t])}`;\n//#endregion\n\n//#region runtime code: satisfy\nexports.satisfyRuntimeCode = runtimeTemplate =>\n\t`var satisfy = ${runtimeTemplate.basicFunction(\"range, version\", [\n\t\t\"// see webpack/lib/util/semver.js for original code\",\n\t\t'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();'\n\t])}`;\n//#endregion\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/semver.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/serialization.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/util/serialization.js ***! \********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst memoize = __webpack_require__(/*! ./memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../serialization/BinaryMiddleware\").MEASURE_END_OPERATION_TYPE} MEASURE_END_OPERATION */\n/** @typedef {import(\"../serialization/BinaryMiddleware\").MEASURE_START_OPERATION_TYPE} MEASURE_START_OPERATION */\n/** @typedef {import(\"../serialization/ObjectMiddleware\").ObjectDeserializerContext} ObjectDeserializerContext */\n/** @typedef {import(\"../serialization/ObjectMiddleware\").ObjectSerializerContext} ObjectSerializerContext */\n/** @typedef {import(\"../serialization/Serializer\")} Serializer */\n\nconst getBinaryMiddleware = memoize(() =>\n\t__webpack_require__(/*! ../serialization/BinaryMiddleware */ \"./node_modules/webpack/lib/serialization/BinaryMiddleware.js\")\n);\nconst getObjectMiddleware = memoize(() =>\n\t__webpack_require__(/*! ../serialization/ObjectMiddleware */ \"./node_modules/webpack/lib/serialization/ObjectMiddleware.js\")\n);\nconst getSingleItemMiddleware = memoize(() =>\n\t__webpack_require__(/*! ../serialization/SingleItemMiddleware */ \"./node_modules/webpack/lib/serialization/SingleItemMiddleware.js\")\n);\nconst getSerializer = memoize(() => __webpack_require__(/*! ../serialization/Serializer */ \"./node_modules/webpack/lib/serialization/Serializer.js\"));\nconst getSerializerMiddleware = memoize(() =>\n\t__webpack_require__(/*! ../serialization/SerializerMiddleware */ \"./node_modules/webpack/lib/serialization/SerializerMiddleware.js\")\n);\n\nconst getBinaryMiddlewareInstance = memoize(\n\t() => new (getBinaryMiddleware())()\n);\n\nconst registerSerializers = memoize(() => {\n\t__webpack_require__(/*! ./registerExternalSerializer */ \"./node_modules/webpack/lib/util/registerExternalSerializer.js\");\n\n\t// Load internal paths with a relative require\n\t// This allows bundling all internal serializers\n\tconst internalSerializables = __webpack_require__(/*! ./internalSerializables */ \"./node_modules/webpack/lib/util/internalSerializables.js\");\n\tgetObjectMiddleware().registerLoader(/^webpack\\/lib\\//, req => {\n\t\tconst loader = internalSerializables[req.slice(\"webpack/lib/\".length)];\n\t\tif (loader) {\n\t\t\tloader();\n\t\t} else {\n\t\t\tconsole.warn(`${req} not found in internalSerializables`);\n\t\t}\n\t\treturn true;\n\t});\n});\n\n/** @type {Serializer} */\nlet buffersSerializer;\n\n// Expose serialization API\nmodule.exports = {\n\tget register() {\n\t\treturn getObjectMiddleware().register;\n\t},\n\tget registerLoader() {\n\t\treturn getObjectMiddleware().registerLoader;\n\t},\n\tget registerNotSerializable() {\n\t\treturn getObjectMiddleware().registerNotSerializable;\n\t},\n\tget NOT_SERIALIZABLE() {\n\t\treturn getObjectMiddleware().NOT_SERIALIZABLE;\n\t},\n\t/** @type {MEASURE_START_OPERATION} */\n\tget MEASURE_START_OPERATION() {\n\t\treturn getBinaryMiddleware().MEASURE_START_OPERATION;\n\t},\n\t/** @type {MEASURE_END_OPERATION} */\n\tget MEASURE_END_OPERATION() {\n\t\treturn getBinaryMiddleware().MEASURE_END_OPERATION;\n\t},\n\tget buffersSerializer() {\n\t\tif (buffersSerializer !== undefined) return buffersSerializer;\n\t\tregisterSerializers();\n\t\tconst Serializer = getSerializer();\n\t\tconst binaryMiddleware = getBinaryMiddlewareInstance();\n\t\tconst SerializerMiddleware = getSerializerMiddleware();\n\t\tconst SingleItemMiddleware = getSingleItemMiddleware();\n\t\treturn (buffersSerializer = new Serializer([\n\t\t\tnew SingleItemMiddleware(),\n\t\t\tnew (getObjectMiddleware())(context => {\n\t\t\t\tif (context.write) {\n\t\t\t\t\tcontext.writeLazy = value => {\n\t\t\t\t\t\tcontext.write(\n\t\t\t\t\t\t\tSerializerMiddleware.createLazy(value, binaryMiddleware)\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}, \"md4\"),\n\t\t\tbinaryMiddleware\n\t\t]));\n\t},\n\tcreateFileSerializer: (fs, hashFunction) => {\n\t\tregisterSerializers();\n\t\tconst Serializer = getSerializer();\n\t\tconst FileMiddleware = __webpack_require__(/*! ../serialization/FileMiddleware */ \"./node_modules/webpack/lib/serialization/FileMiddleware.js\");\n\t\tconst fileMiddleware = new FileMiddleware(fs, hashFunction);\n\t\tconst binaryMiddleware = getBinaryMiddlewareInstance();\n\t\tconst SerializerMiddleware = getSerializerMiddleware();\n\t\tconst SingleItemMiddleware = getSingleItemMiddleware();\n\t\treturn new Serializer([\n\t\t\tnew SingleItemMiddleware(),\n\t\t\tnew (getObjectMiddleware())(context => {\n\t\t\t\tif (context.write) {\n\t\t\t\t\tcontext.writeLazy = value => {\n\t\t\t\t\t\tcontext.write(\n\t\t\t\t\t\t\tSerializerMiddleware.createLazy(value, binaryMiddleware)\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tcontext.writeSeparate = (value, options) => {\n\t\t\t\t\t\tconst lazy = SerializerMiddleware.createLazy(\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tfileMiddleware,\n\t\t\t\t\t\t\toptions\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcontext.write(lazy);\n\t\t\t\t\t\treturn lazy;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}, hashFunction),\n\t\t\tbinaryMiddleware,\n\t\t\tfileMiddleware\n\t\t]);\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/serialization.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/smartGrouping.js": /*!********************************************************!*\ !*** ./node_modules/webpack/lib/util/smartGrouping.js ***! \********************************************************/ /***/ ((module) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/**\n * @typedef {Object} GroupOptions\n * @property {boolean=} groupChildren\n * @property {boolean=} force\n * @property {number=} targetGroupCount\n */\n\n/**\n * @template T\n * @template R\n * @typedef {Object} GroupConfig\n * @property {function(T): string[]} getKeys\n * @property {function(string, (R | T)[], T[]): R} createGroup\n * @property {function(string, T[]): GroupOptions=} getOptions\n */\n\n/**\n * @template T\n * @template R\n * @typedef {Object} ItemWithGroups\n * @property {T} item\n * @property {Set<Group<T, R>>} groups\n */\n\n/**\n * @template T\n * @template R\n * @typedef {{ config: GroupConfig<T, R>, name: string, alreadyGrouped: boolean, items: Set<ItemWithGroups<T, R>> | undefined }} Group\n */\n\n/**\n * @template T\n * @template R\n * @param {T[]} items the list of items\n * @param {GroupConfig<T, R>[]} groupConfigs configuration\n * @returns {(R | T)[]} grouped items\n */\nconst smartGrouping = (items, groupConfigs) => {\n\t/** @type {Set<ItemWithGroups<T, R>>} */\n\tconst itemsWithGroups = new Set();\n\t/** @type {Map<string, Group<T, R>>} */\n\tconst allGroups = new Map();\n\tfor (const item of items) {\n\t\t/** @type {Set<Group<T, R>>} */\n\t\tconst groups = new Set();\n\t\tfor (let i = 0; i < groupConfigs.length; i++) {\n\t\t\tconst groupConfig = groupConfigs[i];\n\t\t\tconst keys = groupConfig.getKeys(item);\n\t\t\tif (keys) {\n\t\t\t\tfor (const name of keys) {\n\t\t\t\t\tconst key = `${i}:${name}`;\n\t\t\t\t\tlet group = allGroups.get(key);\n\t\t\t\t\tif (group === undefined) {\n\t\t\t\t\t\tallGroups.set(\n\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\t(group = {\n\t\t\t\t\t\t\t\tconfig: groupConfig,\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\talreadyGrouped: false,\n\t\t\t\t\t\t\t\titems: undefined\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tgroups.add(group);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\titemsWithGroups.add({\n\t\t\titem,\n\t\t\tgroups\n\t\t});\n\t}\n\t/**\n\t * @param {Set<ItemWithGroups<T, R>>} itemsWithGroups input items with groups\n\t * @returns {(T | R)[]} groups items\n\t */\n\tconst runGrouping = itemsWithGroups => {\n\t\tconst totalSize = itemsWithGroups.size;\n\t\tfor (const entry of itemsWithGroups) {\n\t\t\tfor (const group of entry.groups) {\n\t\t\t\tif (group.alreadyGrouped) continue;\n\t\t\t\tconst items = group.items;\n\t\t\t\tif (items === undefined) {\n\t\t\t\t\tgroup.items = new Set([entry]);\n\t\t\t\t} else {\n\t\t\t\t\titems.add(entry);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t/** @type {Map<Group<T, R>, { items: Set<ItemWithGroups<T, R>>, options: GroupOptions | false | undefined, used: boolean }>} */\n\t\tconst groupMap = new Map();\n\t\tfor (const group of allGroups.values()) {\n\t\t\tif (group.items) {\n\t\t\t\tconst items = group.items;\n\t\t\t\tgroup.items = undefined;\n\t\t\t\tgroupMap.set(group, {\n\t\t\t\t\titems,\n\t\t\t\t\toptions: undefined,\n\t\t\t\t\tused: false\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\t/** @type {(T | R)[]} */\n\t\tconst results = [];\n\t\tfor (;;) {\n\t\t\t/** @type {Group<T, R>} */\n\t\t\tlet bestGroup = undefined;\n\t\t\tlet bestGroupSize = -1;\n\t\t\tlet bestGroupItems = undefined;\n\t\t\tlet bestGroupOptions = undefined;\n\t\t\tfor (const [group, state] of groupMap) {\n\t\t\t\tconst { items, used } = state;\n\t\t\t\tlet options = state.options;\n\t\t\t\tif (options === undefined) {\n\t\t\t\t\tconst groupConfig = group.config;\n\t\t\t\t\tstate.options = options =\n\t\t\t\t\t\t(groupConfig.getOptions &&\n\t\t\t\t\t\t\tgroupConfig.getOptions(\n\t\t\t\t\t\t\t\tgroup.name,\n\t\t\t\t\t\t\t\tArray.from(items, ({ item }) => item)\n\t\t\t\t\t\t\t)) ||\n\t\t\t\t\t\tfalse;\n\t\t\t\t}\n\n\t\t\t\tconst force = options && options.force;\n\t\t\t\tif (!force) {\n\t\t\t\t\tif (bestGroupOptions && bestGroupOptions.force) continue;\n\t\t\t\t\tif (used) continue;\n\t\t\t\t\tif (items.size <= 1 || totalSize - items.size <= 1) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst targetGroupCount = (options && options.targetGroupCount) || 4;\n\t\t\t\tlet sizeValue = force\n\t\t\t\t\t? items.size\n\t\t\t\t\t: Math.min(\n\t\t\t\t\t\t\titems.size,\n\t\t\t\t\t\t\t(totalSize * 2) / targetGroupCount +\n\t\t\t\t\t\t\t\titemsWithGroups.size -\n\t\t\t\t\t\t\t\titems.size\n\t\t\t\t\t );\n\t\t\t\tif (\n\t\t\t\t\tsizeValue > bestGroupSize ||\n\t\t\t\t\t(force && (!bestGroupOptions || !bestGroupOptions.force))\n\t\t\t\t) {\n\t\t\t\t\tbestGroup = group;\n\t\t\t\t\tbestGroupSize = sizeValue;\n\t\t\t\t\tbestGroupItems = items;\n\t\t\t\t\tbestGroupOptions = options;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (bestGroup === undefined) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconst items = new Set(bestGroupItems);\n\t\t\tconst options = bestGroupOptions;\n\n\t\t\tconst groupChildren = !options || options.groupChildren !== false;\n\n\t\t\tfor (const item of items) {\n\t\t\t\titemsWithGroups.delete(item);\n\t\t\t\t// Remove all groups that items have from the map to not select them again\n\t\t\t\tfor (const group of item.groups) {\n\t\t\t\t\tconst state = groupMap.get(group);\n\t\t\t\t\tif (state !== undefined) {\n\t\t\t\t\t\tstate.items.delete(item);\n\t\t\t\t\t\tif (state.items.size === 0) {\n\t\t\t\t\t\t\tgroupMap.delete(group);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate.options = undefined;\n\t\t\t\t\t\t\tif (groupChildren) {\n\t\t\t\t\t\t\t\tstate.used = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tgroupMap.delete(bestGroup);\n\n\t\t\tconst key = bestGroup.name;\n\t\t\tconst groupConfig = bestGroup.config;\n\n\t\t\tconst allItems = Array.from(items, ({ item }) => item);\n\n\t\t\tbestGroup.alreadyGrouped = true;\n\t\t\tconst children = groupChildren ? runGrouping(items) : allItems;\n\t\t\tbestGroup.alreadyGrouped = false;\n\n\t\t\tresults.push(groupConfig.createGroup(key, children, allItems));\n\t\t}\n\t\tfor (const { item } of itemsWithGroups) {\n\t\t\tresults.push(item);\n\t\t}\n\t\treturn results;\n\t};\n\treturn runGrouping(itemsWithGroups);\n};\n\nmodule.exports = smartGrouping;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/smartGrouping.js?"); /***/ }), /***/ "./node_modules/webpack/lib/util/source.js": /*!*************************************************!*\ !*** ./node_modules/webpack/lib/util/source.js ***! \*************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n\n/** @type {WeakMap<Source, WeakMap<Source, boolean>>} */\nconst equalityCache = new WeakMap();\n\n/**\n * @param {Source} a a source\n * @param {Source} b another source\n * @returns {boolean} true, when both sources are equal\n */\nconst _isSourceEqual = (a, b) => {\n\t// prefer .buffer(), it's called anyway during emit\n\t/** @type {Buffer|string} */\n\tlet aSource = typeof a.buffer === \"function\" ? a.buffer() : a.source();\n\t/** @type {Buffer|string} */\n\tlet bSource = typeof b.buffer === \"function\" ? b.buffer() : b.source();\n\tif (aSource === bSource) return true;\n\tif (typeof aSource === \"string\" && typeof bSource === \"string\") return false;\n\tif (!Buffer.isBuffer(aSource)) aSource = Buffer.from(aSource, \"utf-8\");\n\tif (!Buffer.isBuffer(bSource)) bSource = Buffer.from(bSource, \"utf-8\");\n\treturn aSource.equals(bSource);\n};\n\n/**\n * @param {Source} a a source\n * @param {Source} b another source\n * @returns {boolean} true, when both sources are equal\n */\nconst isSourceEqual = (a, b) => {\n\tif (a === b) return true;\n\tconst cache1 = equalityCache.get(a);\n\tif (cache1 !== undefined) {\n\t\tconst result = cache1.get(b);\n\t\tif (result !== undefined) return result;\n\t}\n\tconst result = _isSourceEqual(a, b);\n\tif (cache1 !== undefined) {\n\t\tcache1.set(b, result);\n\t} else {\n\t\tconst map = new WeakMap();\n\t\tmap.set(b, result);\n\t\tequalityCache.set(a, map);\n\t}\n\tconst cache2 = equalityCache.get(b);\n\tif (cache2 !== undefined) {\n\t\tcache2.set(a, result);\n\t} else {\n\t\tconst map = new WeakMap();\n\t\tmap.set(a, result);\n\t\tequalityCache.set(b, map);\n\t}\n\treturn result;\n};\nexports.isSourceEqual = isSourceEqual;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/util/source.js?"); /***/ }), /***/ "./node_modules/webpack/lib/validateSchema.js": /*!****************************************************!*\ !*** ./node_modules/webpack/lib/validateSchema.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { validate } = __webpack_require__(/*! schema-utils */ \"./node_modules/schema-utils/dist/index.js\");\n\n/* cSpell:disable */\nconst DID_YOU_MEAN = {\n\trules: \"module.rules\",\n\tloaders: \"module.rules or module.rules.*.use\",\n\tquery: \"module.rules.*.options (BREAKING CHANGE since webpack 5)\",\n\tnoParse: \"module.noParse\",\n\tfilename: \"output.filename or module.rules.*.generator.filename\",\n\tfile: \"output.filename\",\n\tchunkFilename: \"output.chunkFilename\",\n\tchunkfilename: \"output.chunkFilename\",\n\tecmaVersion:\n\t\t\"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)\",\n\tecmaversion:\n\t\t\"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)\",\n\tecma: \"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)\",\n\tpath: \"output.path\",\n\tpathinfo: \"output.pathinfo\",\n\tpathInfo: \"output.pathinfo\",\n\tjsonpFunction: \"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)\",\n\tchunkCallbackName:\n\t\t\"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)\",\n\tjsonpScriptType: \"output.scriptType (BREAKING CHANGE since webpack 5)\",\n\thotUpdateFunction: \"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)\",\n\tsplitChunks: \"optimization.splitChunks\",\n\timmutablePaths: \"snapshot.immutablePaths\",\n\tmanagedPaths: \"snapshot.managedPaths\",\n\tmaxModules: \"stats.modulesSpace (BREAKING CHANGE since webpack 5)\",\n\thashedModuleIds:\n\t\t'optimization.moduleIds: \"hashed\" (BREAKING CHANGE since webpack 5)',\n\tnamedChunks:\n\t\t'optimization.chunkIds: \"named\" (BREAKING CHANGE since webpack 5)',\n\tnamedModules:\n\t\t'optimization.moduleIds: \"named\" (BREAKING CHANGE since webpack 5)',\n\toccurrenceOrder:\n\t\t'optimization.chunkIds: \"size\" and optimization.moduleIds: \"size\" (BREAKING CHANGE since webpack 5)',\n\tautomaticNamePrefix:\n\t\t\"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)\",\n\tnoEmitOnErrors:\n\t\t\"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)\",\n\tBuffer:\n\t\t\"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\\n\" +\n\t\t\"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\\n\" +\n\t\t\"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\\n\" +\n\t\t\"To provide a polyfill to modules use:\\n\" +\n\t\t'new ProvidePlugin({ Buffer: [\"buffer\", \"Buffer\"] }) and npm install buffer.',\n\tprocess:\n\t\t\"to use the ProvidePlugin to process the process variable to modules as polyfill\\n\" +\n\t\t\"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\\n\" +\n\t\t\"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\\n\" +\n\t\t\"To provide a polyfill to modules use:\\n\" +\n\t\t'new ProvidePlugin({ process: \"process\" }) and npm install buffer.'\n};\n\nconst REMOVED = {\n\tconcord:\n\t\t\"BREAKING CHANGE: resolve.concord has been removed and is no longer available.\",\n\tdevtoolLineToLine:\n\t\t\"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available.\"\n};\n/* cSpell:enable */\n\n/**\n * @param {Parameters<typeof validate>[0]} schema a json schema\n * @param {Parameters<typeof validate>[1]} options the options that should be validated\n * @param {Parameters<typeof validate>[2]=} validationConfiguration configuration for generating errors\n * @returns {void}\n */\nconst validateSchema = (schema, options, validationConfiguration) => {\n\tvalidate(\n\t\tschema,\n\t\toptions,\n\t\tvalidationConfiguration || {\n\t\t\tname: \"Webpack\",\n\t\t\tpostFormatter: (formattedError, error) => {\n\t\t\t\tconst children = error.children;\n\t\t\t\tif (\n\t\t\t\t\tchildren &&\n\t\t\t\t\tchildren.some(\n\t\t\t\t\t\tchild =>\n\t\t\t\t\t\t\tchild.keyword === \"absolutePath\" &&\n\t\t\t\t\t\t\tchild.dataPath === \".output.filename\"\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn `${formattedError}\\nPlease use output.path to specify absolute path and output.filename for the file name.`;\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\tchildren &&\n\t\t\t\t\tchildren.some(\n\t\t\t\t\t\tchild =>\n\t\t\t\t\t\t\tchild.keyword === \"pattern\" && child.dataPath === \".devtool\"\n\t\t\t\t\t)\n\t\t\t\t) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t`${formattedError}\\n` +\n\t\t\t\t\t\t\"BREAKING CHANGE since webpack 5: The devtool option is more strict.\\n\" +\n\t\t\t\t\t\t\"Please strictly follow the order of the keywords in the pattern.\"\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tif (error.keyword === \"additionalProperties\") {\n\t\t\t\t\tconst params =\n\t\t\t\t\t\t/** @type {import(\"ajv\").AdditionalPropertiesParams} */ (\n\t\t\t\t\t\t\terror.params\n\t\t\t\t\t\t);\n\t\t\t\t\tif (\n\t\t\t\t\t\tObject.prototype.hasOwnProperty.call(\n\t\t\t\t\t\t\tDID_YOU_MEAN,\n\t\t\t\t\t\t\tparams.additionalProperty\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn `${formattedError}\\nDid you mean ${\n\t\t\t\t\t\t\tDID_YOU_MEAN[params.additionalProperty]\n\t\t\t\t\t\t}?`;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tObject.prototype.hasOwnProperty.call(\n\t\t\t\t\t\t\tREMOVED,\n\t\t\t\t\t\t\tparams.additionalProperty\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn `${formattedError}\\n${REMOVED[params.additionalProperty]}?`;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!error.dataPath) {\n\t\t\t\t\t\tif (params.additionalProperty === \"debug\") {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t`${formattedError}\\n` +\n\t\t\t\t\t\t\t\t\"The 'debug' property was removed in webpack 2.0.0.\\n\" +\n\t\t\t\t\t\t\t\t\"Loaders should be updated to allow passing this option via loader options in module.rules.\\n\" +\n\t\t\t\t\t\t\t\t\"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\\n\" +\n\t\t\t\t\t\t\t\t\"plugins: [\\n\" +\n\t\t\t\t\t\t\t\t\" new webpack.LoaderOptionsPlugin({\\n\" +\n\t\t\t\t\t\t\t\t\" debug: true\\n\" +\n\t\t\t\t\t\t\t\t\" })\\n\" +\n\t\t\t\t\t\t\t\t\"]\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (params.additionalProperty) {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t`${formattedError}\\n` +\n\t\t\t\t\t\t\t\t\"For typos: please correct them.\\n\" +\n\t\t\t\t\t\t\t\t\"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\\n\" +\n\t\t\t\t\t\t\t\t\" Loaders should be updated to allow passing options via loader options in module.rules.\\n\" +\n\t\t\t\t\t\t\t\t\" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\\n\" +\n\t\t\t\t\t\t\t\t\" plugins: [\\n\" +\n\t\t\t\t\t\t\t\t\" new webpack.LoaderOptionsPlugin({\\n\" +\n\t\t\t\t\t\t\t\t\" // test: /\\\\.xxx$/, // may apply this only for some modules\\n\" +\n\t\t\t\t\t\t\t\t\" options: {\\n\" +\n\t\t\t\t\t\t\t\t` ${params.additionalProperty}: …\\n` +\n\t\t\t\t\t\t\t\t\" }\\n\" +\n\t\t\t\t\t\t\t\t\" })\\n\" +\n\t\t\t\t\t\t\t\t\" ]\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn formattedError;\n\t\t\t}\n\t\t}\n\t);\n};\nmodule.exports = validateSchema;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/validateSchema.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\n\nclass AsyncWasmLoadingRuntimeModule extends RuntimeModule {\n\tconstructor({ generateLoadBinaryCode, supportsStreaming }) {\n\t\tsuper(\"wasm loading\", RuntimeModule.STAGE_NORMAL);\n\t\tthis.generateLoadBinaryCode = generateLoadBinaryCode;\n\t\tthis.supportsStreaming = supportsStreaming;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { compilation, chunk } = this;\n\t\tconst { outputOptions, runtimeTemplate } = compilation;\n\t\tconst fn = RuntimeGlobals.instantiateWasm;\n\t\tconst wasmModuleSrcPath = compilation.getPath(\n\t\t\tJSON.stringify(outputOptions.webassemblyModuleFilename),\n\t\t\t{\n\t\t\t\thash: `\" + ${RuntimeGlobals.getFullHash}() + \"`,\n\t\t\t\thashWithLength: length =>\n\t\t\t\t\t`\" + ${RuntimeGlobals.getFullHash}}().slice(0, ${length}) + \"`,\n\t\t\t\tmodule: {\n\t\t\t\t\tid: '\" + wasmModuleId + \"',\n\t\t\t\t\thash: `\" + wasmModuleHash + \"`,\n\t\t\t\t\thashWithLength(length) {\n\t\t\t\t\t\treturn `\" + wasmModuleHash.slice(0, ${length}) + \"`;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\truntime: chunk.runtime\n\t\t\t}\n\t\t);\n\t\treturn `${fn} = ${runtimeTemplate.basicFunction(\n\t\t\t\"exports, wasmModuleId, wasmModuleHash, importsObj\",\n\t\t\t[\n\t\t\t\t`var req = ${this.generateLoadBinaryCode(wasmModuleSrcPath)};`,\n\t\t\t\tthis.supportsStreaming\n\t\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\t\"if (typeof WebAssembly.instantiateStreaming === 'function') {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\"return WebAssembly.instantiateStreaming(req, importsObj)\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`.then(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\t\"Object.assign(exports, res.instance.exports)\",\n\t\t\t\t\t\t\t\t\t\t\"res\"\n\t\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t ])\n\t\t\t\t\t: \"// no support for streaming compilation\",\n\t\t\t\t\"return req\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t`.then(${runtimeTemplate.returningFunction(\"x.arrayBuffer()\", \"x\")})`,\n\t\t\t\t\t`.then(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"WebAssembly.instantiate(bytes, importsObj)\",\n\t\t\t\t\t\t\"bytes\"\n\t\t\t\t\t)})`,\n\t\t\t\t\t`.then(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"Object.assign(exports, res.instance.exports)\",\n\t\t\t\t\t\t\"res\"\n\t\t\t\t\t)});`\n\t\t\t\t])\n\t\t\t]\n\t\t)};`;\n\t}\n}\n\nmodule.exports = AsyncWasmLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js ***! \**************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n\nconst TYPES = new Set([\"webassembly\"]);\n\nclass AsyncWebAssemblyGenerator extends Generator {\n\tconstructor(options) {\n\t\tsuper();\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst originalSource = module.originalSource();\n\t\tif (!originalSource) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn originalSource.size();\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\treturn module.originalSource();\n\t}\n}\n\nmodule.exports = AsyncWebAssemblyGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js": /*!************************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js ***! \************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nconst TYPES = new Set([\"webassembly\"]);\n\nclass AsyncWebAssemblyJavascriptGenerator extends Generator {\n\tconstructor(filenameTemplate) {\n\t\tsuper();\n\t\tthis.filenameTemplate = filenameTemplate;\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\treturn 40 + module.dependencies.length * 10;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\tchunkGraph,\n\t\t\tmoduleGraph,\n\t\t\truntimeRequirements,\n\t\t\truntime\n\t\t} = generateContext;\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\truntimeRequirements.add(RuntimeGlobals.moduleId);\n\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\truntimeRequirements.add(RuntimeGlobals.instantiateWasm);\n\t\t/** @type {InitFragment[]} */\n\t\tconst initFragments = [];\n\t\t/** @type {Map<Module, { request: string, importVar: string }>} */\n\t\tconst depModules = new Map();\n\t\t/** @type {Map<string, WebAssemblyImportDependency[]>} */\n\t\tconst wasmDepsByRequest = new Map();\n\t\tfor (const dep of module.dependencies) {\n\t\t\tif (dep instanceof WebAssemblyImportDependency) {\n\t\t\t\tconst module = moduleGraph.getModule(dep);\n\t\t\t\tif (!depModules.has(module)) {\n\t\t\t\t\tdepModules.set(module, {\n\t\t\t\t\t\trequest: dep.request,\n\t\t\t\t\t\timportVar: `WEBPACK_IMPORTED_MODULE_${depModules.size}`\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet list = wasmDepsByRequest.get(dep.request);\n\t\t\t\tif (list === undefined) {\n\t\t\t\t\tlist = [];\n\t\t\t\t\twasmDepsByRequest.set(dep.request, list);\n\t\t\t\t}\n\t\t\t\tlist.push(dep);\n\t\t\t}\n\t\t}\n\n\t\tconst promises = [];\n\n\t\tconst importStatements = Array.from(\n\t\t\tdepModules,\n\t\t\t([importedModule, { request, importVar }]) => {\n\t\t\t\tif (moduleGraph.isAsync(importedModule)) {\n\t\t\t\t\tpromises.push(importVar);\n\t\t\t\t}\n\t\t\t\treturn runtimeTemplate.importStatement({\n\t\t\t\t\tupdate: false,\n\t\t\t\t\tmodule: importedModule,\n\t\t\t\t\tchunkGraph,\n\t\t\t\t\trequest,\n\t\t\t\t\toriginModule: module,\n\t\t\t\t\timportVar,\n\t\t\t\t\truntimeRequirements\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t\tconst importsCode = importStatements.map(([x]) => x).join(\"\");\n\t\tconst importsCompatCode = importStatements.map(([_, x]) => x).join(\"\");\n\n\t\tconst importObjRequestItems = Array.from(\n\t\t\twasmDepsByRequest,\n\t\t\t([request, deps]) => {\n\t\t\t\tconst exportItems = deps.map(dep => {\n\t\t\t\t\tconst importedModule = moduleGraph.getModule(dep);\n\t\t\t\t\tconst importVar = depModules.get(importedModule).importVar;\n\t\t\t\t\treturn `${JSON.stringify(\n\t\t\t\t\t\tdep.name\n\t\t\t\t\t)}: ${runtimeTemplate.exportFromImport({\n\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\tmodule: importedModule,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\texportName: dep.name,\n\t\t\t\t\t\toriginModule: module,\n\t\t\t\t\t\tasiSafe: true,\n\t\t\t\t\t\tisCall: false,\n\t\t\t\t\t\tcallContext: false,\n\t\t\t\t\t\tdefaultInterop: true,\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\tinitFragments,\n\t\t\t\t\t\truntime,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t})}`;\n\t\t\t\t});\n\t\t\t\treturn Template.asString([\n\t\t\t\t\t`${JSON.stringify(request)}: {`,\n\t\t\t\t\tTemplate.indent(exportItems.join(\",\\n\")),\n\t\t\t\t\t\"}\"\n\t\t\t\t]);\n\t\t\t}\n\t\t);\n\n\t\tconst importsObj =\n\t\t\timportObjRequestItems.length > 0\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"{\",\n\t\t\t\t\t\tTemplate.indent(importObjRequestItems.join(\",\\n\")),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])\n\t\t\t\t: undefined;\n\n\t\tconst instantiateCall =\n\t\t\t`${RuntimeGlobals.instantiateWasm}(${module.exportsArgument}, ${\n\t\t\t\tmodule.moduleArgument\n\t\t\t}.id, ${JSON.stringify(\n\t\t\t\tchunkGraph.getRenderedModuleHash(module, runtime)\n\t\t\t)}` + (importsObj ? `, ${importsObj})` : `)`);\n\n\t\tif (promises.length > 0)\n\t\t\truntimeRequirements.add(RuntimeGlobals.asyncModule);\n\n\t\tconst source = new RawSource(\n\t\t\tpromises.length > 0\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`var __webpack_instantiate__ = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t`[${promises.join(\", \")}]`,\n\t\t\t\t\t\t\t`${importsCompatCode}return ${instantiateCall};`\n\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t`${RuntimeGlobals.asyncModule}(${\n\t\t\t\t\t\t\tmodule.moduleArgument\n\t\t\t\t\t\t}, async ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"__webpack_handle_async_dependencies__, __webpack_async_result__\",\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"try {\",\n\t\t\t\t\t\t\t\timportsCode,\n\t\t\t\t\t\t\t\t`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${promises.join(\n\t\t\t\t\t\t\t\t\t\", \"\n\t\t\t\t\t\t\t\t)}]);`,\n\t\t\t\t\t\t\t\t`var [${promises.join(\n\t\t\t\t\t\t\t\t\t\", \"\n\t\t\t\t\t\t\t\t)}] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;`,\n\t\t\t\t\t\t\t\t`${importsCompatCode}await ${instantiateCall};`,\n\t\t\t\t\t\t\t\t\"__webpack_async_result__();\",\n\t\t\t\t\t\t\t\t\"} catch(e) { __webpack_async_result__(e); }\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t)}, 1);`\n\t\t\t\t ])\n\t\t\t\t: `${importsCode}${importsCompatCode}module.exports = ${instantiateCall};`\n\t\t);\n\n\t\treturn InitFragment.addToSource(source, initFragments, generateContext);\n\t}\n}\n\nmodule.exports = AsyncWebAssemblyJavascriptGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst { tryRunOrWebpackError } = __webpack_require__(/*! ../HookWebpackError */ \"./node_modules/webpack/lib/HookWebpackError.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../CodeGenerationResults\")} CodeGenerationResults */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../Template\").RenderManifestEntry} RenderManifestEntry */\n/** @typedef {import(\"../Template\").RenderManifestOptions} RenderManifestOptions */\n\nconst getAsyncWebAssemblyGenerator = memoize(() =>\n\t__webpack_require__(/*! ./AsyncWebAssemblyGenerator */ \"./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js\")\n);\nconst getAsyncWebAssemblyJavascriptGenerator = memoize(() =>\n\t__webpack_require__(/*! ./AsyncWebAssemblyJavascriptGenerator */ \"./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js\")\n);\nconst getAsyncWebAssemblyParser = memoize(() =>\n\t__webpack_require__(/*! ./AsyncWebAssemblyParser */ \"./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js\")\n);\n\n/**\n * @typedef {Object} WebAssemblyRenderContext\n * @property {Chunk} chunk the chunk\n * @property {DependencyTemplates} dependencyTemplates the dependency templates\n * @property {RuntimeTemplate} runtimeTemplate the runtime template\n * @property {ModuleGraph} moduleGraph the module graph\n * @property {ChunkGraph} chunkGraph the chunk graph\n * @property {CodeGenerationResults} codeGenerationResults results of code generation\n */\n\n/**\n * @typedef {Object} CompilationHooks\n * @property {SyncWaterfallHook<[Source, Module, WebAssemblyRenderContext]>} renderModuleContent\n */\n\n/** @type {WeakMap<Compilation, CompilationHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass AsyncWebAssemblyModulesPlugin {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {CompilationHooks} the attached hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\trenderModuleContent: new SyncWaterfallHook([\n\t\t\t\t\t\"source\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"renderContext\"\n\t\t\t\t])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"AsyncWebAssemblyModulesPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tconst hooks =\n\t\t\t\t\tAsyncWebAssemblyModulesPlugin.getCompilationHooks(compilation);\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tWebAssemblyImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"webassembly/async\")\n\t\t\t\t\t.tap(\"AsyncWebAssemblyModulesPlugin\", () => {\n\t\t\t\t\t\tconst AsyncWebAssemblyParser = getAsyncWebAssemblyParser();\n\n\t\t\t\t\t\treturn new AsyncWebAssemblyParser();\n\t\t\t\t\t});\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"webassembly/async\")\n\t\t\t\t\t.tap(\"AsyncWebAssemblyModulesPlugin\", () => {\n\t\t\t\t\t\tconst AsyncWebAssemblyJavascriptGenerator =\n\t\t\t\t\t\t\tgetAsyncWebAssemblyJavascriptGenerator();\n\t\t\t\t\t\tconst AsyncWebAssemblyGenerator = getAsyncWebAssemblyGenerator();\n\n\t\t\t\t\t\treturn Generator.byType({\n\t\t\t\t\t\t\tjavascript: new AsyncWebAssemblyJavascriptGenerator(\n\t\t\t\t\t\t\t\tcompilation.outputOptions.webassemblyModuleFilename\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twebassembly: new AsyncWebAssemblyGenerator(this.options)\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.renderManifest.tap(\n\t\t\t\t\t\"WebAssemblyModulesPlugin\",\n\t\t\t\t\t(result, options) => {\n\t\t\t\t\t\tconst { moduleGraph, chunkGraph, runtimeTemplate } = compilation;\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\toutputOptions,\n\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\tcodeGenerationResults\n\t\t\t\t\t\t} = options;\n\n\t\t\t\t\t\tfor (const module of chunkGraph.getOrderedChunkModulesIterable(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tif (module.type === \"webassembly/async\") {\n\t\t\t\t\t\t\t\tconst filenameTemplate =\n\t\t\t\t\t\t\t\t\toutputOptions.webassemblyModuleFilename;\n\n\t\t\t\t\t\t\t\tresult.push({\n\t\t\t\t\t\t\t\t\trender: () =>\n\t\t\t\t\t\t\t\t\t\tthis.renderModule(\n\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\t\t\t\t\tdependencyTemplates,\n\t\t\t\t\t\t\t\t\t\t\t\truntimeTemplate,\n\t\t\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\t\t\t\t\t\t\tcodeGenerationResults\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\thooks\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tfilenameTemplate,\n\t\t\t\t\t\t\t\t\tpathOptions: {\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\truntime: chunk.runtime,\n\t\t\t\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tauxiliary: true,\n\t\t\t\t\t\t\t\t\tidentifier: `webassemblyAsyncModule${chunkGraph.getModuleId(\n\t\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t\t\t\thash: chunkGraph.getModuleHash(module, chunk.runtime)\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\trenderModule(module, renderContext, hooks) {\n\t\tconst { codeGenerationResults, chunk } = renderContext;\n\t\ttry {\n\t\t\tconst moduleSource = codeGenerationResults.getSource(\n\t\t\t\tmodule,\n\t\t\t\tchunk.runtime,\n\t\t\t\t\"webassembly\"\n\t\t\t);\n\t\t\treturn tryRunOrWebpackError(\n\t\t\t\t() =>\n\t\t\t\t\thooks.renderModuleContent.call(moduleSource, module, renderContext),\n\t\t\t\t\"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent\"\n\t\t\t);\n\t\t} catch (e) {\n\t\t\te.module = module;\n\t\t\tthrow e;\n\t\t}\n\t}\n}\n\nmodule.exports = AsyncWebAssemblyModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst t = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nconst { decode } = __webpack_require__(/*! @webassemblyjs/wasm-parser */ \"./node_modules/@webassemblyjs/wasm-parser/esm/index.js\");\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\n\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nconst decoderOpts = {\n\tignoreCodeSection: true,\n\tignoreDataSection: true,\n\n\t// this will avoid having to lookup with identifiers in the ModuleContext\n\tignoreCustomNameSection: true\n};\n\nclass WebAssemblyParser extends Parser {\n\tconstructor(options) {\n\t\tsuper();\n\t\tthis.hooks = Object.freeze({});\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (!Buffer.isBuffer(source)) {\n\t\t\tthrow new Error(\"WebAssemblyParser input must be a Buffer\");\n\t\t}\n\n\t\t// flag it as async module\n\t\tstate.module.buildInfo.strict = true;\n\t\tstate.module.buildMeta.exportsType = \"namespace\";\n\t\tstate.module.buildMeta.async = true;\n\n\t\t// parse it\n\t\tconst program = decode(source, decoderOpts);\n\t\tconst module = program.body[0];\n\n\t\tconst exports = [];\n\t\tt.traverse(module, {\n\t\t\tModuleExport({ node }) {\n\t\t\t\texports.push(node.name);\n\t\t\t},\n\n\t\t\tModuleImport({ node }) {\n\t\t\t\tconst dep = new WebAssemblyImportDependency(\n\t\t\t\t\tnode.module,\n\t\t\t\t\tnode.name,\n\t\t\t\t\tnode.descr,\n\t\t\t\t\tfalse\n\t\t\t\t);\n\n\t\t\t\tstate.module.addDependency(dep);\n\t\t\t}\n\t\t});\n\n\t\tstate.module.addDependency(new StaticExportsDependency(exports, false));\n\n\t\treturn state;\n\t}\n}\n\nmodule.exports = WebAssemblyParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js ***! \**********************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\nmodule.exports = class UnsupportedWebAssemblyFeatureError extends WebpackError {\n\t/** @param {string} message Error message */\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = \"UnsupportedWebAssemblyFeatureError\";\n\t\tthis.hideStack = true;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js ***! \*****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst WebAssemblyUtils = __webpack_require__(/*! ./WebAssemblyUtils */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js\");\n\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n\n// TODO webpack 6 remove the whole folder\n\n// Get all wasm modules\nconst getAllWasmModules = (moduleGraph, chunkGraph, chunk) => {\n\tconst wasmModules = chunk.getAllAsyncChunks();\n\tconst array = [];\n\tfor (const chunk of wasmModules) {\n\t\tfor (const m of chunkGraph.getOrderedChunkModulesIterable(\n\t\t\tchunk,\n\t\t\tcompareModulesByIdentifier\n\t\t)) {\n\t\t\tif (m.type.startsWith(\"webassembly\")) {\n\t\t\t\tarray.push(m);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn array;\n};\n\n/**\n * generates the import object function for a module\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {Module} module the module\n * @param {boolean} mangle mangle imports\n * @param {string[]} declarations array where declarations are pushed to\n * @param {RuntimeSpec} runtime the runtime\n * @returns {string} source code\n */\nconst generateImportObject = (\n\tchunkGraph,\n\tmodule,\n\tmangle,\n\tdeclarations,\n\truntime\n) => {\n\tconst moduleGraph = chunkGraph.moduleGraph;\n\tconst waitForInstances = new Map();\n\tconst properties = [];\n\tconst usedWasmDependencies = WebAssemblyUtils.getUsedDependencies(\n\t\tmoduleGraph,\n\t\tmodule,\n\t\tmangle\n\t);\n\tfor (const usedDep of usedWasmDependencies) {\n\t\tconst dep = usedDep.dependency;\n\t\tconst importedModule = moduleGraph.getModule(dep);\n\t\tconst exportName = dep.name;\n\t\tconst usedName =\n\t\t\timportedModule &&\n\t\t\tmoduleGraph\n\t\t\t\t.getExportsInfo(importedModule)\n\t\t\t\t.getUsedName(exportName, runtime);\n\t\tconst description = dep.description;\n\t\tconst direct = dep.onlyDirectImport;\n\n\t\tconst module = usedDep.module;\n\t\tconst name = usedDep.name;\n\n\t\tif (direct) {\n\t\t\tconst instanceVar = `m${waitForInstances.size}`;\n\t\t\twaitForInstances.set(instanceVar, chunkGraph.getModuleId(importedModule));\n\t\t\tproperties.push({\n\t\t\t\tmodule,\n\t\t\t\tname,\n\t\t\t\tvalue: `${instanceVar}[${JSON.stringify(usedName)}]`\n\t\t\t});\n\t\t} else {\n\t\t\tconst params = description.signature.params.map(\n\t\t\t\t(param, k) => \"p\" + k + param.valtype\n\t\t\t);\n\n\t\t\tconst mod = `${RuntimeGlobals.moduleCache}[${JSON.stringify(\n\t\t\t\tchunkGraph.getModuleId(importedModule)\n\t\t\t)}]`;\n\t\t\tconst modExports = `${mod}.exports`;\n\n\t\t\tconst cache = `wasmImportedFuncCache${declarations.length}`;\n\t\t\tdeclarations.push(`var ${cache};`);\n\n\t\t\tproperties.push({\n\t\t\t\tmodule,\n\t\t\t\tname,\n\t\t\t\tvalue: Template.asString([\n\t\t\t\t\t(importedModule.type.startsWith(\"webassembly\")\n\t\t\t\t\t\t? `${mod} ? ${modExports}[${JSON.stringify(usedName)}] : `\n\t\t\t\t\t\t: \"\") + `function(${params}) {`,\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t`if(${cache} === undefined) ${cache} = ${modExports};`,\n\t\t\t\t\t\t`return ${cache}[${JSON.stringify(usedName)}](${params});`\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\"\n\t\t\t\t])\n\t\t\t});\n\t\t}\n\t}\n\n\tlet importObject;\n\tif (mangle) {\n\t\timportObject = [\n\t\t\t\"return {\",\n\t\t\tTemplate.indent([\n\t\t\t\tproperties.map(p => `${JSON.stringify(p.name)}: ${p.value}`).join(\",\\n\")\n\t\t\t]),\n\t\t\t\"};\"\n\t\t];\n\t} else {\n\t\tconst propertiesByModule = new Map();\n\t\tfor (const p of properties) {\n\t\t\tlet list = propertiesByModule.get(p.module);\n\t\t\tif (list === undefined) {\n\t\t\t\tpropertiesByModule.set(p.module, (list = []));\n\t\t\t}\n\t\t\tlist.push(p);\n\t\t}\n\t\timportObject = [\n\t\t\t\"return {\",\n\t\t\tTemplate.indent([\n\t\t\t\tArray.from(propertiesByModule, ([module, list]) => {\n\t\t\t\t\treturn Template.asString([\n\t\t\t\t\t\t`${JSON.stringify(module)}: {`,\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\tlist.map(p => `${JSON.stringify(p.name)}: ${p.value}`).join(\",\\n\")\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t\t]);\n\t\t\t\t}).join(\",\\n\")\n\t\t\t]),\n\t\t\t\"};\"\n\t\t];\n\t}\n\n\tconst moduleIdStringified = JSON.stringify(chunkGraph.getModuleId(module));\n\tif (waitForInstances.size === 1) {\n\t\tconst moduleId = Array.from(waitForInstances.values())[0];\n\t\tconst promise = `installedWasmModules[${JSON.stringify(moduleId)}]`;\n\t\tconst variable = Array.from(waitForInstances.keys())[0];\n\t\treturn Template.asString([\n\t\t\t`${moduleIdStringified}: function() {`,\n\t\t\tTemplate.indent([\n\t\t\t\t`return promiseResolve().then(function() { return ${promise}; }).then(function(${variable}) {`,\n\t\t\t\tTemplate.indent(importObject),\n\t\t\t\t\"});\"\n\t\t\t]),\n\t\t\t\"},\"\n\t\t]);\n\t} else if (waitForInstances.size > 0) {\n\t\tconst promises = Array.from(\n\t\t\twaitForInstances.values(),\n\t\t\tid => `installedWasmModules[${JSON.stringify(id)}]`\n\t\t).join(\", \");\n\t\tconst variables = Array.from(\n\t\t\twaitForInstances.keys(),\n\t\t\t(name, i) => `${name} = array[${i}]`\n\t\t).join(\", \");\n\t\treturn Template.asString([\n\t\t\t`${moduleIdStringified}: function() {`,\n\t\t\tTemplate.indent([\n\t\t\t\t`return promiseResolve().then(function() { return Promise.all([${promises}]); }).then(function(array) {`,\n\t\t\t\tTemplate.indent([`var ${variables};`, ...importObject]),\n\t\t\t\t\"});\"\n\t\t\t]),\n\t\t\t\"},\"\n\t\t]);\n\t} else {\n\t\treturn Template.asString([\n\t\t\t`${moduleIdStringified}: function() {`,\n\t\t\tTemplate.indent(importObject),\n\t\t\t\"},\"\n\t\t]);\n\t}\n};\n\nclass WasmChunkLoadingRuntimeModule extends RuntimeModule {\n\tconstructor({\n\t\tgenerateLoadBinaryCode,\n\t\tsupportsStreaming,\n\t\tmangleImports,\n\t\truntimeRequirements\n\t}) {\n\t\tsuper(\"wasm chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis.generateLoadBinaryCode = generateLoadBinaryCode;\n\t\tthis.supportsStreaming = supportsStreaming;\n\t\tthis.mangleImports = mangleImports;\n\t\tthis._runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, compilation, chunk, mangleImports } = this;\n\t\tconst { moduleGraph, outputOptions } = compilation;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withHmr = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst wasmModules = getAllWasmModules(moduleGraph, chunkGraph, chunk);\n\t\tconst declarations = [];\n\t\tconst importObjects = wasmModules.map(module => {\n\t\t\treturn generateImportObject(\n\t\t\t\tchunkGraph,\n\t\t\t\tmodule,\n\t\t\t\tthis.mangleImports,\n\t\t\t\tdeclarations,\n\t\t\t\tchunk.runtime\n\t\t\t);\n\t\t});\n\t\tconst chunkModuleIdMap = chunkGraph.getChunkModuleIdMap(chunk, m =>\n\t\t\tm.type.startsWith(\"webassembly\")\n\t\t);\n\t\tconst createImportObject = content =>\n\t\t\tmangleImports\n\t\t\t\t? `{ ${JSON.stringify(WebAssemblyUtils.MANGLED_MODULE)}: ${content} }`\n\t\t\t\t: content;\n\t\tconst wasmModuleSrcPath = compilation.getPath(\n\t\t\tJSON.stringify(outputOptions.webassemblyModuleFilename),\n\t\t\t{\n\t\t\t\thash: `\" + ${RuntimeGlobals.getFullHash}() + \"`,\n\t\t\t\thashWithLength: length =>\n\t\t\t\t\t`\" + ${RuntimeGlobals.getFullHash}}().slice(0, ${length}) + \"`,\n\t\t\t\tmodule: {\n\t\t\t\t\tid: '\" + wasmModuleId + \"',\n\t\t\t\t\thash: `\" + ${JSON.stringify(\n\t\t\t\t\t\tchunkGraph.getChunkModuleRenderedHashMap(chunk, m =>\n\t\t\t\t\t\t\tm.type.startsWith(\"webassembly\")\n\t\t\t\t\t\t)\n\t\t\t\t\t)}[chunkId][wasmModuleId] + \"`,\n\t\t\t\t\thashWithLength(length) {\n\t\t\t\t\t\treturn `\" + ${JSON.stringify(\n\t\t\t\t\t\t\tchunkGraph.getChunkModuleRenderedHashMap(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tm => m.type.startsWith(\"webassembly\"),\n\t\t\t\t\t\t\t\tlength\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)}[chunkId][wasmModuleId] + \"`;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\truntime: chunk.runtime\n\t\t\t}\n\t\t);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_wasm`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\t\"// object to store loaded and loading wasm modules\",\n\t\t\t`var installedWasmModules = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{};`,\n\t\t\t\"\",\n\t\t\t// This function is used to delay reading the installed wasm module promises\n\t\t\t// by a microtask. Sorting them doesn't help because there are edge cases where\n\t\t\t// sorting is not possible (modules splitted into different chunks).\n\t\t\t// So we not even trying and solve this by a microtask delay.\n\t\t\t\"function promiseResolve() { return Promise.resolve(); }\",\n\t\t\t\"\",\n\t\t\tTemplate.asString(declarations),\n\t\t\t\"var wasmImportObjects = {\",\n\t\t\tTemplate.indent(importObjects),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\t`var wasmModuleMap = ${JSON.stringify(\n\t\t\t\tchunkModuleIdMap,\n\t\t\t\tundefined,\n\t\t\t\t\"\\t\"\n\t\t\t)};`,\n\t\t\t\"\",\n\t\t\t\"// object with all WebAssembly.instance exports\",\n\t\t\t`${RuntimeGlobals.wasmInstances} = {};`,\n\t\t\t\"\",\n\t\t\t\"// Fetch + compile chunk loading for webassembly\",\n\t\t\t`${fn}.wasm = function(chunkId, promises) {`,\n\t\t\tTemplate.indent([\n\t\t\t\t\"\",\n\t\t\t\t`var wasmModules = wasmModuleMap[chunkId] || [];`,\n\t\t\t\t\"\",\n\t\t\t\t\"wasmModules.forEach(function(wasmModuleId, idx) {\",\n\t\t\t\tTemplate.indent([\n\t\t\t\t\t\"var installedWasmModuleData = installedWasmModules[wasmModuleId];\",\n\t\t\t\t\t\"\",\n\t\t\t\t\t'// a Promise means \"currently loading\" or \"already loaded\".',\n\t\t\t\t\t\"if(installedWasmModuleData)\",\n\t\t\t\t\tTemplate.indent([\"promises.push(installedWasmModuleData);\"]),\n\t\t\t\t\t\"else {\",\n\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t`var importObject = wasmImportObjects[wasmModuleId]();`,\n\t\t\t\t\t\t`var req = ${this.generateLoadBinaryCode(wasmModuleSrcPath)};`,\n\t\t\t\t\t\t\"var promise;\",\n\t\t\t\t\t\tthis.supportsStreaming\n\t\t\t\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\t\t\t\"if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t`return WebAssembly.instantiate(items[0], ${createImportObject(\n\t\t\t\t\t\t\t\t\t\t\t\t\"items[1]\"\n\t\t\t\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"} else if(typeof WebAssembly.instantiateStreaming === 'function') {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t`promise = WebAssembly.instantiateStreaming(req, ${createImportObject(\n\t\t\t\t\t\t\t\t\t\t\t\"importObject\"\n\t\t\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t ])\n\t\t\t\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\t\t\t\"if(importObject && typeof importObject.then === 'function') {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });\",\n\t\t\t\t\t\t\t\t\t\t\"promise = Promise.all([\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),\",\n\t\t\t\t\t\t\t\t\t\t\t\"importObject\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"]).then(function(items) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t`return WebAssembly.instantiate(items[0], ${createImportObject(\n\t\t\t\t\t\t\t\t\t\t\t\t\"items[1]\"\n\t\t\t\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t ]),\n\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });\",\n\t\t\t\t\t\t\t\"promise = bytesPromise.then(function(bytes) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`return WebAssembly.instantiate(bytes, ${createImportObject(\n\t\t\t\t\t\t\t\t\t\"importObject\"\n\t\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"});\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t`return ${RuntimeGlobals.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}));\"\n\t\t\t\t\t]),\n\t\t\t\t\t\"}\"\n\t\t\t\t]),\n\t\t\t\t\"});\"\n\t\t\t]),\n\t\t\t\"};\"\n\t\t]);\n\t}\n}\n\nmodule.exports = WasmChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst formatLocation = __webpack_require__(/*! ../formatLocation */ \"./node_modules/webpack/lib/formatLocation.js\");\nconst UnsupportedWebAssemblyFeatureError = __webpack_require__(/*! ./UnsupportedWebAssemblyFeatureError */ \"./node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass WasmFinalizeExportsPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\"WasmFinalizeExportsPlugin\", compilation => {\n\t\t\tcompilation.hooks.finishModules.tap(\n\t\t\t\t\"WasmFinalizeExportsPlugin\",\n\t\t\t\tmodules => {\n\t\t\t\t\tfor (const module of modules) {\n\t\t\t\t\t\t// 1. if a WebAssembly module\n\t\t\t\t\t\tif (module.type.startsWith(\"webassembly\") === true) {\n\t\t\t\t\t\t\tconst jsIncompatibleExports =\n\t\t\t\t\t\t\t\tmodule.buildMeta.jsIncompatibleExports;\n\n\t\t\t\t\t\t\tif (jsIncompatibleExports === undefined) {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tfor (const connection of compilation.moduleGraph.getIncomingConnections(\n\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\t// 2. is active and referenced by a non-WebAssembly module\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tconnection.isTargetActive(undefined) &&\n\t\t\t\t\t\t\t\t\tconnection.originModule.type.startsWith(\"webassembly\") ===\n\t\t\t\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tconst referencedExports =\n\t\t\t\t\t\t\t\t\t\tcompilation.getDependencyReferencedExports(\n\t\t\t\t\t\t\t\t\t\t\tconnection.dependency,\n\t\t\t\t\t\t\t\t\t\t\tundefined\n\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\tfor (const info of referencedExports) {\n\t\t\t\t\t\t\t\t\t\tconst names = Array.isArray(info) ? info : info.name;\n\t\t\t\t\t\t\t\t\t\tif (names.length === 0) continue;\n\t\t\t\t\t\t\t\t\t\tconst name = names[0];\n\t\t\t\t\t\t\t\t\t\tif (typeof name === \"object\") continue;\n\t\t\t\t\t\t\t\t\t\t// 3. and uses a func with an incompatible JS signature\n\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\tObject.prototype.hasOwnProperty.call(\n\t\t\t\t\t\t\t\t\t\t\t\tjsIncompatibleExports,\n\t\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t// 4. error\n\t\t\t\t\t\t\t\t\t\t\tconst error = new UnsupportedWebAssemblyFeatureError(\n\t\t\t\t\t\t\t\t\t\t\t\t`Export \"${name}\" with ${jsIncompatibleExports[name]} can only be used for direct wasm to wasm dependencies\\n` +\n\t\t\t\t\t\t\t\t\t\t\t\t\t`It's used from ${connection.originModule.readableIdentifier(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcompilation.requestShortener\n\t\t\t\t\t\t\t\t\t\t\t\t\t)} at ${formatLocation(connection.dependency.loc)}.`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\terror.module = module;\n\t\t\t\t\t\t\t\t\t\t\tcompilation.errors.push(error);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n}\n\nmodule.exports = WasmFinalizeExportsPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst WebAssemblyUtils = __webpack_require__(/*! ./WebAssemblyUtils */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js\");\n\nconst t = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nconst { moduleContextFromModuleAST } = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nconst { editWithAST, addWithAST } = __webpack_require__(/*! @webassemblyjs/wasm-edit */ \"./node_modules/@webassemblyjs/wasm-edit/esm/index.js\");\nconst { decode } = __webpack_require__(/*! @webassemblyjs/wasm-parser */ \"./node_modules/@webassemblyjs/wasm-parser/esm/index.js\");\n\nconst WebAssemblyExportImportedDependency = __webpack_require__(/*! ../dependencies/WebAssemblyExportImportedDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n/** @typedef {import(\"../util/runtime\").RuntimeSpec} RuntimeSpec */\n/** @typedef {import(\"./WebAssemblyUtils\").UsedWasmDependency} UsedWasmDependency */\n\n/**\n * @typedef {(ArrayBuffer) => ArrayBuffer} ArrayBufferTransform\n */\n\n/**\n * @template T\n * @param {Function[]} fns transforms\n * @returns {Function} composed transform\n */\nconst compose = (...fns) => {\n\treturn fns.reduce(\n\t\t(prevFn, nextFn) => {\n\t\t\treturn value => nextFn(prevFn(value));\n\t\t},\n\t\tvalue => value\n\t);\n};\n\n/**\n * Removes the start instruction\n *\n * @param {Object} state unused state\n * @returns {ArrayBufferTransform} transform\n */\nconst removeStartFunc = state => bin => {\n\treturn editWithAST(state.ast, bin, {\n\t\tStart(path) {\n\t\t\tpath.remove();\n\t\t}\n\t});\n};\n\n/**\n * Get imported globals\n *\n * @param {Object} ast Module's AST\n * @returns {Array<t.ModuleImport>} - nodes\n */\nconst getImportedGlobals = ast => {\n\tconst importedGlobals = [];\n\n\tt.traverse(ast, {\n\t\tModuleImport({ node }) {\n\t\t\tif (t.isGlobalType(node.descr)) {\n\t\t\t\timportedGlobals.push(node);\n\t\t\t}\n\t\t}\n\t});\n\n\treturn importedGlobals;\n};\n\n/**\n * Get the count for imported func\n *\n * @param {Object} ast Module's AST\n * @returns {Number} - count\n */\nconst getCountImportedFunc = ast => {\n\tlet count = 0;\n\n\tt.traverse(ast, {\n\t\tModuleImport({ node }) {\n\t\t\tif (t.isFuncImportDescr(node.descr)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t});\n\n\treturn count;\n};\n\n/**\n * Get next type index\n *\n * @param {Object} ast Module's AST\n * @returns {t.Index} - index\n */\nconst getNextTypeIndex = ast => {\n\tconst typeSectionMetadata = t.getSectionMetadata(ast, \"type\");\n\n\tif (typeSectionMetadata === undefined) {\n\t\treturn t.indexLiteral(0);\n\t}\n\n\treturn t.indexLiteral(typeSectionMetadata.vectorOfSize.value);\n};\n\n/**\n * Get next func index\n *\n * The Func section metadata provide informations for implemented funcs\n * in order to have the correct index we shift the index by number of external\n * functions.\n *\n * @param {Object} ast Module's AST\n * @param {Number} countImportedFunc number of imported funcs\n * @returns {t.Index} - index\n */\nconst getNextFuncIndex = (ast, countImportedFunc) => {\n\tconst funcSectionMetadata = t.getSectionMetadata(ast, \"func\");\n\n\tif (funcSectionMetadata === undefined) {\n\t\treturn t.indexLiteral(0 + countImportedFunc);\n\t}\n\n\tconst vectorOfSize = funcSectionMetadata.vectorOfSize.value;\n\n\treturn t.indexLiteral(vectorOfSize + countImportedFunc);\n};\n\n/**\n * Creates an init instruction for a global type\n * @param {t.GlobalType} globalType the global type\n * @returns {t.Instruction} init expression\n */\nconst createDefaultInitForGlobal = globalType => {\n\tif (globalType.valtype[0] === \"i\") {\n\t\t// create NumberLiteral global initializer\n\t\treturn t.objectInstruction(\"const\", globalType.valtype, [\n\t\t\tt.numberLiteralFromRaw(66)\n\t\t]);\n\t} else if (globalType.valtype[0] === \"f\") {\n\t\t// create FloatLiteral global initializer\n\t\treturn t.objectInstruction(\"const\", globalType.valtype, [\n\t\t\tt.floatLiteral(66, false, false, \"66\")\n\t\t]);\n\t} else {\n\t\tthrow new Error(\"unknown type: \" + globalType.valtype);\n\t}\n};\n\n/**\n * Rewrite the import globals:\n * - removes the ModuleImport instruction\n * - injects at the same offset a mutable global of the same type\n *\n * Since the imported globals are before the other global declarations, our\n * indices will be preserved.\n *\n * Note that globals will become mutable.\n *\n * @param {Object} state unused state\n * @returns {ArrayBufferTransform} transform\n */\nconst rewriteImportedGlobals = state => bin => {\n\tconst additionalInitCode = state.additionalInitCode;\n\tconst newGlobals = [];\n\n\tbin = editWithAST(state.ast, bin, {\n\t\tModuleImport(path) {\n\t\t\tif (t.isGlobalType(path.node.descr)) {\n\t\t\t\tconst globalType = path.node.descr;\n\n\t\t\t\tglobalType.mutability = \"var\";\n\n\t\t\t\tconst init = [\n\t\t\t\t\tcreateDefaultInitForGlobal(globalType),\n\t\t\t\t\tt.instruction(\"end\")\n\t\t\t\t];\n\n\t\t\t\tnewGlobals.push(t.global(globalType, init));\n\n\t\t\t\tpath.remove();\n\t\t\t}\n\t\t},\n\n\t\t// in order to preserve non-imported global's order we need to re-inject\n\t\t// those as well\n\t\tGlobal(path) {\n\t\t\tconst { node } = path;\n\t\t\tconst [init] = node.init;\n\n\t\t\tif (init.id === \"get_global\") {\n\t\t\t\tnode.globalType.mutability = \"var\";\n\n\t\t\t\tconst initialGlobalIdx = init.args[0];\n\n\t\t\t\tnode.init = [\n\t\t\t\t\tcreateDefaultInitForGlobal(node.globalType),\n\t\t\t\t\tt.instruction(\"end\")\n\t\t\t\t];\n\n\t\t\t\tadditionalInitCode.push(\n\t\t\t\t\t/**\n\t\t\t\t\t * get_global in global initializer only works for imported globals.\n\t\t\t\t\t * They have the same indices as the init params, so use the\n\t\t\t\t\t * same index.\n\t\t\t\t\t */\n\t\t\t\t\tt.instruction(\"get_local\", [initialGlobalIdx]),\n\t\t\t\t\tt.instruction(\"set_global\", [t.indexLiteral(newGlobals.length)])\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tnewGlobals.push(node);\n\n\t\t\tpath.remove();\n\t\t}\n\t});\n\n\t// Add global declaration instructions\n\treturn addWithAST(state.ast, bin, newGlobals);\n};\n\n/**\n * Rewrite the export names\n * @param {Object} state state\n * @param {Object} state.ast Module's ast\n * @param {Module} state.module Module\n * @param {ModuleGraph} state.moduleGraph module graph\n * @param {Set<string>} state.externalExports Module\n * @param {RuntimeSpec} state.runtime runtime\n * @returns {ArrayBufferTransform} transform\n */\nconst rewriteExportNames =\n\t({ ast, moduleGraph, module, externalExports, runtime }) =>\n\tbin => {\n\t\treturn editWithAST(ast, bin, {\n\t\t\tModuleExport(path) {\n\t\t\t\tconst isExternal = externalExports.has(path.node.name);\n\t\t\t\tif (isExternal) {\n\t\t\t\t\tpath.remove();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst usedName = moduleGraph\n\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t.getUsedName(path.node.name, runtime);\n\t\t\t\tif (!usedName) {\n\t\t\t\t\tpath.remove();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tpath.node.name = usedName;\n\t\t\t}\n\t\t});\n\t};\n\n/**\n * Mangle import names and modules\n * @param {Object} state state\n * @param {Object} state.ast Module's ast\n * @param {Map<string, UsedWasmDependency>} state.usedDependencyMap mappings to mangle names\n * @returns {ArrayBufferTransform} transform\n */\nconst rewriteImports =\n\t({ ast, usedDependencyMap }) =>\n\tbin => {\n\t\treturn editWithAST(ast, bin, {\n\t\t\tModuleImport(path) {\n\t\t\t\tconst result = usedDependencyMap.get(\n\t\t\t\t\tpath.node.module + \":\" + path.node.name\n\t\t\t\t);\n\n\t\t\t\tif (result !== undefined) {\n\t\t\t\t\tpath.node.module = result.module;\n\t\t\t\t\tpath.node.name = result.name;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t};\n\n/**\n * Add an init function.\n *\n * The init function fills the globals given input arguments.\n *\n * @param {Object} state transformation state\n * @param {Object} state.ast Module's ast\n * @param {t.Identifier} state.initFuncId identifier of the init function\n * @param {t.Index} state.startAtFuncOffset index of the start function\n * @param {t.ModuleImport[]} state.importedGlobals list of imported globals\n * @param {t.Instruction[]} state.additionalInitCode list of addition instructions for the init function\n * @param {t.Index} state.nextFuncIndex index of the next function\n * @param {t.Index} state.nextTypeIndex index of the next type\n * @returns {ArrayBufferTransform} transform\n */\nconst addInitFunction =\n\t({\n\t\tast,\n\t\tinitFuncId,\n\t\tstartAtFuncOffset,\n\t\timportedGlobals,\n\t\tadditionalInitCode,\n\t\tnextFuncIndex,\n\t\tnextTypeIndex\n\t}) =>\n\tbin => {\n\t\tconst funcParams = importedGlobals.map(importedGlobal => {\n\t\t\t// used for debugging\n\t\t\tconst id = t.identifier(\n\t\t\t\t`${importedGlobal.module}.${importedGlobal.name}`\n\t\t\t);\n\n\t\t\treturn t.funcParam(importedGlobal.descr.valtype, id);\n\t\t});\n\n\t\tconst funcBody = [];\n\t\timportedGlobals.forEach((importedGlobal, index) => {\n\t\t\tconst args = [t.indexLiteral(index)];\n\t\t\tconst body = [\n\t\t\t\tt.instruction(\"get_local\", args),\n\t\t\t\tt.instruction(\"set_global\", args)\n\t\t\t];\n\n\t\t\tfuncBody.push(...body);\n\t\t});\n\n\t\tif (typeof startAtFuncOffset === \"number\") {\n\t\t\tfuncBody.push(\n\t\t\t\tt.callInstruction(t.numberLiteralFromRaw(startAtFuncOffset))\n\t\t\t);\n\t\t}\n\n\t\tfor (const instr of additionalInitCode) {\n\t\t\tfuncBody.push(instr);\n\t\t}\n\n\t\tfuncBody.push(t.instruction(\"end\"));\n\n\t\tconst funcResults = [];\n\n\t\t// Code section\n\t\tconst funcSignature = t.signature(funcParams, funcResults);\n\t\tconst func = t.func(initFuncId, funcSignature, funcBody);\n\n\t\t// Type section\n\t\tconst functype = t.typeInstruction(undefined, funcSignature);\n\n\t\t// Func section\n\t\tconst funcindex = t.indexInFuncSection(nextTypeIndex);\n\n\t\t// Export section\n\t\tconst moduleExport = t.moduleExport(\n\t\t\tinitFuncId.value,\n\t\t\tt.moduleExportDescr(\"Func\", nextFuncIndex)\n\t\t);\n\n\t\treturn addWithAST(ast, bin, [func, moduleExport, funcindex, functype]);\n\t};\n\n/**\n * Extract mangle mappings from module\n * @param {ModuleGraph} moduleGraph module graph\n * @param {Module} module current module\n * @param {boolean} mangle mangle imports\n * @returns {Map<string, UsedWasmDependency>} mappings to mangled names\n */\nconst getUsedDependencyMap = (moduleGraph, module, mangle) => {\n\t/** @type {Map<string, UsedWasmDependency>} */\n\tconst map = new Map();\n\tfor (const usedDep of WebAssemblyUtils.getUsedDependencies(\n\t\tmoduleGraph,\n\t\tmodule,\n\t\tmangle\n\t)) {\n\t\tconst dep = usedDep.dependency;\n\t\tconst request = dep.request;\n\t\tconst exportName = dep.name;\n\t\tmap.set(request + \":\" + exportName, usedDep);\n\t}\n\treturn map;\n};\n\nconst TYPES = new Set([\"webassembly\"]);\n\nclass WebAssemblyGenerator extends Generator {\n\tconstructor(options) {\n\t\tsuper();\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\tconst originalSource = module.originalSource();\n\t\tif (!originalSource) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn originalSource.size();\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, { moduleGraph, runtime }) {\n\t\tconst bin = module.originalSource().source();\n\n\t\tconst initFuncId = t.identifier(\"\");\n\n\t\t// parse it\n\t\tconst ast = decode(bin, {\n\t\t\tignoreDataSection: true,\n\t\t\tignoreCodeSection: true,\n\t\t\tignoreCustomNameSection: true\n\t\t});\n\n\t\tconst moduleContext = moduleContextFromModuleAST(ast.body[0]);\n\n\t\tconst importedGlobals = getImportedGlobals(ast);\n\t\tconst countImportedFunc = getCountImportedFunc(ast);\n\t\tconst startAtFuncOffset = moduleContext.getStart();\n\t\tconst nextFuncIndex = getNextFuncIndex(ast, countImportedFunc);\n\t\tconst nextTypeIndex = getNextTypeIndex(ast);\n\n\t\tconst usedDependencyMap = getUsedDependencyMap(\n\t\t\tmoduleGraph,\n\t\t\tmodule,\n\t\t\tthis.options.mangleImports\n\t\t);\n\t\tconst externalExports = new Set(\n\t\t\tmodule.dependencies\n\t\t\t\t.filter(d => d instanceof WebAssemblyExportImportedDependency)\n\t\t\t\t.map(d => {\n\t\t\t\t\tconst wasmDep = /** @type {WebAssemblyExportImportedDependency} */ (\n\t\t\t\t\t\td\n\t\t\t\t\t);\n\t\t\t\t\treturn wasmDep.exportName;\n\t\t\t\t})\n\t\t);\n\n\t\t/** @type {t.Instruction[]} */\n\t\tconst additionalInitCode = [];\n\n\t\tconst transform = compose(\n\t\t\trewriteExportNames({\n\t\t\t\tast,\n\t\t\t\tmoduleGraph,\n\t\t\t\tmodule,\n\t\t\t\texternalExports,\n\t\t\t\truntime\n\t\t\t}),\n\n\t\t\tremoveStartFunc({ ast }),\n\n\t\t\trewriteImportedGlobals({ ast, additionalInitCode }),\n\n\t\t\trewriteImports({\n\t\t\t\tast,\n\t\t\t\tusedDependencyMap\n\t\t\t}),\n\n\t\t\taddInitFunction({\n\t\t\t\tast,\n\t\t\t\tinitFuncId,\n\t\t\t\timportedGlobals,\n\t\t\t\tadditionalInitCode,\n\t\t\t\tstartAtFuncOffset,\n\t\t\t\tnextFuncIndex,\n\t\t\t\tnextTypeIndex\n\t\t\t})\n\t\t);\n\n\t\tconst newBin = transform(bin);\n\n\t\tconst newBuf = Buffer.from(newBin);\n\n\t\treturn new RawSource(newBuf);\n\t}\n}\n\nmodule.exports = WebAssemblyGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst WebpackError = __webpack_require__(/*! ../WebpackError */ \"./node_modules/webpack/lib/WebpackError.js\");\n\n/** @typedef {import(\"../ChunkGraph\")} ChunkGraph */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n/** @typedef {import(\"../RequestShortener\")} RequestShortener */\n\n/**\n * @param {Module} module module to get chains from\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {ChunkGraph} chunkGraph the chunk graph\n * @param {RequestShortener} requestShortener to make readable identifiers\n * @returns {string[]} all chains to the module\n */\nconst getInitialModuleChains = (\n\tmodule,\n\tmoduleGraph,\n\tchunkGraph,\n\trequestShortener\n) => {\n\tconst queue = [\n\t\t{ head: module, message: module.readableIdentifier(requestShortener) }\n\t];\n\t/** @type {Set<string>} */\n\tconst results = new Set();\n\t/** @type {Set<string>} */\n\tconst incompleteResults = new Set();\n\t/** @type {Set<Module>} */\n\tconst visitedModules = new Set();\n\n\tfor (const chain of queue) {\n\t\tconst { head, message } = chain;\n\t\tlet final = true;\n\t\t/** @type {Set<Module>} */\n\t\tconst alreadyReferencedModules = new Set();\n\t\tfor (const connection of moduleGraph.getIncomingConnections(head)) {\n\t\t\tconst newHead = connection.originModule;\n\t\t\tif (newHead) {\n\t\t\t\tif (!chunkGraph.getModuleChunks(newHead).some(c => c.canBeInitial()))\n\t\t\t\t\tcontinue;\n\t\t\t\tfinal = false;\n\t\t\t\tif (alreadyReferencedModules.has(newHead)) continue;\n\t\t\t\talreadyReferencedModules.add(newHead);\n\t\t\t\tconst moduleName = newHead.readableIdentifier(requestShortener);\n\t\t\t\tconst detail = connection.explanation\n\t\t\t\t\t? ` (${connection.explanation})`\n\t\t\t\t\t: \"\";\n\t\t\t\tconst newMessage = `${moduleName}${detail} --> ${message}`;\n\t\t\t\tif (visitedModules.has(newHead)) {\n\t\t\t\t\tincompleteResults.add(`... --> ${newMessage}`);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tvisitedModules.add(newHead);\n\t\t\t\tqueue.push({\n\t\t\t\t\thead: newHead,\n\t\t\t\t\tmessage: newMessage\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tfinal = false;\n\t\t\t\tconst newMessage = connection.explanation\n\t\t\t\t\t? `(${connection.explanation}) --> ${message}`\n\t\t\t\t\t: message;\n\t\t\t\tresults.add(newMessage);\n\t\t\t}\n\t\t}\n\t\tif (final) {\n\t\t\tresults.add(message);\n\t\t}\n\t}\n\tfor (const result of incompleteResults) {\n\t\tresults.add(result);\n\t}\n\treturn Array.from(results);\n};\n\nmodule.exports = class WebAssemblyInInitialChunkError extends WebpackError {\n\t/**\n\t * @param {Module} module WASM module\n\t * @param {ModuleGraph} moduleGraph the module graph\n\t * @param {ChunkGraph} chunkGraph the chunk graph\n\t * @param {RequestShortener} requestShortener request shortener\n\t */\n\tconstructor(module, moduleGraph, chunkGraph, requestShortener) {\n\t\tconst moduleChains = getInitialModuleChains(\n\t\t\tmodule,\n\t\t\tmoduleGraph,\n\t\t\tchunkGraph,\n\t\t\trequestShortener\n\t\t);\n\t\tconst message = `WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${moduleChains.map(s => `* ${s}`).join(\"\\n\")}`;\n\n\t\tsuper(message);\n\t\tthis.name = \"WebAssemblyInInitialChunkError\";\n\t\tthis.hideStack = true;\n\t\tthis.module = module;\n\t}\n};\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js ***! \******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst { RawSource } = __webpack_require__(/*! webpack-sources */ \"./node_modules/webpack-sources/lib/index.js\");\nconst { UsageState } = __webpack_require__(/*! ../ExportsInfo */ \"./node_modules/webpack/lib/ExportsInfo.js\");\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst InitFragment = __webpack_require__(/*! ../InitFragment */ \"./node_modules/webpack/lib/InitFragment.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst ModuleDependency = __webpack_require__(/*! ../dependencies/ModuleDependency */ \"./node_modules/webpack/lib/dependencies/ModuleDependency.js\");\nconst WebAssemblyExportImportedDependency = __webpack_require__(/*! ../dependencies/WebAssemblyExportImportedDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Dependency\")} Dependency */\n/** @typedef {import(\"../DependencyTemplates\")} DependencyTemplates */\n/** @typedef {import(\"../Generator\").GenerateContext} GenerateContext */\n/** @typedef {import(\"../NormalModule\")} NormalModule */\n/** @typedef {import(\"../RuntimeTemplate\")} RuntimeTemplate */\n\nconst TYPES = new Set([\"webassembly\"]);\n\nclass WebAssemblyJavascriptGenerator extends Generator {\n\t/**\n\t * @param {NormalModule} module fresh module\n\t * @returns {Set<string>} available types (do not mutate)\n\t */\n\tgetTypes(module) {\n\t\treturn TYPES;\n\t}\n\n\t/**\n\t * @param {NormalModule} module the module\n\t * @param {string=} type source type\n\t * @returns {number} estimate size of the module\n\t */\n\tgetSize(module, type) {\n\t\treturn 95 + module.dependencies.length * 5;\n\t}\n\n\t/**\n\t * @param {NormalModule} module module for which the code should be generated\n\t * @param {GenerateContext} generateContext context for generate\n\t * @returns {Source} generated code\n\t */\n\tgenerate(module, generateContext) {\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\tmoduleGraph,\n\t\t\tchunkGraph,\n\t\t\truntimeRequirements,\n\t\t\truntime\n\t\t} = generateContext;\n\t\t/** @type {InitFragment[]} */\n\t\tconst initFragments = [];\n\n\t\tconst exportsInfo = moduleGraph.getExportsInfo(module);\n\n\t\tlet needExportsCopy = false;\n\t\tconst importedModules = new Map();\n\t\tconst initParams = [];\n\t\tlet index = 0;\n\t\tfor (const dep of module.dependencies) {\n\t\t\tconst moduleDep =\n\t\t\t\tdep && dep instanceof ModuleDependency ? dep : undefined;\n\t\t\tif (moduleGraph.getModule(dep)) {\n\t\t\t\tlet importData = importedModules.get(moduleGraph.getModule(dep));\n\t\t\t\tif (importData === undefined) {\n\t\t\t\t\timportedModules.set(\n\t\t\t\t\t\tmoduleGraph.getModule(dep),\n\t\t\t\t\t\t(importData = {\n\t\t\t\t\t\t\timportVar: `m${index}`,\n\t\t\t\t\t\t\tindex,\n\t\t\t\t\t\t\trequest: (moduleDep && moduleDep.userRequest) || undefined,\n\t\t\t\t\t\t\tnames: new Set(),\n\t\t\t\t\t\t\treexports: []\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t\tindex++;\n\t\t\t\t}\n\t\t\t\tif (dep instanceof WebAssemblyImportDependency) {\n\t\t\t\t\timportData.names.add(dep.name);\n\t\t\t\t\tif (dep.description.type === \"GlobalType\") {\n\t\t\t\t\t\tconst exportName = dep.name;\n\t\t\t\t\t\tconst importedModule = moduleGraph.getModule(dep);\n\n\t\t\t\t\t\tif (importedModule) {\n\t\t\t\t\t\t\tconst usedName = moduleGraph\n\t\t\t\t\t\t\t\t.getExportsInfo(importedModule)\n\t\t\t\t\t\t\t\t.getUsedName(exportName, runtime);\n\t\t\t\t\t\t\tif (usedName) {\n\t\t\t\t\t\t\t\tinitParams.push(\n\t\t\t\t\t\t\t\t\truntimeTemplate.exportFromImport({\n\t\t\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\t\t\tmodule: importedModule,\n\t\t\t\t\t\t\t\t\t\trequest: dep.request,\n\t\t\t\t\t\t\t\t\t\timportVar: importData.importVar,\n\t\t\t\t\t\t\t\t\t\toriginModule: module,\n\t\t\t\t\t\t\t\t\t\texportName: dep.name,\n\t\t\t\t\t\t\t\t\t\tasiSafe: true,\n\t\t\t\t\t\t\t\t\t\tisCall: false,\n\t\t\t\t\t\t\t\t\t\tcallContext: null,\n\t\t\t\t\t\t\t\t\t\tdefaultInterop: true,\n\t\t\t\t\t\t\t\t\t\tinitFragments,\n\t\t\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (dep instanceof WebAssemblyExportImportedDependency) {\n\t\t\t\t\timportData.names.add(dep.name);\n\t\t\t\t\tconst usedName = moduleGraph\n\t\t\t\t\t\t.getExportsInfo(module)\n\t\t\t\t\t\t.getUsedName(dep.exportName, runtime);\n\t\t\t\t\tif (usedName) {\n\t\t\t\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t\t\t\t\tconst exportProp = `${module.exportsArgument}[${JSON.stringify(\n\t\t\t\t\t\t\tusedName\n\t\t\t\t\t\t)}]`;\n\t\t\t\t\t\tconst defineStatement = Template.asString([\n\t\t\t\t\t\t\t`${exportProp} = ${runtimeTemplate.exportFromImport({\n\t\t\t\t\t\t\t\tmoduleGraph,\n\t\t\t\t\t\t\t\tmodule: moduleGraph.getModule(dep),\n\t\t\t\t\t\t\t\trequest: dep.request,\n\t\t\t\t\t\t\t\timportVar: importData.importVar,\n\t\t\t\t\t\t\t\toriginModule: module,\n\t\t\t\t\t\t\t\texportName: dep.name,\n\t\t\t\t\t\t\t\tasiSafe: true,\n\t\t\t\t\t\t\t\tisCall: false,\n\t\t\t\t\t\t\t\tcallContext: null,\n\t\t\t\t\t\t\t\tdefaultInterop: true,\n\t\t\t\t\t\t\t\tinitFragments,\n\t\t\t\t\t\t\t\truntime,\n\t\t\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t\t\t})};`,\n\t\t\t\t\t\t\t`if(WebAssembly.Global) ${exportProp} = ` +\n\t\t\t\t\t\t\t\t`new WebAssembly.Global({ value: ${JSON.stringify(\n\t\t\t\t\t\t\t\t\tdep.valueType\n\t\t\t\t\t\t\t\t)} }, ${exportProp});`\n\t\t\t\t\t\t]);\n\t\t\t\t\t\timportData.reexports.push(defineStatement);\n\t\t\t\t\t\tneedExportsCopy = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tconst importsCode = Template.asString(\n\t\t\tArray.from(\n\t\t\t\timportedModules,\n\t\t\t\t([module, { importVar, request, reexports }]) => {\n\t\t\t\t\tconst importStatement = runtimeTemplate.importStatement({\n\t\t\t\t\t\tmodule,\n\t\t\t\t\t\tchunkGraph,\n\t\t\t\t\t\trequest,\n\t\t\t\t\t\timportVar,\n\t\t\t\t\t\toriginModule: module,\n\t\t\t\t\t\truntimeRequirements\n\t\t\t\t\t});\n\t\t\t\t\treturn importStatement[0] + importStatement[1] + reexports.join(\"\\n\");\n\t\t\t\t}\n\t\t\t)\n\t\t);\n\n\t\tconst copyAllExports =\n\t\t\texportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused &&\n\t\t\t!needExportsCopy;\n\n\t\t// need these globals\n\t\truntimeRequirements.add(RuntimeGlobals.module);\n\t\truntimeRequirements.add(RuntimeGlobals.moduleId);\n\t\truntimeRequirements.add(RuntimeGlobals.wasmInstances);\n\t\tif (exportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.makeNamespaceObject);\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t}\n\t\tif (!copyAllExports) {\n\t\t\truntimeRequirements.add(RuntimeGlobals.exports);\n\t\t}\n\n\t\t// create source\n\t\tconst source = new RawSource(\n\t\t\t[\n\t\t\t\t'\"use strict\";',\n\t\t\t\t\"// Instantiate WebAssembly module\",\n\t\t\t\t`var wasmExports = ${RuntimeGlobals.wasmInstances}[${module.moduleArgument}.id];`,\n\n\t\t\t\texportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused\n\t\t\t\t\t? `${RuntimeGlobals.makeNamespaceObject}(${module.exportsArgument});`\n\t\t\t\t\t: \"\",\n\n\t\t\t\t// this must be before import for circular dependencies\n\t\t\t\t\"// export exports from WebAssembly module\",\n\t\t\t\tcopyAllExports\n\t\t\t\t\t? `${module.moduleArgument}.exports = wasmExports;`\n\t\t\t\t\t: \"for(var name in wasmExports) \" +\n\t\t\t\t\t `if(name) ` +\n\t\t\t\t\t `${module.exportsArgument}[name] = wasmExports[name];`,\n\t\t\t\t\"// exec imports from WebAssembly module (for esm order)\",\n\t\t\t\timportsCode,\n\t\t\t\t\"\",\n\t\t\t\t\"// exec wasm module\",\n\t\t\t\t`wasmExports[\"\"](${initParams.join(\", \")})`\n\t\t\t].join(\"\\n\")\n\t\t);\n\t\treturn InitFragment.addToSource(source, initFragments, generateContext);\n\t}\n}\n\nmodule.exports = WebAssemblyJavascriptGenerator;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Generator = __webpack_require__(/*! ../Generator */ \"./node_modules/webpack/lib/Generator.js\");\nconst WebAssemblyExportImportedDependency = __webpack_require__(/*! ../dependencies/WebAssemblyExportImportedDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\nconst { compareModulesByIdentifier } = __webpack_require__(/*! ../util/comparators */ \"./node_modules/webpack/lib/util/comparators.js\");\nconst memoize = __webpack_require__(/*! ../util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\nconst WebAssemblyInInitialChunkError = __webpack_require__(/*! ./WebAssemblyInInitialChunkError */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js\");\n\n/** @typedef {import(\"webpack-sources\").Source} Source */\n/** @typedef {import(\"../Compiler\")} Compiler */\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleTemplate\")} ModuleTemplate */\n/** @typedef {import(\"../javascript/JavascriptModulesPlugin\").RenderContext} RenderContext */\n\nconst getWebAssemblyGenerator = memoize(() =>\n\t__webpack_require__(/*! ./WebAssemblyGenerator */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js\")\n);\nconst getWebAssemblyJavascriptGenerator = memoize(() =>\n\t__webpack_require__(/*! ./WebAssemblyJavascriptGenerator */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js\")\n);\nconst getWebAssemblyParser = memoize(() => __webpack_require__(/*! ./WebAssemblyParser */ \"./node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js\"));\n\nclass WebAssemblyModulesPlugin {\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.compilation.tap(\n\t\t\t\"WebAssemblyModulesPlugin\",\n\t\t\t(compilation, { normalModuleFactory }) => {\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tWebAssemblyImportDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tcompilation.dependencyFactories.set(\n\t\t\t\t\tWebAssemblyExportImportedDependency,\n\t\t\t\t\tnormalModuleFactory\n\t\t\t\t);\n\n\t\t\t\tnormalModuleFactory.hooks.createParser\n\t\t\t\t\t.for(\"webassembly/sync\")\n\t\t\t\t\t.tap(\"WebAssemblyModulesPlugin\", () => {\n\t\t\t\t\t\tconst WebAssemblyParser = getWebAssemblyParser();\n\n\t\t\t\t\t\treturn new WebAssemblyParser();\n\t\t\t\t\t});\n\n\t\t\t\tnormalModuleFactory.hooks.createGenerator\n\t\t\t\t\t.for(\"webassembly/sync\")\n\t\t\t\t\t.tap(\"WebAssemblyModulesPlugin\", () => {\n\t\t\t\t\t\tconst WebAssemblyJavascriptGenerator =\n\t\t\t\t\t\t\tgetWebAssemblyJavascriptGenerator();\n\t\t\t\t\t\tconst WebAssemblyGenerator = getWebAssemblyGenerator();\n\n\t\t\t\t\t\treturn Generator.byType({\n\t\t\t\t\t\t\tjavascript: new WebAssemblyJavascriptGenerator(),\n\t\t\t\t\t\t\twebassembly: new WebAssemblyGenerator(this.options)\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t\tcompilation.hooks.renderManifest.tap(\n\t\t\t\t\t\"WebAssemblyModulesPlugin\",\n\t\t\t\t\t(result, options) => {\n\t\t\t\t\t\tconst { chunkGraph } = compilation;\n\t\t\t\t\t\tconst { chunk, outputOptions, codeGenerationResults } = options;\n\n\t\t\t\t\t\tfor (const module of chunkGraph.getOrderedChunkModulesIterable(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tcompareModulesByIdentifier\n\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\tif (module.type === \"webassembly/sync\") {\n\t\t\t\t\t\t\t\tconst filenameTemplate =\n\t\t\t\t\t\t\t\t\toutputOptions.webassemblyModuleFilename;\n\n\t\t\t\t\t\t\t\tresult.push({\n\t\t\t\t\t\t\t\t\trender: () =>\n\t\t\t\t\t\t\t\t\t\tcodeGenerationResults.getSource(\n\t\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\t\tchunk.runtime,\n\t\t\t\t\t\t\t\t\t\t\t\"webassembly\"\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tfilenameTemplate,\n\t\t\t\t\t\t\t\t\tpathOptions: {\n\t\t\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\t\t\truntime: chunk.runtime,\n\t\t\t\t\t\t\t\t\t\tchunkGraph\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tauxiliary: true,\n\t\t\t\t\t\t\t\t\tidentifier: `webassemblyModule${chunkGraph.getModuleId(\n\t\t\t\t\t\t\t\t\t\tmodule\n\t\t\t\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t\t\t\thash: chunkGraph.getModuleHash(module, chunk.runtime)\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\tcompilation.hooks.afterChunks.tap(\"WebAssemblyModulesPlugin\", () => {\n\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\tconst initialWasmModules = new Set();\n\t\t\t\t\tfor (const chunk of compilation.chunks) {\n\t\t\t\t\t\tif (chunk.canBeInitial()) {\n\t\t\t\t\t\t\tfor (const module of chunkGraph.getChunkModulesIterable(chunk)) {\n\t\t\t\t\t\t\t\tif (module.type === \"webassembly/sync\") {\n\t\t\t\t\t\t\t\t\tinitialWasmModules.add(module);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor (const module of initialWasmModules) {\n\t\t\t\t\t\tcompilation.errors.push(\n\t\t\t\t\t\t\tnew WebAssemblyInInitialChunkError(\n\t\t\t\t\t\t\t\tmodule,\n\t\t\t\t\t\t\t\tcompilation.moduleGraph,\n\t\t\t\t\t\t\t\tcompilation.chunkGraph,\n\t\t\t\t\t\t\t\tcompilation.requestShortener\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = WebAssemblyModulesPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst t = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nconst { moduleContextFromModuleAST } = __webpack_require__(/*! @webassemblyjs/ast */ \"./node_modules/@webassemblyjs/ast/esm/index.js\");\nconst { decode } = __webpack_require__(/*! @webassemblyjs/wasm-parser */ \"./node_modules/@webassemblyjs/wasm-parser/esm/index.js\");\nconst Parser = __webpack_require__(/*! ../Parser */ \"./node_modules/webpack/lib/Parser.js\");\nconst StaticExportsDependency = __webpack_require__(/*! ../dependencies/StaticExportsDependency */ \"./node_modules/webpack/lib/dependencies/StaticExportsDependency.js\");\nconst WebAssemblyExportImportedDependency = __webpack_require__(/*! ../dependencies/WebAssemblyExportImportedDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\n\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../Parser\").ParserState} ParserState */\n/** @typedef {import(\"../Parser\").PreparsedAst} PreparsedAst */\n\nconst JS_COMPAT_TYPES = new Set([\"i32\", \"i64\", \"f32\", \"f64\"]);\n\n/**\n * @param {t.Signature} signature the func signature\n * @returns {null | string} the type incompatible with js types\n */\nconst getJsIncompatibleType = signature => {\n\tfor (const param of signature.params) {\n\t\tif (!JS_COMPAT_TYPES.has(param.valtype)) {\n\t\t\treturn `${param.valtype} as parameter`;\n\t\t}\n\t}\n\tfor (const type of signature.results) {\n\t\tif (!JS_COMPAT_TYPES.has(type)) return `${type} as result`;\n\t}\n\treturn null;\n};\n\n/**\n * TODO why are there two different Signature types?\n * @param {t.FuncSignature} signature the func signature\n * @returns {null | string} the type incompatible with js types\n */\nconst getJsIncompatibleTypeOfFuncSignature = signature => {\n\tfor (const param of signature.args) {\n\t\tif (!JS_COMPAT_TYPES.has(param)) {\n\t\t\treturn `${param} as parameter`;\n\t\t}\n\t}\n\tfor (const type of signature.result) {\n\t\tif (!JS_COMPAT_TYPES.has(type)) return `${type} as result`;\n\t}\n\treturn null;\n};\n\nconst decoderOpts = {\n\tignoreCodeSection: true,\n\tignoreDataSection: true,\n\n\t// this will avoid having to lookup with identifiers in the ModuleContext\n\tignoreCustomNameSection: true\n};\n\nclass WebAssemblyParser extends Parser {\n\tconstructor(options) {\n\t\tsuper();\n\t\tthis.hooks = Object.freeze({});\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {string | Buffer | PreparsedAst} source the source to parse\n\t * @param {ParserState} state the parser state\n\t * @returns {ParserState} the parser state\n\t */\n\tparse(source, state) {\n\t\tif (!Buffer.isBuffer(source)) {\n\t\t\tthrow new Error(\"WebAssemblyParser input must be a Buffer\");\n\t\t}\n\n\t\t// flag it as ESM\n\t\tstate.module.buildInfo.strict = true;\n\t\tstate.module.buildMeta.exportsType = \"namespace\";\n\n\t\t// parse it\n\t\tconst program = decode(source, decoderOpts);\n\t\tconst module = program.body[0];\n\n\t\tconst moduleContext = moduleContextFromModuleAST(module);\n\n\t\t// extract imports and exports\n\t\tconst exports = [];\n\t\tlet jsIncompatibleExports = (state.module.buildMeta.jsIncompatibleExports =\n\t\t\tundefined);\n\n\t\tconst importedGlobals = [];\n\t\tt.traverse(module, {\n\t\t\tModuleExport({ node }) {\n\t\t\t\tconst descriptor = node.descr;\n\n\t\t\t\tif (descriptor.exportType === \"Func\") {\n\t\t\t\t\tconst funcIdx = descriptor.id.value;\n\n\t\t\t\t\t/** @type {t.FuncSignature} */\n\t\t\t\t\tconst funcSignature = moduleContext.getFunction(funcIdx);\n\n\t\t\t\t\tconst incompatibleType =\n\t\t\t\t\t\tgetJsIncompatibleTypeOfFuncSignature(funcSignature);\n\n\t\t\t\t\tif (incompatibleType) {\n\t\t\t\t\t\tif (jsIncompatibleExports === undefined) {\n\t\t\t\t\t\t\tjsIncompatibleExports =\n\t\t\t\t\t\t\t\tstate.module.buildMeta.jsIncompatibleExports = {};\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjsIncompatibleExports[node.name] = incompatibleType;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\texports.push(node.name);\n\n\t\t\t\tif (node.descr && node.descr.exportType === \"Global\") {\n\t\t\t\t\tconst refNode = importedGlobals[node.descr.id.value];\n\t\t\t\t\tif (refNode) {\n\t\t\t\t\t\tconst dep = new WebAssemblyExportImportedDependency(\n\t\t\t\t\t\t\tnode.name,\n\t\t\t\t\t\t\trefNode.module,\n\t\t\t\t\t\t\trefNode.name,\n\t\t\t\t\t\t\trefNode.descr.valtype\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tstate.module.addDependency(dep);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tGlobal({ node }) {\n\t\t\t\tconst init = node.init[0];\n\n\t\t\t\tlet importNode = null;\n\n\t\t\t\tif (init.id === \"get_global\") {\n\t\t\t\t\tconst globalIdx = init.args[0].value;\n\n\t\t\t\t\tif (globalIdx < importedGlobals.length) {\n\t\t\t\t\t\timportNode = importedGlobals[globalIdx];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\timportedGlobals.push(importNode);\n\t\t\t},\n\n\t\t\tModuleImport({ node }) {\n\t\t\t\t/** @type {false | string} */\n\t\t\t\tlet onlyDirectImport = false;\n\n\t\t\t\tif (t.isMemory(node.descr) === true) {\n\t\t\t\t\tonlyDirectImport = \"Memory\";\n\t\t\t\t} else if (t.isTable(node.descr) === true) {\n\t\t\t\t\tonlyDirectImport = \"Table\";\n\t\t\t\t} else if (t.isFuncImportDescr(node.descr) === true) {\n\t\t\t\t\tconst incompatibleType = getJsIncompatibleType(node.descr.signature);\n\t\t\t\t\tif (incompatibleType) {\n\t\t\t\t\t\tonlyDirectImport = `Non-JS-compatible Func Signature (${incompatibleType})`;\n\t\t\t\t\t}\n\t\t\t\t} else if (t.isGlobalType(node.descr) === true) {\n\t\t\t\t\tconst type = node.descr.valtype;\n\t\t\t\t\tif (!JS_COMPAT_TYPES.has(type)) {\n\t\t\t\t\t\tonlyDirectImport = `Non-JS-compatible Global Type (${type})`;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst dep = new WebAssemblyImportDependency(\n\t\t\t\t\tnode.module,\n\t\t\t\t\tnode.name,\n\t\t\t\t\tnode.descr,\n\t\t\t\t\tonlyDirectImport\n\t\t\t\t);\n\n\t\t\t\tstate.module.addDependency(dep);\n\n\t\t\t\tif (t.isGlobalType(node.descr)) {\n\t\t\t\t\timportedGlobals.push(node);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tstate.module.addDependency(new StaticExportsDependency(exports, false));\n\n\t\treturn state;\n\t}\n}\n\nmodule.exports = WebAssemblyParser;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst WebAssemblyImportDependency = __webpack_require__(/*! ../dependencies/WebAssemblyImportDependency */ \"./node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js\");\n\n/** @typedef {import(\"../Module\")} Module */\n/** @typedef {import(\"../ModuleGraph\")} ModuleGraph */\n\n/** @typedef {Object} UsedWasmDependency\n * @property {WebAssemblyImportDependency} dependency the dependency\n * @property {string} name the export name\n * @property {string} module the module name\n */\n\nconst MANGLED_MODULE = \"a\";\n\n/**\n * @param {ModuleGraph} moduleGraph the module graph\n * @param {Module} module the module\n * @param {boolean} mangle mangle module and export names\n * @returns {UsedWasmDependency[]} used dependencies and (mangled) name\n */\nconst getUsedDependencies = (moduleGraph, module, mangle) => {\n\t/** @type {UsedWasmDependency[]} */\n\tconst array = [];\n\tlet importIndex = 0;\n\tfor (const dep of module.dependencies) {\n\t\tif (dep instanceof WebAssemblyImportDependency) {\n\t\t\tif (\n\t\t\t\tdep.description.type === \"GlobalType\" ||\n\t\t\t\tmoduleGraph.getModule(dep) === null\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst exportName = dep.name;\n\t\t\t// TODO add the following 3 lines when removing of ModuleExport is possible\n\t\t\t// const importedModule = moduleGraph.getModule(dep);\n\t\t\t// const usedName = importedModule && moduleGraph.getExportsInfo(importedModule).getUsedName(exportName, runtime);\n\t\t\t// if (usedName !== false) {\n\t\t\tif (mangle) {\n\t\t\t\tarray.push({\n\t\t\t\t\tdependency: dep,\n\t\t\t\t\tname: Template.numberToIdentifier(importIndex++),\n\t\t\t\t\tmodule: MANGLED_MODULE\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tarray.push({\n\t\t\t\t\tdependency: dep,\n\t\t\t\t\tname: exportName,\n\t\t\t\t\tmodule: dep.request\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn array;\n};\n\nexports.getUsedDependencies = getUsedDependencies;\nexports.MANGLED_MODULE = MANGLED_MODULE;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js?"); /***/ }), /***/ "./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js": /*!******************************************************************!*\ !*** ./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\n/** @typedef {import(\"../../declarations/WebpackOptions\").LibraryOptions} LibraryOptions */\n/** @typedef {import(\"../../declarations/WebpackOptions\").WasmLoadingType} WasmLoadingType */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n/** @type {WeakMap<Compiler, Set<WasmLoadingType>>} */\nconst enabledTypes = new WeakMap();\n\nconst getEnabledTypes = compiler => {\n\tlet set = enabledTypes.get(compiler);\n\tif (set === undefined) {\n\t\tset = new Set();\n\t\tenabledTypes.set(compiler, set);\n\t}\n\treturn set;\n};\n\nclass EnableWasmLoadingPlugin {\n\t/**\n\t * @param {WasmLoadingType} type library type that should be available\n\t */\n\tconstructor(type) {\n\t\tthis.type = type;\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {WasmLoadingType} type type of library\n\t * @returns {void}\n\t */\n\tstatic setEnabled(compiler, type) {\n\t\tgetEnabledTypes(compiler).add(type);\n\t}\n\n\t/**\n\t * @param {Compiler} compiler the compiler instance\n\t * @param {WasmLoadingType} type type of library\n\t * @returns {void}\n\t */\n\tstatic checkEnabled(compiler, type) {\n\t\tif (!getEnabledTypes(compiler).has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Library type \"${type}\" is not enabled. ` +\n\t\t\t\t\t\"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. \" +\n\t\t\t\t\t'This usually happens through the \"output.enabledWasmLoadingTypes\" option. ' +\n\t\t\t\t\t'If you are using a function as entry which sets \"wasmLoading\", you need to add all potential library types to \"output.enabledWasmLoadingTypes\". ' +\n\t\t\t\t\t\"These types are enabled: \" +\n\t\t\t\t\tArray.from(getEnabledTypes(compiler)).join(\", \")\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tconst { type } = this;\n\n\t\t// Only enable once\n\t\tconst enabled = getEnabledTypes(compiler);\n\t\tif (enabled.has(type)) return;\n\t\tenabled.add(type);\n\n\t\tif (typeof type === \"string\") {\n\t\t\tswitch (type) {\n\t\t\t\tcase \"fetch\": {\n\t\t\t\t\t// TODO webpack 6 remove FetchCompileWasmPlugin\n\t\t\t\t\tconst FetchCompileWasmPlugin = __webpack_require__(/*! ../web/FetchCompileWasmPlugin */ \"./node_modules/webpack/lib/web/FetchCompileWasmPlugin.js\");\n\t\t\t\t\tconst FetchCompileAsyncWasmPlugin = __webpack_require__(/*! ../web/FetchCompileAsyncWasmPlugin */ \"./node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js\");\n\t\t\t\t\tnew FetchCompileWasmPlugin({\n\t\t\t\t\t\tmangleImports: compiler.options.optimization.mangleWasmImports\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tnew FetchCompileAsyncWasmPlugin().apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"async-node\": {\n\t\t\t\t\t// TODO webpack 6 remove ReadFileCompileWasmPlugin\n\t\t\t\t\tconst ReadFileCompileWasmPlugin = __webpack_require__(/*! ../node/ReadFileCompileWasmPlugin */ \"./node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js\");\n\t\t\t\t\t// @ts-expect-error typescript bug for duplicate require\n\t\t\t\t\tconst ReadFileCompileAsyncWasmPlugin = __webpack_require__(/*! ../node/ReadFileCompileAsyncWasmPlugin */ \"./node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js\");\n\t\t\t\t\tnew ReadFileCompileWasmPlugin({\n\t\t\t\t\t\tmangleImports: compiler.options.optimization.mangleWasmImports\n\t\t\t\t\t}).apply(compiler);\n\t\t\t\t\tnew ReadFileCompileAsyncWasmPlugin({ type }).apply(compiler);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"async-node-module\": {\n\t\t\t\t\t// @ts-expect-error typescript bug for duplicate require\n\t\t\t\t\tconst ReadFileCompileAsyncWasmPlugin = __webpack_require__(/*! ../node/ReadFileCompileAsyncWasmPlugin */ \"./node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js\");\n\t\t\t\t\tnew ReadFileCompileAsyncWasmPlugin({ type, import: true }).apply(\n\t\t\t\t\t\tcompiler\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase \"universal\":\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\"Universal WebAssembly Loading is not implemented yet\"\n\t\t\t\t\t);\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error(`Unsupported wasm loading type ${type}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`);\n\t\t\t}\n\t\t} else {\n\t\t\t// TODO support plugin instances here\n\t\t\t// apply them to the compiler\n\t\t}\n\t}\n}\n\nmodule.exports = EnableWasmLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js": /*!*********************************************************************!*\ !*** ./node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js ***! \*********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst AsyncWasmLoadingRuntimeModule = __webpack_require__(/*! ../wasm-async/AsyncWasmLoadingRuntimeModule */ \"./node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass FetchCompileAsyncWasmPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"FetchCompileAsyncWasmPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalWasmLoading = compilation.outputOptions.wasmLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst wasmLoading =\n\t\t\t\t\t\toptions && options.wasmLoading !== undefined\n\t\t\t\t\t\t\t? options.wasmLoading\n\t\t\t\t\t\t\t: globalWasmLoading;\n\t\t\t\t\treturn wasmLoading === \"fetch\";\n\t\t\t\t};\n\t\t\t\tconst generateLoadBinaryCode = path =>\n\t\t\t\t\t`fetch(${RuntimeGlobals.publicPath} + ${path})`;\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.instantiateWasm)\n\t\t\t\t\t.tap(\"FetchCompileAsyncWasmPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!chunkGraph.hasModuleInGraph(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tm => m.type === \"webassembly/async\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew AsyncWasmLoadingRuntimeModule({\n\t\t\t\t\t\t\t\tgenerateLoadBinaryCode,\n\t\t\t\t\t\t\t\tsupportsStreaming: true\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = FetchCompileAsyncWasmPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/web/FetchCompileWasmPlugin.js": /*!****************************************************************!*\ !*** ./node_modules/webpack/lib/web/FetchCompileWasmPlugin.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst WasmChunkLoadingRuntimeModule = __webpack_require__(/*! ../wasm-sync/WasmChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\n// TODO webpack 6 remove\n\nclass FetchCompileWasmPlugin {\n\tconstructor(options) {\n\t\tthis.options = options || {};\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"FetchCompileWasmPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalWasmLoading = compilation.outputOptions.wasmLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst wasmLoading =\n\t\t\t\t\t\toptions && options.wasmLoading !== undefined\n\t\t\t\t\t\t\t? options.wasmLoading\n\t\t\t\t\t\t\t: globalWasmLoading;\n\t\t\t\t\treturn wasmLoading === \"fetch\";\n\t\t\t\t};\n\t\t\t\tconst generateLoadBinaryCode = path =>\n\t\t\t\t\t`fetch(${RuntimeGlobals.publicPath} + ${path})`;\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"FetchCompileWasmPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tconst chunkGraph = compilation.chunkGraph;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t!chunkGraph.hasModuleInGraph(\n\t\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\t\tm => m.type === \"webassembly/sync\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\t\tchunk,\n\t\t\t\t\t\t\tnew WasmChunkLoadingRuntimeModule({\n\t\t\t\t\t\t\t\tgenerateLoadBinaryCode,\n\t\t\t\t\t\t\t\tsupportsStreaming: true,\n\t\t\t\t\t\t\t\tmangleImports: this.options.mangleImports,\n\t\t\t\t\t\t\t\truntimeRequirements: set\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = FetchCompileWasmPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/web/FetchCompileWasmPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst JsonpChunkLoadingRuntimeModule = __webpack_require__(/*! ./JsonpChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass JsonpChunkLoadingPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"JsonpChunkLoadingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst chunkLoading =\n\t\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\t\treturn chunkLoading === \"jsonp\";\n\t\t\t\t};\n\t\t\t\tconst onceForChunkSet = new WeakSet();\n\t\t\t\tconst handler = (chunk, set) => {\n\t\t\t\t\tif (onceForChunkSet.has(chunk)) return;\n\t\t\t\t\tonceForChunkSet.add(chunk);\n\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew JsonpChunkLoadingRuntimeModule(set)\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.baseURI)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.onChunksLoaded)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", handler);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.loadScript);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkScriptFilename);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.loadScript);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkUpdateScriptFilename);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tset.add(RuntimeGlobals.hmrModuleData);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"JsonpChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getUpdateManifestFilename);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\n\nmodule.exports = JsonpChunkLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js": /*!************************************************************************!*\ !*** ./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js ***! \************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst { SyncWaterfallHook } = __webpack_require__(/*! tapable */ \"./node_modules/tapable/lib/index.js\");\nconst Compilation = __webpack_require__(/*! ../Compilation */ \"./node_modules/webpack/lib/Compilation.js\");\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst chunkHasJs = (__webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\").chunkHasJs);\nconst { getInitialChunkIds } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\n/**\n * @typedef {Object} JsonpCompilationPluginHooks\n * @property {SyncWaterfallHook<[string, Chunk]>} linkPreload\n * @property {SyncWaterfallHook<[string, Chunk]>} linkPrefetch\n */\n\n/** @type {WeakMap<Compilation, JsonpCompilationPluginHooks>} */\nconst compilationHooksMap = new WeakMap();\n\nclass JsonpChunkLoadingRuntimeModule extends RuntimeModule {\n\t/**\n\t * @param {Compilation} compilation the compilation\n\t * @returns {JsonpCompilationPluginHooks} hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\tif (!(compilation instanceof Compilation)) {\n\t\t\tthrow new TypeError(\n\t\t\t\t\"The 'compilation' argument must be an instance of Compilation\"\n\t\t\t);\n\t\t}\n\t\tlet hooks = compilationHooksMap.get(compilation);\n\t\tif (hooks === undefined) {\n\t\t\thooks = {\n\t\t\t\tlinkPreload: new SyncWaterfallHook([\"source\", \"chunk\"]),\n\t\t\t\tlinkPrefetch: new SyncWaterfallHook([\"source\", \"chunk\"])\n\t\t\t};\n\t\t\tcompilationHooksMap.set(compilation, hooks);\n\t\t}\n\t\treturn hooks;\n\t}\n\n\tconstructor(runtimeRequirements) {\n\t\tsuper(\"jsonp chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis._runtimeRequirements = runtimeRequirements;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk chunk\n\t * @returns {string} generated code\n\t */\n\t_generateBaseUri(chunk) {\n\t\tconst options = chunk.getEntryOptions();\n\t\tif (options && options.baseUri) {\n\t\t\treturn `${RuntimeGlobals.baseURI} = ${JSON.stringify(options.baseUri)};`;\n\t\t} else {\n\t\t\treturn `${RuntimeGlobals.baseURI} = document.baseURI || self.location.href;`;\n\t\t}\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst { chunkGraph, compilation, chunk } = this;\n\t\tconst {\n\t\t\truntimeTemplate,\n\t\t\toutputOptions: {\n\t\t\t\tchunkLoadingGlobal,\n\t\t\t\thotUpdateGlobal,\n\t\t\t\tcrossOriginLoading,\n\t\t\t\tscriptType\n\t\t\t}\n\t\t} = compilation;\n\t\tconst globalObject = runtimeTemplate.globalObject;\n\t\tconst { linkPreload, linkPrefetch } =\n\t\t\tJsonpChunkLoadingRuntimeModule.getCompilationHooks(compilation);\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withBaseURI = this._runtimeRequirements.has(RuntimeGlobals.baseURI);\n\t\tconst withLoading = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t);\n\t\tconst withCallback = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.chunkCallback\n\t\t);\n\t\tconst withOnChunkLoad = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t);\n\t\tconst withHmr = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst withHmrManifest = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t);\n\t\tconst withPrefetch = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.prefetchChunkHandlers\n\t\t);\n\t\tconst withPreload = this._runtimeRequirements.has(\n\t\t\tRuntimeGlobals.preloadChunkHandlers\n\t\t);\n\t\tconst chunkLoadingGlobalExpr = `${globalObject}[${JSON.stringify(\n\t\t\tchunkLoadingGlobal\n\t\t)}]`;\n\t\tconst conditionMap = chunkGraph.getChunkConditionMap(chunk, chunkHasJs);\n\t\tconst hasJsMatcher = compileBooleanMatcher(conditionMap);\n\t\tconst initialChunkIds = getInitialChunkIds(chunk, chunkGraph, chunkHasJs);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_jsonp`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\twithBaseURI ? this._generateBaseUri(chunk) : \"// no baseURI\",\n\t\t\t\"\",\n\t\t\t\"// object to store loaded and loading chunks\",\n\t\t\t\"// undefined = chunk not loaded, null = chunk preloaded/prefetched\",\n\t\t\t\"// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\",\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{`,\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(initialChunkIds, id => `${JSON.stringify(id)}: 0`).join(\n\t\t\t\t\t\",\\n\"\n\t\t\t\t)\n\t\t\t),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${fn}.j = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkId, promises\",\n\t\t\t\t\t\t\thasJsMatcher !== false\n\t\t\t\t\t\t\t\t? Template.indent([\n\t\t\t\t\t\t\t\t\t\t\"// JSONP chunk loading for javascript\",\n\t\t\t\t\t\t\t\t\t\t`var installedChunkData = ${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,\n\t\t\t\t\t\t\t\t\t\t'if(installedChunkData !== 0) { // 0 means \"already installed\".',\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t'// a Promise means \"currently loading\".',\n\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\"promises.push(installedChunkData[2]);\"\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"} else {\",\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\thasJsMatcher === true\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have JS\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: `if(${hasJsMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"// setup Promise in chunk cache\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var promise = new Promise(${runtimeTemplate.expressionFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"resolve, reject\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t)});`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"promises.push(installedChunkData[2] = promise);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"// start chunk loading\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var url = ${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkScriptFilename}(chunkId);`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"// create error before stack unwound to get useful stacktrace later\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"var error = new Error();\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t`var loadingEnded = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"event\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId)) {`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData = installedChunks[chunkId];\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData !== 0) installedChunks[chunkId] = undefined;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"if(installedChunkData) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var errorType = event && (event.type === 'load' ? 'missing' : event.type);\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"var realSrc = event && event.target && event.target.src;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.name = 'ChunkLoadError';\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.type = errorType;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"error.request = realSrc;\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"installedChunkData[1](error);\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.loadScript}(url, loadingEnded, \"chunk-\" + chunkId, chunkId);`\n\t\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\t\"} else installedChunks[chunkId] = 0;\"\n\t\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t ])\n\t\t\t\t\t\t\t\t: Template.indent([\"installedChunks[chunkId] = 0;\"])\n\t\t\t\t\t\t)};`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk on demand loading\",\n\t\t\t\"\",\n\t\t\twithPrefetch && hasJsMatcher !== false\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.prefetchChunkHandlers\n\t\t\t\t }.j = ${runtimeTemplate.basicFunction(\"chunkId\", [\n\t\t\t\t\t\t`if((!${\n\t\t\t\t\t\t\tRuntimeGlobals.hasOwnProperty\n\t\t\t\t\t\t}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${\n\t\t\t\t\t\t\thasJsMatcher === true ? \"true\" : hasJsMatcher(\"chunkId\")\n\t\t\t\t\t\t}) {`,\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"installedChunks[chunkId] = null;\",\n\t\t\t\t\t\t\tlinkPrefetch.call(\n\t\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\t\"var link = document.createElement('link');\",\n\t\t\t\t\t\t\t\t\tcrossOriginLoading\n\t\t\t\t\t\t\t\t\t\t? `link.crossOrigin = ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\tcrossOriginLoading\n\t\t\t\t\t\t\t\t\t\t )};`\n\t\t\t\t\t\t\t\t\t\t: \"\",\n\t\t\t\t\t\t\t\t\t`if (${RuntimeGlobals.scriptNonce}) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t`link.setAttribute(\"nonce\", ${RuntimeGlobals.scriptNonce});`\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t'link.rel = \"prefetch\";',\n\t\t\t\t\t\t\t\t\t'link.as = \"script\";',\n\t\t\t\t\t\t\t\t\t`link.href = ${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkScriptFilename}(chunkId);`\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"document.head.appendChild(link);\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])};`\n\t\t\t\t: \"// no prefetching\",\n\t\t\t\"\",\n\t\t\twithPreload && hasJsMatcher !== false\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.preloadChunkHandlers\n\t\t\t\t }.j = ${runtimeTemplate.basicFunction(\"chunkId\", [\n\t\t\t\t\t\t`if((!${\n\t\t\t\t\t\t\tRuntimeGlobals.hasOwnProperty\n\t\t\t\t\t\t}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${\n\t\t\t\t\t\t\thasJsMatcher === true ? \"true\" : hasJsMatcher(\"chunkId\")\n\t\t\t\t\t\t}) {`,\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"installedChunks[chunkId] = null;\",\n\t\t\t\t\t\t\tlinkPreload.call(\n\t\t\t\t\t\t\t\tTemplate.asString([\n\t\t\t\t\t\t\t\t\t\"var link = document.createElement('link');\",\n\t\t\t\t\t\t\t\t\tscriptType\n\t\t\t\t\t\t\t\t\t\t? `link.type = ${JSON.stringify(scriptType)};`\n\t\t\t\t\t\t\t\t\t\t: \"\",\n\t\t\t\t\t\t\t\t\t\"link.charset = 'utf-8';\",\n\t\t\t\t\t\t\t\t\t`if (${RuntimeGlobals.scriptNonce}) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t`link.setAttribute(\"nonce\", ${RuntimeGlobals.scriptNonce});`\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t'link.rel = \"preload\";',\n\t\t\t\t\t\t\t\t\t'link.as = \"script\";',\n\t\t\t\t\t\t\t\t\t`link.href = ${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkScriptFilename}(chunkId);`,\n\t\t\t\t\t\t\t\t\tcrossOriginLoading\n\t\t\t\t\t\t\t\t\t\t? crossOriginLoading === \"use-credentials\"\n\t\t\t\t\t\t\t\t\t\t\t? 'link.crossOrigin = \"use-credentials\";'\n\t\t\t\t\t\t\t\t\t\t\t: Template.asString([\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"if (link.href.indexOf(window.location.origin + '/') !== 0) {\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`link.crossOrigin = ${JSON.stringify(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcrossOriginLoading\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)};`\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t\t ])\n\t\t\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\tchunk\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"document.head.appendChild(link);\"\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\"\n\t\t\t\t ])};`\n\t\t\t\t: \"// no preloaded\",\n\t\t\t\"\",\n\t\t\twithHmr\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"var currentUpdatedModulesList;\",\n\t\t\t\t\t\t\"var waitingUpdateResolves = {};\",\n\t\t\t\t\t\t\"function loadUpdateChunk(chunkId, updatedModulesList) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"currentUpdatedModulesList = updatedModulesList;\",\n\t\t\t\t\t\t\t`return new Promise(${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\t\"resolve, reject\",\n\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\"waitingUpdateResolves[chunkId] = resolve;\",\n\t\t\t\t\t\t\t\t\t\"// start update chunk loading\",\n\t\t\t\t\t\t\t\t\t`var url = ${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkUpdateScriptFilename}(chunkId);`,\n\t\t\t\t\t\t\t\t\t\"// create error before stack unwound to get useful stacktrace later\",\n\t\t\t\t\t\t\t\t\t\"var error = new Error();\",\n\t\t\t\t\t\t\t\t\t`var loadingEnded = ${runtimeTemplate.basicFunction(\"event\", [\n\t\t\t\t\t\t\t\t\t\t\"if(waitingUpdateResolves[chunkId]) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\t\"waitingUpdateResolves[chunkId] = undefined\",\n\t\t\t\t\t\t\t\t\t\t\t\"var errorType = event && (event.type === 'load' ? 'missing' : event.type);\",\n\t\t\t\t\t\t\t\t\t\t\t\"var realSrc = event && event.target && event.target.src;\",\n\t\t\t\t\t\t\t\t\t\t\t\"error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\",\n\t\t\t\t\t\t\t\t\t\t\t\"error.name = 'ChunkLoadError';\",\n\t\t\t\t\t\t\t\t\t\t\t\"error.type = errorType;\",\n\t\t\t\t\t\t\t\t\t\t\t\"error.request = realSrc;\",\n\t\t\t\t\t\t\t\t\t\t\t\"reject(error);\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t])};`,\n\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.loadScript}(url, loadingEnded);`\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t)});`\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t`${globalObject}[${JSON.stringify(\n\t\t\t\t\t\t\thotUpdateGlobal\n\t\t\t\t\t\t)}] = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkId, moreModules, runtime\",\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"for(var moduleId in moreModules) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"currentUpdate[moduleId] = moreModules[moduleId];\",\n\t\t\t\t\t\t\t\t\t\t\"if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"if(runtime) currentUpdateRuntime.push(runtime);\",\n\t\t\t\t\t\t\t\t\"if(waitingUpdateResolves[chunkId]) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"waitingUpdateResolves[chunkId]();\",\n\t\t\t\t\t\t\t\t\t\"waitingUpdateResolves[chunkId] = undefined;\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tTemplate.getFunctionContent(\n\t\t\t\t\t\t\t__webpack_require__(/*! ../hmr/JavascriptHotModuleReplacement.runtime.js */ \"./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js\")\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$key\\$/g, \"jsonp\")\n\t\t\t\t\t\t\t.replace(/\\$installedChunks\\$/g, \"installedChunks\")\n\t\t\t\t\t\t\t.replace(/\\$loadUpdateChunk\\$/g, \"loadUpdateChunk\")\n\t\t\t\t\t\t\t.replace(/\\$moduleCache\\$/g, RuntimeGlobals.moduleCache)\n\t\t\t\t\t\t\t.replace(/\\$moduleFactories\\$/g, RuntimeGlobals.moduleFactories)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$ensureChunkHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$hasOwnProperty\\$/g, RuntimeGlobals.hasOwnProperty)\n\t\t\t\t\t\t\t.replace(/\\$hmrModuleData\\$/g, RuntimeGlobals.hmrModuleData)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrDownloadUpdateHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrInvalidateModuleHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrInvalidateModuleHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR\",\n\t\t\t\"\",\n\t\t\twithHmrManifest\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${\n\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t\t\t\t\t} = ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\t'if (typeof fetch === \"undefined\") throw new Error(\"No browser support: need fetch API\");',\n\t\t\t\t\t\t\t`return fetch(${RuntimeGlobals.publicPath} + ${\n\t\t\t\t\t\t\t\tRuntimeGlobals.getUpdateManifestFilename\n\t\t\t\t\t\t\t}()).then(${runtimeTemplate.basicFunction(\"response\", [\n\t\t\t\t\t\t\t\t\"if(response.status === 404) return; // no update available\",\n\t\t\t\t\t\t\t\t'if(!response.ok) throw new Error(\"Failed to fetch update manifest \" + response.statusText);',\n\t\t\t\t\t\t\t\t\"return response.json();\"\n\t\t\t\t\t\t\t])});`\n\t\t\t\t\t\t])};`\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR manifest\",\n\t\t\t\"\",\n\t\t\twithOnChunkLoad\n\t\t\t\t? `${\n\t\t\t\t\t\tRuntimeGlobals.onChunksLoaded\n\t\t\t\t }.j = ${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\"installedChunks[chunkId] === 0\",\n\t\t\t\t\t\t\"chunkId\"\n\t\t\t\t )};`\n\t\t\t\t: \"// no on chunks loaded\",\n\t\t\t\"\",\n\t\t\twithCallback || withLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// install a JSONP callback for chunk loading\",\n\t\t\t\t\t\t`var webpackJsonpCallback = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"parentChunkLoadingFunction, data\",\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\truntimeTemplate.destructureArray(\n\t\t\t\t\t\t\t\t\t[\"chunkIds\", \"moreModules\", \"runtime\"],\n\t\t\t\t\t\t\t\t\t\"data\"\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t'// add \"moreModules\" to the modules object,',\n\t\t\t\t\t\t\t\t'// then flag all \"chunkIds\" as loaded and fire callback',\n\t\t\t\t\t\t\t\t\"var moduleId, chunkId, i = 0;\",\n\t\t\t\t\t\t\t\t`if(chunkIds.some(${runtimeTemplate.returningFunction(\n\t\t\t\t\t\t\t\t\t\"installedChunks[id] !== 0\",\n\t\t\t\t\t\t\t\t\t\"id\"\n\t\t\t\t\t\t\t\t)})) {`,\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"for(moduleId in moreModules) {\",\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleFactories}[moduleId] = moreModules[moduleId];`\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t\"if(runtime) var result = runtime(__webpack_require__);\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\",\n\t\t\t\t\t\t\t\t\"for(;i < chunkIds.length; i++) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\"chunkId = chunkIds[i];\",\n\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent(\"installedChunks[chunkId][0]();\"),\n\t\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\t\"installedChunks[chunkId] = 0;\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\twithOnChunkLoad\n\t\t\t\t\t\t\t\t\t? `return ${RuntimeGlobals.onChunksLoaded}(result);`\n\t\t\t\t\t\t\t\t\t: \"\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t)}`,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t`var chunkLoadingGlobal = ${chunkLoadingGlobalExpr} = ${chunkLoadingGlobalExpr} || [];`,\n\t\t\t\t\t\t\"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\",\n\t\t\t\t\t\t\"chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"\n\t\t\t\t ])\n\t\t\t\t: \"// no jsonp function\"\n\t\t]);\n\t}\n}\n\nmodule.exports = JsonpChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/web/JsonpTemplatePlugin.js": /*!*************************************************************!*\ !*** ./node_modules/webpack/lib/web/JsonpTemplatePlugin.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ArrayPushCallbackChunkFormatPlugin = __webpack_require__(/*! ../javascript/ArrayPushCallbackChunkFormatPlugin */ \"./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js\");\nconst EnableChunkLoadingPlugin = __webpack_require__(/*! ../javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\nconst JsonpChunkLoadingRuntimeModule = __webpack_require__(/*! ./JsonpChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n/** @typedef {import(\"../Compilation\")} Compilation */\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass JsonpTemplatePlugin {\n\t/**\n\t * @deprecated use JsonpChunkLoadingRuntimeModule.getCompilationHooks instead\n\t * @param {Compilation} compilation the compilation\n\t * @returns {JsonpChunkLoadingRuntimeModule.JsonpCompilationPluginHooks} hooks\n\t */\n\tstatic getCompilationHooks(compilation) {\n\t\treturn JsonpChunkLoadingRuntimeModule.getCompilationHooks(compilation);\n\t}\n\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.options.output.chunkLoading = \"jsonp\";\n\t\tnew ArrayPushCallbackChunkFormatPlugin().apply(compiler);\n\t\tnew EnableChunkLoadingPlugin(\"jsonp\").apply(compiler);\n\t}\n}\n\nmodule.exports = JsonpTemplatePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/web/JsonpTemplatePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/webpack.js": /*!*********************************************!*\ !*** ./node_modules/webpack/lib/webpack.js ***! \*********************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst util = __webpack_require__(/*! util */ \"?dcf1\");\nconst webpackOptionsSchemaCheck = __webpack_require__(/*! ../schemas/WebpackOptions.check.js */ \"./node_modules/webpack/schemas/WebpackOptions.check.js\");\nconst webpackOptionsSchema = __webpack_require__(/*! ../schemas/WebpackOptions.json */ \"./node_modules/webpack/schemas/WebpackOptions.json\");\nconst Compiler = __webpack_require__(/*! ./Compiler */ \"./node_modules/webpack/lib/Compiler.js\");\nconst MultiCompiler = __webpack_require__(/*! ./MultiCompiler */ \"./node_modules/webpack/lib/MultiCompiler.js\");\nconst WebpackOptionsApply = __webpack_require__(/*! ./WebpackOptionsApply */ \"./node_modules/webpack/lib/WebpackOptionsApply.js\");\nconst {\n\tapplyWebpackOptionsDefaults,\n\tapplyWebpackOptionsBaseDefaults\n} = __webpack_require__(/*! ./config/defaults */ \"./node_modules/webpack/lib/config/defaults.js\");\nconst { getNormalizedWebpackOptions } = __webpack_require__(/*! ./config/normalization */ \"./node_modules/webpack/lib/config/normalization.js\");\nconst NodeEnvironmentPlugin = __webpack_require__(/*! ./node/NodeEnvironmentPlugin */ \"./node_modules/webpack/lib/node/NodeEnvironmentPlugin.js\");\nconst memoize = __webpack_require__(/*! ./util/memoize */ \"./node_modules/webpack/lib/util/memoize.js\");\n\n/** @typedef {import(\"../declarations/WebpackOptions\").WebpackOptions} WebpackOptions */\n/** @typedef {import(\"./Compiler\").WatchOptions} WatchOptions */\n/** @typedef {import(\"./MultiCompiler\").MultiCompilerOptions} MultiCompilerOptions */\n/** @typedef {import(\"./MultiStats\")} MultiStats */\n/** @typedef {import(\"./Stats\")} Stats */\n\nconst getValidateSchema = memoize(() => __webpack_require__(/*! ./validateSchema */ \"./node_modules/webpack/lib/validateSchema.js\"));\n\n/**\n * @template T\n * @callback Callback\n * @param {Error=} err\n * @param {T=} stats\n * @returns {void}\n */\n\n/**\n * @param {ReadonlyArray<WebpackOptions>} childOptions options array\n * @param {MultiCompilerOptions} options options\n * @returns {MultiCompiler} a multi-compiler\n */\nconst createMultiCompiler = (childOptions, options) => {\n\tconst compilers = childOptions.map(options => createCompiler(options));\n\tconst compiler = new MultiCompiler(compilers, options);\n\tfor (const childCompiler of compilers) {\n\t\tif (childCompiler.options.dependencies) {\n\t\t\tcompiler.setDependencies(\n\t\t\t\tchildCompiler,\n\t\t\t\tchildCompiler.options.dependencies\n\t\t\t);\n\t\t}\n\t}\n\treturn compiler;\n};\n\n/**\n * @param {WebpackOptions} rawOptions options object\n * @returns {Compiler} a compiler\n */\nconst createCompiler = rawOptions => {\n\tconst options = getNormalizedWebpackOptions(rawOptions);\n\tapplyWebpackOptionsBaseDefaults(options);\n\tconst compiler = new Compiler(options.context, options);\n\tnew NodeEnvironmentPlugin({\n\t\tinfrastructureLogging: options.infrastructureLogging\n\t}).apply(compiler);\n\tif (Array.isArray(options.plugins)) {\n\t\tfor (const plugin of options.plugins) {\n\t\t\tif (typeof plugin === \"function\") {\n\t\t\t\tplugin.call(compiler, compiler);\n\t\t\t} else {\n\t\t\t\tplugin.apply(compiler);\n\t\t\t}\n\t\t}\n\t}\n\tapplyWebpackOptionsDefaults(options);\n\tcompiler.hooks.environment.call();\n\tcompiler.hooks.afterEnvironment.call();\n\tnew WebpackOptionsApply().process(options, compiler);\n\tcompiler.hooks.initialize.call();\n\treturn compiler;\n};\n\n/**\n * @callback WebpackFunctionSingle\n * @param {WebpackOptions} options options object\n * @param {Callback<Stats>=} callback callback\n * @returns {Compiler} the compiler object\n */\n\n/**\n * @callback WebpackFunctionMulti\n * @param {ReadonlyArray<WebpackOptions> & MultiCompilerOptions} options options objects\n * @param {Callback<MultiStats>=} callback callback\n * @returns {MultiCompiler} the multi compiler object\n */\n\nconst asArray = options =>\n\tArray.isArray(options) ? Array.from(options) : [options];\n\nconst webpack = /** @type {WebpackFunctionSingle & WebpackFunctionMulti} */ (\n\t/**\n\t * @param {WebpackOptions | (ReadonlyArray<WebpackOptions> & MultiCompilerOptions)} options options\n\t * @param {Callback<Stats> & Callback<MultiStats>=} callback callback\n\t * @returns {Compiler | MultiCompiler}\n\t */\n\t(options, callback) => {\n\t\tconst create = () => {\n\t\t\tif (!asArray(options).every(webpackOptionsSchemaCheck)) {\n\t\t\t\tgetValidateSchema()(webpackOptionsSchema, options);\n\t\t\t\tutil.deprecate(\n\t\t\t\t\t() => {},\n\t\t\t\t\t\"webpack bug: Pre-compiled schema reports error while real schema is happy. This has performance drawbacks.\",\n\t\t\t\t\t\"DEP_WEBPACK_PRE_COMPILED_SCHEMA_INVALID\"\n\t\t\t\t)();\n\t\t\t}\n\t\t\t/** @type {MultiCompiler|Compiler} */\n\t\t\tlet compiler;\n\t\t\tlet watch = false;\n\t\t\t/** @type {WatchOptions|WatchOptions[]} */\n\t\t\tlet watchOptions;\n\t\t\tif (Array.isArray(options)) {\n\t\t\t\t/** @type {MultiCompiler} */\n\t\t\t\tcompiler = createMultiCompiler(\n\t\t\t\t\toptions,\n\t\t\t\t\t/** @type {MultiCompilerOptions} */ (options)\n\t\t\t\t);\n\t\t\t\twatch = options.some(options => options.watch);\n\t\t\t\twatchOptions = options.map(options => options.watchOptions || {});\n\t\t\t} else {\n\t\t\t\tconst webpackOptions = /** @type {WebpackOptions} */ (options);\n\t\t\t\t/** @type {Compiler} */\n\t\t\t\tcompiler = createCompiler(webpackOptions);\n\t\t\t\twatch = webpackOptions.watch;\n\t\t\t\twatchOptions = webpackOptions.watchOptions || {};\n\t\t\t}\n\t\t\treturn { compiler, watch, watchOptions };\n\t\t};\n\t\tif (callback) {\n\t\t\ttry {\n\t\t\t\tconst { compiler, watch, watchOptions } = create();\n\t\t\t\tif (watch) {\n\t\t\t\t\tcompiler.watch(watchOptions, callback);\n\t\t\t\t} else {\n\t\t\t\t\tcompiler.run((err, stats) => {\n\t\t\t\t\t\tcompiler.close(err2 => {\n\t\t\t\t\t\t\tcallback(err || err2, stats);\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\treturn compiler;\n\t\t\t} catch (err) {\n\t\t\t\tprocess.nextTick(() => callback(err));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else {\n\t\t\tconst { compiler, watch } = create();\n\t\t\tif (watch) {\n\t\t\t\tutil.deprecate(\n\t\t\t\t\t() => {},\n\t\t\t\t\t\"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.\",\n\t\t\t\t\t\"DEP_WEBPACK_WATCH_WITHOUT_CALLBACK\"\n\t\t\t\t)();\n\t\t\t}\n\t\t\treturn compiler;\n\t\t}\n\t}\n);\n\nmodule.exports = webpack;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/webpack.js?"); /***/ }), /***/ "./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst StartupChunkDependenciesPlugin = __webpack_require__(/*! ../runtime/StartupChunkDependenciesPlugin */ \"./node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js\");\nconst ImportScriptsChunkLoadingRuntimeModule = __webpack_require__(/*! ./ImportScriptsChunkLoadingRuntimeModule */ \"./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass ImportScriptsChunkLoadingPlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tnew StartupChunkDependenciesPlugin({\n\t\t\tchunkLoading: \"import-scripts\",\n\t\t\tasyncChunkLoading: true\n\t\t}).apply(compiler);\n\t\tcompiler.hooks.thisCompilation.tap(\n\t\t\t\"ImportScriptsChunkLoadingPlugin\",\n\t\t\tcompilation => {\n\t\t\t\tconst globalChunkLoading = compilation.outputOptions.chunkLoading;\n\t\t\t\tconst isEnabledForChunk = chunk => {\n\t\t\t\t\tconst options = chunk.getEntryOptions();\n\t\t\t\t\tconst chunkLoading =\n\t\t\t\t\t\toptions && options.chunkLoading !== undefined\n\t\t\t\t\t\t\t? options.chunkLoading\n\t\t\t\t\t\t\t: globalChunkLoading;\n\t\t\t\t\treturn chunkLoading === \"import-scripts\";\n\t\t\t\t};\n\t\t\t\tconst onceForChunkSet = new WeakSet();\n\t\t\t\tconst handler = (chunk, set) => {\n\t\t\t\t\tif (onceForChunkSet.has(chunk)) return;\n\t\t\t\t\tonceForChunkSet.add(chunk);\n\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\tconst withCreateScriptUrl = !!compilation.outputOptions.trustedTypes;\n\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\tset.add(RuntimeGlobals.hasOwnProperty);\n\t\t\t\t\tif (withCreateScriptUrl) {\n\t\t\t\t\t\tset.add(RuntimeGlobals.createScriptUrl);\n\t\t\t\t\t}\n\t\t\t\t\tcompilation.addRuntimeModule(\n\t\t\t\t\t\tchunk,\n\t\t\t\t\t\tnew ImportScriptsChunkLoadingRuntimeModule(set, withCreateScriptUrl)\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", handler);\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.baseURI)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", handler);\n\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.ensureChunkHandlers)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkScriptFilename);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadUpdateHandlers)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getChunkUpdateScriptFilename);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleCache);\n\t\t\t\t\t\tset.add(RuntimeGlobals.hmrModuleData);\n\t\t\t\t\t\tset.add(RuntimeGlobals.moduleFactoriesAddOnly);\n\t\t\t\t\t});\n\t\t\t\tcompilation.hooks.runtimeRequirementInTree\n\t\t\t\t\t.for(RuntimeGlobals.hmrDownloadManifest)\n\t\t\t\t\t.tap(\"ImportScriptsChunkLoadingPlugin\", (chunk, set) => {\n\t\t\t\t\t\tif (!isEnabledForChunk(chunk)) return;\n\t\t\t\t\t\tset.add(RuntimeGlobals.publicPath);\n\t\t\t\t\t\tset.add(RuntimeGlobals.getUpdateManifestFilename);\n\t\t\t\t\t});\n\t\t\t}\n\t\t);\n\t}\n}\nmodule.exports = ImportScriptsChunkLoadingPlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js?"); /***/ }), /***/ "./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js ***! \**************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n*/\n\n\n\nconst RuntimeGlobals = __webpack_require__(/*! ../RuntimeGlobals */ \"./node_modules/webpack/lib/RuntimeGlobals.js\");\nconst RuntimeModule = __webpack_require__(/*! ../RuntimeModule */ \"./node_modules/webpack/lib/RuntimeModule.js\");\nconst Template = __webpack_require__(/*! ../Template */ \"./node_modules/webpack/lib/Template.js\");\nconst {\n\tgetChunkFilenameTemplate,\n\tchunkHasJs\n} = __webpack_require__(/*! ../javascript/JavascriptModulesPlugin */ \"./node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js\");\nconst { getInitialChunkIds } = __webpack_require__(/*! ../javascript/StartupHelpers */ \"./node_modules/webpack/lib/javascript/StartupHelpers.js\");\nconst compileBooleanMatcher = __webpack_require__(/*! ../util/compileBooleanMatcher */ \"./node_modules/webpack/lib/util/compileBooleanMatcher.js\");\nconst { getUndoPath } = __webpack_require__(/*! ../util/identifier */ \"./node_modules/webpack/lib/util/identifier.js\");\n\n/** @typedef {import(\"../Chunk\")} Chunk */\n\nclass ImportScriptsChunkLoadingRuntimeModule extends RuntimeModule {\n\tconstructor(runtimeRequirements, withCreateScriptUrl) {\n\t\tsuper(\"importScripts chunk loading\", RuntimeModule.STAGE_ATTACH);\n\t\tthis.runtimeRequirements = runtimeRequirements;\n\t\tthis._withCreateScriptUrl = withCreateScriptUrl;\n\t}\n\n\t/**\n\t * @private\n\t * @param {Chunk} chunk chunk\n\t * @returns {string} generated code\n\t */\n\t_generateBaseUri(chunk) {\n\t\tconst options = chunk.getEntryOptions();\n\t\tif (options && options.baseUri) {\n\t\t\treturn `${RuntimeGlobals.baseURI} = ${JSON.stringify(options.baseUri)};`;\n\t\t}\n\t\tconst outputName = this.compilation.getPath(\n\t\t\tgetChunkFilenameTemplate(chunk, this.compilation.outputOptions),\n\t\t\t{\n\t\t\t\tchunk,\n\t\t\t\tcontentHashType: \"javascript\"\n\t\t\t}\n\t\t);\n\t\tconst rootOutputDir = getUndoPath(\n\t\t\toutputName,\n\t\t\tthis.compilation.outputOptions.path,\n\t\t\tfalse\n\t\t);\n\t\treturn `${RuntimeGlobals.baseURI} = self.location + ${JSON.stringify(\n\t\t\trootOutputDir ? \"/../\" + rootOutputDir : \"\"\n\t\t)};`;\n\t}\n\n\t/**\n\t * @returns {string} runtime code\n\t */\n\tgenerate() {\n\t\tconst {\n\t\t\tchunk,\n\t\t\tchunkGraph,\n\t\t\tcompilation: {\n\t\t\t\truntimeTemplate,\n\t\t\t\toutputOptions: { chunkLoadingGlobal, hotUpdateGlobal }\n\t\t\t},\n\t\t\t_withCreateScriptUrl: withCreateScriptUrl\n\t\t} = this;\n\t\tconst globalObject = runtimeTemplate.globalObject;\n\t\tconst fn = RuntimeGlobals.ensureChunkHandlers;\n\t\tconst withBaseURI = this.runtimeRequirements.has(RuntimeGlobals.baseURI);\n\t\tconst withLoading = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t);\n\t\tconst withHmr = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t);\n\t\tconst withHmrManifest = this.runtimeRequirements.has(\n\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t);\n\t\tconst chunkLoadingGlobalExpr = `${globalObject}[${JSON.stringify(\n\t\t\tchunkLoadingGlobal\n\t\t)}]`;\n\t\tconst hasJsMatcher = compileBooleanMatcher(\n\t\t\tchunkGraph.getChunkConditionMap(chunk, chunkHasJs)\n\t\t);\n\t\tconst initialChunkIds = getInitialChunkIds(chunk, chunkGraph, chunkHasJs);\n\n\t\tconst stateExpression = withHmr\n\t\t\t? `${RuntimeGlobals.hmrRuntimeStatePrefix}_importScripts`\n\t\t\t: undefined;\n\n\t\treturn Template.asString([\n\t\t\twithBaseURI ? this._generateBaseUri(chunk) : \"// no baseURI\",\n\t\t\t\"\",\n\t\t\t\"// object to store loaded chunks\",\n\t\t\t'// \"1\" means \"already loaded\"',\n\t\t\t`var installedChunks = ${\n\t\t\t\tstateExpression ? `${stateExpression} = ${stateExpression} || ` : \"\"\n\t\t\t}{`,\n\t\t\tTemplate.indent(\n\t\t\t\tArray.from(initialChunkIds, id => `${JSON.stringify(id)}: 1`).join(\n\t\t\t\t\t\",\\n\"\n\t\t\t\t)\n\t\t\t),\n\t\t\t\"};\",\n\t\t\t\"\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"// importScripts chunk loading\",\n\t\t\t\t\t\t`var installChunk = ${runtimeTemplate.basicFunction(\"data\", [\n\t\t\t\t\t\t\truntimeTemplate.destructureArray(\n\t\t\t\t\t\t\t\t[\"chunkIds\", \"moreModules\", \"runtime\"],\n\t\t\t\t\t\t\t\t\"data\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\"for(var moduleId in moreModules) {\",\n\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t`${RuntimeGlobals.moduleFactories}[moduleId] = moreModules[moduleId];`\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\"if(runtime) runtime(__webpack_require__);\",\n\t\t\t\t\t\t\t\"while(chunkIds.length)\",\n\t\t\t\t\t\t\tTemplate.indent(\"installedChunks[chunkIds.pop()] = 1;\"),\n\t\t\t\t\t\t\t\"parentChunkLoadingFunction(data);\"\n\t\t\t\t\t\t])};`\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk install function needed\",\n\t\t\twithLoading\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${fn}.i = ${runtimeTemplate.basicFunction(\n\t\t\t\t\t\t\t\"chunkId, promises\",\n\t\t\t\t\t\t\thasJsMatcher !== false\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t'// \"1\" is the signal for \"already loaded\"',\n\t\t\t\t\t\t\t\t\t\t\"if(!installedChunks[chunkId]) {\",\n\t\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\thasJsMatcher === true\n\t\t\t\t\t\t\t\t\t\t\t\t? \"if(true) { // all chunks have JS\"\n\t\t\t\t\t\t\t\t\t\t\t\t: `if(${hasJsMatcher(\"chunkId\")}) {`,\n\t\t\t\t\t\t\t\t\t\t\tTemplate.indent(\n\t\t\t\t\t\t\t\t\t\t\t\t`importScripts(${\n\t\t\t\t\t\t\t\t\t\t\t\t\twithCreateScriptUrl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? `${RuntimeGlobals.createScriptUrl}(${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkScriptFilename}(chunkId))`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: `${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkScriptFilename}(chunkId)`\n\t\t\t\t\t\t\t\t\t\t\t\t});`\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t: \"installedChunks[chunkId] = 1;\"\n\t\t\t\t\t\t)};`,\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t`var chunkLoadingGlobal = ${chunkLoadingGlobalExpr} = ${chunkLoadingGlobalExpr} || [];`,\n\t\t\t\t\t\t\"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\",\n\t\t\t\t\t\t\"chunkLoadingGlobal.push = installChunk;\"\n\t\t\t\t ])\n\t\t\t\t: \"// no chunk loading\",\n\t\t\t\"\",\n\t\t\twithHmr\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t\"function loadUpdateChunk(chunkId, updatedModulesList) {\",\n\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\"var success = false;\",\n\t\t\t\t\t\t\t`${globalObject}[${JSON.stringify(\n\t\t\t\t\t\t\t\thotUpdateGlobal\n\t\t\t\t\t\t\t)}] = ${runtimeTemplate.basicFunction(\"_, moreModules, runtime\", [\n\t\t\t\t\t\t\t\t\"for(var moduleId in moreModules) {\",\n\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t`if(${RuntimeGlobals.hasOwnProperty}(moreModules, moduleId)) {`,\n\t\t\t\t\t\t\t\t\tTemplate.indent([\n\t\t\t\t\t\t\t\t\t\t\"currentUpdate[moduleId] = moreModules[moduleId];\",\n\t\t\t\t\t\t\t\t\t\t\"if(updatedModulesList) updatedModulesList.push(moduleId);\"\n\t\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\t\"}\"\n\t\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\t\t\"if(runtime) currentUpdateRuntime.push(runtime);\",\n\t\t\t\t\t\t\t\t\"success = true;\"\n\t\t\t\t\t\t\t])};`,\n\t\t\t\t\t\t\t\"// start update chunk loading\",\n\t\t\t\t\t\t\t`importScripts(${\n\t\t\t\t\t\t\t\twithCreateScriptUrl\n\t\t\t\t\t\t\t\t\t? `${RuntimeGlobals.createScriptUrl}(${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkUpdateScriptFilename}(chunkId))`\n\t\t\t\t\t\t\t\t\t: `${RuntimeGlobals.publicPath} + ${RuntimeGlobals.getChunkUpdateScriptFilename}(chunkId)`\n\t\t\t\t\t\t\t});`,\n\t\t\t\t\t\t\t'if(!success) throw new Error(\"Loading update chunk failed for unknown reason\");'\n\t\t\t\t\t\t]),\n\t\t\t\t\t\t\"}\",\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\tTemplate.getFunctionContent(\n\t\t\t\t\t\t\t__webpack_require__(/*! ../hmr/JavascriptHotModuleReplacement.runtime.js */ \"./node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js\")\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$key\\$/g, \"importScrips\")\n\t\t\t\t\t\t\t.replace(/\\$installedChunks\\$/g, \"installedChunks\")\n\t\t\t\t\t\t\t.replace(/\\$loadUpdateChunk\\$/g, \"loadUpdateChunk\")\n\t\t\t\t\t\t\t.replace(/\\$moduleCache\\$/g, RuntimeGlobals.moduleCache)\n\t\t\t\t\t\t\t.replace(/\\$moduleFactories\\$/g, RuntimeGlobals.moduleFactories)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$ensureChunkHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.ensureChunkHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(/\\$hasOwnProperty\\$/g, RuntimeGlobals.hasOwnProperty)\n\t\t\t\t\t\t\t.replace(/\\$hmrModuleData\\$/g, RuntimeGlobals.hmrModuleData)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrDownloadUpdateHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadUpdateHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t/\\$hmrInvalidateModuleHandlers\\$/g,\n\t\t\t\t\t\t\t\tRuntimeGlobals.hmrInvalidateModuleHandlers\n\t\t\t\t\t\t\t)\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR\",\n\t\t\t\"\",\n\t\t\twithHmrManifest\n\t\t\t\t? Template.asString([\n\t\t\t\t\t\t`${\n\t\t\t\t\t\t\tRuntimeGlobals.hmrDownloadManifest\n\t\t\t\t\t\t} = ${runtimeTemplate.basicFunction(\"\", [\n\t\t\t\t\t\t\t'if (typeof fetch === \"undefined\") throw new Error(\"No browser support: need fetch API\");',\n\t\t\t\t\t\t\t`return fetch(${RuntimeGlobals.publicPath} + ${\n\t\t\t\t\t\t\t\tRuntimeGlobals.getUpdateManifestFilename\n\t\t\t\t\t\t\t}()).then(${runtimeTemplate.basicFunction(\"response\", [\n\t\t\t\t\t\t\t\t\"if(response.status === 404) return; // no update available\",\n\t\t\t\t\t\t\t\t'if(!response.ok) throw new Error(\"Failed to fetch update manifest \" + response.statusText);',\n\t\t\t\t\t\t\t\t\"return response.json();\"\n\t\t\t\t\t\t\t])});`\n\t\t\t\t\t\t])};`\n\t\t\t\t ])\n\t\t\t\t: \"// no HMR manifest\"\n\t\t]);\n\t}\n}\n\nmodule.exports = ImportScriptsChunkLoadingRuntimeModule;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js?"); /***/ }), /***/ "./node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js": /*!***********************************************************************!*\ !*** ./node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js ***! \***********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\n\n\nconst ArrayPushCallbackChunkFormatPlugin = __webpack_require__(/*! ../javascript/ArrayPushCallbackChunkFormatPlugin */ \"./node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js\");\nconst EnableChunkLoadingPlugin = __webpack_require__(/*! ../javascript/EnableChunkLoadingPlugin */ \"./node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js\");\n\n/** @typedef {import(\"../Compiler\")} Compiler */\n\nclass WebWorkerTemplatePlugin {\n\t/**\n\t * Apply the plugin\n\t * @param {Compiler} compiler the compiler instance\n\t * @returns {void}\n\t */\n\tapply(compiler) {\n\t\tcompiler.options.output.chunkLoading = \"import-scripts\";\n\t\tnew ArrayPushCallbackChunkFormatPlugin().apply(compiler);\n\t\tnew EnableChunkLoadingPlugin(\"import-scripts\").apply(compiler);\n\t}\n}\nmodule.exports = WebWorkerTemplatePlugin;\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/WebpackOptions.check.js": /*!**************************************************************!*\ !*** ./node_modules/webpack/schemas/WebpackOptions.check.js ***! \**************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst e=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;module.exports=we,module.exports[\"default\"]=we;const t={amd:{$ref:\"#/definitions/Amd\"},bail:{$ref:\"#/definitions/Bail\"},cache:{$ref:\"#/definitions/CacheOptions\"},context:{$ref:\"#/definitions/Context\"},dependencies:{$ref:\"#/definitions/Dependencies\"},devServer:{$ref:\"#/definitions/DevServer\"},devtool:{$ref:\"#/definitions/DevTool\"},entry:{$ref:\"#/definitions/Entry\"},experiments:{$ref:\"#/definitions/Experiments\"},externals:{$ref:\"#/definitions/Externals\"},externalsPresets:{$ref:\"#/definitions/ExternalsPresets\"},externalsType:{$ref:\"#/definitions/ExternalsType\"},ignoreWarnings:{$ref:\"#/definitions/IgnoreWarnings\"},infrastructureLogging:{$ref:\"#/definitions/InfrastructureLogging\"},loader:{$ref:\"#/definitions/Loader\"},mode:{$ref:\"#/definitions/Mode\"},module:{$ref:\"#/definitions/ModuleOptions\"},name:{$ref:\"#/definitions/Name\"},node:{$ref:\"#/definitions/Node\"},optimization:{$ref:\"#/definitions/Optimization\"},output:{$ref:\"#/definitions/Output\"},parallelism:{$ref:\"#/definitions/Parallelism\"},performance:{$ref:\"#/definitions/Performance\"},plugins:{$ref:\"#/definitions/Plugins\"},profile:{$ref:\"#/definitions/Profile\"},recordsInputPath:{$ref:\"#/definitions/RecordsInputPath\"},recordsOutputPath:{$ref:\"#/definitions/RecordsOutputPath\"},recordsPath:{$ref:\"#/definitions/RecordsPath\"},resolve:{$ref:\"#/definitions/Resolve\"},resolveLoader:{$ref:\"#/definitions/ResolveLoader\"},snapshot:{$ref:\"#/definitions/SnapshotOptions\"},stats:{$ref:\"#/definitions/StatsValue\"},target:{$ref:\"#/definitions/Target\"},watch:{$ref:\"#/definitions/Watch\"},watchOptions:{$ref:\"#/definitions/WatchOptions\"}},n=Object.prototype.hasOwnProperty,r={allowCollectingMemory:{type:\"boolean\"},buildDependencies:{type:\"object\",additionalProperties:{type:\"array\",items:{type:\"string\",minLength:1}}},cacheDirectory:{type:\"string\",absolutePath:!0},cacheLocation:{type:\"string\",absolutePath:!0},compression:{enum:[!1,\"gzip\",\"brotli\"]},hashAlgorithm:{type:\"string\"},idleTimeout:{type:\"number\",minimum:0},idleTimeoutAfterLargeChanges:{type:\"number\",minimum:0},idleTimeoutForInitialStore:{type:\"number\",minimum:0},immutablePaths:{type:\"array\",items:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\",absolutePath:!0,minLength:1}]}},managedPaths:{type:\"array\",items:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\",absolutePath:!0,minLength:1}]}},maxAge:{type:\"number\",minimum:0},maxMemoryGenerations:{type:\"number\",minimum:0},memoryCacheUnaffected:{type:\"boolean\"},name:{type:\"string\"},profile:{type:\"boolean\"},store:{enum:[\"pack\"]},type:{enum:[\"filesystem\"]},version:{type:\"string\"}};function s(t,{instancePath:o=\"\",parentData:a,parentDataProperty:i,rootData:l=t}={}){let p=null,u=0;const f=u;let c=!1;const m=u;if(!1!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var y=m===u;if(c=c||y,!c){const s=u;if(u==u)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let e;if(void 0===t.type&&(e=\"type\")){const t={params:{missingProperty:e}};null===p?p=[t]:p.push(t),u++}else{const e=u;for(const e in t)if(\"cacheUnaffected\"!==e&&\"maxGenerations\"!==e&&\"type\"!==e){const t={params:{additionalProperty:e}};null===p?p=[t]:p.push(t),u++;break}if(e===u){if(void 0!==t.cacheUnaffected){const e=u;if(\"boolean\"!=typeof t.cacheUnaffected){const e={params:{type:\"boolean\"}};null===p?p=[e]:p.push(e),u++}var h=e===u}else h=!0;if(h){if(void 0!==t.maxGenerations){let e=t.maxGenerations;const n=u;if(u===n)if(\"number\"==typeof e){if(e<1||isNaN(e)){const e={params:{comparison:\">=\",limit:1}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}h=n===u}else h=!0;if(h)if(void 0!==t.type){const e=u;if(\"memory\"!==t.type){const e={params:{}};null===p?p=[e]:p.push(e),u++}h=e===u}else h=!0}}}}else{const e={params:{type:\"object\"}};null===p?p=[e]:p.push(e),u++}if(y=s===u,c=c||y,!c){const s=u;if(u==u)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.type&&(s=\"type\")){const e={params:{missingProperty:s}};null===p?p=[e]:p.push(e),u++}else{const s=u;for(const e in t)if(!n.call(r,e)){const t={params:{additionalProperty:e}};null===p?p=[t]:p.push(t),u++;break}if(s===u){if(void 0!==t.allowCollectingMemory){const e=u;if(\"boolean\"!=typeof t.allowCollectingMemory){const e={params:{type:\"boolean\"}};null===p?p=[e]:p.push(e),u++}var d=e===u}else d=!0;if(d){if(void 0!==t.buildDependencies){let e=t.buildDependencies;const n=u;if(u===n)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){let n=e[t];const r=u;if(u===r)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const r=u;if(u===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}if(r!==u)break}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}if(r!==u)break}else{const e={params:{type:\"object\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.cacheDirectory){let n=t.cacheDirectory;const r=u;if(u===r)if(\"string\"==typeof n){if(n.includes(\"!\")||!0!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}d=r===u}else d=!0;if(d){if(void 0!==t.cacheLocation){let n=t.cacheLocation;const r=u;if(u===r)if(\"string\"==typeof n){if(n.includes(\"!\")||!0!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}d=r===u}else d=!0;if(d){if(void 0!==t.compression){let e=t.compression;const n=u;if(!1!==e&&\"gzip\"!==e&&\"brotli\"!==e){const e={params:{}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.hashAlgorithm){const e=u;if(\"string\"!=typeof t.hashAlgorithm){const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d){if(void 0!==t.idleTimeout){let e=t.idleTimeout;const n=u;if(u===n)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.idleTimeoutAfterLargeChanges){let e=t.idleTimeoutAfterLargeChanges;const n=u;if(u===n)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.idleTimeoutForInitialStore){let e=t.idleTimeoutForInitialStore;const n=u;if(u===n)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.immutablePaths){let n=t.immutablePaths;const r=u;if(u===r)if(Array.isArray(n)){const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=u,o=u;let a=!1;const i=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var g=i===u;if(a=a||g,!a){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}else if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}g=n===u,a=a||g}if(a)u=o,null!==p&&(o?p.length=o:p=null);else{const e={params:{}};null===p?p=[e]:p.push(e),u++}if(s!==u)break}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}d=r===u}else d=!0;if(d){if(void 0!==t.managedPaths){let n=t.managedPaths;const r=u;if(u===r)if(Array.isArray(n)){const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=u,o=u;let a=!1;const i=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var b=i===u;if(a=a||b,!a){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}else if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}b=n===u,a=a||b}if(a)u=o,null!==p&&(o?p.length=o:p=null);else{const e={params:{}};null===p?p=[e]:p.push(e),u++}if(s!==u)break}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}d=r===u}else d=!0;if(d){if(void 0!==t.maxAge){let e=t.maxAge;const n=u;if(u===n)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.maxMemoryGenerations){let e=t.maxMemoryGenerations;const n=u;if(u===n)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}d=n===u}else d=!0;if(d){if(void 0!==t.memoryCacheUnaffected){const e=u;if(\"boolean\"!=typeof t.memoryCacheUnaffected){const e={params:{type:\"boolean\"}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d){if(void 0!==t.name){const e=u;if(\"string\"!=typeof t.name){const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d){if(void 0!==t.profile){const e=u;if(\"boolean\"!=typeof t.profile){const e={params:{type:\"boolean\"}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d){if(void 0!==t.store){const e=u;if(\"pack\"!==t.store){const e={params:{}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d){if(void 0!==t.type){const e=u;if(\"filesystem\"!==t.type){const e={params:{}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d)if(void 0!==t.version){const e=u;if(\"string\"!=typeof t.version){const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0}}}}}}}}}}}}}}}}}}}}else{const e={params:{type:\"object\"}};null===p?p=[e]:p.push(e),u++}y=s===u,c=c||y}}if(!c){const e={params:{}};return null===p?p=[e]:p.push(e),u++,s.errors=p,!1}return u=f,null!==p&&(f?p.length=f:p=null),s.errors=p,0===u}function o(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:a=e}={}){let i=null,l=0;const p=l;let u=!1;const f=l;if(!0!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var c=f===l;if(u=u||c,!u){const o=l;s(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:a})||(i=null===i?s.errors:i.concat(s.errors),l=i.length),c=o===l,u=u||c}if(!u){const e={params:{}};return null===i?i=[e]:i.push(e),l++,o.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),o.errors=i,0===l}const a={asyncChunks:{type:\"boolean\"},baseUri:{type:\"string\"},chunkLoading:{$ref:\"#/definitions/ChunkLoading\"},dependOn:{anyOf:[{type:\"array\",items:{type:\"string\",minLength:1},minItems:1,uniqueItems:!0},{type:\"string\",minLength:1}]},filename:{$ref:\"#/definitions/EntryFilename\"},import:{$ref:\"#/definitions/EntryItem\"},layer:{$ref:\"#/definitions/Layer\"},library:{$ref:\"#/definitions/LibraryOptions\"},publicPath:{$ref:\"#/definitions/PublicPath\"},runtime:{$ref:\"#/definitions/EntryRuntime\"},wasmLoading:{$ref:\"#/definitions/WasmLoading\"}};function i(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const l=a;let p=!1;const u=a;if(!1!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=u===a;if(p=p||f,!p){const t=a,n=a;let r=!1;const s=a;if(\"jsonp\"!==e&&\"import-scripts\"!==e&&\"require\"!==e&&\"async-node\"!==e&&\"import\"!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var c=s===a;if(r=r||c,!r){const t=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=t===a,r=r||c}if(r)a=n,null!==o&&(n?o.length=n:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}f=t===a,p=p||f}if(!p){const e={params:{}};return null===o?o=[e]:o.push(e),a++,i.errors=o,!1}return a=l,null!==o&&(l?o.length=l:o=null),i.errors=o,0===a}function l(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const p=i;let u=!1,f=null;const c=i,m=i;let y=!1;const h=i;if(i===h)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var d=h===i;if(y=y||d,!y){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}d=e===i,y=y||d}if(y)i=m,null!==a&&(m?a.length=m:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(c===i&&(u=!0,f=0),!u){const e={params:{passingSchemas:f}};return null===a?a=[e]:a.push(e),i++,l.errors=a,!1}return i=p,null!==a&&(p?a.length=p:a=null),l.errors=a,0===i}function p(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const u=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var f=u===a;if(l=l||f,!l){const t=a;if(a==a)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"amd\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"root\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.amd){const t=a;if(\"string\"!=typeof e.amd){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var c=t===a}else c=!0;if(c){if(void 0!==e.commonjs){const t=a;if(\"string\"!=typeof e.commonjs){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=t===a}else c=!0;if(c){if(void 0!==e.commonjs2){const t=a;if(\"string\"!=typeof e.commonjs2){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=t===a}else c=!0;if(c)if(void 0!==e.root){const t=a;if(\"string\"!=typeof e.root){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=t===a}else c=!0}}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}f=t===a,l=l||f}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,p.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),p.errors=o,0===a}function u(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(a===p)if(Array.isArray(e))if(e.length<1){const e={params:{limit:1}};null===o?o=[e]:o.push(e),a++}else{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a;if(a===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var f=p===a;if(l=l||f,!l){const t=a;if(a===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(f=t===a,l=l||f,!l){const t=a;if(a==a)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"amd\"!==t&&\"commonjs\"!==t&&\"root\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.amd){let t=e.amd;const n=a;if(a===n)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var c=n===a}else c=!0;if(c){if(void 0!==e.commonjs){let t=e.commonjs;const n=a;if(a===n)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=n===a}else c=!0;if(c)if(void 0!==e.root){let t=e.root;const n=a,r=a;let s=!1;const i=a;if(a===i)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=a;if(a===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var m=i===a;if(s=s||m,!s){const e=a;if(a===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}m=e===a,s=s||m}if(s)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a}else c=!0}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}f=t===a,l=l||f}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,u.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),u.errors=o,0===a}function f(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return f.errors=[{params:{type:\"object\"}}],!1;{let n;if(void 0===e.type&&(n=\"type\"))return f.errors=[{params:{missingProperty:n}}],!1;{const n=a;for(const t in e)if(\"auxiliaryComment\"!==t&&\"export\"!==t&&\"name\"!==t&&\"type\"!==t&&\"umdNamedDefine\"!==t)return f.errors=[{params:{additionalProperty:t}}],!1;if(n===a){if(void 0!==e.auxiliaryComment){const n=a;p(e.auxiliaryComment,{instancePath:t+\"/auxiliaryComment\",parentData:e,parentDataProperty:\"auxiliaryComment\",rootData:s})||(o=null===o?p.errors:o.concat(p.errors),a=o.length);var i=n===a}else i=!0;if(i){if(void 0!==e.export){let t=e.export;const n=a,r=a;let s=!1;const p=a;if(a===p)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=a;if(a===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var l=p===a;if(s=s||l,!s){const e=a;if(a===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}l=e===a,s=s||l}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,f.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0;if(i){if(void 0!==e.name){const n=a;u(e.name,{instancePath:t+\"/name\",parentData:e,parentDataProperty:\"name\",rootData:s})||(o=null===o?u.errors:o.concat(u.errors),a=o.length),i=n===a}else i=!0;if(i){if(void 0!==e.type){let t=e.type;const n=a,r=a;let s=!1;const l=a;if(\"var\"!==t&&\"module\"!==t&&\"assign\"!==t&&\"assign-properties\"!==t&&\"this\"!==t&&\"window\"!==t&&\"self\"!==t&&\"global\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"commonjs-module\"!==t&&\"commonjs-static\"!==t&&\"amd\"!==t&&\"amd-require\"!==t&&\"umd\"!==t&&\"umd2\"!==t&&\"jsonp\"!==t&&\"system\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var c=l===a;if(s=s||c,!s){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=e===a,s=s||c}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,f.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0;if(i)if(void 0!==e.umdNamedDefine){const t=a;if(\"boolean\"!=typeof e.umdNamedDefine)return f.errors=[{params:{type:\"boolean\"}}],!1;i=t===a}else i=!0}}}}}}}return f.errors=o,0===a}function c(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(\"auto\"!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const t=a,n=a;let r=!1;const s=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var f=s===a;if(r=r||f,!r){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=t===a,r=r||f}if(r)a=n,null!==o&&(n?o.length=n:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}u=t===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,c.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),c.errors=o,0===a}function m(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!1!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const t=a,n=a;let r=!1;const s=a;if(\"fetch-streaming\"!==e&&\"fetch\"!==e&&\"async-node\"!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=s===a;if(r=r||f,!r){const t=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}f=t===a,r=r||f}if(r)a=n,null!==o&&(n?o.length=n:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}u=t===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,m.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),m.errors=o,0===a}function y(e,{instancePath:t=\"\",parentData:r,parentDataProperty:s,rootData:o=e}={}){let p=null,u=0;if(0===u){if(!e||\"object\"!=typeof e||Array.isArray(e))return y.errors=[{params:{type:\"object\"}}],!1;{let r;if(void 0===e.import&&(r=\"import\"))return y.errors=[{params:{missingProperty:r}}],!1;{const r=u;for(const t in e)if(!n.call(a,t))return y.errors=[{params:{additionalProperty:t}}],!1;if(r===u){if(void 0!==e.asyncChunks){const t=u;if(\"boolean\"!=typeof e.asyncChunks)return y.errors=[{params:{type:\"boolean\"}}],!1;var h=t===u}else h=!0;if(h){if(void 0!==e.baseUri){const t=u;if(\"string\"!=typeof e.baseUri)return y.errors=[{params:{type:\"string\"}}],!1;h=t===u}else h=!0;if(h){if(void 0!==e.chunkLoading){const n=u;i(e.chunkLoading,{instancePath:t+\"/chunkLoading\",parentData:e,parentDataProperty:\"chunkLoading\",rootData:o})||(p=null===p?i.errors:p.concat(i.errors),u=p.length),h=n===u}else h=!0;if(h){if(void 0!==e.dependOn){let t=e.dependOn;const n=u,r=u;let s=!1;const o=u;if(u===o)if(Array.isArray(t))if(t.length<1){const e={params:{limit:1}};null===p?p=[e]:p.push(e),u++}else{var d=!0;const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=u;if(u===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}if(!(d=r===u))break}if(d){let e,n=t.length;if(n>1){const r={};for(;n--;){let s=t[n];if(\"string\"==typeof s){if(\"number\"==typeof r[s]){e=r[s];const t={params:{i:n,j:e}};null===p?p=[t]:p.push(t),u++;break}r[s]=n}}}}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}var g=o===u;if(s=s||g,!s){const e=u;if(u===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}g=e===u,s=s||g}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,y.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),h=n===u}else h=!0;if(h){if(void 0!==e.filename){const n=u;l(e.filename,{instancePath:t+\"/filename\",parentData:e,parentDataProperty:\"filename\",rootData:o})||(p=null===p?l.errors:p.concat(l.errors),u=p.length),h=n===u}else h=!0;if(h){if(void 0!==e.import){let t=e.import;const n=u,r=u;let s=!1;const o=u;if(u===o)if(Array.isArray(t))if(t.length<1){const e={params:{limit:1}};null===p?p=[e]:p.push(e),u++}else{var b=!0;const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=u;if(u===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}if(!(b=r===u))break}if(b){let e,n=t.length;if(n>1){const r={};for(;n--;){let s=t[n];if(\"string\"==typeof s){if(\"number\"==typeof r[s]){e=r[s];const t={params:{i:n,j:e}};null===p?p=[t]:p.push(t),u++;break}r[s]=n}}}}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}var v=o===u;if(s=s||v,!s){const e=u;if(u===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}v=e===u,s=s||v}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,y.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),h=n===u}else h=!0;if(h){if(void 0!==e.layer){let t=e.layer;const n=u,r=u;let s=!1;const o=u;if(null!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var D=o===u;if(s=s||D,!s){const e=u;if(u===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}D=e===u,s=s||D}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,y.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),h=n===u}else h=!0;if(h){if(void 0!==e.library){const n=u;f(e.library,{instancePath:t+\"/library\",parentData:e,parentDataProperty:\"library\",rootData:o})||(p=null===p?f.errors:p.concat(f.errors),u=p.length),h=n===u}else h=!0;if(h){if(void 0!==e.publicPath){const n=u;c(e.publicPath,{instancePath:t+\"/publicPath\",parentData:e,parentDataProperty:\"publicPath\",rootData:o})||(p=null===p?c.errors:p.concat(c.errors),u=p.length),h=n===u}else h=!0;if(h){if(void 0!==e.runtime){let t=e.runtime;const n=u,r=u;let s=!1;const o=u;if(!1!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var P=o===u;if(s=s||P,!s){const e=u;if(u===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}P=e===u,s=s||P}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,y.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),h=n===u}else h=!0;if(h)if(void 0!==e.wasmLoading){const n=u;m(e.wasmLoading,{instancePath:t+\"/wasmLoading\",parentData:e,parentDataProperty:\"wasmLoading\",rootData:o})||(p=null===p?m.errors:p.concat(m.errors),u=p.length),h=n===u}else h=!0}}}}}}}}}}}}}return y.errors=p,0===u}function h(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return h.errors=[{params:{type:\"object\"}}],!1;for(const n in e){let r=e[n];const u=a,f=a;let c=!1;const m=a,d=a;let g=!1;const b=a;if(a===b)if(Array.isArray(r))if(r.length<1){const e={params:{limit:1}};null===o?o=[e]:o.push(e),a++}else{var i=!0;const e=r.length;for(let t=0;t<e;t++){let e=r[t];const n=a;if(a===n)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(!(i=n===a))break}if(i){let e,t=r.length;if(t>1){const n={};for(;t--;){let s=r[t];if(\"string\"==typeof s){if(\"number\"==typeof n[s]){e=n[s];const r={params:{i:t,j:e}};null===o?o=[r]:o.push(r),a++;break}n[s]=t}}}}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var l=b===a;if(g=g||l,!g){const e=a;if(a===e)if(\"string\"==typeof r){if(r.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}l=e===a,g=g||l}if(g)a=d,null!==o&&(d?o.length=d:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}var p=m===a;if(c=c||p,!c){const i=a;y(r,{instancePath:t+\"/\"+n.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:e,parentDataProperty:n,rootData:s})||(o=null===o?y.errors:o.concat(y.errors),a=o.length),p=i===a,c=c||p}if(!c){const e={params:{}};return null===o?o=[e]:o.push(e),a++,h.errors=o,!1}if(a=f,null!==o&&(f?o.length=f:o=null),u!==a)break}}return h.errors=o,0===a}function d(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1,p=null;const u=a,f=a;let c=!1;const m=a;if(a===m)if(Array.isArray(e))if(e.length<1){const e={params:{limit:1}};null===o?o=[e]:o.push(e),a++}else{var y=!0;const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a;if(a===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(!(y=r===a))break}if(y){let t,n=e.length;if(n>1){const r={};for(;n--;){let s=e[n];if(\"string\"==typeof s){if(\"number\"==typeof r[s]){t=r[s];const e={params:{i:n,j:t}};null===o?o=[e]:o.push(e),a++;break}r[s]=n}}}}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var h=m===a;if(c=c||h,!c){const t=a;if(a===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}h=t===a,c=c||h}if(c)a=f,null!==o&&(f?o.length=f:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,d.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),d.errors=o,0===a}function g(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;h(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?h.errors:o.concat(h.errors),a=o.length);var u=p===a;if(l=l||u,!l){const i=a;d(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?d.errors:o.concat(d.errors),a=o.length),u=i===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,g.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),g.errors=o,0===a}function b(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const i=a;g(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?g.errors:o.concat(g.errors),a=o.length),u=i===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,b.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),b.errors=o,0===a}const v={asyncWebAssembly:{type:\"boolean\"},backCompat:{type:\"boolean\"},buildHttp:{anyOf:[{$ref:\"#/definitions/HttpUriAllowedUris\"},{$ref:\"#/definitions/HttpUriOptions\"}]},cacheUnaffected:{type:\"boolean\"},css:{anyOf:[{type:\"boolean\"},{$ref:\"#/definitions/CssExperimentOptions\"}]},futureDefaults:{type:\"boolean\"},layers:{type:\"boolean\"},lazyCompilation:{anyOf:[{type:\"boolean\"},{$ref:\"#/definitions/LazyCompilationOptions\"}]},outputModule:{type:\"boolean\"},syncWebAssembly:{type:\"boolean\"},topLevelAwait:{type:\"boolean\"}},D=new RegExp(\"^https?://\",\"u\");function P(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1,p=null;const u=a;if(a==a)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a,s=a;let i=!1;const l=a;if(!(t instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=l===a;if(i=i||f,!i){const e=a;if(a===e)if(\"string\"==typeof t){if(!D.test(t)){const e={params:{pattern:\"^https?://\"}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(f=e===a,i=i||f,!i){const e=a;if(!(t instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=e===a,i=i||f}}if(i)a=s,null!==o&&(s?o.length=s:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}if(u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,P.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),P.errors=o,0===a}function A(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;if(0===i){if(!t||\"object\"!=typeof t||Array.isArray(t))return A.errors=[{params:{type:\"object\"}}],!1;{let n;if(void 0===t.allowedUris&&(n=\"allowedUris\"))return A.errors=[{params:{missingProperty:n}}],!1;{const n=i;for(const e in t)if(\"allowedUris\"!==e&&\"cacheLocation\"!==e&&\"frozen\"!==e&&\"lockfileLocation\"!==e&&\"proxy\"!==e&&\"upgrade\"!==e)return A.errors=[{params:{additionalProperty:e}}],!1;if(n===i){if(void 0!==t.allowedUris){let e=t.allowedUris;const n=i;if(i==i){if(!Array.isArray(e))return A.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=i,s=i;let o=!1;const p=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var l=p===i;if(o=o||l,!o){const e=i;if(i===e)if(\"string\"==typeof t){if(!D.test(t)){const e={params:{pattern:\"^https?://\"}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(l=e===i,o=o||l,!o){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}l=e===i,o=o||l}}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,A.errors=a,!1}if(i=s,null!==a&&(s?a.length=s:a=null),r!==i)break}}}var p=n===i}else p=!0;if(p){if(void 0!==t.cacheLocation){let n=t.cacheLocation;const r=i,s=i;let o=!1;const l=i;if(!1!==n){const e={params:{}};null===a?a=[e]:a.push(e),i++}var u=l===i;if(o=o||u,!o){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!0!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}u=t===i,o=o||u}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,A.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),p=r===i}else p=!0;if(p){if(void 0!==t.frozen){const e=i;if(\"boolean\"!=typeof t.frozen)return A.errors=[{params:{type:\"boolean\"}}],!1;p=e===i}else p=!0;if(p){if(void 0!==t.lockfileLocation){let n=t.lockfileLocation;const r=i;if(i===r){if(\"string\"!=typeof n)return A.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!0!==e.test(n))return A.errors=[{params:{}}],!1}p=r===i}else p=!0;if(p){if(void 0!==t.proxy){const e=i;if(\"string\"!=typeof t.proxy)return A.errors=[{params:{type:\"string\"}}],!1;p=e===i}else p=!0;if(p)if(void 0!==t.upgrade){const e=i;if(\"boolean\"!=typeof t.upgrade)return A.errors=[{params:{type:\"boolean\"}}],!1;p=e===i}else p=!0}}}}}}}}return A.errors=a,0===i}function x(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return x.errors=[{params:{type:\"object\"}}],!1;{const t=a;for(const t in e)if(\"backend\"!==t&&\"entries\"!==t&&\"imports\"!==t&&\"test\"!==t)return x.errors=[{params:{additionalProperty:t}}],!1;if(t===a){if(void 0!==e.backend){let t=e.backend;const n=a,r=a;let s=!1;const m=a;if(!(t instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=m===a;if(s=s||i,!s){const e=a;if(a==a)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const e=a;for(const e in t)if(\"client\"!==e&&\"listen\"!==e&&\"protocol\"!==e&&\"server\"!==e){const t={params:{additionalProperty:e}};null===o?o=[t]:o.push(t),a++;break}if(e===a){if(void 0!==t.client){const e=a;if(\"string\"!=typeof t.client){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var l=e===a}else l=!0;if(l){if(void 0!==t.listen){let e=t.listen;const n=a,r=a;let s=!1;const i=a;if(\"number\"!=typeof e){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}var p=i===a;if(s=s||p,!s){const t=a;if(a===t)if(e&&\"object\"==typeof e&&!Array.isArray(e)){if(void 0!==e.host){const t=a;if(\"string\"!=typeof e.host){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var u=t===a}else u=!0;if(u)if(void 0!==e.port){const t=a;if(\"number\"!=typeof e.port){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}u=t===a}else u=!0}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}if(p=t===a,s=s||p,!s){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}p=t===a,s=s||p}}if(s)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}l=n===a}else l=!0;if(l){if(void 0!==t.protocol){let e=t.protocol;const n=a;if(\"http\"!==e&&\"https\"!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}l=n===a}else l=!0;if(l)if(void 0!==t.server){let e=t.server;const n=a,r=a;let s=!1;const i=a;if(a===i)if(e&&\"object\"==typeof e&&!Array.isArray(e));else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var f=i===a;if(s=s||f,!s){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=t===a,s=s||f}if(s)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}l=n===a}else l=!0}}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}i=e===a,s=s||i}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,x.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null);var c=n===a}else c=!0;if(c){if(void 0!==e.entries){const t=a;if(\"boolean\"!=typeof e.entries)return x.errors=[{params:{type:\"boolean\"}}],!1;c=t===a}else c=!0;if(c){if(void 0!==e.imports){const t=a;if(\"boolean\"!=typeof e.imports)return x.errors=[{params:{type:\"boolean\"}}],!1;c=t===a}else c=!0;if(c)if(void 0!==e.test){let t=e.test;const n=a,r=a;let s=!1;const i=a;if(!(t instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=i===a;if(s=s||m,!s){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(m=e===a,s=s||m,!s){const e=a;if(!(t instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}m=e===a,s=s||m}}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,x.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),c=n===a}else c=!0}}}}}return x.errors=o,0===a}function k(e,{instancePath:t=\"\",parentData:r,parentDataProperty:s,rootData:o=e}={}){let a=null,i=0;if(0===i){if(!e||\"object\"!=typeof e||Array.isArray(e))return k.errors=[{params:{type:\"object\"}}],!1;{const r=i;for(const t in e)if(!n.call(v,t))return k.errors=[{params:{additionalProperty:t}}],!1;if(r===i){if(void 0!==e.asyncWebAssembly){const t=i;if(\"boolean\"!=typeof e.asyncWebAssembly)return k.errors=[{params:{type:\"boolean\"}}],!1;var l=t===i}else l=!0;if(l){if(void 0!==e.backCompat){const t=i;if(\"boolean\"!=typeof e.backCompat)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.buildHttp){let n=e.buildHttp;const r=i,s=i;let u=!1;const f=i;P(n,{instancePath:t+\"/buildHttp\",parentData:e,parentDataProperty:\"buildHttp\",rootData:o})||(a=null===a?P.errors:a.concat(P.errors),i=a.length);var p=f===i;if(u=u||p,!u){const r=i;A(n,{instancePath:t+\"/buildHttp\",parentData:e,parentDataProperty:\"buildHttp\",rootData:o})||(a=null===a?A.errors:a.concat(A.errors),i=a.length),p=r===i,u=u||p}if(!u){const e={params:{}};return null===a?a=[e]:a.push(e),i++,k.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l){if(void 0!==e.cacheUnaffected){const t=i;if(\"boolean\"!=typeof e.cacheUnaffected)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.css){let t=e.css;const n=i,r=i;let s=!1;const o=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}var u=o===i;if(s=s||u,!s){const e=i;if(i==i)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const e=i;for(const e in t)if(\"exportsOnly\"!==e){const t={params:{additionalProperty:e}};null===a?a=[t]:a.push(t),i++;break}if(e===i&&void 0!==t.exportsOnly&&\"boolean\"!=typeof t.exportsOnly){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"object\"}};null===a?a=[e]:a.push(e),i++}u=e===i,s=s||u}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,k.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.futureDefaults){const t=i;if(\"boolean\"!=typeof e.futureDefaults)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.layers){const t=i;if(\"boolean\"!=typeof e.layers)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.lazyCompilation){let n=e.lazyCompilation;const r=i,s=i;let p=!1;const u=i;if(\"boolean\"!=typeof n){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}var f=u===i;if(p=p||f,!p){const r=i;x(n,{instancePath:t+\"/lazyCompilation\",parentData:e,parentDataProperty:\"lazyCompilation\",rootData:o})||(a=null===a?x.errors:a.concat(x.errors),i=a.length),f=r===i,p=p||f}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,k.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l){if(void 0!==e.outputModule){const t=i;if(\"boolean\"!=typeof e.outputModule)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.syncWebAssembly){const t=i;if(\"boolean\"!=typeof e.syncWebAssembly)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l)if(void 0!==e.topLevelAwait){const t=i;if(\"boolean\"!=typeof e.topLevelAwait)return k.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0}}}}}}}}}}}}return k.errors=a,0===i}const j={validate:S};function S(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const n=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(u=n===a,l=l||u,!l){const n=a;if(a===n)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const n=a;for(const t in e)if(\"byLayer\"!==t){let n=e[t];const r=a,s=a;let i=!1;const l=a;if(a===l)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const r=a;if(a===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var f=l===a;if(i=i||f,!i){const e=a;if(\"boolean\"!=typeof n){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}if(f=e===a,i=i||f,!i){const e=a;if(\"string\"!=typeof n){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(f=e===a,i=i||f,!i){const e=a;if(!n||\"object\"!=typeof n||Array.isArray(n)){const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}f=e===a,i=i||f}}}if(i)a=s,null!==o&&(s?o.length=s:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}if(n===a&&void 0!==e.byLayer){let n=e.byLayer;const r=a;let i=!1;const l=a;if(a===l)if(n&&\"object\"==typeof n&&!Array.isArray(n))for(const e in n){const r=a;if(j.validate(n[e],{instancePath:t+\"/byLayer/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:n,parentDataProperty:e,rootData:s})||(o=null===o?j.validate.errors:o.concat(j.validate.errors),a=o.length),r!==a)break}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var c=l===a;if(i=i||c,!i){const e=a;if(!(n instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}c=e===a,i=i||c}if(i)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}if(u=n===a,l=l||u,!l){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}u=t===a,l=l||u}}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,S.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),S.errors=o,0===a}function C(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){const n=a;if(S(e[r],{instancePath:t+\"/\"+r,parentData:e,parentDataProperty:r,rootData:s})||(o=null===o?S.errors:o.concat(S.errors),a=o.length),n!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const i=a;S(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?S.errors:o.concat(S.errors),a=o.length),u=i===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,C.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),C.errors=o,0===a}function O(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(i===u)if(Array.isArray(t)){const n=t.length;for(let r=0;r<n;r++){let n=t[r];const s=i,o=i;let l=!1,p=null;const u=i,c=i;let m=!1;const y=i;if(!(n instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=y===i;if(m=m||f,!m){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(f=t===i,m=m||f,!m){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=e===i,m=m||f}}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(u===i&&(l=!0,p=0),l)i=o,null!==a&&(o?a.length=o:a=null);else{const e={params:{passingSchemas:p}};null===a?a=[e]:a.push(e),i++}if(s!==i)break}}else{const e={params:{type:\"array\"}};null===a?a=[e]:a.push(e),i++}var c=u===i;if(p=p||c,!p){const n=i,r=i;let s=!1;const o=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var m=o===i;if(s=s||m,!s){const n=i;if(i===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(m=n===i,s=s||m,!s){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=e===i,s=s||m}}if(s)i=r,null!==a&&(r?a.length=r:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}c=n===i,p=p||c}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,O.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),O.errors=a,0===i}function F(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return F.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"appendOnly\"!==t&&\"colors\"!==t&&\"console\"!==t&&\"debug\"!==t&&\"level\"!==t&&\"stream\"!==t)return F.errors=[{params:{additionalProperty:t}}],!1;if(n===a){if(void 0!==e.appendOnly){const t=a;if(\"boolean\"!=typeof e.appendOnly)return F.errors=[{params:{type:\"boolean\"}}],!1;var i=t===a}else i=!0;if(i){if(void 0!==e.colors){const t=a;if(\"boolean\"!=typeof e.colors)return F.errors=[{params:{type:\"boolean\"}}],!1;i=t===a}else i=!0;if(i){if(void 0!==e.debug){let n=e.debug;const r=a,p=a;let u=!1;const f=a;if(\"boolean\"!=typeof n){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}var l=f===a;if(u=u||l,!u){const r=a;O(n,{instancePath:t+\"/debug\",parentData:e,parentDataProperty:\"debug\",rootData:s})||(o=null===o?O.errors:o.concat(O.errors),a=o.length),l=r===a,u=u||l}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,F.errors=o,!1}a=p,null!==o&&(p?o.length=p:o=null),i=r===a}else i=!0;if(i)if(void 0!==e.level){let t=e.level;const n=a;if(\"none\"!==t&&\"error\"!==t&&\"warn\"!==t&&\"info\"!==t&&\"log\"!==t&&\"verbose\"!==t)return F.errors=[{params:{}}],!1;i=n===a}else i=!0}}}}}return F.errors=o,0===a}const R={defaultRules:{oneOf:[{$ref:\"#/definitions/RuleSetRules\"}]},exprContextCritical:{type:\"boolean\"},exprContextRecursive:{type:\"boolean\"},exprContextRegExp:{anyOf:[{instanceof:\"RegExp\"},{type:\"boolean\"}]},exprContextRequest:{type:\"string\"},generator:{$ref:\"#/definitions/GeneratorOptionsByModuleType\"},noParse:{$ref:\"#/definitions/NoParse\"},parser:{$ref:\"#/definitions/ParserOptionsByModuleType\"},rules:{oneOf:[{$ref:\"#/definitions/RuleSetRules\"}]},strictExportPresence:{type:\"boolean\"},strictThisContextOnImports:{type:\"boolean\"},unknownContextCritical:{type:\"boolean\"},unknownContextRecursive:{type:\"boolean\"},unknownContextRegExp:{anyOf:[{instanceof:\"RegExp\"},{type:\"boolean\"}]},unknownContextRequest:{type:\"string\"},unsafeCache:{anyOf:[{type:\"boolean\"},{instanceof:\"Function\"}]},wrappedContextCritical:{type:\"boolean\"},wrappedContextRecursive:{type:\"boolean\"},wrappedContextRegExp:{instanceof:\"RegExp\"}},E={assert:{type:\"object\",additionalProperties:{$ref:\"#/definitions/RuleSetConditionOrConditions\"}},compiler:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},dependency:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},descriptionData:{type:\"object\",additionalProperties:{$ref:\"#/definitions/RuleSetConditionOrConditions\"}},enforce:{enum:[\"pre\",\"post\"]},exclude:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},generator:{type:\"object\"},include:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},issuer:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},issuerLayer:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},layer:{type:\"string\"},loader:{oneOf:[{$ref:\"#/definitions/RuleSetLoader\"}]},mimetype:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},oneOf:{type:\"array\",items:{oneOf:[{$ref:\"#/definitions/RuleSetRule\"}]}},options:{oneOf:[{$ref:\"#/definitions/RuleSetLoaderOptions\"}]},parser:{type:\"object\",additionalProperties:!0},realResource:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},resolve:{type:\"object\",oneOf:[{$ref:\"#/definitions/ResolveOptions\"}]},resource:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},resourceFragment:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},resourceQuery:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},rules:{type:\"array\",items:{oneOf:[{$ref:\"#/definitions/RuleSetRule\"}]}},scheme:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditions\"}]},sideEffects:{type:\"boolean\"},test:{oneOf:[{$ref:\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},type:{type:\"string\"},use:{oneOf:[{$ref:\"#/definitions/RuleSetUse\"}]}},$={validate:w};function z(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return z.errors=[{params:{type:\"array\"}}],!1;{const n=e.length;for(let r=0;r<n;r++){const n=a,i=a;let l=!1,p=null;const u=a;if($.validate(e[r],{instancePath:t+\"/\"+r,parentData:e,parentDataProperty:r,rootData:s})||(o=null===o?$.validate.errors:o.concat($.validate.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,z.errors=o,!1}if(a=i,null!==o&&(i?o.length=i:o=null),n!==a)break}}}return z.errors=o,0===a}function L(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return L.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"and\"!==t&&\"not\"!==t&&\"or\"!==t)return L.errors=[{params:{additionalProperty:t}}],!1;if(n===a){if(void 0!==e.and){const n=a,r=a;let l=!1,p=null;const u=a;if(z(e.and,{instancePath:t+\"/and\",parentData:e,parentDataProperty:\"and\",rootData:s})||(o=null===o?z.errors:o.concat(z.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,L.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null);var i=n===a}else i=!0;if(i){if(void 0!==e.not){const n=a,r=a;let l=!1,p=null;const u=a;if($.validate(e.not,{instancePath:t+\"/not\",parentData:e,parentDataProperty:\"not\",rootData:s})||(o=null===o?$.validate.errors:o.concat($.validate.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,L.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0;if(i)if(void 0!==e.or){const n=a,r=a;let l=!1,p=null;const u=a;if(z(e.or,{instancePath:t+\"/or\",parentData:e,parentDataProperty:\"or\",rootData:s})||(o=null===o?z.errors:o.concat(z.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,L.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0}}}}return L.errors=o,0===a}function w(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const i=a;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(u=i===a,l=l||u,!l){const i=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u=i===a,l=l||u,!l){const i=a;if(L(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?L.errors:o.concat(L.errors),a=o.length),u=i===a,l=l||u,!l){const i=a;z(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?z.errors:o.concat(z.errors),a=o.length),u=i===a,l=l||u}}}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,w.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),w.errors=o,0===a}function M(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;w(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?w.errors:o.concat(w.errors),a=o.length);var u=p===a;if(l=l||u,!l){const i=a;z(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?z.errors:o.concat(z.errors),a=o.length),u=i===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,M.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),M.errors=o,0===a}const N={validate:B};function T(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return T.errors=[{params:{type:\"array\"}}],!1;{const n=e.length;for(let r=0;r<n;r++){const n=a,i=a;let l=!1,p=null;const u=a;if(N.validate(e[r],{instancePath:t+\"/\"+r,parentData:e,parentDataProperty:r,rootData:s})||(o=null===o?N.validate.errors:o.concat(N.validate.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,T.errors=o,!1}if(a=i,null!==o&&(i?o.length=i:o=null),n!==a)break}}}return T.errors=o,0===a}function I(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return I.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"and\"!==t&&\"not\"!==t&&\"or\"!==t)return I.errors=[{params:{additionalProperty:t}}],!1;if(n===a){if(void 0!==e.and){const n=a,r=a;let l=!1,p=null;const u=a;if(T(e.and,{instancePath:t+\"/and\",parentData:e,parentDataProperty:\"and\",rootData:s})||(o=null===o?T.errors:o.concat(T.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,I.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null);var i=n===a}else i=!0;if(i){if(void 0!==e.not){const n=a,r=a;let l=!1,p=null;const u=a;if(N.validate(e.not,{instancePath:t+\"/not\",parentData:e,parentDataProperty:\"not\",rootData:s})||(o=null===o?N.validate.errors:o.concat(N.validate.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,I.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0;if(i)if(void 0!==e.or){const n=a,r=a;let l=!1,p=null;const u=a;if(T(e.or,{instancePath:t+\"/or\",parentData:e,parentDataProperty:\"or\",rootData:s})||(o=null===o?T.errors:o.concat(T.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,I.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),i=n===a}else i=!0}}}}return I.errors=o,0===a}function B(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=u===i;if(p=p||f,!p){const l=i;if(i===l)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(f=l===i,p=p||f,!p){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}if(f=e===i,p=p||f,!p){const e=i;if(I(t,{instancePath:n,parentData:r,parentDataProperty:s,rootData:o})||(a=null===a?I.errors:a.concat(I.errors),i=a.length),f=e===i,p=p||f,!p){const e=i;T(t,{instancePath:n,parentData:r,parentDataProperty:s,rootData:o})||(a=null===a?T.errors:a.concat(T.errors),i=a.length),f=e===i,p=p||f}}}}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,B.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),B.errors=a,0===i}function U(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;B(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?B.errors:o.concat(B.errors),a=o.length);var u=p===a;if(l=l||u,!l){const i=a;T(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?T.errors:o.concat(T.errors),a=o.length),u=i===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,U.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),U.errors=o,0===a}const q={alias:{$ref:\"#/definitions/ResolveAlias\"},aliasFields:{type:\"array\",items:{anyOf:[{type:\"array\",items:{type:\"string\",minLength:1}},{type:\"string\",minLength:1}]}},byDependency:{type:\"object\",additionalProperties:{oneOf:[{$ref:\"#/definitions/ResolveOptions\"}]}},cache:{type:\"boolean\"},cachePredicate:{instanceof:\"Function\"},cacheWithContext:{type:\"boolean\"},conditionNames:{type:\"array\",items:{type:\"string\"}},descriptionFiles:{type:\"array\",items:{type:\"string\",minLength:1}},enforceExtension:{type:\"boolean\"},exportsFields:{type:\"array\",items:{type:\"string\"}},extensionAlias:{type:\"object\",additionalProperties:{anyOf:[{type:\"array\",items:{type:\"string\",minLength:1}},{type:\"string\",minLength:1}]}},extensions:{type:\"array\",items:{type:\"string\"}},fallback:{oneOf:[{$ref:\"#/definitions/ResolveAlias\"}]},fileSystem:{},fullySpecified:{type:\"boolean\"},importsFields:{type:\"array\",items:{type:\"string\"}},mainFields:{type:\"array\",items:{anyOf:[{type:\"array\",items:{type:\"string\",minLength:1}},{type:\"string\",minLength:1}]}},mainFiles:{type:\"array\",items:{type:\"string\",minLength:1}},modules:{type:\"array\",items:{type:\"string\",minLength:1}},plugins:{type:\"array\",items:{anyOf:[{enum:[\"...\"]},{$ref:\"#/definitions/ResolvePluginInstance\"}]}},preferAbsolute:{type:\"boolean\"},preferRelative:{type:\"boolean\"},resolver:{},restrictions:{type:\"array\",items:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\",absolutePath:!0,minLength:1}]}},roots:{type:\"array\",items:{type:\"string\"}},symlinks:{type:\"boolean\"},unsafeCache:{anyOf:[{type:\"boolean\"},{type:\"object\",additionalProperties:!0}]},useSyncFileSystemCalls:{type:\"boolean\"}},G={validate:W};function W(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return W.errors=[{params:{type:\"object\"}}],!1;{const s=l;for(const e in t)if(!n.call(q,e))return W.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==t.alias){let e=t.alias;const n=l,r=l;let s=!1;const o=l;if(l===o)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let e;if(void 0===t.alias&&(e=\"alias\")||void 0===t.name&&(e=\"name\")){const t={params:{missingProperty:e}};null===i?i=[t]:i.push(t),l++}else{const e=l;for(const e in t)if(\"alias\"!==e&&\"name\"!==e&&\"onlyModule\"!==e){const t={params:{additionalProperty:e}};null===i?i=[t]:i.push(t),l++;break}if(e===l){if(void 0!==t.alias){let e=t.alias;const n=l,r=l;let s=!1;const o=l;if(l===o)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var p=o===l;if(s=s||p,!s){const t=l;if(!1!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(p=t===l,s=s||p,!s){const t=l;if(l===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}p=t===l,s=s||p}}if(s)l=r,null!==i&&(r?i.length=r:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}var u=n===l}else u=!0;if(u){if(void 0!==t.name){const e=l;if(\"string\"!=typeof t.name){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}u=e===l}else u=!0;if(u)if(void 0!==t.onlyModule){const e=l;if(\"boolean\"!=typeof t.onlyModule){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}u=e===l}else u=!0}}}}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var f=o===l;if(s=s||f,!s){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){let n=e[t];const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const r=l;if(l===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var c=a===l;if(o=o||c,!o){const e=l;if(!1!==n){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(c=e===l,o=o||c,!o){const e=l;if(l===e)if(\"string\"==typeof n){if(n.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}c=e===l,o=o||c}}if(o)l=s,null!==i&&(s?i.length=s:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}f=t===l,s=s||f}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null);var m=n===l}else m=!0;if(m){if(void 0!==t.aliasFields){let e=t.aliasFields;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=l;if(l===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var y=a===l;if(o=o||y,!o){const e=l;if(l===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}y=e===l,o=o||y}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=s,null!==i&&(s?i.length=s:i=null),r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.byDependency){let e=t.byDependency;const n=l;if(l===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return W.errors=[{params:{type:\"object\"}}],!1;for(const t in e){const n=l,s=l;let o=!1,p=null;const u=l;if(G.validate(e[t],{instancePath:r+\"/byDependency/\"+t.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:e,parentDataProperty:t,rootData:a})||(i=null===i?G.validate.errors:i.concat(G.validate.errors),l=i.length),u===l&&(o=!0,p=0),!o){const e={params:{passingSchemas:p}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=s,null!==i&&(s?i.length=s:i=null),n!==l)break}}m=n===l}else m=!0;if(m){if(void 0!==t.cache){const e=l;if(\"boolean\"!=typeof t.cache)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.cachePredicate){const e=l;if(!(t.cachePredicate instanceof Function))return W.errors=[{params:{}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.cacheWithContext){const e=l;if(\"boolean\"!=typeof t.cacheWithContext)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.conditionNames){let e=t.conditionNames;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return W.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.descriptionFiles){let e=t.descriptionFiles;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r){if(\"string\"!=typeof t)return W.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return W.errors=[{params:{}}],!1}if(r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.enforceExtension){const e=l;if(\"boolean\"!=typeof t.enforceExtension)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.exportsFields){let e=t.exportsFields;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return W.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.extensionAlias){let e=t.extensionAlias;const n=l;if(l===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return W.errors=[{params:{type:\"object\"}}],!1;for(const t in e){let n=e[t];const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const r=l;if(l===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var h=a===l;if(o=o||h,!o){const e=l;if(l===e)if(\"string\"==typeof n){if(n.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}h=e===l,o=o||h}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=s,null!==i&&(s?i.length=s:i=null),r!==l)break}}m=n===l}else m=!0;if(m){if(void 0!==t.extensions){let e=t.extensions;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return W.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.fallback){let e=t.fallback;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let e;if(void 0===t.alias&&(e=\"alias\")||void 0===t.name&&(e=\"name\")){const t={params:{missingProperty:e}};null===i?i=[t]:i.push(t),l++}else{const e=l;for(const e in t)if(\"alias\"!==e&&\"name\"!==e&&\"onlyModule\"!==e){const t={params:{additionalProperty:e}};null===i?i=[t]:i.push(t),l++;break}if(e===l){if(void 0!==t.alias){let e=t.alias;const n=l,r=l;let s=!1;const o=l;if(l===o)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var d=o===l;if(s=s||d,!s){const t=l;if(!1!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(d=t===l,s=s||d,!s){const t=l;if(l===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}d=t===l,s=s||d}}if(s)l=r,null!==i&&(r?i.length=r:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}var g=n===l}else g=!0;if(g){if(void 0!==t.name){const e=l;if(\"string\"!=typeof t.name){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}g=e===l}else g=!0;if(g)if(void 0!==t.onlyModule){const e=l;if(\"boolean\"!=typeof t.onlyModule){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}g=e===l}else g=!0}}}}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var b=f===l;if(u=u||b,!u){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){let n=e[t];const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(n)){const e=n.length;for(let t=0;t<e;t++){let e=n[t];const r=l;if(l===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var v=a===l;if(o=o||v,!o){const e=l;if(!1!==n){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(v=e===l,o=o||v,!o){const e=l;if(l===e)if(\"string\"==typeof n){if(n.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}v=e===l,o=o||v}}if(o)l=s,null!==i&&(s?i.length=s:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}b=t===l,u=u||b}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),m=n===l}else m=!0;if(m){if(void 0!==t.fullySpecified){const e=l;if(\"boolean\"!=typeof t.fullySpecified)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.importsFields){let e=t.importsFields;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return W.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.mainFields){let e=t.mainFields;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=l;if(l===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(r!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var D=a===l;if(o=o||D,!o){const e=l;if(l===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}D=e===l,o=o||D}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=s,null!==i&&(s?i.length=s:i=null),r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.mainFiles){let e=t.mainFiles;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r){if(\"string\"!=typeof t)return W.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return W.errors=[{params:{}}],!1}if(r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.modules){let e=t.modules;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l;if(l===r){if(\"string\"!=typeof t)return W.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return W.errors=[{params:{}}],!1}if(r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.plugins){let e=t.plugins;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=l,s=l;let o=!1;const a=l;if(\"...\"!==t){const e={params:{}};null===i?i=[e]:i.push(e),l++}var P=a===l;if(o=o||P,!o){const e=l;if(l==l)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let e;if(void 0===t.apply&&(e=\"apply\")){const t={params:{missingProperty:e}};null===i?i=[t]:i.push(t),l++}else if(void 0!==t.apply&&!(t.apply instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}P=e===l,o=o||P}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=s,null!==i&&(s?i.length=s:i=null),r!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.preferAbsolute){const e=l;if(\"boolean\"!=typeof t.preferAbsolute)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.preferRelative){const e=l;if(\"boolean\"!=typeof t.preferRelative)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.restrictions){let n=t.restrictions;const r=l;if(l===r){if(!Array.isArray(n))return W.errors=[{params:{type:\"array\"}}],!1;{const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=l,o=l;let a=!1;const p=l;if(!(t instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var A=p===l;if(a=a||A,!a){const n=l;if(l===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===i?i=[e]:i.push(e),l++}else if(t.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}A=n===l,a=a||A}if(!a){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}if(l=o,null!==i&&(o?i.length=o:i=null),s!==l)break}}}m=r===l}else m=!0;if(m){if(void 0!==t.roots){let e=t.roots;const n=l;if(l===n){if(!Array.isArray(e))return W.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return W.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}m=n===l}else m=!0;if(m){if(void 0!==t.symlinks){const e=l;if(\"boolean\"!=typeof t.symlinks)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0;if(m){if(void 0!==t.unsafeCache){let e=t.unsafeCache;const n=l,r=l;let s=!1;const o=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var x=o===l;if(s=s||x,!s){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e));else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}x=t===l,s=s||x}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,W.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),m=n===l}else m=!0;if(m)if(void 0!==t.useSyncFileSystemCalls){const e=l;if(\"boolean\"!=typeof t.useSyncFileSystemCalls)return W.errors=[{params:{type:\"boolean\"}}],!1;m=e===l}else m=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}return W.errors=i,0===l}function H(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(a===p)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"ident\"!==t&&\"loader\"!==t&&\"options\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.ident){const t=a;if(\"string\"!=typeof e.ident){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var u=t===a}else u=!0;if(u){if(void 0!==e.loader){let t=e.loader;const n=a,r=a;let s=!1,i=null;const l=a;if(a==a)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(l===a&&(s=!0,i=0),s)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}u=n===a}else u=!0;if(u)if(void 0!==e.options){let t=e.options;const n=a,r=a;let s=!1,i=null;const l=a,p=a;let c=!1;const m=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(!t||\"object\"!=typeof t||Array.isArray(t)){const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(l===a&&(s=!0,i=0),s)a=r,null!==o&&(r?o.length=r:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}u=n===a}else u=!0}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(l=l||c,!l){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}if(c=t===a,l=l||c,!l){const t=a;if(a==a)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}c=t===a,l=l||c}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,H.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),H.errors=o,0===a}function _(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){const n=a,i=a;let l=!1,p=null;const u=a;if(H(e[r],{instancePath:t+\"/\"+r,parentData:e,parentDataProperty:r,rootData:s})||(o=null===o?H.errors:o.concat(H.errors),a=o.length),u===a&&(l=!0,p=0),l)a=i,null!==o&&(i?o.length=i:o=null);else{const e={params:{passingSchemas:p}};null===o?o=[e]:o.push(e),a++}if(n!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const i=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u=i===a,l=l||u,!l){const i=a;H(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?H.errors:o.concat(H.errors),a=o.length),u=i===a,l=l||u}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,_.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),_.errors=o,0===a}const Q={validate:J};function J(e,{instancePath:t=\"\",parentData:r,parentDataProperty:s,rootData:o=e}={}){let a=null,i=0;if(0===i){if(!e||\"object\"!=typeof e||Array.isArray(e))return J.errors=[{params:{type:\"object\"}}],!1;{const r=i;for(const t in e)if(!n.call(E,t))return J.errors=[{params:{additionalProperty:t}}],!1;if(r===i){if(void 0!==e.assert){let n=e.assert;const r=i;if(i===r){if(!n||\"object\"!=typeof n||Array.isArray(n))return J.errors=[{params:{type:\"object\"}}],!1;for(const e in n){const r=i;if(M(n[e],{instancePath:t+\"/assert/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:n,parentDataProperty:e,rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),r!==i)break}}var l=r===i}else l=!0;if(l){if(void 0!==e.compiler){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.compiler,{instancePath:t+\"/compiler\",parentData:e,parentDataProperty:\"compiler\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.dependency){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.dependency,{instancePath:t+\"/dependency\",parentData:e,parentDataProperty:\"dependency\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.descriptionData){let n=e.descriptionData;const r=i;if(i===r){if(!n||\"object\"!=typeof n||Array.isArray(n))return J.errors=[{params:{type:\"object\"}}],!1;for(const e in n){const r=i;if(M(n[e],{instancePath:t+\"/descriptionData/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:n,parentDataProperty:e,rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),r!==i)break}}l=r===i}else l=!0;if(l){if(void 0!==e.enforce){let t=e.enforce;const n=i;if(\"pre\"!==t&&\"post\"!==t)return J.errors=[{params:{}}],!1;l=n===i}else l=!0;if(l){if(void 0!==e.exclude){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.exclude,{instancePath:t+\"/exclude\",parentData:e,parentDataProperty:\"exclude\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.generator){let t=e.generator;const n=i;if(!t||\"object\"!=typeof t||Array.isArray(t))return J.errors=[{params:{type:\"object\"}}],!1;l=n===i}else l=!0;if(l){if(void 0!==e.include){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.include,{instancePath:t+\"/include\",parentData:e,parentDataProperty:\"include\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.issuer){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.issuer,{instancePath:t+\"/issuer\",parentData:e,parentDataProperty:\"issuer\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.issuerLayer){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.issuerLayer,{instancePath:t+\"/issuerLayer\",parentData:e,parentDataProperty:\"issuerLayer\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.layer){const t=i;if(\"string\"!=typeof e.layer)return J.errors=[{params:{type:\"string\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.loader){let t=e.loader;const n=i,r=i;let s=!1,o=null;const p=i;if(i==i)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(p===i&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.mimetype){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.mimetype,{instancePath:t+\"/mimetype\",parentData:e,parentDataProperty:\"mimetype\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.oneOf){let n=e.oneOf;const r=i;if(i===r){if(!Array.isArray(n))return J.errors=[{params:{type:\"array\"}}],!1;{const e=n.length;for(let r=0;r<e;r++){const e=i,s=i;let l=!1,p=null;const u=i;if(Q.validate(n[r],{instancePath:t+\"/oneOf/\"+r,parentData:n,parentDataProperty:r,rootData:o})||(a=null===a?Q.validate.errors:a.concat(Q.validate.errors),i=a.length),u===i&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}if(i=s,null!==a&&(s?a.length=s:a=null),e!==i)break}}}l=r===i}else l=!0;if(l){if(void 0!==e.options){let t=e.options;const n=i,r=i;let s=!1,o=null;const u=i,f=i;let c=!1;const m=i;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var p=m===i;if(c=c||p,!c){const e=i;if(!t||\"object\"!=typeof t||Array.isArray(t)){const e={params:{type:\"object\"}};null===a?a=[e]:a.push(e),i++}p=e===i,c=c||p}if(c)i=f,null!==a&&(f?a.length=f:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(u===i&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.parser){let t=e.parser;const n=i;if(i===n&&(!t||\"object\"!=typeof t||Array.isArray(t)))return J.errors=[{params:{type:\"object\"}}],!1;l=n===i}else l=!0;if(l){if(void 0!==e.realResource){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.realResource,{instancePath:t+\"/realResource\",parentData:e,parentDataProperty:\"realResource\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.resolve){let n=e.resolve;const r=i;if(!n||\"object\"!=typeof n||Array.isArray(n))return J.errors=[{params:{type:\"object\"}}],!1;const s=i;let p=!1,u=null;const f=i;if(W(n,{instancePath:t+\"/resolve\",parentData:e,parentDataProperty:\"resolve\",rootData:o})||(a=null===a?W.errors:a.concat(W.errors),i=a.length),f===i&&(p=!0,u=0),!p){const e={params:{passingSchemas:u}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l){if(void 0!==e.resource){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.resource,{instancePath:t+\"/resource\",parentData:e,parentDataProperty:\"resource\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.resourceFragment){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.resourceFragment,{instancePath:t+\"/resourceFragment\",parentData:e,parentDataProperty:\"resourceFragment\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.resourceQuery){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.resourceQuery,{instancePath:t+\"/resourceQuery\",parentData:e,parentDataProperty:\"resourceQuery\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.rules){let n=e.rules;const r=i;if(i===r){if(!Array.isArray(n))return J.errors=[{params:{type:\"array\"}}],!1;{const e=n.length;for(let r=0;r<e;r++){const e=i,s=i;let l=!1,p=null;const u=i;if(Q.validate(n[r],{instancePath:t+\"/rules/\"+r,parentData:n,parentDataProperty:r,rootData:o})||(a=null===a?Q.validate.errors:a.concat(Q.validate.errors),i=a.length),u===i&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}if(i=s,null!==a&&(s?a.length=s:a=null),e!==i)break}}}l=r===i}else l=!0;if(l){if(void 0!==e.scheme){const n=i,r=i;let s=!1,p=null;const u=i;if(M(e.scheme,{instancePath:t+\"/scheme\",parentData:e,parentDataProperty:\"scheme\",rootData:o})||(a=null===a?M.errors:a.concat(M.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.sideEffects){const t=i;if(\"boolean\"!=typeof e.sideEffects)return J.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.test){const n=i,r=i;let s=!1,p=null;const u=i;if(U(e.test,{instancePath:t+\"/test\",parentData:e,parentDataProperty:\"test\",rootData:o})||(a=null===a?U.errors:a.concat(U.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.type){const t=i;if(\"string\"!=typeof e.type)return J.errors=[{params:{type:\"string\"}}],!1;l=t===i}else l=!0;if(l)if(void 0!==e.use){const n=i,r=i;let s=!1,p=null;const u=i;if(_(e.use,{instancePath:t+\"/use\",parentData:e,parentDataProperty:\"use\",rootData:o})||(a=null===a?_.errors:a.concat(_.errors),i=a.length),u===i&&(s=!0,p=0),!s){const e={params:{passingSchemas:p}};return null===a?a=[e]:a.push(e),i++,J.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}return J.errors=a,0===i}function V(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return V.errors=[{params:{type:\"array\"}}],!1;{const n=e.length;for(let r=0;r<n;r++){let n=e[r];const l=a,p=a;let u=!1;const f=a;if(\"...\"!==n){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=f===a;if(u=u||i,!u){const l=a;J(n,{instancePath:t+\"/\"+r,parentData:e,parentDataProperty:r,rootData:s})||(o=null===o?J.errors:o.concat(J.errors),a=o.length),i=l===a,u=u||i}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,V.errors=o,!1}if(a=p,null!==o&&(p?o.length=p:o=null),l!==a)break}}}return V.errors=o,0===a}function Z(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(a==a)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"encoding\"!==t&&\"mimetype\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.encoding){let t=e.encoding;const n=a;if(!1!==t&&\"base64\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=n===a}else u=!0;if(u)if(void 0!==e.mimetype){const t=a;if(\"string\"!=typeof e.mimetype){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}u=t===a}else u=!0}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var f=p===a;if(l=l||f,!l){const t=a;if(!(e instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=t===a,l=l||f}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,Z.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),Z.errors=o,0===a}function K(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;if(0===i){if(!t||\"object\"!=typeof t||Array.isArray(t))return K.errors=[{params:{type:\"object\"}}],!1;{const r=i;for(const e in t)if(\"dataUrl\"!==e&&\"emit\"!==e&&\"filename\"!==e&&\"outputPath\"!==e&&\"publicPath\"!==e)return K.errors=[{params:{additionalProperty:e}}],!1;if(r===i){if(void 0!==t.dataUrl){const e=i;Z(t.dataUrl,{instancePath:n+\"/dataUrl\",parentData:t,parentDataProperty:\"dataUrl\",rootData:o})||(a=null===a?Z.errors:a.concat(Z.errors),i=a.length);var l=e===i}else l=!0;if(l){if(void 0!==t.emit){const e=i;if(\"boolean\"!=typeof t.emit)return K.errors=[{params:{type:\"boolean\"}}],!1;l=e===i}else l=!0;if(l){if(void 0!==t.filename){let n=t.filename;const r=i,s=i;let o=!1;const u=i;if(i===u)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(n.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var p=u===i;if(o=o||p,!o){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}p=e===i,o=o||p}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,K.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l){if(void 0!==t.outputPath){let n=t.outputPath;const r=i,s=i;let o=!1;const p=i;if(i===p)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var u=p===i;if(o=o||u,!o){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}u=e===i,o=o||u}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,K.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l)if(void 0!==t.publicPath){let e=t.publicPath;const n=i,r=i;let s=!1;const o=i;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var f=o===i;if(s=s||f,!s){const t=i;if(!(e instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=t===i,s=s||f}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,K.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0}}}}}}return K.errors=a,0===i}function X(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return X.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"dataUrl\"!==t)return X.errors=[{params:{additionalProperty:t}}],!1;n===a&&void 0!==e.dataUrl&&(Z(e.dataUrl,{instancePath:t+\"/dataUrl\",parentData:e,parentDataProperty:\"dataUrl\",rootData:s})||(o=null===o?Z.errors:o.concat(Z.errors),a=o.length))}}return X.errors=o,0===a}function Y(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;if(0===i){if(!t||\"object\"!=typeof t||Array.isArray(t))return Y.errors=[{params:{type:\"object\"}}],!1;{const n=i;for(const e in t)if(\"emit\"!==e&&\"filename\"!==e&&\"outputPath\"!==e&&\"publicPath\"!==e)return Y.errors=[{params:{additionalProperty:e}}],!1;if(n===i){if(void 0!==t.emit){const e=i;if(\"boolean\"!=typeof t.emit)return Y.errors=[{params:{type:\"boolean\"}}],!1;var l=e===i}else l=!0;if(l){if(void 0!==t.filename){let n=t.filename;const r=i,s=i;let o=!1;const u=i;if(i===u)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(n.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var p=u===i;if(o=o||p,!o){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}p=e===i,o=o||p}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Y.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l){if(void 0!==t.outputPath){let n=t.outputPath;const r=i,s=i;let o=!1;const p=i;if(i===p)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var u=p===i;if(o=o||u,!o){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}u=e===i,o=o||u}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Y.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l)if(void 0!==t.publicPath){let e=t.publicPath;const n=i,r=i;let s=!1;const o=i;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var f=o===i;if(s=s||f,!s){const t=i;if(!(e instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=t===i,s=s||f}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Y.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0}}}}}return Y.errors=a,0===i}function ee(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return ee.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"asset\"!==t&&\"asset/inline\"!==t&&\"asset/resource\"!==t&&\"javascript\"!==t&&\"javascript/auto\"!==t&&\"javascript/dynamic\"!==t&&\"javascript/esm\"!==t){let n=e[t];const r=a;if(a===r&&(!n||\"object\"!=typeof n||Array.isArray(n)))return ee.errors=[{params:{type:\"object\"}}],!1;if(r!==a)break}if(n===a){if(void 0!==e.asset){const n=a;K(e.asset,{instancePath:t+\"/asset\",parentData:e,parentDataProperty:\"asset\",rootData:s})||(o=null===o?K.errors:o.concat(K.errors),a=o.length);var i=n===a}else i=!0;if(i){if(void 0!==e[\"asset/inline\"]){const n=a;X(e[\"asset/inline\"],{instancePath:t+\"/asset~1inline\",parentData:e,parentDataProperty:\"asset/inline\",rootData:s})||(o=null===o?X.errors:o.concat(X.errors),a=o.length),i=n===a}else i=!0;if(i){if(void 0!==e[\"asset/resource\"]){const n=a;Y(e[\"asset/resource\"],{instancePath:t+\"/asset~1resource\",parentData:e,parentDataProperty:\"asset/resource\",rootData:s})||(o=null===o?Y.errors:o.concat(Y.errors),a=o.length),i=n===a}else i=!0;if(i){if(void 0!==e.javascript){let t=e.javascript;const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return ee.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return ee.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i){if(void 0!==e[\"javascript/auto\"]){let t=e[\"javascript/auto\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return ee.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return ee.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i){if(void 0!==e[\"javascript/dynamic\"]){let t=e[\"javascript/dynamic\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return ee.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return ee.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i)if(void 0!==e[\"javascript/esm\"]){let t=e[\"javascript/esm\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return ee.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return ee.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0}}}}}}}}return ee.errors=o,0===a}function te(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return te.errors=[{params:{type:\"object\"}}],!1;{const t=a;for(const t in e)if(\"dataUrlCondition\"!==t)return te.errors=[{params:{additionalProperty:t}}],!1;if(t===a&&void 0!==e.dataUrlCondition){let t=e.dataUrlCondition;const n=a;let r=!1;const s=a;if(a==a)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const e=a;for(const e in t)if(\"maxSize\"!==e){const t={params:{additionalProperty:e}};null===o?o=[t]:o.push(t),a++;break}if(e===a&&void 0!==t.maxSize&&\"number\"!=typeof t.maxSize){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var i=s===a;if(r=r||i,!r){const e=a;if(!(t instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}i=e===a,r=r||i}if(!r){const e={params:{}};return null===o?o=[e]:o.push(e),a++,te.errors=o,!1}a=n,null!==o&&(n?o.length=n:o=null)}}}return te.errors=o,0===a}function ne(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!1!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const t=a;if(a==a)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"__dirname\"!==t&&\"__filename\"!==t&&\"global\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.__dirname){let t=e.__dirname;const n=a;if(!1!==t&&!0!==t&&\"warn-mock\"!==t&&\"mock\"!==t&&\"eval-only\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=n===a}else f=!0;if(f){if(void 0!==e.__filename){let t=e.__filename;const n=a;if(!1!==t&&!0!==t&&\"warn-mock\"!==t&&\"mock\"!==t&&\"eval-only\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=n===a}else f=!0;if(f)if(void 0!==e.global){let t=e.global;const n=a;if(!1!==t&&!0!==t&&\"warn\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=n===a}else f=!0}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}u=t===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,ne.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),ne.errors=o,0===a}function re(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return re.errors=[{params:{type:\"object\"}}],!1;if(void 0!==e.amd){let t=e.amd;const n=a,r=a;let s=!1;const p=a;if(!1!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=p===a;if(s=s||i,!s){const e=a;if(!t||\"object\"!=typeof t||Array.isArray(t)){const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}i=e===a,s=s||i}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null);var l=n===a}else l=!0;if(l){if(void 0!==e.browserify){const t=a;if(\"boolean\"!=typeof e.browserify)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.commonjs){const t=a;if(\"boolean\"!=typeof e.commonjs)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.commonjsMagicComments){const t=a;if(\"boolean\"!=typeof e.commonjsMagicComments)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.createRequire){let t=e.createRequire;const n=a,r=a;let s=!1;const i=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}var p=i===a;if(s=s||p,!s){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}p=e===a,s=s||p}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.dynamicImportMode){let t=e.dynamicImportMode;const n=a;if(\"eager\"!==t&&\"weak\"!==t&&\"lazy\"!==t&&\"lazy-once\"!==t)return re.errors=[{params:{}}],!1;l=n===a}else l=!0;if(l){if(void 0!==e.dynamicImportPrefetch){let t=e.dynamicImportPrefetch;const n=a,r=a;let s=!1;const i=a;if(\"number\"!=typeof t){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}var u=i===a;if(s=s||u,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}u=e===a,s=s||u}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.dynamicImportPreload){let t=e.dynamicImportPreload;const n=a,r=a;let s=!1;const i=a;if(\"number\"!=typeof t){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}var f=i===a;if(s=s||f,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}f=e===a,s=s||f}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.exportsPresence){let t=e.exportsPresence;const n=a;if(\"error\"!==t&&\"warn\"!==t&&\"auto\"!==t&&!1!==t)return re.errors=[{params:{}}],!1;l=n===a}else l=!0;if(l){if(void 0!==e.exprContextCritical){const t=a;if(\"boolean\"!=typeof e.exprContextCritical)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.exprContextRecursive){const t=a;if(\"boolean\"!=typeof e.exprContextRecursive)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.exprContextRegExp){let t=e.exprContextRegExp;const n=a,r=a;let s=!1;const i=a;if(!(t instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var c=i===a;if(s=s||c,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}c=e===a,s=s||c}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.exprContextRequest){const t=a;if(\"string\"!=typeof e.exprContextRequest)return re.errors=[{params:{type:\"string\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.harmony){const t=a;if(\"boolean\"!=typeof e.harmony)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.import){const t=a;if(\"boolean\"!=typeof e.import)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.importExportsPresence){let t=e.importExportsPresence;const n=a;if(\"error\"!==t&&\"warn\"!==t&&\"auto\"!==t&&!1!==t)return re.errors=[{params:{}}],!1;l=n===a}else l=!0;if(l){if(void 0!==e.importMeta){const t=a;if(\"boolean\"!=typeof e.importMeta)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.importMetaContext){const t=a;if(\"boolean\"!=typeof e.importMetaContext)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.node){const n=a;ne(e.node,{instancePath:t+\"/node\",parentData:e,parentDataProperty:\"node\",rootData:s})||(o=null===o?ne.errors:o.concat(ne.errors),a=o.length),l=n===a}else l=!0;if(l){if(void 0!==e.reexportExportsPresence){let t=e.reexportExportsPresence;const n=a;if(\"error\"!==t&&\"warn\"!==t&&\"auto\"!==t&&!1!==t)return re.errors=[{params:{}}],!1;l=n===a}else l=!0;if(l){if(void 0!==e.requireContext){const t=a;if(\"boolean\"!=typeof e.requireContext)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.requireEnsure){const t=a;if(\"boolean\"!=typeof e.requireEnsure)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.requireInclude){const t=a;if(\"boolean\"!=typeof e.requireInclude)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.requireJs){const t=a;if(\"boolean\"!=typeof e.requireJs)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.strictExportPresence){const t=a;if(\"boolean\"!=typeof e.strictExportPresence)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.strictThisContextOnImports){const t=a;if(\"boolean\"!=typeof e.strictThisContextOnImports)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.system){const t=a;if(\"boolean\"!=typeof e.system)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.unknownContextCritical){const t=a;if(\"boolean\"!=typeof e.unknownContextCritical)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.unknownContextRecursive){const t=a;if(\"boolean\"!=typeof e.unknownContextRecursive)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.unknownContextRegExp){let t=e.unknownContextRegExp;const n=a,r=a;let s=!1;const i=a;if(!(t instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=i===a;if(s=s||m,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}m=e===a,s=s||m}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.unknownContextRequest){const t=a;if(\"string\"!=typeof e.unknownContextRequest)return re.errors=[{params:{type:\"string\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.url){let t=e.url;const n=a,r=a;let s=!1;const i=a;if(\"relative\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var y=i===a;if(s=s||y,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}y=e===a,s=s||y}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.worker){let t=e.worker;const n=a,r=a;let s=!1;const i=a;if(a===i)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=a;if(a===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}if(r!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var h=i===a;if(s=s||h,!s){const e=a;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}h=e===a,s=s||h}if(!s){const e={params:{}};return null===o?o=[e]:o.push(e),a++,re.errors=o,!1}a=r,null!==o&&(r?o.length=r:o=null),l=n===a}else l=!0;if(l){if(void 0!==e.wrappedContextCritical){const t=a;if(\"boolean\"!=typeof e.wrappedContextCritical)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l){if(void 0!==e.wrappedContextRecursive){const t=a;if(\"boolean\"!=typeof e.wrappedContextRecursive)return re.errors=[{params:{type:\"boolean\"}}],!1;l=t===a}else l=!0;if(l)if(void 0!==e.wrappedContextRegExp){const t=a;if(!(e.wrappedContextRegExp instanceof RegExp))return re.errors=[{params:{}}],!1;l=t===a}else l=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return re.errors=o,0===a}function se(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!e||\"object\"!=typeof e||Array.isArray(e))return se.errors=[{params:{type:\"object\"}}],!1;{const n=a;for(const t in e)if(\"asset\"!==t&&\"asset/inline\"!==t&&\"asset/resource\"!==t&&\"asset/source\"!==t&&\"javascript\"!==t&&\"javascript/auto\"!==t&&\"javascript/dynamic\"!==t&&\"javascript/esm\"!==t){let n=e[t];const r=a;if(a===r&&(!n||\"object\"!=typeof n||Array.isArray(n)))return se.errors=[{params:{type:\"object\"}}],!1;if(r!==a)break}if(n===a){if(void 0!==e.asset){const n=a;te(e.asset,{instancePath:t+\"/asset\",parentData:e,parentDataProperty:\"asset\",rootData:s})||(o=null===o?te.errors:o.concat(te.errors),a=o.length);var i=n===a}else i=!0;if(i){if(void 0!==e[\"asset/inline\"]){let t=e[\"asset/inline\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return se.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return se.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i){if(void 0!==e[\"asset/resource\"]){let t=e[\"asset/resource\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return se.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return se.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i){if(void 0!==e[\"asset/source\"]){let t=e[\"asset/source\"];const n=a;if(a==a){if(!t||\"object\"!=typeof t||Array.isArray(t))return se.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return se.errors=[{params:{additionalProperty:e}}],!1}i=n===a}else i=!0;if(i){if(void 0!==e.javascript){const n=a;re(e.javascript,{instancePath:t+\"/javascript\",parentData:e,parentDataProperty:\"javascript\",rootData:s})||(o=null===o?re.errors:o.concat(re.errors),a=o.length),i=n===a}else i=!0;if(i){if(void 0!==e[\"javascript/auto\"]){const n=a;re(e[\"javascript/auto\"],{instancePath:t+\"/javascript~1auto\",parentData:e,parentDataProperty:\"javascript/auto\",rootData:s})||(o=null===o?re.errors:o.concat(re.errors),a=o.length),i=n===a}else i=!0;if(i){if(void 0!==e[\"javascript/dynamic\"]){const n=a;re(e[\"javascript/dynamic\"],{instancePath:t+\"/javascript~1dynamic\",parentData:e,parentDataProperty:\"javascript/dynamic\",rootData:s})||(o=null===o?re.errors:o.concat(re.errors),a=o.length),i=n===a}else i=!0;if(i)if(void 0!==e[\"javascript/esm\"]){const n=a;re(e[\"javascript/esm\"],{instancePath:t+\"/javascript~1esm\",parentData:e,parentDataProperty:\"javascript/esm\",rootData:s})||(o=null===o?re.errors:o.concat(re.errors),a=o.length),i=n===a}else i=!0}}}}}}}}}return se.errors=o,0===a}function oe(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return oe.errors=[{params:{type:\"object\"}}],!1;{const s=l;for(const e in t)if(!n.call(R,e))return oe.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==t.defaultRules){const e=l,n=l;let s=!1,o=null;const u=l;if(V(t.defaultRules,{instancePath:r+\"/defaultRules\",parentData:t,parentDataProperty:\"defaultRules\",rootData:a})||(i=null===i?V.errors:i.concat(V.errors),l=i.length),u===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=n,null!==i&&(n?i.length=n:i=null);var p=e===l}else p=!0;if(p){if(void 0!==t.exprContextCritical){const e=l;if(\"boolean\"!=typeof t.exprContextCritical)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.exprContextRecursive){const e=l;if(\"boolean\"!=typeof t.exprContextRecursive)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.exprContextRegExp){let e=t.exprContextRegExp;const n=l,r=l;let s=!1;const o=l;if(!(e instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var u=o===l;if(s=s||u,!s){const t=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}u=t===l,s=s||u}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.exprContextRequest){const e=l;if(\"string\"!=typeof t.exprContextRequest)return oe.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.generator){const e=l;ee(t.generator,{instancePath:r+\"/generator\",parentData:t,parentDataProperty:\"generator\",rootData:a})||(i=null===i?ee.errors:i.concat(ee.errors),l=i.length),p=e===l}else p=!0;if(p){if(void 0!==t.noParse){let n=t.noParse;const r=l,s=l;let o=!1;const a=l;if(l===a)if(Array.isArray(n))if(n.length<1){const e={params:{limit:1}};null===i?i=[e]:i.push(e),l++}else{const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=l,o=l;let a=!1;const p=l;if(!(t instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var f=p===l;if(a=a||f,!a){const n=l;if(l===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(f=n===l,a=a||f,!a){const e=l;if(!(t instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}f=e===l,a=a||f}}if(a)l=o,null!==i&&(o?i.length=o:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(s!==l)break}}else{const e={params:{type:\"array\"}};null===i?i=[e]:i.push(e),l++}var c=a===l;if(o=o||c,!o){const t=l;if(!(n instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(c=t===l,o=o||c,!o){const t=l;if(l===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!0!==e.test(n)){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(c=t===l,o=o||c,!o){const e=l;if(!(n instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}c=e===l,o=o||c}}}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=r===l}else p=!0;if(p){if(void 0!==t.parser){const e=l;se(t.parser,{instancePath:r+\"/parser\",parentData:t,parentDataProperty:\"parser\",rootData:a})||(i=null===i?se.errors:i.concat(se.errors),l=i.length),p=e===l}else p=!0;if(p){if(void 0!==t.rules){const e=l,n=l;let s=!1,o=null;const u=l;if(V(t.rules,{instancePath:r+\"/rules\",parentData:t,parentDataProperty:\"rules\",rootData:a})||(i=null===i?V.errors:i.concat(V.errors),l=i.length),u===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=n,null!==i&&(n?i.length=n:i=null),p=e===l}else p=!0;if(p){if(void 0!==t.strictExportPresence){const e=l;if(\"boolean\"!=typeof t.strictExportPresence)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.strictThisContextOnImports){const e=l;if(\"boolean\"!=typeof t.strictThisContextOnImports)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.unknownContextCritical){const e=l;if(\"boolean\"!=typeof t.unknownContextCritical)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.unknownContextRecursive){const e=l;if(\"boolean\"!=typeof t.unknownContextRecursive)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.unknownContextRegExp){let e=t.unknownContextRegExp;const n=l,r=l;let s=!1;const o=l;if(!(e instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var m=o===l;if(s=s||m,!s){const t=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}m=t===l,s=s||m}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.unknownContextRequest){const e=l;if(\"string\"!=typeof t.unknownContextRequest)return oe.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.unsafeCache){let e=t.unsafeCache;const n=l,r=l;let s=!1;const o=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var y=o===l;if(s=s||y,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}y=t===l,s=s||y}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,oe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.wrappedContextCritical){const e=l;if(\"boolean\"!=typeof t.wrappedContextCritical)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.wrappedContextRecursive){const e=l;if(\"boolean\"!=typeof t.wrappedContextRecursive)return oe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p)if(void 0!==t.wrappedContextRegExp){const e=l;if(!(t.wrappedContextRegExp instanceof RegExp))return oe.errors=[{params:{}}],!1;p=e===l}else p=!0}}}}}}}}}}}}}}}}}}}}return oe.errors=i,0===l}const ae={checkWasmTypes:{type:\"boolean\"},chunkIds:{enum:[\"natural\",\"named\",\"deterministic\",\"size\",\"total-size\",!1]},concatenateModules:{type:\"boolean\"},emitOnErrors:{type:\"boolean\"},flagIncludedChunks:{type:\"boolean\"},innerGraph:{type:\"boolean\"},mangleExports:{anyOf:[{enum:[\"size\",\"deterministic\"]},{type:\"boolean\"}]},mangleWasmImports:{type:\"boolean\"},mergeDuplicateChunks:{type:\"boolean\"},minimize:{type:\"boolean\"},minimizer:{type:\"array\",items:{anyOf:[{enum:[\"...\"]},{$ref:\"#/definitions/WebpackPluginInstance\"},{$ref:\"#/definitions/WebpackPluginFunction\"}]}},moduleIds:{enum:[\"natural\",\"named\",\"hashed\",\"deterministic\",\"size\",!1]},noEmitOnErrors:{type:\"boolean\"},nodeEnv:{anyOf:[{enum:[!1]},{type:\"string\"}]},portableRecords:{type:\"boolean\"},providedExports:{type:\"boolean\"},realContentHash:{type:\"boolean\"},removeAvailableModules:{type:\"boolean\"},removeEmptyChunks:{type:\"boolean\"},runtimeChunk:{$ref:\"#/definitions/OptimizationRuntimeChunk\"},sideEffects:{anyOf:[{enum:[\"flag\"]},{type:\"boolean\"}]},splitChunks:{anyOf:[{enum:[!1]},{$ref:\"#/definitions/OptimizationSplitChunksOptions\"}]},usedExports:{anyOf:[{enum:[\"global\"]},{type:\"boolean\"}]}},ie={automaticNameDelimiter:{type:\"string\",minLength:1},cacheGroups:{type:\"object\",additionalProperties:{anyOf:[{enum:[!1]},{instanceof:\"RegExp\"},{type:\"string\"},{instanceof:\"Function\"},{$ref:\"#/definitions/OptimizationSplitChunksCacheGroup\"}]},not:{type:\"object\",additionalProperties:!0,properties:{test:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\"},{instanceof:\"Function\"}]}},required:[\"test\"]}},chunks:{anyOf:[{enum:[\"initial\",\"async\",\"all\"]},{instanceof:\"Function\"}]},defaultSizeTypes:{type:\"array\",items:{type:\"string\"},minItems:1},enforceSizeThreshold:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},fallbackCacheGroup:{type:\"object\",additionalProperties:!1,properties:{automaticNameDelimiter:{type:\"string\",minLength:1},chunks:{anyOf:[{enum:[\"initial\",\"async\",\"all\"]},{instanceof:\"Function\"}]},maxAsyncSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxInitialSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSizeReduction:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]}}},filename:{anyOf:[{type:\"string\",absolutePath:!1,minLength:1},{instanceof:\"Function\"}]},hidePathInfo:{type:\"boolean\"},maxAsyncRequests:{type:\"number\",minimum:1},maxAsyncSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxInitialRequests:{type:\"number\",minimum:1},maxInitialSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minChunks:{type:\"number\",minimum:1},minRemainingSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSizeReduction:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},name:{anyOf:[{enum:[!1]},{type:\"string\"},{instanceof:\"Function\"}]},usedExports:{type:\"boolean\"}},le={automaticNameDelimiter:{type:\"string\",minLength:1},chunks:{anyOf:[{enum:[\"initial\",\"async\",\"all\"]},{instanceof:\"Function\"}]},enforce:{type:\"boolean\"},enforceSizeThreshold:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},filename:{anyOf:[{type:\"string\",absolutePath:!1,minLength:1},{instanceof:\"Function\"}]},idHint:{type:\"string\"},layer:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\"},{instanceof:\"Function\"}]},maxAsyncRequests:{type:\"number\",minimum:1},maxAsyncSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxInitialRequests:{type:\"number\",minimum:1},maxInitialSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},maxSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minChunks:{type:\"number\",minimum:1},minRemainingSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSize:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},minSizeReduction:{oneOf:[{$ref:\"#/definitions/OptimizationSplitChunksSizes\"}]},name:{anyOf:[{enum:[!1]},{type:\"string\"},{instanceof:\"Function\"}]},priority:{type:\"number\"},reuseExistingChunk:{type:\"boolean\"},test:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\"},{instanceof:\"Function\"}]},type:{anyOf:[{instanceof:\"RegExp\"},{type:\"string\"},{instanceof:\"Function\"}]},usedExports:{type:\"boolean\"}};function pe(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return pe.errors=[{params:{type:\"object\"}}],!1;{const r=l;for(const e in t)if(!n.call(le,e))return pe.errors=[{params:{additionalProperty:e}}],!1;if(r===l){if(void 0!==t.automaticNameDelimiter){let e=t.automaticNameDelimiter;const n=l;if(l===n){if(\"string\"!=typeof e)return pe.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return pe.errors=[{params:{}}],!1}var p=n===l}else p=!0;if(p){if(void 0!==t.chunks){let e=t.chunks;const n=l,r=l;let s=!1;const o=l;if(\"initial\"!==e&&\"async\"!==e&&\"all\"!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var u=o===l;if(s=s||u,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}u=t===l,s=s||u}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.enforce){const e=l;if(\"boolean\"!=typeof t.enforce)return pe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.enforceSizeThreshold){let e=t.enforceSizeThreshold;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let c=!1;const m=l;if(l===m)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var f=m===l;if(c=c||f,!c){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}f=t===l,c=c||f}if(c)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.filename){let n=t.filename;const r=l,s=l;let o=!1;const a=l;if(l===a)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===i?i=[e]:i.push(e),l++}else if(n.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}var c=a===l;if(o=o||c,!o){const e=l;if(!(n instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}c=e===l,o=o||c}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=r===l}else p=!0;if(p){if(void 0!==t.idHint){const e=l;if(\"string\"!=typeof t.idHint)return pe.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.layer){let e=t.layer;const n=l,r=l;let s=!1;const o=l;if(!(e instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var m=o===l;if(s=s||m,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(m=t===l,s=s||m,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}m=t===l,s=s||m}}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.maxAsyncRequests){let e=t.maxAsyncRequests;const n=l;if(l===n){if(\"number\"!=typeof e)return pe.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return pe.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.maxAsyncSize){let e=t.maxAsyncSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var y=c===l;if(f=f||y,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}y=t===l,f=f||y}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.maxInitialRequests){let e=t.maxInitialRequests;const n=l;if(l===n){if(\"number\"!=typeof e)return pe.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return pe.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.maxInitialSize){let e=t.maxInitialSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var h=c===l;if(f=f||h,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}h=t===l,f=f||h}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.maxSize){let e=t.maxSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var d=c===l;if(f=f||d,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}d=t===l,f=f||d}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minChunks){let e=t.minChunks;const n=l;if(l===n){if(\"number\"!=typeof e)return pe.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return pe.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.minRemainingSize){let e=t.minRemainingSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var g=c===l;if(f=f||g,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}g=t===l,f=f||g}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minSize){let e=t.minSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var b=c===l;if(f=f||b,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}b=t===l,f=f||b}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minSizeReduction){let e=t.minSizeReduction;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var v=c===l;if(f=f||v,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}v=t===l,f=f||v}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.name){let e=t.name;const n=l,r=l;let s=!1;const o=l;if(!1!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var D=o===l;if(s=s||D,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(D=t===l,s=s||D,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}D=t===l,s=s||D}}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.priority){const e=l;if(\"number\"!=typeof t.priority)return pe.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.reuseExistingChunk){const e=l;if(\"boolean\"!=typeof t.reuseExistingChunk)return pe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.test){let e=t.test;const n=l,r=l;let s=!1;const o=l;if(!(e instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var P=o===l;if(s=s||P,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(P=t===l,s=s||P,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}P=t===l,s=s||P}}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.type){let e=t.type;const n=l,r=l;let s=!1;const o=l;if(!(e instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}var A=o===l;if(s=s||A,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(A=t===l,s=s||A,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}A=t===l,s=s||A}}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,pe.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p)if(void 0!==t.usedExports){const e=l;if(\"boolean\"!=typeof t.usedExports)return pe.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=i,0===l}function ue(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return ue.errors=[{params:{type:\"object\"}}],!1;{const s=l;for(const e in t)if(!n.call(ie,e))return ue.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==t.automaticNameDelimiter){let e=t.automaticNameDelimiter;const n=l;if(l===n){if(\"string\"!=typeof e)return ue.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return ue.errors=[{params:{}}],!1}var p=n===l}else p=!0;if(p){if(void 0!==t.cacheGroups){let e=t.cacheGroups;const n=l,s=l,o=l;if(l===o)if(e&&\"object\"==typeof e&&!Array.isArray(e)){let t;if(void 0===e.test&&(t=\"test\")){const e={};null===i?i=[e]:i.push(e),l++}else if(void 0!==e.test){let t=e.test;const n=l;let r=!1;const s=l;if(!(t instanceof RegExp)){const e={};null===i?i=[e]:i.push(e),l++}var u=s===l;if(r=r||u,!r){const e=l;if(\"string\"!=typeof t){const e={};null===i?i=[e]:i.push(e),l++}if(u=e===l,r=r||u,!r){const e=l;if(!(t instanceof Function)){const e={};null===i?i=[e]:i.push(e),l++}u=e===l,r=r||u}}if(r)l=n,null!==i&&(n?i.length=n:i=null);else{const e={};null===i?i=[e]:i.push(e),l++}}}else{const e={};null===i?i=[e]:i.push(e),l++}if(o===l)return ue.errors=[{params:{}}],!1;if(l=s,null!==i&&(s?i.length=s:i=null),l===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return ue.errors=[{params:{type:\"object\"}}],!1;for(const t in e){let n=e[t];const s=l,o=l;let p=!1;const u=l;if(!1!==n){const e={params:{}};null===i?i=[e]:i.push(e),l++}var f=u===l;if(p=p||f,!p){const s=l;if(!(n instanceof RegExp)){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(f=s===l,p=p||f,!p){const s=l;if(\"string\"!=typeof n){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(f=s===l,p=p||f,!p){const s=l;if(!(n instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}if(f=s===l,p=p||f,!p){const s=l;pe(n,{instancePath:r+\"/cacheGroups/\"+t.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:e,parentDataProperty:t,rootData:a})||(i=null===i?pe.errors:i.concat(pe.errors),l=i.length),f=s===l,p=p||f}}}}if(!p){const e={params:{}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}if(l=o,null!==i&&(o?i.length=o:i=null),s!==l)break}}p=n===l}else p=!0;if(p){if(void 0!==t.chunks){let e=t.chunks;const n=l,r=l;let s=!1;const o=l;if(\"initial\"!==e&&\"async\"!==e&&\"all\"!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var c=o===l;if(s=s||c,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}c=t===l,s=s||c}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.defaultSizeTypes){let e=t.defaultSizeTypes;const n=l;if(l===n){if(!Array.isArray(e))return ue.errors=[{params:{type:\"array\"}}],!1;if(e.length<1)return ue.errors=[{params:{limit:1}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=l;if(\"string\"!=typeof e[n])return ue.errors=[{params:{type:\"string\"}}],!1;if(t!==l)break}}}p=n===l}else p=!0;if(p){if(void 0!==t.enforceSizeThreshold){let e=t.enforceSizeThreshold;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var m=c===l;if(f=f||m,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}m=t===l,f=f||m}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.fallbackCacheGroup){let e=t.fallbackCacheGroup;const n=l;if(l===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return ue.errors=[{params:{type:\"object\"}}],!1;{const t=l;for(const t in e)if(\"automaticNameDelimiter\"!==t&&\"chunks\"!==t&&\"maxAsyncSize\"!==t&&\"maxInitialSize\"!==t&&\"maxSize\"!==t&&\"minSize\"!==t&&\"minSizeReduction\"!==t)return ue.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==e.automaticNameDelimiter){let t=e.automaticNameDelimiter;const n=l;if(l===n){if(\"string\"!=typeof t)return ue.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return ue.errors=[{params:{}}],!1}var y=n===l}else y=!0;if(y){if(void 0!==e.chunks){let t=e.chunks;const n=l,r=l;let s=!1;const o=l;if(\"initial\"!==t&&\"async\"!==t&&\"all\"!==t){const e={params:{}};null===i?i=[e]:i.push(e),l++}var h=o===l;if(s=s||h,!s){const e=l;if(!(t instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}h=e===l,s=s||h}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0;if(y){if(void 0!==e.maxAsyncSize){let t=e.maxAsyncSize;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(\"number\"==typeof t){if(t<0||isNaN(t)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var d=f===l;if(u=u||d,!u){const e=l;if(l===e)if(t&&\"object\"==typeof t&&!Array.isArray(t))for(const e in t){const n=l;if(\"number\"!=typeof t[e]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}d=e===l,u=u||d}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0;if(y){if(void 0!==e.maxInitialSize){let t=e.maxInitialSize;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(\"number\"==typeof t){if(t<0||isNaN(t)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var g=f===l;if(u=u||g,!u){const e=l;if(l===e)if(t&&\"object\"==typeof t&&!Array.isArray(t))for(const e in t){const n=l;if(\"number\"!=typeof t[e]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}g=e===l,u=u||g}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0;if(y){if(void 0!==e.maxSize){let t=e.maxSize;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(\"number\"==typeof t){if(t<0||isNaN(t)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var b=f===l;if(u=u||b,!u){const e=l;if(l===e)if(t&&\"object\"==typeof t&&!Array.isArray(t))for(const e in t){const n=l;if(\"number\"!=typeof t[e]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}b=e===l,u=u||b}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0;if(y){if(void 0!==e.minSize){let t=e.minSize;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(\"number\"==typeof t){if(t<0||isNaN(t)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var v=f===l;if(u=u||v,!u){const e=l;if(l===e)if(t&&\"object\"==typeof t&&!Array.isArray(t))for(const e in t){const n=l;if(\"number\"!=typeof t[e]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}v=e===l,u=u||v}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0;if(y)if(void 0!==e.minSizeReduction){let t=e.minSizeReduction;const n=l,r=l;let s=!1,o=null;const a=l,p=l;let u=!1;const f=l;if(l===f)if(\"number\"==typeof t){if(t<0||isNaN(t)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var D=f===l;if(u=u||D,!u){const e=l;if(l===e)if(t&&\"object\"==typeof t&&!Array.isArray(t))for(const e in t){const n=l;if(\"number\"!=typeof t[e]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}D=e===l,u=u||D}if(u)l=p,null!==i&&(p?i.length=p:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),y=n===l}else y=!0}}}}}}}}p=n===l}else p=!0;if(p){if(void 0!==t.filename){let n=t.filename;const r=l,s=l;let o=!1;const a=l;if(l===a)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===i?i=[e]:i.push(e),l++}else if(n.length<1){const e={params:{}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}var P=a===l;if(o=o||P,!o){const e=l;if(!(n instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}P=e===l,o=o||P}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=r===l}else p=!0;if(p){if(void 0!==t.hidePathInfo){const e=l;if(\"boolean\"!=typeof t.hidePathInfo)return ue.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.maxAsyncRequests){let e=t.maxAsyncRequests;const n=l;if(l===n){if(\"number\"!=typeof e)return ue.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return ue.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.maxAsyncSize){let e=t.maxAsyncSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var A=c===l;if(f=f||A,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}A=t===l,f=f||A}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.maxInitialRequests){let e=t.maxInitialRequests;const n=l;if(l===n){if(\"number\"!=typeof e)return ue.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return ue.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.maxInitialSize){let e=t.maxInitialSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var x=c===l;if(f=f||x,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}x=t===l,f=f||x}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.maxSize){let e=t.maxSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var k=c===l;if(f=f||k,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}k=t===l,f=f||k}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minChunks){let e=t.minChunks;const n=l;if(l===n){if(\"number\"!=typeof e)return ue.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return ue.errors=[{params:{comparison:\">=\",limit:1}}],!1}p=n===l}else p=!0;if(p){if(void 0!==t.minRemainingSize){let e=t.minRemainingSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var j=c===l;if(f=f||j,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}j=t===l,f=f||j}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minSize){let e=t.minSize;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var S=c===l;if(f=f||S,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}S=t===l,f=f||S}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.minSizeReduction){let e=t.minSizeReduction;const n=l,r=l;let s=!1,o=null;const a=l,u=l;let f=!1;const c=l;if(l===c)if(\"number\"==typeof e){if(e<0||isNaN(e)){const e={params:{comparison:\">=\",limit:0}};null===i?i=[e]:i.push(e),l++}}else{const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}var C=c===l;if(f=f||C,!f){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e))for(const t in e){const n=l;if(\"number\"!=typeof e[t]){const e={params:{type:\"number\"}};null===i?i=[e]:i.push(e),l++}if(n!==l)break}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}C=t===l,f=f||C}if(f)l=u,null!==i&&(u?i.length=u:i=null);else{const e={params:{}};null===i?i=[e]:i.push(e),l++}if(a===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.name){let e=t.name;const n=l,r=l;let s=!1;const o=l;if(!1!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var O=o===l;if(s=s||O,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}if(O=t===l,s=s||O,!s){const t=l;if(!(e instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),l++}O=t===l,s=s||O}}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,ue.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p)if(void 0!==t.usedExports){const e=l;if(\"boolean\"!=typeof t.usedExports)return ue.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0}}}}}}}}}}}}}}}}}}}}return ue.errors=i,0===l}function fe(e,{instancePath:t=\"\",parentData:r,parentDataProperty:s,rootData:o=e}={}){let a=null,i=0;if(0===i){if(!e||\"object\"!=typeof e||Array.isArray(e))return fe.errors=[{params:{type:\"object\"}}],!1;{const r=i;for(const t in e)if(!n.call(ae,t))return fe.errors=[{params:{additionalProperty:t}}],!1;if(r===i){if(void 0!==e.checkWasmTypes){const t=i;if(\"boolean\"!=typeof e.checkWasmTypes)return fe.errors=[{params:{type:\"boolean\"}}],!1;var l=t===i}else l=!0;if(l){if(void 0!==e.chunkIds){let t=e.chunkIds;const n=i;if(\"natural\"!==t&&\"named\"!==t&&\"deterministic\"!==t&&\"size\"!==t&&\"total-size\"!==t&&!1!==t)return fe.errors=[{params:{}}],!1;l=n===i}else l=!0;if(l){if(void 0!==e.concatenateModules){const t=i;if(\"boolean\"!=typeof e.concatenateModules)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.emitOnErrors){const t=i;if(\"boolean\"!=typeof e.emitOnErrors)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.flagIncludedChunks){const t=i;if(\"boolean\"!=typeof e.flagIncludedChunks)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.innerGraph){const t=i;if(\"boolean\"!=typeof e.innerGraph)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.mangleExports){let t=e.mangleExports;const n=i,r=i;let s=!1;const o=i;if(\"size\"!==t&&\"deterministic\"!==t){const e={params:{}};null===a?a=[e]:a.push(e),i++}var p=o===i;if(s=s||p,!s){const e=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}p=e===i,s=s||p}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.mangleWasmImports){const t=i;if(\"boolean\"!=typeof e.mangleWasmImports)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.mergeDuplicateChunks){const t=i;if(\"boolean\"!=typeof e.mergeDuplicateChunks)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.minimize){const t=i;if(\"boolean\"!=typeof e.minimize)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.minimizer){let t=e.minimizer;const n=i;if(i===n){if(!Array.isArray(t))return fe.errors=[{params:{type:\"array\"}}],!1;{const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=i,s=i;let o=!1;const l=i;if(\"...\"!==e){const e={params:{}};null===a?a=[e]:a.push(e),i++}var u=l===i;if(o=o||u,!o){const t=i;if(i==i)if(e&&\"object\"==typeof e&&!Array.isArray(e)){let t;if(void 0===e.apply&&(t=\"apply\")){const e={params:{missingProperty:t}};null===a?a=[e]:a.push(e),i++}else if(void 0!==e.apply&&!(e.apply instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"object\"}};null===a?a=[e]:a.push(e),i++}if(u=t===i,o=o||u,!o){const t=i;if(!(e instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}u=t===i,o=o||u}}if(!o){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}if(i=s,null!==a&&(s?a.length=s:a=null),r!==i)break}}}l=n===i}else l=!0;if(l){if(void 0!==e.moduleIds){let t=e.moduleIds;const n=i;if(\"natural\"!==t&&\"named\"!==t&&\"hashed\"!==t&&\"deterministic\"!==t&&\"size\"!==t&&!1!==t)return fe.errors=[{params:{}}],!1;l=n===i}else l=!0;if(l){if(void 0!==e.noEmitOnErrors){const t=i;if(\"boolean\"!=typeof e.noEmitOnErrors)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.nodeEnv){let t=e.nodeEnv;const n=i,r=i;let s=!1;const o=i;if(!1!==t){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=o===i;if(s=s||f,!s){const e=i;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}f=e===i,s=s||f}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.portableRecords){const t=i;if(\"boolean\"!=typeof e.portableRecords)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.providedExports){const t=i;if(\"boolean\"!=typeof e.providedExports)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.realContentHash){const t=i;if(\"boolean\"!=typeof e.realContentHash)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.removeAvailableModules){const t=i;if(\"boolean\"!=typeof e.removeAvailableModules)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.removeEmptyChunks){const t=i;if(\"boolean\"!=typeof e.removeEmptyChunks)return fe.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l){if(void 0!==e.runtimeChunk){let t=e.runtimeChunk;const n=i,r=i;let s=!1;const o=i;if(\"single\"!==t&&\"multiple\"!==t){const e={params:{}};null===a?a=[e]:a.push(e),i++}var c=o===i;if(s=s||c,!s){const e=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}if(c=e===i,s=s||c,!s){const e=i;if(i===e)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const e=i;for(const e in t)if(\"name\"!==e){const t={params:{additionalProperty:e}};null===a?a=[t]:a.push(t),i++;break}if(e===i&&void 0!==t.name){let e=t.name;const n=i;let r=!1;const s=i;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var m=s===i;if(r=r||m,!r){const t=i;if(!(e instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=t===i,r=r||m}if(r)i=n,null!==a&&(n?a.length=n:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}}}else{const e={params:{type:\"object\"}};null===a?a=[e]:a.push(e),i++}c=e===i,s=s||c}}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.sideEffects){let t=e.sideEffects;const n=i,r=i;let s=!1;const o=i;if(\"flag\"!==t){const e={params:{}};null===a?a=[e]:a.push(e),i++}var y=o===i;if(s=s||y,!s){const e=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}y=e===i,s=s||y}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0;if(l){if(void 0!==e.splitChunks){let n=e.splitChunks;const r=i,s=i;let p=!1;const u=i;if(!1!==n){const e={params:{}};null===a?a=[e]:a.push(e),i++}var h=u===i;if(p=p||h,!p){const r=i;ue(n,{instancePath:t+\"/splitChunks\",parentData:e,parentDataProperty:\"splitChunks\",rootData:o})||(a=null===a?ue.errors:a.concat(ue.errors),i=a.length),h=r===i,p=p||h}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=s,null!==a&&(s?a.length=s:a=null),l=r===i}else l=!0;if(l)if(void 0!==e.usedExports){let t=e.usedExports;const n=i,r=i;let s=!1;const o=i;if(\"global\"!==t){const e={params:{}};null===a?a=[e]:a.push(e),i++}var d=o===i;if(s=s||d,!s){const e=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}d=e===i,s=s||d}if(!s){const e={params:{}};return null===a?a=[e]:a.push(e),i++,fe.errors=a,!1}i=r,null!==a&&(r?a.length=r:a=null),l=n===i}else l=!0}}}}}}}}}}}}}}}}}}}}}}}}return fe.errors=a,0===i}const ce={assetModuleFilename:{$ref:\"#/definitions/AssetModuleFilename\"},asyncChunks:{type:\"boolean\"},auxiliaryComment:{oneOf:[{$ref:\"#/definitions/AuxiliaryComment\"}]},charset:{$ref:\"#/definitions/Charset\"},chunkFilename:{$ref:\"#/definitions/ChunkFilename\"},chunkFormat:{$ref:\"#/definitions/ChunkFormat\"},chunkLoadTimeout:{$ref:\"#/definitions/ChunkLoadTimeout\"},chunkLoading:{$ref:\"#/definitions/ChunkLoading\"},chunkLoadingGlobal:{$ref:\"#/definitions/ChunkLoadingGlobal\"},clean:{$ref:\"#/definitions/Clean\"},compareBeforeEmit:{$ref:\"#/definitions/CompareBeforeEmit\"},crossOriginLoading:{$ref:\"#/definitions/CrossOriginLoading\"},cssChunkFilename:{$ref:\"#/definitions/CssChunkFilename\"},cssFilename:{$ref:\"#/definitions/CssFilename\"},devtoolFallbackModuleFilenameTemplate:{$ref:\"#/definitions/DevtoolFallbackModuleFilenameTemplate\"},devtoolModuleFilenameTemplate:{$ref:\"#/definitions/DevtoolModuleFilenameTemplate\"},devtoolNamespace:{$ref:\"#/definitions/DevtoolNamespace\"},enabledChunkLoadingTypes:{$ref:\"#/definitions/EnabledChunkLoadingTypes\"},enabledLibraryTypes:{$ref:\"#/definitions/EnabledLibraryTypes\"},enabledWasmLoadingTypes:{$ref:\"#/definitions/EnabledWasmLoadingTypes\"},environment:{$ref:\"#/definitions/Environment\"},filename:{$ref:\"#/definitions/Filename\"},globalObject:{$ref:\"#/definitions/GlobalObject\"},hashDigest:{$ref:\"#/definitions/HashDigest\"},hashDigestLength:{$ref:\"#/definitions/HashDigestLength\"},hashFunction:{$ref:\"#/definitions/HashFunction\"},hashSalt:{$ref:\"#/definitions/HashSalt\"},hotUpdateChunkFilename:{$ref:\"#/definitions/HotUpdateChunkFilename\"},hotUpdateGlobal:{$ref:\"#/definitions/HotUpdateGlobal\"},hotUpdateMainFilename:{$ref:\"#/definitions/HotUpdateMainFilename\"},iife:{$ref:\"#/definitions/Iife\"},importFunctionName:{$ref:\"#/definitions/ImportFunctionName\"},importMetaName:{$ref:\"#/definitions/ImportMetaName\"},library:{$ref:\"#/definitions/Library\"},libraryExport:{oneOf:[{$ref:\"#/definitions/LibraryExport\"}]},libraryTarget:{oneOf:[{$ref:\"#/definitions/LibraryType\"}]},module:{$ref:\"#/definitions/OutputModule\"},path:{$ref:\"#/definitions/Path\"},pathinfo:{$ref:\"#/definitions/Pathinfo\"},publicPath:{$ref:\"#/definitions/PublicPath\"},scriptType:{$ref:\"#/definitions/ScriptType\"},sourceMapFilename:{$ref:\"#/definitions/SourceMapFilename\"},sourcePrefix:{$ref:\"#/definitions/SourcePrefix\"},strictModuleErrorHandling:{$ref:\"#/definitions/StrictModuleErrorHandling\"},strictModuleExceptionHandling:{$ref:\"#/definitions/StrictModuleExceptionHandling\"},trustedTypes:{anyOf:[{enum:[!0]},{type:\"string\",minLength:1},{$ref:\"#/definitions/TrustedTypes\"}]},umdNamedDefine:{oneOf:[{$ref:\"#/definitions/UmdNamedDefine\"}]},uniqueName:{$ref:\"#/definitions/UniqueName\"},wasmLoading:{$ref:\"#/definitions/WasmLoading\"},webassemblyModuleFilename:{$ref:\"#/definitions/WebassemblyModuleFilename\"},workerChunkLoading:{$ref:\"#/definitions/ChunkLoading\"},workerWasmLoading:{$ref:\"#/definitions/WasmLoading\"}},me={arrowFunction:{type:\"boolean\"},bigIntLiteral:{type:\"boolean\"},const:{type:\"boolean\"},destructuring:{type:\"boolean\"},dynamicImport:{type:\"boolean\"},forOf:{type:\"boolean\"},module:{type:\"boolean\"},optionalChaining:{type:\"boolean\"},templateLiteral:{type:\"boolean\"}};function ye(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1,u=null;const f=i,c=i;let m=!1;const y=i;if(i===y)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var h=y===i;if(m=m||h,!m){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}h=e===i,m=m||h}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(f===i&&(p=!0,u=0),!p){const e={params:{passingSchemas:u}};return null===a?a=[e]:a.push(e),i++,ye.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),ye.errors=a,0===i}function he(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}var f=u===i;if(p=p||f,!p){const n=i;if(i==i)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const n=i;for(const e in t)if(\"dry\"!==e&&\"keep\"!==e){const t={params:{additionalProperty:e}};null===a?a=[t]:a.push(t),i++;break}if(n===i){if(void 0!==t.dry){const e=i;if(\"boolean\"!=typeof t.dry){const e={params:{type:\"boolean\"}};null===a?a=[e]:a.push(e),i++}var c=e===i}else c=!0;if(c)if(void 0!==t.keep){let n=t.keep;const r=i,s=i;let o=!1;const l=i;if(!(n instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var m=l===i;if(o=o||m,!o){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(m=t===i,o=o||m,!o){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=e===i,o=o||m}}if(o)i=s,null!==a&&(s?a.length=s:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}c=r===i}else c=!0}}else{const e={params:{type:\"object\"}};null===a?a=[e]:a.push(e),i++}f=n===i,p=p||f}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,he.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),he.errors=a,0===i}function de(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1,u=null;const f=i,c=i;let m=!1;const y=i;if(i===y)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var h=y===i;if(m=m||h,!m){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}h=e===i,m=m||h}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(f===i&&(p=!0,u=0),!p){const e={params:{passingSchemas:u}};return null===a?a=[e]:a.push(e),i++,de.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),de.errors=a,0===i}function ge(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1,u=null;const f=i,c=i;let m=!1;const y=i;if(i===y)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var h=y===i;if(m=m||h,!m){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}h=e===i,m=m||h}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(f===i&&(p=!0,u=0),!p){const e={params:{passingSchemas:u}};return null===a?a=[e]:a.push(e),i++,ge.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),ge.errors=a,0===i}function be(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return be.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a,s=a;let l=!1;const p=a;if(\"jsonp\"!==t&&\"import-scripts\"!==t&&\"require\"!==t&&\"async-node\"!==t&&\"import\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=p===a;if(l=l||i,!l){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}i=e===a,l=l||i}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,be.errors=o,!1}if(a=s,null!==o&&(s?o.length=s:o=null),r!==a)break}}}return be.errors=o,0===a}function ve(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return ve.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a,s=a;let l=!1;const p=a;if(\"var\"!==t&&\"module\"!==t&&\"assign\"!==t&&\"assign-properties\"!==t&&\"this\"!==t&&\"window\"!==t&&\"self\"!==t&&\"global\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"commonjs-module\"!==t&&\"commonjs-static\"!==t&&\"amd\"!==t&&\"amd-require\"!==t&&\"umd\"!==t&&\"umd2\"!==t&&\"jsonp\"!==t&&\"system\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=p===a;if(l=l||i,!l){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}i=e===a,l=l||i}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,ve.errors=o,!1}if(a=s,null!==o&&(s?o.length=s:o=null),r!==a)break}}}return ve.errors=o,0===a}function De(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return De.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a,s=a;let l=!1;const p=a;if(\"fetch-streaming\"!==t&&\"fetch\"!==t&&\"async-node\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}var i=p===a;if(l=l||i,!l){const e=a;if(\"string\"!=typeof t){const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}i=e===a,l=l||i}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,De.errors=o,!1}if(a=s,null!==o&&(s?o.length=s:o=null),r!==a)break}}}return De.errors=o,0===a}function Pe(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1,u=null;const f=i,c=i;let m=!1;const y=i;if(i===y)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}else if(t.length<1){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}var h=y===i;if(m=m||h,!m){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}h=e===i,m=m||h}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(f===i&&(p=!0,u=0),!p){const e={params:{passingSchemas:u}};return null===a?a=[e]:a.push(e),i++,Pe.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),Pe.errors=a,0===i}function Ae(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;u(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?u.errors:o.concat(u.errors),a=o.length);var c=p===a;if(l=l||c,!l){const i=a;f(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?f.errors:o.concat(f.errors),a=o.length),c=i===a,l=l||c}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,Ae.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),Ae.errors=o,0===a}function xe(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let l=null,u=0;if(0===u){if(!t||\"object\"!=typeof t||Array.isArray(t))return xe.errors=[{params:{type:\"object\"}}],!1;{const s=u;for(const e in t)if(!n.call(ce,e))return xe.errors=[{params:{additionalProperty:e}}],!1;if(s===u){if(void 0!==t.assetModuleFilename){let n=t.assetModuleFilename;const r=u,s=u;let o=!1;const a=u;if(u===a)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}var f=a===u;if(o=o||f,!o){const e=u;if(!(n instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),u++}f=e===u,o=o||f}if(!o){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=s,null!==l&&(s?l.length=s:l=null);var y=r===u}else y=!0;if(y){if(void 0!==t.asyncChunks){const e=u;if(\"boolean\"!=typeof t.asyncChunks)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.auxiliaryComment){const e=u,n=u;let s=!1,o=null;const i=u;if(p(t.auxiliaryComment,{instancePath:r+\"/auxiliaryComment\",parentData:t,parentDataProperty:\"auxiliaryComment\",rootData:a})||(l=null===l?p.errors:l.concat(p.errors),u=l.length),i===u&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=n,null!==l&&(n?l.length=n:l=null),y=e===u}else y=!0;if(y){if(void 0!==t.charset){const e=u;if(\"boolean\"!=typeof t.charset)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.chunkFilename){const e=u;ye(t.chunkFilename,{instancePath:r+\"/chunkFilename\",parentData:t,parentDataProperty:\"chunkFilename\",rootData:a})||(l=null===l?ye.errors:l.concat(ye.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.chunkFormat){let e=t.chunkFormat;const n=u,r=u;let s=!1;const o=u;if(\"array-push\"!==e&&\"commonjs\"!==e&&\"module\"!==e&&!1!==e){const e={params:{}};null===l?l=[e]:l.push(e),u++}var h=o===u;if(s=s||h,!s){const t=u;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}h=t===u,s=s||h}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.chunkLoadTimeout){const e=u;if(\"number\"!=typeof t.chunkLoadTimeout)return xe.errors=[{params:{type:\"number\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.chunkLoading){const e=u;i(t.chunkLoading,{instancePath:r+\"/chunkLoading\",parentData:t,parentDataProperty:\"chunkLoading\",rootData:a})||(l=null===l?i.errors:l.concat(i.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.chunkLoadingGlobal){const e=u;if(\"string\"!=typeof t.chunkLoadingGlobal)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.clean){const e=u;he(t.clean,{instancePath:r+\"/clean\",parentData:t,parentDataProperty:\"clean\",rootData:a})||(l=null===l?he.errors:l.concat(he.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.compareBeforeEmit){const e=u;if(\"boolean\"!=typeof t.compareBeforeEmit)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.crossOriginLoading){let e=t.crossOriginLoading;const n=u;if(!1!==e&&\"anonymous\"!==e&&\"use-credentials\"!==e)return xe.errors=[{params:{}}],!1;y=n===u}else y=!0;if(y){if(void 0!==t.cssChunkFilename){const e=u;de(t.cssChunkFilename,{instancePath:r+\"/cssChunkFilename\",parentData:t,parentDataProperty:\"cssChunkFilename\",rootData:a})||(l=null===l?de.errors:l.concat(de.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.cssFilename){const e=u;ge(t.cssFilename,{instancePath:r+\"/cssFilename\",parentData:t,parentDataProperty:\"cssFilename\",rootData:a})||(l=null===l?ge.errors:l.concat(ge.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.devtoolFallbackModuleFilenameTemplate){let e=t.devtoolFallbackModuleFilenameTemplate;const n=u,r=u;let s=!1;const o=u;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}var d=o===u;if(s=s||d,!s){const t=u;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),u++}d=t===u,s=s||d}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.devtoolModuleFilenameTemplate){let e=t.devtoolModuleFilenameTemplate;const n=u,r=u;let s=!1;const o=u;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}var g=o===u;if(s=s||g,!s){const t=u;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),u++}g=t===u,s=s||g}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.devtoolNamespace){const e=u;if(\"string\"!=typeof t.devtoolNamespace)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.enabledChunkLoadingTypes){const e=u;be(t.enabledChunkLoadingTypes,{instancePath:r+\"/enabledChunkLoadingTypes\",parentData:t,parentDataProperty:\"enabledChunkLoadingTypes\",rootData:a})||(l=null===l?be.errors:l.concat(be.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.enabledLibraryTypes){const e=u;ve(t.enabledLibraryTypes,{instancePath:r+\"/enabledLibraryTypes\",parentData:t,parentDataProperty:\"enabledLibraryTypes\",rootData:a})||(l=null===l?ve.errors:l.concat(ve.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.enabledWasmLoadingTypes){const e=u;De(t.enabledWasmLoadingTypes,{instancePath:r+\"/enabledWasmLoadingTypes\",parentData:t,parentDataProperty:\"enabledWasmLoadingTypes\",rootData:a})||(l=null===l?De.errors:l.concat(De.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.environment){let e=t.environment;const r=u;if(u==u){if(!e||\"object\"!=typeof e||Array.isArray(e))return xe.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(!n.call(me,t))return xe.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.arrowFunction){const t=u;if(\"boolean\"!=typeof e.arrowFunction)return xe.errors=[{params:{type:\"boolean\"}}],!1;var b=t===u}else b=!0;if(b){if(void 0!==e.bigIntLiteral){const t=u;if(\"boolean\"!=typeof e.bigIntLiteral)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.const){const t=u;if(\"boolean\"!=typeof e.const)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.destructuring){const t=u;if(\"boolean\"!=typeof e.destructuring)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.dynamicImport){const t=u;if(\"boolean\"!=typeof e.dynamicImport)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.forOf){const t=u;if(\"boolean\"!=typeof e.forOf)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.module){const t=u;if(\"boolean\"!=typeof e.module)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b){if(void 0!==e.optionalChaining){const t=u;if(\"boolean\"!=typeof e.optionalChaining)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0;if(b)if(void 0!==e.templateLiteral){const t=u;if(\"boolean\"!=typeof e.templateLiteral)return xe.errors=[{params:{type:\"boolean\"}}],!1;b=t===u}else b=!0}}}}}}}}}}y=r===u}else y=!0;if(y){if(void 0!==t.filename){const e=u;Pe(t.filename,{instancePath:r+\"/filename\",parentData:t,parentDataProperty:\"filename\",rootData:a})||(l=null===l?Pe.errors:l.concat(Pe.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.globalObject){let e=t.globalObject;const n=u;if(u==u){if(\"string\"!=typeof e)return xe.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return xe.errors=[{params:{}}],!1}y=n===u}else y=!0;if(y){if(void 0!==t.hashDigest){const e=u;if(\"string\"!=typeof t.hashDigest)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.hashDigestLength){let e=t.hashDigestLength;const n=u;if(u==u){if(\"number\"!=typeof e)return xe.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return xe.errors=[{params:{comparison:\">=\",limit:1}}],!1}y=n===u}else y=!0;if(y){if(void 0!==t.hashFunction){let e=t.hashFunction;const n=u,r=u;let s=!1;const o=u;if(u===o)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}var v=o===u;if(s=s||v,!s){const t=u;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),u++}v=t===u,s=s||v}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.hashSalt){let e=t.hashSalt;const n=u;if(u==u){if(\"string\"!=typeof e)return xe.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return xe.errors=[{params:{}}],!1}y=n===u}else y=!0;if(y){if(void 0!==t.hotUpdateChunkFilename){let n=t.hotUpdateChunkFilename;const r=u;if(u==u){if(\"string\"!=typeof n)return xe.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!1!==e.test(n))return xe.errors=[{params:{}}],!1}y=r===u}else y=!0;if(y){if(void 0!==t.hotUpdateGlobal){const e=u;if(\"string\"!=typeof t.hotUpdateGlobal)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.hotUpdateMainFilename){let n=t.hotUpdateMainFilename;const r=u;if(u==u){if(\"string\"!=typeof n)return xe.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!1!==e.test(n))return xe.errors=[{params:{}}],!1}y=r===u}else y=!0;if(y){if(void 0!==t.iife){const e=u;if(\"boolean\"!=typeof t.iife)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.importFunctionName){const e=u;if(\"string\"!=typeof t.importFunctionName)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.importMetaName){const e=u;if(\"string\"!=typeof t.importMetaName)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.library){const e=u;Ae(t.library,{instancePath:r+\"/library\",parentData:t,parentDataProperty:\"library\",rootData:a})||(l=null===l?Ae.errors:l.concat(Ae.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.libraryExport){let e=t.libraryExport;const n=u,r=u;let s=!1,o=null;const a=u,i=u;let p=!1;const f=u;if(u===f)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=u;if(u===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}if(r!==u)break}}else{const e={params:{type:\"array\"}};null===l?l=[e]:l.push(e),u++}var D=f===u;if(p=p||D,!p){const t=u;if(u===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}D=t===u,p=p||D}if(p)u=i,null!==l&&(i?l.length=i:l=null);else{const e={params:{}};null===l?l=[e]:l.push(e),u++}if(a===u&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.libraryTarget){let e=t.libraryTarget;const n=u,r=u;let s=!1,o=null;const a=u,i=u;let p=!1;const f=u;if(\"var\"!==e&&\"module\"!==e&&\"assign\"!==e&&\"assign-properties\"!==e&&\"this\"!==e&&\"window\"!==e&&\"self\"!==e&&\"global\"!==e&&\"commonjs\"!==e&&\"commonjs2\"!==e&&\"commonjs-module\"!==e&&\"commonjs-static\"!==e&&\"amd\"!==e&&\"amd-require\"!==e&&\"umd\"!==e&&\"umd2\"!==e&&\"jsonp\"!==e&&\"system\"!==e){const e={params:{}};null===l?l=[e]:l.push(e),u++}var P=f===u;if(p=p||P,!p){const t=u;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}P=t===u,p=p||P}if(p)u=i,null!==l&&(i?l.length=i:l=null);else{const e={params:{}};null===l?l=[e]:l.push(e),u++}if(a===u&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.module){const e=u;if(\"boolean\"!=typeof t.module)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.path){let n=t.path;const r=u;if(u==u){if(\"string\"!=typeof n)return xe.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!0!==e.test(n))return xe.errors=[{params:{}}],!1}y=r===u}else y=!0;if(y){if(void 0!==t.pathinfo){let e=t.pathinfo;const n=u,r=u;let s=!1;const o=u;if(\"verbose\"!==e){const e={params:{}};null===l?l=[e]:l.push(e),u++}var A=o===u;if(s=s||A,!s){const t=u;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===l?l=[e]:l.push(e),u++}A=t===u,s=s||A}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.publicPath){const e=u;c(t.publicPath,{instancePath:r+\"/publicPath\",parentData:t,parentDataProperty:\"publicPath\",rootData:a})||(l=null===l?c.errors:l.concat(c.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.scriptType){let e=t.scriptType;const n=u;if(!1!==e&&\"text/javascript\"!==e&&\"module\"!==e)return xe.errors=[{params:{}}],!1;y=n===u}else y=!0;if(y){if(void 0!==t.sourceMapFilename){let n=t.sourceMapFilename;const r=u;if(u==u){if(\"string\"!=typeof n)return xe.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!1!==e.test(n))return xe.errors=[{params:{}}],!1}y=r===u}else y=!0;if(y){if(void 0!==t.sourcePrefix){const e=u;if(\"string\"!=typeof t.sourcePrefix)return xe.errors=[{params:{type:\"string\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.strictModuleErrorHandling){const e=u;if(\"boolean\"!=typeof t.strictModuleErrorHandling)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.strictModuleExceptionHandling){const e=u;if(\"boolean\"!=typeof t.strictModuleExceptionHandling)return xe.errors=[{params:{type:\"boolean\"}}],!1;y=e===u}else y=!0;if(y){if(void 0!==t.trustedTypes){let e=t.trustedTypes;const n=u,r=u;let s=!1;const o=u;if(!0!==e){const e={params:{}};null===l?l=[e]:l.push(e),u++}var x=o===u;if(s=s||x,!s){const t=u;if(u===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}if(x=t===u,s=s||x,!s){const t=u;if(u==u)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=u;for(const t in e)if(\"policyName\"!==t){const e={params:{additionalProperty:t}};null===l?l=[e]:l.push(e),u++;break}if(t===u&&void 0!==e.policyName){let t=e.policyName;if(u==u)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===l?l=[e]:l.push(e),u++}}else{const e={params:{type:\"string\"}};null===l?l=[e]:l.push(e),u++}}}else{const e={params:{type:\"object\"}};null===l?l=[e]:l.push(e),u++}x=t===u,s=s||x}}if(!s){const e={params:{}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=r,null!==l&&(r?l.length=r:l=null),y=n===u}else y=!0;if(y){if(void 0!==t.umdNamedDefine){const e=u,n=u;let r=!1,s=null;const o=u;if(\"boolean\"!=typeof t.umdNamedDefine){const e={params:{type:\"boolean\"}};null===l?l=[e]:l.push(e),u++}if(o===u&&(r=!0,s=0),!r){const e={params:{passingSchemas:s}};return null===l?l=[e]:l.push(e),u++,xe.errors=l,!1}u=n,null!==l&&(n?l.length=n:l=null),y=e===u}else y=!0;if(y){if(void 0!==t.uniqueName){let e=t.uniqueName;const n=u;if(u==u){if(\"string\"!=typeof e)return xe.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return xe.errors=[{params:{}}],!1}y=n===u}else y=!0;if(y){if(void 0!==t.wasmLoading){const e=u;m(t.wasmLoading,{instancePath:r+\"/wasmLoading\",parentData:t,parentDataProperty:\"wasmLoading\",rootData:a})||(l=null===l?m.errors:l.concat(m.errors),u=l.length),y=e===u}else y=!0;if(y){if(void 0!==t.webassemblyModuleFilename){let n=t.webassemblyModuleFilename;const r=u;if(u==u){if(\"string\"!=typeof n)return xe.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!1!==e.test(n))return xe.errors=[{params:{}}],!1}y=r===u}else y=!0;if(y){if(void 0!==t.workerChunkLoading){const e=u;i(t.workerChunkLoading,{instancePath:r+\"/workerChunkLoading\",parentData:t,parentDataProperty:\"workerChunkLoading\",rootData:a})||(l=null===l?i.errors:l.concat(i.errors),u=l.length),y=e===u}else y=!0;if(y)if(void 0!==t.workerWasmLoading){const e=u;m(t.workerWasmLoading,{instancePath:r+\"/workerWasmLoading\",parentData:t,parentDataProperty:\"workerWasmLoading\",rootData:a})||(l=null===l?m.errors:l.concat(m.errors),u=l.length),y=e===u}else y=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return xe.errors=l,0===u}function ke(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(!1!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const t=a;if(a==a)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=a;for(const t in e)if(\"assetFilter\"!==t&&\"hints\"!==t&&\"maxAssetSize\"!==t&&\"maxEntrypointSize\"!==t){const e={params:{additionalProperty:t}};null===o?o=[e]:o.push(e),a++;break}if(t===a){if(void 0!==e.assetFilter){const t=a;if(!(e.assetFilter instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=t===a}else f=!0;if(f){if(void 0!==e.hints){let t=e.hints;const n=a;if(!1!==t&&\"warning\"!==t&&\"error\"!==t){const e={params:{}};null===o?o=[e]:o.push(e),a++}f=n===a}else f=!0;if(f){if(void 0!==e.maxAssetSize){const t=a;if(\"number\"!=typeof e.maxAssetSize){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}f=t===a}else f=!0;if(f)if(void 0!==e.maxEntrypointSize){const t=a;if(\"number\"!=typeof e.maxEntrypointSize){const e={params:{type:\"number\"}};null===o?o=[e]:o.push(e),a++}f=t===a}else f=!0}}}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}u=t===a,l=l||u}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,ke.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),ke.errors=o,0===a}function je(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;if(0===a){if(!Array.isArray(e))return je.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=a,s=a;let l=!1;const p=a;if(a==a)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let e;if(void 0===t.apply&&(e=\"apply\")){const t={params:{missingProperty:e}};null===o?o=[t]:o.push(t),a++}else if(void 0!==t.apply&&!(t.apply instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"object\"}};null===o?o=[e]:o.push(e),a++}var i=p===a;if(l=l||i,!l){const e=a;if(!(t instanceof Function)){const e={params:{}};null===o?o=[e]:o.push(e),a++}i=e===a,l=l||i}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,je.errors=o,!1}if(a=s,null!==o&&(s?o.length=s:o=null),r!==a)break}}}return je.errors=o,0===a}function Se(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1,p=null;const u=a;if(W(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?W.errors:o.concat(W.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,Se.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),Se.errors=o,0===a}function Ce(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1,p=null;const u=a;if(W(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?W.errors:o.concat(W.errors),a=o.length),u===a&&(l=!0,p=0),!l){const e={params:{passingSchemas:p}};return null===o?o=[e]:o.push(e),a++,Ce.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),Ce.errors=o,0===a}const Oe={all:{type:\"boolean\"},assets:{type:\"boolean\"},assetsSort:{type:\"string\"},assetsSpace:{type:\"number\"},builtAt:{type:\"boolean\"},cached:{type:\"boolean\"},cachedAssets:{type:\"boolean\"},cachedModules:{type:\"boolean\"},children:{type:\"boolean\"},chunkGroupAuxiliary:{type:\"boolean\"},chunkGroupChildren:{type:\"boolean\"},chunkGroupMaxAssets:{type:\"number\"},chunkGroups:{type:\"boolean\"},chunkModules:{type:\"boolean\"},chunkModulesSpace:{type:\"number\"},chunkOrigins:{type:\"boolean\"},chunkRelations:{type:\"boolean\"},chunks:{type:\"boolean\"},chunksSort:{type:\"string\"},colors:{anyOf:[{type:\"boolean\"},{type:\"object\",additionalProperties:!1,properties:{bold:{type:\"string\"},cyan:{type:\"string\"},green:{type:\"string\"},magenta:{type:\"string\"},red:{type:\"string\"},yellow:{type:\"string\"}}}]},context:{type:\"string\",absolutePath:!0},dependentModules:{type:\"boolean\"},depth:{type:\"boolean\"},entrypoints:{anyOf:[{enum:[\"auto\"]},{type:\"boolean\"}]},env:{type:\"boolean\"},errorDetails:{anyOf:[{enum:[\"auto\"]},{type:\"boolean\"}]},errorStack:{type:\"boolean\"},errors:{type:\"boolean\"},errorsCount:{type:\"boolean\"},exclude:{anyOf:[{type:\"boolean\"},{$ref:\"#/definitions/ModuleFilterTypes\"}]},excludeAssets:{oneOf:[{$ref:\"#/definitions/AssetFilterTypes\"}]},excludeModules:{anyOf:[{type:\"boolean\"},{$ref:\"#/definitions/ModuleFilterTypes\"}]},groupAssetsByChunk:{type:\"boolean\"},groupAssetsByEmitStatus:{type:\"boolean\"},groupAssetsByExtension:{type:\"boolean\"},groupAssetsByInfo:{type:\"boolean\"},groupAssetsByPath:{type:\"boolean\"},groupModulesByAttributes:{type:\"boolean\"},groupModulesByCacheStatus:{type:\"boolean\"},groupModulesByExtension:{type:\"boolean\"},groupModulesByLayer:{type:\"boolean\"},groupModulesByPath:{type:\"boolean\"},groupModulesByType:{type:\"boolean\"},groupReasonsByOrigin:{type:\"boolean\"},hash:{type:\"boolean\"},ids:{type:\"boolean\"},logging:{anyOf:[{enum:[\"none\",\"error\",\"warn\",\"info\",\"log\",\"verbose\"]},{type:\"boolean\"}]},loggingDebug:{anyOf:[{type:\"boolean\"},{$ref:\"#/definitions/FilterTypes\"}]},loggingTrace:{type:\"boolean\"},moduleAssets:{type:\"boolean\"},moduleTrace:{type:\"boolean\"},modules:{type:\"boolean\"},modulesSort:{type:\"string\"},modulesSpace:{type:\"number\"},nestedModules:{type:\"boolean\"},nestedModulesSpace:{type:\"number\"},optimizationBailout:{type:\"boolean\"},orphanModules:{type:\"boolean\"},outputPath:{type:\"boolean\"},performance:{type:\"boolean\"},preset:{anyOf:[{type:\"boolean\"},{type:\"string\"}]},providedExports:{type:\"boolean\"},publicPath:{type:\"boolean\"},reasons:{type:\"boolean\"},reasonsSpace:{type:\"number\"},relatedAssets:{type:\"boolean\"},runtime:{type:\"boolean\"},runtimeModules:{type:\"boolean\"},source:{type:\"boolean\"},timings:{type:\"boolean\"},usedExports:{type:\"boolean\"},version:{type:\"boolean\"},warnings:{type:\"boolean\"},warningsCount:{type:\"boolean\"},warningsFilter:{oneOf:[{$ref:\"#/definitions/WarningFilterTypes\"}]}};function Fe(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(i===u)if(Array.isArray(t)){const n=t.length;for(let r=0;r<n;r++){let n=t[r];const s=i,o=i;let l=!1,p=null;const u=i,c=i;let m=!1;const y=i;if(!(n instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=y===i;if(m=m||f,!m){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(f=t===i,m=m||f,!m){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=e===i,m=m||f}}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(u===i&&(l=!0,p=0),l)i=o,null!==a&&(o?a.length=o:a=null);else{const e={params:{passingSchemas:p}};null===a?a=[e]:a.push(e),i++}if(s!==i)break}}else{const e={params:{type:\"array\"}};null===a?a=[e]:a.push(e),i++}var c=u===i;if(p=p||c,!p){const n=i,r=i;let s=!1;const o=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var m=o===i;if(s=s||m,!s){const n=i;if(i===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(m=n===i,s=s||m,!s){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=e===i,s=s||m}}if(s)i=r,null!==a&&(r?a.length=r:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}c=n===i,p=p||c}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Fe.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),Fe.errors=a,0===i}function Re(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(i===u)if(Array.isArray(t)){const n=t.length;for(let r=0;r<n;r++){let n=t[r];const s=i,o=i;let l=!1,p=null;const u=i,c=i;let m=!1;const y=i;if(!(n instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=y===i;if(m=m||f,!m){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(f=t===i,m=m||f,!m){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=e===i,m=m||f}}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(u===i&&(l=!0,p=0),l)i=o,null!==a&&(o?a.length=o:a=null);else{const e={params:{passingSchemas:p}};null===a?a=[e]:a.push(e),i++}if(s!==i)break}}else{const e={params:{type:\"array\"}};null===a?a=[e]:a.push(e),i++}var c=u===i;if(p=p||c,!p){const n=i,r=i;let s=!1;const o=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var m=o===i;if(s=s||m,!s){const n=i;if(i===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(m=n===i,s=s||m,!s){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=e===i,s=s||m}}if(s)i=r,null!==a&&(r?a.length=r:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}c=n===i,p=p||c}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Re.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),Re.errors=a,0===i}function Ee(t,{instancePath:n=\"\",parentData:r,parentDataProperty:s,rootData:o=t}={}){let a=null,i=0;const l=i;let p=!1;const u=i;if(i===u)if(Array.isArray(t)){const n=t.length;for(let r=0;r<n;r++){let n=t[r];const s=i,o=i;let l=!1,p=null;const u=i,c=i;let m=!1;const y=i;if(!(n instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var f=y===i;if(m=m||f,!m){const t=i;if(i===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(f=t===i,m=m||f,!m){const e=i;if(!(n instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}f=e===i,m=m||f}}if(m)i=c,null!==a&&(c?a.length=c:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}if(u===i&&(l=!0,p=0),l)i=o,null!==a&&(o?a.length=o:a=null);else{const e={params:{passingSchemas:p}};null===a?a=[e]:a.push(e),i++}if(s!==i)break}}else{const e={params:{type:\"array\"}};null===a?a=[e]:a.push(e),i++}var c=u===i;if(p=p||c,!p){const n=i,r=i;let s=!1;const o=i;if(!(t instanceof RegExp)){const e={params:{}};null===a?a=[e]:a.push(e),i++}var m=o===i;if(s=s||m,!s){const n=i;if(i===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!1!==e.test(t)){const e={params:{}};null===a?a=[e]:a.push(e),i++}}else{const e={params:{type:\"string\"}};null===a?a=[e]:a.push(e),i++}if(m=n===i,s=s||m,!s){const e=i;if(!(t instanceof Function)){const e={params:{}};null===a?a=[e]:a.push(e),i++}m=e===i,s=s||m}}if(s)i=r,null!==a&&(r?a.length=r:a=null);else{const e={params:{}};null===a?a=[e]:a.push(e),i++}c=n===i,p=p||c}if(!p){const e={params:{}};return null===a?a=[e]:a.push(e),i++,Ee.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),Ee.errors=a,0===i}function $e(t,{instancePath:r=\"\",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return $e.errors=[{params:{type:\"object\"}}],!1;{const s=l;for(const e in t)if(!n.call(Oe,e))return $e.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==t.all){const e=l;if(\"boolean\"!=typeof t.all)return $e.errors=[{params:{type:\"boolean\"}}],!1;var p=e===l}else p=!0;if(p){if(void 0!==t.assets){const e=l;if(\"boolean\"!=typeof t.assets)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.assetsSort){const e=l;if(\"string\"!=typeof t.assetsSort)return $e.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.assetsSpace){const e=l;if(\"number\"!=typeof t.assetsSpace)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.builtAt){const e=l;if(\"boolean\"!=typeof t.builtAt)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.cached){const e=l;if(\"boolean\"!=typeof t.cached)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.cachedAssets){const e=l;if(\"boolean\"!=typeof t.cachedAssets)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.cachedModules){const e=l;if(\"boolean\"!=typeof t.cachedModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.children){const e=l;if(\"boolean\"!=typeof t.children)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkGroupAuxiliary){const e=l;if(\"boolean\"!=typeof t.chunkGroupAuxiliary)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkGroupChildren){const e=l;if(\"boolean\"!=typeof t.chunkGroupChildren)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkGroupMaxAssets){const e=l;if(\"number\"!=typeof t.chunkGroupMaxAssets)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkGroups){const e=l;if(\"boolean\"!=typeof t.chunkGroups)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkModules){const e=l;if(\"boolean\"!=typeof t.chunkModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkModulesSpace){const e=l;if(\"number\"!=typeof t.chunkModulesSpace)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkOrigins){const e=l;if(\"boolean\"!=typeof t.chunkOrigins)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunkRelations){const e=l;if(\"boolean\"!=typeof t.chunkRelations)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunks){const e=l;if(\"boolean\"!=typeof t.chunks)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.chunksSort){const e=l;if(\"string\"!=typeof t.chunksSort)return $e.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.colors){let e=t.colors;const n=l,r=l;let s=!1;const o=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var u=o===l;if(s=s||u,!s){const t=l;if(l===t)if(e&&\"object\"==typeof e&&!Array.isArray(e)){const t=l;for(const t in e)if(\"bold\"!==t&&\"cyan\"!==t&&\"green\"!==t&&\"magenta\"!==t&&\"red\"!==t&&\"yellow\"!==t){const e={params:{additionalProperty:t}};null===i?i=[e]:i.push(e),l++;break}if(t===l){if(void 0!==e.bold){const t=l;if(\"string\"!=typeof e.bold){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}var f=t===l}else f=!0;if(f){if(void 0!==e.cyan){const t=l;if(\"string\"!=typeof e.cyan){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}f=t===l}else f=!0;if(f){if(void 0!==e.green){const t=l;if(\"string\"!=typeof e.green){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}f=t===l}else f=!0;if(f){if(void 0!==e.magenta){const t=l;if(\"string\"!=typeof e.magenta){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}f=t===l}else f=!0;if(f){if(void 0!==e.red){const t=l;if(\"string\"!=typeof e.red){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}f=t===l}else f=!0;if(f)if(void 0!==e.yellow){const t=l;if(\"string\"!=typeof e.yellow){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}f=t===l}else f=!0}}}}}}else{const e={params:{type:\"object\"}};null===i?i=[e]:i.push(e),l++}u=t===l,s=s||u}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.context){let n=t.context;const r=l;if(l===r){if(\"string\"!=typeof n)return $e.errors=[{params:{type:\"string\"}}],!1;if(n.includes(\"!\")||!0!==e.test(n))return $e.errors=[{params:{}}],!1}p=r===l}else p=!0;if(p){if(void 0!==t.dependentModules){const e=l;if(\"boolean\"!=typeof t.dependentModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.depth){const e=l;if(\"boolean\"!=typeof t.depth)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.entrypoints){let e=t.entrypoints;const n=l,r=l;let s=!1;const o=l;if(\"auto\"!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var c=o===l;if(s=s||c,!s){const t=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}c=t===l,s=s||c}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.env){const e=l;if(\"boolean\"!=typeof t.env)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.errorDetails){let e=t.errorDetails;const n=l,r=l;let s=!1;const o=l;if(\"auto\"!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var m=o===l;if(s=s||m,!s){const t=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}m=t===l,s=s||m}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.errorStack){const e=l;if(\"boolean\"!=typeof t.errorStack)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.errors){const e=l;if(\"boolean\"!=typeof t.errors)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.errorsCount){const e=l;if(\"boolean\"!=typeof t.errorsCount)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.exclude){let e=t.exclude;const n=l,s=l;let o=!1;const u=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var y=u===l;if(o=o||y,!o){const n=l;Fe(e,{instancePath:r+\"/exclude\",parentData:t,parentDataProperty:\"exclude\",rootData:a})||(i=null===i?Fe.errors:i.concat(Fe.errors),l=i.length),y=n===l,o=o||y}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.excludeAssets){const e=l,n=l;let s=!1,o=null;const u=l;if(Re(t.excludeAssets,{instancePath:r+\"/excludeAssets\",parentData:t,parentDataProperty:\"excludeAssets\",rootData:a})||(i=null===i?Re.errors:i.concat(Re.errors),l=i.length),u===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=n,null!==i&&(n?i.length=n:i=null),p=e===l}else p=!0;if(p){if(void 0!==t.excludeModules){let e=t.excludeModules;const n=l,s=l;let o=!1;const u=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var h=u===l;if(o=o||h,!o){const n=l;Fe(e,{instancePath:r+\"/excludeModules\",parentData:t,parentDataProperty:\"excludeModules\",rootData:a})||(i=null===i?Fe.errors:i.concat(Fe.errors),l=i.length),h=n===l,o=o||h}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.groupAssetsByChunk){const e=l;if(\"boolean\"!=typeof t.groupAssetsByChunk)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupAssetsByEmitStatus){const e=l;if(\"boolean\"!=typeof t.groupAssetsByEmitStatus)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupAssetsByExtension){const e=l;if(\"boolean\"!=typeof t.groupAssetsByExtension)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupAssetsByInfo){const e=l;if(\"boolean\"!=typeof t.groupAssetsByInfo)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupAssetsByPath){const e=l;if(\"boolean\"!=typeof t.groupAssetsByPath)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByAttributes){const e=l;if(\"boolean\"!=typeof t.groupModulesByAttributes)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByCacheStatus){const e=l;if(\"boolean\"!=typeof t.groupModulesByCacheStatus)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByExtension){const e=l;if(\"boolean\"!=typeof t.groupModulesByExtension)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByLayer){const e=l;if(\"boolean\"!=typeof t.groupModulesByLayer)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByPath){const e=l;if(\"boolean\"!=typeof t.groupModulesByPath)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupModulesByType){const e=l;if(\"boolean\"!=typeof t.groupModulesByType)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.groupReasonsByOrigin){const e=l;if(\"boolean\"!=typeof t.groupReasonsByOrigin)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.hash){const e=l;if(\"boolean\"!=typeof t.hash)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.ids){const e=l;if(\"boolean\"!=typeof t.ids)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.logging){let e=t.logging;const n=l,r=l;let s=!1;const o=l;if(\"none\"!==e&&\"error\"!==e&&\"warn\"!==e&&\"info\"!==e&&\"log\"!==e&&\"verbose\"!==e){const e={params:{}};null===i?i=[e]:i.push(e),l++}var d=o===l;if(s=s||d,!s){const t=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}d=t===l,s=s||d}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.loggingDebug){let e=t.loggingDebug;const n=l,s=l;let o=!1;const u=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var g=u===l;if(o=o||g,!o){const n=l;O(e,{instancePath:r+\"/loggingDebug\",parentData:t,parentDataProperty:\"loggingDebug\",rootData:a})||(i=null===i?O.errors:i.concat(O.errors),l=i.length),g=n===l,o=o||g}if(!o){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=s,null!==i&&(s?i.length=s:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.loggingTrace){const e=l;if(\"boolean\"!=typeof t.loggingTrace)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.moduleAssets){const e=l;if(\"boolean\"!=typeof t.moduleAssets)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.moduleTrace){const e=l;if(\"boolean\"!=typeof t.moduleTrace)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.modules){const e=l;if(\"boolean\"!=typeof t.modules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.modulesSort){const e=l;if(\"string\"!=typeof t.modulesSort)return $e.errors=[{params:{type:\"string\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.modulesSpace){const e=l;if(\"number\"!=typeof t.modulesSpace)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.nestedModules){const e=l;if(\"boolean\"!=typeof t.nestedModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.nestedModulesSpace){const e=l;if(\"number\"!=typeof t.nestedModulesSpace)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.optimizationBailout){const e=l;if(\"boolean\"!=typeof t.optimizationBailout)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.orphanModules){const e=l;if(\"boolean\"!=typeof t.orphanModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.outputPath){const e=l;if(\"boolean\"!=typeof t.outputPath)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.performance){const e=l;if(\"boolean\"!=typeof t.performance)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.preset){let e=t.preset;const n=l,r=l;let s=!1;const o=l;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===i?i=[e]:i.push(e),l++}var b=o===l;if(s=s||b,!s){const t=l;if(\"string\"!=typeof e){const e={params:{type:\"string\"}};null===i?i=[e]:i.push(e),l++}b=t===l,s=s||b}if(!s){const e={params:{}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=r,null!==i&&(r?i.length=r:i=null),p=n===l}else p=!0;if(p){if(void 0!==t.providedExports){const e=l;if(\"boolean\"!=typeof t.providedExports)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.publicPath){const e=l;if(\"boolean\"!=typeof t.publicPath)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.reasons){const e=l;if(\"boolean\"!=typeof t.reasons)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.reasonsSpace){const e=l;if(\"number\"!=typeof t.reasonsSpace)return $e.errors=[{params:{type:\"number\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.relatedAssets){const e=l;if(\"boolean\"!=typeof t.relatedAssets)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.runtime){const e=l;if(\"boolean\"!=typeof t.runtime)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.runtimeModules){const e=l;if(\"boolean\"!=typeof t.runtimeModules)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.source){const e=l;if(\"boolean\"!=typeof t.source)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.timings){const e=l;if(\"boolean\"!=typeof t.timings)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.usedExports){const e=l;if(\"boolean\"!=typeof t.usedExports)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.version){const e=l;if(\"boolean\"!=typeof t.version)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.warnings){const e=l;if(\"boolean\"!=typeof t.warnings)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p){if(void 0!==t.warningsCount){const e=l;if(\"boolean\"!=typeof t.warningsCount)return $e.errors=[{params:{type:\"boolean\"}}],!1;p=e===l}else p=!0;if(p)if(void 0!==t.warningsFilter){const e=l,n=l;let s=!1,o=null;const u=l;if(Ee(t.warningsFilter,{instancePath:r+\"/warningsFilter\",parentData:t,parentDataProperty:\"warningsFilter\",rootData:a})||(i=null===i?Ee.errors:i.concat(Ee.errors),l=i.length),u===l&&(s=!0,o=0),!s){const e={params:{passingSchemas:o}};return null===i?i=[e]:i.push(e),l++,$e.errors=i,!1}l=n,null!==i&&(n?i.length=n:i=null),p=e===l}else p=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return $e.errors=i,0===l}function ze(e,{instancePath:t=\"\",parentData:n,parentDataProperty:r,rootData:s=e}={}){let o=null,a=0;const i=a;let l=!1;const p=a;if(\"none\"!==e&&\"summary\"!==e&&\"errors-only\"!==e&&\"errors-warnings\"!==e&&\"minimal\"!==e&&\"normal\"!==e&&\"detailed\"!==e&&\"verbose\"!==e){const e={params:{}};null===o?o=[e]:o.push(e),a++}var u=p===a;if(l=l||u,!l){const i=a;if(\"boolean\"!=typeof e){const e={params:{type:\"boolean\"}};null===o?o=[e]:o.push(e),a++}if(u=i===a,l=l||u,!l){const i=a;$e(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:s})||(o=null===o?$e.errors:o.concat($e.errors),a=o.length),u=i===a,l=l||u}}if(!l){const e={params:{}};return null===o?o=[e]:o.push(e),a++,ze.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),ze.errors=o,0===a}const Le=new RegExp(\"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$\",\"u\");function we(r,{instancePath:s=\"\",parentData:a,parentDataProperty:i,rootData:l=r}={}){let p=null,u=0;if(0===u){if(!r||\"object\"!=typeof r||Array.isArray(r))return we.errors=[{params:{type:\"object\"}}],!1;{const a=u;for(const e in r)if(!n.call(t,e))return we.errors=[{params:{additionalProperty:e}}],!1;if(a===u){if(void 0!==r.amd){let e=r.amd;const t=u,n=u;let s=!1;const o=u;if(!1!==e){const e={params:{}};null===p?p=[e]:p.push(e),u++}var f=o===u;if(s=s||f,!s){const t=u;if(!e||\"object\"!=typeof e||Array.isArray(e)){const e={params:{type:\"object\"}};null===p?p=[e]:p.push(e),u++}f=t===u,s=s||f}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=n,null!==p&&(n?p.length=n:p=null);var c=t===u}else c=!0;if(c){if(void 0!==r.bail){const e=u;if(\"boolean\"!=typeof r.bail)return we.errors=[{params:{type:\"boolean\"}}],!1;c=e===u}else c=!0;if(c){if(void 0!==r.cache){const e=u;o(r.cache,{instancePath:s+\"/cache\",parentData:r,parentDataProperty:\"cache\",rootData:l})||(p=null===p?o.errors:p.concat(o.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.context){let t=r.context;const n=u;if(u==u){if(\"string\"!=typeof t)return we.errors=[{params:{type:\"string\"}}],!1;if(t.includes(\"!\")||!0!==e.test(t))return we.errors=[{params:{}}],!1}c=n===u}else c=!0;if(c){if(void 0!==r.dependencies){let e=r.dependencies;const t=u;if(u==u){if(!Array.isArray(e))return we.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){const t=u;if(\"string\"!=typeof e[n])return we.errors=[{params:{type:\"string\"}}],!1;if(t!==u)break}}}c=t===u}else c=!0;if(c){if(void 0!==r.devServer){let e=r.devServer;const t=u;if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;c=t===u}else c=!0;if(c){if(void 0!==r.devtool){let e=r.devtool;const t=u,n=u;let s=!1;const o=u;if(!1!==e&&\"eval\"!==e){const e={params:{}};null===p?p=[e]:p.push(e),u++}var m=o===u;if(s=s||m,!s){const t=u;if(u===t)if(\"string\"==typeof e){if(!Le.test(e)){const e={params:{pattern:\"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$\"}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}m=t===u,s=s||m}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=n,null!==p&&(n?p.length=n:p=null),c=t===u}else c=!0;if(c){if(void 0!==r.entry){const e=u;b(r.entry,{instancePath:s+\"/entry\",parentData:r,parentDataProperty:\"entry\",rootData:l})||(p=null===p?b.errors:p.concat(b.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.experiments){const e=u;k(r.experiments,{instancePath:s+\"/experiments\",parentData:r,parentDataProperty:\"experiments\",rootData:l})||(p=null===p?k.errors:p.concat(k.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.externals){const e=u;C(r.externals,{instancePath:s+\"/externals\",parentData:r,parentDataProperty:\"externals\",rootData:l})||(p=null===p?C.errors:p.concat(C.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.externalsPresets){let e=r.externalsPresets;const t=u;if(u==u){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"electron\"!==t&&\"electronMain\"!==t&&\"electronPreload\"!==t&&\"electronRenderer\"!==t&&\"node\"!==t&&\"nwjs\"!==t&&\"web\"!==t&&\"webAsync\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.electron){const t=u;if(\"boolean\"!=typeof e.electron)return we.errors=[{params:{type:\"boolean\"}}],!1;var y=t===u}else y=!0;if(y){if(void 0!==e.electronMain){const t=u;if(\"boolean\"!=typeof e.electronMain)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y){if(void 0!==e.electronPreload){const t=u;if(\"boolean\"!=typeof e.electronPreload)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y){if(void 0!==e.electronRenderer){const t=u;if(\"boolean\"!=typeof e.electronRenderer)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y){if(void 0!==e.node){const t=u;if(\"boolean\"!=typeof e.node)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y){if(void 0!==e.nwjs){const t=u;if(\"boolean\"!=typeof e.nwjs)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y){if(void 0!==e.web){const t=u;if(\"boolean\"!=typeof e.web)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0;if(y)if(void 0!==e.webAsync){const t=u;if(\"boolean\"!=typeof e.webAsync)return we.errors=[{params:{type:\"boolean\"}}],!1;y=t===u}else y=!0}}}}}}}}}c=t===u}else c=!0;if(c){if(void 0!==r.externalsType){let e=r.externalsType;const t=u;if(\"var\"!==e&&\"module\"!==e&&\"assign\"!==e&&\"this\"!==e&&\"window\"!==e&&\"self\"!==e&&\"global\"!==e&&\"commonjs\"!==e&&\"commonjs2\"!==e&&\"commonjs-module\"!==e&&\"commonjs-static\"!==e&&\"amd\"!==e&&\"amd-require\"!==e&&\"umd\"!==e&&\"umd2\"!==e&&\"jsonp\"!==e&&\"system\"!==e&&\"promise\"!==e&&\"import\"!==e&&\"script\"!==e&&\"node-commonjs\"!==e)return we.errors=[{params:{}}],!1;c=t===u}else c=!0;if(c){if(void 0!==r.ignoreWarnings){let e=r.ignoreWarnings;const t=u;if(u==u){if(!Array.isArray(e))return we.errors=[{params:{type:\"array\"}}],!1;{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=u,s=u;let o=!1;const a=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var h=a===u;if(o=o||h,!o){const e=u;if(u===e)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const e=u;for(const e in t)if(\"file\"!==e&&\"message\"!==e&&\"module\"!==e){const t={params:{additionalProperty:e}};null===p?p=[t]:p.push(t),u++;break}if(e===u){if(void 0!==t.file){const e=u;if(!(t.file instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var d=e===u}else d=!0;if(d){if(void 0!==t.message){const e=u;if(!(t.message instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0;if(d)if(void 0!==t.module){const e=u;if(!(t.module instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}d=e===u}else d=!0}}}else{const e={params:{type:\"object\"}};null===p?p=[e]:p.push(e),u++}if(h=e===u,o=o||h,!o){const e=u;if(!(t instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),u++}h=e===u,o=o||h}}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}if(u=s,null!==p&&(s?p.length=s:p=null),r!==u)break}}}c=t===u}else c=!0;if(c){if(void 0!==r.infrastructureLogging){const e=u;F(r.infrastructureLogging,{instancePath:s+\"/infrastructureLogging\",parentData:r,parentDataProperty:\"infrastructureLogging\",rootData:l})||(p=null===p?F.errors:p.concat(F.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.loader){let e=r.loader;const t=u;if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;c=t===u}else c=!0;if(c){if(void 0!==r.mode){let e=r.mode;const t=u;if(\"development\"!==e&&\"production\"!==e&&\"none\"!==e)return we.errors=[{params:{}}],!1;c=t===u}else c=!0;if(c){if(void 0!==r.module){const e=u;oe(r.module,{instancePath:s+\"/module\",parentData:r,parentDataProperty:\"module\",rootData:l})||(p=null===p?oe.errors:p.concat(oe.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.name){const e=u;if(\"string\"!=typeof r.name)return we.errors=[{params:{type:\"string\"}}],!1;c=e===u}else c=!0;if(c){if(void 0!==r.node){const e=u;ne(r.node,{instancePath:s+\"/node\",parentData:r,parentDataProperty:\"node\",rootData:l})||(p=null===p?ne.errors:p.concat(ne.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.optimization){const e=u;fe(r.optimization,{instancePath:s+\"/optimization\",parentData:r,parentDataProperty:\"optimization\",rootData:l})||(p=null===p?fe.errors:p.concat(fe.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.output){const e=u;xe(r.output,{instancePath:s+\"/output\",parentData:r,parentDataProperty:\"output\",rootData:l})||(p=null===p?xe.errors:p.concat(xe.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.parallelism){let e=r.parallelism;const t=u;if(u==u){if(\"number\"!=typeof e)return we.errors=[{params:{type:\"number\"}}],!1;if(e<1||isNaN(e))return we.errors=[{params:{comparison:\">=\",limit:1}}],!1}c=t===u}else c=!0;if(c){if(void 0!==r.performance){const e=u;ke(r.performance,{instancePath:s+\"/performance\",parentData:r,parentDataProperty:\"performance\",rootData:l})||(p=null===p?ke.errors:p.concat(ke.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.plugins){const e=u;je(r.plugins,{instancePath:s+\"/plugins\",parentData:r,parentDataProperty:\"plugins\",rootData:l})||(p=null===p?je.errors:p.concat(je.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.profile){const e=u;if(\"boolean\"!=typeof r.profile)return we.errors=[{params:{type:\"boolean\"}}],!1;c=e===u}else c=!0;if(c){if(void 0!==r.recordsInputPath){let t=r.recordsInputPath;const n=u,s=u;let o=!1;const a=u;if(!1!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var g=a===u;if(o=o||g,!o){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}g=n===u,o=o||g}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=s,null!==p&&(s?p.length=s:p=null),c=n===u}else c=!0;if(c){if(void 0!==r.recordsOutputPath){let t=r.recordsOutputPath;const n=u,s=u;let o=!1;const a=u;if(!1!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var v=a===u;if(o=o||v,!o){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}v=n===u,o=o||v}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=s,null!==p&&(s?p.length=s:p=null),c=n===u}else c=!0;if(c){if(void 0!==r.recordsPath){let t=r.recordsPath;const n=u,s=u;let o=!1;const a=u;if(!1!==t){const e={params:{}};null===p?p=[e]:p.push(e),u++}var D=a===u;if(o=o||D,!o){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}D=n===u,o=o||D}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=s,null!==p&&(s?p.length=s:p=null),c=n===u}else c=!0;if(c){if(void 0!==r.resolve){const e=u;Se(r.resolve,{instancePath:s+\"/resolve\",parentData:r,parentDataProperty:\"resolve\",rootData:l})||(p=null===p?Se.errors:p.concat(Se.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.resolveLoader){const e=u;Ce(r.resolveLoader,{instancePath:s+\"/resolveLoader\",parentData:r,parentDataProperty:\"resolveLoader\",rootData:l})||(p=null===p?Ce.errors:p.concat(Ce.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.snapshot){let t=r.snapshot;const n=u;if(u==u){if(!t||\"object\"!=typeof t||Array.isArray(t))return we.errors=[{params:{type:\"object\"}}],!1;{const n=u;for(const e in t)if(\"buildDependencies\"!==e&&\"immutablePaths\"!==e&&\"managedPaths\"!==e&&\"module\"!==e&&\"resolve\"!==e&&\"resolveBuildDependencies\"!==e)return we.errors=[{params:{additionalProperty:e}}],!1;if(n===u){if(void 0!==t.buildDependencies){let e=t.buildDependencies;const n=u;if(u===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"hash\"!==t&&\"timestamp\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.hash){const t=u;if(\"boolean\"!=typeof e.hash)return we.errors=[{params:{type:\"boolean\"}}],!1;var P=t===u}else P=!0;if(P)if(void 0!==e.timestamp){const t=u;if(\"boolean\"!=typeof e.timestamp)return we.errors=[{params:{type:\"boolean\"}}],!1;P=t===u}else P=!0}}}var A=n===u}else A=!0;if(A){if(void 0!==t.immutablePaths){let n=t.immutablePaths;const r=u;if(u===r){if(!Array.isArray(n))return we.errors=[{params:{type:\"array\"}}],!1;{const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=u,o=u;let a=!1;const i=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var x=i===u;if(a=a||x,!a){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}else if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}x=n===u,a=a||x}if(!a){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}if(u=o,null!==p&&(o?p.length=o:p=null),s!==u)break}}}A=r===u}else A=!0;if(A){if(void 0!==t.managedPaths){let n=t.managedPaths;const r=u;if(u===r){if(!Array.isArray(n))return we.errors=[{params:{type:\"array\"}}],!1;{const t=n.length;for(let r=0;r<t;r++){let t=n[r];const s=u,o=u;let a=!1;const i=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}var j=i===u;if(a=a||j,!a){const n=u;if(u===n)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==e.test(t)){const e={params:{}};null===p?p=[e]:p.push(e),u++}else if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}j=n===u,a=a||j}if(!a){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}if(u=o,null!==p&&(o?p.length=o:p=null),s!==u)break}}}A=r===u}else A=!0;if(A){if(void 0!==t.module){let e=t.module;const n=u;if(u===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"hash\"!==t&&\"timestamp\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.hash){const t=u;if(\"boolean\"!=typeof e.hash)return we.errors=[{params:{type:\"boolean\"}}],!1;var S=t===u}else S=!0;if(S)if(void 0!==e.timestamp){const t=u;if(\"boolean\"!=typeof e.timestamp)return we.errors=[{params:{type:\"boolean\"}}],!1;S=t===u}else S=!0}}}A=n===u}else A=!0;if(A){if(void 0!==t.resolve){let e=t.resolve;const n=u;if(u===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"hash\"!==t&&\"timestamp\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.hash){const t=u;if(\"boolean\"!=typeof e.hash)return we.errors=[{params:{type:\"boolean\"}}],!1;var O=t===u}else O=!0;if(O)if(void 0!==e.timestamp){const t=u;if(\"boolean\"!=typeof e.timestamp)return we.errors=[{params:{type:\"boolean\"}}],!1;O=t===u}else O=!0}}}A=n===u}else A=!0;if(A)if(void 0!==t.resolveBuildDependencies){let e=t.resolveBuildDependencies;const n=u;if(u===n){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"hash\"!==t&&\"timestamp\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.hash){const t=u;if(\"boolean\"!=typeof e.hash)return we.errors=[{params:{type:\"boolean\"}}],!1;var R=t===u}else R=!0;if(R)if(void 0!==e.timestamp){const t=u;if(\"boolean\"!=typeof e.timestamp)return we.errors=[{params:{type:\"boolean\"}}],!1;R=t===u}else R=!0}}}A=n===u}else A=!0}}}}}}}c=n===u}else c=!0;if(c){if(void 0!==r.stats){const e=u;ze(r.stats,{instancePath:s+\"/stats\",parentData:r,parentDataProperty:\"stats\",rootData:l})||(p=null===p?ze.errors:p.concat(ze.errors),u=p.length),c=e===u}else c=!0;if(c){if(void 0!==r.target){let e=r.target;const t=u,n=u;let s=!1;const o=u;if(u===o)if(Array.isArray(e))if(e.length<1){const e={params:{limit:1}};null===p?p=[e]:p.push(e),u++}else{const t=e.length;for(let n=0;n<t;n++){let t=e[n];const r=u;if(u===r)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}if(r!==u)break}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}var E=o===u;if(s=s||E,!s){const t=u;if(!1!==e){const e={params:{}};null===p?p=[e]:p.push(e),u++}if(E=t===u,s=s||E,!s){const t=u;if(u===t)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}E=t===u,s=s||E}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=n,null!==p&&(n?p.length=n:p=null),c=t===u}else c=!0;if(c){if(void 0!==r.watch){const e=u;if(\"boolean\"!=typeof r.watch)return we.errors=[{params:{type:\"boolean\"}}],!1;c=e===u}else c=!0;if(c)if(void 0!==r.watchOptions){let e=r.watchOptions;const t=u;if(u==u){if(!e||\"object\"!=typeof e||Array.isArray(e))return we.errors=[{params:{type:\"object\"}}],!1;{const t=u;for(const t in e)if(\"aggregateTimeout\"!==t&&\"followSymlinks\"!==t&&\"ignored\"!==t&&\"poll\"!==t&&\"stdin\"!==t)return we.errors=[{params:{additionalProperty:t}}],!1;if(t===u){if(void 0!==e.aggregateTimeout){const t=u;if(\"number\"!=typeof e.aggregateTimeout)return we.errors=[{params:{type:\"number\"}}],!1;var $=t===u}else $=!0;if($){if(void 0!==e.followSymlinks){const t=u;if(\"boolean\"!=typeof e.followSymlinks)return we.errors=[{params:{type:\"boolean\"}}],!1;$=t===u}else $=!0;if($){if(void 0!==e.ignored){let t=e.ignored;const n=u,r=u;let s=!1;const o=u;if(u===o)if(Array.isArray(t)){const e=t.length;for(let n=0;n<e;n++){let e=t[n];const r=u;if(u===r)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}if(r!==u)break}}else{const e={params:{type:\"array\"}};null===p?p=[e]:p.push(e),u++}var z=o===u;if(s=s||z,!s){const e=u;if(!(t instanceof RegExp)){const e={params:{}};null===p?p=[e]:p.push(e),u++}if(z=e===u,s=s||z,!s){const e=u;if(u===e)if(\"string\"==typeof t){if(t.length<1){const e={params:{}};null===p?p=[e]:p.push(e),u++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),u++}z=e===u,s=s||z}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),$=n===u}else $=!0;if($){if(void 0!==e.poll){let t=e.poll;const n=u,r=u;let s=!1;const o=u;if(\"number\"!=typeof t){const e={params:{type:\"number\"}};null===p?p=[e]:p.push(e),u++}var L=o===u;if(s=s||L,!s){const e=u;if(\"boolean\"!=typeof t){const e={params:{type:\"boolean\"}};null===p?p=[e]:p.push(e),u++}L=e===u,s=s||L}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),u++,we.errors=p,!1}u=r,null!==p&&(r?p.length=r:p=null),$=n===u}else $=!0;if($)if(void 0!==e.stdin){const t=u;if(\"boolean\"!=typeof e.stdin)return we.errors=[{params:{type:\"boolean\"}}],!1;$=t===u}else $=!0}}}}}}c=t===u}else c=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return we.errors=p,0===u}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/WebpackOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/BannerPlugin.check.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/BannerPlugin.check.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction n(t,{instancePath:l=\"\",parentData:e,parentDataProperty:s,rootData:a=t}={}){let r=null,o=0;const u=o;let i=!1;const p=o;if(o===p)if(Array.isArray(t)){const n=t.length;for(let l=0;l<n;l++){let n=t[l];const e=o,s=o;let a=!1,u=null;const i=o,p=o;let f=!1;const h=o;if(!(n instanceof RegExp)){const n={params:{}};null===r?r=[n]:r.push(n),o++}var c=h===o;if(f=f||c,!f){const t=o;if(o===t)if(\"string\"==typeof n){if(n.length<1){const n={params:{}};null===r?r=[n]:r.push(n),o++}}else{const n={params:{type:\"string\"}};null===r?r=[n]:r.push(n),o++}c=t===o,f=f||c}if(f)o=p,null!==r&&(p?r.length=p:r=null);else{const n={params:{}};null===r?r=[n]:r.push(n),o++}if(i===o&&(a=!0,u=0),a)o=s,null!==r&&(s?r.length=s:r=null);else{const n={params:{passingSchemas:u}};null===r?r=[n]:r.push(n),o++}if(e!==o)break}}else{const n={params:{type:\"array\"}};null===r?r=[n]:r.push(n),o++}var f=p===o;if(i=i||f,!i){const n=o,l=o;let e=!1;const s=o;if(!(t instanceof RegExp)){const n={params:{}};null===r?r=[n]:r.push(n),o++}var h=s===o;if(e=e||h,!e){const n=o;if(o===n)if(\"string\"==typeof t){if(t.length<1){const n={params:{}};null===r?r=[n]:r.push(n),o++}}else{const n={params:{type:\"string\"}};null===r?r=[n]:r.push(n),o++}h=n===o,e=e||h}if(e)o=l,null!==r&&(l?r.length=l:r=null);else{const n={params:{}};null===r?r=[n]:r.push(n),o++}f=n===o,i=i||f}if(!i){const t={params:{}};return null===r?r=[t]:r.push(t),o++,n.errors=r,!1}return o=u,null!==r&&(u?r.length=u:r=null),n.errors=r,0===o}function t(l,{instancePath:e=\"\",parentData:s,parentDataProperty:a,rootData:r=l}={}){let o=null,u=0;const i=u;let p=!1;const c=u;if(u===c)if(\"string\"==typeof l){if(l.length<1){const n={params:{}};null===o?o=[n]:o.push(n),u++}}else{const n={params:{type:\"string\"}};null===o?o=[n]:o.push(n),u++}var f=c===u;if(p=p||f,!p){const t=u;if(u===t)if(l&&\"object\"==typeof l&&!Array.isArray(l)){let t;if(void 0===l.banner&&(t=\"banner\")){const n={params:{missingProperty:t}};null===o?o=[n]:o.push(n),u++}else{const t=u;for(const n in l)if(\"banner\"!==n&&\"entryOnly\"!==n&&\"exclude\"!==n&&\"footer\"!==n&&\"include\"!==n&&\"raw\"!==n&&\"test\"!==n){const t={params:{additionalProperty:n}};null===o?o=[t]:o.push(t),u++;break}if(t===u){if(void 0!==l.banner){let n=l.banner;const t=u,e=u;let s=!1;const a=u;if(\"string\"!=typeof n){const n={params:{type:\"string\"}};null===o?o=[n]:o.push(n),u++}var h=a===u;if(s=s||h,!s){const t=u;if(!(n instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),u++}h=t===u,s=s||h}if(s)u=e,null!==o&&(e?o.length=e:o=null);else{const n={params:{}};null===o?o=[n]:o.push(n),u++}var y=t===u}else y=!0;if(y){if(void 0!==l.entryOnly){const n=u;if(\"boolean\"!=typeof l.entryOnly){const n={params:{type:\"boolean\"}};null===o?o=[n]:o.push(n),u++}y=n===u}else y=!0;if(y){if(void 0!==l.exclude){const t=u,s=u;let a=!1,i=null;const p=u;if(n(l.exclude,{instancePath:e+\"/exclude\",parentData:l,parentDataProperty:\"exclude\",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=s,null!==o&&(s?o.length=s:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}y=t===u}else y=!0;if(y){if(void 0!==l.footer){const n=u;if(\"boolean\"!=typeof l.footer){const n={params:{type:\"boolean\"}};null===o?o=[n]:o.push(n),u++}y=n===u}else y=!0;if(y){if(void 0!==l.include){const t=u,s=u;let a=!1,i=null;const p=u;if(n(l.include,{instancePath:e+\"/include\",parentData:l,parentDataProperty:\"include\",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=s,null!==o&&(s?o.length=s:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}y=t===u}else y=!0;if(y){if(void 0!==l.raw){const n=u;if(\"boolean\"!=typeof l.raw){const n={params:{type:\"boolean\"}};null===o?o=[n]:o.push(n),u++}y=n===u}else y=!0;if(y)if(void 0!==l.test){const t=u,s=u;let a=!1,i=null;const p=u;if(n(l.test,{instancePath:e+\"/test\",parentData:l,parentDataProperty:\"test\",rootData:r})||(o=null===o?n.errors:o.concat(n.errors),u=o.length),p===u&&(a=!0,i=0),a)u=s,null!==o&&(s?o.length=s:o=null);else{const n={params:{passingSchemas:i}};null===o?o=[n]:o.push(n),u++}y=t===u}else y=!0}}}}}}}}else{const n={params:{type:\"object\"}};null===o?o=[n]:o.push(n),u++}if(f=t===u,p=p||f,!p){const n=u;if(!(l instanceof Function)){const n={params:{}};null===o?o=[n]:o.push(n),u++}f=n===u,p=p||f}}if(!p){const n={params:{}};return null===o?o=[n]:o.push(n),u++,t.errors=o,!1}return u=i,null!==o&&(i?o.length=i:o=null),t.errors=o,0===u}module.exports=t,module.exports[\"default\"]=t;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/BannerPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/DllPlugin.check.js": /*!*****************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/DllPlugin.check.js ***! \*****************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(e,{instancePath:t=\"\",parentData:o,parentDataProperty:n,rootData:a=e}={}){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{let t;if(void 0===e.path&&(t=\"path\"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if(\"context\"!==t&&\"entryOnly\"!==t&&\"format\"!==t&&\"name\"!==t&&\"path\"!==t&&\"type\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.context){let t=e.context;const o=0;if(0===o){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}var s=0===o}else s=!0;if(s){if(void 0!==e.entryOnly){const t=0;if(\"boolean\"!=typeof e.entryOnly)return r.errors=[{params:{type:\"boolean\"}}],!1;s=0===t}else s=!0;if(s){if(void 0!==e.format){const t=0;if(\"boolean\"!=typeof e.format)return r.errors=[{params:{type:\"boolean\"}}],!1;s=0===t}else s=!0;if(s){if(void 0!==e.name){let t=e.name;const o=0;if(0===o){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0;if(s){if(void 0!==e.path){let t=e.path;const o=0;if(0===o){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0;if(s)if(void 0!==e.type){let t=e.type;const o=0;if(0===o){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}s=0===o}else s=!0}}}}}}}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/DllPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js": /*!**************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js ***! \**************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst s=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function t(s,{instancePath:e=\"\",parentData:n,parentDataProperty:l,rootData:o=s}={}){let r=null,i=0;if(0===i){if(!s||\"object\"!=typeof s||Array.isArray(s))return t.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===s.content&&(e=\"content\"))return t.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const e in s)if(\"content\"!==e&&\"name\"!==e&&\"type\"!==e)return t.errors=[{params:{additionalProperty:e}}],!1;if(e===i){if(void 0!==s.content){let e=s.content;const n=i,l=i;let o=!1,f=null;const m=i;if(i==i)if(e&&\"object\"==typeof e&&!Array.isArray(e))if(Object.keys(e).length<1){const s={params:{limit:1}};null===r?r=[s]:r.push(s),i++}else for(const s in e){let t=e[s];const n=i;if(i===n)if(t&&\"object\"==typeof t&&!Array.isArray(t)){let s;if(void 0===t.id&&(s=\"id\")){const t={params:{missingProperty:s}};null===r?r=[t]:r.push(t),i++}else{const s=i;for(const s in t)if(\"buildMeta\"!==s&&\"exports\"!==s&&\"id\"!==s){const t={params:{additionalProperty:s}};null===r?r=[t]:r.push(t),i++;break}if(s===i){if(void 0!==t.buildMeta){let s=t.buildMeta;const e=i;if(!s||\"object\"!=typeof s||Array.isArray(s)){const s={params:{type:\"object\"}};null===r?r=[s]:r.push(s),i++}var a=e===i}else a=!0;if(a){if(void 0!==t.exports){let s=t.exports;const e=i,n=i;let l=!1;const o=i;if(i===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=i;if(i===n)if(\"string\"==typeof t){if(t.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:\"string\"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}}else{const s={params:{type:\"array\"}};null===r?r=[s]:r.push(s),i++}var p=o===i;if(l=l||p,!l){const t=i;if(!0!==s){const s={params:{}};null===r?r=[s]:r.push(s),i++}p=t===i,l=l||p}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0;if(a)if(void 0!==t.id){let s=t.id;const e=i,n=i;let l=!1;const o=i;if(\"number\"!=typeof s){const s={params:{type:\"number\"}};null===r?r=[s]:r.push(s),i++}var u=o===i;if(l=l||u,!l){const t=i;if(i===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===r?r=[s]:r.push(s),i++}}else{const s={params:{type:\"string\"}};null===r?r=[s]:r.push(s),i++}u=t===i,l=l||u}if(l)i=n,null!==r&&(n?r.length=n:r=null);else{const s={params:{}};null===r?r=[s]:r.push(s),i++}a=e===i}else a=!0}}}}else{const s={params:{type:\"object\"}};null===r?r=[s]:r.push(s),i++}if(n!==i)break}else{const s={params:{type:\"object\"}};null===r?r=[s]:r.push(s),i++}if(m===i&&(o=!0,f=0),!o){const s={params:{passingSchemas:f}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null);var c=n===i}else c=!0;if(c){if(void 0!==s.name){let e=s.name;const n=i;if(i===n){if(\"string\"!=typeof e)return t.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1}c=n===i}else c=!0;if(c)if(void 0!==s.type){let e=s.type;const n=i,l=i;let o=!1,a=null;const p=i;if(\"var\"!==e&&\"assign\"!==e&&\"this\"!==e&&\"window\"!==e&&\"global\"!==e&&\"commonjs\"!==e&&\"commonjs2\"!==e&&\"commonjs-module\"!==e&&\"amd\"!==e&&\"amd-require\"!==e&&\"umd\"!==e&&\"umd2\"!==e&&\"jsonp\"!==e&&\"system\"!==e){const s={params:{}};null===r?r=[s]:r.push(s),i++}if(p===i&&(o=!0,a=0),!o){const s={params:{passingSchemas:a}};return null===r?r=[s]:r.push(s),i++,t.errors=r,!1}i=l,null!==r&&(l?r.length=l:r=null),c=n===i}else c=!0}}}}}return t.errors=r,0===i}function e(n,{instancePath:l=\"\",parentData:o,parentDataProperty:r,rootData:i=n}={}){let a=null,p=0;const u=p;let c=!1;const f=p;if(p===f)if(n&&\"object\"==typeof n&&!Array.isArray(n)){let e;if(void 0===n.manifest&&(e=\"manifest\")){const s={params:{missingProperty:e}};null===a?a=[s]:a.push(s),p++}else{const e=p;for(const s in n)if(\"context\"!==s&&\"extensions\"!==s&&\"manifest\"!==s&&\"name\"!==s&&\"scope\"!==s&&\"sourceType\"!==s&&\"type\"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(e===p){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}var m=e===p}else m=!0;if(m){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if(\"string\"!=typeof s[e]){const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:\"array\"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.manifest){let e=n.manifest;const o=p,r=p;let u=!1;const c=p;if(p===c)if(\"string\"==typeof e){if(e.includes(\"!\")||!0!==s.test(e)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}var y=c===p;if(u=u||y,!u){const s=p;t(e,{instancePath:l+\"/manifest\",parentData:n,parentDataProperty:\"manifest\",rootData:i})||(a=null===a?t.errors:a.concat(t.errors),p=a.length),y=s===p,u=u||y}if(u)p=r,null!==a&&(r?a.length=r:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}m=o===p}else m=!0;if(m){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if(\"var\"!==s&&\"assign\"!==s&&\"this\"!==s&&\"window\"!==s&&\"global\"!==s&&\"commonjs\"!==s&&\"commonjs2\"!==s&&\"commonjs-module\"!==s&&\"amd\"!==s&&\"amd-require\"!==s&&\"umd\"!==s&&\"umd2\"!==s&&\"jsonp\"!==s&&\"system\"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0;if(m)if(void 0!==n.type){let s=n.type;const t=p;if(\"require\"!==s&&\"object\"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}m=t===p}else m=!0}}}}}}}}else{const s={params:{type:\"object\"}};null===a?a=[s]:a.push(s),p++}var h=f===p;if(c=c||h,!c){const t=p;if(p===t)if(n&&\"object\"==typeof n&&!Array.isArray(n)){let t;if(void 0===n.content&&(t=\"content\")||void 0===n.name&&(t=\"name\")){const s={params:{missingProperty:t}};null===a?a=[s]:a.push(s),p++}else{const t=p;for(const s in n)if(\"content\"!==s&&\"context\"!==s&&\"extensions\"!==s&&\"name\"!==s&&\"scope\"!==s&&\"sourceType\"!==s&&\"type\"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(t===p){if(void 0!==n.content){let s=n.content;const t=p,e=p;let l=!1,o=null;const r=p;if(p==p)if(s&&\"object\"==typeof s&&!Array.isArray(s))if(Object.keys(s).length<1){const s={params:{limit:1}};null===a?a=[s]:a.push(s),p++}else for(const t in s){let e=s[t];const n=p;if(p===n)if(e&&\"object\"==typeof e&&!Array.isArray(e)){let s;if(void 0===e.id&&(s=\"id\")){const t={params:{missingProperty:s}};null===a?a=[t]:a.push(t),p++}else{const s=p;for(const s in e)if(\"buildMeta\"!==s&&\"exports\"!==s&&\"id\"!==s){const t={params:{additionalProperty:s}};null===a?a=[t]:a.push(t),p++;break}if(s===p){if(void 0!==e.buildMeta){let s=e.buildMeta;const t=p;if(!s||\"object\"!=typeof s||Array.isArray(s)){const s={params:{type:\"object\"}};null===a?a=[s]:a.push(s),p++}var d=t===p}else d=!0;if(d){if(void 0!==e.exports){let s=e.exports;const t=p,n=p;let l=!1;const o=p;if(p===o)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){let t=s[e];const n=p;if(p===n)if(\"string\"==typeof t){if(t.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}}else{const s={params:{type:\"array\"}};null===a?a=[s]:a.push(s),p++}var g=o===p;if(l=l||g,!l){const t=p;if(!0!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}g=t===p,l=l||g}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0;if(d)if(void 0!==e.id){let s=e.id;const t=p,n=p;let l=!1;const o=p;if(\"number\"!=typeof s){const s={params:{type:\"number\"}};null===a?a=[s]:a.push(s),p++}var b=o===p;if(l=l||b,!l){const t=p;if(p===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}b=t===p,l=l||b}if(l)p=n,null!==a&&(n?a.length=n:a=null);else{const s={params:{}};null===a?a=[s]:a.push(s),p++}d=t===p}else d=!0}}}}else{const s={params:{type:\"object\"}};null===a?a=[s]:a.push(s),p++}if(n!==p)break}else{const s={params:{type:\"object\"}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}var v=t===p}else v=!0;if(v){if(void 0!==n.context){let t=n.context;const e=p;if(p===e)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==s.test(t)){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}v=e===p}else v=!0;if(v){if(void 0!==n.extensions){let s=n.extensions;const t=p;if(p===t)if(Array.isArray(s)){const t=s.length;for(let e=0;e<t;e++){const t=p;if(\"string\"!=typeof s[e]){const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}if(t!==p)break}}else{const s={params:{type:\"array\"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.name){let s=n.name;const t=p;if(p===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.scope){let s=n.scope;const t=p;if(p===t)if(\"string\"==typeof s){if(s.length<1){const s={params:{}};null===a?a=[s]:a.push(s),p++}}else{const s={params:{type:\"string\"}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v){if(void 0!==n.sourceType){let s=n.sourceType;const t=p,e=p;let l=!1,o=null;const r=p;if(\"var\"!==s&&\"assign\"!==s&&\"this\"!==s&&\"window\"!==s&&\"global\"!==s&&\"commonjs\"!==s&&\"commonjs2\"!==s&&\"commonjs-module\"!==s&&\"amd\"!==s&&\"amd-require\"!==s&&\"umd\"!==s&&\"umd2\"!==s&&\"jsonp\"!==s&&\"system\"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}if(r===p&&(l=!0,o=0),l)p=e,null!==a&&(e?a.length=e:a=null);else{const s={params:{passingSchemas:o}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0;if(v)if(void 0!==n.type){let s=n.type;const t=p;if(\"require\"!==s&&\"object\"!==s){const s={params:{}};null===a?a=[s]:a.push(s),p++}v=t===p}else v=!0}}}}}}}}else{const s={params:{type:\"object\"}};null===a?a=[s]:a.push(s),p++}h=t===p,c=c||h}if(!c){const s={params:{}};return null===a?a=[s]:a.push(s),p++,e.errors=a,!1}return p=u,null!==a&&(u?a.length=u:a=null),e.errors=a,0===p}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js ***! \*****************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst t=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function e(r,{instancePath:s=\"\",parentData:n,parentDataProperty:a,rootData:i=r}={}){let o=null,l=0;if(0===l){if(!r||\"object\"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:\"object\"}}],!1;{const s=l;for(const t in r)if(\"context\"!==t&&\"hashDigest\"!==t&&\"hashDigestLength\"!==t&&\"hashFunction\"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(s===l){if(void 0!==r.context){let s=r.context;const n=l;if(l===n){if(\"string\"!=typeof s)return e.errors=[{params:{type:\"string\"}}],!1;if(s.includes(\"!\")||!0!==t.test(s))return e.errors=[{params:{}}],!1}var u=n===l}else u=!0;if(u){if(void 0!==r.hashDigest){let t=r.hashDigest;const s=l;if(\"hex\"!==t&&\"latin1\"!==t&&\"base64\"!==t)return e.errors=[{params:{}}],!1;u=s===l}else u=!0;if(u){if(void 0!==r.hashDigestLength){let t=r.hashDigestLength;const s=l;if(l===s){if(\"number\"!=typeof t)return e.errors=[{params:{type:\"number\"}}],!1;if(t<1||isNaN(t))return e.errors=[{params:{comparison:\">=\",limit:1}}],!1}u=s===l}else u=!0;if(u)if(void 0!==r.hashFunction){let t=r.hashFunction;const s=l,n=l;let a=!1,i=null;const p=l,h=l;let c=!1;const m=l;if(l===m)if(\"string\"==typeof t){if(t.length<1){const t={params:{}};null===o?o=[t]:o.push(t),l++}}else{const t={params:{type:\"string\"}};null===o?o=[t]:o.push(t),l++}var f=m===l;if(c=c||f,!c){const e=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=e===l,c=c||f}if(c)l=h,null!==o&&(h?o.length=h:o=null);else{const t={params:{}};null===o?o=[t]:o.push(t),l++}if(p===l&&(a=!0,i=0),!a){const t={params:{passingSchemas:i}};return null===o?o=[t]:o.push(t),l++,e.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),u=s===l}else u=!0}}}}}return e.errors=o,0===l}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/IgnorePlugin.check.js": /*!********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/IgnorePlugin.check.js ***! \********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction e(s,{instancePath:o=\"\",parentData:r,parentDataProperty:t,rootData:n=s}={}){let c=null,a=0;const p=a;let l=!1;const i=a;if(a===i)if(s&&\"object\"==typeof s&&!Array.isArray(s)){let e;if(void 0===s.resourceRegExp&&(e=\"resourceRegExp\")){const s={params:{missingProperty:e}};null===c?c=[s]:c.push(s),a++}else{const e=a;for(const e in s)if(\"contextRegExp\"!==e&&\"resourceRegExp\"!==e){const s={params:{additionalProperty:e}};null===c?c=[s]:c.push(s),a++;break}if(e===a){if(void 0!==s.contextRegExp){const e=a;if(!(s.contextRegExp instanceof RegExp)){const e={params:{}};null===c?c=[e]:c.push(e),a++}var u=e===a}else u=!0;if(u)if(void 0!==s.resourceRegExp){const e=a;if(!(s.resourceRegExp instanceof RegExp)){const e={params:{}};null===c?c=[e]:c.push(e),a++}u=e===a}else u=!0}}}else{const e={params:{type:\"object\"}};null===c?c=[e]:c.push(e),a++}var f=i===a;if(l=l||f,!l){const e=a;if(a===e)if(s&&\"object\"==typeof s&&!Array.isArray(s)){let e;if(void 0===s.checkResource&&(e=\"checkResource\")){const s={params:{missingProperty:e}};null===c?c=[s]:c.push(s),a++}else{const e=a;for(const e in s)if(\"checkResource\"!==e){const s={params:{additionalProperty:e}};null===c?c=[s]:c.push(s),a++;break}if(e===a&&void 0!==s.checkResource&&!(s.checkResource instanceof Function)){const e={params:{}};null===c?c=[e]:c.push(e),a++}}}else{const e={params:{type:\"object\"}};null===c?c=[e]:c.push(e),a++}f=e===a,l=l||f}if(!l){const s={params:{}};return null===c?c=[s]:c.push(s),a++,e.errors=c,!1}return a=p,null!==c&&(p?c.length=p:c=null),e.errors=c,0===a}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/IgnorePlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:a,parentDataProperty:o,rootData:n=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;{const e=0;for(const e in t)if(\"parse\"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.parse&&!(t.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js": /*!***************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js ***! \***************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst r=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function e(t,{instancePath:o=\"\",parentData:a,parentDataProperty:i,rootData:n=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:\"object\"}}],!1;if(void 0!==t.debug){const r=0;if(\"boolean\"!=typeof t.debug)return e.errors=[{params:{type:\"boolean\"}}],!1;var s=0===r}else s=!0;if(s){if(void 0!==t.minimize){const r=0;if(\"boolean\"!=typeof t.minimize)return e.errors=[{params:{type:\"boolean\"}}],!1;s=0===r}else s=!0;if(s)if(void 0!==t.options){let o=t.options;const a=0;if(0===a){if(!o||\"object\"!=typeof o||Array.isArray(o))return e.errors=[{params:{type:\"object\"}}],!1;if(void 0!==o.context){let t=o.context;if(\"string\"!=typeof t)return e.errors=[{params:{type:\"string\"}}],!1;if(t.includes(\"!\")||!0!==r.test(t))return e.errors=[{params:{}}],!1}}s=0===a}else s=!0}return e.errors=null,!0}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ProgressPlugin.check.js": /*!**********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ProgressPlugin.check.js ***! \**********************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nmodule.exports=t,module.exports[\"default\"]=t;const e={activeModules:{type:\"boolean\"},dependencies:{type:\"boolean\"},dependenciesCount:{type:\"number\"},entries:{type:\"boolean\"},handler:{oneOf:[{$ref:\"#/definitions/HandlerFunction\"}]},modules:{type:\"boolean\"},modulesCount:{type:\"number\"},percentBy:{enum:[\"entries\",\"modules\",\"dependencies\",null]},profile:{enum:[!0,!1,null]}},r=Object.prototype.hasOwnProperty;function n(t,{instancePath:o=\"\",parentData:s,parentDataProperty:a,rootData:l=t}={}){let i=null,p=0;if(0===p){if(!t||\"object\"!=typeof t||Array.isArray(t))return n.errors=[{params:{type:\"object\"}}],!1;{const o=p;for(const o in t)if(!r.call(e,o))return n.errors=[{params:{additionalProperty:o}}],!1;if(o===p){if(void 0!==t.activeModules){const e=p;if(\"boolean\"!=typeof t.activeModules)return n.errors=[{params:{type:\"boolean\"}}],!1;var u=e===p}else u=!0;if(u){if(void 0!==t.dependencies){const e=p;if(\"boolean\"!=typeof t.dependencies)return n.errors=[{params:{type:\"boolean\"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.dependenciesCount){const e=p;if(\"number\"!=typeof t.dependenciesCount)return n.errors=[{params:{type:\"number\"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.entries){const e=p;if(\"boolean\"!=typeof t.entries)return n.errors=[{params:{type:\"boolean\"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.handler){const e=p,r=p;let o=!1,s=null;const a=p;if(!(t.handler instanceof Function)){const e={params:{}};null===i?i=[e]:i.push(e),p++}if(a===p&&(o=!0,s=0),!o){const e={params:{passingSchemas:s}};return null===i?i=[e]:i.push(e),p++,n.errors=i,!1}p=r,null!==i&&(r?i.length=r:i=null),u=e===p}else u=!0;if(u){if(void 0!==t.modules){const e=p;if(\"boolean\"!=typeof t.modules)return n.errors=[{params:{type:\"boolean\"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.modulesCount){const e=p;if(\"number\"!=typeof t.modulesCount)return n.errors=[{params:{type:\"number\"}}],!1;u=e===p}else u=!0;if(u){if(void 0!==t.percentBy){let e=t.percentBy;const r=p;if(\"entries\"!==e&&\"modules\"!==e&&\"dependencies\"!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0;if(u)if(void 0!==t.profile){let e=t.profile;const r=p;if(!0!==e&&!1!==e&&null!==e)return n.errors=[{params:{}}],!1;u=r===p}else u=!0}}}}}}}}}}return n.errors=i,0===p}function t(e,{instancePath:r=\"\",parentData:o,parentDataProperty:s,rootData:a=e}={}){let l=null,i=0;const p=i;let u=!1;const f=i;n(e,{instancePath:r,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?n.errors:l.concat(n.errors),i=l.length);var c=f===i;if(u=u||c,!u){const r=i;if(!(e instanceof Function)){const e={params:{}};null===l?l=[e]:l.push(e),i++}c=r===i,u=u||c}if(!u){const e={params:{}};return null===l?l=[e]:l.push(e),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ProgressPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js": /*!******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js ***! \******************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst e=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;module.exports=l,module.exports[\"default\"]=l;const n={append:{anyOf:[{enum:[!1,null]},{type:\"string\",minLength:1}]},columns:{type:\"boolean\"},exclude:{oneOf:[{$ref:\"#/definitions/rules\"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:\"string\",minLength:1},{instanceof:\"Function\"}]},fileContext:{type:\"string\"},filename:{anyOf:[{enum:[!1,null]},{type:\"string\",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:\"#/definitions/rules\"}]},module:{type:\"boolean\"},moduleFilenameTemplate:{anyOf:[{type:\"string\",minLength:1},{instanceof:\"Function\"}]},namespace:{type:\"string\"},noSources:{type:\"boolean\"},publicPath:{type:\"string\"},sourceRoot:{type:\"string\"},test:{$ref:\"#/definitions/rules\"}},t=Object.prototype.hasOwnProperty;function s(e,{instancePath:n=\"\",parentData:t,parentDataProperty:l,rootData:r=e}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let t=0;t<n;t++){let n=e[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(n instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(a===e)if(\"string\"==typeof n){if(n.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}if(s!==a)break}}else{const e={params:{type:\"array\"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(u=u||c,!u){const n=a,t=a;let s=!1;const l=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=l===a;if(s=s||m,!s){const n=a;if(a===n)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:\"string\"}};null===o?o=[e]:o.push(e),a++}m=n===a,s=s||m}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a,u=u||c}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o=\"\",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||\"object\"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:\"object\"}}],!1;{const a=f;for(const e in r)if(!t.call(n,e))return l.errors=[{params:{additionalProperty:e}}],!1;if(a===f){if(void 0!==r.append){let e=r.append;const n=f,t=f;let s=!1;const o=f;if(!1!==e&&null!==e){const e={params:{}};null===p?p=[e]:p.push(e),f++}var c=o===f;if(s=s||c,!s){const n=f;if(f===n)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),f++}c=n===f,s=s||c}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=n===f}else m=!0;if(m){if(void 0!==r.columns){const e=f;if(\"boolean\"!=typeof r.columns)return l.errors=[{params:{type:\"boolean\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.exclude){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+\"/exclude\",parentData:r,parentDataProperty:\"exclude\",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let e=r.fallbackModuleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),f++}var h=o===f;if(s=s||h,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}h=n===f,s=s||h}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fileContext){const e=f;if(\"string\"!=typeof r.fileContext)return l.errors=[{params:{type:\"string\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.filename){let n=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==n&&null!==n){const e={params:{}};null===p?p=[e]:p.push(e),f++}var g=a===f;if(o=o||g,!o){const t=f;if(f===t)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),f++}else if(n.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),f++}g=t===f,o=o||g}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.include){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+\"/include\",parentData:r,parentDataProperty:\"include\",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.module){const e=f;if(\"boolean\"!=typeof r.module)return l.errors=[{params:{type:\"boolean\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let e=r.moduleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if(\"string\"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:\"string\"}};null===p?p=[e]:p.push(e),f++}var y=o===f;if(s=s||y,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}y=n===f,s=s||y}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.namespace){const e=f;if(\"string\"!=typeof r.namespace)return l.errors=[{params:{type:\"string\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.noSources){const e=f;if(\"boolean\"!=typeof r.noSources)return l.errors=[{params:{type:\"boolean\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.publicPath){const e=f;if(\"string\"!=typeof r.publicPath)return l.errors=[{params:{type:\"string\"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const e=f;if(\"string\"!=typeof r.sourceRoot)return l.errors=[{params:{type:\"string\"}}],!1;m=e===f}else m=!0;if(m)if(void 0!==r.test){const e=f;s(r.test,{instancePath:o+\"/test\",parentData:r,parentDataProperty:\"test\",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),m=e===f}else m=!0}}}}}}}}}}}}}}}return l.errors=p,0===f}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js": /*!*************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:s,parentDataProperty:a,rootData:n=t}={}){let o=null,i=0;if(0===i){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===t.paths&&(e=\"paths\"))return r.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const e in t)if(\"paths\"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(e===i&&void 0!==t.paths){let e=t.paths;if(i==i){if(!Array.isArray(e))return r.errors=[{params:{type:\"array\"}}],!1;if(e.length<1)return r.errors=[{params:{limit:1}}],!1;{const t=e.length;for(let s=0;s<t;s++){let t=e[s];const a=i,n=i;let l=!1;const u=i;if(!(t instanceof RegExp)){const r={params:{}};null===o?o=[r]:o.push(r),i++}var p=u===i;if(l=l||p,!l){const r=i;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),i++}p=r===i,l=l||p}if(!l){const t={params:{}};return null===o?o=[t]:o.push(t),i++,r.errors=o,!1}if(i=n,null!==o&&(n?o.length=n:o=null),a!==i)break}}}}}}}return r.errors=o,0===i}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js ***! \***********************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst t=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function n(t,{instancePath:r=\"\",parentData:e,parentDataProperty:a,rootData:s=t}={}){let o=null,l=0;const i=l;let p=!1;const u=l;if(l==l)if(t&&\"object\"==typeof t&&!Array.isArray(t)){const n=l;for(const n in t)if(\"encoding\"!==n&&\"mimetype\"!==n){const t={params:{additionalProperty:n}};null===o?o=[t]:o.push(t),l++;break}if(n===l){if(void 0!==t.encoding){let n=t.encoding;const r=l;if(!1!==n&&\"base64\"!==n){const t={params:{}};null===o?o=[t]:o.push(t),l++}var c=r===l}else c=!0;if(c)if(void 0!==t.mimetype){const n=l;if(\"string\"!=typeof t.mimetype){const t={params:{type:\"string\"}};null===o?o=[t]:o.push(t),l++}c=n===l}else c=!0}}else{const t={params:{type:\"object\"}};null===o?o=[t]:o.push(t),l++}var f=u===l;if(p=p||f,!p){const n=l;if(!(t instanceof Function)){const t={params:{}};null===o?o=[t]:o.push(t),l++}f=n===l,p=p||f}if(!p){const t={params:{}};return null===o?o=[t]:o.push(t),l++,n.errors=o,!1}return l=i,null!==o&&(i?o.length=i:o=null),n.errors=o,0===l}function r(e,{instancePath:a=\"\",parentData:s,parentDataProperty:o,rootData:l=e}={}){let i=null,p=0;if(0===p){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{const s=p;for(const t in e)if(\"dataUrl\"!==t&&\"emit\"!==t&&\"filename\"!==t&&\"outputPath\"!==t&&\"publicPath\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(s===p){if(void 0!==e.dataUrl){const t=p;n(e.dataUrl,{instancePath:a+\"/dataUrl\",parentData:e,parentDataProperty:\"dataUrl\",rootData:l})||(i=null===i?n.errors:i.concat(n.errors),p=i.length);var u=t===p}else u=!0;if(u){if(void 0!==e.emit){const t=p;if(\"boolean\"!=typeof e.emit)return r.errors=[{params:{type:\"boolean\"}}],!1;u=t===p}else u=!0;if(u){if(void 0!==e.filename){let n=e.filename;const a=p,s=p;let o=!1;const l=p;if(p===l)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}else if(n.length<1){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:\"string\"}};null===i?i=[t]:i.push(t),p++}var c=l===p;if(o=o||c,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}c=t===p,o=o||c}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u){if(void 0!==e.outputPath){let n=e.outputPath;const a=p,s=p;let o=!1;const l=p;if(p===l)if(\"string\"==typeof n){if(n.includes(\"!\")||!1!==t.test(n)){const t={params:{}};null===i?i=[t]:i.push(t),p++}}else{const t={params:{type:\"string\"}};null===i?i=[t]:i.push(t),p++}var f=l===p;if(o=o||f,!o){const t=p;if(!(n instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}f=t===p,o=o||f}if(!o){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),u=a===p}else u=!0;if(u)if(void 0!==e.publicPath){let t=e.publicPath;const n=p,a=p;let s=!1;const o=p;if(\"string\"!=typeof t){const t={params:{type:\"string\"}};null===i?i=[t]:i.push(t),p++}var h=o===p;if(s=s||h,!s){const n=p;if(!(t instanceof Function)){const t={params:{}};null===i?i=[t]:i.push(t),p++}h=n===p,s=s||h}if(!s){const t={params:{}};return null===i?i=[t]:i.push(t),p++,r.errors=i,!1}p=a,null!==i&&(a?i.length=a:i=null),u=n===p}else u=!0}}}}}}return r.errors=i,0===p}function e(t,{instancePath:n=\"\",parentData:a,parentDataProperty:s,rootData:o=t}={}){let l=null,i=0;return r(t,{instancePath:n,parentData:a,parentDataProperty:s,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),e.errors=l,0===i}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js": /*!*****************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js ***! \*****************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction t(r,{instancePath:a=\"\",parentData:n,parentDataProperty:e,rootData:o=r}={}){let s=null,l=0;const i=l;let p=!1;const c=l;if(l==l)if(r&&\"object\"==typeof r&&!Array.isArray(r)){const t=l;for(const t in r)if(\"encoding\"!==t&&\"mimetype\"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),l++;break}if(t===l){if(void 0!==r.encoding){let t=r.encoding;const a=l;if(!1!==t&&\"base64\"!==t){const t={params:{}};null===s?s=[t]:s.push(t),l++}var u=a===l}else u=!0;if(u)if(void 0!==r.mimetype){const t=l;if(\"string\"!=typeof r.mimetype){const t={params:{type:\"string\"}};null===s?s=[t]:s.push(t),l++}u=t===l}else u=!0}}else{const t={params:{type:\"object\"}};null===s?s=[t]:s.push(t),l++}var f=c===l;if(p=p||f,!p){const t=l;if(!(r instanceof Function)){const t={params:{}};null===s?s=[t]:s.push(t),l++}f=t===l,p=p||f}if(!p){const r={params:{}};return null===s?s=[r]:s.push(r),l++,t.errors=s,!1}return l=i,null!==s&&(i?s.length=i:s=null),t.errors=s,0===l}function r(a,{instancePath:n=\"\",parentData:e,parentDataProperty:o,rootData:s=a}={}){let l=null,i=0;if(0===i){if(!a||\"object\"!=typeof a||Array.isArray(a))return r.errors=[{params:{type:\"object\"}}],!1;{const e=i;for(const t in a)if(\"dataUrl\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;e===i&&void 0!==a.dataUrl&&(t(a.dataUrl,{instancePath:n+\"/dataUrl\",parentData:a,parentDataProperty:\"dataUrl\",rootData:s})||(l=null===l?t.errors:l.concat(t.errors),i=l.length))}}return r.errors=l,0===i}function a(t,{instancePath:n=\"\",parentData:e,parentDataProperty:o,rootData:s=t}={}){let l=null,i=0;return r(t,{instancePath:n,parentData:e,parentDataProperty:o,rootData:s})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),a.errors=l,0===i}module.exports=a,module.exports[\"default\"]=a;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js": /*!********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js ***! \********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction t(r,{instancePath:a=\"\",parentData:n,parentDataProperty:o,rootData:e=r}={}){let s=null,i=0;if(0===i){if(!r||\"object\"!=typeof r||Array.isArray(r))return t.errors=[{params:{type:\"object\"}}],!1;{const a=i;for(const a in r)if(\"dataUrlCondition\"!==a)return t.errors=[{params:{additionalProperty:a}}],!1;if(a===i&&void 0!==r.dataUrlCondition){let a=r.dataUrlCondition;const n=i;let o=!1;const e=i;if(i==i)if(a&&\"object\"==typeof a&&!Array.isArray(a)){const t=i;for(const t in a)if(\"maxSize\"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),i++;break}if(t===i&&void 0!==a.maxSize&&\"number\"!=typeof a.maxSize){const t={params:{type:\"number\"}};null===s?s=[t]:s.push(t),i++}}else{const t={params:{type:\"object\"}};null===s?s=[t]:s.push(t),i++}var l=e===i;if(o=o||l,!o){const t=i;if(!(a instanceof Function)){const t={params:{}};null===s?s=[t]:s.push(t),i++}l=t===i,o=o||l}if(!o){const r={params:{}};return null===s?s=[r]:s.push(r),i++,t.errors=s,!1}i=n,null!==s&&(n?s.length=n:s=null)}}}return t.errors=s,0===i}function r(a,{instancePath:n=\"\",parentData:o,parentDataProperty:e,rootData:s=a}={}){let i=null,l=0;return t(a,{instancePath:n,parentData:o,parentDataProperty:e,rootData:s})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),r.errors=i,0===l}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js": /*!*******************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js ***! \*******************************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst t=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function n(r,{instancePath:e=\"\",parentData:s,parentDataProperty:a,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||\"object\"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:\"object\"}}],!1;{const e=i;for(const t in r)if(\"emit\"!==t&&\"filename\"!==t&&\"outputPath\"!==t&&\"publicPath\"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===i){if(void 0!==r.emit){const t=i;if(\"boolean\"!=typeof r.emit)return n.errors=[{params:{type:\"boolean\"}}],!1;var u=t===i}else u=!0;if(u){if(void 0!==r.filename){let e=r.filename;const s=i,a=i;let o=!1;const c=i;if(i===c)if(\"string\"==typeof e){if(e.includes(\"!\")||!1!==t.test(e)){const t={params:{}};null===l?l=[t]:l.push(t),i++}else if(e.length<1){const t={params:{}};null===l?l=[t]:l.push(t),i++}}else{const t={params:{type:\"string\"}};null===l?l=[t]:l.push(t),i++}var p=c===i;if(o=o||p,!o){const t=i;if(!(e instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}p=t===i,o=o||p}if(!o){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=a,null!==l&&(a?l.length=a:l=null),u=s===i}else u=!0;if(u){if(void 0!==r.outputPath){let e=r.outputPath;const s=i,a=i;let o=!1;const p=i;if(i===p)if(\"string\"==typeof e){if(e.includes(\"!\")||!1!==t.test(e)){const t={params:{}};null===l?l=[t]:l.push(t),i++}}else{const t={params:{type:\"string\"}};null===l?l=[t]:l.push(t),i++}var c=p===i;if(o=o||c,!o){const t=i;if(!(e instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}c=t===i,o=o||c}if(!o){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=a,null!==l&&(a?l.length=a:l=null),u=s===i}else u=!0;if(u)if(void 0!==r.publicPath){let t=r.publicPath;const e=i,s=i;let a=!1;const o=i;if(\"string\"!=typeof t){const t={params:{type:\"string\"}};null===l?l=[t]:l.push(t),i++}var f=o===i;if(a=a||f,!a){const n=i;if(!(t instanceof Function)){const t={params:{}};null===l?l=[t]:l.push(t),i++}f=n===i,a=a||f}if(!a){const t={params:{}};return null===l?l=[t]:l.push(t),i++,n.errors=l,!1}i=s,null!==l&&(s?l.length=s:l=null),u=e===i}else u=!0}}}}}return n.errors=l,0===i}function r(t,{instancePath:e=\"\",parentData:s,parentDataProperty:a,rootData:o=t}={}){let l=null,i=0;return n(t,{instancePath:e,parentData:s,parentDataProperty:a,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),r.errors=l,0===i}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js ***! \*********************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst r=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function t(r,{instancePath:e=\"\",parentData:n,parentDataProperty:s,rootData:a=r}={}){if(!Array.isArray(r))return t.errors=[{params:{type:\"array\"}}],!1;{const e=r.length;for(let n=0;n<e;n++){let e=r[n];const s=0;if(\"string\"!=typeof e)return t.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1;if(0!==s)break}}return t.errors=null,!0}function e(r,{instancePath:n=\"\",parentData:s,parentDataProperty:a,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||\"object\"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:\"object\"}}],!1;{let s;if(void 0===r.import&&(s=\"import\"))return e.errors=[{params:{missingProperty:s}}],!1;{const s=i;for(const t in r)if(\"import\"!==t&&\"name\"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(s===i){if(void 0!==r.import){let s=r.import;const a=i,u=i;let c=!1;const m=i;if(i==i)if(\"string\"==typeof s){if(s.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),i++}var p=m===i;if(c=c||p,!c){const e=i;t(s,{instancePath:n+\"/import\",parentData:r,parentDataProperty:\"import\",rootData:o})||(l=null===l?t.errors:l.concat(t.errors),i=l.length),p=e===i,c=c||p}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),i++,e.errors=l,!1}i=u,null!==l&&(u?l.length=u:l=null);var f=a===i}else f=!0;if(f)if(void 0!==r.name){const t=i;if(\"string\"!=typeof r.name)return e.errors=[{params:{type:\"string\"}}],!1;f=t===i}else f=!0}}}}return e.errors=l,0===i}function n(r,{instancePath:s=\"\",parentData:a,parentDataProperty:o,rootData:l=r}={}){let i=null,p=0;if(0===p){if(!r||\"object\"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:\"object\"}}],!1;for(const a in r){let o=r[a];const u=p,c=p;let m=!1;const y=p;e(o,{instancePath:s+\"/\"+a.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:a,rootData:l})||(i=null===i?e.errors:i.concat(e.errors),p=i.length);var f=y===p;if(m=m||f,!m){const e=p;if(p==p)if(\"string\"==typeof o){if(o.length<1){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}if(f=e===p,m=m||f,!m){const e=p;t(o,{instancePath:s+\"/\"+a.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:a,rootData:l})||(i=null===i?t.errors:i.concat(t.errors),p=i.length),f=e===p,m=m||f}}if(!m){const r={params:{}};return null===i?i=[r]:i.push(r),p++,n.errors=i,!1}if(p=c,null!==i&&(c?i.length=c:i=null),u!==p)break}}return n.errors=i,0===p}function s(r,{instancePath:t=\"\",parentData:e,parentDataProperty:a,rootData:o=r}={}){let l=null,i=0;const p=i;let f=!1;const u=i;if(i===u)if(Array.isArray(r)){const e=r.length;for(let s=0;s<e;s++){let e=r[s];const a=i,p=i;let f=!1;const u=i;if(i==i)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),i++}var c=u===i;if(f=f||c,!f){const a=i;n(e,{instancePath:t+\"/\"+s,parentData:r,parentDataProperty:s,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),c=a===i,f=f||c}if(f)i=p,null!==l&&(p?l.length=p:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),i++}if(a!==i)break}}else{const r={params:{type:\"array\"}};null===l?l=[r]:l.push(r),i++}var m=u===i;if(f=f||m,!f){const s=i;n(r,{instancePath:t,parentData:e,parentDataProperty:a,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),m=s===i,f=f||m}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),i++,s.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),s.errors=l,0===i}function a(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:s=r}={}){let o=null,l=0;const i=l;let p=!1;const f=l;if(\"string\"!=typeof r){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}var u=f===l;if(p=p||u,!p){const t=l;if(l==l)if(r&&\"object\"==typeof r&&!Array.isArray(r)){const t=l;for(const t in r)if(\"amd\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"root\"!==t){const r={params:{additionalProperty:t}};null===o?o=[r]:o.push(r),l++;break}if(t===l){if(void 0!==r.amd){const t=l;if(\"string\"!=typeof r.amd){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}var c=t===l}else c=!0;if(c){if(void 0!==r.commonjs){const t=l;if(\"string\"!=typeof r.commonjs){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}c=t===l}else c=!0;if(c){if(void 0!==r.commonjs2){const t=l;if(\"string\"!=typeof r.commonjs2){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}c=t===l}else c=!0;if(c)if(void 0!==r.root){const t=l;if(\"string\"!=typeof r.root){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}c=t===l}else c=!0}}}}else{const r={params:{type:\"object\"}};null===o?o=[r]:o.push(r),l++}u=t===l,p=p||u}if(!p){const r={params:{}};return null===o?o=[r]:o.push(r),l++,a.errors=o,!1}return l=i,null!==o&&(i?o.length=i:o=null),a.errors=o,0===l}function o(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:s=r}={}){let a=null,l=0;const i=l;let p=!1;const f=l;if(l===f)if(Array.isArray(r))if(r.length<1){const r={params:{limit:1}};null===a?a=[r]:a.push(r),l++}else{const t=r.length;for(let e=0;e<t;e++){let t=r[e];const n=l;if(l===n)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}if(n!==l)break}}else{const r={params:{type:\"array\"}};null===a?a=[r]:a.push(r),l++}var u=f===l;if(p=p||u,!p){const t=l;if(l===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}if(u=t===l,p=p||u,!p){const t=l;if(l==l)if(r&&\"object\"==typeof r&&!Array.isArray(r)){const t=l;for(const t in r)if(\"amd\"!==t&&\"commonjs\"!==t&&\"root\"!==t){const r={params:{additionalProperty:t}};null===a?a=[r]:a.push(r),l++;break}if(t===l){if(void 0!==r.amd){let t=r.amd;const e=l;if(l===e)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}var c=e===l}else c=!0;if(c){if(void 0!==r.commonjs){let t=r.commonjs;const e=l;if(l===e)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}c=e===l}else c=!0;if(c)if(void 0!==r.root){let t=r.root;const e=l,n=l;let s=!1;const o=l;if(l===o)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=l;if(l===n)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}if(n!==l)break}}else{const r={params:{type:\"array\"}};null===a?a=[r]:a.push(r),l++}var m=o===l;if(s=s||m,!s){const r=l;if(l===r)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===a?a=[r]:a.push(r),l++}}else{const r={params:{type:\"string\"}};null===a?a=[r]:a.push(r),l++}m=r===l,s=s||m}if(s)l=n,null!==a&&(n?a.length=n:a=null);else{const r={params:{}};null===a?a=[r]:a.push(r),l++}c=e===l}else c=!0}}}else{const r={params:{type:\"object\"}};null===a?a=[r]:a.push(r),l++}u=t===l,p=p||u}}if(!p){const r={params:{}};return null===a?a=[r]:a.push(r),l++,o.errors=a,!1}return l=i,null!==a&&(i?a.length=i:a=null),o.errors=a,0===l}function l(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:s=r}={}){let i=null,p=0;if(0===p){if(!r||\"object\"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===r.type&&(e=\"type\"))return l.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if(\"auxiliaryComment\"!==t&&\"export\"!==t&&\"name\"!==t&&\"type\"!==t&&\"umdNamedDefine\"!==t)return l.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.auxiliaryComment){const e=p;a(r.auxiliaryComment,{instancePath:t+\"/auxiliaryComment\",parentData:r,parentDataProperty:\"auxiliaryComment\",rootData:s})||(i=null===i?a.errors:i.concat(a.errors),p=i.length);var f=e===p}else f=!0;if(f){if(void 0!==r.export){let t=r.export;const e=p,n=p;let s=!1;const a=p;if(p===a)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=p;if(p===n)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}if(n!==p)break}}else{const r={params:{type:\"array\"}};null===i?i=[r]:i.push(r),p++}var u=a===p;if(s=s||u,!s){const r=p;if(p===r)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}u=r===p,s=s||u}if(!s){const r={params:{}};return null===i?i=[r]:i.push(r),p++,l.errors=i,!1}p=n,null!==i&&(n?i.length=n:i=null),f=e===p}else f=!0;if(f){if(void 0!==r.name){const e=p;o(r.name,{instancePath:t+\"/name\",parentData:r,parentDataProperty:\"name\",rootData:s})||(i=null===i?o.errors:i.concat(o.errors),p=i.length),f=e===p}else f=!0;if(f){if(void 0!==r.type){let t=r.type;const e=p,n=p;let s=!1;const a=p;if(\"var\"!==t&&\"module\"!==t&&\"assign\"!==t&&\"assign-properties\"!==t&&\"this\"!==t&&\"window\"!==t&&\"self\"!==t&&\"global\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"commonjs-module\"!==t&&\"commonjs-static\"!==t&&\"amd\"!==t&&\"amd-require\"!==t&&\"umd\"!==t&&\"umd2\"!==t&&\"jsonp\"!==t&&\"system\"!==t){const r={params:{}};null===i?i=[r]:i.push(r),p++}var c=a===p;if(s=s||c,!s){const r=p;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}c=r===p,s=s||c}if(!s){const r={params:{}};return null===i?i=[r]:i.push(r),p++,l.errors=i,!1}p=n,null!==i&&(n?i.length=n:i=null),f=e===p}else f=!0;if(f)if(void 0!==r.umdNamedDefine){const t=p;if(\"boolean\"!=typeof r.umdNamedDefine)return l.errors=[{params:{type:\"boolean\"}}],!1;f=t===p}else f=!0}}}}}}}return l.errors=i,0===p}function i(t,{instancePath:e=\"\",parentData:n,parentDataProperty:a,rootData:o=t}={}){let p=null,f=0;if(0===f){if(!t||\"object\"!=typeof t||Array.isArray(t))return i.errors=[{params:{type:\"object\"}}],!1;{let n;if(void 0===t.name&&(n=\"name\")||void 0===t.exposes&&(n=\"exposes\"))return i.errors=[{params:{missingProperty:n}}],!1;{const n=f;for(const r in t)if(\"exposes\"!==r&&\"filename\"!==r&&\"library\"!==r&&\"name\"!==r&&\"runtime\"!==r&&\"shareScope\"!==r)return i.errors=[{params:{additionalProperty:r}}],!1;if(n===f){if(void 0!==t.exposes){const r=f;s(t.exposes,{instancePath:e+\"/exposes\",parentData:t,parentDataProperty:\"exposes\",rootData:o})||(p=null===p?s.errors:p.concat(s.errors),f=p.length);var u=r===f}else u=!0;if(u){if(void 0!==t.filename){let e=t.filename;const n=f;if(f===n){if(\"string\"!=typeof e)return i.errors=[{params:{type:\"string\"}}],!1;if(e.includes(\"!\")||!1!==r.test(e))return i.errors=[{params:{}}],!1;if(e.length<1)return i.errors=[{params:{}}],!1}u=n===f}else u=!0;if(u){if(void 0!==t.library){const r=f;l(t.library,{instancePath:e+\"/library\",parentData:t,parentDataProperty:\"library\",rootData:o})||(p=null===p?l.errors:p.concat(l.errors),f=p.length),u=r===f}else u=!0;if(u){if(void 0!==t.name){let r=t.name;const e=f;if(f===e){if(\"string\"!=typeof r)return i.errors=[{params:{type:\"string\"}}],!1;if(r.length<1)return i.errors=[{params:{}}],!1}u=e===f}else u=!0;if(u){if(void 0!==t.runtime){let r=t.runtime;const e=f,n=f;let s=!1;const a=f;if(!1!==r){const r={params:{}};null===p?p=[r]:p.push(r),f++}var c=a===f;if(s=s||c,!s){const t=f;if(f===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===p?p=[r]:p.push(r),f++}}else{const r={params:{type:\"string\"}};null===p?p=[r]:p.push(r),f++}c=t===f,s=s||c}if(!s){const r={params:{}};return null===p?p=[r]:p.push(r),f++,i.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),u=e===f}else u=!0;if(u)if(void 0!==t.shareScope){let r=t.shareScope;const e=f;if(f===e){if(\"string\"!=typeof r)return i.errors=[{params:{type:\"string\"}}],!1;if(r.length<1)return i.errors=[{params:{}}],!1}u=e===f}else u=!0}}}}}}}}return i.errors=p,0===f}module.exports=i,module.exports[\"default\"]=i;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js": /*!******************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js ***! \******************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:a,parentDataProperty:n,rootData:o=t}={}){if(!Array.isArray(t))return r.errors=[{params:{type:\"array\"}}],!1;{const e=t.length;for(let a=0;a<e;a++){let e=t[a];const n=0;if(\"string\"!=typeof e)return r.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return r.errors=[{params:{}}],!1;if(0!==n)break}}return r.errors=null,!0}function t(e,{instancePath:a=\"\",parentData:n,parentDataProperty:o,rootData:s=e}={}){let l=null,p=0;if(0===p){if(!e||\"object\"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:\"object\"}}],!1;{let n;if(void 0===e.external&&(n=\"external\"))return t.errors=[{params:{missingProperty:n}}],!1;{const n=p;for(const r in e)if(\"external\"!==r&&\"shareScope\"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(n===p){if(void 0!==e.external){let n=e.external;const o=p,u=p;let f=!1;const m=p;if(p==p)if(\"string\"==typeof n){if(n.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),p++}var i=m===p;if(f=f||i,!f){const t=p;r(n,{instancePath:a+\"/external\",parentData:e,parentDataProperty:\"external\",rootData:s})||(l=null===l?r.errors:l.concat(r.errors),p=l.length),i=t===p,f=f||i}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),p++,t.errors=l,!1}p=u,null!==l&&(u?l.length=u:l=null);var c=o===p}else c=!0;if(c)if(void 0!==e.shareScope){let r=e.shareScope;const a=p;if(p===a){if(\"string\"!=typeof r)return t.errors=[{params:{type:\"string\"}}],!1;if(r.length<1)return t.errors=[{params:{}}],!1}c=a===p}else c=!0}}}}return t.errors=l,0===p}function e(a,{instancePath:n=\"\",parentData:o,parentDataProperty:s,rootData:l=a}={}){let p=null,i=0;if(0===i){if(!a||\"object\"!=typeof a||Array.isArray(a))return e.errors=[{params:{type:\"object\"}}],!1;for(const o in a){let s=a[o];const u=i,f=i;let m=!1;const y=i;t(s,{instancePath:n+\"/\"+o.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?t.errors:p.concat(t.errors),i=p.length);var c=y===i;if(m=m||c,!m){const t=i;if(i==i)if(\"string\"==typeof s){if(s.length<1){const r={params:{}};null===p?p=[r]:p.push(r),i++}}else{const r={params:{type:\"string\"}};null===p?p=[r]:p.push(r),i++}if(c=t===i,m=m||c,!m){const t=i;r(s,{instancePath:n+\"/\"+o.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:a,parentDataProperty:o,rootData:l})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),c=t===i,m=m||c}}if(!m){const r={params:{}};return null===p?p=[r]:p.push(r),i++,e.errors=p,!1}if(i=f,null!==p&&(f?p.length=f:p=null),u!==i)break}}return e.errors=p,0===i}function a(r,{instancePath:t=\"\",parentData:n,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;const i=p;let c=!1;const u=p;if(p===u)if(Array.isArray(r)){const a=r.length;for(let n=0;n<a;n++){let a=r[n];const o=p,i=p;let c=!1;const u=p;if(p==p)if(\"string\"==typeof a){if(a.length<1){const r={params:{}};null===l?l=[r]:l.push(r),p++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),p++}var f=u===p;if(c=c||f,!c){const o=p;e(a,{instancePath:t+\"/\"+n,parentData:r,parentDataProperty:n,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),f=o===p,c=c||f}if(c)p=i,null!==l&&(i?l.length=i:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),p++}if(o!==p)break}}else{const r={params:{type:\"array\"}};null===l?l=[r]:l.push(r),p++}var m=u===p;if(c=c||m,!c){const a=p;e(r,{instancePath:t,parentData:n,parentDataProperty:o,rootData:s})||(l=null===l?e.errors:l.concat(e.errors),p=l.length),m=a===p,c=c||m}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),p++,a.errors=l,!1}return p=i,null!==l&&(i?l.length=i:l=null),a.errors=l,0===p}function n(r,{instancePath:t=\"\",parentData:e,parentDataProperty:o,rootData:s=r}={}){let l=null,p=0;if(0===p){if(!r||\"object\"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===r.remoteType&&(e=\"remoteType\")||void 0===r.remotes&&(e=\"remotes\"))return n.errors=[{params:{missingProperty:e}}],!1;{const e=p;for(const t in r)if(\"remoteType\"!==t&&\"remotes\"!==t&&\"shareScope\"!==t)return n.errors=[{params:{additionalProperty:t}}],!1;if(e===p){if(void 0!==r.remoteType){let t=r.remoteType;const e=p,a=p;let o=!1,s=null;const c=p;if(\"var\"!==t&&\"module\"!==t&&\"assign\"!==t&&\"this\"!==t&&\"window\"!==t&&\"self\"!==t&&\"global\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"commonjs-module\"!==t&&\"commonjs-static\"!==t&&\"amd\"!==t&&\"amd-require\"!==t&&\"umd\"!==t&&\"umd2\"!==t&&\"jsonp\"!==t&&\"system\"!==t&&\"promise\"!==t&&\"import\"!==t&&\"script\"!==t&&\"node-commonjs\"!==t){const r={params:{}};null===l?l=[r]:l.push(r),p++}if(c===p&&(o=!0,s=0),!o){const r={params:{passingSchemas:s}};return null===l?l=[r]:l.push(r),p++,n.errors=l,!1}p=a,null!==l&&(a?l.length=a:l=null);var i=e===p}else i=!0;if(i){if(void 0!==r.remotes){const e=p;a(r.remotes,{instancePath:t+\"/remotes\",parentData:r,parentDataProperty:\"remotes\",rootData:s})||(l=null===l?a.errors:l.concat(a.errors),p=l.length),i=e===p}else i=!0;if(i)if(void 0!==r.shareScope){let t=r.shareScope;const e=p;if(p===e){if(\"string\"!=typeof t)return n.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return n.errors=[{params:{}}],!1}i=e===p}else i=!0}}}}}return n.errors=l,0===p}module.exports=n,module.exports[\"default\"]=n;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ExternalsType.check.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ExternalsType.check.js ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction o(r,{instancePath:s=\"\",parentData:m,parentDataProperty:t,rootData:e=r}={}){return\"var\"!==r&&\"module\"!==r&&\"assign\"!==r&&\"this\"!==r&&\"window\"!==r&&\"self\"!==r&&\"global\"!==r&&\"commonjs\"!==r&&\"commonjs2\"!==r&&\"commonjs-module\"!==r&&\"commonjs-static\"!==r&&\"amd\"!==r&&\"amd-require\"!==r&&\"umd\"!==r&&\"umd2\"!==r&&\"jsonp\"!==r&&\"system\"!==r&&\"promise\"!==r&&\"import\"!==r&&\"script\"!==r&&\"node-commonjs\"!==r?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}module.exports=o,module.exports[\"default\"]=o;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ExternalsType.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js": /*!****************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js ***! \****************************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst r=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;module.exports=d,module.exports[\"default\"]=d;const t={exposes:{$ref:\"#/definitions/Exposes\"},filename:{type:\"string\",absolutePath:!1},library:{$ref:\"#/definitions/LibraryOptions\"},name:{type:\"string\"},remoteType:{oneOf:[{$ref:\"#/definitions/ExternalsType\"}]},remotes:{$ref:\"#/definitions/Remotes\"},runtime:{$ref:\"#/definitions/EntryRuntime\"},shareScope:{type:\"string\",minLength:1},shared:{$ref:\"#/definitions/Shared\"}},e=Object.prototype.hasOwnProperty;function n(r,{instancePath:t=\"\",parentData:e,parentDataProperty:a,rootData:s=r}={}){if(!Array.isArray(r))return n.errors=[{params:{type:\"array\"}}],!1;{const t=r.length;for(let e=0;e<t;e++){let t=r[e];const a=0;if(\"string\"!=typeof t)return n.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return n.errors=[{params:{}}],!1;if(0!==a)break}}return n.errors=null,!0}function a(r,{instancePath:t=\"\",parentData:e,parentDataProperty:s,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||\"object\"!=typeof r||Array.isArray(r))return a.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===r.import&&(e=\"import\"))return a.errors=[{params:{missingProperty:e}}],!1;{const e=i;for(const t in r)if(\"import\"!==t&&\"name\"!==t)return a.errors=[{params:{additionalProperty:t}}],!1;if(e===i){if(void 0!==r.import){let e=r.import;const s=i,c=i;let u=!1;const m=i;if(i==i)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),i++}var p=m===i;if(u=u||p,!u){const a=i;n(e,{instancePath:t+\"/import\",parentData:r,parentDataProperty:\"import\",rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),p=a===i,u=u||p}if(!u){const r={params:{}};return null===l?l=[r]:l.push(r),i++,a.errors=l,!1}i=c,null!==l&&(c?l.length=c:l=null);var f=s===i}else f=!0;if(f)if(void 0!==r.name){const t=i;if(\"string\"!=typeof r.name)return a.errors=[{params:{type:\"string\"}}],!1;f=t===i}else f=!0}}}}return a.errors=l,0===i}function s(r,{instancePath:t=\"\",parentData:e,parentDataProperty:o,rootData:l=r}={}){let i=null,p=0;if(0===p){if(!r||\"object\"!=typeof r||Array.isArray(r))return s.errors=[{params:{type:\"object\"}}],!1;for(const e in r){let o=r[e];const c=p,u=p;let m=!1;const y=p;a(o,{instancePath:t+\"/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:e,rootData:l})||(i=null===i?a.errors:i.concat(a.errors),p=i.length);var f=y===p;if(m=m||f,!m){const a=p;if(p==p)if(\"string\"==typeof o){if(o.length<1){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}if(f=a===p,m=m||f,!m){const a=p;n(o,{instancePath:t+\"/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:e,rootData:l})||(i=null===i?n.errors:i.concat(n.errors),p=i.length),f=a===p,m=m||f}}if(!m){const r={params:{}};return null===i?i=[r]:i.push(r),p++,s.errors=i,!1}if(p=u,null!==i&&(u?i.length=u:i=null),c!==p)break}}return s.errors=i,0===p}function o(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let l=null,i=0;const p=i;let f=!1;const c=i;if(i===c)if(Array.isArray(r)){const e=r.length;for(let n=0;n<e;n++){let e=r[n];const o=i,p=i;let f=!1;const c=i;if(i==i)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),i++}var u=c===i;if(f=f||u,!f){const o=i;s(e,{instancePath:t+\"/\"+n,parentData:r,parentDataProperty:n,rootData:a})||(l=null===l?s.errors:l.concat(s.errors),i=l.length),u=o===i,f=f||u}if(f)i=p,null!==l&&(p?l.length=p:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),i++}if(o!==i)break}}else{const r={params:{type:\"array\"}};null===l?l=[r]:l.push(r),i++}var m=c===i;if(f=f||m,!f){const o=i;s(r,{instancePath:t,parentData:e,parentDataProperty:n,rootData:a})||(l=null===l?s.errors:l.concat(s.errors),i=l.length),m=o===i,f=f||m}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),i++,o.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),o.errors=l,0===i}function l(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;const i=o;let p=!1;const f=o;if(\"string\"!=typeof r){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var c=f===o;if(p=p||c,!p){const t=o;if(o==o)if(r&&\"object\"==typeof r&&!Array.isArray(r)){const t=o;for(const t in r)if(\"amd\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"root\"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),o++;break}if(t===o){if(void 0!==r.amd){const t=o;if(\"string\"!=typeof r.amd){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var u=t===o}else u=!0;if(u){if(void 0!==r.commonjs){const t=o;if(\"string\"!=typeof r.commonjs){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}u=t===o}else u=!0;if(u){if(void 0!==r.commonjs2){const t=o;if(\"string\"!=typeof r.commonjs2){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}u=t===o}else u=!0;if(u)if(void 0!==r.root){const t=o;if(\"string\"!=typeof r.root){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}u=t===o}else u=!0}}}}else{const r={params:{type:\"object\"}};null===s?s=[r]:s.push(r),o++}c=t===o,p=p||c}if(!p){const r={params:{}};return null===s?s=[r]:s.push(r),o++,l.errors=s,!1}return o=i,null!==s&&(i?s.length=i:s=null),l.errors=s,0===o}function i(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;const l=o;let p=!1;const f=o;if(o===f)if(Array.isArray(r))if(r.length<1){const r={params:{limit:1}};null===s?s=[r]:s.push(r),o++}else{const t=r.length;for(let e=0;e<t;e++){let t=r[e];const n=o;if(o===n)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}if(n!==o)break}}else{const r={params:{type:\"array\"}};null===s?s=[r]:s.push(r),o++}var c=f===o;if(p=p||c,!p){const t=o;if(o===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}if(c=t===o,p=p||c,!p){const t=o;if(o==o)if(r&&\"object\"==typeof r&&!Array.isArray(r)){const t=o;for(const t in r)if(\"amd\"!==t&&\"commonjs\"!==t&&\"root\"!==t){const r={params:{additionalProperty:t}};null===s?s=[r]:s.push(r),o++;break}if(t===o){if(void 0!==r.amd){let t=r.amd;const e=o;if(o===e)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var u=e===o}else u=!0;if(u){if(void 0!==r.commonjs){let t=r.commonjs;const e=o;if(o===e)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}u=e===o}else u=!0;if(u)if(void 0!==r.root){let t=r.root;const e=o,n=o;let a=!1;const l=o;if(o===l)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=o;if(o===n)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}if(n!==o)break}}else{const r={params:{type:\"array\"}};null===s?s=[r]:s.push(r),o++}var m=l===o;if(a=a||m,!a){const r=o;if(o===r)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}m=r===o,a=a||m}if(a)o=n,null!==s&&(n?s.length=n:s=null);else{const r={params:{}};null===s?s=[r]:s.push(r),o++}u=e===o}else u=!0}}}else{const r={params:{type:\"object\"}};null===s?s=[r]:s.push(r),o++}c=t===o,p=p||c}}if(!p){const r={params:{}};return null===s?s=[r]:s.push(r),o++,i.errors=s,!1}return o=l,null!==s&&(l?s.length=l:s=null),i.errors=s,0===o}function p(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;if(0===o){if(!r||\"object\"!=typeof r||Array.isArray(r))return p.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===r.type&&(e=\"type\"))return p.errors=[{params:{missingProperty:e}}],!1;{const e=o;for(const t in r)if(\"auxiliaryComment\"!==t&&\"export\"!==t&&\"name\"!==t&&\"type\"!==t&&\"umdNamedDefine\"!==t)return p.errors=[{params:{additionalProperty:t}}],!1;if(e===o){if(void 0!==r.auxiliaryComment){const e=o;l(r.auxiliaryComment,{instancePath:t+\"/auxiliaryComment\",parentData:r,parentDataProperty:\"auxiliaryComment\",rootData:a})||(s=null===s?l.errors:s.concat(l.errors),o=s.length);var f=e===o}else f=!0;if(f){if(void 0!==r.export){let t=r.export;const e=o,n=o;let a=!1;const l=o;if(o===l)if(Array.isArray(t)){const r=t.length;for(let e=0;e<r;e++){let r=t[e];const n=o;if(o===n)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}if(n!==o)break}}else{const r={params:{type:\"array\"}};null===s?s=[r]:s.push(r),o++}var c=l===o;if(a=a||c,!a){const r=o;if(o===r)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}c=r===o,a=a||c}if(!a){const r={params:{}};return null===s?s=[r]:s.push(r),o++,p.errors=s,!1}o=n,null!==s&&(n?s.length=n:s=null),f=e===o}else f=!0;if(f){if(void 0!==r.name){const e=o;i(r.name,{instancePath:t+\"/name\",parentData:r,parentDataProperty:\"name\",rootData:a})||(s=null===s?i.errors:s.concat(i.errors),o=s.length),f=e===o}else f=!0;if(f){if(void 0!==r.type){let t=r.type;const e=o,n=o;let a=!1;const l=o;if(\"var\"!==t&&\"module\"!==t&&\"assign\"!==t&&\"assign-properties\"!==t&&\"this\"!==t&&\"window\"!==t&&\"self\"!==t&&\"global\"!==t&&\"commonjs\"!==t&&\"commonjs2\"!==t&&\"commonjs-module\"!==t&&\"commonjs-static\"!==t&&\"amd\"!==t&&\"amd-require\"!==t&&\"umd\"!==t&&\"umd2\"!==t&&\"jsonp\"!==t&&\"system\"!==t){const r={params:{}};null===s?s=[r]:s.push(r),o++}var u=l===o;if(a=a||u,!a){const r=o;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}u=r===o,a=a||u}if(!a){const r={params:{}};return null===s?s=[r]:s.push(r),o++,p.errors=s,!1}o=n,null!==s&&(n?s.length=n:s=null),f=e===o}else f=!0;if(f)if(void 0!==r.umdNamedDefine){const t=o;if(\"boolean\"!=typeof r.umdNamedDefine)return p.errors=[{params:{type:\"boolean\"}}],!1;f=t===o}else f=!0}}}}}}}return p.errors=s,0===o}function f(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){if(!Array.isArray(r))return f.errors=[{params:{type:\"array\"}}],!1;{const t=r.length;for(let e=0;e<t;e++){let t=r[e];const n=0;if(\"string\"!=typeof t)return f.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return f.errors=[{params:{}}],!1;if(0!==n)break}}return f.errors=null,!0}function c(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;if(0===o){if(!r||\"object\"!=typeof r||Array.isArray(r))return c.errors=[{params:{type:\"object\"}}],!1;{let e;if(void 0===r.external&&(e=\"external\"))return c.errors=[{params:{missingProperty:e}}],!1;{const e=o;for(const t in r)if(\"external\"!==t&&\"shareScope\"!==t)return c.errors=[{params:{additionalProperty:t}}],!1;if(e===o){if(void 0!==r.external){let e=r.external;const n=o,p=o;let u=!1;const m=o;if(o==o)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var l=m===o;if(u=u||l,!u){const n=o;f(e,{instancePath:t+\"/external\",parentData:r,parentDataProperty:\"external\",rootData:a})||(s=null===s?f.errors:s.concat(f.errors),o=s.length),l=n===o,u=u||l}if(!u){const r={params:{}};return null===s?s=[r]:s.push(r),o++,c.errors=s,!1}o=p,null!==s&&(p?s.length=p:s=null);var i=n===o}else i=!0;if(i)if(void 0!==r.shareScope){let t=r.shareScope;const e=o;if(o===e){if(\"string\"!=typeof t)return c.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return c.errors=[{params:{}}],!1}i=e===o}else i=!0}}}}return c.errors=s,0===o}function u(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;if(0===o){if(!r||\"object\"!=typeof r||Array.isArray(r))return u.errors=[{params:{type:\"object\"}}],!1;for(const e in r){let n=r[e];const i=o,p=o;let m=!1;const y=o;c(n,{instancePath:t+\"/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:e,rootData:a})||(s=null===s?c.errors:s.concat(c.errors),o=s.length);var l=y===o;if(m=m||l,!m){const i=o;if(o==o)if(\"string\"==typeof n){if(n.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}if(l=i===o,m=m||l,!m){const i=o;f(n,{instancePath:t+\"/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:e,rootData:a})||(s=null===s?f.errors:s.concat(f.errors),o=s.length),l=i===o,m=m||l}}if(!m){const r={params:{}};return null===s?s=[r]:s.push(r),o++,u.errors=s,!1}if(o=p,null!==s&&(p?s.length=p:s=null),i!==o)break}}return u.errors=s,0===o}function m(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;const l=o;let i=!1;const p=o;if(o===p)if(Array.isArray(r)){const e=r.length;for(let n=0;n<e;n++){let e=r[n];const l=o,i=o;let p=!1;const c=o;if(o==o)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var f=c===o;if(p=p||f,!p){const l=o;u(e,{instancePath:t+\"/\"+n,parentData:r,parentDataProperty:n,rootData:a})||(s=null===s?u.errors:s.concat(u.errors),o=s.length),f=l===o,p=p||f}if(p)o=i,null!==s&&(i?s.length=i:s=null);else{const r={params:{}};null===s?s=[r]:s.push(r),o++}if(l!==o)break}}else{const r={params:{type:\"array\"}};null===s?s=[r]:s.push(r),o++}var c=p===o;if(i=i||c,!i){const l=o;u(r,{instancePath:t,parentData:e,parentDataProperty:n,rootData:a})||(s=null===s?u.errors:s.concat(u.errors),o=s.length),c=l===o,i=i||c}if(!i){const r={params:{}};return null===s?s=[r]:s.push(r),o++,m.errors=s,!1}return o=l,null!==s&&(l?s.length=l:s=null),m.errors=s,0===o}const y={eager:{type:\"boolean\"},import:{anyOf:[{enum:[!1]},{$ref:\"#/definitions/SharedItem\"}]},packageName:{type:\"string\",minLength:1},requiredVersion:{anyOf:[{enum:[!1]},{type:\"string\"}]},shareKey:{type:\"string\",minLength:1},shareScope:{type:\"string\",minLength:1},singleton:{type:\"boolean\"},strictVersion:{type:\"boolean\"},version:{anyOf:[{enum:[!1]},{type:\"string\"}]}};function h(r,{instancePath:t=\"\",parentData:n,parentDataProperty:a,rootData:s=r}={}){let o=null,l=0;if(0===l){if(!r||\"object\"!=typeof r||Array.isArray(r))return h.errors=[{params:{type:\"object\"}}],!1;{const t=l;for(const t in r)if(!e.call(y,t))return h.errors=[{params:{additionalProperty:t}}],!1;if(t===l){if(void 0!==r.eager){const t=l;if(\"boolean\"!=typeof r.eager)return h.errors=[{params:{type:\"boolean\"}}],!1;var i=t===l}else i=!0;if(i){if(void 0!==r.import){let t=r.import;const e=l,n=l;let a=!1;const s=l;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),l++}var p=s===l;if(a=a||p,!a){const r=l;if(l==l)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}p=r===l,a=a||p}if(!a){const r={params:{}};return null===o?o=[r]:o.push(r),l++,h.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),i=e===l}else i=!0;if(i){if(void 0!==r.packageName){let t=r.packageName;const e=l;if(l===e){if(\"string\"!=typeof t)return h.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return h.errors=[{params:{}}],!1}i=e===l}else i=!0;if(i){if(void 0!==r.requiredVersion){let t=r.requiredVersion;const e=l,n=l;let a=!1;const s=l;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),l++}var f=s===l;if(a=a||f,!a){const r=l;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}f=r===l,a=a||f}if(!a){const r={params:{}};return null===o?o=[r]:o.push(r),l++,h.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),i=e===l}else i=!0;if(i){if(void 0!==r.shareKey){let t=r.shareKey;const e=l;if(l===e){if(\"string\"!=typeof t)return h.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return h.errors=[{params:{}}],!1}i=e===l}else i=!0;if(i){if(void 0!==r.shareScope){let t=r.shareScope;const e=l;if(l===e){if(\"string\"!=typeof t)return h.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return h.errors=[{params:{}}],!1}i=e===l}else i=!0;if(i){if(void 0!==r.singleton){const t=l;if(\"boolean\"!=typeof r.singleton)return h.errors=[{params:{type:\"boolean\"}}],!1;i=t===l}else i=!0;if(i){if(void 0!==r.strictVersion){const t=l;if(\"boolean\"!=typeof r.strictVersion)return h.errors=[{params:{type:\"boolean\"}}],!1;i=t===l}else i=!0;if(i)if(void 0!==r.version){let t=r.version;const e=l,n=l;let a=!1;const s=l;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),l++}var c=s===l;if(a=a||c,!a){const r=l;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}c=r===l,a=a||c}if(!a){const r={params:{}};return null===o?o=[r]:o.push(r),l++,h.errors=o,!1}l=n,null!==o&&(n?o.length=n:o=null),i=e===l}else i=!0}}}}}}}}}}return h.errors=o,0===l}function g(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;if(0===o){if(!r||\"object\"!=typeof r||Array.isArray(r))return g.errors=[{params:{type:\"object\"}}],!1;for(const e in r){let n=r[e];const i=o,p=o;let f=!1;const c=o;h(n,{instancePath:t+\"/\"+e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:r,parentDataProperty:e,rootData:a})||(s=null===s?h.errors:s.concat(h.errors),o=s.length);var l=c===o;if(f=f||l,!f){const r=o;if(o==o)if(\"string\"==typeof n){if(n.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}l=r===o,f=f||l}if(!f){const r={params:{}};return null===s?s=[r]:s.push(r),o++,g.errors=s,!1}if(o=p,null!==s&&(p?s.length=p:s=null),i!==o)break}}return g.errors=s,0===o}function D(r,{instancePath:t=\"\",parentData:e,parentDataProperty:n,rootData:a=r}={}){let s=null,o=0;const l=o;let i=!1;const p=o;if(o===p)if(Array.isArray(r)){const e=r.length;for(let n=0;n<e;n++){let e=r[n];const l=o,i=o;let p=!1;const c=o;if(o==o)if(\"string\"==typeof e){if(e.length<1){const r={params:{}};null===s?s=[r]:s.push(r),o++}}else{const r={params:{type:\"string\"}};null===s?s=[r]:s.push(r),o++}var f=c===o;if(p=p||f,!p){const l=o;g(e,{instancePath:t+\"/\"+n,parentData:r,parentDataProperty:n,rootData:a})||(s=null===s?g.errors:s.concat(g.errors),o=s.length),f=l===o,p=p||f}if(p)o=i,null!==s&&(i?s.length=i:s=null);else{const r={params:{}};null===s?s=[r]:s.push(r),o++}if(l!==o)break}}else{const r={params:{type:\"array\"}};null===s?s=[r]:s.push(r),o++}var c=p===o;if(i=i||c,!i){const l=o;g(r,{instancePath:t,parentData:e,parentDataProperty:n,rootData:a})||(s=null===s?g.errors:s.concat(g.errors),o=s.length),c=l===o,i=i||c}if(!i){const r={params:{}};return null===s?s=[r]:s.push(r),o++,D.errors=s,!1}return o=l,null!==s&&(l?s.length=l:s=null),D.errors=s,0===o}function d(n,{instancePath:a=\"\",parentData:s,parentDataProperty:l,rootData:i=n}={}){let f=null,c=0;if(0===c){if(!n||\"object\"!=typeof n||Array.isArray(n))return d.errors=[{params:{type:\"object\"}}],!1;{const s=c;for(const r in n)if(!e.call(t,r))return d.errors=[{params:{additionalProperty:r}}],!1;if(s===c){if(void 0!==n.exposes){const r=c;o(n.exposes,{instancePath:a+\"/exposes\",parentData:n,parentDataProperty:\"exposes\",rootData:i})||(f=null===f?o.errors:f.concat(o.errors),c=f.length);var u=r===c}else u=!0;if(u){if(void 0!==n.filename){let t=n.filename;const e=c;if(c===e){if(\"string\"!=typeof t)return d.errors=[{params:{type:\"string\"}}],!1;if(t.includes(\"!\")||!1!==r.test(t))return d.errors=[{params:{}}],!1}u=e===c}else u=!0;if(u){if(void 0!==n.library){const r=c;p(n.library,{instancePath:a+\"/library\",parentData:n,parentDataProperty:\"library\",rootData:i})||(f=null===f?p.errors:f.concat(p.errors),c=f.length),u=r===c}else u=!0;if(u){if(void 0!==n.name){const r=c;if(\"string\"!=typeof n.name)return d.errors=[{params:{type:\"string\"}}],!1;u=r===c}else u=!0;if(u){if(void 0!==n.remoteType){let r=n.remoteType;const t=c,e=c;let a=!1,s=null;const o=c;if(\"var\"!==r&&\"module\"!==r&&\"assign\"!==r&&\"this\"!==r&&\"window\"!==r&&\"self\"!==r&&\"global\"!==r&&\"commonjs\"!==r&&\"commonjs2\"!==r&&\"commonjs-module\"!==r&&\"commonjs-static\"!==r&&\"amd\"!==r&&\"amd-require\"!==r&&\"umd\"!==r&&\"umd2\"!==r&&\"jsonp\"!==r&&\"system\"!==r&&\"promise\"!==r&&\"import\"!==r&&\"script\"!==r&&\"node-commonjs\"!==r){const r={params:{}};null===f?f=[r]:f.push(r),c++}if(o===c&&(a=!0,s=0),!a){const r={params:{passingSchemas:s}};return null===f?f=[r]:f.push(r),c++,d.errors=f,!1}c=e,null!==f&&(e?f.length=e:f=null),u=t===c}else u=!0;if(u){if(void 0!==n.remotes){const r=c;m(n.remotes,{instancePath:a+\"/remotes\",parentData:n,parentDataProperty:\"remotes\",rootData:i})||(f=null===f?m.errors:f.concat(m.errors),c=f.length),u=r===c}else u=!0;if(u){if(void 0!==n.runtime){let r=n.runtime;const t=c,e=c;let a=!1;const s=c;if(!1!==r){const r={params:{}};null===f?f=[r]:f.push(r),c++}var y=s===c;if(a=a||y,!a){const t=c;if(c===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===f?f=[r]:f.push(r),c++}}else{const r={params:{type:\"string\"}};null===f?f=[r]:f.push(r),c++}y=t===c,a=a||y}if(!a){const r={params:{}};return null===f?f=[r]:f.push(r),c++,d.errors=f,!1}c=e,null!==f&&(e?f.length=e:f=null),u=t===c}else u=!0;if(u){if(void 0!==n.shareScope){let r=n.shareScope;const t=c;if(c===t){if(\"string\"!=typeof r)return d.errors=[{params:{type:\"string\"}}],!1;if(r.length<1)return d.errors=[{params:{}}],!1}u=t===c}else u=!0;if(u)if(void 0!==n.shared){const r=c;D(n.shared,{instancePath:a+\"/shared\",parentData:n,parentDataProperty:\"shared\",rootData:i})||(f=null===f?D.errors:f.concat(D.errors),c=f.length),u=r===c}else u=!0}}}}}}}}}}return d.errors=f,0===c}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:a,parentDataProperty:o,rootData:n=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return r.errors=[{params:{additionalProperty:e}}],!1;return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js": /*!****************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js ***! \****************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:a,parentDataProperty:o,rootData:n=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;for(const e in t)return r.errors=[{params:{additionalProperty:e}}],!1;return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js ***! \*****************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst r=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;function t(e,{instancePath:a=\"\",parentData:o,parentDataProperty:n,rootData:s=e}={}){if(!e||\"object\"!=typeof e||Array.isArray(e))return t.errors=[{params:{type:\"object\"}}],!1;{const a=0;for(const r in e)if(\"outputPath\"!==r)return t.errors=[{params:{additionalProperty:r}}],!1;if(0===a&&void 0!==e.outputPath){let a=e.outputPath;if(\"string\"!=typeof a)return t.errors=[{params:{type:\"string\"}}],!1;if(a.includes(\"!\")||!0!==r.test(a))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}module.exports=t,module.exports[\"default\"]=t;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js": /*!************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js ***! \************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:o,parentDataProperty:a,rootData:i=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;{const e=0;for(const e in t)if(\"prioritiseInitial\"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.prioritiseInitial&&\"boolean\"!=typeof t.prioritiseInitial)return r.errors=[{params:{type:\"boolean\"}}],!1}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js": /*!*************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js ***! \*************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:o,parentDataProperty:a,rootData:i=t}={}){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;{const e=0;for(const e in t)if(\"prioritiseInitial\"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.prioritiseInitial&&\"boolean\"!=typeof t.prioritiseInitial)return r.errors=[{params:{type:\"boolean\"}}],!1}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js": /*!******************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js ***! \******************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(e,{instancePath:t=\"\",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{const t=0;for(const t in e)if(\"chunkOverhead\"!==t&&\"entryChunkMultiplicator\"!==t&&\"maxSize\"!==t&&\"minSize\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if(\"number\"!=typeof e.chunkOverhead)return r.errors=[{params:{type:\"number\"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if(\"number\"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:\"number\"}}],!1;a=0===t}else a=!0;if(a){if(void 0!==e.maxSize){const t=0;if(\"number\"!=typeof e.maxSize)return r.errors=[{params:{type:\"number\"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minSize){const t=0;if(\"number\"!=typeof e.minSize)return r.errors=[{params:{type:\"number\"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js ***! \**************************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(e,{instancePath:t=\"\",parentData:n,parentDataProperty:a,rootData:o=e}={}){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{let t;if(void 0===e.maxChunks&&(t=\"maxChunks\"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if(\"chunkOverhead\"!==t&&\"entryChunkMultiplicator\"!==t&&\"maxChunks\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if(\"number\"!=typeof e.chunkOverhead)return r.errors=[{params:{type:\"number\"}}],!1;var s=0===t}else s=!0;if(s){if(void 0!==e.entryChunkMultiplicator){const t=0;if(\"number\"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:\"number\"}}],!1;s=0===t}else s=!0;if(s)if(void 0!==e.maxChunks){let t=e.maxChunks;const n=0;if(0===n){if(\"number\"!=typeof t)return r.errors=[{params:{type:\"number\"}}],!1;if(t<1||isNaN(t))return r.errors=[{params:{comparison:\">=\",limit:1}}],!1}s=0===n}else s=!0}}}}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js ***! \***********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(e,{instancePath:t=\"\",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{let t;if(void 0===e.minChunkSize&&(t=\"minChunkSize\"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if(\"chunkOverhead\"!==t&&\"entryChunkMultiplicator\"!==t&&\"minChunkSize\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if(\"number\"!=typeof e.chunkOverhead)return r.errors=[{params:{type:\"number\"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if(\"number\"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:\"number\"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minChunkSize){const t=0;if(\"number\"!=typeof e.minChunkSize)return r.errors=[{params:{type:\"number\"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports[\"default\"]=r;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js ***! \*****************************************************************************/ /***/ ((module) => { eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nconst r=/^(?:[A-Za-z]:[\\\\/]|\\\\\\\\|\\/)/;module.exports=n,module.exports[\"default\"]=n;const t=new RegExp(\"^https?://\",\"u\");function e(n,{instancePath:o=\"\",parentData:s,parentDataProperty:a,rootData:l=n}={}){let i=null,p=0;if(0===p){if(!n||\"object\"!=typeof n||Array.isArray(n))return e.errors=[{params:{type:\"object\"}}],!1;{let o;if(void 0===n.allowedUris&&(o=\"allowedUris\"))return e.errors=[{params:{missingProperty:o}}],!1;{const o=p;for(const r in n)if(\"allowedUris\"!==r&&\"cacheLocation\"!==r&&\"frozen\"!==r&&\"lockfileLocation\"!==r&&\"proxy\"!==r&&\"upgrade\"!==r)return e.errors=[{params:{additionalProperty:r}}],!1;if(o===p){if(void 0!==n.allowedUris){let r=n.allowedUris;const o=p;if(p==p){if(!Array.isArray(r))return e.errors=[{params:{type:\"array\"}}],!1;{const n=r.length;for(let o=0;o<n;o++){let n=r[o];const s=p,a=p;let l=!1;const c=p;if(!(n instanceof RegExp)){const r={params:{}};null===i?i=[r]:i.push(r),p++}var f=c===p;if(l=l||f,!l){const r=p;if(p===r)if(\"string\"==typeof n){if(!t.test(n)){const r={params:{pattern:\"^https?://\"}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}if(f=r===p,l=l||f,!l){const r=p;if(!(n instanceof Function)){const r={params:{}};null===i?i=[r]:i.push(r),p++}f=r===p,l=l||f}}if(!l){const r={params:{}};return null===i?i=[r]:i.push(r),p++,e.errors=i,!1}if(p=a,null!==i&&(a?i.length=a:i=null),s!==p)break}}}var c=o===p}else c=!0;if(c){if(void 0!==n.cacheLocation){let t=n.cacheLocation;const o=p,s=p;let a=!1;const l=p;if(!1!==t){const r={params:{}};null===i?i=[r]:i.push(r),p++}var u=l===p;if(a=a||u,!a){const e=p;if(p===e)if(\"string\"==typeof t){if(t.includes(\"!\")||!0!==r.test(t)){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),p++}u=e===p,a=a||u}if(!a){const r={params:{}};return null===i?i=[r]:i.push(r),p++,e.errors=i,!1}p=s,null!==i&&(s?i.length=s:i=null),c=o===p}else c=!0;if(c){if(void 0!==n.frozen){const r=p;if(\"boolean\"!=typeof n.frozen)return e.errors=[{params:{type:\"boolean\"}}],!1;c=r===p}else c=!0;if(c){if(void 0!==n.lockfileLocation){let t=n.lockfileLocation;const o=p;if(p===o){if(\"string\"!=typeof t)return e.errors=[{params:{type:\"string\"}}],!1;if(t.includes(\"!\")||!0!==r.test(t))return e.errors=[{params:{}}],!1}c=o===p}else c=!0;if(c){if(void 0!==n.proxy){const r=p;if(\"string\"!=typeof n.proxy)return e.errors=[{params:{type:\"string\"}}],!1;c=r===p}else c=!0;if(c)if(void 0!==n.upgrade){const r=p;if(\"boolean\"!=typeof n.upgrade)return e.errors=[{params:{type:\"boolean\"}}],!1;c=r===p}else c=!0}}}}}}}}return e.errors=i,0===p}function n(r,{instancePath:t=\"\",parentData:o,parentDataProperty:s,rootData:a=r}={}){let l=null,i=0;const p=i;let f=!1,c=null;const u=i;if(e(r,{instancePath:t,parentData:o,parentDataProperty:s,rootData:a})||(l=null===l?e.errors:l.concat(e.errors),i=l.length),u===i&&(f=!0,c=0),!f){const r={params:{passingSchemas:c}};return null===l?l=[r]:l.push(r),i++,n.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),n.errors=l,0===i}\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js ***! \***********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(e,{instancePath:t=\"\",parentData:n,parentDataProperty:s,rootData:a=e}={}){let o=null,i=0;if(0===i){if(!e||\"object\"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:\"object\"}}],!1;{const t=i;for(const t in e)if(\"eager\"!==t&&\"import\"!==t&&\"packageName\"!==t&&\"requiredVersion\"!==t&&\"shareKey\"!==t&&\"shareScope\"!==t&&\"singleton\"!==t&&\"strictVersion\"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(t===i){if(void 0!==e.eager){const t=i;if(\"boolean\"!=typeof e.eager)return r.errors=[{params:{type:\"boolean\"}}],!1;var l=t===i}else l=!0;if(l){if(void 0!==e.import){let t=e.import;const n=i,s=i;let a=!1;const f=i;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),i++}var p=f===i;if(a=a||p,!a){const r=i;if(i==i)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===o?o=[r]:o.push(r),i++}}else{const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),i++}p=r===i,a=a||p}if(!a){const e={params:{}};return null===o?o=[e]:o.push(e),i++,r.errors=o,!1}i=s,null!==o&&(s?o.length=s:o=null),l=n===i}else l=!0;if(l){if(void 0!==e.packageName){let t=e.packageName;const n=i;if(i===n){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.requiredVersion){let t=e.requiredVersion;const n=i,s=i;let a=!1;const p=i;if(!1!==t){const r={params:{}};null===o?o=[r]:o.push(r),i++}var f=p===i;if(a=a||f,!a){const r=i;if(\"string\"!=typeof t){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),i++}f=r===i,a=a||f}if(!a){const e={params:{}};return null===o?o=[e]:o.push(e),i++,r.errors=o,!1}i=s,null!==o&&(s?o.length=s:o=null),l=n===i}else l=!0;if(l){if(void 0!==e.shareKey){let t=e.shareKey;const n=i;if(i===n){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.shareScope){let t=e.shareScope;const n=i;if(i===n){if(\"string\"!=typeof t)return r.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return r.errors=[{params:{}}],!1}l=n===i}else l=!0;if(l){if(void 0!==e.singleton){const t=i;if(\"boolean\"!=typeof e.singleton)return r.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0;if(l)if(void 0!==e.strictVersion){const t=i;if(\"boolean\"!=typeof e.strictVersion)return r.errors=[{params:{type:\"boolean\"}}],!1;l=t===i}else l=!0}}}}}}}}}return r.errors=o,0===i}function e(t,{instancePath:n=\"\",parentData:s,parentDataProperty:a,rootData:o=t}={}){let i=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return e.errors=[{params:{type:\"object\"}}],!1;for(const s in t){let a=t[s];const f=l,c=l;let u=!1;const y=l;r(a,{instancePath:n+\"/\"+s.replace(/~/g,\"~0\").replace(/\\//g,\"~1\"),parentData:t,parentDataProperty:s,rootData:o})||(i=null===i?r.errors:i.concat(r.errors),l=i.length);var p=y===l;if(u=u||p,!u){const r=l;if(l==l)if(\"string\"==typeof a){if(a.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),l++}p=r===l,u=u||p}if(!u){const r={params:{}};return null===i?i=[r]:i.push(r),l++,e.errors=i,!1}if(l=c,null!==i&&(c?i.length=c:i=null),f!==l)break}}return e.errors=i,0===l}function t(r,{instancePath:n=\"\",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;const p=l;let f=!1;const c=l;if(l===c)if(Array.isArray(r)){const t=r.length;for(let s=0;s<t;s++){let t=r[s];const a=l,p=l;let f=!1;const c=l;if(l==l)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===i?i=[r]:i.push(r),l++}}else{const r={params:{type:\"string\"}};null===i?i=[r]:i.push(r),l++}var u=c===l;if(f=f||u,!f){const a=l;e(t,{instancePath:n+\"/\"+s,parentData:r,parentDataProperty:s,rootData:o})||(i=null===i?e.errors:i.concat(e.errors),l=i.length),u=a===l,f=f||u}if(f)l=p,null!==i&&(p?i.length=p:i=null);else{const r={params:{}};null===i?i=[r]:i.push(r),l++}if(a!==l)break}}else{const r={params:{type:\"array\"}};null===i?i=[r]:i.push(r),l++}var y=c===l;if(f=f||y,!f){const t=l;e(r,{instancePath:n,parentData:s,parentDataProperty:a,rootData:o})||(i=null===i?e.errors:i.concat(e.errors),l=i.length),y=t===l,f=f||y}if(!f){const r={params:{}};return null===i?i=[r]:i.push(r),l++,t.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),t.errors=i,0===l}function n(r,{instancePath:e=\"\",parentData:s,parentDataProperty:a,rootData:o=r}={}){let i=null,l=0;if(0===l){if(!r||\"object\"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:\"object\"}}],!1;{let s;if(void 0===r.consumes&&(s=\"consumes\"))return n.errors=[{params:{missingProperty:s}}],!1;{const s=l;for(const e in r)if(\"consumes\"!==e&&\"shareScope\"!==e)return n.errors=[{params:{additionalProperty:e}}],!1;if(s===l){if(void 0!==r.consumes){const n=l;t(r.consumes,{instancePath:e+\"/consumes\",parentData:r,parentDataProperty:\"consumes\",rootData:o})||(i=null===i?t.errors:i.concat(t.errors),l=i.length);var p=n===l}else p=!0;if(p)if(void 0!==r.shareScope){let e=r.shareScope;const t=l;if(l===t){if(\"string\"!=typeof e)return n.errors=[{params:{type:\"string\"}}],!1;if(e.length<1)return n.errors=[{params:{}}],!1}p=t===l}else p=!0}}}}return n.errors=i,0===l}module.exports=n,module.exports[\"default\"]=n;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js": /*!***********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js ***! \***********************************************************************************/ /***/ ((module) => { "use strict"; eval("/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\nfunction r(t,{instancePath:e=\"\",parentData:s,parentDataProperty:n,rootData:a=t}={}){let o=null,l=0;if(0===l){if(!t||\"object\"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:\"object\"}}],!1;for(const e in t){let s=t[e];const n=l,a=l;let f=!1;const u=l;if(l==l)if(s&&\"object\"==typeof s&&!Array.isArray(s)){const r=l;for(const r in s)if(\"eager\"!==r&&\"shareKey\"!==r&&\"shareScope\"!==r&&\"version\"!==r){const t={params:{additionalProperty:r}};null===o?o=[t]:o.push(t),l++;break}if(r===l){if(void 0!==s.eager){const r=l;if(\"boolean\"!=typeof s.eager){const r={params:{type:\"boolean\"}};null===o?o=[r]:o.push(r),l++}var i=r===l}else i=!0;if(i){if(void 0!==s.shareKey){let r=s.shareKey;const t=l;if(l===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0;if(i){if(void 0!==s.shareScope){let r=s.shareScope;const t=l;if(l===t)if(\"string\"==typeof r){if(r.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0;if(i)if(void 0!==s.version){let r=s.version;const t=l,e=l;let n=!1;const a=l;if(!1!==r){const r={params:{}};null===o?o=[r]:o.push(r),l++}var p=a===l;if(n=n||p,!n){const t=l;if(\"string\"!=typeof r){const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}p=t===l,n=n||p}if(n)l=e,null!==o&&(e?o.length=e:o=null);else{const r={params:{}};null===o?o=[r]:o.push(r),l++}i=t===l}else i=!0}}}}else{const r={params:{type:\"object\"}};null===o?o=[r]:o.push(r),l++}var c=u===l;if(f=f||c,!f){const r=l;if(l==l)if(\"string\"==typeof s){if(s.length<1){const r={params:{}};null===o?o=[r]:o.push(r),l++}}else{const r={params:{type:\"string\"}};null===o?o=[r]:o.push(r),l++}c=r===l,f=f||c}if(!f){const t={params:{}};return null===o?o=[t]:o.push(t),l++,r.errors=o,!1}if(l=a,null!==o&&(a?o.length=a:o=null),n!==l)break}}return r.errors=o,0===l}function t(e,{instancePath:s=\"\",parentData:n,parentDataProperty:a,rootData:o=e}={}){let l=null,i=0;const p=i;let c=!1;const f=i;if(i===f)if(Array.isArray(e)){const t=e.length;for(let n=0;n<t;n++){let t=e[n];const a=i,p=i;let c=!1;const f=i;if(i==i)if(\"string\"==typeof t){if(t.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:\"string\"}};null===l?l=[r]:l.push(r),i++}var u=f===i;if(c=c||u,!c){const a=i;r(t,{instancePath:s+\"/\"+n,parentData:e,parentDataProperty:n,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),u=a===i,c=c||u}if(c)i=p,null!==l&&(p?l.length=p:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),i++}if(a!==i)break}}else{const r={params:{type:\"array\"}};null===l?l=[r]:l.push(r),i++}var h=f===i;if(c=c||h,!c){const t=i;r(e,{instancePath:s,parentData:n,parentDataProperty:a,rootData:o})||(l=null===l?r.errors:l.concat(r.errors),i=l.length),h=t===i,c=c||h}if(!c){const r={params:{}};return null===l?l=[r]:l.push(r),i++,t.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),t.errors=l,0===i}function e(r,{instancePath:s=\"\",parentData:n,parentDataProperty:a,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||\"object\"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:\"object\"}}],!1;{let n;if(void 0===r.provides&&(n=\"provides\"))return e.errors=[{params:{missingProperty:n}}],!1;{const n=i;for(const t in r)if(\"provides\"!==t&&\"shareScope\"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(n===i){if(void 0!==r.provides){const e=i;t(r.provides,{instancePath:s+\"/provides\",parentData:r,parentDataProperty:\"provides\",rootData:o})||(l=null===l?t.errors:l.concat(t.errors),i=l.length);var p=e===i}else p=!0;if(p)if(void 0!==r.shareScope){let t=r.shareScope;const s=i;if(i===s){if(\"string\"!=typeof t)return e.errors=[{params:{type:\"string\"}}],!1;if(t.length<1)return e.errors=[{params:{}}],!1}p=s===i}else p=!0}}}}return e.errors=l,0===i}module.exports=e,module.exports[\"default\"]=e;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js?"); /***/ }), /***/ "?3465": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?8b61": /*!************************!*\ !*** stream (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/stream_(ignored)?"); /***/ }), /***/ "?4f38": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?daa0": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?b752": /*!************************!*\ !*** pnpapi (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/pnpapi_(ignored)?"); /***/ }), /***/ "?ff26": /*!************************!*\ !*** assert (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/assert_(ignored)?"); /***/ }), /***/ "?269e": /*!************************!*\ !*** assert (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/assert_(ignored)?"); /***/ }), /***/ "?309e": /*!***************************!*\ !*** constants (ignored) ***! \***************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/constants_(ignored)?"); /***/ }), /***/ "?cbdb": /*!********************!*\ !*** fs (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/fs_(ignored)?"); /***/ }), /***/ "?e654": /*!************************!*\ !*** stream (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/stream_(ignored)?"); /***/ }), /***/ "?7d11": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?8f01": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?e3e5": /*!*******************************!*\ !*** child_process (ignored) ***! \*******************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/child_process_(ignored)?"); /***/ }), /***/ "?9391": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?f16d": /*!************************!*\ !*** stream (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/stream_(ignored)?"); /***/ }), /***/ "?3694": /*!********************************!*\ !*** worker_threads (ignored) ***! \********************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/worker_threads_(ignored)?"); /***/ }), /***/ "?e02a": /*!********************!*\ !*** os (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/os_(ignored)?"); /***/ }), /***/ "?9e44": /*!********************************!*\ !*** worker_threads (ignored) ***! \********************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/worker_threads_(ignored)?"); /***/ }), /***/ "?04c2": /*!********************!*\ !*** fs (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/fs_(ignored)?"); /***/ }), /***/ "?9145": /*!*********************!*\ !*** url (ignored) ***! \*********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/url_(ignored)?"); /***/ }), /***/ "?4d82": /*!************************!*\ !*** stream (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/stream_(ignored)?"); /***/ }), /***/ "?cfb0": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?4ef1": /*!************************!*\ !*** buffer (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/buffer_(ignored)?"); /***/ }), /***/ "?a5de": /*!***************************!*\ !*** @swc/core (ignored) ***! \***************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/@swc/core_(ignored)?"); /***/ }), /***/ "?83af": /*!****************************************!*\ !*** @swc/core/package.json (ignored) ***! \****************************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/@swc/core/package.json_(ignored)?"); /***/ }), /***/ "?f093": /*!*************************!*\ !*** esbuild (ignored) ***! \*************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/esbuild_(ignored)?"); /***/ }), /***/ "?38be": /*!**************************************!*\ !*** esbuild/package.json (ignored) ***! \**************************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/esbuild/package.json_(ignored)?"); /***/ }), /***/ "?fc3b": /*!********************!*\ !*** os (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/os_(ignored)?"); /***/ }), /***/ "?1464": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?10af": /*!***************************!*\ !*** uglify-js (ignored) ***! \***************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/uglify-js_(ignored)?"); /***/ }), /***/ "?4edc": /*!****************************************!*\ !*** uglify-js/package.json (ignored) ***! \****************************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/uglify-js/package.json_(ignored)?"); /***/ }), /***/ "?9ebe": /*!********************!*\ !*** fs (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/fs_(ignored)?"); /***/ }), /***/ "?2f71": /*!********************!*\ !*** os (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/os_(ignored)?"); /***/ }), /***/ "?002f": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?9a98": /*!**********************!*\ !*** http (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/http_(ignored)?"); /***/ }), /***/ "?4dd1": /*!***********************!*\ !*** https (ignored) ***! \***********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/https_(ignored)?"); /***/ }), /***/ "?e3a4": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?ed64": /*!********************!*\ !*** fs (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/fs_(ignored)?"); /***/ }), /***/ "?a2bb": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?ddee": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?a934": /*!***************************!*\ !*** inspector (ignored) ***! \***************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/inspector_(ignored)?"); /***/ }), /***/ "?e626": /*!*********************!*\ !*** url (ignored) ***! \*********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/url_(ignored)?"); /***/ }), /***/ "?17bd": /*!**********************!*\ !*** http (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/http_(ignored)?"); /***/ }), /***/ "?8af2": /*!***********************!*\ !*** https (ignored) ***! \***********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/https_(ignored)?"); /***/ }), /***/ "?9268": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?3581": /*!********************!*\ !*** vm (ignored) ***! \********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/vm_(ignored)?"); /***/ }), /***/ "?d8cb": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?284c": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?cd17": /*!**********************!*\ !*** http (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/http_(ignored)?"); /***/ }), /***/ "?0f7b": /*!***********************!*\ !*** https (ignored) ***! \***********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/https_(ignored)?"); /***/ }), /***/ "?06a5": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?0db4": /*!*********************!*\ !*** url (ignored) ***! \*********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/url_(ignored)?"); /***/ }), /***/ "?efdd": /*!**********************!*\ !*** zlib (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/zlib_(ignored)?"); /***/ }), /***/ "?bf39": /*!************************!*\ !*** buffer (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/buffer_(ignored)?"); /***/ }), /***/ "?0d96": /*!************************!*\ !*** stream (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/stream_(ignored)?"); /***/ }), /***/ "?8c71": /*!**********************!*\ !*** zlib (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/zlib_(ignored)?"); /***/ }), /***/ "?9dd6": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?c7f2": /*!************************!*\ !*** crypto (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/crypto_(ignored)?"); /***/ }), /***/ "?d9c2": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?e852": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "?1bfb": /*!************************!*\ !*** module (ignored) ***! \************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/module_(ignored)?"); /***/ }), /***/ "?6559": /*!**********************!*\ !*** path (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/path_(ignored)?"); /***/ }), /***/ "?8c64": /*!*****************************!*\ !*** querystring (ignored) ***! \*****************************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/querystring_(ignored)?"); /***/ }), /***/ "?dcf1": /*!**********************!*\ !*** util (ignored) ***! \**********************/ /***/ (() => { eval("/* (ignored) */\n\n//# sourceURL=webpack://JSONDigger/util_(ignored)?"); /***/ }), /***/ "./node_modules/terser/dist/bundle.min.js": /*!************************************************!*\ !*** ./node_modules/terser/dist/bundle.min.js ***! \************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { eval("(function (global, factory) {\n true ? factory(exports, __webpack_require__(/*! @jridgewell/source-map */ \"./node_modules/@jridgewell/source-map/dist/source-map.umd.js\")) :\n0;\n}(this, (function (exports, sourceMap) { 'use strict';\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction characters(str) {\n return str.split(\"\");\n}\n\nfunction member(name, array) {\n return array.includes(name);\n}\n\nclass DefaultsError extends Error {\n constructor(msg, defs) {\n super();\n\n this.name = \"DefaultsError\";\n this.message = msg;\n this.defs = defs;\n }\n}\n\nfunction defaults(args, defs, croak) {\n if (args === true) {\n args = {};\n } else if (args != null && typeof args === \"object\") {\n args = {...args};\n }\n\n const ret = args || {};\n\n if (croak) for (const i in ret) if (HOP(ret, i) && !HOP(defs, i)) {\n throw new DefaultsError(\"`\" + i + \"` is not a supported option\", defs);\n }\n\n for (const i in defs) if (HOP(defs, i)) {\n if (!args || !HOP(args, i)) {\n ret[i] = defs[i];\n } else if (i === \"ecma\") {\n let ecma = args[i] | 0;\n if (ecma > 5 && ecma < 2015) ecma += 2009;\n ret[i] = ecma;\n } else {\n ret[i] = (args && HOP(args, i)) ? args[i] : defs[i];\n }\n }\n\n return ret;\n}\n\nfunction noop() {}\nfunction return_false() { return false; }\nfunction return_true() { return true; }\nfunction return_this() { return this; }\nfunction return_null() { return null; }\n\nvar MAP = (function() {\n function MAP(a, f, backwards) {\n var ret = [], top = [], i;\n function doit() {\n var val = f(a[i], i);\n var is_last = val instanceof Last;\n if (is_last) val = val.v;\n if (val instanceof AtTop) {\n val = val.v;\n if (val instanceof Splice) {\n top.push.apply(top, backwards ? val.v.slice().reverse() : val.v);\n } else {\n top.push(val);\n }\n } else if (val !== skip) {\n if (val instanceof Splice) {\n ret.push.apply(ret, backwards ? val.v.slice().reverse() : val.v);\n } else {\n ret.push(val);\n }\n }\n return is_last;\n }\n if (Array.isArray(a)) {\n if (backwards) {\n for (i = a.length; --i >= 0;) if (doit()) break;\n ret.reverse();\n top.reverse();\n } else {\n for (i = 0; i < a.length; ++i) if (doit()) break;\n }\n } else {\n for (i in a) if (HOP(a, i)) if (doit()) break;\n }\n return top.concat(ret);\n }\n MAP.at_top = function(val) { return new AtTop(val); };\n MAP.splice = function(val) { return new Splice(val); };\n MAP.last = function(val) { return new Last(val); };\n var skip = MAP.skip = {};\n function AtTop(val) { this.v = val; }\n function Splice(val) { this.v = val; }\n function Last(val) { this.v = val; }\n return MAP;\n})();\n\nfunction make_node(ctor, orig, props) {\n if (!props) props = {};\n if (orig) {\n if (!props.start) props.start = orig.start;\n if (!props.end) props.end = orig.end;\n }\n return new ctor(props);\n}\n\nfunction push_uniq(array, el) {\n if (!array.includes(el))\n array.push(el);\n}\n\nfunction string_template(text, props) {\n return text.replace(/{(.+?)}/g, function(str, p) {\n return props && props[p];\n });\n}\n\nfunction remove(array, el) {\n for (var i = array.length; --i >= 0;) {\n if (array[i] === el) array.splice(i, 1);\n }\n}\n\nfunction mergeSort(array, cmp) {\n if (array.length < 2) return array.slice();\n function merge(a, b) {\n var r = [], ai = 0, bi = 0, i = 0;\n while (ai < a.length && bi < b.length) {\n cmp(a[ai], b[bi]) <= 0\n ? r[i++] = a[ai++]\n : r[i++] = b[bi++];\n }\n if (ai < a.length) r.push.apply(r, a.slice(ai));\n if (bi < b.length) r.push.apply(r, b.slice(bi));\n return r;\n }\n function _ms(a) {\n if (a.length <= 1)\n return a;\n var m = Math.floor(a.length / 2), left = a.slice(0, m), right = a.slice(m);\n left = _ms(left);\n right = _ms(right);\n return merge(left, right);\n }\n return _ms(array);\n}\n\nfunction makePredicate(words) {\n if (!Array.isArray(words)) words = words.split(\" \");\n\n return new Set(words.sort());\n}\n\nfunction map_add(map, key, value) {\n if (map.has(key)) {\n map.get(key).push(value);\n } else {\n map.set(key, [ value ]);\n }\n}\n\nfunction map_from_object(obj) {\n var map = new Map();\n for (var key in obj) {\n if (HOP(obj, key) && key.charAt(0) === \"$\") {\n map.set(key.substr(1), obj[key]);\n }\n }\n return map;\n}\n\nfunction map_to_object(map) {\n var obj = Object.create(null);\n map.forEach(function (value, key) {\n obj[\"$\" + key] = value;\n });\n return obj;\n}\n\nfunction HOP(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nfunction keep_name(keep_setting, name) {\n return keep_setting === true\n || (keep_setting instanceof RegExp && keep_setting.test(name));\n}\n\nvar lineTerminatorEscape = {\n \"\\0\": \"0\",\n \"\\n\": \"n\",\n \"\\r\": \"r\",\n \"\\u2028\": \"u2028\",\n \"\\u2029\": \"u2029\",\n};\nfunction regexp_source_fix(source) {\n // V8 does not escape line terminators in regexp patterns in node 12\n // We'll also remove literal \\0\n return source.replace(/[\\0\\n\\r\\u2028\\u2029]/g, function (match, offset) {\n var escaped = source[offset - 1] == \"\\\\\"\n && (source[offset - 2] != \"\\\\\"\n || /(?:^|[^\\\\])(?:\\\\{2})*$/.test(source.slice(0, offset - 1)));\n return (escaped ? \"\" : \"\\\\\") + lineTerminatorEscape[match];\n });\n}\n\n// Subset of regexps that is not going to cause regexp based DDOS\n// https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS\nconst re_safe_regexp = /^[\\\\/|\\0\\s\\w^$.[\\]()]*$/;\n\n/** Check if the regexp is safe for Terser to create without risking a RegExp DOS */\nconst regexp_is_safe = (source) => re_safe_regexp.test(source);\n\nconst all_flags = \"dgimsuy\";\nfunction sort_regexp_flags(flags) {\n const existing_flags = new Set(flags.split(\"\"));\n let out = \"\";\n for (const flag of all_flags) {\n if (existing_flags.has(flag)) {\n out += flag;\n existing_flags.delete(flag);\n }\n }\n if (existing_flags.size) {\n // Flags Terser doesn't know about\n existing_flags.forEach(flag => { out += flag; });\n }\n return out;\n}\n\nfunction has_annotation(node, annotation) {\n return node._annotations & annotation;\n}\n\nfunction set_annotation(node, annotation) {\n node._annotations |= annotation;\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n Parser based on parse-js (http://marijn.haverbeke.nl/parse-js/).\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nvar LATEST_RAW = \"\"; // Only used for numbers and template strings\nvar TEMPLATE_RAWS = new Map(); // Raw template strings\n\nvar KEYWORDS = \"break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with\";\nvar KEYWORDS_ATOM = \"false null true\";\nvar RESERVED_WORDS = \"enum import super this \" + KEYWORDS_ATOM + \" \" + KEYWORDS;\nvar ALL_RESERVED_WORDS = \"implements interface package private protected public static \" + RESERVED_WORDS;\nvar KEYWORDS_BEFORE_EXPRESSION = \"return new delete throw else case yield await\";\n\nKEYWORDS = makePredicate(KEYWORDS);\nRESERVED_WORDS = makePredicate(RESERVED_WORDS);\nKEYWORDS_BEFORE_EXPRESSION = makePredicate(KEYWORDS_BEFORE_EXPRESSION);\nKEYWORDS_ATOM = makePredicate(KEYWORDS_ATOM);\nALL_RESERVED_WORDS = makePredicate(ALL_RESERVED_WORDS);\n\nvar OPERATOR_CHARS = makePredicate(characters(\"+-*&%=<>!?|~^\"));\n\nvar RE_NUM_LITERAL = /[0-9a-f]/i;\nvar RE_HEX_NUMBER = /^0x[0-9a-f]+$/i;\nvar RE_OCT_NUMBER = /^0[0-7]+$/;\nvar RE_ES6_OCT_NUMBER = /^0o[0-7]+$/i;\nvar RE_BIN_NUMBER = /^0b[01]+$/i;\nvar RE_DEC_NUMBER = /^\\d*\\.?\\d*(?:e[+-]?\\d*(?:\\d\\.?|\\.?\\d)\\d*)?$/i;\nvar RE_BIG_INT = /^(0[xob])?[0-9a-f]+n$/i;\n\nvar OPERATORS = makePredicate([\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"new\",\n \"void\",\n \"delete\",\n \"++\",\n \"--\",\n \"+\",\n \"-\",\n \"!\",\n \"~\",\n \"&\",\n \"|\",\n \"^\",\n \"*\",\n \"**\",\n \"/\",\n \"%\",\n \">>\",\n \"<<\",\n \">>>\",\n \"<\",\n \">\",\n \"<=\",\n \">=\",\n \"==\",\n \"===\",\n \"!=\",\n \"!==\",\n \"?\",\n \"=\",\n \"+=\",\n \"-=\",\n \"||=\",\n \"&&=\",\n \"??=\",\n \"/=\",\n \"*=\",\n \"**=\",\n \"%=\",\n \">>=\",\n \"<<=\",\n \">>>=\",\n \"|=\",\n \"^=\",\n \"&=\",\n \"&&\",\n \"??\",\n \"||\",\n]);\n\nvar WHITESPACE_CHARS = makePredicate(characters(\" \\u00a0\\n\\r\\t\\f\\u000b\\u200b\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\uFEFF\"));\n\nvar NEWLINE_CHARS = makePredicate(characters(\"\\n\\r\\u2028\\u2029\"));\n\nvar PUNC_AFTER_EXPRESSION = makePredicate(characters(\";]),:\"));\n\nvar PUNC_BEFORE_EXPRESSION = makePredicate(characters(\"[{(,;:\"));\n\nvar PUNC_CHARS = makePredicate(characters(\"[]{}(),;:\"));\n\n/* -----[ Tokenizer ]----- */\n\n// surrogate safe regexps adapted from https://github.com/mathiasbynens/unicode-8.0.0/tree/89b412d8a71ecca9ed593d9e9fa073ab64acfebe/Binary_Property\nvar UNICODE = {\n ID_Start: /[$A-Z_a-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC03-\\uDC37\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDEC0-\\uDEF8]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]/,\n ID_Continue: /(?:[$0-9A-Z_a-z\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58-\\u0C5A\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDDFD\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF7A\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE38-\\uDE3A\\uDE3F\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE6\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC00-\\uDC46\\uDC66-\\uDC6F\\uDC7F-\\uDCBA\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD00-\\uDD34\\uDD36-\\uDD3F\\uDD50-\\uDD73\\uDD76\\uDD80-\\uDDC4\\uDDCA-\\uDDCC\\uDDD0-\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE37\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEEA\\uDEF0-\\uDEF9\\uDF00-\\uDF03\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3C-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF50\\uDF57\\uDF5D-\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC80-\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDDD8-\\uDDDD\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9\\uDF00-\\uDF19\\uDF1D-\\uDF2B\\uDF30-\\uDF39]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDEC0-\\uDEF8]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF])+/,\n};\n\nfunction get_full_char(str, pos) {\n if (is_surrogate_pair_head(str.charCodeAt(pos))) {\n if (is_surrogate_pair_tail(str.charCodeAt(pos + 1))) {\n return str.charAt(pos) + str.charAt(pos + 1);\n }\n } else if (is_surrogate_pair_tail(str.charCodeAt(pos))) {\n if (is_surrogate_pair_head(str.charCodeAt(pos - 1))) {\n return str.charAt(pos - 1) + str.charAt(pos);\n }\n }\n return str.charAt(pos);\n}\n\nfunction get_full_char_code(str, pos) {\n // https://en.wikipedia.org/wiki/Universal_Character_Set_characters#Surrogates\n if (is_surrogate_pair_head(str.charCodeAt(pos))) {\n return 0x10000 + (str.charCodeAt(pos) - 0xd800 << 10) + str.charCodeAt(pos + 1) - 0xdc00;\n }\n return str.charCodeAt(pos);\n}\n\nfunction get_full_char_length(str) {\n var surrogates = 0;\n\n for (var i = 0; i < str.length; i++) {\n if (is_surrogate_pair_head(str.charCodeAt(i)) && is_surrogate_pair_tail(str.charCodeAt(i + 1))) {\n surrogates++;\n i++;\n }\n }\n\n return str.length - surrogates;\n}\n\nfunction from_char_code(code) {\n // Based on https://github.com/mathiasbynens/String.fromCodePoint/blob/master/fromcodepoint.js\n if (code > 0xFFFF) {\n code -= 0x10000;\n return (String.fromCharCode((code >> 10) + 0xD800) +\n String.fromCharCode((code % 0x400) + 0xDC00));\n }\n return String.fromCharCode(code);\n}\n\nfunction is_surrogate_pair_head(code) {\n return code >= 0xd800 && code <= 0xdbff;\n}\n\nfunction is_surrogate_pair_tail(code) {\n return code >= 0xdc00 && code <= 0xdfff;\n}\n\nfunction is_digit(code) {\n return code >= 48 && code <= 57;\n}\n\nfunction is_identifier_start(ch) {\n return UNICODE.ID_Start.test(ch);\n}\n\nfunction is_identifier_char(ch) {\n return UNICODE.ID_Continue.test(ch);\n}\n\nconst BASIC_IDENT = /^[a-z_$][a-z0-9_$]*$/i;\n\nfunction is_basic_identifier_string(str) {\n return BASIC_IDENT.test(str);\n}\n\nfunction is_identifier_string(str, allow_surrogates) {\n if (BASIC_IDENT.test(str)) {\n return true;\n }\n if (!allow_surrogates && /[\\ud800-\\udfff]/.test(str)) {\n return false;\n }\n var match = UNICODE.ID_Start.exec(str);\n if (!match || match.index !== 0) {\n return false;\n }\n\n str = str.slice(match[0].length);\n if (!str) {\n return true;\n }\n\n match = UNICODE.ID_Continue.exec(str);\n return !!match && match[0].length === str.length;\n}\n\nfunction parse_js_number(num, allow_e = true) {\n if (!allow_e && num.includes(\"e\")) {\n return NaN;\n }\n if (RE_HEX_NUMBER.test(num)) {\n return parseInt(num.substr(2), 16);\n } else if (RE_OCT_NUMBER.test(num)) {\n return parseInt(num.substr(1), 8);\n } else if (RE_ES6_OCT_NUMBER.test(num)) {\n return parseInt(num.substr(2), 8);\n } else if (RE_BIN_NUMBER.test(num)) {\n return parseInt(num.substr(2), 2);\n } else if (RE_DEC_NUMBER.test(num)) {\n return parseFloat(num);\n } else {\n var val = parseFloat(num);\n if (val == num) return val;\n }\n}\n\nclass JS_Parse_Error extends Error {\n constructor(message, filename, line, col, pos) {\n super();\n\n this.name = \"SyntaxError\";\n this.message = message;\n this.filename = filename;\n this.line = line;\n this.col = col;\n this.pos = pos;\n }\n}\n\nfunction js_error(message, filename, line, col, pos) {\n throw new JS_Parse_Error(message, filename, line, col, pos);\n}\n\nfunction is_token(token, type, val) {\n return token.type == type && (val == null || token.value == val);\n}\n\nvar EX_EOF = {};\n\nfunction tokenizer($TEXT, filename, html5_comments, shebang) {\n var S = {\n text : $TEXT,\n filename : filename,\n pos : 0,\n tokpos : 0,\n line : 1,\n tokline : 0,\n col : 0,\n tokcol : 0,\n newline_before : false,\n regex_allowed : false,\n brace_counter : 0,\n template_braces : [],\n comments_before : [],\n directives : {},\n directive_stack : []\n };\n\n function peek() { return get_full_char(S.text, S.pos); }\n\n // Used because parsing ?. involves a lookahead for a digit\n function is_option_chain_op() {\n const must_be_dot = S.text.charCodeAt(S.pos + 1) === 46;\n if (!must_be_dot) return false;\n\n const cannot_be_digit = S.text.charCodeAt(S.pos + 2);\n return cannot_be_digit < 48 || cannot_be_digit > 57;\n }\n\n function next(signal_eof, in_string) {\n var ch = get_full_char(S.text, S.pos++);\n if (signal_eof && !ch)\n throw EX_EOF;\n if (NEWLINE_CHARS.has(ch)) {\n S.newline_before = S.newline_before || !in_string;\n ++S.line;\n S.col = 0;\n if (ch == \"\\r\" && peek() == \"\\n\") {\n // treat a \\r\\n sequence as a single \\n\n ++S.pos;\n ch = \"\\n\";\n }\n } else {\n if (ch.length > 1) {\n ++S.pos;\n ++S.col;\n }\n ++S.col;\n }\n return ch;\n }\n\n function forward(i) {\n while (i--) next();\n }\n\n function looking_at(str) {\n return S.text.substr(S.pos, str.length) == str;\n }\n\n function find_eol() {\n var text = S.text;\n for (var i = S.pos, n = S.text.length; i < n; ++i) {\n var ch = text[i];\n if (NEWLINE_CHARS.has(ch))\n return i;\n }\n return -1;\n }\n\n function find(what, signal_eof) {\n var pos = S.text.indexOf(what, S.pos);\n if (signal_eof && pos == -1) throw EX_EOF;\n return pos;\n }\n\n function start_token() {\n S.tokline = S.line;\n S.tokcol = S.col;\n S.tokpos = S.pos;\n }\n\n var prev_was_dot = false;\n var previous_token = null;\n function token(type, value, is_comment) {\n S.regex_allowed = ((type == \"operator\" && !UNARY_POSTFIX.has(value)) ||\n (type == \"keyword\" && KEYWORDS_BEFORE_EXPRESSION.has(value)) ||\n (type == \"punc\" && PUNC_BEFORE_EXPRESSION.has(value))) ||\n (type == \"arrow\");\n if (type == \"punc\" && (value == \".\" || value == \"?.\")) {\n prev_was_dot = true;\n } else if (!is_comment) {\n prev_was_dot = false;\n }\n const line = S.tokline;\n const col = S.tokcol;\n const pos = S.tokpos;\n const nlb = S.newline_before;\n const file = filename;\n let comments_before = [];\n let comments_after = [];\n\n if (!is_comment) {\n comments_before = S.comments_before;\n comments_after = S.comments_before = [];\n }\n S.newline_before = false;\n const tok = new AST_Token(type, value, line, col, pos, nlb, comments_before, comments_after, file);\n\n if (!is_comment) previous_token = tok;\n return tok;\n }\n\n function skip_whitespace() {\n while (WHITESPACE_CHARS.has(peek()))\n next();\n }\n\n function read_while(pred) {\n var ret = \"\", ch, i = 0;\n while ((ch = peek()) && pred(ch, i++))\n ret += next();\n return ret;\n }\n\n function parse_error(err) {\n js_error(err, filename, S.tokline, S.tokcol, S.tokpos);\n }\n\n function read_num(prefix) {\n var has_e = false, after_e = false, has_x = false, has_dot = prefix == \".\", is_big_int = false, numeric_separator = false;\n var num = read_while(function(ch, i) {\n if (is_big_int) return false;\n\n var code = ch.charCodeAt(0);\n switch (code) {\n case 95: // _\n return (numeric_separator = true);\n case 98: case 66: // bB\n return (has_x = true); // Can occur in hex sequence, don't return false yet\n case 111: case 79: // oO\n case 120: case 88: // xX\n return has_x ? false : (has_x = true);\n case 101: case 69: // eE\n return has_x ? true : has_e ? false : (has_e = after_e = true);\n case 45: // -\n return after_e || (i == 0 && !prefix);\n case 43: // +\n return after_e;\n case (after_e = false, 46): // .\n return (!has_dot && !has_x && !has_e) ? (has_dot = true) : false;\n }\n\n if (ch === \"n\") {\n is_big_int = true;\n\n return true;\n }\n\n return RE_NUM_LITERAL.test(ch);\n });\n if (prefix) num = prefix + num;\n\n LATEST_RAW = num;\n\n if (RE_OCT_NUMBER.test(num) && next_token.has_directive(\"use strict\")) {\n parse_error(\"Legacy octal literals are not allowed in strict mode\");\n }\n if (numeric_separator) {\n if (num.endsWith(\"_\")) {\n parse_error(\"Numeric separators are not allowed at the end of numeric literals\");\n } else if (num.includes(\"__\")) {\n parse_error(\"Only one underscore is allowed as numeric separator\");\n }\n num = num.replace(/_/g, \"\");\n }\n if (num.endsWith(\"n\")) {\n const without_n = num.slice(0, -1);\n const allow_e = RE_HEX_NUMBER.test(without_n);\n const valid = parse_js_number(without_n, allow_e);\n if (!has_dot && RE_BIG_INT.test(num) && !isNaN(valid))\n return token(\"big_int\", without_n);\n parse_error(\"Invalid or unexpected token\");\n }\n var valid = parse_js_number(num);\n if (!isNaN(valid)) {\n return token(\"num\", valid);\n } else {\n parse_error(\"Invalid syntax: \" + num);\n }\n }\n\n function is_octal(ch) {\n return ch >= \"0\" && ch <= \"7\";\n }\n\n function read_escaped_char(in_string, strict_hex, template_string) {\n var ch = next(true, in_string);\n switch (ch.charCodeAt(0)) {\n case 110 : return \"\\n\";\n case 114 : return \"\\r\";\n case 116 : return \"\\t\";\n case 98 : return \"\\b\";\n case 118 : return \"\\u000b\"; // \\v\n case 102 : return \"\\f\";\n case 120 : return String.fromCharCode(hex_bytes(2, strict_hex)); // \\x\n case 117 : // \\u\n if (peek() == \"{\") {\n next(true);\n if (peek() === \"}\")\n parse_error(\"Expecting hex-character between {}\");\n while (peek() == \"0\") next(true); // No significance\n var result, length = find(\"}\", true) - S.pos;\n // Avoid 32 bit integer overflow (1 << 32 === 1)\n // We know first character isn't 0 and thus out of range anyway\n if (length > 6 || (result = hex_bytes(length, strict_hex)) > 0x10FFFF) {\n parse_error(\"Unicode reference out of bounds\");\n }\n next(true);\n return from_char_code(result);\n }\n return String.fromCharCode(hex_bytes(4, strict_hex));\n case 10 : return \"\"; // newline\n case 13 : // \\r\n if (peek() == \"\\n\") { // DOS newline\n next(true, in_string);\n return \"\";\n }\n }\n if (is_octal(ch)) {\n if (template_string && strict_hex) {\n const represents_null_character = ch === \"0\" && !is_octal(peek());\n if (!represents_null_character) {\n parse_error(\"Octal escape sequences are not allowed in template strings\");\n }\n }\n return read_octal_escape_sequence(ch, strict_hex);\n }\n return ch;\n }\n\n function read_octal_escape_sequence(ch, strict_octal) {\n // Read\n var p = peek();\n if (p >= \"0\" && p <= \"7\") {\n ch += next(true);\n if (ch[0] <= \"3\" && (p = peek()) >= \"0\" && p <= \"7\")\n ch += next(true);\n }\n\n // Parse\n if (ch === \"0\") return \"\\0\";\n if (ch.length > 0 && next_token.has_directive(\"use strict\") && strict_octal)\n parse_error(\"Legacy octal escape sequences are not allowed in strict mode\");\n return String.fromCharCode(parseInt(ch, 8));\n }\n\n function hex_bytes(n, strict_hex) {\n var num = 0;\n for (; n > 0; --n) {\n if (!strict_hex && isNaN(parseInt(peek(), 16))) {\n return parseInt(num, 16) || \"\";\n }\n var digit = next(true);\n if (isNaN(parseInt(digit, 16)))\n parse_error(\"Invalid hex-character pattern in string\");\n num += digit;\n }\n return parseInt(num, 16);\n }\n\n var read_string = with_eof_error(\"Unterminated string constant\", function() {\n const start_pos = S.pos;\n var quote = next(), ret = [];\n for (;;) {\n var ch = next(true, true);\n if (ch == \"\\\\\") ch = read_escaped_char(true, true);\n else if (ch == \"\\r\" || ch == \"\\n\") parse_error(\"Unterminated string constant\");\n else if (ch == quote) break;\n ret.push(ch);\n }\n var tok = token(\"string\", ret.join(\"\"));\n LATEST_RAW = S.text.slice(start_pos, S.pos);\n tok.quote = quote;\n return tok;\n });\n\n var read_template_characters = with_eof_error(\"Unterminated template\", function(begin) {\n if (begin) {\n S.template_braces.push(S.brace_counter);\n }\n var content = \"\", raw = \"\", ch, tok;\n next(true, true);\n while ((ch = next(true, true)) != \"`\") {\n if (ch == \"\\r\") {\n if (peek() == \"\\n\") ++S.pos;\n ch = \"\\n\";\n } else if (ch == \"$\" && peek() == \"{\") {\n next(true, true);\n S.brace_counter++;\n tok = token(begin ? \"template_head\" : \"template_substitution\", content);\n TEMPLATE_RAWS.set(tok, raw);\n tok.template_end = false;\n return tok;\n }\n\n raw += ch;\n if (ch == \"\\\\\") {\n var tmp = S.pos;\n var prev_is_tag = previous_token && (previous_token.type === \"name\" || previous_token.type === \"punc\" && (previous_token.value === \")\" || previous_token.value === \"]\"));\n ch = read_escaped_char(true, !prev_is_tag, true);\n raw += S.text.substr(tmp, S.pos - tmp);\n }\n\n content += ch;\n }\n S.template_braces.pop();\n tok = token(begin ? \"template_head\" : \"template_substitution\", content);\n TEMPLATE_RAWS.set(tok, raw);\n tok.template_end = true;\n return tok;\n });\n\n function skip_line_comment(type) {\n var regex_allowed = S.regex_allowed;\n var i = find_eol(), ret;\n if (i == -1) {\n ret = S.text.substr(S.pos);\n S.pos = S.text.length;\n } else {\n ret = S.text.substring(S.pos, i);\n S.pos = i;\n }\n S.col = S.tokcol + (S.pos - S.tokpos);\n S.comments_before.push(token(type, ret, true));\n S.regex_allowed = regex_allowed;\n return next_token;\n }\n\n var skip_multiline_comment = with_eof_error(\"Unterminated multiline comment\", function() {\n var regex_allowed = S.regex_allowed;\n var i = find(\"*/\", true);\n var text = S.text.substring(S.pos, i).replace(/\\r\\n|\\r|\\u2028|\\u2029/g, \"\\n\");\n // update stream position\n forward(get_full_char_length(text) /* text length doesn't count \\r\\n as 2 char while S.pos - i does */ + 2);\n S.comments_before.push(token(\"comment2\", text, true));\n S.newline_before = S.newline_before || text.includes(\"\\n\");\n S.regex_allowed = regex_allowed;\n return next_token;\n });\n\n var read_name = with_eof_error(\"Unterminated identifier name\", function() {\n var name = [], ch, escaped = false;\n var read_escaped_identifier_char = function() {\n escaped = true;\n next();\n if (peek() !== \"u\") {\n parse_error(\"Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}\");\n }\n return read_escaped_char(false, true);\n };\n\n // Read first character (ID_Start)\n if ((ch = peek()) === \"\\\\\") {\n ch = read_escaped_identifier_char();\n if (!is_identifier_start(ch)) {\n parse_error(\"First identifier char is an invalid identifier char\");\n }\n } else if (is_identifier_start(ch)) {\n next();\n } else {\n return \"\";\n }\n\n name.push(ch);\n\n // Read ID_Continue\n while ((ch = peek()) != null) {\n if ((ch = peek()) === \"\\\\\") {\n ch = read_escaped_identifier_char();\n if (!is_identifier_char(ch)) {\n parse_error(\"Invalid escaped identifier char\");\n }\n } else {\n if (!is_identifier_char(ch)) {\n break;\n }\n next();\n }\n name.push(ch);\n }\n const name_str = name.join(\"\");\n if (RESERVED_WORDS.has(name_str) && escaped) {\n parse_error(\"Escaped characters are not allowed in keywords\");\n }\n return name_str;\n });\n\n var read_regexp = with_eof_error(\"Unterminated regular expression\", function(source) {\n var prev_backslash = false, ch, in_class = false;\n while ((ch = next(true))) if (NEWLINE_CHARS.has(ch)) {\n parse_error(\"Unexpected line terminator\");\n } else if (prev_backslash) {\n source += \"\\\\\" + ch;\n prev_backslash = false;\n } else if (ch == \"[\") {\n in_class = true;\n source += ch;\n } else if (ch == \"]\" && in_class) {\n in_class = false;\n source += ch;\n } else if (ch == \"/\" && !in_class) {\n break;\n } else if (ch == \"\\\\\") {\n prev_backslash = true;\n } else {\n source += ch;\n }\n const flags = read_name();\n return token(\"regexp\", \"/\" + source + \"/\" + flags);\n });\n\n function read_operator(prefix) {\n function grow(op) {\n if (!peek()) return op;\n var bigger = op + peek();\n if (OPERATORS.has(bigger)) {\n next();\n return grow(bigger);\n } else {\n return op;\n }\n }\n return token(\"operator\", grow(prefix || next()));\n }\n\n function handle_slash() {\n next();\n switch (peek()) {\n case \"/\":\n next();\n return skip_line_comment(\"comment1\");\n case \"*\":\n next();\n return skip_multiline_comment();\n }\n return S.regex_allowed ? read_regexp(\"\") : read_operator(\"/\");\n }\n\n function handle_eq_sign() {\n next();\n if (peek() === \">\") {\n next();\n return token(\"arrow\", \"=>\");\n } else {\n return read_operator(\"=\");\n }\n }\n\n function handle_dot() {\n next();\n if (is_digit(peek().charCodeAt(0))) {\n return read_num(\".\");\n }\n if (peek() === \".\") {\n next(); // Consume second dot\n next(); // Consume third dot\n return token(\"expand\", \"...\");\n }\n\n return token(\"punc\", \".\");\n }\n\n function read_word() {\n var word = read_name();\n if (prev_was_dot) return token(\"name\", word);\n return KEYWORDS_ATOM.has(word) ? token(\"atom\", word)\n : !KEYWORDS.has(word) ? token(\"name\", word)\n : OPERATORS.has(word) ? token(\"operator\", word)\n : token(\"keyword\", word);\n }\n\n function read_private_word() {\n next();\n return token(\"privatename\", read_name());\n }\n\n function with_eof_error(eof_error, cont) {\n return function(x) {\n try {\n return cont(x);\n } catch(ex) {\n if (ex === EX_EOF) parse_error(eof_error);\n else throw ex;\n }\n };\n }\n\n function next_token(force_regexp) {\n if (force_regexp != null)\n return read_regexp(force_regexp);\n if (shebang && S.pos == 0 && looking_at(\"#!\")) {\n start_token();\n forward(2);\n skip_line_comment(\"comment5\");\n }\n for (;;) {\n skip_whitespace();\n start_token();\n if (html5_comments) {\n if (looking_at(\"<!--\")) {\n forward(4);\n skip_line_comment(\"comment3\");\n continue;\n }\n if (looking_at(\"-->\") && S.newline_before) {\n forward(3);\n skip_line_comment(\"comment4\");\n continue;\n }\n }\n var ch = peek();\n if (!ch) return token(\"eof\");\n var code = ch.charCodeAt(0);\n switch (code) {\n case 34: case 39: return read_string();\n case 46: return handle_dot();\n case 47: {\n var tok = handle_slash();\n if (tok === next_token) continue;\n return tok;\n }\n case 61: return handle_eq_sign();\n case 63: {\n if (!is_option_chain_op()) break; // Handled below\n\n next(); // ?\n next(); // .\n\n return token(\"punc\", \"?.\");\n }\n case 96: return read_template_characters(true);\n case 123:\n S.brace_counter++;\n break;\n case 125:\n S.brace_counter--;\n if (S.template_braces.length > 0\n && S.template_braces[S.template_braces.length - 1] === S.brace_counter)\n return read_template_characters(false);\n break;\n }\n if (is_digit(code)) return read_num();\n if (PUNC_CHARS.has(ch)) return token(\"punc\", next());\n if (OPERATOR_CHARS.has(ch)) return read_operator();\n if (code == 92 || is_identifier_start(ch)) return read_word();\n if (code == 35) return read_private_word();\n break;\n }\n parse_error(\"Unexpected character '\" + ch + \"'\");\n }\n\n next_token.next = next;\n next_token.peek = peek;\n\n next_token.context = function(nc) {\n if (nc) S = nc;\n return S;\n };\n\n next_token.add_directive = function(directive) {\n S.directive_stack[S.directive_stack.length - 1].push(directive);\n\n if (S.directives[directive] === undefined) {\n S.directives[directive] = 1;\n } else {\n S.directives[directive]++;\n }\n };\n\n next_token.push_directives_stack = function() {\n S.directive_stack.push([]);\n };\n\n next_token.pop_directives_stack = function() {\n var directives = S.directive_stack[S.directive_stack.length - 1];\n\n for (var i = 0; i < directives.length; i++) {\n S.directives[directives[i]]--;\n }\n\n S.directive_stack.pop();\n };\n\n next_token.has_directive = function(directive) {\n return S.directives[directive] > 0;\n };\n\n return next_token;\n\n}\n\n/* -----[ Parser (constants) ]----- */\n\nvar UNARY_PREFIX = makePredicate([\n \"typeof\",\n \"void\",\n \"delete\",\n \"--\",\n \"++\",\n \"!\",\n \"~\",\n \"-\",\n \"+\"\n]);\n\nvar UNARY_POSTFIX = makePredicate([ \"--\", \"++\" ]);\n\nvar ASSIGNMENT = makePredicate([ \"=\", \"+=\", \"-=\", \"??=\", \"&&=\", \"||=\", \"/=\", \"*=\", \"**=\", \"%=\", \">>=\", \"<<=\", \">>>=\", \"|=\", \"^=\", \"&=\" ]);\n\nvar LOGICAL_ASSIGNMENT = makePredicate([ \"??=\", \"&&=\", \"||=\" ]);\n\nvar PRECEDENCE = (function(a, ret) {\n for (var i = 0; i < a.length; ++i) {\n var b = a[i];\n for (var j = 0; j < b.length; ++j) {\n ret[b[j]] = i + 1;\n }\n }\n return ret;\n})(\n [\n [\"||\"],\n [\"??\"],\n [\"&&\"],\n [\"|\"],\n [\"^\"],\n [\"&\"],\n [\"==\", \"===\", \"!=\", \"!==\"],\n [\"<\", \">\", \"<=\", \">=\", \"in\", \"instanceof\"],\n [\">>\", \"<<\", \">>>\"],\n [\"+\", \"-\"],\n [\"*\", \"/\", \"%\"],\n [\"**\"]\n ],\n {}\n);\n\nvar ATOMIC_START_TOKEN = makePredicate([ \"atom\", \"num\", \"big_int\", \"string\", \"regexp\", \"name\"]);\n\n/* -----[ Parser ]----- */\n\nfunction parse($TEXT, options) {\n // maps start tokens to count of comments found outside of their parens\n // Example: /* I count */ ( /* I don't */ foo() )\n // Useful because comments_before property of call with parens outside\n // contains both comments inside and outside these parens. Used to find the\n \n const outer_comments_before_counts = new WeakMap();\n\n options = defaults(options, {\n bare_returns : false,\n ecma : null, // Legacy\n expression : false,\n filename : null,\n html5_comments : true,\n module : false,\n shebang : true,\n strict : false,\n toplevel : null,\n }, true);\n\n var S = {\n input : (typeof $TEXT == \"string\"\n ? tokenizer($TEXT, options.filename,\n options.html5_comments, options.shebang)\n : $TEXT),\n token : null,\n prev : null,\n peeked : null,\n in_function : 0,\n in_async : -1,\n in_generator : -1,\n in_directives : true,\n in_loop : 0,\n labels : []\n };\n\n S.token = next();\n\n function is(type, value) {\n return is_token(S.token, type, value);\n }\n\n function peek() { return S.peeked || (S.peeked = S.input()); }\n\n function next() {\n S.prev = S.token;\n\n if (!S.peeked) peek();\n S.token = S.peeked;\n S.peeked = null;\n S.in_directives = S.in_directives && (\n S.token.type == \"string\" || is(\"punc\", \";\")\n );\n return S.token;\n }\n\n function prev() {\n return S.prev;\n }\n\n function croak(msg, line, col, pos) {\n var ctx = S.input.context();\n js_error(msg,\n ctx.filename,\n line != null ? line : ctx.tokline,\n col != null ? col : ctx.tokcol,\n pos != null ? pos : ctx.tokpos);\n }\n\n function token_error(token, msg) {\n croak(msg, token.line, token.col);\n }\n\n function unexpected(token) {\n if (token == null)\n token = S.token;\n token_error(token, \"Unexpected token: \" + token.type + \" (\" + token.value + \")\");\n }\n\n function expect_token(type, val) {\n if (is(type, val)) {\n return next();\n }\n token_error(S.token, \"Unexpected token \" + S.token.type + \" «\" + S.token.value + \"»\" + \", expected \" + type + \" «\" + val + \"»\");\n }\n\n function expect(punc) { return expect_token(\"punc\", punc); }\n\n function has_newline_before(token) {\n return token.nlb || !token.comments_before.every((comment) => !comment.nlb);\n }\n\n function can_insert_semicolon() {\n return !options.strict\n && (is(\"eof\") || is(\"punc\", \"}\") || has_newline_before(S.token));\n }\n\n function is_in_generator() {\n return S.in_generator === S.in_function;\n }\n\n function is_in_async() {\n return S.in_async === S.in_function;\n }\n\n function can_await() {\n return (\n S.in_async === S.in_function\n || S.in_function === 0 && S.input.has_directive(\"use strict\")\n );\n }\n\n function semicolon(optional) {\n if (is(\"punc\", \";\")) next();\n else if (!optional && !can_insert_semicolon()) unexpected();\n }\n\n function parenthesised() {\n expect(\"(\");\n var exp = expression(true);\n expect(\")\");\n return exp;\n }\n\n function embed_tokens(parser) {\n return function _embed_tokens_wrapper(...args) {\n const start = S.token;\n const expr = parser(...args);\n expr.start = start;\n expr.end = prev();\n return expr;\n };\n }\n\n function handle_regexp() {\n if (is(\"operator\", \"/\") || is(\"operator\", \"/=\")) {\n S.peeked = null;\n S.token = S.input(S.token.value.substr(1)); // force regexp\n }\n }\n\n var statement = embed_tokens(function statement(is_export_default, is_for_body, is_if_body) {\n handle_regexp();\n switch (S.token.type) {\n case \"string\":\n if (S.in_directives) {\n var token = peek();\n if (!LATEST_RAW.includes(\"\\\\\")\n && (is_token(token, \"punc\", \";\")\n || is_token(token, \"punc\", \"}\")\n || has_newline_before(token)\n || is_token(token, \"eof\"))) {\n S.input.add_directive(S.token.value);\n } else {\n S.in_directives = false;\n }\n }\n var dir = S.in_directives, stat = simple_statement();\n return dir && stat.body instanceof AST_String ? new AST_Directive(stat.body) : stat;\n case \"template_head\":\n case \"num\":\n case \"big_int\":\n case \"regexp\":\n case \"operator\":\n case \"atom\":\n return simple_statement();\n\n case \"name\":\n case \"privatename\":\n if(is(\"privatename\") && !S.in_class)\n croak(\"Private field must be used in an enclosing class\");\n\n if (S.token.value == \"async\" && is_token(peek(), \"keyword\", \"function\")) {\n next();\n next();\n if (is_for_body) {\n croak(\"functions are not allowed as the body of a loop\");\n }\n return function_(AST_Defun, false, true, is_export_default);\n }\n if (S.token.value == \"import\" && !is_token(peek(), \"punc\", \"(\") && !is_token(peek(), \"punc\", \".\")) {\n next();\n var node = import_statement();\n semicolon();\n return node;\n }\n return is_token(peek(), \"punc\", \":\")\n ? labeled_statement()\n : simple_statement();\n\n case \"punc\":\n switch (S.token.value) {\n case \"{\":\n return new AST_BlockStatement({\n start : S.token,\n body : block_(),\n end : prev()\n });\n case \"[\":\n case \"(\":\n return simple_statement();\n case \";\":\n S.in_directives = false;\n next();\n return new AST_EmptyStatement();\n default:\n unexpected();\n }\n\n case \"keyword\":\n switch (S.token.value) {\n case \"break\":\n next();\n return break_cont(AST_Break);\n\n case \"continue\":\n next();\n return break_cont(AST_Continue);\n\n case \"debugger\":\n next();\n semicolon();\n return new AST_Debugger();\n\n case \"do\":\n next();\n var body = in_loop(statement);\n expect_token(\"keyword\", \"while\");\n var condition = parenthesised();\n semicolon(true);\n return new AST_Do({\n body : body,\n condition : condition\n });\n\n case \"while\":\n next();\n return new AST_While({\n condition : parenthesised(),\n body : in_loop(function() { return statement(false, true); })\n });\n\n case \"for\":\n next();\n return for_();\n\n case \"class\":\n next();\n if (is_for_body) {\n croak(\"classes are not allowed as the body of a loop\");\n }\n if (is_if_body) {\n croak(\"classes are not allowed as the body of an if\");\n }\n return class_(AST_DefClass, is_export_default);\n\n case \"function\":\n next();\n if (is_for_body) {\n croak(\"functions are not allowed as the body of a loop\");\n }\n return function_(AST_Defun, false, false, is_export_default);\n\n case \"if\":\n next();\n return if_();\n\n case \"return\":\n if (S.in_function == 0 && !options.bare_returns)\n croak(\"'return' outside of function\");\n next();\n var value = null;\n if (is(\"punc\", \";\")) {\n next();\n } else if (!can_insert_semicolon()) {\n value = expression(true);\n semicolon();\n }\n return new AST_Return({\n value: value\n });\n\n case \"switch\":\n next();\n return new AST_Switch({\n expression : parenthesised(),\n body : in_loop(switch_body_)\n });\n\n case \"throw\":\n next();\n if (has_newline_before(S.token))\n croak(\"Illegal newline after 'throw'\");\n var value = expression(true);\n semicolon();\n return new AST_Throw({\n value: value\n });\n\n case \"try\":\n next();\n return try_();\n\n case \"var\":\n next();\n var node = var_();\n semicolon();\n return node;\n\n case \"let\":\n next();\n var node = let_();\n semicolon();\n return node;\n\n case \"const\":\n next();\n var node = const_();\n semicolon();\n return node;\n\n case \"with\":\n if (S.input.has_directive(\"use strict\")) {\n croak(\"Strict mode may not include a with statement\");\n }\n next();\n return new AST_With({\n expression : parenthesised(),\n body : statement()\n });\n\n case \"export\":\n if (!is_token(peek(), \"punc\", \"(\")) {\n next();\n var node = export_statement();\n if (is(\"punc\", \";\")) semicolon();\n return node;\n }\n }\n }\n unexpected();\n });\n\n function labeled_statement() {\n var label = as_symbol(AST_Label);\n if (label.name === \"await\" && is_in_async()) {\n token_error(S.prev, \"await cannot be used as label inside async function\");\n }\n if (S.labels.some((l) => l.name === label.name)) {\n // ECMA-262, 12.12: An ECMAScript program is considered\n // syntactically incorrect if it contains a\n // LabelledStatement that is enclosed by a\n // LabelledStatement with the same Identifier as label.\n croak(\"Label \" + label.name + \" defined twice\");\n }\n expect(\":\");\n S.labels.push(label);\n var stat = statement();\n S.labels.pop();\n if (!(stat instanceof AST_IterationStatement)) {\n // check for `continue` that refers to this label.\n // those should be reported as syntax errors.\n // https://github.com/mishoo/UglifyJS2/issues/287\n label.references.forEach(function(ref) {\n if (ref instanceof AST_Continue) {\n ref = ref.label.start;\n croak(\"Continue label `\" + label.name + \"` refers to non-IterationStatement.\",\n ref.line, ref.col, ref.pos);\n }\n });\n }\n return new AST_LabeledStatement({ body: stat, label: label });\n }\n\n function simple_statement(tmp) {\n return new AST_SimpleStatement({ body: (tmp = expression(true), semicolon(), tmp) });\n }\n\n function break_cont(type) {\n var label = null, ldef;\n if (!can_insert_semicolon()) {\n label = as_symbol(AST_LabelRef, true);\n }\n if (label != null) {\n ldef = S.labels.find((l) => l.name === label.name);\n if (!ldef)\n croak(\"Undefined label \" + label.name);\n label.thedef = ldef;\n } else if (S.in_loop == 0)\n croak(type.TYPE + \" not inside a loop or switch\");\n semicolon();\n var stat = new type({ label: label });\n if (ldef) ldef.references.push(stat);\n return stat;\n }\n\n function for_() {\n var for_await_error = \"`for await` invalid in this context\";\n var await_tok = S.token;\n if (await_tok.type == \"name\" && await_tok.value == \"await\") {\n if (!can_await()) {\n token_error(await_tok, for_await_error);\n }\n next();\n } else {\n await_tok = false;\n }\n expect(\"(\");\n var init = null;\n if (!is(\"punc\", \";\")) {\n init =\n is(\"keyword\", \"var\") ? (next(), var_(true)) :\n is(\"keyword\", \"let\") ? (next(), let_(true)) :\n is(\"keyword\", \"const\") ? (next(), const_(true)) :\n expression(true, true);\n var is_in = is(\"operator\", \"in\");\n var is_of = is(\"name\", \"of\");\n if (await_tok && !is_of) {\n token_error(await_tok, for_await_error);\n }\n if (is_in || is_of) {\n if (init instanceof AST_Definitions) {\n if (init.definitions.length > 1)\n token_error(init.start, \"Only one variable declaration allowed in for..in loop\");\n } else if (!(is_assignable(init) || (init = to_destructuring(init)) instanceof AST_Destructuring)) {\n token_error(init.start, \"Invalid left-hand side in for..in loop\");\n }\n next();\n if (is_in) {\n return for_in(init);\n } else {\n return for_of(init, !!await_tok);\n }\n }\n } else if (await_tok) {\n token_error(await_tok, for_await_error);\n }\n return regular_for(init);\n }\n\n function regular_for(init) {\n expect(\";\");\n var test = is(\"punc\", \";\") ? null : expression(true);\n expect(\";\");\n var step = is(\"punc\", \")\") ? null : expression(true);\n expect(\")\");\n return new AST_For({\n init : init,\n condition : test,\n step : step,\n body : in_loop(function() { return statement(false, true); })\n });\n }\n\n function for_of(init, is_await) {\n var lhs = init instanceof AST_Definitions ? init.definitions[0].name : null;\n var obj = expression(true);\n expect(\")\");\n return new AST_ForOf({\n await : is_await,\n init : init,\n name : lhs,\n object : obj,\n body : in_loop(function() { return statement(false, true); })\n });\n }\n\n function for_in(init) {\n var obj = expression(true);\n expect(\")\");\n return new AST_ForIn({\n init : init,\n object : obj,\n body : in_loop(function() { return statement(false, true); })\n });\n }\n\n var arrow_function = function(start, argnames, is_async) {\n if (has_newline_before(S.token)) {\n croak(\"Unexpected newline before arrow (=>)\");\n }\n\n expect_token(\"arrow\", \"=>\");\n\n var body = _function_body(is(\"punc\", \"{\"), false, is_async);\n\n var end =\n body instanceof Array && body.length ? body[body.length - 1].end :\n body instanceof Array ? start :\n body.end;\n\n return new AST_Arrow({\n start : start,\n end : end,\n async : is_async,\n argnames : argnames,\n body : body\n });\n };\n\n var function_ = function(ctor, is_generator_property, is_async, is_export_default) {\n var in_statement = ctor === AST_Defun;\n var is_generator = is(\"operator\", \"*\");\n if (is_generator) {\n next();\n }\n\n var name = is(\"name\") ? as_symbol(in_statement ? AST_SymbolDefun : AST_SymbolLambda) : null;\n if (in_statement && !name) {\n if (is_export_default) {\n ctor = AST_Function;\n } else {\n unexpected();\n }\n }\n\n if (name && ctor !== AST_Accessor && !(name instanceof AST_SymbolDeclaration))\n unexpected(prev());\n\n var args = [];\n var body = _function_body(true, is_generator || is_generator_property, is_async, name, args);\n return new ctor({\n start : args.start,\n end : body.end,\n is_generator: is_generator,\n async : is_async,\n name : name,\n argnames: args,\n body : body\n });\n };\n\n class UsedParametersTracker {\n constructor(is_parameter, strict, duplicates_ok = false) {\n this.is_parameter = is_parameter;\n this.duplicates_ok = duplicates_ok;\n this.parameters = new Set();\n this.duplicate = null;\n this.default_assignment = false;\n this.spread = false;\n this.strict_mode = !!strict;\n }\n add_parameter(token) {\n if (this.parameters.has(token.value)) {\n if (this.duplicate === null) {\n this.duplicate = token;\n }\n this.check_strict();\n } else {\n this.parameters.add(token.value);\n if (this.is_parameter) {\n switch (token.value) {\n case \"arguments\":\n case \"eval\":\n case \"yield\":\n if (this.strict_mode) {\n token_error(token, \"Unexpected \" + token.value + \" identifier as parameter inside strict mode\");\n }\n break;\n default:\n if (RESERVED_WORDS.has(token.value)) {\n unexpected();\n }\n }\n }\n }\n }\n mark_default_assignment(token) {\n if (this.default_assignment === false) {\n this.default_assignment = token;\n }\n }\n mark_spread(token) {\n if (this.spread === false) {\n this.spread = token;\n }\n }\n mark_strict_mode() {\n this.strict_mode = true;\n }\n is_strict() {\n return this.default_assignment !== false || this.spread !== false || this.strict_mode;\n }\n check_strict() {\n if (this.is_strict() && this.duplicate !== null && !this.duplicates_ok) {\n token_error(this.duplicate, \"Parameter \" + this.duplicate.value + \" was used already\");\n }\n }\n }\n\n function parameters(params) {\n var used_parameters = new UsedParametersTracker(true, S.input.has_directive(\"use strict\"));\n\n expect(\"(\");\n\n while (!is(\"punc\", \")\")) {\n var param = parameter(used_parameters);\n params.push(param);\n\n if (!is(\"punc\", \")\")) {\n expect(\",\");\n }\n\n if (param instanceof AST_Expansion) {\n break;\n }\n }\n\n next();\n }\n\n function parameter(used_parameters, symbol_type) {\n var param;\n var expand = false;\n if (used_parameters === undefined) {\n used_parameters = new UsedParametersTracker(true, S.input.has_directive(\"use strict\"));\n }\n if (is(\"expand\", \"...\")) {\n expand = S.token;\n used_parameters.mark_spread(S.token);\n next();\n }\n param = binding_element(used_parameters, symbol_type);\n\n if (is(\"operator\", \"=\") && expand === false) {\n used_parameters.mark_default_assignment(S.token);\n next();\n param = new AST_DefaultAssign({\n start: param.start,\n left: param,\n operator: \"=\",\n right: expression(false),\n end: S.token\n });\n }\n\n if (expand !== false) {\n if (!is(\"punc\", \")\")) {\n unexpected();\n }\n param = new AST_Expansion({\n start: expand,\n expression: param,\n end: expand\n });\n }\n used_parameters.check_strict();\n\n return param;\n }\n\n function binding_element(used_parameters, symbol_type) {\n var elements = [];\n var first = true;\n var is_expand = false;\n var expand_token;\n var first_token = S.token;\n if (used_parameters === undefined) {\n const strict = S.input.has_directive(\"use strict\");\n const duplicates_ok = symbol_type === AST_SymbolVar;\n used_parameters = new UsedParametersTracker(false, strict, duplicates_ok);\n }\n symbol_type = symbol_type === undefined ? AST_SymbolFunarg : symbol_type;\n if (is(\"punc\", \"[\")) {\n next();\n while (!is(\"punc\", \"]\")) {\n if (first) {\n first = false;\n } else {\n expect(\",\");\n }\n\n if (is(\"expand\", \"...\")) {\n is_expand = true;\n expand_token = S.token;\n used_parameters.mark_spread(S.token);\n next();\n }\n if (is(\"punc\")) {\n switch (S.token.value) {\n case \",\":\n elements.push(new AST_Hole({\n start: S.token,\n end: S.token\n }));\n continue;\n case \"]\": // Trailing comma after last element\n break;\n case \"[\":\n case \"{\":\n elements.push(binding_element(used_parameters, symbol_type));\n break;\n default:\n unexpected();\n }\n } else if (is(\"name\")) {\n used_parameters.add_parameter(S.token);\n elements.push(as_symbol(symbol_type));\n } else {\n croak(\"Invalid function parameter\");\n }\n if (is(\"operator\", \"=\") && is_expand === false) {\n used_parameters.mark_default_assignment(S.token);\n next();\n elements[elements.length - 1] = new AST_DefaultAssign({\n start: elements[elements.length - 1].start,\n left: elements[elements.length - 1],\n operator: \"=\",\n right: expression(false),\n end: S.token\n });\n }\n if (is_expand) {\n if (!is(\"punc\", \"]\")) {\n croak(\"Rest element must be last element\");\n }\n elements[elements.length - 1] = new AST_Expansion({\n start: expand_token,\n expression: elements[elements.length - 1],\n end: expand_token\n });\n }\n }\n expect(\"]\");\n used_parameters.check_strict();\n return new AST_Destructuring({\n start: first_token,\n names: elements,\n is_array: true,\n end: prev()\n });\n } else if (is(\"punc\", \"{\")) {\n next();\n while (!is(\"punc\", \"}\")) {\n if (first) {\n first = false;\n } else {\n expect(\",\");\n }\n if (is(\"expand\", \"...\")) {\n is_expand = true;\n expand_token = S.token;\n used_parameters.mark_spread(S.token);\n next();\n }\n if (is(\"name\") && (is_token(peek(), \"punc\") || is_token(peek(), \"operator\")) && [\",\", \"}\", \"=\"].includes(peek().value)) {\n used_parameters.add_parameter(S.token);\n var start = prev();\n var value = as_symbol(symbol_type);\n if (is_expand) {\n elements.push(new AST_Expansion({\n start: expand_token,\n expression: value,\n end: value.end,\n }));\n } else {\n elements.push(new AST_ObjectKeyVal({\n start: start,\n key: value.name,\n value: value,\n end: value.end,\n }));\n }\n } else if (is(\"punc\", \"}\")) {\n continue; // Allow trailing hole\n } else {\n var property_token = S.token;\n var property = as_property_name();\n if (property === null) {\n unexpected(prev());\n } else if (prev().type === \"name\" && !is(\"punc\", \":\")) {\n elements.push(new AST_ObjectKeyVal({\n start: prev(),\n key: property,\n value: new symbol_type({\n start: prev(),\n name: property,\n end: prev()\n }),\n end: prev()\n }));\n } else {\n expect(\":\");\n elements.push(new AST_ObjectKeyVal({\n start: property_token,\n quote: property_token.quote,\n key: property,\n value: binding_element(used_parameters, symbol_type),\n end: prev()\n }));\n }\n }\n if (is_expand) {\n if (!is(\"punc\", \"}\")) {\n croak(\"Rest element must be last element\");\n }\n } else if (is(\"operator\", \"=\")) {\n used_parameters.mark_default_assignment(S.token);\n next();\n elements[elements.length - 1].value = new AST_DefaultAssign({\n start: elements[elements.length - 1].value.start,\n left: elements[elements.length - 1].value,\n operator: \"=\",\n right: expression(false),\n end: S.token\n });\n }\n }\n expect(\"}\");\n used_parameters.check_strict();\n return new AST_Destructuring({\n start: first_token,\n names: elements,\n is_array: false,\n end: prev()\n });\n } else if (is(\"name\")) {\n used_parameters.add_parameter(S.token);\n return as_symbol(symbol_type);\n } else {\n croak(\"Invalid function parameter\");\n }\n }\n\n function params_or_seq_(allow_arrows, maybe_sequence) {\n var spread_token;\n var invalid_sequence;\n var trailing_comma;\n var a = [];\n expect(\"(\");\n while (!is(\"punc\", \")\")) {\n if (spread_token) unexpected(spread_token);\n if (is(\"expand\", \"...\")) {\n spread_token = S.token;\n if (maybe_sequence) invalid_sequence = S.token;\n next();\n a.push(new AST_Expansion({\n start: prev(),\n expression: expression(),\n end: S.token,\n }));\n } else {\n a.push(expression());\n }\n if (!is(\"punc\", \")\")) {\n expect(\",\");\n if (is(\"punc\", \")\")) {\n trailing_comma = prev();\n if (maybe_sequence) invalid_sequence = trailing_comma;\n }\n }\n }\n expect(\")\");\n if (allow_arrows && is(\"arrow\", \"=>\")) {\n if (spread_token && trailing_comma) unexpected(trailing_comma);\n } else if (invalid_sequence) {\n unexpected(invalid_sequence);\n }\n return a;\n }\n\n function _function_body(block, generator, is_async, name, args) {\n var loop = S.in_loop;\n var labels = S.labels;\n var current_generator = S.in_generator;\n var current_async = S.in_async;\n ++S.in_function;\n if (generator)\n S.in_generator = S.in_function;\n if (is_async)\n S.in_async = S.in_function;\n if (args) parameters(args);\n if (block)\n S.in_directives = true;\n S.in_loop = 0;\n S.labels = [];\n if (block) {\n S.input.push_directives_stack();\n var a = block_();\n if (name) _verify_symbol(name);\n if (args) args.forEach(_verify_symbol);\n S.input.pop_directives_stack();\n } else {\n var a = [new AST_Return({\n start: S.token,\n value: expression(false),\n end: S.token\n })];\n }\n --S.in_function;\n S.in_loop = loop;\n S.labels = labels;\n S.in_generator = current_generator;\n S.in_async = current_async;\n return a;\n }\n\n function _await_expression() {\n // Previous token must be \"await\" and not be interpreted as an identifier\n if (!can_await()) {\n croak(\"Unexpected await expression outside async function\",\n S.prev.line, S.prev.col, S.prev.pos);\n }\n // the await expression is parsed as a unary expression in Babel\n return new AST_Await({\n start: prev(),\n end: S.token,\n expression : maybe_unary(true),\n });\n }\n\n function _yield_expression() {\n // Previous token must be keyword yield and not be interpret as an identifier\n if (!is_in_generator()) {\n croak(\"Unexpected yield expression outside generator function\",\n S.prev.line, S.prev.col, S.prev.pos);\n }\n var start = S.token;\n var star = false;\n var has_expression = true;\n\n // Attempt to get expression or star (and then the mandatory expression)\n // behind yield on the same line.\n //\n // If nothing follows on the same line of the yieldExpression,\n // it should default to the value `undefined` for yield to return.\n // In that case, the `undefined` stored as `null` in ast.\n //\n // Note 1: It isn't allowed for yield* to close without an expression\n // Note 2: If there is a nlb between yield and star, it is interpret as\n // yield <explicit undefined> <inserted automatic semicolon> *\n if (can_insert_semicolon() ||\n (is(\"punc\") && PUNC_AFTER_EXPRESSION.has(S.token.value))) {\n has_expression = false;\n\n } else if (is(\"operator\", \"*\")) {\n star = true;\n next();\n }\n\n return new AST_Yield({\n start : start,\n is_star : star,\n expression : has_expression ? expression() : null,\n end : prev()\n });\n }\n\n function if_() {\n var cond = parenthesised(), body = statement(false, false, true), belse = null;\n if (is(\"keyword\", \"else\")) {\n next();\n belse = statement(false, false, true);\n }\n return new AST_If({\n condition : cond,\n body : body,\n alternative : belse\n });\n }\n\n function block_() {\n expect(\"{\");\n var a = [];\n while (!is(\"punc\", \"}\")) {\n if (is(\"eof\")) unexpected();\n a.push(statement());\n }\n next();\n return a;\n }\n\n function switch_body_() {\n expect(\"{\");\n var a = [], cur = null, branch = null, tmp;\n while (!is(\"punc\", \"}\")) {\n if (is(\"eof\")) unexpected();\n if (is(\"keyword\", \"case\")) {\n if (branch) branch.end = prev();\n cur = [];\n branch = new AST_Case({\n start : (tmp = S.token, next(), tmp),\n expression : expression(true),\n body : cur\n });\n a.push(branch);\n expect(\":\");\n } else if (is(\"keyword\", \"default\")) {\n if (branch) branch.end = prev();\n cur = [];\n branch = new AST_Default({\n start : (tmp = S.token, next(), expect(\":\"), tmp),\n body : cur\n });\n a.push(branch);\n } else {\n if (!cur) unexpected();\n cur.push(statement());\n }\n }\n if (branch) branch.end = prev();\n next();\n return a;\n }\n\n function try_() {\n var body = block_(), bcatch = null, bfinally = null;\n if (is(\"keyword\", \"catch\")) {\n var start = S.token;\n next();\n if (is(\"punc\", \"{\")) {\n var name = null;\n } else {\n expect(\"(\");\n var name = parameter(undefined, AST_SymbolCatch);\n expect(\")\");\n }\n bcatch = new AST_Catch({\n start : start,\n argname : name,\n body : block_(),\n end : prev()\n });\n }\n if (is(\"keyword\", \"finally\")) {\n var start = S.token;\n next();\n bfinally = new AST_Finally({\n start : start,\n body : block_(),\n end : prev()\n });\n }\n if (!bcatch && !bfinally)\n croak(\"Missing catch/finally blocks\");\n return new AST_Try({\n body : body,\n bcatch : bcatch,\n bfinally : bfinally\n });\n }\n\n /**\n * var\n * vardef1 = 2,\n * vardef2 = 3;\n */\n function vardefs(no_in, kind) {\n var var_defs = [];\n var def;\n for (;;) {\n var sym_type =\n kind === \"var\" ? AST_SymbolVar :\n kind === \"const\" ? AST_SymbolConst :\n kind === \"let\" ? AST_SymbolLet : null;\n // var { a } = b\n if (is(\"punc\", \"{\") || is(\"punc\", \"[\")) {\n def = new AST_VarDef({\n start: S.token,\n name: binding_element(undefined, sym_type),\n value: is(\"operator\", \"=\") ? (expect_token(\"operator\", \"=\"), expression(false, no_in)) : null,\n end: prev()\n });\n } else {\n def = new AST_VarDef({\n start : S.token,\n name : as_symbol(sym_type),\n value : is(\"operator\", \"=\")\n ? (next(), expression(false, no_in))\n : !no_in && kind === \"const\"\n ? croak(\"Missing initializer in const declaration\") : null,\n end : prev()\n });\n if (def.name.name == \"import\") croak(\"Unexpected token: import\");\n }\n var_defs.push(def);\n if (!is(\"punc\", \",\"))\n break;\n next();\n }\n return var_defs;\n }\n\n var var_ = function(no_in) {\n return new AST_Var({\n start : prev(),\n definitions : vardefs(no_in, \"var\"),\n end : prev()\n });\n };\n\n var let_ = function(no_in) {\n return new AST_Let({\n start : prev(),\n definitions : vardefs(no_in, \"let\"),\n end : prev()\n });\n };\n\n var const_ = function(no_in) {\n return new AST_Const({\n start : prev(),\n definitions : vardefs(no_in, \"const\"),\n end : prev()\n });\n };\n\n var new_ = function(allow_calls) {\n var start = S.token;\n expect_token(\"operator\", \"new\");\n if (is(\"punc\", \".\")) {\n next();\n expect_token(\"name\", \"target\");\n return subscripts(new AST_NewTarget({\n start : start,\n end : prev()\n }), allow_calls);\n }\n var newexp = expr_atom(false), args;\n if (is(\"punc\", \"(\")) {\n next();\n args = expr_list(\")\", true);\n } else {\n args = [];\n }\n var call = new AST_New({\n start : start,\n expression : newexp,\n args : args,\n end : prev()\n });\n annotate(call);\n return subscripts(call, allow_calls);\n };\n\n function as_atom_node() {\n var tok = S.token, ret;\n switch (tok.type) {\n case \"name\":\n ret = _make_symbol(AST_SymbolRef);\n break;\n case \"num\":\n ret = new AST_Number({\n start: tok,\n end: tok,\n value: tok.value,\n raw: LATEST_RAW\n });\n break;\n case \"big_int\":\n ret = new AST_BigInt({ start: tok, end: tok, value: tok.value });\n break;\n case \"string\":\n ret = new AST_String({\n start : tok,\n end : tok,\n value : tok.value,\n quote : tok.quote\n });\n break;\n case \"regexp\":\n const [_, source, flags] = tok.value.match(/^\\/(.*)\\/(\\w*)$/);\n\n ret = new AST_RegExp({ start: tok, end: tok, value: { source, flags } });\n break;\n case \"atom\":\n switch (tok.value) {\n case \"false\":\n ret = new AST_False({ start: tok, end: tok });\n break;\n case \"true\":\n ret = new AST_True({ start: tok, end: tok });\n break;\n case \"null\":\n ret = new AST_Null({ start: tok, end: tok });\n break;\n }\n break;\n }\n next();\n return ret;\n }\n\n function to_fun_args(ex, default_seen_above) {\n var insert_default = function(ex, default_value) {\n if (default_value) {\n return new AST_DefaultAssign({\n start: ex.start,\n left: ex,\n operator: \"=\",\n right: default_value,\n end: default_value.end\n });\n }\n return ex;\n };\n if (ex instanceof AST_Object) {\n return insert_default(new AST_Destructuring({\n start: ex.start,\n end: ex.end,\n is_array: false,\n names: ex.properties.map(prop => to_fun_args(prop))\n }), default_seen_above);\n } else if (ex instanceof AST_ObjectKeyVal) {\n ex.value = to_fun_args(ex.value);\n return insert_default(ex, default_seen_above);\n } else if (ex instanceof AST_Hole) {\n return ex;\n } else if (ex instanceof AST_Destructuring) {\n ex.names = ex.names.map(name => to_fun_args(name));\n return insert_default(ex, default_seen_above);\n } else if (ex instanceof AST_SymbolRef) {\n return insert_default(new AST_SymbolFunarg({\n name: ex.name,\n start: ex.start,\n end: ex.end\n }), default_seen_above);\n } else if (ex instanceof AST_Expansion) {\n ex.expression = to_fun_args(ex.expression);\n return insert_default(ex, default_seen_above);\n } else if (ex instanceof AST_Array) {\n return insert_default(new AST_Destructuring({\n start: ex.start,\n end: ex.end,\n is_array: true,\n names: ex.elements.map(elm => to_fun_args(elm))\n }), default_seen_above);\n } else if (ex instanceof AST_Assign) {\n return insert_default(to_fun_args(ex.left, ex.right), default_seen_above);\n } else if (ex instanceof AST_DefaultAssign) {\n ex.left = to_fun_args(ex.left);\n return ex;\n } else {\n croak(\"Invalid function parameter\", ex.start.line, ex.start.col);\n }\n }\n\n var expr_atom = function(allow_calls, allow_arrows) {\n if (is(\"operator\", \"new\")) {\n return new_(allow_calls);\n }\n if (is(\"operator\", \"import\")) {\n return import_meta();\n }\n var start = S.token;\n var peeked;\n var async = is(\"name\", \"async\")\n && (peeked = peek()).value != \"[\"\n && peeked.type != \"arrow\"\n && as_atom_node();\n if (is(\"punc\")) {\n switch (S.token.value) {\n case \"(\":\n if (async && !allow_calls) break;\n var exprs = params_or_seq_(allow_arrows, !async);\n if (allow_arrows && is(\"arrow\", \"=>\")) {\n return arrow_function(start, exprs.map(e => to_fun_args(e)), !!async);\n }\n var ex = async ? new AST_Call({\n expression: async,\n args: exprs\n }) : exprs.length == 1 ? exprs[0] : new AST_Sequence({\n expressions: exprs\n });\n if (ex.start) {\n const outer_comments_before = start.comments_before.length;\n outer_comments_before_counts.set(start, outer_comments_before);\n ex.start.comments_before.unshift(...start.comments_before);\n start.comments_before = ex.start.comments_before;\n if (outer_comments_before == 0 && start.comments_before.length > 0) {\n var comment = start.comments_before[0];\n if (!comment.nlb) {\n comment.nlb = start.nlb;\n start.nlb = false;\n }\n }\n start.comments_after = ex.start.comments_after;\n }\n ex.start = start;\n var end = prev();\n if (ex.end) {\n end.comments_before = ex.end.comments_before;\n ex.end.comments_after.push(...end.comments_after);\n end.comments_after = ex.end.comments_after;\n }\n ex.end = end;\n if (ex instanceof AST_Call) annotate(ex);\n return subscripts(ex, allow_calls);\n case \"[\":\n return subscripts(array_(), allow_calls);\n case \"{\":\n return subscripts(object_or_destructuring_(), allow_calls);\n }\n if (!async) unexpected();\n }\n if (allow_arrows && is(\"name\") && is_token(peek(), \"arrow\")) {\n var param = new AST_SymbolFunarg({\n name: S.token.value,\n start: start,\n end: start,\n });\n next();\n return arrow_function(start, [param], !!async);\n }\n if (is(\"keyword\", \"function\")) {\n next();\n var func = function_(AST_Function, false, !!async);\n func.start = start;\n func.end = prev();\n return subscripts(func, allow_calls);\n }\n if (async) return subscripts(async, allow_calls);\n if (is(\"keyword\", \"class\")) {\n next();\n var cls = class_(AST_ClassExpression);\n cls.start = start;\n cls.end = prev();\n return subscripts(cls, allow_calls);\n }\n if (is(\"template_head\")) {\n return subscripts(template_string(), allow_calls);\n }\n if (is(\"privatename\")) {\n if(!S.in_class) {\n croak(\"Private field must be used in an enclosing class\");\n }\n\n const start = S.token;\n const key = new AST_SymbolPrivateProperty({\n start,\n name: start.value,\n end: start\n });\n next();\n expect_token(\"operator\", \"in\");\n\n const private_in = new AST_PrivateIn({\n start,\n key,\n value: subscripts(as_atom_node(), allow_calls),\n end: prev()\n });\n\n return subscripts(private_in, allow_calls);\n }\n if (ATOMIC_START_TOKEN.has(S.token.type)) {\n return subscripts(as_atom_node(), allow_calls);\n }\n unexpected();\n };\n\n function template_string() {\n var segments = [], start = S.token;\n\n segments.push(new AST_TemplateSegment({\n start: S.token,\n raw: TEMPLATE_RAWS.get(S.token),\n value: S.token.value,\n end: S.token\n }));\n\n while (!S.token.template_end) {\n next();\n handle_regexp();\n segments.push(expression(true));\n\n segments.push(new AST_TemplateSegment({\n start: S.token,\n raw: TEMPLATE_RAWS.get(S.token),\n value: S.token.value,\n end: S.token\n }));\n }\n next();\n\n return new AST_TemplateString({\n start: start,\n segments: segments,\n end: S.token\n });\n }\n\n function expr_list(closing, allow_trailing_comma, allow_empty) {\n var first = true, a = [];\n while (!is(\"punc\", closing)) {\n if (first) first = false; else expect(\",\");\n if (allow_trailing_comma && is(\"punc\", closing)) break;\n if (is(\"punc\", \",\") && allow_empty) {\n a.push(new AST_Hole({ start: S.token, end: S.token }));\n } else if (is(\"expand\", \"...\")) {\n next();\n a.push(new AST_Expansion({start: prev(), expression: expression(),end: S.token}));\n } else {\n a.push(expression(false));\n }\n }\n next();\n return a;\n }\n\n var array_ = embed_tokens(function() {\n expect(\"[\");\n return new AST_Array({\n elements: expr_list(\"]\", !options.strict, true)\n });\n });\n\n var create_accessor = embed_tokens((is_generator, is_async) => {\n return function_(AST_Accessor, is_generator, is_async);\n });\n\n var object_or_destructuring_ = embed_tokens(function object_or_destructuring_() {\n var start = S.token, first = true, a = [];\n expect(\"{\");\n while (!is(\"punc\", \"}\")) {\n if (first) first = false; else expect(\",\");\n if (!options.strict && is(\"punc\", \"}\"))\n // allow trailing comma\n break;\n\n start = S.token;\n if (start.type == \"expand\") {\n next();\n a.push(new AST_Expansion({\n start: start,\n expression: expression(false),\n end: prev(),\n }));\n continue;\n }\n if(is(\"privatename\")) {\n croak(\"private fields are not allowed in an object\");\n }\n var name = as_property_name();\n var value;\n\n // Check property and fetch value\n if (!is(\"punc\", \":\")) {\n var concise = concise_method_or_getset(name, start);\n if (concise) {\n a.push(concise);\n continue;\n }\n\n value = new AST_SymbolRef({\n start: prev(),\n name: name,\n end: prev()\n });\n } else if (name === null) {\n unexpected(prev());\n } else {\n next(); // `:` - see first condition\n value = expression(false);\n }\n\n // Check for default value and alter value accordingly if necessary\n if (is(\"operator\", \"=\")) {\n next();\n value = new AST_Assign({\n start: start,\n left: value,\n operator: \"=\",\n right: expression(false),\n logical: false,\n end: prev()\n });\n }\n\n // Create property\n a.push(new AST_ObjectKeyVal({\n start: start,\n quote: start.quote,\n key: name instanceof AST_Node ? name : \"\" + name,\n value: value,\n end: prev()\n }));\n }\n next();\n return new AST_Object({ properties: a });\n });\n\n function class_(KindOfClass, is_export_default) {\n var start, method, class_name, extends_, a = [];\n\n S.input.push_directives_stack(); // Push directive stack, but not scope stack\n S.input.add_directive(\"use strict\");\n\n if (S.token.type == \"name\" && S.token.value != \"extends\") {\n class_name = as_symbol(KindOfClass === AST_DefClass ? AST_SymbolDefClass : AST_SymbolClass);\n }\n\n if (KindOfClass === AST_DefClass && !class_name) {\n if (is_export_default) {\n KindOfClass = AST_ClassExpression;\n } else {\n unexpected();\n }\n }\n\n if (S.token.value == \"extends\") {\n next();\n extends_ = expression(true);\n }\n\n expect(\"{\");\n // mark in class feild,\n const save_in_class = S.in_class;\n S.in_class = true;\n while (is(\"punc\", \";\")) { next(); } // Leading semicolons are okay in class bodies.\n while (!is(\"punc\", \"}\")) {\n start = S.token;\n method = concise_method_or_getset(as_property_name(), start, true);\n if (!method) { unexpected(); }\n a.push(method);\n while (is(\"punc\", \";\")) { next(); }\n }\n // mark in class feild,\n S.in_class = save_in_class;\n\n S.input.pop_directives_stack();\n\n next();\n\n return new KindOfClass({\n start: start,\n name: class_name,\n extends: extends_,\n properties: a,\n end: prev(),\n });\n }\n\n function concise_method_or_getset(name, start, is_class) {\n const get_symbol_ast = (name, SymbolClass = AST_SymbolMethod) => {\n if (typeof name === \"string\" || typeof name === \"number\") {\n return new SymbolClass({\n start,\n name: \"\" + name,\n end: prev()\n });\n } else if (name === null) {\n unexpected();\n }\n return name;\n };\n\n const is_not_method_start = () =>\n !is(\"punc\", \"(\") && !is(\"punc\", \",\") && !is(\"punc\", \"}\") && !is(\"punc\", \";\") && !is(\"operator\", \"=\");\n\n var is_async = false;\n var is_static = false;\n var is_generator = false;\n var is_private = false;\n var accessor_type = null;\n\n if (is_class && name === \"static\" && is_not_method_start()) {\n const static_block = class_static_block();\n if (static_block != null) {\n return static_block;\n }\n is_static = true;\n name = as_property_name();\n }\n if (name === \"async\" && is_not_method_start()) {\n is_async = true;\n name = as_property_name();\n }\n if (prev().type === \"operator\" && prev().value === \"*\") {\n is_generator = true;\n name = as_property_name();\n }\n if ((name === \"get\" || name === \"set\") && is_not_method_start()) {\n accessor_type = name;\n name = as_property_name();\n }\n if (prev().type === \"privatename\") {\n is_private = true;\n }\n\n const property_token = prev();\n\n if (accessor_type != null) {\n if (!is_private) {\n const AccessorClass = accessor_type === \"get\"\n ? AST_ObjectGetter\n : AST_ObjectSetter;\n\n name = get_symbol_ast(name);\n return new AccessorClass({\n start,\n static: is_static,\n key: name,\n quote: name instanceof AST_SymbolMethod ? property_token.quote : undefined,\n value: create_accessor(),\n end: prev()\n });\n } else {\n const AccessorClass = accessor_type === \"get\"\n ? AST_PrivateGetter\n : AST_PrivateSetter;\n\n return new AccessorClass({\n start,\n static: is_static,\n key: get_symbol_ast(name),\n value: create_accessor(),\n end: prev(),\n });\n }\n }\n\n if (is(\"punc\", \"(\")) {\n name = get_symbol_ast(name);\n const AST_MethodVariant = is_private\n ? AST_PrivateMethod\n : AST_ConciseMethod;\n var node = new AST_MethodVariant({\n start : start,\n static : is_static,\n is_generator: is_generator,\n async : is_async,\n key : name,\n quote : name instanceof AST_SymbolMethod ?\n property_token.quote : undefined,\n value : create_accessor(is_generator, is_async),\n end : prev()\n });\n return node;\n }\n\n if (is_class) {\n const key = get_symbol_ast(name, AST_SymbolClassProperty);\n const quote = key instanceof AST_SymbolClassProperty\n ? property_token.quote\n : undefined;\n const AST_ClassPropertyVariant = is_private\n ? AST_ClassPrivateProperty\n : AST_ClassProperty;\n if (is(\"operator\", \"=\")) {\n next();\n return new AST_ClassPropertyVariant({\n start,\n static: is_static,\n quote,\n key,\n value: expression(false),\n end: prev()\n });\n } else if (\n is(\"name\")\n || is(\"privatename\")\n || is(\"operator\", \"*\")\n || is(\"punc\", \";\")\n || is(\"punc\", \"}\")\n ) {\n return new AST_ClassPropertyVariant({\n start,\n static: is_static,\n quote,\n key,\n end: prev()\n });\n }\n }\n }\n\n function class_static_block() {\n if (!is(\"punc\", \"{\")) {\n return null;\n }\n\n const start = S.token;\n const body = [];\n\n next();\n\n while (!is(\"punc\", \"}\")) {\n body.push(statement());\n }\n\n next();\n\n return new AST_ClassStaticBlock({ start, body, end: prev() });\n }\n\n function maybe_import_assertion() {\n if (is(\"name\", \"assert\") && !has_newline_before(S.token)) {\n next();\n return object_or_destructuring_();\n }\n return null;\n }\n\n function import_statement() {\n var start = prev();\n\n var imported_name;\n var imported_names;\n if (is(\"name\")) {\n imported_name = as_symbol(AST_SymbolImport);\n }\n\n if (is(\"punc\", \",\")) {\n next();\n }\n\n imported_names = map_names(true);\n\n if (imported_names || imported_name) {\n expect_token(\"name\", \"from\");\n }\n var mod_str = S.token;\n if (mod_str.type !== \"string\") {\n unexpected();\n }\n next();\n\n const assert_clause = maybe_import_assertion();\n\n return new AST_Import({\n start,\n imported_name,\n imported_names,\n module_name: new AST_String({\n start: mod_str,\n value: mod_str.value,\n quote: mod_str.quote,\n end: mod_str,\n }),\n assert_clause,\n end: S.token,\n });\n }\n\n function import_meta() {\n var start = S.token;\n expect_token(\"operator\", \"import\");\n expect_token(\"punc\", \".\");\n expect_token(\"name\", \"meta\");\n return subscripts(new AST_ImportMeta({\n start: start,\n end: prev()\n }), false);\n }\n\n function map_name(is_import) {\n function make_symbol(type, quote) {\n return new type({\n name: as_property_name(),\n quote: quote || undefined,\n start: prev(),\n end: prev()\n });\n }\n\n var foreign_type = is_import ? AST_SymbolImportForeign : AST_SymbolExportForeign;\n var type = is_import ? AST_SymbolImport : AST_SymbolExport;\n var start = S.token;\n var foreign_name;\n var name;\n\n if (is_import) {\n foreign_name = make_symbol(foreign_type, start.quote);\n } else {\n name = make_symbol(type, start.quote);\n }\n if (is(\"name\", \"as\")) {\n next(); // The \"as\" word\n if (is_import) {\n name = make_symbol(type);\n } else {\n foreign_name = make_symbol(foreign_type, S.token.quote);\n }\n } else if (is_import) {\n name = new type(foreign_name);\n } else {\n foreign_name = new foreign_type(name);\n }\n\n return new AST_NameMapping({\n start: start,\n foreign_name: foreign_name,\n name: name,\n end: prev(),\n });\n }\n\n function map_nameAsterisk(is_import, import_or_export_foreign_name) {\n var foreign_type = is_import ? AST_SymbolImportForeign : AST_SymbolExportForeign;\n var type = is_import ? AST_SymbolImport : AST_SymbolExport;\n var start = S.token;\n var name, foreign_name;\n var end = prev();\n\n if (is_import) {\n name = import_or_export_foreign_name;\n } else {\n foreign_name = import_or_export_foreign_name;\n }\n\n name = name || new type({\n start: start,\n name: \"*\",\n end: end,\n });\n\n foreign_name = foreign_name || new foreign_type({\n start: start,\n name: \"*\",\n end: end,\n });\n\n return new AST_NameMapping({\n start: start,\n foreign_name: foreign_name,\n name: name,\n end: end,\n });\n }\n\n function map_names(is_import) {\n var names;\n if (is(\"punc\", \"{\")) {\n next();\n names = [];\n while (!is(\"punc\", \"}\")) {\n names.push(map_name(is_import));\n if (is(\"punc\", \",\")) {\n next();\n }\n }\n next();\n } else if (is(\"operator\", \"*\")) {\n var name;\n next();\n if (is(\"name\", \"as\")) {\n next(); // The \"as\" word\n name = is_import ? as_symbol(AST_SymbolImport) : as_symbol_or_string(AST_SymbolExportForeign);\n }\n names = [map_nameAsterisk(is_import, name)];\n }\n return names;\n }\n\n function export_statement() {\n var start = S.token;\n var is_default;\n var exported_names;\n\n if (is(\"keyword\", \"default\")) {\n is_default = true;\n next();\n } else if (exported_names = map_names(false)) {\n if (is(\"name\", \"from\")) {\n next();\n\n var mod_str = S.token;\n if (mod_str.type !== \"string\") {\n unexpected();\n }\n next();\n\n const assert_clause = maybe_import_assertion();\n\n return new AST_Export({\n start: start,\n is_default: is_default,\n exported_names: exported_names,\n module_name: new AST_String({\n start: mod_str,\n value: mod_str.value,\n quote: mod_str.quote,\n end: mod_str,\n }),\n end: prev(),\n assert_clause\n });\n } else {\n return new AST_Export({\n start: start,\n is_default: is_default,\n exported_names: exported_names,\n end: prev(),\n });\n }\n }\n\n var node;\n var exported_value;\n var exported_definition;\n if (is(\"punc\", \"{\")\n || is_default\n && (is(\"keyword\", \"class\") || is(\"keyword\", \"function\"))\n && is_token(peek(), \"punc\")) {\n exported_value = expression(false);\n semicolon();\n } else if ((node = statement(is_default)) instanceof AST_Definitions && is_default) {\n unexpected(node.start);\n } else if (\n node instanceof AST_Definitions\n || node instanceof AST_Defun\n || node instanceof AST_DefClass\n ) {\n exported_definition = node;\n } else if (\n node instanceof AST_ClassExpression\n || node instanceof AST_Function\n ) {\n exported_value = node;\n } else if (node instanceof AST_SimpleStatement) {\n exported_value = node.body;\n } else {\n unexpected(node.start);\n }\n\n return new AST_Export({\n start: start,\n is_default: is_default,\n exported_value: exported_value,\n exported_definition: exported_definition,\n end: prev(),\n assert_clause: null\n });\n }\n\n function as_property_name() {\n var tmp = S.token;\n switch (tmp.type) {\n case \"punc\":\n if (tmp.value === \"[\") {\n next();\n var ex = expression(false);\n expect(\"]\");\n return ex;\n } else unexpected(tmp);\n case \"operator\":\n if (tmp.value === \"*\") {\n next();\n return null;\n }\n if (![\"delete\", \"in\", \"instanceof\", \"new\", \"typeof\", \"void\"].includes(tmp.value)) {\n unexpected(tmp);\n }\n /* falls through */\n case \"name\":\n case \"privatename\":\n case \"string\":\n case \"num\":\n case \"big_int\":\n case \"keyword\":\n case \"atom\":\n next();\n return tmp.value;\n default:\n unexpected(tmp);\n }\n }\n\n function as_name() {\n var tmp = S.token;\n if (tmp.type != \"name\" && tmp.type != \"privatename\") unexpected();\n next();\n return tmp.value;\n }\n\n function _make_symbol(type) {\n var name = S.token.value;\n return new (name == \"this\" ? AST_This :\n name == \"super\" ? AST_Super :\n type)({\n name : String(name),\n start : S.token,\n end : S.token\n });\n }\n\n function _verify_symbol(sym) {\n var name = sym.name;\n if (is_in_generator() && name == \"yield\") {\n token_error(sym.start, \"Yield cannot be used as identifier inside generators\");\n }\n if (S.input.has_directive(\"use strict\")) {\n if (name == \"yield\") {\n token_error(sym.start, \"Unexpected yield identifier inside strict mode\");\n }\n if (sym instanceof AST_SymbolDeclaration && (name == \"arguments\" || name == \"eval\")) {\n token_error(sym.start, \"Unexpected \" + name + \" in strict mode\");\n }\n }\n }\n\n function as_symbol(type, noerror) {\n if (!is(\"name\")) {\n if (!noerror) croak(\"Name expected\");\n return null;\n }\n var sym = _make_symbol(type);\n _verify_symbol(sym);\n next();\n return sym;\n }\n\n function as_symbol_or_string(type) {\n if (!is(\"name\")) {\n if (!is(\"string\")) {\n croak(\"Name or string expected\");\n }\n var tok = S.token;\n var ret = new type({\n start : tok,\n end : tok,\n name : tok.value,\n quote : tok.quote\n });\n next();\n return ret;\n }\n var sym = _make_symbol(type);\n _verify_symbol(sym);\n next();\n return sym;\n }\n\n // Annotate AST_Call, AST_Lambda or AST_New with the special comments\n function annotate(node) {\n var start = node.start;\n var comments = start.comments_before;\n const comments_outside_parens = outer_comments_before_counts.get(start);\n var i = comments_outside_parens != null ? comments_outside_parens : comments.length;\n while (--i >= 0) {\n var comment = comments[i];\n if (/[@#]__/.test(comment.value)) {\n if (/[@#]__PURE__/.test(comment.value)) {\n set_annotation(node, _PURE);\n break;\n }\n if (/[@#]__INLINE__/.test(comment.value)) {\n set_annotation(node, _INLINE);\n break;\n }\n if (/[@#]__NOINLINE__/.test(comment.value)) {\n set_annotation(node, _NOINLINE);\n break;\n }\n }\n }\n }\n\n var subscripts = function(expr, allow_calls, is_chain) {\n var start = expr.start;\n if (is(\"punc\", \".\")) {\n next();\n if(is(\"privatename\") && !S.in_class) \n croak(\"Private field must be used in an enclosing class\");\n const AST_DotVariant = is(\"privatename\") ? AST_DotHash : AST_Dot;\n return subscripts(new AST_DotVariant({\n start : start,\n expression : expr,\n optional : false,\n property : as_name(),\n end : prev()\n }), allow_calls, is_chain);\n }\n if (is(\"punc\", \"[\")) {\n next();\n var prop = expression(true);\n expect(\"]\");\n return subscripts(new AST_Sub({\n start : start,\n expression : expr,\n optional : false,\n property : prop,\n end : prev()\n }), allow_calls, is_chain);\n }\n if (allow_calls && is(\"punc\", \"(\")) {\n next();\n var call = new AST_Call({\n start : start,\n expression : expr,\n optional : false,\n args : call_args(),\n end : prev()\n });\n annotate(call);\n return subscripts(call, true, is_chain);\n }\n\n if (is(\"punc\", \"?.\")) {\n next();\n\n let chain_contents;\n\n if (allow_calls && is(\"punc\", \"(\")) {\n next();\n\n const call = new AST_Call({\n start,\n optional: true,\n expression: expr,\n args: call_args(),\n end: prev()\n });\n annotate(call);\n\n chain_contents = subscripts(call, true, true);\n } else if (is(\"name\") || is(\"privatename\")) {\n if(is(\"privatename\") && !S.in_class) \n croak(\"Private field must be used in an enclosing class\");\n const AST_DotVariant = is(\"privatename\") ? AST_DotHash : AST_Dot;\n chain_contents = subscripts(new AST_DotVariant({\n start,\n expression: expr,\n optional: true,\n property: as_name(),\n end: prev()\n }), allow_calls, true);\n } else if (is(\"punc\", \"[\")) {\n next();\n const property = expression(true);\n expect(\"]\");\n chain_contents = subscripts(new AST_Sub({\n start,\n expression: expr,\n optional: true,\n property,\n end: prev()\n }), allow_calls, true);\n }\n\n if (!chain_contents) unexpected();\n\n if (chain_contents instanceof AST_Chain) return chain_contents;\n\n return new AST_Chain({\n start,\n expression: chain_contents,\n end: prev()\n });\n }\n\n if (is(\"template_head\")) {\n if (is_chain) {\n // a?.b`c` is a syntax error\n unexpected();\n }\n\n return subscripts(new AST_PrefixedTemplateString({\n start: start,\n prefix: expr,\n template_string: template_string(),\n end: prev()\n }), allow_calls);\n }\n return expr;\n };\n\n function call_args() {\n var args = [];\n while (!is(\"punc\", \")\")) {\n if (is(\"expand\", \"...\")) {\n next();\n args.push(new AST_Expansion({\n start: prev(),\n expression: expression(false),\n end: prev()\n }));\n } else {\n args.push(expression(false));\n }\n if (!is(\"punc\", \")\")) {\n expect(\",\");\n }\n }\n next();\n return args;\n }\n\n var maybe_unary = function(allow_calls, allow_arrows) {\n var start = S.token;\n if (start.type == \"name\" && start.value == \"await\" && can_await()) {\n next();\n return _await_expression();\n }\n if (is(\"operator\") && UNARY_PREFIX.has(start.value)) {\n next();\n handle_regexp();\n var ex = make_unary(AST_UnaryPrefix, start, maybe_unary(allow_calls));\n ex.start = start;\n ex.end = prev();\n return ex;\n }\n var val = expr_atom(allow_calls, allow_arrows);\n while (is(\"operator\") && UNARY_POSTFIX.has(S.token.value) && !has_newline_before(S.token)) {\n if (val instanceof AST_Arrow) unexpected();\n val = make_unary(AST_UnaryPostfix, S.token, val);\n val.start = start;\n val.end = S.token;\n next();\n }\n return val;\n };\n\n function make_unary(ctor, token, expr) {\n var op = token.value;\n switch (op) {\n case \"++\":\n case \"--\":\n if (!is_assignable(expr))\n croak(\"Invalid use of \" + op + \" operator\", token.line, token.col, token.pos);\n break;\n case \"delete\":\n if (expr instanceof AST_SymbolRef && S.input.has_directive(\"use strict\"))\n croak(\"Calling delete on expression not allowed in strict mode\", expr.start.line, expr.start.col, expr.start.pos);\n break;\n }\n return new ctor({ operator: op, expression: expr });\n }\n\n var expr_op = function(left, min_prec, no_in) {\n var op = is(\"operator\") ? S.token.value : null;\n if (op == \"in\" && no_in) op = null;\n if (op == \"**\" && left instanceof AST_UnaryPrefix\n /* unary token in front not allowed - parenthesis required */\n && !is_token(left.start, \"punc\", \"(\")\n && left.operator !== \"--\" && left.operator !== \"++\")\n unexpected(left.start);\n var prec = op != null ? PRECEDENCE[op] : null;\n if (prec != null && (prec > min_prec || (op === \"**\" && min_prec === prec))) {\n next();\n var right = expr_op(maybe_unary(true), prec, no_in);\n return expr_op(new AST_Binary({\n start : left.start,\n left : left,\n operator : op,\n right : right,\n end : right.end\n }), min_prec, no_in);\n }\n return left;\n };\n\n function expr_ops(no_in) {\n return expr_op(maybe_unary(true, true), 0, no_in);\n }\n\n var maybe_conditional = function(no_in) {\n var start = S.token;\n var expr = expr_ops(no_in);\n if (is(\"operator\", \"?\")) {\n next();\n var yes = expression(false);\n expect(\":\");\n return new AST_Conditional({\n start : start,\n condition : expr,\n consequent : yes,\n alternative : expression(false, no_in),\n end : prev()\n });\n }\n return expr;\n };\n\n function is_assignable(expr) {\n return expr instanceof AST_PropAccess || expr instanceof AST_SymbolRef;\n }\n\n function to_destructuring(node) {\n if (node instanceof AST_Object) {\n node = new AST_Destructuring({\n start: node.start,\n names: node.properties.map(to_destructuring),\n is_array: false,\n end: node.end\n });\n } else if (node instanceof AST_Array) {\n var names = [];\n\n for (var i = 0; i < node.elements.length; i++) {\n // Only allow expansion as last element\n if (node.elements[i] instanceof AST_Expansion) {\n if (i + 1 !== node.elements.length) {\n token_error(node.elements[i].start, \"Spread must the be last element in destructuring array\");\n }\n node.elements[i].expression = to_destructuring(node.elements[i].expression);\n }\n\n names.push(to_destructuring(node.elements[i]));\n }\n\n node = new AST_Destructuring({\n start: node.start,\n names: names,\n is_array: true,\n end: node.end\n });\n } else if (node instanceof AST_ObjectProperty) {\n node.value = to_destructuring(node.value);\n } else if (node instanceof AST_Assign) {\n node = new AST_DefaultAssign({\n start: node.start,\n left: node.left,\n operator: \"=\",\n right: node.right,\n end: node.end\n });\n }\n return node;\n }\n\n // In ES6, AssignmentExpression can also be an ArrowFunction\n var maybe_assign = function(no_in) {\n handle_regexp();\n var start = S.token;\n\n if (start.type == \"name\" && start.value == \"yield\") {\n if (is_in_generator()) {\n next();\n return _yield_expression();\n } else if (S.input.has_directive(\"use strict\")) {\n token_error(S.token, \"Unexpected yield identifier inside strict mode\");\n }\n }\n\n var left = maybe_conditional(no_in);\n var val = S.token.value;\n\n if (is(\"operator\") && ASSIGNMENT.has(val)) {\n if (is_assignable(left) || (left = to_destructuring(left)) instanceof AST_Destructuring) {\n next();\n\n return new AST_Assign({\n start : start,\n left : left,\n operator : val,\n right : maybe_assign(no_in),\n logical : LOGICAL_ASSIGNMENT.has(val),\n end : prev()\n });\n }\n croak(\"Invalid assignment\");\n }\n return left;\n };\n\n var expression = function(commas, no_in) {\n var start = S.token;\n var exprs = [];\n while (true) {\n exprs.push(maybe_assign(no_in));\n if (!commas || !is(\"punc\", \",\")) break;\n next();\n commas = true;\n }\n return exprs.length == 1 ? exprs[0] : new AST_Sequence({\n start : start,\n expressions : exprs,\n end : peek()\n });\n };\n\n function in_loop(cont) {\n ++S.in_loop;\n var ret = cont();\n --S.in_loop;\n return ret;\n }\n\n if (options.expression) {\n return expression(true);\n }\n\n return (function parse_toplevel() {\n var start = S.token;\n var body = [];\n S.input.push_directives_stack();\n if (options.module) S.input.add_directive(\"use strict\");\n while (!is(\"eof\")) {\n body.push(statement());\n }\n S.input.pop_directives_stack();\n var end = prev();\n var toplevel = options.toplevel;\n if (toplevel) {\n toplevel.body = toplevel.body.concat(body);\n toplevel.end = end;\n } else {\n toplevel = new AST_Toplevel({ start: start, body: body, end: end });\n }\n TEMPLATE_RAWS = new Map();\n return toplevel;\n })();\n\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction DEFNODE(type, props, ctor, methods, base = AST_Node) {\n if (!props) props = [];\n else props = props.split(/\\s+/);\n var self_props = props;\n if (base && base.PROPS)\n props = props.concat(base.PROPS);\n const proto = base && Object.create(base.prototype);\n if (proto) {\n ctor.prototype = proto;\n ctor.BASE = base;\n }\n if (base) base.SUBCLASSES.push(ctor);\n ctor.prototype.CTOR = ctor;\n ctor.prototype.constructor = ctor;\n ctor.PROPS = props || null;\n ctor.SELF_PROPS = self_props;\n ctor.SUBCLASSES = [];\n if (type) {\n ctor.prototype.TYPE = ctor.TYPE = type;\n }\n if (methods) for (let i in methods) if (HOP(methods, i)) {\n if (i[0] === \"$\") {\n ctor[i.substr(1)] = methods[i];\n } else {\n ctor.prototype[i] = methods[i];\n }\n }\n ctor.DEFMETHOD = function(name, method) {\n this.prototype[name] = method;\n };\n return ctor;\n}\n\nconst has_tok_flag = (tok, flag) => Boolean(tok.flags & flag);\nconst set_tok_flag = (tok, flag, truth) => {\n if (truth) {\n tok.flags |= flag;\n } else {\n tok.flags &= ~flag;\n }\n};\n\nconst TOK_FLAG_NLB = 0b0001;\nconst TOK_FLAG_QUOTE_SINGLE = 0b0010;\nconst TOK_FLAG_QUOTE_EXISTS = 0b0100;\nconst TOK_FLAG_TEMPLATE_END = 0b1000;\n\nclass AST_Token {\n constructor(type, value, line, col, pos, nlb, comments_before, comments_after, file) {\n this.flags = (nlb ? 1 : 0);\n\n this.type = type;\n this.value = value;\n this.line = line;\n this.col = col;\n this.pos = pos;\n this.comments_before = comments_before;\n this.comments_after = comments_after;\n this.file = file;\n\n Object.seal(this);\n }\n\n get nlb() {\n return has_tok_flag(this, TOK_FLAG_NLB);\n }\n\n set nlb(new_nlb) {\n set_tok_flag(this, TOK_FLAG_NLB, new_nlb);\n }\n\n get quote() {\n return !has_tok_flag(this, TOK_FLAG_QUOTE_EXISTS)\n ? \"\"\n : (has_tok_flag(this, TOK_FLAG_QUOTE_SINGLE) ? \"'\" : '\"');\n }\n\n set quote(quote_type) {\n set_tok_flag(this, TOK_FLAG_QUOTE_SINGLE, quote_type === \"'\");\n set_tok_flag(this, TOK_FLAG_QUOTE_EXISTS, !!quote_type);\n }\n\n get template_end() {\n return has_tok_flag(this, TOK_FLAG_TEMPLATE_END);\n }\n\n set template_end(new_template_end) {\n set_tok_flag(this, TOK_FLAG_TEMPLATE_END, new_template_end);\n }\n}\n\nvar AST_Node = DEFNODE(\"Node\", \"start end\", function AST_Node(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n _clone: function(deep) {\n if (deep) {\n var self = this.clone();\n return self.transform(new TreeTransformer(function(node) {\n if (node !== self) {\n return node.clone(true);\n }\n }));\n }\n return new this.CTOR(this);\n },\n clone: function(deep) {\n return this._clone(deep);\n },\n $documentation: \"Base class of all AST nodes\",\n $propdoc: {\n start: \"[AST_Token] The first token of this node\",\n end: \"[AST_Token] The last token of this node\"\n },\n _walk: function(visitor) {\n return visitor._visit(this);\n },\n walk: function(visitor) {\n return this._walk(visitor); // not sure the indirection will be any help\n },\n _children_backwards: () => {}\n}, null);\n\n/* -----[ statements ]----- */\n\nvar AST_Statement = DEFNODE(\"Statement\", null, function AST_Statement(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class of all statements\",\n});\n\nvar AST_Debugger = DEFNODE(\"Debugger\", null, function AST_Debugger(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Represents a debugger statement\",\n}, AST_Statement);\n\nvar AST_Directive = DEFNODE(\"Directive\", \"value quote\", function AST_Directive(props) {\n if (props) {\n this.value = props.value;\n this.quote = props.quote;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Represents a directive, like \\\"use strict\\\";\",\n $propdoc: {\n value: \"[string] The value of this directive as a plain string (it's not an AST_String!)\",\n quote: \"[string] the original quote character\"\n },\n}, AST_Statement);\n\nvar AST_SimpleStatement = DEFNODE(\"SimpleStatement\", \"body\", function AST_SimpleStatement(props) {\n if (props) {\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A statement consisting of an expression, i.e. a = 1 + 2\",\n $propdoc: {\n body: \"[AST_Node] an expression node (should not be instanceof AST_Statement)\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n }\n}, AST_Statement);\n\nfunction walk_body(node, visitor) {\n const body = node.body;\n for (var i = 0, len = body.length; i < len; i++) {\n body[i]._walk(visitor);\n }\n}\n\nfunction clone_block_scope(deep) {\n var clone = this._clone(deep);\n if (this.block_scope) {\n clone.block_scope = this.block_scope.clone();\n }\n return clone;\n}\n\nvar AST_Block = DEFNODE(\"Block\", \"body block_scope\", function AST_Block(props) {\n if (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A body of statements (usually braced)\",\n $propdoc: {\n body: \"[AST_Statement*] an array of statements\",\n block_scope: \"[AST_Scope] the block scope\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n },\n clone: clone_block_scope\n}, AST_Statement);\n\nvar AST_BlockStatement = DEFNODE(\"BlockStatement\", null, function AST_BlockStatement(props) {\n if (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A block statement\",\n}, AST_Block);\n\nvar AST_EmptyStatement = DEFNODE(\"EmptyStatement\", null, function AST_EmptyStatement(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The empty statement (empty block or simply a semicolon)\"\n}, AST_Statement);\n\nvar AST_StatementWithBody = DEFNODE(\"StatementWithBody\", \"body\", function AST_StatementWithBody(props) {\n if (props) {\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`\",\n $propdoc: {\n body: \"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement\"\n }\n}, AST_Statement);\n\nvar AST_LabeledStatement = DEFNODE(\"LabeledStatement\", \"label\", function AST_LabeledStatement(props) {\n if (props) {\n this.label = props.label;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Statement with a label\",\n $propdoc: {\n label: \"[AST_Label] a label definition\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.label._walk(visitor);\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n push(this.label);\n },\n clone: function(deep) {\n var node = this._clone(deep);\n if (deep) {\n var label = node.label;\n var def = this.label;\n node.walk(new TreeWalker(function(node) {\n if (node instanceof AST_LoopControl\n && node.label && node.label.thedef === def) {\n node.label.thedef = label;\n label.references.push(node);\n }\n }));\n }\n return node;\n }\n}, AST_StatementWithBody);\n\nvar AST_IterationStatement = DEFNODE(\n \"IterationStatement\",\n \"block_scope\",\n function AST_IterationStatement(props) {\n if (props) {\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Internal class. All loops inherit from it.\",\n $propdoc: {\n block_scope: \"[AST_Scope] the block scope for this iteration statement.\"\n },\n clone: clone_block_scope\n },\n AST_StatementWithBody\n);\n\nvar AST_DWLoop = DEFNODE(\"DWLoop\", \"condition\", function AST_DWLoop(props) {\n if (props) {\n this.condition = props.condition;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for do/while statements\",\n $propdoc: {\n condition: \"[AST_Node] the loop condition. Should not be instanceof AST_Statement\"\n }\n}, AST_IterationStatement);\n\nvar AST_Do = DEFNODE(\"Do\", null, function AST_Do(props) {\n if (props) {\n this.condition = props.condition;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `do` statement\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.body._walk(visitor);\n this.condition._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.condition);\n push(this.body);\n }\n}, AST_DWLoop);\n\nvar AST_While = DEFNODE(\"While\", null, function AST_While(props) {\n if (props) {\n this.condition = props.condition;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `while` statement\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.condition._walk(visitor);\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n push(this.condition);\n },\n}, AST_DWLoop);\n\nvar AST_For = DEFNODE(\"For\", \"init condition step\", function AST_For(props) {\n if (props) {\n this.init = props.init;\n this.condition = props.condition;\n this.step = props.step;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `for` statement\",\n $propdoc: {\n init: \"[AST_Node?] the `for` initialization code, or null if empty\",\n condition: \"[AST_Node?] the `for` termination clause, or null if empty\",\n step: \"[AST_Node?] the `for` update clause, or null if empty\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.init) this.init._walk(visitor);\n if (this.condition) this.condition._walk(visitor);\n if (this.step) this.step._walk(visitor);\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n if (this.step) push(this.step);\n if (this.condition) push(this.condition);\n if (this.init) push(this.init);\n },\n}, AST_IterationStatement);\n\nvar AST_ForIn = DEFNODE(\"ForIn\", \"init object\", function AST_ForIn(props) {\n if (props) {\n this.init = props.init;\n this.object = props.object;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `for ... in` statement\",\n $propdoc: {\n init: \"[AST_Node] the `for/in` initialization code\",\n object: \"[AST_Node] the object that we're looping through\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.init._walk(visitor);\n this.object._walk(visitor);\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n if (this.object) push(this.object);\n if (this.init) push(this.init);\n },\n}, AST_IterationStatement);\n\nvar AST_ForOf = DEFNODE(\"ForOf\", \"await\", function AST_ForOf(props) {\n if (props) {\n this.await = props.await;\n this.init = props.init;\n this.object = props.object;\n this.block_scope = props.block_scope;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `for ... of` statement\",\n}, AST_ForIn);\n\nvar AST_With = DEFNODE(\"With\", \"expression\", function AST_With(props) {\n if (props) {\n this.expression = props.expression;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `with` statement\",\n $propdoc: {\n expression: \"[AST_Node] the `with` expression\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n this.body._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.body);\n push(this.expression);\n },\n}, AST_StatementWithBody);\n\n/* -----[ scope and functions ]----- */\n\nvar AST_Scope = DEFNODE(\n \"Scope\",\n \"variables uses_with uses_eval parent_scope enclosed cname\",\n function AST_Scope(props) {\n if (props) {\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Base class for all statements introducing a lexical scope\",\n $propdoc: {\n variables: \"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope\",\n uses_with: \"[boolean/S] tells whether this scope uses the `with` statement\",\n uses_eval: \"[boolean/S] tells whether this scope contains a direct call to the global `eval`\",\n parent_scope: \"[AST_Scope?/S] link to the parent scope\",\n enclosed: \"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes\",\n cname: \"[integer/S] current index for mangling variables (used internally by the mangler)\",\n },\n get_defun_scope: function() {\n var self = this;\n while (self.is_block_scope()) {\n self = self.parent_scope;\n }\n return self;\n },\n clone: function(deep, toplevel) {\n var node = this._clone(deep);\n if (deep && this.variables && toplevel && !this._block_scope) {\n node.figure_out_scope({}, {\n toplevel: toplevel,\n parent_scope: this.parent_scope\n });\n } else {\n if (this.variables) node.variables = new Map(this.variables);\n if (this.enclosed) node.enclosed = this.enclosed.slice();\n if (this._block_scope) node._block_scope = this._block_scope;\n }\n return node;\n },\n pinned: function() {\n return this.uses_eval || this.uses_with;\n }\n },\n AST_Block\n);\n\nvar AST_Toplevel = DEFNODE(\"Toplevel\", \"globals\", function AST_Toplevel(props) {\n if (props) {\n this.globals = props.globals;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The toplevel scope\",\n $propdoc: {\n globals: \"[Map/S] a map of name -> SymbolDef for all undeclared names\",\n },\n wrap_commonjs: function(name) {\n var body = this.body;\n var wrapped_tl = \"(function(exports){'$ORIG';})(typeof \" + name + \"=='undefined'?(\" + name + \"={}):\" + name + \");\";\n wrapped_tl = parse(wrapped_tl);\n wrapped_tl = wrapped_tl.transform(new TreeTransformer(function(node) {\n if (node instanceof AST_Directive && node.value == \"$ORIG\") {\n return MAP.splice(body);\n }\n }));\n return wrapped_tl;\n },\n wrap_enclose: function(args_values) {\n if (typeof args_values != \"string\") args_values = \"\";\n var index = args_values.indexOf(\":\");\n if (index < 0) index = args_values.length;\n var body = this.body;\n return parse([\n \"(function(\",\n args_values.slice(0, index),\n '){\"$ORIG\"})(',\n args_values.slice(index + 1),\n \")\"\n ].join(\"\")).transform(new TreeTransformer(function(node) {\n if (node instanceof AST_Directive && node.value == \"$ORIG\") {\n return MAP.splice(body);\n }\n }));\n }\n}, AST_Scope);\n\nvar AST_Expansion = DEFNODE(\"Expansion\", \"expression\", function AST_Expansion(props) {\n if (props) {\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list\",\n $propdoc: {\n expression: \"[AST_Node] the thing to be expanded\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression.walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n});\n\nvar AST_Lambda = DEFNODE(\n \"Lambda\",\n \"name argnames uses_arguments is_generator async\",\n function AST_Lambda(props) {\n if (props) {\n this.name = props.name;\n this.argnames = props.argnames;\n this.uses_arguments = props.uses_arguments;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Base class for functions\",\n $propdoc: {\n name: \"[AST_SymbolDeclaration?] the name of this function\",\n argnames: \"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments\",\n uses_arguments: \"[boolean/S] tells whether this function accesses the arguments array\",\n is_generator: \"[boolean] is this a generator method\",\n async: \"[boolean] is this method async\",\n },\n args_as_names: function () {\n var out = [];\n for (var i = 0; i < this.argnames.length; i++) {\n if (this.argnames[i] instanceof AST_Destructuring) {\n out.push(...this.argnames[i].all_symbols());\n } else {\n out.push(this.argnames[i]);\n }\n }\n return out;\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.name) this.name._walk(visitor);\n var argnames = this.argnames;\n for (var i = 0, len = argnames.length; i < len; i++) {\n argnames[i]._walk(visitor);\n }\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n\n i = this.argnames.length;\n while (i--) push(this.argnames[i]);\n\n if (this.name) push(this.name);\n },\n is_braceless() {\n return this.body[0] instanceof AST_Return && this.body[0].value;\n },\n // Default args and expansion don't count, so .argnames.length doesn't cut it\n length_property() {\n let length = 0;\n\n for (const arg of this.argnames) {\n if (arg instanceof AST_SymbolFunarg || arg instanceof AST_Destructuring) {\n length++;\n }\n }\n\n return length;\n }\n },\n AST_Scope\n);\n\nvar AST_Accessor = DEFNODE(\"Accessor\", null, function AST_Accessor(props) {\n if (props) {\n this.name = props.name;\n this.argnames = props.argnames;\n this.uses_arguments = props.uses_arguments;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A setter/getter function. The `name` property is always null.\"\n}, AST_Lambda);\n\nvar AST_Function = DEFNODE(\"Function\", null, function AST_Function(props) {\n if (props) {\n this.name = props.name;\n this.argnames = props.argnames;\n this.uses_arguments = props.uses_arguments;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A function expression\"\n}, AST_Lambda);\n\nvar AST_Arrow = DEFNODE(\"Arrow\", null, function AST_Arrow(props) {\n if (props) {\n this.name = props.name;\n this.argnames = props.argnames;\n this.uses_arguments = props.uses_arguments;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An ES6 Arrow function ((a) => b)\"\n}, AST_Lambda);\n\nvar AST_Defun = DEFNODE(\"Defun\", null, function AST_Defun(props) {\n if (props) {\n this.name = props.name;\n this.argnames = props.argnames;\n this.uses_arguments = props.uses_arguments;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A function definition\"\n}, AST_Lambda);\n\n/* -----[ DESTRUCTURING ]----- */\nvar AST_Destructuring = DEFNODE(\"Destructuring\", \"names is_array\", function AST_Destructuring(props) {\n if (props) {\n this.names = props.names;\n this.is_array = props.is_array;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names\",\n $propdoc: {\n \"names\": \"[AST_Node*] Array of properties or elements\",\n \"is_array\": \"[Boolean] Whether the destructuring represents an object or array\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.names.forEach(function(name) {\n name._walk(visitor);\n });\n });\n },\n _children_backwards(push) {\n let i = this.names.length;\n while (i--) push(this.names[i]);\n },\n all_symbols: function() {\n var out = [];\n this.walk(new TreeWalker(function (node) {\n if (node instanceof AST_Symbol) {\n out.push(node);\n }\n }));\n return out;\n }\n});\n\nvar AST_PrefixedTemplateString = DEFNODE(\n \"PrefixedTemplateString\",\n \"template_string prefix\",\n function AST_PrefixedTemplateString(props) {\n if (props) {\n this.template_string = props.template_string;\n this.prefix = props.prefix;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"A templatestring with a prefix, such as String.raw`foobarbaz`\",\n $propdoc: {\n template_string: \"[AST_TemplateString] The template string\",\n prefix: \"[AST_Node] The prefix, which will get called.\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function () {\n this.prefix._walk(visitor);\n this.template_string._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.template_string);\n push(this.prefix);\n },\n }\n);\n\nvar AST_TemplateString = DEFNODE(\"TemplateString\", \"segments\", function AST_TemplateString(props) {\n if (props) {\n this.segments = props.segments;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A template string literal\",\n $propdoc: {\n segments: \"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment.\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.segments.forEach(function(seg) {\n seg._walk(visitor);\n });\n });\n },\n _children_backwards(push) {\n let i = this.segments.length;\n while (i--) push(this.segments[i]);\n }\n});\n\nvar AST_TemplateSegment = DEFNODE(\"TemplateSegment\", \"value raw\", function AST_TemplateSegment(props) {\n if (props) {\n this.value = props.value;\n this.raw = props.raw;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A segment of a template string literal\",\n $propdoc: {\n value: \"Content of the segment\",\n raw: \"Raw source of the segment\",\n }\n});\n\n/* -----[ JUMPS ]----- */\n\nvar AST_Jump = DEFNODE(\"Jump\", null, function AST_Jump(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)\"\n}, AST_Statement);\n\n/** Base class for “exits” (`return` and `throw`) */\nvar AST_Exit = DEFNODE(\"Exit\", \"value\", function AST_Exit(props) {\n if (props) {\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for “exits” (`return` and `throw`)\",\n $propdoc: {\n value: \"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, this.value && function() {\n this.value._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.value) push(this.value);\n },\n}, AST_Jump);\n\nvar AST_Return = DEFNODE(\"Return\", null, function AST_Return(props) {\n if (props) {\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `return` statement\"\n}, AST_Exit);\n\nvar AST_Throw = DEFNODE(\"Throw\", null, function AST_Throw(props) {\n if (props) {\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `throw` statement\"\n}, AST_Exit);\n\nvar AST_LoopControl = DEFNODE(\"LoopControl\", \"label\", function AST_LoopControl(props) {\n if (props) {\n this.label = props.label;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for loop control statements (`break` and `continue`)\",\n $propdoc: {\n label: \"[AST_LabelRef?] the label, or null if none\",\n },\n _walk: function(visitor) {\n return visitor._visit(this, this.label && function() {\n this.label._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.label) push(this.label);\n },\n}, AST_Jump);\n\nvar AST_Break = DEFNODE(\"Break\", null, function AST_Break(props) {\n if (props) {\n this.label = props.label;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `break` statement\"\n}, AST_LoopControl);\n\nvar AST_Continue = DEFNODE(\"Continue\", null, function AST_Continue(props) {\n if (props) {\n this.label = props.label;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `continue` statement\"\n}, AST_LoopControl);\n\nvar AST_Await = DEFNODE(\"Await\", \"expression\", function AST_Await(props) {\n if (props) {\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An `await` statement\",\n $propdoc: {\n expression: \"[AST_Node] the mandatory expression being awaited\",\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n});\n\nvar AST_Yield = DEFNODE(\"Yield\", \"expression is_star\", function AST_Yield(props) {\n if (props) {\n this.expression = props.expression;\n this.is_star = props.is_star;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `yield` statement\",\n $propdoc: {\n expression: \"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false\",\n is_star: \"[Boolean] Whether this is a yield or yield* statement\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, this.expression && function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.expression) push(this.expression);\n }\n});\n\n/* -----[ IF ]----- */\n\nvar AST_If = DEFNODE(\"If\", \"condition alternative\", function AST_If(props) {\n if (props) {\n this.condition = props.condition;\n this.alternative = props.alternative;\n this.body = props.body;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `if` statement\",\n $propdoc: {\n condition: \"[AST_Node] the `if` condition\",\n alternative: \"[AST_Statement?] the `else` part, or null if not present\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.condition._walk(visitor);\n this.body._walk(visitor);\n if (this.alternative) this.alternative._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.alternative) {\n push(this.alternative);\n }\n push(this.body);\n push(this.condition);\n }\n}, AST_StatementWithBody);\n\n/* -----[ SWITCH ]----- */\n\nvar AST_Switch = DEFNODE(\"Switch\", \"expression\", function AST_Switch(props) {\n if (props) {\n this.expression = props.expression;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `switch` statement\",\n $propdoc: {\n expression: \"[AST_Node] the `switch` “discriminant”\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n push(this.expression);\n }\n}, AST_Block);\n\nvar AST_SwitchBranch = DEFNODE(\"SwitchBranch\", null, function AST_SwitchBranch(props) {\n if (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for `switch` branches\",\n}, AST_Block);\n\nvar AST_Default = DEFNODE(\"Default\", null, function AST_Default(props) {\n if (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `default` switch branch\",\n}, AST_SwitchBranch);\n\nvar AST_Case = DEFNODE(\"Case\", \"expression\", function AST_Case(props) {\n if (props) {\n this.expression = props.expression;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `case` switch branch\",\n $propdoc: {\n expression: \"[AST_Node] the `case` expression\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n push(this.expression);\n },\n}, AST_SwitchBranch);\n\n/* -----[ EXCEPTIONS ]----- */\n\nvar AST_Try = DEFNODE(\"Try\", \"bcatch bfinally\", function AST_Try(props) {\n if (props) {\n this.bcatch = props.bcatch;\n this.bfinally = props.bfinally;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `try` statement\",\n $propdoc: {\n bcatch: \"[AST_Catch?] the catch block, or null if not present\",\n bfinally: \"[AST_Finally?] the finally block, or null if not present\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n walk_body(this, visitor);\n if (this.bcatch) this.bcatch._walk(visitor);\n if (this.bfinally) this.bfinally._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.bfinally) push(this.bfinally);\n if (this.bcatch) push(this.bcatch);\n let i = this.body.length;\n while (i--) push(this.body[i]);\n },\n}, AST_Block);\n\nvar AST_Catch = DEFNODE(\"Catch\", \"argname\", function AST_Catch(props) {\n if (props) {\n this.argname = props.argname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `catch` node; only makes sense as part of a `try` statement\",\n $propdoc: {\n argname: \"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.argname) this.argname._walk(visitor);\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n if (this.argname) push(this.argname);\n },\n}, AST_Block);\n\nvar AST_Finally = DEFNODE(\"Finally\", null, function AST_Finally(props) {\n if (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `finally` node; only makes sense as part of a `try` statement\"\n}, AST_Block);\n\n/* -----[ VAR/CONST ]----- */\n\nvar AST_Definitions = DEFNODE(\"Definitions\", \"definitions\", function AST_Definitions(props) {\n if (props) {\n this.definitions = props.definitions;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for `var` or `const` nodes (variable declarations/initializations)\",\n $propdoc: {\n definitions: \"[AST_VarDef*] array of variable definitions\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n var definitions = this.definitions;\n for (var i = 0, len = definitions.length; i < len; i++) {\n definitions[i]._walk(visitor);\n }\n });\n },\n _children_backwards(push) {\n let i = this.definitions.length;\n while (i--) push(this.definitions[i]);\n },\n}, AST_Statement);\n\nvar AST_Var = DEFNODE(\"Var\", null, function AST_Var(props) {\n if (props) {\n this.definitions = props.definitions;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `var` statement\"\n}, AST_Definitions);\n\nvar AST_Let = DEFNODE(\"Let\", null, function AST_Let(props) {\n if (props) {\n this.definitions = props.definitions;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `let` statement\"\n}, AST_Definitions);\n\nvar AST_Const = DEFNODE(\"Const\", null, function AST_Const(props) {\n if (props) {\n this.definitions = props.definitions;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A `const` statement\"\n}, AST_Definitions);\n\nvar AST_VarDef = DEFNODE(\"VarDef\", \"name value\", function AST_VarDef(props) {\n if (props) {\n this.name = props.name;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A variable declaration; only appears in a AST_Definitions node\",\n $propdoc: {\n name: \"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable\",\n value: \"[AST_Node?] initializer, or null of there's no initializer\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.name._walk(visitor);\n if (this.value) this.value._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.value) push(this.value);\n push(this.name);\n },\n});\n\nvar AST_NameMapping = DEFNODE(\"NameMapping\", \"foreign_name name\", function AST_NameMapping(props) {\n if (props) {\n this.foreign_name = props.foreign_name;\n this.name = props.name;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The part of the export/import statement that declare names from a module.\",\n $propdoc: {\n foreign_name: \"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)\",\n name: \"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module.\"\n },\n _walk: function (visitor) {\n return visitor._visit(this, function() {\n this.foreign_name._walk(visitor);\n this.name._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.name);\n push(this.foreign_name);\n },\n});\n\nvar AST_Import = DEFNODE(\n \"Import\",\n \"imported_name imported_names module_name assert_clause\",\n function AST_Import(props) {\n if (props) {\n this.imported_name = props.imported_name;\n this.imported_names = props.imported_names;\n this.module_name = props.module_name;\n this.assert_clause = props.assert_clause;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"An `import` statement\",\n $propdoc: {\n imported_name: \"[AST_SymbolImport] The name of the variable holding the module's default export.\",\n imported_names: \"[AST_NameMapping*] The names of non-default imported variables\",\n module_name: \"[AST_String] String literal describing where this module came from\",\n assert_clause: \"[AST_Object?] The import assertion\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.imported_name) {\n this.imported_name._walk(visitor);\n }\n if (this.imported_names) {\n this.imported_names.forEach(function(name_import) {\n name_import._walk(visitor);\n });\n }\n this.module_name._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.module_name);\n if (this.imported_names) {\n let i = this.imported_names.length;\n while (i--) push(this.imported_names[i]);\n }\n if (this.imported_name) push(this.imported_name);\n },\n }\n);\n\nvar AST_ImportMeta = DEFNODE(\"ImportMeta\", null, function AST_ImportMeta(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A reference to import.meta\",\n});\n\nvar AST_Export = DEFNODE(\n \"Export\",\n \"exported_definition exported_value is_default exported_names module_name assert_clause\",\n function AST_Export(props) {\n if (props) {\n this.exported_definition = props.exported_definition;\n this.exported_value = props.exported_value;\n this.is_default = props.is_default;\n this.exported_names = props.exported_names;\n this.module_name = props.module_name;\n this.assert_clause = props.assert_clause;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"An `export` statement\",\n $propdoc: {\n exported_definition: \"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition\",\n exported_value: \"[AST_Node?] An exported value\",\n exported_names: \"[AST_NameMapping*?] List of exported names\",\n module_name: \"[AST_String?] Name of the file to load exports from\",\n is_default: \"[Boolean] Whether this is the default exported value of this module\",\n assert_clause: \"[AST_Object?] The import assertion\"\n },\n _walk: function (visitor) {\n return visitor._visit(this, function () {\n if (this.exported_definition) {\n this.exported_definition._walk(visitor);\n }\n if (this.exported_value) {\n this.exported_value._walk(visitor);\n }\n if (this.exported_names) {\n this.exported_names.forEach(function(name_export) {\n name_export._walk(visitor);\n });\n }\n if (this.module_name) {\n this.module_name._walk(visitor);\n }\n });\n },\n _children_backwards(push) {\n if (this.module_name) push(this.module_name);\n if (this.exported_names) {\n let i = this.exported_names.length;\n while (i--) push(this.exported_names[i]);\n }\n if (this.exported_value) push(this.exported_value);\n if (this.exported_definition) push(this.exported_definition);\n }\n },\n AST_Statement\n);\n\n/* -----[ OTHER ]----- */\n\nvar AST_Call = DEFNODE(\n \"Call\",\n \"expression args optional _annotations\",\n function AST_Call(props) {\n if (props) {\n this.expression = props.expression;\n this.args = props.args;\n this.optional = props.optional;\n this._annotations = props._annotations;\n this.start = props.start;\n this.end = props.end;\n this.initialize();\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"A function call expression\",\n $propdoc: {\n expression: \"[AST_Node] expression to invoke as function\",\n args: \"[AST_Node*] array of arguments\",\n optional: \"[boolean] whether this is an optional call (IE ?.() )\",\n _annotations: \"[number] bitfield containing information about the call\"\n },\n initialize() {\n if (this._annotations == null) this._annotations = 0;\n },\n _walk(visitor) {\n return visitor._visit(this, function() {\n var args = this.args;\n for (var i = 0, len = args.length; i < len; i++) {\n args[i]._walk(visitor);\n }\n this.expression._walk(visitor); // TODO why do we need to crawl this last?\n });\n },\n _children_backwards(push) {\n let i = this.args.length;\n while (i--) push(this.args[i]);\n push(this.expression);\n },\n }\n);\n\nvar AST_New = DEFNODE(\"New\", null, function AST_New(props) {\n if (props) {\n this.expression = props.expression;\n this.args = props.args;\n this.optional = props.optional;\n this._annotations = props._annotations;\n this.start = props.start;\n this.end = props.end;\n this.initialize();\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An object instantiation. Derives from a function call since it has exactly the same properties\"\n}, AST_Call);\n\nvar AST_Sequence = DEFNODE(\"Sequence\", \"expressions\", function AST_Sequence(props) {\n if (props) {\n this.expressions = props.expressions;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A sequence expression (comma-separated expressions)\",\n $propdoc: {\n expressions: \"[AST_Node*] array of expressions (at least two)\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expressions.forEach(function(node) {\n node._walk(visitor);\n });\n });\n },\n _children_backwards(push) {\n let i = this.expressions.length;\n while (i--) push(this.expressions[i]);\n },\n});\n\nvar AST_PropAccess = DEFNODE(\n \"PropAccess\",\n \"expression property optional\",\n function AST_PropAccess(props) {\n if (props) {\n this.expression = props.expression;\n this.property = props.property;\n this.optional = props.optional;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Base class for property access expressions, i.e. `a.foo` or `a[\\\"foo\\\"]`\",\n $propdoc: {\n expression: \"[AST_Node] the “container” expression\",\n property: \"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node\",\n\n optional: \"[boolean] whether this is an optional property access (IE ?.)\"\n }\n }\n);\n\nvar AST_Dot = DEFNODE(\"Dot\", \"quote\", function AST_Dot(props) {\n if (props) {\n this.quote = props.quote;\n this.expression = props.expression;\n this.property = props.property;\n this.optional = props.optional;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A dotted property access expression\",\n $propdoc: {\n quote: \"[string] the original quote character when transformed from AST_Sub\",\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n}, AST_PropAccess);\n\nvar AST_DotHash = DEFNODE(\"DotHash\", \"\", function AST_DotHash(props) {\n if (props) {\n this.expression = props.expression;\n this.property = props.property;\n this.optional = props.optional;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A dotted property access to a private property\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n}, AST_PropAccess);\n\nvar AST_Sub = DEFNODE(\"Sub\", null, function AST_Sub(props) {\n if (props) {\n this.expression = props.expression;\n this.property = props.property;\n this.optional = props.optional;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Index-style property access, i.e. `a[\\\"foo\\\"]`\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n this.property._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.property);\n push(this.expression);\n },\n}, AST_PropAccess);\n\nvar AST_Chain = DEFNODE(\"Chain\", \"expression\", function AST_Chain(props) {\n if (props) {\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A chain expression like a?.b?.(c)?.[d]\",\n $propdoc: {\n expression: \"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element.\"\n },\n _walk: function (visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n});\n\nvar AST_Unary = DEFNODE(\"Unary\", \"operator expression\", function AST_Unary(props) {\n if (props) {\n this.operator = props.operator;\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for unary expressions\",\n $propdoc: {\n operator: \"[string] the operator\",\n expression: \"[AST_Node] expression that this unary operator applies to\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.expression._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.expression);\n },\n});\n\nvar AST_UnaryPrefix = DEFNODE(\"UnaryPrefix\", null, function AST_UnaryPrefix(props) {\n if (props) {\n this.operator = props.operator;\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Unary prefix expression, i.e. `typeof i` or `++i`\"\n}, AST_Unary);\n\nvar AST_UnaryPostfix = DEFNODE(\"UnaryPostfix\", null, function AST_UnaryPostfix(props) {\n if (props) {\n this.operator = props.operator;\n this.expression = props.expression;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Unary postfix expression, i.e. `i++`\"\n}, AST_Unary);\n\nvar AST_Binary = DEFNODE(\"Binary\", \"operator left right\", function AST_Binary(props) {\n if (props) {\n this.operator = props.operator;\n this.left = props.left;\n this.right = props.right;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Binary expression, i.e. `a + b`\",\n $propdoc: {\n left: \"[AST_Node] left-hand side expression\",\n operator: \"[string] the operator\",\n right: \"[AST_Node] right-hand side expression\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.left._walk(visitor);\n this.right._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.right);\n push(this.left);\n },\n});\n\nvar AST_Conditional = DEFNODE(\n \"Conditional\",\n \"condition consequent alternative\",\n function AST_Conditional(props) {\n if (props) {\n this.condition = props.condition;\n this.consequent = props.consequent;\n this.alternative = props.alternative;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Conditional expression using the ternary operator, i.e. `a ? b : c`\",\n $propdoc: {\n condition: \"[AST_Node]\",\n consequent: \"[AST_Node]\",\n alternative: \"[AST_Node]\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.condition._walk(visitor);\n this.consequent._walk(visitor);\n this.alternative._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.alternative);\n push(this.consequent);\n push(this.condition);\n },\n }\n);\n\nvar AST_Assign = DEFNODE(\"Assign\", \"logical\", function AST_Assign(props) {\n if (props) {\n this.logical = props.logical;\n this.operator = props.operator;\n this.left = props.left;\n this.right = props.right;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An assignment expression — `a = b + 5`\",\n $propdoc: {\n logical: \"Whether it's a logical assignment\"\n }\n}, AST_Binary);\n\nvar AST_DefaultAssign = DEFNODE(\"DefaultAssign\", null, function AST_DefaultAssign(props) {\n if (props) {\n this.operator = props.operator;\n this.left = props.left;\n this.right = props.right;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A default assignment expression like in `(a = 3) => a`\"\n}, AST_Binary);\n\n/* -----[ LITERALS ]----- */\n\nvar AST_Array = DEFNODE(\"Array\", \"elements\", function AST_Array(props) {\n if (props) {\n this.elements = props.elements;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An array literal\",\n $propdoc: {\n elements: \"[AST_Node*] array of elements\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n var elements = this.elements;\n for (var i = 0, len = elements.length; i < len; i++) {\n elements[i]._walk(visitor);\n }\n });\n },\n _children_backwards(push) {\n let i = this.elements.length;\n while (i--) push(this.elements[i]);\n },\n});\n\nvar AST_Object = DEFNODE(\"Object\", \"properties\", function AST_Object(props) {\n if (props) {\n this.properties = props.properties;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An object literal\",\n $propdoc: {\n properties: \"[AST_ObjectProperty*] array of properties\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n var properties = this.properties;\n for (var i = 0, len = properties.length; i < len; i++) {\n properties[i]._walk(visitor);\n }\n });\n },\n _children_backwards(push) {\n let i = this.properties.length;\n while (i--) push(this.properties[i]);\n },\n});\n\nvar AST_ObjectProperty = DEFNODE(\"ObjectProperty\", \"key value\", function AST_ObjectProperty(props) {\n if (props) {\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for literal object properties\",\n $propdoc: {\n key: \"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.\",\n value: \"[AST_Node] property value. For getters and setters this is an AST_Accessor.\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.key instanceof AST_Node)\n this.key._walk(visitor);\n this.value._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.value);\n if (this.key instanceof AST_Node) push(this.key);\n }\n});\n\nvar AST_ObjectKeyVal = DEFNODE(\"ObjectKeyVal\", \"quote\", function AST_ObjectKeyVal(props) {\n if (props) {\n this.quote = props.quote;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A key: value object property\",\n $propdoc: {\n quote: \"[string] the original quote character\"\n },\n computed_key() {\n return this.key instanceof AST_Node;\n }\n}, AST_ObjectProperty);\n\nvar AST_PrivateSetter = DEFNODE(\"PrivateSetter\", \"static\", function AST_PrivateSetter(props) {\n if (props) {\n this.static = props.static;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n static: \"[boolean] whether this is a static private setter\"\n },\n $documentation: \"A private setter property\",\n computed_key() {\n return false;\n }\n}, AST_ObjectProperty);\n\nvar AST_PrivateGetter = DEFNODE(\"PrivateGetter\", \"static\", function AST_PrivateGetter(props) {\n if (props) {\n this.static = props.static;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n static: \"[boolean] whether this is a static private getter\"\n },\n $documentation: \"A private getter property\",\n computed_key() {\n return false;\n }\n}, AST_ObjectProperty);\n\nvar AST_ObjectSetter = DEFNODE(\"ObjectSetter\", \"quote static\", function AST_ObjectSetter(props) {\n if (props) {\n this.quote = props.quote;\n this.static = props.static;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n quote: \"[string|undefined] the original quote character, if any\",\n static: \"[boolean] whether this is a static setter (classes only)\"\n },\n $documentation: \"An object setter property\",\n computed_key() {\n return !(this.key instanceof AST_SymbolMethod);\n }\n}, AST_ObjectProperty);\n\nvar AST_ObjectGetter = DEFNODE(\"ObjectGetter\", \"quote static\", function AST_ObjectGetter(props) {\n if (props) {\n this.quote = props.quote;\n this.static = props.static;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n quote: \"[string|undefined] the original quote character, if any\",\n static: \"[boolean] whether this is a static getter (classes only)\"\n },\n $documentation: \"An object getter property\",\n computed_key() {\n return !(this.key instanceof AST_SymbolMethod);\n }\n}, AST_ObjectProperty);\n\nvar AST_ConciseMethod = DEFNODE(\n \"ConciseMethod\",\n \"quote static is_generator async\",\n function AST_ConciseMethod(props) {\n if (props) {\n this.quote = props.quote;\n this.static = props.static;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $propdoc: {\n quote: \"[string|undefined] the original quote character, if any\",\n static: \"[boolean] is this method static (classes only)\",\n is_generator: \"[boolean] is this a generator method\",\n async: \"[boolean] is this method async\",\n },\n $documentation: \"An ES6 concise method inside an object or class\",\n computed_key() {\n return !(this.key instanceof AST_SymbolMethod);\n }\n },\n AST_ObjectProperty\n);\n\nvar AST_PrivateMethod = DEFNODE(\"PrivateMethod\", \"\", function AST_PrivateMethod(props) {\n if (props) {\n this.quote = props.quote;\n this.static = props.static;\n this.is_generator = props.is_generator;\n this.async = props.async;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A private class method inside a class\",\n}, AST_ConciseMethod);\n\nvar AST_Class = DEFNODE(\"Class\", \"name extends properties\", function AST_Class(props) {\n if (props) {\n this.name = props.name;\n this.extends = props.extends;\n this.properties = props.properties;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n name: \"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.\",\n extends: \"[AST_Node]? optional parent class\",\n properties: \"[AST_ObjectProperty*] array of properties\"\n },\n $documentation: \"An ES6 class\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.name) {\n this.name._walk(visitor);\n }\n if (this.extends) {\n this.extends._walk(visitor);\n }\n this.properties.forEach((prop) => prop._walk(visitor));\n });\n },\n _children_backwards(push) {\n let i = this.properties.length;\n while (i--) push(this.properties[i]);\n if (this.extends) push(this.extends);\n if (this.name) push(this.name);\n },\n}, AST_Scope /* TODO a class might have a scope but it's not a scope */);\n\nvar AST_ClassProperty = DEFNODE(\"ClassProperty\", \"static quote\", function AST_ClassProperty(props) {\n if (props) {\n this.static = props.static;\n this.quote = props.quote;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A class property\",\n $propdoc: {\n static: \"[boolean] whether this is a static key\",\n quote: \"[string] which quote is being used\"\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n if (this.key instanceof AST_Node)\n this.key._walk(visitor);\n if (this.value instanceof AST_Node)\n this.value._walk(visitor);\n });\n },\n _children_backwards(push) {\n if (this.value instanceof AST_Node) push(this.value);\n if (this.key instanceof AST_Node) push(this.key);\n },\n computed_key() {\n return !(this.key instanceof AST_SymbolClassProperty);\n }\n}, AST_ObjectProperty);\n\nvar AST_ClassPrivateProperty = DEFNODE(\"ClassPrivateProperty\", \"\", function AST_ClassPrivateProperty(props) {\n if (props) {\n this.static = props.static;\n this.quote = props.quote;\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A class property for a private property\",\n}, AST_ClassProperty);\n\nvar AST_PrivateIn = DEFNODE(\"PrivateIn\", \"key value\", function AST_PrivateIn(props) {\n if (props) {\n this.key = props.key;\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"An `in` binop when the key is private, eg #x in this\",\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n this.key._walk(visitor);\n this.value._walk(visitor);\n });\n },\n _children_backwards(push) {\n push(this.value);\n push(this.key);\n },\n});\n\nvar AST_DefClass = DEFNODE(\"DefClass\", null, function AST_DefClass(props) {\n if (props) {\n this.name = props.name;\n this.extends = props.extends;\n this.properties = props.properties;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A class definition\",\n}, AST_Class);\n\nvar AST_ClassStaticBlock = DEFNODE(\"ClassStaticBlock\", \"body block_scope\", function AST_ClassStaticBlock (props) {\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n}, {\n $documentation: \"A block containing statements to be executed in the context of the class\",\n $propdoc: {\n body: \"[AST_Statement*] an array of statements\",\n },\n _walk: function(visitor) {\n return visitor._visit(this, function() {\n walk_body(this, visitor);\n });\n },\n _children_backwards(push) {\n let i = this.body.length;\n while (i--) push(this.body[i]);\n },\n clone: clone_block_scope,\n}, AST_Scope);\n\nvar AST_ClassExpression = DEFNODE(\"ClassExpression\", null, function AST_ClassExpression(props) {\n if (props) {\n this.name = props.name;\n this.extends = props.extends;\n this.properties = props.properties;\n this.variables = props.variables;\n this.uses_with = props.uses_with;\n this.uses_eval = props.uses_eval;\n this.parent_scope = props.parent_scope;\n this.enclosed = props.enclosed;\n this.cname = props.cname;\n this.body = props.body;\n this.block_scope = props.block_scope;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A class expression.\"\n}, AST_Class);\n\nvar AST_Symbol = DEFNODE(\"Symbol\", \"scope name thedef\", function AST_Symbol(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $propdoc: {\n name: \"[string] name of this symbol\",\n scope: \"[AST_Scope/S] the current scope (not necessarily the definition scope)\",\n thedef: \"[SymbolDef/S] the definition of this symbol\"\n },\n $documentation: \"Base class for all symbols\"\n});\n\nvar AST_NewTarget = DEFNODE(\"NewTarget\", null, function AST_NewTarget(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A reference to new.target\"\n});\n\nvar AST_SymbolDeclaration = DEFNODE(\"SymbolDeclaration\", \"init\", function AST_SymbolDeclaration(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)\",\n}, AST_Symbol);\n\nvar AST_SymbolVar = DEFNODE(\"SymbolVar\", null, function AST_SymbolVar(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol defining a variable\",\n}, AST_SymbolDeclaration);\n\nvar AST_SymbolBlockDeclaration = DEFNODE(\n \"SymbolBlockDeclaration\",\n null,\n function AST_SymbolBlockDeclaration(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n },\n {\n $documentation: \"Base class for block-scoped declaration symbols\"\n },\n AST_SymbolDeclaration\n);\n\nvar AST_SymbolConst = DEFNODE(\"SymbolConst\", null, function AST_SymbolConst(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A constant declaration\"\n}, AST_SymbolBlockDeclaration);\n\nvar AST_SymbolLet = DEFNODE(\"SymbolLet\", null, function AST_SymbolLet(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A block-scoped `let` declaration\"\n}, AST_SymbolBlockDeclaration);\n\nvar AST_SymbolFunarg = DEFNODE(\"SymbolFunarg\", null, function AST_SymbolFunarg(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming a function argument\",\n}, AST_SymbolVar);\n\nvar AST_SymbolDefun = DEFNODE(\"SymbolDefun\", null, function AST_SymbolDefun(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol defining a function\",\n}, AST_SymbolDeclaration);\n\nvar AST_SymbolMethod = DEFNODE(\"SymbolMethod\", null, function AST_SymbolMethod(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol in an object defining a method\",\n}, AST_Symbol);\n\nvar AST_SymbolClassProperty = DEFNODE(\"SymbolClassProperty\", null, function AST_SymbolClassProperty(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol for a class property\",\n}, AST_Symbol);\n\nvar AST_SymbolLambda = DEFNODE(\"SymbolLambda\", null, function AST_SymbolLambda(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming a function expression\",\n}, AST_SymbolDeclaration);\n\nvar AST_SymbolDefClass = DEFNODE(\"SymbolDefClass\", null, function AST_SymbolDefClass(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class.\"\n}, AST_SymbolBlockDeclaration);\n\nvar AST_SymbolClass = DEFNODE(\"SymbolClass\", null, function AST_SymbolClass(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming a class's name. Lexically scoped to the class.\"\n}, AST_SymbolDeclaration);\n\nvar AST_SymbolCatch = DEFNODE(\"SymbolCatch\", null, function AST_SymbolCatch(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming the exception in catch\",\n}, AST_SymbolBlockDeclaration);\n\nvar AST_SymbolImport = DEFNODE(\"SymbolImport\", null, function AST_SymbolImport(props) {\n if (props) {\n this.init = props.init;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol referring to an imported name\",\n}, AST_SymbolBlockDeclaration);\n\nvar AST_SymbolImportForeign = DEFNODE(\"SymbolImportForeign\", null, function AST_SymbolImportForeign(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.quote = props.quote;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes\",\n}, AST_Symbol);\n\nvar AST_Label = DEFNODE(\"Label\", \"references\", function AST_Label(props) {\n if (props) {\n this.references = props.references;\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n this.initialize();\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol naming a label (declaration)\",\n $propdoc: {\n references: \"[AST_LoopControl*] a list of nodes referring to this label\"\n },\n initialize: function() {\n this.references = [];\n this.thedef = this;\n }\n}, AST_Symbol);\n\nvar AST_SymbolRef = DEFNODE(\"SymbolRef\", null, function AST_SymbolRef(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Reference to some symbol (not definition/declaration)\",\n}, AST_Symbol);\n\nvar AST_SymbolExport = DEFNODE(\"SymbolExport\", null, function AST_SymbolExport(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.quote = props.quote;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Symbol referring to a name to export\",\n}, AST_SymbolRef);\n\nvar AST_SymbolExportForeign = DEFNODE(\"SymbolExportForeign\", null, function AST_SymbolExportForeign(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.quote = props.quote;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes\",\n}, AST_Symbol);\n\nvar AST_LabelRef = DEFNODE(\"LabelRef\", null, function AST_LabelRef(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Reference to a label symbol\",\n}, AST_Symbol);\n\nvar AST_SymbolPrivateProperty = DEFNODE(\"SymbolPrivateProperty\", null, function AST_SymbolPrivateProperty(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A symbol that refers to a private property\",\n}, AST_Symbol);\n\nvar AST_This = DEFNODE(\"This\", null, function AST_This(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `this` symbol\",\n}, AST_Symbol);\n\nvar AST_Super = DEFNODE(\"Super\", null, function AST_Super(props) {\n if (props) {\n this.scope = props.scope;\n this.name = props.name;\n this.thedef = props.thedef;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `super` symbol\",\n}, AST_This);\n\nvar AST_Constant = DEFNODE(\"Constant\", null, function AST_Constant(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for all constants\",\n getValue: function() {\n return this.value;\n }\n});\n\nvar AST_String = DEFNODE(\"String\", \"value quote\", function AST_String(props) {\n if (props) {\n this.value = props.value;\n this.quote = props.quote;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A string literal\",\n $propdoc: {\n value: \"[string] the contents of this string\",\n quote: \"[string] the original quote character\"\n }\n}, AST_Constant);\n\nvar AST_Number = DEFNODE(\"Number\", \"value raw\", function AST_Number(props) {\n if (props) {\n this.value = props.value;\n this.raw = props.raw;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A number literal\",\n $propdoc: {\n value: \"[number] the numeric value\",\n raw: \"[string] numeric value as string\"\n }\n}, AST_Constant);\n\nvar AST_BigInt = DEFNODE(\"BigInt\", \"value\", function AST_BigInt(props) {\n if (props) {\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A big int literal\",\n $propdoc: {\n value: \"[string] big int value\"\n }\n}, AST_Constant);\n\nvar AST_RegExp = DEFNODE(\"RegExp\", \"value\", function AST_RegExp(props) {\n if (props) {\n this.value = props.value;\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A regexp literal\",\n $propdoc: {\n value: \"[RegExp] the actual regexp\",\n }\n}, AST_Constant);\n\nvar AST_Atom = DEFNODE(\"Atom\", null, function AST_Atom(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for atoms\",\n}, AST_Constant);\n\nvar AST_Null = DEFNODE(\"Null\", null, function AST_Null(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `null` atom\",\n value: null\n}, AST_Atom);\n\nvar AST_NaN = DEFNODE(\"NaN\", null, function AST_NaN(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The impossible value\",\n value: 0/0\n}, AST_Atom);\n\nvar AST_Undefined = DEFNODE(\"Undefined\", null, function AST_Undefined(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `undefined` value\",\n value: (function() {}())\n}, AST_Atom);\n\nvar AST_Hole = DEFNODE(\"Hole\", null, function AST_Hole(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"A hole in an array\",\n value: (function() {}())\n}, AST_Atom);\n\nvar AST_Infinity = DEFNODE(\"Infinity\", null, function AST_Infinity(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `Infinity` value\",\n value: 1/0\n}, AST_Atom);\n\nvar AST_Boolean = DEFNODE(\"Boolean\", null, function AST_Boolean(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"Base class for booleans\",\n}, AST_Atom);\n\nvar AST_False = DEFNODE(\"False\", null, function AST_False(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `false` atom\",\n value: false\n}, AST_Boolean);\n\nvar AST_True = DEFNODE(\"True\", null, function AST_True(props) {\n if (props) {\n this.start = props.start;\n this.end = props.end;\n }\n\n this.flags = 0;\n}, {\n $documentation: \"The `true` atom\",\n value: true\n}, AST_Boolean);\n\n/* -----[ Walk function ]---- */\n\n/**\n * Walk nodes in depth-first search fashion.\n * Callback can return `walk_abort` symbol to stop iteration.\n * It can also return `true` to stop iteration just for child nodes.\n * Iteration can be stopped and continued by passing the `to_visit` argument,\n * which is given to the callback in the second argument.\n **/\nfunction walk(node, cb, to_visit = [node]) {\n const push = to_visit.push.bind(to_visit);\n while (to_visit.length) {\n const node = to_visit.pop();\n const ret = cb(node, to_visit);\n\n if (ret) {\n if (ret === walk_abort) return true;\n continue;\n }\n\n node._children_backwards(push);\n }\n return false;\n}\n\n/**\n * Walks an AST node and its children.\n *\n * {cb} can return `walk_abort` to interrupt the walk.\n *\n * @param node\n * @param cb {(node, info: { parent: (nth) => any }) => (boolean | undefined)}\n *\n * @returns {boolean} whether the walk was aborted\n *\n * @example\n * const found_some_cond = walk_parent(my_ast_node, (node, { parent }) => {\n * if (some_cond(node, parent())) return walk_abort\n * });\n */\nfunction walk_parent(node, cb, initial_stack) {\n const to_visit = [node];\n const push = to_visit.push.bind(to_visit);\n const stack = initial_stack ? initial_stack.slice() : [];\n const parent_pop_indices = [];\n\n let current;\n\n const info = {\n parent: (n = 0) => {\n if (n === -1) {\n return current;\n }\n\n // [ p1 p0 ] [ 1 0 ]\n if (initial_stack && n >= stack.length) {\n n -= stack.length;\n return initial_stack[\n initial_stack.length - (n + 1)\n ];\n }\n\n return stack[stack.length - (1 + n)];\n },\n };\n\n while (to_visit.length) {\n current = to_visit.pop();\n\n while (\n parent_pop_indices.length &&\n to_visit.length == parent_pop_indices[parent_pop_indices.length - 1]\n ) {\n stack.pop();\n parent_pop_indices.pop();\n }\n\n const ret = cb(current, info);\n\n if (ret) {\n if (ret === walk_abort) return true;\n continue;\n }\n\n const visit_length = to_visit.length;\n\n current._children_backwards(push);\n\n // Push only if we're going to traverse the children\n if (to_visit.length > visit_length) {\n stack.push(current);\n parent_pop_indices.push(visit_length - 1);\n }\n }\n\n return false;\n}\n\nconst walk_abort = Symbol(\"abort walk\");\n\n/* -----[ TreeWalker ]----- */\n\nclass TreeWalker {\n constructor(callback) {\n this.visit = callback;\n this.stack = [];\n this.directives = Object.create(null);\n }\n\n _visit(node, descend) {\n this.push(node);\n var ret = this.visit(node, descend ? function() {\n descend.call(node);\n } : noop);\n if (!ret && descend) {\n descend.call(node);\n }\n this.pop();\n return ret;\n }\n\n parent(n) {\n return this.stack[this.stack.length - 2 - (n || 0)];\n }\n\n push(node) {\n if (node instanceof AST_Lambda) {\n this.directives = Object.create(this.directives);\n } else if (node instanceof AST_Directive && !this.directives[node.value]) {\n this.directives[node.value] = node;\n } else if (node instanceof AST_Class) {\n this.directives = Object.create(this.directives);\n if (!this.directives[\"use strict\"]) {\n this.directives[\"use strict\"] = node;\n }\n }\n this.stack.push(node);\n }\n\n pop() {\n var node = this.stack.pop();\n if (node instanceof AST_Lambda || node instanceof AST_Class) {\n this.directives = Object.getPrototypeOf(this.directives);\n }\n }\n\n self() {\n return this.stack[this.stack.length - 1];\n }\n\n find_parent(type) {\n var stack = this.stack;\n for (var i = stack.length; --i >= 0;) {\n var x = stack[i];\n if (x instanceof type) return x;\n }\n }\n\n find_scope() {\n var stack = this.stack;\n for (var i = stack.length; --i >= 0;) {\n const p = stack[i];\n if (p instanceof AST_Toplevel) return p;\n if (p instanceof AST_Lambda) return p;\n if (p.block_scope) return p.block_scope;\n }\n }\n\n has_directive(type) {\n var dir = this.directives[type];\n if (dir) return dir;\n var node = this.stack[this.stack.length - 1];\n if (node instanceof AST_Scope && node.body) {\n for (var i = 0; i < node.body.length; ++i) {\n var st = node.body[i];\n if (!(st instanceof AST_Directive)) break;\n if (st.value == type) return st;\n }\n }\n }\n\n loopcontrol_target(node) {\n var stack = this.stack;\n if (node.label) for (var i = stack.length; --i >= 0;) {\n var x = stack[i];\n if (x instanceof AST_LabeledStatement && x.label.name == node.label.name)\n return x.body;\n } else for (var i = stack.length; --i >= 0;) {\n var x = stack[i];\n if (x instanceof AST_IterationStatement\n || node instanceof AST_Break && x instanceof AST_Switch)\n return x;\n }\n }\n}\n\n// Tree transformer helpers.\nclass TreeTransformer extends TreeWalker {\n constructor(before, after) {\n super();\n this.before = before;\n this.after = after;\n }\n}\n\nconst _PURE = 0b00000001;\nconst _INLINE = 0b00000010;\nconst _NOINLINE = 0b00000100;\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction def_transform(node, descend) {\n node.DEFMETHOD(\"transform\", function(tw, in_list) {\n let transformed = undefined;\n tw.push(this);\n if (tw.before) transformed = tw.before(this, descend, in_list);\n if (transformed === undefined) {\n transformed = this;\n descend(transformed, tw);\n if (tw.after) {\n const after_ret = tw.after(transformed, in_list);\n if (after_ret !== undefined) transformed = after_ret;\n }\n }\n tw.pop();\n return transformed;\n });\n}\n\nfunction do_list(list, tw) {\n return MAP(list, function(node) {\n return node.transform(tw, true);\n });\n}\n\ndef_transform(AST_Node, noop);\n\ndef_transform(AST_LabeledStatement, function(self, tw) {\n self.label = self.label.transform(tw);\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_SimpleStatement, function(self, tw) {\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_Block, function(self, tw) {\n self.body = do_list(self.body, tw);\n});\n\ndef_transform(AST_Do, function(self, tw) {\n self.body = self.body.transform(tw);\n self.condition = self.condition.transform(tw);\n});\n\ndef_transform(AST_While, function(self, tw) {\n self.condition = self.condition.transform(tw);\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_For, function(self, tw) {\n if (self.init) self.init = self.init.transform(tw);\n if (self.condition) self.condition = self.condition.transform(tw);\n if (self.step) self.step = self.step.transform(tw);\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_ForIn, function(self, tw) {\n self.init = self.init.transform(tw);\n self.object = self.object.transform(tw);\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_With, function(self, tw) {\n self.expression = self.expression.transform(tw);\n self.body = self.body.transform(tw);\n});\n\ndef_transform(AST_Exit, function(self, tw) {\n if (self.value) self.value = self.value.transform(tw);\n});\n\ndef_transform(AST_LoopControl, function(self, tw) {\n if (self.label) self.label = self.label.transform(tw);\n});\n\ndef_transform(AST_If, function(self, tw) {\n self.condition = self.condition.transform(tw);\n self.body = self.body.transform(tw);\n if (self.alternative) self.alternative = self.alternative.transform(tw);\n});\n\ndef_transform(AST_Switch, function(self, tw) {\n self.expression = self.expression.transform(tw);\n self.body = do_list(self.body, tw);\n});\n\ndef_transform(AST_Case, function(self, tw) {\n self.expression = self.expression.transform(tw);\n self.body = do_list(self.body, tw);\n});\n\ndef_transform(AST_Try, function(self, tw) {\n self.body = do_list(self.body, tw);\n if (self.bcatch) self.bcatch = self.bcatch.transform(tw);\n if (self.bfinally) self.bfinally = self.bfinally.transform(tw);\n});\n\ndef_transform(AST_Catch, function(self, tw) {\n if (self.argname) self.argname = self.argname.transform(tw);\n self.body = do_list(self.body, tw);\n});\n\ndef_transform(AST_Definitions, function(self, tw) {\n self.definitions = do_list(self.definitions, tw);\n});\n\ndef_transform(AST_VarDef, function(self, tw) {\n self.name = self.name.transform(tw);\n if (self.value) self.value = self.value.transform(tw);\n});\n\ndef_transform(AST_Destructuring, function(self, tw) {\n self.names = do_list(self.names, tw);\n});\n\ndef_transform(AST_Lambda, function(self, tw) {\n if (self.name) self.name = self.name.transform(tw);\n self.argnames = do_list(self.argnames, tw);\n if (self.body instanceof AST_Node) {\n self.body = self.body.transform(tw);\n } else {\n self.body = do_list(self.body, tw);\n }\n});\n\ndef_transform(AST_Call, function(self, tw) {\n self.expression = self.expression.transform(tw);\n self.args = do_list(self.args, tw);\n});\n\ndef_transform(AST_Sequence, function(self, tw) {\n const result = do_list(self.expressions, tw);\n self.expressions = result.length\n ? result\n : [new AST_Number({ value: 0 })];\n});\n\ndef_transform(AST_PropAccess, function(self, tw) {\n self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_Sub, function(self, tw) {\n self.expression = self.expression.transform(tw);\n self.property = self.property.transform(tw);\n});\n\ndef_transform(AST_Chain, function(self, tw) {\n self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_Yield, function(self, tw) {\n if (self.expression) self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_Await, function(self, tw) {\n self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_Unary, function(self, tw) {\n self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_Binary, function(self, tw) {\n self.left = self.left.transform(tw);\n self.right = self.right.transform(tw);\n});\n\ndef_transform(AST_PrivateIn, function(self, tw) {\n self.key = self.key.transform(tw);\n self.value = self.value.transform(tw);\n});\n\ndef_transform(AST_Conditional, function(self, tw) {\n self.condition = self.condition.transform(tw);\n self.consequent = self.consequent.transform(tw);\n self.alternative = self.alternative.transform(tw);\n});\n\ndef_transform(AST_Array, function(self, tw) {\n self.elements = do_list(self.elements, tw);\n});\n\ndef_transform(AST_Object, function(self, tw) {\n self.properties = do_list(self.properties, tw);\n});\n\ndef_transform(AST_ObjectProperty, function(self, tw) {\n if (self.key instanceof AST_Node) {\n self.key = self.key.transform(tw);\n }\n if (self.value) self.value = self.value.transform(tw);\n});\n\ndef_transform(AST_Class, function(self, tw) {\n if (self.name) self.name = self.name.transform(tw);\n if (self.extends) self.extends = self.extends.transform(tw);\n self.properties = do_list(self.properties, tw);\n});\n\ndef_transform(AST_ClassStaticBlock, function(self, tw) {\n self.body = do_list(self.body, tw);\n});\n\ndef_transform(AST_Expansion, function(self, tw) {\n self.expression = self.expression.transform(tw);\n});\n\ndef_transform(AST_NameMapping, function(self, tw) {\n self.foreign_name = self.foreign_name.transform(tw);\n self.name = self.name.transform(tw);\n});\n\ndef_transform(AST_Import, function(self, tw) {\n if (self.imported_name) self.imported_name = self.imported_name.transform(tw);\n if (self.imported_names) do_list(self.imported_names, tw);\n self.module_name = self.module_name.transform(tw);\n});\n\ndef_transform(AST_Export, function(self, tw) {\n if (self.exported_definition) self.exported_definition = self.exported_definition.transform(tw);\n if (self.exported_value) self.exported_value = self.exported_value.transform(tw);\n if (self.exported_names) do_list(self.exported_names, tw);\n if (self.module_name) self.module_name = self.module_name.transform(tw);\n});\n\ndef_transform(AST_TemplateString, function(self, tw) {\n self.segments = do_list(self.segments, tw);\n});\n\ndef_transform(AST_PrefixedTemplateString, function(self, tw) {\n self.prefix = self.prefix.transform(tw);\n self.template_string = self.template_string.transform(tw);\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n(function() {\n\n var normalize_directives = function(body) {\n var in_directive = true;\n\n for (var i = 0; i < body.length; i++) {\n if (in_directive && body[i] instanceof AST_Statement && body[i].body instanceof AST_String) {\n body[i] = new AST_Directive({\n start: body[i].start,\n end: body[i].end,\n value: body[i].body.value\n });\n } else if (in_directive && !(body[i] instanceof AST_Statement && body[i].body instanceof AST_String)) {\n in_directive = false;\n }\n }\n\n return body;\n };\n\n const assert_clause_from_moz = (assertions) => {\n if (assertions && assertions.length > 0) {\n return new AST_Object({\n start: my_start_token(assertions),\n end: my_end_token(assertions),\n properties: assertions.map((assertion_kv) =>\n new AST_ObjectKeyVal({\n start: my_start_token(assertion_kv),\n end: my_end_token(assertion_kv),\n key: assertion_kv.key.name || assertion_kv.key.value,\n value: from_moz(assertion_kv.value)\n })\n )\n });\n }\n return null;\n };\n\n var MOZ_TO_ME = {\n Program: function(M) {\n return new AST_Toplevel({\n start: my_start_token(M),\n end: my_end_token(M),\n body: normalize_directives(M.body.map(from_moz))\n });\n },\n\n ArrayPattern: function(M) {\n return new AST_Destructuring({\n start: my_start_token(M),\n end: my_end_token(M),\n names: M.elements.map(function(elm) {\n if (elm === null) {\n return new AST_Hole();\n }\n return from_moz(elm);\n }),\n is_array: true\n });\n },\n\n ObjectPattern: function(M) {\n return new AST_Destructuring({\n start: my_start_token(M),\n end: my_end_token(M),\n names: M.properties.map(from_moz),\n is_array: false\n });\n },\n\n AssignmentPattern: function(M) {\n return new AST_DefaultAssign({\n start: my_start_token(M),\n end: my_end_token(M),\n left: from_moz(M.left),\n operator: \"=\",\n right: from_moz(M.right)\n });\n },\n\n SpreadElement: function(M) {\n return new AST_Expansion({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.argument)\n });\n },\n\n RestElement: function(M) {\n return new AST_Expansion({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.argument)\n });\n },\n\n TemplateElement: function(M) {\n return new AST_TemplateSegment({\n start: my_start_token(M),\n end: my_end_token(M),\n value: M.value.cooked,\n raw: M.value.raw\n });\n },\n\n TemplateLiteral: function(M) {\n var segments = [];\n for (var i = 0; i < M.quasis.length; i++) {\n segments.push(from_moz(M.quasis[i]));\n if (M.expressions[i]) {\n segments.push(from_moz(M.expressions[i]));\n }\n }\n return new AST_TemplateString({\n start: my_start_token(M),\n end: my_end_token(M),\n segments: segments\n });\n },\n\n TaggedTemplateExpression: function(M) {\n return new AST_PrefixedTemplateString({\n start: my_start_token(M),\n end: my_end_token(M),\n template_string: from_moz(M.quasi),\n prefix: from_moz(M.tag)\n });\n },\n\n FunctionDeclaration: function(M) {\n return new AST_Defun({\n start: my_start_token(M),\n end: my_end_token(M),\n name: from_moz(M.id),\n argnames: M.params.map(from_moz),\n is_generator: M.generator,\n async: M.async,\n body: normalize_directives(from_moz(M.body).body)\n });\n },\n\n FunctionExpression: function(M) {\n return new AST_Function({\n start: my_start_token(M),\n end: my_end_token(M),\n name: from_moz(M.id),\n argnames: M.params.map(from_moz),\n is_generator: M.generator,\n async: M.async,\n body: normalize_directives(from_moz(M.body).body)\n });\n },\n\n ArrowFunctionExpression: function(M) {\n const body = M.body.type === \"BlockStatement\"\n ? from_moz(M.body).body\n : [make_node(AST_Return, {}, { value: from_moz(M.body) })];\n return new AST_Arrow({\n start: my_start_token(M),\n end: my_end_token(M),\n argnames: M.params.map(from_moz),\n body,\n async: M.async,\n });\n },\n\n ExpressionStatement: function(M) {\n return new AST_SimpleStatement({\n start: my_start_token(M),\n end: my_end_token(M),\n body: from_moz(M.expression)\n });\n },\n\n TryStatement: function(M) {\n var handlers = M.handlers || [M.handler];\n if (handlers.length > 1 || M.guardedHandlers && M.guardedHandlers.length) {\n throw new Error(\"Multiple catch clauses are not supported.\");\n }\n return new AST_Try({\n start : my_start_token(M),\n end : my_end_token(M),\n body : from_moz(M.block).body,\n bcatch : from_moz(handlers[0]),\n bfinally : M.finalizer ? new AST_Finally(from_moz(M.finalizer)) : null\n });\n },\n\n Property: function(M) {\n var key = M.key;\n var args = {\n start : my_start_token(key || M.value),\n end : my_end_token(M.value),\n key : key.type == \"Identifier\" ? key.name : key.value,\n value : from_moz(M.value)\n };\n if (M.computed) {\n args.key = from_moz(M.key);\n }\n if (M.method) {\n args.is_generator = M.value.generator;\n args.async = M.value.async;\n if (!M.computed) {\n args.key = new AST_SymbolMethod({ name: args.key });\n } else {\n args.key = from_moz(M.key);\n }\n return new AST_ConciseMethod(args);\n }\n if (M.kind == \"init\") {\n if (key.type != \"Identifier\" && key.type != \"Literal\") {\n args.key = from_moz(key);\n }\n return new AST_ObjectKeyVal(args);\n }\n if (typeof args.key === \"string\" || typeof args.key === \"number\") {\n args.key = new AST_SymbolMethod({\n name: args.key\n });\n }\n args.value = new AST_Accessor(args.value);\n if (M.kind == \"get\") return new AST_ObjectGetter(args);\n if (M.kind == \"set\") return new AST_ObjectSetter(args);\n if (M.kind == \"method\") {\n args.async = M.value.async;\n args.is_generator = M.value.generator;\n args.quote = M.computed ? \"\\\"\" : null;\n return new AST_ConciseMethod(args);\n }\n },\n\n MethodDefinition: function(M) {\n var args = {\n start : my_start_token(M),\n end : my_end_token(M),\n key : M.computed ? from_moz(M.key) : new AST_SymbolMethod({ name: M.key.name || M.key.value }),\n value : from_moz(M.value),\n static : M.static,\n };\n if (M.kind == \"get\") {\n return new AST_ObjectGetter(args);\n }\n if (M.kind == \"set\") {\n return new AST_ObjectSetter(args);\n }\n args.is_generator = M.value.generator;\n args.async = M.value.async;\n return new AST_ConciseMethod(args);\n },\n\n FieldDefinition: function(M) {\n let key;\n if (M.computed) {\n key = from_moz(M.key);\n } else {\n if (M.key.type !== \"Identifier\") throw new Error(\"Non-Identifier key in FieldDefinition\");\n key = from_moz(M.key);\n }\n return new AST_ClassProperty({\n start : my_start_token(M),\n end : my_end_token(M),\n key,\n value : from_moz(M.value),\n static : M.static,\n });\n },\n\n PropertyDefinition: function(M) {\n let key;\n if (M.computed) {\n key = from_moz(M.key);\n } else {\n if (M.key.type !== \"Identifier\" && M.key.type !== \"PrivateIdentifier\") {\n throw new Error(\"Non-Identifier key in PropertyDefinition\");\n }\n key = from_moz(M.key);\n }\n\n return new AST_ClassProperty({\n start : my_start_token(M),\n end : my_end_token(M),\n key,\n value : from_moz(M.value),\n static : M.static,\n });\n },\n\n StaticBlock: function(M) {\n return new AST_ClassStaticBlock({\n start : my_start_token(M),\n end : my_end_token(M),\n body : M.body.map(from_moz),\n });\n },\n\n ArrayExpression: function(M) {\n return new AST_Array({\n start : my_start_token(M),\n end : my_end_token(M),\n elements : M.elements.map(function(elem) {\n return elem === null ? new AST_Hole() : from_moz(elem);\n })\n });\n },\n\n ObjectExpression: function(M) {\n return new AST_Object({\n start : my_start_token(M),\n end : my_end_token(M),\n properties : M.properties.map(function(prop) {\n if (prop.type === \"SpreadElement\") {\n return from_moz(prop);\n }\n prop.type = \"Property\";\n return from_moz(prop);\n })\n });\n },\n\n SequenceExpression: function(M) {\n return new AST_Sequence({\n start : my_start_token(M),\n end : my_end_token(M),\n expressions: M.expressions.map(from_moz)\n });\n },\n\n MemberExpression: function(M) {\n return new (M.computed ? AST_Sub : AST_Dot)({\n start : my_start_token(M),\n end : my_end_token(M),\n property : M.computed ? from_moz(M.property) : M.property.name,\n expression : from_moz(M.object),\n optional : M.optional || false\n });\n },\n\n ChainExpression: function(M) {\n return new AST_Chain({\n start : my_start_token(M),\n end : my_end_token(M),\n expression : from_moz(M.expression)\n });\n },\n\n SwitchCase: function(M) {\n return new (M.test ? AST_Case : AST_Default)({\n start : my_start_token(M),\n end : my_end_token(M),\n expression : from_moz(M.test),\n body : M.consequent.map(from_moz)\n });\n },\n\n VariableDeclaration: function(M) {\n return new (M.kind === \"const\" ? AST_Const :\n M.kind === \"let\" ? AST_Let : AST_Var)({\n start : my_start_token(M),\n end : my_end_token(M),\n definitions : M.declarations.map(from_moz)\n });\n },\n\n ImportDeclaration: function(M) {\n var imported_name = null;\n var imported_names = null;\n M.specifiers.forEach(function (specifier) {\n if (specifier.type === \"ImportSpecifier\" || specifier.type === \"ImportNamespaceSpecifier\") {\n if (!imported_names) { imported_names = []; }\n imported_names.push(from_moz(specifier));\n } else if (specifier.type === \"ImportDefaultSpecifier\") {\n imported_name = from_moz(specifier);\n }\n });\n return new AST_Import({\n start : my_start_token(M),\n end : my_end_token(M),\n imported_name: imported_name,\n imported_names : imported_names,\n module_name : from_moz(M.source),\n assert_clause: assert_clause_from_moz(M.assertions)\n });\n },\n\n ImportSpecifier: function(M) {\n return new AST_NameMapping({\n start: my_start_token(M),\n end: my_end_token(M),\n foreign_name: from_moz(M.imported),\n name: from_moz(M.local)\n });\n },\n\n ImportDefaultSpecifier: function(M) {\n return from_moz(M.local);\n },\n\n ImportNamespaceSpecifier: function(M) {\n return new AST_NameMapping({\n start: my_start_token(M),\n end: my_end_token(M),\n foreign_name: new AST_SymbolImportForeign({ name: \"*\" }),\n name: from_moz(M.local)\n });\n },\n\n ExportAllDeclaration: function(M) {\n var foreign_name = M.exported == null ? \n new AST_SymbolExportForeign({ name: \"*\" }) :\n from_moz(M.exported);\n return new AST_Export({\n start: my_start_token(M),\n end: my_end_token(M),\n exported_names: [\n new AST_NameMapping({\n name: new AST_SymbolExportForeign({ name: \"*\" }),\n foreign_name: foreign_name\n })\n ],\n module_name: from_moz(M.source),\n assert_clause: assert_clause_from_moz(M.assertions)\n });\n },\n\n ExportNamedDeclaration: function(M) {\n return new AST_Export({\n start: my_start_token(M),\n end: my_end_token(M),\n exported_definition: from_moz(M.declaration),\n exported_names: M.specifiers && M.specifiers.length ? M.specifiers.map(function (specifier) {\n return from_moz(specifier);\n }) : null,\n module_name: from_moz(M.source),\n assert_clause: assert_clause_from_moz(M.assertions)\n });\n },\n\n ExportDefaultDeclaration: function(M) {\n return new AST_Export({\n start: my_start_token(M),\n end: my_end_token(M),\n exported_value: from_moz(M.declaration),\n is_default: true\n });\n },\n\n ExportSpecifier: function(M) {\n return new AST_NameMapping({\n foreign_name: from_moz(M.exported),\n name: from_moz(M.local)\n });\n },\n\n Literal: function(M) {\n var val = M.value, args = {\n start : my_start_token(M),\n end : my_end_token(M)\n };\n var rx = M.regex;\n if (rx && rx.pattern) {\n // RegExpLiteral as per ESTree AST spec\n args.value = {\n source: rx.pattern,\n flags: rx.flags\n };\n return new AST_RegExp(args);\n } else if (rx) {\n // support legacy RegExp\n const rx_source = M.raw || val;\n const match = rx_source.match(/^\\/(.*)\\/(\\w*)$/);\n if (!match) throw new Error(\"Invalid regex source \" + rx_source);\n const [_, source, flags] = match;\n args.value = { source, flags };\n return new AST_RegExp(args);\n }\n if (val === null) return new AST_Null(args);\n switch (typeof val) {\n case \"string\":\n args.quote = \"\\\"\";\n var p = FROM_MOZ_STACK[FROM_MOZ_STACK.length - 2];\n if (p.type == \"ImportSpecifier\") {\n args.name = val;\n return new AST_SymbolImportForeign(args);\n } else if (p.type == \"ExportSpecifier\") {\n args.name = val;\n if (M == p.exported) {\n return new AST_SymbolExportForeign(args);\n } else {\n return new AST_SymbolExport(args);\n }\n } else if (p.type == \"ExportAllDeclaration\" && M == p.exported) {\n args.name = val;\n return new AST_SymbolExportForeign(args);\n }\n args.value = val;\n return new AST_String(args);\n case \"number\":\n args.value = val;\n args.raw = M.raw || val.toString();\n return new AST_Number(args);\n case \"boolean\":\n return new (val ? AST_True : AST_False)(args);\n }\n },\n\n MetaProperty: function(M) {\n if (M.meta.name === \"new\" && M.property.name === \"target\") {\n return new AST_NewTarget({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n } else if (M.meta.name === \"import\" && M.property.name === \"meta\") {\n return new AST_ImportMeta({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n }\n },\n\n Identifier: function(M) {\n var p = FROM_MOZ_STACK[FROM_MOZ_STACK.length - 2];\n return new ( p.type == \"LabeledStatement\" ? AST_Label\n : p.type == \"VariableDeclarator\" && p.id === M ? (p.kind == \"const\" ? AST_SymbolConst : p.kind == \"let\" ? AST_SymbolLet : AST_SymbolVar)\n : /Import.*Specifier/.test(p.type) ? (p.local === M ? AST_SymbolImport : AST_SymbolImportForeign)\n : p.type == \"ExportSpecifier\" ? (p.local === M ? AST_SymbolExport : AST_SymbolExportForeign)\n : p.type == \"FunctionExpression\" ? (p.id === M ? AST_SymbolLambda : AST_SymbolFunarg)\n : p.type == \"FunctionDeclaration\" ? (p.id === M ? AST_SymbolDefun : AST_SymbolFunarg)\n : p.type == \"ArrowFunctionExpression\" ? (p.params.includes(M)) ? AST_SymbolFunarg : AST_SymbolRef\n : p.type == \"ClassExpression\" ? (p.id === M ? AST_SymbolClass : AST_SymbolRef)\n : p.type == \"Property\" ? (p.key === M && p.computed || p.value === M ? AST_SymbolRef : AST_SymbolMethod)\n : p.type == \"PropertyDefinition\" || p.type === \"FieldDefinition\" ? (p.key === M && p.computed || p.value === M ? AST_SymbolRef : AST_SymbolClassProperty)\n : p.type == \"ClassDeclaration\" ? (p.id === M ? AST_SymbolDefClass : AST_SymbolRef)\n : p.type == \"MethodDefinition\" ? (p.computed ? AST_SymbolRef : AST_SymbolMethod)\n : p.type == \"CatchClause\" ? AST_SymbolCatch\n : p.type == \"BreakStatement\" || p.type == \"ContinueStatement\" ? AST_LabelRef\n : AST_SymbolRef)({\n start : my_start_token(M),\n end : my_end_token(M),\n name : M.name\n });\n },\n\n BigIntLiteral(M) {\n return new AST_BigInt({\n start : my_start_token(M),\n end : my_end_token(M),\n value : M.value\n });\n },\n\n EmptyStatement: function(M) {\n return new AST_EmptyStatement({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n },\n\n BlockStatement: function(M) {\n return new AST_BlockStatement({\n start: my_start_token(M),\n end: my_end_token(M),\n body: M.body.map(from_moz)\n });\n },\n\n IfStatement: function(M) {\n return new AST_If({\n start: my_start_token(M),\n end: my_end_token(M),\n condition: from_moz(M.test),\n body: from_moz(M.consequent),\n alternative: from_moz(M.alternate)\n });\n },\n\n LabeledStatement: function(M) {\n return new AST_LabeledStatement({\n start: my_start_token(M),\n end: my_end_token(M),\n label: from_moz(M.label),\n body: from_moz(M.body)\n });\n },\n\n BreakStatement: function(M) {\n return new AST_Break({\n start: my_start_token(M),\n end: my_end_token(M),\n label: from_moz(M.label)\n });\n },\n\n ContinueStatement: function(M) {\n return new AST_Continue({\n start: my_start_token(M),\n end: my_end_token(M),\n label: from_moz(M.label)\n });\n },\n\n WithStatement: function(M) {\n return new AST_With({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.object),\n body: from_moz(M.body)\n });\n },\n\n SwitchStatement: function(M) {\n return new AST_Switch({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.discriminant),\n body: M.cases.map(from_moz)\n });\n },\n\n ReturnStatement: function(M) {\n return new AST_Return({\n start: my_start_token(M),\n end: my_end_token(M),\n value: from_moz(M.argument)\n });\n },\n\n ThrowStatement: function(M) {\n return new AST_Throw({\n start: my_start_token(M),\n end: my_end_token(M),\n value: from_moz(M.argument)\n });\n },\n\n WhileStatement: function(M) {\n return new AST_While({\n start: my_start_token(M),\n end: my_end_token(M),\n condition: from_moz(M.test),\n body: from_moz(M.body)\n });\n },\n\n DoWhileStatement: function(M) {\n return new AST_Do({\n start: my_start_token(M),\n end: my_end_token(M),\n condition: from_moz(M.test),\n body: from_moz(M.body)\n });\n },\n\n ForStatement: function(M) {\n return new AST_For({\n start: my_start_token(M),\n end: my_end_token(M),\n init: from_moz(M.init),\n condition: from_moz(M.test),\n step: from_moz(M.update),\n body: from_moz(M.body)\n });\n },\n\n ForInStatement: function(M) {\n return new AST_ForIn({\n start: my_start_token(M),\n end: my_end_token(M),\n init: from_moz(M.left),\n object: from_moz(M.right),\n body: from_moz(M.body)\n });\n },\n\n ForOfStatement: function(M) {\n return new AST_ForOf({\n start: my_start_token(M),\n end: my_end_token(M),\n init: from_moz(M.left),\n object: from_moz(M.right),\n body: from_moz(M.body),\n await: M.await\n });\n },\n\n AwaitExpression: function(M) {\n return new AST_Await({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.argument)\n });\n },\n\n YieldExpression: function(M) {\n return new AST_Yield({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.argument),\n is_star: M.delegate\n });\n },\n\n DebuggerStatement: function(M) {\n return new AST_Debugger({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n },\n\n VariableDeclarator: function(M) {\n return new AST_VarDef({\n start: my_start_token(M),\n end: my_end_token(M),\n name: from_moz(M.id),\n value: from_moz(M.init)\n });\n },\n\n CatchClause: function(M) {\n return new AST_Catch({\n start: my_start_token(M),\n end: my_end_token(M),\n argname: from_moz(M.param),\n body: from_moz(M.body).body\n });\n },\n\n ThisExpression: function(M) {\n return new AST_This({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n },\n\n Super: function(M) {\n return new AST_Super({\n start: my_start_token(M),\n end: my_end_token(M)\n });\n },\n\n BinaryExpression: function(M) {\n if (M.left.type === \"PrivateIdentifier\") {\n return new AST_PrivateIn({\n start: my_start_token(M),\n end: my_end_token(M),\n key: new AST_SymbolPrivateProperty({\n start: my_start_token(M.left),\n end: my_end_token(M.left),\n name: M.left.name\n }),\n value: from_moz(M.right),\n });\n }\n return new AST_Binary({\n start: my_start_token(M),\n end: my_end_token(M),\n operator: M.operator,\n left: from_moz(M.left),\n right: from_moz(M.right)\n });\n },\n\n LogicalExpression: function(M) {\n return new AST_Binary({\n start: my_start_token(M),\n end: my_end_token(M),\n operator: M.operator,\n left: from_moz(M.left),\n right: from_moz(M.right)\n });\n },\n\n AssignmentExpression: function(M) {\n return new AST_Assign({\n start: my_start_token(M),\n end: my_end_token(M),\n operator: M.operator,\n left: from_moz(M.left),\n right: from_moz(M.right)\n });\n },\n\n ConditionalExpression: function(M) {\n return new AST_Conditional({\n start: my_start_token(M),\n end: my_end_token(M),\n condition: from_moz(M.test),\n consequent: from_moz(M.consequent),\n alternative: from_moz(M.alternate)\n });\n },\n\n NewExpression: function(M) {\n return new AST_New({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.callee),\n args: M.arguments.map(from_moz)\n });\n },\n\n CallExpression: function(M) {\n return new AST_Call({\n start: my_start_token(M),\n end: my_end_token(M),\n expression: from_moz(M.callee),\n optional: M.optional,\n args: M.arguments.map(from_moz)\n });\n }\n };\n\n MOZ_TO_ME.UpdateExpression =\n MOZ_TO_ME.UnaryExpression = function To_Moz_Unary(M) {\n var prefix = \"prefix\" in M ? M.prefix\n : M.type == \"UnaryExpression\" ? true : false;\n return new (prefix ? AST_UnaryPrefix : AST_UnaryPostfix)({\n start : my_start_token(M),\n end : my_end_token(M),\n operator : M.operator,\n expression : from_moz(M.argument)\n });\n };\n\n MOZ_TO_ME.ClassDeclaration =\n MOZ_TO_ME.ClassExpression = function From_Moz_Class(M) {\n return new (M.type === \"ClassDeclaration\" ? AST_DefClass : AST_ClassExpression)({\n start : my_start_token(M),\n end : my_end_token(M),\n name : from_moz(M.id),\n extends : from_moz(M.superClass),\n properties: M.body.body.map(from_moz)\n });\n };\n\n def_to_moz(AST_EmptyStatement, function To_Moz_EmptyStatement() {\n return {\n type: \"EmptyStatement\"\n };\n });\n def_to_moz(AST_BlockStatement, function To_Moz_BlockStatement(M) {\n return {\n type: \"BlockStatement\",\n body: M.body.map(to_moz)\n };\n });\n def_to_moz(AST_If, function To_Moz_IfStatement(M) {\n return {\n type: \"IfStatement\",\n test: to_moz(M.condition),\n consequent: to_moz(M.body),\n alternate: to_moz(M.alternative)\n };\n });\n def_to_moz(AST_LabeledStatement, function To_Moz_LabeledStatement(M) {\n return {\n type: \"LabeledStatement\",\n label: to_moz(M.label),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_Break, function To_Moz_BreakStatement(M) {\n return {\n type: \"BreakStatement\",\n label: to_moz(M.label)\n };\n });\n def_to_moz(AST_Continue, function To_Moz_ContinueStatement(M) {\n return {\n type: \"ContinueStatement\",\n label: to_moz(M.label)\n };\n });\n def_to_moz(AST_With, function To_Moz_WithStatement(M) {\n return {\n type: \"WithStatement\",\n object: to_moz(M.expression),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_Switch, function To_Moz_SwitchStatement(M) {\n return {\n type: \"SwitchStatement\",\n discriminant: to_moz(M.expression),\n cases: M.body.map(to_moz)\n };\n });\n def_to_moz(AST_Return, function To_Moz_ReturnStatement(M) {\n return {\n type: \"ReturnStatement\",\n argument: to_moz(M.value)\n };\n });\n def_to_moz(AST_Throw, function To_Moz_ThrowStatement(M) {\n return {\n type: \"ThrowStatement\",\n argument: to_moz(M.value)\n };\n });\n def_to_moz(AST_While, function To_Moz_WhileStatement(M) {\n return {\n type: \"WhileStatement\",\n test: to_moz(M.condition),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_Do, function To_Moz_DoWhileStatement(M) {\n return {\n type: \"DoWhileStatement\",\n test: to_moz(M.condition),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_For, function To_Moz_ForStatement(M) {\n return {\n type: \"ForStatement\",\n init: to_moz(M.init),\n test: to_moz(M.condition),\n update: to_moz(M.step),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_ForIn, function To_Moz_ForInStatement(M) {\n return {\n type: \"ForInStatement\",\n left: to_moz(M.init),\n right: to_moz(M.object),\n body: to_moz(M.body)\n };\n });\n def_to_moz(AST_ForOf, function To_Moz_ForOfStatement(M) {\n return {\n type: \"ForOfStatement\",\n left: to_moz(M.init),\n right: to_moz(M.object),\n body: to_moz(M.body),\n await: M.await\n };\n });\n def_to_moz(AST_Await, function To_Moz_AwaitExpression(M) {\n return {\n type: \"AwaitExpression\",\n argument: to_moz(M.expression)\n };\n });\n def_to_moz(AST_Yield, function To_Moz_YieldExpression(M) {\n return {\n type: \"YieldExpression\",\n argument: to_moz(M.expression),\n delegate: M.is_star\n };\n });\n def_to_moz(AST_Debugger, function To_Moz_DebuggerStatement() {\n return {\n type: \"DebuggerStatement\"\n };\n });\n def_to_moz(AST_VarDef, function To_Moz_VariableDeclarator(M) {\n return {\n type: \"VariableDeclarator\",\n id: to_moz(M.name),\n init: to_moz(M.value)\n };\n });\n def_to_moz(AST_Catch, function To_Moz_CatchClause(M) {\n return {\n type: \"CatchClause\",\n param: to_moz(M.argname),\n body: to_moz_block(M)\n };\n });\n\n def_to_moz(AST_This, function To_Moz_ThisExpression() {\n return {\n type: \"ThisExpression\"\n };\n });\n def_to_moz(AST_Super, function To_Moz_Super() {\n return {\n type: \"Super\"\n };\n });\n def_to_moz(AST_Binary, function To_Moz_BinaryExpression(M) {\n return {\n type: \"BinaryExpression\",\n operator: M.operator,\n left: to_moz(M.left),\n right: to_moz(M.right)\n };\n });\n def_to_moz(AST_Binary, function To_Moz_LogicalExpression(M) {\n return {\n type: \"LogicalExpression\",\n operator: M.operator,\n left: to_moz(M.left),\n right: to_moz(M.right)\n };\n });\n def_to_moz(AST_Assign, function To_Moz_AssignmentExpression(M) {\n return {\n type: \"AssignmentExpression\",\n operator: M.operator,\n left: to_moz(M.left),\n right: to_moz(M.right)\n };\n });\n def_to_moz(AST_Conditional, function To_Moz_ConditionalExpression(M) {\n return {\n type: \"ConditionalExpression\",\n test: to_moz(M.condition),\n consequent: to_moz(M.consequent),\n alternate: to_moz(M.alternative)\n };\n });\n def_to_moz(AST_New, function To_Moz_NewExpression(M) {\n return {\n type: \"NewExpression\",\n callee: to_moz(M.expression),\n arguments: M.args.map(to_moz)\n };\n });\n def_to_moz(AST_Call, function To_Moz_CallExpression(M) {\n return {\n type: \"CallExpression\",\n callee: to_moz(M.expression),\n optional: M.optional,\n arguments: M.args.map(to_moz)\n };\n });\n\n def_to_moz(AST_Toplevel, function To_Moz_Program(M) {\n return to_moz_scope(\"Program\", M);\n });\n\n def_to_moz(AST_Expansion, function To_Moz_Spread(M) {\n return {\n type: to_moz_in_destructuring() ? \"RestElement\" : \"SpreadElement\",\n argument: to_moz(M.expression)\n };\n });\n\n def_to_moz(AST_PrefixedTemplateString, function To_Moz_TaggedTemplateExpression(M) {\n return {\n type: \"TaggedTemplateExpression\",\n tag: to_moz(M.prefix),\n quasi: to_moz(M.template_string)\n };\n });\n\n def_to_moz(AST_TemplateString, function To_Moz_TemplateLiteral(M) {\n var quasis = [];\n var expressions = [];\n for (var i = 0; i < M.segments.length; i++) {\n if (i % 2 !== 0) {\n expressions.push(to_moz(M.segments[i]));\n } else {\n quasis.push({\n type: \"TemplateElement\",\n value: {\n raw: M.segments[i].raw,\n cooked: M.segments[i].value\n },\n tail: i === M.segments.length - 1\n });\n }\n }\n return {\n type: \"TemplateLiteral\",\n quasis: quasis,\n expressions: expressions\n };\n });\n\n def_to_moz(AST_Defun, function To_Moz_FunctionDeclaration(M) {\n return {\n type: \"FunctionDeclaration\",\n id: to_moz(M.name),\n params: M.argnames.map(to_moz),\n generator: M.is_generator,\n async: M.async,\n body: to_moz_scope(\"BlockStatement\", M)\n };\n });\n\n def_to_moz(AST_Function, function To_Moz_FunctionExpression(M, parent) {\n var is_generator = parent.is_generator !== undefined ?\n parent.is_generator : M.is_generator;\n return {\n type: \"FunctionExpression\",\n id: to_moz(M.name),\n params: M.argnames.map(to_moz),\n generator: is_generator,\n async: M.async,\n body: to_moz_scope(\"BlockStatement\", M)\n };\n });\n\n def_to_moz(AST_Arrow, function To_Moz_ArrowFunctionExpression(M) {\n var body = {\n type: \"BlockStatement\",\n body: M.body.map(to_moz)\n };\n return {\n type: \"ArrowFunctionExpression\",\n params: M.argnames.map(to_moz),\n async: M.async,\n body: body\n };\n });\n\n def_to_moz(AST_Destructuring, function To_Moz_ObjectPattern(M) {\n if (M.is_array) {\n return {\n type: \"ArrayPattern\",\n elements: M.names.map(to_moz)\n };\n }\n return {\n type: \"ObjectPattern\",\n properties: M.names.map(to_moz)\n };\n });\n\n def_to_moz(AST_Directive, function To_Moz_Directive(M) {\n return {\n type: \"ExpressionStatement\",\n expression: {\n type: \"Literal\",\n value: M.value,\n raw: M.print_to_string()\n },\n directive: M.value\n };\n });\n\n def_to_moz(AST_SimpleStatement, function To_Moz_ExpressionStatement(M) {\n return {\n type: \"ExpressionStatement\",\n expression: to_moz(M.body)\n };\n });\n\n def_to_moz(AST_SwitchBranch, function To_Moz_SwitchCase(M) {\n return {\n type: \"SwitchCase\",\n test: to_moz(M.expression),\n consequent: M.body.map(to_moz)\n };\n });\n\n def_to_moz(AST_Try, function To_Moz_TryStatement(M) {\n return {\n type: \"TryStatement\",\n block: to_moz_block(M),\n handler: to_moz(M.bcatch),\n guardedHandlers: [],\n finalizer: to_moz(M.bfinally)\n };\n });\n\n def_to_moz(AST_Catch, function To_Moz_CatchClause(M) {\n return {\n type: \"CatchClause\",\n param: to_moz(M.argname),\n guard: null,\n body: to_moz_block(M)\n };\n });\n\n def_to_moz(AST_Definitions, function To_Moz_VariableDeclaration(M) {\n return {\n type: \"VariableDeclaration\",\n kind:\n M instanceof AST_Const ? \"const\" :\n M instanceof AST_Let ? \"let\" : \"var\",\n declarations: M.definitions.map(to_moz)\n };\n });\n\n const assert_clause_to_moz = assert_clause => {\n const assertions = [];\n if (assert_clause) {\n for (const { key, value } of assert_clause.properties) {\n const key_moz = is_basic_identifier_string(key)\n ? { type: \"Identifier\", name: key }\n : { type: \"Literal\", value: key, raw: JSON.stringify(key) };\n assertions.push({\n type: \"ImportAttribute\",\n key: key_moz,\n value: to_moz(value)\n });\n }\n }\n return assertions;\n };\n\n def_to_moz(AST_Export, function To_Moz_ExportDeclaration(M) {\n if (M.exported_names) {\n var first_exported = M.exported_names[0];\n var first_exported_name = first_exported.name;\n if (first_exported_name.name === \"*\" && !first_exported_name.quote) {\n var foreign_name = first_exported.foreign_name;\n var exported = foreign_name.name === \"*\" && !foreign_name.quote\n ? null\n : to_moz(foreign_name);\n return {\n type: \"ExportAllDeclaration\",\n source: to_moz(M.module_name),\n exported: exported,\n assertions: assert_clause_to_moz(M.assert_clause)\n };\n }\n return {\n type: \"ExportNamedDeclaration\",\n specifiers: M.exported_names.map(function (name_mapping) {\n return {\n type: \"ExportSpecifier\",\n exported: to_moz(name_mapping.foreign_name),\n local: to_moz(name_mapping.name)\n };\n }),\n declaration: to_moz(M.exported_definition),\n source: to_moz(M.module_name),\n assertions: assert_clause_to_moz(M.assert_clause)\n };\n }\n return {\n type: M.is_default ? \"ExportDefaultDeclaration\" : \"ExportNamedDeclaration\",\n declaration: to_moz(M.exported_value || M.exported_definition)\n };\n });\n\n def_to_moz(AST_Import, function To_Moz_ImportDeclaration(M) {\n var specifiers = [];\n if (M.imported_name) {\n specifiers.push({\n type: \"ImportDefaultSpecifier\",\n local: to_moz(M.imported_name)\n });\n }\n if (M.imported_names) {\n var first_imported_foreign_name = M.imported_names[0].foreign_name;\n if (first_imported_foreign_name.name === \"*\" && !first_imported_foreign_name.quote) {\n specifiers.push({\n type: \"ImportNamespaceSpecifier\",\n local: to_moz(M.imported_names[0].name)\n });\n } else {\n M.imported_names.forEach(function(name_mapping) {\n specifiers.push({\n type: \"ImportSpecifier\",\n local: to_moz(name_mapping.name),\n imported: to_moz(name_mapping.foreign_name)\n });\n });\n }\n }\n return {\n type: \"ImportDeclaration\",\n specifiers: specifiers,\n source: to_moz(M.module_name),\n assertions: assert_clause_to_moz(M.assert_clause)\n };\n });\n\n def_to_moz(AST_ImportMeta, function To_Moz_MetaProperty() {\n return {\n type: \"MetaProperty\",\n meta: {\n type: \"Identifier\",\n name: \"import\"\n },\n property: {\n type: \"Identifier\",\n name: \"meta\"\n }\n };\n });\n\n def_to_moz(AST_Sequence, function To_Moz_SequenceExpression(M) {\n return {\n type: \"SequenceExpression\",\n expressions: M.expressions.map(to_moz)\n };\n });\n\n def_to_moz(AST_DotHash, function To_Moz_PrivateMemberExpression(M) {\n return {\n type: \"MemberExpression\",\n object: to_moz(M.expression),\n computed: false,\n property: {\n type: \"PrivateIdentifier\",\n name: M.property\n },\n optional: M.optional\n };\n });\n\n def_to_moz(AST_PropAccess, function To_Moz_MemberExpression(M) {\n var isComputed = M instanceof AST_Sub;\n return {\n type: \"MemberExpression\",\n object: to_moz(M.expression),\n computed: isComputed,\n property: isComputed ? to_moz(M.property) : {type: \"Identifier\", name: M.property},\n optional: M.optional\n };\n });\n\n def_to_moz(AST_Chain, function To_Moz_ChainExpression(M) {\n return {\n type: \"ChainExpression\",\n expression: to_moz(M.expression)\n };\n });\n\n def_to_moz(AST_Unary, function To_Moz_Unary(M) {\n return {\n type: M.operator == \"++\" || M.operator == \"--\" ? \"UpdateExpression\" : \"UnaryExpression\",\n operator: M.operator,\n prefix: M instanceof AST_UnaryPrefix,\n argument: to_moz(M.expression)\n };\n });\n\n def_to_moz(AST_Binary, function To_Moz_BinaryExpression(M) {\n if (M.operator == \"=\" && to_moz_in_destructuring()) {\n return {\n type: \"AssignmentPattern\",\n left: to_moz(M.left),\n right: to_moz(M.right)\n };\n }\n\n const type = M.operator == \"&&\" || M.operator == \"||\" || M.operator === \"??\"\n ? \"LogicalExpression\"\n : \"BinaryExpression\";\n\n return {\n type,\n left: to_moz(M.left),\n operator: M.operator,\n right: to_moz(M.right)\n };\n });\n\n def_to_moz(AST_PrivateIn, function To_Moz_BinaryExpression_PrivateIn(M) {\n return {\n type: \"BinaryExpression\",\n left: { type: \"PrivateIdentifier\", name: M.key.name },\n operator: \"in\",\n right: to_moz(M.value),\n };\n });\n\n def_to_moz(AST_Array, function To_Moz_ArrayExpression(M) {\n return {\n type: \"ArrayExpression\",\n elements: M.elements.map(to_moz)\n };\n });\n\n def_to_moz(AST_Object, function To_Moz_ObjectExpression(M) {\n return {\n type: \"ObjectExpression\",\n properties: M.properties.map(to_moz)\n };\n });\n\n def_to_moz(AST_ObjectProperty, function To_Moz_Property(M, parent) {\n var key = M.key instanceof AST_Node ? to_moz(M.key) : {\n type: \"Identifier\",\n value: M.key\n };\n if (typeof M.key === \"number\") {\n key = {\n type: \"Literal\",\n value: Number(M.key)\n };\n }\n if (typeof M.key === \"string\") {\n key = {\n type: \"Identifier\",\n name: M.key\n };\n }\n var kind;\n var string_or_num = typeof M.key === \"string\" || typeof M.key === \"number\";\n var computed = string_or_num ? false : !(M.key instanceof AST_Symbol) || M.key instanceof AST_SymbolRef;\n if (M instanceof AST_ObjectKeyVal) {\n kind = \"init\";\n computed = !string_or_num;\n } else\n if (M instanceof AST_ObjectGetter) {\n kind = \"get\";\n } else\n if (M instanceof AST_ObjectSetter) {\n kind = \"set\";\n }\n if (M instanceof AST_PrivateGetter || M instanceof AST_PrivateSetter) {\n const kind = M instanceof AST_PrivateGetter ? \"get\" : \"set\";\n return {\n type: \"MethodDefinition\",\n computed: false,\n kind: kind,\n static: M.static,\n key: {\n type: \"PrivateIdentifier\",\n name: M.key.name\n },\n value: to_moz(M.value)\n };\n }\n if (M instanceof AST_ClassPrivateProperty) {\n return {\n type: \"PropertyDefinition\",\n key: {\n type: \"PrivateIdentifier\",\n name: M.key.name\n },\n value: to_moz(M.value),\n computed: false,\n static: M.static\n };\n }\n if (M instanceof AST_ClassProperty) {\n return {\n type: \"PropertyDefinition\",\n key,\n value: to_moz(M.value),\n computed,\n static: M.static\n };\n }\n if (parent instanceof AST_Class) {\n return {\n type: \"MethodDefinition\",\n computed: computed,\n kind: kind,\n static: M.static,\n key: to_moz(M.key),\n value: to_moz(M.value)\n };\n }\n return {\n type: \"Property\",\n computed: computed,\n kind: kind,\n key: key,\n value: to_moz(M.value)\n };\n });\n\n def_to_moz(AST_ConciseMethod, function To_Moz_MethodDefinition(M, parent) {\n if (parent instanceof AST_Object) {\n return {\n type: \"Property\",\n computed: !(M.key instanceof AST_Symbol) || M.key instanceof AST_SymbolRef,\n kind: \"init\",\n method: true,\n shorthand: false,\n key: to_moz(M.key),\n value: to_moz(M.value)\n };\n }\n\n const key = M instanceof AST_PrivateMethod\n ? {\n type: \"PrivateIdentifier\",\n name: M.key.name\n }\n : to_moz(M.key);\n\n return {\n type: \"MethodDefinition\",\n kind: M.key === \"constructor\" ? \"constructor\" : \"method\",\n key,\n value: to_moz(M.value),\n computed: !(M.key instanceof AST_Symbol) || M.key instanceof AST_SymbolRef,\n static: M.static,\n };\n });\n\n def_to_moz(AST_Class, function To_Moz_Class(M) {\n var type = M instanceof AST_ClassExpression ? \"ClassExpression\" : \"ClassDeclaration\";\n return {\n type: type,\n superClass: to_moz(M.extends),\n id: M.name ? to_moz(M.name) : null,\n body: {\n type: \"ClassBody\",\n body: M.properties.map(to_moz)\n }\n };\n });\n\n def_to_moz(AST_ClassStaticBlock, function To_Moz_StaticBlock(M) {\n return {\n type: \"StaticBlock\",\n body: M.body.map(to_moz),\n };\n });\n\n def_to_moz(AST_NewTarget, function To_Moz_MetaProperty() {\n return {\n type: \"MetaProperty\",\n meta: {\n type: \"Identifier\",\n name: \"new\"\n },\n property: {\n type: \"Identifier\",\n name: \"target\"\n }\n };\n });\n\n def_to_moz(AST_Symbol, function To_Moz_Identifier(M, parent) {\n if (\n (M instanceof AST_SymbolMethod && parent.quote) ||\n ((\n M instanceof AST_SymbolImportForeign ||\n M instanceof AST_SymbolExportForeign ||\n M instanceof AST_SymbolExport\n ) && M.quote)\n ) {\n return {\n type: \"Literal\",\n value: M.name\n };\n }\n var def = M.definition();\n return {\n type: \"Identifier\",\n name: def ? def.mangled_name || def.name : M.name\n };\n });\n\n def_to_moz(AST_RegExp, function To_Moz_RegExpLiteral(M) {\n const pattern = M.value.source;\n const flags = M.value.flags;\n return {\n type: \"Literal\",\n value: null,\n raw: M.print_to_string(),\n regex: { pattern, flags }\n };\n });\n\n def_to_moz(AST_Constant, function To_Moz_Literal(M) {\n var value = M.value;\n return {\n type: \"Literal\",\n value: value,\n raw: M.raw || M.print_to_string()\n };\n });\n\n def_to_moz(AST_Atom, function To_Moz_Atom(M) {\n return {\n type: \"Identifier\",\n name: String(M.value)\n };\n });\n\n def_to_moz(AST_BigInt, M => ({\n type: \"BigIntLiteral\",\n value: M.value\n }));\n\n AST_Boolean.DEFMETHOD(\"to_mozilla_ast\", AST_Constant.prototype.to_mozilla_ast);\n AST_Null.DEFMETHOD(\"to_mozilla_ast\", AST_Constant.prototype.to_mozilla_ast);\n AST_Hole.DEFMETHOD(\"to_mozilla_ast\", function To_Moz_ArrayHole() { return null; });\n\n AST_Block.DEFMETHOD(\"to_mozilla_ast\", AST_BlockStatement.prototype.to_mozilla_ast);\n AST_Lambda.DEFMETHOD(\"to_mozilla_ast\", AST_Function.prototype.to_mozilla_ast);\n\n /* -----[ tools ]----- */\n\n function my_start_token(moznode) {\n var loc = moznode.loc, start = loc && loc.start;\n var range = moznode.range;\n return new AST_Token(\n \"\",\n \"\",\n start && start.line || 0,\n start && start.column || 0,\n range ? range [0] : moznode.start,\n false,\n [],\n [],\n loc && loc.source,\n );\n }\n\n function my_end_token(moznode) {\n var loc = moznode.loc, end = loc && loc.end;\n var range = moznode.range;\n return new AST_Token(\n \"\",\n \"\",\n end && end.line || 0,\n end && end.column || 0,\n range ? range [0] : moznode.end,\n false,\n [],\n [],\n loc && loc.source,\n );\n }\n\n var FROM_MOZ_STACK = null;\n\n function from_moz(node) {\n FROM_MOZ_STACK.push(node);\n var ret = node != null ? MOZ_TO_ME[node.type](node) : null;\n FROM_MOZ_STACK.pop();\n return ret;\n }\n\n AST_Node.from_mozilla_ast = function(node) {\n var save_stack = FROM_MOZ_STACK;\n FROM_MOZ_STACK = [];\n var ast = from_moz(node);\n FROM_MOZ_STACK = save_stack;\n return ast;\n };\n\n function set_moz_loc(mynode, moznode) {\n var start = mynode.start;\n var end = mynode.end;\n if (!(start && end)) {\n return moznode;\n }\n if (start.pos != null && end.endpos != null) {\n moznode.range = [start.pos, end.endpos];\n }\n if (start.line) {\n moznode.loc = {\n start: {line: start.line, column: start.col},\n end: end.endline ? {line: end.endline, column: end.endcol} : null\n };\n if (start.file) {\n moznode.loc.source = start.file;\n }\n }\n return moznode;\n }\n\n function def_to_moz(mytype, handler) {\n mytype.DEFMETHOD(\"to_mozilla_ast\", function(parent) {\n return set_moz_loc(this, handler(this, parent));\n });\n }\n\n var TO_MOZ_STACK = null;\n\n function to_moz(node) {\n if (TO_MOZ_STACK === null) { TO_MOZ_STACK = []; }\n TO_MOZ_STACK.push(node);\n var ast = node != null ? node.to_mozilla_ast(TO_MOZ_STACK[TO_MOZ_STACK.length - 2]) : null;\n TO_MOZ_STACK.pop();\n if (TO_MOZ_STACK.length === 0) { TO_MOZ_STACK = null; }\n return ast;\n }\n\n function to_moz_in_destructuring() {\n var i = TO_MOZ_STACK.length;\n while (i--) {\n if (TO_MOZ_STACK[i] instanceof AST_Destructuring) {\n return true;\n }\n }\n return false;\n }\n\n function to_moz_block(node) {\n return {\n type: \"BlockStatement\",\n body: node.body.map(to_moz)\n };\n }\n\n function to_moz_scope(type, node) {\n var body = node.body.map(to_moz);\n if (node.body[0] instanceof AST_SimpleStatement && node.body[0].body instanceof AST_String) {\n body.unshift(to_moz(new AST_EmptyStatement(node.body[0])));\n }\n return {\n type: type,\n body: body\n };\n }\n})();\n\n// return true if the node at the top of the stack (that means the\n// innermost node in the current output) is lexically the first in\n// a statement.\nfunction first_in_statement(stack) {\n let node = stack.parent(-1);\n for (let i = 0, p; p = stack.parent(i); i++) {\n if (p instanceof AST_Statement && p.body === node)\n return true;\n if ((p instanceof AST_Sequence && p.expressions[0] === node) ||\n (p.TYPE === \"Call\" && p.expression === node) ||\n (p instanceof AST_PrefixedTemplateString && p.prefix === node) ||\n (p instanceof AST_Dot && p.expression === node) ||\n (p instanceof AST_Sub && p.expression === node) ||\n (p instanceof AST_Chain && p.expression === node) ||\n (p instanceof AST_Conditional && p.condition === node) ||\n (p instanceof AST_Binary && p.left === node) ||\n (p instanceof AST_UnaryPostfix && p.expression === node)\n ) {\n node = p;\n } else {\n return false;\n }\n }\n}\n\n// Returns whether the leftmost item in the expression is an object\nfunction left_is_object(node) {\n if (node instanceof AST_Object) return true;\n if (node instanceof AST_Sequence) return left_is_object(node.expressions[0]);\n if (node.TYPE === \"Call\") return left_is_object(node.expression);\n if (node instanceof AST_PrefixedTemplateString) return left_is_object(node.prefix);\n if (node instanceof AST_Dot || node instanceof AST_Sub) return left_is_object(node.expression);\n if (node instanceof AST_Chain) return left_is_object(node.expression);\n if (node instanceof AST_Conditional) return left_is_object(node.condition);\n if (node instanceof AST_Binary) return left_is_object(node.left);\n if (node instanceof AST_UnaryPostfix) return left_is_object(node.expression);\n return false;\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nconst EXPECT_DIRECTIVE = /^$|[;{][\\s\\n]*$/;\nconst CODE_LINE_BREAK = 10;\nconst CODE_SPACE = 32;\n\nconst r_annotation = /[@#]__(PURE|INLINE|NOINLINE)__/g;\n\nfunction is_some_comments(comment) {\n // multiline comment\n return (\n (comment.type === \"comment2\" || comment.type === \"comment1\")\n && /@preserve|@copyright|@lic|@cc_on|^\\**!/i.test(comment.value)\n );\n}\n\nclass Rope {\n constructor() {\n this.committed = \"\";\n this.current = \"\";\n }\n\n append(str) {\n this.current += str;\n }\n\n insertAt(char, index) {\n const { committed, current } = this;\n if (index < committed.length) {\n this.committed = committed.slice(0, index) + char + committed.slice(index);\n } else if (index === committed.length) {\n this.committed += char;\n } else {\n index -= committed.length;\n this.committed += current.slice(0, index) + char;\n this.current = current.slice(index);\n }\n }\n\n charAt(index) {\n const { committed } = this;\n if (index < committed.length) return committed[index];\n return this.current[index - committed.length];\n }\n\n curLength() {\n return this.current.length;\n }\n\n length() {\n return this.committed.length + this.current.length;\n }\n\n toString() {\n return this.committed + this.current;\n }\n}\n\nfunction OutputStream(options) {\n\n var readonly = !options;\n options = defaults(options, {\n ascii_only : false,\n beautify : false,\n braces : false,\n comments : \"some\",\n ecma : 5,\n ie8 : false,\n indent_level : 4,\n indent_start : 0,\n inline_script : true,\n keep_numbers : false,\n keep_quoted_props : false,\n max_line_len : false,\n preamble : null,\n preserve_annotations : false,\n quote_keys : false,\n quote_style : 0,\n safari10 : false,\n semicolons : true,\n shebang : true,\n shorthand : undefined,\n source_map : null,\n webkit : false,\n width : 80,\n wrap_iife : false,\n wrap_func_args : true,\n\n _destroy_ast : false\n }, true);\n\n if (options.shorthand === undefined)\n options.shorthand = options.ecma > 5;\n\n // Convert comment option to RegExp if necessary and set up comments filter\n var comment_filter = return_false; // Default case, throw all comments away\n if (options.comments) {\n let comments = options.comments;\n if (typeof options.comments === \"string\" && /^\\/.*\\/[a-zA-Z]*$/.test(options.comments)) {\n var regex_pos = options.comments.lastIndexOf(\"/\");\n comments = new RegExp(\n options.comments.substr(1, regex_pos - 1),\n options.comments.substr(regex_pos + 1)\n );\n }\n if (comments instanceof RegExp) {\n comment_filter = function(comment) {\n return comment.type != \"comment5\" && comments.test(comment.value);\n };\n } else if (typeof comments === \"function\") {\n comment_filter = function(comment) {\n return comment.type != \"comment5\" && comments(this, comment);\n };\n } else if (comments === \"some\") {\n comment_filter = is_some_comments;\n } else { // NOTE includes \"all\" option\n comment_filter = return_true;\n }\n }\n\n var indentation = 0;\n var current_col = 0;\n var current_line = 1;\n var current_pos = 0;\n var OUTPUT = new Rope();\n let printed_comments = new Set();\n\n var to_utf8 = options.ascii_only ? function(str, identifier = false, regexp = false) {\n if (options.ecma >= 2015 && !options.safari10 && !regexp) {\n str = str.replace(/[\\ud800-\\udbff][\\udc00-\\udfff]/g, function(ch) {\n var code = get_full_char_code(ch, 0).toString(16);\n return \"\\\\u{\" + code + \"}\";\n });\n }\n return str.replace(/[\\u0000-\\u001f\\u007f-\\uffff]/g, function(ch) {\n var code = ch.charCodeAt(0).toString(16);\n if (code.length <= 2 && !identifier) {\n while (code.length < 2) code = \"0\" + code;\n return \"\\\\x\" + code;\n } else {\n while (code.length < 4) code = \"0\" + code;\n return \"\\\\u\" + code;\n }\n });\n } : function(str) {\n return str.replace(/[\\ud800-\\udbff][\\udc00-\\udfff]|([\\ud800-\\udbff]|[\\udc00-\\udfff])/g, function(match, lone) {\n if (lone) {\n return \"\\\\u\" + lone.charCodeAt(0).toString(16);\n }\n return match;\n });\n };\n\n function make_string(str, quote) {\n var dq = 0, sq = 0;\n str = str.replace(/[\\\\\\b\\f\\n\\r\\v\\t\\x22\\x27\\u2028\\u2029\\0\\ufeff]/g,\n function(s, i) {\n switch (s) {\n case '\"': ++dq; return '\"';\n case \"'\": ++sq; return \"'\";\n case \"\\\\\": return \"\\\\\\\\\";\n case \"\\n\": return \"\\\\n\";\n case \"\\r\": return \"\\\\r\";\n case \"\\t\": return \"\\\\t\";\n case \"\\b\": return \"\\\\b\";\n case \"\\f\": return \"\\\\f\";\n case \"\\x0B\": return options.ie8 ? \"\\\\x0B\" : \"\\\\v\";\n case \"\\u2028\": return \"\\\\u2028\";\n case \"\\u2029\": return \"\\\\u2029\";\n case \"\\ufeff\": return \"\\\\ufeff\";\n case \"\\0\":\n return /[0-9]/.test(get_full_char(str, i+1)) ? \"\\\\x00\" : \"\\\\0\";\n }\n return s;\n });\n function quote_single() {\n return \"'\" + str.replace(/\\x27/g, \"\\\\'\") + \"'\";\n }\n function quote_double() {\n return '\"' + str.replace(/\\x22/g, '\\\\\"') + '\"';\n }\n function quote_template() {\n return \"`\" + str.replace(/`/g, \"\\\\`\") + \"`\";\n }\n str = to_utf8(str);\n if (quote === \"`\") return quote_template();\n switch (options.quote_style) {\n case 1:\n return quote_single();\n case 2:\n return quote_double();\n case 3:\n return quote == \"'\" ? quote_single() : quote_double();\n default:\n return dq > sq ? quote_single() : quote_double();\n }\n }\n\n function encode_string(str, quote) {\n var ret = make_string(str, quote);\n if (options.inline_script) {\n ret = ret.replace(/<\\x2f(script)([>\\/\\t\\n\\f\\r ])/gi, \"<\\\\/$1$2\");\n ret = ret.replace(/\\x3c!--/g, \"\\\\x3c!--\");\n ret = ret.replace(/--\\x3e/g, \"--\\\\x3e\");\n }\n return ret;\n }\n\n function make_name(name) {\n name = name.toString();\n name = to_utf8(name, true);\n return name;\n }\n\n function make_indent(back) {\n return \" \".repeat(options.indent_start + indentation - back * options.indent_level);\n }\n\n /* -----[ beautification/minification ]----- */\n\n var has_parens = false;\n var might_need_space = false;\n var might_need_semicolon = false;\n var might_add_newline = 0;\n var need_newline_indented = false;\n var need_space = false;\n var newline_insert = -1;\n var last = \"\";\n var mapping_token, mapping_name, mappings = options.source_map && [];\n\n var do_add_mapping = mappings ? function() {\n mappings.forEach(function(mapping) {\n try {\n let { name, token } = mapping;\n if (token.type == \"name\" || token.type === \"privatename\") {\n name = token.value;\n } else if (name instanceof AST_Symbol) {\n name = token.type === \"string\" ? token.value : name.name;\n }\n options.source_map.add(\n mapping.token.file,\n mapping.line, mapping.col,\n mapping.token.line, mapping.token.col,\n is_basic_identifier_string(name) ? name : undefined\n );\n } catch(ex) {\n // Ignore bad mapping\n }\n });\n mappings = [];\n } : noop;\n\n var ensure_line_len = options.max_line_len ? function() {\n if (current_col > options.max_line_len) {\n if (might_add_newline) {\n OUTPUT.insertAt(\"\\n\", might_add_newline);\n const curLength = OUTPUT.curLength();\n if (mappings) {\n var delta = curLength - current_col;\n mappings.forEach(function(mapping) {\n mapping.line++;\n mapping.col += delta;\n });\n }\n current_line++;\n current_pos++;\n current_col = curLength;\n }\n }\n if (might_add_newline) {\n might_add_newline = 0;\n do_add_mapping();\n }\n } : noop;\n\n var requireSemicolonChars = makePredicate(\"( [ + * / - , . `\");\n\n function print(str) {\n str = String(str);\n var ch = get_full_char(str, 0);\n if (need_newline_indented && ch) {\n need_newline_indented = false;\n if (ch !== \"\\n\") {\n print(\"\\n\");\n indent();\n }\n }\n if (need_space && ch) {\n need_space = false;\n if (!/[\\s;})]/.test(ch)) {\n space();\n }\n }\n newline_insert = -1;\n var prev = last.charAt(last.length - 1);\n if (might_need_semicolon) {\n might_need_semicolon = false;\n\n if (prev === \":\" && ch === \"}\" || (!ch || !\";}\".includes(ch)) && prev !== \";\") {\n if (options.semicolons || requireSemicolonChars.has(ch)) {\n OUTPUT.append(\";\");\n current_col++;\n current_pos++;\n } else {\n ensure_line_len();\n if (current_col > 0) {\n OUTPUT.append(\"\\n\");\n current_pos++;\n current_line++;\n current_col = 0;\n }\n\n if (/^\\s+$/.test(str)) {\n // reset the semicolon flag, since we didn't print one\n // now and might still have to later\n might_need_semicolon = true;\n }\n }\n\n if (!options.beautify)\n might_need_space = false;\n }\n }\n\n if (might_need_space) {\n if ((is_identifier_char(prev)\n && (is_identifier_char(ch) || ch == \"\\\\\"))\n || (ch == \"/\" && ch == prev)\n || ((ch == \"+\" || ch == \"-\") && ch == last)\n ) {\n OUTPUT.append(\" \");\n current_col++;\n current_pos++;\n }\n might_need_space = false;\n }\n\n if (mapping_token) {\n mappings.push({\n token: mapping_token,\n name: mapping_name,\n line: current_line,\n col: current_col\n });\n mapping_token = false;\n if (!might_add_newline) do_add_mapping();\n }\n\n OUTPUT.append(str);\n has_parens = str[str.length - 1] == \"(\";\n current_pos += str.length;\n var a = str.split(/\\r?\\n/), n = a.length - 1;\n current_line += n;\n current_col += a[0].length;\n if (n > 0) {\n ensure_line_len();\n current_col = a[n].length;\n }\n last = str;\n }\n\n var star = function() {\n print(\"*\");\n };\n\n var space = options.beautify ? function() {\n print(\" \");\n } : function() {\n might_need_space = true;\n };\n\n var indent = options.beautify ? function(half) {\n if (options.beautify) {\n print(make_indent(half ? 0.5 : 0));\n }\n } : noop;\n\n var with_indent = options.beautify ? function(col, cont) {\n if (col === true) col = next_indent();\n var save_indentation = indentation;\n indentation = col;\n var ret = cont();\n indentation = save_indentation;\n return ret;\n } : function(col, cont) { return cont(); };\n\n var newline = options.beautify ? function() {\n if (newline_insert < 0) return print(\"\\n\");\n if (OUTPUT.charAt(newline_insert) != \"\\n\") {\n OUTPUT.insertAt(\"\\n\", newline_insert);\n current_pos++;\n current_line++;\n }\n newline_insert++;\n } : options.max_line_len ? function() {\n ensure_line_len();\n might_add_newline = OUTPUT.length();\n } : noop;\n\n var semicolon = options.beautify ? function() {\n print(\";\");\n } : function() {\n might_need_semicolon = true;\n };\n\n function force_semicolon() {\n might_need_semicolon = false;\n print(\";\");\n }\n\n function next_indent() {\n return indentation + options.indent_level;\n }\n\n function with_block(cont) {\n var ret;\n print(\"{\");\n newline();\n with_indent(next_indent(), function() {\n ret = cont();\n });\n indent();\n print(\"}\");\n return ret;\n }\n\n function with_parens(cont) {\n print(\"(\");\n //XXX: still nice to have that for argument lists\n //var ret = with_indent(current_col, cont);\n var ret = cont();\n print(\")\");\n return ret;\n }\n\n function with_square(cont) {\n print(\"[\");\n //var ret = with_indent(current_col, cont);\n var ret = cont();\n print(\"]\");\n return ret;\n }\n\n function comma() {\n print(\",\");\n space();\n }\n\n function colon() {\n print(\":\");\n space();\n }\n\n var add_mapping = mappings ? function(token, name) {\n mapping_token = token;\n mapping_name = name;\n } : noop;\n\n function get() {\n if (might_add_newline) {\n ensure_line_len();\n }\n return OUTPUT.toString();\n }\n\n function has_nlb() {\n const output = OUTPUT.toString();\n let n = output.length - 1;\n while (n >= 0) {\n const code = output.charCodeAt(n);\n if (code === CODE_LINE_BREAK) {\n return true;\n }\n\n if (code !== CODE_SPACE) {\n return false;\n }\n n--;\n }\n return true;\n }\n\n function filter_comment(comment) {\n if (!options.preserve_annotations) {\n comment = comment.replace(r_annotation, \" \");\n }\n if (/^\\s*$/.test(comment)) {\n return \"\";\n }\n return comment.replace(/(<\\s*\\/\\s*)(script)/i, \"<\\\\/$2\");\n }\n\n function prepend_comments(node) {\n var self = this;\n var start = node.start;\n if (!start) return;\n var printed_comments = self.printed_comments;\n\n // There cannot be a newline between return and its value.\n const return_with_value = node instanceof AST_Exit && node.value;\n\n if (\n start.comments_before\n && printed_comments.has(start.comments_before)\n ) {\n if (return_with_value) {\n start.comments_before = [];\n } else {\n return;\n }\n }\n\n var comments = start.comments_before;\n if (!comments) {\n comments = start.comments_before = [];\n }\n printed_comments.add(comments);\n\n if (return_with_value) {\n var tw = new TreeWalker(function(node) {\n var parent = tw.parent();\n if (parent instanceof AST_Exit\n || parent instanceof AST_Binary && parent.left === node\n || parent.TYPE == \"Call\" && parent.expression === node\n || parent instanceof AST_Conditional && parent.condition === node\n || parent instanceof AST_Dot && parent.expression === node\n || parent instanceof AST_Sequence && parent.expressions[0] === node\n || parent instanceof AST_Sub && parent.expression === node\n || parent instanceof AST_UnaryPostfix) {\n if (!node.start) return;\n var text = node.start.comments_before;\n if (text && !printed_comments.has(text)) {\n printed_comments.add(text);\n comments = comments.concat(text);\n }\n } else {\n return true;\n }\n });\n tw.push(node);\n node.value.walk(tw);\n }\n\n if (current_pos == 0) {\n if (comments.length > 0 && options.shebang && comments[0].type === \"comment5\"\n && !printed_comments.has(comments[0])) {\n print(\"#!\" + comments.shift().value + \"\\n\");\n indent();\n }\n var preamble = options.preamble;\n if (preamble) {\n print(preamble.replace(/\\r\\n?|[\\n\\u2028\\u2029]|\\s*$/g, \"\\n\"));\n }\n }\n\n comments = comments.filter(comment_filter, node).filter(c => !printed_comments.has(c));\n if (comments.length == 0) return;\n var last_nlb = has_nlb();\n comments.forEach(function(c, i) {\n printed_comments.add(c);\n if (!last_nlb) {\n if (c.nlb) {\n print(\"\\n\");\n indent();\n last_nlb = true;\n } else if (i > 0) {\n space();\n }\n }\n\n if (/comment[134]/.test(c.type)) {\n var value = filter_comment(c.value);\n if (value) {\n print(\"//\" + value + \"\\n\");\n indent();\n }\n last_nlb = true;\n } else if (c.type == \"comment2\") {\n var value = filter_comment(c.value);\n if (value) {\n print(\"/*\" + value + \"*/\");\n }\n last_nlb = false;\n }\n });\n if (!last_nlb) {\n if (start.nlb) {\n print(\"\\n\");\n indent();\n } else {\n space();\n }\n }\n }\n\n function append_comments(node, tail) {\n var self = this;\n var token = node.end;\n if (!token) return;\n var printed_comments = self.printed_comments;\n var comments = token[tail ? \"comments_before\" : \"comments_after\"];\n if (!comments || printed_comments.has(comments)) return;\n if (!(node instanceof AST_Statement || comments.every((c) =>\n !/comment[134]/.test(c.type)\n ))) return;\n printed_comments.add(comments);\n var insert = OUTPUT.length();\n comments.filter(comment_filter, node).forEach(function(c, i) {\n if (printed_comments.has(c)) return;\n printed_comments.add(c);\n need_space = false;\n if (need_newline_indented) {\n print(\"\\n\");\n indent();\n need_newline_indented = false;\n } else if (c.nlb && (i > 0 || !has_nlb())) {\n print(\"\\n\");\n indent();\n } else if (i > 0 || !tail) {\n space();\n }\n if (/comment[134]/.test(c.type)) {\n const value = filter_comment(c.value);\n if (value) {\n print(\"//\" + value);\n }\n need_newline_indented = true;\n } else if (c.type == \"comment2\") {\n const value = filter_comment(c.value);\n if (value) {\n print(\"/*\" + value + \"*/\");\n }\n need_space = true;\n }\n });\n if (OUTPUT.length() > insert) newline_insert = insert;\n }\n\n /**\n * When output.option(\"_destroy_ast\") is enabled, destroy the function.\n * Call this after printing it.\n */\n const gc_scope =\n options[\"_destroy_ast\"]\n ? function gc_scope(scope) {\n scope.body.length = 0;\n scope.argnames.length = 0;\n }\n : noop;\n\n var stack = [];\n return {\n get : get,\n toString : get,\n indent : indent,\n in_directive : false,\n use_asm : null,\n active_scope : null,\n indentation : function() { return indentation; },\n current_width : function() { return current_col - indentation; },\n should_break : function() { return options.width && this.current_width() >= options.width; },\n has_parens : function() { return has_parens; },\n newline : newline,\n print : print,\n star : star,\n space : space,\n comma : comma,\n colon : colon,\n last : function() { return last; },\n semicolon : semicolon,\n force_semicolon : force_semicolon,\n to_utf8 : to_utf8,\n print_name : function(name) { print(make_name(name)); },\n print_string : function(str, quote, escape_directive) {\n var encoded = encode_string(str, quote);\n if (escape_directive === true && !encoded.includes(\"\\\\\")) {\n // Insert semicolons to break directive prologue\n if (!EXPECT_DIRECTIVE.test(OUTPUT.toString())) {\n force_semicolon();\n }\n force_semicolon();\n }\n print(encoded);\n },\n print_template_string_chars: function(str) {\n var encoded = encode_string(str, \"`\").replace(/\\${/g, \"\\\\${\");\n return print(encoded.substr(1, encoded.length - 2));\n },\n encode_string : encode_string,\n next_indent : next_indent,\n with_indent : with_indent,\n with_block : with_block,\n with_parens : with_parens,\n with_square : with_square,\n add_mapping : add_mapping,\n option : function(opt) { return options[opt]; },\n gc_scope,\n printed_comments: printed_comments,\n prepend_comments: readonly ? noop : prepend_comments,\n append_comments : readonly || comment_filter === return_false ? noop : append_comments,\n line : function() { return current_line; },\n col : function() { return current_col; },\n pos : function() { return current_pos; },\n push_node : function(node) { stack.push(node); },\n pop_node : function() { return stack.pop(); },\n parent : function(n) {\n return stack[stack.length - 2 - (n || 0)];\n }\n };\n\n}\n\n/* -----[ code generators ]----- */\n\n(function() {\n\n /* -----[ utils ]----- */\n\n function DEFPRINT(nodetype, generator) {\n nodetype.DEFMETHOD(\"_codegen\", generator);\n }\n\n AST_Node.DEFMETHOD(\"print\", function(output, force_parens) {\n var self = this, generator = self._codegen;\n if (self instanceof AST_Scope) {\n output.active_scope = self;\n } else if (!output.use_asm && self instanceof AST_Directive && self.value == \"use asm\") {\n output.use_asm = output.active_scope;\n }\n function doit() {\n output.prepend_comments(self);\n self.add_source_map(output);\n generator(self, output);\n output.append_comments(self);\n }\n output.push_node(self);\n if (force_parens || self.needs_parens(output)) {\n output.with_parens(doit);\n } else {\n doit();\n }\n output.pop_node();\n if (self === output.use_asm) {\n output.use_asm = null;\n }\n });\n AST_Node.DEFMETHOD(\"_print\", AST_Node.prototype.print);\n\n AST_Node.DEFMETHOD(\"print_to_string\", function(options) {\n var output = OutputStream(options);\n this.print(output);\n return output.get();\n });\n\n /* -----[ PARENTHESES ]----- */\n\n function PARENS(nodetype, func) {\n if (Array.isArray(nodetype)) {\n nodetype.forEach(function(nodetype) {\n PARENS(nodetype, func);\n });\n } else {\n nodetype.DEFMETHOD(\"needs_parens\", func);\n }\n }\n\n PARENS(AST_Node, return_false);\n\n // a function expression needs parens around it when it's provably\n // the first token to appear in a statement.\n PARENS(AST_Function, function(output) {\n if (!output.has_parens() && first_in_statement(output)) {\n return true;\n }\n\n if (output.option(\"webkit\")) {\n var p = output.parent();\n if (p instanceof AST_PropAccess && p.expression === this) {\n return true;\n }\n }\n\n if (output.option(\"wrap_iife\")) {\n var p = output.parent();\n if (p instanceof AST_Call && p.expression === this) {\n return true;\n }\n }\n\n if (output.option(\"wrap_func_args\")) {\n var p = output.parent();\n if (p instanceof AST_Call && p.args.includes(this)) {\n return true;\n }\n }\n\n return false;\n });\n\n PARENS(AST_Arrow, function(output) {\n var p = output.parent();\n\n if (\n output.option(\"wrap_func_args\")\n && p instanceof AST_Call\n && p.args.includes(this)\n ) {\n return true;\n }\n return p instanceof AST_PropAccess && p.expression === this;\n });\n\n // same goes for an object literal (as in AST_Function), because\n // otherwise {...} would be interpreted as a block of code.\n PARENS(AST_Object, function(output) {\n return !output.has_parens() && first_in_statement(output);\n });\n\n PARENS(AST_ClassExpression, first_in_statement);\n\n PARENS(AST_Unary, function(output) {\n var p = output.parent();\n return p instanceof AST_PropAccess && p.expression === this\n || p instanceof AST_Call && p.expression === this\n || p instanceof AST_Binary\n && p.operator === \"**\"\n && this instanceof AST_UnaryPrefix\n && p.left === this\n && this.operator !== \"++\"\n && this.operator !== \"--\";\n });\n\n PARENS(AST_Await, function(output) {\n var p = output.parent();\n return p instanceof AST_PropAccess && p.expression === this\n || p instanceof AST_Call && p.expression === this\n || p instanceof AST_Binary && p.operator === \"**\" && p.left === this\n || output.option(\"safari10\") && p instanceof AST_UnaryPrefix;\n });\n\n PARENS(AST_Sequence, function(output) {\n var p = output.parent();\n return p instanceof AST_Call // (foo, bar)() or foo(1, (2, 3), 4)\n || p instanceof AST_Unary // !(foo, bar, baz)\n || p instanceof AST_Binary // 1 + (2, 3) + 4 ==> 8\n || p instanceof AST_VarDef // var a = (1, 2), b = a + a; ==> b == 4\n || p instanceof AST_PropAccess // (1, {foo:2}).foo or (1, {foo:2})[\"foo\"] ==> 2\n || p instanceof AST_Array // [ 1, (2, 3), 4 ] ==> [ 1, 3, 4 ]\n || p instanceof AST_ObjectProperty // { foo: (1, 2) }.foo ==> 2\n || p instanceof AST_Conditional /* (false, true) ? (a = 10, b = 20) : (c = 30)\n * ==> 20 (side effect, set a := 10 and b := 20) */\n || p instanceof AST_Arrow // x => (x, x)\n || p instanceof AST_DefaultAssign // x => (x = (0, function(){}))\n || p instanceof AST_Expansion // [...(a, b)]\n || p instanceof AST_ForOf && this === p.object // for (e of (foo, bar)) {}\n || p instanceof AST_Yield // yield (foo, bar)\n || p instanceof AST_Export // export default (foo, bar)\n ;\n });\n\n PARENS(AST_Binary, function(output) {\n var p = output.parent();\n // (foo && bar)()\n if (p instanceof AST_Call && p.expression === this)\n return true;\n // typeof (foo && bar)\n if (p instanceof AST_Unary)\n return true;\n // (foo && bar)[\"prop\"], (foo && bar).prop\n if (p instanceof AST_PropAccess && p.expression === this)\n return true;\n // this deals with precedence: 3 * (2 + 1)\n if (p instanceof AST_Binary) {\n const po = p.operator;\n const so = this.operator;\n\n if (so === \"??\" && (po === \"||\" || po === \"&&\")) {\n return true;\n }\n\n if (po === \"??\" && (so === \"||\" || so === \"&&\")) {\n return true;\n }\n\n const pp = PRECEDENCE[po];\n const sp = PRECEDENCE[so];\n if (pp > sp\n || (pp == sp\n && (this === p.right || po == \"**\"))) {\n return true;\n }\n }\n });\n\n PARENS(AST_Yield, function(output) {\n var p = output.parent();\n // (yield 1) + (yield 2)\n // a = yield 3\n if (p instanceof AST_Binary && p.operator !== \"=\")\n return true;\n // (yield 1)()\n // new (yield 1)()\n if (p instanceof AST_Call && p.expression === this)\n return true;\n // (yield 1) ? yield 2 : yield 3\n if (p instanceof AST_Conditional && p.condition === this)\n return true;\n // -(yield 4)\n if (p instanceof AST_Unary)\n return true;\n // (yield x).foo\n // (yield x)['foo']\n if (p instanceof AST_PropAccess && p.expression === this)\n return true;\n });\n\n PARENS(AST_PropAccess, function(output) {\n var p = output.parent();\n if (p instanceof AST_New && p.expression === this) {\n // i.e. new (foo.bar().baz)\n //\n // if there's one call into this subtree, then we need\n // parens around it too, otherwise the call will be\n // interpreted as passing the arguments to the upper New\n // expression.\n return walk(this, node => {\n if (node instanceof AST_Scope) return true;\n if (node instanceof AST_Call) {\n return walk_abort; // makes walk() return true.\n }\n });\n }\n });\n\n PARENS(AST_Call, function(output) {\n var p = output.parent(), p1;\n if (p instanceof AST_New && p.expression === this\n || p instanceof AST_Export && p.is_default && this.expression instanceof AST_Function)\n return true;\n\n // workaround for Safari bug.\n // https://bugs.webkit.org/show_bug.cgi?id=123506\n return this.expression instanceof AST_Function\n && p instanceof AST_PropAccess\n && p.expression === this\n && (p1 = output.parent(1)) instanceof AST_Assign\n && p1.left === p;\n });\n\n PARENS(AST_New, function(output) {\n var p = output.parent();\n if (this.args.length === 0\n && (p instanceof AST_PropAccess // (new Date).getTime(), (new Date)[\"getTime\"]()\n || p instanceof AST_Call && p.expression === this\n || p instanceof AST_PrefixedTemplateString && p.prefix === this)) // (new foo)(bar)\n return true;\n });\n\n PARENS(AST_Number, function(output) {\n var p = output.parent();\n if (p instanceof AST_PropAccess && p.expression === this) {\n var value = this.getValue();\n if (value < 0 || /^0/.test(make_num(value))) {\n return true;\n }\n }\n });\n\n PARENS(AST_BigInt, function(output) {\n var p = output.parent();\n if (p instanceof AST_PropAccess && p.expression === this) {\n var value = this.getValue();\n if (value.startsWith(\"-\")) {\n return true;\n }\n }\n });\n\n PARENS([ AST_Assign, AST_Conditional ], function(output) {\n var p = output.parent();\n // !(a = false) → true\n if (p instanceof AST_Unary)\n return true;\n // 1 + (a = 2) + 3 → 6, side effect setting a = 2\n if (p instanceof AST_Binary && !(p instanceof AST_Assign))\n return true;\n // (a = func)() —or— new (a = Object)()\n if (p instanceof AST_Call && p.expression === this)\n return true;\n // (a = foo) ? bar : baz\n if (p instanceof AST_Conditional && p.condition === this)\n return true;\n // (a = foo)[\"prop\"] —or— (a = foo).prop\n if (p instanceof AST_PropAccess && p.expression === this)\n return true;\n // ({a, b} = {a: 1, b: 2}), a destructuring assignment\n if (this instanceof AST_Assign && this.left instanceof AST_Destructuring && this.left.is_array === false)\n return true;\n });\n\n /* -----[ PRINTERS ]----- */\n\n DEFPRINT(AST_Directive, function(self, output) {\n output.print_string(self.value, self.quote);\n output.semicolon();\n });\n\n DEFPRINT(AST_Expansion, function (self, output) {\n output.print(\"...\");\n self.expression.print(output);\n });\n\n DEFPRINT(AST_Destructuring, function (self, output) {\n output.print(self.is_array ? \"[\" : \"{\");\n var len = self.names.length;\n self.names.forEach(function (name, i) {\n if (i > 0) output.comma();\n name.print(output);\n // If the final element is a hole, we need to make sure it\n // doesn't look like a trailing comma, by inserting an actual\n // trailing comma.\n if (i == len - 1 && name instanceof AST_Hole) output.comma();\n });\n output.print(self.is_array ? \"]\" : \"}\");\n });\n\n DEFPRINT(AST_Debugger, function(self, output) {\n output.print(\"debugger\");\n output.semicolon();\n });\n\n /* -----[ statements ]----- */\n\n function display_body(body, is_toplevel, output, allow_directives) {\n var last = body.length - 1;\n output.in_directive = allow_directives;\n body.forEach(function(stmt, i) {\n if (output.in_directive === true && !(stmt instanceof AST_Directive ||\n stmt instanceof AST_EmptyStatement ||\n (stmt instanceof AST_SimpleStatement && stmt.body instanceof AST_String)\n )) {\n output.in_directive = false;\n }\n if (!(stmt instanceof AST_EmptyStatement)) {\n output.indent();\n stmt.print(output);\n if (!(i == last && is_toplevel)) {\n output.newline();\n if (is_toplevel) output.newline();\n }\n }\n if (output.in_directive === true &&\n stmt instanceof AST_SimpleStatement &&\n stmt.body instanceof AST_String\n ) {\n output.in_directive = false;\n }\n });\n output.in_directive = false;\n }\n\n AST_StatementWithBody.DEFMETHOD(\"_do_print_body\", function(output) {\n print_maybe_braced_body(this.body, output);\n });\n\n DEFPRINT(AST_Statement, function(self, output) {\n self.body.print(output);\n output.semicolon();\n });\n DEFPRINT(AST_Toplevel, function(self, output) {\n display_body(self.body, true, output, true);\n output.print(\"\");\n });\n DEFPRINT(AST_LabeledStatement, function(self, output) {\n self.label.print(output);\n output.colon();\n self.body.print(output);\n });\n DEFPRINT(AST_SimpleStatement, function(self, output) {\n self.body.print(output);\n output.semicolon();\n });\n function print_braced_empty(self, output) {\n output.print(\"{\");\n output.with_indent(output.next_indent(), function() {\n output.append_comments(self, true);\n });\n output.add_mapping(self.end);\n output.print(\"}\");\n }\n function print_braced(self, output, allow_directives) {\n if (self.body.length > 0) {\n output.with_block(function() {\n display_body(self.body, false, output, allow_directives);\n output.add_mapping(self.end);\n });\n } else print_braced_empty(self, output);\n }\n DEFPRINT(AST_BlockStatement, function(self, output) {\n print_braced(self, output);\n });\n DEFPRINT(AST_EmptyStatement, function(self, output) {\n output.semicolon();\n });\n DEFPRINT(AST_Do, function(self, output) {\n output.print(\"do\");\n output.space();\n make_block(self.body, output);\n output.space();\n output.print(\"while\");\n output.space();\n output.with_parens(function() {\n self.condition.print(output);\n });\n output.semicolon();\n });\n DEFPRINT(AST_While, function(self, output) {\n output.print(\"while\");\n output.space();\n output.with_parens(function() {\n self.condition.print(output);\n });\n output.space();\n self._do_print_body(output);\n });\n DEFPRINT(AST_For, function(self, output) {\n output.print(\"for\");\n output.space();\n output.with_parens(function() {\n if (self.init) {\n if (self.init instanceof AST_Definitions) {\n self.init.print(output);\n } else {\n parenthesize_for_noin(self.init, output, true);\n }\n output.print(\";\");\n output.space();\n } else {\n output.print(\";\");\n }\n if (self.condition) {\n self.condition.print(output);\n output.print(\";\");\n output.space();\n } else {\n output.print(\";\");\n }\n if (self.step) {\n self.step.print(output);\n }\n });\n output.space();\n self._do_print_body(output);\n });\n DEFPRINT(AST_ForIn, function(self, output) {\n output.print(\"for\");\n if (self.await) {\n output.space();\n output.print(\"await\");\n }\n output.space();\n output.with_parens(function() {\n self.init.print(output);\n output.space();\n output.print(self instanceof AST_ForOf ? \"of\" : \"in\");\n output.space();\n self.object.print(output);\n });\n output.space();\n self._do_print_body(output);\n });\n DEFPRINT(AST_With, function(self, output) {\n output.print(\"with\");\n output.space();\n output.with_parens(function() {\n self.expression.print(output);\n });\n output.space();\n self._do_print_body(output);\n });\n\n /* -----[ functions ]----- */\n AST_Lambda.DEFMETHOD(\"_do_print\", function(output, nokeyword) {\n var self = this;\n if (!nokeyword) {\n if (self.async) {\n output.print(\"async\");\n output.space();\n }\n output.print(\"function\");\n if (self.is_generator) {\n output.star();\n }\n if (self.name) {\n output.space();\n }\n }\n if (self.name instanceof AST_Symbol) {\n self.name.print(output);\n } else if (nokeyword && self.name instanceof AST_Node) {\n output.with_square(function() {\n self.name.print(output); // Computed method name\n });\n }\n output.with_parens(function() {\n self.argnames.forEach(function(arg, i) {\n if (i) output.comma();\n arg.print(output);\n });\n });\n output.space();\n print_braced(self, output, true);\n });\n DEFPRINT(AST_Lambda, function(self, output) {\n self._do_print(output);\n output.gc_scope(self);\n });\n\n DEFPRINT(AST_PrefixedTemplateString, function(self, output) {\n var tag = self.prefix;\n var parenthesize_tag = tag instanceof AST_Lambda\n || tag instanceof AST_Binary\n || tag instanceof AST_Conditional\n || tag instanceof AST_Sequence\n || tag instanceof AST_Unary\n || tag instanceof AST_Dot && tag.expression instanceof AST_Object;\n if (parenthesize_tag) output.print(\"(\");\n self.prefix.print(output);\n if (parenthesize_tag) output.print(\")\");\n self.template_string.print(output);\n });\n DEFPRINT(AST_TemplateString, function(self, output) {\n var is_tagged = output.parent() instanceof AST_PrefixedTemplateString;\n\n output.print(\"`\");\n for (var i = 0; i < self.segments.length; i++) {\n if (!(self.segments[i] instanceof AST_TemplateSegment)) {\n output.print(\"${\");\n self.segments[i].print(output);\n output.print(\"}\");\n } else if (is_tagged) {\n output.print(self.segments[i].raw);\n } else {\n output.print_template_string_chars(self.segments[i].value);\n }\n }\n output.print(\"`\");\n });\n DEFPRINT(AST_TemplateSegment, function(self, output) {\n output.print_template_string_chars(self.value);\n });\n\n AST_Arrow.DEFMETHOD(\"_do_print\", function(output) {\n var self = this;\n var parent = output.parent();\n var needs_parens = (parent instanceof AST_Binary && !(parent instanceof AST_Assign)) ||\n parent instanceof AST_Unary ||\n (parent instanceof AST_Call && self === parent.expression);\n if (needs_parens) { output.print(\"(\"); }\n if (self.async) {\n output.print(\"async\");\n output.space();\n }\n if (self.argnames.length === 1 && self.argnames[0] instanceof AST_Symbol) {\n self.argnames[0].print(output);\n } else {\n output.with_parens(function() {\n self.argnames.forEach(function(arg, i) {\n if (i) output.comma();\n arg.print(output);\n });\n });\n }\n output.space();\n output.print(\"=>\");\n output.space();\n const first_statement = self.body[0];\n if (\n self.body.length === 1\n && first_statement instanceof AST_Return\n ) {\n const returned = first_statement.value;\n if (!returned) {\n output.print(\"{}\");\n } else if (left_is_object(returned)) {\n output.print(\"(\");\n returned.print(output);\n output.print(\")\");\n } else {\n returned.print(output);\n }\n } else {\n print_braced(self, output);\n }\n if (needs_parens) { output.print(\")\"); }\n output.gc_scope(self);\n });\n\n /* -----[ exits ]----- */\n AST_Exit.DEFMETHOD(\"_do_print\", function(output, kind) {\n output.print(kind);\n if (this.value) {\n output.space();\n const comments = this.value.start.comments_before;\n if (comments && comments.length && !output.printed_comments.has(comments)) {\n output.print(\"(\");\n this.value.print(output);\n output.print(\")\");\n } else {\n this.value.print(output);\n }\n }\n output.semicolon();\n });\n DEFPRINT(AST_Return, function(self, output) {\n self._do_print(output, \"return\");\n });\n DEFPRINT(AST_Throw, function(self, output) {\n self._do_print(output, \"throw\");\n });\n\n /* -----[ yield ]----- */\n\n DEFPRINT(AST_Yield, function(self, output) {\n var star = self.is_star ? \"*\" : \"\";\n output.print(\"yield\" + star);\n if (self.expression) {\n output.space();\n self.expression.print(output);\n }\n });\n\n DEFPRINT(AST_Await, function(self, output) {\n output.print(\"await\");\n output.space();\n var e = self.expression;\n var parens = !(\n e instanceof AST_Call\n || e instanceof AST_SymbolRef\n || e instanceof AST_PropAccess\n || e instanceof AST_Unary\n || e instanceof AST_Constant\n || e instanceof AST_Await\n || e instanceof AST_Object\n );\n if (parens) output.print(\"(\");\n self.expression.print(output);\n if (parens) output.print(\")\");\n });\n\n /* -----[ loop control ]----- */\n AST_LoopControl.DEFMETHOD(\"_do_print\", function(output, kind) {\n output.print(kind);\n if (this.label) {\n output.space();\n this.label.print(output);\n }\n output.semicolon();\n });\n DEFPRINT(AST_Break, function(self, output) {\n self._do_print(output, \"break\");\n });\n DEFPRINT(AST_Continue, function(self, output) {\n self._do_print(output, \"continue\");\n });\n\n /* -----[ if ]----- */\n function make_then(self, output) {\n var b = self.body;\n if (output.option(\"braces\")\n || output.option(\"ie8\") && b instanceof AST_Do)\n return make_block(b, output);\n // The squeezer replaces \"block\"-s that contain only a single\n // statement with the statement itself; technically, the AST\n // is correct, but this can create problems when we output an\n // IF having an ELSE clause where the THEN clause ends in an\n // IF *without* an ELSE block (then the outer ELSE would refer\n // to the inner IF). This function checks for this case and\n // adds the block braces if needed.\n if (!b) return output.force_semicolon();\n while (true) {\n if (b instanceof AST_If) {\n if (!b.alternative) {\n make_block(self.body, output);\n return;\n }\n b = b.alternative;\n } else if (b instanceof AST_StatementWithBody) {\n b = b.body;\n } else break;\n }\n print_maybe_braced_body(self.body, output);\n }\n DEFPRINT(AST_If, function(self, output) {\n output.print(\"if\");\n output.space();\n output.with_parens(function() {\n self.condition.print(output);\n });\n output.space();\n if (self.alternative) {\n make_then(self, output);\n output.space();\n output.print(\"else\");\n output.space();\n if (self.alternative instanceof AST_If)\n self.alternative.print(output);\n else\n print_maybe_braced_body(self.alternative, output);\n } else {\n self._do_print_body(output);\n }\n });\n\n /* -----[ switch ]----- */\n DEFPRINT(AST_Switch, function(self, output) {\n output.print(\"switch\");\n output.space();\n output.with_parens(function() {\n self.expression.print(output);\n });\n output.space();\n var last = self.body.length - 1;\n if (last < 0) print_braced_empty(self, output);\n else output.with_block(function() {\n self.body.forEach(function(branch, i) {\n output.indent(true);\n branch.print(output);\n if (i < last && branch.body.length > 0)\n output.newline();\n });\n });\n });\n AST_SwitchBranch.DEFMETHOD(\"_do_print_body\", function(output) {\n output.newline();\n this.body.forEach(function(stmt) {\n output.indent();\n stmt.print(output);\n output.newline();\n });\n });\n DEFPRINT(AST_Default, function(self, output) {\n output.print(\"default:\");\n self._do_print_body(output);\n });\n DEFPRINT(AST_Case, function(self, output) {\n output.print(\"case\");\n output.space();\n self.expression.print(output);\n output.print(\":\");\n self._do_print_body(output);\n });\n\n /* -----[ exceptions ]----- */\n DEFPRINT(AST_Try, function(self, output) {\n output.print(\"try\");\n output.space();\n print_braced(self, output);\n if (self.bcatch) {\n output.space();\n self.bcatch.print(output);\n }\n if (self.bfinally) {\n output.space();\n self.bfinally.print(output);\n }\n });\n DEFPRINT(AST_Catch, function(self, output) {\n output.print(\"catch\");\n if (self.argname) {\n output.space();\n output.with_parens(function() {\n self.argname.print(output);\n });\n }\n output.space();\n print_braced(self, output);\n });\n DEFPRINT(AST_Finally, function(self, output) {\n output.print(\"finally\");\n output.space();\n print_braced(self, output);\n });\n\n /* -----[ var/const ]----- */\n AST_Definitions.DEFMETHOD(\"_do_print\", function(output, kind) {\n output.print(kind);\n output.space();\n this.definitions.forEach(function(def, i) {\n if (i) output.comma();\n def.print(output);\n });\n var p = output.parent();\n var in_for = p instanceof AST_For || p instanceof AST_ForIn;\n var output_semicolon = !in_for || p && p.init !== this;\n if (output_semicolon)\n output.semicolon();\n });\n DEFPRINT(AST_Let, function(self, output) {\n self._do_print(output, \"let\");\n });\n DEFPRINT(AST_Var, function(self, output) {\n self._do_print(output, \"var\");\n });\n DEFPRINT(AST_Const, function(self, output) {\n self._do_print(output, \"const\");\n });\n DEFPRINT(AST_Import, function(self, output) {\n output.print(\"import\");\n output.space();\n if (self.imported_name) {\n self.imported_name.print(output);\n }\n if (self.imported_name && self.imported_names) {\n output.print(\",\");\n output.space();\n }\n if (self.imported_names) {\n if (self.imported_names.length === 1 &&\n self.imported_names[0].foreign_name.name === \"*\" &&\n !self.imported_names[0].foreign_name.quote) {\n self.imported_names[0].print(output);\n } else {\n output.print(\"{\");\n self.imported_names.forEach(function (name_import, i) {\n output.space();\n name_import.print(output);\n if (i < self.imported_names.length - 1) {\n output.print(\",\");\n }\n });\n output.space();\n output.print(\"}\");\n }\n }\n if (self.imported_name || self.imported_names) {\n output.space();\n output.print(\"from\");\n output.space();\n }\n self.module_name.print(output);\n if (self.assert_clause) {\n output.print(\"assert\");\n self.assert_clause.print(output);\n }\n output.semicolon();\n });\n DEFPRINT(AST_ImportMeta, function(self, output) {\n output.print(\"import.meta\");\n });\n\n DEFPRINT(AST_NameMapping, function(self, output) {\n var is_import = output.parent() instanceof AST_Import;\n var definition = self.name.definition();\n var foreign_name = self.foreign_name;\n var names_are_different =\n (definition && definition.mangled_name || self.name.name) !==\n foreign_name.name;\n if (!names_are_different &&\n foreign_name.name === \"*\" &&\n foreign_name.quote != self.name.quote) {\n // export * as \"*\"\n names_are_different = true;\n }\n var foreign_name_is_name = foreign_name.quote == null;\n if (names_are_different) {\n if (is_import) {\n if (foreign_name_is_name) {\n output.print(foreign_name.name);\n } else {\n output.print_string(foreign_name.name, foreign_name.quote);\n }\n } else {\n if (self.name.quote == null) {\n self.name.print(output);\n } else {\n output.print_string(self.name.name, self.name.quote);\n }\n \n }\n output.space();\n output.print(\"as\");\n output.space();\n if (is_import) {\n self.name.print(output);\n } else {\n if (foreign_name_is_name) {\n output.print(foreign_name.name);\n } else {\n output.print_string(foreign_name.name, foreign_name.quote);\n }\n }\n } else {\n if (self.name.quote == null) {\n self.name.print(output);\n } else {\n output.print_string(self.name.name, self.name.quote);\n }\n }\n });\n\n DEFPRINT(AST_Export, function(self, output) {\n output.print(\"export\");\n output.space();\n if (self.is_default) {\n output.print(\"default\");\n output.space();\n }\n if (self.exported_names) {\n if (self.exported_names.length === 1 &&\n self.exported_names[0].name.name === \"*\" &&\n !self.exported_names[0].name.quote) {\n self.exported_names[0].print(output);\n } else {\n output.print(\"{\");\n self.exported_names.forEach(function(name_export, i) {\n output.space();\n name_export.print(output);\n if (i < self.exported_names.length - 1) {\n output.print(\",\");\n }\n });\n output.space();\n output.print(\"}\");\n }\n } else if (self.exported_value) {\n self.exported_value.print(output);\n } else if (self.exported_definition) {\n self.exported_definition.print(output);\n if (self.exported_definition instanceof AST_Definitions) return;\n }\n if (self.module_name) {\n output.space();\n output.print(\"from\");\n output.space();\n self.module_name.print(output);\n }\n if (self.assert_clause) {\n output.print(\"assert\");\n self.assert_clause.print(output);\n }\n if (self.exported_value\n && !(self.exported_value instanceof AST_Defun ||\n self.exported_value instanceof AST_Function ||\n self.exported_value instanceof AST_Class)\n || self.module_name\n || self.exported_names\n ) {\n output.semicolon();\n }\n });\n\n function parenthesize_for_noin(node, output, noin) {\n var parens = false;\n // need to take some precautions here:\n // https://github.com/mishoo/UglifyJS2/issues/60\n if (noin) {\n parens = walk(node, node => {\n // Don't go into scopes -- except arrow functions:\n // https://github.com/terser/terser/issues/1019#issuecomment-877642607\n if (node instanceof AST_Scope && !(node instanceof AST_Arrow)) {\n return true;\n }\n if (\n node instanceof AST_Binary && node.operator == \"in\"\n || node instanceof AST_PrivateIn\n ) {\n return walk_abort; // makes walk() return true\n }\n });\n }\n node.print(output, parens);\n }\n\n DEFPRINT(AST_VarDef, function(self, output) {\n self.name.print(output);\n if (self.value) {\n output.space();\n output.print(\"=\");\n output.space();\n var p = output.parent(1);\n var noin = p instanceof AST_For || p instanceof AST_ForIn;\n parenthesize_for_noin(self.value, output, noin);\n }\n });\n\n /* -----[ other expressions ]----- */\n DEFPRINT(AST_Call, function(self, output) {\n self.expression.print(output);\n if (self instanceof AST_New && self.args.length === 0)\n return;\n if (self.expression instanceof AST_Call || self.expression instanceof AST_Lambda) {\n output.add_mapping(self.start);\n }\n if (self.optional) output.print(\"?.\");\n output.with_parens(function() {\n self.args.forEach(function(expr, i) {\n if (i) output.comma();\n expr.print(output);\n });\n });\n });\n DEFPRINT(AST_New, function(self, output) {\n output.print(\"new\");\n output.space();\n AST_Call.prototype._codegen(self, output);\n });\n\n AST_Sequence.DEFMETHOD(\"_do_print\", function(output) {\n this.expressions.forEach(function(node, index) {\n if (index > 0) {\n output.comma();\n if (output.should_break()) {\n output.newline();\n output.indent();\n }\n }\n node.print(output);\n });\n });\n DEFPRINT(AST_Sequence, function(self, output) {\n self._do_print(output);\n // var p = output.parent();\n // if (p instanceof AST_Statement) {\n // output.with_indent(output.next_indent(), function(){\n // self._do_print(output);\n // });\n // } else {\n // self._do_print(output);\n // }\n });\n DEFPRINT(AST_Dot, function(self, output) {\n var expr = self.expression;\n expr.print(output);\n var prop = self.property;\n var print_computed = ALL_RESERVED_WORDS.has(prop)\n ? output.option(\"ie8\")\n : !is_identifier_string(\n prop,\n output.option(\"ecma\") >= 2015 || output.option(\"safari10\")\n );\n\n if (self.optional) output.print(\"?.\");\n\n if (print_computed) {\n output.print(\"[\");\n output.add_mapping(self.end);\n output.print_string(prop);\n output.print(\"]\");\n } else {\n if (expr instanceof AST_Number && expr.getValue() >= 0) {\n if (!/[xa-f.)]/i.test(output.last())) {\n output.print(\".\");\n }\n }\n if (!self.optional) output.print(\".\");\n // the name after dot would be mapped about here.\n output.add_mapping(self.end);\n output.print_name(prop);\n }\n });\n DEFPRINT(AST_DotHash, function(self, output) {\n var expr = self.expression;\n expr.print(output);\n var prop = self.property;\n\n if (self.optional) output.print(\"?\");\n output.print(\".#\");\n output.add_mapping(self.end);\n output.print_name(prop);\n });\n DEFPRINT(AST_Sub, function(self, output) {\n self.expression.print(output);\n if (self.optional) output.print(\"?.\");\n output.print(\"[\");\n self.property.print(output);\n output.print(\"]\");\n });\n DEFPRINT(AST_Chain, function(self, output) {\n self.expression.print(output);\n });\n DEFPRINT(AST_UnaryPrefix, function(self, output) {\n var op = self.operator;\n output.print(op);\n if (/^[a-z]/i.test(op)\n || (/[+-]$/.test(op)\n && self.expression instanceof AST_UnaryPrefix\n && /^[+-]/.test(self.expression.operator))) {\n output.space();\n }\n self.expression.print(output);\n });\n DEFPRINT(AST_UnaryPostfix, function(self, output) {\n self.expression.print(output);\n output.print(self.operator);\n });\n DEFPRINT(AST_Binary, function(self, output) {\n var op = self.operator;\n self.left.print(output);\n if (op[0] == \">\" /* \">>\" \">>>\" \">\" \">=\" */\n && self.left instanceof AST_UnaryPostfix\n && self.left.operator == \"--\") {\n // space is mandatory to avoid outputting -->\n output.print(\" \");\n } else {\n // the space is optional depending on \"beautify\"\n output.space();\n }\n output.print(op);\n if ((op == \"<\" || op == \"<<\")\n && self.right instanceof AST_UnaryPrefix\n && self.right.operator == \"!\"\n && self.right.expression instanceof AST_UnaryPrefix\n && self.right.expression.operator == \"--\") {\n // space is mandatory to avoid outputting <!--\n output.print(\" \");\n } else {\n // the space is optional depending on \"beautify\"\n output.space();\n }\n self.right.print(output);\n });\n DEFPRINT(AST_Conditional, function(self, output) {\n self.condition.print(output);\n output.space();\n output.print(\"?\");\n output.space();\n self.consequent.print(output);\n output.space();\n output.colon();\n self.alternative.print(output);\n });\n\n /* -----[ literals ]----- */\n DEFPRINT(AST_Array, function(self, output) {\n output.with_square(function() {\n var a = self.elements, len = a.length;\n if (len > 0) output.space();\n a.forEach(function(exp, i) {\n if (i) output.comma();\n exp.print(output);\n // If the final element is a hole, we need to make sure it\n // doesn't look like a trailing comma, by inserting an actual\n // trailing comma.\n if (i === len - 1 && exp instanceof AST_Hole)\n output.comma();\n });\n if (len > 0) output.space();\n });\n });\n DEFPRINT(AST_Object, function(self, output) {\n if (self.properties.length > 0) output.with_block(function() {\n self.properties.forEach(function(prop, i) {\n if (i) {\n output.print(\",\");\n output.newline();\n }\n output.indent();\n prop.print(output);\n });\n output.newline();\n });\n else print_braced_empty(self, output);\n });\n DEFPRINT(AST_Class, function(self, output) {\n output.print(\"class\");\n output.space();\n if (self.name) {\n self.name.print(output);\n output.space();\n }\n if (self.extends) {\n var parens = (\n !(self.extends instanceof AST_SymbolRef)\n && !(self.extends instanceof AST_PropAccess)\n && !(self.extends instanceof AST_ClassExpression)\n && !(self.extends instanceof AST_Function)\n );\n output.print(\"extends\");\n if (parens) {\n output.print(\"(\");\n } else {\n output.space();\n }\n self.extends.print(output);\n if (parens) {\n output.print(\")\");\n } else {\n output.space();\n }\n }\n if (self.properties.length > 0) output.with_block(function() {\n self.properties.forEach(function(prop, i) {\n if (i) {\n output.newline();\n }\n output.indent();\n prop.print(output);\n });\n output.newline();\n });\n else output.print(\"{}\");\n });\n DEFPRINT(AST_NewTarget, function(self, output) {\n output.print(\"new.target\");\n });\n\n function print_property_name(key, quote, output) {\n if (output.option(\"quote_keys\")) {\n return output.print_string(key);\n }\n if (\"\" + +key == key && key >= 0) {\n if (output.option(\"keep_numbers\")) {\n return output.print(key);\n }\n return output.print(make_num(key));\n }\n var print_string = ALL_RESERVED_WORDS.has(key)\n ? output.option(\"ie8\")\n : (\n output.option(\"ecma\") < 2015 || output.option(\"safari10\")\n ? !is_basic_identifier_string(key)\n : !is_identifier_string(key, true)\n );\n if (print_string || (quote && output.option(\"keep_quoted_props\"))) {\n return output.print_string(key, quote);\n }\n return output.print_name(key);\n }\n\n DEFPRINT(AST_ObjectKeyVal, function(self, output) {\n function get_name(self) {\n var def = self.definition();\n return def ? def.mangled_name || def.name : self.name;\n }\n\n var allowShortHand = output.option(\"shorthand\");\n if (allowShortHand &&\n self.value instanceof AST_Symbol &&\n is_identifier_string(\n self.key,\n output.option(\"ecma\") >= 2015 || output.option(\"safari10\")\n ) &&\n get_name(self.value) === self.key &&\n !ALL_RESERVED_WORDS.has(self.key)\n ) {\n print_property_name(self.key, self.quote, output);\n\n } else if (allowShortHand &&\n self.value instanceof AST_DefaultAssign &&\n self.value.left instanceof AST_Symbol &&\n is_identifier_string(\n self.key,\n output.option(\"ecma\") >= 2015 || output.option(\"safari10\")\n ) &&\n get_name(self.value.left) === self.key\n ) {\n print_property_name(self.key, self.quote, output);\n output.space();\n output.print(\"=\");\n output.space();\n self.value.right.print(output);\n } else {\n if (!(self.key instanceof AST_Node)) {\n print_property_name(self.key, self.quote, output);\n } else {\n output.with_square(function() {\n self.key.print(output);\n });\n }\n output.colon();\n self.value.print(output);\n }\n });\n DEFPRINT(AST_ClassPrivateProperty, (self, output) => {\n if (self.static) {\n output.print(\"static\");\n output.space();\n }\n\n output.print(\"#\");\n \n print_property_name(self.key.name, self.quote, output);\n\n if (self.value) {\n output.print(\"=\");\n self.value.print(output);\n }\n\n output.semicolon();\n });\n DEFPRINT(AST_ClassProperty, (self, output) => {\n if (self.static) {\n output.print(\"static\");\n output.space();\n }\n\n if (self.key instanceof AST_SymbolClassProperty) {\n print_property_name(self.key.name, self.quote, output);\n } else {\n output.print(\"[\");\n self.key.print(output);\n output.print(\"]\");\n }\n\n if (self.value) {\n output.print(\"=\");\n self.value.print(output);\n }\n\n output.semicolon();\n });\n AST_ObjectProperty.DEFMETHOD(\"_print_getter_setter\", function(type, is_private, output) {\n var self = this;\n if (self.static) {\n output.print(\"static\");\n output.space();\n }\n if (type) {\n output.print(type);\n output.space();\n }\n if (self.key instanceof AST_SymbolMethod) {\n if (is_private) output.print(\"#\");\n print_property_name(self.key.name, self.quote, output);\n } else {\n output.with_square(function() {\n self.key.print(output);\n });\n }\n self.value._do_print(output, true);\n });\n DEFPRINT(AST_ObjectSetter, function(self, output) {\n self._print_getter_setter(\"set\", false, output);\n });\n DEFPRINT(AST_ObjectGetter, function(self, output) {\n self._print_getter_setter(\"get\", false, output);\n });\n DEFPRINT(AST_PrivateSetter, function(self, output) {\n self._print_getter_setter(\"set\", true, output);\n });\n DEFPRINT(AST_PrivateGetter, function(self, output) {\n self._print_getter_setter(\"get\", true, output);\n });\n DEFPRINT(AST_PrivateMethod, function(self, output) {\n var type;\n if (self.is_generator && self.async) {\n type = \"async*\";\n } else if (self.is_generator) {\n type = \"*\";\n } else if (self.async) {\n type = \"async\";\n }\n self._print_getter_setter(type, true, output);\n });\n DEFPRINT(AST_PrivateIn, function(self, output) {\n self.key.print(output);\n output.space();\n output.print(\"in\");\n output.space();\n self.value.print(output);\n });\n DEFPRINT(AST_SymbolPrivateProperty, function(self, output) {\n output.print(\"#\" + self.name);\n });\n DEFPRINT(AST_ConciseMethod, function(self, output) {\n var type;\n if (self.is_generator && self.async) {\n type = \"async*\";\n } else if (self.is_generator) {\n type = \"*\";\n } else if (self.async) {\n type = \"async\";\n }\n self._print_getter_setter(type, false, output);\n });\n DEFPRINT(AST_ClassStaticBlock, function (self, output) {\n output.print(\"static\");\n output.space();\n print_braced(self, output);\n });\n AST_Symbol.DEFMETHOD(\"_do_print\", function(output) {\n var def = this.definition();\n output.print_name(def ? def.mangled_name || def.name : this.name);\n });\n DEFPRINT(AST_Symbol, function (self, output) {\n self._do_print(output);\n });\n DEFPRINT(AST_Hole, noop);\n DEFPRINT(AST_This, function(self, output) {\n output.print(\"this\");\n });\n DEFPRINT(AST_Super, function(self, output) {\n output.print(\"super\");\n });\n DEFPRINT(AST_Constant, function(self, output) {\n output.print(self.getValue());\n });\n DEFPRINT(AST_String, function(self, output) {\n output.print_string(self.getValue(), self.quote, output.in_directive);\n });\n DEFPRINT(AST_Number, function(self, output) {\n if ((output.option(\"keep_numbers\") || output.use_asm) && self.raw) {\n output.print(self.raw);\n } else {\n output.print(make_num(self.getValue()));\n }\n });\n DEFPRINT(AST_BigInt, function(self, output) {\n output.print(self.getValue() + \"n\");\n });\n\n const r_slash_script = /(<\\s*\\/\\s*script)/i;\n const slash_script_replace = (_, $1) => $1.replace(\"/\", \"\\\\/\");\n DEFPRINT(AST_RegExp, function(self, output) {\n let { source, flags } = self.getValue();\n source = regexp_source_fix(source);\n flags = flags ? sort_regexp_flags(flags) : \"\";\n source = source.replace(r_slash_script, slash_script_replace);\n\n output.print(output.to_utf8(`/${source}/${flags}`, false, true));\n\n const parent = output.parent();\n if (\n parent instanceof AST_Binary\n && /^\\w/.test(parent.operator)\n && parent.left === self\n ) {\n output.print(\" \");\n }\n });\n\n /** if, for, while, may or may not have braces surrounding its body */\n function print_maybe_braced_body(stat, output) {\n if (output.option(\"braces\")) {\n make_block(stat, output);\n } else {\n if (!stat || stat instanceof AST_EmptyStatement)\n output.force_semicolon();\n else if (stat instanceof AST_Let || stat instanceof AST_Const || stat instanceof AST_Class)\n make_block(stat, output);\n else\n stat.print(output);\n }\n }\n\n function best_of(a) {\n var best = a[0], len = best.length;\n for (var i = 1; i < a.length; ++i) {\n if (a[i].length < len) {\n best = a[i];\n len = best.length;\n }\n }\n return best;\n }\n\n function make_num(num) {\n var str = num.toString(10).replace(/^0\\./, \".\").replace(\"e+\", \"e\");\n var candidates = [ str ];\n if (Math.floor(num) === num) {\n if (num < 0) {\n candidates.push(\"-0x\" + (-num).toString(16).toLowerCase());\n } else {\n candidates.push(\"0x\" + num.toString(16).toLowerCase());\n }\n }\n var match, len, digits;\n if (match = /^\\.0+/.exec(str)) {\n len = match[0].length;\n digits = str.slice(len);\n candidates.push(digits + \"e-\" + (digits.length + len - 1));\n } else if (match = /0+$/.exec(str)) {\n len = match[0].length;\n candidates.push(str.slice(0, -len) + \"e\" + len);\n } else if (match = /^(\\d)\\.(\\d+)e(-?\\d+)$/.exec(str)) {\n candidates.push(match[1] + match[2] + \"e\" + (match[3] - match[2].length));\n }\n return best_of(candidates);\n }\n\n function make_block(stmt, output) {\n if (!stmt || stmt instanceof AST_EmptyStatement)\n output.print(\"{}\");\n else if (stmt instanceof AST_BlockStatement)\n stmt.print(output);\n else output.with_block(function() {\n output.indent();\n stmt.print(output);\n output.newline();\n });\n }\n\n /* -----[ source map generators ]----- */\n\n function DEFMAP(nodetype, generator) {\n nodetype.forEach(function(nodetype) {\n nodetype.DEFMETHOD(\"add_source_map\", generator);\n });\n }\n\n DEFMAP([\n // We could easily add info for ALL nodes, but it seems to me that\n // would be quite wasteful, hence this noop in the base class.\n AST_Node,\n // since the label symbol will mark it\n AST_LabeledStatement,\n AST_Toplevel,\n ], noop);\n\n // XXX: I'm not exactly sure if we need it for all of these nodes,\n // or if we should add even more.\n DEFMAP([\n AST_Array,\n AST_BlockStatement,\n AST_Catch,\n AST_Class,\n AST_Constant,\n AST_Debugger,\n AST_Definitions,\n AST_Directive,\n AST_Finally,\n AST_Jump,\n AST_Lambda,\n AST_New,\n AST_Object,\n AST_StatementWithBody,\n AST_Symbol,\n AST_Switch,\n AST_SwitchBranch,\n AST_TemplateString,\n AST_TemplateSegment,\n AST_Try,\n ], function(output) {\n output.add_mapping(this.start);\n });\n\n DEFMAP([\n AST_ObjectGetter,\n AST_ObjectSetter,\n AST_PrivateGetter,\n AST_PrivateSetter,\n ], function(output) {\n output.add_mapping(this.key.end, this.key.name);\n });\n\n DEFMAP([ AST_ObjectProperty ], function(output) {\n output.add_mapping(this.start, this.key);\n });\n})();\n\nconst shallow_cmp = (node1, node2) => {\n return (\n node1 === null && node2 === null\n || node1.TYPE === node2.TYPE && node1.shallow_cmp(node2)\n );\n};\n\nconst equivalent_to = (tree1, tree2) => {\n if (!shallow_cmp(tree1, tree2)) return false;\n const walk_1_state = [tree1];\n const walk_2_state = [tree2];\n\n const walk_1_push = walk_1_state.push.bind(walk_1_state);\n const walk_2_push = walk_2_state.push.bind(walk_2_state);\n\n while (walk_1_state.length && walk_2_state.length) {\n const node_1 = walk_1_state.pop();\n const node_2 = walk_2_state.pop();\n\n if (!shallow_cmp(node_1, node_2)) return false;\n\n node_1._children_backwards(walk_1_push);\n node_2._children_backwards(walk_2_push);\n\n if (walk_1_state.length !== walk_2_state.length) {\n // Different number of children\n return false;\n }\n }\n\n return walk_1_state.length == 0 && walk_2_state.length == 0;\n};\n\nconst pass_through = () => true;\n\nAST_Node.prototype.shallow_cmp = function () {\n throw new Error(\"did not find a shallow_cmp function for \" + this.constructor.name);\n};\n\nAST_Debugger.prototype.shallow_cmp = pass_through;\n\nAST_Directive.prototype.shallow_cmp = function(other) {\n return this.value === other.value;\n};\n\nAST_SimpleStatement.prototype.shallow_cmp = pass_through;\n\nAST_Block.prototype.shallow_cmp = pass_through;\n\nAST_EmptyStatement.prototype.shallow_cmp = pass_through;\n\nAST_LabeledStatement.prototype.shallow_cmp = function(other) {\n return this.label.name === other.label.name;\n};\n\nAST_Do.prototype.shallow_cmp = pass_through;\n\nAST_While.prototype.shallow_cmp = pass_through;\n\nAST_For.prototype.shallow_cmp = function(other) {\n return (this.init == null ? other.init == null : this.init === other.init) && (this.condition == null ? other.condition == null : this.condition === other.condition) && (this.step == null ? other.step == null : this.step === other.step);\n};\n\nAST_ForIn.prototype.shallow_cmp = pass_through;\n\nAST_ForOf.prototype.shallow_cmp = pass_through;\n\nAST_With.prototype.shallow_cmp = pass_through;\n\nAST_Toplevel.prototype.shallow_cmp = pass_through;\n\nAST_Expansion.prototype.shallow_cmp = pass_through;\n\nAST_Lambda.prototype.shallow_cmp = function(other) {\n return this.is_generator === other.is_generator && this.async === other.async;\n};\n\nAST_Destructuring.prototype.shallow_cmp = function(other) {\n return this.is_array === other.is_array;\n};\n\nAST_PrefixedTemplateString.prototype.shallow_cmp = pass_through;\n\nAST_TemplateString.prototype.shallow_cmp = pass_through;\n\nAST_TemplateSegment.prototype.shallow_cmp = function(other) {\n return this.value === other.value;\n};\n\nAST_Jump.prototype.shallow_cmp = pass_through;\n\nAST_LoopControl.prototype.shallow_cmp = pass_through;\n\nAST_Await.prototype.shallow_cmp = pass_through;\n\nAST_Yield.prototype.shallow_cmp = function(other) {\n return this.is_star === other.is_star;\n};\n\nAST_If.prototype.shallow_cmp = function(other) {\n return this.alternative == null ? other.alternative == null : this.alternative === other.alternative;\n};\n\nAST_Switch.prototype.shallow_cmp = pass_through;\n\nAST_SwitchBranch.prototype.shallow_cmp = pass_through;\n\nAST_Try.prototype.shallow_cmp = function(other) {\n return (this.bcatch == null ? other.bcatch == null : this.bcatch === other.bcatch) && (this.bfinally == null ? other.bfinally == null : this.bfinally === other.bfinally);\n};\n\nAST_Catch.prototype.shallow_cmp = function(other) {\n return this.argname == null ? other.argname == null : this.argname === other.argname;\n};\n\nAST_Finally.prototype.shallow_cmp = pass_through;\n\nAST_Definitions.prototype.shallow_cmp = pass_through;\n\nAST_VarDef.prototype.shallow_cmp = function(other) {\n return this.value == null ? other.value == null : this.value === other.value;\n};\n\nAST_NameMapping.prototype.shallow_cmp = pass_through;\n\nAST_Import.prototype.shallow_cmp = function(other) {\n return (this.imported_name == null ? other.imported_name == null : this.imported_name === other.imported_name) && (this.imported_names == null ? other.imported_names == null : this.imported_names === other.imported_names);\n};\n\nAST_ImportMeta.prototype.shallow_cmp = pass_through;\n\nAST_Export.prototype.shallow_cmp = function(other) {\n return (this.exported_definition == null ? other.exported_definition == null : this.exported_definition === other.exported_definition) && (this.exported_value == null ? other.exported_value == null : this.exported_value === other.exported_value) && (this.exported_names == null ? other.exported_names == null : this.exported_names === other.exported_names) && this.module_name === other.module_name && this.is_default === other.is_default;\n};\n\nAST_Call.prototype.shallow_cmp = pass_through;\n\nAST_Sequence.prototype.shallow_cmp = pass_through;\n\nAST_PropAccess.prototype.shallow_cmp = pass_through;\n\nAST_Chain.prototype.shallow_cmp = pass_through;\n\nAST_Dot.prototype.shallow_cmp = function(other) {\n return this.property === other.property;\n};\n\nAST_DotHash.prototype.shallow_cmp = function(other) {\n return this.property === other.property;\n};\n\nAST_Unary.prototype.shallow_cmp = function(other) {\n return this.operator === other.operator;\n};\n\nAST_Binary.prototype.shallow_cmp = function(other) {\n return this.operator === other.operator;\n};\n\nAST_Conditional.prototype.shallow_cmp = pass_through;\n\nAST_Array.prototype.shallow_cmp = pass_through;\n\nAST_Object.prototype.shallow_cmp = pass_through;\n\nAST_ObjectProperty.prototype.shallow_cmp = pass_through;\n\nAST_ObjectKeyVal.prototype.shallow_cmp = function(other) {\n return this.key === other.key;\n};\n\nAST_ObjectSetter.prototype.shallow_cmp = function(other) {\n return this.static === other.static;\n};\n\nAST_ObjectGetter.prototype.shallow_cmp = function(other) {\n return this.static === other.static;\n};\n\nAST_ConciseMethod.prototype.shallow_cmp = function(other) {\n return this.static === other.static && this.is_generator === other.is_generator && this.async === other.async;\n};\n\nAST_Class.prototype.shallow_cmp = function(other) {\n return (this.name == null ? other.name == null : this.name === other.name) && (this.extends == null ? other.extends == null : this.extends === other.extends);\n};\n\nAST_ClassProperty.prototype.shallow_cmp = function(other) {\n return this.static === other.static;\n};\n\nAST_Symbol.prototype.shallow_cmp = function(other) {\n return this.name === other.name;\n};\n\nAST_NewTarget.prototype.shallow_cmp = pass_through;\n\nAST_This.prototype.shallow_cmp = pass_through;\n\nAST_Super.prototype.shallow_cmp = pass_through;\n\nAST_String.prototype.shallow_cmp = function(other) {\n return this.value === other.value;\n};\n\nAST_Number.prototype.shallow_cmp = function(other) {\n return this.value === other.value;\n};\n\nAST_BigInt.prototype.shallow_cmp = function(other) {\n return this.value === other.value;\n};\n\nAST_RegExp.prototype.shallow_cmp = function (other) {\n return (\n this.value.flags === other.value.flags\n && this.value.source === other.value.source\n );\n};\n\nAST_Atom.prototype.shallow_cmp = pass_through;\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nconst MASK_EXPORT_DONT_MANGLE = 1 << 0;\nconst MASK_EXPORT_WANT_MANGLE = 1 << 1;\n\nlet function_defs = null;\nlet unmangleable_names = null;\n/**\n * When defined, there is a function declaration somewhere that's inside of a block.\n * See https://tc39.es/ecma262/multipage/additional-ecmascript-features-for-web-browsers.html#sec-block-level-function-declarations-web-legacy-compatibility-semantics\n*/\nlet scopes_with_block_defuns = null;\n\nclass SymbolDef {\n constructor(scope, orig, init) {\n this.name = orig.name;\n this.orig = [ orig ];\n this.init = init;\n this.eliminated = 0;\n this.assignments = 0;\n this.scope = scope;\n this.replaced = 0;\n this.global = false;\n this.export = 0;\n this.mangled_name = null;\n this.undeclared = false;\n this.id = SymbolDef.next_id++;\n this.chained = false;\n this.direct_access = false;\n this.escaped = 0;\n this.recursive_refs = 0;\n this.references = [];\n this.should_replace = undefined;\n this.single_use = false;\n this.fixed = false;\n Object.seal(this);\n }\n fixed_value() {\n if (!this.fixed || this.fixed instanceof AST_Node) return this.fixed;\n return this.fixed();\n }\n unmangleable(options) {\n if (!options) options = {};\n\n if (\n function_defs &&\n function_defs.has(this.id) &&\n keep_name(options.keep_fnames, this.orig[0].name)\n ) return true;\n\n return this.global && !options.toplevel\n || (this.export & MASK_EXPORT_DONT_MANGLE)\n || this.undeclared\n || !options.eval && this.scope.pinned()\n || (this.orig[0] instanceof AST_SymbolLambda\n || this.orig[0] instanceof AST_SymbolDefun) && keep_name(options.keep_fnames, this.orig[0].name)\n || this.orig[0] instanceof AST_SymbolMethod\n || (this.orig[0] instanceof AST_SymbolClass\n || this.orig[0] instanceof AST_SymbolDefClass) && keep_name(options.keep_classnames, this.orig[0].name);\n }\n mangle(options) {\n const cache = options.cache && options.cache.props;\n if (this.global && cache && cache.has(this.name)) {\n this.mangled_name = cache.get(this.name);\n } else if (!this.mangled_name && !this.unmangleable(options)) {\n var s = this.scope;\n var sym = this.orig[0];\n if (options.ie8 && sym instanceof AST_SymbolLambda)\n s = s.parent_scope;\n const redefinition = redefined_catch_def(this);\n this.mangled_name = redefinition\n ? redefinition.mangled_name || redefinition.name\n : s.next_mangled(options, this);\n if (this.global && cache) {\n cache.set(this.name, this.mangled_name);\n }\n }\n }\n}\n\nSymbolDef.next_id = 1;\n\nfunction redefined_catch_def(def) {\n if (def.orig[0] instanceof AST_SymbolCatch\n && def.scope.is_block_scope()\n ) {\n return def.scope.get_defun_scope().variables.get(def.name);\n }\n}\n\nAST_Scope.DEFMETHOD(\"figure_out_scope\", function(options, { parent_scope = null, toplevel = this } = {}) {\n options = defaults(options, {\n cache: null,\n ie8: false,\n safari10: false,\n });\n\n if (!(toplevel instanceof AST_Toplevel)) {\n throw new Error(\"Invalid toplevel scope\");\n }\n\n // pass 1: setup scope chaining and handle definitions\n var scope = this.parent_scope = parent_scope;\n var labels = new Map();\n var defun = null;\n var in_destructuring = null;\n var for_scopes = [];\n var tw = new TreeWalker((node, descend) => {\n if (node.is_block_scope()) {\n const save_scope = scope;\n node.block_scope = scope = new AST_Scope(node);\n scope._block_scope = true;\n // AST_Try in the AST sadly *is* (not has) a body itself,\n // and its catch and finally branches are children of the AST_Try itself\n const parent_scope = node instanceof AST_Catch\n ? save_scope.parent_scope\n : save_scope;\n scope.init_scope_vars(parent_scope);\n scope.uses_with = save_scope.uses_with;\n scope.uses_eval = save_scope.uses_eval;\n\n if (options.safari10) {\n if (node instanceof AST_For || node instanceof AST_ForIn || node instanceof AST_ForOf) {\n for_scopes.push(scope);\n }\n }\n\n if (node instanceof AST_Switch) {\n // XXX: HACK! Ensure the switch expression gets the correct scope (the parent scope) and the body gets the contained scope\n // AST_Switch has a scope within the body, but it itself \"is a block scope\"\n // This means the switched expression has to belong to the outer scope\n // while the body inside belongs to the switch itself.\n // This is pretty nasty and warrants an AST change similar to AST_Try (read above)\n const the_block_scope = scope;\n scope = save_scope;\n node.expression.walk(tw);\n scope = the_block_scope;\n for (let i = 0; i < node.body.length; i++) {\n node.body[i].walk(tw);\n }\n } else {\n descend();\n }\n scope = save_scope;\n return true;\n }\n if (node instanceof AST_Destructuring) {\n const save_destructuring = in_destructuring;\n in_destructuring = node;\n descend();\n in_destructuring = save_destructuring;\n return true;\n }\n if (node instanceof AST_Scope) {\n node.init_scope_vars(scope);\n var save_scope = scope;\n var save_defun = defun;\n var save_labels = labels;\n defun = scope = node;\n labels = new Map();\n descend();\n scope = save_scope;\n defun = save_defun;\n labels = save_labels;\n return true; // don't descend again in TreeWalker\n }\n if (node instanceof AST_LabeledStatement) {\n var l = node.label;\n if (labels.has(l.name)) {\n throw new Error(string_template(\"Label {name} defined twice\", l));\n }\n labels.set(l.name, l);\n descend();\n labels.delete(l.name);\n return true; // no descend again\n }\n if (node instanceof AST_With) {\n for (var s = scope; s; s = s.parent_scope)\n s.uses_with = true;\n return;\n }\n if (node instanceof AST_Symbol) {\n node.scope = scope;\n }\n if (node instanceof AST_Label) {\n node.thedef = node;\n node.references = [];\n }\n if (node instanceof AST_SymbolLambda) {\n defun.def_function(node, node.name == \"arguments\" ? undefined : defun);\n } else if (node instanceof AST_SymbolDefun) {\n // Careful here, the scope where this should be defined is\n // the parent scope. The reason is that we enter a new\n // scope when we encounter the AST_Defun node (which is\n // instanceof AST_Scope) but we get to the symbol a bit\n // later.\n const closest_scope = defun.parent_scope;\n\n // In strict mode, function definitions are block-scoped\n node.scope = tw.directives[\"use strict\"]\n ? closest_scope\n : closest_scope.get_defun_scope();\n\n mark_export(node.scope.def_function(node, defun), 1);\n } else if (node instanceof AST_SymbolClass) {\n mark_export(defun.def_variable(node, defun), 1);\n } else if (node instanceof AST_SymbolImport) {\n scope.def_variable(node);\n } else if (node instanceof AST_SymbolDefClass) {\n // This deals with the name of the class being available\n // inside the class.\n mark_export((node.scope = defun.parent_scope).def_function(node, defun), 1);\n } else if (\n node instanceof AST_SymbolVar\n || node instanceof AST_SymbolLet\n || node instanceof AST_SymbolConst\n || node instanceof AST_SymbolCatch\n ) {\n var def;\n if (node instanceof AST_SymbolBlockDeclaration) {\n def = scope.def_variable(node, null);\n } else {\n def = defun.def_variable(node, node.TYPE == \"SymbolVar\" ? null : undefined);\n }\n if (!def.orig.every((sym) => {\n if (sym === node) return true;\n if (node instanceof AST_SymbolBlockDeclaration) {\n return sym instanceof AST_SymbolLambda;\n }\n return !(sym instanceof AST_SymbolLet || sym instanceof AST_SymbolConst);\n })) {\n js_error(\n `\"${node.name}\" is redeclared`,\n node.start.file,\n node.start.line,\n node.start.col,\n node.start.pos\n );\n }\n if (!(node instanceof AST_SymbolFunarg)) mark_export(def, 2);\n if (defun !== scope) {\n node.mark_enclosed();\n var def = scope.find_variable(node);\n if (node.thedef !== def) {\n node.thedef = def;\n node.reference();\n }\n }\n } else if (node instanceof AST_LabelRef) {\n var sym = labels.get(node.name);\n if (!sym) throw new Error(string_template(\"Undefined label {name} [{line},{col}]\", {\n name: node.name,\n line: node.start.line,\n col: node.start.col\n }));\n node.thedef = sym;\n }\n if (!(scope instanceof AST_Toplevel) && (node instanceof AST_Export || node instanceof AST_Import)) {\n js_error(\n `\"${node.TYPE}\" statement may only appear at the top level`,\n node.start.file,\n node.start.line,\n node.start.col,\n node.start.pos\n );\n }\n });\n this.walk(tw);\n\n function mark_export(def, level) {\n if (in_destructuring) {\n var i = 0;\n do {\n level++;\n } while (tw.parent(i++) !== in_destructuring);\n }\n var node = tw.parent(level);\n if (def.export = node instanceof AST_Export ? MASK_EXPORT_DONT_MANGLE : 0) {\n var exported = node.exported_definition;\n if ((exported instanceof AST_Defun || exported instanceof AST_DefClass) && node.is_default) {\n def.export = MASK_EXPORT_WANT_MANGLE;\n }\n }\n }\n\n // pass 2: find back references and eval\n const is_toplevel = this instanceof AST_Toplevel;\n if (is_toplevel) {\n this.globals = new Map();\n }\n\n var tw = new TreeWalker(node => {\n if (node instanceof AST_LoopControl && node.label) {\n node.label.thedef.references.push(node);\n return true;\n }\n if (node instanceof AST_SymbolRef) {\n var name = node.name;\n if (name == \"eval\" && tw.parent() instanceof AST_Call) {\n for (var s = node.scope; s && !s.uses_eval; s = s.parent_scope) {\n s.uses_eval = true;\n }\n }\n var sym;\n if (tw.parent() instanceof AST_NameMapping && tw.parent(1).module_name\n || !(sym = node.scope.find_variable(name))) {\n\n sym = toplevel.def_global(node);\n if (node instanceof AST_SymbolExport) sym.export = MASK_EXPORT_DONT_MANGLE;\n } else if (sym.scope instanceof AST_Lambda && name == \"arguments\") {\n sym.scope.get_defun_scope().uses_arguments = true;\n }\n node.thedef = sym;\n node.reference();\n if (node.scope.is_block_scope()\n && !(sym.orig[0] instanceof AST_SymbolBlockDeclaration)) {\n node.scope = node.scope.get_defun_scope();\n }\n return true;\n }\n // ensure mangling works if catch reuses a scope variable\n var def;\n if (node instanceof AST_SymbolCatch && (def = redefined_catch_def(node.definition()))) {\n var s = node.scope;\n while (s) {\n push_uniq(s.enclosed, def);\n if (s === def.scope) break;\n s = s.parent_scope;\n }\n }\n });\n this.walk(tw);\n\n // pass 3: work around IE8 and Safari catch scope bugs\n if (options.ie8 || options.safari10) {\n walk(this, node => {\n if (node instanceof AST_SymbolCatch) {\n var name = node.name;\n var refs = node.thedef.references;\n var scope = node.scope.get_defun_scope();\n var def = scope.find_variable(name)\n || toplevel.globals.get(name)\n || scope.def_variable(node);\n refs.forEach(function(ref) {\n ref.thedef = def;\n ref.reference();\n });\n node.thedef = def;\n node.reference();\n return true;\n }\n });\n }\n\n // pass 4: add symbol definitions to loop scopes\n // Safari/Webkit bug workaround - loop init let variable shadowing argument.\n // https://github.com/mishoo/UglifyJS2/issues/1753\n // https://bugs.webkit.org/show_bug.cgi?id=171041\n if (options.safari10) {\n for (const scope of for_scopes) {\n scope.parent_scope.variables.forEach(function(def) {\n push_uniq(scope.enclosed, def);\n });\n }\n }\n});\n\nAST_Toplevel.DEFMETHOD(\"def_global\", function(node) {\n var globals = this.globals, name = node.name;\n if (globals.has(name)) {\n return globals.get(name);\n } else {\n var g = new SymbolDef(this, node);\n g.undeclared = true;\n g.global = true;\n globals.set(name, g);\n return g;\n }\n});\n\nAST_Scope.DEFMETHOD(\"init_scope_vars\", function(parent_scope) {\n this.variables = new Map(); // map name to AST_SymbolVar (variables defined in this scope; includes functions)\n this.uses_with = false; // will be set to true if this or some nested scope uses the `with` statement\n this.uses_eval = false; // will be set to true if this or nested scope uses the global `eval`\n this.parent_scope = parent_scope; // the parent scope\n this.enclosed = []; // a list of variables from this or outer scope(s) that are referenced from this or inner scopes\n this.cname = -1; // the current index for mangling functions/variables\n});\n\nAST_Scope.DEFMETHOD(\"conflicting_def\", function (name) {\n return (\n this.enclosed.find(def => def.name === name)\n || this.variables.has(name)\n || (this.parent_scope && this.parent_scope.conflicting_def(name))\n );\n});\n\nAST_Scope.DEFMETHOD(\"conflicting_def_shallow\", function (name) {\n return (\n this.enclosed.find(def => def.name === name)\n || this.variables.has(name)\n );\n});\n\nAST_Scope.DEFMETHOD(\"add_child_scope\", function (scope) {\n // `scope` is going to be moved into `this` right now.\n // Update the required scopes' information\n\n if (scope.parent_scope === this) return;\n\n scope.parent_scope = this;\n\n // Propagate to this.uses_arguments from arrow functions\n if ((scope instanceof AST_Arrow) && !this.uses_arguments) {\n this.uses_arguments = walk(scope, node => {\n if (\n node instanceof AST_SymbolRef\n && node.scope instanceof AST_Lambda\n && node.name === \"arguments\"\n ) {\n return walk_abort;\n }\n\n if (node instanceof AST_Lambda && !(node instanceof AST_Arrow)) {\n return true;\n }\n });\n }\n\n this.uses_with = this.uses_with || scope.uses_with;\n this.uses_eval = this.uses_eval || scope.uses_eval;\n\n const scope_ancestry = (() => {\n const ancestry = [];\n let cur = this;\n do {\n ancestry.push(cur);\n } while ((cur = cur.parent_scope));\n ancestry.reverse();\n return ancestry;\n })();\n\n const new_scope_enclosed_set = new Set(scope.enclosed);\n const to_enclose = [];\n for (const scope_topdown of scope_ancestry) {\n to_enclose.forEach(e => push_uniq(scope_topdown.enclosed, e));\n for (const def of scope_topdown.variables.values()) {\n if (new_scope_enclosed_set.has(def)) {\n push_uniq(to_enclose, def);\n push_uniq(scope_topdown.enclosed, def);\n }\n }\n }\n});\n\nfunction find_scopes_visible_from(scopes) {\n const found_scopes = new Set();\n\n for (const scope of new Set(scopes)) {\n (function bubble_up(scope) {\n if (scope == null || found_scopes.has(scope)) return;\n\n found_scopes.add(scope);\n\n bubble_up(scope.parent_scope);\n })(scope);\n }\n\n return [...found_scopes];\n}\n\n// Creates a symbol during compression\nAST_Scope.DEFMETHOD(\"create_symbol\", function(SymClass, {\n source,\n tentative_name,\n scope,\n conflict_scopes = [scope],\n init = null\n} = {}) {\n let symbol_name;\n\n conflict_scopes = find_scopes_visible_from(conflict_scopes);\n\n if (tentative_name) {\n // Implement hygiene (no new names are conflicting with existing names)\n tentative_name =\n symbol_name =\n tentative_name.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig, \"_\");\n\n let i = 0;\n while (conflict_scopes.find(s => s.conflicting_def_shallow(symbol_name))) {\n symbol_name = tentative_name + \"$\" + i++;\n }\n }\n\n if (!symbol_name) {\n throw new Error(\"No symbol name could be generated in create_symbol()\");\n }\n\n const symbol = make_node(SymClass, source, {\n name: symbol_name,\n scope\n });\n\n this.def_variable(symbol, init || null);\n\n symbol.mark_enclosed();\n\n return symbol;\n});\n\n\nAST_Node.DEFMETHOD(\"is_block_scope\", return_false);\nAST_Class.DEFMETHOD(\"is_block_scope\", return_false);\nAST_Lambda.DEFMETHOD(\"is_block_scope\", return_false);\nAST_Toplevel.DEFMETHOD(\"is_block_scope\", return_false);\nAST_SwitchBranch.DEFMETHOD(\"is_block_scope\", return_false);\nAST_Block.DEFMETHOD(\"is_block_scope\", return_true);\nAST_Scope.DEFMETHOD(\"is_block_scope\", function () {\n return this._block_scope || false;\n});\nAST_IterationStatement.DEFMETHOD(\"is_block_scope\", return_true);\n\nAST_Lambda.DEFMETHOD(\"init_scope_vars\", function() {\n AST_Scope.prototype.init_scope_vars.apply(this, arguments);\n this.uses_arguments = false;\n this.def_variable(new AST_SymbolFunarg({\n name: \"arguments\",\n start: this.start,\n end: this.end\n }));\n});\n\nAST_Arrow.DEFMETHOD(\"init_scope_vars\", function() {\n AST_Scope.prototype.init_scope_vars.apply(this, arguments);\n this.uses_arguments = false;\n});\n\nAST_Symbol.DEFMETHOD(\"mark_enclosed\", function() {\n var def = this.definition();\n var s = this.scope;\n while (s) {\n push_uniq(s.enclosed, def);\n if (s === def.scope) break;\n s = s.parent_scope;\n }\n});\n\nAST_Symbol.DEFMETHOD(\"reference\", function() {\n this.definition().references.push(this);\n this.mark_enclosed();\n});\n\nAST_Scope.DEFMETHOD(\"find_variable\", function(name) {\n if (name instanceof AST_Symbol) name = name.name;\n return this.variables.get(name)\n || (this.parent_scope && this.parent_scope.find_variable(name));\n});\n\nAST_Scope.DEFMETHOD(\"def_function\", function(symbol, init) {\n var def = this.def_variable(symbol, init);\n if (!def.init || def.init instanceof AST_Defun) def.init = init;\n return def;\n});\n\nAST_Scope.DEFMETHOD(\"def_variable\", function(symbol, init) {\n var def = this.variables.get(symbol.name);\n if (def) {\n def.orig.push(symbol);\n if (def.init && (def.scope !== symbol.scope || def.init instanceof AST_Function)) {\n def.init = init;\n }\n } else {\n def = new SymbolDef(this, symbol, init);\n this.variables.set(symbol.name, def);\n def.global = !this.parent_scope;\n }\n return symbol.thedef = def;\n});\n\nfunction next_mangled(scope, options) {\n let defun_scope;\n if (\n scopes_with_block_defuns\n && (defun_scope = scope.get_defun_scope())\n && scopes_with_block_defuns.has(defun_scope)\n ) {\n scope = defun_scope;\n }\n\n var ext = scope.enclosed;\n var nth_identifier = options.nth_identifier;\n out: while (true) {\n var m = nth_identifier.get(++scope.cname);\n if (ALL_RESERVED_WORDS.has(m)) continue; // skip over \"do\"\n\n // https://github.com/mishoo/UglifyJS2/issues/242 -- do not\n // shadow a name reserved from mangling.\n if (options.reserved.has(m)) continue;\n\n // Functions with short names might collide with base54 output\n // and therefore cause collisions when keep_fnames is true.\n if (unmangleable_names && unmangleable_names.has(m)) continue out;\n\n // we must ensure that the mangled name does not shadow a name\n // from some parent scope that is referenced in this or in\n // inner scopes.\n for (let i = ext.length; --i >= 0;) {\n const def = ext[i];\n const name = def.mangled_name || (def.unmangleable(options) && def.name);\n if (m == name) continue out;\n }\n return m;\n }\n}\n\nAST_Scope.DEFMETHOD(\"next_mangled\", function(options) {\n return next_mangled(this, options);\n});\n\nAST_Toplevel.DEFMETHOD(\"next_mangled\", function(options) {\n let name;\n const mangled_names = this.mangled_names;\n do {\n name = next_mangled(this, options);\n } while (mangled_names.has(name));\n return name;\n});\n\nAST_Function.DEFMETHOD(\"next_mangled\", function(options, def) {\n // #179, #326\n // in Safari strict mode, something like (function x(x){...}) is a syntax error;\n // a function expression's argument cannot shadow the function expression's name\n\n var tricky_def = def.orig[0] instanceof AST_SymbolFunarg && this.name && this.name.definition();\n\n // the function's mangled_name is null when keep_fnames is true\n var tricky_name = tricky_def ? tricky_def.mangled_name || tricky_def.name : null;\n\n while (true) {\n var name = next_mangled(this, options);\n if (!tricky_name || tricky_name != name)\n return name;\n }\n});\n\nAST_Symbol.DEFMETHOD(\"unmangleable\", function(options) {\n var def = this.definition();\n return !def || def.unmangleable(options);\n});\n\n// labels are always mangleable\nAST_Label.DEFMETHOD(\"unmangleable\", return_false);\n\nAST_Symbol.DEFMETHOD(\"unreferenced\", function() {\n return !this.definition().references.length && !this.scope.pinned();\n});\n\nAST_Symbol.DEFMETHOD(\"definition\", function() {\n return this.thedef;\n});\n\nAST_Symbol.DEFMETHOD(\"global\", function() {\n return this.thedef.global;\n});\n\n/**\n * Format the mangler options (if any) into their appropriate types\n */\nfunction format_mangler_options(options) {\n options = defaults(options, {\n eval : false,\n nth_identifier : base54,\n ie8 : false,\n keep_classnames: false,\n keep_fnames : false,\n module : false,\n reserved : [],\n toplevel : false,\n });\n if (options.module) options.toplevel = true;\n if (!Array.isArray(options.reserved)\n && !(options.reserved instanceof Set)\n ) {\n options.reserved = [];\n }\n options.reserved = new Set(options.reserved);\n // Never mangle arguments\n options.reserved.add(\"arguments\");\n return options;\n}\n\nAST_Toplevel.DEFMETHOD(\"mangle_names\", function(options) {\n options = format_mangler_options(options);\n var nth_identifier = options.nth_identifier;\n\n // We only need to mangle declaration nodes. Special logic wired\n // into the code generator will display the mangled name if it's\n // present (and for AST_SymbolRef-s it'll use the mangled name of\n // the AST_SymbolDeclaration that it points to).\n var lname = -1;\n var to_mangle = [];\n\n if (options.keep_fnames) {\n function_defs = new Set();\n }\n\n const mangled_names = this.mangled_names = new Set();\n unmangleable_names = new Set();\n\n if (options.cache) {\n this.globals.forEach(collect);\n if (options.cache.props) {\n options.cache.props.forEach(function(mangled_name) {\n mangled_names.add(mangled_name);\n });\n }\n }\n\n var tw = new TreeWalker(function(node, descend) {\n if (node instanceof AST_LabeledStatement) {\n // lname is incremented when we get to the AST_Label\n var save_nesting = lname;\n descend();\n lname = save_nesting;\n return true; // don't descend again in TreeWalker\n }\n if (\n node instanceof AST_Defun\n && !(tw.parent() instanceof AST_Scope)\n ) {\n scopes_with_block_defuns = scopes_with_block_defuns || new Set();\n scopes_with_block_defuns.add(node.parent_scope.get_defun_scope());\n }\n if (node instanceof AST_Scope) {\n node.variables.forEach(collect);\n return;\n }\n if (node.is_block_scope()) {\n node.block_scope.variables.forEach(collect);\n return;\n }\n if (\n function_defs\n && node instanceof AST_VarDef\n && node.value instanceof AST_Lambda\n && !node.value.name\n && keep_name(options.keep_fnames, node.name.name)\n ) {\n function_defs.add(node.name.definition().id);\n return;\n }\n if (node instanceof AST_Label) {\n let name;\n do {\n name = nth_identifier.get(++lname);\n } while (ALL_RESERVED_WORDS.has(name));\n node.mangled_name = name;\n return true;\n }\n if (!(options.ie8 || options.safari10) && node instanceof AST_SymbolCatch) {\n to_mangle.push(node.definition());\n return;\n }\n });\n\n this.walk(tw);\n\n if (options.keep_fnames || options.keep_classnames) {\n // Collect a set of short names which are unmangleable,\n // for use in avoiding collisions in next_mangled.\n to_mangle.forEach(def => {\n if (def.name.length < 6 && def.unmangleable(options)) {\n unmangleable_names.add(def.name);\n }\n });\n }\n\n to_mangle.forEach(def => { def.mangle(options); });\n\n function_defs = null;\n unmangleable_names = null;\n scopes_with_block_defuns = null;\n\n function collect(symbol) {\n if (symbol.export & MASK_EXPORT_DONT_MANGLE) {\n unmangleable_names.add(symbol.name);\n } else if (!options.reserved.has(symbol.name)) {\n to_mangle.push(symbol);\n }\n }\n});\n\nAST_Toplevel.DEFMETHOD(\"find_colliding_names\", function(options) {\n const cache = options.cache && options.cache.props;\n const avoid = new Set();\n options.reserved.forEach(to_avoid);\n this.globals.forEach(add_def);\n this.walk(new TreeWalker(function(node) {\n if (node instanceof AST_Scope) node.variables.forEach(add_def);\n if (node instanceof AST_SymbolCatch) add_def(node.definition());\n }));\n return avoid;\n\n function to_avoid(name) {\n avoid.add(name);\n }\n\n function add_def(def) {\n var name = def.name;\n if (def.global && cache && cache.has(name)) name = cache.get(name);\n else if (!def.unmangleable(options)) return;\n to_avoid(name);\n }\n});\n\nAST_Toplevel.DEFMETHOD(\"expand_names\", function(options) {\n options = format_mangler_options(options);\n var nth_identifier = options.nth_identifier;\n if (nth_identifier.reset && nth_identifier.sort) {\n nth_identifier.reset();\n nth_identifier.sort();\n }\n var avoid = this.find_colliding_names(options);\n var cname = 0;\n this.globals.forEach(rename);\n this.walk(new TreeWalker(function(node) {\n if (node instanceof AST_Scope) node.variables.forEach(rename);\n if (node instanceof AST_SymbolCatch) rename(node.definition());\n }));\n\n function next_name() {\n var name;\n do {\n name = nth_identifier.get(cname++);\n } while (avoid.has(name) || ALL_RESERVED_WORDS.has(name));\n return name;\n }\n\n function rename(def) {\n if (def.global && options.cache) return;\n if (def.unmangleable(options)) return;\n if (options.reserved.has(def.name)) return;\n const redefinition = redefined_catch_def(def);\n const name = def.name = redefinition ? redefinition.name : next_name();\n def.orig.forEach(function(sym) {\n sym.name = name;\n });\n def.references.forEach(function(sym) {\n sym.name = name;\n });\n }\n});\n\nAST_Node.DEFMETHOD(\"tail_node\", return_this);\nAST_Sequence.DEFMETHOD(\"tail_node\", function() {\n return this.expressions[this.expressions.length - 1];\n});\n\nAST_Toplevel.DEFMETHOD(\"compute_char_frequency\", function(options) {\n options = format_mangler_options(options);\n var nth_identifier = options.nth_identifier;\n if (!nth_identifier.reset || !nth_identifier.consider || !nth_identifier.sort) {\n // If the identifier mangler is invariant, skip computing character frequency.\n return;\n }\n nth_identifier.reset();\n\n try {\n AST_Node.prototype.print = function(stream, force_parens) {\n this._print(stream, force_parens);\n if (this instanceof AST_Symbol && !this.unmangleable(options)) {\n nth_identifier.consider(this.name, -1);\n } else if (options.properties) {\n if (this instanceof AST_DotHash) {\n nth_identifier.consider(\"#\" + this.property, -1);\n } else if (this instanceof AST_Dot) {\n nth_identifier.consider(this.property, -1);\n } else if (this instanceof AST_Sub) {\n skip_string(this.property);\n }\n }\n };\n nth_identifier.consider(this.print_to_string(), 1);\n } finally {\n AST_Node.prototype.print = AST_Node.prototype._print;\n }\n nth_identifier.sort();\n\n function skip_string(node) {\n if (node instanceof AST_String) {\n nth_identifier.consider(node.value, -1);\n } else if (node instanceof AST_Conditional) {\n skip_string(node.consequent);\n skip_string(node.alternative);\n } else if (node instanceof AST_Sequence) {\n skip_string(node.tail_node());\n }\n }\n});\n\nconst base54 = (() => {\n const leading = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_\".split(\"\");\n const digits = \"0123456789\".split(\"\");\n let chars;\n let frequency;\n function reset() {\n frequency = new Map();\n leading.forEach(function(ch) {\n frequency.set(ch, 0);\n });\n digits.forEach(function(ch) {\n frequency.set(ch, 0);\n });\n }\n function consider(str, delta) {\n for (var i = str.length; --i >= 0;) {\n frequency.set(str[i], frequency.get(str[i]) + delta);\n }\n }\n function compare(a, b) {\n return frequency.get(b) - frequency.get(a);\n }\n function sort() {\n chars = mergeSort(leading, compare).concat(mergeSort(digits, compare));\n }\n // Ensure this is in a usable initial state.\n reset();\n sort();\n function base54(num) {\n var ret = \"\", base = 54;\n num++;\n do {\n num--;\n ret += chars[num % base];\n num = Math.floor(num / base);\n base = 64;\n } while (num > 0);\n return ret;\n }\n\n return {\n get: base54,\n consider,\n reset,\n sort\n };\n})();\n\nlet mangle_options = undefined;\nAST_Node.prototype.size = function (compressor, stack) {\n mangle_options = compressor && compressor.mangle_options;\n\n let size = 0;\n walk_parent(this, (node, info) => {\n size += node._size(info);\n\n // Braceless arrow functions have fake \"return\" statements\n if (node instanceof AST_Arrow && node.is_braceless()) {\n size += node.body[0].value._size(info);\n return true;\n }\n }, stack || (compressor && compressor.stack));\n\n // just to save a bit of memory\n mangle_options = undefined;\n\n return size;\n};\n\nAST_Node.prototype._size = () => 0;\n\nAST_Debugger.prototype._size = () => 8;\n\nAST_Directive.prototype._size = function () {\n // TODO string encoding stuff\n return 2 + this.value.length;\n};\n\n/** Count commas/semicolons necessary to show a list of expressions/statements */\nconst list_overhead = (array) => array.length && array.length - 1;\n\nAST_Block.prototype._size = function () {\n return 2 + list_overhead(this.body);\n};\n\nAST_Toplevel.prototype._size = function() {\n return list_overhead(this.body);\n};\n\nAST_EmptyStatement.prototype._size = () => 1;\n\nAST_LabeledStatement.prototype._size = () => 2; // x:\n\nAST_Do.prototype._size = () => 9;\n\nAST_While.prototype._size = () => 7;\n\nAST_For.prototype._size = () => 8;\n\nAST_ForIn.prototype._size = () => 8;\n// AST_ForOf inherits ^\n\nAST_With.prototype._size = () => 6;\n\nAST_Expansion.prototype._size = () => 3;\n\nconst lambda_modifiers = func =>\n (func.is_generator ? 1 : 0) + (func.async ? 6 : 0);\n\nAST_Accessor.prototype._size = function () {\n return lambda_modifiers(this) + 4 + list_overhead(this.argnames) + list_overhead(this.body);\n};\n\nAST_Function.prototype._size = function (info) {\n const first = !!first_in_statement(info);\n return (first * 2) + lambda_modifiers(this) + 12 + list_overhead(this.argnames) + list_overhead(this.body);\n};\n\nAST_Defun.prototype._size = function () {\n return lambda_modifiers(this) + 13 + list_overhead(this.argnames) + list_overhead(this.body);\n};\n\nAST_Arrow.prototype._size = function () {\n let args_and_arrow = 2 + list_overhead(this.argnames);\n\n if (\n !(\n this.argnames.length === 1\n && this.argnames[0] instanceof AST_Symbol\n )\n ) {\n args_and_arrow += 2; // parens around the args\n }\n\n const body_overhead = this.is_braceless() ? 0 : list_overhead(this.body) + 2;\n\n return lambda_modifiers(this) + args_and_arrow + body_overhead;\n};\n\nAST_Destructuring.prototype._size = () => 2;\n\nAST_TemplateString.prototype._size = function () {\n return 2 + (Math.floor(this.segments.length / 2) * 3); /* \"${}\" */\n};\n\nAST_TemplateSegment.prototype._size = function () {\n return this.value.length;\n};\n\nAST_Return.prototype._size = function () {\n return this.value ? 7 : 6;\n};\n\nAST_Throw.prototype._size = () => 6;\n\nAST_Break.prototype._size = function () {\n return this.label ? 6 : 5;\n};\n\nAST_Continue.prototype._size = function () {\n return this.label ? 9 : 8;\n};\n\nAST_If.prototype._size = () => 4;\n\nAST_Switch.prototype._size = function () {\n return 8 + list_overhead(this.body);\n};\n\nAST_Case.prototype._size = function () {\n return 5 + list_overhead(this.body);\n};\n\nAST_Default.prototype._size = function () {\n return 8 + list_overhead(this.body);\n};\n\nAST_Try.prototype._size = function () {\n return 3 + list_overhead(this.body);\n};\n\nAST_Catch.prototype._size = function () {\n let size = 7 + list_overhead(this.body);\n if (this.argname) {\n size += 2;\n }\n return size;\n};\n\nAST_Finally.prototype._size = function () {\n return 7 + list_overhead(this.body);\n};\n\nAST_Var.prototype._size = function () {\n return 4 + list_overhead(this.definitions);\n};\n\nAST_Let.prototype._size = function () {\n return 4 + list_overhead(this.definitions);\n};\n\nAST_Const.prototype._size = function () {\n return 6 + list_overhead(this.definitions);\n};\n\nAST_VarDef.prototype._size = function () {\n return this.value ? 1 : 0;\n};\n\nAST_NameMapping.prototype._size = function () {\n // foreign name isn't mangled\n return this.name ? 4 : 0;\n};\n\nAST_Import.prototype._size = function () {\n // import\n let size = 6;\n\n if (this.imported_name) size += 1;\n\n // from\n if (this.imported_name || this.imported_names) size += 5;\n\n // braces, and the commas\n if (this.imported_names) {\n size += 2 + list_overhead(this.imported_names);\n }\n\n return size;\n};\n\nAST_ImportMeta.prototype._size = () => 11;\n\nAST_Export.prototype._size = function () {\n let size = 7 + (this.is_default ? 8 : 0);\n\n if (this.exported_value) {\n size += this.exported_value._size();\n }\n\n if (this.exported_names) {\n // Braces and commas\n size += 2 + list_overhead(this.exported_names);\n }\n\n if (this.module_name) {\n // \"from \"\n size += 5;\n }\n\n return size;\n};\n\nAST_Call.prototype._size = function () {\n if (this.optional) {\n return 4 + list_overhead(this.args);\n }\n return 2 + list_overhead(this.args);\n};\n\nAST_New.prototype._size = function () {\n return 6 + list_overhead(this.args);\n};\n\nAST_Sequence.prototype._size = function () {\n return list_overhead(this.expressions);\n};\n\nAST_Dot.prototype._size = function () {\n if (this.optional) {\n return this.property.length + 2;\n }\n return this.property.length + 1;\n};\n\nAST_DotHash.prototype._size = function () {\n if (this.optional) {\n return this.property.length + 3;\n }\n return this.property.length + 2;\n};\n\nAST_Sub.prototype._size = function () {\n return this.optional ? 4 : 2;\n};\n\nAST_Unary.prototype._size = function () {\n if (this.operator === \"typeof\") return 7;\n if (this.operator === \"void\") return 5;\n return this.operator.length;\n};\n\nAST_Binary.prototype._size = function (info) {\n if (this.operator === \"in\") return 4;\n\n let size = this.operator.length;\n\n if (\n (this.operator === \"+\" || this.operator === \"-\")\n && this.right instanceof AST_Unary && this.right.operator === this.operator\n ) {\n // 1+ +a > needs space between the +\n size += 1;\n }\n\n if (this.needs_parens(info)) {\n size += 2;\n }\n\n return size;\n};\n\nAST_Conditional.prototype._size = () => 3;\n\nAST_Array.prototype._size = function () {\n return 2 + list_overhead(this.elements);\n};\n\nAST_Object.prototype._size = function (info) {\n let base = 2;\n if (first_in_statement(info)) {\n base += 2; // parens\n }\n return base + list_overhead(this.properties);\n};\n\n/*#__INLINE__*/\nconst key_size = key =>\n typeof key === \"string\" ? key.length : 0;\n\nAST_ObjectKeyVal.prototype._size = function () {\n return key_size(this.key) + 1;\n};\n\n/*#__INLINE__*/\nconst static_size = is_static => is_static ? 7 : 0;\n\nAST_ObjectGetter.prototype._size = function () {\n return 5 + static_size(this.static) + key_size(this.key);\n};\n\nAST_ObjectSetter.prototype._size = function () {\n return 5 + static_size(this.static) + key_size(this.key);\n};\n\nAST_ConciseMethod.prototype._size = function () {\n return static_size(this.static) + key_size(this.key) + lambda_modifiers(this);\n};\n\nAST_PrivateMethod.prototype._size = function () {\n return AST_ConciseMethod.prototype._size.call(this) + 1;\n};\n\nAST_PrivateGetter.prototype._size = AST_PrivateSetter.prototype._size = function () {\n return AST_ConciseMethod.prototype._size.call(this) + 4;\n};\n\nAST_PrivateIn.prototype._size = function () {\n return 5; // \"#\", and \" in \"\n};\n\nAST_Class.prototype._size = function () {\n return (\n (this.name ? 8 : 7)\n + (this.extends ? 8 : 0)\n );\n};\n\nAST_ClassStaticBlock.prototype._size = function () {\n // \"class{}\" + semicolons\n return 7 + list_overhead(this.body);\n};\n\nAST_ClassProperty.prototype._size = function () {\n return (\n static_size(this.static)\n + (typeof this.key === \"string\" ? this.key.length + 2 : 0)\n + (this.value ? 1 : 0)\n );\n};\n\nAST_ClassPrivateProperty.prototype._size = function () {\n return AST_ClassProperty.prototype._size.call(this) + 1;\n};\n\nAST_Symbol.prototype._size = function () {\n if (!(mangle_options && this.thedef && !this.thedef.unmangleable(mangle_options))) {\n return this.name.length;\n } else {\n return 1;\n }\n};\n\n// TODO take propmangle into account\nAST_SymbolClassProperty.prototype._size = function () {\n return this.name.length;\n};\n\nAST_SymbolRef.prototype._size = AST_SymbolDeclaration.prototype._size = function () {\n if (this.name === \"arguments\") return 9;\n\n return AST_Symbol.prototype._size.call(this);\n};\n\nAST_NewTarget.prototype._size = () => 10;\n\nAST_SymbolImportForeign.prototype._size = function () {\n return this.name.length;\n};\n\nAST_SymbolExportForeign.prototype._size = function () {\n return this.name.length;\n};\n\nAST_This.prototype._size = () => 4;\n\nAST_Super.prototype._size = () => 5;\n\nAST_String.prototype._size = function () {\n return this.value.length + 2;\n};\n\nAST_Number.prototype._size = function () {\n const { value } = this;\n if (value === 0) return 1;\n if (value > 0 && Math.floor(value) === value) {\n return Math.floor(Math.log10(value) + 1);\n }\n return value.toString().length;\n};\n\nAST_BigInt.prototype._size = function () {\n return this.value.length;\n};\n\nAST_RegExp.prototype._size = function () {\n return this.value.toString().length;\n};\n\nAST_Null.prototype._size = () => 4;\n\nAST_NaN.prototype._size = () => 3;\n\nAST_Undefined.prototype._size = () => 6; // \"void 0\"\n\nAST_Hole.prototype._size = () => 0; // comma is taken into account by list_overhead()\n\nAST_Infinity.prototype._size = () => 8;\n\nAST_True.prototype._size = () => 4;\n\nAST_False.prototype._size = () => 5;\n\nAST_Await.prototype._size = () => 6;\n\nAST_Yield.prototype._size = () => 6;\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// bitfield flags to be stored in node.flags.\n// These are set and unset during compression, and store information in the node without requiring multiple fields.\nconst UNUSED = 0b00000001;\nconst TRUTHY = 0b00000010;\nconst FALSY = 0b00000100;\nconst UNDEFINED = 0b00001000;\nconst INLINED = 0b00010000;\n\n// Nodes to which values are ever written. Used when keep_assign is part of the unused option string.\nconst WRITE_ONLY = 0b00100000;\n\n// information specific to a single compression pass\nconst SQUEEZED = 0b0000000100000000;\nconst OPTIMIZED = 0b0000001000000000;\nconst TOP = 0b0000010000000000;\nconst CLEAR_BETWEEN_PASSES = SQUEEZED | OPTIMIZED | TOP;\n\nconst has_flag = (node, flag) => node.flags & flag;\nconst set_flag = (node, flag) => { node.flags |= flag; };\nconst clear_flag = (node, flag) => { node.flags &= ~flag; };\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction merge_sequence(array, node) {\n if (node instanceof AST_Sequence) {\n array.push(...node.expressions);\n } else {\n array.push(node);\n }\n return array;\n}\n\nfunction make_sequence(orig, expressions) {\n if (expressions.length == 1) return expressions[0];\n if (expressions.length == 0) throw new Error(\"trying to create a sequence with length zero!\");\n return make_node(AST_Sequence, orig, {\n expressions: expressions.reduce(merge_sequence, [])\n });\n}\n\nfunction make_node_from_constant(val, orig) {\n switch (typeof val) {\n case \"string\":\n return make_node(AST_String, orig, {\n value: val\n });\n case \"number\":\n if (isNaN(val)) return make_node(AST_NaN, orig);\n if (isFinite(val)) {\n return 1 / val < 0 ? make_node(AST_UnaryPrefix, orig, {\n operator: \"-\",\n expression: make_node(AST_Number, orig, { value: -val })\n }) : make_node(AST_Number, orig, { value: val });\n }\n return val < 0 ? make_node(AST_UnaryPrefix, orig, {\n operator: \"-\",\n expression: make_node(AST_Infinity, orig)\n }) : make_node(AST_Infinity, orig);\n case \"boolean\":\n return make_node(val ? AST_True : AST_False, orig);\n case \"undefined\":\n return make_node(AST_Undefined, orig);\n default:\n if (val === null) {\n return make_node(AST_Null, orig, { value: null });\n }\n if (val instanceof RegExp) {\n return make_node(AST_RegExp, orig, {\n value: {\n source: regexp_source_fix(val.source),\n flags: val.flags\n }\n });\n }\n throw new Error(string_template(\"Can't handle constant of type: {type}\", {\n type: typeof val\n }));\n }\n}\n\nfunction best_of_expression(ast1, ast2) {\n return ast1.size() > ast2.size() ? ast2 : ast1;\n}\n\nfunction best_of_statement(ast1, ast2) {\n return best_of_expression(\n make_node(AST_SimpleStatement, ast1, {\n body: ast1\n }),\n make_node(AST_SimpleStatement, ast2, {\n body: ast2\n })\n ).body;\n}\n\n/** Find which node is smaller, and return that */\nfunction best_of(compressor, ast1, ast2) {\n if (first_in_statement(compressor)) {\n return best_of_statement(ast1, ast2);\n } else {\n return best_of_expression(ast1, ast2);\n }\n}\n\n/** Simplify an object property's key, if possible */\nfunction get_simple_key(key) {\n if (key instanceof AST_Constant) {\n return key.getValue();\n }\n if (key instanceof AST_UnaryPrefix\n && key.operator == \"void\"\n && key.expression instanceof AST_Constant) {\n return;\n }\n return key;\n}\n\nfunction read_property(obj, key) {\n key = get_simple_key(key);\n if (key instanceof AST_Node) return;\n\n var value;\n if (obj instanceof AST_Array) {\n var elements = obj.elements;\n if (key == \"length\") return make_node_from_constant(elements.length, obj);\n if (typeof key == \"number\" && key in elements) value = elements[key];\n } else if (obj instanceof AST_Object) {\n key = \"\" + key;\n var props = obj.properties;\n for (var i = props.length; --i >= 0;) {\n var prop = props[i];\n if (!(prop instanceof AST_ObjectKeyVal)) return;\n if (!value && props[i].key === key) value = props[i].value;\n }\n }\n\n return value instanceof AST_SymbolRef && value.fixed_value() || value;\n}\n\nfunction has_break_or_continue(loop, parent) {\n var found = false;\n var tw = new TreeWalker(function(node) {\n if (found || node instanceof AST_Scope) return true;\n if (node instanceof AST_LoopControl && tw.loopcontrol_target(node) === loop) {\n return found = true;\n }\n });\n if (parent instanceof AST_LabeledStatement) tw.push(parent);\n tw.push(loop);\n loop.body.walk(tw);\n return found;\n}\n\n// we shouldn't compress (1,func)(something) to\n// func(something) because that changes the meaning of\n// the func (becomes lexical instead of global).\nfunction maintain_this_binding(parent, orig, val) {\n if (\n parent instanceof AST_UnaryPrefix && parent.operator == \"delete\"\n || parent instanceof AST_Call && parent.expression === orig\n && (\n val instanceof AST_PropAccess\n || val instanceof AST_SymbolRef && val.name == \"eval\"\n )\n ) {\n const zero = make_node(AST_Number, orig, { value: 0 });\n return make_sequence(orig, [ zero, val ]);\n } else {\n return val;\n }\n}\n\nfunction is_func_expr(node) {\n return node instanceof AST_Arrow || node instanceof AST_Function;\n}\n\n/**\n * Used to determine whether the node can benefit from negation.\n * Not the case with arrow functions (you need an extra set of parens). */\nfunction is_iife_call(node) {\n if (node.TYPE != \"Call\") return false;\n return node.expression instanceof AST_Function || is_iife_call(node.expression);\n}\n\nfunction is_empty(thing) {\n if (thing === null) return true;\n if (thing instanceof AST_EmptyStatement) return true;\n if (thing instanceof AST_BlockStatement) return thing.body.length == 0;\n return false;\n}\n\nconst identifier_atom = makePredicate(\"Infinity NaN undefined\");\nfunction is_identifier_atom(node) {\n return node instanceof AST_Infinity\n || node instanceof AST_NaN\n || node instanceof AST_Undefined;\n}\n\n/** Check if this is a SymbolRef node which has one def of a certain AST type */\nfunction is_ref_of(ref, type) {\n if (!(ref instanceof AST_SymbolRef)) return false;\n var orig = ref.definition().orig;\n for (var i = orig.length; --i >= 0;) {\n if (orig[i] instanceof type) return true;\n }\n}\n\n/**Can we turn { block contents... } into just the block contents ?\n * Not if one of these is inside.\n **/\nfunction can_be_evicted_from_block(node) {\n return !(\n node instanceof AST_DefClass ||\n node instanceof AST_Defun ||\n node instanceof AST_Let ||\n node instanceof AST_Const ||\n node instanceof AST_Export ||\n node instanceof AST_Import\n );\n}\n\nfunction as_statement_array(thing) {\n if (thing === null) return [];\n if (thing instanceof AST_BlockStatement) return thing.body;\n if (thing instanceof AST_EmptyStatement) return [];\n if (thing instanceof AST_Statement) return [ thing ];\n throw new Error(\"Can't convert thing to statement array\");\n}\n\nfunction is_reachable(scope_node, defs) {\n const find_ref = node => {\n if (node instanceof AST_SymbolRef && defs.includes(node.definition())) {\n return walk_abort;\n }\n };\n\n return walk_parent(scope_node, (node, info) => {\n if (node instanceof AST_Scope && node !== scope_node) {\n var parent = info.parent();\n\n if (\n parent instanceof AST_Call\n && parent.expression === node\n // Async/Generators aren't guaranteed to sync evaluate all of\n // their body steps, so it's possible they close over the variable.\n && !(node.async || node.is_generator)\n ) {\n return;\n }\n\n if (walk(node, find_ref)) return walk_abort;\n\n return true;\n }\n });\n}\n\n/** Check if a ref refers to the name of a function/class it's defined within */\nfunction is_recursive_ref(compressor, def) {\n var node;\n for (var i = 0; node = compressor.parent(i); i++) {\n if (node instanceof AST_Lambda || node instanceof AST_Class) {\n var name = node.name;\n if (name && name.definition() === def) {\n return true;\n }\n }\n }\n return false;\n}\n\n// TODO this only works with AST_Defun, shouldn't it work for other ways of defining functions?\nfunction retain_top_func(fn, compressor) {\n return compressor.top_retain\n && fn instanceof AST_Defun\n && has_flag(fn, TOP)\n && fn.name\n && compressor.top_retain(fn.name);\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// Lists of native methods, useful for `unsafe` option which assumes they exist.\n// Note: Lots of methods and functions are missing here, in case they aren't pure\n// or not available in all JS environments.\n\nfunction make_nested_lookup(obj) {\n const out = new Map();\n for (var key of Object.keys(obj)) {\n out.set(key, makePredicate(obj[key]));\n }\n\n const does_have = (global_name, fname) => {\n const inner_map = out.get(global_name);\n return inner_map != null && inner_map.has(fname);\n };\n return does_have;\n}\n\n// Objects which are safe to access without throwing or causing a side effect.\n// Usually we'd check the `unsafe` option first but these are way too common for that\nconst pure_prop_access_globals = new Set([\n \"Number\",\n \"String\",\n \"Array\",\n \"Object\",\n \"Function\",\n \"Promise\",\n]);\n\nconst object_methods = [\n \"constructor\",\n \"toString\",\n \"valueOf\",\n];\n\nconst is_pure_native_method = make_nested_lookup({\n Array: [\n \"at\",\n \"flat\",\n \"includes\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"slice\",\n ...object_methods,\n ],\n Boolean: object_methods,\n Function: object_methods,\n Number: [\n \"toExponential\",\n \"toFixed\",\n \"toPrecision\",\n ...object_methods,\n ],\n Object: object_methods,\n RegExp: [\n \"test\",\n ...object_methods,\n ],\n String: [\n \"at\",\n \"charAt\",\n \"charCodeAt\",\n \"charPointAt\",\n \"concat\",\n \"endsWith\",\n \"fromCharCode\",\n \"fromCodePoint\",\n \"includes\",\n \"indexOf\",\n \"italics\",\n \"lastIndexOf\",\n \"localeCompare\",\n \"match\",\n \"matchAll\",\n \"normalize\",\n \"padStart\",\n \"padEnd\",\n \"repeat\",\n \"replace\",\n \"replaceAll\",\n \"search\",\n \"slice\",\n \"split\",\n \"startsWith\",\n \"substr\",\n \"substring\",\n \"repeat\",\n \"toLocaleLowerCase\",\n \"toLocaleUpperCase\",\n \"toLowerCase\",\n \"toUpperCase\",\n \"trim\",\n \"trimEnd\",\n \"trimStart\",\n ...object_methods,\n ],\n});\n\nconst is_pure_native_fn = make_nested_lookup({\n Array: [\n \"isArray\",\n ],\n Math: [\n \"abs\",\n \"acos\",\n \"asin\",\n \"atan\",\n \"ceil\",\n \"cos\",\n \"exp\",\n \"floor\",\n \"log\",\n \"round\",\n \"sin\",\n \"sqrt\",\n \"tan\",\n \"atan2\",\n \"pow\",\n \"max\",\n \"min\",\n ],\n Number: [\n \"isFinite\",\n \"isNaN\",\n ],\n Object: [\n \"create\",\n \"getOwnPropertyDescriptor\",\n \"getOwnPropertyNames\",\n \"getPrototypeOf\",\n \"isExtensible\",\n \"isFrozen\",\n \"isSealed\",\n \"hasOwn\",\n \"keys\",\n ],\n String: [\n \"fromCharCode\",\n ],\n});\n\n// Known numeric values which come with JS environments\nconst is_pure_native_value = make_nested_lookup({\n Math: [\n \"E\",\n \"LN10\",\n \"LN2\",\n \"LOG2E\",\n \"LOG10E\",\n \"PI\",\n \"SQRT1_2\",\n \"SQRT2\",\n ],\n Number: [\n \"MAX_VALUE\",\n \"MIN_VALUE\",\n \"NaN\",\n \"NEGATIVE_INFINITY\",\n \"POSITIVE_INFINITY\",\n ],\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// Functions and methods to infer certain facts about expressions\n// It's not always possible to be 100% sure about something just by static analysis,\n// so `true` means yes, and `false` means maybe\n\nconst is_undeclared_ref = (node) =>\n node instanceof AST_SymbolRef && node.definition().undeclared;\n\nconst lazy_op = makePredicate(\"&& || ??\");\nconst unary_side_effects = makePredicate(\"delete ++ --\");\n\n// methods to determine whether an expression has a boolean result type\n(function(def_is_boolean) {\n const unary_bool = makePredicate(\"! delete\");\n const binary_bool = makePredicate(\"in instanceof == != === !== < <= >= >\");\n def_is_boolean(AST_Node, return_false);\n def_is_boolean(AST_UnaryPrefix, function() {\n return unary_bool.has(this.operator);\n });\n def_is_boolean(AST_Binary, function() {\n return binary_bool.has(this.operator)\n || lazy_op.has(this.operator)\n && this.left.is_boolean()\n && this.right.is_boolean();\n });\n def_is_boolean(AST_Conditional, function() {\n return this.consequent.is_boolean() && this.alternative.is_boolean();\n });\n def_is_boolean(AST_Assign, function() {\n return this.operator == \"=\" && this.right.is_boolean();\n });\n def_is_boolean(AST_Sequence, function() {\n return this.tail_node().is_boolean();\n });\n def_is_boolean(AST_True, return_true);\n def_is_boolean(AST_False, return_true);\n})(function(node, func) {\n node.DEFMETHOD(\"is_boolean\", func);\n});\n\n// methods to determine if an expression has a numeric result type\n(function(def_is_number) {\n def_is_number(AST_Node, return_false);\n def_is_number(AST_Number, return_true);\n const unary = makePredicate(\"+ - ~ ++ --\");\n def_is_number(AST_Unary, function() {\n return unary.has(this.operator);\n });\n const numeric_ops = makePredicate(\"- * / % & | ^ << >> >>>\");\n def_is_number(AST_Binary, function(compressor) {\n return numeric_ops.has(this.operator) || this.operator == \"+\"\n && this.left.is_number(compressor)\n && this.right.is_number(compressor);\n });\n def_is_number(AST_Assign, function(compressor) {\n return numeric_ops.has(this.operator.slice(0, -1))\n || this.operator == \"=\" && this.right.is_number(compressor);\n });\n def_is_number(AST_Sequence, function(compressor) {\n return this.tail_node().is_number(compressor);\n });\n def_is_number(AST_Conditional, function(compressor) {\n return this.consequent.is_number(compressor) && this.alternative.is_number(compressor);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"is_number\", func);\n});\n\n// methods to determine if an expression has a string result type\n(function(def_is_string) {\n def_is_string(AST_Node, return_false);\n def_is_string(AST_String, return_true);\n def_is_string(AST_TemplateString, return_true);\n def_is_string(AST_UnaryPrefix, function() {\n return this.operator == \"typeof\";\n });\n def_is_string(AST_Binary, function(compressor) {\n return this.operator == \"+\" &&\n (this.left.is_string(compressor) || this.right.is_string(compressor));\n });\n def_is_string(AST_Assign, function(compressor) {\n return (this.operator == \"=\" || this.operator == \"+=\") && this.right.is_string(compressor);\n });\n def_is_string(AST_Sequence, function(compressor) {\n return this.tail_node().is_string(compressor);\n });\n def_is_string(AST_Conditional, function(compressor) {\n return this.consequent.is_string(compressor) && this.alternative.is_string(compressor);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"is_string\", func);\n});\n\nfunction is_undefined(node, compressor) {\n return (\n has_flag(node, UNDEFINED)\n || node instanceof AST_Undefined\n || node instanceof AST_UnaryPrefix\n && node.operator == \"void\"\n && !node.expression.has_side_effects(compressor)\n );\n}\n\n// Is the node explicitly null or undefined.\nfunction is_null_or_undefined(node, compressor) {\n let fixed;\n return (\n node instanceof AST_Null\n || is_undefined(node, compressor)\n || (\n node instanceof AST_SymbolRef\n && (fixed = node.definition().fixed) instanceof AST_Node\n && is_nullish(fixed, compressor)\n )\n );\n}\n\n// Find out if this expression is optionally chained from a base-point that we\n// can statically analyze as null or undefined.\nfunction is_nullish_shortcircuited(node, compressor) {\n if (node instanceof AST_PropAccess || node instanceof AST_Call) {\n return (\n (node.optional && is_null_or_undefined(node.expression, compressor))\n || is_nullish_shortcircuited(node.expression, compressor)\n );\n }\n if (node instanceof AST_Chain) return is_nullish_shortcircuited(node.expression, compressor);\n return false;\n}\n\n// Find out if something is == null, or can short circuit into nullish.\n// Used to optimize ?. and ??\nfunction is_nullish(node, compressor) {\n if (is_null_or_undefined(node, compressor)) return true;\n return is_nullish_shortcircuited(node, compressor);\n}\n\n// Determine if expression might cause side effects\n// If there's a possibility that a node may change something when it's executed, this returns true\n(function(def_has_side_effects) {\n def_has_side_effects(AST_Node, return_true);\n\n def_has_side_effects(AST_EmptyStatement, return_false);\n def_has_side_effects(AST_Constant, return_false);\n def_has_side_effects(AST_This, return_false);\n\n function any(list, compressor) {\n for (var i = list.length; --i >= 0;)\n if (list[i].has_side_effects(compressor))\n return true;\n return false;\n }\n\n def_has_side_effects(AST_Block, function(compressor) {\n return any(this.body, compressor);\n });\n def_has_side_effects(AST_Call, function(compressor) {\n if (\n !this.is_callee_pure(compressor)\n && (!this.expression.is_call_pure(compressor)\n || this.expression.has_side_effects(compressor))\n ) {\n return true;\n }\n return any(this.args, compressor);\n });\n def_has_side_effects(AST_Switch, function(compressor) {\n return this.expression.has_side_effects(compressor)\n || any(this.body, compressor);\n });\n def_has_side_effects(AST_Case, function(compressor) {\n return this.expression.has_side_effects(compressor)\n || any(this.body, compressor);\n });\n def_has_side_effects(AST_Try, function(compressor) {\n return any(this.body, compressor)\n || this.bcatch && this.bcatch.has_side_effects(compressor)\n || this.bfinally && this.bfinally.has_side_effects(compressor);\n });\n def_has_side_effects(AST_If, function(compressor) {\n return this.condition.has_side_effects(compressor)\n || this.body && this.body.has_side_effects(compressor)\n || this.alternative && this.alternative.has_side_effects(compressor);\n });\n def_has_side_effects(AST_LabeledStatement, function(compressor) {\n return this.body.has_side_effects(compressor);\n });\n def_has_side_effects(AST_SimpleStatement, function(compressor) {\n return this.body.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Lambda, return_false);\n def_has_side_effects(AST_Class, function (compressor) {\n if (this.extends && this.extends.has_side_effects(compressor)) {\n return true;\n }\n return any(this.properties, compressor);\n });\n def_has_side_effects(AST_ClassStaticBlock, function(compressor) {\n return any(this.body, compressor);\n });\n def_has_side_effects(AST_Binary, function(compressor) {\n return this.left.has_side_effects(compressor)\n || this.right.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Assign, return_true);\n def_has_side_effects(AST_Conditional, function(compressor) {\n return this.condition.has_side_effects(compressor)\n || this.consequent.has_side_effects(compressor)\n || this.alternative.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Unary, function(compressor) {\n return unary_side_effects.has(this.operator)\n || this.expression.has_side_effects(compressor);\n });\n def_has_side_effects(AST_SymbolRef, function(compressor) {\n return !this.is_declared(compressor) && !pure_prop_access_globals.has(this.name);\n });\n def_has_side_effects(AST_SymbolClassProperty, return_false);\n def_has_side_effects(AST_SymbolDeclaration, return_false);\n def_has_side_effects(AST_Object, function(compressor) {\n return any(this.properties, compressor);\n });\n def_has_side_effects(AST_ObjectProperty, function(compressor) {\n return (\n this.computed_key() && this.key.has_side_effects(compressor)\n || this.value && this.value.has_side_effects(compressor)\n );\n });\n def_has_side_effects(AST_ClassProperty, function(compressor) {\n return (\n this.computed_key() && this.key.has_side_effects(compressor)\n || this.static && this.value && this.value.has_side_effects(compressor)\n );\n });\n def_has_side_effects(AST_ConciseMethod, function(compressor) {\n return this.computed_key() && this.key.has_side_effects(compressor);\n });\n def_has_side_effects(AST_ObjectGetter, function(compressor) {\n return this.computed_key() && this.key.has_side_effects(compressor);\n });\n def_has_side_effects(AST_ObjectSetter, function(compressor) {\n return this.computed_key() && this.key.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Array, function(compressor) {\n return any(this.elements, compressor);\n });\n def_has_side_effects(AST_Dot, function(compressor) {\n if (is_nullish(this, compressor)) return false;\n return !this.optional && this.expression.may_throw_on_access(compressor)\n || this.expression.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Sub, function(compressor) {\n if (is_nullish(this, compressor)) return false;\n\n return !this.optional && this.expression.may_throw_on_access(compressor)\n || this.expression.has_side_effects(compressor)\n || this.property.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Chain, function (compressor) {\n return this.expression.has_side_effects(compressor);\n });\n def_has_side_effects(AST_Sequence, function(compressor) {\n return any(this.expressions, compressor);\n });\n def_has_side_effects(AST_Definitions, function(compressor) {\n return any(this.definitions, compressor);\n });\n def_has_side_effects(AST_VarDef, function() {\n return this.value;\n });\n def_has_side_effects(AST_TemplateSegment, return_false);\n def_has_side_effects(AST_TemplateString, function(compressor) {\n return any(this.segments, compressor);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"has_side_effects\", func);\n});\n\n// determine if expression may throw\n(function(def_may_throw) {\n def_may_throw(AST_Node, return_true);\n\n def_may_throw(AST_Constant, return_false);\n def_may_throw(AST_EmptyStatement, return_false);\n def_may_throw(AST_Lambda, return_false);\n def_may_throw(AST_SymbolDeclaration, return_false);\n def_may_throw(AST_This, return_false);\n\n function any(list, compressor) {\n for (var i = list.length; --i >= 0;)\n if (list[i].may_throw(compressor))\n return true;\n return false;\n }\n\n def_may_throw(AST_Class, function(compressor) {\n if (this.extends && this.extends.may_throw(compressor)) return true;\n return any(this.properties, compressor);\n });\n def_may_throw(AST_ClassStaticBlock, function (compressor) {\n return any(this.body, compressor);\n });\n\n def_may_throw(AST_Array, function(compressor) {\n return any(this.elements, compressor);\n });\n def_may_throw(AST_Assign, function(compressor) {\n if (this.right.may_throw(compressor)) return true;\n if (!compressor.has_directive(\"use strict\")\n && this.operator == \"=\"\n && this.left instanceof AST_SymbolRef) {\n return false;\n }\n return this.left.may_throw(compressor);\n });\n def_may_throw(AST_Binary, function(compressor) {\n return this.left.may_throw(compressor)\n || this.right.may_throw(compressor);\n });\n def_may_throw(AST_Block, function(compressor) {\n return any(this.body, compressor);\n });\n def_may_throw(AST_Call, function(compressor) {\n if (is_nullish(this, compressor)) return false;\n if (any(this.args, compressor)) return true;\n if (this.is_callee_pure(compressor)) return false;\n if (this.expression.may_throw(compressor)) return true;\n return !(this.expression instanceof AST_Lambda)\n || any(this.expression.body, compressor);\n });\n def_may_throw(AST_Case, function(compressor) {\n return this.expression.may_throw(compressor)\n || any(this.body, compressor);\n });\n def_may_throw(AST_Conditional, function(compressor) {\n return this.condition.may_throw(compressor)\n || this.consequent.may_throw(compressor)\n || this.alternative.may_throw(compressor);\n });\n def_may_throw(AST_Definitions, function(compressor) {\n return any(this.definitions, compressor);\n });\n def_may_throw(AST_If, function(compressor) {\n return this.condition.may_throw(compressor)\n || this.body && this.body.may_throw(compressor)\n || this.alternative && this.alternative.may_throw(compressor);\n });\n def_may_throw(AST_LabeledStatement, function(compressor) {\n return this.body.may_throw(compressor);\n });\n def_may_throw(AST_Object, function(compressor) {\n return any(this.properties, compressor);\n });\n def_may_throw(AST_ObjectProperty, function(compressor) {\n // TODO key may throw too\n return this.value ? this.value.may_throw(compressor) : false;\n });\n def_may_throw(AST_ClassProperty, function(compressor) {\n return (\n this.computed_key() && this.key.may_throw(compressor)\n || this.static && this.value && this.value.may_throw(compressor)\n );\n });\n def_may_throw(AST_ConciseMethod, function(compressor) {\n return this.computed_key() && this.key.may_throw(compressor);\n });\n def_may_throw(AST_ObjectGetter, function(compressor) {\n return this.computed_key() && this.key.may_throw(compressor);\n });\n def_may_throw(AST_ObjectSetter, function(compressor) {\n return this.computed_key() && this.key.may_throw(compressor);\n });\n def_may_throw(AST_Return, function(compressor) {\n return this.value && this.value.may_throw(compressor);\n });\n def_may_throw(AST_Sequence, function(compressor) {\n return any(this.expressions, compressor);\n });\n def_may_throw(AST_SimpleStatement, function(compressor) {\n return this.body.may_throw(compressor);\n });\n def_may_throw(AST_Dot, function(compressor) {\n if (is_nullish(this, compressor)) return false;\n return !this.optional && this.expression.may_throw_on_access(compressor)\n || this.expression.may_throw(compressor);\n });\n def_may_throw(AST_Sub, function(compressor) {\n if (is_nullish(this, compressor)) return false;\n return !this.optional && this.expression.may_throw_on_access(compressor)\n || this.expression.may_throw(compressor)\n || this.property.may_throw(compressor);\n });\n def_may_throw(AST_Chain, function(compressor) {\n return this.expression.may_throw(compressor);\n });\n def_may_throw(AST_Switch, function(compressor) {\n return this.expression.may_throw(compressor)\n || any(this.body, compressor);\n });\n def_may_throw(AST_SymbolRef, function(compressor) {\n return !this.is_declared(compressor) && !pure_prop_access_globals.has(this.name);\n });\n def_may_throw(AST_SymbolClassProperty, return_false);\n def_may_throw(AST_Try, function(compressor) {\n return this.bcatch ? this.bcatch.may_throw(compressor) : any(this.body, compressor)\n || this.bfinally && this.bfinally.may_throw(compressor);\n });\n def_may_throw(AST_Unary, function(compressor) {\n if (this.operator == \"typeof\" && this.expression instanceof AST_SymbolRef)\n return false;\n return this.expression.may_throw(compressor);\n });\n def_may_throw(AST_VarDef, function(compressor) {\n if (!this.value) return false;\n return this.value.may_throw(compressor);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"may_throw\", func);\n});\n\n// determine if expression is constant\n(function(def_is_constant_expression) {\n function all_refs_local(scope) {\n let result = true;\n walk(this, node => {\n if (node instanceof AST_SymbolRef) {\n if (has_flag(this, INLINED)) {\n result = false;\n return walk_abort;\n }\n var def = node.definition();\n if (\n member(def, this.enclosed)\n && !this.variables.has(def.name)\n ) {\n if (scope) {\n var scope_def = scope.find_variable(node);\n if (def.undeclared ? !scope_def : scope_def === def) {\n result = \"f\";\n return true;\n }\n }\n result = false;\n return walk_abort;\n }\n return true;\n }\n if (node instanceof AST_This && this instanceof AST_Arrow) {\n result = false;\n return walk_abort;\n }\n });\n return result;\n }\n\n def_is_constant_expression(AST_Node, return_false);\n def_is_constant_expression(AST_Constant, return_true);\n def_is_constant_expression(AST_Class, function(scope) {\n if (this.extends && !this.extends.is_constant_expression(scope)) {\n return false;\n }\n\n for (const prop of this.properties) {\n if (prop.computed_key() && !prop.key.is_constant_expression(scope)) {\n return false;\n }\n if (prop.static && prop.value && !prop.value.is_constant_expression(scope)) {\n return false;\n }\n if (prop instanceof AST_ClassStaticBlock) {\n return false;\n }\n }\n\n return all_refs_local.call(this, scope);\n });\n def_is_constant_expression(AST_Lambda, all_refs_local);\n def_is_constant_expression(AST_Unary, function() {\n return this.expression.is_constant_expression();\n });\n def_is_constant_expression(AST_Binary, function() {\n return this.left.is_constant_expression()\n && this.right.is_constant_expression();\n });\n def_is_constant_expression(AST_Array, function() {\n return this.elements.every((l) => l.is_constant_expression());\n });\n def_is_constant_expression(AST_Object, function() {\n return this.properties.every((l) => l.is_constant_expression());\n });\n def_is_constant_expression(AST_ObjectProperty, function() {\n return !!(!(this.key instanceof AST_Node) && this.value && this.value.is_constant_expression());\n });\n})(function(node, func) {\n node.DEFMETHOD(\"is_constant_expression\", func);\n});\n\n\n// may_throw_on_access()\n// returns true if this node may be null, undefined or contain `AST_Accessor`\n(function(def_may_throw_on_access) {\n AST_Node.DEFMETHOD(\"may_throw_on_access\", function(compressor) {\n return !compressor.option(\"pure_getters\")\n || this._dot_throw(compressor);\n });\n\n function is_strict(compressor) {\n return /strict/.test(compressor.option(\"pure_getters\"));\n }\n\n def_may_throw_on_access(AST_Node, is_strict);\n def_may_throw_on_access(AST_Null, return_true);\n def_may_throw_on_access(AST_Undefined, return_true);\n def_may_throw_on_access(AST_Constant, return_false);\n def_may_throw_on_access(AST_Array, return_false);\n def_may_throw_on_access(AST_Object, function(compressor) {\n if (!is_strict(compressor)) return false;\n for (var i = this.properties.length; --i >=0;)\n if (this.properties[i]._dot_throw(compressor)) return true;\n return false;\n });\n // Do not be as strict with classes as we are with objects.\n // Hopefully the community is not going to abuse static getters and setters.\n // https://github.com/terser/terser/issues/724#issuecomment-643655656\n def_may_throw_on_access(AST_Class, return_false);\n def_may_throw_on_access(AST_ObjectProperty, return_false);\n def_may_throw_on_access(AST_ObjectGetter, return_true);\n def_may_throw_on_access(AST_Expansion, function(compressor) {\n return this.expression._dot_throw(compressor);\n });\n def_may_throw_on_access(AST_Function, return_false);\n def_may_throw_on_access(AST_Arrow, return_false);\n def_may_throw_on_access(AST_UnaryPostfix, return_false);\n def_may_throw_on_access(AST_UnaryPrefix, function() {\n return this.operator == \"void\";\n });\n def_may_throw_on_access(AST_Binary, function(compressor) {\n return (this.operator == \"&&\" || this.operator == \"||\" || this.operator == \"??\")\n && (this.left._dot_throw(compressor) || this.right._dot_throw(compressor));\n });\n def_may_throw_on_access(AST_Assign, function(compressor) {\n if (this.logical) return true;\n\n return this.operator == \"=\"\n && this.right._dot_throw(compressor);\n });\n def_may_throw_on_access(AST_Conditional, function(compressor) {\n return this.consequent._dot_throw(compressor)\n || this.alternative._dot_throw(compressor);\n });\n def_may_throw_on_access(AST_Dot, function(compressor) {\n if (!is_strict(compressor)) return false;\n\n if (this.property == \"prototype\") {\n return !(\n this.expression instanceof AST_Function\n || this.expression instanceof AST_Class\n );\n }\n return true;\n });\n def_may_throw_on_access(AST_Chain, function(compressor) {\n return this.expression._dot_throw(compressor);\n });\n def_may_throw_on_access(AST_Sequence, function(compressor) {\n return this.tail_node()._dot_throw(compressor);\n });\n def_may_throw_on_access(AST_SymbolRef, function(compressor) {\n if (this.name === \"arguments\" && this.scope instanceof AST_Lambda) return false;\n if (has_flag(this, UNDEFINED)) return true;\n if (!is_strict(compressor)) return false;\n if (is_undeclared_ref(this) && this.is_declared(compressor)) return false;\n if (this.is_immutable()) return false;\n var fixed = this.fixed_value();\n return !fixed || fixed._dot_throw(compressor);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"_dot_throw\", func);\n});\n\nfunction is_lhs(node, parent) {\n if (parent instanceof AST_Unary && unary_side_effects.has(parent.operator)) return parent.expression;\n if (parent instanceof AST_Assign && parent.left === node) return node;\n}\n\n(function(def_find_defs) {\n function to_node(value, orig) {\n if (value instanceof AST_Node) {\n if (!(value instanceof AST_Constant)) {\n // Value may be a function, an array including functions and even a complex assign / block expression,\n // so it should never be shared in different places.\n // Otherwise wrong information may be used in the compression phase\n value = value.clone(true);\n }\n return make_node(value.CTOR, orig, value);\n }\n if (Array.isArray(value)) return make_node(AST_Array, orig, {\n elements: value.map(function(value) {\n return to_node(value, orig);\n })\n });\n if (value && typeof value == \"object\") {\n var props = [];\n for (var key in value) if (HOP(value, key)) {\n props.push(make_node(AST_ObjectKeyVal, orig, {\n key: key,\n value: to_node(value[key], orig)\n }));\n }\n return make_node(AST_Object, orig, {\n properties: props\n });\n }\n return make_node_from_constant(value, orig);\n }\n\n AST_Toplevel.DEFMETHOD(\"resolve_defines\", function(compressor) {\n if (!compressor.option(\"global_defs\")) return this;\n this.figure_out_scope({ ie8: compressor.option(\"ie8\") });\n return this.transform(new TreeTransformer(function(node) {\n var def = node._find_defs(compressor, \"\");\n if (!def) return;\n var level = 0, child = node, parent;\n while (parent = this.parent(level++)) {\n if (!(parent instanceof AST_PropAccess)) break;\n if (parent.expression !== child) break;\n child = parent;\n }\n if (is_lhs(child, parent)) {\n return;\n }\n return def;\n }));\n });\n def_find_defs(AST_Node, noop);\n def_find_defs(AST_Chain, function(compressor, suffix) {\n return this.expression._find_defs(compressor, suffix);\n });\n def_find_defs(AST_Dot, function(compressor, suffix) {\n return this.expression._find_defs(compressor, \".\" + this.property + suffix);\n });\n def_find_defs(AST_SymbolDeclaration, function() {\n if (!this.global()) return;\n });\n def_find_defs(AST_SymbolRef, function(compressor, suffix) {\n if (!this.global()) return;\n var defines = compressor.option(\"global_defs\");\n var name = this.name + suffix;\n if (HOP(defines, name)) return to_node(defines[name], this);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"_find_defs\", func);\n});\n\n// method to negate an expression\n(function(def_negate) {\n function basic_negation(exp) {\n return make_node(AST_UnaryPrefix, exp, {\n operator: \"!\",\n expression: exp\n });\n }\n function best(orig, alt, first_in_statement) {\n var negated = basic_negation(orig);\n if (first_in_statement) {\n var stat = make_node(AST_SimpleStatement, alt, {\n body: alt\n });\n return best_of_expression(negated, stat) === stat ? alt : negated;\n }\n return best_of_expression(negated, alt);\n }\n def_negate(AST_Node, function() {\n return basic_negation(this);\n });\n def_negate(AST_Statement, function() {\n throw new Error(\"Cannot negate a statement\");\n });\n def_negate(AST_Function, function() {\n return basic_negation(this);\n });\n def_negate(AST_Arrow, function() {\n return basic_negation(this);\n });\n def_negate(AST_UnaryPrefix, function() {\n if (this.operator == \"!\")\n return this.expression;\n return basic_negation(this);\n });\n def_negate(AST_Sequence, function(compressor) {\n var expressions = this.expressions.slice();\n expressions.push(expressions.pop().negate(compressor));\n return make_sequence(this, expressions);\n });\n def_negate(AST_Conditional, function(compressor, first_in_statement) {\n var self = this.clone();\n self.consequent = self.consequent.negate(compressor);\n self.alternative = self.alternative.negate(compressor);\n return best(this, self, first_in_statement);\n });\n def_negate(AST_Binary, function(compressor, first_in_statement) {\n var self = this.clone(), op = this.operator;\n if (compressor.option(\"unsafe_comps\")) {\n switch (op) {\n case \"<=\" : self.operator = \">\" ; return self;\n case \"<\" : self.operator = \">=\" ; return self;\n case \">=\" : self.operator = \"<\" ; return self;\n case \">\" : self.operator = \"<=\" ; return self;\n }\n }\n switch (op) {\n case \"==\" : self.operator = \"!=\"; return self;\n case \"!=\" : self.operator = \"==\"; return self;\n case \"===\": self.operator = \"!==\"; return self;\n case \"!==\": self.operator = \"===\"; return self;\n case \"&&\":\n self.operator = \"||\";\n self.left = self.left.negate(compressor, first_in_statement);\n self.right = self.right.negate(compressor);\n return best(this, self, first_in_statement);\n case \"||\":\n self.operator = \"&&\";\n self.left = self.left.negate(compressor, first_in_statement);\n self.right = self.right.negate(compressor);\n return best(this, self, first_in_statement);\n }\n return basic_negation(this);\n });\n})(function(node, func) {\n node.DEFMETHOD(\"negate\", function(compressor, first_in_statement) {\n return func.call(this, compressor, first_in_statement);\n });\n});\n\n// Is the callee of this function pure?\nvar global_pure_fns = makePredicate(\"Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError\");\nAST_Call.DEFMETHOD(\"is_callee_pure\", function(compressor) {\n if (compressor.option(\"unsafe\")) {\n var expr = this.expression;\n var first_arg = (this.args && this.args[0] && this.args[0].evaluate(compressor));\n if (\n expr.expression && expr.expression.name === \"hasOwnProperty\" &&\n (first_arg == null || first_arg.thedef && first_arg.thedef.undeclared)\n ) {\n return false;\n }\n if (is_undeclared_ref(expr) && global_pure_fns.has(expr.name)) return true;\n if (\n expr instanceof AST_Dot\n && is_undeclared_ref(expr.expression)\n && is_pure_native_fn(expr.expression.name, expr.property)\n ) {\n return true;\n }\n }\n return !!has_annotation(this, _PURE) || !compressor.pure_funcs(this);\n});\n\n// If I call this, is it a pure function?\nAST_Node.DEFMETHOD(\"is_call_pure\", return_false);\nAST_Dot.DEFMETHOD(\"is_call_pure\", function(compressor) {\n if (!compressor.option(\"unsafe\")) return;\n const expr = this.expression;\n\n let native_obj;\n if (expr instanceof AST_Array) {\n native_obj = \"Array\";\n } else if (expr.is_boolean()) {\n native_obj = \"Boolean\";\n } else if (expr.is_number(compressor)) {\n native_obj = \"Number\";\n } else if (expr instanceof AST_RegExp) {\n native_obj = \"RegExp\";\n } else if (expr.is_string(compressor)) {\n native_obj = \"String\";\n } else if (!this.may_throw_on_access(compressor)) {\n native_obj = \"Object\";\n }\n return native_obj != null && is_pure_native_method(native_obj, this.property);\n});\n\n// tell me if a statement aborts\nconst aborts = (thing) => thing && thing.aborts();\n\n(function(def_aborts) {\n def_aborts(AST_Statement, return_null);\n def_aborts(AST_Jump, return_this);\n function block_aborts() {\n for (var i = 0; i < this.body.length; i++) {\n if (aborts(this.body[i])) {\n return this.body[i];\n }\n }\n return null;\n }\n def_aborts(AST_Import, return_null);\n def_aborts(AST_BlockStatement, block_aborts);\n def_aborts(AST_SwitchBranch, block_aborts);\n def_aborts(AST_DefClass, function () {\n for (const prop of this.properties) {\n if (prop instanceof AST_ClassStaticBlock) {\n if (prop.aborts()) return prop;\n }\n }\n return null;\n });\n def_aborts(AST_ClassStaticBlock, block_aborts);\n def_aborts(AST_If, function() {\n return this.alternative && aborts(this.body) && aborts(this.alternative) && this;\n });\n})(function(node, func) {\n node.DEFMETHOD(\"aborts\", func);\n});\n\nfunction is_modified(compressor, tw, node, value, level, immutable) {\n var parent = tw.parent(level);\n var lhs = is_lhs(node, parent);\n if (lhs) return lhs;\n if (!immutable\n && parent instanceof AST_Call\n && parent.expression === node\n && !(value instanceof AST_Arrow)\n && !(value instanceof AST_Class)\n && !parent.is_callee_pure(compressor)\n && (!(value instanceof AST_Function)\n || !(parent instanceof AST_New) && value.contains_this())) {\n return true;\n }\n if (parent instanceof AST_Array) {\n return is_modified(compressor, tw, parent, parent, level + 1);\n }\n if (parent instanceof AST_ObjectKeyVal && node === parent.value) {\n var obj = tw.parent(level + 1);\n return is_modified(compressor, tw, obj, obj, level + 2);\n }\n if (parent instanceof AST_PropAccess && parent.expression === node) {\n var prop = read_property(value, parent.property);\n return !immutable && is_modified(compressor, tw, parent, prop, level + 1);\n }\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// methods to evaluate a constant expression\n\nfunction def_eval(node, func) {\n node.DEFMETHOD(\"_eval\", func);\n}\n\n// Used to propagate a nullish short-circuit signal upwards through the chain.\nconst nullish = Symbol(\"This AST_Chain is nullish\");\n\n// If the node has been successfully reduced to a constant,\n// then its value is returned; otherwise the element itself\n// is returned.\n// They can be distinguished as constant value is never a\n// descendant of AST_Node.\nAST_Node.DEFMETHOD(\"evaluate\", function (compressor) {\n if (!compressor.option(\"evaluate\"))\n return this;\n var val = this._eval(compressor, 1);\n if (!val || val instanceof RegExp)\n return val;\n if (typeof val == \"function\" || typeof val == \"object\" || val == nullish)\n return this;\n\n // Evaluated strings can be larger than the original expression\n if (typeof val === \"string\") {\n const unevaluated_size = this.size(compressor);\n if (val.length + 2 > unevaluated_size) return this;\n }\n\n return val;\n});\n\nvar unaryPrefix = makePredicate(\"! ~ - + void\");\nAST_Node.DEFMETHOD(\"is_constant\", function () {\n // Accomodate when compress option evaluate=false\n // as well as the common constant expressions !0 and -1\n if (this instanceof AST_Constant) {\n return !(this instanceof AST_RegExp);\n } else {\n return this instanceof AST_UnaryPrefix\n && this.expression instanceof AST_Constant\n && unaryPrefix.has(this.operator);\n }\n});\n\ndef_eval(AST_Statement, function () {\n throw new Error(string_template(\"Cannot evaluate a statement [{file}:{line},{col}]\", this.start));\n});\n\ndef_eval(AST_Lambda, return_this);\ndef_eval(AST_Class, return_this);\ndef_eval(AST_Node, return_this);\ndef_eval(AST_Constant, function () {\n return this.getValue();\n});\n\ndef_eval(AST_BigInt, return_this);\n\ndef_eval(AST_RegExp, function (compressor) {\n let evaluated = compressor.evaluated_regexps.get(this.value);\n if (evaluated === undefined && regexp_is_safe(this.value.source)) {\n try {\n const { source, flags } = this.value;\n evaluated = new RegExp(source, flags);\n } catch (e) {\n evaluated = null;\n }\n compressor.evaluated_regexps.set(this.value, evaluated);\n }\n return evaluated || this;\n});\n\ndef_eval(AST_TemplateString, function () {\n if (this.segments.length !== 1) return this;\n return this.segments[0].value;\n});\n\ndef_eval(AST_Function, function (compressor) {\n if (compressor.option(\"unsafe\")) {\n var fn = function () { };\n fn.node = this;\n fn.toString = () => this.print_to_string();\n return fn;\n }\n return this;\n});\n\ndef_eval(AST_Array, function (compressor, depth) {\n if (compressor.option(\"unsafe\")) {\n var elements = [];\n for (var i = 0, len = this.elements.length; i < len; i++) {\n var element = this.elements[i];\n var value = element._eval(compressor, depth);\n if (element === value)\n return this;\n elements.push(value);\n }\n return elements;\n }\n return this;\n});\n\ndef_eval(AST_Object, function (compressor, depth) {\n if (compressor.option(\"unsafe\")) {\n var val = {};\n for (var i = 0, len = this.properties.length; i < len; i++) {\n var prop = this.properties[i];\n if (prop instanceof AST_Expansion)\n return this;\n var key = prop.key;\n if (key instanceof AST_Symbol) {\n key = key.name;\n } else if (key instanceof AST_Node) {\n key = key._eval(compressor, depth);\n if (key === prop.key)\n return this;\n }\n if (typeof Object.prototype[key] === \"function\") {\n return this;\n }\n if (prop.value instanceof AST_Function)\n continue;\n val[key] = prop.value._eval(compressor, depth);\n if (val[key] === prop.value)\n return this;\n }\n return val;\n }\n return this;\n});\n\nvar non_converting_unary = makePredicate(\"! typeof void\");\ndef_eval(AST_UnaryPrefix, function (compressor, depth) {\n var e = this.expression;\n // Function would be evaluated to an array and so typeof would\n // incorrectly return 'object'. Hence making is a special case.\n if (compressor.option(\"typeofs\")\n && this.operator == \"typeof\"\n && (e instanceof AST_Lambda\n || e instanceof AST_SymbolRef\n && e.fixed_value() instanceof AST_Lambda)) {\n return typeof function () { };\n }\n if (!non_converting_unary.has(this.operator))\n depth++;\n e = e._eval(compressor, depth);\n if (e === this.expression)\n return this;\n switch (this.operator) {\n case \"!\": return !e;\n case \"typeof\":\n // typeof <RegExp> returns \"object\" or \"function\" on different platforms\n // so cannot evaluate reliably\n if (e instanceof RegExp)\n return this;\n return typeof e;\n case \"void\": return void e;\n case \"~\": return ~e;\n case \"-\": return -e;\n case \"+\": return +e;\n }\n return this;\n});\n\nvar non_converting_binary = makePredicate(\"&& || ?? === !==\");\nconst identity_comparison = makePredicate(\"== != === !==\");\nconst has_identity = value => typeof value === \"object\"\n || typeof value === \"function\"\n || typeof value === \"symbol\";\n\ndef_eval(AST_Binary, function (compressor, depth) {\n if (!non_converting_binary.has(this.operator))\n depth++;\n\n var left = this.left._eval(compressor, depth);\n if (left === this.left)\n return this;\n var right = this.right._eval(compressor, depth);\n if (right === this.right)\n return this;\n var result;\n\n if (left != null\n && right != null\n && identity_comparison.has(this.operator)\n && has_identity(left)\n && has_identity(right)\n && typeof left === typeof right) {\n // Do not compare by reference\n return this;\n }\n\n switch (this.operator) {\n case \"&&\": result = left && right; break;\n case \"||\": result = left || right; break;\n case \"??\": result = left != null ? left : right; break;\n case \"|\": result = left | right; break;\n case \"&\": result = left & right; break;\n case \"^\": result = left ^ right; break;\n case \"+\": result = left + right; break;\n case \"*\": result = left * right; break;\n case \"**\": result = Math.pow(left, right); break;\n case \"/\": result = left / right; break;\n case \"%\": result = left % right; break;\n case \"-\": result = left - right; break;\n case \"<<\": result = left << right; break;\n case \">>\": result = left >> right; break;\n case \">>>\": result = left >>> right; break;\n case \"==\": result = left == right; break;\n case \"===\": result = left === right; break;\n case \"!=\": result = left != right; break;\n case \"!==\": result = left !== right; break;\n case \"<\": result = left < right; break;\n case \"<=\": result = left <= right; break;\n case \">\": result = left > right; break;\n case \">=\": result = left >= right; break;\n default:\n return this;\n }\n if (isNaN(result) && compressor.find_parent(AST_With)) {\n // leave original expression as is\n return this;\n }\n return result;\n});\n\ndef_eval(AST_Conditional, function (compressor, depth) {\n var condition = this.condition._eval(compressor, depth);\n if (condition === this.condition)\n return this;\n var node = condition ? this.consequent : this.alternative;\n var value = node._eval(compressor, depth);\n return value === node ? this : value;\n});\n\n// Set of AST_SymbolRef which are currently being evaluated.\n// Avoids infinite recursion of ._eval()\nconst reentrant_ref_eval = new Set();\ndef_eval(AST_SymbolRef, function (compressor, depth) {\n if (reentrant_ref_eval.has(this))\n return this;\n\n var fixed = this.fixed_value();\n if (!fixed)\n return this;\n\n reentrant_ref_eval.add(this);\n const value = fixed._eval(compressor, depth);\n reentrant_ref_eval.delete(this);\n\n if (value === fixed)\n return this;\n\n if (value && typeof value == \"object\") {\n var escaped = this.definition().escaped;\n if (escaped && depth > escaped)\n return this;\n }\n return value;\n});\n\nconst global_objs = { Array, Math, Number, Object, String };\n\nconst regexp_flags = new Set([\n \"dotAll\",\n \"global\",\n \"ignoreCase\",\n \"multiline\",\n \"sticky\",\n \"unicode\",\n]);\n\ndef_eval(AST_PropAccess, function (compressor, depth) {\n let obj = this.expression._eval(compressor, depth + 1);\n if (obj === nullish || (this.optional && obj == null)) return nullish;\n if (compressor.option(\"unsafe\")) {\n var key = this.property;\n if (key instanceof AST_Node) {\n key = key._eval(compressor, depth);\n if (key === this.property)\n return this;\n }\n var exp = this.expression;\n if (is_undeclared_ref(exp)) {\n\n var aa;\n var first_arg = exp.name === \"hasOwnProperty\"\n && key === \"call\"\n && (aa = compressor.parent() && compressor.parent().args)\n && (aa && aa[0]\n && aa[0].evaluate(compressor));\n\n first_arg = first_arg instanceof AST_Dot ? first_arg.expression : first_arg;\n\n if (first_arg == null || first_arg.thedef && first_arg.thedef.undeclared) {\n return this.clone();\n }\n if (!is_pure_native_value(exp.name, key))\n return this;\n obj = global_objs[exp.name];\n } else {\n if (obj instanceof RegExp) {\n if (key == \"source\") {\n return regexp_source_fix(obj.source);\n } else if (key == \"flags\" || regexp_flags.has(key)) {\n return obj[key];\n }\n }\n if (!obj || obj === exp || !HOP(obj, key))\n return this;\n\n if (typeof obj == \"function\")\n switch (key) {\n case \"name\":\n return obj.node.name ? obj.node.name.name : \"\";\n case \"length\":\n return obj.node.length_property();\n default:\n return this;\n }\n }\n return obj[key];\n }\n return this;\n});\n\ndef_eval(AST_Chain, function (compressor, depth) {\n const evaluated = this.expression._eval(compressor, depth);\n return evaluated === nullish\n ? undefined\n : evaluated === this.expression\n ? this\n : evaluated;\n});\n\ndef_eval(AST_Call, function (compressor, depth) {\n var exp = this.expression;\n\n const callee = exp._eval(compressor, depth);\n if (callee === nullish || (this.optional && callee == null)) return nullish;\n\n if (compressor.option(\"unsafe\") && exp instanceof AST_PropAccess) {\n var key = exp.property;\n if (key instanceof AST_Node) {\n key = key._eval(compressor, depth);\n if (key === exp.property)\n return this;\n }\n var val;\n var e = exp.expression;\n if (is_undeclared_ref(e)) {\n var first_arg = e.name === \"hasOwnProperty\" &&\n key === \"call\" &&\n (this.args[0] && this.args[0].evaluate(compressor));\n\n first_arg = first_arg instanceof AST_Dot ? first_arg.expression : first_arg;\n\n if ((first_arg == null || first_arg.thedef && first_arg.thedef.undeclared)) {\n return this.clone();\n }\n if (!is_pure_native_fn(e.name, key)) return this;\n val = global_objs[e.name];\n } else {\n val = e._eval(compressor, depth + 1);\n if (val === e || !val)\n return this;\n if (!is_pure_native_method(val.constructor.name, key))\n return this;\n }\n var args = [];\n for (var i = 0, len = this.args.length; i < len; i++) {\n var arg = this.args[i];\n var value = arg._eval(compressor, depth);\n if (arg === value)\n return this;\n if (arg instanceof AST_Lambda)\n return this;\n args.push(value);\n }\n try {\n return val[key].apply(val, args);\n } catch (ex) {\n // We don't really care\n }\n }\n return this;\n});\n\n// Also a subclass of AST_Call\ndef_eval(AST_New, return_this);\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// AST_Node#drop_side_effect_free() gets called when we don't care about the value,\n// only about side effects. We'll be defining this method for each node type in this module\n//\n// Examples:\n// foo++ -> foo++\n// 1 + func() -> func()\n// 10 -> (nothing)\n// knownPureFunc(foo++) -> foo++\n\nfunction def_drop_side_effect_free(node, func) {\n node.DEFMETHOD(\"drop_side_effect_free\", func);\n}\n\n// Drop side-effect-free elements from an array of expressions.\n// Returns an array of expressions with side-effects or null\n// if all elements were dropped. Note: original array may be\n// returned if nothing changed.\nfunction trim(nodes, compressor, first_in_statement) {\n var len = nodes.length;\n if (!len) return null;\n\n var ret = [], changed = false;\n for (var i = 0; i < len; i++) {\n var node = nodes[i].drop_side_effect_free(compressor, first_in_statement);\n changed |= node !== nodes[i];\n if (node) {\n ret.push(node);\n first_in_statement = false;\n }\n }\n return changed ? ret.length ? ret : null : nodes;\n}\n\ndef_drop_side_effect_free(AST_Node, return_this);\ndef_drop_side_effect_free(AST_Constant, return_null);\ndef_drop_side_effect_free(AST_This, return_null);\n\ndef_drop_side_effect_free(AST_Call, function (compressor, first_in_statement) {\n if (is_nullish_shortcircuited(this, compressor)) {\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n }\n\n if (!this.is_callee_pure(compressor)) {\n if (this.expression.is_call_pure(compressor)) {\n var exprs = this.args.slice();\n exprs.unshift(this.expression.expression);\n exprs = trim(exprs, compressor, first_in_statement);\n return exprs && make_sequence(this, exprs);\n }\n if (is_func_expr(this.expression)\n && (!this.expression.name || !this.expression.name.definition().references.length)) {\n var node = this.clone();\n node.expression.process_expression(false, compressor);\n return node;\n }\n return this;\n }\n\n var args = trim(this.args, compressor, first_in_statement);\n return args && make_sequence(this, args);\n});\n\ndef_drop_side_effect_free(AST_Accessor, return_null);\n\ndef_drop_side_effect_free(AST_Function, return_null);\n\ndef_drop_side_effect_free(AST_Arrow, return_null);\n\ndef_drop_side_effect_free(AST_Class, function (compressor) {\n const with_effects = [];\n const trimmed_extends = this.extends && this.extends.drop_side_effect_free(compressor);\n if (trimmed_extends)\n with_effects.push(trimmed_extends);\n for (const prop of this.properties) {\n if (prop instanceof AST_ClassStaticBlock) {\n if (prop.body.some(stat => stat.has_side_effects(compressor))) {\n return this;\n } else {\n continue;\n }\n }\n\n const trimmed_prop = prop.drop_side_effect_free(compressor);\n if (trimmed_prop)\n with_effects.push(trimmed_prop);\n }\n if (!with_effects.length)\n return null;\n return make_sequence(this, with_effects);\n});\n\ndef_drop_side_effect_free(AST_Binary, function (compressor, first_in_statement) {\n var right = this.right.drop_side_effect_free(compressor);\n if (!right)\n return this.left.drop_side_effect_free(compressor, first_in_statement);\n if (lazy_op.has(this.operator)) {\n if (right === this.right)\n return this;\n var node = this.clone();\n node.right = right;\n return node;\n } else {\n var left = this.left.drop_side_effect_free(compressor, first_in_statement);\n if (!left)\n return this.right.drop_side_effect_free(compressor, first_in_statement);\n return make_sequence(this, [left, right]);\n }\n});\n\ndef_drop_side_effect_free(AST_Assign, function (compressor) {\n if (this.logical)\n return this;\n\n var left = this.left;\n if (left.has_side_effects(compressor)\n || compressor.has_directive(\"use strict\")\n && left instanceof AST_PropAccess\n && left.expression.is_constant()) {\n return this;\n }\n set_flag(this, WRITE_ONLY);\n while (left instanceof AST_PropAccess) {\n left = left.expression;\n }\n if (left.is_constant_expression(compressor.find_parent(AST_Scope))) {\n return this.right.drop_side_effect_free(compressor);\n }\n return this;\n});\n\ndef_drop_side_effect_free(AST_Conditional, function (compressor) {\n var consequent = this.consequent.drop_side_effect_free(compressor);\n var alternative = this.alternative.drop_side_effect_free(compressor);\n if (consequent === this.consequent && alternative === this.alternative)\n return this;\n if (!consequent)\n return alternative ? make_node(AST_Binary, this, {\n operator: \"||\",\n left: this.condition,\n right: alternative\n }) : this.condition.drop_side_effect_free(compressor);\n if (!alternative)\n return make_node(AST_Binary, this, {\n operator: \"&&\",\n left: this.condition,\n right: consequent\n });\n var node = this.clone();\n node.consequent = consequent;\n node.alternative = alternative;\n return node;\n});\n\ndef_drop_side_effect_free(AST_Unary, function (compressor, first_in_statement) {\n if (unary_side_effects.has(this.operator)) {\n if (!this.expression.has_side_effects(compressor)) {\n set_flag(this, WRITE_ONLY);\n } else {\n clear_flag(this, WRITE_ONLY);\n }\n return this;\n }\n if (this.operator == \"typeof\" && this.expression instanceof AST_SymbolRef)\n return null;\n var expression = this.expression.drop_side_effect_free(compressor, first_in_statement);\n if (first_in_statement && expression && is_iife_call(expression)) {\n if (expression === this.expression && this.operator == \"!\")\n return this;\n return expression.negate(compressor, first_in_statement);\n }\n return expression;\n});\n\ndef_drop_side_effect_free(AST_SymbolRef, function (compressor) {\n const safe_access = this.is_declared(compressor)\n || pure_prop_access_globals.has(this.name);\n return safe_access ? null : this;\n});\n\ndef_drop_side_effect_free(AST_Object, function (compressor, first_in_statement) {\n var values = trim(this.properties, compressor, first_in_statement);\n return values && make_sequence(this, values);\n});\n\ndef_drop_side_effect_free(AST_ObjectProperty, function (compressor, first_in_statement) {\n const computed_key = this instanceof AST_ObjectKeyVal && this.key instanceof AST_Node;\n const key = computed_key && this.key.drop_side_effect_free(compressor, first_in_statement);\n const value = this.value && this.value.drop_side_effect_free(compressor, first_in_statement);\n if (key && value) {\n return make_sequence(this, [key, value]);\n }\n return key || value;\n});\n\ndef_drop_side_effect_free(AST_ClassProperty, function (compressor) {\n const key = this.computed_key() && this.key.drop_side_effect_free(compressor);\n\n const value = this.static && this.value\n && this.value.drop_side_effect_free(compressor);\n\n if (key && value)\n return make_sequence(this, [key, value]);\n return key || value || null;\n});\n\ndef_drop_side_effect_free(AST_ConciseMethod, function () {\n return this.computed_key() ? this.key : null;\n});\n\ndef_drop_side_effect_free(AST_ObjectGetter, function () {\n return this.computed_key() ? this.key : null;\n});\n\ndef_drop_side_effect_free(AST_ObjectSetter, function () {\n return this.computed_key() ? this.key : null;\n});\n\ndef_drop_side_effect_free(AST_Array, function (compressor, first_in_statement) {\n var values = trim(this.elements, compressor, first_in_statement);\n return values && make_sequence(this, values);\n});\n\ndef_drop_side_effect_free(AST_Dot, function (compressor, first_in_statement) {\n if (is_nullish_shortcircuited(this, compressor)) {\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n }\n if (this.expression.may_throw_on_access(compressor)) return this;\n\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n});\n\ndef_drop_side_effect_free(AST_Sub, function (compressor, first_in_statement) {\n if (is_nullish_shortcircuited(this, compressor)) {\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n }\n if (this.expression.may_throw_on_access(compressor)) return this;\n\n var expression = this.expression.drop_side_effect_free(compressor, first_in_statement);\n if (!expression)\n return this.property.drop_side_effect_free(compressor, first_in_statement);\n var property = this.property.drop_side_effect_free(compressor);\n if (!property)\n return expression;\n return make_sequence(this, [expression, property]);\n});\n\ndef_drop_side_effect_free(AST_Chain, function (compressor, first_in_statement) {\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n});\n\ndef_drop_side_effect_free(AST_Sequence, function (compressor) {\n var last = this.tail_node();\n var expr = last.drop_side_effect_free(compressor);\n if (expr === last)\n return this;\n var expressions = this.expressions.slice(0, -1);\n if (expr)\n expressions.push(expr);\n if (!expressions.length) {\n return make_node(AST_Number, this, { value: 0 });\n }\n return make_sequence(this, expressions);\n});\n\ndef_drop_side_effect_free(AST_Expansion, function (compressor, first_in_statement) {\n return this.expression.drop_side_effect_free(compressor, first_in_statement);\n});\n\ndef_drop_side_effect_free(AST_TemplateSegment, return_null);\n\ndef_drop_side_effect_free(AST_TemplateString, function (compressor) {\n var values = trim(this.segments, compressor, first_in_statement);\n return values && make_sequence(this, values);\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nconst r_keep_assign = /keep_assign/;\n\n/** Drop unused variables from this scope */\nAST_Scope.DEFMETHOD(\"drop_unused\", function(compressor) {\n if (!compressor.option(\"unused\")) return;\n if (compressor.has_directive(\"use asm\")) return;\n var self = this;\n if (self.pinned()) return;\n var drop_funcs = !(self instanceof AST_Toplevel) || compressor.toplevel.funcs;\n var drop_vars = !(self instanceof AST_Toplevel) || compressor.toplevel.vars;\n const assign_as_unused = r_keep_assign.test(compressor.option(\"unused\")) ? return_false : function(node) {\n if (node instanceof AST_Assign\n && !node.logical\n && (has_flag(node, WRITE_ONLY) || node.operator == \"=\")\n ) {\n return node.left;\n }\n if (node instanceof AST_Unary && has_flag(node, WRITE_ONLY)) {\n return node.expression;\n }\n };\n var in_use_ids = new Map();\n var fixed_ids = new Map();\n if (self instanceof AST_Toplevel && compressor.top_retain) {\n self.variables.forEach(function(def) {\n if (compressor.top_retain(def) && !in_use_ids.has(def.id)) {\n in_use_ids.set(def.id, def);\n }\n });\n }\n var var_defs_by_id = new Map();\n var initializations = new Map();\n // pass 1: find out which symbols are directly used in\n // this scope (not in nested scopes).\n var scope = this;\n var tw = new TreeWalker(function(node, descend) {\n if (node instanceof AST_Lambda && node.uses_arguments && !tw.has_directive(\"use strict\")) {\n node.argnames.forEach(function(argname) {\n if (!(argname instanceof AST_SymbolDeclaration)) return;\n var def = argname.definition();\n if (!in_use_ids.has(def.id)) {\n in_use_ids.set(def.id, def);\n }\n });\n }\n if (node === self) return;\n if (node instanceof AST_Defun || node instanceof AST_DefClass) {\n var node_def = node.name.definition();\n const in_export = tw.parent() instanceof AST_Export;\n if (in_export || !drop_funcs && scope === self) {\n if (node_def.global && !in_use_ids.has(node_def.id)) {\n in_use_ids.set(node_def.id, node_def);\n }\n }\n if (node instanceof AST_DefClass) {\n if (\n node.extends\n && (node.extends.has_side_effects(compressor)\n || node.extends.may_throw(compressor))\n ) {\n node.extends.walk(tw);\n }\n for (const prop of node.properties) {\n if (\n prop.has_side_effects(compressor) ||\n prop.may_throw(compressor)\n ) {\n prop.walk(tw);\n }\n }\n }\n map_add(initializations, node_def.id, node);\n return true; // don't go in nested scopes\n }\n if (node instanceof AST_SymbolFunarg && scope === self) {\n map_add(var_defs_by_id, node.definition().id, node);\n }\n if (node instanceof AST_Definitions && scope === self) {\n const in_export = tw.parent() instanceof AST_Export;\n node.definitions.forEach(function(def) {\n if (def.name instanceof AST_SymbolVar) {\n map_add(var_defs_by_id, def.name.definition().id, def);\n }\n if (in_export || !drop_vars) {\n walk(def.name, node => {\n if (node instanceof AST_SymbolDeclaration) {\n const def = node.definition();\n if (def.global && !in_use_ids.has(def.id)) {\n in_use_ids.set(def.id, def);\n }\n }\n });\n }\n if (def.name instanceof AST_Destructuring) {\n def.walk(tw);\n }\n if (def.name instanceof AST_SymbolDeclaration && def.value) {\n var node_def = def.name.definition();\n map_add(initializations, node_def.id, def.value);\n if (!node_def.chained && def.name.fixed_value() === def.value) {\n fixed_ids.set(node_def.id, def);\n }\n if (def.value.has_side_effects(compressor)) {\n def.value.walk(tw);\n }\n }\n });\n return true;\n }\n return scan_ref_scoped(node, descend);\n });\n self.walk(tw);\n // pass 2: for every used symbol we need to walk its\n // initialization code to figure out if it uses other\n // symbols (that may not be in_use).\n tw = new TreeWalker(scan_ref_scoped);\n in_use_ids.forEach(function (def) {\n var init = initializations.get(def.id);\n if (init) init.forEach(function(init) {\n init.walk(tw);\n });\n });\n // pass 3: we should drop declarations not in_use\n var tt = new TreeTransformer(\n function before(node, descend, in_list) {\n var parent = tt.parent();\n if (drop_vars) {\n const sym = assign_as_unused(node);\n if (sym instanceof AST_SymbolRef) {\n var def = sym.definition();\n var in_use = in_use_ids.has(def.id);\n if (node instanceof AST_Assign) {\n if (!in_use || fixed_ids.has(def.id) && fixed_ids.get(def.id) !== node) {\n return maintain_this_binding(parent, node, node.right.transform(tt));\n }\n } else if (!in_use) return in_list ? MAP.skip : make_node(AST_Number, node, {\n value: 0\n });\n }\n }\n if (scope !== self) return;\n var def;\n if (node.name\n && (node instanceof AST_ClassExpression\n && !keep_name(compressor.option(\"keep_classnames\"), (def = node.name.definition()).name)\n || node instanceof AST_Function\n && !keep_name(compressor.option(\"keep_fnames\"), (def = node.name.definition()).name))) {\n // any declarations with same name will overshadow\n // name of this anonymous function and can therefore\n // never be used anywhere\n if (!in_use_ids.has(def.id) || def.orig.length > 1) node.name = null;\n }\n if (node instanceof AST_Lambda && !(node instanceof AST_Accessor)) {\n var trim = !compressor.option(\"keep_fargs\");\n for (var a = node.argnames, i = a.length; --i >= 0;) {\n var sym = a[i];\n if (sym instanceof AST_Expansion) {\n sym = sym.expression;\n }\n if (sym instanceof AST_DefaultAssign) {\n sym = sym.left;\n }\n // Do not drop destructuring arguments.\n // They constitute a type assertion of sorts\n if (\n !(sym instanceof AST_Destructuring)\n && !in_use_ids.has(sym.definition().id)\n ) {\n set_flag(sym, UNUSED);\n if (trim) {\n a.pop();\n }\n } else {\n trim = false;\n }\n }\n }\n if ((node instanceof AST_Defun || node instanceof AST_DefClass) && node !== self) {\n const def = node.name.definition();\n const keep = def.global && !drop_funcs || in_use_ids.has(def.id);\n // Class \"extends\" and static blocks may have side effects\n const has_side_effects = !keep\n && node instanceof AST_Class\n && node.has_side_effects(compressor);\n if (!keep && !has_side_effects) {\n def.eliminated++;\n return in_list ? MAP.skip : make_node(AST_EmptyStatement, node);\n }\n }\n if (node instanceof AST_Definitions && !(parent instanceof AST_ForIn && parent.init === node)) {\n var drop_block = !(parent instanceof AST_Toplevel) && !(node instanceof AST_Var);\n // place uninitialized names at the start\n var body = [], head = [], tail = [];\n // for unused names whose initialization has\n // side effects, we can cascade the init. code\n // into the next one, or next statement.\n var side_effects = [];\n node.definitions.forEach(function(def) {\n if (def.value) def.value = def.value.transform(tt);\n var is_destructure = def.name instanceof AST_Destructuring;\n var sym = is_destructure\n ? new SymbolDef(null, { name: \"<destructure>\" }) /* fake SymbolDef */\n : def.name.definition();\n if (drop_block && sym.global) return tail.push(def);\n if (!(drop_vars || drop_block)\n || is_destructure\n && (def.name.names.length\n || def.name.is_array\n || compressor.option(\"pure_getters\") != true)\n || in_use_ids.has(sym.id)\n ) {\n if (def.value && fixed_ids.has(sym.id) && fixed_ids.get(sym.id) !== def) {\n def.value = def.value.drop_side_effect_free(compressor);\n }\n if (def.name instanceof AST_SymbolVar) {\n var var_defs = var_defs_by_id.get(sym.id);\n if (var_defs.length > 1 && (!def.value || sym.orig.indexOf(def.name) > sym.eliminated)) {\n if (def.value) {\n var ref = make_node(AST_SymbolRef, def.name, def.name);\n sym.references.push(ref);\n var assign = make_node(AST_Assign, def, {\n operator: \"=\",\n logical: false,\n left: ref,\n right: def.value\n });\n if (fixed_ids.get(sym.id) === def) {\n fixed_ids.set(sym.id, assign);\n }\n side_effects.push(assign.transform(tt));\n }\n remove(var_defs, def);\n sym.eliminated++;\n return;\n }\n }\n if (def.value) {\n if (side_effects.length > 0) {\n if (tail.length > 0) {\n side_effects.push(def.value);\n def.value = make_sequence(def.value, side_effects);\n } else {\n body.push(make_node(AST_SimpleStatement, node, {\n body: make_sequence(node, side_effects)\n }));\n }\n side_effects = [];\n }\n tail.push(def);\n } else {\n head.push(def);\n }\n } else if (sym.orig[0] instanceof AST_SymbolCatch) {\n var value = def.value && def.value.drop_side_effect_free(compressor);\n if (value) side_effects.push(value);\n def.value = null;\n head.push(def);\n } else {\n var value = def.value && def.value.drop_side_effect_free(compressor);\n if (value) {\n side_effects.push(value);\n }\n sym.eliminated++;\n }\n });\n if (head.length > 0 || tail.length > 0) {\n node.definitions = head.concat(tail);\n body.push(node);\n }\n if (side_effects.length > 0) {\n body.push(make_node(AST_SimpleStatement, node, {\n body: make_sequence(node, side_effects)\n }));\n }\n switch (body.length) {\n case 0:\n return in_list ? MAP.skip : make_node(AST_EmptyStatement, node);\n case 1:\n return body[0];\n default:\n return in_list ? MAP.splice(body) : make_node(AST_BlockStatement, node, {\n body: body\n });\n }\n }\n // certain combination of unused name + side effect leads to:\n // https://github.com/mishoo/UglifyJS2/issues/44\n // https://github.com/mishoo/UglifyJS2/issues/1830\n // https://github.com/mishoo/UglifyJS2/issues/1838\n // that's an invalid AST.\n // We fix it at this stage by moving the `var` outside the `for`.\n if (node instanceof AST_For) {\n descend(node, this);\n var block;\n if (node.init instanceof AST_BlockStatement) {\n block = node.init;\n node.init = block.body.pop();\n block.body.push(node);\n }\n if (node.init instanceof AST_SimpleStatement) {\n node.init = node.init.body;\n } else if (is_empty(node.init)) {\n node.init = null;\n }\n return !block ? node : in_list ? MAP.splice(block.body) : block;\n }\n if (node instanceof AST_LabeledStatement\n && node.body instanceof AST_For\n ) {\n descend(node, this);\n if (node.body instanceof AST_BlockStatement) {\n var block = node.body;\n node.body = block.body.pop();\n block.body.push(node);\n return in_list ? MAP.splice(block.body) : block;\n }\n return node;\n }\n if (node instanceof AST_BlockStatement) {\n descend(node, this);\n if (in_list && node.body.every(can_be_evicted_from_block)) {\n return MAP.splice(node.body);\n }\n return node;\n }\n if (node instanceof AST_Scope) {\n const save_scope = scope;\n scope = node;\n descend(node, this);\n scope = save_scope;\n return node;\n }\n }\n );\n\n self.transform(tt);\n\n function scan_ref_scoped(node, descend) {\n var node_def;\n const sym = assign_as_unused(node);\n if (sym instanceof AST_SymbolRef\n && !is_ref_of(node.left, AST_SymbolBlockDeclaration)\n && self.variables.get(sym.name) === (node_def = sym.definition())\n ) {\n if (node instanceof AST_Assign) {\n node.right.walk(tw);\n if (!node_def.chained && node.left.fixed_value() === node.right) {\n fixed_ids.set(node_def.id, node);\n }\n }\n return true;\n }\n if (node instanceof AST_SymbolRef) {\n node_def = node.definition();\n if (!in_use_ids.has(node_def.id)) {\n in_use_ids.set(node_def.id, node_def);\n if (node_def.orig[0] instanceof AST_SymbolCatch) {\n const redef = node_def.scope.is_block_scope()\n && node_def.scope.get_defun_scope().variables.get(node_def.name);\n if (redef) in_use_ids.set(redef.id, redef);\n }\n }\n return true;\n }\n if (node instanceof AST_Scope) {\n var save_scope = scope;\n scope = node;\n descend();\n scope = save_scope;\n return true;\n }\n }\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// Define the method AST_Node#reduce_vars, which goes through the AST in\n// execution order to perform basic flow analysis\n\nfunction def_reduce_vars(node, func) {\n node.DEFMETHOD(\"reduce_vars\", func);\n}\n\ndef_reduce_vars(AST_Node, noop);\n\nfunction reset_def(compressor, def) {\n def.assignments = 0;\n def.chained = false;\n def.direct_access = false;\n def.escaped = 0;\n def.recursive_refs = 0;\n def.references = [];\n def.single_use = undefined;\n if (def.scope.pinned()) {\n def.fixed = false;\n } else if (def.orig[0] instanceof AST_SymbolConst || !compressor.exposed(def)) {\n def.fixed = def.init;\n } else {\n def.fixed = false;\n }\n}\n\nfunction reset_variables(tw, compressor, node) {\n node.variables.forEach(function(def) {\n reset_def(compressor, def);\n if (def.fixed === null) {\n tw.defs_to_safe_ids.set(def.id, tw.safe_ids);\n mark(tw, def, true);\n } else if (def.fixed) {\n tw.loop_ids.set(def.id, tw.in_loop);\n mark(tw, def, true);\n }\n });\n}\n\nfunction reset_block_variables(compressor, node) {\n if (node.block_scope) node.block_scope.variables.forEach((def) => {\n reset_def(compressor, def);\n });\n}\n\nfunction push(tw) {\n tw.safe_ids = Object.create(tw.safe_ids);\n}\n\nfunction pop(tw) {\n tw.safe_ids = Object.getPrototypeOf(tw.safe_ids);\n}\n\nfunction mark(tw, def, safe) {\n tw.safe_ids[def.id] = safe;\n}\n\nfunction safe_to_read(tw, def) {\n if (def.single_use == \"m\") return false;\n if (tw.safe_ids[def.id]) {\n if (def.fixed == null) {\n var orig = def.orig[0];\n if (orig instanceof AST_SymbolFunarg || orig.name == \"arguments\") return false;\n def.fixed = make_node(AST_Undefined, orig);\n }\n return true;\n }\n return def.fixed instanceof AST_Defun;\n}\n\nfunction safe_to_assign(tw, def, scope, value) {\n if (def.fixed === undefined) return true;\n let def_safe_ids;\n if (def.fixed === null\n && (def_safe_ids = tw.defs_to_safe_ids.get(def.id))\n ) {\n def_safe_ids[def.id] = false;\n tw.defs_to_safe_ids.delete(def.id);\n return true;\n }\n if (!HOP(tw.safe_ids, def.id)) return false;\n if (!safe_to_read(tw, def)) return false;\n if (def.fixed === false) return false;\n if (def.fixed != null && (!value || def.references.length > def.assignments)) return false;\n if (def.fixed instanceof AST_Defun) {\n return value instanceof AST_Node && def.fixed.parent_scope === scope;\n }\n return def.orig.every((sym) => {\n return !(sym instanceof AST_SymbolConst\n || sym instanceof AST_SymbolDefun\n || sym instanceof AST_SymbolLambda);\n });\n}\n\nfunction ref_once(tw, compressor, def) {\n return compressor.option(\"unused\")\n && !def.scope.pinned()\n && def.references.length - def.recursive_refs == 1\n && tw.loop_ids.get(def.id) === tw.in_loop;\n}\n\nfunction is_immutable(value) {\n if (!value) return false;\n return value.is_constant()\n || value instanceof AST_Lambda\n || value instanceof AST_This;\n}\n\n// A definition \"escapes\" when its value can leave the point of use.\n// Example: `a = b || c`\n// In this example, \"b\" and \"c\" are escaping, because they're going into \"a\"\n//\n// def.escaped is != 0 when it escapes.\n//\n// When greater than 1, it means that N chained properties will be read off\n// of that def before an escape occurs. This is useful for evaluating\n// property accesses, where you need to know when to stop.\nfunction mark_escaped(tw, d, scope, node, value, level = 0, depth = 1) {\n var parent = tw.parent(level);\n if (value) {\n if (value.is_constant()) return;\n if (value instanceof AST_ClassExpression) return;\n }\n\n if (\n parent instanceof AST_Assign && (parent.operator === \"=\" || parent.logical) && node === parent.right\n || parent instanceof AST_Call && (node !== parent.expression || parent instanceof AST_New)\n || parent instanceof AST_Exit && node === parent.value && node.scope !== d.scope\n || parent instanceof AST_VarDef && node === parent.value\n || parent instanceof AST_Yield && node === parent.value && node.scope !== d.scope\n ) {\n if (depth > 1 && !(value && value.is_constant_expression(scope))) depth = 1;\n if (!d.escaped || d.escaped > depth) d.escaped = depth;\n return;\n } else if (\n parent instanceof AST_Array\n || parent instanceof AST_Await\n || parent instanceof AST_Binary && lazy_op.has(parent.operator)\n || parent instanceof AST_Conditional && node !== parent.condition\n || parent instanceof AST_Expansion\n || parent instanceof AST_Sequence && node === parent.tail_node()\n ) {\n mark_escaped(tw, d, scope, parent, parent, level + 1, depth);\n } else if (parent instanceof AST_ObjectKeyVal && node === parent.value) {\n var obj = tw.parent(level + 1);\n\n mark_escaped(tw, d, scope, obj, obj, level + 2, depth);\n } else if (parent instanceof AST_PropAccess && node === parent.expression) {\n value = read_property(value, parent.property);\n\n mark_escaped(tw, d, scope, parent, value, level + 1, depth + 1);\n if (value) return;\n }\n\n if (level > 0) return;\n if (parent instanceof AST_Sequence && node !== parent.tail_node()) return;\n if (parent instanceof AST_SimpleStatement) return;\n\n d.direct_access = true;\n}\n\nconst suppress = node => walk(node, node => {\n if (!(node instanceof AST_Symbol)) return;\n var d = node.definition();\n if (!d) return;\n if (node instanceof AST_SymbolRef) d.references.push(node);\n d.fixed = false;\n});\n\ndef_reduce_vars(AST_Accessor, function(tw, descend, compressor) {\n push(tw);\n reset_variables(tw, compressor, this);\n descend();\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_Assign, function(tw, descend, compressor) {\n var node = this;\n if (node.left instanceof AST_Destructuring) {\n suppress(node.left);\n return;\n }\n\n const finish_walk = () => {\n if (node.logical) {\n node.left.walk(tw);\n\n push(tw);\n node.right.walk(tw);\n pop(tw);\n\n return true;\n }\n };\n\n var sym = node.left;\n if (!(sym instanceof AST_SymbolRef)) return finish_walk();\n\n var def = sym.definition();\n var safe = safe_to_assign(tw, def, sym.scope, node.right);\n def.assignments++;\n if (!safe) return finish_walk();\n\n var fixed = def.fixed;\n if (!fixed && node.operator != \"=\" && !node.logical) return finish_walk();\n\n var eq = node.operator == \"=\";\n var value = eq ? node.right : node;\n if (is_modified(compressor, tw, node, value, 0)) return finish_walk();\n\n def.references.push(sym);\n\n if (!node.logical) {\n if (!eq) def.chained = true;\n\n def.fixed = eq ? function() {\n return node.right;\n } : function() {\n return make_node(AST_Binary, node, {\n operator: node.operator.slice(0, -1),\n left: fixed instanceof AST_Node ? fixed : fixed(),\n right: node.right\n });\n };\n }\n\n if (node.logical) {\n mark(tw, def, false);\n push(tw);\n node.right.walk(tw);\n pop(tw);\n return true;\n }\n\n mark(tw, def, false);\n node.right.walk(tw);\n mark(tw, def, true);\n\n mark_escaped(tw, def, sym.scope, node, value, 0, 1);\n\n return true;\n});\n\ndef_reduce_vars(AST_Binary, function(tw) {\n if (!lazy_op.has(this.operator)) return;\n this.left.walk(tw);\n push(tw);\n this.right.walk(tw);\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_Block, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n});\n\ndef_reduce_vars(AST_Case, function(tw) {\n push(tw);\n this.expression.walk(tw);\n pop(tw);\n push(tw);\n walk_body(this, tw);\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_Class, function(tw, descend) {\n clear_flag(this, INLINED);\n push(tw);\n descend();\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_ClassStaticBlock, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n});\n\ndef_reduce_vars(AST_Conditional, function(tw) {\n this.condition.walk(tw);\n push(tw);\n this.consequent.walk(tw);\n pop(tw);\n push(tw);\n this.alternative.walk(tw);\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_Chain, function(tw, descend) {\n // Chains' conditions apply left-to-right, cumulatively.\n // If we walk normally we don't go in that order because we would pop before pushing again\n // Solution: AST_PropAccess and AST_Call push when they are optional, and never pop.\n // Then we pop everything when they are done being walked.\n const safe_ids = tw.safe_ids;\n\n descend();\n\n // Unroll back to start\n tw.safe_ids = safe_ids;\n return true;\n});\n\ndef_reduce_vars(AST_Call, function (tw) {\n this.expression.walk(tw);\n\n if (this.optional) {\n // Never pop -- it's popped at AST_Chain above\n push(tw);\n }\n\n for (const arg of this.args) arg.walk(tw);\n\n return true;\n});\n\ndef_reduce_vars(AST_PropAccess, function (tw) {\n if (!this.optional) return;\n\n this.expression.walk(tw);\n\n // Never pop -- it's popped at AST_Chain above\n push(tw);\n\n if (this.property instanceof AST_Node) this.property.walk(tw);\n\n return true;\n});\n\ndef_reduce_vars(AST_Default, function(tw, descend) {\n push(tw);\n descend();\n pop(tw);\n return true;\n});\n\nfunction mark_lambda(tw, descend, compressor) {\n clear_flag(this, INLINED);\n push(tw);\n reset_variables(tw, compressor, this);\n if (this.uses_arguments) {\n descend();\n pop(tw);\n return;\n }\n var iife;\n if (!this.name\n && (iife = tw.parent()) instanceof AST_Call\n && iife.expression === this\n && !iife.args.some(arg => arg instanceof AST_Expansion)\n && this.argnames.every(arg_name => arg_name instanceof AST_Symbol)\n ) {\n // Virtually turn IIFE parameters into variable definitions:\n // (function(a,b) {...})(c,d) => (function() {var a=c,b=d; ...})()\n // So existing transformation rules can work on them.\n this.argnames.forEach((arg, i) => {\n if (!arg.definition) return;\n var d = arg.definition();\n // Avoid setting fixed when there's more than one origin for a variable value\n if (d.orig.length > 1) return;\n if (d.fixed === undefined && (!this.uses_arguments || tw.has_directive(\"use strict\"))) {\n d.fixed = function() {\n return iife.args[i] || make_node(AST_Undefined, iife);\n };\n tw.loop_ids.set(d.id, tw.in_loop);\n mark(tw, d, true);\n } else {\n d.fixed = false;\n }\n });\n }\n descend();\n pop(tw);\n return true;\n}\n\ndef_reduce_vars(AST_Lambda, mark_lambda);\n\ndef_reduce_vars(AST_Do, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n const saved_loop = tw.in_loop;\n tw.in_loop = this;\n push(tw);\n this.body.walk(tw);\n if (has_break_or_continue(this)) {\n pop(tw);\n push(tw);\n }\n this.condition.walk(tw);\n pop(tw);\n tw.in_loop = saved_loop;\n return true;\n});\n\ndef_reduce_vars(AST_For, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n if (this.init) this.init.walk(tw);\n const saved_loop = tw.in_loop;\n tw.in_loop = this;\n push(tw);\n if (this.condition) this.condition.walk(tw);\n this.body.walk(tw);\n if (this.step) {\n if (has_break_or_continue(this)) {\n pop(tw);\n push(tw);\n }\n this.step.walk(tw);\n }\n pop(tw);\n tw.in_loop = saved_loop;\n return true;\n});\n\ndef_reduce_vars(AST_ForIn, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n suppress(this.init);\n this.object.walk(tw);\n const saved_loop = tw.in_loop;\n tw.in_loop = this;\n push(tw);\n this.body.walk(tw);\n pop(tw);\n tw.in_loop = saved_loop;\n return true;\n});\n\ndef_reduce_vars(AST_If, function(tw) {\n this.condition.walk(tw);\n push(tw);\n this.body.walk(tw);\n pop(tw);\n if (this.alternative) {\n push(tw);\n this.alternative.walk(tw);\n pop(tw);\n }\n return true;\n});\n\ndef_reduce_vars(AST_LabeledStatement, function(tw) {\n push(tw);\n this.body.walk(tw);\n pop(tw);\n return true;\n});\n\ndef_reduce_vars(AST_SymbolCatch, function() {\n this.definition().fixed = false;\n});\n\ndef_reduce_vars(AST_SymbolRef, function(tw, descend, compressor) {\n var d = this.definition();\n d.references.push(this);\n if (d.references.length == 1\n && !d.fixed\n && d.orig[0] instanceof AST_SymbolDefun) {\n tw.loop_ids.set(d.id, tw.in_loop);\n }\n var fixed_value;\n if (d.fixed === undefined || !safe_to_read(tw, d)) {\n d.fixed = false;\n } else if (d.fixed) {\n fixed_value = this.fixed_value();\n if (\n fixed_value instanceof AST_Lambda\n && is_recursive_ref(tw, d)\n ) {\n d.recursive_refs++;\n } else if (fixed_value\n && !compressor.exposed(d)\n && ref_once(tw, compressor, d)\n ) {\n d.single_use =\n fixed_value instanceof AST_Lambda && !fixed_value.pinned()\n || fixed_value instanceof AST_Class\n || d.scope === this.scope && fixed_value.is_constant_expression();\n } else {\n d.single_use = false;\n }\n if (is_modified(compressor, tw, this, fixed_value, 0, is_immutable(fixed_value))) {\n if (d.single_use) {\n d.single_use = \"m\";\n } else {\n d.fixed = false;\n }\n }\n }\n mark_escaped(tw, d, this.scope, this, fixed_value, 0, 1);\n});\n\ndef_reduce_vars(AST_Toplevel, function(tw, descend, compressor) {\n this.globals.forEach(function(def) {\n reset_def(compressor, def);\n });\n reset_variables(tw, compressor, this);\n});\n\ndef_reduce_vars(AST_Try, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n push(tw);\n walk_body(this, tw);\n pop(tw);\n if (this.bcatch) {\n push(tw);\n this.bcatch.walk(tw);\n pop(tw);\n }\n if (this.bfinally) this.bfinally.walk(tw);\n return true;\n});\n\ndef_reduce_vars(AST_Unary, function(tw) {\n var node = this;\n if (node.operator !== \"++\" && node.operator !== \"--\") return;\n var exp = node.expression;\n if (!(exp instanceof AST_SymbolRef)) return;\n var def = exp.definition();\n var safe = safe_to_assign(tw, def, exp.scope, true);\n def.assignments++;\n if (!safe) return;\n var fixed = def.fixed;\n if (!fixed) return;\n def.references.push(exp);\n def.chained = true;\n def.fixed = function() {\n return make_node(AST_Binary, node, {\n operator: node.operator.slice(0, -1),\n left: make_node(AST_UnaryPrefix, node, {\n operator: \"+\",\n expression: fixed instanceof AST_Node ? fixed : fixed()\n }),\n right: make_node(AST_Number, node, {\n value: 1\n })\n });\n };\n mark(tw, def, true);\n return true;\n});\n\ndef_reduce_vars(AST_VarDef, function(tw, descend) {\n var node = this;\n if (node.name instanceof AST_Destructuring) {\n suppress(node.name);\n return;\n }\n var d = node.name.definition();\n if (node.value) {\n if (safe_to_assign(tw, d, node.name.scope, node.value)) {\n d.fixed = function() {\n return node.value;\n };\n tw.loop_ids.set(d.id, tw.in_loop);\n mark(tw, d, false);\n descend();\n mark(tw, d, true);\n return true;\n } else {\n d.fixed = false;\n }\n }\n});\n\ndef_reduce_vars(AST_While, function(tw, descend, compressor) {\n reset_block_variables(compressor, this);\n const saved_loop = tw.in_loop;\n tw.in_loop = this;\n push(tw);\n descend();\n pop(tw);\n tw.in_loop = saved_loop;\n return true;\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction loop_body(x) {\n if (x instanceof AST_IterationStatement) {\n return x.body instanceof AST_BlockStatement ? x.body : x;\n }\n return x;\n}\n\nfunction is_lhs_read_only(lhs) {\n if (lhs instanceof AST_This) return true;\n if (lhs instanceof AST_SymbolRef) return lhs.definition().orig[0] instanceof AST_SymbolLambda;\n if (lhs instanceof AST_PropAccess) {\n lhs = lhs.expression;\n if (lhs instanceof AST_SymbolRef) {\n if (lhs.is_immutable()) return false;\n lhs = lhs.fixed_value();\n }\n if (!lhs) return true;\n if (lhs instanceof AST_RegExp) return false;\n if (lhs instanceof AST_Constant) return true;\n return is_lhs_read_only(lhs);\n }\n return false;\n}\n\n// Remove code which we know is unreachable.\nfunction trim_unreachable_code(compressor, stat, target) {\n walk(stat, node => {\n if (node instanceof AST_Var) {\n node.remove_initializers();\n target.push(node);\n return true;\n }\n if (\n node instanceof AST_Defun\n && (node === stat || !compressor.has_directive(\"use strict\"))\n ) {\n target.push(node === stat ? node : make_node(AST_Var, node, {\n definitions: [\n make_node(AST_VarDef, node, {\n name: make_node(AST_SymbolVar, node.name, node.name),\n value: null\n })\n ]\n }));\n return true;\n }\n if (node instanceof AST_Export || node instanceof AST_Import) {\n target.push(node);\n return true;\n }\n if (node instanceof AST_Scope) {\n return true;\n }\n });\n}\n\n/** Tighten a bunch of statements together, and perform statement-level optimization. */\nfunction tighten_body(statements, compressor) {\n const nearest_scope = compressor.find_scope();\n const defun_scope = nearest_scope.get_defun_scope();\n const { in_loop, in_try } = find_loop_scope_try();\n\n var CHANGED, max_iter = 10;\n do {\n CHANGED = false;\n eliminate_spurious_blocks(statements);\n if (compressor.option(\"dead_code\")) {\n eliminate_dead_code(statements, compressor);\n }\n if (compressor.option(\"if_return\")) {\n handle_if_return(statements, compressor);\n }\n if (compressor.sequences_limit > 0) {\n sequencesize(statements, compressor);\n sequencesize_2(statements, compressor);\n }\n if (compressor.option(\"join_vars\")) {\n join_consecutive_vars(statements);\n }\n if (compressor.option(\"collapse_vars\")) {\n collapse(statements, compressor);\n }\n } while (CHANGED && max_iter-- > 0);\n\n function find_loop_scope_try() {\n var node = compressor.self(), level = 0, in_loop = false, in_try = false;\n do {\n if (node instanceof AST_Catch || node instanceof AST_Finally) {\n level++;\n } else if (node instanceof AST_IterationStatement) {\n in_loop = true;\n } else if (node instanceof AST_Scope) {\n break;\n } else if (node instanceof AST_Try) {\n in_try = true;\n }\n } while (node = compressor.parent(level++));\n\n return { in_loop, in_try };\n }\n\n // Search from right to left for assignment-like expressions:\n // - `var a = x;`\n // - `a = x;`\n // - `++a`\n // For each candidate, scan from left to right for first usage, then try\n // to fold assignment into the site for compression.\n // Will not attempt to collapse assignments into or past code blocks\n // which are not sequentially executed, e.g. loops and conditionals.\n function collapse(statements, compressor) {\n if (nearest_scope.pinned() || defun_scope.pinned())\n return statements;\n var args;\n var candidates = [];\n var stat_index = statements.length;\n var scanner = new TreeTransformer(function (node) {\n if (abort)\n return node;\n // Skip nodes before `candidate` as quickly as possible\n if (!hit) {\n if (node !== hit_stack[hit_index])\n return node;\n hit_index++;\n if (hit_index < hit_stack.length)\n return handle_custom_scan_order(node);\n hit = true;\n stop_after = find_stop(node, 0);\n if (stop_after === node)\n abort = true;\n return node;\n }\n // Stop immediately if these node types are encountered\n var parent = scanner.parent();\n if (node instanceof AST_Assign\n && (node.logical || node.operator != \"=\" && lhs.equivalent_to(node.left))\n || node instanceof AST_Await\n || node instanceof AST_Call && lhs instanceof AST_PropAccess && lhs.equivalent_to(node.expression)\n || node instanceof AST_Debugger\n || node instanceof AST_Destructuring\n || node instanceof AST_Expansion\n && node.expression instanceof AST_Symbol\n && (\n node.expression instanceof AST_This\n || node.expression.definition().references.length > 1\n )\n || node instanceof AST_IterationStatement && !(node instanceof AST_For)\n || node instanceof AST_LoopControl\n || node instanceof AST_Try\n || node instanceof AST_With\n || node instanceof AST_Yield\n || node instanceof AST_Export\n || node instanceof AST_Class\n || parent instanceof AST_For && node !== parent.init\n || !replace_all\n && (\n node instanceof AST_SymbolRef\n && !node.is_declared(compressor)\n && !pure_prop_access_globals.has(node)\n )\n || node instanceof AST_SymbolRef\n && parent instanceof AST_Call\n && has_annotation(parent, _NOINLINE)\n ) {\n abort = true;\n return node;\n }\n // Stop only if candidate is found within conditional branches\n if (!stop_if_hit && (!lhs_local || !replace_all)\n && (parent instanceof AST_Binary && lazy_op.has(parent.operator) && parent.left !== node\n || parent instanceof AST_Conditional && parent.condition !== node\n || parent instanceof AST_If && parent.condition !== node)) {\n stop_if_hit = parent;\n }\n // Replace variable with assignment when found\n if (\n can_replace\n && !(node instanceof AST_SymbolDeclaration)\n && lhs.equivalent_to(node)\n && !shadows(scanner.find_scope() || nearest_scope, lvalues)\n ) {\n if (stop_if_hit) {\n abort = true;\n return node;\n }\n if (is_lhs(node, parent)) {\n if (value_def)\n replaced++;\n return node;\n } else {\n replaced++;\n if (value_def && candidate instanceof AST_VarDef)\n return node;\n }\n CHANGED = abort = true;\n if (candidate instanceof AST_UnaryPostfix) {\n return make_node(AST_UnaryPrefix, candidate, candidate);\n }\n if (candidate instanceof AST_VarDef) {\n var def = candidate.name.definition();\n var value = candidate.value;\n if (def.references.length - def.replaced == 1 && !compressor.exposed(def)) {\n def.replaced++;\n if (funarg && is_identifier_atom(value)) {\n return value.transform(compressor);\n } else {\n return maintain_this_binding(parent, node, value);\n }\n }\n return make_node(AST_Assign, candidate, {\n operator: \"=\",\n logical: false,\n left: make_node(AST_SymbolRef, candidate.name, candidate.name),\n right: value\n });\n }\n clear_flag(candidate, WRITE_ONLY);\n return candidate;\n }\n // These node types have child nodes that execute sequentially,\n // but are otherwise not safe to scan into or beyond them.\n var sym;\n if (node instanceof AST_Call\n || node instanceof AST_Exit\n && (side_effects || lhs instanceof AST_PropAccess || may_modify(lhs))\n || node instanceof AST_PropAccess\n && (side_effects || node.expression.may_throw_on_access(compressor))\n || node instanceof AST_SymbolRef\n && ((lvalues.has(node.name) && lvalues.get(node.name).modified) || side_effects && may_modify(node))\n || node instanceof AST_VarDef && node.value\n && (lvalues.has(node.name.name) || side_effects && may_modify(node.name))\n || (sym = is_lhs(node.left, node))\n && (sym instanceof AST_PropAccess || lvalues.has(sym.name))\n || may_throw\n && (in_try ? node.has_side_effects(compressor) : side_effects_external(node))) {\n stop_after = node;\n if (node instanceof AST_Scope)\n abort = true;\n }\n return handle_custom_scan_order(node);\n }, function (node) {\n if (abort)\n return;\n if (stop_after === node)\n abort = true;\n if (stop_if_hit === node)\n stop_if_hit = null;\n });\n\n var multi_replacer = new TreeTransformer(function (node) {\n if (abort)\n return node;\n // Skip nodes before `candidate` as quickly as possible\n if (!hit) {\n if (node !== hit_stack[hit_index])\n return node;\n hit_index++;\n if (hit_index < hit_stack.length)\n return;\n hit = true;\n return node;\n }\n // Replace variable when found\n if (node instanceof AST_SymbolRef\n && node.name == def.name) {\n if (!--replaced)\n abort = true;\n if (is_lhs(node, multi_replacer.parent()))\n return node;\n def.replaced++;\n value_def.replaced--;\n return candidate.value;\n }\n // Skip (non-executed) functions and (leading) default case in switch statements\n if (node instanceof AST_Default || node instanceof AST_Scope)\n return node;\n });\n\n while (--stat_index >= 0) {\n // Treat parameters as collapsible in IIFE, i.e.\n // function(a, b){ ... }(x());\n // would be translated into equivalent assignments:\n // var a = x(), b = undefined;\n if (stat_index == 0 && compressor.option(\"unused\"))\n extract_args();\n // Find collapsible assignments\n var hit_stack = [];\n extract_candidates(statements[stat_index]);\n while (candidates.length > 0) {\n hit_stack = candidates.pop();\n var hit_index = 0;\n var candidate = hit_stack[hit_stack.length - 1];\n var value_def = null;\n var stop_after = null;\n var stop_if_hit = null;\n var lhs = get_lhs(candidate);\n if (!lhs || is_lhs_read_only(lhs) || lhs.has_side_effects(compressor))\n continue;\n // Locate symbols which may execute code outside of scanning range\n var lvalues = get_lvalues(candidate);\n var lhs_local = is_lhs_local(lhs);\n if (lhs instanceof AST_SymbolRef) {\n lvalues.set(lhs.name, { def: lhs.definition(), modified: false });\n }\n var side_effects = value_has_side_effects(candidate);\n var replace_all = replace_all_symbols();\n var may_throw = candidate.may_throw(compressor);\n var funarg = candidate.name instanceof AST_SymbolFunarg;\n var hit = funarg;\n var abort = false, replaced = 0, can_replace = !args || !hit;\n if (!can_replace) {\n for (var j = compressor.self().argnames.lastIndexOf(candidate.name) + 1; !abort && j < args.length; j++) {\n args[j].transform(scanner);\n }\n can_replace = true;\n }\n for (var i = stat_index; !abort && i < statements.length; i++) {\n statements[i].transform(scanner);\n }\n if (value_def) {\n var def = candidate.name.definition();\n if (abort && def.references.length - def.replaced > replaced)\n replaced = false;\n else {\n abort = false;\n hit_index = 0;\n hit = funarg;\n for (var i = stat_index; !abort && i < statements.length; i++) {\n statements[i].transform(multi_replacer);\n }\n value_def.single_use = false;\n }\n }\n if (replaced && !remove_candidate(candidate))\n statements.splice(stat_index, 1);\n }\n }\n\n function handle_custom_scan_order(node) {\n // Skip (non-executed) functions\n if (node instanceof AST_Scope)\n return node;\n\n // Scan case expressions first in a switch statement\n if (node instanceof AST_Switch) {\n node.expression = node.expression.transform(scanner);\n for (var i = 0, len = node.body.length; !abort && i < len; i++) {\n var branch = node.body[i];\n if (branch instanceof AST_Case) {\n if (!hit) {\n if (branch !== hit_stack[hit_index])\n continue;\n hit_index++;\n }\n branch.expression = branch.expression.transform(scanner);\n if (!replace_all)\n break;\n }\n }\n abort = true;\n return node;\n }\n }\n\n function redefined_within_scope(def, scope) {\n if (def.global)\n return false;\n let cur_scope = def.scope;\n while (cur_scope && cur_scope !== scope) {\n if (cur_scope.variables.has(def.name)) {\n return true;\n }\n cur_scope = cur_scope.parent_scope;\n }\n return false;\n }\n\n function has_overlapping_symbol(fn, arg, fn_strict) {\n var found = false, scan_this = !(fn instanceof AST_Arrow);\n arg.walk(new TreeWalker(function (node, descend) {\n if (found)\n return true;\n if (node instanceof AST_SymbolRef && (fn.variables.has(node.name) || redefined_within_scope(node.definition(), fn))) {\n var s = node.definition().scope;\n if (s !== defun_scope)\n while (s = s.parent_scope) {\n if (s === defun_scope)\n return true;\n }\n return found = true;\n }\n if ((fn_strict || scan_this) && node instanceof AST_This) {\n return found = true;\n }\n if (node instanceof AST_Scope && !(node instanceof AST_Arrow)) {\n var prev = scan_this;\n scan_this = false;\n descend();\n scan_this = prev;\n return true;\n }\n }));\n return found;\n }\n\n function extract_args() {\n var iife, fn = compressor.self();\n if (is_func_expr(fn)\n && !fn.name\n && !fn.uses_arguments\n && !fn.pinned()\n && (iife = compressor.parent()) instanceof AST_Call\n && iife.expression === fn\n && iife.args.every((arg) => !(arg instanceof AST_Expansion))) {\n var fn_strict = compressor.has_directive(\"use strict\");\n if (fn_strict && !member(fn_strict, fn.body))\n fn_strict = false;\n var len = fn.argnames.length;\n args = iife.args.slice(len);\n var names = new Set();\n for (var i = len; --i >= 0;) {\n var sym = fn.argnames[i];\n var arg = iife.args[i];\n // The following two line fix is a duplicate of the fix at\n // https://github.com/terser/terser/commit/011d3eb08cefe6922c7d1bdfa113fc4aeaca1b75\n // This might mean that these two pieces of code (one here in collapse_vars and another in reduce_vars\n // Might be doing the exact same thing.\n const def = sym.definition && sym.definition();\n const is_reassigned = def && def.orig.length > 1;\n if (is_reassigned)\n continue;\n args.unshift(make_node(AST_VarDef, sym, {\n name: sym,\n value: arg\n }));\n if (names.has(sym.name))\n continue;\n names.add(sym.name);\n if (sym instanceof AST_Expansion) {\n var elements = iife.args.slice(i);\n if (elements.every((arg) => !has_overlapping_symbol(fn, arg, fn_strict)\n )) {\n candidates.unshift([make_node(AST_VarDef, sym, {\n name: sym.expression,\n value: make_node(AST_Array, iife, {\n elements: elements\n })\n })]);\n }\n } else {\n if (!arg) {\n arg = make_node(AST_Undefined, sym).transform(compressor);\n } else if (arg instanceof AST_Lambda && arg.pinned()\n || has_overlapping_symbol(fn, arg, fn_strict)) {\n arg = null;\n }\n if (arg)\n candidates.unshift([make_node(AST_VarDef, sym, {\n name: sym,\n value: arg\n })]);\n }\n }\n }\n }\n\n function extract_candidates(expr) {\n hit_stack.push(expr);\n if (expr instanceof AST_Assign) {\n if (!expr.left.has_side_effects(compressor)\n && !(expr.right instanceof AST_Chain)) {\n candidates.push(hit_stack.slice());\n }\n extract_candidates(expr.right);\n } else if (expr instanceof AST_Binary) {\n extract_candidates(expr.left);\n extract_candidates(expr.right);\n } else if (expr instanceof AST_Call && !has_annotation(expr, _NOINLINE)) {\n extract_candidates(expr.expression);\n expr.args.forEach(extract_candidates);\n } else if (expr instanceof AST_Case) {\n extract_candidates(expr.expression);\n } else if (expr instanceof AST_Conditional) {\n extract_candidates(expr.condition);\n extract_candidates(expr.consequent);\n extract_candidates(expr.alternative);\n } else if (expr instanceof AST_Definitions) {\n var len = expr.definitions.length;\n // limit number of trailing variable definitions for consideration\n var i = len - 200;\n if (i < 0)\n i = 0;\n for (; i < len; i++) {\n extract_candidates(expr.definitions[i]);\n }\n } else if (expr instanceof AST_DWLoop) {\n extract_candidates(expr.condition);\n if (!(expr.body instanceof AST_Block)) {\n extract_candidates(expr.body);\n }\n } else if (expr instanceof AST_Exit) {\n if (expr.value)\n extract_candidates(expr.value);\n } else if (expr instanceof AST_For) {\n if (expr.init)\n extract_candidates(expr.init);\n if (expr.condition)\n extract_candidates(expr.condition);\n if (expr.step)\n extract_candidates(expr.step);\n if (!(expr.body instanceof AST_Block)) {\n extract_candidates(expr.body);\n }\n } else if (expr instanceof AST_ForIn) {\n extract_candidates(expr.object);\n if (!(expr.body instanceof AST_Block)) {\n extract_candidates(expr.body);\n }\n } else if (expr instanceof AST_If) {\n extract_candidates(expr.condition);\n if (!(expr.body instanceof AST_Block)) {\n extract_candidates(expr.body);\n }\n if (expr.alternative && !(expr.alternative instanceof AST_Block)) {\n extract_candidates(expr.alternative);\n }\n } else if (expr instanceof AST_Sequence) {\n expr.expressions.forEach(extract_candidates);\n } else if (expr instanceof AST_SimpleStatement) {\n extract_candidates(expr.body);\n } else if (expr instanceof AST_Switch) {\n extract_candidates(expr.expression);\n expr.body.forEach(extract_candidates);\n } else if (expr instanceof AST_Unary) {\n if (expr.operator == \"++\" || expr.operator == \"--\") {\n candidates.push(hit_stack.slice());\n }\n } else if (expr instanceof AST_VarDef) {\n if (expr.value && !(expr.value instanceof AST_Chain)) {\n candidates.push(hit_stack.slice());\n extract_candidates(expr.value);\n }\n }\n hit_stack.pop();\n }\n\n function find_stop(node, level, write_only) {\n var parent = scanner.parent(level);\n if (parent instanceof AST_Assign) {\n if (write_only\n && !parent.logical\n && !(parent.left instanceof AST_PropAccess\n || lvalues.has(parent.left.name))) {\n return find_stop(parent, level + 1, write_only);\n }\n return node;\n }\n if (parent instanceof AST_Binary) {\n if (write_only && (!lazy_op.has(parent.operator) || parent.left === node)) {\n return find_stop(parent, level + 1, write_only);\n }\n return node;\n }\n if (parent instanceof AST_Call)\n return node;\n if (parent instanceof AST_Case)\n return node;\n if (parent instanceof AST_Conditional) {\n if (write_only && parent.condition === node) {\n return find_stop(parent, level + 1, write_only);\n }\n return node;\n }\n if (parent instanceof AST_Definitions) {\n return find_stop(parent, level + 1, true);\n }\n if (parent instanceof AST_Exit) {\n return write_only ? find_stop(parent, level + 1, write_only) : node;\n }\n if (parent instanceof AST_If) {\n if (write_only && parent.condition === node) {\n return find_stop(parent, level + 1, write_only);\n }\n return node;\n }\n if (parent instanceof AST_IterationStatement)\n return node;\n if (parent instanceof AST_Sequence) {\n return find_stop(parent, level + 1, parent.tail_node() !== node);\n }\n if (parent instanceof AST_SimpleStatement) {\n return find_stop(parent, level + 1, true);\n }\n if (parent instanceof AST_Switch)\n return node;\n if (parent instanceof AST_VarDef)\n return node;\n return null;\n }\n\n function mangleable_var(var_def) {\n var value = var_def.value;\n if (!(value instanceof AST_SymbolRef))\n return;\n if (value.name == \"arguments\")\n return;\n var def = value.definition();\n if (def.undeclared)\n return;\n return value_def = def;\n }\n\n function get_lhs(expr) {\n if (expr instanceof AST_Assign && expr.logical) {\n return false;\n } else if (expr instanceof AST_VarDef && expr.name instanceof AST_SymbolDeclaration) {\n var def = expr.name.definition();\n if (!member(expr.name, def.orig))\n return;\n var referenced = def.references.length - def.replaced;\n if (!referenced)\n return;\n var declared = def.orig.length - def.eliminated;\n if (declared > 1 && !(expr.name instanceof AST_SymbolFunarg)\n || (referenced > 1 ? mangleable_var(expr) : !compressor.exposed(def))) {\n return make_node(AST_SymbolRef, expr.name, expr.name);\n }\n } else {\n const lhs = expr instanceof AST_Assign\n ? expr.left\n : expr.expression;\n return !is_ref_of(lhs, AST_SymbolConst)\n && !is_ref_of(lhs, AST_SymbolLet) && lhs;\n }\n }\n\n function get_rvalue(expr) {\n if (expr instanceof AST_Assign) {\n return expr.right;\n } else {\n return expr.value;\n }\n }\n\n function get_lvalues(expr) {\n var lvalues = new Map();\n if (expr instanceof AST_Unary)\n return lvalues;\n var tw = new TreeWalker(function (node) {\n var sym = node;\n while (sym instanceof AST_PropAccess)\n sym = sym.expression;\n if (sym instanceof AST_SymbolRef) {\n const prev = lvalues.get(sym.name);\n if (!prev || !prev.modified) {\n lvalues.set(sym.name, {\n def: sym.definition(),\n modified: is_modified(compressor, tw, node, node, 0)\n });\n }\n }\n });\n get_rvalue(expr).walk(tw);\n return lvalues;\n }\n\n function remove_candidate(expr) {\n if (expr.name instanceof AST_SymbolFunarg) {\n var iife = compressor.parent(), argnames = compressor.self().argnames;\n var index = argnames.indexOf(expr.name);\n if (index < 0) {\n iife.args.length = Math.min(iife.args.length, argnames.length - 1);\n } else {\n var args = iife.args;\n if (args[index])\n args[index] = make_node(AST_Number, args[index], {\n value: 0\n });\n }\n return true;\n }\n var found = false;\n return statements[stat_index].transform(new TreeTransformer(function (node, descend, in_list) {\n if (found)\n return node;\n if (node === expr || node.body === expr) {\n found = true;\n if (node instanceof AST_VarDef) {\n node.value = node.name instanceof AST_SymbolConst\n ? make_node(AST_Undefined, node.value) // `const` always needs value.\n : null;\n return node;\n }\n return in_list ? MAP.skip : null;\n }\n }, function (node) {\n if (node instanceof AST_Sequence)\n switch (node.expressions.length) {\n case 0: return null;\n case 1: return node.expressions[0];\n }\n }));\n }\n\n function is_lhs_local(lhs) {\n while (lhs instanceof AST_PropAccess)\n lhs = lhs.expression;\n return lhs instanceof AST_SymbolRef\n && lhs.definition().scope.get_defun_scope() === defun_scope\n && !(in_loop\n && (lvalues.has(lhs.name)\n || candidate instanceof AST_Unary\n || (candidate instanceof AST_Assign\n && !candidate.logical\n && candidate.operator != \"=\")));\n }\n\n function value_has_side_effects(expr) {\n if (expr instanceof AST_Unary)\n return unary_side_effects.has(expr.operator);\n return get_rvalue(expr).has_side_effects(compressor);\n }\n\n function replace_all_symbols() {\n if (side_effects)\n return false;\n if (value_def)\n return true;\n if (lhs instanceof AST_SymbolRef) {\n var def = lhs.definition();\n if (def.references.length - def.replaced == (candidate instanceof AST_VarDef ? 1 : 2)) {\n return true;\n }\n }\n return false;\n }\n\n function may_modify(sym) {\n if (!sym.definition)\n return true; // AST_Destructuring\n var def = sym.definition();\n if (def.orig.length == 1 && def.orig[0] instanceof AST_SymbolDefun)\n return false;\n if (def.scope.get_defun_scope() !== defun_scope)\n return true;\n return def.references.some((ref) =>\n ref.scope.get_defun_scope() !== defun_scope\n );\n }\n\n function side_effects_external(node, lhs) {\n if (node instanceof AST_Assign)\n return side_effects_external(node.left, true);\n if (node instanceof AST_Unary)\n return side_effects_external(node.expression, true);\n if (node instanceof AST_VarDef)\n return node.value && side_effects_external(node.value);\n if (lhs) {\n if (node instanceof AST_Dot)\n return side_effects_external(node.expression, true);\n if (node instanceof AST_Sub)\n return side_effects_external(node.expression, true);\n if (node instanceof AST_SymbolRef)\n return node.definition().scope.get_defun_scope() !== defun_scope;\n }\n return false;\n }\n\n /**\n * Will any of the pulled-in lvalues shadow a variable in newScope or parents?\n * similar to scope_encloses_variables_in_this_scope */\n function shadows(my_scope, lvalues) {\n for (const { def } of lvalues.values()) {\n const looked_up = my_scope.find_variable(def.name);\n if (looked_up) {\n if (looked_up === def) continue;\n return true;\n }\n }\n return false;\n }\n }\n\n function eliminate_spurious_blocks(statements) {\n var seen_dirs = [];\n for (var i = 0; i < statements.length;) {\n var stat = statements[i];\n if (stat instanceof AST_BlockStatement && stat.body.every(can_be_evicted_from_block)) {\n CHANGED = true;\n eliminate_spurious_blocks(stat.body);\n statements.splice(i, 1, ...stat.body);\n i += stat.body.length;\n } else if (stat instanceof AST_EmptyStatement) {\n CHANGED = true;\n statements.splice(i, 1);\n } else if (stat instanceof AST_Directive) {\n if (seen_dirs.indexOf(stat.value) < 0) {\n i++;\n seen_dirs.push(stat.value);\n } else {\n CHANGED = true;\n statements.splice(i, 1);\n }\n } else\n i++;\n }\n }\n\n function handle_if_return(statements, compressor) {\n var self = compressor.self();\n var multiple_if_returns = has_multiple_if_returns(statements);\n var in_lambda = self instanceof AST_Lambda;\n for (var i = statements.length; --i >= 0;) {\n var stat = statements[i];\n var j = next_index(i);\n var next = statements[j];\n\n if (in_lambda && !next && stat instanceof AST_Return) {\n if (!stat.value) {\n CHANGED = true;\n statements.splice(i, 1);\n continue;\n }\n if (stat.value instanceof AST_UnaryPrefix && stat.value.operator == \"void\") {\n CHANGED = true;\n statements[i] = make_node(AST_SimpleStatement, stat, {\n body: stat.value.expression\n });\n continue;\n }\n }\n\n if (stat instanceof AST_If) {\n var ab = aborts(stat.body);\n if (can_merge_flow(ab)) {\n if (ab.label) {\n remove(ab.label.thedef.references, ab);\n }\n CHANGED = true;\n stat = stat.clone();\n stat.condition = stat.condition.negate(compressor);\n var body = as_statement_array_with_return(stat.body, ab);\n stat.body = make_node(AST_BlockStatement, stat, {\n body: as_statement_array(stat.alternative).concat(extract_functions())\n });\n stat.alternative = make_node(AST_BlockStatement, stat, {\n body: body\n });\n statements[i] = stat.transform(compressor);\n continue;\n }\n\n var ab = aborts(stat.alternative);\n if (can_merge_flow(ab)) {\n if (ab.label) {\n remove(ab.label.thedef.references, ab);\n }\n CHANGED = true;\n stat = stat.clone();\n stat.body = make_node(AST_BlockStatement, stat.body, {\n body: as_statement_array(stat.body).concat(extract_functions())\n });\n var body = as_statement_array_with_return(stat.alternative, ab);\n stat.alternative = make_node(AST_BlockStatement, stat.alternative, {\n body: body\n });\n statements[i] = stat.transform(compressor);\n continue;\n }\n }\n\n if (stat instanceof AST_If && stat.body instanceof AST_Return) {\n var value = stat.body.value;\n //---\n // pretty silly case, but:\n // if (foo()) return; return; ==> foo(); return;\n if (!value && !stat.alternative\n && (in_lambda && !next || next instanceof AST_Return && !next.value)) {\n CHANGED = true;\n statements[i] = make_node(AST_SimpleStatement, stat.condition, {\n body: stat.condition\n });\n continue;\n }\n //---\n // if (foo()) return x; return y; ==> return foo() ? x : y;\n if (value && !stat.alternative && next instanceof AST_Return && next.value) {\n CHANGED = true;\n stat = stat.clone();\n stat.alternative = next;\n statements[i] = stat.transform(compressor);\n statements.splice(j, 1);\n continue;\n }\n //---\n // if (foo()) return x; [ return ; ] ==> return foo() ? x : undefined;\n if (value && !stat.alternative\n && (!next && in_lambda && multiple_if_returns\n || next instanceof AST_Return)) {\n CHANGED = true;\n stat = stat.clone();\n stat.alternative = next || make_node(AST_Return, stat, {\n value: null\n });\n statements[i] = stat.transform(compressor);\n if (next)\n statements.splice(j, 1);\n continue;\n }\n //---\n // if (a) return b; if (c) return d; e; ==> return a ? b : c ? d : void e;\n //\n // if sequences is not enabled, this can lead to an endless loop (issue #866).\n // however, with sequences on this helps producing slightly better output for\n // the example code.\n var prev = statements[prev_index(i)];\n if (compressor.option(\"sequences\") && in_lambda && !stat.alternative\n && prev instanceof AST_If && prev.body instanceof AST_Return\n && next_index(j) == statements.length && next instanceof AST_SimpleStatement) {\n CHANGED = true;\n stat = stat.clone();\n stat.alternative = make_node(AST_BlockStatement, next, {\n body: [\n next,\n make_node(AST_Return, next, {\n value: null\n })\n ]\n });\n statements[i] = stat.transform(compressor);\n statements.splice(j, 1);\n continue;\n }\n }\n }\n\n function has_multiple_if_returns(statements) {\n var n = 0;\n for (var i = statements.length; --i >= 0;) {\n var stat = statements[i];\n if (stat instanceof AST_If && stat.body instanceof AST_Return) {\n if (++n > 1)\n return true;\n }\n }\n return false;\n }\n\n function is_return_void(value) {\n return !value || value instanceof AST_UnaryPrefix && value.operator == \"void\";\n }\n\n function can_merge_flow(ab) {\n if (!ab)\n return false;\n for (var j = i + 1, len = statements.length; j < len; j++) {\n var stat = statements[j];\n if (stat instanceof AST_Const || stat instanceof AST_Let)\n return false;\n }\n var lct = ab instanceof AST_LoopControl ? compressor.loopcontrol_target(ab) : null;\n return ab instanceof AST_Return && in_lambda && is_return_void(ab.value)\n || ab instanceof AST_Continue && self === loop_body(lct)\n || ab instanceof AST_Break && lct instanceof AST_BlockStatement && self === lct;\n }\n\n function extract_functions() {\n var tail = statements.slice(i + 1);\n statements.length = i + 1;\n return tail.filter(function (stat) {\n if (stat instanceof AST_Defun) {\n statements.push(stat);\n return false;\n }\n return true;\n });\n }\n\n function as_statement_array_with_return(node, ab) {\n var body = as_statement_array(node).slice(0, -1);\n if (ab.value) {\n body.push(make_node(AST_SimpleStatement, ab.value, {\n body: ab.value.expression\n }));\n }\n return body;\n }\n\n function next_index(i) {\n for (var j = i + 1, len = statements.length; j < len; j++) {\n var stat = statements[j];\n if (!(stat instanceof AST_Var && declarations_only(stat))) {\n break;\n }\n }\n return j;\n }\n\n function prev_index(i) {\n for (var j = i; --j >= 0;) {\n var stat = statements[j];\n if (!(stat instanceof AST_Var && declarations_only(stat))) {\n break;\n }\n }\n return j;\n }\n }\n\n function eliminate_dead_code(statements, compressor) {\n var has_quit;\n var self = compressor.self();\n for (var i = 0, n = 0, len = statements.length; i < len; i++) {\n var stat = statements[i];\n if (stat instanceof AST_LoopControl) {\n var lct = compressor.loopcontrol_target(stat);\n if (stat instanceof AST_Break\n && !(lct instanceof AST_IterationStatement)\n && loop_body(lct) === self\n || stat instanceof AST_Continue\n && loop_body(lct) === self) {\n if (stat.label) {\n remove(stat.label.thedef.references, stat);\n }\n } else {\n statements[n++] = stat;\n }\n } else {\n statements[n++] = stat;\n }\n if (aborts(stat)) {\n has_quit = statements.slice(i + 1);\n break;\n }\n }\n statements.length = n;\n CHANGED = n != len;\n if (has_quit)\n has_quit.forEach(function (stat) {\n trim_unreachable_code(compressor, stat, statements);\n });\n }\n\n function declarations_only(node) {\n return node.definitions.every((var_def) => !var_def.value);\n }\n\n function sequencesize(statements, compressor) {\n if (statements.length < 2)\n return;\n var seq = [], n = 0;\n function push_seq() {\n if (!seq.length)\n return;\n var body = make_sequence(seq[0], seq);\n statements[n++] = make_node(AST_SimpleStatement, body, { body: body });\n seq = [];\n }\n for (var i = 0, len = statements.length; i < len; i++) {\n var stat = statements[i];\n if (stat instanceof AST_SimpleStatement) {\n if (seq.length >= compressor.sequences_limit)\n push_seq();\n var body = stat.body;\n if (seq.length > 0)\n body = body.drop_side_effect_free(compressor);\n if (body)\n merge_sequence(seq, body);\n } else if (stat instanceof AST_Definitions && declarations_only(stat)\n || stat instanceof AST_Defun) {\n statements[n++] = stat;\n } else {\n push_seq();\n statements[n++] = stat;\n }\n }\n push_seq();\n statements.length = n;\n if (n != len)\n CHANGED = true;\n }\n\n function to_simple_statement(block, decls) {\n if (!(block instanceof AST_BlockStatement))\n return block;\n var stat = null;\n for (var i = 0, len = block.body.length; i < len; i++) {\n var line = block.body[i];\n if (line instanceof AST_Var && declarations_only(line)) {\n decls.push(line);\n } else if (stat || line instanceof AST_Const || line instanceof AST_Let) {\n return false;\n } else {\n stat = line;\n }\n }\n return stat;\n }\n\n function sequencesize_2(statements, compressor) {\n function cons_seq(right) {\n n--;\n CHANGED = true;\n var left = prev.body;\n return make_sequence(left, [left, right]).transform(compressor);\n }\n var n = 0, prev;\n for (var i = 0; i < statements.length; i++) {\n var stat = statements[i];\n if (prev) {\n if (stat instanceof AST_Exit) {\n stat.value = cons_seq(stat.value || make_node(AST_Undefined, stat).transform(compressor));\n } else if (stat instanceof AST_For) {\n if (!(stat.init instanceof AST_Definitions)) {\n const abort = walk(prev.body, node => {\n if (node instanceof AST_Scope)\n return true;\n if (node instanceof AST_Binary\n && node.operator === \"in\") {\n return walk_abort;\n }\n });\n if (!abort) {\n if (stat.init)\n stat.init = cons_seq(stat.init);\n else {\n stat.init = prev.body;\n n--;\n CHANGED = true;\n }\n }\n }\n } else if (stat instanceof AST_ForIn) {\n if (!(stat.init instanceof AST_Const) && !(stat.init instanceof AST_Let)) {\n stat.object = cons_seq(stat.object);\n }\n } else if (stat instanceof AST_If) {\n stat.condition = cons_seq(stat.condition);\n } else if (stat instanceof AST_Switch) {\n stat.expression = cons_seq(stat.expression);\n } else if (stat instanceof AST_With) {\n stat.expression = cons_seq(stat.expression);\n }\n }\n if (compressor.option(\"conditionals\") && stat instanceof AST_If) {\n var decls = [];\n var body = to_simple_statement(stat.body, decls);\n var alt = to_simple_statement(stat.alternative, decls);\n if (body !== false && alt !== false && decls.length > 0) {\n var len = decls.length;\n decls.push(make_node(AST_If, stat, {\n condition: stat.condition,\n body: body || make_node(AST_EmptyStatement, stat.body),\n alternative: alt\n }));\n decls.unshift(n, 1);\n [].splice.apply(statements, decls);\n i += len;\n n += len + 1;\n prev = null;\n CHANGED = true;\n continue;\n }\n }\n statements[n++] = stat;\n prev = stat instanceof AST_SimpleStatement ? stat : null;\n }\n statements.length = n;\n }\n\n function join_object_assignments(defn, body) {\n if (!(defn instanceof AST_Definitions))\n return;\n var def = defn.definitions[defn.definitions.length - 1];\n if (!(def.value instanceof AST_Object))\n return;\n var exprs;\n if (body instanceof AST_Assign && !body.logical) {\n exprs = [body];\n } else if (body instanceof AST_Sequence) {\n exprs = body.expressions.slice();\n }\n if (!exprs)\n return;\n var trimmed = false;\n do {\n var node = exprs[0];\n if (!(node instanceof AST_Assign))\n break;\n if (node.operator != \"=\")\n break;\n if (!(node.left instanceof AST_PropAccess))\n break;\n var sym = node.left.expression;\n if (!(sym instanceof AST_SymbolRef))\n break;\n if (def.name.name != sym.name)\n break;\n if (!node.right.is_constant_expression(nearest_scope))\n break;\n var prop = node.left.property;\n if (prop instanceof AST_Node) {\n prop = prop.evaluate(compressor);\n }\n if (prop instanceof AST_Node)\n break;\n prop = \"\" + prop;\n var diff = compressor.option(\"ecma\") < 2015\n && compressor.has_directive(\"use strict\") ? function (node) {\n return node.key != prop && (node.key && node.key.name != prop);\n } : function (node) {\n return node.key && node.key.name != prop;\n };\n if (!def.value.properties.every(diff))\n break;\n var p = def.value.properties.filter(function (p) { return p.key === prop; })[0];\n if (!p) {\n def.value.properties.push(make_node(AST_ObjectKeyVal, node, {\n key: prop,\n value: node.right\n }));\n } else {\n p.value = new AST_Sequence({\n start: p.start,\n expressions: [p.value.clone(), node.right.clone()],\n end: p.end\n });\n }\n exprs.shift();\n trimmed = true;\n } while (exprs.length);\n return trimmed && exprs;\n }\n\n function join_consecutive_vars(statements) {\n var defs;\n for (var i = 0, j = -1, len = statements.length; i < len; i++) {\n var stat = statements[i];\n var prev = statements[j];\n if (stat instanceof AST_Definitions) {\n if (prev && prev.TYPE == stat.TYPE) {\n prev.definitions = prev.definitions.concat(stat.definitions);\n CHANGED = true;\n } else if (defs && defs.TYPE == stat.TYPE && declarations_only(stat)) {\n defs.definitions = defs.definitions.concat(stat.definitions);\n CHANGED = true;\n } else {\n statements[++j] = stat;\n defs = stat;\n }\n } else if (stat instanceof AST_Exit) {\n stat.value = extract_object_assignments(stat.value);\n } else if (stat instanceof AST_For) {\n var exprs = join_object_assignments(prev, stat.init);\n if (exprs) {\n CHANGED = true;\n stat.init = exprs.length ? make_sequence(stat.init, exprs) : null;\n statements[++j] = stat;\n } else if (\n prev instanceof AST_Var\n && (!stat.init || stat.init.TYPE == prev.TYPE)\n ) {\n if (stat.init) {\n prev.definitions = prev.definitions.concat(stat.init.definitions);\n }\n stat.init = prev;\n statements[j] = stat;\n CHANGED = true;\n } else if (\n defs instanceof AST_Var\n && stat.init instanceof AST_Var\n && declarations_only(stat.init)\n ) {\n defs.definitions = defs.definitions.concat(stat.init.definitions);\n stat.init = null;\n statements[++j] = stat;\n CHANGED = true;\n } else {\n statements[++j] = stat;\n }\n } else if (stat instanceof AST_ForIn) {\n stat.object = extract_object_assignments(stat.object);\n } else if (stat instanceof AST_If) {\n stat.condition = extract_object_assignments(stat.condition);\n } else if (stat instanceof AST_SimpleStatement) {\n var exprs = join_object_assignments(prev, stat.body);\n if (exprs) {\n CHANGED = true;\n if (!exprs.length)\n continue;\n stat.body = make_sequence(stat.body, exprs);\n }\n statements[++j] = stat;\n } else if (stat instanceof AST_Switch) {\n stat.expression = extract_object_assignments(stat.expression);\n } else if (stat instanceof AST_With) {\n stat.expression = extract_object_assignments(stat.expression);\n } else {\n statements[++j] = stat;\n }\n }\n statements.length = j + 1;\n\n function extract_object_assignments(value) {\n statements[++j] = stat;\n var exprs = join_object_assignments(prev, value);\n if (exprs) {\n CHANGED = true;\n if (exprs.length) {\n return make_sequence(value, exprs);\n } else if (value instanceof AST_Sequence) {\n return value.tail_node().left;\n } else {\n return value.left;\n }\n }\n return value;\n }\n }\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n\nfunction within_array_or_object_literal(compressor) {\n var node, level = 0;\n while (node = compressor.parent(level++)) {\n if (node instanceof AST_Statement) return false;\n if (node instanceof AST_Array\n || node instanceof AST_ObjectKeyVal\n || node instanceof AST_Object) {\n return true;\n }\n }\n return false;\n}\n\nfunction scope_encloses_variables_in_this_scope(scope, pulled_scope) {\n for (const enclosed of pulled_scope.enclosed) {\n if (pulled_scope.variables.has(enclosed.name)) {\n continue;\n }\n const looked_up = scope.find_variable(enclosed.name);\n if (looked_up) {\n if (looked_up === enclosed) continue;\n return true;\n }\n }\n return false;\n}\n\nfunction inline_into_symbolref(self, compressor) {\n const parent = compressor.parent();\n if (compressor.option(\"reduce_vars\") && is_lhs(self, parent) !== self) {\n const def = self.definition();\n const nearest_scope = compressor.find_scope();\n if (compressor.top_retain && def.global && compressor.top_retain(def)) {\n def.fixed = false;\n def.single_use = false;\n return self;\n }\n\n let fixed = self.fixed_value();\n let single_use = def.single_use\n && !(parent instanceof AST_Call\n && (parent.is_callee_pure(compressor))\n || has_annotation(parent, _NOINLINE))\n && !(parent instanceof AST_Export\n && fixed instanceof AST_Lambda\n && fixed.name);\n\n if (single_use && fixed instanceof AST_Node) {\n single_use =\n !fixed.has_side_effects(compressor)\n && !fixed.may_throw(compressor);\n }\n\n if (single_use && (fixed instanceof AST_Lambda || fixed instanceof AST_Class)) {\n if (retain_top_func(fixed, compressor)) {\n single_use = false;\n } else if (def.scope !== self.scope\n && (def.escaped == 1\n || has_flag(fixed, INLINED)\n || within_array_or_object_literal(compressor)\n || !compressor.option(\"reduce_funcs\"))) {\n single_use = false;\n } else if (is_recursive_ref(compressor, def)) {\n single_use = false;\n } else if (def.scope !== self.scope || def.orig[0] instanceof AST_SymbolFunarg) {\n single_use = fixed.is_constant_expression(self.scope);\n if (single_use == \"f\") {\n var scope = self.scope;\n do {\n if (scope instanceof AST_Defun || is_func_expr(scope)) {\n set_flag(scope, INLINED);\n }\n } while (scope = scope.parent_scope);\n }\n }\n }\n\n if (single_use && (fixed instanceof AST_Lambda || fixed instanceof AST_Class)) {\n single_use =\n def.scope === self.scope\n && !scope_encloses_variables_in_this_scope(nearest_scope, fixed)\n || parent instanceof AST_Call\n && parent.expression === self\n && !scope_encloses_variables_in_this_scope(nearest_scope, fixed)\n && !(fixed.name && fixed.name.definition().recursive_refs > 0);\n }\n\n if (single_use && fixed) {\n if (fixed instanceof AST_DefClass) {\n set_flag(fixed, SQUEEZED);\n fixed = make_node(AST_ClassExpression, fixed, fixed);\n }\n if (fixed instanceof AST_Defun) {\n set_flag(fixed, SQUEEZED);\n fixed = make_node(AST_Function, fixed, fixed);\n }\n if (def.recursive_refs > 0 && fixed.name instanceof AST_SymbolDefun) {\n const defun_def = fixed.name.definition();\n let lambda_def = fixed.variables.get(fixed.name.name);\n let name = lambda_def && lambda_def.orig[0];\n if (!(name instanceof AST_SymbolLambda)) {\n name = make_node(AST_SymbolLambda, fixed.name, fixed.name);\n name.scope = fixed;\n fixed.name = name;\n lambda_def = fixed.def_function(name);\n }\n walk(fixed, node => {\n if (node instanceof AST_SymbolRef && node.definition() === defun_def) {\n node.thedef = lambda_def;\n lambda_def.references.push(node);\n }\n });\n }\n if (\n (fixed instanceof AST_Lambda || fixed instanceof AST_Class)\n && fixed.parent_scope !== nearest_scope\n ) {\n fixed = fixed.clone(true, compressor.get_toplevel());\n\n nearest_scope.add_child_scope(fixed);\n }\n return fixed.optimize(compressor);\n }\n\n // multiple uses\n if (fixed) {\n let replace;\n\n if (fixed instanceof AST_This) {\n if (!(def.orig[0] instanceof AST_SymbolFunarg)\n && def.references.every((ref) =>\n def.scope === ref.scope\n )) {\n replace = fixed;\n }\n } else {\n var ev = fixed.evaluate(compressor);\n if (\n ev !== fixed\n && (compressor.option(\"unsafe_regexp\") || !(ev instanceof RegExp))\n ) {\n replace = make_node_from_constant(ev, fixed);\n }\n }\n\n if (replace) {\n const name_length = self.size(compressor);\n const replace_size = replace.size(compressor);\n\n let overhead = 0;\n if (compressor.option(\"unused\") && !compressor.exposed(def)) {\n overhead =\n (name_length + 2 + replace_size) /\n (def.references.length - def.assignments);\n }\n\n if (replace_size <= name_length + overhead) {\n return replace;\n }\n }\n }\n }\n\n return self;\n}\n\nfunction inline_into_call(self, fn, compressor) {\n var exp = self.expression;\n var simple_args = self.args.every((arg) => !(arg instanceof AST_Expansion));\n\n if (compressor.option(\"reduce_vars\")\n && fn instanceof AST_SymbolRef\n && !has_annotation(self, _NOINLINE)\n ) {\n const fixed = fn.fixed_value();\n if (!retain_top_func(fixed, compressor)) {\n fn = fixed;\n }\n }\n\n var is_func = fn instanceof AST_Lambda;\n\n var stat = is_func && fn.body[0];\n var is_regular_func = is_func && !fn.is_generator && !fn.async;\n var can_inline = is_regular_func && compressor.option(\"inline\") && !self.is_callee_pure(compressor);\n if (can_inline && stat instanceof AST_Return) {\n let returned = stat.value;\n if (!returned || returned.is_constant_expression()) {\n if (returned) {\n returned = returned.clone(true);\n } else {\n returned = make_node(AST_Undefined, self);\n }\n const args = self.args.concat(returned);\n return make_sequence(self, args).optimize(compressor);\n }\n\n // optimize identity function\n if (\n fn.argnames.length === 1\n && (fn.argnames[0] instanceof AST_SymbolFunarg)\n && self.args.length < 2\n && !(self.args[0] instanceof AST_Expansion)\n && returned instanceof AST_SymbolRef\n && returned.name === fn.argnames[0].name\n ) {\n const replacement =\n (self.args[0] || make_node(AST_Undefined)).optimize(compressor);\n\n let parent;\n if (\n replacement instanceof AST_PropAccess\n && (parent = compressor.parent()) instanceof AST_Call\n && parent.expression === self\n ) {\n // identity function was being used to remove `this`, like in\n //\n // id(bag.no_this)(...)\n //\n // Replace with a larger but more effish (0, bag.no_this) wrapper.\n\n return make_sequence(self, [\n make_node(AST_Number, self, { value: 0 }),\n replacement\n ]);\n }\n // replace call with first argument or undefined if none passed\n return replacement;\n }\n }\n\n if (can_inline) {\n var scope, in_loop, level = -1;\n let def;\n let returned_value;\n let nearest_scope;\n if (simple_args\n && !fn.uses_arguments\n && !(compressor.parent() instanceof AST_Class)\n && !(fn.name && fn instanceof AST_Function)\n && (returned_value = can_flatten_body(stat))\n && (exp === fn\n || has_annotation(self, _INLINE)\n || compressor.option(\"unused\")\n && (def = exp.definition()).references.length == 1\n && !is_recursive_ref(compressor, def)\n && fn.is_constant_expression(exp.scope))\n && !has_annotation(self, _PURE | _NOINLINE)\n && !fn.contains_this()\n && can_inject_symbols()\n && (nearest_scope = compressor.find_scope())\n && !scope_encloses_variables_in_this_scope(nearest_scope, fn)\n && !(function in_default_assign() {\n // Due to the fact function parameters have their own scope\n // which can't use `var something` in the function body within,\n // we simply don't inline into DefaultAssign.\n let i = 0;\n let p;\n while ((p = compressor.parent(i++))) {\n if (p instanceof AST_DefaultAssign) return true;\n if (p instanceof AST_Block) break;\n }\n return false;\n })()\n && !(scope instanceof AST_Class)\n ) {\n set_flag(fn, SQUEEZED);\n nearest_scope.add_child_scope(fn);\n return make_sequence(self, flatten_fn(returned_value)).optimize(compressor);\n }\n }\n\n if (can_inline && has_annotation(self, _INLINE)) {\n set_flag(fn, SQUEEZED);\n fn = make_node(fn.CTOR === AST_Defun ? AST_Function : fn.CTOR, fn, fn);\n fn = fn.clone(true);\n fn.figure_out_scope({}, {\n parent_scope: compressor.find_scope(),\n toplevel: compressor.get_toplevel()\n });\n\n return make_node(AST_Call, self, {\n expression: fn,\n args: self.args,\n }).optimize(compressor);\n }\n\n const can_drop_this_call = is_regular_func && compressor.option(\"side_effects\") && fn.body.every(is_empty);\n if (can_drop_this_call) {\n var args = self.args.concat(make_node(AST_Undefined, self));\n return make_sequence(self, args).optimize(compressor);\n }\n\n if (compressor.option(\"negate_iife\")\n && compressor.parent() instanceof AST_SimpleStatement\n && is_iife_call(self)) {\n return self.negate(compressor, true);\n }\n\n var ev = self.evaluate(compressor);\n if (ev !== self) {\n ev = make_node_from_constant(ev, self).optimize(compressor);\n return best_of(compressor, ev, self);\n }\n\n return self;\n\n function return_value(stat) {\n if (!stat) return make_node(AST_Undefined, self);\n if (stat instanceof AST_Return) {\n if (!stat.value) return make_node(AST_Undefined, self);\n return stat.value.clone(true);\n }\n if (stat instanceof AST_SimpleStatement) {\n return make_node(AST_UnaryPrefix, stat, {\n operator: \"void\",\n expression: stat.body.clone(true)\n });\n }\n }\n\n function can_flatten_body(stat) {\n var body = fn.body;\n var len = body.length;\n if (compressor.option(\"inline\") < 3) {\n return len == 1 && return_value(stat);\n }\n stat = null;\n for (var i = 0; i < len; i++) {\n var line = body[i];\n if (line instanceof AST_Var) {\n if (stat && !line.definitions.every((var_def) =>\n !var_def.value\n )) {\n return false;\n }\n } else if (stat) {\n return false;\n } else if (!(line instanceof AST_EmptyStatement)) {\n stat = line;\n }\n }\n return return_value(stat);\n }\n\n function can_inject_args(block_scoped, safe_to_inject) {\n for (var i = 0, len = fn.argnames.length; i < len; i++) {\n var arg = fn.argnames[i];\n if (arg instanceof AST_DefaultAssign) {\n if (has_flag(arg.left, UNUSED)) continue;\n return false;\n }\n if (arg instanceof AST_Destructuring) return false;\n if (arg instanceof AST_Expansion) {\n if (has_flag(arg.expression, UNUSED)) continue;\n return false;\n }\n if (has_flag(arg, UNUSED)) continue;\n if (!safe_to_inject\n || block_scoped.has(arg.name)\n || identifier_atom.has(arg.name)\n || scope.conflicting_def(arg.name)) {\n return false;\n }\n if (in_loop) in_loop.push(arg.definition());\n }\n return true;\n }\n\n function can_inject_vars(block_scoped, safe_to_inject) {\n var len = fn.body.length;\n for (var i = 0; i < len; i++) {\n var stat = fn.body[i];\n if (!(stat instanceof AST_Var)) continue;\n if (!safe_to_inject) return false;\n for (var j = stat.definitions.length; --j >= 0;) {\n var name = stat.definitions[j].name;\n if (name instanceof AST_Destructuring\n || block_scoped.has(name.name)\n || identifier_atom.has(name.name)\n || scope.conflicting_def(name.name)) {\n return false;\n }\n if (in_loop) in_loop.push(name.definition());\n }\n }\n return true;\n }\n\n function can_inject_symbols() {\n var block_scoped = new Set();\n do {\n scope = compressor.parent(++level);\n if (scope.is_block_scope() && scope.block_scope) {\n // TODO this is sometimes undefined during compression.\n // But it should always have a value!\n scope.block_scope.variables.forEach(function (variable) {\n block_scoped.add(variable.name);\n });\n }\n if (scope instanceof AST_Catch) {\n // TODO can we delete? AST_Catch is a block scope.\n if (scope.argname) {\n block_scoped.add(scope.argname.name);\n }\n } else if (scope instanceof AST_IterationStatement) {\n in_loop = [];\n } else if (scope instanceof AST_SymbolRef) {\n if (scope.fixed_value() instanceof AST_Scope) return false;\n }\n } while (!(scope instanceof AST_Scope));\n\n var safe_to_inject = !(scope instanceof AST_Toplevel) || compressor.toplevel.vars;\n var inline = compressor.option(\"inline\");\n if (!can_inject_vars(block_scoped, inline >= 3 && safe_to_inject)) return false;\n if (!can_inject_args(block_scoped, inline >= 2 && safe_to_inject)) return false;\n return !in_loop || in_loop.length == 0 || !is_reachable(fn, in_loop);\n }\n\n function append_var(decls, expressions, name, value) {\n var def = name.definition();\n\n // Name already exists, only when a function argument had the same name\n const already_appended = scope.variables.has(name.name);\n if (!already_appended) {\n scope.variables.set(name.name, def);\n scope.enclosed.push(def);\n decls.push(make_node(AST_VarDef, name, {\n name: name,\n value: null\n }));\n }\n\n var sym = make_node(AST_SymbolRef, name, name);\n def.references.push(sym);\n if (value) expressions.push(make_node(AST_Assign, self, {\n operator: \"=\",\n logical: false,\n left: sym,\n right: value.clone()\n }));\n }\n\n function flatten_args(decls, expressions) {\n var len = fn.argnames.length;\n for (var i = self.args.length; --i >= len;) {\n expressions.push(self.args[i]);\n }\n for (i = len; --i >= 0;) {\n var name = fn.argnames[i];\n var value = self.args[i];\n if (has_flag(name, UNUSED) || !name.name || scope.conflicting_def(name.name)) {\n if (value) expressions.push(value);\n } else {\n var symbol = make_node(AST_SymbolVar, name, name);\n name.definition().orig.push(symbol);\n if (!value && in_loop) value = make_node(AST_Undefined, self);\n append_var(decls, expressions, symbol, value);\n }\n }\n decls.reverse();\n expressions.reverse();\n }\n\n function flatten_vars(decls, expressions) {\n var pos = expressions.length;\n for (var i = 0, lines = fn.body.length; i < lines; i++) {\n var stat = fn.body[i];\n if (!(stat instanceof AST_Var)) continue;\n for (var j = 0, defs = stat.definitions.length; j < defs; j++) {\n var var_def = stat.definitions[j];\n var name = var_def.name;\n append_var(decls, expressions, name, var_def.value);\n if (in_loop && fn.argnames.every((argname) =>\n argname.name != name.name\n )) {\n var def = fn.variables.get(name.name);\n var sym = make_node(AST_SymbolRef, name, name);\n def.references.push(sym);\n expressions.splice(pos++, 0, make_node(AST_Assign, var_def, {\n operator: \"=\",\n logical: false,\n left: sym,\n right: make_node(AST_Undefined, name)\n }));\n }\n }\n }\n }\n\n function flatten_fn(returned_value) {\n var decls = [];\n var expressions = [];\n flatten_args(decls, expressions);\n flatten_vars(decls, expressions);\n expressions.push(returned_value);\n\n if (decls.length) {\n const i = scope.body.indexOf(compressor.parent(level - 1)) + 1;\n scope.body.splice(i, 0, make_node(AST_Var, fn, {\n definitions: decls\n }));\n }\n\n return expressions.map(exp => exp.clone(true));\n }\n}\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nclass Compressor extends TreeWalker {\n constructor(options, { false_by_default = false, mangle_options = false }) {\n super();\n if (options.defaults !== undefined && !options.defaults) false_by_default = true;\n this.options = defaults(options, {\n arguments : false,\n arrows : !false_by_default,\n booleans : !false_by_default,\n booleans_as_integers : false,\n collapse_vars : !false_by_default,\n comparisons : !false_by_default,\n computed_props: !false_by_default,\n conditionals : !false_by_default,\n dead_code : !false_by_default,\n defaults : true,\n directives : !false_by_default,\n drop_console : false,\n drop_debugger : !false_by_default,\n ecma : 5,\n evaluate : !false_by_default,\n expression : false,\n global_defs : false,\n hoist_funs : false,\n hoist_props : !false_by_default,\n hoist_vars : false,\n ie8 : false,\n if_return : !false_by_default,\n inline : !false_by_default,\n join_vars : !false_by_default,\n keep_classnames: false,\n keep_fargs : true,\n keep_fnames : false,\n keep_infinity : false,\n loops : !false_by_default,\n module : false,\n negate_iife : !false_by_default,\n passes : 1,\n properties : !false_by_default,\n pure_getters : !false_by_default && \"strict\",\n pure_funcs : null,\n reduce_funcs : !false_by_default,\n reduce_vars : !false_by_default,\n sequences : !false_by_default,\n side_effects : !false_by_default,\n switches : !false_by_default,\n top_retain : null,\n toplevel : !!(options && options[\"top_retain\"]),\n typeofs : !false_by_default,\n unsafe : false,\n unsafe_arrows : false,\n unsafe_comps : false,\n unsafe_Function: false,\n unsafe_math : false,\n unsafe_symbols: false,\n unsafe_methods: false,\n unsafe_proto : false,\n unsafe_regexp : false,\n unsafe_undefined: false,\n unused : !false_by_default,\n warnings : false // legacy\n }, true);\n var global_defs = this.options[\"global_defs\"];\n if (typeof global_defs == \"object\") for (var key in global_defs) {\n if (key[0] === \"@\" && HOP(global_defs, key)) {\n global_defs[key.slice(1)] = parse(global_defs[key], {\n expression: true\n });\n }\n }\n if (this.options[\"inline\"] === true) this.options[\"inline\"] = 3;\n var pure_funcs = this.options[\"pure_funcs\"];\n if (typeof pure_funcs == \"function\") {\n this.pure_funcs = pure_funcs;\n } else {\n this.pure_funcs = pure_funcs ? function(node) {\n return !pure_funcs.includes(node.expression.print_to_string());\n } : return_true;\n }\n var top_retain = this.options[\"top_retain\"];\n if (top_retain instanceof RegExp) {\n this.top_retain = function(def) {\n return top_retain.test(def.name);\n };\n } else if (typeof top_retain == \"function\") {\n this.top_retain = top_retain;\n } else if (top_retain) {\n if (typeof top_retain == \"string\") {\n top_retain = top_retain.split(/,/);\n }\n this.top_retain = function(def) {\n return top_retain.includes(def.name);\n };\n }\n if (this.options[\"module\"]) {\n this.directives[\"use strict\"] = true;\n this.options[\"toplevel\"] = true;\n }\n var toplevel = this.options[\"toplevel\"];\n this.toplevel = typeof toplevel == \"string\" ? {\n funcs: /funcs/.test(toplevel),\n vars: /vars/.test(toplevel)\n } : {\n funcs: toplevel,\n vars: toplevel\n };\n var sequences = this.options[\"sequences\"];\n this.sequences_limit = sequences == 1 ? 800 : sequences | 0;\n this.evaluated_regexps = new Map();\n this._toplevel = undefined;\n this.mangle_options = mangle_options\n ? format_mangler_options(mangle_options)\n : mangle_options;\n }\n\n option(key) {\n return this.options[key];\n }\n\n exposed(def) {\n if (def.export) return true;\n if (def.global) for (var i = 0, len = def.orig.length; i < len; i++)\n if (!this.toplevel[def.orig[i] instanceof AST_SymbolDefun ? \"funcs\" : \"vars\"])\n return true;\n return false;\n }\n\n in_boolean_context() {\n if (!this.option(\"booleans\")) return false;\n var self = this.self();\n for (var i = 0, p; p = this.parent(i); i++) {\n if (p instanceof AST_SimpleStatement\n || p instanceof AST_Conditional && p.condition === self\n || p instanceof AST_DWLoop && p.condition === self\n || p instanceof AST_For && p.condition === self\n || p instanceof AST_If && p.condition === self\n || p instanceof AST_UnaryPrefix && p.operator == \"!\" && p.expression === self) {\n return true;\n }\n if (\n p instanceof AST_Binary\n && (\n p.operator == \"&&\"\n || p.operator == \"||\"\n || p.operator == \"??\"\n )\n || p instanceof AST_Conditional\n || p.tail_node() === self\n ) {\n self = p;\n } else {\n return false;\n }\n }\n }\n\n get_toplevel() {\n return this._toplevel;\n }\n\n compress(toplevel) {\n toplevel = toplevel.resolve_defines(this);\n this._toplevel = toplevel;\n if (this.option(\"expression\")) {\n this._toplevel.process_expression(true);\n }\n var passes = +this.options.passes || 1;\n var min_count = 1 / 0;\n var stopping = false;\n var nth_identifier = this.mangle_options && this.mangle_options.nth_identifier || base54;\n var mangle = { ie8: this.option(\"ie8\"), nth_identifier: nth_identifier };\n for (var pass = 0; pass < passes; pass++) {\n this._toplevel.figure_out_scope(mangle);\n if (pass === 0 && this.option(\"drop_console\")) {\n // must be run before reduce_vars and compress pass\n this._toplevel = this._toplevel.drop_console();\n }\n if (pass > 0 || this.option(\"reduce_vars\")) {\n this._toplevel.reset_opt_flags(this);\n }\n this._toplevel = this._toplevel.transform(this);\n if (passes > 1) {\n let count = 0;\n walk(this._toplevel, () => { count++; });\n if (count < min_count) {\n min_count = count;\n stopping = false;\n } else if (stopping) {\n break;\n } else {\n stopping = true;\n }\n }\n }\n if (this.option(\"expression\")) {\n this._toplevel.process_expression(false);\n }\n toplevel = this._toplevel;\n this._toplevel = undefined;\n return toplevel;\n }\n\n before(node, descend) {\n if (has_flag(node, SQUEEZED)) return node;\n var was_scope = false;\n if (node instanceof AST_Scope) {\n node = node.hoist_properties(this);\n node = node.hoist_declarations(this);\n was_scope = true;\n }\n // Before https://github.com/mishoo/UglifyJS2/pull/1602 AST_Node.optimize()\n // would call AST_Node.transform() if a different instance of AST_Node is\n // produced after def_optimize().\n // This corrupts TreeWalker.stack, which cause AST look-ups to malfunction.\n // Migrate and defer all children's AST_Node.transform() to below, which\n // will now happen after this parent AST_Node has been properly substituted\n // thus gives a consistent AST snapshot.\n descend(node, this);\n // Existing code relies on how AST_Node.optimize() worked, and omitting the\n // following replacement call would result in degraded efficiency of both\n // output and performance.\n descend(node, this);\n var opt = node.optimize(this);\n if (was_scope && opt instanceof AST_Scope) {\n opt.drop_unused(this);\n descend(opt, this);\n }\n if (opt === node) set_flag(opt, SQUEEZED);\n return opt;\n }\n}\n\nfunction def_optimize(node, optimizer) {\n node.DEFMETHOD(\"optimize\", function(compressor) {\n var self = this;\n if (has_flag(self, OPTIMIZED)) return self;\n if (compressor.has_directive(\"use asm\")) return self;\n var opt = optimizer(self, compressor);\n set_flag(opt, OPTIMIZED);\n return opt;\n });\n}\n\ndef_optimize(AST_Node, function(self) {\n return self;\n});\n\nAST_Toplevel.DEFMETHOD(\"drop_console\", function() {\n return this.transform(new TreeTransformer(function(self) {\n if (self.TYPE == \"Call\") {\n var exp = self.expression;\n if (exp instanceof AST_PropAccess) {\n var name = exp.expression;\n while (name.expression) {\n name = name.expression;\n }\n if (is_undeclared_ref(name) && name.name == \"console\") {\n return make_node(AST_Undefined, self);\n }\n }\n }\n }));\n});\n\nAST_Node.DEFMETHOD(\"equivalent_to\", function(node) {\n return equivalent_to(this, node);\n});\n\nAST_Scope.DEFMETHOD(\"process_expression\", function(insert, compressor) {\n var self = this;\n var tt = new TreeTransformer(function(node) {\n if (insert && node instanceof AST_SimpleStatement) {\n return make_node(AST_Return, node, {\n value: node.body\n });\n }\n if (!insert && node instanceof AST_Return) {\n if (compressor) {\n var value = node.value && node.value.drop_side_effect_free(compressor, true);\n return value\n ? make_node(AST_SimpleStatement, node, { body: value })\n : make_node(AST_EmptyStatement, node);\n }\n return make_node(AST_SimpleStatement, node, {\n body: node.value || make_node(AST_UnaryPrefix, node, {\n operator: \"void\",\n expression: make_node(AST_Number, node, {\n value: 0\n })\n })\n });\n }\n if (node instanceof AST_Class || node instanceof AST_Lambda && node !== self) {\n return node;\n }\n if (node instanceof AST_Block) {\n var index = node.body.length - 1;\n if (index >= 0) {\n node.body[index] = node.body[index].transform(tt);\n }\n } else if (node instanceof AST_If) {\n node.body = node.body.transform(tt);\n if (node.alternative) {\n node.alternative = node.alternative.transform(tt);\n }\n } else if (node instanceof AST_With) {\n node.body = node.body.transform(tt);\n }\n return node;\n });\n self.transform(tt);\n});\n\nAST_Toplevel.DEFMETHOD(\"reset_opt_flags\", function(compressor) {\n const self = this;\n const reduce_vars = compressor.option(\"reduce_vars\");\n\n const preparation = new TreeWalker(function(node, descend) {\n clear_flag(node, CLEAR_BETWEEN_PASSES);\n if (reduce_vars) {\n if (compressor.top_retain\n && node instanceof AST_Defun // Only functions are retained\n && preparation.parent() === self\n ) {\n set_flag(node, TOP);\n }\n return node.reduce_vars(preparation, descend, compressor);\n }\n });\n // Stack of look-up tables to keep track of whether a `SymbolDef` has been\n // properly assigned before use:\n // - `push()` & `pop()` when visiting conditional branches\n preparation.safe_ids = Object.create(null);\n preparation.in_loop = null;\n preparation.loop_ids = new Map();\n preparation.defs_to_safe_ids = new Map();\n self.walk(preparation);\n});\n\nAST_Symbol.DEFMETHOD(\"fixed_value\", function() {\n var fixed = this.thedef.fixed;\n if (!fixed || fixed instanceof AST_Node) return fixed;\n return fixed();\n});\n\nAST_SymbolRef.DEFMETHOD(\"is_immutable\", function() {\n var orig = this.definition().orig;\n return orig.length == 1 && orig[0] instanceof AST_SymbolLambda;\n});\n\nfunction find_variable(compressor, name) {\n var scope, i = 0;\n while (scope = compressor.parent(i++)) {\n if (scope instanceof AST_Scope) break;\n if (scope instanceof AST_Catch && scope.argname) {\n scope = scope.argname.definition().scope;\n break;\n }\n }\n return scope.find_variable(name);\n}\n\nvar global_names = makePredicate(\"Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError\");\nAST_SymbolRef.DEFMETHOD(\"is_declared\", function(compressor) {\n return !this.definition().undeclared\n || compressor.option(\"unsafe\") && global_names.has(this.name);\n});\n\n/* -----[ optimizers ]----- */\n\nvar directives = new Set([\"use asm\", \"use strict\"]);\ndef_optimize(AST_Directive, function(self, compressor) {\n if (compressor.option(\"directives\")\n && (!directives.has(self.value) || compressor.has_directive(self.value) !== self)) {\n return make_node(AST_EmptyStatement, self);\n }\n return self;\n});\n\ndef_optimize(AST_Debugger, function(self, compressor) {\n if (compressor.option(\"drop_debugger\"))\n return make_node(AST_EmptyStatement, self);\n return self;\n});\n\ndef_optimize(AST_LabeledStatement, function(self, compressor) {\n if (self.body instanceof AST_Break\n && compressor.loopcontrol_target(self.body) === self.body) {\n return make_node(AST_EmptyStatement, self);\n }\n return self.label.references.length == 0 ? self.body : self;\n});\n\ndef_optimize(AST_Block, function(self, compressor) {\n tighten_body(self.body, compressor);\n return self;\n});\n\nfunction can_be_extracted_from_if_block(node) {\n return !(\n node instanceof AST_Const\n || node instanceof AST_Let\n || node instanceof AST_Class\n );\n}\n\ndef_optimize(AST_BlockStatement, function(self, compressor) {\n tighten_body(self.body, compressor);\n switch (self.body.length) {\n case 1:\n if (!compressor.has_directive(\"use strict\")\n && compressor.parent() instanceof AST_If\n && can_be_extracted_from_if_block(self.body[0])\n || can_be_evicted_from_block(self.body[0])) {\n return self.body[0];\n }\n break;\n case 0: return make_node(AST_EmptyStatement, self);\n }\n return self;\n});\n\nfunction opt_AST_Lambda(self, compressor) {\n tighten_body(self.body, compressor);\n if (compressor.option(\"side_effects\")\n && self.body.length == 1\n && self.body[0] === compressor.has_directive(\"use strict\")) {\n self.body.length = 0;\n }\n return self;\n}\ndef_optimize(AST_Lambda, opt_AST_Lambda);\n\nAST_Scope.DEFMETHOD(\"hoist_declarations\", function(compressor) {\n var self = this;\n if (compressor.has_directive(\"use asm\")) return self;\n // Hoisting makes no sense in an arrow func\n if (!Array.isArray(self.body)) return self;\n\n var hoist_funs = compressor.option(\"hoist_funs\");\n var hoist_vars = compressor.option(\"hoist_vars\");\n\n if (hoist_funs || hoist_vars) {\n var dirs = [];\n var hoisted = [];\n var vars = new Map(), vars_found = 0, var_decl = 0;\n // let's count var_decl first, we seem to waste a lot of\n // space if we hoist `var` when there's only one.\n walk(self, node => {\n if (node instanceof AST_Scope && node !== self)\n return true;\n if (node instanceof AST_Var) {\n ++var_decl;\n return true;\n }\n });\n hoist_vars = hoist_vars && var_decl > 1;\n var tt = new TreeTransformer(\n function before(node) {\n if (node !== self) {\n if (node instanceof AST_Directive) {\n dirs.push(node);\n return make_node(AST_EmptyStatement, node);\n }\n if (hoist_funs && node instanceof AST_Defun\n && !(tt.parent() instanceof AST_Export)\n && tt.parent() === self) {\n hoisted.push(node);\n return make_node(AST_EmptyStatement, node);\n }\n if (\n hoist_vars\n && node instanceof AST_Var\n && !node.definitions.some(def => def.name instanceof AST_Destructuring)\n ) {\n node.definitions.forEach(function(def) {\n vars.set(def.name.name, def);\n ++vars_found;\n });\n var seq = node.to_assignments(compressor);\n var p = tt.parent();\n if (p instanceof AST_ForIn && p.init === node) {\n if (seq == null) {\n var def = node.definitions[0].name;\n return make_node(AST_SymbolRef, def, def);\n }\n return seq;\n }\n if (p instanceof AST_For && p.init === node) {\n return seq;\n }\n if (!seq) return make_node(AST_EmptyStatement, node);\n return make_node(AST_SimpleStatement, node, {\n body: seq\n });\n }\n if (node instanceof AST_Scope)\n return node; // to avoid descending in nested scopes\n }\n }\n );\n self = self.transform(tt);\n if (vars_found > 0) {\n // collect only vars which don't show up in self's arguments list\n var defs = [];\n const is_lambda = self instanceof AST_Lambda;\n const args_as_names = is_lambda ? self.args_as_names() : null;\n vars.forEach((def, name) => {\n if (is_lambda && args_as_names.some((x) => x.name === def.name.name)) {\n vars.delete(name);\n } else {\n def = def.clone();\n def.value = null;\n defs.push(def);\n vars.set(name, def);\n }\n });\n if (defs.length > 0) {\n // try to merge in assignments\n for (var i = 0; i < self.body.length;) {\n if (self.body[i] instanceof AST_SimpleStatement) {\n var expr = self.body[i].body, sym, assign;\n if (expr instanceof AST_Assign\n && expr.operator == \"=\"\n && (sym = expr.left) instanceof AST_Symbol\n && vars.has(sym.name)\n ) {\n var def = vars.get(sym.name);\n if (def.value) break;\n def.value = expr.right;\n remove(defs, def);\n defs.push(def);\n self.body.splice(i, 1);\n continue;\n }\n if (expr instanceof AST_Sequence\n && (assign = expr.expressions[0]) instanceof AST_Assign\n && assign.operator == \"=\"\n && (sym = assign.left) instanceof AST_Symbol\n && vars.has(sym.name)\n ) {\n var def = vars.get(sym.name);\n if (def.value) break;\n def.value = assign.right;\n remove(defs, def);\n defs.push(def);\n self.body[i].body = make_sequence(expr, expr.expressions.slice(1));\n continue;\n }\n }\n if (self.body[i] instanceof AST_EmptyStatement) {\n self.body.splice(i, 1);\n continue;\n }\n if (self.body[i] instanceof AST_BlockStatement) {\n self.body.splice(i, 1, ...self.body[i].body);\n continue;\n }\n break;\n }\n defs = make_node(AST_Var, self, {\n definitions: defs\n });\n hoisted.push(defs);\n }\n }\n self.body = dirs.concat(hoisted, self.body);\n }\n return self;\n});\n\nAST_Scope.DEFMETHOD(\"hoist_properties\", function(compressor) {\n var self = this;\n if (!compressor.option(\"hoist_props\") || compressor.has_directive(\"use asm\")) return self;\n var top_retain = self instanceof AST_Toplevel && compressor.top_retain || return_false;\n var defs_by_id = new Map();\n var hoister = new TreeTransformer(function(node, descend) {\n if (node instanceof AST_VarDef) {\n const sym = node.name;\n let def;\n let value;\n if (sym.scope === self\n && (def = sym.definition()).escaped != 1\n && !def.assignments\n && !def.direct_access\n && !def.single_use\n && !compressor.exposed(def)\n && !top_retain(def)\n && (value = sym.fixed_value()) === node.value\n && value instanceof AST_Object\n && !value.properties.some(prop =>\n prop instanceof AST_Expansion || prop.computed_key()\n )\n ) {\n descend(node, this);\n const defs = new Map();\n const assignments = [];\n value.properties.forEach(({ key, value }) => {\n const scope = hoister.find_scope();\n const symbol = self.create_symbol(sym.CTOR, {\n source: sym,\n scope,\n conflict_scopes: new Set([\n scope,\n ...sym.definition().references.map(ref => ref.scope)\n ]),\n tentative_name: sym.name + \"_\" + key\n });\n\n defs.set(String(key), symbol.definition());\n\n assignments.push(make_node(AST_VarDef, node, {\n name: symbol,\n value\n }));\n });\n defs_by_id.set(def.id, defs);\n return MAP.splice(assignments);\n }\n } else if (node instanceof AST_PropAccess\n && node.expression instanceof AST_SymbolRef\n ) {\n const defs = defs_by_id.get(node.expression.definition().id);\n if (defs) {\n const def = defs.get(String(get_simple_key(node.property)));\n const sym = make_node(AST_SymbolRef, node, {\n name: def.name,\n scope: node.expression.scope,\n thedef: def\n });\n sym.reference({});\n return sym;\n }\n }\n });\n return self.transform(hoister);\n});\n\ndef_optimize(AST_SimpleStatement, function(self, compressor) {\n if (compressor.option(\"side_effects\")) {\n var body = self.body;\n var node = body.drop_side_effect_free(compressor, true);\n if (!node) {\n return make_node(AST_EmptyStatement, self);\n }\n if (node !== body) {\n return make_node(AST_SimpleStatement, self, { body: node });\n }\n }\n return self;\n});\n\ndef_optimize(AST_While, function(self, compressor) {\n return compressor.option(\"loops\") ? make_node(AST_For, self, self).optimize(compressor) : self;\n});\n\ndef_optimize(AST_Do, function(self, compressor) {\n if (!compressor.option(\"loops\")) return self;\n var cond = self.condition.tail_node().evaluate(compressor);\n if (!(cond instanceof AST_Node)) {\n if (cond) return make_node(AST_For, self, {\n body: make_node(AST_BlockStatement, self.body, {\n body: [\n self.body,\n make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n })\n ]\n })\n }).optimize(compressor);\n if (!has_break_or_continue(self, compressor.parent())) {\n return make_node(AST_BlockStatement, self.body, {\n body: [\n self.body,\n make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n })\n ]\n }).optimize(compressor);\n }\n }\n return self;\n});\n\nfunction if_break_in_loop(self, compressor) {\n var first = self.body instanceof AST_BlockStatement ? self.body.body[0] : self.body;\n if (compressor.option(\"dead_code\") && is_break(first)) {\n var body = [];\n if (self.init instanceof AST_Statement) {\n body.push(self.init);\n } else if (self.init) {\n body.push(make_node(AST_SimpleStatement, self.init, {\n body: self.init\n }));\n }\n if (self.condition) {\n body.push(make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n }));\n }\n trim_unreachable_code(compressor, self.body, body);\n return make_node(AST_BlockStatement, self, {\n body: body\n });\n }\n if (first instanceof AST_If) {\n if (is_break(first.body)) {\n if (self.condition) {\n self.condition = make_node(AST_Binary, self.condition, {\n left: self.condition,\n operator: \"&&\",\n right: first.condition.negate(compressor),\n });\n } else {\n self.condition = first.condition.negate(compressor);\n }\n drop_it(first.alternative);\n } else if (is_break(first.alternative)) {\n if (self.condition) {\n self.condition = make_node(AST_Binary, self.condition, {\n left: self.condition,\n operator: \"&&\",\n right: first.condition,\n });\n } else {\n self.condition = first.condition;\n }\n drop_it(first.body);\n }\n }\n return self;\n\n function is_break(node) {\n return node instanceof AST_Break\n && compressor.loopcontrol_target(node) === compressor.self();\n }\n\n function drop_it(rest) {\n rest = as_statement_array(rest);\n if (self.body instanceof AST_BlockStatement) {\n self.body = self.body.clone();\n self.body.body = rest.concat(self.body.body.slice(1));\n self.body = self.body.transform(compressor);\n } else {\n self.body = make_node(AST_BlockStatement, self.body, {\n body: rest\n }).transform(compressor);\n }\n self = if_break_in_loop(self, compressor);\n }\n}\n\ndef_optimize(AST_For, function(self, compressor) {\n if (!compressor.option(\"loops\")) return self;\n if (compressor.option(\"side_effects\") && self.init) {\n self.init = self.init.drop_side_effect_free(compressor);\n }\n if (self.condition) {\n var cond = self.condition.evaluate(compressor);\n if (!(cond instanceof AST_Node)) {\n if (cond) self.condition = null;\n else if (!compressor.option(\"dead_code\")) {\n var orig = self.condition;\n self.condition = make_node_from_constant(cond, self.condition);\n self.condition = best_of_expression(self.condition.transform(compressor), orig);\n }\n }\n if (compressor.option(\"dead_code\")) {\n if (cond instanceof AST_Node) cond = self.condition.tail_node().evaluate(compressor);\n if (!cond) {\n var body = [];\n trim_unreachable_code(compressor, self.body, body);\n if (self.init instanceof AST_Statement) {\n body.push(self.init);\n } else if (self.init) {\n body.push(make_node(AST_SimpleStatement, self.init, {\n body: self.init\n }));\n }\n body.push(make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n }));\n return make_node(AST_BlockStatement, self, { body: body }).optimize(compressor);\n }\n }\n }\n return if_break_in_loop(self, compressor);\n});\n\ndef_optimize(AST_If, function(self, compressor) {\n if (is_empty(self.alternative)) self.alternative = null;\n\n if (!compressor.option(\"conditionals\")) return self;\n // if condition can be statically determined, drop\n // one of the blocks. note, statically determined implies\n // “has no side effects”; also it doesn't work for cases like\n // `x && true`, though it probably should.\n var cond = self.condition.evaluate(compressor);\n if (!compressor.option(\"dead_code\") && !(cond instanceof AST_Node)) {\n var orig = self.condition;\n self.condition = make_node_from_constant(cond, orig);\n self.condition = best_of_expression(self.condition.transform(compressor), orig);\n }\n if (compressor.option(\"dead_code\")) {\n if (cond instanceof AST_Node) cond = self.condition.tail_node().evaluate(compressor);\n if (!cond) {\n var body = [];\n trim_unreachable_code(compressor, self.body, body);\n body.push(make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n }));\n if (self.alternative) body.push(self.alternative);\n return make_node(AST_BlockStatement, self, { body: body }).optimize(compressor);\n } else if (!(cond instanceof AST_Node)) {\n var body = [];\n body.push(make_node(AST_SimpleStatement, self.condition, {\n body: self.condition\n }));\n body.push(self.body);\n if (self.alternative) {\n trim_unreachable_code(compressor, self.alternative, body);\n }\n return make_node(AST_BlockStatement, self, { body: body }).optimize(compressor);\n }\n }\n var negated = self.condition.negate(compressor);\n var self_condition_length = self.condition.size();\n var negated_length = negated.size();\n var negated_is_best = negated_length < self_condition_length;\n if (self.alternative && negated_is_best) {\n negated_is_best = false; // because we already do the switch here.\n // no need to swap values of self_condition_length and negated_length\n // here because they are only used in an equality comparison later on.\n self.condition = negated;\n var tmp = self.body;\n self.body = self.alternative || make_node(AST_EmptyStatement, self);\n self.alternative = tmp;\n }\n if (is_empty(self.body) && is_empty(self.alternative)) {\n return make_node(AST_SimpleStatement, self.condition, {\n body: self.condition.clone()\n }).optimize(compressor);\n }\n if (self.body instanceof AST_SimpleStatement\n && self.alternative instanceof AST_SimpleStatement) {\n return make_node(AST_SimpleStatement, self, {\n body: make_node(AST_Conditional, self, {\n condition : self.condition,\n consequent : self.body.body,\n alternative : self.alternative.body\n })\n }).optimize(compressor);\n }\n if (is_empty(self.alternative) && self.body instanceof AST_SimpleStatement) {\n if (self_condition_length === negated_length && !negated_is_best\n && self.condition instanceof AST_Binary && self.condition.operator == \"||\") {\n // although the code length of self.condition and negated are the same,\n // negated does not require additional surrounding parentheses.\n // see https://github.com/mishoo/UglifyJS2/issues/979\n negated_is_best = true;\n }\n if (negated_is_best) return make_node(AST_SimpleStatement, self, {\n body: make_node(AST_Binary, self, {\n operator : \"||\",\n left : negated,\n right : self.body.body\n })\n }).optimize(compressor);\n return make_node(AST_SimpleStatement, self, {\n body: make_node(AST_Binary, self, {\n operator : \"&&\",\n left : self.condition,\n right : self.body.body\n })\n }).optimize(compressor);\n }\n if (self.body instanceof AST_EmptyStatement\n && self.alternative instanceof AST_SimpleStatement) {\n return make_node(AST_SimpleStatement, self, {\n body: make_node(AST_Binary, self, {\n operator : \"||\",\n left : self.condition,\n right : self.alternative.body\n })\n }).optimize(compressor);\n }\n if (self.body instanceof AST_Exit\n && self.alternative instanceof AST_Exit\n && self.body.TYPE == self.alternative.TYPE) {\n return make_node(self.body.CTOR, self, {\n value: make_node(AST_Conditional, self, {\n condition : self.condition,\n consequent : self.body.value || make_node(AST_Undefined, self.body),\n alternative : self.alternative.value || make_node(AST_Undefined, self.alternative)\n }).transform(compressor)\n }).optimize(compressor);\n }\n if (self.body instanceof AST_If\n && !self.body.alternative\n && !self.alternative) {\n self = make_node(AST_If, self, {\n condition: make_node(AST_Binary, self.condition, {\n operator: \"&&\",\n left: self.condition,\n right: self.body.condition\n }),\n body: self.body.body,\n alternative: null\n });\n }\n if (aborts(self.body)) {\n if (self.alternative) {\n var alt = self.alternative;\n self.alternative = null;\n return make_node(AST_BlockStatement, self, {\n body: [ self, alt ]\n }).optimize(compressor);\n }\n }\n if (aborts(self.alternative)) {\n var body = self.body;\n self.body = self.alternative;\n self.condition = negated_is_best ? negated : self.condition.negate(compressor);\n self.alternative = null;\n return make_node(AST_BlockStatement, self, {\n body: [ self, body ]\n }).optimize(compressor);\n }\n return self;\n});\n\ndef_optimize(AST_Switch, function(self, compressor) {\n if (!compressor.option(\"switches\")) return self;\n var branch;\n var value = self.expression.evaluate(compressor);\n if (!(value instanceof AST_Node)) {\n var orig = self.expression;\n self.expression = make_node_from_constant(value, orig);\n self.expression = best_of_expression(self.expression.transform(compressor), orig);\n }\n if (!compressor.option(\"dead_code\")) return self;\n if (value instanceof AST_Node) {\n value = self.expression.tail_node().evaluate(compressor);\n }\n var decl = [];\n var body = [];\n var default_branch;\n var exact_match;\n for (var i = 0, len = self.body.length; i < len && !exact_match; i++) {\n branch = self.body[i];\n if (branch instanceof AST_Default) {\n if (!default_branch) {\n default_branch = branch;\n } else {\n eliminate_branch(branch, body[body.length - 1]);\n }\n } else if (!(value instanceof AST_Node)) {\n var exp = branch.expression.evaluate(compressor);\n if (!(exp instanceof AST_Node) && exp !== value) {\n eliminate_branch(branch, body[body.length - 1]);\n continue;\n }\n if (exp instanceof AST_Node) exp = branch.expression.tail_node().evaluate(compressor);\n if (exp === value) {\n exact_match = branch;\n if (default_branch) {\n var default_index = body.indexOf(default_branch);\n body.splice(default_index, 1);\n eliminate_branch(default_branch, body[default_index - 1]);\n default_branch = null;\n }\n }\n }\n body.push(branch);\n }\n while (i < len) eliminate_branch(self.body[i++], body[body.length - 1]);\n self.body = body;\n\n let default_or_exact = default_branch || exact_match;\n default_branch = null;\n exact_match = null;\n\n // group equivalent branches so they will be located next to each other,\n // that way the next micro-optimization will merge them.\n // ** bail micro-optimization if not a simple switch case with breaks\n if (body.every((branch, i) =>\n (branch === default_or_exact || branch.expression instanceof AST_Constant)\n && (branch.body.length === 0 || aborts(branch) || body.length - 1 === i))\n ) {\n for (let i = 0; i < body.length; i++) {\n const branch = body[i];\n for (let j = i + 1; j < body.length; j++) {\n const next = body[j];\n if (next.body.length === 0) continue;\n const last_branch = j === (body.length - 1);\n const equivalentBranch = branches_equivalent(next, branch, false);\n if (equivalentBranch || (last_branch && branches_equivalent(next, branch, true))) {\n if (!equivalentBranch && last_branch) {\n next.body.push(make_node(AST_Break));\n }\n\n // let's find previous siblings with inert fallthrough...\n let x = j - 1;\n let fallthroughDepth = 0;\n while (x > i) {\n if (is_inert_body(body[x--])) {\n fallthroughDepth++;\n } else {\n break;\n }\n }\n\n const plucked = body.splice(j - fallthroughDepth, 1 + fallthroughDepth);\n body.splice(i + 1, 0, ...plucked);\n i += plucked.length;\n }\n }\n }\n }\n\n // merge equivalent branches in a row\n for (let i = 0; i < body.length; i++) {\n let branch = body[i];\n if (branch.body.length === 0) continue;\n if (!aborts(branch)) continue;\n\n for (let j = i + 1; j < body.length; i++, j++) {\n let next = body[j];\n if (next.body.length === 0) continue;\n if (\n branches_equivalent(next, branch, false)\n || (j === body.length - 1 && branches_equivalent(next, branch, true))\n ) {\n branch.body = [];\n branch = next;\n continue;\n }\n break;\n }\n }\n\n // Prune any empty branches at the end of the switch statement.\n {\n let i = body.length - 1;\n for (; i >= 0; i--) {\n let bbody = body[i].body;\n if (is_break(bbody[bbody.length - 1], compressor)) bbody.pop();\n if (!is_inert_body(body[i])) break;\n }\n // i now points to the index of a branch that contains a body. By incrementing, it's\n // pointing to the first branch that's empty.\n i++;\n if (!default_or_exact || body.indexOf(default_or_exact) >= i) {\n // The default behavior is to do nothing. We can take advantage of that to\n // remove all case expressions that are side-effect free that also do\n // nothing, since they'll default to doing nothing. But we can't remove any\n // case expressions before one that would side-effect, since they may cause\n // the side-effect to be skipped.\n for (let j = body.length - 1; j >= i; j--) {\n let branch = body[j];\n if (branch === default_or_exact) {\n default_or_exact = null;\n body.pop();\n } else if (!branch.expression.has_side_effects(compressor)) {\n body.pop();\n } else {\n break;\n }\n }\n }\n }\n\n\n // Prune side-effect free branches that fall into default.\n DEFAULT: if (default_or_exact) {\n let default_index = body.indexOf(default_or_exact);\n let default_body_index = default_index;\n for (; default_body_index < body.length - 1; default_body_index++) {\n if (!is_inert_body(body[default_body_index])) break;\n }\n if (default_body_index < body.length - 1) {\n break DEFAULT;\n }\n\n let side_effect_index = body.length - 1;\n for (; side_effect_index >= 0; side_effect_index--) {\n let branch = body[side_effect_index];\n if (branch === default_or_exact) continue;\n if (branch.expression.has_side_effects(compressor)) break;\n }\n // If the default behavior comes after any side-effect case expressions,\n // then we can fold all side-effect free cases into the default branch.\n // If the side-effect case is after the default, then any side-effect\n // free cases could prevent the side-effect from occurring.\n if (default_body_index > side_effect_index) {\n let prev_body_index = default_index - 1;\n for (; prev_body_index >= 0; prev_body_index--) {\n if (!is_inert_body(body[prev_body_index])) break;\n }\n let before = Math.max(side_effect_index, prev_body_index) + 1;\n let after = default_index;\n if (side_effect_index > default_index) {\n // If the default falls into the same body as a side-effect\n // case, then we need preserve that case and only prune the\n // cases after it.\n after = side_effect_index;\n body[side_effect_index].body = body[default_body_index].body;\n } else {\n // The default will be the last branch.\n default_or_exact.body = body[default_body_index].body;\n }\n\n // Prune everything after the default (or last side-effect case)\n // until the next case with a body.\n body.splice(after + 1, default_body_index - after);\n // Prune everything before the default that falls into it.\n body.splice(before, default_index - before);\n }\n }\n\n // See if we can remove the switch entirely if all cases (the default) fall into the same case body.\n DEFAULT: if (default_or_exact) {\n let i = body.findIndex(branch => !is_inert_body(branch));\n let caseBody;\n // `i` is equal to one of the following:\n // - `-1`, there is no body in the switch statement.\n // - `body.length - 1`, all cases fall into the same body.\n // - anything else, there are multiple bodies in the switch.\n if (i === body.length - 1) {\n // All cases fall into the case body.\n let branch = body[i];\n if (has_nested_break(self)) break DEFAULT;\n\n // This is the last case body, and we've already pruned any breaks, so it's\n // safe to hoist.\n caseBody = make_node(AST_BlockStatement, branch, {\n body: branch.body\n });\n branch.body = [];\n } else if (i !== -1) {\n // If there are multiple bodies, then we cannot optimize anything.\n break DEFAULT;\n }\n\n let sideEffect = body.find(branch => {\n return (\n branch !== default_or_exact\n && branch.expression.has_side_effects(compressor)\n );\n });\n // If no cases cause a side-effect, we can eliminate the switch entirely.\n if (!sideEffect) {\n return make_node(AST_BlockStatement, self, {\n body: decl.concat(\n statement(self.expression),\n default_or_exact.expression ? statement(default_or_exact.expression) : [],\n caseBody || []\n )\n }).optimize(compressor);\n }\n\n // If we're this far, either there was no body or all cases fell into the same body.\n // If there was no body, then we don't need a default branch (because the default is\n // do nothing). If there was a body, we'll extract it to after the switch, so the\n // switch's new default is to do nothing and we can still prune it.\n const default_index = body.indexOf(default_or_exact);\n body.splice(default_index, 1);\n default_or_exact = null;\n\n if (caseBody) {\n // Recurse into switch statement one more time so that we can append the case body\n // outside of the switch. This recursion will only happen once since we've pruned\n // the default case.\n return make_node(AST_BlockStatement, self, {\n body: decl.concat(self, caseBody)\n }).optimize(compressor);\n }\n // If we fall here, there is a default branch somewhere, there are no case bodies,\n // and there's a side-effect somewhere. Just let the below paths take care of it.\n }\n\n if (body.length > 0) {\n body[0].body = decl.concat(body[0].body);\n }\n\n if (body.length == 0) {\n return make_node(AST_BlockStatement, self, {\n body: decl.concat(statement(self.expression))\n }).optimize(compressor);\n }\n if (body.length == 1 && !has_nested_break(self)) {\n // This is the last case body, and we've already pruned any breaks, so it's\n // safe to hoist.\n let branch = body[0];\n return make_node(AST_If, self, {\n condition: make_node(AST_Binary, self, {\n operator: \"===\",\n left: self.expression,\n right: branch.expression,\n }),\n body: make_node(AST_BlockStatement, branch, {\n body: branch.body\n }),\n alternative: null\n }).optimize(compressor);\n }\n if (body.length === 2 && default_or_exact && !has_nested_break(self)) {\n let branch = body[0] === default_or_exact ? body[1] : body[0];\n let exact_exp = default_or_exact.expression && statement(default_or_exact.expression);\n if (aborts(body[0])) {\n // Only the first branch body could have a break (at the last statement)\n let first = body[0];\n if (is_break(first.body[first.body.length - 1], compressor)) {\n first.body.pop();\n }\n return make_node(AST_If, self, {\n condition: make_node(AST_Binary, self, {\n operator: \"===\",\n left: self.expression,\n right: branch.expression,\n }),\n body: make_node(AST_BlockStatement, branch, {\n body: branch.body\n }),\n alternative: make_node(AST_BlockStatement, default_or_exact, {\n body: [].concat(\n exact_exp || [],\n default_or_exact.body\n )\n })\n }).optimize(compressor);\n }\n let operator = \"===\";\n let consequent = make_node(AST_BlockStatement, branch, {\n body: branch.body,\n });\n let always = make_node(AST_BlockStatement, default_or_exact, {\n body: [].concat(\n exact_exp || [],\n default_or_exact.body\n )\n });\n if (body[0] === default_or_exact) {\n operator = \"!==\";\n let tmp = always;\n always = consequent;\n consequent = tmp;\n }\n return make_node(AST_BlockStatement, self, {\n body: [\n make_node(AST_If, self, {\n condition: make_node(AST_Binary, self, {\n operator: operator,\n left: self.expression,\n right: branch.expression,\n }),\n body: consequent,\n alternative: null\n })\n ].concat(always)\n }).optimize(compressor);\n }\n return self;\n\n function eliminate_branch(branch, prev) {\n if (prev && !aborts(prev)) {\n prev.body = prev.body.concat(branch.body);\n } else {\n trim_unreachable_code(compressor, branch, decl);\n }\n }\n function branches_equivalent(branch, prev, insertBreak) {\n let bbody = branch.body;\n let pbody = prev.body;\n if (insertBreak) {\n bbody = bbody.concat(make_node(AST_Break));\n }\n if (bbody.length !== pbody.length) return false;\n let bblock = make_node(AST_BlockStatement, branch, { body: bbody });\n let pblock = make_node(AST_BlockStatement, prev, { body: pbody });\n return bblock.equivalent_to(pblock);\n }\n function statement(expression) {\n return make_node(AST_SimpleStatement, expression, {\n body: expression\n });\n }\n function has_nested_break(root) {\n let has_break = false;\n let tw = new TreeWalker(node => {\n if (has_break) return true;\n if (node instanceof AST_Lambda) return true;\n if (node instanceof AST_SimpleStatement) return true;\n if (!is_break(node, tw)) return;\n let parent = tw.parent();\n if (\n parent instanceof AST_SwitchBranch\n && parent.body[parent.body.length - 1] === node\n ) {\n return;\n }\n has_break = true;\n });\n root.walk(tw);\n return has_break;\n }\n function is_break(node, stack) {\n return node instanceof AST_Break\n && stack.loopcontrol_target(node) === self;\n }\n function is_inert_body(branch) {\n return !aborts(branch) && !make_node(AST_BlockStatement, branch, {\n body: branch.body\n }).has_side_effects(compressor);\n }\n});\n\ndef_optimize(AST_Try, function(self, compressor) {\n tighten_body(self.body, compressor);\n if (self.bcatch && self.bfinally && self.bfinally.body.every(is_empty)) self.bfinally = null;\n if (compressor.option(\"dead_code\") && self.body.every(is_empty)) {\n var body = [];\n if (self.bcatch) {\n trim_unreachable_code(compressor, self.bcatch, body);\n }\n if (self.bfinally) body.push(...self.bfinally.body);\n return make_node(AST_BlockStatement, self, {\n body: body\n }).optimize(compressor);\n }\n return self;\n});\n\nAST_Definitions.DEFMETHOD(\"remove_initializers\", function() {\n var decls = [];\n this.definitions.forEach(function(def) {\n if (def.name instanceof AST_SymbolDeclaration) {\n def.value = null;\n decls.push(def);\n } else {\n walk(def.name, node => {\n if (node instanceof AST_SymbolDeclaration) {\n decls.push(make_node(AST_VarDef, def, {\n name: node,\n value: null\n }));\n }\n });\n }\n });\n this.definitions = decls;\n});\n\nAST_Definitions.DEFMETHOD(\"to_assignments\", function(compressor) {\n var reduce_vars = compressor.option(\"reduce_vars\");\n var assignments = [];\n\n for (const def of this.definitions) {\n if (def.value) {\n var name = make_node(AST_SymbolRef, def.name, def.name);\n assignments.push(make_node(AST_Assign, def, {\n operator : \"=\",\n logical: false,\n left : name,\n right : def.value\n }));\n if (reduce_vars) name.definition().fixed = false;\n }\n const thedef = def.name.definition();\n thedef.eliminated++;\n thedef.replaced--;\n }\n\n if (assignments.length == 0) return null;\n return make_sequence(this, assignments);\n});\n\ndef_optimize(AST_Definitions, function(self) {\n if (self.definitions.length == 0) {\n return make_node(AST_EmptyStatement, self);\n }\n return self;\n});\n\ndef_optimize(AST_VarDef, function(self, compressor) {\n if (\n self.name instanceof AST_SymbolLet\n && self.value != null\n && is_undefined(self.value, compressor)\n ) {\n self.value = null;\n }\n return self;\n});\n\ndef_optimize(AST_Import, function(self) {\n return self;\n});\n\ndef_optimize(AST_Call, function(self, compressor) {\n var exp = self.expression;\n var fn = exp;\n inline_array_like_spread(self.args);\n var simple_args = self.args.every((arg) =>\n !(arg instanceof AST_Expansion)\n );\n\n if (compressor.option(\"reduce_vars\")\n && fn instanceof AST_SymbolRef\n && !has_annotation(self, _NOINLINE)\n ) {\n const fixed = fn.fixed_value();\n if (!retain_top_func(fixed, compressor)) {\n fn = fixed;\n }\n }\n\n var is_func = fn instanceof AST_Lambda;\n\n if (is_func && fn.pinned()) return self;\n\n if (compressor.option(\"unused\")\n && simple_args\n && is_func\n && !fn.uses_arguments) {\n var pos = 0, last = 0;\n for (var i = 0, len = self.args.length; i < len; i++) {\n if (fn.argnames[i] instanceof AST_Expansion) {\n if (has_flag(fn.argnames[i].expression, UNUSED)) while (i < len) {\n var node = self.args[i++].drop_side_effect_free(compressor);\n if (node) {\n self.args[pos++] = node;\n }\n } else while (i < len) {\n self.args[pos++] = self.args[i++];\n }\n last = pos;\n break;\n }\n var trim = i >= fn.argnames.length;\n if (trim || has_flag(fn.argnames[i], UNUSED)) {\n var node = self.args[i].drop_side_effect_free(compressor);\n if (node) {\n self.args[pos++] = node;\n } else if (!trim) {\n self.args[pos++] = make_node(AST_Number, self.args[i], {\n value: 0\n });\n continue;\n }\n } else {\n self.args[pos++] = self.args[i];\n }\n last = pos;\n }\n self.args.length = last;\n }\n\n if (compressor.option(\"unsafe\")) {\n if (exp instanceof AST_Dot && exp.start.value === \"Array\" && exp.property === \"from\" && self.args.length === 1) {\n const [argument] = self.args;\n if (argument instanceof AST_Array) {\n return make_node(AST_Array, argument, {\n elements: argument.elements\n }).optimize(compressor);\n }\n }\n if (is_undeclared_ref(exp)) switch (exp.name) {\n case \"Array\":\n if (self.args.length != 1) {\n return make_node(AST_Array, self, {\n elements: self.args\n }).optimize(compressor);\n } else if (self.args[0] instanceof AST_Number && self.args[0].value <= 11) {\n const elements = [];\n for (let i = 0; i < self.args[0].value; i++) elements.push(new AST_Hole);\n return new AST_Array({ elements });\n }\n break;\n case \"Object\":\n if (self.args.length == 0) {\n return make_node(AST_Object, self, {\n properties: []\n });\n }\n break;\n case \"String\":\n if (self.args.length == 0) return make_node(AST_String, self, {\n value: \"\"\n });\n if (self.args.length <= 1) return make_node(AST_Binary, self, {\n left: self.args[0],\n operator: \"+\",\n right: make_node(AST_String, self, { value: \"\" })\n }).optimize(compressor);\n break;\n case \"Number\":\n if (self.args.length == 0) return make_node(AST_Number, self, {\n value: 0\n });\n if (self.args.length == 1 && compressor.option(\"unsafe_math\")) {\n return make_node(AST_UnaryPrefix, self, {\n expression: self.args[0],\n operator: \"+\"\n }).optimize(compressor);\n }\n break;\n case \"Symbol\":\n if (self.args.length == 1 && self.args[0] instanceof AST_String && compressor.option(\"unsafe_symbols\"))\n self.args.length = 0;\n break;\n case \"Boolean\":\n if (self.args.length == 0) return make_node(AST_False, self);\n if (self.args.length == 1) return make_node(AST_UnaryPrefix, self, {\n expression: make_node(AST_UnaryPrefix, self, {\n expression: self.args[0],\n operator: \"!\"\n }),\n operator: \"!\"\n }).optimize(compressor);\n break;\n case \"RegExp\":\n var params = [];\n if (self.args.length >= 1\n && self.args.length <= 2\n && self.args.every((arg) => {\n var value = arg.evaluate(compressor);\n params.push(value);\n return arg !== value;\n })\n && regexp_is_safe(params[0])\n ) {\n let [ source, flags ] = params;\n source = regexp_source_fix(new RegExp(source).source);\n const rx = make_node(AST_RegExp, self, {\n value: { source, flags }\n });\n if (rx._eval(compressor) !== rx) {\n return rx;\n }\n }\n break;\n } else if (exp instanceof AST_Dot) switch(exp.property) {\n case \"toString\":\n if (self.args.length == 0 && !exp.expression.may_throw_on_access(compressor)) {\n return make_node(AST_Binary, self, {\n left: make_node(AST_String, self, { value: \"\" }),\n operator: \"+\",\n right: exp.expression\n }).optimize(compressor);\n }\n break;\n case \"join\":\n if (exp.expression instanceof AST_Array) EXIT: {\n var separator;\n if (self.args.length > 0) {\n separator = self.args[0].evaluate(compressor);\n if (separator === self.args[0]) break EXIT; // not a constant\n }\n var elements = [];\n var consts = [];\n for (var i = 0, len = exp.expression.elements.length; i < len; i++) {\n var el = exp.expression.elements[i];\n if (el instanceof AST_Expansion) break EXIT;\n var value = el.evaluate(compressor);\n if (value !== el) {\n consts.push(value);\n } else {\n if (consts.length > 0) {\n elements.push(make_node(AST_String, self, {\n value: consts.join(separator)\n }));\n consts.length = 0;\n }\n elements.push(el);\n }\n }\n if (consts.length > 0) {\n elements.push(make_node(AST_String, self, {\n value: consts.join(separator)\n }));\n }\n if (elements.length == 0) return make_node(AST_String, self, { value: \"\" });\n if (elements.length == 1) {\n if (elements[0].is_string(compressor)) {\n return elements[0];\n }\n return make_node(AST_Binary, elements[0], {\n operator : \"+\",\n left : make_node(AST_String, self, { value: \"\" }),\n right : elements[0]\n });\n }\n if (separator == \"\") {\n var first;\n if (elements[0].is_string(compressor)\n || elements[1].is_string(compressor)) {\n first = elements.shift();\n } else {\n first = make_node(AST_String, self, { value: \"\" });\n }\n return elements.reduce(function(prev, el) {\n return make_node(AST_Binary, el, {\n operator : \"+\",\n left : prev,\n right : el\n });\n }, first).optimize(compressor);\n }\n // need this awkward cloning to not affect original element\n // best_of will decide which one to get through.\n var node = self.clone();\n node.expression = node.expression.clone();\n node.expression.expression = node.expression.expression.clone();\n node.expression.expression.elements = elements;\n return best_of(compressor, self, node);\n }\n break;\n case \"charAt\":\n if (exp.expression.is_string(compressor)) {\n var arg = self.args[0];\n var index = arg ? arg.evaluate(compressor) : 0;\n if (index !== arg) {\n return make_node(AST_Sub, exp, {\n expression: exp.expression,\n property: make_node_from_constant(index | 0, arg || exp)\n }).optimize(compressor);\n }\n }\n break;\n case \"apply\":\n if (self.args.length == 2 && self.args[1] instanceof AST_Array) {\n var args = self.args[1].elements.slice();\n args.unshift(self.args[0]);\n return make_node(AST_Call, self, {\n expression: make_node(AST_Dot, exp, {\n expression: exp.expression,\n optional: false,\n property: \"call\"\n }),\n args: args\n }).optimize(compressor);\n }\n break;\n case \"call\":\n var func = exp.expression;\n if (func instanceof AST_SymbolRef) {\n func = func.fixed_value();\n }\n if (func instanceof AST_Lambda && !func.contains_this()) {\n return (self.args.length ? make_sequence(this, [\n self.args[0],\n make_node(AST_Call, self, {\n expression: exp.expression,\n args: self.args.slice(1)\n })\n ]) : make_node(AST_Call, self, {\n expression: exp.expression,\n args: []\n })).optimize(compressor);\n }\n break;\n }\n }\n\n if (compressor.option(\"unsafe_Function\")\n && is_undeclared_ref(exp)\n && exp.name == \"Function\") {\n // new Function() => function(){}\n if (self.args.length == 0) return make_node(AST_Function, self, {\n argnames: [],\n body: []\n }).optimize(compressor);\n var nth_identifier = compressor.mangle_options && compressor.mangle_options.nth_identifier || base54;\n if (self.args.every((x) => x instanceof AST_String)) {\n // quite a corner-case, but we can handle it:\n // https://github.com/mishoo/UglifyJS2/issues/203\n // if the code argument is a constant, then we can minify it.\n try {\n var code = \"n(function(\" + self.args.slice(0, -1).map(function(arg) {\n return arg.value;\n }).join(\",\") + \"){\" + self.args[self.args.length - 1].value + \"})\";\n var ast = parse(code);\n var mangle = { ie8: compressor.option(\"ie8\"), nth_identifier: nth_identifier };\n ast.figure_out_scope(mangle);\n var comp = new Compressor(compressor.options, {\n mangle_options: compressor.mangle_options\n });\n ast = ast.transform(comp);\n ast.figure_out_scope(mangle);\n ast.compute_char_frequency(mangle);\n ast.mangle_names(mangle);\n var fun;\n walk(ast, node => {\n if (is_func_expr(node)) {\n fun = node;\n return walk_abort;\n }\n });\n var code = OutputStream();\n AST_BlockStatement.prototype._codegen.call(fun, fun, code);\n self.args = [\n make_node(AST_String, self, {\n value: fun.argnames.map(function(arg) {\n return arg.print_to_string();\n }).join(\",\")\n }),\n make_node(AST_String, self.args[self.args.length - 1], {\n value: code.get().replace(/^{|}$/g, \"\")\n })\n ];\n return self;\n } catch (ex) {\n if (!(ex instanceof JS_Parse_Error)) {\n throw ex;\n }\n\n // Otherwise, it crashes at runtime. Or maybe it's nonstandard syntax.\n }\n }\n }\n\n return inline_into_call(self, fn, compressor);\n});\n\ndef_optimize(AST_New, function(self, compressor) {\n if (\n compressor.option(\"unsafe\") &&\n is_undeclared_ref(self.expression) &&\n [\"Object\", \"RegExp\", \"Function\", \"Error\", \"Array\"].includes(self.expression.name)\n ) return make_node(AST_Call, self, self).transform(compressor);\n return self;\n});\n\ndef_optimize(AST_Sequence, function(self, compressor) {\n if (!compressor.option(\"side_effects\")) return self;\n var expressions = [];\n filter_for_side_effects();\n var end = expressions.length - 1;\n trim_right_for_undefined();\n if (end == 0) {\n self = maintain_this_binding(compressor.parent(), compressor.self(), expressions[0]);\n if (!(self instanceof AST_Sequence)) self = self.optimize(compressor);\n return self;\n }\n self.expressions = expressions;\n return self;\n\n function filter_for_side_effects() {\n var first = first_in_statement(compressor);\n var last = self.expressions.length - 1;\n self.expressions.forEach(function(expr, index) {\n if (index < last) expr = expr.drop_side_effect_free(compressor, first);\n if (expr) {\n merge_sequence(expressions, expr);\n first = false;\n }\n });\n }\n\n function trim_right_for_undefined() {\n while (end > 0 && is_undefined(expressions[end], compressor)) end--;\n if (end < expressions.length - 1) {\n expressions[end] = make_node(AST_UnaryPrefix, self, {\n operator : \"void\",\n expression : expressions[end]\n });\n expressions.length = end + 1;\n }\n }\n});\n\nAST_Unary.DEFMETHOD(\"lift_sequences\", function(compressor) {\n if (compressor.option(\"sequences\")) {\n if (this.expression instanceof AST_Sequence) {\n var x = this.expression.expressions.slice();\n var e = this.clone();\n e.expression = x.pop();\n x.push(e);\n return make_sequence(this, x).optimize(compressor);\n }\n }\n return this;\n});\n\ndef_optimize(AST_UnaryPostfix, function(self, compressor) {\n return self.lift_sequences(compressor);\n});\n\ndef_optimize(AST_UnaryPrefix, function(self, compressor) {\n var e = self.expression;\n if (\n self.operator == \"delete\" &&\n !(\n e instanceof AST_SymbolRef ||\n e instanceof AST_PropAccess ||\n e instanceof AST_Chain ||\n is_identifier_atom(e)\n )\n ) {\n return make_sequence(self, [e, make_node(AST_True, self)]).optimize(compressor);\n }\n var seq = self.lift_sequences(compressor);\n if (seq !== self) {\n return seq;\n }\n if (compressor.option(\"side_effects\") && self.operator == \"void\") {\n e = e.drop_side_effect_free(compressor);\n if (e) {\n self.expression = e;\n return self;\n } else {\n return make_node(AST_Undefined, self).optimize(compressor);\n }\n }\n if (compressor.in_boolean_context()) {\n switch (self.operator) {\n case \"!\":\n if (e instanceof AST_UnaryPrefix && e.operator == \"!\") {\n // !!foo ==> foo, if we're in boolean context\n return e.expression;\n }\n if (e instanceof AST_Binary) {\n self = best_of(compressor, self, e.negate(compressor, first_in_statement(compressor)));\n }\n break;\n case \"typeof\":\n // typeof always returns a non-empty string, thus it's\n // always true in booleans\n // And we don't need to check if it's undeclared, because in typeof, that's OK\n return (e instanceof AST_SymbolRef ? make_node(AST_True, self) : make_sequence(self, [\n e,\n make_node(AST_True, self)\n ])).optimize(compressor);\n }\n }\n if (self.operator == \"-\" && e instanceof AST_Infinity) {\n e = e.transform(compressor);\n }\n if (e instanceof AST_Binary\n && (self.operator == \"+\" || self.operator == \"-\")\n && (e.operator == \"*\" || e.operator == \"/\" || e.operator == \"%\")) {\n return make_node(AST_Binary, self, {\n operator: e.operator,\n left: make_node(AST_UnaryPrefix, e.left, {\n operator: self.operator,\n expression: e.left\n }),\n right: e.right\n });\n }\n // avoids infinite recursion of numerals\n if (self.operator != \"-\"\n || !(e instanceof AST_Number || e instanceof AST_Infinity || e instanceof AST_BigInt)) {\n var ev = self.evaluate(compressor);\n if (ev !== self) {\n ev = make_node_from_constant(ev, self).optimize(compressor);\n return best_of(compressor, ev, self);\n }\n }\n return self;\n});\n\nAST_Binary.DEFMETHOD(\"lift_sequences\", function(compressor) {\n if (compressor.option(\"sequences\")) {\n if (this.left instanceof AST_Sequence) {\n var x = this.left.expressions.slice();\n var e = this.clone();\n e.left = x.pop();\n x.push(e);\n return make_sequence(this, x).optimize(compressor);\n }\n if (this.right instanceof AST_Sequence && !this.left.has_side_effects(compressor)) {\n var assign = this.operator == \"=\" && this.left instanceof AST_SymbolRef;\n var x = this.right.expressions;\n var last = x.length - 1;\n for (var i = 0; i < last; i++) {\n if (!assign && x[i].has_side_effects(compressor)) break;\n }\n if (i == last) {\n x = x.slice();\n var e = this.clone();\n e.right = x.pop();\n x.push(e);\n return make_sequence(this, x).optimize(compressor);\n } else if (i > 0) {\n var e = this.clone();\n e.right = make_sequence(this.right, x.slice(i));\n x = x.slice(0, i);\n x.push(e);\n return make_sequence(this, x).optimize(compressor);\n }\n }\n }\n return this;\n});\n\nvar commutativeOperators = makePredicate(\"== === != !== * & | ^\");\nfunction is_object(node) {\n return node instanceof AST_Array\n || node instanceof AST_Lambda\n || node instanceof AST_Object\n || node instanceof AST_Class;\n}\n\ndef_optimize(AST_Binary, function(self, compressor) {\n function reversible() {\n return self.left.is_constant()\n || self.right.is_constant()\n || !self.left.has_side_effects(compressor)\n && !self.right.has_side_effects(compressor);\n }\n function reverse(op) {\n if (reversible()) {\n if (op) self.operator = op;\n var tmp = self.left;\n self.left = self.right;\n self.right = tmp;\n }\n }\n if (commutativeOperators.has(self.operator)) {\n if (self.right.is_constant()\n && !self.left.is_constant()) {\n // if right is a constant, whatever side effects the\n // left side might have could not influence the\n // result. hence, force switch.\n\n if (!(self.left instanceof AST_Binary\n && PRECEDENCE[self.left.operator] >= PRECEDENCE[self.operator])) {\n reverse();\n }\n }\n }\n self = self.lift_sequences(compressor);\n if (compressor.option(\"comparisons\")) switch (self.operator) {\n case \"===\":\n case \"!==\":\n var is_strict_comparison = true;\n if ((self.left.is_string(compressor) && self.right.is_string(compressor)) ||\n (self.left.is_number(compressor) && self.right.is_number(compressor)) ||\n (self.left.is_boolean() && self.right.is_boolean()) ||\n self.left.equivalent_to(self.right)) {\n self.operator = self.operator.substr(0, 2);\n }\n // XXX: intentionally falling down to the next case\n case \"==\":\n case \"!=\":\n // void 0 == x => null == x\n if (!is_strict_comparison && is_undefined(self.left, compressor)) {\n self.left = make_node(AST_Null, self.left);\n } else if (compressor.option(\"typeofs\")\n // \"undefined\" == typeof x => undefined === x\n && self.left instanceof AST_String\n && self.left.value == \"undefined\"\n && self.right instanceof AST_UnaryPrefix\n && self.right.operator == \"typeof\") {\n var expr = self.right.expression;\n if (expr instanceof AST_SymbolRef ? expr.is_declared(compressor)\n : !(expr instanceof AST_PropAccess && compressor.option(\"ie8\"))) {\n self.right = expr;\n self.left = make_node(AST_Undefined, self.left).optimize(compressor);\n if (self.operator.length == 2) self.operator += \"=\";\n }\n } else if (self.left instanceof AST_SymbolRef\n // obj !== obj => false\n && self.right instanceof AST_SymbolRef\n && self.left.definition() === self.right.definition()\n && is_object(self.left.fixed_value())) {\n return make_node(self.operator[0] == \"=\" ? AST_True : AST_False, self);\n }\n break;\n case \"&&\":\n case \"||\":\n var lhs = self.left;\n if (lhs.operator == self.operator) {\n lhs = lhs.right;\n }\n if (lhs instanceof AST_Binary\n && lhs.operator == (self.operator == \"&&\" ? \"!==\" : \"===\")\n && self.right instanceof AST_Binary\n && lhs.operator == self.right.operator\n && (is_undefined(lhs.left, compressor) && self.right.left instanceof AST_Null\n || lhs.left instanceof AST_Null && is_undefined(self.right.left, compressor))\n && !lhs.right.has_side_effects(compressor)\n && lhs.right.equivalent_to(self.right.right)) {\n var combined = make_node(AST_Binary, self, {\n operator: lhs.operator.slice(0, -1),\n left: make_node(AST_Null, self),\n right: lhs.right\n });\n if (lhs !== self.left) {\n combined = make_node(AST_Binary, self, {\n operator: self.operator,\n left: self.left.left,\n right: combined\n });\n }\n return combined;\n }\n break;\n }\n if (self.operator == \"+\" && compressor.in_boolean_context()) {\n var ll = self.left.evaluate(compressor);\n var rr = self.right.evaluate(compressor);\n if (ll && typeof ll == \"string\") {\n return make_sequence(self, [\n self.right,\n make_node(AST_True, self)\n ]).optimize(compressor);\n }\n if (rr && typeof rr == \"string\") {\n return make_sequence(self, [\n self.left,\n make_node(AST_True, self)\n ]).optimize(compressor);\n }\n }\n if (compressor.option(\"comparisons\") && self.is_boolean()) {\n if (!(compressor.parent() instanceof AST_Binary)\n || compressor.parent() instanceof AST_Assign) {\n var negated = make_node(AST_UnaryPrefix, self, {\n operator: \"!\",\n expression: self.negate(compressor, first_in_statement(compressor))\n });\n self = best_of(compressor, self, negated);\n }\n if (compressor.option(\"unsafe_comps\")) {\n switch (self.operator) {\n case \"<\": reverse(\">\"); break;\n case \"<=\": reverse(\">=\"); break;\n }\n }\n }\n if (self.operator == \"+\") {\n if (self.right instanceof AST_String\n && self.right.getValue() == \"\"\n && self.left.is_string(compressor)) {\n return self.left;\n }\n if (self.left instanceof AST_String\n && self.left.getValue() == \"\"\n && self.right.is_string(compressor)) {\n return self.right;\n }\n if (self.left instanceof AST_Binary\n && self.left.operator == \"+\"\n && self.left.left instanceof AST_String\n && self.left.left.getValue() == \"\"\n && self.right.is_string(compressor)) {\n self.left = self.left.right;\n return self;\n }\n }\n if (compressor.option(\"evaluate\")) {\n switch (self.operator) {\n case \"&&\":\n var ll = has_flag(self.left, TRUTHY)\n ? true\n : has_flag(self.left, FALSY)\n ? false\n : self.left.evaluate(compressor);\n if (!ll) {\n return maintain_this_binding(compressor.parent(), compressor.self(), self.left).optimize(compressor);\n } else if (!(ll instanceof AST_Node)) {\n return make_sequence(self, [ self.left, self.right ]).optimize(compressor);\n }\n var rr = self.right.evaluate(compressor);\n if (!rr) {\n if (compressor.in_boolean_context()) {\n return make_sequence(self, [\n self.left,\n make_node(AST_False, self)\n ]).optimize(compressor);\n } else {\n set_flag(self, FALSY);\n }\n } else if (!(rr instanceof AST_Node)) {\n var parent = compressor.parent();\n if (parent.operator == \"&&\" && parent.left === compressor.self() || compressor.in_boolean_context()) {\n return self.left.optimize(compressor);\n }\n }\n // x || false && y ---> x ? y : false\n if (self.left.operator == \"||\") {\n var lr = self.left.right.evaluate(compressor);\n if (!lr) return make_node(AST_Conditional, self, {\n condition: self.left.left,\n consequent: self.right,\n alternative: self.left.right\n }).optimize(compressor);\n }\n break;\n case \"||\":\n var ll = has_flag(self.left, TRUTHY)\n ? true\n : has_flag(self.left, FALSY)\n ? false\n : self.left.evaluate(compressor);\n if (!ll) {\n return make_sequence(self, [ self.left, self.right ]).optimize(compressor);\n } else if (!(ll instanceof AST_Node)) {\n return maintain_this_binding(compressor.parent(), compressor.self(), self.left).optimize(compressor);\n }\n var rr = self.right.evaluate(compressor);\n if (!rr) {\n var parent = compressor.parent();\n if (parent.operator == \"||\" && parent.left === compressor.self() || compressor.in_boolean_context()) {\n return self.left.optimize(compressor);\n }\n } else if (!(rr instanceof AST_Node)) {\n if (compressor.in_boolean_context()) {\n return make_sequence(self, [\n self.left,\n make_node(AST_True, self)\n ]).optimize(compressor);\n } else {\n set_flag(self, TRUTHY);\n }\n }\n if (self.left.operator == \"&&\") {\n var lr = self.left.right.evaluate(compressor);\n if (lr && !(lr instanceof AST_Node)) return make_node(AST_Conditional, self, {\n condition: self.left.left,\n consequent: self.left.right,\n alternative: self.right\n }).optimize(compressor);\n }\n break;\n case \"??\":\n if (is_nullish(self.left, compressor)) {\n return self.right;\n }\n\n var ll = self.left.evaluate(compressor);\n if (!(ll instanceof AST_Node)) {\n // if we know the value for sure we can simply compute right away.\n return ll == null ? self.right : self.left;\n }\n\n if (compressor.in_boolean_context()) {\n const rr = self.right.evaluate(compressor);\n if (!(rr instanceof AST_Node) && !rr) {\n return self.left;\n }\n }\n }\n var associative = true;\n switch (self.operator) {\n case \"+\":\n // (x + \"foo\") + \"bar\" => x + \"foobar\"\n if (self.right instanceof AST_Constant\n && self.left instanceof AST_Binary\n && self.left.operator == \"+\"\n && self.left.is_string(compressor)) {\n var binary = make_node(AST_Binary, self, {\n operator: \"+\",\n left: self.left.right,\n right: self.right,\n });\n var r = binary.optimize(compressor);\n if (binary !== r) {\n self = make_node(AST_Binary, self, {\n operator: \"+\",\n left: self.left.left,\n right: r\n });\n }\n }\n // (x + \"foo\") + (\"bar\" + y) => (x + \"foobar\") + y\n if (self.left instanceof AST_Binary\n && self.left.operator == \"+\"\n && self.left.is_string(compressor)\n && self.right instanceof AST_Binary\n && self.right.operator == \"+\"\n && self.right.is_string(compressor)) {\n var binary = make_node(AST_Binary, self, {\n operator: \"+\",\n left: self.left.right,\n right: self.right.left,\n });\n var m = binary.optimize(compressor);\n if (binary !== m) {\n self = make_node(AST_Binary, self, {\n operator: \"+\",\n left: make_node(AST_Binary, self.left, {\n operator: \"+\",\n left: self.left.left,\n right: m\n }),\n right: self.right.right\n });\n }\n }\n // a + -b => a - b\n if (self.right instanceof AST_UnaryPrefix\n && self.right.operator == \"-\"\n && self.left.is_number(compressor)) {\n self = make_node(AST_Binary, self, {\n operator: \"-\",\n left: self.left,\n right: self.right.expression\n });\n break;\n }\n // -a + b => b - a\n if (self.left instanceof AST_UnaryPrefix\n && self.left.operator == \"-\"\n && reversible()\n && self.right.is_number(compressor)) {\n self = make_node(AST_Binary, self, {\n operator: \"-\",\n left: self.right,\n right: self.left.expression\n });\n break;\n }\n // `foo${bar}baz` + 1 => `foo${bar}baz1`\n if (self.left instanceof AST_TemplateString) {\n var l = self.left;\n var r = self.right.evaluate(compressor);\n if (r != self.right) {\n l.segments[l.segments.length - 1].value += String(r);\n return l;\n }\n }\n // 1 + `foo${bar}baz` => `1foo${bar}baz`\n if (self.right instanceof AST_TemplateString) {\n var r = self.right;\n var l = self.left.evaluate(compressor);\n if (l != self.left) {\n r.segments[0].value = String(l) + r.segments[0].value;\n return r;\n }\n }\n // `1${bar}2` + `foo${bar}baz` => `1${bar}2foo${bar}baz`\n if (self.left instanceof AST_TemplateString\n && self.right instanceof AST_TemplateString) {\n var l = self.left;\n var segments = l.segments;\n var r = self.right;\n segments[segments.length - 1].value += r.segments[0].value;\n for (var i = 1; i < r.segments.length; i++) {\n segments.push(r.segments[i]);\n }\n return l;\n }\n case \"*\":\n associative = compressor.option(\"unsafe_math\");\n case \"&\":\n case \"|\":\n case \"^\":\n // a + +b => +b + a\n if (self.left.is_number(compressor)\n && self.right.is_number(compressor)\n && reversible()\n && !(self.left instanceof AST_Binary\n && self.left.operator != self.operator\n && PRECEDENCE[self.left.operator] >= PRECEDENCE[self.operator])) {\n var reversed = make_node(AST_Binary, self, {\n operator: self.operator,\n left: self.right,\n right: self.left\n });\n if (self.right instanceof AST_Constant\n && !(self.left instanceof AST_Constant)) {\n self = best_of(compressor, reversed, self);\n } else {\n self = best_of(compressor, self, reversed);\n }\n }\n if (associative && self.is_number(compressor)) {\n // a + (b + c) => (a + b) + c\n if (self.right instanceof AST_Binary\n && self.right.operator == self.operator) {\n self = make_node(AST_Binary, self, {\n operator: self.operator,\n left: make_node(AST_Binary, self.left, {\n operator: self.operator,\n left: self.left,\n right: self.right.left,\n start: self.left.start,\n end: self.right.left.end\n }),\n right: self.right.right\n });\n }\n // (n + 2) + 3 => 5 + n\n // (2 * n) * 3 => 6 + n\n if (self.right instanceof AST_Constant\n && self.left instanceof AST_Binary\n && self.left.operator == self.operator) {\n if (self.left.left instanceof AST_Constant) {\n self = make_node(AST_Binary, self, {\n operator: self.operator,\n left: make_node(AST_Binary, self.left, {\n operator: self.operator,\n left: self.left.left,\n right: self.right,\n start: self.left.left.start,\n end: self.right.end\n }),\n right: self.left.right\n });\n } else if (self.left.right instanceof AST_Constant) {\n self = make_node(AST_Binary, self, {\n operator: self.operator,\n left: make_node(AST_Binary, self.left, {\n operator: self.operator,\n left: self.left.right,\n right: self.right,\n start: self.left.right.start,\n end: self.right.end\n }),\n right: self.left.left\n });\n }\n }\n // (a | 1) | (2 | d) => (3 | a) | b\n if (self.left instanceof AST_Binary\n && self.left.operator == self.operator\n && self.left.right instanceof AST_Constant\n && self.right instanceof AST_Binary\n && self.right.operator == self.operator\n && self.right.left instanceof AST_Constant) {\n self = make_node(AST_Binary, self, {\n operator: self.operator,\n left: make_node(AST_Binary, self.left, {\n operator: self.operator,\n left: make_node(AST_Binary, self.left.left, {\n operator: self.operator,\n left: self.left.right,\n right: self.right.left,\n start: self.left.right.start,\n end: self.right.left.end\n }),\n right: self.left.left\n }),\n right: self.right.right\n });\n }\n }\n }\n }\n // x && (y && z) ==> x && y && z\n // x || (y || z) ==> x || y || z\n // x + (\"y\" + z) ==> x + \"y\" + z\n // \"x\" + (y + \"z\")==> \"x\" + y + \"z\"\n if (self.right instanceof AST_Binary\n && self.right.operator == self.operator\n && (lazy_op.has(self.operator)\n || (self.operator == \"+\"\n && (self.right.left.is_string(compressor)\n || (self.left.is_string(compressor)\n && self.right.right.is_string(compressor)))))\n ) {\n self.left = make_node(AST_Binary, self.left, {\n operator : self.operator,\n left : self.left.transform(compressor),\n right : self.right.left.transform(compressor)\n });\n self.right = self.right.right.transform(compressor);\n return self.transform(compressor);\n }\n var ev = self.evaluate(compressor);\n if (ev !== self) {\n ev = make_node_from_constant(ev, self).optimize(compressor);\n return best_of(compressor, ev, self);\n }\n return self;\n});\n\ndef_optimize(AST_SymbolExport, function(self) {\n return self;\n});\n\ndef_optimize(AST_SymbolRef, function(self, compressor) {\n if (\n !compressor.option(\"ie8\")\n && is_undeclared_ref(self)\n && !compressor.find_parent(AST_With)\n ) {\n switch (self.name) {\n case \"undefined\":\n return make_node(AST_Undefined, self).optimize(compressor);\n case \"NaN\":\n return make_node(AST_NaN, self).optimize(compressor);\n case \"Infinity\":\n return make_node(AST_Infinity, self).optimize(compressor);\n }\n }\n\n const parent = compressor.parent();\n if (compressor.option(\"reduce_vars\") && is_lhs(self, parent) !== self) {\n return inline_into_symbolref(self, compressor);\n } else {\n return self;\n }\n});\n\nfunction is_atomic(lhs, self) {\n return lhs instanceof AST_SymbolRef || lhs.TYPE === self.TYPE;\n}\n\ndef_optimize(AST_Undefined, function(self, compressor) {\n if (compressor.option(\"unsafe_undefined\")) {\n var undef = find_variable(compressor, \"undefined\");\n if (undef) {\n var ref = make_node(AST_SymbolRef, self, {\n name : \"undefined\",\n scope : undef.scope,\n thedef : undef\n });\n set_flag(ref, UNDEFINED);\n return ref;\n }\n }\n var lhs = is_lhs(compressor.self(), compressor.parent());\n if (lhs && is_atomic(lhs, self)) return self;\n return make_node(AST_UnaryPrefix, self, {\n operator: \"void\",\n expression: make_node(AST_Number, self, {\n value: 0\n })\n });\n});\n\ndef_optimize(AST_Infinity, function(self, compressor) {\n var lhs = is_lhs(compressor.self(), compressor.parent());\n if (lhs && is_atomic(lhs, self)) return self;\n if (\n compressor.option(\"keep_infinity\")\n && !(lhs && !is_atomic(lhs, self))\n && !find_variable(compressor, \"Infinity\")\n ) {\n return self;\n }\n return make_node(AST_Binary, self, {\n operator: \"/\",\n left: make_node(AST_Number, self, {\n value: 1\n }),\n right: make_node(AST_Number, self, {\n value: 0\n })\n });\n});\n\ndef_optimize(AST_NaN, function(self, compressor) {\n var lhs = is_lhs(compressor.self(), compressor.parent());\n if (lhs && !is_atomic(lhs, self)\n || find_variable(compressor, \"NaN\")) {\n return make_node(AST_Binary, self, {\n operator: \"/\",\n left: make_node(AST_Number, self, {\n value: 0\n }),\n right: make_node(AST_Number, self, {\n value: 0\n })\n });\n }\n return self;\n});\n\nconst ASSIGN_OPS = makePredicate(\"+ - / * % >> << >>> | ^ &\");\nconst ASSIGN_OPS_COMMUTATIVE = makePredicate(\"* | ^ &\");\ndef_optimize(AST_Assign, function(self, compressor) {\n if (self.logical) {\n return self.lift_sequences(compressor);\n }\n\n var def;\n // x = x ---> x\n if (\n self.operator === \"=\"\n && self.left instanceof AST_SymbolRef\n && self.left.name !== \"arguments\"\n && !(def = self.left.definition()).undeclared\n && self.right.equivalent_to(self.left)\n ) {\n return self.right;\n }\n\n if (compressor.option(\"dead_code\")\n && self.left instanceof AST_SymbolRef\n && (def = self.left.definition()).scope === compressor.find_parent(AST_Lambda)) {\n var level = 0, node, parent = self;\n do {\n node = parent;\n parent = compressor.parent(level++);\n if (parent instanceof AST_Exit) {\n if (in_try(level, parent)) break;\n if (is_reachable(def.scope, [ def ])) break;\n if (self.operator == \"=\") return self.right;\n def.fixed = false;\n return make_node(AST_Binary, self, {\n operator: self.operator.slice(0, -1),\n left: self.left,\n right: self.right\n }).optimize(compressor);\n }\n } while (parent instanceof AST_Binary && parent.right === node\n || parent instanceof AST_Sequence && parent.tail_node() === node);\n }\n self = self.lift_sequences(compressor);\n\n if (self.operator == \"=\" && self.left instanceof AST_SymbolRef && self.right instanceof AST_Binary) {\n // x = expr1 OP expr2\n if (self.right.left instanceof AST_SymbolRef\n && self.right.left.name == self.left.name\n && ASSIGN_OPS.has(self.right.operator)) {\n // x = x - 2 ---> x -= 2\n self.operator = self.right.operator + \"=\";\n self.right = self.right.right;\n } else if (self.right.right instanceof AST_SymbolRef\n && self.right.right.name == self.left.name\n && ASSIGN_OPS_COMMUTATIVE.has(self.right.operator)\n && !self.right.left.has_side_effects(compressor)) {\n // x = 2 & x ---> x &= 2\n self.operator = self.right.operator + \"=\";\n self.right = self.right.left;\n }\n }\n return self;\n\n function in_try(level, node) {\n var right = self.right;\n self.right = make_node(AST_Null, right);\n var may_throw = node.may_throw(compressor);\n self.right = right;\n var scope = self.left.definition().scope;\n var parent;\n while ((parent = compressor.parent(level++)) !== scope) {\n if (parent instanceof AST_Try) {\n if (parent.bfinally) return true;\n if (may_throw && parent.bcatch) return true;\n }\n }\n }\n});\n\ndef_optimize(AST_DefaultAssign, function(self, compressor) {\n if (!compressor.option(\"evaluate\")) {\n return self;\n }\n var evaluateRight = self.right.evaluate(compressor);\n\n // `[x = undefined] = foo` ---> `[x] = foo`\n if (evaluateRight === undefined) {\n self = self.left;\n } else if (evaluateRight !== self.right) {\n evaluateRight = make_node_from_constant(evaluateRight, self.right);\n self.right = best_of_expression(evaluateRight, self.right);\n }\n\n return self;\n});\n\nfunction is_nullish_check(check, check_subject, compressor) {\n if (check_subject.may_throw(compressor)) return false;\n\n let nullish_side;\n\n // foo == null\n if (\n check instanceof AST_Binary\n && check.operator === \"==\"\n // which side is nullish?\n && (\n (nullish_side = is_nullish(check.left, compressor) && check.left)\n || (nullish_side = is_nullish(check.right, compressor) && check.right)\n )\n // is the other side the same as the check_subject\n && (\n nullish_side === check.left\n ? check.right\n : check.left\n ).equivalent_to(check_subject)\n ) {\n return true;\n }\n\n // foo === null || foo === undefined\n if (check instanceof AST_Binary && check.operator === \"||\") {\n let null_cmp;\n let undefined_cmp;\n\n const find_comparison = cmp => {\n if (!(\n cmp instanceof AST_Binary\n && (cmp.operator === \"===\" || cmp.operator === \"==\")\n )) {\n return false;\n }\n\n let found = 0;\n let defined_side;\n\n if (cmp.left instanceof AST_Null) {\n found++;\n null_cmp = cmp;\n defined_side = cmp.right;\n }\n if (cmp.right instanceof AST_Null) {\n found++;\n null_cmp = cmp;\n defined_side = cmp.left;\n }\n if (is_undefined(cmp.left, compressor)) {\n found++;\n undefined_cmp = cmp;\n defined_side = cmp.right;\n }\n if (is_undefined(cmp.right, compressor)) {\n found++;\n undefined_cmp = cmp;\n defined_side = cmp.left;\n }\n\n if (found !== 1) {\n return false;\n }\n\n if (!defined_side.equivalent_to(check_subject)) {\n return false;\n }\n\n return true;\n };\n\n if (!find_comparison(check.left)) return false;\n if (!find_comparison(check.right)) return false;\n\n if (null_cmp && undefined_cmp && null_cmp !== undefined_cmp) {\n return true;\n }\n }\n\n return false;\n}\n\ndef_optimize(AST_Conditional, function(self, compressor) {\n if (!compressor.option(\"conditionals\")) return self;\n // This looks like lift_sequences(), should probably be under \"sequences\"\n if (self.condition instanceof AST_Sequence) {\n var expressions = self.condition.expressions.slice();\n self.condition = expressions.pop();\n expressions.push(self);\n return make_sequence(self, expressions);\n }\n var cond = self.condition.evaluate(compressor);\n if (cond !== self.condition) {\n if (cond) {\n return maintain_this_binding(compressor.parent(), compressor.self(), self.consequent);\n } else {\n return maintain_this_binding(compressor.parent(), compressor.self(), self.alternative);\n }\n }\n var negated = cond.negate(compressor, first_in_statement(compressor));\n if (best_of(compressor, cond, negated) === negated) {\n self = make_node(AST_Conditional, self, {\n condition: negated,\n consequent: self.alternative,\n alternative: self.consequent\n });\n }\n var condition = self.condition;\n var consequent = self.consequent;\n var alternative = self.alternative;\n // x?x:y --> x||y\n if (condition instanceof AST_SymbolRef\n && consequent instanceof AST_SymbolRef\n && condition.definition() === consequent.definition()) {\n return make_node(AST_Binary, self, {\n operator: \"||\",\n left: condition,\n right: alternative\n });\n }\n // if (foo) exp = something; else exp = something_else;\n // |\n // v\n // exp = foo ? something : something_else;\n if (\n consequent instanceof AST_Assign\n && alternative instanceof AST_Assign\n && consequent.operator === alternative.operator\n && consequent.logical === alternative.logical\n && consequent.left.equivalent_to(alternative.left)\n && (!self.condition.has_side_effects(compressor)\n || consequent.operator == \"=\"\n && !consequent.left.has_side_effects(compressor))\n ) {\n return make_node(AST_Assign, self, {\n operator: consequent.operator,\n left: consequent.left,\n logical: consequent.logical,\n right: make_node(AST_Conditional, self, {\n condition: self.condition,\n consequent: consequent.right,\n alternative: alternative.right\n })\n });\n }\n // x ? y(a) : y(b) --> y(x ? a : b)\n var arg_index;\n if (consequent instanceof AST_Call\n && alternative.TYPE === consequent.TYPE\n && consequent.args.length > 0\n && consequent.args.length == alternative.args.length\n && consequent.expression.equivalent_to(alternative.expression)\n && !self.condition.has_side_effects(compressor)\n && !consequent.expression.has_side_effects(compressor)\n && typeof (arg_index = single_arg_diff()) == \"number\") {\n var node = consequent.clone();\n node.args[arg_index] = make_node(AST_Conditional, self, {\n condition: self.condition,\n consequent: consequent.args[arg_index],\n alternative: alternative.args[arg_index]\n });\n return node;\n }\n // a ? b : c ? b : d --> (a || c) ? b : d\n if (alternative instanceof AST_Conditional\n && consequent.equivalent_to(alternative.consequent)) {\n return make_node(AST_Conditional, self, {\n condition: make_node(AST_Binary, self, {\n operator: \"||\",\n left: condition,\n right: alternative.condition\n }),\n consequent: consequent,\n alternative: alternative.alternative\n }).optimize(compressor);\n }\n\n // a == null ? b : a -> a ?? b\n if (\n compressor.option(\"ecma\") >= 2020 &&\n is_nullish_check(condition, alternative, compressor)\n ) {\n return make_node(AST_Binary, self, {\n operator: \"??\",\n left: alternative,\n right: consequent\n }).optimize(compressor);\n }\n\n // a ? b : (c, b) --> (a || c), b\n if (alternative instanceof AST_Sequence\n && consequent.equivalent_to(alternative.expressions[alternative.expressions.length - 1])) {\n return make_sequence(self, [\n make_node(AST_Binary, self, {\n operator: \"||\",\n left: condition,\n right: make_sequence(self, alternative.expressions.slice(0, -1))\n }),\n consequent\n ]).optimize(compressor);\n }\n // a ? b : (c && b) --> (a || c) && b\n if (alternative instanceof AST_Binary\n && alternative.operator == \"&&\"\n && consequent.equivalent_to(alternative.right)) {\n return make_node(AST_Binary, self, {\n operator: \"&&\",\n left: make_node(AST_Binary, self, {\n operator: \"||\",\n left: condition,\n right: alternative.left\n }),\n right: consequent\n }).optimize(compressor);\n }\n // x?y?z:a:a --> x&&y?z:a\n if (consequent instanceof AST_Conditional\n && consequent.alternative.equivalent_to(alternative)) {\n return make_node(AST_Conditional, self, {\n condition: make_node(AST_Binary, self, {\n left: self.condition,\n operator: \"&&\",\n right: consequent.condition\n }),\n consequent: consequent.consequent,\n alternative: alternative\n });\n }\n // x ? y : y --> x, y\n if (consequent.equivalent_to(alternative)) {\n return make_sequence(self, [\n self.condition,\n consequent\n ]).optimize(compressor);\n }\n // x ? y || z : z --> x && y || z\n if (consequent instanceof AST_Binary\n && consequent.operator == \"||\"\n && consequent.right.equivalent_to(alternative)) {\n return make_node(AST_Binary, self, {\n operator: \"||\",\n left: make_node(AST_Binary, self, {\n operator: \"&&\",\n left: self.condition,\n right: consequent.left\n }),\n right: alternative\n }).optimize(compressor);\n }\n\n const in_bool = compressor.in_boolean_context();\n if (is_true(self.consequent)) {\n if (is_false(self.alternative)) {\n // c ? true : false ---> !!c\n return booleanize(self.condition);\n }\n // c ? true : x ---> !!c || x\n return make_node(AST_Binary, self, {\n operator: \"||\",\n left: booleanize(self.condition),\n right: self.alternative\n });\n }\n if (is_false(self.consequent)) {\n if (is_true(self.alternative)) {\n // c ? false : true ---> !c\n return booleanize(self.condition.negate(compressor));\n }\n // c ? false : x ---> !c && x\n return make_node(AST_Binary, self, {\n operator: \"&&\",\n left: booleanize(self.condition.negate(compressor)),\n right: self.alternative\n });\n }\n if (is_true(self.alternative)) {\n // c ? x : true ---> !c || x\n return make_node(AST_Binary, self, {\n operator: \"||\",\n left: booleanize(self.condition.negate(compressor)),\n right: self.consequent\n });\n }\n if (is_false(self.alternative)) {\n // c ? x : false ---> !!c && x\n return make_node(AST_Binary, self, {\n operator: \"&&\",\n left: booleanize(self.condition),\n right: self.consequent\n });\n }\n\n return self;\n\n function booleanize(node) {\n if (node.is_boolean()) return node;\n // !!expression\n return make_node(AST_UnaryPrefix, node, {\n operator: \"!\",\n expression: node.negate(compressor)\n });\n }\n\n // AST_True or !0\n function is_true(node) {\n return node instanceof AST_True\n || in_bool\n && node instanceof AST_Constant\n && node.getValue()\n || (node instanceof AST_UnaryPrefix\n && node.operator == \"!\"\n && node.expression instanceof AST_Constant\n && !node.expression.getValue());\n }\n // AST_False or !1\n function is_false(node) {\n return node instanceof AST_False\n || in_bool\n && node instanceof AST_Constant\n && !node.getValue()\n || (node instanceof AST_UnaryPrefix\n && node.operator == \"!\"\n && node.expression instanceof AST_Constant\n && node.expression.getValue());\n }\n\n function single_arg_diff() {\n var a = consequent.args;\n var b = alternative.args;\n for (var i = 0, len = a.length; i < len; i++) {\n if (a[i] instanceof AST_Expansion) return;\n if (!a[i].equivalent_to(b[i])) {\n if (b[i] instanceof AST_Expansion) return;\n for (var j = i + 1; j < len; j++) {\n if (a[j] instanceof AST_Expansion) return;\n if (!a[j].equivalent_to(b[j])) return;\n }\n return i;\n }\n }\n }\n});\n\ndef_optimize(AST_Boolean, function(self, compressor) {\n if (compressor.in_boolean_context()) return make_node(AST_Number, self, {\n value: +self.value\n });\n var p = compressor.parent();\n if (compressor.option(\"booleans_as_integers\")) {\n if (p instanceof AST_Binary && (p.operator == \"===\" || p.operator == \"!==\")) {\n p.operator = p.operator.replace(/=$/, \"\");\n }\n return make_node(AST_Number, self, {\n value: +self.value\n });\n }\n if (compressor.option(\"booleans\")) {\n if (p instanceof AST_Binary && (p.operator == \"==\"\n || p.operator == \"!=\")) {\n return make_node(AST_Number, self, {\n value: +self.value\n });\n }\n return make_node(AST_UnaryPrefix, self, {\n operator: \"!\",\n expression: make_node(AST_Number, self, {\n value: 1 - self.value\n })\n });\n }\n return self;\n});\n\nfunction safe_to_flatten(value, compressor) {\n if (value instanceof AST_SymbolRef) {\n value = value.fixed_value();\n }\n if (!value) return false;\n if (!(value instanceof AST_Lambda || value instanceof AST_Class)) return true;\n if (!(value instanceof AST_Lambda && value.contains_this())) return true;\n return compressor.parent() instanceof AST_New;\n}\n\nAST_PropAccess.DEFMETHOD(\"flatten_object\", function(key, compressor) {\n if (!compressor.option(\"properties\")) return;\n if (key === \"__proto__\") return;\n\n var arrows = compressor.option(\"unsafe_arrows\") && compressor.option(\"ecma\") >= 2015;\n var expr = this.expression;\n if (expr instanceof AST_Object) {\n var props = expr.properties;\n\n for (var i = props.length; --i >= 0;) {\n var prop = props[i];\n\n if (\"\" + (prop instanceof AST_ConciseMethod ? prop.key.name : prop.key) == key) {\n const all_props_flattenable = props.every((p) =>\n (p instanceof AST_ObjectKeyVal\n || arrows && p instanceof AST_ConciseMethod && !p.is_generator\n )\n && !p.computed_key()\n );\n\n if (!all_props_flattenable) return;\n if (!safe_to_flatten(prop.value, compressor)) return;\n\n return make_node(AST_Sub, this, {\n expression: make_node(AST_Array, expr, {\n elements: props.map(function(prop) {\n var v = prop.value;\n if (v instanceof AST_Accessor) {\n v = make_node(AST_Function, v, v);\n }\n\n var k = prop.key;\n if (k instanceof AST_Node && !(k instanceof AST_SymbolMethod)) {\n return make_sequence(prop, [ k, v ]);\n }\n\n return v;\n })\n }),\n property: make_node(AST_Number, this, {\n value: i\n })\n });\n }\n }\n }\n});\n\ndef_optimize(AST_Sub, function(self, compressor) {\n var expr = self.expression;\n var prop = self.property;\n if (compressor.option(\"properties\")) {\n var key = prop.evaluate(compressor);\n if (key !== prop) {\n if (typeof key == \"string\") {\n if (key == \"undefined\") {\n key = undefined;\n } else {\n var value = parseFloat(key);\n if (value.toString() == key) {\n key = value;\n }\n }\n }\n prop = self.property = best_of_expression(prop, make_node_from_constant(key, prop).transform(compressor));\n var property = \"\" + key;\n if (is_basic_identifier_string(property)\n && property.length <= prop.size() + 1) {\n return make_node(AST_Dot, self, {\n expression: expr,\n optional: self.optional,\n property: property,\n quote: prop.quote,\n }).optimize(compressor);\n }\n }\n }\n var fn;\n OPT_ARGUMENTS: if (compressor.option(\"arguments\")\n && expr instanceof AST_SymbolRef\n && expr.name == \"arguments\"\n && expr.definition().orig.length == 1\n && (fn = expr.scope) instanceof AST_Lambda\n && fn.uses_arguments\n && !(fn instanceof AST_Arrow)\n && prop instanceof AST_Number) {\n var index = prop.getValue();\n var params = new Set();\n var argnames = fn.argnames;\n for (var n = 0; n < argnames.length; n++) {\n if (!(argnames[n] instanceof AST_SymbolFunarg)) {\n break OPT_ARGUMENTS; // destructuring parameter - bail\n }\n var param = argnames[n].name;\n if (params.has(param)) {\n break OPT_ARGUMENTS; // duplicate parameter - bail\n }\n params.add(param);\n }\n var argname = fn.argnames[index];\n if (argname && compressor.has_directive(\"use strict\")) {\n var def = argname.definition();\n if (!compressor.option(\"reduce_vars\") || def.assignments || def.orig.length > 1) {\n argname = null;\n }\n } else if (!argname && !compressor.option(\"keep_fargs\") && index < fn.argnames.length + 5) {\n while (index >= fn.argnames.length) {\n argname = fn.create_symbol(AST_SymbolFunarg, {\n source: fn,\n scope: fn,\n tentative_name: \"argument_\" + fn.argnames.length,\n });\n fn.argnames.push(argname);\n }\n }\n if (argname) {\n var sym = make_node(AST_SymbolRef, self, argname);\n sym.reference({});\n clear_flag(argname, UNUSED);\n return sym;\n }\n }\n if (is_lhs(self, compressor.parent())) return self;\n if (key !== prop) {\n var sub = self.flatten_object(property, compressor);\n if (sub) {\n expr = self.expression = sub.expression;\n prop = self.property = sub.property;\n }\n }\n if (compressor.option(\"properties\") && compressor.option(\"side_effects\")\n && prop instanceof AST_Number && expr instanceof AST_Array) {\n var index = prop.getValue();\n var elements = expr.elements;\n var retValue = elements[index];\n FLATTEN: if (safe_to_flatten(retValue, compressor)) {\n var flatten = true;\n var values = [];\n for (var i = elements.length; --i > index;) {\n var value = elements[i].drop_side_effect_free(compressor);\n if (value) {\n values.unshift(value);\n if (flatten && value.has_side_effects(compressor)) flatten = false;\n }\n }\n if (retValue instanceof AST_Expansion) break FLATTEN;\n retValue = retValue instanceof AST_Hole ? make_node(AST_Undefined, retValue) : retValue;\n if (!flatten) values.unshift(retValue);\n while (--i >= 0) {\n var value = elements[i];\n if (value instanceof AST_Expansion) break FLATTEN;\n value = value.drop_side_effect_free(compressor);\n if (value) values.unshift(value);\n else index--;\n }\n if (flatten) {\n values.push(retValue);\n return make_sequence(self, values).optimize(compressor);\n } else return make_node(AST_Sub, self, {\n expression: make_node(AST_Array, expr, {\n elements: values\n }),\n property: make_node(AST_Number, prop, {\n value: index\n })\n });\n }\n }\n var ev = self.evaluate(compressor);\n if (ev !== self) {\n ev = make_node_from_constant(ev, self).optimize(compressor);\n return best_of(compressor, ev, self);\n }\n return self;\n});\n\ndef_optimize(AST_Chain, function (self, compressor) {\n if (is_nullish(self.expression, compressor)) {\n let parent = compressor.parent();\n // It's valid to delete a nullish optional chain, but if we optimized\n // this to `delete undefined` then it would appear to be a syntax error\n // when we try to optimize the delete. Thankfully, `delete 0` is fine.\n if (parent instanceof AST_UnaryPrefix && parent.operator === \"delete\") {\n return make_node_from_constant(0, self);\n }\n return make_node(AST_Undefined, self);\n }\n return self;\n});\n\nAST_Lambda.DEFMETHOD(\"contains_this\", function() {\n return walk(this, node => {\n if (node instanceof AST_This) return walk_abort;\n if (\n node !== this\n && node instanceof AST_Scope\n && !(node instanceof AST_Arrow)\n ) {\n return true;\n }\n });\n});\n\ndef_optimize(AST_Dot, function(self, compressor) {\n const parent = compressor.parent();\n if (is_lhs(self, parent)) return self;\n if (compressor.option(\"unsafe_proto\")\n && self.expression instanceof AST_Dot\n && self.expression.property == \"prototype\") {\n var exp = self.expression.expression;\n if (is_undeclared_ref(exp)) switch (exp.name) {\n case \"Array\":\n self.expression = make_node(AST_Array, self.expression, {\n elements: []\n });\n break;\n case \"Function\":\n self.expression = make_node(AST_Function, self.expression, {\n argnames: [],\n body: []\n });\n break;\n case \"Number\":\n self.expression = make_node(AST_Number, self.expression, {\n value: 0\n });\n break;\n case \"Object\":\n self.expression = make_node(AST_Object, self.expression, {\n properties: []\n });\n break;\n case \"RegExp\":\n self.expression = make_node(AST_RegExp, self.expression, {\n value: { source: \"t\", flags: \"\" }\n });\n break;\n case \"String\":\n self.expression = make_node(AST_String, self.expression, {\n value: \"\"\n });\n break;\n }\n }\n if (!(parent instanceof AST_Call) || !has_annotation(parent, _NOINLINE)) {\n const sub = self.flatten_object(self.property, compressor);\n if (sub) return sub.optimize(compressor);\n }\n\n if (self.expression instanceof AST_PropAccess\n && parent instanceof AST_PropAccess) {\n return self;\n }\n\n let ev = self.evaluate(compressor);\n if (ev !== self) {\n ev = make_node_from_constant(ev, self).optimize(compressor);\n return best_of(compressor, ev, self);\n }\n return self;\n});\n\nfunction literals_in_boolean_context(self, compressor) {\n if (compressor.in_boolean_context()) {\n return best_of(compressor, self, make_sequence(self, [\n self,\n make_node(AST_True, self)\n ]).optimize(compressor));\n }\n return self;\n}\n\nfunction inline_array_like_spread(elements) {\n for (var i = 0; i < elements.length; i++) {\n var el = elements[i];\n if (el instanceof AST_Expansion) {\n var expr = el.expression;\n if (\n expr instanceof AST_Array\n && !expr.elements.some(elm => elm instanceof AST_Hole)\n ) {\n elements.splice(i, 1, ...expr.elements);\n // Step back one, as the element at i is now new.\n i--;\n }\n // In array-like spread, spreading a non-iterable value is TypeError.\n // We therefore can’t optimize anything else, unlike with object spread.\n }\n }\n}\n\ndef_optimize(AST_Array, function(self, compressor) {\n var optimized = literals_in_boolean_context(self, compressor);\n if (optimized !== self) {\n return optimized;\n }\n inline_array_like_spread(self.elements);\n return self;\n});\n\nfunction inline_object_prop_spread(props, compressor) {\n for (var i = 0; i < props.length; i++) {\n var prop = props[i];\n if (prop instanceof AST_Expansion) {\n const expr = prop.expression;\n if (\n expr instanceof AST_Object\n && expr.properties.every(prop => prop instanceof AST_ObjectKeyVal)\n ) {\n props.splice(i, 1, ...expr.properties);\n // Step back one, as the property at i is now new.\n i--;\n } else if (expr instanceof AST_Constant\n && !(expr instanceof AST_String)) {\n // Unlike array-like spread, in object spread, spreading a\n // non-iterable value silently does nothing; it is thus safe\n // to remove. AST_String is the only iterable AST_Constant.\n props.splice(i, 1);\n i--;\n } else if (is_nullish(expr, compressor)) {\n // Likewise, null and undefined can be silently removed.\n props.splice(i, 1);\n i--;\n }\n }\n }\n}\n\ndef_optimize(AST_Object, function(self, compressor) {\n var optimized = literals_in_boolean_context(self, compressor);\n if (optimized !== self) {\n return optimized;\n }\n inline_object_prop_spread(self.properties, compressor);\n return self;\n});\n\ndef_optimize(AST_RegExp, literals_in_boolean_context);\n\ndef_optimize(AST_Return, function(self, compressor) {\n if (self.value && is_undefined(self.value, compressor)) {\n self.value = null;\n }\n return self;\n});\n\ndef_optimize(AST_Arrow, opt_AST_Lambda);\n\ndef_optimize(AST_Function, function(self, compressor) {\n self = opt_AST_Lambda(self, compressor);\n if (compressor.option(\"unsafe_arrows\")\n && compressor.option(\"ecma\") >= 2015\n && !self.name\n && !self.is_generator\n && !self.uses_arguments\n && !self.pinned()) {\n const uses_this = walk(self, node => {\n if (node instanceof AST_This) return walk_abort;\n });\n if (!uses_this) return make_node(AST_Arrow, self, self).optimize(compressor);\n }\n return self;\n});\n\ndef_optimize(AST_Class, function(self) {\n // HACK to avoid compress failure.\n // AST_Class is not really an AST_Scope/AST_Block as it lacks a body.\n return self;\n});\n\ndef_optimize(AST_ClassStaticBlock, function(self, compressor) {\n tighten_body(self.body, compressor);\n return self;\n});\n\ndef_optimize(AST_Yield, function(self, compressor) {\n if (self.expression && !self.is_star && is_undefined(self.expression, compressor)) {\n self.expression = null;\n }\n return self;\n});\n\ndef_optimize(AST_TemplateString, function(self, compressor) {\n if (\n !compressor.option(\"evaluate\")\n || compressor.parent() instanceof AST_PrefixedTemplateString\n ) {\n return self;\n }\n\n var segments = [];\n for (var i = 0; i < self.segments.length; i++) {\n var segment = self.segments[i];\n if (segment instanceof AST_Node) {\n var result = segment.evaluate(compressor);\n // Evaluate to constant value\n // Constant value shorter than ${segment}\n if (result !== segment && (result + \"\").length <= segment.size() + \"${}\".length) {\n // There should always be a previous and next segment if segment is a node\n segments[segments.length - 1].value = segments[segments.length - 1].value + result + self.segments[++i].value;\n continue;\n }\n // `before ${`innerBefore ${any} innerAfter`} after` => `before innerBefore ${any} innerAfter after`\n // TODO:\n // `before ${'test' + foo} after` => `before innerBefore ${any} innerAfter after`\n // `before ${foo + 'test} after` => `before innerBefore ${any} innerAfter after`\n if (segment instanceof AST_TemplateString) {\n var inners = segment.segments;\n segments[segments.length - 1].value += inners[0].value;\n for (var j = 1; j < inners.length; j++) {\n segment = inners[j];\n segments.push(segment);\n }\n continue;\n }\n }\n segments.push(segment);\n }\n self.segments = segments;\n\n // `foo` => \"foo\"\n if (segments.length == 1) {\n return make_node(AST_String, self, segments[0]);\n }\n\n if (\n segments.length === 3\n && segments[1] instanceof AST_Node\n && (\n segments[1].is_string(compressor)\n || segments[1].is_number(compressor)\n || is_nullish(segments[1], compressor)\n || compressor.option(\"unsafe\")\n )\n ) {\n // `foo${bar}` => \"foo\" + bar\n if (segments[2].value === \"\") {\n return make_node(AST_Binary, self, {\n operator: \"+\",\n left: make_node(AST_String, self, {\n value: segments[0].value,\n }),\n right: segments[1],\n });\n }\n // `${bar}baz` => bar + \"baz\"\n if (segments[0].value === \"\") {\n return make_node(AST_Binary, self, {\n operator: \"+\",\n left: segments[1],\n right: make_node(AST_String, self, {\n value: segments[2].value,\n }),\n });\n }\n }\n return self;\n});\n\ndef_optimize(AST_PrefixedTemplateString, function(self) {\n return self;\n});\n\n// [\"p\"]:1 ---> p:1\n// [42]:1 ---> 42:1\nfunction lift_key(self, compressor) {\n if (!compressor.option(\"computed_props\")) return self;\n // save a comparison in the typical case\n if (!(self.key instanceof AST_Constant)) return self;\n // allow certain acceptable props as not all AST_Constants are true constants\n if (self.key instanceof AST_String || self.key instanceof AST_Number) {\n if (self.key.value === \"__proto__\") return self;\n if (self.key.value == \"constructor\"\n && compressor.parent() instanceof AST_Class) return self;\n if (self instanceof AST_ObjectKeyVal) {\n self.quote = self.key.quote;\n self.key = self.key.value;\n } else if (self instanceof AST_ClassProperty) {\n self.quote = self.key.quote;\n self.key = make_node(AST_SymbolClassProperty, self.key, {\n name: self.key.value\n });\n } else {\n self.quote = self.key.quote;\n self.key = make_node(AST_SymbolMethod, self.key, {\n name: self.key.value\n });\n }\n }\n return self;\n}\n\ndef_optimize(AST_ObjectProperty, lift_key);\n\ndef_optimize(AST_ConciseMethod, function(self, compressor) {\n lift_key(self, compressor);\n // p(){return x;} ---> p:()=>x\n if (compressor.option(\"arrows\")\n && compressor.parent() instanceof AST_Object\n && !self.is_generator\n && !self.value.uses_arguments\n && !self.value.pinned()\n && self.value.body.length == 1\n && self.value.body[0] instanceof AST_Return\n && self.value.body[0].value\n && !self.value.contains_this()) {\n var arrow = make_node(AST_Arrow, self.value, self.value);\n arrow.async = self.async;\n arrow.is_generator = self.is_generator;\n return make_node(AST_ObjectKeyVal, self, {\n key: self.key instanceof AST_SymbolMethod ? self.key.name : self.key,\n value: arrow,\n quote: self.quote,\n });\n }\n return self;\n});\n\ndef_optimize(AST_ObjectKeyVal, function(self, compressor) {\n lift_key(self, compressor);\n // p:function(){} ---> p(){}\n // p:function*(){} ---> *p(){}\n // p:async function(){} ---> async p(){}\n // p:()=>{} ---> p(){}\n // p:async()=>{} ---> async p(){}\n var unsafe_methods = compressor.option(\"unsafe_methods\");\n if (unsafe_methods\n && compressor.option(\"ecma\") >= 2015\n && (!(unsafe_methods instanceof RegExp) || unsafe_methods.test(self.key + \"\"))) {\n var key = self.key;\n var value = self.value;\n var is_arrow_with_block = value instanceof AST_Arrow\n && Array.isArray(value.body)\n && !value.contains_this();\n if ((is_arrow_with_block || value instanceof AST_Function) && !value.name) {\n return make_node(AST_ConciseMethod, self, {\n async: value.async,\n is_generator: value.is_generator,\n key: key instanceof AST_Node ? key : make_node(AST_SymbolMethod, self, {\n name: key,\n }),\n value: make_node(AST_Accessor, value, value),\n quote: self.quote,\n });\n }\n }\n return self;\n});\n\ndef_optimize(AST_Destructuring, function(self, compressor) {\n if (compressor.option(\"pure_getters\") == true\n && compressor.option(\"unused\")\n && !self.is_array\n && Array.isArray(self.names)\n && !is_destructuring_export_decl(compressor)\n && !(self.names[self.names.length - 1] instanceof AST_Expansion)) {\n var keep = [];\n for (var i = 0; i < self.names.length; i++) {\n var elem = self.names[i];\n if (!(elem instanceof AST_ObjectKeyVal\n && typeof elem.key == \"string\"\n && elem.value instanceof AST_SymbolDeclaration\n && !should_retain(compressor, elem.value.definition()))) {\n keep.push(elem);\n }\n }\n if (keep.length != self.names.length) {\n self.names = keep;\n }\n }\n return self;\n\n function is_destructuring_export_decl(compressor) {\n var ancestors = [/^VarDef$/, /^(Const|Let|Var)$/, /^Export$/];\n for (var a = 0, p = 0, len = ancestors.length; a < len; p++) {\n var parent = compressor.parent(p);\n if (!parent) return false;\n if (a === 0 && parent.TYPE == \"Destructuring\") continue;\n if (!ancestors[a].test(parent.TYPE)) {\n return false;\n }\n a++;\n }\n return true;\n }\n\n function should_retain(compressor, def) {\n if (def.references.length) return true;\n if (!def.global) return false;\n if (compressor.toplevel.vars) {\n if (compressor.top_retain) {\n return compressor.top_retain(def);\n }\n return false;\n }\n return true;\n }\n});\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\n// a small wrapper around source-map and @jridgewell/source-map\nasync function SourceMap(options) {\n options = defaults(options, {\n file : null,\n root : null,\n orig : null,\n files: {},\n });\n\n var orig_map;\n var generator = new sourceMap.SourceMapGenerator({\n file : options.file,\n sourceRoot : options.root\n });\n\n let sourcesContent = {__proto__: null};\n let files = options.files;\n for (var name in files) if (HOP(files, name)) {\n sourcesContent[name] = files[name];\n }\n if (options.orig) {\n // We support both @jridgewell/source-map (which has a sync\n // SourceMapConsumer) and source-map (which has an async\n // SourceMapConsumer).\n orig_map = await new sourceMap.SourceMapConsumer(options.orig);\n if (orig_map.sourcesContent) {\n orig_map.sources.forEach(function(source, i) {\n var content = orig_map.sourcesContent[i];\n if (content) {\n sourcesContent[source] = content;\n }\n });\n }\n }\n\n function add(source, gen_line, gen_col, orig_line, orig_col, name) {\n let generatedPos = { line: gen_line, column: gen_col };\n\n if (orig_map) {\n var info = orig_map.originalPositionFor({\n line: orig_line,\n column: orig_col\n });\n if (info.source === null) {\n generator.addMapping({\n generated: generatedPos,\n original: null,\n source: null,\n name: null\n });\n return;\n }\n source = info.source;\n orig_line = info.line;\n orig_col = info.column;\n name = info.name || name;\n }\n generator.addMapping({\n generated : generatedPos,\n original : { line: orig_line, column: orig_col },\n source : source,\n name : name\n });\n generator.setSourceContent(source, sourcesContent[source]);\n }\n\n function clean(map) {\n const allNull = map.sourcesContent && map.sourcesContent.every(c => c == null);\n if (allNull) delete map.sourcesContent;\n if (map.file === undefined) delete map.file;\n if (map.sourceRoot === undefined) delete map.sourceRoot;\n return map;\n }\n\n function getDecoded() {\n if (!generator.toDecodedMap) return null;\n return clean(generator.toDecodedMap());\n }\n\n function getEncoded() {\n return clean(generator.toJSON());\n }\n\n function destroy() {\n // @jridgewell/source-map's SourceMapConsumer does not need to be\n // manually freed.\n if (orig_map && orig_map.destroy) orig_map.destroy();\n }\n\n return {\n add,\n getDecoded,\n getEncoded,\n destroy,\n };\n}\n\nvar domprops = [\n \"$&\",\n \"$'\",\n \"$*\",\n \"$+\",\n \"$1\",\n \"$2\",\n \"$3\",\n \"$4\",\n \"$5\",\n \"$6\",\n \"$7\",\n \"$8\",\n \"$9\",\n \"$_\",\n \"$`\",\n \"$input\",\n \"-moz-animation\",\n \"-moz-animation-delay\",\n \"-moz-animation-direction\",\n \"-moz-animation-duration\",\n \"-moz-animation-fill-mode\",\n \"-moz-animation-iteration-count\",\n \"-moz-animation-name\",\n \"-moz-animation-play-state\",\n \"-moz-animation-timing-function\",\n \"-moz-appearance\",\n \"-moz-backface-visibility\",\n \"-moz-border-end\",\n \"-moz-border-end-color\",\n \"-moz-border-end-style\",\n \"-moz-border-end-width\",\n \"-moz-border-image\",\n \"-moz-border-start\",\n \"-moz-border-start-color\",\n \"-moz-border-start-style\",\n \"-moz-border-start-width\",\n \"-moz-box-align\",\n \"-moz-box-direction\",\n \"-moz-box-flex\",\n \"-moz-box-ordinal-group\",\n \"-moz-box-orient\",\n \"-moz-box-pack\",\n \"-moz-box-sizing\",\n \"-moz-float-edge\",\n \"-moz-font-feature-settings\",\n \"-moz-font-language-override\",\n \"-moz-force-broken-image-icon\",\n \"-moz-hyphens\",\n \"-moz-image-region\",\n \"-moz-margin-end\",\n \"-moz-margin-start\",\n \"-moz-orient\",\n \"-moz-osx-font-smoothing\",\n \"-moz-outline-radius\",\n \"-moz-outline-radius-bottomleft\",\n \"-moz-outline-radius-bottomright\",\n \"-moz-outline-radius-topleft\",\n \"-moz-outline-radius-topright\",\n \"-moz-padding-end\",\n \"-moz-padding-start\",\n \"-moz-perspective\",\n \"-moz-perspective-origin\",\n \"-moz-tab-size\",\n \"-moz-text-size-adjust\",\n \"-moz-transform\",\n \"-moz-transform-origin\",\n \"-moz-transform-style\",\n \"-moz-transition\",\n \"-moz-transition-delay\",\n \"-moz-transition-duration\",\n \"-moz-transition-property\",\n \"-moz-transition-timing-function\",\n \"-moz-user-focus\",\n \"-moz-user-input\",\n \"-moz-user-modify\",\n \"-moz-user-select\",\n \"-moz-window-dragging\",\n \"-webkit-align-content\",\n \"-webkit-align-items\",\n \"-webkit-align-self\",\n \"-webkit-animation\",\n \"-webkit-animation-delay\",\n \"-webkit-animation-direction\",\n \"-webkit-animation-duration\",\n \"-webkit-animation-fill-mode\",\n \"-webkit-animation-iteration-count\",\n \"-webkit-animation-name\",\n \"-webkit-animation-play-state\",\n \"-webkit-animation-timing-function\",\n \"-webkit-appearance\",\n \"-webkit-backface-visibility\",\n \"-webkit-background-clip\",\n \"-webkit-background-origin\",\n \"-webkit-background-size\",\n \"-webkit-border-bottom-left-radius\",\n \"-webkit-border-bottom-right-radius\",\n \"-webkit-border-image\",\n \"-webkit-border-radius\",\n \"-webkit-border-top-left-radius\",\n \"-webkit-border-top-right-radius\",\n \"-webkit-box-align\",\n \"-webkit-box-direction\",\n \"-webkit-box-flex\",\n \"-webkit-box-ordinal-group\",\n \"-webkit-box-orient\",\n \"-webkit-box-pack\",\n \"-webkit-box-shadow\",\n \"-webkit-box-sizing\",\n \"-webkit-filter\",\n \"-webkit-flex\",\n \"-webkit-flex-basis\",\n \"-webkit-flex-direction\",\n \"-webkit-flex-flow\",\n \"-webkit-flex-grow\",\n \"-webkit-flex-shrink\",\n \"-webkit-flex-wrap\",\n \"-webkit-justify-content\",\n \"-webkit-line-clamp\",\n \"-webkit-mask\",\n \"-webkit-mask-clip\",\n \"-webkit-mask-composite\",\n \"-webkit-mask-image\",\n \"-webkit-mask-origin\",\n \"-webkit-mask-position\",\n \"-webkit-mask-position-x\",\n \"-webkit-mask-position-y\",\n \"-webkit-mask-repeat\",\n \"-webkit-mask-size\",\n \"-webkit-order\",\n \"-webkit-perspective\",\n \"-webkit-perspective-origin\",\n \"-webkit-text-fill-color\",\n \"-webkit-text-size-adjust\",\n \"-webkit-text-stroke\",\n \"-webkit-text-stroke-color\",\n \"-webkit-text-stroke-width\",\n \"-webkit-transform\",\n \"-webkit-transform-origin\",\n \"-webkit-transform-style\",\n \"-webkit-transition\",\n \"-webkit-transition-delay\",\n \"-webkit-transition-duration\",\n \"-webkit-transition-property\",\n \"-webkit-transition-timing-function\",\n \"-webkit-user-select\",\n \"0\",\n \"1\",\n \"10\",\n \"11\",\n \"12\",\n \"13\",\n \"14\",\n \"15\",\n \"16\",\n \"17\",\n \"18\",\n \"19\",\n \"2\",\n \"20\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"@@iterator\",\n \"ABORT_ERR\",\n \"ACTIVE\",\n \"ACTIVE_ATTRIBUTES\",\n \"ACTIVE_TEXTURE\",\n \"ACTIVE_UNIFORMS\",\n \"ACTIVE_UNIFORM_BLOCKS\",\n \"ADDITION\",\n \"ALIASED_LINE_WIDTH_RANGE\",\n \"ALIASED_POINT_SIZE_RANGE\",\n \"ALLOW_KEYBOARD_INPUT\",\n \"ALLPASS\",\n \"ALPHA\",\n \"ALPHA_BITS\",\n \"ALREADY_SIGNALED\",\n \"ALT_MASK\",\n \"ALWAYS\",\n \"ANY_SAMPLES_PASSED\",\n \"ANY_SAMPLES_PASSED_CONSERVATIVE\",\n \"ANY_TYPE\",\n \"ANY_UNORDERED_NODE_TYPE\",\n \"ARRAY_BUFFER\",\n \"ARRAY_BUFFER_BINDING\",\n \"ATTACHED_SHADERS\",\n \"ATTRIBUTE_NODE\",\n \"AT_TARGET\",\n \"AbortController\",\n \"AbortSignal\",\n \"AbsoluteOrientationSensor\",\n \"AbstractRange\",\n \"Accelerometer\",\n \"AddSearchProvider\",\n \"AggregateError\",\n \"AnalyserNode\",\n \"Animation\",\n \"AnimationEffect\",\n \"AnimationEvent\",\n \"AnimationPlaybackEvent\",\n \"AnimationTimeline\",\n \"AnonXMLHttpRequest\",\n \"Any\",\n \"ApplicationCache\",\n \"ApplicationCacheErrorEvent\",\n \"Array\",\n \"ArrayBuffer\",\n \"ArrayType\",\n \"Atomics\",\n \"Attr\",\n \"Audio\",\n \"AudioBuffer\",\n \"AudioBufferSourceNode\",\n \"AudioContext\",\n \"AudioDestinationNode\",\n \"AudioListener\",\n \"AudioNode\",\n \"AudioParam\",\n \"AudioParamMap\",\n \"AudioProcessingEvent\",\n \"AudioScheduledSourceNode\",\n \"AudioStreamTrack\",\n \"AudioWorklet\",\n \"AudioWorkletNode\",\n \"AuthenticatorAssertionResponse\",\n \"AuthenticatorAttestationResponse\",\n \"AuthenticatorResponse\",\n \"AutocompleteErrorEvent\",\n \"BACK\",\n \"BAD_BOUNDARYPOINTS_ERR\",\n \"BAD_REQUEST\",\n \"BANDPASS\",\n \"BLEND\",\n \"BLEND_COLOR\",\n \"BLEND_DST_ALPHA\",\n \"BLEND_DST_RGB\",\n \"BLEND_EQUATION\",\n \"BLEND_EQUATION_ALPHA\",\n \"BLEND_EQUATION_RGB\",\n \"BLEND_SRC_ALPHA\",\n \"BLEND_SRC_RGB\",\n \"BLUE_BITS\",\n \"BLUR\",\n \"BOOL\",\n \"BOOLEAN_TYPE\",\n \"BOOL_VEC2\",\n \"BOOL_VEC3\",\n \"BOOL_VEC4\",\n \"BOTH\",\n \"BROWSER_DEFAULT_WEBGL\",\n \"BUBBLING_PHASE\",\n \"BUFFER_SIZE\",\n \"BUFFER_USAGE\",\n \"BYTE\",\n \"BYTES_PER_ELEMENT\",\n \"BackgroundFetchManager\",\n \"BackgroundFetchRecord\",\n \"BackgroundFetchRegistration\",\n \"BarProp\",\n \"BarcodeDetector\",\n \"BaseAudioContext\",\n \"BaseHref\",\n \"BatteryManager\",\n \"BeforeInstallPromptEvent\",\n \"BeforeLoadEvent\",\n \"BeforeUnloadEvent\",\n \"BigInt\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n \"BiquadFilterNode\",\n \"Blob\",\n \"BlobEvent\",\n \"Bluetooth\",\n \"BluetoothCharacteristicProperties\",\n \"BluetoothDevice\",\n \"BluetoothRemoteGATTCharacteristic\",\n \"BluetoothRemoteGATTDescriptor\",\n \"BluetoothRemoteGATTServer\",\n \"BluetoothRemoteGATTService\",\n \"BluetoothUUID\",\n \"Boolean\",\n \"BroadcastChannel\",\n \"ByteLengthQueuingStrategy\",\n \"CAPTURING_PHASE\",\n \"CCW\",\n \"CDATASection\",\n \"CDATA_SECTION_NODE\",\n \"CHANGE\",\n \"CHARSET_RULE\",\n \"CHECKING\",\n \"CLAMP_TO_EDGE\",\n \"CLICK\",\n \"CLOSED\",\n \"CLOSING\",\n \"COLOR\",\n \"COLOR_ATTACHMENT0\",\n \"COLOR_ATTACHMENT1\",\n \"COLOR_ATTACHMENT10\",\n \"COLOR_ATTACHMENT11\",\n \"COLOR_ATTACHMENT12\",\n \"COLOR_ATTACHMENT13\",\n \"COLOR_ATTACHMENT14\",\n \"COLOR_ATTACHMENT15\",\n \"COLOR_ATTACHMENT2\",\n \"COLOR_ATTACHMENT3\",\n \"COLOR_ATTACHMENT4\",\n \"COLOR_ATTACHMENT5\",\n \"COLOR_ATTACHMENT6\",\n \"COLOR_ATTACHMENT7\",\n \"COLOR_ATTACHMENT8\",\n \"COLOR_ATTACHMENT9\",\n \"COLOR_BUFFER_BIT\",\n \"COLOR_CLEAR_VALUE\",\n \"COLOR_WRITEMASK\",\n \"COMMENT_NODE\",\n \"COMPARE_REF_TO_TEXTURE\",\n \"COMPILE_STATUS\",\n \"COMPLETION_STATUS_KHR\",\n \"COMPRESSED_RGBA_S3TC_DXT1_EXT\",\n \"COMPRESSED_RGBA_S3TC_DXT3_EXT\",\n \"COMPRESSED_RGBA_S3TC_DXT5_EXT\",\n \"COMPRESSED_RGB_S3TC_DXT1_EXT\",\n \"COMPRESSED_TEXTURE_FORMATS\",\n \"CONDITION_SATISFIED\",\n \"CONFIGURATION_UNSUPPORTED\",\n \"CONNECTING\",\n \"CONSTANT_ALPHA\",\n \"CONSTANT_COLOR\",\n \"CONSTRAINT_ERR\",\n \"CONTEXT_LOST_WEBGL\",\n \"CONTROL_MASK\",\n \"COPY_READ_BUFFER\",\n \"COPY_READ_BUFFER_BINDING\",\n \"COPY_WRITE_BUFFER\",\n \"COPY_WRITE_BUFFER_BINDING\",\n \"COUNTER_STYLE_RULE\",\n \"CSS\",\n \"CSS2Properties\",\n \"CSSAnimation\",\n \"CSSCharsetRule\",\n \"CSSConditionRule\",\n \"CSSCounterStyleRule\",\n \"CSSFontFaceRule\",\n \"CSSFontFeatureValuesRule\",\n \"CSSGroupingRule\",\n \"CSSImageValue\",\n \"CSSImportRule\",\n \"CSSKeyframeRule\",\n \"CSSKeyframesRule\",\n \"CSSKeywordValue\",\n \"CSSMathInvert\",\n \"CSSMathMax\",\n \"CSSMathMin\",\n \"CSSMathNegate\",\n \"CSSMathProduct\",\n \"CSSMathSum\",\n \"CSSMathValue\",\n \"CSSMatrixComponent\",\n \"CSSMediaRule\",\n \"CSSMozDocumentRule\",\n \"CSSNameSpaceRule\",\n \"CSSNamespaceRule\",\n \"CSSNumericArray\",\n \"CSSNumericValue\",\n \"CSSPageRule\",\n \"CSSPerspective\",\n \"CSSPositionValue\",\n \"CSSPrimitiveValue\",\n \"CSSRotate\",\n \"CSSRule\",\n \"CSSRuleList\",\n \"CSSScale\",\n \"CSSSkew\",\n \"CSSSkewX\",\n \"CSSSkewY\",\n \"CSSStyleDeclaration\",\n \"CSSStyleRule\",\n \"CSSStyleSheet\",\n \"CSSStyleValue\",\n \"CSSSupportsRule\",\n \"CSSTransformComponent\",\n \"CSSTransformValue\",\n \"CSSTransition\",\n \"CSSTranslate\",\n \"CSSUnitValue\",\n \"CSSUnknownRule\",\n \"CSSUnparsedValue\",\n \"CSSValue\",\n \"CSSValueList\",\n \"CSSVariableReferenceValue\",\n \"CSSVariablesDeclaration\",\n \"CSSVariablesRule\",\n \"CSSViewportRule\",\n \"CSS_ATTR\",\n \"CSS_CM\",\n \"CSS_COUNTER\",\n \"CSS_CUSTOM\",\n \"CSS_DEG\",\n \"CSS_DIMENSION\",\n \"CSS_EMS\",\n \"CSS_EXS\",\n \"CSS_FILTER_BLUR\",\n \"CSS_FILTER_BRIGHTNESS\",\n \"CSS_FILTER_CONTRAST\",\n \"CSS_FILTER_CUSTOM\",\n \"CSS_FILTER_DROP_SHADOW\",\n \"CSS_FILTER_GRAYSCALE\",\n \"CSS_FILTER_HUE_ROTATE\",\n \"CSS_FILTER_INVERT\",\n \"CSS_FILTER_OPACITY\",\n \"CSS_FILTER_REFERENCE\",\n \"CSS_FILTER_SATURATE\",\n \"CSS_FILTER_SEPIA\",\n \"CSS_GRAD\",\n \"CSS_HZ\",\n \"CSS_IDENT\",\n \"CSS_IN\",\n \"CSS_INHERIT\",\n \"CSS_KHZ\",\n \"CSS_MATRIX\",\n \"CSS_MATRIX3D\",\n \"CSS_MM\",\n \"CSS_MS\",\n \"CSS_NUMBER\",\n \"CSS_PC\",\n \"CSS_PERCENTAGE\",\n \"CSS_PERSPECTIVE\",\n \"CSS_PRIMITIVE_VALUE\",\n \"CSS_PT\",\n \"CSS_PX\",\n \"CSS_RAD\",\n \"CSS_RECT\",\n \"CSS_RGBCOLOR\",\n \"CSS_ROTATE\",\n \"CSS_ROTATE3D\",\n \"CSS_ROTATEX\",\n \"CSS_ROTATEY\",\n \"CSS_ROTATEZ\",\n \"CSS_S\",\n \"CSS_SCALE\",\n \"CSS_SCALE3D\",\n \"CSS_SCALEX\",\n \"CSS_SCALEY\",\n \"CSS_SCALEZ\",\n \"CSS_SKEW\",\n \"CSS_SKEWX\",\n \"CSS_SKEWY\",\n \"CSS_STRING\",\n \"CSS_TRANSLATE\",\n \"CSS_TRANSLATE3D\",\n \"CSS_TRANSLATEX\",\n \"CSS_TRANSLATEY\",\n \"CSS_TRANSLATEZ\",\n \"CSS_UNKNOWN\",\n \"CSS_URI\",\n \"CSS_VALUE_LIST\",\n \"CSS_VH\",\n \"CSS_VMAX\",\n \"CSS_VMIN\",\n \"CSS_VW\",\n \"CULL_FACE\",\n \"CULL_FACE_MODE\",\n \"CURRENT_PROGRAM\",\n \"CURRENT_QUERY\",\n \"CURRENT_VERTEX_ATTRIB\",\n \"CUSTOM\",\n \"CW\",\n \"Cache\",\n \"CacheStorage\",\n \"CanvasCaptureMediaStream\",\n \"CanvasCaptureMediaStreamTrack\",\n \"CanvasGradient\",\n \"CanvasPattern\",\n \"CanvasRenderingContext2D\",\n \"CaretPosition\",\n \"ChannelMergerNode\",\n \"ChannelSplitterNode\",\n \"CharacterData\",\n \"ClientRect\",\n \"ClientRectList\",\n \"Clipboard\",\n \"ClipboardEvent\",\n \"ClipboardItem\",\n \"CloseEvent\",\n \"Collator\",\n \"CommandEvent\",\n \"Comment\",\n \"CompileError\",\n \"CompositionEvent\",\n \"CompressionStream\",\n \"Console\",\n \"ConstantSourceNode\",\n \"Controllers\",\n \"ConvolverNode\",\n \"CountQueuingStrategy\",\n \"Counter\",\n \"Credential\",\n \"CredentialsContainer\",\n \"Crypto\",\n \"CryptoKey\",\n \"CustomElementRegistry\",\n \"CustomEvent\",\n \"DATABASE_ERR\",\n \"DATA_CLONE_ERR\",\n \"DATA_ERR\",\n \"DBLCLICK\",\n \"DECR\",\n \"DECR_WRAP\",\n \"DELETE_STATUS\",\n \"DEPTH\",\n \"DEPTH24_STENCIL8\",\n \"DEPTH32F_STENCIL8\",\n \"DEPTH_ATTACHMENT\",\n \"DEPTH_BITS\",\n \"DEPTH_BUFFER_BIT\",\n \"DEPTH_CLEAR_VALUE\",\n \"DEPTH_COMPONENT\",\n \"DEPTH_COMPONENT16\",\n \"DEPTH_COMPONENT24\",\n \"DEPTH_COMPONENT32F\",\n \"DEPTH_FUNC\",\n \"DEPTH_RANGE\",\n \"DEPTH_STENCIL\",\n \"DEPTH_STENCIL_ATTACHMENT\",\n \"DEPTH_TEST\",\n \"DEPTH_WRITEMASK\",\n \"DEVICE_INELIGIBLE\",\n \"DIRECTION_DOWN\",\n \"DIRECTION_LEFT\",\n \"DIRECTION_RIGHT\",\n \"DIRECTION_UP\",\n \"DISABLED\",\n \"DISPATCH_REQUEST_ERR\",\n \"DITHER\",\n \"DOCUMENT_FRAGMENT_NODE\",\n \"DOCUMENT_NODE\",\n \"DOCUMENT_POSITION_CONTAINED_BY\",\n \"DOCUMENT_POSITION_CONTAINS\",\n \"DOCUMENT_POSITION_DISCONNECTED\",\n \"DOCUMENT_POSITION_FOLLOWING\",\n \"DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\",\n \"DOCUMENT_POSITION_PRECEDING\",\n \"DOCUMENT_TYPE_NODE\",\n \"DOMCursor\",\n \"DOMError\",\n \"DOMException\",\n \"DOMImplementation\",\n \"DOMImplementationLS\",\n \"DOMMatrix\",\n \"DOMMatrixReadOnly\",\n \"DOMParser\",\n \"DOMPoint\",\n \"DOMPointReadOnly\",\n \"DOMQuad\",\n \"DOMRect\",\n \"DOMRectList\",\n \"DOMRectReadOnly\",\n \"DOMRequest\",\n \"DOMSTRING_SIZE_ERR\",\n \"DOMSettableTokenList\",\n \"DOMStringList\",\n \"DOMStringMap\",\n \"DOMTokenList\",\n \"DOMTransactionEvent\",\n \"DOM_DELTA_LINE\",\n \"DOM_DELTA_PAGE\",\n \"DOM_DELTA_PIXEL\",\n \"DOM_INPUT_METHOD_DROP\",\n \"DOM_INPUT_METHOD_HANDWRITING\",\n \"DOM_INPUT_METHOD_IME\",\n \"DOM_INPUT_METHOD_KEYBOARD\",\n \"DOM_INPUT_METHOD_MULTIMODAL\",\n \"DOM_INPUT_METHOD_OPTION\",\n \"DOM_INPUT_METHOD_PASTE\",\n \"DOM_INPUT_METHOD_SCRIPT\",\n \"DOM_INPUT_METHOD_UNKNOWN\",\n \"DOM_INPUT_METHOD_VOICE\",\n \"DOM_KEY_LOCATION_JOYSTICK\",\n \"DOM_KEY_LOCATION_LEFT\",\n \"DOM_KEY_LOCATION_MOBILE\",\n \"DOM_KEY_LOCATION_NUMPAD\",\n \"DOM_KEY_LOCATION_RIGHT\",\n \"DOM_KEY_LOCATION_STANDARD\",\n \"DOM_VK_0\",\n \"DOM_VK_1\",\n \"DOM_VK_2\",\n \"DOM_VK_3\",\n \"DOM_VK_4\",\n \"DOM_VK_5\",\n \"DOM_VK_6\",\n \"DOM_VK_7\",\n \"DOM_VK_8\",\n \"DOM_VK_9\",\n \"DOM_VK_A\",\n \"DOM_VK_ACCEPT\",\n \"DOM_VK_ADD\",\n \"DOM_VK_ALT\",\n \"DOM_VK_ALTGR\",\n \"DOM_VK_AMPERSAND\",\n \"DOM_VK_ASTERISK\",\n \"DOM_VK_AT\",\n \"DOM_VK_ATTN\",\n \"DOM_VK_B\",\n \"DOM_VK_BACKSPACE\",\n \"DOM_VK_BACK_QUOTE\",\n \"DOM_VK_BACK_SLASH\",\n \"DOM_VK_BACK_SPACE\",\n \"DOM_VK_C\",\n \"DOM_VK_CANCEL\",\n \"DOM_VK_CAPS_LOCK\",\n \"DOM_VK_CIRCUMFLEX\",\n \"DOM_VK_CLEAR\",\n \"DOM_VK_CLOSE_BRACKET\",\n \"DOM_VK_CLOSE_CURLY_BRACKET\",\n \"DOM_VK_CLOSE_PAREN\",\n \"DOM_VK_COLON\",\n \"DOM_VK_COMMA\",\n \"DOM_VK_CONTEXT_MENU\",\n \"DOM_VK_CONTROL\",\n \"DOM_VK_CONVERT\",\n \"DOM_VK_CRSEL\",\n \"DOM_VK_CTRL\",\n \"DOM_VK_D\",\n \"DOM_VK_DECIMAL\",\n \"DOM_VK_DELETE\",\n \"DOM_VK_DIVIDE\",\n \"DOM_VK_DOLLAR\",\n \"DOM_VK_DOUBLE_QUOTE\",\n \"DOM_VK_DOWN\",\n \"DOM_VK_E\",\n \"DOM_VK_EISU\",\n \"DOM_VK_END\",\n \"DOM_VK_ENTER\",\n \"DOM_VK_EQUALS\",\n \"DOM_VK_EREOF\",\n \"DOM_VK_ESCAPE\",\n \"DOM_VK_EXCLAMATION\",\n \"DOM_VK_EXECUTE\",\n \"DOM_VK_EXSEL\",\n \"DOM_VK_F\",\n \"DOM_VK_F1\",\n \"DOM_VK_F10\",\n \"DOM_VK_F11\",\n \"DOM_VK_F12\",\n \"DOM_VK_F13\",\n \"DOM_VK_F14\",\n \"DOM_VK_F15\",\n \"DOM_VK_F16\",\n \"DOM_VK_F17\",\n \"DOM_VK_F18\",\n \"DOM_VK_F19\",\n \"DOM_VK_F2\",\n \"DOM_VK_F20\",\n \"DOM_VK_F21\",\n \"DOM_VK_F22\",\n \"DOM_VK_F23\",\n \"DOM_VK_F24\",\n \"DOM_VK_F25\",\n \"DOM_VK_F26\",\n \"DOM_VK_F27\",\n \"DOM_VK_F28\",\n \"DOM_VK_F29\",\n \"DOM_VK_F3\",\n \"DOM_VK_F30\",\n \"DOM_VK_F31\",\n \"DOM_VK_F32\",\n \"DOM_VK_F33\",\n \"DOM_VK_F34\",\n \"DOM_VK_F35\",\n \"DOM_VK_F36\",\n \"DOM_VK_F4\",\n \"DOM_VK_F5\",\n \"DOM_VK_F6\",\n \"DOM_VK_F7\",\n \"DOM_VK_F8\",\n \"DOM_VK_F9\",\n \"DOM_VK_FINAL\",\n \"DOM_VK_FRONT\",\n \"DOM_VK_G\",\n \"DOM_VK_GREATER_THAN\",\n \"DOM_VK_H\",\n \"DOM_VK_HANGUL\",\n \"DOM_VK_HANJA\",\n \"DOM_VK_HASH\",\n \"DOM_VK_HELP\",\n \"DOM_VK_HK_TOGGLE\",\n \"DOM_VK_HOME\",\n \"DOM_VK_HYPHEN_MINUS\",\n \"DOM_VK_I\",\n \"DOM_VK_INSERT\",\n \"DOM_VK_J\",\n \"DOM_VK_JUNJA\",\n \"DOM_VK_K\",\n \"DOM_VK_KANA\",\n \"DOM_VK_KANJI\",\n \"DOM_VK_L\",\n \"DOM_VK_LEFT\",\n \"DOM_VK_LEFT_TAB\",\n \"DOM_VK_LESS_THAN\",\n \"DOM_VK_M\",\n \"DOM_VK_META\",\n \"DOM_VK_MODECHANGE\",\n \"DOM_VK_MULTIPLY\",\n \"DOM_VK_N\",\n \"DOM_VK_NONCONVERT\",\n \"DOM_VK_NUMPAD0\",\n \"DOM_VK_NUMPAD1\",\n \"DOM_VK_NUMPAD2\",\n \"DOM_VK_NUMPAD3\",\n \"DOM_VK_NUMPAD4\",\n \"DOM_VK_NUMPAD5\",\n \"DOM_VK_NUMPAD6\",\n \"DOM_VK_NUMPAD7\",\n \"DOM_VK_NUMPAD8\",\n \"DOM_VK_NUMPAD9\",\n \"DOM_VK_NUM_LOCK\",\n \"DOM_VK_O\",\n \"DOM_VK_OEM_1\",\n \"DOM_VK_OEM_102\",\n \"DOM_VK_OEM_2\",\n \"DOM_VK_OEM_3\",\n \"DOM_VK_OEM_4\",\n \"DOM_VK_OEM_5\",\n \"DOM_VK_OEM_6\",\n \"DOM_VK_OEM_7\",\n \"DOM_VK_OEM_8\",\n \"DOM_VK_OEM_COMMA\",\n \"DOM_VK_OEM_MINUS\",\n \"DOM_VK_OEM_PERIOD\",\n \"DOM_VK_OEM_PLUS\",\n \"DOM_VK_OPEN_BRACKET\",\n \"DOM_VK_OPEN_CURLY_BRACKET\",\n \"DOM_VK_OPEN_PAREN\",\n \"DOM_VK_P\",\n \"DOM_VK_PA1\",\n \"DOM_VK_PAGEDOWN\",\n \"DOM_VK_PAGEUP\",\n \"DOM_VK_PAGE_DOWN\",\n \"DOM_VK_PAGE_UP\",\n \"DOM_VK_PAUSE\",\n \"DOM_VK_PERCENT\",\n \"DOM_VK_PERIOD\",\n \"DOM_VK_PIPE\",\n \"DOM_VK_PLAY\",\n \"DOM_VK_PLUS\",\n \"DOM_VK_PRINT\",\n \"DOM_VK_PRINTSCREEN\",\n \"DOM_VK_PROCESSKEY\",\n \"DOM_VK_PROPERITES\",\n \"DOM_VK_Q\",\n \"DOM_VK_QUESTION_MARK\",\n \"DOM_VK_QUOTE\",\n \"DOM_VK_R\",\n \"DOM_VK_REDO\",\n \"DOM_VK_RETURN\",\n \"DOM_VK_RIGHT\",\n \"DOM_VK_S\",\n \"DOM_VK_SCROLL_LOCK\",\n \"DOM_VK_SELECT\",\n \"DOM_VK_SEMICOLON\",\n \"DOM_VK_SEPARATOR\",\n \"DOM_VK_SHIFT\",\n \"DOM_VK_SLASH\",\n \"DOM_VK_SLEEP\",\n \"DOM_VK_SPACE\",\n \"DOM_VK_SUBTRACT\",\n \"DOM_VK_T\",\n \"DOM_VK_TAB\",\n \"DOM_VK_TILDE\",\n \"DOM_VK_U\",\n \"DOM_VK_UNDERSCORE\",\n \"DOM_VK_UNDO\",\n \"DOM_VK_UNICODE\",\n \"DOM_VK_UP\",\n \"DOM_VK_V\",\n \"DOM_VK_VOLUME_DOWN\",\n \"DOM_VK_VOLUME_MUTE\",\n \"DOM_VK_VOLUME_UP\",\n \"DOM_VK_W\",\n \"DOM_VK_WIN\",\n \"DOM_VK_WINDOW\",\n \"DOM_VK_WIN_ICO_00\",\n \"DOM_VK_WIN_ICO_CLEAR\",\n \"DOM_VK_WIN_ICO_HELP\",\n \"DOM_VK_WIN_OEM_ATTN\",\n \"DOM_VK_WIN_OEM_AUTO\",\n \"DOM_VK_WIN_OEM_BACKTAB\",\n \"DOM_VK_WIN_OEM_CLEAR\",\n \"DOM_VK_WIN_OEM_COPY\",\n \"DOM_VK_WIN_OEM_CUSEL\",\n \"DOM_VK_WIN_OEM_ENLW\",\n \"DOM_VK_WIN_OEM_FINISH\",\n \"DOM_VK_WIN_OEM_FJ_JISHO\",\n \"DOM_VK_WIN_OEM_FJ_LOYA\",\n \"DOM_VK_WIN_OEM_FJ_MASSHOU\",\n \"DOM_VK_WIN_OEM_FJ_ROYA\",\n \"DOM_VK_WIN_OEM_FJ_TOUROKU\",\n \"DOM_VK_WIN_OEM_JUMP\",\n \"DOM_VK_WIN_OEM_PA1\",\n \"DOM_VK_WIN_OEM_PA2\",\n \"DOM_VK_WIN_OEM_PA3\",\n \"DOM_VK_WIN_OEM_RESET\",\n \"DOM_VK_WIN_OEM_WSCTRL\",\n \"DOM_VK_X\",\n \"DOM_VK_XF86XK_ADD_FAVORITE\",\n \"DOM_VK_XF86XK_APPLICATION_LEFT\",\n \"DOM_VK_XF86XK_APPLICATION_RIGHT\",\n \"DOM_VK_XF86XK_AUDIO_CYCLE_TRACK\",\n \"DOM_VK_XF86XK_AUDIO_FORWARD\",\n \"DOM_VK_XF86XK_AUDIO_LOWER_VOLUME\",\n \"DOM_VK_XF86XK_AUDIO_MEDIA\",\n \"DOM_VK_XF86XK_AUDIO_MUTE\",\n \"DOM_VK_XF86XK_AUDIO_NEXT\",\n \"DOM_VK_XF86XK_AUDIO_PAUSE\",\n \"DOM_VK_XF86XK_AUDIO_PLAY\",\n \"DOM_VK_XF86XK_AUDIO_PREV\",\n \"DOM_VK_XF86XK_AUDIO_RAISE_VOLUME\",\n \"DOM_VK_XF86XK_AUDIO_RANDOM_PLAY\",\n \"DOM_VK_XF86XK_AUDIO_RECORD\",\n \"DOM_VK_XF86XK_AUDIO_REPEAT\",\n \"DOM_VK_XF86XK_AUDIO_REWIND\",\n \"DOM_VK_XF86XK_AUDIO_STOP\",\n \"DOM_VK_XF86XK_AWAY\",\n \"DOM_VK_XF86XK_BACK\",\n \"DOM_VK_XF86XK_BACK_FORWARD\",\n \"DOM_VK_XF86XK_BATTERY\",\n \"DOM_VK_XF86XK_BLUE\",\n \"DOM_VK_XF86XK_BLUETOOTH\",\n \"DOM_VK_XF86XK_BOOK\",\n \"DOM_VK_XF86XK_BRIGHTNESS_ADJUST\",\n \"DOM_VK_XF86XK_CALCULATOR\",\n \"DOM_VK_XF86XK_CALENDAR\",\n \"DOM_VK_XF86XK_CD\",\n \"DOM_VK_XF86XK_CLOSE\",\n \"DOM_VK_XF86XK_COMMUNITY\",\n \"DOM_VK_XF86XK_CONTRAST_ADJUST\",\n \"DOM_VK_XF86XK_COPY\",\n \"DOM_VK_XF86XK_CUT\",\n \"DOM_VK_XF86XK_CYCLE_ANGLE\",\n \"DOM_VK_XF86XK_DISPLAY\",\n \"DOM_VK_XF86XK_DOCUMENTS\",\n \"DOM_VK_XF86XK_DOS\",\n \"DOM_VK_XF86XK_EJECT\",\n \"DOM_VK_XF86XK_EXCEL\",\n \"DOM_VK_XF86XK_EXPLORER\",\n \"DOM_VK_XF86XK_FAVORITES\",\n \"DOM_VK_XF86XK_FINANCE\",\n \"DOM_VK_XF86XK_FORWARD\",\n \"DOM_VK_XF86XK_FRAME_BACK\",\n \"DOM_VK_XF86XK_FRAME_FORWARD\",\n \"DOM_VK_XF86XK_GAME\",\n \"DOM_VK_XF86XK_GO\",\n \"DOM_VK_XF86XK_GREEN\",\n \"DOM_VK_XF86XK_HIBERNATE\",\n \"DOM_VK_XF86XK_HISTORY\",\n \"DOM_VK_XF86XK_HOME_PAGE\",\n \"DOM_VK_XF86XK_HOT_LINKS\",\n \"DOM_VK_XF86XK_I_TOUCH\",\n \"DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN\",\n \"DOM_VK_XF86XK_KBD_BRIGHTNESS_UP\",\n \"DOM_VK_XF86XK_KBD_LIGHT_ON_OFF\",\n \"DOM_VK_XF86XK_LAUNCH0\",\n \"DOM_VK_XF86XK_LAUNCH1\",\n \"DOM_VK_XF86XK_LAUNCH2\",\n \"DOM_VK_XF86XK_LAUNCH3\",\n \"DOM_VK_XF86XK_LAUNCH4\",\n \"DOM_VK_XF86XK_LAUNCH5\",\n \"DOM_VK_XF86XK_LAUNCH6\",\n \"DOM_VK_XF86XK_LAUNCH7\",\n \"DOM_VK_XF86XK_LAUNCH8\",\n \"DOM_VK_XF86XK_LAUNCH9\",\n \"DOM_VK_XF86XK_LAUNCH_A\",\n \"DOM_VK_XF86XK_LAUNCH_B\",\n \"DOM_VK_XF86XK_LAUNCH_C\",\n \"DOM_VK_XF86XK_LAUNCH_D\",\n \"DOM_VK_XF86XK_LAUNCH_E\",\n \"DOM_VK_XF86XK_LAUNCH_F\",\n \"DOM_VK_XF86XK_LIGHT_BULB\",\n \"DOM_VK_XF86XK_LOG_OFF\",\n \"DOM_VK_XF86XK_MAIL\",\n \"DOM_VK_XF86XK_MAIL_FORWARD\",\n \"DOM_VK_XF86XK_MARKET\",\n \"DOM_VK_XF86XK_MEETING\",\n \"DOM_VK_XF86XK_MEMO\",\n \"DOM_VK_XF86XK_MENU_KB\",\n \"DOM_VK_XF86XK_MENU_PB\",\n \"DOM_VK_XF86XK_MESSENGER\",\n \"DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN\",\n \"DOM_VK_XF86XK_MON_BRIGHTNESS_UP\",\n \"DOM_VK_XF86XK_MUSIC\",\n \"DOM_VK_XF86XK_MY_COMPUTER\",\n \"DOM_VK_XF86XK_MY_SITES\",\n \"DOM_VK_XF86XK_NEW\",\n \"DOM_VK_XF86XK_NEWS\",\n \"DOM_VK_XF86XK_OFFICE_HOME\",\n \"DOM_VK_XF86XK_OPEN\",\n \"DOM_VK_XF86XK_OPEN_URL\",\n \"DOM_VK_XF86XK_OPTION\",\n \"DOM_VK_XF86XK_PASTE\",\n \"DOM_VK_XF86XK_PHONE\",\n \"DOM_VK_XF86XK_PICTURES\",\n \"DOM_VK_XF86XK_POWER_DOWN\",\n \"DOM_VK_XF86XK_POWER_OFF\",\n \"DOM_VK_XF86XK_RED\",\n \"DOM_VK_XF86XK_REFRESH\",\n \"DOM_VK_XF86XK_RELOAD\",\n \"DOM_VK_XF86XK_REPLY\",\n \"DOM_VK_XF86XK_ROCKER_DOWN\",\n \"DOM_VK_XF86XK_ROCKER_ENTER\",\n \"DOM_VK_XF86XK_ROCKER_UP\",\n \"DOM_VK_XF86XK_ROTATE_WINDOWS\",\n \"DOM_VK_XF86XK_ROTATION_KB\",\n \"DOM_VK_XF86XK_ROTATION_PB\",\n \"DOM_VK_XF86XK_SAVE\",\n \"DOM_VK_XF86XK_SCREEN_SAVER\",\n \"DOM_VK_XF86XK_SCROLL_CLICK\",\n \"DOM_VK_XF86XK_SCROLL_DOWN\",\n \"DOM_VK_XF86XK_SCROLL_UP\",\n \"DOM_VK_XF86XK_SEARCH\",\n \"DOM_VK_XF86XK_SEND\",\n \"DOM_VK_XF86XK_SHOP\",\n \"DOM_VK_XF86XK_SPELL\",\n \"DOM_VK_XF86XK_SPLIT_SCREEN\",\n \"DOM_VK_XF86XK_STANDBY\",\n \"DOM_VK_XF86XK_START\",\n \"DOM_VK_XF86XK_STOP\",\n \"DOM_VK_XF86XK_SUBTITLE\",\n \"DOM_VK_XF86XK_SUPPORT\",\n \"DOM_VK_XF86XK_SUSPEND\",\n \"DOM_VK_XF86XK_TASK_PANE\",\n \"DOM_VK_XF86XK_TERMINAL\",\n \"DOM_VK_XF86XK_TIME\",\n \"DOM_VK_XF86XK_TOOLS\",\n \"DOM_VK_XF86XK_TOP_MENU\",\n \"DOM_VK_XF86XK_TO_DO_LIST\",\n \"DOM_VK_XF86XK_TRAVEL\",\n \"DOM_VK_XF86XK_USER1KB\",\n \"DOM_VK_XF86XK_USER2KB\",\n \"DOM_VK_XF86XK_USER_PB\",\n \"DOM_VK_XF86XK_UWB\",\n \"DOM_VK_XF86XK_VENDOR_HOME\",\n \"DOM_VK_XF86XK_VIDEO\",\n \"DOM_VK_XF86XK_VIEW\",\n \"DOM_VK_XF86XK_WAKE_UP\",\n \"DOM_VK_XF86XK_WEB_CAM\",\n \"DOM_VK_XF86XK_WHEEL_BUTTON\",\n \"DOM_VK_XF86XK_WLAN\",\n \"DOM_VK_XF86XK_WORD\",\n \"DOM_VK_XF86XK_WWW\",\n \"DOM_VK_XF86XK_XFER\",\n \"DOM_VK_XF86XK_YELLOW\",\n \"DOM_VK_XF86XK_ZOOM_IN\",\n \"DOM_VK_XF86XK_ZOOM_OUT\",\n \"DOM_VK_Y\",\n \"DOM_VK_Z\",\n \"DOM_VK_ZOOM\",\n \"DONE\",\n \"DONT_CARE\",\n \"DOWNLOADING\",\n \"DRAGDROP\",\n \"DRAW_BUFFER0\",\n \"DRAW_BUFFER1\",\n \"DRAW_BUFFER10\",\n \"DRAW_BUFFER11\",\n \"DRAW_BUFFER12\",\n \"DRAW_BUFFER13\",\n \"DRAW_BUFFER14\",\n \"DRAW_BUFFER15\",\n \"DRAW_BUFFER2\",\n \"DRAW_BUFFER3\",\n \"DRAW_BUFFER4\",\n \"DRAW_BUFFER5\",\n \"DRAW_BUFFER6\",\n \"DRAW_BUFFER7\",\n \"DRAW_BUFFER8\",\n \"DRAW_BUFFER9\",\n \"DRAW_FRAMEBUFFER\",\n \"DRAW_FRAMEBUFFER_BINDING\",\n \"DST_ALPHA\",\n \"DST_COLOR\",\n \"DYNAMIC_COPY\",\n \"DYNAMIC_DRAW\",\n \"DYNAMIC_READ\",\n \"DataChannel\",\n \"DataTransfer\",\n \"DataTransferItem\",\n \"DataTransferItemList\",\n \"DataView\",\n \"Date\",\n \"DateTimeFormat\",\n \"DecompressionStream\",\n \"DelayNode\",\n \"DeprecationReportBody\",\n \"DesktopNotification\",\n \"DesktopNotificationCenter\",\n \"DeviceLightEvent\",\n \"DeviceMotionEvent\",\n \"DeviceMotionEventAcceleration\",\n \"DeviceMotionEventRotationRate\",\n \"DeviceOrientationEvent\",\n \"DeviceProximityEvent\",\n \"DeviceStorage\",\n \"DeviceStorageChangeEvent\",\n \"Directory\",\n \"DisplayNames\",\n \"Document\",\n \"DocumentFragment\",\n \"DocumentTimeline\",\n \"DocumentType\",\n \"DragEvent\",\n \"DynamicsCompressorNode\",\n \"E\",\n \"ELEMENT_ARRAY_BUFFER\",\n \"ELEMENT_ARRAY_BUFFER_BINDING\",\n \"ELEMENT_NODE\",\n \"EMPTY\",\n \"ENCODING_ERR\",\n \"ENDED\",\n \"END_TO_END\",\n \"END_TO_START\",\n \"ENTITY_NODE\",\n \"ENTITY_REFERENCE_NODE\",\n \"EPSILON\",\n \"EQUAL\",\n \"EQUALPOWER\",\n \"ERROR\",\n \"EXPONENTIAL_DISTANCE\",\n \"Element\",\n \"ElementInternals\",\n \"ElementQuery\",\n \"EnterPictureInPictureEvent\",\n \"Entity\",\n \"EntityReference\",\n \"Error\",\n \"ErrorEvent\",\n \"EvalError\",\n \"Event\",\n \"EventException\",\n \"EventSource\",\n \"EventTarget\",\n \"External\",\n \"FASTEST\",\n \"FIDOSDK\",\n \"FILTER_ACCEPT\",\n \"FILTER_INTERRUPT\",\n \"FILTER_REJECT\",\n \"FILTER_SKIP\",\n \"FINISHED_STATE\",\n \"FIRST_ORDERED_NODE_TYPE\",\n \"FLOAT\",\n \"FLOAT_32_UNSIGNED_INT_24_8_REV\",\n \"FLOAT_MAT2\",\n \"FLOAT_MAT2x3\",\n \"FLOAT_MAT2x4\",\n \"FLOAT_MAT3\",\n \"FLOAT_MAT3x2\",\n \"FLOAT_MAT3x4\",\n \"FLOAT_MAT4\",\n \"FLOAT_MAT4x2\",\n \"FLOAT_MAT4x3\",\n \"FLOAT_VEC2\",\n \"FLOAT_VEC3\",\n \"FLOAT_VEC4\",\n \"FOCUS\",\n \"FONT_FACE_RULE\",\n \"FONT_FEATURE_VALUES_RULE\",\n \"FRAGMENT_SHADER\",\n \"FRAGMENT_SHADER_DERIVATIVE_HINT\",\n \"FRAGMENT_SHADER_DERIVATIVE_HINT_OES\",\n \"FRAMEBUFFER\",\n \"FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_BLUE_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING\",\n \"FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE\",\n \"FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_GREEN_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",\n \"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",\n \"FRAMEBUFFER_ATTACHMENT_RED_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE\",\n \"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",\n \"FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER\",\n \"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",\n \"FRAMEBUFFER_BINDING\",\n \"FRAMEBUFFER_COMPLETE\",\n \"FRAMEBUFFER_DEFAULT\",\n \"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",\n \"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",\n \"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",\n \"FRAMEBUFFER_INCOMPLETE_MULTISAMPLE\",\n \"FRAMEBUFFER_UNSUPPORTED\",\n \"FRONT\",\n \"FRONT_AND_BACK\",\n \"FRONT_FACE\",\n \"FUNC_ADD\",\n \"FUNC_REVERSE_SUBTRACT\",\n \"FUNC_SUBTRACT\",\n \"FeaturePolicy\",\n \"FeaturePolicyViolationReportBody\",\n \"FederatedCredential\",\n \"Feed\",\n \"FeedEntry\",\n \"File\",\n \"FileError\",\n \"FileList\",\n \"FileReader\",\n \"FileSystem\",\n \"FileSystemDirectoryEntry\",\n \"FileSystemDirectoryReader\",\n \"FileSystemEntry\",\n \"FileSystemFileEntry\",\n \"FinalizationRegistry\",\n \"FindInPage\",\n \"Float32Array\",\n \"Float64Array\",\n \"FocusEvent\",\n \"FontFace\",\n \"FontFaceSet\",\n \"FontFaceSetLoadEvent\",\n \"FormData\",\n \"FormDataEvent\",\n \"FragmentDirective\",\n \"Function\",\n \"GENERATE_MIPMAP_HINT\",\n \"GEQUAL\",\n \"GREATER\",\n \"GREEN_BITS\",\n \"GainNode\",\n \"Gamepad\",\n \"GamepadAxisMoveEvent\",\n \"GamepadButton\",\n \"GamepadButtonEvent\",\n \"GamepadEvent\",\n \"GamepadHapticActuator\",\n \"GamepadPose\",\n \"Geolocation\",\n \"GeolocationCoordinates\",\n \"GeolocationPosition\",\n \"GeolocationPositionError\",\n \"GestureEvent\",\n \"Global\",\n \"Gyroscope\",\n \"HALF_FLOAT\",\n \"HAVE_CURRENT_DATA\",\n \"HAVE_ENOUGH_DATA\",\n \"HAVE_FUTURE_DATA\",\n \"HAVE_METADATA\",\n \"HAVE_NOTHING\",\n \"HEADERS_RECEIVED\",\n \"HIDDEN\",\n \"HIERARCHY_REQUEST_ERR\",\n \"HIGHPASS\",\n \"HIGHSHELF\",\n \"HIGH_FLOAT\",\n \"HIGH_INT\",\n \"HORIZONTAL\",\n \"HORIZONTAL_AXIS\",\n \"HRTF\",\n \"HTMLAllCollection\",\n \"HTMLAnchorElement\",\n \"HTMLAppletElement\",\n \"HTMLAreaElement\",\n \"HTMLAudioElement\",\n \"HTMLBRElement\",\n \"HTMLBaseElement\",\n \"HTMLBaseFontElement\",\n \"HTMLBlockquoteElement\",\n \"HTMLBodyElement\",\n \"HTMLButtonElement\",\n \"HTMLCanvasElement\",\n \"HTMLCollection\",\n \"HTMLCommandElement\",\n \"HTMLContentElement\",\n \"HTMLDListElement\",\n \"HTMLDataElement\",\n \"HTMLDataListElement\",\n \"HTMLDetailsElement\",\n \"HTMLDialogElement\",\n \"HTMLDirectoryElement\",\n \"HTMLDivElement\",\n \"HTMLDocument\",\n \"HTMLElement\",\n \"HTMLEmbedElement\",\n \"HTMLFieldSetElement\",\n \"HTMLFontElement\",\n \"HTMLFormControlsCollection\",\n \"HTMLFormElement\",\n \"HTMLFrameElement\",\n \"HTMLFrameSetElement\",\n \"HTMLHRElement\",\n \"HTMLHeadElement\",\n \"HTMLHeadingElement\",\n \"HTMLHtmlElement\",\n \"HTMLIFrameElement\",\n \"HTMLImageElement\",\n \"HTMLInputElement\",\n \"HTMLIsIndexElement\",\n \"HTMLKeygenElement\",\n \"HTMLLIElement\",\n \"HTMLLabelElement\",\n \"HTMLLegendElement\",\n \"HTMLLinkElement\",\n \"HTMLMapElement\",\n \"HTMLMarqueeElement\",\n \"HTMLMediaElement\",\n \"HTMLMenuElement\",\n \"HTMLMenuItemElement\",\n \"HTMLMetaElement\",\n \"HTMLMeterElement\",\n \"HTMLModElement\",\n \"HTMLOListElement\",\n \"HTMLObjectElement\",\n \"HTMLOptGroupElement\",\n \"HTMLOptionElement\",\n \"HTMLOptionsCollection\",\n \"HTMLOutputElement\",\n \"HTMLParagraphElement\",\n \"HTMLParamElement\",\n \"HTMLPictureElement\",\n \"HTMLPreElement\",\n \"HTMLProgressElement\",\n \"HTMLPropertiesCollection\",\n \"HTMLQuoteElement\",\n \"HTMLScriptElement\",\n \"HTMLSelectElement\",\n \"HTMLShadowElement\",\n \"HTMLSlotElement\",\n \"HTMLSourceElement\",\n \"HTMLSpanElement\",\n \"HTMLStyleElement\",\n \"HTMLTableCaptionElement\",\n \"HTMLTableCellElement\",\n \"HTMLTableColElement\",\n \"HTMLTableElement\",\n \"HTMLTableRowElement\",\n \"HTMLTableSectionElement\",\n \"HTMLTemplateElement\",\n \"HTMLTextAreaElement\",\n \"HTMLTimeElement\",\n \"HTMLTitleElement\",\n \"HTMLTrackElement\",\n \"HTMLUListElement\",\n \"HTMLUnknownElement\",\n \"HTMLVideoElement\",\n \"HashChangeEvent\",\n \"Headers\",\n \"History\",\n \"Hz\",\n \"ICE_CHECKING\",\n \"ICE_CLOSED\",\n \"ICE_COMPLETED\",\n \"ICE_CONNECTED\",\n \"ICE_FAILED\",\n \"ICE_GATHERING\",\n \"ICE_WAITING\",\n \"IDBCursor\",\n \"IDBCursorWithValue\",\n \"IDBDatabase\",\n \"IDBDatabaseException\",\n \"IDBFactory\",\n \"IDBFileHandle\",\n \"IDBFileRequest\",\n \"IDBIndex\",\n \"IDBKeyRange\",\n \"IDBMutableFile\",\n \"IDBObjectStore\",\n \"IDBOpenDBRequest\",\n \"IDBRequest\",\n \"IDBTransaction\",\n \"IDBVersionChangeEvent\",\n \"IDLE\",\n \"IIRFilterNode\",\n \"IMPLEMENTATION_COLOR_READ_FORMAT\",\n \"IMPLEMENTATION_COLOR_READ_TYPE\",\n \"IMPORT_RULE\",\n \"INCR\",\n \"INCR_WRAP\",\n \"INDEX_SIZE_ERR\",\n \"INT\",\n \"INTERLEAVED_ATTRIBS\",\n \"INT_2_10_10_10_REV\",\n \"INT_SAMPLER_2D\",\n \"INT_SAMPLER_2D_ARRAY\",\n \"INT_SAMPLER_3D\",\n \"INT_SAMPLER_CUBE\",\n \"INT_VEC2\",\n \"INT_VEC3\",\n \"INT_VEC4\",\n \"INUSE_ATTRIBUTE_ERR\",\n \"INVALID_ACCESS_ERR\",\n \"INVALID_CHARACTER_ERR\",\n \"INVALID_ENUM\",\n \"INVALID_EXPRESSION_ERR\",\n \"INVALID_FRAMEBUFFER_OPERATION\",\n \"INVALID_INDEX\",\n \"INVALID_MODIFICATION_ERR\",\n \"INVALID_NODE_TYPE_ERR\",\n \"INVALID_OPERATION\",\n \"INVALID_STATE_ERR\",\n \"INVALID_VALUE\",\n \"INVERSE_DISTANCE\",\n \"INVERT\",\n \"IceCandidate\",\n \"IdleDeadline\",\n \"Image\",\n \"ImageBitmap\",\n \"ImageBitmapRenderingContext\",\n \"ImageCapture\",\n \"ImageData\",\n \"Infinity\",\n \"InputDeviceCapabilities\",\n \"InputDeviceInfo\",\n \"InputEvent\",\n \"InputMethodContext\",\n \"InstallTrigger\",\n \"InstallTriggerImpl\",\n \"Instance\",\n \"Int16Array\",\n \"Int32Array\",\n \"Int8Array\",\n \"Intent\",\n \"InternalError\",\n \"IntersectionObserver\",\n \"IntersectionObserverEntry\",\n \"Intl\",\n \"IsSearchProviderInstalled\",\n \"Iterator\",\n \"JSON\",\n \"KEEP\",\n \"KEYDOWN\",\n \"KEYFRAMES_RULE\",\n \"KEYFRAME_RULE\",\n \"KEYPRESS\",\n \"KEYUP\",\n \"KeyEvent\",\n \"Keyboard\",\n \"KeyboardEvent\",\n \"KeyboardLayoutMap\",\n \"KeyframeEffect\",\n \"LENGTHADJUST_SPACING\",\n \"LENGTHADJUST_SPACINGANDGLYPHS\",\n \"LENGTHADJUST_UNKNOWN\",\n \"LEQUAL\",\n \"LESS\",\n \"LINEAR\",\n \"LINEAR_DISTANCE\",\n \"LINEAR_MIPMAP_LINEAR\",\n \"LINEAR_MIPMAP_NEAREST\",\n \"LINES\",\n \"LINE_LOOP\",\n \"LINE_STRIP\",\n \"LINE_WIDTH\",\n \"LINK_STATUS\",\n \"LIVE\",\n \"LN10\",\n \"LN2\",\n \"LOADED\",\n \"LOADING\",\n \"LOG10E\",\n \"LOG2E\",\n \"LOWPASS\",\n \"LOWSHELF\",\n \"LOW_FLOAT\",\n \"LOW_INT\",\n \"LSException\",\n \"LSParserFilter\",\n \"LUMINANCE\",\n \"LUMINANCE_ALPHA\",\n \"LargestContentfulPaint\",\n \"LayoutShift\",\n \"LayoutShiftAttribution\",\n \"LinearAccelerationSensor\",\n \"LinkError\",\n \"ListFormat\",\n \"LocalMediaStream\",\n \"Locale\",\n \"Location\",\n \"Lock\",\n \"LockManager\",\n \"MAX\",\n \"MAX_3D_TEXTURE_SIZE\",\n \"MAX_ARRAY_TEXTURE_LAYERS\",\n \"MAX_CLIENT_WAIT_TIMEOUT_WEBGL\",\n \"MAX_COLOR_ATTACHMENTS\",\n \"MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS\",\n \"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",\n \"MAX_COMBINED_UNIFORM_BLOCKS\",\n \"MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS\",\n \"MAX_CUBE_MAP_TEXTURE_SIZE\",\n \"MAX_DRAW_BUFFERS\",\n \"MAX_ELEMENTS_INDICES\",\n \"MAX_ELEMENTS_VERTICES\",\n \"MAX_ELEMENT_INDEX\",\n \"MAX_FRAGMENT_INPUT_COMPONENTS\",\n \"MAX_FRAGMENT_UNIFORM_BLOCKS\",\n \"MAX_FRAGMENT_UNIFORM_COMPONENTS\",\n \"MAX_FRAGMENT_UNIFORM_VECTORS\",\n \"MAX_PROGRAM_TEXEL_OFFSET\",\n \"MAX_RENDERBUFFER_SIZE\",\n \"MAX_SAFE_INTEGER\",\n \"MAX_SAMPLES\",\n \"MAX_SERVER_WAIT_TIMEOUT\",\n \"MAX_TEXTURE_IMAGE_UNITS\",\n \"MAX_TEXTURE_LOD_BIAS\",\n \"MAX_TEXTURE_MAX_ANISOTROPY_EXT\",\n \"MAX_TEXTURE_SIZE\",\n \"MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS\",\n \"MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS\",\n \"MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS\",\n \"MAX_UNIFORM_BLOCK_SIZE\",\n \"MAX_UNIFORM_BUFFER_BINDINGS\",\n \"MAX_VALUE\",\n \"MAX_VARYING_COMPONENTS\",\n \"MAX_VARYING_VECTORS\",\n \"MAX_VERTEX_ATTRIBS\",\n \"MAX_VERTEX_OUTPUT_COMPONENTS\",\n \"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",\n \"MAX_VERTEX_UNIFORM_BLOCKS\",\n \"MAX_VERTEX_UNIFORM_COMPONENTS\",\n \"MAX_VERTEX_UNIFORM_VECTORS\",\n \"MAX_VIEWPORT_DIMS\",\n \"MEDIA_ERR_ABORTED\",\n \"MEDIA_ERR_DECODE\",\n \"MEDIA_ERR_ENCRYPTED\",\n \"MEDIA_ERR_NETWORK\",\n \"MEDIA_ERR_SRC_NOT_SUPPORTED\",\n \"MEDIA_KEYERR_CLIENT\",\n \"MEDIA_KEYERR_DOMAIN\",\n \"MEDIA_KEYERR_HARDWARECHANGE\",\n \"MEDIA_KEYERR_OUTPUT\",\n \"MEDIA_KEYERR_SERVICE\",\n \"MEDIA_KEYERR_UNKNOWN\",\n \"MEDIA_RULE\",\n \"MEDIUM_FLOAT\",\n \"MEDIUM_INT\",\n \"META_MASK\",\n \"MIDIAccess\",\n \"MIDIConnectionEvent\",\n \"MIDIInput\",\n \"MIDIInputMap\",\n \"MIDIMessageEvent\",\n \"MIDIOutput\",\n \"MIDIOutputMap\",\n \"MIDIPort\",\n \"MIN\",\n \"MIN_PROGRAM_TEXEL_OFFSET\",\n \"MIN_SAFE_INTEGER\",\n \"MIN_VALUE\",\n \"MIRRORED_REPEAT\",\n \"MODE_ASYNCHRONOUS\",\n \"MODE_SYNCHRONOUS\",\n \"MODIFICATION\",\n \"MOUSEDOWN\",\n \"MOUSEDRAG\",\n \"MOUSEMOVE\",\n \"MOUSEOUT\",\n \"MOUSEOVER\",\n \"MOUSEUP\",\n \"MOZ_KEYFRAMES_RULE\",\n \"MOZ_KEYFRAME_RULE\",\n \"MOZ_SOURCE_CURSOR\",\n \"MOZ_SOURCE_ERASER\",\n \"MOZ_SOURCE_KEYBOARD\",\n \"MOZ_SOURCE_MOUSE\",\n \"MOZ_SOURCE_PEN\",\n \"MOZ_SOURCE_TOUCH\",\n \"MOZ_SOURCE_UNKNOWN\",\n \"MSGESTURE_FLAG_BEGIN\",\n \"MSGESTURE_FLAG_CANCEL\",\n \"MSGESTURE_FLAG_END\",\n \"MSGESTURE_FLAG_INERTIA\",\n \"MSGESTURE_FLAG_NONE\",\n \"MSPOINTER_TYPE_MOUSE\",\n \"MSPOINTER_TYPE_PEN\",\n \"MSPOINTER_TYPE_TOUCH\",\n \"MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE\",\n \"MS_ASYNC_CALLBACK_STATUS_CANCEL\",\n \"MS_ASYNC_CALLBACK_STATUS_CHOOSEANY\",\n \"MS_ASYNC_CALLBACK_STATUS_ERROR\",\n \"MS_ASYNC_CALLBACK_STATUS_JOIN\",\n \"MS_ASYNC_OP_STATUS_CANCELED\",\n \"MS_ASYNC_OP_STATUS_ERROR\",\n \"MS_ASYNC_OP_STATUS_SUCCESS\",\n \"MS_MANIPULATION_STATE_ACTIVE\",\n \"MS_MANIPULATION_STATE_CANCELLED\",\n \"MS_MANIPULATION_STATE_COMMITTED\",\n \"MS_MANIPULATION_STATE_DRAGGING\",\n \"MS_MANIPULATION_STATE_INERTIA\",\n \"MS_MANIPULATION_STATE_PRESELECT\",\n \"MS_MANIPULATION_STATE_SELECTING\",\n \"MS_MANIPULATION_STATE_STOPPED\",\n \"MS_MEDIA_ERR_ENCRYPTED\",\n \"MS_MEDIA_KEYERR_CLIENT\",\n \"MS_MEDIA_KEYERR_DOMAIN\",\n \"MS_MEDIA_KEYERR_HARDWARECHANGE\",\n \"MS_MEDIA_KEYERR_OUTPUT\",\n \"MS_MEDIA_KEYERR_SERVICE\",\n \"MS_MEDIA_KEYERR_UNKNOWN\",\n \"Map\",\n \"Math\",\n \"MathMLElement\",\n \"MediaCapabilities\",\n \"MediaCapabilitiesInfo\",\n \"MediaController\",\n \"MediaDeviceInfo\",\n \"MediaDevices\",\n \"MediaElementAudioSourceNode\",\n \"MediaEncryptedEvent\",\n \"MediaError\",\n \"MediaKeyError\",\n \"MediaKeyEvent\",\n \"MediaKeyMessageEvent\",\n \"MediaKeyNeededEvent\",\n \"MediaKeySession\",\n \"MediaKeyStatusMap\",\n \"MediaKeySystemAccess\",\n \"MediaKeys\",\n \"MediaList\",\n \"MediaMetadata\",\n \"MediaQueryList\",\n \"MediaQueryListEvent\",\n \"MediaRecorder\",\n \"MediaRecorderErrorEvent\",\n \"MediaSession\",\n \"MediaSettingsRange\",\n \"MediaSource\",\n \"MediaStream\",\n \"MediaStreamAudioDestinationNode\",\n \"MediaStreamAudioSourceNode\",\n \"MediaStreamEvent\",\n \"MediaStreamTrack\",\n \"MediaStreamTrackAudioSourceNode\",\n \"MediaStreamTrackEvent\",\n \"Memory\",\n \"MessageChannel\",\n \"MessageEvent\",\n \"MessagePort\",\n \"Methods\",\n \"MimeType\",\n \"MimeTypeArray\",\n \"Module\",\n \"MouseEvent\",\n \"MouseScrollEvent\",\n \"MozAnimation\",\n \"MozAnimationDelay\",\n \"MozAnimationDirection\",\n \"MozAnimationDuration\",\n \"MozAnimationFillMode\",\n \"MozAnimationIterationCount\",\n \"MozAnimationName\",\n \"MozAnimationPlayState\",\n \"MozAnimationTimingFunction\",\n \"MozAppearance\",\n \"MozBackfaceVisibility\",\n \"MozBinding\",\n \"MozBorderBottomColors\",\n \"MozBorderEnd\",\n \"MozBorderEndColor\",\n \"MozBorderEndStyle\",\n \"MozBorderEndWidth\",\n \"MozBorderImage\",\n \"MozBorderLeftColors\",\n \"MozBorderRightColors\",\n \"MozBorderStart\",\n \"MozBorderStartColor\",\n \"MozBorderStartStyle\",\n \"MozBorderStartWidth\",\n \"MozBorderTopColors\",\n \"MozBoxAlign\",\n \"MozBoxDirection\",\n \"MozBoxFlex\",\n \"MozBoxOrdinalGroup\",\n \"MozBoxOrient\",\n \"MozBoxPack\",\n \"MozBoxSizing\",\n \"MozCSSKeyframeRule\",\n \"MozCSSKeyframesRule\",\n \"MozColumnCount\",\n \"MozColumnFill\",\n \"MozColumnGap\",\n \"MozColumnRule\",\n \"MozColumnRuleColor\",\n \"MozColumnRuleStyle\",\n \"MozColumnRuleWidth\",\n \"MozColumnWidth\",\n \"MozColumns\",\n \"MozContactChangeEvent\",\n \"MozFloatEdge\",\n \"MozFontFeatureSettings\",\n \"MozFontLanguageOverride\",\n \"MozForceBrokenImageIcon\",\n \"MozHyphens\",\n \"MozImageRegion\",\n \"MozMarginEnd\",\n \"MozMarginStart\",\n \"MozMmsEvent\",\n \"MozMmsMessage\",\n \"MozMobileMessageThread\",\n \"MozOSXFontSmoothing\",\n \"MozOrient\",\n \"MozOsxFontSmoothing\",\n \"MozOutlineRadius\",\n \"MozOutlineRadiusBottomleft\",\n \"MozOutlineRadiusBottomright\",\n \"MozOutlineRadiusTopleft\",\n \"MozOutlineRadiusTopright\",\n \"MozPaddingEnd\",\n \"MozPaddingStart\",\n \"MozPerspective\",\n \"MozPerspectiveOrigin\",\n \"MozPowerManager\",\n \"MozSettingsEvent\",\n \"MozSmsEvent\",\n \"MozSmsMessage\",\n \"MozStackSizing\",\n \"MozTabSize\",\n \"MozTextAlignLast\",\n \"MozTextDecorationColor\",\n \"MozTextDecorationLine\",\n \"MozTextDecorationStyle\",\n \"MozTextSizeAdjust\",\n \"MozTransform\",\n \"MozTransformOrigin\",\n \"MozTransformStyle\",\n \"MozTransition\",\n \"MozTransitionDelay\",\n \"MozTransitionDuration\",\n \"MozTransitionProperty\",\n \"MozTransitionTimingFunction\",\n \"MozUserFocus\",\n \"MozUserInput\",\n \"MozUserModify\",\n \"MozUserSelect\",\n \"MozWindowDragging\",\n \"MozWindowShadow\",\n \"MutationEvent\",\n \"MutationObserver\",\n \"MutationRecord\",\n \"NAMESPACE_ERR\",\n \"NAMESPACE_RULE\",\n \"NEAREST\",\n \"NEAREST_MIPMAP_LINEAR\",\n \"NEAREST_MIPMAP_NEAREST\",\n \"NEGATIVE_INFINITY\",\n \"NETWORK_EMPTY\",\n \"NETWORK_ERR\",\n \"NETWORK_IDLE\",\n \"NETWORK_LOADED\",\n \"NETWORK_LOADING\",\n \"NETWORK_NO_SOURCE\",\n \"NEVER\",\n \"NEW\",\n \"NEXT\",\n \"NEXT_NO_DUPLICATE\",\n \"NICEST\",\n \"NODE_AFTER\",\n \"NODE_BEFORE\",\n \"NODE_BEFORE_AND_AFTER\",\n \"NODE_INSIDE\",\n \"NONE\",\n \"NON_TRANSIENT_ERR\",\n \"NOTATION_NODE\",\n \"NOTCH\",\n \"NOTEQUAL\",\n \"NOT_ALLOWED_ERR\",\n \"NOT_FOUND_ERR\",\n \"NOT_READABLE_ERR\",\n \"NOT_SUPPORTED_ERR\",\n \"NO_DATA_ALLOWED_ERR\",\n \"NO_ERR\",\n \"NO_ERROR\",\n \"NO_MODIFICATION_ALLOWED_ERR\",\n \"NUMBER_TYPE\",\n \"NUM_COMPRESSED_TEXTURE_FORMATS\",\n \"NaN\",\n \"NamedNodeMap\",\n \"NavigationPreloadManager\",\n \"Navigator\",\n \"NearbyLinks\",\n \"NetworkInformation\",\n \"Node\",\n \"NodeFilter\",\n \"NodeIterator\",\n \"NodeList\",\n \"Notation\",\n \"Notification\",\n \"NotifyPaintEvent\",\n \"Number\",\n \"NumberFormat\",\n \"OBJECT_TYPE\",\n \"OBSOLETE\",\n \"OK\",\n \"ONE\",\n \"ONE_MINUS_CONSTANT_ALPHA\",\n \"ONE_MINUS_CONSTANT_COLOR\",\n \"ONE_MINUS_DST_ALPHA\",\n \"ONE_MINUS_DST_COLOR\",\n \"ONE_MINUS_SRC_ALPHA\",\n \"ONE_MINUS_SRC_COLOR\",\n \"OPEN\",\n \"OPENED\",\n \"OPENING\",\n \"ORDERED_NODE_ITERATOR_TYPE\",\n \"ORDERED_NODE_SNAPSHOT_TYPE\",\n \"OTHER_ERROR\",\n \"OUT_OF_MEMORY\",\n \"Object\",\n \"OfflineAudioCompletionEvent\",\n \"OfflineAudioContext\",\n \"OfflineResourceList\",\n \"OffscreenCanvas\",\n \"OffscreenCanvasRenderingContext2D\",\n \"Option\",\n \"OrientationSensor\",\n \"OscillatorNode\",\n \"OverconstrainedError\",\n \"OverflowEvent\",\n \"PACK_ALIGNMENT\",\n \"PACK_ROW_LENGTH\",\n \"PACK_SKIP_PIXELS\",\n \"PACK_SKIP_ROWS\",\n \"PAGE_RULE\",\n \"PARSE_ERR\",\n \"PATHSEG_ARC_ABS\",\n \"PATHSEG_ARC_REL\",\n \"PATHSEG_CLOSEPATH\",\n \"PATHSEG_CURVETO_CUBIC_ABS\",\n \"PATHSEG_CURVETO_CUBIC_REL\",\n \"PATHSEG_CURVETO_CUBIC_SMOOTH_ABS\",\n \"PATHSEG_CURVETO_CUBIC_SMOOTH_REL\",\n \"PATHSEG_CURVETO_QUADRATIC_ABS\",\n \"PATHSEG_CURVETO_QUADRATIC_REL\",\n \"PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS\",\n \"PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL\",\n \"PATHSEG_LINETO_ABS\",\n \"PATHSEG_LINETO_HORIZONTAL_ABS\",\n \"PATHSEG_LINETO_HORIZONTAL_REL\",\n \"PATHSEG_LINETO_REL\",\n \"PATHSEG_LINETO_VERTICAL_ABS\",\n \"PATHSEG_LINETO_VERTICAL_REL\",\n \"PATHSEG_MOVETO_ABS\",\n \"PATHSEG_MOVETO_REL\",\n \"PATHSEG_UNKNOWN\",\n \"PATH_EXISTS_ERR\",\n \"PEAKING\",\n \"PERMISSION_DENIED\",\n \"PERSISTENT\",\n \"PI\",\n \"PIXEL_PACK_BUFFER\",\n \"PIXEL_PACK_BUFFER_BINDING\",\n \"PIXEL_UNPACK_BUFFER\",\n \"PIXEL_UNPACK_BUFFER_BINDING\",\n \"PLAYING_STATE\",\n \"POINTS\",\n \"POLYGON_OFFSET_FACTOR\",\n \"POLYGON_OFFSET_FILL\",\n \"POLYGON_OFFSET_UNITS\",\n \"POSITION_UNAVAILABLE\",\n \"POSITIVE_INFINITY\",\n \"PREV\",\n \"PREV_NO_DUPLICATE\",\n \"PROCESSING_INSTRUCTION_NODE\",\n \"PageChangeEvent\",\n \"PageTransitionEvent\",\n \"PaintRequest\",\n \"PaintRequestList\",\n \"PannerNode\",\n \"PasswordCredential\",\n \"Path2D\",\n \"PaymentAddress\",\n \"PaymentInstruments\",\n \"PaymentManager\",\n \"PaymentMethodChangeEvent\",\n \"PaymentRequest\",\n \"PaymentRequestUpdateEvent\",\n \"PaymentResponse\",\n \"Performance\",\n \"PerformanceElementTiming\",\n \"PerformanceEntry\",\n \"PerformanceEventTiming\",\n \"PerformanceLongTaskTiming\",\n \"PerformanceMark\",\n \"PerformanceMeasure\",\n \"PerformanceNavigation\",\n \"PerformanceNavigationTiming\",\n \"PerformanceObserver\",\n \"PerformanceObserverEntryList\",\n \"PerformancePaintTiming\",\n \"PerformanceResourceTiming\",\n \"PerformanceServerTiming\",\n \"PerformanceTiming\",\n \"PeriodicSyncManager\",\n \"PeriodicWave\",\n \"PermissionStatus\",\n \"Permissions\",\n \"PhotoCapabilities\",\n \"PictureInPictureWindow\",\n \"Plugin\",\n \"PluginArray\",\n \"PluralRules\",\n \"PointerEvent\",\n \"PopStateEvent\",\n \"PopupBlockedEvent\",\n \"Presentation\",\n \"PresentationAvailability\",\n \"PresentationConnection\",\n \"PresentationConnectionAvailableEvent\",\n \"PresentationConnectionCloseEvent\",\n \"PresentationConnectionList\",\n \"PresentationReceiver\",\n \"PresentationRequest\",\n \"ProcessingInstruction\",\n \"ProgressEvent\",\n \"Promise\",\n \"PromiseRejectionEvent\",\n \"PropertyNodeList\",\n \"Proxy\",\n \"PublicKeyCredential\",\n \"PushManager\",\n \"PushSubscription\",\n \"PushSubscriptionOptions\",\n \"Q\",\n \"QUERY_RESULT\",\n \"QUERY_RESULT_AVAILABLE\",\n \"QUOTA_ERR\",\n \"QUOTA_EXCEEDED_ERR\",\n \"QueryInterface\",\n \"R11F_G11F_B10F\",\n \"R16F\",\n \"R16I\",\n \"R16UI\",\n \"R32F\",\n \"R32I\",\n \"R32UI\",\n \"R8\",\n \"R8I\",\n \"R8UI\",\n \"R8_SNORM\",\n \"RASTERIZER_DISCARD\",\n \"READ_BUFFER\",\n \"READ_FRAMEBUFFER\",\n \"READ_FRAMEBUFFER_BINDING\",\n \"READ_ONLY\",\n \"READ_ONLY_ERR\",\n \"READ_WRITE\",\n \"RED\",\n \"RED_BITS\",\n \"RED_INTEGER\",\n \"REMOVAL\",\n \"RENDERBUFFER\",\n \"RENDERBUFFER_ALPHA_SIZE\",\n \"RENDERBUFFER_BINDING\",\n \"RENDERBUFFER_BLUE_SIZE\",\n \"RENDERBUFFER_DEPTH_SIZE\",\n \"RENDERBUFFER_GREEN_SIZE\",\n \"RENDERBUFFER_HEIGHT\",\n \"RENDERBUFFER_INTERNAL_FORMAT\",\n \"RENDERBUFFER_RED_SIZE\",\n \"RENDERBUFFER_SAMPLES\",\n \"RENDERBUFFER_STENCIL_SIZE\",\n \"RENDERBUFFER_WIDTH\",\n \"RENDERER\",\n \"RENDERING_INTENT_ABSOLUTE_COLORIMETRIC\",\n \"RENDERING_INTENT_AUTO\",\n \"RENDERING_INTENT_PERCEPTUAL\",\n \"RENDERING_INTENT_RELATIVE_COLORIMETRIC\",\n \"RENDERING_INTENT_SATURATION\",\n \"RENDERING_INTENT_UNKNOWN\",\n \"REPEAT\",\n \"REPLACE\",\n \"RG\",\n \"RG16F\",\n \"RG16I\",\n \"RG16UI\",\n \"RG32F\",\n \"RG32I\",\n \"RG32UI\",\n \"RG8\",\n \"RG8I\",\n \"RG8UI\",\n \"RG8_SNORM\",\n \"RGB\",\n \"RGB10_A2\",\n \"RGB10_A2UI\",\n \"RGB16F\",\n \"RGB16I\",\n \"RGB16UI\",\n \"RGB32F\",\n \"RGB32I\",\n \"RGB32UI\",\n \"RGB565\",\n \"RGB5_A1\",\n \"RGB8\",\n \"RGB8I\",\n \"RGB8UI\",\n \"RGB8_SNORM\",\n \"RGB9_E5\",\n \"RGBA\",\n \"RGBA16F\",\n \"RGBA16I\",\n \"RGBA16UI\",\n \"RGBA32F\",\n \"RGBA32I\",\n \"RGBA32UI\",\n \"RGBA4\",\n \"RGBA8\",\n \"RGBA8I\",\n \"RGBA8UI\",\n \"RGBA8_SNORM\",\n \"RGBA_INTEGER\",\n \"RGBColor\",\n \"RGB_INTEGER\",\n \"RG_INTEGER\",\n \"ROTATION_CLOCKWISE\",\n \"ROTATION_COUNTERCLOCKWISE\",\n \"RTCCertificate\",\n \"RTCDTMFSender\",\n \"RTCDTMFToneChangeEvent\",\n \"RTCDataChannel\",\n \"RTCDataChannelEvent\",\n \"RTCDtlsTransport\",\n \"RTCError\",\n \"RTCErrorEvent\",\n \"RTCIceCandidate\",\n \"RTCIceTransport\",\n \"RTCPeerConnection\",\n \"RTCPeerConnectionIceErrorEvent\",\n \"RTCPeerConnectionIceEvent\",\n \"RTCRtpReceiver\",\n \"RTCRtpSender\",\n \"RTCRtpTransceiver\",\n \"RTCSctpTransport\",\n \"RTCSessionDescription\",\n \"RTCStatsReport\",\n \"RTCTrackEvent\",\n \"RadioNodeList\",\n \"Range\",\n \"RangeError\",\n \"RangeException\",\n \"ReadableStream\",\n \"ReadableStreamDefaultReader\",\n \"RecordErrorEvent\",\n \"Rect\",\n \"ReferenceError\",\n \"Reflect\",\n \"RegExp\",\n \"RelativeOrientationSensor\",\n \"RelativeTimeFormat\",\n \"RemotePlayback\",\n \"Report\",\n \"ReportBody\",\n \"ReportingObserver\",\n \"Request\",\n \"ResizeObserver\",\n \"ResizeObserverEntry\",\n \"ResizeObserverSize\",\n \"Response\",\n \"RuntimeError\",\n \"SAMPLER_2D\",\n \"SAMPLER_2D_ARRAY\",\n \"SAMPLER_2D_ARRAY_SHADOW\",\n \"SAMPLER_2D_SHADOW\",\n \"SAMPLER_3D\",\n \"SAMPLER_BINDING\",\n \"SAMPLER_CUBE\",\n \"SAMPLER_CUBE_SHADOW\",\n \"SAMPLES\",\n \"SAMPLE_ALPHA_TO_COVERAGE\",\n \"SAMPLE_BUFFERS\",\n \"SAMPLE_COVERAGE\",\n \"SAMPLE_COVERAGE_INVERT\",\n \"SAMPLE_COVERAGE_VALUE\",\n \"SAWTOOTH\",\n \"SCHEDULED_STATE\",\n \"SCISSOR_BOX\",\n \"SCISSOR_TEST\",\n \"SCROLL_PAGE_DOWN\",\n \"SCROLL_PAGE_UP\",\n \"SDP_ANSWER\",\n \"SDP_OFFER\",\n \"SDP_PRANSWER\",\n \"SECURITY_ERR\",\n \"SELECT\",\n \"SEPARATE_ATTRIBS\",\n \"SERIALIZE_ERR\",\n \"SEVERITY_ERROR\",\n \"SEVERITY_FATAL_ERROR\",\n \"SEVERITY_WARNING\",\n \"SHADER_COMPILER\",\n \"SHADER_TYPE\",\n \"SHADING_LANGUAGE_VERSION\",\n \"SHIFT_MASK\",\n \"SHORT\",\n \"SHOWING\",\n \"SHOW_ALL\",\n \"SHOW_ATTRIBUTE\",\n \"SHOW_CDATA_SECTION\",\n \"SHOW_COMMENT\",\n \"SHOW_DOCUMENT\",\n \"SHOW_DOCUMENT_FRAGMENT\",\n \"SHOW_DOCUMENT_TYPE\",\n \"SHOW_ELEMENT\",\n \"SHOW_ENTITY\",\n \"SHOW_ENTITY_REFERENCE\",\n \"SHOW_NOTATION\",\n \"SHOW_PROCESSING_INSTRUCTION\",\n \"SHOW_TEXT\",\n \"SIGNALED\",\n \"SIGNED_NORMALIZED\",\n \"SINE\",\n \"SOUNDFIELD\",\n \"SQLException\",\n \"SQRT1_2\",\n \"SQRT2\",\n \"SQUARE\",\n \"SRC_ALPHA\",\n \"SRC_ALPHA_SATURATE\",\n \"SRC_COLOR\",\n \"SRGB\",\n \"SRGB8\",\n \"SRGB8_ALPHA8\",\n \"START_TO_END\",\n \"START_TO_START\",\n \"STATIC_COPY\",\n \"STATIC_DRAW\",\n \"STATIC_READ\",\n \"STENCIL\",\n \"STENCIL_ATTACHMENT\",\n \"STENCIL_BACK_FAIL\",\n \"STENCIL_BACK_FUNC\",\n \"STENCIL_BACK_PASS_DEPTH_FAIL\",\n \"STENCIL_BACK_PASS_DEPTH_PASS\",\n \"STENCIL_BACK_REF\",\n \"STENCIL_BACK_VALUE_MASK\",\n \"STENCIL_BACK_WRITEMASK\",\n \"STENCIL_BITS\",\n \"STENCIL_BUFFER_BIT\",\n \"STENCIL_CLEAR_VALUE\",\n \"STENCIL_FAIL\",\n \"STENCIL_FUNC\",\n \"STENCIL_INDEX\",\n \"STENCIL_INDEX8\",\n \"STENCIL_PASS_DEPTH_FAIL\",\n \"STENCIL_PASS_DEPTH_PASS\",\n \"STENCIL_REF\",\n \"STENCIL_TEST\",\n \"STENCIL_VALUE_MASK\",\n \"STENCIL_WRITEMASK\",\n \"STREAM_COPY\",\n \"STREAM_DRAW\",\n \"STREAM_READ\",\n \"STRING_TYPE\",\n \"STYLE_RULE\",\n \"SUBPIXEL_BITS\",\n \"SUPPORTS_RULE\",\n \"SVGAElement\",\n \"SVGAltGlyphDefElement\",\n \"SVGAltGlyphElement\",\n \"SVGAltGlyphItemElement\",\n \"SVGAngle\",\n \"SVGAnimateColorElement\",\n \"SVGAnimateElement\",\n \"SVGAnimateMotionElement\",\n \"SVGAnimateTransformElement\",\n \"SVGAnimatedAngle\",\n \"SVGAnimatedBoolean\",\n \"SVGAnimatedEnumeration\",\n \"SVGAnimatedInteger\",\n \"SVGAnimatedLength\",\n \"SVGAnimatedLengthList\",\n \"SVGAnimatedNumber\",\n \"SVGAnimatedNumberList\",\n \"SVGAnimatedPreserveAspectRatio\",\n \"SVGAnimatedRect\",\n \"SVGAnimatedString\",\n \"SVGAnimatedTransformList\",\n \"SVGAnimationElement\",\n \"SVGCircleElement\",\n \"SVGClipPathElement\",\n \"SVGColor\",\n \"SVGComponentTransferFunctionElement\",\n \"SVGCursorElement\",\n \"SVGDefsElement\",\n \"SVGDescElement\",\n \"SVGDiscardElement\",\n \"SVGDocument\",\n \"SVGElement\",\n \"SVGElementInstance\",\n \"SVGElementInstanceList\",\n \"SVGEllipseElement\",\n \"SVGException\",\n \"SVGFEBlendElement\",\n \"SVGFEColorMatrixElement\",\n \"SVGFEComponentTransferElement\",\n \"SVGFECompositeElement\",\n \"SVGFEConvolveMatrixElement\",\n \"SVGFEDiffuseLightingElement\",\n \"SVGFEDisplacementMapElement\",\n \"SVGFEDistantLightElement\",\n \"SVGFEDropShadowElement\",\n \"SVGFEFloodElement\",\n \"SVGFEFuncAElement\",\n \"SVGFEFuncBElement\",\n \"SVGFEFuncGElement\",\n \"SVGFEFuncRElement\",\n \"SVGFEGaussianBlurElement\",\n \"SVGFEImageElement\",\n \"SVGFEMergeElement\",\n \"SVGFEMergeNodeElement\",\n \"SVGFEMorphologyElement\",\n \"SVGFEOffsetElement\",\n \"SVGFEPointLightElement\",\n \"SVGFESpecularLightingElement\",\n \"SVGFESpotLightElement\",\n \"SVGFETileElement\",\n \"SVGFETurbulenceElement\",\n \"SVGFilterElement\",\n \"SVGFontElement\",\n \"SVGFontFaceElement\",\n \"SVGFontFaceFormatElement\",\n \"SVGFontFaceNameElement\",\n \"SVGFontFaceSrcElement\",\n \"SVGFontFaceUriElement\",\n \"SVGForeignObjectElement\",\n \"SVGGElement\",\n \"SVGGeometryElement\",\n \"SVGGlyphElement\",\n \"SVGGlyphRefElement\",\n \"SVGGradientElement\",\n \"SVGGraphicsElement\",\n \"SVGHKernElement\",\n \"SVGImageElement\",\n \"SVGLength\",\n \"SVGLengthList\",\n \"SVGLineElement\",\n \"SVGLinearGradientElement\",\n \"SVGMPathElement\",\n \"SVGMarkerElement\",\n \"SVGMaskElement\",\n \"SVGMatrix\",\n \"SVGMetadataElement\",\n \"SVGMissingGlyphElement\",\n \"SVGNumber\",\n \"SVGNumberList\",\n \"SVGPaint\",\n \"SVGPathElement\",\n \"SVGPathSeg\",\n \"SVGPathSegArcAbs\",\n \"SVGPathSegArcRel\",\n \"SVGPathSegClosePath\",\n \"SVGPathSegCurvetoCubicAbs\",\n \"SVGPathSegCurvetoCubicRel\",\n \"SVGPathSegCurvetoCubicSmoothAbs\",\n \"SVGPathSegCurvetoCubicSmoothRel\",\n \"SVGPathSegCurvetoQuadraticAbs\",\n \"SVGPathSegCurvetoQuadraticRel\",\n \"SVGPathSegCurvetoQuadraticSmoothAbs\",\n \"SVGPathSegCurvetoQuadraticSmoothRel\",\n \"SVGPathSegLinetoAbs\",\n \"SVGPathSegLinetoHorizontalAbs\",\n \"SVGPathSegLinetoHorizontalRel\",\n \"SVGPathSegLinetoRel\",\n \"SVGPathSegLinetoVerticalAbs\",\n \"SVGPathSegLinetoVerticalRel\",\n \"SVGPathSegList\",\n \"SVGPathSegMovetoAbs\",\n \"SVGPathSegMovetoRel\",\n \"SVGPatternElement\",\n \"SVGPoint\",\n \"SVGPointList\",\n \"SVGPolygonElement\",\n \"SVGPolylineElement\",\n \"SVGPreserveAspectRatio\",\n \"SVGRadialGradientElement\",\n \"SVGRect\",\n \"SVGRectElement\",\n \"SVGRenderingIntent\",\n \"SVGSVGElement\",\n \"SVGScriptElement\",\n \"SVGSetElement\",\n \"SVGStopElement\",\n \"SVGStringList\",\n \"SVGStyleElement\",\n \"SVGSwitchElement\",\n \"SVGSymbolElement\",\n \"SVGTRefElement\",\n \"SVGTSpanElement\",\n \"SVGTextContentElement\",\n \"SVGTextElement\",\n \"SVGTextPathElement\",\n \"SVGTextPositioningElement\",\n \"SVGTitleElement\",\n \"SVGTransform\",\n \"SVGTransformList\",\n \"SVGUnitTypes\",\n \"SVGUseElement\",\n \"SVGVKernElement\",\n \"SVGViewElement\",\n \"SVGViewSpec\",\n \"SVGZoomAndPan\",\n \"SVGZoomEvent\",\n \"SVG_ANGLETYPE_DEG\",\n \"SVG_ANGLETYPE_GRAD\",\n \"SVG_ANGLETYPE_RAD\",\n \"SVG_ANGLETYPE_UNKNOWN\",\n \"SVG_ANGLETYPE_UNSPECIFIED\",\n \"SVG_CHANNEL_A\",\n \"SVG_CHANNEL_B\",\n \"SVG_CHANNEL_G\",\n \"SVG_CHANNEL_R\",\n \"SVG_CHANNEL_UNKNOWN\",\n \"SVG_COLORTYPE_CURRENTCOLOR\",\n \"SVG_COLORTYPE_RGBCOLOR\",\n \"SVG_COLORTYPE_RGBCOLOR_ICCCOLOR\",\n \"SVG_COLORTYPE_UNKNOWN\",\n \"SVG_EDGEMODE_DUPLICATE\",\n \"SVG_EDGEMODE_NONE\",\n \"SVG_EDGEMODE_UNKNOWN\",\n \"SVG_EDGEMODE_WRAP\",\n \"SVG_FEBLEND_MODE_COLOR\",\n \"SVG_FEBLEND_MODE_COLOR_BURN\",\n \"SVG_FEBLEND_MODE_COLOR_DODGE\",\n \"SVG_FEBLEND_MODE_DARKEN\",\n \"SVG_FEBLEND_MODE_DIFFERENCE\",\n \"SVG_FEBLEND_MODE_EXCLUSION\",\n \"SVG_FEBLEND_MODE_HARD_LIGHT\",\n \"SVG_FEBLEND_MODE_HUE\",\n \"SVG_FEBLEND_MODE_LIGHTEN\",\n \"SVG_FEBLEND_MODE_LUMINOSITY\",\n \"SVG_FEBLEND_MODE_MULTIPLY\",\n \"SVG_FEBLEND_MODE_NORMAL\",\n \"SVG_FEBLEND_MODE_OVERLAY\",\n \"SVG_FEBLEND_MODE_SATURATION\",\n \"SVG_FEBLEND_MODE_SCREEN\",\n \"SVG_FEBLEND_MODE_SOFT_LIGHT\",\n \"SVG_FEBLEND_MODE_UNKNOWN\",\n \"SVG_FECOLORMATRIX_TYPE_HUEROTATE\",\n \"SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA\",\n \"SVG_FECOLORMATRIX_TYPE_MATRIX\",\n \"SVG_FECOLORMATRIX_TYPE_SATURATE\",\n \"SVG_FECOLORMATRIX_TYPE_UNKNOWN\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_GAMMA\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_LINEAR\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_TABLE\",\n \"SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN\",\n \"SVG_FECOMPOSITE_OPERATOR_ARITHMETIC\",\n \"SVG_FECOMPOSITE_OPERATOR_ATOP\",\n \"SVG_FECOMPOSITE_OPERATOR_IN\",\n \"SVG_FECOMPOSITE_OPERATOR_OUT\",\n \"SVG_FECOMPOSITE_OPERATOR_OVER\",\n \"SVG_FECOMPOSITE_OPERATOR_UNKNOWN\",\n \"SVG_FECOMPOSITE_OPERATOR_XOR\",\n \"SVG_INVALID_VALUE_ERR\",\n \"SVG_LENGTHTYPE_CM\",\n \"SVG_LENGTHTYPE_EMS\",\n \"SVG_LENGTHTYPE_EXS\",\n \"SVG_LENGTHTYPE_IN\",\n \"SVG_LENGTHTYPE_MM\",\n \"SVG_LENGTHTYPE_NUMBER\",\n \"SVG_LENGTHTYPE_PC\",\n \"SVG_LENGTHTYPE_PERCENTAGE\",\n \"SVG_LENGTHTYPE_PT\",\n \"SVG_LENGTHTYPE_PX\",\n \"SVG_LENGTHTYPE_UNKNOWN\",\n \"SVG_MARKERUNITS_STROKEWIDTH\",\n \"SVG_MARKERUNITS_UNKNOWN\",\n \"SVG_MARKERUNITS_USERSPACEONUSE\",\n \"SVG_MARKER_ORIENT_ANGLE\",\n \"SVG_MARKER_ORIENT_AUTO\",\n \"SVG_MARKER_ORIENT_UNKNOWN\",\n \"SVG_MASKTYPE_ALPHA\",\n \"SVG_MASKTYPE_LUMINANCE\",\n \"SVG_MATRIX_NOT_INVERTABLE\",\n \"SVG_MEETORSLICE_MEET\",\n \"SVG_MEETORSLICE_SLICE\",\n \"SVG_MEETORSLICE_UNKNOWN\",\n \"SVG_MORPHOLOGY_OPERATOR_DILATE\",\n \"SVG_MORPHOLOGY_OPERATOR_ERODE\",\n \"SVG_MORPHOLOGY_OPERATOR_UNKNOWN\",\n \"SVG_PAINTTYPE_CURRENTCOLOR\",\n \"SVG_PAINTTYPE_NONE\",\n \"SVG_PAINTTYPE_RGBCOLOR\",\n \"SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR\",\n \"SVG_PAINTTYPE_UNKNOWN\",\n \"SVG_PAINTTYPE_URI\",\n \"SVG_PAINTTYPE_URI_CURRENTCOLOR\",\n \"SVG_PAINTTYPE_URI_NONE\",\n \"SVG_PAINTTYPE_URI_RGBCOLOR\",\n \"SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR\",\n \"SVG_PRESERVEASPECTRATIO_NONE\",\n \"SVG_PRESERVEASPECTRATIO_UNKNOWN\",\n \"SVG_PRESERVEASPECTRATIO_XMAXYMAX\",\n \"SVG_PRESERVEASPECTRATIO_XMAXYMID\",\n \"SVG_PRESERVEASPECTRATIO_XMAXYMIN\",\n \"SVG_PRESERVEASPECTRATIO_XMIDYMAX\",\n \"SVG_PRESERVEASPECTRATIO_XMIDYMID\",\n \"SVG_PRESERVEASPECTRATIO_XMIDYMIN\",\n \"SVG_PRESERVEASPECTRATIO_XMINYMAX\",\n \"SVG_PRESERVEASPECTRATIO_XMINYMID\",\n \"SVG_PRESERVEASPECTRATIO_XMINYMIN\",\n \"SVG_SPREADMETHOD_PAD\",\n \"SVG_SPREADMETHOD_REFLECT\",\n \"SVG_SPREADMETHOD_REPEAT\",\n \"SVG_SPREADMETHOD_UNKNOWN\",\n \"SVG_STITCHTYPE_NOSTITCH\",\n \"SVG_STITCHTYPE_STITCH\",\n \"SVG_STITCHTYPE_UNKNOWN\",\n \"SVG_TRANSFORM_MATRIX\",\n \"SVG_TRANSFORM_ROTATE\",\n \"SVG_TRANSFORM_SCALE\",\n \"SVG_TRANSFORM_SKEWX\",\n \"SVG_TRANSFORM_SKEWY\",\n \"SVG_TRANSFORM_TRANSLATE\",\n \"SVG_TRANSFORM_UNKNOWN\",\n \"SVG_TURBULENCE_TYPE_FRACTALNOISE\",\n \"SVG_TURBULENCE_TYPE_TURBULENCE\",\n \"SVG_TURBULENCE_TYPE_UNKNOWN\",\n \"SVG_UNIT_TYPE_OBJECTBOUNDINGBOX\",\n \"SVG_UNIT_TYPE_UNKNOWN\",\n \"SVG_UNIT_TYPE_USERSPACEONUSE\",\n \"SVG_WRONG_TYPE_ERR\",\n \"SVG_ZOOMANDPAN_DISABLE\",\n \"SVG_ZOOMANDPAN_MAGNIFY\",\n \"SVG_ZOOMANDPAN_UNKNOWN\",\n \"SYNC_CONDITION\",\n \"SYNC_FENCE\",\n \"SYNC_FLAGS\",\n \"SYNC_FLUSH_COMMANDS_BIT\",\n \"SYNC_GPU_COMMANDS_COMPLETE\",\n \"SYNC_STATUS\",\n \"SYNTAX_ERR\",\n \"SavedPages\",\n \"Screen\",\n \"ScreenOrientation\",\n \"Script\",\n \"ScriptProcessorNode\",\n \"ScrollAreaEvent\",\n \"SecurityPolicyViolationEvent\",\n \"Selection\",\n \"Sensor\",\n \"SensorErrorEvent\",\n \"ServiceWorker\",\n \"ServiceWorkerContainer\",\n \"ServiceWorkerRegistration\",\n \"SessionDescription\",\n \"Set\",\n \"ShadowRoot\",\n \"SharedArrayBuffer\",\n \"SharedWorker\",\n \"SimpleGestureEvent\",\n \"SourceBuffer\",\n \"SourceBufferList\",\n \"SpeechSynthesis\",\n \"SpeechSynthesisErrorEvent\",\n \"SpeechSynthesisEvent\",\n \"SpeechSynthesisUtterance\",\n \"SpeechSynthesisVoice\",\n \"StaticRange\",\n \"StereoPannerNode\",\n \"StopIteration\",\n \"Storage\",\n \"StorageEvent\",\n \"StorageManager\",\n \"String\",\n \"StructType\",\n \"StylePropertyMap\",\n \"StylePropertyMapReadOnly\",\n \"StyleSheet\",\n \"StyleSheetList\",\n \"SubmitEvent\",\n \"SubtleCrypto\",\n \"Symbol\",\n \"SyncManager\",\n \"SyntaxError\",\n \"TEMPORARY\",\n \"TEXTPATH_METHODTYPE_ALIGN\",\n \"TEXTPATH_METHODTYPE_STRETCH\",\n \"TEXTPATH_METHODTYPE_UNKNOWN\",\n \"TEXTPATH_SPACINGTYPE_AUTO\",\n \"TEXTPATH_SPACINGTYPE_EXACT\",\n \"TEXTPATH_SPACINGTYPE_UNKNOWN\",\n \"TEXTURE\",\n \"TEXTURE0\",\n \"TEXTURE1\",\n \"TEXTURE10\",\n \"TEXTURE11\",\n \"TEXTURE12\",\n \"TEXTURE13\",\n \"TEXTURE14\",\n \"TEXTURE15\",\n \"TEXTURE16\",\n \"TEXTURE17\",\n \"TEXTURE18\",\n \"TEXTURE19\",\n \"TEXTURE2\",\n \"TEXTURE20\",\n \"TEXTURE21\",\n \"TEXTURE22\",\n \"TEXTURE23\",\n \"TEXTURE24\",\n \"TEXTURE25\",\n \"TEXTURE26\",\n \"TEXTURE27\",\n \"TEXTURE28\",\n \"TEXTURE29\",\n \"TEXTURE3\",\n \"TEXTURE30\",\n \"TEXTURE31\",\n \"TEXTURE4\",\n \"TEXTURE5\",\n \"TEXTURE6\",\n \"TEXTURE7\",\n \"TEXTURE8\",\n \"TEXTURE9\",\n \"TEXTURE_2D\",\n \"TEXTURE_2D_ARRAY\",\n \"TEXTURE_3D\",\n \"TEXTURE_BASE_LEVEL\",\n \"TEXTURE_BINDING_2D\",\n \"TEXTURE_BINDING_2D_ARRAY\",\n \"TEXTURE_BINDING_3D\",\n \"TEXTURE_BINDING_CUBE_MAP\",\n \"TEXTURE_COMPARE_FUNC\",\n \"TEXTURE_COMPARE_MODE\",\n \"TEXTURE_CUBE_MAP\",\n \"TEXTURE_CUBE_MAP_NEGATIVE_X\",\n \"TEXTURE_CUBE_MAP_NEGATIVE_Y\",\n \"TEXTURE_CUBE_MAP_NEGATIVE_Z\",\n \"TEXTURE_CUBE_MAP_POSITIVE_X\",\n \"TEXTURE_CUBE_MAP_POSITIVE_Y\",\n \"TEXTURE_CUBE_MAP_POSITIVE_Z\",\n \"TEXTURE_IMMUTABLE_FORMAT\",\n \"TEXTURE_IMMUTABLE_LEVELS\",\n \"TEXTURE_MAG_FILTER\",\n \"TEXTURE_MAX_ANISOTROPY_EXT\",\n \"TEXTURE_MAX_LEVEL\",\n \"TEXTURE_MAX_LOD\",\n \"TEXTURE_MIN_FILTER\",\n \"TEXTURE_MIN_LOD\",\n \"TEXTURE_WRAP_R\",\n \"TEXTURE_WRAP_S\",\n \"TEXTURE_WRAP_T\",\n \"TEXT_NODE\",\n \"TIMEOUT\",\n \"TIMEOUT_ERR\",\n \"TIMEOUT_EXPIRED\",\n \"TIMEOUT_IGNORED\",\n \"TOO_LARGE_ERR\",\n \"TRANSACTION_INACTIVE_ERR\",\n \"TRANSFORM_FEEDBACK\",\n \"TRANSFORM_FEEDBACK_ACTIVE\",\n \"TRANSFORM_FEEDBACK_BINDING\",\n \"TRANSFORM_FEEDBACK_BUFFER\",\n \"TRANSFORM_FEEDBACK_BUFFER_BINDING\",\n \"TRANSFORM_FEEDBACK_BUFFER_MODE\",\n \"TRANSFORM_FEEDBACK_BUFFER_SIZE\",\n \"TRANSFORM_FEEDBACK_BUFFER_START\",\n \"TRANSFORM_FEEDBACK_PAUSED\",\n \"TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN\",\n \"TRANSFORM_FEEDBACK_VARYINGS\",\n \"TRIANGLE\",\n \"TRIANGLES\",\n \"TRIANGLE_FAN\",\n \"TRIANGLE_STRIP\",\n \"TYPE_BACK_FORWARD\",\n \"TYPE_ERR\",\n \"TYPE_MISMATCH_ERR\",\n \"TYPE_NAVIGATE\",\n \"TYPE_RELOAD\",\n \"TYPE_RESERVED\",\n \"Table\",\n \"TaskAttributionTiming\",\n \"Text\",\n \"TextDecoder\",\n \"TextDecoderStream\",\n \"TextEncoder\",\n \"TextEncoderStream\",\n \"TextEvent\",\n \"TextMetrics\",\n \"TextTrack\",\n \"TextTrackCue\",\n \"TextTrackCueList\",\n \"TextTrackList\",\n \"TimeEvent\",\n \"TimeRanges\",\n \"Touch\",\n \"TouchEvent\",\n \"TouchList\",\n \"TrackEvent\",\n \"TransformStream\",\n \"TransitionEvent\",\n \"TreeWalker\",\n \"TrustedHTML\",\n \"TrustedScript\",\n \"TrustedScriptURL\",\n \"TrustedTypePolicy\",\n \"TrustedTypePolicyFactory\",\n \"TypeError\",\n \"TypedObject\",\n \"U2F\",\n \"UIEvent\",\n \"UNCACHED\",\n \"UNIFORM_ARRAY_STRIDE\",\n \"UNIFORM_BLOCK_ACTIVE_UNIFORMS\",\n \"UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES\",\n \"UNIFORM_BLOCK_BINDING\",\n \"UNIFORM_BLOCK_DATA_SIZE\",\n \"UNIFORM_BLOCK_INDEX\",\n \"UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER\",\n \"UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER\",\n \"UNIFORM_BUFFER\",\n \"UNIFORM_BUFFER_BINDING\",\n \"UNIFORM_BUFFER_OFFSET_ALIGNMENT\",\n \"UNIFORM_BUFFER_SIZE\",\n \"UNIFORM_BUFFER_START\",\n \"UNIFORM_IS_ROW_MAJOR\",\n \"UNIFORM_MATRIX_STRIDE\",\n \"UNIFORM_OFFSET\",\n \"UNIFORM_SIZE\",\n \"UNIFORM_TYPE\",\n \"UNKNOWN_ERR\",\n \"UNKNOWN_RULE\",\n \"UNMASKED_RENDERER_WEBGL\",\n \"UNMASKED_VENDOR_WEBGL\",\n \"UNORDERED_NODE_ITERATOR_TYPE\",\n \"UNORDERED_NODE_SNAPSHOT_TYPE\",\n \"UNPACK_ALIGNMENT\",\n \"UNPACK_COLORSPACE_CONVERSION_WEBGL\",\n \"UNPACK_FLIP_Y_WEBGL\",\n \"UNPACK_IMAGE_HEIGHT\",\n \"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",\n \"UNPACK_ROW_LENGTH\",\n \"UNPACK_SKIP_IMAGES\",\n \"UNPACK_SKIP_PIXELS\",\n \"UNPACK_SKIP_ROWS\",\n \"UNSCHEDULED_STATE\",\n \"UNSENT\",\n \"UNSIGNALED\",\n \"UNSIGNED_BYTE\",\n \"UNSIGNED_INT\",\n \"UNSIGNED_INT_10F_11F_11F_REV\",\n \"UNSIGNED_INT_24_8\",\n \"UNSIGNED_INT_2_10_10_10_REV\",\n \"UNSIGNED_INT_5_9_9_9_REV\",\n \"UNSIGNED_INT_SAMPLER_2D\",\n \"UNSIGNED_INT_SAMPLER_2D_ARRAY\",\n \"UNSIGNED_INT_SAMPLER_3D\",\n \"UNSIGNED_INT_SAMPLER_CUBE\",\n \"UNSIGNED_INT_VEC2\",\n \"UNSIGNED_INT_VEC3\",\n \"UNSIGNED_INT_VEC4\",\n \"UNSIGNED_NORMALIZED\",\n \"UNSIGNED_SHORT\",\n \"UNSIGNED_SHORT_4_4_4_4\",\n \"UNSIGNED_SHORT_5_5_5_1\",\n \"UNSIGNED_SHORT_5_6_5\",\n \"UNSPECIFIED_EVENT_TYPE_ERR\",\n \"UPDATEREADY\",\n \"URIError\",\n \"URL\",\n \"URLSearchParams\",\n \"URLUnencoded\",\n \"URL_MISMATCH_ERR\",\n \"USB\",\n \"USBAlternateInterface\",\n \"USBConfiguration\",\n \"USBConnectionEvent\",\n \"USBDevice\",\n \"USBEndpoint\",\n \"USBInTransferResult\",\n \"USBInterface\",\n \"USBIsochronousInTransferPacket\",\n \"USBIsochronousInTransferResult\",\n \"USBIsochronousOutTransferPacket\",\n \"USBIsochronousOutTransferResult\",\n \"USBOutTransferResult\",\n \"UTC\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"UserActivation\",\n \"UserMessageHandler\",\n \"UserMessageHandlersNamespace\",\n \"UserProximityEvent\",\n \"VALIDATE_STATUS\",\n \"VALIDATION_ERR\",\n \"VARIABLES_RULE\",\n \"VENDOR\",\n \"VERSION\",\n \"VERSION_CHANGE\",\n \"VERSION_ERR\",\n \"VERTEX_ARRAY_BINDING\",\n \"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",\n \"VERTEX_ATTRIB_ARRAY_DIVISOR\",\n \"VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE\",\n \"VERTEX_ATTRIB_ARRAY_ENABLED\",\n \"VERTEX_ATTRIB_ARRAY_INTEGER\",\n \"VERTEX_ATTRIB_ARRAY_NORMALIZED\",\n \"VERTEX_ATTRIB_ARRAY_POINTER\",\n \"VERTEX_ATTRIB_ARRAY_SIZE\",\n \"VERTEX_ATTRIB_ARRAY_STRIDE\",\n \"VERTEX_ATTRIB_ARRAY_TYPE\",\n \"VERTEX_SHADER\",\n \"VERTICAL\",\n \"VERTICAL_AXIS\",\n \"VER_ERR\",\n \"VIEWPORT\",\n \"VIEWPORT_RULE\",\n \"VRDisplay\",\n \"VRDisplayCapabilities\",\n \"VRDisplayEvent\",\n \"VREyeParameters\",\n \"VRFieldOfView\",\n \"VRFrameData\",\n \"VRPose\",\n \"VRStageParameters\",\n \"VTTCue\",\n \"VTTRegion\",\n \"ValidityState\",\n \"VideoPlaybackQuality\",\n \"VideoStreamTrack\",\n \"VisualViewport\",\n \"WAIT_FAILED\",\n \"WEBKIT_FILTER_RULE\",\n \"WEBKIT_KEYFRAMES_RULE\",\n \"WEBKIT_KEYFRAME_RULE\",\n \"WEBKIT_REGION_RULE\",\n \"WRONG_DOCUMENT_ERR\",\n \"WakeLock\",\n \"WakeLockSentinel\",\n \"WasmAnyRef\",\n \"WaveShaperNode\",\n \"WeakMap\",\n \"WeakRef\",\n \"WeakSet\",\n \"WebAssembly\",\n \"WebGL2RenderingContext\",\n \"WebGLActiveInfo\",\n \"WebGLBuffer\",\n \"WebGLContextEvent\",\n \"WebGLFramebuffer\",\n \"WebGLProgram\",\n \"WebGLQuery\",\n \"WebGLRenderbuffer\",\n \"WebGLRenderingContext\",\n \"WebGLSampler\",\n \"WebGLShader\",\n \"WebGLShaderPrecisionFormat\",\n \"WebGLSync\",\n \"WebGLTexture\",\n \"WebGLTransformFeedback\",\n \"WebGLUniformLocation\",\n \"WebGLVertexArray\",\n \"WebGLVertexArrayObject\",\n \"WebKitAnimationEvent\",\n \"WebKitBlobBuilder\",\n \"WebKitCSSFilterRule\",\n \"WebKitCSSFilterValue\",\n \"WebKitCSSKeyframeRule\",\n \"WebKitCSSKeyframesRule\",\n \"WebKitCSSMatrix\",\n \"WebKitCSSRegionRule\",\n \"WebKitCSSTransformValue\",\n \"WebKitDataCue\",\n \"WebKitGamepad\",\n \"WebKitMediaKeyError\",\n \"WebKitMediaKeyMessageEvent\",\n \"WebKitMediaKeySession\",\n \"WebKitMediaKeys\",\n \"WebKitMediaSource\",\n \"WebKitMutationObserver\",\n \"WebKitNamespace\",\n \"WebKitPlaybackTargetAvailabilityEvent\",\n \"WebKitPoint\",\n \"WebKitShadowRoot\",\n \"WebKitSourceBuffer\",\n \"WebKitSourceBufferList\",\n \"WebKitTransitionEvent\",\n \"WebSocket\",\n \"WebkitAlignContent\",\n \"WebkitAlignItems\",\n \"WebkitAlignSelf\",\n \"WebkitAnimation\",\n \"WebkitAnimationDelay\",\n \"WebkitAnimationDirection\",\n \"WebkitAnimationDuration\",\n \"WebkitAnimationFillMode\",\n \"WebkitAnimationIterationCount\",\n \"WebkitAnimationName\",\n \"WebkitAnimationPlayState\",\n \"WebkitAnimationTimingFunction\",\n \"WebkitAppearance\",\n \"WebkitBackfaceVisibility\",\n \"WebkitBackgroundClip\",\n \"WebkitBackgroundOrigin\",\n \"WebkitBackgroundSize\",\n \"WebkitBorderBottomLeftRadius\",\n \"WebkitBorderBottomRightRadius\",\n \"WebkitBorderImage\",\n \"WebkitBorderRadius\",\n \"WebkitBorderTopLeftRadius\",\n \"WebkitBorderTopRightRadius\",\n \"WebkitBoxAlign\",\n \"WebkitBoxDirection\",\n \"WebkitBoxFlex\",\n \"WebkitBoxOrdinalGroup\",\n \"WebkitBoxOrient\",\n \"WebkitBoxPack\",\n \"WebkitBoxShadow\",\n \"WebkitBoxSizing\",\n \"WebkitFilter\",\n \"WebkitFlex\",\n \"WebkitFlexBasis\",\n \"WebkitFlexDirection\",\n \"WebkitFlexFlow\",\n \"WebkitFlexGrow\",\n \"WebkitFlexShrink\",\n \"WebkitFlexWrap\",\n \"WebkitJustifyContent\",\n \"WebkitLineClamp\",\n \"WebkitMask\",\n \"WebkitMaskClip\",\n \"WebkitMaskComposite\",\n \"WebkitMaskImage\",\n \"WebkitMaskOrigin\",\n \"WebkitMaskPosition\",\n \"WebkitMaskPositionX\",\n \"WebkitMaskPositionY\",\n \"WebkitMaskRepeat\",\n \"WebkitMaskSize\",\n \"WebkitOrder\",\n \"WebkitPerspective\",\n \"WebkitPerspectiveOrigin\",\n \"WebkitTextFillColor\",\n \"WebkitTextSizeAdjust\",\n \"WebkitTextStroke\",\n \"WebkitTextStrokeColor\",\n \"WebkitTextStrokeWidth\",\n \"WebkitTransform\",\n \"WebkitTransformOrigin\",\n \"WebkitTransformStyle\",\n \"WebkitTransition\",\n \"WebkitTransitionDelay\",\n \"WebkitTransitionDuration\",\n \"WebkitTransitionProperty\",\n \"WebkitTransitionTimingFunction\",\n \"WebkitUserSelect\",\n \"WheelEvent\",\n \"Window\",\n \"Worker\",\n \"Worklet\",\n \"WritableStream\",\n \"WritableStreamDefaultWriter\",\n \"XMLDocument\",\n \"XMLHttpRequest\",\n \"XMLHttpRequestEventTarget\",\n \"XMLHttpRequestException\",\n \"XMLHttpRequestProgressEvent\",\n \"XMLHttpRequestUpload\",\n \"XMLSerializer\",\n \"XMLStylesheetProcessingInstruction\",\n \"XPathEvaluator\",\n \"XPathException\",\n \"XPathExpression\",\n \"XPathNSResolver\",\n \"XPathResult\",\n \"XRBoundedReferenceSpace\",\n \"XRDOMOverlayState\",\n \"XRFrame\",\n \"XRHitTestResult\",\n \"XRHitTestSource\",\n \"XRInputSource\",\n \"XRInputSourceArray\",\n \"XRInputSourceEvent\",\n \"XRInputSourcesChangeEvent\",\n \"XRLayer\",\n \"XRPose\",\n \"XRRay\",\n \"XRReferenceSpace\",\n \"XRReferenceSpaceEvent\",\n \"XRRenderState\",\n \"XRRigidTransform\",\n \"XRSession\",\n \"XRSessionEvent\",\n \"XRSpace\",\n \"XRSystem\",\n \"XRTransientInputHitTestResult\",\n \"XRTransientInputHitTestSource\",\n \"XRView\",\n \"XRViewerPose\",\n \"XRViewport\",\n \"XRWebGLLayer\",\n \"XSLTProcessor\",\n \"ZERO\",\n \"_XD0M_\",\n \"_YD0M_\",\n \"__defineGetter__\",\n \"__defineSetter__\",\n \"__lookupGetter__\",\n \"__lookupSetter__\",\n \"__opera\",\n \"__proto__\",\n \"_browserjsran\",\n \"a\",\n \"aLink\",\n \"abbr\",\n \"abort\",\n \"aborted\",\n \"abs\",\n \"absolute\",\n \"acceleration\",\n \"accelerationIncludingGravity\",\n \"accelerator\",\n \"accept\",\n \"acceptCharset\",\n \"acceptNode\",\n \"accessKey\",\n \"accessKeyLabel\",\n \"accuracy\",\n \"acos\",\n \"acosh\",\n \"action\",\n \"actionURL\",\n \"actions\",\n \"activated\",\n \"active\",\n \"activeCues\",\n \"activeElement\",\n \"activeSourceBuffers\",\n \"activeSourceCount\",\n \"activeTexture\",\n \"activeVRDisplays\",\n \"actualBoundingBoxAscent\",\n \"actualBoundingBoxDescent\",\n \"actualBoundingBoxLeft\",\n \"actualBoundingBoxRight\",\n \"add\",\n \"addAll\",\n \"addBehavior\",\n \"addCandidate\",\n \"addColorStop\",\n \"addCue\",\n \"addElement\",\n \"addEventListener\",\n \"addFilter\",\n \"addFromString\",\n \"addFromUri\",\n \"addIceCandidate\",\n \"addImport\",\n \"addListener\",\n \"addModule\",\n \"addNamed\",\n \"addPageRule\",\n \"addPath\",\n \"addPointer\",\n \"addRange\",\n \"addRegion\",\n \"addRule\",\n \"addSearchEngine\",\n \"addSourceBuffer\",\n \"addStream\",\n \"addTextTrack\",\n \"addTrack\",\n \"addTransceiver\",\n \"addWakeLockListener\",\n \"added\",\n \"addedNodes\",\n \"additionalName\",\n \"additiveSymbols\",\n \"addons\",\n \"address\",\n \"addressLine\",\n \"adoptNode\",\n \"adoptedStyleSheets\",\n \"adr\",\n \"advance\",\n \"after\",\n \"album\",\n \"alert\",\n \"algorithm\",\n \"align\",\n \"align-content\",\n \"align-items\",\n \"align-self\",\n \"alignContent\",\n \"alignItems\",\n \"alignSelf\",\n \"alignmentBaseline\",\n \"alinkColor\",\n \"all\",\n \"allSettled\",\n \"allow\",\n \"allowFullscreen\",\n \"allowPaymentRequest\",\n \"allowedDirections\",\n \"allowedFeatures\",\n \"allowedToPlay\",\n \"allowsFeature\",\n \"alpha\",\n \"alt\",\n \"altGraphKey\",\n \"altHtml\",\n \"altKey\",\n \"altLeft\",\n \"alternate\",\n \"alternateSetting\",\n \"alternates\",\n \"altitude\",\n \"altitudeAccuracy\",\n \"amplitude\",\n \"ancestorOrigins\",\n \"anchor\",\n \"anchorNode\",\n \"anchorOffset\",\n \"anchors\",\n \"and\",\n \"angle\",\n \"angularAcceleration\",\n \"angularVelocity\",\n \"animVal\",\n \"animate\",\n \"animatedInstanceRoot\",\n \"animatedNormalizedPathSegList\",\n \"animatedPathSegList\",\n \"animatedPoints\",\n \"animation\",\n \"animation-delay\",\n \"animation-direction\",\n \"animation-duration\",\n \"animation-fill-mode\",\n \"animation-iteration-count\",\n \"animation-name\",\n \"animation-play-state\",\n \"animation-timing-function\",\n \"animationDelay\",\n \"animationDirection\",\n \"animationDuration\",\n \"animationFillMode\",\n \"animationIterationCount\",\n \"animationName\",\n \"animationPlayState\",\n \"animationStartTime\",\n \"animationTimingFunction\",\n \"animationsPaused\",\n \"anniversary\",\n \"antialias\",\n \"anticipatedRemoval\",\n \"any\",\n \"app\",\n \"appCodeName\",\n \"appMinorVersion\",\n \"appName\",\n \"appNotifications\",\n \"appVersion\",\n \"appearance\",\n \"append\",\n \"appendBuffer\",\n \"appendChild\",\n \"appendData\",\n \"appendItem\",\n \"appendMedium\",\n \"appendNamed\",\n \"appendRule\",\n \"appendStream\",\n \"appendWindowEnd\",\n \"appendWindowStart\",\n \"applets\",\n \"applicationCache\",\n \"applicationServerKey\",\n \"apply\",\n \"applyConstraints\",\n \"applyElement\",\n \"arc\",\n \"arcTo\",\n \"architecture\",\n \"archive\",\n \"areas\",\n \"arguments\",\n \"ariaAtomic\",\n \"ariaAutoComplete\",\n \"ariaBusy\",\n \"ariaChecked\",\n \"ariaColCount\",\n \"ariaColIndex\",\n \"ariaColSpan\",\n \"ariaCurrent\",\n \"ariaDescription\",\n \"ariaDisabled\",\n \"ariaExpanded\",\n \"ariaHasPopup\",\n \"ariaHidden\",\n \"ariaKeyShortcuts\",\n \"ariaLabel\",\n \"ariaLevel\",\n \"ariaLive\",\n \"ariaModal\",\n \"ariaMultiLine\",\n \"ariaMultiSelectable\",\n \"ariaOrientation\",\n \"ariaPlaceholder\",\n \"ariaPosInSet\",\n \"ariaPressed\",\n \"ariaReadOnly\",\n \"ariaRelevant\",\n \"ariaRequired\",\n \"ariaRoleDescription\",\n \"ariaRowCount\",\n \"ariaRowIndex\",\n \"ariaRowSpan\",\n \"ariaSelected\",\n \"ariaSetSize\",\n \"ariaSort\",\n \"ariaValueMax\",\n \"ariaValueMin\",\n \"ariaValueNow\",\n \"ariaValueText\",\n \"arrayBuffer\",\n \"artist\",\n \"artwork\",\n \"as\",\n \"asIntN\",\n \"asUintN\",\n \"asin\",\n \"asinh\",\n \"assert\",\n \"assign\",\n \"assignedElements\",\n \"assignedNodes\",\n \"assignedSlot\",\n \"async\",\n \"asyncIterator\",\n \"atEnd\",\n \"atan\",\n \"atan2\",\n \"atanh\",\n \"atob\",\n \"attachEvent\",\n \"attachInternals\",\n \"attachShader\",\n \"attachShadow\",\n \"attachments\",\n \"attack\",\n \"attestationObject\",\n \"attrChange\",\n \"attrName\",\n \"attributeFilter\",\n \"attributeName\",\n \"attributeNamespace\",\n \"attributeOldValue\",\n \"attributeStyleMap\",\n \"attributes\",\n \"attribution\",\n \"audioBitsPerSecond\",\n \"audioTracks\",\n \"audioWorklet\",\n \"authenticatedSignedWrites\",\n \"authenticatorData\",\n \"autoIncrement\",\n \"autobuffer\",\n \"autocapitalize\",\n \"autocomplete\",\n \"autocorrect\",\n \"autofocus\",\n \"automationRate\",\n \"autoplay\",\n \"availHeight\",\n \"availLeft\",\n \"availTop\",\n \"availWidth\",\n \"availability\",\n \"available\",\n \"aversion\",\n \"ax\",\n \"axes\",\n \"axis\",\n \"ay\",\n \"azimuth\",\n \"b\",\n \"back\",\n \"backface-visibility\",\n \"backfaceVisibility\",\n \"background\",\n \"background-attachment\",\n \"background-blend-mode\",\n \"background-clip\",\n \"background-color\",\n \"background-image\",\n \"background-origin\",\n \"background-position\",\n \"background-position-x\",\n \"background-position-y\",\n \"background-repeat\",\n \"background-size\",\n \"backgroundAttachment\",\n \"backgroundBlendMode\",\n \"backgroundClip\",\n \"backgroundColor\",\n \"backgroundFetch\",\n \"backgroundImage\",\n \"backgroundOrigin\",\n \"backgroundPosition\",\n \"backgroundPositionX\",\n \"backgroundPositionY\",\n \"backgroundRepeat\",\n \"backgroundSize\",\n \"badInput\",\n \"badge\",\n \"balance\",\n \"baseFrequencyX\",\n \"baseFrequencyY\",\n \"baseLatency\",\n \"baseLayer\",\n \"baseNode\",\n \"baseOffset\",\n \"baseURI\",\n \"baseVal\",\n \"baselineShift\",\n \"battery\",\n \"bday\",\n \"before\",\n \"beginElement\",\n \"beginElementAt\",\n \"beginPath\",\n \"beginQuery\",\n \"beginTransformFeedback\",\n \"behavior\",\n \"behaviorCookie\",\n \"behaviorPart\",\n \"behaviorUrns\",\n \"beta\",\n \"bezierCurveTo\",\n \"bgColor\",\n \"bgProperties\",\n \"bias\",\n \"big\",\n \"bigint64\",\n \"biguint64\",\n \"binaryType\",\n \"bind\",\n \"bindAttribLocation\",\n \"bindBuffer\",\n \"bindBufferBase\",\n \"bindBufferRange\",\n \"bindFramebuffer\",\n \"bindRenderbuffer\",\n \"bindSampler\",\n \"bindTexture\",\n \"bindTransformFeedback\",\n \"bindVertexArray\",\n \"bitness\",\n \"blendColor\",\n \"blendEquation\",\n \"blendEquationSeparate\",\n \"blendFunc\",\n \"blendFuncSeparate\",\n \"blink\",\n \"blitFramebuffer\",\n \"blob\",\n \"block-size\",\n \"blockDirection\",\n \"blockSize\",\n \"blockedURI\",\n \"blue\",\n \"bluetooth\",\n \"blur\",\n \"body\",\n \"bodyUsed\",\n \"bold\",\n \"bookmarks\",\n \"booleanValue\",\n \"border\",\n \"border-block\",\n \"border-block-color\",\n \"border-block-end\",\n \"border-block-end-color\",\n \"border-block-end-style\",\n \"border-block-end-width\",\n \"border-block-start\",\n \"border-block-start-color\",\n \"border-block-start-style\",\n \"border-block-start-width\",\n \"border-block-style\",\n \"border-block-width\",\n \"border-bottom\",\n \"border-bottom-color\",\n \"border-bottom-left-radius\",\n \"border-bottom-right-radius\",\n \"border-bottom-style\",\n \"border-bottom-width\",\n \"border-collapse\",\n \"border-color\",\n \"border-end-end-radius\",\n \"border-end-start-radius\",\n \"border-image\",\n \"border-image-outset\",\n \"border-image-repeat\",\n \"border-image-slice\",\n \"border-image-source\",\n \"border-image-width\",\n \"border-inline\",\n \"border-inline-color\",\n \"border-inline-end\",\n \"border-inline-end-color\",\n \"border-inline-end-style\",\n \"border-inline-end-width\",\n \"border-inline-start\",\n \"border-inline-start-color\",\n \"border-inline-start-style\",\n \"border-inline-start-width\",\n \"border-inline-style\",\n \"border-inline-width\",\n \"border-left\",\n \"border-left-color\",\n \"border-left-style\",\n \"border-left-width\",\n \"border-radius\",\n \"border-right\",\n \"border-right-color\",\n \"border-right-style\",\n \"border-right-width\",\n \"border-spacing\",\n \"border-start-end-radius\",\n \"border-start-start-radius\",\n \"border-style\",\n \"border-top\",\n \"border-top-color\",\n \"border-top-left-radius\",\n \"border-top-right-radius\",\n \"border-top-style\",\n \"border-top-width\",\n \"border-width\",\n \"borderBlock\",\n \"borderBlockColor\",\n \"borderBlockEnd\",\n \"borderBlockEndColor\",\n \"borderBlockEndStyle\",\n \"borderBlockEndWidth\",\n \"borderBlockStart\",\n \"borderBlockStartColor\",\n \"borderBlockStartStyle\",\n \"borderBlockStartWidth\",\n \"borderBlockStyle\",\n \"borderBlockWidth\",\n \"borderBottom\",\n \"borderBottomColor\",\n \"borderBottomLeftRadius\",\n \"borderBottomRightRadius\",\n \"borderBottomStyle\",\n \"borderBottomWidth\",\n \"borderBoxSize\",\n \"borderCollapse\",\n \"borderColor\",\n \"borderColorDark\",\n \"borderColorLight\",\n \"borderEndEndRadius\",\n \"borderEndStartRadius\",\n \"borderImage\",\n \"borderImageOutset\",\n \"borderImageRepeat\",\n \"borderImageSlice\",\n \"borderImageSource\",\n \"borderImageWidth\",\n \"borderInline\",\n \"borderInlineColor\",\n \"borderInlineEnd\",\n \"borderInlineEndColor\",\n \"borderInlineEndStyle\",\n \"borderInlineEndWidth\",\n \"borderInlineStart\",\n \"borderInlineStartColor\",\n \"borderInlineStartStyle\",\n \"borderInlineStartWidth\",\n \"borderInlineStyle\",\n \"borderInlineWidth\",\n \"borderLeft\",\n \"borderLeftColor\",\n \"borderLeftStyle\",\n \"borderLeftWidth\",\n \"borderRadius\",\n \"borderRight\",\n \"borderRightColor\",\n \"borderRightStyle\",\n \"borderRightWidth\",\n \"borderSpacing\",\n \"borderStartEndRadius\",\n \"borderStartStartRadius\",\n \"borderStyle\",\n \"borderTop\",\n \"borderTopColor\",\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\",\n \"borderTopStyle\",\n \"borderTopWidth\",\n \"borderWidth\",\n \"bottom\",\n \"bottomMargin\",\n \"bound\",\n \"boundElements\",\n \"boundingClientRect\",\n \"boundingHeight\",\n \"boundingLeft\",\n \"boundingTop\",\n \"boundingWidth\",\n \"bounds\",\n \"boundsGeometry\",\n \"box-decoration-break\",\n \"box-shadow\",\n \"box-sizing\",\n \"boxDecorationBreak\",\n \"boxShadow\",\n \"boxSizing\",\n \"brand\",\n \"brands\",\n \"break-after\",\n \"break-before\",\n \"break-inside\",\n \"breakAfter\",\n \"breakBefore\",\n \"breakInside\",\n \"broadcast\",\n \"browserLanguage\",\n \"btoa\",\n \"bubbles\",\n \"buffer\",\n \"bufferData\",\n \"bufferDepth\",\n \"bufferSize\",\n \"bufferSubData\",\n \"buffered\",\n \"bufferedAmount\",\n \"bufferedAmountLowThreshold\",\n \"buildID\",\n \"buildNumber\",\n \"button\",\n \"buttonID\",\n \"buttons\",\n \"byteLength\",\n \"byteOffset\",\n \"bytesWritten\",\n \"c\",\n \"cache\",\n \"caches\",\n \"call\",\n \"caller\",\n \"canBeFormatted\",\n \"canBeMounted\",\n \"canBeShared\",\n \"canHaveChildren\",\n \"canHaveHTML\",\n \"canInsertDTMF\",\n \"canMakePayment\",\n \"canPlayType\",\n \"canPresent\",\n \"canTrickleIceCandidates\",\n \"cancel\",\n \"cancelAndHoldAtTime\",\n \"cancelAnimationFrame\",\n \"cancelBubble\",\n \"cancelIdleCallback\",\n \"cancelScheduledValues\",\n \"cancelVideoFrameCallback\",\n \"cancelWatchAvailability\",\n \"cancelable\",\n \"candidate\",\n \"canonicalUUID\",\n \"canvas\",\n \"capabilities\",\n \"caption\",\n \"caption-side\",\n \"captionSide\",\n \"capture\",\n \"captureEvents\",\n \"captureStackTrace\",\n \"captureStream\",\n \"caret-color\",\n \"caretBidiLevel\",\n \"caretColor\",\n \"caretPositionFromPoint\",\n \"caretRangeFromPoint\",\n \"cast\",\n \"catch\",\n \"category\",\n \"cbrt\",\n \"cd\",\n \"ceil\",\n \"cellIndex\",\n \"cellPadding\",\n \"cellSpacing\",\n \"cells\",\n \"ch\",\n \"chOff\",\n \"chain\",\n \"challenge\",\n \"changeType\",\n \"changedTouches\",\n \"channel\",\n \"channelCount\",\n \"channelCountMode\",\n \"channelInterpretation\",\n \"char\",\n \"charAt\",\n \"charCode\",\n \"charCodeAt\",\n \"charIndex\",\n \"charLength\",\n \"characterData\",\n \"characterDataOldValue\",\n \"characterSet\",\n \"characteristic\",\n \"charging\",\n \"chargingTime\",\n \"charset\",\n \"check\",\n \"checkEnclosure\",\n \"checkFramebufferStatus\",\n \"checkIntersection\",\n \"checkValidity\",\n \"checked\",\n \"childElementCount\",\n \"childList\",\n \"childNodes\",\n \"children\",\n \"chrome\",\n \"ciphertext\",\n \"cite\",\n \"city\",\n \"claimInterface\",\n \"claimed\",\n \"classList\",\n \"className\",\n \"classid\",\n \"clear\",\n \"clearAppBadge\",\n \"clearAttributes\",\n \"clearBufferfi\",\n \"clearBufferfv\",\n \"clearBufferiv\",\n \"clearBufferuiv\",\n \"clearColor\",\n \"clearData\",\n \"clearDepth\",\n \"clearHalt\",\n \"clearImmediate\",\n \"clearInterval\",\n \"clearLiveSeekableRange\",\n \"clearMarks\",\n \"clearMaxGCPauseAccumulator\",\n \"clearMeasures\",\n \"clearParameters\",\n \"clearRect\",\n \"clearResourceTimings\",\n \"clearShadow\",\n \"clearStencil\",\n \"clearTimeout\",\n \"clearWatch\",\n \"click\",\n \"clickCount\",\n \"clientDataJSON\",\n \"clientHeight\",\n \"clientInformation\",\n \"clientLeft\",\n \"clientRect\",\n \"clientRects\",\n \"clientTop\",\n \"clientWaitSync\",\n \"clientWidth\",\n \"clientX\",\n \"clientY\",\n \"clip\",\n \"clip-path\",\n \"clip-rule\",\n \"clipBottom\",\n \"clipLeft\",\n \"clipPath\",\n \"clipPathUnits\",\n \"clipRight\",\n \"clipRule\",\n \"clipTop\",\n \"clipboard\",\n \"clipboardData\",\n \"clone\",\n \"cloneContents\",\n \"cloneNode\",\n \"cloneRange\",\n \"close\",\n \"closePath\",\n \"closed\",\n \"closest\",\n \"clz\",\n \"clz32\",\n \"cm\",\n \"cmp\",\n \"code\",\n \"codeBase\",\n \"codePointAt\",\n \"codeType\",\n \"colSpan\",\n \"collapse\",\n \"collapseToEnd\",\n \"collapseToStart\",\n \"collapsed\",\n \"collect\",\n \"colno\",\n \"color\",\n \"color-adjust\",\n \"color-interpolation\",\n \"color-interpolation-filters\",\n \"colorAdjust\",\n \"colorDepth\",\n \"colorInterpolation\",\n \"colorInterpolationFilters\",\n \"colorMask\",\n \"colorType\",\n \"cols\",\n \"column-count\",\n \"column-fill\",\n \"column-gap\",\n \"column-rule\",\n \"column-rule-color\",\n \"column-rule-style\",\n \"column-rule-width\",\n \"column-span\",\n \"column-width\",\n \"columnCount\",\n \"columnFill\",\n \"columnGap\",\n \"columnNumber\",\n \"columnRule\",\n \"columnRuleColor\",\n \"columnRuleStyle\",\n \"columnRuleWidth\",\n \"columnSpan\",\n \"columnWidth\",\n \"columns\",\n \"command\",\n \"commit\",\n \"commitPreferences\",\n \"commitStyles\",\n \"commonAncestorContainer\",\n \"compact\",\n \"compareBoundaryPoints\",\n \"compareDocumentPosition\",\n \"compareEndPoints\",\n \"compareExchange\",\n \"compareNode\",\n \"comparePoint\",\n \"compatMode\",\n \"compatible\",\n \"compile\",\n \"compileShader\",\n \"compileStreaming\",\n \"complete\",\n \"component\",\n \"componentFromPoint\",\n \"composed\",\n \"composedPath\",\n \"composite\",\n \"compositionEndOffset\",\n \"compositionStartOffset\",\n \"compressedTexImage2D\",\n \"compressedTexImage3D\",\n \"compressedTexSubImage2D\",\n \"compressedTexSubImage3D\",\n \"computedStyleMap\",\n \"concat\",\n \"conditionText\",\n \"coneInnerAngle\",\n \"coneOuterAngle\",\n \"coneOuterGain\",\n \"configuration\",\n \"configurationName\",\n \"configurationValue\",\n \"configurations\",\n \"confirm\",\n \"confirmComposition\",\n \"confirmSiteSpecificTrackingException\",\n \"confirmWebWideTrackingException\",\n \"connect\",\n \"connectEnd\",\n \"connectShark\",\n \"connectStart\",\n \"connected\",\n \"connection\",\n \"connectionList\",\n \"connectionSpeed\",\n \"connectionState\",\n \"connections\",\n \"console\",\n \"consolidate\",\n \"constraint\",\n \"constrictionActive\",\n \"construct\",\n \"constructor\",\n \"contactID\",\n \"contain\",\n \"containerId\",\n \"containerName\",\n \"containerSrc\",\n \"containerType\",\n \"contains\",\n \"containsNode\",\n \"content\",\n \"contentBoxSize\",\n \"contentDocument\",\n \"contentEditable\",\n \"contentHint\",\n \"contentOverflow\",\n \"contentRect\",\n \"contentScriptType\",\n \"contentStyleType\",\n \"contentType\",\n \"contentWindow\",\n \"context\",\n \"contextMenu\",\n \"contextmenu\",\n \"continue\",\n \"continuePrimaryKey\",\n \"continuous\",\n \"control\",\n \"controlTransferIn\",\n \"controlTransferOut\",\n \"controller\",\n \"controls\",\n \"controlsList\",\n \"convertPointFromNode\",\n \"convertQuadFromNode\",\n \"convertRectFromNode\",\n \"convertToBlob\",\n \"convertToSpecifiedUnits\",\n \"cookie\",\n \"cookieEnabled\",\n \"coords\",\n \"copyBufferSubData\",\n \"copyFromChannel\",\n \"copyTexImage2D\",\n \"copyTexSubImage2D\",\n \"copyTexSubImage3D\",\n \"copyToChannel\",\n \"copyWithin\",\n \"correspondingElement\",\n \"correspondingUseElement\",\n \"corruptedVideoFrames\",\n \"cos\",\n \"cosh\",\n \"count\",\n \"countReset\",\n \"counter-increment\",\n \"counter-reset\",\n \"counter-set\",\n \"counterIncrement\",\n \"counterReset\",\n \"counterSet\",\n \"country\",\n \"cpuClass\",\n \"cpuSleepAllowed\",\n \"create\",\n \"createAnalyser\",\n \"createAnswer\",\n \"createAttribute\",\n \"createAttributeNS\",\n \"createBiquadFilter\",\n \"createBuffer\",\n \"createBufferSource\",\n \"createCDATASection\",\n \"createCSSStyleSheet\",\n \"createCaption\",\n \"createChannelMerger\",\n \"createChannelSplitter\",\n \"createComment\",\n \"createConstantSource\",\n \"createContextualFragment\",\n \"createControlRange\",\n \"createConvolver\",\n \"createDTMFSender\",\n \"createDataChannel\",\n \"createDelay\",\n \"createDelayNode\",\n \"createDocument\",\n \"createDocumentFragment\",\n \"createDocumentType\",\n \"createDynamicsCompressor\",\n \"createElement\",\n \"createElementNS\",\n \"createEntityReference\",\n \"createEvent\",\n \"createEventObject\",\n \"createExpression\",\n \"createFramebuffer\",\n \"createFunction\",\n \"createGain\",\n \"createGainNode\",\n \"createHTML\",\n \"createHTMLDocument\",\n \"createIIRFilter\",\n \"createImageBitmap\",\n \"createImageData\",\n \"createIndex\",\n \"createJavaScriptNode\",\n \"createLinearGradient\",\n \"createMediaElementSource\",\n \"createMediaKeys\",\n \"createMediaStreamDestination\",\n \"createMediaStreamSource\",\n \"createMediaStreamTrackSource\",\n \"createMutableFile\",\n \"createNSResolver\",\n \"createNodeIterator\",\n \"createNotification\",\n \"createObjectStore\",\n \"createObjectURL\",\n \"createOffer\",\n \"createOscillator\",\n \"createPanner\",\n \"createPattern\",\n \"createPeriodicWave\",\n \"createPolicy\",\n \"createPopup\",\n \"createProcessingInstruction\",\n \"createProgram\",\n \"createQuery\",\n \"createRadialGradient\",\n \"createRange\",\n \"createRangeCollection\",\n \"createReader\",\n \"createRenderbuffer\",\n \"createSVGAngle\",\n \"createSVGLength\",\n \"createSVGMatrix\",\n \"createSVGNumber\",\n \"createSVGPathSegArcAbs\",\n \"createSVGPathSegArcRel\",\n \"createSVGPathSegClosePath\",\n \"createSVGPathSegCurvetoCubicAbs\",\n \"createSVGPathSegCurvetoCubicRel\",\n \"createSVGPathSegCurvetoCubicSmoothAbs\",\n \"createSVGPathSegCurvetoCubicSmoothRel\",\n \"createSVGPathSegCurvetoQuadraticAbs\",\n \"createSVGPathSegCurvetoQuadraticRel\",\n \"createSVGPathSegCurvetoQuadraticSmoothAbs\",\n \"createSVGPathSegCurvetoQuadraticSmoothRel\",\n \"createSVGPathSegLinetoAbs\",\n \"createSVGPathSegLinetoHorizontalAbs\",\n \"createSVGPathSegLinetoHorizontalRel\",\n \"createSVGPathSegLinetoRel\",\n \"createSVGPathSegLinetoVerticalAbs\",\n \"createSVGPathSegLinetoVerticalRel\",\n \"createSVGPathSegMovetoAbs\",\n \"createSVGPathSegMovetoRel\",\n \"createSVGPoint\",\n \"createSVGRect\",\n \"createSVGTransform\",\n \"createSVGTransformFromMatrix\",\n \"createSampler\",\n \"createScript\",\n \"createScriptProcessor\",\n \"createScriptURL\",\n \"createSession\",\n \"createShader\",\n \"createShadowRoot\",\n \"createStereoPanner\",\n \"createStyleSheet\",\n \"createTBody\",\n \"createTFoot\",\n \"createTHead\",\n \"createTextNode\",\n \"createTextRange\",\n \"createTexture\",\n \"createTouch\",\n \"createTouchList\",\n \"createTransformFeedback\",\n \"createTreeWalker\",\n \"createVertexArray\",\n \"createWaveShaper\",\n \"creationTime\",\n \"credentials\",\n \"crossOrigin\",\n \"crossOriginIsolated\",\n \"crypto\",\n \"csi\",\n \"csp\",\n \"cssFloat\",\n \"cssRules\",\n \"cssText\",\n \"cssValueType\",\n \"ctrlKey\",\n \"ctrlLeft\",\n \"cues\",\n \"cullFace\",\n \"currentDirection\",\n \"currentLocalDescription\",\n \"currentNode\",\n \"currentPage\",\n \"currentRect\",\n \"currentRemoteDescription\",\n \"currentScale\",\n \"currentScript\",\n \"currentSrc\",\n \"currentState\",\n \"currentStyle\",\n \"currentTarget\",\n \"currentTime\",\n \"currentTranslate\",\n \"currentView\",\n \"cursor\",\n \"curve\",\n \"customElements\",\n \"customError\",\n \"cx\",\n \"cy\",\n \"d\",\n \"data\",\n \"dataFld\",\n \"dataFormatAs\",\n \"dataLoss\",\n \"dataLossMessage\",\n \"dataPageSize\",\n \"dataSrc\",\n \"dataTransfer\",\n \"database\",\n \"databases\",\n \"dataset\",\n \"dateTime\",\n \"db\",\n \"debug\",\n \"debuggerEnabled\",\n \"declare\",\n \"decode\",\n \"decodeAudioData\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"decodedBodySize\",\n \"decoding\",\n \"decodingInfo\",\n \"decrypt\",\n \"default\",\n \"defaultCharset\",\n \"defaultChecked\",\n \"defaultMuted\",\n \"defaultPlaybackRate\",\n \"defaultPolicy\",\n \"defaultPrevented\",\n \"defaultRequest\",\n \"defaultSelected\",\n \"defaultStatus\",\n \"defaultURL\",\n \"defaultValue\",\n \"defaultView\",\n \"defaultstatus\",\n \"defer\",\n \"define\",\n \"defineMagicFunction\",\n \"defineMagicVariable\",\n \"defineProperties\",\n \"defineProperty\",\n \"deg\",\n \"delay\",\n \"delayTime\",\n \"delegatesFocus\",\n \"delete\",\n \"deleteBuffer\",\n \"deleteCaption\",\n \"deleteCell\",\n \"deleteContents\",\n \"deleteData\",\n \"deleteDatabase\",\n \"deleteFramebuffer\",\n \"deleteFromDocument\",\n \"deleteIndex\",\n \"deleteMedium\",\n \"deleteObjectStore\",\n \"deleteProgram\",\n \"deleteProperty\",\n \"deleteQuery\",\n \"deleteRenderbuffer\",\n \"deleteRow\",\n \"deleteRule\",\n \"deleteSampler\",\n \"deleteShader\",\n \"deleteSync\",\n \"deleteTFoot\",\n \"deleteTHead\",\n \"deleteTexture\",\n \"deleteTransformFeedback\",\n \"deleteVertexArray\",\n \"deliverChangeRecords\",\n \"delivery\",\n \"deliveryInfo\",\n \"deliveryStatus\",\n \"deliveryTimestamp\",\n \"delta\",\n \"deltaMode\",\n \"deltaX\",\n \"deltaY\",\n \"deltaZ\",\n \"dependentLocality\",\n \"depthFar\",\n \"depthFunc\",\n \"depthMask\",\n \"depthNear\",\n \"depthRange\",\n \"deref\",\n \"deriveBits\",\n \"deriveKey\",\n \"description\",\n \"deselectAll\",\n \"designMode\",\n \"desiredSize\",\n \"destination\",\n \"destinationURL\",\n \"detach\",\n \"detachEvent\",\n \"detachShader\",\n \"detail\",\n \"details\",\n \"detect\",\n \"detune\",\n \"device\",\n \"deviceClass\",\n \"deviceId\",\n \"deviceMemory\",\n \"devicePixelContentBoxSize\",\n \"devicePixelRatio\",\n \"deviceProtocol\",\n \"deviceSubclass\",\n \"deviceVersionMajor\",\n \"deviceVersionMinor\",\n \"deviceVersionSubminor\",\n \"deviceXDPI\",\n \"deviceYDPI\",\n \"didTimeout\",\n \"diffuseConstant\",\n \"digest\",\n \"dimensions\",\n \"dir\",\n \"dirName\",\n \"direction\",\n \"dirxml\",\n \"disable\",\n \"disablePictureInPicture\",\n \"disableRemotePlayback\",\n \"disableVertexAttribArray\",\n \"disabled\",\n \"dischargingTime\",\n \"disconnect\",\n \"disconnectShark\",\n \"dispatchEvent\",\n \"display\",\n \"displayId\",\n \"displayName\",\n \"disposition\",\n \"distanceModel\",\n \"div\",\n \"divisor\",\n \"djsapi\",\n \"djsproxy\",\n \"doImport\",\n \"doNotTrack\",\n \"doScroll\",\n \"doctype\",\n \"document\",\n \"documentElement\",\n \"documentMode\",\n \"documentURI\",\n \"dolphin\",\n \"dolphinGameCenter\",\n \"dolphininfo\",\n \"dolphinmeta\",\n \"domComplete\",\n \"domContentLoadedEventEnd\",\n \"domContentLoadedEventStart\",\n \"domInteractive\",\n \"domLoading\",\n \"domOverlayState\",\n \"domain\",\n \"domainLookupEnd\",\n \"domainLookupStart\",\n \"dominant-baseline\",\n \"dominantBaseline\",\n \"done\",\n \"dopplerFactor\",\n \"dotAll\",\n \"downDegrees\",\n \"downlink\",\n \"download\",\n \"downloadTotal\",\n \"downloaded\",\n \"dpcm\",\n \"dpi\",\n \"dppx\",\n \"dragDrop\",\n \"draggable\",\n \"drawArrays\",\n \"drawArraysInstanced\",\n \"drawArraysInstancedANGLE\",\n \"drawBuffers\",\n \"drawCustomFocusRing\",\n \"drawElements\",\n \"drawElementsInstanced\",\n \"drawElementsInstancedANGLE\",\n \"drawFocusIfNeeded\",\n \"drawImage\",\n \"drawImageFromRect\",\n \"drawRangeElements\",\n \"drawSystemFocusRing\",\n \"drawingBufferHeight\",\n \"drawingBufferWidth\",\n \"dropEffect\",\n \"droppedVideoFrames\",\n \"dropzone\",\n \"dtmf\",\n \"dump\",\n \"dumpProfile\",\n \"duplicate\",\n \"durability\",\n \"duration\",\n \"dvname\",\n \"dvnum\",\n \"dx\",\n \"dy\",\n \"dynsrc\",\n \"e\",\n \"edgeMode\",\n \"effect\",\n \"effectAllowed\",\n \"effectiveDirective\",\n \"effectiveType\",\n \"elapsedTime\",\n \"element\",\n \"elementFromPoint\",\n \"elementTiming\",\n \"elements\",\n \"elementsFromPoint\",\n \"elevation\",\n \"ellipse\",\n \"em\",\n \"email\",\n \"embeds\",\n \"emma\",\n \"empty\",\n \"empty-cells\",\n \"emptyCells\",\n \"emptyHTML\",\n \"emptyScript\",\n \"emulatedPosition\",\n \"enable\",\n \"enableBackground\",\n \"enableDelegations\",\n \"enableStyleSheetsForSet\",\n \"enableVertexAttribArray\",\n \"enabled\",\n \"enabledPlugin\",\n \"encode\",\n \"encodeInto\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"encodedBodySize\",\n \"encoding\",\n \"encodingInfo\",\n \"encrypt\",\n \"enctype\",\n \"end\",\n \"endContainer\",\n \"endElement\",\n \"endElementAt\",\n \"endOfStream\",\n \"endOffset\",\n \"endQuery\",\n \"endTime\",\n \"endTransformFeedback\",\n \"ended\",\n \"endpoint\",\n \"endpointNumber\",\n \"endpoints\",\n \"endsWith\",\n \"enterKeyHint\",\n \"entities\",\n \"entries\",\n \"entryType\",\n \"enumerate\",\n \"enumerateDevices\",\n \"enumerateEditable\",\n \"environmentBlendMode\",\n \"equals\",\n \"error\",\n \"errorCode\",\n \"errorDetail\",\n \"errorText\",\n \"escape\",\n \"estimate\",\n \"eval\",\n \"evaluate\",\n \"event\",\n \"eventPhase\",\n \"every\",\n \"ex\",\n \"exception\",\n \"exchange\",\n \"exec\",\n \"execCommand\",\n \"execCommandShowHelp\",\n \"execScript\",\n \"exitFullscreen\",\n \"exitPictureInPicture\",\n \"exitPointerLock\",\n \"exitPresent\",\n \"exp\",\n \"expand\",\n \"expandEntityReferences\",\n \"expando\",\n \"expansion\",\n \"expiration\",\n \"expirationTime\",\n \"expires\",\n \"expiryDate\",\n \"explicitOriginalTarget\",\n \"expm1\",\n \"exponent\",\n \"exponentialRampToValueAtTime\",\n \"exportKey\",\n \"exports\",\n \"extend\",\n \"extensions\",\n \"extentNode\",\n \"extentOffset\",\n \"external\",\n \"externalResourcesRequired\",\n \"extractContents\",\n \"extractable\",\n \"eye\",\n \"f\",\n \"face\",\n \"factoryReset\",\n \"failureReason\",\n \"fallback\",\n \"family\",\n \"familyName\",\n \"farthestViewportElement\",\n \"fastSeek\",\n \"fatal\",\n \"featureId\",\n \"featurePolicy\",\n \"featureSettings\",\n \"features\",\n \"fenceSync\",\n \"fetch\",\n \"fetchStart\",\n \"fftSize\",\n \"fgColor\",\n \"fieldOfView\",\n \"file\",\n \"fileCreatedDate\",\n \"fileHandle\",\n \"fileModifiedDate\",\n \"fileName\",\n \"fileSize\",\n \"fileUpdatedDate\",\n \"filename\",\n \"files\",\n \"filesystem\",\n \"fill\",\n \"fill-opacity\",\n \"fill-rule\",\n \"fillLightMode\",\n \"fillOpacity\",\n \"fillRect\",\n \"fillRule\",\n \"fillStyle\",\n \"fillText\",\n \"filter\",\n \"filterResX\",\n \"filterResY\",\n \"filterUnits\",\n \"filters\",\n \"finally\",\n \"find\",\n \"findIndex\",\n \"findRule\",\n \"findText\",\n \"finish\",\n \"finished\",\n \"fireEvent\",\n \"firesTouchEvents\",\n \"firstChild\",\n \"firstElementChild\",\n \"firstPage\",\n \"fixed\",\n \"flags\",\n \"flat\",\n \"flatMap\",\n \"flex\",\n \"flex-basis\",\n \"flex-direction\",\n \"flex-flow\",\n \"flex-grow\",\n \"flex-shrink\",\n \"flex-wrap\",\n \"flexBasis\",\n \"flexDirection\",\n \"flexFlow\",\n \"flexGrow\",\n \"flexShrink\",\n \"flexWrap\",\n \"flipX\",\n \"flipY\",\n \"float\",\n \"float32\",\n \"float64\",\n \"flood-color\",\n \"flood-opacity\",\n \"floodColor\",\n \"floodOpacity\",\n \"floor\",\n \"flush\",\n \"focus\",\n \"focusNode\",\n \"focusOffset\",\n \"font\",\n \"font-family\",\n \"font-feature-settings\",\n \"font-kerning\",\n \"font-language-override\",\n \"font-optical-sizing\",\n \"font-size\",\n \"font-size-adjust\",\n \"font-stretch\",\n \"font-style\",\n \"font-synthesis\",\n \"font-variant\",\n \"font-variant-alternates\",\n \"font-variant-caps\",\n \"font-variant-east-asian\",\n \"font-variant-ligatures\",\n \"font-variant-numeric\",\n \"font-variant-position\",\n \"font-variation-settings\",\n \"font-weight\",\n \"fontFamily\",\n \"fontFeatureSettings\",\n \"fontKerning\",\n \"fontLanguageOverride\",\n \"fontOpticalSizing\",\n \"fontSize\",\n \"fontSizeAdjust\",\n \"fontSmoothingEnabled\",\n \"fontStretch\",\n \"fontStyle\",\n \"fontSynthesis\",\n \"fontVariant\",\n \"fontVariantAlternates\",\n \"fontVariantCaps\",\n \"fontVariantEastAsian\",\n \"fontVariantLigatures\",\n \"fontVariantNumeric\",\n \"fontVariantPosition\",\n \"fontVariationSettings\",\n \"fontWeight\",\n \"fontcolor\",\n \"fontfaces\",\n \"fonts\",\n \"fontsize\",\n \"for\",\n \"forEach\",\n \"force\",\n \"forceRedraw\",\n \"form\",\n \"formAction\",\n \"formData\",\n \"formEnctype\",\n \"formMethod\",\n \"formNoValidate\",\n \"formTarget\",\n \"format\",\n \"formatToParts\",\n \"forms\",\n \"forward\",\n \"forwardX\",\n \"forwardY\",\n \"forwardZ\",\n \"foundation\",\n \"fr\",\n \"fragmentDirective\",\n \"frame\",\n \"frameBorder\",\n \"frameElement\",\n \"frameSpacing\",\n \"framebuffer\",\n \"framebufferHeight\",\n \"framebufferRenderbuffer\",\n \"framebufferTexture2D\",\n \"framebufferTextureLayer\",\n \"framebufferWidth\",\n \"frames\",\n \"freeSpace\",\n \"freeze\",\n \"frequency\",\n \"frequencyBinCount\",\n \"from\",\n \"fromCharCode\",\n \"fromCodePoint\",\n \"fromElement\",\n \"fromEntries\",\n \"fromFloat32Array\",\n \"fromFloat64Array\",\n \"fromMatrix\",\n \"fromPoint\",\n \"fromQuad\",\n \"fromRect\",\n \"frontFace\",\n \"fround\",\n \"fullPath\",\n \"fullScreen\",\n \"fullVersionList\",\n \"fullscreen\",\n \"fullscreenElement\",\n \"fullscreenEnabled\",\n \"fx\",\n \"fy\",\n \"gain\",\n \"gamepad\",\n \"gamma\",\n \"gap\",\n \"gatheringState\",\n \"gatt\",\n \"genderIdentity\",\n \"generateCertificate\",\n \"generateKey\",\n \"generateMipmap\",\n \"generateRequest\",\n \"geolocation\",\n \"gestureObject\",\n \"get\",\n \"getActiveAttrib\",\n \"getActiveUniform\",\n \"getActiveUniformBlockName\",\n \"getActiveUniformBlockParameter\",\n \"getActiveUniforms\",\n \"getAdjacentText\",\n \"getAll\",\n \"getAllKeys\",\n \"getAllResponseHeaders\",\n \"getAllowlistForFeature\",\n \"getAnimations\",\n \"getAsFile\",\n \"getAsString\",\n \"getAttachedShaders\",\n \"getAttribLocation\",\n \"getAttribute\",\n \"getAttributeNS\",\n \"getAttributeNames\",\n \"getAttributeNode\",\n \"getAttributeNodeNS\",\n \"getAttributeType\",\n \"getAudioTracks\",\n \"getAvailability\",\n \"getBBox\",\n \"getBattery\",\n \"getBigInt64\",\n \"getBigUint64\",\n \"getBlob\",\n \"getBookmark\",\n \"getBoundingClientRect\",\n \"getBounds\",\n \"getBoxQuads\",\n \"getBufferParameter\",\n \"getBufferSubData\",\n \"getByteFrequencyData\",\n \"getByteTimeDomainData\",\n \"getCSSCanvasContext\",\n \"getCTM\",\n \"getCandidateWindowClientRect\",\n \"getCanonicalLocales\",\n \"getCapabilities\",\n \"getChannelData\",\n \"getCharNumAtPosition\",\n \"getCharacteristic\",\n \"getCharacteristics\",\n \"getClientExtensionResults\",\n \"getClientRect\",\n \"getClientRects\",\n \"getCoalescedEvents\",\n \"getCompositionAlternatives\",\n \"getComputedStyle\",\n \"getComputedTextLength\",\n \"getComputedTiming\",\n \"getConfiguration\",\n \"getConstraints\",\n \"getContext\",\n \"getContextAttributes\",\n \"getContributingSources\",\n \"getCounterValue\",\n \"getCueAsHTML\",\n \"getCueById\",\n \"getCurrentPosition\",\n \"getCurrentTime\",\n \"getData\",\n \"getDatabaseNames\",\n \"getDate\",\n \"getDay\",\n \"getDefaultComputedStyle\",\n \"getDescriptor\",\n \"getDescriptors\",\n \"getDestinationInsertionPoints\",\n \"getDevices\",\n \"getDirectory\",\n \"getDisplayMedia\",\n \"getDistributedNodes\",\n \"getEditable\",\n \"getElementById\",\n \"getElementsByClassName\",\n \"getElementsByName\",\n \"getElementsByTagName\",\n \"getElementsByTagNameNS\",\n \"getEnclosureList\",\n \"getEndPositionOfChar\",\n \"getEntries\",\n \"getEntriesByName\",\n \"getEntriesByType\",\n \"getError\",\n \"getExtension\",\n \"getExtentOfChar\",\n \"getEyeParameters\",\n \"getFeature\",\n \"getFile\",\n \"getFiles\",\n \"getFilesAndDirectories\",\n \"getFingerprints\",\n \"getFloat32\",\n \"getFloat64\",\n \"getFloatFrequencyData\",\n \"getFloatTimeDomainData\",\n \"getFloatValue\",\n \"getFragDataLocation\",\n \"getFrameData\",\n \"getFramebufferAttachmentParameter\",\n \"getFrequencyResponse\",\n \"getFullYear\",\n \"getGamepads\",\n \"getHighEntropyValues\",\n \"getHitTestResults\",\n \"getHitTestResultsForTransientInput\",\n \"getHours\",\n \"getIdentityAssertion\",\n \"getIds\",\n \"getImageData\",\n \"getIndexedParameter\",\n \"getInstalledRelatedApps\",\n \"getInt16\",\n \"getInt32\",\n \"getInt8\",\n \"getInternalformatParameter\",\n \"getIntersectionList\",\n \"getItem\",\n \"getItems\",\n \"getKey\",\n \"getKeyframes\",\n \"getLayers\",\n \"getLayoutMap\",\n \"getLineDash\",\n \"getLocalCandidates\",\n \"getLocalParameters\",\n \"getLocalStreams\",\n \"getMarks\",\n \"getMatchedCSSRules\",\n \"getMaxGCPauseSinceClear\",\n \"getMeasures\",\n \"getMetadata\",\n \"getMilliseconds\",\n \"getMinutes\",\n \"getModifierState\",\n \"getMonth\",\n \"getNamedItem\",\n \"getNamedItemNS\",\n \"getNativeFramebufferScaleFactor\",\n \"getNotifications\",\n \"getNotifier\",\n \"getNumberOfChars\",\n \"getOffsetReferenceSpace\",\n \"getOutputTimestamp\",\n \"getOverrideHistoryNavigationMode\",\n \"getOverrideStyle\",\n \"getOwnPropertyDescriptor\",\n \"getOwnPropertyDescriptors\",\n \"getOwnPropertyNames\",\n \"getOwnPropertySymbols\",\n \"getParameter\",\n \"getParameters\",\n \"getParent\",\n \"getPathSegAtLength\",\n \"getPhotoCapabilities\",\n \"getPhotoSettings\",\n \"getPointAtLength\",\n \"getPose\",\n \"getPredictedEvents\",\n \"getPreference\",\n \"getPreferenceDefault\",\n \"getPresentationAttribute\",\n \"getPreventDefault\",\n \"getPrimaryService\",\n \"getPrimaryServices\",\n \"getProgramInfoLog\",\n \"getProgramParameter\",\n \"getPropertyCSSValue\",\n \"getPropertyPriority\",\n \"getPropertyShorthand\",\n \"getPropertyType\",\n \"getPropertyValue\",\n \"getPrototypeOf\",\n \"getQuery\",\n \"getQueryParameter\",\n \"getRGBColorValue\",\n \"getRandomValues\",\n \"getRangeAt\",\n \"getReader\",\n \"getReceivers\",\n \"getRectValue\",\n \"getRegistration\",\n \"getRegistrations\",\n \"getRemoteCandidates\",\n \"getRemoteCertificates\",\n \"getRemoteParameters\",\n \"getRemoteStreams\",\n \"getRenderbufferParameter\",\n \"getResponseHeader\",\n \"getRoot\",\n \"getRootNode\",\n \"getRotationOfChar\",\n \"getSVGDocument\",\n \"getSamplerParameter\",\n \"getScreenCTM\",\n \"getSeconds\",\n \"getSelectedCandidatePair\",\n \"getSelection\",\n \"getSenders\",\n \"getService\",\n \"getSettings\",\n \"getShaderInfoLog\",\n \"getShaderParameter\",\n \"getShaderPrecisionFormat\",\n \"getShaderSource\",\n \"getSimpleDuration\",\n \"getSiteIcons\",\n \"getSources\",\n \"getSpeculativeParserUrls\",\n \"getStartPositionOfChar\",\n \"getStartTime\",\n \"getState\",\n \"getStats\",\n \"getStatusForPolicy\",\n \"getStorageUpdates\",\n \"getStreamById\",\n \"getStringValue\",\n \"getSubStringLength\",\n \"getSubscription\",\n \"getSupportedConstraints\",\n \"getSupportedExtensions\",\n \"getSupportedFormats\",\n \"getSyncParameter\",\n \"getSynchronizationSources\",\n \"getTags\",\n \"getTargetRanges\",\n \"getTexParameter\",\n \"getTime\",\n \"getTimezoneOffset\",\n \"getTiming\",\n \"getTotalLength\",\n \"getTrackById\",\n \"getTracks\",\n \"getTransceivers\",\n \"getTransform\",\n \"getTransformFeedbackVarying\",\n \"getTransformToElement\",\n \"getTransports\",\n \"getType\",\n \"getTypeMapping\",\n \"getUTCDate\",\n \"getUTCDay\",\n \"getUTCFullYear\",\n \"getUTCHours\",\n \"getUTCMilliseconds\",\n \"getUTCMinutes\",\n \"getUTCMonth\",\n \"getUTCSeconds\",\n \"getUint16\",\n \"getUint32\",\n \"getUint8\",\n \"getUniform\",\n \"getUniformBlockIndex\",\n \"getUniformIndices\",\n \"getUniformLocation\",\n \"getUserMedia\",\n \"getVRDisplays\",\n \"getValues\",\n \"getVarDate\",\n \"getVariableValue\",\n \"getVertexAttrib\",\n \"getVertexAttribOffset\",\n \"getVideoPlaybackQuality\",\n \"getVideoTracks\",\n \"getViewerPose\",\n \"getViewport\",\n \"getVoices\",\n \"getWakeLockState\",\n \"getWriter\",\n \"getYear\",\n \"givenName\",\n \"global\",\n \"globalAlpha\",\n \"globalCompositeOperation\",\n \"globalThis\",\n \"glyphOrientationHorizontal\",\n \"glyphOrientationVertical\",\n \"glyphRef\",\n \"go\",\n \"grabFrame\",\n \"grad\",\n \"gradientTransform\",\n \"gradientUnits\",\n \"grammars\",\n \"green\",\n \"grid\",\n \"grid-area\",\n \"grid-auto-columns\",\n \"grid-auto-flow\",\n \"grid-auto-rows\",\n \"grid-column\",\n \"grid-column-end\",\n \"grid-column-gap\",\n \"grid-column-start\",\n \"grid-gap\",\n \"grid-row\",\n \"grid-row-end\",\n \"grid-row-gap\",\n \"grid-row-start\",\n \"grid-template\",\n \"grid-template-areas\",\n \"grid-template-columns\",\n \"grid-template-rows\",\n \"gridArea\",\n \"gridAutoColumns\",\n \"gridAutoFlow\",\n \"gridAutoRows\",\n \"gridColumn\",\n \"gridColumnEnd\",\n \"gridColumnGap\",\n \"gridColumnStart\",\n \"gridGap\",\n \"gridRow\",\n \"gridRowEnd\",\n \"gridRowGap\",\n \"gridRowStart\",\n \"gridTemplate\",\n \"gridTemplateAreas\",\n \"gridTemplateColumns\",\n \"gridTemplateRows\",\n \"gripSpace\",\n \"group\",\n \"groupCollapsed\",\n \"groupEnd\",\n \"groupId\",\n \"hadRecentInput\",\n \"hand\",\n \"handedness\",\n \"hapticActuators\",\n \"hardwareConcurrency\",\n \"has\",\n \"hasAttribute\",\n \"hasAttributeNS\",\n \"hasAttributes\",\n \"hasBeenActive\",\n \"hasChildNodes\",\n \"hasComposition\",\n \"hasEnrolledInstrument\",\n \"hasExtension\",\n \"hasExternalDisplay\",\n \"hasFeature\",\n \"hasFocus\",\n \"hasInstance\",\n \"hasLayout\",\n \"hasOrientation\",\n \"hasOwnProperty\",\n \"hasPointerCapture\",\n \"hasPosition\",\n \"hasReading\",\n \"hasStorageAccess\",\n \"hash\",\n \"head\",\n \"headers\",\n \"heading\",\n \"height\",\n \"hidden\",\n \"hide\",\n \"hideFocus\",\n \"high\",\n \"highWaterMark\",\n \"hint\",\n \"history\",\n \"honorificPrefix\",\n \"honorificSuffix\",\n \"horizontalOverflow\",\n \"host\",\n \"hostCandidate\",\n \"hostname\",\n \"href\",\n \"hrefTranslate\",\n \"hreflang\",\n \"hspace\",\n \"html5TagCheckInerface\",\n \"htmlFor\",\n \"htmlText\",\n \"httpEquiv\",\n \"httpRequestStatusCode\",\n \"hwTimestamp\",\n \"hyphens\",\n \"hypot\",\n \"iccId\",\n \"iceConnectionState\",\n \"iceGatheringState\",\n \"iceTransport\",\n \"icon\",\n \"iconURL\",\n \"id\",\n \"identifier\",\n \"identity\",\n \"idpLoginUrl\",\n \"ignoreBOM\",\n \"ignoreCase\",\n \"ignoreDepthValues\",\n \"image-orientation\",\n \"image-rendering\",\n \"imageHeight\",\n \"imageOrientation\",\n \"imageRendering\",\n \"imageSizes\",\n \"imageSmoothingEnabled\",\n \"imageSmoothingQuality\",\n \"imageSrcset\",\n \"imageWidth\",\n \"images\",\n \"ime-mode\",\n \"imeMode\",\n \"implementation\",\n \"importKey\",\n \"importNode\",\n \"importStylesheet\",\n \"imports\",\n \"impp\",\n \"imul\",\n \"in\",\n \"in1\",\n \"in2\",\n \"inBandMetadataTrackDispatchType\",\n \"inRange\",\n \"includes\",\n \"incremental\",\n \"indeterminate\",\n \"index\",\n \"indexNames\",\n \"indexOf\",\n \"indexedDB\",\n \"indicate\",\n \"inertiaDestinationX\",\n \"inertiaDestinationY\",\n \"info\",\n \"init\",\n \"initAnimationEvent\",\n \"initBeforeLoadEvent\",\n \"initClipboardEvent\",\n \"initCloseEvent\",\n \"initCommandEvent\",\n \"initCompositionEvent\",\n \"initCustomEvent\",\n \"initData\",\n \"initDataType\",\n \"initDeviceMotionEvent\",\n \"initDeviceOrientationEvent\",\n \"initDragEvent\",\n \"initErrorEvent\",\n \"initEvent\",\n \"initFocusEvent\",\n \"initGestureEvent\",\n \"initHashChangeEvent\",\n \"initKeyEvent\",\n \"initKeyboardEvent\",\n \"initMSManipulationEvent\",\n \"initMessageEvent\",\n \"initMouseEvent\",\n \"initMouseScrollEvent\",\n \"initMouseWheelEvent\",\n \"initMutationEvent\",\n \"initNSMouseEvent\",\n \"initOverflowEvent\",\n \"initPageEvent\",\n \"initPageTransitionEvent\",\n \"initPointerEvent\",\n \"initPopStateEvent\",\n \"initProgressEvent\",\n \"initScrollAreaEvent\",\n \"initSimpleGestureEvent\",\n \"initStorageEvent\",\n \"initTextEvent\",\n \"initTimeEvent\",\n \"initTouchEvent\",\n \"initTransitionEvent\",\n \"initUIEvent\",\n \"initWebKitAnimationEvent\",\n \"initWebKitTransitionEvent\",\n \"initWebKitWheelEvent\",\n \"initWheelEvent\",\n \"initialTime\",\n \"initialize\",\n \"initiatorType\",\n \"inline-size\",\n \"inlineSize\",\n \"inlineVerticalFieldOfView\",\n \"inner\",\n \"innerHTML\",\n \"innerHeight\",\n \"innerText\",\n \"innerWidth\",\n \"input\",\n \"inputBuffer\",\n \"inputEncoding\",\n \"inputMethod\",\n \"inputMode\",\n \"inputSource\",\n \"inputSources\",\n \"inputType\",\n \"inputs\",\n \"insertAdjacentElement\",\n \"insertAdjacentHTML\",\n \"insertAdjacentText\",\n \"insertBefore\",\n \"insertCell\",\n \"insertDTMF\",\n \"insertData\",\n \"insertItemBefore\",\n \"insertNode\",\n \"insertRow\",\n \"insertRule\",\n \"inset\",\n \"inset-block\",\n \"inset-block-end\",\n \"inset-block-start\",\n \"inset-inline\",\n \"inset-inline-end\",\n \"inset-inline-start\",\n \"insetBlock\",\n \"insetBlockEnd\",\n \"insetBlockStart\",\n \"insetInline\",\n \"insetInlineEnd\",\n \"insetInlineStart\",\n \"installing\",\n \"instanceRoot\",\n \"instantiate\",\n \"instantiateStreaming\",\n \"instruments\",\n \"int16\",\n \"int32\",\n \"int8\",\n \"integrity\",\n \"interactionMode\",\n \"intercept\",\n \"interfaceClass\",\n \"interfaceName\",\n \"interfaceNumber\",\n \"interfaceProtocol\",\n \"interfaceSubclass\",\n \"interfaces\",\n \"interimResults\",\n \"internalSubset\",\n \"interpretation\",\n \"intersectionRatio\",\n \"intersectionRect\",\n \"intersectsNode\",\n \"interval\",\n \"invalidIteratorState\",\n \"invalidateFramebuffer\",\n \"invalidateSubFramebuffer\",\n \"inverse\",\n \"invertSelf\",\n \"is\",\n \"is2D\",\n \"isActive\",\n \"isAlternate\",\n \"isArray\",\n \"isBingCurrentSearchDefault\",\n \"isBuffer\",\n \"isCandidateWindowVisible\",\n \"isChar\",\n \"isCollapsed\",\n \"isComposing\",\n \"isConcatSpreadable\",\n \"isConnected\",\n \"isContentEditable\",\n \"isContentHandlerRegistered\",\n \"isContextLost\",\n \"isDefaultNamespace\",\n \"isDirectory\",\n \"isDisabled\",\n \"isEnabled\",\n \"isEqual\",\n \"isEqualNode\",\n \"isExtensible\",\n \"isExternalCTAP2SecurityKeySupported\",\n \"isFile\",\n \"isFinite\",\n \"isFramebuffer\",\n \"isFrozen\",\n \"isGenerator\",\n \"isHTML\",\n \"isHistoryNavigation\",\n \"isId\",\n \"isIdentity\",\n \"isInjected\",\n \"isInteger\",\n \"isIntersecting\",\n \"isLockFree\",\n \"isMap\",\n \"isMultiLine\",\n \"isNaN\",\n \"isOpen\",\n \"isPointInFill\",\n \"isPointInPath\",\n \"isPointInRange\",\n \"isPointInStroke\",\n \"isPrefAlternate\",\n \"isPresenting\",\n \"isPrimary\",\n \"isProgram\",\n \"isPropertyImplicit\",\n \"isProtocolHandlerRegistered\",\n \"isPrototypeOf\",\n \"isQuery\",\n \"isRenderbuffer\",\n \"isSafeInteger\",\n \"isSameNode\",\n \"isSampler\",\n \"isScript\",\n \"isScriptURL\",\n \"isSealed\",\n \"isSecureContext\",\n \"isSessionSupported\",\n \"isShader\",\n \"isSupported\",\n \"isSync\",\n \"isTextEdit\",\n \"isTexture\",\n \"isTransformFeedback\",\n \"isTrusted\",\n \"isTypeSupported\",\n \"isUserVerifyingPlatformAuthenticatorAvailable\",\n \"isVertexArray\",\n \"isView\",\n \"isVisible\",\n \"isochronousTransferIn\",\n \"isochronousTransferOut\",\n \"isolation\",\n \"italics\",\n \"item\",\n \"itemId\",\n \"itemProp\",\n \"itemRef\",\n \"itemScope\",\n \"itemType\",\n \"itemValue\",\n \"items\",\n \"iterateNext\",\n \"iterationComposite\",\n \"iterator\",\n \"javaEnabled\",\n \"jobTitle\",\n \"join\",\n \"json\",\n \"justify-content\",\n \"justify-items\",\n \"justify-self\",\n \"justifyContent\",\n \"justifyItems\",\n \"justifySelf\",\n \"k1\",\n \"k2\",\n \"k3\",\n \"k4\",\n \"kHz\",\n \"keepalive\",\n \"kernelMatrix\",\n \"kernelUnitLengthX\",\n \"kernelUnitLengthY\",\n \"kerning\",\n \"key\",\n \"keyCode\",\n \"keyFor\",\n \"keyIdentifier\",\n \"keyLightEnabled\",\n \"keyLocation\",\n \"keyPath\",\n \"keyStatuses\",\n \"keySystem\",\n \"keyText\",\n \"keyUsage\",\n \"keyboard\",\n \"keys\",\n \"keytype\",\n \"kind\",\n \"knee\",\n \"label\",\n \"labels\",\n \"lang\",\n \"language\",\n \"languages\",\n \"largeArcFlag\",\n \"lastChild\",\n \"lastElementChild\",\n \"lastEventId\",\n \"lastIndex\",\n \"lastIndexOf\",\n \"lastInputTime\",\n \"lastMatch\",\n \"lastMessageSubject\",\n \"lastMessageType\",\n \"lastModified\",\n \"lastModifiedDate\",\n \"lastPage\",\n \"lastParen\",\n \"lastState\",\n \"lastStyleSheetSet\",\n \"latitude\",\n \"layerX\",\n \"layerY\",\n \"layoutFlow\",\n \"layoutGrid\",\n \"layoutGridChar\",\n \"layoutGridLine\",\n \"layoutGridMode\",\n \"layoutGridType\",\n \"lbound\",\n \"left\",\n \"leftContext\",\n \"leftDegrees\",\n \"leftMargin\",\n \"leftProjectionMatrix\",\n \"leftViewMatrix\",\n \"length\",\n \"lengthAdjust\",\n \"lengthComputable\",\n \"letter-spacing\",\n \"letterSpacing\",\n \"level\",\n \"lighting-color\",\n \"lightingColor\",\n \"limitingConeAngle\",\n \"line\",\n \"line-break\",\n \"line-height\",\n \"lineAlign\",\n \"lineBreak\",\n \"lineCap\",\n \"lineDashOffset\",\n \"lineHeight\",\n \"lineJoin\",\n \"lineNumber\",\n \"lineTo\",\n \"lineWidth\",\n \"linearAcceleration\",\n \"linearRampToValueAtTime\",\n \"linearVelocity\",\n \"lineno\",\n \"lines\",\n \"link\",\n \"linkColor\",\n \"linkProgram\",\n \"links\",\n \"list\",\n \"list-style\",\n \"list-style-image\",\n \"list-style-position\",\n \"list-style-type\",\n \"listStyle\",\n \"listStyleImage\",\n \"listStylePosition\",\n \"listStyleType\",\n \"listener\",\n \"load\",\n \"loadEventEnd\",\n \"loadEventStart\",\n \"loadTime\",\n \"loadTimes\",\n \"loaded\",\n \"loading\",\n \"localDescription\",\n \"localName\",\n \"localService\",\n \"localStorage\",\n \"locale\",\n \"localeCompare\",\n \"location\",\n \"locationbar\",\n \"lock\",\n \"locked\",\n \"lockedFile\",\n \"locks\",\n \"log\",\n \"log10\",\n \"log1p\",\n \"log2\",\n \"logicalXDPI\",\n \"logicalYDPI\",\n \"longDesc\",\n \"longitude\",\n \"lookupNamespaceURI\",\n \"lookupPrefix\",\n \"loop\",\n \"loopEnd\",\n \"loopStart\",\n \"looping\",\n \"low\",\n \"lower\",\n \"lowerBound\",\n \"lowerOpen\",\n \"lowsrc\",\n \"m11\",\n \"m12\",\n \"m13\",\n \"m14\",\n \"m21\",\n \"m22\",\n \"m23\",\n \"m24\",\n \"m31\",\n \"m32\",\n \"m33\",\n \"m34\",\n \"m41\",\n \"m42\",\n \"m43\",\n \"m44\",\n \"makeXRCompatible\",\n \"manifest\",\n \"manufacturer\",\n \"manufacturerName\",\n \"map\",\n \"mapping\",\n \"margin\",\n \"margin-block\",\n \"margin-block-end\",\n \"margin-block-start\",\n \"margin-bottom\",\n \"margin-inline\",\n \"margin-inline-end\",\n \"margin-inline-start\",\n \"margin-left\",\n \"margin-right\",\n \"margin-top\",\n \"marginBlock\",\n \"marginBlockEnd\",\n \"marginBlockStart\",\n \"marginBottom\",\n \"marginHeight\",\n \"marginInline\",\n \"marginInlineEnd\",\n \"marginInlineStart\",\n \"marginLeft\",\n \"marginRight\",\n \"marginTop\",\n \"marginWidth\",\n \"mark\",\n \"marker\",\n \"marker-end\",\n \"marker-mid\",\n \"marker-offset\",\n \"marker-start\",\n \"markerEnd\",\n \"markerHeight\",\n \"markerMid\",\n \"markerOffset\",\n \"markerStart\",\n \"markerUnits\",\n \"markerWidth\",\n \"marks\",\n \"mask\",\n \"mask-clip\",\n \"mask-composite\",\n \"mask-image\",\n \"mask-mode\",\n \"mask-origin\",\n \"mask-position\",\n \"mask-position-x\",\n \"mask-position-y\",\n \"mask-repeat\",\n \"mask-size\",\n \"mask-type\",\n \"maskClip\",\n \"maskComposite\",\n \"maskContentUnits\",\n \"maskImage\",\n \"maskMode\",\n \"maskOrigin\",\n \"maskPosition\",\n \"maskPositionX\",\n \"maskPositionY\",\n \"maskRepeat\",\n \"maskSize\",\n \"maskType\",\n \"maskUnits\",\n \"match\",\n \"matchAll\",\n \"matchMedia\",\n \"matchMedium\",\n \"matches\",\n \"matrix\",\n \"matrixTransform\",\n \"max\",\n \"max-block-size\",\n \"max-height\",\n \"max-inline-size\",\n \"max-width\",\n \"maxActions\",\n \"maxAlternatives\",\n \"maxBlockSize\",\n \"maxChannelCount\",\n \"maxChannels\",\n \"maxConnectionsPerServer\",\n \"maxDecibels\",\n \"maxDistance\",\n \"maxHeight\",\n \"maxInlineSize\",\n \"maxLayers\",\n \"maxLength\",\n \"maxMessageSize\",\n \"maxPacketLifeTime\",\n \"maxRetransmits\",\n \"maxTouchPoints\",\n \"maxValue\",\n \"maxWidth\",\n \"measure\",\n \"measureText\",\n \"media\",\n \"mediaCapabilities\",\n \"mediaDevices\",\n \"mediaElement\",\n \"mediaGroup\",\n \"mediaKeys\",\n \"mediaSession\",\n \"mediaStream\",\n \"mediaText\",\n \"meetOrSlice\",\n \"memory\",\n \"menubar\",\n \"mergeAttributes\",\n \"message\",\n \"messageClass\",\n \"messageHandlers\",\n \"messageType\",\n \"metaKey\",\n \"metadata\",\n \"method\",\n \"methodDetails\",\n \"methodName\",\n \"mid\",\n \"mimeType\",\n \"mimeTypes\",\n \"min\",\n \"min-block-size\",\n \"min-height\",\n \"min-inline-size\",\n \"min-width\",\n \"minBlockSize\",\n \"minDecibels\",\n \"minHeight\",\n \"minInlineSize\",\n \"minLength\",\n \"minValue\",\n \"minWidth\",\n \"miterLimit\",\n \"mix-blend-mode\",\n \"mixBlendMode\",\n \"mm\",\n \"mobile\",\n \"mode\",\n \"model\",\n \"modify\",\n \"mount\",\n \"move\",\n \"moveBy\",\n \"moveEnd\",\n \"moveFirst\",\n \"moveFocusDown\",\n \"moveFocusLeft\",\n \"moveFocusRight\",\n \"moveFocusUp\",\n \"moveNext\",\n \"moveRow\",\n \"moveStart\",\n \"moveTo\",\n \"moveToBookmark\",\n \"moveToElementText\",\n \"moveToPoint\",\n \"movementX\",\n \"movementY\",\n \"mozAdd\",\n \"mozAnimationStartTime\",\n \"mozAnon\",\n \"mozApps\",\n \"mozAudioCaptured\",\n \"mozAudioChannelType\",\n \"mozAutoplayEnabled\",\n \"mozCancelAnimationFrame\",\n \"mozCancelFullScreen\",\n \"mozCancelRequestAnimationFrame\",\n \"mozCaptureStream\",\n \"mozCaptureStreamUntilEnded\",\n \"mozClearDataAt\",\n \"mozContact\",\n \"mozContacts\",\n \"mozCreateFileHandle\",\n \"mozCurrentTransform\",\n \"mozCurrentTransformInverse\",\n \"mozCursor\",\n \"mozDash\",\n \"mozDashOffset\",\n \"mozDecodedFrames\",\n \"mozExitPointerLock\",\n \"mozFillRule\",\n \"mozFragmentEnd\",\n \"mozFrameDelay\",\n \"mozFullScreen\",\n \"mozFullScreenElement\",\n \"mozFullScreenEnabled\",\n \"mozGetAll\",\n \"mozGetAllKeys\",\n \"mozGetAsFile\",\n \"mozGetDataAt\",\n \"mozGetMetadata\",\n \"mozGetUserMedia\",\n \"mozHasAudio\",\n \"mozHasItem\",\n \"mozHidden\",\n \"mozImageSmoothingEnabled\",\n \"mozIndexedDB\",\n \"mozInnerScreenX\",\n \"mozInnerScreenY\",\n \"mozInputSource\",\n \"mozIsTextField\",\n \"mozItem\",\n \"mozItemCount\",\n \"mozItems\",\n \"mozLength\",\n \"mozLockOrientation\",\n \"mozMatchesSelector\",\n \"mozMovementX\",\n \"mozMovementY\",\n \"mozOpaque\",\n \"mozOrientation\",\n \"mozPaintCount\",\n \"mozPaintedFrames\",\n \"mozParsedFrames\",\n \"mozPay\",\n \"mozPointerLockElement\",\n \"mozPresentedFrames\",\n \"mozPreservesPitch\",\n \"mozPressure\",\n \"mozPrintCallback\",\n \"mozRTCIceCandidate\",\n \"mozRTCPeerConnection\",\n \"mozRTCSessionDescription\",\n \"mozRemove\",\n \"mozRequestAnimationFrame\",\n \"mozRequestFullScreen\",\n \"mozRequestPointerLock\",\n \"mozSetDataAt\",\n \"mozSetImageElement\",\n \"mozSourceNode\",\n \"mozSrcObject\",\n \"mozSystem\",\n \"mozTCPSocket\",\n \"mozTextStyle\",\n \"mozTypesAt\",\n \"mozUnlockOrientation\",\n \"mozUserCancelled\",\n \"mozVisibilityState\",\n \"ms\",\n \"msAnimation\",\n \"msAnimationDelay\",\n \"msAnimationDirection\",\n \"msAnimationDuration\",\n \"msAnimationFillMode\",\n \"msAnimationIterationCount\",\n \"msAnimationName\",\n \"msAnimationPlayState\",\n \"msAnimationStartTime\",\n \"msAnimationTimingFunction\",\n \"msBackfaceVisibility\",\n \"msBlockProgression\",\n \"msCSSOMElementFloatMetrics\",\n \"msCaching\",\n \"msCachingEnabled\",\n \"msCancelRequestAnimationFrame\",\n \"msCapsLockWarningOff\",\n \"msClearImmediate\",\n \"msClose\",\n \"msContentZoomChaining\",\n \"msContentZoomFactor\",\n \"msContentZoomLimit\",\n \"msContentZoomLimitMax\",\n \"msContentZoomLimitMin\",\n \"msContentZoomSnap\",\n \"msContentZoomSnapPoints\",\n \"msContentZoomSnapType\",\n \"msContentZooming\",\n \"msConvertURL\",\n \"msCrypto\",\n \"msDoNotTrack\",\n \"msElementsFromPoint\",\n \"msElementsFromRect\",\n \"msExitFullscreen\",\n \"msExtendedCode\",\n \"msFillRule\",\n \"msFirstPaint\",\n \"msFlex\",\n \"msFlexAlign\",\n \"msFlexDirection\",\n \"msFlexFlow\",\n \"msFlexItemAlign\",\n \"msFlexLinePack\",\n \"msFlexNegative\",\n \"msFlexOrder\",\n \"msFlexPack\",\n \"msFlexPositive\",\n \"msFlexPreferredSize\",\n \"msFlexWrap\",\n \"msFlowFrom\",\n \"msFlowInto\",\n \"msFontFeatureSettings\",\n \"msFullscreenElement\",\n \"msFullscreenEnabled\",\n \"msGetInputContext\",\n \"msGetRegionContent\",\n \"msGetUntransformedBounds\",\n \"msGraphicsTrustStatus\",\n \"msGridColumn\",\n \"msGridColumnAlign\",\n \"msGridColumnSpan\",\n \"msGridColumns\",\n \"msGridRow\",\n \"msGridRowAlign\",\n \"msGridRowSpan\",\n \"msGridRows\",\n \"msHidden\",\n \"msHighContrastAdjust\",\n \"msHyphenateLimitChars\",\n \"msHyphenateLimitLines\",\n \"msHyphenateLimitZone\",\n \"msHyphens\",\n \"msImageSmoothingEnabled\",\n \"msImeAlign\",\n \"msIndexedDB\",\n \"msInterpolationMode\",\n \"msIsStaticHTML\",\n \"msKeySystem\",\n \"msKeys\",\n \"msLaunchUri\",\n \"msLockOrientation\",\n \"msManipulationViewsEnabled\",\n \"msMatchMedia\",\n \"msMatchesSelector\",\n \"msMaxTouchPoints\",\n \"msOrientation\",\n \"msOverflowStyle\",\n \"msPerspective\",\n \"msPerspectiveOrigin\",\n \"msPlayToDisabled\",\n \"msPlayToPreferredSourceUri\",\n \"msPlayToPrimary\",\n \"msPointerEnabled\",\n \"msRegionOverflow\",\n \"msReleasePointerCapture\",\n \"msRequestAnimationFrame\",\n \"msRequestFullscreen\",\n \"msSaveBlob\",\n \"msSaveOrOpenBlob\",\n \"msScrollChaining\",\n \"msScrollLimit\",\n \"msScrollLimitXMax\",\n \"msScrollLimitXMin\",\n \"msScrollLimitYMax\",\n \"msScrollLimitYMin\",\n \"msScrollRails\",\n \"msScrollSnapPointsX\",\n \"msScrollSnapPointsY\",\n \"msScrollSnapType\",\n \"msScrollSnapX\",\n \"msScrollSnapY\",\n \"msScrollTranslation\",\n \"msSetImmediate\",\n \"msSetMediaKeys\",\n \"msSetPointerCapture\",\n \"msTextCombineHorizontal\",\n \"msTextSizeAdjust\",\n \"msToBlob\",\n \"msTouchAction\",\n \"msTouchSelect\",\n \"msTraceAsyncCallbackCompleted\",\n \"msTraceAsyncCallbackStarting\",\n \"msTraceAsyncOperationCompleted\",\n \"msTraceAsyncOperationStarting\",\n \"msTransform\",\n \"msTransformOrigin\",\n \"msTransformStyle\",\n \"msTransition\",\n \"msTransitionDelay\",\n \"msTransitionDuration\",\n \"msTransitionProperty\",\n \"msTransitionTimingFunction\",\n \"msUnlockOrientation\",\n \"msUpdateAsyncCallbackRelation\",\n \"msUserSelect\",\n \"msVisibilityState\",\n \"msWrapFlow\",\n \"msWrapMargin\",\n \"msWrapThrough\",\n \"msWriteProfilerMark\",\n \"msZoom\",\n \"msZoomTo\",\n \"mt\",\n \"mul\",\n \"multiEntry\",\n \"multiSelectionObj\",\n \"multiline\",\n \"multiple\",\n \"multiply\",\n \"multiplySelf\",\n \"mutableFile\",\n \"muted\",\n \"n\",\n \"name\",\n \"nameProp\",\n \"namedItem\",\n \"namedRecordset\",\n \"names\",\n \"namespaceURI\",\n \"namespaces\",\n \"naturalHeight\",\n \"naturalWidth\",\n \"navigate\",\n \"navigation\",\n \"navigationMode\",\n \"navigationPreload\",\n \"navigationStart\",\n \"navigator\",\n \"near\",\n \"nearestViewportElement\",\n \"negative\",\n \"negotiated\",\n \"netscape\",\n \"networkState\",\n \"newScale\",\n \"newTranslate\",\n \"newURL\",\n \"newValue\",\n \"newValueSpecifiedUnits\",\n \"newVersion\",\n \"newhome\",\n \"next\",\n \"nextElementSibling\",\n \"nextHopProtocol\",\n \"nextNode\",\n \"nextPage\",\n \"nextSibling\",\n \"nickname\",\n \"noHref\",\n \"noModule\",\n \"noResize\",\n \"noShade\",\n \"noValidate\",\n \"noWrap\",\n \"node\",\n \"nodeName\",\n \"nodeType\",\n \"nodeValue\",\n \"nonce\",\n \"normalize\",\n \"normalizedPathSegList\",\n \"notationName\",\n \"notations\",\n \"note\",\n \"noteGrainOn\",\n \"noteOff\",\n \"noteOn\",\n \"notify\",\n \"now\",\n \"numOctaves\",\n \"number\",\n \"numberOfChannels\",\n \"numberOfInputs\",\n \"numberOfItems\",\n \"numberOfOutputs\",\n \"numberValue\",\n \"oMatchesSelector\",\n \"object\",\n \"object-fit\",\n \"object-position\",\n \"objectFit\",\n \"objectPosition\",\n \"objectStore\",\n \"objectStoreNames\",\n \"objectType\",\n \"observe\",\n \"of\",\n \"offscreenBuffering\",\n \"offset\",\n \"offset-anchor\",\n \"offset-distance\",\n \"offset-path\",\n \"offset-rotate\",\n \"offsetAnchor\",\n \"offsetDistance\",\n \"offsetHeight\",\n \"offsetLeft\",\n \"offsetNode\",\n \"offsetParent\",\n \"offsetPath\",\n \"offsetRotate\",\n \"offsetTop\",\n \"offsetWidth\",\n \"offsetX\",\n \"offsetY\",\n \"ok\",\n \"oldURL\",\n \"oldValue\",\n \"oldVersion\",\n \"olderShadowRoot\",\n \"onLine\",\n \"onabort\",\n \"onabsolutedeviceorientation\",\n \"onactivate\",\n \"onactive\",\n \"onaddsourcebuffer\",\n \"onaddstream\",\n \"onaddtrack\",\n \"onafterprint\",\n \"onafterscriptexecute\",\n \"onafterupdate\",\n \"onanimationcancel\",\n \"onanimationend\",\n \"onanimationiteration\",\n \"onanimationstart\",\n \"onappinstalled\",\n \"onaudioend\",\n \"onaudioprocess\",\n \"onaudiostart\",\n \"onautocomplete\",\n \"onautocompleteerror\",\n \"onauxclick\",\n \"onbeforeactivate\",\n \"onbeforecopy\",\n \"onbeforecut\",\n \"onbeforedeactivate\",\n \"onbeforeeditfocus\",\n \"onbeforeinstallprompt\",\n \"onbeforepaste\",\n \"onbeforeprint\",\n \"onbeforescriptexecute\",\n \"onbeforeunload\",\n \"onbeforeupdate\",\n \"onbeforexrselect\",\n \"onbegin\",\n \"onblocked\",\n \"onblur\",\n \"onbounce\",\n \"onboundary\",\n \"onbufferedamountlow\",\n \"oncached\",\n \"oncancel\",\n \"oncandidatewindowhide\",\n \"oncandidatewindowshow\",\n \"oncandidatewindowupdate\",\n \"oncanplay\",\n \"oncanplaythrough\",\n \"once\",\n \"oncellchange\",\n \"onchange\",\n \"oncharacteristicvaluechanged\",\n \"onchargingchange\",\n \"onchargingtimechange\",\n \"onchecking\",\n \"onclick\",\n \"onclose\",\n \"onclosing\",\n \"oncompassneedscalibration\",\n \"oncomplete\",\n \"onconnect\",\n \"onconnecting\",\n \"onconnectionavailable\",\n \"onconnectionstatechange\",\n \"oncontextmenu\",\n \"oncontrollerchange\",\n \"oncontrolselect\",\n \"oncopy\",\n \"oncuechange\",\n \"oncut\",\n \"ondataavailable\",\n \"ondatachannel\",\n \"ondatasetchanged\",\n \"ondatasetcomplete\",\n \"ondblclick\",\n \"ondeactivate\",\n \"ondevicechange\",\n \"ondevicelight\",\n \"ondevicemotion\",\n \"ondeviceorientation\",\n \"ondeviceorientationabsolute\",\n \"ondeviceproximity\",\n \"ondischargingtimechange\",\n \"ondisconnect\",\n \"ondisplay\",\n \"ondownloading\",\n \"ondrag\",\n \"ondragend\",\n \"ondragenter\",\n \"ondragexit\",\n \"ondragleave\",\n \"ondragover\",\n \"ondragstart\",\n \"ondrop\",\n \"ondurationchange\",\n \"onemptied\",\n \"onencrypted\",\n \"onend\",\n \"onended\",\n \"onenter\",\n \"onenterpictureinpicture\",\n \"onerror\",\n \"onerrorupdate\",\n \"onexit\",\n \"onfilterchange\",\n \"onfinish\",\n \"onfocus\",\n \"onfocusin\",\n \"onfocusout\",\n \"onformdata\",\n \"onfreeze\",\n \"onfullscreenchange\",\n \"onfullscreenerror\",\n \"ongatheringstatechange\",\n \"ongattserverdisconnected\",\n \"ongesturechange\",\n \"ongestureend\",\n \"ongesturestart\",\n \"ongotpointercapture\",\n \"onhashchange\",\n \"onhelp\",\n \"onicecandidate\",\n \"onicecandidateerror\",\n \"oniceconnectionstatechange\",\n \"onicegatheringstatechange\",\n \"oninactive\",\n \"oninput\",\n \"oninputsourceschange\",\n \"oninvalid\",\n \"onkeydown\",\n \"onkeypress\",\n \"onkeystatuseschange\",\n \"onkeyup\",\n \"onlanguagechange\",\n \"onlayoutcomplete\",\n \"onleavepictureinpicture\",\n \"onlevelchange\",\n \"onload\",\n \"onloadeddata\",\n \"onloadedmetadata\",\n \"onloadend\",\n \"onloading\",\n \"onloadingdone\",\n \"onloadingerror\",\n \"onloadstart\",\n \"onlosecapture\",\n \"onlostpointercapture\",\n \"only\",\n \"onmark\",\n \"onmessage\",\n \"onmessageerror\",\n \"onmidimessage\",\n \"onmousedown\",\n \"onmouseenter\",\n \"onmouseleave\",\n \"onmousemove\",\n \"onmouseout\",\n \"onmouseover\",\n \"onmouseup\",\n \"onmousewheel\",\n \"onmove\",\n \"onmoveend\",\n \"onmovestart\",\n \"onmozfullscreenchange\",\n \"onmozfullscreenerror\",\n \"onmozorientationchange\",\n \"onmozpointerlockchange\",\n \"onmozpointerlockerror\",\n \"onmscontentzoom\",\n \"onmsfullscreenchange\",\n \"onmsfullscreenerror\",\n \"onmsgesturechange\",\n \"onmsgesturedoubletap\",\n \"onmsgestureend\",\n \"onmsgesturehold\",\n \"onmsgesturestart\",\n \"onmsgesturetap\",\n \"onmsgotpointercapture\",\n \"onmsinertiastart\",\n \"onmslostpointercapture\",\n \"onmsmanipulationstatechanged\",\n \"onmsneedkey\",\n \"onmsorientationchange\",\n \"onmspointercancel\",\n \"onmspointerdown\",\n \"onmspointerenter\",\n \"onmspointerhover\",\n \"onmspointerleave\",\n \"onmspointermove\",\n \"onmspointerout\",\n \"onmspointerover\",\n \"onmspointerup\",\n \"onmssitemodejumplistitemremoved\",\n \"onmsthumbnailclick\",\n \"onmute\",\n \"onnegotiationneeded\",\n \"onnomatch\",\n \"onnoupdate\",\n \"onobsolete\",\n \"onoffline\",\n \"ononline\",\n \"onopen\",\n \"onorientationchange\",\n \"onpagechange\",\n \"onpagehide\",\n \"onpageshow\",\n \"onpaste\",\n \"onpause\",\n \"onpayerdetailchange\",\n \"onpaymentmethodchange\",\n \"onplay\",\n \"onplaying\",\n \"onpluginstreamstart\",\n \"onpointercancel\",\n \"onpointerdown\",\n \"onpointerenter\",\n \"onpointerleave\",\n \"onpointerlockchange\",\n \"onpointerlockerror\",\n \"onpointermove\",\n \"onpointerout\",\n \"onpointerover\",\n \"onpointerrawupdate\",\n \"onpointerup\",\n \"onpopstate\",\n \"onprocessorerror\",\n \"onprogress\",\n \"onpropertychange\",\n \"onratechange\",\n \"onreading\",\n \"onreadystatechange\",\n \"onrejectionhandled\",\n \"onrelease\",\n \"onremove\",\n \"onremovesourcebuffer\",\n \"onremovestream\",\n \"onremovetrack\",\n \"onrepeat\",\n \"onreset\",\n \"onresize\",\n \"onresizeend\",\n \"onresizestart\",\n \"onresourcetimingbufferfull\",\n \"onresult\",\n \"onresume\",\n \"onrowenter\",\n \"onrowexit\",\n \"onrowsdelete\",\n \"onrowsinserted\",\n \"onscroll\",\n \"onsearch\",\n \"onsecuritypolicyviolation\",\n \"onseeked\",\n \"onseeking\",\n \"onselect\",\n \"onselectedcandidatepairchange\",\n \"onselectend\",\n \"onselectionchange\",\n \"onselectstart\",\n \"onshippingaddresschange\",\n \"onshippingoptionchange\",\n \"onshow\",\n \"onsignalingstatechange\",\n \"onsoundend\",\n \"onsoundstart\",\n \"onsourceclose\",\n \"onsourceclosed\",\n \"onsourceended\",\n \"onsourceopen\",\n \"onspeechend\",\n \"onspeechstart\",\n \"onsqueeze\",\n \"onsqueezeend\",\n \"onsqueezestart\",\n \"onstalled\",\n \"onstart\",\n \"onstatechange\",\n \"onstop\",\n \"onstorage\",\n \"onstoragecommit\",\n \"onsubmit\",\n \"onsuccess\",\n \"onsuspend\",\n \"onterminate\",\n \"ontextinput\",\n \"ontimeout\",\n \"ontimeupdate\",\n \"ontoggle\",\n \"ontonechange\",\n \"ontouchcancel\",\n \"ontouchend\",\n \"ontouchmove\",\n \"ontouchstart\",\n \"ontrack\",\n \"ontransitioncancel\",\n \"ontransitionend\",\n \"ontransitionrun\",\n \"ontransitionstart\",\n \"onunhandledrejection\",\n \"onunload\",\n \"onunmute\",\n \"onupdate\",\n \"onupdateend\",\n \"onupdatefound\",\n \"onupdateready\",\n \"onupdatestart\",\n \"onupgradeneeded\",\n \"onuserproximity\",\n \"onversionchange\",\n \"onvisibilitychange\",\n \"onvoiceschanged\",\n \"onvolumechange\",\n \"onvrdisplayactivate\",\n \"onvrdisplayconnect\",\n \"onvrdisplaydeactivate\",\n \"onvrdisplaydisconnect\",\n \"onvrdisplaypresentchange\",\n \"onwaiting\",\n \"onwaitingforkey\",\n \"onwarning\",\n \"onwebkitanimationend\",\n \"onwebkitanimationiteration\",\n \"onwebkitanimationstart\",\n \"onwebkitcurrentplaybacktargetiswirelesschanged\",\n \"onwebkitfullscreenchange\",\n \"onwebkitfullscreenerror\",\n \"onwebkitkeyadded\",\n \"onwebkitkeyerror\",\n \"onwebkitkeymessage\",\n \"onwebkitneedkey\",\n \"onwebkitorientationchange\",\n \"onwebkitplaybacktargetavailabilitychanged\",\n \"onwebkitpointerlockchange\",\n \"onwebkitpointerlockerror\",\n \"onwebkitresourcetimingbufferfull\",\n \"onwebkittransitionend\",\n \"onwheel\",\n \"onzoom\",\n \"opacity\",\n \"open\",\n \"openCursor\",\n \"openDatabase\",\n \"openKeyCursor\",\n \"opened\",\n \"opener\",\n \"opera\",\n \"operationType\",\n \"operator\",\n \"opr\",\n \"optimum\",\n \"options\",\n \"or\",\n \"order\",\n \"orderX\",\n \"orderY\",\n \"ordered\",\n \"org\",\n \"organization\",\n \"orient\",\n \"orientAngle\",\n \"orientType\",\n \"orientation\",\n \"orientationX\",\n \"orientationY\",\n \"orientationZ\",\n \"origin\",\n \"originalPolicy\",\n \"originalTarget\",\n \"orphans\",\n \"oscpu\",\n \"outerHTML\",\n \"outerHeight\",\n \"outerText\",\n \"outerWidth\",\n \"outline\",\n \"outline-color\",\n \"outline-offset\",\n \"outline-style\",\n \"outline-width\",\n \"outlineColor\",\n \"outlineOffset\",\n \"outlineStyle\",\n \"outlineWidth\",\n \"outputBuffer\",\n \"outputChannelCount\",\n \"outputLatency\",\n \"outputs\",\n \"overflow\",\n \"overflow-anchor\",\n \"overflow-block\",\n \"overflow-inline\",\n \"overflow-wrap\",\n \"overflow-x\",\n \"overflow-y\",\n \"overflowAnchor\",\n \"overflowBlock\",\n \"overflowInline\",\n \"overflowWrap\",\n \"overflowX\",\n \"overflowY\",\n \"overrideMimeType\",\n \"oversample\",\n \"overscroll-behavior\",\n \"overscroll-behavior-block\",\n \"overscroll-behavior-inline\",\n \"overscroll-behavior-x\",\n \"overscroll-behavior-y\",\n \"overscrollBehavior\",\n \"overscrollBehaviorBlock\",\n \"overscrollBehaviorInline\",\n \"overscrollBehaviorX\",\n \"overscrollBehaviorY\",\n \"ownKeys\",\n \"ownerDocument\",\n \"ownerElement\",\n \"ownerNode\",\n \"ownerRule\",\n \"ownerSVGElement\",\n \"owningElement\",\n \"p1\",\n \"p2\",\n \"p3\",\n \"p4\",\n \"packetSize\",\n \"packets\",\n \"pad\",\n \"padEnd\",\n \"padStart\",\n \"padding\",\n \"padding-block\",\n \"padding-block-end\",\n \"padding-block-start\",\n \"padding-bottom\",\n \"padding-inline\",\n \"padding-inline-end\",\n \"padding-inline-start\",\n \"padding-left\",\n \"padding-right\",\n \"padding-top\",\n \"paddingBlock\",\n \"paddingBlockEnd\",\n \"paddingBlockStart\",\n \"paddingBottom\",\n \"paddingInline\",\n \"paddingInlineEnd\",\n \"paddingInlineStart\",\n \"paddingLeft\",\n \"paddingRight\",\n \"paddingTop\",\n \"page\",\n \"page-break-after\",\n \"page-break-before\",\n \"page-break-inside\",\n \"pageBreakAfter\",\n \"pageBreakBefore\",\n \"pageBreakInside\",\n \"pageCount\",\n \"pageLeft\",\n \"pageTop\",\n \"pageX\",\n \"pageXOffset\",\n \"pageY\",\n \"pageYOffset\",\n \"pages\",\n \"paint-order\",\n \"paintOrder\",\n \"paintRequests\",\n \"paintType\",\n \"paintWorklet\",\n \"palette\",\n \"pan\",\n \"panningModel\",\n \"parameterData\",\n \"parameters\",\n \"parent\",\n \"parentElement\",\n \"parentNode\",\n \"parentRule\",\n \"parentStyleSheet\",\n \"parentTextEdit\",\n \"parentWindow\",\n \"parse\",\n \"parseAll\",\n \"parseFloat\",\n \"parseFromString\",\n \"parseInt\",\n \"part\",\n \"participants\",\n \"passive\",\n \"password\",\n \"pasteHTML\",\n \"path\",\n \"pathLength\",\n \"pathSegList\",\n \"pathSegType\",\n \"pathSegTypeAsLetter\",\n \"pathname\",\n \"pattern\",\n \"patternContentUnits\",\n \"patternMismatch\",\n \"patternTransform\",\n \"patternUnits\",\n \"pause\",\n \"pauseAnimations\",\n \"pauseOnExit\",\n \"pauseProfilers\",\n \"pauseTransformFeedback\",\n \"paused\",\n \"payerEmail\",\n \"payerName\",\n \"payerPhone\",\n \"paymentManager\",\n \"pc\",\n \"peerIdentity\",\n \"pending\",\n \"pendingLocalDescription\",\n \"pendingRemoteDescription\",\n \"percent\",\n \"performance\",\n \"periodicSync\",\n \"permission\",\n \"permissionState\",\n \"permissions\",\n \"persist\",\n \"persisted\",\n \"personalbar\",\n \"perspective\",\n \"perspective-origin\",\n \"perspectiveOrigin\",\n \"phone\",\n \"phoneticFamilyName\",\n \"phoneticGivenName\",\n \"photo\",\n \"pictureInPictureElement\",\n \"pictureInPictureEnabled\",\n \"pictureInPictureWindow\",\n \"ping\",\n \"pipeThrough\",\n \"pipeTo\",\n \"pitch\",\n \"pixelBottom\",\n \"pixelDepth\",\n \"pixelHeight\",\n \"pixelLeft\",\n \"pixelRight\",\n \"pixelStorei\",\n \"pixelTop\",\n \"pixelUnitToMillimeterX\",\n \"pixelUnitToMillimeterY\",\n \"pixelWidth\",\n \"place-content\",\n \"place-items\",\n \"place-self\",\n \"placeContent\",\n \"placeItems\",\n \"placeSelf\",\n \"placeholder\",\n \"platformVersion\",\n \"platform\",\n \"platforms\",\n \"play\",\n \"playEffect\",\n \"playState\",\n \"playbackRate\",\n \"playbackState\",\n \"playbackTime\",\n \"played\",\n \"playoutDelayHint\",\n \"playsInline\",\n \"plugins\",\n \"pluginspage\",\n \"pname\",\n \"pointer-events\",\n \"pointerBeforeReferenceNode\",\n \"pointerEnabled\",\n \"pointerEvents\",\n \"pointerId\",\n \"pointerLockElement\",\n \"pointerType\",\n \"points\",\n \"pointsAtX\",\n \"pointsAtY\",\n \"pointsAtZ\",\n \"polygonOffset\",\n \"pop\",\n \"populateMatrix\",\n \"popupWindowFeatures\",\n \"popupWindowName\",\n \"popupWindowURI\",\n \"port\",\n \"port1\",\n \"port2\",\n \"ports\",\n \"posBottom\",\n \"posHeight\",\n \"posLeft\",\n \"posRight\",\n \"posTop\",\n \"posWidth\",\n \"pose\",\n \"position\",\n \"positionAlign\",\n \"positionX\",\n \"positionY\",\n \"positionZ\",\n \"postError\",\n \"postMessage\",\n \"postalCode\",\n \"poster\",\n \"pow\",\n \"powerEfficient\",\n \"powerOff\",\n \"preMultiplySelf\",\n \"precision\",\n \"preferredStyleSheetSet\",\n \"preferredStylesheetSet\",\n \"prefix\",\n \"preload\",\n \"prepend\",\n \"presentation\",\n \"preserveAlpha\",\n \"preserveAspectRatio\",\n \"preserveAspectRatioString\",\n \"pressed\",\n \"pressure\",\n \"prevValue\",\n \"preventDefault\",\n \"preventExtensions\",\n \"preventSilentAccess\",\n \"previousElementSibling\",\n \"previousNode\",\n \"previousPage\",\n \"previousRect\",\n \"previousScale\",\n \"previousSibling\",\n \"previousTranslate\",\n \"primaryKey\",\n \"primitiveType\",\n \"primitiveUnits\",\n \"principals\",\n \"print\",\n \"priority\",\n \"privateKey\",\n \"probablySupportsContext\",\n \"process\",\n \"processIceMessage\",\n \"processingEnd\",\n \"processingStart\",\n \"processorOptions\",\n \"product\",\n \"productId\",\n \"productName\",\n \"productSub\",\n \"profile\",\n \"profileEnd\",\n \"profiles\",\n \"projectionMatrix\",\n \"promise\",\n \"prompt\",\n \"properties\",\n \"propertyIsEnumerable\",\n \"propertyName\",\n \"protocol\",\n \"protocolLong\",\n \"prototype\",\n \"provider\",\n \"pseudoClass\",\n \"pseudoElement\",\n \"pt\",\n \"publicId\",\n \"publicKey\",\n \"published\",\n \"pulse\",\n \"push\",\n \"pushManager\",\n \"pushNotification\",\n \"pushState\",\n \"put\",\n \"putImageData\",\n \"px\",\n \"quadraticCurveTo\",\n \"qualifier\",\n \"quaternion\",\n \"query\",\n \"queryCommandEnabled\",\n \"queryCommandIndeterm\",\n \"queryCommandState\",\n \"queryCommandSupported\",\n \"queryCommandText\",\n \"queryCommandValue\",\n \"querySelector\",\n \"querySelectorAll\",\n \"queueMicrotask\",\n \"quote\",\n \"quotes\",\n \"r\",\n \"r1\",\n \"r2\",\n \"race\",\n \"rad\",\n \"radiogroup\",\n \"radiusX\",\n \"radiusY\",\n \"random\",\n \"range\",\n \"rangeCount\",\n \"rangeMax\",\n \"rangeMin\",\n \"rangeOffset\",\n \"rangeOverflow\",\n \"rangeParent\",\n \"rangeUnderflow\",\n \"rate\",\n \"ratio\",\n \"raw\",\n \"rawId\",\n \"read\",\n \"readAsArrayBuffer\",\n \"readAsBinaryString\",\n \"readAsBlob\",\n \"readAsDataURL\",\n \"readAsText\",\n \"readBuffer\",\n \"readEntries\",\n \"readOnly\",\n \"readPixels\",\n \"readReportRequested\",\n \"readText\",\n \"readValue\",\n \"readable\",\n \"ready\",\n \"readyState\",\n \"reason\",\n \"reboot\",\n \"receivedAlert\",\n \"receiver\",\n \"receivers\",\n \"recipient\",\n \"reconnect\",\n \"recordNumber\",\n \"recordsAvailable\",\n \"recordset\",\n \"rect\",\n \"red\",\n \"redEyeReduction\",\n \"redirect\",\n \"redirectCount\",\n \"redirectEnd\",\n \"redirectStart\",\n \"redirected\",\n \"reduce\",\n \"reduceRight\",\n \"reduction\",\n \"refDistance\",\n \"refX\",\n \"refY\",\n \"referenceNode\",\n \"referenceSpace\",\n \"referrer\",\n \"referrerPolicy\",\n \"refresh\",\n \"region\",\n \"regionAnchorX\",\n \"regionAnchorY\",\n \"regionId\",\n \"regions\",\n \"register\",\n \"registerContentHandler\",\n \"registerElement\",\n \"registerProperty\",\n \"registerProtocolHandler\",\n \"reject\",\n \"rel\",\n \"relList\",\n \"relatedAddress\",\n \"relatedNode\",\n \"relatedPort\",\n \"relatedTarget\",\n \"release\",\n \"releaseCapture\",\n \"releaseEvents\",\n \"releaseInterface\",\n \"releaseLock\",\n \"releasePointerCapture\",\n \"releaseShaderCompiler\",\n \"reliable\",\n \"reliableWrite\",\n \"reload\",\n \"rem\",\n \"remainingSpace\",\n \"remote\",\n \"remoteDescription\",\n \"remove\",\n \"removeAllRanges\",\n \"removeAttribute\",\n \"removeAttributeNS\",\n \"removeAttributeNode\",\n \"removeBehavior\",\n \"removeChild\",\n \"removeCue\",\n \"removeEventListener\",\n \"removeFilter\",\n \"removeImport\",\n \"removeItem\",\n \"removeListener\",\n \"removeNamedItem\",\n \"removeNamedItemNS\",\n \"removeNode\",\n \"removeParameter\",\n \"removeProperty\",\n \"removeRange\",\n \"removeRegion\",\n \"removeRule\",\n \"removeSiteSpecificTrackingException\",\n \"removeSourceBuffer\",\n \"removeStream\",\n \"removeTrack\",\n \"removeVariable\",\n \"removeWakeLockListener\",\n \"removeWebWideTrackingException\",\n \"removed\",\n \"removedNodes\",\n \"renderHeight\",\n \"renderState\",\n \"renderTime\",\n \"renderWidth\",\n \"renderbufferStorage\",\n \"renderbufferStorageMultisample\",\n \"renderedBuffer\",\n \"renderingMode\",\n \"renotify\",\n \"repeat\",\n \"replace\",\n \"replaceAdjacentText\",\n \"replaceAll\",\n \"replaceChild\",\n \"replaceChildren\",\n \"replaceData\",\n \"replaceId\",\n \"replaceItem\",\n \"replaceNode\",\n \"replaceState\",\n \"replaceSync\",\n \"replaceTrack\",\n \"replaceWholeText\",\n \"replaceWith\",\n \"reportValidity\",\n \"request\",\n \"requestAnimationFrame\",\n \"requestAutocomplete\",\n \"requestData\",\n \"requestDevice\",\n \"requestFrame\",\n \"requestFullscreen\",\n \"requestHitTestSource\",\n \"requestHitTestSourceForTransientInput\",\n \"requestId\",\n \"requestIdleCallback\",\n \"requestMIDIAccess\",\n \"requestMediaKeySystemAccess\",\n \"requestPermission\",\n \"requestPictureInPicture\",\n \"requestPointerLock\",\n \"requestPresent\",\n \"requestReferenceSpace\",\n \"requestSession\",\n \"requestStart\",\n \"requestStorageAccess\",\n \"requestSubmit\",\n \"requestVideoFrameCallback\",\n \"requestingWindow\",\n \"requireInteraction\",\n \"required\",\n \"requiredExtensions\",\n \"requiredFeatures\",\n \"reset\",\n \"resetPose\",\n \"resetTransform\",\n \"resize\",\n \"resizeBy\",\n \"resizeTo\",\n \"resolve\",\n \"response\",\n \"responseBody\",\n \"responseEnd\",\n \"responseReady\",\n \"responseStart\",\n \"responseText\",\n \"responseType\",\n \"responseURL\",\n \"responseXML\",\n \"restartIce\",\n \"restore\",\n \"result\",\n \"resultIndex\",\n \"resultType\",\n \"results\",\n \"resume\",\n \"resumeProfilers\",\n \"resumeTransformFeedback\",\n \"retry\",\n \"returnValue\",\n \"rev\",\n \"reverse\",\n \"reversed\",\n \"revocable\",\n \"revokeObjectURL\",\n \"rgbColor\",\n \"right\",\n \"rightContext\",\n \"rightDegrees\",\n \"rightMargin\",\n \"rightProjectionMatrix\",\n \"rightViewMatrix\",\n \"role\",\n \"rolloffFactor\",\n \"root\",\n \"rootBounds\",\n \"rootElement\",\n \"rootMargin\",\n \"rotate\",\n \"rotateAxisAngle\",\n \"rotateAxisAngleSelf\",\n \"rotateFromVector\",\n \"rotateFromVectorSelf\",\n \"rotateSelf\",\n \"rotation\",\n \"rotationAngle\",\n \"rotationRate\",\n \"round\",\n \"row-gap\",\n \"rowGap\",\n \"rowIndex\",\n \"rowSpan\",\n \"rows\",\n \"rtcpTransport\",\n \"rtt\",\n \"ruby-align\",\n \"ruby-position\",\n \"rubyAlign\",\n \"rubyOverhang\",\n \"rubyPosition\",\n \"rules\",\n \"runtime\",\n \"runtimeStyle\",\n \"rx\",\n \"ry\",\n \"s\",\n \"safari\",\n \"sample\",\n \"sampleCoverage\",\n \"sampleRate\",\n \"samplerParameterf\",\n \"samplerParameteri\",\n \"sandbox\",\n \"save\",\n \"saveData\",\n \"scale\",\n \"scale3d\",\n \"scale3dSelf\",\n \"scaleNonUniform\",\n \"scaleNonUniformSelf\",\n \"scaleSelf\",\n \"scheme\",\n \"scissor\",\n \"scope\",\n \"scopeName\",\n \"scoped\",\n \"screen\",\n \"screenBrightness\",\n \"screenEnabled\",\n \"screenLeft\",\n \"screenPixelToMillimeterX\",\n \"screenPixelToMillimeterY\",\n \"screenTop\",\n \"screenX\",\n \"screenY\",\n \"scriptURL\",\n \"scripts\",\n \"scroll\",\n \"scroll-behavior\",\n \"scroll-margin\",\n \"scroll-margin-block\",\n \"scroll-margin-block-end\",\n \"scroll-margin-block-start\",\n \"scroll-margin-bottom\",\n \"scroll-margin-inline\",\n \"scroll-margin-inline-end\",\n \"scroll-margin-inline-start\",\n \"scroll-margin-left\",\n \"scroll-margin-right\",\n \"scroll-margin-top\",\n \"scroll-padding\",\n \"scroll-padding-block\",\n \"scroll-padding-block-end\",\n \"scroll-padding-block-start\",\n \"scroll-padding-bottom\",\n \"scroll-padding-inline\",\n \"scroll-padding-inline-end\",\n \"scroll-padding-inline-start\",\n \"scroll-padding-left\",\n \"scroll-padding-right\",\n \"scroll-padding-top\",\n \"scroll-snap-align\",\n \"scroll-snap-type\",\n \"scrollAmount\",\n \"scrollBehavior\",\n \"scrollBy\",\n \"scrollByLines\",\n \"scrollByPages\",\n \"scrollDelay\",\n \"scrollHeight\",\n \"scrollIntoView\",\n \"scrollIntoViewIfNeeded\",\n \"scrollLeft\",\n \"scrollLeftMax\",\n \"scrollMargin\",\n \"scrollMarginBlock\",\n \"scrollMarginBlockEnd\",\n \"scrollMarginBlockStart\",\n \"scrollMarginBottom\",\n \"scrollMarginInline\",\n \"scrollMarginInlineEnd\",\n \"scrollMarginInlineStart\",\n \"scrollMarginLeft\",\n \"scrollMarginRight\",\n \"scrollMarginTop\",\n \"scrollMaxX\",\n \"scrollMaxY\",\n \"scrollPadding\",\n \"scrollPaddingBlock\",\n \"scrollPaddingBlockEnd\",\n \"scrollPaddingBlockStart\",\n \"scrollPaddingBottom\",\n \"scrollPaddingInline\",\n \"scrollPaddingInlineEnd\",\n \"scrollPaddingInlineStart\",\n \"scrollPaddingLeft\",\n \"scrollPaddingRight\",\n \"scrollPaddingTop\",\n \"scrollRestoration\",\n \"scrollSnapAlign\",\n \"scrollSnapType\",\n \"scrollTo\",\n \"scrollTop\",\n \"scrollTopMax\",\n \"scrollWidth\",\n \"scrollX\",\n \"scrollY\",\n \"scrollbar-color\",\n \"scrollbar-width\",\n \"scrollbar3dLightColor\",\n \"scrollbarArrowColor\",\n \"scrollbarBaseColor\",\n \"scrollbarColor\",\n \"scrollbarDarkShadowColor\",\n \"scrollbarFaceColor\",\n \"scrollbarHighlightColor\",\n \"scrollbarShadowColor\",\n \"scrollbarTrackColor\",\n \"scrollbarWidth\",\n \"scrollbars\",\n \"scrolling\",\n \"scrollingElement\",\n \"sctp\",\n \"sctpCauseCode\",\n \"sdp\",\n \"sdpLineNumber\",\n \"sdpMLineIndex\",\n \"sdpMid\",\n \"seal\",\n \"search\",\n \"searchBox\",\n \"searchBoxJavaBridge_\",\n \"searchParams\",\n \"sectionRowIndex\",\n \"secureConnectionStart\",\n \"security\",\n \"seed\",\n \"seekToNextFrame\",\n \"seekable\",\n \"seeking\",\n \"select\",\n \"selectAllChildren\",\n \"selectAlternateInterface\",\n \"selectConfiguration\",\n \"selectNode\",\n \"selectNodeContents\",\n \"selectNodes\",\n \"selectSingleNode\",\n \"selectSubString\",\n \"selected\",\n \"selectedIndex\",\n \"selectedOptions\",\n \"selectedStyleSheetSet\",\n \"selectedStylesheetSet\",\n \"selection\",\n \"selectionDirection\",\n \"selectionEnd\",\n \"selectionStart\",\n \"selector\",\n \"selectorText\",\n \"self\",\n \"send\",\n \"sendAsBinary\",\n \"sendBeacon\",\n \"sender\",\n \"sentAlert\",\n \"sentTimestamp\",\n \"separator\",\n \"serialNumber\",\n \"serializeToString\",\n \"serverTiming\",\n \"service\",\n \"serviceWorker\",\n \"session\",\n \"sessionId\",\n \"sessionStorage\",\n \"set\",\n \"setActionHandler\",\n \"setActive\",\n \"setAlpha\",\n \"setAppBadge\",\n \"setAttribute\",\n \"setAttributeNS\",\n \"setAttributeNode\",\n \"setAttributeNodeNS\",\n \"setBaseAndExtent\",\n \"setBigInt64\",\n \"setBigUint64\",\n \"setBingCurrentSearchDefault\",\n \"setCapture\",\n \"setCodecPreferences\",\n \"setColor\",\n \"setCompositeOperation\",\n \"setConfiguration\",\n \"setCurrentTime\",\n \"setCustomValidity\",\n \"setData\",\n \"setDate\",\n \"setDragImage\",\n \"setEnd\",\n \"setEndAfter\",\n \"setEndBefore\",\n \"setEndPoint\",\n \"setFillColor\",\n \"setFilterRes\",\n \"setFloat32\",\n \"setFloat64\",\n \"setFloatValue\",\n \"setFormValue\",\n \"setFullYear\",\n \"setHeaderValue\",\n \"setHours\",\n \"setIdentityProvider\",\n \"setImmediate\",\n \"setInt16\",\n \"setInt32\",\n \"setInt8\",\n \"setInterval\",\n \"setItem\",\n \"setKeyframes\",\n \"setLineCap\",\n \"setLineDash\",\n \"setLineJoin\",\n \"setLineWidth\",\n \"setLiveSeekableRange\",\n \"setLocalDescription\",\n \"setMatrix\",\n \"setMatrixValue\",\n \"setMediaKeys\",\n \"setMilliseconds\",\n \"setMinutes\",\n \"setMiterLimit\",\n \"setMonth\",\n \"setNamedItem\",\n \"setNamedItemNS\",\n \"setNonUserCodeExceptions\",\n \"setOrientToAngle\",\n \"setOrientToAuto\",\n \"setOrientation\",\n \"setOverrideHistoryNavigationMode\",\n \"setPaint\",\n \"setParameter\",\n \"setParameters\",\n \"setPeriodicWave\",\n \"setPointerCapture\",\n \"setPosition\",\n \"setPositionState\",\n \"setPreference\",\n \"setProperty\",\n \"setPrototypeOf\",\n \"setRGBColor\",\n \"setRGBColorICCColor\",\n \"setRadius\",\n \"setRangeText\",\n \"setRemoteDescription\",\n \"setRequestHeader\",\n \"setResizable\",\n \"setResourceTimingBufferSize\",\n \"setRotate\",\n \"setScale\",\n \"setSeconds\",\n \"setSelectionRange\",\n \"setServerCertificate\",\n \"setShadow\",\n \"setSinkId\",\n \"setSkewX\",\n \"setSkewY\",\n \"setStart\",\n \"setStartAfter\",\n \"setStartBefore\",\n \"setStdDeviation\",\n \"setStreams\",\n \"setStringValue\",\n \"setStrokeColor\",\n \"setSuggestResult\",\n \"setTargetAtTime\",\n \"setTargetValueAtTime\",\n \"setTime\",\n \"setTimeout\",\n \"setTransform\",\n \"setTranslate\",\n \"setUTCDate\",\n \"setUTCFullYear\",\n \"setUTCHours\",\n \"setUTCMilliseconds\",\n \"setUTCMinutes\",\n \"setUTCMonth\",\n \"setUTCSeconds\",\n \"setUint16\",\n \"setUint32\",\n \"setUint8\",\n \"setUri\",\n \"setValidity\",\n \"setValueAtTime\",\n \"setValueCurveAtTime\",\n \"setVariable\",\n \"setVelocity\",\n \"setVersion\",\n \"setYear\",\n \"settingName\",\n \"settingValue\",\n \"sex\",\n \"shaderSource\",\n \"shadowBlur\",\n \"shadowColor\",\n \"shadowOffsetX\",\n \"shadowOffsetY\",\n \"shadowRoot\",\n \"shape\",\n \"shape-image-threshold\",\n \"shape-margin\",\n \"shape-outside\",\n \"shape-rendering\",\n \"shapeImageThreshold\",\n \"shapeMargin\",\n \"shapeOutside\",\n \"shapeRendering\",\n \"sheet\",\n \"shift\",\n \"shiftKey\",\n \"shiftLeft\",\n \"shippingAddress\",\n \"shippingOption\",\n \"shippingType\",\n \"show\",\n \"showHelp\",\n \"showModal\",\n \"showModalDialog\",\n \"showModelessDialog\",\n \"showNotification\",\n \"sidebar\",\n \"sign\",\n \"signal\",\n \"signalingState\",\n \"signature\",\n \"silent\",\n \"sin\",\n \"singleNodeValue\",\n \"sinh\",\n \"sinkId\",\n \"sittingToStandingTransform\",\n \"size\",\n \"sizeToContent\",\n \"sizeX\",\n \"sizeZ\",\n \"sizes\",\n \"skewX\",\n \"skewXSelf\",\n \"skewY\",\n \"skewYSelf\",\n \"slice\",\n \"slope\",\n \"slot\",\n \"small\",\n \"smil\",\n \"smooth\",\n \"smoothingTimeConstant\",\n \"snapToLines\",\n \"snapshotItem\",\n \"snapshotLength\",\n \"some\",\n \"sort\",\n \"sortingCode\",\n \"source\",\n \"sourceBuffer\",\n \"sourceBuffers\",\n \"sourceCapabilities\",\n \"sourceFile\",\n \"sourceIndex\",\n \"sources\",\n \"spacing\",\n \"span\",\n \"speak\",\n \"speakAs\",\n \"speaking\",\n \"species\",\n \"specified\",\n \"specularConstant\",\n \"specularExponent\",\n \"speechSynthesis\",\n \"speed\",\n \"speedOfSound\",\n \"spellcheck\",\n \"splice\",\n \"split\",\n \"splitText\",\n \"spreadMethod\",\n \"sqrt\",\n \"src\",\n \"srcElement\",\n \"srcFilter\",\n \"srcObject\",\n \"srcUrn\",\n \"srcdoc\",\n \"srclang\",\n \"srcset\",\n \"stack\",\n \"stackTraceLimit\",\n \"stacktrace\",\n \"stageParameters\",\n \"standalone\",\n \"standby\",\n \"start\",\n \"startContainer\",\n \"startIce\",\n \"startMessages\",\n \"startNotifications\",\n \"startOffset\",\n \"startProfiling\",\n \"startRendering\",\n \"startShark\",\n \"startTime\",\n \"startsWith\",\n \"state\",\n \"status\",\n \"statusCode\",\n \"statusMessage\",\n \"statusText\",\n \"statusbar\",\n \"stdDeviationX\",\n \"stdDeviationY\",\n \"stencilFunc\",\n \"stencilFuncSeparate\",\n \"stencilMask\",\n \"stencilMaskSeparate\",\n \"stencilOp\",\n \"stencilOpSeparate\",\n \"step\",\n \"stepDown\",\n \"stepMismatch\",\n \"stepUp\",\n \"sticky\",\n \"stitchTiles\",\n \"stop\",\n \"stop-color\",\n \"stop-opacity\",\n \"stopColor\",\n \"stopImmediatePropagation\",\n \"stopNotifications\",\n \"stopOpacity\",\n \"stopProfiling\",\n \"stopPropagation\",\n \"stopShark\",\n \"stopped\",\n \"storage\",\n \"storageArea\",\n \"storageName\",\n \"storageStatus\",\n \"store\",\n \"storeSiteSpecificTrackingException\",\n \"storeWebWideTrackingException\",\n \"stpVersion\",\n \"stream\",\n \"streams\",\n \"stretch\",\n \"strike\",\n \"string\",\n \"stringValue\",\n \"stringify\",\n \"stroke\",\n \"stroke-dasharray\",\n \"stroke-dashoffset\",\n \"stroke-linecap\",\n \"stroke-linejoin\",\n \"stroke-miterlimit\",\n \"stroke-opacity\",\n \"stroke-width\",\n \"strokeDasharray\",\n \"strokeDashoffset\",\n \"strokeLinecap\",\n \"strokeLinejoin\",\n \"strokeMiterlimit\",\n \"strokeOpacity\",\n \"strokeRect\",\n \"strokeStyle\",\n \"strokeText\",\n \"strokeWidth\",\n \"style\",\n \"styleFloat\",\n \"styleMap\",\n \"styleMedia\",\n \"styleSheet\",\n \"styleSheetSets\",\n \"styleSheets\",\n \"sub\",\n \"subarray\",\n \"subject\",\n \"submit\",\n \"submitFrame\",\n \"submitter\",\n \"subscribe\",\n \"substr\",\n \"substring\",\n \"substringData\",\n \"subtle\",\n \"subtree\",\n \"suffix\",\n \"suffixes\",\n \"summary\",\n \"sup\",\n \"supported\",\n \"supportedContentEncodings\",\n \"supportedEntryTypes\",\n \"supports\",\n \"supportsSession\",\n \"surfaceScale\",\n \"surroundContents\",\n \"suspend\",\n \"suspendRedraw\",\n \"swapCache\",\n \"swapNode\",\n \"sweepFlag\",\n \"symbols\",\n \"sync\",\n \"sysexEnabled\",\n \"system\",\n \"systemCode\",\n \"systemId\",\n \"systemLanguage\",\n \"systemXDPI\",\n \"systemYDPI\",\n \"tBodies\",\n \"tFoot\",\n \"tHead\",\n \"tabIndex\",\n \"table\",\n \"table-layout\",\n \"tableLayout\",\n \"tableValues\",\n \"tag\",\n \"tagName\",\n \"tagUrn\",\n \"tags\",\n \"taintEnabled\",\n \"takePhoto\",\n \"takeRecords\",\n \"tan\",\n \"tangentialPressure\",\n \"tanh\",\n \"target\",\n \"targetElement\",\n \"targetRayMode\",\n \"targetRaySpace\",\n \"targetTouches\",\n \"targetX\",\n \"targetY\",\n \"tcpType\",\n \"tee\",\n \"tel\",\n \"terminate\",\n \"test\",\n \"texImage2D\",\n \"texImage3D\",\n \"texParameterf\",\n \"texParameteri\",\n \"texStorage2D\",\n \"texStorage3D\",\n \"texSubImage2D\",\n \"texSubImage3D\",\n \"text\",\n \"text-align\",\n \"text-align-last\",\n \"text-anchor\",\n \"text-combine-upright\",\n \"text-decoration\",\n \"text-decoration-color\",\n \"text-decoration-line\",\n \"text-decoration-skip-ink\",\n \"text-decoration-style\",\n \"text-decoration-thickness\",\n \"text-emphasis\",\n \"text-emphasis-color\",\n \"text-emphasis-position\",\n \"text-emphasis-style\",\n \"text-indent\",\n \"text-justify\",\n \"text-orientation\",\n \"text-overflow\",\n \"text-rendering\",\n \"text-shadow\",\n \"text-transform\",\n \"text-underline-offset\",\n \"text-underline-position\",\n \"textAlign\",\n \"textAlignLast\",\n \"textAnchor\",\n \"textAutospace\",\n \"textBaseline\",\n \"textCombineUpright\",\n \"textContent\",\n \"textDecoration\",\n \"textDecorationBlink\",\n \"textDecorationColor\",\n \"textDecorationLine\",\n \"textDecorationLineThrough\",\n \"textDecorationNone\",\n \"textDecorationOverline\",\n \"textDecorationSkipInk\",\n \"textDecorationStyle\",\n \"textDecorationThickness\",\n \"textDecorationUnderline\",\n \"textEmphasis\",\n \"textEmphasisColor\",\n \"textEmphasisPosition\",\n \"textEmphasisStyle\",\n \"textIndent\",\n \"textJustify\",\n \"textJustifyTrim\",\n \"textKashida\",\n \"textKashidaSpace\",\n \"textLength\",\n \"textOrientation\",\n \"textOverflow\",\n \"textRendering\",\n \"textShadow\",\n \"textTracks\",\n \"textTransform\",\n \"textUnderlineOffset\",\n \"textUnderlinePosition\",\n \"then\",\n \"threadId\",\n \"threshold\",\n \"thresholds\",\n \"tiltX\",\n \"tiltY\",\n \"time\",\n \"timeEnd\",\n \"timeLog\",\n \"timeOrigin\",\n \"timeRemaining\",\n \"timeStamp\",\n \"timecode\",\n \"timeline\",\n \"timelineTime\",\n \"timeout\",\n \"timestamp\",\n \"timestampOffset\",\n \"timing\",\n \"title\",\n \"to\",\n \"toArray\",\n \"toBlob\",\n \"toDataURL\",\n \"toDateString\",\n \"toElement\",\n \"toExponential\",\n \"toFixed\",\n \"toFloat32Array\",\n \"toFloat64Array\",\n \"toGMTString\",\n \"toISOString\",\n \"toJSON\",\n \"toLocaleDateString\",\n \"toLocaleFormat\",\n \"toLocaleLowerCase\",\n \"toLocaleString\",\n \"toLocaleTimeString\",\n \"toLocaleUpperCase\",\n \"toLowerCase\",\n \"toMatrix\",\n \"toMethod\",\n \"toPrecision\",\n \"toPrimitive\",\n \"toSdp\",\n \"toSource\",\n \"toStaticHTML\",\n \"toString\",\n \"toStringTag\",\n \"toSum\",\n \"toTimeString\",\n \"toUTCString\",\n \"toUpperCase\",\n \"toggle\",\n \"toggleAttribute\",\n \"toggleLongPressEnabled\",\n \"tone\",\n \"toneBuffer\",\n \"tooLong\",\n \"tooShort\",\n \"toolbar\",\n \"top\",\n \"topMargin\",\n \"total\",\n \"totalFrameDelay\",\n \"totalVideoFrames\",\n \"touch-action\",\n \"touchAction\",\n \"touched\",\n \"touches\",\n \"trace\",\n \"track\",\n \"trackVisibility\",\n \"transaction\",\n \"transactions\",\n \"transceiver\",\n \"transferControlToOffscreen\",\n \"transferFromImageBitmap\",\n \"transferImageBitmap\",\n \"transferIn\",\n \"transferOut\",\n \"transferSize\",\n \"transferToImageBitmap\",\n \"transform\",\n \"transform-box\",\n \"transform-origin\",\n \"transform-style\",\n \"transformBox\",\n \"transformFeedbackVaryings\",\n \"transformOrigin\",\n \"transformPoint\",\n \"transformString\",\n \"transformStyle\",\n \"transformToDocument\",\n \"transformToFragment\",\n \"transition\",\n \"transition-delay\",\n \"transition-duration\",\n \"transition-property\",\n \"transition-timing-function\",\n \"transitionDelay\",\n \"transitionDuration\",\n \"transitionProperty\",\n \"transitionTimingFunction\",\n \"translate\",\n \"translateSelf\",\n \"translationX\",\n \"translationY\",\n \"transport\",\n \"trim\",\n \"trimEnd\",\n \"trimLeft\",\n \"trimRight\",\n \"trimStart\",\n \"trueSpeed\",\n \"trunc\",\n \"truncate\",\n \"trustedTypes\",\n \"turn\",\n \"twist\",\n \"type\",\n \"typeDetail\",\n \"typeMismatch\",\n \"typeMustMatch\",\n \"types\",\n \"u2f\",\n \"ubound\",\n \"uint16\",\n \"uint32\",\n \"uint8\",\n \"uint8Clamped\",\n \"undefined\",\n \"unescape\",\n \"uneval\",\n \"unicode\",\n \"unicode-bidi\",\n \"unicodeBidi\",\n \"unicodeRange\",\n \"uniform1f\",\n \"uniform1fv\",\n \"uniform1i\",\n \"uniform1iv\",\n \"uniform1ui\",\n \"uniform1uiv\",\n \"uniform2f\",\n \"uniform2fv\",\n \"uniform2i\",\n \"uniform2iv\",\n \"uniform2ui\",\n \"uniform2uiv\",\n \"uniform3f\",\n \"uniform3fv\",\n \"uniform3i\",\n \"uniform3iv\",\n \"uniform3ui\",\n \"uniform3uiv\",\n \"uniform4f\",\n \"uniform4fv\",\n \"uniform4i\",\n \"uniform4iv\",\n \"uniform4ui\",\n \"uniform4uiv\",\n \"uniformBlockBinding\",\n \"uniformMatrix2fv\",\n \"uniformMatrix2x3fv\",\n \"uniformMatrix2x4fv\",\n \"uniformMatrix3fv\",\n \"uniformMatrix3x2fv\",\n \"uniformMatrix3x4fv\",\n \"uniformMatrix4fv\",\n \"uniformMatrix4x2fv\",\n \"uniformMatrix4x3fv\",\n \"unique\",\n \"uniqueID\",\n \"uniqueNumber\",\n \"unit\",\n \"unitType\",\n \"units\",\n \"unloadEventEnd\",\n \"unloadEventStart\",\n \"unlock\",\n \"unmount\",\n \"unobserve\",\n \"unpause\",\n \"unpauseAnimations\",\n \"unreadCount\",\n \"unregister\",\n \"unregisterContentHandler\",\n \"unregisterProtocolHandler\",\n \"unscopables\",\n \"unselectable\",\n \"unshift\",\n \"unsubscribe\",\n \"unsuspendRedraw\",\n \"unsuspendRedrawAll\",\n \"unwatch\",\n \"unwrapKey\",\n \"upDegrees\",\n \"upX\",\n \"upY\",\n \"upZ\",\n \"update\",\n \"updateCommands\",\n \"updateIce\",\n \"updateInterval\",\n \"updatePlaybackRate\",\n \"updateRenderState\",\n \"updateSettings\",\n \"updateTiming\",\n \"updateViaCache\",\n \"updateWith\",\n \"updated\",\n \"updating\",\n \"upgrade\",\n \"upload\",\n \"uploadTotal\",\n \"uploaded\",\n \"upper\",\n \"upperBound\",\n \"upperOpen\",\n \"uri\",\n \"url\",\n \"urn\",\n \"urns\",\n \"usages\",\n \"usb\",\n \"usbVersionMajor\",\n \"usbVersionMinor\",\n \"usbVersionSubminor\",\n \"useCurrentView\",\n \"useMap\",\n \"useProgram\",\n \"usedSpace\",\n \"user-select\",\n \"userActivation\",\n \"userAgent\",\n \"userAgentData\",\n \"userChoice\",\n \"userHandle\",\n \"userHint\",\n \"userLanguage\",\n \"userSelect\",\n \"userVisibleOnly\",\n \"username\",\n \"usernameFragment\",\n \"utterance\",\n \"uuid\",\n \"v8BreakIterator\",\n \"vAlign\",\n \"vLink\",\n \"valid\",\n \"validate\",\n \"validateProgram\",\n \"validationMessage\",\n \"validity\",\n \"value\",\n \"valueAsDate\",\n \"valueAsNumber\",\n \"valueAsString\",\n \"valueInSpecifiedUnits\",\n \"valueMissing\",\n \"valueOf\",\n \"valueText\",\n \"valueType\",\n \"values\",\n \"variable\",\n \"variant\",\n \"variationSettings\",\n \"vector-effect\",\n \"vectorEffect\",\n \"velocityAngular\",\n \"velocityExpansion\",\n \"velocityX\",\n \"velocityY\",\n \"vendor\",\n \"vendorId\",\n \"vendorSub\",\n \"verify\",\n \"version\",\n \"vertexAttrib1f\",\n \"vertexAttrib1fv\",\n \"vertexAttrib2f\",\n \"vertexAttrib2fv\",\n \"vertexAttrib3f\",\n \"vertexAttrib3fv\",\n \"vertexAttrib4f\",\n \"vertexAttrib4fv\",\n \"vertexAttribDivisor\",\n \"vertexAttribDivisorANGLE\",\n \"vertexAttribI4i\",\n \"vertexAttribI4iv\",\n \"vertexAttribI4ui\",\n \"vertexAttribI4uiv\",\n \"vertexAttribIPointer\",\n \"vertexAttribPointer\",\n \"vertical\",\n \"vertical-align\",\n \"verticalAlign\",\n \"verticalOverflow\",\n \"vh\",\n \"vibrate\",\n \"vibrationActuator\",\n \"videoBitsPerSecond\",\n \"videoHeight\",\n \"videoTracks\",\n \"videoWidth\",\n \"view\",\n \"viewBox\",\n \"viewBoxString\",\n \"viewTarget\",\n \"viewTargetString\",\n \"viewport\",\n \"viewportAnchorX\",\n \"viewportAnchorY\",\n \"viewportElement\",\n \"views\",\n \"violatedDirective\",\n \"visibility\",\n \"visibilityState\",\n \"visible\",\n \"visualViewport\",\n \"vlinkColor\",\n \"vmax\",\n \"vmin\",\n \"voice\",\n \"voiceURI\",\n \"volume\",\n \"vrml\",\n \"vspace\",\n \"vw\",\n \"w\",\n \"wait\",\n \"waitSync\",\n \"waiting\",\n \"wake\",\n \"wakeLock\",\n \"wand\",\n \"warn\",\n \"wasClean\",\n \"wasDiscarded\",\n \"watch\",\n \"watchAvailability\",\n \"watchPosition\",\n \"webdriver\",\n \"webkitAddKey\",\n \"webkitAlignContent\",\n \"webkitAlignItems\",\n \"webkitAlignSelf\",\n \"webkitAnimation\",\n \"webkitAnimationDelay\",\n \"webkitAnimationDirection\",\n \"webkitAnimationDuration\",\n \"webkitAnimationFillMode\",\n \"webkitAnimationIterationCount\",\n \"webkitAnimationName\",\n \"webkitAnimationPlayState\",\n \"webkitAnimationTimingFunction\",\n \"webkitAppearance\",\n \"webkitAudioContext\",\n \"webkitAudioDecodedByteCount\",\n \"webkitAudioPannerNode\",\n \"webkitBackfaceVisibility\",\n \"webkitBackground\",\n \"webkitBackgroundAttachment\",\n \"webkitBackgroundClip\",\n \"webkitBackgroundColor\",\n \"webkitBackgroundImage\",\n \"webkitBackgroundOrigin\",\n \"webkitBackgroundPosition\",\n \"webkitBackgroundPositionX\",\n \"webkitBackgroundPositionY\",\n \"webkitBackgroundRepeat\",\n \"webkitBackgroundSize\",\n \"webkitBackingStorePixelRatio\",\n \"webkitBorderBottomLeftRadius\",\n \"webkitBorderBottomRightRadius\",\n \"webkitBorderImage\",\n \"webkitBorderImageOutset\",\n \"webkitBorderImageRepeat\",\n \"webkitBorderImageSlice\",\n \"webkitBorderImageSource\",\n \"webkitBorderImageWidth\",\n \"webkitBorderRadius\",\n \"webkitBorderTopLeftRadius\",\n \"webkitBorderTopRightRadius\",\n \"webkitBoxAlign\",\n \"webkitBoxDirection\",\n \"webkitBoxFlex\",\n \"webkitBoxOrdinalGroup\",\n \"webkitBoxOrient\",\n \"webkitBoxPack\",\n \"webkitBoxShadow\",\n \"webkitBoxSizing\",\n \"webkitCancelAnimationFrame\",\n \"webkitCancelFullScreen\",\n \"webkitCancelKeyRequest\",\n \"webkitCancelRequestAnimationFrame\",\n \"webkitClearResourceTimings\",\n \"webkitClosedCaptionsVisible\",\n \"webkitConvertPointFromNodeToPage\",\n \"webkitConvertPointFromPageToNode\",\n \"webkitCreateShadowRoot\",\n \"webkitCurrentFullScreenElement\",\n \"webkitCurrentPlaybackTargetIsWireless\",\n \"webkitDecodedFrameCount\",\n \"webkitDirectionInvertedFromDevice\",\n \"webkitDisplayingFullscreen\",\n \"webkitDroppedFrameCount\",\n \"webkitEnterFullScreen\",\n \"webkitEnterFullscreen\",\n \"webkitEntries\",\n \"webkitExitFullScreen\",\n \"webkitExitFullscreen\",\n \"webkitExitPointerLock\",\n \"webkitFilter\",\n \"webkitFlex\",\n \"webkitFlexBasis\",\n \"webkitFlexDirection\",\n \"webkitFlexFlow\",\n \"webkitFlexGrow\",\n \"webkitFlexShrink\",\n \"webkitFlexWrap\",\n \"webkitFullScreenKeyboardInputAllowed\",\n \"webkitFullscreenElement\",\n \"webkitFullscreenEnabled\",\n \"webkitGenerateKeyRequest\",\n \"webkitGetAsEntry\",\n \"webkitGetDatabaseNames\",\n \"webkitGetEntries\",\n \"webkitGetEntriesByName\",\n \"webkitGetEntriesByType\",\n \"webkitGetFlowByName\",\n \"webkitGetGamepads\",\n \"webkitGetImageDataHD\",\n \"webkitGetNamedFlows\",\n \"webkitGetRegionFlowRanges\",\n \"webkitGetUserMedia\",\n \"webkitHasClosedCaptions\",\n \"webkitHidden\",\n \"webkitIDBCursor\",\n \"webkitIDBDatabase\",\n \"webkitIDBDatabaseError\",\n \"webkitIDBDatabaseException\",\n \"webkitIDBFactory\",\n \"webkitIDBIndex\",\n \"webkitIDBKeyRange\",\n \"webkitIDBObjectStore\",\n \"webkitIDBRequest\",\n \"webkitIDBTransaction\",\n \"webkitImageSmoothingEnabled\",\n \"webkitIndexedDB\",\n \"webkitInitMessageEvent\",\n \"webkitIsFullScreen\",\n \"webkitJustifyContent\",\n \"webkitKeys\",\n \"webkitLineClamp\",\n \"webkitLineDashOffset\",\n \"webkitLockOrientation\",\n \"webkitMask\",\n \"webkitMaskClip\",\n \"webkitMaskComposite\",\n \"webkitMaskImage\",\n \"webkitMaskOrigin\",\n \"webkitMaskPosition\",\n \"webkitMaskPositionX\",\n \"webkitMaskPositionY\",\n \"webkitMaskRepeat\",\n \"webkitMaskSize\",\n \"webkitMatchesSelector\",\n \"webkitMediaStream\",\n \"webkitNotifications\",\n \"webkitOfflineAudioContext\",\n \"webkitOrder\",\n \"webkitOrientation\",\n \"webkitPeerConnection00\",\n \"webkitPersistentStorage\",\n \"webkitPerspective\",\n \"webkitPerspectiveOrigin\",\n \"webkitPointerLockElement\",\n \"webkitPostMessage\",\n \"webkitPreservesPitch\",\n \"webkitPutImageDataHD\",\n \"webkitRTCPeerConnection\",\n \"webkitRegionOverset\",\n \"webkitRelativePath\",\n \"webkitRequestAnimationFrame\",\n \"webkitRequestFileSystem\",\n \"webkitRequestFullScreen\",\n \"webkitRequestFullscreen\",\n \"webkitRequestPointerLock\",\n \"webkitResolveLocalFileSystemURL\",\n \"webkitSetMediaKeys\",\n \"webkitSetResourceTimingBufferSize\",\n \"webkitShadowRoot\",\n \"webkitShowPlaybackTargetPicker\",\n \"webkitSlice\",\n \"webkitSpeechGrammar\",\n \"webkitSpeechGrammarList\",\n \"webkitSpeechRecognition\",\n \"webkitSpeechRecognitionError\",\n \"webkitSpeechRecognitionEvent\",\n \"webkitStorageInfo\",\n \"webkitSupportsFullscreen\",\n \"webkitTemporaryStorage\",\n \"webkitTextFillColor\",\n \"webkitTextSizeAdjust\",\n \"webkitTextStroke\",\n \"webkitTextStrokeColor\",\n \"webkitTextStrokeWidth\",\n \"webkitTransform\",\n \"webkitTransformOrigin\",\n \"webkitTransformStyle\",\n \"webkitTransition\",\n \"webkitTransitionDelay\",\n \"webkitTransitionDuration\",\n \"webkitTransitionProperty\",\n \"webkitTransitionTimingFunction\",\n \"webkitURL\",\n \"webkitUnlockOrientation\",\n \"webkitUserSelect\",\n \"webkitVideoDecodedByteCount\",\n \"webkitVisibilityState\",\n \"webkitWirelessVideoPlaybackDisabled\",\n \"webkitdirectory\",\n \"webkitdropzone\",\n \"webstore\",\n \"weight\",\n \"whatToShow\",\n \"wheelDelta\",\n \"wheelDeltaX\",\n \"wheelDeltaY\",\n \"whenDefined\",\n \"which\",\n \"white-space\",\n \"whiteSpace\",\n \"wholeText\",\n \"widows\",\n \"width\",\n \"will-change\",\n \"willChange\",\n \"willValidate\",\n \"window\",\n \"withCredentials\",\n \"word-break\",\n \"word-spacing\",\n \"word-wrap\",\n \"wordBreak\",\n \"wordSpacing\",\n \"wordWrap\",\n \"workerStart\",\n \"wow64\",\n \"wrap\",\n \"wrapKey\",\n \"writable\",\n \"writableAuxiliaries\",\n \"write\",\n \"writeText\",\n \"writeValue\",\n \"writeWithoutResponse\",\n \"writeln\",\n \"writing-mode\",\n \"writingMode\",\n \"x\",\n \"x1\",\n \"x2\",\n \"xChannelSelector\",\n \"xmlEncoding\",\n \"xmlStandalone\",\n \"xmlVersion\",\n \"xmlbase\",\n \"xmllang\",\n \"xmlspace\",\n \"xor\",\n \"xr\",\n \"y\",\n \"y1\",\n \"y2\",\n \"yChannelSelector\",\n \"yandex\",\n \"z\",\n \"z-index\",\n \"zIndex\",\n \"zoom\",\n \"zoomAndPan\",\n \"zoomRectScreen\",\n];\n\n/***********************************************************************\n\n A JavaScript tokenizer / parser / beautifier / compressor.\n https://github.com/mishoo/UglifyJS2\n\n -------------------------------- (C) ---------------------------------\n\n Author: Mihai Bazon\n <mihai.bazon@gmail.com>\n http://mihai.bazon.net/blog\n\n Distributed under the BSD license:\n\n Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE.\n\n ***********************************************************************/\n\nfunction find_builtins(reserved) {\n domprops.forEach(add);\n\n // Compatibility fix for some standard defined globals not defined on every js environment\n var new_globals = [\"Symbol\", \"Map\", \"Promise\", \"Proxy\", \"Reflect\", \"Set\", \"WeakMap\", \"WeakSet\"];\n var objects = {};\n var global_ref = typeof __webpack_require__.g === \"object\" ? __webpack_require__.g : self;\n\n new_globals.forEach(function (new_global) {\n objects[new_global] = global_ref[new_global] || function() {};\n });\n\n [\n \"null\",\n \"true\",\n \"false\",\n \"NaN\",\n \"Infinity\",\n \"-Infinity\",\n \"undefined\",\n ].forEach(add);\n [ Object, Array, Function, Number,\n String, Boolean, Error, Math,\n Date, RegExp, objects.Symbol, ArrayBuffer,\n DataView, decodeURI, decodeURIComponent,\n encodeURI, encodeURIComponent, eval, EvalError,\n Float32Array, Float64Array, Int8Array, Int16Array,\n Int32Array, isFinite, isNaN, JSON, objects.Map, parseFloat,\n parseInt, objects.Promise, objects.Proxy, RangeError, ReferenceError,\n objects.Reflect, objects.Set, SyntaxError, TypeError, Uint8Array,\n Uint8ClampedArray, Uint16Array, Uint32Array, URIError,\n objects.WeakMap, objects.WeakSet\n ].forEach(function(ctor) {\n Object.getOwnPropertyNames(ctor).map(add);\n if (ctor.prototype) {\n Object.getOwnPropertyNames(ctor.prototype).map(add);\n }\n });\n function add(name) {\n reserved.add(name);\n }\n}\n\nfunction reserve_quoted_keys(ast, reserved) {\n function add(name) {\n push_uniq(reserved, name);\n }\n\n ast.walk(new TreeWalker(function(node) {\n if (node instanceof AST_ObjectKeyVal && node.quote) {\n add(node.key);\n } else if (node instanceof AST_ObjectProperty && node.quote) {\n add(node.key.name);\n } else if (node instanceof AST_Sub) {\n addStrings(node.property, add);\n }\n }));\n}\n\nfunction addStrings(node, add) {\n node.walk(new TreeWalker(function(node) {\n if (node instanceof AST_Sequence) {\n addStrings(node.tail_node(), add);\n } else if (node instanceof AST_String) {\n add(node.value);\n } else if (node instanceof AST_Conditional) {\n addStrings(node.consequent, add);\n addStrings(node.alternative, add);\n }\n return true;\n }));\n}\n\nfunction mangle_private_properties(ast, options) {\n var cprivate = -1;\n var private_cache = new Map();\n var nth_identifier = options.nth_identifier || base54;\n\n ast = ast.transform(new TreeTransformer(function(node) {\n if (\n node instanceof AST_ClassPrivateProperty\n || node instanceof AST_PrivateMethod\n || node instanceof AST_PrivateGetter\n || node instanceof AST_PrivateSetter\n || node instanceof AST_PrivateIn\n ) {\n node.key.name = mangle_private(node.key.name);\n } else if (node instanceof AST_DotHash) {\n node.property = mangle_private(node.property);\n }\n }));\n return ast;\n\n function mangle_private(name) {\n let mangled = private_cache.get(name);\n if (!mangled) {\n mangled = nth_identifier.get(++cprivate);\n private_cache.set(name, mangled);\n }\n\n return mangled;\n }\n}\n\nfunction mangle_properties(ast, options) {\n options = defaults(options, {\n builtins: false,\n cache: null,\n debug: false,\n keep_quoted: false,\n nth_identifier: base54,\n only_cache: false,\n regex: null,\n reserved: null,\n undeclared: false,\n }, true);\n\n var nth_identifier = options.nth_identifier;\n\n var reserved_option = options.reserved;\n if (!Array.isArray(reserved_option)) reserved_option = [reserved_option];\n var reserved = new Set(reserved_option);\n if (!options.builtins) find_builtins(reserved);\n\n var cname = -1;\n\n var cache;\n if (options.cache) {\n cache = options.cache.props;\n } else {\n cache = new Map();\n }\n\n var regex = options.regex && new RegExp(options.regex);\n\n // note debug is either false (disabled), or a string of the debug suffix to use (enabled).\n // note debug may be enabled as an empty string, which is falsey. Also treat passing 'true'\n // the same as passing an empty string.\n var debug = options.debug !== false;\n var debug_name_suffix;\n if (debug) {\n debug_name_suffix = (options.debug === true ? \"\" : options.debug);\n }\n\n var names_to_mangle = new Set();\n var unmangleable = new Set();\n // Track each already-mangled name to prevent nth_identifier from generating\n // the same name.\n cache.forEach((mangled_name) => unmangleable.add(mangled_name));\n\n var keep_quoted = !!options.keep_quoted;\n\n // step 1: find candidates to mangle\n ast.walk(new TreeWalker(function(node) {\n if (\n node instanceof AST_ClassPrivateProperty\n || node instanceof AST_PrivateMethod\n || node instanceof AST_PrivateGetter\n || node instanceof AST_PrivateSetter\n || node instanceof AST_DotHash\n ) ; else if (node instanceof AST_ObjectKeyVal) {\n if (typeof node.key == \"string\" && (!keep_quoted || !node.quote)) {\n add(node.key);\n }\n } else if (node instanceof AST_ObjectProperty) {\n // setter or getter, since KeyVal is handled above\n if (!keep_quoted || !node.quote) {\n add(node.key.name);\n }\n } else if (node instanceof AST_Dot) {\n var declared = !!options.undeclared;\n if (!declared) {\n var root = node;\n while (root.expression) {\n root = root.expression;\n }\n declared = !(root.thedef && root.thedef.undeclared);\n }\n if (declared &&\n (!keep_quoted || !node.quote)) {\n add(node.property);\n }\n } else if (node instanceof AST_Sub) {\n if (!keep_quoted) {\n addStrings(node.property, add);\n }\n } else if (node instanceof AST_Call\n && node.expression.print_to_string() == \"Object.defineProperty\") {\n addStrings(node.args[1], add);\n } else if (node instanceof AST_Binary && node.operator === \"in\") {\n addStrings(node.left, add);\n }\n }));\n\n // step 2: transform the tree, renaming properties\n return ast.transform(new TreeTransformer(function(node) {\n if (\n node instanceof AST_ClassPrivateProperty\n || node instanceof AST_PrivateMethod\n || node instanceof AST_PrivateGetter\n || node instanceof AST_PrivateSetter\n || node instanceof AST_DotHash\n ) ; else if (node instanceof AST_ObjectKeyVal) {\n if (typeof node.key == \"string\" && (!keep_quoted || !node.quote)) {\n node.key = mangle(node.key);\n }\n } else if (node instanceof AST_ObjectProperty) {\n // setter, getter, method or class field\n if (!keep_quoted || !node.quote) {\n node.key.name = mangle(node.key.name);\n }\n } else if (node instanceof AST_Dot) {\n if (!keep_quoted || !node.quote) {\n node.property = mangle(node.property);\n }\n } else if (!keep_quoted && node instanceof AST_Sub) {\n node.property = mangleStrings(node.property);\n } else if (node instanceof AST_Call\n && node.expression.print_to_string() == \"Object.defineProperty\") {\n node.args[1] = mangleStrings(node.args[1]);\n } else if (node instanceof AST_Binary && node.operator === \"in\") {\n node.left = mangleStrings(node.left);\n }\n }));\n\n // only function declarations after this line\n\n function can_mangle(name) {\n if (unmangleable.has(name)) return false;\n if (reserved.has(name)) return false;\n if (options.only_cache) {\n return cache.has(name);\n }\n if (/^-?[0-9]+(\\.[0-9]+)?(e[+-][0-9]+)?$/.test(name)) return false;\n return true;\n }\n\n function should_mangle(name) {\n if (regex && !regex.test(name)) return false;\n if (reserved.has(name)) return false;\n return cache.has(name)\n || names_to_mangle.has(name);\n }\n\n function add(name) {\n if (can_mangle(name))\n names_to_mangle.add(name);\n\n if (!should_mangle(name)) {\n unmangleable.add(name);\n }\n }\n\n function mangle(name) {\n if (!should_mangle(name)) {\n return name;\n }\n\n var mangled = cache.get(name);\n if (!mangled) {\n if (debug) {\n // debug mode: use a prefix and suffix to preserve readability, e.g. o.foo -> o._$foo$NNN_.\n var debug_mangled = \"_$\" + name + \"$\" + debug_name_suffix + \"_\";\n\n if (can_mangle(debug_mangled)) {\n mangled = debug_mangled;\n }\n }\n\n // either debug mode is off, or it is on and we could not use the mangled name\n if (!mangled) {\n do {\n mangled = nth_identifier.get(++cname);\n } while (!can_mangle(mangled));\n }\n\n cache.set(name, mangled);\n }\n return mangled;\n }\n\n function mangleStrings(node) {\n return node.transform(new TreeTransformer(function(node) {\n if (node instanceof AST_Sequence) {\n var last = node.expressions.length - 1;\n node.expressions[last] = mangleStrings(node.expressions[last]);\n } else if (node instanceof AST_String) {\n node.value = mangle(node.value);\n } else if (node instanceof AST_Conditional) {\n node.consequent = mangleStrings(node.consequent);\n node.alternative = mangleStrings(node.alternative);\n }\n return node;\n }));\n }\n}\n\n// to/from base64 functions\n// Prefer built-in Buffer, if available, then use hack\n// https://developer.mozilla.org/en-US/docs/Glossary/Base64#The_Unicode_Problem\nvar to_ascii = typeof Buffer !== \"undefined\"\n ? (b64) => Buffer.from(b64, \"base64\").toString()\n : (b64) => decodeURIComponent(escape(atob(b64)));\nvar to_base64 = typeof Buffer !== \"undefined\"\n ? (str) => Buffer.from(str).toString(\"base64\")\n : (str) => btoa(unescape(encodeURIComponent(str)));\n\nfunction read_source_map(code) {\n var match = /(?:^|[^.])\\/\\/# sourceMappingURL=data:application\\/json(;[\\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\\s*$/.exec(code);\n if (!match) {\n console.warn(\"inline source map not found\");\n return null;\n }\n return to_ascii(match[2]);\n}\n\nfunction set_shorthand(name, options, keys) {\n if (options[name]) {\n keys.forEach(function(key) {\n if (options[key]) {\n if (typeof options[key] != \"object\") options[key] = {};\n if (!(name in options[key])) options[key][name] = options[name];\n }\n });\n }\n}\n\nfunction init_cache(cache) {\n if (!cache) return;\n if (!(\"props\" in cache)) {\n cache.props = new Map();\n } else if (!(cache.props instanceof Map)) {\n cache.props = map_from_object(cache.props);\n }\n}\n\nfunction cache_to_json(cache) {\n return {\n props: map_to_object(cache.props)\n };\n}\n\nfunction log_input(files, options, fs, debug_folder) {\n if (!(fs && fs.writeFileSync && fs.mkdirSync)) {\n return;\n }\n\n try {\n fs.mkdirSync(debug_folder);\n } catch (e) {\n if (e.code !== \"EEXIST\") throw e;\n }\n\n const log_path = `${debug_folder}/terser-debug-${(Math.random() * 9999999) | 0}.log`;\n\n options = options || {};\n\n const options_str = JSON.stringify(options, (_key, thing) => {\n if (typeof thing === \"function\") return \"[Function \" + thing.toString() + \"]\";\n if (thing instanceof RegExp) return \"[RegExp \" + thing.toString() + \"]\";\n return thing;\n }, 4);\n\n const files_str = (file) => {\n if (typeof file === \"object\" && options.parse && options.parse.spidermonkey) {\n return JSON.stringify(file, null, 2);\n } else if (typeof file === \"object\") {\n return Object.keys(file)\n .map((key) => key + \": \" + files_str(file[key]))\n .join(\"\\n\\n\");\n } else if (typeof file === \"string\") {\n return \"```\\n\" + file + \"\\n```\";\n } else {\n return file; // What do?\n }\n };\n\n fs.writeFileSync(log_path, \"Options: \\n\" + options_str + \"\\n\\nInput files:\\n\\n\" + files_str(files) + \"\\n\");\n}\n\nasync function minify(files, options, _fs_module) {\n if (\n _fs_module\n && typeof process === \"object\"\n && process.env\n && typeof process.env.TERSER_DEBUG_DIR === \"string\"\n ) {\n log_input(files, options, _fs_module, process.env.TERSER_DEBUG_DIR);\n }\n\n options = defaults(options, {\n compress: {},\n ecma: undefined,\n enclose: false,\n ie8: false,\n keep_classnames: undefined,\n keep_fnames: false,\n mangle: {},\n module: false,\n nameCache: null,\n output: null,\n format: null,\n parse: {},\n rename: undefined,\n safari10: false,\n sourceMap: false,\n spidermonkey: false,\n timings: false,\n toplevel: false,\n warnings: false,\n wrap: false,\n }, true);\n\n var timings = options.timings && {\n start: Date.now()\n };\n if (options.keep_classnames === undefined) {\n options.keep_classnames = options.keep_fnames;\n }\n if (options.rename === undefined) {\n options.rename = options.compress && options.mangle;\n }\n if (options.output && options.format) {\n throw new Error(\"Please only specify either output or format option, preferrably format.\");\n }\n options.format = options.format || options.output || {};\n set_shorthand(\"ecma\", options, [ \"parse\", \"compress\", \"format\" ]);\n set_shorthand(\"ie8\", options, [ \"compress\", \"mangle\", \"format\" ]);\n set_shorthand(\"keep_classnames\", options, [ \"compress\", \"mangle\" ]);\n set_shorthand(\"keep_fnames\", options, [ \"compress\", \"mangle\" ]);\n set_shorthand(\"module\", options, [ \"parse\", \"compress\", \"mangle\" ]);\n set_shorthand(\"safari10\", options, [ \"mangle\", \"format\" ]);\n set_shorthand(\"toplevel\", options, [ \"compress\", \"mangle\" ]);\n set_shorthand(\"warnings\", options, [ \"compress\" ]); // legacy\n var quoted_props;\n if (options.mangle) {\n options.mangle = defaults(options.mangle, {\n cache: options.nameCache && (options.nameCache.vars || {}),\n eval: false,\n ie8: false,\n keep_classnames: false,\n keep_fnames: false,\n module: false,\n nth_identifier: base54,\n properties: false,\n reserved: [],\n safari10: false,\n toplevel: false,\n }, true);\n if (options.mangle.properties) {\n if (typeof options.mangle.properties != \"object\") {\n options.mangle.properties = {};\n }\n if (options.mangle.properties.keep_quoted) {\n quoted_props = options.mangle.properties.reserved;\n if (!Array.isArray(quoted_props)) quoted_props = [];\n options.mangle.properties.reserved = quoted_props;\n }\n if (options.nameCache && !(\"cache\" in options.mangle.properties)) {\n options.mangle.properties.cache = options.nameCache.props || {};\n }\n }\n init_cache(options.mangle.cache);\n init_cache(options.mangle.properties.cache);\n }\n if (options.sourceMap) {\n options.sourceMap = defaults(options.sourceMap, {\n asObject: false,\n content: null,\n filename: null,\n includeSources: false,\n root: null,\n url: null,\n }, true);\n }\n\n // -- Parse phase --\n if (timings) timings.parse = Date.now();\n var toplevel;\n if (files instanceof AST_Toplevel) {\n toplevel = files;\n } else {\n if (typeof files == \"string\" || (options.parse.spidermonkey && !Array.isArray(files))) {\n files = [ files ];\n }\n options.parse = options.parse || {};\n options.parse.toplevel = null;\n\n if (options.parse.spidermonkey) {\n options.parse.toplevel = AST_Node.from_mozilla_ast(Object.keys(files).reduce(function(toplevel, name) {\n if (!toplevel) return files[name];\n toplevel.body = toplevel.body.concat(files[name].body);\n return toplevel;\n }, null));\n } else {\n delete options.parse.spidermonkey;\n\n for (var name in files) if (HOP(files, name)) {\n options.parse.filename = name;\n options.parse.toplevel = parse(files[name], options.parse);\n if (options.sourceMap && options.sourceMap.content == \"inline\") {\n if (Object.keys(files).length > 1)\n throw new Error(\"inline source map only works with singular input\");\n options.sourceMap.content = read_source_map(files[name]);\n }\n }\n }\n\n toplevel = options.parse.toplevel;\n }\n if (quoted_props && options.mangle.properties.keep_quoted !== \"strict\") {\n reserve_quoted_keys(toplevel, quoted_props);\n }\n if (options.wrap) {\n toplevel = toplevel.wrap_commonjs(options.wrap);\n }\n if (options.enclose) {\n toplevel = toplevel.wrap_enclose(options.enclose);\n }\n if (timings) timings.rename = Date.now();\n\n // -- Compress phase --\n if (timings) timings.compress = Date.now();\n if (options.compress) {\n toplevel = new Compressor(options.compress, {\n mangle_options: options.mangle\n }).compress(toplevel);\n }\n\n // -- Mangle phase --\n if (timings) timings.scope = Date.now();\n if (options.mangle) toplevel.figure_out_scope(options.mangle);\n if (timings) timings.mangle = Date.now();\n if (options.mangle) {\n toplevel.compute_char_frequency(options.mangle);\n toplevel.mangle_names(options.mangle);\n toplevel = mangle_private_properties(toplevel, options.mangle);\n }\n if (timings) timings.properties = Date.now();\n if (options.mangle && options.mangle.properties) {\n toplevel = mangle_properties(toplevel, options.mangle.properties);\n }\n\n // Format phase\n if (timings) timings.format = Date.now();\n var result = {};\n if (options.format.ast) {\n result.ast = toplevel;\n }\n if (options.format.spidermonkey) {\n result.ast = toplevel.to_mozilla_ast();\n }\n if (!HOP(options.format, \"code\") || options.format.code) {\n if (!options.format.ast) {\n // Destroy stuff to save RAM. (unless the deprecated `ast` option is on)\n options.format._destroy_ast = true;\n\n walk(toplevel, node => {\n if (node instanceof AST_Scope) {\n node.variables = undefined;\n node.enclosed = undefined;\n node.parent_scope = undefined;\n }\n if (node.block_scope) {\n node.block_scope.variables = undefined;\n node.block_scope.enclosed = undefined;\n node.parent_scope = undefined;\n }\n });\n }\n\n if (options.sourceMap) {\n if (options.sourceMap.includeSources && files instanceof AST_Toplevel) {\n throw new Error(\"original source content unavailable\");\n }\n options.format.source_map = await SourceMap({\n file: options.sourceMap.filename,\n orig: options.sourceMap.content,\n root: options.sourceMap.root,\n files: options.sourceMap.includeSources ? files : null,\n });\n }\n delete options.format.ast;\n delete options.format.code;\n delete options.format.spidermonkey;\n var stream = OutputStream(options.format);\n toplevel.print(stream);\n result.code = stream.get();\n if (options.sourceMap) {\n Object.defineProperty(result, \"map\", {\n configurable: true,\n enumerable: true,\n get() {\n const map = options.format.source_map.getEncoded();\n return (result.map = options.sourceMap.asObject ? map : JSON.stringify(map));\n },\n set(value) {\n Object.defineProperty(result, \"map\", {\n value,\n writable: true,\n });\n }\n });\n result.decoded_map = options.format.source_map.getDecoded();\n if (options.sourceMap.url == \"inline\") {\n var sourceMap = typeof result.map === \"object\" ? JSON.stringify(result.map) : result.map;\n result.code += \"\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,\" + to_base64(sourceMap);\n } else if (options.sourceMap.url) {\n result.code += \"\\n//# sourceMappingURL=\" + options.sourceMap.url;\n }\n }\n }\n if (options.nameCache && options.mangle) {\n if (options.mangle.cache) options.nameCache.vars = cache_to_json(options.mangle.cache);\n if (options.mangle.properties && options.mangle.properties.cache) {\n options.nameCache.props = cache_to_json(options.mangle.properties.cache);\n }\n }\n if (options.format && options.format.source_map) {\n options.format.source_map.destroy();\n }\n if (timings) {\n timings.end = Date.now();\n result.timings = {\n parse: 1e-3 * (timings.rename - timings.parse),\n rename: 1e-3 * (timings.compress - timings.rename),\n compress: 1e-3 * (timings.scope - timings.compress),\n scope: 1e-3 * (timings.mangle - timings.scope),\n mangle: 1e-3 * (timings.properties - timings.mangle),\n properties: 1e-3 * (timings.format - timings.properties),\n format: 1e-3 * (timings.end - timings.format),\n total: 1e-3 * (timings.end - timings.start)\n };\n }\n return result;\n}\n\nasync function run_cli({ program, packageJson, fs, path }) {\n const skip_keys = new Set([ \"cname\", \"parent_scope\", \"scope\", \"uses_eval\", \"uses_with\" ]);\n var files = {};\n var options = {\n compress: false,\n mangle: false\n };\n const default_options = await _default_options();\n program.version(packageJson.name + \" \" + packageJson.version);\n program.parseArgv = program.parse;\n program.parse = undefined;\n\n if (process.argv.includes(\"ast\")) program.helpInformation = describe_ast;\n else if (process.argv.includes(\"options\")) program.helpInformation = function() {\n var text = [];\n for (var option in default_options) {\n text.push(\"--\" + (option === \"sourceMap\" ? \"source-map\" : option) + \" options:\");\n text.push(format_object(default_options[option]));\n text.push(\"\");\n }\n return text.join(\"\\n\");\n };\n\n program.option(\"-p, --parse <options>\", \"Specify parser options.\", parse_js());\n program.option(\"-c, --compress [options]\", \"Enable compressor/specify compressor options.\", parse_js());\n program.option(\"-m, --mangle [options]\", \"Mangle names/specify mangler options.\", parse_js());\n program.option(\"--mangle-props [options]\", \"Mangle properties/specify mangler options.\", parse_js());\n program.option(\"-f, --format [options]\", \"Format options.\", parse_js());\n program.option(\"-b, --beautify [options]\", \"Alias for --format.\", parse_js());\n program.option(\"-o, --output <file>\", \"Output file (default STDOUT).\");\n program.option(\"--comments [filter]\", \"Preserve copyright comments in the output.\");\n program.option(\"--config-file <file>\", \"Read minify() options from JSON file.\");\n program.option(\"-d, --define <expr>[=value]\", \"Global definitions.\", parse_js(\"define\"));\n program.option(\"--ecma <version>\", \"Specify ECMAScript release: 5, 2015, 2016 or 2017...\");\n program.option(\"-e, --enclose [arg[,...][:value[,...]]]\", \"Embed output in a big function with configurable arguments and values.\");\n program.option(\"--ie8\", \"Support non-standard Internet Explorer 8.\");\n program.option(\"--keep-classnames\", \"Do not mangle/drop class names.\");\n program.option(\"--keep-fnames\", \"Do not mangle/drop function names. Useful for code relying on Function.prototype.name.\");\n program.option(\"--module\", \"Input is an ES6 module\");\n program.option(\"--name-cache <file>\", \"File to hold mangled name mappings.\");\n program.option(\"--rename\", \"Force symbol expansion.\");\n program.option(\"--no-rename\", \"Disable symbol expansion.\");\n program.option(\"--safari10\", \"Support non-standard Safari 10.\");\n program.option(\"--source-map [options]\", \"Enable source map/specify source map options.\", parse_js());\n program.option(\"--timings\", \"Display operations run time on STDERR.\");\n program.option(\"--toplevel\", \"Compress and/or mangle variables in toplevel scope.\");\n program.option(\"--wrap <name>\", \"Embed everything as a function with “exports” corresponding to “name” globally.\");\n program.arguments(\"[files...]\").parseArgv(process.argv);\n if (program.configFile) {\n options = JSON.parse(read_file(program.configFile));\n }\n if (!program.output && program.sourceMap && program.sourceMap.url != \"inline\") {\n fatal(\"ERROR: cannot write source map to STDOUT\");\n }\n\n [\n \"compress\",\n \"enclose\",\n \"ie8\",\n \"mangle\",\n \"module\",\n \"safari10\",\n \"sourceMap\",\n \"toplevel\",\n \"wrap\"\n ].forEach(function(name) {\n if (name in program) {\n options[name] = program[name];\n }\n });\n\n if (\"ecma\" in program) {\n if (program.ecma != (program.ecma | 0)) fatal(\"ERROR: ecma must be an integer\");\n const ecma = program.ecma | 0;\n if (ecma > 5 && ecma < 2015)\n options.ecma = ecma + 2009;\n else\n options.ecma = ecma;\n }\n if (program.format || program.beautify) {\n const chosenOption = program.format || program.beautify;\n options.format = typeof chosenOption === \"object\" ? chosenOption : {};\n }\n if (program.comments) {\n if (typeof options.format != \"object\") options.format = {};\n options.format.comments = typeof program.comments == \"string\" ? (program.comments == \"false\" ? false : program.comments) : \"some\";\n }\n if (program.define) {\n if (typeof options.compress != \"object\") options.compress = {};\n if (typeof options.compress.global_defs != \"object\") options.compress.global_defs = {};\n for (var expr in program.define) {\n options.compress.global_defs[expr] = program.define[expr];\n }\n }\n if (program.keepClassnames) {\n options.keep_classnames = true;\n }\n if (program.keepFnames) {\n options.keep_fnames = true;\n }\n if (program.mangleProps) {\n if (program.mangleProps.domprops) {\n delete program.mangleProps.domprops;\n } else {\n if (typeof program.mangleProps != \"object\") program.mangleProps = {};\n if (!Array.isArray(program.mangleProps.reserved)) program.mangleProps.reserved = [];\n }\n if (typeof options.mangle != \"object\") options.mangle = {};\n options.mangle.properties = program.mangleProps;\n }\n if (program.nameCache) {\n options.nameCache = JSON.parse(read_file(program.nameCache, \"{}\"));\n }\n if (program.output == \"ast\") {\n options.format = {\n ast: true,\n code: false\n };\n }\n if (program.parse) {\n if (!program.parse.acorn && !program.parse.spidermonkey) {\n options.parse = program.parse;\n } else if (program.sourceMap && program.sourceMap.content == \"inline\") {\n fatal(\"ERROR: inline source map only works with built-in parser\");\n }\n }\n if (~program.rawArgs.indexOf(\"--rename\")) {\n options.rename = true;\n } else if (!program.rename) {\n options.rename = false;\n }\n\n let convert_path = name => name;\n if (typeof program.sourceMap == \"object\" && \"base\" in program.sourceMap) {\n convert_path = function() {\n var base = program.sourceMap.base;\n delete options.sourceMap.base;\n return function(name) {\n return path.relative(base, name);\n };\n }();\n }\n\n let filesList;\n if (options.files && options.files.length) {\n filesList = options.files;\n\n delete options.files;\n } else if (program.args.length) {\n filesList = program.args;\n }\n\n if (filesList) {\n simple_glob(filesList).forEach(function(name) {\n files[convert_path(name)] = read_file(name);\n });\n } else {\n await new Promise((resolve) => {\n var chunks = [];\n process.stdin.setEncoding(\"utf8\");\n process.stdin.on(\"data\", function(chunk) {\n chunks.push(chunk);\n }).on(\"end\", function() {\n files = [ chunks.join(\"\") ];\n resolve();\n });\n process.stdin.resume();\n });\n }\n\n await run_cli();\n\n function convert_ast(fn) {\n return AST_Node.from_mozilla_ast(Object.keys(files).reduce(fn, null));\n }\n\n async function run_cli() {\n var content = program.sourceMap && program.sourceMap.content;\n if (content && content !== \"inline\") {\n options.sourceMap.content = read_file(content, content);\n }\n if (program.timings) options.timings = true;\n\n try {\n if (program.parse) {\n if (program.parse.acorn) {\n files = convert_ast(function(toplevel, name) {\n return (__webpack_require__(/*! acorn */ \"./node_modules/acorn/dist/acorn.js\").parse)(files[name], {\n ecmaVersion: 2018,\n locations: true,\n program: toplevel,\n sourceFile: name,\n sourceType: options.module || program.parse.module ? \"module\" : \"script\"\n });\n });\n } else if (program.parse.spidermonkey) {\n files = convert_ast(function(toplevel, name) {\n var obj = JSON.parse(files[name]);\n if (!toplevel) return obj;\n toplevel.body = toplevel.body.concat(obj.body);\n return toplevel;\n });\n }\n }\n } catch (ex) {\n fatal(ex);\n }\n\n let result;\n try {\n result = await minify(files, options, fs);\n } catch (ex) {\n if (ex.name == \"SyntaxError\") {\n print_error(\"Parse error at \" + ex.filename + \":\" + ex.line + \",\" + ex.col);\n var col = ex.col;\n var lines = files[ex.filename].split(/\\r?\\n/);\n var line = lines[ex.line - 1];\n if (!line && !col) {\n line = lines[ex.line - 2];\n col = line.length;\n }\n if (line) {\n var limit = 70;\n if (col > limit) {\n line = line.slice(col - limit);\n col = limit;\n }\n print_error(line.slice(0, 80));\n print_error(line.slice(0, col).replace(/\\S/g, \" \") + \"^\");\n }\n }\n if (ex.defs) {\n print_error(\"Supported options:\");\n print_error(format_object(ex.defs));\n }\n fatal(ex);\n return;\n }\n\n if (program.output == \"ast\") {\n if (!options.compress && !options.mangle) {\n result.ast.figure_out_scope({});\n }\n console.log(JSON.stringify(result.ast, function(key, value) {\n if (value) switch (key) {\n case \"thedef\":\n return symdef(value);\n case \"enclosed\":\n return value.length ? value.map(symdef) : undefined;\n case \"variables\":\n case \"globals\":\n return value.size ? collect_from_map(value, symdef) : undefined;\n }\n if (skip_keys.has(key)) return;\n if (value instanceof AST_Token) return;\n if (value instanceof Map) return;\n if (value instanceof AST_Node) {\n var result = {\n _class: \"AST_\" + value.TYPE\n };\n if (value.block_scope) {\n result.variables = value.block_scope.variables;\n result.enclosed = value.block_scope.enclosed;\n }\n value.CTOR.PROPS.forEach(function(prop) {\n if (prop !== \"block_scope\") {\n result[prop] = value[prop];\n }\n });\n return result;\n }\n return value;\n }, 2));\n } else if (program.output == \"spidermonkey\") {\n try {\n const minified = await minify(\n result.code,\n {\n compress: false,\n mangle: false,\n format: {\n ast: true,\n code: false\n }\n },\n fs\n );\n console.log(JSON.stringify(minified.ast.to_mozilla_ast(), null, 2));\n } catch (ex) {\n fatal(ex);\n return;\n }\n } else if (program.output) {\n fs.writeFileSync(program.output, result.code);\n if (options.sourceMap && options.sourceMap.url !== \"inline\" && result.map) {\n fs.writeFileSync(program.output + \".map\", result.map);\n }\n } else {\n console.log(result.code);\n }\n if (program.nameCache) {\n fs.writeFileSync(program.nameCache, JSON.stringify(options.nameCache));\n }\n if (result.timings) for (var phase in result.timings) {\n print_error(\"- \" + phase + \": \" + result.timings[phase].toFixed(3) + \"s\");\n }\n }\n\n function fatal(message) {\n if (message instanceof Error) message = message.stack.replace(/^\\S*?Error:/, \"ERROR:\");\n print_error(message);\n process.exit(1);\n }\n\n // A file glob function that only supports \"*\" and \"?\" wildcards in the basename.\n // Example: \"foo/bar/*baz??.*.js\"\n // Argument `glob` may be a string or an array of strings.\n // Returns an array of strings. Garbage in, garbage out.\n function simple_glob(glob) {\n if (Array.isArray(glob)) {\n return [].concat.apply([], glob.map(simple_glob));\n }\n if (glob && glob.match(/[*?]/)) {\n var dir = path.dirname(glob);\n try {\n var entries = fs.readdirSync(dir);\n } catch (ex) {}\n if (entries) {\n var pattern = \"^\" + path.basename(glob)\n .replace(/[.+^$[\\]\\\\(){}]/g, \"\\\\$&\")\n .replace(/\\*/g, \"[^/\\\\\\\\]*\")\n .replace(/\\?/g, \"[^/\\\\\\\\]\") + \"$\";\n var mod = process.platform === \"win32\" ? \"i\" : \"\";\n var rx = new RegExp(pattern, mod);\n var results = entries.filter(function(name) {\n return rx.test(name);\n }).map(function(name) {\n return path.join(dir, name);\n });\n if (results.length) return results;\n }\n }\n return [ glob ];\n }\n\n function read_file(path, default_value) {\n try {\n return fs.readFileSync(path, \"utf8\");\n } catch (ex) {\n if ((ex.code == \"ENOENT\" || ex.code == \"ENAMETOOLONG\") && default_value != null) return default_value;\n fatal(ex);\n }\n }\n\n function parse_js(flag) {\n return function(value, options) {\n options = options || {};\n try {\n walk(parse(value, { expression: true }), node => {\n if (node instanceof AST_Assign) {\n var name = node.left.print_to_string();\n var value = node.right;\n if (flag) {\n options[name] = value;\n } else if (value instanceof AST_Array) {\n options[name] = value.elements.map(to_string);\n } else if (value instanceof AST_RegExp) {\n value = value.value;\n options[name] = new RegExp(value.source, value.flags);\n } else {\n options[name] = to_string(value);\n }\n return true;\n }\n if (node instanceof AST_Symbol || node instanceof AST_PropAccess) {\n var name = node.print_to_string();\n options[name] = true;\n return true;\n }\n if (!(node instanceof AST_Sequence)) throw node;\n\n function to_string(value) {\n return value instanceof AST_Constant ? value.getValue() : value.print_to_string({\n quote_keys: true\n });\n }\n });\n } catch(ex) {\n if (flag) {\n fatal(\"Error parsing arguments for '\" + flag + \"': \" + value);\n } else {\n options[value] = null;\n }\n }\n return options;\n };\n }\n\n function symdef(def) {\n var ret = (1e6 + def.id) + \" \" + def.name;\n if (def.mangled_name) ret += \" \" + def.mangled_name;\n return ret;\n }\n\n function collect_from_map(map, callback) {\n var result = [];\n map.forEach(function (def) {\n result.push(callback(def));\n });\n return result;\n }\n\n function format_object(obj) {\n var lines = [];\n var padding = \"\";\n Object.keys(obj).map(function(name) {\n if (padding.length < name.length) padding = Array(name.length + 1).join(\" \");\n return [ name, JSON.stringify(obj[name]) ];\n }).forEach(function(tokens) {\n lines.push(\" \" + tokens[0] + padding.slice(tokens[0].length - 2) + tokens[1]);\n });\n return lines.join(\"\\n\");\n }\n\n function print_error(msg) {\n process.stderr.write(msg);\n process.stderr.write(\"\\n\");\n }\n\n function describe_ast() {\n var out = OutputStream({ beautify: true });\n function doitem(ctor) {\n out.print(\"AST_\" + ctor.TYPE);\n const props = ctor.SELF_PROPS.filter(prop => !/^\\$/.test(prop));\n\n if (props.length > 0) {\n out.space();\n out.with_parens(function() {\n props.forEach(function(prop, i) {\n if (i) out.space();\n out.print(prop);\n });\n });\n }\n\n if (ctor.documentation) {\n out.space();\n out.print_string(ctor.documentation);\n }\n\n if (ctor.SUBCLASSES.length > 0) {\n out.space();\n out.with_block(function() {\n ctor.SUBCLASSES.forEach(function(ctor) {\n out.indent();\n doitem(ctor);\n out.newline();\n });\n });\n }\n }\n doitem(AST_Node);\n return out + \"\\n\";\n }\n}\n\nasync function _default_options() {\n const defs = {};\n\n Object.keys(infer_options({ 0: 0 })).forEach((component) => {\n const options = infer_options({\n [component]: {0: 0}\n });\n\n if (options) defs[component] = options;\n });\n return defs;\n}\n\nasync function infer_options(options) {\n try {\n await minify(\"\", options);\n } catch (error) {\n return error.defs;\n }\n}\n\nexports._default_options = _default_options;\nexports._run_cli = run_cli;\nexports.minify = minify;\n\n})));\n\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser/dist/bundle.min.js?"); /***/ }), /***/ "./node_modules/es-module-lexer/dist/lexer.js": /*!****************************************************!*\ !*** ./node_modules/es-module-lexer/dist/lexer.js ***! \****************************************************/ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"init\": () => (/* binding */ init),\n/* harmony export */ \"parse\": () => (/* binding */ parse)\n/* harmony export */ });\n/* es-module-lexer 0.9.3 */\nconst A=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,I=\"@\"){if(!B)return init.then(()=>parse(E));const g=E.length+1,D=(B.__heap_base.value||B.__heap_base)+4*g-B.memory.buffer.byteLength;D>0&&B.memory.grow(Math.ceil(D/65536));const w=B.sa(g-1);if((A?C:Q)(E,new Uint16Array(B.memory.buffer,w,g)),!B.parse())throw Object.assign(new Error(`Parse error ${I}:${E.slice(0,B.e()).split(\"\\n\").length}:${B.e()-E.lastIndexOf(\"\\n\",B.e()-1)}`),{idx:B.e()});const L=[],k=[];for(;B.ri();){const A=B.is(),Q=B.ie(),C=B.ai(),I=B.id(),g=B.ss(),D=B.se();let w;B.ip()&&(w=J(E.slice(-1===I?A-1:A,-1===I?Q+1:Q))),L.push({n:w,s:A,e:Q,ss:g,se:D,d:I,a:C})}for(;B.re();){const A=E.slice(B.es(),B.ee()),Q=A[0];k.push('\"'===Q||\"'\"===Q?J(A):A)}function J(A){try{return(0,eval)(A)}catch(A){}}return[L,k,!!B.f()]}function Q(A,Q){const C=A.length;let B=0;for(;B<C;){const C=A.charCodeAt(B);Q[B++]=(255&C)<<8|C>>>8}}function C(A,Q){const C=A.length;let B=0;for(;B<C;)Q[B]=A.charCodeAt(B++)}let B;const init=WebAssembly.compile((E=\"AGFzbQEAAAABXA1gAX8Bf2AEf39/fwBgAn9/AGAAAX9gBn9/f39/fwF/YAAAYAF/AGAEf39/fwF/YAN/f38Bf2AHf39/f39/fwF/YAV/f39/fwF/YAJ/fwF/YAh/f39/f39/fwF/AzEwAAECAwMDAwMDAwMDAwMDAwAABAUFBQYFBgAAAAAFBQAEBwgJCgsMAAIAAAALAwkMBAUBcAEBAQUDAQABBg8CfwFB8PAAC38AQfDwAAsHZBEGbWVtb3J5AgACc2EAAAFlAAMCaXMABAJpZQAFAnNzAAYCc2UABwJhaQAIAmlkAAkCaXAACgJlcwALAmVlAAwCcmkADQJyZQAOAWYADwVwYXJzZQAQC19faGVhcF9iYXNlAwEK8jkwaAEBf0EAIAA2ArgIQQAoApAIIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgK8CEEAIAA2AsAIQQBBADYClAhBAEEANgKkCEEAQQA2ApwIQQBBADYCmAhBAEEANgKsCEEAQQA2AqAIIAELsgEBAn9BACgCpAgiBEEcakGUCCAEG0EAKALACCIFNgIAQQAgBTYCpAhBACAENgKoCEEAIAVBIGo2AsAIIAUgADYCCAJAAkBBACgCiAggA0cNACAFIAI2AgwMAQsCQEEAKAKECCADRw0AIAUgAkECajYCDAwBCyAFQQAoApAINgIMCyAFIAE2AgAgBSADNgIUIAVBADYCECAFIAI2AgQgBUEANgIcIAVBACgChAggA0Y6ABgLSAEBf0EAKAKsCCICQQhqQZgIIAIbQQAoAsAIIgI2AgBBACACNgKsCEEAIAJBDGo2AsAIIAJBADYCCCACIAE2AgQgAiAANgIACwgAQQAoAsQICxUAQQAoApwIKAIAQQAoApAIa0EBdQsVAEEAKAKcCCgCBEEAKAKQCGtBAXULFQBBACgCnAgoAghBACgCkAhrQQF1CxUAQQAoApwIKAIMQQAoApAIa0EBdQseAQF/QQAoApwIKAIQIgBBACgCkAhrQQF1QX8gABsLOwEBfwJAQQAoApwIKAIUIgBBACgChAhHDQBBfw8LAkAgAEEAKAKICEcNAEF+DwsgAEEAKAKQCGtBAXULCwBBACgCnAgtABgLFQBBACgCoAgoAgBBACgCkAhrQQF1CxUAQQAoAqAIKAIEQQAoApAIa0EBdQslAQF/QQBBACgCnAgiAEEcakGUCCAAGygCACIANgKcCCAAQQBHCyUBAX9BAEEAKAKgCCIAQQhqQZgIIAAbKAIAIgA2AqAIIABBAEcLCABBAC0AyAgL9gsBBH8jAEGA8ABrIgEkAEEAQQE6AMgIQQBB//8DOwHOCEEAQQAoAowINgLQCEEAQQAoApAIQX5qIgI2AuQIQQAgAkEAKAK4CEEBdGoiAzYC6AhBAEEAOwHKCEEAQQA7AcwIQQBBADoA1AhBAEEANgLECEEAQQA6ALQIQQAgAUGA0ABqNgLYCEEAIAFBgBBqNgLcCEEAQQA6AOAIAkACQAJAAkADQEEAIAJBAmoiBDYC5AggAiADTw0BAkAgBC8BACIDQXdqQQVJDQACQAJAAkACQAJAIANBm39qDgUBCAgIAgALIANBIEYNBCADQS9GDQMgA0E7Rg0CDAcLQQAvAcwIDQEgBBARRQ0BIAJBBGpB+ABB8ABB7wBB8gBB9AAQEkUNARATQQAtAMgIDQFBAEEAKALkCCICNgLQCAwHCyAEEBFFDQAgAkEEakHtAEHwAEHvAEHyAEH0ABASRQ0AEBQLQQBBACgC5Ag2AtAIDAELAkAgAi8BBCIEQSpGDQAgBEEvRw0EEBUMAQtBARAWC0EAKALoCCEDQQAoAuQIIQIMAAsLQQAhAyAEIQJBAC0AtAgNAgwBC0EAIAI2AuQIQQBBADoAyAgLA0BBACACQQJqIgQ2AuQIAkACQAJAAkACQAJAIAJBACgC6AhPDQAgBC8BACIDQXdqQQVJDQUCQAJAAkACQAJAAkACQAJAAkACQCADQWBqDgoPDggODg4OBwECAAsCQAJAAkACQCADQaB/ag4KCBERAxEBERERAgALIANBhX9qDgMFEAYLC0EALwHMCA0PIAQQEUUNDyACQQRqQfgAQfAAQe8AQfIAQfQAEBJFDQ8QEwwPCyAEEBFFDQ4gAkEEakHtAEHwAEHvAEHyAEH0ABASRQ0OEBQMDgsgBBARRQ0NIAIvAQpB8wBHDQ0gAi8BCEHzAEcNDSACLwEGQeEARw0NIAIvAQRB7ABHDQ0gAi8BDCIEQXdqIgJBF0sNC0EBIAJ0QZ+AgARxRQ0LDAwLQQBBAC8BzAgiAkEBajsBzAhBACgC3AggAkECdGpBACgC0Ag2AgAMDAtBAC8BzAgiAkUNCEEAIAJBf2oiAzsBzAhBACgCsAgiAkUNCyACKAIUQQAoAtwIIANB//8DcUECdGooAgBHDQsCQCACKAIEDQAgAiAENgIECyACIAQ2AgxBAEEANgKwCAwLCwJAQQAoAtAIIgQvAQBBKUcNAEEAKAKkCCICRQ0AIAIoAgQgBEcNAEEAQQAoAqgIIgI2AqQIAkAgAkUNACACQQA2AhwMAQtBAEEANgKUCAsgAUEALwHMCCICakEALQDgCDoAAEEAIAJBAWo7AcwIQQAoAtwIIAJBAnRqIAQ2AgBBAEEAOgDgCAwKC0EALwHMCCICRQ0GQQAgAkF/aiIDOwHMCCACQQAvAc4IIgRHDQFBAEEALwHKCEF/aiICOwHKCEEAQQAoAtgIIAJB//8DcUEBdGovAQA7Ac4ICxAXDAgLIARB//8DRg0HIANB//8DcSAESQ0EDAcLQScQGAwGC0EiEBgMBQsgA0EvRw0EAkACQCACLwEEIgJBKkYNACACQS9HDQEQFQwHC0EBEBYMBgsCQAJAAkACQEEAKALQCCIELwEAIgIQGUUNAAJAAkACQCACQVVqDgQBBQIABQsgBEF+ai8BAEFQakH//wNxQQpJDQMMBAsgBEF+ai8BAEErRg0CDAMLIARBfmovAQBBLUYNAQwCCwJAIAJB/QBGDQAgAkEpRw0BQQAoAtwIQQAvAcwIQQJ0aigCABAaRQ0BDAILQQAoAtwIQQAvAcwIIgNBAnRqKAIAEBsNASABIANqLQAADQELIAQQHA0AIAJFDQBBASEEIAJBL0ZBAC0A1AhBAEdxRQ0BCxAdQQAhBAtBACAEOgDUCAwEC0EALwHOCEH//wNGQQAvAcwIRXFBAC0AtAhFcSEDDAYLEB5BACEDDAULIARBoAFHDQELQQBBAToA4AgLQQBBACgC5Ag2AtAIC0EAKALkCCECDAALCyABQYDwAGokACADCx0AAkBBACgCkAggAEcNAEEBDwsgAEF+ai8BABAfCz8BAX9BACEGAkAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhBgsgBgvUBgEEf0EAQQAoAuQIIgBBDGoiATYC5AhBARAnIQICQAJAAkACQAJAQQAoAuQIIgMgAUcNACACECtFDQELAkACQAJAAkACQCACQZ9/ag4MBgEDCAEHAQEBAQEEAAsCQAJAIAJBKkYNACACQfYARg0FIAJB+wBHDQJBACADQQJqNgLkCEEBECchA0EAKALkCCEBA0ACQAJAIANB//8DcSICQSJGDQAgAkEnRg0AIAIQKhpBACgC5AghAgwBCyACEBhBAEEAKALkCEECaiICNgLkCAtBARAnGgJAIAEgAhAsIgNBLEcNAEEAQQAoAuQIQQJqNgLkCEEBECchAwtBACgC5AghAgJAIANB/QBGDQAgAiABRg0FIAIhASACQQAoAugITQ0BDAULC0EAIAJBAmo2AuQIDAELQQAgA0ECajYC5AhBARAnGkEAKALkCCICIAIQLBoLQQEQJyECC0EAKALkCCEDAkAgAkHmAEcNACADLwEGQe0ARw0AIAMvAQRB7wBHDQAgAy8BAkHyAEcNAEEAIANBCGo2AuQIIABBARAnECgPC0EAIANBfmo2AuQIDAMLEB4PCwJAIAMvAQhB8wBHDQAgAy8BBkHzAEcNACADLwEEQeEARw0AIAMvAQJB7ABHDQAgAy8BChAfRQ0AQQAgA0EKajYC5AhBARAnIQJBACgC5AghAyACECoaIANBACgC5AgQAkEAQQAoAuQIQX5qNgLkCA8LQQAgA0EEaiIDNgLkCAtBACADQQRqIgI2AuQIQQBBADoAyAgDQEEAIAJBAmo2AuQIQQEQJyEDQQAoAuQIIQICQCADECpBIHJB+wBHDQBBAEEAKALkCEF+ajYC5AgPC0EAKALkCCIDIAJGDQEgAiADEAICQEEBECciAkEsRg0AAkAgAkE9Rw0AQQBBACgC5AhBfmo2AuQIDwtBAEEAKALkCEF+ajYC5AgPC0EAKALkCCECDAALCw8LQQAgA0EKajYC5AhBARAnGkEAKALkCCEDC0EAIANBEGo2AuQIAkBBARAnIgJBKkcNAEEAQQAoAuQIQQJqNgLkCEEBECchAgtBACgC5AghAyACECoaIANBACgC5AgQAkEAQQAoAuQIQX5qNgLkCA8LIAMgA0EOahACC64GAQR/QQBBACgC5AgiAEEMaiIBNgLkCAJAAkACQAJAAkACQAJAAkACQAJAQQEQJyICQVlqDggCCAECAQEBBwALIAJBIkYNASACQfsARg0CC0EAKALkCCABRg0HC0EALwHMCA0BQQAoAuQIIQJBACgC6AghAwNAIAIgA08NBAJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQKA8LQQAgAkECaiICNgLkCAwACwtBACgC5AghAkEALwHMCA0BAkADQAJAAkACQCACQQAoAugITw0AQQEQJyICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKALkCEECajYC5AgLQQEQJxpBACgC5AgiAi8BBkHtAEcNBiACLwEEQe8ARw0GIAIvAQJB8gBHDQYgAi8BAEHmAEcNBkEAIAJBCGo2AuQIQQEQJyICQSJGDQMgAkEnRg0DDAYLIAIQGAtBAEEAKALkCEECaiICNgLkCAwACwsgACACECgMBQtBAEEAKALkCEF+ajYC5AgPC0EAIAJBfmo2AuQIDwsQHg8LQQBBACgC5AhBAmo2AuQIQQEQJ0HtAEcNAUEAKALkCCICLwEGQeEARw0BIAIvAQRB9ABHDQEgAi8BAkHlAEcNAUEAKALQCC8BAEEuRg0BIAAgACACQQhqQQAoAogIEAEPC0EAKALcCEEALwHMCCICQQJ0aiAANgIAQQAgAkEBajsBzAhBACgC0AgvAQBBLkYNACAAQQAoAuQIQQJqQQAgABABQQBBACgCpAg2ArAIQQBBACgC5AhBAmo2AuQIAkBBARAnIgJBIkYNACACQSdGDQBBAEEAKALkCEF+ajYC5AgPCyACEBhBAEEAKALkCEECajYC5AgCQAJAAkBBARAnQVdqDgQBAgIAAgtBACgCpAhBACgC5AgiAjYCBEEAIAJBAmo2AuQIQQEQJxpBACgCpAgiAkEBOgAYIAJBACgC5AgiATYCEEEAIAFBfmo2AuQIDwtBACgCpAgiAkEBOgAYIAJBACgC5AgiATYCDCACIAE2AgRBAEEALwHMCEF/ajsBzAgPC0EAQQAoAuQIQX5qNgLkCA8LC0cBA39BACgC5AhBAmohAEEAKALoCCEBAkADQCAAIgJBfmogAU8NASACQQJqIQAgAi8BAEF2ag4EAQAAAQALC0EAIAI2AuQIC5gBAQN/QQBBACgC5AgiAUECajYC5AggAUEGaiEBQQAoAugIIQIDQAJAAkACQCABQXxqIAJPDQAgAUF+ai8BACEDAkACQCAADQAgA0EqRg0BIANBdmoOBAIEBAIECyADQSpHDQMLIAEvAQBBL0cNAkEAIAFBfmo2AuQIDAELIAFBfmohAQtBACABNgLkCA8LIAFBAmohAQwACwu/AQEEf0EAKALkCCEAQQAoAugIIQECQAJAA0AgACICQQJqIQAgAiABTw0BAkACQCAALwEAIgNBpH9qDgUBAgICBAALIANBJEcNASACLwEEQfsARw0BQQBBAC8ByggiAEEBajsByghBACgC2AggAEEBdGpBAC8Bzgg7AQBBACACQQRqNgLkCEEAQQAvAcwIQQFqIgA7Ac4IQQAgADsBzAgPCyACQQRqIQAMAAsLQQAgADYC5AgQHg8LQQAgADYC5AgLiAEBBH9BACgC5AghAUEAKALoCCECAkACQANAIAEiA0ECaiEBIAMgAk8NASABLwEAIgQgAEYNAgJAIARB3ABGDQAgBEF2ag4EAgEBAgELIANBBGohASADLwEEQQ1HDQAgA0EGaiABIAMvAQZBCkYbIQEMAAsLQQAgATYC5AgQHg8LQQAgATYC5AgLbAEBfwJAAkAgAEFfaiIBQQVLDQBBASABdEExcQ0BCyAAQUZqQf//A3FBBkkNACAAQSlHIABBWGpB//8DcUEHSXENAAJAIABBpX9qDgQBAAABAAsgAEH9AEcgAEGFf2pB//8DcUEESXEPC0EBCz0BAX9BASEBAkAgAEH3AEHoAEHpAEHsAEHlABAgDQAgAEHmAEHvAEHyABAhDQAgAEHpAEHmABAiIQELIAELmwEBAn9BASEBAkACQAJAAkACQAJAIAAvAQAiAkFFag4EBQQEAQALAkAgAkGbf2oOBAMEBAIACyACQSlGDQQgAkH5AEcNAyAAQX5qQeYAQekAQe4AQeEAQewAQewAECMPCyAAQX5qLwEAQT1GDwsgAEF+akHjAEHhAEH0AEHjABAkDwsgAEF+akHlAEHsAEHzABAhDwtBACEBCyABC9IDAQJ/QQAhAQJAAkACQAJAAkACQAJAAkACQCAALwEAQZx/ag4UAAECCAgICAgICAMECAgFCAYICAcICwJAAkAgAEF+ai8BAEGXf2oOBAAJCQEJCyAAQXxqQfYAQe8AECIPCyAAQXxqQfkAQekAQeUAECEPCwJAAkAgAEF+ai8BAEGNf2oOAgABCAsCQCAAQXxqLwEAIgJB4QBGDQAgAkHsAEcNCCAAQXpqQeUAECUPCyAAQXpqQeMAECUPCyAAQXxqQeQAQeUAQewAQeUAECQPCyAAQX5qLwEAQe8ARw0FIABBfGovAQBB5QBHDQUCQCAAQXpqLwEAIgJB8ABGDQAgAkHjAEcNBiAAQXhqQekAQe4AQfMAQfQAQeEAQe4AECMPCyAAQXhqQfQAQfkAECIPC0EBIQEgAEF+aiIAQekAECUNBCAAQfIAQeUAQfQAQfUAQfIAECAPCyAAQX5qQeQAECUPCyAAQX5qQeQAQeUAQeIAQfUAQecAQecAQeUAECYPCyAAQX5qQeEAQfcAQeEAQekAECQPCwJAIABBfmovAQAiAkHvAEYNACACQeUARw0BIABBfGpB7gAQJQ8LIABBfGpB9ABB6ABB8gAQISEBCyABC3ABAn8CQAJAA0BBAEEAKALkCCIAQQJqIgE2AuQIIABBACgC6AhPDQECQAJAAkAgAS8BACIBQaV/ag4CAQIACwJAIAFBdmoOBAQDAwQACyABQS9HDQIMBAsQLRoMAQtBACAAQQRqNgLkCAwACwsQHgsLNQEBf0EAQQE6ALQIQQAoAuQIIQBBAEEAKALoCEECajYC5AhBACAAQQAoApAIa0EBdTYCxAgLNAEBf0EBIQECQCAAQXdqQf//A3FBBUkNACAAQYABckGgAUYNACAAQS5HIAAQK3EhAQsgAQtJAQN/QQAhBgJAIABBeGoiB0EAKAKQCCIISQ0AIAcgASACIAMgBCAFEBJFDQACQCAHIAhHDQBBAQ8LIABBdmovAQAQHyEGCyAGC1kBA39BACEEAkAgAEF8aiIFQQAoApAIIgZJDQAgAC8BACADRw0AIABBfmovAQAgAkcNACAFLwEAIAFHDQACQCAFIAZHDQBBAQ8LIABBemovAQAQHyEECyAEC0wBA39BACEDAkAgAEF+aiIEQQAoApAIIgVJDQAgAC8BACACRw0AIAQvAQAgAUcNAAJAIAQgBUcNAEEBDwsgAEF8ai8BABAfIQMLIAMLSwEDf0EAIQcCQCAAQXZqIghBACgCkAgiCUkNACAIIAEgAiADIAQgBSAGEC5FDQACQCAIIAlHDQBBAQ8LIABBdGovAQAQHyEHCyAHC2YBA39BACEFAkAgAEF6aiIGQQAoApAIIgdJDQAgAC8BACAERw0AIABBfmovAQAgA0cNACAAQXxqLwEAIAJHDQAgBi8BACABRw0AAkAgBiAHRw0AQQEPCyAAQXhqLwEAEB8hBQsgBQs9AQJ/QQAhAgJAQQAoApAIIgMgAEsNACAALwEAIAFHDQACQCADIABHDQBBAQ8LIABBfmovAQAQHyECCyACC00BA39BACEIAkAgAEF0aiIJQQAoApAIIgpJDQAgCSABIAIgAyAEIAUgBiAHEC9FDQACQCAJIApHDQBBAQ8LIABBcmovAQAQHyEICyAIC5wBAQN/QQAoAuQIIQECQANAAkACQCABLwEAIgJBL0cNAAJAIAEvAQIiAUEqRg0AIAFBL0cNBBAVDAILIAAQFgwBCwJAAkAgAEUNACACQXdqIgFBF0sNAUEBIAF0QZ+AgARxRQ0BDAILIAIQKUUNAwwBCyACQaABRw0CC0EAQQAoAuQIIgNBAmoiATYC5AggA0EAKALoCEkNAAsLIAILywMBAX8CQCABQSJGDQAgAUEnRg0AEB4PC0EAKALkCCECIAEQGCAAIAJBAmpBACgC5AhBACgChAgQAUEAQQAoAuQIQQJqNgLkCEEAECchAEEAKALkCCEBAkACQCAAQeEARw0AIAFBAmpB8wBB8wBB5QBB8gBB9AAQEg0BC0EAIAFBfmo2AuQIDwtBACABQQxqNgLkCAJAQQEQJ0H7AEYNAEEAIAE2AuQIDwtBACgC5AgiAiEAA0BBACAAQQJqNgLkCAJAAkACQEEBECciAEEiRg0AIABBJ0cNAUEnEBhBAEEAKALkCEECajYC5AhBARAnIQAMAgtBIhAYQQBBACgC5AhBAmo2AuQIQQEQJyEADAELIAAQKiEACwJAIABBOkYNAEEAIAE2AuQIDwtBAEEAKALkCEECajYC5AgCQEEBECciAEEiRg0AIABBJ0YNAEEAIAE2AuQIDwsgABAYQQBBACgC5AhBAmo2AuQIAkACQEEBECciAEEsRg0AIABB/QBGDQFBACABNgLkCA8LQQBBACgC5AhBAmo2AuQIQQEQJ0H9AEYNAEEAKALkCCEADAELC0EAKAKkCCIBIAI2AhAgAUEAKALkCEECajYCDAswAQF/AkACQCAAQXdqIgFBF0sNAEEBIAF0QY2AgARxDQELIABBoAFGDQBBAA8LQQELbQECfwJAAkADQAJAIABB//8DcSIBQXdqIgJBF0sNAEEBIAJ0QZ+AgARxDQILIAFBoAFGDQEgACECIAEQKw0CQQAhAkEAQQAoAuQIIgBBAmo2AuQIIAAvAQIiAA0ADAILCyAAIQILIAJB//8DcQtoAQJ/QQEhAQJAAkAgAEFfaiICQQVLDQBBASACdEExcQ0BCyAAQfj/A3FBKEYNACAAQUZqQf//A3FBBkkNAAJAIABBpX9qIgJBA0sNACACQQFHDQELIABBhX9qQf//A3FBBEkhAQsgAQuLAQECfwJAQQAoAuQIIgIvAQAiA0HhAEcNAEEAIAJBBGo2AuQIQQEQJyECQQAoAuQIIQACQAJAIAJBIkYNACACQSdGDQAgAhAqGkEAKALkCCEBDAELIAIQGEEAQQAoAuQIQQJqIgE2AuQIC0EBECchA0EAKALkCCECCwJAIAIgAEYNACAAIAEQAgsgAwtyAQR/QQAoAuQIIQBBACgC6AghAQJAAkADQCAAQQJqIQIgACABTw0BAkACQCACLwEAIgNBpH9qDgIBBAALIAIhACADQXZqDgQCAQECAQsgAEEEaiEADAALC0EAIAI2AuQIEB5BAA8LQQAgAjYC5AhB3QALSQEBf0EAIQcCQCAALwEKIAZHDQAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhBwsgBwtTAQF/QQAhCAJAIAAvAQwgB0cNACAALwEKIAZHDQAgAC8BCCAFRw0AIAAvAQYgBEcNACAALwEEIANHDQAgAC8BAiACRw0AIAAvAQAgAUYhCAsgCAsLHwIAQYAICwIAAABBhAgLEAEAAAACAAAAAAQAAHA4AAA=\",\"undefined\"!=typeof Buffer?Buffer.from(E,\"base64\"):Uint8Array.from(atob(E),A=>A.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:A})=>{B=A});var E;\n\n//# sourceURL=webpack://JSONDigger/./node_modules/es-module-lexer/dist/lexer.js?"); /***/ }), /***/ "./node_modules/ajv/lib/refs/data.json": /*!*********************************************!*\ !*** ./node_modules/ajv/lib/refs/data.json ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#\",\"description\":\"Meta-schema for $data reference (JSON Schema extension proposal)\",\"type\":\"object\",\"required\":[\"$data\"],\"properties\":{\"$data\":{\"type\":\"string\",\"anyOf\":[{\"format\":\"relative-json-pointer\"},{\"format\":\"json-pointer\"}]}},\"additionalProperties\":false}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/refs/data.json?"); /***/ }), /***/ "./node_modules/ajv/lib/refs/json-schema-draft-07.json": /*!*************************************************************!*\ !*** ./node_modules/ajv/lib/refs/json-schema-draft-07.json ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"http://json-schema.org/draft-07/schema#\",\"title\":\"Core schema meta-schema\",\"definitions\":{\"schemaArray\":{\"type\":\"array\",\"minItems\":1,\"items\":{\"$ref\":\"#\"}},\"nonNegativeInteger\":{\"type\":\"integer\",\"minimum\":0},\"nonNegativeIntegerDefault0\":{\"allOf\":[{\"$ref\":\"#/definitions/nonNegativeInteger\"},{\"default\":0}]},\"simpleTypes\":{\"enum\":[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},\"stringArray\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"default\":[]}},\"type\":[\"object\",\"boolean\"],\"properties\":{\"$id\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$schema\":{\"type\":\"string\",\"format\":\"uri\"},\"$ref\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$comment\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"default\":true,\"readOnly\":{\"type\":\"boolean\",\"default\":false},\"examples\":{\"type\":\"array\",\"items\":true},\"multipleOf\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"maximum\":{\"type\":\"number\"},\"exclusiveMaximum\":{\"type\":\"number\"},\"minimum\":{\"type\":\"number\"},\"exclusiveMinimum\":{\"type\":\"number\"},\"maxLength\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minLength\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"pattern\":{\"type\":\"string\",\"format\":\"regex\"},\"additionalItems\":{\"$ref\":\"#\"},\"items\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/schemaArray\"}],\"default\":true},\"maxItems\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minItems\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"uniqueItems\":{\"type\":\"boolean\",\"default\":false},\"contains\":{\"$ref\":\"#\"},\"maxProperties\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minProperties\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"required\":{\"$ref\":\"#/definitions/stringArray\"},\"additionalProperties\":{\"$ref\":\"#\"},\"definitions\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"properties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"patternProperties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"propertyNames\":{\"format\":\"regex\"},\"default\":{}},\"dependencies\":{\"type\":\"object\",\"additionalProperties\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/stringArray\"}]}},\"propertyNames\":{\"$ref\":\"#\"},\"const\":true,\"enum\":{\"type\":\"array\",\"items\":true,\"minItems\":1,\"uniqueItems\":true},\"type\":{\"anyOf\":[{\"$ref\":\"#/definitions/simpleTypes\"},{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/simpleTypes\"},\"minItems\":1,\"uniqueItems\":true}]},\"format\":{\"type\":\"string\"},\"contentMediaType\":{\"type\":\"string\"},\"contentEncoding\":{\"type\":\"string\"},\"if\":{\"$ref\":\"#\"},\"then\":{\"$ref\":\"#\"},\"else\":{\"$ref\":\"#\"},\"allOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"anyOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"oneOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"not\":{\"$ref\":\"#\"}},\"default\":true}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/ajv/lib/refs/json-schema-draft-07.json?"); /***/ }), /***/ "./node_modules/eslint-scope/package.json": /*!************************************************!*\ !*** ./node_modules/eslint-scope/package.json ***! \************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"name\":\"eslint-scope\",\"description\":\"ECMAScript scope analyzer for ESLint\",\"homepage\":\"http://github.com/eslint/eslint-scope\",\"main\":\"lib/index.js\",\"version\":\"5.1.1\",\"engines\":{\"node\":\">=8.0.0\"},\"repository\":\"eslint/eslint-scope\",\"bugs\":{\"url\":\"https://github.com/eslint/eslint-scope/issues\"},\"license\":\"BSD-2-Clause\",\"scripts\":{\"test\":\"node Makefile.js test\",\"lint\":\"node Makefile.js lint\",\"generate-release\":\"eslint-generate-release\",\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"publish-release\":\"eslint-publish-release\"},\"files\":[\"LICENSE\",\"README.md\",\"lib\"],\"dependencies\":{\"esrecurse\":\"^4.3.0\",\"estraverse\":\"^4.1.1\"},\"devDependencies\":{\"@typescript-eslint/parser\":\"^1.11.0\",\"chai\":\"^4.2.0\",\"eslint\":\"^6.0.1\",\"eslint-config-eslint\":\"^5.0.1\",\"eslint-plugin-node\":\"^9.1.0\",\"eslint-release\":\"^1.0.0\",\"eslint-visitor-keys\":\"^1.2.0\",\"espree\":\"^7.1.0\",\"istanbul\":\"^0.4.5\",\"mocha\":\"^6.1.4\",\"npm-license\":\"^0.3.3\",\"shelljs\":\"^0.8.3\",\"typescript\":\"^3.5.2\"}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/eslint-scope/package.json?"); /***/ }), /***/ "./node_modules/esrecurse/package.json": /*!*********************************************!*\ !*** ./node_modules/esrecurse/package.json ***! \*********************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"name\":\"esrecurse\",\"description\":\"ECMAScript AST recursive visitor\",\"homepage\":\"https://github.com/estools/esrecurse\",\"main\":\"esrecurse.js\",\"version\":\"4.3.0\",\"engines\":{\"node\":\">=4.0\"},\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"web\":\"https://github.com/Constellation\"}],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/estools/esrecurse.git\"},\"dependencies\":{\"estraverse\":\"^5.2.0\"},\"devDependencies\":{\"babel-cli\":\"^6.24.1\",\"babel-eslint\":\"^7.2.3\",\"babel-preset-es2015\":\"^6.24.1\",\"babel-register\":\"^6.24.1\",\"chai\":\"^4.0.2\",\"esprima\":\"^4.0.0\",\"gulp\":\"^3.9.0\",\"gulp-bump\":\"^2.7.0\",\"gulp-eslint\":\"^4.0.0\",\"gulp-filter\":\"^5.0.0\",\"gulp-git\":\"^2.4.1\",\"gulp-mocha\":\"^4.3.1\",\"gulp-tag-version\":\"^1.2.1\",\"jsdoc\":\"^3.3.0-alpha10\",\"minimist\":\"^1.1.0\"},\"license\":\"BSD-2-Clause\",\"scripts\":{\"test\":\"gulp travis\",\"unit-test\":\"gulp test\",\"lint\":\"gulp lint\"},\"babel\":{\"presets\":[\"es2015\"]}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/esrecurse/package.json?"); /***/ }), /***/ "./node_modules/estraverse/package.json": /*!**********************************************!*\ !*** ./node_modules/estraverse/package.json ***! \**********************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"name\":\"estraverse\",\"description\":\"ECMAScript JS AST traversal functions\",\"homepage\":\"https://github.com/estools/estraverse\",\"main\":\"estraverse.js\",\"version\":\"4.3.0\",\"engines\":{\"node\":\">=4.0\"},\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"web\":\"http://github.com/Constellation\"}],\"repository\":{\"type\":\"git\",\"url\":\"http://github.com/estools/estraverse.git\"},\"devDependencies\":{\"babel-preset-env\":\"^1.6.1\",\"babel-register\":\"^6.3.13\",\"chai\":\"^2.1.1\",\"espree\":\"^1.11.0\",\"gulp\":\"^3.8.10\",\"gulp-bump\":\"^0.2.2\",\"gulp-filter\":\"^2.0.0\",\"gulp-git\":\"^1.0.1\",\"gulp-tag-version\":\"^1.3.0\",\"jshint\":\"^2.5.6\",\"mocha\":\"^2.1.0\"},\"license\":\"BSD-2-Clause\",\"scripts\":{\"test\":\"npm run-script lint && npm run-script unit-test\",\"lint\":\"jshint estraverse.js\",\"unit-test\":\"mocha --compilers js:babel-register\"}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/estraverse/package.json?"); /***/ }), /***/ "./node_modules/mime-db/db.json": /*!**************************************!*\ !*** ./node_modules/mime-db/db.json ***! \**************************************/ /***/ ((module) => { "use strict"; eval("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}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/mime-db/db.json?"); /***/ }), /***/ "./node_modules/node-releases/data/processed/envs.json": /*!*************************************************************!*\ !*** ./node_modules/node-releases/data/processed/envs.json ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('[{\"name\":\"nodejs\",\"version\":\"0.2.0\",\"date\":\"2011-08-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.3.0\",\"date\":\"2011-08-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.4.0\",\"date\":\"2011-08-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.5.0\",\"date\":\"2011-08-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.6.0\",\"date\":\"2011-11-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.7.0\",\"date\":\"2012-01-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.8.0\",\"date\":\"2012-06-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.9.0\",\"date\":\"2012-07-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.10.0\",\"date\":\"2013-03-11\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.11.0\",\"date\":\"2013-03-28\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"0.12.0\",\"date\":\"2015-02-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.0.0\",\"date\":\"2015-09-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.1.0\",\"date\":\"2015-09-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.2.0\",\"date\":\"2015-10-12\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.3.0\",\"date\":\"2016-02-09\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.4.0\",\"date\":\"2016-03-08\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.5.0\",\"date\":\"2016-08-16\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.6.0\",\"date\":\"2016-09-27\",\"lts\":\"Argon\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"4.7.0\",\"date\":\"2016-12-06\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.8.0\",\"date\":\"2017-02-21\",\"lts\":\"Argon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"4.9.0\",\"date\":\"2018-03-28\",\"lts\":\"Argon\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"5.0.0\",\"date\":\"2015-10-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.1.0\",\"date\":\"2015-11-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.2.0\",\"date\":\"2015-12-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.3.0\",\"date\":\"2015-12-15\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.4.0\",\"date\":\"2016-01-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.5.0\",\"date\":\"2016-01-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.6.0\",\"date\":\"2016-02-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.7.0\",\"date\":\"2016-02-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.8.0\",\"date\":\"2016-03-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.9.0\",\"date\":\"2016-03-16\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.10.0\",\"date\":\"2016-04-01\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.11.0\",\"date\":\"2016-04-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"5.12.0\",\"date\":\"2016-06-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.0.0\",\"date\":\"2016-04-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.1.0\",\"date\":\"2016-05-05\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.2.0\",\"date\":\"2016-05-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.3.0\",\"date\":\"2016-07-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.4.0\",\"date\":\"2016-08-12\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.5.0\",\"date\":\"2016-08-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.6.0\",\"date\":\"2016-09-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.7.0\",\"date\":\"2016-09-27\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"6.8.0\",\"date\":\"2016-10-12\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.9.0\",\"date\":\"2016-10-18\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.10.0\",\"date\":\"2017-02-21\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.11.0\",\"date\":\"2017-06-06\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.12.0\",\"date\":\"2017-11-06\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.13.0\",\"date\":\"2018-02-10\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.14.0\",\"date\":\"2018-03-28\",\"lts\":\"Boron\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"6.15.0\",\"date\":\"2018-11-27\",\"lts\":\"Boron\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"6.16.0\",\"date\":\"2018-12-26\",\"lts\":\"Boron\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"6.17.0\",\"date\":\"2019-02-28\",\"lts\":\"Boron\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"7.0.0\",\"date\":\"2016-10-25\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.1.0\",\"date\":\"2016-11-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.2.0\",\"date\":\"2016-11-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.3.0\",\"date\":\"2016-12-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.4.0\",\"date\":\"2017-01-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.5.0\",\"date\":\"2017-01-31\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.6.0\",\"date\":\"2017-02-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.7.0\",\"date\":\"2017-02-28\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.8.0\",\"date\":\"2017-03-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.9.0\",\"date\":\"2017-04-11\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"7.10.0\",\"date\":\"2017-05-02\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.0.0\",\"date\":\"2017-05-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.1.0\",\"date\":\"2017-06-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.2.0\",\"date\":\"2017-07-19\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.3.0\",\"date\":\"2017-08-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.4.0\",\"date\":\"2017-08-15\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.5.0\",\"date\":\"2017-09-12\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.6.0\",\"date\":\"2017-09-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.7.0\",\"date\":\"2017-10-11\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.8.0\",\"date\":\"2017-10-24\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.9.0\",\"date\":\"2017-10-31\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.10.0\",\"date\":\"2018-03-06\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.11.0\",\"date\":\"2018-03-28\",\"lts\":\"Carbon\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"8.12.0\",\"date\":\"2018-09-10\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.13.0\",\"date\":\"2018-11-20\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.14.0\",\"date\":\"2018-11-27\",\"lts\":\"Carbon\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"8.15.0\",\"date\":\"2018-12-26\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.16.0\",\"date\":\"2019-04-16\",\"lts\":\"Carbon\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"8.17.0\",\"date\":\"2019-12-17\",\"lts\":\"Carbon\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"9.0.0\",\"date\":\"2017-10-31\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.1.0\",\"date\":\"2017-11-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.2.0\",\"date\":\"2017-11-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.3.0\",\"date\":\"2017-12-12\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.4.0\",\"date\":\"2018-01-10\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.5.0\",\"date\":\"2018-01-31\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.6.0\",\"date\":\"2018-02-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.7.0\",\"date\":\"2018-03-01\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.8.0\",\"date\":\"2018-03-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.9.0\",\"date\":\"2018-03-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"9.10.0\",\"date\":\"2018-03-28\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"9.11.0\",\"date\":\"2018-04-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.0.0\",\"date\":\"2018-04-24\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.1.0\",\"date\":\"2018-05-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.2.0\",\"date\":\"2018-05-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.3.0\",\"date\":\"2018-05-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.4.0\",\"date\":\"2018-06-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.5.0\",\"date\":\"2018-06-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.6.0\",\"date\":\"2018-07-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.7.0\",\"date\":\"2018-07-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.8.0\",\"date\":\"2018-08-01\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.9.0\",\"date\":\"2018-08-15\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.10.0\",\"date\":\"2018-09-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.11.0\",\"date\":\"2018-09-19\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.12.0\",\"date\":\"2018-10-10\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.13.0\",\"date\":\"2018-10-30\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.14.0\",\"date\":\"2018-11-27\",\"lts\":\"Dubnium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"10.15.0\",\"date\":\"2018-12-26\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.16.0\",\"date\":\"2019-05-28\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.17.0\",\"date\":\"2019-10-22\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.18.0\",\"date\":\"2019-12-17\",\"lts\":\"Dubnium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"10.19.0\",\"date\":\"2020-02-05\",\"lts\":\"Dubnium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"10.20.0\",\"date\":\"2020-03-26\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.21.0\",\"date\":\"2020-06-02\",\"lts\":\"Dubnium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"10.22.0\",\"date\":\"2020-07-21\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.23.0\",\"date\":\"2020-10-27\",\"lts\":\"Dubnium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"10.24.0\",\"date\":\"2021-02-23\",\"lts\":\"Dubnium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"11.0.0\",\"date\":\"2018-10-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.1.0\",\"date\":\"2018-10-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.2.0\",\"date\":\"2018-11-15\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.3.0\",\"date\":\"2018-11-27\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"11.4.0\",\"date\":\"2018-12-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.5.0\",\"date\":\"2018-12-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.6.0\",\"date\":\"2018-12-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.7.0\",\"date\":\"2019-01-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.8.0\",\"date\":\"2019-01-24\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.9.0\",\"date\":\"2019-01-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.10.0\",\"date\":\"2019-02-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.11.0\",\"date\":\"2019-03-05\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.12.0\",\"date\":\"2019-03-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.13.0\",\"date\":\"2019-03-28\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.14.0\",\"date\":\"2019-04-10\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"11.15.0\",\"date\":\"2019-04-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.0.0\",\"date\":\"2019-04-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.1.0\",\"date\":\"2019-04-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.2.0\",\"date\":\"2019-05-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.3.0\",\"date\":\"2019-05-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.4.0\",\"date\":\"2019-06-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.5.0\",\"date\":\"2019-06-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.6.0\",\"date\":\"2019-07-03\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.7.0\",\"date\":\"2019-07-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.8.0\",\"date\":\"2019-08-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.9.0\",\"date\":\"2019-08-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.10.0\",\"date\":\"2019-09-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.11.0\",\"date\":\"2019-09-25\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.12.0\",\"date\":\"2019-10-11\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.13.0\",\"date\":\"2019-10-21\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.14.0\",\"date\":\"2019-12-17\",\"lts\":\"Erbium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"12.15.0\",\"date\":\"2020-02-05\",\"lts\":\"Erbium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"12.16.0\",\"date\":\"2020-02-11\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.17.0\",\"date\":\"2020-05-26\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.18.0\",\"date\":\"2020-06-02\",\"lts\":\"Erbium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"12.19.0\",\"date\":\"2020-10-06\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.20.0\",\"date\":\"2020-11-24\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"12.21.0\",\"date\":\"2021-02-23\",\"lts\":\"Erbium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"12.22.0\",\"date\":\"2021-03-30\",\"lts\":\"Erbium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.0.0\",\"date\":\"2019-10-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.1.0\",\"date\":\"2019-11-05\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.2.0\",\"date\":\"2019-11-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.3.0\",\"date\":\"2019-12-03\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.4.0\",\"date\":\"2019-12-17\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"13.5.0\",\"date\":\"2019-12-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.6.0\",\"date\":\"2020-01-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.7.0\",\"date\":\"2020-01-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.8.0\",\"date\":\"2020-02-05\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"13.9.0\",\"date\":\"2020-02-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.10.0\",\"date\":\"2020-03-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.11.0\",\"date\":\"2020-03-12\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.12.0\",\"date\":\"2020-03-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.13.0\",\"date\":\"2020-04-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"13.14.0\",\"date\":\"2020-04-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.0.0\",\"date\":\"2020-04-21\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.1.0\",\"date\":\"2020-04-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.2.0\",\"date\":\"2020-05-05\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.3.0\",\"date\":\"2020-05-19\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.4.0\",\"date\":\"2020-06-02\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"14.5.0\",\"date\":\"2020-06-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.6.0\",\"date\":\"2020-07-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.7.0\",\"date\":\"2020-07-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.8.0\",\"date\":\"2020-08-11\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.9.0\",\"date\":\"2020-08-27\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.10.0\",\"date\":\"2020-09-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.11.0\",\"date\":\"2020-09-15\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"14.12.0\",\"date\":\"2020-09-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.13.0\",\"date\":\"2020-09-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.14.0\",\"date\":\"2020-10-15\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.15.0\",\"date\":\"2020-10-27\",\"lts\":\"Fermium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.16.0\",\"date\":\"2021-02-23\",\"lts\":\"Fermium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"14.17.0\",\"date\":\"2021-05-11\",\"lts\":\"Fermium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.18.0\",\"date\":\"2021-09-28\",\"lts\":\"Fermium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.19.0\",\"date\":\"2022-02-01\",\"lts\":\"Fermium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"14.20.0\",\"date\":\"2022-07-07\",\"lts\":\"Fermium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"14.21.0\",\"date\":\"2022-11-01\",\"lts\":\"Fermium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.0.0\",\"date\":\"2020-10-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.1.0\",\"date\":\"2020-11-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.2.0\",\"date\":\"2020-11-10\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.3.0\",\"date\":\"2020-11-24\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.4.0\",\"date\":\"2020-12-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.5.0\",\"date\":\"2020-12-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.6.0\",\"date\":\"2021-01-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.7.0\",\"date\":\"2021-01-25\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.8.0\",\"date\":\"2021-02-02\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.9.0\",\"date\":\"2021-02-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.10.0\",\"date\":\"2021-02-23\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"15.11.0\",\"date\":\"2021-03-03\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.12.0\",\"date\":\"2021-03-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.13.0\",\"date\":\"2021-03-31\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"15.14.0\",\"date\":\"2021-04-06\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.0.0\",\"date\":\"2021-04-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.1.0\",\"date\":\"2021-05-04\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.2.0\",\"date\":\"2021-05-19\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.3.0\",\"date\":\"2021-06-03\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.4.0\",\"date\":\"2021-06-23\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.5.0\",\"date\":\"2021-07-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.6.0\",\"date\":\"2021-07-29\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"16.7.0\",\"date\":\"2021-08-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.8.0\",\"date\":\"2021-08-25\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.9.0\",\"date\":\"2021-09-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.10.0\",\"date\":\"2021-09-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.11.0\",\"date\":\"2021-10-08\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.12.0\",\"date\":\"2021-10-20\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.13.0\",\"date\":\"2021-10-26\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.14.0\",\"date\":\"2022-02-08\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.15.0\",\"date\":\"2022-04-26\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.16.0\",\"date\":\"2022-07-07\",\"lts\":\"Gallium\",\"security\":true},{\"name\":\"nodejs\",\"version\":\"16.17.0\",\"date\":\"2022-08-16\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.18.0\",\"date\":\"2022-10-12\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"16.19.0\",\"date\":\"2022-12-13\",\"lts\":\"Gallium\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.0.0\",\"date\":\"2021-10-19\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.1.0\",\"date\":\"2021-11-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.2.0\",\"date\":\"2021-11-30\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.3.0\",\"date\":\"2021-12-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.4.0\",\"date\":\"2022-01-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.5.0\",\"date\":\"2022-02-10\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.6.0\",\"date\":\"2022-02-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.7.0\",\"date\":\"2022-03-09\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.8.0\",\"date\":\"2022-03-22\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"17.9.0\",\"date\":\"2022-04-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.0.0\",\"date\":\"2022-04-18\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.1.0\",\"date\":\"2022-05-03\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.2.0\",\"date\":\"2022-05-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.3.0\",\"date\":\"2022-06-02\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.4.0\",\"date\":\"2022-06-16\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.5.0\",\"date\":\"2022-07-06\",\"lts\":false,\"security\":true},{\"name\":\"nodejs\",\"version\":\"18.6.0\",\"date\":\"2022-07-13\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.7.0\",\"date\":\"2022-07-26\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.8.0\",\"date\":\"2022-08-24\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.9.0\",\"date\":\"2022-09-07\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.10.0\",\"date\":\"2022-09-28\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.11.0\",\"date\":\"2022-10-13\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.12.0\",\"date\":\"2022-10-25\",\"lts\":\"Hydrogen\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"18.13.0\",\"date\":\"2023-01-05\",\"lts\":\"Hydrogen\",\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.0.0\",\"date\":\"2022-10-17\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.1.0\",\"date\":\"2022-11-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.2.0\",\"date\":\"2022-11-29\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.3.0\",\"date\":\"2022-12-14\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.4.0\",\"date\":\"2023-01-05\",\"lts\":false,\"security\":false},{\"name\":\"nodejs\",\"version\":\"19.5.0\",\"date\":\"2023-01-24\",\"lts\":false,\"security\":false}]');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/node-releases/data/processed/envs.json?"); /***/ }), /***/ "./node_modules/node-releases/data/release-schedule/release-schedule.json": /*!********************************************************************************!*\ !*** ./node_modules/node-releases/data/release-schedule/release-schedule.json ***! \********************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"v0.8\":{\"start\":\"2012-06-25\",\"end\":\"2014-07-31\"},\"v0.10\":{\"start\":\"2013-03-11\",\"end\":\"2016-10-31\"},\"v0.12\":{\"start\":\"2015-02-06\",\"end\":\"2016-12-31\"},\"v4\":{\"start\":\"2015-09-08\",\"lts\":\"2015-10-12\",\"maintenance\":\"2017-04-01\",\"end\":\"2018-04-30\",\"codename\":\"Argon\"},\"v5\":{\"start\":\"2015-10-29\",\"maintenance\":\"2016-04-30\",\"end\":\"2016-06-30\"},\"v6\":{\"start\":\"2016-04-26\",\"lts\":\"2016-10-18\",\"maintenance\":\"2018-04-30\",\"end\":\"2019-04-30\",\"codename\":\"Boron\"},\"v7\":{\"start\":\"2016-10-25\",\"maintenance\":\"2017-04-30\",\"end\":\"2017-06-30\"},\"v8\":{\"start\":\"2017-05-30\",\"lts\":\"2017-10-31\",\"maintenance\":\"2019-01-01\",\"end\":\"2019-12-31\",\"codename\":\"Carbon\"},\"v9\":{\"start\":\"2017-10-01\",\"maintenance\":\"2018-04-01\",\"end\":\"2018-06-30\"},\"v10\":{\"start\":\"2018-04-24\",\"lts\":\"2018-10-30\",\"maintenance\":\"2020-05-19\",\"end\":\"2021-04-30\",\"codename\":\"Dubnium\"},\"v11\":{\"start\":\"2018-10-23\",\"maintenance\":\"2019-04-22\",\"end\":\"2019-06-01\"},\"v12\":{\"start\":\"2019-04-23\",\"lts\":\"2019-10-21\",\"maintenance\":\"2020-11-30\",\"end\":\"2022-04-30\",\"codename\":\"Erbium\"},\"v13\":{\"start\":\"2019-10-22\",\"maintenance\":\"2020-04-01\",\"end\":\"2020-06-01\"},\"v14\":{\"start\":\"2020-04-21\",\"lts\":\"2020-10-27\",\"maintenance\":\"2021-10-19\",\"end\":\"2023-04-30\",\"codename\":\"Fermium\"},\"v15\":{\"start\":\"2020-10-20\",\"maintenance\":\"2021-04-01\",\"end\":\"2021-06-01\"},\"v16\":{\"start\":\"2021-04-20\",\"lts\":\"2021-10-26\",\"maintenance\":\"2022-10-18\",\"end\":\"2023-09-11\",\"codename\":\"Gallium\"},\"v17\":{\"start\":\"2021-10-19\",\"maintenance\":\"2022-04-01\",\"end\":\"2022-06-01\"},\"v18\":{\"start\":\"2022-04-19\",\"lts\":\"2022-10-25\",\"maintenance\":\"2023-10-18\",\"end\":\"2025-04-30\",\"codename\":\"Hydrogen\"},\"v19\":{\"start\":\"2022-10-18\",\"maintenance\":\"2023-04-01\",\"end\":\"2023-06-01\"},\"v20\":{\"start\":\"2023-04-18\",\"lts\":\"2023-10-24\",\"maintenance\":\"2024-10-22\",\"end\":\"2026-04-30\",\"codename\":\"\"}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/node-releases/data/release-schedule/release-schedule.json?"); /***/ }), /***/ "./node_modules/terser-webpack-plugin/dist/options.json": /*!**************************************************************!*\ !*** ./node_modules/terser-webpack-plugin/dist/options.json ***! \**************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"Rule\":{\"description\":\"Filtering rule as regex or string.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"minLength\":1}]},\"Rules\":{\"description\":\"Filtering rules.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A rule condition.\",\"oneOf\":[{\"$ref\":\"#/definitions/Rule\"}]}},{\"$ref\":\"#/definitions/Rule\"}]}},\"title\":\"TerserPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"test\":{\"description\":\"Include all modules that pass test assertion.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#test\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]},\"include\":{\"description\":\"Include all modules matching any of these conditions.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#include\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]},\"exclude\":{\"description\":\"Exclude all modules matching any of these conditions.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#exclude\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]},\"terserOptions\":{\"description\":\"Options for `terser` (by default) or custom `minify` function.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions\",\"additionalProperties\":true,\"type\":\"object\"},\"extractComments\":{\"description\":\"Whether comments shall be extracted to a separate file.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#extractcomments\",\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"RegExp\"},{\"instanceof\":\"Function\"},{\"additionalProperties\":false,\"properties\":{\"condition\":{\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"RegExp\"},{\"instanceof\":\"Function\"}],\"description\":\"Condition what comments you need extract.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#condition\"},\"filename\":{\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"Function\"}],\"description\":\"The file where the extracted comments will be stored. Default is to append the suffix .LICENSE.txt to the original filename.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#filename\"},\"banner\":{\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"Function\"}],\"description\":\"The banner text that points to the extracted file and will be added on top of the original file\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#banner\"}},\"type\":\"object\"}]},\"parallel\":{\"description\":\"Use multi-process parallel running to improve the build speed.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#parallel\",\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"integer\"}]},\"minify\":{\"description\":\"Allows you to override default minify function.\",\"link\":\"https://github.com/webpack-contrib/terser-webpack-plugin#number\",\"instanceof\":\"Function\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser-webpack-plugin/dist/options.json?"); /***/ }), /***/ "./node_modules/terser/package.json": /*!******************************************!*\ !*** ./node_modules/terser/package.json ***! \******************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"name\":\"terser\",\"description\":\"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+\",\"homepage\":\"https://terser.org\",\"author\":\"Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)\",\"license\":\"BSD-2-Clause\",\"version\":\"5.16.2\",\"engines\":{\"node\":\">=10\"},\"maintainers\":[\"Fábio Santos <fabiosantosart@gmail.com>\"],\"repository\":\"https://github.com/terser/terser\",\"main\":\"dist/bundle.min.js\",\"type\":\"module\",\"module\":\"./main.js\",\"exports\":{\".\":[{\"types\":\"./tools/terser.d.ts\",\"import\":\"./main.js\",\"require\":\"./dist/bundle.min.js\"},\"./dist/bundle.min.js\"],\"./package\":\"./package.json\",\"./package.json\":\"./package.json\",\"./bin/terser\":\"./bin/terser\"},\"types\":\"tools/terser.d.ts\",\"bin\":{\"terser\":\"bin/terser\"},\"files\":[\"bin\",\"dist\",\"lib\",\"tools\",\"LICENSE\",\"README.md\",\"CHANGELOG.md\",\"PATRONS.md\",\"main.js\"],\"dependencies\":{\"@jridgewell/source-map\":\"^0.3.2\",\"acorn\":\"^8.5.0\",\"commander\":\"^2.20.0\",\"source-map-support\":\"~0.5.20\"},\"devDependencies\":{\"@ls-lint/ls-lint\":\"^1.10.0\",\"astring\":\"^1.7.5\",\"eslint\":\"^7.32.0\",\"eslump\":\"^3.0.0\",\"esm\":\"^3.2.25\",\"mocha\":\"^9.2.0\",\"pre-commit\":\"^1.2.2\",\"rimraf\":\"^3.0.2\",\"rollup\":\"2.56.3\",\"semver\":\"^7.3.4\",\"source-map\":\"~0.8.0-beta.0\"},\"scripts\":{\"test\":\"node test/compress.js && mocha test/mocha\",\"test:compress\":\"node test/compress.js\",\"test:mocha\":\"mocha test/mocha\",\"lint\":\"eslint lib\",\"lint-fix\":\"eslint --fix lib\",\"ls-lint\":\"ls-lint\",\"build\":\"rimraf dist/bundle* && rollup --config --silent\",\"prepare\":\"npm run build\",\"postversion\":\"echo \\'Remember to update the changelog!\\'\"},\"keywords\":[\"uglify\",\"terser\",\"uglify-es\",\"uglify-js\",\"minify\",\"minifier\",\"javascript\",\"ecmascript\",\"es5\",\"es6\",\"es7\",\"es8\",\"es2015\",\"es2016\",\"es2017\",\"async\",\"await\"],\"eslintConfig\":{\"parserOptions\":{\"sourceType\":\"module\",\"ecmaVersion\":2020},\"env\":{\"node\":true,\"browser\":true,\"es2020\":true},\"globals\":{\"describe\":false,\"it\":false,\"require\":false,\"before\":false,\"after\":false,\"global\":false,\"process\":false},\"rules\":{\"brace-style\":[\"error\",\"1tbs\",{\"allowSingleLine\":true}],\"quotes\":[\"error\",\"double\",\"avoid-escape\"],\"no-debugger\":\"error\",\"no-undef\":\"error\",\"no-unused-vars\":[\"error\",{\"varsIgnorePattern\":\"^_\"}],\"no-tabs\":\"error\",\"semi\":[\"error\",\"always\"],\"no-extra-semi\":\"error\",\"no-irregular-whitespace\":\"error\",\"space-before-blocks\":[\"error\",\"always\"]}},\"pre-commit\":[\"build\",\"lint-fix\",\"ls-lint\",\"test\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/terser/package.json?"); /***/ }), /***/ "./node_modules/webpack/package.json": /*!*******************************************!*\ !*** ./node_modules/webpack/package.json ***! \*******************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"name\":\"webpack\",\"version\":\"5.75.0\",\"author\":\"Tobias Koppers @sokra\",\"description\":\"Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.\",\"license\":\"MIT\",\"dependencies\":{\"@types/eslint-scope\":\"^3.7.3\",\"@types/estree\":\"^0.0.51\",\"@webassemblyjs/ast\":\"1.11.1\",\"@webassemblyjs/wasm-edit\":\"1.11.1\",\"@webassemblyjs/wasm-parser\":\"1.11.1\",\"acorn\":\"^8.7.1\",\"acorn-import-assertions\":\"^1.7.6\",\"browserslist\":\"^4.14.5\",\"chrome-trace-event\":\"^1.0.2\",\"enhanced-resolve\":\"^5.10.0\",\"es-module-lexer\":\"^0.9.0\",\"eslint-scope\":\"5.1.1\",\"events\":\"^3.2.0\",\"glob-to-regexp\":\"^0.4.1\",\"graceful-fs\":\"^4.2.9\",\"json-parse-even-better-errors\":\"^2.3.1\",\"loader-runner\":\"^4.2.0\",\"mime-types\":\"^2.1.27\",\"neo-async\":\"^2.6.2\",\"schema-utils\":\"^3.1.0\",\"tapable\":\"^2.1.1\",\"terser-webpack-plugin\":\"^5.1.3\",\"watchpack\":\"^2.4.0\",\"webpack-sources\":\"^3.2.3\"},\"peerDependenciesMeta\":{\"webpack-cli\":{\"optional\":true}},\"devDependencies\":{\"@babel/core\":\"^7.11.1\",\"@babel/preset-react\":\"^7.10.4\",\"@types/es-module-lexer\":\"^0.4.1\",\"@types/jest\":\"^27.4.0\",\"@types/node\":\"^17.0.16\",\"assemblyscript\":\"^0.19.16\",\"babel-loader\":\"^8.1.0\",\"benchmark\":\"^2.1.4\",\"bundle-loader\":\"^0.5.6\",\"coffee-loader\":\"^1.0.0\",\"coffeescript\":\"^2.5.1\",\"core-js\":\"^3.6.5\",\"coveralls\":\"^3.1.0\",\"cspell\":\"^4.0.63\",\"css-loader\":\"^5.0.1\",\"date-fns\":\"^2.15.0\",\"es5-ext\":\"^0.10.53\",\"es6-promise-polyfill\":\"^1.2.0\",\"eslint\":\"^7.14.0\",\"eslint-config-prettier\":\"^8.1.0\",\"eslint-plugin-jest\":\"^24.7.0\",\"eslint-plugin-jsdoc\":\"^33.0.0\",\"eslint-plugin-node\":\"^11.0.0\",\"eslint-plugin-prettier\":\"^4.0.0\",\"file-loader\":\"^6.0.0\",\"fork-ts-checker-webpack-plugin\":\"^6.0.5\",\"hash-wasm\":\"^4.9.0\",\"husky\":\"^6.0.0\",\"is-ci\":\"^3.0.0\",\"istanbul\":\"^0.4.5\",\"jest\":\"^27.5.0\",\"jest-circus\":\"^27.5.0\",\"jest-cli\":\"^27.5.0\",\"jest-diff\":\"^27.5.0\",\"jest-junit\":\"^13.0.0\",\"json-loader\":\"^0.5.7\",\"json5\":\"^2.1.3\",\"less\":\"^4.0.0\",\"less-loader\":\"^8.0.0\",\"lint-staged\":\"^11.0.0\",\"loader-utils\":\"^2.0.0\",\"lodash\":\"^4.17.19\",\"lodash-es\":\"^4.17.15\",\"memfs\":\"^3.2.0\",\"mini-css-extract-plugin\":\"^1.6.1\",\"mini-svg-data-uri\":\"^1.2.3\",\"nyc\":\"^15.1.0\",\"open-cli\":\"^6.0.1\",\"prettier\":\"^2.7.1\",\"pretty-format\":\"^27.0.2\",\"pug\":\"^3.0.0\",\"pug-loader\":\"^2.4.0\",\"raw-loader\":\"^4.0.1\",\"react\":\"^17.0.1\",\"react-dom\":\"^17.0.1\",\"rimraf\":\"^3.0.2\",\"script-loader\":\"^0.7.2\",\"simple-git\":\"^2.17.0\",\"strip-ansi\":\"^6.0.0\",\"style-loader\":\"^2.0.0\",\"terser\":\"^5.7.0\",\"toml\":\"^3.0.0\",\"tooling\":\"webpack/tooling#v1.22.0\",\"ts-loader\":\"^8.0.2\",\"typescript\":\"^4.8.4\",\"url-loader\":\"^4.1.0\",\"wast-loader\":\"^1.11.0\",\"webassembly-feature\":\"1.3.0\",\"webpack-cli\":\"^4.3.0\",\"xxhashjs\":\"^0.2.2\",\"yamljs\":\"^0.3.0\",\"yarn-deduplicate\":\"^3.1.0\"},\"engines\":{\"node\":\">=10.13.0\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/webpack/webpack.git\"},\"funding\":{\"type\":\"opencollective\",\"url\":\"https://opencollective.com/webpack\"},\"homepage\":\"https://github.com/webpack/webpack\",\"bugs\":\"https://github.com/webpack/webpack/issues\",\"main\":\"lib/index.js\",\"bin\":{\"webpack\":\"bin/webpack.js\"},\"types\":\"types.d.ts\",\"files\":[\"lib/\",\"bin/\",\"hot/\",\"schemas/\",\"SECURITY.md\",\"module.d.ts\",\"types.d.ts\"],\"scripts\":{\"setup\":\"node ./setup/setup.js\",\"jest\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage\",\"test\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage\",\"test:update-snapshots\":\"yarn jest -u\",\"test:integration\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.{basictest,longtest,test}.js\\\\\"\",\"test:basic\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.basictest.js\\\\\"\",\"test:unit\":\"node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \\\\\"<rootDir>/test/*.unittest.js\\\\\"\",\"build:examples\":\"cd examples && node buildAll.js\",\"type-report\":\"rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html\",\"pretest\":\"yarn lint\",\"prelint\":\"yarn setup\",\"lint\":\"yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-test && yarn module-typings-test && yarn yarn-lint && yarn pretty-lint && yarn spellcheck\",\"code-lint\":\"eslint . --ext \\'.js\\' --cache\",\"type-lint\":\"tsc\",\"typings-test\":\"tsc -p tsconfig.types.test.json\",\"module-typings-test\":\"tsc -p tsconfig.module.test.json\",\"spellcheck\":\"cspell \\\\\"**/*\\\\\"\",\"special-lint\":\"node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals\",\"special-lint-fix\":\"node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write\",\"fix\":\"yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix\",\"prepare\":\"husky install\",\"pretty-lint-base\":\"prettier \\\\\"*.{ts,json,yml,yaml,md}\\\\\" \\\\\"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\\\\\" \\\\\"examples/*.md\\\\\"\",\"pretty-lint-base-all\":\"yarn pretty-lint-base \\\\\"*.js\\\\\" \\\\\"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.js\\\\\" \\\\\"module.d.ts\\\\\" \\\\\"test/*.js\\\\\" \\\\\"test/helpers/*.js\\\\\" \\\\\"test/{configCases,watchCases,statsCases,hotCases,benchmarkCases}/**/webpack.config.js\\\\\" \\\\\"examples/**/webpack.config.js\\\\\"\",\"pretty-lint-fix\":\"yarn pretty-lint-base-all --loglevel warn --write\",\"pretty-lint\":\"yarn pretty-lint-base --check\",\"yarn-lint\":\"yarn-deduplicate --fail --list -s highest yarn.lock\",\"yarn-lint-fix\":\"yarn-deduplicate -s highest yarn.lock\",\"benchmark\":\"node --max-old-space-size=4096 --experimental-vm-modules --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \\\\\"<rootDir>/test/*.benchmark.js\\\\\" --runInBand\",\"cover\":\"yarn cover:all && yarn cover:report\",\"cover:clean\":\"rimraf .nyc_output coverage\",\"cover:all\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --coverage\",\"cover:basic\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.basictest.js\\\\\" --coverage\",\"cover:integration\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.{basictest,longtest,test}.js\\\\\" --coverage\",\"cover:integration:a\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.{basictest,test}.js\\\\\" --coverage\",\"cover:integration:b\":\"node --expose-gc --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --logHeapUsage --testMatch \\\\\"<rootDir>/test/*.longtest.js\\\\\" --coverage\",\"cover:unit\":\"node --max-old-space-size=4096 --experimental-vm-modules node_modules/jest-cli/bin/jest --testMatch \\\\\"<rootDir>/test/*.unittest.js\\\\\" --coverage\",\"cover:types\":\"node node_modules/tooling/type-coverage\",\"cover:merge\":\"yarn mkdirp .nyc_output && nyc merge .nyc_output coverage/coverage-nyc.json && rimraf .nyc_output\",\"cover:report\":\"nyc report -t coverage\"},\"lint-staged\":{\"*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}\":[\"eslint --cache\"],\"*.{ts,json,yml,yaml,md}|examples/*.md\":[\"prettier --check\"],\"*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\":[\"cspell\"]},\"jest\":{\"forceExit\":true,\"setupFilesAfterEnv\":[\"<rootDir>/test/setupTestFramework.js\"],\"testMatch\":[\"<rootDir>/test/*.test.js\",\"<rootDir>/test/*.basictest.js\",\"<rootDir>/test/*.longtest.js\",\"<rootDir>/test/*.unittest.js\"],\"watchPathIgnorePatterns\":[\"<rootDir>/.git\",\"<rootDir>/node_modules\",\"<rootDir>/test/js\",\"<rootDir>/test/browsertest/js\",\"<rootDir>/test/fixtures/temp-cache-fixture\",\"<rootDir>/test/fixtures/temp-\",\"<rootDir>/benchmark\",\"<rootDir>/assembly\",\"<rootDir>/tooling\",\"<rootDir>/examples/*/dist\",\"<rootDir>/coverage\",\"<rootDir>/.eslintcache\"],\"modulePathIgnorePatterns\":[\"<rootDir>/.git\",\"<rootDir>/node_modules/webpack/node_modules\",\"<rootDir>/test/js\",\"<rootDir>/test/browsertest/js\",\"<rootDir>/test/fixtures/temp-cache-fixture\",\"<rootDir>/test/fixtures/temp-\",\"<rootDir>/benchmark\",\"<rootDir>/examples/*/dist\",\"<rootDir>/coverage\",\"<rootDir>/.eslintcache\"],\"transformIgnorePatterns\":[\"<rootDir>\"],\"coverageDirectory\":\"<rootDir>/coverage\",\"coveragePathIgnorePatterns\":[\"\\\\\\\\.runtime\\\\\\\\.js$\",\"<rootDir>/test\",\"<rootDir>/schemas\",\"<rootDir>/node_modules\"],\"testEnvironment\":\"node\",\"coverageReporters\":[\"json\"]}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/package.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/WebpackOptions.json": /*!**********************************************************!*\ !*** ./node_modules/webpack/schemas/WebpackOptions.json ***! \**********************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"Amd\":{\"description\":\"Set the value of `require.amd` and `define.amd`. Or disable AMD support.\",\"anyOf\":[{\"description\":\"You can pass `false` to disable AMD support.\",\"enum\":[false]},{\"description\":\"You can pass an object to set the value of `require.amd` and `define.amd`.\",\"type\":\"object\"}]},\"AssetFilterItemTypes\":{\"description\":\"Filtering value, regexp or function.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((name: string, asset: import(\\'../lib/stats/DefaultStatsFactoryPlugin\\').StatsAsset) => boolean)\"}]},\"AssetFilterTypes\":{\"description\":\"Filtering modules.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Rule to filter.\",\"cli\":{\"helper\":true},\"oneOf\":[{\"$ref\":\"#/definitions/AssetFilterItemTypes\"}]}},{\"$ref\":\"#/definitions/AssetFilterItemTypes\"}]},\"AssetGeneratorDataUrl\":{\"description\":\"The options for data url generator.\",\"anyOf\":[{\"$ref\":\"#/definitions/AssetGeneratorDataUrlOptions\"},{\"$ref\":\"#/definitions/AssetGeneratorDataUrlFunction\"}]},\"AssetGeneratorDataUrlFunction\":{\"description\":\"Function that executes for module and should return an DataUrl string. It can have a string as \\'ident\\' property which contributes to the module hash.\",\"instanceof\":\"Function\",\"tsType\":\"((source: string | Buffer, context: { filename: string, module: import(\\'../lib/Module\\') }) => string)\"},\"AssetGeneratorDataUrlOptions\":{\"description\":\"Options object for data url generation.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"encoding\":{\"description\":\"Asset encoding (defaults to base64).\",\"enum\":[false,\"base64\"]},\"mimetype\":{\"description\":\"Asset mimetype (getting from file extension by default).\",\"type\":\"string\"}}},\"AssetGeneratorOptions\":{\"description\":\"Generator options for asset modules.\",\"type\":\"object\",\"implements\":[\"#/definitions/AssetInlineGeneratorOptions\",\"#/definitions/AssetResourceGeneratorOptions\"],\"additionalProperties\":false,\"properties\":{\"dataUrl\":{\"$ref\":\"#/definitions/AssetGeneratorDataUrl\"},\"emit\":{\"description\":\"Emit an output asset from this asset module. This can be set to \\'false\\' to omit emitting e. g. for SSR.\",\"type\":\"boolean\"},\"filename\":{\"$ref\":\"#/definitions/FilenameTemplate\"},\"outputPath\":{\"$ref\":\"#/definitions/AssetModuleOutputPath\"},\"publicPath\":{\"$ref\":\"#/definitions/RawPublicPath\"}}},\"AssetInlineGeneratorOptions\":{\"description\":\"Generator options for asset/inline modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"dataUrl\":{\"$ref\":\"#/definitions/AssetGeneratorDataUrl\"}}},\"AssetModuleFilename\":{\"description\":\"The filename of asset modules as relative path inside the \\'output.path\\' directory.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"AssetModuleOutputPath\":{\"description\":\"Emit the asset in the specified folder relative to \\'output.path\\'. This should only be needed when custom \\'publicPath\\' is specified to match the folder structure there.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"AssetParserDataUrlFunction\":{\"description\":\"Function that executes for module and should return whenever asset should be inlined as DataUrl.\",\"instanceof\":\"Function\",\"tsType\":\"((source: string | Buffer, context: { filename: string, module: import(\\'../lib/Module\\') }) => boolean)\"},\"AssetParserDataUrlOptions\":{\"description\":\"Options object for DataUrl condition.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"maxSize\":{\"description\":\"Maximum size of asset that should be inline as modules. Default: 8kb.\",\"type\":\"number\"}}},\"AssetParserOptions\":{\"description\":\"Parser options for asset modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"dataUrlCondition\":{\"description\":\"The condition for inlining the asset as DataUrl.\",\"anyOf\":[{\"$ref\":\"#/definitions/AssetParserDataUrlOptions\"},{\"$ref\":\"#/definitions/AssetParserDataUrlFunction\"}]}}},\"AssetResourceGeneratorOptions\":{\"description\":\"Generator options for asset/resource modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"emit\":{\"description\":\"Emit an output asset from this asset module. This can be set to \\'false\\' to omit emitting e. g. for SSR.\",\"type\":\"boolean\"},\"filename\":{\"$ref\":\"#/definitions/FilenameTemplate\"},\"outputPath\":{\"$ref\":\"#/definitions/AssetModuleOutputPath\"},\"publicPath\":{\"$ref\":\"#/definitions/RawPublicPath\"}}},\"AuxiliaryComment\":{\"description\":\"Add a comment in the UMD wrapper.\",\"anyOf\":[{\"description\":\"Append the same comment above each import style.\",\"type\":\"string\"},{\"$ref\":\"#/definitions/LibraryCustomUmdCommentObject\"}]},\"Bail\":{\"description\":\"Report the first error as a hard error instead of tolerating it.\",\"type\":\"boolean\"},\"CacheOptions\":{\"description\":\"Cache generated modules and chunks to improve performance for multiple incremental builds.\",\"anyOf\":[{\"description\":\"Enable in memory caching.\",\"enum\":[true]},{\"$ref\":\"#/definitions/CacheOptionsNormalized\"}]},\"CacheOptionsNormalized\":{\"description\":\"Cache generated modules and chunks to improve performance for multiple incremental builds.\",\"anyOf\":[{\"description\":\"Disable caching.\",\"enum\":[false]},{\"$ref\":\"#/definitions/MemoryCacheOptions\"},{\"$ref\":\"#/definitions/FileCacheOptions\"}]},\"Charset\":{\"description\":\"Add charset attribute for script tag.\",\"type\":\"boolean\"},\"ChunkFilename\":{\"description\":\"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"oneOf\":[{\"$ref\":\"#/definitions/FilenameTemplate\"}]},\"ChunkFormat\":{\"description\":\"The format of chunks (formats included by default are \\'array-push\\' (web/WebWorker), \\'commonjs\\' (node.js), \\'module\\' (ESM), but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"array-push\",\"commonjs\",\"module\",false]},{\"type\":\"string\"}]},\"ChunkLoadTimeout\":{\"description\":\"Number of milliseconds before chunk request expires.\",\"type\":\"number\"},\"ChunkLoading\":{\"description\":\"The method of loading chunks (methods included by default are \\'jsonp\\' (web), \\'import\\' (ESM), \\'importScripts\\' (WebWorker), \\'require\\' (sync node.js), \\'async-node\\' (async node.js), but others might be added by plugins).\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/ChunkLoadingType\"}]},\"ChunkLoadingGlobal\":{\"description\":\"The global variable used by webpack for loading of chunks.\",\"type\":\"string\"},\"ChunkLoadingType\":{\"description\":\"The method of loading chunks (methods included by default are \\'jsonp\\' (web), \\'import\\' (ESM), \\'importScripts\\' (WebWorker), \\'require\\' (sync node.js), \\'async-node\\' (async node.js), but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"jsonp\",\"import-scripts\",\"require\",\"async-node\",\"import\"]},{\"type\":\"string\"}]},\"Clean\":{\"description\":\"Clean the output directory before emit.\",\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/CleanOptions\"}]},\"CleanOptions\":{\"description\":\"Advanced options for cleaning assets.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"dry\":{\"description\":\"Log the assets that should be removed instead of deleting them.\",\"type\":\"boolean\"},\"keep\":{\"description\":\"Keep these assets.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((filename: string) => boolean)\"}]}}},\"CompareBeforeEmit\":{\"description\":\"Check if to be emitted file already exists and have the same content before writing to output filesystem.\",\"type\":\"boolean\"},\"Context\":{\"description\":\"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.\",\"type\":\"string\",\"absolutePath\":true},\"CrossOriginLoading\":{\"description\":\"This option enables cross-origin loading of chunks.\",\"enum\":[false,\"anonymous\",\"use-credentials\"]},\"CssChunkFilename\":{\"description\":\"Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"oneOf\":[{\"$ref\":\"#/definitions/FilenameTemplate\"}]},\"CssExperimentOptions\":{\"description\":\"Options for css handling.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"exportsOnly\":{\"description\":\"Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.\",\"type\":\"boolean\"}}},\"CssFilename\":{\"description\":\"Specifies the filename template of output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"oneOf\":[{\"$ref\":\"#/definitions/FilenameTemplate\"}]},\"CssGeneratorOptions\":{\"description\":\"Generator options for css modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{}},\"CssParserOptions\":{\"description\":\"Parser options for css modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{}},\"Dependencies\":{\"description\":\"References to other configurations to depend on.\",\"type\":\"array\",\"items\":{\"description\":\"References to another configuration to depend on.\",\"type\":\"string\"}},\"DevServer\":{\"description\":\"Options for the webpack-dev-server.\",\"type\":\"object\"},\"DevTool\":{\"description\":\"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).\",\"anyOf\":[{\"enum\":[false,\"eval\"]},{\"type\":\"string\",\"pattern\":\"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$\"}]},\"DevtoolFallbackModuleFilenameTemplate\":{\"description\":\"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.\",\"anyOf\":[{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"DevtoolModuleFilenameTemplate\":{\"description\":\"Filename template string of function for the sources array in a generated SourceMap.\",\"anyOf\":[{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"DevtoolNamespace\":{\"description\":\"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.\",\"type\":\"string\"},\"EmptyGeneratorOptions\":{\"description\":\"No generator options are supported for this module type.\",\"type\":\"object\",\"additionalProperties\":false},\"EmptyParserOptions\":{\"description\":\"No parser options are supported for this module type.\",\"type\":\"object\",\"additionalProperties\":false},\"EnabledChunkLoadingTypes\":{\"description\":\"List of chunk loading types enabled for use by entry points.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/ChunkLoadingType\"}},\"EnabledLibraryTypes\":{\"description\":\"List of library types enabled for use by entry points.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/LibraryType\"}},\"EnabledWasmLoadingTypes\":{\"description\":\"List of wasm loading types enabled for use by entry points.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/WasmLoadingType\"}},\"Entry\":{\"description\":\"The entry point(s) of the compilation.\",\"anyOf\":[{\"$ref\":\"#/definitions/EntryDynamic\"},{\"$ref\":\"#/definitions/EntryStatic\"}]},\"EntryDescription\":{\"description\":\"An object with entry point description.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"asyncChunks\":{\"description\":\"Enable/disable creating async chunks that are loaded on demand.\",\"type\":\"boolean\"},\"baseUri\":{\"description\":\"Base uri for this entry.\",\"type\":\"string\"},\"chunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"dependOn\":{\"description\":\"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.\",\"anyOf\":[{\"description\":\"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.\",\"type\":\"array\",\"items\":{\"description\":\"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1,\"uniqueItems\":true},{\"description\":\"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.\",\"type\":\"string\",\"minLength\":1}]},\"filename\":{\"$ref\":\"#/definitions/EntryFilename\"},\"import\":{\"$ref\":\"#/definitions/EntryItem\"},\"layer\":{\"$ref\":\"#/definitions/Layer\"},\"library\":{\"$ref\":\"#/definitions/LibraryOptions\"},\"publicPath\":{\"$ref\":\"#/definitions/PublicPath\"},\"runtime\":{\"$ref\":\"#/definitions/EntryRuntime\"},\"wasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"}},\"required\":[\"import\"]},\"EntryDescriptionNormalized\":{\"description\":\"An object with entry point description.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"asyncChunks\":{\"description\":\"Enable/disable creating async chunks that are loaded on demand.\",\"type\":\"boolean\"},\"baseUri\":{\"description\":\"Base uri for this entry.\",\"type\":\"string\"},\"chunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"dependOn\":{\"description\":\"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.\",\"type\":\"array\",\"items\":{\"description\":\"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1,\"uniqueItems\":true},\"filename\":{\"$ref\":\"#/definitions/Filename\"},\"import\":{\"description\":\"Module(s) that are loaded upon startup. The last one is exported.\",\"type\":\"array\",\"items\":{\"description\":\"Module that is loaded upon startup. Only the last one is exported.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1,\"uniqueItems\":true},\"layer\":{\"$ref\":\"#/definitions/Layer\"},\"library\":{\"$ref\":\"#/definitions/LibraryOptions\"},\"publicPath\":{\"$ref\":\"#/definitions/PublicPath\"},\"runtime\":{\"$ref\":\"#/definitions/EntryRuntime\"},\"wasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"}}},\"EntryDynamic\":{\"description\":\"A Function returning an entry object, an entry string, an entry array or a promise to these things.\",\"instanceof\":\"Function\",\"tsType\":\"(() => EntryStatic | Promise<EntryStatic>)\"},\"EntryDynamicNormalized\":{\"description\":\"A Function returning a Promise resolving to a normalized entry.\",\"instanceof\":\"Function\",\"tsType\":\"(() => Promise<EntryStaticNormalized>)\"},\"EntryFilename\":{\"description\":\"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"oneOf\":[{\"$ref\":\"#/definitions/FilenameTemplate\"}]},\"EntryItem\":{\"description\":\"Module(s) that are loaded upon startup.\",\"anyOf\":[{\"description\":\"All modules are loaded upon startup. The last one is exported.\",\"type\":\"array\",\"items\":{\"description\":\"A module that is loaded upon startup. Only the last one is exported.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1,\"uniqueItems\":true},{\"description\":\"The string is resolved to a module which is loaded upon startup.\",\"type\":\"string\",\"minLength\":1}]},\"EntryNormalized\":{\"description\":\"The entry point(s) of the compilation.\",\"anyOf\":[{\"$ref\":\"#/definitions/EntryDynamicNormalized\"},{\"$ref\":\"#/definitions/EntryStaticNormalized\"}]},\"EntryObject\":{\"description\":\"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"An entry point with name.\",\"anyOf\":[{\"$ref\":\"#/definitions/EntryItem\"},{\"$ref\":\"#/definitions/EntryDescription\"}]}},\"EntryRuntime\":{\"description\":\"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"minLength\":1}]},\"EntryStatic\":{\"description\":\"A static entry description.\",\"anyOf\":[{\"$ref\":\"#/definitions/EntryObject\"},{\"$ref\":\"#/definitions/EntryUnnamed\"}]},\"EntryStaticNormalized\":{\"description\":\"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"An object with entry point description.\",\"oneOf\":[{\"$ref\":\"#/definitions/EntryDescriptionNormalized\"}]}},\"EntryUnnamed\":{\"description\":\"An entry point without name.\",\"oneOf\":[{\"$ref\":\"#/definitions/EntryItem\"}]},\"Environment\":{\"description\":\"The abilities of the environment where the webpack generated code should run.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"arrowFunction\":{\"description\":\"The environment supports arrow functions (\\'() => { ... }\\').\",\"type\":\"boolean\"},\"bigIntLiteral\":{\"description\":\"The environment supports BigInt as literal (123n).\",\"type\":\"boolean\"},\"const\":{\"description\":\"The environment supports const and let for variable declarations.\",\"type\":\"boolean\"},\"destructuring\":{\"description\":\"The environment supports destructuring (\\'{ a, b } = obj\\').\",\"type\":\"boolean\"},\"dynamicImport\":{\"description\":\"The environment supports an async import() function to import EcmaScript modules.\",\"type\":\"boolean\"},\"forOf\":{\"description\":\"The environment supports \\'for of\\' iteration (\\'for (const x of array) { ... }\\').\",\"type\":\"boolean\"},\"module\":{\"description\":\"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \\'...\\').\",\"type\":\"boolean\"},\"optionalChaining\":{\"description\":\"The environment supports optional chaining (\\'obj?.a\\' or \\'obj?.()\\').\",\"type\":\"boolean\"},\"templateLiteral\":{\"description\":\"The environment supports template literals.\",\"type\":\"boolean\"}}},\"Experiments\":{\"description\":\"Enables/Disables experiments (experimental features with relax SemVer compatibility).\",\"type\":\"object\",\"implements\":[\"#/definitions/ExperimentsCommon\"],\"additionalProperties\":false,\"properties\":{\"asyncWebAssembly\":{\"description\":\"Support WebAssembly as asynchronous EcmaScript Module.\",\"type\":\"boolean\"},\"backCompat\":{\"description\":\"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.\",\"type\":\"boolean\"},\"buildHttp\":{\"description\":\"Build http(s): urls using a lockfile and resource content cache.\",\"anyOf\":[{\"$ref\":\"#/definitions/HttpUriAllowedUris\"},{\"$ref\":\"#/definitions/HttpUriOptions\"}]},\"cacheUnaffected\":{\"description\":\"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.\",\"type\":\"boolean\"},\"css\":{\"description\":\"Enable css support.\",\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/CssExperimentOptions\"}]},\"futureDefaults\":{\"description\":\"Apply defaults of next major version.\",\"type\":\"boolean\"},\"layers\":{\"description\":\"Enable module layers.\",\"type\":\"boolean\"},\"lazyCompilation\":{\"description\":\"Compile entrypoints and import()s only when they are accessed.\",\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/LazyCompilationOptions\"}]},\"outputModule\":{\"description\":\"Allow output javascript files as module source type.\",\"type\":\"boolean\"},\"syncWebAssembly\":{\"description\":\"Support WebAssembly as synchronous EcmaScript Module (outdated).\",\"type\":\"boolean\"},\"topLevelAwait\":{\"description\":\"Allow using top-level-await in EcmaScript Modules.\",\"type\":\"boolean\"}}},\"ExperimentsCommon\":{\"description\":\"Enables/Disables experiments (experimental features with relax SemVer compatibility).\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"asyncWebAssembly\":{\"description\":\"Support WebAssembly as asynchronous EcmaScript Module.\",\"type\":\"boolean\"},\"backCompat\":{\"description\":\"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.\",\"type\":\"boolean\"},\"cacheUnaffected\":{\"description\":\"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.\",\"type\":\"boolean\"},\"futureDefaults\":{\"description\":\"Apply defaults of next major version.\",\"type\":\"boolean\"},\"layers\":{\"description\":\"Enable module layers.\",\"type\":\"boolean\"},\"outputModule\":{\"description\":\"Allow output javascript files as module source type.\",\"type\":\"boolean\"},\"syncWebAssembly\":{\"description\":\"Support WebAssembly as synchronous EcmaScript Module (outdated).\",\"type\":\"boolean\"},\"topLevelAwait\":{\"description\":\"Allow using top-level-await in EcmaScript Modules.\",\"type\":\"boolean\"}}},\"ExperimentsNormalized\":{\"description\":\"Enables/Disables experiments (experimental features with relax SemVer compatibility).\",\"type\":\"object\",\"implements\":[\"#/definitions/ExperimentsCommon\"],\"additionalProperties\":false,\"properties\":{\"asyncWebAssembly\":{\"description\":\"Support WebAssembly as asynchronous EcmaScript Module.\",\"type\":\"boolean\"},\"backCompat\":{\"description\":\"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.\",\"type\":\"boolean\"},\"buildHttp\":{\"description\":\"Build http(s): urls using a lockfile and resource content cache.\",\"oneOf\":[{\"$ref\":\"#/definitions/HttpUriOptions\"}]},\"cacheUnaffected\":{\"description\":\"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.\",\"type\":\"boolean\"},\"css\":{\"description\":\"Enable css support.\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/CssExperimentOptions\"}]},\"futureDefaults\":{\"description\":\"Apply defaults of next major version.\",\"type\":\"boolean\"},\"layers\":{\"description\":\"Enable module layers.\",\"type\":\"boolean\"},\"lazyCompilation\":{\"description\":\"Compile entrypoints and import()s only when they are accessed.\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/LazyCompilationOptions\"}]},\"outputModule\":{\"description\":\"Allow output javascript files as module source type.\",\"type\":\"boolean\"},\"syncWebAssembly\":{\"description\":\"Support WebAssembly as synchronous EcmaScript Module (outdated).\",\"type\":\"boolean\"},\"topLevelAwait\":{\"description\":\"Allow using top-level-await in EcmaScript Modules.\",\"type\":\"boolean\"}}},\"ExternalItem\":{\"description\":\"Specify dependency that shouldn\\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.\",\"anyOf\":[{\"description\":\"Every matched dependency becomes external.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"An exact matched dependency becomes external. The same string is used as external dependency.\",\"type\":\"string\"},{\"description\":\"If an dependency matches exactly a property of the object, the property value is used as dependency.\",\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/definitions/ExternalItemValue\"},\"properties\":{\"byLayer\":{\"description\":\"Specify externals depending on the layer.\",\"anyOf\":[{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/definitions/ExternalItem\"}},{\"instanceof\":\"Function\",\"tsType\":\"((layer: string | null) => ExternalItem)\"}]}}},{\"description\":\"The function is called on each dependency (`function(context, request, callback(err, result))`).\",\"instanceof\":\"Function\",\"tsType\":\"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise<ExternalItemValue>))\"}]},\"ExternalItemFunctionData\":{\"description\":\"Data object passed as argument when a function is set for \\'externals\\'.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"context\":{\"description\":\"The directory in which the request is placed.\",\"type\":\"string\"},\"contextInfo\":{\"description\":\"Contextual information.\",\"type\":\"object\",\"tsType\":\"import(\\'../lib/ModuleFactory\\').ModuleFactoryCreateDataContextInfo\"},\"dependencyType\":{\"description\":\"The category of the referencing dependencies.\",\"type\":\"string\"},\"getResolve\":{\"description\":\"Get a resolve function with the current resolver options.\",\"instanceof\":\"Function\",\"tsType\":\"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise<string>))\"},\"request\":{\"description\":\"The request as written by the user in the require/import expression/statement.\",\"type\":\"string\"}}},\"ExternalItemValue\":{\"description\":\"The dependency used for the external.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A part of the target of the external.\",\"type\":\"string\",\"minLength\":1}},{\"description\":\"`true`: The dependency name is used as target of the external.\",\"type\":\"boolean\"},{\"description\":\"The target of the external.\",\"type\":\"string\"},{\"type\":\"object\"}]},\"Externals\":{\"description\":\"Specify dependencies that shouldn\\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/ExternalItem\"}},{\"$ref\":\"#/definitions/ExternalItem\"}]},\"ExternalsPresets\":{\"description\":\"Enable presets of externals for specific targets.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"electron\":{\"description\":\"Treat common electron built-in modules in main and preload context like \\'electron\\', \\'ipc\\' or \\'shell\\' as external and load them via require() when used.\",\"type\":\"boolean\"},\"electronMain\":{\"description\":\"Treat electron built-in modules in the main context like \\'app\\', \\'ipc-main\\' or \\'shell\\' as external and load them via require() when used.\",\"type\":\"boolean\"},\"electronPreload\":{\"description\":\"Treat electron built-in modules in the preload context like \\'web-frame\\', \\'ipc-renderer\\' or \\'shell\\' as external and load them via require() when used.\",\"type\":\"boolean\"},\"electronRenderer\":{\"description\":\"Treat electron built-in modules in the renderer context like \\'web-frame\\', \\'ipc-renderer\\' or \\'shell\\' as external and load them via require() when used.\",\"type\":\"boolean\"},\"node\":{\"description\":\"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.\",\"type\":\"boolean\"},\"nwjs\":{\"description\":\"Treat NW.js legacy nw.gui module as external and load it via require() when used.\",\"type\":\"boolean\"},\"web\":{\"description\":\"Treat references to \\'http(s)://...\\' and \\'std:...\\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).\",\"type\":\"boolean\"},\"webAsync\":{\"description\":\"Treat references to \\'http(s)://...\\' and \\'std:...\\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).\",\"type\":\"boolean\"}}},\"ExternalsType\":{\"description\":\"Specifies the default type of externals (\\'amd*\\', \\'umd*\\', \\'system\\' and \\'jsonp\\' depend on output.libraryTarget set to the same value).\",\"enum\":[\"var\",\"module\",\"assign\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\",\"promise\",\"import\",\"script\",\"node-commonjs\"]},\"FileCacheOptions\":{\"description\":\"Options object for persistent file-based caching.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"allowCollectingMemory\":{\"description\":\"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.\",\"type\":\"boolean\"},\"buildDependencies\":{\"description\":\"Dependencies the build depends on (in multiple categories, default categories: \\'defaultWebpack\\').\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"List of dependencies the build depends on.\",\"type\":\"array\",\"items\":{\"description\":\"Request to a dependency (resolved as directory relative to the context directory).\",\"type\":\"string\",\"minLength\":1}}},\"cacheDirectory\":{\"description\":\"Base directory for the cache (defaults to node_modules/.cache/webpack).\",\"type\":\"string\",\"absolutePath\":true},\"cacheLocation\":{\"description\":\"Locations for the cache (defaults to cacheDirectory / name).\",\"type\":\"string\",\"absolutePath\":true},\"compression\":{\"description\":\"Compression type used for the cache files.\",\"enum\":[false,\"gzip\",\"brotli\"]},\"hashAlgorithm\":{\"description\":\"Algorithm used for generation the hash (see node.js crypto package).\",\"type\":\"string\"},\"idleTimeout\":{\"description\":\"Time in ms after which idle period the cache storing should happen.\",\"type\":\"number\",\"minimum\":0},\"idleTimeoutAfterLargeChanges\":{\"description\":\"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).\",\"type\":\"number\",\"minimum\":0},\"idleTimeoutForInitialStore\":{\"description\":\"Time in ms after which idle period the initial cache storing should happen.\",\"type\":\"number\",\"minimum\":0},\"immutablePaths\":{\"description\":\"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.\",\"type\":\"array\",\"items\":{\"description\":\"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.\",\"anyOf\":[{\"description\":\"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"A path to an immutable directory (usually a package manager cache directory).\",\"type\":\"string\",\"absolutePath\":true,\"minLength\":1}]}},\"managedPaths\":{\"description\":\"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.\",\"type\":\"array\",\"items\":{\"description\":\"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.\",\"anyOf\":[{\"description\":\"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"A path to a managed directory (usually a node_modules directory).\",\"type\":\"string\",\"absolutePath\":true,\"minLength\":1}]}},\"maxAge\":{\"description\":\"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).\",\"type\":\"number\",\"minimum\":0},\"maxMemoryGenerations\":{\"description\":\"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.\",\"type\":\"number\",\"minimum\":0},\"memoryCacheUnaffected\":{\"description\":\"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.\",\"type\":\"boolean\"},\"name\":{\"description\":\"Name for the cache. Different names will lead to different coexisting caches.\",\"type\":\"string\"},\"profile\":{\"description\":\"Track and log detailed timing information for individual cache items.\",\"type\":\"boolean\"},\"store\":{\"description\":\"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).\",\"enum\":[\"pack\"]},\"type\":{\"description\":\"Filesystem caching.\",\"enum\":[\"filesystem\"]},\"version\":{\"description\":\"Version of the cache data. Different versions won\\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\\'t allow to reuse cache. This will invalidate the cache.\",\"type\":\"string\"}},\"required\":[\"type\"]},\"Filename\":{\"description\":\"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"oneOf\":[{\"$ref\":\"#/definitions/FilenameTemplate\"}]},\"FilenameTemplate\":{\"description\":\"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \\'/\\'! The specified path is joined with the value of the \\'output.path\\' option to determine the location on disk.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":false,\"minLength\":1},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"FilterItemTypes\":{\"description\":\"Filtering value, regexp or function.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((value: string) => boolean)\"}]},\"FilterTypes\":{\"description\":\"Filtering values.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Rule to filter.\",\"cli\":{\"helper\":true},\"oneOf\":[{\"$ref\":\"#/definitions/FilterItemTypes\"}]}},{\"$ref\":\"#/definitions/FilterItemTypes\"}]},\"GeneratorOptionsByModuleType\":{\"description\":\"Specify options for each generator.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Options for generating.\",\"type\":\"object\",\"additionalProperties\":true},\"properties\":{\"asset\":{\"$ref\":\"#/definitions/AssetGeneratorOptions\"},\"asset/inline\":{\"$ref\":\"#/definitions/AssetInlineGeneratorOptions\"},\"asset/resource\":{\"$ref\":\"#/definitions/AssetResourceGeneratorOptions\"},\"javascript\":{\"$ref\":\"#/definitions/EmptyGeneratorOptions\"},\"javascript/auto\":{\"$ref\":\"#/definitions/EmptyGeneratorOptions\"},\"javascript/dynamic\":{\"$ref\":\"#/definitions/EmptyGeneratorOptions\"},\"javascript/esm\":{\"$ref\":\"#/definitions/EmptyGeneratorOptions\"}}},\"GlobalObject\":{\"description\":\"An expression which is used to address the global object/scope in runtime code.\",\"type\":\"string\",\"minLength\":1},\"HashDigest\":{\"description\":\"Digest type used for the hash.\",\"type\":\"string\"},\"HashDigestLength\":{\"description\":\"Number of chars which are used for the hash.\",\"type\":\"number\",\"minimum\":1},\"HashFunction\":{\"description\":\"Algorithm used for generation the hash (see node.js crypto package).\",\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"Function\",\"tsType\":\"typeof import(\\'../lib/util/Hash\\')\"}]},\"HashSalt\":{\"description\":\"Any string which is added to the hash to salt it.\",\"type\":\"string\",\"minLength\":1},\"HotUpdateChunkFilename\":{\"description\":\"The filename of the Hot Update Chunks. They are inside the output.path directory.\",\"type\":\"string\",\"absolutePath\":false},\"HotUpdateGlobal\":{\"description\":\"The global variable used by webpack for loading of hot update chunks.\",\"type\":\"string\"},\"HotUpdateMainFilename\":{\"description\":\"The filename of the Hot Update Main File. It is inside the \\'output.path\\' directory.\",\"type\":\"string\",\"absolutePath\":false},\"HttpUriAllowedUris\":{\"description\":\"List of allowed URIs for building http resources.\",\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/HttpUriOptionsAllowedUris\"}]},\"HttpUriOptions\":{\"description\":\"Options for building http resources.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"allowedUris\":{\"$ref\":\"#/definitions/HttpUriOptionsAllowedUris\"},\"cacheLocation\":{\"description\":\"Location where resource content is stored for lockfile entries. It\\'s also possible to disable storing by passing false.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"absolutePath\":true}]},\"frozen\":{\"description\":\"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.\",\"type\":\"boolean\"},\"lockfileLocation\":{\"description\":\"Location of the lockfile.\",\"type\":\"string\",\"absolutePath\":true},\"proxy\":{\"description\":\"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.\",\"type\":\"string\"},\"upgrade\":{\"description\":\"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.\",\"type\":\"boolean\"}},\"required\":[\"allowedUris\"]},\"HttpUriOptionsAllowedUris\":{\"description\":\"List of allowed URIs (resp. the beginning of them).\",\"type\":\"array\",\"items\":{\"description\":\"List of allowed URIs (resp. the beginning of them).\",\"anyOf\":[{\"description\":\"Allowed URI pattern.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"Allowed URI (resp. the beginning of it).\",\"type\":\"string\",\"pattern\":\"^https?://\"},{\"description\":\"Allowed URI filter function.\",\"instanceof\":\"Function\",\"tsType\":\"((uri: string) => boolean)\"}]}},\"IgnoreWarnings\":{\"description\":\"Ignore specific warnings.\",\"type\":\"array\",\"items\":{\"description\":\"Ignore specific warnings.\",\"anyOf\":[{\"description\":\"A RegExp to select the warning message.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"file\":{\"description\":\"A RegExp to select the origin file for the warning.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},\"message\":{\"description\":\"A RegExp to select the warning message.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},\"module\":{\"description\":\"A RegExp to select the origin module for the warning.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"}}},{\"description\":\"A custom function to select warnings based on the raw warning instance.\",\"instanceof\":\"Function\",\"tsType\":\"((warning: import(\\'../lib/WebpackError\\'), compilation: import(\\'../lib/Compilation\\')) => boolean)\"}]}},\"IgnoreWarningsNormalized\":{\"description\":\"Ignore specific warnings.\",\"type\":\"array\",\"items\":{\"description\":\"A function to select warnings based on the raw warning instance.\",\"instanceof\":\"Function\",\"tsType\":\"((warning: import(\\'../lib/WebpackError\\'), compilation: import(\\'../lib/Compilation\\')) => boolean)\"}},\"Iife\":{\"description\":\"Wrap javascript code into IIFE\\'s to avoid leaking into global scope.\",\"type\":\"boolean\"},\"ImportFunctionName\":{\"description\":\"The name of the native import() function (can be exchanged for a polyfill).\",\"type\":\"string\"},\"ImportMetaName\":{\"description\":\"The name of the native import.meta object (can be exchanged for a polyfill).\",\"type\":\"string\"},\"InfrastructureLogging\":{\"description\":\"Options for infrastructure level logging.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"appendOnly\":{\"description\":\"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.\",\"type\":\"boolean\"},\"colors\":{\"description\":\"Enables/Disables colorful output. This option is only used when no custom console is provided.\",\"type\":\"boolean\"},\"console\":{\"description\":\"Custom console used for logging.\",\"tsType\":\"Console\"},\"debug\":{\"description\":\"Enable debug logging for specific loggers.\",\"anyOf\":[{\"description\":\"Enable/Disable debug logging for all loggers.\",\"type\":\"boolean\"},{\"$ref\":\"#/definitions/FilterTypes\"}]},\"level\":{\"description\":\"Log level.\",\"enum\":[\"none\",\"error\",\"warn\",\"info\",\"log\",\"verbose\"]},\"stream\":{\"description\":\"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.\",\"tsType\":\"NodeJS.WritableStream\"}}},\"JavascriptParserOptions\":{\"description\":\"Parser options for javascript modules.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"amd\":{\"$ref\":\"#/definitions/Amd\"},\"browserify\":{\"description\":\"Enable/disable special handling for browserify bundles.\",\"type\":\"boolean\"},\"commonjs\":{\"description\":\"Enable/disable parsing of CommonJs syntax.\",\"type\":\"boolean\"},\"commonjsMagicComments\":{\"description\":\"Enable/disable parsing of magic comments in CommonJs syntax.\",\"type\":\"boolean\"},\"createRequire\":{\"description\":\"Enable/disable parsing \\\\\"import { createRequire } from \\\\\"module\\\\\"\\\\\" and evaluating createRequire().\",\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"string\"}]},\"dynamicImportMode\":{\"description\":\"Specifies global mode for dynamic import.\",\"enum\":[\"eager\",\"weak\",\"lazy\",\"lazy-once\"]},\"dynamicImportPrefetch\":{\"description\":\"Specifies global prefetch for dynamic import.\",\"anyOf\":[{\"type\":\"number\"},{\"type\":\"boolean\"}]},\"dynamicImportPreload\":{\"description\":\"Specifies global preload for dynamic import.\",\"anyOf\":[{\"type\":\"number\"},{\"type\":\"boolean\"}]},\"exportsPresence\":{\"description\":\"Specifies the behavior of invalid export names in \\\\\"import ... from ...\\\\\" and \\\\\"export ... from ...\\\\\".\",\"enum\":[\"error\",\"warn\",\"auto\",false]},\"exprContextCritical\":{\"description\":\"Enable warnings for full dynamic dependencies.\",\"type\":\"boolean\"},\"exprContextRecursive\":{\"description\":\"Enable recursive directory lookup for full dynamic dependencies.\",\"type\":\"boolean\"},\"exprContextRegExp\":{\"description\":\"Sets the default regular expression for full dynamic dependencies.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"boolean\"}]},\"exprContextRequest\":{\"description\":\"Set the default request for full dynamic dependencies.\",\"type\":\"string\"},\"harmony\":{\"description\":\"Enable/disable parsing of EcmaScript Modules syntax.\",\"type\":\"boolean\"},\"import\":{\"description\":\"Enable/disable parsing of import() syntax.\",\"type\":\"boolean\"},\"importExportsPresence\":{\"description\":\"Specifies the behavior of invalid export names in \\\\\"import ... from ...\\\\\".\",\"enum\":[\"error\",\"warn\",\"auto\",false]},\"importMeta\":{\"description\":\"Enable/disable evaluating import.meta.\",\"type\":\"boolean\"},\"importMetaContext\":{\"description\":\"Enable/disable evaluating import.meta.webpackContext.\",\"type\":\"boolean\"},\"node\":{\"$ref\":\"#/definitions/Node\"},\"reexportExportsPresence\":{\"description\":\"Specifies the behavior of invalid export names in \\\\\"export ... from ...\\\\\". This might be useful to disable during the migration from \\\\\"export ... from ...\\\\\" to \\\\\"export type ... from ...\\\\\" when reexporting types in TypeScript.\",\"enum\":[\"error\",\"warn\",\"auto\",false]},\"requireContext\":{\"description\":\"Enable/disable parsing of require.context syntax.\",\"type\":\"boolean\"},\"requireEnsure\":{\"description\":\"Enable/disable parsing of require.ensure syntax.\",\"type\":\"boolean\"},\"requireInclude\":{\"description\":\"Enable/disable parsing of require.include syntax.\",\"type\":\"boolean\"},\"requireJs\":{\"description\":\"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.\",\"type\":\"boolean\"},\"strictExportPresence\":{\"description\":\"Deprecated in favor of \\\\\"exportsPresence\\\\\". Emit errors instead of warnings when imported names don\\'t exist in imported module.\",\"type\":\"boolean\"},\"strictThisContextOnImports\":{\"description\":\"Handle the this context correctly according to the spec for namespace objects.\",\"type\":\"boolean\"},\"system\":{\"description\":\"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.\",\"type\":\"boolean\"},\"unknownContextCritical\":{\"description\":\"Enable warnings when using the require function in a not statically analyse-able way.\",\"type\":\"boolean\"},\"unknownContextRecursive\":{\"description\":\"Enable recursive directory lookup when using the require function in a not statically analyse-able way.\",\"type\":\"boolean\"},\"unknownContextRegExp\":{\"description\":\"Sets the regular expression when using the require function in a not statically analyse-able way.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"boolean\"}]},\"unknownContextRequest\":{\"description\":\"Sets the request when using the require function in a not statically analyse-able way.\",\"type\":\"string\"},\"url\":{\"description\":\"Enable/disable parsing of new URL() syntax.\",\"anyOf\":[{\"enum\":[\"relative\"]},{\"type\":\"boolean\"}]},\"worker\":{\"description\":\"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Specify a syntax that should be parsed as WebWorker reference. \\'Abc\\' handles \\'new Abc()\\', \\'Abc from xyz\\' handles \\'import { Abc } from \\\\\"xyz\\\\\"; new Abc()\\', \\'abc()\\' handles \\'abc()\\', and combinations are also possible.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"boolean\"}]},\"wrappedContextCritical\":{\"description\":\"Enable warnings for partial dynamic dependencies.\",\"type\":\"boolean\"},\"wrappedContextRecursive\":{\"description\":\"Enable recursive directory lookup for partial dynamic dependencies.\",\"type\":\"boolean\"},\"wrappedContextRegExp\":{\"description\":\"Set the inner regular expression for partial dynamic dependencies.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"}}},\"Layer\":{\"description\":\"Specifies the layer in which modules of this entrypoint are placed.\",\"anyOf\":[{\"enum\":[null]},{\"type\":\"string\",\"minLength\":1}]},\"LazyCompilationDefaultBackendOptions\":{\"description\":\"Options for the default backend.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"client\":{\"description\":\"A custom client.\",\"type\":\"string\"},\"listen\":{\"description\":\"Specifies where to listen to from the server.\",\"anyOf\":[{\"description\":\"A port.\",\"type\":\"number\"},{\"description\":\"Listen options.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"host\":{\"description\":\"A host.\",\"type\":\"string\"},\"port\":{\"description\":\"A port.\",\"type\":\"number\"}},\"tsType\":\"import(\\\\\"net\\\\\").ListenOptions\"},{\"description\":\"A custom listen function.\",\"instanceof\":\"Function\",\"tsType\":\"((server: import(\\\\\"net\\\\\").Server) => void)\"}]},\"protocol\":{\"description\":\"Specifies the protocol the client should use to connect to the server.\",\"enum\":[\"http\",\"https\"]},\"server\":{\"description\":\"Specifies how to create the server handling the EventSource requests.\",\"anyOf\":[{\"description\":\"ServerOptions for the http or https createServer call.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{},\"tsType\":\"(import(\\\\\"https\\\\\").ServerOptions | import(\\\\\"http\\\\\").ServerOptions)\"},{\"description\":\"A custom create server function.\",\"instanceof\":\"Function\",\"tsType\":\"(() => import(\\\\\"net\\\\\").Server)\"}]}}},\"LazyCompilationOptions\":{\"description\":\"Options for compiling entrypoints and import()s only when they are accessed.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"backend\":{\"description\":\"Specifies the backend that should be used for handling client keep alive.\",\"anyOf\":[{\"description\":\"A custom backend.\",\"instanceof\":\"Function\",\"tsType\":\"(((compiler: import(\\'../lib/Compiler\\'), callback: (err?: Error, api?: import(\\\\\"../lib/hmr/LazyCompilationPlugin\\\\\").BackendApi) => void) => void) | ((compiler: import(\\'../lib/Compiler\\')) => Promise<import(\\\\\"../lib/hmr/LazyCompilationPlugin\\\\\").BackendApi>))\"},{\"$ref\":\"#/definitions/LazyCompilationDefaultBackendOptions\"}]},\"entries\":{\"description\":\"Enable/disable lazy compilation for entries.\",\"type\":\"boolean\"},\"imports\":{\"description\":\"Enable/disable lazy compilation for import() modules.\",\"type\":\"boolean\"},\"test\":{\"description\":\"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"((module: import(\\'../lib/Module\\')) => boolean)\"}]}}},\"Library\":{\"description\":\"Make the output files a library, exporting the exports of the entry point.\",\"anyOf\":[{\"$ref\":\"#/definitions/LibraryName\"},{\"$ref\":\"#/definitions/LibraryOptions\"}]},\"LibraryCustomUmdCommentObject\":{\"description\":\"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Set comment for `amd` section in UMD.\",\"type\":\"string\"},\"commonjs\":{\"description\":\"Set comment for `commonjs` (exports) section in UMD.\",\"type\":\"string\"},\"commonjs2\":{\"description\":\"Set comment for `commonjs2` (module.exports) section in UMD.\",\"type\":\"string\"},\"root\":{\"description\":\"Set comment for `root` (global variable) section in UMD.\",\"type\":\"string\"}}},\"LibraryCustomUmdObject\":{\"description\":\"Description object for all UMD variants of the library name.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Name of the exposed AMD library in the UMD.\",\"type\":\"string\",\"minLength\":1},\"commonjs\":{\"description\":\"Name of the exposed commonjs export in the UMD.\",\"type\":\"string\",\"minLength\":1},\"root\":{\"description\":\"Name of the property exposed globally by a UMD library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the name of the property exposed globally by a UMD library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]}}},\"LibraryExport\":{\"description\":\"Specify which export should be exposed as library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the export that should be exposed as library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]},\"LibraryName\":{\"description\":\"The name of the library (some types allow unnamed libraries too).\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A part of the library name.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1},{\"type\":\"string\",\"minLength\":1},{\"$ref\":\"#/definitions/LibraryCustomUmdObject\"}]},\"LibraryOptions\":{\"description\":\"Options for library.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"auxiliaryComment\":{\"$ref\":\"#/definitions/AuxiliaryComment\"},\"export\":{\"$ref\":\"#/definitions/LibraryExport\"},\"name\":{\"$ref\":\"#/definitions/LibraryName\"},\"type\":{\"$ref\":\"#/definitions/LibraryType\"},\"umdNamedDefine\":{\"$ref\":\"#/definitions/UmdNamedDefine\"}},\"required\":[\"type\"]},\"LibraryType\":{\"description\":\"Type of library (types included by default are \\'var\\', \\'module\\', \\'assign\\', \\'assign-properties\\', \\'this\\', \\'window\\', \\'self\\', \\'global\\', \\'commonjs\\', \\'commonjs2\\', \\'commonjs-module\\', \\'commonjs-static\\', \\'amd\\', \\'amd-require\\', \\'umd\\', \\'umd2\\', \\'jsonp\\', \\'system\\', but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"var\",\"module\",\"assign\",\"assign-properties\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\"]},{\"type\":\"string\"}]},\"Loader\":{\"description\":\"Custom values available in the loader context.\",\"type\":\"object\"},\"MemoryCacheOptions\":{\"description\":\"Options object for in-memory caching.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"cacheUnaffected\":{\"description\":\"Additionally cache computation of modules that are unchanged and reference only unchanged modules.\",\"type\":\"boolean\"},\"maxGenerations\":{\"description\":\"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).\",\"type\":\"number\",\"minimum\":1},\"type\":{\"description\":\"In memory caching.\",\"enum\":[\"memory\"]}},\"required\":[\"type\"]},\"Mode\":{\"description\":\"Enable production optimizations or development hints.\",\"enum\":[\"development\",\"production\",\"none\"]},\"ModuleFilterItemTypes\":{\"description\":\"Filtering value, regexp or function.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((name: string, module: import(\\'../lib/stats/DefaultStatsFactoryPlugin\\').StatsModule, type: \\'module\\' | \\'chunk\\' | \\'root-of-chunk\\' | \\'nested\\') => boolean)\"}]},\"ModuleFilterTypes\":{\"description\":\"Filtering modules.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Rule to filter.\",\"cli\":{\"helper\":true},\"oneOf\":[{\"$ref\":\"#/definitions/ModuleFilterItemTypes\"}]}},{\"$ref\":\"#/definitions/ModuleFilterItemTypes\"}]},\"ModuleOptions\":{\"description\":\"Options affecting the normal modules (`NormalModuleFactory`).\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"defaultRules\":{\"description\":\"An array of rules applied by default for modules.\",\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRules\"}]},\"exprContextCritical\":{\"description\":\"Enable warnings for full dynamic dependencies.\",\"type\":\"boolean\"},\"exprContextRecursive\":{\"description\":\"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.exprContextRecursive\\'.\",\"type\":\"boolean\"},\"exprContextRegExp\":{\"description\":\"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.exprContextRegExp\\'.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"boolean\"}]},\"exprContextRequest\":{\"description\":\"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.exprContextRequest\\'.\",\"type\":\"string\"},\"generator\":{\"$ref\":\"#/definitions/GeneratorOptionsByModuleType\"},\"noParse\":{\"$ref\":\"#/definitions/NoParse\"},\"parser\":{\"$ref\":\"#/definitions/ParserOptionsByModuleType\"},\"rules\":{\"description\":\"An array of rules applied for modules.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRules\"}]},\"strictExportPresence\":{\"description\":\"Emit errors instead of warnings when imported names don\\'t exist in imported module. Deprecated: This option has moved to \\'module.parser.javascript.strictExportPresence\\'.\",\"type\":\"boolean\"},\"strictThisContextOnImports\":{\"description\":\"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \\'module.parser.javascript.strictThisContextOnImports\\'.\",\"type\":\"boolean\"},\"unknownContextCritical\":{\"description\":\"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \\'module.parser.javascript.unknownContextCritical\\'.\",\"type\":\"boolean\"},\"unknownContextRecursive\":{\"description\":\"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \\'module.parser.javascript.unknownContextRecursive\\'.\",\"type\":\"boolean\"},\"unknownContextRegExp\":{\"description\":\"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \\'module.parser.javascript.unknownContextRegExp\\'.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"boolean\"}]},\"unknownContextRequest\":{\"description\":\"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \\'module.parser.javascript.unknownContextRequest\\'.\",\"type\":\"string\"},\"unsafeCache\":{\"description\":\"Cache the resolving of module requests.\",\"anyOf\":[{\"type\":\"boolean\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"wrappedContextCritical\":{\"description\":\"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.wrappedContextCritical\\'.\",\"type\":\"boolean\"},\"wrappedContextRecursive\":{\"description\":\"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.wrappedContextRecursive\\'.\",\"type\":\"boolean\"},\"wrappedContextRegExp\":{\"description\":\"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \\'module.parser.javascript.wrappedContextRegExp\\'.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"}}},\"ModuleOptionsNormalized\":{\"description\":\"Options affecting the normal modules (`NormalModuleFactory`).\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"defaultRules\":{\"description\":\"An array of rules applied by default for modules.\",\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRules\"}]},\"generator\":{\"$ref\":\"#/definitions/GeneratorOptionsByModuleType\"},\"noParse\":{\"$ref\":\"#/definitions/NoParse\"},\"parser\":{\"$ref\":\"#/definitions/ParserOptionsByModuleType\"},\"rules\":{\"description\":\"An array of rules applied for modules.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRules\"}]},\"unsafeCache\":{\"description\":\"Cache the resolving of module requests.\",\"anyOf\":[{\"type\":\"boolean\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]}},\"required\":[\"defaultRules\",\"generator\",\"parser\",\"rules\"]},\"Name\":{\"description\":\"Name of the configuration. Used when loading multiple configurations.\",\"type\":\"string\"},\"NoParse\":{\"description\":\"Don\\'t parse files matching. It\\'s matched against the full resolved request.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Don\\'t parse files matching. It\\'s matched against the full resolved request.\",\"anyOf\":[{\"description\":\"A regular expression, when matched the module is not parsed.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"An absolute path, when the module starts with this path it is not parsed.\",\"type\":\"string\",\"absolutePath\":true},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"minItems\":1},{\"description\":\"A regular expression, when matched the module is not parsed.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"An absolute path, when the module starts with this path it is not parsed.\",\"type\":\"string\",\"absolutePath\":true},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"Node\":{\"description\":\"Include polyfills or mocks for various node stuff.\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/NodeOptions\"}]},\"NodeOptions\":{\"description\":\"Options object for node compatibility features.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"__dirname\":{\"description\":\"Include a polyfill for the \\'__dirname\\' variable.\",\"enum\":[false,true,\"warn-mock\",\"mock\",\"eval-only\"]},\"__filename\":{\"description\":\"Include a polyfill for the \\'__filename\\' variable.\",\"enum\":[false,true,\"warn-mock\",\"mock\",\"eval-only\"]},\"global\":{\"description\":\"Include a polyfill for the \\'global\\' variable.\",\"enum\":[false,true,\"warn\"]}}},\"Optimization\":{\"description\":\"Enables/Disables integrated optimizations.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"checkWasmTypes\":{\"description\":\"Check for incompatible wasm types when importing/exporting from/to ESM.\",\"type\":\"boolean\"},\"chunkIds\":{\"description\":\"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).\",\"enum\":[\"natural\",\"named\",\"deterministic\",\"size\",\"total-size\",false]},\"concatenateModules\":{\"description\":\"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.\",\"type\":\"boolean\"},\"emitOnErrors\":{\"description\":\"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.\",\"type\":\"boolean\"},\"flagIncludedChunks\":{\"description\":\"Also flag chunks as loaded which contain a subset of the modules.\",\"type\":\"boolean\"},\"innerGraph\":{\"description\":\"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.\",\"type\":\"boolean\"},\"mangleExports\":{\"description\":\"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\\\\"deterministic\\\\\": generate short deterministic names optimized for caching, \\\\\"size\\\\\": generate the shortest possible names).\",\"anyOf\":[{\"enum\":[\"size\",\"deterministic\"]},{\"type\":\"boolean\"}]},\"mangleWasmImports\":{\"description\":\"Reduce size of WASM by changing imports to shorter strings.\",\"type\":\"boolean\"},\"mergeDuplicateChunks\":{\"description\":\"Merge chunks which contain the same modules.\",\"type\":\"boolean\"},\"minimize\":{\"description\":\"Enable minimizing the output. Uses optimization.minimizer.\",\"type\":\"boolean\"},\"minimizer\":{\"description\":\"Minimizer(s) to use for minimizing the output.\",\"type\":\"array\",\"cli\":{\"exclude\":true},\"items\":{\"description\":\"Plugin of type object or instanceof Function.\",\"anyOf\":[{\"enum\":[\"...\"]},{\"$ref\":\"#/definitions/WebpackPluginInstance\"},{\"$ref\":\"#/definitions/WebpackPluginFunction\"}]}},\"moduleIds\":{\"description\":\"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).\",\"enum\":[\"natural\",\"named\",\"hashed\",\"deterministic\",\"size\",false]},\"noEmitOnErrors\":{\"description\":\"Avoid emitting assets when errors occur (deprecated: use \\'emitOnErrors\\' instead).\",\"type\":\"boolean\",\"cli\":{\"exclude\":true}},\"nodeEnv\":{\"description\":\"Set process.env.NODE_ENV to a specific value.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\"}]},\"portableRecords\":{\"description\":\"Generate records with relative paths to be able to move the context folder.\",\"type\":\"boolean\"},\"providedExports\":{\"description\":\"Figure out which exports are provided by modules to generate more efficient code.\",\"type\":\"boolean\"},\"realContentHash\":{\"description\":\"Use real [contenthash] based on final content of the assets.\",\"type\":\"boolean\"},\"removeAvailableModules\":{\"description\":\"Removes modules from chunks when these modules are already included in all parents.\",\"type\":\"boolean\"},\"removeEmptyChunks\":{\"description\":\"Remove chunks which are empty.\",\"type\":\"boolean\"},\"runtimeChunk\":{\"$ref\":\"#/definitions/OptimizationRuntimeChunk\"},\"sideEffects\":{\"description\":\"Skip over modules which contain no side effects when exports are not used (false: disabled, \\'flag\\': only use manually placed side effects flag, true: also analyse source code for side effects).\",\"anyOf\":[{\"enum\":[\"flag\"]},{\"type\":\"boolean\"}]},\"splitChunks\":{\"description\":\"Optimize duplication and caching by splitting chunks by shared modules and cache group.\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/OptimizationSplitChunksOptions\"}]},\"usedExports\":{\"description\":\"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\\\\"global\\\\\": analyse exports globally for all runtimes combined).\",\"anyOf\":[{\"enum\":[\"global\"]},{\"type\":\"boolean\"}]}}},\"OptimizationRuntimeChunk\":{\"description\":\"Create an additional chunk which contains only the webpack runtime and chunk hash maps.\",\"anyOf\":[{\"enum\":[\"single\",\"multiple\"]},{\"type\":\"boolean\"},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"name\":{\"description\":\"The name or name factory for the runtime chunks.\",\"anyOf\":[{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]}}}]},\"OptimizationRuntimeChunkNormalized\":{\"description\":\"Create an additional chunk which contains only the webpack runtime and chunk hash maps.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"name\":{\"description\":\"The name factory for the runtime chunks.\",\"instanceof\":\"Function\",\"tsType\":\"Function\"}}}]},\"OptimizationSplitChunksCacheGroup\":{\"description\":\"Options object for describing behavior of a cache group selecting modules that should be cached together.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"automaticNameDelimiter\":{\"description\":\"Sets the name delimiter for created chunks.\",\"type\":\"string\",\"minLength\":1},\"chunks\":{\"description\":\"Select chunks for determining cache group content (defaults to \\\\\"initial\\\\\", \\\\\"initial\\\\\" and \\\\\"all\\\\\" requires adding these chunks to the HTML).\",\"anyOf\":[{\"enum\":[\"initial\",\"async\",\"all\"]},{\"instanceof\":\"Function\",\"tsType\":\"((chunk: import(\\'../lib/Chunk\\')) => boolean)\"}]},\"enforce\":{\"description\":\"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.\",\"type\":\"boolean\"},\"enforceSizeThreshold\":{\"description\":\"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"filename\":{\"description\":\"Sets the template for the filename for created chunks.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":false,\"minLength\":1},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"idHint\":{\"description\":\"Sets the hint for chunk id.\",\"type\":\"string\"},\"layer\":{\"description\":\"Assign modules to a cache group by module layer.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"maxAsyncRequests\":{\"description\":\"Maximum number of requests which are accepted for on-demand loading.\",\"type\":\"number\",\"minimum\":1},\"maxAsyncSize\":{\"description\":\"Maximal size hint for the on-demand chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxInitialRequests\":{\"description\":\"Maximum number of initial chunks which are accepted for an entry point.\",\"type\":\"number\",\"minimum\":1},\"maxInitialSize\":{\"description\":\"Maximal size hint for the initial chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxSize\":{\"description\":\"Maximal size hint for the created chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minChunks\":{\"description\":\"Minimum number of times a module has to be duplicated until it\\'s considered for splitting.\",\"type\":\"number\",\"minimum\":1},\"minRemainingSize\":{\"description\":\"Minimal size for the chunks the stay after moving the modules to a new chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSize\":{\"description\":\"Minimal size for the created chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSizeReduction\":{\"description\":\"Minimum size reduction due to the created chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"name\":{\"description\":\"Give chunks for this cache group a name (chunks with equal name are merged).\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"priority\":{\"description\":\"Priority of this cache group.\",\"type\":\"number\"},\"reuseExistingChunk\":{\"description\":\"Try to reuse existing chunk (with name) when it has matching modules.\",\"type\":\"boolean\"},\"test\":{\"description\":\"Assign modules to a cache group by module name.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"type\":{\"description\":\"Assign modules to a cache group by module type.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"usedExports\":{\"description\":\"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.\",\"type\":\"boolean\"}}},\"OptimizationSplitChunksGetCacheGroups\":{\"description\":\"A function returning cache groups.\",\"instanceof\":\"Function\",\"tsType\":\"((module: import(\\'../lib/Module\\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)\"},\"OptimizationSplitChunksOptions\":{\"description\":\"Options object for splitting chunks into smaller chunks.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"automaticNameDelimiter\":{\"description\":\"Sets the name delimiter for created chunks.\",\"type\":\"string\",\"minLength\":1},\"cacheGroups\":{\"description\":\"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \\'default\\', \\'defaultVendors\\').\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Configuration for a cache group.\",\"anyOf\":[{\"enum\":[false]},{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"},{\"$ref\":\"#/definitions/OptimizationSplitChunksCacheGroup\"}]},\"not\":{\"description\":\"Using the cacheGroup shorthand syntax with a cache group named \\'test\\' is a potential config error\\\\nDid you intent to define a cache group with a test instead?\\\\ncacheGroups: {\\\\n <name>: {\\\\n test: ...\\\\n }\\\\n}.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"test\":{\"description\":\"The test property is a cache group name, but using the test option of the cache group could be intended instead.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]}},\"required\":[\"test\"]}},\"chunks\":{\"description\":\"Select chunks for determining shared modules (defaults to \\\\\"async\\\\\", \\\\\"initial\\\\\" and \\\\\"all\\\\\" requires adding these chunks to the HTML).\",\"anyOf\":[{\"enum\":[\"initial\",\"async\",\"all\"]},{\"instanceof\":\"Function\",\"tsType\":\"((chunk: import(\\'../lib/Chunk\\')) => boolean)\"}]},\"defaultSizeTypes\":{\"description\":\"Sets the size types which are used when a number is used for sizes.\",\"type\":\"array\",\"items\":{\"description\":\"Size type, like \\'javascript\\', \\'webassembly\\'.\",\"type\":\"string\"},\"minItems\":1},\"enforceSizeThreshold\":{\"description\":\"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"fallbackCacheGroup\":{\"description\":\"Options for modules not selected by any other cache group.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"automaticNameDelimiter\":{\"description\":\"Sets the name delimiter for created chunks.\",\"type\":\"string\",\"minLength\":1},\"chunks\":{\"description\":\"Select chunks for determining shared modules (defaults to \\\\\"async\\\\\", \\\\\"initial\\\\\" and \\\\\"all\\\\\" requires adding these chunks to the HTML).\",\"anyOf\":[{\"enum\":[\"initial\",\"async\",\"all\"]},{\"instanceof\":\"Function\",\"tsType\":\"((chunk: import(\\'../lib/Chunk\\')) => boolean)\"}]},\"maxAsyncSize\":{\"description\":\"Maximal size hint for the on-demand chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxInitialSize\":{\"description\":\"Maximal size hint for the initial chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxSize\":{\"description\":\"Maximal size hint for the created chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSize\":{\"description\":\"Minimal size for the created chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSizeReduction\":{\"description\":\"Minimum size reduction due to the created chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]}}},\"filename\":{\"description\":\"Sets the template for the filename for created chunks.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":false,\"minLength\":1},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"hidePathInfo\":{\"description\":\"Prevents exposing path info when creating names for parts splitted by maxSize.\",\"type\":\"boolean\"},\"maxAsyncRequests\":{\"description\":\"Maximum number of requests which are accepted for on-demand loading.\",\"type\":\"number\",\"minimum\":1},\"maxAsyncSize\":{\"description\":\"Maximal size hint for the on-demand chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxInitialRequests\":{\"description\":\"Maximum number of initial chunks which are accepted for an entry point.\",\"type\":\"number\",\"minimum\":1},\"maxInitialSize\":{\"description\":\"Maximal size hint for the initial chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"maxSize\":{\"description\":\"Maximal size hint for the created chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minChunks\":{\"description\":\"Minimum number of times a module has to be duplicated until it\\'s considered for splitting.\",\"type\":\"number\",\"minimum\":1},\"minRemainingSize\":{\"description\":\"Minimal size for the chunks the stay after moving the modules to a new chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSize\":{\"description\":\"Minimal size for the created chunks.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"minSizeReduction\":{\"description\":\"Minimum size reduction due to the created chunk.\",\"oneOf\":[{\"$ref\":\"#/definitions/OptimizationSplitChunksSizes\"}]},\"name\":{\"description\":\"Give chunks created a name (chunks with equal name are merged).\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"usedExports\":{\"description\":\"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.\",\"type\":\"boolean\"}}},\"OptimizationSplitChunksSizes\":{\"description\":\"Size description for limits.\",\"anyOf\":[{\"description\":\"Size of the javascript part of the chunk.\",\"type\":\"number\",\"minimum\":0},{\"description\":\"Specify size limits per size type.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Size of the part of the chunk with the type of the key.\",\"type\":\"number\"}}]},\"Output\":{\"description\":\"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"assetModuleFilename\":{\"$ref\":\"#/definitions/AssetModuleFilename\"},\"asyncChunks\":{\"description\":\"Enable/disable creating async chunks that are loaded on demand.\",\"type\":\"boolean\"},\"auxiliaryComment\":{\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/AuxiliaryComment\"}]},\"charset\":{\"$ref\":\"#/definitions/Charset\"},\"chunkFilename\":{\"$ref\":\"#/definitions/ChunkFilename\"},\"chunkFormat\":{\"$ref\":\"#/definitions/ChunkFormat\"},\"chunkLoadTimeout\":{\"$ref\":\"#/definitions/ChunkLoadTimeout\"},\"chunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"chunkLoadingGlobal\":{\"$ref\":\"#/definitions/ChunkLoadingGlobal\"},\"clean\":{\"$ref\":\"#/definitions/Clean\"},\"compareBeforeEmit\":{\"$ref\":\"#/definitions/CompareBeforeEmit\"},\"crossOriginLoading\":{\"$ref\":\"#/definitions/CrossOriginLoading\"},\"cssChunkFilename\":{\"$ref\":\"#/definitions/CssChunkFilename\"},\"cssFilename\":{\"$ref\":\"#/definitions/CssFilename\"},\"devtoolFallbackModuleFilenameTemplate\":{\"$ref\":\"#/definitions/DevtoolFallbackModuleFilenameTemplate\"},\"devtoolModuleFilenameTemplate\":{\"$ref\":\"#/definitions/DevtoolModuleFilenameTemplate\"},\"devtoolNamespace\":{\"$ref\":\"#/definitions/DevtoolNamespace\"},\"enabledChunkLoadingTypes\":{\"$ref\":\"#/definitions/EnabledChunkLoadingTypes\"},\"enabledLibraryTypes\":{\"$ref\":\"#/definitions/EnabledLibraryTypes\"},\"enabledWasmLoadingTypes\":{\"$ref\":\"#/definitions/EnabledWasmLoadingTypes\"},\"environment\":{\"$ref\":\"#/definitions/Environment\"},\"filename\":{\"$ref\":\"#/definitions/Filename\"},\"globalObject\":{\"$ref\":\"#/definitions/GlobalObject\"},\"hashDigest\":{\"$ref\":\"#/definitions/HashDigest\"},\"hashDigestLength\":{\"$ref\":\"#/definitions/HashDigestLength\"},\"hashFunction\":{\"$ref\":\"#/definitions/HashFunction\"},\"hashSalt\":{\"$ref\":\"#/definitions/HashSalt\"},\"hotUpdateChunkFilename\":{\"$ref\":\"#/definitions/HotUpdateChunkFilename\"},\"hotUpdateGlobal\":{\"$ref\":\"#/definitions/HotUpdateGlobal\"},\"hotUpdateMainFilename\":{\"$ref\":\"#/definitions/HotUpdateMainFilename\"},\"iife\":{\"$ref\":\"#/definitions/Iife\"},\"importFunctionName\":{\"$ref\":\"#/definitions/ImportFunctionName\"},\"importMetaName\":{\"$ref\":\"#/definitions/ImportMetaName\"},\"library\":{\"$ref\":\"#/definitions/Library\"},\"libraryExport\":{\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/LibraryExport\"}]},\"libraryTarget\":{\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/LibraryType\"}]},\"module\":{\"$ref\":\"#/definitions/OutputModule\"},\"path\":{\"$ref\":\"#/definitions/Path\"},\"pathinfo\":{\"$ref\":\"#/definitions/Pathinfo\"},\"publicPath\":{\"$ref\":\"#/definitions/PublicPath\"},\"scriptType\":{\"$ref\":\"#/definitions/ScriptType\"},\"sourceMapFilename\":{\"$ref\":\"#/definitions/SourceMapFilename\"},\"sourcePrefix\":{\"$ref\":\"#/definitions/SourcePrefix\"},\"strictModuleErrorHandling\":{\"$ref\":\"#/definitions/StrictModuleErrorHandling\"},\"strictModuleExceptionHandling\":{\"$ref\":\"#/definitions/StrictModuleExceptionHandling\"},\"trustedTypes\":{\"description\":\"Use a Trusted Types policy to create urls for chunks. \\'output.uniqueName\\' is used a default policy name. Passing a string sets a custom policy name.\",\"anyOf\":[{\"enum\":[true]},{\"description\":\"The name of the Trusted Types policy created by webpack to serve bundle chunks.\",\"type\":\"string\",\"minLength\":1},{\"$ref\":\"#/definitions/TrustedTypes\"}]},\"umdNamedDefine\":{\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/UmdNamedDefine\"}]},\"uniqueName\":{\"$ref\":\"#/definitions/UniqueName\"},\"wasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"},\"webassemblyModuleFilename\":{\"$ref\":\"#/definitions/WebassemblyModuleFilename\"},\"workerChunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"workerWasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"}}},\"OutputModule\":{\"description\":\"Output javascript files as module source type.\",\"type\":\"boolean\"},\"OutputNormalized\":{\"description\":\"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"assetModuleFilename\":{\"$ref\":\"#/definitions/AssetModuleFilename\"},\"asyncChunks\":{\"description\":\"Enable/disable creating async chunks that are loaded on demand.\",\"type\":\"boolean\"},\"charset\":{\"$ref\":\"#/definitions/Charset\"},\"chunkFilename\":{\"$ref\":\"#/definitions/ChunkFilename\"},\"chunkFormat\":{\"$ref\":\"#/definitions/ChunkFormat\"},\"chunkLoadTimeout\":{\"$ref\":\"#/definitions/ChunkLoadTimeout\"},\"chunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"chunkLoadingGlobal\":{\"$ref\":\"#/definitions/ChunkLoadingGlobal\"},\"clean\":{\"$ref\":\"#/definitions/Clean\"},\"compareBeforeEmit\":{\"$ref\":\"#/definitions/CompareBeforeEmit\"},\"crossOriginLoading\":{\"$ref\":\"#/definitions/CrossOriginLoading\"},\"cssChunkFilename\":{\"$ref\":\"#/definitions/CssChunkFilename\"},\"cssFilename\":{\"$ref\":\"#/definitions/CssFilename\"},\"devtoolFallbackModuleFilenameTemplate\":{\"$ref\":\"#/definitions/DevtoolFallbackModuleFilenameTemplate\"},\"devtoolModuleFilenameTemplate\":{\"$ref\":\"#/definitions/DevtoolModuleFilenameTemplate\"},\"devtoolNamespace\":{\"$ref\":\"#/definitions/DevtoolNamespace\"},\"enabledChunkLoadingTypes\":{\"$ref\":\"#/definitions/EnabledChunkLoadingTypes\"},\"enabledLibraryTypes\":{\"$ref\":\"#/definitions/EnabledLibraryTypes\"},\"enabledWasmLoadingTypes\":{\"$ref\":\"#/definitions/EnabledWasmLoadingTypes\"},\"environment\":{\"$ref\":\"#/definitions/Environment\"},\"filename\":{\"$ref\":\"#/definitions/Filename\"},\"globalObject\":{\"$ref\":\"#/definitions/GlobalObject\"},\"hashDigest\":{\"$ref\":\"#/definitions/HashDigest\"},\"hashDigestLength\":{\"$ref\":\"#/definitions/HashDigestLength\"},\"hashFunction\":{\"$ref\":\"#/definitions/HashFunction\"},\"hashSalt\":{\"$ref\":\"#/definitions/HashSalt\"},\"hotUpdateChunkFilename\":{\"$ref\":\"#/definitions/HotUpdateChunkFilename\"},\"hotUpdateGlobal\":{\"$ref\":\"#/definitions/HotUpdateGlobal\"},\"hotUpdateMainFilename\":{\"$ref\":\"#/definitions/HotUpdateMainFilename\"},\"iife\":{\"$ref\":\"#/definitions/Iife\"},\"importFunctionName\":{\"$ref\":\"#/definitions/ImportFunctionName\"},\"importMetaName\":{\"$ref\":\"#/definitions/ImportMetaName\"},\"library\":{\"$ref\":\"#/definitions/LibraryOptions\"},\"module\":{\"$ref\":\"#/definitions/OutputModule\"},\"path\":{\"$ref\":\"#/definitions/Path\"},\"pathinfo\":{\"$ref\":\"#/definitions/Pathinfo\"},\"publicPath\":{\"$ref\":\"#/definitions/PublicPath\"},\"scriptType\":{\"$ref\":\"#/definitions/ScriptType\"},\"sourceMapFilename\":{\"$ref\":\"#/definitions/SourceMapFilename\"},\"sourcePrefix\":{\"$ref\":\"#/definitions/SourcePrefix\"},\"strictModuleErrorHandling\":{\"$ref\":\"#/definitions/StrictModuleErrorHandling\"},\"strictModuleExceptionHandling\":{\"$ref\":\"#/definitions/StrictModuleExceptionHandling\"},\"trustedTypes\":{\"$ref\":\"#/definitions/TrustedTypes\"},\"uniqueName\":{\"$ref\":\"#/definitions/UniqueName\"},\"wasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"},\"webassemblyModuleFilename\":{\"$ref\":\"#/definitions/WebassemblyModuleFilename\"},\"workerChunkLoading\":{\"$ref\":\"#/definitions/ChunkLoading\"},\"workerWasmLoading\":{\"$ref\":\"#/definitions/WasmLoading\"}}},\"Parallelism\":{\"description\":\"The number of parallel processed modules in the compilation.\",\"type\":\"number\",\"minimum\":1},\"ParserOptionsByModuleType\":{\"description\":\"Specify options for each parser.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Options for parsing.\",\"type\":\"object\",\"additionalProperties\":true},\"properties\":{\"asset\":{\"$ref\":\"#/definitions/AssetParserOptions\"},\"asset/inline\":{\"$ref\":\"#/definitions/EmptyParserOptions\"},\"asset/resource\":{\"$ref\":\"#/definitions/EmptyParserOptions\"},\"asset/source\":{\"$ref\":\"#/definitions/EmptyParserOptions\"},\"javascript\":{\"$ref\":\"#/definitions/JavascriptParserOptions\"},\"javascript/auto\":{\"$ref\":\"#/definitions/JavascriptParserOptions\"},\"javascript/dynamic\":{\"$ref\":\"#/definitions/JavascriptParserOptions\"},\"javascript/esm\":{\"$ref\":\"#/definitions/JavascriptParserOptions\"}}},\"Path\":{\"description\":\"The output directory as **absolute path** (required).\",\"type\":\"string\",\"absolutePath\":true},\"Pathinfo\":{\"description\":\"Include comments with information about the modules.\",\"anyOf\":[{\"enum\":[\"verbose\"]},{\"type\":\"boolean\"}]},\"Performance\":{\"description\":\"Configuration for web performance recommendations.\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/PerformanceOptions\"}]},\"PerformanceOptions\":{\"description\":\"Configuration object for web performance recommendations.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"assetFilter\":{\"description\":\"Filter function to select assets that are checked.\",\"instanceof\":\"Function\",\"tsType\":\"Function\"},\"hints\":{\"description\":\"Sets the format of the hints: warnings, errors or nothing at all.\",\"enum\":[false,\"warning\",\"error\"]},\"maxAssetSize\":{\"description\":\"File size limit (in bytes) when exceeded, that webpack will provide performance hints.\",\"type\":\"number\"},\"maxEntrypointSize\":{\"description\":\"Total size of an entry point (in bytes).\",\"type\":\"number\"}}},\"Plugins\":{\"description\":\"Add additional plugins to the compiler.\",\"type\":\"array\",\"items\":{\"description\":\"Plugin of type object or instanceof Function.\",\"anyOf\":[{\"$ref\":\"#/definitions/WebpackPluginInstance\"},{\"$ref\":\"#/definitions/WebpackPluginFunction\"}]}},\"Profile\":{\"description\":\"Capture timing information for each module.\",\"type\":\"boolean\"},\"PublicPath\":{\"description\":\"The \\'publicPath\\' specifies the public URL address of the output files when referenced in a browser.\",\"anyOf\":[{\"enum\":[\"auto\"]},{\"$ref\":\"#/definitions/RawPublicPath\"}]},\"RawPublicPath\":{\"description\":\"The \\'publicPath\\' specifies the public URL address of the output files when referenced in a browser.\",\"anyOf\":[{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"((pathData: import(\\\\\"../lib/Compilation\\\\\").PathData, assetInfo?: import(\\\\\"../lib/Compilation\\\\\").AssetInfo) => string)\"}]},\"RecordsInputPath\":{\"description\":\"Store compiler state to a json file.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"absolutePath\":true}]},\"RecordsOutputPath\":{\"description\":\"Load compiler state from a json file.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"absolutePath\":true}]},\"RecordsPath\":{\"description\":\"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"absolutePath\":true}]},\"Resolve\":{\"description\":\"Options for the resolver.\",\"oneOf\":[{\"$ref\":\"#/definitions/ResolveOptions\"}]},\"ResolveAlias\":{\"description\":\"Redirect module requests.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Alias configuration.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"alias\":{\"description\":\"New request.\",\"anyOf\":[{\"description\":\"Multiple alternative requests.\",\"type\":\"array\",\"items\":{\"description\":\"One choice of request.\",\"type\":\"string\",\"minLength\":1}},{\"description\":\"Ignore request (replace with empty module).\",\"enum\":[false]},{\"description\":\"New request.\",\"type\":\"string\",\"minLength\":1}]},\"name\":{\"description\":\"Request to be redirected.\",\"type\":\"string\"},\"onlyModule\":{\"description\":\"Redirect only exact matching request.\",\"type\":\"boolean\"}},\"required\":[\"alias\",\"name\"]}},{\"type\":\"object\",\"additionalProperties\":{\"description\":\"New request.\",\"anyOf\":[{\"description\":\"Multiple alternative requests.\",\"type\":\"array\",\"items\":{\"description\":\"One choice of request.\",\"type\":\"string\",\"minLength\":1}},{\"description\":\"Ignore request (replace with empty module).\",\"enum\":[false]},{\"description\":\"New request.\",\"type\":\"string\",\"minLength\":1}]}}]},\"ResolveLoader\":{\"description\":\"Options for the resolver when resolving loaders.\",\"oneOf\":[{\"$ref\":\"#/definitions/ResolveOptions\"}]},\"ResolveOptions\":{\"description\":\"Options object for resolving requests.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"alias\":{\"$ref\":\"#/definitions/ResolveAlias\"},\"aliasFields\":{\"description\":\"Fields in the description file (usually package.json) which are used to redirect requests inside the module.\",\"type\":\"array\",\"items\":{\"description\":\"Field in the description file (usually package.json) which are used to redirect requests inside the module.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]}},\"byDependency\":{\"description\":\"Extra resolve options per dependency category. Typical categories are \\\\\"commonjs\\\\\", \\\\\"amd\\\\\", \\\\\"esm\\\\\".\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Options object for resolving requests.\",\"oneOf\":[{\"$ref\":\"#/definitions/ResolveOptions\"}]}},\"cache\":{\"description\":\"Enable caching of successfully resolved requests (cache entries are revalidated).\",\"type\":\"boolean\"},\"cachePredicate\":{\"description\":\"Predicate function to decide which requests should be cached.\",\"instanceof\":\"Function\",\"tsType\":\"((request: import(\\'enhanced-resolve\\').ResolveRequest) => boolean)\"},\"cacheWithContext\":{\"description\":\"Include the context information in the cache identifier when caching.\",\"type\":\"boolean\"},\"conditionNames\":{\"description\":\"Condition names for exports field entry point.\",\"type\":\"array\",\"items\":{\"description\":\"Condition names for exports field entry point.\",\"type\":\"string\"}},\"descriptionFiles\":{\"description\":\"Filenames used to find a description file (like a package.json).\",\"type\":\"array\",\"items\":{\"description\":\"Filename used to find a description file (like a package.json).\",\"type\":\"string\",\"minLength\":1}},\"enforceExtension\":{\"description\":\"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).\",\"type\":\"boolean\"},\"exportsFields\":{\"description\":\"Field names from the description file (usually package.json) which are used to provide entry points of a package.\",\"type\":\"array\",\"items\":{\"description\":\"Field name from the description file (usually package.json) which is used to provide entry points of a package.\",\"type\":\"string\"}},\"extensionAlias\":{\"description\":\"An object which maps extension to extension aliases.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Extension alias.\",\"anyOf\":[{\"description\":\"Multiple extensions.\",\"type\":\"array\",\"items\":{\"description\":\"Aliased extension.\",\"type\":\"string\",\"minLength\":1}},{\"description\":\"Aliased extension.\",\"type\":\"string\",\"minLength\":1}]}},\"extensions\":{\"description\":\"Extensions added to the request when trying to find the file.\",\"type\":\"array\",\"items\":{\"description\":\"Extension added to the request when trying to find the file.\",\"type\":\"string\"}},\"fallback\":{\"description\":\"Redirect module requests when normal resolving fails.\",\"oneOf\":[{\"$ref\":\"#/definitions/ResolveAlias\"}]},\"fileSystem\":{\"description\":\"Filesystem for the resolver.\",\"tsType\":\"(import(\\'../lib/util/fs\\').InputFileSystem)\"},\"fullySpecified\":{\"description\":\"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\\'t affect requests from mainFields, aliasFields or aliases).\",\"type\":\"boolean\"},\"importsFields\":{\"description\":\"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).\",\"type\":\"array\",\"items\":{\"description\":\"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).\",\"type\":\"string\"}},\"mainFields\":{\"description\":\"Field names from the description file (package.json) which are used to find the default entry point.\",\"type\":\"array\",\"items\":{\"description\":\"Field name from the description file (package.json) which are used to find the default entry point.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the field path from the description file (package.json) which are used to find the default entry point.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]}},\"mainFiles\":{\"description\":\"Filenames used to find the default entry point if there is no description file or main field.\",\"type\":\"array\",\"items\":{\"description\":\"Filename used to find the default entry point if there is no description file or main field.\",\"type\":\"string\",\"minLength\":1}},\"modules\":{\"description\":\"Folder names or directory paths where to find modules.\",\"type\":\"array\",\"items\":{\"description\":\"Folder name or directory path where to find modules.\",\"type\":\"string\",\"minLength\":1}},\"plugins\":{\"description\":\"Plugins for the resolver.\",\"type\":\"array\",\"cli\":{\"exclude\":true},\"items\":{\"description\":\"Plugin of type object or instanceof Function.\",\"anyOf\":[{\"enum\":[\"...\"]},{\"$ref\":\"#/definitions/ResolvePluginInstance\"}]}},\"preferAbsolute\":{\"description\":\"Prefer to resolve server-relative URLs (starting with \\'/\\') as absolute paths before falling back to resolve in \\'resolve.roots\\'.\",\"type\":\"boolean\"},\"preferRelative\":{\"description\":\"Prefer to resolve module requests as relative request and fallback to resolving as module.\",\"type\":\"boolean\"},\"resolver\":{\"description\":\"Custom resolver.\",\"tsType\":\"(import(\\'enhanced-resolve\\').Resolver)\"},\"restrictions\":{\"description\":\"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.\",\"type\":\"array\",\"items\":{\"description\":\"Resolve restriction. Resolve result must fulfill this restriction.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":true,\"minLength\":1}]}},\"roots\":{\"description\":\"A list of directories in which requests that are server-relative URLs (starting with \\'/\\') are resolved.\",\"type\":\"array\",\"items\":{\"description\":\"Directory in which requests that are server-relative URLs (starting with \\'/\\') are resolved.\",\"type\":\"string\"}},\"symlinks\":{\"description\":\"Enable resolving symlinks to the original location.\",\"type\":\"boolean\"},\"unsafeCache\":{\"description\":\"Enable caching of successfully resolved requests (cache entries are not revalidated).\",\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"object\",\"additionalProperties\":true}]},\"useSyncFileSystemCalls\":{\"description\":\"Use synchronous filesystem calls for the resolver.\",\"type\":\"boolean\"}}},\"ResolvePluginInstance\":{\"description\":\"Plugin instance.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"apply\":{\"description\":\"The run point of the plugin, required method.\",\"instanceof\":\"Function\",\"tsType\":\"(resolver: import(\\'enhanced-resolve\\').Resolver) => void\"}},\"required\":[\"apply\"]},\"RuleSetCondition\":{\"description\":\"A condition matcher.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"},{\"instanceof\":\"Function\",\"tsType\":\"((value: string) => boolean)\"},{\"$ref\":\"#/definitions/RuleSetLogicalConditions\"},{\"$ref\":\"#/definitions/RuleSetConditions\"}]},\"RuleSetConditionAbsolute\":{\"description\":\"A condition matcher matching an absolute path.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":true},{\"instanceof\":\"Function\",\"tsType\":\"((value: string) => boolean)\"},{\"$ref\":\"#/definitions/RuleSetLogicalConditionsAbsolute\"},{\"$ref\":\"#/definitions/RuleSetConditionsAbsolute\"}]},\"RuleSetConditionOrConditions\":{\"description\":\"One or multiple rule conditions.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"$ref\":\"#/definitions/RuleSetCondition\"},{\"$ref\":\"#/definitions/RuleSetConditions\"}]},\"RuleSetConditionOrConditionsAbsolute\":{\"description\":\"One or multiple rule conditions matching an absolute path.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"$ref\":\"#/definitions/RuleSetConditionAbsolute\"},{\"$ref\":\"#/definitions/RuleSetConditionsAbsolute\"}]},\"RuleSetConditions\":{\"description\":\"A list of rule conditions.\",\"type\":\"array\",\"items\":{\"description\":\"A rule condition.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetCondition\"}]}},\"RuleSetConditionsAbsolute\":{\"description\":\"A list of rule conditions matching an absolute path.\",\"type\":\"array\",\"items\":{\"description\":\"A rule condition matching an absolute path.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionAbsolute\"}]}},\"RuleSetLoader\":{\"description\":\"A loader request.\",\"type\":\"string\",\"minLength\":1},\"RuleSetLoaderOptions\":{\"description\":\"Options passed to a loader.\",\"anyOf\":[{\"type\":\"string\"},{\"type\":\"object\"}]},\"RuleSetLogicalConditions\":{\"description\":\"Logic operators used in a condition matcher.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"and\":{\"description\":\"Logical AND.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditions\"}]},\"not\":{\"description\":\"Logical NOT.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetCondition\"}]},\"or\":{\"description\":\"Logical OR.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditions\"}]}}},\"RuleSetLogicalConditionsAbsolute\":{\"description\":\"Logic operators used in a condition matcher.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"and\":{\"description\":\"Logical AND.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionsAbsolute\"}]},\"not\":{\"description\":\"Logical NOT.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionAbsolute\"}]},\"or\":{\"description\":\"Logical OR.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionsAbsolute\"}]}}},\"RuleSetRule\":{\"description\":\"A rule description with conditions and effects for modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"assert\":{\"description\":\"Match on import assertions of the dependency.\",\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}},\"compiler\":{\"description\":\"Match the child compiler name.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"dependency\":{\"description\":\"Match dependency type.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"descriptionData\":{\"description\":\"Match values of properties in the description file (usually package.json).\",\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}},\"enforce\":{\"description\":\"Enforce this rule as pre or post step.\",\"enum\":[\"pre\",\"post\"]},\"exclude\":{\"description\":\"Shortcut for resource.exclude.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"generator\":{\"description\":\"The options for the module generator.\",\"type\":\"object\"},\"include\":{\"description\":\"Shortcut for resource.include.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"issuer\":{\"description\":\"Match the issuer of the module (The module pointing to this module).\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"issuerLayer\":{\"description\":\"Match layer of the issuer of this module (The module pointing to this module).\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"layer\":{\"description\":\"Specifies the layer in which the module should be placed in.\",\"type\":\"string\"},\"loader\":{\"description\":\"Shortcut for use.loader.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetLoader\"}]},\"mimetype\":{\"description\":\"Match module mimetype when load from Data URI.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"oneOf\":{\"description\":\"Only execute the first matching rule in this array.\",\"type\":\"array\",\"items\":{\"description\":\"A rule.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRule\"}]}},\"options\":{\"description\":\"Shortcut for use.options.\",\"cli\":{\"exclude\":true},\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetLoaderOptions\"}]},\"parser\":{\"description\":\"Options for parsing.\",\"type\":\"object\",\"additionalProperties\":true},\"realResource\":{\"description\":\"Match the real resource path of the module.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"resolve\":{\"description\":\"Options for the resolver.\",\"type\":\"object\",\"oneOf\":[{\"$ref\":\"#/definitions/ResolveOptions\"}]},\"resource\":{\"description\":\"Match the resource path of the module.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"resourceFragment\":{\"description\":\"Match the resource fragment of the module.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"resourceQuery\":{\"description\":\"Match the resource query of the module.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"rules\":{\"description\":\"Match and execute these rules when this rule is matched.\",\"type\":\"array\",\"items\":{\"description\":\"A rule.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetRule\"}]}},\"scheme\":{\"description\":\"Match module scheme.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditions\"}]},\"sideEffects\":{\"description\":\"Flags a module as with or without side effects.\",\"type\":\"boolean\"},\"test\":{\"description\":\"Shortcut for resource.test.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetConditionOrConditionsAbsolute\"}]},\"type\":{\"description\":\"Module type to use for the module.\",\"type\":\"string\"},\"use\":{\"description\":\"Modifiers applied to the module when rule is matched.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetUse\"}]}}},\"RuleSetRules\":{\"description\":\"A list of rules.\",\"type\":\"array\",\"items\":{\"description\":\"A rule.\",\"anyOf\":[{\"cli\":{\"exclude\":true},\"enum\":[\"...\"]},{\"$ref\":\"#/definitions/RuleSetRule\"}]}},\"RuleSetUse\":{\"description\":\"A list of descriptions of loaders applied.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"An use item.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetUseItem\"}]}},{\"instanceof\":\"Function\",\"tsType\":\"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])\"},{\"$ref\":\"#/definitions/RuleSetUseItem\"}]},\"RuleSetUseItem\":{\"description\":\"A description of an applied loader.\",\"anyOf\":[{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"ident\":{\"description\":\"Unique loader options identifier.\",\"type\":\"string\"},\"loader\":{\"description\":\"Loader name.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetLoader\"}]},\"options\":{\"description\":\"Loader options.\",\"oneOf\":[{\"$ref\":\"#/definitions/RuleSetLoaderOptions\"}]}}},{\"instanceof\":\"Function\",\"tsType\":\"((data: object) => RuleSetUseItem|RuleSetUseItem[])\"},{\"$ref\":\"#/definitions/RuleSetLoader\"}]},\"ScriptType\":{\"description\":\"This option enables loading async chunks via a custom script type, such as script type=\\\\\"module\\\\\".\",\"enum\":[false,\"text/javascript\",\"module\"]},\"SnapshotOptions\":{\"description\":\"Options affecting how file system snapshots are created and validated.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"buildDependencies\":{\"description\":\"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"hash\":{\"description\":\"Use hashes of the content of the files/directories to determine invalidation.\",\"type\":\"boolean\"},\"timestamp\":{\"description\":\"Use timestamps of the files/directories to determine invalidation.\",\"type\":\"boolean\"}}},\"immutablePaths\":{\"description\":\"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.\",\"type\":\"array\",\"items\":{\"description\":\"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.\",\"anyOf\":[{\"description\":\"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"A path to an immutable directory (usually a package manager cache directory).\",\"type\":\"string\",\"absolutePath\":true,\"minLength\":1}]}},\"managedPaths\":{\"description\":\"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.\",\"type\":\"array\",\"items\":{\"description\":\"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.\",\"anyOf\":[{\"description\":\"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"A path to a managed directory (usually a node_modules directory).\",\"type\":\"string\",\"absolutePath\":true,\"minLength\":1}]}},\"module\":{\"description\":\"Options for snapshotting dependencies of modules to determine if they need to be built again.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"hash\":{\"description\":\"Use hashes of the content of the files/directories to determine invalidation.\",\"type\":\"boolean\"},\"timestamp\":{\"description\":\"Use timestamps of the files/directories to determine invalidation.\",\"type\":\"boolean\"}}},\"resolve\":{\"description\":\"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"hash\":{\"description\":\"Use hashes of the content of the files/directories to determine invalidation.\",\"type\":\"boolean\"},\"timestamp\":{\"description\":\"Use timestamps of the files/directories to determine invalidation.\",\"type\":\"boolean\"}}},\"resolveBuildDependencies\":{\"description\":\"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"hash\":{\"description\":\"Use hashes of the content of the files/directories to determine invalidation.\",\"type\":\"boolean\"},\"timestamp\":{\"description\":\"Use timestamps of the files/directories to determine invalidation.\",\"type\":\"boolean\"}}}}},\"SourceMapFilename\":{\"description\":\"The filename of the SourceMaps for the JavaScript files. They are inside the \\'output.path\\' directory.\",\"type\":\"string\",\"absolutePath\":false},\"SourcePrefix\":{\"description\":\"Prefixes every line of the source in the bundle with this string.\",\"type\":\"string\"},\"StatsOptions\":{\"description\":\"Stats options object.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"all\":{\"description\":\"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).\",\"type\":\"boolean\"},\"assets\":{\"description\":\"Add assets information.\",\"type\":\"boolean\"},\"assetsSort\":{\"description\":\"Sort the assets by that field.\",\"type\":\"string\"},\"assetsSpace\":{\"description\":\"Space to display assets (groups will be collapsed to fit this space).\",\"type\":\"number\"},\"builtAt\":{\"description\":\"Add built at time information.\",\"type\":\"boolean\"},\"cached\":{\"description\":\"Add information about cached (not built) modules (deprecated: use \\'cachedModules\\' instead).\",\"type\":\"boolean\"},\"cachedAssets\":{\"description\":\"Show cached assets (setting this to `false` only shows emitted files).\",\"type\":\"boolean\"},\"cachedModules\":{\"description\":\"Add information about cached (not built) modules.\",\"type\":\"boolean\"},\"children\":{\"description\":\"Add children information.\",\"type\":\"boolean\"},\"chunkGroupAuxiliary\":{\"description\":\"Display auxiliary assets in chunk groups.\",\"type\":\"boolean\"},\"chunkGroupChildren\":{\"description\":\"Display children of chunk groups.\",\"type\":\"boolean\"},\"chunkGroupMaxAssets\":{\"description\":\"Limit of assets displayed in chunk groups.\",\"type\":\"number\"},\"chunkGroups\":{\"description\":\"Display all chunk groups with the corresponding bundles.\",\"type\":\"boolean\"},\"chunkModules\":{\"description\":\"Add built modules information to chunk information.\",\"type\":\"boolean\"},\"chunkModulesSpace\":{\"description\":\"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).\",\"type\":\"number\"},\"chunkOrigins\":{\"description\":\"Add the origins of chunks and chunk merging info.\",\"type\":\"boolean\"},\"chunkRelations\":{\"description\":\"Add information about parent, children and sibling chunks to chunk information.\",\"type\":\"boolean\"},\"chunks\":{\"description\":\"Add chunk information.\",\"type\":\"boolean\"},\"chunksSort\":{\"description\":\"Sort the chunks by that field.\",\"type\":\"string\"},\"colors\":{\"description\":\"Enables/Disables colorful output.\",\"anyOf\":[{\"description\":\"Enables/Disables colorful output.\",\"type\":\"boolean\"},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"bold\":{\"description\":\"Custom color for bold text.\",\"type\":\"string\"},\"cyan\":{\"description\":\"Custom color for cyan text.\",\"type\":\"string\"},\"green\":{\"description\":\"Custom color for green text.\",\"type\":\"string\"},\"magenta\":{\"description\":\"Custom color for magenta text.\",\"type\":\"string\"},\"red\":{\"description\":\"Custom color for red text.\",\"type\":\"string\"},\"yellow\":{\"description\":\"Custom color for yellow text.\",\"type\":\"string\"}}}]},\"context\":{\"description\":\"Context directory for request shortening.\",\"type\":\"string\",\"absolutePath\":true},\"dependentModules\":{\"description\":\"Show chunk modules that are dependencies of other modules of the chunk.\",\"type\":\"boolean\"},\"depth\":{\"description\":\"Add module depth in module graph.\",\"type\":\"boolean\"},\"entrypoints\":{\"description\":\"Display the entry points with the corresponding bundles.\",\"anyOf\":[{\"enum\":[\"auto\"]},{\"type\":\"boolean\"}]},\"env\":{\"description\":\"Add --env information.\",\"type\":\"boolean\"},\"errorDetails\":{\"description\":\"Add details to errors (like resolving log).\",\"anyOf\":[{\"enum\":[\"auto\"]},{\"type\":\"boolean\"}]},\"errorStack\":{\"description\":\"Add internal stack trace to errors.\",\"type\":\"boolean\"},\"errors\":{\"description\":\"Add errors.\",\"type\":\"boolean\"},\"errorsCount\":{\"description\":\"Add errors count.\",\"type\":\"boolean\"},\"exclude\":{\"description\":\"Please use excludeModules instead.\",\"cli\":{\"exclude\":true},\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/ModuleFilterTypes\"}]},\"excludeAssets\":{\"description\":\"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.\",\"oneOf\":[{\"$ref\":\"#/definitions/AssetFilterTypes\"}]},\"excludeModules\":{\"description\":\"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.\",\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/ModuleFilterTypes\"}]},\"groupAssetsByChunk\":{\"description\":\"Group assets by how their are related to chunks.\",\"type\":\"boolean\"},\"groupAssetsByEmitStatus\":{\"description\":\"Group assets by their status (emitted, compared for emit or cached).\",\"type\":\"boolean\"},\"groupAssetsByExtension\":{\"description\":\"Group assets by their extension.\",\"type\":\"boolean\"},\"groupAssetsByInfo\":{\"description\":\"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).\",\"type\":\"boolean\"},\"groupAssetsByPath\":{\"description\":\"Group assets by their path.\",\"type\":\"boolean\"},\"groupModulesByAttributes\":{\"description\":\"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).\",\"type\":\"boolean\"},\"groupModulesByCacheStatus\":{\"description\":\"Group modules by their status (cached or built and cacheable).\",\"type\":\"boolean\"},\"groupModulesByExtension\":{\"description\":\"Group modules by their extension.\",\"type\":\"boolean\"},\"groupModulesByLayer\":{\"description\":\"Group modules by their layer.\",\"type\":\"boolean\"},\"groupModulesByPath\":{\"description\":\"Group modules by their path.\",\"type\":\"boolean\"},\"groupModulesByType\":{\"description\":\"Group modules by their type.\",\"type\":\"boolean\"},\"groupReasonsByOrigin\":{\"description\":\"Group reasons by their origin module.\",\"type\":\"boolean\"},\"hash\":{\"description\":\"Add the hash of the compilation.\",\"type\":\"boolean\"},\"ids\":{\"description\":\"Add ids.\",\"type\":\"boolean\"},\"logging\":{\"description\":\"Add logging output.\",\"anyOf\":[{\"description\":\"Specify log level of logging output.\",\"enum\":[\"none\",\"error\",\"warn\",\"info\",\"log\",\"verbose\"]},{\"description\":\"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).\",\"type\":\"boolean\"}]},\"loggingDebug\":{\"description\":\"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.\",\"anyOf\":[{\"description\":\"Enable/Disable debug logging for all loggers.\",\"type\":\"boolean\"},{\"$ref\":\"#/definitions/FilterTypes\"}]},\"loggingTrace\":{\"description\":\"Add stack traces to logging output.\",\"type\":\"boolean\"},\"moduleAssets\":{\"description\":\"Add information about assets inside modules.\",\"type\":\"boolean\"},\"moduleTrace\":{\"description\":\"Add dependencies and origin of warnings/errors.\",\"type\":\"boolean\"},\"modules\":{\"description\":\"Add built modules information.\",\"type\":\"boolean\"},\"modulesSort\":{\"description\":\"Sort the modules by that field.\",\"type\":\"string\"},\"modulesSpace\":{\"description\":\"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).\",\"type\":\"number\"},\"nestedModules\":{\"description\":\"Add information about modules nested in other modules (like with module concatenation).\",\"type\":\"boolean\"},\"nestedModulesSpace\":{\"description\":\"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).\",\"type\":\"number\"},\"optimizationBailout\":{\"description\":\"Show reasons why optimization bailed out for modules.\",\"type\":\"boolean\"},\"orphanModules\":{\"description\":\"Add information about orphan modules.\",\"type\":\"boolean\"},\"outputPath\":{\"description\":\"Add output path information.\",\"type\":\"boolean\"},\"performance\":{\"description\":\"Add performance hint flags.\",\"type\":\"boolean\"},\"preset\":{\"description\":\"Preset for the default values.\",\"anyOf\":[{\"type\":\"boolean\"},{\"type\":\"string\"}]},\"providedExports\":{\"description\":\"Show exports provided by modules.\",\"type\":\"boolean\"},\"publicPath\":{\"description\":\"Add public path information.\",\"type\":\"boolean\"},\"reasons\":{\"description\":\"Add information about the reasons why modules are included.\",\"type\":\"boolean\"},\"reasonsSpace\":{\"description\":\"Space to display reasons (groups will be collapsed to fit this space).\",\"type\":\"number\"},\"relatedAssets\":{\"description\":\"Add information about assets that are related to other assets (like SourceMaps for assets).\",\"type\":\"boolean\"},\"runtime\":{\"description\":\"Add information about runtime modules (deprecated: use \\'runtimeModules\\' instead).\",\"type\":\"boolean\"},\"runtimeModules\":{\"description\":\"Add information about runtime modules.\",\"type\":\"boolean\"},\"source\":{\"description\":\"Add the source code of modules.\",\"type\":\"boolean\"},\"timings\":{\"description\":\"Add timing information.\",\"type\":\"boolean\"},\"usedExports\":{\"description\":\"Show exports used by modules.\",\"type\":\"boolean\"},\"version\":{\"description\":\"Add webpack version information.\",\"type\":\"boolean\"},\"warnings\":{\"description\":\"Add warnings.\",\"type\":\"boolean\"},\"warningsCount\":{\"description\":\"Add warnings count.\",\"type\":\"boolean\"},\"warningsFilter\":{\"description\":\"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.\",\"oneOf\":[{\"$ref\":\"#/definitions/WarningFilterTypes\"}]}}},\"StatsValue\":{\"description\":\"Stats options object or preset name.\",\"anyOf\":[{\"enum\":[\"none\",\"summary\",\"errors-only\",\"errors-warnings\",\"minimal\",\"normal\",\"detailed\",\"verbose\"]},{\"type\":\"boolean\"},{\"$ref\":\"#/definitions/StatsOptions\"}]},\"StrictModuleErrorHandling\":{\"description\":\"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.\",\"type\":\"boolean\"},\"StrictModuleExceptionHandling\":{\"description\":\"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.\",\"type\":\"boolean\"},\"Target\":{\"description\":\"Environment to build for. An array of environments to build for all of them when possible.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Environment to build for.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1},{\"enum\":[false]},{\"type\":\"string\",\"minLength\":1}]},\"TrustedTypes\":{\"description\":\"Use a Trusted Types policy to create urls for chunks.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"policyName\":{\"description\":\"The name of the Trusted Types policy created by webpack to serve bundle chunks.\",\"type\":\"string\",\"minLength\":1}}},\"UmdNamedDefine\":{\"description\":\"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\",\"type\":\"boolean\"},\"UniqueName\":{\"description\":\"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.\",\"type\":\"string\",\"minLength\":1},\"WarningFilterItemTypes\":{\"description\":\"Filtering value, regexp or function.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"absolutePath\":false},{\"instanceof\":\"Function\",\"tsType\":\"((warning: import(\\'../lib/stats/DefaultStatsFactoryPlugin\\').StatsError, value: string) => boolean)\"}]},\"WarningFilterTypes\":{\"description\":\"Filtering warnings.\",\"cli\":{\"helper\":true},\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Rule to filter.\",\"cli\":{\"helper\":true},\"oneOf\":[{\"$ref\":\"#/definitions/WarningFilterItemTypes\"}]}},{\"$ref\":\"#/definitions/WarningFilterItemTypes\"}]},\"WasmLoading\":{\"description\":\"The method of loading WebAssembly Modules (methods included by default are \\'fetch\\' (web/WebWorker), \\'async-node\\' (node.js), but others might be added by plugins).\",\"anyOf\":[{\"enum\":[false]},{\"$ref\":\"#/definitions/WasmLoadingType\"}]},\"WasmLoadingType\":{\"description\":\"The method of loading WebAssembly Modules (methods included by default are \\'fetch\\' (web/WebWorker), \\'async-node\\' (node.js), but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"fetch-streaming\",\"fetch\",\"async-node\"]},{\"type\":\"string\"}]},\"Watch\":{\"description\":\"Enter watch mode, which rebuilds on file change.\",\"type\":\"boolean\"},\"WatchOptions\":{\"description\":\"Options for the watcher.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"aggregateTimeout\":{\"description\":\"Delay the rebuilt after the first change. Value is a time in ms.\",\"type\":\"number\"},\"followSymlinks\":{\"description\":\"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\\'resolve.symlinks\\').\",\"type\":\"boolean\"},\"ignored\":{\"description\":\"Ignore some files from watching (glob pattern or regexp).\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A glob pattern for files that should be ignored from watching.\",\"type\":\"string\",\"minLength\":1}},{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"A single glob pattern for files that should be ignored from watching.\",\"type\":\"string\",\"minLength\":1}]},\"poll\":{\"description\":\"Enable polling mode for watching.\",\"anyOf\":[{\"description\":\"`number`: use polling with specified interval.\",\"type\":\"number\"},{\"description\":\"`true`: use polling.\",\"type\":\"boolean\"}]},\"stdin\":{\"description\":\"Stop watching when stdin stream has ended.\",\"type\":\"boolean\"}}},\"WebassemblyModuleFilename\":{\"description\":\"The filename of WebAssembly modules as relative path inside the \\'output.path\\' directory.\",\"type\":\"string\",\"absolutePath\":false},\"WebpackOptionsNormalized\":{\"description\":\"Normalized webpack options object.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"$ref\":\"#/definitions/Amd\"},\"bail\":{\"$ref\":\"#/definitions/Bail\"},\"cache\":{\"$ref\":\"#/definitions/CacheOptionsNormalized\"},\"context\":{\"$ref\":\"#/definitions/Context\"},\"dependencies\":{\"$ref\":\"#/definitions/Dependencies\"},\"devServer\":{\"$ref\":\"#/definitions/DevServer\"},\"devtool\":{\"$ref\":\"#/definitions/DevTool\"},\"entry\":{\"$ref\":\"#/definitions/EntryNormalized\"},\"experiments\":{\"$ref\":\"#/definitions/ExperimentsNormalized\"},\"externals\":{\"$ref\":\"#/definitions/Externals\"},\"externalsPresets\":{\"$ref\":\"#/definitions/ExternalsPresets\"},\"externalsType\":{\"$ref\":\"#/definitions/ExternalsType\"},\"ignoreWarnings\":{\"$ref\":\"#/definitions/IgnoreWarningsNormalized\"},\"infrastructureLogging\":{\"$ref\":\"#/definitions/InfrastructureLogging\"},\"loader\":{\"$ref\":\"#/definitions/Loader\"},\"mode\":{\"$ref\":\"#/definitions/Mode\"},\"module\":{\"$ref\":\"#/definitions/ModuleOptionsNormalized\"},\"name\":{\"$ref\":\"#/definitions/Name\"},\"node\":{\"$ref\":\"#/definitions/Node\"},\"optimization\":{\"$ref\":\"#/definitions/Optimization\"},\"output\":{\"$ref\":\"#/definitions/OutputNormalized\"},\"parallelism\":{\"$ref\":\"#/definitions/Parallelism\"},\"performance\":{\"$ref\":\"#/definitions/Performance\"},\"plugins\":{\"$ref\":\"#/definitions/Plugins\"},\"profile\":{\"$ref\":\"#/definitions/Profile\"},\"recordsInputPath\":{\"$ref\":\"#/definitions/RecordsInputPath\"},\"recordsOutputPath\":{\"$ref\":\"#/definitions/RecordsOutputPath\"},\"resolve\":{\"$ref\":\"#/definitions/Resolve\"},\"resolveLoader\":{\"$ref\":\"#/definitions/ResolveLoader\"},\"snapshot\":{\"$ref\":\"#/definitions/SnapshotOptions\"},\"stats\":{\"$ref\":\"#/definitions/StatsValue\"},\"target\":{\"$ref\":\"#/definitions/Target\"},\"watch\":{\"$ref\":\"#/definitions/Watch\"},\"watchOptions\":{\"$ref\":\"#/definitions/WatchOptions\"}},\"required\":[\"cache\",\"snapshot\",\"entry\",\"experiments\",\"externals\",\"externalsPresets\",\"infrastructureLogging\",\"module\",\"node\",\"optimization\",\"output\",\"plugins\",\"resolve\",\"resolveLoader\",\"stats\",\"watchOptions\"]},\"WebpackPluginFunction\":{\"description\":\"Function acting as plugin.\",\"instanceof\":\"Function\",\"tsType\":\"(this: import(\\'../lib/Compiler\\'), compiler: import(\\'../lib/Compiler\\')) => void\"},\"WebpackPluginInstance\":{\"description\":\"Plugin instance.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"apply\":{\"description\":\"The run point of the plugin, required method.\",\"instanceof\":\"Function\",\"tsType\":\"(compiler: import(\\'../lib/Compiler\\')) => void\"}},\"required\":[\"apply\"]}},\"title\":\"WebpackOptions\",\"description\":\"Options object as provided by the user.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"$ref\":\"#/definitions/Amd\"},\"bail\":{\"$ref\":\"#/definitions/Bail\"},\"cache\":{\"$ref\":\"#/definitions/CacheOptions\"},\"context\":{\"$ref\":\"#/definitions/Context\"},\"dependencies\":{\"$ref\":\"#/definitions/Dependencies\"},\"devServer\":{\"$ref\":\"#/definitions/DevServer\"},\"devtool\":{\"$ref\":\"#/definitions/DevTool\"},\"entry\":{\"$ref\":\"#/definitions/Entry\"},\"experiments\":{\"$ref\":\"#/definitions/Experiments\"},\"externals\":{\"$ref\":\"#/definitions/Externals\"},\"externalsPresets\":{\"$ref\":\"#/definitions/ExternalsPresets\"},\"externalsType\":{\"$ref\":\"#/definitions/ExternalsType\"},\"ignoreWarnings\":{\"$ref\":\"#/definitions/IgnoreWarnings\"},\"infrastructureLogging\":{\"$ref\":\"#/definitions/InfrastructureLogging\"},\"loader\":{\"$ref\":\"#/definitions/Loader\"},\"mode\":{\"$ref\":\"#/definitions/Mode\"},\"module\":{\"$ref\":\"#/definitions/ModuleOptions\"},\"name\":{\"$ref\":\"#/definitions/Name\"},\"node\":{\"$ref\":\"#/definitions/Node\"},\"optimization\":{\"$ref\":\"#/definitions/Optimization\"},\"output\":{\"$ref\":\"#/definitions/Output\"},\"parallelism\":{\"$ref\":\"#/definitions/Parallelism\"},\"performance\":{\"$ref\":\"#/definitions/Performance\"},\"plugins\":{\"$ref\":\"#/definitions/Plugins\"},\"profile\":{\"$ref\":\"#/definitions/Profile\"},\"recordsInputPath\":{\"$ref\":\"#/definitions/RecordsInputPath\"},\"recordsOutputPath\":{\"$ref\":\"#/definitions/RecordsOutputPath\"},\"recordsPath\":{\"$ref\":\"#/definitions/RecordsPath\"},\"resolve\":{\"$ref\":\"#/definitions/Resolve\"},\"resolveLoader\":{\"$ref\":\"#/definitions/ResolveLoader\"},\"snapshot\":{\"$ref\":\"#/definitions/SnapshotOptions\"},\"stats\":{\"$ref\":\"#/definitions/StatsValue\"},\"target\":{\"$ref\":\"#/definitions/Target\"},\"watch\":{\"$ref\":\"#/definitions/Watch\"},\"watchOptions\":{\"$ref\":\"#/definitions/WatchOptions\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/WebpackOptions.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/BannerPlugin.json": /*!****************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/BannerPlugin.json ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"BannerFunction\":{\"description\":\"The banner as function, it will be wrapped in a comment.\",\"instanceof\":\"Function\",\"tsType\":\"(data: { hash: string, chunk: import(\\'../../lib/Chunk\\'), filename: string }) => string\"},\"Rule\":{\"description\":\"Filtering rule as regex or string.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"minLength\":1}]},\"Rules\":{\"description\":\"Filtering rules.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A rule condition.\",\"oneOf\":[{\"$ref\":\"#/definitions/Rule\"}]}},{\"$ref\":\"#/definitions/Rule\"}]}},\"title\":\"BannerPluginArgument\",\"anyOf\":[{\"description\":\"The banner as string, it will be wrapped in a comment.\",\"type\":\"string\",\"minLength\":1},{\"title\":\"BannerPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"banner\":{\"description\":\"Specifies the banner.\",\"anyOf\":[{\"type\":\"string\"},{\"$ref\":\"#/definitions/BannerFunction\"}]},\"entryOnly\":{\"description\":\"If true, the banner will only be added to the entry chunks.\",\"type\":\"boolean\"},\"exclude\":{\"description\":\"Exclude all modules matching any of these conditions.\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]},\"footer\":{\"description\":\"If true, banner will be placed at the end of the output.\",\"type\":\"boolean\"},\"include\":{\"description\":\"Include all modules matching any of these conditions.\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]},\"raw\":{\"description\":\"If true, banner will not be wrapped in a comment.\",\"type\":\"boolean\"},\"test\":{\"description\":\"Include all modules that pass test assertion.\",\"oneOf\":[{\"$ref\":\"#/definitions/Rules\"}]}},\"required\":[\"banner\"]},{\"$ref\":\"#/definitions/BannerFunction\"}]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/BannerPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/DllPlugin.json": /*!*************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/DllPlugin.json ***! \*************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"DllPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"context\":{\"description\":\"Context of requests in the manifest file (defaults to the webpack context).\",\"type\":\"string\",\"minLength\":1},\"entryOnly\":{\"description\":\"If true, only entry points will be exposed (default: true).\",\"type\":\"boolean\"},\"format\":{\"description\":\"If true, manifest json file (output) will be formatted.\",\"type\":\"boolean\"},\"name\":{\"description\":\"Name of the exposed dll function (external name, use value of \\'output.library\\').\",\"type\":\"string\",\"minLength\":1},\"path\":{\"description\":\"Absolute path to the manifest json file (output).\",\"type\":\"string\",\"minLength\":1},\"type\":{\"description\":\"Type of the dll bundle (external type, use value of \\'output.libraryTarget\\').\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"path\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/DllPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/DllReferencePlugin.json": /*!**********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/DllReferencePlugin.json ***! \**********************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"DllReferencePluginOptionsContent\":{\"description\":\"The mappings from request to module info.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Module info.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"buildMeta\":{\"description\":\"Meta information about the module.\",\"type\":\"object\"},\"exports\":{\"description\":\"Information about the provided exports of the module.\",\"anyOf\":[{\"description\":\"List of provided exports of the module.\",\"type\":\"array\",\"items\":{\"description\":\"Name of the export.\",\"type\":\"string\",\"minLength\":1}},{\"description\":\"Exports unknown/dynamic.\",\"enum\":[true]}]},\"id\":{\"description\":\"Module ID.\",\"anyOf\":[{\"type\":\"number\"},{\"type\":\"string\",\"minLength\":1}]}},\"required\":[\"id\"]},\"minProperties\":1},\"DllReferencePluginOptionsManifest\":{\"description\":\"An object containing content, name and type.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"content\":{\"description\":\"The mappings from request to module info.\",\"oneOf\":[{\"$ref\":\"#/definitions/DllReferencePluginOptionsContent\"}]},\"name\":{\"description\":\"The name where the dll is exposed (external name).\",\"type\":\"string\",\"minLength\":1},\"type\":{\"description\":\"The type how the dll is exposed (external type).\",\"oneOf\":[{\"$ref\":\"#/definitions/DllReferencePluginOptionsSourceType\"}]}},\"required\":[\"content\"]},\"DllReferencePluginOptionsSourceType\":{\"description\":\"The type how the dll is exposed (external type).\",\"enum\":[\"var\",\"assign\",\"this\",\"window\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\"]}},\"title\":\"DllReferencePluginOptions\",\"anyOf\":[{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"context\":{\"description\":\"Context of requests in the manifest (or content property) as absolute path.\",\"type\":\"string\",\"absolutePath\":true},\"extensions\":{\"description\":\"Extensions used to resolve modules in the dll bundle (only used when using \\'scope\\').\",\"type\":\"array\",\"items\":{\"description\":\"An extension.\",\"type\":\"string\"}},\"manifest\":{\"description\":\"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.\",\"anyOf\":[{\"type\":\"string\",\"absolutePath\":true},{\"$ref\":\"#/definitions/DllReferencePluginOptionsManifest\"}]},\"name\":{\"description\":\"The name where the dll is exposed (external name, defaults to manifest.name).\",\"type\":\"string\",\"minLength\":1},\"scope\":{\"description\":\"Prefix which is used for accessing the content of the dll.\",\"type\":\"string\",\"minLength\":1},\"sourceType\":{\"description\":\"How the dll is exposed (libraryTarget, defaults to manifest.type).\",\"oneOf\":[{\"$ref\":\"#/definitions/DllReferencePluginOptionsSourceType\"}]},\"type\":{\"description\":\"The way how the export of the dll bundle is used.\",\"enum\":[\"require\",\"object\"]}},\"required\":[\"manifest\"]},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"content\":{\"description\":\"The mappings from request to module info.\",\"oneOf\":[{\"$ref\":\"#/definitions/DllReferencePluginOptionsContent\"}]},\"context\":{\"description\":\"Context of requests in the manifest (or content property) as absolute path.\",\"type\":\"string\",\"absolutePath\":true},\"extensions\":{\"description\":\"Extensions used to resolve modules in the dll bundle (only used when using \\'scope\\').\",\"type\":\"array\",\"items\":{\"description\":\"An extension.\",\"type\":\"string\"}},\"name\":{\"description\":\"The name where the dll is exposed (external name).\",\"type\":\"string\",\"minLength\":1},\"scope\":{\"description\":\"Prefix which is used for accessing the content of the dll.\",\"type\":\"string\",\"minLength\":1},\"sourceType\":{\"description\":\"How the dll is exposed (libraryTarget).\",\"oneOf\":[{\"$ref\":\"#/definitions/DllReferencePluginOptionsSourceType\"}]},\"type\":{\"description\":\"The way how the export of the dll bundle is used.\",\"enum\":[\"require\",\"object\"]}},\"required\":[\"content\",\"name\"]}]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/DllReferencePlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json": /*!*************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"HashFunction\":{\"description\":\"Algorithm used for generation the hash (see node.js crypto package).\",\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"instanceof\":\"Function\",\"tsType\":\"typeof import(\\'../../lib/util/Hash\\')\"}]}},\"title\":\"HashedModuleIdsPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"context\":{\"description\":\"The context directory for creating names.\",\"type\":\"string\",\"absolutePath\":true},\"hashDigest\":{\"description\":\"The encoding to use when generating the hash, defaults to \\'base64\\'. All encodings from Node.JS\\' hash.digest are supported.\",\"enum\":[\"hex\",\"latin1\",\"base64\"]},\"hashDigestLength\":{\"description\":\"The prefix length of the hash digest to use, defaults to 4.\",\"type\":\"number\",\"minimum\":1},\"hashFunction\":{\"description\":\"The hashing algorithm to use, defaults to \\'md4\\'. All functions from Node.JS\\' crypto.createHash are supported.\",\"oneOf\":[{\"$ref\":\"#/definitions/HashFunction\"}]}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/IgnorePlugin.json": /*!****************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/IgnorePlugin.json ***! \****************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"IgnorePluginOptions\",\"anyOf\":[{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"contextRegExp\":{\"description\":\"A RegExp to test the context (directory) against.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},\"resourceRegExp\":{\"description\":\"A RegExp to test the request against.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"}},\"required\":[\"resourceRegExp\"]},{\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"checkResource\":{\"description\":\"A filter function for resource and context.\",\"instanceof\":\"Function\",\"tsType\":\"((resource: string, context: string) => boolean)\"}},\"required\":[\"checkResource\"]}]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/IgnorePlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json": /*!***************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json ***! \***************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"JsonModulesPluginParserOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"parse\":{\"description\":\"Function that executes for a module source string and should return json-compatible data.\",\"instanceof\":\"Function\",\"tsType\":\"((input: string) => any)\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json": /*!***********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json ***! \***********************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"LoaderOptionsPluginOptions\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"debug\":{\"description\":\"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.\",\"type\":\"boolean\"},\"minimize\":{\"description\":\"Where loaders can be switched to minimize mode.\",\"type\":\"boolean\"},\"options\":{\"description\":\"A configuration object that can be used to configure older loaders.\",\"type\":\"object\",\"additionalProperties\":true,\"properties\":{\"context\":{\"description\":\"The context that can be used to configure older loaders.\",\"type\":\"string\",\"absolutePath\":true}}}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ProgressPlugin.json": /*!******************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ProgressPlugin.json ***! \******************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"HandlerFunction\":{\"description\":\"Function that executes for every progress step.\",\"instanceof\":\"Function\",\"tsType\":\"((percentage: number, msg: string, ...args: string[]) => void)\"},\"ProgressPluginOptions\":{\"description\":\"Options object for the ProgressPlugin.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"activeModules\":{\"description\":\"Show active modules count and one active module in progress message.\",\"type\":\"boolean\"},\"dependencies\":{\"description\":\"Show dependencies count in progress message.\",\"type\":\"boolean\"},\"dependenciesCount\":{\"description\":\"Minimum dependencies count to start with. For better progress calculation. Default: 10000.\",\"type\":\"number\"},\"entries\":{\"description\":\"Show entries count in progress message.\",\"type\":\"boolean\"},\"handler\":{\"description\":\"Function that executes for every progress step.\",\"oneOf\":[{\"$ref\":\"#/definitions/HandlerFunction\"}]},\"modules\":{\"description\":\"Show modules count in progress message.\",\"type\":\"boolean\"},\"modulesCount\":{\"description\":\"Minimum modules count to start with. For better progress calculation. Default: 5000.\",\"type\":\"number\"},\"percentBy\":{\"description\":\"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.\",\"enum\":[\"entries\",\"modules\",\"dependencies\",null]},\"profile\":{\"description\":\"Collect profile data for progress steps. Default: false.\",\"enum\":[true,false,null]}}}},\"title\":\"ProgressPluginArgument\",\"anyOf\":[{\"$ref\":\"#/definitions/ProgressPluginOptions\"},{\"$ref\":\"#/definitions/HandlerFunction\"}]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ProgressPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json": /*!**************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json ***! \**************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"rule\":{\"description\":\"Include source maps for modules based on their extension (defaults to .js and .css).\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\",\"minLength\":1}]},\"rules\":{\"description\":\"Include source maps for modules based on their extension (defaults to .js and .css).\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A rule condition.\",\"oneOf\":[{\"$ref\":\"#/definitions/rule\"}]}},{\"$ref\":\"#/definitions/rule\"}]}},\"title\":\"SourceMapDevToolPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"append\":{\"description\":\"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.\",\"anyOf\":[{\"description\":\"Append no SourceMap comment to the bundle, but still generate SourceMaps.\",\"enum\":[false,null]},{\"type\":\"string\",\"minLength\":1}]},\"columns\":{\"description\":\"Indicates whether column mappings should be used (defaults to true).\",\"type\":\"boolean\"},\"exclude\":{\"description\":\"Exclude modules that match the given value from source map generation.\",\"oneOf\":[{\"$ref\":\"#/definitions/rules\"}]},\"fallbackModuleFilenameTemplate\":{\"description\":\"Generator string or function to create identifiers of modules for the \\'sources\\' array in the SourceMap used only if \\'moduleFilenameTemplate\\' would result in a conflict.\",\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"description\":\"Custom function generating the identifier.\",\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"fileContext\":{\"description\":\"Path prefix to which the [file] placeholder is relative to.\",\"type\":\"string\"},\"filename\":{\"description\":\"Defines the output filename of the SourceMap (will be inlined if no value is provided).\",\"anyOf\":[{\"description\":\"Disable separate SourceMap file and inline SourceMap as DataUrl.\",\"enum\":[false,null]},{\"type\":\"string\",\"absolutePath\":false,\"minLength\":1}]},\"include\":{\"description\":\"Include source maps for module paths that match the given value.\",\"oneOf\":[{\"$ref\":\"#/definitions/rules\"}]},\"module\":{\"description\":\"Indicates whether SourceMaps from loaders should be used (defaults to true).\",\"type\":\"boolean\"},\"moduleFilenameTemplate\":{\"description\":\"Generator string or function to create identifiers of modules for the \\'sources\\' array in the SourceMap.\",\"anyOf\":[{\"type\":\"string\",\"minLength\":1},{\"description\":\"Custom function generating the identifier.\",\"instanceof\":\"Function\",\"tsType\":\"Function\"}]},\"namespace\":{\"description\":\"Namespace prefix to allow multiple webpack roots in the devtools.\",\"type\":\"string\"},\"noSources\":{\"description\":\"Omit the \\'sourceContents\\' array from the SourceMap.\",\"type\":\"boolean\"},\"publicPath\":{\"description\":\"Provide a custom public path for the SourceMapping comment.\",\"type\":\"string\"},\"sourceRoot\":{\"description\":\"Provide a custom value for the \\'sourceRoot\\' property in the SourceMap.\",\"type\":\"string\"},\"test\":{\"$ref\":\"#/definitions/rules\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json": /*!*********************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json ***! \*********************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"WatchIgnorePluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"paths\":{\"description\":\"A list of RegExps or absolute paths to directories or files that should be ignored.\",\"type\":\"array\",\"items\":{\"description\":\"RegExp or absolute path to directories or files that should be ignored.\",\"anyOf\":[{\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"type\":\"string\"}]},\"minItems\":1}},\"required\":[\"paths\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ContainerPlugin.json": /*!*****************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ContainerPlugin.json ***! \*****************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"AuxiliaryComment\":{\"description\":\"Add a comment in the UMD wrapper.\",\"anyOf\":[{\"description\":\"Append the same comment above each import style.\",\"type\":\"string\"},{\"$ref\":\"#/definitions/LibraryCustomUmdCommentObject\"}]},\"EntryRuntime\":{\"description\":\"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"minLength\":1}]},\"Exposes\":{\"description\":\"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Modules that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesObject\"}]}},{\"$ref\":\"#/definitions/ExposesObject\"}]},\"ExposesConfig\":{\"description\":\"Advanced configuration for modules that should be exposed by this container.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"import\":{\"description\":\"Request to a module that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesItems\"}]},\"name\":{\"description\":\"Custom chunk name for the exposed module.\",\"type\":\"string\"}},\"required\":[\"import\"]},\"ExposesItem\":{\"description\":\"Module that should be exposed by this container.\",\"type\":\"string\",\"minLength\":1},\"ExposesItems\":{\"description\":\"Modules that should be exposed by this container.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/ExposesItem\"}},\"ExposesObject\":{\"description\":\"Modules that should be exposed by this container. Property names are used as public paths.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Modules that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesConfig\"},{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesItems\"}]}},\"LibraryCustomUmdCommentObject\":{\"description\":\"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Set comment for `amd` section in UMD.\",\"type\":\"string\"},\"commonjs\":{\"description\":\"Set comment for `commonjs` (exports) section in UMD.\",\"type\":\"string\"},\"commonjs2\":{\"description\":\"Set comment for `commonjs2` (module.exports) section in UMD.\",\"type\":\"string\"},\"root\":{\"description\":\"Set comment for `root` (global variable) section in UMD.\",\"type\":\"string\"}}},\"LibraryCustomUmdObject\":{\"description\":\"Description object for all UMD variants of the library name.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Name of the exposed AMD library in the UMD.\",\"type\":\"string\",\"minLength\":1},\"commonjs\":{\"description\":\"Name of the exposed commonjs export in the UMD.\",\"type\":\"string\",\"minLength\":1},\"root\":{\"description\":\"Name of the property exposed globally by a UMD library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the name of the property exposed globally by a UMD library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]}}},\"LibraryExport\":{\"description\":\"Specify which export should be exposed as library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the export that should be exposed as library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]},\"LibraryName\":{\"description\":\"The name of the library (some types allow unnamed libraries too).\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A part of the library name.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1},{\"type\":\"string\",\"minLength\":1},{\"$ref\":\"#/definitions/LibraryCustomUmdObject\"}]},\"LibraryOptions\":{\"description\":\"Options for library.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"auxiliaryComment\":{\"$ref\":\"#/definitions/AuxiliaryComment\"},\"export\":{\"$ref\":\"#/definitions/LibraryExport\"},\"name\":{\"$ref\":\"#/definitions/LibraryName\"},\"type\":{\"$ref\":\"#/definitions/LibraryType\"},\"umdNamedDefine\":{\"$ref\":\"#/definitions/UmdNamedDefine\"}},\"required\":[\"type\"]},\"LibraryType\":{\"description\":\"Type of library (types included by default are \\'var\\', \\'module\\', \\'assign\\', \\'assign-properties\\', \\'this\\', \\'window\\', \\'self\\', \\'global\\', \\'commonjs\\', \\'commonjs2\\', \\'commonjs-module\\', \\'commonjs-static\\', \\'amd\\', \\'amd-require\\', \\'umd\\', \\'umd2\\', \\'jsonp\\', \\'system\\', but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"var\",\"module\",\"assign\",\"assign-properties\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\"]},{\"type\":\"string\"}]},\"UmdNamedDefine\":{\"description\":\"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\",\"type\":\"boolean\"}},\"title\":\"ContainerPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"exposes\":{\"$ref\":\"#/definitions/Exposes\"},\"filename\":{\"description\":\"The filename for this container relative path inside the `output.path` directory.\",\"type\":\"string\",\"absolutePath\":false,\"minLength\":1},\"library\":{\"$ref\":\"#/definitions/LibraryOptions\"},\"name\":{\"description\":\"The name for this container.\",\"type\":\"string\",\"minLength\":1},\"runtime\":{\"$ref\":\"#/definitions/EntryRuntime\"},\"shareScope\":{\"description\":\"The name of the share scope which is shared with the host (defaults to \\'default\\').\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\",\"exposes\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ContainerPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json ***! \**************************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"ExternalsType\":{\"description\":\"Specifies the default type of externals (\\'amd*\\', \\'umd*\\', \\'system\\' and \\'jsonp\\' depend on output.libraryTarget set to the same value).\",\"enum\":[\"var\",\"module\",\"assign\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\",\"promise\",\"import\",\"script\",\"node-commonjs\"]},\"Remotes\":{\"description\":\"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Container locations and request scopes from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesObject\"}]}},{\"$ref\":\"#/definitions/RemotesObject\"}]},\"RemotesConfig\":{\"description\":\"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"external\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesItems\"}]},\"shareScope\":{\"description\":\"The name of the share scope shared with this remote.\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"external\"]},\"RemotesItem\":{\"description\":\"Container location from which modules should be resolved and loaded at runtime.\",\"type\":\"string\",\"minLength\":1},\"RemotesItems\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/RemotesItem\"}},\"RemotesObject\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesConfig\"},{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesItems\"}]}}},\"title\":\"ContainerReferencePluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"remoteType\":{\"description\":\"The external type of the remote containers.\",\"oneOf\":[{\"$ref\":\"#/definitions/ExternalsType\"}]},\"remotes\":{\"$ref\":\"#/definitions/Remotes\"},\"shareScope\":{\"description\":\"The name of the share scope shared with all remotes (defaults to \\'default\\').\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"remoteType\",\"remotes\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json": /*!************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json ***! \************************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"AuxiliaryComment\":{\"description\":\"Add a comment in the UMD wrapper.\",\"anyOf\":[{\"description\":\"Append the same comment above each import style.\",\"type\":\"string\"},{\"$ref\":\"#/definitions/LibraryCustomUmdCommentObject\"}]},\"EntryRuntime\":{\"description\":\"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"minLength\":1}]},\"Exposes\":{\"description\":\"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Modules that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesObject\"}]}},{\"$ref\":\"#/definitions/ExposesObject\"}]},\"ExposesConfig\":{\"description\":\"Advanced configuration for modules that should be exposed by this container.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"import\":{\"description\":\"Request to a module that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesItems\"}]},\"name\":{\"description\":\"Custom chunk name for the exposed module.\",\"type\":\"string\"}},\"required\":[\"import\"]},\"ExposesItem\":{\"description\":\"Module that should be exposed by this container.\",\"type\":\"string\",\"minLength\":1},\"ExposesItems\":{\"description\":\"Modules that should be exposed by this container.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/ExposesItem\"}},\"ExposesObject\":{\"description\":\"Modules that should be exposed by this container. Property names are used as public paths.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Modules that should be exposed by this container.\",\"anyOf\":[{\"$ref\":\"#/definitions/ExposesConfig\"},{\"$ref\":\"#/definitions/ExposesItem\"},{\"$ref\":\"#/definitions/ExposesItems\"}]}},\"ExternalsType\":{\"description\":\"Specifies the default type of externals (\\'amd*\\', \\'umd*\\', \\'system\\' and \\'jsonp\\' depend on output.libraryTarget set to the same value).\",\"enum\":[\"var\",\"module\",\"assign\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\",\"promise\",\"import\",\"script\",\"node-commonjs\"]},\"LibraryCustomUmdCommentObject\":{\"description\":\"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Set comment for `amd` section in UMD.\",\"type\":\"string\"},\"commonjs\":{\"description\":\"Set comment for `commonjs` (exports) section in UMD.\",\"type\":\"string\"},\"commonjs2\":{\"description\":\"Set comment for `commonjs2` (module.exports) section in UMD.\",\"type\":\"string\"},\"root\":{\"description\":\"Set comment for `root` (global variable) section in UMD.\",\"type\":\"string\"}}},\"LibraryCustomUmdObject\":{\"description\":\"Description object for all UMD variants of the library name.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"amd\":{\"description\":\"Name of the exposed AMD library in the UMD.\",\"type\":\"string\",\"minLength\":1},\"commonjs\":{\"description\":\"Name of the exposed commonjs export in the UMD.\",\"type\":\"string\",\"minLength\":1},\"root\":{\"description\":\"Name of the property exposed globally by a UMD library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the name of the property exposed globally by a UMD library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]}}},\"LibraryExport\":{\"description\":\"Specify which export should be exposed as library.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Part of the export that should be exposed as library.\",\"type\":\"string\",\"minLength\":1}},{\"type\":\"string\",\"minLength\":1}]},\"LibraryName\":{\"description\":\"The name of the library (some types allow unnamed libraries too).\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"A part of the library name.\",\"type\":\"string\",\"minLength\":1},\"minItems\":1},{\"type\":\"string\",\"minLength\":1},{\"$ref\":\"#/definitions/LibraryCustomUmdObject\"}]},\"LibraryOptions\":{\"description\":\"Options for library.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"auxiliaryComment\":{\"$ref\":\"#/definitions/AuxiliaryComment\"},\"export\":{\"$ref\":\"#/definitions/LibraryExport\"},\"name\":{\"$ref\":\"#/definitions/LibraryName\"},\"type\":{\"$ref\":\"#/definitions/LibraryType\"},\"umdNamedDefine\":{\"$ref\":\"#/definitions/UmdNamedDefine\"}},\"required\":[\"type\"]},\"LibraryType\":{\"description\":\"Type of library (types included by default are \\'var\\', \\'module\\', \\'assign\\', \\'assign-properties\\', \\'this\\', \\'window\\', \\'self\\', \\'global\\', \\'commonjs\\', \\'commonjs2\\', \\'commonjs-module\\', \\'commonjs-static\\', \\'amd\\', \\'amd-require\\', \\'umd\\', \\'umd2\\', \\'jsonp\\', \\'system\\', but others might be added by plugins).\",\"anyOf\":[{\"enum\":[\"var\",\"module\",\"assign\",\"assign-properties\",\"this\",\"window\",\"self\",\"global\",\"commonjs\",\"commonjs2\",\"commonjs-module\",\"commonjs-static\",\"amd\",\"amd-require\",\"umd\",\"umd2\",\"jsonp\",\"system\"]},{\"type\":\"string\"}]},\"Remotes\":{\"description\":\"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Container locations and request scopes from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesObject\"}]}},{\"$ref\":\"#/definitions/RemotesObject\"}]},\"RemotesConfig\":{\"description\":\"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"external\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesItems\"}]},\"shareScope\":{\"description\":\"The name of the share scope shared with this remote.\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"external\"]},\"RemotesItem\":{\"description\":\"Container location from which modules should be resolved and loaded at runtime.\",\"type\":\"string\",\"minLength\":1},\"RemotesItems\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/RemotesItem\"}},\"RemotesObject\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Container locations from which modules should be resolved and loaded at runtime.\",\"anyOf\":[{\"$ref\":\"#/definitions/RemotesConfig\"},{\"$ref\":\"#/definitions/RemotesItem\"},{\"$ref\":\"#/definitions/RemotesItems\"}]}},\"Shared\":{\"description\":\"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Modules that should be shared in the share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/SharedItem\"},{\"$ref\":\"#/definitions/SharedObject\"}]}},{\"$ref\":\"#/definitions/SharedObject\"}]},\"SharedConfig\":{\"description\":\"Advanced configuration for modules that should be shared in the share scope.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"eager\":{\"description\":\"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.\",\"type\":\"boolean\"},\"import\":{\"description\":\"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\\'t valid. Defaults to the property name.\",\"anyOf\":[{\"description\":\"No provided or fallback module.\",\"enum\":[false]},{\"$ref\":\"#/definitions/SharedItem\"}]},\"packageName\":{\"description\":\"Package name to determine required version from description file. This is only needed when package name can\\'t be automatically determined from request.\",\"type\":\"string\",\"minLength\":1},\"requiredVersion\":{\"description\":\"Version requirement from module in share scope.\",\"anyOf\":[{\"description\":\"No version requirement check.\",\"enum\":[false]},{\"description\":\"Version as string. Can be prefixed with \\'^\\' or \\'~\\' for minimum matches. Each part of the version should be separated by a dot \\'.\\'.\",\"type\":\"string\"}]},\"shareKey\":{\"description\":\"Module is looked up under this key from the share scope.\",\"type\":\"string\",\"minLength\":1},\"shareScope\":{\"description\":\"Share scope name.\",\"type\":\"string\",\"minLength\":1},\"singleton\":{\"description\":\"Allow only a single version of the shared module in share scope (disabled by default).\",\"type\":\"boolean\"},\"strictVersion\":{\"description\":\"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).\",\"type\":\"boolean\"},\"version\":{\"description\":\"Version of the provided module. Will replace lower matching versions, but not higher.\",\"anyOf\":[{\"description\":\"Don\\'t provide a version.\",\"enum\":[false]},{\"description\":\"Version as string. Each part of the version should be separated by a dot \\'.\\'.\",\"type\":\"string\"}]}}},\"SharedItem\":{\"description\":\"A module that should be shared in the share scope.\",\"type\":\"string\",\"minLength\":1},\"SharedObject\":{\"description\":\"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Modules that should be shared in the share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/SharedConfig\"},{\"$ref\":\"#/definitions/SharedItem\"}]}},\"UmdNamedDefine\":{\"description\":\"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\",\"type\":\"boolean\"}},\"title\":\"ModuleFederationPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"exposes\":{\"$ref\":\"#/definitions/Exposes\"},\"filename\":{\"description\":\"The filename of the container as relative path inside the `output.path` directory.\",\"type\":\"string\",\"absolutePath\":false},\"library\":{\"$ref\":\"#/definitions/LibraryOptions\"},\"name\":{\"description\":\"The name of the container.\",\"type\":\"string\"},\"remoteType\":{\"description\":\"The external type of the remote containers.\",\"oneOf\":[{\"$ref\":\"#/definitions/ExternalsType\"}]},\"remotes\":{\"$ref\":\"#/definitions/Remotes\"},\"runtime\":{\"$ref\":\"#/definitions/EntryRuntime\"},\"shareScope\":{\"description\":\"Share scope name used for all shared modules (defaults to \\'default\\').\",\"type\":\"string\",\"minLength\":1},\"shared\":{\"$ref\":\"#/definitions/Shared\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json": /*!*************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"ProfilingPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"outputPath\":{\"description\":\"Path to the output file e.g. `path.resolve(__dirname, \\'profiling/events.json\\')`. Defaults to `events.json`.\",\"type\":\"string\",\"absolutePath\":true}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json": /*!********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json ***! \********************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"OccurrenceChunkIdsPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"prioritiseInitial\":{\"description\":\"Prioritise initial size over total size.\",\"type\":\"boolean\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json": /*!*********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json ***! \*********************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"OccurrenceModuleIdsPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"prioritiseInitial\":{\"description\":\"Prioritise initial size over total size.\",\"type\":\"boolean\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json": /*!**************************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json ***! \**************************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"AggressiveSplittingPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"chunkOverhead\":{\"description\":\"Extra cost for each chunk (Default: 9.8kiB).\",\"type\":\"number\"},\"entryChunkMultiplicator\":{\"description\":\"Extra cost multiplicator for entry chunks (Default: 10).\",\"type\":\"number\"},\"maxSize\":{\"description\":\"Byte, max size of per file (Default: 50kiB).\",\"type\":\"number\"},\"minSize\":{\"description\":\"Byte, split point. (Default: 30kiB).\",\"type\":\"number\"}}}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json": /*!**********************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json ***! \**********************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"LimitChunkCountPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"chunkOverhead\":{\"description\":\"Constant overhead for a chunk.\",\"type\":\"number\"},\"entryChunkMultiplicator\":{\"description\":\"Multiplicator for initial chunks.\",\"type\":\"number\"},\"maxChunks\":{\"description\":\"Limit the maximum number of chunks using a value greater greater than or equal to 1.\",\"type\":\"number\",\"minimum\":1}},\"required\":[\"maxChunks\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"title\":\"MinChunkSizePluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"chunkOverhead\":{\"description\":\"Constant overhead for a chunk.\",\"type\":\"number\"},\"entryChunkMultiplicator\":{\"description\":\"Multiplicator for initial chunks.\",\"type\":\"number\"},\"minChunkSize\":{\"description\":\"Minimum number of characters.\",\"type\":\"number\"}},\"required\":[\"minChunkSize\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json": /*!*************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json ***! \*************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"HttpUriOptions\":{\"description\":\"Options for building http resources.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"allowedUris\":{\"$ref\":\"#/definitions/HttpUriOptionsAllowedUris\"},\"cacheLocation\":{\"description\":\"Location where resource content is stored for lockfile entries. It\\'s also possible to disable storing by passing false.\",\"anyOf\":[{\"enum\":[false]},{\"type\":\"string\",\"absolutePath\":true}]},\"frozen\":{\"description\":\"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.\",\"type\":\"boolean\"},\"lockfileLocation\":{\"description\":\"Location of the lockfile.\",\"type\":\"string\",\"absolutePath\":true},\"proxy\":{\"description\":\"Proxy configuration, which can be used to specify a proxy server to use for HTTP requests.\",\"type\":\"string\"},\"upgrade\":{\"description\":\"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.\",\"type\":\"boolean\"}},\"required\":[\"allowedUris\"]},\"HttpUriOptionsAllowedUris\":{\"description\":\"List of allowed URIs (resp. the beginning of them).\",\"type\":\"array\",\"items\":{\"description\":\"List of allowed URIs (resp. the beginning of them).\",\"anyOf\":[{\"description\":\"Allowed URI pattern.\",\"instanceof\":\"RegExp\",\"tsType\":\"RegExp\"},{\"description\":\"Allowed URI (resp. the beginning of it).\",\"type\":\"string\",\"pattern\":\"^https?://\"},{\"description\":\"Allowed URI filter function.\",\"instanceof\":\"Function\",\"tsType\":\"((uri: string) => boolean)\"}]}}},\"title\":\"HttpUriPluginOptions\",\"oneOf\":[{\"$ref\":\"#/definitions/HttpUriOptions\"}]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"Consumes\":{\"description\":\"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Modules that should be consumed from share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/ConsumesItem\"},{\"$ref\":\"#/definitions/ConsumesObject\"}]}},{\"$ref\":\"#/definitions/ConsumesObject\"}]},\"ConsumesConfig\":{\"description\":\"Advanced configuration for modules that should be consumed from share scope.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"eager\":{\"description\":\"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.\",\"type\":\"boolean\"},\"import\":{\"description\":\"Fallback module if no shared module is found in share scope. Defaults to the property name.\",\"anyOf\":[{\"description\":\"No fallback module.\",\"enum\":[false]},{\"$ref\":\"#/definitions/ConsumesItem\"}]},\"packageName\":{\"description\":\"Package name to determine required version from description file. This is only needed when package name can\\'t be automatically determined from request.\",\"type\":\"string\",\"minLength\":1},\"requiredVersion\":{\"description\":\"Version requirement from module in share scope.\",\"anyOf\":[{\"description\":\"No version requirement check.\",\"enum\":[false]},{\"description\":\"Version as string. Can be prefixed with \\'^\\' or \\'~\\' for minimum matches. Each part of the version should be separated by a dot \\'.\\'.\",\"type\":\"string\"}]},\"shareKey\":{\"description\":\"Module is looked up under this key from the share scope.\",\"type\":\"string\",\"minLength\":1},\"shareScope\":{\"description\":\"Share scope name.\",\"type\":\"string\",\"minLength\":1},\"singleton\":{\"description\":\"Allow only a single version of the shared module in share scope (disabled by default).\",\"type\":\"boolean\"},\"strictVersion\":{\"description\":\"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).\",\"type\":\"boolean\"}}},\"ConsumesItem\":{\"description\":\"A module that should be consumed from share scope.\",\"type\":\"string\",\"minLength\":1},\"ConsumesObject\":{\"description\":\"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Modules that should be consumed from share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/ConsumesConfig\"},{\"$ref\":\"#/definitions/ConsumesItem\"}]}}},\"title\":\"ConsumeSharedPluginOptions\",\"description\":\"Options for consuming shared modules.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"consumes\":{\"$ref\":\"#/definitions/Consumes\"},\"shareScope\":{\"description\":\"Share scope name used for all consumed modules (defaults to \\'default\\').\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"consumes\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json?"); /***/ }), /***/ "./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json": /*!*******************************************************************************!*\ !*** ./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json ***! \*******************************************************************************/ /***/ ((module) => { "use strict"; eval("module.exports = JSON.parse('{\"definitions\":{\"Provides\":{\"description\":\"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.\",\"anyOf\":[{\"type\":\"array\",\"items\":{\"description\":\"Modules that should be provided as shared modules to the share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/ProvidesItem\"},{\"$ref\":\"#/definitions/ProvidesObject\"}]}},{\"$ref\":\"#/definitions/ProvidesObject\"}]},\"ProvidesConfig\":{\"description\":\"Advanced configuration for modules that should be provided as shared modules to the share scope.\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"eager\":{\"description\":\"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.\",\"type\":\"boolean\"},\"shareKey\":{\"description\":\"Key in the share scope under which the shared modules should be stored.\",\"type\":\"string\",\"minLength\":1},\"shareScope\":{\"description\":\"Share scope name.\",\"type\":\"string\",\"minLength\":1},\"version\":{\"description\":\"Version of the provided module. Will replace lower matching versions, but not higher.\",\"anyOf\":[{\"description\":\"Don\\'t provide a version.\",\"enum\":[false]},{\"description\":\"Version as string. Each part of the version should be separated by a dot \\'.\\'.\",\"type\":\"string\"}]}}},\"ProvidesItem\":{\"description\":\"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).\",\"type\":\"string\",\"minLength\":1},\"ProvidesObject\":{\"description\":\"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.\",\"type\":\"object\",\"additionalProperties\":{\"description\":\"Modules that should be provided as shared modules to the share scope.\",\"anyOf\":[{\"$ref\":\"#/definitions/ProvidesConfig\"},{\"$ref\":\"#/definitions/ProvidesItem\"}]}}},\"title\":\"ProvideSharedPluginOptions\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"provides\":{\"$ref\":\"#/definitions/Provides\"},\"shareScope\":{\"description\":\"Share scope name used for all provided modules (defaults to \\'default\\').\",\"type\":\"string\",\"minLength\":1}},\"required\":[\"provides\"]}');\n\n//# sourceURL=webpack://JSONDigger/./node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json?"); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ id: moduleId, /******/ loaded: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ // expose the module cache /******/ __webpack_require__.c = __webpack_module_cache__; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/global */ /******/ (() => { /******/ __webpack_require__.g = (function() { /******/ if (typeof globalThis === 'object') return globalThis; /******/ try { /******/ return this || new Function('return this')(); /******/ } catch (e) { /******/ if (typeof window === 'object') return window; /******/ } /******/ })(); /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/node module decorator */ /******/ (() => { /******/ __webpack_require__.nmd = (module) => { /******/ module.paths = []; /******/ if (!module.children) module.children = []; /******/ return module; /******/ }; /******/ })(); /******/ /************************************************************************/ /******/ /******/ // module cache are used so entry inlining is disabled /******/ // startup /******/ // Load entry module and return exports /******/ var __webpack_exports__ = __webpack_require__("./src/index.js"); /******/ /******/ return __webpack_exports__; /******/ })() ; });