diff options
Diffstat (limited to 'js/highlight/http.js.map')
-rw-r--r-- | js/highlight/http.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/http.js.map b/js/highlight/http.js.map index 34eb926c7..9b2a89b75 100644 --- a/js/highlight/http.js.map +++ b/js/highlight/http.js.map @@ -1 +1 @@ -{"version":3,"file":"highlight/http.js?v=e4b66c56db5a82e3689e","mappings":"sFAoBA,SAASA,KAAUC,GAEjB,OADeA,EAAKC,KAAKC,IAAMC,OAZjBC,EAYwBF,GAVpB,iBAAPE,EAAwBA,EAE5BA,EAAGD,OAHM,KADlB,IAAgBC,KAY4BC,KAAK,IAmGjDC,EAAOC,QAvFP,SAAcC,GACZ,MAAMC,EAAU,oBAEVC,EAAS,CACbC,UAAW,YACXC,MAAOb,EAAO,IAHI,wBAGc,cAChCc,OAAQ,CACNC,SAAU,CACR,CACEH,UAAW,cACXC,MAAO,KACPG,UAAW,EACXF,OAAQ,CACNG,IAAK,IACLD,UAAW,OAMfE,EAAmB,CACvBP,EACA,CACEE,MAAO,SACPC,OAAQ,CAAEK,YAAa,GAAIC,gBAAgB,KAI/C,MAAO,CACLC,KAAM,OACNC,QAAS,CAAC,SACVC,QAAS,KACTR,SAAU,CAER,CACEF,MAAO,OAASH,EAAU,WAC1BO,IAAK,IACLF,SAAU,CACR,CACEH,UAAW,OACXC,MAAOH,GAET,CACEE,UAAW,SAAUC,MAAO,iBAGhCC,OAAQ,CACNG,IAAK,OACLM,QAAS,KACTR,SAAUG,IAId,CACEL,MAAO,oBAAsBH,EAAU,KACvCO,IAAK,IACLF,SAAU,CACR,CACEH,UAAW,SACXC,MAAO,IACPI,IAAK,IACLO,cAAc,EACdC,YAAY,GAEd,CACEb,UAAW,OACXC,MAAOH,GAET,CACEE,UAAW,UACXC,MAAO,WAGXC,OAAQ,CACNG,IAAK,OACLM,QAAS,KACTR,SAAUG,IAIdT,EAAKiB,QAAQf,EAAQ,CACnBK,UAAW","sources":["webpack:///text/node_modules/highlight.js/lib/languages/http.js"],"sourcesContent":["/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/*\nLanguage: HTTP\nDescription: HTTP request and response headers with automatic body highlighting\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nCategory: common, protocols\nWebsite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview\n*/\n\nfunction http(hljs) {\n const VERSION = 'HTTP/(2|1\\\\.[01])';\n const HEADER_NAME = /[A-Za-z][A-Za-z0-9-]*/;\n const HEADER = {\n className: 'attribute',\n begin: concat('^', HEADER_NAME, '(?=\\\\:\\\\s)'),\n starts: {\n contains: [\n {\n className: \"punctuation\",\n begin: /: /,\n relevance: 0,\n starts: {\n end: '$',\n relevance: 0\n }\n }\n ]\n }\n };\n const HEADERS_AND_BODY = [\n HEADER,\n {\n begin: '\\\\n\\\\n',\n starts: { subLanguage: [], endsWithParent: true }\n }\n ];\n\n return {\n name: 'HTTP',\n aliases: ['https'],\n illegal: /\\S/,\n contains: [\n // response\n {\n begin: '^(?=' + VERSION + \" \\\\d{3})\",\n end: /$/,\n contains: [\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'number', begin: '\\\\b\\\\d{3}\\\\b'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // request\n {\n begin: '(?=^[A-Z]+ (.*?) ' + VERSION + '$)',\n end: /$/,\n contains: [\n {\n className: 'string',\n begin: ' ',\n end: ' ',\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'keyword',\n begin: '[A-Z]+'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // to allow headers to work even without a preamble\n hljs.inherit(HEADER, {\n relevance: 0\n })\n ]\n };\n}\n\nmodule.exports = http;\n"],"names":["concat","args","map","x","source","re","join","module","exports","hljs","VERSION","HEADER","className","begin","starts","contains","relevance","end","HEADERS_AND_BODY","subLanguage","endsWithParent","name","aliases","illegal","excludeBegin","excludeEnd","inherit"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"file":"highlight/http.js?v=9b6fc091276cb385fee8","mappings":"4GAoBA,SAASA,KAAUC,GAEjB,OADeA,EAAKC,KAAKC,IAAMC,OAZjBC,EAYwBF,GAVpB,iBAAPE,EAAwBA,EAE5BA,EAAGD,OAHM,KADlB,IAAgBC,KAY4BC,KAAK,IAmGjDC,EAAOC,QAvFP,SAAcC,GACZ,MAAMC,EAAU,oBAEVC,EAAS,CACbC,UAAW,YACXC,MAAOb,EAAO,IAHI,wBAGc,cAChCc,OAAQ,CACNC,SAAU,CACR,CACEH,UAAW,cACXC,MAAO,KACPG,UAAW,EACXF,OAAQ,CACNG,IAAK,IACLD,UAAW,OAMfE,EAAmB,CACvBP,EACA,CACEE,MAAO,SACPC,OAAQ,CAAEK,YAAa,GAAIC,gBAAgB,KAI/C,MAAO,CACLC,KAAM,OACNC,QAAS,CAAC,SACVC,QAAS,KACTR,SAAU,CAER,CACEF,MAAO,OAASH,EAAU,WAC1BO,IAAK,IACLF,SAAU,CACR,CACEH,UAAW,OACXC,MAAOH,GAET,CACEE,UAAW,SAAUC,MAAO,iBAGhCC,OAAQ,CACNG,IAAK,OACLM,QAAS,KACTR,SAAUG,IAId,CACEL,MAAO,oBAAsBH,EAAU,KACvCO,IAAK,IACLF,SAAU,CACR,CACEH,UAAW,SACXC,MAAO,IACPI,IAAK,IACLO,cAAc,EACdC,YAAY,GAEd,CACEb,UAAW,OACXC,MAAOH,GAET,CACEE,UAAW,UACXC,MAAO,WAGXC,OAAQ,CACNG,IAAK,OACLM,QAAS,KACTR,SAAUG,IAIdT,EAAKiB,QAAQf,EAAQ,CACnBK,UAAW","sources":["webpack:///text/node_modules/highlight.js/lib/languages/http.js"],"sourcesContent":["/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/*\nLanguage: HTTP\nDescription: HTTP request and response headers with automatic body highlighting\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nCategory: common, protocols\nWebsite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview\n*/\n\nfunction http(hljs) {\n const VERSION = 'HTTP/(2|1\\\\.[01])';\n const HEADER_NAME = /[A-Za-z][A-Za-z0-9-]*/;\n const HEADER = {\n className: 'attribute',\n begin: concat('^', HEADER_NAME, '(?=\\\\:\\\\s)'),\n starts: {\n contains: [\n {\n className: \"punctuation\",\n begin: /: /,\n relevance: 0,\n starts: {\n end: '$',\n relevance: 0\n }\n }\n ]\n }\n };\n const HEADERS_AND_BODY = [\n HEADER,\n {\n begin: '\\\\n\\\\n',\n starts: { subLanguage: [], endsWithParent: true }\n }\n ];\n\n return {\n name: 'HTTP',\n aliases: ['https'],\n illegal: /\\S/,\n contains: [\n // response\n {\n begin: '^(?=' + VERSION + \" \\\\d{3})\",\n end: /$/,\n contains: [\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'number', begin: '\\\\b\\\\d{3}\\\\b'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // request\n {\n begin: '(?=^[A-Z]+ (.*?) ' + VERSION + '$)',\n end: /$/,\n contains: [\n {\n className: 'string',\n begin: ' ',\n end: ' ',\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'keyword',\n begin: '[A-Z]+'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // to allow headers to work even without a preamble\n hljs.inherit(HEADER, {\n relevance: 0\n })\n ]\n };\n}\n\nmodule.exports = http;\n"],"names":["concat","args","map","x","source","re","join","module","exports","hljs","VERSION","HEADER","className","begin","starts","contains","relevance","end","HEADERS_AND_BODY","subLanguage","endsWithParent","name","aliases","illegal","excludeBegin","excludeEnd","inherit"],"sourceRoot":""}
\ No newline at end of file |