@nsshunt/stsoauth2plugin 1.0.166 → 1.0.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["ANSI_BACKGROUND_OFFSET","wrapAnsi16","wrapAnsi256","wrapAnsi16m","styles","foregroundColorNames","backgroundColorNames","assembleStyles","ansiStyles","level","colorSupport","supportsColor","stringReplaceAll","stringEncaseCRLFWithFirstIndex","stdoutColor","stderrColor","supportsColor","GENERATOR","STYLER","IS_EMPTY","levelMapping","styles","applyOptions","chalkFactory","createChalk","ansiStyles","createBuilder","createStyler","getModelAnsi","proto","applyStyle","stringReplaceAll","stringEncaseCRLFWithFirstIndex","chalk","Gauge","#options","#label","#data","#options","#aic","#router","#transactionStore","#worker","#LogInfoMessage","#oauth2ManagerPort","#ProcessMessageResponse","#SetupRoute","#LogDebugMessage","#HandleAuthenticateEvent","#HandleErrorEvent","#HandleLogEvent","#HandleUpdateInstrumentEvent","#messageHandlers","#messageId","#messageTimeout","#GetStore","#PostMessage","#operationSemaphore","#maxSemaphoreRetries","#semaphoreRetrySleep","#LogErrorMessage","#STORAGE_AUTHORIZE_OPTIONS_KEY","#crypto","#options","#logger","#LogDebugMessage","#clientSessionStore","#oauthWorkerPort","#agentManager","#UpdateInstrument","#ProcessCommand","#STORAGE_SESSION_KEY","#RestoreSession","#Authorize","#HandleRedirect","#Logout","#GetAccessToken","#RefreshToken","#GetCookies","#LogInfoMessage","#LogMessage","#LogErrorMessage","#HandleAuthenticateEvent","#cUtils","#qParams","#GetToken","#HandleErrorEvent","#GetTokenFromBroker"],"sources":["../src/stsPluginKeys.ts","../node_modules/chalk/source/vendor/ansi-styles/index.js","../node_modules/chalk/source/vendor/supports-color/browser.js","../node_modules/chalk/source/utilities.js","../node_modules/chalk/source/index.js","../src/stsoauth2types.ts","../node_modules/jwt-decode/build/esm/index.js","../src/stores/stsoauth2store.ts","../node_modules/tiny-emitter/index.js","../node_modules/lodash.clonedeep/index.js","../node_modules/@nsshunt/stsinstrumentmanagerclient/dist/index.mjs","../src/stsoauth2manager.ts","../node_modules/crypto-js/core.js","../node_modules/crypto-js/sha256.js","../node_modules/crypto-js/enc-base64.js","../src/Utils/CryptoUtils.ts","../src/Utils/QueryParams.ts","../node_modules/http-status-codes/build/es/status-codes.js","../src/stsoauth2worker.ts","../src/stores/testStore.ts","../src/index.ts"],"sourcesContent":["// Individual STS plugin keys for provide/inject logic\nexport const STSOAuth2ManagerPluginKey = Symbol()\n","const ANSI_BACKGROUND_OFFSET = 10;\n\nconst wrapAnsi16 = (offset = 0) => code => `\\u001B[${code + offset}m`;\n\nconst wrapAnsi256 = (offset = 0) => code => `\\u001B[${38 + offset};5;${code}m`;\n\nconst wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\n\nconst styles = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\t// 21 isn't widely supported and 22 does the same thing\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29],\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\n\t\t// Bright color\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39], // Alias of `blackBright`\n\t\tgrey: [90, 39], // Alias of `blackBright`\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39],\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\n\t\t// Bright color\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49], // Alias of `bgBlackBright`\n\t\tbgGrey: [100, 49], // Alias of `bgBlackBright`\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49],\n\t},\n};\n\nexport const modifierNames = Object.keys(styles.modifier);\nexport const foregroundColorNames = Object.keys(styles.color);\nexport const backgroundColorNames = Object.keys(styles.bgColor);\nexport const colorNames = [...foregroundColorNames, ...backgroundColorNames];\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`,\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false,\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false,\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = wrapAnsi16();\n\tstyles.color.ansi256 = wrapAnsi256();\n\tstyles.color.ansi16m = wrapAnsi16m();\n\tstyles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\n\t// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js\n\tObject.defineProperties(styles, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\t// We use the extended greyscale palette here, with the exception of\n\t\t\t\t// black and white. normal palette only has 4 greyscale shades.\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) {\n\t\t\t\t\t\treturn 16;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (red > 248) {\n\t\t\t\t\t\treturn 231;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn Math.round(((red - 8) / 247) * 24) + 232;\n\t\t\t\t}\n\n\t\t\t\treturn 16\n\t\t\t\t\t+ (36 * Math.round(red / 255 * 5))\n\t\t\t\t\t+ (6 * Math.round(green / 255 * 5))\n\t\t\t\t\t+ Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) {\n\t\t\t\t\treturn [0, 0, 0];\n\t\t\t\t}\n\n\t\t\t\tlet [colorString] = matches;\n\n\t\t\t\tif (colorString.length === 3) {\n\t\t\t\t\tcolorString = [...colorString].map(character => character + character).join('');\n\t\t\t\t}\n\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\n\t\t\t\treturn [\n\t\t\t\t\t/* eslint-disable no-bitwise */\n\t\t\t\t\t(integer >> 16) & 0xFF,\n\t\t\t\t\t(integer >> 8) & 0xFF,\n\t\t\t\t\tinteger & 0xFF,\n\t\t\t\t\t/* eslint-enable no-bitwise */\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) {\n\t\t\t\t\treturn 30 + code;\n\t\t\t\t}\n\n\t\t\t\tif (code < 16) {\n\t\t\t\t\treturn 90 + (code - 8);\n\t\t\t\t}\n\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = (((code - 232) * 10) + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\n\t\t\t\t\tconst remainder = code % 36;\n\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = (remainder % 6) / 5;\n\t\t\t\t}\n\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\n\t\t\t\tif (value === 0) {\n\t\t\t\t\treturn 30;\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tlet result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));\n\n\t\t\t\tif (value === 2) {\n\t\t\t\t\tresult += 60;\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t});\n\n\treturn styles;\n}\n\nconst ansiStyles = assembleStyles();\n\nexport default ansiStyles;\n","/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n","// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.\nexport function stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n\nexport function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n","import ansiStyles from '#ansi-styles';\nimport supportsColor from '#supports-color';\nimport { // eslint-disable-line import/order\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex,\n} from './utilities.js';\n\nconst {stdout: stdoutColor, stderr: stderrColor} = supportsColor;\n\nconst GENERATOR = Symbol('GENERATOR');\nconst STYLER = Symbol('STYLER');\nconst IS_EMPTY = Symbol('IS_EMPTY');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m',\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nexport class Chalk {\n\tconstructor(options) {\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = (...strings) => strings.join(' ');\n\tapplyOptions(chalk, options);\n\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\n\treturn chalk;\n};\n\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\n\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t},\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this[STYLER], true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t},\n};\n\nconst getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === 'rgb') {\n\t\tif (level === 'ansi16m') {\n\t\t\treturn ansiStyles[type].ansi16m(...arguments_);\n\t\t}\n\n\t\tif (level === 'ansi256') {\n\t\t\treturn ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\t}\n\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\n\tif (model === 'hex') {\n\t\treturn getModelAnsi('rgb', level, type, ...ansiStyles.hexToRgb(...arguments_));\n\t}\n\n\treturn ansiStyles[type][model](...arguments_);\n};\n\nconst usedModels = ['rgb', 'hex', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t},\n\t},\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent,\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\t// Single argument is hot path, implicit coercion is faster than anything\n\t// eslint-disable-next-line no-implicit-coercion\n\tconst builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\n\t// We alter the prototype because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tObject.setPrototypeOf(builder, proto);\n\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self[IS_EMPTY] ? '' : string;\n\t}\n\n\tlet styler = self[STYLER];\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.includes('\\u001B')) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nObject.defineProperties(createChalk.prototype, styles);\n\nconst chalk = createChalk();\nexport const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});\n\nexport {\n\tmodifierNames,\n\tforegroundColorNames,\n\tbackgroundColorNames,\n\tcolorNames,\n\n\t// TODO: Remove these aliases in the next major version\n\tmodifierNames as modifiers,\n\tforegroundColorNames as foregroundColors,\n\tbackgroundColorNames as backgroundColors,\n\tcolorNames as colors,\n} from './vendor/ansi-styles/index.js';\n\nexport {\n\tstdoutColor as supportsColor,\n\tstderrColor as supportsColorStderr,\n};\n\nexport default chalk;\n","import { ISTSLogger } from '@nsshunt/stsutils'\nimport * as wt from 'node:worker_threads'\n\nexport enum AuthorizeOptionsResponseType {\n\tCODE = 'code',\n\tID_TOKEN = 'id_token',\n\tTOKEN = 'token'\n}\n\nexport enum AuthorizeOptionsResponseMode {\n\tQUERY = 'query',\n\tFRAGMENT = 'fragment',\n\tFORM_POST = 'form_post'\n}\n\n// https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow\nexport interface IAuthorizeOptions {\n\tclient_id: string,\n\tnonce: string,\n\tresponse_type: AuthorizeOptionsResponseType[], // Must include: 'code' and may include: 'id_token' and/or 'token'\n\tredirect_uri: string,\n\tresponse_mode: AuthorizeOptionsResponseMode\n\tscope: string, // A space-separated list of scopes that you want the user to consent to. For the /authorize leg of the request, this parameter can cover multiple resources. This value allows your app to get consent for multiple web APIs you want to call.\n\tstate: string, // Client application state (if required)\n\tcode_challenge: string,\n\tcode_challenge_method: string, //@@ enum S256\n\tcode_verifier?: string\n}\n\nexport interface IAuthorizeResponse {\n\tstate: string, // state passed to authorize end-point\n\tcode: string // authorization code\n}\n\nexport interface IAuthorizeErrorResponse {\n\terror: string, \n\terror_description: string \n}\n\nexport enum OAuthGrantTypes {\n\tCLIENT_CREDENTIALS = 'client_credentials',\n\tAUTHORIZATION_CODE = 'authorization_code',\n\tREFRESH_TOKEN = 'refresh_token'\n}\n\nexport interface IAuthorizationCodeFlowParameters {\n\tclient_id: string,\n\tscope: string,\n\tcode: string,\n\tredirect_uri: string, // URI\n\tgrant_type: OAuthGrantTypes, // 'authorization_code', //@@ need enum\n\tcode_verifier: string\n}\n\nexport interface IRefreshFlowParameters {\n\tclient_id: string,\n\tscope: string,\n\trefresh_token: string, // JWT\n\tgrant_type: OAuthGrantTypes // 'refresh_token' //@@ enum\n}\n\nexport interface ITokenResponse {\n access_token: string, // JWT\n token_type: string, //@@ \"Bearer\" only\n expires_in: number,\n scope: string,\n refresh_token: string, // JWT\n id_token: string, // JWT\n}\n\nexport interface ISessionData {\n\ttokenResponse: ITokenResponse,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tbrokerCookie?: any\n}\n\nexport interface ITokenErrorResponse {\n\terror: string,\n\terror_description: string,\n\terror_codes: number[],\n\ttimestamp: number\n\tdetails: unknown //@@ STS attribute ?\n\t//\"trace_id\": \"255d1aef-8c98-452f-ac51-23d051240864\", //@@ MS attribute\n\t//\"correlation_id\": \"fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\" //@@ MS attribute\n}\n\nexport type AuthenticateEvent = (id_token: string) => void;\n\n// ---------------\n\nexport enum IOauth2ListenerCommand {\n\tRESTORE_SESSION = 'RestoreSession',\n\tAUTHORIZE = 'Authorize',\n\tHANDLE_REDIRECT = 'HandleRedirect',\n\tLOGOUT = 'Logout',\n\tAUTHENTICATE_EVENT = 'AuthenticateEvent',\n\tERROR = 'Error',\n\tLOG = '__LOG',\n\tUPDATE_INSTRUMENT = '__UPDATE_INSTRUMENT',\n\tID_TOKEN = '__ID_TOKEN',\n\tACCESS_TOKEN = '__ACCESS_TOKEN',\n\tCOOKIES = '__COOKIES',\n\tEXECUTE_REFRESH_TOKEN = '__EXECUTE_REFRESH_TOKEN'\n}\n\nexport interface IOauth2ListenerMessage {\n\tmessageId?: number\n\tcommand: IOauth2ListenerCommand\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpayload?: any\n}\n\nexport interface IOauth2ListenerMessageResponse {\n\tmessageId: number\n\tcommand: IOauth2ListenerCommand\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpayload: any\n}\n\nexport type StsOauth2WorkerFactory = () => Worker | wt.Worker\n\nexport interface ISTSOAuth2WorkerOptions {\n\tclient_id: string\n\tscope: string\n\tredirect_uri: string\n\taudience: string\n\t\n\tbrokerendpoint: string\n\tbrokerport: string\n\tbrokerapiroot: string\n\t\n\tauthorizeendpoint: string\n\tauthorizeport: string\n\tauthorizeapiroot: string\n\tauthorizeapi: string\n\t\n\ttimeout: number\n\n\tagentOptions?: {\n\t\tkeepAlive: boolean\n\t\tmaxSockets: number\n\t\tmaxTotalSockets: number\n\t\tmaxFreeSockets: number\n\t\trejectUnauthorized: boolean\n\t\ttimeout: number\n\t}\n}\n\nexport interface ISTSOAuth2ManagerOptions {\n\tauthenticateEvent?: AuthenticateEvent\n\tworkerFactory?: StsOauth2WorkerFactory\n\tworkerOptions: ISTSOAuth2WorkerOptions\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpinia: any\n\turiBase: string // This MUST end in a '/' character, e.g. / or /stsgraph/ or /{tenant}/graph/v1.0/\n\tlogger: ISTSLogger\n}\n\nexport interface ISTSOAuth2WorkerMessage {\n\tworkerPort: MessagePort | wt.MessagePort,\n\toptions: ISTSOAuth2WorkerOptions\n}\n","export class InvalidTokenError extends Error {\n}\nInvalidTokenError.prototype.name = \"InvalidTokenError\";\nfunction b64DecodeUnicode(str) {\n return decodeURIComponent(atob(str).replace(/(.)/g, (m, p) => {\n let code = p.charCodeAt(0).toString(16).toUpperCase();\n if (code.length < 2) {\n code = \"0\" + code;\n }\n return \"%\" + code;\n }));\n}\nfunction base64UrlDecode(str) {\n let output = str.replace(/-/g, \"+\").replace(/_/g, \"/\");\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += \"==\";\n break;\n case 3:\n output += \"=\";\n break;\n default:\n throw new Error(\"base64 string is not of the correct length\");\n }\n try {\n return b64DecodeUnicode(output);\n }\n catch (err) {\n return atob(output);\n }\n}\nexport function jwtDecode(token, options) {\n if (typeof token !== \"string\") {\n throw new InvalidTokenError(\"Invalid token specified: must be a string\");\n }\n options || (options = {});\n const pos = options.header === true ? 0 : 1;\n const part = token.split(\".\")[pos];\n if (typeof part !== \"string\") {\n throw new InvalidTokenError(`Invalid token specified: missing part #${pos + 1}`);\n }\n let decoded;\n try {\n decoded = base64UrlDecode(part);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${pos + 1} (${e.message})`);\n }\n try {\n return JSON.parse(decoded);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid json for part #${pos + 1} (${e.message})`);\n }\n}\n","//import { createPinia, defineStore } from 'pinia'\n//import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\n\nimport { defineStore } from 'pinia'\n\nimport { jwtDecode } from \"jwt-decode\";\nimport { JSONObject } from '@nsshunt/stsutils';\n\nexport interface ISTSOauth2Store {\n id_token: string | null\n error: { \n message: JSONObject\n } | null\n}\n\n// Replace with pinia\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\nexport const STSOauth2Store = defineStore('__sts__STSOauth2Store', {\n state: (): ISTSOauth2Store => {\n return {\n id_token: null,\n error: null\n }\n },\n actions: {\n UpdateIdToken(id_token: string) {\n this.id_token = id_token;\n },\n UpdateError(error: JSONObject) {\n if (this.error) {\n this.error.message = error;\n } else {\n this.error = {\n message: error\n }\n }\n }\n },\n getters: {\n LoggedIn: (state: ISTSOauth2Store): boolean => {\n if (typeof state.id_token === 'undefined') {\n return false;\n }\n if (state.id_token === null) {\n return false;\n }\n return true;\n },\n UserDetails: (state: ISTSOauth2Store): JSONObject | null => {\n //if (state.sessionData && state.sessionData.id_token) {\n if (state.id_token) {\n const id_token = state.id_token;\n const decodedIdToken = jwtDecode<JSONObject>(id_token);\n return decodedIdToken;\n } else {\n return null;\n }\n }\n },\n /*\n\tpersist: {\n\t\tstorage: globalThis.sessionStorage\n\t}\n\t*/\n});\n","function E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/**\n * Adds the key-value `pair` to `map`.\n *\n * @private\n * @param {Object} map The map to modify.\n * @param {Array} pair The key-value pair to add.\n * @returns {Object} Returns `map`.\n */\nfunction addMapEntry(map, pair) {\n // Don't return `map.set` because it's not chainable in IE 11.\n map.set(pair[0], pair[1]);\n return map;\n}\n\n/**\n * Adds `value` to `set`.\n *\n * @private\n * @param {Object} set The set to modify.\n * @param {*} value The value to add.\n * @returns {Object} Returns `set`.\n */\nfunction addSetEntry(set, value) {\n // Don't return `set.add` because it's not chainable in IE 11.\n set.add(value);\n return set;\n}\n\n/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array ? array.length : 0;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array ? array.length : 0;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n this.__data__ = new ListCache(entries);\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n return this.__data__['delete'](key);\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var cache = this.__data__;\n if (cache instanceof ListCache) {\n var pairs = cache.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n return this;\n }\n cache = this.__data__ = new MapCache(pairs);\n }\n cache.set(key, value);\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n // Safari 9 makes `arguments.length` enumerable in strict mode.\n var result = (isArray(value) || isArguments(value))\n ? baseTimes(value.length, String)\n : [];\n\n var length = result.length,\n skipIndexes = !!length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n object[key] = value;\n }\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @param {boolean} [isFull] Specify a clone including symbols.\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, isDeep, isFull, customizer, key, object, stack) {\n var result;\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n if (isHostObject(value)) {\n return object ? value : {};\n }\n result = initCloneObject(isFunc ? {} : value);\n if (!isDeep) {\n return copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, baseClone, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (!isArr) {\n var props = isFull ? getAllKeys(value) : keys(value);\n }\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));\n });\n return result;\n}\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} prototype The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nfunction baseCreate(proto) {\n return isObject(proto) ? objectCreate(proto) : {};\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n return objectToString.call(value);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var result = new buffer.constructor(buffer.length);\n buffer.copy(result);\n return result;\n}\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\n/**\n * Creates a clone of `map`.\n *\n * @private\n * @param {Object} map The map to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned map.\n */\nfunction cloneMap(map, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);\n return arrayReduce(array, addMapEntry, new map.constructor);\n}\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\n/**\n * Creates a clone of `set`.\n *\n * @private\n * @param {Object} set The set to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned set.\n */\nfunction cloneSet(set, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);\n return arrayReduce(array, addSetEntry, new set.constructor);\n}\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n assignValue(object, key, newValue === undefined ? source[key] : newValue);\n }\n return object;\n}\n\n/**\n * Copies own symbol properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Creates an array of the own enumerable symbol properties of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11,\n// for data views in Edge < 14, and promises in Node.js.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = objectToString.call(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : undefined;\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, cloneFunc, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return cloneMap(object, isDeep, cloneFunc);\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return cloneSet(object, isDeep, cloneFunc);\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, true, true);\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = cloneDeep;\n","import { TinyEmitter } from \"tiny-emitter\";\nimport _cloneDeep from \"lodash.clonedeep\";\nimport { STSAxiosConfig, defaultLogger, isNode } from \"@nsshunt/stsutils\";\nimport axios from \"axios\";\nimport { inject } from \"vue\";\nimport { SocketIoClient } from \"@nsshunt/stssocketioutils\";\n//#region src/commonTypes.ts\nvar SubscriptionTopic = /* @__PURE__ */ function(SubscriptionTopic) {\n\tSubscriptionTopic[\"AllServicesCombined\"] = \"AllServicesCombined\";\n\tSubscriptionTopic[\"Services\"] = \"Services\";\n\tSubscriptionTopic[\"ServiceInstances\"] = \"ServiceInstances\";\n\tSubscriptionTopic[\"ServiceInstance\"] = \"ServiceInstance\";\n\tSubscriptionTopic[\"AllAgentsCombined\"] = \"AllAgentsCombined\";\n\tSubscriptionTopic[\"Agents\"] = \"Agents\";\n\tSubscriptionTopic[\"AgentWorkers\"] = \"AgentWorkers\";\n\tSubscriptionTopic[\"AgentWorker\"] = \"AgentWorker\";\n\tSubscriptionTopic[\"AllLambdasCombined\"] = \"AllLambdasCombined\";\n\tSubscriptionTopic[\"LambdaTechnologies\"] = \"LambdaTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologies\"] = \"LambdaSubTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologiesInstance\"] = \"LambdaSubTechnologiesInstance\";\n\tSubscriptionTopic[\"LogProcessing\"] = \"LogProcessing\";\n\treturn SubscriptionTopic;\n}({});\nvar GetSocketIOSubscriptionKey = (subscriptionKey) => {\n\treturn `SubscriptionData_${subscriptionKey.id}`;\n};\nvar KAFKA_PREFIX = \"__STS__\";\nvar TransportType = /* @__PURE__ */ function(TransportType) {\n\tTransportType[TransportType[\"none\"] = 0] = \"none\";\n\tTransportType[TransportType[\"IPC\"] = 1] = \"IPC\";\n\tTransportType[TransportType[\"websocket\"] = 2] = \"websocket\";\n\tTransportType[TransportType[\"RESTAPI\"] = 4] = \"RESTAPI\";\n\tTransportType[TransportType[\"redis\"] = 8] = \"redis\";\n\tTransportType[TransportType[\"kafka\"] = 16] = \"kafka\";\n\tTransportType[TransportType[\"influxdb\"] = 32] = \"influxdb\";\n\tTransportType[TransportType[\"prometheus\"] = 64] = \"prometheus\";\n\tTransportType[TransportType[\"gRPC\"] = 128] = \"gRPC\";\n\tTransportType[TransportType[\"unixsocket\"] = 256] = \"unixsocket\";\n\tTransportType[TransportType[\"socketio\"] = 512] = \"socketio\";\n\tTransportType[TransportType[\"otelcollector\"] = 1024] = \"otelcollector\";\n\tTransportType[TransportType[\"messageport\"] = 2048] = \"messageport\";\n\tTransportType[TransportType[\"jsonrpc\"] = 4096] = \"jsonrpc\";\n\tTransportType[TransportType[\"postgresql\"] = 8192] = \"postgresql\";\n\tTransportType[TransportType[\"grafanaloki\"] = 16384] = \"grafanaloki\";\n\tTransportType[TransportType[\"logstash\"] = 32768] = \"logstash\";\n\tTransportType[TransportType[\"fluentbit\"] = 65536] = \"fluentbit\";\n\tTransportType[TransportType[\"fluentd\"] = 131072] = \"fluentd\";\n\tTransportType[TransportType[\"inmemory\"] = 262144] = \"inmemory\";\n\treturn TransportType;\n}({});\nfunction GetTransportMode(transport) {\n\tlet trans = 0;\n\ttry {\n\t\ttransport.split(\"|\").forEach((item) => {\n\t\t\tswitch (item) {\n\t\t\t\tcase \"IPC\":\n\t\t\t\t\ttrans |= TransportType.IPC;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"websocket\":\n\t\t\t\t\ttrans |= TransportType.websocket;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RESTAPI\":\n\t\t\t\t\ttrans |= TransportType.RESTAPI;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"redis\":\n\t\t\t\t\ttrans |= TransportType.redis;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"kafka\":\n\t\t\t\t\ttrans |= TransportType.kafka;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"influxdb\":\n\t\t\t\t\ttrans |= TransportType.influxdb;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"prometheus\":\n\t\t\t\t\ttrans |= TransportType.prometheus;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gRPC\":\n\t\t\t\t\ttrans |= TransportType.gRPC;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"unixsocket\":\n\t\t\t\t\ttrans |= TransportType.unixsocket;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"socketio\":\n\t\t\t\t\ttrans |= TransportType.socketio;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"otelcollector\":\n\t\t\t\t\ttrans |= TransportType.otelcollector;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"messageport\":\n\t\t\t\t\ttrans |= TransportType.messageport;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"jsonrpc\":\n\t\t\t\t\ttrans |= TransportType.jsonrpc;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"postgresql\":\n\t\t\t\t\ttrans |= TransportType.postgresql;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"grafanaloki\":\n\t\t\t\t\ttrans |= TransportType.grafanaloki;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"logstash\":\n\t\t\t\t\ttrans |= TransportType.logstash;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentbit\":\n\t\t\t\t\ttrans |= TransportType.fluentbit;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentd\":\n\t\t\t\t\ttrans |= TransportType.fluentd;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inmemory\":\n\t\t\t\t\ttrans |= TransportType.inmemory;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tthrow new Error(`GetTransportMode(): Error: [${error}]`);\n\t}\n\treturn trans;\n}\nvar InstrumentPayloadType = /* @__PURE__ */ function(InstrumentPayloadType) {\n\tInstrumentPayloadType[\"agent\"] = \"agent\";\n\tInstrumentPayloadType[\"service\"] = \"service\";\n\treturn InstrumentPayloadType;\n}({});\n//#endregion\n//#region src/publish/middleware/requestLoggerMiddleware.ts\nvar RequestLoggerMiddlewareEventName = /* @__PURE__ */ function(RequestLoggerMiddlewareEventName) {\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_DEC\"] = \"UpdateInstrument_AR_DEC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_INC\"] = \"UpdateInstrument_AR_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_RC_INC\"] = \"UpdateInstrument_RC_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_V_INC\"] = \"UpdateInstrument_V_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_DH_VAL\"] = \"UpdateInstrument_DH_VAL\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_D_VAL\"] = \"UpdateInstrument_D_VAL\";\n\treturn RequestLoggerMiddlewareEventName;\n}({});\nvar RequestLoggerMiddleware = class {\n\toptions;\n\t#tinyEmitter = new TinyEmitter();\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\ton(eventName, callBackFn) {\n\t\tthis.#tinyEmitter.on(eventName, callBackFn);\n\t}\n\t#RequestCompleted = (start) => {\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_AR_DEC);\n\t\tconst end = performance.now() - start;\n\t\tconst timeInMs = parseFloat(end.toFixed(4));\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_DH_VAL, timeInMs);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_D_VAL, timeInMs);\n\t};\n\t/**\n\t* Use with .bind(class instance).\n\t* Example;\n\t* ---\n\t* `let requestLoggerMiddleware = new RequestLoggerMiddleware();\n\t* app.use(requestLoggerMiddleware.Middleware.bind(requestLoggerMiddleware));`\n\t* @param {*} req \n\t* @param {*} res \n\t* @param {*} next \n\t* @returns \n\t*/\n\tMiddleware = async (req, res, next) => {\n\t\tif (this.options.ignoresocketio && req.originalUrl.includes(\"socket.io\")) return next();\n\t\tconst start = performance.now();\n\t\tlet completed = false;\n\t\tconst completeOnce = () => {\n\t\t\tif (completed) return;\n\t\t\tcompleted = true;\n\t\t\tthis.#RequestCompleted(start);\n\t\t};\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_AR_INC);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_RC_INC);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_V_INC);\n\t\treq.on(\"aborted\", () => {});\n\t\treq.on(\"end\", () => {});\n\t\tres.on(\"close\", () => {\n\t\t\tcompleteOnce();\n\t\t});\n\t\tres.on(\"finish\", () => {\n\t\t\tcompleteOnce();\n\t\t});\n\t\tnext();\n\t};\n};\n//#endregion\n//#region node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\u001B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\u001B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles$1 = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29]\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39],\n\t\tgrey: [90, 39],\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39]\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49],\n\t\tbgGrey: [100, 49],\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49]\n\t}\n};\nObject.keys(styles$1.modifier);\nvar foregroundColorNames = Object.keys(styles$1.color);\nvar backgroundColorNames = Object.keys(styles$1.bgColor);\n[...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n\tconst codes = /* @__PURE__ */ new Map();\n\tfor (const [groupName, group] of Object.entries(styles$1)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles$1[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\t\t\tgroup[styleName] = styles$1[styleName];\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\t\tObject.defineProperty(styles$1, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\tObject.defineProperty(styles$1, \"codes\", {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\tstyles$1.color.close = \"\\x1B[39m\";\n\tstyles$1.bgColor.close = \"\\x1B[49m\";\n\tstyles$1.color.ansi = wrapAnsi16();\n\tstyles$1.color.ansi256 = wrapAnsi256();\n\tstyles$1.color.ansi16m = wrapAnsi16m();\n\tstyles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\tObject.defineProperties(styles$1, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) return 16;\n\t\t\t\t\tif (red > 248) return 231;\n\t\t\t\t\treturn Math.round((red - 8) / 247 * 24) + 232;\n\t\t\t\t}\n\t\t\t\treturn 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) return [\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t\t0\n\t\t\t\t];\n\t\t\t\tlet [colorString] = matches;\n\t\t\t\tif (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join(\"\");\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\t\t\t\treturn [\n\t\t\t\t\tinteger >> 16 & 255,\n\t\t\t\t\tinteger >> 8 & 255,\n\t\t\t\t\tinteger & 255\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),\n\t\t\tenumerable: false\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) return 30 + code;\n\t\t\t\tif (code < 16) return 90 + (code - 8);\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = ((code - 232) * 10 + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\t\t\t\t\tconst remainder = code % 36;\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = remainder % 6 / 5;\n\t\t\t\t}\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\t\t\t\tif (value === 0) return 30;\n\t\t\t\tlet result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n\t\t\t\tif (value === 2) result += 60;\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),\n\t\t\tenumerable: false\n\t\t}\n\t});\n\treturn styles$1;\n}\nvar ansiStyles = assembleStyles();\n//#endregion\n//#region node_modules/chalk/source/vendor/supports-color/browser.js\nvar level = (() => {\n\tif (!(\"navigator\" in globalThis)) return 0;\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({ brand }) => brand === \"Chromium\");\n\t\tif (brand && brand.version > 93) return 3;\n\t}\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) return 1;\n\treturn 0;\n})();\nvar colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3\n};\nvar supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport\n};\n//#endregion\n//#region node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) return string;\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\tconst gotCR = string[index - 1] === \"\\r\";\n\t\treturnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf(\"\\n\", endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n//#endregion\n//#region node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supportsColor;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n\t\"ansi\",\n\t\"ansi\",\n\t\"ansi256\",\n\t\"ansi16m\"\n];\nvar styles = Object.create(null);\nvar applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error(\"The `level` option should be an integer from 0 to 3\");\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n\tconst chalk = (...strings) => strings.join(\" \");\n\tapplyOptions(chalk, options);\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\treturn chalk;\n};\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {\n\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\tObject.defineProperty(this, styleName, { value: builder });\n\treturn builder;\n} };\nstyles.visible = { get() {\n\tconst builder = createBuilder(this, this[STYLER], true);\n\tObject.defineProperty(this, \"visible\", { value: builder });\n\treturn builder;\n} };\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === \"rgb\") {\n\t\tif (level === \"ansi16m\") return ansiStyles[type].ansi16m(...arguments_);\n\t\tif (level === \"ansi256\") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\tif (model === \"hex\") return getModelAnsi(\"rgb\", level, type, ...ansiStyles.hexToRgb(...arguments_));\n\treturn ansiStyles[type][model](...arguments_);\n};\nfor (const model of [\n\t\"rgb\",\n\t\"hex\",\n\t\"ansi256\"\n]) {\n\tstyles[model] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n\tconst bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n}\nvar proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t}\n\t}\n});\nvar createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === void 0) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\nvar createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n\tObject.setPrototypeOf(builder, proto);\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\treturn builder;\n};\nvar applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) return self[IS_EMPTY] ? \"\" : string;\n\tlet styler = self[STYLER];\n\tif (styler === void 0) return string;\n\tconst { openAll, closeAll } = styler;\n\tif (string.includes(\"\\x1B\")) while (styler !== void 0) {\n\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\t\tstyler = styler.parent;\n\t}\n\tconst lfIndex = string.indexOf(\"\\n\");\n\tif (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\treturn openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles);\nvar chalk = createChalk();\ncreateChalk({ level: stderrColor ? stderrColor.level : 0 });\n//#endregion\n//#region node_modules/@nsshunt/stsobservability/dist/index.mjs\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\tkey = keys[i];\n\t\tif (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\nvar Gauge = /* @__PURE__ */ function(Gauge) {\n\tGauge[\"ACTIVE_REQUEST_GAUGE\"] = \"a\";\n\tGauge[\"AUTHENTICATION_COUNT_GAUGE\"] = \"b\";\n\tGauge[\"AUTHENTICATION_ERROR_COUNT_GAUGE\"] = \"aa\";\n\tGauge[\"AUTHENTICATION_RETRY_COUNT_GAUGE\"] = \"ab\";\n\tGauge[\"CONNECTION_POOL_IDLE_GAUGE\"] = \"c\";\n\tGauge[\"CONNECTION_POOL_TOTAL_GAUGE\"] = \"d\";\n\tGauge[\"CONNECTION_POOL_WAITING_GAUGE\"] = \"e\";\n\tGauge[\"CPU_LOAD_GAUGE\"] = \"f\";\n\tGauge[\"CPU_SYSTEM_LOAD_GAUGE\"] = \"g\";\n\tGauge[\"DURATION_GAUGE\"] = \"h\";\n\tGauge[\"DURATION_HISTOGRAM_GAUGE\"] = \"i\";\n\tGauge[\"ERROR_COUNT_GAUGE\"] = \"j\";\n\tGauge[\"LATENCY_GAUGE\"] = \"k\";\n\tGauge[\"LATENCY_HISTOGRAM_GAUGE\"] = \"l\";\n\tGauge[\"LOGGER\"] = \"m\";\n\tGauge[\"LOGGER_COPY\"] = \"n\";\n\tGauge[\"NETWORK_RX_GAUGE\"] = \"o\";\n\tGauge[\"NETWORK_TX_GAUGE\"] = \"p\";\n\tGauge[\"REQUEST_COUNT_GAUGE\"] = \"q\";\n\tGauge[\"RETRY_COUNT_GAUGE\"] = \"r\";\n\tGauge[\"TIMER_GAUGE\"] = \"s\";\n\tGauge[\"VELOCITY_GAUGE\"] = \"t\";\n\tGauge[\"CONNECTION_COUNT_GAUGE\"] = \"u\";\n\tGauge[\"OBJECT_GAUGE\"] = \"v\";\n\tGauge[\"PAYLOAD_SIZE\"] = \"w\";\n\tGauge[\"CORE_COUNT_GAUGE\"] = \"x\";\n\tGauge[\"CHILD_COUNT\"] = \"y\";\n\tGauge[\"UNKNOWN\"] = \"z\";\n\treturn Gauge;\n}({});\nvar GaugeTypes = /* @__PURE__ */ function(GaugeTypes) {\n\tGaugeTypes[\"GAUGE_TYPE\"] = \"_\";\n\tGaugeTypes[\"INSTRUMENT_GAUGE\"] = \"a\";\n\tGaugeTypes[\"INSTRUMENT_VELOCITY\"] = \"b\";\n\tGaugeTypes[\"INSTRUMENT_HISTOGRAM\"] = \"c\";\n\tGaugeTypes[\"INSTRUMENT_LOG\"] = \"d\";\n\tGaugeTypes[\"INSTRUMENT_TIMER\"] = \"e\";\n\tGaugeTypes[\"INSTRUMENT_OBJECT\"] = \"f\";\n\treturn GaugeTypes;\n}({});\nvar InstrumentBase = class {\n\t#label = \"\";\n\t#options = null;\n\t#data = {};\n\tconstructor(options = {}) {\n\t\tif (typeof options === \"string\" || options instanceof String) throw new Error(\"Instrument parameter must be an options object.\");\n\t\tthis.#options = options;\n\t\tif (options.label) this.#label = options.label;\n\t\telse this.#label = \"InstrumentGauge\";\n\t}\n\t[GaugeTypes.GAUGE_TYPE] = GaugeTypes.INSTRUMENT_OBJECT;\n\tval;\n\tWithLabel(label) {\n\t\tthis.label = label;\n\t\treturn this;\n\t}\n\tDefineCopyProperties(propertyNames) {\n\t\tpropertyNames.forEach((propertyName) => {\n\t\t\tObject.defineProperty(this, propertyName, {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#data[propertyName],\n\t\t\t\tset: (value) => {\n\t\t\t\t\tif (value === void 0) return;\n\t\t\t\t\tthis.#data[propertyName] = value;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\tGetNumber(val) {\n\t\tif (Number.isInteger(val)) return val;\n\t\telse return Math.round((val + Number.EPSILON) * 100) / 100;\n\t}\n\tget options() {\n\t\treturn this.#options;\n\t}\n\tset options(optionsValue) {\n\t\tthis.#options = optionsValue;\n\t}\n\tget label() {\n\t\treturn this.#label;\n\t}\n\tset label(labelValue) {\n\t\tthis.#label = labelValue;\n\t}\n\tStopTimer() {}\n\tProcessTelemetry(telemetry) {\n\t\tthrow new Error(`Must override in extended class: [ProcessTelemetry]: [${telemetry}].`);\n\t}\n};\nvar InstrumentVelocity = class extends InstrumentBase {\n\t#val = 0;\n\t#interval = null;\n\t#timeoutComputeVelocity = null;\n\t#lastVelocity = 0;\n\t#delta = 0;\n\t#maxVelocity = 0;\n\t#timerInterval = 0;\n\t#copy = false;\n\t#velocity = 0;\n\t#velocityVal = 0;\n\t#valStack = [];\n\t#averageValStack = [];\n\t#maxAverageValStack = 0;\n\t#maxAverageIterations = 0;\n\t#valStackMaxLength = 0;\n\t#valStackAverage = 0;\n\t#timeStamp = 0;\n\t#maxTimeDiff = 0;\n\t#vaTimeDiff = 0;\n\t#velocityTimeDiff = 0;\n\t#autoComputeVelocity = false;\n\t#autoComputeVelocityTimeout = 0;\n\t#countDiff = 0;\n\t#timeDiff = 0;\n\t#deltaCountDiff = 0;\n\t#deltaTimeDif = 0;\n\t#minTimeForReporting = 0;\n\t#averageVelocity = [];\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentVelocity\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.interval === \"undefined\") this.#timerInterval = 1e3;\n\t\telse this.#timerInterval = options.interval;\n\t\tif (typeof options.valStackMaxLength === \"undefined\") this.#valStackMaxLength = 100;\n\t\telse this.#valStackMaxLength = options.valStackMaxLength;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (typeof options.autoComputeVelocity === \"undefined\") this.#autoComputeVelocity = false;\n\t\telse this.#autoComputeVelocity = options.autoComputeVelocity;\n\t\tif (typeof options.maxAverageValStack === \"undefined\") this.#maxAverageValStack = 5;\n\t\telse this.#maxAverageValStack = options.maxAverageValStack;\n\t\tif (typeof options.maxAverageIterations === \"undefined\") this.#maxAverageIterations = 3;\n\t\telse this.#maxAverageIterations = options.maxAverageIterations;\n\t\tif (typeof options.velocityTimeDiff === \"undefined\") this.#velocityTimeDiff = 5e3;\n\t\telse this.#velocityTimeDiff = options.velocityTimeDiff;\n\t\tif (typeof options.vaTimeDiff === \"undefined\") this.#vaTimeDiff = 1e4;\n\t\telse this.#vaTimeDiff = options.vaTimeDiff;\n\t\tif (typeof options.autoComputeVelocityTimeout === \"undefined\") this.#autoComputeVelocityTimeout = 50;\n\t\telse this.#autoComputeVelocityTimeout = options.autoComputeVelocityTimeout;\n\t\tthis.#maxTimeDiff = this.#vaTimeDiff * 2;\n\t\tthis.#minTimeForReporting = this.#vaTimeDiff + 2e3;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_VELOCITY\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\n\t\t\t\"val\",\n\t\t\t\"maxVelocity\",\n\t\t\t\"delta\",\n\t\t\t\"velocity\",\n\t\t\t\"va\",\n\t\t\t\"timeStamp\",\n\t\t\t\"deltaTimeDif\",\n\t\t\t\"deltaCountDiff\",\n\t\t\t\"timeDiff\",\n\t\t\t\"countDiff\",\n\t\t\t\"averageVelocity\"\n\t\t]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"maxVelocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetMaxVelocity()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"delta\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDelta()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"velocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVelocity()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"va\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVelocityStackAverage()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"timeStamp\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetTimeStamp()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"countDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetCountDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"timeDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetTimeDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"deltaCountDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDeltaCountDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"deltaTimeDif\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDeltaTimeDif()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"averageVelocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetAverageVelocity()\n\t\t\t});\n\t\t\tif (this.#timerInterval > 0 && this.#autoComputeVelocity === false) this._StartTimer();\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.val = result.val;\n\t\t\tthis.velocity = result.velocity;\n\t\t\tthis.maxVelocity = result.maxVelocity;\n\t\t\tthis.delta = result.delta;\n\t\t\tthis.va = result.va;\n\t\t\tthis.timeStamp = result.timeStamp;\n\t\t\tthis.countDiff = result.countDiff;\n\t\t\tthis.timeDiff = result.timeDiff;\n\t\t\tthis.deltaCountDiff = result.deltaCountDiff;\n\t\t\tthis.deltaTimeDif = result.deltaTimeDif;\n\t\t\tthis.averageVelocity = _cloneDeep(result.averageVelocity);\n\t\t}\n\t}\n\tmaxVelocity = 0;\n\tdelta = 0;\n\tvelocity = 0;\n\tva = 0;\n\ttimeStamp = 0;\n\tcountDiff = 0;\n\ttimeDiff = 0;\n\tdeltaCountDiff = 0;\n\tdeltaTimeDif = 0;\n\taverageVelocity = [];\n\tval = 0;\n\tWithValStackMaxLength(valStackMaxLength) {\n\t\tthis.#valStackMaxLength = valStackMaxLength;\n\t\tthis.#valStack = [];\n\t\treturn this;\n\t}\n\t_StartTimer() {\n\t\tthis.#interval = setInterval(() => {\n\t\t\tthis.#ComputeVelocity();\n\t\t\tlet pushVal = this.#velocity;\n\t\t\tfor (let i = 0; i < this.#maxAverageIterations; i++) {\n\t\t\t\tif (!this.#averageValStack[i]) this.#averageValStack[i] = [];\n\t\t\t\tthis.#averageValStack[i].push(pushVal);\n\t\t\t\tif (this.#averageValStack[i].length > this.#maxAverageValStack) this.#averageValStack[i].shift();\n\t\t\t\tpushVal = this.#averageValStack[i].reduce((prev, current) => prev + current) / this.#averageValStack[i].length;\n\t\t\t\tthis.#averageVelocity[i] = pushVal;\n\t\t\t}\n\t\t}, this.#timerInterval);\n\t\tif (isNode) this.#interval.unref();\n\t}\n\t#ComputeVelocityByTimeDiff(checkTimeDiff, checkDeltaTimeDiff) {\n\t\tlet val = 0;\n\t\tlet deltaVal = 0;\n\t\tlet countDiff = 0;\n\t\tlet timeDiff = 0;\n\t\tlet deltaCountDiff = 0;\n\t\tlet deltaTimeDiff = 0;\n\t\tif (this.#valStack.length > 1 && this.#valStack[this.#valStack.length - 1].timeStamp - this.#valStack[0].timeStamp > this.#minTimeForReporting) {\n\t\t\tconst dp = this.#valStack[this.#valStack.length - 1];\n\t\t\tlet timeDiffPos = -1;\n\t\t\tlet deltaDiffPos = -1;\n\t\t\tfor (let i = this.#valStack.length - 2; i > -1; i--) {\n\t\t\t\tif (timeDiffPos === -1 && this.#timeStamp - this.#valStack[i].timeStamp >= checkTimeDiff) {\n\t\t\t\t\ttimeDiffPos = i;\n\t\t\t\t\tif (checkDeltaTimeDiff === 0) break;\n\t\t\t\t}\n\t\t\t\tif (deltaDiffPos === -1 && this.#timeStamp - this.#valStack[i].timeStamp >= checkDeltaTimeDiff) deltaDiffPos = i;\n\t\t\t\tif (timeDiffPos !== -1 && deltaDiffPos !== -1) break;\n\t\t\t}\n\t\t\tif (timeDiffPos > -1) {\n\t\t\t\tcountDiff = dp.count - this.#valStack[timeDiffPos].count;\n\t\t\t\tif (countDiff > 0) {\n\t\t\t\t\ttimeDiff = dp.timeStamp - this.#valStack[timeDiffPos].timeStamp;\n\t\t\t\t\tif (timeDiff > 0) val = 1e3 / timeDiff * countDiff;\n\t\t\t\t\telse val = 0;\n\t\t\t\t} else val = 0;\n\t\t\t} else val = 0;\n\t\t\tif (deltaDiffPos > -1) {\n\t\t\t\tdeltaCountDiff = this.#valStack[timeDiffPos].count - this.#valStack[deltaDiffPos].count;\n\t\t\t\tif (deltaCountDiff > 0) {\n\t\t\t\t\tdeltaTimeDiff = this.#valStack[timeDiffPos].timeStamp - this.#valStack[deltaDiffPos].timeStamp;\n\t\t\t\t\tif (deltaTimeDiff > 0) deltaVal = 1e3 / deltaTimeDiff * deltaTimeDiff;\n\t\t\t\t\telse deltaVal = 0;\n\t\t\t\t} else deltaVal = 0;\n\t\t\t} else deltaVal = 0;\n\t\t}\n\t\treturn {\n\t\t\tval,\n\t\t\tcountDiff,\n\t\t\ttimeDiff,\n\t\t\tdeltaVal,\n\t\t\tdeltaCountDiff,\n\t\t\tdeltaTimeDiff\n\t\t};\n\t}\n\t#ComputeVelocity() {\n\t\tconst dp = {\n\t\t\ttimeStamp: performance.now(),\n\t\t\tcount: this.#velocityVal\n\t\t};\n\t\tthis.#valStack.push(dp);\n\t\tthis.#timeStamp = dp.timeStamp;\n\t\twhile (this.#valStack.length > 0 && this.#timeStamp - this.#valStack[0].timeStamp > this.#maxTimeDiff) this.#valStack.shift();\n\t\tthis.#valStackAverage = this.#ComputeVelocityByTimeDiff(this.#vaTimeDiff, 0).val;\n\t\tconst velocityDataPoint = this.#ComputeVelocityByTimeDiff(this.#velocityTimeDiff, this.#velocityTimeDiff * 2);\n\t\tthis.#velocity = velocityDataPoint.val;\n\t\tthis.#delta = velocityDataPoint.val - velocityDataPoint.deltaVal;\n\t\tthis.#countDiff = velocityDataPoint.countDiff;\n\t\tthis.#timeDiff = velocityDataPoint.timeDiff;\n\t\tthis.#deltaCountDiff = velocityDataPoint.deltaCountDiff;\n\t\tthis.#deltaTimeDif = velocityDataPoint.deltaTimeDiff;\n\t\tthis.#lastVelocity = this.#velocity;\n\t\tif (this.#velocity > this.#maxVelocity) this.#maxVelocity = this.#velocity;\n\t}\n\t#SetupAutoComputeVelocity() {\n\t\tif (this.#timeoutComputeVelocity) clearTimeout(this.#timeoutComputeVelocity);\n\t\tthis.#timeoutComputeVelocity = setTimeout(() => {\n\t\t\tthis.#ComputeVelocity();\n\t\t}, this.#autoComputeVelocityTimeout);\n\t}\n\t#GetVelocityStackAverage() {\n\t\treturn this.GetNumber(this.#valStackAverage);\n\t}\n\tInc(incVal = 1) {\n\t\tthis.#velocityVal += incVal;\n\t\tif (this.#autoComputeVelocity) this.#ComputeVelocity();\n\t\telse this.#SetupAutoComputeVelocity();\n\t}\n\t#GetVal() {\n\t\treturn this.GetNumber(this.#velocityVal);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#velocityVal = updatedValue;\n\t\tif (this.#autoComputeVelocity) this.#ComputeVelocity();\n\t\telse this.#SetupAutoComputeVelocity();\n\t}\n\t#GetVelocity() {\n\t\treturn this.GetNumber(this.#velocity);\n\t}\n\t#GetMaxVelocity() {\n\t\treturn this.GetNumber(this.#maxVelocity);\n\t}\n\t#GetDelta() {\n\t\treturn this.GetNumber(this.#delta);\n\t}\n\t#GetTimeStamp() {\n\t\treturn this.GetNumber(this.#timeStamp);\n\t}\n\t#GetCountDiff() {\n\t\treturn this.GetNumber(this.#countDiff);\n\t}\n\t#GetTimeDiff() {\n\t\treturn this.GetNumber(this.#timeDiff);\n\t}\n\t#GetDeltaCountDiff() {\n\t\treturn this.GetNumber(this.#deltaCountDiff);\n\t}\n\t#GetDeltaTimeDif() {\n\t\treturn this.GetNumber(this.#deltaTimeDif);\n\t}\n\t#GetAverageVelocity() {\n\t\treturn this.#averageVelocity;\n\t}\n\tStopTimer() {\n\t\tif (this.#interval !== null) {\n\t\t\tclearTimeout(this.#interval);\n\t\t\tthis.#interval = null;\n\t\t}\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.Inc !== void 0) this.Inc(telemetry.Inc);\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar HistogramDataElementPos = /* @__PURE__ */ function(HistogramDataElementPos) {\n\tHistogramDataElementPos[HistogramDataElementPos[\"val\"] = 0] = \"val\";\n\tHistogramDataElementPos[HistogramDataElementPos[\"label\"] = 1] = \"label\";\n\tHistogramDataElementPos[HistogramDataElementPos[\"breakPoint\"] = 2] = \"breakPoint\";\n\treturn HistogramDataElementPos;\n}({});\nvar InstrumentHistogram = class extends InstrumentBase {\n\t#histogramData = [];\n\t#val = 0;\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentHistogram\";\n\t\telse this.label = options.label;\n\t\tlet histogramData = null;\n\t\tif (typeof options.histogramData === \"undefined\") histogramData = null;\n\t\telse histogramData = options.histogramData;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (histogramData === null) this.#histogramData = [\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"10\",\n\t\t\t\t10\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"20\",\n\t\t\t\t20\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"50\",\n\t\t\t\t50\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"100\",\n\t\t\t\t100\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"1000\",\n\t\t\t\t1e3\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"5000\",\n\t\t\t\t5e3\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"EE\",\n\t\t\t\t0\n\t\t\t]\n\t\t];\n\t\telse if (Array.isArray(histogramData)) {\n\t\t\tthis.#histogramData = [];\n\t\t\tfor (let i = 0; i < histogramData.length; i++) this.#histogramData.push([\n\t\t\t\t0,\n\t\t\t\t\"\" + histogramData[i],\n\t\t\t\tparseFloat(histogramData[i].toString())\n\t\t\t]);\n\t\t\tthis.#histogramData.push([\n\t\t\t\t0,\n\t\t\t\t\"EE\",\n\t\t\t\t0\n\t\t\t]);\n\t\t} else throw new Error(`Passed [${histogramData}] must be an array.`);\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_HISTOGRAM\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\", \"hist\"]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"hist\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetHistogramData(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetHistogramData(value);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.#val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.#val = result.val;\n\t\t\tthis.hist = result.hist;\n\t\t}\n\t}\n\thist = [];\n\tval = 0;\n\tWithInitVal(initVal) {\n\t\tthis.#val = initVal;\n\t\treturn this;\n\t}\n\tResetHistogramData() {\n\t\tfor (let i = 0; i < this.hist.length; i++) this.hist[i][0] = 0;\n\t}\n\tAddObservation(updateValue) {\n\t\tif (this.#copy) throw new Error(\"Cannot add observations from the copy version of this class.\");\n\t\tlet i = 0;\n\t\tfor (; i < this.#histogramData.length - 1; i++) if (updateValue <= this.#histogramData[i][HistogramDataElementPos.breakPoint]) {\n\t\t\tthis.#histogramData[i][HistogramDataElementPos.val]++;\n\t\t\treturn;\n\t\t}\n\t\tthis.#histogramData[i][HistogramDataElementPos.val]++;\n\t}\n\t#GetVal() {\n\t\treturn this.GetNumber(this.#val);\n\t}\n\t#SetVal(value) {\n\t\tthis.#val = value;\n\t\tthis.AddObservation(value);\n\t}\n\tget formattedHistogramData() {\n\t\tlet retVal = \"\";\n\t\tlet sep = \"\";\n\t\tfor (let i = 0; i < this.hist.length; i++) {\n\t\t\tretVal += sep + \"[\" + (this.hist[i][HistogramDataElementPos.val] + \"/\" + this.hist[i][HistogramDataElementPos.label]).padStart(10, \" \") + \"]\";\n\t\t\tsep = \" \";\n\t\t}\n\t\treturn retVal;\n\t}\n\t#GetHistogramData() {\n\t\treturn this.#histogramData;\n\t}\n\t#SetHistogramData(value) {\n\t\tthis.#histogramData = value;\n\t}\n\tstatic AddHistogramDataEx(histoA, histoB) {\n\t\tif (histoA === null) return _cloneDeep(histoB);\n\t\tconst result = _cloneDeep(histoA);\n\t\tconst histogramAData = result.hist;\n\t\tconst histogramBData = histoB.hist;\n\t\tif (histogramAData.length !== histogramBData.length) throw new Error(\"Invalid HistogramData. HistogramData bucket lengths must be the same.\");\n\t\tfor (let i = 0; i < histogramAData.length; i++) {\n\t\t\tif (histogramAData[i][HistogramDataElementPos.breakPoint] !== histogramBData[i][HistogramDataElementPos.breakPoint]) throw new Error(`Invalid HistogramData. HistogramData bucket break-point at index [${i}] must be the same.`);\n\t\t\tif (histogramAData[i][HistogramDataElementPos.label] !== histogramBData[i][HistogramDataElementPos.label]) throw new Error(`Invalid HistogramData. HistogramData bucket label at index [${i}] must be the same.`);\n\t\t\thistogramAData[i][HistogramDataElementPos.val] += histogramBData[i][HistogramDataElementPos.val];\n\t\t}\n\t\treturn result;\n\t}\n\t/**\n\t* Adds a value object (from GetFormatted()) to this instance.\n\t* @param {*} value \n\t*/\n\tAddHistogramData(histogramData) {\n\t\tif (histogramData === null) return;\n\t\tif (this.hist.length !== histogramData.hist.length) throw new Error(\"Invalid HistogramData. HistogramData bucket lengths must be the same.\");\n\t\tfor (let i = 0; i < histogramData.hist.length; i++) {\n\t\t\tif (this.hist[i][HistogramDataElementPos.breakPoint] !== histogramData.hist[i][HistogramDataElementPos.breakPoint]) throw new Error(`Invalid HistogramData. HistogramData bucket break-point at index [${i}] must be the same.`);\n\t\t\tif (this.hist[i][HistogramDataElementPos.label] !== histogramData.hist[i][HistogramDataElementPos.label]) throw new Error(`Invalid HistogramData. HistogramData bucket label at index [${i}] must be the same.`);\n\t\t\tthis.hist[i][HistogramDataElementPos.val] += histogramData.hist[i][HistogramDataElementPos.val];\n\t\t}\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar InstrumentLog = class extends InstrumentBase {\n\t#messages = [];\n\t#readPos = 0;\n\t#maxSize = 200;\n\t#copy = false;\n\t#useLatestMessages = false;\n\t#consoleLogging = false;\n\t#instrumentLogging = true;\n\t#winstonLogging = false;\n\t#stsLogger;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentLog\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.maxSize === \"undefined\") this.#maxSize = 200;\n\t\telse this.#maxSize = options.maxSize;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (typeof options.useLatestMessages === \"undefined\") this.#useLatestMessages = false;\n\t\telse this.#useLatestMessages = options.useLatestMessages;\n\t\tif (typeof options.consoleLogging === \"undefined\") this.#consoleLogging = false;\n\t\telse this.#consoleLogging = options.consoleLogging;\n\t\tif (typeof options.instrumentLogging === \"undefined\") this.#instrumentLogging = true;\n\t\telse this.#instrumentLogging = options.instrumentLogging;\n\t\tif (typeof options.winstonLogging === \"undefined\") this.#winstonLogging = false;\n\t\telse this.#winstonLogging = options.winstonLogging;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_LOG\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => _cloneDeep(this.#GetVal()),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t}\n\tval = [];\n\tWithMaxSize(maxSize) {\n\t\tthis.#maxSize = maxSize;\n\t\treturn this;\n\t}\n\tWithUseLatestMessages(useLatestMessages) {\n\t\tthis.#useLatestMessages = useLatestMessages;\n\t\treturn this;\n\t}\n\tWithConsoleLogging(consoleLogging) {\n\t\tthis.#consoleLogging = consoleLogging;\n\t\treturn this;\n\t}\n\tWithInstrumentLogging(instrumentLogging) {\n\t\tthis.#instrumentLogging = instrumentLogging;\n\t\treturn this;\n\t}\n\tget MaxSize() {\n\t\treturn this.#maxSize;\n\t}\n\tset MaxSize(maxSize) {\n\t\tthis.#maxSize = maxSize;\n\t}\n\t#DumpToConsole() {\n\t\tconst logReport = this.GetMessagesSinceLastRead();\n\t\tfor (let i = 0; i < logReport.length; i++) console.log(logReport[i]);\n\t}\n\tget consoleLogging() {\n\t\treturn this.#consoleLogging;\n\t}\n\tset consoleLogging(value) {\n\t\tthis.#consoleLogging = value;\n\t\tif (value === true) this.#DumpToConsole();\n\t}\n\tget instrumentLogging() {\n\t\treturn this.#instrumentLogging;\n\t}\n\tset instrumentLogging(value) {\n\t\tthis.#instrumentLogging = value;\n\t}\n\tAppend(messageArray) {\n\t\tfor (let i = 0; i < messageArray.length; i++) this.LogMessage(messageArray[i]);\n\t}\n\terror(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.error(message);\n\t}\n\twarn(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.warn(message);\n\t}\n\tinfo(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.info(message);\n\t}\n\thttp(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.http(message);\n\t}\n\tverbose(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.verbose(message);\n\t}\n\tdebug(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.debug(message);\n\t}\n\tsilly(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.silly(message);\n\t}\n\tLogMessage(message) {\n\t\tif (this.#copy) throw new Error(\"Cannot add log messages from the copy version of this class.\");\n\t\tif (this.#consoleLogging === true) console.log(message);\n\t\tif (this.#instrumentLogging === false) return;\n\t\tthis.#messages.push(message);\n\t\tif (this.#messages.length > this.#maxSize) {\n\t\t\tthis.#messages.shift();\n\t\t\tthis.#readPos = this.#readPos > 0 ? this.#readPos - 1 : 0;\n\t\t}\n\t}\n\t#GetVal() {\n\t\tif (this.#useLatestMessages) return this.GetMessagesSinceLastRead();\n\t\telse return this.#messages;\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#messages = updatedValue;\n\t\tthis.#readPos = 0;\n\t}\n\tGetMessagesNoUpdate() {\n\t\treturn this.#messages.slice(this.#readPos);\n\t}\n\tGetMessagesSinceLastRead() {\n\t\tconst retVal = this.#messages.slice(this.#readPos);\n\t\tthis.#readPos = this.#messages.length;\n\t\treturn retVal;\n\t}\n\tResetLog() {\n\t\tthis.#messages = [];\n\t\tthis.#readPos = 0;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t\tif (telemetry.Append !== void 0) this.Append(telemetry.Append);\n\t\tif (telemetry.LogMessage !== void 0) this.LogMessage(telemetry.LogMessage);\n\t\tif (telemetry.ResetLog !== void 0 && telemetry.ResetLog === true) this.ResetLog();\n\t}\n};\nvar InstrumentTimerGauge = class extends InstrumentBase {\n\t#start = 0;\n\t#copy = false;\n\t#pauseVal = 0;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentTimerGauge\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_TIMER\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetVal(),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t\tthis.Reset();\n\t}\n\tval = 0;\n\tPause() {\n\t\tthis.#pauseVal = this.val;\n\t}\n\tResume() {\n\t\tthis.#pauseVal = 0;\n\t}\n\tReset() {\n\t\tthis.#start = performance.now();\n\t}\n\t#GetVal() {\n\t\tif (this.#pauseVal !== 0) return this.GetNumber(this.#pauseVal);\n\t\treturn this.GetNumber(performance.now() - this.#start);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#start = performance.now() - updatedValue;\n\t}\n\tget start() {\n\t\treturn this.#start;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t\tif (telemetry.Pause !== void 0 && telemetry.Pause === true) this.Pause();\n\t\tif (telemetry.Resume !== void 0 && telemetry.Resume === true) this.Resume();\n\t\tif (telemetry.Reset !== void 0 && telemetry.Reset === true) this.Reset();\n\t}\n};\nvar require_timsort$1 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\t/****\n\t* The MIT License\n\t*\n\t* Copyright (c) 2015 Marco Ziccardi\n\t*\n\t* Permission is hereby granted, free of charge, to any person obtaining a copy\n\t* of this software and associated documentation files (the \"Software\"), to deal\n\t* in the Software without restriction, including without limitation the rights\n\t* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t* copies of the Software, and to permit persons to whom the Software is\n\t* furnished to do so, subject to the following conditions:\n\t*\n\t* The above copyright notice and this permission notice shall be included in\n\t* all copies or substantial portions of the Software.\n\t*\n\t* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\t* THE SOFTWARE.\n\t*\n\t****/\n\t(function(global, factory) {\n\t\tif (typeof define === \"function\" && define.amd) define(\"timsort\", [\"exports\"], factory);\n\t\telse if (typeof exports !== \"undefined\") factory(exports);\n\t\telse {\n\t\t\tvar mod = { exports: {} };\n\t\t\tfactory(mod.exports);\n\t\t\tglobal.timsort = mod.exports;\n\t\t}\n\t})(exports, function(exports$1) {\n\t\t\"use strict\";\n\t\texports$1.__esModule = true;\n\t\texports$1.sort = sort;\n\t\tfunction _classCallCheck(instance, Constructor) {\n\t\t\tif (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n\t\t}\n\t\tvar DEFAULT_MIN_MERGE = 32;\n\t\tvar DEFAULT_MIN_GALLOPING = 7;\n\t\tvar DEFAULT_TMP_STORAGE_LENGTH = 256;\n\t\tvar POWERS_OF_TEN = [\n\t\t\t1,\n\t\t\t10,\n\t\t\t100,\n\t\t\t1e3,\n\t\t\t1e4,\n\t\t\t1e5,\n\t\t\t1e6,\n\t\t\t1e7,\n\t\t\t1e8,\n\t\t\t1e9\n\t\t];\n\t\tfunction log10(x) {\n\t\t\tif (x < 1e5) {\n\t\t\t\tif (x < 100) return x < 10 ? 0 : 1;\n\t\t\t\tif (x < 1e4) return x < 1e3 ? 2 : 3;\n\t\t\t\treturn 4;\n\t\t\t}\n\t\t\tif (x < 1e7) return x < 1e6 ? 5 : 6;\n\t\t\tif (x < 1e9) return x < 1e8 ? 7 : 8;\n\t\t\treturn 9;\n\t\t}\n\t\tfunction alphabeticalCompare(a, b) {\n\t\t\tif (a === b) return 0;\n\t\t\tif (~~a === a && ~~b === b) {\n\t\t\t\tif (a === 0 || b === 0) return a < b ? -1 : 1;\n\t\t\t\tif (a < 0 || b < 0) {\n\t\t\t\t\tif (b >= 0) return -1;\n\t\t\t\t\tif (a >= 0) return 1;\n\t\t\t\t\ta = -a;\n\t\t\t\t\tb = -b;\n\t\t\t\t}\n\t\t\t\tvar al = log10(a);\n\t\t\t\tvar bl = log10(b);\n\t\t\t\tvar t = 0;\n\t\t\t\tif (al < bl) {\n\t\t\t\t\ta *= POWERS_OF_TEN[bl - al - 1];\n\t\t\t\t\tb /= 10;\n\t\t\t\t\tt = -1;\n\t\t\t\t} else if (al > bl) {\n\t\t\t\t\tb *= POWERS_OF_TEN[al - bl - 1];\n\t\t\t\t\ta /= 10;\n\t\t\t\t\tt = 1;\n\t\t\t\t}\n\t\t\t\tif (a === b) return t;\n\t\t\t\treturn a < b ? -1 : 1;\n\t\t\t}\n\t\t\tvar aStr = String(a);\n\t\t\tvar bStr = String(b);\n\t\t\tif (aStr === bStr) return 0;\n\t\t\treturn aStr < bStr ? -1 : 1;\n\t\t}\n\t\tfunction minRunLength(n) {\n\t\t\tvar r = 0;\n\t\t\twhile (n >= DEFAULT_MIN_MERGE) {\n\t\t\t\tr |= n & 1;\n\t\t\t\tn >>= 1;\n\t\t\t}\n\t\t\treturn n + r;\n\t\t}\n\t\tfunction makeAscendingRun(array, lo, hi, compare) {\n\t\t\tvar runHi = lo + 1;\n\t\t\tif (runHi === hi) return 1;\n\t\t\tif (compare(array[runHi++], array[lo]) < 0) {\n\t\t\t\twhile (runHi < hi && compare(array[runHi], array[runHi - 1]) < 0) runHi++;\n\t\t\t\treverseRun(array, lo, runHi);\n\t\t\t} else while (runHi < hi && compare(array[runHi], array[runHi - 1]) >= 0) runHi++;\n\t\t\treturn runHi - lo;\n\t\t}\n\t\tfunction reverseRun(array, lo, hi) {\n\t\t\thi--;\n\t\t\twhile (lo < hi) {\n\t\t\t\tvar t = array[lo];\n\t\t\t\tarray[lo++] = array[hi];\n\t\t\t\tarray[hi--] = t;\n\t\t\t}\n\t\t}\n\t\tfunction binaryInsertionSort(array, lo, hi, start, compare) {\n\t\t\tif (start === lo) start++;\n\t\t\tfor (; start < hi; start++) {\n\t\t\t\tvar pivot = array[start];\n\t\t\t\tvar left = lo;\n\t\t\t\tvar right = start;\n\t\t\t\twhile (left < right) {\n\t\t\t\t\tvar mid = left + right >>> 1;\n\t\t\t\t\tif (compare(pivot, array[mid]) < 0) right = mid;\n\t\t\t\t\telse left = mid + 1;\n\t\t\t\t}\n\t\t\t\tvar n = start - left;\n\t\t\t\tswitch (n) {\n\t\t\t\t\tcase 3: array[left + 3] = array[left + 2];\n\t\t\t\t\tcase 2: array[left + 2] = array[left + 1];\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tarray[left + 1] = array[left];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault: while (n > 0) {\n\t\t\t\t\t\tarray[left + n] = array[left + n - 1];\n\t\t\t\t\t\tn--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tarray[left] = pivot;\n\t\t\t}\n\t\t}\n\t\tfunction gallopLeft(value, array, start, length, hint, compare) {\n\t\t\tvar lastOffset = 0;\n\t\t\tvar maxOffset = 0;\n\t\t\tvar offset = 1;\n\t\t\tif (compare(value, array[start + hint]) > 0) {\n\t\t\t\tmaxOffset = length - hint;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint + offset]) > 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tlastOffset += hint;\n\t\t\t\toffset += hint;\n\t\t\t} else {\n\t\t\t\tmaxOffset = hint + 1;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint - offset]) <= 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tvar tmp = lastOffset;\n\t\t\t\tlastOffset = hint - offset;\n\t\t\t\toffset = hint - tmp;\n\t\t\t}\n\t\t\tlastOffset++;\n\t\t\twhile (lastOffset < offset) {\n\t\t\t\tvar m = lastOffset + (offset - lastOffset >>> 1);\n\t\t\t\tif (compare(value, array[start + m]) > 0) lastOffset = m + 1;\n\t\t\t\telse offset = m;\n\t\t\t}\n\t\t\treturn offset;\n\t\t}\n\t\tfunction gallopRight(value, array, start, length, hint, compare) {\n\t\t\tvar lastOffset = 0;\n\t\t\tvar maxOffset = 0;\n\t\t\tvar offset = 1;\n\t\t\tif (compare(value, array[start + hint]) < 0) {\n\t\t\t\tmaxOffset = hint + 1;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint - offset]) < 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tvar tmp = lastOffset;\n\t\t\t\tlastOffset = hint - offset;\n\t\t\t\toffset = hint - tmp;\n\t\t\t} else {\n\t\t\t\tmaxOffset = length - hint;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint + offset]) >= 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tlastOffset += hint;\n\t\t\t\toffset += hint;\n\t\t\t}\n\t\t\tlastOffset++;\n\t\t\twhile (lastOffset < offset) {\n\t\t\t\tvar m = lastOffset + (offset - lastOffset >>> 1);\n\t\t\t\tif (compare(value, array[start + m]) < 0) offset = m;\n\t\t\t\telse lastOffset = m + 1;\n\t\t\t}\n\t\t\treturn offset;\n\t\t}\n\t\tvar TimSort = (function() {\n\t\t\tfunction TimSort(array, compare) {\n\t\t\t\t_classCallCheck(this, TimSort);\n\t\t\t\tthis.array = null;\n\t\t\t\tthis.compare = null;\n\t\t\t\tthis.minGallop = DEFAULT_MIN_GALLOPING;\n\t\t\t\tthis.length = 0;\n\t\t\t\tthis.tmpStorageLength = DEFAULT_TMP_STORAGE_LENGTH;\n\t\t\t\tthis.stackLength = 0;\n\t\t\t\tthis.runStart = null;\n\t\t\t\tthis.runLength = null;\n\t\t\t\tthis.stackSize = 0;\n\t\t\t\tthis.array = array;\n\t\t\t\tthis.compare = compare;\n\t\t\t\tthis.length = array.length;\n\t\t\t\tif (this.length < 2 * DEFAULT_TMP_STORAGE_LENGTH) this.tmpStorageLength = this.length >>> 1;\n\t\t\t\tthis.tmp = new Array(this.tmpStorageLength);\n\t\t\t\tthis.stackLength = this.length < 120 ? 5 : this.length < 1542 ? 10 : this.length < 119151 ? 19 : 40;\n\t\t\t\tthis.runStart = new Array(this.stackLength);\n\t\t\t\tthis.runLength = new Array(this.stackLength);\n\t\t\t}\n\t\t\tTimSort.prototype.pushRun = function pushRun(runStart, runLength) {\n\t\t\t\tthis.runStart[this.stackSize] = runStart;\n\t\t\t\tthis.runLength[this.stackSize] = runLength;\n\t\t\t\tthis.stackSize += 1;\n\t\t\t};\n\t\t\tTimSort.prototype.mergeRuns = function mergeRuns() {\n\t\t\t\twhile (this.stackSize > 1) {\n\t\t\t\t\tvar n = this.stackSize - 2;\n\t\t\t\t\tif (n >= 1 && this.runLength[n - 1] <= this.runLength[n] + this.runLength[n + 1] || n >= 2 && this.runLength[n - 2] <= this.runLength[n] + this.runLength[n - 1]) {\n\t\t\t\t\t\tif (this.runLength[n - 1] < this.runLength[n + 1]) n--;\n\t\t\t\t\t} else if (this.runLength[n] > this.runLength[n + 1]) break;\n\t\t\t\t\tthis.mergeAt(n);\n\t\t\t\t}\n\t\t\t};\n\t\t\tTimSort.prototype.forceMergeRuns = function forceMergeRuns() {\n\t\t\t\twhile (this.stackSize > 1) {\n\t\t\t\t\tvar n = this.stackSize - 2;\n\t\t\t\t\tif (n > 0 && this.runLength[n - 1] < this.runLength[n + 1]) n--;\n\t\t\t\t\tthis.mergeAt(n);\n\t\t\t\t}\n\t\t\t};\n\t\t\tTimSort.prototype.mergeAt = function mergeAt(i) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar start1 = this.runStart[i];\n\t\t\t\tvar length1 = this.runLength[i];\n\t\t\t\tvar start2 = this.runStart[i + 1];\n\t\t\t\tvar length2 = this.runLength[i + 1];\n\t\t\t\tthis.runLength[i] = length1 + length2;\n\t\t\t\tif (i === this.stackSize - 3) {\n\t\t\t\t\tthis.runStart[i + 1] = this.runStart[i + 2];\n\t\t\t\t\tthis.runLength[i + 1] = this.runLength[i + 2];\n\t\t\t\t}\n\t\t\t\tthis.stackSize--;\n\t\t\t\tvar k = gallopRight(array[start2], array, start1, length1, 0, compare);\n\t\t\t\tstart1 += k;\n\t\t\t\tlength1 -= k;\n\t\t\t\tif (length1 === 0) return;\n\t\t\t\tlength2 = gallopLeft(array[start1 + length1 - 1], array, start2, length2, length2 - 1, compare);\n\t\t\t\tif (length2 === 0) return;\n\t\t\t\tif (length1 <= length2) this.mergeLow(start1, length1, start2, length2);\n\t\t\t\telse this.mergeHigh(start1, length1, start2, length2);\n\t\t\t};\n\t\t\tTimSort.prototype.mergeLow = function mergeLow(start1, length1, start2, length2) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar tmp = this.tmp;\n\t\t\t\tvar i = 0;\n\t\t\t\tfor (i = 0; i < length1; i++) tmp[i] = array[start1 + i];\n\t\t\t\tvar cursor1 = 0;\n\t\t\t\tvar cursor2 = start2;\n\t\t\t\tvar dest = start1;\n\t\t\t\tarray[dest++] = array[cursor2++];\n\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\tfor (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (length1 === 1) {\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\tarray[dest + length2] = tmp[cursor1];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar minGallop = this.minGallop;\n\t\t\t\twhile (true) {\n\t\t\t\t\tvar count1 = 0;\n\t\t\t\t\tvar count2 = 0;\n\t\t\t\t\tvar exit = false;\n\t\t\t\t\tdo\n\t\t\t\t\t\tif (compare(array[cursor2], tmp[cursor1]) < 0) {\n\t\t\t\t\t\t\tarray[dest++] = array[cursor2++];\n\t\t\t\t\t\t\tcount2++;\n\t\t\t\t\t\t\tcount1 = 0;\n\t\t\t\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = tmp[cursor1++];\n\t\t\t\t\t\t\tcount1++;\n\t\t\t\t\t\t\tcount2 = 0;\n\t\t\t\t\t\t\tif (--length1 === 1) {\n\t\t\t\t\t\t\t\texit = true;\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\twhile ((count1 | count2) < minGallop);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tdo {\n\t\t\t\t\t\tcount1 = gallopRight(array[cursor2], tmp, cursor1, length1, 0, compare);\n\t\t\t\t\t\tif (count1 !== 0) {\n\t\t\t\t\t\t\tfor (i = 0; i < count1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t\t\t\t\tdest += count1;\n\t\t\t\t\t\t\tcursor1 += count1;\n\t\t\t\t\t\t\tlength1 -= count1;\n\t\t\t\t\t\t\tif (length1 <= 1) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = array[cursor2++];\n\t\t\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcount2 = gallopLeft(tmp[cursor1], array, cursor2, length2, 0, compare);\n\t\t\t\t\t\tif (count2 !== 0) {\n\t\t\t\t\t\t\tfor (i = 0; i < count2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\t\t\tdest += count2;\n\t\t\t\t\t\t\tcursor2 += count2;\n\t\t\t\t\t\t\tlength2 -= count2;\n\t\t\t\t\t\t\tif (length2 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = tmp[cursor1++];\n\t\t\t\t\t\tif (--length1 === 1) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tminGallop--;\n\t\t\t\t\t} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tif (minGallop < 0) minGallop = 0;\n\t\t\t\t\tminGallop += 2;\n\t\t\t\t}\n\t\t\t\tthis.minGallop = minGallop;\n\t\t\t\tif (minGallop < 1) this.minGallop = 1;\n\t\t\t\tif (length1 === 1) {\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\tarray[dest + length2] = tmp[cursor1];\n\t\t\t\t} else if (length1 === 0) throw new Error(\"mergeLow preconditions were not respected\");\n\t\t\t\telse for (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t};\n\t\t\tTimSort.prototype.mergeHigh = function mergeHigh(start1, length1, start2, length2) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar tmp = this.tmp;\n\t\t\t\tvar i = 0;\n\t\t\t\tfor (i = 0; i < length2; i++) tmp[i] = array[start2 + i];\n\t\t\t\tvar cursor1 = start1 + length1 - 1;\n\t\t\t\tvar cursor2 = length2 - 1;\n\t\t\t\tvar dest = start2 + length2 - 1;\n\t\t\t\tvar customCursor = 0;\n\t\t\t\tvar customDest = 0;\n\t\t\t\tarray[dest--] = array[cursor1--];\n\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\tcustomCursor = dest - (length2 - 1);\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (length2 === 1) {\n\t\t\t\t\tdest -= length1;\n\t\t\t\t\tcursor1 -= length1;\n\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\tfor (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\tarray[dest] = tmp[cursor2];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar minGallop = this.minGallop;\n\t\t\t\twhile (true) {\n\t\t\t\t\tvar count1 = 0;\n\t\t\t\t\tvar count2 = 0;\n\t\t\t\t\tvar exit = false;\n\t\t\t\t\tdo\n\t\t\t\t\t\tif (compare(tmp[cursor2], array[cursor1]) < 0) {\n\t\t\t\t\t\t\tarray[dest--] = array[cursor1--];\n\t\t\t\t\t\t\tcount1++;\n\t\t\t\t\t\t\tcount2 = 0;\n\t\t\t\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = tmp[cursor2--];\n\t\t\t\t\t\t\tcount2++;\n\t\t\t\t\t\t\tcount1 = 0;\n\t\t\t\t\t\t\tif (--length2 === 1) {\n\t\t\t\t\t\t\t\texit = true;\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\twhile ((count1 | count2) < minGallop);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tdo {\n\t\t\t\t\t\tcount1 = length1 - gallopRight(tmp[cursor2], array, start1, length1, length1 - 1, compare);\n\t\t\t\t\t\tif (count1 !== 0) {\n\t\t\t\t\t\t\tdest -= count1;\n\t\t\t\t\t\t\tcursor1 -= count1;\n\t\t\t\t\t\t\tlength1 -= count1;\n\t\t\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\t\t\tfor (i = count1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\t\t\tif (length1 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = tmp[cursor2--];\n\t\t\t\t\t\tif (--length2 === 1) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcount2 = length2 - gallopLeft(array[cursor1], tmp, 0, length2, length2 - 1, compare);\n\t\t\t\t\t\tif (count2 !== 0) {\n\t\t\t\t\t\t\tdest -= count2;\n\t\t\t\t\t\t\tcursor2 -= count2;\n\t\t\t\t\t\t\tlength2 -= count2;\n\t\t\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\t\t\tcustomCursor = cursor2 + 1;\n\t\t\t\t\t\t\tfor (i = 0; i < count2; i++) array[customDest + i] = tmp[customCursor + i];\n\t\t\t\t\t\t\tif (length2 <= 1) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = array[cursor1--];\n\t\t\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tminGallop--;\n\t\t\t\t\t} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tif (minGallop < 0) minGallop = 0;\n\t\t\t\t\tminGallop += 2;\n\t\t\t\t}\n\t\t\t\tthis.minGallop = minGallop;\n\t\t\t\tif (minGallop < 1) this.minGallop = 1;\n\t\t\t\tif (length2 === 1) {\n\t\t\t\t\tdest -= length1;\n\t\t\t\t\tcursor1 -= length1;\n\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\tfor (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\tarray[dest] = tmp[cursor2];\n\t\t\t\t} else if (length2 === 0) throw new Error(\"mergeHigh preconditions were not respected\");\n\t\t\t\telse {\n\t\t\t\t\tcustomCursor = dest - (length2 - 1);\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];\n\t\t\t\t}\n\t\t\t};\n\t\t\treturn TimSort;\n\t\t})();\n\t\tfunction sort(array, compare, lo, hi) {\n\t\t\tif (!Array.isArray(array)) throw new TypeError(\"Can only sort arrays\");\n\t\t\tif (!compare) compare = alphabeticalCompare;\n\t\t\telse if (typeof compare !== \"function\") {\n\t\t\t\thi = lo;\n\t\t\t\tlo = compare;\n\t\t\t\tcompare = alphabeticalCompare;\n\t\t\t}\n\t\t\tif (!lo) lo = 0;\n\t\t\tif (!hi) hi = array.length;\n\t\t\tvar remaining = hi - lo;\n\t\t\tif (remaining < 2) return;\n\t\t\tvar runLength = 0;\n\t\t\tif (remaining < DEFAULT_MIN_MERGE) {\n\t\t\t\trunLength = makeAscendingRun(array, lo, hi, compare);\n\t\t\t\tbinaryInsertionSort(array, lo, hi, lo + runLength, compare);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar ts = new TimSort(array, compare);\n\t\t\tvar minRun = minRunLength(remaining);\n\t\t\tdo {\n\t\t\t\trunLength = makeAscendingRun(array, lo, hi, compare);\n\t\t\t\tif (runLength < minRun) {\n\t\t\t\t\tvar force = remaining;\n\t\t\t\t\tif (force > minRun) force = minRun;\n\t\t\t\t\tbinaryInsertionSort(array, lo, lo + force, lo + runLength, compare);\n\t\t\t\t\trunLength = force;\n\t\t\t\t}\n\t\t\t\tts.pushRun(lo, runLength);\n\t\t\t\tts.mergeRuns();\n\t\t\t\tremaining -= runLength;\n\t\t\t\tlo += runLength;\n\t\t\t} while (remaining !== 0);\n\t\t\tts.forceMergeRuns();\n\t\t}\n\t});\n}));\nvar require_timsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = require_timsort$1();\n}));\nvar require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\t/**\n\t@typedef {(Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array)} TypedArray\n\t*/\n\t/**\n\t* Error message for a case when percentile is less than 0.\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction lessThanZeroError(p) {\n\t\treturn \"Expect percentile to be >= 0 but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Error message for a case when percentile is greater than 100.\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction greaterThanHundredError(p) {\n\t\treturn \"Expect percentile to be <= 100 but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Error message for a case when percentile is not a number (NaN).\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction nanError(p) {\n\t\treturn \"Expect percentile to be a number but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Checks that a list of percentiles are all numbers and they lie in range 0..100.\n\t*\n\t* @param {Array<Number>} ps - percentiles to calculate\n\t*\n\t* @return {Array} List of errors\n\t*/\n\tfunction validateInput(ps) {\n\t\treturn ps.reduce(function(errors, p) {\n\t\t\tif (isNaN(Number(p))) errors.push(nanError(p));\n\t\t\telse if (p < 0) errors.push(lessThanZeroError(p));\n\t\t\telse if (p > 100) errors.push(greaterThanHundredError(p));\n\t\t\treturn errors;\n\t\t}, []);\n\t}\n\t/**\n\t* Get percentile value from an array.\n\t*\n\t* @param {Number} p - percentile\n\t* @param {Array|TypedArray} list - list of values\n\t*\n\t* @return {*}\n\t*/\n\tfunction getPsValue(p, list) {\n\t\tif (p === 0) return list[0];\n\t\treturn list[Math.ceil(list.length * (p / 100)) - 1];\n\t}\n\t/**\n\t* Calculate percentile for given array of values.\n\t*\n\t* @template T\n\t* @param {Number|Array<Number>} pOrPs - percentile or a list of percentiles\n\t* @param {Array<T>|Array<Number>|TypedArray} list - array of values\n\t* @param {function(T): Number} [fn] - optional function to extract a value from an array item\n\t*\n\t* @return {Number|T|Array<Number>|Array<T>}\n\t*/\n\tfunction percentile(pOrPs, list, fn) {\n\t\tvar ps = Array.isArray(pOrPs) ? pOrPs : [pOrPs];\n\t\tvar validationErrors = validateInput(ps);\n\t\tif (validationErrors.length) throw new Error(validationErrors.join(\" \"));\n\t\tlist = list.slice().sort(function(a, b) {\n\t\t\tif (fn) {\n\t\t\t\ta = fn(a);\n\t\t\t\tb = fn(b);\n\t\t\t}\n\t\t\ta = Number.isNaN(a) ? Number.NEGATIVE_INFINITY : a;\n\t\t\tb = Number.isNaN(b) ? Number.NEGATIVE_INFINITY : b;\n\t\t\tif (a > b) return 1;\n\t\t\tif (a < b) return -1;\n\t\t\treturn 0;\n\t\t});\n\t\tif (ps.length === 1) return getPsValue(ps[0], list);\n\t\treturn ps.map(function(p) {\n\t\t\treturn getPsValue(p, list);\n\t\t});\n\t}\n\tmodule.exports = percentile;\n}));\nvar import_timsort = /* @__PURE__ */ __toESM(require_timsort(), 1);\nvar import_lib = /* @__PURE__ */ __toESM(require_lib(), 1);\nvar InstrumentGauge = class extends InstrumentBase {\n\t#val = 0;\n\t#maxval = null;\n\t#lastObservedValue = 0;\n\t#timeSeriesList = [];\n\t#maxSampleSize = 0;\n\t#timerInterval = 0;\n\t#observer = null;\n\t#min = null;\n\t#max = 0;\n\t#observations = 0;\n\t#total = 0;\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (!options.label) this.label = \"InstrumentGauge\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.interval === \"undefined\") this.#timerInterval = 0;\n\t\telse this.#timerInterval = options.interval;\n\t\tif (typeof options.sampleSize === \"undefined\") this.#maxSampleSize = 600;\n\t\telse this.#maxSampleSize = options.sampleSize;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_GAUGE\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\n\t\t\t\"val\",\n\t\t\t\"min\",\n\t\t\t\"max\",\n\t\t\t\"avg\",\n\t\t\t\"percentile\"\n\t\t]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (this.#timerInterval > 0) {\n\t\t\t\tObject.defineProperty(this, \"percentile\", {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tget: () => this.#GetPercentileData()\n\t\t\t\t});\n\t\t\t\tthis._StartTimer();\n\t\t\t}\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.val = result.val;\n\t\t\tif (result.percentile) this.percentile = result.percentile;\n\t\t\tif (result.min) this.min = result.min;\n\t\t\tif (result.max) this.max = result.max;\n\t\t\tif (result.avg) this.avg = result.avg;\n\t\t}\n\t}\n\tpercentile;\n\tmin;\n\tmax;\n\tavg;\n\tval = 0;\n\tWithInitVal(initVal) {\n\t\tthis.val = initVal;\n\t\treturn this;\n\t}\n\tWithMin() {\n\t\tObject.defineProperty(this, \"min\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetMin()\n\t\t});\n\t\treturn this;\n\t}\n\tWithMax() {\n\t\tObject.defineProperty(this, \"max\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetMax()\n\t\t});\n\t\treturn this;\n\t}\n\tWithAverage() {\n\t\tObject.defineProperty(this, \"avg\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetAverage()\n\t\t});\n\t\treturn this;\n\t}\n\t_StartTimer() {\n\t\tif (this.#timerInterval > 0) {\n\t\t\tthis.#timeSeriesList = [];\n\t\t\tthis.#observer = setInterval(() => {\n\t\t\t\tif (this.#timeSeriesList.length > this.#maxSampleSize) this.#timeSeriesList.shift();\n\t\t\t\tconst maxval = this.#GetAndResetMaxVal();\n\t\t\t\tthis.#timeSeriesList.push(maxval);\n\t\t\t}, this.#timerInterval);\n\t\t\tif (isNode) this.#observer.unref();\n\t\t} else throw new Error(`Unable to StartTimer for this instrument. The interval is set to <= 0.`);\n\t}\n\tStopTimer() {\n\t\tif (this.#observer) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tthis.#timeSeriesList = [];\n\t\t}\n\t}\n\t/**\n\t* If the gauge is being monitored as part of a time series, get the most recent recorded value (max value) from within the time interval\n\t* otherwise, just return the current instant value.\n\t*/\n\t#GetVal() {\n\t\tif (this.#timerInterval > 0 && this.#observer !== null) if (this.#maxval === null) return this.GetNumber(this.#lastObservedValue);\n\t\telse return this.GetNumber(this.#maxval);\n\t\treturn this.GetNumber(this.#val);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#val = updatedValue;\n\t\tthis.#observations++;\n\t\tthis.#total += updatedValue;\n\t\tif (this.#val > this.#max) this.#max = this.#val;\n\t\tif (this.#min !== null) {\n\t\t\tif (this.#val < this.#min) this.#min = this.#val;\n\t\t} else this.#min = this.#val;\n\t\tif (this.#timerInterval > 0) {\n\t\t\tthis.#lastObservedValue = updatedValue;\n\t\t\tif (this.#maxval === null) this.#maxval = this.#val;\n\t\t\telse if (this.#val > this.#maxval) this.#maxval = this.#val;\n\t\t}\n\t}\n\t#GetMin() {\n\t\tif (this.#min !== null) return this.#min;\n\t\treturn 0;\n\t}\n\t#GetMax() {\n\t\treturn this.#max;\n\t}\n\t#GetAverage() {\n\t\tif (this.#observations > 0) return this.#total / this.#observations;\n\t\treturn 0;\n\t}\n\tReset() {\n\t\tthis.StopTimer();\n\t\tthis.#maxval = 0;\n\t\tthis.#lastObservedValue = 0;\n\t\tthis.#val = 0;\n\t\tthis.#min = null;\n\t\tthis.#max = 0;\n\t\tthis.#observations = 0;\n\t\tthis.#total = 0;\n\t\tif (this.#timerInterval > 0) this._StartTimer();\n\t}\n\t#GetAndResetMaxVal() {\n\t\tif (this.#maxval === null) return this.#lastObservedValue;\n\t\tconst retVal = this.#maxval;\n\t\tthis.#maxval = null;\n\t\treturn retVal;\n\t}\n\tInc(incVal = 1) {\n\t\tthis.#SetVal(this.#val + incVal);\n\t}\n\tDec(decVal = 1) {\n\t\tthis.#SetVal(this.#val - decVal);\n\t}\n\t#NumberCompare(a, b) {\n\t\treturn a - b;\n\t}\n\t#GetPercentileData() {\n\t\tconst sortedList = this.#timeSeriesList.slice(0);\n\t\timport_timsort.sort(sortedList, this.#NumberCompare);\n\t\treturn (0, import_lib.default)([\n\t\t\t50,\n\t\t\t80,\n\t\t\t90,\n\t\t\t95,\n\t\t\t99,\n\t\t\t99.95\n\t\t], sortedList);\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.Inc !== void 0) this.Inc(telemetry.Inc);\n\t\tif (telemetry.Dec !== void 0) this.Dec(telemetry.Dec);\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar InstrumentObject = class extends InstrumentBase {\n\t#val = {};\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentObject\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_OBJECT\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetVal(),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\telse this.val = {};\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t}\n\tval;\n\tWithInitVal(initVal) {\n\t\tthis.val = initVal;\n\t\treturn this;\n\t}\n\t#GetVal() {\n\t\treturn this.#val;\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#val = updatedValue;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs\nfunction utf8Count(str) {\n\tconst strLength = str.length;\n\tlet byteLength = 0;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\tbyteLength++;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) byteLength += 2;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) byteLength += 3;\n\t\t\telse byteLength += 4;\n\t\t}\n\t}\n\treturn byteLength;\n}\nfunction utf8EncodeJs(str, output, outputOffset) {\n\tconst strLength = str.length;\n\tlet offset = outputOffset;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\toutput[offset++] = value;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) output[offset++] = value >> 6 & 31 | 192;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) {\n\t\t\t\toutput[offset++] = value >> 12 & 15 | 224;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t} else {\n\t\t\t\toutput[offset++] = value >> 18 & 7 | 240;\n\t\t\t\toutput[offset++] = value >> 12 & 63 | 128;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t}\n\t\t}\n\t\toutput[offset++] = value & 63 | 128;\n\t}\n}\nvar sharedTextEncoder = new TextEncoder();\nvar TEXT_ENCODER_THRESHOLD = 50;\nfunction utf8EncodeTE(str, output, outputOffset) {\n\tsharedTextEncoder.encodeInto(str, output.subarray(outputOffset));\n}\nfunction utf8Encode(str, output, outputOffset) {\n\tif (str.length > TEXT_ENCODER_THRESHOLD) utf8EncodeTE(str, output, outputOffset);\n\telse utf8EncodeJs(str, output, outputOffset);\n}\nnew TextDecoder();\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs\n/**\n* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.\n*/\nvar ExtData = class {\n\ttype;\n\tdata;\n\tconstructor(type, data) {\n\t\tthis.type = type;\n\t\tthis.data = data;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs\nvar DecodeError = class DecodeError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tconst proto = Object.create(DecodeError.prototype);\n\t\tObject.setPrototypeOf(this, proto);\n\t\tObject.defineProperty(this, \"name\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: DecodeError.name\n\t\t});\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs\nfunction setUint64(view, offset, value) {\n\tconst high = value / 4294967296;\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction setInt64(view, offset, value) {\n\tconst high = Math.floor(value / 4294967296);\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction getInt64(view, offset) {\n\tconst high = view.getInt32(offset);\n\tconst low = view.getUint32(offset + 4);\n\treturn high * 4294967296 + low;\n}\nvar TIMESTAMP32_MAX_SEC = 4294967295;\nvar TIMESTAMP64_MAX_SEC = 17179869183;\nfunction encodeTimeSpecToTimestamp({ sec, nsec }) {\n\tif (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) if (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {\n\t\tconst rv = new Uint8Array(4);\n\t\tnew DataView(rv.buffer).setUint32(0, sec);\n\t\treturn rv;\n\t} else {\n\t\tconst secHigh = sec / 4294967296;\n\t\tconst secLow = sec & 4294967295;\n\t\tconst rv = new Uint8Array(8);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec << 2 | secHigh & 3);\n\t\tview.setUint32(4, secLow);\n\t\treturn rv;\n\t}\n\telse {\n\t\tconst rv = new Uint8Array(12);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec);\n\t\tsetInt64(view, 4, sec);\n\t\treturn rv;\n\t}\n}\nfunction encodeDateToTimeSpec(date) {\n\tconst msec = date.getTime();\n\tconst sec = Math.floor(msec / 1e3);\n\tconst nsec = (msec - sec * 1e3) * 1e6;\n\tconst nsecInSec = Math.floor(nsec / 1e9);\n\treturn {\n\t\tsec: sec + nsecInSec,\n\t\tnsec: nsec - nsecInSec * 1e9\n\t};\n}\nfunction encodeTimestampExtension(object) {\n\tif (object instanceof Date) return encodeTimeSpecToTimestamp(encodeDateToTimeSpec(object));\n\telse return null;\n}\nfunction decodeTimestampToTimeSpec(data) {\n\tconst view = new DataView(data.buffer, data.byteOffset, data.byteLength);\n\tswitch (data.byteLength) {\n\t\tcase 4: return {\n\t\t\tsec: view.getUint32(0),\n\t\t\tnsec: 0\n\t\t};\n\t\tcase 8: {\n\t\t\tconst nsec30AndSecHigh2 = view.getUint32(0);\n\t\t\tconst secLow32 = view.getUint32(4);\n\t\t\treturn {\n\t\t\t\tsec: (nsec30AndSecHigh2 & 3) * 4294967296 + secLow32,\n\t\t\t\tnsec: nsec30AndSecHigh2 >>> 2\n\t\t\t};\n\t\t}\n\t\tcase 12: return {\n\t\t\tsec: getInt64(view, 4),\n\t\t\tnsec: view.getUint32(0)\n\t\t};\n\t\tdefault: throw new DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${data.length}`);\n\t}\n}\nfunction decodeTimestampExtension(data) {\n\tconst timeSpec = decodeTimestampToTimeSpec(data);\n\treturn /* @__PURE__ */ new Date(timeSpec.sec * 1e3 + timeSpec.nsec / 1e6);\n}\nvar timestampExtension = {\n\ttype: -1,\n\tencode: encodeTimestampExtension,\n\tdecode: decodeTimestampExtension\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs\nvar ExtensionCodec = class ExtensionCodec {\n\tstatic defaultCodec = new ExtensionCodec();\n\t__brand;\n\tbuiltInEncoders = [];\n\tbuiltInDecoders = [];\n\tencoders = [];\n\tdecoders = [];\n\tconstructor() {\n\t\tthis.register(timestampExtension);\n\t}\n\tregister({ type, encode, decode }) {\n\t\tif (type >= 0) {\n\t\t\tthis.encoders[type] = encode;\n\t\t\tthis.decoders[type] = decode;\n\t\t} else {\n\t\t\tconst index = -1 - type;\n\t\t\tthis.builtInEncoders[index] = encode;\n\t\t\tthis.builtInDecoders[index] = decode;\n\t\t}\n\t}\n\ttryToEncode(object, context) {\n\t\tfor (let i = 0; i < this.builtInEncoders.length; i++) {\n\t\t\tconst encodeExt = this.builtInEncoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(-1 - i, data);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < this.encoders.length; i++) {\n\t\t\tconst encodeExt = this.encoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(i, data);\n\t\t\t}\n\t\t}\n\t\tif (object instanceof ExtData) return object;\n\t\treturn null;\n\t}\n\tdecode(data, type, context) {\n\t\tconst decodeExt = type < 0 ? this.builtInDecoders[-1 - type] : this.decoders[type];\n\t\tif (decodeExt) return decodeExt(data, type, context);\n\t\telse return new ExtData(type, data);\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs\nfunction isArrayBufferLike(buffer) {\n\treturn buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== \"undefined\" && buffer instanceof SharedArrayBuffer;\n}\nfunction ensureUint8Array(buffer) {\n\tif (buffer instanceof Uint8Array) return buffer;\n\telse if (ArrayBuffer.isView(buffer)) return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n\telse if (isArrayBufferLike(buffer)) return new Uint8Array(buffer);\n\telse return Uint8Array.from(buffer);\n}\nvar Encoder = class Encoder {\n\textensionCodec;\n\tcontext;\n\tuseBigInt64;\n\tmaxDepth;\n\tinitialBufferSize;\n\tsortKeys;\n\tforceFloat32;\n\tignoreUndefined;\n\tforceIntegerToFloat;\n\tpos;\n\tview;\n\tbytes;\n\tentered = false;\n\tconstructor(options) {\n\t\tthis.extensionCodec = options?.extensionCodec ?? ExtensionCodec.defaultCodec;\n\t\tthis.context = options?.context;\n\t\tthis.useBigInt64 = options?.useBigInt64 ?? false;\n\t\tthis.maxDepth = options?.maxDepth ?? 100;\n\t\tthis.initialBufferSize = options?.initialBufferSize ?? 2048;\n\t\tthis.sortKeys = options?.sortKeys ?? false;\n\t\tthis.forceFloat32 = options?.forceFloat32 ?? false;\n\t\tthis.ignoreUndefined = options?.ignoreUndefined ?? false;\n\t\tthis.forceIntegerToFloat = options?.forceIntegerToFloat ?? false;\n\t\tthis.pos = 0;\n\t\tthis.view = new DataView(new ArrayBuffer(this.initialBufferSize));\n\t\tthis.bytes = new Uint8Array(this.view.buffer);\n\t}\n\tclone() {\n\t\treturn new Encoder({\n\t\t\textensionCodec: this.extensionCodec,\n\t\t\tcontext: this.context,\n\t\t\tuseBigInt64: this.useBigInt64,\n\t\t\tmaxDepth: this.maxDepth,\n\t\t\tinitialBufferSize: this.initialBufferSize,\n\t\t\tsortKeys: this.sortKeys,\n\t\t\tforceFloat32: this.forceFloat32,\n\t\t\tignoreUndefined: this.ignoreUndefined,\n\t\t\tforceIntegerToFloat: this.forceIntegerToFloat\n\t\t});\n\t}\n\treinitializeState() {\n\t\tthis.pos = 0;\n\t}\n\t/**\n\t* This is almost equivalent to {@link Encoder#encode}, but it returns an reference of the encoder's internal buffer and thus much faster than {@link Encoder#encode}.\n\t*\n\t* @returns Encodes the object and returns a shared reference the encoder's internal buffer.\n\t*/\n\tencodeSharedRef(object) {\n\t\tif (this.entered) return this.clone().encodeSharedRef(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.subarray(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\t/**\n\t* @returns Encodes the object and returns a copy of the encoder's internal buffer.\n\t*/\n\tencode(object) {\n\t\tif (this.entered) return this.clone().encode(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.slice(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\tdoEncode(object, depth) {\n\t\tif (depth > this.maxDepth) throw new Error(`Too deep objects in depth ${depth}`);\n\t\tif (object == null) this.encodeNil();\n\t\telse if (typeof object === \"boolean\") this.encodeBoolean(object);\n\t\telse if (typeof object === \"number\") if (!this.forceIntegerToFloat) this.encodeNumber(object);\n\t\telse this.encodeNumberAsFloat(object);\n\t\telse if (typeof object === \"string\") this.encodeString(object);\n\t\telse if (this.useBigInt64 && typeof object === \"bigint\") this.encodeBigInt64(object);\n\t\telse this.encodeObject(object, depth);\n\t}\n\tensureBufferSizeToWrite(sizeToWrite) {\n\t\tconst requiredSize = this.pos + sizeToWrite;\n\t\tif (this.view.byteLength < requiredSize) this.resizeBuffer(requiredSize * 2);\n\t}\n\tresizeBuffer(newSize) {\n\t\tconst newBuffer = new ArrayBuffer(newSize);\n\t\tconst newBytes = new Uint8Array(newBuffer);\n\t\tconst newView = new DataView(newBuffer);\n\t\tnewBytes.set(this.bytes);\n\t\tthis.view = newView;\n\t\tthis.bytes = newBytes;\n\t}\n\tencodeNil() {\n\t\tthis.writeU8(192);\n\t}\n\tencodeBoolean(object) {\n\t\tif (object === false) this.writeU8(194);\n\t\telse this.writeU8(195);\n\t}\n\tencodeNumber(object) {\n\t\tif (!this.forceIntegerToFloat && Number.isSafeInteger(object)) if (object >= 0) if (object < 128) this.writeU8(object);\n\t\telse if (object < 256) {\n\t\t\tthis.writeU8(204);\n\t\t\tthis.writeU8(object);\n\t\t} else if (object < 65536) {\n\t\t\tthis.writeU8(205);\n\t\t\tthis.writeU16(object);\n\t\t} else if (object < 4294967296) {\n\t\t\tthis.writeU8(206);\n\t\t\tthis.writeU32(object);\n\t\t} else if (!this.useBigInt64) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeU64(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t\telse if (object >= -32) this.writeU8(224 | object + 32);\n\t\telse if (object >= -128) {\n\t\t\tthis.writeU8(208);\n\t\t\tthis.writeI8(object);\n\t\t} else if (object >= -32768) {\n\t\t\tthis.writeU8(209);\n\t\t\tthis.writeI16(object);\n\t\t} else if (object >= -2147483648) {\n\t\t\tthis.writeU8(210);\n\t\t\tthis.writeI32(object);\n\t\t} else if (!this.useBigInt64) {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeI64(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t\telse this.encodeNumberAsFloat(object);\n\t}\n\tencodeNumberAsFloat(object) {\n\t\tif (this.forceFloat32) {\n\t\t\tthis.writeU8(202);\n\t\t\tthis.writeF32(object);\n\t\t} else {\n\t\t\tthis.writeU8(203);\n\t\t\tthis.writeF64(object);\n\t\t}\n\t}\n\tencodeBigInt64(object) {\n\t\tif (object >= BigInt(0)) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeBigUint64(object);\n\t\t} else {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeBigInt64(object);\n\t\t}\n\t}\n\twriteStringHeader(byteLength) {\n\t\tif (byteLength < 32) this.writeU8(160 + byteLength);\n\t\telse if (byteLength < 256) {\n\t\t\tthis.writeU8(217);\n\t\t\tthis.writeU8(byteLength);\n\t\t} else if (byteLength < 65536) {\n\t\t\tthis.writeU8(218);\n\t\t\tthis.writeU16(byteLength);\n\t\t} else if (byteLength < 4294967296) {\n\t\t\tthis.writeU8(219);\n\t\t\tthis.writeU32(byteLength);\n\t\t} else throw new Error(`Too long string: ${byteLength} bytes in UTF-8`);\n\t}\n\tencodeString(object) {\n\t\tconst maxHeaderSize = 5;\n\t\tconst byteLength = utf8Count(object);\n\t\tthis.ensureBufferSizeToWrite(maxHeaderSize + byteLength);\n\t\tthis.writeStringHeader(byteLength);\n\t\tutf8Encode(object, this.bytes, this.pos);\n\t\tthis.pos += byteLength;\n\t}\n\tencodeObject(object, depth) {\n\t\tconst ext = this.extensionCodec.tryToEncode(object, this.context);\n\t\tif (ext != null) this.encodeExtension(ext);\n\t\telse if (Array.isArray(object)) this.encodeArray(object, depth);\n\t\telse if (ArrayBuffer.isView(object)) this.encodeBinary(object);\n\t\telse if (typeof object === \"object\") this.encodeMap(object, depth);\n\t\telse throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(object)}`);\n\t}\n\tencodeBinary(object) {\n\t\tconst size = object.byteLength;\n\t\tif (size < 256) {\n\t\t\tthis.writeU8(196);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(197);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(198);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large binary: ${size}`);\n\t\tconst bytes = ensureUint8Array(object);\n\t\tthis.writeU8a(bytes);\n\t}\n\tencodeArray(object, depth) {\n\t\tconst size = object.length;\n\t\tif (size < 16) this.writeU8(144 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(220);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(221);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large array: ${size}`);\n\t\tfor (const item of object) this.doEncode(item, depth + 1);\n\t}\n\tcountWithoutUndefined(object, keys) {\n\t\tlet count = 0;\n\t\tfor (const key of keys) if (object[key] !== void 0) count++;\n\t\treturn count;\n\t}\n\tencodeMap(object, depth) {\n\t\tconst keys = Object.keys(object);\n\t\tif (this.sortKeys) keys.sort();\n\t\tconst size = this.ignoreUndefined ? this.countWithoutUndefined(object, keys) : keys.length;\n\t\tif (size < 16) this.writeU8(128 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(222);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(223);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large map object: ${size}`);\n\t\tfor (const key of keys) {\n\t\t\tconst value = object[key];\n\t\t\tif (!(this.ignoreUndefined && value === void 0)) {\n\t\t\t\tthis.encodeString(key);\n\t\t\t\tthis.doEncode(value, depth + 1);\n\t\t\t}\n\t\t}\n\t}\n\tencodeExtension(ext) {\n\t\tif (typeof ext.data === \"function\") {\n\t\t\tconst data = ext.data(this.pos + 6);\n\t\t\tconst size = data.length;\n\t\t\tif (size >= 4294967296) throw new Error(`Too large extension object: ${size}`);\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t\tthis.writeI8(ext.type);\n\t\t\tthis.writeU8a(data);\n\t\t\treturn;\n\t\t}\n\t\tconst size = ext.data.length;\n\t\tif (size === 1) this.writeU8(212);\n\t\telse if (size === 2) this.writeU8(213);\n\t\telse if (size === 4) this.writeU8(214);\n\t\telse if (size === 8) this.writeU8(215);\n\t\telse if (size === 16) this.writeU8(216);\n\t\telse if (size < 256) {\n\t\t\tthis.writeU8(199);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(200);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large extension object: ${size}`);\n\t\tthis.writeI8(ext.type);\n\t\tthis.writeU8a(ext.data);\n\t}\n\twriteU8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setUint8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU8a(values) {\n\t\tconst size = values.length;\n\t\tthis.ensureBufferSizeToWrite(size);\n\t\tthis.bytes.set(values, this.pos);\n\t\tthis.pos += size;\n\t}\n\twriteI8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setInt8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setUint16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteI16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setInt16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteU32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setUint32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteI32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setInt32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setFloat32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setFloat64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteU64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetUint64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteI64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetInt64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigUint64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigUint64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigInt64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigInt64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/encode.mjs\n/**\n* It encodes `value` in the MessagePack format and\n* returns a byte buffer.\n*\n* The returned buffer is a slice of a larger `ArrayBuffer`, so you have to use its `#byteOffset` and `#byteLength` in order to convert it to another typed arrays including NodeJS `Buffer`.\n*/\nfunction encode(value, options) {\n\treturn new Encoder(options).encodeSharedRef(value);\n}\n//#endregion\n//#region src/publish/publishers/publishTransportRESTServer.ts\nvar PublishTransportRESTServer = class {\n\toptions;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\tPublish = async (payload) => {\n\t\ttry {\n\t\t\tif (this.options.showPublishPayload) {\n\t\t\t\tconsole.log(chalk.grey(`PublishTransportRESTServer::Publish() url: [${this.options.url}]`));\n\t\t\t\tconsole.log(payload);\n\t\t\t}\n\t\t\tconst encodedData = encode(payload, { ignoreUndefined: true });\n\t\t\tconst headers = { \"Content-Type\": \"application/octet-stream\" };\n\t\t\tlet retVal = null;\n\t\t\tif (this.options.socketPath) retVal = await axios({\n\t\t\t\tmethod: \"post\",\n\t\t\t\tdata: Buffer.from(encodedData),\n\t\t\t\theaders,\n\t\t\t\tsocketPath: this.options.socketPath\n\t\t\t});\n\t\t\telse if (isNode) if (this.options.agentManager) retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).withAgentManager(this.options.agentManager).config);\n\t\t\telse retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).config);\n\t\t\telse {\n\t\t\t\tconst blob = new Blob([new Uint8Array(encodedData)], { type: \"application/octet-stream\" });\n\t\t\t\tretVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(blob).config);\n\t\t\t}\n\t\t\tif (retVal.status !== 200) {\n\t\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\tthis.options.logger.debug(chalk.red(`Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\treturn false;\n\t\t\t} else if (this.options.showPublishPayload) console.log(chalk.grey(`PublishTransportRESTServer::Publish() _PerformPublishRESTAPI:_PerformPublish:#publishmessage: [${this.options.url}] - Valid response from server: [${retVal.status}]`));\n\t\t\treturn true;\n\t\t} catch (error) {\n\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (PublishRESTServer:_PerformPublishRESTAPI:Error: [${error}]`));\n\t\t\treturn false;\n\t\t}\n\t};\n\tasync Close() {\n\t\tif (this.options.agentManager) this.options.agentManager.Terminate();\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstruments.ts\nvar ePublishState$1 = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstruments = class {\n\toptions;\n\t#inPublish = false;\n\t#observer = null;\n\t#publishState = ePublishState$1.init;\n\t#publisherTransport = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.#publisherTransport = null;\n\t\tswitch (options.publishTransportBaseOptions.transportType) {\n\t\t\tcase TransportType.RESTAPI:\n\t\t\t\tthis.#publisherTransport = new PublishTransportRESTServer(options.publishTransportBaseOptions);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.init, \"constructor()\");\n\t}\n\tasync Publish() {\n\t\tif (this.#inPublish) return false;\n\t\tif (this.#publisherTransport) try {\n\t\t\tthis.#inPublish = true;\n\t\t\tif (this.options.publishInstrumentController) {\n\t\t\t\tconst instrumentPayload = this.options.publishInstrumentController.GetPayloadData();\n\t\t\t\treturn await this.#publisherTransport.Publish(instrumentPayload);\n\t\t\t}\n\t\t\treturn false;\n\t\t} catch (error) {\n\t\t\treturn false;\n\t\t} finally {\n\t\t\tthis.#inPublish = false;\n\t\t}\n\t\telse return false;\n\t}\n\t#PublishTimeoutLoop(publishInterval) {\n\t\tthis.#observer = setTimeout(async () => {\n\t\t\tconst start = performance.now();\n\t\t\tconst result = await this.Publish();\n\t\t\tconst diff = performance.now() - start;\n\t\t\tif (this.#publishState === ePublishState$1.started) if (result === true) this.#PublishTimeoutLoop(this.options.publishInterval - diff);\n\t\t\telse this.#PublishTimeoutLoop(this.options.publishPostFailInterval - diff);\n\t\t}, publishInterval);\n\t\tif (isNode) this.#observer.unref();\n\t}\n\tasync StartPublish() {\n\t\tif (this.#publishState !== ePublishState$1.init) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`StartPublish:${this.options.processContext.nid}: StartPublish called when not currently in the init state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.started, \"StartPublish()\");\n\t\tthis.#PublishTimeoutLoop(this.options.publishInterval);\n\t\treturn true;\n\t}\n\t#UpdateState(newState, comment) {\n\t\tconst previousState = this.#publishState;\n\t\tthis.#publishState = newState;\n\t\tthis.options.logger.debug(chalk.yellow(`#UpdateState:${this.options.processContext.nid}: Previous State: [${previousState}]. Current State: [${this.#publishState}]. Comment: [${comment}]`));\n\t}\n\tasync EndPublish() {\n\t\tif (this.#publishState !== ePublishState$1.started) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`EndPublish:${this.options.processContext.nid}: EndPublish called when not within the started state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.stopping, \"EndPublish() (1)\");\n\t\tif (this.#observer !== null) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tawait this.Publish();\n\t\t}\n\t\tif (this.#publisherTransport) await this.#publisherTransport.Close();\n\t\tthis.#UpdateState(ePublishState$1.init, \"EndPublish() (2)\");\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstrumentController.ts\nvar ePublishState = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstrumentController = class PublishInstrumentController {\n\toptions;\n\t#instruments = {};\n\t#publisher = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.SetupInstrumentation();\n\t\tthis.#publisher = new PublishInstruments({\n\t\t\tlogger: options.logger,\n\t\t\tprocessContext: { ...options.processContext },\n\t\t\tpublishInterval: options.publishInterval,\n\t\t\tpublishPostFailInterval: options.publishPostFailInterval,\n\t\t\tpublishInstrumentController: this,\n\t\t\tpublishTransportBaseOptions: { ...options.publishTransportBaseOptions }\n\t\t});\n\t\tif (this.options.autoStart === true) this.StartPublish();\n\t}\n\tasync StartPublish() {\n\t\treturn this.#publisher.StartPublish();\n\t}\n\tasync EndPublish() {\n\t\treturn this.#publisher.EndPublish();\n\t}\n\tasync Publish() {\n\t\treturn this.#publisher.Publish();\n\t}\n\tLogEx = (message) => {\n\t\tthis.UpdateInstrument(Gauge.LOGGER, { LogMessage: message });\n\t};\n\t#GetInstrument(instrumentName) {\n\t\treturn this.#instruments[instrumentName];\n\t}\n\t#ProcessTelemetryCommand(instrumentName, telemetry) {\n\t\tconst instrument = this.#GetInstrument(instrumentName);\n\t\tif (instrument) instrument.ProcessTelemetry(telemetry);\n\t}\n\t#CreateInstrument(instrumentType, options) {\n\t\tlet instrument;\n\t\tswitch (instrumentType) {\n\t\t\tcase GaugeTypes.INSTRUMENT_GAUGE:\n\t\t\t\tinstrument = new InstrumentGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_HISTOGRAM:\n\t\t\t\tinstrument = new InstrumentHistogram(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_LOG:\n\t\t\t\tinstrument = new InstrumentLog(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_OBJECT:\n\t\t\t\tinstrument = new InstrumentObject(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_TIMER:\n\t\t\t\tinstrument = new InstrumentTimerGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_VELOCITY:\n\t\t\t\tinstrument = new InstrumentVelocity(options);\n\t\t\t\tbreak;\n\t\t\tdefault: throw new Error(`Gauge type: [${instrumentType} not known.]`);\n\t\t}\n\t\treturn instrument;\n\t}\n\t#CreateInstruments(payload) {\n\t\tpayload.forEach((instrumentDefinition) => {\n\t\t\tconst g = instrumentDefinition[0];\n\t\t\tconst gt = instrumentDefinition[1];\n\t\t\tconst instrumentBaseOptions = instrumentDefinition[2];\n\t\t\tconst instrument = this.#CreateInstrument(gt, instrumentBaseOptions);\n\t\t\tthis.#instruments[g] = instrument;\n\t\t});\n\t}\n\tGetPayloadData() {\n\t\tconst context = this.options.processContext;\n\t\tconst instruments = this.#instruments;\n\t\tconst payloadInstruments = {};\n\t\tfor (const [key, value] of Object.entries(instruments)) if (value instanceof InstrumentLog) payloadInstruments[key] = { ...value.WithUseLatestMessages(true) };\n\t\telse payloadInstruments[key] = { ...value };\n\t\treturn {\n\t\t\tcontext,\n\t\t\tinstruments: payloadInstruments\n\t\t};\n\t}\n\tSetupInstrumentation() {\n\t\tif (!this.options.instrumentDefinitions) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation:${this.options.processContext.nid}: No instrument(s) defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tif (!this.options.processContext) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation: No context defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tthis.#CreateInstruments(this.options.instrumentDefinitions);\n\t}\n\t/**\n\t* Check if an instrument exists within the managed instrument collection\n\t* @param instrumentName \n\t* @returns \n\t*/\n\tInstrumentExists(instrumentName) {\n\t\tif (this.#instruments[instrumentName]) return true;\n\t\treturn false;\n\t}\n\t/**\n\t* Update instrument telemetry.\n\t* @param instrumentName \n\t* @param telemetry \n\t*/\n\tUpdateInstrument(instrumentName, telemetry) {\n\t\tif (this.#instruments[instrumentName]) this.#ProcessTelemetryCommand(instrumentName, telemetry);\n\t\telse this.options.logger.debug(chalk.red(`UpdateInstrument:${this.options.processContext.nid}: Attempted to UpdateInstrument before initialised.`));\n\t}\n\t/**\n\t* Add additional instrument publishers. Usually invoked when adding workers to the app and/or async runners within a worker.\n\t* @param processContext \n\t* @returns Returns the newly created PublishInstrumentController\n\t*/\n\tAddPublishInstrumentController(processContext) {\n\t\tconst options = { ...this.options };\n\t\toptions.processContext = processContext;\n\t\treturn new PublishInstrumentController(options);\n\t}\n};\n//#endregion\n//#region src/publish/stsPluginKeys.ts\nvar STSInstrumentControllerPluginKey = Symbol(\"instrumentController\");\n//#endregion\n//#region src/publish/agentinstrumentcontroller.ts\nvar GetSTSInstrumentControllerPluginKey = () => STSInstrumentControllerPluginKey;\nvar CompareSTSInstrumentControllerPluginKey = (val) => val === STSInstrumentControllerPluginKey;\nvar useSTSInstrumentControllerPlugin = () => inject(STSInstrumentControllerPluginKey);\nvar GetSTSInstrumentController = (app) => {\n\treturn app.config.globalProperties.$sts[STSInstrumentControllerPluginKey];\n};\nvar STSInstrumentControllerPlugin = { install: (app, options) => {\n\toptions.logger.debug(chalk.yellow(`STSInstrumentControllerPlugin:install:Start`));\n\tconst aic = new PublishInstrumentController(options);\n\tif (!app.config.globalProperties.$sts) {\n\t\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: [app.config.globalProperties.$sts] does not exist.`));\n\t\tapp.config.globalProperties.$sts = {};\n\t\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: created empty [app.config.globalProperties.$sts].`));\n\t} else options.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: [app.config.globalProperties.$sts] already exists.`));\n\tapp.config.globalProperties.$sts.aic = aic;\n\tapp.config.globalProperties.$sts[STSInstrumentControllerPluginKey] = aic;\n\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: AgentInstrumentController installed into [app.config.globalProperties.$sts] using: [${String(STSInstrumentControllerPluginKey)}].`));\n\tapp.provide(STSInstrumentControllerPluginKey, aic);\n\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: AgentInstrumentController installed into 'provide' using: [${String(STSInstrumentControllerPluginKey)}].`));\n\toptions.logger.debug(chalk.green(`STSInstrumentControllerPlugin:install:End`));\n} };\n//#endregion\n//#region src/globalServiceDefinitions.ts\nvar influxDBDataType = /* @__PURE__ */ function(influxDBDataType) {\n\tinfluxDBDataType[\"intField\"] = \"intField\";\n\tinfluxDBDataType[\"floatField\"] = \"floatField\";\n\tinfluxDBDataType[\"stringField\"] = \"stringField\";\n\treturn influxDBDataType;\n}({});\nvar instrumentationObservationInterval = 1e3;\nvar instrumentationTimeWindow = 600;\nvar globalServiceDefinitions = {\n\tcoreFieldList: [\n\t\t{\n\t\t\tfieldName: \"requestCount\",\n\t\t\tgauge: Gauge.REQUEST_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"errorCount\",\n\t\t\tgauge: Gauge.ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"retryCount\",\n\t\t\tgauge: Gauge.RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationErrorCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationRetryCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"velocity\",\n\t\t\tgauge: Gauge.VELOCITY_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"activeRequestCount\",\n\t\t\tgauge: Gauge.ACTIVE_REQUEST_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfieldName: \"coreCount\",\n\t\t\tgauge: Gauge.CORE_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"rx\",\n\t\t\tgauge: Gauge.NETWORK_RX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"tx\",\n\t\t\tgauge: Gauge.NETWORK_TX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"timer\",\n\t\t\tgauge: Gauge.TIMER_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_TIMER\n\t\t},\n\t\t{\n\t\t\tfieldName: \"duration\",\n\t\t\tgauge: Gauge.DURATION_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.DURATION_HISTOGRAM_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"latency\",\n\t\t\tgauge: Gauge.LATENCY_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.LATENCY_HISTOGRAM_GAUGE\n\t\t}\n\t],\n\tlogFieldList: [{\n\t\tfieldName: \"log\",\n\t\tgauge: Gauge.LOGGER,\n\t\tinstrumentProperty: \"val\",\n\t\tdataType: \"string\",\n\t\ttimeSeriesIndex: false,\n\t\tquantile: false,\n\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\tgaugeType: GaugeTypes.INSTRUMENT_LOG,\n\t\tinstrumentOptions: {\n\t\t\tconsoleLogging: false,\n\t\t\tinstrumentLogging: true\n\t\t}\n\t}],\n\tservices: {\n\t\t[\"service\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"serviceId\",\n\t\t\t\t\"serviceName\",\n\t\t\t\t\"serviceVersion\",\n\t\t\t\t\"serviceInstanceId\",\n\t\t\t\t\"serviceInstanceProcessId\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"pid\",\n\t\t\t\t\"ppid\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:serviceIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/serviceTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:serviceIndexInstant\",\n\t\t\t\tinstantPrefix: \"/serviceInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT,\n\t\t\t\t\tinstrumentOptions: { label: \"InstrumentObjectMaster\" }\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { serviceId, serviceInstanceId, serviceInstanceProcessId } = context;\n\t\t\t\treturn `/${serviceId}/${serviceInstanceId}/${serviceInstanceProcessId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllServicesCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Services,\n\t\t\t\t\troute: \"/metrics/services\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstances,\n\t\t\t\t\troute: \"/metrics/services/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstance,\n\t\t\t\t\troute: \"/metrics/services/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"agent\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"id\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"agentName\",\n\t\t\t\t\"threadId\",\n\t\t\t\t\"asyncRunnerId\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:agentIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/agentTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:agentIndexInstant\",\n\t\t\t\tinstantPrefix: \"/agentInstant:\"\n\t\t\t},\n\t\t\tfieldList: [{\n\t\t\t\tfieldName: \"childCount\",\n\t\t\t\tgauge: Gauge.CHILD_COUNT,\n\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\tdataType: \"number\",\n\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t}],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { agentName, threadId, asyncRunnerId } = context;\n\t\t\t\treturn `/${agentName}/${threadId}/${asyncRunnerId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllAgentsCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Agents,\n\t\t\t\t\troute: \"/metrics/agents\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorkers,\n\t\t\t\t\troute: \"/metrics/agents/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorker,\n\t\t\t\t\troute: \"/metrics/agents/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"lambda\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"technology\",\n\t\t\t\t\"subTechnology\",\n\t\t\t\t\"lambdaFunctionName\",\n\t\t\t\t\"lambdaInstance\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"processId\",\n\t\t\t\t\"parentProcessId\",\n\t\t\t\t\"useCase\",\n\t\t\t\t\"pattern\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:lambdaIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/lambdaTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:lambdaIndexInstant\",\n\t\t\t\tinstantPrefix: \"/lambdaInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { technology, subTechnology, lambdaInstance } = context;\n\t\t\t\treturn `/${technology}/${subTechnology}/${lambdaInstance}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"technology\",\n\t\t\t\tlevel3ContextField: \"subTechnology\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllLambdasCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologiesInstance,\n\t\t\t\t\troute: \"/metrics/lambdas/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n};\nvar GetInstruments = (service) => {\n\tconst fieldList = [\n\t\t...globalServiceDefinitions.coreFieldList,\n\t\t...globalServiceDefinitions.logFieldList,\n\t\t...globalServiceDefinitions.services[service].fieldList\n\t];\n\tconst retVal = [];\n\tfieldList.forEach((v) => {\n\t\tif (v.instrumentOptions) retVal.push([\n\t\t\tv.gauge,\n\t\t\tv.gaugeType,\n\t\t\tv.instrumentOptions\n\t\t]);\n\t\telse retVal.push([v.gauge, v.gaugeType]);\n\t\tif (v.histo) retVal.push([v.histoGauge, GaugeTypes.INSTRUMENT_HISTOGRAM]);\n\t});\n\treturn retVal;\n};\n//#endregion\n//#region src/subscribe/observabilitymodelutils.ts\nvar ObservabilityModelUtils = class ObservabilityModelUtils {\n\tstatic GetModelNode(data) {\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize)\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeRawStringArray(data) {\n\t\ttry {\n\t\t\treturn { val: data };\n\t\t} catch (error) {\n\t\t\treturn { val: [] };\n\t\t}\n\t}\n\tstatic GetModelNodeObject(data) {\n\t\ttry {\n\t\t\treturn { val: JSON.parse(data) };\n\t\t} catch (error) {\n\t\t\treturn { val: null };\n\t\t}\n\t}\n\tstatic GetModelNodeWithQuantile(data, quantileData) {\n\t\tlet quantile = \"\";\n\t\tconst quantileDataElementArray = [];\n\t\tfor (const [key, val] of Object.entries(quantileData)) {\n\t\t\tquantile += parseFloat(val.toFixed(2)).toString().padStart(8, \" \");\n\t\t\tquantileDataElementArray.push([key, val]);\n\t\t}\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize),\n\t\t\t\tpercentile: quantileDataElementArray,\n\t\t\t\tpercentileFormatted: quantile\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\",\n\t\t\t\tpercentile: [],\n\t\t\t\tpercentileFormatted: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeHistFromInfluxData(data) {\n\t\ttry {\n\t\t\tconst histVal = [];\n\t\t\tif (data) for (const [key, val] of Object.entries(data)) {\n\t\t\t\tconst dataElement = [\n\t\t\t\t\tval,\n\t\t\t\t\tkey,\n\t\t\t\t\tparseInt(key)\n\t\t\t\t];\n\t\t\t\thistVal.push(dataElement);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\treturn { hist: histVal };\n\t\t\t} catch (error) {\n\t\t\t\treturn { hist: [] };\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn { hist: [] };\n\t\t}\n\t}\n\tstatic ParseModelNode = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNode(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNode(): Field not present: [${fieldName}], default to [0]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNode(0);\n\t\t}\n\t};\n\tstatic ParseModelNodeWithQuantile = (model, data, parseLog, gaugeName, fieldName, quantileFieldName) => {\n\t\tif (fieldName in data && quantileFieldName in data) model.instruments[gaugeName] = this.GetModelNodeWithQuantile(data[fieldName], data[quantileFieldName]);\n\t\telse if (fieldName in data) {\n\t\t\tconst dataVal = data[fieldName];\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): QuantileFieldName not present: [${quantileFieldName}], default to [${dataVal},{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(dataVal, {});\n\t\t} else {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): Field not present: [${fieldName}], QuantileFieldName not present: [${quantileFieldName}], default to [0,{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(0, {});\n\t\t}\n\t};\n\tstatic ParseModelNodeHisto = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeHisto(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData({});\n\t\t}\n\t};\n\tstatic ParseModelNodeObject = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeObject(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeObject(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeObject({});\n\t\t}\n\t};\n\tstatic GetModelData(serviceType, model, data, parseLog) {\n\t\t[...globalServiceDefinitions.coreFieldList, ...globalServiceDefinitions.services[serviceType].fieldList].forEach((field) => {\n\t\t\tif (field.quantile) ObservabilityModelUtils.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);\n\t\t\telse if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\telse ObservabilityModelUtils.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\tif (field.histo) ObservabilityModelUtils.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);\n\t\t});\n\t}\n\tstatic GetModelForService(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"service\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForLambda(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"lambda\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForAgent(id, data, logger) {\n\t\ttry {\n\t\t\tif (Object.keys(data).length === 0) return null;\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"agent\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/observabilityPayloadTransformer.ts\nvar runStates = /* @__PURE__ */ function(runStates) {\n\trunStates[\"idle\"] = \"idle\";\n\trunStates[\"started\"] = \"started\";\n\trunStates[\"stopped\"] = \"stopped\";\n\treturn runStates;\n}({});\nvar ObservabilityPayloadTransformer = class {\n\t#serviceModel = {};\n\t#agentModel = {};\n\t#lambdaModel = {};\n\t#options;\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\tget serviceModel() {\n\t\treturn this.#serviceModel;\n\t}\n\tget agentModel() {\n\t\treturn this.#agentModel;\n\t}\n\tget lambdaModel() {\n\t\treturn this.#lambdaModel;\n\t}\n\tTransformSubscriptionPayloadCallback(subscriptionPayload) {\n\t\tswitch (subscriptionPayload.subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\tthis.CreateModelAllServicesCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\tthis.CreateModelServices(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances:\n\t\t\t\tthis.CreateModelServiceInstances(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\tthis.CreateModelServiceInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\tthis.CreateModelAllLambdasCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\tthis.CreateModelLambdaTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies:\n\t\t\t\tthis.CreateModelLambdaSubTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\tthis.CreateModelLambdaSubTechnologiesInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\tthis.CreateModelAllAgentsCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\tthis.CreateModelAgents(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers:\n\t\t\t\tthis.CreateModelAgentWorkers(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorker:\n\t\t\t\tthis.CreateModelAgentWorker(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tCreateModelAllServicesCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined.toString()) === 0) {\n\t\t\t\tthis.#serviceModel[\"STS-Service\"] = ObservabilityModelUtils.GetModelForService(\"STS-Service\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[\"STS-Service\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllServicesCombined():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServices(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, serviceTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#serviceModel[serviceId] = ObservabilityModelUtils.GetModelForService(serviceId, serviceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceId] === null) this.#LogDebugMessage(chalk.red(`CreateModelServices():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstances(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstanceTelemetry] of Object.entries(service)) if (serviceInstanceTelemetry.cpu && serviceInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceId] = ObservabilityModelUtils.GetModelForService(serviceInstanceId, serviceInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceId] !== null) this.#serviceModel[serviceInstanceId].options = { serviceId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstances():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstance] of Object.entries(service)) for (const [serviceInstanceProcessId, serviceInstanceProcessTelemetry] of Object.entries(serviceInstance)) if (serviceInstanceProcessTelemetry.cpu && serviceInstanceProcessTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceProcessId] = ObservabilityModelUtils.GetModelForService(serviceInstanceProcessId, serviceInstanceProcessTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceProcessId] !== null) this.#serviceModel[serviceInstanceProcessId].options = {\n\t\t\t\t\tserviceId,\n\t\t\t\t\tserviceInstanceId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstance():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAllAgentsCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined.toString()) === 0) {\n\t\t\t\tif (Object.keys(subscriptionPayload.data).length !== 0) {\n\t\t\t\t\tthis.#agentModel[\"STS-Agent\"] = ObservabilityModelUtils.GetModelForAgent(\"STS-Agent\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\t\tif (this.#agentModel[\"STS-Agent\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllAgentsCombined():Error: GetModelForAgent() returned null`));\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAgents(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentInstanceTelemetry] of Object.entries(subscriptionPayload.data)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tthis.#agentModel[agentId] = ObservabilityModelUtils.GetModelForAgent(agentId, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[agentId] !== null) {} else this.#LogDebugMessage(chalk.red(`CreateModelAgents():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgent:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorkers(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, agentInstanceTelemetry] of Object.entries(agentWorker)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tconst threadKey = `${agentWorkerId}`;\n\t\t\t\tthis.#agentModel[threadKey] = ObservabilityModelUtils.GetModelForAgent(threadKey, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[threadKey] !== null) {\n\t\t\t\t\tconst coreCount = this.#agentModel[threadKey].instruments[Gauge.CORE_COUNT_GAUGE].val;\n\t\t\t\t\tthis.#agentModel[threadKey].canNavigate = coreCount > 0;\n\t\t\t\t\tthis.#agentModel[threadKey].options = { agentId };\n\t\t\t\t} else this.#LogDebugMessage(chalk.red(`CreateModelAgentWorkers():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThreads:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorker(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, asyncRunnerData] of Object.entries(agentWorker)) for (const [asyncRunnerId, agentInstanceTelemetry] of Object.entries(asyncRunnerData)) if (agentInstanceTelemetry.timer) this.#agentModel[asyncRunnerId] = ObservabilityModelUtils.GetModelForAgent(asyncRunnerId, agentInstanceTelemetry, this.#options.logger);\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThread:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAllLambdasCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined.toString()) === 0) {\n\t\t\t\tthis.#lambdaModel[\"STS-Lambda\"] = ObservabilityModelUtils.GetModelForLambda(\"STS-Lambda\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[\"STS-Lambda\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllLambdasCombined():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#lambdaModel[technologyId] = ObservabilityModelUtils.GetModelForLambda(technologyId, technologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[technologyId] === null) this.#LogDebugMessage(chalk.red(`CreateModelLambdaTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) if (subTechnologyTelemetry.cpu && subTechnologyTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyId, subTechnologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyId] !== null) this.#lambdaModel[subTechnologyId].options = { technologyId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologiesInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) for (const [subTechnologyInstanceId, subTechnologyInstanceTelemetry] of Object.entries(subTechnologyTelemetry)) if (subTechnologyInstanceTelemetry.cpu && subTechnologyInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyInstanceId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyInstanceId, subTechnologyInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyInstanceId] !== null) this.#lambdaModel[subTechnologyInstanceId].options = {\n\t\t\t\t\ttechnologyId,\n\t\t\t\t\tsubTechnologyId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologiesInstance():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/restClientSubscriber.ts\nvar RESTClientSubscriber = class {\n\t#socketSubscribeKeepAlive = {};\n\t#options;\n\tKeepAliveAckBoundFunction;\n\t#currentSubscriptions = [];\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tasync Subscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\ttry {\n\t\t\t\tthis.#AddKeepAlive(subId);\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t});\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): UpdateModelCursor()`));\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tasync #InvokeRESTAPI(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tconst { subscriptionKey } = subscription;\n\t\tlet url = \"\";\n\t\tswitch (subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\turl = `/metrics/services`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/services/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\turl = `/metrics/lambdas`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\turl = `/metrics/agents`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AgentWorker: if (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key and/or subkey not provided for subscription: [${JSON.stringify(subscriptionKey.topic)}]`);\n\t\t}\n\t\tif (url.localeCompare(\"\") !== 0) {\n\t\t\tconst endPointUrl = `${this.#options.urlBase}${url}`;\n\t\t\tlet retVal;\n\t\t\tconst start = performance.now();\n\t\t\ttry {\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): axios call: endPointUrl: [${endPointUrl}]`));\n\t\t\t\tif (isNode && this.#options.agentManager) retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().withAgentManager(this.#options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().config);\n\t\t\t\tif (retVal) if (retVal.data) {} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal.data`));\n\t\t\t\telse this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal`));\n\t\t\t\tperformance.now() - start;\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined) === 0) return retVal.data[\"services\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined) === 0) return retVal.data[\"agents\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined) === 0) return retVal.data[\"lambdas\"];\n\t\t\t\treturn retVal.data;\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}], Error: [${error}]`));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else return null;\n\t}\n\t#GetData = async (subscription) => {\n\t\ttry {\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\tconst retVal = await this.#InvokeRESTAPI(subscription);\n\t\t\tif (retVal) {\n\t\t\t\tconst payload = {\n\t\t\t\t\tsubscriptionKey: subscription.subscriptionKey,\n\t\t\t\t\tdata: retVal\n\t\t\t\t};\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\t\tsubscription.cb(payload);\n\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): No data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t}\n\t};\n\t#SetupTimeout(socketSubscribeKeepAlive, subscription, timeout) {\n\t\treturn setTimeout(async () => {\n\t\t\ttry {\n\t\t\t\tconst start = performance.now();\n\t\t\t\tawait this.#GetData(subscription);\n\t\t\t\tif (socketSubscribeKeepAlive.timeout) {\n\t\t\t\t\tconst diff = performance.now() - start;\n\t\t\t\t\tlet timeoutDuration = (this.#options.keepAlive ?? 1e3) - diff;\n\t\t\t\t\tif (timeoutDuration < 500) timeoutDuration = 500;\n\t\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`Total duration for subscription: [${diff}], waiting: [${timeoutDuration}]`));\n\t\t\t\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, timeoutDuration);\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber: Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t\t}\n\t\t}, timeout);\n\t}\n\t#AddKeepAlive(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#RemoveKeepAlive(subscription);\n\t\tconst socketSubscribeKeepAlive = { id: subscription.subscriptionKey.id };\n\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, this.#options.keepAlive ?? 1e3);\n\t\tthis.#socketSubscribeKeepAlive[subscription.subscriptionKey.id] = socketSubscribeKeepAlive;\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): Getting Data: subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#GetData(subscription);\n\t}\n\t#RemoveKeepAlive(subscription) {\n\t\tif (this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id]) {\n\t\t\tthis.#LogDebugMessage(chalk.gray(`RESTClientSubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\t\tclearTimeout(this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout);\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout;\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id];\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/socketClientSubscriber.ts\nvar SOCKET_NAMESPACE$1 = \"stsinstrumentmanager/stsmonitor\";\nvar SocketClientSubscriber = class extends SocketIoClient {\n\t#options;\n\t#id;\n\t#currentSubscriptions = [];\n\tsubscriptions = {};\n\tconstructor(options) {\n\t\tsuper(\"STSVueTilsTester\");\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.#options = options;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}/${SOCKET_NAMESPACE$1}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger ?? defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\tif (this.#options) return `stsimclient:ObservabilitySubscriberManager[${this.#options.consumeInstrumentationMode}]:`;\n\t\telse return `stsimclient:ObservabilitySubscriberManager:`;\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"subscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:Subscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tthis.subscriptions[subId.subscriptionKey.id] = subId;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"unsubscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:UnSubscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tdelete this.subscriptions[subId.subscriptionKey.id];\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}]`));\n\t\tthis.UpdateModelCursor(this.#currentSubscriptions);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t\tif (this.socket) this.socket.on(\"subscriptionData\", (data, cb) => {\n\t\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): on subscriptionData(): Socket ID: [${socket.id}]`));\n\t\t\tconst subId = data.subscriptionKey.id;\n\t\t\tconst currentSubscriptions = Object.keys(this.subscriptions).toString();\n\t\t\tif (this.subscriptions[subId]) {\n\t\t\t\tthis.subscriptions[subId].cb(data);\n\t\t\t\tcb(`stsuxvue:subscriptionData Response: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t\t} else cb(`stsuxvue:subscriptionData Response: No subscription found in subscriptions: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t});\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/socketBrowserClientLogPublisher.ts\nvar SOCKET_NAMESPACE = \"stsinstrumentmanager/stsmonitor\";\nvar SocketBrowserClientLogPublisher = class extends SocketIoClient {\n\t#id;\n\t#options;\n\tconstructor(options) {\n\t\tsuper(\"stsinstrumentmanagerclient:SocketBrowserClientLogPublisher\");\n\t\tthis.#options = options;\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.imendpoint}:${this.#options.import}/${SOCKET_NAMESPACE}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\treturn `stsinstrumentmanagerclient:SocketBrowserClientLogPublisher:`;\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}], Joining Room: [${this.#options.rooms}]`));\n\t\tsocket.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/stsLoggerSocket.ts\nvar STSLoggerSocket = class {\n\t#options;\n\t#socketIoClient;\n\tconstructor(opts) {\n\t\tthis.#options = opts;\n\t\tthis.#socketIoClient = new SocketBrowserClientLogPublisher({\n\t\t\trooms: this.#options.rooms,\n\t\t\timendpoint: this.#options.imendpoint,\n\t\t\timport: this.#options.import\n\t\t});\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tJoinRoom = () => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t};\n\terror(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"error\",\n\t\t\tmessage\n\t\t});\n\t}\n\twarn(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"warn\",\n\t\t\tmessage\n\t\t});\n\t}\n\tinfo(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"info\",\n\t\t\tmessage\n\t\t});\n\t}\n\thttp(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"http\",\n\t\t\tmessage\n\t\t});\n\t}\n\tverbose(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"verbose\",\n\t\t\tmessage\n\t\t});\n\t}\n\tdebug(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"debug\",\n\t\t\tmessage\n\t\t});\n\t}\n\tsilly(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"silly\",\n\t\t\tmessage\n\t\t});\n\t}\n\t#log(info) {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSsendToRoom\", this.#options.rooms, {\n\t\t\tcommand: \"logmessage\",\n\t\t\tpayload: {\n\t\t\t\tlevel: info.level,\n\t\t\t\tmessage: info.message,\n\t\t\t\tdateTime: Date.now()\n\t\t\t}\n\t\t});\n\t}\n};\n//#endregion\nexport { CompareSTSInstrumentControllerPluginKey, GetInstruments, GetSTSInstrumentController, GetSTSInstrumentControllerPluginKey, GetSocketIOSubscriptionKey, GetTransportMode, InstrumentPayloadType, KAFKA_PREFIX, ObservabilityPayloadTransformer, PublishInstrumentController, PublishTransportRESTServer, RESTClientSubscriber, RequestLoggerMiddleware, RequestLoggerMiddlewareEventName, STSInstrumentControllerPlugin, STSInstrumentControllerPluginKey, STSLoggerSocket, SocketBrowserClientLogPublisher, SocketClientSubscriber, SubscriptionTopic, TransportType, ePublishState, globalServiceDefinitions, influxDBDataType, runStates, useSTSInstrumentControllerPlugin };\n\n//# sourceMappingURL=index.mjs.map","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\n\nimport chalk from 'chalk';\n\nimport * as wt from 'node:worker_threads'\n\nimport { JSONObject, OAuth2ParameterType, Sleep, isNode } from '@nsshunt/stsutils';\n\nimport { IAuthorizeOptions, IAuthorizeResponse, IAuthorizeErrorResponse, AuthenticateEvent,\n ISTSOAuth2ManagerOptions, IOauth2ListenerMessage, IOauth2ListenerMessageResponse, \n IOauth2ListenerCommand, ISTSOAuth2WorkerMessage } from './stsoauth2types.js'\n\nimport { IStsStorage, ClientStorageType, ClientStorageFactory } from '@nsshunt/stsvueutils'\n\nimport { Gauge, InstrumentBaseTelemetry } from '@nsshunt/stsobservability'\n\nimport { STSOAuth2ManagerPluginKey } from './stsPluginKeys.js'\n\nimport { STSOauth2Store } from './stores/stsoauth2store.js'\n\nimport { STSInstrumentControllerPluginKey, PublishInstrumentController } from '@nsshunt/stsinstrumentmanagerclient';\n\n// STS Client SDK for SPAs\nexport class STSOAuth2Manager {\n \n #router: any = null;\n #STORAGE_AUTHORIZE_OPTIONS_KEY = 'authorize_options.stsmda.com.au';\n #aic: PublishInstrumentController | null = null;\n #options: ISTSOAuth2ManagerOptions;\n #oauth2ManagerPort: MessagePort | wt.MessagePort;\n #messageId = 0;\n \n #messageHandlers: Record<number, any> = { }; // keyed by messageId\n #messageTimeout = 10000;\n #worker: Worker | wt.Worker;\n #transactionStore: IStsStorage<IAuthorizeOptions>; // Transient transaction data used to establish a session via OAuth2 authorize handshake\n #operationSemaphore = false;\n #maxSemaphoreRetries = 100; // 100 retries, i.e. allow 100 x 50 = 5000ms to unblock\n #semaphoreRetrySleep = 50; // ms\n\n constructor(app: any, options: ISTSOAuth2ManagerOptions) {\n this.#options = options;\n\n if (!isNode) {\n if (app.config.globalProperties.$sts[STSInstrumentControllerPluginKey]) {\n const STSInstrumentController: PublishInstrumentController = app.config.globalProperties.$sts[STSInstrumentControllerPluginKey];\n this.#aic = STSInstrumentController;\n }\n this.#router = app.config.globalProperties.$router;\n }\n\n // Use session storage for the transient nature of the OAuth2 authorize handshake. Once completed, the storage will be removed.\n if (isNode) {\n this.#transactionStore = new ClientStorageFactory<IAuthorizeOptions>({clientStorageType: ClientStorageType.MEMORY_STORAGE, usePrefix: false}).GetStorage();\n } else {\n this.#transactionStore = new ClientStorageFactory<IAuthorizeOptions>({clientStorageType: ClientStorageType.SESSION_STORAGE, usePrefix: false}).GetStorage();\n }\n\n if (this.#options.workerFactory) {\n this.#worker = this.#options.workerFactory();\n } else {\n throw new Error(`STSOAuth2Manager:constructor: Cannot init STSOAuth2Manager - this.#options.workerFactory not specified`);\n }\n\t\t\n if (!isNode) {\n (this.#worker as Worker).onmessage = (data: MessageEvent) => {\n this.#LogInfoMessage(chalk.green(`this.#worker.onmessage = [${data}]`));\n };\n\n (this.#worker as Worker).onerror = (error) => {\n this.#LogInfoMessage(chalk.green(`this.#worker.onerror = [${JSON.stringify(error)}]`));\n };\n }\n\n let workerMessage: ISTSOAuth2WorkerMessage\n if (isNode) {\n const { \n port1: oauth2ManagerPort, // this process port\n port2: oauth2WorkerPort // worker port\n } = new wt.MessageChannel();\n this.#oauth2ManagerPort = oauth2ManagerPort;\n workerMessage = {\n workerPort: oauth2WorkerPort,\n options: this.#options.workerOptions\n };\n (this.#worker as wt.Worker).postMessage(workerMessage, [ oauth2WorkerPort ]);\n\n this.#oauth2ManagerPort.on('message', (payload) => {\n this.#ProcessMessageResponse(payload);\n }).unref();\n } else {\n const { \n port1: oauth2ManagerPort, // this process port\n port2: oauth2WorkerPort // worker port\n } = new MessageChannel();\n this.#oauth2ManagerPort = oauth2ManagerPort;\n workerMessage = {\n workerPort: oauth2WorkerPort,\n options: this.#options.workerOptions\n };\n (this.#worker as Worker).postMessage(workerMessage, [ oauth2WorkerPort ]);\n\n this.#oauth2ManagerPort.onmessage = (data: MessageEvent) => {\n this.#ProcessMessageResponse(data.data);\n }\n\t\n this.#SetupRoute(app, this.#router);\n }\n }\n \n #LogDebugMessage(message: any) {\n this.#options.logger.debug(message);\n }\n\n #LogInfoMessage(message: any) {\n this.#options.logger.info(message);\n }\n\n #LogErrorMessage(message: any) {\n this.#options.logger.error(message);\n }\n\n #ProcessMessageResponse = (data: IOauth2ListenerMessageResponse) => {\n const messageResponse: IOauth2ListenerMessageResponse = data;\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#ProcessMessageResponse: message data = [${JSON.stringify(messageResponse)}]`));\n if (messageResponse.messageId === -1) {\n // unsolicted message\n switch (messageResponse.command) {\n case IOauth2ListenerCommand.AUTHENTICATE_EVENT :\n this.#HandleAuthenticateEvent(messageResponse.payload as string);\n break;\n case IOauth2ListenerCommand.ERROR :\n this.#HandleErrorEvent(messageResponse.payload as JSONObject);\n break;\n case IOauth2ListenerCommand.LOG :\n this.#HandleLogEvent(messageResponse.payload as string);\n break;\n case IOauth2ListenerCommand.UPDATE_INSTRUMENT :\n this.#HandleUpdateInstrumentEvent(messageResponse.payload.instrumentName, messageResponse.payload.telemetry);\n break;\n default :\n throw new Error(`ProcessMessageResponse command [${messageResponse.command}] not valid.`);\n }\n } else {\n const callBack = this.#messageHandlers[messageResponse.messageId];\n if (callBack) {\n callBack(messageResponse);\n } else {\n throw new Error(`Message: [${messageResponse.messageId}] does not exists in callBacks.`);\n }\n }\n }\n\n #PostMessage = (message: IOauth2ListenerMessage): Promise<IOauth2ListenerMessageResponse> => {\n message.messageId = this.#messageId++;\n\n return new Promise<IOauth2ListenerMessageResponse>((resolve, reject) => {\n // Setup message timeout\n const timeout: NodeJS.Timeout = setTimeout(() => {\n delete this.#messageHandlers[message.messageId as number];\n reject(`Message: [${message.messageId}] timeout error after: [${this.#messageTimeout}] ms.`);\n }, this.#messageTimeout);\n\n // Setup message callback based on messageId\n this.#messageHandlers[message.messageId as number] = (response: IOauth2ListenerMessageResponse) => {\n clearTimeout(timeout);\n delete this.#messageHandlers[message.messageId as number];\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#PostMessage: resolve callback response= [${JSON.stringify(response)}]`));\n resolve(response);\n }\n\n // Send the message\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#PostMessage: posting message = [${JSON.stringify(message)}]`));\n this.#oauth2ManagerPort.postMessage(message);\t\n });\n }\n\n #HandleLogEvent = (message: string): void => {\n if (this.#aic) {\n this.#aic.LogEx(message);\n }\n this.#LogDebugMessage(message);\n }\n\n // UpdateInstrument = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n #HandleUpdateInstrumentEvent = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n if (this.#aic) {\n this.#aic.UpdateInstrument(instrumentName, telemetry);\n }\n }\n\n #GetStore = () => {\n return STSOauth2Store(this.#options.pinia);\n }\n\n // Will come from message channel\n #HandleErrorEvent = (error: JSONObject): void => {\n if (isNode) {\n // Node Mode ...\n } else {\n // User Agent Mode\n this.#GetStore().UpdateError({ // Authorize applications store\n message: error\n });\n\n // plugin to do this ...\n setTimeout(() => {\n this.#router.replace(`${this.#options.uriBase}error`);\n }, 0);\n }\n }\n\n #HandleAuthenticateEvent: AuthenticateEvent = (id_token: string): void => {\n if (isNode) {\n // Node Mode ...\n } else {\n // User Agent Mode\n if (this.#options.authenticateEvent) {\n this.#options.authenticateEvent(id_token);\n }\n\n this.#GetStore().UpdateIdToken(id_token);\n }\n }\n\n #SetupRoute = (app: any, router: any) => {\n this.#LogDebugMessage(chalk.gray(`STSOAuth2Manager:#SetupRoute`));\n router.beforeEach(async (to: any, from: any, next: any) => {\n const oAuth2Manager: STSOAuth2Manager = app.config.globalProperties.$sts[STSOAuth2ManagerPluginKey];\n\n this.#LogDebugMessage(chalk.gray(`beforeEach: from: [${from.path}], to: [${to.path}]`));\n\n if (this.#GetStore().LoggedIn === false) {\n this.#LogInfoMessage(`Not logged in`);\n // Not logged in\n if (to.path.localeCompare(`${this.#options.uriBase}authorize`) === 0) {\n this.#LogInfoMessage(`to = ${this.#options.uriBase}authorize`);\n next();\n return;\n } else if (to.path.localeCompare(`${this.#options.uriBase}consent`) === 0) {\n // Need to check if we are in the correct state, if not - drop back to the start of the process\n if (this.#GetStore().id_token) {\n //if (typeof store.getters.Session.sessionId !== 'undefined') {\n next();\n return;\n }\n }\n if (to.path.localeCompare(`${this.#options.uriBase}logout`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}error`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}config`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}redirected`) === 0) {\n next();\n return;\n }\n\t\t\n const str = to.query;\n // Check if this route is from a redirect from the authorization server\n if (str[OAuth2ParameterType.CODE] || str[OAuth2ParameterType.ERROR]) {\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:#SetupRoute:Processing redirect: [${JSON.stringify(str)}]`));\n const retVal: boolean = await oAuth2Manager.HandleRedirect(str);\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:#SetupRoute:Redirect result: [${retVal}]`));\n if (retVal) {\n // Success\n next({ \n path: `${this.#options.uriBase}`,\n replace: true\n });\n return;\n } else {\n // Error\n next({ \n path: `${this.#options.uriBase}error`,\n replace: true\n });\n\n //@@ need the error data here - or use the vuex store ?\n //@@ this.#router.replace(`error'); //@@ was push\n\n //@@ should replaceState be used as in above?\n return;\n }\n }\n\t\t\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Restoring session`);\n const sessionRestored = await oAuth2Manager.RestoreSession();\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Session restored: [${sessionRestored}]`);\n\n if (sessionRestored !== true) {\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Session not restored - need to authorize`);\n oAuth2Manager.Authorize();\n next();\n return;\n } else {\n next(`${this.#options.uriBase}`);\n return;\n }\n } else {\n // Prevent pages if already logged in\n if (to.path.localeCompare(`${this.#options.uriBase}consent`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}authorize`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}logout`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n next();\n }\n })\n }\n\n //@@ this needs to be re-implemented so that access_token never leaves the auth worker\n GetAccessToken = async(): Promise<string> => {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.ACCESS_TOKEN });\n return response.payload;\n }\n\n // Update operation protected using operationSemaphore. This may occur when using workers and/or multiple async fetch operations.\n ExecuteRefreshToken = async(retryCount = 0): Promise<boolean> => {\n if (this.#operationSemaphore === true) {\n if (retryCount > this.#maxSemaphoreRetries) {\n throw new Error(`STSOAuth2Manager:ExecuteRefreshToken:maxSemaphoreRetries: [${this.#maxSemaphoreRetries}] exceeded.`);\n }\n await Sleep(this.#semaphoreRetrySleep);\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Manager:ExecuteRefreshToken:locked by operationSemaphore, retry count: [${retryCount}]`));\n return await this.ExecuteRefreshToken(retryCount+1);\n } else {\n this.#operationSemaphore = true;\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.EXECUTE_REFRESH_TOKEN });\n this.#operationSemaphore = false;\n return response.payload;\n }\n }\n\n \n GetCookies = async(): Promise<any> => {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.COOKIES });\n return response.payload;\n }\n\n RestoreSession = async(): Promise<boolean> => {\n try {\n this.#LogDebugMessage(`STSOAuth2Manager:RestoreSession:postMessage: [${IOauth2ListenerCommand.RESTORE_SESSION}]`);\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.RESTORE_SESSION });\n this.#LogDebugMessage(`STSOAuth2Manager:RestoreSession:response: [${JSON.stringify(response.payload)}]`);\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`RestoreSession Error: ${error}`));\n return false;\n }\n }\n\n Authorize = async (): Promise<JSONObject> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.AUTHORIZE });\n this.#transactionStore.set(this.#STORAGE_AUTHORIZE_OPTIONS_KEY, response.payload.authorizeOptions);\n const url = response.payload.url;\n if (!isNode) {\n window.location.replace(url);\n } else {\n return response.payload.authorizeOptionsClientCopy;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`Authorize Error: ${error}`));\n }\n return { };\n }\n\n HandleRedirect = async (queryVars: JSONObject): Promise<boolean> => {\n try {\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect`));\n let response: IOauth2ListenerMessageResponse | null = null;\n if (queryVars[OAuth2ParameterType.CODE]) {\n const authorizeOptions: IAuthorizeOptions = this.#transactionStore.get(this.#STORAGE_AUTHORIZE_OPTIONS_KEY) as IAuthorizeOptions;\n this.#transactionStore.remove(this.#STORAGE_AUTHORIZE_OPTIONS_KEY);\n\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect: sending HANDLE_REDIRECT command`));\n response = await this.#PostMessage({ command: IOauth2ListenerCommand.HANDLE_REDIRECT, payload: {\n queryVars: queryVars as IAuthorizeResponse,\n authorizeOptions\n }});\n } else {\n response = await this.#PostMessage({ command: IOauth2ListenerCommand.HANDLE_REDIRECT, payload: queryVars as IAuthorizeErrorResponse });\n }\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect: HANDLE_REDIRECT response: [${JSON.stringify(response)}]`));\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`HandleRedirect Error: ${error}`));\n return false;\n }\n }\n\n Logout = async (): Promise<boolean> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.LOGOUT });\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`Logout Error: ${error}`));\n return false;\n }\n }\n\n \n InvokeExternalAPI = async (): Promise<any> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.LOGOUT });\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`InvokeExternalAPI Error: ${error}`));\n return null;\n }\n }\n\n LoggedIn = (): boolean => {\n try {\n return this.#GetStore().LoggedIn;\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n } catch (error) {\n return false;\n }\n }\n}\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t crypto = global.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && typeof require === 'function') {\n\t try {\n\t crypto = require('crypto');\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Initialization and round constants tables\n\t var H = [];\n\t var K = [];\n\n\t // Compute constants\n\t (function () {\n\t function isPrime(n) {\n\t var sqrtN = Math.sqrt(n);\n\t for (var factor = 2; factor <= sqrtN; factor++) {\n\t if (!(n % factor)) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t }\n\n\t function getFractionalBits(n) {\n\t return ((n - (n | 0)) * 0x100000000) | 0;\n\t }\n\n\t var n = 2;\n\t var nPrime = 0;\n\t while (nPrime < 64) {\n\t if (isPrime(n)) {\n\t if (nPrime < 8) {\n\t H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n\t }\n\t K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n\t nPrime++;\n\t }\n\n\t n++;\n\t }\n\t }());\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-256 hash algorithm.\n\t */\n\t var SHA256 = C_algo.SHA256 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init(H.slice(0));\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\t var f = H[5];\n\t var g = H[6];\n\t var h = H[7];\n\n\t // Computation\n\t for (var i = 0; i < 64; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var gamma0x = W[i - 15];\n\t var gamma0 = ((gamma0x << 25) | (gamma0x >>> 7)) ^\n\t ((gamma0x << 14) | (gamma0x >>> 18)) ^\n\t (gamma0x >>> 3);\n\n\t var gamma1x = W[i - 2];\n\t var gamma1 = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n\t ((gamma1x << 13) | (gamma1x >>> 19)) ^\n\t (gamma1x >>> 10);\n\n\t W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n\t }\n\n\t var ch = (e & f) ^ (~e & g);\n\t var maj = (a & b) ^ (a & c) ^ (b & c);\n\n\t var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n\t var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7) | (e >>> 25));\n\n\t var t1 = h + sigma1 + ch + K[i] + W[i];\n\t var t2 = sigma0 + maj;\n\n\t h = g;\n\t g = f;\n\t f = e;\n\t e = (d + t1) | 0;\n\t d = c;\n\t c = b;\n\t b = a;\n\t a = (t1 + t2) | 0;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t H[5] = (H[5] + f) | 0;\n\t H[6] = (H[6] + g) | 0;\n\t H[7] = (H[7] + h) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA256('message');\n\t * var hash = CryptoJS.SHA256(wordArray);\n\t */\n\t C.SHA256 = Hasher._createHelper(SHA256);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA256(message, key);\n\t */\n\t C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n\t}(Math));\n\n\n\treturn CryptoJS.SHA256;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var C_enc = C.enc;\n\n\t /**\n\t * Base64 encoding strategy.\n\t */\n\t var Base64 = C_enc.Base64 = {\n\t /**\n\t * Converts a word array to a Base64 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Base64 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var base64String = CryptoJS.enc.Base64.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\t var map = this._map;\n\n\t // Clamp excess bits\n\t wordArray.clamp();\n\n\t // Convert\n\t var base64Chars = [];\n\t for (var i = 0; i < sigBytes; i += 3) {\n\t var byte1 = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;\n\t var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;\n\n\t var triplet = (byte1 << 16) | (byte2 << 8) | byte3;\n\n\t for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {\n\t base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));\n\t }\n\t }\n\n\t // Add padding\n\t var paddingChar = map.charAt(64);\n\t if (paddingChar) {\n\t while (base64Chars.length % 4) {\n\t base64Chars.push(paddingChar);\n\t }\n\t }\n\n\t return base64Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Base64 string to a word array.\n\t *\n\t * @param {string} base64Str The Base64 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Base64.parse(base64String);\n\t */\n\t parse: function (base64Str) {\n\t // Shortcuts\n\t var base64StrLength = base64Str.length;\n\t var map = this._map;\n\t var reverseMap = this._reverseMap;\n\n\t if (!reverseMap) {\n\t reverseMap = this._reverseMap = [];\n\t for (var j = 0; j < map.length; j++) {\n\t reverseMap[map.charCodeAt(j)] = j;\n\t }\n\t }\n\n\t // Ignore padding\n\t var paddingChar = map.charAt(64);\n\t if (paddingChar) {\n\t var paddingIndex = base64Str.indexOf(paddingChar);\n\t if (paddingIndex !== -1) {\n\t base64StrLength = paddingIndex;\n\t }\n\t }\n\n\t // Convert\n\t return parseLoop(base64Str, base64StrLength, reverseMap);\n\n\t },\n\n\t _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='\n\t };\n\n\t function parseLoop(base64Str, base64StrLength, reverseMap) {\n\t var words = [];\n\t var nBytes = 0;\n\t for (var i = 0; i < base64StrLength; i++) {\n\t if (i % 4) {\n\t var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);\n\t var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);\n\t var bitsCombined = bits1 | bits2;\n\t words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);\n\t nBytes++;\n\t }\n\t }\n\t return WordArray.create(words, nBytes);\n\t }\n\t}());\n\n\n\treturn CryptoJS.enc.Base64;\n\n}));","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport sha256 from 'crypto-js/sha256.js';\nimport Base64 from 'crypto-js/enc-base64.js';\n\nexport class CryptoUtils {\n #crypto;\n\n constructor() {\n try {\n this.#crypto = crypto;\n } catch {\n // eslint-disable-next-line @typescript-eslint/no-require-imports\n this.#crypto = require('node:crypto')\n }\n }\n\n DigestMessage = async function (message: any) {\n const hashDigest = sha256(message);\n return Base64.stringify(hashDigest);\n }\n\n CreateRandomString = (size = 43) => {\n //const randomValues: any = Array.from(window.crypto.getRandomValues(new Uint8Array(size)))\n \n const randomValues: any = Array.from(this.#crypto.getRandomValues(new Uint8Array(size)))\n //let b64 = window.btoa(String.fromCharCode(...randomValues));\n const b64 = btoa(String.fromCharCode(...randomValues));\n return b64;\n //return randomValues.toString('base64');\n }\n}\n\n/*\nexport class CryptoUtils {\n\tDigestMessage = async function (message) {\n\t\tconst encoder = new TextEncoder();\n\t\tconst data = encoder.encode(message);\n\t\tconst hashBuffer = await crypto.subtle.digest('SHA-256', data);\n\t\tconst hashArray = Array.from(new Uint8Array(hashBuffer)); // convert buffer to byte array\n\t\t//let b64 = window.btoa(String.fromCharCode(...hashArray));\n\t\tconst b64 = btoa(String.fromCharCode(...hashArray));// Use below if a HEX string is required\n\t\t// const hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join(''); // convert bytes to hex string\n\t\treturn b64;\n\t}\n\n\tCreateRandomString = (size = 43) => {\n\t\t//const randomValues: any = Array.from(window.crypto.getRandomValues(new Uint8Array(size)))\n\t\tconst randomValues: any = Array.from(crypto.getRandomValues(new Uint8Array(size)))\n\t\t//let b64 = window.btoa(String.fromCharCode(...randomValues));\n\t\tconst b64 = btoa(String.fromCharCode(...randomValues));\n\t\treturn b64;\n\t\t//return randomValues.toString('base64');\n\t}\n}\n*/\n\nexport default CryptoUtils\n","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\n// https://github.com/auth0/auth0-spa-js/blob/1de6427f81a8c5b005e9b6d10b9efb1e73542528/static/index.html\n\nimport { JSONObject } from \"@nsshunt/stsutils\";\n\n// https://stackoverflow.com/questions/12446317/change-url-without-redirecting-using-javascript\nclass QueryParams {\n DecodeQueryParams = (params: any): JSONObject => {\n const retObj: JSONObject = { };\n Object.keys(params)\n .filter(k => typeof params[k] !== 'undefined')\n .map(k => { \n retObj[decodeURIComponent(k)] = decodeURIComponent(params[k]);\n });\n return retObj;\n }\n\n CreateQueryParams = (params: JSONObject): string => {\n return Object.keys(params)\n .filter(k => typeof params[k] !== 'undefined')\n .map(k => {\n if (Array.isArray(params[k])) {\n return encodeURIComponent(k) + '=' + encodeURIComponent(params[k].join(' '))\n } else {\n return encodeURIComponent(k) + '=' + encodeURIComponent(params[k])\n }\n })\n .join('&');\n }\n\n _GetQueryParams = (param: string): JSONObject => {\n let retVal: JSONObject = { };\n const uri = param.split(\"?\");\n if (uri.length == 2) {\n const vars = uri[1].split(\"&\");\n const getVars: JSONObject = { };\n let tmp: string[];\n vars.forEach(function (v) {\n tmp = v.split(\"=\");\n if (tmp.length == 2) getVars[tmp[0]] = tmp[1];\n });\n retVal = this.DecodeQueryParams(getVars);\n }\n return retVal;\n }\n \n GetQueryParams = () => {\n return this._GetQueryParams(window.location.href);\n }\n}\n\nexport default QueryParams;\n","// Generated file. Do not edit\nexport var StatusCodes;\n(function (StatusCodes) {\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1\n *\n * This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.\n */\n StatusCodes[StatusCodes[\"CONTINUE\"] = 100] = \"CONTINUE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.2\n *\n * This code is sent in response to an Upgrade request header by the client, and indicates the protocol the server is switching too.\n */\n StatusCodes[StatusCodes[\"SWITCHING_PROTOCOLS\"] = 101] = \"SWITCHING_PROTOCOLS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.1\n *\n * This code indicates that the server has received and is processing the request, but no response is available yet.\n */\n StatusCodes[StatusCodes[\"PROCESSING\"] = 102] = \"PROCESSING\";\n /**\n * Official Documentation @ https://www.rfc-editor.org/rfc/rfc8297#page-3\n *\n * This code indicates to the client that the server is likely to send a final response with the header fields included in the informational response.\n */\n StatusCodes[StatusCodes[\"EARLY_HINTS\"] = 103] = \"EARLY_HINTS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.1\n *\n * The request has succeeded. The meaning of a success varies depending on the HTTP method:\n * GET: The resource has been fetched and is transmitted in the message body.\n * HEAD: The entity headers are in the message body.\n * POST: The resource describing the result of the action is transmitted in the message body.\n * TRACE: The message body contains the request message as received by the server\n */\n StatusCodes[StatusCodes[\"OK\"] = 200] = \"OK\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.2\n *\n * The request has succeeded and a new resource has been created as a result of it. This is typically the response sent after a PUT request.\n */\n StatusCodes[StatusCodes[\"CREATED\"] = 201] = \"CREATED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.3\n *\n * The request has been received but not yet acted upon. It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.\n */\n StatusCodes[StatusCodes[\"ACCEPTED\"] = 202] = \"ACCEPTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.4\n *\n * This response code means returned meta-information set is not exact set as available from the origin server, but collected from a local or a third party copy. Except this condition, 200 OK response should be preferred instead of this response.\n */\n StatusCodes[StatusCodes[\"NON_AUTHORITATIVE_INFORMATION\"] = 203] = \"NON_AUTHORITATIVE_INFORMATION\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.5\n *\n * There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones.\n */\n StatusCodes[StatusCodes[\"NO_CONTENT\"] = 204] = \"NO_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.6\n *\n * This response code is sent after accomplishing request to tell user agent reset document view which sent this request.\n */\n StatusCodes[StatusCodes[\"RESET_CONTENT\"] = 205] = \"RESET_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.1\n *\n * This response code is used because of range header sent by the client to separate download into multiple streams.\n */\n StatusCodes[StatusCodes[\"PARTIAL_CONTENT\"] = 206] = \"PARTIAL_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.2\n *\n * A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.\n */\n StatusCodes[StatusCodes[\"MULTI_STATUS\"] = 207] = \"MULTI_STATUS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.1\n *\n * The request has more than one possible responses. User-agent or user should choose one of them. There is no standardized way to choose one of the responses.\n */\n StatusCodes[StatusCodes[\"MULTIPLE_CHOICES\"] = 300] = \"MULTIPLE_CHOICES\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.2\n *\n * This response code means that URI of requested resource has been changed. Probably, new URI would be given in the response.\n */\n StatusCodes[StatusCodes[\"MOVED_PERMANENTLY\"] = 301] = \"MOVED_PERMANENTLY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.3\n *\n * This response code means that URI of requested resource has been changed temporarily. New changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.\n */\n StatusCodes[StatusCodes[\"MOVED_TEMPORARILY\"] = 302] = \"MOVED_TEMPORARILY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.4\n *\n * Server sent this response to directing client to get requested resource to another URI with an GET request.\n */\n StatusCodes[StatusCodes[\"SEE_OTHER\"] = 303] = \"SEE_OTHER\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.1\n *\n * This is used for caching purposes. It is telling to client that response has not been modified. So, client can continue to use same cached version of response.\n */\n StatusCodes[StatusCodes[\"NOT_MODIFIED\"] = 304] = \"NOT_MODIFIED\";\n /**\n * @deprecated\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.6\n *\n * Was defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.\n */\n StatusCodes[StatusCodes[\"USE_PROXY\"] = 305] = \"USE_PROXY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.7\n *\n * Server sent this response to directing client to get requested resource to another URI with same method that used prior request. This has the same semantic than the 302 Found HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n */\n StatusCodes[StatusCodes[\"TEMPORARY_REDIRECT\"] = 307] = \"TEMPORARY_REDIRECT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7538#section-3\n *\n * This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n */\n StatusCodes[StatusCodes[\"PERMANENT_REDIRECT\"] = 308] = \"PERMANENT_REDIRECT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.1\n *\n * This response means that server could not understand the request due to invalid syntax.\n */\n StatusCodes[StatusCodes[\"BAD_REQUEST\"] = 400] = \"BAD_REQUEST\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.1\n *\n * Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response.\n */\n StatusCodes[StatusCodes[\"UNAUTHORIZED\"] = 401] = \"UNAUTHORIZED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.2\n *\n * This response code is reserved for future use. Initial aim for creating this code was using it for digital payment systems however this is not used currently.\n */\n StatusCodes[StatusCodes[\"PAYMENT_REQUIRED\"] = 402] = \"PAYMENT_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.3\n *\n * The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting to give proper response. Unlike 401, the client's identity is known to the server.\n */\n StatusCodes[StatusCodes[\"FORBIDDEN\"] = 403] = \"FORBIDDEN\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.4\n *\n * The server can not find requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client. This response code is probably the most famous one due to its frequent occurence on the web.\n */\n StatusCodes[StatusCodes[\"NOT_FOUND\"] = 404] = \"NOT_FOUND\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.5\n *\n * The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.\n */\n StatusCodes[StatusCodes[\"METHOD_NOT_ALLOWED\"] = 405] = \"METHOD_NOT_ALLOWED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.6\n *\n * This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content following the criteria given by the user agent.\n */\n StatusCodes[StatusCodes[\"NOT_ACCEPTABLE\"] = 406] = \"NOT_ACCEPTABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.2\n *\n * This is similar to 401 but authentication is needed to be done by a proxy.\n */\n StatusCodes[StatusCodes[\"PROXY_AUTHENTICATION_REQUIRED\"] = 407] = \"PROXY_AUTHENTICATION_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.7\n *\n * This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also note that some servers merely shut down the connection without sending this message.\n */\n StatusCodes[StatusCodes[\"REQUEST_TIMEOUT\"] = 408] = \"REQUEST_TIMEOUT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.8\n *\n * This response is sent when a request conflicts with the current state of the server.\n */\n StatusCodes[StatusCodes[\"CONFLICT\"] = 409] = \"CONFLICT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.9\n *\n * This response would be sent when the requested content has been permenantly deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for \"limited-time, promotional services\". APIs should not feel compelled to indicate resources that have been deleted with this status code.\n */\n StatusCodes[StatusCodes[\"GONE\"] = 410] = \"GONE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.10\n *\n * The server rejected the request because the Content-Length header field is not defined and the server requires it.\n */\n StatusCodes[StatusCodes[\"LENGTH_REQUIRED\"] = 411] = \"LENGTH_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.2\n *\n * The client has indicated preconditions in its headers which the server does not meet.\n */\n StatusCodes[StatusCodes[\"PRECONDITION_FAILED\"] = 412] = \"PRECONDITION_FAILED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.11\n *\n * Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field.\n */\n StatusCodes[StatusCodes[\"REQUEST_TOO_LONG\"] = 413] = \"REQUEST_TOO_LONG\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.12\n *\n * The URI requested by the client is longer than the server is willing to interpret.\n */\n StatusCodes[StatusCodes[\"REQUEST_URI_TOO_LONG\"] = 414] = \"REQUEST_URI_TOO_LONG\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.13\n *\n * The media format of the requested data is not supported by the server, so the server is rejecting the request.\n */\n StatusCodes[StatusCodes[\"UNSUPPORTED_MEDIA_TYPE\"] = 415] = \"UNSUPPORTED_MEDIA_TYPE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.4\n *\n * The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data.\n */\n StatusCodes[StatusCodes[\"REQUESTED_RANGE_NOT_SATISFIABLE\"] = 416] = \"REQUESTED_RANGE_NOT_SATISFIABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.14\n *\n * This response code means the expectation indicated by the Expect request header field can't be met by the server.\n */\n StatusCodes[StatusCodes[\"EXPECTATION_FAILED\"] = 417] = \"EXPECTATION_FAILED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2324#section-2.3.2\n *\n * Any attempt to brew coffee with a teapot should result in the error code \"418 I'm a teapot\". The resulting entity body MAY be short and stout.\n */\n StatusCodes[StatusCodes[\"IM_A_TEAPOT\"] = 418] = \"IM_A_TEAPOT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n *\n * The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request which received this status code was the result of a user action, the request MUST NOT be repeated until it is requested by a separate user action.\n */\n StatusCodes[StatusCodes[\"INSUFFICIENT_SPACE_ON_RESOURCE\"] = 419] = \"INSUFFICIENT_SPACE_ON_RESOURCE\";\n /**\n * @deprecated\n * Official Documentation @ https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt\n *\n * A deprecated response used by the Spring Framework when a method has failed.\n */\n StatusCodes[StatusCodes[\"METHOD_FAILURE\"] = 420] = \"METHOD_FAILURE\";\n /**\n * Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2\n *\n * Defined in the specification of HTTP/2 to indicate that a server is not able to produce a response for the combination of scheme and authority that are included in the request URI.\n */\n StatusCodes[StatusCodes[\"MISDIRECTED_REQUEST\"] = 421] = \"MISDIRECTED_REQUEST\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.3\n *\n * The request was well-formed but was unable to be followed due to semantic errors.\n */\n StatusCodes[StatusCodes[\"UNPROCESSABLE_ENTITY\"] = 422] = \"UNPROCESSABLE_ENTITY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.4\n *\n * The resource that is being accessed is locked.\n */\n StatusCodes[StatusCodes[\"LOCKED\"] = 423] = \"LOCKED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.5\n *\n * The request failed due to failure of a previous request.\n */\n StatusCodes[StatusCodes[\"FAILED_DEPENDENCY\"] = 424] = \"FAILED_DEPENDENCY\";\n /**\n * Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.15\n *\n * The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.\n */\n StatusCodes[StatusCodes[\"UPGRADE_REQUIRED\"] = 426] = \"UPGRADE_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-3\n *\n * The origin server requires the request to be conditional. Intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.\n */\n StatusCodes[StatusCodes[\"PRECONDITION_REQUIRED\"] = 428] = \"PRECONDITION_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-4\n *\n * The user has sent too many requests in a given amount of time (\"rate limiting\").\n */\n StatusCodes[StatusCodes[\"TOO_MANY_REQUESTS\"] = 429] = \"TOO_MANY_REQUESTS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-5\n *\n * The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.\n */\n StatusCodes[StatusCodes[\"REQUEST_HEADER_FIELDS_TOO_LARGE\"] = 431] = \"REQUEST_HEADER_FIELDS_TOO_LARGE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7725\n *\n * The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government.\n */\n StatusCodes[StatusCodes[\"UNAVAILABLE_FOR_LEGAL_REASONS\"] = 451] = \"UNAVAILABLE_FOR_LEGAL_REASONS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.1\n *\n * The server encountered an unexpected condition that prevented it from fulfilling the request.\n */\n StatusCodes[StatusCodes[\"INTERNAL_SERVER_ERROR\"] = 500] = \"INTERNAL_SERVER_ERROR\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.2\n *\n * The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.\n */\n StatusCodes[StatusCodes[\"NOT_IMPLEMENTED\"] = 501] = \"NOT_IMPLEMENTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.3\n *\n * This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.\n */\n StatusCodes[StatusCodes[\"BAD_GATEWAY\"] = 502] = \"BAD_GATEWAY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.4\n *\n * The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This responses should be used for temporary conditions and the Retry-After: HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached.\n */\n StatusCodes[StatusCodes[\"SERVICE_UNAVAILABLE\"] = 503] = \"SERVICE_UNAVAILABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.5\n *\n * This error response is given when the server is acting as a gateway and cannot get a response in time.\n */\n StatusCodes[StatusCodes[\"GATEWAY_TIMEOUT\"] = 504] = \"GATEWAY_TIMEOUT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.6\n *\n * The HTTP version used in the request is not supported by the server.\n */\n StatusCodes[StatusCodes[\"HTTP_VERSION_NOT_SUPPORTED\"] = 505] = \"HTTP_VERSION_NOT_SUPPORTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n *\n * The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.\n */\n StatusCodes[StatusCodes[\"INSUFFICIENT_STORAGE\"] = 507] = \"INSUFFICIENT_STORAGE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-6\n *\n * The 511 status code indicates that the client needs to authenticate to gain network access.\n */\n StatusCodes[StatusCodes[\"NETWORK_AUTHENTICATION_REQUIRED\"] = 511] = \"NETWORK_AUTHENTICATION_REQUIRED\";\n})(StatusCodes || (StatusCodes = {}));\n","import chalk from 'chalk';\n\nimport axios from \"axios\";\n\nimport { ISTSLogger, JSONObject, OAuth2ParameterType, IAgentManager, STSAxiosConfig, createAgentManager, isNode } from '@nsshunt/stsutils';\n\nimport CryptoUtils from './Utils/CryptoUtils.js'\nimport QueryParams from './Utils/QueryParams.js'\n\nimport { jwtDecode } from \"jwt-decode\";\n\nimport { IStsStorage, ClientStorageType, ClientStorageFactory } from '@nsshunt/stsvueutils'\n\nimport { StatusCodes } from 'http-status-codes'\n\nimport { AuthorizeOptionsResponseType, AuthorizeOptionsResponseMode, IAuthorizationCodeFlowParameters, IRefreshFlowParameters,\n IAuthorizeOptions, ITokenResponse, IAuthorizeResponse, IAuthorizeErrorResponse, OAuthGrantTypes, \n IOauth2ListenerMessage, IOauth2ListenerCommand, IOauth2ListenerMessageResponse, ISTSOAuth2WorkerOptions, ISessionData } from './stsoauth2types.js'\n\nimport { Gauge, InstrumentBaseTelemetry, InstrumentLogTelemetry } from '@nsshunt/stsobservability'\n\nimport http from 'node:http'\nimport https from 'node:https'\n\n// STS Client SDK for SPAs\nexport class STSOAuth2Worker {\n //#storageManager = null;\n #clientSessionStore: IStsStorage<ISessionData>;\n #cUtils = new CryptoUtils();\n #qParams = new QueryParams();\n #STORAGE_SESSION_KEY = 'session.stsmda.com.au';\n //@@#aic = null;\n #oauthWorkerPort: MessagePort;\n #options: ISTSOAuth2WorkerOptions;\n #logger: ISTSLogger;\n #agentManager: IAgentManager | null = null;\n\n constructor(workerPort: MessagePort, options: ISTSOAuth2WorkerOptions, logger: ISTSLogger) {\n this.#options = options;\n this.#logger = logger;\n\t\t\n this.#LogDebugMessage(`STSOAuth2Worker:constructor:#options: [${JSON.stringify(this.#options)}]`);\n\n // In memory storage for OAuth2 tokens for our valid session\n this.#clientSessionStore = new ClientStorageFactory<ISessionData>({clientStorageType: ClientStorageType.MEMORY_STORAGE, usePrefix: false}).GetStorage();\n\n //@@ needs to be sent the instrument manager controller port\n //@@this.#aic = app.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController;\n\n //this.#handleAuthenticateEvent = handleAuthenticateEvent;\n\n this.#oauthWorkerPort = workerPort;\n\n this.#LogDebugMessage(`STSOAuth2Worker:constructor:#oauthWorkerPort: [${JSON.stringify(this.#oauthWorkerPort)}]`);\n\n if (isNode && this.#options.agentOptions) {\n this.#agentManager = createAgentManager({\n agentOptions: this.#options.agentOptions,\n httpAgentFactory(options) {\n return new http.Agent(options);\n },\n httpsAgentFactory(options) {\n return new https.Agent(options);\n }\n });\n }\n\n this.SetupListener();\n\n this.#UpdateInstrument(Gauge.LOGGER, {\n LogMessage: `STSOauth2 Plugin - Successfully Loaded`\n } as InstrumentLogTelemetry);\n\n /*\n\t\tsetInterval(() => { // Used for testing purposes only.\n\t\t\tthis.#UpdateInstrument(Gauge.LOGGER, {\n\t\t\t\tLogMessage: `--> [${Date.now().toString()}] <--`\n\t\t\t} as InstrumentLogTelemetry);\n\t\t}, 1000);\n\t\t*/\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogDebugMessage(message: any) {\n this.#logger.debug(message);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogInfoMessage(message: any) {\n this.#logger.info(message);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogErrorMessage(message: any) {\n this.#logger.error(message);\n }\n\n // Attempt to restore a previous session using the STSBroker\n /*\n { parameterType: OAuth2ParameterType.CLIENT_ID, errorType: authErrorType.CLIENT_ID_MISMATCH },\n { parameterType: OAuth2ParameterType.SCOPE, errorType: authErrorType.SCOPE_MISMATCH }\n { parameterType: OAuth2ParameterType.REDIRECT_URI, errorType: authErrorType.REDIRECT_URI_MISMATCH },\n { parameterType: OAuth2ParameterType.AUDIENCE, errorType: authErrorType.SCOPE_MISMATCH }\n\n Successful Response\n {\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q...\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 3599,\n \"scope\": \"https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\",\n \"refresh_token\": \"AwABAAAAvPM1KaPlrEqdFSBzjqfTGAMxZGUTdM0t4B4...\",\n \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIyZDRkMTFhMi1mODE0LTQ2YTctOD...\",\n }\n\n Error Response\n {\n \"error\": \"invalid_scope\",\n \"error_description\": \"AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope https://foo.microsoft.com/mail.read is not valid.\\r\\nTrace ID: 255d1aef-8c98-452f-ac51-23d051240864\\r\\nCorrelation ID: fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\\r\\nTimestamp: 2016-01-09 02:02:12Z\",\n \"error_codes\": [\n 70011\n ],\n \"timestamp\": \"2016-01-09 02:02:12Z\",\n }\n \n */\n\n #HandleAuthenticateEvent = (id_token: string | null) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.AUTHENTICATE_EVENT\n }\n this.#ProcessCommand(message, id_token);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #HandleErrorEvent = (error: any) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.ERROR\n }\n this.#ProcessCommand(message, error);\n }\n\n #LogMessage = (messageToSend: string) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.LOG\n }\n this.#ProcessCommand(message, messageToSend);\n }\n\n #GetAccessToken = (): string | null => {\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n const tokens: ITokenResponse = sessionData.tokenResponse;\n return tokens.access_token;\n } else {\n return null;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #GetCookies = (): any => {\n if (isNode) {\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n return sessionData.brokerCookie;\n } else {\n return null;\n }\n } else {\n return null;\n }\n }\n\n #UpdateInstrument = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.UPDATE_INSTRUMENT\n }\n this.#ProcessCommand(message, {\n instrumentName,\n telemetry\n });\n }\n\n SetupListener = () => {\n this.#oauthWorkerPort.onmessage = async (data: MessageEvent) => {\n const auth2ListenerMessage: IOauth2ListenerMessage = data.data as IOauth2ListenerMessage;\n this.#LogDebugMessage(`STSOAuth2Worker:SetupListener:onmessage: [${auth2ListenerMessage.command}]`);\n switch (auth2ListenerMessage.command) {\n case IOauth2ListenerCommand.RESTORE_SESSION :\n this.#ProcessCommand(auth2ListenerMessage, await this.#RestoreSession());\n break;\n case IOauth2ListenerCommand.AUTHORIZE :\n this.#ProcessCommand(auth2ListenerMessage, await this.#Authorize());\n break;\n case IOauth2ListenerCommand.HANDLE_REDIRECT :\n this.#ProcessCommand(auth2ListenerMessage, await this.#HandleRedirect(auth2ListenerMessage.payload));\n break;\n case IOauth2ListenerCommand.LOGOUT :\n this.#ProcessCommand(auth2ListenerMessage, await this.#Logout());\n break;\n //@@ Need a way of keeping this out of the main thread - should always stay within the worker\n case IOauth2ListenerCommand.ACCESS_TOKEN :\n this.#ProcessCommand(auth2ListenerMessage, await this.#GetAccessToken());\n break;\n case IOauth2ListenerCommand.EXECUTE_REFRESH_TOKEN :\n this.#ProcessCommand(auth2ListenerMessage, await this.#RefreshToken());\n break;\n case IOauth2ListenerCommand.COOKIES :\n this.#ProcessCommand(auth2ListenerMessage, await this.#GetCookies());\n break;\n default :\n throw new Error(`Command: [${auth2ListenerMessage.command}'] not found.`);\n }\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #ProcessCommand = async (auth2ListenerMessage: IOauth2ListenerMessage, response: any) => {\n const messageResponse: IOauth2ListenerMessageResponse = {\n messageId: auth2ListenerMessage.messageId as number,\n command: auth2ListenerMessage.command,\n payload: response\n }\n\n this.#oauthWorkerPort.postMessage(messageResponse);\n }\n\n #RestoreSession = async (): Promise<boolean> => {\n //@@ attempt to get from client storage first\n\n let restoredSessionData: ITokenResponse | null = null;\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n restoredSessionData = sessionData.tokenResponse;\n this.#LogInfoMessage('Session restored from client storage.');\n /*\n if (this.#aic) {\n this.#aic.UpdateInstrument('m', { LogMessage: 'Session restored from client storage.' });\n }\n */\n this.#LogMessage('Session restored from client storage.')\n } else {\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/session`;\n this.#LogInfoMessage('RestoreSession');\n this.#LogInfoMessage(url);\n /*\n if (this.#aic) {\n this.#aic.UpdateInstrument('m', { LogMessage: 'RestoreSession' });\n this.#aic.UpdateInstrument('m', { LogMessage: url });\n }\n */\n this.#LogMessage('RestoreSession.');\n this.#LogMessage(url);\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withData({\n [OAuth2ParameterType.CLIENT_ID]: this.#options.client_id,\n [OAuth2ParameterType.SCOPE]: this.#options.scope,\n [OAuth2ParameterType.REDIRECT_URI]: this.#options.redirect_uri,\n [OAuth2ParameterType.AUDIENCE]: this.#options.audience\n })\n .withDefaultHeaders()\n .withCredentials()\n .withTimeout(this.#options.timeout)\n this.#LogDebugMessage(chalk.magenta(`#RestoreSession:session request detail: [${JSON.stringify(rConfig)}]`));\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager)\n }\n const retVal = await axios(rConfig.config);\n if (retVal.data.status === StatusCodes.OK) {\n restoredSessionData = retVal.data.detail;\n if (restoredSessionData) {\n const newSessionData: ISessionData = {\n tokenResponse: restoredSessionData\n }\n\n if (isNode) {\n newSessionData.brokerCookie = retVal.headers['set-cookie'];\n }\n\n this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, newSessionData);\n this.#LogInfoMessage('Session restored from server side cookie.');\n } else {\n //@@ handle error better\n this.#LogErrorMessage(`Could not restore previous session. No restoredSessionData available.`);\n this.#LogErrorMessage(JSON.stringify(retVal.data));\n }\n } else {\n //@@ handle error better\n this.#LogErrorMessage('Could not restore previous session:-');\n this.#LogErrorMessage(JSON.stringify(retVal.data));\n }\n } catch (error) {\n //@@ handle error better\n this.#LogErrorMessage('Could not restore previous session (error state):-');\n this.#LogErrorMessage(error);\n this.#LogErrorMessage(JSON.stringify(error));\n }\n }\n\t\t\n //@@ must only use in-memory for this ...\n if (restoredSessionData !== null) {\n this.#HandleAuthenticateEvent(restoredSessionData.id_token);\n this.#LogInfoMessage('Refreshing tokens ...');\n return await this.#RefreshToken();\n } else {\n this.#HandleAuthenticateEvent(null);\n return false;\n }\n }\n\n #Authorize = async (): Promise<JSONObject> => {\n this.#LogInfoMessage('Authorize ...');\n\n /* MS Example\n --------------\n https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &response_type=code\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &response_mode=query\n &scope=offline_access%20https%3A%2F%2Fgraph.microsoft.com%2Fuser.read%20api%3A%2F%2F\n &state=12345\n &code_challenge=YTFjNjI1OWYzMzA3MTI4ZDY2Njg5M2RkNmVjNDE5YmEyZGRhOGYyM2IzNjdmZWFhMTQ1ODg3NDcxY2Nl\n &code_challenge_method=S256\n\n Successful Response\n\n GET http://localhost?\n code=AwABAAAAvPM1KaPlrEqdFSBzjqfTGBCmLdgfSTLEMPGYuNHSUYBrq...\n &state=12345\n\n Error Response\n GET http://localhost?\n error=access_denied\n &error_description=the+user+canceled+the+authentication\n\n << Hybrid Flow >>\n\n https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &response_type=code%20id_token\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &response_mode=fragment\n &scope=openid%20offline_access%20https%3A%2F%2Fgraph.microsoft.com%2Fuser.read\n &state=12345\n &nonce=abcde\n &code_challenge=YTFjNjI1OWYzMzA3MTI4ZDY2Njg5M2RkNmVjNDE5YmEyZGRhOGYyM2IzNjdmZWFhMTQ1ODg3NDcxY2Nl\n &code_challenge_method=S256\n\n Successful Response\n\n GET https://login.microsoftonline.com/common/oauth2/nativeclient#\n code=AwABAAAAvPM1KaPlrEqdFSBzjqfTGBCmLdgfSTLEMPGYuNHSUYBrq...\n &id_token=eYj...\n &state=12345\n\n Notes:\n The nonce is included as a claim inside the returned id_token\n Ref: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow\n */\n\n const client_id = this.#options.client_id;\n const nonce = this.#cUtils.CreateRandomString();\n const response_type = [ AuthorizeOptionsResponseType.CODE ]\n const redirect_uri = this.#options.redirect_uri;\n const response_mode = AuthorizeOptionsResponseMode.QUERY\n const scope = this.#options.scope\n const state = this.#cUtils.CreateRandomString();\n const code_verifier = this.#cUtils.CreateRandomString();\n const code_challenge = await this.#cUtils.DigestMessage(code_verifier);\n const code_challenge_method = 'S256';\n //let audience = this.#options.AUDIENCE;\n\n const authorizeOptions: IAuthorizeOptions = {\n client_id,\n nonce,\n response_type,\n redirect_uri,\n response_mode,\n scope,\n state,\n code_challenge,\n code_challenge_method\n }\n\n const authorizeOptionsClientCopy = { ...authorizeOptions };\n\n const url = `${this.#options.authorizeendpoint}:${this.#options.authorizeport}${this.#options.authorizeapiroot}${this.#options.authorizeapi}?${this.#qParams.CreateQueryParams(authorizeOptions)}`;\n\n this.#LogInfoMessage(url);\n\n // Now add the code_verifier to the transaction data\n authorizeOptions.code_verifier = code_verifier; //@@ Is this is the only thing required across the transaction ?\n\n this.#LogInfoMessage(`Authorize:authorizeOptions: [${JSON.stringify(authorizeOptions)}]`);\n\n return {\n url,\n authorizeOptions,\n authorizeOptionsClientCopy\n }\n //window.location.assign(url);\n //@@ this may need to be a message back to the plugin to re-direct\n //window.location.replace(url);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #HandleRedirect = async (payload: any): Promise<boolean> => {\n const queryVars: IAuthorizeResponse | IAuthorizeErrorResponse = payload.queryVars;\n const authorizeOptions: IAuthorizeOptions = payload.authorizeOptions\n\n this.#LogDebugMessage(chalk.magenta(`#HandleRedirect: HandleRedirect`));\n // We have been re-direct back here from the /authorize end-point\n this.#LogDebugMessage(chalk.magenta(`#HandleRedirect: HandleRedirect:Query Vars: [${JSON.stringify(queryVars)}]`));\n\n if ((queryVars as JSONObject)[OAuth2ParameterType.CODE]) {\n const response: IAuthorizeResponse = queryVars as IAuthorizeResponse;\n\n this.#LogInfoMessage(`authorizeOptions from transaction state: [${JSON.stringify(authorizeOptions)}]`);\n\t\n const redirectState = response.state;\n const authorizeOptionsState = authorizeOptions.state;\n\t\n if (authorizeOptionsState.localeCompare(redirectState) === 0) {\n this.#LogInfoMessage(chalk.green('redirected state (from queryVars) matched previously saved transaction authorizeOptions state'));\n\n return await this.#GetToken(authorizeOptions, response);\n } else {\n this.#LogErrorMessage(chalk.red('redirected state (from queryVars) did NOT match previously saved transaction authorizeOptions state'));\n this.#LogErrorMessage(chalk.red(`authorizeOptionsState: [${authorizeOptionsState}]`));\n this.#LogErrorMessage(chalk.red(`redirectState: [${redirectState}]`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n }\n } else if ((queryVars as JSONObject)[OAuth2ParameterType.ERROR]) {\n //const response: IAuthorizeErrorResponse = queryVars as IAuthorizeErrorResponse;\n //@@ pass error back to parent thread (to the plugin) as a message\n //const error = response.error;\n //const errorDescription = response.error_description;\n this.#LogErrorMessage(chalk.red(`State un-matched (1)`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n } else {\n // Invalid redirect query params\n //const error = 'Invalid redirect query params'; //@@ fix\n //const errorDescription = 'Invalid redirect query params description'; //@@ fix\n this.#LogErrorMessage(chalk.red(`State un-matched (2)`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n }\n }\n\n /*\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &scope=https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\n &code=OAAABAAAAiL9Kn2Z27UubvWFPbm0gLWQJVzCTE9UkP3pSx1aXxUjq3n8b2JRLk4OxVXr...\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &grant_type=authorization_code\n &code_verifier=ThisIsntRandomButItNeedsToBe43CharactersLong \n &client_secret=JqQX2PNo9bpM0uEihUPzyrh // NOTE: Only required for web apps. This secret needs to be URL-Encoded.\n\n Successful Response\n {\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q...\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 3599,\n \"scope\": \"https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\",\n \"refresh_token\": \"AwABAAAAvPM1KaPlrEqdFSBzjqfTGAMxZGUTdM0t4B4...\",\n \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIyZDRkMTFhMi1mODE0LTQ2YTctOD...\",\n }\n */\n\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n #GetTokenFromBroker = async (authorizationCodeFlowParameters: IAuthorizationCodeFlowParameters | IRefreshFlowParameters): Promise<boolean> => {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker`));\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/token`;\n\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withDefaultHeaders()\n .withData(authorizationCodeFlowParameters)\n .withCredentials()\n .withTimeout(this.#options.timeout)\n\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: request config: [${JSON.stringify(rConfig)}]`));\n\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager)\n }\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: axios API call`));\n const retVal = await axios(rConfig.config);\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: axios API call result: [${retVal.status}]`));\n\n if (retVal.status === StatusCodes.OK) {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: storing tokens`));\n const tokenResponse: ITokenResponse = retVal.data as ITokenResponse;\n this.#HandleAuthenticateEvent(tokenResponse.id_token);\n const newSessionData: ISessionData = {\n tokenResponse: tokenResponse\n }\n\n if (isNode) {\n newSessionData.brokerCookie = retVal.headers['set-cookie'];\n }\n\n this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, newSessionData);\n return true;\n } else if (retVal.status === StatusCodes.UNAUTHORIZED) {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: NOT storing tokens, status: [${retVal.status}]`));\n\n this.#HandleAuthenticateEvent(null);\n\n //const response: ITokenErrorResponse = retVal.data as ITokenErrorResponse;\n\n //@@ store response in state\n //@@ go to error page ??\n return false;\n\n } else {\n // General error\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: NOT storing tokens (general error 1), status: [${retVal.status}]`));\n this.#HandleAuthenticateEvent(null);\n this.#LogErrorMessage(chalk.red('Could not obtain access_token from token end-point:-'));\n this.#LogErrorMessage(chalk.red(JSON.stringify(retVal.data)));\n //@@ store error in state to show in error page\n return false;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`#GetTokenFromBroker: NOT storing tokens (general error 2), status: [${error}]`));\n this.#HandleAuthenticateEvent(null);\n //@@ store error in state to show in error page\n return false;\n }\n }\n\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n #GetToken = async (authorizeOptions: IAuthorizeOptions, authorizeResponse: IAuthorizeResponse): Promise<boolean> => {\n this.#LogInfoMessage(\"#GetToken\");\n this.#LogInfoMessage(authorizeResponse);\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n //this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, null);\n\n const authorizationCodeFlowParameters: IAuthorizationCodeFlowParameters = {\n client_id: this.#options.client_id,\n scope: this.#options.scope,\n code: authorizeResponse.code,\n redirect_uri: this.#options.redirect_uri,\n grant_type: OAuthGrantTypes.AUTHORIZATION_CODE,\n code_verifier: authorizeOptions.code_verifier as string\n }\n\n return await this.#GetTokenFromBroker(authorizationCodeFlowParameters);\n }\n\t\n /*\n\t// Line breaks for legibility only\n\nPOST /{tenant}/oauth2/v2.0/token HTTP/1.1\nHost: https://login.microsoftonline.com\nContent-Type: application/x-www-form-urlencoded\n\nclient_id=535fb089-9ff3-47b6-9bfb-4f1264799865\n&scope=https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\n&refresh_token=OAAABAAAAiL9Kn2Z27UubvWFPbm0gLWQJVzCTE9UkP3pSx1aXxUjq...\n&grant_type=refresh_token\n&client_secret=sampleCredentia1s // NOTE: Only required for web apps. This secret needs to be URL-Encoded\n\nError Response\n{\n\t\"error\": \"invalid_scope\",\n\t\"error_description\": \"AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope https://foo.microsoft.com/mail.read is not valid.\\r\\nTrace ID: 255d1aef-8c98-452f-ac51-23d051240864\\r\\nCorrelation ID: fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\\r\\nTimestamp: 2016-01-09 02:02:12Z\",\n\t\"error_codes\": [\n\t 70011\n\t],\n\t\"timestamp\": \"2016-01-09 02:02:12Z\",\n\t\"trace_id\": \"255d1aef-8c98-452f-ac51-23d051240864\",\n\t\"correlation_id\": \"fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\"\n }\n*/\n\n #RefreshToken = async (): Promise<boolean> => {\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Worker:#RefreshToken:start`));\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Worker:#RefreshToken:sessionData: [${JSON.stringify(sessionData)}]`));\n const currentSessionData = sessionData.tokenResponse;\n const refreshFlowParameters: IRefreshFlowParameters = {\n client_id: this.#options.client_id,\n scope: this.#options.scope,\n refresh_token: currentSessionData.refresh_token,\n grant_type: OAuthGrantTypes.REFRESH_TOKEN\n }\n return await this.#GetTokenFromBroker(refreshFlowParameters);\n } else {\n this.#LogErrorMessage(chalk.red(`STSOAuth2Worker:#RefreshToken:sessionData not found within clientSessionStore`));\n // show error\n //@@ no valid session exists for refresh\n return false;\n }\n }\n\n // call broker to logout\n // broker to logout of server\n // delete cookie\n // clear session storage\n // clear all state from $store\n #Logout = async (): Promise<boolean> => {\n this.#LogInfoMessage('Logout');\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/logout`;\n this.#LogInfoMessage(url);\n\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n const currentSessionData: ITokenResponse = sessionData.tokenResponse;\n const refresh_token = currentSessionData.refresh_token;\n this.#LogInfoMessage(refresh_token);\n\n const decodedRefreshToken: JSONObject = jwtDecode<JSONObject>(refresh_token);\n this.#LogInfoMessage(decodedRefreshToken);\n const sessionId = decodedRefreshToken.sts_session;\n this.#LogInfoMessage(sessionId);\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n this.#HandleAuthenticateEvent(null);\n\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withData({\n sessionId\n })\n .withDefaultHeaders()\n .withCredentials()\n .withTimeout(this.#options.timeout);\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager);\n }\n\n this.#LogDebugMessage(chalk.magenta(`#Logout: request config: [${rConfig}]`));\n const retVal = await axios(rConfig.config);\n if (retVal.data.status === StatusCodes.OK) {\n return true;\n } else {\n this.#LogErrorMessage(chalk.red('Error during logout (1: server side)'));\n this.#LogErrorMessage(chalk.red(JSON.stringify(retVal.data)));\n return false;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red('Error during logout (2: server side)'));\n this.#LogErrorMessage(chalk.red(error));\n this.#LogErrorMessage(chalk.red(JSON.stringify(error)));\n return false;\n }\n } else {\n this.#LogInfoMessage('Error during logout. Could not restore session from session storage.');\n return false;\n }\n }\n}\n","//import { createPinia, defineStore } from 'pinia'\n//import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\n\nimport { defineStore } from 'pinia'\n\n// Replace with pinia\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\nexport const TestStore = defineStore('__sts__TestStore', {\n state: () => {\n return {\n count: 0\n }\n },\n actions: {\n UpdateCount() {\n this.count++;\n }\n },\n getters: {\n CountXX: (state) => {\n return state.count * 2;\n }\n }\n /*\n\tpersist: {\n\t\tstorage: globalThis.sessionStorage\n\t}\n\t*/\n});\n","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { inject } from 'vue'\n\nimport { STSOAuth2ManagerPluginKey } from './stsPluginKeys.js'\n\nimport { STSOAuth2Manager } from './stsoauth2manager.js'\nimport { ISTSOAuth2ManagerOptions } from './stsoauth2types.js'\n\nexport * from './stsoauth2types.js'\nexport * from './stsoauth2manager.js'\nexport * from './stsoauth2worker.js'\n\nexport * from './stores/testStore.js'\nexport * from './stores/stsoauth2store.js'\n\nexport * from './stsPluginKeys.js'\n\n// Create our use composable. This pattern is also used by vue router library with the useRoute and useRouter composables.\n// https://skirtles-code.github.io/vue-examples/patterns/global-properties.html#application-level-provide-inject\nexport const useSTSOAuth2ManagerPlugin = (): STSOAuth2Manager => inject(STSOAuth2ManagerPluginKey) as STSOAuth2Manager\n\nexport const STSOAuth2ManagerPlugin = {\n install: (app: any, options: ISTSOAuth2ManagerOptions) => {\n const om = new STSOAuth2Manager(app, options);\n\n // Assign plugin instance to global $sts object (legacy method - see below)\n if (!app.config.globalProperties.$sts) {\n app.config.globalProperties.$sts = { };\n }\n app.config.globalProperties.$sts[STSOAuth2ManagerPluginKey] = om;\n\n // Assign App level provide for this STS plugin using symbol keys\n // https://vuejs.org/guide/components/provide-inject.html#working-with-symbol-keys\n app.provide(STSOAuth2ManagerPluginKey, om);\n }\n}\n"],"x_google_ignoreList":[1,2,3,4,6,8,9,10,12,13,14,17],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAa,4BAA4B,QAAQ;;;ACDjD,IAAMA,2BAAyB;AAE/B,IAAMC,gBAAc,SAAS,OAAM,SAAQ,UAAU,OAAO,OAAO;AAEnE,IAAMC,iBAAe,SAAS,OAAM,SAAQ,UAAU,KAAK,OAAO,KAAK,KAAK;AAE5E,IAAMC,iBAAe,SAAS,OAAO,KAAK,OAAO,SAAS,UAAU,KAAK,OAAO,KAAK,IAAI,GAAG,MAAM,GAAG,KAAK;AAE1G,IAAMC,WAAS;CACd,UAAU;EACT,OAAO,CAAC,GAAG,EAAE;EAEb,MAAM,CAAC,GAAG,GAAG;EACb,KAAK,CAAC,GAAG,GAAG;EACZ,QAAQ,CAAC,GAAG,GAAG;EACf,WAAW,CAAC,GAAG,GAAG;EAClB,UAAU,CAAC,IAAI,GAAG;EAClB,SAAS,CAAC,GAAG,GAAG;EAChB,QAAQ,CAAC,GAAG,GAAG;EACf,eAAe,CAAC,GAAG,GAAG;EACtB;CACD,OAAO;EACN,OAAO,CAAC,IAAI,GAAG;EACf,KAAK,CAAC,IAAI,GAAG;EACb,OAAO,CAAC,IAAI,GAAG;EACf,QAAQ,CAAC,IAAI,GAAG;EAChB,MAAM,CAAC,IAAI,GAAG;EACd,SAAS,CAAC,IAAI,GAAG;EACjB,MAAM,CAAC,IAAI,GAAG;EACd,OAAO,CAAC,IAAI,GAAG;EAGf,aAAa,CAAC,IAAI,GAAG;EACrB,MAAM,CAAC,IAAI,GAAG;EACd,MAAM,CAAC,IAAI,GAAG;EACd,WAAW,CAAC,IAAI,GAAG;EACnB,aAAa,CAAC,IAAI,GAAG;EACrB,cAAc,CAAC,IA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AK,6BAA6B;AAI9D,KAAI,QAAQ,2BAA2B,GAAG;GAEjD"}
1
+ {"version":3,"file":"index.cjs","names":["ANSI_BACKGROUND_OFFSET","wrapAnsi16","wrapAnsi256","wrapAnsi16m","styles","foregroundColorNames","backgroundColorNames","assembleStyles","ansiStyles","level","colorSupport","supportsColor","stringReplaceAll","stringEncaseCRLFWithFirstIndex","stdoutColor","stderrColor","supportsColor","GENERATOR","STYLER","IS_EMPTY","levelMapping","styles","applyOptions","chalkFactory","createChalk","ansiStyles","createBuilder","createStyler","getModelAnsi","proto","applyStyle","stringReplaceAll","stringEncaseCRLFWithFirstIndex","chalk","getDomain","isValidHostname","getDomain","fastPathLookup","parse","Stream","util","Buffer","crypto","util","Buffer","Stream","util","KeyObject","createSecretKey","crypto","encode","decode","crypto","bitLength","random","bitLength","getNamedCurve","invalidKeyInput","crypto","decrypt","getCryptoKey","crypto","invalidKeyInput","wrap","unwrap","deriveKey","invalidKeyInput","crypto","getCryptoKey","crypto","invalidKeyInput","p2s","concatSalt","encrypt","random","wrap","base64url","decrypt","unwrap","encrypt","invalidKeyInput","crypto","subtleAlgorithm","random","formatPEM","invalidKeyInput","crypto","crypto","base64url","asKeyObject","decodeBase64URL","isKeyLike","invalidKeyInput","invalidKeyInput","crypto","generateIv","base64url","decrypt","ECDH.ecdhAllowed","base64url","ECDH.deriveKey","cekLength","aesKw","rsaEs","pbes2Kw","aesGcmKw","base64url","generateCek","decrypt","base64url","invalidKeyInput","crypto","exportPublic","exportPrivate","ECDH.ecdhAllowed","ECDH.generateEpk","ECDH.deriveKey","cekLength","base64url","generateCek","aesKw","rsaEs","pbes2Kw","aesGcmKw","generateIv","base64url","generateCek","base64url","invalidKeyInput","crypto","getVerifyKey","subtleAlgorithm","crypto","base64url","secs","epoch","jwtPayload","jwtPayload","getSignKey","crypto","subtleAlgorithm","base64url","epoch","secs","base64url","base64url.encode","base64url.decode","jwtPayload","base64url.encode","base64url.decode","base64url","base64url","generateSecret","random","crypto","generateKeyPair","generate","generate","value","http","https","events_1","logger","callbackify","logger","StatusCodes","Gauge","#options","#label","#data","#options","#aic","#router","#transactionStore","#worker","#LogInfoMessage","#oauth2ManagerPort","#ProcessMessageResponse","#SetupRoute","#LogDebugMessage","#HandleAuthenticateEvent","#HandleErrorEvent","#HandleLogEvent","#HandleUpdateInstrumentEvent","#messageHandlers","#messageId","#messageTimeout","#GetStore","#PostMessage","#operationSemaphore","#maxSemaphoreRetries","#semaphoreRetrySleep","#LogErrorMessage","#STORAGE_AUTHORIZE_OPTIONS_KEY","#crypto","#options","#logger","#LogDebugMessage","#clientSessionStore","#oauthWorkerPort","#agentManager","#UpdateInstrument","#ProcessCommand","#STORAGE_SESSION_KEY","#RestoreSession","#Authorize","#HandleRedirect","#Logout","#GetAccessToken","#RefreshToken","#GetCookies","#LogInfoMessage","#LogMessage","#LogErrorMessage","#HandleAuthenticateEvent","#cUtils","#qParams","#GetToken","#HandleErrorEvent","#GetTokenFromBroker"],"sources":["../src/stsPluginKeys.ts","../node_modules/chalk/source/vendor/ansi-styles/index.js","../node_modules/chalk/source/vendor/supports-color/browser.js","../node_modules/chalk/source/utilities.js","../node_modules/chalk/source/index.js","../node_modules/tldts-core/dist/es6/src/domain.js","../node_modules/tldts-core/dist/es6/src/domain-without-suffix.js","../node_modules/tldts-core/dist/es6/src/extract-hostname.js","../node_modules/tldts-core/dist/es6/src/is-ip.js","../node_modules/tldts-core/dist/es6/src/is-valid.js","../node_modules/tldts-core/dist/es6/src/options.js","../node_modules/tldts-core/dist/es6/src/subdomain.js","../node_modules/tldts-core/dist/es6/src/factory.js","../node_modules/tldts-core/dist/es6/src/lookup/fast-path.js","../node_modules/tldts/dist/es6/src/data/trie.js","../node_modules/tldts/dist/es6/src/suffix-trie.js","../node_modules/tldts/dist/es6/index.js","../node_modules/tough-cookie/dist/index.js","../node_modules/safe-buffer/index.js","../node_modules/jws/lib/data-stream.js","../node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js","../node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js","../node_modules/buffer-equal-constant-time/index.js","../node_modules/jwa/index.js","../node_modules/jws/lib/tostring.js","../node_modules/jws/lib/sign-stream.js","../node_modules/jws/lib/verify-stream.js","../node_modules/jws/index.js","../node_modules/jsonwebtoken/decode.js","../node_modules/jsonwebtoken/lib/JsonWebTokenError.js","../node_modules/jsonwebtoken/lib/NotBeforeError.js","../node_modules/jsonwebtoken/lib/TokenExpiredError.js","../node_modules/ms/index.js","../node_modules/jsonwebtoken/lib/timespan.js","../node_modules/semver/internal/constants.js","../node_modules/semver/internal/debug.js","../node_modules/semver/internal/re.js","../node_modules/semver/internal/parse-options.js","../node_modules/semver/internal/identifiers.js","../node_modules/semver/classes/semver.js","../node_modules/semver/functions/parse.js","../node_modules/semver/functions/valid.js","../node_modules/semver/functions/clean.js","../node_modules/semver/functions/inc.js","../node_modules/semver/functions/diff.js","../node_modules/semver/functions/major.js","../node_modules/semver/functions/minor.js","../node_modules/semver/functions/patch.js","../node_modules/semver/functions/prerelease.js","../node_modules/semver/functions/compare.js","../node_modules/semver/functions/rcompare.js","../node_modules/semver/functions/compare-loose.js","../node_modules/semver/functions/compare-build.js","../node_modules/semver/functions/sort.js","../node_modules/semver/functions/rsort.js","../node_modules/semver/functions/gt.js","../node_modules/semver/functions/lt.js","../node_modules/semver/functions/eq.js","../node_modules/semver/functions/neq.js","../node_modules/semver/functions/gte.js","../node_modules/semver/functions/lte.js","../node_modules/semver/functions/cmp.js","../node_modules/semver/functions/coerce.js","../node_modules/semver/internal/lrucache.js","../node_modules/semver/classes/range.js","../node_modules/semver/classes/comparator.js","../node_modules/semver/functions/satisfies.js","../node_modules/semver/ranges/to-comparators.js","../node_modules/semver/ranges/max-satisfying.js","../node_modules/semver/ranges/min-satisfying.js","../node_modules/semver/ranges/min-version.js","../node_modules/semver/ranges/valid.js","../node_modules/semver/ranges/outside.js","../node_modules/semver/ranges/gtr.js","../node_modules/semver/ranges/ltr.js","../node_modules/semver/ranges/intersects.js","../node_modules/semver/ranges/simplify.js","../node_modules/semver/ranges/subset.js","../node_modules/semver/index.js","../node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js","../node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js","../node_modules/jsonwebtoken/lib/validateAsymmetricKey.js","../node_modules/jsonwebtoken/lib/psSupported.js","../node_modules/jsonwebtoken/verify.js","../node_modules/lodash.includes/index.js","../node_modules/lodash.isboolean/index.js","../node_modules/lodash.isinteger/index.js","../node_modules/lodash.isnumber/index.js","../node_modules/lodash.isplainobject/index.js","../node_modules/lodash.isstring/index.js","../node_modules/lodash.once/index.js","../node_modules/jsonwebtoken/sign.js","../node_modules/jsonwebtoken/index.js","../node_modules/jwt-decode/build/esm/index.js","../node_modules/jose/dist/browser/runtime/webcrypto.js","../node_modules/jose/dist/browser/runtime/digest.js","../node_modules/jose/dist/browser/lib/buffer_utils.js","../node_modules/jose/dist/browser/runtime/base64url.js","../node_modules/jose/dist/browser/util/errors.js","../node_modules/jose/dist/browser/runtime/random.js","../node_modules/jose/dist/browser/lib/iv.js","../node_modules/jose/dist/browser/lib/check_iv_length.js","../node_modules/jose/dist/browser/runtime/check_cek_length.js","../node_modules/jose/dist/browser/runtime/timing_safe_equal.js","../node_modules/jose/dist/browser/lib/crypto_key.js","../node_modules/jose/dist/browser/lib/invalid_key_input.js","../node_modules/jose/dist/browser/runtime/is_key_like.js","../node_modules/jose/dist/browser/runtime/decrypt.js","../node_modules/jose/dist/browser/runtime/zlib.js","../node_modules/jose/dist/browser/lib/is_disjoint.js","../node_modules/jose/dist/browser/lib/is_object.js","../node_modules/jose/dist/browser/runtime/bogus.js","../node_modules/jose/dist/browser/runtime/aeskw.js","../node_modules/jose/dist/browser/runtime/ecdhes.js","../node_modules/jose/dist/browser/lib/check_p2s.js","../node_modules/jose/dist/browser/runtime/pbes2kw.js","../node_modules/jose/dist/browser/runtime/subtle_rsaes.js","../node_modules/jose/dist/browser/runtime/check_key_length.js","../node_modules/jose/dist/browser/runtime/rsaes.js","../node_modules/jose/dist/browser/lib/cek.js","../node_modules/jose/dist/browser/lib/format_pem.js","../node_modules/jose/dist/browser/runtime/asn1.js","../node_modules/jose/dist/browser/runtime/jwk_to_key.js","../node_modules/jose/dist/browser/key/import.js","../node_modules/jose/dist/browser/lib/check_key_type.js","../node_modules/jose/dist/browser/runtime/encrypt.js","../node_modules/jose/dist/browser/lib/aesgcmkw.js","../node_modules/jose/dist/browser/lib/decrypt_key_management.js","../node_modules/jose/dist/browser/lib/validate_crit.js","../node_modules/jose/dist/browser/lib/validate_algorithms.js","../node_modules/jose/dist/browser/jwe/flattened/decrypt.js","../node_modules/jose/dist/browser/jwe/compact/decrypt.js","../node_modules/jose/dist/browser/jwe/general/decrypt.js","../node_modules/jose/dist/browser/runtime/key_to_jwk.js","../node_modules/jose/dist/browser/key/export.js","../node_modules/jose/dist/browser/lib/encrypt_key_management.js","../node_modules/jose/dist/browser/jwe/flattened/encrypt.js","../node_modules/jose/dist/browser/jwe/general/encrypt.js","../node_modules/jose/dist/browser/runtime/subtle_dsa.js","../node_modules/jose/dist/browser/runtime/get_sign_verify_key.js","../node_modules/jose/dist/browser/runtime/verify.js","../node_modules/jose/dist/browser/jws/flattened/verify.js","../node_modules/jose/dist/browser/jws/compact/verify.js","../node_modules/jose/dist/browser/jws/general/verify.js","../node_modules/jose/dist/browser/lib/epoch.js","../node_modules/jose/dist/browser/lib/secs.js","../node_modules/jose/dist/browser/lib/jwt_claims_set.js","../node_modules/jose/dist/browser/jwt/verify.js","../node_modules/jose/dist/browser/jwt/decrypt.js","../node_modules/jose/dist/browser/jwe/compact/encrypt.js","../node_modules/jose/dist/browser/runtime/sign.js","../node_modules/jose/dist/browser/jws/flattened/sign.js","../node_modules/jose/dist/browser/jws/compact/sign.js","../node_modules/jose/dist/browser/jws/general/sign.js","../node_modules/jose/dist/browser/jwt/produce.js","../node_modules/jose/dist/browser/jwt/sign.js","../node_modules/jose/dist/browser/jwt/encrypt.js","../node_modules/jose/dist/browser/jwk/thumbprint.js","../node_modules/jose/dist/browser/jwk/embedded.js","../node_modules/jose/dist/browser/jwks/local.js","../node_modules/jose/dist/browser/runtime/fetch_jwks.js","../node_modules/jose/dist/browser/jwks/remote.js","../node_modules/jose/dist/browser/jwt/unsecured.js","../node_modules/jose/dist/browser/util/base64url.js","../node_modules/jose/dist/browser/util/decode_protected_header.js","../node_modules/jose/dist/browser/util/decode_jwt.js","../node_modules/jose/dist/browser/runtime/generate.js","../node_modules/jose/dist/browser/key/generate_key_pair.js","../node_modules/jose/dist/browser/key/generate_secret.js","../node_modules/jose/dist/browser/runtime/runtime.js","../node_modules/jose/dist/browser/util/runtime.js","../node_modules/jose/dist/browser/index.js","../node_modules/jwks-rsa/src/errors/JwksError.js","../node_modules/jwks-rsa/src/utils.js","../node_modules/jwks-rsa/src/errors/ArgumentError.js","../node_modules/jwks-rsa/src/wrappers/request.js","../node_modules/yallist/iterator.js","../node_modules/yallist/yallist.js","../node_modules/lru-memoizer/node_modules/lru-cache/index.js","../node_modules/lodash.clonedeep/index.js","../node_modules/lru-memoizer/lib/freeze.js","../node_modules/lru-memoizer/lib/sync.js","../node_modules/lru-memoizer/lib/async.js","../node_modules/lru-memoizer/lib/index.js","../node_modules/jwks-rsa/src/wrappers/cache.js","../node_modules/limiter/lib/tokenBucket.js","../node_modules/limiter/lib/clock.js","../node_modules/limiter/lib/rateLimiter.js","../node_modules/limiter/index.js","../node_modules/jwks-rsa/src/errors/JwksRateLimitError.js","../node_modules/jwks-rsa/src/wrappers/rateLimit.js","../node_modules/jwks-rsa/src/wrappers/interceptor.js","../node_modules/jwks-rsa/src/wrappers/callbackSupport.js","../node_modules/jwks-rsa/src/wrappers/index.js","../node_modules/jwks-rsa/src/errors/SigningKeyNotFoundError.js","../node_modules/jwks-rsa/src/JwksClient.js","../node_modules/jwks-rsa/src/errors/index.js","../node_modules/jwks-rsa/src/integrations/config.js","../node_modules/jwks-rsa/src/integrations/hapi.js","../node_modules/jwks-rsa/src/integrations/express.js","../node_modules/jwks-rsa/src/integrations/koa.js","../node_modules/jwks-rsa/src/integrations/passport.js","../node_modules/jwks-rsa/src/index.js","../node_modules/@nsshunt/stsauthclient/dist/index.mjs","../src/stsoauth2types.ts","../src/stores/stsoauth2store.ts","../node_modules/tiny-emitter/index.js","../node_modules/@nsshunt/stsinstrumentmanagerclient/dist/index.mjs","../src/stsoauth2manager.ts","../node_modules/crypto-js/core.js","../node_modules/crypto-js/sha256.js","../node_modules/crypto-js/enc-base64.js","../src/Utils/CryptoUtils.ts","../src/Utils/QueryParams.ts","../node_modules/http-status-codes/build/es/status-codes.js","../src/stsoauth2worker.ts","../src/stores/testStore.ts","../src/index.ts"],"sourcesContent":["// Individual STS plugin keys for provide/inject logic\nexport const STSOAuth2ManagerPluginKey = Symbol()\n","const ANSI_BACKGROUND_OFFSET = 10;\n\nconst wrapAnsi16 = (offset = 0) => code => `\\u001B[${code + offset}m`;\n\nconst wrapAnsi256 = (offset = 0) => code => `\\u001B[${38 + offset};5;${code}m`;\n\nconst wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\n\nconst styles = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\t// 21 isn't widely supported and 22 does the same thing\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29],\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\n\t\t// Bright color\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39], // Alias of `blackBright`\n\t\tgrey: [90, 39], // Alias of `blackBright`\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39],\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\n\t\t// Bright color\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49], // Alias of `bgBlackBright`\n\t\tbgGrey: [100, 49], // Alias of `bgBlackBright`\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49],\n\t},\n};\n\nexport const modifierNames = Object.keys(styles.modifier);\nexport const foregroundColorNames = Object.keys(styles.color);\nexport const backgroundColorNames = Object.keys(styles.bgColor);\nexport const colorNames = [...foregroundColorNames, ...backgroundColorNames];\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`,\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false,\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false,\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = wrapAnsi16();\n\tstyles.color.ansi256 = wrapAnsi256();\n\tstyles.color.ansi16m = wrapAnsi16m();\n\tstyles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\n\t// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js\n\tObject.defineProperties(styles, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\t// We use the extended greyscale palette here, with the exception of\n\t\t\t\t// black and white. normal palette only has 4 greyscale shades.\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) {\n\t\t\t\t\t\treturn 16;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (red > 248) {\n\t\t\t\t\t\treturn 231;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn Math.round(((red - 8) / 247) * 24) + 232;\n\t\t\t\t}\n\n\t\t\t\treturn 16\n\t\t\t\t\t+ (36 * Math.round(red / 255 * 5))\n\t\t\t\t\t+ (6 * Math.round(green / 255 * 5))\n\t\t\t\t\t+ Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) {\n\t\t\t\t\treturn [0, 0, 0];\n\t\t\t\t}\n\n\t\t\t\tlet [colorString] = matches;\n\n\t\t\t\tif (colorString.length === 3) {\n\t\t\t\t\tcolorString = [...colorString].map(character => character + character).join('');\n\t\t\t\t}\n\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\n\t\t\t\treturn [\n\t\t\t\t\t/* eslint-disable no-bitwise */\n\t\t\t\t\t(integer >> 16) & 0xFF,\n\t\t\t\t\t(integer >> 8) & 0xFF,\n\t\t\t\t\tinteger & 0xFF,\n\t\t\t\t\t/* eslint-enable no-bitwise */\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) {\n\t\t\t\t\treturn 30 + code;\n\t\t\t\t}\n\n\t\t\t\tif (code < 16) {\n\t\t\t\t\treturn 90 + (code - 8);\n\t\t\t\t}\n\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = (((code - 232) * 10) + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\n\t\t\t\t\tconst remainder = code % 36;\n\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = (remainder % 6) / 5;\n\t\t\t\t}\n\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\n\t\t\t\tif (value === 0) {\n\t\t\t\t\treturn 30;\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tlet result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));\n\n\t\t\t\tif (value === 2) {\n\t\t\t\t\tresult += 60;\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t});\n\n\treturn styles;\n}\n\nconst ansiStyles = assembleStyles();\n\nexport default ansiStyles;\n","/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n","// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.\nexport function stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n\nexport function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.slice(endIndex, (gotCR ? index - 1 : index)) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n","import ansiStyles from '#ansi-styles';\nimport supportsColor from '#supports-color';\nimport { // eslint-disable-line import/order\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex,\n} from './utilities.js';\n\nconst {stdout: stdoutColor, stderr: stderrColor} = supportsColor;\n\nconst GENERATOR = Symbol('GENERATOR');\nconst STYLER = Symbol('STYLER');\nconst IS_EMPTY = Symbol('IS_EMPTY');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m',\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nexport class Chalk {\n\tconstructor(options) {\n\t\t// eslint-disable-next-line no-constructor-return\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = (...strings) => strings.join(' ');\n\tapplyOptions(chalk, options);\n\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\n\treturn chalk;\n};\n\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\n\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t},\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this[STYLER], true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t},\n};\n\nconst getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === 'rgb') {\n\t\tif (level === 'ansi16m') {\n\t\t\treturn ansiStyles[type].ansi16m(...arguments_);\n\t\t}\n\n\t\tif (level === 'ansi256') {\n\t\t\treturn ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\t}\n\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\n\tif (model === 'hex') {\n\t\treturn getModelAnsi('rgb', level, type, ...ansiStyles.hexToRgb(...arguments_));\n\t}\n\n\treturn ansiStyles[type][model](...arguments_);\n};\n\nconst usedModels = ['rgb', 'hex', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'color', ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], 'bgColor', ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t\t};\n\t\t},\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t},\n\t},\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent,\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\t// Single argument is hot path, implicit coercion is faster than anything\n\t// eslint-disable-next-line no-implicit-coercion\n\tconst builder = (...arguments_) => applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\n\t// We alter the prototype because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tObject.setPrototypeOf(builder, proto);\n\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self[IS_EMPTY] ? '' : string;\n\t}\n\n\tlet styler = self[STYLER];\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.includes('\\u001B')) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nObject.defineProperties(createChalk.prototype, styles);\n\nconst chalk = createChalk();\nexport const chalkStderr = createChalk({level: stderrColor ? stderrColor.level : 0});\n\nexport {\n\tmodifierNames,\n\tforegroundColorNames,\n\tbackgroundColorNames,\n\tcolorNames,\n\n\t// TODO: Remove these aliases in the next major version\n\tmodifierNames as modifiers,\n\tforegroundColorNames as foregroundColors,\n\tbackgroundColorNames as backgroundColors,\n\tcolorNames as colors,\n} from './vendor/ansi-styles/index.js';\n\nexport {\n\tstdoutColor as supportsColor,\n\tstderrColor as supportsColorStderr,\n};\n\nexport default chalk;\n","/**\n * Check if `vhost` is a valid suffix of `hostname` (top-domain)\n *\n * It means that `vhost` needs to be a suffix of `hostname` and we then need to\n * make sure that: either they are equal, or the character preceding `vhost` in\n * `hostname` is a '.' (it should not be a partial label).\n *\n * * hostname = 'not.evil.com' and vhost = 'vil.com' => not ok\n * * hostname = 'not.evil.com' and vhost = 'evil.com' => ok\n * * hostname = 'not.evil.com' and vhost = 'not.evil.com' => ok\n */\nfunction shareSameDomainSuffix(hostname, vhost) {\n if (hostname.endsWith(vhost)) {\n return (hostname.length === vhost.length ||\n hostname[hostname.length - vhost.length - 1] === '.');\n }\n return false;\n}\n/**\n * Given a hostname and its public suffix, extract the general domain.\n */\nfunction extractDomainWithSuffix(hostname, publicSuffix) {\n // Locate the index of the last '.' in the part of the `hostname` preceding\n // the public suffix.\n //\n // examples:\n // 1. not.evil.co.uk => evil.co.uk\n // ^ ^\n // | | start of public suffix\n // | index of the last dot\n //\n // 2. example.co.uk => example.co.uk\n // ^ ^\n // | | start of public suffix\n // |\n // | (-1) no dot found before the public suffix\n const publicSuffixIndex = hostname.length - publicSuffix.length - 2;\n const lastDotBeforeSuffixIndex = hostname.lastIndexOf('.', publicSuffixIndex);\n // No '.' found, then `hostname` is the general domain (no sub-domain)\n if (lastDotBeforeSuffixIndex === -1) {\n return hostname;\n }\n // Extract the part between the last '.'\n return hostname.slice(lastDotBeforeSuffixIndex + 1);\n}\n/**\n * Detects the domain based on rules and upon and a host string\n */\nexport default function getDomain(suffix, hostname, options) {\n // Check if `hostname` ends with a member of `validHosts`.\n if (options.validHosts !== null) {\n const validHosts = options.validHosts;\n for (const vhost of validHosts) {\n if ( /*@__INLINE__*/shareSameDomainSuffix(hostname, vhost)) {\n return vhost;\n }\n }\n }\n let numberOfLeadingDots = 0;\n if (hostname.startsWith('.')) {\n while (numberOfLeadingDots < hostname.length &&\n hostname[numberOfLeadingDots] === '.') {\n numberOfLeadingDots += 1;\n }\n }\n // If `hostname` is a valid public suffix, then there is no domain to return.\n // Since we already know that `getPublicSuffix` returns a suffix of `hostname`\n // there is no need to perform a string comparison and we only compare the\n // size.\n if (suffix.length === hostname.length - numberOfLeadingDots) {\n return null;\n }\n // To extract the general domain, we start by identifying the public suffix\n // (if any), then consider the domain to be the public suffix with one added\n // level of depth. (e.g.: if hostname is `not.evil.co.uk` and public suffix:\n // `co.uk`, then we take one more level: `evil`, giving the final result:\n // `evil.co.uk`).\n return /*@__INLINE__*/ extractDomainWithSuffix(hostname, suffix);\n}\n//# sourceMappingURL=domain.js.map","/**\n * Return the part of domain without suffix.\n *\n * Example: for domain 'foo.com', the result would be 'foo'.\n */\nexport default function getDomainWithoutSuffix(domain, suffix) {\n // Note: here `domain` and `suffix` cannot have the same length because in\n // this case we set `domain` to `null` instead. It is thus safe to assume\n // that `suffix` is shorter than `domain`.\n return domain.slice(0, -suffix.length - 1);\n}\n//# sourceMappingURL=domain-without-suffix.js.map","/**\n * @param url - URL we want to extract a hostname from.\n * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.\n */\nexport default function extractHostname(url, urlIsValidHostname) {\n let start = 0;\n let end = url.length;\n let hasUpper = false;\n // If url is not already a valid hostname, then try to extract hostname.\n if (!urlIsValidHostname) {\n // Special handling of data URLs\n if (url.startsWith('data:')) {\n return null;\n }\n // Trim leading spaces\n while (start < url.length && url.charCodeAt(start) <= 32) {\n start += 1;\n }\n // Trim trailing spaces\n while (end > start + 1 && url.charCodeAt(end - 1) <= 32) {\n end -= 1;\n }\n // Skip scheme.\n if (url.charCodeAt(start) === 47 /* '/' */ &&\n url.charCodeAt(start + 1) === 47 /* '/' */) {\n start += 2;\n }\n else {\n const indexOfProtocol = url.indexOf(':/', start);\n if (indexOfProtocol !== -1) {\n // Implement fast-path for common protocols. We expect most protocols\n // should be one of these 4 and thus we will not need to perform the\n // more expansive validity check most of the time.\n const protocolSize = indexOfProtocol - start;\n const c0 = url.charCodeAt(start);\n const c1 = url.charCodeAt(start + 1);\n const c2 = url.charCodeAt(start + 2);\n const c3 = url.charCodeAt(start + 3);\n const c4 = url.charCodeAt(start + 4);\n if (protocolSize === 5 &&\n c0 === 104 /* 'h' */ &&\n c1 === 116 /* 't' */ &&\n c2 === 116 /* 't' */ &&\n c3 === 112 /* 'p' */ &&\n c4 === 115 /* 's' */) {\n // https\n }\n else if (protocolSize === 4 &&\n c0 === 104 /* 'h' */ &&\n c1 === 116 /* 't' */ &&\n c2 === 116 /* 't' */ &&\n c3 === 112 /* 'p' */) {\n // http\n }\n else if (protocolSize === 3 &&\n c0 === 119 /* 'w' */ &&\n c1 === 115 /* 's' */ &&\n c2 === 115 /* 's' */) {\n // wss\n }\n else if (protocolSize === 2 &&\n c0 === 119 /* 'w' */ &&\n c1 === 115 /* 's' */) {\n // ws\n }\n else {\n // Check that scheme is valid\n for (let i = start; i < indexOfProtocol; i += 1) {\n const lowerCaseCode = url.charCodeAt(i) | 32;\n if (!(((lowerCaseCode >= 97 && lowerCaseCode <= 122) || // [a, z]\n (lowerCaseCode >= 48 && lowerCaseCode <= 57) || // [0, 9]\n lowerCaseCode === 46 || // '.'\n lowerCaseCode === 45 || // '-'\n lowerCaseCode === 43) // '+'\n )) {\n return null;\n }\n }\n }\n // Skip 0, 1 or more '/' after ':/'\n start = indexOfProtocol + 2;\n while (url.charCodeAt(start) === 47 /* '/' */) {\n start += 1;\n }\n }\n }\n // Detect first occurrence of '/', '?' or '#'. We also keep track of the\n // last occurrence of '@', ']' or ':' to speed-up subsequent parsing of\n // (respectively), identifier, ipv6 or port.\n let indexOfIdentifier = -1;\n let indexOfClosingBracket = -1;\n let indexOfPort = -1;\n for (let i = start; i < end; i += 1) {\n const code = url.charCodeAt(i);\n if (code === 35 || // '#'\n code === 47 || // '/'\n code === 63 // '?'\n ) {\n end = i;\n break;\n }\n else if (code === 64) {\n // '@'\n indexOfIdentifier = i;\n }\n else if (code === 93) {\n // ']'\n indexOfClosingBracket = i;\n }\n else if (code === 58) {\n // ':'\n indexOfPort = i;\n }\n else if (code >= 65 && code <= 90) {\n hasUpper = true;\n }\n }\n // Detect identifier: '@'\n if (indexOfIdentifier !== -1 &&\n indexOfIdentifier > start &&\n indexOfIdentifier < end) {\n start = indexOfIdentifier + 1;\n }\n // Handle ipv6 addresses\n if (url.charCodeAt(start) === 91 /* '[' */) {\n if (indexOfClosingBracket !== -1) {\n return url.slice(start + 1, indexOfClosingBracket).toLowerCase();\n }\n return null;\n }\n else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) {\n // Detect port: ':'\n end = indexOfPort;\n }\n }\n // Trim trailing dots\n while (end > start + 1 && url.charCodeAt(end - 1) === 46 /* '.' */) {\n end -= 1;\n }\n const hostname = start !== 0 || end !== url.length ? url.slice(start, end) : url;\n if (hasUpper) {\n return hostname.toLowerCase();\n }\n return hostname;\n}\n//# sourceMappingURL=extract-hostname.js.map","/**\n * Check if a hostname is an IP. You should be aware that this only works\n * because `hostname` is already garanteed to be a valid hostname!\n */\nfunction isProbablyIpv4(hostname) {\n // Cannot be shorted than 1.1.1.1\n if (hostname.length < 7) {\n return false;\n }\n // Cannot be longer than: 255.255.255.255\n if (hostname.length > 15) {\n return false;\n }\n let numberOfDots = 0;\n for (let i = 0; i < hostname.length; i += 1) {\n const code = hostname.charCodeAt(i);\n if (code === 46 /* '.' */) {\n numberOfDots += 1;\n }\n else if (code < 48 /* '0' */ || code > 57 /* '9' */) {\n return false;\n }\n }\n return (numberOfDots === 3 &&\n hostname.charCodeAt(0) !== 46 /* '.' */ &&\n hostname.charCodeAt(hostname.length - 1) !== 46 /* '.' */);\n}\n/**\n * Similar to isProbablyIpv4.\n */\nfunction isProbablyIpv6(hostname) {\n if (hostname.length < 3) {\n return false;\n }\n let start = hostname.startsWith('[') ? 1 : 0;\n let end = hostname.length;\n if (hostname[end - 1] === ']') {\n end -= 1;\n }\n // We only consider the maximum size of a normal IPV6. Note that this will\n // fail on so-called \"IPv4 mapped IPv6 addresses\" but this is a corner-case\n // and a proper validation library should be used for these.\n if (end - start > 39) {\n return false;\n }\n let hasColon = false;\n for (; start < end; start += 1) {\n const code = hostname.charCodeAt(start);\n if (code === 58 /* ':' */) {\n hasColon = true;\n }\n else if (!(((code >= 48 && code <= 57) || // 0-9\n (code >= 97 && code <= 102) || // a-f\n (code >= 65 && code <= 90)) // A-F\n )) {\n return false;\n }\n }\n return hasColon;\n}\n/**\n * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).\n * This *will not* work on any string. We need `hostname` to be a valid\n * hostname.\n */\nexport default function isIp(hostname) {\n return isProbablyIpv6(hostname) || isProbablyIpv4(hostname);\n}\n//# sourceMappingURL=is-ip.js.map","/**\n * Implements fast shallow verification of hostnames. This does not perform a\n * struct check on the content of labels (classes of Unicode characters, etc.)\n * but instead check that the structure is valid (number of labels, length of\n * labels, etc.).\n *\n * If you need stricter validation, consider using an external library.\n */\nfunction isValidAscii(code) {\n return ((code >= 97 && code <= 122) || (code >= 48 && code <= 57) || code > 127);\n}\n/**\n * Check if a hostname string is valid. It's usually a preliminary check before\n * trying to use getDomain or anything else.\n *\n * Beware: it does not check if the TLD exists.\n */\nexport default function (hostname) {\n if (hostname.length > 255) {\n return false;\n }\n if (hostname.length === 0) {\n return false;\n }\n if (\n /*@__INLINE__*/ !isValidAscii(hostname.charCodeAt(0)) &&\n hostname.charCodeAt(0) !== 46 && // '.' (dot)\n hostname.charCodeAt(0) !== 95 // '_' (underscore)\n ) {\n return false;\n }\n // Validate hostname according to RFC\n let lastDotIndex = -1;\n let lastCharCode = -1;\n const len = hostname.length;\n for (let i = 0; i < len; i += 1) {\n const code = hostname.charCodeAt(i);\n if (code === 46 /* '.' */) {\n if (\n // Check that previous label is < 63 bytes long (64 = 63 + '.')\n i - lastDotIndex > 64 ||\n // Check that previous character was not already a '.'\n lastCharCode === 46 ||\n // Check that the previous label does not end with a '-' (dash)\n lastCharCode === 45 ||\n // Check that the previous label does not end with a '_' (underscore)\n lastCharCode === 95) {\n return false;\n }\n lastDotIndex = i;\n }\n else if (!( /*@__INLINE__*/(isValidAscii(code) || code === 45 || code === 95))) {\n // Check if there is a forbidden character in the label\n return false;\n }\n lastCharCode = code;\n }\n return (\n // Check that last label is shorter than 63 chars\n len - lastDotIndex - 1 <= 63 &&\n // Check that the last character is an allowed trailing label character.\n // Since we already checked that the char is a valid hostname character,\n // we only need to check that it's different from '-'.\n lastCharCode !== 45);\n}\n//# sourceMappingURL=is-valid.js.map","function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname = true, mixedInputs = true, validHosts = null, validateHostname = true, }) {\n return {\n allowIcannDomains,\n allowPrivateDomains,\n detectIp,\n extractHostname,\n mixedInputs,\n validHosts,\n validateHostname,\n };\n}\nconst DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({});\nexport function setDefaults(options) {\n if (options === undefined) {\n return DEFAULT_OPTIONS;\n }\n return /*@__INLINE__*/ setDefaultsImpl(options);\n}\n//# sourceMappingURL=options.js.map","/**\n * Returns the subdomain of a hostname string\n */\nexport default function getSubdomain(hostname, domain) {\n // If `hostname` and `domain` are the same, then there is no sub-domain\n if (domain.length === hostname.length) {\n return '';\n }\n return hostname.slice(0, -domain.length - 1);\n}\n//# sourceMappingURL=subdomain.js.map","/**\n * Implement a factory allowing to plug different implementations of suffix\n * lookup (e.g.: using a trie or the packed hashes datastructures). This is used\n * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.\n */\nimport getDomain from './domain';\nimport getDomainWithoutSuffix from './domain-without-suffix';\nimport extractHostname from './extract-hostname';\nimport isIp from './is-ip';\nimport isValidHostname from './is-valid';\nimport { setDefaults } from './options';\nimport getSubdomain from './subdomain';\nexport function getEmptyResult() {\n return {\n domain: null,\n domainWithoutSuffix: null,\n hostname: null,\n isIcann: null,\n isIp: null,\n isPrivate: null,\n publicSuffix: null,\n subdomain: null,\n };\n}\nexport function resetResult(result) {\n result.domain = null;\n result.domainWithoutSuffix = null;\n result.hostname = null;\n result.isIcann = null;\n result.isIp = null;\n result.isPrivate = null;\n result.publicSuffix = null;\n result.subdomain = null;\n}\nexport function parseImpl(url, step, suffixLookup, partialOptions, result) {\n const options = /*@__INLINE__*/ setDefaults(partialOptions);\n // Very fast approximate check to make sure `url` is a string. This is needed\n // because the library will not necessarily be used in a typed setup and\n // values of arbitrary types might be given as argument.\n if (typeof url !== 'string') {\n return result;\n }\n // Extract hostname from `url` only if needed. This can be made optional\n // using `options.extractHostname`. This option will typically be used\n // whenever we are sure the inputs to `parse` are already hostnames and not\n // arbitrary URLs.\n //\n // `mixedInput` allows to specify if we expect a mix of URLs and hostnames\n // as input. If only hostnames are expected then `extractHostname` can be\n // set to `false` to speed-up parsing. If only URLs are expected then\n // `mixedInputs` can be set to `false`. The `mixedInputs` is only a hint\n // and will not change the behavior of the library.\n if (!options.extractHostname) {\n result.hostname = url;\n }\n else if (options.mixedInputs) {\n result.hostname = extractHostname(url, isValidHostname(url));\n }\n else {\n result.hostname = extractHostname(url, false);\n }\n // Check if `hostname` is a valid ip address\n if (options.detectIp && result.hostname !== null) {\n result.isIp = isIp(result.hostname);\n if (result.isIp) {\n return result;\n }\n }\n // Perform hostname validation if enabled. If hostname is not valid, no need to\n // go further as there will be no valid domain or sub-domain. This validation\n // is applied before any early returns to ensure consistent behavior across\n // all API methods including getHostname().\n if (options.validateHostname &&\n options.extractHostname &&\n result.hostname !== null &&\n !isValidHostname(result.hostname)) {\n result.hostname = null;\n return result;\n }\n if (step === 0 /* FLAG.HOSTNAME */ || result.hostname === null) {\n return result;\n }\n // Extract public suffix\n suffixLookup(result.hostname, options, result);\n if (step === 2 /* FLAG.PUBLIC_SUFFIX */ || result.publicSuffix === null) {\n return result;\n }\n // Extract domain\n result.domain = getDomain(result.publicSuffix, result.hostname, options);\n if (step === 3 /* FLAG.DOMAIN */ || result.domain === null) {\n return result;\n }\n // Extract subdomain\n result.subdomain = getSubdomain(result.hostname, result.domain);\n if (step === 4 /* FLAG.SUB_DOMAIN */) {\n return result;\n }\n // Extract domain without suffix\n result.domainWithoutSuffix = getDomainWithoutSuffix(result.domain, result.publicSuffix);\n return result;\n}\n//# sourceMappingURL=factory.js.map","export default function (hostname, options, out) {\n // Fast path for very popular suffixes; this allows to by-pass lookup\n // completely as well as any extra allocation or string manipulation.\n if (!options.allowPrivateDomains && hostname.length > 3) {\n const last = hostname.length - 1;\n const c3 = hostname.charCodeAt(last);\n const c2 = hostname.charCodeAt(last - 1);\n const c1 = hostname.charCodeAt(last - 2);\n const c0 = hostname.charCodeAt(last - 3);\n if (c3 === 109 /* 'm' */ &&\n c2 === 111 /* 'o' */ &&\n c1 === 99 /* 'c' */ &&\n c0 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'com';\n return true;\n }\n else if (c3 === 103 /* 'g' */ &&\n c2 === 114 /* 'r' */ &&\n c1 === 111 /* 'o' */ &&\n c0 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'org';\n return true;\n }\n else if (c3 === 117 /* 'u' */ &&\n c2 === 100 /* 'd' */ &&\n c1 === 101 /* 'e' */ &&\n c0 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'edu';\n return true;\n }\n else if (c3 === 118 /* 'v' */ &&\n c2 === 111 /* 'o' */ &&\n c1 === 103 /* 'g' */ &&\n c0 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'gov';\n return true;\n }\n else if (c3 === 116 /* 't' */ &&\n c2 === 101 /* 'e' */ &&\n c1 === 110 /* 'n' */ &&\n c0 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'net';\n return true;\n }\n else if (c3 === 101 /* 'e' */ &&\n c2 === 100 /* 'd' */ &&\n c1 === 46 /* '.' */) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'de';\n return true;\n }\n }\n return false;\n}\n//# sourceMappingURL=fast-path.js.map","export const exceptions = (function () {\n const _0 = [1, {}], _1 = [0, { \"city\": _0 }];\n const exceptions = [0, { \"ck\": [0, { \"www\": _0 }], \"jp\": [0, { \"kawasaki\": _1, \"kitakyushu\": _1, \"kobe\": _1, \"nagoya\": _1, \"sapporo\": _1, \"sendai\": _1, \"yokohama\": _1 }] }];\n return exceptions;\n})();\nexport const rules = (function () {\n const _2 = [1, {}], _3 = [2, {}], _4 = [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], _5 = [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], _6 = [0, { \"*\": _3 }], _7 = [2, { \"s\": _6 }], _8 = [0, { \"relay\": _3 }], _9 = [2, { \"id\": _3 }], _10 = [1, { \"gov\": _2 }], _11 = [0, { \"airflow\": _6, \"lambda-url\": _3, \"transfer-webapp\": _3 }], _12 = [0, { \"airflow\": _6, \"transfer-webapp\": _3 }], _13 = [0, { \"transfer-webapp\": _3 }], _14 = [0, { \"transfer-webapp\": _3, \"transfer-webapp-fips\": _3 }], _15 = [0, { \"notebook\": _3, \"studio\": _3 }], _16 = [0, { \"labeling\": _3, \"notebook\": _3, \"studio\": _3 }], _17 = [0, { \"notebook\": _3 }], _18 = [0, { \"labeling\": _3, \"notebook\": _3, \"notebook-fips\": _3, \"studio\": _3 }], _19 = [0, { \"notebook\": _3, \"notebook-fips\": _3, \"studio\": _3, \"studio-fips\": _3 }], _20 = [0, { \"shop\": _3 }], _21 = [0, { \"*\": _2 }], _22 = [1, { \"co\": _3 }], _23 = [0, { \"objects\": _3 }], _24 = [2, { \"eu-west-1\": _3, \"us-east-1\": _3 }], _25 = [2, { \"nodes\": _3 }], _26 = [0, { \"my\": _3 }], _27 = [0, { \"s3\": _3, \"s3-accesspoint\": _3, \"s3-website\": _3 }], _28 = [0, { \"s3\": _3, \"s3-accesspoint\": _3 }], _29 = [0, { \"direct\": _3 }], _30 = [0, { \"webview-assets\": _3 }], _31 = [0, { \"vfs\": _3, \"webview-assets\": _3 }], _32 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], _33 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _28, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], _34 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"analytics-gateway\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], _35 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3 }], _36 = [0, { \"s3\": _3, \"s3-accesspoint\": _3, \"s3-accesspoint-fips\": _3, \"s3-fips\": _3, \"s3-website\": _3 }], _37 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _36, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-accesspoint-fips\": _3, \"s3-fips\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], _38 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _36, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-accesspoint-fips\": _3, \"s3-fips\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3 }], _39 = [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _36, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-accesspoint-fips\": _3, \"s3-deprecated\": _3, \"s3-fips\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"analytics-gateway\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], _40 = [0, { \"auth\": _3 }], _41 = [0, { \"auth\": _3, \"auth-fips\": _3 }], _42 = [0, { \"auth-fips\": _3 }], _43 = [0, { \"apps\": _3 }], _44 = [0, { \"paas\": _3 }], _45 = [2, { \"eu\": _3 }], _46 = [0, { \"app\": _3 }], _47 = [0, { \"site\": _3 }], _48 = [1, { \"com\": _2, \"edu\": _2, \"net\": _2, \"org\": _2 }], _49 = [0, { \"j\": _3 }], _50 = [0, { \"dyn\": _3 }], _51 = [2, { \"web\": _3 }], _52 = [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], _53 = [0, { \"p\": _3 }], _54 = [0, { \"user\": _3 }], _55 = [1, { \"ms\": _3 }], _56 = [0, { \"cdn\": _3 }], _57 = [2, { \"raw\": _6 }], _58 = [0, { \"cust\": _3, \"reservd\": _3 }], _59 = [0, { \"cust\": _3 }], _60 = [0, { \"s3\": _3 }], _61 = [1, { \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"net\": _2, \"org\": _2 }], _62 = [0, { \"ipfs\": _3 }], _63 = [1, { \"framer\": _3 }], _64 = [0, { \"forgot\": _3 }], _65 = [0, { \"blob\": _3, \"file\": _3, \"web\": _3 }], _66 = [0, { \"core\": _65, \"servicebus\": _3 }], _67 = [1, { \"gs\": _2 }], _68 = [0, { \"nes\": _2 }], _69 = [1, { \"k12\": _2, \"cc\": _2, \"lib\": _2 }], _70 = [1, { \"cc\": _2 }], _71 = [1, { \"cc\": _2, \"lib\": _2 }];\n const rules = [0, { \"ac\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"drr\": _3, \"feedback\": _3, \"forms\": _3 }], \"ad\": _2, \"ae\": [1, { \"ac\": _2, \"co\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"sch\": _2 }], \"aero\": [1, { \"airline\": _2, \"airport\": _2, \"accident-investigation\": _2, \"accident-prevention\": _2, \"aerobatic\": _2, \"aeroclub\": _2, \"aerodrome\": _2, \"agents\": _2, \"air-surveillance\": _2, \"air-traffic-control\": _2, \"aircraft\": _2, \"airtraffic\": _2, \"ambulance\": _2, \"association\": _2, \"author\": _2, \"ballooning\": _2, \"broker\": _2, \"caa\": _2, \"cargo\": _2, \"catering\": _2, \"certification\": _2, \"championship\": _2, \"charter\": _2, \"civilaviation\": _2, \"club\": _2, \"conference\": _2, \"consultant\": _2, \"consulting\": _2, \"control\": _2, \"council\": _2, \"crew\": _2, \"design\": _2, \"dgca\": _2, \"educator\": _2, \"emergency\": _2, \"engine\": _2, \"engineer\": _2, \"entertainment\": _2, \"equipment\": _2, \"exchange\": _2, \"express\": _2, \"federation\": _2, \"flight\": _2, \"freight\": _2, \"fuel\": _2, \"gliding\": _2, \"government\": _2, \"groundhandling\": _2, \"group\": _2, \"hanggliding\": _2, \"homebuilt\": _2, \"insurance\": _2, \"journal\": _2, \"journalist\": _2, \"leasing\": _2, \"logistics\": _2, \"magazine\": _2, \"maintenance\": _2, \"marketplace\": _2, \"media\": _2, \"microlight\": _2, \"modelling\": _2, \"navigation\": _2, \"parachuting\": _2, \"paragliding\": _2, \"passenger-association\": _2, \"pilot\": _2, \"press\": _2, \"production\": _2, \"recreation\": _2, \"repbody\": _2, \"res\": _2, \"research\": _2, \"rotorcraft\": _2, \"safety\": _2, \"scientist\": _2, \"services\": _2, \"show\": _2, \"skydiving\": _2, \"software\": _2, \"student\": _2, \"taxi\": _2, \"trader\": _2, \"trading\": _2, \"trainer\": _2, \"union\": _2, \"workinggroup\": _2, \"works\": _2 }], \"af\": _4, \"ag\": [1, { \"co\": _2, \"com\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"obj\": _3 }], \"ai\": [1, { \"com\": _2, \"net\": _2, \"off\": _2, \"org\": _2, \"uwu\": _3, \"framer\": _3, \"kiloapps\": _3 }], \"al\": _5, \"am\": [1, { \"co\": _2, \"com\": _2, \"commune\": _2, \"net\": _2, \"org\": _2, \"radio\": _3 }], \"ao\": [1, { \"co\": _2, \"ed\": _2, \"edu\": _2, \"gov\": _2, \"gv\": _2, \"it\": _2, \"og\": _2, \"org\": _2, \"pb\": _2 }], \"aq\": _2, \"ar\": [1, { \"bet\": _2, \"com\": _2, \"coop\": _2, \"edu\": _2, \"gob\": _2, \"gov\": _2, \"int\": _2, \"mil\": _2, \"musica\": _2, \"mutual\": _2, \"net\": _2, \"org\": _2, \"seg\": _2, \"senasa\": _2, \"tur\": _2 }], \"arpa\": [1, { \"e164\": _2, \"home\": _2, \"in-addr\": _2, \"ip6\": _2, \"iris\": _2, \"uri\": _2, \"urn\": _2 }], \"as\": _10, \"asia\": [1, { \"cloudns\": _3, \"daemon\": _3, \"dix\": _3 }], \"at\": [1, { \"4\": _3, \"ac\": [1, { \"sth\": _2 }], \"co\": _2, \"gv\": _2, \"or\": _2, \"funkfeuer\": [0, { \"wien\": _3 }], \"futurecms\": [0, { \"*\": _3, \"ex\": _6, \"in\": _6 }], \"futurehosting\": _3, \"futuremailing\": _3, \"ortsinfo\": [0, { \"ex\": _6, \"kunden\": _6 }], \"biz\": _3, \"info\": _3, \"123webseite\": _3, \"priv\": _3, \"my\": _3, \"myspreadshop\": _3, \"12hp\": _3, \"2ix\": _3, \"4lima\": _3, \"lima-city\": _3 }], \"au\": [1, { \"asn\": _2, \"com\": [1, { \"cloudlets\": [0, { \"mel\": _3 }], \"myspreadshop\": _3 }], \"edu\": [1, { \"act\": _2, \"catholic\": _2, \"nsw\": _2, \"nt\": _2, \"qld\": _2, \"sa\": _2, \"tas\": _2, \"vic\": _2, \"wa\": _2 }], \"gov\": [1, { \"qld\": _2, \"sa\": _2, \"tas\": _2, \"vic\": _2, \"wa\": _2 }], \"id\": _2, \"net\": _2, \"org\": _2, \"conf\": _2, \"oz\": _2, \"act\": _2, \"nsw\": _2, \"nt\": _2, \"qld\": _2, \"sa\": _2, \"tas\": _2, \"vic\": _2, \"wa\": _2, \"hrsn\": [0, { \"vps\": _3 }] }], \"aw\": [1, { \"com\": _2 }], \"ax\": _2, \"az\": [1, { \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"int\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pp\": _2, \"pro\": _2 }], \"ba\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"brendly\": _20, \"rs\": _3 }], \"bb\": [1, { \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"net\": _2, \"org\": _2, \"store\": _2, \"tv\": _2 }], \"bd\": [1, { \"ac\": _2, \"ai\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"id\": _2, \"info\": _2, \"it\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"sch\": _2, \"tv\": _2 }], \"be\": [1, { \"ac\": _2, \"cloudns\": _3, \"webhosting\": _3, \"interhostsolutions\": [0, { \"cloud\": _3 }], \"kuleuven\": [0, { \"ezproxy\": _3 }], \"my\": _3, \"123website\": _3, \"myspreadshop\": _3, \"transurl\": _6 }], \"bf\": _10, \"bg\": [1, { \"0\": _2, \"1\": _2, \"2\": _2, \"3\": _2, \"4\": _2, \"5\": _2, \"6\": _2, \"7\": _2, \"8\": _2, \"9\": _2, \"a\": _2, \"b\": _2, \"c\": _2, \"d\": _2, \"e\": _2, \"f\": _2, \"g\": _2, \"h\": _2, \"i\": _2, \"j\": _2, \"k\": _2, \"l\": _2, \"m\": _2, \"n\": _2, \"o\": _2, \"p\": _2, \"q\": _2, \"r\": _2, \"s\": _2, \"t\": _2, \"u\": _2, \"v\": _2, \"w\": _2, \"x\": _2, \"y\": _2, \"z\": _2, \"barsy\": _3 }], \"bh\": _4, \"bi\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"or\": _2, \"org\": _2 }], \"biz\": [1, { \"activetrail\": _3, \"cloud-ip\": _3, \"cloudns\": _3, \"jozi\": _3, \"dyndns\": _3, \"for-better\": _3, \"for-more\": _3, \"for-some\": _3, \"for-the\": _3, \"selfip\": _3, \"webhop\": _3, \"orx\": _3, \"mmafan\": _3, \"myftp\": _3, \"no-ip\": _3, \"dscloud\": _3 }], \"bj\": [1, { \"africa\": _2, \"agro\": _2, \"architectes\": _2, \"assur\": _2, \"avocats\": _2, \"co\": _2, \"com\": _2, \"eco\": _2, \"econo\": _2, \"edu\": _2, \"info\": _2, \"loisirs\": _2, \"money\": _2, \"net\": _2, \"org\": _2, \"ote\": _2, \"restaurant\": _2, \"resto\": _2, \"tourism\": _2, \"univ\": _2 }], \"bm\": _4, \"bn\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"co\": _3 }], \"bo\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"int\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"tv\": _2, \"web\": _2, \"academia\": _2, \"agro\": _2, \"arte\": _2, \"blog\": _2, \"bolivia\": _2, \"ciencia\": _2, \"cooperativa\": _2, \"democracia\": _2, \"deporte\": _2, \"ecologia\": _2, \"economia\": _2, \"empresa\": _2, \"indigena\": _2, \"industria\": _2, \"info\": _2, \"medicina\": _2, \"movimiento\": _2, \"musica\": _2, \"natural\": _2, \"nombre\": _2, \"noticias\": _2, \"patria\": _2, \"plurinacional\": _2, \"politica\": _2, \"profesional\": _2, \"pueblo\": _2, \"revista\": _2, \"salud\": _2, \"tecnologia\": _2, \"tksat\": _2, \"transporte\": _2, \"wiki\": _2 }], \"br\": [1, { \"9guacu\": _2, \"abc\": _2, \"adm\": _2, \"adv\": _2, \"agr\": _2, \"aju\": _2, \"am\": _2, \"anani\": _2, \"aparecida\": _2, \"api\": _2, \"app\": _2, \"arq\": _2, \"art\": _2, \"ato\": _2, \"b\": _2, \"barueri\": _2, \"belem\": _2, \"bet\": _2, \"bhz\": _2, \"bib\": _2, \"bio\": _2, \"blog\": _2, \"bmd\": _2, \"boavista\": _2, \"bsb\": _2, \"campinagrande\": _2, \"campinas\": _2, \"caxias\": _2, \"cim\": _2, \"cng\": _2, \"cnt\": _2, \"com\": [1, { \"simplesite\": _3 }], \"contagem\": _2, \"coop\": _2, \"coz\": _2, \"cri\": _2, \"cuiaba\": _2, \"curitiba\": _2, \"def\": _2, \"des\": _2, \"det\": _2, \"dev\": _2, \"ecn\": _2, \"eco\": _2, \"edu\": _2, \"emp\": _2, \"enf\": _2, \"eng\": _2, \"esp\": _2, \"etc\": _2, \"eti\": _2, \"far\": _2, \"feira\": _2, \"flog\": _2, \"floripa\": _2, \"fm\": _2, \"fnd\": _2, \"fortal\": _2, \"fot\": _2, \"foz\": _2, \"fst\": _2, \"g12\": _2, \"geo\": _2, \"ggf\": _2, \"goiania\": _2, \"gov\": [1, { \"ac\": _2, \"al\": _2, \"am\": _2, \"ap\": _2, \"ba\": _2, \"ce\": _2, \"df\": _2, \"es\": _2, \"go\": _2, \"ma\": _2, \"mg\": _2, \"ms\": _2, \"mt\": _2, \"pa\": _2, \"pb\": _2, \"pe\": _2, \"pi\": _2, \"pr\": _2, \"rj\": _2, \"rn\": _2, \"ro\": _2, \"rr\": _2, \"rs\": _2, \"sc\": _2, \"se\": _2, \"sp\": _2, \"to\": _2 }], \"gru\": _2, \"ia\": _2, \"imb\": _2, \"ind\": _2, \"inf\": _2, \"jab\": _2, \"jampa\": _2, \"jdf\": _2, \"joinville\": _2, \"jor\": _2, \"jus\": _2, \"leg\": [1, { \"ac\": _3, \"al\": _3, \"am\": _3, \"ap\": _3, \"ba\": _3, \"ce\": _3, \"df\": _3, \"es\": _3, \"go\": _3, \"ma\": _3, \"mg\": _3, \"ms\": _3, \"mt\": _3, \"pa\": _3, \"pb\": _3, \"pe\": _3, \"pi\": _3, \"pr\": _3, \"rj\": _3, \"rn\": _3, \"ro\": _3, \"rr\": _3, \"rs\": _3, \"sc\": _3, \"se\": _3, \"sp\": _3, \"to\": _3 }], \"leilao\": _2, \"lel\": _2, \"log\": _2, \"londrina\": _2, \"macapa\": _2, \"maceio\": _2, \"manaus\": _2, \"maringa\": _2, \"mat\": _2, \"med\": _2, \"mil\": _2, \"morena\": _2, \"mp\": _2, \"mus\": _2, \"natal\": _2, \"net\": _2, \"niteroi\": _2, \"nom\": _21, \"not\": _2, \"ntr\": _2, \"odo\": _2, \"ong\": _2, \"org\": _2, \"osasco\": _2, \"palmas\": _2, \"poa\": _2, \"ppg\": _2, \"pro\": _2, \"psc\": _2, \"psi\": _2, \"pvh\": _2, \"qsl\": _2, \"radio\": _2, \"rec\": _2, \"recife\": _2, \"rep\": _2, \"ribeirao\": _2, \"rio\": _2, \"riobranco\": _2, \"riopreto\": _2, \"salvador\": _2, \"sampa\": _2, \"santamaria\": _2, \"santoandre\": _2, \"saobernardo\": _2, \"saogonca\": _2, \"seg\": _2, \"sjc\": _2, \"slg\": _2, \"slz\": _2, \"social\": _2, \"sorocaba\": _2, \"srv\": _2, \"taxi\": _2, \"tc\": _2, \"tec\": _2, \"teo\": _2, \"the\": _2, \"tmp\": _2, \"trd\": _2, \"tur\": _2, \"tv\": _2, \"udi\": _2, \"vet\": _2, \"vix\": _2, \"vlog\": _2, \"wiki\": _2, \"xyz\": _2, \"zlg\": _2, \"tche\": _3 }], \"bs\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"we\": _3 }], \"bt\": _4, \"bv\": _2, \"bw\": [1, { \"ac\": _2, \"co\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], \"by\": [1, { \"gov\": _2, \"mil\": _2, \"com\": _2, \"of\": _2, \"mediatech\": _3 }], \"bz\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"za\": _3, \"mydns\": _3, \"gsj\": _3 }], \"ca\": [1, { \"ab\": _2, \"bc\": _2, \"mb\": _2, \"nb\": _2, \"nf\": _2, \"nl\": _2, \"ns\": _2, \"nt\": _2, \"nu\": _2, \"on\": _2, \"pe\": _2, \"qc\": _2, \"sk\": _2, \"yk\": _2, \"gc\": _2, \"barsy\": _3, \"awdev\": _6, \"co\": _3, \"no-ip\": _3, \"onid\": _3, \"myspreadshop\": _3, \"box\": _3 }], \"cat\": _2, \"cc\": [1, { \"cleverapps\": _3, \"cloud-ip\": _3, \"cloudns\": _3, \"ccwu\": _3, \"ftpaccess\": _3, \"game-server\": _3, \"myphotos\": _3, \"scrapping\": _3, \"twmail\": _3, \"csx\": _3, \"fantasyleague\": _3, \"spawn\": [0, { \"instances\": _3 }], \"ec\": _3, \"eu\": _3, \"gu\": _3, \"uk\": _3, \"us\": _3 }], \"cd\": [1, { \"gov\": _2, \"cc\": _3 }], \"cf\": _2, \"cg\": _2, \"ch\": [1, { \"square7\": _3, \"cloudns\": _3, \"cloudscale\": [0, { \"cust\": _3, \"lpg\": _23, \"rma\": _23 }], \"objectstorage\": [0, { \"lpg\": _3, \"rma\": _3 }], \"flow\": [0, { \"ae\": [0, { \"alp1\": _3 }], \"appengine\": _3 }], \"linkyard-cloud\": _3, \"gotdns\": _3, \"dnsking\": _3, \"123website\": _3, \"myspreadshop\": _3, \"firenet\": [0, { \"*\": _3, \"svc\": _6 }], \"12hp\": _3, \"2ix\": _3, \"4lima\": _3, \"lima-city\": _3 }], \"ci\": [1, { \"ac\": _2, \"xn--aroport-bya\": _2, \"aéroport\": _2, \"asso\": _2, \"co\": _2, \"com\": _2, \"ed\": _2, \"edu\": _2, \"go\": _2, \"gouv\": _2, \"int\": _2, \"net\": _2, \"or\": _2, \"org\": _2, \"us\": _3 }], \"ck\": _21, \"cl\": [1, { \"co\": _2, \"gob\": _2, \"gov\": _2, \"mil\": _2, \"cloudns\": _3 }], \"cm\": [1, { \"co\": _2, \"com\": _2, \"gov\": _2, \"net\": _2 }], \"cn\": [1, { \"ac\": _2, \"com\": [1, { \"amazonaws\": [0, { \"cn-north-1\": [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"rds\": _6, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-deprecated\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3 }], \"cn-northwest-1\": [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"rds\": _6, \"dualstack\": _28, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3 }], \"compute\": _6, \"airflow\": [0, { \"cn-north-1\": _6, \"cn-northwest-1\": _6 }], \"eb\": [0, { \"cn-north-1\": _3, \"cn-northwest-1\": _3 }], \"elb\": _6 }], \"amazonwebservices\": [0, { \"on\": [0, { \"cn-north-1\": _12, \"cn-northwest-1\": _12 }] }], \"sagemaker\": [0, { \"cn-north-1\": _15, \"cn-northwest-1\": _15 }] }], \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"xn--55qx5d\": _2, \"公司\": _2, \"xn--od0alg\": _2, \"網絡\": _2, \"xn--io0a7i\": _2, \"网络\": _2, \"ah\": _2, \"bj\": _2, \"cq\": _2, \"fj\": _2, \"gd\": _2, \"gs\": _2, \"gx\": _2, \"gz\": _2, \"ha\": _2, \"hb\": _2, \"he\": _2, \"hi\": _2, \"hk\": _2, \"hl\": _2, \"hn\": _2, \"jl\": _2, \"js\": _2, \"jx\": _2, \"ln\": _2, \"mo\": _2, \"nm\": _2, \"nx\": _2, \"qh\": _2, \"sc\": _2, \"sd\": _2, \"sh\": [1, { \"as\": _3 }], \"sn\": _2, \"sx\": _2, \"tj\": _2, \"tw\": _2, \"xj\": _2, \"xz\": _2, \"yn\": _2, \"zj\": _2, \"canva-apps\": _3, \"canvasite\": _26, \"myqnapcloud\": _3, \"quickconnect\": _29 }], \"co\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"carrd\": _3, \"crd\": _3, \"otap\": _6, \"hidns\": _3, \"leadpages\": _3, \"lpages\": _3, \"mypi\": _3, \"xmit\": _6, \"rdpa\": [0, { \"clusters\": _6, \"srvrless\": _6 }], \"firewalledreplit\": _9, \"repl\": _9, \"supabase\": [2, { \"realtime\": _3, \"storage\": _3 }], \"umso\": _3 }], \"com\": [1, { \"a2hosted\": _3, \"cpserver\": _3, \"adobeaemcloud\": [2, { \"dev\": _6 }], \"africa\": _3, \"auiusercontent\": _6, \"aivencloud\": _3, \"alibabacloudcs\": _3, \"kasserver\": _3, \"amazonaws\": [0, { \"af-south-1\": _32, \"ap-east-1\": _33, \"ap-northeast-1\": _34, \"ap-northeast-2\": _34, \"ap-northeast-3\": _32, \"ap-south-1\": _34, \"ap-south-2\": _35, \"ap-southeast-1\": _34, \"ap-southeast-2\": _34, \"ap-southeast-3\": _35, \"ap-southeast-4\": _35, \"ap-southeast-5\": [0, { \"execute-api\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-deprecated\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3 }], \"ca-central-1\": _37, \"ca-west-1\": _38, \"eu-central-1\": _34, \"eu-central-2\": _35, \"eu-north-1\": _33, \"eu-south-1\": _32, \"eu-south-2\": _35, \"eu-west-1\": [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-deprecated\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"analytics-gateway\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], \"eu-west-2\": _33, \"eu-west-3\": _32, \"il-central-1\": [0, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _27, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"aws-cloud9\": _30, \"cloud9\": [0, { \"vfs\": _3 }] }], \"me-central-1\": _35, \"me-south-1\": _33, \"sa-east-1\": _32, \"us-east-1\": [2, { \"execute-api\": _3, \"emrappui-prod\": _3, \"emrnotebooks-prod\": _3, \"emrstudio-prod\": _3, \"dualstack\": _36, \"s3\": _3, \"s3-accesspoint\": _3, \"s3-accesspoint-fips\": _3, \"s3-deprecated\": _3, \"s3-fips\": _3, \"s3-object-lambda\": _3, \"s3-website\": _3, \"analytics-gateway\": _3, \"aws-cloud9\": _30, \"cloud9\": _31 }], \"us-east-2\": _39, \"us-gov-east-1\": _38, \"us-gov-west-1\": _38, \"us-west-1\": _37, \"us-west-2\": _39, \"compute\": _6, \"compute-1\": _6, \"airflow\": [0, { \"af-south-1\": _6, \"ap-east-1\": _6, \"ap-northeast-1\": _6, \"ap-northeast-2\": _6, \"ap-northeast-3\": _6, \"ap-south-1\": _6, \"ap-south-2\": _6, \"ap-southeast-1\": _6, \"ap-southeast-2\": _6, \"ap-southeast-3\": _6, \"ap-southeast-4\": _6, \"ap-southeast-5\": _6, \"ap-southeast-7\": _6, \"ca-central-1\": _6, \"ca-west-1\": _6, \"eu-central-1\": _6, \"eu-central-2\": _6, \"eu-north-1\": _6, \"eu-south-1\": _6, \"eu-south-2\": _6, \"eu-west-1\": _6, \"eu-west-2\": _6, \"eu-west-3\": _6, \"il-central-1\": _6, \"me-central-1\": _6, \"me-south-1\": _6, \"sa-east-1\": _6, \"us-east-1\": _6, \"us-east-2\": _6, \"us-west-1\": _6, \"us-west-2\": _6 }], \"rds\": [0, { \"af-south-1\": _6, \"ap-east-1\": _6, \"ap-east-2\": _6, \"ap-northeast-1\": _6, \"ap-northeast-2\": _6, \"ap-northeast-3\": _6, \"ap-south-1\": _6, \"ap-south-2\": _6, \"ap-southeast-1\": _6, \"ap-southeast-2\": _6, \"ap-southeast-3\": _6, \"ap-southeast-4\": _6, \"ap-southeast-5\": _6, \"ap-southeast-6\": _6, \"ap-southeast-7\": _6, \"ca-central-1\": _6, \"ca-west-1\": _6, \"eu-central-1\": _6, \"eu-central-2\": _6, \"eu-west-1\": _6, \"eu-west-2\": _6, \"eu-west-3\": _6, \"il-central-1\": _6, \"me-central-1\": _6, \"me-south-1\": _6, \"mx-central-1\": _6, \"sa-east-1\": _6, \"us-east-1\": _6, \"us-east-2\": _6, \"us-gov-east-1\": _6, \"us-gov-west-1\": _6, \"us-northeast-1\": _6, \"us-west-1\": _6, \"us-west-2\": _6 }], \"s3\": _3, \"s3-1\": _3, \"s3-ap-east-1\": _3, \"s3-ap-northeast-1\": _3, \"s3-ap-northeast-2\": _3, \"s3-ap-northeast-3\": _3, \"s3-ap-south-1\": _3, \"s3-ap-southeast-1\": _3, \"s3-ap-southeast-2\": _3, \"s3-ca-central-1\": _3, \"s3-eu-central-1\": _3, \"s3-eu-north-1\": _3, \"s3-eu-west-1\": _3, \"s3-eu-west-2\": _3, \"s3-eu-west-3\": _3, \"s3-external-1\": _3, \"s3-fips-us-gov-east-1\": _3, \"s3-fips-us-gov-west-1\": _3, \"s3-global\": [0, { \"accesspoint\": [0, { \"mrap\": _3 }] }], \"s3-me-south-1\": _3, \"s3-sa-east-1\": _3, \"s3-us-east-2\": _3, \"s3-us-gov-east-1\": _3, \"s3-us-gov-west-1\": _3, \"s3-us-west-1\": _3, \"s3-us-west-2\": _3, \"s3-website-ap-northeast-1\": _3, \"s3-website-ap-southeast-1\": _3, \"s3-website-ap-southeast-2\": _3, \"s3-website-eu-west-1\": _3, \"s3-website-sa-east-1\": _3, \"s3-website-us-east-1\": _3, \"s3-website-us-gov-west-1\": _3, \"s3-website-us-west-1\": _3, \"s3-website-us-west-2\": _3, \"elb\": _6 }], \"amazoncognito\": [0, { \"af-south-1\": _40, \"ap-east-1\": _40, \"ap-northeast-1\": _40, \"ap-northeast-2\": _40, \"ap-northeast-3\": _40, \"ap-south-1\": _40, \"ap-south-2\": _40, \"ap-southeast-1\": _40, \"ap-southeast-2\": _40, \"ap-southeast-3\": _40, \"ap-southeast-4\": _40, \"ap-southeast-5\": _40, \"ap-southeast-7\": _40, \"ca-central-1\": _40, \"ca-west-1\": _40, \"eu-central-1\": _40, \"eu-central-2\": _40, \"eu-north-1\": _40, \"eu-south-1\": _40, \"eu-south-2\": _40, \"eu-west-1\": _40, \"eu-west-2\": _40, \"eu-west-3\": _40, \"il-central-1\": _40, \"me-central-1\": _40, \"me-south-1\": _40, \"mx-central-1\": _40, \"sa-east-1\": _40, \"us-east-1\": _41, \"us-east-2\": _41, \"us-gov-east-1\": _42, \"us-gov-west-1\": _42, \"us-west-1\": _41, \"us-west-2\": _41 }], \"amplifyapp\": _3, \"awsapprunner\": _6, \"awsapps\": _3, \"elasticbeanstalk\": [2, { \"af-south-1\": _3, \"ap-east-1\": _3, \"ap-northeast-1\": _3, \"ap-northeast-2\": _3, \"ap-northeast-3\": _3, \"ap-south-1\": _3, \"ap-southeast-1\": _3, \"ap-southeast-2\": _3, \"ap-southeast-3\": _3, \"ap-southeast-5\": _3, \"ap-southeast-7\": _3, \"ca-central-1\": _3, \"eu-central-1\": _3, \"eu-north-1\": _3, \"eu-south-1\": _3, \"eu-south-2\": _3, \"eu-west-1\": _3, \"eu-west-2\": _3, \"eu-west-3\": _3, \"il-central-1\": _3, \"me-central-1\": _3, \"me-south-1\": _3, \"sa-east-1\": _3, \"us-east-1\": _3, \"us-east-2\": _3, \"us-gov-east-1\": _3, \"us-gov-west-1\": _3, \"us-west-1\": _3, \"us-west-2\": _3 }], \"awsglobalaccelerator\": _3, \"siiites\": _3, \"appspacehosted\": _3, \"appspaceusercontent\": _3, \"on-aptible\": _3, \"myasustor\": _3, \"balena-devices\": _3, \"boutir\": _3, \"bplaced\": _3, \"cafjs\": _3, \"canva-apps\": _3, \"canva-hosted-embed\": _3, \"canvacode\": _3, \"rice-labs\": _3, \"cdn77-storage\": _3, \"br\": _3, \"cn\": _3, \"de\": _3, \"eu\": _3, \"jpn\": _3, \"mex\": _3, \"ru\": _3, \"sa\": _3, \"uk\": _3, \"us\": _3, \"za\": _3, \"clever-cloud\": [0, { \"services\": _6 }], \"abrdns\": _3, \"dnsabr\": _3, \"ip-ddns\": _3, \"jdevcloud\": _3, \"wpdevcloud\": _3, \"cf-ipfs\": _3, \"cloudflare-ipfs\": _3, \"trycloudflare\": _3, \"co\": _3, \"devinapps\": _6, \"builtwithdark\": _3, \"datadetect\": [0, { \"demo\": _3, \"instance\": _3 }], \"dattolocal\": _3, \"dattorelay\": _3, \"dattoweb\": _3, \"mydatto\": _3, \"digitaloceanspaces\": _6, \"discordsays\": _3, \"discordsez\": _3, \"drayddns\": _3, \"dreamhosters\": _3, \"durumis\": _3, \"blogdns\": _3, \"cechire\": _3, \"dnsalias\": _3, \"dnsdojo\": _3, \"doesntexist\": _3, \"dontexist\": _3, \"doomdns\": _3, \"dyn-o-saur\": _3, \"dynalias\": _3, \"dyndns-at-home\": _3, \"dyndns-at-work\": _3, \"dyndns-blog\": _3, \"dyndns-free\": _3, \"dyndns-home\": _3, \"dyndns-ip\": _3, \"dyndns-mail\": _3, \"dyndns-office\": _3, \"dyndns-pics\": _3, \"dyndns-remote\": _3, \"dyndns-server\": _3, \"dyndns-web\": _3, \"dyndns-wiki\": _3, \"dyndns-work\": _3, \"est-a-la-maison\": _3, \"est-a-la-masion\": _3, \"est-le-patron\": _3, \"est-mon-blogueur\": _3, \"from-ak\": _3, \"from-al\": _3, \"from-ar\": _3, \"from-ca\": _3, \"from-ct\": _3, \"from-dc\": _3, \"from-de\": _3, \"from-fl\": _3, \"from-ga\": _3, \"from-hi\": _3, \"from-ia\": _3, \"from-id\": _3, \"from-il\": _3, \"from-in\": _3, \"from-ks\": _3, \"from-ky\": _3, \"from-ma\": _3, \"from-md\": _3, \"from-mi\": _3, \"from-mn\": _3, \"from-mo\": _3, \"from-ms\": _3, \"from-mt\": _3, \"from-nc\": _3, \"from-nd\": _3, \"from-ne\": _3, \"from-nh\": _3, \"from-nj\": _3, \"from-nm\": _3, \"from-nv\": _3, \"from-oh\": _3, \"from-ok\": _3, \"from-or\": _3, \"from-pa\": _3, \"from-pr\": _3, \"from-ri\": _3, \"from-sc\": _3, \"from-sd\": _3, \"from-tn\": _3, \"from-tx\": _3, \"from-ut\": _3, \"from-va\": _3, \"from-vt\": _3, \"from-wa\": _3, \"from-wi\": _3, \"from-wv\": _3, \"from-wy\": _3, \"getmyip\": _3, \"gotdns\": _3, \"hobby-site\": _3, \"homelinux\": _3, \"homeunix\": _3, \"iamallama\": _3, \"is-a-anarchist\": _3, \"is-a-blogger\": _3, \"is-a-bookkeeper\": _3, \"is-a-bulls-fan\": _3, \"is-a-caterer\": _3, \"is-a-chef\": _3, \"is-a-conservative\": _3, \"is-a-cpa\": _3, \"is-a-cubicle-slave\": _3, \"is-a-democrat\": _3, \"is-a-designer\": _3, \"is-a-doctor\": _3, \"is-a-financialadvisor\": _3, \"is-a-geek\": _3, \"is-a-green\": _3, \"is-a-guru\": _3, \"is-a-hard-worker\": _3, \"is-a-hunter\": _3, \"is-a-landscaper\": _3, \"is-a-lawyer\": _3, \"is-a-liberal\": _3, \"is-a-libertarian\": _3, \"is-a-llama\": _3, \"is-a-musician\": _3, \"is-a-nascarfan\": _3, \"is-a-nurse\": _3, \"is-a-painter\": _3, \"is-a-personaltrainer\": _3, \"is-a-photographer\": _3, \"is-a-player\": _3, \"is-a-republican\": _3, \"is-a-rockstar\": _3, \"is-a-socialist\": _3, \"is-a-student\": _3, \"is-a-teacher\": _3, \"is-a-techie\": _3, \"is-a-therapist\": _3, \"is-an-accountant\": _3, \"is-an-actor\": _3, \"is-an-actress\": _3, \"is-an-anarchist\": _3, \"is-an-artist\": _3, \"is-an-engineer\": _3, \"is-an-entertainer\": _3, \"is-certified\": _3, \"is-gone\": _3, \"is-into-anime\": _3, \"is-into-cars\": _3, \"is-into-cartoons\": _3, \"is-into-games\": _3, \"is-leet\": _3, \"is-not-certified\": _3, \"is-slick\": _3, \"is-uberleet\": _3, \"is-with-theband\": _3, \"isa-geek\": _3, \"isa-hockeynut\": _3, \"issmarterthanyou\": _3, \"likes-pie\": _3, \"likescandy\": _3, \"neat-url\": _3, \"saves-the-whales\": _3, \"selfip\": _3, \"sells-for-less\": _3, \"sells-for-u\": _3, \"servebbs\": _3, \"simple-url\": _3, \"space-to-rent\": _3, \"teaches-yoga\": _3, \"writesthisblog\": _3, \"1cooldns\": _3, \"bumbleshrimp\": _3, \"ddnsfree\": _3, \"ddnsgeek\": _3, \"ddnsguru\": _3, \"dynuddns\": _3, \"dynuhosting\": _3, \"giize\": _3, \"gleeze\": _3, \"kozow\": _3, \"loseyourip\": _3, \"ooguy\": _3, \"pivohosting\": _3, \"theworkpc\": _3, \"wiredbladehosting\": _3, \"emergentagent\": [0, { \"preview\": _3 }], \"mytuleap\": _3, \"tuleap-partners\": _3, \"encoreapi\": _3, \"evennode\": [0, { \"eu-1\": _3, \"eu-2\": _3, \"eu-3\": _3, \"eu-4\": _3, \"us-1\": _3, \"us-2\": _3, \"us-3\": _3, \"us-4\": _3 }], \"onfabrica\": _3, \"fastly-edge\": _3, \"fastly-terrarium\": _3, \"fastvps-server\": _3, \"mydobiss\": _3, \"firebaseapp\": _3, \"fldrv\": _3, \"framercanvas\": _3, \"freebox-os\": _3, \"freeboxos\": _3, \"freemyip\": _3, \"aliases121\": _3, \"gentapps\": _3, \"gentlentapis\": _3, \"githubusercontent\": _3, \"0emm\": _6, \"appspot\": [2, { \"r\": _6 }], \"blogspot\": _3, \"codespot\": _3, \"googleapis\": _3, \"googlecode\": _3, \"pagespeedmobilizer\": _3, \"withgoogle\": _3, \"withyoutube\": _3, \"grayjayleagues\": _3, \"hatenablog\": _3, \"hatenadiary\": _3, \"hercules-app\": _3, \"hercules-dev\": _3, \"herokuapp\": _3, \"gr\": _3, \"smushcdn\": _3, \"wphostedmail\": _3, \"wpmucdn\": _3, \"pixolino\": _3, \"apps-1and1\": _3, \"live-website\": _3, \"webspace-host\": _3, \"dopaas\": _3, \"hosted-by-previder\": _44, \"hosteur\": [0, { \"rag-cloud\": _3, \"rag-cloud-ch\": _3 }], \"ik-server\": [0, { \"jcloud\": _3, \"jcloud-ver-jpc\": _3 }], \"jelastic\": [0, { \"demo\": _3 }], \"massivegrid\": _44, \"wafaicloud\": [0, { \"jed\": _3, \"ryd\": _3 }], \"eu1-plenit\": _3, \"la1-plenit\": _3, \"us1-plenit\": _3, \"webadorsite\": _3, \"on-forge\": _3, \"on-vapor\": _3, \"lpusercontent\": _3, \"linode\": [0, { \"members\": _3, \"nodebalancer\": _6 }], \"linodeobjects\": _6, \"linodeusercontent\": [0, { \"ip\": _3 }], \"localtonet\": _3, \"lovableproject\": _3, \"barsycenter\": _3, \"barsyonline\": _3, \"lutrausercontent\": _6, \"magicpatternsapp\": _3, \"modelscape\": _3, \"mwcloudnonprod\": _3, \"polyspace\": _3, \"miniserver\": _3, \"atmeta\": _3, \"fbsbx\": _43, \"meteorapp\": _45, \"routingthecloud\": _3, \"same-app\": _3, \"same-preview\": _3, \"mydbserver\": _3, \"mochausercontent\": _3, \"hostedpi\": _3, \"mythic-beasts\": [0, { \"caracal\": _3, \"customer\": _3, \"fentiger\": _3, \"lynx\": _3, \"ocelot\": _3, \"oncilla\": _3, \"onza\": _3, \"sphinx\": _3, \"vs\": _3, \"x\": _3, \"yali\": _3 }], \"nospamproxy\": [0, { \"cloud\": [2, { \"o365\": _3 }] }], \"4u\": _3, \"nfshost\": _3, \"3utilities\": _3, \"blogsyte\": _3, \"ciscofreak\": _3, \"damnserver\": _3, \"ddnsking\": _3, \"ditchyourip\": _3, \"dnsiskinky\": _3, \"dynns\": _3, \"geekgalaxy\": _3, \"health-carereform\": _3, \"homesecuritymac\": _3, \"homesecuritypc\": _3, \"myactivedirectory\": _3, \"mysecuritycamera\": _3, \"myvnc\": _3, \"net-freaks\": _3, \"onthewifi\": _3, \"point2this\": _3, \"quicksytes\": _3, \"securitytactics\": _3, \"servebeer\": _3, \"servecounterstrike\": _3, \"serveexchange\": _3, \"serveftp\": _3, \"servegame\": _3, \"servehalflife\": _3, \"servehttp\": _3, \"servehumour\": _3, \"serveirc\": _3, \"servemp3\": _3, \"servep2p\": _3, \"servepics\": _3, \"servequake\": _3, \"servesarcasm\": _3, \"stufftoread\": _3, \"unusualperson\": _3, \"workisboring\": _3, \"myiphost\": _3, \"observableusercontent\": [0, { \"static\": _3 }], \"simplesite\": _3, \"oaiusercontent\": _6, \"orsites\": _3, \"operaunite\": _3, \"customer-oci\": [0, { \"*\": _3, \"oci\": _6, \"ocp\": _6, \"ocs\": _6 }], \"oraclecloudapps\": _6, \"oraclegovcloudapps\": _6, \"authgear-staging\": _3, \"authgearapps\": _3, \"outsystemscloud\": _3, \"ownprovider\": _3, \"pgfog\": _3, \"pagexl\": _3, \"gotpantheon\": _3, \"paywhirl\": _6, \"forgeblocks\": _3, \"upsunapp\": _3, \"postman-echo\": _3, \"prgmr\": [0, { \"xen\": _3 }], \"project-study\": [0, { \"dev\": _3 }], \"pythonanywhere\": _45, \"qa2\": _3, \"alpha-myqnapcloud\": _3, \"dev-myqnapcloud\": _3, \"mycloudnas\": _3, \"mynascloud\": _3, \"myqnapcloud\": _3, \"qualifioapp\": _3, \"ladesk\": _3, \"qualyhqpartner\": _6, \"qualyhqportal\": _6, \"qbuser\": _3, \"quipelements\": _6, \"rackmaze\": _3, \"readthedocs-hosted\": _3, \"rhcloud\": _3, \"onrender\": _3, \"render\": _46, \"subsc-pay\": _3, \"180r\": _3, \"dojin\": _3, \"sakuratan\": _3, \"sakuraweb\": _3, \"x0\": _3, \"code\": [0, { \"builder\": _6, \"dev-builder\": _6, \"stg-builder\": _6 }], \"salesforce\": [0, { \"platform\": [0, { \"code-builder-stg\": [0, { \"test\": [0, { \"001\": _6 }] }] }] }], \"logoip\": _3, \"scrysec\": _3, \"firewall-gateway\": _3, \"myshopblocks\": _3, \"myshopify\": _3, \"shopitsite\": _3, \"1kapp\": _3, \"appchizi\": _3, \"applinzi\": _3, \"sinaapp\": _3, \"vipsinaapp\": _3, \"streamlitapp\": _3, \"try-snowplow\": _3, \"playstation-cloud\": _3, \"myspreadshop\": _3, \"w-corp-staticblitz\": _3, \"w-credentialless-staticblitz\": _3, \"w-staticblitz\": _3, \"stackhero-network\": _3, \"stdlib\": [0, { \"api\": _3 }], \"strapiapp\": [2, { \"media\": _3 }], \"streak-link\": _3, \"streaklinks\": _3, \"streakusercontent\": _3, \"temp-dns\": _3, \"dsmynas\": _3, \"familyds\": _3, \"mytabit\": _3, \"taveusercontent\": _3, \"tb-hosting\": _47, \"reservd\": _3, \"thingdustdata\": _3, \"townnews-staging\": _3, \"typeform\": [0, { \"pro\": _3 }], \"hk\": _3, \"it\": _3, \"deus-canvas\": _3, \"vultrobjects\": _6, \"wafflecell\": _3, \"hotelwithflight\": _3, \"reserve-online\": _3, \"cprapid\": _3, \"pleskns\": _3, \"remotewd\": _3, \"wiardweb\": [0, { \"pages\": _3 }], \"drive-platform\": _3, \"base44-sandbox\": _3, \"wixsite\": _3, \"wixstudio\": _3, \"messwithdns\": _3, \"woltlab-demo\": _3, \"wpenginepowered\": [2, { \"js\": _3 }], \"xnbay\": [2, { \"u2\": _3, \"u2-local\": _3 }], \"xtooldevice\": _3, \"yolasite\": _3 }], \"coop\": _2, \"cr\": [1, { \"ac\": _2, \"co\": _2, \"ed\": _2, \"fi\": _2, \"go\": _2, \"or\": _2, \"sa\": _2 }], \"cu\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"inf\": _2, \"nat\": _2, \"net\": _2, \"org\": _2 }], \"cv\": [1, { \"com\": _2, \"edu\": _2, \"id\": _2, \"int\": _2, \"net\": _2, \"nome\": _2, \"org\": _2, \"publ\": _2 }], \"cw\": _48, \"cx\": [1, { \"gov\": _2, \"cloudns\": _3, \"ath\": _3, \"info\": _3, \"assessments\": _3, \"calculators\": _3, \"funnels\": _3, \"paynow\": _3, \"quizzes\": _3, \"researched\": _3, \"tests\": _3 }], \"cy\": [1, { \"ac\": _2, \"biz\": _2, \"com\": [1, { \"scaleforce\": _49 }], \"ekloges\": _2, \"gov\": _2, \"ltd\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"press\": _2, \"pro\": _2, \"tm\": _2 }], \"cz\": [1, { \"gov\": _2, \"contentproxy9\": [0, { \"rsc\": _3 }], \"realm\": _3, \"e4\": _3, \"co\": _3, \"metacentrum\": [0, { \"cloud\": _6, \"custom\": _3 }], \"muni\": [0, { \"cloud\": [0, { \"flt\": _3, \"usr\": _3 }] }] }], \"de\": [1, { \"bplaced\": _3, \"square7\": _3, \"bwcloud-os-instance\": _6, \"com\": _3, \"cosidns\": _50, \"dnsupdater\": _3, \"dynamisches-dns\": _3, \"internet-dns\": _3, \"l-o-g-i-n\": _3, \"ddnss\": [2, { \"dyn\": _3, \"dyndns\": _3 }], \"dyn-ip24\": _3, \"dyndns1\": _3, \"home-webserver\": [2, { \"dyn\": _3 }], \"myhome-server\": _3, \"dnshome\": _3, \"fuettertdasnetz\": _3, \"isteingeek\": _3, \"istmein\": _3, \"lebtimnetz\": _3, \"leitungsen\": _3, \"traeumtgerade\": _3, \"frusky\": _6, \"goip\": _3, \"xn--gnstigbestellen-zvb\": _3, \"günstigbestellen\": _3, \"xn--gnstigliefern-wob\": _3, \"günstigliefern\": _3, \"hs-heilbronn\": [0, { \"it\": [0, { \"pages\": _3, \"pages-research\": _3 }] }], \"dyn-berlin\": _3, \"in-berlin\": _3, \"in-brb\": _3, \"in-butter\": _3, \"in-dsl\": _3, \"in-vpn\": _3, \"iservschule\": _3, \"mein-iserv\": _3, \"schuldock\": _3, \"schulplattform\": _3, \"schulserver\": _3, \"test-iserv\": _3, \"keymachine\": _3, \"co\": _3, \"git-repos\": _3, \"lcube-server\": _3, \"svn-repos\": _3, \"barsy\": _3, \"webspaceconfig\": _3, \"123webseite\": _3, \"rub\": _3, \"ruhr-uni-bochum\": [2, { \"noc\": [0, { \"io\": _3 }] }], \"logoip\": _3, \"firewall-gateway\": _3, \"my-gateway\": _3, \"my-router\": _3, \"spdns\": _3, \"my\": _3, \"speedpartner\": [0, { \"customer\": _3 }], \"myspreadshop\": _3, \"taifun-dns\": _3, \"12hp\": _3, \"2ix\": _3, \"4lima\": _3, \"lima-city\": _3, \"virtual-user\": _3, \"virtualuser\": _3, \"community-pro\": _3, \"diskussionsbereich\": _3, \"xenonconnect\": _6 }], \"dj\": _2, \"dk\": [1, { \"biz\": _3, \"co\": _3, \"firm\": _3, \"reg\": _3, \"store\": _3, \"123hjemmeside\": _3, \"myspreadshop\": _3 }], \"dm\": _52, \"do\": [1, { \"art\": _2, \"com\": _2, \"edu\": _2, \"gob\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"sld\": _2, \"web\": _2 }], \"dz\": [1, { \"art\": _2, \"asso\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"pol\": _2, \"soc\": _2, \"tm\": _2 }], \"ec\": [1, { \"abg\": _2, \"adm\": _2, \"agron\": _2, \"arqt\": _2, \"art\": _2, \"bar\": _2, \"chef\": _2, \"com\": _2, \"cont\": _2, \"cpa\": _2, \"cue\": _2, \"dent\": _2, \"dgn\": _2, \"disco\": _2, \"doc\": _2, \"edu\": _2, \"eng\": _2, \"esm\": _2, \"fin\": _2, \"fot\": _2, \"gal\": _2, \"gob\": _2, \"gov\": _2, \"gye\": _2, \"ibr\": _2, \"info\": _2, \"k12\": _2, \"lat\": _2, \"loj\": _2, \"med\": _2, \"mil\": _2, \"mktg\": _2, \"mon\": _2, \"net\": _2, \"ntr\": _2, \"odont\": _2, \"org\": _2, \"pro\": _2, \"prof\": _2, \"psic\": _2, \"psiq\": _2, \"pub\": _2, \"rio\": _2, \"rrpp\": _2, \"sal\": _2, \"tech\": _2, \"tul\": _2, \"tur\": _2, \"uio\": _2, \"vet\": _2, \"xxx\": _2, \"base\": _3, \"official\": _3 }], \"edu\": [1, { \"rit\": [0, { \"git-pages\": _3 }] }], \"ee\": [1, { \"aip\": _2, \"com\": _2, \"edu\": _2, \"fie\": _2, \"gov\": _2, \"lib\": _2, \"med\": _2, \"org\": _2, \"pri\": _2, \"riik\": _2 }], \"eg\": [1, { \"ac\": _2, \"com\": _2, \"edu\": _2, \"eun\": _2, \"gov\": _2, \"info\": _2, \"me\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"sci\": _2, \"sport\": _2, \"tv\": _2 }], \"er\": _21, \"es\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"nom\": _2, \"org\": _2, \"123miweb\": _3, \"myspreadshop\": _3 }], \"et\": [1, { \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"name\": _2, \"net\": _2, \"org\": _2 }], \"eu\": [1, { \"amazonwebservices\": [0, { \"on\": [0, { \"eusc-de-east-1\": [0, { \"cognito-idp\": _40 }] }] }], \"cloudns\": _3, \"prvw\": _3, \"deuxfleurs\": _3, \"dogado\": [0, { \"jelastic\": _3 }], \"barsy\": _3, \"spdns\": _3, \"nxa\": _6, \"directwp\": _3, \"transurl\": _6 }], \"fi\": [1, { \"aland\": _2, \"dy\": _3, \"xn--hkkinen-5wa\": _3, \"häkkinen\": _3, \"iki\": _3, \"cloudplatform\": [0, { \"fi\": _3 }], \"datacenter\": [0, { \"demo\": _3, \"paas\": _3 }], \"kapsi\": _3, \"123kotisivu\": _3, \"myspreadshop\": _3 }], \"fj\": [1, { \"ac\": _2, \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"id\": _2, \"info\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pro\": _2 }], \"fk\": _21, \"fm\": [1, { \"com\": _2, \"edu\": _2, \"net\": _2, \"org\": _2, \"radio\": _3, \"user\": _6 }], \"fo\": _2, \"fr\": [1, { \"asso\": _2, \"com\": _2, \"gouv\": _2, \"nom\": _2, \"prd\": _2, \"tm\": _2, \"avoues\": _2, \"cci\": _2, \"greta\": _2, \"huissier-justice\": _2, \"fbx-os\": _3, \"fbxos\": _3, \"freebox-os\": _3, \"freeboxos\": _3, \"goupile\": _3, \"kdns\": _3, \"123siteweb\": _3, \"on-web\": _3, \"chirurgiens-dentistes-en-france\": _3, \"dedibox\": _3, \"aeroport\": _3, \"avocat\": _3, \"chambagri\": _3, \"chirurgiens-dentistes\": _3, \"experts-comptables\": _3, \"medecin\": _3, \"notaires\": _3, \"pharmacien\": _3, \"port\": _3, \"veterinaire\": _3, \"myspreadshop\": _3, \"ynh\": _3 }], \"ga\": _2, \"gb\": _2, \"gd\": [1, { \"edu\": _2, \"gov\": _2 }], \"ge\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"pvt\": _2, \"school\": _2 }], \"gf\": _2, \"gg\": [1, { \"co\": _2, \"net\": _2, \"org\": _2, \"ply\": [0, { \"at\": _6, \"d6\": _3 }], \"botdash\": _3, \"kaas\": _3, \"stackit\": _3, \"panel\": [2, { \"daemon\": _3 }] }], \"gh\": [1, { \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"gi\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"ltd\": _2, \"mod\": _2, \"org\": _2 }], \"gl\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"net\": _2, \"org\": _2 }], \"gm\": _2, \"gn\": [1, { \"ac\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], \"gov\": _2, \"gp\": [1, { \"asso\": _2, \"com\": _2, \"edu\": _2, \"mobi\": _2, \"net\": _2, \"org\": _2 }], \"gq\": _2, \"gr\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"barsy\": _3, \"simplesite\": _3 }], \"gs\": _2, \"gt\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"ind\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"gu\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"guam\": _2, \"info\": _2, \"net\": _2, \"org\": _2, \"web\": _2 }], \"gw\": [1, { \"nx\": _3 }], \"gy\": _52, \"hk\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"idv\": _2, \"net\": _2, \"org\": _2, \"xn--ciqpn\": _2, \"个人\": _2, \"xn--gmqw5a\": _2, \"個人\": _2, \"xn--55qx5d\": _2, \"公司\": _2, \"xn--mxtq1m\": _2, \"政府\": _2, \"xn--lcvr32d\": _2, \"敎育\": _2, \"xn--wcvs22d\": _2, \"教育\": _2, \"xn--gmq050i\": _2, \"箇人\": _2, \"xn--uc0atv\": _2, \"組織\": _2, \"xn--uc0ay4a\": _2, \"組织\": _2, \"xn--od0alg\": _2, \"網絡\": _2, \"xn--zf0avx\": _2, \"網络\": _2, \"xn--mk0axi\": _2, \"组織\": _2, \"xn--tn0ag\": _2, \"组织\": _2, \"xn--od0aq3b\": _2, \"网絡\": _2, \"xn--io0a7i\": _2, \"网络\": _2, \"inc\": _3, \"ltd\": _3 }], \"hm\": _2, \"hn\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"hr\": [1, { \"com\": _2, \"from\": _2, \"iz\": _2, \"name\": _2, \"brendly\": _20 }], \"ht\": [1, { \"adult\": _2, \"art\": _2, \"asso\": _2, \"com\": _2, \"coop\": _2, \"edu\": _2, \"firm\": _2, \"gouv\": _2, \"info\": _2, \"med\": _2, \"net\": _2, \"org\": _2, \"perso\": _2, \"pol\": _2, \"pro\": _2, \"rel\": _2, \"shop\": _2, \"rt\": _3 }], \"hu\": [1, { \"2000\": _2, \"agrar\": _2, \"bolt\": _2, \"casino\": _2, \"city\": _2, \"co\": _2, \"erotica\": _2, \"erotika\": _2, \"film\": _2, \"forum\": _2, \"games\": _2, \"hotel\": _2, \"info\": _2, \"ingatlan\": _2, \"jogasz\": _2, \"konyvelo\": _2, \"lakas\": _2, \"media\": _2, \"news\": _2, \"org\": _2, \"priv\": _2, \"reklam\": _2, \"sex\": _2, \"shop\": _2, \"sport\": _2, \"suli\": _2, \"szex\": _2, \"tm\": _2, \"tozsde\": _2, \"utazas\": _2, \"video\": _2 }], \"id\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"desa\": _2, \"go\": _2, \"kop\": _2, \"mil\": _2, \"my\": _2, \"net\": _2, \"or\": _2, \"ponpes\": _2, \"sch\": _2, \"web\": _2, \"xn--9tfky\": _2, \"ᬩᬮᬶ\": _2, \"e\": _3, \"zone\": _3 }], \"ie\": [1, { \"gov\": _2, \"myspreadshop\": _3 }], \"il\": [1, { \"ac\": _2, \"co\": [1, { \"ravpage\": _3, \"mytabit\": _3, \"tabitorder\": _3 }], \"gov\": _2, \"idf\": _2, \"k12\": _2, \"muni\": _2, \"net\": _2, \"org\": _2 }], \"xn--4dbrk0ce\": [1, { \"xn--4dbgdty6c\": _2, \"xn--5dbhl8d\": _2, \"xn--8dbq2a\": _2, \"xn--hebda8b\": _2 }], \"ישראל\": [1, { \"אקדמיה\": _2, \"ישוב\": _2, \"צהל\": _2, \"ממשל\": _2 }], \"im\": [1, { \"ac\": _2, \"co\": [1, { \"ltd\": _2, \"plc\": _2 }], \"com\": _2, \"net\": _2, \"org\": _2, \"tt\": _2, \"tv\": _2 }], \"in\": [1, { \"5g\": _2, \"6g\": _2, \"ac\": _2, \"ai\": _2, \"am\": _2, \"bank\": _2, \"bihar\": _2, \"biz\": _2, \"business\": _2, \"ca\": _2, \"cn\": _2, \"co\": _2, \"com\": _2, \"coop\": _2, \"cs\": _2, \"delhi\": _2, \"dr\": _2, \"edu\": _2, \"er\": _2, \"fin\": _2, \"firm\": _2, \"gen\": _2, \"gov\": _2, \"gujarat\": _2, \"ind\": _2, \"info\": _2, \"int\": _2, \"internet\": _2, \"io\": _2, \"me\": _2, \"mil\": _2, \"net\": _2, \"nic\": _2, \"org\": _2, \"pg\": _2, \"post\": _2, \"pro\": _2, \"res\": _2, \"travel\": _2, \"tv\": _2, \"uk\": _2, \"up\": _2, \"us\": _2, \"cloudns\": _3, \"barsy\": _3, \"web\": _3, \"indevs\": _3, \"supabase\": _3 }], \"info\": [1, { \"cloudns\": _3, \"dynamic-dns\": _3, \"barrel-of-knowledge\": _3, \"barrell-of-knowledge\": _3, \"dyndns\": _3, \"for-our\": _3, \"groks-the\": _3, \"groks-this\": _3, \"here-for-more\": _3, \"knowsitall\": _3, \"selfip\": _3, \"webhop\": _3, \"barsy\": _3, \"mayfirst\": _3, \"mittwald\": _3, \"mittwaldserver\": _3, \"typo3server\": _3, \"dvrcam\": _3, \"ilovecollege\": _3, \"no-ip\": _3, \"forumz\": _3, \"nsupdate\": _3, \"dnsupdate\": _3, \"v-info\": _3 }], \"int\": [1, { \"eu\": _2 }], \"io\": [1, { \"2038\": _3, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"on-acorn\": _6, \"myaddr\": _3, \"apigee\": _3, \"b-data\": _3, \"beagleboard\": _3, \"bitbucket\": _3, \"bluebite\": _3, \"boxfuse\": _3, \"brave\": _7, \"browsersafetymark\": _3, \"bubble\": _56, \"bubbleapps\": _3, \"bigv\": [0, { \"uk0\": _3 }], \"cleverapps\": _3, \"cloudbeesusercontent\": _3, \"dappnode\": [0, { \"dyndns\": _3 }], \"darklang\": _3, \"definima\": _3, \"dedyn\": _3, \"icp0\": _57, \"icp1\": _57, \"qzz\": _3, \"fh-muenster\": _3, \"gitbook\": _3, \"github\": _3, \"gitlab\": _3, \"lolipop\": _3, \"hasura-app\": _3, \"hostyhosting\": _3, \"hypernode\": _3, \"moonscale\": _6, \"beebyte\": _44, \"beebyteapp\": [0, { \"sekd1\": _3 }], \"jele\": _3, \"keenetic\": _3, \"kiloapps\": _3, \"webthings\": _3, \"loginline\": _3, \"barsy\": _3, \"azurecontainer\": _6, \"ngrok\": [2, { \"ap\": _3, \"au\": _3, \"eu\": _3, \"in\": _3, \"jp\": _3, \"sa\": _3, \"us\": _3 }], \"nodeart\": [0, { \"stage\": _3 }], \"pantheonsite\": _3, \"forgerock\": [0, { \"id\": _3 }], \"pstmn\": [2, { \"mock\": _3 }], \"protonet\": _3, \"qcx\": [2, { \"sys\": _6 }], \"qoto\": _3, \"vaporcloud\": _3, \"myrdbx\": _3, \"rb-hosting\": _47, \"on-k3s\": _6, \"on-rio\": _6, \"readthedocs\": _3, \"resindevice\": _3, \"resinstaging\": [0, { \"devices\": _3 }], \"hzc\": _3, \"sandcats\": _3, \"scrypted\": [0, { \"client\": _3 }], \"mo-siemens\": _3, \"lair\": _43, \"stolos\": _6, \"musician\": _3, \"utwente\": _3, \"edugit\": _3, \"telebit\": _3, \"thingdust\": [0, { \"dev\": _58, \"disrec\": _58, \"prod\": _59, \"testing\": _58 }], \"tickets\": _3, \"webflow\": _3, \"webflowtest\": _3, \"drive-platform\": _3, \"editorx\": _3, \"wixstudio\": _3, \"basicserver\": _3, \"virtualserver\": _3 }], \"iq\": _5, \"ir\": [1, { \"ac\": _2, \"co\": _2, \"gov\": _2, \"id\": _2, \"net\": _2, \"org\": _2, \"sch\": _2, \"xn--mgba3a4f16a\": _2, \"ایران\": _2, \"xn--mgba3a4fra\": _2, \"ايران\": _2, \"arvanedge\": _3, \"vistablog\": _3 }], \"is\": _2, \"it\": [1, { \"edu\": _2, \"gov\": _2, \"abr\": _2, \"abruzzo\": _2, \"aosta-valley\": _2, \"aostavalley\": _2, \"bas\": _2, \"basilicata\": _2, \"cal\": _2, \"calabria\": _2, \"cam\": _2, \"campania\": _2, \"emilia-romagna\": _2, \"emiliaromagna\": _2, \"emr\": _2, \"friuli-v-giulia\": _2, \"friuli-ve-giulia\": _2, \"friuli-vegiulia\": _2, \"friuli-venezia-giulia\": _2, \"friuli-veneziagiulia\": _2, \"friuli-vgiulia\": _2, \"friuliv-giulia\": _2, \"friulive-giulia\": _2, \"friulivegiulia\": _2, \"friulivenezia-giulia\": _2, \"friuliveneziagiulia\": _2, \"friulivgiulia\": _2, \"fvg\": _2, \"laz\": _2, \"lazio\": _2, \"lig\": _2, \"liguria\": _2, \"lom\": _2, \"lombardia\": _2, \"lombardy\": _2, \"lucania\": _2, \"mar\": _2, \"marche\": _2, \"mol\": _2, \"molise\": _2, \"piedmont\": _2, \"piemonte\": _2, \"pmn\": _2, \"pug\": _2, \"puglia\": _2, \"sar\": _2, \"sardegna\": _2, \"sardinia\": _2, \"sic\": _2, \"sicilia\": _2, \"sicily\": _2, \"taa\": _2, \"tos\": _2, \"toscana\": _2, \"trentin-sud-tirol\": _2, \"xn--trentin-sd-tirol-rzb\": _2, \"trentin-süd-tirol\": _2, \"trentin-sudtirol\": _2, \"xn--trentin-sdtirol-7vb\": _2, \"trentin-südtirol\": _2, \"trentin-sued-tirol\": _2, \"trentin-suedtirol\": _2, \"trentino\": _2, \"trentino-a-adige\": _2, \"trentino-aadige\": _2, \"trentino-alto-adige\": _2, \"trentino-altoadige\": _2, \"trentino-s-tirol\": _2, \"trentino-stirol\": _2, \"trentino-sud-tirol\": _2, \"xn--trentino-sd-tirol-c3b\": _2, \"trentino-süd-tirol\": _2, \"trentino-sudtirol\": _2, \"xn--trentino-sdtirol-szb\": _2, \"trentino-südtirol\": _2, \"trentino-sued-tirol\": _2, \"trentino-suedtirol\": _2, \"trentinoa-adige\": _2, \"trentinoaadige\": _2, \"trentinoalto-adige\": _2, \"trentinoaltoadige\": _2, \"trentinos-tirol\": _2, \"trentinostirol\": _2, \"trentinosud-tirol\": _2, \"xn--trentinosd-tirol-rzb\": _2, \"trentinosüd-tirol\": _2, \"trentinosudtirol\": _2, \"xn--trentinosdtirol-7vb\": _2, \"trentinosüdtirol\": _2, \"trentinosued-tirol\": _2, \"trentinosuedtirol\": _2, \"trentinsud-tirol\": _2, \"xn--trentinsd-tirol-6vb\": _2, \"trentinsüd-tirol\": _2, \"trentinsudtirol\": _2, \"xn--trentinsdtirol-nsb\": _2, \"trentinsüdtirol\": _2, \"trentinsued-tirol\": _2, \"trentinsuedtirol\": _2, \"tuscany\": _2, \"umb\": _2, \"umbria\": _2, \"val-d-aosta\": _2, \"val-daosta\": _2, \"vald-aosta\": _2, \"valdaosta\": _2, \"valle-aosta\": _2, \"valle-d-aosta\": _2, \"valle-daosta\": _2, \"valleaosta\": _2, \"valled-aosta\": _2, \"valledaosta\": _2, \"vallee-aoste\": _2, \"xn--valle-aoste-ebb\": _2, \"vallée-aoste\": _2, \"vallee-d-aoste\": _2, \"xn--valle-d-aoste-ehb\": _2, \"vallée-d-aoste\": _2, \"valleeaoste\": _2, \"xn--valleaoste-e7a\": _2, \"valléeaoste\": _2, \"valleedaoste\": _2, \"xn--valledaoste-ebb\": _2, \"valléedaoste\": _2, \"vao\": _2, \"vda\": _2, \"ven\": _2, \"veneto\": _2, \"ag\": _2, \"agrigento\": _2, \"al\": _2, \"alessandria\": _2, \"alto-adige\": _2, \"altoadige\": _2, \"an\": _2, \"ancona\": _2, \"andria-barletta-trani\": _2, \"andria-trani-barletta\": _2, \"andriabarlettatrani\": _2, \"andriatranibarletta\": _2, \"ao\": _2, \"aosta\": _2, \"aoste\": _2, \"ap\": _2, \"aq\": _2, \"aquila\": _2, \"ar\": _2, \"arezzo\": _2, \"ascoli-piceno\": _2, \"ascolipiceno\": _2, \"asti\": _2, \"at\": _2, \"av\": _2, \"avellino\": _2, \"ba\": _2, \"balsan\": _2, \"balsan-sudtirol\": _2, \"xn--balsan-sdtirol-nsb\": _2, \"balsan-südtirol\": _2, \"balsan-suedtirol\": _2, \"bari\": _2, \"barletta-trani-andria\": _2, \"barlettatraniandria\": _2, \"belluno\": _2, \"benevento\": _2, \"bergamo\": _2, \"bg\": _2, \"bi\": _2, \"biella\": _2, \"bl\": _2, \"bn\": _2, \"bo\": _2, \"bologna\": _2, \"bolzano\": _2, \"bolzano-altoadige\": _2, \"bozen\": _2, \"bozen-sudtirol\": _2, \"xn--bozen-sdtirol-2ob\": _2, \"bozen-südtirol\": _2, \"bozen-suedtirol\": _2, \"br\": _2, \"brescia\": _2, \"brindisi\": _2, \"bs\": _2, \"bt\": _2, \"bulsan\": _2, \"bulsan-sudtirol\": _2, \"xn--bulsan-sdtirol-nsb\": _2, \"bulsan-südtirol\": _2, \"bulsan-suedtirol\": _2, \"bz\": _2, \"ca\": _2, \"cagliari\": _2, \"caltanissetta\": _2, \"campidano-medio\": _2, \"campidanomedio\": _2, \"campobasso\": _2, \"carbonia-iglesias\": _2, \"carboniaiglesias\": _2, \"carrara-massa\": _2, \"carraramassa\": _2, \"caserta\": _2, \"catania\": _2, \"catanzaro\": _2, \"cb\": _2, \"ce\": _2, \"cesena-forli\": _2, \"xn--cesena-forl-mcb\": _2, \"cesena-forlì\": _2, \"cesenaforli\": _2, \"xn--cesenaforl-i8a\": _2, \"cesenaforlì\": _2, \"ch\": _2, \"chieti\": _2, \"ci\": _2, \"cl\": _2, \"cn\": _2, \"co\": _2, \"como\": _2, \"cosenza\": _2, \"cr\": _2, \"cremona\": _2, \"crotone\": _2, \"cs\": _2, \"ct\": _2, \"cuneo\": _2, \"cz\": _2, \"dell-ogliastra\": _2, \"dellogliastra\": _2, \"en\": _2, \"enna\": _2, \"fc\": _2, \"fe\": _2, \"fermo\": _2, \"ferrara\": _2, \"fg\": _2, \"fi\": _2, \"firenze\": _2, \"florence\": _2, \"fm\": _2, \"foggia\": _2, \"forli-cesena\": _2, \"xn--forl-cesena-fcb\": _2, \"forlì-cesena\": _2, \"forlicesena\": _2, \"xn--forlcesena-c8a\": _2, \"forlìcesena\": _2, \"fr\": _2, \"frosinone\": _2, \"ge\": _2, \"genoa\": _2, \"genova\": _2, \"go\": _2, \"gorizia\": _2, \"gr\": _2, \"grosseto\": _2, \"iglesias-carbonia\": _2, \"iglesiascarbonia\": _2, \"im\": _2, \"imperia\": _2, \"is\": _2, \"isernia\": _2, \"kr\": _2, \"la-spezia\": _2, \"laquila\": _2, \"laspezia\": _2, \"latina\": _2, \"lc\": _2, \"le\": _2, \"lecce\": _2, \"lecco\": _2, \"li\": _2, \"livorno\": _2, \"lo\": _2, \"lodi\": _2, \"lt\": _2, \"lu\": _2, \"lucca\": _2, \"macerata\": _2, \"mantova\": _2, \"massa-carrara\": _2, \"massacarrara\": _2, \"matera\": _2, \"mb\": _2, \"mc\": _2, \"me\": _2, \"medio-campidano\": _2, \"mediocampidano\": _2, \"messina\": _2, \"mi\": _2, \"milan\": _2, \"milano\": _2, \"mn\": _2, \"mo\": _2, \"modena\": _2, \"monza\": _2, \"monza-brianza\": _2, \"monza-e-della-brianza\": _2, \"monzabrianza\": _2, \"monzaebrianza\": _2, \"monzaedellabrianza\": _2, \"ms\": _2, \"mt\": _2, \"na\": _2, \"naples\": _2, \"napoli\": _2, \"no\": _2, \"novara\": _2, \"nu\": _2, \"nuoro\": _2, \"og\": _2, \"ogliastra\": _2, \"olbia-tempio\": _2, \"olbiatempio\": _2, \"or\": _2, \"oristano\": _2, \"ot\": _2, \"pa\": _2, \"padova\": _2, \"padua\": _2, \"palermo\": _2, \"parma\": _2, \"pavia\": _2, \"pc\": _2, \"pd\": _2, \"pe\": _2, \"perugia\": _2, \"pesaro-urbino\": _2, \"pesarourbino\": _2, \"pescara\": _2, \"pg\": _2, \"pi\": _2, \"piacenza\": _2, \"pisa\": _2, \"pistoia\": _2, \"pn\": _2, \"po\": _2, \"pordenone\": _2, \"potenza\": _2, \"pr\": _2, \"prato\": _2, \"pt\": _2, \"pu\": _2, \"pv\": _2, \"pz\": _2, \"ra\": _2, \"ragusa\": _2, \"ravenna\": _2, \"rc\": _2, \"re\": _2, \"reggio-calabria\": _2, \"reggio-emilia\": _2, \"reggiocalabria\": _2, \"reggioemilia\": _2, \"rg\": _2, \"ri\": _2, \"rieti\": _2, \"rimini\": _2, \"rm\": _2, \"rn\": _2, \"ro\": _2, \"roma\": _2, \"rome\": _2, \"rovigo\": _2, \"sa\": _2, \"salerno\": _2, \"sassari\": _2, \"savona\": _2, \"si\": _2, \"siena\": _2, \"siracusa\": _2, \"so\": _2, \"sondrio\": _2, \"sp\": _2, \"sr\": _2, \"ss\": _2, \"xn--sdtirol-n2a\": _2, \"südtirol\": _2, \"suedtirol\": _2, \"sv\": _2, \"ta\": _2, \"taranto\": _2, \"te\": _2, \"tempio-olbia\": _2, \"tempioolbia\": _2, \"teramo\": _2, \"terni\": _2, \"tn\": _2, \"to\": _2, \"torino\": _2, \"tp\": _2, \"tr\": _2, \"trani-andria-barletta\": _2, \"trani-barletta-andria\": _2, \"traniandriabarletta\": _2, \"tranibarlettaandria\": _2, \"trapani\": _2, \"trento\": _2, \"treviso\": _2, \"trieste\": _2, \"ts\": _2, \"turin\": _2, \"tv\": _2, \"ud\": _2, \"udine\": _2, \"urbino-pesaro\": _2, \"urbinopesaro\": _2, \"va\": _2, \"varese\": _2, \"vb\": _2, \"vc\": _2, \"ve\": _2, \"venezia\": _2, \"venice\": _2, \"verbania\": _2, \"vercelli\": _2, \"verona\": _2, \"vi\": _2, \"vibo-valentia\": _2, \"vibovalentia\": _2, \"vicenza\": _2, \"viterbo\": _2, \"vr\": _2, \"vs\": _2, \"vt\": _2, \"vv\": _2, \"ibxos\": _3, \"iliadboxos\": _3, \"neen\": [0, { \"jc\": _3 }], \"123homepage\": _3, \"16-b\": _3, \"32-b\": _3, \"64-b\": _3, \"myspreadshop\": _3, \"syncloud\": _3 }], \"je\": [1, { \"co\": _2, \"net\": _2, \"org\": _2, \"of\": _3 }], \"jm\": _21, \"jo\": [1, { \"agri\": _2, \"ai\": _2, \"com\": _2, \"edu\": _2, \"eng\": _2, \"fm\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"per\": _2, \"phd\": _2, \"sch\": _2, \"tv\": _2 }], \"jobs\": _2, \"jp\": [1, { \"ac\": _2, \"ad\": _2, \"co\": _2, \"ed\": _2, \"go\": _2, \"gr\": _2, \"lg\": _2, \"ne\": [1, { \"aseinet\": _54, \"gehirn\": _3, \"ivory\": _3, \"mail-box\": _3, \"mints\": _3, \"mokuren\": _3, \"opal\": _3, \"sakura\": _3, \"sumomo\": _3, \"topaz\": _3 }], \"or\": _2, \"aichi\": [1, { \"aisai\": _2, \"ama\": _2, \"anjo\": _2, \"asuke\": _2, \"chiryu\": _2, \"chita\": _2, \"fuso\": _2, \"gamagori\": _2, \"handa\": _2, \"hazu\": _2, \"hekinan\": _2, \"higashiura\": _2, \"ichinomiya\": _2, \"inazawa\": _2, \"inuyama\": _2, \"isshiki\": _2, \"iwakura\": _2, \"kanie\": _2, \"kariya\": _2, \"kasugai\": _2, \"kira\": _2, \"kiyosu\": _2, \"komaki\": _2, \"konan\": _2, \"kota\": _2, \"mihama\": _2, \"miyoshi\": _2, \"nishio\": _2, \"nisshin\": _2, \"obu\": _2, \"oguchi\": _2, \"oharu\": _2, \"okazaki\": _2, \"owariasahi\": _2, \"seto\": _2, \"shikatsu\": _2, \"shinshiro\": _2, \"shitara\": _2, \"tahara\": _2, \"takahama\": _2, \"tobishima\": _2, \"toei\": _2, \"togo\": _2, \"tokai\": _2, \"tokoname\": _2, \"toyoake\": _2, \"toyohashi\": _2, \"toyokawa\": _2, \"toyone\": _2, \"toyota\": _2, \"tsushima\": _2, \"yatomi\": _2 }], \"akita\": [1, { \"akita\": _2, \"daisen\": _2, \"fujisato\": _2, \"gojome\": _2, \"hachirogata\": _2, \"happou\": _2, \"higashinaruse\": _2, \"honjo\": _2, \"honjyo\": _2, \"ikawa\": _2, \"kamikoani\": _2, \"kamioka\": _2, \"katagami\": _2, \"kazuno\": _2, \"kitaakita\": _2, \"kosaka\": _2, \"kyowa\": _2, \"misato\": _2, \"mitane\": _2, \"moriyoshi\": _2, \"nikaho\": _2, \"noshiro\": _2, \"odate\": _2, \"oga\": _2, \"ogata\": _2, \"semboku\": _2, \"yokote\": _2, \"yurihonjo\": _2 }], \"aomori\": [1, { \"aomori\": _2, \"gonohe\": _2, \"hachinohe\": _2, \"hashikami\": _2, \"hiranai\": _2, \"hirosaki\": _2, \"itayanagi\": _2, \"kuroishi\": _2, \"misawa\": _2, \"mutsu\": _2, \"nakadomari\": _2, \"noheji\": _2, \"oirase\": _2, \"owani\": _2, \"rokunohe\": _2, \"sannohe\": _2, \"shichinohe\": _2, \"shingo\": _2, \"takko\": _2, \"towada\": _2, \"tsugaru\": _2, \"tsuruta\": _2 }], \"chiba\": [1, { \"abiko\": _2, \"asahi\": _2, \"chonan\": _2, \"chosei\": _2, \"choshi\": _2, \"chuo\": _2, \"funabashi\": _2, \"futtsu\": _2, \"hanamigawa\": _2, \"ichihara\": _2, \"ichikawa\": _2, \"ichinomiya\": _2, \"inzai\": _2, \"isumi\": _2, \"kamagaya\": _2, \"kamogawa\": _2, \"kashiwa\": _2, \"katori\": _2, \"katsuura\": _2, \"kimitsu\": _2, \"kisarazu\": _2, \"kozaki\": _2, \"kujukuri\": _2, \"kyonan\": _2, \"matsudo\": _2, \"midori\": _2, \"mihama\": _2, \"minamiboso\": _2, \"mobara\": _2, \"mutsuzawa\": _2, \"nagara\": _2, \"nagareyama\": _2, \"narashino\": _2, \"narita\": _2, \"noda\": _2, \"oamishirasato\": _2, \"omigawa\": _2, \"onjuku\": _2, \"otaki\": _2, \"sakae\": _2, \"sakura\": _2, \"shimofusa\": _2, \"shirako\": _2, \"shiroi\": _2, \"shisui\": _2, \"sodegaura\": _2, \"sosa\": _2, \"tako\": _2, \"tateyama\": _2, \"togane\": _2, \"tohnosho\": _2, \"tomisato\": _2, \"urayasu\": _2, \"yachimata\": _2, \"yachiyo\": _2, \"yokaichiba\": _2, \"yokoshibahikari\": _2, \"yotsukaido\": _2 }], \"ehime\": [1, { \"ainan\": _2, \"honai\": _2, \"ikata\": _2, \"imabari\": _2, \"iyo\": _2, \"kamijima\": _2, \"kihoku\": _2, \"kumakogen\": _2, \"masaki\": _2, \"matsuno\": _2, \"matsuyama\": _2, \"namikata\": _2, \"niihama\": _2, \"ozu\": _2, \"saijo\": _2, \"seiyo\": _2, \"shikokuchuo\": _2, \"tobe\": _2, \"toon\": _2, \"uchiko\": _2, \"uwajima\": _2, \"yawatahama\": _2 }], \"fukui\": [1, { \"echizen\": _2, \"eiheiji\": _2, \"fukui\": _2, \"ikeda\": _2, \"katsuyama\": _2, \"mihama\": _2, \"minamiechizen\": _2, \"obama\": _2, \"ohi\": _2, \"ono\": _2, \"sabae\": _2, \"sakai\": _2, \"takahama\": _2, \"tsuruga\": _2, \"wakasa\": _2 }], \"fukuoka\": [1, { \"ashiya\": _2, \"buzen\": _2, \"chikugo\": _2, \"chikuho\": _2, \"chikujo\": _2, \"chikushino\": _2, \"chikuzen\": _2, \"chuo\": _2, \"dazaifu\": _2, \"fukuchi\": _2, \"hakata\": _2, \"higashi\": _2, \"hirokawa\": _2, \"hisayama\": _2, \"iizuka\": _2, \"inatsuki\": _2, \"kaho\": _2, \"kasuga\": _2, \"kasuya\": _2, \"kawara\": _2, \"keisen\": _2, \"koga\": _2, \"kurate\": _2, \"kurogi\": _2, \"kurume\": _2, \"minami\": _2, \"miyako\": _2, \"miyama\": _2, \"miyawaka\": _2, \"mizumaki\": _2, \"munakata\": _2, \"nakagawa\": _2, \"nakama\": _2, \"nishi\": _2, \"nogata\": _2, \"ogori\": _2, \"okagaki\": _2, \"okawa\": _2, \"oki\": _2, \"omuta\": _2, \"onga\": _2, \"onojo\": _2, \"oto\": _2, \"saigawa\": _2, \"sasaguri\": _2, \"shingu\": _2, \"shinyoshitomi\": _2, \"shonai\": _2, \"soeda\": _2, \"sue\": _2, \"tachiarai\": _2, \"tagawa\": _2, \"takata\": _2, \"toho\": _2, \"toyotsu\": _2, \"tsuiki\": _2, \"ukiha\": _2, \"umi\": _2, \"usui\": _2, \"yamada\": _2, \"yame\": _2, \"yanagawa\": _2, \"yukuhashi\": _2 }], \"fukushima\": [1, { \"aizubange\": _2, \"aizumisato\": _2, \"aizuwakamatsu\": _2, \"asakawa\": _2, \"bandai\": _2, \"date\": _2, \"fukushima\": _2, \"furudono\": _2, \"futaba\": _2, \"hanawa\": _2, \"higashi\": _2, \"hirata\": _2, \"hirono\": _2, \"iitate\": _2, \"inawashiro\": _2, \"ishikawa\": _2, \"iwaki\": _2, \"izumizaki\": _2, \"kagamiishi\": _2, \"kaneyama\": _2, \"kawamata\": _2, \"kitakata\": _2, \"kitashiobara\": _2, \"koori\": _2, \"koriyama\": _2, \"kunimi\": _2, \"miharu\": _2, \"mishima\": _2, \"namie\": _2, \"nango\": _2, \"nishiaizu\": _2, \"nishigo\": _2, \"okuma\": _2, \"omotego\": _2, \"ono\": _2, \"otama\": _2, \"samegawa\": _2, \"shimogo\": _2, \"shirakawa\": _2, \"showa\": _2, \"soma\": _2, \"sukagawa\": _2, \"taishin\": _2, \"tamakawa\": _2, \"tanagura\": _2, \"tenei\": _2, \"yabuki\": _2, \"yamato\": _2, \"yamatsuri\": _2, \"yanaizu\": _2, \"yugawa\": _2 }], \"gifu\": [1, { \"anpachi\": _2, \"ena\": _2, \"gifu\": _2, \"ginan\": _2, \"godo\": _2, \"gujo\": _2, \"hashima\": _2, \"hichiso\": _2, \"hida\": _2, \"higashishirakawa\": _2, \"ibigawa\": _2, \"ikeda\": _2, \"kakamigahara\": _2, \"kani\": _2, \"kasahara\": _2, \"kasamatsu\": _2, \"kawaue\": _2, \"kitagata\": _2, \"mino\": _2, \"minokamo\": _2, \"mitake\": _2, \"mizunami\": _2, \"motosu\": _2, \"nakatsugawa\": _2, \"ogaki\": _2, \"sakahogi\": _2, \"seki\": _2, \"sekigahara\": _2, \"shirakawa\": _2, \"tajimi\": _2, \"takayama\": _2, \"tarui\": _2, \"toki\": _2, \"tomika\": _2, \"wanouchi\": _2, \"yamagata\": _2, \"yaotsu\": _2, \"yoro\": _2 }], \"gunma\": [1, { \"annaka\": _2, \"chiyoda\": _2, \"fujioka\": _2, \"higashiagatsuma\": _2, \"isesaki\": _2, \"itakura\": _2, \"kanna\": _2, \"kanra\": _2, \"katashina\": _2, \"kawaba\": _2, \"kiryu\": _2, \"kusatsu\": _2, \"maebashi\": _2, \"meiwa\": _2, \"midori\": _2, \"minakami\": _2, \"naganohara\": _2, \"nakanojo\": _2, \"nanmoku\": _2, \"numata\": _2, \"oizumi\": _2, \"ora\": _2, \"ota\": _2, \"shibukawa\": _2, \"shimonita\": _2, \"shinto\": _2, \"showa\": _2, \"takasaki\": _2, \"takayama\": _2, \"tamamura\": _2, \"tatebayashi\": _2, \"tomioka\": _2, \"tsukiyono\": _2, \"tsumagoi\": _2, \"ueno\": _2, \"yoshioka\": _2 }], \"hiroshima\": [1, { \"asaminami\": _2, \"daiwa\": _2, \"etajima\": _2, \"fuchu\": _2, \"fukuyama\": _2, \"hatsukaichi\": _2, \"higashihiroshima\": _2, \"hongo\": _2, \"jinsekikogen\": _2, \"kaita\": _2, \"kui\": _2, \"kumano\": _2, \"kure\": _2, \"mihara\": _2, \"miyoshi\": _2, \"naka\": _2, \"onomichi\": _2, \"osakikamijima\": _2, \"otake\": _2, \"saka\": _2, \"sera\": _2, \"seranishi\": _2, \"shinichi\": _2, \"shobara\": _2, \"takehara\": _2 }], \"hokkaido\": [1, { \"abashiri\": _2, \"abira\": _2, \"aibetsu\": _2, \"akabira\": _2, \"akkeshi\": _2, \"asahikawa\": _2, \"ashibetsu\": _2, \"ashoro\": _2, \"assabu\": _2, \"atsuma\": _2, \"bibai\": _2, \"biei\": _2, \"bifuka\": _2, \"bihoro\": _2, \"biratori\": _2, \"chippubetsu\": _2, \"chitose\": _2, \"date\": _2, \"ebetsu\": _2, \"embetsu\": _2, \"eniwa\": _2, \"erimo\": _2, \"esan\": _2, \"esashi\": _2, \"fukagawa\": _2, \"fukushima\": _2, \"furano\": _2, \"furubira\": _2, \"haboro\": _2, \"hakodate\": _2, \"hamatonbetsu\": _2, \"hidaka\": _2, \"higashikagura\": _2, \"higashikawa\": _2, \"hiroo\": _2, \"hokuryu\": _2, \"hokuto\": _2, \"honbetsu\": _2, \"horokanai\": _2, \"horonobe\": _2, \"ikeda\": _2, \"imakane\": _2, \"ishikari\": _2, \"iwamizawa\": _2, \"iwanai\": _2, \"kamifurano\": _2, \"kamikawa\": _2, \"kamishihoro\": _2, \"kamisunagawa\": _2, \"kamoenai\": _2, \"kayabe\": _2, \"kembuchi\": _2, \"kikonai\": _2, \"kimobetsu\": _2, \"kitahiroshima\": _2, \"kitami\": _2, \"kiyosato\": _2, \"koshimizu\": _2, \"kunneppu\": _2, \"kuriyama\": _2, \"kuromatsunai\": _2, \"kushiro\": _2, \"kutchan\": _2, \"kyowa\": _2, \"mashike\": _2, \"matsumae\": _2, \"mikasa\": _2, \"minamifurano\": _2, \"mombetsu\": _2, \"moseushi\": _2, \"mukawa\": _2, \"muroran\": _2, \"naie\": _2, \"nakagawa\": _2, \"nakasatsunai\": _2, \"nakatombetsu\": _2, \"nanae\": _2, \"nanporo\": _2, \"nayoro\": _2, \"nemuro\": _2, \"niikappu\": _2, \"niki\": _2, \"nishiokoppe\": _2, \"noboribetsu\": _2, \"numata\": _2, \"obihiro\": _2, \"obira\": _2, \"oketo\": _2, \"okoppe\": _2, \"otaru\": _2, \"otobe\": _2, \"otofuke\": _2, \"otoineppu\": _2, \"oumu\": _2, \"ozora\": _2, \"pippu\": _2, \"rankoshi\": _2, \"rebun\": _2, \"rikubetsu\": _2, \"rishiri\": _2, \"rishirifuji\": _2, \"saroma\": _2, \"sarufutsu\": _2, \"shakotan\": _2, \"shari\": _2, \"shibecha\": _2, \"shibetsu\": _2, \"shikabe\": _2, \"shikaoi\": _2, \"shimamaki\": _2, \"shimizu\": _2, \"shimokawa\": _2, \"shinshinotsu\": _2, \"shintoku\": _2, \"shiranuka\": _2, \"shiraoi\": _2, \"shiriuchi\": _2, \"sobetsu\": _2, \"sunagawa\": _2, \"taiki\": _2, \"takasu\": _2, \"takikawa\": _2, \"takinoue\": _2, \"teshikaga\": _2, \"tobetsu\": _2, \"tohma\": _2, \"tomakomai\": _2, \"tomari\": _2, \"toya\": _2, \"toyako\": _2, \"toyotomi\": _2, \"toyoura\": _2, \"tsubetsu\": _2, \"tsukigata\": _2, \"urakawa\": _2, \"urausu\": _2, \"uryu\": _2, \"utashinai\": _2, \"wakkanai\": _2, \"wassamu\": _2, \"yakumo\": _2, \"yoichi\": _2 }], \"hyogo\": [1, { \"aioi\": _2, \"akashi\": _2, \"ako\": _2, \"amagasaki\": _2, \"aogaki\": _2, \"asago\": _2, \"ashiya\": _2, \"awaji\": _2, \"fukusaki\": _2, \"goshiki\": _2, \"harima\": _2, \"himeji\": _2, \"ichikawa\": _2, \"inagawa\": _2, \"itami\": _2, \"kakogawa\": _2, \"kamigori\": _2, \"kamikawa\": _2, \"kasai\": _2, \"kasuga\": _2, \"kawanishi\": _2, \"miki\": _2, \"minamiawaji\": _2, \"nishinomiya\": _2, \"nishiwaki\": _2, \"ono\": _2, \"sanda\": _2, \"sannan\": _2, \"sasayama\": _2, \"sayo\": _2, \"shingu\": _2, \"shinonsen\": _2, \"shiso\": _2, \"sumoto\": _2, \"taishi\": _2, \"taka\": _2, \"takarazuka\": _2, \"takasago\": _2, \"takino\": _2, \"tamba\": _2, \"tatsuno\": _2, \"toyooka\": _2, \"yabu\": _2, \"yashiro\": _2, \"yoka\": _2, \"yokawa\": _2 }], \"ibaraki\": [1, { \"ami\": _2, \"asahi\": _2, \"bando\": _2, \"chikusei\": _2, \"daigo\": _2, \"fujishiro\": _2, \"hitachi\": _2, \"hitachinaka\": _2, \"hitachiomiya\": _2, \"hitachiota\": _2, \"ibaraki\": _2, \"ina\": _2, \"inashiki\": _2, \"itako\": _2, \"iwama\": _2, \"joso\": _2, \"kamisu\": _2, \"kasama\": _2, \"kashima\": _2, \"kasumigaura\": _2, \"koga\": _2, \"miho\": _2, \"mito\": _2, \"moriya\": _2, \"naka\": _2, \"namegata\": _2, \"oarai\": _2, \"ogawa\": _2, \"omitama\": _2, \"ryugasaki\": _2, \"sakai\": _2, \"sakuragawa\": _2, \"shimodate\": _2, \"shimotsuma\": _2, \"shirosato\": _2, \"sowa\": _2, \"suifu\": _2, \"takahagi\": _2, \"tamatsukuri\": _2, \"tokai\": _2, \"tomobe\": _2, \"tone\": _2, \"toride\": _2, \"tsuchiura\": _2, \"tsukuba\": _2, \"uchihara\": _2, \"ushiku\": _2, \"yachiyo\": _2, \"yamagata\": _2, \"yawara\": _2, \"yuki\": _2 }], \"ishikawa\": [1, { \"anamizu\": _2, \"hakui\": _2, \"hakusan\": _2, \"kaga\": _2, \"kahoku\": _2, \"kanazawa\": _2, \"kawakita\": _2, \"komatsu\": _2, \"nakanoto\": _2, \"nanao\": _2, \"nomi\": _2, \"nonoichi\": _2, \"noto\": _2, \"shika\": _2, \"suzu\": _2, \"tsubata\": _2, \"tsurugi\": _2, \"uchinada\": _2, \"wajima\": _2 }], \"iwate\": [1, { \"fudai\": _2, \"fujisawa\": _2, \"hanamaki\": _2, \"hiraizumi\": _2, \"hirono\": _2, \"ichinohe\": _2, \"ichinoseki\": _2, \"iwaizumi\": _2, \"iwate\": _2, \"joboji\": _2, \"kamaishi\": _2, \"kanegasaki\": _2, \"karumai\": _2, \"kawai\": _2, \"kitakami\": _2, \"kuji\": _2, \"kunohe\": _2, \"kuzumaki\": _2, \"miyako\": _2, \"mizusawa\": _2, \"morioka\": _2, \"ninohe\": _2, \"noda\": _2, \"ofunato\": _2, \"oshu\": _2, \"otsuchi\": _2, \"rikuzentakata\": _2, \"shiwa\": _2, \"shizukuishi\": _2, \"sumita\": _2, \"tanohata\": _2, \"tono\": _2, \"yahaba\": _2, \"yamada\": _2 }], \"kagawa\": [1, { \"ayagawa\": _2, \"higashikagawa\": _2, \"kanonji\": _2, \"kotohira\": _2, \"manno\": _2, \"marugame\": _2, \"mitoyo\": _2, \"naoshima\": _2, \"sanuki\": _2, \"tadotsu\": _2, \"takamatsu\": _2, \"tonosho\": _2, \"uchinomi\": _2, \"utazu\": _2, \"zentsuji\": _2 }], \"kagoshima\": [1, { \"akune\": _2, \"amami\": _2, \"hioki\": _2, \"isa\": _2, \"isen\": _2, \"izumi\": _2, \"kagoshima\": _2, \"kanoya\": _2, \"kawanabe\": _2, \"kinko\": _2, \"kouyama\": _2, \"makurazaki\": _2, \"matsumoto\": _2, \"minamitane\": _2, \"nakatane\": _2, \"nishinoomote\": _2, \"satsumasendai\": _2, \"soo\": _2, \"tarumizu\": _2, \"yusui\": _2 }], \"kanagawa\": [1, { \"aikawa\": _2, \"atsugi\": _2, \"ayase\": _2, \"chigasaki\": _2, \"ebina\": _2, \"fujisawa\": _2, \"hadano\": _2, \"hakone\": _2, \"hiratsuka\": _2, \"isehara\": _2, \"kaisei\": _2, \"kamakura\": _2, \"kiyokawa\": _2, \"matsuda\": _2, \"minamiashigara\": _2, \"miura\": _2, \"nakai\": _2, \"ninomiya\": _2, \"odawara\": _2, \"oi\": _2, \"oiso\": _2, \"sagamihara\": _2, \"samukawa\": _2, \"tsukui\": _2, \"yamakita\": _2, \"yamato\": _2, \"yokosuka\": _2, \"yugawara\": _2, \"zama\": _2, \"zushi\": _2 }], \"kochi\": [1, { \"aki\": _2, \"geisei\": _2, \"hidaka\": _2, \"higashitsuno\": _2, \"ino\": _2, \"kagami\": _2, \"kami\": _2, \"kitagawa\": _2, \"kochi\": _2, \"mihara\": _2, \"motoyama\": _2, \"muroto\": _2, \"nahari\": _2, \"nakamura\": _2, \"nankoku\": _2, \"nishitosa\": _2, \"niyodogawa\": _2, \"ochi\": _2, \"okawa\": _2, \"otoyo\": _2, \"otsuki\": _2, \"sakawa\": _2, \"sukumo\": _2, \"susaki\": _2, \"tosa\": _2, \"tosashimizu\": _2, \"toyo\": _2, \"tsuno\": _2, \"umaji\": _2, \"yasuda\": _2, \"yusuhara\": _2 }], \"kumamoto\": [1, { \"amakusa\": _2, \"arao\": _2, \"aso\": _2, \"choyo\": _2, \"gyokuto\": _2, \"kamiamakusa\": _2, \"kikuchi\": _2, \"kumamoto\": _2, \"mashiki\": _2, \"mifune\": _2, \"minamata\": _2, \"minamioguni\": _2, \"nagasu\": _2, \"nishihara\": _2, \"oguni\": _2, \"ozu\": _2, \"sumoto\": _2, \"takamori\": _2, \"uki\": _2, \"uto\": _2, \"yamaga\": _2, \"yamato\": _2, \"yatsushiro\": _2 }], \"kyoto\": [1, { \"ayabe\": _2, \"fukuchiyama\": _2, \"higashiyama\": _2, \"ide\": _2, \"ine\": _2, \"joyo\": _2, \"kameoka\": _2, \"kamo\": _2, \"kita\": _2, \"kizu\": _2, \"kumiyama\": _2, \"kyotamba\": _2, \"kyotanabe\": _2, \"kyotango\": _2, \"maizuru\": _2, \"minami\": _2, \"minamiyamashiro\": _2, \"miyazu\": _2, \"muko\": _2, \"nagaokakyo\": _2, \"nakagyo\": _2, \"nantan\": _2, \"oyamazaki\": _2, \"sakyo\": _2, \"seika\": _2, \"tanabe\": _2, \"uji\": _2, \"ujitawara\": _2, \"wazuka\": _2, \"yamashina\": _2, \"yawata\": _2 }], \"mie\": [1, { \"asahi\": _2, \"inabe\": _2, \"ise\": _2, \"kameyama\": _2, \"kawagoe\": _2, \"kiho\": _2, \"kisosaki\": _2, \"kiwa\": _2, \"komono\": _2, \"kumano\": _2, \"kuwana\": _2, \"matsusaka\": _2, \"meiwa\": _2, \"mihama\": _2, \"minamiise\": _2, \"misugi\": _2, \"miyama\": _2, \"nabari\": _2, \"shima\": _2, \"suzuka\": _2, \"tado\": _2, \"taiki\": _2, \"taki\": _2, \"tamaki\": _2, \"toba\": _2, \"tsu\": _2, \"udono\": _2, \"ureshino\": _2, \"watarai\": _2, \"yokkaichi\": _2 }], \"miyagi\": [1, { \"furukawa\": _2, \"higashimatsushima\": _2, \"ishinomaki\": _2, \"iwanuma\": _2, \"kakuda\": _2, \"kami\": _2, \"kawasaki\": _2, \"marumori\": _2, \"matsushima\": _2, \"minamisanriku\": _2, \"misato\": _2, \"murata\": _2, \"natori\": _2, \"ogawara\": _2, \"ohira\": _2, \"onagawa\": _2, \"osaki\": _2, \"rifu\": _2, \"semine\": _2, \"shibata\": _2, \"shichikashuku\": _2, \"shikama\": _2, \"shiogama\": _2, \"shiroishi\": _2, \"tagajo\": _2, \"taiwa\": _2, \"tome\": _2, \"tomiya\": _2, \"wakuya\": _2, \"watari\": _2, \"yamamoto\": _2, \"zao\": _2 }], \"miyazaki\": [1, { \"aya\": _2, \"ebino\": _2, \"gokase\": _2, \"hyuga\": _2, \"kadogawa\": _2, \"kawaminami\": _2, \"kijo\": _2, \"kitagawa\": _2, \"kitakata\": _2, \"kitaura\": _2, \"kobayashi\": _2, \"kunitomi\": _2, \"kushima\": _2, \"mimata\": _2, \"miyakonojo\": _2, \"miyazaki\": _2, \"morotsuka\": _2, \"nichinan\": _2, \"nishimera\": _2, \"nobeoka\": _2, \"saito\": _2, \"shiiba\": _2, \"shintomi\": _2, \"takaharu\": _2, \"takanabe\": _2, \"takazaki\": _2, \"tsuno\": _2 }], \"nagano\": [1, { \"achi\": _2, \"agematsu\": _2, \"anan\": _2, \"aoki\": _2, \"asahi\": _2, \"azumino\": _2, \"chikuhoku\": _2, \"chikuma\": _2, \"chino\": _2, \"fujimi\": _2, \"hakuba\": _2, \"hara\": _2, \"hiraya\": _2, \"iida\": _2, \"iijima\": _2, \"iiyama\": _2, \"iizuna\": _2, \"ikeda\": _2, \"ikusaka\": _2, \"ina\": _2, \"karuizawa\": _2, \"kawakami\": _2, \"kiso\": _2, \"kisofukushima\": _2, \"kitaaiki\": _2, \"komagane\": _2, \"komoro\": _2, \"matsukawa\": _2, \"matsumoto\": _2, \"miasa\": _2, \"minamiaiki\": _2, \"minamimaki\": _2, \"minamiminowa\": _2, \"minowa\": _2, \"miyada\": _2, \"miyota\": _2, \"mochizuki\": _2, \"nagano\": _2, \"nagawa\": _2, \"nagiso\": _2, \"nakagawa\": _2, \"nakano\": _2, \"nozawaonsen\": _2, \"obuse\": _2, \"ogawa\": _2, \"okaya\": _2, \"omachi\": _2, \"omi\": _2, \"ookuwa\": _2, \"ooshika\": _2, \"otaki\": _2, \"otari\": _2, \"sakae\": _2, \"sakaki\": _2, \"saku\": _2, \"sakuho\": _2, \"shimosuwa\": _2, \"shinanomachi\": _2, \"shiojiri\": _2, \"suwa\": _2, \"suzaka\": _2, \"takagi\": _2, \"takamori\": _2, \"takayama\": _2, \"tateshina\": _2, \"tatsuno\": _2, \"togakushi\": _2, \"togura\": _2, \"tomi\": _2, \"ueda\": _2, \"wada\": _2, \"yamagata\": _2, \"yamanouchi\": _2, \"yasaka\": _2, \"yasuoka\": _2 }], \"nagasaki\": [1, { \"chijiwa\": _2, \"futsu\": _2, \"goto\": _2, \"hasami\": _2, \"hirado\": _2, \"iki\": _2, \"isahaya\": _2, \"kawatana\": _2, \"kuchinotsu\": _2, \"matsuura\": _2, \"nagasaki\": _2, \"obama\": _2, \"omura\": _2, \"oseto\": _2, \"saikai\": _2, \"sasebo\": _2, \"seihi\": _2, \"shimabara\": _2, \"shinkamigoto\": _2, \"togitsu\": _2, \"tsushima\": _2, \"unzen\": _2 }], \"nara\": [1, { \"ando\": _2, \"gose\": _2, \"heguri\": _2, \"higashiyoshino\": _2, \"ikaruga\": _2, \"ikoma\": _2, \"kamikitayama\": _2, \"kanmaki\": _2, \"kashiba\": _2, \"kashihara\": _2, \"katsuragi\": _2, \"kawai\": _2, \"kawakami\": _2, \"kawanishi\": _2, \"koryo\": _2, \"kurotaki\": _2, \"mitsue\": _2, \"miyake\": _2, \"nara\": _2, \"nosegawa\": _2, \"oji\": _2, \"ouda\": _2, \"oyodo\": _2, \"sakurai\": _2, \"sango\": _2, \"shimoichi\": _2, \"shimokitayama\": _2, \"shinjo\": _2, \"soni\": _2, \"takatori\": _2, \"tawaramoto\": _2, \"tenkawa\": _2, \"tenri\": _2, \"uda\": _2, \"yamatokoriyama\": _2, \"yamatotakada\": _2, \"yamazoe\": _2, \"yoshino\": _2 }], \"niigata\": [1, { \"aga\": _2, \"agano\": _2, \"gosen\": _2, \"itoigawa\": _2, \"izumozaki\": _2, \"joetsu\": _2, \"kamo\": _2, \"kariwa\": _2, \"kashiwazaki\": _2, \"minamiuonuma\": _2, \"mitsuke\": _2, \"muika\": _2, \"murakami\": _2, \"myoko\": _2, \"nagaoka\": _2, \"niigata\": _2, \"ojiya\": _2, \"omi\": _2, \"sado\": _2, \"sanjo\": _2, \"seiro\": _2, \"seirou\": _2, \"sekikawa\": _2, \"shibata\": _2, \"tagami\": _2, \"tainai\": _2, \"tochio\": _2, \"tokamachi\": _2, \"tsubame\": _2, \"tsunan\": _2, \"uonuma\": _2, \"yahiko\": _2, \"yoita\": _2, \"yuzawa\": _2 }], \"oita\": [1, { \"beppu\": _2, \"bungoono\": _2, \"bungotakada\": _2, \"hasama\": _2, \"hiji\": _2, \"himeshima\": _2, \"hita\": _2, \"kamitsue\": _2, \"kokonoe\": _2, \"kuju\": _2, \"kunisaki\": _2, \"kusu\": _2, \"oita\": _2, \"saiki\": _2, \"taketa\": _2, \"tsukumi\": _2, \"usa\": _2, \"usuki\": _2, \"yufu\": _2 }], \"okayama\": [1, { \"akaiwa\": _2, \"asakuchi\": _2, \"bizen\": _2, \"hayashima\": _2, \"ibara\": _2, \"kagamino\": _2, \"kasaoka\": _2, \"kibichuo\": _2, \"kumenan\": _2, \"kurashiki\": _2, \"maniwa\": _2, \"misaki\": _2, \"nagi\": _2, \"niimi\": _2, \"nishiawakura\": _2, \"okayama\": _2, \"satosho\": _2, \"setouchi\": _2, \"shinjo\": _2, \"shoo\": _2, \"soja\": _2, \"takahashi\": _2, \"tamano\": _2, \"tsuyama\": _2, \"wake\": _2, \"yakage\": _2 }], \"okinawa\": [1, { \"aguni\": _2, \"ginowan\": _2, \"ginoza\": _2, \"gushikami\": _2, \"haebaru\": _2, \"higashi\": _2, \"hirara\": _2, \"iheya\": _2, \"ishigaki\": _2, \"ishikawa\": _2, \"itoman\": _2, \"izena\": _2, \"kadena\": _2, \"kin\": _2, \"kitadaito\": _2, \"kitanakagusuku\": _2, \"kumejima\": _2, \"kunigami\": _2, \"minamidaito\": _2, \"motobu\": _2, \"nago\": _2, \"naha\": _2, \"nakagusuku\": _2, \"nakijin\": _2, \"nanjo\": _2, \"nishihara\": _2, \"ogimi\": _2, \"okinawa\": _2, \"onna\": _2, \"shimoji\": _2, \"taketomi\": _2, \"tarama\": _2, \"tokashiki\": _2, \"tomigusuku\": _2, \"tonaki\": _2, \"urasoe\": _2, \"uruma\": _2, \"yaese\": _2, \"yomitan\": _2, \"yonabaru\": _2, \"yonaguni\": _2, \"zamami\": _2 }], \"osaka\": [1, { \"abeno\": _2, \"chihayaakasaka\": _2, \"chuo\": _2, \"daito\": _2, \"fujiidera\": _2, \"habikino\": _2, \"hannan\": _2, \"higashiosaka\": _2, \"higashisumiyoshi\": _2, \"higashiyodogawa\": _2, \"hirakata\": _2, \"ibaraki\": _2, \"ikeda\": _2, \"izumi\": _2, \"izumiotsu\": _2, \"izumisano\": _2, \"kadoma\": _2, \"kaizuka\": _2, \"kanan\": _2, \"kashiwara\": _2, \"katano\": _2, \"kawachinagano\": _2, \"kishiwada\": _2, \"kita\": _2, \"kumatori\": _2, \"matsubara\": _2, \"minato\": _2, \"minoh\": _2, \"misaki\": _2, \"moriguchi\": _2, \"neyagawa\": _2, \"nishi\": _2, \"nose\": _2, \"osakasayama\": _2, \"sakai\": _2, \"sayama\": _2, \"sennan\": _2, \"settsu\": _2, \"shijonawate\": _2, \"shimamoto\": _2, \"suita\": _2, \"tadaoka\": _2, \"taishi\": _2, \"tajiri\": _2, \"takaishi\": _2, \"takatsuki\": _2, \"tondabayashi\": _2, \"toyonaka\": _2, \"toyono\": _2, \"yao\": _2 }], \"saga\": [1, { \"ariake\": _2, \"arita\": _2, \"fukudomi\": _2, \"genkai\": _2, \"hamatama\": _2, \"hizen\": _2, \"imari\": _2, \"kamimine\": _2, \"kanzaki\": _2, \"karatsu\": _2, \"kashima\": _2, \"kitagata\": _2, \"kitahata\": _2, \"kiyama\": _2, \"kouhoku\": _2, \"kyuragi\": _2, \"nishiarita\": _2, \"ogi\": _2, \"omachi\": _2, \"ouchi\": _2, \"saga\": _2, \"shiroishi\": _2, \"taku\": _2, \"tara\": _2, \"tosu\": _2, \"yoshinogari\": _2 }], \"saitama\": [1, { \"arakawa\": _2, \"asaka\": _2, \"chichibu\": _2, \"fujimi\": _2, \"fujimino\": _2, \"fukaya\": _2, \"hanno\": _2, \"hanyu\": _2, \"hasuda\": _2, \"hatogaya\": _2, \"hatoyama\": _2, \"hidaka\": _2, \"higashichichibu\": _2, \"higashimatsuyama\": _2, \"honjo\": _2, \"ina\": _2, \"iruma\": _2, \"iwatsuki\": _2, \"kamiizumi\": _2, \"kamikawa\": _2, \"kamisato\": _2, \"kasukabe\": _2, \"kawagoe\": _2, \"kawaguchi\": _2, \"kawajima\": _2, \"kazo\": _2, \"kitamoto\": _2, \"koshigaya\": _2, \"kounosu\": _2, \"kuki\": _2, \"kumagaya\": _2, \"matsubushi\": _2, \"minano\": _2, \"misato\": _2, \"miyashiro\": _2, \"miyoshi\": _2, \"moroyama\": _2, \"nagatoro\": _2, \"namegawa\": _2, \"niiza\": _2, \"ogano\": _2, \"ogawa\": _2, \"ogose\": _2, \"okegawa\": _2, \"omiya\": _2, \"otaki\": _2, \"ranzan\": _2, \"ryokami\": _2, \"saitama\": _2, \"sakado\": _2, \"satte\": _2, \"sayama\": _2, \"shiki\": _2, \"shiraoka\": _2, \"soka\": _2, \"sugito\": _2, \"toda\": _2, \"tokigawa\": _2, \"tokorozawa\": _2, \"tsurugashima\": _2, \"urawa\": _2, \"warabi\": _2, \"yashio\": _2, \"yokoze\": _2, \"yono\": _2, \"yorii\": _2, \"yoshida\": _2, \"yoshikawa\": _2, \"yoshimi\": _2 }], \"shiga\": [1, { \"aisho\": _2, \"gamo\": _2, \"higashiomi\": _2, \"hikone\": _2, \"koka\": _2, \"konan\": _2, \"kosei\": _2, \"koto\": _2, \"kusatsu\": _2, \"maibara\": _2, \"moriyama\": _2, \"nagahama\": _2, \"nishiazai\": _2, \"notogawa\": _2, \"omihachiman\": _2, \"otsu\": _2, \"ritto\": _2, \"ryuoh\": _2, \"takashima\": _2, \"takatsuki\": _2, \"torahime\": _2, \"toyosato\": _2, \"yasu\": _2 }], \"shimane\": [1, { \"akagi\": _2, \"ama\": _2, \"gotsu\": _2, \"hamada\": _2, \"higashiizumo\": _2, \"hikawa\": _2, \"hikimi\": _2, \"izumo\": _2, \"kakinoki\": _2, \"masuda\": _2, \"matsue\": _2, \"misato\": _2, \"nishinoshima\": _2, \"ohda\": _2, \"okinoshima\": _2, \"okuizumo\": _2, \"shimane\": _2, \"tamayu\": _2, \"tsuwano\": _2, \"unnan\": _2, \"yakumo\": _2, \"yasugi\": _2, \"yatsuka\": _2 }], \"shizuoka\": [1, { \"arai\": _2, \"atami\": _2, \"fuji\": _2, \"fujieda\": _2, \"fujikawa\": _2, \"fujinomiya\": _2, \"fukuroi\": _2, \"gotemba\": _2, \"haibara\": _2, \"hamamatsu\": _2, \"higashiizu\": _2, \"ito\": _2, \"iwata\": _2, \"izu\": _2, \"izunokuni\": _2, \"kakegawa\": _2, \"kannami\": _2, \"kawanehon\": _2, \"kawazu\": _2, \"kikugawa\": _2, \"kosai\": _2, \"makinohara\": _2, \"matsuzaki\": _2, \"minamiizu\": _2, \"mishima\": _2, \"morimachi\": _2, \"nishiizu\": _2, \"numazu\": _2, \"omaezaki\": _2, \"shimada\": _2, \"shimizu\": _2, \"shimoda\": _2, \"shizuoka\": _2, \"susono\": _2, \"yaizu\": _2, \"yoshida\": _2 }], \"tochigi\": [1, { \"ashikaga\": _2, \"bato\": _2, \"haga\": _2, \"ichikai\": _2, \"iwafune\": _2, \"kaminokawa\": _2, \"kanuma\": _2, \"karasuyama\": _2, \"kuroiso\": _2, \"mashiko\": _2, \"mibu\": _2, \"moka\": _2, \"motegi\": _2, \"nasu\": _2, \"nasushiobara\": _2, \"nikko\": _2, \"nishikata\": _2, \"nogi\": _2, \"ohira\": _2, \"ohtawara\": _2, \"oyama\": _2, \"sakura\": _2, \"sano\": _2, \"shimotsuke\": _2, \"shioya\": _2, \"takanezawa\": _2, \"tochigi\": _2, \"tsuga\": _2, \"ujiie\": _2, \"utsunomiya\": _2, \"yaita\": _2 }], \"tokushima\": [1, { \"aizumi\": _2, \"anan\": _2, \"ichiba\": _2, \"itano\": _2, \"kainan\": _2, \"komatsushima\": _2, \"matsushige\": _2, \"mima\": _2, \"minami\": _2, \"miyoshi\": _2, \"mugi\": _2, \"nakagawa\": _2, \"naruto\": _2, \"sanagochi\": _2, \"shishikui\": _2, \"tokushima\": _2, \"wajiki\": _2 }], \"tokyo\": [1, { \"adachi\": _2, \"akiruno\": _2, \"akishima\": _2, \"aogashima\": _2, \"arakawa\": _2, \"bunkyo\": _2, \"chiyoda\": _2, \"chofu\": _2, \"chuo\": _2, \"edogawa\": _2, \"fuchu\": _2, \"fussa\": _2, \"hachijo\": _2, \"hachioji\": _2, \"hamura\": _2, \"higashikurume\": _2, \"higashimurayama\": _2, \"higashiyamato\": _2, \"hino\": _2, \"hinode\": _2, \"hinohara\": _2, \"inagi\": _2, \"itabashi\": _2, \"katsushika\": _2, \"kita\": _2, \"kiyose\": _2, \"kodaira\": _2, \"koganei\": _2, \"kokubunji\": _2, \"komae\": _2, \"koto\": _2, \"kouzushima\": _2, \"kunitachi\": _2, \"machida\": _2, \"meguro\": _2, \"minato\": _2, \"mitaka\": _2, \"mizuho\": _2, \"musashimurayama\": _2, \"musashino\": _2, \"nakano\": _2, \"nerima\": _2, \"ogasawara\": _2, \"okutama\": _2, \"ome\": _2, \"oshima\": _2, \"ota\": _2, \"setagaya\": _2, \"shibuya\": _2, \"shinagawa\": _2, \"shinjuku\": _2, \"suginami\": _2, \"sumida\": _2, \"tachikawa\": _2, \"taito\": _2, \"tama\": _2, \"toshima\": _2 }], \"tottori\": [1, { \"chizu\": _2, \"hino\": _2, \"kawahara\": _2, \"koge\": _2, \"kotoura\": _2, \"misasa\": _2, \"nanbu\": _2, \"nichinan\": _2, \"sakaiminato\": _2, \"tottori\": _2, \"wakasa\": _2, \"yazu\": _2, \"yonago\": _2 }], \"toyama\": [1, { \"asahi\": _2, \"fuchu\": _2, \"fukumitsu\": _2, \"funahashi\": _2, \"himi\": _2, \"imizu\": _2, \"inami\": _2, \"johana\": _2, \"kamiichi\": _2, \"kurobe\": _2, \"nakaniikawa\": _2, \"namerikawa\": _2, \"nanto\": _2, \"nyuzen\": _2, \"oyabe\": _2, \"taira\": _2, \"takaoka\": _2, \"tateyama\": _2, \"toga\": _2, \"tonami\": _2, \"toyama\": _2, \"unazuki\": _2, \"uozu\": _2, \"yamada\": _2 }], \"wakayama\": [1, { \"arida\": _2, \"aridagawa\": _2, \"gobo\": _2, \"hashimoto\": _2, \"hidaka\": _2, \"hirogawa\": _2, \"inami\": _2, \"iwade\": _2, \"kainan\": _2, \"kamitonda\": _2, \"katsuragi\": _2, \"kimino\": _2, \"kinokawa\": _2, \"kitayama\": _2, \"koya\": _2, \"koza\": _2, \"kozagawa\": _2, \"kudoyama\": _2, \"kushimoto\": _2, \"mihama\": _2, \"misato\": _2, \"nachikatsuura\": _2, \"shingu\": _2, \"shirahama\": _2, \"taiji\": _2, \"tanabe\": _2, \"wakayama\": _2, \"yuasa\": _2, \"yura\": _2 }], \"yamagata\": [1, { \"asahi\": _2, \"funagata\": _2, \"higashine\": _2, \"iide\": _2, \"kahoku\": _2, \"kaminoyama\": _2, \"kaneyama\": _2, \"kawanishi\": _2, \"mamurogawa\": _2, \"mikawa\": _2, \"murayama\": _2, \"nagai\": _2, \"nakayama\": _2, \"nanyo\": _2, \"nishikawa\": _2, \"obanazawa\": _2, \"oe\": _2, \"oguni\": _2, \"ohkura\": _2, \"oishida\": _2, \"sagae\": _2, \"sakata\": _2, \"sakegawa\": _2, \"shinjo\": _2, \"shirataka\": _2, \"shonai\": _2, \"takahata\": _2, \"tendo\": _2, \"tozawa\": _2, \"tsuruoka\": _2, \"yamagata\": _2, \"yamanobe\": _2, \"yonezawa\": _2, \"yuza\": _2 }], \"yamaguchi\": [1, { \"abu\": _2, \"hagi\": _2, \"hikari\": _2, \"hofu\": _2, \"iwakuni\": _2, \"kudamatsu\": _2, \"mitou\": _2, \"nagato\": _2, \"oshima\": _2, \"shimonoseki\": _2, \"shunan\": _2, \"tabuse\": _2, \"tokuyama\": _2, \"toyota\": _2, \"ube\": _2, \"yuu\": _2 }], \"yamanashi\": [1, { \"chuo\": _2, \"doshi\": _2, \"fuefuki\": _2, \"fujikawa\": _2, \"fujikawaguchiko\": _2, \"fujiyoshida\": _2, \"hayakawa\": _2, \"hokuto\": _2, \"ichikawamisato\": _2, \"kai\": _2, \"kofu\": _2, \"koshu\": _2, \"kosuge\": _2, \"minami-alps\": _2, \"minobu\": _2, \"nakamichi\": _2, \"nanbu\": _2, \"narusawa\": _2, \"nirasaki\": _2, \"nishikatsura\": _2, \"oshino\": _2, \"otsuki\": _2, \"showa\": _2, \"tabayama\": _2, \"tsuru\": _2, \"uenohara\": _2, \"yamanakako\": _2, \"yamanashi\": _2 }], \"xn--ehqz56n\": _2, \"三重\": _2, \"xn--1lqs03n\": _2, \"京都\": _2, \"xn--qqqt11m\": _2, \"佐賀\": _2, \"xn--f6qx53a\": _2, \"兵庫\": _2, \"xn--djrs72d6uy\": _2, \"北海道\": _2, \"xn--mkru45i\": _2, \"千葉\": _2, \"xn--0trq7p7nn\": _2, \"和歌山\": _2, \"xn--5js045d\": _2, \"埼玉\": _2, \"xn--kbrq7o\": _2, \"大分\": _2, \"xn--pssu33l\": _2, \"大阪\": _2, \"xn--ntsq17g\": _2, \"奈良\": _2, \"xn--uisz3g\": _2, \"宮城\": _2, \"xn--6btw5a\": _2, \"宮崎\": _2, \"xn--1ctwo\": _2, \"富山\": _2, \"xn--6orx2r\": _2, \"山口\": _2, \"xn--rht61e\": _2, \"山形\": _2, \"xn--rht27z\": _2, \"山梨\": _2, \"xn--nit225k\": _2, \"岐阜\": _2, \"xn--rht3d\": _2, \"岡山\": _2, \"xn--djty4k\": _2, \"岩手\": _2, \"xn--klty5x\": _2, \"島根\": _2, \"xn--kltx9a\": _2, \"広島\": _2, \"xn--kltp7d\": _2, \"徳島\": _2, \"xn--c3s14m\": _2, \"愛媛\": _2, \"xn--vgu402c\": _2, \"愛知\": _2, \"xn--efvn9s\": _2, \"新潟\": _2, \"xn--1lqs71d\": _2, \"東京\": _2, \"xn--4pvxs\": _2, \"栃木\": _2, \"xn--uuwu58a\": _2, \"沖縄\": _2, \"xn--zbx025d\": _2, \"滋賀\": _2, \"xn--8pvr4u\": _2, \"熊本\": _2, \"xn--5rtp49c\": _2, \"石川\": _2, \"xn--ntso0iqx3a\": _2, \"神奈川\": _2, \"xn--elqq16h\": _2, \"福井\": _2, \"xn--4it168d\": _2, \"福岡\": _2, \"xn--klt787d\": _2, \"福島\": _2, \"xn--rny31h\": _2, \"秋田\": _2, \"xn--7t0a264c\": _2, \"群馬\": _2, \"xn--uist22h\": _2, \"茨城\": _2, \"xn--8ltr62k\": _2, \"長崎\": _2, \"xn--2m4a15e\": _2, \"長野\": _2, \"xn--32vp30h\": _2, \"青森\": _2, \"xn--4it797k\": _2, \"静岡\": _2, \"xn--5rtq34k\": _2, \"香川\": _2, \"xn--k7yn95e\": _2, \"高知\": _2, \"xn--tor131o\": _2, \"鳥取\": _2, \"xn--d5qv7z876c\": _2, \"鹿児島\": _2, \"kawasaki\": _21, \"kitakyushu\": _21, \"kobe\": _21, \"nagoya\": _21, \"sapporo\": _21, \"sendai\": _21, \"yokohama\": _21, \"buyshop\": _3, \"fashionstore\": _3, \"handcrafted\": _3, \"kawaiishop\": _3, \"supersale\": _3, \"theshop\": _3, \"0am\": _3, \"0g0\": _3, \"0j0\": _3, \"0t0\": _3, \"mydns\": _3, \"pgw\": _3, \"wjg\": _3, \"usercontent\": _3, \"angry\": _3, \"babyblue\": _3, \"babymilk\": _3, \"backdrop\": _3, \"bambina\": _3, \"bitter\": _3, \"blush\": _3, \"boo\": _3, \"boy\": _3, \"boyfriend\": _3, \"but\": _3, \"candypop\": _3, \"capoo\": _3, \"catfood\": _3, \"cheap\": _3, \"chicappa\": _3, \"chillout\": _3, \"chips\": _3, \"chowder\": _3, \"chu\": _3, \"ciao\": _3, \"cocotte\": _3, \"coolblog\": _3, \"cranky\": _3, \"cutegirl\": _3, \"daa\": _3, \"deca\": _3, \"deci\": _3, \"digick\": _3, \"egoism\": _3, \"fakefur\": _3, \"fem\": _3, \"flier\": _3, \"floppy\": _3, \"fool\": _3, \"frenchkiss\": _3, \"girlfriend\": _3, \"girly\": _3, \"gloomy\": _3, \"gonna\": _3, \"greater\": _3, \"hacca\": _3, \"heavy\": _3, \"her\": _3, \"hiho\": _3, \"hippy\": _3, \"holy\": _3, \"hungry\": _3, \"icurus\": _3, \"itigo\": _3, \"jellybean\": _3, \"kikirara\": _3, \"kill\": _3, \"kilo\": _3, \"kuron\": _3, \"littlestar\": _3, \"lolipopmc\": _3, \"lolitapunk\": _3, \"lomo\": _3, \"lovepop\": _3, \"lovesick\": _3, \"main\": _3, \"mods\": _3, \"mond\": _3, \"mongolian\": _3, \"moo\": _3, \"namaste\": _3, \"nikita\": _3, \"nobushi\": _3, \"noor\": _3, \"oops\": _3, \"parallel\": _3, \"parasite\": _3, \"pecori\": _3, \"peewee\": _3, \"penne\": _3, \"pepper\": _3, \"perma\": _3, \"pigboat\": _3, \"pinoko\": _3, \"punyu\": _3, \"pupu\": _3, \"pussycat\": _3, \"pya\": _3, \"raindrop\": _3, \"readymade\": _3, \"sadist\": _3, \"schoolbus\": _3, \"secret\": _3, \"staba\": _3, \"stripper\": _3, \"sub\": _3, \"sunnyday\": _3, \"thick\": _3, \"tonkotsu\": _3, \"under\": _3, \"upper\": _3, \"velvet\": _3, \"verse\": _3, \"versus\": _3, \"vivian\": _3, \"watson\": _3, \"weblike\": _3, \"whitesnow\": _3, \"zombie\": _3, \"hateblo\": _3, \"hatenablog\": _3, \"hatenadiary\": _3, \"2-d\": _3, \"bona\": _3, \"crap\": _3, \"daynight\": _3, \"eek\": _3, \"flop\": _3, \"halfmoon\": _3, \"jeez\": _3, \"matrix\": _3, \"mimoza\": _3, \"netgamers\": _3, \"nyanta\": _3, \"o0o0\": _3, \"rdy\": _3, \"rgr\": _3, \"rulez\": _3, \"sakurastorage\": [0, { \"isk01\": _60, \"isk02\": _60 }], \"saloon\": _3, \"sblo\": _3, \"skr\": _3, \"tank\": _3, \"uh-oh\": _3, \"undo\": _3, \"webaccel\": [0, { \"rs\": _3, \"user\": _3 }], \"websozai\": _3, \"xii\": _3 }], \"ke\": [1, { \"ac\": _2, \"co\": _2, \"go\": _2, \"info\": _2, \"me\": _2, \"mobi\": _2, \"ne\": _2, \"or\": _2, \"sc\": _2 }], \"kg\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"us\": _3, \"xx\": _3, \"ae\": _3 }], \"kh\": _4, \"ki\": _61, \"km\": [1, { \"ass\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"nom\": _2, \"org\": _2, \"prd\": _2, \"tm\": _2, \"asso\": _2, \"coop\": _2, \"gouv\": _2, \"medecin\": _2, \"notaires\": _2, \"pharmaciens\": _2, \"presse\": _2, \"veterinaire\": _2 }], \"kn\": [1, { \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], \"kp\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"org\": _2, \"rep\": _2, \"tra\": _2 }], \"kr\": [1, { \"ac\": _2, \"ai\": _2, \"co\": _2, \"es\": _2, \"go\": _2, \"hs\": _2, \"io\": _2, \"it\": _2, \"kg\": _2, \"me\": _2, \"mil\": _2, \"ms\": _2, \"ne\": _2, \"or\": _2, \"pe\": _2, \"re\": _2, \"sc\": _2, \"busan\": _2, \"chungbuk\": _2, \"chungnam\": _2, \"daegu\": _2, \"daejeon\": _2, \"gangwon\": _2, \"gwangju\": _2, \"gyeongbuk\": _2, \"gyeonggi\": _2, \"gyeongnam\": _2, \"incheon\": _2, \"jeju\": _2, \"jeonbuk\": _2, \"jeonnam\": _2, \"seoul\": _2, \"ulsan\": _2, \"c01\": _3, \"eliv-api\": _3, \"eliv-cdn\": _3, \"eliv-dns\": _3, \"mmv\": _3, \"vki\": _3 }], \"kw\": [1, { \"com\": _2, \"edu\": _2, \"emb\": _2, \"gov\": _2, \"ind\": _2, \"net\": _2, \"org\": _2 }], \"ky\": _48, \"kz\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"jcloud\": _3 }], \"la\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"int\": _2, \"net\": _2, \"org\": _2, \"per\": _2, \"bnr\": _3 }], \"lb\": _4, \"lc\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"oy\": _3 }], \"li\": _2, \"lk\": [1, { \"ac\": _2, \"assn\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"grp\": _2, \"hotel\": _2, \"int\": _2, \"ltd\": _2, \"net\": _2, \"ngo\": _2, \"org\": _2, \"sch\": _2, \"soc\": _2, \"web\": _2 }], \"lr\": _4, \"ls\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"net\": _2, \"org\": _2, \"sc\": _2 }], \"lt\": _10, \"lu\": [1, { \"123website\": _3 }], \"lv\": [1, { \"asn\": _2, \"com\": _2, \"conf\": _2, \"edu\": _2, \"gov\": _2, \"id\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"ly\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"id\": _2, \"med\": _2, \"net\": _2, \"org\": _2, \"plc\": _2, \"sch\": _2 }], \"ma\": [1, { \"ac\": _2, \"co\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"press\": _2 }], \"mc\": [1, { \"asso\": _2, \"tm\": _2 }], \"md\": [1, { \"ir\": _3 }], \"me\": [1, { \"ac\": _2, \"co\": _2, \"edu\": _2, \"gov\": _2, \"its\": _2, \"net\": _2, \"org\": _2, \"priv\": _2, \"c66\": _3, \"craft\": _3, \"edgestack\": _3, \"mybox\": _3, \"filegear\": _3, \"filegear-sg\": _3, \"lohmus\": _3, \"barsy\": _3, \"mcdir\": _3, \"brasilia\": _3, \"ddns\": _3, \"dnsfor\": _3, \"hopto\": _3, \"loginto\": _3, \"noip\": _3, \"webhop\": _3, \"soundcast\": _3, \"tcp4\": _3, \"vp4\": _3, \"diskstation\": _3, \"dscloud\": _3, \"i234\": _3, \"myds\": _3, \"synology\": _3, \"transip\": _47, \"nohost\": _3 }], \"mg\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"nom\": _2, \"org\": _2, \"prd\": _2 }], \"mh\": _2, \"mil\": _2, \"mk\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"inf\": _2, \"name\": _2, \"net\": _2, \"org\": _2 }], \"ml\": [1, { \"ac\": _2, \"art\": _2, \"asso\": _2, \"com\": _2, \"edu\": _2, \"gouv\": _2, \"gov\": _2, \"info\": _2, \"inst\": _2, \"net\": _2, \"org\": _2, \"pr\": _2, \"presse\": _2 }], \"mm\": _21, \"mn\": [1, { \"edu\": _2, \"gov\": _2, \"org\": _2, \"nyc\": _3 }], \"mo\": _4, \"mobi\": [1, { \"barsy\": _3, \"dscloud\": _3 }], \"mp\": [1, { \"ju\": _3 }], \"mq\": _2, \"mr\": _10, \"ms\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"minisite\": _3 }], \"mt\": _48, \"mu\": [1, { \"ac\": _2, \"co\": _2, \"com\": _2, \"gov\": _2, \"net\": _2, \"or\": _2, \"org\": _2 }], \"museum\": _2, \"mv\": [1, { \"aero\": _2, \"biz\": _2, \"com\": _2, \"coop\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"int\": _2, \"mil\": _2, \"museum\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pro\": _2 }], \"mw\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"com\": _2, \"coop\": _2, \"edu\": _2, \"gov\": _2, \"int\": _2, \"net\": _2, \"org\": _2 }], \"mx\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"net\": _2, \"org\": _2 }], \"my\": [1, { \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2 }], \"mz\": [1, { \"ac\": _2, \"adv\": _2, \"co\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"na\": [1, { \"alt\": _2, \"co\": _2, \"com\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], \"name\": [1, { \"her\": _64, \"his\": _64, \"ispmanager\": _3, \"keenetic\": _3 }], \"nc\": [1, { \"asso\": _2, \"nom\": _2 }], \"ne\": _2, \"net\": [1, { \"adobeaemcloud\": _3, \"adobeio-static\": _3, \"adobeioruntime\": _3, \"akadns\": _3, \"akamai\": _3, \"akamai-staging\": _3, \"akamaiedge\": _3, \"akamaiedge-staging\": _3, \"akamaihd\": _3, \"akamaihd-staging\": _3, \"akamaiorigin\": _3, \"akamaiorigin-staging\": _3, \"akamaized\": _3, \"akamaized-staging\": _3, \"edgekey\": _3, \"edgekey-staging\": _3, \"edgesuite\": _3, \"edgesuite-staging\": _3, \"alwaysdata\": _3, \"myamaze\": _3, \"cloudfront\": _3, \"appudo\": _3, \"atlassian-dev\": [0, { \"prod\": _56 }], \"myfritz\": _3, \"shopselect\": _3, \"blackbaudcdn\": _3, \"boomla\": _3, \"bplaced\": _3, \"square7\": _3, \"cdn77\": [0, { \"r\": _3 }], \"cdn77-ssl\": _3, \"gb\": _3, \"hu\": _3, \"jp\": _3, \"se\": _3, \"uk\": _3, \"clickrising\": _3, \"ddns-ip\": _3, \"dns-cloud\": _3, \"dns-dynamic\": _3, \"cloudaccess\": _3, \"cloudflare\": [2, { \"cdn\": _3 }], \"cloudflareanycast\": _56, \"cloudflarecn\": _56, \"cloudflareglobal\": _56, \"ctfcloud\": _3, \"feste-ip\": _3, \"knx-server\": _3, \"static-access\": _3, \"cryptonomic\": _6, \"dattolocal\": _3, \"mydatto\": _3, \"debian\": _3, \"definima\": _3, \"deno\": [2, { \"sandbox\": _3 }], \"icp\": _6, \"de5\": _3, \"at-band-camp\": _3, \"blogdns\": _3, \"broke-it\": _3, \"buyshouses\": _3, \"dnsalias\": _3, \"dnsdojo\": _3, \"does-it\": _3, \"dontexist\": _3, \"dynalias\": _3, \"dynathome\": _3, \"endofinternet\": _3, \"from-az\": _3, \"from-co\": _3, \"from-la\": _3, \"from-ny\": _3, \"gets-it\": _3, \"ham-radio-op\": _3, \"homeftp\": _3, \"homeip\": _3, \"homelinux\": _3, \"homeunix\": _3, \"in-the-band\": _3, \"is-a-chef\": _3, \"is-a-geek\": _3, \"isa-geek\": _3, \"kicks-ass\": _3, \"office-on-the\": _3, \"podzone\": _3, \"scrapper-site\": _3, \"selfip\": _3, \"sells-it\": _3, \"servebbs\": _3, \"serveftp\": _3, \"thruhere\": _3, \"webhop\": _3, \"casacam\": _3, \"dynu\": _3, \"dynuddns\": _3, \"mysynology\": _3, \"opik\": _3, \"spryt\": _3, \"dynv6\": _3, \"twmail\": _3, \"ru\": _3, \"channelsdvr\": [2, { \"u\": _3 }], \"fastly\": [0, { \"freetls\": _3, \"map\": _3, \"prod\": [0, { \"a\": _3, \"global\": _3 }], \"ssl\": [0, { \"a\": _3, \"b\": _3, \"global\": _3 }] }], \"fastlylb\": [2, { \"map\": _3 }], \"keyword-on\": _3, \"live-on\": _3, \"server-on\": _3, \"cdn-edges\": _3, \"heteml\": _3, \"cloudfunctions\": _3, \"grafana-dev\": _3, \"iobb\": _3, \"moonscale\": _3, \"in-dsl\": _3, \"in-vpn\": _3, \"oninferno\": _3, \"botdash\": _3, \"apps-1and1\": _3, \"ipifony\": _3, \"cloudjiffy\": [2, { \"fra1-de\": _3, \"west1-us\": _3 }], \"elastx\": [0, { \"jls-sto1\": _3, \"jls-sto2\": _3, \"jls-sto3\": _3 }], \"massivegrid\": [0, { \"paas\": [0, { \"fr-1\": _3, \"lon-1\": _3, \"lon-2\": _3, \"ny-1\": _3, \"ny-2\": _3, \"sg-1\": _3 }] }], \"saveincloud\": [0, { \"jelastic\": _3, \"nordeste-idc\": _3 }], \"scaleforce\": _49, \"kinghost\": _3, \"uni5\": _3, \"krellian\": _3, \"ggff\": _3, \"localto\": _6, \"barsy\": _3, \"luyani\": _3, \"memset\": _3, \"azure-api\": _3, \"azure-mobile\": _3, \"azureedge\": _3, \"azurefd\": _3, \"azurestaticapps\": [2, { \"1\": _3, \"2\": _3, \"3\": _3, \"4\": _3, \"5\": _3, \"6\": _3, \"7\": _3, \"centralus\": _3, \"eastasia\": _3, \"eastus2\": _3, \"westeurope\": _3, \"westus2\": _3 }], \"azurewebsites\": _3, \"cloudapp\": _3, \"trafficmanager\": _3, \"usgovcloudapi\": _66, \"usgovcloudapp\": _3, \"usgovtrafficmanager\": _3, \"windows\": _66, \"mynetname\": [0, { \"sn\": _3 }], \"routingthecloud\": _3, \"bounceme\": _3, \"ddns\": _3, \"eating-organic\": _3, \"mydissent\": _3, \"myeffect\": _3, \"mymediapc\": _3, \"mypsx\": _3, \"mysecuritycamera\": _3, \"nhlfan\": _3, \"no-ip\": _3, \"pgafan\": _3, \"privatizehealthinsurance\": _3, \"redirectme\": _3, \"serveblog\": _3, \"serveminecraft\": _3, \"sytes\": _3, \"dnsup\": _3, \"hicam\": _3, \"now-dns\": _3, \"ownip\": _3, \"vpndns\": _3, \"cloudycluster\": _3, \"ovh\": [0, { \"hosting\": _6, \"webpaas\": _6 }], \"rackmaze\": _3, \"myradweb\": _3, \"in\": _3, \"subsc-pay\": _3, \"squares\": _3, \"schokokeks\": _3, \"firewall-gateway\": _3, \"seidat\": _3, \"senseering\": _3, \"siteleaf\": _3, \"mafelo\": _3, \"myspreadshop\": _3, \"vps-host\": [2, { \"jelastic\": [0, { \"atl\": _3, \"njs\": _3, \"ric\": _3 }] }], \"srcf\": [0, { \"soc\": _3, \"user\": _3 }], \"supabase\": _3, \"dsmynas\": _3, \"familyds\": _3, \"ts\": [2, { \"c\": _6 }], \"torproject\": [2, { \"pages\": _3 }], \"tunnelmole\": _3, \"vusercontent\": _3, \"reserve-online\": _3, \"localcert\": _3, \"community-pro\": _3, \"meinforum\": _3, \"yandexcloud\": [2, { \"storage\": _3, \"website\": _3 }], \"za\": _3, \"zabc\": _3 }], \"nf\": [1, { \"arts\": _2, \"com\": _2, \"firm\": _2, \"info\": _2, \"net\": _2, \"other\": _2, \"per\": _2, \"rec\": _2, \"store\": _2, \"web\": _2 }], \"ng\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"i\": _2, \"mil\": _2, \"mobi\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"sch\": _2, \"biz\": [2, { \"co\": _3, \"dl\": _3, \"go\": _3, \"lg\": _3, \"on\": _3 }], \"col\": _3, \"firm\": _3, \"gen\": _3, \"ltd\": _3, \"ngo\": _3, \"plc\": _3 }], \"ni\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gob\": _2, \"in\": _2, \"info\": _2, \"int\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"web\": _2 }], \"nl\": [1, { \"co\": _3, \"hosting-cluster\": _3, \"gov\": _3, \"khplay\": _3, \"123website\": _3, \"myspreadshop\": _3, \"transurl\": _6, \"cistron\": _3, \"demon\": _3 }], \"no\": [1, { \"fhs\": _2, \"folkebibl\": _2, \"fylkesbibl\": _2, \"idrett\": _2, \"museum\": _2, \"priv\": _2, \"vgs\": _2, \"dep\": _2, \"herad\": _2, \"kommune\": _2, \"mil\": _2, \"stat\": _2, \"aa\": _67, \"ah\": _67, \"bu\": _67, \"fm\": _67, \"hl\": _67, \"hm\": _67, \"jan-mayen\": _67, \"mr\": _67, \"nl\": _67, \"nt\": _67, \"of\": _67, \"ol\": _67, \"oslo\": _67, \"rl\": _67, \"sf\": _67, \"st\": _67, \"svalbard\": _67, \"tm\": _67, \"tr\": _67, \"va\": _67, \"vf\": _67, \"akrehamn\": _2, \"xn--krehamn-dxa\": _2, \"åkrehamn\": _2, \"algard\": _2, \"xn--lgrd-poac\": _2, \"ålgård\": _2, \"arna\": _2, \"bronnoysund\": _2, \"xn--brnnysund-m8ac\": _2, \"brønnøysund\": _2, \"brumunddal\": _2, \"bryne\": _2, \"drobak\": _2, \"xn--drbak-wua\": _2, \"drøbak\": _2, \"egersund\": _2, \"fetsund\": _2, \"floro\": _2, \"xn--flor-jra\": _2, \"florø\": _2, \"fredrikstad\": _2, \"hokksund\": _2, \"honefoss\": _2, \"xn--hnefoss-q1a\": _2, \"hønefoss\": _2, \"jessheim\": _2, \"jorpeland\": _2, \"xn--jrpeland-54a\": _2, \"jørpeland\": _2, \"kirkenes\": _2, \"kopervik\": _2, \"krokstadelva\": _2, \"langevag\": _2, \"xn--langevg-jxa\": _2, \"langevåg\": _2, \"leirvik\": _2, \"mjondalen\": _2, \"xn--mjndalen-64a\": _2, \"mjøndalen\": _2, \"mo-i-rana\": _2, \"mosjoen\": _2, \"xn--mosjen-eya\": _2, \"mosjøen\": _2, \"nesoddtangen\": _2, \"orkanger\": _2, \"osoyro\": _2, \"xn--osyro-wua\": _2, \"osøyro\": _2, \"raholt\": _2, \"xn--rholt-mra\": _2, \"råholt\": _2, \"sandnessjoen\": _2, \"xn--sandnessjen-ogb\": _2, \"sandnessjøen\": _2, \"skedsmokorset\": _2, \"slattum\": _2, \"spjelkavik\": _2, \"stathelle\": _2, \"stavern\": _2, \"stjordalshalsen\": _2, \"xn--stjrdalshalsen-sqb\": _2, \"stjørdalshalsen\": _2, \"tananger\": _2, \"tranby\": _2, \"vossevangen\": _2, \"aarborte\": _2, \"aejrie\": _2, \"afjord\": _2, \"xn--fjord-lra\": _2, \"åfjord\": _2, \"agdenes\": _2, \"akershus\": _68, \"aknoluokta\": _2, \"xn--koluokta-7ya57h\": _2, \"ákŋoluokta\": _2, \"al\": _2, \"xn--l-1fa\": _2, \"ål\": _2, \"alaheadju\": _2, \"xn--laheadju-7ya\": _2, \"álaheadju\": _2, \"alesund\": _2, \"xn--lesund-hua\": _2, \"ålesund\": _2, \"alstahaug\": _2, \"alta\": _2, \"xn--lt-liac\": _2, \"áltá\": _2, \"alvdal\": _2, \"amli\": _2, \"xn--mli-tla\": _2, \"åmli\": _2, \"amot\": _2, \"xn--mot-tla\": _2, \"åmot\": _2, \"andasuolo\": _2, \"andebu\": _2, \"andoy\": _2, \"xn--andy-ira\": _2, \"andøy\": _2, \"ardal\": _2, \"xn--rdal-poa\": _2, \"årdal\": _2, \"aremark\": _2, \"arendal\": _2, \"xn--s-1fa\": _2, \"ås\": _2, \"aseral\": _2, \"xn--seral-lra\": _2, \"åseral\": _2, \"asker\": _2, \"askim\": _2, \"askoy\": _2, \"xn--asky-ira\": _2, \"askøy\": _2, \"askvoll\": _2, \"asnes\": _2, \"xn--snes-poa\": _2, \"åsnes\": _2, \"audnedaln\": _2, \"aukra\": _2, \"aure\": _2, \"aurland\": _2, \"aurskog-holand\": _2, \"xn--aurskog-hland-jnb\": _2, \"aurskog-høland\": _2, \"austevoll\": _2, \"austrheim\": _2, \"averoy\": _2, \"xn--avery-yua\": _2, \"averøy\": _2, \"badaddja\": _2, \"xn--bdddj-mrabd\": _2, \"bådåddjå\": _2, \"xn--brum-voa\": _2, \"bærum\": _2, \"bahcavuotna\": _2, \"xn--bhcavuotna-s4a\": _2, \"báhcavuotna\": _2, \"bahccavuotna\": _2, \"xn--bhccavuotna-k7a\": _2, \"báhccavuotna\": _2, \"baidar\": _2, \"xn--bidr-5nac\": _2, \"báidár\": _2, \"bajddar\": _2, \"xn--bjddar-pta\": _2, \"bájddar\": _2, \"balat\": _2, \"xn--blt-elab\": _2, \"bálát\": _2, \"balestrand\": _2, \"ballangen\": _2, \"balsfjord\": _2, \"bamble\": _2, \"bardu\": _2, \"barum\": _2, \"batsfjord\": _2, \"xn--btsfjord-9za\": _2, \"båtsfjord\": _2, \"bearalvahki\": _2, \"xn--bearalvhki-y4a\": _2, \"bearalváhki\": _2, \"beardu\": _2, \"beiarn\": _2, \"berg\": _2, \"bergen\": _2, \"berlevag\": _2, \"xn--berlevg-jxa\": _2, \"berlevåg\": _2, \"bievat\": _2, \"xn--bievt-0qa\": _2, \"bievát\": _2, \"bindal\": _2, \"birkenes\": _2, \"bjerkreim\": _2, \"bjugn\": _2, \"bodo\": _2, \"xn--bod-2na\": _2, \"bodø\": _2, \"bokn\": _2, \"bomlo\": _2, \"xn--bmlo-gra\": _2, \"bømlo\": _2, \"bremanger\": _2, \"bronnoy\": _2, \"xn--brnny-wuac\": _2, \"brønnøy\": _2, \"budejju\": _2, \"buskerud\": _68, \"bygland\": _2, \"bykle\": _2, \"cahcesuolo\": _2, \"xn--hcesuolo-7ya35b\": _2, \"čáhcesuolo\": _2, \"davvenjarga\": _2, \"xn--davvenjrga-y4a\": _2, \"davvenjárga\": _2, \"davvesiida\": _2, \"deatnu\": _2, \"dielddanuorri\": _2, \"divtasvuodna\": _2, \"divttasvuotna\": _2, \"donna\": _2, \"xn--dnna-gra\": _2, \"dønna\": _2, \"dovre\": _2, \"drammen\": _2, \"drangedal\": _2, \"dyroy\": _2, \"xn--dyry-ira\": _2, \"dyrøy\": _2, \"eid\": _2, \"eidfjord\": _2, \"eidsberg\": _2, \"eidskog\": _2, \"eidsvoll\": _2, \"eigersund\": _2, \"elverum\": _2, \"enebakk\": _2, \"engerdal\": _2, \"etne\": _2, \"etnedal\": _2, \"evenassi\": _2, \"xn--eveni-0qa01ga\": _2, \"evenášši\": _2, \"evenes\": _2, \"evje-og-hornnes\": _2, \"farsund\": _2, \"fauske\": _2, \"fedje\": _2, \"fet\": _2, \"finnoy\": _2, \"xn--finny-yua\": _2, \"finnøy\": _2, \"fitjar\": _2, \"fjaler\": _2, \"fjell\": _2, \"fla\": _2, \"xn--fl-zia\": _2, \"flå\": _2, \"flakstad\": _2, \"flatanger\": _2, \"flekkefjord\": _2, \"flesberg\": _2, \"flora\": _2, \"folldal\": _2, \"forde\": _2, \"xn--frde-gra\": _2, \"førde\": _2, \"forsand\": _2, \"fosnes\": _2, \"xn--frna-woa\": _2, \"fræna\": _2, \"frana\": _2, \"frei\": _2, \"frogn\": _2, \"froland\": _2, \"frosta\": _2, \"froya\": _2, \"xn--frya-hra\": _2, \"frøya\": _2, \"fuoisku\": _2, \"fuossko\": _2, \"fusa\": _2, \"fyresdal\": _2, \"gaivuotna\": _2, \"xn--givuotna-8ya\": _2, \"gáivuotna\": _2, \"galsa\": _2, \"xn--gls-elac\": _2, \"gálsá\": _2, \"gamvik\": _2, \"gangaviika\": _2, \"xn--ggaviika-8ya47h\": _2, \"gáŋgaviika\": _2, \"gaular\": _2, \"gausdal\": _2, \"giehtavuoatna\": _2, \"gildeskal\": _2, \"xn--gildeskl-g0a\": _2, \"gildeskål\": _2, \"giske\": _2, \"gjemnes\": _2, \"gjerdrum\": _2, \"gjerstad\": _2, \"gjesdal\": _2, \"gjovik\": _2, \"xn--gjvik-wua\": _2, \"gjøvik\": _2, \"gloppen\": _2, \"gol\": _2, \"gran\": _2, \"grane\": _2, \"granvin\": _2, \"gratangen\": _2, \"grimstad\": _2, \"grong\": _2, \"grue\": _2, \"gulen\": _2, \"guovdageaidnu\": _2, \"ha\": _2, \"xn--h-2fa\": _2, \"hå\": _2, \"habmer\": _2, \"xn--hbmer-xqa\": _2, \"hábmer\": _2, \"hadsel\": _2, \"xn--hgebostad-g3a\": _2, \"hægebostad\": _2, \"hagebostad\": _2, \"halden\": _2, \"halsa\": _2, \"hamar\": _2, \"hamaroy\": _2, \"hammarfeasta\": _2, \"xn--hmmrfeasta-s4ac\": _2, \"hámmárfeasta\": _2, \"hammerfest\": _2, \"hapmir\": _2, \"xn--hpmir-xqa\": _2, \"hápmir\": _2, \"haram\": _2, \"hareid\": _2, \"harstad\": _2, \"hasvik\": _2, \"hattfjelldal\": _2, \"haugesund\": _2, \"hedmark\": [0, { \"os\": _2, \"valer\": _2, \"xn--vler-qoa\": _2, \"våler\": _2 }], \"hemne\": _2, \"hemnes\": _2, \"hemsedal\": _2, \"hitra\": _2, \"hjartdal\": _2, \"hjelmeland\": _2, \"hobol\": _2, \"xn--hobl-ira\": _2, \"hobøl\": _2, \"hof\": _2, \"hol\": _2, \"hole\": _2, \"holmestrand\": _2, \"holtalen\": _2, \"xn--holtlen-hxa\": _2, \"holtålen\": _2, \"hordaland\": [0, { \"os\": _2 }], \"hornindal\": _2, \"horten\": _2, \"hoyanger\": _2, \"xn--hyanger-q1a\": _2, \"høyanger\": _2, \"hoylandet\": _2, \"xn--hylandet-54a\": _2, \"høylandet\": _2, \"hurdal\": _2, \"hurum\": _2, \"hvaler\": _2, \"hyllestad\": _2, \"ibestad\": _2, \"inderoy\": _2, \"xn--indery-fya\": _2, \"inderøy\": _2, \"iveland\": _2, \"ivgu\": _2, \"jevnaker\": _2, \"jolster\": _2, \"xn--jlster-bya\": _2, \"jølster\": _2, \"jondal\": _2, \"kafjord\": _2, \"xn--kfjord-iua\": _2, \"kåfjord\": _2, \"karasjohka\": _2, \"xn--krjohka-hwab49j\": _2, \"kárášjohka\": _2, \"karasjok\": _2, \"karlsoy\": _2, \"karmoy\": _2, \"xn--karmy-yua\": _2, \"karmøy\": _2, \"kautokeino\": _2, \"klabu\": _2, \"xn--klbu-woa\": _2, \"klæbu\": _2, \"klepp\": _2, \"kongsberg\": _2, \"kongsvinger\": _2, \"kraanghke\": _2, \"xn--kranghke-b0a\": _2, \"kråanghke\": _2, \"kragero\": _2, \"xn--krager-gya\": _2, \"kragerø\": _2, \"kristiansand\": _2, \"kristiansund\": _2, \"krodsherad\": _2, \"xn--krdsherad-m8a\": _2, \"krødsherad\": _2, \"xn--kvfjord-nxa\": _2, \"kvæfjord\": _2, \"xn--kvnangen-k0a\": _2, \"kvænangen\": _2, \"kvafjord\": _2, \"kvalsund\": _2, \"kvam\": _2, \"kvanangen\": _2, \"kvinesdal\": _2, \"kvinnherad\": _2, \"kviteseid\": _2, \"kvitsoy\": _2, \"xn--kvitsy-fya\": _2, \"kvitsøy\": _2, \"laakesvuemie\": _2, \"xn--lrdal-sra\": _2, \"lærdal\": _2, \"lahppi\": _2, \"xn--lhppi-xqa\": _2, \"láhppi\": _2, \"lardal\": _2, \"larvik\": _2, \"lavagis\": _2, \"lavangen\": _2, \"leangaviika\": _2, \"xn--leagaviika-52b\": _2, \"leaŋgaviika\": _2, \"lebesby\": _2, \"leikanger\": _2, \"leirfjord\": _2, \"leka\": _2, \"leksvik\": _2, \"lenvik\": _2, \"lerdal\": _2, \"lesja\": _2, \"levanger\": _2, \"lier\": _2, \"lierne\": _2, \"lillehammer\": _2, \"lillesand\": _2, \"lindas\": _2, \"xn--linds-pra\": _2, \"lindås\": _2, \"lindesnes\": _2, \"loabat\": _2, \"xn--loabt-0qa\": _2, \"loabát\": _2, \"lodingen\": _2, \"xn--ldingen-q1a\": _2, \"lødingen\": _2, \"lom\": _2, \"loppa\": _2, \"lorenskog\": _2, \"xn--lrenskog-54a\": _2, \"lørenskog\": _2, \"loten\": _2, \"xn--lten-gra\": _2, \"løten\": _2, \"lund\": _2, \"lunner\": _2, \"luroy\": _2, \"xn--lury-ira\": _2, \"lurøy\": _2, \"luster\": _2, \"lyngdal\": _2, \"lyngen\": _2, \"malatvuopmi\": _2, \"xn--mlatvuopmi-s4a\": _2, \"málatvuopmi\": _2, \"malselv\": _2, \"xn--mlselv-iua\": _2, \"målselv\": _2, \"malvik\": _2, \"mandal\": _2, \"marker\": _2, \"marnardal\": _2, \"masfjorden\": _2, \"masoy\": _2, \"xn--msy-ula0h\": _2, \"måsøy\": _2, \"matta-varjjat\": _2, \"xn--mtta-vrjjat-k7af\": _2, \"mátta-várjjat\": _2, \"meland\": _2, \"meldal\": _2, \"melhus\": _2, \"meloy\": _2, \"xn--mely-ira\": _2, \"meløy\": _2, \"meraker\": _2, \"xn--merker-kua\": _2, \"meråker\": _2, \"midsund\": _2, \"midtre-gauldal\": _2, \"moareke\": _2, \"xn--moreke-jua\": _2, \"moåreke\": _2, \"modalen\": _2, \"modum\": _2, \"molde\": _2, \"more-og-romsdal\": [0, { \"heroy\": _2, \"sande\": _2 }], \"xn--mre-og-romsdal-qqb\": [0, { \"xn--hery-ira\": _2, \"sande\": _2 }], \"møre-og-romsdal\": [0, { \"herøy\": _2, \"sande\": _2 }], \"moskenes\": _2, \"moss\": _2, \"muosat\": _2, \"xn--muost-0qa\": _2, \"muosát\": _2, \"naamesjevuemie\": _2, \"xn--nmesjevuemie-tcba\": _2, \"nååmesjevuemie\": _2, \"xn--nry-yla5g\": _2, \"nærøy\": _2, \"namdalseid\": _2, \"namsos\": _2, \"namsskogan\": _2, \"nannestad\": _2, \"naroy\": _2, \"narviika\": _2, \"narvik\": _2, \"naustdal\": _2, \"navuotna\": _2, \"xn--nvuotna-hwa\": _2, \"návuotna\": _2, \"nedre-eiker\": _2, \"nesna\": _2, \"nesodden\": _2, \"nesseby\": _2, \"nesset\": _2, \"nissedal\": _2, \"nittedal\": _2, \"nord-aurdal\": _2, \"nord-fron\": _2, \"nord-odal\": _2, \"norddal\": _2, \"nordkapp\": _2, \"nordland\": [0, { \"bo\": _2, \"xn--b-5ga\": _2, \"bø\": _2, \"heroy\": _2, \"xn--hery-ira\": _2, \"herøy\": _2 }], \"nordre-land\": _2, \"nordreisa\": _2, \"nore-og-uvdal\": _2, \"notodden\": _2, \"notteroy\": _2, \"xn--nttery-byae\": _2, \"nøtterøy\": _2, \"odda\": _2, \"oksnes\": _2, \"xn--ksnes-uua\": _2, \"øksnes\": _2, \"omasvuotna\": _2, \"oppdal\": _2, \"oppegard\": _2, \"xn--oppegrd-ixa\": _2, \"oppegård\": _2, \"orkdal\": _2, \"orland\": _2, \"xn--rland-uua\": _2, \"ørland\": _2, \"orskog\": _2, \"xn--rskog-uua\": _2, \"ørskog\": _2, \"orsta\": _2, \"xn--rsta-fra\": _2, \"ørsta\": _2, \"osen\": _2, \"osteroy\": _2, \"xn--ostery-fya\": _2, \"osterøy\": _2, \"ostfold\": [0, { \"valer\": _2 }], \"xn--stfold-9xa\": [0, { \"xn--vler-qoa\": _2 }], \"østfold\": [0, { \"våler\": _2 }], \"ostre-toten\": _2, \"xn--stre-toten-zcb\": _2, \"østre-toten\": _2, \"overhalla\": _2, \"ovre-eiker\": _2, \"xn--vre-eiker-k8a\": _2, \"øvre-eiker\": _2, \"oyer\": _2, \"xn--yer-zna\": _2, \"øyer\": _2, \"oygarden\": _2, \"xn--ygarden-p1a\": _2, \"øygarden\": _2, \"oystre-slidre\": _2, \"xn--ystre-slidre-ujb\": _2, \"øystre-slidre\": _2, \"porsanger\": _2, \"porsangu\": _2, \"xn--porsgu-sta26f\": _2, \"porsáŋgu\": _2, \"porsgrunn\": _2, \"rade\": _2, \"xn--rde-ula\": _2, \"råde\": _2, \"radoy\": _2, \"xn--rady-ira\": _2, \"radøy\": _2, \"xn--rlingen-mxa\": _2, \"rælingen\": _2, \"rahkkeravju\": _2, \"xn--rhkkervju-01af\": _2, \"ráhkkerávju\": _2, \"raisa\": _2, \"xn--risa-5na\": _2, \"ráisa\": _2, \"rakkestad\": _2, \"ralingen\": _2, \"rana\": _2, \"randaberg\": _2, \"rauma\": _2, \"rendalen\": _2, \"rennebu\": _2, \"rennesoy\": _2, \"xn--rennesy-v1a\": _2, \"rennesøy\": _2, \"rindal\": _2, \"ringebu\": _2, \"ringerike\": _2, \"ringsaker\": _2, \"risor\": _2, \"xn--risr-ira\": _2, \"risør\": _2, \"rissa\": _2, \"roan\": _2, \"rodoy\": _2, \"xn--rdy-0nab\": _2, \"rødøy\": _2, \"rollag\": _2, \"romsa\": _2, \"romskog\": _2, \"xn--rmskog-bya\": _2, \"rømskog\": _2, \"roros\": _2, \"xn--rros-gra\": _2, \"røros\": _2, \"rost\": _2, \"xn--rst-0na\": _2, \"røst\": _2, \"royken\": _2, \"xn--ryken-vua\": _2, \"røyken\": _2, \"royrvik\": _2, \"xn--ryrvik-bya\": _2, \"røyrvik\": _2, \"ruovat\": _2, \"rygge\": _2, \"salangen\": _2, \"salat\": _2, \"xn--slat-5na\": _2, \"sálat\": _2, \"xn--slt-elab\": _2, \"sálát\": _2, \"saltdal\": _2, \"samnanger\": _2, \"sandefjord\": _2, \"sandnes\": _2, \"sandoy\": _2, \"xn--sandy-yua\": _2, \"sandøy\": _2, \"sarpsborg\": _2, \"sauda\": _2, \"sauherad\": _2, \"sel\": _2, \"selbu\": _2, \"selje\": _2, \"seljord\": _2, \"siellak\": _2, \"sigdal\": _2, \"siljan\": _2, \"sirdal\": _2, \"skanit\": _2, \"xn--sknit-yqa\": _2, \"skánit\": _2, \"skanland\": _2, \"xn--sknland-fxa\": _2, \"skånland\": _2, \"skaun\": _2, \"skedsmo\": _2, \"ski\": _2, \"skien\": _2, \"skierva\": _2, \"xn--skierv-uta\": _2, \"skiervá\": _2, \"skiptvet\": _2, \"skjak\": _2, \"xn--skjk-soa\": _2, \"skjåk\": _2, \"skjervoy\": _2, \"xn--skjervy-v1a\": _2, \"skjervøy\": _2, \"skodje\": _2, \"smola\": _2, \"xn--smla-hra\": _2, \"smøla\": _2, \"snaase\": _2, \"xn--snase-nra\": _2, \"snåase\": _2, \"snasa\": _2, \"xn--snsa-roa\": _2, \"snåsa\": _2, \"snillfjord\": _2, \"snoasa\": _2, \"sogndal\": _2, \"sogne\": _2, \"xn--sgne-gra\": _2, \"søgne\": _2, \"sokndal\": _2, \"sola\": _2, \"solund\": _2, \"somna\": _2, \"xn--smna-gra\": _2, \"sømna\": _2, \"sondre-land\": _2, \"xn--sndre-land-0cb\": _2, \"søndre-land\": _2, \"songdalen\": _2, \"sor-aurdal\": _2, \"xn--sr-aurdal-l8a\": _2, \"sør-aurdal\": _2, \"sor-fron\": _2, \"xn--sr-fron-q1a\": _2, \"sør-fron\": _2, \"sor-odal\": _2, \"xn--sr-odal-q1a\": _2, \"sør-odal\": _2, \"sor-varanger\": _2, \"xn--sr-varanger-ggb\": _2, \"sør-varanger\": _2, \"sorfold\": _2, \"xn--srfold-bya\": _2, \"sørfold\": _2, \"sorreisa\": _2, \"xn--srreisa-q1a\": _2, \"sørreisa\": _2, \"sortland\": _2, \"sorum\": _2, \"xn--srum-gra\": _2, \"sørum\": _2, \"spydeberg\": _2, \"stange\": _2, \"stavanger\": _2, \"steigen\": _2, \"steinkjer\": _2, \"stjordal\": _2, \"xn--stjrdal-s1a\": _2, \"stjørdal\": _2, \"stokke\": _2, \"stor-elvdal\": _2, \"stord\": _2, \"stordal\": _2, \"storfjord\": _2, \"strand\": _2, \"stranda\": _2, \"stryn\": _2, \"sula\": _2, \"suldal\": _2, \"sund\": _2, \"sunndal\": _2, \"surnadal\": _2, \"sveio\": _2, \"svelvik\": _2, \"sykkylven\": _2, \"tana\": _2, \"telemark\": [0, { \"bo\": _2, \"xn--b-5ga\": _2, \"bø\": _2 }], \"time\": _2, \"tingvoll\": _2, \"tinn\": _2, \"tjeldsund\": _2, \"tjome\": _2, \"xn--tjme-hra\": _2, \"tjøme\": _2, \"tokke\": _2, \"tolga\": _2, \"tonsberg\": _2, \"xn--tnsberg-q1a\": _2, \"tønsberg\": _2, \"torsken\": _2, \"xn--trna-woa\": _2, \"træna\": _2, \"trana\": _2, \"tranoy\": _2, \"xn--trany-yua\": _2, \"tranøy\": _2, \"troandin\": _2, \"trogstad\": _2, \"xn--trgstad-r1a\": _2, \"trøgstad\": _2, \"tromsa\": _2, \"tromso\": _2, \"xn--troms-zua\": _2, \"tromsø\": _2, \"trondheim\": _2, \"trysil\": _2, \"tvedestrand\": _2, \"tydal\": _2, \"tynset\": _2, \"tysfjord\": _2, \"tysnes\": _2, \"xn--tysvr-vra\": _2, \"tysvær\": _2, \"tysvar\": _2, \"ullensaker\": _2, \"ullensvang\": _2, \"ulvik\": _2, \"unjarga\": _2, \"xn--unjrga-rta\": _2, \"unjárga\": _2, \"utsira\": _2, \"vaapste\": _2, \"vadso\": _2, \"xn--vads-jra\": _2, \"vadsø\": _2, \"xn--vry-yla5g\": _2, \"værøy\": _2, \"vaga\": _2, \"xn--vg-yiab\": _2, \"vågå\": _2, \"vagan\": _2, \"xn--vgan-qoa\": _2, \"vågan\": _2, \"vagsoy\": _2, \"xn--vgsy-qoa0j\": _2, \"vågsøy\": _2, \"vaksdal\": _2, \"valle\": _2, \"vang\": _2, \"vanylven\": _2, \"vardo\": _2, \"xn--vard-jra\": _2, \"vardø\": _2, \"varggat\": _2, \"xn--vrggt-xqad\": _2, \"várggát\": _2, \"varoy\": _2, \"vefsn\": _2, \"vega\": _2, \"vegarshei\": _2, \"xn--vegrshei-c0a\": _2, \"vegårshei\": _2, \"vennesla\": _2, \"verdal\": _2, \"verran\": _2, \"vestby\": _2, \"vestfold\": [0, { \"sande\": _2 }], \"vestnes\": _2, \"vestre-slidre\": _2, \"vestre-toten\": _2, \"vestvagoy\": _2, \"xn--vestvgy-ixa6o\": _2, \"vestvågøy\": _2, \"vevelstad\": _2, \"vik\": _2, \"vikna\": _2, \"vindafjord\": _2, \"voagat\": _2, \"volda\": _2, \"voss\": _2, \"co\": _3, \"123hjemmeside\": _3, \"myspreadshop\": _3 }], \"np\": _21, \"nr\": _61, \"nu\": [1, { \"merseine\": _3, \"mine\": _3, \"shacknet\": _3, \"enterprisecloud\": _3 }], \"nz\": [1, { \"ac\": _2, \"co\": _2, \"cri\": _2, \"geek\": _2, \"gen\": _2, \"govt\": _2, \"health\": _2, \"iwi\": _2, \"kiwi\": _2, \"maori\": _2, \"xn--mori-qsa\": _2, \"māori\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"parliament\": _2, \"school\": _2, \"cloudns\": _3 }], \"om\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"med\": _2, \"museum\": _2, \"net\": _2, \"org\": _2, \"pro\": _2 }], \"onion\": _2, \"org\": [1, { \"altervista\": _3, \"pimienta\": _3, \"poivron\": _3, \"potager\": _3, \"sweetpepper\": _3, \"cdn77\": [0, { \"c\": _3, \"rsc\": _3 }], \"cdn77-secure\": [0, { \"origin\": [0, { \"ssl\": _3 }] }], \"ae\": _3, \"cloudns\": _3, \"ip-dynamic\": _3, \"ddnss\": _3, \"dpdns\": _3, \"duckdns\": _3, \"tunk\": _3, \"blogdns\": _3, \"blogsite\": _3, \"boldlygoingnowhere\": _3, \"dnsalias\": _3, \"dnsdojo\": _3, \"doesntexist\": _3, \"dontexist\": _3, \"doomdns\": _3, \"dvrdns\": _3, \"dynalias\": _3, \"dyndns\": [2, { \"go\": _3, \"home\": _3 }], \"endofinternet\": _3, \"endoftheinternet\": _3, \"from-me\": _3, \"game-host\": _3, \"gotdns\": _3, \"hobby-site\": _3, \"homedns\": _3, \"homeftp\": _3, \"homelinux\": _3, \"homeunix\": _3, \"is-a-bruinsfan\": _3, \"is-a-candidate\": _3, \"is-a-celticsfan\": _3, \"is-a-chef\": _3, \"is-a-geek\": _3, \"is-a-knight\": _3, \"is-a-linux-user\": _3, \"is-a-patsfan\": _3, \"is-a-soxfan\": _3, \"is-found\": _3, \"is-lost\": _3, \"is-saved\": _3, \"is-very-bad\": _3, \"is-very-evil\": _3, \"is-very-good\": _3, \"is-very-nice\": _3, \"is-very-sweet\": _3, \"isa-geek\": _3, \"kicks-ass\": _3, \"misconfused\": _3, \"podzone\": _3, \"readmyblog\": _3, \"selfip\": _3, \"sellsyourhome\": _3, \"servebbs\": _3, \"serveftp\": _3, \"servegame\": _3, \"stuff-4-sale\": _3, \"webhop\": _3, \"accesscam\": _3, \"camdvr\": _3, \"freeddns\": _3, \"mywire\": _3, \"roxa\": _3, \"webredirect\": _3, \"twmail\": _3, \"eu\": [2, { \"al\": _3, \"asso\": _3, \"at\": _3, \"au\": _3, \"be\": _3, \"bg\": _3, \"ca\": _3, \"cd\": _3, \"ch\": _3, \"cn\": _3, \"cy\": _3, \"cz\": _3, \"de\": _3, \"dk\": _3, \"edu\": _3, \"ee\": _3, \"es\": _3, \"fi\": _3, \"fr\": _3, \"gr\": _3, \"hr\": _3, \"hu\": _3, \"ie\": _3, \"il\": _3, \"in\": _3, \"int\": _3, \"is\": _3, \"it\": _3, \"jp\": _3, \"kr\": _3, \"lt\": _3, \"lu\": _3, \"lv\": _3, \"me\": _3, \"mk\": _3, \"mt\": _3, \"my\": _3, \"net\": _3, \"ng\": _3, \"nl\": _3, \"no\": _3, \"nz\": _3, \"pl\": _3, \"pt\": _3, \"ro\": _3, \"ru\": _3, \"se\": _3, \"si\": _3, \"sk\": _3, \"tr\": _3, \"uk\": _3, \"us\": _3 }], \"fedorainfracloud\": _3, \"fedorapeople\": _3, \"fedoraproject\": [0, { \"cloud\": _3, \"os\": _46, \"stg\": [0, { \"os\": _46 }] }], \"freedesktop\": _3, \"hatenadiary\": _3, \"hepforge\": _3, \"in-dsl\": _3, \"in-vpn\": _3, \"js\": _3, \"barsy\": _3, \"mayfirst\": _3, \"routingthecloud\": _3, \"bmoattachments\": _3, \"cable-modem\": _3, \"collegefan\": _3, \"couchpotatofries\": _3, \"hopto\": _3, \"mlbfan\": _3, \"myftp\": _3, \"mysecuritycamera\": _3, \"nflfan\": _3, \"no-ip\": _3, \"read-books\": _3, \"ufcfan\": _3, \"zapto\": _3, \"dynserv\": _3, \"now-dns\": _3, \"is-local\": _3, \"httpbin\": _3, \"pubtls\": _3, \"jpn\": _3, \"my-firewall\": _3, \"myfirewall\": _3, \"spdns\": _3, \"small-web\": _3, \"dsmynas\": _3, \"familyds\": _3, \"teckids\": _60, \"tuxfamily\": _3, \"hk\": _3, \"us\": _3, \"toolforge\": _3, \"wmcloud\": [2, { \"beta\": _3 }], \"wmflabs\": _3, \"za\": _3 }], \"pa\": [1, { \"abo\": _2, \"ac\": _2, \"com\": _2, \"edu\": _2, \"gob\": _2, \"ing\": _2, \"med\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"sld\": _2 }], \"pe\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2 }], \"pf\": [1, { \"com\": _2, \"edu\": _2, \"org\": _2 }], \"pg\": _21, \"ph\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"i\": _2, \"mil\": _2, \"net\": _2, \"ngo\": _2, \"org\": _2, \"cloudns\": _3 }], \"pk\": [1, { \"ac\": _2, \"biz\": _2, \"com\": _2, \"edu\": _2, \"fam\": _2, \"gkp\": _2, \"gob\": _2, \"gog\": _2, \"gok\": _2, \"gop\": _2, \"gos\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"web\": _2 }], \"pl\": [1, { \"com\": _2, \"net\": _2, \"org\": _2, \"agro\": _2, \"aid\": _2, \"atm\": _2, \"auto\": _2, \"biz\": _2, \"edu\": _2, \"gmina\": _2, \"gsm\": _2, \"info\": _2, \"mail\": _2, \"media\": _2, \"miasta\": _2, \"mil\": _2, \"nieruchomosci\": _2, \"nom\": _2, \"pc\": _2, \"powiat\": _2, \"priv\": _2, \"realestate\": _2, \"rel\": _2, \"sex\": _2, \"shop\": _2, \"sklep\": _2, \"sos\": _2, \"szkola\": _2, \"targi\": _2, \"tm\": _2, \"tourism\": _2, \"travel\": _2, \"turystyka\": _2, \"gov\": [1, { \"ap\": _2, \"griw\": _2, \"ic\": _2, \"is\": _2, \"kmpsp\": _2, \"konsulat\": _2, \"kppsp\": _2, \"kwp\": _2, \"kwpsp\": _2, \"mup\": _2, \"mw\": _2, \"oia\": _2, \"oirm\": _2, \"oke\": _2, \"oow\": _2, \"oschr\": _2, \"oum\": _2, \"pa\": _2, \"pinb\": _2, \"piw\": _2, \"po\": _2, \"pr\": _2, \"psp\": _2, \"psse\": _2, \"pup\": _2, \"rzgw\": _2, \"sa\": _2, \"sdn\": _2, \"sko\": _2, \"so\": _2, \"sr\": _2, \"starostwo\": _2, \"ug\": _2, \"ugim\": _2, \"um\": _2, \"umig\": _2, \"upow\": _2, \"uppo\": _2, \"us\": _2, \"uw\": _2, \"uzs\": _2, \"wif\": _2, \"wiih\": _2, \"winb\": _2, \"wios\": _2, \"witd\": _2, \"wiw\": _2, \"wkz\": _2, \"wsa\": _2, \"wskr\": _2, \"wsse\": _2, \"wuoz\": _2, \"wzmiuw\": _2, \"zp\": _2, \"zpisdn\": _2 }], \"augustow\": _2, \"babia-gora\": _2, \"bedzin\": _2, \"beskidy\": _2, \"bialowieza\": _2, \"bialystok\": _2, \"bielawa\": _2, \"bieszczady\": _2, \"boleslawiec\": _2, \"bydgoszcz\": _2, \"bytom\": _2, \"cieszyn\": _2, \"czeladz\": _2, \"czest\": _2, \"dlugoleka\": _2, \"elblag\": _2, \"elk\": _2, \"glogow\": _2, \"gniezno\": _2, \"gorlice\": _2, \"grajewo\": _2, \"ilawa\": _2, \"jaworzno\": _2, \"jelenia-gora\": _2, \"jgora\": _2, \"kalisz\": _2, \"karpacz\": _2, \"kartuzy\": _2, \"kaszuby\": _2, \"katowice\": _2, \"kazimierz-dolny\": _2, \"kepno\": _2, \"ketrzyn\": _2, \"klodzko\": _2, \"kobierzyce\": _2, \"kolobrzeg\": _2, \"konin\": _2, \"konskowola\": _2, \"kutno\": _2, \"lapy\": _2, \"lebork\": _2, \"legnica\": _2, \"lezajsk\": _2, \"limanowa\": _2, \"lomza\": _2, \"lowicz\": _2, \"lubin\": _2, \"lukow\": _2, \"malbork\": _2, \"malopolska\": _2, \"mazowsze\": _2, \"mazury\": _2, \"mielec\": _2, \"mielno\": _2, \"mragowo\": _2, \"naklo\": _2, \"nowaruda\": _2, \"nysa\": _2, \"olawa\": _2, \"olecko\": _2, \"olkusz\": _2, \"olsztyn\": _2, \"opoczno\": _2, \"opole\": _2, \"ostroda\": _2, \"ostroleka\": _2, \"ostrowiec\": _2, \"ostrowwlkp\": _2, \"pila\": _2, \"pisz\": _2, \"podhale\": _2, \"podlasie\": _2, \"polkowice\": _2, \"pomorskie\": _2, \"pomorze\": _2, \"prochowice\": _2, \"pruszkow\": _2, \"przeworsk\": _2, \"pulawy\": _2, \"radom\": _2, \"rawa-maz\": _2, \"rybnik\": _2, \"rzeszow\": _2, \"sanok\": _2, \"sejny\": _2, \"skoczow\": _2, \"slask\": _2, \"slupsk\": _2, \"sosnowiec\": _2, \"stalowa-wola\": _2, \"starachowice\": _2, \"stargard\": _2, \"suwalki\": _2, \"swidnica\": _2, \"swiebodzin\": _2, \"swinoujscie\": _2, \"szczecin\": _2, \"szczytno\": _2, \"tarnobrzeg\": _2, \"tgory\": _2, \"turek\": _2, \"tychy\": _2, \"ustka\": _2, \"walbrzych\": _2, \"warmia\": _2, \"warszawa\": _2, \"waw\": _2, \"wegrow\": _2, \"wielun\": _2, \"wlocl\": _2, \"wloclawek\": _2, \"wodzislaw\": _2, \"wolomin\": _2, \"wroclaw\": _2, \"zachpomor\": _2, \"zagan\": _2, \"zarow\": _2, \"zgora\": _2, \"zgorzelec\": _2, \"art\": _3, \"gliwice\": _3, \"krakow\": _3, \"poznan\": _3, \"wroc\": _3, \"zakopane\": _3, \"beep\": _3, \"ecommerce-shop\": _3, \"cfolks\": _3, \"dfirma\": _3, \"dkonto\": _3, \"you2\": _3, \"shoparena\": _3, \"homesklep\": _3, \"sdscloud\": _3, \"unicloud\": _3, \"lodz\": _3, \"pabianice\": _3, \"plock\": _3, \"sieradz\": _3, \"skierniewice\": _3, \"zgierz\": _3, \"krasnik\": _3, \"leczna\": _3, \"lubartow\": _3, \"lublin\": _3, \"poniatowa\": _3, \"swidnik\": _3, \"co\": _3, \"torun\": _3, \"simplesite\": _3, \"myspreadshop\": _3, \"gda\": _3, \"gdansk\": _3, \"gdynia\": _3, \"med\": _3, \"sopot\": _3, \"bielsko\": _3 }], \"pm\": [1, { \"own\": _3, \"name\": _3 }], \"pn\": [1, { \"co\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2 }], \"post\": _2, \"pr\": [1, { \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"isla\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pro\": _2, \"ac\": _2, \"est\": _2, \"prof\": _2 }], \"pro\": [1, { \"aaa\": _2, \"aca\": _2, \"acct\": _2, \"avocat\": _2, \"bar\": _2, \"cpa\": _2, \"eng\": _2, \"jur\": _2, \"law\": _2, \"med\": _2, \"recht\": _2, \"cloudns\": _3, \"keenetic\": _3, \"barsy\": _3, \"ngrok\": _3 }], \"ps\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"plo\": _2, \"sec\": _2 }], \"pt\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"int\": _2, \"net\": _2, \"nome\": _2, \"org\": _2, \"publ\": _2, \"123paginaweb\": _3 }], \"pw\": [1, { \"gov\": _2, \"cloudns\": _3, \"x443\": _3 }], \"py\": [1, { \"com\": _2, \"coop\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"qa\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"sch\": _2 }], \"re\": [1, { \"asso\": _2, \"com\": _2, \"netlib\": _3, \"can\": _3 }], \"ro\": [1, { \"arts\": _2, \"com\": _2, \"firm\": _2, \"info\": _2, \"nom\": _2, \"nt\": _2, \"org\": _2, \"rec\": _2, \"store\": _2, \"tm\": _2, \"www\": _2, \"co\": _3, \"shop\": _3, \"barsy\": _3 }], \"rs\": [1, { \"ac\": _2, \"co\": _2, \"edu\": _2, \"gov\": _2, \"in\": _2, \"org\": _2, \"brendly\": _20, \"barsy\": _3, \"ox\": _3 }], \"ru\": [1, { \"ac\": _3, \"edu\": _3, \"gov\": _3, \"int\": _3, \"mil\": _3, \"eurodir\": _3, \"adygeya\": _3, \"bashkiria\": _3, \"bir\": _3, \"cbg\": _3, \"com\": _3, \"dagestan\": _3, \"grozny\": _3, \"kalmykia\": _3, \"kustanai\": _3, \"marine\": _3, \"mordovia\": _3, \"msk\": _3, \"mytis\": _3, \"nalchik\": _3, \"nov\": _3, \"pyatigorsk\": _3, \"spb\": _3, \"vladikavkaz\": _3, \"vladimir\": _3, \"na4u\": _3, \"mircloud\": _3, \"myjino\": [2, { \"hosting\": _6, \"landing\": _6, \"spectrum\": _6, \"vps\": _6 }], \"cldmail\": [0, { \"hb\": _3 }], \"mcdir\": [2, { \"vps\": _3 }], \"mcpre\": _3, \"net\": _3, \"org\": _3, \"pp\": _3, \"ras\": _3 }], \"rw\": [1, { \"ac\": _2, \"co\": _2, \"coop\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2 }], \"sa\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"med\": _2, \"net\": _2, \"org\": _2, \"pub\": _2, \"sch\": _2 }], \"sb\": _4, \"sc\": _4, \"sd\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"med\": _2, \"net\": _2, \"org\": _2, \"tv\": _2 }], \"se\": [1, { \"a\": _2, \"ac\": _2, \"b\": _2, \"bd\": _2, \"brand\": _2, \"c\": _2, \"d\": _2, \"e\": _2, \"f\": _2, \"fh\": _2, \"fhsk\": _2, \"fhv\": _2, \"g\": _2, \"h\": _2, \"i\": _2, \"k\": _2, \"komforb\": _2, \"kommunalforbund\": _2, \"komvux\": _2, \"l\": _2, \"lanbib\": _2, \"m\": _2, \"n\": _2, \"naturbruksgymn\": _2, \"o\": _2, \"org\": _2, \"p\": _2, \"parti\": _2, \"pp\": _2, \"press\": _2, \"r\": _2, \"s\": _2, \"t\": _2, \"tm\": _2, \"u\": _2, \"w\": _2, \"x\": _2, \"y\": _2, \"z\": _2, \"com\": _3, \"iopsys\": _3, \"123minsida\": _3, \"itcouldbewor\": _3, \"myspreadshop\": _3 }], \"sg\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"enscaled\": _3 }], \"sh\": [1, { \"com\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"hashbang\": _3, \"botda\": _3, \"lovable\": _3, \"platform\": [0, { \"ent\": _3, \"eu\": _3, \"us\": _3 }], \"teleport\": _3, \"now\": _3 }], \"si\": [1, { \"f5\": _3, \"gitapp\": _3, \"gitpage\": _3 }], \"sj\": _2, \"sk\": [1, { \"org\": _2 }], \"sl\": _4, \"sm\": _2, \"sn\": [1, { \"art\": _2, \"com\": _2, \"edu\": _2, \"gouv\": _2, \"org\": _2, \"univ\": _2 }], \"so\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"me\": _2, \"net\": _2, \"org\": _2, \"surveys\": _3 }], \"sr\": _2, \"ss\": [1, { \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"me\": _2, \"net\": _2, \"org\": _2, \"sch\": _2 }], \"st\": [1, { \"co\": _2, \"com\": _2, \"consulado\": _2, \"edu\": _2, \"embaixada\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"principe\": _2, \"saotome\": _2, \"store\": _2, \"helioho\": _3, \"cn\": _6, \"kirara\": _3, \"noho\": _3 }], \"su\": [1, { \"abkhazia\": _3, \"adygeya\": _3, \"aktyubinsk\": _3, \"arkhangelsk\": _3, \"armenia\": _3, \"ashgabad\": _3, \"azerbaijan\": _3, \"balashov\": _3, \"bashkiria\": _3, \"bryansk\": _3, \"bukhara\": _3, \"chimkent\": _3, \"dagestan\": _3, \"east-kazakhstan\": _3, \"exnet\": _3, \"georgia\": _3, \"grozny\": _3, \"ivanovo\": _3, \"jambyl\": _3, \"kalmykia\": _3, \"kaluga\": _3, \"karacol\": _3, \"karaganda\": _3, \"karelia\": _3, \"khakassia\": _3, \"krasnodar\": _3, \"kurgan\": _3, \"kustanai\": _3, \"lenug\": _3, \"mangyshlak\": _3, \"mordovia\": _3, \"msk\": _3, \"murmansk\": _3, \"nalchik\": _3, \"navoi\": _3, \"north-kazakhstan\": _3, \"nov\": _3, \"obninsk\": _3, \"penza\": _3, \"pokrovsk\": _3, \"sochi\": _3, \"spb\": _3, \"tashkent\": _3, \"termez\": _3, \"togliatti\": _3, \"troitsk\": _3, \"tselinograd\": _3, \"tula\": _3, \"tuva\": _3, \"vladikavkaz\": _3, \"vladimir\": _3, \"vologda\": _3 }], \"sv\": [1, { \"com\": _2, \"edu\": _2, \"gob\": _2, \"org\": _2, \"red\": _2 }], \"sx\": _10, \"sy\": _5, \"sz\": [1, { \"ac\": _2, \"co\": _2, \"org\": _2 }], \"tc\": _2, \"td\": _2, \"tel\": _2, \"tf\": [1, { \"sch\": _3 }], \"tg\": _2, \"th\": [1, { \"ac\": _2, \"co\": _2, \"go\": _2, \"in\": _2, \"mi\": _2, \"net\": _2, \"or\": _2, \"online\": _3, \"shop\": _3 }], \"tj\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"go\": _2, \"gov\": _2, \"int\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"nic\": _2, \"org\": _2, \"test\": _2, \"web\": _2 }], \"tk\": _2, \"tl\": _10, \"tm\": [1, { \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2 }], \"tn\": [1, { \"com\": _2, \"ens\": _2, \"fin\": _2, \"gov\": _2, \"ind\": _2, \"info\": _2, \"intl\": _2, \"mincom\": _2, \"nat\": _2, \"net\": _2, \"org\": _2, \"perso\": _2, \"tourism\": _2, \"orangecloud\": _3 }], \"to\": [1, { \"611\": _3, \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"oya\": _3, \"x0\": _3, \"quickconnect\": _29, \"vpnplus\": _3, \"nett\": _3 }], \"tr\": [1, { \"av\": _2, \"bbs\": _2, \"bel\": _2, \"biz\": _2, \"com\": _2, \"dr\": _2, \"edu\": _2, \"gen\": _2, \"gov\": _2, \"info\": _2, \"k12\": _2, \"kep\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pol\": _2, \"tel\": _2, \"tsk\": _2, \"tv\": _2, \"web\": _2, \"nc\": _10 }], \"tt\": [1, { \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"mil\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pro\": _2 }], \"tv\": [1, { \"better-than\": _3, \"dyndns\": _3, \"on-the-web\": _3, \"worse-than\": _3, \"from\": _3, \"sakura\": _3 }], \"tw\": [1, { \"club\": _2, \"com\": [1, { \"mymailer\": _3 }], \"ebiz\": _2, \"edu\": _2, \"game\": _2, \"gov\": _2, \"idv\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"url\": _3, \"mydns\": _3 }], \"tz\": [1, { \"ac\": _2, \"co\": _2, \"go\": _2, \"hotel\": _2, \"info\": _2, \"me\": _2, \"mil\": _2, \"mobi\": _2, \"ne\": _2, \"or\": _2, \"sc\": _2, \"tv\": _2 }], \"ua\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"in\": _2, \"net\": _2, \"org\": _2, \"cherkassy\": _2, \"cherkasy\": _2, \"chernigov\": _2, \"chernihiv\": _2, \"chernivtsi\": _2, \"chernovtsy\": _2, \"ck\": _2, \"cn\": _2, \"cr\": _2, \"crimea\": _2, \"cv\": _2, \"dn\": _2, \"dnepropetrovsk\": _2, \"dnipropetrovsk\": _2, \"donetsk\": _2, \"dp\": _2, \"if\": _2, \"ivano-frankivsk\": _2, \"kh\": _2, \"kharkiv\": _2, \"kharkov\": _2, \"kherson\": _2, \"khmelnitskiy\": _2, \"khmelnytskyi\": _2, \"kiev\": _2, \"kirovograd\": _2, \"km\": _2, \"kr\": _2, \"kropyvnytskyi\": _2, \"krym\": _2, \"ks\": _2, \"kv\": _2, \"kyiv\": _2, \"lg\": _2, \"lt\": _2, \"lugansk\": _2, \"luhansk\": _2, \"lutsk\": _2, \"lv\": _2, \"lviv\": _2, \"mk\": _2, \"mykolaiv\": _2, \"nikolaev\": _2, \"od\": _2, \"odesa\": _2, \"odessa\": _2, \"pl\": _2, \"poltava\": _2, \"rivne\": _2, \"rovno\": _2, \"rv\": _2, \"sb\": _2, \"sebastopol\": _2, \"sevastopol\": _2, \"sm\": _2, \"sumy\": _2, \"te\": _2, \"ternopil\": _2, \"uz\": _2, \"uzhgorod\": _2, \"uzhhorod\": _2, \"vinnica\": _2, \"vinnytsia\": _2, \"vn\": _2, \"volyn\": _2, \"yalta\": _2, \"zakarpattia\": _2, \"zaporizhzhe\": _2, \"zaporizhzhia\": _2, \"zhitomir\": _2, \"zhytomyr\": _2, \"zp\": _2, \"zt\": _2, \"cc\": _3, \"inf\": _3, \"ltd\": _3, \"cx\": _3, \"biz\": _3, \"co\": _3, \"pp\": _3, \"v\": _3 }], \"ug\": [1, { \"ac\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"go\": _2, \"gov\": _2, \"mil\": _2, \"ne\": _2, \"or\": _2, \"org\": _2, \"sc\": _2, \"us\": _2 }], \"uk\": [1, { \"ac\": _2, \"co\": [1, { \"bytemark\": [0, { \"dh\": _3, \"vm\": _3 }], \"layershift\": _49, \"barsy\": _3, \"barsyonline\": _3, \"retrosnub\": _59, \"nh-serv\": _3, \"no-ip\": _3, \"adimo\": _3, \"myspreadshop\": _3 }], \"gov\": [1, { \"api\": _3, \"campaign\": _3, \"service\": _3 }], \"ltd\": _2, \"me\": _2, \"net\": _2, \"nhs\": _2, \"org\": [1, { \"glug\": _3, \"lug\": _3, \"lugs\": _3, \"affinitylottery\": _3, \"raffleentry\": _3, \"weeklylottery\": _3 }], \"plc\": _2, \"police\": _2, \"sch\": _21, \"conn\": _3, \"copro\": _3, \"hosp\": _3, \"independent-commission\": _3, \"independent-inquest\": _3, \"independent-inquiry\": _3, \"independent-panel\": _3, \"independent-review\": _3, \"public-inquiry\": _3, \"royal-commission\": _3, \"pymnt\": _3, \"barsy\": _3, \"nimsite\": _3, \"oraclegovcloudapps\": _6 }], \"us\": [1, { \"dni\": _2, \"isa\": _2, \"nsn\": _2, \"ak\": _69, \"al\": _69, \"ar\": _69, \"as\": _69, \"az\": _69, \"ca\": _69, \"co\": _69, \"ct\": _69, \"dc\": _69, \"de\": _70, \"fl\": _69, \"ga\": _69, \"gu\": _69, \"hi\": _71, \"ia\": _69, \"id\": _69, \"il\": _69, \"in\": _69, \"ks\": _69, \"ky\": _69, \"la\": _69, \"ma\": [1, { \"k12\": [1, { \"chtr\": _2, \"paroch\": _2, \"pvt\": _2 }], \"cc\": _2, \"lib\": _2 }], \"md\": _69, \"me\": _69, \"mi\": [1, { \"k12\": _2, \"cc\": _2, \"lib\": _2, \"ann-arbor\": _2, \"cog\": _2, \"dst\": _2, \"eaton\": _2, \"gen\": _2, \"mus\": _2, \"tec\": _2, \"washtenaw\": _2 }], \"mn\": _69, \"mo\": _69, \"ms\": [1, { \"k12\": _2, \"cc\": _2 }], \"mt\": _69, \"nc\": _69, \"nd\": _71, \"ne\": _69, \"nh\": _69, \"nj\": _69, \"nm\": _69, \"nv\": _69, \"ny\": _69, \"oh\": _69, \"ok\": _69, \"or\": _69, \"pa\": _69, \"pr\": _69, \"ri\": _71, \"sc\": _69, \"sd\": _71, \"tn\": _69, \"tx\": _69, \"ut\": _69, \"va\": _69, \"vi\": _69, \"vt\": _69, \"wa\": _69, \"wi\": _69, \"wv\": _70, \"wy\": _69, \"cloudns\": _3, \"is-by\": _3, \"land-4-sale\": _3, \"stuff-4-sale\": _3, \"heliohost\": _3, \"enscaled\": [0, { \"phx\": _3 }], \"mircloud\": _3, \"azure-api\": _3, \"azurewebsites\": _3, \"ngo\": _3, \"golffan\": _3, \"noip\": _3, \"pointto\": _3, \"freeddns\": _3, \"srv\": [2, { \"gh\": _3, \"gl\": _3 }], \"servername\": _3 }], \"uy\": [1, { \"com\": _2, \"edu\": _2, \"gub\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"gv\": _3 }], \"uz\": [1, { \"co\": _2, \"com\": _2, \"net\": _2, \"org\": _2 }], \"va\": _2, \"vc\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"gv\": [2, { \"d\": _3 }], \"0e\": _6, \"mydns\": _3 }], \"ve\": [1, { \"arts\": _2, \"bib\": _2, \"co\": _2, \"com\": _2, \"e12\": _2, \"edu\": _2, \"emprende\": _2, \"firm\": _2, \"gob\": _2, \"gov\": _2, \"ia\": _2, \"info\": _2, \"int\": _2, \"mil\": _2, \"net\": _2, \"nom\": _2, \"org\": _2, \"rar\": _2, \"rec\": _2, \"store\": _2, \"tec\": _2, \"web\": _2 }], \"vg\": [1, { \"edu\": _2 }], \"vi\": [1, { \"co\": _2, \"com\": _2, \"k12\": _2, \"net\": _2, \"org\": _2 }], \"vn\": [1, { \"ac\": _2, \"ai\": _2, \"biz\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"health\": _2, \"id\": _2, \"info\": _2, \"int\": _2, \"io\": _2, \"name\": _2, \"net\": _2, \"org\": _2, \"pro\": _2, \"angiang\": _2, \"bacgiang\": _2, \"backan\": _2, \"baclieu\": _2, \"bacninh\": _2, \"baria-vungtau\": _2, \"bentre\": _2, \"binhdinh\": _2, \"binhduong\": _2, \"binhphuoc\": _2, \"binhthuan\": _2, \"camau\": _2, \"cantho\": _2, \"caobang\": _2, \"daklak\": _2, \"daknong\": _2, \"danang\": _2, \"dienbien\": _2, \"dongnai\": _2, \"dongthap\": _2, \"gialai\": _2, \"hagiang\": _2, \"haiduong\": _2, \"haiphong\": _2, \"hanam\": _2, \"hanoi\": _2, \"hatinh\": _2, \"haugiang\": _2, \"hoabinh\": _2, \"hue\": _2, \"hungyen\": _2, \"khanhhoa\": _2, \"kiengiang\": _2, \"kontum\": _2, \"laichau\": _2, \"lamdong\": _2, \"langson\": _2, \"laocai\": _2, \"longan\": _2, \"namdinh\": _2, \"nghean\": _2, \"ninhbinh\": _2, \"ninhthuan\": _2, \"phutho\": _2, \"phuyen\": _2, \"quangbinh\": _2, \"quangnam\": _2, \"quangngai\": _2, \"quangninh\": _2, \"quangtri\": _2, \"soctrang\": _2, \"sonla\": _2, \"tayninh\": _2, \"thaibinh\": _2, \"thainguyen\": _2, \"thanhhoa\": _2, \"thanhphohochiminh\": _2, \"thuathienhue\": _2, \"tiengiang\": _2, \"travinh\": _2, \"tuyenquang\": _2, \"vinhlong\": _2, \"vinhphuc\": _2, \"yenbai\": _2 }], \"vu\": _48, \"wf\": [1, { \"biz\": _3, \"sch\": _3 }], \"ws\": [1, { \"com\": _2, \"edu\": _2, \"gov\": _2, \"net\": _2, \"org\": _2, \"advisor\": _6, \"cloud66\": _3, \"dyndns\": _3, \"mypets\": _3 }], \"yt\": [1, { \"org\": _3 }], \"xn--mgbaam7a8h\": _2, \"امارات\": _2, \"xn--y9a3aq\": _2, \"հայ\": _2, \"xn--54b7fta0cc\": _2, \"বাংলা\": _2, \"xn--90ae\": _2, \"бг\": _2, \"xn--mgbcpq6gpa1a\": _2, \"البحرين\": _2, \"xn--90ais\": _2, \"бел\": _2, \"xn--fiqs8s\": _2, \"中国\": _2, \"xn--fiqz9s\": _2, \"中國\": _2, \"xn--lgbbat1ad8j\": _2, \"الجزائر\": _2, \"xn--wgbh1c\": _2, \"مصر\": _2, \"xn--e1a4c\": _2, \"ею\": _2, \"xn--qxa6a\": _2, \"ευ\": _2, \"xn--mgbah1a3hjkrd\": _2, \"موريتانيا\": _2, \"xn--node\": _2, \"გე\": _2, \"xn--qxam\": _2, \"ελ\": _2, \"xn--j6w193g\": [1, { \"xn--gmqw5a\": _2, \"xn--55qx5d\": _2, \"xn--mxtq1m\": _2, \"xn--wcvs22d\": _2, \"xn--uc0atv\": _2, \"xn--od0alg\": _2 }], \"香港\": [1, { \"個人\": _2, \"公司\": _2, \"政府\": _2, \"教育\": _2, \"組織\": _2, \"網絡\": _2 }], \"xn--2scrj9c\": _2, \"ಭಾರತ\": _2, \"xn--3hcrj9c\": _2, \"ଭାରତ\": _2, \"xn--45br5cyl\": _2, \"ভাৰত\": _2, \"xn--h2breg3eve\": _2, \"भारतम्\": _2, \"xn--h2brj9c8c\": _2, \"भारोत\": _2, \"xn--mgbgu82a\": _2, \"ڀارت\": _2, \"xn--rvc1e0am3e\": _2, \"ഭാരതം\": _2, \"xn--h2brj9c\": _2, \"भारत\": _2, \"xn--mgbbh1a\": _2, \"بارت\": _2, \"xn--mgbbh1a71e\": _2, \"بھارت\": _2, \"xn--fpcrj9c3d\": _2, \"భారత్\": _2, \"xn--gecrj9c\": _2, \"ભારત\": _2, \"xn--s9brj9c\": _2, \"ਭਾਰਤ\": _2, \"xn--45brj9c\": _2, \"ভারত\": _2, \"xn--xkc2dl3a5ee0h\": _2, \"இந்தியா\": _2, \"xn--mgba3a4f16a\": _2, \"ایران\": _2, \"xn--mgba3a4fra\": _2, \"ايران\": _2, \"xn--mgbtx2b\": _2, \"عراق\": _2, \"xn--mgbayh7gpa\": _2, \"الاردن\": _2, \"xn--3e0b707e\": _2, \"한국\": _2, \"xn--80ao21a\": _2, \"қаз\": _2, \"xn--q7ce6a\": _2, \"ລາວ\": _2, \"xn--fzc2c9e2c\": _2, \"ලංකා\": _2, \"xn--xkc2al3hye2a\": _2, \"இலங்கை\": _2, \"xn--mgbc0a9azcg\": _2, \"المغرب\": _2, \"xn--d1alf\": _2, \"мкд\": _2, \"xn--l1acc\": _2, \"мон\": _2, \"xn--mix891f\": _2, \"澳門\": _2, \"xn--mix082f\": _2, \"澳门\": _2, \"xn--mgbx4cd0ab\": _2, \"مليسيا\": _2, \"xn--mgb9awbf\": _2, \"عمان\": _2, \"xn--mgbai9azgqp6j\": _2, \"پاکستان\": _2, \"xn--mgbai9a5eva00b\": _2, \"پاكستان\": _2, \"xn--ygbi2ammx\": _2, \"فلسطين\": _2, \"xn--90a3ac\": [1, { \"xn--80au\": _2, \"xn--90azh\": _2, \"xn--d1at\": _2, \"xn--c1avg\": _2, \"xn--o1ac\": _2, \"xn--o1ach\": _2 }], \"срб\": [1, { \"ак\": _2, \"обр\": _2, \"од\": _2, \"орг\": _2, \"пр\": _2, \"упр\": _2 }], \"xn--p1ai\": _2, \"рф\": _2, \"xn--wgbl6a\": _2, \"قطر\": _2, \"xn--mgberp4a5d4ar\": _2, \"السعودية\": _2, \"xn--mgberp4a5d4a87g\": _2, \"السعودیة\": _2, \"xn--mgbqly7c0a67fbc\": _2, \"السعودیۃ\": _2, \"xn--mgbqly7cvafr\": _2, \"السعوديه\": _2, \"xn--mgbpl2fh\": _2, \"سودان\": _2, \"xn--yfro4i67o\": _2, \"新加坡\": _2, \"xn--clchc0ea0b2g2a9gcd\": _2, \"சிங்கப்பூர்\": _2, \"xn--ogbpf8fl\": _2, \"سورية\": _2, \"xn--mgbtf8fl\": _2, \"سوريا\": _2, \"xn--o3cw4h\": [1, { \"xn--o3cyx2a\": _2, \"xn--12co0c3b4eva\": _2, \"xn--m3ch0j3a\": _2, \"xn--h3cuzk1di\": _2, \"xn--12c1fe0br\": _2, \"xn--12cfi8ixb8l\": _2 }], \"ไทย\": [1, { \"ทหาร\": _2, \"ธุรกิจ\": _2, \"เน็ต\": _2, \"รัฐบาล\": _2, \"ศึกษา\": _2, \"องค์กร\": _2 }], \"xn--pgbs0dh\": _2, \"تونس\": _2, \"xn--kpry57d\": _2, \"台灣\": _2, \"xn--kprw13d\": _2, \"台湾\": _2, \"xn--nnx388a\": _2, \"臺灣\": _2, \"xn--j1amh\": _2, \"укр\": _2, \"xn--mgb2ddes\": _2, \"اليمن\": _2, \"xxx\": _2, \"ye\": _5, \"za\": [0, { \"ac\": _2, \"agric\": _2, \"alt\": _2, \"co\": _2, \"edu\": _2, \"gov\": _2, \"grondar\": _2, \"law\": _2, \"mil\": _2, \"net\": _2, \"ngo\": _2, \"nic\": _2, \"nis\": _2, \"nom\": _2, \"org\": _2, \"school\": _2, \"tm\": _2, \"web\": _2 }], \"zm\": [1, { \"ac\": _2, \"biz\": _2, \"co\": _2, \"com\": _2, \"edu\": _2, \"gov\": _2, \"info\": _2, \"mil\": _2, \"net\": _2, \"org\": _2, \"sch\": _2 }], \"zw\": [1, { \"ac\": _2, \"co\": _2, \"gov\": _2, \"mil\": _2, \"org\": _2 }], \"aaa\": _2, \"aarp\": _2, \"abb\": _2, \"abbott\": _2, \"abbvie\": _2, \"abc\": _2, \"able\": _2, \"abogado\": _2, \"abudhabi\": _2, \"academy\": [1, { \"official\": _3 }], \"accenture\": _2, \"accountant\": _2, \"accountants\": _2, \"aco\": _2, \"actor\": _2, \"ads\": _2, \"adult\": _2, \"aeg\": _2, \"aetna\": _2, \"afl\": _2, \"africa\": _2, \"agakhan\": _2, \"agency\": _2, \"aig\": _2, \"airbus\": _2, \"airforce\": _2, \"airtel\": _2, \"akdn\": _2, \"alibaba\": _2, \"alipay\": _2, \"allfinanz\": _2, \"allstate\": _2, \"ally\": _2, \"alsace\": _2, \"alstom\": _2, \"amazon\": _2, \"americanexpress\": _2, \"americanfamily\": _2, \"amex\": _2, \"amfam\": _2, \"amica\": _2, \"amsterdam\": _2, \"analytics\": _2, \"android\": _2, \"anquan\": _2, \"anz\": _2, \"aol\": _2, \"apartments\": _2, \"app\": [1, { \"adaptable\": _3, \"aiven\": _3, \"beget\": _6, \"brave\": _7, \"clerk\": _3, \"clerkstage\": _3, \"cloudflare\": _3, \"wnext\": _3, \"csb\": [2, { \"preview\": _3 }], \"convex\": _3, \"corespeed\": _3, \"deta\": _3, \"ondigitalocean\": _3, \"easypanel\": _3, \"encr\": [2, { \"frontend\": _3 }], \"evervault\": _8, \"expo\": [2, { \"on\": _3, \"staging\": [2, { \"on\": _3 }] }], \"edgecompute\": _3, \"on-fleek\": _3, \"flutterflow\": _3, \"sprites\": _3, \"e2b\": _3, \"framer\": _3, \"gadget\": _3, \"github\": _3, \"hosted\": _6, \"run\": [0, { \"*\": _3, \"mtls\": _6 }], \"web\": _3, \"hackclub\": _3, \"hasura\": _3, \"onhercules\": _3, \"botdash\": _3, \"shiptoday\": _3, \"leapcell\": _3, \"loginline\": _3, \"lovable\": _3, \"luyani\": _3, \"magicpatterns\": _3, \"medusajs\": _3, \"messerli\": _3, \"miren\": _3, \"mocha\": _3, \"netlify\": _3, \"ngrok\": _3, \"ngrok-free\": _3, \"developer\": _6, \"noop\": _3, \"northflank\": _6, \"pplx\": _3, \"upsun\": _6, \"railway\": [0, { \"up\": _3 }], \"replit\": _9, \"nyat\": _3, \"snowflake\": [0, { \"*\": _3, \"privatelink\": _6 }], \"streamlit\": _3, \"spawnbase\": _3, \"telebit\": _3, \"typedream\": _3, \"vercel\": _3, \"wal\": _3, \"wasmer\": _3, \"bookonline\": _3, \"windsurf\": _3, \"base44\": _3, \"zeabur\": _3, \"zerops\": _6 }], \"apple\": [1, { \"int\": [2, { \"cloud\": [0, { \"*\": _3, \"r\": [0, { \"*\": _3, \"ap-north-1\": _6, \"ap-south-1\": _6, \"ap-south-2\": _6, \"eu-central-1\": _6, \"eu-north-1\": _6, \"us-central-1\": _6, \"us-central-2\": _6, \"us-east-1\": _6, \"us-east-2\": _6, \"us-west-1\": _6, \"us-west-2\": _6, \"us-west-3\": _6 }] }] }] }], \"aquarelle\": _2, \"arab\": _2, \"aramco\": _2, \"archi\": _2, \"army\": _2, \"art\": _2, \"arte\": _2, \"asda\": _2, \"associates\": _2, \"athleta\": _2, \"attorney\": _2, \"auction\": _2, \"audi\": _2, \"audible\": _2, \"audio\": _2, \"auspost\": _2, \"author\": _2, \"auto\": _2, \"autos\": _2, \"aws\": [1, { \"on\": [0, { \"af-south-1\": _11, \"ap-east-1\": _11, \"ap-northeast-1\": _11, \"ap-northeast-2\": _11, \"ap-northeast-3\": _11, \"ap-south-1\": _11, \"ap-south-2\": _12, \"ap-southeast-1\": _11, \"ap-southeast-2\": _11, \"ap-southeast-3\": _11, \"ap-southeast-4\": _12, \"ap-southeast-5\": _12, \"ca-central-1\": _11, \"ca-west-1\": _12, \"eu-central-1\": _11, \"eu-central-2\": _12, \"eu-north-1\": _11, \"eu-south-1\": _11, \"eu-south-2\": _12, \"eu-west-1\": _11, \"eu-west-2\": _11, \"eu-west-3\": _11, \"il-central-1\": _12, \"me-central-1\": _12, \"me-south-1\": _11, \"sa-east-1\": _11, \"us-east-1\": _11, \"us-east-2\": _11, \"us-west-1\": _11, \"us-west-2\": _11, \"ap-southeast-7\": _13, \"mx-central-1\": _13, \"us-gov-east-1\": _14, \"us-gov-west-1\": _14 }], \"sagemaker\": [0, { \"ap-northeast-1\": _16, \"ap-northeast-2\": _16, \"ap-south-1\": _16, \"ap-southeast-1\": _16, \"ap-southeast-2\": _16, \"ca-central-1\": _18, \"eu-central-1\": _16, \"eu-west-1\": _16, \"eu-west-2\": _16, \"us-east-1\": _18, \"us-east-2\": _18, \"us-west-2\": _18, \"af-south-1\": _15, \"ap-east-1\": _15, \"ap-northeast-3\": _15, \"ap-south-2\": _17, \"ap-southeast-3\": _15, \"ap-southeast-4\": _17, \"ca-west-1\": [0, { \"notebook\": _3, \"notebook-fips\": _3 }], \"eu-central-2\": _15, \"eu-north-1\": _15, \"eu-south-1\": _15, \"eu-south-2\": _15, \"eu-west-3\": _15, \"il-central-1\": _15, \"me-central-1\": _15, \"me-south-1\": _15, \"sa-east-1\": _15, \"us-gov-east-1\": _19, \"us-gov-west-1\": _19, \"us-west-1\": [0, { \"notebook\": _3, \"notebook-fips\": _3, \"studio\": _3 }], \"experiments\": _6 }], \"repost\": [0, { \"private\": _6 }] }], \"axa\": _2, \"azure\": _2, \"baby\": _2, \"baidu\": _2, \"banamex\": _2, \"band\": _2, \"bank\": _2, \"bar\": _2, \"barcelona\": _2, \"barclaycard\": _2, \"barclays\": _2, \"barefoot\": _2, \"bargains\": _2, \"baseball\": _2, \"basketball\": [1, { \"aus\": _3, \"nz\": _3 }], \"bauhaus\": _2, \"bayern\": _2, \"bbc\": _2, \"bbt\": _2, \"bbva\": _2, \"bcg\": _2, \"bcn\": _2, \"beats\": _2, \"beauty\": _2, \"beer\": _2, \"berlin\": _2, \"best\": _2, \"bestbuy\": _2, \"bet\": _2, \"bharti\": _2, \"bible\": _2, \"bid\": _2, \"bike\": _2, \"bing\": _2, \"bingo\": _2, \"bio\": _2, \"black\": _2, \"blackfriday\": _2, \"blockbuster\": _2, \"blog\": _2, \"bloomberg\": _2, \"blue\": _2, \"bms\": _2, \"bmw\": _2, \"bnpparibas\": _2, \"boats\": _2, \"boehringer\": _2, \"bofa\": _2, \"bom\": _2, \"bond\": _2, \"boo\": _2, \"book\": _2, \"booking\": _2, \"bosch\": _2, \"bostik\": _2, \"boston\": _2, \"bot\": _2, \"boutique\": _2, \"box\": _2, \"bradesco\": _2, \"bridgestone\": _2, \"broadway\": _2, \"broker\": _2, \"brother\": _2, \"brussels\": _2, \"build\": [1, { \"shiptoday\": _3, \"v0\": _3, \"windsurf\": _3 }], \"builders\": [1, { \"cloudsite\": _3 }], \"business\": _22, \"buy\": _2, \"buzz\": _2, \"bzh\": _2, \"cab\": _2, \"cafe\": _2, \"cal\": _2, \"call\": _2, \"calvinklein\": _2, \"cam\": _2, \"camera\": _2, \"camp\": [1, { \"emf\": [0, { \"at\": _3 }] }], \"canon\": _2, \"capetown\": _2, \"capital\": _2, \"capitalone\": _2, \"car\": _2, \"caravan\": _2, \"cards\": _2, \"care\": _2, \"career\": _2, \"careers\": _2, \"cars\": _2, \"casa\": [1, { \"nabu\": [0, { \"ui\": _3 }] }], \"case\": [1, { \"sav\": _3 }], \"cash\": _2, \"casino\": _2, \"catering\": _2, \"catholic\": _2, \"cba\": _2, \"cbn\": _2, \"cbre\": _2, \"center\": _2, \"ceo\": _2, \"cern\": _2, \"cfa\": _2, \"cfd\": _2, \"chanel\": _2, \"channel\": _2, \"charity\": _2, \"chase\": _2, \"chat\": _2, \"cheap\": _2, \"chintai\": _2, \"christmas\": _2, \"chrome\": _2, \"church\": _2, \"cipriani\": _2, \"circle\": _2, \"cisco\": _2, \"citadel\": _2, \"citi\": _2, \"citic\": _2, \"city\": _2, \"claims\": _2, \"cleaning\": _2, \"click\": _2, \"clinic\": _2, \"clinique\": _2, \"clothing\": _2, \"cloud\": [1, { \"antagonist\": _3, \"begetcdn\": _6, \"convex\": _24, \"elementor\": _3, \"emergent\": _3, \"encoway\": [0, { \"eu\": _3 }], \"statics\": _6, \"ravendb\": _3, \"axarnet\": [0, { \"es-1\": _3 }], \"diadem\": _3, \"jelastic\": [0, { \"vip\": _3 }], \"jele\": _3, \"jenv-aruba\": [0, { \"aruba\": [0, { \"eur\": [0, { \"it1\": _3 }] }], \"it1\": _3 }], \"keliweb\": [2, { \"cs\": _3 }], \"oxa\": [2, { \"tn\": _3, \"uk\": _3 }], \"primetel\": [2, { \"uk\": _3 }], \"reclaim\": [0, { \"ca\": _3, \"uk\": _3, \"us\": _3 }], \"trendhosting\": [0, { \"ch\": _3, \"de\": _3 }], \"jote\": _3, \"jotelulu\": _3, \"kuleuven\": _3, \"laravel\": _3, \"linkyard\": _3, \"magentosite\": _6, \"matlab\": _3, \"observablehq\": _3, \"perspecta\": _3, \"vapor\": _3, \"on-rancher\": _6, \"scw\": [0, { \"baremetal\": [0, { \"fr-par-1\": _3, \"fr-par-2\": _3, \"nl-ams-1\": _3 }], \"fr-par\": [0, { \"cockpit\": _3, \"ddl\": _3, \"dtwh\": _3, \"fnc\": [2, { \"functions\": _3 }], \"ifr\": _3, \"k8s\": _25, \"kafk\": _3, \"mgdb\": _3, \"rdb\": _3, \"s3\": _3, \"s3-website\": _3, \"scbl\": _3, \"whm\": _3 }], \"instances\": [0, { \"priv\": _3, \"pub\": _3 }], \"k8s\": _3, \"nl-ams\": [0, { \"cockpit\": _3, \"ddl\": _3, \"dtwh\": _3, \"ifr\": _3, \"k8s\": _25, \"kafk\": _3, \"mgdb\": _3, \"rdb\": _3, \"s3\": _3, \"s3-website\": _3, \"scbl\": _3, \"whm\": _3 }], \"pl-waw\": [0, { \"cockpit\": _3, \"ddl\": _3, \"dtwh\": _3, \"ifr\": _3, \"k8s\": _25, \"kafk\": _3, \"mgdb\": _3, \"rdb\": _3, \"s3\": _3, \"s3-website\": _3, \"scbl\": _3 }], \"scalebook\": _3, \"smartlabeling\": _3 }], \"servebolt\": _3, \"onstackit\": [0, { \"runs\": _3 }], \"trafficplex\": _3, \"unison-services\": _3, \"urown\": _3, \"voorloper\": _3, \"zap\": _3 }], \"club\": [1, { \"cloudns\": _3, \"jele\": _3, \"barsy\": _3 }], \"clubmed\": _2, \"coach\": _2, \"codes\": [1, { \"owo\": _6 }], \"coffee\": _2, \"college\": _2, \"cologne\": _2, \"commbank\": _2, \"community\": [1, { \"nog\": _3, \"ravendb\": _3, \"myforum\": _3 }], \"company\": [1, { \"mybox\": _3 }], \"compare\": _2, \"computer\": _2, \"comsec\": _2, \"condos\": _2, \"construction\": _2, \"consulting\": _2, \"contact\": _2, \"contractors\": _2, \"cooking\": _2, \"cool\": [1, { \"elementor\": _3, \"de\": _3 }], \"corsica\": _2, \"country\": _2, \"coupon\": _2, \"coupons\": _2, \"courses\": _2, \"cpa\": _2, \"credit\": _2, \"creditcard\": _2, \"creditunion\": _2, \"cricket\": _2, \"crown\": _2, \"crs\": _2, \"cruise\": _2, \"cruises\": _2, \"cuisinella\": _2, \"cymru\": _2, \"cyou\": _2, \"dad\": _2, \"dance\": _2, \"data\": _2, \"date\": _2, \"dating\": _2, \"datsun\": _2, \"day\": _2, \"dclk\": _2, \"dds\": _2, \"deal\": _2, \"dealer\": _2, \"deals\": _2, \"degree\": _2, \"delivery\": _2, \"dell\": _2, \"deloitte\": _2, \"delta\": _2, \"democrat\": _2, \"dental\": _2, \"dentist\": _2, \"desi\": _2, \"design\": [1, { \"graphic\": _3, \"bss\": _3 }], \"dev\": [1, { \"myaddr\": _3, \"panel\": _3, \"bearblog\": _3, \"brave\": _7, \"lcl\": _6, \"lclstage\": _6, \"stg\": _6, \"stgstage\": _6, \"pages\": _3, \"r2\": _3, \"workers\": _3, \"deno\": _3, \"deno-staging\": _3, \"deta\": _3, \"lp\": [2, { \"api\": _3, \"objects\": _3 }], \"evervault\": _8, \"payload\": _3, \"fly\": _3, \"githubpreview\": _3, \"gateway\": _6, \"grebedoc\": _3, \"botdash\": _3, \"inbrowser\": _6, \"is-a-good\": _3, \"iserv\": _3, \"leapcell\": _3, \"runcontainers\": _3, \"localcert\": [0, { \"user\": _6 }], \"loginline\": _3, \"barsy\": _3, \"mediatech\": _3, \"mocha-sandbox\": _3, \"modx\": _3, \"ngrok\": _3, \"ngrok-free\": _3, \"is-a-fullstack\": _3, \"is-cool\": _3, \"is-not-a\": _3, \"localplayer\": _3, \"xmit\": _3, \"platter-app\": _3, \"replit\": [2, { \"archer\": _3, \"bones\": _3, \"canary\": _3, \"global\": _3, \"hacker\": _3, \"id\": _3, \"janeway\": _3, \"kim\": _3, \"kira\": _3, \"kirk\": _3, \"odo\": _3, \"paris\": _3, \"picard\": _3, \"pike\": _3, \"prerelease\": _3, \"reed\": _3, \"riker\": _3, \"sisko\": _3, \"spock\": _3, \"staging\": _3, \"sulu\": _3, \"tarpit\": _3, \"teams\": _3, \"tucker\": _3, \"wesley\": _3, \"worf\": _3 }], \"crm\": [0, { \"aa\": _6, \"ab\": _6, \"ac\": _6, \"ad\": _6, \"ae\": _6, \"af\": _6, \"ci\": _6, \"d\": _6, \"pa\": _6, \"pb\": _6, \"pc\": _6, \"pd\": _6, \"pe\": _6, \"pf\": _6, \"w\": _6, \"wa\": _6, \"wb\": _6, \"wc\": _6, \"wd\": _6, \"we\": _6, \"wf\": _6 }], \"erp\": _51, \"vercel\": _3, \"webhare\": _6, \"hrsn\": _3, \"is-a\": _3 }], \"dhl\": _2, \"diamonds\": _2, \"diet\": _2, \"digital\": [1, { \"cloudapps\": [2, { \"london\": _3 }] }], \"direct\": [1, { \"libp2p\": _3 }], \"directory\": _2, \"discount\": _2, \"discover\": _2, \"dish\": _2, \"diy\": [1, { \"discourse\": _3, \"imagine\": _3 }], \"dnp\": _2, \"docs\": _2, \"doctor\": _2, \"dog\": _2, \"domains\": _2, \"dot\": _2, \"download\": _2, \"drive\": _2, \"dtv\": _2, \"dubai\": _2, \"dupont\": _2, \"durban\": _2, \"dvag\": _2, \"dvr\": _2, \"earth\": _2, \"eat\": _2, \"eco\": _2, \"edeka\": _2, \"education\": _22, \"email\": [1, { \"crisp\": [0, { \"on\": _3 }], \"intouch\": _3, \"tawk\": _53, \"tawkto\": _53 }], \"emerck\": _2, \"energy\": _2, \"engineer\": _2, \"engineering\": _2, \"enterprises\": _2, \"epson\": _2, \"equipment\": _2, \"ericsson\": _2, \"erni\": _2, \"esq\": _2, \"estate\": [1, { \"compute\": _6 }], \"eurovision\": _2, \"eus\": [1, { \"party\": _54 }], \"events\": [1, { \"koobin\": _3, \"co\": _3 }], \"exchange\": _2, \"expert\": _2, \"exposed\": _2, \"express\": _2, \"extraspace\": _2, \"fage\": _2, \"fail\": _2, \"fairwinds\": _2, \"faith\": _2, \"family\": _2, \"fan\": _2, \"fans\": _2, \"farm\": [1, { \"storj\": _3 }], \"farmers\": _2, \"fashion\": _2, \"fast\": _2, \"fedex\": _2, \"feedback\": _2, \"ferrari\": _2, \"ferrero\": _2, \"fidelity\": _2, \"fido\": _2, \"film\": _2, \"final\": _2, \"finance\": _2, \"financial\": _22, \"fire\": _2, \"firestone\": _2, \"firmdale\": _2, \"fish\": _2, \"fishing\": _2, \"fit\": _2, \"fitness\": _2, \"flickr\": _2, \"flights\": _2, \"flir\": _2, \"florist\": _2, \"flowers\": _2, \"fly\": _2, \"foo\": _2, \"food\": _2, \"football\": _2, \"ford\": _2, \"forex\": _2, \"forsale\": _2, \"forum\": _2, \"foundation\": _2, \"fox\": _2, \"free\": _2, \"fresenius\": _2, \"frl\": _2, \"frogans\": _2, \"frontier\": _2, \"ftr\": _2, \"fujitsu\": _2, \"fun\": _55, \"fund\": _2, \"furniture\": _2, \"futbol\": _2, \"fyi\": _2, \"gal\": _2, \"gallery\": _2, \"gallo\": _2, \"gallup\": _2, \"game\": _2, \"games\": [1, { \"pley\": _3, \"sheezy\": _3 }], \"gap\": _2, \"garden\": _2, \"gay\": [1, { \"pages\": _3 }], \"gbiz\": _2, \"gdn\": [1, { \"cnpy\": _3 }], \"gea\": _2, \"gent\": _2, \"genting\": _2, \"george\": _2, \"ggee\": _2, \"gift\": _2, \"gifts\": _2, \"gives\": _2, \"giving\": _2, \"glass\": _2, \"gle\": _2, \"global\": [1, { \"appwrite\": _3 }], \"globo\": _2, \"gmail\": _2, \"gmbh\": _2, \"gmo\": _2, \"gmx\": _2, \"godaddy\": _2, \"gold\": _2, \"goldpoint\": _2, \"golf\": _2, \"goodyear\": _2, \"goog\": [1, { \"cloud\": _3, \"translate\": _3, \"usercontent\": _6 }], \"google\": _2, \"gop\": _2, \"got\": _2, \"grainger\": _2, \"graphics\": _2, \"gratis\": _2, \"green\": _2, \"gripe\": _2, \"grocery\": _2, \"group\": [1, { \"discourse\": _3 }], \"gucci\": _2, \"guge\": _2, \"guide\": _2, \"guitars\": _2, \"guru\": _2, \"hair\": _2, \"hamburg\": _2, \"hangout\": _2, \"haus\": _2, \"hbo\": _2, \"hdfc\": _2, \"hdfcbank\": _2, \"health\": [1, { \"hra\": _3 }], \"healthcare\": _2, \"help\": _2, \"helsinki\": _2, \"here\": _2, \"hermes\": _2, \"hiphop\": _2, \"hisamitsu\": _2, \"hitachi\": _2, \"hiv\": _2, \"hkt\": _2, \"hockey\": _2, \"holdings\": _2, \"holiday\": _2, \"homedepot\": _2, \"homegoods\": _2, \"homes\": _2, \"homesense\": _2, \"honda\": _2, \"horse\": _2, \"hospital\": _2, \"host\": [1, { \"cloudaccess\": _3, \"freesite\": _3, \"easypanel\": _3, \"emergent\": _3, \"fastvps\": _3, \"myfast\": _3, \"gadget\": _3, \"tempurl\": _3, \"wpmudev\": _3, \"iserv\": _3, \"jele\": _3, \"mircloud\": _3, \"bolt\": _3, \"wp2\": _3, \"half\": _3 }], \"hosting\": [1, { \"opencraft\": _3 }], \"hot\": _2, \"hotel\": _2, \"hotels\": _2, \"hotmail\": _2, \"house\": _2, \"how\": _2, \"hsbc\": _2, \"hughes\": _2, \"hyatt\": _2, \"hyundai\": _2, \"ibm\": _2, \"icbc\": _2, \"ice\": _2, \"icu\": _2, \"ieee\": _2, \"ifm\": _2, \"ikano\": _2, \"imamat\": _2, \"imdb\": _2, \"immo\": _2, \"immobilien\": _2, \"inc\": _2, \"industries\": _2, \"infiniti\": _2, \"ing\": _2, \"ink\": _2, \"institute\": _2, \"insurance\": _2, \"insure\": _2, \"international\": _2, \"intuit\": _2, \"investments\": _2, \"ipiranga\": _2, \"irish\": _2, \"ismaili\": _2, \"ist\": _2, \"istanbul\": _2, \"itau\": _2, \"itv\": _2, \"jaguar\": _2, \"java\": _2, \"jcb\": _2, \"jeep\": _2, \"jetzt\": _2, \"jewelry\": _2, \"jio\": _2, \"jll\": _2, \"jmp\": _2, \"jnj\": _2, \"joburg\": _2, \"jot\": _2, \"joy\": _2, \"jpmorgan\": _2, \"jprs\": _2, \"juegos\": _2, \"juniper\": _2, \"kaufen\": _2, \"kddi\": _2, \"kerryhotels\": _2, \"kerryproperties\": _2, \"kfh\": _2, \"kia\": _2, \"kids\": _2, \"kim\": _2, \"kindle\": _2, \"kitchen\": _2, \"kiwi\": _2, \"koeln\": _2, \"komatsu\": _2, \"kosher\": _2, \"kpmg\": _2, \"kpn\": _2, \"krd\": [1, { \"co\": _3, \"edu\": _3 }], \"kred\": _2, \"kuokgroup\": _2, \"kyoto\": _2, \"lacaixa\": _2, \"lamborghini\": _2, \"lamer\": _2, \"land\": _2, \"landrover\": _2, \"lanxess\": _2, \"lasalle\": _2, \"lat\": _2, \"latino\": _2, \"latrobe\": _2, \"law\": _2, \"lawyer\": _2, \"lds\": _2, \"lease\": _2, \"leclerc\": _2, \"lefrak\": _2, \"legal\": _2, \"lego\": _2, \"lexus\": _2, \"lgbt\": _2, \"lidl\": _2, \"life\": _2, \"lifeinsurance\": _2, \"lifestyle\": _2, \"lighting\": _2, \"like\": _2, \"lilly\": _2, \"limited\": _2, \"limo\": _2, \"lincoln\": _2, \"link\": [1, { \"myfritz\": _3, \"cyon\": _3, \"joinmc\": _3, \"dweb\": _6, \"inbrowser\": _6, \"keenetic\": _3, \"nftstorage\": _62, \"mypep\": _3, \"storacha\": _62, \"w3s\": _62 }], \"live\": [1, { \"aem\": _3, \"hlx\": _3, \"ewp\": _6 }], \"living\": _2, \"llc\": _2, \"llp\": _2, \"loan\": _2, \"loans\": _2, \"locker\": _2, \"locus\": _2, \"lol\": [1, { \"omg\": _3 }], \"london\": _2, \"lotte\": _2, \"lotto\": _2, \"love\": _2, \"lpl\": _2, \"lplfinancial\": _2, \"ltd\": _2, \"ltda\": _2, \"lundbeck\": _2, \"luxe\": _2, \"luxury\": _2, \"madrid\": _2, \"maif\": _2, \"maison\": _2, \"makeup\": _2, \"man\": _2, \"management\": _2, \"mango\": _2, \"map\": _2, \"market\": _2, \"marketing\": _2, \"markets\": _2, \"marriott\": _2, \"marshalls\": _2, \"mattel\": _2, \"mba\": _2, \"mckinsey\": _2, \"med\": _2, \"media\": _63, \"meet\": _2, \"melbourne\": _2, \"meme\": _2, \"memorial\": _2, \"men\": _2, \"menu\": [1, { \"barsy\": _3, \"barsyonline\": _3 }], \"merck\": _2, \"merckmsd\": _2, \"miami\": _2, \"microsoft\": _2, \"mini\": _2, \"mint\": _2, \"mit\": _2, \"mitsubishi\": _2, \"mlb\": _2, \"mls\": _2, \"mma\": _2, \"mobile\": _2, \"moda\": _2, \"moe\": _2, \"moi\": _2, \"mom\": _2, \"monash\": _2, \"money\": _2, \"monster\": _2, \"mormon\": _2, \"mortgage\": _2, \"moscow\": _2, \"moto\": _2, \"motorcycles\": _2, \"mov\": _2, \"movie\": _2, \"msd\": _2, \"mtn\": _2, \"mtr\": _2, \"music\": _2, \"nab\": _2, \"nagoya\": _2, \"navy\": _2, \"nba\": _2, \"nec\": _2, \"netbank\": _2, \"netflix\": _2, \"network\": [1, { \"aem\": _3, \"alces\": _6, \"appwrite\": _3, \"co\": _3, \"arvo\": _3, \"azimuth\": _3, \"tlon\": _3 }], \"neustar\": _2, \"new\": _2, \"news\": [1, { \"noticeable\": _3 }], \"next\": _2, \"nextdirect\": _2, \"nexus\": _2, \"nfl\": _2, \"ngo\": _2, \"nhk\": _2, \"nico\": _2, \"nike\": _2, \"nikon\": _2, \"ninja\": _2, \"nissan\": _2, \"nissay\": _2, \"nokia\": _2, \"norton\": _2, \"now\": _2, \"nowruz\": _2, \"nowtv\": _2, \"nra\": _2, \"nrw\": _2, \"ntt\": _2, \"nyc\": _2, \"obi\": _2, \"observer\": _2, \"office\": _2, \"okinawa\": _2, \"olayan\": _2, \"olayangroup\": _2, \"ollo\": _2, \"omega\": _2, \"one\": [1, { \"kin\": _6, \"service\": _3, \"website\": _3 }], \"ong\": _2, \"onl\": _2, \"online\": [1, { \"eero\": _3, \"eero-stage\": _3, \"websitebuilder\": _3, \"leapcell\": _3, \"barsy\": _3 }], \"ooo\": _2, \"open\": _2, \"oracle\": _2, \"orange\": [1, { \"tech\": _3 }], \"organic\": _2, \"origins\": _2, \"osaka\": _2, \"otsuka\": _2, \"ott\": _2, \"ovh\": [1, { \"nerdpol\": _3 }], \"page\": [1, { \"aem\": _3, \"hlx\": _3, \"codeberg\": _3, \"deuxfleurs\": _3, \"mybox\": _3, \"heyflow\": _3, \"prvcy\": _3, \"rocky\": _3, \"statichost\": _3, \"pdns\": _3, \"plesk\": _3 }], \"panasonic\": _2, \"paris\": _2, \"pars\": _2, \"partners\": _2, \"parts\": _2, \"party\": _2, \"pay\": _2, \"pccw\": _2, \"pet\": _2, \"pfizer\": _2, \"pharmacy\": _2, \"phd\": _2, \"philips\": _2, \"phone\": _2, \"photo\": _2, \"photography\": _2, \"photos\": _63, \"physio\": _2, \"pics\": _2, \"pictet\": _2, \"pictures\": [1, { \"1337\": _3 }], \"pid\": _2, \"pin\": _2, \"ping\": _2, \"pink\": _2, \"pioneer\": _2, \"pizza\": [1, { \"ngrok\": _3 }], \"place\": _22, \"play\": _2, \"playstation\": _2, \"plumbing\": _2, \"plus\": [1, { \"playit\": [2, { \"at\": _6, \"with\": _3 }] }], \"pnc\": _2, \"pohl\": _2, \"poker\": _2, \"politie\": _2, \"porn\": _2, \"praxi\": _2, \"press\": _2, \"prime\": _2, \"prod\": _2, \"productions\": _2, \"prof\": _2, \"progressive\": _2, \"promo\": _2, \"properties\": _2, \"property\": _2, \"protection\": _2, \"pru\": _2, \"prudential\": _2, \"pub\": [1, { \"id\": _6, \"kin\": _6, \"barsy\": _3 }], \"pwc\": _2, \"qpon\": _2, \"quebec\": _2, \"quest\": _2, \"racing\": _2, \"radio\": _2, \"read\": _2, \"realestate\": _2, \"realtor\": _2, \"realty\": _2, \"recipes\": _2, \"red\": _2, \"redumbrella\": _2, \"rehab\": _2, \"reise\": _2, \"reisen\": _2, \"reit\": _2, \"reliance\": _2, \"ren\": _2, \"rent\": _2, \"rentals\": _2, \"repair\": _2, \"report\": _2, \"republican\": _2, \"rest\": _2, \"restaurant\": _2, \"review\": _2, \"reviews\": [1, { \"aem\": _3 }], \"rexroth\": _2, \"rich\": _2, \"richardli\": _2, \"ricoh\": _2, \"ril\": _2, \"rio\": _2, \"rip\": [1, { \"clan\": _3 }], \"rocks\": [1, { \"myddns\": _3, \"stackit\": _3, \"lima-city\": _3, \"webspace\": _3 }], \"rodeo\": _2, \"rogers\": _2, \"room\": _2, \"rsvp\": _2, \"rugby\": _2, \"ruhr\": _2, \"run\": [1, { \"appwrite\": _6, \"canva\": _3, \"development\": _3, \"ravendb\": _3, \"liara\": [2, { \"iran\": _3 }], \"lovable\": _3, \"needle\": _3, \"build\": _6, \"code\": _6, \"database\": _6, \"migration\": _6, \"onporter\": _3, \"repl\": _3, \"stackit\": _3, \"val\": _51, \"vercel\": _3, \"wix\": _3 }], \"rwe\": _2, \"ryukyu\": _2, \"saarland\": _2, \"safe\": _2, \"safety\": _2, \"sakura\": _2, \"sale\": _2, \"salon\": _2, \"samsclub\": _2, \"samsung\": _2, \"sandvik\": _2, \"sandvikcoromant\": _2, \"sanofi\": _2, \"sap\": _2, \"sarl\": _2, \"sas\": _2, \"save\": _2, \"saxo\": _2, \"sbi\": _2, \"sbs\": _2, \"scb\": _2, \"schaeffler\": _2, \"schmidt\": _2, \"scholarships\": _2, \"school\": _2, \"schule\": _2, \"schwarz\": _2, \"science\": _2, \"scot\": [1, { \"co\": _3, \"me\": _3, \"org\": _3, \"gov\": [2, { \"service\": _3 }] }], \"search\": _2, \"seat\": _2, \"secure\": _2, \"security\": _2, \"seek\": _2, \"select\": _2, \"sener\": _2, \"services\": [1, { \"loginline\": _3 }], \"seven\": _2, \"sew\": _2, \"sex\": _2, \"sexy\": _2, \"sfr\": _2, \"shangrila\": _2, \"sharp\": _2, \"shell\": _2, \"shia\": _2, \"shiksha\": _2, \"shoes\": _2, \"shop\": [1, { \"base\": _3, \"hoplix\": _3, \"barsy\": _3, \"barsyonline\": _3, \"shopware\": _3 }], \"shopping\": _2, \"shouji\": _2, \"show\": _55, \"silk\": _2, \"sina\": _2, \"singles\": _2, \"site\": [1, { \"square\": _3, \"canva\": _26, \"cloudera\": _6, \"convex\": _24, \"cyon\": _3, \"caffeine\": _3, \"fastvps\": _3, \"figma\": _3, \"figma-gov\": _3, \"preview\": _3, \"heyflow\": _3, \"jele\": _3, \"jouwweb\": _3, \"loginline\": _3, \"barsy\": _3, \"co\": _3, \"notion\": _3, \"omniwe\": _3, \"opensocial\": _3, \"madethis\": _3, \"support\": _3, \"platformsh\": _6, \"tst\": _6, \"byen\": _3, \"sol\": _3, \"srht\": _3, \"novecore\": _3, \"cpanel\": _3, \"wpsquared\": _3, \"sourcecraft\": _3 }], \"ski\": _2, \"skin\": _2, \"sky\": _2, \"skype\": _2, \"sling\": _2, \"smart\": _2, \"smile\": _2, \"sncf\": _2, \"soccer\": _2, \"social\": _2, \"softbank\": _2, \"software\": _2, \"sohu\": _2, \"solar\": _2, \"solutions\": _2, \"song\": _2, \"sony\": _2, \"soy\": _2, \"spa\": _2, \"space\": [1, { \"myfast\": _3, \"heiyu\": _3, \"hf\": [2, { \"static\": _3 }], \"app-ionos\": _3, \"project\": _3, \"uber\": _3, \"xs4all\": _3 }], \"sport\": _2, \"spot\": _2, \"srl\": _2, \"stada\": _2, \"staples\": _2, \"star\": _2, \"statebank\": _2, \"statefarm\": _2, \"stc\": _2, \"stcgroup\": _2, \"stockholm\": _2, \"storage\": _2, \"store\": [1, { \"barsy\": _3, \"sellfy\": _3, \"shopware\": _3, \"storebase\": _3 }], \"stream\": _2, \"studio\": _2, \"study\": _2, \"style\": _2, \"sucks\": _2, \"supplies\": _2, \"supply\": _2, \"support\": [1, { \"barsy\": _3 }], \"surf\": _2, \"surgery\": _2, \"suzuki\": _2, \"swatch\": _2, \"swiss\": _2, \"sydney\": _2, \"systems\": [1, { \"knightpoint\": _3, \"miren\": _3 }], \"tab\": _2, \"taipei\": _2, \"talk\": _2, \"taobao\": _2, \"target\": _2, \"tatamotors\": _2, \"tatar\": _2, \"tattoo\": _2, \"tax\": _2, \"taxi\": _2, \"tci\": _2, \"tdk\": _2, \"team\": [1, { \"discourse\": _3, \"jelastic\": _3 }], \"tech\": [1, { \"cleverapps\": _3 }], \"technology\": _22, \"temasek\": _2, \"tennis\": _2, \"teva\": _2, \"thd\": _2, \"theater\": _2, \"theatre\": _2, \"tiaa\": _2, \"tickets\": _2, \"tienda\": _2, \"tips\": _2, \"tires\": _2, \"tirol\": _2, \"tjmaxx\": _2, \"tjx\": _2, \"tkmaxx\": _2, \"tmall\": _2, \"today\": [1, { \"prequalifyme\": _3 }], \"tokyo\": _2, \"tools\": [1, { \"addr\": _50, \"myaddr\": _3 }], \"top\": [1, { \"ntdll\": _3, \"wadl\": _6 }], \"toray\": _2, \"toshiba\": _2, \"total\": _2, \"tours\": _2, \"town\": _2, \"toyota\": _2, \"toys\": _2, \"trade\": _2, \"trading\": _2, \"training\": _2, \"travel\": _2, \"travelers\": _2, \"travelersinsurance\": _2, \"trust\": _2, \"trv\": _2, \"tube\": _2, \"tui\": _2, \"tunes\": _2, \"tushu\": _2, \"tvs\": _2, \"ubank\": _2, \"ubs\": _2, \"unicom\": _2, \"university\": _2, \"uno\": _2, \"uol\": _2, \"ups\": _2, \"vacations\": _2, \"vana\": _2, \"vanguard\": _2, \"vegas\": _2, \"ventures\": _2, \"verisign\": _2, \"versicherung\": _2, \"vet\": _2, \"viajes\": _2, \"video\": _2, \"vig\": _2, \"viking\": _2, \"villas\": _2, \"vin\": _2, \"vip\": [1, { \"hidns\": _3 }], \"virgin\": _2, \"visa\": _2, \"vision\": _2, \"viva\": _2, \"vivo\": _2, \"vlaanderen\": _2, \"vodka\": _2, \"volvo\": _2, \"vote\": _2, \"voting\": _2, \"voto\": _2, \"voyage\": _2, \"wales\": _2, \"walmart\": _2, \"walter\": _2, \"wang\": _2, \"wanggou\": _2, \"watch\": _2, \"watches\": _2, \"weather\": _2, \"weatherchannel\": _2, \"webcam\": _2, \"weber\": _2, \"website\": _63, \"wed\": _2, \"wedding\": _2, \"weibo\": _2, \"weir\": _2, \"whoswho\": _2, \"wien\": _2, \"wiki\": _63, \"williamhill\": _2, \"win\": _2, \"windows\": _2, \"wine\": _2, \"winners\": _2, \"wme\": _2, \"woodside\": _2, \"work\": [1, { \"imagine-proxy\": _3 }], \"works\": _2, \"world\": _2, \"wow\": _2, \"wtc\": _2, \"wtf\": _2, \"xbox\": _2, \"xerox\": _2, \"xihuan\": _2, \"xin\": _2, \"xn--11b4c3d\": _2, \"कॉम\": _2, \"xn--1ck2e1b\": _2, \"セール\": _2, \"xn--1qqw23a\": _2, \"佛山\": _2, \"xn--30rr7y\": _2, \"慈善\": _2, \"xn--3bst00m\": _2, \"集团\": _2, \"xn--3ds443g\": _2, \"在线\": _2, \"xn--3pxu8k\": _2, \"点看\": _2, \"xn--42c2d9a\": _2, \"คอม\": _2, \"xn--45q11c\": _2, \"八卦\": _2, \"xn--4gbrim\": _2, \"موقع\": _2, \"xn--55qw42g\": _2, \"公益\": _2, \"xn--55qx5d\": _2, \"公司\": _2, \"xn--5su34j936bgsg\": _2, \"香格里拉\": _2, \"xn--5tzm5g\": _2, \"网站\": _2, \"xn--6frz82g\": _2, \"移动\": _2, \"xn--6qq986b3xl\": _2, \"我爱你\": _2, \"xn--80adxhks\": _2, \"москва\": _2, \"xn--80aqecdr1a\": _2, \"католик\": _2, \"xn--80asehdb\": _2, \"онлайн\": _2, \"xn--80aswg\": _2, \"сайт\": _2, \"xn--8y0a063a\": _2, \"联通\": _2, \"xn--9dbq2a\": _2, \"קום\": _2, \"xn--9et52u\": _2, \"时尚\": _2, \"xn--9krt00a\": _2, \"微博\": _2, \"xn--b4w605ferd\": _2, \"淡马锡\": _2, \"xn--bck1b9a5dre4c\": _2, \"ファッション\": _2, \"xn--c1avg\": _2, \"орг\": _2, \"xn--c2br7g\": _2, \"नेट\": _2, \"xn--cck2b3b\": _2, \"ストア\": _2, \"xn--cckwcxetd\": _2, \"アマゾン\": _2, \"xn--cg4bki\": _2, \"삼성\": _2, \"xn--czr694b\": _2, \"商标\": _2, \"xn--czrs0t\": _2, \"商店\": _2, \"xn--czru2d\": _2, \"商城\": _2, \"xn--d1acj3b\": _2, \"дети\": _2, \"xn--eckvdtc9d\": _2, \"ポイント\": _2, \"xn--efvy88h\": _2, \"新闻\": _2, \"xn--fct429k\": _2, \"家電\": _2, \"xn--fhbei\": _2, \"كوم\": _2, \"xn--fiq228c5hs\": _2, \"中文网\": _2, \"xn--fiq64b\": _2, \"中信\": _2, \"xn--fjq720a\": _2, \"娱乐\": _2, \"xn--flw351e\": _2, \"谷歌\": _2, \"xn--fzys8d69uvgm\": _2, \"電訊盈科\": _2, \"xn--g2xx48c\": _2, \"购物\": _2, \"xn--gckr3f0f\": _2, \"クラウド\": _2, \"xn--gk3at1e\": _2, \"通販\": _2, \"xn--hxt814e\": _2, \"网店\": _2, \"xn--i1b6b1a6a2e\": _2, \"संगठन\": _2, \"xn--imr513n\": _2, \"餐厅\": _2, \"xn--io0a7i\": _2, \"网络\": _2, \"xn--j1aef\": _2, \"ком\": _2, \"xn--jlq480n2rg\": _2, \"亚马逊\": _2, \"xn--jvr189m\": _2, \"食品\": _2, \"xn--kcrx77d1x4a\": _2, \"飞利浦\": _2, \"xn--kput3i\": _2, \"手机\": _2, \"xn--mgba3a3ejt\": _2, \"ارامكو\": _2, \"xn--mgba7c0bbn0a\": _2, \"العليان\": _2, \"xn--mgbab2bd\": _2, \"بازار\": _2, \"xn--mgbca7dzdo\": _2, \"ابوظبي\": _2, \"xn--mgbi4ecexp\": _2, \"كاثوليك\": _2, \"xn--mgbt3dhd\": _2, \"همراه\": _2, \"xn--mk1bu44c\": _2, \"닷컴\": _2, \"xn--mxtq1m\": _2, \"政府\": _2, \"xn--ngbc5azd\": _2, \"شبكة\": _2, \"xn--ngbe9e0a\": _2, \"بيتك\": _2, \"xn--ngbrx\": _2, \"عرب\": _2, \"xn--nqv7f\": _2, \"机构\": _2, \"xn--nqv7fs00ema\": _2, \"组织机构\": _2, \"xn--nyqy26a\": _2, \"健康\": _2, \"xn--otu796d\": _2, \"招聘\": _2, \"xn--p1acf\": [1, { \"xn--90amc\": _3, \"xn--j1aef\": _3, \"xn--j1ael8b\": _3, \"xn--h1ahn\": _3, \"xn--j1adp\": _3, \"xn--c1avg\": _3, \"xn--80aaa0cvac\": _3, \"xn--h1aliz\": _3, \"xn--90a1af\": _3, \"xn--41a\": _3 }], \"рус\": [1, { \"биз\": _3, \"ком\": _3, \"крым\": _3, \"мир\": _3, \"мск\": _3, \"орг\": _3, \"самара\": _3, \"сочи\": _3, \"спб\": _3, \"я\": _3 }], \"xn--pssy2u\": _2, \"大拿\": _2, \"xn--q9jyb4c\": _2, \"みんな\": _2, \"xn--qcka1pmc\": _2, \"グーグル\": _2, \"xn--rhqv96g\": _2, \"世界\": _2, \"xn--rovu88b\": _2, \"書籍\": _2, \"xn--ses554g\": _2, \"网址\": _2, \"xn--t60b56a\": _2, \"닷넷\": _2, \"xn--tckwe\": _2, \"コム\": _2, \"xn--tiq49xqyj\": _2, \"天主教\": _2, \"xn--unup4y\": _2, \"游戏\": _2, \"xn--vermgensberater-ctb\": _2, \"vermögensberater\": _2, \"xn--vermgensberatung-pwb\": _2, \"vermögensberatung\": _2, \"xn--vhquv\": _2, \"企业\": _2, \"xn--vuq861b\": _2, \"信息\": _2, \"xn--w4r85el8fhu5dnra\": _2, \"嘉里大酒店\": _2, \"xn--w4rs40l\": _2, \"嘉里\": _2, \"xn--xhq521b\": _2, \"广东\": _2, \"xn--zfr164b\": _2, \"政务\": _2, \"xyz\": [1, { \"caffeine\": _3, \"exe\": _3, \"botdash\": _3, \"telebit\": _6 }], \"yachts\": _2, \"yahoo\": _2, \"yamaxun\": _2, \"yandex\": _2, \"yodobashi\": _2, \"yoga\": _2, \"yokohama\": _2, \"you\": _2, \"youtube\": _2, \"yun\": _2, \"zappos\": _2, \"zara\": _2, \"zero\": _2, \"zip\": _2, \"zone\": [1, { \"stackit\": _3, \"lima\": _3, \"triton\": _6 }], \"zuerich\": _2 }];\n return rules;\n})();\n//# sourceMappingURL=trie.js.map","import { fastPathLookup, } from 'tldts-core';\nimport { exceptions, rules } from './data/trie';\n/**\n * Lookup parts of domain in Trie\n */\nfunction lookupInTrie(parts, trie, index, allowedMask) {\n let result = null;\n let node = trie;\n while (node !== undefined) {\n // We have a match!\n if ((node[0] & allowedMask) !== 0) {\n result = {\n index: index + 1,\n isIcann: (node[0] & 1 /* RULE_TYPE.ICANN */) !== 0,\n isPrivate: (node[0] & 2 /* RULE_TYPE.PRIVATE */) !== 0,\n };\n }\n // No more `parts` to look for\n if (index === -1) {\n break;\n }\n const succ = node[1];\n node = Object.prototype.hasOwnProperty.call(succ, parts[index])\n ? succ[parts[index]]\n : succ['*'];\n index -= 1;\n }\n return result;\n}\n/**\n * Check if `hostname` has a valid public suffix in `trie`.\n */\nexport default function suffixLookup(hostname, options, out) {\n var _a;\n if (fastPathLookup(hostname, options, out)) {\n return;\n }\n const hostnameParts = hostname.split('.');\n const allowedMask = (options.allowPrivateDomains ? 2 /* RULE_TYPE.PRIVATE */ : 0) |\n (options.allowIcannDomains ? 1 /* RULE_TYPE.ICANN */ : 0);\n // Look for exceptions\n const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);\n if (exceptionMatch !== null) {\n out.isIcann = exceptionMatch.isIcann;\n out.isPrivate = exceptionMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join('.');\n return;\n }\n // Look for a match in rules\n const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask);\n if (rulesMatch !== null) {\n out.isIcann = rulesMatch.isIcann;\n out.isPrivate = rulesMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(rulesMatch.index).join('.');\n return;\n }\n // No match found...\n // Prevailing rule is '*' so we consider the top-level domain to be the\n // public suffix of `hostname` (e.g.: 'example.org' => 'org').\n out.isIcann = false;\n out.isPrivate = false;\n out.publicSuffix = (_a = hostnameParts[hostnameParts.length - 1]) !== null && _a !== void 0 ? _a : null;\n}\n//# sourceMappingURL=suffix-trie.js.map","import { getEmptyResult, parseImpl, resetResult, } from 'tldts-core';\nimport suffixLookup from './src/suffix-trie';\n// For all methods but 'parse', it does not make sense to allocate an object\n// every single time to only return the value of a specific attribute. To avoid\n// this un-necessary allocation, we use a global object which is re-used.\nconst RESULT = getEmptyResult();\nexport function parse(url, options = {}) {\n return parseImpl(url, 5 /* FLAG.ALL */, suffixLookup, options, getEmptyResult());\n}\nexport function getHostname(url, options = {}) {\n /*@__INLINE__*/ resetResult(RESULT);\n return parseImpl(url, 0 /* FLAG.HOSTNAME */, suffixLookup, options, RESULT).hostname;\n}\nexport function getPublicSuffix(url, options = {}) {\n /*@__INLINE__*/ resetResult(RESULT);\n return parseImpl(url, 2 /* FLAG.PUBLIC_SUFFIX */, suffixLookup, options, RESULT)\n .publicSuffix;\n}\nexport function getDomain(url, options = {}) {\n /*@__INLINE__*/ resetResult(RESULT);\n return parseImpl(url, 3 /* FLAG.DOMAIN */, suffixLookup, options, RESULT).domain;\n}\nexport function getSubdomain(url, options = {}) {\n /*@__INLINE__*/ resetResult(RESULT);\n return parseImpl(url, 4 /* FLAG.SUB_DOMAIN */, suffixLookup, options, RESULT)\n .subdomain;\n}\nexport function getDomainWithoutSuffix(url, options = {}) {\n /*@__INLINE__*/ resetResult(RESULT);\n return parseImpl(url, 5 /* FLAG.ALL */, suffixLookup, options, RESULT)\n .domainWithoutSuffix;\n}\n//# sourceMappingURL=index.js.map","// lib/pathMatch.ts\nfunction pathMatch(reqPath, cookiePath) {\n if (cookiePath === reqPath) {\n return true;\n }\n const idx = reqPath.indexOf(cookiePath);\n if (idx === 0) {\n if (cookiePath[cookiePath.length - 1] === \"/\") {\n return true;\n }\n if (reqPath.startsWith(cookiePath) && reqPath[cookiePath.length] === \"/\") {\n return true;\n }\n }\n return false;\n}\n\n// lib/getPublicSuffix.ts\nimport { getDomain } from \"tldts\";\nvar SPECIAL_USE_DOMAINS = [\"local\", \"example\", \"invalid\", \"localhost\", \"test\"];\nvar SPECIAL_TREATMENT_DOMAINS = [\"localhost\", \"invalid\"];\nvar defaultGetPublicSuffixOptions = {\n allowSpecialUseDomain: false,\n ignoreError: false\n};\nfunction getPublicSuffix(domain, options = {}) {\n options = { ...defaultGetPublicSuffixOptions, ...options };\n const domainParts = domain.split(\".\");\n const topLevelDomain = domainParts[domainParts.length - 1];\n const allowSpecialUseDomain = !!options.allowSpecialUseDomain;\n const ignoreError = !!options.ignoreError;\n if (allowSpecialUseDomain && topLevelDomain !== void 0 && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) {\n if (domainParts.length > 1) {\n const secondLevelDomain = domainParts[domainParts.length - 2];\n return `${secondLevelDomain}.${topLevelDomain}`;\n } else if (SPECIAL_TREATMENT_DOMAINS.includes(topLevelDomain)) {\n return topLevelDomain;\n }\n }\n if (!ignoreError && topLevelDomain !== void 0 && SPECIAL_USE_DOMAINS.includes(topLevelDomain)) {\n throw new Error(\n `Cookie has domain set to the public suffix \"${topLevelDomain}\" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`\n );\n }\n const publicSuffix = getDomain(domain, {\n allowIcannDomains: true,\n allowPrivateDomains: true\n });\n if (publicSuffix) return publicSuffix;\n}\n\n// lib/permuteDomain.ts\nfunction permuteDomain(domain, allowSpecialUseDomain) {\n const pubSuf = getPublicSuffix(domain, {\n allowSpecialUseDomain\n });\n if (!pubSuf) {\n return void 0;\n }\n if (pubSuf == domain) {\n return [domain];\n }\n if (domain.slice(-1) == \".\") {\n domain = domain.slice(0, -1);\n }\n const prefix = domain.slice(0, -(pubSuf.length + 1));\n const parts = prefix.split(\".\").reverse();\n let cur = pubSuf;\n const permutations = [cur];\n while (parts.length) {\n const part = parts.shift();\n cur = `${part}.${cur}`;\n permutations.push(cur);\n }\n return permutations;\n}\n\n// lib/store.ts\nvar Store = class {\n constructor() {\n this.synchronous = false;\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n findCookie(_domain, _path, _key, _callback) {\n throw new Error(\"findCookie is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n findCookies(_domain, _path, _allowSpecialUseDomain = false, _callback) {\n throw new Error(\"findCookies is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n putCookie(_cookie, _callback) {\n throw new Error(\"putCookie is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n updateCookie(_oldCookie, _newCookie, _callback) {\n throw new Error(\"updateCookie is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeCookie(_domain, _path, _key, _callback) {\n throw new Error(\"removeCookie is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeCookies(_domain, _path, _callback) {\n throw new Error(\"removeCookies is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeAllCookies(_callback) {\n throw new Error(\"removeAllCookies is not implemented\");\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n getAllCookies(_callback) {\n throw new Error(\n \"getAllCookies is not implemented (therefore jar cannot be serialized)\"\n );\n }\n};\n\n// lib/utils.ts\nvar objectToString = (obj) => Object.prototype.toString.call(obj);\nvar safeArrayToString = (arr, seenArrays) => {\n if (typeof arr.join !== \"function\") return objectToString(arr);\n seenArrays.add(arr);\n const mapped = arr.map(\n (val) => val === null || val === void 0 || seenArrays.has(val) ? \"\" : safeToStringImpl(val, seenArrays)\n );\n return mapped.join();\n};\nvar safeToStringImpl = (val, seenArrays = /* @__PURE__ */ new WeakSet()) => {\n if (typeof val !== \"object\" || val === null) {\n return String(val);\n } else if (typeof val.toString === \"function\") {\n return Array.isArray(val) ? (\n // Arrays have a weird custom toString that we need to replicate\n safeArrayToString(val, seenArrays)\n ) : (\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n String(val)\n );\n } else {\n return objectToString(val);\n }\n};\nvar safeToString = (val) => safeToStringImpl(val);\nfunction createPromiseCallback(cb) {\n let callback;\n let resolve;\n let reject;\n const promise = new Promise((_resolve, _reject) => {\n resolve = _resolve;\n reject = _reject;\n });\n if (typeof cb === \"function\") {\n callback = (err, result) => {\n try {\n if (err) cb(err);\n else cb(null, result);\n } catch (e) {\n reject(e instanceof Error ? e : new Error());\n }\n };\n } else {\n callback = (err, result) => {\n try {\n if (err) reject(err);\n else resolve(result);\n } catch (e) {\n reject(e instanceof Error ? e : new Error());\n }\n };\n }\n return {\n promise,\n callback,\n resolve: (value) => {\n callback(null, value);\n return promise;\n },\n reject: (error) => {\n callback(error);\n return promise;\n }\n };\n}\nfunction inOperator(k, o) {\n return k in o;\n}\n\n// lib/memstore.ts\nvar MemoryCookieStore = class extends Store {\n /**\n * Create a new {@link MemoryCookieStore}.\n */\n constructor() {\n super();\n this.synchronous = true;\n this.idx = /* @__PURE__ */ Object.create(null);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n findCookie(domain, path, key, callback) {\n const promiseCallback = createPromiseCallback(callback);\n if (domain == null || path == null || key == null) {\n return promiseCallback.resolve(void 0);\n }\n const result = this.idx[domain]?.[path]?.[key];\n return promiseCallback.resolve(result);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n findCookies(domain, path, allowSpecialUseDomain = false, callback) {\n if (typeof allowSpecialUseDomain === \"function\") {\n callback = allowSpecialUseDomain;\n allowSpecialUseDomain = true;\n }\n const results = [];\n const promiseCallback = createPromiseCallback(callback);\n if (!domain) {\n return promiseCallback.resolve([]);\n }\n let pathMatcher;\n if (!path) {\n pathMatcher = function matchAll(domainIndex) {\n for (const curPath in domainIndex) {\n const pathIndex = domainIndex[curPath];\n for (const key in pathIndex) {\n const value = pathIndex[key];\n if (value) {\n results.push(value);\n }\n }\n }\n };\n } else {\n pathMatcher = function matchRFC(domainIndex) {\n for (const cookiePath in domainIndex) {\n if (pathMatch(path, cookiePath)) {\n const pathIndex = domainIndex[cookiePath];\n for (const key in pathIndex) {\n const value = pathIndex[key];\n if (value) {\n results.push(value);\n }\n }\n }\n }\n };\n }\n const domains = permuteDomain(domain, allowSpecialUseDomain) || [domain];\n const idx = this.idx;\n domains.forEach((curDomain) => {\n const domainIndex = idx[curDomain];\n if (!domainIndex) {\n return;\n }\n pathMatcher(domainIndex);\n });\n return promiseCallback.resolve(results);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n putCookie(cookie, callback) {\n const promiseCallback = createPromiseCallback(callback);\n const { domain, path, key } = cookie;\n if (domain == null || path == null || key == null) {\n return promiseCallback.resolve(void 0);\n }\n const domainEntry = this.idx[domain] ?? /* @__PURE__ */ Object.create(null);\n this.idx[domain] = domainEntry;\n const pathEntry = domainEntry[path] ?? /* @__PURE__ */ Object.create(null);\n domainEntry[path] = pathEntry;\n pathEntry[key] = cookie;\n return promiseCallback.resolve(void 0);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n updateCookie(_oldCookie, newCookie, callback) {\n if (callback) this.putCookie(newCookie, callback);\n else return this.putCookie(newCookie);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeCookie(domain, path, key, callback) {\n const promiseCallback = createPromiseCallback(callback);\n delete this.idx[domain]?.[path]?.[key];\n return promiseCallback.resolve(void 0);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeCookies(domain, path, callback) {\n const promiseCallback = createPromiseCallback(callback);\n const domainEntry = this.idx[domain];\n if (domainEntry) {\n if (path) {\n delete domainEntry[path];\n } else {\n delete this.idx[domain];\n }\n }\n return promiseCallback.resolve(void 0);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n removeAllCookies(callback) {\n const promiseCallback = createPromiseCallback(callback);\n this.idx = /* @__PURE__ */ Object.create(null);\n return promiseCallback.resolve(void 0);\n }\n /**\n * @internal No doc because this is an overload that supports the implementation\n */\n getAllCookies(callback) {\n const promiseCallback = createPromiseCallback(callback);\n const cookies = [];\n const idx = this.idx;\n const domains = Object.keys(idx);\n domains.forEach((domain) => {\n const domainEntry = idx[domain] ?? {};\n const paths = Object.keys(domainEntry);\n paths.forEach((path) => {\n const pathEntry = domainEntry[path] ?? {};\n const keys = Object.keys(pathEntry);\n keys.forEach((key) => {\n const keyEntry = pathEntry[key];\n if (keyEntry != null) {\n cookies.push(keyEntry);\n }\n });\n });\n });\n cookies.sort((a, b) => {\n return (a.creationIndex || 0) - (b.creationIndex || 0);\n });\n return promiseCallback.resolve(cookies);\n }\n};\n\n// lib/validators.ts\nfunction isNonEmptyString(data) {\n return isString(data) && data !== \"\";\n}\nfunction isEmptyString(data) {\n return data === \"\" || data instanceof String && data.toString() === \"\";\n}\nfunction isString(data) {\n return typeof data === \"string\" || data instanceof String;\n}\nfunction isObject(data) {\n return objectToString(data) === \"[object Object]\";\n}\nfunction validate(bool, cbOrMessage, message) {\n if (bool) return;\n const cb = typeof cbOrMessage === \"function\" ? cbOrMessage : void 0;\n let options = typeof cbOrMessage === \"function\" ? message : cbOrMessage;\n if (!isObject(options)) options = \"[object Object]\";\n const err = new ParameterError(safeToString(options));\n if (cb) cb(err);\n else throw err;\n}\nvar ParameterError = class extends Error {\n};\n\n// lib/version.ts\nvar version = \"6.0.1\";\n\n// lib/cookie/constants.ts\nvar PrefixSecurityEnum = {\n SILENT: \"silent\",\n STRICT: \"strict\",\n DISABLED: \"unsafe-disabled\"\n};\nObject.freeze(PrefixSecurityEnum);\nvar IP_V6_REGEX = `\n\\\\[?(?:\n(?:[a-fA-F\\\\d]{1,4}:){7}(?:[a-fA-F\\\\d]{1,4}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|:[a-fA-F\\\\d]{1,4}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){4}(?:(?::[a-fA-F\\\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){3}(?:(?::[a-fA-F\\\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){2}(?:(?::[a-fA-F\\\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\\\d]{1,4}:){1}(?:(?::[a-fA-F\\\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}|(?::[a-fA-F\\\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\\\]?\n`.replace(/\\s*\\/\\/.*$/gm, \"\").replace(/\\n/g, \"\").trim();\nvar IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`);\nvar IP_V4_REGEX = `(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])`;\nvar IP_V4_REGEX_OBJECT = new RegExp(`^${IP_V4_REGEX}$`);\n\n// lib/cookie/canonicalDomain.ts\nfunction domainToASCII(domain) {\n return new URL(`http://${domain}`).hostname;\n}\nfunction canonicalDomain(domainName) {\n if (domainName == null) {\n return void 0;\n }\n let str = domainName.trim().replace(/^\\./, \"\");\n if (IP_V6_REGEX_OBJECT.test(str)) {\n if (!str.startsWith(\"[\")) {\n str = \"[\" + str;\n }\n if (!str.endsWith(\"]\")) {\n str = str + \"]\";\n }\n return domainToASCII(str).slice(1, -1);\n }\n if (/[^\\u0001-\\u007f]/.test(str)) {\n return domainToASCII(str);\n }\n return str.toLowerCase();\n}\n\n// lib/cookie/formatDate.ts\nfunction formatDate(date) {\n return date.toUTCString();\n}\n\n// lib/cookie/parseDate.ts\nfunction parseDate(cookieDate) {\n if (!cookieDate) {\n return void 0;\n }\n const flags = {\n foundTime: void 0,\n foundDayOfMonth: void 0,\n foundMonth: void 0,\n foundYear: void 0\n };\n const dateTokens = cookieDate.split(DELIMITER).filter((token) => token.length > 0);\n for (const dateToken of dateTokens) {\n if (flags.foundTime === void 0) {\n const [, hours, minutes, seconds] = TIME.exec(dateToken) || [];\n if (hours != void 0 && minutes != void 0 && seconds != void 0) {\n const parsedHours = parseInt(hours, 10);\n const parsedMinutes = parseInt(minutes, 10);\n const parsedSeconds = parseInt(seconds, 10);\n if (!isNaN(parsedHours) && !isNaN(parsedMinutes) && !isNaN(parsedSeconds)) {\n flags.foundTime = {\n hours: parsedHours,\n minutes: parsedMinutes,\n seconds: parsedSeconds\n };\n continue;\n }\n }\n }\n if (flags.foundDayOfMonth === void 0 && DAY_OF_MONTH.test(dateToken)) {\n const dayOfMonth = parseInt(dateToken, 10);\n if (!isNaN(dayOfMonth)) {\n flags.foundDayOfMonth = dayOfMonth;\n continue;\n }\n }\n if (flags.foundMonth === void 0 && MONTH.test(dateToken)) {\n const month = months.indexOf(dateToken.substring(0, 3).toLowerCase());\n if (month >= 0 && month <= 11) {\n flags.foundMonth = month;\n continue;\n }\n }\n if (flags.foundYear === void 0 && YEAR.test(dateToken)) {\n const parsedYear = parseInt(dateToken, 10);\n if (!isNaN(parsedYear)) {\n flags.foundYear = parsedYear;\n continue;\n }\n }\n }\n if (flags.foundYear !== void 0 && flags.foundYear >= 70 && flags.foundYear <= 99) {\n flags.foundYear += 1900;\n }\n if (flags.foundYear !== void 0 && flags.foundYear >= 0 && flags.foundYear <= 69) {\n flags.foundYear += 2e3;\n }\n if (flags.foundDayOfMonth === void 0 || flags.foundMonth === void 0 || flags.foundYear === void 0 || flags.foundTime === void 0) {\n return void 0;\n }\n if (flags.foundDayOfMonth < 1 || flags.foundDayOfMonth > 31) {\n return void 0;\n }\n if (flags.foundYear < 1601) {\n return void 0;\n }\n if (flags.foundTime.hours > 23) {\n return void 0;\n }\n if (flags.foundTime.minutes > 59) {\n return void 0;\n }\n if (flags.foundTime.seconds > 59) {\n return void 0;\n }\n const date = new Date(\n Date.UTC(\n flags.foundYear,\n flags.foundMonth,\n flags.foundDayOfMonth,\n flags.foundTime.hours,\n flags.foundTime.minutes,\n flags.foundTime.seconds\n )\n );\n if (date.getUTCFullYear() !== flags.foundYear || date.getUTCMonth() !== flags.foundMonth || date.getUTCDate() !== flags.foundDayOfMonth) {\n return void 0;\n }\n return date;\n}\nvar months = [\n \"jan\",\n \"feb\",\n \"mar\",\n \"apr\",\n \"may\",\n \"jun\",\n \"jul\",\n \"aug\",\n \"sep\",\n \"oct\",\n \"nov\",\n \"dec\"\n];\nvar DELIMITER = /[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/;\nvar TIME = /^(\\d{1,2}):(\\d{1,2}):(\\d{1,2})(?:[\\x00-\\x2F\\x3A-\\xFF][\\x00-\\xFF]*)?$/;\nvar DAY_OF_MONTH = /^[0-9]{1,2}(?:[\\x00-\\x2F\\x3A-\\xFF][\\x00-\\xFF]*)?$/;\nvar MONTH = /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[\\x00-\\xFF]*$/i;\nvar YEAR = /^[\\x30-\\x39]{2,4}(?:[\\x00-\\x2F\\x3A-\\xFF][\\x00-\\xFF]*)?$/;\n\n// lib/cookie/cookie.ts\nvar COOKIE_OCTETS = /^[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]+$/;\nvar PATH_VALUE = /[\\x20-\\x3A\\x3C-\\x7E]+/;\nvar CONTROL_CHARS = /[\\x00-\\x1F]/;\nvar TERMINATORS = [\"\\n\", \"\\r\", \"\\0\"];\nfunction trimTerminator(str) {\n if (isEmptyString(str)) return str;\n for (let t = 0; t < TERMINATORS.length; t++) {\n const terminator = TERMINATORS[t];\n const terminatorIdx = terminator ? str.indexOf(terminator) : -1;\n if (terminatorIdx !== -1) {\n str = str.slice(0, terminatorIdx);\n }\n }\n return str;\n}\nfunction parseCookiePair(cookiePair, looseMode) {\n cookiePair = trimTerminator(cookiePair);\n let firstEq = cookiePair.indexOf(\"=\");\n if (looseMode) {\n if (firstEq === 0) {\n cookiePair = cookiePair.substring(1);\n firstEq = cookiePair.indexOf(\"=\");\n }\n } else {\n if (firstEq <= 0) {\n return void 0;\n }\n }\n let cookieName, cookieValue;\n if (firstEq <= 0) {\n cookieName = \"\";\n cookieValue = cookiePair.trim();\n } else {\n cookieName = cookiePair.slice(0, firstEq).trim();\n cookieValue = cookiePair.slice(firstEq + 1).trim();\n }\n if (CONTROL_CHARS.test(cookieName) || CONTROL_CHARS.test(cookieValue)) {\n return void 0;\n }\n const c = new Cookie();\n c.key = cookieName;\n c.value = cookieValue;\n return c;\n}\nfunction parse(str, options) {\n if (isEmptyString(str) || !isString(str)) {\n return void 0;\n }\n str = str.trim();\n const firstSemi = str.indexOf(\";\");\n const cookiePair = firstSemi === -1 ? str : str.slice(0, firstSemi);\n const c = parseCookiePair(cookiePair, options?.loose ?? false);\n if (!c) {\n return void 0;\n }\n if (firstSemi === -1) {\n return c;\n }\n const unparsed = str.slice(firstSemi + 1).trim();\n if (unparsed.length === 0) {\n return c;\n }\n const cookie_avs = unparsed.split(\";\");\n while (cookie_avs.length) {\n const av = (cookie_avs.shift() ?? \"\").trim();\n if (av.length === 0) {\n continue;\n }\n const av_sep = av.indexOf(\"=\");\n let av_key, av_value;\n if (av_sep === -1) {\n av_key = av;\n av_value = null;\n } else {\n av_key = av.slice(0, av_sep);\n av_value = av.slice(av_sep + 1);\n }\n av_key = av_key.trim().toLowerCase();\n if (av_value) {\n av_value = av_value.trim();\n }\n switch (av_key) {\n case \"expires\":\n if (av_value) {\n const exp = parseDate(av_value);\n if (exp) {\n c.expires = exp;\n }\n }\n break;\n case \"max-age\":\n if (av_value) {\n if (/^-?[0-9]+$/.test(av_value)) {\n const delta = parseInt(av_value, 10);\n c.setMaxAge(delta);\n }\n }\n break;\n case \"domain\":\n if (av_value) {\n const domain = av_value.trim().replace(/^\\./, \"\");\n if (domain) {\n c.domain = domain.toLowerCase();\n }\n }\n break;\n case \"path\":\n c.path = av_value && av_value[0] === \"/\" ? av_value : null;\n break;\n case \"secure\":\n c.secure = true;\n break;\n case \"httponly\":\n c.httpOnly = true;\n break;\n case \"samesite\":\n switch (av_value ? av_value.toLowerCase() : \"\") {\n case \"strict\":\n c.sameSite = \"strict\";\n break;\n case \"lax\":\n c.sameSite = \"lax\";\n break;\n case \"none\":\n c.sameSite = \"none\";\n break;\n default:\n c.sameSite = void 0;\n break;\n }\n break;\n default:\n c.extensions = c.extensions || [];\n c.extensions.push(av);\n break;\n }\n }\n return c;\n}\nfunction fromJSON(str) {\n if (!str || isEmptyString(str)) {\n return void 0;\n }\n let obj;\n if (typeof str === \"string\") {\n try {\n obj = JSON.parse(str);\n } catch {\n return void 0;\n }\n } else {\n obj = str;\n }\n const c = new Cookie();\n Cookie.serializableProperties.forEach((prop) => {\n if (obj && typeof obj === \"object\" && inOperator(prop, obj)) {\n const val = obj[prop];\n if (val === void 0) {\n return;\n }\n if (inOperator(prop, cookieDefaults) && val === cookieDefaults[prop]) {\n return;\n }\n switch (prop) {\n case \"key\":\n case \"value\":\n case \"sameSite\":\n if (typeof val === \"string\") {\n c[prop] = val;\n }\n break;\n case \"expires\":\n case \"creation\":\n case \"lastAccessed\":\n if (typeof val === \"number\" || typeof val === \"string\" || val instanceof Date) {\n c[prop] = obj[prop] == \"Infinity\" ? \"Infinity\" : new Date(val);\n } else if (val === null) {\n c[prop] = null;\n }\n break;\n case \"maxAge\":\n if (typeof val === \"number\" || val === \"Infinity\" || val === \"-Infinity\") {\n c[prop] = val;\n }\n break;\n case \"domain\":\n case \"path\":\n if (typeof val === \"string\" || val === null) {\n c[prop] = val;\n }\n break;\n case \"secure\":\n case \"httpOnly\":\n if (typeof val === \"boolean\") {\n c[prop] = val;\n }\n break;\n case \"extensions\":\n if (Array.isArray(val) && val.every((item) => typeof item === \"string\")) {\n c[prop] = val;\n }\n break;\n case \"hostOnly\":\n case \"pathIsDefault\":\n if (typeof val === \"boolean\" || val === null) {\n c[prop] = val;\n }\n break;\n }\n }\n });\n return c;\n}\nvar cookieDefaults = {\n // the order in which the RFC has them:\n key: \"\",\n value: \"\",\n expires: \"Infinity\",\n maxAge: null,\n domain: null,\n path: null,\n secure: false,\n httpOnly: false,\n extensions: null,\n // set by the CookieJar:\n hostOnly: null,\n pathIsDefault: null,\n creation: null,\n lastAccessed: null,\n sameSite: void 0\n};\nvar _Cookie = class _Cookie {\n /**\n * Create a new Cookie instance.\n * @public\n * @param options - The attributes to set on the cookie\n */\n constructor(options = {}) {\n this.key = options.key ?? cookieDefaults.key;\n this.value = options.value ?? cookieDefaults.value;\n this.expires = options.expires ?? cookieDefaults.expires;\n this.maxAge = options.maxAge ?? cookieDefaults.maxAge;\n this.domain = options.domain ?? cookieDefaults.domain;\n this.path = options.path ?? cookieDefaults.path;\n this.secure = options.secure ?? cookieDefaults.secure;\n this.httpOnly = options.httpOnly ?? cookieDefaults.httpOnly;\n this.extensions = options.extensions ?? cookieDefaults.extensions;\n this.creation = options.creation ?? cookieDefaults.creation;\n this.hostOnly = options.hostOnly ?? cookieDefaults.hostOnly;\n this.pathIsDefault = options.pathIsDefault ?? cookieDefaults.pathIsDefault;\n this.lastAccessed = options.lastAccessed ?? cookieDefaults.lastAccessed;\n this.sameSite = options.sameSite ?? cookieDefaults.sameSite;\n this.creation = options.creation ?? /* @__PURE__ */ new Date();\n Object.defineProperty(this, \"creationIndex\", {\n configurable: false,\n enumerable: false,\n // important for assert.deepEqual checks\n writable: true,\n value: ++_Cookie.cookiesCreated\n });\n this.creationIndex = _Cookie.cookiesCreated;\n }\n [/* @__PURE__ */ Symbol.for(\"nodejs.util.inspect.custom\")]() {\n const now = Date.now();\n const hostOnly = this.hostOnly != null ? this.hostOnly.toString() : \"?\";\n const createAge = this.creation && this.creation !== \"Infinity\" ? `${String(now - this.creation.getTime())}ms` : \"?\";\n const accessAge = this.lastAccessed && this.lastAccessed !== \"Infinity\" ? `${String(now - this.lastAccessed.getTime())}ms` : \"?\";\n return `Cookie=\"${this.toString()}; hostOnly=${hostOnly}; aAge=${accessAge}; cAge=${createAge}\"`;\n }\n /**\n * For convenience in using `JSON.stringify(cookie)`. Returns a plain-old Object that can be JSON-serialized.\n *\n * @remarks\n * - Any `Date` properties (such as {@link Cookie.expires}, {@link Cookie.creation}, and {@link Cookie.lastAccessed}) are exported in ISO format (`Date.toISOString()`).\n *\n * - Custom Cookie properties are discarded. In tough-cookie 1.x, since there was no {@link Cookie.toJSON} method explicitly defined, all enumerable properties were captured.\n * If you want a property to be serialized, add the property name to {@link Cookie.serializableProperties}.\n */\n toJSON() {\n const obj = {};\n for (const prop of _Cookie.serializableProperties) {\n const val = this[prop];\n if (val === cookieDefaults[prop]) {\n continue;\n }\n switch (prop) {\n case \"key\":\n case \"value\":\n case \"sameSite\":\n if (typeof val === \"string\") {\n obj[prop] = val;\n }\n break;\n case \"expires\":\n case \"creation\":\n case \"lastAccessed\":\n if (typeof val === \"number\" || typeof val === \"string\" || val instanceof Date) {\n obj[prop] = val == \"Infinity\" ? \"Infinity\" : new Date(val).toISOString();\n } else if (val === null) {\n obj[prop] = null;\n }\n break;\n case \"maxAge\":\n if (typeof val === \"number\" || val === \"Infinity\" || val === \"-Infinity\") {\n obj[prop] = val;\n }\n break;\n case \"domain\":\n case \"path\":\n if (typeof val === \"string\" || val === null) {\n obj[prop] = val;\n }\n break;\n case \"secure\":\n case \"httpOnly\":\n if (typeof val === \"boolean\") {\n obj[prop] = val;\n }\n break;\n case \"extensions\":\n if (Array.isArray(val)) {\n obj[prop] = val;\n }\n break;\n case \"hostOnly\":\n case \"pathIsDefault\":\n if (typeof val === \"boolean\" || val === null) {\n obj[prop] = val;\n }\n break;\n }\n }\n return obj;\n }\n /**\n * Does a deep clone of this cookie, implemented exactly as `Cookie.fromJSON(cookie.toJSON())`.\n * @public\n */\n clone() {\n return fromJSON(this.toJSON());\n }\n /**\n * Validates cookie attributes for semantic correctness. Useful for \"lint\" checking any `Set-Cookie` headers you generate.\n * For now, it returns a boolean, but eventually could return a reason string.\n *\n * @remarks\n * Works for a few things, but is by no means comprehensive.\n *\n * @beta\n */\n validate() {\n if (!this.value || !COOKIE_OCTETS.test(this.value)) {\n return false;\n }\n if (this.expires != \"Infinity\" && !(this.expires instanceof Date) && !parseDate(this.expires)) {\n return false;\n }\n if (this.maxAge != null && this.maxAge !== \"Infinity\" && (this.maxAge === \"-Infinity\" || this.maxAge <= 0)) {\n return false;\n }\n if (this.path != null && !PATH_VALUE.test(this.path)) {\n return false;\n }\n const cdomain = this.cdomain();\n if (cdomain) {\n if (cdomain.match(/\\.$/)) {\n return false;\n }\n const suffix = getPublicSuffix(cdomain);\n if (suffix == null) {\n return false;\n }\n }\n return true;\n }\n /**\n * Sets the 'Expires' attribute on a cookie.\n *\n * @remarks\n * When given a `string` value it will be parsed with {@link parseDate}. If the value can't be parsed as a cookie date\n * then the 'Expires' attribute will be set to `\"Infinity\"`.\n *\n * @param exp - the new value for the 'Expires' attribute of the cookie.\n */\n setExpires(exp) {\n if (exp instanceof Date) {\n this.expires = exp;\n } else {\n this.expires = parseDate(exp) || \"Infinity\";\n }\n }\n /**\n * Sets the 'Max-Age' attribute (in seconds) on a cookie.\n *\n * @remarks\n * Coerces `-Infinity` to `\"-Infinity\"` and `Infinity` to `\"Infinity\"` so it can be serialized to JSON.\n *\n * @param age - the new value for the 'Max-Age' attribute (in seconds).\n */\n setMaxAge(age) {\n if (age === Infinity) {\n this.maxAge = \"Infinity\";\n } else if (age === -Infinity) {\n this.maxAge = \"-Infinity\";\n } else {\n this.maxAge = age;\n }\n }\n /**\n * Encodes to a `Cookie` header value (specifically, the {@link Cookie.key} and {@link Cookie.value} properties joined with \"=\").\n * @public\n */\n cookieString() {\n const val = this.value || \"\";\n if (this.key) {\n return `${this.key}=${val}`;\n }\n return val;\n }\n /**\n * Encodes to a `Set-Cookie header` value.\n * @public\n */\n toString() {\n let str = this.cookieString();\n if (this.expires != \"Infinity\") {\n if (this.expires instanceof Date) {\n str += `; Expires=${formatDate(this.expires)}`;\n }\n }\n if (this.maxAge != null && this.maxAge != Infinity) {\n str += `; Max-Age=${String(this.maxAge)}`;\n }\n if (this.domain && !this.hostOnly) {\n str += `; Domain=${this.domain}`;\n }\n if (this.path) {\n str += `; Path=${this.path}`;\n }\n if (this.secure) {\n str += \"; Secure\";\n }\n if (this.httpOnly) {\n str += \"; HttpOnly\";\n }\n if (this.sameSite && this.sameSite !== \"none\") {\n if (this.sameSite.toLowerCase() === _Cookie.sameSiteCanonical.lax.toLowerCase()) {\n str += `; SameSite=${_Cookie.sameSiteCanonical.lax}`;\n } else if (this.sameSite.toLowerCase() === _Cookie.sameSiteCanonical.strict.toLowerCase()) {\n str += `; SameSite=${_Cookie.sameSiteCanonical.strict}`;\n } else {\n str += `; SameSite=${this.sameSite}`;\n }\n }\n if (this.extensions) {\n this.extensions.forEach((ext) => {\n str += `; ${ext}`;\n });\n }\n return str;\n }\n /**\n * Computes the TTL relative to now (milliseconds).\n *\n * @remarks\n * - `Infinity` is returned for cookies without an explicit expiry\n *\n * - `0` is returned if the cookie is expired.\n *\n * - Otherwise a time-to-live in milliseconds is returned.\n *\n * @param now - passing an explicit value is mostly used for testing purposes since this defaults to the `Date.now()`\n * @public\n */\n TTL(now = Date.now()) {\n if (this.maxAge != null && typeof this.maxAge === \"number\") {\n return this.maxAge <= 0 ? 0 : this.maxAge * 1e3;\n }\n const expires = this.expires;\n if (expires === \"Infinity\") {\n return Infinity;\n }\n return (expires?.getTime() ?? now) - (now || Date.now());\n }\n /**\n * Computes the absolute unix-epoch milliseconds that this cookie expires.\n *\n * The \"Max-Age\" attribute takes precedence over \"Expires\" (as per the RFC). The {@link Cookie.lastAccessed} attribute\n * (or the `now` parameter if given) is used to offset the {@link Cookie.maxAge} attribute.\n *\n * If Expires ({@link Cookie.expires}) is set, that's returned.\n *\n * @param now - can be used to provide a time offset (instead of {@link Cookie.lastAccessed}) to use when calculating the \"Max-Age\" value\n */\n expiryTime(now) {\n if (this.maxAge != null) {\n const relativeTo = now || this.lastAccessed || /* @__PURE__ */ new Date();\n const maxAge = typeof this.maxAge === \"number\" ? this.maxAge : -Infinity;\n const age = maxAge <= 0 ? -Infinity : maxAge * 1e3;\n if (relativeTo === \"Infinity\") {\n return Infinity;\n }\n return relativeTo.getTime() + age;\n }\n if (this.expires == \"Infinity\") {\n return Infinity;\n }\n return this.expires ? this.expires.getTime() : void 0;\n }\n /**\n * Similar to {@link Cookie.expiryTime}, computes the absolute unix-epoch milliseconds that this cookie expires and returns it as a Date.\n *\n * The \"Max-Age\" attribute takes precedence over \"Expires\" (as per the RFC). The {@link Cookie.lastAccessed} attribute\n * (or the `now` parameter if given) is used to offset the {@link Cookie.maxAge} attribute.\n *\n * If Expires ({@link Cookie.expires}) is set, that's returned.\n *\n * @param now - can be used to provide a time offset (instead of {@link Cookie.lastAccessed}) to use when calculating the \"Max-Age\" value\n */\n expiryDate(now) {\n const millisec = this.expiryTime(now);\n if (millisec == Infinity) {\n return /* @__PURE__ */ new Date(2147483647e3);\n } else if (millisec == -Infinity) {\n return /* @__PURE__ */ new Date(0);\n } else {\n return millisec == void 0 ? void 0 : new Date(millisec);\n }\n }\n /**\n * Indicates if the cookie has been persisted to a store or not.\n * @public\n */\n isPersistent() {\n return this.maxAge != null || this.expires != \"Infinity\";\n }\n /**\n * Calls {@link canonicalDomain} with the {@link Cookie.domain} property.\n * @public\n */\n canonicalizedDomain() {\n return canonicalDomain(this.domain);\n }\n /**\n * Alias for {@link Cookie.canonicalizedDomain}\n * @public\n */\n cdomain() {\n return canonicalDomain(this.domain);\n }\n /**\n * Parses a string into a Cookie object.\n *\n * @remarks\n * Note: when parsing a `Cookie` header it must be split by ';' before each Cookie string can be parsed.\n *\n * @example\n * ```\n * // parse a `Set-Cookie` header\n * const setCookieHeader = 'a=bcd; Expires=Tue, 18 Oct 2011 07:05:03 GMT'\n * const cookie = Cookie.parse(setCookieHeader)\n * cookie.key === 'a'\n * cookie.value === 'bcd'\n * cookie.expires === new Date(Date.parse('Tue, 18 Oct 2011 07:05:03 GMT'))\n * ```\n *\n * @example\n * ```\n * // parse a `Cookie` header\n * const cookieHeader = 'name=value; name2=value2; name3=value3'\n * const cookies = cookieHeader.split(';').map(Cookie.parse)\n * cookies[0].name === 'name'\n * cookies[0].value === 'value'\n * cookies[1].name === 'name2'\n * cookies[1].value === 'value2'\n * cookies[2].name === 'name3'\n * cookies[2].value === 'value3'\n * ```\n *\n * @param str - The `Set-Cookie` header or a Cookie string to parse.\n * @param options - Configures `strict` or `loose` mode for cookie parsing\n */\n static parse(str, options) {\n return parse(str, options);\n }\n /**\n * Does the reverse of {@link Cookie.toJSON}.\n *\n * @remarks\n * Any Date properties (such as .expires, .creation, and .lastAccessed) are parsed via Date.parse, not tough-cookie's parseDate, since ISO timestamps are being handled at this layer.\n *\n * @example\n * ```\n * const json = JSON.stringify({\n * key: 'alpha',\n * value: 'beta',\n * domain: 'example.com',\n * path: '/foo',\n * expires: '2038-01-19T03:14:07.000Z',\n * })\n * const cookie = Cookie.fromJSON(json)\n * cookie.key === 'alpha'\n * cookie.value === 'beta'\n * cookie.domain === 'example.com'\n * cookie.path === '/foo'\n * cookie.expires === new Date(Date.parse('2038-01-19T03:14:07.000Z'))\n * ```\n *\n * @param str - An unparsed JSON string or a value that has already been parsed as JSON\n */\n static fromJSON(str) {\n return fromJSON(str);\n }\n};\n_Cookie.cookiesCreated = 0;\n/**\n * @internal\n */\n_Cookie.sameSiteLevel = {\n strict: 3,\n lax: 2,\n none: 1\n};\n/**\n * @internal\n */\n_Cookie.sameSiteCanonical = {\n strict: \"Strict\",\n lax: \"Lax\"\n};\n/**\n * Cookie properties that will be serialized when using {@link Cookie.fromJSON} and {@link Cookie.toJSON}.\n * @public\n */\n_Cookie.serializableProperties = [\n \"key\",\n \"value\",\n \"expires\",\n \"maxAge\",\n \"domain\",\n \"path\",\n \"secure\",\n \"httpOnly\",\n \"extensions\",\n \"hostOnly\",\n \"pathIsDefault\",\n \"creation\",\n \"lastAccessed\",\n \"sameSite\"\n];\nvar Cookie = _Cookie;\n\n// lib/cookie/cookieCompare.ts\nvar MAX_TIME = 2147483647e3;\nfunction cookieCompare(a, b) {\n let cmp;\n const aPathLen = a.path ? a.path.length : 0;\n const bPathLen = b.path ? b.path.length : 0;\n cmp = bPathLen - aPathLen;\n if (cmp !== 0) {\n return cmp;\n }\n const aTime = a.creation && a.creation instanceof Date ? a.creation.getTime() : MAX_TIME;\n const bTime = b.creation && b.creation instanceof Date ? b.creation.getTime() : MAX_TIME;\n cmp = aTime - bTime;\n if (cmp !== 0) {\n return cmp;\n }\n cmp = (a.creationIndex || 0) - (b.creationIndex || 0);\n return cmp;\n}\n\n// lib/cookie/defaultPath.ts\nfunction defaultPath(path) {\n if (!path || path.slice(0, 1) !== \"/\") {\n return \"/\";\n }\n if (path === \"/\") {\n return path;\n }\n const rightSlash = path.lastIndexOf(\"/\");\n if (rightSlash === 0) {\n return \"/\";\n }\n return path.slice(0, rightSlash);\n}\n\n// lib/cookie/domainMatch.ts\nvar IP_REGEX_LOWERCASE = /(?:^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$)|(?:^(?:(?:[a-f\\d]{1,4}:){7}(?:[a-f\\d]{1,4}|:)|(?:[a-f\\d]{1,4}:){6}(?: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f\\d]{1,4}){1,7}|:)))$)/;\nfunction domainMatch(domain, cookieDomain, canonicalize) {\n if (domain == null || cookieDomain == null) {\n return void 0;\n }\n let _str;\n let _domStr;\n if (canonicalize !== false) {\n _str = canonicalDomain(domain);\n _domStr = canonicalDomain(cookieDomain);\n } else {\n _str = domain;\n _domStr = cookieDomain;\n }\n if (_str == null || _domStr == null) {\n return void 0;\n }\n if (_str == _domStr) {\n return true;\n }\n const idx = _str.lastIndexOf(_domStr);\n if (idx <= 0) {\n return false;\n }\n if (_str.length !== _domStr.length + idx) {\n return false;\n }\n if (_str.substring(idx - 1, idx) !== \".\") {\n return false;\n }\n return !IP_REGEX_LOWERCASE.test(_str);\n}\n\n// lib/cookie/secureContext.ts\nfunction isLoopbackV4(address) {\n const octets = address.split(\".\");\n return octets.length === 4 && octets[0] !== void 0 && parseInt(octets[0], 10) === 127;\n}\nfunction isLoopbackV6(address) {\n return address === \"::1\";\n}\nfunction isNormalizedLocalhostTLD(lowerHost) {\n return lowerHost.endsWith(\".localhost\");\n}\nfunction isLocalHostname(host) {\n const lowerHost = host.toLowerCase();\n return lowerHost === \"localhost\" || isNormalizedLocalhostTLD(lowerHost);\n}\nfunction hostNoBrackets(host) {\n if (host.length >= 2 && host.startsWith(\"[\") && host.endsWith(\"]\")) {\n return host.substring(1, host.length - 1);\n }\n return host;\n}\nfunction isPotentiallyTrustworthy(inputUrl, allowSecureOnLocal = true) {\n let url;\n if (typeof inputUrl === \"string\") {\n try {\n url = new URL(inputUrl);\n } catch {\n return false;\n }\n } else {\n url = inputUrl;\n }\n const scheme = url.protocol.replace(\":\", \"\").toLowerCase();\n const hostname = hostNoBrackets(url.hostname).replace(/\\.+$/, \"\");\n if (scheme === \"https\" || scheme === \"wss\") {\n return true;\n }\n if (!allowSecureOnLocal) {\n return false;\n }\n if (IP_V4_REGEX_OBJECT.test(hostname)) {\n return isLoopbackV4(hostname);\n }\n if (IP_V6_REGEX_OBJECT.test(hostname)) {\n return isLoopbackV6(hostname);\n }\n return isLocalHostname(hostname);\n}\n\n// lib/cookie/cookieJar.ts\nvar defaultSetCookieOptions = {\n loose: false,\n sameSiteContext: void 0,\n ignoreError: false,\n http: true\n};\nvar defaultGetCookieOptions = {\n http: true,\n expire: true,\n allPaths: false,\n sameSiteContext: void 0,\n sort: void 0\n};\nvar SAME_SITE_CONTEXT_VAL_ERR = 'Invalid sameSiteContext option for getCookies(); expected one of \"strict\", \"lax\", or \"none\"';\nfunction getCookieContext(url) {\n if (url && typeof url === \"object\" && \"hostname\" in url && typeof url.hostname === \"string\" && \"pathname\" in url && typeof url.pathname === \"string\" && \"protocol\" in url && typeof url.protocol === \"string\") {\n return {\n hostname: url.hostname,\n pathname: url.pathname,\n protocol: url.protocol\n };\n } else if (typeof url === \"string\") {\n try {\n return new URL(decodeURI(url));\n } catch {\n return new URL(url);\n }\n } else {\n throw new ParameterError(\"`url` argument is not a string or URL.\");\n }\n}\nfunction checkSameSiteContext(value) {\n const context = String(value).toLowerCase();\n if (context === \"none\" || context === \"lax\" || context === \"strict\") {\n return context;\n } else {\n return void 0;\n }\n}\nfunction isSecurePrefixConditionMet(cookie) {\n const startsWithSecurePrefix = typeof cookie.key === \"string\" && cookie.key.startsWith(\"__Secure-\");\n return !startsWithSecurePrefix || cookie.secure;\n}\nfunction isHostPrefixConditionMet(cookie) {\n const startsWithHostPrefix = typeof cookie.key === \"string\" && cookie.key.startsWith(\"__Host-\");\n return !startsWithHostPrefix || Boolean(\n cookie.secure && cookie.hostOnly && cookie.path != null && cookie.path === \"/\"\n );\n}\nfunction getNormalizedPrefixSecurity(prefixSecurity) {\n const normalizedPrefixSecurity = prefixSecurity.toLowerCase();\n switch (normalizedPrefixSecurity) {\n case PrefixSecurityEnum.STRICT:\n case PrefixSecurityEnum.SILENT:\n case PrefixSecurityEnum.DISABLED:\n return normalizedPrefixSecurity;\n default:\n return PrefixSecurityEnum.SILENT;\n }\n}\nvar CookieJar = class _CookieJar {\n /**\n * Creates a new `CookieJar` instance.\n *\n * @remarks\n * - If a custom store is not passed to the constructor, an in-memory store ({@link MemoryCookieStore} will be created and used.\n * - If a boolean value is passed as the `options` parameter, this is equivalent to passing `{ rejectPublicSuffixes: <value> }`\n *\n * @param store - a custom {@link Store} implementation (defaults to {@link MemoryCookieStore})\n * @param options - configures how cookies are processed by the cookie jar\n */\n constructor(store, options) {\n if (typeof options === \"boolean\") {\n options = { rejectPublicSuffixes: options };\n }\n this.rejectPublicSuffixes = options?.rejectPublicSuffixes ?? true;\n this.enableLooseMode = options?.looseMode ?? false;\n this.allowSpecialUseDomain = options?.allowSpecialUseDomain ?? true;\n this.allowSecureOnLocal = options?.allowSecureOnLocal ?? true;\n this.prefixSecurity = getNormalizedPrefixSecurity(\n options?.prefixSecurity ?? \"silent\"\n );\n this.store = store ?? new MemoryCookieStore();\n }\n callSync(fn) {\n if (!this.store.synchronous) {\n throw new Error(\n \"CookieJar store is not synchronous; use async API instead.\"\n );\n }\n let syncErr = null;\n let syncResult = void 0;\n try {\n fn.call(this, (error, result) => {\n syncErr = error;\n syncResult = result;\n });\n } catch (err) {\n syncErr = err;\n }\n if (syncErr) throw syncErr;\n return syncResult;\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n setCookie(cookie, url, options, callback) {\n if (typeof options === \"function\") {\n callback = options;\n options = void 0;\n }\n const promiseCallback = createPromiseCallback(callback);\n const cb = promiseCallback.callback;\n let context;\n try {\n if (typeof url === \"string\") {\n validate(\n isNonEmptyString(url),\n callback,\n safeToString(options)\n );\n }\n context = getCookieContext(url);\n if (typeof url === \"function\") {\n return promiseCallback.reject(new Error(\"No URL was specified\"));\n }\n if (typeof options === \"function\") {\n options = defaultSetCookieOptions;\n }\n validate(typeof cb === \"function\", cb);\n if (!isNonEmptyString(cookie) && !isObject(cookie) && cookie instanceof String && cookie.length == 0) {\n return promiseCallback.resolve(void 0);\n }\n } catch (err) {\n return promiseCallback.reject(err);\n }\n const host = canonicalDomain(context.hostname) ?? null;\n const loose = options?.loose || this.enableLooseMode;\n let sameSiteContext = null;\n if (options?.sameSiteContext) {\n sameSiteContext = checkSameSiteContext(options.sameSiteContext);\n if (!sameSiteContext) {\n return promiseCallback.reject(new Error(SAME_SITE_CONTEXT_VAL_ERR));\n }\n }\n if (typeof cookie === \"string\" || cookie instanceof String) {\n const parsedCookie = Cookie.parse(cookie.toString(), { loose });\n if (!parsedCookie) {\n const err = new Error(\"Cookie failed to parse\");\n return options?.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n cookie = parsedCookie;\n } else if (!(cookie instanceof Cookie)) {\n const err = new Error(\n \"First argument to setCookie must be a Cookie object or string\"\n );\n return options?.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n const now = options?.now || /* @__PURE__ */ new Date();\n if (this.rejectPublicSuffixes && cookie.domain) {\n try {\n const cdomain = cookie.cdomain();\n const suffix = typeof cdomain === \"string\" ? getPublicSuffix(cdomain, {\n allowSpecialUseDomain: this.allowSpecialUseDomain,\n ignoreError: options?.ignoreError\n }) : null;\n if (suffix == null && !IP_V6_REGEX_OBJECT.test(cookie.domain)) {\n const err = new Error(\"Cookie has domain set to a public suffix\");\n return options?.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n } catch (err) {\n return options?.ignoreError ? promiseCallback.resolve(void 0) : (\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n promiseCallback.reject(err)\n );\n }\n }\n if (cookie.domain) {\n if (!domainMatch(host ?? void 0, cookie.cdomain() ?? void 0, false)) {\n const err = new Error(\n `Cookie not in this host's domain. Cookie:${cookie.cdomain() ?? \"null\"} Request:${host ?? \"null\"}`\n );\n return options?.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n if (cookie.hostOnly == null) {\n cookie.hostOnly = false;\n }\n } else {\n cookie.hostOnly = true;\n cookie.domain = host;\n }\n if (!cookie.path || cookie.path[0] !== \"/\") {\n cookie.path = defaultPath(context.pathname);\n cookie.pathIsDefault = true;\n }\n if (options?.http === false && cookie.httpOnly) {\n const err = new Error(\"Cookie is HttpOnly and this isn't an HTTP API\");\n return options.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n if (cookie.sameSite !== \"none\" && cookie.sameSite !== void 0 && sameSiteContext) {\n if (sameSiteContext === \"none\") {\n const err = new Error(\n \"Cookie is SameSite but this is a cross-origin request\"\n );\n return options?.ignoreError ? promiseCallback.resolve(void 0) : promiseCallback.reject(err);\n }\n }\n const ignoreErrorForPrefixSecurity = this.prefixSecurity === PrefixSecurityEnum.SILENT;\n const prefixSecurityDisabled = this.prefixSecurity === PrefixSecurityEnum.DISABLED;\n if (!prefixSecurityDisabled) {\n let errorFound = false;\n let errorMsg;\n if (!isSecurePrefixConditionMet(cookie)) {\n errorFound = true;\n errorMsg = \"Cookie has __Secure prefix but Secure attribute is not set\";\n } else if (!isHostPrefixConditionMet(cookie)) {\n errorFound = true;\n errorMsg = \"Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'\";\n }\n if (errorFound) {\n return options?.ignoreError || ignoreErrorForPrefixSecurity ? promiseCallback.resolve(void 0) : promiseCallback.reject(new Error(errorMsg));\n }\n }\n const store = this.store;\n if (!store.updateCookie) {\n store.updateCookie = async function(_oldCookie, newCookie, cb2) {\n return this.putCookie(newCookie).then(\n () => cb2?.(null),\n (error) => cb2?.(error)\n );\n };\n }\n const withCookie = function withCookie2(err, oldCookie) {\n if (err) {\n cb(err);\n return;\n }\n const next = function(err2) {\n if (err2) {\n cb(err2);\n } else if (typeof cookie === \"string\") {\n cb(null, void 0);\n } else {\n cb(null, cookie);\n }\n };\n if (oldCookie) {\n if (options && \"http\" in options && options.http === false && oldCookie.httpOnly) {\n err = new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\");\n if (options.ignoreError) cb(null, void 0);\n else cb(err);\n return;\n }\n if (cookie instanceof Cookie) {\n cookie.creation = oldCookie.creation;\n cookie.creationIndex = oldCookie.creationIndex;\n cookie.lastAccessed = now;\n store.updateCookie(oldCookie, cookie, next);\n }\n } else {\n if (cookie instanceof Cookie) {\n cookie.creation = cookie.lastAccessed = now;\n store.putCookie(cookie, next);\n }\n }\n };\n store.findCookie(cookie.domain, cookie.path, cookie.key, withCookie);\n return promiseCallback.promise;\n }\n /**\n * Synchronously attempt to set the {@link Cookie} in the {@link CookieJar}.\n *\n * <strong>Note:</strong> Only works if the configured {@link Store} is also synchronous.\n *\n * @remarks\n * - If successfully persisted, the {@link Cookie} will have updated\n * {@link Cookie.creation}, {@link Cookie.lastAccessed} and {@link Cookie.hostOnly}\n * properties.\n *\n * - As per the RFC, the {@link Cookie.hostOnly} flag is set if there was no `Domain={value}`\n * attribute on the cookie string. The {@link Cookie.domain} property is set to the\n * fully-qualified hostname of `currentUrl` in this case. Matching this cookie requires an\n * exact hostname match (not a {@link domainMatch} as per usual)\n *\n * @param cookie - The cookie object or cookie string to store. A string value will be parsed into a cookie using {@link Cookie.parse}.\n * @param url - The domain to store the cookie with.\n * @param options - Configuration settings to use when storing the cookie.\n * @public\n */\n setCookieSync(cookie, url, options) {\n const setCookieFn = options ? this.setCookie.bind(this, cookie, url, options) : this.setCookie.bind(this, cookie, url);\n return this.callSync(setCookieFn);\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n getCookies(url, options, callback) {\n if (typeof options === \"function\") {\n callback = options;\n options = defaultGetCookieOptions;\n } else if (options === void 0) {\n options = defaultGetCookieOptions;\n }\n const promiseCallback = createPromiseCallback(callback);\n const cb = promiseCallback.callback;\n let context;\n try {\n if (typeof url === \"string\") {\n validate(isNonEmptyString(url), cb, url);\n }\n context = getCookieContext(url);\n validate(\n isObject(options),\n cb,\n safeToString(options)\n );\n validate(typeof cb === \"function\", cb);\n } catch (parameterError) {\n return promiseCallback.reject(parameterError);\n }\n const host = canonicalDomain(context.hostname);\n const path = context.pathname || \"/\";\n const potentiallyTrustworthy = isPotentiallyTrustworthy(\n url,\n this.allowSecureOnLocal\n );\n let sameSiteLevel = 0;\n if (options.sameSiteContext) {\n const sameSiteContext = checkSameSiteContext(options.sameSiteContext);\n if (sameSiteContext == null) {\n return promiseCallback.reject(new Error(SAME_SITE_CONTEXT_VAL_ERR));\n }\n sameSiteLevel = Cookie.sameSiteLevel[sameSiteContext];\n if (!sameSiteLevel) {\n return promiseCallback.reject(new Error(SAME_SITE_CONTEXT_VAL_ERR));\n }\n }\n const http = options.http ?? true;\n const now = Date.now();\n const expireCheck = options.expire ?? true;\n const allPaths = options.allPaths ?? false;\n const store = this.store;\n function matchingCookie(c) {\n if (c.hostOnly) {\n if (c.domain != host) {\n return false;\n }\n } else {\n if (!domainMatch(host ?? void 0, c.domain ?? void 0, false)) {\n return false;\n }\n }\n if (!allPaths && typeof c.path === \"string\" && !pathMatch(path, c.path)) {\n return false;\n }\n if (c.secure && !potentiallyTrustworthy) {\n return false;\n }\n if (c.httpOnly && !http) {\n return false;\n }\n if (sameSiteLevel) {\n let cookieLevel;\n if (c.sameSite === \"lax\") {\n cookieLevel = Cookie.sameSiteLevel.lax;\n } else if (c.sameSite === \"strict\") {\n cookieLevel = Cookie.sameSiteLevel.strict;\n } else {\n cookieLevel = Cookie.sameSiteLevel.none;\n }\n if (cookieLevel > sameSiteLevel) {\n return false;\n }\n }\n const expiryTime = c.expiryTime();\n if (expireCheck && expiryTime != void 0 && expiryTime <= now) {\n store.removeCookie(c.domain, c.path, c.key, () => {\n });\n return false;\n }\n return true;\n }\n store.findCookies(\n host,\n allPaths ? null : path,\n this.allowSpecialUseDomain,\n (err, cookies) => {\n if (err) {\n cb(err);\n return;\n }\n if (cookies == null) {\n cb(null, []);\n return;\n }\n cookies = cookies.filter(matchingCookie);\n if (\"sort\" in options && options.sort !== false) {\n cookies = cookies.sort(cookieCompare);\n }\n const now2 = /* @__PURE__ */ new Date();\n for (const cookie of cookies) {\n cookie.lastAccessed = now2;\n }\n cb(null, cookies);\n }\n );\n return promiseCallback.promise;\n }\n /**\n * Synchronously retrieve the list of cookies that can be sent in a Cookie header for the\n * current URL.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n *\n * @remarks\n * - The array of cookies returned will be sorted according to {@link cookieCompare}.\n *\n * - The {@link Cookie.lastAccessed} property will be updated on all returned cookies.\n *\n * @param url - The domain to store the cookie with.\n * @param options - Configuration settings to use when retrieving the cookies.\n */\n getCookiesSync(url, options) {\n return this.callSync(this.getCookies.bind(this, url, options)) ?? [];\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n getCookieString(url, options, callback) {\n if (typeof options === \"function\") {\n callback = options;\n options = void 0;\n }\n const promiseCallback = createPromiseCallback(callback);\n const next = function(err, cookies) {\n if (err) {\n promiseCallback.callback(err);\n } else {\n promiseCallback.callback(\n null,\n cookies?.sort(cookieCompare).map((c) => c.cookieString()).join(\"; \")\n );\n }\n };\n this.getCookies(url, options, next);\n return promiseCallback.promise;\n }\n /**\n * Synchronous version of `.getCookieString()`. Accepts the same options as `.getCookies()` but returns a string suitable for a\n * `Cookie` header rather than an Array.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n *\n * @param url - The domain to store the cookie with.\n * @param options - Configuration settings to use when retrieving the cookies.\n */\n getCookieStringSync(url, options) {\n return this.callSync(\n options ? this.getCookieString.bind(this, url, options) : this.getCookieString.bind(this, url)\n ) ?? \"\";\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n getSetCookieStrings(url, options, callback) {\n if (typeof options === \"function\") {\n callback = options;\n options = void 0;\n }\n const promiseCallback = createPromiseCallback(\n callback\n );\n const next = function(err, cookies) {\n if (err) {\n promiseCallback.callback(err);\n } else {\n promiseCallback.callback(\n null,\n cookies?.map((c) => {\n return c.toString();\n })\n );\n }\n };\n this.getCookies(url, options, next);\n return promiseCallback.promise;\n }\n /**\n * Synchronous version of `.getSetCookieStrings()`. Returns an array of strings suitable for `Set-Cookie` headers.\n * Accepts the same options as `.getCookies()`.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n *\n * @param url - The domain to store the cookie with.\n * @param options - Configuration settings to use when retrieving the cookies.\n */\n getSetCookieStringsSync(url, options = {}) {\n return this.callSync(this.getSetCookieStrings.bind(this, url, options)) ?? [];\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n serialize(callback) {\n const promiseCallback = createPromiseCallback(callback);\n let type = this.store.constructor.name;\n if (isObject(type)) {\n type = null;\n }\n const serialized = {\n // The version of tough-cookie that serialized this jar. Generally a good\n // practice since future versions can make data import decisions based on\n // known past behavior. When/if this matters, use `semver`.\n version: `tough-cookie@${version}`,\n // add the store type, to make humans happy:\n storeType: type,\n // CookieJar configuration:\n rejectPublicSuffixes: this.rejectPublicSuffixes,\n enableLooseMode: this.enableLooseMode,\n allowSpecialUseDomain: this.allowSpecialUseDomain,\n prefixSecurity: getNormalizedPrefixSecurity(this.prefixSecurity),\n // this gets filled from getAllCookies:\n cookies: []\n };\n if (typeof this.store.getAllCookies !== \"function\") {\n return promiseCallback.reject(\n new Error(\n \"store does not support getAllCookies and cannot be serialized\"\n )\n );\n }\n this.store.getAllCookies((err, cookies) => {\n if (err) {\n promiseCallback.callback(err);\n return;\n }\n if (cookies == null) {\n promiseCallback.callback(null, serialized);\n return;\n }\n serialized.cookies = cookies.map((cookie) => {\n const serializedCookie = cookie.toJSON();\n delete serializedCookie.creationIndex;\n return serializedCookie;\n });\n promiseCallback.callback(null, serialized);\n });\n return promiseCallback.promise;\n }\n /**\n * Serialize the CookieJar if the underlying store supports `.getAllCookies`.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n */\n serializeSync() {\n return this.callSync((callback) => {\n this.serialize(callback);\n });\n }\n /**\n * Alias of {@link CookieJar.serializeSync}. Allows the cookie to be serialized\n * with `JSON.stringify(cookieJar)`.\n */\n toJSON() {\n return this.serializeSync();\n }\n /**\n * Use the class method CookieJar.deserialize instead of calling this directly\n * @internal\n */\n _importCookies(serialized, callback) {\n let cookies = void 0;\n if (serialized && typeof serialized === \"object\" && inOperator(\"cookies\", serialized) && Array.isArray(serialized.cookies)) {\n cookies = serialized.cookies;\n }\n if (!cookies) {\n callback(new Error(\"serialized jar has no cookies array\"), void 0);\n return;\n }\n cookies = cookies.slice();\n const putNext = (err) => {\n if (err) {\n callback(err, void 0);\n return;\n }\n if (Array.isArray(cookies)) {\n if (!cookies.length) {\n callback(err, this);\n return;\n }\n let cookie;\n try {\n cookie = Cookie.fromJSON(cookies.shift());\n } catch (e) {\n callback(e instanceof Error ? e : new Error(), void 0);\n return;\n }\n if (cookie === void 0) {\n putNext(null);\n return;\n }\n this.store.putCookie(cookie, putNext);\n }\n };\n putNext(null);\n }\n /**\n * @internal\n */\n _importCookiesSync(serialized) {\n this.callSync(this._importCookies.bind(this, serialized));\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n clone(newStore, callback) {\n if (typeof newStore === \"function\") {\n callback = newStore;\n newStore = void 0;\n }\n const promiseCallback = createPromiseCallback(callback);\n const cb = promiseCallback.callback;\n this.serialize((err, serialized) => {\n if (err) {\n return promiseCallback.reject(err);\n }\n return _CookieJar.deserialize(serialized ?? \"\", newStore, cb);\n });\n return promiseCallback.promise;\n }\n /**\n * @internal\n */\n _cloneSync(newStore) {\n const cloneFn = newStore && typeof newStore !== \"function\" ? this.clone.bind(this, newStore) : this.clone.bind(this);\n return this.callSync((callback) => {\n cloneFn(callback);\n });\n }\n /**\n * Produces a deep clone of this CookieJar. Modifications to the original do\n * not affect the clone, and vice versa.\n *\n * <strong>Note</strong>: Only works if both the configured Store and destination\n * Store are synchronous.\n *\n * @remarks\n * - When no {@link Store} is provided, a new {@link MemoryCookieStore} will be used.\n *\n * - Transferring between store types is supported so long as the source\n * implements `.getAllCookies()` and the destination implements `.putCookie()`.\n *\n * @param newStore - The target {@link Store} to clone cookies into.\n */\n cloneSync(newStore) {\n if (!newStore) {\n return this._cloneSync();\n }\n if (!newStore.synchronous) {\n throw new Error(\n \"CookieJar clone destination store is not synchronous; use async API instead.\"\n );\n }\n return this._cloneSync(newStore);\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n removeAllCookies(callback) {\n const promiseCallback = createPromiseCallback(callback);\n const cb = promiseCallback.callback;\n const store = this.store;\n if (typeof store.removeAllCookies === \"function\" && store.removeAllCookies !== Store.prototype.removeAllCookies) {\n store.removeAllCookies(cb);\n return promiseCallback.promise;\n }\n store.getAllCookies((err, cookies) => {\n if (err) {\n cb(err);\n return;\n }\n if (!cookies) {\n cookies = [];\n }\n if (cookies.length === 0) {\n cb(null, void 0);\n return;\n }\n let completedCount = 0;\n const removeErrors = [];\n const removeCookieCb = function removeCookieCb2(removeErr) {\n if (removeErr) {\n removeErrors.push(removeErr);\n }\n completedCount++;\n if (completedCount === cookies.length) {\n if (removeErrors[0]) cb(removeErrors[0]);\n else cb(null, void 0);\n return;\n }\n };\n cookies.forEach((cookie) => {\n store.removeCookie(\n cookie.domain,\n cookie.path,\n cookie.key,\n removeCookieCb\n );\n });\n });\n return promiseCallback.promise;\n }\n /**\n * Removes all cookies from the CookieJar.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n *\n * @remarks\n * - This is a new backwards-compatible feature of tough-cookie version 2.5,\n * so not all Stores will implement it efficiently. For Stores that do not\n * implement `removeAllCookies`, the fallback is to call `removeCookie` after\n * `getAllCookies`.\n *\n * - If `getAllCookies` fails or isn't implemented in the Store, an error is returned.\n *\n * - If one or more of the `removeCookie` calls fail, only the first error is returned.\n */\n removeAllCookiesSync() {\n this.callSync((callback) => {\n this.removeAllCookies(callback);\n });\n }\n /**\n * @internal No doc because this is the overload implementation\n */\n static deserialize(strOrObj, store, callback) {\n if (typeof store === \"function\") {\n callback = store;\n store = void 0;\n }\n const promiseCallback = createPromiseCallback(callback);\n let serialized;\n if (typeof strOrObj === \"string\") {\n try {\n serialized = JSON.parse(strOrObj);\n } catch (e) {\n return promiseCallback.reject(e instanceof Error ? e : new Error());\n }\n } else {\n serialized = strOrObj;\n }\n const readSerializedProperty = (property) => {\n return serialized && typeof serialized === \"object\" && inOperator(property, serialized) ? serialized[property] : void 0;\n };\n const readSerializedBoolean = (property) => {\n const value = readSerializedProperty(property);\n return typeof value === \"boolean\" ? value : void 0;\n };\n const readSerializedString = (property) => {\n const value = readSerializedProperty(property);\n return typeof value === \"string\" ? value : void 0;\n };\n const jar = new _CookieJar(store, {\n rejectPublicSuffixes: readSerializedBoolean(\"rejectPublicSuffixes\"),\n looseMode: readSerializedBoolean(\"enableLooseMode\"),\n allowSpecialUseDomain: readSerializedBoolean(\"allowSpecialUseDomain\"),\n prefixSecurity: getNormalizedPrefixSecurity(\n readSerializedString(\"prefixSecurity\") ?? \"silent\"\n )\n });\n jar._importCookies(serialized, (err) => {\n if (err) {\n promiseCallback.callback(err);\n return;\n }\n promiseCallback.callback(null, jar);\n });\n return promiseCallback.promise;\n }\n /**\n * A new CookieJar is created and the serialized {@link Cookie} values are added to\n * the underlying store. Each {@link Cookie} is added via `store.putCookie(...)` in\n * the order in which they appear in the serialization.\n *\n * <strong>Note</strong>: Only works if the configured Store is also synchronous.\n *\n * @remarks\n * - When no {@link Store} is provided, a new {@link MemoryCookieStore} will be used.\n *\n * - As a convenience, if `strOrObj` is a string, it is passed through `JSON.parse` first.\n *\n * @param strOrObj - A JSON string or object representing the deserialized cookies.\n * @param store - The underlying store to persist the deserialized cookies into.\n */\n static deserializeSync(strOrObj, store) {\n const serialized = typeof strOrObj === \"string\" ? JSON.parse(strOrObj) : strOrObj;\n const readSerializedProperty = (property) => {\n return serialized && typeof serialized === \"object\" && inOperator(property, serialized) ? serialized[property] : void 0;\n };\n const readSerializedBoolean = (property) => {\n const value = readSerializedProperty(property);\n return typeof value === \"boolean\" ? value : void 0;\n };\n const readSerializedString = (property) => {\n const value = readSerializedProperty(property);\n return typeof value === \"string\" ? value : void 0;\n };\n const jar = new _CookieJar(store, {\n rejectPublicSuffixes: readSerializedBoolean(\"rejectPublicSuffixes\"),\n looseMode: readSerializedBoolean(\"enableLooseMode\"),\n allowSpecialUseDomain: readSerializedBoolean(\"allowSpecialUseDomain\"),\n prefixSecurity: getNormalizedPrefixSecurity(\n readSerializedString(\"prefixSecurity\") ?? \"silent\"\n )\n });\n if (!jar.store.synchronous) {\n throw new Error(\n \"CookieJar store is not synchronous; use async API instead.\"\n );\n }\n jar._importCookiesSync(serialized);\n return jar;\n }\n /**\n * Alias of {@link CookieJar.deserializeSync}.\n *\n * @remarks\n * - When no {@link Store} is provided, a new {@link MemoryCookieStore} will be used.\n *\n * - As a convenience, if `strOrObj` is a string, it is passed through `JSON.parse` first.\n *\n * @param jsonString - A JSON string or object representing the deserialized cookies.\n * @param store - The underlying store to persist the deserialized cookies into.\n */\n static fromJSON(jsonString, store) {\n return _CookieJar.deserializeSync(jsonString, store);\n }\n};\n\n// lib/cookie/permutePath.ts\nfunction permutePath(path) {\n if (path === \"/\") {\n return [\"/\"];\n }\n const permutations = [path];\n while (path.length > 1) {\n const lindex = path.lastIndexOf(\"/\");\n if (lindex === 0) {\n break;\n }\n path = path.slice(0, lindex);\n permutations.push(path);\n }\n permutations.push(\"/\");\n return permutations;\n}\n\n// lib/cookie/index.ts\nfunction parse2(str, options) {\n return Cookie.parse(str, options);\n}\nfunction fromJSON2(str) {\n return Cookie.fromJSON(str);\n}\nexport {\n Cookie,\n CookieJar,\n MemoryCookieStore,\n ParameterError,\n PrefixSecurityEnum,\n Store,\n canonicalDomain,\n cookieCompare,\n defaultPath,\n domainMatch,\n formatDate,\n fromJSON2 as fromJSON,\n getPublicSuffix,\n parse2 as parse,\n parseDate,\n pathMatch,\n permuteDomain,\n permutePath,\n version\n};\n/*!\n * Copyright (c) 2015-2020, Salesforce.com, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of Salesforce.com nor the names of its contributors may\n * be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n//# sourceMappingURL=index.js.map","/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\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\nSafeBuffer.prototype = Object.create(Buffer.prototype)\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","/*global module, process*/\nvar Buffer = require('safe-buffer').Buffer;\nvar Stream = require('stream');\nvar util = require('util');\n\nfunction DataStream(data) {\n this.buffer = null;\n this.writable = true;\n this.readable = true;\n\n // No input\n if (!data) {\n this.buffer = Buffer.alloc(0);\n return this;\n }\n\n // Stream\n if (typeof data.pipe === 'function') {\n this.buffer = Buffer.alloc(0);\n data.pipe(this);\n return this;\n }\n\n // Buffer or String\n // or Object (assumedly a passworded key)\n if (data.length || typeof data === 'object') {\n this.buffer = data;\n this.writable = false;\n process.nextTick(function () {\n this.emit('end', data);\n this.readable = false;\n this.emit('close');\n }.bind(this));\n return this;\n }\n\n throw new TypeError('Unexpected data type ('+ typeof data + ')');\n}\nutil.inherits(DataStream, Stream);\n\nDataStream.prototype.write = function write(data) {\n this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]);\n this.emit('data', data);\n};\n\nDataStream.prototype.end = function end(data) {\n if (data)\n this.write(data);\n this.emit('end', data);\n this.emit('close');\n this.writable = false;\n this.readable = false;\n};\n\nmodule.exports = DataStream;\n","'use strict';\n\nfunction getParamSize(keySize) {\n\tvar result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1);\n\treturn result;\n}\n\nvar paramBytesForAlg = {\n\tES256: getParamSize(256),\n\tES384: getParamSize(384),\n\tES512: getParamSize(521)\n};\n\nfunction getParamBytesForAlg(alg) {\n\tvar paramBytes = paramBytesForAlg[alg];\n\tif (paramBytes) {\n\t\treturn paramBytes;\n\t}\n\n\tthrow new Error('Unknown algorithm \"' + alg + '\"');\n}\n\nmodule.exports = getParamBytesForAlg;\n","'use strict';\n\nvar Buffer = require('safe-buffer').Buffer;\n\nvar getParamBytesForAlg = require('./param-bytes-for-alg');\n\nvar MAX_OCTET = 0x80,\n\tCLASS_UNIVERSAL = 0,\n\tPRIMITIVE_BIT = 0x20,\n\tTAG_SEQ = 0x10,\n\tTAG_INT = 0x02,\n\tENCODED_TAG_SEQ = (TAG_SEQ | PRIMITIVE_BIT) | (CLASS_UNIVERSAL << 6),\n\tENCODED_TAG_INT = TAG_INT | (CLASS_UNIVERSAL << 6);\n\nfunction base64Url(base64) {\n\treturn base64\n\t\t.replace(/=/g, '')\n\t\t.replace(/\\+/g, '-')\n\t\t.replace(/\\//g, '_');\n}\n\nfunction signatureAsBuffer(signature) {\n\tif (Buffer.isBuffer(signature)) {\n\t\treturn signature;\n\t} else if ('string' === typeof signature) {\n\t\treturn Buffer.from(signature, 'base64');\n\t}\n\n\tthrow new TypeError('ECDSA signature must be a Base64 string or a Buffer');\n}\n\nfunction derToJose(signature, alg) {\n\tsignature = signatureAsBuffer(signature);\n\tvar paramBytes = getParamBytesForAlg(alg);\n\n\t// the DER encoded param should at most be the param size, plus a padding\n\t// zero, since due to being a signed integer\n\tvar maxEncodedParamLength = paramBytes + 1;\n\n\tvar inputLength = signature.length;\n\n\tvar offset = 0;\n\tif (signature[offset++] !== ENCODED_TAG_SEQ) {\n\t\tthrow new Error('Could not find expected \"seq\"');\n\t}\n\n\tvar seqLength = signature[offset++];\n\tif (seqLength === (MAX_OCTET | 1)) {\n\t\tseqLength = signature[offset++];\n\t}\n\n\tif (inputLength - offset < seqLength) {\n\t\tthrow new Error('\"seq\" specified length of \"' + seqLength + '\", only \"' + (inputLength - offset) + '\" remaining');\n\t}\n\n\tif (signature[offset++] !== ENCODED_TAG_INT) {\n\t\tthrow new Error('Could not find expected \"int\" for \"r\"');\n\t}\n\n\tvar rLength = signature[offset++];\n\n\tif (inputLength - offset - 2 < rLength) {\n\t\tthrow new Error('\"r\" specified length of \"' + rLength + '\", only \"' + (inputLength - offset - 2) + '\" available');\n\t}\n\n\tif (maxEncodedParamLength < rLength) {\n\t\tthrow new Error('\"r\" specified length of \"' + rLength + '\", max of \"' + maxEncodedParamLength + '\" is acceptable');\n\t}\n\n\tvar rOffset = offset;\n\toffset += rLength;\n\n\tif (signature[offset++] !== ENCODED_TAG_INT) {\n\t\tthrow new Error('Could not find expected \"int\" for \"s\"');\n\t}\n\n\tvar sLength = signature[offset++];\n\n\tif (inputLength - offset !== sLength) {\n\t\tthrow new Error('\"s\" specified length of \"' + sLength + '\", expected \"' + (inputLength - offset) + '\"');\n\t}\n\n\tif (maxEncodedParamLength < sLength) {\n\t\tthrow new Error('\"s\" specified length of \"' + sLength + '\", max of \"' + maxEncodedParamLength + '\" is acceptable');\n\t}\n\n\tvar sOffset = offset;\n\toffset += sLength;\n\n\tif (offset !== inputLength) {\n\t\tthrow new Error('Expected to consume entire buffer, but \"' + (inputLength - offset) + '\" bytes remain');\n\t}\n\n\tvar rPadding = paramBytes - rLength,\n\t\tsPadding = paramBytes - sLength;\n\n\tvar dst = Buffer.allocUnsafe(rPadding + rLength + sPadding + sLength);\n\n\tfor (offset = 0; offset < rPadding; ++offset) {\n\t\tdst[offset] = 0;\n\t}\n\tsignature.copy(dst, offset, rOffset + Math.max(-rPadding, 0), rOffset + rLength);\n\n\toffset = paramBytes;\n\n\tfor (var o = offset; offset < o + sPadding; ++offset) {\n\t\tdst[offset] = 0;\n\t}\n\tsignature.copy(dst, offset, sOffset + Math.max(-sPadding, 0), sOffset + sLength);\n\n\tdst = dst.toString('base64');\n\tdst = base64Url(dst);\n\n\treturn dst;\n}\n\nfunction countPadding(buf, start, stop) {\n\tvar padding = 0;\n\twhile (start + padding < stop && buf[start + padding] === 0) {\n\t\t++padding;\n\t}\n\n\tvar needsSign = buf[start + padding] >= MAX_OCTET;\n\tif (needsSign) {\n\t\t--padding;\n\t}\n\n\treturn padding;\n}\n\nfunction joseToDer(signature, alg) {\n\tsignature = signatureAsBuffer(signature);\n\tvar paramBytes = getParamBytesForAlg(alg);\n\n\tvar signatureBytes = signature.length;\n\tif (signatureBytes !== paramBytes * 2) {\n\t\tthrow new TypeError('\"' + alg + '\" signatures must be \"' + paramBytes * 2 + '\" bytes, saw \"' + signatureBytes + '\"');\n\t}\n\n\tvar rPadding = countPadding(signature, 0, paramBytes);\n\tvar sPadding = countPadding(signature, paramBytes, signature.length);\n\tvar rLength = paramBytes - rPadding;\n\tvar sLength = paramBytes - sPadding;\n\n\tvar rsBytes = 1 + 1 + rLength + 1 + 1 + sLength;\n\n\tvar shortLength = rsBytes < MAX_OCTET;\n\n\tvar dst = Buffer.allocUnsafe((shortLength ? 2 : 3) + rsBytes);\n\n\tvar offset = 0;\n\tdst[offset++] = ENCODED_TAG_SEQ;\n\tif (shortLength) {\n\t\t// Bit 8 has value \"0\"\n\t\t// bits 7-1 give the length.\n\t\tdst[offset++] = rsBytes;\n\t} else {\n\t\t// Bit 8 of first octet has value \"1\"\n\t\t// bits 7-1 give the number of additional length octets.\n\t\tdst[offset++] = MAX_OCTET\t| 1;\n\t\t// length, base 256\n\t\tdst[offset++] = rsBytes & 0xff;\n\t}\n\tdst[offset++] = ENCODED_TAG_INT;\n\tdst[offset++] = rLength;\n\tif (rPadding < 0) {\n\t\tdst[offset++] = 0;\n\t\toffset += signature.copy(dst, offset, 0, paramBytes);\n\t} else {\n\t\toffset += signature.copy(dst, offset, rPadding, paramBytes);\n\t}\n\tdst[offset++] = ENCODED_TAG_INT;\n\tdst[offset++] = sLength;\n\tif (sPadding < 0) {\n\t\tdst[offset++] = 0;\n\t\tsignature.copy(dst, offset, paramBytes);\n\t} else {\n\t\tsignature.copy(dst, offset, paramBytes + sPadding);\n\t}\n\n\treturn dst;\n}\n\nmodule.exports = {\n\tderToJose: derToJose,\n\tjoseToDer: joseToDer\n};\n","/*jshint node:true */\n'use strict';\nvar Buffer = require('buffer').Buffer; // browserify\nvar SlowBuffer = require('buffer').SlowBuffer;\n\nmodule.exports = bufferEq;\n\nfunction bufferEq(a, b) {\n\n // shortcutting on type is necessary for correctness\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n return false;\n }\n\n // buffer sizes should be well-known information, so despite this\n // shortcutting, it doesn't leak any information about the *contents* of the\n // buffers.\n if (a.length !== b.length) {\n return false;\n }\n\n var c = 0;\n for (var i = 0; i < a.length; i++) {\n /*jshint bitwise:false */\n c |= a[i] ^ b[i]; // XOR\n }\n return c === 0;\n}\n\nbufferEq.install = function() {\n Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {\n return bufferEq(this, that);\n };\n};\n\nvar origBufEqual = Buffer.prototype.equal;\nvar origSlowBufEqual = SlowBuffer.prototype.equal;\nbufferEq.restore = function() {\n Buffer.prototype.equal = origBufEqual;\n SlowBuffer.prototype.equal = origSlowBufEqual;\n};\n","var Buffer = require('safe-buffer').Buffer;\nvar crypto = require('crypto');\nvar formatEcdsa = require('ecdsa-sig-formatter');\nvar util = require('util');\n\nvar MSG_INVALID_ALGORITHM = '\"%s\" is not a valid algorithm.\\n Supported algorithms are:\\n \"HS256\", \"HS384\", \"HS512\", \"RS256\", \"RS384\", \"RS512\", \"PS256\", \"PS384\", \"PS512\", \"ES256\", \"ES384\", \"ES512\" and \"none\".'\nvar MSG_INVALID_SECRET = 'secret must be a string or buffer';\nvar MSG_INVALID_VERIFIER_KEY = 'key must be a string or a buffer';\nvar MSG_INVALID_SIGNER_KEY = 'key must be a string, a buffer or an object';\n\nvar supportsKeyObjects = typeof crypto.createPublicKey === 'function';\nif (supportsKeyObjects) {\n MSG_INVALID_VERIFIER_KEY += ' or a KeyObject';\n MSG_INVALID_SECRET += 'or a KeyObject';\n}\n\nfunction checkIsPublicKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return;\n }\n\n if (!supportsKeyObjects) {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key !== 'object') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.type !== 'string') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.asymmetricKeyType !== 'string') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.export !== 'function') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n};\n\nfunction checkIsPrivateKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return;\n }\n\n if (typeof key === 'object') {\n return;\n }\n\n throw typeError(MSG_INVALID_SIGNER_KEY);\n};\n\nfunction checkIsSecretKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return key;\n }\n\n if (!supportsKeyObjects) {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (typeof key !== 'object') {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (key.type !== 'secret') {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (typeof key.export !== 'function') {\n throw typeError(MSG_INVALID_SECRET);\n }\n}\n\nfunction fromBase64(base64) {\n return base64\n .replace(/=/g, '')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_');\n}\n\nfunction toBase64(base64url) {\n base64url = base64url.toString();\n\n var padding = 4 - base64url.length % 4;\n if (padding !== 4) {\n for (var i = 0; i < padding; ++i) {\n base64url += '=';\n }\n }\n\n return base64url\n .replace(/\\-/g, '+')\n .replace(/_/g, '/');\n}\n\nfunction typeError(template) {\n var args = [].slice.call(arguments, 1);\n var errMsg = util.format.bind(util, template).apply(null, args);\n return new TypeError(errMsg);\n}\n\nfunction bufferOrString(obj) {\n return Buffer.isBuffer(obj) || typeof obj === 'string';\n}\n\nfunction normalizeInput(thing) {\n if (!bufferOrString(thing))\n thing = JSON.stringify(thing);\n return thing;\n}\n\nfunction createHmacSigner(bits) {\n return function sign(thing, secret) {\n checkIsSecretKey(secret);\n thing = normalizeInput(thing);\n var hmac = crypto.createHmac('sha' + bits, secret);\n var sig = (hmac.update(thing), hmac.digest('base64'))\n return fromBase64(sig);\n }\n}\n\nvar bufferEqual;\nvar timingSafeEqual = 'timingSafeEqual' in crypto ? function timingSafeEqual(a, b) {\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n\n return crypto.timingSafeEqual(a, b)\n} : function timingSafeEqual(a, b) {\n if (!bufferEqual) {\n bufferEqual = require('buffer-equal-constant-time');\n }\n\n return bufferEqual(a, b)\n}\n\nfunction createHmacVerifier(bits) {\n return function verify(thing, signature, secret) {\n var computedSig = createHmacSigner(bits)(thing, secret);\n return timingSafeEqual(Buffer.from(signature), Buffer.from(computedSig));\n }\n}\n\nfunction createKeySigner(bits) {\n return function sign(thing, privateKey) {\n checkIsPrivateKey(privateKey);\n thing = normalizeInput(thing);\n // Even though we are specifying \"RSA\" here, this works with ECDSA\n // keys as well.\n var signer = crypto.createSign('RSA-SHA' + bits);\n var sig = (signer.update(thing), signer.sign(privateKey, 'base64'));\n return fromBase64(sig);\n }\n}\n\nfunction createKeyVerifier(bits) {\n return function verify(thing, signature, publicKey) {\n checkIsPublicKey(publicKey);\n thing = normalizeInput(thing);\n signature = toBase64(signature);\n var verifier = crypto.createVerify('RSA-SHA' + bits);\n verifier.update(thing);\n return verifier.verify(publicKey, signature, 'base64');\n }\n}\n\nfunction createPSSKeySigner(bits) {\n return function sign(thing, privateKey) {\n checkIsPrivateKey(privateKey);\n thing = normalizeInput(thing);\n var signer = crypto.createSign('RSA-SHA' + bits);\n var sig = (signer.update(thing), signer.sign({\n key: privateKey,\n padding: crypto.constants.RSA_PKCS1_PSS_PADDING,\n saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST\n }, 'base64'));\n return fromBase64(sig);\n }\n}\n\nfunction createPSSKeyVerifier(bits) {\n return function verify(thing, signature, publicKey) {\n checkIsPublicKey(publicKey);\n thing = normalizeInput(thing);\n signature = toBase64(signature);\n var verifier = crypto.createVerify('RSA-SHA' + bits);\n verifier.update(thing);\n return verifier.verify({\n key: publicKey,\n padding: crypto.constants.RSA_PKCS1_PSS_PADDING,\n saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST\n }, signature, 'base64');\n }\n}\n\nfunction createECDSASigner(bits) {\n var inner = createKeySigner(bits);\n return function sign() {\n var signature = inner.apply(null, arguments);\n signature = formatEcdsa.derToJose(signature, 'ES' + bits);\n return signature;\n };\n}\n\nfunction createECDSAVerifer(bits) {\n var inner = createKeyVerifier(bits);\n return function verify(thing, signature, publicKey) {\n signature = formatEcdsa.joseToDer(signature, 'ES' + bits).toString('base64');\n var result = inner(thing, signature, publicKey);\n return result;\n };\n}\n\nfunction createNoneSigner() {\n return function sign() {\n return '';\n }\n}\n\nfunction createNoneVerifier() {\n return function verify(thing, signature) {\n return signature === '';\n }\n}\n\nmodule.exports = function jwa(algorithm) {\n var signerFactories = {\n hs: createHmacSigner,\n rs: createKeySigner,\n ps: createPSSKeySigner,\n es: createECDSASigner,\n none: createNoneSigner,\n }\n var verifierFactories = {\n hs: createHmacVerifier,\n rs: createKeyVerifier,\n ps: createPSSKeyVerifier,\n es: createECDSAVerifer,\n none: createNoneVerifier,\n }\n var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);\n if (!match)\n throw typeError(MSG_INVALID_ALGORITHM, algorithm);\n var algo = (match[1] || match[3]).toLowerCase();\n var bits = match[2];\n\n return {\n sign: signerFactories[algo](bits),\n verify: verifierFactories[algo](bits),\n }\n};\n","/*global module*/\nvar Buffer = require('buffer').Buffer;\n\nmodule.exports = function toString(obj) {\n if (typeof obj === 'string')\n return obj;\n if (typeof obj === 'number' || Buffer.isBuffer(obj))\n return obj.toString();\n return JSON.stringify(obj);\n};\n","/*global module*/\nvar Buffer = require('safe-buffer').Buffer;\nvar DataStream = require('./data-stream');\nvar jwa = require('jwa');\nvar Stream = require('stream');\nvar toString = require('./tostring');\nvar util = require('util');\n\nfunction base64url(string, encoding) {\n return Buffer\n .from(string, encoding)\n .toString('base64')\n .replace(/=/g, '')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_');\n}\n\nfunction jwsSecuredInput(header, payload, encoding) {\n encoding = encoding || 'utf8';\n var encodedHeader = base64url(toString(header), 'binary');\n var encodedPayload = base64url(toString(payload), encoding);\n return util.format('%s.%s', encodedHeader, encodedPayload);\n}\n\nfunction jwsSign(opts) {\n var header = opts.header;\n var payload = opts.payload;\n var secretOrKey = opts.secret || opts.privateKey;\n var encoding = opts.encoding;\n var algo = jwa(header.alg);\n var securedInput = jwsSecuredInput(header, payload, encoding);\n var signature = algo.sign(securedInput, secretOrKey);\n return util.format('%s.%s', securedInput, signature);\n}\n\nfunction SignStream(opts) {\n var secret = opts.secret;\n secret = secret == null ? opts.privateKey : secret;\n secret = secret == null ? opts.key : secret;\n if (/^hs/i.test(opts.header.alg) === true && secret == null) {\n throw new TypeError('secret must be a string or buffer or a KeyObject')\n }\n var secretStream = new DataStream(secret);\n this.readable = true;\n this.header = opts.header;\n this.encoding = opts.encoding;\n this.secret = this.privateKey = this.key = secretStream;\n this.payload = new DataStream(opts.payload);\n this.secret.once('close', function () {\n if (!this.payload.writable && this.readable)\n this.sign();\n }.bind(this));\n\n this.payload.once('close', function () {\n if (!this.secret.writable && this.readable)\n this.sign();\n }.bind(this));\n}\nutil.inherits(SignStream, Stream);\n\nSignStream.prototype.sign = function sign() {\n try {\n var signature = jwsSign({\n header: this.header,\n payload: this.payload.buffer,\n secret: this.secret.buffer,\n encoding: this.encoding\n });\n this.emit('done', signature);\n this.emit('data', signature);\n this.emit('end');\n this.readable = false;\n return signature;\n } catch (e) {\n this.readable = false;\n this.emit('error', e);\n this.emit('close');\n }\n};\n\nSignStream.sign = jwsSign;\n\nmodule.exports = SignStream;\n","/*global module*/\nvar Buffer = require('safe-buffer').Buffer;\nvar DataStream = require('./data-stream');\nvar jwa = require('jwa');\nvar Stream = require('stream');\nvar toString = require('./tostring');\nvar util = require('util');\nvar JWS_REGEX = /^[a-zA-Z0-9\\-_]+?\\.[a-zA-Z0-9\\-_]+?\\.([a-zA-Z0-9\\-_]+)?$/;\n\nfunction isObject(thing) {\n return Object.prototype.toString.call(thing) === '[object Object]';\n}\n\nfunction safeJsonParse(thing) {\n if (isObject(thing))\n return thing;\n try { return JSON.parse(thing); }\n catch (e) { return undefined; }\n}\n\nfunction headerFromJWS(jwsSig) {\n var encodedHeader = jwsSig.split('.', 1)[0];\n return safeJsonParse(Buffer.from(encodedHeader, 'base64').toString('binary'));\n}\n\nfunction securedInputFromJWS(jwsSig) {\n return jwsSig.split('.', 2).join('.');\n}\n\nfunction signatureFromJWS(jwsSig) {\n return jwsSig.split('.')[2];\n}\n\nfunction payloadFromJWS(jwsSig, encoding) {\n encoding = encoding || 'utf8';\n var payload = jwsSig.split('.')[1];\n return Buffer.from(payload, 'base64').toString(encoding);\n}\n\nfunction isValidJws(string) {\n return JWS_REGEX.test(string) && !!headerFromJWS(string);\n}\n\nfunction jwsVerify(jwsSig, algorithm, secretOrKey) {\n if (!algorithm) {\n var err = new Error(\"Missing algorithm parameter for jws.verify\");\n err.code = \"MISSING_ALGORITHM\";\n throw err;\n }\n jwsSig = toString(jwsSig);\n var signature = signatureFromJWS(jwsSig);\n var securedInput = securedInputFromJWS(jwsSig);\n var algo = jwa(algorithm);\n return algo.verify(securedInput, signature, secretOrKey);\n}\n\nfunction jwsDecode(jwsSig, opts) {\n opts = opts || {};\n jwsSig = toString(jwsSig);\n\n if (!isValidJws(jwsSig))\n return null;\n\n var header = headerFromJWS(jwsSig);\n\n if (!header)\n return null;\n\n var payload = payloadFromJWS(jwsSig);\n if (header.typ === 'JWT' || opts.json)\n payload = JSON.parse(payload, opts.encoding);\n\n return {\n header: header,\n payload: payload,\n signature: signatureFromJWS(jwsSig)\n };\n}\n\nfunction VerifyStream(opts) {\n opts = opts || {};\n var secretOrKey = opts.secret;\n secretOrKey = secretOrKey == null ? opts.publicKey : secretOrKey;\n secretOrKey = secretOrKey == null ? opts.key : secretOrKey;\n if (/^hs/i.test(opts.algorithm) === true && secretOrKey == null) {\n throw new TypeError('secret must be a string or buffer or a KeyObject')\n }\n var secretStream = new DataStream(secretOrKey);\n this.readable = true;\n this.algorithm = opts.algorithm;\n this.encoding = opts.encoding;\n this.secret = this.publicKey = this.key = secretStream;\n this.signature = new DataStream(opts.signature);\n this.secret.once('close', function () {\n if (!this.signature.writable && this.readable)\n this.verify();\n }.bind(this));\n\n this.signature.once('close', function () {\n if (!this.secret.writable && this.readable)\n this.verify();\n }.bind(this));\n}\nutil.inherits(VerifyStream, Stream);\nVerifyStream.prototype.verify = function verify() {\n try {\n var valid = jwsVerify(this.signature.buffer, this.algorithm, this.key.buffer);\n var obj = jwsDecode(this.signature.buffer, this.encoding);\n this.emit('done', valid, obj);\n this.emit('data', valid);\n this.emit('end');\n this.readable = false;\n return valid;\n } catch (e) {\n this.readable = false;\n this.emit('error', e);\n this.emit('close');\n }\n};\n\nVerifyStream.decode = jwsDecode;\nVerifyStream.isValid = isValidJws;\nVerifyStream.verify = jwsVerify;\n\nmodule.exports = VerifyStream;\n","/*global exports*/\nvar SignStream = require('./lib/sign-stream');\nvar VerifyStream = require('./lib/verify-stream');\n\nvar ALGORITHMS = [\n 'HS256', 'HS384', 'HS512',\n 'RS256', 'RS384', 'RS512',\n 'PS256', 'PS384', 'PS512',\n 'ES256', 'ES384', 'ES512'\n];\n\nexports.ALGORITHMS = ALGORITHMS;\nexports.sign = SignStream.sign;\nexports.verify = VerifyStream.verify;\nexports.decode = VerifyStream.decode;\nexports.isValid = VerifyStream.isValid;\nexports.createSign = function createSign(opts) {\n return new SignStream(opts);\n};\nexports.createVerify = function createVerify(opts) {\n return new VerifyStream(opts);\n};\n","var jws = require('jws');\n\nmodule.exports = function (jwt, options) {\n options = options || {};\n var decoded = jws.decode(jwt, options);\n if (!decoded) { return null; }\n var payload = decoded.payload;\n\n //try parse the payload\n if(typeof payload === 'string') {\n try {\n var obj = JSON.parse(payload);\n if(obj !== null && typeof obj === 'object') {\n payload = obj;\n }\n } catch (e) { }\n }\n\n //return header if `complete` option is enabled. header includes claims\n //such as `kid` and `alg` used to select the key within a JWKS needed to\n //verify the signature\n if (options.complete === true) {\n return {\n header: decoded.header,\n payload: payload,\n signature: decoded.signature\n };\n }\n return payload;\n};\n","var JsonWebTokenError = function (message, error) {\n Error.call(this, message);\n if(Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n this.name = 'JsonWebTokenError';\n this.message = message;\n if (error) this.inner = error;\n};\n\nJsonWebTokenError.prototype = Object.create(Error.prototype);\nJsonWebTokenError.prototype.constructor = JsonWebTokenError;\n\nmodule.exports = JsonWebTokenError;\n","var JsonWebTokenError = require('./JsonWebTokenError');\n\nvar NotBeforeError = function (message, date) {\n JsonWebTokenError.call(this, message);\n this.name = 'NotBeforeError';\n this.date = date;\n};\n\nNotBeforeError.prototype = Object.create(JsonWebTokenError.prototype);\n\nNotBeforeError.prototype.constructor = NotBeforeError;\n\nmodule.exports = NotBeforeError;","var JsonWebTokenError = require('./JsonWebTokenError');\n\nvar TokenExpiredError = function (message, expiredAt) {\n JsonWebTokenError.call(this, message);\n this.name = 'TokenExpiredError';\n this.expiredAt = expiredAt;\n};\n\nTokenExpiredError.prototype = Object.create(JsonWebTokenError.prototype);\n\nTokenExpiredError.prototype.constructor = TokenExpiredError;\n\nmodule.exports = TokenExpiredError;","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var ms = require('ms');\n\nmodule.exports = function (time, iat) {\n var timestamp = iat || Math.floor(Date.now() / 1000);\n\n if (typeof time === 'string') {\n var milliseconds = ms(time);\n if (typeof milliseconds === 'undefined') {\n return;\n }\n return Math.floor(timestamp + milliseconds / 1000);\n } else if (typeof time === 'number') {\n return timestamp + time;\n } else {\n return;\n }\n\n};","'use strict'\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","'use strict'\n\nconst debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","'use strict'\n\nconst {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst safeSrc = exports.safeSrc = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n safeSrc[index] = safe\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n// Non-numeric identifiers include numeric identifiers but can be longer.\n// Therefore non-numeric identifiers must go first.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","'use strict'\n\nconst numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n if (typeof a === 'number' && typeof b === 'number') {\n return a === b ? 0 : a < b ? -1 : 1\n }\n\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","'use strict'\n\nconst debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n if (this.major < other.major) {\n return -1\n }\n if (this.major > other.major) {\n return 1\n }\n if (this.minor < other.minor) {\n return -1\n }\n if (this.minor > other.minor) {\n return 1\n }\n if (this.patch < other.patch) {\n return -1\n }\n if (this.patch > other.patch) {\n return 1\n }\n return 0\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('build compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n if (release.startsWith('pre')) {\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n // Avoid an invalid semver results\n if (identifier) {\n const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])\n if (!match || match[1] !== identifier) {\n throw new Error(`invalid identifier: ${identifier}`)\n }\n }\n }\n\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n case 'release':\n if (this.prerelease.length === 0) {\n throw new Error(`version ${this.raw} is not a prerelease`)\n }\n this.prerelease.length = 0\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","'use strict'\n\nconst parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","'use strict'\n\nconst parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","'use strict'\n\nconst SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","'use strict'\n\nconst parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // If the main part has no difference\n if (lowVersion.compareMain(highVersion) === 0) {\n if (lowVersion.minor && !lowVersion.patch) {\n return 'minor'\n }\n return 'patch'\n }\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are prereleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","'use strict'\n\nconst parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","'use strict'\n\nconst compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","'use strict'\n\nconst compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","'use strict'\n\nconst compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","'use strict'\n\nconst compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","'use strict'\n\nconst compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","'use strict'\n\nconst compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","'use strict'\n\nconst compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","'use strict'\n\nconst compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","'use strict'\n\nconst compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","'use strict'\n\nconst compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","'use strict'\n\nconst eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","'use strict'\n\nclass LRUCache {\n constructor () {\n this.max = 1000\n this.map = new Map()\n }\n\n get (key) {\n const value = this.map.get(key)\n if (value === undefined) {\n return undefined\n } else {\n // Remove the key from the map and add it to the end\n this.map.delete(key)\n this.map.set(key, value)\n return value\n }\n }\n\n delete (key) {\n return this.map.delete(key)\n }\n\n set (key, value) {\n const deleted = this.delete(key)\n\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value\n this.delete(firstKey)\n }\n\n this.map.set(key, value)\n }\n\n return this\n }\n}\n\nmodule.exports = LRUCache\n","'use strict'\n\nconst SPACE_CHARACTERS = /\\s+/g\n\n// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.formatted = undefined\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.formatted = undefined\n }\n\n get range () {\n if (this.formatted === undefined) {\n this.formatted = ''\n for (let i = 0; i < this.set.length; i++) {\n if (i > 0) {\n this.formatted += '||'\n }\n const comps = this.set[i]\n for (let k = 0; k < comps.length; k++) {\n if (k > 0) {\n this.formatted += ' '\n }\n this.formatted += comps[k].toString().trim()\n }\n }\n }\n return this.formatted\n }\n\n format () {\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('../internal/lrucache')\nconst cache = new LRU()\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n comp = comp.replace(re[t.BUILD], '')\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\n// TODO build?\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\nconst ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","'use strict'\n\nconst Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","'use strict'\n\nconst Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","'use strict'\n\nconst Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","'use strict'\n\n// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","'use strict'\n\nconst outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","'use strict'\n\nconst Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","'use strict'\n\n// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","'use strict'\n\nconst Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If LT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","'use strict'\n\n// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const semver = require('semver');\n\nmodule.exports = semver.satisfies(process.version, '>=15.7.0');\n","const semver = require('semver');\n\nmodule.exports = semver.satisfies(process.version, '>=16.9.0');\n","const ASYMMETRIC_KEY_DETAILS_SUPPORTED = require('./asymmetricKeyDetailsSupported');\nconst RSA_PSS_KEY_DETAILS_SUPPORTED = require('./rsaPssKeyDetailsSupported');\n\nconst allowedAlgorithmsForKeys = {\n 'ec': ['ES256', 'ES384', 'ES512'],\n 'rsa': ['RS256', 'PS256', 'RS384', 'PS384', 'RS512', 'PS512'],\n 'rsa-pss': ['PS256', 'PS384', 'PS512']\n};\n\nconst allowedCurves = {\n ES256: 'prime256v1',\n ES384: 'secp384r1',\n ES512: 'secp521r1',\n};\n\nmodule.exports = function(algorithm, key) {\n if (!algorithm || !key) return;\n\n const keyType = key.asymmetricKeyType;\n if (!keyType) return;\n\n const allowedAlgorithms = allowedAlgorithmsForKeys[keyType];\n\n if (!allowedAlgorithms) {\n throw new Error(`Unknown key type \"${keyType}\".`);\n }\n\n if (!allowedAlgorithms.includes(algorithm)) {\n throw new Error(`\"alg\" parameter for \"${keyType}\" key type must be one of: ${allowedAlgorithms.join(', ')}.`)\n }\n\n /*\n * Ignore the next block from test coverage because it gets executed\n * conditionally depending on the Node version. Not ignoring it would\n * prevent us from reaching the target % of coverage for versions of\n * Node under 15.7.0.\n */\n /* istanbul ignore next */\n if (ASYMMETRIC_KEY_DETAILS_SUPPORTED) {\n switch (keyType) {\n case 'ec':\n const keyCurve = key.asymmetricKeyDetails.namedCurve;\n const allowedCurve = allowedCurves[algorithm];\n\n if (keyCurve !== allowedCurve) {\n throw new Error(`\"alg\" parameter \"${algorithm}\" requires curve \"${allowedCurve}\".`);\n }\n break;\n\n case 'rsa-pss':\n if (RSA_PSS_KEY_DETAILS_SUPPORTED) {\n const length = parseInt(algorithm.slice(-3), 10);\n const { hashAlgorithm, mgf1HashAlgorithm, saltLength } = key.asymmetricKeyDetails;\n\n if (hashAlgorithm !== `sha${length}` || mgf1HashAlgorithm !== hashAlgorithm) {\n throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of \"alg\" ${algorithm}.`);\n }\n\n if (saltLength !== undefined && saltLength > length >> 3) {\n throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of \"alg\" ${algorithm}.`)\n }\n }\n break;\n }\n }\n}\n","var semver = require('semver');\n\nmodule.exports = semver.satisfies(process.version, '^6.12.0 || >=8.0.0');\n","const JsonWebTokenError = require('./lib/JsonWebTokenError');\nconst NotBeforeError = require('./lib/NotBeforeError');\nconst TokenExpiredError = require('./lib/TokenExpiredError');\nconst decode = require('./decode');\nconst timespan = require('./lib/timespan');\nconst validateAsymmetricKey = require('./lib/validateAsymmetricKey');\nconst PS_SUPPORTED = require('./lib/psSupported');\nconst jws = require('jws');\nconst {KeyObject, createSecretKey, createPublicKey} = require(\"crypto\");\n\nconst PUB_KEY_ALGS = ['RS256', 'RS384', 'RS512'];\nconst EC_KEY_ALGS = ['ES256', 'ES384', 'ES512'];\nconst RSA_KEY_ALGS = ['RS256', 'RS384', 'RS512'];\nconst HS_ALGS = ['HS256', 'HS384', 'HS512'];\n\nif (PS_SUPPORTED) {\n PUB_KEY_ALGS.splice(PUB_KEY_ALGS.length, 0, 'PS256', 'PS384', 'PS512');\n RSA_KEY_ALGS.splice(RSA_KEY_ALGS.length, 0, 'PS256', 'PS384', 'PS512');\n}\n\nmodule.exports = function (jwtString, secretOrPublicKey, options, callback) {\n if ((typeof options === 'function') && !callback) {\n callback = options;\n options = {};\n }\n\n if (!options) {\n options = {};\n }\n\n //clone this object since we are going to mutate it.\n options = Object.assign({}, options);\n\n let done;\n\n if (callback) {\n done = callback;\n } else {\n done = function(err, data) {\n if (err) throw err;\n return data;\n };\n }\n\n if (options.clockTimestamp && typeof options.clockTimestamp !== 'number') {\n return done(new JsonWebTokenError('clockTimestamp must be a number'));\n }\n\n if (options.nonce !== undefined && (typeof options.nonce !== 'string' || options.nonce.trim() === '')) {\n return done(new JsonWebTokenError('nonce must be a non-empty string'));\n }\n\n if (options.allowInvalidAsymmetricKeyTypes !== undefined && typeof options.allowInvalidAsymmetricKeyTypes !== 'boolean') {\n return done(new JsonWebTokenError('allowInvalidAsymmetricKeyTypes must be a boolean'));\n }\n\n const clockTimestamp = options.clockTimestamp || Math.floor(Date.now() / 1000);\n\n if (!jwtString){\n return done(new JsonWebTokenError('jwt must be provided'));\n }\n\n if (typeof jwtString !== 'string') {\n return done(new JsonWebTokenError('jwt must be a string'));\n }\n\n const parts = jwtString.split('.');\n\n if (parts.length !== 3){\n return done(new JsonWebTokenError('jwt malformed'));\n }\n\n let decodedToken;\n\n try {\n decodedToken = decode(jwtString, { complete: true });\n } catch(err) {\n return done(err);\n }\n\n if (!decodedToken) {\n return done(new JsonWebTokenError('invalid token'));\n }\n\n const header = decodedToken.header;\n let getSecret;\n\n if(typeof secretOrPublicKey === 'function') {\n if(!callback) {\n return done(new JsonWebTokenError('verify must be called asynchronous if secret or public key is provided as a callback'));\n }\n\n getSecret = secretOrPublicKey;\n }\n else {\n getSecret = function(header, secretCallback) {\n return secretCallback(null, secretOrPublicKey);\n };\n }\n\n return getSecret(header, function(err, secretOrPublicKey) {\n if(err) {\n return done(new JsonWebTokenError('error in secret or public key callback: ' + err.message));\n }\n\n const hasSignature = parts[2].trim() !== '';\n\n if (!hasSignature && secretOrPublicKey){\n return done(new JsonWebTokenError('jwt signature is required'));\n }\n\n if (hasSignature && !secretOrPublicKey) {\n return done(new JsonWebTokenError('secret or public key must be provided'));\n }\n\n if (!hasSignature && !options.algorithms) {\n return done(new JsonWebTokenError('please specify \"none\" in \"algorithms\" to verify unsigned tokens'));\n }\n\n if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject)) {\n try {\n secretOrPublicKey = createPublicKey(secretOrPublicKey);\n } catch (_) {\n try {\n secretOrPublicKey = createSecretKey(typeof secretOrPublicKey === 'string' ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);\n } catch (_) {\n return done(new JsonWebTokenError('secretOrPublicKey is not valid key material'))\n }\n }\n }\n\n if (!options.algorithms) {\n if (secretOrPublicKey.type === 'secret') {\n options.algorithms = HS_ALGS;\n } else if (['rsa', 'rsa-pss'].includes(secretOrPublicKey.asymmetricKeyType)) {\n options.algorithms = RSA_KEY_ALGS\n } else if (secretOrPublicKey.asymmetricKeyType === 'ec') {\n options.algorithms = EC_KEY_ALGS\n } else {\n options.algorithms = PUB_KEY_ALGS\n }\n }\n\n if (options.algorithms.indexOf(decodedToken.header.alg) === -1) {\n return done(new JsonWebTokenError('invalid algorithm'));\n }\n\n if (header.alg.startsWith('HS') && secretOrPublicKey.type !== 'secret') {\n return done(new JsonWebTokenError((`secretOrPublicKey must be a symmetric key when using ${header.alg}`)))\n } else if (/^(?:RS|PS|ES)/.test(header.alg) && secretOrPublicKey.type !== 'public') {\n return done(new JsonWebTokenError((`secretOrPublicKey must be an asymmetric key when using ${header.alg}`)))\n }\n\n if (!options.allowInvalidAsymmetricKeyTypes) {\n try {\n validateAsymmetricKey(header.alg, secretOrPublicKey);\n } catch (e) {\n return done(e);\n }\n }\n\n let valid;\n\n try {\n valid = jws.verify(jwtString, decodedToken.header.alg, secretOrPublicKey);\n } catch (e) {\n return done(e);\n }\n\n if (!valid) {\n return done(new JsonWebTokenError('invalid signature'));\n }\n\n const payload = decodedToken.payload;\n\n if (typeof payload.nbf !== 'undefined' && !options.ignoreNotBefore) {\n if (typeof payload.nbf !== 'number') {\n return done(new JsonWebTokenError('invalid nbf value'));\n }\n if (payload.nbf > clockTimestamp + (options.clockTolerance || 0)) {\n return done(new NotBeforeError('jwt not active', new Date(payload.nbf * 1000)));\n }\n }\n\n if (typeof payload.exp !== 'undefined' && !options.ignoreExpiration) {\n if (typeof payload.exp !== 'number') {\n return done(new JsonWebTokenError('invalid exp value'));\n }\n if (clockTimestamp >= payload.exp + (options.clockTolerance || 0)) {\n return done(new TokenExpiredError('jwt expired', new Date(payload.exp * 1000)));\n }\n }\n\n if (options.audience) {\n const audiences = Array.isArray(options.audience) ? options.audience : [options.audience];\n const target = Array.isArray(payload.aud) ? payload.aud : [payload.aud];\n\n const match = target.some(function (targetAudience) {\n return audiences.some(function (audience) {\n return audience instanceof RegExp ? audience.test(targetAudience) : audience === targetAudience;\n });\n });\n\n if (!match) {\n return done(new JsonWebTokenError('jwt audience invalid. expected: ' + audiences.join(' or ')));\n }\n }\n\n if (options.issuer) {\n const invalid_issuer =\n (typeof options.issuer === 'string' && payload.iss !== options.issuer) ||\n (Array.isArray(options.issuer) && options.issuer.indexOf(payload.iss) === -1);\n\n if (invalid_issuer) {\n return done(new JsonWebTokenError('jwt issuer invalid. expected: ' + options.issuer));\n }\n }\n\n if (options.subject) {\n if (payload.sub !== options.subject) {\n return done(new JsonWebTokenError('jwt subject invalid. expected: ' + options.subject));\n }\n }\n\n if (options.jwtid) {\n if (payload.jti !== options.jwtid) {\n return done(new JsonWebTokenError('jwt jwtid invalid. expected: ' + options.jwtid));\n }\n }\n\n if (options.nonce) {\n if (payload.nonce !== options.nonce) {\n return done(new JsonWebTokenError('jwt nonce invalid. expected: ' + options.nonce));\n }\n }\n\n if (options.maxAge) {\n if (typeof payload.iat !== 'number') {\n return done(new JsonWebTokenError('iat required when maxAge is specified'));\n }\n\n const maxAgeTimestamp = timespan(options.maxAge, payload.iat);\n if (typeof maxAgeTimestamp === 'undefined') {\n return done(new JsonWebTokenError('\"maxAge\" should be a number of seconds or string representing a timespan eg: \"1d\", \"20h\", 60'));\n }\n if (clockTimestamp >= maxAgeTimestamp + (options.clockTolerance || 0)) {\n return done(new TokenExpiredError('maxAge exceeded', new Date(maxAgeTimestamp * 1000)));\n }\n }\n\n if (options.complete === true) {\n const signature = decodedToken.signature;\n\n return done(null, {\n header: header,\n payload: payload,\n signature: signature\n });\n }\n\n return done(null, payload);\n });\n};\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array ? array.length : 0,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n if (value !== value) {\n return baseFindIndex(array, baseIsNaN, fromIndex);\n }\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n // Safari 9 makes `arguments.length` enumerable in strict mode.\n var result = (isArray(value) || isArguments(value))\n ? baseTimes(value.length, String)\n : [];\n\n var length = result.length,\n skipIndexes = !!length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\nfunction includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object ? baseValues(object, keys(object)) : [];\n}\n\nmodule.exports = includes;\n","/**\n * lodash 3.0.3 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && objectToString.call(value) == boolTag);\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\nmodule.exports = isBoolean;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\nfunction isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = isInteger;\n","/**\n * lodash 3.0.3 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\n * as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && objectToString.call(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) ||\n objectToString.call(value) != objectTag || isHostObject(value)) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return (typeof Ctor == 'function' &&\n Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);\n}\n\nmodule.exports = isPlainObject;\n","/**\n * lodash 4.0.1 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @type Function\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);\n}\n\nmodule.exports = isString;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = once;\n","const timespan = require('./lib/timespan');\nconst PS_SUPPORTED = require('./lib/psSupported');\nconst validateAsymmetricKey = require('./lib/validateAsymmetricKey');\nconst jws = require('jws');\nconst includes = require('lodash.includes');\nconst isBoolean = require('lodash.isboolean');\nconst isInteger = require('lodash.isinteger');\nconst isNumber = require('lodash.isnumber');\nconst isPlainObject = require('lodash.isplainobject');\nconst isString = require('lodash.isstring');\nconst once = require('lodash.once');\nconst { KeyObject, createSecretKey, createPrivateKey } = require('crypto')\n\nconst SUPPORTED_ALGS = ['RS256', 'RS384', 'RS512', 'ES256', 'ES384', 'ES512', 'HS256', 'HS384', 'HS512', 'none'];\nif (PS_SUPPORTED) {\n SUPPORTED_ALGS.splice(3, 0, 'PS256', 'PS384', 'PS512');\n}\n\nconst sign_options_schema = {\n expiresIn: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '\"expiresIn\" should be a number of seconds or string representing a timespan' },\n notBefore: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '\"notBefore\" should be a number of seconds or string representing a timespan' },\n audience: { isValid: function(value) { return isString(value) || Array.isArray(value); }, message: '\"audience\" must be a string or array' },\n algorithm: { isValid: includes.bind(null, SUPPORTED_ALGS), message: '\"algorithm\" must be a valid string enum value' },\n header: { isValid: isPlainObject, message: '\"header\" must be an object' },\n encoding: { isValid: isString, message: '\"encoding\" must be a string' },\n issuer: { isValid: isString, message: '\"issuer\" must be a string' },\n subject: { isValid: isString, message: '\"subject\" must be a string' },\n jwtid: { isValid: isString, message: '\"jwtid\" must be a string' },\n noTimestamp: { isValid: isBoolean, message: '\"noTimestamp\" must be a boolean' },\n keyid: { isValid: isString, message: '\"keyid\" must be a string' },\n mutatePayload: { isValid: isBoolean, message: '\"mutatePayload\" must be a boolean' },\n allowInsecureKeySizes: { isValid: isBoolean, message: '\"allowInsecureKeySizes\" must be a boolean'},\n allowInvalidAsymmetricKeyTypes: { isValid: isBoolean, message: '\"allowInvalidAsymmetricKeyTypes\" must be a boolean'}\n};\n\nconst registered_claims_schema = {\n iat: { isValid: isNumber, message: '\"iat\" should be a number of seconds' },\n exp: { isValid: isNumber, message: '\"exp\" should be a number of seconds' },\n nbf: { isValid: isNumber, message: '\"nbf\" should be a number of seconds' }\n};\n\nfunction validate(schema, allowUnknown, object, parameterName) {\n if (!isPlainObject(object)) {\n throw new Error('Expected \"' + parameterName + '\" to be a plain object.');\n }\n Object.keys(object)\n .forEach(function(key) {\n const validator = schema[key];\n if (!validator) {\n if (!allowUnknown) {\n throw new Error('\"' + key + '\" is not allowed in \"' + parameterName + '\"');\n }\n return;\n }\n if (!validator.isValid(object[key])) {\n throw new Error(validator.message);\n }\n });\n}\n\nfunction validateOptions(options) {\n return validate(sign_options_schema, false, options, 'options');\n}\n\nfunction validatePayload(payload) {\n return validate(registered_claims_schema, true, payload, 'payload');\n}\n\nconst options_to_payload = {\n 'audience': 'aud',\n 'issuer': 'iss',\n 'subject': 'sub',\n 'jwtid': 'jti'\n};\n\nconst options_for_objects = [\n 'expiresIn',\n 'notBefore',\n 'noTimestamp',\n 'audience',\n 'issuer',\n 'subject',\n 'jwtid',\n];\n\nmodule.exports = function (payload, secretOrPrivateKey, options, callback) {\n if (typeof options === 'function') {\n callback = options;\n options = {};\n } else {\n options = options || {};\n }\n\n const isObjectPayload = typeof payload === 'object' &&\n !Buffer.isBuffer(payload);\n\n const header = Object.assign({\n alg: options.algorithm || 'HS256',\n typ: isObjectPayload ? 'JWT' : undefined,\n kid: options.keyid\n }, options.header);\n\n function failure(err) {\n if (callback) {\n return callback(err);\n }\n throw err;\n }\n\n if (!secretOrPrivateKey && options.algorithm !== 'none') {\n return failure(new Error('secretOrPrivateKey must have a value'));\n }\n\n if (secretOrPrivateKey != null && !(secretOrPrivateKey instanceof KeyObject)) {\n try {\n secretOrPrivateKey = createPrivateKey(secretOrPrivateKey)\n } catch (_) {\n try {\n secretOrPrivateKey = createSecretKey(typeof secretOrPrivateKey === 'string' ? Buffer.from(secretOrPrivateKey) : secretOrPrivateKey)\n } catch (_) {\n return failure(new Error('secretOrPrivateKey is not valid key material'));\n }\n }\n }\n\n if (header.alg.startsWith('HS') && secretOrPrivateKey.type !== 'secret') {\n return failure(new Error((`secretOrPrivateKey must be a symmetric key when using ${header.alg}`)))\n } else if (/^(?:RS|PS|ES)/.test(header.alg)) {\n if (secretOrPrivateKey.type !== 'private') {\n return failure(new Error((`secretOrPrivateKey must be an asymmetric key when using ${header.alg}`)))\n }\n if (!options.allowInsecureKeySizes &&\n !header.alg.startsWith('ES') &&\n secretOrPrivateKey.asymmetricKeyDetails !== undefined && //KeyObject.asymmetricKeyDetails is supported in Node 15+\n secretOrPrivateKey.asymmetricKeyDetails.modulusLength < 2048) {\n return failure(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`));\n }\n }\n\n if (typeof payload === 'undefined') {\n return failure(new Error('payload is required'));\n } else if (isObjectPayload) {\n try {\n validatePayload(payload);\n }\n catch (error) {\n return failure(error);\n }\n if (!options.mutatePayload) {\n payload = Object.assign({},payload);\n }\n } else {\n const invalid_options = options_for_objects.filter(function (opt) {\n return typeof options[opt] !== 'undefined';\n });\n\n if (invalid_options.length > 0) {\n return failure(new Error('invalid ' + invalid_options.join(',') + ' option for ' + (typeof payload ) + ' payload'));\n }\n }\n\n if (typeof payload.exp !== 'undefined' && typeof options.expiresIn !== 'undefined') {\n return failure(new Error('Bad \"options.expiresIn\" option the payload already has an \"exp\" property.'));\n }\n\n if (typeof payload.nbf !== 'undefined' && typeof options.notBefore !== 'undefined') {\n return failure(new Error('Bad \"options.notBefore\" option the payload already has an \"nbf\" property.'));\n }\n\n try {\n validateOptions(options);\n }\n catch (error) {\n return failure(error);\n }\n\n if (!options.allowInvalidAsymmetricKeyTypes) {\n try {\n validateAsymmetricKey(header.alg, secretOrPrivateKey);\n } catch (error) {\n return failure(error);\n }\n }\n\n const timestamp = payload.iat || Math.floor(Date.now() / 1000);\n\n if (options.noTimestamp) {\n delete payload.iat;\n } else if (isObjectPayload) {\n payload.iat = timestamp;\n }\n\n if (typeof options.notBefore !== 'undefined') {\n try {\n payload.nbf = timespan(options.notBefore, timestamp);\n }\n catch (err) {\n return failure(err);\n }\n if (typeof payload.nbf === 'undefined') {\n return failure(new Error('\"notBefore\" should be a number of seconds or string representing a timespan eg: \"1d\", \"20h\", 60'));\n }\n }\n\n if (typeof options.expiresIn !== 'undefined' && typeof payload === 'object') {\n try {\n payload.exp = timespan(options.expiresIn, timestamp);\n }\n catch (err) {\n return failure(err);\n }\n if (typeof payload.exp === 'undefined') {\n return failure(new Error('\"expiresIn\" should be a number of seconds or string representing a timespan eg: \"1d\", \"20h\", 60'));\n }\n }\n\n Object.keys(options_to_payload).forEach(function (key) {\n const claim = options_to_payload[key];\n if (typeof options[key] !== 'undefined') {\n if (typeof payload[claim] !== 'undefined') {\n return failure(new Error('Bad \"options.' + key + '\" option. The payload already has an \"' + claim + '\" property.'));\n }\n payload[claim] = options[key];\n }\n });\n\n const encoding = options.encoding || 'utf8';\n\n if (typeof callback === 'function') {\n callback = callback && once(callback);\n\n jws.createSign({\n header: header,\n privateKey: secretOrPrivateKey,\n payload: payload,\n encoding: encoding\n }).once('error', callback)\n .once('done', function (signature) {\n // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version\n if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {\n return callback(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`))\n }\n callback(null, signature);\n });\n } else {\n let signature = jws.sign({header: header, payload: payload, secret: secretOrPrivateKey, encoding: encoding});\n // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version\n if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {\n throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`)\n }\n return signature\n }\n};\n","module.exports = {\n decode: require('./decode'),\n verify: require('./verify'),\n sign: require('./sign'),\n JsonWebTokenError: require('./lib/JsonWebTokenError'),\n NotBeforeError: require('./lib/NotBeforeError'),\n TokenExpiredError: require('./lib/TokenExpiredError'),\n};\n","export class InvalidTokenError extends Error {\n}\nInvalidTokenError.prototype.name = \"InvalidTokenError\";\nfunction b64DecodeUnicode(str) {\n return decodeURIComponent(atob(str).replace(/(.)/g, (m, p) => {\n let code = p.charCodeAt(0).toString(16).toUpperCase();\n if (code.length < 2) {\n code = \"0\" + code;\n }\n return \"%\" + code;\n }));\n}\nfunction base64UrlDecode(str) {\n let output = str.replace(/-/g, \"+\").replace(/_/g, \"/\");\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += \"==\";\n break;\n case 3:\n output += \"=\";\n break;\n default:\n throw new Error(\"base64 string is not of the correct length\");\n }\n try {\n return b64DecodeUnicode(output);\n }\n catch (err) {\n return atob(output);\n }\n}\nexport function jwtDecode(token, options) {\n if (typeof token !== \"string\") {\n throw new InvalidTokenError(\"Invalid token specified: must be a string\");\n }\n options || (options = {});\n const pos = options.header === true ? 0 : 1;\n const part = token.split(\".\")[pos];\n if (typeof part !== \"string\") {\n throw new InvalidTokenError(`Invalid token specified: missing part #${pos + 1}`);\n }\n let decoded;\n try {\n decoded = base64UrlDecode(part);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${pos + 1} (${e.message})`);\n }\n try {\n return JSON.parse(decoded);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid json for part #${pos + 1} (${e.message})`);\n }\n}\n","export default crypto;\nexport const isCryptoKey = (key) => key instanceof CryptoKey;\n","import crypto from './webcrypto.js';\nconst digest = async (algorithm, data) => {\n const subtleDigest = `SHA-${algorithm.slice(-3)}`;\n return new Uint8Array(await crypto.subtle.digest(subtleDigest, data));\n};\nexport default digest;\n","import digest from '../runtime/digest.js';\nexport const encoder = new TextEncoder();\nexport const decoder = new TextDecoder();\nconst MAX_INT32 = 2 ** 32;\nexport function concat(...buffers) {\n const size = buffers.reduce((acc, { length }) => acc + length, 0);\n const buf = new Uint8Array(size);\n let i = 0;\n buffers.forEach((buffer) => {\n buf.set(buffer, i);\n i += buffer.length;\n });\n return buf;\n}\nexport function p2s(alg, p2sInput) {\n return concat(encoder.encode(alg), new Uint8Array([0]), p2sInput);\n}\nfunction writeUInt32BE(buf, value, offset) {\n if (value < 0 || value >= MAX_INT32) {\n throw new RangeError(`value must be >= 0 and <= ${MAX_INT32 - 1}. Received ${value}`);\n }\n buf.set([value >>> 24, value >>> 16, value >>> 8, value & 0xff], offset);\n}\nexport function uint64be(value) {\n const high = Math.floor(value / MAX_INT32);\n const low = value % MAX_INT32;\n const buf = new Uint8Array(8);\n writeUInt32BE(buf, high, 0);\n writeUInt32BE(buf, low, 4);\n return buf;\n}\nexport function uint32be(value) {\n const buf = new Uint8Array(4);\n writeUInt32BE(buf, value);\n return buf;\n}\nexport function lengthAndInput(input) {\n return concat(uint32be(input.length), input);\n}\nexport async function concatKdf(secret, bits, value) {\n const iterations = Math.ceil((bits >> 3) / 32);\n const res = new Uint8Array(iterations * 32);\n for (let iter = 0; iter < iterations; iter++) {\n const buf = new Uint8Array(4 + secret.length + value.length);\n buf.set(uint32be(iter + 1));\n buf.set(secret, 4);\n buf.set(value, 4 + secret.length);\n res.set(await digest('sha256', buf), iter * 32);\n }\n return res.slice(0, bits >> 3);\n}\n","import { encoder, decoder } from '../lib/buffer_utils.js';\nexport const encodeBase64 = (input) => {\n let unencoded = input;\n if (typeof unencoded === 'string') {\n unencoded = encoder.encode(unencoded);\n }\n const CHUNK_SIZE = 0x8000;\n const arr = [];\n for (let i = 0; i < unencoded.length; i += CHUNK_SIZE) {\n arr.push(String.fromCharCode.apply(null, unencoded.subarray(i, i + CHUNK_SIZE)));\n }\n return btoa(arr.join(''));\n};\nexport const encode = (input) => {\n return encodeBase64(input).replace(/=/g, '').replace(/\\+/g, '-').replace(/\\//g, '_');\n};\nexport const decodeBase64 = (encoded) => {\n const binary = atob(encoded);\n const bytes = new Uint8Array(binary.length);\n for (let i = 0; i < binary.length; i++) {\n bytes[i] = binary.charCodeAt(i);\n }\n return bytes;\n};\nexport const decode = (input) => {\n let encoded = input;\n if (encoded instanceof Uint8Array) {\n encoded = decoder.decode(encoded);\n }\n encoded = encoded.replace(/-/g, '+').replace(/_/g, '/').replace(/\\s/g, '');\n try {\n return decodeBase64(encoded);\n }\n catch (_a) {\n throw new TypeError('The input to be decoded is not correctly encoded.');\n }\n};\n","export class JOSEError extends Error {\n static get code() {\n return 'ERR_JOSE_GENERIC';\n }\n constructor(message) {\n var _a;\n super(message);\n this.code = 'ERR_JOSE_GENERIC';\n this.name = this.constructor.name;\n (_a = Error.captureStackTrace) === null || _a === void 0 ? void 0 : _a.call(Error, this, this.constructor);\n }\n}\nexport class JWTClaimValidationFailed extends JOSEError {\n static get code() {\n return 'ERR_JWT_CLAIM_VALIDATION_FAILED';\n }\n constructor(message, claim = 'unspecified', reason = 'unspecified') {\n super(message);\n this.code = 'ERR_JWT_CLAIM_VALIDATION_FAILED';\n this.claim = claim;\n this.reason = reason;\n }\n}\nexport class JWTExpired extends JOSEError {\n static get code() {\n return 'ERR_JWT_EXPIRED';\n }\n constructor(message, claim = 'unspecified', reason = 'unspecified') {\n super(message);\n this.code = 'ERR_JWT_EXPIRED';\n this.claim = claim;\n this.reason = reason;\n }\n}\nexport class JOSEAlgNotAllowed extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JOSE_ALG_NOT_ALLOWED';\n }\n static get code() {\n return 'ERR_JOSE_ALG_NOT_ALLOWED';\n }\n}\nexport class JOSENotSupported extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JOSE_NOT_SUPPORTED';\n }\n static get code() {\n return 'ERR_JOSE_NOT_SUPPORTED';\n }\n}\nexport class JWEDecryptionFailed extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWE_DECRYPTION_FAILED';\n this.message = 'decryption operation failed';\n }\n static get code() {\n return 'ERR_JWE_DECRYPTION_FAILED';\n }\n}\nexport class JWEDecompressionFailed extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWE_DECOMPRESSION_FAILED';\n this.message = 'decompression operation failed';\n }\n static get code() {\n return 'ERR_JWE_DECOMPRESSION_FAILED';\n }\n}\nexport class JWEInvalid extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWE_INVALID';\n }\n static get code() {\n return 'ERR_JWE_INVALID';\n }\n}\nexport class JWSInvalid extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWS_INVALID';\n }\n static get code() {\n return 'ERR_JWS_INVALID';\n }\n}\nexport class JWTInvalid extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWT_INVALID';\n }\n static get code() {\n return 'ERR_JWT_INVALID';\n }\n}\nexport class JWKInvalid extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWK_INVALID';\n }\n static get code() {\n return 'ERR_JWK_INVALID';\n }\n}\nexport class JWKSInvalid extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWKS_INVALID';\n }\n static get code() {\n return 'ERR_JWKS_INVALID';\n }\n}\nexport class JWKSNoMatchingKey extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWKS_NO_MATCHING_KEY';\n this.message = 'no applicable key found in the JSON Web Key Set';\n }\n static get code() {\n return 'ERR_JWKS_NO_MATCHING_KEY';\n }\n}\nexport class JWKSMultipleMatchingKeys extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';\n this.message = 'multiple matching keys found in the JSON Web Key Set';\n }\n static get code() {\n return 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';\n }\n}\nSymbol.asyncIterator;\nexport class JWKSTimeout extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWKS_TIMEOUT';\n this.message = 'request timed out';\n }\n static get code() {\n return 'ERR_JWKS_TIMEOUT';\n }\n}\nexport class JWSSignatureVerificationFailed extends JOSEError {\n constructor() {\n super(...arguments);\n this.code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';\n this.message = 'signature verification failed';\n }\n static get code() {\n return 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';\n }\n}\n","import crypto from './webcrypto.js';\nexport default crypto.getRandomValues.bind(crypto);\n","import { JOSENotSupported } from '../util/errors.js';\nimport random from '../runtime/random.js';\nexport function bitLength(alg) {\n switch (alg) {\n case 'A128GCM':\n case 'A128GCMKW':\n case 'A192GCM':\n case 'A192GCMKW':\n case 'A256GCM':\n case 'A256GCMKW':\n return 96;\n case 'A128CBC-HS256':\n case 'A192CBC-HS384':\n case 'A256CBC-HS512':\n return 128;\n default:\n throw new JOSENotSupported(`Unsupported JWE Algorithm: ${alg}`);\n }\n}\nexport default (alg) => random(new Uint8Array(bitLength(alg) >> 3));\n","import { JWEInvalid } from '../util/errors.js';\nimport { bitLength } from './iv.js';\nconst checkIvLength = (enc, iv) => {\n if (iv.length << 3 !== bitLength(enc)) {\n throw new JWEInvalid('Invalid Initialization Vector length');\n }\n};\nexport default checkIvLength;\n","import { JWEInvalid } from '../util/errors.js';\nconst checkCekLength = (cek, expected) => {\n const actual = cek.byteLength << 3;\n if (actual !== expected) {\n throw new JWEInvalid(`Invalid Content Encryption Key length. Expected ${expected} bits, got ${actual} bits`);\n }\n};\nexport default checkCekLength;\n","const timingSafeEqual = (a, b) => {\n if (!(a instanceof Uint8Array)) {\n throw new TypeError('First argument must be a buffer');\n }\n if (!(b instanceof Uint8Array)) {\n throw new TypeError('Second argument must be a buffer');\n }\n if (a.length !== b.length) {\n throw new TypeError('Input buffers must have the same length');\n }\n const len = a.length;\n let out = 0;\n let i = -1;\n while (++i < len) {\n out |= a[i] ^ b[i];\n }\n return out === 0;\n};\nexport default timingSafeEqual;\n","function unusable(name, prop = 'algorithm.name') {\n return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);\n}\nfunction isAlgorithm(algorithm, name) {\n return algorithm.name === name;\n}\nfunction getHashLength(hash) {\n return parseInt(hash.name.slice(4), 10);\n}\nfunction getNamedCurve(alg) {\n switch (alg) {\n case 'ES256':\n return 'P-256';\n case 'ES384':\n return 'P-384';\n case 'ES512':\n return 'P-521';\n default:\n throw new Error('unreachable');\n }\n}\nfunction checkUsage(key, usages) {\n if (usages.length && !usages.some((expected) => key.usages.includes(expected))) {\n let msg = 'CryptoKey does not support this operation, its usages must include ';\n if (usages.length > 2) {\n const last = usages.pop();\n msg += `one of ${usages.join(', ')}, or ${last}.`;\n }\n else if (usages.length === 2) {\n msg += `one of ${usages[0]} or ${usages[1]}.`;\n }\n else {\n msg += `${usages[0]}.`;\n }\n throw new TypeError(msg);\n }\n}\nexport function checkSigCryptoKey(key, alg, ...usages) {\n switch (alg) {\n case 'HS256':\n case 'HS384':\n case 'HS512': {\n if (!isAlgorithm(key.algorithm, 'HMAC'))\n throw unusable('HMAC');\n const expected = parseInt(alg.slice(2), 10);\n const actual = getHashLength(key.algorithm.hash);\n if (actual !== expected)\n throw unusable(`SHA-${expected}`, 'algorithm.hash');\n break;\n }\n case 'RS256':\n case 'RS384':\n case 'RS512': {\n if (!isAlgorithm(key.algorithm, 'RSASSA-PKCS1-v1_5'))\n throw unusable('RSASSA-PKCS1-v1_5');\n const expected = parseInt(alg.slice(2), 10);\n const actual = getHashLength(key.algorithm.hash);\n if (actual !== expected)\n throw unusable(`SHA-${expected}`, 'algorithm.hash');\n break;\n }\n case 'PS256':\n case 'PS384':\n case 'PS512': {\n if (!isAlgorithm(key.algorithm, 'RSA-PSS'))\n throw unusable('RSA-PSS');\n const expected = parseInt(alg.slice(2), 10);\n const actual = getHashLength(key.algorithm.hash);\n if (actual !== expected)\n throw unusable(`SHA-${expected}`, 'algorithm.hash');\n break;\n }\n case 'EdDSA': {\n if (key.algorithm.name !== 'Ed25519' && key.algorithm.name !== 'Ed448') {\n throw unusable('Ed25519 or Ed448');\n }\n break;\n }\n case 'ES256':\n case 'ES384':\n case 'ES512': {\n if (!isAlgorithm(key.algorithm, 'ECDSA'))\n throw unusable('ECDSA');\n const expected = getNamedCurve(alg);\n const actual = key.algorithm.namedCurve;\n if (actual !== expected)\n throw unusable(expected, 'algorithm.namedCurve');\n break;\n }\n default:\n throw new TypeError('CryptoKey does not support this operation');\n }\n checkUsage(key, usages);\n}\nexport function checkEncCryptoKey(key, alg, ...usages) {\n switch (alg) {\n case 'A128GCM':\n case 'A192GCM':\n case 'A256GCM': {\n if (!isAlgorithm(key.algorithm, 'AES-GCM'))\n throw unusable('AES-GCM');\n const expected = parseInt(alg.slice(1, 4), 10);\n const actual = key.algorithm.length;\n if (actual !== expected)\n throw unusable(expected, 'algorithm.length');\n break;\n }\n case 'A128KW':\n case 'A192KW':\n case 'A256KW': {\n if (!isAlgorithm(key.algorithm, 'AES-KW'))\n throw unusable('AES-KW');\n const expected = parseInt(alg.slice(1, 4), 10);\n const actual = key.algorithm.length;\n if (actual !== expected)\n throw unusable(expected, 'algorithm.length');\n break;\n }\n case 'ECDH': {\n switch (key.algorithm.name) {\n case 'ECDH':\n case 'X25519':\n case 'X448':\n break;\n default:\n throw unusable('ECDH, X25519, or X448');\n }\n break;\n }\n case 'PBES2-HS256+A128KW':\n case 'PBES2-HS384+A192KW':\n case 'PBES2-HS512+A256KW':\n if (!isAlgorithm(key.algorithm, 'PBKDF2'))\n throw unusable('PBKDF2');\n break;\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512': {\n if (!isAlgorithm(key.algorithm, 'RSA-OAEP'))\n throw unusable('RSA-OAEP');\n const expected = parseInt(alg.slice(9), 10) || 1;\n const actual = getHashLength(key.algorithm.hash);\n if (actual !== expected)\n throw unusable(`SHA-${expected}`, 'algorithm.hash');\n break;\n }\n default:\n throw new TypeError('CryptoKey does not support this operation');\n }\n checkUsage(key, usages);\n}\n","function message(msg, actual, ...types) {\n if (types.length > 2) {\n const last = types.pop();\n msg += `one of type ${types.join(', ')}, or ${last}.`;\n }\n else if (types.length === 2) {\n msg += `one of type ${types[0]} or ${types[1]}.`;\n }\n else {\n msg += `of type ${types[0]}.`;\n }\n if (actual == null) {\n msg += ` Received ${actual}`;\n }\n else if (typeof actual === 'function' && actual.name) {\n msg += ` Received function ${actual.name}`;\n }\n else if (typeof actual === 'object' && actual != null) {\n if (actual.constructor && actual.constructor.name) {\n msg += ` Received an instance of ${actual.constructor.name}`;\n }\n }\n return msg;\n}\nexport default (actual, ...types) => {\n return message('Key must be ', actual, ...types);\n};\nexport function withAlg(alg, actual, ...types) {\n return message(`Key for the ${alg} algorithm must be `, actual, ...types);\n}\n","import { isCryptoKey } from './webcrypto.js';\nexport default (key) => {\n return isCryptoKey(key);\n};\nexport const types = ['CryptoKey'];\n","import { concat, uint64be } from '../lib/buffer_utils.js';\nimport checkIvLength from '../lib/check_iv_length.js';\nimport checkCekLength from './check_cek_length.js';\nimport timingSafeEqual from './timing_safe_equal.js';\nimport { JOSENotSupported, JWEDecryptionFailed } from '../util/errors.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nasync function cbcDecrypt(enc, cek, ciphertext, iv, tag, aad) {\n if (!(cek instanceof Uint8Array)) {\n throw new TypeError(invalidKeyInput(cek, 'Uint8Array'));\n }\n const keySize = parseInt(enc.slice(1, 4), 10);\n const encKey = await crypto.subtle.importKey('raw', cek.subarray(keySize >> 3), 'AES-CBC', false, ['decrypt']);\n const macKey = await crypto.subtle.importKey('raw', cek.subarray(0, keySize >> 3), {\n hash: `SHA-${keySize << 1}`,\n name: 'HMAC',\n }, false, ['sign']);\n const macData = concat(aad, iv, ciphertext, uint64be(aad.length << 3));\n const expectedTag = new Uint8Array((await crypto.subtle.sign('HMAC', macKey, macData)).slice(0, keySize >> 3));\n let macCheckPassed;\n try {\n macCheckPassed = timingSafeEqual(tag, expectedTag);\n }\n catch (_a) {\n }\n if (!macCheckPassed) {\n throw new JWEDecryptionFailed();\n }\n let plaintext;\n try {\n plaintext = new Uint8Array(await crypto.subtle.decrypt({ iv, name: 'AES-CBC' }, encKey, ciphertext));\n }\n catch (_b) {\n }\n if (!plaintext) {\n throw new JWEDecryptionFailed();\n }\n return plaintext;\n}\nasync function gcmDecrypt(enc, cek, ciphertext, iv, tag, aad) {\n let encKey;\n if (cek instanceof Uint8Array) {\n encKey = await crypto.subtle.importKey('raw', cek, 'AES-GCM', false, ['decrypt']);\n }\n else {\n checkEncCryptoKey(cek, enc, 'decrypt');\n encKey = cek;\n }\n try {\n return new Uint8Array(await crypto.subtle.decrypt({\n additionalData: aad,\n iv,\n name: 'AES-GCM',\n tagLength: 128,\n }, encKey, concat(ciphertext, tag)));\n }\n catch (_a) {\n throw new JWEDecryptionFailed();\n }\n}\nconst decrypt = async (enc, cek, ciphertext, iv, tag, aad) => {\n if (!isCryptoKey(cek) && !(cek instanceof Uint8Array)) {\n throw new TypeError(invalidKeyInput(cek, ...types, 'Uint8Array'));\n }\n checkIvLength(enc, iv);\n switch (enc) {\n case 'A128CBC-HS256':\n case 'A192CBC-HS384':\n case 'A256CBC-HS512':\n if (cek instanceof Uint8Array)\n checkCekLength(cek, parseInt(enc.slice(-3), 10));\n return cbcDecrypt(enc, cek, ciphertext, iv, tag, aad);\n case 'A128GCM':\n case 'A192GCM':\n case 'A256GCM':\n if (cek instanceof Uint8Array)\n checkCekLength(cek, parseInt(enc.slice(1, 4), 10));\n return gcmDecrypt(enc, cek, ciphertext, iv, tag, aad);\n default:\n throw new JOSENotSupported('Unsupported JWE Content Encryption Algorithm');\n }\n};\nexport default decrypt;\n","import { JOSENotSupported } from '../util/errors.js';\nexport const inflate = async () => {\n throw new JOSENotSupported('JWE \"zip\" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `inflateRaw` decrypt option to provide Inflate Raw implementation.');\n};\nexport const deflate = async () => {\n throw new JOSENotSupported('JWE \"zip\" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `deflateRaw` encrypt option to provide Deflate Raw implementation.');\n};\n","const isDisjoint = (...headers) => {\n const sources = headers.filter(Boolean);\n if (sources.length === 0 || sources.length === 1) {\n return true;\n }\n let acc;\n for (const header of sources) {\n const parameters = Object.keys(header);\n if (!acc || acc.size === 0) {\n acc = new Set(parameters);\n continue;\n }\n for (const parameter of parameters) {\n if (acc.has(parameter)) {\n return false;\n }\n acc.add(parameter);\n }\n }\n return true;\n};\nexport default isDisjoint;\n","function isObjectLike(value) {\n return typeof value === 'object' && value !== null;\n}\nexport default function isObject(input) {\n if (!isObjectLike(input) || Object.prototype.toString.call(input) !== '[object Object]') {\n return false;\n }\n if (Object.getPrototypeOf(input) === null) {\n return true;\n }\n let proto = input;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(input) === proto;\n}\n","const bogusWebCrypto = [\n { hash: 'SHA-256', name: 'HMAC' },\n true,\n ['sign'],\n];\nexport default bogusWebCrypto;\n","import bogusWebCrypto from './bogus.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nfunction checkKeySize(key, alg) {\n if (key.algorithm.length !== parseInt(alg.slice(1, 4), 10)) {\n throw new TypeError(`Invalid key size for alg: ${alg}`);\n }\n}\nfunction getCryptoKey(key, alg, usage) {\n if (isCryptoKey(key)) {\n checkEncCryptoKey(key, alg, usage);\n return key;\n }\n if (key instanceof Uint8Array) {\n return crypto.subtle.importKey('raw', key, 'AES-KW', true, [usage]);\n }\n throw new TypeError(invalidKeyInput(key, ...types, 'Uint8Array'));\n}\nexport const wrap = async (alg, key, cek) => {\n const cryptoKey = await getCryptoKey(key, alg, 'wrapKey');\n checkKeySize(cryptoKey, alg);\n const cryptoKeyCek = await crypto.subtle.importKey('raw', cek, ...bogusWebCrypto);\n return new Uint8Array(await crypto.subtle.wrapKey('raw', cryptoKeyCek, cryptoKey, 'AES-KW'));\n};\nexport const unwrap = async (alg, key, encryptedKey) => {\n const cryptoKey = await getCryptoKey(key, alg, 'unwrapKey');\n checkKeySize(cryptoKey, alg);\n const cryptoKeyCek = await crypto.subtle.unwrapKey('raw', encryptedKey, cryptoKey, 'AES-KW', ...bogusWebCrypto);\n return new Uint8Array(await crypto.subtle.exportKey('raw', cryptoKeyCek));\n};\n","import { encoder, concat, uint32be, lengthAndInput, concatKdf } from '../lib/buffer_utils.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nexport async function deriveKey(publicKey, privateKey, algorithm, keyLength, apu = new Uint8Array(0), apv = new Uint8Array(0)) {\n if (!isCryptoKey(publicKey)) {\n throw new TypeError(invalidKeyInput(publicKey, ...types));\n }\n checkEncCryptoKey(publicKey, 'ECDH');\n if (!isCryptoKey(privateKey)) {\n throw new TypeError(invalidKeyInput(privateKey, ...types));\n }\n checkEncCryptoKey(privateKey, 'ECDH', 'deriveBits');\n const value = concat(lengthAndInput(encoder.encode(algorithm)), lengthAndInput(apu), lengthAndInput(apv), uint32be(keyLength));\n let length;\n if (publicKey.algorithm.name === 'X25519') {\n length = 256;\n }\n else if (publicKey.algorithm.name === 'X448') {\n length = 448;\n }\n else {\n length =\n Math.ceil(parseInt(publicKey.algorithm.namedCurve.substr(-3), 10) / 8) << 3;\n }\n const sharedSecret = new Uint8Array(await crypto.subtle.deriveBits({\n name: publicKey.algorithm.name,\n public: publicKey,\n }, privateKey, length));\n return concatKdf(sharedSecret, keyLength, value);\n}\nexport async function generateEpk(key) {\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n return crypto.subtle.generateKey(key.algorithm, true, ['deriveBits']);\n}\nexport function ecdhAllowed(key) {\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n return (['P-256', 'P-384', 'P-521'].includes(key.algorithm.namedCurve) ||\n key.algorithm.name === 'X25519' ||\n key.algorithm.name === 'X448');\n}\n","import { JWEInvalid } from '../util/errors.js';\nexport default function checkP2s(p2s) {\n if (!(p2s instanceof Uint8Array) || p2s.length < 8) {\n throw new JWEInvalid('PBES2 Salt Input must be 8 or more octets');\n }\n}\n","import random from './random.js';\nimport { p2s as concatSalt } from '../lib/buffer_utils.js';\nimport { encode as base64url } from './base64url.js';\nimport { wrap, unwrap } from './aeskw.js';\nimport checkP2s from '../lib/check_p2s.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nfunction getCryptoKey(key, alg) {\n if (key instanceof Uint8Array) {\n return crypto.subtle.importKey('raw', key, 'PBKDF2', false, ['deriveBits']);\n }\n if (isCryptoKey(key)) {\n checkEncCryptoKey(key, alg, 'deriveBits', 'deriveKey');\n return key;\n }\n throw new TypeError(invalidKeyInput(key, ...types, 'Uint8Array'));\n}\nasync function deriveKey(p2s, alg, p2c, key) {\n checkP2s(p2s);\n const salt = concatSalt(alg, p2s);\n const keylen = parseInt(alg.slice(13, 16), 10);\n const subtleAlg = {\n hash: `SHA-${alg.slice(8, 11)}`,\n iterations: p2c,\n name: 'PBKDF2',\n salt,\n };\n const wrapAlg = {\n length: keylen,\n name: 'AES-KW',\n };\n const cryptoKey = await getCryptoKey(key, alg);\n if (cryptoKey.usages.includes('deriveBits')) {\n return new Uint8Array(await crypto.subtle.deriveBits(subtleAlg, cryptoKey, keylen));\n }\n if (cryptoKey.usages.includes('deriveKey')) {\n return crypto.subtle.deriveKey(subtleAlg, cryptoKey, wrapAlg, false, ['wrapKey', 'unwrapKey']);\n }\n throw new TypeError('PBKDF2 key \"usages\" must include \"deriveBits\" or \"deriveKey\"');\n}\nexport const encrypt = async (alg, key, cek, p2c = 2048, p2s = random(new Uint8Array(16))) => {\n const derived = await deriveKey(p2s, alg, p2c, key);\n const encryptedKey = await wrap(alg.slice(-6), derived, cek);\n return { encryptedKey, p2c, p2s: base64url(p2s) };\n};\nexport const decrypt = async (alg, key, encryptedKey, p2c, p2s) => {\n const derived = await deriveKey(p2s, alg, p2c, key);\n return unwrap(alg.slice(-6), derived, encryptedKey);\n};\n","import { JOSENotSupported } from '../util/errors.js';\nexport default function subtleRsaEs(alg) {\n switch (alg) {\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512':\n return 'RSA-OAEP';\n default:\n throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`);\n }\n}\n","export default (alg, key) => {\n if (alg.startsWith('RS') || alg.startsWith('PS')) {\n const { modulusLength } = key.algorithm;\n if (typeof modulusLength !== 'number' || modulusLength < 2048) {\n throw new TypeError(`${alg} requires key modulusLength to be 2048 bits or larger`);\n }\n }\n};\n","import subtleAlgorithm from './subtle_rsaes.js';\nimport bogusWebCrypto from './bogus.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport checkKeyLength from './check_key_length.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nexport const encrypt = async (alg, key, cek) => {\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n checkEncCryptoKey(key, alg, 'encrypt', 'wrapKey');\n checkKeyLength(alg, key);\n if (key.usages.includes('encrypt')) {\n return new Uint8Array(await crypto.subtle.encrypt(subtleAlgorithm(alg), key, cek));\n }\n if (key.usages.includes('wrapKey')) {\n const cryptoKeyCek = await crypto.subtle.importKey('raw', cek, ...bogusWebCrypto);\n return new Uint8Array(await crypto.subtle.wrapKey('raw', cryptoKeyCek, key, subtleAlgorithm(alg)));\n }\n throw new TypeError('RSA-OAEP key \"usages\" must include \"encrypt\" or \"wrapKey\" for this operation');\n};\nexport const decrypt = async (alg, key, encryptedKey) => {\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n checkEncCryptoKey(key, alg, 'decrypt', 'unwrapKey');\n checkKeyLength(alg, key);\n if (key.usages.includes('decrypt')) {\n return new Uint8Array(await crypto.subtle.decrypt(subtleAlgorithm(alg), key, encryptedKey));\n }\n if (key.usages.includes('unwrapKey')) {\n const cryptoKeyCek = await crypto.subtle.unwrapKey('raw', encryptedKey, key, subtleAlgorithm(alg), ...bogusWebCrypto);\n return new Uint8Array(await crypto.subtle.exportKey('raw', cryptoKeyCek));\n }\n throw new TypeError('RSA-OAEP key \"usages\" must include \"decrypt\" or \"unwrapKey\" for this operation');\n};\n","import { JOSENotSupported } from '../util/errors.js';\nimport random from '../runtime/random.js';\nexport function bitLength(alg) {\n switch (alg) {\n case 'A128GCM':\n return 128;\n case 'A192GCM':\n return 192;\n case 'A256GCM':\n case 'A128CBC-HS256':\n return 256;\n case 'A192CBC-HS384':\n return 384;\n case 'A256CBC-HS512':\n return 512;\n default:\n throw new JOSENotSupported(`Unsupported JWE Algorithm: ${alg}`);\n }\n}\nexport default (alg) => random(new Uint8Array(bitLength(alg) >> 3));\n","export default (b64, descriptor) => {\n const newlined = (b64.match(/.{1,64}/g) || []).join('\\n');\n return `-----BEGIN ${descriptor}-----\\n${newlined}\\n-----END ${descriptor}-----`;\n};\n","import crypto, { isCryptoKey } from './webcrypto.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { encodeBase64, decodeBase64 } from './base64url.js';\nimport formatPEM from '../lib/format_pem.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport { types } from './is_key_like.js';\nconst genericExport = async (keyType, keyFormat, key) => {\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n if (!key.extractable) {\n throw new TypeError('CryptoKey is not extractable');\n }\n if (key.type !== keyType) {\n throw new TypeError(`key is not a ${keyType} key`);\n }\n return formatPEM(encodeBase64(new Uint8Array(await crypto.subtle.exportKey(keyFormat, key))), `${keyType.toUpperCase()} KEY`);\n};\nexport const toSPKI = (key) => {\n return genericExport('public', 'spki', key);\n};\nexport const toPKCS8 = (key) => {\n return genericExport('private', 'pkcs8', key);\n};\nconst findOid = (keyData, oid, from = 0) => {\n if (from === 0) {\n oid.unshift(oid.length);\n oid.unshift(0x06);\n }\n let i = keyData.indexOf(oid[0], from);\n if (i === -1)\n return false;\n const sub = keyData.subarray(i, i + oid.length);\n if (sub.length !== oid.length)\n return false;\n return sub.every((value, index) => value === oid[index]) || findOid(keyData, oid, i + 1);\n};\nconst getNamedCurve = (keyData) => {\n switch (true) {\n case findOid(keyData, [0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07]):\n return 'P-256';\n case findOid(keyData, [0x2b, 0x81, 0x04, 0x00, 0x22]):\n return 'P-384';\n case findOid(keyData, [0x2b, 0x81, 0x04, 0x00, 0x23]):\n return 'P-521';\n case findOid(keyData, [0x2b, 0x65, 0x6e]):\n return 'X25519';\n case findOid(keyData, [0x2b, 0x65, 0x6f]):\n return 'X448';\n case findOid(keyData, [0x2b, 0x65, 0x70]):\n return 'Ed25519';\n case findOid(keyData, [0x2b, 0x65, 0x71]):\n return 'Ed448';\n default:\n throw new JOSENotSupported('Invalid or unsupported EC Key Curve or OKP Key Sub Type');\n }\n};\nconst genericImport = async (replace, keyFormat, pem, alg, options) => {\n var _a;\n let algorithm;\n let keyUsages;\n const keyData = new Uint8Array(atob(pem.replace(replace, ''))\n .split('')\n .map((c) => c.charCodeAt(0)));\n const isPublic = keyFormat === 'spki';\n switch (alg) {\n case 'PS256':\n case 'PS384':\n case 'PS512':\n algorithm = { name: 'RSA-PSS', hash: `SHA-${alg.slice(-3)}` };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n case 'RS256':\n case 'RS384':\n case 'RS512':\n algorithm = { name: 'RSASSA-PKCS1-v1_5', hash: `SHA-${alg.slice(-3)}` };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512':\n algorithm = {\n name: 'RSA-OAEP',\n hash: `SHA-${parseInt(alg.slice(-3), 10) || 1}`,\n };\n keyUsages = isPublic ? ['encrypt', 'wrapKey'] : ['decrypt', 'unwrapKey'];\n break;\n case 'ES256':\n algorithm = { name: 'ECDSA', namedCurve: 'P-256' };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n case 'ES384':\n algorithm = { name: 'ECDSA', namedCurve: 'P-384' };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n case 'ES512':\n algorithm = { name: 'ECDSA', namedCurve: 'P-521' };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n case 'ECDH-ES':\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW': {\n const namedCurve = getNamedCurve(keyData);\n algorithm = namedCurve.startsWith('P-') ? { name: 'ECDH', namedCurve } : { name: namedCurve };\n keyUsages = isPublic ? [] : ['deriveBits'];\n break;\n }\n case 'EdDSA':\n algorithm = { name: getNamedCurve(keyData) };\n keyUsages = isPublic ? ['verify'] : ['sign'];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported \"alg\" (Algorithm) value');\n }\n return crypto.subtle.importKey(keyFormat, keyData, algorithm, (_a = options === null || options === void 0 ? void 0 : options.extractable) !== null && _a !== void 0 ? _a : false, keyUsages);\n};\nexport const fromPKCS8 = (pem, alg, options) => {\n return genericImport(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\\s)/g, 'pkcs8', pem, alg, options);\n};\nexport const fromSPKI = (pem, alg, options) => {\n return genericImport(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\\s)/g, 'spki', pem, alg, options);\n};\nfunction getElement(seq) {\n let result = [];\n let next = 0;\n while (next < seq.length) {\n let nextPart = parseElement(seq.subarray(next));\n result.push(nextPart);\n next += nextPart.byteLength;\n }\n return result;\n}\nfunction parseElement(bytes) {\n let position = 0;\n let tag = bytes[0] & 0x1f;\n position++;\n if (tag === 0x1f) {\n tag = 0;\n while (bytes[position] >= 0x80) {\n tag = tag * 128 + bytes[position] - 0x80;\n position++;\n }\n tag = tag * 128 + bytes[position] - 0x80;\n position++;\n }\n let length = 0;\n if (bytes[position] < 0x80) {\n length = bytes[position];\n position++;\n }\n else if (length === 0x80) {\n length = 0;\n while (bytes[position + length] !== 0 || bytes[position + length + 1] !== 0) {\n if (length > bytes.byteLength) {\n throw new TypeError('invalid indefinite form length');\n }\n length++;\n }\n const byteLength = position + length + 2;\n return {\n byteLength,\n contents: bytes.subarray(position, position + length),\n raw: bytes.subarray(0, byteLength),\n };\n }\n else {\n let numberOfDigits = bytes[position] & 0x7f;\n position++;\n length = 0;\n for (let i = 0; i < numberOfDigits; i++) {\n length = length * 256 + bytes[position];\n position++;\n }\n }\n const byteLength = position + length;\n return {\n byteLength,\n contents: bytes.subarray(position, byteLength),\n raw: bytes.subarray(0, byteLength),\n };\n}\nfunction spkiFromX509(buf) {\n const tbsCertificate = getElement(getElement(parseElement(buf).contents)[0].contents);\n return encodeBase64(tbsCertificate[tbsCertificate[0].raw[0] === 0xa0 ? 6 : 5].raw);\n}\nfunction getSPKI(x509) {\n const pem = x509.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\\s)/g, '');\n const raw = decodeBase64(pem);\n return formatPEM(spkiFromX509(raw), 'PUBLIC KEY');\n}\nexport const fromX509 = (pem, alg, options) => {\n let spki;\n try {\n spki = getSPKI(pem);\n }\n catch (cause) {\n throw new TypeError('Failed to parse the X.509 certificate', { cause });\n }\n return fromSPKI(spki, alg, options);\n};\n","import crypto from './webcrypto.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport { decode as base64url } from './base64url.js';\nfunction subtleMapping(jwk) {\n let algorithm;\n let keyUsages;\n switch (jwk.kty) {\n case 'oct': {\n switch (jwk.alg) {\n case 'HS256':\n case 'HS384':\n case 'HS512':\n algorithm = { name: 'HMAC', hash: `SHA-${jwk.alg.slice(-3)}` };\n keyUsages = ['sign', 'verify'];\n break;\n case 'A128CBC-HS256':\n case 'A192CBC-HS384':\n case 'A256CBC-HS512':\n throw new JOSENotSupported(`${jwk.alg} keys cannot be imported as CryptoKey instances`);\n case 'A128GCM':\n case 'A192GCM':\n case 'A256GCM':\n case 'A128GCMKW':\n case 'A192GCMKW':\n case 'A256GCMKW':\n algorithm = { name: 'AES-GCM' };\n keyUsages = ['encrypt', 'decrypt'];\n break;\n case 'A128KW':\n case 'A192KW':\n case 'A256KW':\n algorithm = { name: 'AES-KW' };\n keyUsages = ['wrapKey', 'unwrapKey'];\n break;\n case 'PBES2-HS256+A128KW':\n case 'PBES2-HS384+A192KW':\n case 'PBES2-HS512+A256KW':\n algorithm = { name: 'PBKDF2' };\n keyUsages = ['deriveBits'];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n break;\n }\n case 'RSA': {\n switch (jwk.alg) {\n case 'PS256':\n case 'PS384':\n case 'PS512':\n algorithm = { name: 'RSA-PSS', hash: `SHA-${jwk.alg.slice(-3)}` };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'RS256':\n case 'RS384':\n case 'RS512':\n algorithm = { name: 'RSASSA-PKCS1-v1_5', hash: `SHA-${jwk.alg.slice(-3)}` };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512':\n algorithm = {\n name: 'RSA-OAEP',\n hash: `SHA-${parseInt(jwk.alg.slice(-3), 10) || 1}`,\n };\n keyUsages = jwk.d ? ['decrypt', 'unwrapKey'] : ['encrypt', 'wrapKey'];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n break;\n }\n case 'EC': {\n switch (jwk.alg) {\n case 'ES256':\n algorithm = { name: 'ECDSA', namedCurve: 'P-256' };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'ES384':\n algorithm = { name: 'ECDSA', namedCurve: 'P-384' };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'ES512':\n algorithm = { name: 'ECDSA', namedCurve: 'P-521' };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'ECDH-ES':\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW':\n algorithm = { name: 'ECDH', namedCurve: jwk.crv };\n keyUsages = jwk.d ? ['deriveBits'] : [];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n break;\n }\n case 'OKP': {\n switch (jwk.alg) {\n case 'EdDSA':\n algorithm = { name: jwk.crv };\n keyUsages = jwk.d ? ['sign'] : ['verify'];\n break;\n case 'ECDH-ES':\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW':\n algorithm = { name: jwk.crv };\n keyUsages = jwk.d ? ['deriveBits'] : [];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n break;\n }\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"kty\" (Key Type) Parameter value');\n }\n return { algorithm, keyUsages };\n}\nconst parse = async (jwk) => {\n var _a, _b;\n if (!jwk.alg) {\n throw new TypeError('\"alg\" argument is required when \"jwk.alg\" is not present');\n }\n const { algorithm, keyUsages } = subtleMapping(jwk);\n const rest = [\n algorithm,\n (_a = jwk.ext) !== null && _a !== void 0 ? _a : false,\n (_b = jwk.key_ops) !== null && _b !== void 0 ? _b : keyUsages,\n ];\n if (algorithm.name === 'PBKDF2') {\n return crypto.subtle.importKey('raw', base64url(jwk.k), ...rest);\n }\n const keyData = { ...jwk };\n delete keyData.alg;\n delete keyData.use;\n return crypto.subtle.importKey('jwk', keyData, ...rest);\n};\nexport default parse;\n","import { decode as decodeBase64URL } from '../runtime/base64url.js';\nimport { fromSPKI, fromPKCS8, fromX509 } from '../runtime/asn1.js';\nimport asKeyObject from '../runtime/jwk_to_key.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport isObject from '../lib/is_object.js';\nexport async function importSPKI(spki, alg, options) {\n if (typeof spki !== 'string' || spki.indexOf('-----BEGIN PUBLIC KEY-----') !== 0) {\n throw new TypeError('\"spki\" must be SPKI formatted string');\n }\n return fromSPKI(spki, alg, options);\n}\nexport async function importX509(x509, alg, options) {\n if (typeof x509 !== 'string' || x509.indexOf('-----BEGIN CERTIFICATE-----') !== 0) {\n throw new TypeError('\"x509\" must be X.509 formatted string');\n }\n return fromX509(x509, alg, options);\n}\nexport async function importPKCS8(pkcs8, alg, options) {\n if (typeof pkcs8 !== 'string' || pkcs8.indexOf('-----BEGIN PRIVATE KEY-----') !== 0) {\n throw new TypeError('\"pkcs8\" must be PKCS#8 formatted string');\n }\n return fromPKCS8(pkcs8, alg, options);\n}\nexport async function importJWK(jwk, alg, octAsKeyObject) {\n var _a;\n if (!isObject(jwk)) {\n throw new TypeError('JWK must be an object');\n }\n alg || (alg = jwk.alg);\n switch (jwk.kty) {\n case 'oct':\n if (typeof jwk.k !== 'string' || !jwk.k) {\n throw new TypeError('missing \"k\" (Key Value) Parameter value');\n }\n octAsKeyObject !== null && octAsKeyObject !== void 0 ? octAsKeyObject : (octAsKeyObject = jwk.ext !== true);\n if (octAsKeyObject) {\n return asKeyObject({ ...jwk, alg, ext: (_a = jwk.ext) !== null && _a !== void 0 ? _a : false });\n }\n return decodeBase64URL(jwk.k);\n case 'RSA':\n if (jwk.oth !== undefined) {\n throw new JOSENotSupported('RSA JWK \"oth\" (Other Primes Info) Parameter value is not supported');\n }\n case 'EC':\n case 'OKP':\n return asKeyObject({ ...jwk, alg });\n default:\n throw new JOSENotSupported('Unsupported \"kty\" (Key Type) Parameter value');\n }\n}\n","import { withAlg as invalidKeyInput } from './invalid_key_input.js';\nimport isKeyLike, { types } from '../runtime/is_key_like.js';\nconst symmetricTypeCheck = (alg, key) => {\n if (key instanceof Uint8Array)\n return;\n if (!isKeyLike(key)) {\n throw new TypeError(invalidKeyInput(alg, key, ...types, 'Uint8Array'));\n }\n if (key.type !== 'secret') {\n throw new TypeError(`${types.join(' or ')} instances for symmetric algorithms must be of type \"secret\"`);\n }\n};\nconst asymmetricTypeCheck = (alg, key, usage) => {\n if (!isKeyLike(key)) {\n throw new TypeError(invalidKeyInput(alg, key, ...types));\n }\n if (key.type === 'secret') {\n throw new TypeError(`${types.join(' or ')} instances for asymmetric algorithms must not be of type \"secret\"`);\n }\n if (usage === 'sign' && key.type === 'public') {\n throw new TypeError(`${types.join(' or ')} instances for asymmetric algorithm signing must be of type \"private\"`);\n }\n if (usage === 'decrypt' && key.type === 'public') {\n throw new TypeError(`${types.join(' or ')} instances for asymmetric algorithm decryption must be of type \"private\"`);\n }\n if (key.algorithm && usage === 'verify' && key.type === 'private') {\n throw new TypeError(`${types.join(' or ')} instances for asymmetric algorithm verifying must be of type \"public\"`);\n }\n if (key.algorithm && usage === 'encrypt' && key.type === 'private') {\n throw new TypeError(`${types.join(' or ')} instances for asymmetric algorithm encryption must be of type \"public\"`);\n }\n};\nconst checkKeyType = (alg, key, usage) => {\n const symmetric = alg.startsWith('HS') ||\n alg === 'dir' ||\n alg.startsWith('PBES2') ||\n /^A\\d{3}(?:GCM)?KW$/.test(alg);\n if (symmetric) {\n symmetricTypeCheck(alg, key);\n }\n else {\n asymmetricTypeCheck(alg, key, usage);\n }\n};\nexport default checkKeyType;\n","import { concat, uint64be } from '../lib/buffer_utils.js';\nimport checkIvLength from '../lib/check_iv_length.js';\nimport checkCekLength from './check_cek_length.js';\nimport crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkEncCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport { types } from './is_key_like.js';\nasync function cbcEncrypt(enc, plaintext, cek, iv, aad) {\n if (!(cek instanceof Uint8Array)) {\n throw new TypeError(invalidKeyInput(cek, 'Uint8Array'));\n }\n const keySize = parseInt(enc.slice(1, 4), 10);\n const encKey = await crypto.subtle.importKey('raw', cek.subarray(keySize >> 3), 'AES-CBC', false, ['encrypt']);\n const macKey = await crypto.subtle.importKey('raw', cek.subarray(0, keySize >> 3), {\n hash: `SHA-${keySize << 1}`,\n name: 'HMAC',\n }, false, ['sign']);\n const ciphertext = new Uint8Array(await crypto.subtle.encrypt({\n iv,\n name: 'AES-CBC',\n }, encKey, plaintext));\n const macData = concat(aad, iv, ciphertext, uint64be(aad.length << 3));\n const tag = new Uint8Array((await crypto.subtle.sign('HMAC', macKey, macData)).slice(0, keySize >> 3));\n return { ciphertext, tag };\n}\nasync function gcmEncrypt(enc, plaintext, cek, iv, aad) {\n let encKey;\n if (cek instanceof Uint8Array) {\n encKey = await crypto.subtle.importKey('raw', cek, 'AES-GCM', false, ['encrypt']);\n }\n else {\n checkEncCryptoKey(cek, enc, 'encrypt');\n encKey = cek;\n }\n const encrypted = new Uint8Array(await crypto.subtle.encrypt({\n additionalData: aad,\n iv,\n name: 'AES-GCM',\n tagLength: 128,\n }, encKey, plaintext));\n const tag = encrypted.slice(-16);\n const ciphertext = encrypted.slice(0, -16);\n return { ciphertext, tag };\n}\nconst encrypt = async (enc, plaintext, cek, iv, aad) => {\n if (!isCryptoKey(cek) && !(cek instanceof Uint8Array)) {\n throw new TypeError(invalidKeyInput(cek, ...types, 'Uint8Array'));\n }\n checkIvLength(enc, iv);\n switch (enc) {\n case 'A128CBC-HS256':\n case 'A192CBC-HS384':\n case 'A256CBC-HS512':\n if (cek instanceof Uint8Array)\n checkCekLength(cek, parseInt(enc.slice(-3), 10));\n return cbcEncrypt(enc, plaintext, cek, iv, aad);\n case 'A128GCM':\n case 'A192GCM':\n case 'A256GCM':\n if (cek instanceof Uint8Array)\n checkCekLength(cek, parseInt(enc.slice(1, 4), 10));\n return gcmEncrypt(enc, plaintext, cek, iv, aad);\n default:\n throw new JOSENotSupported('Unsupported JWE Content Encryption Algorithm');\n }\n};\nexport default encrypt;\n","import encrypt from '../runtime/encrypt.js';\nimport decrypt from '../runtime/decrypt.js';\nimport generateIv from './iv.js';\nimport { encode as base64url } from '../runtime/base64url.js';\nexport async function wrap(alg, key, cek, iv) {\n const jweAlgorithm = alg.slice(0, 7);\n iv || (iv = generateIv(jweAlgorithm));\n const { ciphertext: encryptedKey, tag } = await encrypt(jweAlgorithm, cek, key, iv, new Uint8Array(0));\n return { encryptedKey, iv: base64url(iv), tag: base64url(tag) };\n}\nexport async function unwrap(alg, key, encryptedKey, iv, tag) {\n const jweAlgorithm = alg.slice(0, 7);\n return decrypt(jweAlgorithm, key, encryptedKey, iv, tag, new Uint8Array(0));\n}\n","import { unwrap as aesKw } from '../runtime/aeskw.js';\nimport * as ECDH from '../runtime/ecdhes.js';\nimport { decrypt as pbes2Kw } from '../runtime/pbes2kw.js';\nimport { decrypt as rsaEs } from '../runtime/rsaes.js';\nimport { decode as base64url } from '../runtime/base64url.js';\nimport { JOSENotSupported, JWEInvalid } from '../util/errors.js';\nimport { bitLength as cekLength } from '../lib/cek.js';\nimport { importJWK } from '../key/import.js';\nimport checkKeyType from './check_key_type.js';\nimport isObject from './is_object.js';\nimport { unwrap as aesGcmKw } from './aesgcmkw.js';\nasync function decryptKeyManagement(alg, key, encryptedKey, joseHeader, options) {\n checkKeyType(alg, key, 'decrypt');\n switch (alg) {\n case 'dir': {\n if (encryptedKey !== undefined)\n throw new JWEInvalid('Encountered unexpected JWE Encrypted Key');\n return key;\n }\n case 'ECDH-ES':\n if (encryptedKey !== undefined)\n throw new JWEInvalid('Encountered unexpected JWE Encrypted Key');\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW': {\n if (!isObject(joseHeader.epk))\n throw new JWEInvalid(`JOSE Header \"epk\" (Ephemeral Public Key) missing or invalid`);\n if (!ECDH.ecdhAllowed(key))\n throw new JOSENotSupported('ECDH with the provided key is not allowed or not supported by your javascript runtime');\n const epk = await importJWK(joseHeader.epk, alg);\n let partyUInfo;\n let partyVInfo;\n if (joseHeader.apu !== undefined) {\n if (typeof joseHeader.apu !== 'string')\n throw new JWEInvalid(`JOSE Header \"apu\" (Agreement PartyUInfo) invalid`);\n try {\n partyUInfo = base64url(joseHeader.apu);\n }\n catch (_a) {\n throw new JWEInvalid('Failed to base64url decode the apu');\n }\n }\n if (joseHeader.apv !== undefined) {\n if (typeof joseHeader.apv !== 'string')\n throw new JWEInvalid(`JOSE Header \"apv\" (Agreement PartyVInfo) invalid`);\n try {\n partyVInfo = base64url(joseHeader.apv);\n }\n catch (_b) {\n throw new JWEInvalid('Failed to base64url decode the apv');\n }\n }\n const sharedSecret = await ECDH.deriveKey(epk, key, alg === 'ECDH-ES' ? joseHeader.enc : alg, alg === 'ECDH-ES' ? cekLength(joseHeader.enc) : parseInt(alg.slice(-5, -2), 10), partyUInfo, partyVInfo);\n if (alg === 'ECDH-ES')\n return sharedSecret;\n if (encryptedKey === undefined)\n throw new JWEInvalid('JWE Encrypted Key missing');\n return aesKw(alg.slice(-6), sharedSecret, encryptedKey);\n }\n case 'RSA1_5':\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512': {\n if (encryptedKey === undefined)\n throw new JWEInvalid('JWE Encrypted Key missing');\n return rsaEs(alg, key, encryptedKey);\n }\n case 'PBES2-HS256+A128KW':\n case 'PBES2-HS384+A192KW':\n case 'PBES2-HS512+A256KW': {\n if (encryptedKey === undefined)\n throw new JWEInvalid('JWE Encrypted Key missing');\n if (typeof joseHeader.p2c !== 'number')\n throw new JWEInvalid(`JOSE Header \"p2c\" (PBES2 Count) missing or invalid`);\n const p2cLimit = (options === null || options === void 0 ? void 0 : options.maxPBES2Count) || 10000;\n if (joseHeader.p2c > p2cLimit)\n throw new JWEInvalid(`JOSE Header \"p2c\" (PBES2 Count) out is of acceptable bounds`);\n if (typeof joseHeader.p2s !== 'string')\n throw new JWEInvalid(`JOSE Header \"p2s\" (PBES2 Salt) missing or invalid`);\n let p2s;\n try {\n p2s = base64url(joseHeader.p2s);\n }\n catch (_c) {\n throw new JWEInvalid('Failed to base64url decode the p2s');\n }\n return pbes2Kw(alg, key, encryptedKey, joseHeader.p2c, p2s);\n }\n case 'A128KW':\n case 'A192KW':\n case 'A256KW': {\n if (encryptedKey === undefined)\n throw new JWEInvalid('JWE Encrypted Key missing');\n return aesKw(alg, key, encryptedKey);\n }\n case 'A128GCMKW':\n case 'A192GCMKW':\n case 'A256GCMKW': {\n if (encryptedKey === undefined)\n throw new JWEInvalid('JWE Encrypted Key missing');\n if (typeof joseHeader.iv !== 'string')\n throw new JWEInvalid(`JOSE Header \"iv\" (Initialization Vector) missing or invalid`);\n if (typeof joseHeader.tag !== 'string')\n throw new JWEInvalid(`JOSE Header \"tag\" (Authentication Tag) missing or invalid`);\n let iv;\n try {\n iv = base64url(joseHeader.iv);\n }\n catch (_d) {\n throw new JWEInvalid('Failed to base64url decode the iv');\n }\n let tag;\n try {\n tag = base64url(joseHeader.tag);\n }\n catch (_e) {\n throw new JWEInvalid('Failed to base64url decode the tag');\n }\n return aesGcmKw(alg, key, encryptedKey, iv, tag);\n }\n default: {\n throw new JOSENotSupported('Invalid or unsupported \"alg\" (JWE Algorithm) header value');\n }\n }\n}\nexport default decryptKeyManagement;\n","import { JOSENotSupported } from '../util/errors.js';\nfunction validateCrit(Err, recognizedDefault, recognizedOption, protectedHeader, joseHeader) {\n if (joseHeader.crit !== undefined && protectedHeader.crit === undefined) {\n throw new Err('\"crit\" (Critical) Header Parameter MUST be integrity protected');\n }\n if (!protectedHeader || protectedHeader.crit === undefined) {\n return new Set();\n }\n if (!Array.isArray(protectedHeader.crit) ||\n protectedHeader.crit.length === 0 ||\n protectedHeader.crit.some((input) => typeof input !== 'string' || input.length === 0)) {\n throw new Err('\"crit\" (Critical) Header Parameter MUST be an array of non-empty strings when present');\n }\n let recognized;\n if (recognizedOption !== undefined) {\n recognized = new Map([...Object.entries(recognizedOption), ...recognizedDefault.entries()]);\n }\n else {\n recognized = recognizedDefault;\n }\n for (const parameter of protectedHeader.crit) {\n if (!recognized.has(parameter)) {\n throw new JOSENotSupported(`Extension Header Parameter \"${parameter}\" is not recognized`);\n }\n if (joseHeader[parameter] === undefined) {\n throw new Err(`Extension Header Parameter \"${parameter}\" is missing`);\n }\n else if (recognized.get(parameter) && protectedHeader[parameter] === undefined) {\n throw new Err(`Extension Header Parameter \"${parameter}\" MUST be integrity protected`);\n }\n }\n return new Set(protectedHeader.crit);\n}\nexport default validateCrit;\n","const validateAlgorithms = (option, algorithms) => {\n if (algorithms !== undefined &&\n (!Array.isArray(algorithms) || algorithms.some((s) => typeof s !== 'string'))) {\n throw new TypeError(`\"${option}\" option must be an array of strings`);\n }\n if (!algorithms) {\n return undefined;\n }\n return new Set(algorithms);\n};\nexport default validateAlgorithms;\n","import { decode as base64url } from '../../runtime/base64url.js';\nimport decrypt from '../../runtime/decrypt.js';\nimport { inflate } from '../../runtime/zlib.js';\nimport { JOSEAlgNotAllowed, JOSENotSupported, JWEInvalid } from '../../util/errors.js';\nimport isDisjoint from '../../lib/is_disjoint.js';\nimport isObject from '../../lib/is_object.js';\nimport decryptKeyManagement from '../../lib/decrypt_key_management.js';\nimport { encoder, decoder, concat } from '../../lib/buffer_utils.js';\nimport generateCek from '../../lib/cek.js';\nimport validateCrit from '../../lib/validate_crit.js';\nimport validateAlgorithms from '../../lib/validate_algorithms.js';\nexport async function flattenedDecrypt(jwe, key, options) {\n var _a;\n if (!isObject(jwe)) {\n throw new JWEInvalid('Flattened JWE must be an object');\n }\n if (jwe.protected === undefined && jwe.header === undefined && jwe.unprotected === undefined) {\n throw new JWEInvalid('JOSE Header missing');\n }\n if (typeof jwe.iv !== 'string') {\n throw new JWEInvalid('JWE Initialization Vector missing or incorrect type');\n }\n if (typeof jwe.ciphertext !== 'string') {\n throw new JWEInvalid('JWE Ciphertext missing or incorrect type');\n }\n if (typeof jwe.tag !== 'string') {\n throw new JWEInvalid('JWE Authentication Tag missing or incorrect type');\n }\n if (jwe.protected !== undefined && typeof jwe.protected !== 'string') {\n throw new JWEInvalid('JWE Protected Header incorrect type');\n }\n if (jwe.encrypted_key !== undefined && typeof jwe.encrypted_key !== 'string') {\n throw new JWEInvalid('JWE Encrypted Key incorrect type');\n }\n if (jwe.aad !== undefined && typeof jwe.aad !== 'string') {\n throw new JWEInvalid('JWE AAD incorrect type');\n }\n if (jwe.header !== undefined && !isObject(jwe.header)) {\n throw new JWEInvalid('JWE Shared Unprotected Header incorrect type');\n }\n if (jwe.unprotected !== undefined && !isObject(jwe.unprotected)) {\n throw new JWEInvalid('JWE Per-Recipient Unprotected Header incorrect type');\n }\n let parsedProt;\n if (jwe.protected) {\n try {\n const protectedHeader = base64url(jwe.protected);\n parsedProt = JSON.parse(decoder.decode(protectedHeader));\n }\n catch (_b) {\n throw new JWEInvalid('JWE Protected Header is invalid');\n }\n }\n if (!isDisjoint(parsedProt, jwe.header, jwe.unprotected)) {\n throw new JWEInvalid('JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint');\n }\n const joseHeader = {\n ...parsedProt,\n ...jwe.header,\n ...jwe.unprotected,\n };\n validateCrit(JWEInvalid, new Map(), options === null || options === void 0 ? void 0 : options.crit, parsedProt, joseHeader);\n if (joseHeader.zip !== undefined) {\n if (!parsedProt || !parsedProt.zip) {\n throw new JWEInvalid('JWE \"zip\" (Compression Algorithm) Header MUST be integrity protected');\n }\n if (joseHeader.zip !== 'DEF') {\n throw new JOSENotSupported('Unsupported JWE \"zip\" (Compression Algorithm) Header Parameter value');\n }\n }\n const { alg, enc } = joseHeader;\n if (typeof alg !== 'string' || !alg) {\n throw new JWEInvalid('missing JWE Algorithm (alg) in JWE Header');\n }\n if (typeof enc !== 'string' || !enc) {\n throw new JWEInvalid('missing JWE Encryption Algorithm (enc) in JWE Header');\n }\n const keyManagementAlgorithms = options && validateAlgorithms('keyManagementAlgorithms', options.keyManagementAlgorithms);\n const contentEncryptionAlgorithms = options &&\n validateAlgorithms('contentEncryptionAlgorithms', options.contentEncryptionAlgorithms);\n if (keyManagementAlgorithms && !keyManagementAlgorithms.has(alg)) {\n throw new JOSEAlgNotAllowed('\"alg\" (Algorithm) Header Parameter not allowed');\n }\n if (contentEncryptionAlgorithms && !contentEncryptionAlgorithms.has(enc)) {\n throw new JOSEAlgNotAllowed('\"enc\" (Encryption Algorithm) Header Parameter not allowed');\n }\n let encryptedKey;\n if (jwe.encrypted_key !== undefined) {\n try {\n encryptedKey = base64url(jwe.encrypted_key);\n }\n catch (_c) {\n throw new JWEInvalid('Failed to base64url decode the encrypted_key');\n }\n }\n let resolvedKey = false;\n if (typeof key === 'function') {\n key = await key(parsedProt, jwe);\n resolvedKey = true;\n }\n let cek;\n try {\n cek = await decryptKeyManagement(alg, key, encryptedKey, joseHeader, options);\n }\n catch (err) {\n if (err instanceof TypeError || err instanceof JWEInvalid || err instanceof JOSENotSupported) {\n throw err;\n }\n cek = generateCek(enc);\n }\n let iv;\n let tag;\n try {\n iv = base64url(jwe.iv);\n }\n catch (_d) {\n throw new JWEInvalid('Failed to base64url decode the iv');\n }\n try {\n tag = base64url(jwe.tag);\n }\n catch (_e) {\n throw new JWEInvalid('Failed to base64url decode the tag');\n }\n const protectedHeader = encoder.encode((_a = jwe.protected) !== null && _a !== void 0 ? _a : '');\n let additionalData;\n if (jwe.aad !== undefined) {\n additionalData = concat(protectedHeader, encoder.encode('.'), encoder.encode(jwe.aad));\n }\n else {\n additionalData = protectedHeader;\n }\n let ciphertext;\n try {\n ciphertext = base64url(jwe.ciphertext);\n }\n catch (_f) {\n throw new JWEInvalid('Failed to base64url decode the ciphertext');\n }\n let plaintext = await decrypt(enc, cek, ciphertext, iv, tag, additionalData);\n if (joseHeader.zip === 'DEF') {\n plaintext = await ((options === null || options === void 0 ? void 0 : options.inflateRaw) || inflate)(plaintext);\n }\n const result = { plaintext };\n if (jwe.protected !== undefined) {\n result.protectedHeader = parsedProt;\n }\n if (jwe.aad !== undefined) {\n try {\n result.additionalAuthenticatedData = base64url(jwe.aad);\n }\n catch (_g) {\n throw new JWEInvalid('Failed to base64url decode the aad');\n }\n }\n if (jwe.unprotected !== undefined) {\n result.sharedUnprotectedHeader = jwe.unprotected;\n }\n if (jwe.header !== undefined) {\n result.unprotectedHeader = jwe.header;\n }\n if (resolvedKey) {\n return { ...result, key };\n }\n return result;\n}\n","import { flattenedDecrypt } from '../flattened/decrypt.js';\nimport { JWEInvalid } from '../../util/errors.js';\nimport { decoder } from '../../lib/buffer_utils.js';\nexport async function compactDecrypt(jwe, key, options) {\n if (jwe instanceof Uint8Array) {\n jwe = decoder.decode(jwe);\n }\n if (typeof jwe !== 'string') {\n throw new JWEInvalid('Compact JWE must be a string or Uint8Array');\n }\n const { 0: protectedHeader, 1: encryptedKey, 2: iv, 3: ciphertext, 4: tag, length, } = jwe.split('.');\n if (length !== 5) {\n throw new JWEInvalid('Invalid Compact JWE');\n }\n const decrypted = await flattenedDecrypt({\n ciphertext,\n iv: (iv || undefined),\n protected: protectedHeader || undefined,\n tag: (tag || undefined),\n encrypted_key: encryptedKey || undefined,\n }, key, options);\n const result = { plaintext: decrypted.plaintext, protectedHeader: decrypted.protectedHeader };\n if (typeof key === 'function') {\n return { ...result, key: decrypted.key };\n }\n return result;\n}\n","import { flattenedDecrypt } from '../flattened/decrypt.js';\nimport { JWEDecryptionFailed, JWEInvalid } from '../../util/errors.js';\nimport isObject from '../../lib/is_object.js';\nexport async function generalDecrypt(jwe, key, options) {\n if (!isObject(jwe)) {\n throw new JWEInvalid('General JWE must be an object');\n }\n if (!Array.isArray(jwe.recipients) || !jwe.recipients.every(isObject)) {\n throw new JWEInvalid('JWE Recipients missing or incorrect type');\n }\n if (!jwe.recipients.length) {\n throw new JWEInvalid('JWE Recipients has no members');\n }\n for (const recipient of jwe.recipients) {\n try {\n return await flattenedDecrypt({\n aad: jwe.aad,\n ciphertext: jwe.ciphertext,\n encrypted_key: recipient.encrypted_key,\n header: recipient.header,\n iv: jwe.iv,\n protected: jwe.protected,\n tag: jwe.tag,\n unprotected: jwe.unprotected,\n }, key, options);\n }\n catch (_a) {\n }\n }\n throw new JWEDecryptionFailed();\n}\n","import crypto, { isCryptoKey } from './webcrypto.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { encode as base64url } from './base64url.js';\nimport { types } from './is_key_like.js';\nconst keyToJWK = async (key) => {\n if (key instanceof Uint8Array) {\n return {\n kty: 'oct',\n k: base64url(key),\n };\n }\n if (!isCryptoKey(key)) {\n throw new TypeError(invalidKeyInput(key, ...types, 'Uint8Array'));\n }\n if (!key.extractable) {\n throw new TypeError('non-extractable CryptoKey cannot be exported as a JWK');\n }\n const { ext, key_ops, alg, use, ...jwk } = await crypto.subtle.exportKey('jwk', key);\n return jwk;\n};\nexport default keyToJWK;\n","import { toSPKI as exportPublic } from '../runtime/asn1.js';\nimport { toPKCS8 as exportPrivate } from '../runtime/asn1.js';\nimport keyToJWK from '../runtime/key_to_jwk.js';\nexport async function exportSPKI(key) {\n return exportPublic(key);\n}\nexport async function exportPKCS8(key) {\n return exportPrivate(key);\n}\nexport async function exportJWK(key) {\n return keyToJWK(key);\n}\n","import { wrap as aesKw } from '../runtime/aeskw.js';\nimport * as ECDH from '../runtime/ecdhes.js';\nimport { encrypt as pbes2Kw } from '../runtime/pbes2kw.js';\nimport { encrypt as rsaEs } from '../runtime/rsaes.js';\nimport { encode as base64url } from '../runtime/base64url.js';\nimport generateCek, { bitLength as cekLength } from '../lib/cek.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport { exportJWK } from '../key/export.js';\nimport checkKeyType from './check_key_type.js';\nimport { wrap as aesGcmKw } from './aesgcmkw.js';\nasync function encryptKeyManagement(alg, enc, key, providedCek, providedParameters = {}) {\n let encryptedKey;\n let parameters;\n let cek;\n checkKeyType(alg, key, 'encrypt');\n switch (alg) {\n case 'dir': {\n cek = key;\n break;\n }\n case 'ECDH-ES':\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW': {\n if (!ECDH.ecdhAllowed(key)) {\n throw new JOSENotSupported('ECDH with the provided key is not allowed or not supported by your javascript runtime');\n }\n const { apu, apv } = providedParameters;\n let { epk: ephemeralKey } = providedParameters;\n ephemeralKey || (ephemeralKey = (await ECDH.generateEpk(key)).privateKey);\n const { x, y, crv, kty } = await exportJWK(ephemeralKey);\n const sharedSecret = await ECDH.deriveKey(key, ephemeralKey, alg === 'ECDH-ES' ? enc : alg, alg === 'ECDH-ES' ? cekLength(enc) : parseInt(alg.slice(-5, -2), 10), apu, apv);\n parameters = { epk: { x, crv, kty } };\n if (kty === 'EC')\n parameters.epk.y = y;\n if (apu)\n parameters.apu = base64url(apu);\n if (apv)\n parameters.apv = base64url(apv);\n if (alg === 'ECDH-ES') {\n cek = sharedSecret;\n break;\n }\n cek = providedCek || generateCek(enc);\n const kwAlg = alg.slice(-6);\n encryptedKey = await aesKw(kwAlg, sharedSecret, cek);\n break;\n }\n case 'RSA1_5':\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512': {\n cek = providedCek || generateCek(enc);\n encryptedKey = await rsaEs(alg, key, cek);\n break;\n }\n case 'PBES2-HS256+A128KW':\n case 'PBES2-HS384+A192KW':\n case 'PBES2-HS512+A256KW': {\n cek = providedCek || generateCek(enc);\n const { p2c, p2s } = providedParameters;\n ({ encryptedKey, ...parameters } = await pbes2Kw(alg, key, cek, p2c, p2s));\n break;\n }\n case 'A128KW':\n case 'A192KW':\n case 'A256KW': {\n cek = providedCek || generateCek(enc);\n encryptedKey = await aesKw(alg, key, cek);\n break;\n }\n case 'A128GCMKW':\n case 'A192GCMKW':\n case 'A256GCMKW': {\n cek = providedCek || generateCek(enc);\n const { iv } = providedParameters;\n ({ encryptedKey, ...parameters } = await aesGcmKw(alg, key, cek, iv));\n break;\n }\n default: {\n throw new JOSENotSupported('Invalid or unsupported \"alg\" (JWE Algorithm) header value');\n }\n }\n return { cek, encryptedKey, parameters };\n}\nexport default encryptKeyManagement;\n","import { encode as base64url } from '../../runtime/base64url.js';\nimport encrypt from '../../runtime/encrypt.js';\nimport { deflate } from '../../runtime/zlib.js';\nimport generateIv from '../../lib/iv.js';\nimport encryptKeyManagement from '../../lib/encrypt_key_management.js';\nimport { JOSENotSupported, JWEInvalid } from '../../util/errors.js';\nimport isDisjoint from '../../lib/is_disjoint.js';\nimport { encoder, decoder, concat } from '../../lib/buffer_utils.js';\nimport validateCrit from '../../lib/validate_crit.js';\nexport const unprotected = Symbol();\nexport class FlattenedEncrypt {\n constructor(plaintext) {\n if (!(plaintext instanceof Uint8Array)) {\n throw new TypeError('plaintext must be an instance of Uint8Array');\n }\n this._plaintext = plaintext;\n }\n setKeyManagementParameters(parameters) {\n if (this._keyManagementParameters) {\n throw new TypeError('setKeyManagementParameters can only be called once');\n }\n this._keyManagementParameters = parameters;\n return this;\n }\n setProtectedHeader(protectedHeader) {\n if (this._protectedHeader) {\n throw new TypeError('setProtectedHeader can only be called once');\n }\n this._protectedHeader = protectedHeader;\n return this;\n }\n setSharedUnprotectedHeader(sharedUnprotectedHeader) {\n if (this._sharedUnprotectedHeader) {\n throw new TypeError('setSharedUnprotectedHeader can only be called once');\n }\n this._sharedUnprotectedHeader = sharedUnprotectedHeader;\n return this;\n }\n setUnprotectedHeader(unprotectedHeader) {\n if (this._unprotectedHeader) {\n throw new TypeError('setUnprotectedHeader can only be called once');\n }\n this._unprotectedHeader = unprotectedHeader;\n return this;\n }\n setAdditionalAuthenticatedData(aad) {\n this._aad = aad;\n return this;\n }\n setContentEncryptionKey(cek) {\n if (this._cek) {\n throw new TypeError('setContentEncryptionKey can only be called once');\n }\n this._cek = cek;\n return this;\n }\n setInitializationVector(iv) {\n if (this._iv) {\n throw new TypeError('setInitializationVector can only be called once');\n }\n this._iv = iv;\n return this;\n }\n async encrypt(key, options) {\n if (!this._protectedHeader && !this._unprotectedHeader && !this._sharedUnprotectedHeader) {\n throw new JWEInvalid('either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()');\n }\n if (!isDisjoint(this._protectedHeader, this._unprotectedHeader, this._sharedUnprotectedHeader)) {\n throw new JWEInvalid('JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint');\n }\n const joseHeader = {\n ...this._protectedHeader,\n ...this._unprotectedHeader,\n ...this._sharedUnprotectedHeader,\n };\n validateCrit(JWEInvalid, new Map(), options === null || options === void 0 ? void 0 : options.crit, this._protectedHeader, joseHeader);\n if (joseHeader.zip !== undefined) {\n if (!this._protectedHeader || !this._protectedHeader.zip) {\n throw new JWEInvalid('JWE \"zip\" (Compression Algorithm) Header MUST be integrity protected');\n }\n if (joseHeader.zip !== 'DEF') {\n throw new JOSENotSupported('Unsupported JWE \"zip\" (Compression Algorithm) Header Parameter value');\n }\n }\n const { alg, enc } = joseHeader;\n if (typeof alg !== 'string' || !alg) {\n throw new JWEInvalid('JWE \"alg\" (Algorithm) Header Parameter missing or invalid');\n }\n if (typeof enc !== 'string' || !enc) {\n throw new JWEInvalid('JWE \"enc\" (Encryption Algorithm) Header Parameter missing or invalid');\n }\n let encryptedKey;\n if (alg === 'dir') {\n if (this._cek) {\n throw new TypeError('setContentEncryptionKey cannot be called when using Direct Encryption');\n }\n }\n else if (alg === 'ECDH-ES') {\n if (this._cek) {\n throw new TypeError('setContentEncryptionKey cannot be called when using Direct Key Agreement');\n }\n }\n let cek;\n {\n let parameters;\n ({ cek, encryptedKey, parameters } = await encryptKeyManagement(alg, enc, key, this._cek, this._keyManagementParameters));\n if (parameters) {\n if (options && unprotected in options) {\n if (!this._unprotectedHeader) {\n this.setUnprotectedHeader(parameters);\n }\n else {\n this._unprotectedHeader = { ...this._unprotectedHeader, ...parameters };\n }\n }\n else {\n if (!this._protectedHeader) {\n this.setProtectedHeader(parameters);\n }\n else {\n this._protectedHeader = { ...this._protectedHeader, ...parameters };\n }\n }\n }\n }\n this._iv || (this._iv = generateIv(enc));\n let additionalData;\n let protectedHeader;\n let aadMember;\n if (this._protectedHeader) {\n protectedHeader = encoder.encode(base64url(JSON.stringify(this._protectedHeader)));\n }\n else {\n protectedHeader = encoder.encode('');\n }\n if (this._aad) {\n aadMember = base64url(this._aad);\n additionalData = concat(protectedHeader, encoder.encode('.'), encoder.encode(aadMember));\n }\n else {\n additionalData = protectedHeader;\n }\n let ciphertext;\n let tag;\n if (joseHeader.zip === 'DEF') {\n const deflated = await ((options === null || options === void 0 ? void 0 : options.deflateRaw) || deflate)(this._plaintext);\n ({ ciphertext, tag } = await encrypt(enc, deflated, cek, this._iv, additionalData));\n }\n else {\n ;\n ({ ciphertext, tag } = await encrypt(enc, this._plaintext, cek, this._iv, additionalData));\n }\n const jwe = {\n ciphertext: base64url(ciphertext),\n iv: base64url(this._iv),\n tag: base64url(tag),\n };\n if (encryptedKey) {\n jwe.encrypted_key = base64url(encryptedKey);\n }\n if (aadMember) {\n jwe.aad = aadMember;\n }\n if (this._protectedHeader) {\n jwe.protected = decoder.decode(protectedHeader);\n }\n if (this._sharedUnprotectedHeader) {\n jwe.unprotected = this._sharedUnprotectedHeader;\n }\n if (this._unprotectedHeader) {\n jwe.header = this._unprotectedHeader;\n }\n return jwe;\n }\n}\n","import { FlattenedEncrypt, unprotected } from '../flattened/encrypt.js';\nimport { JWEInvalid } from '../../util/errors.js';\nimport generateCek from '../../lib/cek.js';\nimport isDisjoint from '../../lib/is_disjoint.js';\nimport encryptKeyManagement from '../../lib/encrypt_key_management.js';\nimport { encode as base64url } from '../../runtime/base64url.js';\nimport validateCrit from '../../lib/validate_crit.js';\nclass IndividualRecipient {\n constructor(enc, key, options) {\n this.parent = enc;\n this.key = key;\n this.options = options;\n }\n setUnprotectedHeader(unprotectedHeader) {\n if (this.unprotectedHeader) {\n throw new TypeError('setUnprotectedHeader can only be called once');\n }\n this.unprotectedHeader = unprotectedHeader;\n return this;\n }\n addRecipient(...args) {\n return this.parent.addRecipient(...args);\n }\n encrypt(...args) {\n return this.parent.encrypt(...args);\n }\n done() {\n return this.parent;\n }\n}\nexport class GeneralEncrypt {\n constructor(plaintext) {\n this._recipients = [];\n this._plaintext = plaintext;\n }\n addRecipient(key, options) {\n const recipient = new IndividualRecipient(this, key, { crit: options === null || options === void 0 ? void 0 : options.crit });\n this._recipients.push(recipient);\n return recipient;\n }\n setProtectedHeader(protectedHeader) {\n if (this._protectedHeader) {\n throw new TypeError('setProtectedHeader can only be called once');\n }\n this._protectedHeader = protectedHeader;\n return this;\n }\n setSharedUnprotectedHeader(sharedUnprotectedHeader) {\n if (this._unprotectedHeader) {\n throw new TypeError('setSharedUnprotectedHeader can only be called once');\n }\n this._unprotectedHeader = sharedUnprotectedHeader;\n return this;\n }\n setAdditionalAuthenticatedData(aad) {\n this._aad = aad;\n return this;\n }\n async encrypt(options) {\n var _a, _b, _c;\n if (!this._recipients.length) {\n throw new JWEInvalid('at least one recipient must be added');\n }\n options = { deflateRaw: options === null || options === void 0 ? void 0 : options.deflateRaw };\n if (this._recipients.length === 1) {\n const [recipient] = this._recipients;\n const flattened = await new FlattenedEncrypt(this._plaintext)\n .setAdditionalAuthenticatedData(this._aad)\n .setProtectedHeader(this._protectedHeader)\n .setSharedUnprotectedHeader(this._unprotectedHeader)\n .setUnprotectedHeader(recipient.unprotectedHeader)\n .encrypt(recipient.key, { ...recipient.options, ...options });\n let jwe = {\n ciphertext: flattened.ciphertext,\n iv: flattened.iv,\n recipients: [{}],\n tag: flattened.tag,\n };\n if (flattened.aad)\n jwe.aad = flattened.aad;\n if (flattened.protected)\n jwe.protected = flattened.protected;\n if (flattened.unprotected)\n jwe.unprotected = flattened.unprotected;\n if (flattened.encrypted_key)\n jwe.recipients[0].encrypted_key = flattened.encrypted_key;\n if (flattened.header)\n jwe.recipients[0].header = flattened.header;\n return jwe;\n }\n let enc;\n for (let i = 0; i < this._recipients.length; i++) {\n const recipient = this._recipients[i];\n if (!isDisjoint(this._protectedHeader, this._unprotectedHeader, recipient.unprotectedHeader)) {\n throw new JWEInvalid('JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint');\n }\n const joseHeader = {\n ...this._protectedHeader,\n ...this._unprotectedHeader,\n ...recipient.unprotectedHeader,\n };\n const { alg } = joseHeader;\n if (typeof alg !== 'string' || !alg) {\n throw new JWEInvalid('JWE \"alg\" (Algorithm) Header Parameter missing or invalid');\n }\n if (alg === 'dir' || alg === 'ECDH-ES') {\n throw new JWEInvalid('\"dir\" and \"ECDH-ES\" alg may only be used with a single recipient');\n }\n if (typeof joseHeader.enc !== 'string' || !joseHeader.enc) {\n throw new JWEInvalid('JWE \"enc\" (Encryption Algorithm) Header Parameter missing or invalid');\n }\n if (!enc) {\n enc = joseHeader.enc;\n }\n else if (enc !== joseHeader.enc) {\n throw new JWEInvalid('JWE \"enc\" (Encryption Algorithm) Header Parameter must be the same for all recipients');\n }\n validateCrit(JWEInvalid, new Map(), recipient.options.crit, this._protectedHeader, joseHeader);\n if (joseHeader.zip !== undefined) {\n if (!this._protectedHeader || !this._protectedHeader.zip) {\n throw new JWEInvalid('JWE \"zip\" (Compression Algorithm) Header MUST be integrity protected');\n }\n }\n }\n const cek = generateCek(enc);\n let jwe = {\n ciphertext: '',\n iv: '',\n recipients: [],\n tag: '',\n };\n for (let i = 0; i < this._recipients.length; i++) {\n const recipient = this._recipients[i];\n const target = {};\n jwe.recipients.push(target);\n const joseHeader = {\n ...this._protectedHeader,\n ...this._unprotectedHeader,\n ...recipient.unprotectedHeader,\n };\n const p2c = joseHeader.alg.startsWith('PBES2') ? 2048 + i : undefined;\n if (i === 0) {\n const flattened = await new FlattenedEncrypt(this._plaintext)\n .setAdditionalAuthenticatedData(this._aad)\n .setContentEncryptionKey(cek)\n .setProtectedHeader(this._protectedHeader)\n .setSharedUnprotectedHeader(this._unprotectedHeader)\n .setUnprotectedHeader(recipient.unprotectedHeader)\n .setKeyManagementParameters({ p2c })\n .encrypt(recipient.key, {\n ...recipient.options,\n ...options,\n [unprotected]: true,\n });\n jwe.ciphertext = flattened.ciphertext;\n jwe.iv = flattened.iv;\n jwe.tag = flattened.tag;\n if (flattened.aad)\n jwe.aad = flattened.aad;\n if (flattened.protected)\n jwe.protected = flattened.protected;\n if (flattened.unprotected)\n jwe.unprotected = flattened.unprotected;\n target.encrypted_key = flattened.encrypted_key;\n if (flattened.header)\n target.header = flattened.header;\n continue;\n }\n const { encryptedKey, parameters } = await encryptKeyManagement(((_a = recipient.unprotectedHeader) === null || _a === void 0 ? void 0 : _a.alg) ||\n ((_b = this._protectedHeader) === null || _b === void 0 ? void 0 : _b.alg) ||\n ((_c = this._unprotectedHeader) === null || _c === void 0 ? void 0 : _c.alg), enc, recipient.key, cek, { p2c });\n target.encrypted_key = base64url(encryptedKey);\n if (recipient.unprotectedHeader || parameters)\n target.header = { ...recipient.unprotectedHeader, ...parameters };\n }\n return jwe;\n }\n}\n","import { JOSENotSupported } from '../util/errors.js';\nexport default function subtleDsa(alg, algorithm) {\n const hash = `SHA-${alg.slice(-3)}`;\n switch (alg) {\n case 'HS256':\n case 'HS384':\n case 'HS512':\n return { hash, name: 'HMAC' };\n case 'PS256':\n case 'PS384':\n case 'PS512':\n return { hash, name: 'RSA-PSS', saltLength: alg.slice(-3) >> 3 };\n case 'RS256':\n case 'RS384':\n case 'RS512':\n return { hash, name: 'RSASSA-PKCS1-v1_5' };\n case 'ES256':\n case 'ES384':\n case 'ES512':\n return { hash, name: 'ECDSA', namedCurve: algorithm.namedCurve };\n case 'EdDSA':\n return { name: algorithm.name };\n default:\n throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`);\n }\n}\n","import crypto, { isCryptoKey } from './webcrypto.js';\nimport { checkSigCryptoKey } from '../lib/crypto_key.js';\nimport invalidKeyInput from '../lib/invalid_key_input.js';\nimport { types } from './is_key_like.js';\nexport default function getCryptoKey(alg, key, usage) {\n if (isCryptoKey(key)) {\n checkSigCryptoKey(key, alg, usage);\n return key;\n }\n if (key instanceof Uint8Array) {\n if (!alg.startsWith('HS')) {\n throw new TypeError(invalidKeyInput(key, ...types));\n }\n return crypto.subtle.importKey('raw', key, { hash: `SHA-${alg.slice(-3)}`, name: 'HMAC' }, false, [usage]);\n }\n throw new TypeError(invalidKeyInput(key, ...types, 'Uint8Array'));\n}\n","import subtleAlgorithm from './subtle_dsa.js';\nimport crypto from './webcrypto.js';\nimport checkKeyLength from './check_key_length.js';\nimport getVerifyKey from './get_sign_verify_key.js';\nconst verify = async (alg, key, signature, data) => {\n const cryptoKey = await getVerifyKey(alg, key, 'verify');\n checkKeyLength(alg, cryptoKey);\n const algorithm = subtleAlgorithm(alg, cryptoKey.algorithm);\n try {\n return await crypto.subtle.verify(algorithm, cryptoKey, signature, data);\n }\n catch (_a) {\n return false;\n }\n};\nexport default verify;\n","import { decode as base64url } from '../../runtime/base64url.js';\nimport verify from '../../runtime/verify.js';\nimport { JOSEAlgNotAllowed, JWSInvalid, JWSSignatureVerificationFailed } from '../../util/errors.js';\nimport { concat, encoder, decoder } from '../../lib/buffer_utils.js';\nimport isDisjoint from '../../lib/is_disjoint.js';\nimport isObject from '../../lib/is_object.js';\nimport checkKeyType from '../../lib/check_key_type.js';\nimport validateCrit from '../../lib/validate_crit.js';\nimport validateAlgorithms from '../../lib/validate_algorithms.js';\nexport async function flattenedVerify(jws, key, options) {\n var _a;\n if (!isObject(jws)) {\n throw new JWSInvalid('Flattened JWS must be an object');\n }\n if (jws.protected === undefined && jws.header === undefined) {\n throw new JWSInvalid('Flattened JWS must have either of the \"protected\" or \"header\" members');\n }\n if (jws.protected !== undefined && typeof jws.protected !== 'string') {\n throw new JWSInvalid('JWS Protected Header incorrect type');\n }\n if (jws.payload === undefined) {\n throw new JWSInvalid('JWS Payload missing');\n }\n if (typeof jws.signature !== 'string') {\n throw new JWSInvalid('JWS Signature missing or incorrect type');\n }\n if (jws.header !== undefined && !isObject(jws.header)) {\n throw new JWSInvalid('JWS Unprotected Header incorrect type');\n }\n let parsedProt = {};\n if (jws.protected) {\n try {\n const protectedHeader = base64url(jws.protected);\n parsedProt = JSON.parse(decoder.decode(protectedHeader));\n }\n catch (_b) {\n throw new JWSInvalid('JWS Protected Header is invalid');\n }\n }\n if (!isDisjoint(parsedProt, jws.header)) {\n throw new JWSInvalid('JWS Protected and JWS Unprotected Header Parameter names must be disjoint');\n }\n const joseHeader = {\n ...parsedProt,\n ...jws.header,\n };\n const extensions = validateCrit(JWSInvalid, new Map([['b64', true]]), options === null || options === void 0 ? void 0 : options.crit, parsedProt, joseHeader);\n let b64 = true;\n if (extensions.has('b64')) {\n b64 = parsedProt.b64;\n if (typeof b64 !== 'boolean') {\n throw new JWSInvalid('The \"b64\" (base64url-encode payload) Header Parameter must be a boolean');\n }\n }\n const { alg } = joseHeader;\n if (typeof alg !== 'string' || !alg) {\n throw new JWSInvalid('JWS \"alg\" (Algorithm) Header Parameter missing or invalid');\n }\n const algorithms = options && validateAlgorithms('algorithms', options.algorithms);\n if (algorithms && !algorithms.has(alg)) {\n throw new JOSEAlgNotAllowed('\"alg\" (Algorithm) Header Parameter not allowed');\n }\n if (b64) {\n if (typeof jws.payload !== 'string') {\n throw new JWSInvalid('JWS Payload must be a string');\n }\n }\n else if (typeof jws.payload !== 'string' && !(jws.payload instanceof Uint8Array)) {\n throw new JWSInvalid('JWS Payload must be a string or an Uint8Array instance');\n }\n let resolvedKey = false;\n if (typeof key === 'function') {\n key = await key(parsedProt, jws);\n resolvedKey = true;\n }\n checkKeyType(alg, key, 'verify');\n const data = concat(encoder.encode((_a = jws.protected) !== null && _a !== void 0 ? _a : ''), encoder.encode('.'), typeof jws.payload === 'string' ? encoder.encode(jws.payload) : jws.payload);\n let signature;\n try {\n signature = base64url(jws.signature);\n }\n catch (_c) {\n throw new JWSInvalid('Failed to base64url decode the signature');\n }\n const verified = await verify(alg, key, signature, data);\n if (!verified) {\n throw new JWSSignatureVerificationFailed();\n }\n let payload;\n if (b64) {\n try {\n payload = base64url(jws.payload);\n }\n catch (_d) {\n throw new JWSInvalid('Failed to base64url decode the payload');\n }\n }\n else if (typeof jws.payload === 'string') {\n payload = encoder.encode(jws.payload);\n }\n else {\n payload = jws.payload;\n }\n const result = { payload };\n if (jws.protected !== undefined) {\n result.protectedHeader = parsedProt;\n }\n if (jws.header !== undefined) {\n result.unprotectedHeader = jws.header;\n }\n if (resolvedKey) {\n return { ...result, key };\n }\n return result;\n}\n","import { flattenedVerify } from '../flattened/verify.js';\nimport { JWSInvalid } from '../../util/errors.js';\nimport { decoder } from '../../lib/buffer_utils.js';\nexport async function compactVerify(jws, key, options) {\n if (jws instanceof Uint8Array) {\n jws = decoder.decode(jws);\n }\n if (typeof jws !== 'string') {\n throw new JWSInvalid('Compact JWS must be a string or Uint8Array');\n }\n const { 0: protectedHeader, 1: payload, 2: signature, length } = jws.split('.');\n if (length !== 3) {\n throw new JWSInvalid('Invalid Compact JWS');\n }\n const verified = await flattenedVerify({ payload, protected: protectedHeader, signature }, key, options);\n const result = { payload: verified.payload, protectedHeader: verified.protectedHeader };\n if (typeof key === 'function') {\n return { ...result, key: verified.key };\n }\n return result;\n}\n","import { flattenedVerify } from '../flattened/verify.js';\nimport { JWSInvalid, JWSSignatureVerificationFailed } from '../../util/errors.js';\nimport isObject from '../../lib/is_object.js';\nexport async function generalVerify(jws, key, options) {\n if (!isObject(jws)) {\n throw new JWSInvalid('General JWS must be an object');\n }\n if (!Array.isArray(jws.signatures) || !jws.signatures.every(isObject)) {\n throw new JWSInvalid('JWS Signatures missing or incorrect type');\n }\n for (const signature of jws.signatures) {\n try {\n return await flattenedVerify({\n header: signature.header,\n payload: jws.payload,\n protected: signature.protected,\n signature: signature.signature,\n }, key, options);\n }\n catch (_a) {\n }\n }\n throw new JWSSignatureVerificationFailed();\n}\n","export default (date) => Math.floor(date.getTime() / 1000);\n","const minute = 60;\nconst hour = minute * 60;\nconst day = hour * 24;\nconst week = day * 7;\nconst year = day * 365.25;\nconst REGEX = /^(\\d+|\\d+\\.\\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;\nexport default (str) => {\n const matched = REGEX.exec(str);\n if (!matched) {\n throw new TypeError('Invalid time period format');\n }\n const value = parseFloat(matched[1]);\n const unit = matched[2].toLowerCase();\n switch (unit) {\n case 'sec':\n case 'secs':\n case 'second':\n case 'seconds':\n case 's':\n return Math.round(value);\n case 'minute':\n case 'minutes':\n case 'min':\n case 'mins':\n case 'm':\n return Math.round(value * minute);\n case 'hour':\n case 'hours':\n case 'hr':\n case 'hrs':\n case 'h':\n return Math.round(value * hour);\n case 'day':\n case 'days':\n case 'd':\n return Math.round(value * day);\n case 'week':\n case 'weeks':\n case 'w':\n return Math.round(value * week);\n default:\n return Math.round(value * year);\n }\n};\n","import { JWTClaimValidationFailed, JWTExpired, JWTInvalid } from '../util/errors.js';\nimport { decoder } from './buffer_utils.js';\nimport epoch from './epoch.js';\nimport secs from './secs.js';\nimport isObject from './is_object.js';\nconst normalizeTyp = (value) => value.toLowerCase().replace(/^application\\//, '');\nconst checkAudiencePresence = (audPayload, audOption) => {\n if (typeof audPayload === 'string') {\n return audOption.includes(audPayload);\n }\n if (Array.isArray(audPayload)) {\n return audOption.some(Set.prototype.has.bind(new Set(audPayload)));\n }\n return false;\n};\nexport default (protectedHeader, encodedPayload, options = {}) => {\n const { typ } = options;\n if (typ &&\n (typeof protectedHeader.typ !== 'string' ||\n normalizeTyp(protectedHeader.typ) !== normalizeTyp(typ))) {\n throw new JWTClaimValidationFailed('unexpected \"typ\" JWT header value', 'typ', 'check_failed');\n }\n let payload;\n try {\n payload = JSON.parse(decoder.decode(encodedPayload));\n }\n catch (_a) {\n }\n if (!isObject(payload)) {\n throw new JWTInvalid('JWT Claims Set must be a top-level JSON object');\n }\n const { requiredClaims = [], issuer, subject, audience, maxTokenAge } = options;\n if (maxTokenAge !== undefined)\n requiredClaims.push('iat');\n if (audience !== undefined)\n requiredClaims.push('aud');\n if (subject !== undefined)\n requiredClaims.push('sub');\n if (issuer !== undefined)\n requiredClaims.push('iss');\n for (const claim of new Set(requiredClaims.reverse())) {\n if (!(claim in payload)) {\n throw new JWTClaimValidationFailed(`missing required \"${claim}\" claim`, claim, 'missing');\n }\n }\n if (issuer && !(Array.isArray(issuer) ? issuer : [issuer]).includes(payload.iss)) {\n throw new JWTClaimValidationFailed('unexpected \"iss\" claim value', 'iss', 'check_failed');\n }\n if (subject && payload.sub !== subject) {\n throw new JWTClaimValidationFailed('unexpected \"sub\" claim value', 'sub', 'check_failed');\n }\n if (audience &&\n !checkAudiencePresence(payload.aud, typeof audience === 'string' ? [audience] : audience)) {\n throw new JWTClaimValidationFailed('unexpected \"aud\" claim value', 'aud', 'check_failed');\n }\n let tolerance;\n switch (typeof options.clockTolerance) {\n case 'string':\n tolerance = secs(options.clockTolerance);\n break;\n case 'number':\n tolerance = options.clockTolerance;\n break;\n case 'undefined':\n tolerance = 0;\n break;\n default:\n throw new TypeError('Invalid clockTolerance option type');\n }\n const { currentDate } = options;\n const now = epoch(currentDate || new Date());\n if ((payload.iat !== undefined || maxTokenAge) && typeof payload.iat !== 'number') {\n throw new JWTClaimValidationFailed('\"iat\" claim must be a number', 'iat', 'invalid');\n }\n if (payload.nbf !== undefined) {\n if (typeof payload.nbf !== 'number') {\n throw new JWTClaimValidationFailed('\"nbf\" claim must be a number', 'nbf', 'invalid');\n }\n if (payload.nbf > now + tolerance) {\n throw new JWTClaimValidationFailed('\"nbf\" claim timestamp check failed', 'nbf', 'check_failed');\n }\n }\n if (payload.exp !== undefined) {\n if (typeof payload.exp !== 'number') {\n throw new JWTClaimValidationFailed('\"exp\" claim must be a number', 'exp', 'invalid');\n }\n if (payload.exp <= now - tolerance) {\n throw new JWTExpired('\"exp\" claim timestamp check failed', 'exp', 'check_failed');\n }\n }\n if (maxTokenAge) {\n const age = now - payload.iat;\n const max = typeof maxTokenAge === 'number' ? maxTokenAge : secs(maxTokenAge);\n if (age - tolerance > max) {\n throw new JWTExpired('\"iat\" claim timestamp check failed (too far in the past)', 'iat', 'check_failed');\n }\n if (age < 0 - tolerance) {\n throw new JWTClaimValidationFailed('\"iat\" claim timestamp check failed (it should be in the past)', 'iat', 'check_failed');\n }\n }\n return payload;\n};\n","import { compactVerify } from '../jws/compact/verify.js';\nimport jwtPayload from '../lib/jwt_claims_set.js';\nimport { JWTInvalid } from '../util/errors.js';\nexport async function jwtVerify(jwt, key, options) {\n var _a;\n const verified = await compactVerify(jwt, key, options);\n if (((_a = verified.protectedHeader.crit) === null || _a === void 0 ? void 0 : _a.includes('b64')) && verified.protectedHeader.b64 === false) {\n throw new JWTInvalid('JWTs MUST NOT use unencoded payload');\n }\n const payload = jwtPayload(verified.protectedHeader, verified.payload, options);\n const result = { payload, protectedHeader: verified.protectedHeader };\n if (typeof key === 'function') {\n return { ...result, key: verified.key };\n }\n return result;\n}\n","import { compactDecrypt } from '../jwe/compact/decrypt.js';\nimport jwtPayload from '../lib/jwt_claims_set.js';\nimport { JWTClaimValidationFailed } from '../util/errors.js';\nexport async function jwtDecrypt(jwt, key, options) {\n const decrypted = await compactDecrypt(jwt, key, options);\n const payload = jwtPayload(decrypted.protectedHeader, decrypted.plaintext, options);\n const { protectedHeader } = decrypted;\n if (protectedHeader.iss !== undefined && protectedHeader.iss !== payload.iss) {\n throw new JWTClaimValidationFailed('replicated \"iss\" claim header parameter mismatch', 'iss', 'mismatch');\n }\n if (protectedHeader.sub !== undefined && protectedHeader.sub !== payload.sub) {\n throw new JWTClaimValidationFailed('replicated \"sub\" claim header parameter mismatch', 'sub', 'mismatch');\n }\n if (protectedHeader.aud !== undefined &&\n JSON.stringify(protectedHeader.aud) !== JSON.stringify(payload.aud)) {\n throw new JWTClaimValidationFailed('replicated \"aud\" claim header parameter mismatch', 'aud', 'mismatch');\n }\n const result = { payload, protectedHeader };\n if (typeof key === 'function') {\n return { ...result, key: decrypted.key };\n }\n return result;\n}\n","import { FlattenedEncrypt } from '../flattened/encrypt.js';\nexport class CompactEncrypt {\n constructor(plaintext) {\n this._flattened = new FlattenedEncrypt(plaintext);\n }\n setContentEncryptionKey(cek) {\n this._flattened.setContentEncryptionKey(cek);\n return this;\n }\n setInitializationVector(iv) {\n this._flattened.setInitializationVector(iv);\n return this;\n }\n setProtectedHeader(protectedHeader) {\n this._flattened.setProtectedHeader(protectedHeader);\n return this;\n }\n setKeyManagementParameters(parameters) {\n this._flattened.setKeyManagementParameters(parameters);\n return this;\n }\n async encrypt(key, options) {\n const jwe = await this._flattened.encrypt(key, options);\n return [jwe.protected, jwe.encrypted_key, jwe.iv, jwe.ciphertext, jwe.tag].join('.');\n }\n}\n","import subtleAlgorithm from './subtle_dsa.js';\nimport crypto from './webcrypto.js';\nimport checkKeyLength from './check_key_length.js';\nimport getSignKey from './get_sign_verify_key.js';\nconst sign = async (alg, key, data) => {\n const cryptoKey = await getSignKey(alg, key, 'sign');\n checkKeyLength(alg, cryptoKey);\n const signature = await crypto.subtle.sign(subtleAlgorithm(alg, cryptoKey.algorithm), cryptoKey, data);\n return new Uint8Array(signature);\n};\nexport default sign;\n","import { encode as base64url } from '../../runtime/base64url.js';\nimport sign from '../../runtime/sign.js';\nimport isDisjoint from '../../lib/is_disjoint.js';\nimport { JWSInvalid } from '../../util/errors.js';\nimport { encoder, decoder, concat } from '../../lib/buffer_utils.js';\nimport checkKeyType from '../../lib/check_key_type.js';\nimport validateCrit from '../../lib/validate_crit.js';\nexport class FlattenedSign {\n constructor(payload) {\n if (!(payload instanceof Uint8Array)) {\n throw new TypeError('payload must be an instance of Uint8Array');\n }\n this._payload = payload;\n }\n setProtectedHeader(protectedHeader) {\n if (this._protectedHeader) {\n throw new TypeError('setProtectedHeader can only be called once');\n }\n this._protectedHeader = protectedHeader;\n return this;\n }\n setUnprotectedHeader(unprotectedHeader) {\n if (this._unprotectedHeader) {\n throw new TypeError('setUnprotectedHeader can only be called once');\n }\n this._unprotectedHeader = unprotectedHeader;\n return this;\n }\n async sign(key, options) {\n if (!this._protectedHeader && !this._unprotectedHeader) {\n throw new JWSInvalid('either setProtectedHeader or setUnprotectedHeader must be called before #sign()');\n }\n if (!isDisjoint(this._protectedHeader, this._unprotectedHeader)) {\n throw new JWSInvalid('JWS Protected and JWS Unprotected Header Parameter names must be disjoint');\n }\n const joseHeader = {\n ...this._protectedHeader,\n ...this._unprotectedHeader,\n };\n const extensions = validateCrit(JWSInvalid, new Map([['b64', true]]), options === null || options === void 0 ? void 0 : options.crit, this._protectedHeader, joseHeader);\n let b64 = true;\n if (extensions.has('b64')) {\n b64 = this._protectedHeader.b64;\n if (typeof b64 !== 'boolean') {\n throw new JWSInvalid('The \"b64\" (base64url-encode payload) Header Parameter must be a boolean');\n }\n }\n const { alg } = joseHeader;\n if (typeof alg !== 'string' || !alg) {\n throw new JWSInvalid('JWS \"alg\" (Algorithm) Header Parameter missing or invalid');\n }\n checkKeyType(alg, key, 'sign');\n let payload = this._payload;\n if (b64) {\n payload = encoder.encode(base64url(payload));\n }\n let protectedHeader;\n if (this._protectedHeader) {\n protectedHeader = encoder.encode(base64url(JSON.stringify(this._protectedHeader)));\n }\n else {\n protectedHeader = encoder.encode('');\n }\n const data = concat(protectedHeader, encoder.encode('.'), payload);\n const signature = await sign(alg, key, data);\n const jws = {\n signature: base64url(signature),\n payload: '',\n };\n if (b64) {\n jws.payload = decoder.decode(payload);\n }\n if (this._unprotectedHeader) {\n jws.header = this._unprotectedHeader;\n }\n if (this._protectedHeader) {\n jws.protected = decoder.decode(protectedHeader);\n }\n return jws;\n }\n}\n","import { FlattenedSign } from '../flattened/sign.js';\nexport class CompactSign {\n constructor(payload) {\n this._flattened = new FlattenedSign(payload);\n }\n setProtectedHeader(protectedHeader) {\n this._flattened.setProtectedHeader(protectedHeader);\n return this;\n }\n async sign(key, options) {\n const jws = await this._flattened.sign(key, options);\n if (jws.payload === undefined) {\n throw new TypeError('use the flattened module for creating JWS with b64: false');\n }\n return `${jws.protected}.${jws.payload}.${jws.signature}`;\n }\n}\n","import { FlattenedSign } from '../flattened/sign.js';\nimport { JWSInvalid } from '../../util/errors.js';\nclass IndividualSignature {\n constructor(sig, key, options) {\n this.parent = sig;\n this.key = key;\n this.options = options;\n }\n setProtectedHeader(protectedHeader) {\n if (this.protectedHeader) {\n throw new TypeError('setProtectedHeader can only be called once');\n }\n this.protectedHeader = protectedHeader;\n return this;\n }\n setUnprotectedHeader(unprotectedHeader) {\n if (this.unprotectedHeader) {\n throw new TypeError('setUnprotectedHeader can only be called once');\n }\n this.unprotectedHeader = unprotectedHeader;\n return this;\n }\n addSignature(...args) {\n return this.parent.addSignature(...args);\n }\n sign(...args) {\n return this.parent.sign(...args);\n }\n done() {\n return this.parent;\n }\n}\nexport class GeneralSign {\n constructor(payload) {\n this._signatures = [];\n this._payload = payload;\n }\n addSignature(key, options) {\n const signature = new IndividualSignature(this, key, options);\n this._signatures.push(signature);\n return signature;\n }\n async sign() {\n if (!this._signatures.length) {\n throw new JWSInvalid('at least one signature must be added');\n }\n const jws = {\n signatures: [],\n payload: '',\n };\n for (let i = 0; i < this._signatures.length; i++) {\n const signature = this._signatures[i];\n const flattened = new FlattenedSign(this._payload);\n flattened.setProtectedHeader(signature.protectedHeader);\n flattened.setUnprotectedHeader(signature.unprotectedHeader);\n const { payload, ...rest } = await flattened.sign(signature.key, signature.options);\n if (i === 0) {\n jws.payload = payload;\n }\n else if (jws.payload !== payload) {\n throw new JWSInvalid('inconsistent use of JWS Unencoded Payload (RFC7797)');\n }\n jws.signatures.push(rest);\n }\n return jws;\n }\n}\n","import epoch from '../lib/epoch.js';\nimport isObject from '../lib/is_object.js';\nimport secs from '../lib/secs.js';\nexport class ProduceJWT {\n constructor(payload) {\n if (!isObject(payload)) {\n throw new TypeError('JWT Claims Set MUST be an object');\n }\n this._payload = payload;\n }\n setIssuer(issuer) {\n this._payload = { ...this._payload, iss: issuer };\n return this;\n }\n setSubject(subject) {\n this._payload = { ...this._payload, sub: subject };\n return this;\n }\n setAudience(audience) {\n this._payload = { ...this._payload, aud: audience };\n return this;\n }\n setJti(jwtId) {\n this._payload = { ...this._payload, jti: jwtId };\n return this;\n }\n setNotBefore(input) {\n if (typeof input === 'number') {\n this._payload = { ...this._payload, nbf: input };\n }\n else {\n this._payload = { ...this._payload, nbf: epoch(new Date()) + secs(input) };\n }\n return this;\n }\n setExpirationTime(input) {\n if (typeof input === 'number') {\n this._payload = { ...this._payload, exp: input };\n }\n else {\n this._payload = { ...this._payload, exp: epoch(new Date()) + secs(input) };\n }\n return this;\n }\n setIssuedAt(input) {\n if (typeof input === 'undefined') {\n this._payload = { ...this._payload, iat: epoch(new Date()) };\n }\n else {\n this._payload = { ...this._payload, iat: input };\n }\n return this;\n }\n}\n","import { CompactSign } from '../jws/compact/sign.js';\nimport { JWTInvalid } from '../util/errors.js';\nimport { encoder } from '../lib/buffer_utils.js';\nimport { ProduceJWT } from './produce.js';\nexport class SignJWT extends ProduceJWT {\n setProtectedHeader(protectedHeader) {\n this._protectedHeader = protectedHeader;\n return this;\n }\n async sign(key, options) {\n var _a;\n const sig = new CompactSign(encoder.encode(JSON.stringify(this._payload)));\n sig.setProtectedHeader(this._protectedHeader);\n if (Array.isArray((_a = this._protectedHeader) === null || _a === void 0 ? void 0 : _a.crit) &&\n this._protectedHeader.crit.includes('b64') &&\n this._protectedHeader.b64 === false) {\n throw new JWTInvalid('JWTs MUST NOT use unencoded payload');\n }\n return sig.sign(key, options);\n }\n}\n","import { CompactEncrypt } from '../jwe/compact/encrypt.js';\nimport { encoder } from '../lib/buffer_utils.js';\nimport { ProduceJWT } from './produce.js';\nexport class EncryptJWT extends ProduceJWT {\n setProtectedHeader(protectedHeader) {\n if (this._protectedHeader) {\n throw new TypeError('setProtectedHeader can only be called once');\n }\n this._protectedHeader = protectedHeader;\n return this;\n }\n setKeyManagementParameters(parameters) {\n if (this._keyManagementParameters) {\n throw new TypeError('setKeyManagementParameters can only be called once');\n }\n this._keyManagementParameters = parameters;\n return this;\n }\n setContentEncryptionKey(cek) {\n if (this._cek) {\n throw new TypeError('setContentEncryptionKey can only be called once');\n }\n this._cek = cek;\n return this;\n }\n setInitializationVector(iv) {\n if (this._iv) {\n throw new TypeError('setInitializationVector can only be called once');\n }\n this._iv = iv;\n return this;\n }\n replicateIssuerAsHeader() {\n this._replicateIssuerAsHeader = true;\n return this;\n }\n replicateSubjectAsHeader() {\n this._replicateSubjectAsHeader = true;\n return this;\n }\n replicateAudienceAsHeader() {\n this._replicateAudienceAsHeader = true;\n return this;\n }\n async encrypt(key, options) {\n const enc = new CompactEncrypt(encoder.encode(JSON.stringify(this._payload)));\n if (this._replicateIssuerAsHeader) {\n this._protectedHeader = { ...this._protectedHeader, iss: this._payload.iss };\n }\n if (this._replicateSubjectAsHeader) {\n this._protectedHeader = { ...this._protectedHeader, sub: this._payload.sub };\n }\n if (this._replicateAudienceAsHeader) {\n this._protectedHeader = { ...this._protectedHeader, aud: this._payload.aud };\n }\n enc.setProtectedHeader(this._protectedHeader);\n if (this._iv) {\n enc.setInitializationVector(this._iv);\n }\n if (this._cek) {\n enc.setContentEncryptionKey(this._cek);\n }\n if (this._keyManagementParameters) {\n enc.setKeyManagementParameters(this._keyManagementParameters);\n }\n return enc.encrypt(key, options);\n }\n}\n","import digest from '../runtime/digest.js';\nimport { encode as base64url } from '../runtime/base64url.js';\nimport { JOSENotSupported, JWKInvalid } from '../util/errors.js';\nimport { encoder } from '../lib/buffer_utils.js';\nimport isObject from '../lib/is_object.js';\nconst check = (value, description) => {\n if (typeof value !== 'string' || !value) {\n throw new JWKInvalid(`${description} missing or invalid`);\n }\n};\nexport async function calculateJwkThumbprint(jwk, digestAlgorithm) {\n if (!isObject(jwk)) {\n throw new TypeError('JWK must be an object');\n }\n digestAlgorithm !== null && digestAlgorithm !== void 0 ? digestAlgorithm : (digestAlgorithm = 'sha256');\n if (digestAlgorithm !== 'sha256' &&\n digestAlgorithm !== 'sha384' &&\n digestAlgorithm !== 'sha512') {\n throw new TypeError('digestAlgorithm must one of \"sha256\", \"sha384\", or \"sha512\"');\n }\n let components;\n switch (jwk.kty) {\n case 'EC':\n check(jwk.crv, '\"crv\" (Curve) Parameter');\n check(jwk.x, '\"x\" (X Coordinate) Parameter');\n check(jwk.y, '\"y\" (Y Coordinate) Parameter');\n components = { crv: jwk.crv, kty: jwk.kty, x: jwk.x, y: jwk.y };\n break;\n case 'OKP':\n check(jwk.crv, '\"crv\" (Subtype of Key Pair) Parameter');\n check(jwk.x, '\"x\" (Public Key) Parameter');\n components = { crv: jwk.crv, kty: jwk.kty, x: jwk.x };\n break;\n case 'RSA':\n check(jwk.e, '\"e\" (Exponent) Parameter');\n check(jwk.n, '\"n\" (Modulus) Parameter');\n components = { e: jwk.e, kty: jwk.kty, n: jwk.n };\n break;\n case 'oct':\n check(jwk.k, '\"k\" (Key Value) Parameter');\n components = { k: jwk.k, kty: jwk.kty };\n break;\n default:\n throw new JOSENotSupported('\"kty\" (Key Type) Parameter missing or unsupported');\n }\n const data = encoder.encode(JSON.stringify(components));\n return base64url(await digest(digestAlgorithm, data));\n}\nexport async function calculateJwkThumbprintUri(jwk, digestAlgorithm) {\n digestAlgorithm !== null && digestAlgorithm !== void 0 ? digestAlgorithm : (digestAlgorithm = 'sha256');\n const thumbprint = await calculateJwkThumbprint(jwk, digestAlgorithm);\n return `urn:ietf:params:oauth:jwk-thumbprint:sha-${digestAlgorithm.slice(-3)}:${thumbprint}`;\n}\n","import { importJWK } from '../key/import.js';\nimport isObject from '../lib/is_object.js';\nimport { JWSInvalid } from '../util/errors.js';\nexport async function EmbeddedJWK(protectedHeader, token) {\n const joseHeader = {\n ...protectedHeader,\n ...token === null || token === void 0 ? void 0 : token.header,\n };\n if (!isObject(joseHeader.jwk)) {\n throw new JWSInvalid('\"jwk\" (JSON Web Key) Header Parameter must be a JSON object');\n }\n const key = await importJWK({ ...joseHeader.jwk, ext: true }, joseHeader.alg, true);\n if (key instanceof Uint8Array || key.type !== 'public') {\n throw new JWSInvalid('\"jwk\" (JSON Web Key) Header Parameter must be a public key');\n }\n return key;\n}\n","import { importJWK } from '../key/import.js';\nimport { JWKSInvalid, JOSENotSupported, JWKSNoMatchingKey, JWKSMultipleMatchingKeys, } from '../util/errors.js';\nimport isObject from '../lib/is_object.js';\nfunction getKtyFromAlg(alg) {\n switch (typeof alg === 'string' && alg.slice(0, 2)) {\n case 'RS':\n case 'PS':\n return 'RSA';\n case 'ES':\n return 'EC';\n case 'Ed':\n return 'OKP';\n default:\n throw new JOSENotSupported('Unsupported \"alg\" value for a JSON Web Key Set');\n }\n}\nexport function isJWKSLike(jwks) {\n return (jwks &&\n typeof jwks === 'object' &&\n Array.isArray(jwks.keys) &&\n jwks.keys.every(isJWKLike));\n}\nfunction isJWKLike(key) {\n return isObject(key);\n}\nfunction clone(obj) {\n if (typeof structuredClone === 'function') {\n return structuredClone(obj);\n }\n return JSON.parse(JSON.stringify(obj));\n}\nexport class LocalJWKSet {\n constructor(jwks) {\n this._cached = new WeakMap();\n if (!isJWKSLike(jwks)) {\n throw new JWKSInvalid('JSON Web Key Set malformed');\n }\n this._jwks = clone(jwks);\n }\n async getKey(protectedHeader, token) {\n const { alg, kid } = { ...protectedHeader, ...token === null || token === void 0 ? void 0 : token.header };\n const kty = getKtyFromAlg(alg);\n const candidates = this._jwks.keys.filter((jwk) => {\n let candidate = kty === jwk.kty;\n if (candidate && typeof kid === 'string') {\n candidate = kid === jwk.kid;\n }\n if (candidate && typeof jwk.alg === 'string') {\n candidate = alg === jwk.alg;\n }\n if (candidate && typeof jwk.use === 'string') {\n candidate = jwk.use === 'sig';\n }\n if (candidate && Array.isArray(jwk.key_ops)) {\n candidate = jwk.key_ops.includes('verify');\n }\n if (candidate && alg === 'EdDSA') {\n candidate = jwk.crv === 'Ed25519' || jwk.crv === 'Ed448';\n }\n if (candidate) {\n switch (alg) {\n case 'ES256':\n candidate = jwk.crv === 'P-256';\n break;\n case 'ES256K':\n candidate = jwk.crv === 'secp256k1';\n break;\n case 'ES384':\n candidate = jwk.crv === 'P-384';\n break;\n case 'ES512':\n candidate = jwk.crv === 'P-521';\n break;\n }\n }\n return candidate;\n });\n const { 0: jwk, length } = candidates;\n if (length === 0) {\n throw new JWKSNoMatchingKey();\n }\n else if (length !== 1) {\n const error = new JWKSMultipleMatchingKeys();\n const { _cached } = this;\n error[Symbol.asyncIterator] = async function* () {\n for (const jwk of candidates) {\n try {\n yield await importWithAlgCache(_cached, jwk, alg);\n }\n catch (_a) {\n continue;\n }\n }\n };\n throw error;\n }\n return importWithAlgCache(this._cached, jwk, alg);\n }\n}\nasync function importWithAlgCache(cache, jwk, alg) {\n const cached = cache.get(jwk) || cache.set(jwk, {}).get(jwk);\n if (cached[alg] === undefined) {\n const key = await importJWK({ ...jwk, ext: true }, alg);\n if (key instanceof Uint8Array || key.type !== 'public') {\n throw new JWKSInvalid('JSON Web Key Set members must be public keys');\n }\n cached[alg] = key;\n }\n return cached[alg];\n}\nexport function createLocalJWKSet(jwks) {\n const set = new LocalJWKSet(jwks);\n return async function (protectedHeader, token) {\n return set.getKey(protectedHeader, token);\n };\n}\n","import { JOSEError, JWKSTimeout } from '../util/errors.js';\nconst fetchJwks = async (url, timeout, options) => {\n let controller;\n let id;\n let timedOut = false;\n if (typeof AbortController === 'function') {\n controller = new AbortController();\n id = setTimeout(() => {\n timedOut = true;\n controller.abort();\n }, timeout);\n }\n const response = await fetch(url.href, {\n signal: controller ? controller.signal : undefined,\n redirect: 'manual',\n headers: options.headers,\n }).catch((err) => {\n if (timedOut)\n throw new JWKSTimeout();\n throw err;\n });\n if (id !== undefined)\n clearTimeout(id);\n if (response.status !== 200) {\n throw new JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response');\n }\n try {\n return await response.json();\n }\n catch (_a) {\n throw new JOSEError('Failed to parse the JSON Web Key Set HTTP response as JSON');\n }\n};\nexport default fetchJwks;\n","import fetchJwks from '../runtime/fetch_jwks.js';\nimport { JWKSInvalid, JWKSNoMatchingKey } from '../util/errors.js';\nimport { isJWKSLike, LocalJWKSet } from './local.js';\nfunction isCloudflareWorkers() {\n return (typeof WebSocketPair !== 'undefined' ||\n (typeof navigator !== 'undefined' && navigator.userAgent === 'Cloudflare-Workers') ||\n (typeof EdgeRuntime !== 'undefined' && EdgeRuntime === 'vercel'));\n}\nclass RemoteJWKSet extends LocalJWKSet {\n constructor(url, options) {\n super({ keys: [] });\n this._jwks = undefined;\n if (!(url instanceof URL)) {\n throw new TypeError('url must be an instance of URL');\n }\n this._url = new URL(url.href);\n this._options = { agent: options === null || options === void 0 ? void 0 : options.agent, headers: options === null || options === void 0 ? void 0 : options.headers };\n this._timeoutDuration =\n typeof (options === null || options === void 0 ? void 0 : options.timeoutDuration) === 'number' ? options === null || options === void 0 ? void 0 : options.timeoutDuration : 5000;\n this._cooldownDuration =\n typeof (options === null || options === void 0 ? void 0 : options.cooldownDuration) === 'number' ? options === null || options === void 0 ? void 0 : options.cooldownDuration : 30000;\n this._cacheMaxAge = typeof (options === null || options === void 0 ? void 0 : options.cacheMaxAge) === 'number' ? options === null || options === void 0 ? void 0 : options.cacheMaxAge : 600000;\n }\n coolingDown() {\n return typeof this._jwksTimestamp === 'number'\n ? Date.now() < this._jwksTimestamp + this._cooldownDuration\n : false;\n }\n fresh() {\n return typeof this._jwksTimestamp === 'number'\n ? Date.now() < this._jwksTimestamp + this._cacheMaxAge\n : false;\n }\n async getKey(protectedHeader, token) {\n if (!this._jwks || !this.fresh()) {\n await this.reload();\n }\n try {\n return await super.getKey(protectedHeader, token);\n }\n catch (err) {\n if (err instanceof JWKSNoMatchingKey) {\n if (this.coolingDown() === false) {\n await this.reload();\n return super.getKey(protectedHeader, token);\n }\n }\n throw err;\n }\n }\n async reload() {\n if (this._pendingFetch && isCloudflareWorkers()) {\n this._pendingFetch = undefined;\n }\n this._pendingFetch || (this._pendingFetch = fetchJwks(this._url, this._timeoutDuration, this._options)\n .then((json) => {\n if (!isJWKSLike(json)) {\n throw new JWKSInvalid('JSON Web Key Set malformed');\n }\n this._jwks = { keys: json.keys };\n this._jwksTimestamp = Date.now();\n this._pendingFetch = undefined;\n })\n .catch((err) => {\n this._pendingFetch = undefined;\n throw err;\n }));\n await this._pendingFetch;\n }\n}\nexport function createRemoteJWKSet(url, options) {\n const set = new RemoteJWKSet(url, options);\n return async function (protectedHeader, token) {\n return set.getKey(protectedHeader, token);\n };\n}\n","import * as base64url from '../runtime/base64url.js';\nimport { decoder } from '../lib/buffer_utils.js';\nimport { JWTInvalid } from '../util/errors.js';\nimport jwtPayload from '../lib/jwt_claims_set.js';\nimport { ProduceJWT } from './produce.js';\nexport class UnsecuredJWT extends ProduceJWT {\n encode() {\n const header = base64url.encode(JSON.stringify({ alg: 'none' }));\n const payload = base64url.encode(JSON.stringify(this._payload));\n return `${header}.${payload}.`;\n }\n static decode(jwt, options) {\n if (typeof jwt !== 'string') {\n throw new JWTInvalid('Unsecured JWT must be a string');\n }\n const { 0: encodedHeader, 1: encodedPayload, 2: signature, length } = jwt.split('.');\n if (length !== 3 || signature !== '') {\n throw new JWTInvalid('Invalid Unsecured JWT');\n }\n let header;\n try {\n header = JSON.parse(decoder.decode(base64url.decode(encodedHeader)));\n if (header.alg !== 'none')\n throw new Error();\n }\n catch (_a) {\n throw new JWTInvalid('Invalid Unsecured JWT');\n }\n const payload = jwtPayload(header, base64url.decode(encodedPayload), options);\n return { payload, header };\n }\n}\n","import * as base64url from '../runtime/base64url.js';\nexport const encode = base64url.encode;\nexport const decode = base64url.decode;\n","import { decode as base64url } from './base64url.js';\nimport { decoder } from '../lib/buffer_utils.js';\nimport isObject from '../lib/is_object.js';\nexport function decodeProtectedHeader(token) {\n let protectedB64u;\n if (typeof token === 'string') {\n const parts = token.split('.');\n if (parts.length === 3 || parts.length === 5) {\n ;\n [protectedB64u] = parts;\n }\n }\n else if (typeof token === 'object' && token) {\n if ('protected' in token) {\n protectedB64u = token.protected;\n }\n else {\n throw new TypeError('Token does not contain a Protected Header');\n }\n }\n try {\n if (typeof protectedB64u !== 'string' || !protectedB64u) {\n throw new Error();\n }\n const result = JSON.parse(decoder.decode(base64url(protectedB64u)));\n if (!isObject(result)) {\n throw new Error();\n }\n return result;\n }\n catch (_a) {\n throw new TypeError('Invalid Token or Protected Header formatting');\n }\n}\n","import { decode as base64url } from './base64url.js';\nimport { decoder } from '../lib/buffer_utils.js';\nimport isObject from '../lib/is_object.js';\nimport { JWTInvalid } from './errors.js';\nexport function decodeJwt(jwt) {\n if (typeof jwt !== 'string')\n throw new JWTInvalid('JWTs must use Compact JWS serialization, JWT must be a string');\n const { 1: payload, length } = jwt.split('.');\n if (length === 5)\n throw new JWTInvalid('Only JWTs using Compact JWS serialization can be decoded');\n if (length !== 3)\n throw new JWTInvalid('Invalid JWT');\n if (!payload)\n throw new JWTInvalid('JWTs must contain a payload');\n let decoded;\n try {\n decoded = base64url(payload);\n }\n catch (_a) {\n throw new JWTInvalid('Failed to base64url decode the payload');\n }\n let result;\n try {\n result = JSON.parse(decoder.decode(decoded));\n }\n catch (_b) {\n throw new JWTInvalid('Failed to parse the decoded payload as JSON');\n }\n if (!isObject(result))\n throw new JWTInvalid('Invalid JWT Claims Set');\n return result;\n}\n","import crypto from './webcrypto.js';\nimport { JOSENotSupported } from '../util/errors.js';\nimport random from './random.js';\nexport async function generateSecret(alg, options) {\n var _a;\n let length;\n let algorithm;\n let keyUsages;\n switch (alg) {\n case 'HS256':\n case 'HS384':\n case 'HS512':\n length = parseInt(alg.slice(-3), 10);\n algorithm = { name: 'HMAC', hash: `SHA-${length}`, length };\n keyUsages = ['sign', 'verify'];\n break;\n case 'A128CBC-HS256':\n case 'A192CBC-HS384':\n case 'A256CBC-HS512':\n length = parseInt(alg.slice(-3), 10);\n return random(new Uint8Array(length >> 3));\n case 'A128KW':\n case 'A192KW':\n case 'A256KW':\n length = parseInt(alg.slice(1, 4), 10);\n algorithm = { name: 'AES-KW', length };\n keyUsages = ['wrapKey', 'unwrapKey'];\n break;\n case 'A128GCMKW':\n case 'A192GCMKW':\n case 'A256GCMKW':\n case 'A128GCM':\n case 'A192GCM':\n case 'A256GCM':\n length = parseInt(alg.slice(1, 4), 10);\n algorithm = { name: 'AES-GCM', length };\n keyUsages = ['encrypt', 'decrypt'];\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n return crypto.subtle.generateKey(algorithm, (_a = options === null || options === void 0 ? void 0 : options.extractable) !== null && _a !== void 0 ? _a : false, keyUsages);\n}\nfunction getModulusLengthOption(options) {\n var _a;\n const modulusLength = (_a = options === null || options === void 0 ? void 0 : options.modulusLength) !== null && _a !== void 0 ? _a : 2048;\n if (typeof modulusLength !== 'number' || modulusLength < 2048) {\n throw new JOSENotSupported('Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used');\n }\n return modulusLength;\n}\nexport async function generateKeyPair(alg, options) {\n var _a, _b, _c;\n let algorithm;\n let keyUsages;\n switch (alg) {\n case 'PS256':\n case 'PS384':\n case 'PS512':\n algorithm = {\n name: 'RSA-PSS',\n hash: `SHA-${alg.slice(-3)}`,\n publicExponent: new Uint8Array([0x01, 0x00, 0x01]),\n modulusLength: getModulusLengthOption(options),\n };\n keyUsages = ['sign', 'verify'];\n break;\n case 'RS256':\n case 'RS384':\n case 'RS512':\n algorithm = {\n name: 'RSASSA-PKCS1-v1_5',\n hash: `SHA-${alg.slice(-3)}`,\n publicExponent: new Uint8Array([0x01, 0x00, 0x01]),\n modulusLength: getModulusLengthOption(options),\n };\n keyUsages = ['sign', 'verify'];\n break;\n case 'RSA-OAEP':\n case 'RSA-OAEP-256':\n case 'RSA-OAEP-384':\n case 'RSA-OAEP-512':\n algorithm = {\n name: 'RSA-OAEP',\n hash: `SHA-${parseInt(alg.slice(-3), 10) || 1}`,\n publicExponent: new Uint8Array([0x01, 0x00, 0x01]),\n modulusLength: getModulusLengthOption(options),\n };\n keyUsages = ['decrypt', 'unwrapKey', 'encrypt', 'wrapKey'];\n break;\n case 'ES256':\n algorithm = { name: 'ECDSA', namedCurve: 'P-256' };\n keyUsages = ['sign', 'verify'];\n break;\n case 'ES384':\n algorithm = { name: 'ECDSA', namedCurve: 'P-384' };\n keyUsages = ['sign', 'verify'];\n break;\n case 'ES512':\n algorithm = { name: 'ECDSA', namedCurve: 'P-521' };\n keyUsages = ['sign', 'verify'];\n break;\n case 'EdDSA':\n keyUsages = ['sign', 'verify'];\n const crv = (_a = options === null || options === void 0 ? void 0 : options.crv) !== null && _a !== void 0 ? _a : 'Ed25519';\n switch (crv) {\n case 'Ed25519':\n case 'Ed448':\n algorithm = { name: crv };\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported crv option provided');\n }\n break;\n case 'ECDH-ES':\n case 'ECDH-ES+A128KW':\n case 'ECDH-ES+A192KW':\n case 'ECDH-ES+A256KW': {\n keyUsages = ['deriveKey', 'deriveBits'];\n const crv = (_b = options === null || options === void 0 ? void 0 : options.crv) !== null && _b !== void 0 ? _b : 'P-256';\n switch (crv) {\n case 'P-256':\n case 'P-384':\n case 'P-521': {\n algorithm = { name: 'ECDH', namedCurve: crv };\n break;\n }\n case 'X25519':\n case 'X448':\n algorithm = { name: crv };\n break;\n default:\n throw new JOSENotSupported('Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448');\n }\n break;\n }\n default:\n throw new JOSENotSupported('Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value');\n }\n return (crypto.subtle.generateKey(algorithm, (_c = options === null || options === void 0 ? void 0 : options.extractable) !== null && _c !== void 0 ? _c : false, keyUsages));\n}\n","import { generateKeyPair as generate } from '../runtime/generate.js';\nexport async function generateKeyPair(alg, options) {\n return generate(alg, options);\n}\n","import { generateSecret as generate } from '../runtime/generate.js';\nexport async function generateSecret(alg, options) {\n return generate(alg, options);\n}\n","export default 'WebCryptoAPI';\n","import value from '../runtime/runtime.js';\nexport default value;\n","export { compactDecrypt } from './jwe/compact/decrypt.js';\nexport { flattenedDecrypt } from './jwe/flattened/decrypt.js';\nexport { generalDecrypt } from './jwe/general/decrypt.js';\nexport { GeneralEncrypt } from './jwe/general/encrypt.js';\nexport { compactVerify } from './jws/compact/verify.js';\nexport { flattenedVerify } from './jws/flattened/verify.js';\nexport { generalVerify } from './jws/general/verify.js';\nexport { jwtVerify } from './jwt/verify.js';\nexport { jwtDecrypt } from './jwt/decrypt.js';\nexport { CompactEncrypt } from './jwe/compact/encrypt.js';\nexport { FlattenedEncrypt } from './jwe/flattened/encrypt.js';\nexport { CompactSign } from './jws/compact/sign.js';\nexport { FlattenedSign } from './jws/flattened/sign.js';\nexport { GeneralSign } from './jws/general/sign.js';\nexport { SignJWT } from './jwt/sign.js';\nexport { EncryptJWT } from './jwt/encrypt.js';\nexport { calculateJwkThumbprint, calculateJwkThumbprintUri } from './jwk/thumbprint.js';\nexport { EmbeddedJWK } from './jwk/embedded.js';\nexport { createLocalJWKSet } from './jwks/local.js';\nexport { createRemoteJWKSet } from './jwks/remote.js';\nexport { UnsecuredJWT } from './jwt/unsecured.js';\nexport { exportPKCS8, exportSPKI, exportJWK } from './key/export.js';\nexport { importSPKI, importPKCS8, importX509, importJWK } from './key/import.js';\nexport { decodeProtectedHeader } from './util/decode_protected_header.js';\nexport { decodeJwt } from './util/decode_jwt.js';\nimport * as errors_1 from './util/errors.js';\nexport { errors_1 as errors };\nexport { generateKeyPair } from './key/generate_key_pair.js';\nexport { generateSecret } from './key/generate_secret.js';\nimport * as base64url_1 from './util/base64url.js';\nexport { base64url_1 as base64url };\nexport { default as cryptoRuntime } from './util/runtime.js';\n","function JwksError(message) {\n Error.call(this, message);\n Error.captureStackTrace(this, this.constructor);\n this.name = 'JwksError';\n this.message = message;\n}\n\nJwksError.prototype = Object.create(Error.prototype);\nJwksError.prototype.constructor = JwksError;\nmodule.exports = JwksError;\n","const jose = require('jose');\nconst JwksError = require('./errors/JwksError');\n\nfunction resolveAlg(jwk) {\n if (jwk.alg) {\n return jwk.alg;\n }\n\n if (jwk.kty === 'RSA') {\n return 'RS256';\n }\n\n if (jwk.kty === 'EC') {\n switch (jwk.crv) {\n case 'P-256':\n return 'ES256';\n case 'secp256k1':\n return 'ES256K';\n case 'P-384':\n return 'ES384';\n case 'P-521':\n return 'ES512';\n }\n }\n\n if (jwk.kty === 'OKP') {\n switch (jwk.crv) {\n case 'Ed25519':\n case 'Ed448':\n return 'EdDSA';\n }\n }\n\n throw new JwksError('Unsupported JWK');\n}\n\nasync function retrieveSigningKeys(jwks) {\n const results = [];\n\n jwks = jwks\n .filter(({ use }) => use === 'sig' || use === undefined)\n .filter(({ kty }) => kty === 'RSA' || kty === 'EC' || kty === 'OKP');\n\n for (const jwk of jwks) {\n try {\n const key = await jose.importJWK({ ...jwk, ext: true }, resolveAlg(jwk));\n if (key.type !== 'public') {\n continue;\n }\n let getSpki;\n switch (key[Symbol.toStringTag]) {\n case 'CryptoKey': {\n const spki = await jose.exportSPKI(key);\n getSpki = () => spki;\n break;\n }\n case 'KeyObject':\n // Assume legacy Node.js version without the Symbol.toStringTag backported\n // Fall through\n default:\n getSpki = () => key.export({ format: 'pem', type: 'spki' });\n }\n results.push({\n get publicKey() { return getSpki(); },\n get rsaPublicKey() { return getSpki(); },\n getPublicKey() { return getSpki(); },\n ...(typeof jwk.kid === 'string' && jwk.kid ? { kid: jwk.kid } : undefined),\n ...(typeof jwk.alg === 'string' && jwk.alg ? { alg: jwk.alg } : undefined)\n });\n } catch (err) {\n continue;\n }\n }\n\n return results;\n}\n\nmodule.exports = {\n retrieveSigningKeys\n};\n","function ArgumentError(message) {\n Error.call(this, message);\n Error.captureStackTrace(this, this.constructor);\n this.name = 'ArgumentError';\n this.message = message;\n}\n\nArgumentError.prototype = Object.create(Error.prototype);\nArgumentError.prototype.constructor = ArgumentError;\nmodule.exports = ArgumentError;\n","const http = require('http');\nconst https = require('https');\nconst ArgumentError = require('../errors/ArgumentError');\n\nmodule.exports.default = (options) => {\n if (options.fetcher) {\n return options.fetcher(options.uri);\n }\n\n return new Promise((resolve, reject) => {\n let url;\n try {\n url = new URL(options.uri);\n } catch (err) {\n throw new ArgumentError('Invalid JWKS URI: The provided URI is not a valid URL.');\n }\n const { hostname, port, protocol, pathname, search } = url;\n const path = pathname + search;\n\n const requestOptions = {\n hostname,\n path,\n port,\n method: 'GET',\n ...(options.headers && { headers: { ...options.headers } }),\n ...(options.timeout && { timeout: options.timeout }),\n ...(options.agent && { agent: options.agent })\n };\n\n const httpRequestLib = protocol === 'https:' ? https : http;\n const httpRequest = httpRequestLib.request(requestOptions, (res) => {\n let rawData = '';\n res.setEncoding('utf8');\n res.on('data', (chunk) => { rawData += chunk; });\n res.on('end', () => {\n if (res.statusCode < 200 || res.statusCode >= 300) {\n const errorMsg = res.body && (res.body.message || res.body) || res.statusMessage || `Http Error ${res.statusCode}`;\n reject({ errorMsg });\n } else {\n try {\n resolve(rawData && JSON.parse(rawData));\n } catch (error) {\n reject(error);\n }\n }\n });\n });\n\n httpRequest\n .on('timeout', () => httpRequest.destroy())\n .on('error', (e) => reject(e))\n .end();\n });\n};\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/**\n * Adds the key-value `pair` to `map`.\n *\n * @private\n * @param {Object} map The map to modify.\n * @param {Array} pair The key-value pair to add.\n * @returns {Object} Returns `map`.\n */\nfunction addMapEntry(map, pair) {\n // Don't return `map.set` because it's not chainable in IE 11.\n map.set(pair[0], pair[1]);\n return map;\n}\n\n/**\n * Adds `value` to `set`.\n *\n * @private\n * @param {Object} set The set to modify.\n * @param {*} value The value to add.\n * @returns {Object} Returns `set`.\n */\nfunction addSetEntry(set, value) {\n // Don't return `set.add` because it's not chainable in IE 11.\n set.add(value);\n return set;\n}\n\n/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array ? array.length : 0;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array ? array.length : 0;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n this.__data__ = new ListCache(entries);\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n return this.__data__['delete'](key);\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var cache = this.__data__;\n if (cache instanceof ListCache) {\n var pairs = cache.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n return this;\n }\n cache = this.__data__ = new MapCache(pairs);\n }\n cache.set(key, value);\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n // Safari 9 makes `arguments.length` enumerable in strict mode.\n var result = (isArray(value) || isArguments(value))\n ? baseTimes(value.length, String)\n : [];\n\n var length = result.length,\n skipIndexes = !!length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n object[key] = value;\n }\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @param {boolean} [isFull] Specify a clone including symbols.\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, isDeep, isFull, customizer, key, object, stack) {\n var result;\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n if (isHostObject(value)) {\n return object ? value : {};\n }\n result = initCloneObject(isFunc ? {} : value);\n if (!isDeep) {\n return copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, baseClone, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (!isArr) {\n var props = isFull ? getAllKeys(value) : keys(value);\n }\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));\n });\n return result;\n}\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} prototype The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nfunction baseCreate(proto) {\n return isObject(proto) ? objectCreate(proto) : {};\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n return objectToString.call(value);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var result = new buffer.constructor(buffer.length);\n buffer.copy(result);\n return result;\n}\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\n/**\n * Creates a clone of `map`.\n *\n * @private\n * @param {Object} map The map to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned map.\n */\nfunction cloneMap(map, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);\n return arrayReduce(array, addMapEntry, new map.constructor);\n}\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\n/**\n * Creates a clone of `set`.\n *\n * @private\n * @param {Object} set The set to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned set.\n */\nfunction cloneSet(set, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);\n return arrayReduce(array, addSetEntry, new set.constructor);\n}\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\n/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n assignValue(object, key, newValue === undefined ? source[key] : newValue);\n }\n return object;\n}\n\n/**\n * Copies own symbol properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Creates an array of the own enumerable symbol properties of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11,\n// for data views in Edge < 14, and promises in Node.js.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = objectToString.call(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : undefined;\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, cloneFunc, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return cloneMap(object, isDeep, cloneFunc);\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return cloneSet(object, isDeep, cloneFunc);\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, true, true);\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = cloneDeep;\n","\"use strict\";\n// From https://raw.githubusercontent.com/nikoskalogridis/deep-freeze/fb921b32064dce1645197be2bf975fe0385450b0/index.js\n// which is sadly, no longer maintained\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.deepFreeze = void 0;\nfunction deepFreeze(o) {\n if (o) {\n Object.freeze(o);\n Object.getOwnPropertyNames(o).forEach(function (prop) {\n if (o.hasOwnProperty(prop)\n && o[prop] !== null\n && (typeof o[prop] === 'object' || typeof o[prop] === 'function')\n && (o[prop].constructor !== Buffer)\n && !Object.isFrozen(o[prop])) {\n deepFreeze(o[prop]);\n }\n });\n }\n return o;\n}\nexports.deepFreeze = deepFreeze;\n;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJlZXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2ZyZWV6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsdUhBQXVIO0FBQ3ZILHVDQUF1Qzs7O0FBRXZDLFNBQWdCLFVBQVUsQ0FBRSxDQUFNO0lBQ2hDLElBQUksQ0FBQyxFQUFFO1FBQ0wsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUVqQixNQUFNLENBQUMsbUJBQW1CLENBQUMsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLFVBQVUsSUFBSTtZQUNsRCxJQUFJLENBQUMsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDO21CQUNyQixDQUFDLENBQUMsSUFBSSxDQUFDLEtBQUssSUFBSTttQkFDaEIsQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFJLENBQUMsS0FBSyxRQUFRLElBQUksT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLEtBQUssVUFBVSxDQUFDO21CQUM5RCxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxXQUFXLEtBQUssTUFBTSxDQUFDO21CQUNoQyxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLEVBQUU7Z0JBQzVCLFVBQVUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQzthQUNyQjtRQUNMLENBQUMsQ0FBQyxDQUFDO0tBQ0o7SUFFRCxPQUFPLENBQUMsQ0FBQztBQUNYLENBQUM7QUFoQkQsZ0NBZ0JDO0FBQUEsQ0FBQyJ9","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.syncMemoizer = void 0;\nvar lru_cache_1 = __importDefault(require(\"lru-cache\"));\nvar events_1 = require(\"events\");\nvar lodash_clonedeep_1 = __importDefault(require(\"lodash.clonedeep\"));\nvar freeze_1 = require(\"./freeze\");\nfunction syncMemoizer(options) {\n var cache = new lru_cache_1.default(options);\n var load = options.load;\n var hash = options.hash;\n var bypass = options.bypass;\n var itemMaxAge = options.itemMaxAge;\n var freeze = options.freeze;\n var clone = options.clone;\n var emitter = new events_1.EventEmitter();\n var defaultResult = Object.assign({\n del: del,\n reset: function () { return cache.reset(); },\n keys: cache.keys.bind(cache),\n on: emitter.on.bind(emitter),\n once: emitter.once.bind(emitter),\n }, options);\n if (options.disable) {\n return Object.assign(load, defaultResult);\n }\n function del() {\n var key = hash.apply(void 0, __spread(arguments));\n cache.del(key);\n }\n function emit(event) {\n var parameters = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n parameters[_i - 1] = arguments[_i];\n }\n emitter.emit.apply(emitter, __spread([event], parameters));\n }\n function isPromise(result) {\n // detect native, bluebird, A+ promises\n return result && result.then && typeof result.then === 'function';\n }\n function processResult(result) {\n var res = result;\n if (clone) {\n if (isPromise(res)) {\n res = res.then(lodash_clonedeep_1.default);\n }\n else {\n res = lodash_clonedeep_1.default(res);\n }\n }\n if (freeze) {\n if (isPromise(res)) {\n res = res.then(freeze_1.deepFreeze);\n }\n else {\n freeze_1.deepFreeze(res);\n }\n }\n return res;\n }\n var result = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (bypass && bypass.apply(void 0, __spread(args))) {\n emit.apply(void 0, __spread(['miss'], args));\n return load.apply(void 0, __spread(args));\n }\n var key = hash.apply(void 0, __spread(args));\n var fromCache = cache.get(key);\n if (fromCache) {\n emit.apply(void 0, __spread(['hit'], args));\n return processResult(fromCache);\n }\n emit.apply(void 0, __spread(['miss'], args));\n var result = load.apply(void 0, __spread(args));\n if (itemMaxAge) {\n // @ts-ignore\n cache.set(key, result, itemMaxAge.apply(void 0, __spread(args.concat([result]))));\n }\n else {\n cache.set(key, result);\n }\n return processResult(result);\n };\n return Object.assign(result, defaultResult);\n}\nexports.syncMemoizer = syncMemoizer;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zeW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsd0RBQTRCO0FBQzVCLGlDQUFzQztBQUN0QyxzRUFBeUM7QUFDekMsbUNBQXNDO0FBaUd0QyxTQUFnQixZQUFZLENBQzFCLE9BQWdDO0lBRWhDLElBQU0sS0FBSyxHQUFRLElBQUksbUJBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUNwQyxJQUFNLElBQUksR0FBUyxPQUFPLENBQUMsSUFBSSxDQUFDO0lBQ2hDLElBQU0sSUFBSSxHQUFTLE9BQU8sQ0FBQyxJQUFJLENBQUM7SUFDaEMsSUFBTSxNQUFNLEdBQU8sT0FBTyxDQUFDLE1BQU0sQ0FBQztJQUNsQyxJQUFNLFVBQVUsR0FBRyxPQUFPLENBQUMsVUFBVSxDQUFDO0lBQ3RDLElBQU0sTUFBTSxHQUFPLE9BQU8sQ0FBQyxNQ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S0FBSyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUUvQixJQUFJLFNBQVMsRUFBRTtZQUNiLElBQUkseUJBQUMsS0FBSyxHQUFLLElBQUksR0FBRTtZQUVyQixPQUFPLGFBQWEsQ0FBQyxTQUFTLENBQUMsQ0FBQztTQUNqQztRQUVELElBQUkseUJBQUMsTUFBTSxHQUFLLElBQUksR0FBRTtRQUN0QixJQUFNLE1BQU0sR0FBRyxJQUFJLHdCQUFJLElBQUksRUFBQyxDQUFDO1FBRTdCLElBQUksVUFBVSxFQUFFO1lBQ2QsYUFBYTtZQUNiLEtBQUssQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLE1BQU0sRUFBRSxVQUFVLHdCQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBRSxNQUFNLENBQUUsQ0FBQyxHQUFFLENBQUM7U0FDaEU7YUFBTTtZQUNMLEtBQUssQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLE1BQU0sQ0FBQyxDQUFDO1NBQ3hCO1FBRUQsT0FBTyxhQUFhLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDL0IsQ0FBQyxDQUFDO0lBRUYsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sRUFBRSxhQUFhLENBQVEsQ0FBQztBQUNyRCxDQUFDO0FBNUZELG9DQTRGQyJ9","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.asyncMemoizer = void 0;\nvar lru_cache_1 = __importDefault(require(\"lru-cache\"));\nvar events_1 = require(\"events\");\nvar lodash_clonedeep_1 = __importDefault(require(\"lodash.clonedeep\"));\nvar freeze_1 = require(\"./freeze\");\nvar sync_1 = require(\"./sync\");\nfunction asyncMemoizer(options) {\n var cache = new lru_cache_1.default(options);\n var load = options.load;\n var hash = options.hash;\n var bypass = options.bypass;\n var itemMaxAge = options.itemMaxAge;\n var freeze = options.freeze;\n var clone = options.clone;\n var queueMaxAge = options.queueMaxAge || 1000;\n var loading = new Map();\n var emitter = new events_1.EventEmitter();\n var memoizerMethods = Object.assign({\n del: del,\n reset: function () { return cache.reset(); },\n keys: cache.keys.bind(cache),\n on: emitter.on.bind(emitter),\n once: emitter.once.bind(emitter)\n }, options);\n if (options.disable) {\n return Object.assign(load, memoizerMethods);\n }\n function del() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var key = hash.apply(void 0, __spread(args));\n cache.del(key);\n }\n function add(key, parameters, result) {\n if (freeze) {\n result.forEach(freeze_1.deepFreeze);\n }\n if (itemMaxAge) {\n cache.set(key, result, itemMaxAge.apply(void 0, __spread(parameters.concat(result))));\n }\n else {\n cache.set(key, result);\n }\n }\n function runCallbacks(callbacks, args) {\n var e_1, _a;\n try {\n for (var callbacks_1 = __values(callbacks), callbacks_1_1 = callbacks_1.next(); !callbacks_1_1.done; callbacks_1_1 = callbacks_1.next()) {\n var callback = callbacks_1_1.value;\n // Simulate async call when returning from cache\n // and yield between callback resolution\n if (clone) {\n setImmediate.apply(void 0, __spread([callback], args.map(lodash_clonedeep_1.default)));\n }\n else {\n setImmediate.apply(void 0, __spread([callback], args));\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (callbacks_1_1 && !callbacks_1_1.done && (_a = callbacks_1.return)) _a.call(callbacks_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n function emit(event) {\n var parameters = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n parameters[_i - 1] = arguments[_i];\n }\n emitter.emit.apply(emitter, __spread([event], parameters));\n }\n function memoizedFunction() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var parameters = args.slice(0, -1);\n var callback = args.slice(-1).pop();\n var key;\n if (bypass && bypass.apply(void 0, __spread(parameters))) {\n emit.apply(void 0, __spread(['miss'], parameters));\n return load.apply(void 0, __spread(args));\n }\n if (parameters.length === 0 && !hash) {\n //the load function only receives callback.\n key = '_';\n }\n else {\n key = hash.apply(void 0, __spread(parameters));\n }\n var fromCache = cache.get(key);\n if (fromCache) {\n emit.apply(void 0, __spread(['hit'], parameters));\n // found, invoke callback\n return runCallbacks([callback], [null].concat(fromCache));\n }\n var pendingLoad = loading.get(key);\n if (pendingLoad && pendingLoad.expiresAt > Date.now()) {\n // request already in progress, queue and return\n pendingLoad.queue.push(callback);\n emit.apply(void 0, __spread(['queue'], parameters));\n return;\n }\n emit.apply(void 0, __spread(['miss'], parameters));\n var started = Date.now();\n // no pending request or not resolved before expiration\n // create a new queue and invoke load\n var queue = [callback];\n loading.set(key, {\n queue: queue,\n expiresAt: started + queueMaxAge\n });\n var loadHandler = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var err = args[0];\n if (!err) {\n add(key, parameters, args.slice(1));\n }\n // this can potentially delete a different queue than `queue` if\n // this callback was called after expiration.\n // that will only cause a new call to be performed and a new queue to be\n // created\n loading.delete(key);\n emit.apply(void 0, __spread(['loaded', Date.now() - started], parameters));\n runCallbacks(queue, args);\n };\n load.apply(void 0, __spread(parameters, [loadHandler]));\n }\n ;\n return Object.assign(memoizedFunction, memoizerMethods);\n}\nexports.asyncMemoizer = asyncMemoizer;\nasyncMemoizer.sync = sync_1.syncMemoizer;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXN5bmMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdEQUE0QjtBQUM1QixpQ0FBc0M7QUFDdEMsc0VBQXlDO0FBQ3pDLG1DQUFzQztBQUN0QywrQkFBc0M7QUE2R3RDLFNBQVMsYUFBYSxDQUNwQixPQUF3QjtJQUV4QixJQUFNLEtBQUssR0FBUSxJQUFJLG1CQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDcEMsSUFBTSxJQUFJLEdBQVMsT0FBTyxDQUFDLElBQUksQ0FBQztJQUNoQyxJQUFNLElBQUksR0FBUyxPQUFPLENBQUMsSUFBSSxDQUFDO0lBQ2hDLElBQU0sTUFBTSxHQUFPLE9BQU8sQ0FBQyxNQUFNLENBQUM7SUFDbEMsSUFBTSxVQUFVLEdBQUcsT0FBTyxDQUFDLFVBQVUsQ0FBQztJQUN0QyxJQUFNLE1BQU0sR0FBTyxPQUFPLENBQUMsTUFBTSxDQUFDO0lBQ2xDLElBQU0sS0FBSyxHQUFRLE9BQU8sQ0FBQyxLQUFLLENBQUM7SUFDakMsSUFBTSxXQUFXLEdBQUcsT0FBTyxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUM7SUFDaEQsSUFBTSxPQUFPLEdBQU0sS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0FBQyxNQUFNLENBQUMsZ0JBQWdCLEVBQUUsZUFBZSxDQUFDLENBQUM7QUFDMUQsQ0FBQztBQUlRLHNDQUFhO0FBRnRCLGFBQWEsQ0FBQyxJQUFJLEdBQUcsbUJBQVksQ0FBQyJ9","\"use strict\";\nvar async_1 = require(\"./async\");\nmodule.exports = async_1.asyncMemoizer;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGlDQUF3QztBQUV4QyxpQkFBUyxxQkFBYSxDQUFDIn0=","const logger = require('debug')('jwks');\nconst memoizer = require('lru-memoizer');\nconst { promisify, callbackify } = require('util');\n\nfunction cacheWrapper(client, { cacheMaxEntries = 5, cacheMaxAge = 600000 }) {\n logger(`Configured caching of signing keys. Max: ${cacheMaxEntries} / Age: ${cacheMaxAge}`);\n return promisify(memoizer({\n hash: (kid) => kid,\n load: callbackify(client.getSigningKey.bind(client)),\n maxAge: cacheMaxAge,\n max: cacheMaxEntries\n }));\n}\n\nmodule.exports.default = cacheWrapper;\n","\r\n/**\r\n * A hierarchical token bucket for rate limiting. See\r\n * http://en.wikipedia.org/wiki/Token_bucket for more information.\r\n * @author John Hurliman <jhurliman@cull.tv>\r\n *\r\n * @param {Number} bucketSize Maximum number of tokens to hold in the bucket.\r\n * Also known as the burst rate.\r\n * @param {Number} tokensPerInterval Number of tokens to drip into the bucket\r\n * over the course of one interval.\r\n * @param {String|Number} interval The interval length in milliseconds, or as\r\n * one of the following strings: 'second', 'minute', 'hour', day'.\r\n * @param {TokenBucket} parentBucket Optional. A token bucket that will act as\r\n * the parent of this bucket.\r\n */\r\nvar TokenBucket = function(bucketSize, tokensPerInterval, interval, parentBucket) {\r\n this.bucketSize = bucketSize;\r\n this.tokensPerInterval = tokensPerInterval;\r\n\r\n if (typeof interval === 'string') {\r\n switch (interval) {\r\n case 'sec': case 'second':\r\n this.interval = 1000; break;\r\n case 'min': case 'minute':\r\n this.interval = 1000 * 60; break;\r\n case 'hr': case 'hour':\r\n this.interval = 1000 * 60 * 60; break;\r\n case 'day':\r\n this.interval = 1000 * 60 * 60 * 24; break;\r\n default:\r\n throw new Error('Invaid interval ' + interval);\r\n }\r\n } else {\r\n this.interval = interval;\r\n }\r\n\r\n this.parentBucket = parentBucket;\r\n this.content = 0;\r\n this.lastDrip = +new Date();\r\n};\r\n\r\nTokenBucket.prototype = {\r\n bucketSize: 1,\r\n tokensPerInterval: 1,\r\n interval: 1000,\r\n parentBucket: null,\r\n content: 0,\r\n lastDrip: 0,\r\n\r\n /**\r\n * Remove the requested number of tokens and fire the given callback. If the\r\n * bucket (and any parent buckets) contains enough tokens this will happen\r\n * immediately. Otherwise, the removal and callback will happen when enough\r\n * tokens become available.\r\n * @param {Number} count The number of tokens to remove.\r\n * @param {Function} callback(err, remainingTokens)\r\n * @returns {Boolean} True if the callback was fired immediately, otherwise\r\n * false.\r\n */\r\n removeTokens: function(count, callback) {\r\n var self = this;\r\n\r\n // Is this an infinite size bucket?\r\n if (!this.bucketSize) {\r\n process.nextTick(callback.bind(null, null, count, Number.POSITIVE_INFINITY));\r\n return true;\r\n }\r\n\r\n // Make sure the bucket can hold the requested number of tokens\r\n if (count > this.bucketSize) {\r\n process.nextTick(callback.bind(null, 'Requested tokens ' + count + ' exceeds bucket size ' +\r\n this.bucketSize, null));\r\n return false;\r\n }\r\n\r\n // Drip new tokens into this bucket\r\n this.drip();\r\n\r\n // If we don't have enough tokens in this bucket, come back later\r\n if (count > this.content)\r\n return comeBackLater();\r\n\r\n if (this.parentBucket) {\r\n // Remove the requested from the parent bucket first\r\n return this.parentBucket.removeTokens(count, function(err, remainingTokens) {\r\n if (err) return callback(err, null);\r\n\r\n // Check that we still have enough tokens in this bucket\r\n if (count > self.content)\r\n return comeBackLater();\r\n\r\n // Tokens were removed from the parent bucket, now remove them from\r\n // this bucket and fire the callback. Note that we look at the current\r\n // bucket and parent bucket's remaining tokens and return the smaller\r\n // of the two values\r\n self.content -= count;\r\n callback(null, Math.min(remainingTokens, self.content));\r\n });\r\n } else {\r\n // Remove the requested tokens from this bucket and fire the callback\r\n this.content -= count;\r\n process.nextTick(callback.bind(null, null, this.content));\r\n return true;\r\n }\r\n\r\n function comeBackLater() {\r\n // How long do we need to wait to make up the difference in tokens?\r\n var waitInterval = Math.ceil(\r\n (count - self.content) * (self.interval / self.tokensPerInterval));\r\n setTimeout(function() { self.removeTokens(count, callback); }, waitInterval);\r\n return false;\r\n }\r\n },\r\n\r\n /**\r\n * Attempt to remove the requested number of tokens and return immediately.\r\n * If the bucket (and any parent buckets) contains enough tokens this will\r\n * return true, otherwise false is returned.\r\n * @param {Number} count The number of tokens to remove.\r\n * @param {Boolean} True if the tokens were successfully removed, otherwise\r\n * false.\r\n */\r\n tryRemoveTokens: function(count) {\r\n // Is this an infinite size bucket?\r\n if (!this.bucketSize)\r\n return true;\r\n\r\n // Make sure the bucket can hold the requested number of tokens\r\n if (count > this.bucketSize)\r\n return false;\r\n\r\n // Drip new tokens into this bucket\r\n this.drip();\r\n\r\n // If we don't have enough tokens in this bucket, return false\r\n if (count > this.content)\r\n return false;\r\n\r\n // Try to remove the requested tokens from the parent bucket\r\n if (this.parentBucket && !this.parentBucket.tryRemoveTokens(count))\r\n return false;\r\n\r\n // Remove the requested tokens from this bucket and return\r\n this.content -= count;\r\n return true;\r\n },\r\n\r\n /**\r\n * Add any new tokens to the bucket since the last drip.\r\n * @returns {Boolean} True if new tokens were added, otherwise false.\r\n */\r\n drip: function() {\r\n if (!this.tokensPerInterval) {\r\n this.content = this.bucketSize;\r\n return;\r\n }\r\n\r\n var now = +new Date();\r\n var deltaMS = Math.max(now - this.lastDrip, 0);\r\n this.lastDrip = now;\r\n\r\n var dripAmount = deltaMS * (this.tokensPerInterval / this.interval);\r\n this.content = Math.min(this.content + dripAmount, this.bucketSize);\r\n }\r\n};\r\n\r\nmodule.exports = TokenBucket;\r\n","var getMilliseconds = function() {\r\n if (typeof process !== 'undefined' && process.hrtime) {\r\n var hrtime = process.hrtime();\r\n var seconds = hrtime[0];\r\n var nanoseconds = hrtime[1];\r\n\r\n return seconds * 1e3 + Math.floor(nanoseconds / 1e6);\r\n }\r\n\r\n return new Date().getTime();\r\n}\r\n\r\nmodule.exports = getMilliseconds;\r\n","var TokenBucket = require('./tokenBucket');\r\nvar getMilliseconds = require('./clock');\r\n\r\n/**\r\n * A generic rate limiter. Underneath the hood, this uses a token bucket plus\r\n * an additional check to limit how many tokens we can remove each interval.\r\n * @author John Hurliman <jhurliman@jhurliman.org>\r\n *\r\n * @param {Number} tokensPerInterval Maximum number of tokens that can be\r\n * removed at any given moment and over the course of one interval.\r\n * @param {String|Number} interval The interval length in milliseconds, or as\r\n * one of the following strings: 'second', 'minute', 'hour', day'.\r\n * @param {Boolean} fireImmediately Optional. Whether or not the callback\r\n * will fire immediately when rate limiting is in effect (default is false).\r\n */\r\nvar RateLimiter = function(tokensPerInterval, interval, fireImmediately) {\r\n this.tokenBucket = new TokenBucket(tokensPerInterval, tokensPerInterval,\r\n interval, null);\r\n\r\n // Fill the token bucket to start\r\n this.tokenBucket.content = tokensPerInterval;\r\n\r\n this.curIntervalStart = getMilliseconds();\r\n this.tokensThisInterval = 0;\r\n this.fireImmediately = fireImmediately;\r\n};\r\n\r\nRateLimiter.prototype = {\r\n tokenBucket: null,\r\n curIntervalStart: 0,\r\n tokensThisInterval: 0,\r\n fireImmediately: false,\r\n\r\n /**\r\n * Remove the requested number of tokens and fire the given callback. If the\r\n * rate limiter contains enough tokens and we haven't spent too many tokens\r\n * in this interval already, this will happen immediately. Otherwise, the\r\n * removal and callback will happen when enough tokens become available.\r\n * @param {Number} count The number of tokens to remove.\r\n * @param {Function} callback(err, remainingTokens)\r\n * @returns {Boolean} True if the callback was fired immediately, otherwise\r\n * false.\r\n */\r\n removeTokens: function(count, callback) {\r\n // Make sure the request isn't for more than we can handle\r\n if (count > this.tokenBucket.bucketSize) {\r\n process.nextTick(callback.bind(null, 'Requested tokens ' + count +\r\n ' exceeds maximum tokens per interval ' + this.tokenBucket.bucketSize,\r\n null));\r\n return false;\r\n }\r\n\r\n var self = this;\r\n var now = getMilliseconds();\r\n\r\n // Advance the current interval and reset the current interval token count\r\n // if needed\r\n if (now < this.curIntervalStart\r\n || now - this.curIntervalStart >= this.tokenBucket.interval) {\r\n this.curIntervalStart = now;\r\n this.tokensThisInterval = 0;\r\n }\r\n\r\n // If we don't have enough tokens left in this interval, wait until the\r\n // next interval\r\n if (count > this.tokenBucket.tokensPerInterval - this.tokensThisInterval) {\r\n if (this.fireImmediately) {\r\n process.nextTick(callback.bind(null, null, -1));\r\n } else {\r\n var waitInterval = Math.ceil(\r\n this.curIntervalStart + this.tokenBucket.interval - now);\r\n\r\n setTimeout(function() {\r\n self.tokenBucket.removeTokens(count, afterTokensRemoved);\r\n }, waitInterval);\r\n }\r\n return false;\r\n }\r\n\r\n // Remove the requested number of tokens from the token bucket\r\n return this.tokenBucket.removeTokens(count, afterTokensRemoved);\r\n\r\n function afterTokensRemoved(err, tokensRemaining) {\r\n if (err) return callback(err, null);\r\n\r\n self.tokensThisInterval += count;\r\n callback(null, tokensRemaining);\r\n }\r\n },\r\n\r\n /**\r\n * Attempt to remove the requested number of tokens and return immediately.\r\n * If the bucket (and any parent buckets) contains enough tokens and we\r\n * haven't spent too many tokens in this interval already, this will return\r\n * true. Otherwise, false is returned.\r\n * @param {Number} count The number of tokens to remove.\r\n * @param {Boolean} True if the tokens were successfully removed, otherwise\r\n * false.\r\n */\r\n tryRemoveTokens: function(count) {\r\n // Make sure the request isn't for more than we can handle\r\n if (count > this.tokenBucket.bucketSize)\r\n return false;\r\n\r\n var now = getMilliseconds();\r\n\r\n // Advance the current interval and reset the current interval token count\r\n // if needed\r\n if (now < this.curIntervalStart\r\n || now - this.curIntervalStart >= this.tokenBucket.interval) {\r\n this.curIntervalStart = now;\r\n this.tokensThisInterval = 0;\r\n }\r\n\r\n // If we don't have enough tokens left in this interval, return false\r\n if (count > this.tokenBucket.tokensPerInterval - this.tokensThisInterval)\r\n return false;\r\n\r\n // Try to remove the requested number of tokens from the token bucket\r\n var removed = this.tokenBucket.tryRemoveTokens(count);\r\n if (removed) {\r\n this.tokensThisInterval += count;\r\n }\r\n return removed;\r\n },\r\n\r\n /**\r\n * Returns the number of tokens remaining in the TokenBucket.\r\n * @returns {Number} The number of tokens remaining.\r\n */\r\n getTokensRemaining: function () {\r\n this.tokenBucket.drip();\r\n return this.tokenBucket.content;\r\n }\r\n};\r\n\r\nmodule.exports = RateLimiter;\r\n","\r\nexports.RateLimiter = require('./lib/rateLimiter');\r\nexports.TokenBucket = require('./lib/tokenBucket');\r\n","function JwksRateLimitError(message) {\n Error.call(this, message);\n Error.captureStackTrace(this, this.constructor);\n this.name = 'JwksRateLimitError';\n this.message = message;\n}\n\nJwksRateLimitError.prototype = Object.create(Error.prototype);\nJwksRateLimitError.prototype.constructor = JwksRateLimitError;\nmodule.exports = JwksRateLimitError;\n","const logger = require('debug')('jwks');\nconst { RateLimiter } = require('limiter');\n\nconst JwksRateLimitError = require('../errors/JwksRateLimitError');\n\nfunction rateLimitWrapper(client, { jwksRequestsPerMinute = 10 }) {\n const getSigningKey = client.getSigningKey.bind(client);\n\n const limiter = new RateLimiter(jwksRequestsPerMinute, 'minute', true);\n logger(`Configured rate limiting to JWKS endpoint at ${jwksRequestsPerMinute}/minute`);\n\n return async (kid) => await new Promise((resolve, reject) => {\n limiter.removeTokens(1, async (err, remaining) => {\n if (err) {\n reject(err);\n }\n\n logger('Requests to the JWKS endpoint available for the next minute:', remaining);\n if (remaining < 0) {\n logger('Too many requests to the JWKS endpoint');\n reject(new JwksRateLimitError('Too many requests to the JWKS endpoint'));\n } else {\n try {\n const key = await getSigningKey(kid);\n resolve(key);\n } catch (error) {\n reject(error);\n }\n }\n });\n });\n}\n\nmodule.exports.default = rateLimitWrapper;\n","const retrieveSigningKeys = require('../utils').retrieveSigningKeys;\n\n/**\n * Uses getKeysInterceptor to allow users to retrieve keys from a file,\n * external cache, or provided object before falling back to the jwksUri endpoint\n */\nfunction getKeysInterceptor(client, { getKeysInterceptor }) {\n const getSigningKey = client.getSigningKey.bind(client);\n\n return async (kid) => {\n const keys = await getKeysInterceptor();\n\n let signingKeys;\n if (keys && keys.length) {\n signingKeys = await retrieveSigningKeys(keys);\n }\n\n if (signingKeys && signingKeys.length) {\n const key = signingKeys.find(k => !kid || k.kid === kid);\n\n if (key) {\n return key;\n }\n }\n\n return getSigningKey(kid);\n };\n}\n\nmodule.exports.default = getKeysInterceptor;\n","const { callbackify } = require('util');\n\nconst callbackSupport = (client) => {\n const getSigningKey = client.getSigningKey.bind(client);\n\n return (kid, cb) => {\n if (cb) {\n const callbackFunc = callbackify(getSigningKey);\n return callbackFunc(kid, cb);\n }\n\n return getSigningKey(kid);\n };\n};\n\nmodule.exports.default = callbackSupport;\n","module.exports = {\n request: require('./request').default,\n cacheSigningKey: require('./cache').default,\n rateLimitSigningKey: require('./rateLimit').default,\n getKeysInterceptor: require('./interceptor').default,\n callbackSupport: require('./callbackSupport').default\n};\n","function SigningKeyNotFoundError(message) {\n Error.call(this, message);\n Error.captureStackTrace(this, this.constructor);\n this.name = 'SigningKeyNotFoundError';\n this.message = message;\n}\n\nSigningKeyNotFoundError.prototype = Object.create(Error.prototype);\nSigningKeyNotFoundError.prototype.constructor = SigningKeyNotFoundError;\nmodule.exports = SigningKeyNotFoundError;\n","const logger = require('debug')('jwks');\nconst { retrieveSigningKeys } = require('./utils') ;\nconst { request, cacheSigningKey, rateLimitSigningKey, getKeysInterceptor, callbackSupport } = require('./wrappers');\nconst JwksError = require('./errors/JwksError');\nconst SigningKeyNotFoundError = require('./errors/SigningKeyNotFoundError');\n\nclass JwksClient {\n constructor(options) {\n this.options = {\n rateLimit: false,\n cache: true,\n timeout: 30000,\n ...options\n };\n\n // Initialize wrappers.\n if (this.options.getKeysInterceptor) {\n this.getSigningKey = getKeysInterceptor(this, options);\n }\n\n if (this.options.rateLimit) {\n this.getSigningKey = rateLimitSigningKey(this, options);\n }\n if (this.options.cache) {\n this.getSigningKey = cacheSigningKey(this, options);\n }\n\n this.getSigningKey = callbackSupport(this, options);\n }\n\n async getKeys() {\n logger(`Fetching keys from '${this.options.jwksUri}'`);\n\n try {\n const res = await request({\n uri: this.options.jwksUri,\n headers: this.options.requestHeaders,\n agent: this.options.requestAgent,\n timeout: this.options.timeout,\n fetcher: this.options.fetcher\n });\n\n logger('Keys:', res.keys);\n return res.keys;\n } catch (err) {\n const { errorMsg } = err;\n logger('Failure:', errorMsg || err);\n throw (errorMsg ? new JwksError(errorMsg) : err);\n }\n }\n\n async getSigningKeys() {\n const keys = await this.getKeys();\n\n if (!keys || !keys.length) {\n throw new JwksError('The JWKS endpoint did not contain any keys');\n }\n\n const signingKeys = await retrieveSigningKeys(keys);\n\n if (!signingKeys.length) {\n throw new JwksError('The JWKS endpoint did not contain any signing keys');\n }\n\n logger('Signing Keys:', signingKeys);\n return signingKeys;\n }\n\n async getSigningKey (kid) {\n logger(`Fetching signing key for '${kid}'`);\n const keys = await this.getSigningKeys();\n\n const kidDefined = kid !== undefined && kid !== null;\n if (!kidDefined && keys.length > 1) {\n logger('No KID specified and JWKS endpoint returned more than 1 key');\n throw new SigningKeyNotFoundError('No KID specified and JWKS endpoint returned more than 1 key');\n }\n\n const key = keys.find(k => !kidDefined || k.kid === kid);\n if (key) {\n return key;\n } else {\n logger(`Unable to find a signing key that matches '${kid}'`);\n throw new SigningKeyNotFoundError(`Unable to find a signing key that matches '${kid}'`);\n }\n }\n}\n\nmodule.exports = {\n JwksClient\n};\n","module.exports = {\n ArgumentError: require('./ArgumentError'),\n JwksError: require('./JwksError'),\n JwksRateLimitError: require('./JwksRateLimitError'),\n SigningKeyNotFoundError: require('./SigningKeyNotFoundError')\n};\n","const allowedSignatureAlg = [\n 'RS256',\n 'RS384',\n 'RS512',\n 'PS256',\n 'PS384',\n 'PS512',\n 'ES256',\n 'ES256K',\n 'ES384',\n 'ES512',\n 'EdDSA'\n];\n\nmodule.exports = allowedSignatureAlg;\n","const { ArgumentError } = require('../errors');\nconst { JwksClient } = require('../JwksClient');\nconst supportedAlg = require('./config');\n\nconst handleSigningKeyError = (err, cb) => {\n // If we didn't find a match, can't provide a key.\n if (err && err.name === 'SigningKeyNotFoundError') {\n return cb(err, null, null);\n }\n\n // If an error occured like rate limiting or HTTP issue, we'll bubble up the error.\n if (err) {\n return cb(err, null, null);\n }\n};\n\n/**\n * Call hapiJwt2Key as a Promise\n * @param {object} options \n * @returns {Promise}\n */\nmodule.exports.hapiJwt2KeyAsync = (options) => {\n const secretProvider = module.exports.hapiJwt2Key(options);\n return function(decoded) {\n return new Promise((resolve, reject) => {\n const cb = (err, key) => {\n (!key || err) ? reject(err) : resolve({ key });\n };\n secretProvider(decoded, cb);\n });\n };\n}; \n\nmodule.exports.hapiJwt2Key = function (options) {\n if (options === null || options === undefined) {\n throw new ArgumentError('An options object must be provided when initializing hapiJwt2Key');\n }\n\n const client = new JwksClient(options);\n const onError = options.handleSigningKeyError || handleSigningKeyError;\n\n return function secretProvider(decoded, cb) {\n // We cannot find a signing certificate if there is no header (no kid).\n if (!decoded || !decoded.header) {\n return cb(new Error('Cannot find a signing certificate if there is no header'), null, null);\n }\n\n if (!supportedAlg.includes(decoded.header.alg)) {\n return cb(new Error('Unsupported algorithm ' + decoded.header.alg + ' supplied.'), null, null);\n }\n\n client.getSigningKey(decoded.header.kid)\n .then(key => {\n return cb(null, key.publicKey || key.rsaPublicKey, key);\n }).catch(err => {\n return onError(err, (newError) => cb(newError, null, null));\n });\n };\n};\n","const { ArgumentError } = require('../errors');\nconst { JwksClient } = require('../JwksClient');\nconst supportedAlg = require('./config');\n\nconst handleSigningKeyError = (err, cb) => {\n // If we didn't find a match, can't provide a key.\n if (err && err.name === 'SigningKeyNotFoundError') {\n return cb(null);\n }\n\n // If an error occured like rate limiting or HTTP issue, we'll bubble up the error.\n if (err) {\n return cb(err);\n }\n};\n\nmodule.exports.expressJwtSecret = function (options) {\n if (options === null || options === undefined) {\n throw new ArgumentError('An options object must be provided when initializing expressJwtSecret');\n }\n\n const client = new JwksClient(options);\n const onError = options.handleSigningKeyError || handleSigningKeyError;\n\n const expressJwt7Provider = async (req, token) => {\n if (!token) { return; }\n const header = token.header;\n if (!header || !supportedAlg.includes(header.alg)) {\n return;\n }\n try {\n const key = await client.getSigningKey(header.kid);\n return key.publicKey || key.rsaPublicKey;\n } catch (err) {\n return new Promise((resolve, reject) => {\n onError(err, (newError) => {\n if (!newError) { return resolve(); }\n reject(newError);\n });\n });\n }\n };\n\n return function secretProvider(req, header, payload, cb) {\n //This function has 4 parameters to make it work with express-jwt@6\n //but it also supports express-jwt@7 which only has 2.\n if (arguments.length === 4) {\n expressJwt7Provider(req, { header })\n .then(key => {\n setImmediate(cb, null, key);\n }).catch(err => {\n setImmediate(cb, err);\n });\n\n return;\n }\n\n return expressJwt7Provider(req, arguments[1]);\n };\n};\n","const { ArgumentError } = require('../errors');\nconst { JwksClient } = require('../JwksClient');\nconst supportedAlg = require('./config');\n\nmodule.exports.koaJwtSecret = function (options = {}) {\n if (!options.jwksUri) {\n throw new ArgumentError('No JWKS provided. Please provide a jwksUri');\n }\n\n const client = new JwksClient(options);\n\n return function secretProvider({ alg, kid } = {}) {\n return new Promise((resolve, reject) => {\n if (!supportedAlg.includes(alg)) {\n return reject(new Error('Missing / invalid token algorithm'));\n }\n\n client.getSigningKey(kid)\n .then(key => {\n resolve(key.publicKey || key.rsaPublicKey);\n }).catch(err => {\n if (options.handleSigningKeyError) {\n return options.handleSigningKeyError(err).then(reject);\n }\n\n return reject(err);\n });\n });\n };\n};\n","const jose = require('jose');\nconst { ArgumentError } = require('../errors');\nconst { JwksClient } = require('../JwksClient');\nconst supportedAlg = require('./config');\n\nconst handleSigningKeyError = (err, cb) => {\n // If we didn't find a match, can't provide a key.\n if (err && err.name === 'SigningKeyNotFoundError') {\n return cb(null);\n }\n\n // If an error occured like rate limiting or HTTP issue, we'll bubble up the error.\n if (err) {\n return cb(err);\n }\n};\n\nmodule.exports.passportJwtSecret = function (options) {\n if (options === null || options === undefined) {\n throw new ArgumentError('An options object must be provided when initializing passportJwtSecret');\n }\n\n if (!options.jwksUri) {\n throw new ArgumentError('No JWKS provided. Please provide a jwksUri');\n }\n\n const client = new JwksClient(options);\n const onError = options.handleSigningKeyError || handleSigningKeyError;\n\n return function secretProvider(req, rawJwtToken, cb) {\n let decoded;\n try {\n decoded = {\n payload: jose.decodeJwt(rawJwtToken),\n header: jose.decodeProtectedHeader(rawJwtToken)\n };\n } catch (err) {\n decoded = null;\n }\n\n if (!decoded || !supportedAlg.includes(decoded.header.alg)) {\n return cb(null, null);\n }\n\n client.getSigningKey(decoded.header.kid)\n .then(key => {\n cb(null, key.publicKey || key.rsaPublicKey);\n }).catch(err => {\n onError(err, (newError) => cb(newError, null));\n });\n };\n};\n","const { JwksClient } = require('./JwksClient');\nconst errors = require('./errors');\nconst { hapiJwt2Key, hapiJwt2KeyAsync } = require('./integrations/hapi');\nconst { expressJwtSecret } = require('./integrations/express');\nconst { koaJwtSecret } = require('./integrations/koa');\nconst { passportJwtSecret } = require('./integrations/passport');\n\nmodule.exports = (options) => {\n return new JwksClient(options);\n};\nmodule.exports.JwksClient = JwksClient;\n\nmodule.exports.ArgumentError = errors.ArgumentError;\nmodule.exports.JwksError = errors.JwksError;\nmodule.exports.JwksRateLimitError = errors.JwksRateLimitError;\nmodule.exports.SigningKeyNotFoundError = errors.SigningKeyNotFoundError;\n\nmodule.exports.expressJwtSecret = expressJwtSecret;\nmodule.exports.hapiJwt2Key = hapiJwt2Key;\nmodule.exports.hapiJwt2KeyAsync = hapiJwt2KeyAsync;\nmodule.exports.koaJwtSecret = koaJwtSecret;\nmodule.exports.passportJwtSecret = passportJwtSecret;\n","import axios from \"axios\";\nimport { STSAxiosConfig } from \"@nsshunt/stsutils\";\nimport { Cookie, CookieJar } from \"tough-cookie\";\nimport jwt from \"jsonwebtoken\";\nimport { jwtDecode } from \"jwt-decode\";\nimport jwksClient from \"jwks-rsa\";\nimport { goptions } from \"@nsshunt/stsconfig\";\nimport chalk from \"chalk\";\nimport { Gauge } from \"@nsshunt/stsobservability\";\n//#region src/commonTypes.ts\nvar iss = `https://stscore.stsmda.org/oauth2/v2.0`;\nvar STSAuthClientErrorCode = Object.freeze({ STS_AC_MISSING_PERMISSION: {\n\tcode: \"STS_AFC0001\",\n\tdescription: \"STS_AC_0001: Missing Permission(s).\"\n} });\n//#endregion\n//#region node_modules/http-status-codes/build/es/status-codes.js\nvar StatusCodes;\n(function(StatusCodes) {\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1\n\t*\n\t* This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.\n\t*/\n\tStatusCodes[StatusCodes[\"CONTINUE\"] = 100] = \"CONTINUE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.2\n\t*\n\t* This code is sent in response to an Upgrade request header by the client, and indicates the protocol the server is switching too.\n\t*/\n\tStatusCodes[StatusCodes[\"SWITCHING_PROTOCOLS\"] = 101] = \"SWITCHING_PROTOCOLS\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.1\n\t*\n\t* This code indicates that the server has received and is processing the request, but no response is available yet.\n\t*/\n\tStatusCodes[StatusCodes[\"PROCESSING\"] = 102] = \"PROCESSING\";\n\t/**\n\t* Official Documentation @ https://www.rfc-editor.org/rfc/rfc8297#page-3\n\t*\n\t* This code indicates to the client that the server is likely to send a final response with the header fields included in the informational response.\n\t*/\n\tStatusCodes[StatusCodes[\"EARLY_HINTS\"] = 103] = \"EARLY_HINTS\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.1\n\t*\n\t* The request has succeeded. The meaning of a success varies depending on the HTTP method:\n\t* GET: The resource has been fetched and is transmitted in the message body.\n\t* HEAD: The entity headers are in the message body.\n\t* POST: The resource describing the result of the action is transmitted in the message body.\n\t* TRACE: The message body contains the request message as received by the server\n\t*/\n\tStatusCodes[StatusCodes[\"OK\"] = 200] = \"OK\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.2\n\t*\n\t* The request has succeeded and a new resource has been created as a result of it. This is typically the response sent after a PUT request.\n\t*/\n\tStatusCodes[StatusCodes[\"CREATED\"] = 201] = \"CREATED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.3\n\t*\n\t* The request has been received but not yet acted upon. It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.\n\t*/\n\tStatusCodes[StatusCodes[\"ACCEPTED\"] = 202] = \"ACCEPTED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.4\n\t*\n\t* This response code means returned meta-information set is not exact set as available from the origin server, but collected from a local or a third party copy. Except this condition, 200 OK response should be preferred instead of this response.\n\t*/\n\tStatusCodes[StatusCodes[\"NON_AUTHORITATIVE_INFORMATION\"] = 203] = \"NON_AUTHORITATIVE_INFORMATION\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.5\n\t*\n\t* There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones.\n\t*/\n\tStatusCodes[StatusCodes[\"NO_CONTENT\"] = 204] = \"NO_CONTENT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.6\n\t*\n\t* This response code is sent after accomplishing request to tell user agent reset document view which sent this request.\n\t*/\n\tStatusCodes[StatusCodes[\"RESET_CONTENT\"] = 205] = \"RESET_CONTENT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.1\n\t*\n\t* This response code is used because of range header sent by the client to separate download into multiple streams.\n\t*/\n\tStatusCodes[StatusCodes[\"PARTIAL_CONTENT\"] = 206] = \"PARTIAL_CONTENT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.2\n\t*\n\t* A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.\n\t*/\n\tStatusCodes[StatusCodes[\"MULTI_STATUS\"] = 207] = \"MULTI_STATUS\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.1\n\t*\n\t* The request has more than one possible responses. User-agent or user should choose one of them. There is no standardized way to choose one of the responses.\n\t*/\n\tStatusCodes[StatusCodes[\"MULTIPLE_CHOICES\"] = 300] = \"MULTIPLE_CHOICES\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.2\n\t*\n\t* This response code means that URI of requested resource has been changed. Probably, new URI would be given in the response.\n\t*/\n\tStatusCodes[StatusCodes[\"MOVED_PERMANENTLY\"] = 301] = \"MOVED_PERMANENTLY\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.3\n\t*\n\t* This response code means that URI of requested resource has been changed temporarily. New changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.\n\t*/\n\tStatusCodes[StatusCodes[\"MOVED_TEMPORARILY\"] = 302] = \"MOVED_TEMPORARILY\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.4\n\t*\n\t* Server sent this response to directing client to get requested resource to another URI with an GET request.\n\t*/\n\tStatusCodes[StatusCodes[\"SEE_OTHER\"] = 303] = \"SEE_OTHER\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.1\n\t*\n\t* This is used for caching purposes. It is telling to client that response has not been modified. So, client can continue to use same cached version of response.\n\t*/\n\tStatusCodes[StatusCodes[\"NOT_MODIFIED\"] = 304] = \"NOT_MODIFIED\";\n\t/**\n\t* @deprecated\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.6\n\t*\n\t* Was defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.\n\t*/\n\tStatusCodes[StatusCodes[\"USE_PROXY\"] = 305] = \"USE_PROXY\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.7\n\t*\n\t* Server sent this response to directing client to get requested resource to another URI with same method that used prior request. This has the same semantic than the 302 Found HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n\t*/\n\tStatusCodes[StatusCodes[\"TEMPORARY_REDIRECT\"] = 307] = \"TEMPORARY_REDIRECT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7538#section-3\n\t*\n\t* This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n\t*/\n\tStatusCodes[StatusCodes[\"PERMANENT_REDIRECT\"] = 308] = \"PERMANENT_REDIRECT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.1\n\t*\n\t* This response means that server could not understand the request due to invalid syntax.\n\t*/\n\tStatusCodes[StatusCodes[\"BAD_REQUEST\"] = 400] = \"BAD_REQUEST\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.1\n\t*\n\t* Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response.\n\t*/\n\tStatusCodes[StatusCodes[\"UNAUTHORIZED\"] = 401] = \"UNAUTHORIZED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.2\n\t*\n\t* This response code is reserved for future use. Initial aim for creating this code was using it for digital payment systems however this is not used currently.\n\t*/\n\tStatusCodes[StatusCodes[\"PAYMENT_REQUIRED\"] = 402] = \"PAYMENT_REQUIRED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.3\n\t*\n\t* The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting to give proper response. Unlike 401, the client's identity is known to the server.\n\t*/\n\tStatusCodes[StatusCodes[\"FORBIDDEN\"] = 403] = \"FORBIDDEN\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.4\n\t*\n\t* The server can not find requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client. This response code is probably the most famous one due to its frequent occurence on the web.\n\t*/\n\tStatusCodes[StatusCodes[\"NOT_FOUND\"] = 404] = \"NOT_FOUND\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.5\n\t*\n\t* The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.\n\t*/\n\tStatusCodes[StatusCodes[\"METHOD_NOT_ALLOWED\"] = 405] = \"METHOD_NOT_ALLOWED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.6\n\t*\n\t* This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content following the criteria given by the user agent.\n\t*/\n\tStatusCodes[StatusCodes[\"NOT_ACCEPTABLE\"] = 406] = \"NOT_ACCEPTABLE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.2\n\t*\n\t* This is similar to 401 but authentication is needed to be done by a proxy.\n\t*/\n\tStatusCodes[StatusCodes[\"PROXY_AUTHENTICATION_REQUIRED\"] = 407] = \"PROXY_AUTHENTICATION_REQUIRED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.7\n\t*\n\t* This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also note that some servers merely shut down the connection without sending this message.\n\t*/\n\tStatusCodes[StatusCodes[\"REQUEST_TIMEOUT\"] = 408] = \"REQUEST_TIMEOUT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.8\n\t*\n\t* This response is sent when a request conflicts with the current state of the server.\n\t*/\n\tStatusCodes[StatusCodes[\"CONFLICT\"] = 409] = \"CONFLICT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.9\n\t*\n\t* This response would be sent when the requested content has been permenantly deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for \"limited-time, promotional services\". APIs should not feel compelled to indicate resources that have been deleted with this status code.\n\t*/\n\tStatusCodes[StatusCodes[\"GONE\"] = 410] = \"GONE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.10\n\t*\n\t* The server rejected the request because the Content-Length header field is not defined and the server requires it.\n\t*/\n\tStatusCodes[StatusCodes[\"LENGTH_REQUIRED\"] = 411] = \"LENGTH_REQUIRED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.2\n\t*\n\t* The client has indicated preconditions in its headers which the server does not meet.\n\t*/\n\tStatusCodes[StatusCodes[\"PRECONDITION_FAILED\"] = 412] = \"PRECONDITION_FAILED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.11\n\t*\n\t* Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field.\n\t*/\n\tStatusCodes[StatusCodes[\"REQUEST_TOO_LONG\"] = 413] = \"REQUEST_TOO_LONG\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.12\n\t*\n\t* The URI requested by the client is longer than the server is willing to interpret.\n\t*/\n\tStatusCodes[StatusCodes[\"REQUEST_URI_TOO_LONG\"] = 414] = \"REQUEST_URI_TOO_LONG\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.13\n\t*\n\t* The media format of the requested data is not supported by the server, so the server is rejecting the request.\n\t*/\n\tStatusCodes[StatusCodes[\"UNSUPPORTED_MEDIA_TYPE\"] = 415] = \"UNSUPPORTED_MEDIA_TYPE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.4\n\t*\n\t* The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data.\n\t*/\n\tStatusCodes[StatusCodes[\"REQUESTED_RANGE_NOT_SATISFIABLE\"] = 416] = \"REQUESTED_RANGE_NOT_SATISFIABLE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.14\n\t*\n\t* This response code means the expectation indicated by the Expect request header field can't be met by the server.\n\t*/\n\tStatusCodes[StatusCodes[\"EXPECTATION_FAILED\"] = 417] = \"EXPECTATION_FAILED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2324#section-2.3.2\n\t*\n\t* Any attempt to brew coffee with a teapot should result in the error code \"418 I'm a teapot\". The resulting entity body MAY be short and stout.\n\t*/\n\tStatusCodes[StatusCodes[\"IM_A_TEAPOT\"] = 418] = \"IM_A_TEAPOT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n\t*\n\t* The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request which received this status code was the result of a user action, the request MUST NOT be repeated until it is requested by a separate user action.\n\t*/\n\tStatusCodes[StatusCodes[\"INSUFFICIENT_SPACE_ON_RESOURCE\"] = 419] = \"INSUFFICIENT_SPACE_ON_RESOURCE\";\n\t/**\n\t* @deprecated\n\t* Official Documentation @ https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt\n\t*\n\t* A deprecated response used by the Spring Framework when a method has failed.\n\t*/\n\tStatusCodes[StatusCodes[\"METHOD_FAILURE\"] = 420] = \"METHOD_FAILURE\";\n\t/**\n\t* Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2\n\t*\n\t* Defined in the specification of HTTP/2 to indicate that a server is not able to produce a response for the combination of scheme and authority that are included in the request URI.\n\t*/\n\tStatusCodes[StatusCodes[\"MISDIRECTED_REQUEST\"] = 421] = \"MISDIRECTED_REQUEST\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.3\n\t*\n\t* The request was well-formed but was unable to be followed due to semantic errors.\n\t*/\n\tStatusCodes[StatusCodes[\"UNPROCESSABLE_ENTITY\"] = 422] = \"UNPROCESSABLE_ENTITY\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.4\n\t*\n\t* The resource that is being accessed is locked.\n\t*/\n\tStatusCodes[StatusCodes[\"LOCKED\"] = 423] = \"LOCKED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.5\n\t*\n\t* The request failed due to failure of a previous request.\n\t*/\n\tStatusCodes[StatusCodes[\"FAILED_DEPENDENCY\"] = 424] = \"FAILED_DEPENDENCY\";\n\t/**\n\t* Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.15\n\t*\n\t* The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.\n\t*/\n\tStatusCodes[StatusCodes[\"UPGRADE_REQUIRED\"] = 426] = \"UPGRADE_REQUIRED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-3\n\t*\n\t* The origin server requires the request to be conditional. Intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.\n\t*/\n\tStatusCodes[StatusCodes[\"PRECONDITION_REQUIRED\"] = 428] = \"PRECONDITION_REQUIRED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-4\n\t*\n\t* The user has sent too many requests in a given amount of time (\"rate limiting\").\n\t*/\n\tStatusCodes[StatusCodes[\"TOO_MANY_REQUESTS\"] = 429] = \"TOO_MANY_REQUESTS\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-5\n\t*\n\t* The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.\n\t*/\n\tStatusCodes[StatusCodes[\"REQUEST_HEADER_FIELDS_TOO_LARGE\"] = 431] = \"REQUEST_HEADER_FIELDS_TOO_LARGE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7725\n\t*\n\t* The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government.\n\t*/\n\tStatusCodes[StatusCodes[\"UNAVAILABLE_FOR_LEGAL_REASONS\"] = 451] = \"UNAVAILABLE_FOR_LEGAL_REASONS\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.1\n\t*\n\t* The server encountered an unexpected condition that prevented it from fulfilling the request.\n\t*/\n\tStatusCodes[StatusCodes[\"INTERNAL_SERVER_ERROR\"] = 500] = \"INTERNAL_SERVER_ERROR\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.2\n\t*\n\t* The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.\n\t*/\n\tStatusCodes[StatusCodes[\"NOT_IMPLEMENTED\"] = 501] = \"NOT_IMPLEMENTED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.3\n\t*\n\t* This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.\n\t*/\n\tStatusCodes[StatusCodes[\"BAD_GATEWAY\"] = 502] = \"BAD_GATEWAY\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.4\n\t*\n\t* The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This responses should be used for temporary conditions and the Retry-After: HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached.\n\t*/\n\tStatusCodes[StatusCodes[\"SERVICE_UNAVAILABLE\"] = 503] = \"SERVICE_UNAVAILABLE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.5\n\t*\n\t* This error response is given when the server is acting as a gateway and cannot get a response in time.\n\t*/\n\tStatusCodes[StatusCodes[\"GATEWAY_TIMEOUT\"] = 504] = \"GATEWAY_TIMEOUT\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.6\n\t*\n\t* The HTTP version used in the request is not supported by the server.\n\t*/\n\tStatusCodes[StatusCodes[\"HTTP_VERSION_NOT_SUPPORTED\"] = 505] = \"HTTP_VERSION_NOT_SUPPORTED\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n\t*\n\t* The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.\n\t*/\n\tStatusCodes[StatusCodes[\"INSUFFICIENT_STORAGE\"] = 507] = \"INSUFFICIENT_STORAGE\";\n\t/**\n\t* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-6\n\t*\n\t* The 511 status code indicates that the client needs to authenticate to gain network access.\n\t*/\n\tStatusCodes[StatusCodes[\"NETWORK_AUTHENTICATION_REQUIRED\"] = 511] = \"NETWORK_AUTHENTICATION_REQUIRED\";\n})(StatusCodes || (StatusCodes = {}));\n//#endregion\n//#region src/resourceManager.ts\nvar ResourceManager = class {\n\t#options;\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t\tthis.LogDebugMessage(`STSOAuth2Worker:constructor:#options: [${JSON.stringify(this.#options)}]`);\n\t}\n\tget agentManager() {\n\t\tif (this.#options.agentManager) return this.#options.agentManager;\n\t\telse return null;\n\t}\n\tget options() {\n\t\treturn this.#options;\n\t}\n\tLogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\tLogInfoMessage(message) {\n\t\tthis.#options.logger.info(message);\n\t}\n\tLogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tGetErrorMessage = (status, error, detail) => {\n\t\treturn {\n\t\t\tstatus,\n\t\t\terror,\n\t\t\tdetail\n\t\t};\n\t};\n\tGetHeaders = (access_token) => {\n\t\tconst headers = { \"Content-Type\": \"application/json\" };\n\t\tif (access_token) headers[\"Authorization\"] = `Bearer ${access_token}`;\n\t\treturn headers;\n\t};\n\tGetResult = async (accessToken, url, method, requestData, errorCb) => {\n\t\tconst axiosConfig = new STSAxiosConfig(url, method, this.GetHeaders(accessToken), this.options.timeout);\n\t\tif (this.#options.agentManager) axiosConfig.withAgentManager(this.#options.agentManager);\n\t\tif (requestData !== null) axiosConfig.withData(requestData);\n\t\tconst data = await axios(axiosConfig.config);\n\t\tif (data.data.status === StatusCodes.OK || data.data.status === StatusCodes.CREATED) {\n\t\t\tconst sessionDataRaw = data.data.detail;\n\t\t\tif (sessionDataRaw) try {\n\t\t\t\treturn JSON.parse(sessionDataRaw);\n\t\t\t} catch (error) {\n\t\t\t\terrorCb(this.GetErrorMessage(StatusCodes.INTERNAL_SERVER_ERROR, \"SessionManager:GetResult(): Could not parse session data.\", error));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\telse {\n\t\t\t\terrorCb(this.GetErrorMessage(StatusCodes.INTERNAL_SERVER_ERROR, \"SessionManager:GetResult(): No session data returned.\", null));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else {\n\t\t\tconst { status, error, detail } = data.data;\n\t\t\terrorCb(this.GetErrorMessage(status, `SessionManager:GetResult(): Status not OK. Error: [${error}]`, detail));\n\t\t\treturn null;\n\t\t}\n\t};\n};\n//#endregion\n//#region src/sessionManager.ts\nvar SessionManager = class extends ResourceManager {\n\tconstructor(options) {\n\t\tsuper(options);\n\t}\n\tGetSession = async (access_token, sessionId, errorCb) => {\n\t\ttry {\n\t\t\treturn this.GetResult(access_token, `${this.options.asendpoint}/session/${encodeURIComponent(sessionId)}`, \"get\", null, errorCb);\n\t\t} catch (error) {\n\t\t\terrorCb(this.GetErrorMessage(StatusCodes.INTERNAL_SERVER_ERROR, `SessionManager:GetSession(): Could not process session. Error: [${error}]`, error));\n\t\t\treturn null;\n\t\t}\n\t};\n\tPatchSession = async (access_token, session, errorCb) => {\n\t\ttry {\n\t\t\tif (!session.sessionId) {\n\t\t\t\terrorCb(this.GetErrorMessage(StatusCodes.INTERNAL_SERVER_ERROR, \"SessionManager:GetSession(): sessionId not provided.\", null));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn this.GetResult(access_token, `${this.options.asendpoint}/session/${encodeURIComponent(session.sessionId)}`, \"patch\", session, errorCb);\n\t\t} catch (error) {\n\t\t\terrorCb(this.GetErrorMessage(StatusCodes.INTERNAL_SERVER_ERROR, `SessionManager:GetSession(): Could not process session. Error: [${error}]`, error));\n\t\t\treturn null;\n\t\t}\n\t};\n};\n//#endregion\n//#region src/errorhandling.ts\nfunction GetErrorPayload(errorCode, details = null) {\n\treturn {\n\t\terror: errorCode.code,\n\t\terror_description: errorCode.description,\n\t\ttimestamp: Date.now(),\n\t\tdetails\n\t};\n}\n//#endregion\n//#region src/permissionChecker.ts\nvar PermissionChecker = class {\n\tCheckPermissionUsingAnd = (permissions, scope) => {\n\t\tconst scopes = scope.split(\" \");\n\t\tconst requiredPermissions = [];\n\t\tfor (let i = 0; i < permissions.length; i++) {\n\t\t\tconst permission = permissions[i];\n\t\t\tif (!scopes.includes(permission)) requiredPermissions.push(permission);\n\t\t}\n\t\tif (requiredPermissions.length > 0) return requiredPermissions;\n\t\treturn [];\n\t};\n\tCheckPermissionUsingOr = (permissions, scope) => {\n\t\tconst scopes = scope.split(\" \");\n\t\tconst requiredPermissions = [];\n\t\tconst foundPermissions = [];\n\t\tfor (let i = 0; i < permissions.length; i++) {\n\t\t\tconst permission = permissions[i];\n\t\t\tif (!scopes.includes(permission)) requiredPermissions.push(permission);\n\t\t\telse foundPermissions.push(permission);\n\t\t}\n\t\tif (foundPermissions.length > 0) return [];\n\t\tif (requiredPermissions.length > 0) return requiredPermissions;\n\t\treturn [];\n\t};\n};\n//#endregion\n//#region src/authutilsnode.ts\nvar AuthUtilsNode = class {\n\t#options;\n\t#cache = {};\n\t#cacheTimeout = 1e3;\n\t#cookiejar;\n\t#originRegex = /^(api:\\/\\/\\w+)/;\n\t#permissionChecker;\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t\tthis.#cookiejar = new CookieJar();\n\t\tthis.#permissionChecker = new PermissionChecker();\n\t}\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\tget agentManager() {\n\t\treturn this.#options.agentManager;\n\t}\n\tResetAgent = () => {\n\t\tif (this.#options.agentManager) this.#options.agentManager.ResetAgent();\n\t};\n\tVerifyRequestMiddlewareFactoryUsingAnd = (options) => {\n\t\treturn async (req, res, next) => {\n\t\t\tif (options.permissions) {\n\t\t\t\tconst checkedVal = this.#permissionChecker.CheckPermissionUsingAnd(options.permissions, req.auth.scope);\n\t\t\t\tif (checkedVal.length === 0) {\n\t\t\t\t\tnext();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst errorPayload = GetErrorPayload(STSAuthClientErrorCode.STS_AC_MISSING_PERMISSION, checkedVal);\n\t\t\t\tres.status(StatusCodes.UNAUTHORIZED).send({\n\t\t\t\t\tstatus: StatusCodes.UNAUTHORIZED,\n\t\t\t\t\terror: errorPayload\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tnext();\n\t\t};\n\t};\n\tVerifyRequestMiddlewareFactoryUsingOr = (options) => {\n\t\treturn async (req, res, next) => {\n\t\t\tif (options.permissions) {\n\t\t\t\tconst checkedVal = this.#permissionChecker.CheckPermissionUsingOr(options.permissions, req.auth.scope);\n\t\t\t\tif (checkedVal.length === 0) {\n\t\t\t\t\tnext();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst errorPayload = GetErrorPayload(STSAuthClientErrorCode.STS_AC_MISSING_PERMISSION, checkedVal);\n\t\t\t\tres.status(StatusCodes.UNAUTHORIZED).send({\n\t\t\t\t\tstatus: StatusCodes.UNAUTHORIZED,\n\t\t\t\t\terror: errorPayload\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tnext();\n\t\t};\n\t};\n\tasync verifyRequestMiddleware(req, res, next) {\n\t\tnext();\n\t}\n\tSetCookiesToJar = async (headers, endpoint) => {\n\t\tif (headers[\"set-cookie\"]) headers[\"set-cookie\"].map((headerCookie) => {\n\t\t\tconst cookie = Cookie.parse(headerCookie);\n\t\t\tthis.#cookiejar.setCookieSync(cookie, endpoint);\n\t\t});\n\t\telse {\n\t\t\tconst cookie = Cookie.parse(headers[\"set-cookie\"]);\n\t\t\tthis.#cookiejar.setCookieSync(cookie, endpoint);\n\t\t}\n\t\treturn this.#cookiejar.getCookies(endpoint);\n\t};\n\tGetCookiesFromJar = async (endpoint) => {\n\t\treturn this.#cookiejar.getCookies(endpoint);\n\t};\n\tValidateJWT = async (token, audience, endpoint) => {\n\t\tconst jwksClientUri = endpoint ? `${endpoint}${goptions.asoauthapiroot}${goptions.asjwksjsonpath}` : `${goptions.asendpoint}:${goptions.asport}${goptions.asoauthapiroot}${goptions.asjwksjsonpath}`;\n\t\tconst jwksClientOptions = {\n\t\t\tcache: true,\n\t\t\tcacheMaxEntries: 5,\n\t\t\tcacheMaxAge: 6e5,\n\t\t\trateLimit: true,\n\t\t\tjwksRequestsPerMinute: 10,\n\t\t\tjwksUri: jwksClientUri,\n\t\t\ttimeout: 3e4\n\t\t};\n\t\tif (this.#options.agentManager) jwksClientOptions.requestAgent = this.#options.agentManager.GetAgent(jwksClientUri);\n\t\tconst jwks = jwksClient(jwksClientOptions);\n\t\tconst kid = jwtDecode(token, { header: true }).kid;\n\t\tconst signingKey = (await jwks.getSigningKey(kid)).getPublicKey();\n\t\tconst verifyOptions = {\n\t\t\tissuer: iss,\n\t\t\taudience,\n\t\t\talgorithm: [\"RS256\"]\n\t\t};\n\t\treturn jwt.verify(token, signingKey, verifyOptions);\n\t};\n\tExtractOrigin = (uri) => {\n\t\tconst match = uri.match(this.#originRegex);\n\t\treturn match ? match[1] : null;\n\t};\n\tGetAPITokenFromAuthServerUsingScope = async (options, errorCb) => {\n\t\tconst { scope, clientId, authClientSecret, endPoint, instrumentController, outputErrorsToConsole } = options;\n\t\tlet stage = \"1\";\n\t\tconst invokeErrorCb = (error) => {\n\t\t\tthis.#LogDebugMessage(error);\n\t\t\tif (instrumentController) instrumentController.UpdateInstrument(Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE, { Inc: 1 });\n\t\t\terrorCb(error);\n\t\t};\n\t\ttry {\n\t\t\tstage = \"2\";\n\t\t\tconst scopes = scope.split(\" \");\n\t\t\tlet origin = null;\n\t\t\tlet error = null;\n\t\t\tstage = \"3\";\n\t\t\tfor (let i = 0; i < scopes.length; i++) {\n\t\t\t\tconst s = scopes[i];\n\t\t\t\tif (!origin) {\n\t\t\t\t\torigin = this.ExtractOrigin(s);\n\t\t\t\t\tif (!origin) {\n\t\t\t\t\t\terror = /* @__PURE__ */ new Error(`Scope: [${scope}] not in required format. Must use (space seperated) api://<client id>[/<resource>.<permission>].`);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconst nextOrigin = this.ExtractOrigin(s);\n\t\t\t\t\tif (!nextOrigin) {\n\t\t\t\t\t\terror = /* @__PURE__ */ new Error(`Scope: [${scope}] not in required format. Must use (space seperated) api://<client id>[/<resource>.<permission>].`);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else if (origin.localeCompare(nextOrigin) !== 0) {\n\t\t\t\t\t\terror = /* @__PURE__ */ new Error(`Scope: [${scope}] not all from the same client API. All scopes must come from the same client API.`);\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\tstage = \"4\";\n\t\t\tif (error) {\n\t\t\t\tinvokeErrorCb(error);\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t\tstage = \"5\";\n\t\t\tconst payload = {\n\t\t\t\tclient_id: clientId,\n\t\t\t\tclient_secret: authClientSecret,\n\t\t\t\tscope,\n\t\t\t\tgrant_type: \"client_credentials\"\n\t\t\t};\n\t\t\tstage = \"6\";\n\t\t\tconst url = endPoint ? `${endPoint}${goptions.asoauthapiroot}/token` : `${goptions.asendpoint}:${goptions.asport}${goptions.asoauthapiroot}/token`;\n\t\t\tstage = `6.5: url: [${url}] payload: [${JSON.stringify(payload)}]`;\n\t\t\tconst axiosConfig = new STSAxiosConfig(url, \"post\").withDefaultHeaders().withData(payload);\n\t\t\tif (this.#options.agentManager) axiosConfig.withAgentManager(this.#options.agentManager);\n\t\t\tconst retVal = await axios(axiosConfig.config);\n\t\t\tstage = \"7\";\n\t\t\tif (retVal.status) {\n\t\t\t\tif (retVal.status !== 200) this.#LogDebugMessage(chalk.magenta(`Error (AuthUtilsNode:GetAPITokenFromServer): Invalid response from server: [${retVal.status}]`));\n\t\t\t} else {\n\t\t\t\tinvokeErrorCb(new Error(chalk.red(`Error (AuthUtilsNode:GetAPITokenFromServer:No retVal.status)`)));\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t\tstage = \"8\";\n\t\t\tif (retVal.data) {\n\t\t\t\tstage = \"9\";\n\t\t\t\tif (retVal.data.access_token) {\n\t\t\t\t\tstage = \"10\";\n\t\t\t\t\tif (instrumentController) {\n\t\t\t\t\t\tstage = \"11\";\n\t\t\t\t\t\tinstrumentController.UpdateInstrument(Gauge.AUTHENTICATION_COUNT_GAUGE, { Inc: 1 });\n\t\t\t\t\t}\n\t\t\t\t\tstage = \"12\";\n\t\t\t\t\treturn retVal.data.access_token;\n\t\t\t\t} else {\n\t\t\t\t\tstage = \"13\";\n\t\t\t\t\tinvokeErrorCb(/* @__PURE__ */ new Error(`Error (AuthUtilsNode:GetAPITokenFromServer:No retVal.data.access_token)`));\n\t\t\t\t\treturn \"\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tstage = \"14\";\n\t\t\t\tinvokeErrorCb(/* @__PURE__ */ new Error(`Error (AuthUtilsNode:GetAPITokenFromServer:No retVal.data)`));\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tif (outputErrorsToConsole === true) console.error(error);\n\t\t\tlet details = \"None available.\";\n\t\t\tif (error.response && error.response.data) try {\n\t\t\t\tdetails = JSON.stringify(error.response.data);\n\t\t\t} catch (error) {\n\t\t\t\tdetails = `Could not JSON.stringify(error.response.data)`;\n\t\t\t}\n\t\t\tinvokeErrorCb(/* @__PURE__ */ new Error(`Error (AuthUtilsNode:GetAPITokenFromServer:catch): [${error}], Stage: [${stage}], Details: [${details}]`));\n\t\t\treturn \"\";\n\t\t}\n\t};\n};\n//#endregion\n//#region src/oauth2terms.ts\nvar OAuth2ParameterType = /* @__PURE__ */ function(OAuth2ParameterType) {\n\tOAuth2ParameterType[\"AUDIENCE\"] = \"AUDIENCE\";\n\tOAuth2ParameterType[\"CLIENT_ID\"] = \"client_id\";\n\tOAuth2ParameterType[\"CLIENT_SECRET\"] = \"client_secret\";\n\tOAuth2ParameterType[\"RESPONSE_TYPE\"] = \"response_type\";\n\tOAuth2ParameterType[\"SCOPE\"] = \"scope\";\n\tOAuth2ParameterType[\"STATE\"] = \"state\";\n\tOAuth2ParameterType[\"REDIRECT_URI\"] = \"redirect_uri\";\n\tOAuth2ParameterType[\"ERROR\"] = \"error\";\n\tOAuth2ParameterType[\"ERROR_DESCRIPTION\"] = \"error_description\";\n\tOAuth2ParameterType[\"ERROR_CODES\"] = \"error_codes\";\n\tOAuth2ParameterType[\"ERROR_URI\"] = \"error_uri\";\n\tOAuth2ParameterType[\"GRANT_TYPE\"] = \"grant_type\";\n\tOAuth2ParameterType[\"CODE\"] = \"code\";\n\tOAuth2ParameterType[\"ACCESS_TOKEN\"] = \"access_token\";\n\tOAuth2ParameterType[\"TOKEN_TYPE\"] = \"token_type\";\n\tOAuth2ParameterType[\"EXPIRES_IN\"] = \"expires_in\";\n\tOAuth2ParameterType[\"USERNAME\"] = \"username\";\n\tOAuth2ParameterType[\"PASSWORD\"] = \"password\";\n\tOAuth2ParameterType[\"REFRESH_TOKEN\"] = \"refresh_token\";\n\tOAuth2ParameterType[\"RESPONSE_MODE\"] = \"response_mode\";\n\tOAuth2ParameterType[\"TIMESTAMP\"] = \"timestamp\";\n\tOAuth2ParameterType[\"TRACE_ID\"] = \"trace_id\";\n\tOAuth2ParameterType[\"CORRELATION_ID\"] = \"correlation_id\";\n\treturn OAuth2ParameterType;\n}({});\nvar OIDCStandardClaim = /* @__PURE__ */ function(OIDCStandardClaim) {\n\tOIDCStandardClaim[\"SUB\"] = \"sub\";\n\tOIDCStandardClaim[\"NAME\"] = \"name\";\n\tOIDCStandardClaim[\"GIVEN_NAME\"] = \"given_name\";\n\tOIDCStandardClaim[\"FAMILY_NAME\"] = \"family_name\";\n\tOIDCStandardClaim[\"MIDDLE_NAME\"] = \"middle_name\";\n\tOIDCStandardClaim[\"NICKNAME\"] = \"nickname\";\n\tOIDCStandardClaim[\"PREFERRED_USERNAME\"] = \"preferred_username\";\n\tOIDCStandardClaim[\"PROFILE\"] = \"profile\";\n\tOIDCStandardClaim[\"PICTURE\"] = \"picture\";\n\tOIDCStandardClaim[\"WEBSITE\"] = \"website\";\n\tOIDCStandardClaim[\"EMAIL\"] = \"email\";\n\tOIDCStandardClaim[\"EMAIL_VERIFIED\"] = \"email_verified\";\n\tOIDCStandardClaim[\"GENDER\"] = \"gender\";\n\tOIDCStandardClaim[\"BIRTHDATE\"] = \"birthdate\";\n\tOIDCStandardClaim[\"ZONEINFO\"] = \"zoneinfo\";\n\tOIDCStandardClaim[\"LOCALE\"] = \"locale\";\n\tOIDCStandardClaim[\"PHONE_NUMBER\"] = \"phone_number\";\n\tOIDCStandardClaim[\"PHONE_NUMBER_VERIFIED\"] = \"phone_number_verified\";\n\tOIDCStandardClaim[\"ADDRESS\"] = \"address\";\n\tOIDCStandardClaim[\"CLIENT_SECRET\"] = \"client_secret\";\n\tOIDCStandardClaim[\"NONCE\"] = \"nonce\";\n\treturn OIDCStandardClaim;\n}({});\nvar OIDCAddressClaim = /* @__PURE__ */ function(OIDCAddressClaim) {\n\tOIDCAddressClaim[\"FORMATTED\"] = \"formatted\";\n\tOIDCAddressClaim[\"STREET_ADDRESS\"] = \"street_address\";\n\tOIDCAddressClaim[\"LOCALITY\"] = \"locality\";\n\tOIDCAddressClaim[\"REGION\"] = \"region\";\n\tOIDCAddressClaim[\"COUNTRY\"] = \"country\";\n\treturn OIDCAddressClaim;\n}({});\nvar OAuth2ParameterErrorType = class {\n\tstatic NOT_EQUAL = {\n\t\tcode: \"STS_OAUTH2_ERR_0001\",\n\t\tdescription: \"Parameter values not equal.\"\n\t};\n\tstatic NOT_PRESENT = {\n\t\tcode: \"STS_OAUTH2_ERR_0002\",\n\t\tdescription: \"Parameter not provided.\"\n\t};\n\tstatic INVALID_FORMAT = {\n\t\tcode: \"STS_OAUTH2_ERR_0003\",\n\t\tdescription: \"Parameter value format invalid.\"\n\t};\n\tstatic EXPIRED = {\n\t\tcode: \"STS_OAUTH2_ERR_0004\",\n\t\tdescription: \"Parameter value expired.\"\n\t};\n};\nfunction compareParameterTypes(source1, source2, authParameterTypes) {\n\tconst errors = [];\n\tfor (let i = 0; i < authParameterTypes.length; i++) {\n\t\tconst authParameterType = authParameterTypes[i];\n\t\tif (source1[i].localeCompare(source2[i]) !== 0) {\n\t\t\tconst error = {\n\t\t\t\terror: OAuth2ParameterErrorType.NOT_EQUAL.code,\n\t\t\t\terror_description: OAuth2ParameterErrorType.NOT_EQUAL.description,\n\t\t\t\ttimestamp: Date.now(),\n\t\t\t\tdetails: `${OAuth2ParameterErrorType.NOT_EQUAL.description}: Parameter: [${authParameterType}]`\n\t\t\t};\n\t\t\terrors.push(error);\n\t\t}\n\t}\n\treturn errors;\n}\n//#endregion\nexport { AuthUtilsNode, GetErrorPayload, OAuth2ParameterErrorType, OAuth2ParameterType, OIDCAddressClaim, OIDCStandardClaim, PermissionChecker, STSAuthClientErrorCode, SessionManager, compareParameterTypes, iss };\n\n//# sourceMappingURL=index.mjs.map","import { ISTSLogger } from '@nsshunt/stsutils'\nimport * as wt from 'node:worker_threads'\n\nexport enum AuthorizeOptionsResponseType {\n\tCODE = 'code',\n\tID_TOKEN = 'id_token',\n\tTOKEN = 'token'\n}\n\nexport enum AuthorizeOptionsResponseMode {\n\tQUERY = 'query',\n\tFRAGMENT = 'fragment',\n\tFORM_POST = 'form_post'\n}\n\n// https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow\nexport interface IAuthorizeOptions {\n\tclient_id: string,\n\tnonce: string,\n\tresponse_type: AuthorizeOptionsResponseType[], // Must include: 'code' and may include: 'id_token' and/or 'token'\n\tredirect_uri: string,\n\tresponse_mode: AuthorizeOptionsResponseMode\n\tscope: string, // A space-separated list of scopes that you want the user to consent to. For the /authorize leg of the request, this parameter can cover multiple resources. This value allows your app to get consent for multiple web APIs you want to call.\n\tstate: string, // Client application state (if required)\n\tcode_challenge: string,\n\tcode_challenge_method: string, //@@ enum S256\n\tcode_verifier?: string\n}\n\nexport interface IAuthorizeResponse {\n\tstate: string, // state passed to authorize end-point\n\tcode: string // authorization code\n}\n\nexport interface IAuthorizeErrorResponse {\n\terror: string, \n\terror_description: string \n}\n\nexport enum OAuthGrantTypes {\n\tCLIENT_CREDENTIALS = 'client_credentials',\n\tAUTHORIZATION_CODE = 'authorization_code',\n\tREFRESH_TOKEN = 'refresh_token'\n}\n\nexport interface IAuthorizationCodeFlowParameters {\n\tclient_id: string,\n\tscope: string,\n\tcode: string,\n\tredirect_uri: string, // URI\n\tgrant_type: OAuthGrantTypes, // 'authorization_code', //@@ need enum\n\tcode_verifier: string\n}\n\nexport interface IRefreshFlowParameters {\n\tclient_id: string,\n\tscope: string,\n\trefresh_token: string, // JWT\n\tgrant_type: OAuthGrantTypes // 'refresh_token' //@@ enum\n}\n\nexport interface ITokenResponse {\n access_token: string, // JWT\n token_type: string, //@@ \"Bearer\" only\n expires_in: number,\n scope: string,\n refresh_token: string, // JWT\n id_token: string, // JWT\n}\n\nexport interface ISessionData {\n\ttokenResponse: ITokenResponse,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tbrokerCookie?: any\n}\n\nexport interface ITokenErrorResponse {\n\terror: string,\n\terror_description: string,\n\terror_codes: number[],\n\ttimestamp: number\n\tdetails: unknown //@@ STS attribute ?\n\t//\"trace_id\": \"255d1aef-8c98-452f-ac51-23d051240864\", //@@ MS attribute\n\t//\"correlation_id\": \"fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\" //@@ MS attribute\n}\n\nexport type AuthenticateEvent = (id_token: string) => void;\n\n// ---------------\n\nexport enum IOauth2ListenerCommand {\n\tRESTORE_SESSION = 'RestoreSession',\n\tAUTHORIZE = 'Authorize',\n\tHANDLE_REDIRECT = 'HandleRedirect',\n\tLOGOUT = 'Logout',\n\tAUTHENTICATE_EVENT = 'AuthenticateEvent',\n\tERROR = 'Error',\n\tLOG = '__LOG',\n\tUPDATE_INSTRUMENT = '__UPDATE_INSTRUMENT',\n\tID_TOKEN = '__ID_TOKEN',\n\tACCESS_TOKEN = '__ACCESS_TOKEN',\n\tCOOKIES = '__COOKIES',\n\tEXECUTE_REFRESH_TOKEN = '__EXECUTE_REFRESH_TOKEN'\n}\n\nexport interface IOauth2ListenerMessage {\n\tmessageId?: number\n\tcommand: IOauth2ListenerCommand\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpayload?: any\n}\n\nexport interface IOauth2ListenerMessageResponse {\n\tmessageId: number\n\tcommand: IOauth2ListenerCommand\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpayload: any\n}\n\nexport type StsOauth2WorkerFactory = () => Worker | wt.Worker\n\nexport interface ISTSOAuth2WorkerOptions {\n\tclient_id: string\n\tscope: string\n\tredirect_uri: string\n\taudience: string\n\t\n\tbrokerendpoint: string\n\tbrokerport: string\n\tbrokerapiroot: string\n\t\n\tauthorizeendpoint: string\n\tauthorizeport: string\n\tauthorizeapiroot: string\n\tauthorizeapi: string\n\t\n\ttimeout: number\n\n\tagentOptions?: {\n\t\tkeepAlive: boolean\n\t\tmaxSockets: number\n\t\tmaxTotalSockets: number\n\t\tmaxFreeSockets: number\n\t\trejectUnauthorized: boolean\n\t\ttimeout: number\n\t}\n}\n\nexport interface ISTSOAuth2ManagerOptions {\n\tauthenticateEvent?: AuthenticateEvent\n\tworkerFactory?: StsOauth2WorkerFactory\n\tworkerOptions: ISTSOAuth2WorkerOptions\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpinia: any\n\turiBase: string // This MUST end in a '/' character, e.g. / or /stsgraph/ or /{tenant}/graph/v1.0/\n\tlogger: ISTSLogger\n}\n\nexport interface ISTSOAuth2WorkerMessage {\n\tworkerPort: MessagePort | wt.MessagePort,\n\toptions: ISTSOAuth2WorkerOptions\n}\n","//import { createPinia, defineStore } from 'pinia'\n//import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\n\nimport { defineStore } from 'pinia'\n\nimport { jwtDecode } from \"jwt-decode\";\nimport { JSONObject } from '@nsshunt/stsutils';\n\nexport interface ISTSOauth2Store {\n id_token: string | null\n error: { \n message: JSONObject\n } | null\n}\n\n// Replace with pinia\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\nexport const STSOauth2Store = defineStore('__sts__STSOauth2Store', {\n state: (): ISTSOauth2Store => {\n return {\n id_token: null,\n error: null\n }\n },\n actions: {\n UpdateIdToken(id_token: string) {\n this.id_token = id_token;\n },\n UpdateError(error: JSONObject) {\n if (this.error) {\n this.error.message = error;\n } else {\n this.error = {\n message: error\n }\n }\n }\n },\n getters: {\n LoggedIn: (state: ISTSOauth2Store): boolean => {\n if (typeof state.id_token === 'undefined') {\n return false;\n }\n if (state.id_token === null) {\n return false;\n }\n return true;\n },\n UserDetails: (state: ISTSOauth2Store): JSONObject | null => {\n //if (state.sessionData && state.sessionData.id_token) {\n if (state.id_token) {\n const id_token = state.id_token;\n const decodedIdToken = jwtDecode<JSONObject>(id_token);\n return decodedIdToken;\n } else {\n return null;\n }\n }\n },\n /*\n\tpersist: {\n\t\tstorage: globalThis.sessionStorage\n\t}\n\t*/\n});\n","function E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n","import { TinyEmitter } from \"tiny-emitter\";\nimport _cloneDeep from \"lodash.clonedeep\";\nimport { STSAxiosConfig, defaultLogger, isNode } from \"@nsshunt/stsutils\";\nimport axios from \"axios\";\nimport { inject } from \"vue\";\nimport { SocketIoClient } from \"@nsshunt/stssocketioutils\";\n//#region src/commonTypes.ts\nvar SubscriptionTopic = /* @__PURE__ */ function(SubscriptionTopic) {\n\tSubscriptionTopic[\"AllServicesCombined\"] = \"AllServicesCombined\";\n\tSubscriptionTopic[\"Services\"] = \"Services\";\n\tSubscriptionTopic[\"ServiceInstances\"] = \"ServiceInstances\";\n\tSubscriptionTopic[\"ServiceInstance\"] = \"ServiceInstance\";\n\tSubscriptionTopic[\"AllAgentsCombined\"] = \"AllAgentsCombined\";\n\tSubscriptionTopic[\"Agents\"] = \"Agents\";\n\tSubscriptionTopic[\"AgentWorkers\"] = \"AgentWorkers\";\n\tSubscriptionTopic[\"AgentWorker\"] = \"AgentWorker\";\n\tSubscriptionTopic[\"AllLambdasCombined\"] = \"AllLambdasCombined\";\n\tSubscriptionTopic[\"LambdaTechnologies\"] = \"LambdaTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologies\"] = \"LambdaSubTechnologies\";\n\tSubscriptionTopic[\"LambdaSubTechnologiesInstance\"] = \"LambdaSubTechnologiesInstance\";\n\tSubscriptionTopic[\"LogProcessing\"] = \"LogProcessing\";\n\treturn SubscriptionTopic;\n}({});\nvar GetSocketIOSubscriptionKey = (subscriptionKey) => {\n\treturn `SubscriptionData_${subscriptionKey.id}`;\n};\nvar KAFKA_PREFIX = \"__STS__\";\nvar TransportType = /* @__PURE__ */ function(TransportType) {\n\tTransportType[TransportType[\"none\"] = 0] = \"none\";\n\tTransportType[TransportType[\"IPC\"] = 1] = \"IPC\";\n\tTransportType[TransportType[\"websocket\"] = 2] = \"websocket\";\n\tTransportType[TransportType[\"RESTAPI\"] = 4] = \"RESTAPI\";\n\tTransportType[TransportType[\"redis\"] = 8] = \"redis\";\n\tTransportType[TransportType[\"kafka\"] = 16] = \"kafka\";\n\tTransportType[TransportType[\"influxdb\"] = 32] = \"influxdb\";\n\tTransportType[TransportType[\"prometheus\"] = 64] = \"prometheus\";\n\tTransportType[TransportType[\"gRPC\"] = 128] = \"gRPC\";\n\tTransportType[TransportType[\"unixsocket\"] = 256] = \"unixsocket\";\n\tTransportType[TransportType[\"socketio\"] = 512] = \"socketio\";\n\tTransportType[TransportType[\"otelcollector\"] = 1024] = \"otelcollector\";\n\tTransportType[TransportType[\"messageport\"] = 2048] = \"messageport\";\n\tTransportType[TransportType[\"jsonrpc\"] = 4096] = \"jsonrpc\";\n\tTransportType[TransportType[\"postgresql\"] = 8192] = \"postgresql\";\n\tTransportType[TransportType[\"grafanaloki\"] = 16384] = \"grafanaloki\";\n\tTransportType[TransportType[\"logstash\"] = 32768] = \"logstash\";\n\tTransportType[TransportType[\"fluentbit\"] = 65536] = \"fluentbit\";\n\tTransportType[TransportType[\"fluentd\"] = 131072] = \"fluentd\";\n\tTransportType[TransportType[\"inmemory\"] = 262144] = \"inmemory\";\n\treturn TransportType;\n}({});\nfunction GetTransportMode(transport) {\n\tlet trans = 0;\n\ttry {\n\t\ttransport.split(\"|\").forEach((item) => {\n\t\t\tswitch (item) {\n\t\t\t\tcase \"IPC\":\n\t\t\t\t\ttrans |= TransportType.IPC;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"websocket\":\n\t\t\t\t\ttrans |= TransportType.websocket;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RESTAPI\":\n\t\t\t\t\ttrans |= TransportType.RESTAPI;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"redis\":\n\t\t\t\t\ttrans |= TransportType.redis;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"kafka\":\n\t\t\t\t\ttrans |= TransportType.kafka;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"influxdb\":\n\t\t\t\t\ttrans |= TransportType.influxdb;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"prometheus\":\n\t\t\t\t\ttrans |= TransportType.prometheus;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gRPC\":\n\t\t\t\t\ttrans |= TransportType.gRPC;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"unixsocket\":\n\t\t\t\t\ttrans |= TransportType.unixsocket;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"socketio\":\n\t\t\t\t\ttrans |= TransportType.socketio;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"otelcollector\":\n\t\t\t\t\ttrans |= TransportType.otelcollector;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"messageport\":\n\t\t\t\t\ttrans |= TransportType.messageport;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"jsonrpc\":\n\t\t\t\t\ttrans |= TransportType.jsonrpc;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"postgresql\":\n\t\t\t\t\ttrans |= TransportType.postgresql;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"grafanaloki\":\n\t\t\t\t\ttrans |= TransportType.grafanaloki;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"logstash\":\n\t\t\t\t\ttrans |= TransportType.logstash;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentbit\":\n\t\t\t\t\ttrans |= TransportType.fluentbit;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fluentd\":\n\t\t\t\t\ttrans |= TransportType.fluentd;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inmemory\":\n\t\t\t\t\ttrans |= TransportType.inmemory;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tthrow new Error(`GetTransportMode(): Error: [${error}]`);\n\t}\n\treturn trans;\n}\nvar InstrumentPayloadType = /* @__PURE__ */ function(InstrumentPayloadType) {\n\tInstrumentPayloadType[\"agent\"] = \"agent\";\n\tInstrumentPayloadType[\"service\"] = \"service\";\n\treturn InstrumentPayloadType;\n}({});\n//#endregion\n//#region src/publish/middleware/requestLoggerMiddleware.ts\nvar RequestLoggerMiddlewareEventName = /* @__PURE__ */ function(RequestLoggerMiddlewareEventName) {\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_DEC\"] = \"UpdateInstrument_AR_DEC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_AR_INC\"] = \"UpdateInstrument_AR_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_RC_INC\"] = \"UpdateInstrument_RC_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_V_INC\"] = \"UpdateInstrument_V_INC\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_DH_VAL\"] = \"UpdateInstrument_DH_VAL\";\n\tRequestLoggerMiddlewareEventName[\"UpdateInstrument_D_VAL\"] = \"UpdateInstrument_D_VAL\";\n\treturn RequestLoggerMiddlewareEventName;\n}({});\nvar RequestLoggerMiddleware = class {\n\toptions;\n\t#tinyEmitter = new TinyEmitter();\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\ton(eventName, callBackFn) {\n\t\tthis.#tinyEmitter.on(eventName, callBackFn);\n\t}\n\t#RequestCompleted = (start) => {\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_AR_DEC);\n\t\tconst end = performance.now() - start;\n\t\tconst timeInMs = parseFloat(end.toFixed(4));\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_DH_VAL, timeInMs);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_D_VAL, timeInMs);\n\t};\n\t/**\n\t* Use with .bind(class instance).\n\t* Example;\n\t* ---\n\t* `let requestLoggerMiddleware = new RequestLoggerMiddleware();\n\t* app.use(requestLoggerMiddleware.Middleware.bind(requestLoggerMiddleware));`\n\t* @param {*} req \n\t* @param {*} res \n\t* @param {*} next \n\t* @returns \n\t*/\n\tMiddleware = async (req, res, next) => {\n\t\tif (this.options.ignoresocketio && req.originalUrl.includes(\"socket.io\")) return next();\n\t\tconst start = performance.now();\n\t\tlet completed = false;\n\t\tconst completeOnce = () => {\n\t\t\tif (completed) return;\n\t\t\tcompleted = true;\n\t\t\tthis.#RequestCompleted(start);\n\t\t};\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_AR_INC);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_RC_INC);\n\t\tthis.#tinyEmitter.emit(RequestLoggerMiddlewareEventName.UpdateInstrument_V_INC);\n\t\treq.on(\"aborted\", () => {});\n\t\treq.on(\"end\", () => {});\n\t\tres.on(\"close\", () => {\n\t\t\tcompleteOnce();\n\t\t});\n\t\tres.on(\"finish\", () => {\n\t\t\tcompleteOnce();\n\t\t});\n\t\tnext();\n\t};\n};\n//#endregion\n//#region node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\u001B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\u001B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles$1 = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29]\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39],\n\t\tgrey: [90, 39],\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39]\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49],\n\t\tbgGrey: [100, 49],\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49]\n\t}\n};\nObject.keys(styles$1.modifier);\nvar foregroundColorNames = Object.keys(styles$1.color);\nvar backgroundColorNames = Object.keys(styles$1.bgColor);\n[...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n\tconst codes = /* @__PURE__ */ new Map();\n\tfor (const [groupName, group] of Object.entries(styles$1)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles$1[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\t\t\tgroup[styleName] = styles$1[styleName];\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\t\tObject.defineProperty(styles$1, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\tObject.defineProperty(styles$1, \"codes\", {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\tstyles$1.color.close = \"\\x1B[39m\";\n\tstyles$1.bgColor.close = \"\\x1B[49m\";\n\tstyles$1.color.ansi = wrapAnsi16();\n\tstyles$1.color.ansi256 = wrapAnsi256();\n\tstyles$1.color.ansi16m = wrapAnsi16m();\n\tstyles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\tObject.defineProperties(styles$1, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) return 16;\n\t\t\t\t\tif (red > 248) return 231;\n\t\t\t\t\treturn Math.round((red - 8) / 247 * 24) + 232;\n\t\t\t\t}\n\t\t\t\treturn 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) return [\n\t\t\t\t\t0,\n\t\t\t\t\t0,\n\t\t\t\t\t0\n\t\t\t\t];\n\t\t\t\tlet [colorString] = matches;\n\t\t\t\tif (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join(\"\");\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\t\t\t\treturn [\n\t\t\t\t\tinteger >> 16 & 255,\n\t\t\t\t\tinteger >> 8 & 255,\n\t\t\t\t\tinteger & 255\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),\n\t\t\tenumerable: false\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) return 30 + code;\n\t\t\t\tif (code < 16) return 90 + (code - 8);\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = ((code - 232) * 10 + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\t\t\t\t\tconst remainder = code % 36;\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = remainder % 6 / 5;\n\t\t\t\t}\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\t\t\t\tif (value === 0) return 30;\n\t\t\t\tlet result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n\t\t\t\tif (value === 2) result += 60;\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),\n\t\t\tenumerable: false\n\t\t}\n\t});\n\treturn styles$1;\n}\nvar ansiStyles = assembleStyles();\n//#endregion\n//#region node_modules/chalk/source/vendor/supports-color/browser.js\nvar level = (() => {\n\tif (!(\"navigator\" in globalThis)) return 0;\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({ brand }) => brand === \"Chromium\");\n\t\tif (brand && brand.version > 93) return 3;\n\t}\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) return 1;\n\treturn 0;\n})();\nvar colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3\n};\nvar supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport\n};\n//#endregion\n//#region node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) return string;\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\treturnValue += string.slice(endIndex, index) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n\tlet endIndex = 0;\n\tlet returnValue = \"\";\n\tdo {\n\t\tconst gotCR = string[index - 1] === \"\\r\";\n\t\treturnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf(\"\\n\", endIndex);\n\t} while (index !== -1);\n\treturnValue += string.slice(endIndex);\n\treturn returnValue;\n}\n//#endregion\n//#region node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supportsColor;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n\t\"ansi\",\n\t\"ansi\",\n\t\"ansi256\",\n\t\"ansi16m\"\n];\nvar styles = Object.create(null);\nvar applyOptions = (object, options = {}) => {\n\tif (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error(\"The `level` option should be an integer from 0 to 3\");\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n\tconst chalk = (...strings) => strings.join(\" \");\n\tapplyOptions(chalk, options);\n\tObject.setPrototypeOf(chalk, createChalk.prototype);\n\treturn chalk;\n};\nfunction createChalk(options) {\n\treturn chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {\n\tconst builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n\tObject.defineProperty(this, styleName, { value: builder });\n\treturn builder;\n} };\nstyles.visible = { get() {\n\tconst builder = createBuilder(this, this[STYLER], true);\n\tObject.defineProperty(this, \"visible\", { value: builder });\n\treturn builder;\n} };\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n\tif (model === \"rgb\") {\n\t\tif (level === \"ansi16m\") return ansiStyles[type].ansi16m(...arguments_);\n\t\tif (level === \"ansi256\") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));\n\t\treturn ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));\n\t}\n\tif (model === \"hex\") return getModelAnsi(\"rgb\", level, type, ...ansiStyles.hexToRgb(...arguments_));\n\treturn ansiStyles[type][model](...arguments_);\n};\nfor (const model of [\n\t\"rgb\",\n\t\"hex\",\n\t\"ansi256\"\n]) {\n\tstyles[model] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansiStyles.color.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n\tconst bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = { get() {\n\t\tconst { level } = this;\n\t\treturn function(...arguments_) {\n\t\t\tconst styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);\n\t\t\treturn createBuilder(this, styler, this[IS_EMPTY]);\n\t\t};\n\t} };\n}\nvar proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this[GENERATOR].level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis[GENERATOR].level = level;\n\t\t}\n\t}\n});\nvar createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === void 0) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\nvar createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n\tObject.setPrototypeOf(builder, proto);\n\tbuilder[GENERATOR] = self;\n\tbuilder[STYLER] = _styler;\n\tbuilder[IS_EMPTY] = _isEmpty;\n\treturn builder;\n};\nvar applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) return self[IS_EMPTY] ? \"\" : string;\n\tlet styler = self[STYLER];\n\tif (styler === void 0) return string;\n\tconst { openAll, closeAll } = styler;\n\tif (string.includes(\"\\x1B\")) while (styler !== void 0) {\n\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\t\tstyler = styler.parent;\n\t}\n\tconst lfIndex = string.indexOf(\"\\n\");\n\tif (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\treturn openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles);\nvar chalk = createChalk();\ncreateChalk({ level: stderrColor ? stderrColor.level : 0 });\n//#endregion\n//#region node_modules/@nsshunt/stsobservability/dist/index.mjs\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\tkey = keys[i];\n\t\tif (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\nvar Gauge = /* @__PURE__ */ function(Gauge) {\n\tGauge[\"ACTIVE_REQUEST_GAUGE\"] = \"a\";\n\tGauge[\"AUTHENTICATION_COUNT_GAUGE\"] = \"b\";\n\tGauge[\"AUTHENTICATION_ERROR_COUNT_GAUGE\"] = \"aa\";\n\tGauge[\"AUTHENTICATION_RETRY_COUNT_GAUGE\"] = \"ab\";\n\tGauge[\"CONNECTION_POOL_IDLE_GAUGE\"] = \"c\";\n\tGauge[\"CONNECTION_POOL_TOTAL_GAUGE\"] = \"d\";\n\tGauge[\"CONNECTION_POOL_WAITING_GAUGE\"] = \"e\";\n\tGauge[\"CPU_LOAD_GAUGE\"] = \"f\";\n\tGauge[\"CPU_SYSTEM_LOAD_GAUGE\"] = \"g\";\n\tGauge[\"DURATION_GAUGE\"] = \"h\";\n\tGauge[\"DURATION_HISTOGRAM_GAUGE\"] = \"i\";\n\tGauge[\"ERROR_COUNT_GAUGE\"] = \"j\";\n\tGauge[\"LATENCY_GAUGE\"] = \"k\";\n\tGauge[\"LATENCY_HISTOGRAM_GAUGE\"] = \"l\";\n\tGauge[\"LOGGER\"] = \"m\";\n\tGauge[\"LOGGER_COPY\"] = \"n\";\n\tGauge[\"NETWORK_RX_GAUGE\"] = \"o\";\n\tGauge[\"NETWORK_TX_GAUGE\"] = \"p\";\n\tGauge[\"REQUEST_COUNT_GAUGE\"] = \"q\";\n\tGauge[\"RETRY_COUNT_GAUGE\"] = \"r\";\n\tGauge[\"TIMER_GAUGE\"] = \"s\";\n\tGauge[\"VELOCITY_GAUGE\"] = \"t\";\n\tGauge[\"CONNECTION_COUNT_GAUGE\"] = \"u\";\n\tGauge[\"OBJECT_GAUGE\"] = \"v\";\n\tGauge[\"PAYLOAD_SIZE\"] = \"w\";\n\tGauge[\"CORE_COUNT_GAUGE\"] = \"x\";\n\tGauge[\"CHILD_COUNT\"] = \"y\";\n\tGauge[\"UNKNOWN\"] = \"z\";\n\treturn Gauge;\n}({});\nvar GaugeTypes = /* @__PURE__ */ function(GaugeTypes) {\n\tGaugeTypes[\"GAUGE_TYPE\"] = \"_\";\n\tGaugeTypes[\"INSTRUMENT_GAUGE\"] = \"a\";\n\tGaugeTypes[\"INSTRUMENT_VELOCITY\"] = \"b\";\n\tGaugeTypes[\"INSTRUMENT_HISTOGRAM\"] = \"c\";\n\tGaugeTypes[\"INSTRUMENT_LOG\"] = \"d\";\n\tGaugeTypes[\"INSTRUMENT_TIMER\"] = \"e\";\n\tGaugeTypes[\"INSTRUMENT_OBJECT\"] = \"f\";\n\treturn GaugeTypes;\n}({});\nvar InstrumentBase = class {\n\t#label = \"\";\n\t#options = null;\n\t#data = {};\n\tconstructor(options = {}) {\n\t\tif (typeof options === \"string\" || options instanceof String) throw new Error(\"Instrument parameter must be an options object.\");\n\t\tthis.#options = options;\n\t\tif (options.label) this.#label = options.label;\n\t\telse this.#label = \"InstrumentGauge\";\n\t}\n\t[GaugeTypes.GAUGE_TYPE] = GaugeTypes.INSTRUMENT_OBJECT;\n\tval;\n\tWithLabel(label) {\n\t\tthis.label = label;\n\t\treturn this;\n\t}\n\tDefineCopyProperties(propertyNames) {\n\t\tpropertyNames.forEach((propertyName) => {\n\t\t\tObject.defineProperty(this, propertyName, {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#data[propertyName],\n\t\t\t\tset: (value) => {\n\t\t\t\t\tif (value === void 0) return;\n\t\t\t\t\tthis.#data[propertyName] = value;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\tGetNumber(val) {\n\t\tif (Number.isInteger(val)) return val;\n\t\telse return Math.round((val + Number.EPSILON) * 100) / 100;\n\t}\n\tget options() {\n\t\treturn this.#options;\n\t}\n\tset options(optionsValue) {\n\t\tthis.#options = optionsValue;\n\t}\n\tget label() {\n\t\treturn this.#label;\n\t}\n\tset label(labelValue) {\n\t\tthis.#label = labelValue;\n\t}\n\tStopTimer() {}\n\tProcessTelemetry(telemetry) {\n\t\tthrow new Error(`Must override in extended class: [ProcessTelemetry]: [${telemetry}].`);\n\t}\n};\nvar InstrumentVelocity = class extends InstrumentBase {\n\t#val = 0;\n\t#interval = null;\n\t#timeoutComputeVelocity = null;\n\t#lastVelocity = 0;\n\t#delta = 0;\n\t#maxVelocity = 0;\n\t#timerInterval = 0;\n\t#copy = false;\n\t#velocity = 0;\n\t#velocityVal = 0;\n\t#valStack = [];\n\t#averageValStack = [];\n\t#maxAverageValStack = 0;\n\t#maxAverageIterations = 0;\n\t#valStackMaxLength = 0;\n\t#valStackAverage = 0;\n\t#timeStamp = 0;\n\t#maxTimeDiff = 0;\n\t#vaTimeDiff = 0;\n\t#velocityTimeDiff = 0;\n\t#autoComputeVelocity = false;\n\t#autoComputeVelocityTimeout = 0;\n\t#countDiff = 0;\n\t#timeDiff = 0;\n\t#deltaCountDiff = 0;\n\t#deltaTimeDif = 0;\n\t#minTimeForReporting = 0;\n\t#averageVelocity = [];\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentVelocity\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.interval === \"undefined\") this.#timerInterval = 1e3;\n\t\telse this.#timerInterval = options.interval;\n\t\tif (typeof options.valStackMaxLength === \"undefined\") this.#valStackMaxLength = 100;\n\t\telse this.#valStackMaxLength = options.valStackMaxLength;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (typeof options.autoComputeVelocity === \"undefined\") this.#autoComputeVelocity = false;\n\t\telse this.#autoComputeVelocity = options.autoComputeVelocity;\n\t\tif (typeof options.maxAverageValStack === \"undefined\") this.#maxAverageValStack = 5;\n\t\telse this.#maxAverageValStack = options.maxAverageValStack;\n\t\tif (typeof options.maxAverageIterations === \"undefined\") this.#maxAverageIterations = 3;\n\t\telse this.#maxAverageIterations = options.maxAverageIterations;\n\t\tif (typeof options.velocityTimeDiff === \"undefined\") this.#velocityTimeDiff = 5e3;\n\t\telse this.#velocityTimeDiff = options.velocityTimeDiff;\n\t\tif (typeof options.vaTimeDiff === \"undefined\") this.#vaTimeDiff = 1e4;\n\t\telse this.#vaTimeDiff = options.vaTimeDiff;\n\t\tif (typeof options.autoComputeVelocityTimeout === \"undefined\") this.#autoComputeVelocityTimeout = 50;\n\t\telse this.#autoComputeVelocityTimeout = options.autoComputeVelocityTimeout;\n\t\tthis.#maxTimeDiff = this.#vaTimeDiff * 2;\n\t\tthis.#minTimeForReporting = this.#vaTimeDiff + 2e3;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_VELOCITY\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\n\t\t\t\"val\",\n\t\t\t\"maxVelocity\",\n\t\t\t\"delta\",\n\t\t\t\"velocity\",\n\t\t\t\"va\",\n\t\t\t\"timeStamp\",\n\t\t\t\"deltaTimeDif\",\n\t\t\t\"deltaCountDiff\",\n\t\t\t\"timeDiff\",\n\t\t\t\"countDiff\",\n\t\t\t\"averageVelocity\"\n\t\t]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"maxVelocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetMaxVelocity()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"delta\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDelta()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"velocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVelocity()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"va\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVelocityStackAverage()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"timeStamp\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetTimeStamp()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"countDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetCountDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"timeDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetTimeDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"deltaCountDiff\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDeltaCountDiff()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"deltaTimeDif\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetDeltaTimeDif()\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"averageVelocity\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetAverageVelocity()\n\t\t\t});\n\t\t\tif (this.#timerInterval > 0 && this.#autoComputeVelocity === false) this._StartTimer();\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.val = result.val;\n\t\t\tthis.velocity = result.velocity;\n\t\t\tthis.maxVelocity = result.maxVelocity;\n\t\t\tthis.delta = result.delta;\n\t\t\tthis.va = result.va;\n\t\t\tthis.timeStamp = result.timeStamp;\n\t\t\tthis.countDiff = result.countDiff;\n\t\t\tthis.timeDiff = result.timeDiff;\n\t\t\tthis.deltaCountDiff = result.deltaCountDiff;\n\t\t\tthis.deltaTimeDif = result.deltaTimeDif;\n\t\t\tthis.averageVelocity = _cloneDeep(result.averageVelocity);\n\t\t}\n\t}\n\tmaxVelocity = 0;\n\tdelta = 0;\n\tvelocity = 0;\n\tva = 0;\n\ttimeStamp = 0;\n\tcountDiff = 0;\n\ttimeDiff = 0;\n\tdeltaCountDiff = 0;\n\tdeltaTimeDif = 0;\n\taverageVelocity = [];\n\tval = 0;\n\tWithValStackMaxLength(valStackMaxLength) {\n\t\tthis.#valStackMaxLength = valStackMaxLength;\n\t\tthis.#valStack = [];\n\t\treturn this;\n\t}\n\t_StartTimer() {\n\t\tthis.#interval = setInterval(() => {\n\t\t\tthis.#ComputeVelocity();\n\t\t\tlet pushVal = this.#velocity;\n\t\t\tfor (let i = 0; i < this.#maxAverageIterations; i++) {\n\t\t\t\tif (!this.#averageValStack[i]) this.#averageValStack[i] = [];\n\t\t\t\tthis.#averageValStack[i].push(pushVal);\n\t\t\t\tif (this.#averageValStack[i].length > this.#maxAverageValStack) this.#averageValStack[i].shift();\n\t\t\t\tpushVal = this.#averageValStack[i].reduce((prev, current) => prev + current) / this.#averageValStack[i].length;\n\t\t\t\tthis.#averageVelocity[i] = pushVal;\n\t\t\t}\n\t\t}, this.#timerInterval);\n\t\tif (isNode) this.#interval.unref();\n\t}\n\t#ComputeVelocityByTimeDiff(checkTimeDiff, checkDeltaTimeDiff) {\n\t\tlet val = 0;\n\t\tlet deltaVal = 0;\n\t\tlet countDiff = 0;\n\t\tlet timeDiff = 0;\n\t\tlet deltaCountDiff = 0;\n\t\tlet deltaTimeDiff = 0;\n\t\tif (this.#valStack.length > 1 && this.#valStack[this.#valStack.length - 1].timeStamp - this.#valStack[0].timeStamp > this.#minTimeForReporting) {\n\t\t\tconst dp = this.#valStack[this.#valStack.length - 1];\n\t\t\tlet timeDiffPos = -1;\n\t\t\tlet deltaDiffPos = -1;\n\t\t\tfor (let i = this.#valStack.length - 2; i > -1; i--) {\n\t\t\t\tif (timeDiffPos === -1 && this.#timeStamp - this.#valStack[i].timeStamp >= checkTimeDiff) {\n\t\t\t\t\ttimeDiffPos = i;\n\t\t\t\t\tif (checkDeltaTimeDiff === 0) break;\n\t\t\t\t}\n\t\t\t\tif (deltaDiffPos === -1 && this.#timeStamp - this.#valStack[i].timeStamp >= checkDeltaTimeDiff) deltaDiffPos = i;\n\t\t\t\tif (timeDiffPos !== -1 && deltaDiffPos !== -1) break;\n\t\t\t}\n\t\t\tif (timeDiffPos > -1) {\n\t\t\t\tcountDiff = dp.count - this.#valStack[timeDiffPos].count;\n\t\t\t\tif (countDiff > 0) {\n\t\t\t\t\ttimeDiff = dp.timeStamp - this.#valStack[timeDiffPos].timeStamp;\n\t\t\t\t\tif (timeDiff > 0) val = 1e3 / timeDiff * countDiff;\n\t\t\t\t\telse val = 0;\n\t\t\t\t} else val = 0;\n\t\t\t} else val = 0;\n\t\t\tif (deltaDiffPos > -1) {\n\t\t\t\tdeltaCountDiff = this.#valStack[timeDiffPos].count - this.#valStack[deltaDiffPos].count;\n\t\t\t\tif (deltaCountDiff > 0) {\n\t\t\t\t\tdeltaTimeDiff = this.#valStack[timeDiffPos].timeStamp - this.#valStack[deltaDiffPos].timeStamp;\n\t\t\t\t\tif (deltaTimeDiff > 0) deltaVal = 1e3 / deltaTimeDiff * deltaTimeDiff;\n\t\t\t\t\telse deltaVal = 0;\n\t\t\t\t} else deltaVal = 0;\n\t\t\t} else deltaVal = 0;\n\t\t}\n\t\treturn {\n\t\t\tval,\n\t\t\tcountDiff,\n\t\t\ttimeDiff,\n\t\t\tdeltaVal,\n\t\t\tdeltaCountDiff,\n\t\t\tdeltaTimeDiff\n\t\t};\n\t}\n\t#ComputeVelocity() {\n\t\tconst dp = {\n\t\t\ttimeStamp: performance.now(),\n\t\t\tcount: this.#velocityVal\n\t\t};\n\t\tthis.#valStack.push(dp);\n\t\tthis.#timeStamp = dp.timeStamp;\n\t\twhile (this.#valStack.length > 0 && this.#timeStamp - this.#valStack[0].timeStamp > this.#maxTimeDiff) this.#valStack.shift();\n\t\tthis.#valStackAverage = this.#ComputeVelocityByTimeDiff(this.#vaTimeDiff, 0).val;\n\t\tconst velocityDataPoint = this.#ComputeVelocityByTimeDiff(this.#velocityTimeDiff, this.#velocityTimeDiff * 2);\n\t\tthis.#velocity = velocityDataPoint.val;\n\t\tthis.#delta = velocityDataPoint.val - velocityDataPoint.deltaVal;\n\t\tthis.#countDiff = velocityDataPoint.countDiff;\n\t\tthis.#timeDiff = velocityDataPoint.timeDiff;\n\t\tthis.#deltaCountDiff = velocityDataPoint.deltaCountDiff;\n\t\tthis.#deltaTimeDif = velocityDataPoint.deltaTimeDiff;\n\t\tthis.#lastVelocity = this.#velocity;\n\t\tif (this.#velocity > this.#maxVelocity) this.#maxVelocity = this.#velocity;\n\t}\n\t#SetupAutoComputeVelocity() {\n\t\tif (this.#timeoutComputeVelocity) clearTimeout(this.#timeoutComputeVelocity);\n\t\tthis.#timeoutComputeVelocity = setTimeout(() => {\n\t\t\tthis.#ComputeVelocity();\n\t\t}, this.#autoComputeVelocityTimeout);\n\t}\n\t#GetVelocityStackAverage() {\n\t\treturn this.GetNumber(this.#valStackAverage);\n\t}\n\tInc(incVal = 1) {\n\t\tthis.#velocityVal += incVal;\n\t\tif (this.#autoComputeVelocity) this.#ComputeVelocity();\n\t\telse this.#SetupAutoComputeVelocity();\n\t}\n\t#GetVal() {\n\t\treturn this.GetNumber(this.#velocityVal);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#velocityVal = updatedValue;\n\t\tif (this.#autoComputeVelocity) this.#ComputeVelocity();\n\t\telse this.#SetupAutoComputeVelocity();\n\t}\n\t#GetVelocity() {\n\t\treturn this.GetNumber(this.#velocity);\n\t}\n\t#GetMaxVelocity() {\n\t\treturn this.GetNumber(this.#maxVelocity);\n\t}\n\t#GetDelta() {\n\t\treturn this.GetNumber(this.#delta);\n\t}\n\t#GetTimeStamp() {\n\t\treturn this.GetNumber(this.#timeStamp);\n\t}\n\t#GetCountDiff() {\n\t\treturn this.GetNumber(this.#countDiff);\n\t}\n\t#GetTimeDiff() {\n\t\treturn this.GetNumber(this.#timeDiff);\n\t}\n\t#GetDeltaCountDiff() {\n\t\treturn this.GetNumber(this.#deltaCountDiff);\n\t}\n\t#GetDeltaTimeDif() {\n\t\treturn this.GetNumber(this.#deltaTimeDif);\n\t}\n\t#GetAverageVelocity() {\n\t\treturn this.#averageVelocity;\n\t}\n\tStopTimer() {\n\t\tif (this.#interval !== null) {\n\t\t\tclearTimeout(this.#interval);\n\t\t\tthis.#interval = null;\n\t\t}\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.Inc !== void 0) this.Inc(telemetry.Inc);\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar HistogramDataElementPos = /* @__PURE__ */ function(HistogramDataElementPos) {\n\tHistogramDataElementPos[HistogramDataElementPos[\"val\"] = 0] = \"val\";\n\tHistogramDataElementPos[HistogramDataElementPos[\"label\"] = 1] = \"label\";\n\tHistogramDataElementPos[HistogramDataElementPos[\"breakPoint\"] = 2] = \"breakPoint\";\n\treturn HistogramDataElementPos;\n}({});\nvar InstrumentHistogram = class extends InstrumentBase {\n\t#histogramData = [];\n\t#val = 0;\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentHistogram\";\n\t\telse this.label = options.label;\n\t\tlet histogramData = null;\n\t\tif (typeof options.histogramData === \"undefined\") histogramData = null;\n\t\telse histogramData = options.histogramData;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (histogramData === null) this.#histogramData = [\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"10\",\n\t\t\t\t10\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"20\",\n\t\t\t\t20\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"50\",\n\t\t\t\t50\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"100\",\n\t\t\t\t100\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"1000\",\n\t\t\t\t1e3\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"5000\",\n\t\t\t\t5e3\n\t\t\t],\n\t\t\t[\n\t\t\t\t0,\n\t\t\t\t\"EE\",\n\t\t\t\t0\n\t\t\t]\n\t\t];\n\t\telse if (Array.isArray(histogramData)) {\n\t\t\tthis.#histogramData = [];\n\t\t\tfor (let i = 0; i < histogramData.length; i++) this.#histogramData.push([\n\t\t\t\t0,\n\t\t\t\t\"\" + histogramData[i],\n\t\t\t\tparseFloat(histogramData[i].toString())\n\t\t\t]);\n\t\t\tthis.#histogramData.push([\n\t\t\t\t0,\n\t\t\t\t\"EE\",\n\t\t\t\t0\n\t\t\t]);\n\t\t} else throw new Error(`Passed [${histogramData}] must be an array.`);\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_HISTOGRAM\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\", \"hist\"]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tObject.defineProperty(this, \"hist\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetHistogramData(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetHistogramData(value);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.#val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.#val = result.val;\n\t\t\tthis.hist = result.hist;\n\t\t}\n\t}\n\thist = [];\n\tval = 0;\n\tWithInitVal(initVal) {\n\t\tthis.#val = initVal;\n\t\treturn this;\n\t}\n\tResetHistogramData() {\n\t\tfor (let i = 0; i < this.hist.length; i++) this.hist[i][0] = 0;\n\t}\n\tAddObservation(updateValue) {\n\t\tif (this.#copy) throw new Error(\"Cannot add observations from the copy version of this class.\");\n\t\tlet i = 0;\n\t\tfor (; i < this.#histogramData.length - 1; i++) if (updateValue <= this.#histogramData[i][HistogramDataElementPos.breakPoint]) {\n\t\t\tthis.#histogramData[i][HistogramDataElementPos.val]++;\n\t\t\treturn;\n\t\t}\n\t\tthis.#histogramData[i][HistogramDataElementPos.val]++;\n\t}\n\t#GetVal() {\n\t\treturn this.GetNumber(this.#val);\n\t}\n\t#SetVal(value) {\n\t\tthis.#val = value;\n\t\tthis.AddObservation(value);\n\t}\n\tget formattedHistogramData() {\n\t\tlet retVal = \"\";\n\t\tlet sep = \"\";\n\t\tfor (let i = 0; i < this.hist.length; i++) {\n\t\t\tretVal += sep + \"[\" + (this.hist[i][HistogramDataElementPos.val] + \"/\" + this.hist[i][HistogramDataElementPos.label]).padStart(10, \" \") + \"]\";\n\t\t\tsep = \" \";\n\t\t}\n\t\treturn retVal;\n\t}\n\t#GetHistogramData() {\n\t\treturn this.#histogramData;\n\t}\n\t#SetHistogramData(value) {\n\t\tthis.#histogramData = value;\n\t}\n\tstatic AddHistogramDataEx(histoA, histoB) {\n\t\tif (histoA === null) return _cloneDeep(histoB);\n\t\tconst result = _cloneDeep(histoA);\n\t\tconst histogramAData = result.hist;\n\t\tconst histogramBData = histoB.hist;\n\t\tif (histogramAData.length !== histogramBData.length) throw new Error(\"Invalid HistogramData. HistogramData bucket lengths must be the same.\");\n\t\tfor (let i = 0; i < histogramAData.length; i++) {\n\t\t\tif (histogramAData[i][HistogramDataElementPos.breakPoint] !== histogramBData[i][HistogramDataElementPos.breakPoint]) throw new Error(`Invalid HistogramData. HistogramData bucket break-point at index [${i}] must be the same.`);\n\t\t\tif (histogramAData[i][HistogramDataElementPos.label] !== histogramBData[i][HistogramDataElementPos.label]) throw new Error(`Invalid HistogramData. HistogramData bucket label at index [${i}] must be the same.`);\n\t\t\thistogramAData[i][HistogramDataElementPos.val] += histogramBData[i][HistogramDataElementPos.val];\n\t\t}\n\t\treturn result;\n\t}\n\t/**\n\t* Adds a value object (from GetFormatted()) to this instance.\n\t* @param {*} value \n\t*/\n\tAddHistogramData(histogramData) {\n\t\tif (histogramData === null) return;\n\t\tif (this.hist.length !== histogramData.hist.length) throw new Error(\"Invalid HistogramData. HistogramData bucket lengths must be the same.\");\n\t\tfor (let i = 0; i < histogramData.hist.length; i++) {\n\t\t\tif (this.hist[i][HistogramDataElementPos.breakPoint] !== histogramData.hist[i][HistogramDataElementPos.breakPoint]) throw new Error(`Invalid HistogramData. HistogramData bucket break-point at index [${i}] must be the same.`);\n\t\t\tif (this.hist[i][HistogramDataElementPos.label] !== histogramData.hist[i][HistogramDataElementPos.label]) throw new Error(`Invalid HistogramData. HistogramData bucket label at index [${i}] must be the same.`);\n\t\t\tthis.hist[i][HistogramDataElementPos.val] += histogramData.hist[i][HistogramDataElementPos.val];\n\t\t}\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar InstrumentLog = class extends InstrumentBase {\n\t#messages = [];\n\t#readPos = 0;\n\t#maxSize = 200;\n\t#copy = false;\n\t#useLatestMessages = false;\n\t#consoleLogging = false;\n\t#instrumentLogging = true;\n\t#winstonLogging = false;\n\t#stsLogger;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentLog\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.maxSize === \"undefined\") this.#maxSize = 200;\n\t\telse this.#maxSize = options.maxSize;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tif (typeof options.useLatestMessages === \"undefined\") this.#useLatestMessages = false;\n\t\telse this.#useLatestMessages = options.useLatestMessages;\n\t\tif (typeof options.consoleLogging === \"undefined\") this.#consoleLogging = false;\n\t\telse this.#consoleLogging = options.consoleLogging;\n\t\tif (typeof options.instrumentLogging === \"undefined\") this.#instrumentLogging = true;\n\t\telse this.#instrumentLogging = options.instrumentLogging;\n\t\tif (typeof options.winstonLogging === \"undefined\") this.#winstonLogging = false;\n\t\telse this.#winstonLogging = options.winstonLogging;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_LOG\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => _cloneDeep(this.#GetVal()),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t}\n\tval = [];\n\tWithMaxSize(maxSize) {\n\t\tthis.#maxSize = maxSize;\n\t\treturn this;\n\t}\n\tWithUseLatestMessages(useLatestMessages) {\n\t\tthis.#useLatestMessages = useLatestMessages;\n\t\treturn this;\n\t}\n\tWithConsoleLogging(consoleLogging) {\n\t\tthis.#consoleLogging = consoleLogging;\n\t\treturn this;\n\t}\n\tWithInstrumentLogging(instrumentLogging) {\n\t\tthis.#instrumentLogging = instrumentLogging;\n\t\treturn this;\n\t}\n\tget MaxSize() {\n\t\treturn this.#maxSize;\n\t}\n\tset MaxSize(maxSize) {\n\t\tthis.#maxSize = maxSize;\n\t}\n\t#DumpToConsole() {\n\t\tconst logReport = this.GetMessagesSinceLastRead();\n\t\tfor (let i = 0; i < logReport.length; i++) console.log(logReport[i]);\n\t}\n\tget consoleLogging() {\n\t\treturn this.#consoleLogging;\n\t}\n\tset consoleLogging(value) {\n\t\tthis.#consoleLogging = value;\n\t\tif (value === true) this.#DumpToConsole();\n\t}\n\tget instrumentLogging() {\n\t\treturn this.#instrumentLogging;\n\t}\n\tset instrumentLogging(value) {\n\t\tthis.#instrumentLogging = value;\n\t}\n\tAppend(messageArray) {\n\t\tfor (let i = 0; i < messageArray.length; i++) this.LogMessage(messageArray[i]);\n\t}\n\terror(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.error(message);\n\t}\n\twarn(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.warn(message);\n\t}\n\tinfo(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.info(message);\n\t}\n\thttp(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.http(message);\n\t}\n\tverbose(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.verbose(message);\n\t}\n\tdebug(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.debug(message);\n\t}\n\tsilly(message) {\n\t\tif (this.#winstonLogging && this.#stsLogger) this.#stsLogger.silly(message);\n\t}\n\tLogMessage(message) {\n\t\tif (this.#copy) throw new Error(\"Cannot add log messages from the copy version of this class.\");\n\t\tif (this.#consoleLogging === true) console.log(message);\n\t\tif (this.#instrumentLogging === false) return;\n\t\tthis.#messages.push(message);\n\t\tif (this.#messages.length > this.#maxSize) {\n\t\t\tthis.#messages.shift();\n\t\t\tthis.#readPos = this.#readPos > 0 ? this.#readPos - 1 : 0;\n\t\t}\n\t}\n\t#GetVal() {\n\t\tif (this.#useLatestMessages) return this.GetMessagesSinceLastRead();\n\t\telse return this.#messages;\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#messages = updatedValue;\n\t\tthis.#readPos = 0;\n\t}\n\tGetMessagesNoUpdate() {\n\t\treturn this.#messages.slice(this.#readPos);\n\t}\n\tGetMessagesSinceLastRead() {\n\t\tconst retVal = this.#messages.slice(this.#readPos);\n\t\tthis.#readPos = this.#messages.length;\n\t\treturn retVal;\n\t}\n\tResetLog() {\n\t\tthis.#messages = [];\n\t\tthis.#readPos = 0;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t\tif (telemetry.Append !== void 0) this.Append(telemetry.Append);\n\t\tif (telemetry.LogMessage !== void 0) this.LogMessage(telemetry.LogMessage);\n\t\tif (telemetry.ResetLog !== void 0 && telemetry.ResetLog === true) this.ResetLog();\n\t}\n};\nvar InstrumentTimerGauge = class extends InstrumentBase {\n\t#start = 0;\n\t#copy = false;\n\t#pauseVal = 0;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentTimerGauge\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_TIMER\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetVal(),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t\tthis.Reset();\n\t}\n\tval = 0;\n\tPause() {\n\t\tthis.#pauseVal = this.val;\n\t}\n\tResume() {\n\t\tthis.#pauseVal = 0;\n\t}\n\tReset() {\n\t\tthis.#start = performance.now();\n\t}\n\t#GetVal() {\n\t\tif (this.#pauseVal !== 0) return this.GetNumber(this.#pauseVal);\n\t\treturn this.GetNumber(performance.now() - this.#start);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#start = performance.now() - updatedValue;\n\t}\n\tget start() {\n\t\treturn this.#start;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t\tif (telemetry.Pause !== void 0 && telemetry.Pause === true) this.Pause();\n\t\tif (telemetry.Resume !== void 0 && telemetry.Resume === true) this.Resume();\n\t\tif (telemetry.Reset !== void 0 && telemetry.Reset === true) this.Reset();\n\t}\n};\nvar require_timsort$1 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\t/****\n\t* The MIT License\n\t*\n\t* Copyright (c) 2015 Marco Ziccardi\n\t*\n\t* Permission is hereby granted, free of charge, to any person obtaining a copy\n\t* of this software and associated documentation files (the \"Software\"), to deal\n\t* in the Software without restriction, including without limitation the rights\n\t* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t* copies of the Software, and to permit persons to whom the Software is\n\t* furnished to do so, subject to the following conditions:\n\t*\n\t* The above copyright notice and this permission notice shall be included in\n\t* all copies or substantial portions of the Software.\n\t*\n\t* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\t* THE SOFTWARE.\n\t*\n\t****/\n\t(function(global, factory) {\n\t\tif (typeof define === \"function\" && define.amd) define(\"timsort\", [\"exports\"], factory);\n\t\telse if (typeof exports !== \"undefined\") factory(exports);\n\t\telse {\n\t\t\tvar mod = { exports: {} };\n\t\t\tfactory(mod.exports);\n\t\t\tglobal.timsort = mod.exports;\n\t\t}\n\t})(exports, function(exports$1) {\n\t\t\"use strict\";\n\t\texports$1.__esModule = true;\n\t\texports$1.sort = sort;\n\t\tfunction _classCallCheck(instance, Constructor) {\n\t\t\tif (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n\t\t}\n\t\tvar DEFAULT_MIN_MERGE = 32;\n\t\tvar DEFAULT_MIN_GALLOPING = 7;\n\t\tvar DEFAULT_TMP_STORAGE_LENGTH = 256;\n\t\tvar POWERS_OF_TEN = [\n\t\t\t1,\n\t\t\t10,\n\t\t\t100,\n\t\t\t1e3,\n\t\t\t1e4,\n\t\t\t1e5,\n\t\t\t1e6,\n\t\t\t1e7,\n\t\t\t1e8,\n\t\t\t1e9\n\t\t];\n\t\tfunction log10(x) {\n\t\t\tif (x < 1e5) {\n\t\t\t\tif (x < 100) return x < 10 ? 0 : 1;\n\t\t\t\tif (x < 1e4) return x < 1e3 ? 2 : 3;\n\t\t\t\treturn 4;\n\t\t\t}\n\t\t\tif (x < 1e7) return x < 1e6 ? 5 : 6;\n\t\t\tif (x < 1e9) return x < 1e8 ? 7 : 8;\n\t\t\treturn 9;\n\t\t}\n\t\tfunction alphabeticalCompare(a, b) {\n\t\t\tif (a === b) return 0;\n\t\t\tif (~~a === a && ~~b === b) {\n\t\t\t\tif (a === 0 || b === 0) return a < b ? -1 : 1;\n\t\t\t\tif (a < 0 || b < 0) {\n\t\t\t\t\tif (b >= 0) return -1;\n\t\t\t\t\tif (a >= 0) return 1;\n\t\t\t\t\ta = -a;\n\t\t\t\t\tb = -b;\n\t\t\t\t}\n\t\t\t\tvar al = log10(a);\n\t\t\t\tvar bl = log10(b);\n\t\t\t\tvar t = 0;\n\t\t\t\tif (al < bl) {\n\t\t\t\t\ta *= POWERS_OF_TEN[bl - al - 1];\n\t\t\t\t\tb /= 10;\n\t\t\t\t\tt = -1;\n\t\t\t\t} else if (al > bl) {\n\t\t\t\t\tb *= POWERS_OF_TEN[al - bl - 1];\n\t\t\t\t\ta /= 10;\n\t\t\t\t\tt = 1;\n\t\t\t\t}\n\t\t\t\tif (a === b) return t;\n\t\t\t\treturn a < b ? -1 : 1;\n\t\t\t}\n\t\t\tvar aStr = String(a);\n\t\t\tvar bStr = String(b);\n\t\t\tif (aStr === bStr) return 0;\n\t\t\treturn aStr < bStr ? -1 : 1;\n\t\t}\n\t\tfunction minRunLength(n) {\n\t\t\tvar r = 0;\n\t\t\twhile (n >= DEFAULT_MIN_MERGE) {\n\t\t\t\tr |= n & 1;\n\t\t\t\tn >>= 1;\n\t\t\t}\n\t\t\treturn n + r;\n\t\t}\n\t\tfunction makeAscendingRun(array, lo, hi, compare) {\n\t\t\tvar runHi = lo + 1;\n\t\t\tif (runHi === hi) return 1;\n\t\t\tif (compare(array[runHi++], array[lo]) < 0) {\n\t\t\t\twhile (runHi < hi && compare(array[runHi], array[runHi - 1]) < 0) runHi++;\n\t\t\t\treverseRun(array, lo, runHi);\n\t\t\t} else while (runHi < hi && compare(array[runHi], array[runHi - 1]) >= 0) runHi++;\n\t\t\treturn runHi - lo;\n\t\t}\n\t\tfunction reverseRun(array, lo, hi) {\n\t\t\thi--;\n\t\t\twhile (lo < hi) {\n\t\t\t\tvar t = array[lo];\n\t\t\t\tarray[lo++] = array[hi];\n\t\t\t\tarray[hi--] = t;\n\t\t\t}\n\t\t}\n\t\tfunction binaryInsertionSort(array, lo, hi, start, compare) {\n\t\t\tif (start === lo) start++;\n\t\t\tfor (; start < hi; start++) {\n\t\t\t\tvar pivot = array[start];\n\t\t\t\tvar left = lo;\n\t\t\t\tvar right = start;\n\t\t\t\twhile (left < right) {\n\t\t\t\t\tvar mid = left + right >>> 1;\n\t\t\t\t\tif (compare(pivot, array[mid]) < 0) right = mid;\n\t\t\t\t\telse left = mid + 1;\n\t\t\t\t}\n\t\t\t\tvar n = start - left;\n\t\t\t\tswitch (n) {\n\t\t\t\t\tcase 3: array[left + 3] = array[left + 2];\n\t\t\t\t\tcase 2: array[left + 2] = array[left + 1];\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tarray[left + 1] = array[left];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault: while (n > 0) {\n\t\t\t\t\t\tarray[left + n] = array[left + n - 1];\n\t\t\t\t\t\tn--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tarray[left] = pivot;\n\t\t\t}\n\t\t}\n\t\tfunction gallopLeft(value, array, start, length, hint, compare) {\n\t\t\tvar lastOffset = 0;\n\t\t\tvar maxOffset = 0;\n\t\t\tvar offset = 1;\n\t\t\tif (compare(value, array[start + hint]) > 0) {\n\t\t\t\tmaxOffset = length - hint;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint + offset]) > 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tlastOffset += hint;\n\t\t\t\toffset += hint;\n\t\t\t} else {\n\t\t\t\tmaxOffset = hint + 1;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint - offset]) <= 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tvar tmp = lastOffset;\n\t\t\t\tlastOffset = hint - offset;\n\t\t\t\toffset = hint - tmp;\n\t\t\t}\n\t\t\tlastOffset++;\n\t\t\twhile (lastOffset < offset) {\n\t\t\t\tvar m = lastOffset + (offset - lastOffset >>> 1);\n\t\t\t\tif (compare(value, array[start + m]) > 0) lastOffset = m + 1;\n\t\t\t\telse offset = m;\n\t\t\t}\n\t\t\treturn offset;\n\t\t}\n\t\tfunction gallopRight(value, array, start, length, hint, compare) {\n\t\t\tvar lastOffset = 0;\n\t\t\tvar maxOffset = 0;\n\t\t\tvar offset = 1;\n\t\t\tif (compare(value, array[start + hint]) < 0) {\n\t\t\t\tmaxOffset = hint + 1;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint - offset]) < 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tvar tmp = lastOffset;\n\t\t\t\tlastOffset = hint - offset;\n\t\t\t\toffset = hint - tmp;\n\t\t\t} else {\n\t\t\t\tmaxOffset = length - hint;\n\t\t\t\twhile (offset < maxOffset && compare(value, array[start + hint + offset]) >= 0) {\n\t\t\t\t\tlastOffset = offset;\n\t\t\t\t\toffset = (offset << 1) + 1;\n\t\t\t\t\tif (offset <= 0) offset = maxOffset;\n\t\t\t\t}\n\t\t\t\tif (offset > maxOffset) offset = maxOffset;\n\t\t\t\tlastOffset += hint;\n\t\t\t\toffset += hint;\n\t\t\t}\n\t\t\tlastOffset++;\n\t\t\twhile (lastOffset < offset) {\n\t\t\t\tvar m = lastOffset + (offset - lastOffset >>> 1);\n\t\t\t\tif (compare(value, array[start + m]) < 0) offset = m;\n\t\t\t\telse lastOffset = m + 1;\n\t\t\t}\n\t\t\treturn offset;\n\t\t}\n\t\tvar TimSort = (function() {\n\t\t\tfunction TimSort(array, compare) {\n\t\t\t\t_classCallCheck(this, TimSort);\n\t\t\t\tthis.array = null;\n\t\t\t\tthis.compare = null;\n\t\t\t\tthis.minGallop = DEFAULT_MIN_GALLOPING;\n\t\t\t\tthis.length = 0;\n\t\t\t\tthis.tmpStorageLength = DEFAULT_TMP_STORAGE_LENGTH;\n\t\t\t\tthis.stackLength = 0;\n\t\t\t\tthis.runStart = null;\n\t\t\t\tthis.runLength = null;\n\t\t\t\tthis.stackSize = 0;\n\t\t\t\tthis.array = array;\n\t\t\t\tthis.compare = compare;\n\t\t\t\tthis.length = array.length;\n\t\t\t\tif (this.length < 2 * DEFAULT_TMP_STORAGE_LENGTH) this.tmpStorageLength = this.length >>> 1;\n\t\t\t\tthis.tmp = new Array(this.tmpStorageLength);\n\t\t\t\tthis.stackLength = this.length < 120 ? 5 : this.length < 1542 ? 10 : this.length < 119151 ? 19 : 40;\n\t\t\t\tthis.runStart = new Array(this.stackLength);\n\t\t\t\tthis.runLength = new Array(this.stackLength);\n\t\t\t}\n\t\t\tTimSort.prototype.pushRun = function pushRun(runStart, runLength) {\n\t\t\t\tthis.runStart[this.stackSize] = runStart;\n\t\t\t\tthis.runLength[this.stackSize] = runLength;\n\t\t\t\tthis.stackSize += 1;\n\t\t\t};\n\t\t\tTimSort.prototype.mergeRuns = function mergeRuns() {\n\t\t\t\twhile (this.stackSize > 1) {\n\t\t\t\t\tvar n = this.stackSize - 2;\n\t\t\t\t\tif (n >= 1 && this.runLength[n - 1] <= this.runLength[n] + this.runLength[n + 1] || n >= 2 && this.runLength[n - 2] <= this.runLength[n] + this.runLength[n - 1]) {\n\t\t\t\t\t\tif (this.runLength[n - 1] < this.runLength[n + 1]) n--;\n\t\t\t\t\t} else if (this.runLength[n] > this.runLength[n + 1]) break;\n\t\t\t\t\tthis.mergeAt(n);\n\t\t\t\t}\n\t\t\t};\n\t\t\tTimSort.prototype.forceMergeRuns = function forceMergeRuns() {\n\t\t\t\twhile (this.stackSize > 1) {\n\t\t\t\t\tvar n = this.stackSize - 2;\n\t\t\t\t\tif (n > 0 && this.runLength[n - 1] < this.runLength[n + 1]) n--;\n\t\t\t\t\tthis.mergeAt(n);\n\t\t\t\t}\n\t\t\t};\n\t\t\tTimSort.prototype.mergeAt = function mergeAt(i) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar start1 = this.runStart[i];\n\t\t\t\tvar length1 = this.runLength[i];\n\t\t\t\tvar start2 = this.runStart[i + 1];\n\t\t\t\tvar length2 = this.runLength[i + 1];\n\t\t\t\tthis.runLength[i] = length1 + length2;\n\t\t\t\tif (i === this.stackSize - 3) {\n\t\t\t\t\tthis.runStart[i + 1] = this.runStart[i + 2];\n\t\t\t\t\tthis.runLength[i + 1] = this.runLength[i + 2];\n\t\t\t\t}\n\t\t\t\tthis.stackSize--;\n\t\t\t\tvar k = gallopRight(array[start2], array, start1, length1, 0, compare);\n\t\t\t\tstart1 += k;\n\t\t\t\tlength1 -= k;\n\t\t\t\tif (length1 === 0) return;\n\t\t\t\tlength2 = gallopLeft(array[start1 + length1 - 1], array, start2, length2, length2 - 1, compare);\n\t\t\t\tif (length2 === 0) return;\n\t\t\t\tif (length1 <= length2) this.mergeLow(start1, length1, start2, length2);\n\t\t\t\telse this.mergeHigh(start1, length1, start2, length2);\n\t\t\t};\n\t\t\tTimSort.prototype.mergeLow = function mergeLow(start1, length1, start2, length2) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar tmp = this.tmp;\n\t\t\t\tvar i = 0;\n\t\t\t\tfor (i = 0; i < length1; i++) tmp[i] = array[start1 + i];\n\t\t\t\tvar cursor1 = 0;\n\t\t\t\tvar cursor2 = start2;\n\t\t\t\tvar dest = start1;\n\t\t\t\tarray[dest++] = array[cursor2++];\n\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\tfor (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (length1 === 1) {\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\tarray[dest + length2] = tmp[cursor1];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar minGallop = this.minGallop;\n\t\t\t\twhile (true) {\n\t\t\t\t\tvar count1 = 0;\n\t\t\t\t\tvar count2 = 0;\n\t\t\t\t\tvar exit = false;\n\t\t\t\t\tdo\n\t\t\t\t\t\tif (compare(array[cursor2], tmp[cursor1]) < 0) {\n\t\t\t\t\t\t\tarray[dest++] = array[cursor2++];\n\t\t\t\t\t\t\tcount2++;\n\t\t\t\t\t\t\tcount1 = 0;\n\t\t\t\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = tmp[cursor1++];\n\t\t\t\t\t\t\tcount1++;\n\t\t\t\t\t\t\tcount2 = 0;\n\t\t\t\t\t\t\tif (--length1 === 1) {\n\t\t\t\t\t\t\t\texit = true;\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\twhile ((count1 | count2) < minGallop);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tdo {\n\t\t\t\t\t\tcount1 = gallopRight(array[cursor2], tmp, cursor1, length1, 0, compare);\n\t\t\t\t\t\tif (count1 !== 0) {\n\t\t\t\t\t\t\tfor (i = 0; i < count1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t\t\t\t\tdest += count1;\n\t\t\t\t\t\t\tcursor1 += count1;\n\t\t\t\t\t\t\tlength1 -= count1;\n\t\t\t\t\t\t\tif (length1 <= 1) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = array[cursor2++];\n\t\t\t\t\t\tif (--length2 === 0) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcount2 = gallopLeft(tmp[cursor1], array, cursor2, length2, 0, compare);\n\t\t\t\t\t\tif (count2 !== 0) {\n\t\t\t\t\t\t\tfor (i = 0; i < count2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\t\t\tdest += count2;\n\t\t\t\t\t\t\tcursor2 += count2;\n\t\t\t\t\t\t\tlength2 -= count2;\n\t\t\t\t\t\t\tif (length2 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest++] = tmp[cursor1++];\n\t\t\t\t\t\tif (--length1 === 1) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tminGallop--;\n\t\t\t\t\t} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tif (minGallop < 0) minGallop = 0;\n\t\t\t\t\tminGallop += 2;\n\t\t\t\t}\n\t\t\t\tthis.minGallop = minGallop;\n\t\t\t\tif (minGallop < 1) this.minGallop = 1;\n\t\t\t\tif (length1 === 1) {\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];\n\t\t\t\t\tarray[dest + length2] = tmp[cursor1];\n\t\t\t\t} else if (length1 === 0) throw new Error(\"mergeLow preconditions were not respected\");\n\t\t\t\telse for (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];\n\t\t\t};\n\t\t\tTimSort.prototype.mergeHigh = function mergeHigh(start1, length1, start2, length2) {\n\t\t\t\tvar compare = this.compare;\n\t\t\t\tvar array = this.array;\n\t\t\t\tvar tmp = this.tmp;\n\t\t\t\tvar i = 0;\n\t\t\t\tfor (i = 0; i < length2; i++) tmp[i] = array[start2 + i];\n\t\t\t\tvar cursor1 = start1 + length1 - 1;\n\t\t\t\tvar cursor2 = length2 - 1;\n\t\t\t\tvar dest = start2 + length2 - 1;\n\t\t\t\tvar customCursor = 0;\n\t\t\t\tvar customDest = 0;\n\t\t\t\tarray[dest--] = array[cursor1--];\n\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\tcustomCursor = dest - (length2 - 1);\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (length2 === 1) {\n\t\t\t\t\tdest -= length1;\n\t\t\t\t\tcursor1 -= length1;\n\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\tfor (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\tarray[dest] = tmp[cursor2];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar minGallop = this.minGallop;\n\t\t\t\twhile (true) {\n\t\t\t\t\tvar count1 = 0;\n\t\t\t\t\tvar count2 = 0;\n\t\t\t\t\tvar exit = false;\n\t\t\t\t\tdo\n\t\t\t\t\t\tif (compare(tmp[cursor2], array[cursor1]) < 0) {\n\t\t\t\t\t\t\tarray[dest--] = array[cursor1--];\n\t\t\t\t\t\t\tcount1++;\n\t\t\t\t\t\t\tcount2 = 0;\n\t\t\t\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = tmp[cursor2--];\n\t\t\t\t\t\t\tcount2++;\n\t\t\t\t\t\t\tcount1 = 0;\n\t\t\t\t\t\t\tif (--length2 === 1) {\n\t\t\t\t\t\t\t\texit = true;\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\twhile ((count1 | count2) < minGallop);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tdo {\n\t\t\t\t\t\tcount1 = length1 - gallopRight(tmp[cursor2], array, start1, length1, length1 - 1, compare);\n\t\t\t\t\t\tif (count1 !== 0) {\n\t\t\t\t\t\t\tdest -= count1;\n\t\t\t\t\t\t\tcursor1 -= count1;\n\t\t\t\t\t\t\tlength1 -= count1;\n\t\t\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\t\t\tfor (i = count1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\t\t\tif (length1 === 0) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = tmp[cursor2--];\n\t\t\t\t\t\tif (--length2 === 1) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcount2 = length2 - gallopLeft(array[cursor1], tmp, 0, length2, length2 - 1, compare);\n\t\t\t\t\t\tif (count2 !== 0) {\n\t\t\t\t\t\t\tdest -= count2;\n\t\t\t\t\t\t\tcursor2 -= count2;\n\t\t\t\t\t\t\tlength2 -= count2;\n\t\t\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\t\t\tcustomCursor = cursor2 + 1;\n\t\t\t\t\t\t\tfor (i = 0; i < count2; i++) array[customDest + i] = tmp[customCursor + i];\n\t\t\t\t\t\t\tif (length2 <= 1) {\n\t\t\t\t\t\t\t\texit = true;\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\tarray[dest--] = array[cursor1--];\n\t\t\t\t\t\tif (--length1 === 0) {\n\t\t\t\t\t\t\texit = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tminGallop--;\n\t\t\t\t\t} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);\n\t\t\t\t\tif (exit) break;\n\t\t\t\t\tif (minGallop < 0) minGallop = 0;\n\t\t\t\t\tminGallop += 2;\n\t\t\t\t}\n\t\t\t\tthis.minGallop = minGallop;\n\t\t\t\tif (minGallop < 1) this.minGallop = 1;\n\t\t\t\tif (length2 === 1) {\n\t\t\t\t\tdest -= length1;\n\t\t\t\t\tcursor1 -= length1;\n\t\t\t\t\tcustomDest = dest + 1;\n\t\t\t\t\tcustomCursor = cursor1 + 1;\n\t\t\t\t\tfor (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];\n\t\t\t\t\tarray[dest] = tmp[cursor2];\n\t\t\t\t} else if (length2 === 0) throw new Error(\"mergeHigh preconditions were not respected\");\n\t\t\t\telse {\n\t\t\t\t\tcustomCursor = dest - (length2 - 1);\n\t\t\t\t\tfor (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];\n\t\t\t\t}\n\t\t\t};\n\t\t\treturn TimSort;\n\t\t})();\n\t\tfunction sort(array, compare, lo, hi) {\n\t\t\tif (!Array.isArray(array)) throw new TypeError(\"Can only sort arrays\");\n\t\t\tif (!compare) compare = alphabeticalCompare;\n\t\t\telse if (typeof compare !== \"function\") {\n\t\t\t\thi = lo;\n\t\t\t\tlo = compare;\n\t\t\t\tcompare = alphabeticalCompare;\n\t\t\t}\n\t\t\tif (!lo) lo = 0;\n\t\t\tif (!hi) hi = array.length;\n\t\t\tvar remaining = hi - lo;\n\t\t\tif (remaining < 2) return;\n\t\t\tvar runLength = 0;\n\t\t\tif (remaining < DEFAULT_MIN_MERGE) {\n\t\t\t\trunLength = makeAscendingRun(array, lo, hi, compare);\n\t\t\t\tbinaryInsertionSort(array, lo, hi, lo + runLength, compare);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar ts = new TimSort(array, compare);\n\t\t\tvar minRun = minRunLength(remaining);\n\t\t\tdo {\n\t\t\t\trunLength = makeAscendingRun(array, lo, hi, compare);\n\t\t\t\tif (runLength < minRun) {\n\t\t\t\t\tvar force = remaining;\n\t\t\t\t\tif (force > minRun) force = minRun;\n\t\t\t\t\tbinaryInsertionSort(array, lo, lo + force, lo + runLength, compare);\n\t\t\t\t\trunLength = force;\n\t\t\t\t}\n\t\t\t\tts.pushRun(lo, runLength);\n\t\t\t\tts.mergeRuns();\n\t\t\t\tremaining -= runLength;\n\t\t\t\tlo += runLength;\n\t\t\t} while (remaining !== 0);\n\t\t\tts.forceMergeRuns();\n\t\t}\n\t});\n}));\nvar require_timsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = require_timsort$1();\n}));\nvar require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\t/**\n\t@typedef {(Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array)} TypedArray\n\t*/\n\t/**\n\t* Error message for a case when percentile is less than 0.\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction lessThanZeroError(p) {\n\t\treturn \"Expect percentile to be >= 0 but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Error message for a case when percentile is greater than 100.\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction greaterThanHundredError(p) {\n\t\treturn \"Expect percentile to be <= 100 but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Error message for a case when percentile is not a number (NaN).\n\t*\n\t* @param {Number} p\n\t*\n\t* @return {String}\n\t*/\n\tfunction nanError(p) {\n\t\treturn \"Expect percentile to be a number but given \\\"\" + p + \"\\\" and its type is \\\"\" + typeof p + \"\\\".\";\n\t}\n\t/**\n\t* Checks that a list of percentiles are all numbers and they lie in range 0..100.\n\t*\n\t* @param {Array<Number>} ps - percentiles to calculate\n\t*\n\t* @return {Array} List of errors\n\t*/\n\tfunction validateInput(ps) {\n\t\treturn ps.reduce(function(errors, p) {\n\t\t\tif (isNaN(Number(p))) errors.push(nanError(p));\n\t\t\telse if (p < 0) errors.push(lessThanZeroError(p));\n\t\t\telse if (p > 100) errors.push(greaterThanHundredError(p));\n\t\t\treturn errors;\n\t\t}, []);\n\t}\n\t/**\n\t* Get percentile value from an array.\n\t*\n\t* @param {Number} p - percentile\n\t* @param {Array|TypedArray} list - list of values\n\t*\n\t* @return {*}\n\t*/\n\tfunction getPsValue(p, list) {\n\t\tif (p === 0) return list[0];\n\t\treturn list[Math.ceil(list.length * (p / 100)) - 1];\n\t}\n\t/**\n\t* Calculate percentile for given array of values.\n\t*\n\t* @template T\n\t* @param {Number|Array<Number>} pOrPs - percentile or a list of percentiles\n\t* @param {Array<T>|Array<Number>|TypedArray} list - array of values\n\t* @param {function(T): Number} [fn] - optional function to extract a value from an array item\n\t*\n\t* @return {Number|T|Array<Number>|Array<T>}\n\t*/\n\tfunction percentile(pOrPs, list, fn) {\n\t\tvar ps = Array.isArray(pOrPs) ? pOrPs : [pOrPs];\n\t\tvar validationErrors = validateInput(ps);\n\t\tif (validationErrors.length) throw new Error(validationErrors.join(\" \"));\n\t\tlist = list.slice().sort(function(a, b) {\n\t\t\tif (fn) {\n\t\t\t\ta = fn(a);\n\t\t\t\tb = fn(b);\n\t\t\t}\n\t\t\ta = Number.isNaN(a) ? Number.NEGATIVE_INFINITY : a;\n\t\t\tb = Number.isNaN(b) ? Number.NEGATIVE_INFINITY : b;\n\t\t\tif (a > b) return 1;\n\t\t\tif (a < b) return -1;\n\t\t\treturn 0;\n\t\t});\n\t\tif (ps.length === 1) return getPsValue(ps[0], list);\n\t\treturn ps.map(function(p) {\n\t\t\treturn getPsValue(p, list);\n\t\t});\n\t}\n\tmodule.exports = percentile;\n}));\nvar import_timsort = /* @__PURE__ */ __toESM(require_timsort(), 1);\nvar import_lib = /* @__PURE__ */ __toESM(require_lib(), 1);\nvar InstrumentGauge = class extends InstrumentBase {\n\t#val = 0;\n\t#maxval = null;\n\t#lastObservedValue = 0;\n\t#timeSeriesList = [];\n\t#maxSampleSize = 0;\n\t#timerInterval = 0;\n\t#observer = null;\n\t#min = null;\n\t#max = 0;\n\t#observations = 0;\n\t#total = 0;\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (!options.label) this.label = \"InstrumentGauge\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.interval === \"undefined\") this.#timerInterval = 0;\n\t\telse this.#timerInterval = options.interval;\n\t\tif (typeof options.sampleSize === \"undefined\") this.#maxSampleSize = 600;\n\t\telse this.#maxSampleSize = options.sampleSize;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_GAUGE\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\n\t\t\t\"val\",\n\t\t\t\"min\",\n\t\t\t\"max\",\n\t\t\t\"avg\",\n\t\t\t\"percentile\"\n\t\t]);\n\t\telse {\n\t\t\tObject.defineProperty(this, \"val\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => this.#GetVal(),\n\t\t\t\tset: (value) => {\n\t\t\t\t\tthis.#SetVal(value);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (this.#timerInterval > 0) {\n\t\t\t\tObject.defineProperty(this, \"percentile\", {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tget: () => this.#GetPercentileData()\n\t\t\t\t});\n\t\t\t\tthis._StartTimer();\n\t\t\t}\n\t\t}\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\tif (typeof options.fromJSON !== \"undefined\") {\n\t\t\tconst result = _cloneDeep(options.fromJSON);\n\t\t\tthis.val = result.val;\n\t\t\tif (result.percentile) this.percentile = result.percentile;\n\t\t\tif (result.min) this.min = result.min;\n\t\t\tif (result.max) this.max = result.max;\n\t\t\tif (result.avg) this.avg = result.avg;\n\t\t}\n\t}\n\tpercentile;\n\tmin;\n\tmax;\n\tavg;\n\tval = 0;\n\tWithInitVal(initVal) {\n\t\tthis.val = initVal;\n\t\treturn this;\n\t}\n\tWithMin() {\n\t\tObject.defineProperty(this, \"min\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetMin()\n\t\t});\n\t\treturn this;\n\t}\n\tWithMax() {\n\t\tObject.defineProperty(this, \"max\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetMax()\n\t\t});\n\t\treturn this;\n\t}\n\tWithAverage() {\n\t\tObject.defineProperty(this, \"avg\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetAverage()\n\t\t});\n\t\treturn this;\n\t}\n\t_StartTimer() {\n\t\tif (this.#timerInterval > 0) {\n\t\t\tthis.#timeSeriesList = [];\n\t\t\tthis.#observer = setInterval(() => {\n\t\t\t\tif (this.#timeSeriesList.length > this.#maxSampleSize) this.#timeSeriesList.shift();\n\t\t\t\tconst maxval = this.#GetAndResetMaxVal();\n\t\t\t\tthis.#timeSeriesList.push(maxval);\n\t\t\t}, this.#timerInterval);\n\t\t\tif (isNode) this.#observer.unref();\n\t\t} else throw new Error(`Unable to StartTimer for this instrument. The interval is set to <= 0.`);\n\t}\n\tStopTimer() {\n\t\tif (this.#observer) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tthis.#timeSeriesList = [];\n\t\t}\n\t}\n\t/**\n\t* If the gauge is being monitored as part of a time series, get the most recent recorded value (max value) from within the time interval\n\t* otherwise, just return the current instant value.\n\t*/\n\t#GetVal() {\n\t\tif (this.#timerInterval > 0 && this.#observer !== null) if (this.#maxval === null) return this.GetNumber(this.#lastObservedValue);\n\t\telse return this.GetNumber(this.#maxval);\n\t\treturn this.GetNumber(this.#val);\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#val = updatedValue;\n\t\tthis.#observations++;\n\t\tthis.#total += updatedValue;\n\t\tif (this.#val > this.#max) this.#max = this.#val;\n\t\tif (this.#min !== null) {\n\t\t\tif (this.#val < this.#min) this.#min = this.#val;\n\t\t} else this.#min = this.#val;\n\t\tif (this.#timerInterval > 0) {\n\t\t\tthis.#lastObservedValue = updatedValue;\n\t\t\tif (this.#maxval === null) this.#maxval = this.#val;\n\t\t\telse if (this.#val > this.#maxval) this.#maxval = this.#val;\n\t\t}\n\t}\n\t#GetMin() {\n\t\tif (this.#min !== null) return this.#min;\n\t\treturn 0;\n\t}\n\t#GetMax() {\n\t\treturn this.#max;\n\t}\n\t#GetAverage() {\n\t\tif (this.#observations > 0) return this.#total / this.#observations;\n\t\treturn 0;\n\t}\n\tReset() {\n\t\tthis.StopTimer();\n\t\tthis.#maxval = 0;\n\t\tthis.#lastObservedValue = 0;\n\t\tthis.#val = 0;\n\t\tthis.#min = null;\n\t\tthis.#max = 0;\n\t\tthis.#observations = 0;\n\t\tthis.#total = 0;\n\t\tif (this.#timerInterval > 0) this._StartTimer();\n\t}\n\t#GetAndResetMaxVal() {\n\t\tif (this.#maxval === null) return this.#lastObservedValue;\n\t\tconst retVal = this.#maxval;\n\t\tthis.#maxval = null;\n\t\treturn retVal;\n\t}\n\tInc(incVal = 1) {\n\t\tthis.#SetVal(this.#val + incVal);\n\t}\n\tDec(decVal = 1) {\n\t\tthis.#SetVal(this.#val - decVal);\n\t}\n\t#NumberCompare(a, b) {\n\t\treturn a - b;\n\t}\n\t#GetPercentileData() {\n\t\tconst sortedList = this.#timeSeriesList.slice(0);\n\t\timport_timsort.sort(sortedList, this.#NumberCompare);\n\t\treturn (0, import_lib.default)([\n\t\t\t50,\n\t\t\t80,\n\t\t\t90,\n\t\t\t95,\n\t\t\t99,\n\t\t\t99.95\n\t\t], sortedList);\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.Inc !== void 0) this.Inc(telemetry.Inc);\n\t\tif (telemetry.Dec !== void 0) this.Dec(telemetry.Dec);\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\nvar InstrumentObject = class extends InstrumentBase {\n\t#val = {};\n\t#copy = false;\n\tconstructor(options = {}) {\n\t\tsuper(options);\n\t\tif (typeof options.label === \"undefined\") this.label = \"InstrumentObject\";\n\t\telse this.label = options.label;\n\t\tif (typeof options.fromJSON === \"undefined\") this.#copy = false;\n\t\telse this.#copy = true;\n\t\tObject.defineProperty(this, GaugeTypes.GAUGE_TYPE, {\n\t\t\tenumerable: true,\n\t\t\tget: () => GaugeTypes.INSTRUMENT_OBJECT\n\t\t});\n\t\tif (this.#copy) this.DefineCopyProperties([\"val\"]);\n\t\telse Object.defineProperty(this, \"val\", {\n\t\t\tenumerable: true,\n\t\t\tget: () => this.#GetVal(),\n\t\t\tset: (value) => {\n\t\t\t\tthis.#SetVal(value);\n\t\t\t}\n\t\t});\n\t\tif (typeof options.initValue !== \"undefined\") this.val = options.initValue;\n\t\telse this.val = {};\n\t\tif (typeof options.fromJSON !== \"undefined\") this.val = _cloneDeep(options.fromJSON).val;\n\t}\n\tval;\n\tWithInitVal(initVal) {\n\t\tthis.val = initVal;\n\t\treturn this;\n\t}\n\t#GetVal() {\n\t\treturn this.#val;\n\t}\n\t#SetVal(updatedValue) {\n\t\tthis.#val = updatedValue;\n\t}\n\tProcessTelemetry(telemetry) {\n\t\tif (telemetry.val !== void 0) this.val = telemetry.val;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs\nfunction utf8Count(str) {\n\tconst strLength = str.length;\n\tlet byteLength = 0;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\tbyteLength++;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) byteLength += 2;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) byteLength += 3;\n\t\t\telse byteLength += 4;\n\t\t}\n\t}\n\treturn byteLength;\n}\nfunction utf8EncodeJs(str, output, outputOffset) {\n\tconst strLength = str.length;\n\tlet offset = outputOffset;\n\tlet pos = 0;\n\twhile (pos < strLength) {\n\t\tlet value = str.charCodeAt(pos++);\n\t\tif ((value & 4294967168) === 0) {\n\t\t\toutput[offset++] = value;\n\t\t\tcontinue;\n\t\t} else if ((value & 4294965248) === 0) output[offset++] = value >> 6 & 31 | 192;\n\t\telse {\n\t\t\tif (value >= 55296 && value <= 56319) {\n\t\t\t\tif (pos < strLength) {\n\t\t\t\t\tconst extra = str.charCodeAt(pos);\n\t\t\t\t\tif ((extra & 64512) === 56320) {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t\tvalue = ((value & 1023) << 10) + (extra & 1023) + 65536;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((value & 4294901760) === 0) {\n\t\t\t\toutput[offset++] = value >> 12 & 15 | 224;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t} else {\n\t\t\t\toutput[offset++] = value >> 18 & 7 | 240;\n\t\t\t\toutput[offset++] = value >> 12 & 63 | 128;\n\t\t\t\toutput[offset++] = value >> 6 & 63 | 128;\n\t\t\t}\n\t\t}\n\t\toutput[offset++] = value & 63 | 128;\n\t}\n}\nvar sharedTextEncoder = new TextEncoder();\nvar TEXT_ENCODER_THRESHOLD = 50;\nfunction utf8EncodeTE(str, output, outputOffset) {\n\tsharedTextEncoder.encodeInto(str, output.subarray(outputOffset));\n}\nfunction utf8Encode(str, output, outputOffset) {\n\tif (str.length > TEXT_ENCODER_THRESHOLD) utf8EncodeTE(str, output, outputOffset);\n\telse utf8EncodeJs(str, output, outputOffset);\n}\nnew TextDecoder();\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtData.mjs\n/**\n* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.\n*/\nvar ExtData = class {\n\ttype;\n\tdata;\n\tconstructor(type, data) {\n\t\tthis.type = type;\n\t\tthis.data = data;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/DecodeError.mjs\nvar DecodeError = class DecodeError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tconst proto = Object.create(DecodeError.prototype);\n\t\tObject.setPrototypeOf(this, proto);\n\t\tObject.defineProperty(this, \"name\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: DecodeError.name\n\t\t});\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/int.mjs\nfunction setUint64(view, offset, value) {\n\tconst high = value / 4294967296;\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction setInt64(view, offset, value) {\n\tconst high = Math.floor(value / 4294967296);\n\tconst low = value;\n\tview.setUint32(offset, high);\n\tview.setUint32(offset + 4, low);\n}\nfunction getInt64(view, offset) {\n\tconst high = view.getInt32(offset);\n\tconst low = view.getUint32(offset + 4);\n\treturn high * 4294967296 + low;\n}\nvar TIMESTAMP32_MAX_SEC = 4294967295;\nvar TIMESTAMP64_MAX_SEC = 17179869183;\nfunction encodeTimeSpecToTimestamp({ sec, nsec }) {\n\tif (sec >= 0 && nsec >= 0 && sec <= TIMESTAMP64_MAX_SEC) if (nsec === 0 && sec <= TIMESTAMP32_MAX_SEC) {\n\t\tconst rv = new Uint8Array(4);\n\t\tnew DataView(rv.buffer).setUint32(0, sec);\n\t\treturn rv;\n\t} else {\n\t\tconst secHigh = sec / 4294967296;\n\t\tconst secLow = sec & 4294967295;\n\t\tconst rv = new Uint8Array(8);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec << 2 | secHigh & 3);\n\t\tview.setUint32(4, secLow);\n\t\treturn rv;\n\t}\n\telse {\n\t\tconst rv = new Uint8Array(12);\n\t\tconst view = new DataView(rv.buffer);\n\t\tview.setUint32(0, nsec);\n\t\tsetInt64(view, 4, sec);\n\t\treturn rv;\n\t}\n}\nfunction encodeDateToTimeSpec(date) {\n\tconst msec = date.getTime();\n\tconst sec = Math.floor(msec / 1e3);\n\tconst nsec = (msec - sec * 1e3) * 1e6;\n\tconst nsecInSec = Math.floor(nsec / 1e9);\n\treturn {\n\t\tsec: sec + nsecInSec,\n\t\tnsec: nsec - nsecInSec * 1e9\n\t};\n}\nfunction encodeTimestampExtension(object) {\n\tif (object instanceof Date) return encodeTimeSpecToTimestamp(encodeDateToTimeSpec(object));\n\telse return null;\n}\nfunction decodeTimestampToTimeSpec(data) {\n\tconst view = new DataView(data.buffer, data.byteOffset, data.byteLength);\n\tswitch (data.byteLength) {\n\t\tcase 4: return {\n\t\t\tsec: view.getUint32(0),\n\t\t\tnsec: 0\n\t\t};\n\t\tcase 8: {\n\t\t\tconst nsec30AndSecHigh2 = view.getUint32(0);\n\t\t\tconst secLow32 = view.getUint32(4);\n\t\t\treturn {\n\t\t\t\tsec: (nsec30AndSecHigh2 & 3) * 4294967296 + secLow32,\n\t\t\t\tnsec: nsec30AndSecHigh2 >>> 2\n\t\t\t};\n\t\t}\n\t\tcase 12: return {\n\t\t\tsec: getInt64(view, 4),\n\t\t\tnsec: view.getUint32(0)\n\t\t};\n\t\tdefault: throw new DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${data.length}`);\n\t}\n}\nfunction decodeTimestampExtension(data) {\n\tconst timeSpec = decodeTimestampToTimeSpec(data);\n\treturn /* @__PURE__ */ new Date(timeSpec.sec * 1e3 + timeSpec.nsec / 1e6);\n}\nvar timestampExtension = {\n\ttype: -1,\n\tencode: encodeTimestampExtension,\n\tdecode: decodeTimestampExtension\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/ExtensionCodec.mjs\nvar ExtensionCodec = class ExtensionCodec {\n\tstatic defaultCodec = new ExtensionCodec();\n\t__brand;\n\tbuiltInEncoders = [];\n\tbuiltInDecoders = [];\n\tencoders = [];\n\tdecoders = [];\n\tconstructor() {\n\t\tthis.register(timestampExtension);\n\t}\n\tregister({ type, encode, decode }) {\n\t\tif (type >= 0) {\n\t\t\tthis.encoders[type] = encode;\n\t\t\tthis.decoders[type] = decode;\n\t\t} else {\n\t\t\tconst index = -1 - type;\n\t\t\tthis.builtInEncoders[index] = encode;\n\t\t\tthis.builtInDecoders[index] = decode;\n\t\t}\n\t}\n\ttryToEncode(object, context) {\n\t\tfor (let i = 0; i < this.builtInEncoders.length; i++) {\n\t\t\tconst encodeExt = this.builtInEncoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(-1 - i, data);\n\t\t\t}\n\t\t}\n\t\tfor (let i = 0; i < this.encoders.length; i++) {\n\t\t\tconst encodeExt = this.encoders[i];\n\t\t\tif (encodeExt != null) {\n\t\t\t\tconst data = encodeExt(object, context);\n\t\t\t\tif (data != null) return new ExtData(i, data);\n\t\t\t}\n\t\t}\n\t\tif (object instanceof ExtData) return object;\n\t\treturn null;\n\t}\n\tdecode(data, type, context) {\n\t\tconst decodeExt = type < 0 ? this.builtInDecoders[-1 - type] : this.decoders[type];\n\t\tif (decodeExt) return decodeExt(data, type, context);\n\t\telse return new ExtData(type, data);\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/utils/typedArrays.mjs\nfunction isArrayBufferLike(buffer) {\n\treturn buffer instanceof ArrayBuffer || typeof SharedArrayBuffer !== \"undefined\" && buffer instanceof SharedArrayBuffer;\n}\nfunction ensureUint8Array(buffer) {\n\tif (buffer instanceof Uint8Array) return buffer;\n\telse if (ArrayBuffer.isView(buffer)) return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n\telse if (isArrayBufferLike(buffer)) return new Uint8Array(buffer);\n\telse return Uint8Array.from(buffer);\n}\nvar Encoder = class Encoder {\n\textensionCodec;\n\tcontext;\n\tuseBigInt64;\n\tmaxDepth;\n\tinitialBufferSize;\n\tsortKeys;\n\tforceFloat32;\n\tignoreUndefined;\n\tforceIntegerToFloat;\n\tpos;\n\tview;\n\tbytes;\n\tentered = false;\n\tconstructor(options) {\n\t\tthis.extensionCodec = options?.extensionCodec ?? ExtensionCodec.defaultCodec;\n\t\tthis.context = options?.context;\n\t\tthis.useBigInt64 = options?.useBigInt64 ?? false;\n\t\tthis.maxDepth = options?.maxDepth ?? 100;\n\t\tthis.initialBufferSize = options?.initialBufferSize ?? 2048;\n\t\tthis.sortKeys = options?.sortKeys ?? false;\n\t\tthis.forceFloat32 = options?.forceFloat32 ?? false;\n\t\tthis.ignoreUndefined = options?.ignoreUndefined ?? false;\n\t\tthis.forceIntegerToFloat = options?.forceIntegerToFloat ?? false;\n\t\tthis.pos = 0;\n\t\tthis.view = new DataView(new ArrayBuffer(this.initialBufferSize));\n\t\tthis.bytes = new Uint8Array(this.view.buffer);\n\t}\n\tclone() {\n\t\treturn new Encoder({\n\t\t\textensionCodec: this.extensionCodec,\n\t\t\tcontext: this.context,\n\t\t\tuseBigInt64: this.useBigInt64,\n\t\t\tmaxDepth: this.maxDepth,\n\t\t\tinitialBufferSize: this.initialBufferSize,\n\t\t\tsortKeys: this.sortKeys,\n\t\t\tforceFloat32: this.forceFloat32,\n\t\t\tignoreUndefined: this.ignoreUndefined,\n\t\t\tforceIntegerToFloat: this.forceIntegerToFloat\n\t\t});\n\t}\n\treinitializeState() {\n\t\tthis.pos = 0;\n\t}\n\t/**\n\t* This is almost equivalent to {@link Encoder#encode}, but it returns an reference of the encoder's internal buffer and thus much faster than {@link Encoder#encode}.\n\t*\n\t* @returns Encodes the object and returns a shared reference the encoder's internal buffer.\n\t*/\n\tencodeSharedRef(object) {\n\t\tif (this.entered) return this.clone().encodeSharedRef(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.subarray(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\t/**\n\t* @returns Encodes the object and returns a copy of the encoder's internal buffer.\n\t*/\n\tencode(object) {\n\t\tif (this.entered) return this.clone().encode(object);\n\t\ttry {\n\t\t\tthis.entered = true;\n\t\t\tthis.reinitializeState();\n\t\t\tthis.doEncode(object, 1);\n\t\t\treturn this.bytes.slice(0, this.pos);\n\t\t} finally {\n\t\t\tthis.entered = false;\n\t\t}\n\t}\n\tdoEncode(object, depth) {\n\t\tif (depth > this.maxDepth) throw new Error(`Too deep objects in depth ${depth}`);\n\t\tif (object == null) this.encodeNil();\n\t\telse if (typeof object === \"boolean\") this.encodeBoolean(object);\n\t\telse if (typeof object === \"number\") if (!this.forceIntegerToFloat) this.encodeNumber(object);\n\t\telse this.encodeNumberAsFloat(object);\n\t\telse if (typeof object === \"string\") this.encodeString(object);\n\t\telse if (this.useBigInt64 && typeof object === \"bigint\") this.encodeBigInt64(object);\n\t\telse this.encodeObject(object, depth);\n\t}\n\tensureBufferSizeToWrite(sizeToWrite) {\n\t\tconst requiredSize = this.pos + sizeToWrite;\n\t\tif (this.view.byteLength < requiredSize) this.resizeBuffer(requiredSize * 2);\n\t}\n\tresizeBuffer(newSize) {\n\t\tconst newBuffer = new ArrayBuffer(newSize);\n\t\tconst newBytes = new Uint8Array(newBuffer);\n\t\tconst newView = new DataView(newBuffer);\n\t\tnewBytes.set(this.bytes);\n\t\tthis.view = newView;\n\t\tthis.bytes = newBytes;\n\t}\n\tencodeNil() {\n\t\tthis.writeU8(192);\n\t}\n\tencodeBoolean(object) {\n\t\tif (object === false) this.writeU8(194);\n\t\telse this.writeU8(195);\n\t}\n\tencodeNumber(object) {\n\t\tif (!this.forceIntegerToFloat && Number.isSafeInteger(object)) if (object >= 0) if (object < 128) this.writeU8(object);\n\t\telse if (object < 256) {\n\t\t\tthis.writeU8(204);\n\t\t\tthis.writeU8(object);\n\t\t} else if (object < 65536) {\n\t\t\tthis.writeU8(205);\n\t\t\tthis.writeU16(object);\n\t\t} else if (object < 4294967296) {\n\t\t\tthis.writeU8(206);\n\t\t\tthis.writeU32(object);\n\t\t} else if (!this.useBigInt64) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeU64(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t\telse if (object >= -32) this.writeU8(224 | object + 32);\n\t\telse if (object >= -128) {\n\t\t\tthis.writeU8(208);\n\t\t\tthis.writeI8(object);\n\t\t} else if (object >= -32768) {\n\t\t\tthis.writeU8(209);\n\t\t\tthis.writeI16(object);\n\t\t} else if (object >= -2147483648) {\n\t\t\tthis.writeU8(210);\n\t\t\tthis.writeI32(object);\n\t\t} else if (!this.useBigInt64) {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeI64(object);\n\t\t} else this.encodeNumberAsFloat(object);\n\t\telse this.encodeNumberAsFloat(object);\n\t}\n\tencodeNumberAsFloat(object) {\n\t\tif (this.forceFloat32) {\n\t\t\tthis.writeU8(202);\n\t\t\tthis.writeF32(object);\n\t\t} else {\n\t\t\tthis.writeU8(203);\n\t\t\tthis.writeF64(object);\n\t\t}\n\t}\n\tencodeBigInt64(object) {\n\t\tif (object >= BigInt(0)) {\n\t\t\tthis.writeU8(207);\n\t\t\tthis.writeBigUint64(object);\n\t\t} else {\n\t\t\tthis.writeU8(211);\n\t\t\tthis.writeBigInt64(object);\n\t\t}\n\t}\n\twriteStringHeader(byteLength) {\n\t\tif (byteLength < 32) this.writeU8(160 + byteLength);\n\t\telse if (byteLength < 256) {\n\t\t\tthis.writeU8(217);\n\t\t\tthis.writeU8(byteLength);\n\t\t} else if (byteLength < 65536) {\n\t\t\tthis.writeU8(218);\n\t\t\tthis.writeU16(byteLength);\n\t\t} else if (byteLength < 4294967296) {\n\t\t\tthis.writeU8(219);\n\t\t\tthis.writeU32(byteLength);\n\t\t} else throw new Error(`Too long string: ${byteLength} bytes in UTF-8`);\n\t}\n\tencodeString(object) {\n\t\tconst maxHeaderSize = 5;\n\t\tconst byteLength = utf8Count(object);\n\t\tthis.ensureBufferSizeToWrite(maxHeaderSize + byteLength);\n\t\tthis.writeStringHeader(byteLength);\n\t\tutf8Encode(object, this.bytes, this.pos);\n\t\tthis.pos += byteLength;\n\t}\n\tencodeObject(object, depth) {\n\t\tconst ext = this.extensionCodec.tryToEncode(object, this.context);\n\t\tif (ext != null) this.encodeExtension(ext);\n\t\telse if (Array.isArray(object)) this.encodeArray(object, depth);\n\t\telse if (ArrayBuffer.isView(object)) this.encodeBinary(object);\n\t\telse if (typeof object === \"object\") this.encodeMap(object, depth);\n\t\telse throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(object)}`);\n\t}\n\tencodeBinary(object) {\n\t\tconst size = object.byteLength;\n\t\tif (size < 256) {\n\t\t\tthis.writeU8(196);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(197);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(198);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large binary: ${size}`);\n\t\tconst bytes = ensureUint8Array(object);\n\t\tthis.writeU8a(bytes);\n\t}\n\tencodeArray(object, depth) {\n\t\tconst size = object.length;\n\t\tif (size < 16) this.writeU8(144 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(220);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(221);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large array: ${size}`);\n\t\tfor (const item of object) this.doEncode(item, depth + 1);\n\t}\n\tcountWithoutUndefined(object, keys) {\n\t\tlet count = 0;\n\t\tfor (const key of keys) if (object[key] !== void 0) count++;\n\t\treturn count;\n\t}\n\tencodeMap(object, depth) {\n\t\tconst keys = Object.keys(object);\n\t\tif (this.sortKeys) keys.sort();\n\t\tconst size = this.ignoreUndefined ? this.countWithoutUndefined(object, keys) : keys.length;\n\t\tif (size < 16) this.writeU8(128 + size);\n\t\telse if (size < 65536) {\n\t\t\tthis.writeU8(222);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(223);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large map object: ${size}`);\n\t\tfor (const key of keys) {\n\t\t\tconst value = object[key];\n\t\t\tif (!(this.ignoreUndefined && value === void 0)) {\n\t\t\t\tthis.encodeString(key);\n\t\t\t\tthis.doEncode(value, depth + 1);\n\t\t\t}\n\t\t}\n\t}\n\tencodeExtension(ext) {\n\t\tif (typeof ext.data === \"function\") {\n\t\t\tconst data = ext.data(this.pos + 6);\n\t\t\tconst size = data.length;\n\t\t\tif (size >= 4294967296) throw new Error(`Too large extension object: ${size}`);\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t\tthis.writeI8(ext.type);\n\t\t\tthis.writeU8a(data);\n\t\t\treturn;\n\t\t}\n\t\tconst size = ext.data.length;\n\t\tif (size === 1) this.writeU8(212);\n\t\telse if (size === 2) this.writeU8(213);\n\t\telse if (size === 4) this.writeU8(214);\n\t\telse if (size === 8) this.writeU8(215);\n\t\telse if (size === 16) this.writeU8(216);\n\t\telse if (size < 256) {\n\t\t\tthis.writeU8(199);\n\t\t\tthis.writeU8(size);\n\t\t} else if (size < 65536) {\n\t\t\tthis.writeU8(200);\n\t\t\tthis.writeU16(size);\n\t\t} else if (size < 4294967296) {\n\t\t\tthis.writeU8(201);\n\t\t\tthis.writeU32(size);\n\t\t} else throw new Error(`Too large extension object: ${size}`);\n\t\tthis.writeI8(ext.type);\n\t\tthis.writeU8a(ext.data);\n\t}\n\twriteU8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setUint8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU8a(values) {\n\t\tconst size = values.length;\n\t\tthis.ensureBufferSizeToWrite(size);\n\t\tthis.bytes.set(values, this.pos);\n\t\tthis.pos += size;\n\t}\n\twriteI8(value) {\n\t\tthis.ensureBufferSizeToWrite(1);\n\t\tthis.view.setInt8(this.pos, value);\n\t\tthis.pos++;\n\t}\n\twriteU16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setUint16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteI16(value) {\n\t\tthis.ensureBufferSizeToWrite(2);\n\t\tthis.view.setInt16(this.pos, value);\n\t\tthis.pos += 2;\n\t}\n\twriteU32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setUint32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteI32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setInt32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF32(value) {\n\t\tthis.ensureBufferSizeToWrite(4);\n\t\tthis.view.setFloat32(this.pos, value);\n\t\tthis.pos += 4;\n\t}\n\twriteF64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setFloat64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteU64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetUint64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteI64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tsetInt64(this.view, this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigUint64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigUint64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n\twriteBigInt64(value) {\n\t\tthis.ensureBufferSizeToWrite(8);\n\t\tthis.view.setBigInt64(this.pos, value);\n\t\tthis.pos += 8;\n\t}\n};\n//#endregion\n//#region node_modules/@msgpack/msgpack/dist.esm/encode.mjs\n/**\n* It encodes `value` in the MessagePack format and\n* returns a byte buffer.\n*\n* The returned buffer is a slice of a larger `ArrayBuffer`, so you have to use its `#byteOffset` and `#byteLength` in order to convert it to another typed arrays including NodeJS `Buffer`.\n*/\nfunction encode(value, options) {\n\treturn new Encoder(options).encodeSharedRef(value);\n}\n//#endregion\n//#region src/publish/publishers/publishTransportRESTServer.ts\nvar PublishTransportRESTServer = class {\n\toptions;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\tPublish = async (payload) => {\n\t\ttry {\n\t\t\tif (this.options.showPublishPayload) {\n\t\t\t\tconsole.log(chalk.grey(`PublishTransportRESTServer::Publish() url: [${this.options.url}]`));\n\t\t\t\tconsole.log(payload);\n\t\t\t}\n\t\t\tconst encodedData = encode(payload, { ignoreUndefined: true });\n\t\t\tconst headers = { \"Content-Type\": \"application/octet-stream\" };\n\t\t\tlet retVal = null;\n\t\t\tif (this.options.socketPath) retVal = await axios({\n\t\t\t\tmethod: \"post\",\n\t\t\t\tdata: Buffer.from(encodedData),\n\t\t\t\theaders,\n\t\t\t\tsocketPath: this.options.socketPath\n\t\t\t});\n\t\t\telse if (isNode) if (this.options.agentManager) retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).withAgentManager(this.options.agentManager).config);\n\t\t\telse retVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(Buffer.from(encodedData)).config);\n\t\t\telse {\n\t\t\t\tconst blob = new Blob([new Uint8Array(encodedData)], { type: \"application/octet-stream\" });\n\t\t\t\tretVal = await axios(new STSAxiosConfig(this.options.url, \"post\", headers).withData(blob).config);\n\t\t\t}\n\t\t\tif (retVal.status !== 200) {\n\t\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\tthis.options.logger.debug(chalk.red(`Error (_PerformPublishRESTAPI:_PerformPublish:#publishmessage): Invalid response from server: [${retVal.status}]`));\n\t\t\t\treturn false;\n\t\t\t} else if (this.options.showPublishPayload) console.log(chalk.grey(`PublishTransportRESTServer::Publish() _PerformPublishRESTAPI:_PerformPublish:#publishmessage: [${this.options.url}] - Valid response from server: [${retVal.status}]`));\n\t\t\treturn true;\n\t\t} catch (error) {\n\t\t\tif (this.options.showPublishPayload) console.log(chalk.red(`PublishTransportRESTServer::Publish() Error (PublishRESTServer:_PerformPublishRESTAPI:Error: [${error}]`));\n\t\t\treturn false;\n\t\t}\n\t};\n\tasync Close() {\n\t\tif (this.options.agentManager) this.options.agentManager.Terminate();\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstruments.ts\nvar ePublishState$1 = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstruments = class {\n\toptions;\n\t#inPublish = false;\n\t#observer = null;\n\t#publishState = ePublishState$1.init;\n\t#publisherTransport = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.#publisherTransport = null;\n\t\tswitch (options.publishTransportBaseOptions.transportType) {\n\t\t\tcase TransportType.RESTAPI:\n\t\t\t\tthis.#publisherTransport = new PublishTransportRESTServer(options.publishTransportBaseOptions);\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.init, \"constructor()\");\n\t}\n\tasync Publish() {\n\t\tif (this.#inPublish) return false;\n\t\tif (this.#publisherTransport) try {\n\t\t\tthis.#inPublish = true;\n\t\t\tif (this.options.publishInstrumentController) {\n\t\t\t\tconst instrumentPayload = this.options.publishInstrumentController.GetPayloadData();\n\t\t\t\treturn await this.#publisherTransport.Publish(instrumentPayload);\n\t\t\t}\n\t\t\treturn false;\n\t\t} catch (error) {\n\t\t\treturn false;\n\t\t} finally {\n\t\t\tthis.#inPublish = false;\n\t\t}\n\t\telse return false;\n\t}\n\t#PublishTimeoutLoop(publishInterval) {\n\t\tthis.#observer = setTimeout(async () => {\n\t\t\tconst start = performance.now();\n\t\t\tconst result = await this.Publish();\n\t\t\tconst diff = performance.now() - start;\n\t\t\tif (this.#publishState === ePublishState$1.started) if (result === true) this.#PublishTimeoutLoop(this.options.publishInterval - diff);\n\t\t\telse this.#PublishTimeoutLoop(this.options.publishPostFailInterval - diff);\n\t\t}, publishInterval);\n\t\tif (isNode) this.#observer.unref();\n\t}\n\tasync StartPublish() {\n\t\tif (this.#publishState !== ePublishState$1.init) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`StartPublish:${this.options.processContext.nid}: StartPublish called when not currently in the init state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.started, \"StartPublish()\");\n\t\tthis.#PublishTimeoutLoop(this.options.publishInterval);\n\t\treturn true;\n\t}\n\t#UpdateState(newState, comment) {\n\t\tconst previousState = this.#publishState;\n\t\tthis.#publishState = newState;\n\t\tthis.options.logger.debug(chalk.yellow(`#UpdateState:${this.options.processContext.nid}: Previous State: [${previousState}]. Current State: [${this.#publishState}]. Comment: [${comment}]`));\n\t}\n\tasync EndPublish() {\n\t\tif (this.#publishState !== ePublishState$1.started) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`EndPublish:${this.options.processContext.nid}: EndPublish called when not within the started state. Current State: [${this.#publishState}]`));\n\t\t\treturn false;\n\t\t}\n\t\tthis.#UpdateState(ePublishState$1.stopping, \"EndPublish() (1)\");\n\t\tif (this.#observer !== null) {\n\t\t\tclearTimeout(this.#observer);\n\t\t\tthis.#observer = null;\n\t\t\tawait this.Publish();\n\t\t}\n\t\tif (this.#publisherTransport) await this.#publisherTransport.Close();\n\t\tthis.#UpdateState(ePublishState$1.init, \"EndPublish() (2)\");\n\t\treturn true;\n\t}\n};\n//#endregion\n//#region src/publish/publishInstrumentController.ts\nvar ePublishState = /* @__PURE__ */ function(ePublishState) {\n\tePublishState[ePublishState[\"init\"] = 0] = \"init\";\n\tePublishState[ePublishState[\"started\"] = 1] = \"started\";\n\tePublishState[ePublishState[\"stopping\"] = 2] = \"stopping\";\n\treturn ePublishState;\n}({});\n/**\n* This class managers the creation of instruments and the publication of instrumentation telemetry to the instrument manager service.\n*/\nvar PublishInstrumentController = class PublishInstrumentController {\n\toptions;\n\t#instruments = {};\n\t#publisher = null;\n\tconstructor(options) {\n\t\tthis.options = options;\n\t\tthis.SetupInstrumentation();\n\t\tthis.#publisher = new PublishInstruments({\n\t\t\tlogger: options.logger,\n\t\t\tprocessContext: { ...options.processContext },\n\t\t\tpublishInterval: options.publishInterval,\n\t\t\tpublishPostFailInterval: options.publishPostFailInterval,\n\t\t\tpublishInstrumentController: this,\n\t\t\tpublishTransportBaseOptions: { ...options.publishTransportBaseOptions }\n\t\t});\n\t\tif (this.options.autoStart === true) this.StartPublish();\n\t}\n\tasync StartPublish() {\n\t\treturn this.#publisher.StartPublish();\n\t}\n\tasync EndPublish() {\n\t\treturn this.#publisher.EndPublish();\n\t}\n\tasync Publish() {\n\t\treturn this.#publisher.Publish();\n\t}\n\tLogEx = (message) => {\n\t\tthis.UpdateInstrument(Gauge.LOGGER, { LogMessage: message });\n\t};\n\t#GetInstrument(instrumentName) {\n\t\treturn this.#instruments[instrumentName];\n\t}\n\t#ProcessTelemetryCommand(instrumentName, telemetry) {\n\t\tconst instrument = this.#GetInstrument(instrumentName);\n\t\tif (instrument) instrument.ProcessTelemetry(telemetry);\n\t}\n\t#CreateInstrument(instrumentType, options) {\n\t\tlet instrument;\n\t\tswitch (instrumentType) {\n\t\t\tcase GaugeTypes.INSTRUMENT_GAUGE:\n\t\t\t\tinstrument = new InstrumentGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_HISTOGRAM:\n\t\t\t\tinstrument = new InstrumentHistogram(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_LOG:\n\t\t\t\tinstrument = new InstrumentLog(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_OBJECT:\n\t\t\t\tinstrument = new InstrumentObject(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_TIMER:\n\t\t\t\tinstrument = new InstrumentTimerGauge(options);\n\t\t\t\tbreak;\n\t\t\tcase GaugeTypes.INSTRUMENT_VELOCITY:\n\t\t\t\tinstrument = new InstrumentVelocity(options);\n\t\t\t\tbreak;\n\t\t\tdefault: throw new Error(`Gauge type: [${instrumentType} not known.]`);\n\t\t}\n\t\treturn instrument;\n\t}\n\t#CreateInstruments(payload) {\n\t\tpayload.forEach((instrumentDefinition) => {\n\t\t\tconst g = instrumentDefinition[0];\n\t\t\tconst gt = instrumentDefinition[1];\n\t\t\tconst instrumentBaseOptions = instrumentDefinition[2];\n\t\t\tconst instrument = this.#CreateInstrument(gt, instrumentBaseOptions);\n\t\t\tthis.#instruments[g] = instrument;\n\t\t});\n\t}\n\tGetPayloadData() {\n\t\tconst context = this.options.processContext;\n\t\tconst instruments = this.#instruments;\n\t\tconst payloadInstruments = {};\n\t\tfor (const [key, value] of Object.entries(instruments)) if (value instanceof InstrumentLog) payloadInstruments[key] = { ...value.WithUseLatestMessages(true) };\n\t\telse payloadInstruments[key] = { ...value };\n\t\treturn {\n\t\t\tcontext,\n\t\t\tinstruments: payloadInstruments\n\t\t};\n\t}\n\tSetupInstrumentation() {\n\t\tif (!this.options.instrumentDefinitions) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation:${this.options.processContext.nid}: No instrument(s) defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tif (!this.options.processContext) {\n\t\t\tthis.options.logger.debug(chalk.yellow(`SetupInstrumentation: No context defined within supplied options.`));\n\t\t\treturn;\n\t\t}\n\t\tthis.#CreateInstruments(this.options.instrumentDefinitions);\n\t}\n\t/**\n\t* Check if an instrument exists within the managed instrument collection\n\t* @param instrumentName \n\t* @returns \n\t*/\n\tInstrumentExists(instrumentName) {\n\t\tif (this.#instruments[instrumentName]) return true;\n\t\treturn false;\n\t}\n\t/**\n\t* Update instrument telemetry.\n\t* @param instrumentName \n\t* @param telemetry \n\t*/\n\tUpdateInstrument(instrumentName, telemetry) {\n\t\tif (this.#instruments[instrumentName]) this.#ProcessTelemetryCommand(instrumentName, telemetry);\n\t\telse this.options.logger.debug(chalk.red(`UpdateInstrument:${this.options.processContext.nid}: Attempted to UpdateInstrument before initialised.`));\n\t}\n\t/**\n\t* Add additional instrument publishers. Usually invoked when adding workers to the app and/or async runners within a worker.\n\t* @param processContext \n\t* @returns Returns the newly created PublishInstrumentController\n\t*/\n\tAddPublishInstrumentController(processContext) {\n\t\tconst options = { ...this.options };\n\t\toptions.processContext = processContext;\n\t\treturn new PublishInstrumentController(options);\n\t}\n};\n//#endregion\n//#region src/publish/stsPluginKeys.ts\nvar STSInstrumentControllerPluginKey = Symbol(\"instrumentController\");\n//#endregion\n//#region src/publish/agentinstrumentcontroller.ts\nvar GetSTSInstrumentControllerPluginKey = () => STSInstrumentControllerPluginKey;\nvar CompareSTSInstrumentControllerPluginKey = (val) => val === STSInstrumentControllerPluginKey;\nvar useSTSInstrumentControllerPlugin = () => inject(STSInstrumentControllerPluginKey);\nvar GetSTSInstrumentController = (app) => {\n\treturn app.config.globalProperties.$sts[STSInstrumentControllerPluginKey];\n};\nvar STSInstrumentControllerPlugin = { install: (app, options) => {\n\toptions.logger.debug(chalk.yellow(`STSInstrumentControllerPlugin:install:Start`));\n\tconst aic = new PublishInstrumentController(options);\n\tif (!app.config.globalProperties.$sts) {\n\t\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: [app.config.globalProperties.$sts] does not exist.`));\n\t\tapp.config.globalProperties.$sts = {};\n\t\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: created empty [app.config.globalProperties.$sts].`));\n\t} else options.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: [app.config.globalProperties.$sts] already exists.`));\n\tapp.config.globalProperties.$sts.aic = aic;\n\tapp.config.globalProperties.$sts[STSInstrumentControllerPluginKey] = aic;\n\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: AgentInstrumentController installed into [app.config.globalProperties.$sts] using: [${String(STSInstrumentControllerPluginKey)}].`));\n\tapp.provide(STSInstrumentControllerPluginKey, aic);\n\toptions.logger.debug(chalk.cyan(`STSInstrumentControllerPlugin:install: AgentInstrumentController installed into 'provide' using: [${String(STSInstrumentControllerPluginKey)}].`));\n\toptions.logger.debug(chalk.green(`STSInstrumentControllerPlugin:install:End`));\n} };\n//#endregion\n//#region src/globalServiceDefinitions.ts\nvar influxDBDataType = /* @__PURE__ */ function(influxDBDataType) {\n\tinfluxDBDataType[\"intField\"] = \"intField\";\n\tinfluxDBDataType[\"floatField\"] = \"floatField\";\n\tinfluxDBDataType[\"stringField\"] = \"stringField\";\n\treturn influxDBDataType;\n}({});\nvar instrumentationObservationInterval = 1e3;\nvar instrumentationTimeWindow = 600;\nvar globalServiceDefinitions = {\n\tcoreFieldList: [\n\t\t{\n\t\t\tfieldName: \"requestCount\",\n\t\t\tgauge: Gauge.REQUEST_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"errorCount\",\n\t\t\tgauge: Gauge.ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"retryCount\",\n\t\t\tgauge: Gauge.RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationErrorCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"authenticationRetryCount\",\n\t\t\tgauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"velocity\",\n\t\t\tgauge: Gauge.VELOCITY_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"activeRequestCount\",\n\t\t\tgauge: Gauge.ACTIVE_REQUEST_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfieldName: \"coreCount\",\n\t\t\tgauge: Gauge.CORE_COUNT_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"rx\",\n\t\t\tgauge: Gauge.NETWORK_RX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"tx\",\n\t\t\tgauge: Gauge.NETWORK_TX_GAUGE,\n\t\t\tinstrumentProperty: \"va\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_VELOCITY\n\t\t},\n\t\t{\n\t\t\tfieldName: \"timer\",\n\t\t\tgauge: Gauge.TIMER_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_TIMER\n\t\t},\n\t\t{\n\t\t\tfieldName: \"duration\",\n\t\t\tgauge: Gauge.DURATION_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.DURATION_HISTOGRAM_GAUGE\n\t\t},\n\t\t{\n\t\t\tfieldName: \"latency\",\n\t\t\tgauge: Gauge.LATENCY_GAUGE,\n\t\t\tinstrumentProperty: \"val\",\n\t\t\tdataType: \"number\",\n\t\t\ttimeSeriesIndex: true,\n\t\t\tquantile: true,\n\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\tinstrumentOptions: {\n\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t},\n\t\t\thisto: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B10\",\n\t\t\t\t\tbucketLimit: 10\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B20\",\n\t\t\t\t\tbucketLimit: 20\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50\",\n\t\t\t\t\tbucketLimit: 50\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B100\",\n\t\t\t\t\tbucketLimit: 100\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B1000\",\n\t\t\t\t\tbucketLimit: 1e3\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"B50000\",\n\t\t\t\t\tbucketLimit: 5e4\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"BInfinity\",\n\t\t\t\t\tbucketLimit: -1\n\t\t\t\t}\n\t\t\t],\n\t\t\thistoGauge: Gauge.LATENCY_HISTOGRAM_GAUGE\n\t\t}\n\t],\n\tlogFieldList: [{\n\t\tfieldName: \"log\",\n\t\tgauge: Gauge.LOGGER,\n\t\tinstrumentProperty: \"val\",\n\t\tdataType: \"string\",\n\t\ttimeSeriesIndex: false,\n\t\tquantile: false,\n\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\tgaugeType: GaugeTypes.INSTRUMENT_LOG,\n\t\tinstrumentOptions: {\n\t\t\tconsoleLogging: false,\n\t\t\tinstrumentLogging: true\n\t\t}\n\t}],\n\tservices: {\n\t\t[\"service\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"serviceId\",\n\t\t\t\t\"serviceName\",\n\t\t\t\t\"serviceVersion\",\n\t\t\t\t\"serviceInstanceId\",\n\t\t\t\t\"serviceInstanceProcessId\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"pid\",\n\t\t\t\t\"ppid\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:serviceIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/serviceTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:serviceIndexInstant\",\n\t\t\t\tinstantPrefix: \"/serviceInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE,\n\t\t\t\t\tinstrumentOptions: {\n\t\t\t\t\t\tinterval: instrumentationObservationInterval,\n\t\t\t\t\t\tsampleSize: instrumentationTimeWindow\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT,\n\t\t\t\t\tinstrumentOptions: { label: \"InstrumentObjectMaster\" }\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { serviceId, serviceInstanceId, serviceInstanceProcessId } = context;\n\t\t\t\treturn `/${serviceId}/${serviceInstanceId}/${serviceInstanceProcessId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllServicesCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Services,\n\t\t\t\t\troute: \"/metrics/services\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstances,\n\t\t\t\t\troute: \"/metrics/services/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.ServiceInstance,\n\t\t\t\t\troute: \"/metrics/services/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"agent\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"id\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"agentName\",\n\t\t\t\t\"threadId\",\n\t\t\t\t\"asyncRunnerId\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:agentIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/agentTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:agentIndexInstant\",\n\t\t\t\tinstantPrefix: \"/agentInstant:\"\n\t\t\t},\n\t\t\tfieldList: [{\n\t\t\t\tfieldName: \"childCount\",\n\t\t\t\tgauge: Gauge.CHILD_COUNT,\n\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\tdataType: \"number\",\n\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t}],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { agentName, threadId, asyncRunnerId } = context;\n\t\t\t\treturn `/${agentName}/${threadId}/${asyncRunnerId}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"appid\",\n\t\t\t\tlevel3ContextField: \"appinstanceid\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllAgentsCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.Agents,\n\t\t\t\t\troute: \"/metrics/agents\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorkers,\n\t\t\t\t\troute: \"/metrics/agents/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AgentWorker,\n\t\t\t\t\troute: \"/metrics/agents/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t[\"lambda\"]: {\n\t\t\tinfluxDBContextTags: [\n\t\t\t\t\"technology\",\n\t\t\t\t\"subTechnology\",\n\t\t\t\t\"lambdaFunctionName\",\n\t\t\t\t\"lambdaInstance\",\n\t\t\t\t\"hostName\",\n\t\t\t\t\"processId\",\n\t\t\t\t\"parentProcessId\",\n\t\t\t\t\"useCase\",\n\t\t\t\t\"pattern\"\n\t\t\t],\n\t\t\tredisIndexPrefixDefinitions: {\n\t\t\t\ttimeSeriesIndex: \"idx:lambdaIndexTimeSeries\",\n\t\t\t\ttimeSeriesPrefix: \"/lambdaTimeSeries:\",\n\t\t\t\tinstantIndex: \"idx:lambdaIndexInstant\",\n\t\t\t\tinstantPrefix: \"/lambdaInstant:\"\n\t\t\t},\n\t\t\tfieldList: [\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"cpu\",\n\t\t\t\t\tgauge: Gauge.CPU_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_COUNT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionPoolCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionIdleCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"connectionWaitingCount\",\n\t\t\t\t\tgauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.intField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"systemcpu\",\n\t\t\t\t\tgauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"number\",\n\t\t\t\t\ttimeSeriesIndex: true,\n\t\t\t\t\tquantile: true,\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.floatField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_GAUGE\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tfieldName: \"memory\",\n\t\t\t\t\tgauge: Gauge.OBJECT_GAUGE,\n\t\t\t\t\tinstrumentProperty: \"val\",\n\t\t\t\t\tdataType: \"JSON\",\n\t\t\t\t\tinfluxdbDataType: influxDBDataType.stringField,\n\t\t\t\t\tgaugeType: GaugeTypes.INSTRUMENT_OBJECT\n\t\t\t\t}\n\t\t\t],\n\t\t\tGetPathFromContext(context) {\n\t\t\t\tconst { technology, subTechnology, lambdaInstance } = context;\n\t\t\t\treturn `/${technology}/${subTechnology}/${lambdaInstance}`;\n\t\t\t},\n\t\t\tredisQueryFilters: {\n\t\t\t\tlevel1ContextField: \"serviceType\",\n\t\t\t\tlevel2ContextField: \"technology\",\n\t\t\t\tlevel3ContextField: \"subTechnology\"\n\t\t\t},\n\t\t\tsubscriptionTopics: [\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.AllLambdasCombined,\n\t\t\t\t\troute: \"/metrics\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologies,\n\t\t\t\t\troute: \"/metrics/lambdas/:key\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tsubscriptionTopic: SubscriptionTopic.LambdaSubTechnologiesInstance,\n\t\t\t\t\troute: \"/metrics/lambdas/:key/:subkey\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n};\nvar GetInstruments = (service) => {\n\tconst fieldList = [\n\t\t...globalServiceDefinitions.coreFieldList,\n\t\t...globalServiceDefinitions.logFieldList,\n\t\t...globalServiceDefinitions.services[service].fieldList\n\t];\n\tconst retVal = [];\n\tfieldList.forEach((v) => {\n\t\tif (v.instrumentOptions) retVal.push([\n\t\t\tv.gauge,\n\t\t\tv.gaugeType,\n\t\t\tv.instrumentOptions\n\t\t]);\n\t\telse retVal.push([v.gauge, v.gaugeType]);\n\t\tif (v.histo) retVal.push([v.histoGauge, GaugeTypes.INSTRUMENT_HISTOGRAM]);\n\t});\n\treturn retVal;\n};\n//#endregion\n//#region src/subscribe/observabilitymodelutils.ts\nvar ObservabilityModelUtils = class ObservabilityModelUtils {\n\tstatic GetModelNode(data) {\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize)\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeRawStringArray(data) {\n\t\ttry {\n\t\t\treturn { val: data };\n\t\t} catch (error) {\n\t\t\treturn { val: [] };\n\t\t}\n\t}\n\tstatic GetModelNodeObject(data) {\n\t\ttry {\n\t\t\treturn { val: JSON.parse(data) };\n\t\t} catch (error) {\n\t\t\treturn { val: null };\n\t\t}\n\t}\n\tstatic GetModelNodeWithQuantile(data, quantileData) {\n\t\tlet quantile = \"\";\n\t\tconst quantileDataElementArray = [];\n\t\tfor (const [key, val] of Object.entries(quantileData)) {\n\t\t\tquantile += parseFloat(val.toFixed(2)).toString().padStart(8, \" \");\n\t\t\tquantileDataElementArray.push([key, val]);\n\t\t}\n\t\tconst fixedSize = 2;\n\t\tconst padLength = 9;\n\t\ttry {\n\t\t\treturn {\n\t\t\t\tval: data,\n\t\t\t\tvf: parseFloat(data.toString()).toFixed(fixedSize).padStart(padLength, \" \"),\n\t\t\t\tvalue: parseFloat(data.toString()).toFixed(fixedSize),\n\t\t\t\tpercentile: quantileDataElementArray,\n\t\t\t\tpercentileFormatted: quantile\n\t\t\t};\n\t\t} catch (error) {\n\t\t\treturn {\n\t\t\t\tval: 0,\n\t\t\t\tvf: \"\",\n\t\t\t\tvalue: \"\",\n\t\t\t\tpercentile: [],\n\t\t\t\tpercentileFormatted: \"\"\n\t\t\t};\n\t\t}\n\t}\n\tstatic GetModelNodeHistFromInfluxData(data) {\n\t\ttry {\n\t\t\tconst histVal = [];\n\t\t\tif (data) for (const [key, val] of Object.entries(data)) {\n\t\t\t\tconst dataElement = [\n\t\t\t\t\tval,\n\t\t\t\t\tkey,\n\t\t\t\t\tparseInt(key)\n\t\t\t\t];\n\t\t\t\thistVal.push(dataElement);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\treturn { hist: histVal };\n\t\t\t} catch (error) {\n\t\t\t\treturn { hist: [] };\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn { hist: [] };\n\t\t}\n\t}\n\tstatic ParseModelNode = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNode(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNode(): Field not present: [${fieldName}], default to [0]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNode(0);\n\t\t}\n\t};\n\tstatic ParseModelNodeWithQuantile = (model, data, parseLog, gaugeName, fieldName, quantileFieldName) => {\n\t\tif (fieldName in data && quantileFieldName in data) model.instruments[gaugeName] = this.GetModelNodeWithQuantile(data[fieldName], data[quantileFieldName]);\n\t\telse if (fieldName in data) {\n\t\t\tconst dataVal = data[fieldName];\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): QuantileFieldName not present: [${quantileFieldName}], default to [${dataVal},{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(dataVal, {});\n\t\t} else {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeWithQuantile(): Field not present: [${fieldName}], QuantileFieldName not present: [${quantileFieldName}], default to [0,{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeWithQuantile(0, {});\n\t\t}\n\t};\n\tstatic ParseModelNodeHisto = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeHisto(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeHistFromInfluxData({});\n\t\t}\n\t};\n\tstatic ParseModelNodeObject = (model, data, parseLog, gaugeName, fieldName) => {\n\t\tif (fieldName in data) model.instruments[gaugeName] = this.GetModelNodeObject(data[fieldName]);\n\t\telse {\n\t\t\tparseLog.push(`ObservabilityModelUtils:ParseModelNodeObject(): Field not present: [${fieldName}], default to [{}]`);\n\t\t\tmodel.instruments[gaugeName] = this.GetModelNodeObject({});\n\t\t}\n\t};\n\tstatic GetModelData(serviceType, model, data, parseLog) {\n\t\t[...globalServiceDefinitions.coreFieldList, ...globalServiceDefinitions.services[serviceType].fieldList].forEach((field) => {\n\t\t\tif (field.quantile) ObservabilityModelUtils.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);\n\t\t\telse if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\telse ObservabilityModelUtils.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);\n\t\t\tif (field.histo) ObservabilityModelUtils.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);\n\t\t});\n\t}\n\tstatic GetModelForService(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"service\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForLambda(id, data, logger) {\n\t\ttry {\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"lambda\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tstatic GetModelForAgent(id, data, logger) {\n\t\ttry {\n\t\t\tif (Object.keys(data).length === 0) return null;\n\t\t\tconst parseLog = [];\n\t\t\tconst model = {\n\t\t\t\tid,\n\t\t\t\tinstruments: {}\n\t\t\t};\n\t\t\tthis.GetModelData(\"agent\", model, data, parseLog);\n\t\t\tmodel.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data[\"logMessages\"]);\n\t\t\tif (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));\n\t\t\treturn model;\n\t\t} catch (error) {\n\t\t\treturn null;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/observabilityPayloadTransformer.ts\nvar runStates = /* @__PURE__ */ function(runStates) {\n\trunStates[\"idle\"] = \"idle\";\n\trunStates[\"started\"] = \"started\";\n\trunStates[\"stopped\"] = \"stopped\";\n\treturn runStates;\n}({});\nvar ObservabilityPayloadTransformer = class {\n\t#serviceModel = {};\n\t#agentModel = {};\n\t#lambdaModel = {};\n\t#options;\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\tget serviceModel() {\n\t\treturn this.#serviceModel;\n\t}\n\tget agentModel() {\n\t\treturn this.#agentModel;\n\t}\n\tget lambdaModel() {\n\t\treturn this.#lambdaModel;\n\t}\n\tTransformSubscriptionPayloadCallback(subscriptionPayload) {\n\t\tswitch (subscriptionPayload.subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\tthis.CreateModelAllServicesCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\tthis.CreateModelServices(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances:\n\t\t\t\tthis.CreateModelServiceInstances(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\tthis.CreateModelServiceInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\tthis.CreateModelAllLambdasCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\tthis.CreateModelLambdaTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies:\n\t\t\t\tthis.CreateModelLambdaSubTechnologies(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\tthis.CreateModelLambdaSubTechnologiesInstance(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\tthis.CreateModelAllAgentsCombined(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\tthis.CreateModelAgents(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers:\n\t\t\t\tthis.CreateModelAgentWorkers(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorker:\n\t\t\t\tthis.CreateModelAgentWorker(subscriptionPayload);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tCreateModelAllServicesCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined.toString()) === 0) {\n\t\t\t\tthis.#serviceModel[\"STS-Service\"] = ObservabilityModelUtils.GetModelForService(\"STS-Service\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[\"STS-Service\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllServicesCombined():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServices(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, serviceTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#serviceModel[serviceId] = ObservabilityModelUtils.GetModelForService(serviceId, serviceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceId] === null) this.#LogDebugMessage(chalk.red(`CreateModelServices():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstances(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstanceTelemetry] of Object.entries(service)) if (serviceInstanceTelemetry.cpu && serviceInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceId] = ObservabilityModelUtils.GetModelForService(serviceInstanceId, serviceInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceId] !== null) this.#serviceModel[serviceInstanceId].options = { serviceId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstances():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelServiceInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#serviceModel = {};\n\t\t\tfor (const [serviceId, service] of Object.entries(subscriptionPayload.data)) for (const [serviceInstanceId, serviceInstance] of Object.entries(service)) for (const [serviceInstanceProcessId, serviceInstanceProcessTelemetry] of Object.entries(serviceInstance)) if (serviceInstanceProcessTelemetry.cpu && serviceInstanceProcessTelemetry.cpu > 0) {\n\t\t\t\tthis.#serviceModel[serviceInstanceProcessId] = ObservabilityModelUtils.GetModelForService(serviceInstanceProcessId, serviceInstanceProcessTelemetry, this.#options.logger);\n\t\t\t\tif (this.#serviceModel[serviceInstanceProcessId] !== null) this.#serviceModel[serviceInstanceProcessId].options = {\n\t\t\t\t\tserviceId,\n\t\t\t\t\tserviceInstanceId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelServiceInstance():Error: GetModelForService() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAllAgentsCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined.toString()) === 0) {\n\t\t\t\tif (Object.keys(subscriptionPayload.data).length !== 0) {\n\t\t\t\t\tthis.#agentModel[\"STS-Agent\"] = ObservabilityModelUtils.GetModelForAgent(\"STS-Agent\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\t\tif (this.#agentModel[\"STS-Agent\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllAgentsCombined():Error: GetModelForAgent() returned null`));\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelAgents(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentInstanceTelemetry] of Object.entries(subscriptionPayload.data)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tthis.#agentModel[agentId] = ObservabilityModelUtils.GetModelForAgent(agentId, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[agentId] !== null) {} else this.#LogDebugMessage(chalk.red(`CreateModelAgents():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgent:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorkers(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, agentInstanceTelemetry] of Object.entries(agentWorker)) if (agentInstanceTelemetry.timer) {\n\t\t\t\tconst threadKey = `${agentWorkerId}`;\n\t\t\t\tthis.#agentModel[threadKey] = ObservabilityModelUtils.GetModelForAgent(threadKey, agentInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#agentModel[threadKey] !== null) {\n\t\t\t\t\tconst coreCount = this.#agentModel[threadKey].instruments[Gauge.CORE_COUNT_GAUGE].val;\n\t\t\t\t\tthis.#agentModel[threadKey].canNavigate = coreCount > 0;\n\t\t\t\t\tthis.#agentModel[threadKey].options = { agentId };\n\t\t\t\t} else this.#LogDebugMessage(chalk.red(`CreateModelAgentWorkers():Error: GetModelForAgent() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThreads:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAgentWorker(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#agentModel = {};\n\t\t\tfor (const [agentId, agentWorker] of Object.entries(subscriptionPayload.data)) for (const [agentWorkerId, asyncRunnerData] of Object.entries(agentWorker)) for (const [asyncRunnerId, agentInstanceTelemetry] of Object.entries(asyncRunnerData)) if (agentInstanceTelemetry.timer) this.#agentModel[asyncRunnerId] = ObservabilityModelUtils.GetModelForAgent(asyncRunnerId, agentInstanceTelemetry, this.#options.logger);\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`UIControllerAgentThread:CreateModel(): Error: [${error}]`));\n\t\t}\n\t}\n\tCreateModelAllLambdasCombined(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tif (subscriptionPayload.subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined.toString()) === 0) {\n\t\t\t\tthis.#lambdaModel[\"STS-Lambda\"] = ObservabilityModelUtils.GetModelForLambda(\"STS-Lambda\", subscriptionPayload.data, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[\"STS-Lambda\"] === null) this.#LogDebugMessage(chalk.red(`CreateModelAllLambdasCombined():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(error);\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) {\n\t\t\t\tthis.#lambdaModel[technologyId] = ObservabilityModelUtils.GetModelForLambda(technologyId, technologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[technologyId] === null) this.#LogDebugMessage(chalk.red(`CreateModelLambdaTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologies(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) if (subTechnologyTelemetry.cpu && subTechnologyTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyId, subTechnologyTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyId] !== null) this.#lambdaModel[subTechnologyId].options = { technologyId };\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologies():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n\tCreateModelLambdaSubTechnologiesInstance(subscriptionPayload) {\n\t\ttry {\n\t\t\tthis.#lambdaModel = {};\n\t\t\tfor (const [technologyId, technologyTelemetry] of Object.entries(subscriptionPayload.data)) for (const [subTechnologyId, subTechnologyTelemetry] of Object.entries(technologyTelemetry)) for (const [subTechnologyInstanceId, subTechnologyInstanceTelemetry] of Object.entries(subTechnologyTelemetry)) if (subTechnologyInstanceTelemetry.cpu && subTechnologyInstanceTelemetry.cpu > 0) {\n\t\t\t\tthis.#lambdaModel[subTechnologyInstanceId] = ObservabilityModelUtils.GetModelForLambda(subTechnologyInstanceId, subTechnologyInstanceTelemetry, this.#options.logger);\n\t\t\t\tif (this.#lambdaModel[subTechnologyInstanceId] !== null) this.#lambdaModel[subTechnologyInstanceId].options = {\n\t\t\t\t\ttechnologyId,\n\t\t\t\t\tsubTechnologyId\n\t\t\t\t};\n\t\t\t\telse this.#LogDebugMessage(chalk.red(`CreateModelLambdaSubTechnologiesInstance():Error: GetModelForLambda() returned null`));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\treturn;\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/restClientSubscriber.ts\nvar RESTClientSubscriber = class {\n\t#socketSubscribeKeepAlive = {};\n\t#options;\n\tKeepAliveAckBoundFunction;\n\t#currentSubscriptions = [];\n\tconstructor(options) {\n\t\tthis.#options = options;\n\t}\n\t#LogDebugMessage(message) {\n\t\tthis.#options.logger.debug(message);\n\t}\n\t#LogErrorMessage(message) {\n\t\tthis.#options.logger.error(message);\n\t}\n\tasync Subscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\ttry {\n\t\t\t\tthis.#AddKeepAlive(subId);\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\tthis.#RemoveKeepAlive(subId);\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t});\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): UpdateModelCursor()`));\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tasync #InvokeRESTAPI(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tconst { subscriptionKey } = subscription;\n\t\tlet url = \"\";\n\t\tswitch (subscriptionKey.topic) {\n\t\t\tcase SubscriptionTopic.AllServicesCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Services:\n\t\t\t\turl = `/metrics/services`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.ServiceInstances: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.ServiceInstance:\n\t\t\t\turl = `/metrics/services/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/services/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Services): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllLambdasCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaTechnologies:\n\t\t\t\turl = `/metrics/lambdas`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologies: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.LambdaSubTechnologiesInstance:\n\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}`;\n\t\t\t\tif (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\t\turl = `/metrics/lambdas/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\t\tbreak;\n\t\t\t\t} else throw new Error(`#OutputSubscription(Lambdas): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AllAgentsCombined:\n\t\t\t\turl = `/metrics`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.Agents:\n\t\t\t\turl = `/metrics/agents`;\n\t\t\t\tbreak;\n\t\t\tcase SubscriptionTopic.AgentWorkers: if (subscriptionKey.key) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key not provided for subscription: [${JSON.stringify(subscriptionKey)}]`);\n\t\t\tcase SubscriptionTopic.AgentWorker: if (subscriptionKey.key && subscriptionKey.subkey) {\n\t\t\t\turl = `/metrics/agents/${subscriptionKey.key}/${subscriptionKey.subkey}`;\n\t\t\t\tbreak;\n\t\t\t} else throw new Error(`#OutputSubscription(Agents): key and/or subkey not provided for subscription: [${JSON.stringify(subscriptionKey.topic)}]`);\n\t\t}\n\t\tif (url.localeCompare(\"\") !== 0) {\n\t\t\tconst endPointUrl = `${this.#options.urlBase}${url}`;\n\t\t\tlet retVal;\n\t\t\tconst start = performance.now();\n\t\t\ttry {\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): axios call: endPointUrl: [${endPointUrl}]`));\n\t\t\t\tif (isNode && this.#options.agentManager) retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().withAgentManager(this.#options.agentManager).config);\n\t\t\t\telse retVal = await axios(new STSAxiosConfig(endPointUrl, \"get\").withDefaultHeaders().config);\n\t\t\t\tif (retVal) if (retVal.data) {} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal.data`));\n\t\t\t\telse this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#InvokeRESTAPI(): no retVal`));\n\t\t\t\tperformance.now() - start;\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllServicesCombined) === 0) return retVal.data[\"services\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllAgentsCombined) === 0) return retVal.data[\"agents\"];\n\t\t\t\tif (subscriptionKey.topic.localeCompare(SubscriptionTopic.AllLambdasCombined) === 0) return retVal.data[\"lambdas\"];\n\t\t\t\treturn retVal.data;\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#InvokeRESTAPI(): subscriptionKey: [${subscription.subscriptionKey.id}], Error: [${error}]`));\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} else return null;\n\t}\n\t#GetData = async (subscription) => {\n\t\ttry {\n\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\tconst retVal = await this.#InvokeRESTAPI(subscription);\n\t\t\tif (retVal) {\n\t\t\t\tconst payload = {\n\t\t\t\t\tsubscriptionKey: subscription.subscriptionKey,\n\t\t\t\t\tdata: retVal\n\t\t\t\t};\n\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t\t\tsubscription.cb(payload);\n\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#GetData(): No data returned: subscriptionKey: [${JSON.stringify(subscription.subscriptionKey)}`));\n\t\t} catch (error) {\n\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t}\n\t};\n\t#SetupTimeout(socketSubscribeKeepAlive, subscription, timeout) {\n\t\treturn setTimeout(async () => {\n\t\t\ttry {\n\t\t\t\tconst start = performance.now();\n\t\t\t\tawait this.#GetData(subscription);\n\t\t\t\tif (socketSubscribeKeepAlive.timeout) {\n\t\t\t\t\tconst diff = performance.now() - start;\n\t\t\t\t\tlet timeoutDuration = (this.#options.keepAlive ?? 1e3) - diff;\n\t\t\t\t\tif (timeoutDuration < 500) timeoutDuration = 500;\n\t\t\t\t\tthis.#LogDebugMessage(chalk.yellow(`Total duration for subscription: [${diff}], waiting: [${timeoutDuration}]`));\n\t\t\t\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, timeoutDuration);\n\t\t\t\t} else this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber: Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));\n\t\t\t} catch (error) {\n\t\t\t\tthis.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t\tthis.#RemoveKeepAlive(subscription);\n\t\t\t}\n\t\t}, timeout);\n\t}\n\t#AddKeepAlive(subscription) {\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#RemoveKeepAlive(subscription);\n\t\tconst socketSubscribeKeepAlive = { id: subscription.subscriptionKey.id };\n\t\tsocketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, this.#options.keepAlive ?? 1e3);\n\t\tthis.#socketSubscribeKeepAlive[subscription.subscriptionKey.id] = socketSubscribeKeepAlive;\n\t\tthis.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:#AddKeepAlive(): Getting Data: subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\tthis.#GetData(subscription);\n\t}\n\t#RemoveKeepAlive(subscription) {\n\t\tif (this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id]) {\n\t\t\tthis.#LogDebugMessage(chalk.gray(`RESTClientSubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));\n\t\t\tclearTimeout(this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout);\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout;\n\t\t\tdelete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id];\n\t\t}\n\t}\n};\n//#endregion\n//#region src/subscribe/socketClientSubscriber.ts\nvar SOCKET_NAMESPACE$1 = \"stsinstrumentmanager/stsmonitor\";\nvar SocketClientSubscriber = class extends SocketIoClient {\n\t#options;\n\t#id;\n\t#currentSubscriptions = [];\n\tsubscriptions = {};\n\tconstructor(options) {\n\t\tsuper(\"STSVueTilsTester\");\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.#options = options;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.instrumentManagerEndpoint}:${this.#options.instrumentManagerPort}/${SOCKET_NAMESPACE$1}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(this.#options.logger ?? defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\tif (this.#options) return `stsimclient:ObservabilitySubscriberManager[${this.#options.consumeInstrumentationMode}]:`;\n\t\telse return `stsimclient:ObservabilitySubscriberManager:`;\n\t}\n\tUpdateModelCursor = (subscriptions) => {\n\t\tthis.UnSubscribe(this.#currentSubscriptions);\n\t\tthis.#currentSubscriptions = subscriptions;\n\t\tthis.Subscribe(this.#currentSubscriptions);\n\t};\n\tSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"subscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:Subscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tthis.subscriptions[subId.subscriptionKey.id] = subId;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tUnSubscribe(subscriptions) {\n\t\tsubscriptions.map(async (subId) => {\n\t\t\ttry {\n\t\t\t\tif (this.socket) {\n\t\t\t\t\tthis.LogDebugMessage(chalk.yellow(`ObservabilitySocketIOSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));\n\t\t\t\t\tthis.socket.timeout(1e3).emit(\"unsubscribe\", subId.subscriptionKey, (error, data) => {\n\t\t\t\t\t\tif (error) this.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error: [${error}], data: [${data}]`));\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis.LogDebugMessage(chalk.green(`ObservabilitySocketIOSubscriber:UnSubscribe(): Response: [${JSON.stringify(data)}]`));\n\t\t\t\t\t\t\tdelete this.subscriptions[subId.subscriptionKey.id];\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tthis.LogErrorMessage(chalk.red(`ObservabilitySocketIOSubscriber:UnSubscribe(): Error response: [${JSON.stringify(error)}]`));\n\t\t\t}\n\t\t});\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}]`));\n\t\tthis.UpdateModelCursor(this.#currentSubscriptions);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t\tif (this.socket) this.socket.on(\"subscriptionData\", (data, cb) => {\n\t\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): on subscriptionData(): Socket ID: [${socket.id}]`));\n\t\t\tconst subId = data.subscriptionKey.id;\n\t\t\tconst currentSubscriptions = Object.keys(this.subscriptions).toString();\n\t\t\tif (this.subscriptions[subId]) {\n\t\t\t\tthis.subscriptions[subId].cb(data);\n\t\t\t\tcb(`stsuxvue:subscriptionData Response: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t\t} else cb(`stsuxvue:subscriptionData Response: No subscription found in subscriptions: [${JSON.stringify(data.subscriptionKey)}], Current Subscriptions: [${currentSubscriptions}]`);\n\t\t});\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/socketBrowserClientLogPublisher.ts\nvar SOCKET_NAMESPACE = \"stsinstrumentmanager/stsmonitor\";\nvar SocketBrowserClientLogPublisher = class extends SocketIoClient {\n\t#id;\n\t#options;\n\tconstructor(options) {\n\t\tsuper(\"stsinstrumentmanagerclient:SocketBrowserClientLogPublisher\");\n\t\tthis.#options = options;\n\t\tthis.#id = globalThis.crypto.randomUUID();\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}Start()`));\n\t\tconst url = `${this.#options.imendpoint}:${this.#options.import}/${SOCKET_NAMESPACE}/`;\n\t\tthis.LogDebugMessage(chalk.cyan(`${this.logPrefix}SetupSocket() url: [${url}]`));\n\t\tthis.WithAddress(url).WithLogger(defaultLogger).SetupSocket();\n\t}\n\tget id() {\n\t\treturn this.#id;\n\t}\n\tget logPrefix() {\n\t\treturn `stsinstrumentmanagerclient:SocketBrowserClientLogPublisher:`;\n\t}\n\tSocketConnect(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SocketConnect(): Socket ID: [${socket.id}], Joining Room: [${this.#options.rooms}]`));\n\t\tsocket.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tSocketError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketError(): Error: [${error}]`));\n\t}\n\tSetupSocketEvents(socket) {\n\t\tthis.LogDebugMessage(chalk.magenta(`${this.logPrefix}SetupSocketEvents(): Socket ID: [${socket.id}]`));\n\t}\n\tSocketConnectError(error) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketConnectError(): Error: [${error}]`));\n\t}\n\tSocketDisconnect(reason) {\n\t\tthis.LogErrorMessage(chalk.red(`${this.logPrefix}SocketDisconnect(): reason: [${reason}]`));\n\t}\n};\n//#endregion\n//#region src/stsLoggerSocket.ts\nvar STSLoggerSocket = class {\n\t#options;\n\t#socketIoClient;\n\tconstructor(opts) {\n\t\tthis.#options = opts;\n\t\tthis.#socketIoClient = new SocketBrowserClientLogPublisher({\n\t\t\trooms: this.#options.rooms,\n\t\t\timendpoint: this.#options.imendpoint,\n\t\t\timport: this.#options.import\n\t\t});\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t}\n\tJoinRoom = () => {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSjoinRoom\", this.#options.rooms);\n\t};\n\terror(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"error\",\n\t\t\tmessage\n\t\t});\n\t}\n\twarn(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"warn\",\n\t\t\tmessage\n\t\t});\n\t}\n\tinfo(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"info\",\n\t\t\tmessage\n\t\t});\n\t}\n\thttp(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"http\",\n\t\t\tmessage\n\t\t});\n\t}\n\tverbose(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"verbose\",\n\t\t\tmessage\n\t\t});\n\t}\n\tdebug(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"debug\",\n\t\t\tmessage\n\t\t});\n\t}\n\tsilly(message) {\n\t\tthis.#log({\n\t\t\tlevel: \"silly\",\n\t\t\tmessage\n\t\t});\n\t}\n\t#log(info) {\n\t\tthis.#socketIoClient.socket?.emit(\"__STSsendToRoom\", this.#options.rooms, {\n\t\t\tcommand: \"logmessage\",\n\t\t\tpayload: {\n\t\t\t\tlevel: info.level,\n\t\t\t\tmessage: info.message,\n\t\t\t\tdateTime: Date.now()\n\t\t\t}\n\t\t});\n\t}\n};\n//#endregion\nexport { CompareSTSInstrumentControllerPluginKey, GetInstruments, GetSTSInstrumentController, GetSTSInstrumentControllerPluginKey, GetSocketIOSubscriptionKey, GetTransportMode, InstrumentPayloadType, KAFKA_PREFIX, ObservabilityPayloadTransformer, PublishInstrumentController, PublishTransportRESTServer, RESTClientSubscriber, RequestLoggerMiddleware, RequestLoggerMiddlewareEventName, STSInstrumentControllerPlugin, STSInstrumentControllerPluginKey, STSLoggerSocket, SocketBrowserClientLogPublisher, SocketClientSubscriber, SubscriptionTopic, TransportType, ePublishState, globalServiceDefinitions, influxDBDataType, runStates, useSTSInstrumentControllerPlugin };\n\n//# sourceMappingURL=index.mjs.map","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\n\nimport chalk from 'chalk';\n\nimport * as wt from 'node:worker_threads'\n\nimport { JSONObject, Sleep, isNode } from '@nsshunt/stsutils'\nimport { OAuth2ParameterType } from '@nsshunt/stsauthclient'\n\nimport { IAuthorizeOptions, IAuthorizeResponse, IAuthorizeErrorResponse, AuthenticateEvent,\n ISTSOAuth2ManagerOptions, IOauth2ListenerMessage, IOauth2ListenerMessageResponse, \n IOauth2ListenerCommand, ISTSOAuth2WorkerMessage } from './stsoauth2types.js'\n\nimport { IStsStorage, ClientStorageType, ClientStorageFactory } from '@nsshunt/stsvueutils'\n\nimport { Gauge, InstrumentBaseTelemetry } from '@nsshunt/stsobservability'\n\nimport { STSOAuth2ManagerPluginKey } from './stsPluginKeys.js'\n\nimport { STSOauth2Store } from './stores/stsoauth2store.js'\n\nimport { STSInstrumentControllerPluginKey, PublishInstrumentController } from '@nsshunt/stsinstrumentmanagerclient';\n\n// STS Client SDK for SPAs\nexport class STSOAuth2Manager {\n \n #router: any = null;\n #STORAGE_AUTHORIZE_OPTIONS_KEY = 'authorize_options.stsmda.com.au';\n #aic: PublishInstrumentController | null = null;\n #options: ISTSOAuth2ManagerOptions;\n #oauth2ManagerPort: MessagePort | wt.MessagePort;\n #messageId = 0;\n \n #messageHandlers: Record<number, any> = { }; // keyed by messageId\n #messageTimeout = 10000;\n #worker: Worker | wt.Worker;\n #transactionStore: IStsStorage<IAuthorizeOptions>; // Transient transaction data used to establish a session via OAuth2 authorize handshake\n #operationSemaphore = false;\n #maxSemaphoreRetries = 100; // 100 retries, i.e. allow 100 x 50 = 5000ms to unblock\n #semaphoreRetrySleep = 50; // ms\n\n constructor(app: any, options: ISTSOAuth2ManagerOptions) {\n this.#options = options;\n\n if (!isNode) {\n if (app.config.globalProperties.$sts[STSInstrumentControllerPluginKey]) {\n const STSInstrumentController: PublishInstrumentController = app.config.globalProperties.$sts[STSInstrumentControllerPluginKey];\n this.#aic = STSInstrumentController;\n }\n this.#router = app.config.globalProperties.$router;\n }\n\n // Use session storage for the transient nature of the OAuth2 authorize handshake. Once completed, the storage will be removed.\n if (isNode) {\n this.#transactionStore = new ClientStorageFactory<IAuthorizeOptions>({clientStorageType: ClientStorageType.MEMORY_STORAGE, usePrefix: false}).GetStorage();\n } else {\n this.#transactionStore = new ClientStorageFactory<IAuthorizeOptions>({clientStorageType: ClientStorageType.SESSION_STORAGE, usePrefix: false}).GetStorage();\n }\n\n if (this.#options.workerFactory) {\n this.#worker = this.#options.workerFactory();\n } else {\n throw new Error(`STSOAuth2Manager:constructor: Cannot init STSOAuth2Manager - this.#options.workerFactory not specified`);\n }\n\t\t\n if (!isNode) {\n (this.#worker as Worker).onmessage = (data: MessageEvent) => {\n this.#LogInfoMessage(chalk.green(`this.#worker.onmessage = [${data}]`));\n };\n\n (this.#worker as Worker).onerror = (error) => {\n this.#LogInfoMessage(chalk.green(`this.#worker.onerror = [${JSON.stringify(error)}]`));\n };\n }\n\n let workerMessage: ISTSOAuth2WorkerMessage\n if (isNode) {\n const { \n port1: oauth2ManagerPort, // this process port\n port2: oauth2WorkerPort // worker port\n } = new wt.MessageChannel();\n this.#oauth2ManagerPort = oauth2ManagerPort;\n workerMessage = {\n workerPort: oauth2WorkerPort,\n options: this.#options.workerOptions\n };\n (this.#worker as wt.Worker).postMessage(workerMessage, [ oauth2WorkerPort ]);\n\n this.#oauth2ManagerPort.on('message', (payload) => {\n this.#ProcessMessageResponse(payload);\n }).unref();\n } else {\n const { \n port1: oauth2ManagerPort, // this process port\n port2: oauth2WorkerPort // worker port\n } = new MessageChannel();\n this.#oauth2ManagerPort = oauth2ManagerPort;\n workerMessage = {\n workerPort: oauth2WorkerPort,\n options: this.#options.workerOptions\n };\n (this.#worker as Worker).postMessage(workerMessage, [ oauth2WorkerPort ]);\n\n this.#oauth2ManagerPort.onmessage = (data: MessageEvent) => {\n this.#ProcessMessageResponse(data.data);\n }\n\t\n this.#SetupRoute(app, this.#router);\n }\n }\n \n #LogDebugMessage(message: any) {\n this.#options.logger.debug(message);\n }\n\n #LogInfoMessage(message: any) {\n this.#options.logger.info(message);\n }\n\n #LogErrorMessage(message: any) {\n this.#options.logger.error(message);\n }\n\n #ProcessMessageResponse = (data: IOauth2ListenerMessageResponse) => {\n const messageResponse: IOauth2ListenerMessageResponse = data;\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#ProcessMessageResponse: message data = [${JSON.stringify(messageResponse)}]`));\n if (messageResponse.messageId === -1) {\n // unsolicted message\n switch (messageResponse.command) {\n case IOauth2ListenerCommand.AUTHENTICATE_EVENT :\n this.#HandleAuthenticateEvent(messageResponse.payload as string);\n break;\n case IOauth2ListenerCommand.ERROR :\n this.#HandleErrorEvent(messageResponse.payload as JSONObject);\n break;\n case IOauth2ListenerCommand.LOG :\n this.#HandleLogEvent(messageResponse.payload as string);\n break;\n case IOauth2ListenerCommand.UPDATE_INSTRUMENT :\n this.#HandleUpdateInstrumentEvent(messageResponse.payload.instrumentName, messageResponse.payload.telemetry);\n break;\n default :\n throw new Error(`ProcessMessageResponse command [${messageResponse.command}] not valid.`);\n }\n } else {\n const callBack = this.#messageHandlers[messageResponse.messageId];\n if (callBack) {\n callBack(messageResponse);\n } else {\n throw new Error(`Message: [${messageResponse.messageId}] does not exists in callBacks.`);\n }\n }\n }\n\n #PostMessage = (message: IOauth2ListenerMessage): Promise<IOauth2ListenerMessageResponse> => {\n message.messageId = this.#messageId++;\n\n return new Promise<IOauth2ListenerMessageResponse>((resolve, reject) => {\n // Setup message timeout\n const timeout: NodeJS.Timeout = setTimeout(() => {\n delete this.#messageHandlers[message.messageId as number];\n reject(`Message: [${message.messageId}] timeout error after: [${this.#messageTimeout}] ms.`);\n }, this.#messageTimeout);\n\n // Setup message callback based on messageId\n this.#messageHandlers[message.messageId as number] = (response: IOauth2ListenerMessageResponse) => {\n clearTimeout(timeout);\n delete this.#messageHandlers[message.messageId as number];\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#PostMessage: resolve callback response= [${JSON.stringify(response)}]`));\n resolve(response);\n }\n\n // Send the message\n this.#LogDebugMessage(chalk.yellow(`STSOAuth2Manager:#PostMessage: posting message = [${JSON.stringify(message)}]`));\n this.#oauth2ManagerPort.postMessage(message);\t\n });\n }\n\n #HandleLogEvent = (message: string): void => {\n if (this.#aic) {\n this.#aic.LogEx(message);\n }\n this.#LogDebugMessage(message);\n }\n\n // UpdateInstrument = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n #HandleUpdateInstrumentEvent = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n if (this.#aic) {\n this.#aic.UpdateInstrument(instrumentName, telemetry);\n }\n }\n\n #GetStore = () => {\n return STSOauth2Store(this.#options.pinia);\n }\n\n // Will come from message channel\n #HandleErrorEvent = (error: JSONObject): void => {\n if (isNode) {\n // Node Mode ...\n } else {\n // User Agent Mode\n this.#GetStore().UpdateError({ // Authorize applications store\n message: error\n });\n\n // plugin to do this ...\n setTimeout(() => {\n this.#router.replace(`${this.#options.uriBase}error`);\n }, 0);\n }\n }\n\n #HandleAuthenticateEvent: AuthenticateEvent = (id_token: string): void => {\n if (isNode) {\n // Node Mode ...\n } else {\n // User Agent Mode\n if (this.#options.authenticateEvent) {\n this.#options.authenticateEvent(id_token);\n }\n\n this.#GetStore().UpdateIdToken(id_token);\n }\n }\n\n #SetupRoute = (app: any, router: any) => {\n this.#LogDebugMessage(chalk.gray(`STSOAuth2Manager:#SetupRoute`));\n router.beforeEach(async (to: any, from: any, next: any) => {\n const oAuth2Manager: STSOAuth2Manager = app.config.globalProperties.$sts[STSOAuth2ManagerPluginKey];\n\n this.#LogDebugMessage(chalk.gray(`beforeEach: from: [${from.path}], to: [${to.path}]`));\n\n if (this.#GetStore().LoggedIn === false) {\n this.#LogInfoMessage(`Not logged in`);\n // Not logged in\n if (to.path.localeCompare(`${this.#options.uriBase}authorize`) === 0) {\n this.#LogInfoMessage(`to = ${this.#options.uriBase}authorize`);\n next();\n return;\n } else if (to.path.localeCompare(`${this.#options.uriBase}consent`) === 0) {\n // Need to check if we are in the correct state, if not - drop back to the start of the process\n if (this.#GetStore().id_token) {\n //if (typeof store.getters.Session.sessionId !== 'undefined') {\n next();\n return;\n }\n }\n if (to.path.localeCompare(`${this.#options.uriBase}logout`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}error`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}config`) === 0) {\n next();\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}redirected`) === 0) {\n next();\n return;\n }\n\t\t\n const str = to.query;\n // Check if this route is from a redirect from the authorization server\n if (str[OAuth2ParameterType.CODE] || str[OAuth2ParameterType.ERROR]) {\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:#SetupRoute:Processing redirect: [${JSON.stringify(str)}]`));\n const retVal: boolean = await oAuth2Manager.HandleRedirect(str);\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:#SetupRoute:Redirect result: [${retVal}]`));\n if (retVal) {\n // Success\n next({ \n path: `${this.#options.uriBase}`,\n replace: true\n });\n return;\n } else {\n // Error\n next({ \n path: `${this.#options.uriBase}error`,\n replace: true\n });\n\n //@@ need the error data here - or use the vuex store ?\n //@@ this.#router.replace(`error'); //@@ was push\n\n //@@ should replaceState be used as in above?\n return;\n }\n }\n\t\t\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Restoring session`);\n const sessionRestored = await oAuth2Manager.RestoreSession();\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Session restored: [${sessionRestored}]`);\n\n if (sessionRestored !== true) {\n this.#LogDebugMessage(`STSOAuth2Manager:#SetupRoute:Session not restored - need to authorize`);\n oAuth2Manager.Authorize();\n next();\n return;\n } else {\n next(`${this.#options.uriBase}`);\n return;\n }\n } else {\n // Prevent pages if already logged in\n if (to.path.localeCompare(`${this.#options.uriBase}consent`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}authorize`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n if (to.path.localeCompare(`${this.#options.uriBase}logout`) === 0) {\n next(`${this.#options.uriBase}`);\n return;\n }\n next();\n }\n })\n }\n\n //@@ this needs to be re-implemented so that access_token never leaves the auth worker\n GetAccessToken = async(): Promise<string> => {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.ACCESS_TOKEN });\n return response.payload;\n }\n\n // Update operation protected using operationSemaphore. This may occur when using workers and/or multiple async fetch operations.\n ExecuteRefreshToken = async(retryCount = 0): Promise<boolean> => {\n if (this.#operationSemaphore === true) {\n if (retryCount > this.#maxSemaphoreRetries) {\n throw new Error(`STSOAuth2Manager:ExecuteRefreshToken:maxSemaphoreRetries: [${this.#maxSemaphoreRetries}] exceeded.`);\n }\n await Sleep(this.#semaphoreRetrySleep);\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Manager:ExecuteRefreshToken:locked by operationSemaphore, retry count: [${retryCount}]`));\n return await this.ExecuteRefreshToken(retryCount+1);\n } else {\n this.#operationSemaphore = true;\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.EXECUTE_REFRESH_TOKEN });\n this.#operationSemaphore = false;\n return response.payload;\n }\n }\n\n \n GetCookies = async(): Promise<any> => {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.COOKIES });\n return response.payload;\n }\n\n RestoreSession = async(): Promise<boolean> => {\n try {\n this.#LogDebugMessage(`STSOAuth2Manager:RestoreSession:postMessage: [${IOauth2ListenerCommand.RESTORE_SESSION}]`);\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.RESTORE_SESSION });\n this.#LogDebugMessage(`STSOAuth2Manager:RestoreSession:response: [${JSON.stringify(response.payload)}]`);\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`RestoreSession Error: ${error}`));\n return false;\n }\n }\n\n Authorize = async (): Promise<JSONObject> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.AUTHORIZE });\n this.#transactionStore.set(this.#STORAGE_AUTHORIZE_OPTIONS_KEY, response.payload.authorizeOptions);\n const url = response.payload.url;\n if (!isNode) {\n window.location.replace(url);\n } else {\n return response.payload.authorizeOptionsClientCopy;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`Authorize Error: ${error}`));\n }\n return { };\n }\n\n HandleRedirect = async (queryVars: JSONObject): Promise<boolean> => {\n try {\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect`));\n let response: IOauth2ListenerMessageResponse | null = null;\n if (queryVars[OAuth2ParameterType.CODE]) {\n const authorizeOptions: IAuthorizeOptions = this.#transactionStore.get(this.#STORAGE_AUTHORIZE_OPTIONS_KEY) as IAuthorizeOptions;\n this.#transactionStore.remove(this.#STORAGE_AUTHORIZE_OPTIONS_KEY);\n\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect: sending HANDLE_REDIRECT command`));\n response = await this.#PostMessage({ command: IOauth2ListenerCommand.HANDLE_REDIRECT, payload: {\n queryVars: queryVars as IAuthorizeResponse,\n authorizeOptions\n }});\n } else {\n response = await this.#PostMessage({ command: IOauth2ListenerCommand.HANDLE_REDIRECT, payload: queryVars as IAuthorizeErrorResponse });\n }\n this.#LogDebugMessage(chalk.magenta(`STSOAuth2Manager:HandleRedirect: HANDLE_REDIRECT response: [${JSON.stringify(response)}]`));\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`HandleRedirect Error: ${error}`));\n return false;\n }\n }\n\n Logout = async (): Promise<boolean> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.LOGOUT });\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`Logout Error: ${error}`));\n return false;\n }\n }\n\n \n InvokeExternalAPI = async (): Promise<any> => {\n try {\n const response: IOauth2ListenerMessageResponse = await this.#PostMessage({ command: IOauth2ListenerCommand.LOGOUT });\n return response.payload;\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`InvokeExternalAPI Error: ${error}`));\n return null;\n }\n }\n\n LoggedIn = (): boolean => {\n try {\n return this.#GetStore().LoggedIn;\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n } catch (error) {\n return false;\n }\n }\n}\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t crypto = global.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && typeof require === 'function') {\n\t try {\n\t crypto = require('crypto');\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Initialization and round constants tables\n\t var H = [];\n\t var K = [];\n\n\t // Compute constants\n\t (function () {\n\t function isPrime(n) {\n\t var sqrtN = Math.sqrt(n);\n\t for (var factor = 2; factor <= sqrtN; factor++) {\n\t if (!(n % factor)) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t }\n\n\t function getFractionalBits(n) {\n\t return ((n - (n | 0)) * 0x100000000) | 0;\n\t }\n\n\t var n = 2;\n\t var nPrime = 0;\n\t while (nPrime < 64) {\n\t if (isPrime(n)) {\n\t if (nPrime < 8) {\n\t H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n\t }\n\t K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n\t nPrime++;\n\t }\n\n\t n++;\n\t }\n\t }());\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-256 hash algorithm.\n\t */\n\t var SHA256 = C_algo.SHA256 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init(H.slice(0));\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\t var f = H[5];\n\t var g = H[6];\n\t var h = H[7];\n\n\t // Computation\n\t for (var i = 0; i < 64; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var gamma0x = W[i - 15];\n\t var gamma0 = ((gamma0x << 25) | (gamma0x >>> 7)) ^\n\t ((gamma0x << 14) | (gamma0x >>> 18)) ^\n\t (gamma0x >>> 3);\n\n\t var gamma1x = W[i - 2];\n\t var gamma1 = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n\t ((gamma1x << 13) | (gamma1x >>> 19)) ^\n\t (gamma1x >>> 10);\n\n\t W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n\t }\n\n\t var ch = (e & f) ^ (~e & g);\n\t var maj = (a & b) ^ (a & c) ^ (b & c);\n\n\t var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n\t var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7) | (e >>> 25));\n\n\t var t1 = h + sigma1 + ch + K[i] + W[i];\n\t var t2 = sigma0 + maj;\n\n\t h = g;\n\t g = f;\n\t f = e;\n\t e = (d + t1) | 0;\n\t d = c;\n\t c = b;\n\t b = a;\n\t a = (t1 + t2) | 0;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t H[5] = (H[5] + f) | 0;\n\t H[6] = (H[6] + g) | 0;\n\t H[7] = (H[7] + h) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA256('message');\n\t * var hash = CryptoJS.SHA256(wordArray);\n\t */\n\t C.SHA256 = Hasher._createHelper(SHA256);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA256(message, key);\n\t */\n\t C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n\t}(Math));\n\n\n\treturn CryptoJS.SHA256;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var C_enc = C.enc;\n\n\t /**\n\t * Base64 encoding strategy.\n\t */\n\t var Base64 = C_enc.Base64 = {\n\t /**\n\t * Converts a word array to a Base64 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Base64 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var base64String = CryptoJS.enc.Base64.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\t var map = this._map;\n\n\t // Clamp excess bits\n\t wordArray.clamp();\n\n\t // Convert\n\t var base64Chars = [];\n\t for (var i = 0; i < sigBytes; i += 3) {\n\t var byte1 = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;\n\t var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;\n\n\t var triplet = (byte1 << 16) | (byte2 << 8) | byte3;\n\n\t for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {\n\t base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));\n\t }\n\t }\n\n\t // Add padding\n\t var paddingChar = map.charAt(64);\n\t if (paddingChar) {\n\t while (base64Chars.length % 4) {\n\t base64Chars.push(paddingChar);\n\t }\n\t }\n\n\t return base64Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Base64 string to a word array.\n\t *\n\t * @param {string} base64Str The Base64 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Base64.parse(base64String);\n\t */\n\t parse: function (base64Str) {\n\t // Shortcuts\n\t var base64StrLength = base64Str.length;\n\t var map = this._map;\n\t var reverseMap = this._reverseMap;\n\n\t if (!reverseMap) {\n\t reverseMap = this._reverseMap = [];\n\t for (var j = 0; j < map.length; j++) {\n\t reverseMap[map.charCodeAt(j)] = j;\n\t }\n\t }\n\n\t // Ignore padding\n\t var paddingChar = map.charAt(64);\n\t if (paddingChar) {\n\t var paddingIndex = base64Str.indexOf(paddingChar);\n\t if (paddingIndex !== -1) {\n\t base64StrLength = paddingIndex;\n\t }\n\t }\n\n\t // Convert\n\t return parseLoop(base64Str, base64StrLength, reverseMap);\n\n\t },\n\n\t _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='\n\t };\n\n\t function parseLoop(base64Str, base64StrLength, reverseMap) {\n\t var words = [];\n\t var nBytes = 0;\n\t for (var i = 0; i < base64StrLength; i++) {\n\t if (i % 4) {\n\t var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);\n\t var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);\n\t var bitsCombined = bits1 | bits2;\n\t words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);\n\t nBytes++;\n\t }\n\t }\n\t return WordArray.create(words, nBytes);\n\t }\n\t}());\n\n\n\treturn CryptoJS.enc.Base64;\n\n}));","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport sha256 from 'crypto-js/sha256.js';\nimport Base64 from 'crypto-js/enc-base64.js';\n\nexport class CryptoUtils {\n #crypto;\n\n constructor() {\n try {\n this.#crypto = crypto;\n } catch {\n // eslint-disable-next-line @typescript-eslint/no-require-imports\n this.#crypto = require('node:crypto')\n }\n }\n\n DigestMessage = async function (message: any) {\n const hashDigest = sha256(message);\n return Base64.stringify(hashDigest);\n }\n\n CreateRandomString = (size = 43) => {\n //const randomValues: any = Array.from(window.crypto.getRandomValues(new Uint8Array(size)))\n \n const randomValues: any = Array.from(this.#crypto.getRandomValues(new Uint8Array(size)))\n //let b64 = window.btoa(String.fromCharCode(...randomValues));\n const b64 = btoa(String.fromCharCode(...randomValues));\n return b64;\n //return randomValues.toString('base64');\n }\n}\n\n/*\nexport class CryptoUtils {\n\tDigestMessage = async function (message) {\n\t\tconst encoder = new TextEncoder();\n\t\tconst data = encoder.encode(message);\n\t\tconst hashBuffer = await crypto.subtle.digest('SHA-256', data);\n\t\tconst hashArray = Array.from(new Uint8Array(hashBuffer)); // convert buffer to byte array\n\t\t//let b64 = window.btoa(String.fromCharCode(...hashArray));\n\t\tconst b64 = btoa(String.fromCharCode(...hashArray));// Use below if a HEX string is required\n\t\t// const hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join(''); // convert bytes to hex string\n\t\treturn b64;\n\t}\n\n\tCreateRandomString = (size = 43) => {\n\t\t//const randomValues: any = Array.from(window.crypto.getRandomValues(new Uint8Array(size)))\n\t\tconst randomValues: any = Array.from(crypto.getRandomValues(new Uint8Array(size)))\n\t\t//let b64 = window.btoa(String.fromCharCode(...randomValues));\n\t\tconst b64 = btoa(String.fromCharCode(...randomValues));\n\t\treturn b64;\n\t\t//return randomValues.toString('base64');\n\t}\n}\n*/\n\nexport default CryptoUtils\n","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\n// https://github.com/auth0/auth0-spa-js/blob/1de6427f81a8c5b005e9b6d10b9efb1e73542528/static/index.html\n\nimport { JSONObject } from \"@nsshunt/stsutils\";\n\n// https://stackoverflow.com/questions/12446317/change-url-without-redirecting-using-javascript\nclass QueryParams {\n DecodeQueryParams = (params: any): JSONObject => {\n const retObj: JSONObject = { };\n Object.keys(params)\n .filter(k => typeof params[k] !== 'undefined')\n .map(k => { \n retObj[decodeURIComponent(k)] = decodeURIComponent(params[k]);\n });\n return retObj;\n }\n\n CreateQueryParams = (params: JSONObject): string => {\n return Object.keys(params)\n .filter(k => typeof params[k] !== 'undefined')\n .map(k => {\n if (Array.isArray(params[k])) {\n return encodeURIComponent(k) + '=' + encodeURIComponent(params[k].join(' '))\n } else {\n return encodeURIComponent(k) + '=' + encodeURIComponent(params[k])\n }\n })\n .join('&');\n }\n\n _GetQueryParams = (param: string): JSONObject => {\n let retVal: JSONObject = { };\n const uri = param.split(\"?\");\n if (uri.length == 2) {\n const vars = uri[1].split(\"&\");\n const getVars: JSONObject = { };\n let tmp: string[];\n vars.forEach(function (v) {\n tmp = v.split(\"=\");\n if (tmp.length == 2) getVars[tmp[0]] = tmp[1];\n });\n retVal = this.DecodeQueryParams(getVars);\n }\n return retVal;\n }\n \n GetQueryParams = () => {\n return this._GetQueryParams(window.location.href);\n }\n}\n\nexport default QueryParams;\n","// Generated file. Do not edit\nexport var StatusCodes;\n(function (StatusCodes) {\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1\n *\n * This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.\n */\n StatusCodes[StatusCodes[\"CONTINUE\"] = 100] = \"CONTINUE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.2\n *\n * This code is sent in response to an Upgrade request header by the client, and indicates the protocol the server is switching too.\n */\n StatusCodes[StatusCodes[\"SWITCHING_PROTOCOLS\"] = 101] = \"SWITCHING_PROTOCOLS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.1\n *\n * This code indicates that the server has received and is processing the request, but no response is available yet.\n */\n StatusCodes[StatusCodes[\"PROCESSING\"] = 102] = \"PROCESSING\";\n /**\n * Official Documentation @ https://www.rfc-editor.org/rfc/rfc8297#page-3\n *\n * This code indicates to the client that the server is likely to send a final response with the header fields included in the informational response.\n */\n StatusCodes[StatusCodes[\"EARLY_HINTS\"] = 103] = \"EARLY_HINTS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.1\n *\n * The request has succeeded. The meaning of a success varies depending on the HTTP method:\n * GET: The resource has been fetched and is transmitted in the message body.\n * HEAD: The entity headers are in the message body.\n * POST: The resource describing the result of the action is transmitted in the message body.\n * TRACE: The message body contains the request message as received by the server\n */\n StatusCodes[StatusCodes[\"OK\"] = 200] = \"OK\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.2\n *\n * The request has succeeded and a new resource has been created as a result of it. This is typically the response sent after a PUT request.\n */\n StatusCodes[StatusCodes[\"CREATED\"] = 201] = \"CREATED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.3\n *\n * The request has been received but not yet acted upon. It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.\n */\n StatusCodes[StatusCodes[\"ACCEPTED\"] = 202] = \"ACCEPTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.4\n *\n * This response code means returned meta-information set is not exact set as available from the origin server, but collected from a local or a third party copy. Except this condition, 200 OK response should be preferred instead of this response.\n */\n StatusCodes[StatusCodes[\"NON_AUTHORITATIVE_INFORMATION\"] = 203] = \"NON_AUTHORITATIVE_INFORMATION\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.5\n *\n * There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones.\n */\n StatusCodes[StatusCodes[\"NO_CONTENT\"] = 204] = \"NO_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.6\n *\n * This response code is sent after accomplishing request to tell user agent reset document view which sent this request.\n */\n StatusCodes[StatusCodes[\"RESET_CONTENT\"] = 205] = \"RESET_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.1\n *\n * This response code is used because of range header sent by the client to separate download into multiple streams.\n */\n StatusCodes[StatusCodes[\"PARTIAL_CONTENT\"] = 206] = \"PARTIAL_CONTENT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.2\n *\n * A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.\n */\n StatusCodes[StatusCodes[\"MULTI_STATUS\"] = 207] = \"MULTI_STATUS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.1\n *\n * The request has more than one possible responses. User-agent or user should choose one of them. There is no standardized way to choose one of the responses.\n */\n StatusCodes[StatusCodes[\"MULTIPLE_CHOICES\"] = 300] = \"MULTIPLE_CHOICES\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.2\n *\n * This response code means that URI of requested resource has been changed. Probably, new URI would be given in the response.\n */\n StatusCodes[StatusCodes[\"MOVED_PERMANENTLY\"] = 301] = \"MOVED_PERMANENTLY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.3\n *\n * This response code means that URI of requested resource has been changed temporarily. New changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.\n */\n StatusCodes[StatusCodes[\"MOVED_TEMPORARILY\"] = 302] = \"MOVED_TEMPORARILY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.4\n *\n * Server sent this response to directing client to get requested resource to another URI with an GET request.\n */\n StatusCodes[StatusCodes[\"SEE_OTHER\"] = 303] = \"SEE_OTHER\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.1\n *\n * This is used for caching purposes. It is telling to client that response has not been modified. So, client can continue to use same cached version of response.\n */\n StatusCodes[StatusCodes[\"NOT_MODIFIED\"] = 304] = \"NOT_MODIFIED\";\n /**\n * @deprecated\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.6\n *\n * Was defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.\n */\n StatusCodes[StatusCodes[\"USE_PROXY\"] = 305] = \"USE_PROXY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.7\n *\n * Server sent this response to directing client to get requested resource to another URI with same method that used prior request. This has the same semantic than the 302 Found HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n */\n StatusCodes[StatusCodes[\"TEMPORARY_REDIRECT\"] = 307] = \"TEMPORARY_REDIRECT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7538#section-3\n *\n * This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.\n */\n StatusCodes[StatusCodes[\"PERMANENT_REDIRECT\"] = 308] = \"PERMANENT_REDIRECT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.1\n *\n * This response means that server could not understand the request due to invalid syntax.\n */\n StatusCodes[StatusCodes[\"BAD_REQUEST\"] = 400] = \"BAD_REQUEST\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.1\n *\n * Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response.\n */\n StatusCodes[StatusCodes[\"UNAUTHORIZED\"] = 401] = \"UNAUTHORIZED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.2\n *\n * This response code is reserved for future use. Initial aim for creating this code was using it for digital payment systems however this is not used currently.\n */\n StatusCodes[StatusCodes[\"PAYMENT_REQUIRED\"] = 402] = \"PAYMENT_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.3\n *\n * The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting to give proper response. Unlike 401, the client's identity is known to the server.\n */\n StatusCodes[StatusCodes[\"FORBIDDEN\"] = 403] = \"FORBIDDEN\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.4\n *\n * The server can not find requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client. This response code is probably the most famous one due to its frequent occurence on the web.\n */\n StatusCodes[StatusCodes[\"NOT_FOUND\"] = 404] = \"NOT_FOUND\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.5\n *\n * The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.\n */\n StatusCodes[StatusCodes[\"METHOD_NOT_ALLOWED\"] = 405] = \"METHOD_NOT_ALLOWED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.6\n *\n * This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content following the criteria given by the user agent.\n */\n StatusCodes[StatusCodes[\"NOT_ACCEPTABLE\"] = 406] = \"NOT_ACCEPTABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.2\n *\n * This is similar to 401 but authentication is needed to be done by a proxy.\n */\n StatusCodes[StatusCodes[\"PROXY_AUTHENTICATION_REQUIRED\"] = 407] = \"PROXY_AUTHENTICATION_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.7\n *\n * This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also note that some servers merely shut down the connection without sending this message.\n */\n StatusCodes[StatusCodes[\"REQUEST_TIMEOUT\"] = 408] = \"REQUEST_TIMEOUT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.8\n *\n * This response is sent when a request conflicts with the current state of the server.\n */\n StatusCodes[StatusCodes[\"CONFLICT\"] = 409] = \"CONFLICT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.9\n *\n * This response would be sent when the requested content has been permenantly deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for \"limited-time, promotional services\". APIs should not feel compelled to indicate resources that have been deleted with this status code.\n */\n StatusCodes[StatusCodes[\"GONE\"] = 410] = \"GONE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.10\n *\n * The server rejected the request because the Content-Length header field is not defined and the server requires it.\n */\n StatusCodes[StatusCodes[\"LENGTH_REQUIRED\"] = 411] = \"LENGTH_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.2\n *\n * The client has indicated preconditions in its headers which the server does not meet.\n */\n StatusCodes[StatusCodes[\"PRECONDITION_FAILED\"] = 412] = \"PRECONDITION_FAILED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.11\n *\n * Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field.\n */\n StatusCodes[StatusCodes[\"REQUEST_TOO_LONG\"] = 413] = \"REQUEST_TOO_LONG\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.12\n *\n * The URI requested by the client is longer than the server is willing to interpret.\n */\n StatusCodes[StatusCodes[\"REQUEST_URI_TOO_LONG\"] = 414] = \"REQUEST_URI_TOO_LONG\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.13\n *\n * The media format of the requested data is not supported by the server, so the server is rejecting the request.\n */\n StatusCodes[StatusCodes[\"UNSUPPORTED_MEDIA_TYPE\"] = 415] = \"UNSUPPORTED_MEDIA_TYPE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.4\n *\n * The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data.\n */\n StatusCodes[StatusCodes[\"REQUESTED_RANGE_NOT_SATISFIABLE\"] = 416] = \"REQUESTED_RANGE_NOT_SATISFIABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.14\n *\n * This response code means the expectation indicated by the Expect request header field can't be met by the server.\n */\n StatusCodes[StatusCodes[\"EXPECTATION_FAILED\"] = 417] = \"EXPECTATION_FAILED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2324#section-2.3.2\n *\n * Any attempt to brew coffee with a teapot should result in the error code \"418 I'm a teapot\". The resulting entity body MAY be short and stout.\n */\n StatusCodes[StatusCodes[\"IM_A_TEAPOT\"] = 418] = \"IM_A_TEAPOT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n *\n * The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request which received this status code was the result of a user action, the request MUST NOT be repeated until it is requested by a separate user action.\n */\n StatusCodes[StatusCodes[\"INSUFFICIENT_SPACE_ON_RESOURCE\"] = 419] = \"INSUFFICIENT_SPACE_ON_RESOURCE\";\n /**\n * @deprecated\n * Official Documentation @ https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt\n *\n * A deprecated response used by the Spring Framework when a method has failed.\n */\n StatusCodes[StatusCodes[\"METHOD_FAILURE\"] = 420] = \"METHOD_FAILURE\";\n /**\n * Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2\n *\n * Defined in the specification of HTTP/2 to indicate that a server is not able to produce a response for the combination of scheme and authority that are included in the request URI.\n */\n StatusCodes[StatusCodes[\"MISDIRECTED_REQUEST\"] = 421] = \"MISDIRECTED_REQUEST\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.3\n *\n * The request was well-formed but was unable to be followed due to semantic errors.\n */\n StatusCodes[StatusCodes[\"UNPROCESSABLE_ENTITY\"] = 422] = \"UNPROCESSABLE_ENTITY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.4\n *\n * The resource that is being accessed is locked.\n */\n StatusCodes[StatusCodes[\"LOCKED\"] = 423] = \"LOCKED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.5\n *\n * The request failed due to failure of a previous request.\n */\n StatusCodes[StatusCodes[\"FAILED_DEPENDENCY\"] = 424] = \"FAILED_DEPENDENCY\";\n /**\n * Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.15\n *\n * The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.\n */\n StatusCodes[StatusCodes[\"UPGRADE_REQUIRED\"] = 426] = \"UPGRADE_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-3\n *\n * The origin server requires the request to be conditional. Intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.\n */\n StatusCodes[StatusCodes[\"PRECONDITION_REQUIRED\"] = 428] = \"PRECONDITION_REQUIRED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-4\n *\n * The user has sent too many requests in a given amount of time (\"rate limiting\").\n */\n StatusCodes[StatusCodes[\"TOO_MANY_REQUESTS\"] = 429] = \"TOO_MANY_REQUESTS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-5\n *\n * The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.\n */\n StatusCodes[StatusCodes[\"REQUEST_HEADER_FIELDS_TOO_LARGE\"] = 431] = \"REQUEST_HEADER_FIELDS_TOO_LARGE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7725\n *\n * The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government.\n */\n StatusCodes[StatusCodes[\"UNAVAILABLE_FOR_LEGAL_REASONS\"] = 451] = \"UNAVAILABLE_FOR_LEGAL_REASONS\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.1\n *\n * The server encountered an unexpected condition that prevented it from fulfilling the request.\n */\n StatusCodes[StatusCodes[\"INTERNAL_SERVER_ERROR\"] = 500] = \"INTERNAL_SERVER_ERROR\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.2\n *\n * The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.\n */\n StatusCodes[StatusCodes[\"NOT_IMPLEMENTED\"] = 501] = \"NOT_IMPLEMENTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.3\n *\n * This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.\n */\n StatusCodes[StatusCodes[\"BAD_GATEWAY\"] = 502] = \"BAD_GATEWAY\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.4\n *\n * The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This responses should be used for temporary conditions and the Retry-After: HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached.\n */\n StatusCodes[StatusCodes[\"SERVICE_UNAVAILABLE\"] = 503] = \"SERVICE_UNAVAILABLE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.5\n *\n * This error response is given when the server is acting as a gateway and cannot get a response in time.\n */\n StatusCodes[StatusCodes[\"GATEWAY_TIMEOUT\"] = 504] = \"GATEWAY_TIMEOUT\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.6\n *\n * The HTTP version used in the request is not supported by the server.\n */\n StatusCodes[StatusCodes[\"HTTP_VERSION_NOT_SUPPORTED\"] = 505] = \"HTTP_VERSION_NOT_SUPPORTED\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6\n *\n * The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.\n */\n StatusCodes[StatusCodes[\"INSUFFICIENT_STORAGE\"] = 507] = \"INSUFFICIENT_STORAGE\";\n /**\n * Official Documentation @ https://tools.ietf.org/html/rfc6585#section-6\n *\n * The 511 status code indicates that the client needs to authenticate to gain network access.\n */\n StatusCodes[StatusCodes[\"NETWORK_AUTHENTICATION_REQUIRED\"] = 511] = \"NETWORK_AUTHENTICATION_REQUIRED\";\n})(StatusCodes || (StatusCodes = {}));\n","import chalk from 'chalk';\n\nimport axios from \"axios\";\n\nimport { ISTSLogger, JSONObject, IAgentManager, STSAxiosConfig, createAgentManager, isNode } from '@nsshunt/stsutils';\nimport { OAuth2ParameterType } from '@nsshunt/stsauthclient'\n\nimport CryptoUtils from './Utils/CryptoUtils.js'\nimport QueryParams from './Utils/QueryParams.js'\n\nimport { jwtDecode } from \"jwt-decode\";\n\nimport { IStsStorage, ClientStorageType, ClientStorageFactory } from '@nsshunt/stsvueutils'\n\nimport { StatusCodes } from 'http-status-codes'\n\nimport { AuthorizeOptionsResponseType, AuthorizeOptionsResponseMode, IAuthorizationCodeFlowParameters, IRefreshFlowParameters,\n IAuthorizeOptions, ITokenResponse, IAuthorizeResponse, IAuthorizeErrorResponse, OAuthGrantTypes, \n IOauth2ListenerMessage, IOauth2ListenerCommand, IOauth2ListenerMessageResponse, ISTSOAuth2WorkerOptions, ISessionData } from './stsoauth2types.js'\n\nimport { Gauge, InstrumentBaseTelemetry, InstrumentLogTelemetry } from '@nsshunt/stsobservability'\n\nimport http from 'node:http'\nimport https from 'node:https'\n\n// STS Client SDK for SPAs\nexport class STSOAuth2Worker {\n //#storageManager = null;\n #clientSessionStore: IStsStorage<ISessionData>;\n #cUtils = new CryptoUtils();\n #qParams = new QueryParams();\n #STORAGE_SESSION_KEY = 'session.stsmda.com.au';\n //@@#aic = null;\n #oauthWorkerPort: MessagePort;\n #options: ISTSOAuth2WorkerOptions;\n #logger: ISTSLogger;\n #agentManager: IAgentManager | null = null;\n\n constructor(workerPort: MessagePort, options: ISTSOAuth2WorkerOptions, logger: ISTSLogger) {\n this.#options = options;\n this.#logger = logger;\n\t\t\n this.#LogDebugMessage(`STSOAuth2Worker:constructor:#options: [${JSON.stringify(this.#options)}]`);\n\n // In memory storage for OAuth2 tokens for our valid session\n this.#clientSessionStore = new ClientStorageFactory<ISessionData>({clientStorageType: ClientStorageType.MEMORY_STORAGE, usePrefix: false}).GetStorage();\n\n //@@ needs to be sent the instrument manager controller port\n //@@this.#aic = app.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController;\n\n //this.#handleAuthenticateEvent = handleAuthenticateEvent;\n\n this.#oauthWorkerPort = workerPort;\n\n this.#LogDebugMessage(`STSOAuth2Worker:constructor:#oauthWorkerPort: [${JSON.stringify(this.#oauthWorkerPort)}]`);\n\n if (isNode && this.#options.agentOptions) {\n this.#agentManager = createAgentManager({\n agentOptions: this.#options.agentOptions,\n httpAgentFactory(options) {\n return new http.Agent(options);\n },\n httpsAgentFactory(options) {\n return new https.Agent(options);\n }\n });\n }\n\n this.SetupListener();\n\n this.#UpdateInstrument(Gauge.LOGGER, {\n LogMessage: `STSOauth2 Plugin - Successfully Loaded`\n } as InstrumentLogTelemetry);\n\n /*\n\t\tsetInterval(() => { // Used for testing purposes only.\n\t\t\tthis.#UpdateInstrument(Gauge.LOGGER, {\n\t\t\t\tLogMessage: `--> [${Date.now().toString()}] <--`\n\t\t\t} as InstrumentLogTelemetry);\n\t\t}, 1000);\n\t\t*/\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogDebugMessage(message: any) {\n this.#logger.debug(message);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogInfoMessage(message: any) {\n this.#logger.info(message);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #LogErrorMessage(message: any) {\n this.#logger.error(message);\n }\n\n // Attempt to restore a previous session using the STSBroker\n /*\n { parameterType: OAuth2ParameterType.CLIENT_ID, errorType: authErrorType.CLIENT_ID_MISMATCH },\n { parameterType: OAuth2ParameterType.SCOPE, errorType: authErrorType.SCOPE_MISMATCH }\n { parameterType: OAuth2ParameterType.REDIRECT_URI, errorType: authErrorType.REDIRECT_URI_MISMATCH },\n { parameterType: OAuth2ParameterType.AUDIENCE, errorType: authErrorType.SCOPE_MISMATCH }\n\n Successful Response\n {\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q...\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 3599,\n \"scope\": \"https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\",\n \"refresh_token\": \"AwABAAAAvPM1KaPlrEqdFSBzjqfTGAMxZGUTdM0t4B4...\",\n \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIyZDRkMTFhMi1mODE0LTQ2YTctOD...\",\n }\n\n Error Response\n {\n \"error\": \"invalid_scope\",\n \"error_description\": \"AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope https://foo.microsoft.com/mail.read is not valid.\\r\\nTrace ID: 255d1aef-8c98-452f-ac51-23d051240864\\r\\nCorrelation ID: fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\\r\\nTimestamp: 2016-01-09 02:02:12Z\",\n \"error_codes\": [\n 70011\n ],\n \"timestamp\": \"2016-01-09 02:02:12Z\",\n }\n \n */\n\n #HandleAuthenticateEvent = (id_token: string | null) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.AUTHENTICATE_EVENT\n }\n this.#ProcessCommand(message, id_token);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #HandleErrorEvent = (error: any) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.ERROR\n }\n this.#ProcessCommand(message, error);\n }\n\n #LogMessage = (messageToSend: string) => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.LOG\n }\n this.#ProcessCommand(message, messageToSend);\n }\n\n #GetAccessToken = (): string | null => {\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n const tokens: ITokenResponse = sessionData.tokenResponse;\n return tokens.access_token;\n } else {\n return null;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #GetCookies = (): any => {\n if (isNode) {\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n return sessionData.brokerCookie;\n } else {\n return null;\n }\n } else {\n return null;\n }\n }\n\n #UpdateInstrument = (instrumentName: Gauge, telemetry: InstrumentBaseTelemetry): void => {\n const message: IOauth2ListenerMessage = {\n messageId: -1, // un-solicited message\n command: IOauth2ListenerCommand.UPDATE_INSTRUMENT\n }\n this.#ProcessCommand(message, {\n instrumentName,\n telemetry\n });\n }\n\n SetupListener = () => {\n this.#oauthWorkerPort.onmessage = async (data: MessageEvent) => {\n const auth2ListenerMessage: IOauth2ListenerMessage = data.data as IOauth2ListenerMessage;\n this.#LogDebugMessage(`STSOAuth2Worker:SetupListener:onmessage: [${auth2ListenerMessage.command}]`);\n switch (auth2ListenerMessage.command) {\n case IOauth2ListenerCommand.RESTORE_SESSION :\n this.#ProcessCommand(auth2ListenerMessage, await this.#RestoreSession());\n break;\n case IOauth2ListenerCommand.AUTHORIZE :\n this.#ProcessCommand(auth2ListenerMessage, await this.#Authorize());\n break;\n case IOauth2ListenerCommand.HANDLE_REDIRECT :\n this.#ProcessCommand(auth2ListenerMessage, await this.#HandleRedirect(auth2ListenerMessage.payload));\n break;\n case IOauth2ListenerCommand.LOGOUT :\n this.#ProcessCommand(auth2ListenerMessage, await this.#Logout());\n break;\n //@@ Need a way of keeping this out of the main thread - should always stay within the worker\n case IOauth2ListenerCommand.ACCESS_TOKEN :\n this.#ProcessCommand(auth2ListenerMessage, await this.#GetAccessToken());\n break;\n case IOauth2ListenerCommand.EXECUTE_REFRESH_TOKEN :\n this.#ProcessCommand(auth2ListenerMessage, await this.#RefreshToken());\n break;\n case IOauth2ListenerCommand.COOKIES :\n this.#ProcessCommand(auth2ListenerMessage, await this.#GetCookies());\n break;\n default :\n throw new Error(`Command: [${auth2ListenerMessage.command}'] not found.`);\n }\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #ProcessCommand = async (auth2ListenerMessage: IOauth2ListenerMessage, response: any) => {\n const messageResponse: IOauth2ListenerMessageResponse = {\n messageId: auth2ListenerMessage.messageId as number,\n command: auth2ListenerMessage.command,\n payload: response\n }\n\n this.#oauthWorkerPort.postMessage(messageResponse);\n }\n\n #RestoreSession = async (): Promise<boolean> => {\n //@@ attempt to get from client storage first\n\n let restoredSessionData: ITokenResponse | null = null;\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n restoredSessionData = sessionData.tokenResponse;\n this.#LogInfoMessage('Session restored from client storage.');\n /*\n if (this.#aic) {\n this.#aic.UpdateInstrument('m', { LogMessage: 'Session restored from client storage.' });\n }\n */\n this.#LogMessage('Session restored from client storage.')\n } else {\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/session`;\n this.#LogInfoMessage('RestoreSession');\n this.#LogInfoMessage(url);\n /*\n if (this.#aic) {\n this.#aic.UpdateInstrument('m', { LogMessage: 'RestoreSession' });\n this.#aic.UpdateInstrument('m', { LogMessage: url });\n }\n */\n this.#LogMessage('RestoreSession.');\n this.#LogMessage(url);\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withData({\n [OAuth2ParameterType.CLIENT_ID]: this.#options.client_id,\n [OAuth2ParameterType.SCOPE]: this.#options.scope,\n [OAuth2ParameterType.REDIRECT_URI]: this.#options.redirect_uri,\n [OAuth2ParameterType.AUDIENCE]: this.#options.audience\n })\n .withDefaultHeaders()\n .withCredentials()\n .withTimeout(this.#options.timeout)\n this.#LogDebugMessage(chalk.magenta(`#RestoreSession:session request detail: [${JSON.stringify(rConfig)}]`));\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager)\n }\n const retVal = await axios(rConfig.config);\n if (retVal.data.status === StatusCodes.OK) {\n restoredSessionData = retVal.data.detail;\n if (restoredSessionData) {\n const newSessionData: ISessionData = {\n tokenResponse: restoredSessionData\n }\n\n if (isNode) {\n newSessionData.brokerCookie = retVal.headers['set-cookie'];\n }\n\n this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, newSessionData);\n this.#LogInfoMessage('Session restored from server side cookie.');\n } else {\n //@@ handle error better\n this.#LogErrorMessage(`Could not restore previous session. No restoredSessionData available.`);\n this.#LogErrorMessage(JSON.stringify(retVal.data));\n }\n } else {\n //@@ handle error better\n this.#LogErrorMessage('Could not restore previous session:-');\n this.#LogErrorMessage(JSON.stringify(retVal.data));\n }\n } catch (error) {\n //@@ handle error better\n this.#LogErrorMessage('Could not restore previous session (error state):-');\n this.#LogErrorMessage(error);\n this.#LogErrorMessage(JSON.stringify(error));\n }\n }\n\t\t\n //@@ must only use in-memory for this ...\n if (restoredSessionData !== null) {\n this.#HandleAuthenticateEvent(restoredSessionData.id_token);\n this.#LogInfoMessage('Refreshing tokens ...');\n return await this.#RefreshToken();\n } else {\n this.#HandleAuthenticateEvent(null);\n return false;\n }\n }\n\n #Authorize = async (): Promise<JSONObject> => {\n this.#LogInfoMessage('Authorize ...');\n\n /* MS Example\n --------------\n https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &response_type=code\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &response_mode=query\n &scope=offline_access%20https%3A%2F%2Fgraph.microsoft.com%2Fuser.read%20api%3A%2F%2F\n &state=12345\n &code_challenge=YTFjNjI1OWYzMzA3MTI4ZDY2Njg5M2RkNmVjNDE5YmEyZGRhOGYyM2IzNjdmZWFhMTQ1ODg3NDcxY2Nl\n &code_challenge_method=S256\n\n Successful Response\n\n GET http://localhost?\n code=AwABAAAAvPM1KaPlrEqdFSBzjqfTGBCmLdgfSTLEMPGYuNHSUYBrq...\n &state=12345\n\n Error Response\n GET http://localhost?\n error=access_denied\n &error_description=the+user+canceled+the+authentication\n\n << Hybrid Flow >>\n\n https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &response_type=code%20id_token\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &response_mode=fragment\n &scope=openid%20offline_access%20https%3A%2F%2Fgraph.microsoft.com%2Fuser.read\n &state=12345\n &nonce=abcde\n &code_challenge=YTFjNjI1OWYzMzA3MTI4ZDY2Njg5M2RkNmVjNDE5YmEyZGRhOGYyM2IzNjdmZWFhMTQ1ODg3NDcxY2Nl\n &code_challenge_method=S256\n\n Successful Response\n\n GET https://login.microsoftonline.com/common/oauth2/nativeclient#\n code=AwABAAAAvPM1KaPlrEqdFSBzjqfTGBCmLdgfSTLEMPGYuNHSUYBrq...\n &id_token=eYj...\n &state=12345\n\n Notes:\n The nonce is included as a claim inside the returned id_token\n Ref: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow\n */\n\n const client_id = this.#options.client_id;\n const nonce = this.#cUtils.CreateRandomString();\n const response_type = [ AuthorizeOptionsResponseType.CODE ]\n const redirect_uri = this.#options.redirect_uri;\n const response_mode = AuthorizeOptionsResponseMode.QUERY\n const scope = this.#options.scope\n const state = this.#cUtils.CreateRandomString();\n const code_verifier = this.#cUtils.CreateRandomString();\n const code_challenge = await this.#cUtils.DigestMessage(code_verifier);\n const code_challenge_method = 'S256';\n //let audience = this.#options.AUDIENCE;\n\n const authorizeOptions: IAuthorizeOptions = {\n client_id,\n nonce,\n response_type,\n redirect_uri,\n response_mode,\n scope,\n state,\n code_challenge,\n code_challenge_method\n }\n\n const authorizeOptionsClientCopy = { ...authorizeOptions };\n\n const url = `${this.#options.authorizeendpoint}:${this.#options.authorizeport}${this.#options.authorizeapiroot}${this.#options.authorizeapi}?${this.#qParams.CreateQueryParams(authorizeOptions)}`;\n\n this.#LogInfoMessage(url);\n\n // Now add the code_verifier to the transaction data\n authorizeOptions.code_verifier = code_verifier; //@@ Is this is the only thing required across the transaction ?\n\n this.#LogInfoMessage(`Authorize:authorizeOptions: [${JSON.stringify(authorizeOptions)}]`);\n\n return {\n url,\n authorizeOptions,\n authorizeOptionsClientCopy\n }\n //window.location.assign(url);\n //@@ this may need to be a message back to the plugin to re-direct\n //window.location.replace(url);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n #HandleRedirect = async (payload: any): Promise<boolean> => {\n const queryVars: IAuthorizeResponse | IAuthorizeErrorResponse = payload.queryVars;\n const authorizeOptions: IAuthorizeOptions = payload.authorizeOptions\n\n this.#LogDebugMessage(chalk.magenta(`#HandleRedirect: HandleRedirect`));\n // We have been re-direct back here from the /authorize end-point\n this.#LogDebugMessage(chalk.magenta(`#HandleRedirect: HandleRedirect:Query Vars: [${JSON.stringify(queryVars)}]`));\n\n if ((queryVars as JSONObject)[OAuth2ParameterType.CODE]) {\n const response: IAuthorizeResponse = queryVars as IAuthorizeResponse;\n\n this.#LogInfoMessage(`authorizeOptions from transaction state: [${JSON.stringify(authorizeOptions)}]`);\n\t\n const redirectState = response.state;\n const authorizeOptionsState = authorizeOptions.state;\n\t\n if (authorizeOptionsState.localeCompare(redirectState) === 0) {\n this.#LogInfoMessage(chalk.green('redirected state (from queryVars) matched previously saved transaction authorizeOptions state'));\n\n return await this.#GetToken(authorizeOptions, response);\n } else {\n this.#LogErrorMessage(chalk.red('redirected state (from queryVars) did NOT match previously saved transaction authorizeOptions state'));\n this.#LogErrorMessage(chalk.red(`authorizeOptionsState: [${authorizeOptionsState}]`));\n this.#LogErrorMessage(chalk.red(`redirectState: [${redirectState}]`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n }\n } else if ((queryVars as JSONObject)[OAuth2ParameterType.ERROR]) {\n //const response: IAuthorizeErrorResponse = queryVars as IAuthorizeErrorResponse;\n //@@ pass error back to parent thread (to the plugin) as a message\n //const error = response.error;\n //const errorDescription = response.error_description;\n this.#LogErrorMessage(chalk.red(`State un-matched (1)`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n } else {\n // Invalid redirect query params\n //const error = 'Invalid redirect query params'; //@@ fix\n //const errorDescription = 'Invalid redirect query params description'; //@@ fix\n this.#LogErrorMessage(chalk.red(`State un-matched (2)`));\n this.#HandleErrorEvent({message: 'State un-matched'});\n return false;\n }\n }\n\n /*\n client_id=6731de76-14a6-49ae-97bc-6eba6914391e\n &scope=https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\n &code=OAAABAAAAiL9Kn2Z27UubvWFPbm0gLWQJVzCTE9UkP3pSx1aXxUjq3n8b2JRLk4OxVXr...\n &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F\n &grant_type=authorization_code\n &code_verifier=ThisIsntRandomButItNeedsToBe43CharactersLong \n &client_secret=JqQX2PNo9bpM0uEihUPzyrh // NOTE: Only required for web apps. This secret needs to be URL-Encoded.\n\n Successful Response\n {\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q...\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 3599,\n \"scope\": \"https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\",\n \"refresh_token\": \"AwABAAAAvPM1KaPlrEqdFSBzjqfTGAMxZGUTdM0t4B4...\",\n \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIyZDRkMTFhMi1mODE0LTQ2YTctOD...\",\n }\n */\n\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n #GetTokenFromBroker = async (authorizationCodeFlowParameters: IAuthorizationCodeFlowParameters | IRefreshFlowParameters): Promise<boolean> => {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker`));\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/token`;\n\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withDefaultHeaders()\n .withData(authorizationCodeFlowParameters)\n .withCredentials()\n .withTimeout(this.#options.timeout)\n\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: request config: [${JSON.stringify(rConfig)}]`));\n\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager)\n }\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: axios API call`));\n const retVal = await axios(rConfig.config);\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: axios API call result: [${retVal.status}]`));\n\n if (retVal.status === StatusCodes.OK) {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: storing tokens`));\n const tokenResponse: ITokenResponse = retVal.data as ITokenResponse;\n this.#HandleAuthenticateEvent(tokenResponse.id_token);\n const newSessionData: ISessionData = {\n tokenResponse: tokenResponse\n }\n\n if (isNode) {\n newSessionData.brokerCookie = retVal.headers['set-cookie'];\n }\n\n this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, newSessionData);\n return true;\n } else if (retVal.status === StatusCodes.UNAUTHORIZED) {\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: NOT storing tokens, status: [${retVal.status}]`));\n\n this.#HandleAuthenticateEvent(null);\n\n //const response: ITokenErrorResponse = retVal.data as ITokenErrorResponse;\n\n //@@ store response in state\n //@@ go to error page ??\n return false;\n\n } else {\n // General error\n this.#LogDebugMessage(chalk.magenta(`#GetTokenFromBroker: NOT storing tokens (general error 1), status: [${retVal.status}]`));\n this.#HandleAuthenticateEvent(null);\n this.#LogErrorMessage(chalk.red('Could not obtain access_token from token end-point:-'));\n this.#LogErrorMessage(chalk.red(JSON.stringify(retVal.data)));\n //@@ store error in state to show in error page\n return false;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red(`#GetTokenFromBroker: NOT storing tokens (general error 2), status: [${error}]`));\n this.#HandleAuthenticateEvent(null);\n //@@ store error in state to show in error page\n return false;\n }\n }\n\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n #GetToken = async (authorizeOptions: IAuthorizeOptions, authorizeResponse: IAuthorizeResponse): Promise<boolean> => {\n this.#LogInfoMessage(\"#GetToken\");\n this.#LogInfoMessage(authorizeResponse);\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n //this.#clientSessionStore.set(this.#STORAGE_SESSION_KEY, null);\n\n const authorizationCodeFlowParameters: IAuthorizationCodeFlowParameters = {\n client_id: this.#options.client_id,\n scope: this.#options.scope,\n code: authorizeResponse.code,\n redirect_uri: this.#options.redirect_uri,\n grant_type: OAuthGrantTypes.AUTHORIZATION_CODE,\n code_verifier: authorizeOptions.code_verifier as string\n }\n\n return await this.#GetTokenFromBroker(authorizationCodeFlowParameters);\n }\n\t\n /*\n\t// Line breaks for legibility only\n\nPOST /{tenant}/oauth2/v2.0/token HTTP/1.1\nHost: https://login.microsoftonline.com\nContent-Type: application/x-www-form-urlencoded\n\nclient_id=535fb089-9ff3-47b6-9bfb-4f1264799865\n&scope=https%3A%2F%2Fgraph.microsoft.com%2Fmail.read\n&refresh_token=OAAABAAAAiL9Kn2Z27UubvWFPbm0gLWQJVzCTE9UkP3pSx1aXxUjq...\n&grant_type=refresh_token\n&client_secret=sampleCredentia1s // NOTE: Only required for web apps. This secret needs to be URL-Encoded\n\nError Response\n{\n\t\"error\": \"invalid_scope\",\n\t\"error_description\": \"AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope https://foo.microsoft.com/mail.read is not valid.\\r\\nTrace ID: 255d1aef-8c98-452f-ac51-23d051240864\\r\\nCorrelation ID: fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\\r\\nTimestamp: 2016-01-09 02:02:12Z\",\n\t\"error_codes\": [\n\t 70011\n\t],\n\t\"timestamp\": \"2016-01-09 02:02:12Z\",\n\t\"trace_id\": \"255d1aef-8c98-452f-ac51-23d051240864\",\n\t\"correlation_id\": \"fb3d2015-bc17-4bb9-bb85-30c5cf1aaaa7\"\n }\n*/\n\n #RefreshToken = async (): Promise<boolean> => {\n // Get access_token, refresh_token and id_token using OAuth2 Authorization Code Flow\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Worker:#RefreshToken:start`));\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n this.#LogDebugMessage(chalk.cyan(`STSOAuth2Worker:#RefreshToken:sessionData: [${JSON.stringify(sessionData)}]`));\n const currentSessionData = sessionData.tokenResponse;\n const refreshFlowParameters: IRefreshFlowParameters = {\n client_id: this.#options.client_id,\n scope: this.#options.scope,\n refresh_token: currentSessionData.refresh_token,\n grant_type: OAuthGrantTypes.REFRESH_TOKEN\n }\n return await this.#GetTokenFromBroker(refreshFlowParameters);\n } else {\n this.#LogErrorMessage(chalk.red(`STSOAuth2Worker:#RefreshToken:sessionData not found within clientSessionStore`));\n // show error\n //@@ no valid session exists for refresh\n return false;\n }\n }\n\n // call broker to logout\n // broker to logout of server\n // delete cookie\n // clear session storage\n // clear all state from $store\n #Logout = async (): Promise<boolean> => {\n this.#LogInfoMessage('Logout');\n const url = `${this.#options.brokerendpoint}:${this.#options.brokerport}${this.#options.brokerapiroot}/logout`;\n this.#LogInfoMessage(url);\n\n const sessionData: ISessionData | null = this.#clientSessionStore.get(this.#STORAGE_SESSION_KEY);\n if (sessionData) {\n const currentSessionData: ITokenResponse = sessionData.tokenResponse;\n const refresh_token = currentSessionData.refresh_token;\n this.#LogInfoMessage(refresh_token);\n\n const decodedRefreshToken: JSONObject = jwtDecode<JSONObject>(refresh_token);\n this.#LogInfoMessage(decodedRefreshToken);\n const sessionId = decodedRefreshToken.sts_session;\n this.#LogInfoMessage(sessionId);\n\n this.#clientSessionStore.remove(this.#STORAGE_SESSION_KEY);\n this.#HandleAuthenticateEvent(null);\n\n try {\n const rConfig = new STSAxiosConfig(url, 'post')\n .withData({\n sessionId\n })\n .withDefaultHeaders()\n .withCredentials()\n .withTimeout(this.#options.timeout);\n if (isNode && this.#agentManager) {\n rConfig.withAgentManager(this.#agentManager);\n }\n\n this.#LogDebugMessage(chalk.magenta(`#Logout: request config: [${rConfig}]`));\n const retVal = await axios(rConfig.config);\n if (retVal.data.status === StatusCodes.OK) {\n return true;\n } else {\n this.#LogErrorMessage(chalk.red('Error during logout (1: server side)'));\n this.#LogErrorMessage(chalk.red(JSON.stringify(retVal.data)));\n return false;\n }\n } catch (error) {\n this.#LogErrorMessage(chalk.red('Error during logout (2: server side)'));\n this.#LogErrorMessage(chalk.red(error));\n this.#LogErrorMessage(chalk.red(JSON.stringify(error)));\n return false;\n }\n } else {\n this.#LogInfoMessage('Error during logout. Could not restore session from session storage.');\n return false;\n }\n }\n}\n","//import { createPinia, defineStore } from 'pinia'\n//import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\n\nimport { defineStore } from 'pinia'\n\n// Replace with pinia\n// https://pinia.vuejs.org/\n// https://seb-l.github.io/pinia-plugin-persist/\nexport const TestStore = defineStore('__sts__TestStore', {\n state: () => {\n return {\n count: 0\n }\n },\n actions: {\n UpdateCount() {\n this.count++;\n }\n },\n getters: {\n CountXX: (state) => {\n return state.count * 2;\n }\n }\n /*\n\tpersist: {\n\t\tstorage: globalThis.sessionStorage\n\t}\n\t*/\n});\n","/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF\nimport { inject } from 'vue'\n\nimport { STSOAuth2ManagerPluginKey } from './stsPluginKeys.js'\n\nimport { STSOAuth2Manager } from './stsoauth2manager.js'\nimport { ISTSOAuth2ManagerOptions } from './stsoauth2types.js'\n\nexport * from './stsoauth2types.js'\nexport * from './stsoauth2manager.js'\nexport * from './stsoauth2worker.js'\n\nexport * from './stores/testStore.js'\nexport * from './stores/stsoauth2store.js'\n\nexport * from './stsPluginKeys.js'\n\n// Create our use composable. This pattern is also used by vue router library with the useRoute and useRouter composables.\n// https://skirtles-code.github.io/vue-examples/patterns/global-properties.html#application-level-provide-inject\nexport const useSTSOAuth2ManagerPlugin = (): STSOAuth2Manager => inject(STSOAuth2ManagerPluginKey) as STSOAuth2Manager\n\nexport const STSOAuth2ManagerPlugin = {\n install: (app: any, options: ISTSOAuth2ManagerOptions) => {\n const om = new STSOAuth2Manager(app, options);\n\n // Assign plugin instance to global $sts object (legacy method - see below)\n if (!app.config.globalProperties.$sts) {\n app.config.globalProperties.$sts = { };\n }\n app.config.globalProperties.$sts[STSOAuth2ManagerPluginKey] = om;\n\n // Assign App level provide for this STS plugin using symbol keys\n // https://vuejs.org/guide/components/provide-inject.html#working-with-symbol-keys\n app.provide(STSOAuth2ManagerPluginKey, om);\n }\n}\n"],"x_google_ignoreList":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,206,207,209,210,211,214],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAa,4BAA4B,QAAQ;;;ACDjD,IAAMA,2BAAyB;AAE/B,IAAMC,gBAAc,SAAS,OAAM,SAAQ,UAAU,OAAO,OAAO;AAEnE,IAAMC,iBAAe,SAAS,OAAM,SAAQ,UAAU,KAAK,OAAO,KAAK,KAAK;AAE5E,IAAMC,iBAAe,SAAS,OAAO,KAAK,OAAO,SAAS,UAAU,KAAK,OAAO,KAAK,IAAI,GAAG,MAAM,GAAG,KAAK;AAE1G,IAAMC,WAAS;CACd,UAAU;EACT,OAAO,CAAC,GAAG,EAAE;EAEb,MAAM,CAAC,GAAG,GAAG;EACb,KAAK,CAAC,GAAG,GAAG;EACZ,QAAQ,CAAC,GAAG,GAAG;EACf,WAAW,CAAC,GAAG,GAAG;EAClB,UAAU,CAAC,IAAI,GAAG;EAClB,SAAS,CAAC,GAAG,GAAG;EAChB,QAAQ,CAAC,GAAG,GAAG;EACf,eAAe,CAAC,GAAG,GAAG;EACtB;CACD,OAAO;EACN,OAAO,CAAC,IAAI,GAAG;EACf,KAAK,CAAC,IAAI,GAAG;EACb,OAAO,CAAC,IAAI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