-
Notifications
You must be signed in to change notification settings - Fork 2
/
136.bundle.js.map
1 lines (1 loc) · 5.85 KB
/
136.bundle.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/python.js"],"names":["module","exports","hljs","KEYWORDS","keyword","built_in","literal","PROMPT","className","begin","SUBST","end","keywords","illegal","LITERAL_BRACKET","relevance","STRING","contains","BACKSLASH_ESCAPE","variants","APOS_STRING_MODE","QUOTE_STRING_MODE","NUMBER","BINARY_NUMBER_RE","C_NUMBER_RE","PARAMS","skip","excludeBegin","excludeEnd","HASH_COMMENT_MODE","name","aliases","beginKeywords","UNDERSCORE_TITLE_MODE","endsWithParent"],"mappings":"8EA0IAA,EAAOC,QAnIP,SAAgBC,GACd,IAAIC,EAAW,CACbC,QACE,8LAGFC,SACE,0BACFC,QAAS,mBAEPC,EAAS,CACXC,UAAW,OAASC,MAAO,kBAEzBC,EAAQ,CACVF,UAAW,QACXC,MAAO,KAAME,IAAK,KAClBC,SAAUT,EACVU,QAAS,KAEPC,EAAkB,CACpBL,MAAO,OACPM,UAAW,GAETC,EAAS,CACXR,UAAW,SACXS,SAAU,CAACf,EAAKgB,kBAChBC,SAAU,CACR,CACEV,MAAO,cAAeE,IAAK,MAC3BM,SAAU,CAACf,EAAKgB,iBAAkBX,GAClCQ,UAAW,IAEb,CACEN,MAAO,cAAeE,IAAK,MAC3BM,SAAU,CAACf,EAAKgB,iBAAkBX,GAClCQ,UAAW,IAEb,CACEN,MAAO,eAAgBE,IAAK,MAC5BM,SAAU,CAACf,EAAKgB,iBAAkBX,EAAQO,EAAiBJ,IAE7D,CACED,MAAO,eAAgBE,IAAK,MAC5BM,SAAU,CAACf,EAAKgB,iBAAkBX,EAAQO,EAAiBJ,IAE7D,CACED,MAAO,YAAaE,IAAK,IACzBI,UAAW,IAEb,CACEN,MAAO,YAAaE,IAAK,IACzBI,UAAW,IAEb,CACEN,MAAO,UAAWE,IAAK,KAEzB,CACEF,MAAO,UAAWE,IAAK,KAEzB,CACEF,MAAO,aAAcE,IAAK,IAC1BM,SAAU,CAACf,EAAKgB,iBAAkBJ,EAAiBJ,IAErD,CACED,MAAO,aAAcE,IAAK,IAC1BM,SAAU,CAACf,EAAKgB,iBAAkBJ,EAAiBJ,IAErDR,EAAKkB,iBACLlB,EAAKmB,oBAGLC,EAAS,CACXd,UAAW,SAAUO,UAAW,EAChCI,SAAU,CACR,CAACV,MAAOP,EAAKqB,iBAAmB,WAChC,CAACd,MAAO,wBACR,CAACA,MAAOP,EAAKsB,YAAc,aAG3BC,EAAS,CACXjB,UAAW,SACXW,SAAU,CAER,CAACV,MAAO,UAAWiB,MAAM,EAAMlB,UAAW,MAC1C,CACEC,MAAO,KAAME,IAAK,KAAMgB,cAAc,EAAMC,YAAY,EACxDX,SAAU,CAAC,OAAQV,EAAQe,EAAQN,EAAQd,EAAK2B,sBAKtD,OADAnB,EAAMO,SAAW,CAACD,EAAQM,EAAQf,GAC3B,CACLuB,KAAM,SACNC,QAAS,CAAC,KAAM,MAAO,WACvBnB,SAAUT,EACVU,QAAS,iBACTI,SAAU,CACRV,EACAe,EAGA,CAAEU,cAAe,KAAMjB,UAAW,GAClCC,EACAd,EAAK2B,kBACL,CACEV,SAAU,CACR,CAACX,UAAW,WAAYwB,cAAe,OACvC,CAACxB,UAAW,QAASwB,cAAe,UAEtCrB,IAAK,IACLE,QAAS,YACTI,SAAU,CACRf,EAAK+B,sBACLR,EACA,CACEhB,MAAO,KAAMyB,gBAAgB,EAC7BtB,SAAU,UAIhB,CACEJ,UAAW,OACXC,MAAO,WAAYE,IAAK,KAE1B,CACEF,MAAO","file":"136.bundle.js","sourcesContent":["/*\nLanguage: Python\nDescription: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.\nWebsite: https://www.python.org\nCategory: common\n*/\n\nfunction python(hljs) {\n var KEYWORDS = {\n keyword:\n 'and elif is global as in if from raise for except finally print import pass return ' +\n 'exec else break not with class assert yield try while continue del or def lambda ' +\n 'async await nonlocal|10',\n built_in:\n 'Ellipsis NotImplemented',\n literal: 'False None True'\n };\n var PROMPT = {\n className: 'meta', begin: /^(>>>|\\.\\.\\.) /\n };\n var SUBST = {\n className: 'subst',\n begin: /\\{/, end: /\\}/,\n keywords: KEYWORDS,\n illegal: /#/\n };\n var LITERAL_BRACKET = {\n begin: /\\{\\{/,\n relevance: 0\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE],\n variants: [\n {\n begin: /(u|b)?r?'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n },\n {\n begin: /(u|b)?r?\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n },\n {\n begin: /(fr|rf|f)'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(fr|rf|f)\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(u|r|ur)'/, end: /'/,\n relevance: 10\n },\n {\n begin: /(u|r|ur)\"/, end: /\"/,\n relevance: 10\n },\n {\n begin: /(b|br)'/, end: /'/\n },\n {\n begin: /(b|br)\"/, end: /\"/\n },\n {\n begin: /(fr|rf|f)'/, end: /'/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(fr|rf|f)\"/, end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n var NUMBER = {\n className: 'number', relevance: 0,\n variants: [\n {begin: hljs.BINARY_NUMBER_RE + '[lLjJ]?'},\n {begin: '\\\\b(0o[0-7]+)[lLjJ]?'},\n {begin: hljs.C_NUMBER_RE + '[lLjJ]?'}\n ]\n };\n var PARAMS = {\n className: 'params',\n variants: [\n // Exclude params at functions without params\n {begin: /\\(\\s*\\)/, skip: true, className: null },\n {\n begin: /\\(/, end: /\\)/, excludeBegin: true, excludeEnd: true,\n contains: ['self', PROMPT, NUMBER, STRING, hljs.HASH_COMMENT_MODE],\n },\n ],\n };\n SUBST.contains = [STRING, NUMBER, PROMPT];\n return {\n name: 'Python',\n aliases: ['py', 'gyp', 'ipython'],\n keywords: KEYWORDS,\n illegal: /(<\\/|->|\\?)|=>/,\n contains: [\n PROMPT,\n NUMBER,\n // eat \"if\" prior to string so that it won't accidentally be\n // labeled as an f-string as in:\n { beginKeywords: \"if\", relevance: 0 },\n STRING,\n hljs.HASH_COMMENT_MODE,\n {\n variants: [\n {className: 'function', beginKeywords: 'def'},\n {className: 'class', beginKeywords: 'class'}\n ],\n end: /:/,\n illegal: /[${=;\\n,]/,\n contains: [\n hljs.UNDERSCORE_TITLE_MODE,\n PARAMS,\n {\n begin: /->/, endsWithParent: true,\n keywords: 'None'\n }\n ]\n },\n {\n className: 'meta',\n begin: /^[\\t ]*@/, end: /$/\n },\n {\n begin: /\\b(print|exec)\\(/ // don’t highlight keywords-turned-functions in Python 3\n }\n ]\n };\n}\n\nmodule.exports = python;\n"],"sourceRoot":""}