@banyan_cloud/roots 1.0.86 → 1.0.88
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/dist/cjs/index.js +531 -524
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +531 -524
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +531 -524
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -6442,8 +6442,8 @@ var Databases = {
|
|
|
6442
6442
|
MySql: MySql
|
|
6443
6443
|
};
|
|
6444
6444
|
|
|
6445
|
-
var css$$ = ".
|
|
6446
|
-
var modules_8207625f = {"root":"
|
|
6445
|
+
var css$$ = ".Accordion_module_root__4d824a08 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] > [data-elem=component1] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] > [data-elem=component1] .Accordion_module_icon__4d824a08 {\n transform: rotate(-90deg);\n width: 1rem;\n height: 1rem;\n fill: var(--dark-grey);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] .Accordion_module_title__4d824a08 {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover {\n background: var(--background);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover .Accordion_module_icon__4d824a08,\n.Accordion_module_root__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell]:hover .Accordion_module_title__4d824a08 {\n color: var(--highlight);\n fill: var(--highlight);\n}\n.Accordion_module_root__4d824a08 > .Accordion_module_body__4d824a08 {\n display: none;\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_header__4d824a08[data-elem=base-cell] [data-elem=component1] .Accordion_module_icon__4d824a08 {\n transform: none;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 > button[data-elem=base-cell] {\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__4d824a08.Accordion_module_open__4d824a08 > .Accordion_module_body__4d824a08 > button[data-elem=base-cell] .Accordion_module_expand__4d824a08 {\n height: 1.5rem;\n width: 1.5rem;\n}";
|
|
6446
|
+
var modules_8207625f = {"root":"Accordion_module_root__4d824a08","header":"Accordion_module_header__4d824a08","icon":"Accordion_module_icon__4d824a08","title":"Accordion_module_title__4d824a08","body":"Accordion_module_body__4d824a08","open":"Accordion_module_open__4d824a08","expand":"Accordion_module_expand__4d824a08"};
|
|
6447
6447
|
n(css$$,{});
|
|
6448
6448
|
|
|
6449
6449
|
var Accordion = function Accordion(props) {
|
|
@@ -6456,7 +6456,8 @@ var Accordion = function Accordion(props) {
|
|
|
6456
6456
|
children = props.children,
|
|
6457
6457
|
_onClick = props.onClick,
|
|
6458
6458
|
className = props.className,
|
|
6459
|
-
onExpand = props.onExpand
|
|
6459
|
+
onExpand = props.onExpand,
|
|
6460
|
+
CustomIcon = props.icon;
|
|
6460
6461
|
|
|
6461
6462
|
// uncontrolled
|
|
6462
6463
|
var _useState = useState(defaultOpen),
|
|
@@ -6466,6 +6467,10 @@ var Accordion = function Accordion(props) {
|
|
|
6466
6467
|
var _useRef = useRef(open !== undefined),
|
|
6467
6468
|
isControlled = _useRef.current;
|
|
6468
6469
|
var isOpen = isControlled ? open : uncontrolledOpen;
|
|
6470
|
+
var Icon = Caret;
|
|
6471
|
+
if (CustomIcon) {
|
|
6472
|
+
Icon = CustomIcon;
|
|
6473
|
+
}
|
|
6469
6474
|
return /*#__PURE__*/jsxs("div", {
|
|
6470
6475
|
className: classes(className, modules_8207625f.root, isOpen ? modules_8207625f.open : ''),
|
|
6471
6476
|
"data-state-open": isOpen,
|
|
@@ -6487,14 +6492,14 @@ var Accordion = function Accordion(props) {
|
|
|
6487
6492
|
}
|
|
6488
6493
|
}
|
|
6489
6494
|
},
|
|
6490
|
-
component1: iconPlacement === 'left' && /*#__PURE__*/jsx(
|
|
6495
|
+
component1: iconPlacement === 'left' && /*#__PURE__*/jsx(Icon, {
|
|
6491
6496
|
className: modules_8207625f.icon
|
|
6492
6497
|
}),
|
|
6493
6498
|
component2: /*#__PURE__*/jsx("span", {
|
|
6494
6499
|
className: modules_8207625f.title,
|
|
6495
6500
|
children: title
|
|
6496
6501
|
}),
|
|
6497
|
-
component3: iconPlacement === 'right' && /*#__PURE__*/jsx(
|
|
6502
|
+
component3: iconPlacement === 'right' && /*#__PURE__*/jsx(Icon, {
|
|
6498
6503
|
className: modules_8207625f.icon
|
|
6499
6504
|
})
|
|
6500
6505
|
}), /*#__PURE__*/jsxs("div", {
|
|
@@ -20613,29 +20618,20 @@ function arduino(Prism) {
|
|
|
20613
20618
|
Prism.languages.ino = Prism.languages.arduino;
|
|
20614
20619
|
}
|
|
20615
20620
|
|
|
20616
|
-
var arff_1;
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
function
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
20631
|
-
greedy: true
|
|
20632
|
-
},
|
|
20633
|
-
keyword: /@(?:attribute|data|end|relation)\b/i,
|
|
20634
|
-
number: /\b\d+(?:\.\d+)?\b/,
|
|
20635
|
-
punctuation: /[{},]/
|
|
20636
|
-
};
|
|
20637
|
-
}
|
|
20638
|
-
return arff_1;
|
|
20621
|
+
var arff_1 = arff;
|
|
20622
|
+
arff.displayName = 'arff';
|
|
20623
|
+
arff.aliases = [];
|
|
20624
|
+
function arff(Prism) {
|
|
20625
|
+
Prism.languages.arff = {
|
|
20626
|
+
comment: /%.*/,
|
|
20627
|
+
string: {
|
|
20628
|
+
pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
20629
|
+
greedy: true
|
|
20630
|
+
},
|
|
20631
|
+
keyword: /@(?:attribute|data|end|relation)\b/i,
|
|
20632
|
+
number: /\b\d+(?:\.\d+)?\b/,
|
|
20633
|
+
punctuation: /[{},]/
|
|
20634
|
+
};
|
|
20639
20635
|
}
|
|
20640
20636
|
|
|
20641
20637
|
var asciidoc_1 = asciidoc;
|
|
@@ -21739,314 +21735,341 @@ function avisynth(Prism) {
|
|
|
21739
21735
|
})(Prism);
|
|
21740
21736
|
}
|
|
21741
21737
|
|
|
21742
|
-
var avroIdl_1
|
|
21743
|
-
|
|
21744
|
-
|
|
21745
|
-
function
|
|
21746
|
-
|
|
21747
|
-
|
|
21748
|
-
|
|
21749
|
-
|
|
21750
|
-
|
|
21751
|
-
|
|
21752
|
-
|
|
21753
|
-
|
|
21754
|
-
|
|
21755
|
-
|
|
21756
|
-
|
|
21757
|
-
|
|
21758
|
-
|
|
21759
|
-
|
|
21760
|
-
|
|
21761
|
-
|
|
21762
|
-
|
|
21763
|
-
|
|
21764
|
-
|
|
21765
|
-
|
|
21766
|
-
|
|
21767
|
-
|
|
21768
|
-
|
|
21769
|
-
|
|
21770
|
-
|
|
21771
|
-
|
|
21772
|
-
|
|
21773
|
-
|
|
21774
|
-
|
|
21775
|
-
|
|
21776
|
-
|
|
21777
|
-
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
|
|
21781
|
-
|
|
21782
|
-
|
|
21783
|
-
|
|
21784
|
-
|
|
21785
|
-
|
|
21786
|
-
|
|
21787
|
-
|
|
21788
|
-
|
|
21789
|
-
|
|
21790
|
-
|
|
21791
|
-
|
|
21738
|
+
var avroIdl_1;
|
|
21739
|
+
var hasRequiredAvroIdl;
|
|
21740
|
+
|
|
21741
|
+
function requireAvroIdl () {
|
|
21742
|
+
if (hasRequiredAvroIdl) return avroIdl_1;
|
|
21743
|
+
hasRequiredAvroIdl = 1;
|
|
21744
|
+
|
|
21745
|
+
avroIdl_1 = avroIdl;
|
|
21746
|
+
avroIdl.displayName = 'avroIdl';
|
|
21747
|
+
avroIdl.aliases = [];
|
|
21748
|
+
function avroIdl(Prism) {
|
|
21749
|
+
// GitHub: https://github.com/apache/avro
|
|
21750
|
+
// Docs: https://avro.apache.org/docs/current/idl.html
|
|
21751
|
+
Prism.languages['avro-idl'] = {
|
|
21752
|
+
comment: {
|
|
21753
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
21754
|
+
greedy: true
|
|
21755
|
+
},
|
|
21756
|
+
string: {
|
|
21757
|
+
pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
|
|
21758
|
+
lookbehind: true,
|
|
21759
|
+
greedy: true
|
|
21760
|
+
},
|
|
21761
|
+
annotation: {
|
|
21762
|
+
pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
|
|
21763
|
+
greedy: true,
|
|
21764
|
+
alias: 'function'
|
|
21765
|
+
},
|
|
21766
|
+
'function-identifier': {
|
|
21767
|
+
pattern: /`[^\r\n`]+`(?=\s*\()/,
|
|
21768
|
+
greedy: true,
|
|
21769
|
+
alias: 'function'
|
|
21770
|
+
},
|
|
21771
|
+
identifier: {
|
|
21772
|
+
pattern: /`[^\r\n`]+`/,
|
|
21773
|
+
greedy: true
|
|
21774
|
+
},
|
|
21775
|
+
'class-name': {
|
|
21776
|
+
pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
|
|
21777
|
+
lookbehind: true,
|
|
21778
|
+
greedy: true
|
|
21779
|
+
},
|
|
21780
|
+
keyword:
|
|
21781
|
+
/\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/,
|
|
21782
|
+
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
21783
|
+
number: [
|
|
21784
|
+
{
|
|
21785
|
+
pattern:
|
|
21786
|
+
/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
|
|
21787
|
+
lookbehind: true
|
|
21788
|
+
},
|
|
21789
|
+
/-?\b(?:Infinity|NaN)\b/
|
|
21790
|
+
],
|
|
21791
|
+
operator: /=/,
|
|
21792
|
+
punctuation: /[()\[\]{}<>.:,;-]/
|
|
21793
|
+
};
|
|
21794
|
+
Prism.languages.avdl = Prism.languages['avro-idl'];
|
|
21795
|
+
}
|
|
21796
|
+
return avroIdl_1;
|
|
21792
21797
|
}
|
|
21793
21798
|
|
|
21794
|
-
var bash_1
|
|
21795
|
-
|
|
21796
|
-
|
|
21797
|
-
function
|
|
21799
|
+
var bash_1;
|
|
21800
|
+
var hasRequiredBash;
|
|
21801
|
+
|
|
21802
|
+
function requireBash () {
|
|
21803
|
+
if (hasRequiredBash) return bash_1;
|
|
21804
|
+
hasRequiredBash = 1;
|
|
21805
|
+
|
|
21806
|
+
bash_1 = bash;
|
|
21807
|
+
bash.displayName = 'bash';
|
|
21808
|
+
bash.aliases = ['shell'];
|
|
21809
|
+
function bash(Prism) {
|
|
21798
21810
|
(function (Prism) {
|
|
21799
|
-
|
|
21800
|
-
|
|
21801
|
-
|
|
21802
|
-
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21809
|
-
|
|
21810
|
-
|
|
21811
|
-
|
|
21812
|
-
|
|
21813
|
-
|
|
21814
|
-
|
|
21815
|
-
|
|
21816
|
-
|
|
21817
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21827
|
-
|
|
21828
|
-
|
|
21829
|
-
|
|
21830
|
-
|
|
21831
|
-
|
|
21832
|
-
|
|
21833
|
-
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
|
|
21837
|
-
|
|
21838
|
-
|
|
21839
|
-
|
|
21840
|
-
|
|
21841
|
-
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
|
|
21852
|
-
|
|
21853
|
-
|
|
21854
|
-
|
|
21855
|
-
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
|
|
21868
|
-
|
|
21869
|
-
|
|
21870
|
-
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
21874
|
-
|
|
21875
|
-
|
|
21876
|
-
|
|
21877
|
-
|
|
21878
|
-
|
|
21879
|
-
|
|
21880
|
-
|
|
21881
|
-
|
|
21882
|
-
|
|
21883
|
-
|
|
21884
|
-
|
|
21885
|
-
|
|
21886
|
-
|
|
21887
|
-
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
|
|
21903
|
-
|
|
21904
|
-
|
|
21905
|
-
|
|
21906
|
-
|
|
21907
|
-
|
|
21908
|
-
|
|
21909
|
-
|
|
21910
|
-
|
|
21911
|
-
|
|
21912
|
-
|
|
21913
|
-
|
|
21914
|
-
|
|
21915
|
-
|
|
21916
|
-
|
|
21917
|
-
|
|
21918
|
-
|
|
21919
|
-
|
|
21920
|
-
|
|
21921
|
-
|
|
21922
|
-
|
|
21923
|
-
|
|
21924
|
-
|
|
21925
|
-
|
|
21926
|
-
|
|
21927
|
-
|
|
21928
|
-
|
|
21929
|
-
|
|
21930
|
-
|
|
21931
|
-
|
|
21932
|
-
|
|
21933
|
-
|
|
21934
|
-
|
|
21935
|
-
|
|
21936
|
-
|
|
21937
|
-
|
|
21938
|
-
|
|
21939
|
-
|
|
21940
|
-
|
|
21941
|
-
|
|
21942
|
-
|
|
21943
|
-
|
|
21944
|
-
|
|
21945
|
-
|
|
21946
|
-
|
|
21947
|
-
|
|
21948
|
-
|
|
21949
|
-
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
|
|
21953
|
-
|
|
21954
|
-
|
|
21955
|
-
|
|
21956
|
-
|
|
21957
|
-
|
|
21958
|
-
|
|
21959
|
-
|
|
21960
|
-
|
|
21961
|
-
|
|
21962
|
-
|
|
21963
|
-
|
|
21964
|
-
|
|
21965
|
-
|
|
21966
|
-
|
|
21967
|
-
|
|
21968
|
-
|
|
21969
|
-
|
|
21970
|
-
|
|
21971
|
-
|
|
21972
|
-
|
|
21973
|
-
|
|
21974
|
-
|
|
21975
|
-
|
|
21976
|
-
|
|
21977
|
-
|
|
21978
|
-
|
|
21979
|
-
|
|
21980
|
-
|
|
21981
|
-
|
|
21982
|
-
|
|
21983
|
-
|
|
21984
|
-
|
|
21985
|
-
|
|
21986
|
-
|
|
21987
|
-
|
|
21988
|
-
|
|
21989
|
-
|
|
21990
|
-
|
|
21991
|
-
|
|
21992
|
-
|
|
21993
|
-
|
|
21994
|
-
|
|
21995
|
-
|
|
21996
|
-
|
|
21997
|
-
|
|
21998
|
-
|
|
21999
|
-
|
|
22000
|
-
|
|
22001
|
-
|
|
22002
|
-
|
|
22003
|
-
|
|
22004
|
-
|
|
22005
|
-
|
|
22006
|
-
|
|
22007
|
-
|
|
22008
|
-
|
|
22009
|
-
|
|
22010
|
-
|
|
22011
|
-
|
|
22012
|
-
|
|
22013
|
-
|
|
22014
|
-
|
|
22015
|
-
|
|
22016
|
-
|
|
22017
|
-
|
|
22018
|
-
|
|
22019
|
-
|
|
22020
|
-
|
|
22021
|
-
|
|
22022
|
-
|
|
22023
|
-
|
|
22024
|
-
|
|
21811
|
+
// $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
|
|
21812
|
+
// + LC_ALL, RANDOM, REPLY, SECONDS.
|
|
21813
|
+
// + make sure PS1..4 are here as they are not always set,
|
|
21814
|
+
// - some useless things.
|
|
21815
|
+
var envVars =
|
|
21816
|
+
'\\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';
|
|
21817
|
+
var commandAfterHeredoc = {
|
|
21818
|
+
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
21819
|
+
lookbehind: true,
|
|
21820
|
+
alias: 'punctuation',
|
|
21821
|
+
// this looks reasonably well in all themes
|
|
21822
|
+
inside: null // see below
|
|
21823
|
+
};
|
|
21824
|
+
var insideString = {
|
|
21825
|
+
bash: commandAfterHeredoc,
|
|
21826
|
+
environment: {
|
|
21827
|
+
pattern: RegExp('\\$' + envVars),
|
|
21828
|
+
alias: 'constant'
|
|
21829
|
+
},
|
|
21830
|
+
variable: [
|
|
21831
|
+
// [0]: Arithmetic Environment
|
|
21832
|
+
{
|
|
21833
|
+
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
21834
|
+
greedy: true,
|
|
21835
|
+
inside: {
|
|
21836
|
+
// If there is a $ sign at the beginning highlight $(( and )) as variable
|
|
21837
|
+
variable: [
|
|
21838
|
+
{
|
|
21839
|
+
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
21840
|
+
lookbehind: true
|
|
21841
|
+
},
|
|
21842
|
+
/^\$\(\(/
|
|
21843
|
+
],
|
|
21844
|
+
number:
|
|
21845
|
+
/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
21846
|
+
// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
|
|
21847
|
+
operator:
|
|
21848
|
+
/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
21849
|
+
// If there is no $ sign at the beginning highlight (( and )) as punctuation
|
|
21850
|
+
punctuation: /\(\(?|\)\)?|,|;/
|
|
21851
|
+
}
|
|
21852
|
+
}, // [1]: Command Substitution
|
|
21853
|
+
{
|
|
21854
|
+
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
21855
|
+
greedy: true,
|
|
21856
|
+
inside: {
|
|
21857
|
+
variable: /^\$\(|^`|\)$|`$/
|
|
21858
|
+
}
|
|
21859
|
+
}, // [2]: Brace expansion
|
|
21860
|
+
{
|
|
21861
|
+
pattern: /\$\{[^}]+\}/,
|
|
21862
|
+
greedy: true,
|
|
21863
|
+
inside: {
|
|
21864
|
+
operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
21865
|
+
punctuation: /[\[\]]/,
|
|
21866
|
+
environment: {
|
|
21867
|
+
pattern: RegExp('(\\{)' + envVars),
|
|
21868
|
+
lookbehind: true,
|
|
21869
|
+
alias: 'constant'
|
|
21870
|
+
}
|
|
21871
|
+
}
|
|
21872
|
+
},
|
|
21873
|
+
/\$(?:\w+|[#?*!@$])/
|
|
21874
|
+
],
|
|
21875
|
+
// Escape sequences from echo and printf's manuals, and escaped quotes.
|
|
21876
|
+
entity:
|
|
21877
|
+
/\\(?:[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})/
|
|
21878
|
+
};
|
|
21879
|
+
Prism.languages.bash = {
|
|
21880
|
+
shebang: {
|
|
21881
|
+
pattern: /^#!\s*\/.*/,
|
|
21882
|
+
alias: 'important'
|
|
21883
|
+
},
|
|
21884
|
+
comment: {
|
|
21885
|
+
pattern: /(^|[^"{\\$])#.*/,
|
|
21886
|
+
lookbehind: true
|
|
21887
|
+
},
|
|
21888
|
+
'function-name': [
|
|
21889
|
+
// a) function foo {
|
|
21890
|
+
// b) foo() {
|
|
21891
|
+
// c) function foo() {
|
|
21892
|
+
// but not “foo {”
|
|
21893
|
+
{
|
|
21894
|
+
// a) and c)
|
|
21895
|
+
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
21896
|
+
lookbehind: true,
|
|
21897
|
+
alias: 'function'
|
|
21898
|
+
},
|
|
21899
|
+
{
|
|
21900
|
+
// b)
|
|
21901
|
+
pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
|
|
21902
|
+
alias: 'function'
|
|
21903
|
+
}
|
|
21904
|
+
],
|
|
21905
|
+
// Highlight variable names as variables in for and select beginnings.
|
|
21906
|
+
'for-or-select': {
|
|
21907
|
+
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
21908
|
+
alias: 'variable',
|
|
21909
|
+
lookbehind: true
|
|
21910
|
+
},
|
|
21911
|
+
// Highlight variable names as variables in the left-hand part
|
|
21912
|
+
// of assignments (“=” and “+=”).
|
|
21913
|
+
'assign-left': {
|
|
21914
|
+
pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
|
|
21915
|
+
inside: {
|
|
21916
|
+
environment: {
|
|
21917
|
+
pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
|
|
21918
|
+
lookbehind: true,
|
|
21919
|
+
alias: 'constant'
|
|
21920
|
+
}
|
|
21921
|
+
},
|
|
21922
|
+
alias: 'variable',
|
|
21923
|
+
lookbehind: true
|
|
21924
|
+
},
|
|
21925
|
+
string: [
|
|
21926
|
+
// Support for Here-documents https://en.wikipedia.org/wiki/Here_document
|
|
21927
|
+
{
|
|
21928
|
+
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
21929
|
+
lookbehind: true,
|
|
21930
|
+
greedy: true,
|
|
21931
|
+
inside: insideString
|
|
21932
|
+
}, // Here-document with quotes around the tag
|
|
21933
|
+
// → No expansion (so no “inside”).
|
|
21934
|
+
{
|
|
21935
|
+
pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
21936
|
+
lookbehind: true,
|
|
21937
|
+
greedy: true,
|
|
21938
|
+
inside: {
|
|
21939
|
+
bash: commandAfterHeredoc
|
|
21940
|
+
}
|
|
21941
|
+
}, // “Normal” string
|
|
21942
|
+
{
|
|
21943
|
+
// https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
|
|
21944
|
+
pattern:
|
|
21945
|
+
/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
21946
|
+
lookbehind: true,
|
|
21947
|
+
greedy: true,
|
|
21948
|
+
inside: insideString
|
|
21949
|
+
},
|
|
21950
|
+
{
|
|
21951
|
+
// https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
|
|
21952
|
+
pattern: /(^|[^$\\])'[^']*'/,
|
|
21953
|
+
lookbehind: true,
|
|
21954
|
+
greedy: true
|
|
21955
|
+
},
|
|
21956
|
+
{
|
|
21957
|
+
// https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
|
|
21958
|
+
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
21959
|
+
greedy: true,
|
|
21960
|
+
inside: {
|
|
21961
|
+
entity: insideString.entity
|
|
21962
|
+
}
|
|
21963
|
+
}
|
|
21964
|
+
],
|
|
21965
|
+
environment: {
|
|
21966
|
+
pattern: RegExp('\\$?' + envVars),
|
|
21967
|
+
alias: 'constant'
|
|
21968
|
+
},
|
|
21969
|
+
variable: insideString.variable,
|
|
21970
|
+
function: {
|
|
21971
|
+
pattern:
|
|
21972
|
+
/(^|[\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;|&])/,
|
|
21973
|
+
lookbehind: true
|
|
21974
|
+
},
|
|
21975
|
+
keyword: {
|
|
21976
|
+
pattern:
|
|
21977
|
+
/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
21978
|
+
lookbehind: true
|
|
21979
|
+
},
|
|
21980
|
+
// https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
|
|
21981
|
+
builtin: {
|
|
21982
|
+
pattern:
|
|
21983
|
+
/(^|[\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;|&])/,
|
|
21984
|
+
lookbehind: true,
|
|
21985
|
+
// Alias added to make those easier to distinguish from strings.
|
|
21986
|
+
alias: 'class-name'
|
|
21987
|
+
},
|
|
21988
|
+
boolean: {
|
|
21989
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
21990
|
+
lookbehind: true
|
|
21991
|
+
},
|
|
21992
|
+
'file-descriptor': {
|
|
21993
|
+
pattern: /\B&\d\b/,
|
|
21994
|
+
alias: 'important'
|
|
21995
|
+
},
|
|
21996
|
+
operator: {
|
|
21997
|
+
// Lots of redirections here, but not just that.
|
|
21998
|
+
pattern:
|
|
21999
|
+
/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
22000
|
+
inside: {
|
|
22001
|
+
'file-descriptor': {
|
|
22002
|
+
pattern: /^\d/,
|
|
22003
|
+
alias: 'important'
|
|
22004
|
+
}
|
|
22005
|
+
}
|
|
22006
|
+
},
|
|
22007
|
+
punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
22008
|
+
number: {
|
|
22009
|
+
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
22010
|
+
lookbehind: true
|
|
22011
|
+
}
|
|
22012
|
+
};
|
|
22013
|
+
commandAfterHeredoc.inside = Prism.languages.bash;
|
|
22014
|
+
/* Patterns in command substitution. */
|
|
22015
|
+
var toBeCopied = [
|
|
22016
|
+
'comment',
|
|
22017
|
+
'function-name',
|
|
22018
|
+
'for-or-select',
|
|
22019
|
+
'assign-left',
|
|
22020
|
+
'string',
|
|
22021
|
+
'environment',
|
|
22022
|
+
'function',
|
|
22023
|
+
'keyword',
|
|
22024
|
+
'builtin',
|
|
22025
|
+
'boolean',
|
|
22026
|
+
'file-descriptor',
|
|
22027
|
+
'operator',
|
|
22028
|
+
'punctuation',
|
|
22029
|
+
'number'
|
|
22030
|
+
];
|
|
22031
|
+
var inside = insideString.variable[1].inside;
|
|
22032
|
+
for (var i = 0; i < toBeCopied.length; i++) {
|
|
22033
|
+
inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
|
|
22034
|
+
}
|
|
22035
|
+
Prism.languages.shell = Prism.languages.bash;
|
|
22036
|
+
})(Prism);
|
|
22037
|
+
}
|
|
22038
|
+
return bash_1;
|
|
22025
22039
|
}
|
|
22026
22040
|
|
|
22027
|
-
var basic_1
|
|
22028
|
-
|
|
22029
|
-
|
|
22030
|
-
function
|
|
22031
|
-
|
|
22032
|
-
|
|
22033
|
-
|
|
22034
|
-
|
|
22035
|
-
|
|
22036
|
-
|
|
22037
|
-
|
|
22038
|
-
|
|
22039
|
-
|
|
22040
|
-
|
|
22041
|
-
|
|
22042
|
-
|
|
22043
|
-
|
|
22044
|
-
|
|
22045
|
-
|
|
22046
|
-
|
|
22047
|
-
|
|
22048
|
-
|
|
22049
|
-
|
|
22041
|
+
var basic_1;
|
|
22042
|
+
var hasRequiredBasic;
|
|
22043
|
+
|
|
22044
|
+
function requireBasic () {
|
|
22045
|
+
if (hasRequiredBasic) return basic_1;
|
|
22046
|
+
hasRequiredBasic = 1;
|
|
22047
|
+
|
|
22048
|
+
basic_1 = basic;
|
|
22049
|
+
basic.displayName = 'basic';
|
|
22050
|
+
basic.aliases = [];
|
|
22051
|
+
function basic(Prism) {
|
|
22052
|
+
Prism.languages.basic = {
|
|
22053
|
+
comment: {
|
|
22054
|
+
pattern: /(?:!|REM\b).+/i,
|
|
22055
|
+
inside: {
|
|
22056
|
+
keyword: /^REM/i
|
|
22057
|
+
}
|
|
22058
|
+
},
|
|
22059
|
+
string: {
|
|
22060
|
+
pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
|
|
22061
|
+
greedy: true
|
|
22062
|
+
},
|
|
22063
|
+
number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
|
|
22064
|
+
keyword:
|
|
22065
|
+
/\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,
|
|
22066
|
+
function:
|
|
22067
|
+
/\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,
|
|
22068
|
+
operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
|
|
22069
|
+
punctuation: /[,;:()]/
|
|
22070
|
+
};
|
|
22071
|
+
}
|
|
22072
|
+
return basic_1;
|
|
22050
22073
|
}
|
|
22051
22074
|
|
|
22052
22075
|
var batch_1 = batch;
|
|
@@ -22846,183 +22869,165 @@ function cobol(Prism) {
|
|
|
22846
22869
|
};
|
|
22847
22870
|
}
|
|
22848
22871
|
|
|
22849
|
-
var coffeescript_1;
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
function
|
|
22853
|
-
if (hasRequiredCoffeescript) return coffeescript_1;
|
|
22854
|
-
hasRequiredCoffeescript = 1;
|
|
22855
|
-
|
|
22856
|
-
coffeescript_1 = coffeescript;
|
|
22857
|
-
coffeescript.displayName = 'coffeescript';
|
|
22858
|
-
coffeescript.aliases = ['coffee'];
|
|
22859
|
-
function coffeescript(Prism) {
|
|
22872
|
+
var coffeescript_1 = coffeescript;
|
|
22873
|
+
coffeescript.displayName = 'coffeescript';
|
|
22874
|
+
coffeescript.aliases = ['coffee'];
|
|
22875
|
+
function coffeescript(Prism) {
|
|
22860
22876
|
(function (Prism) {
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22921
|
-
|
|
22922
|
-
|
|
22923
|
-
|
|
22924
|
-
|
|
22925
|
-
|
|
22926
|
-
|
|
22927
|
-
|
|
22928
|
-
|
|
22929
|
-
|
|
22930
|
-
|
|
22931
|
-
|
|
22932
|
-
|
|
22933
|
-
|
|
22934
|
-
|
|
22935
|
-
|
|
22936
|
-
|
|
22937
|
-
|
|
22938
|
-
|
|
22939
|
-
|
|
22940
|
-
|
|
22941
|
-
|
|
22942
|
-
|
|
22943
|
-
|
|
22944
|
-
|
|
22945
|
-
}
|
|
22946
|
-
return coffeescript_1;
|
|
22877
|
+
// Ignore comments starting with { to privilege string interpolation highlighting
|
|
22878
|
+
var comment = /#(?!\{).+/;
|
|
22879
|
+
var interpolation = {
|
|
22880
|
+
pattern: /#\{[^}]+\}/,
|
|
22881
|
+
alias: 'variable'
|
|
22882
|
+
};
|
|
22883
|
+
Prism.languages.coffeescript = Prism.languages.extend('javascript', {
|
|
22884
|
+
comment: comment,
|
|
22885
|
+
string: [
|
|
22886
|
+
// Strings are multiline
|
|
22887
|
+
{
|
|
22888
|
+
pattern: /'(?:\\[\s\S]|[^\\'])*'/,
|
|
22889
|
+
greedy: true
|
|
22890
|
+
},
|
|
22891
|
+
{
|
|
22892
|
+
// Strings are multiline
|
|
22893
|
+
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
|
|
22894
|
+
greedy: true,
|
|
22895
|
+
inside: {
|
|
22896
|
+
interpolation: interpolation
|
|
22897
|
+
}
|
|
22898
|
+
}
|
|
22899
|
+
],
|
|
22900
|
+
keyword:
|
|
22901
|
+
/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
|
|
22902
|
+
'class-member': {
|
|
22903
|
+
pattern: /@(?!\d)\w+/,
|
|
22904
|
+
alias: 'variable'
|
|
22905
|
+
}
|
|
22906
|
+
});
|
|
22907
|
+
Prism.languages.insertBefore('coffeescript', 'comment', {
|
|
22908
|
+
'multiline-comment': {
|
|
22909
|
+
pattern: /###[\s\S]+?###/,
|
|
22910
|
+
alias: 'comment'
|
|
22911
|
+
},
|
|
22912
|
+
// Block regexp can contain comments and interpolation
|
|
22913
|
+
'block-regex': {
|
|
22914
|
+
pattern: /\/{3}[\s\S]*?\/{3}/,
|
|
22915
|
+
alias: 'regex',
|
|
22916
|
+
inside: {
|
|
22917
|
+
comment: comment,
|
|
22918
|
+
interpolation: interpolation
|
|
22919
|
+
}
|
|
22920
|
+
}
|
|
22921
|
+
});
|
|
22922
|
+
Prism.languages.insertBefore('coffeescript', 'string', {
|
|
22923
|
+
'inline-javascript': {
|
|
22924
|
+
pattern: /`(?:\\[\s\S]|[^\\`])*`/,
|
|
22925
|
+
inside: {
|
|
22926
|
+
delimiter: {
|
|
22927
|
+
pattern: /^`|`$/,
|
|
22928
|
+
alias: 'punctuation'
|
|
22929
|
+
},
|
|
22930
|
+
script: {
|
|
22931
|
+
pattern: /[\s\S]+/,
|
|
22932
|
+
alias: 'language-javascript',
|
|
22933
|
+
inside: Prism.languages.javascript
|
|
22934
|
+
}
|
|
22935
|
+
}
|
|
22936
|
+
},
|
|
22937
|
+
// Block strings
|
|
22938
|
+
'multiline-string': [
|
|
22939
|
+
{
|
|
22940
|
+
pattern: /'''[\s\S]*?'''/,
|
|
22941
|
+
greedy: true,
|
|
22942
|
+
alias: 'string'
|
|
22943
|
+
},
|
|
22944
|
+
{
|
|
22945
|
+
pattern: /"""[\s\S]*?"""/,
|
|
22946
|
+
greedy: true,
|
|
22947
|
+
alias: 'string',
|
|
22948
|
+
inside: {
|
|
22949
|
+
interpolation: interpolation
|
|
22950
|
+
}
|
|
22951
|
+
}
|
|
22952
|
+
]
|
|
22953
|
+
});
|
|
22954
|
+
Prism.languages.insertBefore('coffeescript', 'keyword', {
|
|
22955
|
+
// Object property
|
|
22956
|
+
property: /(?!\d)\w+(?=\s*:(?!:))/
|
|
22957
|
+
});
|
|
22958
|
+
delete Prism.languages.coffeescript['template-string'];
|
|
22959
|
+
Prism.languages.coffee = Prism.languages.coffeescript;
|
|
22960
|
+
})(Prism);
|
|
22947
22961
|
}
|
|
22948
22962
|
|
|
22949
|
-
var concurnas_1;
|
|
22950
|
-
|
|
22951
|
-
|
|
22952
|
-
function
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
|
|
22960
|
-
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
|
|
22968
|
-
|
|
22969
|
-
|
|
22970
|
-
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
|
|
22979
|
-
|
|
22980
|
-
|
|
22981
|
-
|
|
22982
|
-
|
|
22983
|
-
|
|
22984
|
-
|
|
22985
|
-
|
|
22986
|
-
|
|
22987
|
-
|
|
22988
|
-
|
|
22989
|
-
|
|
22990
|
-
|
|
22991
|
-
|
|
22992
|
-
|
|
22993
|
-
|
|
22994
|
-
|
|
22995
|
-
|
|
22996
|
-
|
|
22997
|
-
|
|
22998
|
-
|
|
22999
|
-
|
|
23000
|
-
|
|
23001
|
-
|
|
23002
|
-
|
|
23003
|
-
|
|
23004
|
-
|
|
23005
|
-
|
|
23006
|
-
|
|
23007
|
-
|
|
23008
|
-
|
|
23009
|
-
|
|
23010
|
-
|
|
23011
|
-
|
|
23012
|
-
|
|
23013
|
-
|
|
23014
|
-
|
|
23015
|
-
|
|
23016
|
-
|
|
23017
|
-
inside: Prism.languages.concurnas
|
|
23018
|
-
},
|
|
23019
|
-
string: /[\s\S]+/
|
|
23020
|
-
}
|
|
23021
|
-
}
|
|
23022
|
-
});
|
|
23023
|
-
Prism.languages.conc = Prism.languages.concurnas;
|
|
23024
|
-
}
|
|
23025
|
-
return concurnas_1;
|
|
22963
|
+
var concurnas_1 = concurnas;
|
|
22964
|
+
concurnas.displayName = 'concurnas';
|
|
22965
|
+
concurnas.aliases = ['conc'];
|
|
22966
|
+
function concurnas(Prism) {
|
|
22967
|
+
Prism.languages.concurnas = {
|
|
22968
|
+
comment: {
|
|
22969
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,
|
|
22970
|
+
lookbehind: true,
|
|
22971
|
+
greedy: true
|
|
22972
|
+
},
|
|
22973
|
+
langext: {
|
|
22974
|
+
pattern: /\b\w+\s*\|\|[\s\S]+?\|\|/,
|
|
22975
|
+
greedy: true,
|
|
22976
|
+
inside: {
|
|
22977
|
+
'class-name': /^\w+/,
|
|
22978
|
+
string: {
|
|
22979
|
+
pattern: /(^\s*\|\|)[\s\S]+(?=\|\|$)/,
|
|
22980
|
+
lookbehind: true
|
|
22981
|
+
},
|
|
22982
|
+
punctuation: /\|\|/
|
|
22983
|
+
}
|
|
22984
|
+
},
|
|
22985
|
+
function: {
|
|
22986
|
+
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,
|
|
22987
|
+
lookbehind: true
|
|
22988
|
+
},
|
|
22989
|
+
keyword:
|
|
22990
|
+
/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,
|
|
22991
|
+
boolean: /\b(?:false|true)\b/,
|
|
22992
|
+
number:
|
|
22993
|
+
/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,
|
|
22994
|
+
punctuation: /[{}[\];(),.:]/,
|
|
22995
|
+
operator:
|
|
22996
|
+
/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,
|
|
22997
|
+
annotation: {
|
|
22998
|
+
pattern: /@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,
|
|
22999
|
+
alias: 'builtin'
|
|
23000
|
+
}
|
|
23001
|
+
};
|
|
23002
|
+
Prism.languages.insertBefore('concurnas', 'langext', {
|
|
23003
|
+
'regex-literal': {
|
|
23004
|
+
pattern: /\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
23005
|
+
greedy: true,
|
|
23006
|
+
inside: {
|
|
23007
|
+
interpolation: {
|
|
23008
|
+
pattern:
|
|
23009
|
+
/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
|
|
23010
|
+
lookbehind: true,
|
|
23011
|
+
inside: Prism.languages.concurnas
|
|
23012
|
+
},
|
|
23013
|
+
regex: /[\s\S]+/
|
|
23014
|
+
}
|
|
23015
|
+
},
|
|
23016
|
+
'string-literal': {
|
|
23017
|
+
pattern: /(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
23018
|
+
greedy: true,
|
|
23019
|
+
inside: {
|
|
23020
|
+
interpolation: {
|
|
23021
|
+
pattern:
|
|
23022
|
+
/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
|
|
23023
|
+
lookbehind: true,
|
|
23024
|
+
inside: Prism.languages.concurnas
|
|
23025
|
+
},
|
|
23026
|
+
string: /[\s\S]+/
|
|
23027
|
+
}
|
|
23028
|
+
}
|
|
23029
|
+
});
|
|
23030
|
+
Prism.languages.conc = Prism.languages.concurnas;
|
|
23026
23031
|
}
|
|
23027
23032
|
|
|
23028
23033
|
var coq_1;
|
|
@@ -38609,7 +38614,7 @@ var hasRequiredShellSession;
|
|
|
38609
38614
|
function requireShellSession () {
|
|
38610
38615
|
if (hasRequiredShellSession) return shellSession_1;
|
|
38611
38616
|
hasRequiredShellSession = 1;
|
|
38612
|
-
var refractorBash =
|
|
38617
|
+
var refractorBash = requireBash();
|
|
38613
38618
|
shellSession_1 = shellSession;
|
|
38614
38619
|
shellSession.displayName = 'shellSession';
|
|
38615
38620
|
shellSession.aliases = [];
|
|
@@ -40076,7 +40081,7 @@ var hasRequiredVbnet;
|
|
|
40076
40081
|
function requireVbnet () {
|
|
40077
40082
|
if (hasRequiredVbnet) return vbnet_1;
|
|
40078
40083
|
hasRequiredVbnet = 1;
|
|
40079
|
-
var refractorBasic =
|
|
40084
|
+
var refractorBasic = requireBasic();
|
|
40080
40085
|
vbnet_1 = vbnet;
|
|
40081
40086
|
vbnet.displayName = 'vbnet';
|
|
40082
40087
|
vbnet.aliases = [];
|
|
@@ -42807,7 +42812,7 @@ refractor.register(apl_1);
|
|
|
42807
42812
|
refractor.register(applescript_1);
|
|
42808
42813
|
refractor.register(aql_1);
|
|
42809
42814
|
refractor.register(arduino_1);
|
|
42810
|
-
refractor.register(
|
|
42815
|
+
refractor.register(arff_1);
|
|
42811
42816
|
refractor.register(asciidoc_1);
|
|
42812
42817
|
refractor.register(asm6502_1);
|
|
42813
42818
|
refractor.register(asmatmel_1);
|
|
@@ -42815,9 +42820,9 @@ refractor.register(aspnet_1);
|
|
|
42815
42820
|
refractor.register(autohotkey_1);
|
|
42816
42821
|
refractor.register(autoit_1);
|
|
42817
42822
|
refractor.register(avisynth_1);
|
|
42818
|
-
refractor.register(
|
|
42819
|
-
refractor.register(
|
|
42820
|
-
refractor.register(
|
|
42823
|
+
refractor.register(requireAvroIdl());
|
|
42824
|
+
refractor.register(requireBash());
|
|
42825
|
+
refractor.register(requireBasic());
|
|
42821
42826
|
refractor.register(batch_1);
|
|
42822
42827
|
refractor.register(bbcode_1);
|
|
42823
42828
|
refractor.register(bicep_1);
|
|
@@ -42835,8 +42840,8 @@ refractor.register(cil_1);
|
|
|
42835
42840
|
refractor.register(clojure_1);
|
|
42836
42841
|
refractor.register(cmake_1);
|
|
42837
42842
|
refractor.register(cobol_1);
|
|
42838
|
-
refractor.register(
|
|
42839
|
-
refractor.register(
|
|
42843
|
+
refractor.register(coffeescript_1);
|
|
42844
|
+
refractor.register(concurnas_1);
|
|
42840
42845
|
refractor.register(requireCoq());
|
|
42841
42846
|
refractor.register(requireCpp());
|
|
42842
42847
|
refractor.register(requireCrystal());
|
|
@@ -45875,7 +45880,7 @@ var getDateRangeTag = function getDateRangeTag() {
|
|
|
45875
45880
|
var dayDifference = differenceInDays(fromUnixTime(endUnix), fromUnixTime(startUnix));
|
|
45876
45881
|
var hourDifference = differenceInHours(fromUnixTime(endUnix), fromUnixTime(startUnix));
|
|
45877
45882
|
if (hourDifference <= 24) {
|
|
45878
|
-
return '
|
|
45883
|
+
return 'hour';
|
|
45879
45884
|
}
|
|
45880
45885
|
if (dayDifference >= 30) {
|
|
45881
45886
|
return 'month';
|
|
@@ -109654,7 +109659,7 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
109654
109659
|
gridContainLabel = props.gridContainLabel,
|
|
109655
109660
|
seriesData = props.seriesData,
|
|
109656
109661
|
tooltip = props.tooltip,
|
|
109657
|
-
|
|
109662
|
+
legend = props.legend,
|
|
109658
109663
|
xAxisLabelShow = props.xAxisLabelShow,
|
|
109659
109664
|
xSplitLineShow = props.xSplitLineShow,
|
|
109660
109665
|
xAxisLineShow = props.xAxisLineShow,
|
|
@@ -109755,10 +109760,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
109755
109760
|
containLabel: gridContainLabel
|
|
109756
109761
|
}, gridOptions),
|
|
109757
109762
|
tooltip: _objectSpread2({}, tooltip),
|
|
109758
|
-
legend: {
|
|
109759
|
-
show: legendShow,
|
|
109763
|
+
legend: _objectSpread2(_objectSpread2({}, legend), {}, {
|
|
109760
109764
|
data: Object.keys((_seriesData$chartData6 = seriesData === null || seriesData === void 0 ? void 0 : seriesData.chartData) !== null && _seriesData$chartData6 !== void 0 ? _seriesData$chartData6 : [])
|
|
109761
|
-
},
|
|
109765
|
+
}),
|
|
109762
109766
|
xAxis: [{
|
|
109763
109767
|
type: 'category',
|
|
109764
109768
|
axisLabel: {
|
|
@@ -109807,7 +109811,7 @@ BaseAreaChart.propTypes = {
|
|
|
109807
109811
|
gridOptions: propTypes$1.exports.object,
|
|
109808
109812
|
gridContainLabel: propTypes$1.exports.bool,
|
|
109809
109813
|
tooltip: propTypes$1.exports.object,
|
|
109810
|
-
|
|
109814
|
+
legend: propTypes$1.exports.object,
|
|
109811
109815
|
xAxisLabelShow: propTypes$1.exports.bool,
|
|
109812
109816
|
xSplitLineShow: propTypes$1.exports.bool,
|
|
109813
109817
|
xAxisLineShow: propTypes$1.exports.bool,
|
|
@@ -109843,7 +109847,7 @@ BaseAreaChart.defaultProps = {
|
|
|
109843
109847
|
gridContainLabel: false,
|
|
109844
109848
|
tooltip: {},
|
|
109845
109849
|
stacked: false,
|
|
109846
|
-
|
|
109850
|
+
legend: {},
|
|
109847
109851
|
xAxisLabelShow: false,
|
|
109848
109852
|
xSplitLineShow: false,
|
|
109849
109853
|
xAxisLineShow: false,
|
|
@@ -110124,7 +110128,8 @@ var BaseWidget = function BaseWidget(props) {
|
|
|
110124
110128
|
children = props.children,
|
|
110125
110129
|
fallbackProps = props.fallbackProps,
|
|
110126
110130
|
theme = props.theme,
|
|
110127
|
-
setFallback = props.setFallback
|
|
110131
|
+
setFallback = props.setFallback,
|
|
110132
|
+
showFallback = props.showFallback;
|
|
110128
110133
|
var emptyChartData = useMemo(function () {
|
|
110129
110134
|
return Children.toArray(children).every(function (child) {
|
|
110130
110135
|
var _child$props$seriesDa, _child$props, _child$props$seriesDa2;
|
|
@@ -110169,7 +110174,7 @@ var BaseWidget = function BaseWidget(props) {
|
|
|
110169
110174
|
}), /*#__PURE__*/jsxs("div", {
|
|
110170
110175
|
className: modules_6a0e74b6.children,
|
|
110171
110176
|
"data-elem": "children",
|
|
110172
|
-
children: [!loading && emptyChartData && /*#__PURE__*/jsx(WidgetFallback, _objectSpread2(_objectSpread2({}, fallbackProps), {}, {
|
|
110177
|
+
children: [showFallback && !loading && emptyChartData && /*#__PURE__*/jsx(WidgetFallback, _objectSpread2(_objectSpread2({}, fallbackProps), {}, {
|
|
110173
110178
|
onReload: onReload,
|
|
110174
110179
|
theme: theme
|
|
110175
110180
|
})), Children.map(children, function (child) {
|
|
@@ -110197,7 +110202,8 @@ BaseWidget.propTypes = {
|
|
|
110197
110202
|
subtitle: propTypes$1.exports.string
|
|
110198
110203
|
}),
|
|
110199
110204
|
theme: propTypes$1.exports.oneOf(['light', 'dark']),
|
|
110200
|
-
setFallback: propTypes$1.exports.func
|
|
110205
|
+
setFallback: propTypes$1.exports.func,
|
|
110206
|
+
showFallback: propTypes$1.exports.bool
|
|
110201
110207
|
};
|
|
110202
110208
|
BaseWidget.defaultProps = {
|
|
110203
110209
|
loading: false,
|
|
@@ -110213,7 +110219,8 @@ BaseWidget.defaultProps = {
|
|
|
110213
110219
|
subtitle: 'There could be something happening on our end. Reload this widget to try again.'
|
|
110214
110220
|
},
|
|
110215
110221
|
theme: 'dark',
|
|
110216
|
-
setFallback: function setFallback() {}
|
|
110222
|
+
setFallback: function setFallback() {},
|
|
110223
|
+
showFallback: false
|
|
110217
110224
|
};
|
|
110218
110225
|
|
|
110219
110226
|
var css$1 = ".DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 img {\n height: 1.5rem;\n width: 1.5rem;\n border-radius: 100%;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 div {\n height: 1.5rem;\n width: 1.5rem;\n border-radius: 100%;\n background-color: var(--highlight);\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_sm__a7ba07d1 div span {\n font-size: 1rem;\n font-weight: 600;\n color: var(--white);\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 img {\n height: 5.3125rem;\n width: 5.3125rem;\n border-radius: 100%;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 div {\n height: 5.3125rem;\n width: 5.3125rem;\n border-radius: 100%;\n background-color: var(--highlight);\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.DisplayPicture_module_root__a7ba07d1.DisplayPicture_module_md__a7ba07d1 div span {\n font-size: 2rem;\n font-weight: 600;\n color: var(--white);\n}";
|