@salesforcedevs/dx-components 1.3.215-alpha3 → 1.3.215-alpha5
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.
- package/lwc.config.json +0 -1
- package/package.json +1 -1
- package/src/assets/icons/brand-sprite/svg/symbols.svg +14 -0
- package/src/modules/dx/footer/links.ts +3 -1
- package/src/modules/dx/scrollManager/scrollManager.ts +3 -2
- package/src/modules/dx/searchResults/searchResults.css +8 -2
- package/src/modules/dx/searchResults/searchResults.ts +265 -8
- package/src/modules/dx/stepSequence/stepSequence.ts +43 -11
- package/src/modules/dxUtils/prismjs/prismjs.ts +376 -169
- package/src/modules/dx/coveoRecommendations/coveoRecommendations.css +0 -4
- package/src/modules/dx/coveoRecommendations/coveoRecommendations.html +0 -9
- package/src/modules/dx/coveoRecommendations/coveoRecommendations.ts +0 -22
|
@@ -37,7 +37,7 @@ function commonjsRequire() {
|
|
|
37
37
|
//Start autogenerated code
|
|
38
38
|
var prism = createCommonjsModule(function (module) {
|
|
39
39
|
/* PrismJS 1.29.0
|
|
40
|
-
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+bash+basic+c+csharp+cpp+css-extras+dataweave+graphql+handlebars+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+kotlin+markdown+markup-templating+php+phpdoc+php-extras+plsql+python+jsx+regex+sql+swift+typescript+typoscript+uri+vbnet+yaml&plugins=unescaped-markup+match-braces */
|
|
40
|
+
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+bash+basic+c+csharp+cpp+css-extras+dataweave+graphql+handlebars+hcl+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+kotlin+markdown+markup-templating+objectivec+php+phpdoc+php-extras+plsql+python+jsx+regex+sql+swift+typescript+typoscript+uri+vbnet+yaml&plugins=unescaped-markup+match-braces */
|
|
41
41
|
var _self =
|
|
42
42
|
"undefined" != typeof window
|
|
43
43
|
? window
|
|
@@ -126,13 +126,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
126
126
|
try {
|
|
127
127
|
throw new Error();
|
|
128
128
|
} catch (r) {
|
|
129
|
-
var e =
|
|
130
|
-
r.
|
|
131
|
-
|
|
129
|
+
var e =
|
|
130
|
+
(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(
|
|
131
|
+
r.stack
|
|
132
|
+
) || [])[1];
|
|
132
133
|
if (e) {
|
|
133
|
-
var n =
|
|
134
|
-
"script"
|
|
135
|
-
);
|
|
134
|
+
var n =
|
|
135
|
+
document.getElementsByTagName("script");
|
|
136
136
|
for (var t in n)
|
|
137
137
|
if (n[t].src == e) return n[t];
|
|
138
138
|
}
|
|
@@ -535,7 +535,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
535
535
|
comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 },
|
|
536
536
|
prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 },
|
|
537
537
|
doctype: {
|
|
538
|
-
pattern:
|
|
538
|
+
pattern:
|
|
539
|
+
/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
|
|
539
540
|
greedy: !0,
|
|
540
541
|
inside: {
|
|
541
542
|
"internal-subset": {
|
|
@@ -552,7 +553,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
552
553
|
},
|
|
553
554
|
cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 },
|
|
554
555
|
tag: {
|
|
555
|
-
pattern:
|
|
556
|
+
pattern:
|
|
557
|
+
/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
|
|
556
558
|
greedy: !0,
|
|
557
559
|
inside: {
|
|
558
560
|
tag: {
|
|
@@ -642,7 +644,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
642
644
|
pattern: /=[\s\S]+/,
|
|
643
645
|
inside: {
|
|
644
646
|
value: {
|
|
645
|
-
pattern:
|
|
647
|
+
pattern:
|
|
648
|
+
/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
|
|
646
649
|
lookbehind: !0,
|
|
647
650
|
alias: [e, "language-" + e],
|
|
648
651
|
inside: Prism.languages[e]
|
|
@@ -665,7 +668,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
665
668
|
(Prism.languages.atom = Prism.languages.xml),
|
|
666
669
|
(Prism.languages.rss = Prism.languages.xml);
|
|
667
670
|
!(function (s) {
|
|
668
|
-
var e =
|
|
671
|
+
var e =
|
|
672
|
+
/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
669
673
|
(s.languages.css = {
|
|
670
674
|
comment: /\/\*[\s\S]*?\*\//,
|
|
671
675
|
atrule: {
|
|
@@ -677,7 +681,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
677
681
|
inside: {
|
|
678
682
|
rule: /^@[\w-]+/,
|
|
679
683
|
"selector-function-argument": {
|
|
680
|
-
pattern:
|
|
684
|
+
pattern:
|
|
685
|
+
/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
|
|
681
686
|
lookbehind: !0,
|
|
682
687
|
alias: "selector"
|
|
683
688
|
},
|
|
@@ -714,7 +719,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
714
719
|
},
|
|
715
720
|
string: { pattern: e, greedy: !0 },
|
|
716
721
|
property: {
|
|
717
|
-
pattern:
|
|
722
|
+
pattern:
|
|
723
|
+
/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
|
|
718
724
|
lookbehind: !0
|
|
719
725
|
},
|
|
720
726
|
important: /!important\b/i,
|
|
@@ -744,11 +750,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
744
750
|
greedy: !0
|
|
745
751
|
},
|
|
746
752
|
"class-name": {
|
|
747
|
-
pattern:
|
|
753
|
+
pattern:
|
|
754
|
+
/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
|
|
748
755
|
lookbehind: !0,
|
|
749
756
|
inside: { punctuation: /[.\\]/ }
|
|
750
757
|
},
|
|
751
|
-
keyword:
|
|
758
|
+
keyword:
|
|
759
|
+
/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
|
|
752
760
|
boolean: /\b(?:false|true)\b/,
|
|
753
761
|
function: /\b\w+(?=\()/,
|
|
754
762
|
number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
@@ -759,29 +767,32 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
759
767
|
"class-name": [
|
|
760
768
|
Prism.languages.clike["class-name"],
|
|
761
769
|
{
|
|
762
|
-
pattern:
|
|
770
|
+
pattern:
|
|
771
|
+
/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
|
|
763
772
|
lookbehind: !0
|
|
764
773
|
}
|
|
765
774
|
],
|
|
766
775
|
keyword: [
|
|
767
776
|
{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 },
|
|
768
777
|
{
|
|
769
|
-
pattern:
|
|
778
|
+
pattern:
|
|
779
|
+
/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
|
|
770
780
|
lookbehind: !0
|
|
771
781
|
}
|
|
772
782
|
],
|
|
773
|
-
function:
|
|
783
|
+
function:
|
|
784
|
+
/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
|
|
774
785
|
number: {
|
|
775
786
|
pattern: RegExp(
|
|
776
787
|
"(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"
|
|
777
788
|
),
|
|
778
789
|
lookbehind: !0
|
|
779
790
|
},
|
|
780
|
-
operator:
|
|
791
|
+
operator:
|
|
792
|
+
/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
|
|
781
793
|
})),
|
|
782
|
-
(Prism.languages.javascript[
|
|
783
|
-
|
|
784
|
-
][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/),
|
|
794
|
+
(Prism.languages.javascript["class-name"][0].pattern =
|
|
795
|
+
/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/),
|
|
785
796
|
Prism.languages.insertBefore("javascript", "keyword", {
|
|
786
797
|
regex: {
|
|
787
798
|
pattern: RegExp(
|
|
@@ -801,27 +812,32 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
801
812
|
}
|
|
802
813
|
},
|
|
803
814
|
"function-variable": {
|
|
804
|
-
pattern:
|
|
815
|
+
pattern:
|
|
816
|
+
/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
|
|
805
817
|
alias: "function"
|
|
806
818
|
},
|
|
807
819
|
parameter: [
|
|
808
820
|
{
|
|
809
|
-
pattern:
|
|
821
|
+
pattern:
|
|
822
|
+
/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
|
|
810
823
|
lookbehind: !0,
|
|
811
824
|
inside: Prism.languages.javascript
|
|
812
825
|
},
|
|
813
826
|
{
|
|
814
|
-
pattern:
|
|
827
|
+
pattern:
|
|
828
|
+
/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
|
|
815
829
|
lookbehind: !0,
|
|
816
830
|
inside: Prism.languages.javascript
|
|
817
831
|
},
|
|
818
832
|
{
|
|
819
|
-
pattern:
|
|
833
|
+
pattern:
|
|
834
|
+
/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
|
|
820
835
|
lookbehind: !0,
|
|
821
836
|
inside: Prism.languages.javascript
|
|
822
837
|
},
|
|
823
838
|
{
|
|
824
|
-
pattern:
|
|
839
|
+
pattern:
|
|
840
|
+
/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
|
|
825
841
|
lookbehind: !0,
|
|
826
842
|
inside: Prism.languages.javascript
|
|
827
843
|
}
|
|
@@ -831,7 +847,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
831
847
|
Prism.languages.insertBefore("javascript", "string", {
|
|
832
848
|
hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" },
|
|
833
849
|
"template-string": {
|
|
834
|
-
pattern:
|
|
850
|
+
pattern:
|
|
851
|
+
/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
|
|
835
852
|
greedy: !0,
|
|
836
853
|
inside: {
|
|
837
854
|
"template-punctuation": {
|
|
@@ -839,7 +856,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
839
856
|
alias: "string"
|
|
840
857
|
},
|
|
841
858
|
interpolation: {
|
|
842
|
-
pattern:
|
|
859
|
+
pattern:
|
|
860
|
+
/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
|
|
843
861
|
lookbehind: !0,
|
|
844
862
|
inside: {
|
|
845
863
|
"interpolation-punctuation": {
|
|
@@ -853,7 +871,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
853
871
|
}
|
|
854
872
|
},
|
|
855
873
|
"string-property": {
|
|
856
|
-
pattern:
|
|
874
|
+
pattern:
|
|
875
|
+
/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
|
|
857
876
|
lookbehind: !0,
|
|
858
877
|
greedy: !0,
|
|
859
878
|
alias: "property"
|
|
@@ -861,7 +880,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
861
880
|
}),
|
|
862
881
|
Prism.languages.insertBefore("javascript", "operator", {
|
|
863
882
|
"literal-property": {
|
|
864
|
-
pattern:
|
|
883
|
+
pattern:
|
|
884
|
+
/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
|
|
865
885
|
lookbehind: !0,
|
|
866
886
|
alias: "property"
|
|
867
887
|
}
|
|
@@ -893,21 +913,26 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
893
913
|
lookbehind: !0,
|
|
894
914
|
inside: { punctuation: /^`|`$/ }
|
|
895
915
|
},
|
|
896
|
-
function:
|
|
897
|
-
|
|
916
|
+
function:
|
|
917
|
+
/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,
|
|
918
|
+
keyword:
|
|
919
|
+
/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,
|
|
898
920
|
boolean: /\b(?:FALSE|NULL|TRUE)\b/i,
|
|
899
921
|
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,
|
|
900
|
-
operator:
|
|
922
|
+
operator:
|
|
923
|
+
/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,
|
|
901
924
|
punctuation: /[;[\]()`,.]/
|
|
902
925
|
};
|
|
903
926
|
!(function (e) {
|
|
904
|
-
var t =
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
927
|
+
var t =
|
|
928
|
+
/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,
|
|
929
|
+
n =
|
|
930
|
+
"\\b(?:(?=[a-z_]\\w*\\s*[<\\[])|(?!<keyword>))[A-Z_]\\w*(?:\\s*\\.\\s*[A-Z_]\\w*)*\\b(?:\\s*(?:\\[\\s*\\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*".replace(
|
|
931
|
+
/<keyword>/g,
|
|
932
|
+
function () {
|
|
933
|
+
return t.source;
|
|
934
|
+
}
|
|
935
|
+
);
|
|
911
936
|
function i(e) {
|
|
912
937
|
return RegExp(
|
|
913
938
|
e.replace(/<CLASS-NAME>/g, function () {
|
|
@@ -955,7 +980,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
955
980
|
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
956
981
|
boolean: /\b(?:false|true)\b/i,
|
|
957
982
|
number: /(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,
|
|
958
|
-
operator:
|
|
983
|
+
operator:
|
|
984
|
+
/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,
|
|
959
985
|
punctuation: /[()\[\]{};,.]/
|
|
960
986
|
};
|
|
961
987
|
})(Prism);
|
|
@@ -1152,7 +1178,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1152
1178
|
alias: "property",
|
|
1153
1179
|
inside: {
|
|
1154
1180
|
directive: {
|
|
1155
|
-
pattern:
|
|
1181
|
+
pattern:
|
|
1182
|
+
/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
|
|
1156
1183
|
lookbehind: !0,
|
|
1157
1184
|
alias: "keyword"
|
|
1158
1185
|
}
|
|
@@ -1260,7 +1287,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1260
1287
|
alias: "tag",
|
|
1261
1288
|
inside: {
|
|
1262
1289
|
"page-directive": {
|
|
1263
|
-
pattern:
|
|
1290
|
+
pattern:
|
|
1291
|
+
/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
|
|
1264
1292
|
alias: "tag"
|
|
1265
1293
|
},
|
|
1266
1294
|
rest: Prism.languages.markup.tag.inside
|
|
@@ -1275,7 +1303,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1275
1303
|
}
|
|
1276
1304
|
}
|
|
1277
1305
|
})),
|
|
1278
|
-
(Prism.languages.aspnet.tag.pattern =
|
|
1306
|
+
(Prism.languages.aspnet.tag.pattern =
|
|
1307
|
+
/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/),
|
|
1279
1308
|
Prism.languages.insertBefore(
|
|
1280
1309
|
"inside",
|
|
1281
1310
|
"punctuation",
|
|
@@ -1293,7 +1322,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1293
1322
|
Prism.languages.javascript ? "script" : "tag",
|
|
1294
1323
|
{
|
|
1295
1324
|
"asp-script": {
|
|
1296
|
-
pattern:
|
|
1325
|
+
pattern:
|
|
1326
|
+
/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,
|
|
1297
1327
|
lookbehind: !0,
|
|
1298
1328
|
alias: ["asp", "script"],
|
|
1299
1329
|
inside: Prism.languages.csharp || {}
|
|
@@ -1325,7 +1355,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1325
1355
|
/^\$\(\(/
|
|
1326
1356
|
],
|
|
1327
1357
|
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
1328
|
-
operator:
|
|
1358
|
+
operator:
|
|
1359
|
+
/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
1329
1360
|
punctuation: /\(\(?|\)\)?|,|;/
|
|
1330
1361
|
}
|
|
1331
1362
|
},
|
|
@@ -1392,13 +1423,15 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1392
1423
|
inside: n
|
|
1393
1424
|
},
|
|
1394
1425
|
{
|
|
1395
|
-
pattern:
|
|
1426
|
+
pattern:
|
|
1427
|
+
/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
1396
1428
|
lookbehind: !0,
|
|
1397
1429
|
greedy: !0,
|
|
1398
1430
|
inside: { bash: a }
|
|
1399
1431
|
},
|
|
1400
1432
|
{
|
|
1401
|
-
pattern:
|
|
1433
|
+
pattern:
|
|
1434
|
+
/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
1402
1435
|
lookbehind: !0,
|
|
1403
1436
|
greedy: !0,
|
|
1404
1437
|
inside: n
|
|
@@ -1413,15 +1446,18 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1413
1446
|
environment: { pattern: RegExp("\\$?" + t), alias: "constant" },
|
|
1414
1447
|
variable: n.variable,
|
|
1415
1448
|
function: {
|
|
1416
|
-
pattern:
|
|
1449
|
+
pattern:
|
|
1450
|
+
/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|java|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|sysctl|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;|&])/,
|
|
1417
1451
|
lookbehind: !0
|
|
1418
1452
|
},
|
|
1419
1453
|
keyword: {
|
|
1420
|
-
pattern:
|
|
1454
|
+
pattern:
|
|
1455
|
+
/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
1421
1456
|
lookbehind: !0
|
|
1422
1457
|
},
|
|
1423
1458
|
builtin: {
|
|
1424
|
-
pattern:
|
|
1459
|
+
pattern:
|
|
1460
|
+
/(^|[\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;|&])/,
|
|
1425
1461
|
lookbehind: !0,
|
|
1426
1462
|
alias: "class-name"
|
|
1427
1463
|
},
|
|
@@ -1431,7 +1467,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1431
1467
|
},
|
|
1432
1468
|
"file-descriptor": { pattern: /\B&\d\b/, alias: "important" },
|
|
1433
1469
|
operator: {
|
|
1434
|
-
pattern:
|
|
1470
|
+
pattern:
|
|
1471
|
+
/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
1435
1472
|
inside: {
|
|
1436
1473
|
"file-descriptor": { pattern: /^\d/, alias: "important" }
|
|
1437
1474
|
}
|
|
@@ -1477,22 +1514,27 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1477
1514
|
greedy: !0
|
|
1478
1515
|
},
|
|
1479
1516
|
number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
|
|
1480
|
-
keyword:
|
|
1481
|
-
|
|
1517
|
+
keyword:
|
|
1518
|
+
/\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,
|
|
1519
|
+
function:
|
|
1520
|
+
/\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,
|
|
1482
1521
|
operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
|
|
1483
1522
|
punctuation: /[,;:()]/
|
|
1484
1523
|
};
|
|
1485
1524
|
(Prism.languages.c = Prism.languages.extend("clike", {
|
|
1486
1525
|
comment: {
|
|
1487
|
-
pattern:
|
|
1526
|
+
pattern:
|
|
1527
|
+
/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
1488
1528
|
greedy: !0
|
|
1489
1529
|
},
|
|
1490
1530
|
string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 },
|
|
1491
1531
|
"class-name": {
|
|
1492
|
-
pattern:
|
|
1532
|
+
pattern:
|
|
1533
|
+
/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
|
|
1493
1534
|
lookbehind: !0
|
|
1494
1535
|
},
|
|
1495
|
-
keyword:
|
|
1536
|
+
keyword:
|
|
1537
|
+
/\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/,
|
|
1496
1538
|
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
1497
1539
|
number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
|
|
1498
1540
|
operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
|
|
@@ -1505,7 +1547,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1505
1547
|
}),
|
|
1506
1548
|
Prism.languages.insertBefore("c", "string", {
|
|
1507
1549
|
macro: {
|
|
1508
|
-
pattern:
|
|
1550
|
+
pattern:
|
|
1551
|
+
/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
|
|
1509
1552
|
lookbehind: !0,
|
|
1510
1553
|
greedy: !0,
|
|
1511
1554
|
alias: "property",
|
|
@@ -1542,11 +1585,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1542
1585
|
}
|
|
1543
1586
|
}),
|
|
1544
1587
|
Prism.languages.insertBefore("c", "function", {
|
|
1545
|
-
constant:
|
|
1588
|
+
constant:
|
|
1589
|
+
/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
|
|
1546
1590
|
}),
|
|
1547
1591
|
delete Prism.languages.c.boolean;
|
|
1548
1592
|
!(function (e) {
|
|
1549
|
-
var t =
|
|
1593
|
+
var t =
|
|
1594
|
+
/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,
|
|
1550
1595
|
n = "\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b".replace(
|
|
1551
1596
|
/<keyword>/g,
|
|
1552
1597
|
function () {
|
|
@@ -1572,10 +1617,12 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1572
1617
|
],
|
|
1573
1618
|
keyword: t,
|
|
1574
1619
|
number: {
|
|
1575
|
-
pattern:
|
|
1620
|
+
pattern:
|
|
1621
|
+
/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
|
|
1576
1622
|
greedy: !0
|
|
1577
1623
|
},
|
|
1578
|
-
operator:
|
|
1624
|
+
operator:
|
|
1625
|
+
/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
|
|
1579
1626
|
boolean: /\b(?:false|true)\b/
|
|
1580
1627
|
})),
|
|
1581
1628
|
e.languages.insertBefore("cpp", "string", {
|
|
@@ -1606,7 +1653,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1606
1653
|
}),
|
|
1607
1654
|
e.languages.insertBefore("cpp", "keyword", {
|
|
1608
1655
|
"generic-function": {
|
|
1609
|
-
pattern:
|
|
1656
|
+
pattern:
|
|
1657
|
+
/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
|
|
1610
1658
|
inside: {
|
|
1611
1659
|
function: /^\w+/,
|
|
1612
1660
|
generic: {
|
|
@@ -1622,7 +1670,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1622
1670
|
}),
|
|
1623
1671
|
e.languages.insertBefore("cpp", "class-name", {
|
|
1624
1672
|
"base-clause": {
|
|
1625
|
-
pattern:
|
|
1673
|
+
pattern:
|
|
1674
|
+
/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
|
|
1626
1675
|
lookbehind: !0,
|
|
1627
1676
|
greedy: !0,
|
|
1628
1677
|
inside: e.languages.extend("cpp", {})
|
|
@@ -1642,7 +1691,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1642
1691
|
pattern: e.languages.css.selector.pattern,
|
|
1643
1692
|
lookbehind: !0,
|
|
1644
1693
|
inside: (a = {
|
|
1645
|
-
"pseudo-element":
|
|
1694
|
+
"pseudo-element":
|
|
1695
|
+
/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,
|
|
1646
1696
|
"pseudo-class": /:[-\w]+/,
|
|
1647
1697
|
class: /\.[-\w]+/,
|
|
1648
1698
|
id: /#[-\w]+/,
|
|
@@ -1657,7 +1707,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1657
1707
|
alias: "keyword"
|
|
1658
1708
|
},
|
|
1659
1709
|
namespace: {
|
|
1660
|
-
pattern:
|
|
1710
|
+
pattern:
|
|
1711
|
+
/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,
|
|
1661
1712
|
lookbehind: !0,
|
|
1662
1713
|
inside: { punctuation: /\|$/ }
|
|
1663
1714
|
},
|
|
@@ -1668,7 +1719,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1668
1719
|
"attr-value": [
|
|
1669
1720
|
n,
|
|
1670
1721
|
{
|
|
1671
|
-
pattern:
|
|
1722
|
+
pattern:
|
|
1723
|
+
/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,
|
|
1672
1724
|
lookbehind: !0
|
|
1673
1725
|
}
|
|
1674
1726
|
],
|
|
@@ -1677,7 +1729,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1677
1729
|
},
|
|
1678
1730
|
"n-th": [
|
|
1679
1731
|
{
|
|
1680
|
-
pattern:
|
|
1732
|
+
pattern:
|
|
1733
|
+
/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,
|
|
1681
1734
|
lookbehind: !0,
|
|
1682
1735
|
inside: { number: /[\dn]+/, operator: /[+-]/ }
|
|
1683
1736
|
},
|
|
@@ -1692,7 +1745,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1692
1745
|
].inside = a),
|
|
1693
1746
|
e.languages.insertBefore("css", "property", {
|
|
1694
1747
|
variable: {
|
|
1695
|
-
pattern:
|
|
1748
|
+
pattern:
|
|
1749
|
+
/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,
|
|
1696
1750
|
lookbehind: !0
|
|
1697
1751
|
}
|
|
1698
1752
|
});
|
|
@@ -1706,11 +1760,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1706
1760
|
hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" },
|
|
1707
1761
|
color: [
|
|
1708
1762
|
{
|
|
1709
|
-
pattern:
|
|
1763
|
+
pattern:
|
|
1764
|
+
/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,
|
|
1710
1765
|
lookbehind: !0
|
|
1711
1766
|
},
|
|
1712
1767
|
{
|
|
1713
|
-
pattern:
|
|
1768
|
+
pattern:
|
|
1769
|
+
/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
|
|
1714
1770
|
inside: {
|
|
1715
1771
|
unit: r,
|
|
1716
1772
|
number: i,
|
|
@@ -1728,14 +1784,16 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1728
1784
|
e.languages.dataweave = {
|
|
1729
1785
|
url: /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,
|
|
1730
1786
|
property: {
|
|
1731
|
-
pattern:
|
|
1787
|
+
pattern:
|
|
1788
|
+
/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,
|
|
1732
1789
|
greedy: !0
|
|
1733
1790
|
},
|
|
1734
1791
|
string: {
|
|
1735
1792
|
pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
|
1736
1793
|
greedy: !0
|
|
1737
1794
|
},
|
|
1738
|
-
"mime-type":
|
|
1795
|
+
"mime-type":
|
|
1796
|
+
/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,
|
|
1739
1797
|
date: { pattern: /\|[\w:+-]+\|/, greedy: !0 },
|
|
1740
1798
|
comment: [
|
|
1741
1799
|
{
|
|
@@ -1746,7 +1804,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1746
1804
|
{ pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }
|
|
1747
1805
|
],
|
|
1748
1806
|
regex: { pattern: /\/(?:[^\\\/\r\n]|\\[^\r\n])+\//, greedy: !0 },
|
|
1749
|
-
keyword:
|
|
1807
|
+
keyword:
|
|
1808
|
+
/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,
|
|
1750
1809
|
function: /\b[A-Z_]\w*(?=\s*\()/i,
|
|
1751
1810
|
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
1752
1811
|
punctuation: /[{}[\];(),.:@]/,
|
|
@@ -1757,7 +1816,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1757
1816
|
(Prism.languages.graphql = {
|
|
1758
1817
|
comment: /#.*/,
|
|
1759
1818
|
description: {
|
|
1760
|
-
pattern:
|
|
1819
|
+
pattern:
|
|
1820
|
+
/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
|
|
1761
1821
|
greedy: !0,
|
|
1762
1822
|
alias: "string",
|
|
1763
1823
|
inside: {
|
|
@@ -1777,14 +1837,16 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1777
1837
|
variable: /\$[a-z_]\w*/i,
|
|
1778
1838
|
directive: { pattern: /@[a-z_]\w*/i, alias: "function" },
|
|
1779
1839
|
"attr-name": {
|
|
1780
|
-
pattern:
|
|
1840
|
+
pattern:
|
|
1841
|
+
/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
|
|
1781
1842
|
greedy: !0
|
|
1782
1843
|
},
|
|
1783
1844
|
"atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" },
|
|
1784
1845
|
scalar: /\b(?:Boolean|Float|ID|Int|String)\b/,
|
|
1785
1846
|
constant: /\b[A-Z][A-Z_\d]*\b/,
|
|
1786
1847
|
"class-name": {
|
|
1787
|
-
pattern:
|
|
1848
|
+
pattern:
|
|
1849
|
+
/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,
|
|
1788
1850
|
lookbehind: !0
|
|
1789
1851
|
},
|
|
1790
1852
|
fragment: {
|
|
@@ -1802,7 +1864,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1802
1864
|
lookbehind: !0,
|
|
1803
1865
|
alias: "function"
|
|
1804
1866
|
},
|
|
1805
|
-
keyword:
|
|
1867
|
+
keyword:
|
|
1868
|
+
/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
|
|
1806
1869
|
operator: /[!=|&]|\.{3}/,
|
|
1807
1870
|
"property-query": /\w+(?=\s*\()/,
|
|
1808
1871
|
object: /\w+(?=\s*\{)/,
|
|
@@ -1998,8 +2061,79 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
1998
2061
|
(a.languages.hbs = a.languages.handlebars),
|
|
1999
2062
|
(a.languages.mustache = a.languages.handlebars);
|
|
2000
2063
|
})(Prism);
|
|
2064
|
+
Prism.languages.hcl = {
|
|
2065
|
+
comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
2066
|
+
heredoc: {
|
|
2067
|
+
pattern: /<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,
|
|
2068
|
+
greedy: !0,
|
|
2069
|
+
alias: "string"
|
|
2070
|
+
},
|
|
2071
|
+
keyword: [
|
|
2072
|
+
{
|
|
2073
|
+
pattern:
|
|
2074
|
+
/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,
|
|
2075
|
+
inside: {
|
|
2076
|
+
type: {
|
|
2077
|
+
pattern:
|
|
2078
|
+
/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,
|
|
2079
|
+
lookbehind: !0,
|
|
2080
|
+
alias: "variable"
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
pattern:
|
|
2086
|
+
/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,
|
|
2087
|
+
inside: {
|
|
2088
|
+
type: {
|
|
2089
|
+
pattern:
|
|
2090
|
+
/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,
|
|
2091
|
+
lookbehind: !0,
|
|
2092
|
+
alias: "variable"
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
},
|
|
2096
|
+
/[\w-]+(?=\s+\{)/
|
|
2097
|
+
],
|
|
2098
|
+
property: [
|
|
2099
|
+
/[-\w\.]+(?=\s*=(?!=))/,
|
|
2100
|
+
/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/
|
|
2101
|
+
],
|
|
2102
|
+
string: {
|
|
2103
|
+
pattern:
|
|
2104
|
+
/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,
|
|
2105
|
+
greedy: !0,
|
|
2106
|
+
inside: {
|
|
2107
|
+
interpolation: {
|
|
2108
|
+
pattern: /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,
|
|
2109
|
+
lookbehind: !0,
|
|
2110
|
+
inside: {
|
|
2111
|
+
type: {
|
|
2112
|
+
pattern:
|
|
2113
|
+
/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,
|
|
2114
|
+
lookbehind: !0,
|
|
2115
|
+
alias: "variable"
|
|
2116
|
+
},
|
|
2117
|
+
keyword:
|
|
2118
|
+
/\b(?:count|data|local|module|path|self|terraform|var)\b/i,
|
|
2119
|
+
function: /\w+(?=\()/,
|
|
2120
|
+
string: {
|
|
2121
|
+
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
|
|
2122
|
+
greedy: !0
|
|
2123
|
+
},
|
|
2124
|
+
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
2125
|
+
punctuation: /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
2131
|
+
boolean: /\b(?:false|true)\b/i,
|
|
2132
|
+
punctuation: /[=\[\]{}]/
|
|
2133
|
+
};
|
|
2001
2134
|
!(function (e) {
|
|
2002
|
-
var n =
|
|
2135
|
+
var n =
|
|
2136
|
+
/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,
|
|
2003
2137
|
t = "(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",
|
|
2004
2138
|
s = {
|
|
2005
2139
|
pattern: RegExp(
|
|
@@ -2048,7 +2182,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2048
2182
|
],
|
|
2049
2183
|
number: /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,
|
|
2050
2184
|
operator: {
|
|
2051
|
-
pattern:
|
|
2185
|
+
pattern:
|
|
2186
|
+
/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
|
|
2052
2187
|
lookbehind: !0
|
|
2053
2188
|
},
|
|
2054
2189
|
constant: /\b[A-Z][A-Z_\d]+\b/
|
|
@@ -2068,7 +2203,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2068
2203
|
alias: "punctuation"
|
|
2069
2204
|
},
|
|
2070
2205
|
generics: {
|
|
2071
|
-
pattern:
|
|
2206
|
+
pattern:
|
|
2207
|
+
/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
|
|
2072
2208
|
inside: {
|
|
2073
2209
|
"class-name": s,
|
|
2074
2210
|
keyword: n,
|
|
@@ -2137,8 +2273,10 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2137
2273
|
/\b(?:null)\b/i,
|
|
2138
2274
|
/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
|
|
2139
2275
|
],
|
|
2140
|
-
i =
|
|
2141
|
-
|
|
2276
|
+
i =
|
|
2277
|
+
/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
2278
|
+
n =
|
|
2279
|
+
/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,
|
|
2142
2280
|
s = /[{}\[\](),:;]/;
|
|
2143
2281
|
e.languages.php = {
|
|
2144
2282
|
delimiter: {
|
|
@@ -2148,12 +2286,14 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2148
2286
|
comment: a,
|
|
2149
2287
|
variable: /\$+(?:\w+\b|(?=\{))/,
|
|
2150
2288
|
package: {
|
|
2151
|
-
pattern:
|
|
2289
|
+
pattern:
|
|
2290
|
+
/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
2152
2291
|
lookbehind: !0,
|
|
2153
2292
|
inside: { punctuation: /\\/ }
|
|
2154
2293
|
},
|
|
2155
2294
|
"class-name-definition": {
|
|
2156
|
-
pattern:
|
|
2295
|
+
pattern:
|
|
2296
|
+
/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
|
|
2157
2297
|
lookbehind: !0,
|
|
2158
2298
|
alias: "class-name"
|
|
2159
2299
|
},
|
|
@@ -2164,30 +2304,35 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2164
2304
|
},
|
|
2165
2305
|
keyword: [
|
|
2166
2306
|
{
|
|
2167
|
-
pattern:
|
|
2307
|
+
pattern:
|
|
2308
|
+
/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,
|
|
2168
2309
|
alias: "type-casting",
|
|
2169
2310
|
greedy: !0,
|
|
2170
2311
|
lookbehind: !0
|
|
2171
2312
|
},
|
|
2172
2313
|
{
|
|
2173
|
-
pattern:
|
|
2314
|
+
pattern:
|
|
2315
|
+
/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,
|
|
2174
2316
|
alias: "type-hint",
|
|
2175
2317
|
greedy: !0,
|
|
2176
2318
|
lookbehind: !0
|
|
2177
2319
|
},
|
|
2178
2320
|
{
|
|
2179
|
-
pattern:
|
|
2321
|
+
pattern:
|
|
2322
|
+
/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,
|
|
2180
2323
|
alias: "return-type",
|
|
2181
2324
|
greedy: !0,
|
|
2182
2325
|
lookbehind: !0
|
|
2183
2326
|
},
|
|
2184
2327
|
{
|
|
2185
|
-
pattern:
|
|
2328
|
+
pattern:
|
|
2329
|
+
/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,
|
|
2186
2330
|
alias: "type-declaration",
|
|
2187
2331
|
greedy: !0
|
|
2188
2332
|
},
|
|
2189
2333
|
{
|
|
2190
|
-
pattern:
|
|
2334
|
+
pattern:
|
|
2335
|
+
/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,
|
|
2191
2336
|
alias: "type-declaration",
|
|
2192
2337
|
greedy: !0,
|
|
2193
2338
|
lookbehind: !0
|
|
@@ -2200,7 +2345,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2200
2345
|
{ pattern: /(\byield\s+)from\b/i, lookbehind: !0 },
|
|
2201
2346
|
/\bclass\b/i,
|
|
2202
2347
|
{
|
|
2203
|
-
pattern:
|
|
2348
|
+
pattern:
|
|
2349
|
+
/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
|
|
2204
2350
|
lookbehind: !0
|
|
2205
2351
|
}
|
|
2206
2352
|
],
|
|
@@ -2210,7 +2356,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2210
2356
|
},
|
|
2211
2357
|
"class-name": [
|
|
2212
2358
|
{
|
|
2213
|
-
pattern:
|
|
2359
|
+
pattern:
|
|
2360
|
+
/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
|
|
2214
2361
|
greedy: !0,
|
|
2215
2362
|
lookbehind: !0
|
|
2216
2363
|
},
|
|
@@ -2234,7 +2381,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2234
2381
|
inside: { punctuation: /\\/ }
|
|
2235
2382
|
},
|
|
2236
2383
|
{
|
|
2237
|
-
pattern:
|
|
2384
|
+
pattern:
|
|
2385
|
+
/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
2238
2386
|
alias: "class-name-fully-qualified",
|
|
2239
2387
|
greedy: !0,
|
|
2240
2388
|
lookbehind: !0,
|
|
@@ -2282,7 +2430,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2282
2430
|
lookbehind: !0
|
|
2283
2431
|
},
|
|
2284
2432
|
{
|
|
2285
|
-
pattern:
|
|
2433
|
+
pattern:
|
|
2434
|
+
/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
2286
2435
|
alias: ["class-name-fully-qualified", "return-type"],
|
|
2287
2436
|
greedy: !0,
|
|
2288
2437
|
lookbehind: !0,
|
|
@@ -2301,7 +2450,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2301
2450
|
punctuation: s
|
|
2302
2451
|
};
|
|
2303
2452
|
var l = {
|
|
2304
|
-
pattern:
|
|
2453
|
+
pattern:
|
|
2454
|
+
/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
|
|
2305
2455
|
lookbehind: !0,
|
|
2306
2456
|
inside: e.languages.php
|
|
2307
2457
|
},
|
|
@@ -2319,7 +2469,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2319
2469
|
}
|
|
2320
2470
|
},
|
|
2321
2471
|
{
|
|
2322
|
-
pattern:
|
|
2472
|
+
pattern:
|
|
2473
|
+
/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
|
|
2323
2474
|
alias: "heredoc-string",
|
|
2324
2475
|
greedy: !0,
|
|
2325
2476
|
inside: {
|
|
@@ -2351,7 +2502,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2351
2502
|
e.languages.insertBefore("php", "variable", {
|
|
2352
2503
|
string: r,
|
|
2353
2504
|
attribute: {
|
|
2354
|
-
pattern:
|
|
2505
|
+
pattern:
|
|
2506
|
+
/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
|
|
2355
2507
|
greedy: !0,
|
|
2356
2508
|
inside: {
|
|
2357
2509
|
"attribute-content": {
|
|
@@ -2403,11 +2555,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2403
2555
|
!(function (a) {
|
|
2404
2556
|
var e = (a.languages.javadoclike = {
|
|
2405
2557
|
parameter: {
|
|
2406
|
-
pattern:
|
|
2558
|
+
pattern:
|
|
2559
|
+
/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,
|
|
2407
2560
|
lookbehind: !0
|
|
2408
2561
|
},
|
|
2409
2562
|
keyword: {
|
|
2410
|
-
pattern:
|
|
2563
|
+
pattern:
|
|
2564
|
+
/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,
|
|
2411
2565
|
lookbehind: !0
|
|
2412
2566
|
},
|
|
2413
2567
|
punctuation: /[{}]/
|
|
@@ -2428,7 +2582,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2428
2582
|
"comment",
|
|
2429
2583
|
{
|
|
2430
2584
|
"doc-comment": {
|
|
2431
|
-
pattern:
|
|
2585
|
+
pattern:
|
|
2586
|
+
/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
|
|
2432
2587
|
lookbehind: !0,
|
|
2433
2588
|
alias: "comment"
|
|
2434
2589
|
}
|
|
@@ -2454,12 +2609,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2454
2609
|
})(Prism);
|
|
2455
2610
|
!(function (a) {
|
|
2456
2611
|
var e = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,
|
|
2457
|
-
n =
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2612
|
+
n =
|
|
2613
|
+
"(?:\\b[a-zA-Z]\\w+\\s*\\.\\s*)*\\b[A-Z]\\w*(?:\\s*<mem>)?|<mem>".replace(
|
|
2614
|
+
/<mem>/g,
|
|
2615
|
+
function () {
|
|
2616
|
+
return "#\\s*\\w+(?:\\s*\\([^()]*\\))?";
|
|
2617
|
+
}
|
|
2618
|
+
);
|
|
2463
2619
|
(a.languages.javadoc = a.languages.extend("javadoclike", {})),
|
|
2464
2620
|
a.languages.insertBefore("javadoc", "keyword", {
|
|
2465
2621
|
reference: {
|
|
@@ -2491,7 +2647,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2491
2647
|
},
|
|
2492
2648
|
"code-section": [
|
|
2493
2649
|
{
|
|
2494
|
-
pattern:
|
|
2650
|
+
pattern:
|
|
2651
|
+
/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,
|
|
2495
2652
|
lookbehind: !0,
|
|
2496
2653
|
inside: {
|
|
2497
2654
|
code: {
|
|
@@ -2503,7 +2660,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2503
2660
|
}
|
|
2504
2661
|
},
|
|
2505
2662
|
{
|
|
2506
|
-
pattern:
|
|
2663
|
+
pattern:
|
|
2664
|
+
/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,
|
|
2507
2665
|
lookbehind: !0,
|
|
2508
2666
|
inside: {
|
|
2509
2667
|
line: {
|
|
@@ -2530,12 +2688,14 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2530
2688
|
!(function (e) {
|
|
2531
2689
|
(e.languages.typescript = e.languages.extend("javascript", {
|
|
2532
2690
|
"class-name": {
|
|
2533
|
-
pattern:
|
|
2691
|
+
pattern:
|
|
2692
|
+
/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
2534
2693
|
lookbehind: !0,
|
|
2535
2694
|
greedy: !0,
|
|
2536
2695
|
inside: null
|
|
2537
2696
|
},
|
|
2538
|
-
builtin:
|
|
2697
|
+
builtin:
|
|
2698
|
+
/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
2539
2699
|
})),
|
|
2540
2700
|
e.languages.typescript.keyword.push(
|
|
2541
2701
|
/\b(?:abstract|declare|is|keyof|readonly|require)\b/,
|
|
@@ -2556,10 +2716,12 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2556
2716
|
}
|
|
2557
2717
|
},
|
|
2558
2718
|
"generic-function": {
|
|
2559
|
-
pattern:
|
|
2719
|
+
pattern:
|
|
2720
|
+
/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
2560
2721
|
greedy: !0,
|
|
2561
2722
|
inside: {
|
|
2562
|
-
function:
|
|
2723
|
+
function:
|
|
2724
|
+
/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
2563
2725
|
generic: {
|
|
2564
2726
|
pattern: /<[\s\S]+/,
|
|
2565
2727
|
alias: "class-name",
|
|
@@ -2632,7 +2794,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2632
2794
|
}
|
|
2633
2795
|
],
|
|
2634
2796
|
example: {
|
|
2635
|
-
pattern:
|
|
2797
|
+
pattern:
|
|
2798
|
+
/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,
|
|
2636
2799
|
lookbehind: !0,
|
|
2637
2800
|
inside: {
|
|
2638
2801
|
code: {
|
|
@@ -2683,7 +2846,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2683
2846
|
a.languages.insertBefore("javascript", "constant", {
|
|
2684
2847
|
"known-class-name": [
|
|
2685
2848
|
{
|
|
2686
|
-
pattern:
|
|
2849
|
+
pattern:
|
|
2850
|
+
/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
|
|
2687
2851
|
alias: "class-name"
|
|
2688
2852
|
},
|
|
2689
2853
|
{ pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }
|
|
@@ -2711,7 +2875,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2711
2875
|
alias: "module"
|
|
2712
2876
|
},
|
|
2713
2877
|
{
|
|
2714
|
-
pattern:
|
|
2878
|
+
pattern:
|
|
2879
|
+
/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
|
|
2715
2880
|
alias: "control-flow"
|
|
2716
2881
|
},
|
|
2717
2882
|
{ pattern: /\bnull\b/, alias: ["null", "nil"] },
|
|
@@ -2731,7 +2896,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2731
2896
|
lookbehind: !0
|
|
2732
2897
|
},
|
|
2733
2898
|
dom: {
|
|
2734
|
-
pattern:
|
|
2899
|
+
pattern:
|
|
2900
|
+
/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
|
|
2735
2901
|
alias: "variable"
|
|
2736
2902
|
},
|
|
2737
2903
|
console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" }
|
|
@@ -2781,7 +2947,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2781
2947
|
property: [
|
|
2782
2948
|
{ pattern: RegExp(e.source + "(?=\\s*:)"), greedy: !0 },
|
|
2783
2949
|
{
|
|
2784
|
-
pattern:
|
|
2950
|
+
pattern:
|
|
2951
|
+
/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
|
|
2785
2952
|
alias: "unquoted"
|
|
2786
2953
|
}
|
|
2787
2954
|
],
|
|
@@ -2793,7 +2960,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2793
2960
|
punctuation: /[{}[\]();,.]/
|
|
2794
2961
|
})),
|
|
2795
2962
|
Prism.languages.insertBefore("jsonp", "punctuation", {
|
|
2796
|
-
function:
|
|
2963
|
+
function:
|
|
2964
|
+
/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
|
|
2797
2965
|
});
|
|
2798
2966
|
Prism.languages.jsstacktrace = {
|
|
2799
2967
|
"error-message": { pattern: /^\S.*/m, alias: "string" },
|
|
@@ -2802,7 +2970,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2802
2970
|
lookbehind: !0,
|
|
2803
2971
|
inside: {
|
|
2804
2972
|
"not-my-code": {
|
|
2805
|
-
pattern:
|
|
2973
|
+
pattern:
|
|
2974
|
+
/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,
|
|
2806
2975
|
alias: "comment"
|
|
2807
2976
|
},
|
|
2808
2977
|
filename: {
|
|
@@ -2811,14 +2980,16 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2811
2980
|
alias: "url"
|
|
2812
2981
|
},
|
|
2813
2982
|
function: {
|
|
2814
|
-
pattern:
|
|
2983
|
+
pattern:
|
|
2984
|
+
/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
|
|
2815
2985
|
lookbehind: !0,
|
|
2816
2986
|
inside: { punctuation: /\./ }
|
|
2817
2987
|
},
|
|
2818
2988
|
punctuation: /[()]/,
|
|
2819
2989
|
keyword: /\b(?:at|new)\b/,
|
|
2820
2990
|
alias: {
|
|
2821
|
-
pattern:
|
|
2991
|
+
pattern:
|
|
2992
|
+
/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
|
|
2822
2993
|
alias: "variable"
|
|
2823
2994
|
},
|
|
2824
2995
|
"line-number": {
|
|
@@ -2832,7 +3003,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2832
3003
|
!(function (n) {
|
|
2833
3004
|
(n.languages.kotlin = n.languages.extend("clike", {
|
|
2834
3005
|
keyword: {
|
|
2835
|
-
pattern:
|
|
3006
|
+
pattern:
|
|
3007
|
+
/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,
|
|
2836
3008
|
lookbehind: !0
|
|
2837
3009
|
},
|
|
2838
3010
|
function: [
|
|
@@ -2844,7 +3016,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2844
3016
|
}
|
|
2845
3017
|
],
|
|
2846
3018
|
number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
|
|
2847
|
-
operator:
|
|
3019
|
+
operator:
|
|
3020
|
+
/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
|
|
2848
3021
|
})),
|
|
2849
3022
|
delete n.languages.kotlin["class-name"];
|
|
2850
3023
|
var e = {
|
|
@@ -2872,7 +3045,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2872
3045
|
alias: "singleline",
|
|
2873
3046
|
inside: {
|
|
2874
3047
|
interpolation: {
|
|
2875
|
-
pattern:
|
|
3048
|
+
pattern:
|
|
3049
|
+
/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
|
|
2876
3050
|
lookbehind: !0,
|
|
2877
3051
|
inside: e
|
|
2878
3052
|
},
|
|
@@ -2969,7 +3143,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2969
3143
|
},
|
|
2970
3144
|
code: [
|
|
2971
3145
|
{
|
|
2972
|
-
pattern:
|
|
3146
|
+
pattern:
|
|
3147
|
+
/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
|
|
2973
3148
|
lookbehind: !0,
|
|
2974
3149
|
alias: "keyword"
|
|
2975
3150
|
},
|
|
@@ -2978,7 +3153,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
2978
3153
|
greedy: !0,
|
|
2979
3154
|
inside: {
|
|
2980
3155
|
"code-block": {
|
|
2981
|
-
pattern:
|
|
3156
|
+
pattern:
|
|
3157
|
+
/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
|
|
2982
3158
|
lookbehind: !0
|
|
2983
3159
|
},
|
|
2984
3160
|
"code-language": {
|
|
@@ -3013,7 +3189,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3013
3189
|
alias: "punctuation"
|
|
3014
3190
|
},
|
|
3015
3191
|
"url-reference": {
|
|
3016
|
-
pattern:
|
|
3192
|
+
pattern:
|
|
3193
|
+
/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
|
|
3017
3194
|
inside: {
|
|
3018
3195
|
variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 },
|
|
3019
3196
|
string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
|
|
@@ -3065,7 +3242,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3065
3242
|
}
|
|
3066
3243
|
},
|
|
3067
3244
|
"code-snippet": {
|
|
3068
|
-
pattern:
|
|
3245
|
+
pattern:
|
|
3246
|
+
/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
|
|
3069
3247
|
lookbehind: !0,
|
|
3070
3248
|
greedy: !0,
|
|
3071
3249
|
alias: ["code", "keyword"]
|
|
@@ -3193,6 +3371,17 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3193
3371
|
l = String.fromCodePoint || String.fromCharCode;
|
|
3194
3372
|
n.languages.md = n.languages.markdown;
|
|
3195
3373
|
})(Prism);
|
|
3374
|
+
(Prism.languages.objectivec = Prism.languages.extend("c", {
|
|
3375
|
+
string: {
|
|
3376
|
+
pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
3377
|
+
greedy: !0
|
|
3378
|
+
},
|
|
3379
|
+
keyword:
|
|
3380
|
+
/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
|
|
3381
|
+
operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/
|
|
3382
|
+
})),
|
|
3383
|
+
delete Prism.languages.objectivec["class-name"],
|
|
3384
|
+
(Prism.languages.objc = Prism.languages.objectivec);
|
|
3196
3385
|
!(function (a) {
|
|
3197
3386
|
var e = "(?:\\b[a-zA-Z]\\w*|[|\\\\[\\]])+";
|
|
3198
3387
|
(a.languages.phpdoc = a.languages.extend("javadoclike", {
|
|
@@ -3214,7 +3403,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3214
3403
|
),
|
|
3215
3404
|
lookbehind: !0,
|
|
3216
3405
|
inside: {
|
|
3217
|
-
keyword:
|
|
3406
|
+
keyword:
|
|
3407
|
+
/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,
|
|
3218
3408
|
punctuation: /[|\\[\]()]/
|
|
3219
3409
|
}
|
|
3220
3410
|
}
|
|
@@ -3235,7 +3425,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3235
3425
|
});
|
|
3236
3426
|
(Prism.languages.plsql = Prism.languages.extend("sql", {
|
|
3237
3427
|
comment: { pattern: /\/\*[\s\S]*?\*\/|--.*/, greedy: !0 },
|
|
3238
|
-
keyword:
|
|
3428
|
+
keyword:
|
|
3429
|
+
/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,
|
|
3239
3430
|
operator: /:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/
|
|
3240
3431
|
})),
|
|
3241
3432
|
Prism.languages.insertBefore("plsql", "operator", {
|
|
@@ -3244,11 +3435,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3244
3435
|
(Prism.languages.python = {
|
|
3245
3436
|
comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 },
|
|
3246
3437
|
"string-interpolation": {
|
|
3247
|
-
pattern:
|
|
3438
|
+
pattern:
|
|
3439
|
+
/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
3248
3440
|
greedy: !0,
|
|
3249
3441
|
inside: {
|
|
3250
3442
|
interpolation: {
|
|
3251
|
-
pattern:
|
|
3443
|
+
pattern:
|
|
3444
|
+
/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
3252
3445
|
lookbehind: !0,
|
|
3253
3446
|
inside: {
|
|
3254
3447
|
"format-spec": {
|
|
@@ -3285,8 +3478,10 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3285
3478
|
alias: ["annotation", "punctuation"],
|
|
3286
3479
|
inside: { punctuation: /\./ }
|
|
3287
3480
|
},
|
|
3288
|
-
keyword:
|
|
3289
|
-
|
|
3481
|
+
keyword:
|
|
3482
|
+
/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
3483
|
+
builtin:
|
|
3484
|
+
/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
3290
3485
|
boolean: /\b(?:False|None|True)\b/,
|
|
3291
3486
|
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
3292
3487
|
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
@@ -3320,12 +3515,10 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3320
3515
|
"</?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:\"(?:\\\\[^]|[^\\\\\"])*\"|'(?:\\\\[^]|[^\\\\'])*'|[^\\s{'\"/>=]+|<BRACES>))?|<SPREAD>))*<S>*/?)?>"
|
|
3321
3516
|
)),
|
|
3322
3517
|
(t.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/),
|
|
3323
|
-
(t.languages.jsx.tag.inside[
|
|
3324
|
-
"
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
"class-name"
|
|
3328
|
-
] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/),
|
|
3518
|
+
(t.languages.jsx.tag.inside["attr-value"].pattern =
|
|
3519
|
+
/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/),
|
|
3520
|
+
(t.languages.jsx.tag.inside.tag.inside["class-name"] =
|
|
3521
|
+
/^[A-Z]\w*(?:\.[A-Z]\w*)*$/),
|
|
3329
3522
|
(t.languages.jsx.tag.inside.comment = n.comment),
|
|
3330
3523
|
t.languages.insertBefore(
|
|
3331
3524
|
"inside",
|
|
@@ -3417,7 +3610,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3417
3610
|
})(Prism);
|
|
3418
3611
|
!(function (a) {
|
|
3419
3612
|
var e = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" },
|
|
3420
|
-
n =
|
|
3613
|
+
n =
|
|
3614
|
+
/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,
|
|
3421
3615
|
t = "(?:[^\\\\-]|" + n.source + ")",
|
|
3422
3616
|
s = RegExp(t + "-" + t),
|
|
3423
3617
|
i = {
|
|
@@ -3474,7 +3668,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3474
3668
|
escape: n,
|
|
3475
3669
|
group: [
|
|
3476
3670
|
{
|
|
3477
|
-
pattern:
|
|
3671
|
+
pattern:
|
|
3672
|
+
/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,
|
|
3478
3673
|
alias: "punctuation",
|
|
3479
3674
|
inside: { "group-name": i }
|
|
3480
3675
|
},
|
|
@@ -3489,7 +3684,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3489
3684
|
})(Prism);
|
|
3490
3685
|
(Prism.languages.swift = {
|
|
3491
3686
|
comment: {
|
|
3492
|
-
pattern:
|
|
3687
|
+
pattern:
|
|
3688
|
+
/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,
|
|
3493
3689
|
lookbehind: !0,
|
|
3494
3690
|
greedy: !0
|
|
3495
3691
|
},
|
|
@@ -3548,7 +3744,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3548
3744
|
}
|
|
3549
3745
|
},
|
|
3550
3746
|
literal: {
|
|
3551
|
-
pattern:
|
|
3747
|
+
pattern:
|
|
3748
|
+
/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,
|
|
3552
3749
|
alias: "constant"
|
|
3553
3750
|
},
|
|
3554
3751
|
"other-directive": { pattern: /#\w+\b/, alias: "property" },
|
|
@@ -3559,11 +3756,13 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3559
3756
|
alias: "function"
|
|
3560
3757
|
},
|
|
3561
3758
|
label: {
|
|
3562
|
-
pattern:
|
|
3759
|
+
pattern:
|
|
3760
|
+
/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,
|
|
3563
3761
|
lookbehind: !0,
|
|
3564
3762
|
alias: "important"
|
|
3565
3763
|
},
|
|
3566
|
-
keyword:
|
|
3764
|
+
keyword:
|
|
3765
|
+
/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,
|
|
3567
3766
|
boolean: /\b(?:false|true)\b/,
|
|
3568
3767
|
nil: { pattern: /\bnil\b/, alias: "constant" },
|
|
3569
3768
|
"short-argument": /\$\d+\b/,
|
|
@@ -3579,7 +3778,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3579
3778
|
e.inside.interpolation.inside = Prism.languages.swift;
|
|
3580
3779
|
});
|
|
3581
3780
|
!(function (E) {
|
|
3582
|
-
var n =
|
|
3781
|
+
var n =
|
|
3782
|
+
/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;
|
|
3583
3783
|
(E.languages.typoscript = {
|
|
3584
3784
|
comment: [
|
|
3585
3785
|
{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 },
|
|
@@ -3592,7 +3792,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3592
3792
|
],
|
|
3593
3793
|
function: [
|
|
3594
3794
|
{
|
|
3595
|
-
pattern:
|
|
3795
|
+
pattern:
|
|
3796
|
+
/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,
|
|
3596
3797
|
inside: {
|
|
3597
3798
|
string: {
|
|
3598
3799
|
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
@@ -3677,7 +3878,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3677
3878
|
"ipv6-address": /^[\s\S]+/
|
|
3678
3879
|
}
|
|
3679
3880
|
},
|
|
3680
|
-
"ipv4-address":
|
|
3881
|
+
"ipv4-address":
|
|
3882
|
+
/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/
|
|
3681
3883
|
}
|
|
3682
3884
|
}
|
|
3683
3885
|
}
|
|
@@ -3698,12 +3900,14 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3698
3900
|
lookbehind: !0,
|
|
3699
3901
|
greedy: !0
|
|
3700
3902
|
},
|
|
3701
|
-
keyword:
|
|
3903
|
+
keyword:
|
|
3904
|
+
/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
|
|
3702
3905
|
punctuation: /[,;:(){}]/
|
|
3703
3906
|
});
|
|
3704
3907
|
!(function (e) {
|
|
3705
3908
|
var n = /[*&][^\s[\]{},]+/,
|
|
3706
|
-
r =
|
|
3909
|
+
r =
|
|
3910
|
+
/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,
|
|
3707
3911
|
t =
|
|
3708
3912
|
"(?:" +
|
|
3709
3913
|
r.source +
|
|
@@ -3714,22 +3918,24 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3714
3918
|
"(?:[ \t]+" +
|
|
3715
3919
|
r.source +
|
|
3716
3920
|
")?)",
|
|
3717
|
-
a =
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3921
|
+
a =
|
|
3922
|
+
"(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*".replace(
|
|
3923
|
+
/<PLAIN>/g,
|
|
3924
|
+
function () {
|
|
3925
|
+
return "[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]";
|
|
3926
|
+
}
|
|
3927
|
+
),
|
|
3723
3928
|
d = "\"(?:[^\"\\\\\r\n]|\\\\.)*\"|'(?:[^'\\\\\r\n]|\\\\.)*'";
|
|
3724
3929
|
function o(e, n) {
|
|
3725
3930
|
n = (n || "").replace(/m/g, "") + "m";
|
|
3726
|
-
var r =
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3931
|
+
var r =
|
|
3932
|
+
"([:\\-,[{]\\s*(?:\\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\\]|\\}|(?:[\r\n]\\s*)?#))"
|
|
3933
|
+
.replace(/<<prop>>/g, function () {
|
|
3934
|
+
return t;
|
|
3935
|
+
})
|
|
3936
|
+
.replace(/<<value>>/g, function () {
|
|
3937
|
+
return e;
|
|
3938
|
+
});
|
|
3733
3939
|
return RegExp(r, n);
|
|
3734
3940
|
}
|
|
3735
3941
|
(e.languages.yaml = {
|
|
@@ -3819,10 +4025,11 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
|
|
|
3819
4025
|
Object.prototype.hasOwnProperty.call(n, e) &&
|
|
3820
4026
|
(c.dataset[e] = n[e]);
|
|
3821
4027
|
}),
|
|
3822
|
-
(a.textContent = e.code =
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
4028
|
+
(a.textContent = e.code =
|
|
4029
|
+
e.code.replace(
|
|
4030
|
+
/<\/script(?:>|>)/gi,
|
|
4031
|
+
"</script>"
|
|
4032
|
+
)),
|
|
3826
4033
|
c.appendChild(a),
|
|
3827
4034
|
t.parentNode.replaceChild(c, t),
|
|
3828
4035
|
void (e.element = a)
|