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Q,OACR,MAAM,IAAI,MAAM,0BAA0B,MAEzC,GAAI,EAAQ,OAAS,EACtB,MAAM,IAAI,MAAM,oBAAoB,MAExC,MAAM,EAAS,EAAQ,GACT,MAAV,IACA,EAAO,KAAO,EAAc,EAAO,MACnC,EAAY,KAAK,GACrB,IAEG,CAAE,KAAM,EAAiB,cACpC,CAuCA,SAAS,EAAc,GAEnB,MAAa,SAAT,EACO,QAEO,SAAT,EACE,OAEJ,CACX,CAGO,GAKO,EAA2B,CAAC,EAGhC,SAAS,EAAoB,GAE5B,IAAI,EAAe,EAAyB,GAC5C,QAAqB,IAAjB,EACH,OAAO,EAAa,QAGrB,IAAI,EAAS,EAAyB,GAAY,CAGjD,QAAS,CAAC,GAOX,OAHA,EAAoB,GAAU,KAAK,EAAO,QAAS,EAAQ,EAAO,QAAS,GAGpE,EAAO,OACf,CAMC,EAAoB,EAAI,CAAC,EAAS,KACjC,IAAI,IAAI,KAAO,EACX,EAAoB,EAAE,EAAY,KAAS,EAAoB,EAAE,EAAS,IAC5E,OAAO,eAAe,EAAS,EAAK,CAAE,YAAY,EAAM,IAAK,EAAW,IAE1E,EAMD,EAAoB,EAAI,CAAC,EAAK,IAAU,OAAO,UAAU,eAAe,KAAK,EAAK,GAMlF,EAAoB,EAAK,IACH,oBAAX,QAA0B,OAAO,aAC1C,OAAO,eAAe,EAAS,OAAO,YAAa,CAAE,MAAO,WAE7D,OAAO,eAAe,EAAS,aAAc,CAAE,OAAO,GAAO,EAS/D,IAAI,EAAsB,EAAoB,KAC9C,OAAO,QAAU,CAEjB,EAxzED","file":"/npm/@foxglove/rosmsg@5.0.5/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@foxglove/rosmsg@5.0.5/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 91:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.buildRos2Type = buildRos2Type;\n/**\n * Parser for ROS 2 type definition lines.\n * Reference implementation: https://github.com/ros2/rosidl/blob/master/rosidl_adapter/rosidl_adapter/parser.py\n */\nconst TYPE = String.raw `(?<type>[a-zA-Z0-9_/]+)`;\nconst STRING_BOUND = String.raw `(?:<=(?<stringBound>\\d+))`;\nconst ARRAY_BOUND = String.raw `(?:(?<unboundedArray>\\[\\])|\\[(?<arrayLength>\\d+)\\]|\\[<=(?<arrayBound>\\d+)\\])`;\nconst NAME = String.raw `(?<name>[a-zA-Z0-9_]+)`;\nconst QUOTED_STRING = String.raw `'(?:\\\\.|[^'\\\\])*'|\"(?:\\\\.|[^\"\\\\])*\"`;\nconst COMMENT_TERMINATED_LITERAL = String.raw `(?:${QUOTED_STRING}|(?:\\\\.|[^\\s'\"#\\\\])(?:\\\\.|[^#\\\\])*)`;\nconst ARRAY_TERMINATED_LITERAL = String.raw `(?:${QUOTED_STRING}|(?:\\\\.|[^\\s'\"\\],#\\\\])(?:\\\\.|[^\\],#\\\\])*)`;\nconst CONSTANT_ASSIGNMENT = String.raw `\\s*=\\s*(?<constantValue>${COMMENT_TERMINATED_LITERAL}?)`;\nconst DEFAULT_VALUE_ARRAY = String.raw `\\[(?:${ARRAY_TERMINATED_LITERAL},)*${ARRAY_TERMINATED_LITERAL}?\\]`;\nconst DEFAULT_VALUE = String.raw `(?<defaultValue>${DEFAULT_VALUE_ARRAY}|${COMMENT_TERMINATED_LITERAL})`;\nconst COMMENT = String.raw `(?:#.*)`;\nconst DEFINITION_LINE_REGEX = new RegExp(String.raw `^${TYPE}${STRING_BOUND}?${ARRAY_BOUND}?\\s+${NAME}(?:${CONSTANT_ASSIGNMENT}|\\s+${DEFAULT_VALUE})?\\s*${COMMENT}?$`);\nconst STRING_ESCAPES = String.raw `\\\\(?<char>['\"abfnrtv\\\\])|\\\\(?<oct>[0-7]{1,3})|\\\\x(?<hex2>[a-fA-F0-9]{2})|\\\\u(?<hex4>[a-fA-F0-9]{4})|\\\\U(?<hex8>[a-fA-F0-9]{8})`;\nconst BUILTIN_TYPES = [\n    \"bool\",\n    \"byte\",\n    \"char\",\n    \"float32\",\n    \"float64\",\n    \"int8\",\n    \"uint8\",\n    \"int16\",\n    \"uint16\",\n    \"int32\",\n    \"uint32\",\n    \"int64\",\n    \"uint64\",\n    \"string\",\n    \"wstring\",\n    \"time\",\n    \"duration\",\n    \"builtin_interfaces/Time\",\n    \"builtin_interfaces/Duration\",\n    \"builtin_interfaces/msg/Time\",\n    \"builtin_interfaces/msg/Duration\",\n];\nfunction parseBigIntLiteral(str, min, max) {\n    const value = BigInt(str);\n    if (value < min || value > max) {\n        throw new Error(`Number ${str} out of range [${min}, ${max}]`);\n    }\n    return value;\n}\nfunction parseNumberLiteral(str, min, max) {\n    const value = parseInt(str);\n    if (Number.isNaN(value)) {\n        throw new Error(`Invalid numeric literal: ${str}`);\n    }\n    if (value < min || value > max) {\n        throw new Error(`Number ${str} out of range [${min}, ${max}]`);\n    }\n    return value;\n}\nconst LITERAL_REGEX = new RegExp(ARRAY_TERMINATED_LITERAL, \"y\");\nconst COMMA_OR_END_REGEX = /\\s*(,)\\s*|\\s*$/y;\nfunction parseArrayLiteral(type, rawStr) {\n    if (!rawStr.startsWith(\"[\") || !rawStr.endsWith(\"]\")) {\n        throw new Error(\"Array must start with [ and end with ]\");\n    }\n    const str = rawStr.substring(1, rawStr.length - 1);\n    if (type === \"string\" || type === \"wstring\") {\n        const results = [];\n        let offset = 0;\n        while (offset < str.length) {\n            if (str[offset] === \",\") {\n                throw new Error(\"Expected array element before comma\");\n            }\n            LITERAL_REGEX.lastIndex = offset;\n            let match = LITERAL_REGEX.exec(str);\n            if (match) {\n                results.push(parseStringLiteral(match[0]));\n                offset = LITERAL_REGEX.lastIndex;\n            }\n            COMMA_OR_END_REGEX.lastIndex = offset;\n            match = COMMA_OR_END_REGEX.exec(str);\n            if (!match) {\n                throw new Error(\"Expected comma or end of array\");\n            }\n            if (!match[1]) {\n                break;\n            }\n            offset = COMMA_OR_END_REGEX.lastIndex;\n        }\n        return results;\n    }\n    return str.split(\",\").map((part) => parsePrimitiveLiteral(type, part.trim()));\n}\nfunction parseStringLiteral(maybeQuotedStr) {\n    let quoteThatMustBeEscaped = \"\";\n    let str = maybeQuotedStr;\n    for (const quote of [\"'\", '\"']) {\n        if (maybeQuotedStr.startsWith(quote)) {\n            if (!maybeQuotedStr.endsWith(quote)) {\n                throw new Error(`Expected terminating ${quote} in string literal: ${maybeQuotedStr}`);\n            }\n            quoteThatMustBeEscaped = quote;\n            str = maybeQuotedStr.substring(quote.length, maybeQuotedStr.length - quote.length);\n            break;\n        }\n    }\n    if (\n    // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-unnecessary-condition\n    !new RegExp(String.raw `^(?:[^\\\\${quoteThatMustBeEscaped}]|${STRING_ESCAPES})*$`).test(str) ==\n        undefined) {\n        throw new Error(`Invalid string literal: ${str}`);\n    }\n    return str.replace(new RegExp(STRING_ESCAPES, \"g\"), (...args) => {\n        const { char, oct, hex2, hex4, hex8 } = args[args.length - 1];\n        const hex = hex2 ?? hex4 ?? hex8;\n        if (char != undefined) {\n            return {\n                \"'\": \"'\",\n                '\"': '\"',\n                a: \"\\x07\",\n                b: \"\\b\",\n                f: \"\\f\",\n                n: \"\\n\",\n                r: \"\\r\",\n                t: \"\\t\",\n                v: \"\\v\",\n                \"\\\\\": \"\\\\\",\n            }[char];\n        }\n        else if (oct != undefined) {\n            return String.fromCodePoint(parseInt(oct, 8));\n        }\n        else if (hex != undefined) {\n            return String.fromCodePoint(parseInt(hex, 16));\n        }\n        else {\n            throw new Error(\"Expected exactly one matched group\");\n        }\n    });\n}\nfunction parsePrimitiveLiteral(type, str) {\n    switch (type) {\n        case \"bool\":\n            if ([\"true\", \"True\", \"1\"].includes(str)) {\n                return true;\n            }\n            else if ([\"false\", \"False\", \"0\"].includes(str)) {\n                return false;\n            }\n            break;\n        case \"float32\":\n        case \"float64\": {\n            const value = parseFloat(str);\n            if (!Number.isNaN(value)) {\n                return value;\n            }\n            break;\n        }\n        case \"int8\":\n            return parseNumberLiteral(str, ~0x7f, 0x7f);\n        case \"uint8\":\n            return parseNumberLiteral(str, 0, 0xff);\n        case \"int16\":\n            return parseNumberLiteral(str, ~0x7fff, 0x7fff);\n        case \"uint16\":\n            return parseNumberLiteral(str, 0, 0xffff);\n        case \"int32\":\n            return parseNumberLiteral(str, ~0x7fffffff, 0x7fffffff);\n        case \"uint32\":\n            return parseNumberLiteral(str, 0, 0xffffffff);\n        case \"int64\":\n            return parseBigIntLiteral(str, ~0x7fffffffffffffffn, 0x7fffffffffffffffn);\n        case \"uint64\":\n            return parseBigIntLiteral(str, 0n, 0xffffffffffffffffn);\n        case \"string\":\n        case \"wstring\":\n            return parseStringLiteral(str);\n    }\n    throw new Error(`Invalid literal of type ${type}: ${str}`);\n}\nfunction normalizeType(type) {\n    switch (type) {\n        case \"char\":\n            return \"uint8\";\n        case \"byte\":\n            return \"uint8\";\n        case \"builtin_interfaces/Time\":\n        case \"builtin_interfaces/msg/Time\":\n            return \"time\";\n        case \"builtin_interfaces/Duration\":\n        case \"builtin_interfaces/msg/Duration\":\n            return \"duration\";\n    }\n    return type;\n}\nfunction buildRos2Type(lines) {\n    const definitions = [];\n    let complexTypeName;\n    for (const { line } of lines) {\n        let match;\n        if (line.startsWith(\"#\")) {\n            continue;\n        }\n        else if ((match = /^MSG: ([^ ]+)\\s*(?:#.+)?$/.exec(line))) {\n            complexTypeName = match[1];\n            continue;\n        }\n        else if ((match = DEFINITION_LINE_REGEX.exec(line))) {\n            const { type: rawType, stringBound, unboundedArray, arrayLength, arrayBound, name, constantValue, defaultValue, } = match.groups;\n            const type = normalizeType(rawType);\n            if (stringBound != undefined && type !== \"string\" && type !== \"wstring\") {\n                throw new Error(`Invalid string bound for type ${type}`);\n            }\n            if (constantValue != undefined) {\n                if (!/^[A-Z](?:_?[A-Z0-9]+)*$/.test(name)) {\n                    throw new Error(`Invalid constant name: ${name}`);\n                }\n            }\n            else {\n                if (!/^[a-z](?:_?[a-z0-9]+)*$/.test(name)) {\n                    throw new Error(`Invalid field name: ${name}`);\n                }\n            }\n            const isComplex = !BUILTIN_TYPES.includes(type);\n            const isArray = unboundedArray != undefined || arrayLength != undefined || arrayBound != undefined;\n            definitions.push({\n                name: name,\n                type,\n                isComplex: constantValue != undefined ? isComplex || undefined : isComplex,\n                isConstant: constantValue != undefined || undefined,\n                isArray: constantValue != undefined ? isArray || undefined : isArray,\n                arrayLength: arrayLength != undefined ? parseInt(arrayLength) : undefined,\n                arrayUpperBound: arrayBound != undefined ? parseInt(arrayBound) : undefined,\n                upperBound: stringBound != undefined ? parseInt(stringBound) : undefined,\n                defaultValue: defaultValue != undefined\n                    ? isArray\n                        ? parseArrayLiteral(type, defaultValue.trim())\n                        : parsePrimitiveLiteral(type, defaultValue.trim())\n                    : undefined,\n                value: constantValue != undefined\n                    ? parsePrimitiveLiteral(type, constantValue.trim())\n                    : undefined,\n                valueText: constantValue?.trim(),\n            });\n        }\n        else {\n            throw new Error(`Could not parse line: '${line}'`);\n        }\n    }\n    return { name: complexTypeName, definitions };\n}\n\n\n/***/ }),\n\n/***/ 155:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__exportStar(__webpack_require__(498), exports);\n__exportStar(__webpack_require__(900), exports);\n\n\n/***/ }),\n\n/***/ 425:\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.md5 = md5;\nconst md5_typescript_1 = __webpack_require__(479);\nconst BUILTIN_TYPES = new Set([\n    \"int8\",\n    \"uint8\",\n    \"int16\",\n    \"uint16\",\n    \"int32\",\n    \"uint32\",\n    \"int64\",\n    \"uint64\",\n    \"float32\",\n    \"float64\",\n    \"string\",\n    \"bool\",\n    \"char\",\n    \"byte\",\n    \"time\",\n    \"duration\",\n]);\n/**\n * Converts a ROS 1 message definition (http://wiki.ros.org/msg) into an md5 checksum using the same\n * approach as `gendeps --md5` from ROS 1.\n * @param msgDefs The ROS message definition to generate a checksum for, and all dependent\n * sub-messages\n * @returns An md5 checksum string\n */\nfunction md5(msgDefs) {\n    if (msgDefs.length === 0) {\n        throw new Error(`Cannot produce md5sum for empty msgDefs`);\n    }\n    const subMsgDefs = new Map();\n    for (const msgDef of msgDefs) {\n        if (msgDef.name != undefined) {\n            subMsgDefs.set(msgDef.name, msgDef);\n        }\n    }\n    const first = msgDefs[0];\n    return computeMessageMd5(first, subMsgDefs);\n}\nfunction computeMessageMd5(msgDef, subMsgDefs) {\n    let output = \"\";\n    // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n    const constants = msgDef.definitions.filter(({ isConstant }) => isConstant);\n    const variables = msgDef.definitions.filter(({ isConstant }) => isConstant == undefined || !isConstant);\n    for (const def of constants) {\n        output += `${def.type} ${def.name}=${def.valueText ?? String(def.value)}\\n`;\n    }\n    for (const def of variables) {\n        if (isBuiltin(def.type)) {\n            const arrayLength = def.arrayLength != undefined ? String(def.arrayLength) : \"\";\n            const array = def.isArray === true ? `[${arrayLength}]` : \"\";\n            output += `${def.type}${array} ${def.name}\\n`;\n        }\n        else {\n            const subMsgDef = subMsgDefs.get(def.type);\n            if (subMsgDef == undefined) {\n                throw new Error(`Missing definition for submessage type \"${def.type}\"`);\n            }\n            const subMd5 = computeMessageMd5(subMsgDef, subMsgDefs);\n            output += `${subMd5} ${def.name}\\n`;\n        }\n    }\n    output = output.trimEnd();\n    return md5_typescript_1.Md5.init(output);\n}\nfunction isBuiltin(typeName) {\n    return BUILTIN_TYPES.has(typeName);\n}\n\n\n/***/ }),\n\n/***/ 479:\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Md5: () => (/* binding */ Md5)\n/* harmony export */ });\nvar Md5 = /** @class */ (function () {\n    function Md5() {\n    }\n    Md5.AddUnsigned = function (lX, lY) {\n        var lX4, lY4, lX8, lY8, lResult;\n        lX8 = (lX & 0x80000000);\n        lY8 = (lY & 0x80000000);\n        lX4 = (lX & 0x40000000);\n        lY4 = (lY & 0x40000000);\n        lResult = (lX & 0x3FFFFFFF) + (lY & 0x3FFFFFFF);\n        if (!!(lX4 & lY4)) {\n            return (lResult ^ 0x80000000 ^ lX8 ^ lY8);\n        }\n        if (!!(lX4 | lY4)) {\n            if (!!(lResult & 0x40000000)) {\n                return (lResult ^ 0xC0000000 ^ lX8 ^ lY8);\n            }\n            else {\n                return (lResult ^ 0x40000000 ^ lX8 ^ lY8);\n            }\n        }\n        else {\n            return (lResult ^ lX8 ^ lY8);\n        }\n    };\n    Md5.FF = function (a, b, c, d, x, s, ac) {\n        a = this.AddUnsigned(a, this.AddUnsigned(this.AddUnsigned(this.F(b, c, d), x), ac));\n        return this.AddUnsigned(this.RotateLeft(a, s), b);\n    };\n    Md5.GG = function (a, b, c, d, x, s, ac) {\n        a = this.AddUnsigned(a, this.AddUnsigned(this.AddUnsigned(this.G(b, c, d), x), ac));\n        return this.AddUnsigned(this.RotateLeft(a, s), b);\n    };\n    Md5.HH = function (a, b, c, d, x, s, ac) {\n        a = this.AddUnsigned(a, this.AddUnsigned(this.AddUnsigned(this.H(b, c, d), x), ac));\n        return this.AddUnsigned(this.RotateLeft(a, s), b);\n    };\n    Md5.II = function (a, b, c, d, x, s, ac) {\n        a = this.AddUnsigned(a, this.AddUnsigned(this.AddUnsigned(this.I(b, c, d), x), ac));\n        return this.AddUnsigned(this.RotateLeft(a, s), b);\n    };\n    Md5.ConvertToWordArray = function (string) {\n        var lWordCount, lMessageLength = string.length, lNumberOfWords_temp1 = lMessageLength + 8, lNumberOfWords_temp2 = (lNumberOfWords_temp1 - (lNumberOfWords_temp1 % 64)) / 64, lNumberOfWords = (lNumberOfWords_temp2 + 1) * 16, lWordArray = Array(lNumberOfWords - 1), lBytePosition = 0, lByteCount = 0;\n        while (lByteCount < lMessageLength) {\n            lWordCount = (lByteCount - (lByteCount % 4)) / 4;\n            lBytePosition = (lByteCount % 4) * 8;\n            lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount) << lBytePosition));\n            lByteCount++;\n        }\n        lWordCount = (lByteCount - (lByteCount % 4)) / 4;\n        lBytePosition = (lByteCount % 4) * 8;\n        lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition);\n        lWordArray[lNumberOfWords - 2] = lMessageLength << 3;\n        lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29;\n        return lWordArray;\n    };\n    Md5.WordToHex = function (lValue) {\n        var WordToHexValue = \"\", WordToHexValue_temp = \"\", lByte, lCount;\n        for (lCount = 0; lCount <= 3; lCount++) {\n            lByte = (lValue >>> (lCount * 8)) & 255;\n            WordToHexValue_temp = \"0\" + lByte.toString(16);\n            WordToHexValue = WordToHexValue + WordToHexValue_temp.substr(WordToHexValue_temp.length - 2, 2);\n        }\n        return WordToHexValue;\n    };\n    Md5.Utf8Encode = function (string) {\n        var utftext = \"\", c;\n        string = string.replace(/\\r\\n/g, \"\\n\");\n        for (var n = 0; n < string.length; n++) {\n            c = string.charCodeAt(n);\n            if (c < 128) {\n                utftext += String.fromCharCode(c);\n            }\n            else if ((c > 127) && (c < 2048)) {\n                utftext += String.fromCharCode((c >> 6) | 192);\n                utftext += String.fromCharCode((c & 63) | 128);\n            }\n            else {\n                utftext += String.fromCharCode((c >> 12) | 224);\n                utftext += String.fromCharCode(((c >> 6) & 63) | 128);\n                utftext += String.fromCharCode((c & 63) | 128);\n            }\n        }\n        return utftext;\n    };\n    Md5.init = function (string) {\n        var temp;\n        if (typeof string !== 'string')\n            string = JSON.stringify(string);\n        this._string = this.Utf8Encode(string);\n        this.x = this.ConvertToWordArray(this._string);\n        this.a = 0x67452301;\n        this.b = 0xEFCDAB89;\n        this.c = 0x98BADCFE;\n        this.d = 0x10325476;\n        for (this.k = 0; this.k < this.x.length; this.k += 16) {\n            this.AA = this.a;\n            this.BB = this.b;\n            this.CC = this.c;\n            this.DD = this.d;\n            this.a = this.FF(this.a, this.b, this.c, this.d, this.x[this.k], this.S11, 0xD76AA478);\n            this.d = this.FF(this.d, this.a, this.b, this.c, this.x[this.k + 1], this.S12, 0xE8C7B756);\n            this.c = this.FF(this.c, this.d, this.a, this.b, this.x[this.k + 2], this.S13, 0x242070DB);\n            this.b = this.FF(this.b, this.c, this.d, this.a, this.x[this.k + 3], this.S14, 0xC1BDCEEE);\n            this.a = this.FF(this.a, this.b, this.c, this.d, this.x[this.k + 4], this.S11, 0xF57C0FAF);\n            this.d = this.FF(this.d, this.a, this.b, this.c, this.x[this.k + 5], this.S12, 0x4787C62A);\n            this.c = this.FF(this.c, this.d, this.a, this.b, this.x[this.k + 6], this.S13, 0xA8304613);\n            this.b = this.FF(this.b, this.c, this.d, this.a, this.x[this.k + 7], this.S14, 0xFD469501);\n            this.a = this.FF(this.a, this.b, this.c, this.d, this.x[this.k + 8], this.S11, 0x698098D8);\n            this.d = this.FF(this.d, this.a, this.b, this.c, this.x[this.k + 9], this.S12, 0x8B44F7AF);\n            this.c = this.FF(this.c, this.d, this.a, this.b, this.x[this.k + 10], this.S13, 0xFFFF5BB1);\n            this.b = this.FF(this.b, this.c, this.d, this.a, this.x[this.k + 11], this.S14, 0x895CD7BE);\n            this.a = this.FF(this.a, this.b, this.c, this.d, this.x[this.k + 12], this.S11, 0x6B901122);\n            this.d = this.FF(this.d, this.a, this.b, this.c, this.x[this.k + 13], this.S12, 0xFD987193);\n            this.c = this.FF(this.c, this.d, this.a, this.b, this.x[this.k + 14], this.S13, 0xA679438E);\n            this.b = this.FF(this.b, this.c, this.d, this.a, this.x[this.k + 15], this.S14, 0x49B40821);\n            this.a = this.GG(this.a, this.b, this.c, this.d, this.x[this.k + 1], this.S21, 0xF61E2562);\n            this.d = this.GG(this.d, this.a, this.b, this.c, this.x[this.k + 6], this.S22, 0xC040B340);\n            this.c = this.GG(this.c, this.d, this.a, this.b, this.x[this.k + 11], this.S23, 0x265E5A51);\n            this.b = this.GG(this.b, this.c, this.d, this.a, this.x[this.k], this.S24, 0xE9B6C7AA);\n            this.a = this.GG(this.a, this.b, this.c, this.d, this.x[this.k + 5], this.S21, 0xD62F105D);\n            this.d = this.GG(this.d, this.a, this.b, this.c, this.x[this.k + 10], this.S22, 0x2441453);\n            this.c = this.GG(this.c, this.d, this.a, this.b, this.x[this.k + 15], this.S23, 0xD8A1E681);\n            this.b = this.GG(this.b, this.c, this.d, this.a, this.x[this.k + 4], this.S24, 0xE7D3FBC8);\n            this.a = this.GG(this.a, this.b, this.c, this.d, this.x[this.k + 9], this.S21, 0x21E1CDE6);\n            this.d = this.GG(this.d, this.a, this.b, this.c, this.x[this.k + 14], this.S22, 0xC33707D6);\n            this.c = this.GG(this.c, this.d, this.a, this.b, this.x[this.k + 3], this.S23, 0xF4D50D87);\n            this.b = this.GG(this.b, this.c, this.d, this.a, this.x[this.k + 8], this.S24, 0x455A14ED);\n            this.a = this.GG(this.a, this.b, this.c, this.d, this.x[this.k + 13], this.S21, 0xA9E3E905);\n            this.d = this.GG(this.d, this.a, this.b, this.c, this.x[this.k + 2], this.S22, 0xFCEFA3F8);\n            this.c = this.GG(this.c, this.d, this.a, this.b, this.x[this.k + 7], this.S23, 0x676F02D9);\n            this.b = this.GG(this.b, this.c, this.d, this.a, this.x[this.k + 12], this.S24, 0x8D2A4C8A);\n            this.a = this.HH(this.a, this.b, this.c, this.d, this.x[this.k + 5], this.S31, 0xFFFA3942);\n            this.d = this.HH(this.d, this.a, this.b, this.c, this.x[this.k + 8], this.S32, 0x8771F681);\n            this.c = this.HH(this.c, this.d, this.a, this.b, this.x[this.k + 11], this.S33, 0x6D9D6122);\n            this.b = this.HH(this.b, this.c, this.d, this.a, this.x[this.k + 14], this.S34, 0xFDE5380C);\n            this.a = this.HH(this.a, this.b, this.c, this.d, this.x[this.k + 1], this.S31, 0xA4BEEA44);\n            this.d = this.HH(this.d, this.a, this.b, this.c, this.x[this.k + 4], this.S32, 0x4BDECFA9);\n            this.c = this.HH(this.c, this.d, this.a, this.b, this.x[this.k + 7], this.S33, 0xF6BB4B60);\n            this.b = this.HH(this.b, this.c, this.d, this.a, this.x[this.k + 10], this.S34, 0xBEBFBC70);\n            this.a = this.HH(this.a, this.b, this.c, this.d, this.x[this.k + 13], this.S31, 0x289B7EC6);\n            this.d = this.HH(this.d, this.a, this.b, this.c, this.x[this.k], this.S32, 0xEAA127FA);\n            this.c = this.HH(this.c, this.d, this.a, this.b, this.x[this.k + 3], this.S33, 0xD4EF3085);\n            this.b = this.HH(this.b, this.c, this.d, this.a, this.x[this.k + 6], this.S34, 0x4881D05);\n            this.a = this.HH(this.a, this.b, this.c, this.d, this.x[this.k + 9], this.S31, 0xD9D4D039);\n            this.d = this.HH(this.d, this.a, this.b, this.c, this.x[this.k + 12], this.S32, 0xE6DB99E5);\n            this.c = this.HH(this.c, this.d, this.a, this.b, this.x[this.k + 15], this.S33, 0x1FA27CF8);\n            this.b = this.HH(this.b, this.c, this.d, this.a, this.x[this.k + 2], this.S34, 0xC4AC5665);\n            this.a = this.II(this.a, this.b, this.c, this.d, this.x[this.k], this.S41, 0xF4292244);\n            this.d = this.II(this.d, this.a, this.b, this.c, this.x[this.k + 7], this.S42, 0x432AFF97);\n            this.c = this.II(this.c, this.d, this.a, this.b, this.x[this.k + 14], this.S43, 0xAB9423A7);\n            this.b = this.II(this.b, this.c, this.d, this.a, this.x[this.k + 5], this.S44, 0xFC93A039);\n            this.a = this.II(this.a, this.b, this.c, this.d, this.x[this.k + 12], this.S41, 0x655B59C3);\n            this.d = this.II(this.d, this.a, this.b, this.c, this.x[this.k + 3], this.S42, 0x8F0CCC92);\n            this.c = this.II(this.c, this.d, this.a, this.b, this.x[this.k + 10], this.S43, 0xFFEFF47D);\n            this.b = this.II(this.b, this.c, this.d, this.a, this.x[this.k + 1], this.S44, 0x85845DD1);\n            this.a = this.II(this.a, this.b, this.c, this.d, this.x[this.k + 8], this.S41, 0x6FA87E4F);\n            this.d = this.II(this.d, this.a, this.b, this.c, this.x[this.k + 15], this.S42, 0xFE2CE6E0);\n            this.c = this.II(this.c, this.d, this.a, this.b, this.x[this.k + 6], this.S43, 0xA3014314);\n            this.b = this.II(this.b, this.c, this.d, this.a, this.x[this.k + 13], this.S44, 0x4E0811A1);\n            this.a = this.II(this.a, this.b, this.c, this.d, this.x[this.k + 4], this.S41, 0xF7537E82);\n            this.d = this.II(this.d, this.a, this.b, this.c, this.x[this.k + 11], this.S42, 0xBD3AF235);\n            this.c = this.II(this.c, this.d, this.a, this.b, this.x[this.k + 2], this.S43, 0x2AD7D2BB);\n            this.b = this.II(this.b, this.c, this.d, this.a, this.x[this.k + 9], this.S44, 0xEB86D391);\n            this.a = this.AddUnsigned(this.a, this.AA);\n            this.b = this.AddUnsigned(this.b, this.BB);\n            this.c = this.AddUnsigned(this.c, this.CC);\n            this.d = this.AddUnsigned(this.d, this.DD);\n        }\n        temp = this.WordToHex(this.a) + this.WordToHex(this.b) + this.WordToHex(this.c) + this.WordToHex(this.d);\n        return temp.toLowerCase();\n    };\n    Md5.x = Array();\n    Md5.S11 = 7;\n    Md5.S12 = 12;\n    Md5.S13 = 17;\n    Md5.S14 = 22;\n    Md5.S21 = 5;\n    Md5.S22 = 9;\n    Md5.S23 = 14;\n    Md5.S24 = 20;\n    Md5.S31 = 4;\n    Md5.S32 = 11;\n    Md5.S33 = 16;\n    Md5.S34 = 23;\n    Md5.S41 = 6;\n    Md5.S42 = 10;\n    Md5.S43 = 15;\n    Md5.S44 = 21;\n    Md5.RotateLeft = function (lValue, iShiftBits) { return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); };\n    Md5.F = function (x, y, z) { return (x & y) | ((~x) & z); };\n    Md5.G = function (x, y, z) { return (x & z) | (y & (~z)); };\n    Md5.H = function (x, y, z) { return (x ^ y ^ z); };\n    Md5.I = function (x, y, z) { return (y ^ (x | (~z))); };\n    return Md5;\n}());\n\n\n\n/***/ }),\n\n/***/ 498:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\n\n/***/ }),\n\n/***/ 662:\n/***/ (function(module) {\n\n(function(root, factory) {\n    if ( true && module.exports) {\n        module.exports = factory();\n    } else {\n        root.nearley = factory();\n    }\n}(this, function() {\n\n    function Rule(name, symbols, postprocess) {\n        this.id = ++Rule.highestId;\n        this.name = name;\n        this.symbols = symbols;        // a list of literal | regex class | nonterminal\n        this.postprocess = postprocess;\n        return this;\n    }\n    Rule.highestId = 0;\n\n    Rule.prototype.toString = function(withCursorAt) {\n        var symbolSequence = (typeof withCursorAt === \"undefined\")\n                             ? this.symbols.map(getSymbolShortDisplay).join(' ')\n                             : (   this.symbols.slice(0, withCursorAt).map(getSymbolShortDisplay).join(' ')\n                                 + \" ● \"\n                                 + this.symbols.slice(withCursorAt).map(getSymbolShortDisplay).join(' ')     );\n        return this.name + \" → \" + symbolSequence;\n    }\n\n\n    // a State is a rule at a position from a given starting point in the input stream (reference)\n    function State(rule, dot, reference, wantedBy) {\n        this.rule = rule;\n        this.dot = dot;\n        this.reference = reference;\n        this.data = [];\n        this.wantedBy = wantedBy;\n        this.isComplete = this.dot === rule.symbols.length;\n    }\n\n    State.prototype.toString = function() {\n        return \"{\" + this.rule.toString(this.dot) + \"}, from: \" + (this.reference || 0);\n    };\n\n    State.prototype.nextState = function(child) {\n        var state = new State(this.rule, this.dot + 1, this.reference, this.wantedBy);\n        state.left = this;\n        state.right = child;\n        if (state.isComplete) {\n            state.data = state.build();\n            // Having right set here will prevent the right state and its children\n            // form being garbage collected\n            state.right = undefined;\n        }\n        return state;\n    };\n\n    State.prototype.build = function() {\n        var children = [];\n        var node = this;\n        do {\n            children.push(node.right.data);\n            node = node.left;\n        } while (node.left);\n        children.reverse();\n        return children;\n    };\n\n    State.prototype.finish = function() {\n        if (this.rule.postprocess) {\n            this.data = this.rule.postprocess(this.data, this.reference, Parser.fail);\n        }\n    };\n\n\n    function Column(grammar, index) {\n        this.grammar = grammar;\n        this.index = index;\n        this.states = [];\n        this.wants = {}; // states indexed by the non-terminal they expect\n        this.scannable = []; // list of states that expect a token\n        this.completed = {}; // states that are nullable\n    }\n\n\n    Column.prototype.process = function(nextColumn) {\n        var states = this.states;\n        var wants = this.wants;\n        var completed = this.completed;\n\n        for (var w = 0; w < states.length; w++) { // nb. we push() during iteration\n            var state = states[w];\n\n            if (state.isComplete) {\n                state.finish();\n                if (state.data !== Parser.fail) {\n                    // complete\n                    var wantedBy = state.wantedBy;\n                    for (var i = wantedBy.length; i--; ) { // this line is hot\n                        var left = wantedBy[i];\n                        this.complete(left, state);\n                    }\n\n                    // special-case nullables\n                    if (state.reference === this.index) {\n                        // make sure future predictors of this rule get completed.\n                        var exp = state.rule.name;\n                        (this.completed[exp] = this.completed[exp] || []).push(state);\n                    }\n                }\n\n            } else {\n                // queue scannable states\n                var exp = state.rule.symbols[state.dot];\n                if (typeof exp !== 'string') {\n                    this.scannable.push(state);\n                    continue;\n                }\n\n                // predict\n                if (wants[exp]) {\n                    wants[exp].push(state);\n\n                    if (completed.hasOwnProperty(exp)) {\n                        var nulls = completed[exp];\n                        for (var i = 0; i < nulls.length; i++) {\n                            var right = nulls[i];\n                            this.complete(state, right);\n                        }\n                    }\n                } else {\n                    wants[exp] = [state];\n                    this.predict(exp);\n                }\n            }\n        }\n    }\n\n    Column.prototype.predict = function(exp) {\n        var rules = this.grammar.byName[exp] || [];\n\n        for (var i = 0; i < rules.length; i++) {\n            var r = rules[i];\n            var wantedBy = this.wants[exp];\n            var s = new State(r, 0, this.index, wantedBy);\n            this.states.push(s);\n        }\n    }\n\n    Column.prototype.complete = function(left, right) {\n        var copy = left.nextState(right);\n        this.states.push(copy);\n    }\n\n\n    function Grammar(rules, start) {\n        this.rules = rules;\n        this.start = start || this.rules[0].name;\n        var byName = this.byName = {};\n        this.rules.forEach(function(rule) {\n            if (!byName.hasOwnProperty(rule.name)) {\n                byName[rule.name] = [];\n            }\n            byName[rule.name].push(rule);\n        });\n    }\n\n    // So we can allow passing (rules, start) directly to Parser for backwards compatibility\n    Grammar.fromCompiled = function(rules, start) {\n        var lexer = rules.Lexer;\n        if (rules.ParserStart) {\n          start = rules.ParserStart;\n          rules = rules.ParserRules;\n        }\n        var rules = rules.map(function (r) { return (new Rule(r.name, r.symbols, r.postprocess)); });\n        var g = new Grammar(rules, start);\n        g.lexer = lexer; // nb. storing lexer on Grammar is iffy, but unavoidable\n        return g;\n    }\n\n\n    function StreamLexer() {\n      this.reset(\"\");\n    }\n\n    StreamLexer.prototype.reset = function(data, state) {\n        this.buffer = data;\n        this.index = 0;\n        this.line = state ? state.line : 1;\n        this.lastLineBreak = state ? -state.col : 0;\n    }\n\n    StreamLexer.prototype.next = function() {\n        if (this.index < this.buffer.length) {\n            var ch = this.buffer[this.index++];\n            if (ch === '\\n') {\n              this.line += 1;\n              this.lastLineBreak = this.index;\n            }\n            return {value: ch};\n        }\n    }\n\n    StreamLexer.prototype.save = function() {\n      return {\n        line: this.line,\n        col: this.index - this.lastLineBreak,\n      }\n    }\n\n    StreamLexer.prototype.formatError = function(token, message) {\n        // nb. this gets called after consuming the offending token,\n        // so the culprit is index-1\n        var buffer = this.buffer;\n        if (typeof buffer === 'string') {\n            var lines = buffer\n                .split(\"\\n\")\n                .slice(\n                    Math.max(0, this.line - 5), \n                    this.line\n                );\n\n            var nextLineBreak = buffer.indexOf('\\n', this.index);\n            if (nextLineBreak === -1) nextLineBreak = buffer.length;\n            var col = this.index - this.lastLineBreak;\n            var lastLineDigits = String(this.line).length;\n            message += \" at line \" + this.line + \" col \" + col + \":\\n\\n\";\n            message += lines\n                .map(function(line, i) {\n                    return pad(this.line - lines.length + i + 1, lastLineDigits) + \" \" + line;\n                }, this)\n                .join(\"\\n\");\n            message += \"\\n\" + pad(\"\", lastLineDigits + col) + \"^\\n\";\n            return message;\n        } else {\n            return message + \" at index \" + (this.index - 1);\n        }\n\n        function pad(n, length) {\n            var s = String(n);\n            return Array(length - s.length + 1).join(\" \") + s;\n        }\n    }\n\n    function Parser(rules, start, options) {\n        if (rules instanceof Grammar) {\n            var grammar = rules;\n            var options = start;\n        } else {\n            var grammar = Grammar.fromCompiled(rules, start);\n        }\n        this.grammar = grammar;\n\n        // Read options\n        this.options = {\n            keepHistory: false,\n            lexer: grammar.lexer || new StreamLexer,\n        };\n        for (var key in (options || {})) {\n            this.options[key] = options[key];\n        }\n\n        // Setup lexer\n        this.lexer = this.options.lexer;\n        this.lexerState = undefined;\n\n        // Setup a table\n        var column = new Column(grammar, 0);\n        var table = this.table = [column];\n\n        // I could be expecting anything.\n        column.wants[grammar.start] = [];\n        column.predict(grammar.start);\n        // TODO what if start rule is nullable?\n        column.process();\n        this.current = 0; // token index\n    }\n\n    // create a reserved token for indicating a parse fail\n    Parser.fail = {};\n\n    Parser.prototype.feed = function(chunk) {\n        var lexer = this.lexer;\n        lexer.reset(chunk, this.lexerState);\n\n        var token;\n        while (true) {\n            try {\n                token = lexer.next();\n                if (!token) {\n                    break;\n                }\n            } catch (e) {\n                // Create the next column so that the error reporter\n                // can display the correctly predicted states.\n                var nextColumn = new Column(this.grammar, this.current + 1);\n                this.table.push(nextColumn);\n                var err = new Error(this.reportLexerError(e));\n                err.offset = this.current;\n                err.token = e.token;\n                throw err;\n            }\n            // We add new states to table[current+1]\n            var column = this.table[this.current];\n\n            // GC unused states\n            if (!this.options.keepHistory) {\n                delete this.table[this.current - 1];\n            }\n\n            var n = this.current + 1;\n            var nextColumn = new Column(this.grammar, n);\n            this.table.push(nextColumn);\n\n            // Advance all tokens that expect the symbol\n            var literal = token.text !== undefined ? token.text : token.value;\n            var value = lexer.constructor === StreamLexer ? token.value : token;\n            var scannable = column.scannable;\n            for (var w = scannable.length; w--; ) {\n                var state = scannable[w];\n                var expect = state.rule.symbols[state.dot];\n                // Try to consume the token\n                // either regex or literal\n                if (expect.test ? expect.test(value) :\n                    expect.type ? expect.type === token.type\n                                : expect.literal === literal) {\n                    // Add it\n                    var next = state.nextState({data: value, token: token, isToken: true, reference: n - 1});\n                    nextColumn.states.push(next);\n                }\n            }\n\n            // Next, for each of the rules, we either\n            // (a) complete it, and try to see if the reference row expected that\n            //     rule\n            // (b) predict the next nonterminal it expects by adding that\n            //     nonterminal's start state\n            // To prevent duplication, we also keep track of rules we have already\n            // added\n\n            nextColumn.process();\n\n            // If needed, throw an error:\n            if (nextColumn.states.length === 0) {\n                // No states at all! This is not good.\n                var err = new Error(this.reportError(token));\n                err.offset = this.current;\n                err.token = token;\n                throw err;\n            }\n\n            // maybe save lexer state\n            if (this.options.keepHistory) {\n              column.lexerState = lexer.save()\n            }\n\n            this.current++;\n        }\n        if (column) {\n          this.lexerState = lexer.save()\n        }\n\n        // Incrementally keep track of results\n        this.results = this.finish();\n\n        // Allow chaining, for whatever it's worth\n        return this;\n    };\n\n    Parser.prototype.reportLexerError = function(lexerError) {\n        var tokenDisplay, lexerMessage;\n        // Planning to add a token property to moo's thrown error\n        // even on erroring tokens to be used in error display below\n        var token = lexerError.token;\n        if (token) {\n            tokenDisplay = \"input \" + JSON.stringify(token.text[0]) + \" (lexer error)\";\n            lexerMessage = this.lexer.formatError(token, \"Syntax error\");\n        } else {\n            tokenDisplay = \"input (lexer error)\";\n            lexerMessage = lexerError.message;\n        }\n        return this.reportErrorCommon(lexerMessage, tokenDisplay);\n    };\n\n    Parser.prototype.reportError = function(token) {\n        var tokenDisplay = (token.type ? token.type + \" token: \" : \"\") + JSON.stringify(token.value !== undefined ? token.value : token);\n        var lexerMessage = this.lexer.formatError(token, \"Syntax error\");\n        return this.reportErrorCommon(lexerMessage, tokenDisplay);\n    };\n\n    Parser.prototype.reportErrorCommon = function(lexerMessage, tokenDisplay) {\n        var lines = [];\n        lines.push(lexerMessage);\n        var lastColumnIndex = this.table.length - 2;\n        var lastColumn = this.table[lastColumnIndex];\n        var expectantStates = lastColumn.states\n            .filter(function(state) {\n                var nextSymbol = state.rule.symbols[state.dot];\n                return nextSymbol && typeof nextSymbol !== \"string\";\n            });\n\n        if (expectantStates.length === 0) {\n            lines.push('Unexpected ' + tokenDisplay + '. I did not expect any more input. Here is the state of my parse table:\\n');\n            this.displayStateStack(lastColumn.states, lines);\n        } else {\n            lines.push('Unexpected ' + tokenDisplay + '. Instead, I was expecting to see one of the following:\\n');\n            // Display a \"state stack\" for each expectant state\n            // - which shows you how this state came to be, step by step.\n            // If there is more than one derivation, we only display the first one.\n            var stateStacks = expectantStates\n                .map(function(state) {\n                    return this.buildFirstStateStack(state, []) || [state];\n                }, this);\n            // Display each state that is expecting a terminal symbol next.\n            stateStacks.forEach(function(stateStack) {\n                var state = stateStack[0];\n                var nextSymbol = state.rule.symbols[state.dot];\n                var symbolDisplay = this.getSymbolDisplay(nextSymbol);\n                lines.push('A ' + symbolDisplay + ' based on:');\n                this.displayStateStack(stateStack, lines);\n            }, this);\n        }\n        lines.push(\"\");\n        return lines.join(\"\\n\");\n    }\n    \n    Parser.prototype.displayStateStack = function(stateStack, lines) {\n        var lastDisplay;\n        var sameDisplayCount = 0;\n        for (var j = 0; j < stateStack.length; j++) {\n            var state = stateStack[j];\n            var display = state.rule.toString(state.dot);\n            if (display === lastDisplay) {\n                sameDisplayCount++;\n            } else {\n                if (sameDisplayCount > 0) {\n                    lines.push('    ^ ' + sameDisplayCount + ' more lines identical to this');\n                }\n                sameDisplayCount = 0;\n                lines.push('    ' + display);\n            }\n            lastDisplay = display;\n        }\n    };\n\n    Parser.prototype.getSymbolDisplay = function(symbol) {\n        return getSymbolLongDisplay(symbol);\n    };\n\n    /*\n    Builds a the first state stack. You can think of a state stack as the call stack\n    of the recursive-descent parser which the Nearley parse algorithm simulates.\n    A state stack is represented as an array of state objects. Within a\n    state stack, the first item of the array will be the starting\n    state, with each successive item in the array going further back into history.\n\n    This function needs to be given a starting state and an empty array representing\n    the visited states, and it returns an single state stack.\n\n    */\n    Parser.prototype.buildFirstStateStack = function(state, visited) {\n        if (visited.indexOf(state) !== -1) {\n            // Found cycle, return null\n            // to eliminate this path from the results, because\n            // we don't know how to display it meaningfully\n            return null;\n        }\n        if (state.wantedBy.length === 0) {\n            return [state];\n        }\n        var prevState = state.wantedBy[0];\n        var childVisited = [state].concat(visited);\n        var childResult = this.buildFirstStateStack(prevState, childVisited);\n        if (childResult === null) {\n            return null;\n        }\n        return [state].concat(childResult);\n    };\n\n    Parser.prototype.save = function() {\n        var column = this.table[this.current];\n        column.lexerState = this.lexerState;\n        return column;\n    };\n\n    Parser.prototype.restore = function(column) {\n        var index = column.index;\n        this.current = index;\n        this.table[index] = column;\n        this.table.splice(index + 1);\n        this.lexerState = column.lexerState;\n\n        // Incrementally keep track of results\n        this.results = this.finish();\n    };\n\n    // nb. deprecated: use save/restore instead!\n    Parser.prototype.rewind = function(index) {\n        if (!this.options.keepHistory) {\n            throw new Error('set option `keepHistory` to enable rewinding')\n        }\n        // nb. recall column (table) indicies fall between token indicies.\n        //        col 0   --   token 0   --   col 1\n        this.restore(this.table[index]);\n    };\n\n    Parser.prototype.finish = function() {\n        // Return the possible parsings\n        var considerations = [];\n        var start = this.grammar.start;\n        var column = this.table[this.table.length - 1]\n        column.states.forEach(function (t) {\n            if (t.rule.name === start\n                    && t.dot === t.rule.symbols.length\n                    && t.reference === 0\n                    && t.data !== Parser.fail) {\n                considerations.push(t);\n            }\n        });\n        return considerations.map(function(c) {return c.data; });\n    };\n\n    function getSymbolLongDisplay(symbol) {\n        var type = typeof symbol;\n        if (type === \"string\") {\n            return symbol;\n        } else if (type === \"object\") {\n            if (symbol.literal) {\n                return JSON.stringify(symbol.literal);\n            } else if (symbol instanceof RegExp) {\n                return 'character matching ' + symbol;\n            } else if (symbol.type) {\n                return symbol.type + ' token';\n            } else if (symbol.test) {\n                return 'token matching ' + String(symbol.test);\n            } else {\n                throw new Error('Unknown symbol type: ' + symbol);\n            }\n        }\n    }\n\n    function getSymbolShortDisplay(symbol) {\n        var type = typeof symbol;\n        if (type === \"string\") {\n            return symbol;\n        } else if (type === \"object\") {\n            if (symbol.literal) {\n                return JSON.stringify(symbol.literal);\n            } else if (symbol instanceof RegExp) {\n                return symbol.toString();\n            } else if (symbol.type) {\n                return '%' + symbol.type;\n            } else if (symbol.test) {\n                return '<' + String(symbol.test) + '>';\n            } else {\n                throw new Error('Unknown symbol type: ' + symbol);\n            }\n        }\n    }\n\n    return {\n        Parser: Parser,\n        Grammar: Grammar,\n        Rule: Rule,\n    };\n\n}));\n\n\n/***/ }),\n\n/***/ 666:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n// Generated automatically by nearley, version unknown\n// http://github.com/Hardmath123/nearley\n(function () {\nfunction id(x) { return x[0]; }\n\nconst moo = __webpack_require__(694);\nconst lexer = moo.compile({\n  space: {match: /\\s+/, lineBreaks: true},\n  number: /-?(?:[0-9]|[1-9][0-9]+)(?:\\.[0-9]+)?(?:[eE][-+]?[0-9]+)?\\b/,\n  comment: /#[^\\n]*/,\n  '[': '[',\n  ']': ']',\n  assignment: /=[^\\n]*/,\n  // Leading underscores are disallowed in field names, while constant names have no explicit restrictions.\n  // So we are more lenient in lexing here, and the validation steps below are more strict.\n  // See: https://github.com/ros/genmsg/blob/7d8b6ce6f43b6e39ea8261125d270f2d3062356f/src/genmsg/msg_loader.py#L188-L238\n  fieldOrType: /[a-zA-Z_][a-zA-Z0-9_]*(?:\\/[a-zA-Z][a-zA-Z0-9_]*)?/,\n});\n\n\nfunction extend(objs) {\n  return objs.reduce((r, p) => ({ ...r, ...p }), {});\n}\nvar grammar = {\n    Lexer: lexer,\n    ParserRules: [\n    {\"name\": \"main$ebnf$1\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$1\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"boolType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$1\", \"simple\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$2\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$2\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"bigintType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$2\", \"simple\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$3\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$3\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"numericType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$3\", \"simple\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$4\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$4\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"stringType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$4\", \"simple\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$5\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$5\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"timeType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$5\", \"simple\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$6\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$6\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"customType\", \"arrayType\", \"__\", \"field\", \"_\", \"main$ebnf$6\", \"complex\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$7\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$7\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"boolType\", \"__\", \"constantField\", \"_\", \"boolConstantValue\", \"_\", \"main$ebnf$7\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$8\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$8\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"bigintType\", \"__\", \"constantField\", \"_\", \"bigintConstantValue\", \"_\", \"main$ebnf$8\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$9\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$9\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"numericType\", \"__\", \"constantField\", \"_\", \"numericConstantValue\", \"_\", \"main$ebnf$9\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main$ebnf$10\", \"symbols\": [\"comment\"], \"postprocess\": id},\n    {\"name\": \"main$ebnf$10\", \"symbols\": [], \"postprocess\": function(d) {return null;}},\n    {\"name\": \"main\", \"symbols\": [\"_\", \"stringType\", \"__\", \"constantField\", \"_\", \"stringConstantValue\", \"_\", \"main$ebnf$10\"], \"postprocess\": function(d) { return extend(d) }},\n    {\"name\": \"main\", \"symbols\": [\"comment\"], \"postprocess\": function(d) { return null }},\n    {\"name\": \"main\", \"symbols\": [\"blankLine\"], \"postprocess\": function(d) { return null }},\n    {\"name\": \"boolType\", \"symbols\": [{\"literal\":\"bool\"}], \"postprocess\": function(d) { return { type: d[0].value } }},\n    {\"name\": \"bigintType$subexpression$1\", \"symbols\": [{\"literal\":\"int64\"}]},\n    {\"name\": \"bigintType$subexpression$1\", \"symbols\": [{\"literal\":\"uint64\"}]},\n    {\"name\": \"bigintType\", \"symbols\": [\"bigintType$subexpression$1\"], \"postprocess\": function(d) { return { type: d[0][0].value } }},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"byte\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"char\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"float32\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"float64\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"int8\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"uint8\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"int16\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"uint16\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"int32\"}]},\n    {\"name\": \"numericType$subexpression$1\", \"symbols\": [{\"literal\":\"uint32\"}]},\n    {\"name\": \"numericType\", \"symbols\": [\"numericType$subexpression$1\"], \"postprocess\": function(d) { return { type: d[0][0].value } }},\n    {\"name\": \"stringType\", \"symbols\": [{\"literal\":\"string\"}], \"postprocess\": function(d) { return { type: d[0].value } }},\n    {\"name\": \"timeType$subexpression$1\", \"symbols\": [{\"literal\":\"time\"}]},\n    {\"name\": \"timeType$subexpression$1\", \"symbols\": [{\"literal\":\"duration\"}]},\n    {\"name\": \"timeType\", \"symbols\": [\"timeType$subexpression$1\"], \"postprocess\": function(d) { return { type: d[0][0].value } }},\n    {\"name\": \"customType\", \"symbols\": [(lexer.has(\"fieldOrType\") ? {type: \"fieldOrType\"} : fieldOrType)], \"postprocess\":  function(d, _, reject) {\n          const PRIMITIVE_TYPES = [\"bool\", \"byte\", \"char\", \"float32\", \"float64\", \"int8\", \"uint8\", \"int16\", \"uint16\", \"int32\", \"uint32\", \"int64\", \"uint64\", \"string\", \"time\", \"duration\"];\n          const type = d[0].value;\n          if (PRIMITIVE_TYPES.includes(type)) return reject;\n          return { type };\n        } },\n    {\"name\": \"arrayType\", \"symbols\": [{\"literal\":\"[\"}, \"_\", {\"literal\":\"]\"}], \"postprocess\": function(d) { return { isArray: true } }},\n    {\"name\": \"arrayType\", \"symbols\": [{\"literal\":\"[\"}, \"_\", \"number\", \"_\", {\"literal\":\"]\"}], \"postprocess\": function(d) { return { isArray: true, arrayLength: d[2] } }},\n    {\"name\": \"arrayType\", \"symbols\": [\"_\"], \"postprocess\": function(d) { return { isArray: false } }},\n    {\"name\": \"field\", \"symbols\": [(lexer.has(\"fieldOrType\") ? {type: \"fieldOrType\"} : fieldOrType)], \"postprocess\":  function(d, _, reject) {\n          const name = d[0].value;\n          // Leading underscores or digits are not allowed in field names\n          if (name.match(/^[a-zA-Z][a-zA-Z0-9_]*$/) == undefined) return reject;\n          return { name };\n        } },\n    {\"name\": \"constantField\", \"symbols\": [(lexer.has(\"fieldOrType\") ? {type: \"fieldOrType\"} : fieldOrType)], \"postprocess\":  function(d, _, reject) {\n          const name = d[0].value;\n          // Leading digits are not allowed in constant names (the ROS genmsg parser\n          // allows them, but loading the generated Python code fails later)\n          if (name.match(/^[a-zA-Z_][a-zA-Z0-9_]*$/) == undefined) return reject;\n          return { name, isConstant: true };\n        } },\n    {\"name\": \"boolConstantValue\", \"symbols\": [\"assignment\"], \"postprocess\":  function(d, _, reject) {\n          const valueText = d[0].split(\"#\")[0].trim();\n          if (valueText === \"True\" || valueText === \"1\") return { value: true, valueText };\n          if (valueText === \"False\" || valueText === \"0\") return { value: false, valueText };\n          return reject;\n        } },\n    {\"name\": \"numericConstantValue\", \"symbols\": [\"assignment\"], \"postprocess\":  function(d, _, reject) {\n          const valueText = d[0].split(\"#\")[0].trim();\n          const value = parseFloat(valueText);\n          return !isNaN(value) ? { value, valueText } : reject;\n        } },\n    {\"name\": \"bigintConstantValue\", \"symbols\": [\"assignment\"], \"postprocess\":  function(d, _, reject) {\n          const valueText = d[0].split(\"#\")[0].trim();\n          try {\n            const value = BigInt(valueText);\n            return { value, valueText };\n          } catch {\n            return reject;\n          }\n        } },\n    {\"name\": \"stringConstantValue\", \"symbols\": [\"assignment\"], \"postprocess\": function(d) { return { value: d[0], valueText: d[0] } }},\n    {\"name\": \"bool$subexpression$1\", \"symbols\": [{\"literal\":\"True\"}]},\n    {\"name\": \"bool$subexpression$1\", \"symbols\": [{\"literal\":\"1\"}]},\n    {\"name\": \"bool\", \"symbols\": [\"bool$subexpression$1\"], \"postprocess\": function(d) { return true }},\n    {\"name\": \"bool$subexpression$2\", \"symbols\": [{\"literal\":\"False\"}]},\n    {\"name\": \"bool$subexpression$2\", \"symbols\": [{\"literal\":\"0\"}]},\n    {\"name\": \"bool\", \"symbols\": [\"bool$subexpression$2\"], \"postprocess\": function(d) { return false }},\n    {\"name\": \"number\", \"symbols\": [(lexer.has(\"number\") ? {type: \"number\"} : number)], \"postprocess\": function(d) { return parseFloat(d[0].value) }},\n    {\"name\": \"assignment\", \"symbols\": [(lexer.has(\"assignment\") ? {type: \"assignment\"} : assignment)], \"postprocess\": function(d) { return d[0].value.substr(1).trim() }},\n    {\"name\": \"comment\", \"symbols\": [(lexer.has(\"comment\") ? {type: \"comment\"} : comment)], \"postprocess\": function(d) { return null }},\n    {\"name\": \"blankLine\", \"symbols\": [\"_\"], \"postprocess\": function(d) { return null }},\n    {\"name\": \"_$subexpression$1\", \"symbols\": []},\n    {\"name\": \"_$subexpression$1\", \"symbols\": [(lexer.has(\"space\") ? {type: \"space\"} : space)]},\n    {\"name\": \"_\", \"symbols\": [\"_$subexpression$1\"], \"postprocess\": function(d) { return null }},\n    {\"name\": \"__\", \"symbols\": [(lexer.has(\"space\") ? {type: \"space\"} : space)], \"postprocess\": function(d) { return null }},\n    {\"name\": \"simple\", \"symbols\": [], \"postprocess\": function() { return { isComplex: false } }},\n    {\"name\": \"complex\", \"symbols\": [], \"postprocess\": function() { return { isComplex: true } }}\n]\n  , ParserStart: \"main\"\n}\nif ( true&& typeof module.exports !== 'undefined') {\n   module.exports = grammar;\n} else {\n   window.grammar = grammar;\n}\n})();\n\n\n/***/ }),\n\n/***/ 694:\n/***/ (function(module, exports) {\n\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function(root, factory) {\n  if (true) {\n    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) /* global define */\n  } else // removed by dead control flow\n{}\n}(this, function() {\n  'use strict';\n\n  var hasOwnProperty = Object.prototype.hasOwnProperty\n  var toString = Object.prototype.toString\n  var hasSticky = typeof new RegExp().sticky === 'boolean'\n\n  /***************************************************************************/\n\n  function isRegExp(o) { return o && toString.call(o) === '[object RegExp]' }\n  function isObject(o) { return o && typeof o === 'object' && !isRegExp(o) && !Array.isArray(o) }\n\n  function reEscape(s) {\n    return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&')\n  }\n  function reGroups(s) {\n    var re = new RegExp('|' + s)\n    return re.exec('').length - 1\n  }\n  function reCapture(s) {\n    return '(' + s + ')'\n  }\n  function reUnion(regexps) {\n    if (!regexps.length) return '(?!)'\n    var source =  regexps.map(function(s) {\n      return \"(?:\" + s + \")\"\n    }).join('|')\n    return \"(?:\" + source + \")\"\n  }\n\n  function regexpOrLiteral(obj) {\n    if (typeof obj === 'string') {\n      return '(?:' + reEscape(obj) + ')'\n\n    } else if (isRegExp(obj)) {\n      // TODO: consider /u support\n      if (obj.ignoreCase) throw new Error('RegExp /i flag not allowed')\n      if (obj.global) throw new Error('RegExp /g flag is implied')\n      if (obj.sticky) throw new Error('RegExp /y flag is implied')\n      if (obj.multiline) throw new Error('RegExp /m flag is implied')\n      return obj.source\n\n    } else {\n      throw new Error('Not a pattern: ' + obj)\n    }\n  }\n\n  function pad(s, length) {\n    if (s.length > length) {\n      return s\n    }\n    return Array(length - s.length + 1).join(\" \") + s\n  }\n\n  function lastNLines(string, numLines) {\n    var position = string.length\n    var lineBreaks = 0;\n    while (true) {\n      var idx = string.lastIndexOf(\"\\n\", position - 1)\n      if (idx === -1) {\n        break;\n      } else {\n        lineBreaks++\n      }\n      position = idx\n      if (lineBreaks === numLines) {\n        break;\n      }\n      if (position === 0) {\n        break;\n      }\n    }\n    var startPosition = \n      lineBreaks < numLines ?\n      0 : \n      position + 1\n    return string.substring(startPosition).split(\"\\n\")\n  }\n\n  function objectToRules(object) {\n    var keys = Object.getOwnPropertyNames(object)\n    var result = []\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]\n      var thing = object[key]\n      var rules = [].concat(thing)\n      if (key === 'include') {\n        for (var j = 0; j < rules.length; j++) {\n          result.push({include: rules[j]})\n        }\n        continue\n      }\n      var match = []\n      rules.forEach(function(rule) {\n        if (isObject(rule)) {\n          if (match.length) result.push(ruleOptions(key, match))\n          result.push(ruleOptions(key, rule))\n          match = []\n        } else {\n          match.push(rule)\n        }\n      })\n      if (match.length) result.push(ruleOptions(key, match))\n    }\n    return result\n  }\n\n  function arrayToRules(array) {\n    var result = []\n    for (var i = 0; i < array.length; i++) {\n      var obj = array[i]\n      if (obj.include) {\n        var include = [].concat(obj.include)\n        for (var j = 0; j < include.length; j++) {\n          result.push({include: include[j]})\n        }\n        continue\n      }\n      if (!obj.type) {\n        throw new Error('Rule has no type: ' + JSON.stringify(obj))\n      }\n      result.push(ruleOptions(obj.type, obj))\n    }\n    return result\n  }\n\n  function ruleOptions(type, obj) {\n    if (!isObject(obj)) {\n      obj = { match: obj }\n    }\n    if (obj.include) {\n      throw new Error('Matching rules cannot also include states')\n    }\n\n    // nb. error and fallback imply lineBreaks\n    var options = {\n      defaultType: type,\n      lineBreaks: !!obj.error || !!obj.fallback,\n      pop: false,\n      next: null,\n      push: null,\n      error: false,\n      fallback: false,\n      value: null,\n      type: null,\n      shouldThrow: false,\n    }\n\n    // Avoid Object.assign(), so we support IE9+\n    for (var key in obj) {\n      if (hasOwnProperty.call(obj, key)) {\n        options[key] = obj[key]\n      }\n    }\n\n    // type transform cannot be a string\n    if (typeof options.type === 'string' && type !== options.type) {\n      throw new Error(\"Type transform cannot be a string (type '\" + options.type + \"' for token '\" + type + \"')\")\n    }\n\n    // convert to array\n    var match = options.match\n    options.match = Array.isArray(match) ? match : match ? [match] : []\n    options.match.sort(function(a, b) {\n      return isRegExp(a) && isRegExp(b) ? 0\n           : isRegExp(b) ? -1 : isRegExp(a) ? +1 : b.length - a.length\n    })\n    return options\n  }\n\n  function toRules(spec) {\n    return Array.isArray(spec) ? arrayToRules(spec) : objectToRules(spec)\n  }\n\n  var defaultErrorRule = ruleOptions('error', {lineBreaks: true, shouldThrow: true})\n  function compileRules(rules, hasStates) {\n    var errorRule = null\n    var fast = Object.create(null)\n    var fastAllowed = true\n    var unicodeFlag = null\n    var groups = []\n    var parts = []\n\n    // If there is a fallback rule, then disable fast matching\n    for (var i = 0; i < rules.length; i++) {\n      if (rules[i].fallback) {\n        fastAllowed = false\n      }\n    }\n\n    for (var i = 0; i < rules.length; i++) {\n      var options = rules[i]\n\n      if (options.include) {\n        // all valid inclusions are removed by states() preprocessor\n        throw new Error('Inheritance is not allowed in stateless lexers')\n      }\n\n      if (options.error || options.fallback) {\n        // errorRule can only be set once\n        if (errorRule) {\n          if (!options.fallback === !errorRule.fallback) {\n            throw new Error(\"Multiple \" + (options.fallback ? \"fallback\" : \"error\") + \" rules not allowed (for token '\" + options.defaultType + \"')\")\n          } else {\n            throw new Error(\"fallback and error are mutually exclusive (for token '\" + options.defaultType + \"')\")\n          }\n        }\n        errorRule = options\n      }\n\n      var match = options.match.slice()\n      if (fastAllowed) {\n        while (match.length && typeof match[0] === 'string' && match[0].length === 1) {\n          var word = match.shift()\n          fast[word.charCodeAt(0)] = options\n        }\n      }\n\n      // Warn about inappropriate state-switching options\n      if (options.pop || options.push || options.next) {\n        if (!hasStates) {\n          throw new Error(\"State-switching options are not allowed in stateless lexers (for token '\" + options.defaultType + \"')\")\n        }\n        if (options.fallback) {\n          throw new Error(\"State-switching options are not allowed on fallback tokens (for token '\" + options.defaultType + \"')\")\n        }\n      }\n\n      // Only rules with a .match are included in the RegExp\n      if (match.length === 0) {\n        continue\n      }\n      fastAllowed = false\n\n      groups.push(options)\n\n      // Check unicode flag is used everywhere or nowhere\n      for (var j = 0; j < match.length; j++) {\n        var obj = match[j]\n        if (!isRegExp(obj)) {\n          continue\n        }\n\n        if (unicodeFlag === null) {\n          unicodeFlag = obj.unicode\n        } else if (unicodeFlag !== obj.unicode && options.fallback === false) {\n          throw new Error('If one rule is /u then all must be')\n        }\n      }\n\n      // convert to RegExp\n      var pat = reUnion(match.map(regexpOrLiteral))\n\n      // validate\n      var regexp = new RegExp(pat)\n      if (regexp.test(\"\")) {\n        throw new Error(\"RegExp matches empty string: \" + regexp)\n      }\n      var groupCount = reGroups(pat)\n      if (groupCount > 0) {\n        throw new Error(\"RegExp has capture groups: \" + regexp + \"\\nUse (?: … ) instead\")\n      }\n\n      // try and detect rules matching newlines\n      if (!options.lineBreaks && regexp.test('\\n')) {\n        throw new Error('Rule should declare lineBreaks: ' + regexp)\n      }\n\n      // store regex\n      parts.push(reCapture(pat))\n    }\n\n\n    // If there's no fallback rule, use the sticky flag so we only look for\n    // matches at the current index.\n    //\n    // If we don't support the sticky flag, then fake it using an irrefutable\n    // match (i.e. an empty pattern).\n    var fallbackRule = errorRule && errorRule.fallback\n    var flags = hasSticky && !fallbackRule ? 'ym' : 'gm'\n    var suffix = hasSticky || fallbackRule ? '' : '|'\n\n    if (unicodeFlag === true) flags += \"u\"\n    var combined = new RegExp(reUnion(parts) + suffix, flags)\n    return {regexp: combined, groups: groups, fast: fast, error: errorRule || defaultErrorRule}\n  }\n\n  function compile(rules) {\n    var result = compileRules(toRules(rules))\n    return new Lexer({start: result}, 'start')\n  }\n\n  function checkStateGroup(g, name, map) {\n    var state = g && (g.push || g.next)\n    if (state && !map[state]) {\n      throw new Error(\"Missing state '\" + state + \"' (in token '\" + g.defaultType + \"' of state '\" + name + \"')\")\n    }\n    if (g && g.pop && +g.pop !== 1) {\n      throw new Error(\"pop must be 1 (in token '\" + g.defaultType + \"' of state '\" + name + \"')\")\n    }\n  }\n  function compileStates(states, start) {\n    var all = states.$all ? toRules(states.$all) : []\n    delete states.$all\n\n    var keys = Object.getOwnPropertyNames(states)\n    if (!start) start = keys[0]\n\n    var ruleMap = Object.create(null)\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]\n      ruleMap[key] = toRules(states[key]).concat(all)\n    }\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]\n      var rules = ruleMap[key]\n      var included = Object.create(null)\n      for (var j = 0; j < rules.length; j++) {\n        var rule = rules[j]\n        if (!rule.include) continue\n        var splice = [j, 1]\n        if (rule.include !== key && !included[rule.include]) {\n          included[rule.include] = true\n          var newRules = ruleMap[rule.include]\n          if (!newRules) {\n            throw new Error(\"Cannot include nonexistent state '\" + rule.include + \"' (in state '\" + key + \"')\")\n          }\n          for (var k = 0; k < newRules.length; k++) {\n            var newRule = newRules[k]\n            if (rules.indexOf(newRule) !== -1) continue\n            splice.push(newRule)\n          }\n        }\n        rules.splice.apply(rules, splice)\n        j--\n      }\n    }\n\n    var map = Object.create(null)\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]\n      map[key] = compileRules(ruleMap[key], true)\n    }\n\n    for (var i = 0; i < keys.length; i++) {\n      var name = keys[i]\n      var state = map[name]\n      var groups = state.groups\n      for (var j = 0; j < groups.length; j++) {\n        checkStateGroup(groups[j], name, map)\n      }\n      var fastKeys = Object.getOwnPropertyNames(state.fast)\n      for (var j = 0; j < fastKeys.length; j++) {\n        checkStateGroup(state.fast[fastKeys[j]], name, map)\n      }\n    }\n\n    return new Lexer(map, start)\n  }\n\n  function keywordTransform(map) {\n\n    // Use a JavaScript Map to map keywords to their corresponding token type\n    // unless Map is unsupported, then fall back to using an Object:\n    var isMap = typeof Map !== 'undefined'\n    var reverseMap = isMap ? new Map : Object.create(null)\n\n    var types = Object.getOwnPropertyNames(map)\n    for (var i = 0; i < types.length; i++) {\n      var tokenType = types[i]\n      var item = map[tokenType]\n      var keywordList = Array.isArray(item) ? item : [item]\n      keywordList.forEach(function(keyword) {\n        if (typeof keyword !== 'string') {\n          throw new Error(\"keyword must be string (in keyword '\" + tokenType + \"')\")\n        }\n        if (isMap) {\n          reverseMap.set(keyword, tokenType)\n        } else {\n          reverseMap[keyword] = tokenType\n        }\n      })\n    }\n    return function(k) {\n      return isMap ? reverseMap.get(k) : reverseMap[k]\n    }\n  }\n\n  /***************************************************************************/\n\n  var Lexer = function(states, state) {\n    this.startState = state\n    this.states = states\n    this.buffer = ''\n    this.stack = []\n    this.reset()\n  }\n\n  Lexer.prototype.reset = function(data, info) {\n    this.buffer = data || ''\n    this.index = 0\n    this.line = info ? info.line : 1\n    this.col = info ? info.col : 1\n    this.queuedToken = info ? info.queuedToken : null\n    this.queuedText = info ? info.queuedText: \"\";\n    this.queuedThrow = info ? info.queuedThrow : null\n    this.setState(info ? info.state : this.startState)\n    this.stack = info && info.stack ? info.stack.slice() : []\n    return this\n  }\n\n  Lexer.prototype.save = function() {\n    return {\n      line: this.line,\n      col: this.col,\n      state: this.state,\n      stack: this.stack.slice(),\n      queuedToken: this.queuedToken,\n      queuedText: this.queuedText,\n      queuedThrow: this.queuedThrow,\n    }\n  }\n\n  Lexer.prototype.setState = function(state) {\n    if (!state || this.state === state) return\n    this.state = state\n    var info = this.states[state]\n    this.groups = info.groups\n    this.error = info.error\n    this.re = info.regexp\n    this.fast = info.fast\n  }\n\n  Lexer.prototype.popState = function() {\n    this.setState(this.stack.pop())\n  }\n\n  Lexer.prototype.pushState = function(state) {\n    this.stack.push(this.state)\n    this.setState(state)\n  }\n\n  var eat = hasSticky ? function(re, buffer) { // assume re is /y\n    return re.exec(buffer)\n  } : function(re, buffer) { // assume re is /g\n    var match = re.exec(buffer)\n    // will always match, since we used the |(?:) trick\n    if (match[0].length === 0) {\n      return null\n    }\n    return match\n  }\n\n  Lexer.prototype._getGroup = function(match) {\n    var groupCount = this.groups.length\n    for (var i = 0; i < groupCount; i++) {\n      if (match[i + 1] !== undefined) {\n        return this.groups[i]\n      }\n    }\n    throw new Error('Cannot find token type for matched text')\n  }\n\n  function tokenToString() {\n    return this.value\n  }\n\n  Lexer.prototype.next = function() {\n    var index = this.index\n\n    // If a fallback token matched, we don't need to re-run the RegExp\n    if (this.queuedGroup) {\n      var token = this._token(this.queuedGroup, this.queuedText, index)\n      this.queuedGroup = null\n      this.queuedText = \"\"\n      return token\n    }\n\n    var buffer = this.buffer\n    if (index === buffer.length) {\n      return // EOF\n    }\n\n    // Fast matching for single characters\n    var group = this.fast[buffer.charCodeAt(index)]\n    if (group) {\n      return this._token(group, buffer.charAt(index), index)\n    }\n\n    // Execute RegExp\n    var re = this.re\n    re.lastIndex = index\n    var match = eat(re, buffer)\n\n    // Error tokens match the remaining buffer\n    var error = this.error\n    if (match == null) {\n      return this._token(error, buffer.slice(index, buffer.length), index)\n    }\n\n    var group = this._getGroup(match)\n    var text = match[0]\n\n    if (error.fallback && match.index !== index) {\n      this.queuedGroup = group\n      this.queuedText = text\n\n      // Fallback tokens contain the unmatched portion of the buffer\n      return this._token(error, buffer.slice(index, match.index), index)\n    }\n\n    return this._token(group, text, index)\n  }\n\n  Lexer.prototype._token = function(group, text, offset) {\n    // count line breaks\n    var lineBreaks = 0\n    if (group.lineBreaks) {\n      var matchNL = /\\n/g\n      var nl = 1\n      if (text === '\\n') {\n        lineBreaks = 1\n      } else {\n        while (matchNL.exec(text)) { lineBreaks++; nl = matchNL.lastIndex }\n      }\n    }\n\n    var token = {\n      type: (typeof group.type === 'function' && group.type(text)) || group.defaultType,\n      value: typeof group.value === 'function' ? group.value(text) : text,\n      text: text,\n      toString: tokenToString,\n      offset: offset,\n      lineBreaks: lineBreaks,\n      line: this.line,\n      col: this.col,\n    }\n    // nb. adding more props to token object will make V8 sad!\n\n    var size = text.length\n    this.index += size\n    this.line += lineBreaks\n    if (lineBreaks !== 0) {\n      this.col = size - nl + 1\n    } else {\n      this.col += size\n    }\n\n    // throw, if no rule with {error: true}\n    if (group.shouldThrow) {\n      var err = new Error(this.formatError(token, \"invalid syntax\"))\n      throw err;\n    }\n\n    if (group.pop) this.popState()\n    else if (group.push) this.pushState(group.push)\n    else if (group.next) this.setState(group.next)\n\n    return token\n  }\n\n  if (typeof Symbol !== 'undefined' && Symbol.iterator) {\n    var LexerIterator = function(lexer) {\n      this.lexer = lexer\n    }\n\n    LexerIterator.prototype.next = function() {\n      var token = this.lexer.next()\n      return {value: token, done: !token}\n    }\n\n    LexerIterator.prototype[Symbol.iterator] = function() {\n      return this\n    }\n\n    Lexer.prototype[Symbol.iterator] = function() {\n      return new LexerIterator(this)\n    }\n  }\n\n  Lexer.prototype.formatError = function(token, message) {\n    if (token == null) {\n      // An undefined token indicates EOF\n      var text = this.buffer.slice(this.index)\n      var token = {\n        text: text,\n        offset: this.index,\n        lineBreaks: text.indexOf('\\n') === -1 ? 0 : 1,\n        line: this.line,\n        col: this.col,\n      }\n    }\n    \n    var numLinesAround = 2\n    var firstDisplayedLine = Math.max(token.line - numLinesAround, 1)\n    var lastDisplayedLine = token.line + numLinesAround\n    var lastLineDigits = String(lastDisplayedLine).length\n    var displayedLines = lastNLines(\n        this.buffer, \n        (this.line - token.line) + numLinesAround + 1\n      )\n      .slice(0, 5)\n    var errorLines = []\n    errorLines.push(message + \" at line \" + token.line + \" col \" + token.col + \":\")\n    errorLines.push(\"\")\n    for (var i = 0; i < displayedLines.length; i++) {\n      var line = displayedLines[i]\n      var lineNo = firstDisplayedLine + i\n      errorLines.push(pad(String(lineNo), lastLineDigits) + \"  \" + line);\n      if (lineNo === token.line) {\n        errorLines.push(pad(\"\", lastLineDigits + token.col + 1) + \"^\")\n      }\n    }\n    return errorLines.join(\"\\n\")\n  }\n\n  Lexer.prototype.clone = function() {\n    return new Lexer(this.states, this.state)\n  }\n\n  Lexer.prototype.has = function(tokenType) {\n    return true\n  }\n\n\n  return {\n    compile: compile,\n    states: compileStates,\n    error: Object.freeze({error: true}),\n    fallback: Object.freeze({fallback: true}),\n    keywords: keywordTransform,\n  }\n\n}));\n\n\n/***/ }),\n\n/***/ 812:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.stringify = stringify;\n// Converts a ROS message definition (http://wiki.ros.org/msg) into a canonical\n// message description format that is suitable for MD5 checksum generation\nfunction stringify(msgDefs) {\n    let output = \"\";\n    for (let i = 0; i < msgDefs.length; i++) {\n        const msgDef = msgDefs[i];\n        // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n        const constants = msgDef.definitions.filter(({ isConstant }) => isConstant);\n        const variables = msgDef.definitions.filter(({ isConstant }) => isConstant == undefined || !isConstant);\n        if (i > 0) {\n            output +=\n                \"\\n================================================================================\\n\";\n            output += `MSG: ${msgDef.name ?? \"\"}\\n`;\n        }\n        for (const def of constants) {\n            output += `${def.type} ${def.name} = ${def.valueText ?? String(def.value)}\\n`;\n        }\n        if (variables.length > 0) {\n            if (output.length > 0) {\n                output += \"\\n\";\n            }\n            for (const def of variables) {\n                const upperBound = def.upperBound != undefined ? `<=${def.upperBound}` : \"\";\n                const arrayLength = def.arrayLength != undefined\n                    ? String(def.arrayLength)\n                    : def.arrayUpperBound != undefined\n                        ? `<=${def.arrayUpperBound}`\n                        : \"\";\n                const array = def.isArray === true ? `[${arrayLength}]` : \"\";\n                const defaultValue = def.defaultValue != undefined ? ` ${stringifyDefaultValue(def.defaultValue)}` : \"\";\n                output += `${def.type}${upperBound}${array} ${def.name}${defaultValue}\\n`;\n            }\n        }\n    }\n    return output.trimEnd();\n}\nfunction stringifyDefaultValue(value) {\n    if (Array.isArray(value)) {\n        return `[${value\n            .map((x) => (typeof x === \"bigint\" ? x.toString() : JSON.stringify(x)))\n            .join(\", \")}]`;\n    }\n    return typeof value === \"bigint\" ? value.toString() : JSON.stringify(value);\n}\n\n\n/***/ }),\n\n/***/ 881:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/// <reference types=\"./extensions\" />\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__exportStar(__webpack_require__(425), exports);\n__exportStar(__webpack_require__(954), exports);\n__exportStar(__webpack_require__(812), exports);\n\n\n/***/ }),\n\n/***/ 900:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isMsgDefFieldEqual = isMsgDefFieldEqual;\nexports.isMsgDefEqual = isMsgDefEqual;\n/**\n * Deep equality comparison of two DefaultValue values. Two default values are considered equal\n * if they are both arrays and all their elements are equal, or if they are both primitives and\n * equal.\n *\n * @param lhs Left-hand side of the comparison.\n * @param rhs Right-hand side of the comparison.\n * @returns True if the two default values are equal, false otherwise.\n */\nfunction defaultValuesEqual(lhs, rhs) {\n    if (Array.isArray(lhs) && Array.isArray(rhs)) {\n        if (lhs.length !== rhs.length) {\n            return false;\n        }\n        for (let i = 0; i < lhs.length; i++) {\n            if (lhs[i] !== rhs[i]) {\n                return false;\n            }\n        }\n        return true;\n    }\n    return lhs === rhs;\n}\n/**\n * Compares two MessageDefinitionField objects for equality. Two fields are considered equal if all\n * their properties are equal. Assumes default values (False) for boolean properties that are undefined.\n *\n * @param lhs MessageDefinitionField field\n * @param rhs MessageDefinitionField field to compare with\n * @returns True if the two fields are equal, false otherwise.\n */\nfunction isMsgDefFieldEqual(lhs, rhs) {\n    return (lhs.type === rhs.type &&\n        lhs.name === rhs.name &&\n        (lhs.isComplex ?? false) === (rhs.isComplex ?? false) &&\n        lhs.enumType === rhs.enumType &&\n        (lhs.isArray ?? false) === (rhs.isArray ?? false) &&\n        lhs.arrayLength === rhs.arrayLength &&\n        (lhs.isConstant ?? false) === (rhs.isConstant ?? false) &&\n        lhs.value === rhs.value &&\n        lhs.valueText === rhs.valueText &&\n        lhs.upperBound === rhs.upperBound &&\n        lhs.arrayUpperBound === rhs.arrayUpperBound &&\n        (lhs.deprecated ?? false) === (rhs.deprecated ?? false) &&\n        defaultValuesEqual(lhs.defaultValue, rhs.defaultValue));\n}\n/**\n * Compares two MessageDefinition objects for equality. Two message definitions are considered\n * equal if their name (if given) and all their definitions equal.\n *\n * @param lhs MessageDefinition message definition\n * @param rhs MessageDefinition message definition to compare with\n * @returns True if the two message definitions are equal, false otherwise.\n */\nfunction isMsgDefEqual(lhs, rhs) {\n    return ((lhs.name == undefined || rhs.name == undefined || lhs.name === rhs.name) &&\n        lhs.definitions.length === rhs.definitions.length &&\n        lhs.definitions.every((def, i) => isMsgDefFieldEqual(def, rhs.definitions[i])));\n}\n\n\n/***/ }),\n\n/***/ 954:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// This file incorporates work covered by the following copyright and\n// permission notice:\n//\n//   Copyright 2018-2021 Cruise LLC\n//\n//   This source code is licensed under the Apache License, Version 2.0,\n//   found at http://www.apache.org/licenses/LICENSE-2.0\n//   You may not use this file except in compliance with the License.\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.parse = parse;\nexports.fixupTypes = fixupTypes;\nexports.normalizeType = normalizeType;\nconst message_definition_1 = __webpack_require__(155);\nconst nearley_1 = __webpack_require__(662);\nconst buildRos2Type_1 = __webpack_require__(91);\nconst ros1_ne_1 = __importDefault(__webpack_require__(666));\nconst ROS1_GRAMMAR = nearley_1.Grammar.fromCompiled(ros1_ne_1.default);\n// Given a raw message definition string, parse it into an object representation.\n// Example return value:\n// [{\n//   name: undefined,\n//   definitions: [\n//     {\n//       arrayLength: undefined,\n//       isArray: false,\n//       isComplex: false,\n//       name: \"name\",\n//       type: \"string\",\n//       defaultValue: undefined\n//     }, ...\n//   ],\n// }, ... ]\n//\n// See unit tests for more examples.\nfunction parse(messageDefinition, options = {}) {\n    // read all the lines and remove empties\n    const allLines = messageDefinition\n        .split(\"\\n\")\n        .map((line) => line.trim())\n        .filter((line) => line);\n    let definitionLines = [];\n    const types = [];\n    // group lines into individual definitions\n    allLines.forEach((line) => {\n        // ignore comment lines\n        if (line.startsWith(\"#\")) {\n            return;\n        }\n        // definitions are split by equal signs\n        if (line.startsWith(\"==\")) {\n            types.push(options.ros2 === true\n                ? (0, buildRos2Type_1.buildRos2Type)(definitionLines)\n                : buildType(definitionLines, ROS1_GRAMMAR));\n            definitionLines = [];\n        }\n        else {\n            definitionLines.push({ line });\n        }\n    });\n    types.push(options.ros2 === true\n        ? (0, buildRos2Type_1.buildRos2Type)(definitionLines)\n        : buildType(definitionLines, ROS1_GRAMMAR));\n    // Filter out duplicate types to handle the case where schemas are erroneously duplicated\n    // e.g. caused by a bug in `mcap convert`. Removing duplicates here will avoid that searching\n    // a type by name will return more than one result.\n    const seenTypes = [];\n    // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n    const uniqueTypes = types.filter((definition) => {\n        return seenTypes.find((otherDefinition) => (0, message_definition_1.isMsgDefEqual)(definition, otherDefinition))\n            ? false\n            : seenTypes.push(definition); // Always evaluates to true;\n    });\n    // Fix up complex type names\n    if (options.skipTypeFixup !== true) {\n        fixupTypes(uniqueTypes);\n    }\n    return uniqueTypes;\n}\n/**\n * Normalize type names of complex types to fully qualified type names.\n * Example: `Marker` (defined in `visualization_msgs/MarkerArray` message) becomes `visualization_msgs/Marker`.\n */\nfunction fixupTypes(types) {\n    types.forEach(({ definitions, name }) => {\n        definitions.forEach((definition) => {\n            if (definition.isComplex === true) {\n                // The type might be under a namespace (e.g. std_msgs or std_msgs/msg) which is required\n                // to uniquely retrieve the type by its name.\n                const typeNamespace = name?.split(\"/\").slice(0, -1).join(\"/\");\n                const foundName = findTypeByName(types, definition.type, typeNamespace).name;\n                if (foundName == undefined) {\n                    throw new Error(`Missing type definition for ${definition.type}`);\n                }\n                definition.type = foundName;\n            }\n        });\n    });\n}\nfunction buildType(lines, grammar) {\n    const definitions = [];\n    let complexTypeName;\n    lines.forEach(({ line }) => {\n        if (line.startsWith(\"MSG:\")) {\n            const [_, name] = simpleTokenization(line);\n            complexTypeName = name?.trim();\n            return;\n        }\n        const parser = new nearley_1.Parser(grammar);\n        parser.feed(line);\n        const results = parser.finish();\n        if (results.length === 0) {\n            throw new Error(`Could not parse line: '${line}'`);\n        }\n        else if (results.length > 1) {\n            throw new Error(`Ambiguous line: '${line}'`);\n        }\n        const result = results[0];\n        if (result != undefined) {\n            result.type = normalizeType(result.type);\n            definitions.push(result);\n        }\n    });\n    return { name: complexTypeName, definitions };\n}\nfunction simpleTokenization(line) {\n    return line\n        .replace(/#.*/gi, \"\")\n        .split(\" \")\n        .filter((word) => word);\n}\nfunction findTypeByName(types, name, typeNamespace) {\n    const matches = types.filter((type) => {\n        const typeName = type.name ?? \"\";\n        // if the search is empty, return unnamed types\n        if (name.length === 0) {\n            return typeName.length === 0;\n        }\n        if (name.includes(\"/\")) {\n            // Fully-qualified name, match exact\n            return typeName === name;\n        }\n        else if (name === \"Header\") {\n            // Header is a special case, see http://wiki.ros.org/msg#Fields\n            return typeName === `std_msgs/Header`;\n        }\n        else if (typeNamespace) {\n            // Type namespace is given, create fully-qualified name and match exact\n            return typeName === `${typeNamespace}/${name}`;\n        }\n        else {\n            // Fallback, return if the search is in the type name\n            return typeName.endsWith(`/${name}`);\n        }\n    });\n    if (matches[0] == undefined) {\n        throw new Error(`Expected 1 top level type definition for '${name}' but found ${matches.length}`);\n    }\n    if (matches.length > 1) {\n        throw new Error(`Cannot unambiguously determine fully-qualified type name for '${name}'`);\n    }\n    return matches[0];\n}\nfunction normalizeType(type) {\n    // Normalize deprecated aliases\n    if (type === \"char\") {\n        return \"uint8\";\n    }\n    else if (type === \"byte\") {\n        return \"int8\";\n    }\n    return type;\n}\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t(() => {\n/******/ \t\t// define __esModule on exports\n/******/ \t\t__webpack_require__.r = (exports) => {\n/******/ \t\t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t\t}\n/******/ \t\t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/************************************************************************/\n/******/ \t\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \t// This entry module is referenced by other modules so it can't be inlined\n/******/ \tvar __webpack_exports__ = __webpack_require__(881);\n/******/ \tmodule.exports = __webpack_exports__;\n/******/ \t\n/******/ })()\n;\n"]}