UNPKG

astexplorer.app

Version:

https://astexplorer.net with ES Modules support and Hot Reloading

1 lines 939 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{"./node_modules/ansi-regex/index.js":function(module,exports,__webpack_require__){"use strict";eval("\nmodule.exports = function () {\n\treturn /[\\u001b\\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;\n};\n\n\n//# sourceURL=webpack:///./node_modules/ansi-regex/index.js?")},"./node_modules/babel-code-frame/lib/index.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nexports.__esModule = true;\n\nexports.default = function (rawLines, lineNumber, colNumber) {\n var opts = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n colNumber = Math.max(colNumber, 0);\n\n var highlighted = opts.highlightCode && _chalk2.default.supportsColor || opts.forceColor;\n var chalk = _chalk2.default;\n if (opts.forceColor) {\n chalk = new _chalk2.default.constructor({ enabled: true });\n }\n var maybeHighlight = function maybeHighlight(chalkFn, string) {\n return highlighted ? chalkFn(string) : string;\n };\n var defs = getDefs(chalk);\n if (highlighted) rawLines = highlight(defs, rawLines);\n\n var linesAbove = opts.linesAbove || 2;\n var linesBelow = opts.linesBelow || 3;\n\n var lines = rawLines.split(NEWLINE);\n var start = Math.max(lineNumber - (linesAbove + 1), 0);\n var end = Math.min(lines.length, lineNumber + linesBelow);\n\n if (!lineNumber && !colNumber) {\n start = 0;\n end = lines.length;\n }\n\n var numberMaxWidth = String(end).length;\n\n var frame = lines.slice(start, end).map(function (line, index) {\n var number = start + 1 + index;\n var paddedNumber = (" " + number).slice(-numberMaxWidth);\n var gutter = " " + paddedNumber + " | ";\n if (number === lineNumber) {\n var markerLine = "";\n if (colNumber) {\n var markerSpacing = line.slice(0, colNumber - 1).replace(/[^\\t]/g, " ");\n markerLine = ["\\n ", maybeHighlight(defs.gutter, gutter.replace(/\\d/g, " ")), markerSpacing, maybeHighlight(defs.marker, "^")].join("");\n }\n return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line, markerLine].join("");\n } else {\n return " " + maybeHighlight(defs.gutter, gutter) + line;\n }\n }).join("\\n");\n\n if (highlighted) {\n return chalk.reset(frame);\n } else {\n return frame;\n }\n};\n\nvar _jsTokens = __webpack_require__("./node_modules/js-tokens/index.js");\n\nvar _jsTokens2 = _interopRequireDefault(_jsTokens);\n\nvar _esutils = __webpack_require__("./node_modules/esutils/lib/utils.js");\n\nvar _esutils2 = _interopRequireDefault(_esutils);\n\nvar _chalk = __webpack_require__("./node_modules/babel-code-frame/node_modules/chalk/index.js");\n\nvar _chalk2 = _interopRequireDefault(_chalk);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getDefs(chalk) {\n return {\n keyword: chalk.cyan,\n capitalized: chalk.yellow,\n jsx_tag: chalk.yellow,\n punctuator: chalk.yellow,\n\n number: chalk.magenta,\n string: chalk.green,\n regex: chalk.magenta,\n comment: chalk.grey,\n invalid: chalk.white.bgRed.bold,\n gutter: chalk.grey,\n marker: chalk.red.bold\n };\n}\n\nvar NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\nvar JSX_TAG = /^[a-z][\\w-]*$/i;\n\nvar BRACKET = /^[()\\[\\]{}]$/;\n\nfunction getTokenType(match) {\n var _match$slice = match.slice(-2),\n offset = _match$slice[0],\n text = _match$slice[1];\n\n var token = (0, _jsTokens.matchToToken)(match);\n\n if (token.type === "name") {\n if (_esutils2.default.keyword.isReservedWordES6(token.value)) {\n return "keyword";\n }\n\n if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == "</")) {\n return "jsx_tag";\n }\n\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return "capitalized";\n }\n }\n\n if (token.type === "punctuator" && BRACKET.test(token.value)) {\n return "bracket";\n }\n\n return token.type;\n}\n\nfunction highlight(defs, text) {\n return text.replace(_jsTokens2.default, function () {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var type = getTokenType(args);\n var colorize = defs[type];\n if (colorize) {\n return args[0].split(NEWLINE).map(function (str) {\n return colorize(str);\n }).join("\\n");\n } else {\n return args[0];\n }\n });\n}\n\nmodule.exports = exports["default"];\n\n//# sourceURL=webpack:///./node_modules/babel-code-frame/lib/index.js?')},"./node_modules/babel-code-frame/node_modules/ansi-styles/index.js":function(module,exports,__webpack_require__){"use strict";eval("/* WEBPACK VAR INJECTION */(function(module) {\n\nfunction assembleStyles () {\n\tvar styles = {\n\t\tmodifiers: {\n\t\t\treset: [0, 0],\n\t\t\tbold: [1, 22], // 21 isn't widely supported and 22 does the same thing\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolors: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39]\n\t\t},\n\t\tbgColors: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49]\n\t\t}\n\t};\n\n\t// fix humans\n\tstyles.colors.grey = styles.colors.gray;\n\n\tObject.keys(styles).forEach(function (groupName) {\n\t\tvar group = styles[groupName];\n\n\t\tObject.keys(group).forEach(function (styleName) {\n\t\t\tvar style = group[styleName];\n\n\t\t\tstyles[styleName] = group[styleName] = {\n\t\t\t\topen: '\\u001b[' + style[0] + 'm',\n\t\t\t\tclose: '\\u001b[' + style[1] + 'm'\n\t\t\t};\n\t\t});\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t});\n\n\treturn styles;\n}\n\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(\"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/babel-code-frame/node_modules/ansi-styles/index.js?")},"./node_modules/babel-code-frame/node_modules/chalk/index.js":function(module,exports,__webpack_require__){"use strict";eval("/* WEBPACK VAR INJECTION */(function(process) {\nvar escapeStringRegexp = __webpack_require__(\"./node_modules/escape-string-regexp/index.js\");\nvar ansiStyles = __webpack_require__(\"./node_modules/babel-code-frame/node_modules/ansi-styles/index.js\");\nvar stripAnsi = __webpack_require__(\"./node_modules/babel-code-frame/node_modules/strip-ansi/index.js\");\nvar hasAnsi = __webpack_require__(\"./node_modules/has-ansi/index.js\");\nvar supportsColor = __webpack_require__(\"./node_modules/babel-code-frame/node_modules/supports-color/index.js\");\nvar defineProps = Object.defineProperties;\nvar isSimpleWindowsTerm = process.platform === 'win32' && !/^xterm/i.test(process.env.TERM);\n\nfunction Chalk(options) {\n\t// detect mode if not set manually\n\tthis.enabled = !options || options.enabled === undefined ? supportsColor : options.enabled;\n}\n\n// use bright blue on Windows as the normal blue color is illegible\nif (isSimpleWindowsTerm) {\n\tansiStyles.blue.open = '\\u001b[94m';\n}\n\nvar styles = (function () {\n\tvar ret = {};\n\n\tObject.keys(ansiStyles).forEach(function (key) {\n\t\tansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');\n\n\t\tret[key] = {\n\t\t\tget: function () {\n\t\t\t\treturn build.call(this, this._styles.concat(key));\n\t\t\t}\n\t\t};\n\t});\n\n\treturn ret;\n})();\n\nvar proto = defineProps(function chalk() {}, styles);\n\nfunction build(_styles) {\n\tvar builder = function () {\n\t\treturn applyStyle.apply(builder, arguments);\n\t};\n\n\tbuilder._styles = _styles;\n\tbuilder.enabled = this.enabled;\n\t// __proto__ is used because we must return a function, but there is\n\t// no way to create a function with a different prototype.\n\t/* eslint-disable no-proto */\n\tbuilder.__proto__ = proto;\n\n\treturn builder;\n}\n\nfunction applyStyle() {\n\t// support varags, but simply cast to string in case there's only one arg\n\tvar args = arguments;\n\tvar argsLen = args.length;\n\tvar str = argsLen !== 0 && String(arguments[0]);\n\n\tif (argsLen > 1) {\n\t\t// don't slice `arguments`, it prevents v8 optimizations\n\t\tfor (var a = 1; a < argsLen; a++) {\n\t\t\tstr += ' ' + args[a];\n\t\t}\n\t}\n\n\tif (!this.enabled || !str) {\n\t\treturn str;\n\t}\n\n\tvar nestedStyles = this._styles;\n\tvar i = nestedStyles.length;\n\n\t// Turns out that on Windows dimmed gray text becomes invisible in cmd.exe,\n\t// see https://github.com/chalk/chalk/issues/58\n\t// If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop.\n\tvar originalDim = ansiStyles.dim.open;\n\tif (isSimpleWindowsTerm && (nestedStyles.indexOf('gray') !== -1 || nestedStyles.indexOf('grey') !== -1)) {\n\t\tansiStyles.dim.open = '';\n\t}\n\n\twhile (i--) {\n\t\tvar code = ansiStyles[nestedStyles[i]];\n\n\t\t// Replace any instances already present with a re-opening code\n\t\t// otherwise only the part of the string until said closing code\n\t\t// will be colored, and the rest will simply be 'plain'.\n\t\tstr = code.open + str.replace(code.closeRe, code.open) + code.close;\n\t}\n\n\t// Reset the original 'dim' if we changed it to work around the Windows dimmed gray issue.\n\tansiStyles.dim.open = originalDim;\n\n\treturn str;\n}\n\nfunction init() {\n\tvar ret = {};\n\n\tObject.keys(styles).forEach(function (name) {\n\t\tret[name] = {\n\t\t\tget: function () {\n\t\t\t\treturn build.call(this, [name]);\n\t\t\t}\n\t\t};\n\t});\n\n\treturn ret;\n}\n\ndefineProps(Chalk.prototype, init());\n\nmodule.exports = new Chalk();\nmodule.exports.styles = ansiStyles;\nmodule.exports.hasColor = hasAnsi;\nmodule.exports.stripColor = stripAnsi;\nmodule.exports.supportsColor = supportsColor;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(\"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/babel-code-frame/node_modules/chalk/index.js?")},"./node_modules/babel-code-frame/node_modules/strip-ansi/index.js":function(module,exports,__webpack_require__){"use strict";eval("\nvar ansiRegex = __webpack_require__(\"./node_modules/ansi-regex/index.js\")();\n\nmodule.exports = function (str) {\n\treturn typeof str === 'string' ? str.replace(ansiRegex, '') : str;\n};\n\n\n//# sourceURL=webpack:///./node_modules/babel-code-frame/node_modules/strip-ansi/index.js?")},"./node_modules/babel-code-frame/node_modules/supports-color/index.js":function(module,exports,__webpack_require__){"use strict";eval("/* WEBPACK VAR INJECTION */(function(process) {\nvar argv = process.argv;\n\nvar terminator = argv.indexOf('--');\nvar hasFlag = function (flag) {\n\tflag = '--' + flag;\n\tvar pos = argv.indexOf(flag);\n\treturn pos !== -1 && (terminator !== -1 ? pos < terminator : true);\n};\n\nmodule.exports = (function () {\n\tif ('FORCE_COLOR' in process.env) {\n\t\treturn true;\n\t}\n\n\tif (hasFlag('no-color') ||\n\t\thasFlag('no-colors') ||\n\t\thasFlag('color=false')) {\n\t\treturn false;\n\t}\n\n\tif (hasFlag('color') ||\n\t\thasFlag('colors') ||\n\t\thasFlag('color=true') ||\n\t\thasFlag('color=always')) {\n\t\treturn true;\n\t}\n\n\tif (process.stdout && !process.stdout.isTTY) {\n\t\treturn false;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\treturn true;\n\t}\n\n\tif ('COLORTERM' in process.env) {\n\t\treturn true;\n\t}\n\n\tif (process.env.TERM === 'dumb') {\n\t\treturn false;\n\t}\n\n\tif (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {\n\t\treturn true;\n\t}\n\n\treturn false;\n})();\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(\"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/babel-code-frame/node_modules/supports-color/index.js?")},"./node_modules/babel-eslint/babylon-to-espree/attachComments.js":function(module,exports,__webpack_require__){"use strict";eval(" // comment fixes\n\nmodule.exports = function (ast, comments, tokens) {\n if (comments.length) {\n var firstComment = comments[0];\n var lastComment = comments[comments.length - 1]; // fixup program start\n\n if (!tokens.length) {\n // if no tokens, the program starts at the end of the last comment\n ast.start = lastComment.end;\n ast.loc.start.line = lastComment.loc.end.line;\n ast.loc.start.column = lastComment.loc.end.column;\n\n if (ast.leadingComments === null && ast.innerComments.length) {\n ast.leadingComments = ast.innerComments;\n }\n } else if (firstComment.start < tokens[0].start) {\n // if there are comments before the first token, the program starts at the first token\n var token = tokens[0]; // ast.start = token.start;\n // ast.loc.start.line = token.loc.start.line;\n // ast.loc.start.column = token.loc.start.column;\n // estraverse do not put leading comments on first node when the comment\n // appear before the first token\n\n if (ast.body.length) {\n var node = ast.body[0];\n node.leadingComments = [];\n var firstTokenStart = token.start;\n var len = comments.length;\n\n for (var i = 0; i < len && comments[i].start < firstTokenStart; i++) {\n node.leadingComments.push(comments[i]);\n }\n }\n } // fixup program end\n\n\n if (tokens.length) {\n var lastToken = tokens[tokens.length - 1];\n\n if (lastComment.end > lastToken.end) {\n // If there is a comment after the last token, the program ends at the\n // last token and not the comment\n // ast.end = lastToken.end;\n ast.range[1] = lastToken.end;\n ast.loc.end.line = lastToken.loc.end.line;\n ast.loc.end.column = lastToken.loc.end.column;\n }\n }\n } else {\n if (!tokens.length) {\n ast.loc.start.line = 1;\n ast.loc.end.line = 1;\n }\n }\n\n if (ast.body && ast.body.length > 0) {\n ast.loc.start.line = ast.body[0].loc.start.line;\n ast.range[0] = ast.body[0].start;\n }\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/attachComments.js?")},"./node_modules/babel-eslint/babylon-to-espree/convertComments.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nmodule.exports = function (comments) {\n for (var i = 0; i < comments.length; i++) {\n var comment = comments[i];\n\n if (comment.type === "CommentBlock") {\n comment.type = "Block";\n } else if (comment.type === "CommentLine") {\n comment.type = "Line";\n } // sometimes comments don\'t get ranges computed,\n // even with options.ranges === true\n\n\n if (!comment.range) {\n comment.range = [comment.start, comment.end];\n }\n }\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/convertComments.js?')},"./node_modules/babel-eslint/babylon-to-espree/convertTemplateType.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nmodule.exports = function (tokens, tt) {\n var startingToken = 0;\n var currentToken = 0;\n var numBraces = 0; // track use of {}\n\n var numBackQuotes = 0; // track number of nested templates\n\n function isBackQuote(token) {\n return tokens[token].type === tt.backQuote;\n }\n\n function isTemplateStarter(token) {\n return isBackQuote(token) || // only can be a template starter when in a template already\n tokens[token].type === tt.braceR && numBackQuotes > 0;\n }\n\n function isTemplateEnder(token) {\n return isBackQuote(token) || tokens[token].type === tt.dollarBraceL;\n } // append the values between start and end\n\n\n function createTemplateValue(start, end) {\n var value = "";\n\n while (start <= end) {\n if (tokens[start].value) {\n value += tokens[start].value;\n } else if (tokens[start].type !== tt.template) {\n value += tokens[start].type.label;\n }\n\n start++;\n }\n\n return value;\n } // create Template token\n\n\n function replaceWithTemplateType(start, end) {\n var templateToken = {\n type: "Template",\n value: createTemplateValue(start, end),\n start: tokens[start].start,\n end: tokens[end].end,\n loc: {\n start: tokens[start].loc.start,\n end: tokens[end].loc.end\n }\n }; // put new token in place of old tokens\n\n tokens.splice(start, end - start + 1, templateToken);\n }\n\n function trackNumBraces(token) {\n if (tokens[token].type === tt.braceL) {\n numBraces++;\n } else if (tokens[token].type === tt.braceR) {\n numBraces--;\n }\n }\n\n while (startingToken < tokens.length) {\n // template start: check if ` or }\n if (isTemplateStarter(startingToken) && numBraces === 0) {\n if (isBackQuote(startingToken)) {\n numBackQuotes++;\n }\n\n currentToken = startingToken + 1; // check if token after template start is "template"\n\n if (currentToken >= tokens.length - 1 || tokens[currentToken].type !== tt.template) {\n break;\n } // template end: find ` or ${\n\n\n while (!isTemplateEnder(currentToken)) {\n if (currentToken >= tokens.length - 1) {\n break;\n }\n\n currentToken++;\n }\n\n if (isBackQuote(currentToken)) {\n numBackQuotes--;\n } // template start and end found: create new token\n\n\n replaceWithTemplateType(startingToken, currentToken);\n } else if (numBackQuotes > 0) {\n trackNumBraces(startingToken);\n }\n\n startingToken++;\n }\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/convertTemplateType.js?')},"./node_modules/babel-eslint/babylon-to-espree/index.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nvar attachComments = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/attachComments.js");\n\nvar convertComments = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/convertComments.js");\n\nvar toTokens = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/toTokens.js");\n\nvar toAST = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/toAST.js");\n\nmodule.exports = function (ast, traverse, tt, code) {\n // remove EOF token, eslint doesn\'t use this for anything and it interferes\n // with some rules see https://github.com/babel/babel-eslint/issues/2\n // todo: find a more elegant way to do this\n ast.tokens.pop(); // convert tokens\n\n ast.tokens = toTokens(ast.tokens, tt, code); // add comments\n\n convertComments(ast.comments); // transform esprima and acorn divergent nodes\n\n toAST(ast, traverse, code); // ast.program.tokens = ast.tokens;\n // ast.program.comments = ast.comments;\n // ast = ast.program;\n // remove File\n\n ast.type = "Program";\n ast.sourceType = ast.program.sourceType;\n ast.directives = ast.program.directives;\n ast.body = ast.program.body;\n delete ast.program;\n delete ast._paths;\n attachComments(ast, ast.comments, ast.tokens);\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/index.js?')},"./node_modules/babel-eslint/babylon-to-espree/toAST.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nvar convertComments = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/convertComments.js");\n\nmodule.exports = function (ast, traverse, code) {\n var state = {\n source: code\n };\n ast.range = [ast.start, ast.end];\n traverse(ast, astTransformVisitor, null, state);\n};\n\nfunction changeToLiteral(node, state) {\n node.type = "Literal";\n\n if (!node.raw) {\n if (node.extra && node.extra.raw) {\n node.raw = node.extra.raw;\n } else {\n node.raw = state.source.slice(node.start, node.end);\n }\n }\n}\n\nvar astTransformVisitor = {\n noScope: true,\n enter: function enter(path) {\n var node = path.node;\n node.range = [node.start, node.end]; // private var to track original node type\n\n node._babelType = node.type;\n\n if (node.innerComments) {\n node.trailingComments = node.innerComments;\n delete node.innerComments;\n }\n\n if (node.trailingComments) {\n convertComments(node.trailingComments);\n }\n\n if (node.leadingComments) {\n convertComments(node.leadingComments);\n } // make \'_paths\' non-enumerable (babel-eslint #200)\n\n\n Object.defineProperty(node, "_paths", {\n value: node._paths,\n writable: true\n });\n },\n exit: function exit(path, state) {\n var node = path.node; // fixDirectives\n\n if (path.isFunction() || path.isProgram()) {\n var directivesContainer = node;\n var body = node.body;\n\n if (node.type !== "Program") {\n directivesContainer = body;\n body = body.body;\n }\n\n if (directivesContainer.directives) {\n for (var i = directivesContainer.directives.length - 1; i >= 0; i--) {\n var directive = directivesContainer.directives[i];\n directive.type = "ExpressionStatement";\n directive.expression = directive.value;\n delete directive.value;\n directive.expression.type = "Literal";\n changeToLiteral(directive.expression, state);\n body.unshift(directive);\n }\n\n delete directivesContainer.directives;\n }\n }\n\n if (path.isJSXText()) {\n node.type = "Literal";\n node.raw = node.value;\n }\n\n if (path.isNumericLiteral() || path.isStringLiteral()) {\n changeToLiteral(node, state);\n }\n\n if (path.isBooleanLiteral()) {\n node.type = "Literal";\n node.raw = String(node.value);\n }\n\n if (path.isNullLiteral()) {\n node.type = "Literal";\n node.raw = "null";\n node.value = null;\n }\n\n if (path.isRegExpLiteral()) {\n node.type = "Literal";\n node.raw = node.extra.raw;\n node.value = {};\n node.regex = {\n pattern: node.pattern,\n flags: node.flags\n };\n delete node.extra;\n delete node.pattern;\n delete node.flags;\n }\n\n if (path.isObjectProperty()) {\n node.type = "Property";\n node.kind = "init";\n }\n\n if (path.isClassMethod() || path.isObjectMethod()) {\n var code = state.source.slice(node.key.end, node.body.start);\n var offset = code.indexOf("(");\n node.value = {\n type: "FunctionExpression",\n id: node.id,\n params: node.params,\n body: node.body,\n async: node.async,\n generator: node.generator,\n expression: node.expression,\n defaults: [],\n // basic support - TODO: remove (old esprima)\n loc: {\n start: {\n line: node.key.loc.start.line,\n column: node.key.loc.end.column + offset // a[() {]\n\n },\n end: node.body.loc.end\n }\n }; // [asdf]() {\n\n node.value.range = [node.key.end + offset, node.body.end];\n node.value.start = node.value.range && node.value.range[0] || node.value.loc.start.column;\n node.value.end = node.value.range && node.value.range[1] || node.value.loc.end.column;\n\n if (node.returnType) {\n node.value.returnType = node.returnType;\n }\n\n if (node.typeParameters) {\n node.value.typeParameters = node.typeParameters;\n }\n\n if (path.isClassMethod()) {\n node.type = "MethodDefinition";\n }\n\n if (path.isObjectMethod()) {\n node.type = "Property";\n\n if (node.kind === "method") {\n node.kind = "init";\n }\n }\n\n delete node.body;\n delete node.id;\n delete node.async;\n delete node.generator;\n delete node.expression;\n delete node.params;\n delete node.returnType;\n delete node.typeParameters;\n }\n\n if (path.isRestProperty() || path.isSpreadProperty()) {\n node.type = "Experimental".concat(node.type);\n }\n\n if (path.isTypeParameter && path.isTypeParameter()) {\n node.type = "Identifier";\n node.typeAnnotation = node.bound;\n delete node.bound;\n } // flow: prevent "no-undef"\n // for "Component" in: "let x: React.Component"\n\n\n if (path.isQualifiedTypeIdentifier()) {\n delete node.id;\n } // for "b" in: "var a: { b: Foo }"\n\n\n if (path.isObjectTypeProperty()) {\n delete node.key;\n } // for "indexer" in: "var a: {[indexer: string]: number}"\n\n\n if (path.isObjectTypeIndexer()) {\n delete node.id;\n } // for "param" in: "var a: { func(param: Foo): Bar };"\n\n\n if (path.isFunctionTypeParam()) {\n delete node.name;\n } // modules\n\n\n if (path.isImportDeclaration()) {\n delete node.isType;\n }\n\n if (path.isExportDeclaration()) {\n var declar = path.get("declaration");\n\n if (declar.isClassExpression()) {\n node.declaration.type = "ClassDeclaration";\n } else if (declar.isFunctionExpression()) {\n node.declaration.type = "FunctionDeclaration";\n }\n } // TODO: remove (old esprima)\n\n\n if (path.isFunction()) {\n if (!node.defaults) {\n node.defaults = [];\n }\n } // template string range fixes\n\n\n if (path.isTemplateLiteral()) {\n for (var j = 0; j < node.quasis.length; j++) {\n var q = node.quasis[j];\n q.range[0] -= 1;\n\n if (q.tail) {\n q.range[1] += 1;\n } else {\n q.range[1] += 2;\n }\n\n q.loc.start.column -= 1;\n\n if (q.tail) {\n q.loc.end.column += 1;\n } else {\n q.loc.end.column += 2;\n }\n }\n }\n }\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/toAST.js?')},"./node_modules/babel-eslint/babylon-to-espree/toToken.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nmodule.exports = function (token, tt, source) {\n var type = token.type;\n token.range = [token.start, token.end];\n\n if (type === tt.name) {\n token.type = "Identifier";\n } else if (type === tt.semi || type === tt.comma || type === tt.parenL || type === tt.parenR || type === tt.braceL || type === tt.braceR || type === tt.slash || type === tt.dot || type === tt.bracketL || type === tt.bracketR || type === tt.ellipsis || type === tt.arrow || type === tt.star || type === tt.incDec || type === tt.colon || type === tt.question || type === tt.template || type === tt.backQuote || type === tt.dollarBraceL || type === tt.at || type === tt.logicalOR || type === tt.logicalAND || type === tt.bitwiseOR || type === tt.bitwiseXOR || type === tt.bitwiseAND || type === tt.equality || type === tt.relational || type === tt.bitShift || type === tt.plusMin || type === tt.modulo || type === tt.exponent || type === tt.prefix || type === tt.doubleColon || type.isAssign) {\n token.type = "Punctuator";\n if (!token.value) token.value = type.label;\n } else if (type === tt.jsxTagStart) {\n token.type = "Punctuator";\n token.value = "<";\n } else if (type === tt.jsxTagEnd) {\n token.type = "Punctuator";\n token.value = ">";\n } else if (type === tt.jsxName) {\n token.type = "JSXIdentifier";\n } else if (type === tt.jsxText) {\n token.type = "JSXText";\n } else if (type.keyword === "null") {\n token.type = "Null";\n } else if (type.keyword === "false" || type.keyword === "true") {\n token.type = "Boolean";\n } else if (type.keyword) {\n token.type = "Keyword";\n } else if (type === tt.num) {\n token.type = "Numeric";\n token.value = source.slice(token.start, token.end);\n } else if (type === tt.string) {\n token.type = "String";\n token.value = source.slice(token.start, token.end);\n } else if (type === tt.regexp) {\n token.type = "RegularExpression";\n var value = token.value;\n token.regex = {\n pattern: value.pattern,\n flags: value.flags\n };\n token.value = "/".concat(value.pattern, "/").concat(value.flags);\n }\n\n return token;\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/toToken.js?')},"./node_modules/babel-eslint/babylon-to-espree/toTokens.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nvar convertTemplateType = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/convertTemplateType.js");\n\nvar toToken = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/toToken.js");\n\nmodule.exports = function (tokens, tt, code) {\n // transform tokens to type "Template"\n convertTemplateType(tokens, tt);\n var transformedTokens = [];\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (token.type !== "CommentLine" && token.type !== "CommentBlock") {\n transformedTokens.push(toToken(token, tt, code));\n }\n }\n\n return transformedTokens;\n};\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/babylon-to-espree/toTokens.js?')},"./node_modules/babel-eslint/index.js":function(module,exports,__webpack_require__){"use strict";eval('/* WEBPACK VAR INJECTION */(function(module, process) {\n\nvar babylonToEspree = __webpack_require__("./node_modules/babel-eslint/babylon-to-espree/index.js");\n\nvar Module = __webpack_require__("./node_modules/node-libs-browser/mock/empty.js");\n\nvar path = __webpack_require__("./node_modules/path-browserify/index.js");\n\nvar parse = __webpack_require__("./node_modules/babylon/lib/index.js").parse;\n\nvar t = __webpack_require__("./node_modules/babel-types/lib/index.js");\n\nvar tt = __webpack_require__("./node_modules/babylon/lib/index.js").tokTypes;\n\nvar traverse = __webpack_require__("./node_modules/babel-traverse/lib/index.js").default;\n\nvar codeFrame = __webpack_require__("./node_modules/babel-code-frame/lib/index.js");\n\nvar hasPatched = false;\nvar eslintOptions = {};\n\nfunction getModules() {\n try {\n // avoid importing a local copy of eslint, try to find a peer dependency\n var eslintLoc = Module._resolveFilename("eslint", module.parent);\n } catch (err) {\n try {\n // avoids breaking in jest where module.parent is undefined\n eslintLoc = /*require.resolve*/(!(function webpackMissingModule() { var e = new Error("Cannot find module \'eslint\'"); e.code = \'MODULE_NOT_FOUND\'; throw e; }()));\n } catch (err) {\n throw new ReferenceError("couldn\'t resolve eslint");\n }\n } // get modules relative to what eslint will load\n\n\n var eslintMod = new Module(eslintLoc);\n eslintMod.filename = eslintLoc;\n eslintMod.paths = Module._nodeModulePaths(path.dirname(eslintLoc));\n\n try {\n var escope = eslintMod.require("eslint-scope");\n\n var Definition = eslintMod.require("eslint-scope/lib/definition").Definition;\n\n var referencer = eslintMod.require("eslint-scope/lib/referencer");\n } catch (err) {\n escope = eslintMod.require("escope");\n Definition = eslintMod.require("escope/lib/definition").Definition;\n referencer = eslintMod.require("escope/lib/referencer");\n }\n\n var estraverse = eslintMod.require("estraverse");\n\n if (referencer.__esModule) referencer = referencer.default;\n return {\n Definition: Definition,\n escope: escope,\n estraverse: estraverse,\n referencer: referencer\n };\n}\n\nfunction monkeypatch(modules) {\n var Definition = modules.Definition;\n var escope = modules.escope;\n var estraverse = modules.estraverse;\n var referencer = modules.referencer;\n Object.assign(estraverse.VisitorKeys, t.VISITOR_KEYS);\n estraverse.VisitorKeys.MethodDefinition.push("decorators");\n estraverse.VisitorKeys.Property.push("decorators");\n var analyze = escope.analyze;\n\n escope.analyze = function (ast, opts) {\n opts.ecmaVersion = eslintOptions.ecmaVersion;\n opts.sourceType = eslintOptions.sourceType;\n\n if (eslintOptions.globalReturn !== undefined) {\n opts.nodejsScope = eslintOptions.globalReturn;\n }\n\n var results = analyze.call(this, ast, opts);\n return results;\n }; // if there are decorators, then visit each\n\n\n function visitDecorators(node) {\n if (!node.decorators) {\n return;\n }\n\n for (var i = 0; i < node.decorators.length; i++) {\n if (node.decorators[i].expression) {\n this.visit(node.decorators[i]);\n }\n }\n } // iterate through part of t.VISITOR_KEYS\n\n\n var flowFlippedAliasKeys = t.FLIPPED_ALIAS_KEYS.Flow.concat(["ArrayPattern", "ClassDeclaration", "ClassExpression", "FunctionDeclaration", "FunctionExpression", "Identifier", "ObjectPattern", "RestElement"]);\n var visitorKeysMap = Object.keys(t.VISITOR_KEYS).reduce(function (acc, key) {\n var value = t.VISITOR_KEYS[key];\n\n if (flowFlippedAliasKeys.indexOf(value) === -1) {\n acc[key] = value;\n }\n\n return acc;\n }, {});\n var propertyTypes = {\n // loops\n callProperties: {\n type: "loop",\n values: ["value"]\n },\n indexers: {\n type: "loop",\n values: ["key", "value"]\n },\n properties: {\n type: "loop",\n values: ["argument", "value"]\n },\n types: {\n type: "loop"\n },\n params: {\n type: "loop"\n },\n // single property\n argument: {\n type: "single"\n },\n elementType: {\n type: "single"\n },\n qualification: {\n type: "single"\n },\n rest: {\n type: "single"\n },\n returnType: {\n type: "single"\n },\n // others\n typeAnnotation: {\n type: "typeAnnotation"\n },\n typeParameters: {\n type: "typeParameters"\n },\n id: {\n type: "id"\n }\n };\n\n function visitTypeAnnotation(node) {\n // get property to check (params, id, etc...)\n var visitorValues = visitorKeysMap[node.type];\n\n if (!visitorValues) {\n return;\n } // can have multiple properties\n\n\n for (var i = 0; i < visitorValues.length; i++) {\n var visitorValue = visitorValues[i];\n var propertyType = propertyTypes[visitorValue];\n var nodeProperty = node[visitorValue]; // check if property or type is defined\n\n if (propertyType == null || nodeProperty == null) {\n continue;\n }\n\n if (propertyType.type === "loop") {\n for (var j = 0; j < nodeProperty.length; j++) {\n if (Array.isArray(propertyType.values)) {\n for (var k = 0; k < propertyType.values.length; k++) {\n var loopPropertyNode = nodeProperty[j][propertyType.values[k]];\n\n if (loopPropertyNode) {\n checkIdentifierOrVisit.call(this, loopPropertyNode);\n }\n }\n } else {\n checkIdentifierOrVisit.call(this, nodeProperty[j]);\n }\n }\n } else if (propertyType.type === "single") {\n checkIdentifierOrVisit.call(this, nodeProperty);\n } else if (propertyType.type === "typeAnnotation") {\n visitTypeAnnotation.call(this, node.typeAnnotation);\n } else if (propertyType.type === "typeParameters") {\n for (var l = 0; l < node.typeParameters.params.length; l++) {\n checkIdentifierOrVisit.call(this, node.typeParameters.params[l]);\n }\n } else if (propertyType.type === "id") {\n if (node.id.type === "Identifier") {\n checkIdentifierOrVisit.call(this, node.id);\n } else {\n visitTypeAnnotation.call(this, node.id);\n }\n }\n }\n }\n\n function checkIdentifierOrVisit(node) {\n if (node.typeAnnotation) {\n visitTypeAnnotation.call(this, node.typeAnnotation);\n } else if (node.type === "Identifier") {\n this.visit(node);\n } else {\n visitTypeAnnotation.call(this, node);\n }\n }\n\n function nestTypeParamScope(manager, node) {\n var parentScope = manager.__currentScope;\n var scope = new escope.Scope(manager, "type-parameters", parentScope, node, false);\n\n manager.__nestScope(scope);\n\n for (var j = 0; j < node.typeParameters.params.length; j++) {\n var name = node.typeParameters.params[j];\n\n scope.__define(name, new Definition("TypeParameter", name, name));\n\n if (name.typeAnnotation) {\n checkIdentifierOrVisit.call(this, name);\n }\n }\n\n scope.__define = function () {\n return parentScope.__define.apply(parentScope, arguments);\n };\n\n return scope;\n } // visit decorators that are in: ClassDeclaration / ClassExpression\n\n\n var visitClass = referencer.prototype.visitClass;\n\n referencer.prototype.visitClass = function (node) {\n visitDecorators.call(this, node);\n var typeParamScope;\n\n if (node.typeParameters) {\n typeParamScope = nestTypeParamScope.call(this, this.scopeManager, node);\n } // visit flow type: ClassImplements\n\n\n if (node.implements) {\n for (var i = 0; i < node.implements.length; i++) {\n checkIdentifierOrVisit.call(this, node.implements[i]);\n }\n }\n\n if (node.superTypeParameters) {\n for (var k = 0; k < node.superTypeParameters.params.length; k++) {\n checkIdentifierOrVisit.call(this, node.superTypeParameters.params[k]);\n }\n }\n\n visitClass.call(this, node);\n\n if (typeParamScope) {\n this.close(node);\n }\n }; // visit decorators that are in: Property / MethodDefinition\n\n\n var visitProperty = referencer.prototype.visitProperty;\n\n referencer.prototype.visitProperty = function (node) {\n if (node.value && node.value.type === "TypeCastExpression") {\n visitTypeAnnotation.call(this, node.value);\n }\n\n visitDecorators.call(this, node);\n visitProperty.call(this, node);\n }; // visit ClassProperty as a Property.\n\n\n referencer.prototype.ClassProperty = function (node) {\n if (node.typeAnnotation) {\n visitTypeAnnotation.call(this, node.typeAnnotation);\n }\n\n this.visitProperty(node);\n }; // visit flow type in FunctionDeclaration, FunctionExpression, ArrowFunctionExpression\n\n\n var visitFunction = referencer.prototype.visitFunction;\n\n referencer.prototype.visitFunction = function (node) {\n var typeParamScope;\n\n if (node.typeParameters) {\n typeParamScope = nestTypeParamScope.call(this, this.scopeManager, node);\n }\n\n if (node.returnType) {\n checkIdentifierOrVisit.call(this, node.returnType);\n } // only visit if function parameters have types\n\n\n if (node.params) {\n for (var i = 0; i < node.params.length; i++) {\n var param = node.params[i];\n\n if (param.typeAnnotation) {\n checkIdentifierOrVisit.call(this, param);\n } else if (t.isAssignmentPattern(param)) {\n if (param.left.typeAnnotation) {\n checkIdentifierOrVisit.call(this, param.left);\n }\n }\n }\n } // set ArrayPattern/ObjectPattern visitor keys back to their original. otherwise\n // escope will traverse into them and include the identifiers within as declarations\n\n\n estraverse.VisitorKeys.ObjectPattern = ["properties"];\n estraverse.VisitorKeys.ArrayPattern = ["elements"];\n visitFunction.call(this, node); // set them back to normal...\n\n estraverse.VisitorKeys.ObjectPattern = t.VISITOR_KEYS.ObjectPattern;\n estraverse.VisitorKeys.ArrayPattern = t.VISITOR_KEYS.ArrayPattern;\n\n if (typeParamScope) {\n this.close(node);\n }\n }; // visit flow type in VariableDeclaration\n\n\n var variableDeclaration = referencer.prototype.VariableDeclaration;\n\n referencer.prototype.VariableDeclaration = function (node) {\n if (node.declarations) {\n for (var i = 0; i < node.declarations.length; i++) {\n var id = node.declarations[i].id;\n var typeAnnotation = id.typeAnnotation;\n\n if (typeAnnotation) {\n checkIdentifierOrVisit.call(this, typeAnnotation);\n }\n }\n }\n\n variableDeclaration.call(this, node);\n };\n\n function createScopeVariable(node, name) {\n this.currentScope().variableScope.__define(name, new Definition("Variable", name, node, null, null, null));\n }\n\n referencer.prototype.InterfaceDeclaration = function (node) {\n createScopeVariable.call(this, node, node.id);\n var typeParamScope;\n\n if (node.typeParameters) {\n typeParamScope = nestTypeParamScope.call(this, this.scopeManager, node);\n } // TODO: Handle mixins\n\n\n for (var i = 0; i < node.extends.length; i++) {\n visitTypeAnnotation.call(this, node.extends[i]);\n }\n\n visitTypeAnnotation.call(this, node.body);\n\n if (typeParamScope) {\n this.close(node);\n }\n };\n\n referencer.prototype.TypeAlias = function (node) {\n createScopeVariable.call(this, node, node.id);\n var typeParamScope;\n\n if (node.typeParameters) {\n typeParamScope = nestTypeParamScope.call(this, this.scopeManager, node);\n }\n\n if (node.right) {\n visitTypeAnnotation.call(this, node.right);\n }\n\n if (typeParamScope) {\n this.close(node);\n }\n };\n\n referencer.prototype.DeclareModule = referencer.prototype.DeclareFunction = referencer.prototype.DeclareVariable = referencer.prototype.DeclareClass = function (node) {\n if (node.id) {\n createScopeVariable.call(this, node, node.id);\n }\n\n var typeParamScope;\n\n if (node.typeParameters) {\n typeParamScope = nestTypeParamScope.call(this, this.scopeManager, node);\n }\n\n if (typeParamScope) {\n this.close(node);\n }\n };\n}\n\nexports.parse = function (code, options) {\n options = options || {};\n eslintOptions.ecmaVersion = options.ecmaVersion = options.ecmaVersion || 6;\n eslintOptions.sourceType = options.sourceType = options.sourceType || "module";\n eslintOptions.allowImportExportEverywhere = options.allowImportExportEverywhere = options.allowImportExportEverywhere || false;\n\n if (options.sourceType === "module") {\n eslintOptions.globalReturn = false;\n } else {\n delete eslintOptions.globalReturn;\n }\n\n if (!hasPatched) {\n hasPatched = true;\n\n try {\n monkeypatch(getModules());\n } catch (err) {\n console.error(err.stack);\n process.exit(1);\n }\n }\n\n return exports.parseNoPatch(code, options);\n};\n\nexports.parseNoPatch = function (code, options) {\n var opts = {\n codeFrame: options.hasOwnProperty("codeFrame") ? options.codeFrame : true,\n sourceType: options.sourceType,\n allowImportExportEverywhere: options.allowImportExportEverywhere,\n // consistent with espree\n allowReturnOutsideFunction: true,\n allowSuperOutsideMethod: true,\n plugins: ["flow", "jsx", "asyncFunctions", "asyncGenerators", "classConstructorCall", "classProperties", "decorators", "doExpressions", "exponentiationOperator", "exportExtensions", "functionBind", "functionSent", "objectRestSpread", "trailingFunctionCommas", "dynamicImport"]\n };\n var ast;\n\n try {\n ast = parse(code, opts);\n } catch (err) {\n if (err instanceof SyntaxError) {\n err.lineNumber = err.loc.line;\n err.column = err.loc.column;\n\n if (opts.codeFrame) {\n err.lineNumber = err.loc.line;\n err.column = err.loc.column + 1; // remove trailing "(LINE:COLUMN)" acorn message and add in esprima syntax error message start\n\n err.message = "Line " + err.lineNumber + ": " + err.message.replace(/ \\((\\d+):(\\d+)\\)$/, "") + // add codeframe\n "\\n\\n" + codeFrame(code, err.lineNumber, err.column, {\n highlightCode: true\n });\n }\n }\n\n throw err;\n }\n\n babylonToEspree(ast, traverse, tt, code);\n return ast;\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("./node_modules/webpack/buildin/module.js")(module), __webpack_require__("./node_modules/process/browser.js")))\n\n//# sourceURL=webpack:///./node_modules/babel-eslint/index.js?')},"./node_modules/babel-messages/lib/index.js":function(module,exports,__webpack_require__){"use strict";eval('\n\nexports.__esModule = true;\nexports.MESSAGES = undefined;\n\nvar _stringify = __webpack_require__("./node_modules/babel-runtime/core-js/json/stringify.js");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nexports.get = get;\nexports.parseArgs = parseArgs;\n\nvar _util = __webpack_require__("./node_modules/util/util.js");\n\nvar util = _interopRequireWildcard(_util);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MESSAGES = exports.MESSAGES = {\n tailCallReassignmentDeopt: "Function reference has been reassigned, so it will probably be dereferenced, therefore we can\'t optimise this with confidence",\n classesIllegalBareSuper: "Illegal use of bare super",\n classesIllegalSuperCall: "Direct super call is illegal in non-constructor, use super.$1() instead",\n scopeDuplicateDeclaration: "Duplicate declaration $1",\n settersNoRest: "Setters aren\'t allowed to have a rest",\n noAssignmentsInForHead: "No assignments allowed in for-in/of head",\n expectedMemberExpressionOrIdentifier: "Expected type MemberExpression or Identifier",\n invalidParentForThisNode: "We don\'t know how to handle this node within the current parent - please open an issue",\n readOnly: "$1 is read-only",\n unknownForHead: "Unknown node type $1 in ForStatement",\n didYouMean: "Did you mean $1?",\n codeGeneratorDeopt: "Note: The code generator has deoptimised the styling of $1 as it exceeds the max of $2.",\n missingTemplatesDirectory: "no templates directory - this is most likely the result of a broken `npm publish`. Please report to https://github.com/babel/babel/issues",\n unsupportedOutputType: "Unsupported output type $1",\n illegalMethodName: "Illegal method name $1",\n lostTrackNodePath: "We lost track of this node\'s position, likely because the AST was directly manipulated",\n\n modulesIllegalExportName: "Illegal export $1",\n modulesDuplicateDeclarations: "Duplicate module declarations with the same source but in different scopes",\n\n undeclaredVariable: "Reference to undeclared variable $1",\n undeclaredVariableType: "Referencing a type alias outside of a type annotation",\n undeclaredVariableSuggestion: "Reference to undeclared variable $1 - did you mean $2?",\n\n traverseNeedsParent: "You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a $1 node without passing scope and parentPath.",\n traverseVerifyRootFunction: "You passed `traverse()` a function when it expected a visitor object, are you sure you didn\'t mean `{ enter: Function }`?",\n traverseVerifyVisitorProperty: "You passed `traverse()` a visitor object with the property $1 that has the invalid property $2",\n traverseVerifyNodeType: "You gave us a visitor for the node type $1 but it\'s not a valid type",\n\n pluginNotObject: "Plugin $2 specified in $1 was expected to return an object when invoked but returned $3",\n pluginNotFunction: "Plugin $2 specified in $1 was expected to return a function but returned $3",\n pluginUnknown: "Unknown plugin $1 specified in $2 at $3, attempted to resolve relative to $4",\n pluginInvalidProperty: "Plugin $2 specified in $1 provided an invalid property of $3"\n};\n\nfunction get(key) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var msg = MESSAGES[key];\n if (!msg) throw new ReferenceError("Unknown message " + (0, _stringify2.default)(key));\n\n args = parseArgs(args);\n\n return msg.replace(/\\$(\\d+)/g, function (str, i) {\n return args[i - 1];\n });\n}\n\nfunction parseArgs(args) {\n return args.map(function (val) {\n if (val != null && val.inspect) {\n return val.inspect();\n } else {\n try {\n return (0, _stringify2.default)(val) || val + "";\n } catch (e) {\n return util.inspect(val);\n }\n }\n });\n}\n\n//# sourceURL=webpack:///./node_modules/babel-messages/lib/index.js?')},"./node_modules/babel-runtime/core-js/get-iterator.js":function(module,exports,__webpack_require__){eval('module.exports = { "default": __webpack_require__("./node_modules/core-js/library/fn/get-iterator.js"), __esModule: true };\n\n//# sourceURL=webpack:///./node_modules/babel-runtime/core-js/get-iterator.js?')},"./node_modules/babel-runtime/core-js/json/stringify.js":function(module,exports,__webpack_require__){eval('module.exports = { "default": __webpack_require__("./node_modules/core-js/library/fn/json/stringify.js"), __esModule: true };\n\n//# sourceURL=webpack:///./node_modules/babel-runtime/core-js/json/stringify.js?')},"./node_modules/babel-runtime/core-js/map.js":function(module,exports,__webpack_require__){eval('module.exports = { "default": __webpack_require__("./node_modules/core-js/library/fn/map.js"), __esModule: true };\n\n//# sourceURL=webpack:///./node_modules/babel-runtime/core-js/map.js?')},"./node_modules/babel-runtime/core-js/number/max-safe-integer.js":function(module,exports,__webpack_require__){eval('module.exports = { "default": __webpack_require__("./node_modules/core-js/library/fn/number/max-safe-integer.js"), __esModule: true };\n\n//# sourceURL=webpack:///./node_module