web-interface.assets.764b59bdd3a89e14f88c9d63020551a1.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/764b59bdd3a89e14f88c9d63020551a1.js"],"sourcesContent":["ace.define(\"ace/mode/pig_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){/* This file was autogenerated from Pig.tmLanguage (uuid: ) */\n\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar PigHighlightRules = function () {\n this.$rules = {\n start: [{\n token: \"comment.block.pig\",\n regex: /\\/\\*/,\n push: [{\n token: \"comment.block.pig\",\n regex: /\\*\\//,\n next: \"pop\"\n }, {\n defaultToken: \"comment.block.pig\"\n }]\n }, {\n token: \"comment.line.double-dash.asciidoc\",\n regex: /--.*$/\n }, {\n token: \"keyword.control.pig\",\n regex: /\\b(?:ASSERT|LOAD|STORE|DUMP|FILTER|DISTINCT|FOREACH|GENERATE|STREAM|JOIN|COGROUP|GROUP|CROSS|ORDER|LIMIT|UNION|SPLIT|DESCRIBE|EXPLAIN|ILLUSTRATE|AS|BY|INTO|USING|LIMIT|PARALLEL|OUTER|INNER|DEFAULT|LEFT|SAMPLE|RANK|CUBE|ALL|KILL|QUIT|MAPREDUCE|ASC|DESC|THROUGH|SHIP|CACHE|DECLARE|CASE|WHEN|THEN|END|IN|PARTITION|FULL|IMPORT|IF|ONSCHEMA|INPUT|OUTPUT)\\b/,\n caseInsensitive: true\n }, {\n token: \"storage.datatypes.pig\",\n regex: /\\b(?:int|long|float|double|chararray|bytearray|boolean|datetime|biginteger|bigdecimal|tuple|bag|map)\\b/,\n caseInsensitive: true\n }, {\n token: \"support.function.storage.pig\",\n regex: /\\b(?:PigStorage|BinStorage|BinaryStorage|PigDump|HBaseStorage|JsonLoader|JsonStorage|AvroStorage|TextLoader|PigStreaming|TrevniStorage|AccumuloStorage)\\b/\n }, {\n token: \"support.function.udf.pig\",\n regex: /\\b(?:DIFF|TOBAG|TOMAP|TOP|TOTUPLE|RANDOM|FLATTEN|flatten|CUBE|ROLLUP|IsEmpty|ARITY|PluckTuple|SUBTRACT|BagToString)\\b/\n }, {\n token: \"support.function.udf.math.pig\",\n regex: /\\b(?:ABS|ACOS|ASIN|ATAN|CBRT|CEIL|COS|COSH|EXP|FLOOR|LOG|LOG10|ROUND|ROUND_TO|SIN|SINH|SQRT|TAN|TANH|AVG|COUNT|COUNT_STAR|MAX|MIN|SUM|COR|COV)\\b/\n }, {\n token: \"support.function.udf.string.pig\",\n regex: /\\b(?:CONCAT|INDEXOF|LAST_INDEX_OF|LCFIRST|LOWER|REGEX_EXTRACT|REGEX_EXTRACT_ALL|REPLACE|SIZE|STRSPLIT|SUBSTRING|TOKENIZE|TRIM|UCFIRST|UPPER|LTRIM|RTRIM|ENDSWITH|STARTSWITH|TRIM)\\b/\n }, {\n token: \"support.function.udf.datetime.pig\",\n regex: /\\b(?:AddDuration|CurrentTime|DaysBetween|GetDay|GetHour|GetMilliSecond|GetMinute|GetMonth|GetSecond|GetWeek|GetWeekYear|GetYear|HoursBetween|MilliSecondsBetween|MinutesBetween|MonthsBetween|SecondsBetween|SubtractDuration|ToDate|WeeksBetween|YearsBetween|ToMilliSeconds|ToString|ToUnixTime)\\b/\n }, {\n token: \"support.function.command.pig\",\n regex: /\\b(?:cat|cd|copyFromLocal|copyToLocal|cp|ls|mkdir|mv|pwd|rm)\\b/\n }, {\n token: \"variable.pig\",\n regex: /\\$[a_zA-Z0-9_]+/\n }, {\n token: \"constant.language.pig\",\n regex: /\\b(?:NULL|true|false|stdin|stdout|stderr)\\b/,\n caseInsensitive: true\n }, {\n token: \"constant.numeric.pig\",\n regex: /\\b\\d+(?:\\.\\d+)?\\b/\n }, {\n token: \"keyword.operator.comparison.pig\",\n regex: /!=|==|<|>|<=|>=|\\b(?:MATCHES|IS|OR|AND|NOT)\\b/,\n caseInsensitive: true\n }, {\n token: \"keyword.operator.arithmetic.pig\",\n regex: /\\+|\\-|\\*|\\/|\\%|\\?|:|::|\\.\\.|#/\n }, {\n token: \"string.quoted.double.pig\",\n regex: /\"/,\n push: [{\n token: \"string.quoted.double.pig\",\n regex: /\"/,\n next: \"pop\"\n }, {\n token: \"constant.character.escape.pig\",\n regex: /\\\\./\n }, {\n defaultToken: \"string.quoted.double.pig\"\n }]\n }, {\n token: \"string.quoted.single.pig\",\n regex: /'/,\n push: [{\n token: \"string.quoted.single.pig\",\n regex: /'/,\n next: \"pop\"\n }, {\n token: \"constant.character.escape.pig\",\n regex: /\\\\./\n }, {\n defaultToken: \"string.quoted.single.pig\"\n }]\n }, {\n todo: {\n token: [\n \"text\",\n \"keyword.parameter.pig\",\n \"text\",\n \"storage.type.parameter.pig\"\n ],\n regex: /^(\\s*)(set)(\\s+)(\\S+)/,\n caseInsensitive: true,\n push: [{\n token: \"text\",\n regex: /$/,\n next: \"pop\"\n }, {\n include: \"$self\"\n }]\n }\n }, {\n token: [\n \"text\",\n \"keyword.alias.pig\",\n \"text\",\n \"storage.type.alias.pig\"\n ],\n regex: /(\\s*)(DEFINE|DECLARE|REGISTER)(\\s+)(\\S+)/,\n caseInsensitive: true,\n push: [{\n token: \"text\",\n regex: /;?$/,\n next: \"pop\"\n }]\n }]\n };\n this.normalizeRules();\n};\nPigHighlightRules.metaData = {\n fileTypes: [\"pig\"],\n name: \"Pig\",\n scopeName: \"source.pig\"\n};\noop.inherits(PigHighlightRules, TextHighlightRules);\nexports.PigHighlightRules = PigHighlightRules;\n\n});\n\nace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar Range = require(\"../../range\").Range;\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar FoldMode = exports.FoldMode = function (commentRegex) {\n if (commentRegex) {\n this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.start));\n this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.end));\n }\n};\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n this.foldingStartMarker = /([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/;\n this.foldingStopMarker = /^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/;\n this.singleLineBlockCommentRe = /^\\s*(\\/\\*).*\\*\\/\\s*$/;\n this.tripleStarBlockCommentRe = /^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/;\n this.startRegionRe = /^\\s*(\\/\\*|\\/\\/)#?region\\b/;\n this._getFoldWidgetBase = this.getFoldWidget;\n this.getFoldWidget = function (session, foldStyle, row) {\n var line = session.getLine(row);\n if (this.singleLineBlockCommentRe.test(line)) {\n if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))\n return \"\";\n }\n var fw = this._getFoldWidgetBase(session, foldStyle, row);\n if (!fw && this.startRegionRe.test(line))\n return \"start\"; // lineCommentRegionStart\n return fw;\n };\n this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) {\n var line = session.getLine(row);\n if (this.startRegionRe.test(line))\n return this.getCommentRegionBlock(session, line, row);\n var match = line.match(this.foldingStartMarker);\n if (match) {\n var i = match.index;\n if (match[1])\n return this.openingBracketBlock(session, match[1], row, i);\n var range = session.getCommentFoldRange(row, i + match[0].length, 1);\n if (range && !range.isMultiLine()) {\n if (forceMultiline) {\n range = this.getSectionRange(session, row);\n }\n else if (foldStyle != \"all\")\n range = null;\n }\n return range;\n }\n if (foldStyle === \"markbegin\")\n return;\n var match = line.match(this.foldingStopMarker);\n if (match) {\n var i = match.index + match[0].length;\n if (match[1])\n return this.closingBracketBlock(session, match[1], row, i);\n return session.getCommentFoldRange(row, i, -1);\n }\n };\n this.getSectionRange = function (session, row) {\n var line = session.getLine(row);\n var startIndent = line.search(/\\S/);\n var startRow = row;\n var startColumn = line.length;\n row = row + 1;\n var endRow = row;\n var maxRow = session.getLength();\n while (++row < maxRow) {\n line = session.getLine(row);\n var indent = line.search(/\\S/);\n if (indent === -1)\n continue;\n if (startIndent > indent)\n break;\n var subRange = this.getFoldWidgetRange(session, \"all\", row);\n if (subRange) {\n if (subRange.start.row <= startRow) {\n break;\n }\n else if (subRange.isMultiLine()) {\n row = subRange.end.row;\n }\n else if (startIndent == indent) {\n break;\n }\n }\n endRow = row;\n }\n return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);\n };\n this.getCommentRegionBlock = function (session, line, row) {\n var startColumn = line.search(/\\s*$/);\n var maxRow = session.getLength();\n var startRow = row;\n var re = /^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/;\n var depth = 1;\n while (++row < maxRow) {\n line = session.getLine(row);\n var m = re.exec(line);\n if (!m)\n continue;\n if (m[1])\n depth--;\n else\n depth++;\n if (!depth)\n break;\n }\n var endRow = row;\n if (endRow > startRow) {\n return new Range(startRow, startColumn, endRow, line.length);\n }\n };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/pig\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/pig_highlight_rules\",\"ace/mode/folding/cstyle\"], function(require, exports, module){/*\n THIS FILE WAS AUTOGENERATED BY mode.tmpl.js\n*/\n\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar PigHighlightRules = require(\"./pig_highlight_rules\").PigHighlightRules;\nvar FoldMode = require(\"./folding/cstyle\").FoldMode;\nvar Mode = function () {\n this.HighlightRules = PigHighlightRules;\n this.foldingRules = new FoldMode();\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = \"--\";\n this.blockComment = { start: \"/*\", end: \"*/\" };\n this.$id = \"ace/mode/pig\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/pig\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"mappings":"oEAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,KAAI,OAAO,+BAA+B,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAC1J,aACA,IAAIE,EAAMD,EAAQ,YAAY,EAC1BE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAoB,UAAY,CAChC,KAAK,OAAS,CACV,MAAO,CAAC,CACA,MAAO,oBACP,MAAO,OACP,KAAM,CAAC,CACC,MAAO,oBACP,MAAO,OACP,KAAM,KACV,EAAG,CACC,aAAc,mBAClB,CAAC,CACT,EAAG,CACC,MAAO,oCACP,MAAO,OACX,EAAG,CACC,MAAO,sBACP,MAAO,iWACP,gBAAiB,EACrB,EAAG,CACC,MAAO,wBACP,MAAO,yGACP,gBAAiB,EACrB,EAAG,CACC,MAAO,+BACP,MAAO,2JACX,EAAG,CACC,MAAO,2BACP,MAAO,uHACX,EAAG,CACC,MAAO,gCACP,MAAO,kJACX,EAAG,CACC,MAAO,kCACP,MAAO,qLACX,EAAG,CACC,MAAO,oCACP,MAAO,sSACX,EAAG,CACC,MAAO,+BACP,MAAO,gEACX,EAAG,CACC,MAAO,eACP,MAAO,iBACX,EAAG,CACC,MAAO,wBACP,MAAO,8CACP,gBAAiB,EACrB,EAAG,CACC,MAAO,uBACP,MAAO,mBACX,EAAG,CACC,MAAO,kCACP,MAAO,gDACP,gBAAiB,EACrB,EAAG,CACC,MAAO,kCACP,MAAO,+BACX,EAAG,CACC,MAAO,2BACP,MAAO,IACP,KAAM,CAAC,CACC,MAAO,2BACP,MAAO,IACP,KAAM,KACV,EAAG,CACC,MAAO,gCACP,MAAO,KACX,EAAG,CACC,aAAc,0BAClB,CAAC,CACT,EAAG,CACC,MAAO,2BACP,MAAO,IACP,KAAM,CAAC,CACC,M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EAAQ,QAAQ,EAAE,KAC7BG,EAAoBH,EAAQ,uBAAuB,EAAE,kBACrDM,EAAWN,EAAQ,kBAAkB,EAAE,SACvC4B,EAAO,UAAY,CACnB,KAAK,eAAiBzB,EACtB,KAAK,aAAe,IAAIG,CAC5B,EACAL,EAAI,SAAS2B,EAAMD,CAAQ,GAC1B,UAAY,CACT,KAAK,iBAAmB,KACxB,KAAK,aAAe,CAAE,MAAO,KAAM,IAAK,IAAK,EAC7C,KAAK,IAAM,cACf,GAAG,KAAKC,EAAK,SAAS,EACtB9B,EAAQ,KAAO8B,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,cAAc,EAAG,SAASF,EAAG,CAClC,OAAO3B,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAU2B,EAEzB,CAAC,CACL,GAAG","names":["require_b59bdd3a89e14f88c9d63020551a1","__commonJSMin","exports","module","require","oop","TextHighlightRules","PigHighlightRules","Range","BaseFoldMode","FoldMode","commentRegex","session","foldStyle","row","line","fw","forceMultiline","match","i","range","startIndent","startRow","startColumn","endRow","maxRow","indent","subRange","re","depth","m","TextMode","Mode"],"sourceRoot":"","file":"764b59bdd3a89e14f88c9d63020551a1.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy