@bigbinary/neeto-molecules 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4701,11 +4701,11 @@ function require_1c () {
4701
4701
  * */
4702
4702
 
4703
4703
  var abnf_1$1;
4704
- var hasRequiredAbnf;
4704
+ var hasRequiredAbnf$1;
4705
4705
 
4706
- function requireAbnf () {
4707
- if (hasRequiredAbnf) return abnf_1$1;
4708
- hasRequiredAbnf = 1;
4706
+ function requireAbnf$1 () {
4707
+ if (hasRequiredAbnf$1) return abnf_1$1;
4708
+ hasRequiredAbnf$1 = 1;
4709
4709
  /**
4710
4710
  * @param {RegExp | string } re
4711
4711
  * @returns {string}
@@ -8048,11 +8048,11 @@ function requireAxapta () {
8048
8048
  * */
8049
8049
 
8050
8050
  var bash_1$1;
8051
- var hasRequiredBash$1;
8051
+ var hasRequiredBash;
8052
8052
 
8053
- function requireBash$1 () {
8054
- if (hasRequiredBash$1) return bash_1$1;
8055
- hasRequiredBash$1 = 1;
8053
+ function requireBash () {
8054
+ if (hasRequiredBash) return bash_1$1;
8055
+ hasRequiredBash = 1;
8056
8056
  /**
8057
8057
  * @param {RegExp | string } re
8058
8058
  * @returns {string}
@@ -8228,11 +8228,11 @@ Website: https://en.wikipedia.org/wiki/Tandy_1000
8228
8228
  */
8229
8229
 
8230
8230
  var basic_1$1;
8231
- var hasRequiredBasic$1;
8231
+ var hasRequiredBasic;
8232
8232
 
8233
- function requireBasic$1 () {
8234
- if (hasRequiredBasic$1) return basic_1$1;
8235
- hasRequiredBasic$1 = 1;
8233
+ function requireBasic () {
8234
+ if (hasRequiredBasic) return basic_1$1;
8235
+ hasRequiredBasic = 1;
8236
8236
  /** @type LanguageFn */
8237
8237
  function basic(hljs) {
8238
8238
  return {
@@ -8301,11 +8301,11 @@ Author: Oleg Efimov <efimovov@gmail.com>
8301
8301
  */
8302
8302
 
8303
8303
  var bnf_1$1;
8304
- var hasRequiredBnf$1;
8304
+ var hasRequiredBnf;
8305
8305
 
8306
- function requireBnf$1 () {
8307
- if (hasRequiredBnf$1) return bnf_1$1;
8308
- hasRequiredBnf$1 = 1;
8306
+ function requireBnf () {
8307
+ if (hasRequiredBnf) return bnf_1$1;
8308
+ hasRequiredBnf = 1;
8309
8309
  /** @type LanguageFn */
8310
8310
  function bnf(hljs) {
8311
8311
  return {
@@ -8348,11 +8348,11 @@ Website: https://esolangs.org/wiki/Brainfuck
8348
8348
  */
8349
8349
 
8350
8350
  var brainfuck_1$1;
8351
- var hasRequiredBrainfuck$1;
8351
+ var hasRequiredBrainfuck;
8352
8352
 
8353
- function requireBrainfuck$1 () {
8354
- if (hasRequiredBrainfuck$1) return brainfuck_1$1;
8355
- hasRequiredBrainfuck$1 = 1;
8353
+ function requireBrainfuck () {
8354
+ if (hasRequiredBrainfuck) return brainfuck_1$1;
8355
+ hasRequiredBrainfuck = 1;
8356
8356
  /** @type LanguageFn */
8357
8357
  function brainfuck(hljs) {
8358
8358
  const LITERAL = {
@@ -8912,11 +8912,11 @@ function requireCLike () {
8912
8912
  * */
8913
8913
 
8914
8914
  var c_1$1;
8915
- var hasRequiredC$1;
8915
+ var hasRequiredC;
8916
8916
 
8917
- function requireC$1 () {
8918
- if (hasRequiredC$1) return c_1$1;
8919
- hasRequiredC$1 = 1;
8917
+ function requireC () {
8918
+ if (hasRequiredC) return c_1$1;
8919
+ hasRequiredC = 1;
8920
8920
  /**
8921
8921
  * @param {RegExp | string } re
8922
8922
  * @returns {string}
@@ -9559,11 +9559,11 @@ Category: lisp
9559
9559
  */
9560
9560
 
9561
9561
  var clojure_1$1;
9562
- var hasRequiredClojure$1;
9562
+ var hasRequiredClojure;
9563
9563
 
9564
- function requireClojure$1 () {
9565
- if (hasRequiredClojure$1) return clojure_1$1;
9566
- hasRequiredClojure$1 = 1;
9564
+ function requireClojure () {
9565
+ if (hasRequiredClojure) return clojure_1$1;
9566
+ hasRequiredClojure = 1;
9567
9567
  /** @type LanguageFn */
9568
9568
  function clojure(hljs) {
9569
9569
  const SYMBOLSTART = 'a-zA-Z_\\-!.?+*=<>&#\'';
@@ -48755,7 +48755,7 @@ var low = core$4;
48755
48755
  var lowlight = low;
48756
48756
 
48757
48757
  low.registerLanguage('1c', require_1c());
48758
- low.registerLanguage('abnf', requireAbnf());
48758
+ low.registerLanguage('abnf', requireAbnf$1());
48759
48759
  low.registerLanguage(
48760
48760
  'accesslog',
48761
48761
  requireAccesslog()
@@ -48788,15 +48788,15 @@ low.registerLanguage('autoit', requireAutoit());
48788
48788
  low.registerLanguage('avrasm', requireAvrasm());
48789
48789
  low.registerLanguage('awk', requireAwk());
48790
48790
  low.registerLanguage('axapta', requireAxapta());
48791
- low.registerLanguage('bash', requireBash$1());
48792
- low.registerLanguage('basic', requireBasic$1());
48793
- low.registerLanguage('bnf', requireBnf$1());
48791
+ low.registerLanguage('bash', requireBash());
48792
+ low.registerLanguage('basic', requireBasic());
48793
+ low.registerLanguage('bnf', requireBnf());
48794
48794
  low.registerLanguage(
48795
48795
  'brainfuck',
48796
- requireBrainfuck$1()
48796
+ requireBrainfuck()
48797
48797
  );
48798
48798
  low.registerLanguage('c-like', requireCLike());
48799
- low.registerLanguage('c', requireC$1());
48799
+ low.registerLanguage('c', requireC());
48800
48800
  low.registerLanguage('cal', requireCal());
48801
48801
  low.registerLanguage(
48802
48802
  'capnproto',
@@ -48804,7 +48804,7 @@ low.registerLanguage(
48804
48804
  );
48805
48805
  low.registerLanguage('ceylon', requireCeylon());
48806
48806
  low.registerLanguage('clean', requireClean());
48807
- low.registerLanguage('clojure', requireClojure$1());
48807
+ low.registerLanguage('clojure', requireClojure());
48808
48808
  low.registerLanguage(
48809
48809
  'clojure-repl',
48810
48810
  requireClojureRepl()
@@ -49713,7 +49713,7 @@ var languageLoaders$1 = {
49713
49713
  return Promise.resolve().then(function () { return _1c; });
49714
49714
  }),
49715
49715
  abnf: createLanguageAsyncLoader("abnf", function () {
49716
- return Promise.resolve().then(function () { return abnf; });
49716
+ return Promise.resolve().then(function () { return abnf$1; });
49717
49717
  }),
49718
49718
  accesslog: createLanguageAsyncLoader("accesslog", function () {
49719
49719
  return Promise.resolve().then(function () { return accesslog; });
@@ -49764,22 +49764,22 @@ var languageLoaders$1 = {
49764
49764
  return Promise.resolve().then(function () { return axapta; });
49765
49765
  }),
49766
49766
  bash: createLanguageAsyncLoader("bash", function () {
49767
- return Promise.resolve().then(function () { return bash$1; });
49767
+ return Promise.resolve().then(function () { return bash; });
49768
49768
  }),
49769
49769
  basic: createLanguageAsyncLoader("basic", function () {
49770
- return Promise.resolve().then(function () { return basic$1; });
49770
+ return Promise.resolve().then(function () { return basic; });
49771
49771
  }),
49772
49772
  bnf: createLanguageAsyncLoader("bnf", function () {
49773
- return Promise.resolve().then(function () { return bnf$1; });
49773
+ return Promise.resolve().then(function () { return bnf; });
49774
49774
  }),
49775
49775
  brainfuck: createLanguageAsyncLoader("brainfuck", function () {
49776
- return Promise.resolve().then(function () { return brainfuck$1; });
49776
+ return Promise.resolve().then(function () { return brainfuck; });
49777
49777
  }),
49778
49778
  cLike: createLanguageAsyncLoader("cLike", function () {
49779
49779
  return Promise.resolve().then(function () { return cLike; });
49780
49780
  }),
49781
49781
  c: createLanguageAsyncLoader("c", function () {
49782
- return Promise.resolve().then(function () { return c$1; });
49782
+ return Promise.resolve().then(function () { return c; });
49783
49783
  }),
49784
49784
  cal: createLanguageAsyncLoader("cal", function () {
49785
49785
  return Promise.resolve().then(function () { return cal; });
@@ -49797,7 +49797,7 @@ var languageLoaders$1 = {
49797
49797
  return Promise.resolve().then(function () { return clojureRepl; });
49798
49798
  }),
49799
49799
  clojure: createLanguageAsyncLoader("clojure", function () {
49800
- return Promise.resolve().then(function () { return clojure$1; });
49800
+ return Promise.resolve().then(function () { return clojure; });
49801
49801
  }),
49802
49802
  cmake: createLanguageAsyncLoader("cmake", function () {
49803
49803
  return Promise.resolve().then(function () { return cmake$1; });
@@ -50308,7 +50308,7 @@ var languageLoaders = {
50308
50308
  return Promise.resolve().then(function () { return abap$1; });
50309
50309
  }),
50310
50310
  abnf: createLanguageAsyncLoader("abnf", function () {
50311
- return Promise.resolve().then(function () { return abnf$2; });
50311
+ return Promise.resolve().then(function () { return abnf; });
50312
50312
  }),
50313
50313
  actionscript: createLanguageAsyncLoader("actionscript", function () {
50314
50314
  return Promise.resolve().then(function () { return actionscript$2; });
@@ -50365,55 +50365,55 @@ var languageLoaders = {
50365
50365
  return Promise.resolve().then(function () { return autoit$2; });
50366
50366
  }),
50367
50367
  avisynth: createLanguageAsyncLoader("avisynth", function () {
50368
- return Promise.resolve().then(function () { return avisynth; });
50368
+ return Promise.resolve().then(function () { return avisynth$1; });
50369
50369
  }),
50370
50370
  avroIdl: createLanguageAsyncLoader("avroIdl", function () {
50371
- return Promise.resolve().then(function () { return avroIdl; });
50371
+ return Promise.resolve().then(function () { return avroIdl$1; });
50372
50372
  }),
50373
50373
  bash: createLanguageAsyncLoader("bash", function () {
50374
- return Promise.resolve().then(function () { return bash; });
50374
+ return Promise.resolve().then(function () { return bash$2; });
50375
50375
  }),
50376
50376
  basic: createLanguageAsyncLoader("basic", function () {
50377
- return Promise.resolve().then(function () { return basic; });
50377
+ return Promise.resolve().then(function () { return basic$2; });
50378
50378
  }),
50379
50379
  batch: createLanguageAsyncLoader("batch", function () {
50380
- return Promise.resolve().then(function () { return batch; });
50380
+ return Promise.resolve().then(function () { return batch$1; });
50381
50381
  }),
50382
50382
  bbcode: createLanguageAsyncLoader("bbcode", function () {
50383
- return Promise.resolve().then(function () { return bbcode; });
50383
+ return Promise.resolve().then(function () { return bbcode$1; });
50384
50384
  }),
50385
50385
  bicep: createLanguageAsyncLoader("bicep", function () {
50386
- return Promise.resolve().then(function () { return bicep; });
50386
+ return Promise.resolve().then(function () { return bicep$1; });
50387
50387
  }),
50388
50388
  birb: createLanguageAsyncLoader("birb", function () {
50389
- return Promise.resolve().then(function () { return birb; });
50389
+ return Promise.resolve().then(function () { return birb$1; });
50390
50390
  }),
50391
50391
  bison: createLanguageAsyncLoader("bison", function () {
50392
- return Promise.resolve().then(function () { return bison; });
50392
+ return Promise.resolve().then(function () { return bison$1; });
50393
50393
  }),
50394
50394
  bnf: createLanguageAsyncLoader("bnf", function () {
50395
- return Promise.resolve().then(function () { return bnf; });
50395
+ return Promise.resolve().then(function () { return bnf$2; });
50396
50396
  }),
50397
50397
  brainfuck: createLanguageAsyncLoader("brainfuck", function () {
50398
- return Promise.resolve().then(function () { return brainfuck; });
50398
+ return Promise.resolve().then(function () { return brainfuck$2; });
50399
50399
  }),
50400
50400
  brightscript: createLanguageAsyncLoader("brightscript", function () {
50401
- return Promise.resolve().then(function () { return brightscript; });
50401
+ return Promise.resolve().then(function () { return brightscript$1; });
50402
50402
  }),
50403
50403
  bro: createLanguageAsyncLoader("bro", function () {
50404
- return Promise.resolve().then(function () { return bro; });
50404
+ return Promise.resolve().then(function () { return bro$1; });
50405
50405
  }),
50406
50406
  bsl: createLanguageAsyncLoader("bsl", function () {
50407
- return Promise.resolve().then(function () { return bsl; });
50407
+ return Promise.resolve().then(function () { return bsl$1; });
50408
50408
  }),
50409
50409
  c: createLanguageAsyncLoader("c", function () {
50410
- return Promise.resolve().then(function () { return c; });
50410
+ return Promise.resolve().then(function () { return c$2; });
50411
50411
  }),
50412
50412
  cfscript: createLanguageAsyncLoader("cfscript", function () {
50413
- return Promise.resolve().then(function () { return cfscript; });
50413
+ return Promise.resolve().then(function () { return cfscript$1; });
50414
50414
  }),
50415
50415
  chaiscript: createLanguageAsyncLoader("chaiscript", function () {
50416
- return Promise.resolve().then(function () { return chaiscript; });
50416
+ return Promise.resolve().then(function () { return chaiscript$1; });
50417
50417
  }),
50418
50418
  cil: createLanguageAsyncLoader("cil", function () {
50419
50419
  return Promise.resolve().then(function () { return cil; });
@@ -50422,7 +50422,7 @@ var languageLoaders = {
50422
50422
  return Promise.resolve().then(function () { return clike$2; });
50423
50423
  }),
50424
50424
  clojure: createLanguageAsyncLoader("clojure", function () {
50425
- return Promise.resolve().then(function () { return clojure; });
50425
+ return Promise.resolve().then(function () { return clojure$2; });
50426
50426
  }),
50427
50427
  cmake: createLanguageAsyncLoader("cmake", function () {
50428
50428
  return Promise.resolve().then(function () { return cmake; });
@@ -59677,73 +59677,77 @@ var abap$1 = /*#__PURE__*/_mergeNamespaces({
59677
59677
  'default': abap_1
59678
59678
  }, [abap_1]);
59679
59679
 
59680
- var abnf_1 = abnf$1;
59681
- abnf$1.displayName = 'abnf';
59682
- abnf$1.aliases = [];
59683
- function abnf$1(Prism) {
59680
+ var abnf_1;
59681
+ var hasRequiredAbnf;
59682
+
59683
+ function requireAbnf () {
59684
+ if (hasRequiredAbnf) return abnf_1;
59685
+ hasRequiredAbnf = 1;
59686
+
59687
+ abnf_1 = abnf;
59688
+ abnf.displayName = 'abnf';
59689
+ abnf.aliases = [];
59690
+ function abnf(Prism) {
59684
59691
  (function (Prism) {
59685
- var coreRules =
59686
- '(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
59687
- Prism.languages.abnf = {
59688
- comment: /;.*/,
59689
- string: {
59690
- pattern: /(?:%[is])?"[^"\n\r]*"/,
59691
- greedy: true,
59692
- inside: {
59693
- punctuation: /^%[is]/
59694
- }
59695
- },
59696
- range: {
59697
- pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
59698
- alias: 'number'
59699
- },
59700
- terminal: {
59701
- pattern:
59702
- /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
59703
- alias: 'number'
59704
- },
59705
- repetition: {
59706
- pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
59707
- lookbehind: true,
59708
- alias: 'operator'
59709
- },
59710
- definition: {
59711
- pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
59712
- lookbehind: true,
59713
- alias: 'keyword',
59714
- inside: {
59715
- punctuation: /<|>/
59716
- }
59717
- },
59718
- 'core-rule': {
59719
- pattern: RegExp(
59720
- '(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])',
59721
- 'i'
59722
- ),
59723
- lookbehind: true,
59724
- alias: ['rule', 'constant'],
59725
- inside: {
59726
- punctuation: /<|>/
59727
- }
59728
- },
59729
- rule: {
59730
- pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
59731
- lookbehind: true,
59732
- inside: {
59733
- punctuation: /<|>/
59734
- }
59735
- },
59736
- operator: /=\/?|\//,
59737
- punctuation: /[()\[\]]/
59738
- };
59739
- })(Prism);
59692
+ var coreRules =
59693
+ '(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
59694
+ Prism.languages.abnf = {
59695
+ comment: /;.*/,
59696
+ string: {
59697
+ pattern: /(?:%[is])?"[^"\n\r]*"/,
59698
+ greedy: true,
59699
+ inside: {
59700
+ punctuation: /^%[is]/
59701
+ }
59702
+ },
59703
+ range: {
59704
+ pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
59705
+ alias: 'number'
59706
+ },
59707
+ terminal: {
59708
+ pattern:
59709
+ /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
59710
+ alias: 'number'
59711
+ },
59712
+ repetition: {
59713
+ pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
59714
+ lookbehind: true,
59715
+ alias: 'operator'
59716
+ },
59717
+ definition: {
59718
+ pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
59719
+ lookbehind: true,
59720
+ alias: 'keyword',
59721
+ inside: {
59722
+ punctuation: /<|>/
59723
+ }
59724
+ },
59725
+ 'core-rule': {
59726
+ pattern: RegExp(
59727
+ '(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])',
59728
+ 'i'
59729
+ ),
59730
+ lookbehind: true,
59731
+ alias: ['rule', 'constant'],
59732
+ inside: {
59733
+ punctuation: /<|>/
59734
+ }
59735
+ },
59736
+ rule: {
59737
+ pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
59738
+ lookbehind: true,
59739
+ inside: {
59740
+ punctuation: /<|>/
59741
+ }
59742
+ },
59743
+ operator: /=\/?|\//,
59744
+ punctuation: /[()\[\]]/
59745
+ };
59746
+ })(Prism);
59747
+ }
59748
+ return abnf_1;
59740
59749
  }
59741
59750
 
59742
- var abnf$2 = /*#__PURE__*/_mergeNamespaces({
59743
- __proto__: null,
59744
- 'default': abnf_1
59745
- }, [abnf_1]);
59746
-
59747
59751
  var actionscript_1 = actionscript$1;
59748
59752
  actionscript$1.displayName = 'actionscript';
59749
59753
  actionscript$1.aliases = [];
@@ -60283,110 +60287,106 @@ var aql$1 = /*#__PURE__*/_mergeNamespaces({
60283
60287
  'default': aql_1
60284
60288
  }, [aql_1]);
60285
60289
 
60286
- var c_1;
60287
- var hasRequiredC;
60288
-
60289
- function requireC () {
60290
- if (hasRequiredC) return c_1;
60291
- hasRequiredC = 1;
60292
-
60293
- c_1 = c;
60294
- c.displayName = 'c';
60295
- c.aliases = [];
60296
- function c(Prism) {
60297
- Prism.languages.c = Prism.languages.extend('clike', {
60298
- comment: {
60299
- pattern:
60300
- /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
60301
- greedy: true
60302
- },
60303
- string: {
60304
- // https://en.cppreference.com/w/c/language/string_literal
60305
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
60306
- greedy: true
60307
- },
60308
- 'class-name': {
60309
- pattern:
60310
- /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
60311
- lookbehind: true
60312
- },
60313
- keyword:
60314
- /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
60315
- function: /\b[a-z_]\w*(?=\s*\()/i,
60316
- number:
60317
- /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
60318
- operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
60319
- });
60320
- Prism.languages.insertBefore('c', 'string', {
60321
- char: {
60322
- // https://en.cppreference.com/w/c/language/character_constant
60323
- pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
60324
- greedy: true
60325
- }
60326
- });
60327
- Prism.languages.insertBefore('c', 'string', {
60328
- macro: {
60329
- // allow for multiline macro definitions
60330
- // spaces after the # character compile fine with gcc
60331
- pattern:
60332
- /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
60333
- lookbehind: true,
60334
- greedy: true,
60335
- alias: 'property',
60336
- inside: {
60337
- string: [
60338
- {
60339
- // highlight the path of the include statement as a string
60340
- pattern: /^(#\s*include\s*)<[^>]+>/,
60341
- lookbehind: true
60342
- },
60343
- Prism.languages.c['string']
60344
- ],
60345
- char: Prism.languages.c['char'],
60346
- comment: Prism.languages.c['comment'],
60347
- 'macro-name': [
60348
- {
60349
- pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
60350
- lookbehind: true
60351
- },
60352
- {
60353
- pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
60354
- lookbehind: true,
60355
- alias: 'function'
60356
- }
60357
- ],
60358
- // highlight macro directives as keywords
60359
- directive: {
60360
- pattern: /^(#\s*)[a-z]+/,
60361
- lookbehind: true,
60362
- alias: 'keyword'
60363
- },
60364
- 'directive-hash': /^#/,
60365
- punctuation: /##|\\(?=[\r\n])/,
60366
- expression: {
60367
- pattern: /\S[\s\S]*/,
60368
- inside: Prism.languages.c
60369
- }
60370
- }
60371
- }
60372
- });
60373
- Prism.languages.insertBefore('c', 'function', {
60374
- // highlight predefined macros as constants
60375
- constant:
60376
- /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
60377
- });
60378
- delete Prism.languages.c['boolean'];
60379
- }
60380
- return c_1;
60290
+ var c_1 = c$1;
60291
+ c$1.displayName = 'c';
60292
+ c$1.aliases = [];
60293
+ function c$1(Prism) {
60294
+ Prism.languages.c = Prism.languages.extend('clike', {
60295
+ comment: {
60296
+ pattern:
60297
+ /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
60298
+ greedy: true
60299
+ },
60300
+ string: {
60301
+ // https://en.cppreference.com/w/c/language/string_literal
60302
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
60303
+ greedy: true
60304
+ },
60305
+ 'class-name': {
60306
+ pattern:
60307
+ /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
60308
+ lookbehind: true
60309
+ },
60310
+ keyword:
60311
+ /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
60312
+ function: /\b[a-z_]\w*(?=\s*\()/i,
60313
+ number:
60314
+ /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
60315
+ operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
60316
+ });
60317
+ Prism.languages.insertBefore('c', 'string', {
60318
+ char: {
60319
+ // https://en.cppreference.com/w/c/language/character_constant
60320
+ pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
60321
+ greedy: true
60322
+ }
60323
+ });
60324
+ Prism.languages.insertBefore('c', 'string', {
60325
+ macro: {
60326
+ // allow for multiline macro definitions
60327
+ // spaces after the # character compile fine with gcc
60328
+ pattern:
60329
+ /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
60330
+ lookbehind: true,
60331
+ greedy: true,
60332
+ alias: 'property',
60333
+ inside: {
60334
+ string: [
60335
+ {
60336
+ // highlight the path of the include statement as a string
60337
+ pattern: /^(#\s*include\s*)<[^>]+>/,
60338
+ lookbehind: true
60339
+ },
60340
+ Prism.languages.c['string']
60341
+ ],
60342
+ char: Prism.languages.c['char'],
60343
+ comment: Prism.languages.c['comment'],
60344
+ 'macro-name': [
60345
+ {
60346
+ pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
60347
+ lookbehind: true
60348
+ },
60349
+ {
60350
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
60351
+ lookbehind: true,
60352
+ alias: 'function'
60353
+ }
60354
+ ],
60355
+ // highlight macro directives as keywords
60356
+ directive: {
60357
+ pattern: /^(#\s*)[a-z]+/,
60358
+ lookbehind: true,
60359
+ alias: 'keyword'
60360
+ },
60361
+ 'directive-hash': /^#/,
60362
+ punctuation: /##|\\(?=[\r\n])/,
60363
+ expression: {
60364
+ pattern: /\S[\s\S]*/,
60365
+ inside: Prism.languages.c
60366
+ }
60367
+ }
60368
+ }
60369
+ });
60370
+ Prism.languages.insertBefore('c', 'function', {
60371
+ // highlight predefined macros as constants
60372
+ constant:
60373
+ /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
60374
+ });
60375
+ delete Prism.languages.c['boolean'];
60381
60376
  }
60382
60377
 
60378
+ var c$2 = /*#__PURE__*/_mergeNamespaces({
60379
+ __proto__: null,
60380
+ 'default': c_1
60381
+ }, [c_1]);
60382
+
60383
60383
  var cpp_1;
60384
60384
  var hasRequiredCpp;
60385
60385
 
60386
60386
  function requireCpp () {
60387
60387
  if (hasRequiredCpp) return cpp_1;
60388
60388
  hasRequiredCpp = 1;
60389
- var refractorC = requireC();
60389
+ var refractorC = c_1;
60390
60390
  cpp_1 = cpp;
60391
60391
  cpp.displayName = 'cpp';
60392
60392
  cpp.aliases = [];
@@ -60507,12 +60507,12 @@ function requireCpp () {
60507
60507
  return cpp_1;
60508
60508
  }
60509
60509
 
60510
- var refractorCpp = requireCpp();
60510
+ var refractorCpp$1 = requireCpp();
60511
60511
  var arduino_1 = arduino$1;
60512
60512
  arduino$1.displayName = 'arduino';
60513
60513
  arduino$1.aliases = ['ino'];
60514
60514
  function arduino$1(Prism) {
60515
- Prism.register(refractorCpp);
60515
+ Prism.register(refractorCpp$1);
60516
60516
  Prism.languages.arduino = Prism.languages.extend('cpp', {
60517
60517
  keyword:
60518
60518
  /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,
@@ -61513,1258 +61513,1196 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
61513
61513
  'default': autoit_1
61514
61514
  }, [autoit_1]);
61515
61515
 
61516
- var avisynth_1;
61517
- var hasRequiredAvisynth;
61518
-
61519
- function requireAvisynth () {
61520
- if (hasRequiredAvisynth) return avisynth_1;
61521
- hasRequiredAvisynth = 1;
61522
-
61523
- avisynth_1 = avisynth;
61524
- avisynth.displayName = 'avisynth';
61525
- avisynth.aliases = ['avs'];
61526
- function avisynth(Prism) {
61516
+ var avisynth_1 = avisynth;
61517
+ avisynth.displayName = 'avisynth';
61518
+ avisynth.aliases = ['avs'];
61519
+ function avisynth(Prism) {
61527
61520
  (function (Prism) {
61528
- function replace(pattern, replacements) {
61529
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
61530
- return replacements[+index]
61531
- })
61532
- }
61533
- function re(pattern, replacements, flags) {
61534
- return RegExp(replace(pattern, replacements), flags || '')
61535
- }
61536
- var types = /bool|clip|float|int|string|val/.source;
61537
- var internals = [
61538
- // bools
61539
- /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
61540
- .source, // control
61541
- /apply|assert|default|eval|import|nop|select|undefined/.source, // global
61542
- /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
61543
- .source, // conv
61544
- /hex(?:value)?|value/.source, // numeric
61545
- /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
61546
- .source, // trig
61547
- /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
61548
- /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
61549
- .source, // runtime
61550
- /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
61551
- .source, // script
61552
- /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
61553
- .source, // string
61554
- /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
61555
- .source, // version
61556
- /isversionorgreater|version(?:number|string)/.source, // helper
61557
- /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
61558
- /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
61559
- ].join('|');
61560
- var properties = [
61561
- // content
61562
- /has(?:audio|video)/.source, // resolution
61563
- /height|width/.source, // framerate
61564
- /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
61565
- /getparity|is(?:field|frame)based/.source, // color format
61566
- /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
61567
- .source, // audio
61568
- /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
61569
- .source
61570
- ].join('|');
61571
- var filters = [
61572
- // source
61573
- /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
61574
- .source, // color
61575
- /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
61576
- .source, // overlay
61577
- /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
61578
- /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
61579
- .source, // pixel
61580
- /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
61581
- .source, // timeline
61582
- /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
61583
- .source, // interlace
61584
- /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
61585
- .source, // audio
61586
- /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
61587
- .source, // conditional
61588
- /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
61589
- .source, // export
61590
- /imagewriter/.source, // debug
61591
- /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
61592
- .source
61593
- ].join('|');
61594
- var allinternals = [internals, properties, filters].join('|');
61595
- Prism.languages.avisynth = {
61596
- comment: [
61597
- {
61598
- // Matches [* *] nestable block comments, but only supports 1 level of nested comments
61599
- // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
61600
- pattern:
61601
- /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
61602
- lookbehind: true,
61603
- greedy: true
61604
- },
61605
- {
61606
- // Matches /* */ block comments
61607
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
61608
- lookbehind: true,
61609
- greedy: true
61610
- },
61611
- {
61612
- // Matches # comments
61613
- pattern: /(^|[^\\$])#.*/,
61614
- lookbehind: true,
61615
- greedy: true
61616
- }
61617
- ],
61618
- // Handle before strings because optional arguments are surrounded by double quotes
61619
- argument: {
61620
- pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
61621
- inside: {
61622
- keyword: /^\w+/
61623
- }
61624
- },
61625
- // Optional argument assignment
61626
- 'argument-label': {
61627
- pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
61628
- lookbehind: true,
61629
- inside: {
61630
- 'argument-name': {
61631
- pattern: /^\w+/,
61632
- alias: 'punctuation'
61633
- },
61634
- punctuation: /=$/
61635
- }
61636
- },
61637
- string: [
61638
- {
61639
- // triple double-quoted
61640
- pattern: /"""[\s\S]*?"""/,
61641
- greedy: true
61642
- },
61643
- {
61644
- // single double-quoted
61645
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
61646
- greedy: true,
61647
- inside: {
61648
- constant: {
61649
- // These *are* case-sensitive!
61650
- pattern:
61651
- /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
61652
- }
61653
- }
61654
- }
61655
- ],
61656
- // The special "last" variable that takes the value of the last implicitly returned clip
61657
- variable: /\b(?:last)\b/i,
61658
- boolean: /\b(?:false|no|true|yes)\b/i,
61659
- keyword:
61660
- /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
61661
- constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
61662
- // AviSynth's internal functions, filters, and properties
61663
- 'builtin-function': {
61664
- pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
61665
- alias: 'function'
61666
- },
61667
- 'type-cast': {
61668
- pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
61669
- alias: 'keyword'
61670
- },
61671
- // External/user-defined filters
61672
- function: {
61673
- pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
61674
- lookbehind: true
61675
- },
61676
- // Matches a \ as the first or last character on a line
61677
- 'line-continuation': {
61678
- pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
61679
- lookbehind: true,
61680
- alias: 'punctuation'
61681
- },
61682
- number:
61683
- /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
61684
- operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
61685
- punctuation: /[{}\[\]();,.]/
61686
- };
61687
- Prism.languages.avs = Prism.languages.avisynth;
61688
- })(Prism);
61689
- }
61690
- return avisynth_1;
61521
+ function replace(pattern, replacements) {
61522
+ return pattern.replace(/<<(\d+)>>/g, function (m, index) {
61523
+ return replacements[+index]
61524
+ })
61525
+ }
61526
+ function re(pattern, replacements, flags) {
61527
+ return RegExp(replace(pattern, replacements), flags || '')
61528
+ }
61529
+ var types = /bool|clip|float|int|string|val/.source;
61530
+ var internals = [
61531
+ // bools
61532
+ /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
61533
+ .source, // control
61534
+ /apply|assert|default|eval|import|nop|select|undefined/.source, // global
61535
+ /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
61536
+ .source, // conv
61537
+ /hex(?:value)?|value/.source, // numeric
61538
+ /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
61539
+ .source, // trig
61540
+ /a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
61541
+ /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
61542
+ .source, // runtime
61543
+ /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
61544
+ .source, // script
61545
+ /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
61546
+ .source, // string
61547
+ /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
61548
+ .source, // version
61549
+ /isversionorgreater|version(?:number|string)/.source, // helper
61550
+ /buildpixeltype|colorspacenametopixeltype/.source, // avsplus
61551
+ /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
61552
+ ].join('|');
61553
+ var properties = [
61554
+ // content
61555
+ /has(?:audio|video)/.source, // resolution
61556
+ /height|width/.source, // framerate
61557
+ /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
61558
+ /getparity|is(?:field|frame)based/.source, // color format
61559
+ /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
61560
+ .source, // audio
61561
+ /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
61562
+ .source
61563
+ ].join('|');
61564
+ var filters = [
61565
+ // source
61566
+ /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
61567
+ .source, // color
61568
+ /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
61569
+ .source, // overlay
61570
+ /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
61571
+ /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
61572
+ .source, // pixel
61573
+ /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
61574
+ .source, // timeline
61575
+ /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
61576
+ .source, // interlace
61577
+ /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
61578
+ .source, // audio
61579
+ /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
61580
+ .source, // conditional
61581
+ /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
61582
+ .source, // export
61583
+ /imagewriter/.source, // debug
61584
+ /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
61585
+ .source
61586
+ ].join('|');
61587
+ var allinternals = [internals, properties, filters].join('|');
61588
+ Prism.languages.avisynth = {
61589
+ comment: [
61590
+ {
61591
+ // Matches [* *] nestable block comments, but only supports 1 level of nested comments
61592
+ // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
61593
+ pattern:
61594
+ /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
61595
+ lookbehind: true,
61596
+ greedy: true
61597
+ },
61598
+ {
61599
+ // Matches /* */ block comments
61600
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
61601
+ lookbehind: true,
61602
+ greedy: true
61603
+ },
61604
+ {
61605
+ // Matches # comments
61606
+ pattern: /(^|[^\\$])#.*/,
61607
+ lookbehind: true,
61608
+ greedy: true
61609
+ }
61610
+ ],
61611
+ // Handle before strings because optional arguments are surrounded by double quotes
61612
+ argument: {
61613
+ pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
61614
+ inside: {
61615
+ keyword: /^\w+/
61616
+ }
61617
+ },
61618
+ // Optional argument assignment
61619
+ 'argument-label': {
61620
+ pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
61621
+ lookbehind: true,
61622
+ inside: {
61623
+ 'argument-name': {
61624
+ pattern: /^\w+/,
61625
+ alias: 'punctuation'
61626
+ },
61627
+ punctuation: /=$/
61628
+ }
61629
+ },
61630
+ string: [
61631
+ {
61632
+ // triple double-quoted
61633
+ pattern: /"""[\s\S]*?"""/,
61634
+ greedy: true
61635
+ },
61636
+ {
61637
+ // single double-quoted
61638
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
61639
+ greedy: true,
61640
+ inside: {
61641
+ constant: {
61642
+ // These *are* case-sensitive!
61643
+ pattern:
61644
+ /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
61645
+ }
61646
+ }
61647
+ }
61648
+ ],
61649
+ // The special "last" variable that takes the value of the last implicitly returned clip
61650
+ variable: /\b(?:last)\b/i,
61651
+ boolean: /\b(?:false|no|true|yes)\b/i,
61652
+ keyword:
61653
+ /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
61654
+ constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
61655
+ // AviSynth's internal functions, filters, and properties
61656
+ 'builtin-function': {
61657
+ pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
61658
+ alias: 'function'
61659
+ },
61660
+ 'type-cast': {
61661
+ pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
61662
+ alias: 'keyword'
61663
+ },
61664
+ // External/user-defined filters
61665
+ function: {
61666
+ pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
61667
+ lookbehind: true
61668
+ },
61669
+ // Matches a \ as the first or last character on a line
61670
+ 'line-continuation': {
61671
+ pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
61672
+ lookbehind: true,
61673
+ alias: 'punctuation'
61674
+ },
61675
+ number:
61676
+ /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
61677
+ operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
61678
+ punctuation: /[{}\[\]();,.]/
61679
+ };
61680
+ Prism.languages.avs = Prism.languages.avisynth;
61681
+ })(Prism);
61691
61682
  }
61692
61683
 
61693
- var avroIdl_1;
61694
- var hasRequiredAvroIdl;
61684
+ var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
61685
+ __proto__: null,
61686
+ 'default': avisynth_1
61687
+ }, [avisynth_1]);
61688
+
61689
+ var avroIdl_1 = avroIdl;
61690
+ avroIdl.displayName = 'avroIdl';
61691
+ avroIdl.aliases = [];
61692
+ function avroIdl(Prism) {
61693
+ // GitHub: https://github.com/apache/avro
61694
+ // Docs: https://avro.apache.org/docs/current/idl.html
61695
+ Prism.languages['avro-idl'] = {
61696
+ comment: {
61697
+ pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
61698
+ greedy: true
61699
+ },
61700
+ string: {
61701
+ pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
61702
+ lookbehind: true,
61703
+ greedy: true
61704
+ },
61705
+ annotation: {
61706
+ pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
61707
+ greedy: true,
61708
+ alias: 'function'
61709
+ },
61710
+ 'function-identifier': {
61711
+ pattern: /`[^\r\n`]+`(?=\s*\()/,
61712
+ greedy: true,
61713
+ alias: 'function'
61714
+ },
61715
+ identifier: {
61716
+ pattern: /`[^\r\n`]+`/,
61717
+ greedy: true
61718
+ },
61719
+ 'class-name': {
61720
+ pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
61721
+ lookbehind: true,
61722
+ greedy: true
61723
+ },
61724
+ keyword:
61725
+ /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
61726
+ function: /\b[a-z_]\w*(?=\s*\()/i,
61727
+ number: [
61728
+ {
61729
+ pattern:
61730
+ /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
61731
+ lookbehind: true
61732
+ },
61733
+ /-?\b(?:Infinity|NaN)\b/
61734
+ ],
61735
+ operator: /=/,
61736
+ punctuation: /[()\[\]{}<>.:,;-]/
61737
+ };
61738
+ Prism.languages.avdl = Prism.languages['avro-idl'];
61739
+ }
61695
61740
 
61696
- function requireAvroIdl () {
61697
- if (hasRequiredAvroIdl) return avroIdl_1;
61698
- hasRequiredAvroIdl = 1;
61741
+ var avroIdl$1 = /*#__PURE__*/_mergeNamespaces({
61742
+ __proto__: null,
61743
+ 'default': avroIdl_1
61744
+ }, [avroIdl_1]);
61699
61745
 
61700
- avroIdl_1 = avroIdl;
61701
- avroIdl.displayName = 'avroIdl';
61702
- avroIdl.aliases = [];
61703
- function avroIdl(Prism) {
61704
- // GitHub: https://github.com/apache/avro
61705
- // Docs: https://avro.apache.org/docs/current/idl.html
61706
- Prism.languages['avro-idl'] = {
61707
- comment: {
61708
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
61709
- greedy: true
61710
- },
61711
- string: {
61712
- pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
61713
- lookbehind: true,
61714
- greedy: true
61715
- },
61716
- annotation: {
61717
- pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
61718
- greedy: true,
61719
- alias: 'function'
61720
- },
61721
- 'function-identifier': {
61722
- pattern: /`[^\r\n`]+`(?=\s*\()/,
61723
- greedy: true,
61724
- alias: 'function'
61725
- },
61726
- identifier: {
61727
- pattern: /`[^\r\n`]+`/,
61728
- greedy: true
61729
- },
61730
- 'class-name': {
61731
- pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
61732
- lookbehind: true,
61733
- greedy: true
61734
- },
61735
- keyword:
61736
- /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
61737
- function: /\b[a-z_]\w*(?=\s*\()/i,
61738
- number: [
61739
- {
61740
- pattern:
61741
- /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
61742
- lookbehind: true
61743
- },
61744
- /-?\b(?:Infinity|NaN)\b/
61745
- ],
61746
- operator: /=/,
61747
- punctuation: /[()\[\]{}<>.:,;-]/
61748
- };
61749
- Prism.languages.avdl = Prism.languages['avro-idl'];
61750
- }
61751
- return avroIdl_1;
61746
+ var bash_1 = bash$1;
61747
+ bash$1.displayName = 'bash';
61748
+ bash$1.aliases = ['shell'];
61749
+ function bash$1(Prism) {
61750
+ (function (Prism) {
61751
+ // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
61752
+ // + LC_ALL, RANDOM, REPLY, SECONDS.
61753
+ // + make sure PS1..4 are here as they are not always set,
61754
+ // - some useless things.
61755
+ var envVars =
61756
+ '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
61757
+ var commandAfterHeredoc = {
61758
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
61759
+ lookbehind: true,
61760
+ alias: 'punctuation',
61761
+ // this looks reasonably well in all themes
61762
+ inside: null // see below
61763
+ };
61764
+ var insideString = {
61765
+ bash: commandAfterHeredoc,
61766
+ environment: {
61767
+ pattern: RegExp('\\$' + envVars),
61768
+ alias: 'constant'
61769
+ },
61770
+ variable: [
61771
+ // [0]: Arithmetic Environment
61772
+ {
61773
+ pattern: /\$?\(\([\s\S]+?\)\)/,
61774
+ greedy: true,
61775
+ inside: {
61776
+ // If there is a $ sign at the beginning highlight $(( and )) as variable
61777
+ variable: [
61778
+ {
61779
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
61780
+ lookbehind: true
61781
+ },
61782
+ /^\$\(\(/
61783
+ ],
61784
+ number:
61785
+ /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
61786
+ // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
61787
+ operator:
61788
+ /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
61789
+ // If there is no $ sign at the beginning highlight (( and )) as punctuation
61790
+ punctuation: /\(\(?|\)\)?|,|;/
61791
+ }
61792
+ }, // [1]: Command Substitution
61793
+ {
61794
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
61795
+ greedy: true,
61796
+ inside: {
61797
+ variable: /^\$\(|^`|\)$|`$/
61798
+ }
61799
+ }, // [2]: Brace expansion
61800
+ {
61801
+ pattern: /\$\{[^}]+\}/,
61802
+ greedy: true,
61803
+ inside: {
61804
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
61805
+ punctuation: /[\[\]]/,
61806
+ environment: {
61807
+ pattern: RegExp('(\\{)' + envVars),
61808
+ lookbehind: true,
61809
+ alias: 'constant'
61810
+ }
61811
+ }
61812
+ },
61813
+ /\$(?:\w+|[#?*!@$])/
61814
+ ],
61815
+ // Escape sequences from echo and printf's manuals, and escaped quotes.
61816
+ entity:
61817
+ /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
61818
+ };
61819
+ Prism.languages.bash = {
61820
+ shebang: {
61821
+ pattern: /^#!\s*\/.*/,
61822
+ alias: 'important'
61823
+ },
61824
+ comment: {
61825
+ pattern: /(^|[^"{\\$])#.*/,
61826
+ lookbehind: true
61827
+ },
61828
+ 'function-name': [
61829
+ // a) function foo {
61830
+ // b) foo() {
61831
+ // c) function foo() {
61832
+ // but not “foo {”
61833
+ {
61834
+ // a) and c)
61835
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
61836
+ lookbehind: true,
61837
+ alias: 'function'
61838
+ },
61839
+ {
61840
+ // b)
61841
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
61842
+ alias: 'function'
61843
+ }
61844
+ ],
61845
+ // Highlight variable names as variables in for and select beginnings.
61846
+ 'for-or-select': {
61847
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
61848
+ alias: 'variable',
61849
+ lookbehind: true
61850
+ },
61851
+ // Highlight variable names as variables in the left-hand part
61852
+ // of assignments (“=” and “+=”).
61853
+ 'assign-left': {
61854
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
61855
+ inside: {
61856
+ environment: {
61857
+ pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
61858
+ lookbehind: true,
61859
+ alias: 'constant'
61860
+ }
61861
+ },
61862
+ alias: 'variable',
61863
+ lookbehind: true
61864
+ },
61865
+ string: [
61866
+ // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
61867
+ {
61868
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
61869
+ lookbehind: true,
61870
+ greedy: true,
61871
+ inside: insideString
61872
+ }, // Here-document with quotes around the tag
61873
+ // → No expansion (so no “inside”).
61874
+ {
61875
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
61876
+ lookbehind: true,
61877
+ greedy: true,
61878
+ inside: {
61879
+ bash: commandAfterHeredoc
61880
+ }
61881
+ }, // “Normal” string
61882
+ {
61883
+ // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
61884
+ pattern:
61885
+ /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
61886
+ lookbehind: true,
61887
+ greedy: true,
61888
+ inside: insideString
61889
+ },
61890
+ {
61891
+ // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
61892
+ pattern: /(^|[^$\\])'[^']*'/,
61893
+ lookbehind: true,
61894
+ greedy: true
61895
+ },
61896
+ {
61897
+ // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
61898
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
61899
+ greedy: true,
61900
+ inside: {
61901
+ entity: insideString.entity
61902
+ }
61903
+ }
61904
+ ],
61905
+ environment: {
61906
+ pattern: RegExp('\\$?' + envVars),
61907
+ alias: 'constant'
61908
+ },
61909
+ variable: insideString.variable,
61910
+ function: {
61911
+ pattern:
61912
+ /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
61913
+ lookbehind: true
61914
+ },
61915
+ keyword: {
61916
+ pattern:
61917
+ /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
61918
+ lookbehind: true
61919
+ },
61920
+ // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
61921
+ builtin: {
61922
+ pattern:
61923
+ /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
61924
+ lookbehind: true,
61925
+ // Alias added to make those easier to distinguish from strings.
61926
+ alias: 'class-name'
61927
+ },
61928
+ boolean: {
61929
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
61930
+ lookbehind: true
61931
+ },
61932
+ 'file-descriptor': {
61933
+ pattern: /\B&\d\b/,
61934
+ alias: 'important'
61935
+ },
61936
+ operator: {
61937
+ // Lots of redirections here, but not just that.
61938
+ pattern:
61939
+ /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
61940
+ inside: {
61941
+ 'file-descriptor': {
61942
+ pattern: /^\d/,
61943
+ alias: 'important'
61944
+ }
61945
+ }
61946
+ },
61947
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
61948
+ number: {
61949
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
61950
+ lookbehind: true
61951
+ }
61952
+ };
61953
+ commandAfterHeredoc.inside = Prism.languages.bash;
61954
+ /* Patterns in command substitution. */
61955
+ var toBeCopied = [
61956
+ 'comment',
61957
+ 'function-name',
61958
+ 'for-or-select',
61959
+ 'assign-left',
61960
+ 'string',
61961
+ 'environment',
61962
+ 'function',
61963
+ 'keyword',
61964
+ 'builtin',
61965
+ 'boolean',
61966
+ 'file-descriptor',
61967
+ 'operator',
61968
+ 'punctuation',
61969
+ 'number'
61970
+ ];
61971
+ var inside = insideString.variable[1].inside;
61972
+ for (var i = 0; i < toBeCopied.length; i++) {
61973
+ inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
61974
+ }
61975
+ Prism.languages.shell = Prism.languages.bash;
61976
+ })(Prism);
61752
61977
  }
61753
61978
 
61754
- var bash_1;
61755
- var hasRequiredBash;
61979
+ var bash$2 = /*#__PURE__*/_mergeNamespaces({
61980
+ __proto__: null,
61981
+ 'default': bash_1
61982
+ }, [bash_1]);
61983
+
61984
+ var basic_1 = basic$1;
61985
+ basic$1.displayName = 'basic';
61986
+ basic$1.aliases = [];
61987
+ function basic$1(Prism) {
61988
+ Prism.languages.basic = {
61989
+ comment: {
61990
+ pattern: /(?:!|REM\b).+/i,
61991
+ inside: {
61992
+ keyword: /^REM/i
61993
+ }
61994
+ },
61995
+ string: {
61996
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
61997
+ greedy: true
61998
+ },
61999
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62000
+ keyword:
62001
+ /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
62002
+ function:
62003
+ /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
62004
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
62005
+ punctuation: /[,;:()]/
62006
+ };
62007
+ }
61756
62008
 
61757
- function requireBash () {
61758
- if (hasRequiredBash) return bash_1;
61759
- hasRequiredBash = 1;
62009
+ var basic$2 = /*#__PURE__*/_mergeNamespaces({
62010
+ __proto__: null,
62011
+ 'default': basic_1
62012
+ }, [basic_1]);
61760
62013
 
61761
- bash_1 = bash;
61762
- bash.displayName = 'bash';
61763
- bash.aliases = ['shell'];
61764
- function bash(Prism) {
62014
+ var batch_1 = batch;
62015
+ batch.displayName = 'batch';
62016
+ batch.aliases = [];
62017
+ function batch(Prism) {
61765
62018
  (function (Prism) {
61766
- // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
61767
- // + LC_ALL, RANDOM, REPLY, SECONDS.
61768
- // + make sure PS1..4 are here as they are not always set,
61769
- // - some useless things.
61770
- var envVars =
61771
- '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
61772
- var commandAfterHeredoc = {
61773
- pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
61774
- lookbehind: true,
61775
- alias: 'punctuation',
61776
- // this looks reasonably well in all themes
61777
- inside: null // see below
61778
- };
61779
- var insideString = {
61780
- bash: commandAfterHeredoc,
61781
- environment: {
61782
- pattern: RegExp('\\$' + envVars),
61783
- alias: 'constant'
61784
- },
61785
- variable: [
61786
- // [0]: Arithmetic Environment
61787
- {
61788
- pattern: /\$?\(\([\s\S]+?\)\)/,
61789
- greedy: true,
61790
- inside: {
61791
- // If there is a $ sign at the beginning highlight $(( and )) as variable
61792
- variable: [
61793
- {
61794
- pattern: /(^\$\(\([\s\S]+)\)\)/,
61795
- lookbehind: true
61796
- },
61797
- /^\$\(\(/
61798
- ],
61799
- number:
61800
- /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
61801
- // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
61802
- operator:
61803
- /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
61804
- // If there is no $ sign at the beginning highlight (( and )) as punctuation
61805
- punctuation: /\(\(?|\)\)?|,|;/
61806
- }
61807
- }, // [1]: Command Substitution
61808
- {
61809
- pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
61810
- greedy: true,
61811
- inside: {
61812
- variable: /^\$\(|^`|\)$|`$/
61813
- }
61814
- }, // [2]: Brace expansion
61815
- {
61816
- pattern: /\$\{[^}]+\}/,
61817
- greedy: true,
61818
- inside: {
61819
- operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
61820
- punctuation: /[\[\]]/,
61821
- environment: {
61822
- pattern: RegExp('(\\{)' + envVars),
61823
- lookbehind: true,
61824
- alias: 'constant'
61825
- }
61826
- }
61827
- },
61828
- /\$(?:\w+|[#?*!@$])/
61829
- ],
61830
- // Escape sequences from echo and printf's manuals, and escaped quotes.
61831
- entity:
61832
- /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
61833
- };
61834
- Prism.languages.bash = {
61835
- shebang: {
61836
- pattern: /^#!\s*\/.*/,
61837
- alias: 'important'
61838
- },
61839
- comment: {
61840
- pattern: /(^|[^"{\\$])#.*/,
61841
- lookbehind: true
61842
- },
61843
- 'function-name': [
61844
- // a) function foo {
61845
- // b) foo() {
61846
- // c) function foo() {
61847
- // but not “foo {”
61848
- {
61849
- // a) and c)
61850
- pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
61851
- lookbehind: true,
61852
- alias: 'function'
61853
- },
61854
- {
61855
- // b)
61856
- pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
61857
- alias: 'function'
61858
- }
61859
- ],
61860
- // Highlight variable names as variables in for and select beginnings.
61861
- 'for-or-select': {
61862
- pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
61863
- alias: 'variable',
61864
- lookbehind: true
61865
- },
61866
- // Highlight variable names as variables in the left-hand part
61867
- // of assignments (“=” and “+=”).
61868
- 'assign-left': {
61869
- pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
61870
- inside: {
61871
- environment: {
61872
- pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
61873
- lookbehind: true,
61874
- alias: 'constant'
61875
- }
61876
- },
61877
- alias: 'variable',
61878
- lookbehind: true
61879
- },
61880
- string: [
61881
- // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
61882
- {
61883
- pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
61884
- lookbehind: true,
61885
- greedy: true,
61886
- inside: insideString
61887
- }, // Here-document with quotes around the tag
61888
- // → No expansion (so no “inside”).
61889
- {
61890
- pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
61891
- lookbehind: true,
61892
- greedy: true,
61893
- inside: {
61894
- bash: commandAfterHeredoc
61895
- }
61896
- }, // “Normal” string
61897
- {
61898
- // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
61899
- pattern:
61900
- /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
61901
- lookbehind: true,
61902
- greedy: true,
61903
- inside: insideString
61904
- },
61905
- {
61906
- // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
61907
- pattern: /(^|[^$\\])'[^']*'/,
61908
- lookbehind: true,
61909
- greedy: true
61910
- },
61911
- {
61912
- // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
61913
- pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
61914
- greedy: true,
61915
- inside: {
61916
- entity: insideString.entity
61917
- }
61918
- }
61919
- ],
61920
- environment: {
61921
- pattern: RegExp('\\$?' + envVars),
61922
- alias: 'constant'
61923
- },
61924
- variable: insideString.variable,
61925
- function: {
61926
- pattern:
61927
- /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
61928
- lookbehind: true
61929
- },
61930
- keyword: {
61931
- pattern:
61932
- /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
61933
- lookbehind: true
61934
- },
61935
- // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
61936
- builtin: {
61937
- pattern:
61938
- /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
61939
- lookbehind: true,
61940
- // Alias added to make those easier to distinguish from strings.
61941
- alias: 'class-name'
61942
- },
61943
- boolean: {
61944
- pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
61945
- lookbehind: true
61946
- },
61947
- 'file-descriptor': {
61948
- pattern: /\B&\d\b/,
61949
- alias: 'important'
61950
- },
61951
- operator: {
61952
- // Lots of redirections here, but not just that.
61953
- pattern:
61954
- /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
61955
- inside: {
61956
- 'file-descriptor': {
61957
- pattern: /^\d/,
61958
- alias: 'important'
61959
- }
61960
- }
61961
- },
61962
- punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
61963
- number: {
61964
- pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
61965
- lookbehind: true
61966
- }
61967
- };
61968
- commandAfterHeredoc.inside = Prism.languages.bash;
61969
- /* Patterns in command substitution. */
61970
- var toBeCopied = [
61971
- 'comment',
61972
- 'function-name',
61973
- 'for-or-select',
61974
- 'assign-left',
61975
- 'string',
61976
- 'environment',
61977
- 'function',
61978
- 'keyword',
61979
- 'builtin',
61980
- 'boolean',
61981
- 'file-descriptor',
61982
- 'operator',
61983
- 'punctuation',
61984
- 'number'
61985
- ];
61986
- var inside = insideString.variable[1].inside;
61987
- for (var i = 0; i < toBeCopied.length; i++) {
61988
- inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
61989
- }
61990
- Prism.languages.shell = Prism.languages.bash;
61991
- })(Prism);
61992
- }
61993
- return bash_1;
61994
- }
61995
-
61996
- var basic_1;
61997
- var hasRequiredBasic;
61998
-
61999
- function requireBasic () {
62000
- if (hasRequiredBasic) return basic_1;
62001
- hasRequiredBasic = 1;
62002
-
62003
- basic_1 = basic;
62004
- basic.displayName = 'basic';
62005
- basic.aliases = [];
62006
- function basic(Prism) {
62007
- Prism.languages.basic = {
62008
- comment: {
62009
- pattern: /(?:!|REM\b).+/i,
62010
- inside: {
62011
- keyword: /^REM/i
62012
- }
62013
- },
62014
- string: {
62015
- pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
62016
- greedy: true
62017
- },
62018
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62019
- keyword:
62020
- /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
62021
- function:
62022
- /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
62023
- operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
62024
- punctuation: /[,;:()]/
62025
- };
62026
- }
62027
- return basic_1;
62019
+ var variable = /%%?[~:\w]+%?|!\S+!/;
62020
+ var parameter = {
62021
+ pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
62022
+ alias: 'attr-name',
62023
+ inside: {
62024
+ punctuation: /:/
62025
+ }
62026
+ };
62027
+ var string = /"(?:[\\"]"|[^"])*"(?!")/;
62028
+ var number = /(?:\b|-)\d+\b/;
62029
+ Prism.languages.batch = {
62030
+ comment: [
62031
+ /^::.*/m,
62032
+ {
62033
+ pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62034
+ lookbehind: true
62035
+ }
62036
+ ],
62037
+ label: {
62038
+ pattern: /^:.*/m,
62039
+ alias: 'property'
62040
+ },
62041
+ command: [
62042
+ {
62043
+ // FOR command
62044
+ pattern:
62045
+ /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
62046
+ lookbehind: true,
62047
+ inside: {
62048
+ keyword: /\b(?:do|in)\b|^for\b/i,
62049
+ string: string,
62050
+ parameter: parameter,
62051
+ variable: variable,
62052
+ number: number,
62053
+ punctuation: /[()',]/
62054
+ }
62055
+ },
62056
+ {
62057
+ // IF command
62058
+ pattern:
62059
+ /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
62060
+ lookbehind: true,
62061
+ inside: {
62062
+ keyword:
62063
+ /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
62064
+ string: string,
62065
+ parameter: parameter,
62066
+ variable: variable,
62067
+ number: number,
62068
+ operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
62069
+ }
62070
+ },
62071
+ {
62072
+ // ELSE command
62073
+ pattern: /((?:^|[&()])[ \t]*)else\b/im,
62074
+ lookbehind: true,
62075
+ inside: {
62076
+ keyword: /^else\b/i
62077
+ }
62078
+ },
62079
+ {
62080
+ // SET command
62081
+ pattern:
62082
+ /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62083
+ lookbehind: true,
62084
+ inside: {
62085
+ keyword: /^set\b/i,
62086
+ string: string,
62087
+ parameter: parameter,
62088
+ variable: [variable, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
62089
+ number: number,
62090
+ operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
62091
+ punctuation: /[()',]/
62092
+ }
62093
+ },
62094
+ {
62095
+ // Other commands
62096
+ pattern:
62097
+ /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
62098
+ lookbehind: true,
62099
+ inside: {
62100
+ keyword: /^\w+\b/,
62101
+ string: string,
62102
+ parameter: parameter,
62103
+ label: {
62104
+ pattern: /(^\s*):\S+/m,
62105
+ lookbehind: true,
62106
+ alias: 'property'
62107
+ },
62108
+ variable: variable,
62109
+ number: number,
62110
+ operator: /\^/
62111
+ }
62112
+ }
62113
+ ],
62114
+ operator: /[&@]/,
62115
+ punctuation: /[()']/
62116
+ };
62117
+ })(Prism);
62028
62118
  }
62029
62119
 
62030
- var batch_1;
62031
- var hasRequiredBatch;
62032
-
62033
- function requireBatch () {
62034
- if (hasRequiredBatch) return batch_1;
62035
- hasRequiredBatch = 1;
62036
-
62037
- batch_1 = batch;
62038
- batch.displayName = 'batch';
62039
- batch.aliases = [];
62040
- function batch(Prism) {
62041
- (function (Prism) {
62042
- var variable = /%%?[~:\w]+%?|!\S+!/;
62043
- var parameter = {
62044
- pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
62045
- alias: 'attr-name',
62046
- inside: {
62047
- punctuation: /:/
62048
- }
62049
- };
62050
- var string = /"(?:[\\"]"|[^"])*"(?!")/;
62051
- var number = /(?:\b|-)\d+\b/;
62052
- Prism.languages.batch = {
62053
- comment: [
62054
- /^::.*/m,
62055
- {
62056
- pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62057
- lookbehind: true
62058
- }
62059
- ],
62060
- label: {
62061
- pattern: /^:.*/m,
62062
- alias: 'property'
62063
- },
62064
- command: [
62065
- {
62066
- // FOR command
62067
- pattern:
62068
- /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
62069
- lookbehind: true,
62070
- inside: {
62071
- keyword: /\b(?:do|in)\b|^for\b/i,
62072
- string: string,
62073
- parameter: parameter,
62074
- variable: variable,
62075
- number: number,
62076
- punctuation: /[()',]/
62077
- }
62078
- },
62079
- {
62080
- // IF command
62081
- pattern:
62082
- /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
62083
- lookbehind: true,
62084
- inside: {
62085
- keyword:
62086
- /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
62087
- string: string,
62088
- parameter: parameter,
62089
- variable: variable,
62090
- number: number,
62091
- operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
62092
- }
62093
- },
62094
- {
62095
- // ELSE command
62096
- pattern: /((?:^|[&()])[ \t]*)else\b/im,
62097
- lookbehind: true,
62098
- inside: {
62099
- keyword: /^else\b/i
62100
- }
62101
- },
62102
- {
62103
- // SET command
62104
- pattern:
62105
- /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
62106
- lookbehind: true,
62107
- inside: {
62108
- keyword: /^set\b/i,
62109
- string: string,
62110
- parameter: parameter,
62111
- variable: [variable, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
62112
- number: number,
62113
- operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
62114
- punctuation: /[()',]/
62115
- }
62116
- },
62117
- {
62118
- // Other commands
62119
- pattern:
62120
- /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
62121
- lookbehind: true,
62122
- inside: {
62123
- keyword: /^\w+\b/,
62124
- string: string,
62125
- parameter: parameter,
62126
- label: {
62127
- pattern: /(^\s*):\S+/m,
62128
- lookbehind: true,
62129
- alias: 'property'
62130
- },
62131
- variable: variable,
62132
- number: number,
62133
- operator: /\^/
62134
- }
62135
- }
62136
- ],
62137
- operator: /[&@]/,
62138
- punctuation: /[()']/
62139
- };
62140
- })(Prism);
62141
- }
62142
- return batch_1;
62120
+ var batch$1 = /*#__PURE__*/_mergeNamespaces({
62121
+ __proto__: null,
62122
+ 'default': batch_1
62123
+ }, [batch_1]);
62124
+
62125
+ var bbcode_1 = bbcode;
62126
+ bbcode.displayName = 'bbcode';
62127
+ bbcode.aliases = ['shortcode'];
62128
+ function bbcode(Prism) {
62129
+ Prism.languages.bbcode = {
62130
+ tag: {
62131
+ pattern:
62132
+ /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
62133
+ inside: {
62134
+ tag: {
62135
+ pattern: /^\[\/?[^\s=\]]+/,
62136
+ inside: {
62137
+ punctuation: /^\[\/?/
62138
+ }
62139
+ },
62140
+ 'attr-value': {
62141
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
62142
+ inside: {
62143
+ punctuation: [
62144
+ /^=/,
62145
+ {
62146
+ pattern: /^(\s*)["']|["']$/,
62147
+ lookbehind: true
62148
+ }
62149
+ ]
62150
+ }
62151
+ },
62152
+ punctuation: /\]/,
62153
+ 'attr-name': /[^\s=\]]+/
62154
+ }
62155
+ }
62156
+ };
62157
+ Prism.languages.shortcode = Prism.languages.bbcode;
62143
62158
  }
62144
62159
 
62145
- var bbcode_1;
62146
- var hasRequiredBbcode;
62147
-
62148
- function requireBbcode () {
62149
- if (hasRequiredBbcode) return bbcode_1;
62150
- hasRequiredBbcode = 1;
62151
-
62152
- bbcode_1 = bbcode;
62153
- bbcode.displayName = 'bbcode';
62154
- bbcode.aliases = ['shortcode'];
62155
- function bbcode(Prism) {
62156
- Prism.languages.bbcode = {
62157
- tag: {
62158
- pattern:
62159
- /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
62160
- inside: {
62161
- tag: {
62162
- pattern: /^\[\/?[^\s=\]]+/,
62163
- inside: {
62164
- punctuation: /^\[\/?/
62165
- }
62166
- },
62167
- 'attr-value': {
62168
- pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
62169
- inside: {
62170
- punctuation: [
62171
- /^=/,
62172
- {
62173
- pattern: /^(\s*)["']|["']$/,
62174
- lookbehind: true
62175
- }
62176
- ]
62177
- }
62178
- },
62179
- punctuation: /\]/,
62180
- 'attr-name': /[^\s=\]]+/
62181
- }
62182
- }
62183
- };
62184
- Prism.languages.shortcode = Prism.languages.bbcode;
62185
- }
62186
- return bbcode_1;
62160
+ var bbcode$1 = /*#__PURE__*/_mergeNamespaces({
62161
+ __proto__: null,
62162
+ 'default': bbcode_1
62163
+ }, [bbcode_1]);
62164
+
62165
+ var bicep_1 = bicep;
62166
+ bicep.displayName = 'bicep';
62167
+ bicep.aliases = [];
62168
+ function bicep(Prism) {
62169
+ // based loosely upon: https://github.com/Azure/bicep/blob/main/src/textmate/bicep.tmlanguage
62170
+ Prism.languages.bicep = {
62171
+ comment: [
62172
+ {
62173
+ // multiline comments eg /* ASDF */
62174
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62175
+ lookbehind: true,
62176
+ greedy: true
62177
+ },
62178
+ {
62179
+ // singleline comments eg // ASDF
62180
+ pattern: /(^|[^\\:])\/\/.*/,
62181
+ lookbehind: true,
62182
+ greedy: true
62183
+ }
62184
+ ],
62185
+ property: [
62186
+ {
62187
+ pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
62188
+ lookbehind: true
62189
+ },
62190
+ {
62191
+ pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
62192
+ lookbehind: true,
62193
+ greedy: true
62194
+ }
62195
+ ],
62196
+ string: [
62197
+ {
62198
+ pattern: /'''[^'][\s\S]*?'''/,
62199
+ greedy: true
62200
+ },
62201
+ {
62202
+ pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
62203
+ lookbehind: true,
62204
+ greedy: true
62205
+ }
62206
+ ],
62207
+ 'interpolated-string': {
62208
+ pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
62209
+ lookbehind: true,
62210
+ greedy: true,
62211
+ inside: {
62212
+ interpolation: {
62213
+ pattern: /\$\{[^{}\r\n]*\}/,
62214
+ inside: {
62215
+ expression: {
62216
+ pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62217
+ lookbehind: true
62218
+ },
62219
+ punctuation: /^\$\{|\}$/
62220
+ }
62221
+ },
62222
+ string: /[\s\S]+/
62223
+ }
62224
+ },
62225
+ datatype: {
62226
+ pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
62227
+ lookbehind: true,
62228
+ alias: 'class-name'
62229
+ },
62230
+ boolean: /\b(?:false|true)\b/,
62231
+ // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
62232
+ keyword:
62233
+ /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
62234
+ decorator: /@\w+\b/,
62235
+ function: /\b[a-z_]\w*(?=[ \t]*\()/i,
62236
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62237
+ operator:
62238
+ /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
62239
+ punctuation: /[{}[\];(),.:]/
62240
+ };
62241
+ Prism.languages.bicep['interpolated-string'].inside['interpolation'].inside[
62242
+ 'expression'
62243
+ ].inside = Prism.languages.bicep;
62187
62244
  }
62188
62245
 
62189
- var bicep_1;
62190
- var hasRequiredBicep;
62191
-
62192
- function requireBicep () {
62193
- if (hasRequiredBicep) return bicep_1;
62194
- hasRequiredBicep = 1;
62195
-
62196
- bicep_1 = bicep;
62197
- bicep.displayName = 'bicep';
62198
- bicep.aliases = [];
62199
- function bicep(Prism) {
62200
- // based loosely upon: https://github.com/Azure/bicep/blob/main/src/textmate/bicep.tmlanguage
62201
- Prism.languages.bicep = {
62202
- comment: [
62203
- {
62204
- // multiline comments eg /* ASDF */
62205
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62206
- lookbehind: true,
62207
- greedy: true
62208
- },
62209
- {
62210
- // singleline comments eg // ASDF
62211
- pattern: /(^|[^\\:])\/\/.*/,
62212
- lookbehind: true,
62213
- greedy: true
62214
- }
62215
- ],
62216
- property: [
62217
- {
62218
- pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
62219
- lookbehind: true
62220
- },
62221
- {
62222
- pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
62223
- lookbehind: true,
62224
- greedy: true
62225
- }
62226
- ],
62227
- string: [
62228
- {
62229
- pattern: /'''[^'][\s\S]*?'''/,
62230
- greedy: true
62231
- },
62232
- {
62233
- pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
62234
- lookbehind: true,
62235
- greedy: true
62236
- }
62237
- ],
62238
- 'interpolated-string': {
62239
- pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
62240
- lookbehind: true,
62241
- greedy: true,
62242
- inside: {
62243
- interpolation: {
62244
- pattern: /\$\{[^{}\r\n]*\}/,
62245
- inside: {
62246
- expression: {
62247
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62248
- lookbehind: true
62249
- },
62250
- punctuation: /^\$\{|\}$/
62251
- }
62252
- },
62253
- string: /[\s\S]+/
62254
- }
62255
- },
62256
- datatype: {
62257
- pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
62258
- lookbehind: true,
62259
- alias: 'class-name'
62260
- },
62261
- boolean: /\b(?:false|true)\b/,
62262
- // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
62263
- keyword:
62264
- /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
62265
- decorator: /@\w+\b/,
62266
- function: /\b[a-z_]\w*(?=[ \t]*\()/i,
62267
- number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
62268
- operator:
62269
- /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
62270
- punctuation: /[{}[\];(),.:]/
62271
- };
62272
- Prism.languages.bicep['interpolated-string'].inside['interpolation'].inside[
62273
- 'expression'
62274
- ].inside = Prism.languages.bicep;
62275
- }
62276
- return bicep_1;
62246
+ var bicep$1 = /*#__PURE__*/_mergeNamespaces({
62247
+ __proto__: null,
62248
+ 'default': bicep_1
62249
+ }, [bicep_1]);
62250
+
62251
+ var birb_1 = birb;
62252
+ birb.displayName = 'birb';
62253
+ birb.aliases = [];
62254
+ function birb(Prism) {
62255
+ Prism.languages.birb = Prism.languages.extend('clike', {
62256
+ string: {
62257
+ pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
62258
+ greedy: true
62259
+ },
62260
+ 'class-name': [
62261
+ /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/, // matches variable and function return types (parameters as well).
62262
+ /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
62263
+ ],
62264
+ keyword:
62265
+ /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
62266
+ operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
62267
+ variable: /\b[a-z_]\w*\b/
62268
+ });
62269
+ Prism.languages.insertBefore('birb', 'function', {
62270
+ metadata: {
62271
+ pattern: /<\w+>/,
62272
+ greedy: true,
62273
+ alias: 'symbol'
62274
+ }
62275
+ });
62277
62276
  }
62278
62277
 
62279
- var birb_1;
62280
- var hasRequiredBirb;
62281
-
62282
- function requireBirb () {
62283
- if (hasRequiredBirb) return birb_1;
62284
- hasRequiredBirb = 1;
62285
-
62286
- birb_1 = birb;
62287
- birb.displayName = 'birb';
62288
- birb.aliases = [];
62289
- function birb(Prism) {
62290
- Prism.languages.birb = Prism.languages.extend('clike', {
62291
- string: {
62292
- pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
62293
- greedy: true
62294
- },
62295
- 'class-name': [
62296
- /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/, // matches variable and function return types (parameters as well).
62297
- /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
62298
- ],
62299
- keyword:
62300
- /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
62301
- operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
62302
- variable: /\b[a-z_]\w*\b/
62303
- });
62304
- Prism.languages.insertBefore('birb', 'function', {
62305
- metadata: {
62306
- pattern: /<\w+>/,
62307
- greedy: true,
62308
- alias: 'symbol'
62309
- }
62310
- });
62311
- }
62312
- return birb_1;
62278
+ var birb$1 = /*#__PURE__*/_mergeNamespaces({
62279
+ __proto__: null,
62280
+ 'default': birb_1
62281
+ }, [birb_1]);
62282
+
62283
+ var refractorC = c_1;
62284
+ var bison_1 = bison;
62285
+ bison.displayName = 'bison';
62286
+ bison.aliases = [];
62287
+ function bison(Prism) {
62288
+ Prism.register(refractorC);
62289
+ Prism.languages.bison = Prism.languages.extend('c', {});
62290
+ Prism.languages.insertBefore('bison', 'comment', {
62291
+ bison: {
62292
+ // This should match all the beginning of the file
62293
+ // including the prologue(s), the bison declarations and
62294
+ // the grammar rules.
62295
+ pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,
62296
+ inside: {
62297
+ c: {
62298
+ // Allow for one level of nested braces
62299
+ pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,
62300
+ inside: {
62301
+ delimiter: {
62302
+ pattern: /^%?\{|%?\}$/,
62303
+ alias: 'punctuation'
62304
+ },
62305
+ 'bison-variable': {
62306
+ pattern: /[$@](?:<[^\s>]+>)?[\w$]+/,
62307
+ alias: 'variable',
62308
+ inside: {
62309
+ punctuation: /<|>/
62310
+ }
62311
+ },
62312
+ rest: Prism.languages.c
62313
+ }
62314
+ },
62315
+ comment: Prism.languages.c.comment,
62316
+ string: Prism.languages.c.string,
62317
+ property: /\S+(?=:)/,
62318
+ keyword: /%\w+/,
62319
+ number: {
62320
+ pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i,
62321
+ lookbehind: true
62322
+ },
62323
+ punctuation: /%[%?]|[|:;\[\]<>]/
62324
+ }
62325
+ }
62326
+ });
62313
62327
  }
62314
62328
 
62315
- var bison_1;
62316
- var hasRequiredBison;
62317
-
62318
- function requireBison () {
62319
- if (hasRequiredBison) return bison_1;
62320
- hasRequiredBison = 1;
62321
- var refractorC = requireC();
62322
- bison_1 = bison;
62323
- bison.displayName = 'bison';
62324
- bison.aliases = [];
62325
- function bison(Prism) {
62326
- Prism.register(refractorC);
62327
- Prism.languages.bison = Prism.languages.extend('c', {});
62328
- Prism.languages.insertBefore('bison', 'comment', {
62329
- bison: {
62330
- // This should match all the beginning of the file
62331
- // including the prologue(s), the bison declarations and
62332
- // the grammar rules.
62333
- pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,
62334
- inside: {
62335
- c: {
62336
- // Allow for one level of nested braces
62337
- pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,
62338
- inside: {
62339
- delimiter: {
62340
- pattern: /^%?\{|%?\}$/,
62341
- alias: 'punctuation'
62342
- },
62343
- 'bison-variable': {
62344
- pattern: /[$@](?:<[^\s>]+>)?[\w$]+/,
62345
- alias: 'variable',
62346
- inside: {
62347
- punctuation: /<|>/
62348
- }
62349
- },
62350
- rest: Prism.languages.c
62351
- }
62352
- },
62353
- comment: Prism.languages.c.comment,
62354
- string: Prism.languages.c.string,
62355
- property: /\S+(?=:)/,
62356
- keyword: /%\w+/,
62357
- number: {
62358
- pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i,
62359
- lookbehind: true
62360
- },
62361
- punctuation: /%[%?]|[|:;\[\]<>]/
62362
- }
62363
- }
62364
- });
62365
- }
62366
- return bison_1;
62329
+ var bison$1 = /*#__PURE__*/_mergeNamespaces({
62330
+ __proto__: null,
62331
+ 'default': bison_1
62332
+ }, [bison_1]);
62333
+
62334
+ var bnf_1 = bnf$1;
62335
+ bnf$1.displayName = 'bnf';
62336
+ bnf$1.aliases = ['rbnf'];
62337
+ function bnf$1(Prism) {
62338
+ Prism.languages.bnf = {
62339
+ string: {
62340
+ pattern: /"[^\r\n"]*"|'[^\r\n']*'/
62341
+ },
62342
+ definition: {
62343
+ pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
62344
+ alias: ['rule', 'keyword'],
62345
+ inside: {
62346
+ punctuation: /^<|>$/
62347
+ }
62348
+ },
62349
+ rule: {
62350
+ pattern: /<[^<>\r\n\t]+>/,
62351
+ inside: {
62352
+ punctuation: /^<|>$/
62353
+ }
62354
+ },
62355
+ operator: /::=|[|()[\]{}*+?]|\.{3}/
62356
+ };
62357
+ Prism.languages.rbnf = Prism.languages.bnf;
62367
62358
  }
62368
62359
 
62369
- var bnf_1;
62370
- var hasRequiredBnf;
62371
-
62372
- function requireBnf () {
62373
- if (hasRequiredBnf) return bnf_1;
62374
- hasRequiredBnf = 1;
62375
-
62376
- bnf_1 = bnf;
62377
- bnf.displayName = 'bnf';
62378
- bnf.aliases = ['rbnf'];
62379
- function bnf(Prism) {
62380
- Prism.languages.bnf = {
62381
- string: {
62382
- pattern: /"[^\r\n"]*"|'[^\r\n']*'/
62383
- },
62384
- definition: {
62385
- pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
62386
- alias: ['rule', 'keyword'],
62387
- inside: {
62388
- punctuation: /^<|>$/
62389
- }
62390
- },
62391
- rule: {
62392
- pattern: /<[^<>\r\n\t]+>/,
62393
- inside: {
62394
- punctuation: /^<|>$/
62395
- }
62396
- },
62397
- operator: /::=|[|()[\]{}*+?]|\.{3}/
62398
- };
62399
- Prism.languages.rbnf = Prism.languages.bnf;
62400
- }
62401
- return bnf_1;
62360
+ var bnf$2 = /*#__PURE__*/_mergeNamespaces({
62361
+ __proto__: null,
62362
+ 'default': bnf_1
62363
+ }, [bnf_1]);
62364
+
62365
+ var brainfuck_1 = brainfuck$1;
62366
+ brainfuck$1.displayName = 'brainfuck';
62367
+ brainfuck$1.aliases = [];
62368
+ function brainfuck$1(Prism) {
62369
+ Prism.languages.brainfuck = {
62370
+ pointer: {
62371
+ pattern: /<|>/,
62372
+ alias: 'keyword'
62373
+ },
62374
+ increment: {
62375
+ pattern: /\+/,
62376
+ alias: 'inserted'
62377
+ },
62378
+ decrement: {
62379
+ pattern: /-/,
62380
+ alias: 'deleted'
62381
+ },
62382
+ branching: {
62383
+ pattern: /\[|\]/,
62384
+ alias: 'important'
62385
+ },
62386
+ operator: /[.,]/,
62387
+ comment: /\S+/
62388
+ };
62402
62389
  }
62403
62390
 
62404
- var brainfuck_1;
62405
- var hasRequiredBrainfuck;
62406
-
62407
- function requireBrainfuck () {
62408
- if (hasRequiredBrainfuck) return brainfuck_1;
62409
- hasRequiredBrainfuck = 1;
62410
-
62411
- brainfuck_1 = brainfuck;
62412
- brainfuck.displayName = 'brainfuck';
62413
- brainfuck.aliases = [];
62414
- function brainfuck(Prism) {
62415
- Prism.languages.brainfuck = {
62416
- pointer: {
62417
- pattern: /<|>/,
62418
- alias: 'keyword'
62419
- },
62420
- increment: {
62421
- pattern: /\+/,
62422
- alias: 'inserted'
62423
- },
62424
- decrement: {
62425
- pattern: /-/,
62426
- alias: 'deleted'
62427
- },
62428
- branching: {
62429
- pattern: /\[|\]/,
62430
- alias: 'important'
62431
- },
62432
- operator: /[.,]/,
62433
- comment: /\S+/
62434
- };
62435
- }
62436
- return brainfuck_1;
62391
+ var brainfuck$2 = /*#__PURE__*/_mergeNamespaces({
62392
+ __proto__: null,
62393
+ 'default': brainfuck_1
62394
+ }, [brainfuck_1]);
62395
+
62396
+ var brightscript_1 = brightscript;
62397
+ brightscript.displayName = 'brightscript';
62398
+ brightscript.aliases = [];
62399
+ function brightscript(Prism) {
62400
+ Prism.languages.brightscript = {
62401
+ comment: /(?:\brem|').*/i,
62402
+ 'directive-statement': {
62403
+ pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,
62404
+ lookbehind: true,
62405
+ alias: 'property',
62406
+ inside: {
62407
+ 'error-message': {
62408
+ pattern: /(^#error).+/,
62409
+ lookbehind: true
62410
+ },
62411
+ directive: {
62412
+ pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,
62413
+ alias: 'keyword'
62414
+ },
62415
+ expression: {
62416
+ pattern: /[\s\S]+/,
62417
+ inside: null // see below
62418
+ }
62419
+ }
62420
+ },
62421
+ property: {
62422
+ pattern:
62423
+ /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,
62424
+ lookbehind: true,
62425
+ greedy: true
62426
+ },
62427
+ string: {
62428
+ pattern: /"(?:[^"\r\n]|"")*"(?!")/,
62429
+ greedy: true
62430
+ },
62431
+ 'class-name': {
62432
+ pattern: /(\bAs[\t ]+)\w+/i,
62433
+ lookbehind: true
62434
+ },
62435
+ keyword:
62436
+ /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,
62437
+ boolean: /\b(?:false|true)\b/i,
62438
+ function: /\b(?!\d)\w+(?=[\t ]*\()/,
62439
+ number: /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,
62440
+ operator:
62441
+ /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,
62442
+ punctuation: /[.,;()[\]{}]/,
62443
+ constant: /\b(?:LINE_NUM)\b/i
62444
+ };
62445
+ Prism.languages.brightscript['directive-statement'].inside.expression.inside =
62446
+ Prism.languages.brightscript;
62437
62447
  }
62438
62448
 
62439
- var brightscript_1;
62440
- var hasRequiredBrightscript;
62441
-
62442
- function requireBrightscript () {
62443
- if (hasRequiredBrightscript) return brightscript_1;
62444
- hasRequiredBrightscript = 1;
62445
-
62446
- brightscript_1 = brightscript;
62447
- brightscript.displayName = 'brightscript';
62448
- brightscript.aliases = [];
62449
- function brightscript(Prism) {
62450
- Prism.languages.brightscript = {
62451
- comment: /(?:\brem|').*/i,
62452
- 'directive-statement': {
62453
- pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,
62454
- lookbehind: true,
62455
- alias: 'property',
62456
- inside: {
62457
- 'error-message': {
62458
- pattern: /(^#error).+/,
62459
- lookbehind: true
62460
- },
62461
- directive: {
62462
- pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,
62463
- alias: 'keyword'
62464
- },
62465
- expression: {
62466
- pattern: /[\s\S]+/,
62467
- inside: null // see below
62468
- }
62469
- }
62470
- },
62471
- property: {
62472
- pattern:
62473
- /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,
62474
- lookbehind: true,
62475
- greedy: true
62476
- },
62477
- string: {
62478
- pattern: /"(?:[^"\r\n]|"")*"(?!")/,
62479
- greedy: true
62480
- },
62481
- 'class-name': {
62482
- pattern: /(\bAs[\t ]+)\w+/i,
62483
- lookbehind: true
62484
- },
62485
- keyword:
62486
- /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,
62487
- boolean: /\b(?:false|true)\b/i,
62488
- function: /\b(?!\d)\w+(?=[\t ]*\()/,
62489
- number: /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,
62490
- operator:
62491
- /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,
62492
- punctuation: /[.,;()[\]{}]/,
62493
- constant: /\b(?:LINE_NUM)\b/i
62494
- };
62495
- Prism.languages.brightscript['directive-statement'].inside.expression.inside =
62496
- Prism.languages.brightscript;
62497
- }
62498
- return brightscript_1;
62449
+ var brightscript$1 = /*#__PURE__*/_mergeNamespaces({
62450
+ __proto__: null,
62451
+ 'default': brightscript_1
62452
+ }, [brightscript_1]);
62453
+
62454
+ var bro_1 = bro;
62455
+ bro.displayName = 'bro';
62456
+ bro.aliases = [];
62457
+ function bro(Prism) {
62458
+ Prism.languages.bro = {
62459
+ comment: {
62460
+ pattern: /(^|[^\\$])#.*/,
62461
+ lookbehind: true,
62462
+ inside: {
62463
+ italic: /\b(?:FIXME|TODO|XXX)\b/
62464
+ }
62465
+ },
62466
+ string: {
62467
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
62468
+ greedy: true
62469
+ },
62470
+ boolean: /\b[TF]\b/,
62471
+ function: {
62472
+ pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,
62473
+ lookbehind: true
62474
+ },
62475
+ builtin:
62476
+ /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,
62477
+ constant: {
62478
+ pattern: /(\bconst[ \t]+)\w+/i,
62479
+ lookbehind: true
62480
+ },
62481
+ keyword:
62482
+ /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,
62483
+ operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,
62484
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
62485
+ punctuation: /[{}[\];(),.:]/
62486
+ };
62499
62487
  }
62500
62488
 
62501
- var bro_1;
62502
- var hasRequiredBro;
62503
-
62504
- function requireBro () {
62505
- if (hasRequiredBro) return bro_1;
62506
- hasRequiredBro = 1;
62507
-
62508
- bro_1 = bro;
62509
- bro.displayName = 'bro';
62510
- bro.aliases = [];
62511
- function bro(Prism) {
62512
- Prism.languages.bro = {
62513
- comment: {
62514
- pattern: /(^|[^\\$])#.*/,
62515
- lookbehind: true,
62516
- inside: {
62517
- italic: /\b(?:FIXME|TODO|XXX)\b/
62518
- }
62519
- },
62520
- string: {
62521
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
62522
- greedy: true
62523
- },
62524
- boolean: /\b[TF]\b/,
62525
- function: {
62526
- pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,
62527
- lookbehind: true
62528
- },
62529
- builtin:
62530
- /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,
62531
- constant: {
62532
- pattern: /(\bconst[ \t]+)\w+/i,
62533
- lookbehind: true
62534
- },
62535
- keyword:
62536
- /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,
62537
- operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,
62538
- number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
62539
- punctuation: /[{}[\];(),.:]/
62540
- };
62541
- }
62542
- return bro_1;
62489
+ var bro$1 = /*#__PURE__*/_mergeNamespaces({
62490
+ __proto__: null,
62491
+ 'default': bro_1
62492
+ }, [bro_1]);
62493
+
62494
+ var bsl_1 = bsl;
62495
+ bsl.displayName = 'bsl';
62496
+ bsl.aliases = [];
62497
+ function bsl(Prism) {
62498
+ /* eslint-disable no-misleading-character-class */
62499
+ // 1C:Enterprise
62500
+ // https://github.com/Diversus23/
62501
+ //
62502
+ Prism.languages.bsl = {
62503
+ comment: /\/\/.*/,
62504
+ string: [
62505
+ // Строки
62506
+ // Strings
62507
+ {
62508
+ pattern: /"(?:[^"]|"")*"(?!")/,
62509
+ greedy: true
62510
+ }, // Дата и время
62511
+ // Date & time
62512
+ {
62513
+ pattern: /'(?:[^'\r\n\\]|\\.)*'/
62514
+ }
62515
+ ],
62516
+ keyword: [
62517
+ {
62518
+ // RU
62519
+ pattern:
62520
+ /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62521
+ lookbehind: true
62522
+ },
62523
+ {
62524
+ // EN
62525
+ pattern:
62526
+ /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
62527
+ }
62528
+ ],
62529
+ number: {
62530
+ pattern:
62531
+ /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
62532
+ lookbehind: true
62533
+ },
62534
+ operator: [
62535
+ /[<>+\-*/]=?|[%=]/, // RU
62536
+ {
62537
+ pattern:
62538
+ /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62539
+ lookbehind: true
62540
+ }, // EN
62541
+ {
62542
+ pattern: /\b(?:and|not|or)\b/i
62543
+ }
62544
+ ],
62545
+ punctuation: /\(\.|\.\)|[()\[\]:;,.]/,
62546
+ directive: [
62547
+ // Теги препроцессора вида &Клиент, &Сервер, ...
62548
+ // Preprocessor tags of the type &Client, &Server, ...
62549
+ {
62550
+ pattern: /^([ \t]*)&.*/m,
62551
+ lookbehind: true,
62552
+ greedy: true,
62553
+ alias: 'important'
62554
+ }, // Инструкции препроцессора вида:
62555
+ // #Если Сервер Тогда
62556
+ // ...
62557
+ // #КонецЕсли
62558
+ // Preprocessor instructions of the form:
62559
+ // #If Server Then
62560
+ // ...
62561
+ // #EndIf
62562
+ {
62563
+ pattern: /^([ \t]*)#.*/gm,
62564
+ lookbehind: true,
62565
+ greedy: true,
62566
+ alias: 'important'
62567
+ }
62568
+ ]
62569
+ };
62570
+ Prism.languages.oscript = Prism.languages['bsl'];
62543
62571
  }
62544
62572
 
62545
- var bsl_1;
62546
- var hasRequiredBsl;
62547
-
62548
- function requireBsl () {
62549
- if (hasRequiredBsl) return bsl_1;
62550
- hasRequiredBsl = 1;
62551
-
62552
- bsl_1 = bsl;
62553
- bsl.displayName = 'bsl';
62554
- bsl.aliases = [];
62555
- function bsl(Prism) {
62556
- /* eslint-disable no-misleading-character-class */
62557
- // 1C:Enterprise
62558
- // https://github.com/Diversus23/
62559
- //
62560
- Prism.languages.bsl = {
62561
- comment: /\/\/.*/,
62562
- string: [
62563
- // Строки
62564
- // Strings
62565
- {
62566
- pattern: /"(?:[^"]|"")*"(?!")/,
62567
- greedy: true
62568
- }, // Дата и время
62569
- // Date & time
62570
- {
62571
- pattern: /'(?:[^'\r\n\\]|\\.)*'/
62572
- }
62573
- ],
62574
- keyword: [
62575
- {
62576
- // RU
62577
- pattern:
62578
- /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62579
- lookbehind: true
62580
- },
62581
- {
62582
- // EN
62583
- pattern:
62584
- /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
62585
- }
62586
- ],
62587
- number: {
62588
- pattern:
62589
- /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
62590
- lookbehind: true
62591
- },
62592
- operator: [
62593
- /[<>+\-*/]=?|[%=]/, // RU
62594
- {
62595
- pattern:
62596
- /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
62597
- lookbehind: true
62598
- }, // EN
62599
- {
62600
- pattern: /\b(?:and|not|or)\b/i
62601
- }
62602
- ],
62603
- punctuation: /\(\.|\.\)|[()\[\]:;,.]/,
62604
- directive: [
62605
- // Теги препроцессора вида &Клиент, &Сервер, ...
62606
- // Preprocessor tags of the type &Client, &Server, ...
62607
- {
62608
- pattern: /^([ \t]*)&.*/m,
62609
- lookbehind: true,
62610
- greedy: true,
62611
- alias: 'important'
62612
- }, // Инструкции препроцессора вида:
62613
- // #Если Сервер Тогда
62614
- // ...
62615
- // #КонецЕсли
62616
- // Preprocessor instructions of the form:
62617
- // #If Server Then
62618
- // ...
62619
- // #EndIf
62620
- {
62621
- pattern: /^([ \t]*)#.*/gm,
62622
- lookbehind: true,
62623
- greedy: true,
62624
- alias: 'important'
62625
- }
62626
- ]
62627
- };
62628
- Prism.languages.oscript = Prism.languages['bsl'];
62629
- }
62630
- return bsl_1;
62573
+ var bsl$1 = /*#__PURE__*/_mergeNamespaces({
62574
+ __proto__: null,
62575
+ 'default': bsl_1
62576
+ }, [bsl_1]);
62577
+
62578
+ var cfscript_1 = cfscript;
62579
+ cfscript.displayName = 'cfscript';
62580
+ cfscript.aliases = [];
62581
+ function cfscript(Prism) {
62582
+ // https://cfdocs.org/script
62583
+ Prism.languages.cfscript = Prism.languages.extend('clike', {
62584
+ comment: [
62585
+ {
62586
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62587
+ lookbehind: true,
62588
+ inside: {
62589
+ annotation: {
62590
+ pattern: /(?:^|[^.])@[\w\.]+/,
62591
+ alias: 'punctuation'
62592
+ }
62593
+ }
62594
+ },
62595
+ {
62596
+ pattern: /(^|[^\\:])\/\/.*/,
62597
+ lookbehind: true,
62598
+ greedy: true
62599
+ }
62600
+ ],
62601
+ keyword:
62602
+ /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
62603
+ operator: [
62604
+ /\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,
62605
+ /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/
62606
+ ],
62607
+ scope: {
62608
+ pattern:
62609
+ /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
62610
+ alias: 'global'
62611
+ },
62612
+ type: {
62613
+ pattern:
62614
+ /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
62615
+ alias: 'builtin'
62616
+ }
62617
+ });
62618
+ Prism.languages.insertBefore('cfscript', 'keyword', {
62619
+ // This must be declared before keyword because we use "function" inside the lookahead
62620
+ 'function-variable': {
62621
+ pattern:
62622
+ /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
62623
+ alias: 'function'
62624
+ }
62625
+ });
62626
+ delete Prism.languages.cfscript['class-name'];
62627
+ Prism.languages.cfc = Prism.languages['cfscript'];
62631
62628
  }
62632
62629
 
62633
- var cfscript_1;
62634
- var hasRequiredCfscript;
62635
-
62636
- function requireCfscript () {
62637
- if (hasRequiredCfscript) return cfscript_1;
62638
- hasRequiredCfscript = 1;
62630
+ var cfscript$1 = /*#__PURE__*/_mergeNamespaces({
62631
+ __proto__: null,
62632
+ 'default': cfscript_1
62633
+ }, [cfscript_1]);
62639
62634
 
62640
- cfscript_1 = cfscript;
62641
- cfscript.displayName = 'cfscript';
62642
- cfscript.aliases = [];
62643
- function cfscript(Prism) {
62644
- // https://cfdocs.org/script
62645
- Prism.languages.cfscript = Prism.languages.extend('clike', {
62646
- comment: [
62647
- {
62648
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
62649
- lookbehind: true,
62650
- inside: {
62651
- annotation: {
62652
- pattern: /(?:^|[^.])@[\w\.]+/,
62653
- alias: 'punctuation'
62654
- }
62655
- }
62656
- },
62657
- {
62658
- pattern: /(^|[^\\:])\/\/.*/,
62659
- lookbehind: true,
62660
- greedy: true
62661
- }
62662
- ],
62663
- keyword:
62664
- /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
62665
- operator: [
62666
- /\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,
62667
- /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/
62668
- ],
62669
- scope: {
62670
- pattern:
62671
- /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
62672
- alias: 'global'
62673
- },
62674
- type: {
62675
- pattern:
62676
- /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
62677
- alias: 'builtin'
62678
- }
62679
- });
62680
- Prism.languages.insertBefore('cfscript', 'keyword', {
62681
- // This must be declared before keyword because we use "function" inside the lookahead
62682
- 'function-variable': {
62683
- pattern:
62684
- /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
62685
- alias: 'function'
62686
- }
62687
- });
62688
- delete Prism.languages.cfscript['class-name'];
62689
- Prism.languages.cfc = Prism.languages['cfscript'];
62690
- }
62691
- return cfscript_1;
62635
+ var refractorCpp = requireCpp();
62636
+ var chaiscript_1 = chaiscript;
62637
+ chaiscript.displayName = 'chaiscript';
62638
+ chaiscript.aliases = [];
62639
+ function chaiscript(Prism) {
62640
+ Prism.register(refractorCpp);
62641
+ Prism.languages.chaiscript = Prism.languages.extend('clike', {
62642
+ string: {
62643
+ pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
62644
+ lookbehind: true,
62645
+ greedy: true
62646
+ },
62647
+ 'class-name': [
62648
+ {
62649
+ // e.g. class Rectangle { ... }
62650
+ pattern: /(\bclass\s+)\w+/,
62651
+ lookbehind: true
62652
+ },
62653
+ {
62654
+ // e.g. attr Rectangle::height, def Rectangle::area() { ... }
62655
+ pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/,
62656
+ lookbehind: true
62657
+ }
62658
+ ],
62659
+ keyword:
62660
+ /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,
62661
+ number: [Prism.languages.cpp.number, /\b(?:Infinity|NaN)\b/],
62662
+ operator:
62663
+ />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/
62664
+ });
62665
+ Prism.languages.insertBefore('chaiscript', 'operator', {
62666
+ 'parameter-type': {
62667
+ // e.g. def foo(int x, Vector y) {...}
62668
+ pattern: /([,(]\s*)\w+(?=\s+\w)/,
62669
+ lookbehind: true,
62670
+ alias: 'class-name'
62671
+ }
62672
+ });
62673
+ Prism.languages.insertBefore('chaiscript', 'string', {
62674
+ 'string-interpolation': {
62675
+ pattern:
62676
+ /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,
62677
+ lookbehind: true,
62678
+ greedy: true,
62679
+ inside: {
62680
+ interpolation: {
62681
+ pattern:
62682
+ /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,
62683
+ lookbehind: true,
62684
+ inside: {
62685
+ 'interpolation-expression': {
62686
+ pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62687
+ lookbehind: true,
62688
+ inside: Prism.languages.chaiscript
62689
+ },
62690
+ 'interpolation-punctuation': {
62691
+ pattern: /^\$\{|\}$/,
62692
+ alias: 'punctuation'
62693
+ }
62694
+ }
62695
+ },
62696
+ string: /[\s\S]+/
62697
+ }
62698
+ }
62699
+ });
62692
62700
  }
62693
62701
 
62694
- var chaiscript_1;
62695
- var hasRequiredChaiscript;
62696
-
62697
- function requireChaiscript () {
62698
- if (hasRequiredChaiscript) return chaiscript_1;
62699
- hasRequiredChaiscript = 1;
62700
- var refractorCpp = requireCpp();
62701
- chaiscript_1 = chaiscript;
62702
- chaiscript.displayName = 'chaiscript';
62703
- chaiscript.aliases = [];
62704
- function chaiscript(Prism) {
62705
- Prism.register(refractorCpp);
62706
- Prism.languages.chaiscript = Prism.languages.extend('clike', {
62707
- string: {
62708
- pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
62709
- lookbehind: true,
62710
- greedy: true
62711
- },
62712
- 'class-name': [
62713
- {
62714
- // e.g. class Rectangle { ... }
62715
- pattern: /(\bclass\s+)\w+/,
62716
- lookbehind: true
62717
- },
62718
- {
62719
- // e.g. attr Rectangle::height, def Rectangle::area() { ... }
62720
- pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/,
62721
- lookbehind: true
62722
- }
62723
- ],
62724
- keyword:
62725
- /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,
62726
- number: [Prism.languages.cpp.number, /\b(?:Infinity|NaN)\b/],
62727
- operator:
62728
- />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/
62729
- });
62730
- Prism.languages.insertBefore('chaiscript', 'operator', {
62731
- 'parameter-type': {
62732
- // e.g. def foo(int x, Vector y) {...}
62733
- pattern: /([,(]\s*)\w+(?=\s+\w)/,
62734
- lookbehind: true,
62735
- alias: 'class-name'
62736
- }
62737
- });
62738
- Prism.languages.insertBefore('chaiscript', 'string', {
62739
- 'string-interpolation': {
62740
- pattern:
62741
- /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,
62742
- lookbehind: true,
62743
- greedy: true,
62744
- inside: {
62745
- interpolation: {
62746
- pattern:
62747
- /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,
62748
- lookbehind: true,
62749
- inside: {
62750
- 'interpolation-expression': {
62751
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
62752
- lookbehind: true,
62753
- inside: Prism.languages.chaiscript
62754
- },
62755
- 'interpolation-punctuation': {
62756
- pattern: /^\$\{|\}$/,
62757
- alias: 'punctuation'
62758
- }
62759
- }
62760
- },
62761
- string: /[\s\S]+/
62762
- }
62763
- }
62764
- });
62765
- }
62766
- return chaiscript_1;
62767
- }
62702
+ var chaiscript$1 = /*#__PURE__*/_mergeNamespaces({
62703
+ __proto__: null,
62704
+ 'default': chaiscript_1
62705
+ }, [chaiscript_1]);
62768
62706
 
62769
62707
  var cil_1;
62770
62708
  var hasRequiredCil;
@@ -62802,54 +62740,50 @@ function requireCil () {
62802
62740
  return cil_1;
62803
62741
  }
62804
62742
 
62805
- var clojure_1;
62806
- var hasRequiredClojure;
62807
-
62808
- function requireClojure () {
62809
- if (hasRequiredClojure) return clojure_1;
62810
- hasRequiredClojure = 1;
62811
-
62812
- clojure_1 = clojure;
62813
- clojure.displayName = 'clojure';
62814
- clojure.aliases = [];
62815
- function clojure(Prism) {
62816
- // Copied from https://github.com/jeluard/prism-clojure
62817
- Prism.languages.clojure = {
62818
- comment: {
62819
- pattern: /;.*/,
62820
- greedy: true
62821
- },
62822
- string: {
62823
- pattern: /"(?:[^"\\]|\\.)*"/,
62824
- greedy: true
62825
- },
62826
- char: /\\\w+/,
62827
- symbol: {
62828
- pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,
62829
- lookbehind: true
62830
- },
62831
- keyword: {
62832
- pattern:
62833
- /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,
62834
- lookbehind: true
62835
- },
62836
- boolean: /\b(?:false|nil|true)\b/,
62837
- number: {
62838
- pattern:
62839
- /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,
62840
- lookbehind: true
62841
- },
62842
- function: {
62843
- pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,
62844
- lookbehind: true
62845
- },
62846
- operator: /[#@^`~]/,
62847
- punctuation: /[{}\[\](),]/
62848
- };
62849
- }
62850
- return clojure_1;
62743
+ var clojure_1 = clojure$1;
62744
+ clojure$1.displayName = 'clojure';
62745
+ clojure$1.aliases = [];
62746
+ function clojure$1(Prism) {
62747
+ // Copied from https://github.com/jeluard/prism-clojure
62748
+ Prism.languages.clojure = {
62749
+ comment: {
62750
+ pattern: /;.*/,
62751
+ greedy: true
62752
+ },
62753
+ string: {
62754
+ pattern: /"(?:[^"\\]|\\.)*"/,
62755
+ greedy: true
62756
+ },
62757
+ char: /\\\w+/,
62758
+ symbol: {
62759
+ pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,
62760
+ lookbehind: true
62761
+ },
62762
+ keyword: {
62763
+ pattern:
62764
+ /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,
62765
+ lookbehind: true
62766
+ },
62767
+ boolean: /\b(?:false|nil|true)\b/,
62768
+ number: {
62769
+ pattern:
62770
+ /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,
62771
+ lookbehind: true
62772
+ },
62773
+ function: {
62774
+ pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,
62775
+ lookbehind: true
62776
+ },
62777
+ operator: /[#@^`~]/,
62778
+ punctuation: /[{}\[\](),]/
62779
+ };
62851
62780
  }
62852
62781
 
62782
+ var clojure$2 = /*#__PURE__*/_mergeNamespaces({
62783
+ __proto__: null,
62784
+ 'default': clojure_1
62785
+ }, [clojure_1]);
62786
+
62853
62787
  var cmake_1;
62854
62788
  var hasRequiredCmake;
62855
62789
 
@@ -67252,7 +67186,7 @@ var hasRequiredGlsl;
67252
67186
  function requireGlsl () {
67253
67187
  if (hasRequiredGlsl) return glsl_1;
67254
67188
  hasRequiredGlsl = 1;
67255
- var refractorC = requireC();
67189
+ var refractorC = c_1;
67256
67190
  glsl_1 = glsl;
67257
67191
  glsl.displayName = 'glsl';
67258
67192
  glsl.aliases = [];
@@ -68226,7 +68160,7 @@ var hasRequiredHlsl;
68226
68160
  function requireHlsl () {
68227
68161
  if (hasRequiredHlsl) return hlsl_1;
68228
68162
  hasRequiredHlsl = 1;
68229
- var refractorC = requireC();
68163
+ var refractorC = c_1;
68230
68164
  hlsl_1 = hlsl;
68231
68165
  hlsl.displayName = 'hlsl';
68232
68166
  hlsl.aliases = [];
@@ -74759,7 +74693,7 @@ var hasRequiredObjectivec;
74759
74693
  function requireObjectivec () {
74760
74694
  if (hasRequiredObjectivec) return objectivec_1;
74761
74695
  hasRequiredObjectivec = 1;
74762
- var refractorC = requireC();
74696
+ var refractorC = c_1;
74763
74697
  objectivec_1 = objectivec;
74764
74698
  objectivec.displayName = 'objectivec';
74765
74699
  objectivec.aliases = ['objc'];
@@ -74857,7 +74791,7 @@ var hasRequiredOpencl;
74857
74791
  function requireOpencl () {
74858
74792
  if (hasRequiredOpencl) return opencl_1;
74859
74793
  hasRequiredOpencl = 1;
74860
- var refractorC = requireC();
74794
+ var refractorC = c_1;
74861
74795
  opencl_1 = opencl;
74862
74796
  opencl.displayName = 'opencl';
74863
74797
  opencl.aliases = [];
@@ -78729,7 +78663,7 @@ var hasRequiredShellSession;
78729
78663
  function requireShellSession () {
78730
78664
  if (hasRequiredShellSession) return shellSession_1;
78731
78665
  hasRequiredShellSession = 1;
78732
- var refractorBash = requireBash();
78666
+ var refractorBash = bash_1;
78733
78667
  shellSession_1 = shellSession;
78734
78668
  shellSession.displayName = 'shellSession';
78735
78669
  shellSession.aliases = [];
@@ -80196,7 +80130,7 @@ var hasRequiredVbnet;
80196
80130
  function requireVbnet () {
80197
80131
  if (hasRequiredVbnet) return vbnet_1;
80198
80132
  hasRequiredVbnet = 1;
80199
- var refractorBasic = requireBasic();
80133
+ var refractorBasic = basic_1;
80200
80134
  vbnet_1 = vbnet;
80201
80135
  vbnet.displayName = 'vbnet';
80202
80136
  vbnet.aliases = [];
@@ -82915,7 +82849,7 @@ var refractor = core;
82915
82849
  var refractor_1 = refractor;
82916
82850
 
82917
82851
  refractor.register(abap_1);
82918
- refractor.register(abnf_1);
82852
+ refractor.register(requireAbnf());
82919
82853
  refractor.register(actionscript_1);
82920
82854
  refractor.register(ada_1);
82921
82855
  refractor.register(agda_1);
@@ -82934,25 +82868,25 @@ refractor.register(asmatmel_1);
82934
82868
  refractor.register(aspnet_1);
82935
82869
  refractor.register(autohotkey_1);
82936
82870
  refractor.register(autoit_1);
82937
- refractor.register(requireAvisynth());
82938
- refractor.register(requireAvroIdl());
82939
- refractor.register(requireBash());
82940
- refractor.register(requireBasic());
82941
- refractor.register(requireBatch());
82942
- refractor.register(requireBbcode());
82943
- refractor.register(requireBicep());
82944
- refractor.register(requireBirb());
82945
- refractor.register(requireBison());
82946
- refractor.register(requireBnf());
82947
- refractor.register(requireBrainfuck());
82948
- refractor.register(requireBrightscript());
82949
- refractor.register(requireBro());
82950
- refractor.register(requireBsl());
82951
- refractor.register(requireC());
82952
- refractor.register(requireCfscript());
82953
- refractor.register(requireChaiscript());
82871
+ refractor.register(avisynth_1);
82872
+ refractor.register(avroIdl_1);
82873
+ refractor.register(bash_1);
82874
+ refractor.register(basic_1);
82875
+ refractor.register(batch_1);
82876
+ refractor.register(bbcode_1);
82877
+ refractor.register(bicep_1);
82878
+ refractor.register(birb_1);
82879
+ refractor.register(bison_1);
82880
+ refractor.register(bnf_1);
82881
+ refractor.register(brainfuck_1);
82882
+ refractor.register(brightscript_1);
82883
+ refractor.register(bro_1);
82884
+ refractor.register(bsl_1);
82885
+ refractor.register(c_1);
82886
+ refractor.register(cfscript_1);
82887
+ refractor.register(chaiscript_1);
82954
82888
  refractor.register(requireCil());
82955
- refractor.register(requireClojure());
82889
+ refractor.register(clojure_1);
82956
82890
  refractor.register(requireCmake());
82957
82891
  refractor.register(requireCobol());
82958
82892
  refractor.register(requireCoffeescript());
@@ -87262,7 +87196,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
87262
87196
  subject: formData.subject,
87263
87197
  emails: pluck("value", formData.emails),
87264
87198
  message: (_ref7 = (cov_uqaajbocu().b[7][0]++, (_body$ref = body.ref) === null || _body$ref === void 0 ? void 0 : _body$ref.current.innerHTML)) !== null && _ref7 !== void 0 ? _ref7 : (cov_uqaajbocu().b[7][1]++, body),
87265
- snippet: codeString
87199
+ snippet: codeToDisplay
87266
87200
  });
87267
87201
  case 13:
87268
87202
  case "end":
@@ -90348,12 +90282,12 @@ var _1c = /*#__PURE__*/_mergeNamespaces({
90348
90282
  'default': _1cExports
90349
90283
  }, [_1cExports]);
90350
90284
 
90351
- var abnfExports = requireAbnf();
90285
+ var abnfExports$1 = requireAbnf$1();
90352
90286
 
90353
- var abnf = /*#__PURE__*/_mergeNamespaces({
90287
+ var abnf$1 = /*#__PURE__*/_mergeNamespaces({
90354
90288
  __proto__: null,
90355
- 'default': abnfExports
90356
- }, [abnfExports]);
90289
+ 'default': abnfExports$1
90290
+ }, [abnfExports$1]);
90357
90291
 
90358
90292
  var accesslogExports = requireAccesslog();
90359
90293
 
@@ -90467,33 +90401,33 @@ var axapta = /*#__PURE__*/_mergeNamespaces({
90467
90401
  'default': axaptaExports
90468
90402
  }, [axaptaExports]);
90469
90403
 
90470
- var bashExports$1 = requireBash$1();
90404
+ var bashExports = requireBash();
90471
90405
 
90472
- var bash$1 = /*#__PURE__*/_mergeNamespaces({
90406
+ var bash = /*#__PURE__*/_mergeNamespaces({
90473
90407
  __proto__: null,
90474
- 'default': bashExports$1
90475
- }, [bashExports$1]);
90408
+ 'default': bashExports
90409
+ }, [bashExports]);
90476
90410
 
90477
- var basicExports$1 = requireBasic$1();
90411
+ var basicExports = requireBasic();
90478
90412
 
90479
- var basic$1 = /*#__PURE__*/_mergeNamespaces({
90413
+ var basic = /*#__PURE__*/_mergeNamespaces({
90480
90414
  __proto__: null,
90481
- 'default': basicExports$1
90482
- }, [basicExports$1]);
90415
+ 'default': basicExports
90416
+ }, [basicExports]);
90483
90417
 
90484
- var bnfExports$1 = requireBnf$1();
90418
+ var bnfExports = requireBnf();
90485
90419
 
90486
- var bnf$1 = /*#__PURE__*/_mergeNamespaces({
90420
+ var bnf = /*#__PURE__*/_mergeNamespaces({
90487
90421
  __proto__: null,
90488
- 'default': bnfExports$1
90489
- }, [bnfExports$1]);
90422
+ 'default': bnfExports
90423
+ }, [bnfExports]);
90490
90424
 
90491
- var brainfuckExports$1 = requireBrainfuck$1();
90425
+ var brainfuckExports = requireBrainfuck();
90492
90426
 
90493
- var brainfuck$1 = /*#__PURE__*/_mergeNamespaces({
90427
+ var brainfuck = /*#__PURE__*/_mergeNamespaces({
90494
90428
  __proto__: null,
90495
- 'default': brainfuckExports$1
90496
- }, [brainfuckExports$1]);
90429
+ 'default': brainfuckExports
90430
+ }, [brainfuckExports]);
90497
90431
 
90498
90432
  var cLikeExports = requireCLike();
90499
90433
 
@@ -90502,12 +90436,12 @@ var cLike = /*#__PURE__*/_mergeNamespaces({
90502
90436
  'default': cLikeExports
90503
90437
  }, [cLikeExports]);
90504
90438
 
90505
- var cExports$1 = requireC$1();
90439
+ var cExports = requireC();
90506
90440
 
90507
- var c$1 = /*#__PURE__*/_mergeNamespaces({
90441
+ var c = /*#__PURE__*/_mergeNamespaces({
90508
90442
  __proto__: null,
90509
- 'default': cExports$1
90510
- }, [cExports$1]);
90443
+ 'default': cExports
90444
+ }, [cExports]);
90511
90445
 
90512
90446
  var calExports = requireCal();
90513
90447
 
@@ -90544,12 +90478,12 @@ var clojureRepl = /*#__PURE__*/_mergeNamespaces({
90544
90478
  'default': clojureReplExports
90545
90479
  }, [clojureReplExports]);
90546
90480
 
90547
- var clojureExports$1 = requireClojure$1();
90481
+ var clojureExports = requireClojure();
90548
90482
 
90549
- var clojure$1 = /*#__PURE__*/_mergeNamespaces({
90483
+ var clojure = /*#__PURE__*/_mergeNamespaces({
90550
90484
  __proto__: null,
90551
- 'default': clojureExports$1
90552
- }, [clojureExports$1]);
90485
+ 'default': clojureExports
90486
+ }, [clojureExports]);
90553
90487
 
90554
90488
  var cmakeExports$1 = requireCmake$1();
90555
90489
 
@@ -91678,124 +91612,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
91678
91612
  'default': zephirExports
91679
91613
  }, [zephirExports]);
91680
91614
 
91681
- var avisynthExports = requireAvisynth();
91682
-
91683
- var avisynth = /*#__PURE__*/_mergeNamespaces({
91684
- __proto__: null,
91685
- 'default': avisynthExports
91686
- }, [avisynthExports]);
91687
-
91688
- var avroIdlExports = requireAvroIdl();
91689
-
91690
- var avroIdl = /*#__PURE__*/_mergeNamespaces({
91691
- __proto__: null,
91692
- 'default': avroIdlExports
91693
- }, [avroIdlExports]);
91694
-
91695
- var bashExports = requireBash();
91696
-
91697
- var bash = /*#__PURE__*/_mergeNamespaces({
91698
- __proto__: null,
91699
- 'default': bashExports
91700
- }, [bashExports]);
91701
-
91702
- var basicExports = requireBasic();
91703
-
91704
- var basic = /*#__PURE__*/_mergeNamespaces({
91705
- __proto__: null,
91706
- 'default': basicExports
91707
- }, [basicExports]);
91708
-
91709
- var batchExports = requireBatch();
91710
-
91711
- var batch = /*#__PURE__*/_mergeNamespaces({
91712
- __proto__: null,
91713
- 'default': batchExports
91714
- }, [batchExports]);
91715
-
91716
- var bbcodeExports = requireBbcode();
91717
-
91718
- var bbcode = /*#__PURE__*/_mergeNamespaces({
91719
- __proto__: null,
91720
- 'default': bbcodeExports
91721
- }, [bbcodeExports]);
91722
-
91723
- var bicepExports = requireBicep();
91724
-
91725
- var bicep = /*#__PURE__*/_mergeNamespaces({
91726
- __proto__: null,
91727
- 'default': bicepExports
91728
- }, [bicepExports]);
91729
-
91730
- var birbExports = requireBirb();
91731
-
91732
- var birb = /*#__PURE__*/_mergeNamespaces({
91733
- __proto__: null,
91734
- 'default': birbExports
91735
- }, [birbExports]);
91736
-
91737
- var bisonExports = requireBison();
91738
-
91739
- var bison = /*#__PURE__*/_mergeNamespaces({
91740
- __proto__: null,
91741
- 'default': bisonExports
91742
- }, [bisonExports]);
91743
-
91744
- var bnfExports = requireBnf();
91745
-
91746
- var bnf = /*#__PURE__*/_mergeNamespaces({
91747
- __proto__: null,
91748
- 'default': bnfExports
91749
- }, [bnfExports]);
91750
-
91751
- var brainfuckExports = requireBrainfuck();
91752
-
91753
- var brainfuck = /*#__PURE__*/_mergeNamespaces({
91754
- __proto__: null,
91755
- 'default': brainfuckExports
91756
- }, [brainfuckExports]);
91757
-
91758
- var brightscriptExports = requireBrightscript();
91759
-
91760
- var brightscript = /*#__PURE__*/_mergeNamespaces({
91761
- __proto__: null,
91762
- 'default': brightscriptExports
91763
- }, [brightscriptExports]);
91764
-
91765
- var broExports = requireBro();
91766
-
91767
- var bro = /*#__PURE__*/_mergeNamespaces({
91768
- __proto__: null,
91769
- 'default': broExports
91770
- }, [broExports]);
91771
-
91772
- var bslExports = requireBsl();
91773
-
91774
- var bsl = /*#__PURE__*/_mergeNamespaces({
91775
- __proto__: null,
91776
- 'default': bslExports
91777
- }, [bslExports]);
91778
-
91779
- var cExports = requireC();
91780
-
91781
- var c = /*#__PURE__*/_mergeNamespaces({
91782
- __proto__: null,
91783
- 'default': cExports
91784
- }, [cExports]);
91785
-
91786
- var cfscriptExports = requireCfscript();
91787
-
91788
- var cfscript = /*#__PURE__*/_mergeNamespaces({
91789
- __proto__: null,
91790
- 'default': cfscriptExports
91791
- }, [cfscriptExports]);
91792
-
91793
- var chaiscriptExports = requireChaiscript();
91615
+ var abnfExports = requireAbnf();
91794
91616
 
91795
- var chaiscript = /*#__PURE__*/_mergeNamespaces({
91617
+ var abnf = /*#__PURE__*/_mergeNamespaces({
91796
91618
  __proto__: null,
91797
- 'default': chaiscriptExports
91798
- }, [chaiscriptExports]);
91619
+ 'default': abnfExports
91620
+ }, [abnfExports]);
91799
91621
 
91800
91622
  var cilExports = requireCil();
91801
91623
 
@@ -91804,13 +91626,6 @@ var cil = /*#__PURE__*/_mergeNamespaces({
91804
91626
  'default': cilExports
91805
91627
  }, [cilExports]);
91806
91628
 
91807
- var clojureExports = requireClojure();
91808
-
91809
- var clojure = /*#__PURE__*/_mergeNamespaces({
91810
- __proto__: null,
91811
- 'default': clojureExports
91812
- }, [clojureExports]);
91813
-
91814
91629
  var cmakeExports = requireCmake();
91815
91630
 
91816
91631
  var cmake = /*#__PURE__*/_mergeNamespaces({