diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-09-09 10:25:08 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-09 10:25:08 +0300 |
commit | f6699d742f132f025e83cef36a9b2a141a2a6e26 (patch) | |
tree | 265fcb7d5d4ddb4519d1063358b8b43a7c839f3c /js/highlight/powershell.js.map | |
parent | 638524da5d5a480f52c8e440e20af1394a4b07f1 (diff) |
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/highlight/powershell.js.map')
-rw-r--r-- | js/highlight/powershell.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/powershell.js.map b/js/highlight/powershell.js.map index ed1e588ce..c62e69372 100644 --- a/js/highlight/powershell.js.map +++ b/js/highlight/powershell.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/powershell.js"],"names":["module","exports","hljs","KEYWORDS","keyword","BACKTICK_ESCAPE","begin","relevance","VAR","className","variants","QUOTE_STRING","end","contains","APOS_STRING","PS_COMMENT","inherit","COMMENT","CMDLETS","concat","PS_CLASS","beginKeywords","excludeEnd","TITLE_MODE","PS_FUNCTION","returnBegin","PS_USING","PS_ARGUMENTS","PS_METHODS","toString","replace","endsParent","GENTLEMANS_SET","NUMBER_MODE","PS_TYPE","excludeBegin","join","unshift","aliases","lexemes","case_insensitive","keywords"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GAExB,IA2BIC,EAAW,CACbC,QAAS,wLAQPC,EAAkB,CACpBC,MAAO,YACPC,UAAW,GAGTC,EAAM,CACRC,UAAW,WACXC,SAAU,CACR,CAAEJ,MAAO,QACT,CAAEG,UAAW,UAAWH,MAAO,UAC/B,CAAEA,MAAO,uBASTK,EAAe,CACjBF,UAAW,SACXC,SAAU,CAAC,CAAEJ,MAAO,IAAKM,IAAK,KAAO,CAAEN,MAAO,KAAMM,IAAK,QACzDC,SAAU,CACRR,EACAG,EACA,CACEC,UA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,KACxC,QACHC,YAAY,EACZxB,UAAW,GAEbL,EAAKc,QAAQd,EAAKqB,WAAY,CAAEQ,YAAY,MAI5CC,EAAiB,CAEnBJ,EACAb,EACAV,EACAH,EAAK+B,YACLtB,EACAG,EAEAI,EACAV,EA5JY,CACZC,UAAW,UACXH,MAAO,yBA6GQ,CACfG,UAAW,eACXH,MAAO,OACPC,UAAW,IA+CT2B,EAAU,CACZ5B,MAAO,KAAMM,IAAK,KAClBuB,cAAc,EACdb,YAAY,EACZf,UAAW,EACXM,SAAU,GAAGM,OACX,OACAa,EACA,CAAE1B,MAAO,IA1NX,CAAC,SAAU,OAAQ,OAAQ,MAAO,OAAQ,OAAS,UAAY,SAC9D,SAAU,WAAY,MAAO,QAAS,YAAa,QAyN7B8B,KAAK,KAAO,IAAK3B,UAAW,WAAYF,UAAU,GACvE,CAAEE,UAAW,OAAQH,MAAO,YAAaC,UAAW,KAMxD,OAFAqB,EAAWf,SAASwB,QAAQH,GAErB,CACLI,QAAS,CAAC,KAAM,OAChBC,QAAS,eACTC,kBAAkB,EAClBC,SAAUtC,EACVU,SAAUmB,EAAeb,OACvBC,EACAI,EACAE,EACAC,EACAO","file":"highlight/powershell.js?v=3b4d9a58526a7741dcc7","sourcesContent":["module.exports = function(hljs){\n\n var TYPES =\n [\"string\", \"char\", \"byte\", \"int\", \"long\", \"bool\", \"decimal\", \"single\",\n \"double\", \"DateTime\", \"xml\", \"array\", \"hashtable\", \"void\"];\n\n // https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).aspx\n var VALID_VERBS =\n 'Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|' +\n 'Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|' +\n 'Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|' +\n 'Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|' +\n 'ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|' +\n 'Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|' +\n 'Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|' +\n 'Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|' +\n 'Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|' +\n 'Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|' +\n 'Unprotect|Use|ForEach|Sort|Tee|Where';\n\n var COMPARISON_OPERATORS =\n '-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|' +\n '-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|' +\n '-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|' +\n '-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|' +\n '-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|' +\n '-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|' +\n '-split|-wildcard|-xor';\n\n var KEYWORDS = {\n keyword: 'if else foreach return do while until elseif begin for trap data dynamicparam ' +\n 'end break throw param continue finally in switch exit filter try process catch ' +\n 'hidden static parameter'\n // TODO: 'validate[A-Z]+' can't work in keywords\n };\n\n var TITLE_NAME_RE = /\\w[\\w\\d]*((-)[\\w\\d]+)*/;\n\n var BACKTICK_ESCAPE = {\n begin: '`[\\\\s\\\\S]',\n relevance: 0\n };\n\n var VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\B/ },\n { className: 'keyword', begin: /\\$this/ },\n { begin: /\\$[\\w\\d][\\w\\d_:]*/ }\n ]\n };\n\n var LITERAL = {\n className: 'literal',\n begin: /\\$(null|true|false)\\b/\n };\n\n var QUOTE_STRING = {\n className: \"string\",\n variants: [{ begin: /\"/, end: /\"/ }, { begin: /@\"/, end: /^\"@/ }],\n contains: [\n BACKTICK_ESCAPE,\n VAR,\n {\n className: 'variable',\n begin: /\\$[A-z]/, end: /[^A-z]/\n }\n ]\n };\n\n var APOS_STRING = {\n className: 'string',\n variants: [\n { begin: /'/, end: /'/ },\n { begin: /@'/, end: /^'@/ }\n ]\n };\n\n var PS_HELPTAGS = {\n className: \"doctag\",\n variants: [\n /* no paramater help tags */\n {\n begin: /\\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/\n },\n /* one parameter help tags */\n { begin: /\\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\\s+\\S+/ }\n ]\n };\n\n var PS_COMMENT = hljs.inherit(\n hljs.COMMENT(null, null),\n {\n variants: [\n /* single-line comment */\n { begin: /#/, end: /$/ },\n /* multi-line comment */\n { begin: /<#/, end: /#>/ }\n ],\n contains: [PS_HELPTAGS]\n }\n );\n\n var CMDLETS = {\n className: 'built_in',\n variants: [\n { begin: '('.concat(VALID_VERBS, ')+(-)[\\\\w\\\\d]+') }\n ]\n };\n\n var PS_CLASS = {\n className: 'class',\n beginKeywords: 'class enum', end: /\\s*[{]/, excludeEnd: true,\n relevance: 0,\n contains: [hljs.TITLE_MODE]\n };\n\n var PS_FUNCTION = {\n className: 'function',\n begin: /function\\s+/, end: /\\s*\\{|$/,\n excludeEnd: true,\n returnBegin: true,\n relevance: 0,\n contains: [\n { begin: \"function\", relevance: 0, className: \"keyword\" },\n { className: \"title\",\n begin: TITLE_NAME_RE, relevance:0 },\n { begin: /\\(/, end: /\\)/, className: \"params\",\n relevance: 0,\n contains: [VAR] }\n // CMDLETS\n ]\n };\n\n // Using statment, plus type, plus assembly name.\n var PS_USING = {\n begin: /using\\s/, end: /$/,\n returnBegin: true,\n contains: [\n QUOTE_STRING,\n APOS_STRING,\n { className: 'keyword', begin: /(using|assembly|command|module|namespace|type)/ }\n ]\n };\n\n // Comperison operators & function named parameters.\n var PS_ARGUMENTS = {\n variants: [\n // PS literals are pretty verbose so it's a good idea to accent them a bit.\n { className: 'operator', begin: '('.concat(COMPARISON_OPERATORS, ')\\\\b') },\n { className: 'literal', begin: /(-)[\\w\\d]+/, relevance:0 }\n ]\n };\n\n var STATIC_MEMBER = {\n className: 'selector-tag',\n begin: /::\\w+\\b/, end: /$/,\n returnBegin: true,\n contains: [\n { className: 'attribute', begin: /\\w+/, endsParent: true }\n ]\n };\n\n var HASH_SIGNS = {\n className: 'selector-tag',\n begin: /\\@\\B/,\n relevance: 0\n };\n\n var PS_NEW_OBJECT_TYPE = {\n className: 'built_in',\n begin: /New-Object\\s+\\w/, end: /$/,\n returnBegin: true,\n contains: [\n { begin: /New-Object\\s+/, relevance: 0 },\n { className: 'meta', begin: /([\\w\\.])+/, endsParent: true }\n ]\n };\n\n // It's a very general rule so I'll narrow it a bit with some strict boundaries\n // to avoid any possible false-positive collisions!\n var PS_METHODS = {\n className: 'function',\n begin: /\\[.*\\]\\s*[\\w]+[ ]??\\(/, end: /$/,\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'keyword', begin: '('.concat(\n KEYWORDS.keyword.toString().replace(/\\s/g, '|'\n ), ')\\\\b'),\n endsParent: true,\n relevance: 0\n },\n hljs.inherit(hljs.TITLE_MODE, { endsParent: true })\n ]\n };\n\n var GENTLEMANS_SET = [\n // STATIC_MEMBER,\n PS_METHODS,\n PS_COMMENT,\n BACKTICK_ESCAPE,\n hljs.NUMBER_MODE,\n QUOTE_STRING,\n APOS_STRING,\n // PS_NEW_OBJECT_TYPE,\n CMDLETS,\n VAR,\n LITERAL,\n HASH_SIGNS\n ];\n\n var PS_TYPE = {\n begin: /\\[/, end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [].concat(\n 'self',\n GENTLEMANS_SET,\n { begin: \"(\" + TYPES.join(\"|\") + \")\", className: \"built_in\", relevance:0 },\n { className: 'type', begin: /[\\.\\w\\d]+/, relevance: 0 }\n )\n };\n\n PS_METHODS.contains.unshift(PS_TYPE)\n\n return {\n aliases: [\"ps\", \"ps1\"],\n lexemes: /-?[A-z\\.\\-]+/,\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: GENTLEMANS_SET.concat(\n PS_CLASS,\n PS_FUNCTION,\n PS_USING,\n PS_ARGUMENTS,\n PS_TYPE\n )\n };\n};"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/powershell.js"],"names":["module","exports","hljs","KEYWORDS","keyword","BACKTICK_ESCAPE","begin","relevance","VAR","className","variants","QUOTE_STRING","end","contains","APOS_STRING","PS_COMMENT","inherit","COMMENT","CMDLETS","concat","PS_CLASS","beginKeywords","excludeEnd","TITLE_MODE","PS_FUNCTION","returnBegin","PS_USING","PS_ARGUMENTS","PS_METHODS","toString","replace","endsParent","GENTLEMANS_SET","NUMBER_MODE","PS_TYPE","excludeBegin","join","unshift","aliases","lexemes","case_insensitive","keywords"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GAExB,IA2BIC,EAAW,CACbC,QAAS,wLAQPC,EAAkB,CACpBC,MAAO,YACPC,UAAW,GAGTC,EAAM,CACRC,UAAW,WACXC,SAAU,CACR,CAAEJ,MAAO,QACT,CAAEG,UAAW,UAAWH,MAAO,UAC/B,CAAEA,MAAO,uBASTK,EAAe,CACjBF,UAAW,SACXC,SAAU,CAAC,CAAEJ,MAAO,IAAKM,IAAK,KAAO,CAAEN,MAAO,KAAMM,IAAK,QACzDC,SAAU,CACRR,EACAG,EACA,CACEC,UAAW,WACXH,MAAO,UAAWM,IAAK,YAKzBE,EAAc,CAChBL,UAAW,SACXC,SAAU,CACR,CAAEJ,MAAO,IAAKM,IAAK,KACnB,CAAEN,MAAO,KAAMM,IAAK,SAgBpBG,EAAab,EAAKc,QACpBd,EAAKe,QAAQ,KAAM,MACnB,CACEP,SAAU,CAER,CAAEJ,MAAO,IAAKM,IAAK,KAEnB,CAAEN,MAAO,KAAMM,IAAK,OAEtBC,SAAU,CArBI,CAChBJ,UAAW,SACXC,SAAU,CAER,CAC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XM,SAAU,GAAGM,OACX,OACAa,EACA,CAAE1B,MAAO,IA1NX,CAAC,SAAU,OAAQ,OAAQ,MAAO,OAAQ,OAAS,UAAY,SAC9D,SAAU,WAAY,MAAO,QAAS,YAAa,QAyN7B8B,KAAK,KAAO,IAAK3B,UAAW,WAAYF,UAAU,GACvE,CAAEE,UAAW,OAAQH,MAAO,YAAaC,UAAW,KAMxD,OAFAqB,EAAWf,SAASwB,QAAQH,GAErB,CACLI,QAAS,CAAC,KAAM,OAChBC,QAAS,eACTC,kBAAkB,EAClBC,SAAUtC,EACVU,SAAUmB,EAAeb,OACvBC,EACAI,EACAE,EACAC,EACAO","file":"highlight/powershell.js?v=f6aceea4554970ab1405","sourcesContent":["module.exports = function(hljs){\n\n var TYPES =\n [\"string\", \"char\", \"byte\", \"int\", \"long\", \"bool\", \"decimal\", \"single\",\n \"double\", \"DateTime\", \"xml\", \"array\", \"hashtable\", \"void\"];\n\n // https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).aspx\n var VALID_VERBS =\n 'Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|' +\n 'Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|' +\n 'Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|' +\n 'Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|' +\n 'ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|' +\n 'Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|' +\n 'Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|' +\n 'Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|' +\n 'Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|' +\n 'Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|' +\n 'Unprotect|Use|ForEach|Sort|Tee|Where';\n\n var COMPARISON_OPERATORS =\n '-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|' +\n '-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|' +\n '-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|' +\n '-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|' +\n '-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|' +\n '-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|' +\n '-split|-wildcard|-xor';\n\n var KEYWORDS = {\n keyword: 'if else foreach return do while until elseif begin for trap data dynamicparam ' +\n 'end break throw param continue finally in switch exit filter try process catch ' +\n 'hidden static parameter'\n // TODO: 'validate[A-Z]+' can't work in keywords\n };\n\n var TITLE_NAME_RE = /\\w[\\w\\d]*((-)[\\w\\d]+)*/;\n\n var BACKTICK_ESCAPE = {\n begin: '`[\\\\s\\\\S]',\n relevance: 0\n };\n\n var VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\B/ },\n { className: 'keyword', begin: /\\$this/ },\n { begin: /\\$[\\w\\d][\\w\\d_:]*/ }\n ]\n };\n\n var LITERAL = {\n className: 'literal',\n begin: /\\$(null|true|false)\\b/\n };\n\n var QUOTE_STRING = {\n className: \"string\",\n variants: [{ begin: /\"/, end: /\"/ }, { begin: /@\"/, end: /^\"@/ }],\n contains: [\n BACKTICK_ESCAPE,\n VAR,\n {\n className: 'variable',\n begin: /\\$[A-z]/, end: /[^A-z]/\n }\n ]\n };\n\n var APOS_STRING = {\n className: 'string',\n variants: [\n { begin: /'/, end: /'/ },\n { begin: /@'/, end: /^'@/ }\n ]\n };\n\n var PS_HELPTAGS = {\n className: \"doctag\",\n variants: [\n /* no paramater help tags */\n {\n begin: /\\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/\n },\n /* one parameter help tags */\n { begin: /\\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\\s+\\S+/ }\n ]\n };\n\n var PS_COMMENT = hljs.inherit(\n hljs.COMMENT(null, null),\n {\n variants: [\n /* single-line comment */\n { begin: /#/, end: /$/ },\n /* multi-line comment */\n { begin: /<#/, end: /#>/ }\n ],\n contains: [PS_HELPTAGS]\n }\n );\n\n var CMDLETS = {\n className: 'built_in',\n variants: [\n { begin: '('.concat(VALID_VERBS, ')+(-)[\\\\w\\\\d]+') }\n ]\n };\n\n var PS_CLASS = {\n className: 'class',\n beginKeywords: 'class enum', end: /\\s*[{]/, excludeEnd: true,\n relevance: 0,\n contains: [hljs.TITLE_MODE]\n };\n\n var PS_FUNCTION = {\n className: 'function',\n begin: /function\\s+/, end: /\\s*\\{|$/,\n excludeEnd: true,\n returnBegin: true,\n relevance: 0,\n contains: [\n { begin: \"function\", relevance: 0, className: \"keyword\" },\n { className: \"title\",\n begin: TITLE_NAME_RE, relevance:0 },\n { begin: /\\(/, end: /\\)/, className: \"params\",\n relevance: 0,\n contains: [VAR] }\n // CMDLETS\n ]\n };\n\n // Using statment, plus type, plus assembly name.\n var PS_USING = {\n begin: /using\\s/, end: /$/,\n returnBegin: true,\n contains: [\n QUOTE_STRING,\n APOS_STRING,\n { className: 'keyword', begin: /(using|assembly|command|module|namespace|type)/ }\n ]\n };\n\n // Comperison operators & function named parameters.\n var PS_ARGUMENTS = {\n variants: [\n // PS literals are pretty verbose so it's a good idea to accent them a bit.\n { className: 'operator', begin: '('.concat(COMPARISON_OPERATORS, ')\\\\b') },\n { className: 'literal', begin: /(-)[\\w\\d]+/, relevance:0 }\n ]\n };\n\n var STATIC_MEMBER = {\n className: 'selector-tag',\n begin: /::\\w+\\b/, end: /$/,\n returnBegin: true,\n contains: [\n { className: 'attribute', begin: /\\w+/, endsParent: true }\n ]\n };\n\n var HASH_SIGNS = {\n className: 'selector-tag',\n begin: /\\@\\B/,\n relevance: 0\n };\n\n var PS_NEW_OBJECT_TYPE = {\n className: 'built_in',\n begin: /New-Object\\s+\\w/, end: /$/,\n returnBegin: true,\n contains: [\n { begin: /New-Object\\s+/, relevance: 0 },\n { className: 'meta', begin: /([\\w\\.])+/, endsParent: true }\n ]\n };\n\n // It's a very general rule so I'll narrow it a bit with some strict boundaries\n // to avoid any possible false-positive collisions!\n var PS_METHODS = {\n className: 'function',\n begin: /\\[.*\\]\\s*[\\w]+[ ]??\\(/, end: /$/,\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'keyword', begin: '('.concat(\n KEYWORDS.keyword.toString().replace(/\\s/g, '|'\n ), ')\\\\b'),\n endsParent: true,\n relevance: 0\n },\n hljs.inherit(hljs.TITLE_MODE, { endsParent: true })\n ]\n };\n\n var GENTLEMANS_SET = [\n // STATIC_MEMBER,\n PS_METHODS,\n PS_COMMENT,\n BACKTICK_ESCAPE,\n hljs.NUMBER_MODE,\n QUOTE_STRING,\n APOS_STRING,\n // PS_NEW_OBJECT_TYPE,\n CMDLETS,\n VAR,\n LITERAL,\n HASH_SIGNS\n ];\n\n var PS_TYPE = {\n begin: /\\[/, end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [].concat(\n 'self',\n GENTLEMANS_SET,\n { begin: \"(\" + TYPES.join(\"|\") + \")\", className: \"built_in\", relevance:0 },\n { className: 'type', begin: /[\\.\\w\\d]+/, relevance: 0 }\n )\n };\n\n PS_METHODS.contains.unshift(PS_TYPE)\n\n return {\n aliases: [\"ps\", \"ps1\"],\n lexemes: /-?[A-z\\.\\-]+/,\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: GENTLEMANS_SET.concat(\n PS_CLASS,\n PS_FUNCTION,\n PS_USING,\n PS_ARGUMENTS,\n PS_TYPE\n )\n };\n};"],"sourceRoot":""}
\ No newline at end of file |